@am92/react-design-system 2.7.2 → 2.7.4
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/DsBackdrop/DsBackdrop.Overrides.d.ts +9 -1
- package/dist/Components/DsBackdrop/DsBackdrop.Overrides.js +9 -1
- package/dist/Components/DsCheckbox/DsCheckbox.Overrides.d.ts +32 -17
- package/dist/Components/DsCheckbox/DsCheckbox.Overrides.js +38 -23
- package/dist/Components/DsCheckbox/DsCheckbox.Types.js +4 -3
- package/dist/Components/DsDialog/DsDialog.Component.js +1 -1
- package/dist/Components/DsDialog/DsDialog.Overrides.js +1 -1
- package/dist/Components/DsDrawer/DsDrawer.Overrides.js +1 -1
- package/dist/Components/DsFab/DsFab.Overrides.d.ts +12 -4
- package/dist/Components/DsFab/DsFab.Overrides.js +38 -34
- package/dist/Components/DsLoader/DsLoader.Component.d.ts +2 -5
- package/dist/Components/DsLoader/DsLoader.Component.js +15 -23
- package/dist/Components/DsLoader/DsLoader.Types.d.ts +6 -6
- package/dist/Components/DsLoader/DsLoader.Types.js +4 -9
- package/dist/Components/DsLoader/SingleDotLoader.d.ts +1 -0
- package/dist/Components/DsLoader/SingleDotLoader.js +179 -0
- package/dist/Components/DsLoader/ThreeDotLoader.d.ts +1 -0
- package/dist/Components/DsLoader/ThreeDotLoader.js +910 -0
- package/dist/Theme/componentOverrides.d.ts +51 -21
- package/dist/Theme/getColorScheme/dark.js +1 -1
- package/dist/Theme/getColorScheme/highContrast.js +1 -1
- package/dist/Theme/getColorScheme/light.js +1 -1
- package/package.json +1 -2
- package/dist/Components/DsLoader/assets/singleDotLoader.json +0 -252
- package/dist/Components/DsLoader/assets/threeDotLoader.json +0 -5417
|
@@ -992,11 +992,19 @@ declare const componentOverrides: {
|
|
|
992
992
|
defaultProps: import("../Components").DsFabProps;
|
|
993
993
|
styleOverrides: {
|
|
994
994
|
root: import("@mui/system").CSSInterpolation;
|
|
995
|
+
sizeLarge: import("@mui/system").CSSInterpolation;
|
|
996
|
+
sizeMedium: import("@mui/system").CSSInterpolation;
|
|
997
|
+
sizeSmall: import("@mui/system").CSSInterpolation;
|
|
998
|
+
secondary: import("@mui/system").CSSInterpolation;
|
|
999
|
+
default: import("@mui/system").CSSInterpolation;
|
|
1000
|
+
extended: {
|
|
1001
|
+
borderRadius: string;
|
|
1002
|
+
'.MuiTypography-root': {
|
|
1003
|
+
marginLeft: string;
|
|
1004
|
+
marginRight: string;
|
|
1005
|
+
};
|
|
1006
|
+
};
|
|
995
1007
|
};
|
|
996
|
-
variants: {
|
|
997
|
-
props: Partial<import("../Components").DsFabProps>;
|
|
998
|
-
style: import("@mui/system").CSSInterpolation;
|
|
999
|
-
}[];
|
|
1000
1008
|
};
|
|
1001
1009
|
MuiDrawer: {
|
|
1002
1010
|
styleOverrides: {
|
|
@@ -1085,17 +1093,10 @@ declare const componentOverrides: {
|
|
|
1085
1093
|
styleOverrides: {
|
|
1086
1094
|
root: {
|
|
1087
1095
|
color: string;
|
|
1088
|
-
'
|
|
1089
|
-
backgroundColor: string;
|
|
1090
|
-
};
|
|
1091
|
-
'&:focus:not(.Mui-checked)': {
|
|
1092
|
-
backgroundColor: string;
|
|
1093
|
-
};
|
|
1094
|
-
'&.MuiCheckbox-colorPrimary.Mui-checked': {
|
|
1096
|
+
'&.Mui-disabled': {
|
|
1095
1097
|
color: string;
|
|
1096
1098
|
};
|
|
1097
|
-
'
|
|
1098
|
-
color: string;
|
|
1099
|
+
'&:not(.Mui-checked)': {
|
|
1099
1100
|
'&:hover': {
|
|
1100
1101
|
backgroundColor: string;
|
|
1101
1102
|
};
|
|
@@ -1103,25 +1104,47 @@ declare const componentOverrides: {
|
|
|
1103
1104
|
backgroundColor: string;
|
|
1104
1105
|
};
|
|
1105
1106
|
};
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
'&.MuiCheckbox-colorSuccess.Mui-checked': {
|
|
1107
|
+
};
|
|
1108
|
+
colorPrimary: {
|
|
1109
|
+
'&.Mui-checked&:not(.Mui-checked)': {
|
|
1110
1110
|
color: string;
|
|
1111
1111
|
};
|
|
1112
|
-
|
|
1112
|
+
};
|
|
1113
|
+
colorSecondary: {
|
|
1114
|
+
'&.Mui-checked&:not(.Mui-checked)': {
|
|
1113
1115
|
color: string;
|
|
1116
|
+
'&:hover': {
|
|
1117
|
+
backgroundColor: string;
|
|
1118
|
+
};
|
|
1119
|
+
'&:focus': {
|
|
1120
|
+
backgroundColor: string;
|
|
1121
|
+
};
|
|
1114
1122
|
};
|
|
1115
|
-
|
|
1123
|
+
};
|
|
1124
|
+
colorError: {
|
|
1125
|
+
'&.Mui-checked&:not(.Mui-checked)': {
|
|
1116
1126
|
color: string;
|
|
1117
1127
|
};
|
|
1118
|
-
|
|
1128
|
+
};
|
|
1129
|
+
colorSuccess: {
|
|
1130
|
+
'&.Mui-checked&:not(.Mui-checked)': {
|
|
1119
1131
|
color: string;
|
|
1120
1132
|
};
|
|
1121
|
-
|
|
1133
|
+
};
|
|
1134
|
+
colorWarning: {
|
|
1135
|
+
'&.Mui-checked&:not(.Mui-checked)': {
|
|
1122
1136
|
color: string;
|
|
1123
1137
|
};
|
|
1124
1138
|
};
|
|
1139
|
+
sizeSmall: {
|
|
1140
|
+
fontSize: string;
|
|
1141
|
+
};
|
|
1142
|
+
sizeMedium: {
|
|
1143
|
+
fontSize: string;
|
|
1144
|
+
};
|
|
1145
|
+
sizeLarge: {
|
|
1146
|
+
fontSize: string;
|
|
1147
|
+
};
|
|
1125
1148
|
};
|
|
1126
1149
|
};
|
|
1127
1150
|
MuiButton: {
|
|
@@ -1211,6 +1234,13 @@ declare const componentOverrides: {
|
|
|
1211
1234
|
};
|
|
1212
1235
|
};
|
|
1213
1236
|
};
|
|
1237
|
+
MuiBackdrop: {
|
|
1238
|
+
styleOverrides: {
|
|
1239
|
+
root: {
|
|
1240
|
+
backgroundColor: string;
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1214
1244
|
MuiAvatar: {
|
|
1215
1245
|
defaultProps: import("../Components").DsAvatarProps;
|
|
1216
1246
|
variants: ({
|
|
@@ -61,7 +61,7 @@ export default function getDarkModeColorScheme(colorPalette) {
|
|
|
61
61
|
stateUnselectedHover: hexToRgbA(secondaryGrey50, 0.2),
|
|
62
62
|
stateUnselectedPressed: hexToRgbA(secondaryGrey50, 0.25),
|
|
63
63
|
stateDisabledSurface: secondaryGrey100,
|
|
64
|
-
overlay: hexToRgbA(primaryBlack, 0.
|
|
64
|
+
overlay: hexToRgbA(primaryBlack, 0.8),
|
|
65
65
|
overlayLoader: hexToRgbA(primaryBlack, 0.3),
|
|
66
66
|
dotLoader: primaryWhite
|
|
67
67
|
};
|
|
@@ -61,7 +61,7 @@ export default function getHighContrastModeColorScheme(colorPalette) {
|
|
|
61
61
|
stateUnselectedHover: hexToRgbA(secondaryGrey50, 0.2),
|
|
62
62
|
stateUnselectedPressed: hexToRgbA(secondaryGrey50, 0.25),
|
|
63
63
|
stateDisabledSurface: secondaryGrey100,
|
|
64
|
-
overlay: hexToRgbA(primaryBlack, 0.
|
|
64
|
+
overlay: hexToRgbA(primaryBlack, 0.8),
|
|
65
65
|
overlayLoader: hexToRgbA(primaryBlack, 0.3),
|
|
66
66
|
dotLoader: primaryWhite
|
|
67
67
|
};
|
|
@@ -61,7 +61,7 @@ export default function getLightModeColorScheme(colorPalette) {
|
|
|
61
61
|
stateUnselectedHover: hexToRgbA(secondaryGrey50, 0.12),
|
|
62
62
|
stateUnselectedPressed: hexToRgbA(secondaryGrey50, 0.16),
|
|
63
63
|
stateDisabledSurface: secondaryGrey20,
|
|
64
|
-
overlay: hexToRgbA(primaryBlack, 0.
|
|
64
|
+
overlay: hexToRgbA(primaryBlack, 0.8),
|
|
65
65
|
overlayLoader: hexToRgbA(primaryWhite, 0.3),
|
|
66
66
|
dotLoader: secondary100
|
|
67
67
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@am92/react-design-system",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.4",
|
|
4
4
|
"description": "ReactJS Design System using Material UI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"@mui/x-charts": "7.15.0",
|
|
23
23
|
"@mui/x-date-pickers": "~6.19.5",
|
|
24
24
|
"date-fns": "~2.30.0",
|
|
25
|
-
"lottie-react": "~2.4.0",
|
|
26
25
|
"notistack": "~3.0.1",
|
|
27
26
|
"prop-types": "~15.8.1",
|
|
28
27
|
"swiper": "~11.0.6"
|
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"nm": "Loader 24x24 Dark",
|
|
3
|
-
"ddd": 0,
|
|
4
|
-
"h": 1000,
|
|
5
|
-
"w": 1000,
|
|
6
|
-
"meta": { "g": "LottieFiles AE 3.5.2" },
|
|
7
|
-
"layers": [
|
|
8
|
-
{
|
|
9
|
-
"ty": 3,
|
|
10
|
-
"nm": "deleted_Null 4",
|
|
11
|
-
"sr": 1,
|
|
12
|
-
"st": 0,
|
|
13
|
-
"op": 1800,
|
|
14
|
-
"ip": 0,
|
|
15
|
-
"hd": false,
|
|
16
|
-
"ddd": 0,
|
|
17
|
-
"bm": 0,
|
|
18
|
-
"hasMask": false,
|
|
19
|
-
"ao": 0,
|
|
20
|
-
"ks": {
|
|
21
|
-
"a": { "a": 0, "k": [50, 50, 0], "ix": 1 },
|
|
22
|
-
"s": { "a": 0, "k": [184, 184, 100], "ix": 6 },
|
|
23
|
-
"sk": { "a": 0, "k": 0 },
|
|
24
|
-
"p": { "a": 0, "k": [501.12, 500, 0], "ix": 2 },
|
|
25
|
-
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
26
|
-
"sa": { "a": 0, "k": 0 },
|
|
27
|
-
"o": { "a": 0, "k": 0, "ix": 11 }
|
|
28
|
-
},
|
|
29
|
-
"ind": 1
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"ty": 4,
|
|
33
|
-
"nm": "Ball 2",
|
|
34
|
-
"sr": 1,
|
|
35
|
-
"st": 5,
|
|
36
|
-
"op": 1805,
|
|
37
|
-
"ip": -5,
|
|
38
|
-
"hd": false,
|
|
39
|
-
"cl": "one-dot",
|
|
40
|
-
"ln": "dot",
|
|
41
|
-
"ddd": 0,
|
|
42
|
-
"bm": 0,
|
|
43
|
-
"hasMask": false,
|
|
44
|
-
"ao": 0,
|
|
45
|
-
"ks": {
|
|
46
|
-
"a": { "a": 0, "k": [4.043, 3.043, 0], "ix": 1 },
|
|
47
|
-
"s": {
|
|
48
|
-
"a": 1,
|
|
49
|
-
"k": [
|
|
50
|
-
{
|
|
51
|
-
"o": { "x": 0.8, "y": 0 },
|
|
52
|
-
"i": { "x": 0.999, "y": 1 },
|
|
53
|
-
"s": [132, 132, 100],
|
|
54
|
-
"t": 0
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"o": { "x": 0.167, "y": 0.167 },
|
|
58
|
-
"i": { "x": 0.833, "y": 0.833 },
|
|
59
|
-
"s": [105.6, 132, 100],
|
|
60
|
-
"t": 23
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"o": { "x": 0.167, "y": 0.167 },
|
|
64
|
-
"i": { "x": 0.833, "y": 0.833 },
|
|
65
|
-
"s": [132, 105.6, 100],
|
|
66
|
-
"t": 25
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"o": { "x": 0.001, "y": 0 },
|
|
70
|
-
"i": { "x": 0.2, "y": 1 },
|
|
71
|
-
"s": [105.6, 132, 100],
|
|
72
|
-
"t": 27
|
|
73
|
-
},
|
|
74
|
-
{ "s": [132, 132, 100], "t": 50 }
|
|
75
|
-
],
|
|
76
|
-
"ix": 6
|
|
77
|
-
},
|
|
78
|
-
"sk": { "a": 0, "k": 0 },
|
|
79
|
-
"p": {
|
|
80
|
-
"a": 1,
|
|
81
|
-
"k": [
|
|
82
|
-
{
|
|
83
|
-
"o": { "x": 0.8, "y": 0 },
|
|
84
|
-
"i": { "x": 0.999, "y": 1 },
|
|
85
|
-
"s": [50, 24, 0],
|
|
86
|
-
"t": 0,
|
|
87
|
-
"ti": [0, 0, 0],
|
|
88
|
-
"to": [0, 0, 0]
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"o": { "x": 0.001, "y": 0 },
|
|
92
|
-
"i": { "x": 0.2, "y": 1 },
|
|
93
|
-
"s": [50, 225.087, 0],
|
|
94
|
-
"t": 25,
|
|
95
|
-
"ti": [0, 0, 0],
|
|
96
|
-
"to": [0, 0, 0]
|
|
97
|
-
},
|
|
98
|
-
{ "s": [50, 24, 0], "t": 50 }
|
|
99
|
-
],
|
|
100
|
-
"ix": 2
|
|
101
|
-
},
|
|
102
|
-
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
103
|
-
"sa": { "a": 0, "k": 0 },
|
|
104
|
-
"o": { "a": 0, "k": 100, "ix": 11 }
|
|
105
|
-
},
|
|
106
|
-
"ef": [],
|
|
107
|
-
"shapes": [
|
|
108
|
-
{
|
|
109
|
-
"ty": "gr",
|
|
110
|
-
"bm": 0,
|
|
111
|
-
"hd": false,
|
|
112
|
-
"mn": "ADBE Vector Group",
|
|
113
|
-
"nm": "Rectangle 1",
|
|
114
|
-
"ix": 1,
|
|
115
|
-
"cix": 2,
|
|
116
|
-
"np": 3,
|
|
117
|
-
"it": [
|
|
118
|
-
{
|
|
119
|
-
"ty": "rc",
|
|
120
|
-
"bm": 0,
|
|
121
|
-
"hd": false,
|
|
122
|
-
"mn": "ADBE Vector Shape - Rect",
|
|
123
|
-
"nm": "Rectangle Path 1",
|
|
124
|
-
"d": 1,
|
|
125
|
-
"p": { "a": 0, "k": [0, 0], "ix": 3 },
|
|
126
|
-
"r": { "a": 0, "k": 100, "ix": 4 },
|
|
127
|
-
"s": { "a": 0, "k": [150, 150], "ix": 2 }
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"ty": "fl",
|
|
131
|
-
"bm": 0,
|
|
132
|
-
"hd": false,
|
|
133
|
-
"mn": "ADBE Vector Graphic - Fill",
|
|
134
|
-
"cl": "dot-class",
|
|
135
|
-
"nm": "Fill 1",
|
|
136
|
-
"c": { "a": 0, "k": [1, 1, 1], "ix": 4 },
|
|
137
|
-
"r": 1,
|
|
138
|
-
"o": { "a": 0, "k": 100, "ix": 5 }
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"ty": "tr",
|
|
142
|
-
"a": { "a": 0, "k": [0, 0], "ix": 1 },
|
|
143
|
-
"s": { "a": 0, "k": [100, 100], "ix": 3 },
|
|
144
|
-
"sk": { "a": 0, "k": 0, "ix": 4 },
|
|
145
|
-
"p": { "a": 0, "k": [4.043, -71.957], "ix": 2 },
|
|
146
|
-
"r": { "a": 0, "k": 0, "ix": 6 },
|
|
147
|
-
"sa": { "a": 0, "k": 0, "ix": 5 },
|
|
148
|
-
"o": { "a": 0, "k": 100, "ix": 7 }
|
|
149
|
-
}
|
|
150
|
-
]
|
|
151
|
-
}
|
|
152
|
-
],
|
|
153
|
-
"ind": 2,
|
|
154
|
-
"parent": 1
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"ty": 4,
|
|
158
|
-
"nm": "Hole 5",
|
|
159
|
-
"sr": 1,
|
|
160
|
-
"st": 5,
|
|
161
|
-
"op": 1780,
|
|
162
|
-
"ip": -5,
|
|
163
|
-
"hd": false,
|
|
164
|
-
"cl": "one-dot",
|
|
165
|
-
"ln": "shadow",
|
|
166
|
-
"ddd": 0,
|
|
167
|
-
"bm": 0,
|
|
168
|
-
"hasMask": false,
|
|
169
|
-
"ao": 0,
|
|
170
|
-
"ks": {
|
|
171
|
-
"a": { "a": 0, "k": [4.043, -71.957, 0], "ix": 1 },
|
|
172
|
-
"s": {
|
|
173
|
-
"a": 1,
|
|
174
|
-
"k": [
|
|
175
|
-
{
|
|
176
|
-
"o": { "x": 0.8, "y": 0 },
|
|
177
|
-
"i": { "x": 0.999, "y": 1 },
|
|
178
|
-
"s": [232.009, 115.275, 100],
|
|
179
|
-
"t": 0
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"o": { "x": 0.001, "y": 0 },
|
|
183
|
-
"i": { "x": 0.2, "y": 1 },
|
|
184
|
-
"s": [0, 0, 100],
|
|
185
|
-
"t": 25
|
|
186
|
-
},
|
|
187
|
-
{ "s": [232.009, 115.275, 100], "t": 50 }
|
|
188
|
-
],
|
|
189
|
-
"ix": 6
|
|
190
|
-
},
|
|
191
|
-
"sk": { "a": 0, "k": 0 },
|
|
192
|
-
"p": { "a": 0, "k": [501.12, 828.52, 0], "ix": 2 },
|
|
193
|
-
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
194
|
-
"sa": { "a": 0, "k": 0 },
|
|
195
|
-
"o": { "a": 0, "k": 20, "ix": 11 }
|
|
196
|
-
},
|
|
197
|
-
"ef": [],
|
|
198
|
-
"shapes": [
|
|
199
|
-
{
|
|
200
|
-
"ty": "gr",
|
|
201
|
-
"bm": 0,
|
|
202
|
-
"hd": false,
|
|
203
|
-
"mn": "ADBE Vector Group",
|
|
204
|
-
"nm": "Rectangle 1",
|
|
205
|
-
"ix": 1,
|
|
206
|
-
"cix": 2,
|
|
207
|
-
"np": 3,
|
|
208
|
-
"it": [
|
|
209
|
-
{
|
|
210
|
-
"ty": "rc",
|
|
211
|
-
"bm": 0,
|
|
212
|
-
"hd": false,
|
|
213
|
-
"mn": "ADBE Vector Shape - Rect",
|
|
214
|
-
"nm": "Rectangle Path 1",
|
|
215
|
-
"d": 1,
|
|
216
|
-
"p": { "a": 0, "k": [0, 0], "ix": 3 },
|
|
217
|
-
"r": { "a": 0, "k": 100, "ix": 4 },
|
|
218
|
-
"s": { "a": 0, "k": [150, 150], "ix": 2 }
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"ty": "fl",
|
|
222
|
-
"bm": 0,
|
|
223
|
-
"hd": false,
|
|
224
|
-
"mn": "ADBE Vector Graphic - Fill",
|
|
225
|
-
"nm": "Fill 1",
|
|
226
|
-
"cl": "dot-class",
|
|
227
|
-
"c": { "a": 0, "k": [1, 1, 1], "ix": 4 },
|
|
228
|
-
"r": 1,
|
|
229
|
-
"o": { "a": 0, "k": 100, "ix": 5 }
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"ty": "tr",
|
|
233
|
-
"a": { "a": 0, "k": [0, 0], "ix": 1 },
|
|
234
|
-
"s": { "a": 0, "k": [100, 100], "ix": 3 },
|
|
235
|
-
"sk": { "a": 0, "k": 0, "ix": 4 },
|
|
236
|
-
"p": { "a": 0, "k": [4.043, -71.957], "ix": 2 },
|
|
237
|
-
"r": { "a": 0, "k": 0, "ix": 6 },
|
|
238
|
-
"sa": { "a": 0, "k": 0, "ix": 5 },
|
|
239
|
-
"o": { "a": 0, "k": 100, "ix": 7 }
|
|
240
|
-
}
|
|
241
|
-
]
|
|
242
|
-
}
|
|
243
|
-
],
|
|
244
|
-
"ind": 3
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
"v": "4.8.0",
|
|
248
|
-
"fr": 60,
|
|
249
|
-
"op": 51,
|
|
250
|
-
"ip": 0,
|
|
251
|
-
"assets": []
|
|
252
|
-
}
|