@innovaccer/design-system 4.19.2 → 4.21.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 +136 -0
- package/css/dist/index.css +418 -236
- package/css/dist/index.css.map +1 -1
- package/css/src/ai-components/button.module.css +2 -2
- package/css/src/ai-components/chat.module.css +0 -13
- package/css/src/ai-components/chip.module.css +3 -2
- package/css/src/ai-components/iconButton.module.css +3 -4
- package/css/src/components/actionButton.module.css +1 -1
- package/css/src/components/actionCard.module.css +2 -3
- package/css/src/components/avatarGroup.module.css +1 -0
- package/css/src/components/avatarSelection.module.css +2 -1
- package/css/src/components/breadcrumbs.module.css +2 -1
- package/css/src/components/button.module.css +55 -35
- package/css/src/components/calendar.module.css +82 -28
- package/css/src/components/chatInput.module.css +1 -0
- package/css/src/components/checkbox.module.css +12 -15
- package/css/src/components/chip.module.css +32 -18
- package/css/src/components/collapsible.module.css +2 -2
- package/css/src/components/dropdown.module.css +1 -0
- package/css/src/components/horizontalNav.module.css +19 -7
- package/css/src/components/input.module.css +11 -9
- package/css/src/components/link.module.css +8 -15
- package/css/src/components/linkButton.module.css +4 -4
- package/css/src/components/listbox.module.css +8 -4
- package/css/src/components/metricInput.module.css +6 -4
- package/css/src/components/radio.module.css +16 -16
- package/css/src/components/segmentedControl.module.css +3 -3
- package/css/src/components/select.module.css +3 -10
- package/css/src/components/selectionCard.module.css +6 -4
- package/css/src/components/slider.module.css +20 -2
- package/css/src/components/spinner.module.css +3 -3
- package/css/src/components/stepper.module.css +7 -6
- package/css/src/components/switch.module.css +22 -2
- package/css/src/components/tabs.module.css +35 -10
- package/css/src/components/textarea.module.css +6 -5
- package/css/src/components/verticalNav.module.css +37 -7
- package/css/src/variables/index.css +3 -0
- package/dist/brotli/index.js +1 -1
- package/dist/brotli/index.js.br +0 -0
- package/dist/cjs/index.js +1 -1
- package/dist/core/accessibility/utils/useAccessibilityProps.d.ts +12 -4
- package/dist/core/components/atoms/_chip/index.d.ts +5 -1
- package/dist/core/components/atoms/avatar/Avatar.d.ts +1 -0
- package/dist/core/components/atoms/chip/Chip.d.ts +3 -0
- package/dist/core/components/atoms/dropdown/DropdownButton.d.ts +2 -0
- package/dist/core/components/atoms/dropdown/DropdownList.d.ts +1 -0
- package/dist/core/components/atoms/dropdown/option/index.d.ts +1 -0
- package/dist/core/components/atoms/icon/Icon.d.ts +1 -0
- package/dist/core/components/atoms/legend/Legend.d.ts +1 -1
- package/dist/core/components/atoms/multiSlider/Handle.d.ts +1 -1
- package/dist/core/components/atoms/multiSlider/SliderUtils.d.ts +1 -1
- package/dist/core/components/atoms/pills/Pills.d.ts +1 -0
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +1 -1
- package/dist/core/components/atoms/segmentedControl/SegmentedControlItem.d.ts +2 -0
- package/dist/core/components/atoms/spinner/Spinner.d.ts +2 -0
- package/dist/core/components/molecules/chipInput/ChipInput.d.ts +4 -0
- package/dist/core/components/molecules/fullscreenModal/FullscreenModal.d.ts +4 -0
- package/dist/core/components/molecules/modal/Modal.d.ts +8 -0
- package/dist/core/components/molecules/modal/ModalHeader.d.ts +1 -0
- package/dist/core/components/molecules/overlayFooter/OverlayFooter.d.ts +1 -0
- package/dist/core/components/molecules/overlayHeader/OverlayHeader.d.ts +1 -0
- package/dist/core/components/molecules/sidesheet/Sidesheet.d.ts +11 -0
- package/dist/core/components/molecules/stepper/Step.d.ts +3 -4
- package/dist/core/components/molecules/tabs/Tabs.d.ts +1 -0
- package/dist/core/components/organisms/calendar/Calendar.d.ts +2 -0
- package/dist/core/components/organisms/choiceList/ChoiceList.d.ts +7 -0
- package/dist/core/components/organisms/combobox/Combobox.d.ts +2 -0
- package/dist/core/components/organisms/combobox/trigger/ComboboxTrigger.d.ts +2 -0
- package/dist/core/components/organisms/combobox/trigger/MultiselectTrigger.d.ts +3 -0
- package/dist/core/components/organisms/datePicker/DatePicker.d.ts +2 -0
- package/dist/core/components/organisms/dateRangePicker/DateRangePicker.d.ts +2 -0
- package/dist/core/components/organisms/grid/Grid.d.ts +2 -0
- package/dist/core/components/organisms/horizontalNav/HorizontalNav.d.ts +3 -1
- package/dist/core/components/organisms/menu/Menu.d.ts +2 -0
- package/dist/core/components/organisms/menu/trigger/MenuTrigger.d.ts +1 -0
- package/dist/core/components/organisms/navigation/VerticalNavigation.d.ts +2 -0
- package/dist/core/components/organisms/pageHeader/PageHeader.d.ts +1 -0
- package/dist/core/components/organisms/select/SelectList.d.ts +1 -0
- package/dist/core/components/organisms/select/SelectOption.d.ts +1 -0
- package/dist/core/components/organisms/select/SelectTrigger.d.ts +1 -0
- package/dist/core/components/organisms/table/Table.d.ts +2 -0
- package/dist/core/components/organisms/timePicker/TimePicker.d.ts +1 -0
- package/dist/core/components/organisms/timePicker/TimePickerWithInput.d.ts +1 -0
- package/dist/core/components/organisms/timePicker/TimePickerWithSearch.d.ts +3 -0
- package/dist/core/components/organisms/verticalNav/MenuItem.d.ts +1 -0
- package/dist/core/components/organisms/verticalNav/utils.d.ts +20 -0
- package/dist/core/utils/Keys.d.ts +4 -0
- package/dist/core/utils/overlayHelper.d.ts +2 -0
- package/dist/esm/index.js +2049 -847
- package/dist/gzip/index.js +1 -1
- package/dist/gzip/index.js.gz +0 -0
- package/dist/index.js +1700 -521
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +418 -236
- package/dist/index.umd.js +1 -1
- package/dist/types/tsconfig.type.tsbuildinfo +163 -145
- package/package.json +1 -1
|
@@ -42,12 +42,14 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.Switch-input:focus ~ .Switch-wrapper {
|
|
45
|
-
|
|
45
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
46
|
+
outline-offset: var(--spacing-05);
|
|
46
47
|
background-color: var(--secondary-light);
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
.Switch-input:focus ~ .Switch-wrapper--checked {
|
|
50
|
-
|
|
51
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
52
|
+
outline-offset: var(--spacing-05);
|
|
51
53
|
background-color: var(--primary);
|
|
52
54
|
}
|
|
53
55
|
|
|
@@ -67,6 +69,14 @@
|
|
|
67
69
|
background-color: var(--primary-darker);
|
|
68
70
|
}
|
|
69
71
|
|
|
72
|
+
.Switch-input:active ~ .Switch-wrapper:before {
|
|
73
|
+
border-color: var(--inverse-light);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.Switch-input:active ~ .Switch-wrapper--checked:before {
|
|
77
|
+
border-color: transparent;
|
|
78
|
+
}
|
|
79
|
+
|
|
70
80
|
.Switch-wrapper--tiny {
|
|
71
81
|
border-radius: var(--border-radius-full);
|
|
72
82
|
}
|
|
@@ -88,6 +98,7 @@
|
|
|
88
98
|
border-radius: var(--border-radius-full);
|
|
89
99
|
box-sizing: border-box;
|
|
90
100
|
transition-duration: 80ms;
|
|
101
|
+
border: var(--border-width-2-5) solid var(--inverse-lighter);
|
|
91
102
|
}
|
|
92
103
|
|
|
93
104
|
.Switch-wrapper--checked {
|
|
@@ -102,6 +113,7 @@
|
|
|
102
113
|
-ms-transform: translateX(100%);
|
|
103
114
|
transform: translateX(100%);
|
|
104
115
|
transition-duration: 80ms;
|
|
116
|
+
border-color: transparent;
|
|
105
117
|
}
|
|
106
118
|
|
|
107
119
|
.Switch--disabled {
|
|
@@ -112,6 +124,14 @@
|
|
|
112
124
|
background-color: var(--secondary-lighter);
|
|
113
125
|
}
|
|
114
126
|
|
|
127
|
+
.Switch-wrapper--disabled:before {
|
|
128
|
+
border-color: var(--secondary-dark);
|
|
129
|
+
}
|
|
130
|
+
|
|
115
131
|
.Switch-wrapper--checkedDisabled {
|
|
116
132
|
background-color: var(--primary-lighter);
|
|
117
133
|
}
|
|
134
|
+
|
|
135
|
+
.Switch-wrapper--checkedDisabled:before {
|
|
136
|
+
border-color: transparent;
|
|
137
|
+
}
|
|
@@ -35,6 +35,22 @@
|
|
|
35
35
|
padding: var(--spacing-30) var(--spacing-30) var(--spacing-40);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
.Tab--withIconRegular {
|
|
39
|
+
padding-top: calc(var(--spacing-20) + var(--spacing-05));
|
|
40
|
+
padding-bottom: calc(var(--spacing-20) + var(--spacing-15));
|
|
41
|
+
padding-right: var(--spacing-15);
|
|
42
|
+
padding-left: calc(var(--spacing-40) + var(--spacing-05));
|
|
43
|
+
align-items: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.Tab--withIconSmall {
|
|
47
|
+
padding-top: var(--spacing-15);
|
|
48
|
+
padding-bottom: calc(var(--spacing-20) + var(--spacing-05));
|
|
49
|
+
padding-right: var(--spacing-15);
|
|
50
|
+
padding-left: calc(var(--spacing-40) + var(--spacing-05));
|
|
51
|
+
align-items: center;
|
|
52
|
+
}
|
|
53
|
+
|
|
38
54
|
.Tab:last-child {
|
|
39
55
|
margin-right: 0;
|
|
40
56
|
}
|
|
@@ -52,6 +68,10 @@
|
|
|
52
68
|
border-top-right-radius: var(--border-radius-2-5);
|
|
53
69
|
}
|
|
54
70
|
|
|
71
|
+
.Tab--withDismissIcon::after {
|
|
72
|
+
margin-left: calc(var(--spacing-40) + var(--spacing-05));
|
|
73
|
+
}
|
|
74
|
+
|
|
55
75
|
.Tab:hover::after {
|
|
56
76
|
background-color: var(--inverse-lighter);
|
|
57
77
|
}
|
|
@@ -65,10 +85,9 @@
|
|
|
65
85
|
}
|
|
66
86
|
|
|
67
87
|
.Tab:focus {
|
|
68
|
-
outline:
|
|
88
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
89
|
+
outline-offset: 0;
|
|
69
90
|
border-radius: var(--border-radius-10);
|
|
70
|
-
/* Using box shadow instead of border as border shifts the div down which cuts the Icon & Text of label. */
|
|
71
|
-
box-shadow: var(--shadow-spread) var(--primary-shadow);
|
|
72
91
|
}
|
|
73
92
|
|
|
74
93
|
.Tab--active:hover .Tab-selected {
|
|
@@ -80,7 +99,8 @@
|
|
|
80
99
|
}
|
|
81
100
|
|
|
82
101
|
.Tab:active:focus {
|
|
83
|
-
|
|
102
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
103
|
+
outline-offset: 0;
|
|
84
104
|
}
|
|
85
105
|
|
|
86
106
|
.Tab--disabled {
|
|
@@ -88,7 +108,7 @@
|
|
|
88
108
|
}
|
|
89
109
|
|
|
90
110
|
.Tab--disabled:focus {
|
|
91
|
-
|
|
111
|
+
outline: none;
|
|
92
112
|
}
|
|
93
113
|
|
|
94
114
|
.Tab--disabled:hover::after {
|
|
@@ -122,15 +142,20 @@
|
|
|
122
142
|
cursor: not-allowed;
|
|
123
143
|
}
|
|
124
144
|
|
|
125
|
-
.
|
|
126
|
-
padding: var(--spacing-
|
|
127
|
-
|
|
145
|
+
.DismissibleRegularTab-icon--right {
|
|
146
|
+
padding: var(--spacing-10);
|
|
147
|
+
outline: none;
|
|
148
|
+
border-radius: var(--border-radius-full);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.DismissibleSmallTab-icon--right {
|
|
152
|
+
padding: var(--spacing-15);
|
|
128
153
|
outline: none;
|
|
129
154
|
border-radius: var(--border-radius-full);
|
|
130
155
|
}
|
|
131
156
|
|
|
132
157
|
.DismissibleTab-icon--default:focus-visible {
|
|
133
|
-
outline: var(--spacing-05) solid var(--
|
|
158
|
+
outline: var(--spacing-05) solid var(--primary-focus);
|
|
134
159
|
}
|
|
135
160
|
|
|
136
161
|
.DismissibleTab-icon--default:hover {
|
|
@@ -142,7 +167,7 @@
|
|
|
142
167
|
}
|
|
143
168
|
|
|
144
169
|
.DismissibleTab-icon--selected:focus-visible {
|
|
145
|
-
outline: var(--spacing-05) solid var(--primary-
|
|
170
|
+
outline: var(--spacing-05) solid var(--primary-focus);
|
|
146
171
|
}
|
|
147
172
|
|
|
148
173
|
.DismissibleTab-icon--selected:hover {
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.Textarea:focus-within {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
border-color: var(--secondary);
|
|
30
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
31
|
+
outline-offset: var(--spacing-2-5);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.Textarea:disabled {
|
|
@@ -48,8 +48,9 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.Textarea--error:focus-within {
|
|
51
|
-
border: var(--
|
|
52
|
-
|
|
51
|
+
border-color: var(--alert);
|
|
52
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
53
|
+
outline-offset: var(--spacing-2-5);
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
.Textarea--resize {
|
|
@@ -75,25 +75,55 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.MenuItem:focus {
|
|
78
|
-
|
|
79
|
-
outline:
|
|
78
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
79
|
+
outline-offset: var(--spacing-05);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.MenuItem--expanded:focus {
|
|
83
|
+
clip-path: inset(-6px -6px -6px 0);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.MenuItem--expandedRounded:focus {
|
|
87
|
+
clip-path: inset(-6px);
|
|
80
88
|
}
|
|
81
89
|
|
|
82
90
|
.MenuItem--disabled:focus {
|
|
83
|
-
|
|
91
|
+
outline: none;
|
|
84
92
|
}
|
|
85
93
|
|
|
86
94
|
.MenuItem--active {
|
|
87
|
-
background: var(--primary-
|
|
95
|
+
background: var(--primary-ultra-light);
|
|
96
|
+
box-shadow: inset 0 0 0 var(--border-width-2-5) var(--primary);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.MenuItem--activeExpanded {
|
|
100
|
+
box-shadow: inset 0 var(--border-width-2-5) 0 0 var(--primary),
|
|
101
|
+
inset calc(-1 * var(--border-width-2-5)) 0 0 0 var(--primary),
|
|
102
|
+
inset 0 calc(-1 * var(--border-width-2-5)) 0 0 var(--primary);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.MenuItem--activeExpandedRounded {
|
|
106
|
+
box-shadow: inset 0 0 0 var(--border-width-2-5) var(--primary);
|
|
88
107
|
}
|
|
89
108
|
|
|
90
109
|
.MenuItem--active:hover {
|
|
91
|
-
background: var(--primary-
|
|
110
|
+
background: var(--primary-lightest);
|
|
92
111
|
}
|
|
93
112
|
|
|
94
113
|
.MenuItem--active:active {
|
|
95
114
|
background: var(--primary-lighter);
|
|
96
115
|
color: var(--primary-darker);
|
|
116
|
+
box-shadow: inset 0 0 0 var(--border-width-2-5) var(--primary-dark);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.MenuItem--activeExpanded:active {
|
|
120
|
+
box-shadow: inset 0 var(--border-width-2-5) 0 0 var(--primary-dark),
|
|
121
|
+
inset calc(-1 * var(--border-width-2-5)) 0 0 0 var(--primary-dark),
|
|
122
|
+
inset 0 calc(-1 * var(--border-width-2-5)) 0 0 var(--primary-dark);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.MenuItem--activeExpandedRounded:active {
|
|
126
|
+
box-shadow: inset 0 0 0 var(--border-width-2-5) var(--primary-dark);
|
|
97
127
|
}
|
|
98
128
|
|
|
99
129
|
.MenuItem--active:active .MenuItem-Text {
|
|
@@ -101,8 +131,8 @@
|
|
|
101
131
|
}
|
|
102
132
|
|
|
103
133
|
.MenuItem--active:focus {
|
|
104
|
-
|
|
105
|
-
outline:
|
|
134
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
135
|
+
outline-offset: var(--spacing-05);
|
|
106
136
|
}
|
|
107
137
|
|
|
108
138
|
.MenuItem--rounded {
|