Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
chaance committed Jul 20, 2022
1 parent 9a0cd89 commit d925313
Show file tree
Hide file tree
Showing 124 changed files with 6,175 additions and 6,175 deletions.
8 changes: 4 additions & 4 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"buildCommand": "build",
"sandboxes": ["/.codesandbox/templates/reach-ui"],
"node": "16",
"packages": ["packages/*"]
"buildCommand": "build",
"sandboxes": ["/.codesandbox/templates/reach-ui"],
"node": "16",
"packages": ["packages/*"]
}
102 changes: 51 additions & 51 deletions .codesandbox/templates/reach-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
{
"name": "reach-ui-template",
"version": "1.0.0",
"description": "Use this template to explore or recreate bugs for Reach UI",
"keywords": [
"reach ui",
"react",
"accessibility"
],
"main": "src/index.js",
"dependencies": {
"@reach/accordion": "latest",
"@reach/alert": "latest",
"@reach/alert-dialog": "latest",
"@reach/auto-id": "latest",
"@reach/checkbox": "latest",
"@reach/combobox": "latest",
"@reach/descendants": "latest",
"@reach/dialog": "latest",
"@reach/disclosure": "latest",
"@reach/menu-button": "latest",
"@reach/popover": "latest",
"@reach/portal": "latest",
"@reach/rect": "latest",
"@reach/skip-nav": "latest",
"@reach/slider": "latest",
"@reach/tabs": "latest",
"@reach/tooltip": "latest",
"@reach/utils": "latest",
"@reach/visually-hidden": "latest",
"@reach/window-size": "latest",
"@types/react": "^17.0.47",
"@types/react-dom": "^17.0.17",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3"
},
"devDependencies": {
"typescript": "4.3.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
"name": "reach-ui-template",
"version": "1.0.0",
"description": "Use this template to explore or recreate bugs for Reach UI",
"keywords": [
"reach ui",
"react",
"accessibility"
],
"main": "src/index.js",
"dependencies": {
"@reach/accordion": "latest",
"@reach/alert": "latest",
"@reach/alert-dialog": "latest",
"@reach/auto-id": "latest",
"@reach/checkbox": "latest",
"@reach/combobox": "latest",
"@reach/descendants": "latest",
"@reach/dialog": "latest",
"@reach/disclosure": "latest",
"@reach/menu-button": "latest",
"@reach/popover": "latest",
"@reach/portal": "latest",
"@reach/rect": "latest",
"@reach/skip-nav": "latest",
"@reach/slider": "latest",
"@reach/tabs": "latest",
"@reach/tooltip": "latest",
"@reach/utils": "latest",
"@reach/visually-hidden": "latest",
"@reach/window-size": "latest",
"@types/react": "^17.0.47",
"@types/react-dom": "^17.0.17",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3"
},
"devDependencies": {
"typescript": "4.3.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
48 changes: 24 additions & 24 deletions .codesandbox/templates/reach-ui/src/styles.css
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
html {
margin: 0;
padding: 0;
box-sizing: border-box;
margin: 0;
padding: 0;
box-sizing: border-box;
}

*,
*:before,
*:after {
box-sizing: inherit;
box-sizing: inherit;
}

html,
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.5;
color: #242424;
text-rendering: optimizeLegibility;
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.5;
color: #242424;
text-rendering: optimizeLegibility;
}

.App {
padding: 1rem;
padding: 1rem;
}

.CurrentState {
margin: 1rem 0;
margin: 1rem 0;
}

.CurrentState h3 {
margin: 0;
padding: 0;
margin: 0;
padding: 0;
}

.CurrentState pre {
background: #f6f8fa;
border: 1px solid #e2e2e2;
font-size: 0.75rem;
padding: 0.5rem;
background: #f6f8fa;
border: 1px solid #e2e2e2;
font-size: 0.75rem;
padding: 0.5rem;
}

pre,
code {
font-family: "Menlo", monospace;
font-family: "Menlo", monospace;
}

hr {
padding: 0;
margin: 1rem 0;
border: 0;
height: 1px;
background: #8c8c8c;
padding: 0;
margin: 1rem 0;
border: 0;
height: 1px;
background: #8c8c8c;
}
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ let name = "Basic";

// The example to render (always name the function `Example`)
function Example() {
return <div>Cool cool cool</div>;
return <div>Cool cool cool</div>;
}

// Assign the name to the example and then export it as a named constant
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let name = "Basic";

// The example to render (always name the function `Example`)
function Example() {
return <div>Cool cool cool</div>;
return <div>Cool cool cool</div>;
}

// Assign the name to the example and then export it as a named constant
Expand Down
24 changes: 12 additions & 12 deletions internal/dev/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@reach-internal/dev",
"version": "0.0.0",
"private": true,
"scripts": {},
"dependencies": {},
"devDependencies": {
"@reach-internal/tsconfig": "workspace:*",
"tsup": "^6.1.3"
},
"peerDependencies": {
"tsup": "^6.1.3"
}
"name": "@reach-internal/dev",
"version": "0.0.0",
"private": true,
"scripts": {},
"dependencies": {},
"devDependencies": {
"@reach-internal/tsconfig": "workspace:*",
"tsup": "^6.1.3"
},
"peerDependencies": {
"tsup": "^6.1.3"
}
}
4 changes: 2 additions & 2 deletions internal/dev/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "@reach-internal/tsconfig/base.json",
"include": ["."]
"extends": "@reach-internal/tsconfig/base.json",
"include": ["."]
}
6 changes: 3 additions & 3 deletions internal/test/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@reach-internal/test",
"version": "0.0.0",
"private": true
"name": "@reach-internal/test",
"version": "0.0.0",
"private": true
}
38 changes: 19 additions & 19 deletions internal/tsconfig/base.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"composite": false,
"declaration": true,
"declarationMap": true,
"downlevelIteration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"inlineSources": false,
"isolatedModules": true,
"moduleResolution": "node",
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true
},
"exclude": ["node_modules"]
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"composite": false,
"declaration": true,
"declarationMap": true,
"downlevelIteration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"inlineSources": false,
"isolatedModules": true,
"moduleResolution": "node",
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true
},
"exclude": ["node_modules"]
}
16 changes: 8 additions & 8 deletions internal/tsconfig/dom.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "React Library",
"extends": "./base.json",
"compilerOptions": {
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
"target": "ES2015"
}
"$schema": "https://json.schemastore.org/tsconfig",
"display": "React Library",
"extends": "./base.json",
"compilerOptions": {
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
"target": "ES2015"
}
}
14 changes: 7 additions & 7 deletions internal/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@reach-internal/tsconfig",
"version": "0.0.0",
"private": true,
"files": [
"base.json",
"react-library.json"
]
"name": "@reach-internal/tsconfig",
"version": "0.0.0",
"private": true,
"files": [
"base.json",
"react-library.json"
]
}
12 changes: 6 additions & 6 deletions internal/tsconfig/react-library.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "React Library",
"extends": "./dom.json",
"compilerOptions": {
"jsx": "react-jsx"
}
"$schema": "https://json.schemastore.org/tsconfig",
"display": "React Library",
"extends": "./dom.json",
"compilerOptions": {
"jsx": "react-jsx"
}
}
Loading

0 comments on commit d925313

Please sign in to comment.