@innovaccer/design-system 2.21.0 → 2.23.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 +83 -0
- package/css/dist/MaterialSymbolsRounded.woff2 +0 -0
- package/css/dist/index.css +108 -21
- package/css/dist/index.css.map +1 -1
- package/css/gulpfile.js +1 -1
- package/css/material-design-icons/iconfont/MaterialSymbolsRounded.woff2 +0 -0
- package/css/material-design-icons/iconfont/material-icons.css +9 -15
- package/css/src/components/pageHeader.css +7 -6
- package/css/src/components/selectionCard.css +91 -0
- package/dist/.lib/tsconfig.type.tsbuildinfo +157 -66
- package/dist/core/common.type.d.ts +1 -6
- package/dist/core/components/atoms/_chip/index.d.ts +2 -2
- package/dist/core/components/atoms/button/Button.d.ts +2 -2
- package/dist/core/components/atoms/chip/Chip.d.ts +2 -2
- package/dist/core/components/atoms/dropdown/Dropdown.d.ts +3 -0
- package/dist/core/components/atoms/dropdown/DropdownButton.d.ts +2 -2
- package/dist/core/components/atoms/dropdown/DropdownList.d.ts +8 -0
- package/dist/core/components/atoms/dropdown/ErrorTemplate.d.ts +9 -0
- package/dist/core/components/atoms/dropdown/option/index.d.ts +2 -2
- package/dist/core/components/atoms/icon/Icon.d.ts +0 -8
- package/dist/core/components/atoms/input/Input.d.ts +2 -2
- package/dist/core/components/atoms/input/actionButton/ActionButton.d.ts +2 -2
- package/dist/core/components/atoms/linkButton/LinkButton.d.ts +2 -2
- package/dist/core/components/atoms/metaList/Meta.d.ts +2 -2
- package/dist/core/components/atoms/metricInput/MetricInput.d.ts +2 -2
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +15 -15
- package/dist/core/components/atoms/selectionCard/SelectionCard.d.ts +23 -0
- package/dist/core/components/atoms/selectionCard/hooks/index.d.ts +2 -0
- package/dist/core/components/atoms/selectionCard/hooks/useMultiSelect.d.ts +6 -0
- package/dist/core/components/atoms/selectionCard/hooks/useSingleSelect.d.ts +6 -0
- package/dist/core/components/atoms/selectionCard/index.d.ts +2 -0
- package/dist/core/components/molecules/chipInput/ChipInput.d.ts +1 -1
- package/dist/core/components/molecules/tabs/Tabs.d.ts +2 -2
- package/dist/core/components/organisms/pageHeader/PageHeader.d.ts +1 -0
- package/dist/core/components/organisms/pageHeader/utils.d.ts +32 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.type.d.ts +1 -0
- package/dist/core/utils/navigationHelper.d.ts +2 -2
- package/dist/index.esm.js +535 -301
- package/dist/index.js +434 -224
- 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/MaterialSymbolsOutlined.ttf +0 -0
- package/css/dist/MaterialSymbolsRounded.ttf +0 -0
- package/css/material-design-icons/iconfont/MaterialSymbolsOutlined.ttf +0 -0
- package/css/material-design-icons/iconfont/MaterialSymbolsRounded.ttf +0 -0
- package/dist/core/components/atoms/icon/utils.d.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,86 @@
|
|
|
1
|
+
## 2.23.0 (2023-10-17)
|
|
2
|
+
|
|
3
|
+
### Highlights
|
|
4
|
+
|
|
5
|
+
- feat(pageheader): add back button option and optimize spacing (cddc4250)
|
|
6
|
+
- fix(icon): update mapping for outlined icon (f979c415)
|
|
7
|
+
|
|
8
|
+
### Breaking changes
|
|
9
|
+
|
|
10
|
+
NA
|
|
11
|
+
|
|
12
|
+
### Migration guide
|
|
13
|
+
|
|
14
|
+
NA
|
|
15
|
+
|
|
16
|
+
### Deprecations
|
|
17
|
+
|
|
18
|
+
NA
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
- feat(pageheader): add back button option and optimize spacing (cddc4250)
|
|
23
|
+
|
|
24
|
+
### Fixes
|
|
25
|
+
|
|
26
|
+
- fix(icon): update mapping for outlined icon (f979c415)
|
|
27
|
+
- fix(dropdown): update error state for async dropdown (ebee4c37)
|
|
28
|
+
|
|
29
|
+
### Improvements
|
|
30
|
+
|
|
31
|
+
NA
|
|
32
|
+
|
|
33
|
+
### Documentation
|
|
34
|
+
|
|
35
|
+
- docs(docs): update interactions in foundations tab (b5d68681)
|
|
36
|
+
- docs(docs): add email preview image in overview page (e6aa3903)
|
|
37
|
+
- docs(dropdown): add error and empty states guidelines (23921525)
|
|
38
|
+
- docs(docs): add documentation for interactive cards (807e63d9)
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## 2.22.0 (2023-09-28)
|
|
43
|
+
|
|
44
|
+
### Highlights
|
|
45
|
+
|
|
46
|
+
- feat(card): add selection card component (c88947a8)
|
|
47
|
+
- feat(Icon): migration to material symbols from material icons (55ea8882)
|
|
48
|
+
- feat: add iconType prop in components to switch between icon types (16c567a1)
|
|
49
|
+
- feat(dropdown): add error and empty state template in dropdown component (3f84aa6b)
|
|
50
|
+
|
|
51
|
+
### Breaking changes
|
|
52
|
+
|
|
53
|
+
NA
|
|
54
|
+
|
|
55
|
+
### Migration guide
|
|
56
|
+
|
|
57
|
+
NA
|
|
58
|
+
|
|
59
|
+
### Deprecations
|
|
60
|
+
|
|
61
|
+
NA
|
|
62
|
+
|
|
63
|
+
### Features
|
|
64
|
+
|
|
65
|
+
- feat(card): add selection card component (c88947a8)
|
|
66
|
+
- feat(Icon): migration to material symbols from material icons (55ea8882)
|
|
67
|
+
- feat: add iconType prop in components to switch between icon types (16c567a1)
|
|
68
|
+
- feat(dropdown): add error and empty state template in dropdown component (3f84aa6b)
|
|
69
|
+
|
|
70
|
+
### Fixes
|
|
71
|
+
|
|
72
|
+
NA
|
|
73
|
+
|
|
74
|
+
### Improvements
|
|
75
|
+
|
|
76
|
+
- feat(table): add story for column sorting for number type values (3dc74351)
|
|
77
|
+
|
|
78
|
+
### Documentation
|
|
79
|
+
|
|
80
|
+
NA
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
1
84
|
## 2.21.0 (2023-09-18)
|
|
2
85
|
|
|
3
86
|
### Highlights
|
|
Binary file
|
package/css/dist/index.css
CHANGED
|
@@ -274,23 +274,19 @@
|
|
|
274
274
|
--duration--slow-02: 720ms;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
|
|
278
|
-
font-family: 'Material Symbols Outlined';
|
|
279
|
-
font-style: normal;
|
|
280
|
-
src: url(MaterialSymbolsOutlined.ttf);
|
|
281
|
-
}
|
|
282
|
-
|
|
277
|
+
/* fallback */
|
|
283
278
|
@font-face {
|
|
284
279
|
font-family: 'Material Symbols Rounded';
|
|
285
280
|
font-style: normal;
|
|
286
|
-
|
|
281
|
+
font-weight: 300;
|
|
282
|
+
src: url(MaterialSymbolsRounded.woff2) format('woff2');
|
|
287
283
|
}
|
|
288
284
|
|
|
289
285
|
.material-icons {
|
|
290
|
-
font-family: 'Material
|
|
286
|
+
font-family: 'Material Symbols Rounded';
|
|
291
287
|
font-weight: normal;
|
|
292
288
|
font-style: normal;
|
|
293
|
-
font-size:
|
|
289
|
+
font-size: 24px;
|
|
294
290
|
line-height: 1;
|
|
295
291
|
letter-spacing: normal;
|
|
296
292
|
text-transform: none;
|
|
@@ -302,14 +298,12 @@
|
|
|
302
298
|
-webkit-font-smoothing: antialiased;
|
|
303
299
|
}
|
|
304
300
|
|
|
305
|
-
.material-icons-
|
|
306
|
-
font-
|
|
307
|
-
font-size: 24px; /* Preferred icon size */
|
|
301
|
+
.material-icons-rounded {
|
|
302
|
+
font-variation-settings: "FILL" 1, "wght" 300, "GRAD" 0, "opsz" 24;
|
|
308
303
|
}
|
|
309
304
|
|
|
310
|
-
.material-icons-
|
|
311
|
-
font-
|
|
312
|
-
font-size: 24px; /* Preferred icon size */
|
|
305
|
+
.material-icons-outlined {
|
|
306
|
+
font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
|
|
313
307
|
}
|
|
314
308
|
|
|
315
309
|
@-webkit-keyframes fadeIn {
|
|
@@ -5072,12 +5066,12 @@ body {
|
|
|
5072
5066
|
padding-right: var(--spacing-xl);
|
|
5073
5067
|
}
|
|
5074
5068
|
|
|
5075
|
-
.PageHeader
|
|
5076
|
-
|
|
5069
|
+
.PageHeader {
|
|
5070
|
+
width: 100%;
|
|
5077
5071
|
}
|
|
5078
5072
|
|
|
5079
|
-
.PageHeader-wrapper
|
|
5080
|
-
|
|
5073
|
+
.PageHeader-wrapper {
|
|
5074
|
+
padding: var(--spacing) var(--spacing-2) var(--spacing) 0;
|
|
5081
5075
|
}
|
|
5082
5076
|
|
|
5083
5077
|
.PageHeader-wrapper--withTabs {
|
|
@@ -5110,12 +5104,12 @@ body {
|
|
|
5110
5104
|
align-items: center;
|
|
5111
5105
|
}
|
|
5112
5106
|
|
|
5113
|
-
.PageHeader-statusWrapper .
|
|
5107
|
+
.PageHeader-statusWrapper .StatusHint {
|
|
5114
5108
|
margin-right: var(--spacing);
|
|
5115
5109
|
}
|
|
5116
5110
|
|
|
5117
5111
|
.PageHeader-navigationWrapper {
|
|
5118
|
-
margin-top: var(--spacing-
|
|
5112
|
+
margin-top: var(--spacing-m);
|
|
5119
5113
|
}
|
|
5120
5114
|
|
|
5121
5115
|
.PageHeader .PageHeader-navigationWrapper {
|
|
@@ -5124,6 +5118,7 @@ body {
|
|
|
5124
5118
|
margin-top: 0 !important;
|
|
5125
5119
|
padding-right: var(--spacing);
|
|
5126
5120
|
padding-left: var(--spacing);
|
|
5121
|
+
display: flex;
|
|
5127
5122
|
}
|
|
5128
5123
|
|
|
5129
5124
|
.PageHeader-title {
|
|
@@ -5684,6 +5679,98 @@ body {
|
|
|
5684
5679
|
box-shadow: none;
|
|
5685
5680
|
}
|
|
5686
5681
|
|
|
5682
|
+
.Selection-card {
|
|
5683
|
+
cursor: pointer;
|
|
5684
|
+
border-radius: var(--spacing-m);
|
|
5685
|
+
position: relative;
|
|
5686
|
+
box-shadow: inset 0 0 0 var(--spacing-xs) var(--secondary-dark);
|
|
5687
|
+
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
5688
|
+
}
|
|
5689
|
+
|
|
5690
|
+
.Selection-card:hover {
|
|
5691
|
+
box-shadow: inset 0 0 0 var(--spacing-s) var(--inverse-lightest);
|
|
5692
|
+
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
5693
|
+
}
|
|
5694
|
+
|
|
5695
|
+
.Selection-card:focus,
|
|
5696
|
+
.Selection-card:focus-visible {
|
|
5697
|
+
outline: none;
|
|
5698
|
+
box-shadow: var(--shadow-spread) var(--secondary-shadow), inset 0 0 0 var(--spacing-xs) var(--secondary-light);
|
|
5699
|
+
}
|
|
5700
|
+
|
|
5701
|
+
.Selection-card:active {
|
|
5702
|
+
box-shadow: inset 0 0 0 var(--spacing-s) var(--primary);
|
|
5703
|
+
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
5704
|
+
}
|
|
5705
|
+
|
|
5706
|
+
.Selection-card--disabled {
|
|
5707
|
+
pointer-events: none;
|
|
5708
|
+
box-shadow: inset 0 0 0 var(--spacing-xs) var(--secondary-lighter);
|
|
5709
|
+
}
|
|
5710
|
+
|
|
5711
|
+
/* selected states */
|
|
5712
|
+
|
|
5713
|
+
.Selection-card--selected {
|
|
5714
|
+
box-shadow: inset 0 0 0 var(--spacing-s) var(--primary);
|
|
5715
|
+
}
|
|
5716
|
+
|
|
5717
|
+
.Selection-card--selected:hover {
|
|
5718
|
+
box-shadow: inset 0 0 0 var(--spacing-s) var(--primary-dark);
|
|
5719
|
+
}
|
|
5720
|
+
|
|
5721
|
+
.Selection-card--selected:focus,
|
|
5722
|
+
.Selection-card--selected:focus-visible {
|
|
5723
|
+
outline: none;
|
|
5724
|
+
box-shadow: var(--shadow-spread) var(--primary-shadow), inset 0 0 0 var(--spacing-s) var(--primary);
|
|
5725
|
+
}
|
|
5726
|
+
|
|
5727
|
+
.Selection-card--selected:active {
|
|
5728
|
+
box-shadow: inset 0 0 0 var(--spacing-s) var(--primary-darker);
|
|
5729
|
+
}
|
|
5730
|
+
|
|
5731
|
+
.Selection-card--selected-disabled {
|
|
5732
|
+
pointer-events: none;
|
|
5733
|
+
box-shadow: inset 0 0 0 var(--spacing-xs) var(--primary-lighter);
|
|
5734
|
+
}
|
|
5735
|
+
|
|
5736
|
+
/* overlay classes */
|
|
5737
|
+
|
|
5738
|
+
.Selection-card-overlay {
|
|
5739
|
+
top: 0;
|
|
5740
|
+
right: 0;
|
|
5741
|
+
bottom: 0;
|
|
5742
|
+
left: 0;
|
|
5743
|
+
z-index: 2;
|
|
5744
|
+
position: absolute;
|
|
5745
|
+
pointer-events: none;
|
|
5746
|
+
border-radius: var(--spacing-m);
|
|
5747
|
+
}
|
|
5748
|
+
|
|
5749
|
+
.Selection-card:active .Selection-card-overlay {
|
|
5750
|
+
background-color: var(--primary);
|
|
5751
|
+
opacity: 10%;
|
|
5752
|
+
}
|
|
5753
|
+
|
|
5754
|
+
.Selection-card--disabled .Selection-card-overlay {
|
|
5755
|
+
background-color: var(--secondary-lightest);
|
|
5756
|
+
opacity: 50%;
|
|
5757
|
+
}
|
|
5758
|
+
|
|
5759
|
+
.Selection-card--selected .Selection-card-overlay {
|
|
5760
|
+
background-color: var(--primary);
|
|
5761
|
+
opacity: 4%;
|
|
5762
|
+
}
|
|
5763
|
+
|
|
5764
|
+
.Selection-card--selected:active .Selection-card-overlay {
|
|
5765
|
+
background-color: var(--primary);
|
|
5766
|
+
opacity: 4%;
|
|
5767
|
+
}
|
|
5768
|
+
|
|
5769
|
+
.Selection-card--selected-disabled .Selection-card-overlay {
|
|
5770
|
+
background-color: var(--primary-lightest);
|
|
5771
|
+
opacity: 50%;
|
|
5772
|
+
}
|
|
5773
|
+
|
|
5687
5774
|
@-webkit-keyframes sidesheet-open {
|
|
5688
5775
|
from {
|
|
5689
5776
|
right: -100%;
|