@veritone-ce/design-system 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/chromatic.yml +23 -21
- package/.github/workflows/deploy.yml +39 -0
- package/.storybook/preview.js +21 -21
- package/CHANGELOG.md +7 -7
- package/README.md +36 -36
- package/dist/index.js +31 -0
- package/package.json +115 -114
- package/public/index.html +42 -42
- package/public/manifest.json +15 -15
- package/public/robots.txt +3 -3
- package/src/assets/theme.tsx +345 -345
- package/src/components/ThemeProvider/index.tsx +11 -11
- package/src/index.js +2 -0
- package/src/reportWebVitals.ts +15 -15
- package/src/setupTests.ts +5 -5
- package/tsconfig.json +1 -2
- package/src/index.tsx +0 -2
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
# Name of our action
|
|
2
|
-
name: "Chromatic"
|
|
3
|
-
# The event that will trigger the action
|
|
4
|
-
on:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
# The
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
# Name of our action
|
|
2
|
+
name: "Chromatic"
|
|
3
|
+
# The event that will trigger the action
|
|
4
|
+
on:
|
|
5
|
+
pull_request:
|
|
6
|
+
branches: [develop]
|
|
7
|
+
|
|
8
|
+
# What the action will do
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
# The operating system it will run on
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
# The list of steps that the action will go through
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v1
|
|
16
|
+
- run: yarn
|
|
17
|
+
#👇 Adds Chromatic as a step in the workflow
|
|
18
|
+
- uses: chromaui/action@v1
|
|
19
|
+
# Options required for Chromatic's GitHub Action
|
|
20
|
+
with:
|
|
21
|
+
#👇 Chromatic projectToken, see https://storybook.js.org/tutorials/design-systems-for-developers/react/en/review/ to obtain it
|
|
22
|
+
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
|
23
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Name of our action
|
|
2
|
+
name: Release
|
|
3
|
+
|
|
4
|
+
# The event that will trigger the action
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
# what the action will do
|
|
10
|
+
jobs:
|
|
11
|
+
release:
|
|
12
|
+
# The operating system it will run on
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
# This check needs to be in place to prevent a publish loop with auto and github actions
|
|
15
|
+
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
|
|
16
|
+
# The list of steps that the action will go through
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v2
|
|
19
|
+
- name: Prepare repository
|
|
20
|
+
run: git fetch --unshallow --tags
|
|
21
|
+
- name: Use Node.js 12.x
|
|
22
|
+
uses: actions/setup-node@v1
|
|
23
|
+
with:
|
|
24
|
+
node-version: 12.x
|
|
25
|
+
- name: Cache node modules
|
|
26
|
+
uses: actions/cache@v1
|
|
27
|
+
with:
|
|
28
|
+
path: node_modules
|
|
29
|
+
key: yarn-deps-${{ hashFiles('yarn.lock') }}
|
|
30
|
+
restore-keys: |
|
|
31
|
+
yarn-deps-${{ hashFiles('yarn.lock') }}
|
|
32
|
+
- name: Create Release
|
|
33
|
+
env:
|
|
34
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
35
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
36
|
+
run: |
|
|
37
|
+
yarn install --frozen-lockfile
|
|
38
|
+
yarn build
|
|
39
|
+
yarn release
|
package/.storybook/preview.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { ThemeProvider} from '@mui/system'
|
|
3
|
-
import theme from '../src/assets/theme'
|
|
4
|
-
|
|
5
|
-
export const decorators = [
|
|
6
|
-
(Story) => (
|
|
7
|
-
<ThemeProvider theme={theme}>
|
|
8
|
-
<Story />
|
|
9
|
-
</ThemeProvider>
|
|
10
|
-
|
|
11
|
-
),
|
|
12
|
-
]
|
|
13
|
-
|
|
14
|
-
export const parameters = {
|
|
15
|
-
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
16
|
-
controls: {
|
|
17
|
-
matchers: {
|
|
18
|
-
color: /(background|color)$/i,
|
|
19
|
-
date: /Date$/,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { ThemeProvider} from '@mui/system'
|
|
3
|
+
import theme from '../src/assets/theme'
|
|
4
|
+
|
|
5
|
+
export const decorators = [
|
|
6
|
+
(Story) => (
|
|
7
|
+
<ThemeProvider theme={theme}>
|
|
8
|
+
<Story />
|
|
9
|
+
</ThemeProvider>
|
|
10
|
+
|
|
11
|
+
),
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
export const parameters = {
|
|
15
|
+
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
16
|
+
controls: {
|
|
17
|
+
matchers: {
|
|
18
|
+
color: /(background|color)$/i,
|
|
19
|
+
date: /Date$/,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
22
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# v0.9.0 (Wed Oct 05 2022)
|
|
2
|
-
|
|
3
|
-
- Created first version of the design system, with `Button`, and `ThemeProvider` components.
|
|
4
|
-
|
|
5
|
-
#### Authors: 1
|
|
6
|
-
|
|
7
|
-
- Cody Moore ([@CodyMoore240](https://github.com/CodyMoore240))
|
|
1
|
+
# v0.9.0 (Wed Oct 05 2022)
|
|
2
|
+
|
|
3
|
+
- Created first version of the design system, with `Button`, and `ThemeProvider` components.
|
|
4
|
+
|
|
5
|
+
#### Authors: 1
|
|
6
|
+
|
|
7
|
+
- Cody Moore ([@CodyMoore240](https://github.com/CodyMoore240))
|
package/README.md
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
# Veritone CE Design System
|
|
2
|
-
|
|
3
|
-
This project uses [Storybook](https://storybook.js.org/) to preview components.
|
|
4
|
-
|
|
5
|
-
## Available Scripts
|
|
6
|
-
|
|
7
|
-
In the project directory, you can run:
|
|
8
|
-
|
|
9
|
-
### `yarn start`
|
|
10
|
-
|
|
11
|
-
Runs storybook in development mode. Opens storybook in a new browser tab.
|
|
12
|
-
|
|
13
|
-
### `yarn test`
|
|
14
|
-
|
|
15
|
-
Launches the test runner.
|
|
16
|
-
See the section about [running tests](https://storybook.js.org/tutorials/design-systems-for-developers/react/en/test/) for more information.
|
|
17
|
-
|
|
18
|
-
### `yarn build`
|
|
19
|
-
|
|
20
|
-
Builds the for production to the `dist` folder.
|
|
21
|
-
|
|
22
|
-
### `yarn build-docs`
|
|
23
|
-
|
|
24
|
-
Builds the documentation for production to the `storybook-static` folder.\
|
|
25
|
-
It correctly bundles React in production mode and optimizes the build for the best performance.
|
|
26
|
-
|
|
27
|
-
The build is minified and the filenames include the hashes.\
|
|
28
|
-
Your app is ready to be deployed!
|
|
29
|
-
|
|
30
|
-
See the section about [documentation](https://storybook.js.org/tutorials/design-systems-for-developers/react/en/document/) for more information.
|
|
31
|
-
|
|
32
|
-
## Learn More
|
|
33
|
-
|
|
34
|
-
You can learn more in the [Storybook Design System for Developers](https://storybook.js.org/tutorials/design-systems-for-developers/).
|
|
35
|
-
|
|
36
|
-
To learn React, check out the [React documentation](https://reactjs.org/).
|
|
1
|
+
# Veritone CE Design System
|
|
2
|
+
|
|
3
|
+
This project uses [Storybook](https://storybook.js.org/) to preview components.
|
|
4
|
+
|
|
5
|
+
## Available Scripts
|
|
6
|
+
|
|
7
|
+
In the project directory, you can run:
|
|
8
|
+
|
|
9
|
+
### `yarn start`
|
|
10
|
+
|
|
11
|
+
Runs storybook in development mode. Opens storybook in a new browser tab.
|
|
12
|
+
|
|
13
|
+
### `yarn test`
|
|
14
|
+
|
|
15
|
+
Launches the test runner.
|
|
16
|
+
See the section about [running tests](https://storybook.js.org/tutorials/design-systems-for-developers/react/en/test/) for more information.
|
|
17
|
+
|
|
18
|
+
### `yarn build`
|
|
19
|
+
|
|
20
|
+
Builds the for production to the `dist` folder.
|
|
21
|
+
|
|
22
|
+
### `yarn build-docs`
|
|
23
|
+
|
|
24
|
+
Builds the documentation for production to the `storybook-static` folder.\
|
|
25
|
+
It correctly bundles React in production mode and optimizes the build for the best performance.
|
|
26
|
+
|
|
27
|
+
The build is minified and the filenames include the hashes.\
|
|
28
|
+
Your app is ready to be deployed!
|
|
29
|
+
|
|
30
|
+
See the section about [documentation](https://storybook.js.org/tutorials/design-systems-for-developers/react/en/document/) for more information.
|
|
31
|
+
|
|
32
|
+
## Learn More
|
|
33
|
+
|
|
34
|
+
You can learn more in the [Storybook Design System for Developers](https://storybook.js.org/tutorials/design-systems-for-developers/).
|
|
35
|
+
|
|
36
|
+
To learn React, check out the [React documentation](https://reactjs.org/).
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _Button = require("./components/Button");
|
|
8
|
+
|
|
9
|
+
Object.keys(_Button).forEach(function (key) {
|
|
10
|
+
if (key === "default" || key === "__esModule") return;
|
|
11
|
+
if (key in exports && exports[key] === _Button[key]) return;
|
|
12
|
+
Object.defineProperty(exports, key, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _Button[key];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
var _ThemeProvider = require("./components/ThemeProvider");
|
|
21
|
+
|
|
22
|
+
Object.keys(_ThemeProvider).forEach(function (key) {
|
|
23
|
+
if (key === "default" || key === "__esModule") return;
|
|
24
|
+
if (key in exports && exports[key] === _ThemeProvider[key]) return;
|
|
25
|
+
Object.defineProperty(exports, key, {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function get() {
|
|
28
|
+
return _ThemeProvider[key];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
package/package.json
CHANGED
|
@@ -1,114 +1,115 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@veritone-ce/design-system",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"private": false,
|
|
5
|
-
"dependencies": {
|
|
6
|
-
"@emotion/react": "^11.10.4",
|
|
7
|
-
"@emotion/styled": "^11.10.4",
|
|
8
|
-
"@fontsource/dosis": "^4.5.10",
|
|
9
|
-
"@fontsource/nunito-sans": "^4.5.10",
|
|
10
|
-
"@fontsource/roboto": "^4.5.8",
|
|
11
|
-
"@mui/icons-material": "^5.10.6",
|
|
12
|
-
"@mui/material": "^5.10.8",
|
|
13
|
-
"@testing-library/jest-dom": "^5.14.1",
|
|
14
|
-
"@testing-library/react": "^13.0.0",
|
|
15
|
-
"@testing-library/user-event": "^13.2.1",
|
|
16
|
-
"@types/jest": "^27.0.1",
|
|
17
|
-
"@types/node": "^16.7.13",
|
|
18
|
-
"@types/react": "^18.0.0",
|
|
19
|
-
"@types/react-dom": "^18.0.0",
|
|
20
|
-
"react": "^18.2.0",
|
|
21
|
-
"react-dom": "^18.2.0",
|
|
22
|
-
"react-scripts": "5.0.1",
|
|
23
|
-
"typescript": "^4.4.2",
|
|
24
|
-
"web-vitals": "^2.1.0"
|
|
25
|
-
},
|
|
26
|
-
"scripts": {
|
|
27
|
-
"start": "yarn storybook",
|
|
28
|
-
"build": "cross-env BABEL_ENV=production babel src -d dist",
|
|
29
|
-
"build-docs": "yarn build-storybook-docs",
|
|
30
|
-
"test": "yarn test-storybook",
|
|
31
|
-
"storybook": "start-storybook -p 6006 -s public",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"react-app
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
"not
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"last 1
|
|
61
|
-
"last 1
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"@
|
|
67
|
-
"@storybook/addon-
|
|
68
|
-
"@storybook/addon-
|
|
69
|
-
"@storybook/addon-
|
|
70
|
-
"@storybook/addon-
|
|
71
|
-
"@storybook/
|
|
72
|
-
"@storybook/
|
|
73
|
-
"@storybook/
|
|
74
|
-
"@storybook/
|
|
75
|
-
"@storybook/
|
|
76
|
-
"@storybook/react": "^
|
|
77
|
-
"@storybook/
|
|
78
|
-
"@storybook/
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@veritone-ce/design-system",
|
|
3
|
+
"version": "0.9.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"@emotion/react": "^11.10.4",
|
|
7
|
+
"@emotion/styled": "^11.10.4",
|
|
8
|
+
"@fontsource/dosis": "^4.5.10",
|
|
9
|
+
"@fontsource/nunito-sans": "^4.5.10",
|
|
10
|
+
"@fontsource/roboto": "^4.5.8",
|
|
11
|
+
"@mui/icons-material": "^5.10.6",
|
|
12
|
+
"@mui/material": "^5.10.8",
|
|
13
|
+
"@testing-library/jest-dom": "^5.14.1",
|
|
14
|
+
"@testing-library/react": "^13.0.0",
|
|
15
|
+
"@testing-library/user-event": "^13.2.1",
|
|
16
|
+
"@types/jest": "^27.0.1",
|
|
17
|
+
"@types/node": "^16.7.13",
|
|
18
|
+
"@types/react": "^18.0.0",
|
|
19
|
+
"@types/react-dom": "^18.0.0",
|
|
20
|
+
"react": "^18.2.0",
|
|
21
|
+
"react-dom": "^18.2.0",
|
|
22
|
+
"react-scripts": "5.0.1",
|
|
23
|
+
"typescript": "^4.4.2",
|
|
24
|
+
"web-vitals": "^2.1.0"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"start": "yarn storybook",
|
|
28
|
+
"build": "cross-env BABEL_ENV=production babel src -d dist",
|
|
29
|
+
"build-docs": "yarn build-storybook-docs",
|
|
30
|
+
"test": "yarn test-storybook",
|
|
31
|
+
"storybook": "start-storybook -p 6006 -s public",
|
|
32
|
+
"release": "auto shipit --base-branch=main",
|
|
33
|
+
"build-storybook": "build-storybook -s public",
|
|
34
|
+
"test-storybook": "test-storybook",
|
|
35
|
+
"build-storybook-docs": "build-storybook --docs"
|
|
36
|
+
},
|
|
37
|
+
"eslintConfig": {
|
|
38
|
+
"extends": [
|
|
39
|
+
"react-app",
|
|
40
|
+
"react-app/jest"
|
|
41
|
+
],
|
|
42
|
+
"overrides": [
|
|
43
|
+
{
|
|
44
|
+
"files": [
|
|
45
|
+
"**/*.stories.*"
|
|
46
|
+
],
|
|
47
|
+
"rules": {
|
|
48
|
+
"import/no-anonymous-default-export": "off"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"browserslist": {
|
|
54
|
+
"production": [
|
|
55
|
+
">0.2%",
|
|
56
|
+
"not dead",
|
|
57
|
+
"not op_mini all"
|
|
58
|
+
],
|
|
59
|
+
"development": [
|
|
60
|
+
"last 1 chrome version",
|
|
61
|
+
"last 1 firefox version",
|
|
62
|
+
"last 1 safari version"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@babel/cli": "^7.19.3",
|
|
67
|
+
"@storybook/addon-a11y": "^6.5.12",
|
|
68
|
+
"@storybook/addon-actions": "^6.5.12",
|
|
69
|
+
"@storybook/addon-essentials": "^6.5.12",
|
|
70
|
+
"@storybook/addon-interactions": "^6.5.12",
|
|
71
|
+
"@storybook/addon-links": "^6.5.12",
|
|
72
|
+
"@storybook/builder-webpack5": "^6.5.12",
|
|
73
|
+
"@storybook/jest": "^0.0.10",
|
|
74
|
+
"@storybook/manager-webpack5": "^6.5.12",
|
|
75
|
+
"@storybook/node-logger": "^6.5.12",
|
|
76
|
+
"@storybook/preset-create-react-app": "^4.1.2",
|
|
77
|
+
"@storybook/react": "^6.5.12",
|
|
78
|
+
"@storybook/test-runner": "^0.7.2",
|
|
79
|
+
"@storybook/testing-library": "^0.0.13",
|
|
80
|
+
"auto": "^10.37.6",
|
|
81
|
+
"babel-plugin-named-exports-order": "^0.0.2",
|
|
82
|
+
"chromatic": "^6.10.1",
|
|
83
|
+
"cross-env": "^7.0.3",
|
|
84
|
+
"jest": "27",
|
|
85
|
+
"prettier": "^2.7.1",
|
|
86
|
+
"prop-types": "^15.8.1",
|
|
87
|
+
"webpack": "^5.74.0"
|
|
88
|
+
},
|
|
89
|
+
"babel": {
|
|
90
|
+
"presets": [
|
|
91
|
+
[
|
|
92
|
+
"react-app",
|
|
93
|
+
{
|
|
94
|
+
"absoluteRuntime": false
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"description": "design system for veritone ce",
|
|
100
|
+
"main": "dist/index.js",
|
|
101
|
+
"repository": {
|
|
102
|
+
"type": "git",
|
|
103
|
+
"url": "git+ssh://git@github.com/veritone/design-system.git"
|
|
104
|
+
},
|
|
105
|
+
"author": "Veritone",
|
|
106
|
+
"license": "MIT",
|
|
107
|
+
"bugs": {
|
|
108
|
+
"url": "https://github.com/veritone/design-system/issues"
|
|
109
|
+
},
|
|
110
|
+
"homepage": "https://github.com/veritone/design-system#readme",
|
|
111
|
+
"keywords": [
|
|
112
|
+
"design system",
|
|
113
|
+
"ui library"
|
|
114
|
+
]
|
|
115
|
+
}
|
package/public/index.html
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<meta name="theme-color" content="#000000" />
|
|
8
|
-
<meta
|
|
9
|
-
name="description"
|
|
10
|
-
content="Veritone CE Design System"
|
|
11
|
-
/>
|
|
12
|
-
<!--
|
|
13
|
-
manifest.json provides metadata used when your web app is installed on a
|
|
14
|
-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
15
|
-
-->
|
|
16
|
-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
17
|
-
<!--
|
|
18
|
-
Notice the use of %PUBLIC_URL% in the tags above.
|
|
19
|
-
It will be replaced with the URL of the `public` folder during the build.
|
|
20
|
-
Only files inside the `public` folder can be referenced from the HTML.
|
|
21
|
-
|
|
22
|
-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
23
|
-
work correctly both with client-side routing and a non-root public URL.
|
|
24
|
-
Learn how to configure a non-root public URL by running `npm run build`.
|
|
25
|
-
-->
|
|
26
|
-
<title>Veritone | Design System</title>
|
|
27
|
-
</head>
|
|
28
|
-
<body>
|
|
29
|
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
30
|
-
<div id="root"></div>
|
|
31
|
-
<!--
|
|
32
|
-
This HTML file is a template.
|
|
33
|
-
If you open it directly in the browser, you will see an empty page.
|
|
34
|
-
|
|
35
|
-
You can add webfonts, meta tags, or analytics to this file.
|
|
36
|
-
The build step will place the bundled scripts into the <body> tag.
|
|
37
|
-
|
|
38
|
-
To begin the development, run `npm start` or `yarn start`.
|
|
39
|
-
To create a production bundle, use `npm run build` or `yarn build`.
|
|
40
|
-
-->
|
|
41
|
-
</body>
|
|
42
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<meta name="theme-color" content="#000000" />
|
|
8
|
+
<meta
|
|
9
|
+
name="description"
|
|
10
|
+
content="Veritone CE Design System"
|
|
11
|
+
/>
|
|
12
|
+
<!--
|
|
13
|
+
manifest.json provides metadata used when your web app is installed on a
|
|
14
|
+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
15
|
+
-->
|
|
16
|
+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
17
|
+
<!--
|
|
18
|
+
Notice the use of %PUBLIC_URL% in the tags above.
|
|
19
|
+
It will be replaced with the URL of the `public` folder during the build.
|
|
20
|
+
Only files inside the `public` folder can be referenced from the HTML.
|
|
21
|
+
|
|
22
|
+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
23
|
+
work correctly both with client-side routing and a non-root public URL.
|
|
24
|
+
Learn how to configure a non-root public URL by running `npm run build`.
|
|
25
|
+
-->
|
|
26
|
+
<title>Veritone | Design System</title>
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
30
|
+
<div id="root"></div>
|
|
31
|
+
<!--
|
|
32
|
+
This HTML file is a template.
|
|
33
|
+
If you open it directly in the browser, you will see an empty page.
|
|
34
|
+
|
|
35
|
+
You can add webfonts, meta tags, or analytics to this file.
|
|
36
|
+
The build step will place the bundled scripts into the <body> tag.
|
|
37
|
+
|
|
38
|
+
To begin the development, run `npm start` or `yarn start`.
|
|
39
|
+
To create a production bundle, use `npm run build` or `yarn build`.
|
|
40
|
+
-->
|
|
41
|
+
</body>
|
|
42
|
+
</html>
|
package/public/manifest.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "Design System",
|
|
3
|
-
"name": "Veritone CE Design System",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"start_url": ".",
|
|
12
|
-
"display": "standalone",
|
|
13
|
-
"theme_color": "#000000",
|
|
14
|
-
"background_color": "#ffffff"
|
|
15
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"short_name": "Design System",
|
|
3
|
+
"name": "Veritone CE Design System",
|
|
4
|
+
"icons": [
|
|
5
|
+
{
|
|
6
|
+
"src": "favicon.ico",
|
|
7
|
+
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
+
"type": "image/x-icon"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"start_url": ".",
|
|
12
|
+
"display": "standalone",
|
|
13
|
+
"theme_color": "#000000",
|
|
14
|
+
"background_color": "#ffffff"
|
|
15
|
+
}
|
package/public/robots.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# https://www.robotstxt.org/robotstxt.html
|
|
2
|
-
User-agent: *
|
|
3
|
-
Disallow:
|
|
1
|
+
# https://www.robotstxt.org/robotstxt.html
|
|
2
|
+
User-agent: *
|
|
3
|
+
Disallow:
|