@veritone-ce/design-system 1.12.21 → 1.12.22
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/dist/assets/theme.js
CHANGED
|
@@ -249,13 +249,11 @@ theme = (0, _material.createTheme)(theme, {
|
|
|
249
249
|
variant: `outlined`,
|
|
250
250
|
iconMapping: {
|
|
251
251
|
success: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CheckCircle.default, {}),
|
|
252
|
-
info: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
253
|
-
|
|
254
|
-
src: InformationIcon
|
|
252
|
+
info: /*#__PURE__*/(0, _jsxRuntime.jsx)(InformationIcon, {
|
|
253
|
+
title: 'information icon'
|
|
255
254
|
}),
|
|
256
|
-
warning: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
257
|
-
|
|
258
|
-
src: WarningIcon
|
|
255
|
+
warning: /*#__PURE__*/(0, _jsxRuntime.jsx)(WarningIcon, {
|
|
256
|
+
title: 'warning icon'
|
|
259
257
|
}),
|
|
260
258
|
error: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Cancel.default, {})
|
|
261
259
|
}
|
|
@@ -2,7 +2,7 @@ import { ComponentStory, Story, ComponentMeta } from '@storybook/react';
|
|
|
2
2
|
import Input from '.';
|
|
3
3
|
declare const _default: ComponentMeta<({ ...TextFieldProps }: {
|
|
4
4
|
'data-testid'?: string | undefined;
|
|
5
|
-
} & import("@mui/material").
|
|
5
|
+
} & (import("@mui/material").OutlinedTextFieldProps | import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps)) => import("react/jsx-runtime").JSX.Element>;
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const Default: ComponentStory<typeof Input> | Story;
|
|
8
8
|
export declare const Disabled: ComponentStory<typeof Input> | Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veritone-ce/design-system",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.22",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "yarn storybook",
|
|
@@ -35,24 +35,11 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@emotion/react": "^11.10.4",
|
|
39
|
-
"@emotion/styled": "^11.10.4",
|
|
40
38
|
"@fontsource/dosis": "^4.5.10",
|
|
41
39
|
"@fontsource/nunito-sans": "^4.5.10",
|
|
42
40
|
"@fontsource/roboto": "^4.5.8",
|
|
43
|
-
"@mui/icons-material": "^5.10.6",
|
|
44
|
-
"@mui/material": "^5.10.8",
|
|
45
|
-
"@testing-library/jest-dom": "^5.14.1",
|
|
46
|
-
"@testing-library/react": "^13.4.0",
|
|
47
|
-
"@testing-library/user-event": "^13.2.1",
|
|
48
|
-
"@types/jest": "^27.0.1",
|
|
49
|
-
"@types/node": "^16.7.13",
|
|
50
41
|
"axios": "^1.2.1",
|
|
51
|
-
"
|
|
52
|
-
"react-dropzone": "^14.2.3",
|
|
53
|
-
"react-scripts": "5.0.1",
|
|
54
|
-
"typescript": "^4.4.2",
|
|
55
|
-
"web-vitals": "^2.1.0"
|
|
42
|
+
"react-dropzone": "^14.2.3"
|
|
56
43
|
},
|
|
57
44
|
"devDependencies": {
|
|
58
45
|
"@babel/cli": "^7.21.5",
|
|
@@ -77,6 +64,11 @@
|
|
|
77
64
|
"@storybook/react": "^6.5.13",
|
|
78
65
|
"@storybook/test-runner": "^0.9.1",
|
|
79
66
|
"@storybook/testing-library": "^0.0.13",
|
|
67
|
+
"@testing-library/jest-dom": "^5.14.1",
|
|
68
|
+
"@testing-library/react": "^13.4.0",
|
|
69
|
+
"@testing-library/user-event": "^13.2.1",
|
|
70
|
+
"@types/jest": "^27.0.1",
|
|
71
|
+
"@types/node": "^16.7.13",
|
|
80
72
|
"@types/react-dropzone": "^5.1.0",
|
|
81
73
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
82
74
|
"@typescript-eslint/parser": "^5.45.0",
|
|
@@ -88,8 +80,11 @@
|
|
|
88
80
|
"babel-plugin-named-exports-order": "^0.0.2",
|
|
89
81
|
"chromatic": "^6.10.1",
|
|
90
82
|
"cross-env": "^7.0.3",
|
|
83
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
84
|
+
"eslint": "^8.45.0",
|
|
91
85
|
"eslint-config-prettier": "^8.5.0",
|
|
92
86
|
"eslint-plugin-prettier": "^4.2.1",
|
|
87
|
+
"eslint-plugin-react": "^7.32.2",
|
|
93
88
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
94
89
|
"husky": "8.0.2",
|
|
95
90
|
"install-peers-cli": "^2.2.0",
|
|
@@ -98,10 +93,16 @@
|
|
|
98
93
|
"plop": "^3.1.1",
|
|
99
94
|
"prettier": "^2.8.0",
|
|
100
95
|
"prop-types": "^15.8.1",
|
|
96
|
+
"react-scripts": "^5.0.1",
|
|
101
97
|
"tsc-alias": "^1.8.2",
|
|
98
|
+
"typescript": "^4.4.2",
|
|
102
99
|
"webpack": "^5.74.0"
|
|
103
100
|
},
|
|
104
101
|
"peerDependencies": {
|
|
102
|
+
"@emotion/react": "^11.10.4",
|
|
103
|
+
"@emotion/styled": "^11.10.4",
|
|
104
|
+
"@mui/icons-material": "^5.10.6",
|
|
105
|
+
"@mui/material": "^5.10.8",
|
|
105
106
|
"@types/react": "^18.0.0",
|
|
106
107
|
"@types/react-dom": "^18.0.0",
|
|
107
108
|
"react": "^18.2.0",
|
package/dist/react-app-env.d.js
DELETED
package/dist/reportWebVitals.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
8
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
9
|
-
const reportWebVitals = onPerfEntry => {
|
|
10
|
-
if (onPerfEntry && onPerfEntry instanceof Function) {
|
|
11
|
-
Promise.resolve().then(() => _interopRequireWildcard(require('web-vitals'))).then(({
|
|
12
|
-
getCLS,
|
|
13
|
-
getFID,
|
|
14
|
-
getFCP,
|
|
15
|
-
getLCP,
|
|
16
|
-
getTTFB
|
|
17
|
-
}) => {
|
|
18
|
-
getCLS(onPerfEntry);
|
|
19
|
-
getFID(onPerfEntry);
|
|
20
|
-
getFCP(onPerfEntry);
|
|
21
|
-
getLCP(onPerfEntry);
|
|
22
|
-
getTTFB(onPerfEntry);
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
var _default = reportWebVitals;
|
|
27
|
-
exports.default = _default;
|