@am92/react-design-system 2.10.2 → 2.10.4-beta.0
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/Components/DsLoader/SingleDotLoader.js +3 -1
- package/dist/Components/DsLoader/ThreeDotLoader.js +3 -1
- package/dist/Constants/PALETTE.js +1 -1
- package/dist/Hooks/nonce.d.ts +1 -0
- package/dist/Hooks/nonce.js +5 -0
- package/dist/Theme/getColorScheme/light.js +2 -2
- package/dist/emotionReact.d.ts +1 -0
- package/dist/emotionReact.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +6 -4
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEmotionNonce } from "../../Hooks/nonce";
|
|
2
3
|
export function SingleDotLoader() {
|
|
4
|
+
const nonce = useEmotionNonce();
|
|
3
5
|
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1000 1000", preserveAspectRatio: "xMidYMid slice", style: {
|
|
4
6
|
width: '100%',
|
|
5
7
|
height: '100%',
|
|
6
8
|
transform: 'translate3d(0px, 0px, 0px)',
|
|
7
9
|
contentVisibility: 'visible'
|
|
8
|
-
}, children: [_jsxs("defs", { children: [_jsx("clipPath", { id: "__loader_element_11", children: _jsx("rect", { width: "1000", height: "1000", x: "0", y: "0" }) }), _jsx("style", { children: `@keyframes ball {
|
|
10
|
+
}, children: [_jsxs("defs", { children: [_jsx("clipPath", { id: "__loader_element_11", children: _jsx("rect", { width: "1000", height: "1000", x: "0", y: "0" }) }), _jsx("style", { nonce: nonce, children: `@keyframes ball {
|
|
9
11
|
0%{
|
|
10
12
|
transform: matrix(2.428800106048584,0,0,2.428800106048584,491.30035400390625,444.7691650390625)
|
|
11
13
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEmotionNonce } from "../../Hooks/nonce";
|
|
2
3
|
export function ThreeDotLoader() {
|
|
4
|
+
const nonce = useEmotionNonce();
|
|
3
5
|
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1000 1000", preserveAspectRatio: "xMidYMid slice", style: {
|
|
4
6
|
width: '100%',
|
|
5
7
|
height: '100%',
|
|
6
8
|
transform: 'translate3d(0px, 0px, 0px)',
|
|
7
9
|
contentVisibility: 'visible'
|
|
8
|
-
}, children: [_jsxs("defs", { children: [_jsx("clipPath", { id: `__loader_element_524`, children: _jsx("rect", { width: "1000", height: "1000", x: "0", y: "0" }) }), _jsx("style", { children: `@keyframes ball1 {
|
|
10
|
+
}, children: [_jsxs("defs", { children: [_jsx("clipPath", { id: `__loader_element_524`, children: _jsx("rect", { width: "1000", height: "1000", x: "0", y: "0" }) }), _jsx("style", { nonce: nonce, children: `@keyframes ball1 {
|
|
9
11
|
0%{
|
|
10
12
|
transform: matrix(1.3200000524520874,0,0,1.3200000524520874,178.98719787597656,413.82720947265625)
|
|
11
13
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useEmotionNonce: () => string | undefined;
|
|
@@ -11,8 +11,8 @@ export default function getLightModeColorScheme(colorPalette) {
|
|
|
11
11
|
surfaceSecondary: secondaryGrey10,
|
|
12
12
|
surfaceTertiary: secondaryGrey100,
|
|
13
13
|
typoPrimary: primaryBlackLight,
|
|
14
|
-
typoSecondary:
|
|
15
|
-
typoTertiary:
|
|
14
|
+
typoSecondary: secondaryGrey90,
|
|
15
|
+
typoTertiary: secondaryGrey80,
|
|
16
16
|
typoActionPrimary: primary,
|
|
17
17
|
typoActionSecondary: secondary100,
|
|
18
18
|
typoActionTertiary: tertiary100,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CacheProvider as DsCacheProvider } from '@emotion/react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CacheProvider as DsCacheProvider } from '@emotion/react';
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@am92/react-design-system",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.4-beta.0",
|
|
4
4
|
"description": "ReactJS Design System using Material UI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"dist/**/*.json"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@emotion/react": "~11.
|
|
17
|
-
"@emotion/styled": "~11.
|
|
16
|
+
"@emotion/react": "~11.14.0",
|
|
17
|
+
"@emotion/styled": "~11.14.0",
|
|
18
18
|
"@mui/base": "~5.0.0-beta.26",
|
|
19
19
|
"@mui/lab": "5.0.0-alpha.155",
|
|
20
20
|
"@mui/material": "~5.16.7",
|
|
@@ -49,7 +49,9 @@
|
|
|
49
49
|
"test": "echo 'Error: no test specified'",
|
|
50
50
|
"preversion": "npm-run-all build test",
|
|
51
51
|
"version": "echo 'Versioning'",
|
|
52
|
-
"postversion": "git push && git push --tags && npm run publish:pkg",
|
|
52
|
+
"postversion": "if [ \"$BETA\" = \"true\" ]; then echo 'Skipping stable publish for beta'; else git push && git push --tags && npm run publish:pkg; fi",
|
|
53
|
+
"release:beta": "BETA=true npm version prerelease --preid=beta && npm publish --tag beta && git push && git push --tags",
|
|
54
|
+
"release:beta:dry": "BETA=true npm version prerelease --preid=beta --no-git-tag-version && npm publish --tag beta --dry-run",
|
|
53
55
|
"publish:pkg": "npm publish"
|
|
54
56
|
},
|
|
55
57
|
"repository": "git@github.com:heliumtank92/am92-react-design-system.git",
|