@innovaccer/design-system 2.19.0 → 2.20.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/CHANGELOG.md +43 -0
- package/css/dist/MaterialSymbolsOutlined.ttf +0 -0
- package/css/dist/MaterialSymbolsRounded.ttf +0 -0
- package/css/dist/index.css +94 -87
- package/css/dist/index.css.map +1 -1
- package/css/gulpfile.js +7 -11
- package/css/material-design-icons/iconfont/MaterialSymbolsOutlined.ttf +0 -0
- package/css/material-design-icons/iconfont/MaterialSymbolsRounded.ttf +0 -0
- package/css/material-design-icons/iconfont/material-icons.css +10 -88
- package/css/src/components/actionCard.css +40 -0
- package/css/src/components/calendar.css +33 -0
- package/css/src/components/chipInput.css +9 -0
- package/dist/.lib/tsconfig.type.tsbuildinfo +66 -20
- package/dist/core/common.type.d.ts +6 -0
- package/dist/core/components/atoms/actionCard/ActionCard.d.ts +13 -0
- package/dist/core/components/atoms/actionCard/index.d.ts +2 -0
- package/dist/core/components/atoms/button/Button.d.ts +3 -1
- package/dist/core/components/atoms/icon/Icon.d.ts +7 -0
- package/dist/core/components/atoms/icon/utils.d.ts +7 -0
- package/dist/core/components/atoms/input/actionButton/ActionButton.d.ts +3 -1
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +20 -20
- package/dist/core/components/molecules/chipInput/ChipInput.d.ts +1 -0
- package/dist/core/components/organisms/calendar/utility.d.ts +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.type.d.ts +1 -0
- package/dist/index.esm.js +339 -155
- package/dist/index.js +267 -83
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/package.json +1 -1
- package/css/dist/MaterialIcons-Regular.ttf +0 -0
- package/css/dist/MaterialIconsOutlined-Regular.otf +0 -0
- package/css/dist/MaterialIconsRound-Regular.otf +0 -0
- package/css/dist/MaterialIconsSharp-Regular.otf +0 -0
- package/css/dist/MaterialIconsTwoTone-Regular.otf +0 -0
- package/css/material-design-icons/iconfont/MaterialIcons-Regular.ttf +0 -0
- package/css/material-design-icons/iconfont/MaterialIconsOutlined-Regular.otf +0 -0
- package/css/material-design-icons/iconfont/MaterialIconsRound-Regular.otf +0 -0
- package/css/material-design-icons/iconfont/MaterialIconsSharp-Regular.otf +0 -0
- package/css/material-design-icons/iconfont/MaterialIconsTwoTone-Regular.otf +0 -0
package/css/gulpfile.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const postcss = require('gulp-postcss');
|
|
2
2
|
const gulp = require('gulp');
|
|
3
|
-
const autoprefixer = require('autoprefixer')
|
|
4
|
-
const sourcemaps = require('gulp-sourcemaps')
|
|
3
|
+
const autoprefixer = require('autoprefixer');
|
|
4
|
+
const sourcemaps = require('gulp-sourcemaps');
|
|
5
5
|
const concat = require('gulp-concat');
|
|
6
6
|
const postcssColorMod = require('postcss-color-mod-function');
|
|
7
7
|
const cleaner = require('gulp-clean');
|
|
@@ -18,10 +18,8 @@ const sources = [
|
|
|
18
18
|
'./src/utils/*.css',
|
|
19
19
|
];
|
|
20
20
|
|
|
21
|
-
function clean
|
|
22
|
-
return gulp
|
|
23
|
-
.src('./dist/*', { allowEmpty: true })
|
|
24
|
-
.pipe(cleaner());
|
|
21
|
+
function clean() {
|
|
22
|
+
return gulp.src('./dist/*', { allowEmpty: true }).pipe(cleaner());
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
function css() {
|
|
@@ -36,9 +34,7 @@ function css() {
|
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
function font() {
|
|
39
|
-
return gulp
|
|
40
|
-
.src(materialFont)
|
|
41
|
-
.pipe(gulp.dest('./dist'));
|
|
37
|
+
return gulp.src([materialFont]).pipe(gulp.dest('./dist'));
|
|
42
38
|
}
|
|
43
39
|
|
|
44
40
|
exports.build = gulp.series(clean, gulp.parallel(css, font));
|
|
@@ -46,5 +42,5 @@ exports.build = gulp.series(clean, gulp.parallel(css, font));
|
|
|
46
42
|
exports.clean = clean;
|
|
47
43
|
|
|
48
44
|
gulp.task('watch', () => {
|
|
49
|
-
gulp.watch(sources, gulp.series(css))
|
|
50
|
-
});
|
|
45
|
+
gulp.watch(sources, gulp.series(css));
|
|
46
|
+
});
|
|
Binary file
|
|
Binary file
|
|
@@ -1,37 +1,13 @@
|
|
|
1
|
-
/* fallback */
|
|
2
1
|
@font-face {
|
|
3
|
-
font-family: 'Material
|
|
4
|
-
font-style: normal;
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
src: url(MaterialIcons-Regular.ttf);
|
|
7
|
-
}
|
|
8
|
-
/* fallback */
|
|
9
|
-
@font-face {
|
|
10
|
-
font-family: 'Material Icons Outlined';
|
|
11
|
-
font-style: normal;
|
|
12
|
-
font-weight: 400;
|
|
13
|
-
src: url(MaterialIconsOutlined-Regular.otf);
|
|
14
|
-
}
|
|
15
|
-
/* fallback */
|
|
16
|
-
@font-face {
|
|
17
|
-
font-family: 'Material Icons Round';
|
|
18
|
-
font-style: normal;
|
|
19
|
-
font-weight: 400;
|
|
20
|
-
src: url(MaterialIconsRound-Regular.otf);
|
|
21
|
-
}
|
|
22
|
-
/* fallback */
|
|
23
|
-
@font-face {
|
|
24
|
-
font-family: 'Material Icons Sharp';
|
|
2
|
+
font-family: 'Material Symbols Outlined';
|
|
25
3
|
font-style: normal;
|
|
26
|
-
|
|
27
|
-
src: url(MaterialIconsSharp-Regular.otf);
|
|
4
|
+
src: url(MaterialSymbolsOutlined.ttf);
|
|
28
5
|
}
|
|
29
|
-
|
|
6
|
+
|
|
30
7
|
@font-face {
|
|
31
|
-
font-family: 'Material
|
|
8
|
+
font-family: 'Material Symbols Rounded';
|
|
32
9
|
font-style: normal;
|
|
33
|
-
|
|
34
|
-
src: url(MaterialIconsTwoTone-Regular.otf);
|
|
10
|
+
src: url(MaterialSymbolsRounded.ttf);
|
|
35
11
|
}
|
|
36
12
|
|
|
37
13
|
.material-icons {
|
|
@@ -51,65 +27,11 @@
|
|
|
51
27
|
}
|
|
52
28
|
|
|
53
29
|
.material-icons-outlined {
|
|
54
|
-
font-family: 'Material
|
|
55
|
-
font-
|
|
56
|
-
font-style: normal;
|
|
57
|
-
font-size: 16px; /* preferred icon size */
|
|
58
|
-
line-height: 1;
|
|
59
|
-
letter-spacing: normal;
|
|
60
|
-
text-transform: none;
|
|
61
|
-
display: inline-block;
|
|
62
|
-
white-space: nowrap;
|
|
63
|
-
word-wrap: normal;
|
|
64
|
-
direction: ltr;
|
|
65
|
-
-webkit-font-feature-settings: 'liga';
|
|
66
|
-
-webkit-font-smoothing: antialiased;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.material-icons-round {
|
|
70
|
-
font-family: 'Material Icons Round';
|
|
71
|
-
font-weight: normal;
|
|
72
|
-
font-style: normal;
|
|
73
|
-
font-size: 16px; /* preferred icon size */
|
|
74
|
-
line-height: 1;
|
|
75
|
-
letter-spacing: normal;
|
|
76
|
-
text-transform: none;
|
|
77
|
-
display: inline-block;
|
|
78
|
-
white-space: nowrap;
|
|
79
|
-
word-wrap: normal;
|
|
80
|
-
direction: ltr;
|
|
81
|
-
-webkit-font-feature-settings: 'liga';
|
|
82
|
-
-webkit-font-smoothing: antialiased;
|
|
30
|
+
font-family: 'Material Symbols Outlined';
|
|
31
|
+
font-size: 24px; /* Preferred icon size */
|
|
83
32
|
}
|
|
84
33
|
|
|
85
|
-
.material-icons-
|
|
86
|
-
font-family: 'Material
|
|
87
|
-
font-
|
|
88
|
-
font-style: normal;
|
|
89
|
-
font-size: 16px; /* preferred icon size */
|
|
90
|
-
line-height: 1;
|
|
91
|
-
letter-spacing: normal;
|
|
92
|
-
text-transform: none;
|
|
93
|
-
display: inline-block;
|
|
94
|
-
white-space: nowrap;
|
|
95
|
-
word-wrap: normal;
|
|
96
|
-
direction: ltr;
|
|
97
|
-
-webkit-font-feature-settings: 'liga';
|
|
98
|
-
-webkit-font-smoothing: antialiased;
|
|
34
|
+
.material-icons-rounded {
|
|
35
|
+
font-family: 'Material Symbols Rounded';
|
|
36
|
+
font-size: 24px; /* Preferred icon size */
|
|
99
37
|
}
|
|
100
|
-
|
|
101
|
-
.material-icons-two-tone {
|
|
102
|
-
font-family: 'Material Icons Two Tone';
|
|
103
|
-
font-weight: normal;
|
|
104
|
-
font-style: normal;
|
|
105
|
-
font-size: 16px; /* preferred icon size */
|
|
106
|
-
line-height: 1;
|
|
107
|
-
letter-spacing: normal;
|
|
108
|
-
text-transform: none;
|
|
109
|
-
display: inline-block;
|
|
110
|
-
white-space: nowrap;
|
|
111
|
-
word-wrap: normal;
|
|
112
|
-
direction: ltr;
|
|
113
|
-
-webkit-font-feature-settings: 'liga';
|
|
114
|
-
-webkit-font-smoothing: antialiased;
|
|
115
|
-
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.ActionCard {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
border-radius: var(--spacing-m);
|
|
4
|
+
width: 100%;
|
|
5
|
+
border: var(--spacing-xs) solid var(--secondary-dark);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ActionCard:hover {
|
|
9
|
+
box-shadow: var(--shadow-m);
|
|
10
|
+
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ActionCard:focus,
|
|
14
|
+
.ActionCard:focus-visible {
|
|
15
|
+
outline: none;
|
|
16
|
+
border: var(--spacing-xs) solid var(--secondary-light);
|
|
17
|
+
box-shadow: var(--shadow-spread) var(--secondary-shadow);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ActionCard:active {
|
|
21
|
+
box-shadow: var(--shadow-l);
|
|
22
|
+
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ActionCard--disabled {
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
position: relative;
|
|
28
|
+
border: var(--spacing-xs) solid var(--secondary-lighter);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ActionCard-overlay--disabled {
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: 0;
|
|
34
|
+
right: 0;
|
|
35
|
+
bottom: 0;
|
|
36
|
+
left: 0;
|
|
37
|
+
z-index: 2;
|
|
38
|
+
opacity: 50%;
|
|
39
|
+
background: var(--secondary-light);
|
|
40
|
+
}
|
|
@@ -142,6 +142,11 @@
|
|
|
142
142
|
border-radius: 0 var(--spacing-m) var(--spacing-m) 0;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
+
.Calendar-valueWrapper--hoverDate {
|
|
146
|
+
background: linear-gradient(90deg, var(--primary-lightest) 10%, white 50%);
|
|
147
|
+
border-radius: 0 var(--spacing-m) var(--spacing-m) 0;
|
|
148
|
+
}
|
|
149
|
+
|
|
145
150
|
.Calendar-valueWrapper--endError {
|
|
146
151
|
background: linear-gradient(90deg, var(--alert-lightest) 50%, white 50%);
|
|
147
152
|
}
|
|
@@ -169,6 +174,10 @@
|
|
|
169
174
|
background: var(--secondary);
|
|
170
175
|
}
|
|
171
176
|
|
|
177
|
+
.Calendar-value:active .Calendar-value--currDate {
|
|
178
|
+
color: var(--primary-dark);
|
|
179
|
+
}
|
|
180
|
+
|
|
172
181
|
.Calendar-value--start:hover,
|
|
173
182
|
.Calendar-value--end:hover {
|
|
174
183
|
background: var(--primary-lightest);
|
|
@@ -201,6 +210,10 @@
|
|
|
201
210
|
background: var(--primary-lighter);
|
|
202
211
|
}
|
|
203
212
|
|
|
213
|
+
.Calendar-value--currDate:active {
|
|
214
|
+
color: var(--primary-dark);
|
|
215
|
+
}
|
|
216
|
+
|
|
204
217
|
.Calendar-value--active {
|
|
205
218
|
background: var(--primary);
|
|
206
219
|
font-weight: var(--font-weight-bold);
|
|
@@ -277,3 +290,23 @@
|
|
|
277
290
|
.Calendar-eventsIndicator--active {
|
|
278
291
|
background-color: var(--white);
|
|
279
292
|
}
|
|
293
|
+
|
|
294
|
+
.Calendar-valueWrapper--inStartRange {
|
|
295
|
+
background: linear-gradient(90deg, white 50%, var(--primary-lightest) 50%);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.Calendar-valueWrapper--inEndRange {
|
|
299
|
+
background: linear-gradient(90deg, var(--primary-lightest) 50%, white 50%);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.Calendar-valueWrapper--inEdgeRange .Calendar-inRangeValue {
|
|
303
|
+
background: var(--primary-lightest);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.Calendar-valueWrapper--inEdgeRange .Calendar-inRangeValue:hover {
|
|
307
|
+
background: var(--primary-lighter);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.Calendar-valueWrapper--inEdgeRange .Calendar-inRangeValue:active {
|
|
311
|
+
background: var(--primary-light);
|
|
312
|
+
}
|
|
@@ -34,6 +34,11 @@
|
|
|
34
34
|
padding-right: var(--spacing);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
.ChipInput--error,
|
|
38
|
+
.ChipInput--error:focus-within {
|
|
39
|
+
box-shadow: inset 0 0 0 var(--spacing-xs) var(--alert);
|
|
40
|
+
}
|
|
41
|
+
|
|
37
42
|
.ChipInput-wrapper {
|
|
38
43
|
display: flex;
|
|
39
44
|
flex: 100%;
|
|
@@ -46,6 +51,10 @@
|
|
|
46
51
|
box-shadow: var(--shadow-spread) var(--primary-shadow);
|
|
47
52
|
}
|
|
48
53
|
|
|
54
|
+
.ChipInput-border--error:focus-within {
|
|
55
|
+
box-shadow: var(--shadow-spread) var(--alert-shadow);
|
|
56
|
+
}
|
|
57
|
+
|
|
49
58
|
.ChipInput-input {
|
|
50
59
|
border: none;
|
|
51
60
|
outline: none;
|
|
@@ -317,8 +317,8 @@
|
|
|
317
317
|
"affectsGlobalScope": false
|
|
318
318
|
},
|
|
319
319
|
"../../core/components/atoms/button/Button.tsx": {
|
|
320
|
-
"version": "
|
|
321
|
-
"signature": "
|
|
320
|
+
"version": "cbd3a7de427feb4d69686a50b4835f7b048079eba02176e8795ae86bb1e76155",
|
|
321
|
+
"signature": "532969f075bc72a567f0cb4bda2d3868ae099e40d506d7737bc2dc6ba99ff772",
|
|
322
322
|
"affectsGlobalScope": false
|
|
323
323
|
},
|
|
324
324
|
"../../core/components/atoms/button/index.tsx": {
|
|
@@ -337,12 +337,12 @@
|
|
|
337
337
|
"affectsGlobalScope": false
|
|
338
338
|
},
|
|
339
339
|
"../../core/components/organisms/calendar/utility.ts": {
|
|
340
|
-
"version": "
|
|
341
|
-
"signature": "
|
|
340
|
+
"version": "758a7aa8211b63c084efa394c68eae7965c568c4a19e7964c35ef3d953d19c29",
|
|
341
|
+
"signature": "42d2e48374c5c68300d54e14339e5cd5ba8af61edbe9a8da9d64e5ca826ec225",
|
|
342
342
|
"affectsGlobalScope": false
|
|
343
343
|
},
|
|
344
344
|
"../../core/components/organisms/calendar/Calendar.tsx": {
|
|
345
|
-
"version": "
|
|
345
|
+
"version": "165e8ac85f507625b0876165cd074d67f4e5eec9b0c02be6fd081b17db8040d9",
|
|
346
346
|
"signature": "bd837ccd1ca55becef710a181dd2030665fc6a9d889f420e743d9bca9358e48e",
|
|
347
347
|
"affectsGlobalScope": false
|
|
348
348
|
},
|
|
@@ -421,9 +421,14 @@
|
|
|
421
421
|
"signature": "6427aee725c0b2c594f724f86482fe933cc3711d7ecf0bc86bd742cbf768877b",
|
|
422
422
|
"affectsGlobalScope": false
|
|
423
423
|
},
|
|
424
|
+
"../../core/components/atoms/icon/utils.tsx": {
|
|
425
|
+
"version": "a5829212bb9353c1c67b4cd3e5d333248b10c777d64e4514ae87778829e4d033",
|
|
426
|
+
"signature": "68ebf8993b600a8745eb160a6af8b5a9a1576fffd6bef2f7a3d5534babb47a52",
|
|
427
|
+
"affectsGlobalScope": false
|
|
428
|
+
},
|
|
424
429
|
"../../core/components/atoms/icon/Icon.tsx": {
|
|
425
|
-
"version": "
|
|
426
|
-
"signature": "
|
|
430
|
+
"version": "1d9a92a76069887d29a386ee202872d7ec9a02d7ffd31888a5bd7d852e60e587",
|
|
431
|
+
"signature": "4ec0e5666dff4fe9b96ebefe3cfd09d56ffeea07b633ef501071ec7e558a043b",
|
|
427
432
|
"affectsGlobalScope": false
|
|
428
433
|
},
|
|
429
434
|
"../../core/components/atoms/icon/index.tsx": {
|
|
@@ -647,8 +652,8 @@
|
|
|
647
652
|
"affectsGlobalScope": false
|
|
648
653
|
},
|
|
649
654
|
"../../core/components/atoms/input/actionButton/ActionButton.tsx": {
|
|
650
|
-
"version": "
|
|
651
|
-
"signature": "
|
|
655
|
+
"version": "6f30e85be6d0d6971bf313d388941fd0c07548e9eba326b2634e3e05cf370a5d",
|
|
656
|
+
"signature": "32aaf80dc9d52ecab613c6b87c0acb82de9da2c0793086a207055820f938bba2",
|
|
652
657
|
"affectsGlobalScope": false
|
|
653
658
|
},
|
|
654
659
|
"../../core/components/atoms/input/actionButton/index.tsx": {
|
|
@@ -1092,8 +1097,8 @@
|
|
|
1092
1097
|
"affectsGlobalScope": false
|
|
1093
1098
|
},
|
|
1094
1099
|
"../../core/components/molecules/chipInput/ChipInput.tsx": {
|
|
1095
|
-
"version": "
|
|
1096
|
-
"signature": "
|
|
1100
|
+
"version": "fa096c1a3dcb30064b5d48f0aae807884a80b2afde3857e7cc106f7fdade2d7e",
|
|
1101
|
+
"signature": "b1fbc619ea7cbc8805de67df594032d7f1747b1dd8b0d6abb611325c205ec0d5",
|
|
1097
1102
|
"affectsGlobalScope": false
|
|
1098
1103
|
},
|
|
1099
1104
|
"../../core/components/molecules/chipInput/index.tsx": {
|
|
@@ -1173,7 +1178,7 @@
|
|
|
1173
1178
|
},
|
|
1174
1179
|
"../../core/components/atoms/popperWrapper/PopperWrapper.tsx": {
|
|
1175
1180
|
"version": "4bdc8aa961b2247499d2937c5d836e5680c2bc6c531bb77feae0a14f4a08fcc3",
|
|
1176
|
-
"signature": "
|
|
1181
|
+
"signature": "786615f97cc26af74b87459c50cf92427fe10f4a007cbfab1bc0bb472acf4ccb",
|
|
1177
1182
|
"affectsGlobalScope": false
|
|
1178
1183
|
},
|
|
1179
1184
|
"../../core/components/atoms/popperWrapper/index.tsx": {
|
|
@@ -1541,9 +1546,19 @@
|
|
|
1541
1546
|
"signature": "838cceafb096677703d2d3aeca19c33295def833e0798273c9123d44fa50d115",
|
|
1542
1547
|
"affectsGlobalScope": false
|
|
1543
1548
|
},
|
|
1549
|
+
"../../core/components/atoms/actionCard/ActionCard.tsx": {
|
|
1550
|
+
"version": "c6faa704d990236e814822af97051664ad91e5aed9c59ac8dec0627042aa30b9",
|
|
1551
|
+
"signature": "9a25f22c0c0c76eaaa779f1956315fb660a9642462f0fe6983c34de5b57afc8c",
|
|
1552
|
+
"affectsGlobalScope": false
|
|
1553
|
+
},
|
|
1554
|
+
"../../core/components/atoms/actionCard/index.tsx": {
|
|
1555
|
+
"version": "7c4b2e4cd033b90e478d985166dddf129a67d868a2716624b48c6384ee5acc99",
|
|
1556
|
+
"signature": "496c1995d6c2836e353783730b0b6fda96d81ddc669254265414e40339b0d4ce",
|
|
1557
|
+
"affectsGlobalScope": false
|
|
1558
|
+
},
|
|
1544
1559
|
"../../core/index.type.tsx": {
|
|
1545
|
-
"version": "
|
|
1546
|
-
"signature": "
|
|
1560
|
+
"version": "19ebf2ffaeddba2d0a0549f9150ee510a1616d6f3d0c368b13e87eeef6e1d439",
|
|
1561
|
+
"signature": "075741cabe17b922d69f3d27d11b9220ae959096170ea644cabb89e9b14129ea",
|
|
1547
1562
|
"affectsGlobalScope": false
|
|
1548
1563
|
},
|
|
1549
1564
|
"../../core/components/organisms/timePicker/TimePickerWithInput.tsx": {
|
|
@@ -1572,8 +1587,8 @@
|
|
|
1572
1587
|
"affectsGlobalScope": false
|
|
1573
1588
|
},
|
|
1574
1589
|
"../../core/index.tsx": {
|
|
1575
|
-
"version": "
|
|
1576
|
-
"signature": "
|
|
1590
|
+
"version": "51b1ef49d53c08397a476d2666043148168ff7c3ea04ba0f79916d29891cb9c7",
|
|
1591
|
+
"signature": "519243eda020548d41bbe6b549d5a3f8c66e5c09209c211c6faf683042261588",
|
|
1577
1592
|
"affectsGlobalScope": false
|
|
1578
1593
|
},
|
|
1579
1594
|
"../../core/components/molecules/overlayFooter/OverlayFooter.tsx": {
|
|
@@ -1587,8 +1602,8 @@
|
|
|
1587
1602
|
"affectsGlobalScope": false
|
|
1588
1603
|
},
|
|
1589
1604
|
"../../core/common.type.tsx": {
|
|
1590
|
-
"version": "
|
|
1591
|
-
"signature": "
|
|
1605
|
+
"version": "047c28cbf1b4263accf142253212266a24cf2ac5174a8c4bb41245b0a425507a",
|
|
1606
|
+
"signature": "5692e64aa77f460848d5f832ec24321ef7d890ebaf825c1a905577c8f19488c4",
|
|
1592
1607
|
"affectsGlobalScope": false
|
|
1593
1608
|
},
|
|
1594
1609
|
"../../core/global.d.ts": {
|
|
@@ -2747,7 +2762,7 @@
|
|
|
2747
2762
|
"affectsGlobalScope": false
|
|
2748
2763
|
},
|
|
2749
2764
|
"../../core/utils/docPage/index.tsx": {
|
|
2750
|
-
"version": "
|
|
2765
|
+
"version": "ef1324a911b4d142c8ca5d94c5c9a6e4e28b55eaef4d1cb6b188c288fa39327f",
|
|
2751
2766
|
"signature": "d793df693e1f566f2a7fd586a5ba76f93009c359e9795372d49bb1dafa1d2c00",
|
|
2752
2767
|
"affectsGlobalScope": false
|
|
2753
2768
|
},
|
|
@@ -4591,6 +4606,15 @@
|
|
|
4591
4606
|
"*",
|
|
4592
4607
|
"*",
|
|
4593
4608
|
"*",
|
|
4609
|
+
"*",
|
|
4610
|
+
"*",
|
|
4611
|
+
"*",
|
|
4612
|
+
"*",
|
|
4613
|
+
"*",
|
|
4614
|
+
"*",
|
|
4615
|
+
"*",
|
|
4616
|
+
"*",
|
|
4617
|
+
"*",
|
|
4594
4618
|
"*"
|
|
4595
4619
|
]
|
|
4596
4620
|
},
|
|
@@ -4653,6 +4677,16 @@
|
|
|
4653
4677
|
"../../node_modules/@types/node/util.d.ts",
|
|
4654
4678
|
"../../node_modules/@types/react/index.d.ts"
|
|
4655
4679
|
],
|
|
4680
|
+
"../../core/components/atoms/actionCard/ActionCard.tsx": [
|
|
4681
|
+
"../../core/utils/types.tsx",
|
|
4682
|
+
"../../node_modules/@types/node/util.d.ts",
|
|
4683
|
+
"../../node_modules/@types/react/index.d.ts",
|
|
4684
|
+
"../../node_modules/classnames/index.d.ts"
|
|
4685
|
+
],
|
|
4686
|
+
"../../core/components/atoms/actionCard/index.tsx": [
|
|
4687
|
+
"../../core/components/atoms/actionCard/ActionCard.tsx",
|
|
4688
|
+
"../../node_modules/@types/node/util.d.ts"
|
|
4689
|
+
],
|
|
4656
4690
|
"../../core/components/atoms/avatar/Avatar.tsx": [
|
|
4657
4691
|
"../../core/common.type.tsx",
|
|
4658
4692
|
"../../core/index.tsx",
|
|
@@ -4734,6 +4768,7 @@
|
|
|
4734
4768
|
"../../node_modules/@types/node/util.d.ts"
|
|
4735
4769
|
],
|
|
4736
4770
|
"../../core/components/atoms/button/Button.tsx": [
|
|
4771
|
+
"../../core/common.type.tsx",
|
|
4737
4772
|
"../../core/index.tsx",
|
|
4738
4773
|
"../../core/utils/types.tsx",
|
|
4739
4774
|
"../../node_modules/@types/node/util.d.ts",
|
|
@@ -5002,6 +5037,7 @@
|
|
|
5002
5037
|
],
|
|
5003
5038
|
"../../core/components/atoms/icon/Icon.tsx": [
|
|
5004
5039
|
"../../core/accessibility/utils/index.ts",
|
|
5040
|
+
"../../core/components/atoms/icon/utils.tsx",
|
|
5005
5041
|
"../../core/utils/types.tsx",
|
|
5006
5042
|
"../../node_modules/@types/node/util.d.ts",
|
|
5007
5043
|
"../../node_modules/@types/react/index.d.ts",
|
|
@@ -5011,6 +5047,10 @@
|
|
|
5011
5047
|
"../../core/components/atoms/icon/Icon.tsx",
|
|
5012
5048
|
"../../node_modules/@types/node/util.d.ts"
|
|
5013
5049
|
],
|
|
5050
|
+
"../../core/components/atoms/icon/utils.tsx": [
|
|
5051
|
+
"../../core/components/atoms/icon/Icon.tsx",
|
|
5052
|
+
"../../node_modules/@types/node/util.d.ts"
|
|
5053
|
+
],
|
|
5014
5054
|
"../../core/components/atoms/input/Input.tsx": [
|
|
5015
5055
|
"../../core/common.type.tsx",
|
|
5016
5056
|
"../../core/components/atoms/input/actionButton/index.tsx",
|
|
@@ -5022,7 +5062,8 @@
|
|
|
5022
5062
|
"../../node_modules/classnames/index.d.ts"
|
|
5023
5063
|
],
|
|
5024
5064
|
"../../core/components/atoms/input/actionButton/ActionButton.tsx": [
|
|
5025
|
-
"../../core/
|
|
5065
|
+
"../../core/common.type.tsx",
|
|
5066
|
+
"../../core/index.tsx",
|
|
5026
5067
|
"../../core/utils/types.tsx",
|
|
5027
5068
|
"../../node_modules/@types/node/util.d.ts",
|
|
5028
5069
|
"../../node_modules/@types/react/index.d.ts",
|
|
@@ -6243,6 +6284,7 @@
|
|
|
6243
6284
|
"../../node_modules/@types/node/util.d.ts"
|
|
6244
6285
|
],
|
|
6245
6286
|
"../../core/index.tsx": [
|
|
6287
|
+
"../../core/components/atoms/actionCard/index.tsx",
|
|
6246
6288
|
"../../core/components/atoms/avatar/index.tsx",
|
|
6247
6289
|
"../../core/components/atoms/avatarGroup/index.tsx",
|
|
6248
6290
|
"../../core/components/atoms/backdrop/index.tsx",
|
|
@@ -6333,6 +6375,7 @@
|
|
|
6333
6375
|
"../../node_modules/@types/node/util.d.ts"
|
|
6334
6376
|
],
|
|
6335
6377
|
"../../core/index.type.tsx": [
|
|
6378
|
+
"../../core/components/atoms/actionCard/index.tsx",
|
|
6336
6379
|
"../../core/components/atoms/avatar/index.tsx",
|
|
6337
6380
|
"../../core/components/atoms/avatarGroup/index.tsx",
|
|
6338
6381
|
"../../core/components/atoms/backdrop/index.tsx",
|
|
@@ -11588,6 +11631,8 @@
|
|
|
11588
11631
|
"../../core/common.type.tsx",
|
|
11589
11632
|
"../../core/components/atoms/_chip/index.tsx",
|
|
11590
11633
|
"../../core/components/atoms/_text/index.tsx",
|
|
11634
|
+
"../../core/components/atoms/actionCard/ActionCard.tsx",
|
|
11635
|
+
"../../core/components/atoms/actionCard/index.tsx",
|
|
11591
11636
|
"../../core/components/atoms/avatar/Avatar.tsx",
|
|
11592
11637
|
"../../core/components/atoms/avatar/index.tsx",
|
|
11593
11638
|
"../../core/components/atoms/avatarGroup/AvatarCount.tsx",
|
|
@@ -11648,6 +11693,7 @@
|
|
|
11648
11693
|
"../../core/components/atoms/helpText/index.tsx",
|
|
11649
11694
|
"../../core/components/atoms/icon/Icon.tsx",
|
|
11650
11695
|
"../../core/components/atoms/icon/index.tsx",
|
|
11696
|
+
"../../core/components/atoms/icon/utils.tsx",
|
|
11651
11697
|
"../../core/components/atoms/input/Input.tsx",
|
|
11652
11698
|
"../../core/components/atoms/input/actionButton/ActionButton.tsx",
|
|
11653
11699
|
"../../core/components/atoms/input/actionButton/index.tsx",
|
|
@@ -12,3 +12,9 @@ export declare type NumberRange = [number, number];
|
|
|
12
12
|
export declare type ChangeEvent = React.ChangeEvent<HTMLInputElement>;
|
|
13
13
|
export declare type TextColor = 'white' | 'primary' | 'secondary' | 'success' | 'alert' | 'warning' | 'accent1' | 'accent2' | 'accent3' | 'accent4' | 'inverse' | 'primary-dark' | 'secondary-dark' | 'success-dark' | 'alert-dark' | 'warning-dark' | 'accent1-dark' | 'accent2-dark' | 'accent3-dark' | 'accent4-dark' | 'primary-darker' | 'success-darker' | 'alert-darker' | 'warning-darker' | 'accent1-darker' | 'accent2-darker' | 'accent3-darker' | 'accent4-darker' | 'primary-light' | 'secondary-light' | 'success-light' | 'alert-light' | 'warning-light' | 'accent1-light' | 'accent2-light' | 'accent3-light' | 'accent4-light' | 'inverse-light' | 'primary-lighter' | 'secondary-lighter' | 'success-lighter' | 'alert-lighter' | 'warning-lighter' | 'accent1-lighter' | 'accent2-lighter' | 'accent3-lighter' | 'accent4-lighter' | 'inverse-lighter' | 'primary-lightest' | 'secondary-lightest' | 'success-lightest' | 'alert-lightest' | 'warning-lightest' | 'accent1-lightest' | 'accent2-lightest' | 'accent3-lightest' | 'accent4-lightest' | 'inverse-lightest' | 'primary-shadow' | 'secondary-shadow' | 'success-shadow' | 'alert-shadow' | 'warning-shadow' | 'accent1-shadow' | 'accent2-shadow' | 'accent3-shadow' | 'accent4-shadow' | 'inverse-shadow';
|
|
14
14
|
export declare type AvatarSize = 'regular' | 'tiny';
|
|
15
|
+
export declare type FontVariationType = {
|
|
16
|
+
fill?: number;
|
|
17
|
+
weight?: number;
|
|
18
|
+
grade?: number;
|
|
19
|
+
opticalSize?: number;
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseHtmlProps, BaseProps } from "../../../utils/types";
|
|
3
|
+
export interface ActionCardProps extends BaseProps, BaseHtmlProps<HTMLDivElement> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
zIndex?: number;
|
|
7
|
+
onClick?: (e: React.MouseEvent<HTMLDivElement> | React.KeyboardEvent) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const ActionCard: {
|
|
10
|
+
(props: ActionCardProps): JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
export default ActionCard;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BaseProps, BaseHtmlProps } from "../../../utils/types";
|
|
3
|
+
import { FontVariationType } from "../../../common.type";
|
|
3
4
|
export declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
4
5
|
export declare type ButtonAppearance = 'basic' | 'primary' | 'success' | 'alert' | 'transparent';
|
|
5
6
|
export declare type ButtonSize = 'tiny' | 'regular' | 'large';
|
|
@@ -12,10 +13,11 @@ export interface ButtonProps extends BaseProps, BaseHtmlProps<HTMLButtonElement>
|
|
|
12
13
|
expanded?: boolean;
|
|
13
14
|
selected?: boolean;
|
|
14
15
|
loading?: boolean;
|
|
15
|
-
icon?: string;
|
|
16
16
|
tooltip?: string;
|
|
17
|
+
icon?: string;
|
|
17
18
|
iconAlign?: ButtonAlignment;
|
|
18
19
|
largeIcon?: boolean;
|
|
20
|
+
iconVariations?: FontVariationType;
|
|
19
21
|
children?: React.ReactText;
|
|
20
22
|
tabIndex?: number;
|
|
21
23
|
autoFocus?: boolean;
|
|
@@ -2,11 +2,18 @@ import * as React from 'react';
|
|
|
2
2
|
import { BaseProps } from "../../../utils/types";
|
|
3
3
|
export declare type IconAppearance = 'default' | 'destructive' | 'white' | 'subtle' | 'disabled' | 'info' | 'alert' | 'warning' | 'success' | 'primary_lighter' | 'primary' | 'primary_dark' | 'alert_lighter' | 'alert_dark' | 'warning_lighter' | 'warning_dark' | 'success_lighter' | 'success_dark' | 'accent1' | 'accent1_lighter' | 'accent1_dark' | 'accent2' | 'accent2_lighter' | 'accent2_dark' | 'accent3' | 'accent3_lighter' | 'accent3_dark' | 'accent4' | 'accent4_lighter' | 'accent4_dark' | 'inverse';
|
|
4
4
|
export declare type IconType = 'filled' | 'outlined' | 'outline' | 'rounded' | 'round' | 'two-tone' | 'sharp';
|
|
5
|
+
export declare type FontVariationType = {
|
|
6
|
+
fill?: number;
|
|
7
|
+
weight?: number;
|
|
8
|
+
grade?: number;
|
|
9
|
+
opticalSize?: number;
|
|
10
|
+
};
|
|
5
11
|
export interface IconProps extends BaseProps {
|
|
6
12
|
name?: string;
|
|
7
13
|
size: number;
|
|
8
14
|
type?: IconType;
|
|
9
15
|
appearance?: IconAppearance;
|
|
16
|
+
variations?: FontVariationType;
|
|
10
17
|
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
11
18
|
onKeyDown?: (e: React.KeyboardEvent<HTMLElement>) => void;
|
|
12
19
|
children?: React.ReactNode;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FontVariationType } from "./Icon";
|
|
2
|
+
export declare const getFontVariation: (iconName: string, variations?: FontVariationType | undefined, type?: string | undefined, size?: number | undefined) => {
|
|
3
|
+
fill: number;
|
|
4
|
+
weight: number;
|
|
5
|
+
grade: number;
|
|
6
|
+
opticalSize: number | undefined;
|
|
7
|
+
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BaseProps } from "../../../../utils/types";
|
|
3
|
-
|
|
3
|
+
import { FontVariationType } from "../../../../common.type";
|
|
4
|
+
export declare type ActionButtonType = 'outlined' | 'rounded';
|
|
4
5
|
export interface ActionButtonProps extends BaseProps {
|
|
5
6
|
name?: string;
|
|
6
7
|
size: number;
|
|
7
8
|
type?: ActionButtonType;
|
|
9
|
+
iconVariations?: FontVariationType;
|
|
8
10
|
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
9
11
|
onKeyDown?: (e: React.KeyboardEvent<HTMLElement>) => void;
|
|
10
12
|
children?: React.ReactNode;
|