@innovaccer/design-system 4.22.0 → 4.24.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 +157 -0
- package/README.md +35 -27
- package/css/dist/index.css +1570 -434
- package/css/dist/index.css.map +1 -1
- package/css/src/ai-components/button.module.css +4 -24
- package/css/src/ai-components/chip.module.css +12 -30
- package/css/src/ai-components/iconButton.module.css +2 -12
- package/css/src/components/avatarGroup.module.css +7 -0
- package/css/src/components/avatarSelection.module.css +22 -0
- package/css/src/components/badge.module.css +3 -3
- package/css/src/components/button.module.css +196 -27
- package/css/src/components/calendar.module.css +61 -20
- package/css/src/components/card.module.css +14 -0
- package/css/src/components/chatBubble.module.css +6 -1
- package/css/src/components/chatInput.module.css +14 -3
- package/css/src/components/chip.module.css +39 -4
- package/css/src/components/chipInput.module.css +19 -17
- package/css/src/components/dropdown.module.css +50 -14
- package/css/src/components/dropdownButton.module.css +5 -3
- package/css/src/components/dropzone.module.css +36 -0
- package/css/src/components/editableChipInput.module.css +48 -1
- package/css/src/components/editableDropdown.module.css +53 -0
- package/css/src/components/editableInput.module.css +31 -0
- package/css/src/components/grid.module.css +33 -13
- package/css/src/components/horizontalNav.module.css +16 -1
- package/css/src/components/input.module.css +0 -1
- package/css/src/components/label.module.css +12 -0
- package/css/src/components/link.module.css +69 -6
- package/css/src/components/linkButton.module.css +82 -10
- package/css/src/components/listbox.module.css +110 -6
- package/css/src/components/metricInput.module.css +89 -35
- package/css/src/components/modal.module.css +16 -0
- package/css/src/components/navigation.module.css +16 -0
- package/css/src/components/segmentedControl.module.css +1 -1
- package/css/src/components/select.module.css +11 -3
- package/css/src/components/selectionCard.module.css +38 -0
- package/css/src/components/sidesheet.module.css +16 -0
- package/css/src/components/slider.module.css +21 -0
- package/css/src/components/switch.module.css +39 -0
- package/css/src/components/table.module.css +32 -1
- package/css/src/components/tabs.module.css +20 -0
- package/css/src/components/timePicker.module.css +4 -0
- package/css/src/components/toast.module.css +19 -0
- package/css/src/components/tooltip.module.css +1 -0
- package/css/src/components/verticalNav.module.css +13 -5
- package/css/src/core/utilities.css +0 -23
- package/css/src/tokens/index.css +156 -156
- package/css/src/utils/utility.css +4 -0
- package/css/src/variables/index.css +116 -1
- 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 +99 -16
- package/dist/core/components/atoms/_chip/index.d.ts +2 -0
- package/dist/core/components/atoms/_text/index.d.ts +2 -1
- package/dist/core/components/atoms/caption/Caption.d.ts +2 -2
- package/dist/core/components/atoms/chip/Chip.d.ts +2 -0
- package/dist/core/components/atoms/divider/Divider.d.ts +1 -0
- package/dist/core/components/atoms/dropdown/DropdownList.d.ts +2 -1
- package/dist/core/components/atoms/dropdown/option/index.d.ts +13 -4
- package/dist/core/components/atoms/helpText/HelpText.d.ts +1 -0
- package/dist/core/components/atoms/icon/Icon.d.ts +2 -3
- package/dist/core/components/atoms/link/Link.d.ts +4 -2
- package/dist/core/components/atoms/linkButton/LinkButton.d.ts +2 -1
- package/dist/core/components/atoms/message/Message.d.ts +1 -0
- package/dist/core/components/atoms/multiSlider/Handle.d.ts +1 -0
- package/dist/core/components/atoms/multiSlider/index.d.ts +2 -0
- package/dist/core/components/atoms/outsideClick/OutsideClick.d.ts +1 -0
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +51 -50
- package/dist/core/components/atoms/progressBar/ProgressBar.d.ts +3 -0
- package/dist/core/components/atoms/progressRing/ProgressRing.d.ts +3 -0
- package/dist/core/components/atoms/segmentedControl/SegmentedControl.d.ts +2 -0
- package/dist/core/components/atoms/spinner/Spinner.d.ts +1 -0
- package/dist/core/components/atoms/statusHint/StatusHint.d.ts +2 -2
- package/dist/core/components/atoms/toast/Toast.d.ts +3 -0
- package/dist/core/components/molecules/chat/Chat.d.ts +3 -0
- package/dist/core/components/molecules/chat/chatBubble/IncomingBubble.d.ts +1 -0
- package/dist/core/components/molecules/chat/chatBubble/OutgoingBubble.d.ts +1 -0
- package/dist/core/components/molecules/chat/chatInput/ChatInput.d.ts +1 -0
- package/dist/core/components/molecules/chat/unreadMessage/UnreadMessage.d.ts +3 -0
- package/dist/core/components/molecules/chipInput/ChipInput.d.ts +1 -1
- package/dist/core/components/molecules/chipInput/utils.d.ts +2 -0
- package/dist/core/components/molecules/dropzone/Dropzone.d.ts +1 -0
- package/dist/core/components/molecules/editableInput/EditableInput.d.ts +4 -0
- package/dist/core/components/molecules/fileUploader/FileUploaderButton.d.ts +2 -0
- package/dist/core/components/molecules/inputMask/InputMask.d.ts +1 -0
- package/dist/core/components/molecules/modal/Modal.d.ts +1 -0
- package/dist/core/components/molecules/popover/Popover.d.ts +1 -0
- package/dist/core/components/molecules/sidesheet/Sidesheet.d.ts +2 -1
- package/dist/core/components/molecules/stepper/Step.d.ts +1 -0
- package/dist/core/components/organisms/calendar/Calendar.d.ts +4 -3
- package/dist/core/components/organisms/calendar/utils.d.ts +6 -5
- package/dist/core/components/organisms/combobox/Combobox.d.ts +2 -0
- package/dist/core/components/organisms/combobox/ComboboxList.d.ts +1 -0
- package/dist/core/components/organisms/combobox/trigger/ComboboxTrigger.d.ts +2 -0
- package/dist/core/components/organisms/combobox/trigger/MultiselectTrigger.d.ts +1 -0
- package/dist/core/components/organisms/grid/Grid.d.ts +1 -0
- package/dist/core/components/organisms/grid/GridContext.d.ts +1 -0
- package/dist/core/components/organisms/grid/VirtualList.d.ts +1 -0
- package/dist/core/components/organisms/inlineMessage/InlineMessage.d.ts +3 -2
- package/dist/core/components/organisms/listbox/Listbox.d.ts +9 -1
- package/dist/core/components/organisms/listbox/listboxItem/ListBody.d.ts +1 -1
- package/dist/core/components/organisms/listbox/listboxItem/ListboxItem.d.ts +2 -0
- package/dist/core/components/organisms/listbox/nestedList/NestedList.d.ts +2 -0
- package/dist/core/components/organisms/listbox/reorderList/Draggable.d.ts +12 -0
- package/dist/core/components/organisms/listbox/reorderList/DraggableList.d.ts +2 -2
- package/dist/core/components/organisms/listbox/reorderList/types.d.ts +2 -0
- package/dist/core/components/organisms/listbox/utils.d.ts +3 -0
- package/dist/core/components/organisms/menu/MenuContext.d.ts +1 -0
- package/dist/core/components/organisms/menu/SubMenuContext.d.ts +1 -0
- package/dist/core/components/organisms/select/Select.d.ts +4 -1
- package/dist/core/components/organisms/select/SelectContext.d.ts +3 -1
- package/dist/core/components/organisms/select/SelectOption.d.ts +1 -0
- package/dist/core/components/organisms/select/SelectTrigger.d.ts +4 -0
- package/dist/core/components/organisms/select/utils.d.ts +7 -2
- package/dist/core/components/organisms/textField/TextFieldCommon.d.ts +1 -0
- package/dist/core/components/organisms/verticalNav/VerticalNav.d.ts +2 -0
- package/dist/core/utils/overlayHelper.d.ts +3 -2
- package/dist/esm/index.js +4343 -1784
- package/dist/gzip/index.js +1 -1
- package/dist/gzip/index.js.gz +0 -0
- package/dist/index.js +4139 -1734
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +1558 -422
- package/dist/index.umd.js +1 -1
- package/dist/scripts/setupTest.d.ts +1 -0
- package/dist/types/tsconfig.type.tsbuildinfo +399 -243
- package/package.json +8 -13
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
height: var(--spacing-10);
|
|
10
10
|
border-radius: var(--border-radius-full);
|
|
11
11
|
margin: 0 var(--spacing-20);
|
|
12
|
-
background: var(--inverse-
|
|
12
|
+
background: var(--inverse-lighter);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.ChatBubble-box--noSuccess {
|
|
@@ -51,3 +51,8 @@
|
|
|
51
51
|
.ChatBubble-actionBarWrapper {
|
|
52
52
|
flex: 0 0 auto;
|
|
53
53
|
}
|
|
54
|
+
|
|
55
|
+
.ChatBubble-actionBarWrapper--hidden {
|
|
56
|
+
width: 0;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
}
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
5
|
-
border: var(--border-width-2-5) solid var(--secondary);
|
|
5
|
+
border: var(--border-width-2-5) solid var(--secondary-dark);
|
|
6
6
|
padding: var(--spacing-20);
|
|
7
7
|
border-radius: var(--border-radius-10);
|
|
8
8
|
background: var(--white);
|
|
9
9
|
max-width: 100%;
|
|
10
10
|
min-width: var(--spacing-640);
|
|
11
|
-
transition:
|
|
11
|
+
transition: background-color var(--duration--slow-01) var(--standard-productive-curve),
|
|
12
|
+
border-color var(--duration--slow-01) var(--standard-productive-curve),
|
|
13
|
+
outline var(--duration--slow-01) var(--standard-productive-curve);
|
|
12
14
|
max-height: var(--spacing-440);
|
|
13
15
|
position: relative;
|
|
14
16
|
box-sizing: border-box;
|
|
@@ -70,7 +72,8 @@
|
|
|
70
72
|
.ChatInput-actions {
|
|
71
73
|
display: flex;
|
|
72
74
|
flex-shrink: 0;
|
|
73
|
-
transition:
|
|
75
|
+
transition: margin var(--duration--slow-01) var(--standard-productive-curve),
|
|
76
|
+
width var(--duration--slow-01) var(--standard-productive-curve);
|
|
74
77
|
margin-left: var(--spacing-20);
|
|
75
78
|
align-items: center;
|
|
76
79
|
}
|
|
@@ -81,3 +84,11 @@
|
|
|
81
84
|
margin-top: var(--spacing-20);
|
|
82
85
|
margin-left: 0;
|
|
83
86
|
}
|
|
87
|
+
|
|
88
|
+
@media (prefers-reduced-motion: reduce) {
|
|
89
|
+
.ChatInput,
|
|
90
|
+
.ChatInput-actions,
|
|
91
|
+
.ChatInput-textarea {
|
|
92
|
+
transition: none;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -160,8 +160,7 @@
|
|
|
160
160
|
background: var(--secondary);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.Chip--input:focus-visible
|
|
164
|
-
.Chip--input:focus {
|
|
163
|
+
.Chip--input:focus-visible {
|
|
165
164
|
outline: var(--border-width-05) solid var(--primary-focus);
|
|
166
165
|
outline-offset: var(--spacing-05);
|
|
167
166
|
}
|
|
@@ -178,7 +177,8 @@
|
|
|
178
177
|
}
|
|
179
178
|
|
|
180
179
|
.Chip-icon--right:focus-visible {
|
|
181
|
-
outline: var(--
|
|
180
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
181
|
+
outline-offset: var(--spacing-05);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
.Chip-icon--right:hover {
|
|
@@ -198,7 +198,8 @@
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
.Chip-icon--selected:focus-visible {
|
|
201
|
-
outline: var(--
|
|
201
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
202
|
+
outline-offset: var(--spacing-05);
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
.Chip-icon--selected:hover {
|
|
@@ -219,3 +220,37 @@
|
|
|
219
220
|
.Chip-icon--clear {
|
|
220
221
|
padding-right: 0;
|
|
221
222
|
}
|
|
223
|
+
|
|
224
|
+
@media (forced-colors: active) {
|
|
225
|
+
/* Action chips: border:0 makes them invisible — add a real border */
|
|
226
|
+
.Chip--action {
|
|
227
|
+
border: var(--border-width-2-5) solid ButtonText;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/* Input chips: border:0 makes them invisible — add a real border */
|
|
231
|
+
.Chip--input {
|
|
232
|
+
border: var(--border-width-2-5) solid ButtonText;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/* Selected state uses inset box-shadow as a double border on top of the existing border-color */
|
|
236
|
+
.Chip-selection--selected,
|
|
237
|
+
.Chip-selection--selected:hover,
|
|
238
|
+
.Chip-selection--selected:active,
|
|
239
|
+
.Chip-selection--selectedDisabled {
|
|
240
|
+
border-color: Highlight;
|
|
241
|
+
box-shadow: none;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.Chip-action--disabled,
|
|
245
|
+
.Chip-input--disabled {
|
|
246
|
+
opacity: 1;
|
|
247
|
+
color: GrayText;
|
|
248
|
+
border: var(--border-width-2-5) solid GrayText;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.Chip-selection--disabled {
|
|
252
|
+
opacity: 1;
|
|
253
|
+
color: GrayText;
|
|
254
|
+
border-color: GrayText;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.ChipInput {
|
|
2
2
|
display: flex;
|
|
3
|
+
box-sizing: border-box;
|
|
3
4
|
border-radius: var(--border-radius-10);
|
|
4
5
|
box-shadow: inset 0 0 0 var(--spacing-2-5) var(--secondary);
|
|
5
6
|
background: var(--white);
|
|
@@ -9,23 +10,19 @@
|
|
|
9
10
|
|
|
10
11
|
.ChipInput--regular {
|
|
11
12
|
padding-left: 10px;
|
|
12
|
-
padding-right:
|
|
13
|
+
padding-right: var(--spacing-15);
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
.ChipInput--small {
|
|
17
|
+
align-items: center;
|
|
18
|
+
min-height: var(--spacing-60);
|
|
16
19
|
padding-left: var(--spacing-20);
|
|
17
|
-
padding-right: var(--spacing-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.ChipInput:focus,
|
|
21
|
-
.ChipInput:focus-visible {
|
|
22
|
-
outline: var(--border-width-05) solid var(--primary-focus);
|
|
23
|
-
outline-offset: var(--spacing-05);
|
|
20
|
+
padding-right: var(--spacing-10);
|
|
24
21
|
}
|
|
25
22
|
|
|
26
23
|
.ChipInput:hover {
|
|
27
24
|
background: var(--secondary-lighter);
|
|
28
|
-
|
|
25
|
+
box-shadow: inset 0 0 0 var(--spacing-2-5) var(--secondary-dark);
|
|
29
26
|
}
|
|
30
27
|
|
|
31
28
|
.ChipInput:focus-within {
|
|
@@ -34,12 +31,12 @@
|
|
|
34
31
|
|
|
35
32
|
.ChipInput--disabled {
|
|
36
33
|
background: var(--secondary-lightest);
|
|
37
|
-
|
|
34
|
+
box-shadow: inset 0 0 0 var(--spacing-2-5) var(--secondary-light);
|
|
38
35
|
pointer-events: none;
|
|
39
36
|
}
|
|
40
37
|
|
|
41
38
|
.ChipInput--withChips {
|
|
42
|
-
padding-right:
|
|
39
|
+
padding-right: 0;
|
|
43
40
|
}
|
|
44
41
|
|
|
45
42
|
.ChipInput--error {
|
|
@@ -53,15 +50,18 @@
|
|
|
53
50
|
flex-wrap: wrap;
|
|
54
51
|
}
|
|
55
52
|
|
|
56
|
-
.ChipInput-
|
|
53
|
+
.ChipInput--small .ChipInput-wrapper {
|
|
54
|
+
min-height: var(--spacing-60);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ChipInput-border--focusRing {
|
|
57
58
|
border-radius: var(--border-radius-10);
|
|
58
59
|
outline: var(--border-width-05) solid var(--primary-focus);
|
|
59
60
|
outline-offset: var(--spacing-05);
|
|
60
61
|
}
|
|
61
62
|
|
|
62
|
-
.ChipInput-border--error
|
|
63
|
-
|
|
64
|
-
outline-offset: var(--spacing-05);
|
|
63
|
+
.ChipInput-border--error.ChipInput-border--focusRing {
|
|
64
|
+
box-shadow: var(--shadow-spread) var(--alert-shadow);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.ChipInput-input {
|
|
@@ -105,8 +105,9 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.ChipInput-icon--small {
|
|
108
|
+
flex-shrink: 0;
|
|
109
|
+
align-self: center;
|
|
108
110
|
margin-left: var(--spacing-15);
|
|
109
|
-
margin-top: var(--spacing-15);
|
|
110
111
|
height: var(--spacing-30);
|
|
111
112
|
}
|
|
112
113
|
|
|
@@ -126,5 +127,6 @@
|
|
|
126
127
|
|
|
127
128
|
.ChipInput-icon:focus,
|
|
128
129
|
.ChipInput-icon:focus-visible {
|
|
129
|
-
outline: var(--
|
|
130
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
131
|
+
outline-offset: var(--spacing-05);
|
|
130
132
|
}
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
|
|
19
19
|
.Dropdown-input {
|
|
20
20
|
min-width: unset !important;
|
|
21
|
+
background: transparent;
|
|
22
|
+
border-bottom-left-radius: 0;
|
|
23
|
+
border-bottom-right-radius: 0;
|
|
24
|
+
height: 36px;
|
|
21
25
|
}
|
|
22
26
|
|
|
23
27
|
.Dropdown-input,
|
|
@@ -27,6 +31,10 @@
|
|
|
27
31
|
outline: none !important;
|
|
28
32
|
}
|
|
29
33
|
|
|
34
|
+
.Dropdown-input:hover {
|
|
35
|
+
background-color: var(--secondary-lightest);
|
|
36
|
+
}
|
|
37
|
+
|
|
30
38
|
.Dropdown-section {
|
|
31
39
|
display: flex;
|
|
32
40
|
justify-content: space-between;
|
|
@@ -60,6 +68,8 @@
|
|
|
60
68
|
.Option {
|
|
61
69
|
display: flex;
|
|
62
70
|
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
71
|
+
color: var(--text);
|
|
72
|
+
cursor: pointer;
|
|
63
73
|
}
|
|
64
74
|
|
|
65
75
|
.Option,
|
|
@@ -85,25 +95,28 @@
|
|
|
85
95
|
padding-bottom: var(--spacing-15);
|
|
86
96
|
}
|
|
87
97
|
|
|
88
|
-
.Option--
|
|
89
|
-
.Option-checkbox--
|
|
98
|
+
.Option--interactive:hover,
|
|
99
|
+
.Option-checkbox--interactive:hover {
|
|
90
100
|
background-color: var(--secondary-lightest);
|
|
91
|
-
cursor: pointer;
|
|
92
101
|
}
|
|
93
102
|
|
|
94
|
-
.Option--
|
|
95
|
-
.Option-checkbox--
|
|
96
|
-
background-color: var(--secondary-
|
|
103
|
+
.Option--interactive:hover:active,
|
|
104
|
+
.Option-checkbox--interactive:hover:active {
|
|
105
|
+
background-color: var(--secondary-light);
|
|
97
106
|
}
|
|
98
107
|
|
|
99
|
-
.Option
|
|
100
|
-
.Option-
|
|
101
|
-
|
|
102
|
-
|
|
108
|
+
.Option:focus,
|
|
109
|
+
.Option:focus-visible,
|
|
110
|
+
.Option-checkbox:focus,
|
|
111
|
+
.Option-checkbox:focus-visible {
|
|
112
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
113
|
+
outline-offset: calc(-1 * var(--border-width-05));
|
|
103
114
|
}
|
|
104
115
|
|
|
105
|
-
.
|
|
106
|
-
|
|
116
|
+
.OptionWrapper:focus,
|
|
117
|
+
.OptionWrapper:focus-visible {
|
|
118
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
119
|
+
outline-offset: calc(-1 * var(--border-width-05));
|
|
107
120
|
}
|
|
108
121
|
|
|
109
122
|
.Option-loading {
|
|
@@ -114,11 +127,17 @@
|
|
|
114
127
|
background-color: var(--primary-lightest);
|
|
115
128
|
}
|
|
116
129
|
|
|
117
|
-
.Option--selected:
|
|
130
|
+
.Option--selected:focus,
|
|
131
|
+
.Option--selected:focus-visible {
|
|
132
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
133
|
+
outline-offset: calc(-1 * var(--border-width-05));
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.Option--selected.Option--interactive:hover {
|
|
118
137
|
background-color: var(--primary-lighter);
|
|
119
138
|
}
|
|
120
139
|
|
|
121
|
-
.Option--selected:active {
|
|
140
|
+
.Option--selected.Option--interactive:active {
|
|
122
141
|
background-color: var(--primary-lighter);
|
|
123
142
|
color: var(--primary-darker);
|
|
124
143
|
}
|
|
@@ -138,6 +157,16 @@
|
|
|
138
157
|
overflow: hidden;
|
|
139
158
|
display: flex;
|
|
140
159
|
flex-direction: column;
|
|
160
|
+
flex: 1;
|
|
161
|
+
min-width: 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.Option-checkIcon {
|
|
165
|
+
display: flex;
|
|
166
|
+
flex-shrink: 0;
|
|
167
|
+
align-self: center;
|
|
168
|
+
margin-left: auto;
|
|
169
|
+
padding-left: var(--spacing-20);
|
|
141
170
|
}
|
|
142
171
|
|
|
143
172
|
.OptionCheckbox .Checkbox-label {
|
|
@@ -172,3 +201,10 @@
|
|
|
172
201
|
height: fit-content;
|
|
173
202
|
line-height: var(--font-height);
|
|
174
203
|
}
|
|
204
|
+
|
|
205
|
+
@media (forced-colors: active) {
|
|
206
|
+
.Dropdown-input:focus-within {
|
|
207
|
+
outline: var(--border-width-05) solid Highlight !important;
|
|
208
|
+
outline-offset: var(--spacing-05);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.DropdownButton--placeholder {
|
|
49
|
-
color: var(--text
|
|
49
|
+
color: var(--text);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.DropdownButton:hover {
|
|
@@ -54,9 +54,11 @@
|
|
|
54
54
|
color: var(--text);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.DropdownButton:focus {
|
|
57
|
+
.DropdownButton:focus-visible {
|
|
58
58
|
background-color: var(--secondary-light);
|
|
59
|
-
box-shadow:
|
|
59
|
+
box-shadow: none;
|
|
60
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
61
|
+
outline-offset: var(--spacing-05);
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
.DropdownButton:active,
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
.Dropzone-srOnly {
|
|
2
|
+
position: absolute;
|
|
3
|
+
width: var(--spacing-2-5);
|
|
4
|
+
height: var(--spacing-2-5);
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: calc(-1 * var(--spacing-2-5));
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
clip: rect(0, 0, 0, 0);
|
|
9
|
+
white-space: nowrap;
|
|
10
|
+
border: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
.Dropzone {
|
|
2
14
|
display: flex;
|
|
3
15
|
align-items: center;
|
|
@@ -177,3 +189,27 @@
|
|
|
177
189
|
.Dropzone-icon--error {
|
|
178
190
|
fill: var(--alert);
|
|
179
191
|
}
|
|
192
|
+
|
|
193
|
+
@media (forced-colors: active) {
|
|
194
|
+
.Dropzone {
|
|
195
|
+
border: var(--border-width-05) dashed ButtonText;
|
|
196
|
+
background-image: none;
|
|
197
|
+
background-color: Canvas;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.Dropzone--active {
|
|
201
|
+
border: var(--border-width-05) dashed Highlight;
|
|
202
|
+
background-image: none;
|
|
203
|
+
background-color: Canvas;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.Dropzone--error {
|
|
207
|
+
border: var(--border-width-05) dashed ButtonText;
|
|
208
|
+
background-image: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.Dropzone--disabled {
|
|
212
|
+
border: var(--border-width-05) dashed GrayText;
|
|
213
|
+
background-image: none;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
@@ -2,16 +2,30 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
.EditableChipInput:focus-visible {
|
|
7
|
+
outline: none;
|
|
8
|
+
}
|
|
5
9
|
.EditableChipInput-default {
|
|
10
|
+
box-sizing: border-box;
|
|
6
11
|
display: flex;
|
|
7
12
|
align-items: center;
|
|
8
13
|
padding-left: var(--spacing-30);
|
|
9
14
|
border-left: var(--border-width-2-5) solid transparent;
|
|
10
15
|
min-height: var(--spacing-80);
|
|
11
16
|
flex-wrap: wrap;
|
|
17
|
+
border-radius: var(--border-radius-10);
|
|
18
|
+
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.EditableChipInput-default--small {
|
|
23
|
+
min-height: var(--spacing-60);
|
|
24
|
+
padding-left: var(--spacing-20);
|
|
12
25
|
}
|
|
13
26
|
|
|
14
27
|
.EditableChipInput-defaultWithChips {
|
|
28
|
+
box-sizing: border-box;
|
|
15
29
|
display: flex;
|
|
16
30
|
align-items: center;
|
|
17
31
|
padding-left: var(--spacing-20);
|
|
@@ -20,17 +34,50 @@
|
|
|
20
34
|
padding-bottom: var(--spacing-2-5);
|
|
21
35
|
max-width: calc(100% - 28px);
|
|
22
36
|
flex-wrap: wrap;
|
|
37
|
+
border-radius: var(--border-radius-10);
|
|
38
|
+
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.EditableChipInput-defaultWithChips--small {
|
|
43
|
+
min-height: var(--spacing-60);
|
|
44
|
+
padding-top: 0;
|
|
45
|
+
padding-bottom: 0;
|
|
23
46
|
}
|
|
24
47
|
|
|
25
48
|
.EditableChipInput-defaultWithChips:hover,
|
|
26
49
|
.EditableChipInput-default:hover {
|
|
27
|
-
background-color: var(--secondary-
|
|
50
|
+
background-color: var(--secondary-lighter);
|
|
51
|
+
box-shadow: inset 0 0 0 var(--spacing-2-5) var(--secondary-dark);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.EditableChipInput:focus-visible .EditableChipInput-default,
|
|
55
|
+
.EditableChipInput:focus-visible .EditableChipInput-defaultWithChips {
|
|
56
|
+
background: var(--white);
|
|
57
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
58
|
+
outline-offset: var(--spacing-05);
|
|
59
|
+
box-shadow: inset 0 0 0 var(--spacing-2-5) var(--secondary);
|
|
28
60
|
}
|
|
29
61
|
|
|
30
62
|
.EditableChipInput-chipInput {
|
|
31
63
|
padding-left: var(--spacing-20);
|
|
32
64
|
}
|
|
33
65
|
|
|
66
|
+
.EditableChipInput-chip--regular {
|
|
67
|
+
margin: var(--spacing-05);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.EditableChipInput-chip--small {
|
|
71
|
+
margin-left: var(--spacing-05);
|
|
72
|
+
margin-right: var(--spacing-05);
|
|
73
|
+
margin-top: 0;
|
|
74
|
+
margin-bottom: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.EditableChipInput-placeholder--small {
|
|
78
|
+
padding-top: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
34
81
|
.EditableChipInput-actions {
|
|
35
82
|
position: absolute;
|
|
36
83
|
display: flex;
|
|
@@ -2,10 +2,63 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
.EditableDropdown:focus-visible {
|
|
6
|
+
outline: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
.EditableDropdown-default {
|
|
6
10
|
display: flex;
|
|
7
11
|
align-items: center;
|
|
12
|
+
justify-content: space-between;
|
|
8
13
|
box-sizing: border-box;
|
|
9
14
|
height: var(--spacing-80);
|
|
10
15
|
padding-left: var(--spacing-30);
|
|
16
|
+
padding-right: var(--spacing-20);
|
|
17
|
+
border-radius: var(--border-radius-10);
|
|
18
|
+
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
border: var(--border-width-2-5) solid transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.EditableDropdown-wrapper {
|
|
24
|
+
width: 100%;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.EditableDropdown-text {
|
|
32
|
+
text-align: left;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
text-overflow: ellipsis;
|
|
36
|
+
color: var(--text);
|
|
37
|
+
font-size: var(--font-size);
|
|
38
|
+
line-height: var(--font-height);
|
|
39
|
+
font-weight: var(--font-weight-normal);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.EditableDropdown-text--subtle {
|
|
43
|
+
color: var(--text-subtle);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.EditableDropdown-icon {
|
|
47
|
+
visibility: hidden;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.EditableDropdown-default:hover .EditableDropdown-icon,
|
|
51
|
+
.EditableDropdown:focus-visible .EditableDropdown-icon {
|
|
52
|
+
visibility: visible;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.EditableDropdown-default:hover {
|
|
56
|
+
background: var(--secondary);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.EditableDropdown:focus-visible .EditableDropdown-default {
|
|
60
|
+
background: var(--secondary-light);
|
|
61
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
62
|
+
outline-offset: var(--spacing-05);
|
|
63
|
+
border-radius: var(--border-radius-10);
|
|
11
64
|
}
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
width: 100%;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
.EditableInput:focus-visible {
|
|
9
|
+
outline: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
.EditableInput-actions {
|
|
9
13
|
position: absolute;
|
|
10
14
|
display: flex;
|
|
@@ -27,6 +31,21 @@
|
|
|
27
31
|
white-space: nowrap;
|
|
28
32
|
display: flex;
|
|
29
33
|
align-items: center;
|
|
34
|
+
border-radius: var(--border-radius-10);
|
|
35
|
+
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.EditableInput-default:hover {
|
|
40
|
+
background: var(--secondary-lighter);
|
|
41
|
+
border-color: var(--secondary-dark);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.EditableInput:focus-visible .EditableInput-default {
|
|
45
|
+
background: var(--white);
|
|
46
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
47
|
+
outline-offset: var(--spacing-05);
|
|
48
|
+
border-color: transparent;
|
|
30
49
|
}
|
|
31
50
|
|
|
32
51
|
.EditableInput-default--regular {
|
|
@@ -50,3 +69,15 @@
|
|
|
50
69
|
min-width: var(--spacing-240) !important;
|
|
51
70
|
width: 100%;
|
|
52
71
|
}
|
|
72
|
+
|
|
73
|
+
.EditableInput-errorIcon--regular {
|
|
74
|
+
margin-right: var(--spacing-20);
|
|
75
|
+
margin-top: var(--spacing-10);
|
|
76
|
+
margin-bottom: var(--spacing-10);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.EditableInput-errorIcon--tiny {
|
|
80
|
+
margin-right: var(--spacing-10);
|
|
81
|
+
margin-top: var(--spacing-05);
|
|
82
|
+
margin-bottom: var(--spacing-05);
|
|
83
|
+
}
|