diff --git a/sandbox/public/index.css b/sandbox/public/index.css index c3c4a778b..f1b13b0ff 100755 --- a/sandbox/public/index.css +++ b/sandbox/public/index.css @@ -11,15 +11,45 @@ body { color: #eaeaea; } -a { - color: #e7ca8d; +nav { + flex: 0 0 200px; /* Adjust this value to change the width of the navigation */ + height: 100vh; + padding: 1em; + background-color: #f5f5f5; /* Adjust this value to change the background color of the navigation */ + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow to the navigation */ +} + +nav ul { + display: flex; + flex-direction: column; + width: 200px; /* adjust this value as needed */ + height: 100vh; + position: fixed; + left: 0; + top: 0; + padding: 0; + margin: 0; +} + +nav li { + list-style: none; + padding: 10px; +} + +.content { + margin-left: 210px; /* adjust this value as needed */ +} + +nav a { + color: #333; /* Adjust this value to change the color of the links */ + text-decoration: none; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", - monospace; - color: #acecfe; - } + monospace; + color: #acecfe; +} section { padding: 15px; @@ -34,7 +64,8 @@ ul { padding: 0; } -li, button { +li, +button { display: inline-block; margin-right: 20px; font-size: 120%; @@ -42,4 +73,4 @@ li, button { #root { padding: 10px; -} +} \ No newline at end of file diff --git a/sandbox/public/index.html b/sandbox/public/index.html index 8590202d8..050bb4d5b 100755 --- a/sandbox/public/index.html +++ b/sandbox/public/index.html @@ -4,6 +4,10 @@ + { return ( <> -
- + +
+ + + + + + + + + + + + + + + + + + +

- - - - - - - - - - - - - - - - - - -
diff --git a/sandbox/src/index.js b/sandbox/src/index.js index 9813a108f..a2f69009a 100755 --- a/sandbox/src/index.js +++ b/sandbox/src/index.js @@ -14,8 +14,8 @@ import "core-js/stable"; import "regenerator-runtime/runtime"; import React from "react"; import ReactDOM from "react-dom"; -import "@adobe/spectrum-css/dist/spectrum-core.css"; import { Provider, defaultTheme } from "@adobe/react-spectrum"; +import "@adobe/spectrum-css/dist/spectrum-core.css"; import App from "./App"; import * as serviceWorker from "./serviceWorker"; diff --git a/scripts/helpers/runFunctionalTests.js b/scripts/helpers/runFunctionalTests.js index 85609f615..9b5d9eb08 100644 --- a/scripts/helpers/runFunctionalTests.js +++ b/scripts/helpers/runFunctionalTests.js @@ -1,32 +1,34 @@ #!/usr/bin/env node -const glob = require('glob'); -const createTestCafe = require('testcafe'); -const yargs = require('yargs/yargs'); -const { hideBin } = require('yargs/helpers'); +const glob = require("glob"); +const createTestCafe = require("testcafe"); +const yargs = require("yargs/yargs"); +const { hideBin } = require("yargs/helpers"); -const argv = yargs(hideBin(process.argv)).option('exclude', { - type: 'array', - default: [] +const argv = yargs(hideBin(process.argv)).option("exclude", { + type: "array", + default: [] }).argv; -glob('test/functional/specs/**/*.js', (err, files) => { - if (err) { - console.error(err); - process.exit(1); - } +glob("test/functional/specs/**/*.js", (err, files) => { + if (err) { + console.error(err); + process.exit(1); + } - const testFiles = files.filter(file => { - const shouldExclude = argv.exclude.some(excludedDir => file.includes(excludedDir)); - return !shouldExclude; - }); + const testFiles = files.filter(file => { + const shouldExclude = argv.exclude.some(excludedDir => + file.includes(excludedDir) + ); + return !shouldExclude; + }); - createTestCafe().then(testcafe => { - const runner = testcafe.createRunner(); - runner - .src(testFiles) - .browsers('chrome') - .run() - .then(() => testcafe.close()); - }); + createTestCafe().then(testcafe => { + const runner = testcafe.createRunner(); + runner + .src(testFiles) + .browsers("chrome") + .run() + .then(() => testcafe.close()); + }); });