Skip to content

Commit

Permalink
feat: Add existing components
Browse files Browse the repository at this point in the history
* Layout componets:
    * AppLayout
    * Box
    * ColumnLayout/Column
    * Container
    * GetStarted
    * Grid
    * Hidden
    * Inline
    * Stack

* UI components:
    * Alert
    * Autosuggest
    * Badge
    * BreadcrumbGroup
    * Button
    * ButtonDropdown
    * Card
    * Checkbox
    * DatePicker
    * ExpandableSection
    * Flashbar
    * Form
    * FormField
    * FormGroup
    * FormRenderer
    * FormSection
    * Header
    * HeadingStripe
    * HelpPanel
    * Input
    * KeyValuePair
    * Link
    * LoadingIndicator
    * Map
    * Modal
    * Multiselect
    * NorthStarThemeProvider
    * Overlay
    * PivotTable
    * Placeholder
    * ProgressBar
    * RadioGroup
    * Select
    * SideNavigation
    * StatusIndicator
    * Table
    * Tabs
    * Text
    * Textarea
    * Toggle
    * TokenGroup
    * TreeView
    * Wizard

* Chart components:
    * AreaChart
    * BarChart
    * LineChart
    * PieChart
    * ScatterChart

* Advanced components:
    * NotificationButton
  • Loading branch information
jessieweiyi committed Oct 25, 2020
1 parent 760b225 commit a5e23ff
Show file tree
Hide file tree
Showing 343 changed files with 65,656 additions and 7 deletions.
10 changes: 10 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
!/.storybook

build/
cdk.out/
coverage/
node_modules/
**/node_modules/
oss-attribution/
storybook.out/
styleguide.out/
7 changes: 7 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "react-app",
"plugins": ["header"],
"rules" : {
"header/header": [2, "header.js"]
}
}
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
node_modules/
build/
cdk.out/
storybook.out/
styleguide.out/
coverage/
oss-attribution/

.cache/
.vscode/
.idea/

LICENSE-THIRD-PARTY
yarn.lock
.DS_Store

*.log
*.swo
*.swp

CODECOMMIT_SOURCE_VERSION
168 changes: 168 additions & 0 deletions .history/package_20201024182648.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
{
"name": "aws-northstar",
"version": "0.0.1-development",
"description": "AWS NorthStar Design System",
"main": "index.js",
"scripts": {
"build:build-readme": "cat ./docs/GettingStarted.md >> ./build/README.md",
"build:copy-file": "cp ./{package.json,LICENSE,NOTICE,LICENSE-THIRD-PARTY} ./build/ && cp ./README_NPM_PACKAGE.md ./build/README.md",
"build": "tsc --build tsconfig.build.json && npm run build:copy-file && npm run build:build-readme",
"check:all": "npm run test:all && npm run build && npm run storybook:build && npm run styleguide:build",
"generate:attribution": "generate-attribution && mv oss-attribution/attribution.txt LICENSE-THIRD-PARTY",
"license:check": "license-checker --summary --production --onlyAllow 'MIT;Apache-2.0;Unlicense;BSD;BSD*;BSD-2-Clause;BSD-3-Clause;ISC;Zlib;WTFPL;Custom: https://github.com/tmcw/jsonlint;Custom: http://badges.github.io/stability-badges/dist/stable.svg;Custom: https://github.com/substack/node-browserify'",
"lint:fix": "eslint --fix --quiet --ext .ts --ext .tsx --ext .js --ext .jsx .",
"lint": "eslint --quiet --ext .ts --ext .tsx --ext .js --ext .jsx .",
"prettier": "prettier --write {src,infra,styleguide}{/**/,/}**.{js,jsx,ts,tsx}",
"storybook:build": "build-storybook -s ./public -o storybook.out",
"storybook": "start-storybook -s ./public -p 9090",
"styleguide:build": "styleguidist build",
"styleguide": "styleguidist server",
"test:all": "npm run lint && npm run test:ci",
"test:ci": "npm run test -- --coverage && npm run license:check && git secrets --scan",
"test": "jest",
"test:watch": "jest --runInBand --watch ./src"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test:ci",
"commit-msg": "./node_modules/git-conventional-commits/cli.js commit-msg-hook $HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"(src|infra|styleguide|docs)(/**/|/*)**.(js|jsx|ts|tsx)": [
"npm run lint:fix",
"prettier --write"
]
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/aws/aws-northstar"
},
"devDependencies": {
"@aws-cdk/aws-codecommit": "^1.59.0",
"@aws-cdk/aws-codepipeline": "^1.59.0",
"@aws-cdk/aws-codepipeline-actions": "^1.59.0",
"@aws-cdk/aws-iam": "^1.59.0",
"@aws-cdk/aws-s3-deployment": "^1.59.0",
"@aws-cdk/aws-waf": "^1.59.0",
"@aws-cdk/core": "^1.59.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@storybook/addon-a11y": "^6.0.21",
"@storybook/addon-actions": "^6.0.21",
"@storybook/addon-console": "^1.2.1",
"@storybook/addon-docs": "^6.0.21",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.0.21",
"@storybook/addon-storysource": "^6.0.21",
"@storybook/addon-viewport": "^6.0.21",
"@storybook/addons": "^6.0.21",
"@storybook/cli": "^6.0.21",
"@storybook/preset-typescript": "^3.0.0",
"@storybook/react": "^6.0.21",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^10.0.3",
"@types/jest": "^25.1.4",
"@types/jest-axe": "^3.2.2",
"@types/lodash.orderby": "^4.6.6",
"@types/node": "^13.9.3",
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@types/react-router": "^5.1.4",
"@types/react-router-dom": "^5.1.3",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^6.1.0",
"css-loader": "^5.0.0",
"eslint": "^6.8.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-header": "^3.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^2.5.1",
"git-conventional-commits": "^1.0.5",
"husky": "^4.2.3",
"jest": "25.2.3",
"jest-axe": "^3.4.0",
"license-checker": "^25.0.1",
"lint-staged": "^10.0.9",
"lodash.orderby": "^4.6.0",
"oss-attribution-generator": "^1.7.1",
"plotly.js": "^1.54.7",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-color-square": "^1.0.1",
"react-docgen-typescript-loader": "^3.6.0",
"react-docgen-typescript-webpack-plugin": "^1.1.0",
"react-dom": "^16.12.0",
"react-map-gl": "^5.2.9",
"react-pivottable": "^0.9.0",
"react-plotly.js": "^2.4.0",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-styleguidist": "^10.6.2",
"storybook-react-router": "^1.0.8",
"style-loader": "^2.0.0",
"ts-jest": "^25.2.1",
"ts-loader": "^6.2.1",
"typescript": "^3.9.5",
"url-loader": "^4.1.1",
"webpack": "^4.41.6"
},
"dependencies": {
"@data-driven-forms/react-form-renderer": "^2.5.3",
"@date-io/date-fns": "^1.3.1",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.45",
"@material-ui/pickers": "^3.2.10",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.isequal": "^4.5.5",
"@types/match-sorter": "^4.0.0",
"@types/react-table": "7.0.10",
"@types/recharts": "^1.8.10",
"@types/uuid": "^7.0.0",
"clsx": "^1.1.1",
"date-fns": "^2.13.0",
"lodash.debounce": "^4.0.8",
"lodash.isequal": "^4.5.0",
"match-sorter": "^4.0.2",
"react-table": "7.0.0-rc.16",
"react-use-localstorage": "^3.4.1",
"recharts": "^1.8.5",
"uuid": "^7.0.1"
},
"peerDependencies": {
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@types/react-router": "^5.1.4",
"@types/react-router-dom": "^5.1.3",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-map-gl": "^5.2.9",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"plotly.js": "^1.54.1",
"react-pivottable": "^0.9.0",
"react-plotly.js": "^2.4.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
168 changes: 168 additions & 0 deletions .history/package_20201026093335.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
{
"name": "aws-northstar",
"version": "0.0.1-development",
"description": "AWS NorthStar Design System",
"main": "index.js",
"scripts": {
"build:build-readme": "cat ./docs/GettingStarted.md >> ./build/README.md",
"build:copy-file": "cp ./{package.json,LICENSE,NOTICE,LICENSE-THIRD-PARTY} ./build/ && cp ./README_NPM_PACKAGE.md ./build/README.md",
"build": "tsc --build tsconfig.build.json && npm run generate:attribution && npm run build:copy-file && npm run build:build-readme",
"check:all": "npm run test:all && npm run build && npm run storybook:build && npm run styleguide:build",
"generate:attribution": "generate-attribution && mv oss-attribution/attribution.txt LICENSE-THIRD-PARTY",
"license:check": "license-checker --summary --production --onlyAllow 'MIT;Apache-2.0;Unlicense;BSD;BSD*;BSD-2-Clause;BSD-3-Clause;ISC;Zlib;WTFPL;Custom: https://github.com/tmcw/jsonlint;Custom: http://badges.github.io/stability-badges/dist/stable.svg;Custom: https://github.com/substack/node-browserify'",
"lint:fix": "eslint --fix --quiet --ext .ts --ext .tsx --ext .js --ext .jsx .",
"lint": "eslint --quiet --ext .ts --ext .tsx --ext .js --ext .jsx .",
"prettier": "prettier --write {src,infra,styleguide}{/**/,/}**.{js,jsx,ts,tsx}",
"storybook:build": "build-storybook -s ./public -o storybook.out",
"storybook": "start-storybook -s ./public -p 9090",
"styleguide:build": "styleguidist build",
"styleguide": "styleguidist server",
"test:all": "npm run lint && npm run test:ci",
"test:ci": "npm run test -- --coverage && npm run license:check && git secrets --scan",
"test": "jest",
"test:watch": "jest --runInBand --watch ./src"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test:ci",
"commit-msg": "./node_modules/git-conventional-commits/cli.js commit-msg-hook $HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"(src|infra|styleguide|docs)(/**/|/*)**.(js|jsx|ts|tsx)": [
"npm run lint:fix",
"prettier --write"
]
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/aws/aws-northstar"
},
"devDependencies": {
"@aws-cdk/aws-codecommit": "^1.59.0",
"@aws-cdk/aws-codepipeline": "^1.59.0",
"@aws-cdk/aws-codepipeline-actions": "^1.59.0",
"@aws-cdk/aws-iam": "^1.59.0",
"@aws-cdk/aws-s3-deployment": "^1.59.0",
"@aws-cdk/aws-waf": "^1.59.0",
"@aws-cdk/core": "^1.59.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@storybook/addon-a11y": "^6.0.21",
"@storybook/addon-actions": "^6.0.21",
"@storybook/addon-console": "^1.2.1",
"@storybook/addon-docs": "^6.0.21",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.0.21",
"@storybook/addon-storysource": "^6.0.21",
"@storybook/addon-viewport": "^6.0.21",
"@storybook/addons": "^6.0.21",
"@storybook/cli": "^6.0.21",
"@storybook/preset-typescript": "^3.0.0",
"@storybook/react": "^6.0.21",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^10.0.3",
"@types/jest": "^25.1.4",
"@types/jest-axe": "^3.2.2",
"@types/lodash.orderby": "^4.6.6",
"@types/node": "^13.9.3",
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@types/react-router": "^5.1.4",
"@types/react-router-dom": "^5.1.3",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^6.1.0",
"css-loader": "^5.0.0",
"eslint": "^6.8.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-header": "^3.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^2.5.1",
"git-conventional-commits": "^1.0.5",
"husky": "^4.2.3",
"jest": "25.2.3",
"jest-axe": "^3.4.0",
"license-checker": "^25.0.1",
"lint-staged": "^10.0.9",
"lodash.orderby": "^4.6.0",
"oss-attribution-generator": "^1.7.1",
"plotly.js": "^1.54.7",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-color-square": "^1.0.1",
"react-docgen-typescript-loader": "^3.6.0",
"react-docgen-typescript-webpack-plugin": "^1.1.0",
"react-dom": "^16.12.0",
"react-map-gl": "^5.2.9",
"react-pivottable": "^0.9.0",
"react-plotly.js": "^2.4.0",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-styleguidist": "^10.6.2",
"storybook-react-router": "^1.0.8",
"style-loader": "^2.0.0",
"ts-jest": "^25.2.1",
"ts-loader": "^6.2.1",
"typescript": "^3.9.5",
"url-loader": "^4.1.1",
"webpack": "^4.41.6"
},
"dependencies": {
"@data-driven-forms/react-form-renderer": "^2.5.3",
"@date-io/date-fns": "^1.3.1",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.45",
"@material-ui/pickers": "^3.2.10",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.isequal": "^4.5.5",
"@types/match-sorter": "^4.0.0",
"@types/react-table": "7.0.10",
"@types/recharts": "^1.8.10",
"@types/uuid": "^7.0.0",
"clsx": "^1.1.1",
"date-fns": "^2.13.0",
"lodash.debounce": "^4.0.8",
"lodash.isequal": "^4.5.0",
"match-sorter": "^4.0.2",
"react-table": "7.0.0-rc.16",
"react-use-localstorage": "^3.4.1",
"recharts": "^1.8.5",
"uuid": "^7.0.1"
},
"peerDependencies": {
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@types/react-router": "^5.1.4",
"@types/react-router-dom": "^5.1.3",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-map-gl": "^5.2.9",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"plotly.js": "^1.54.1",
"react-pivottable": "^0.9.0",
"react-plotly.js": "^2.4.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12.14
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 4
}
Loading

0 comments on commit a5e23ff

Please sign in to comment.