@innovaccer/design-system 4.23.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 +76 -0
- package/README.md +3 -3
- package/css/dist/index.css +1226 -325
- 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 +5 -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 +187 -18
- package/css/src/components/calendar.module.css +49 -0
- 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 +34 -0
- package/css/src/components/dropdown.module.css +7 -0
- package/css/src/components/dropzone.module.css +36 -0
- package/css/src/components/grid.module.css +29 -12
- package/css/src/components/horizontalNav.module.css +15 -0
- package/css/src/components/link.module.css +59 -6
- package/css/src/components/linkButton.module.css +82 -10
- package/css/src/components/listbox.module.css +85 -1
- package/css/src/components/metricInput.module.css +89 -35
- package/css/src/components/modal.module.css +8 -0
- package/css/src/components/segmentedControl.module.css +1 -1
- package/css/src/components/select.module.css +7 -0
- package/css/src/components/selectionCard.module.css +38 -0
- package/css/src/components/sidesheet.module.css +8 -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 +10 -0
- package/css/src/components/tooltip.module.css +1 -0
- 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/components/atoms/link/Link.d.ts +4 -2
- package/dist/core/components/atoms/linkButton/LinkButton.d.ts +1 -0
- package/dist/core/components/atoms/message/Message.d.ts +1 -0
- package/dist/core/components/atoms/outsideClick/OutsideClick.d.ts +1 -0
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +1 -0
- package/dist/core/components/atoms/progressBar/ProgressBar.d.ts +2 -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/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/dropzone/Dropzone.d.ts +1 -0
- package/dist/core/components/molecules/editableInput/EditableInput.d.ts +4 -0
- package/dist/core/components/molecules/inputMask/InputMask.d.ts +1 -0
- package/dist/core/components/molecules/popover/Popover.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/listbox/reorderList/Draggable.d.ts +11 -0
- package/dist/core/components/organisms/menu/SubMenuContext.d.ts +1 -0
- package/dist/core/components/organisms/textField/TextFieldCommon.d.ts +1 -0
- package/dist/core/components/organisms/verticalNav/VerticalNav.d.ts +2 -0
- package/dist/esm/index.js +1695 -709
- package/dist/gzip/index.js +1 -1
- package/dist/gzip/index.js.gz +0 -0
- package/dist/index.js +1536 -570
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +1216 -315
- package/dist/index.umd.js +1 -1
- package/dist/types/tsconfig.type.tsbuildinfo +152 -114
- package/package.json +1 -1
|
@@ -10,41 +10,21 @@
|
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
color: var(--inverse);
|
|
13
|
-
background: linear-gradient(
|
|
14
|
-
277deg,
|
|
15
|
-
rgba(227, 28, 121, 0.15) 0%,
|
|
16
|
-
rgba(231, 56, 79, 0.24) 28%,
|
|
17
|
-
rgba(240, 125, 0, 0.15) 100%
|
|
18
|
-
);
|
|
13
|
+
background: linear-gradient(109deg, #fdead8 10.28%, #fbdfd5 32.82%, #f9d1d5 63.38%, #fad9e7 96.05%);
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
.AIButton:hover {
|
|
22
|
-
background: linear-gradient(
|
|
23
|
-
277deg,
|
|
24
|
-
rgba(227, 28, 121, 0.2) 0%,
|
|
25
|
-
rgba(231, 56, 79, 0.32) 28%,
|
|
26
|
-
rgba(240, 125, 0, 0.2) 100%
|
|
27
|
-
);
|
|
17
|
+
background: linear-gradient(116deg, #fbe1c9 14.17%, #f8c5c6 50.06%, #f9cbdc 85.01%);
|
|
28
18
|
}
|
|
29
19
|
|
|
30
20
|
.AIButton:active {
|
|
31
|
-
background: linear-gradient(
|
|
32
|
-
277deg,
|
|
33
|
-
rgba(227, 28, 121, 0.31) 0%,
|
|
34
|
-
rgba(231, 56, 79, 0.48) 28%,
|
|
35
|
-
rgba(240, 125, 0, 0.31) 100%
|
|
36
|
-
);
|
|
21
|
+
background: linear-gradient(106deg, #fad1ae 20.06%, #f5aea9 44.48%, #f4a0ad 67.83%, #f6b3ce 86.55%);
|
|
37
22
|
}
|
|
38
23
|
|
|
39
24
|
.AIButton:disabled {
|
|
40
25
|
cursor: not-allowed;
|
|
41
26
|
opacity: var(--opacity-10);
|
|
42
|
-
background: linear-gradient(
|
|
43
|
-
277deg,
|
|
44
|
-
rgba(227, 28, 121, 0.15) 0%,
|
|
45
|
-
rgba(231, 56, 79, 0.24) 28%,
|
|
46
|
-
rgba(240, 125, 0, 0.15) 100%
|
|
47
|
-
);
|
|
27
|
+
background: linear-gradient(109deg, #fdead8 10.28%, #fbdfd5 32.82%, #f9d1d5 63.38%, #fad9e7 96.05%);
|
|
48
28
|
}
|
|
49
29
|
|
|
50
30
|
.AIButton:focus {
|
|
@@ -8,30 +8,15 @@
|
|
|
8
8
|
width: fit-content;
|
|
9
9
|
border: 0;
|
|
10
10
|
position: relative;
|
|
11
|
-
background: linear-gradient(
|
|
12
|
-
274deg,
|
|
13
|
-
rgba(231, 56, 79, 0.24) 0%,
|
|
14
|
-
rgba(231, 56, 79, 0.24) 19.79%,
|
|
15
|
-
rgba(240, 125, 0, 0.24) 100%
|
|
16
|
-
);
|
|
11
|
+
background: linear-gradient(109deg, #fdead8 10.28%, #fbdfd5 32.82%, #f9d1d5 63.38%, #fad9e7 96.05%);
|
|
17
12
|
}
|
|
18
13
|
|
|
19
14
|
.AIChip:hover {
|
|
20
|
-
background: linear-gradient(
|
|
21
|
-
274deg,
|
|
22
|
-
rgba(231, 56, 79, 0.32) 0%,
|
|
23
|
-
rgba(231, 56, 79, 0.32) 19.79%,
|
|
24
|
-
rgba(240, 125, 0, 0.32) 100%
|
|
25
|
-
);
|
|
15
|
+
background: linear-gradient(108deg, #fad3b0 15.89%, #f9cdb7 33.52%, #f8c6bf 54.17%, #f7bfc7 70.92%);
|
|
26
16
|
}
|
|
27
17
|
|
|
28
18
|
.AIChip:active {
|
|
29
|
-
background: linear-gradient(
|
|
30
|
-
274deg,
|
|
31
|
-
rgba(231, 56, 79, 0.48) 0%,
|
|
32
|
-
rgba(231, 56, 79, 0.48) 19.79%,
|
|
33
|
-
rgba(240, 125, 0, 0.48) 100%
|
|
34
|
-
);
|
|
19
|
+
background: linear-gradient(106deg, #f7bd89 20.06%, #f6b196 44.48%, #f4a4a5 67.83%, #f39faa 86.55%);
|
|
35
20
|
}
|
|
36
21
|
|
|
37
22
|
.AIChip:focus,
|
|
@@ -60,12 +45,7 @@
|
|
|
60
45
|
/* Disabled Chip */
|
|
61
46
|
|
|
62
47
|
.AIChip--disabled {
|
|
63
|
-
background: linear-gradient(
|
|
64
|
-
274deg,
|
|
65
|
-
rgba(231, 56, 79, 0.24) 0%,
|
|
66
|
-
rgba(231, 56, 79, 0.24) 19.79%,
|
|
67
|
-
rgba(240, 125, 0, 0.24) 100%
|
|
68
|
-
);
|
|
48
|
+
background: linear-gradient(109deg, #fdead8 10.28%, #fbdfd5 32.82%, #f9d1d5 63.38%, #fad9e7 96.05%);
|
|
69
49
|
}
|
|
70
50
|
|
|
71
51
|
.AIChip-icon--disabled {
|
|
@@ -79,12 +59,7 @@
|
|
|
79
59
|
|
|
80
60
|
.AIChip:disabled {
|
|
81
61
|
cursor: not-allowed;
|
|
82
|
-
background: linear-gradient(
|
|
83
|
-
274deg,
|
|
84
|
-
rgba(231, 56, 79, 0.24) 0%,
|
|
85
|
-
rgba(231, 56, 79, 0.24) 19.79%,
|
|
86
|
-
rgba(240, 125, 0, 0.24) 100%
|
|
87
|
-
);
|
|
62
|
+
background: linear-gradient(109deg, #fdead8 10.28%, #fbdfd5 32.82%, #f9d1d5 63.38%, #fad9e7 96.05%);
|
|
88
63
|
}
|
|
89
64
|
|
|
90
65
|
.AIChip-AIIcon {
|
|
@@ -20,22 +20,12 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.AIIconButton:hover {
|
|
23
|
-
background: linear-gradient(
|
|
24
|
-
315deg,
|
|
25
|
-
rgba(227, 28, 121, 0.2) 0%,
|
|
26
|
-
rgba(231, 56, 79, 0.32) 19.79%,
|
|
27
|
-
rgba(240, 125, 0, 0.32) 100%
|
|
28
|
-
);
|
|
23
|
+
background: linear-gradient(143deg, #fad1b2 10.84%, #f8c4c1 51.71%, #f8c8d7 91.5%);
|
|
29
24
|
color: var(--secondary) !important;
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
.AIIconButton:active {
|
|
33
|
-
background: linear-gradient(
|
|
34
|
-
315deg,
|
|
35
|
-
rgba(227, 28, 121, 0.31) 0%,
|
|
36
|
-
rgba(231, 56, 79, 0.48) 19.79%,
|
|
37
|
-
rgba(240, 125, 0, 0.48) 100%
|
|
38
|
-
);
|
|
28
|
+
background: linear-gradient(144deg, #f7ba8c 14.82%, #f6af98 40.53%, #f5a8a0 55.69%, #f5adc5 79.29%);
|
|
39
29
|
color: var(--secondary-dark) !important;
|
|
40
30
|
}
|
|
41
31
|
|
|
@@ -193,3 +193,25 @@
|
|
|
193
193
|
.SelectionAvatarCount--selected:focus-visible {
|
|
194
194
|
box-shadow: 0 0 0 var(--spacing-2-5) white, 0 0 0 3px var(--primary-dark), 0 0 0 3px var(--primary-shadow) !important;
|
|
195
195
|
}
|
|
196
|
+
|
|
197
|
+
@media (forced-colors: active) {
|
|
198
|
+
.SelectionAvatarGroup-item--selected:focus,
|
|
199
|
+
.SelectionAvatarGroup-item--selected:focus-visible {
|
|
200
|
+
outline: var(--border-width-05) solid Highlight !important;
|
|
201
|
+
outline-offset: var(--spacing-2-5);
|
|
202
|
+
box-shadow: none !important;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.SelectionAvatarCount--selected:focus,
|
|
206
|
+
.SelectionAvatarCount--selected:focus-visible {
|
|
207
|
+
outline: var(--border-width-05) solid Highlight !important;
|
|
208
|
+
outline-offset: var(--spacing-2-5);
|
|
209
|
+
box-shadow: none !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* The inner search input uses outline:none !important — restore it in forced-colors mode */
|
|
213
|
+
.SelectionAvatar-input:focus-within {
|
|
214
|
+
outline: var(--border-width-05) solid Highlight !important;
|
|
215
|
+
outline-offset: var(--spacing-05);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.Badge--accent1 {
|
|
50
|
-
background: var(--accent1
|
|
50
|
+
background: var(--accent1);
|
|
51
51
|
color: var(--white);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
|
|
64
64
|
.Badge--accent4 {
|
|
65
65
|
background: var(--accent4);
|
|
66
|
-
color: var(--
|
|
66
|
+
color: var(--white);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.Badge--subtle-primary {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
.Badge--subtle-warning {
|
|
90
90
|
color: var(--warning-darker);
|
|
91
|
-
background: var(--warning-
|
|
91
|
+
background: var(--warning-300);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.Badge--subtle-accent1 {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.Button
|
|
27
|
+
.Button--disabled {
|
|
28
28
|
cursor: not-allowed;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -108,13 +108,6 @@
|
|
|
108
108
|
margin-left: var(--spacing-15);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.Button--tiny .Button-icon--left {
|
|
112
|
-
margin-right: var(--spacing-10);
|
|
113
|
-
}
|
|
114
|
-
.Button--tiny .Button-icon--right {
|
|
115
|
-
margin-left: var(--spacing-10);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
111
|
.Button--basic {
|
|
119
112
|
background: var(--secondary-light);
|
|
120
113
|
color: var(--inverse);
|
|
@@ -128,7 +121,7 @@
|
|
|
128
121
|
background: var(--secondary-dark);
|
|
129
122
|
}
|
|
130
123
|
|
|
131
|
-
.Button--basic
|
|
124
|
+
.Button--basic-disabled {
|
|
132
125
|
background: var(--secondary-lighter);
|
|
133
126
|
color: var(--inverse-lightest);
|
|
134
127
|
}
|
|
@@ -145,10 +138,14 @@
|
|
|
145
138
|
background: var(--primary-darker);
|
|
146
139
|
}
|
|
147
140
|
|
|
148
|
-
.Button--primary
|
|
141
|
+
.Button--primary-disabled {
|
|
149
142
|
background: var(--primary-lighter);
|
|
150
143
|
}
|
|
151
144
|
|
|
145
|
+
.Button-infoIcon--primary {
|
|
146
|
+
color: var(--text-link);
|
|
147
|
+
}
|
|
148
|
+
|
|
152
149
|
.Button--success {
|
|
153
150
|
background: var(--primary);
|
|
154
151
|
}
|
|
@@ -161,10 +158,14 @@
|
|
|
161
158
|
background: var(--primary-darker);
|
|
162
159
|
}
|
|
163
160
|
|
|
164
|
-
.Button--success
|
|
161
|
+
.Button--success-disabled {
|
|
165
162
|
background: var(--primary-lighter);
|
|
166
163
|
}
|
|
167
164
|
|
|
165
|
+
.Button-infoIcon--success {
|
|
166
|
+
color: var(--text-link);
|
|
167
|
+
}
|
|
168
|
+
|
|
168
169
|
.Button--alert {
|
|
169
170
|
background: var(--alert);
|
|
170
171
|
}
|
|
@@ -177,10 +178,14 @@
|
|
|
177
178
|
background: var(--alert-darker);
|
|
178
179
|
}
|
|
179
180
|
|
|
180
|
-
.Button--alert
|
|
181
|
+
.Button--alert-disabled {
|
|
181
182
|
background: var(--alert-lighter);
|
|
182
183
|
}
|
|
183
184
|
|
|
185
|
+
.Button-infoIcon--alert {
|
|
186
|
+
color: var(--alert);
|
|
187
|
+
}
|
|
188
|
+
|
|
184
189
|
.Button--transparent {
|
|
185
190
|
background: transparent;
|
|
186
191
|
color: var(--inverse);
|
|
@@ -198,7 +203,7 @@
|
|
|
198
203
|
background: var(--secondary-dark);
|
|
199
204
|
}
|
|
200
205
|
|
|
201
|
-
.Button--transparent
|
|
206
|
+
.Button--transparent-disabled {
|
|
202
207
|
background: transparent;
|
|
203
208
|
color: var(--inverse-lightest);
|
|
204
209
|
}
|
|
@@ -239,7 +244,7 @@
|
|
|
239
244
|
box-shadow: inset 0 0 0 var(--border-width-05) var(--primary-dark);
|
|
240
245
|
}
|
|
241
246
|
|
|
242
|
-
.Button--selected
|
|
247
|
+
.Button--selected-disabled {
|
|
243
248
|
background: var(--primary-ultra-light);
|
|
244
249
|
color: var(--primary-lighter);
|
|
245
250
|
box-shadow: inset 0 0 0 2px var(--primary-lightest);
|
|
@@ -255,6 +260,63 @@
|
|
|
255
260
|
text-overflow: ellipsis;
|
|
256
261
|
}
|
|
257
262
|
|
|
263
|
+
.Button-infoIconWrapper {
|
|
264
|
+
position: absolute;
|
|
265
|
+
top: -4px;
|
|
266
|
+
right: -4px;
|
|
267
|
+
width: var(--spacing-30);
|
|
268
|
+
height: var(--spacing-30);
|
|
269
|
+
box-sizing: border-box;
|
|
270
|
+
border-radius: var(--border-radius-full);
|
|
271
|
+
display: flex;
|
|
272
|
+
align-items: center;
|
|
273
|
+
justify-content: center;
|
|
274
|
+
overflow: hidden;
|
|
275
|
+
border: var(--border-width-2-5) solid var(--secondary-lightest);
|
|
276
|
+
pointer-events: none;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.Button-infoIconWrapper--transparent {
|
|
280
|
+
border: none;
|
|
281
|
+
background: transparent;
|
|
282
|
+
top: var(--spacing-2-5);
|
|
283
|
+
right: var(--spacing-2-5);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.Button-infoIconWrapper--iconOnly-transparent {
|
|
287
|
+
top: var(--spacing-2-5);
|
|
288
|
+
right: var(--spacing-2-5);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.Button-infoIconWrapper-outlined--basic {
|
|
292
|
+
background: var(--secondary-lightest);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.Button-infoIconWrapper-outlined--primary {
|
|
296
|
+
background: var(--primary-ultra-light);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.Button-infoIconWrapper-outlined--alert {
|
|
300
|
+
background: var(--alert-ultra-light);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.Button-infoIconWrapper--basic {
|
|
304
|
+
background: var(--secondary-lighter);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.Button-infoIconWrapper--primary,
|
|
308
|
+
.Button-infoIconWrapper--success {
|
|
309
|
+
background: var(--primary-lightest);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.Button-infoIconWrapper--alert {
|
|
313
|
+
background: var(--alert-lightest);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.Button-infoIcon {
|
|
317
|
+
color: var(--text-subtle);
|
|
318
|
+
}
|
|
319
|
+
|
|
258
320
|
/* outlined button styles */
|
|
259
321
|
|
|
260
322
|
.Button-outlined--basic {
|
|
@@ -279,7 +341,7 @@
|
|
|
279
341
|
box-shadow: inset 0 0 0 var(--border-width-2-5) var(--secondary);
|
|
280
342
|
}
|
|
281
343
|
|
|
282
|
-
.Button-outlined--basic
|
|
344
|
+
.Button-outlined--basic-disabled {
|
|
283
345
|
color: var(--inverse-lightest);
|
|
284
346
|
background: transparent;
|
|
285
347
|
box-shadow: inset 0 0 0 1px var(--secondary);
|
|
@@ -317,7 +379,7 @@
|
|
|
317
379
|
box-shadow: inset 0 0 0 var(--border-width-05) var(--primary-dark);
|
|
318
380
|
}
|
|
319
381
|
|
|
320
|
-
.Button-outlined--selected
|
|
382
|
+
.Button-outlined--selected-disabled {
|
|
321
383
|
background: var(--primary-ultra-light);
|
|
322
384
|
color: var(--primary-lighter);
|
|
323
385
|
box-shadow: inset 0 0 0 2px var(--primary-lightest);
|
|
@@ -347,12 +409,16 @@
|
|
|
347
409
|
box-shadow: inset 0 0 0 var(--border-width-2-5) var(--primary);
|
|
348
410
|
}
|
|
349
411
|
|
|
350
|
-
.Button-outlined--primary
|
|
412
|
+
.Button-outlined--primary-disabled {
|
|
351
413
|
background: transparent;
|
|
352
414
|
color: var(--primary-lighter);
|
|
353
415
|
box-shadow: inset 0 0 0 1px var(--primary-lighter);
|
|
354
416
|
}
|
|
355
417
|
|
|
418
|
+
.Button-infoIcon-outlined--primary {
|
|
419
|
+
color: var(--text-link);
|
|
420
|
+
}
|
|
421
|
+
|
|
356
422
|
.Button-outlined--alert {
|
|
357
423
|
background: transparent;
|
|
358
424
|
box-shadow: inset 0 0 0 1px var(--alert);
|
|
@@ -377,8 +443,111 @@
|
|
|
377
443
|
box-shadow: inset 0 0 0 var(--border-width-2-5) var(--alert);
|
|
378
444
|
}
|
|
379
445
|
|
|
380
|
-
.Button-outlined--alert
|
|
446
|
+
.Button-outlined--alert-disabled {
|
|
381
447
|
background: transparent;
|
|
382
448
|
color: var(--alert-lighter);
|
|
383
449
|
box-shadow: inset 0 0 0 1px var(--alert-lighter);
|
|
384
450
|
}
|
|
451
|
+
|
|
452
|
+
.Button-infoIcon-outlined--alert {
|
|
453
|
+
color: var(--alert);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.Button-srOnly {
|
|
457
|
+
position: absolute;
|
|
458
|
+
width: var(--spacing-2-5);
|
|
459
|
+
height: var(--spacing-2-5);
|
|
460
|
+
padding: 0;
|
|
461
|
+
margin: calc(-1 * var(--spacing-2-5));
|
|
462
|
+
overflow: hidden;
|
|
463
|
+
clip: rect(0, 0, 0, 0);
|
|
464
|
+
white-space: nowrap;
|
|
465
|
+
border: 0;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
@media (forced-colors: active) {
|
|
469
|
+
.Button--basic,
|
|
470
|
+
.Button--primary,
|
|
471
|
+
.Button--success,
|
|
472
|
+
.Button--alert,
|
|
473
|
+
.Button--transparent {
|
|
474
|
+
border: var(--border-width-2-5) solid ButtonText;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.Button--basic-disabled,
|
|
478
|
+
.Button--primary-disabled,
|
|
479
|
+
.Button--success-disabled,
|
|
480
|
+
.Button--alert-disabled,
|
|
481
|
+
.Button--transparent-disabled {
|
|
482
|
+
border: var(--border-width-2-5) solid GrayText;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/* Selected state: inset box-shadow acts as the visible border */
|
|
486
|
+
.Button--selected,
|
|
487
|
+
.Button--selected:hover,
|
|
488
|
+
.Button--selected:active,
|
|
489
|
+
.Button--selected-disabled {
|
|
490
|
+
border: var(--border-width-05) solid ButtonText;
|
|
491
|
+
box-shadow: none;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.Button--selected:focus-visible,
|
|
495
|
+
.Button--selected:focus-visible:active {
|
|
496
|
+
outline: var(--border-width-05) solid Highlight;
|
|
497
|
+
box-shadow: none;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* Outlined variants: inset box-shadow is the only visible border */
|
|
501
|
+
.Button-outlined--basic,
|
|
502
|
+
.Button-outlined--basic:hover,
|
|
503
|
+
.Button-outlined--basic:active,
|
|
504
|
+
.Button-outlined--basic-disabled {
|
|
505
|
+
border: var(--border-width-2-5) solid ButtonText;
|
|
506
|
+
box-shadow: none;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.Button-outlined--basic:focus-visible {
|
|
510
|
+
outline: var(--border-width-05) solid Highlight;
|
|
511
|
+
box-shadow: none;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.Button-outlined--selected,
|
|
515
|
+
.Button-outlined--selected:hover,
|
|
516
|
+
.Button-outlined--selected:active,
|
|
517
|
+
.Button-outlined--selected-disabled {
|
|
518
|
+
border: var(--border-width-05) solid ButtonText;
|
|
519
|
+
box-shadow: none;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.Button-outlined--selected:focus-visible,
|
|
523
|
+
.Button-outlined--selected:focus-visible:active {
|
|
524
|
+
outline: var(--border-width-05) solid Highlight;
|
|
525
|
+
box-shadow: none;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.Button-outlined--primary,
|
|
529
|
+
.Button-outlined--primary:hover,
|
|
530
|
+
.Button-outlined--primary:active,
|
|
531
|
+
.Button-outlined--primary-disabled {
|
|
532
|
+
border: var(--border-width-2-5) solid ButtonText;
|
|
533
|
+
box-shadow: none;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.Button-outlined--primary:focus-visible {
|
|
537
|
+
outline: var(--border-width-05) solid Highlight;
|
|
538
|
+
box-shadow: none;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.Button-outlined--alert,
|
|
542
|
+
.Button-outlined--alert:hover,
|
|
543
|
+
.Button-outlined--alert:active,
|
|
544
|
+
.Button-outlined--alert-disabled {
|
|
545
|
+
border: var(--border-width-2-5) solid ButtonText;
|
|
546
|
+
box-shadow: none;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.Button-outlined--alert:focus-visible {
|
|
550
|
+
outline: var(--border-width-05) solid Highlight;
|
|
551
|
+
box-shadow: none;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
@@ -392,3 +392,52 @@
|
|
|
392
392
|
background: var(--primary-lighter);
|
|
393
393
|
border-color: transparent;
|
|
394
394
|
}
|
|
395
|
+
|
|
396
|
+
@media (forced-colors: active) {
|
|
397
|
+
.Calendar-valueWrapper--start,
|
|
398
|
+
.Calendar-valueWrapper--end,
|
|
399
|
+
.Calendar-valueWrapper--hoverDate,
|
|
400
|
+
.Calendar-valueWrapper--hoverEndDate,
|
|
401
|
+
.Calendar-valueWrapper--inStartRange,
|
|
402
|
+
.Calendar-valueWrapper--inEndRange,
|
|
403
|
+
.Calendar-valueWrapper--inRange,
|
|
404
|
+
.Calendar-valueWrapper--inEdgeRange .Calendar-inRangeValue {
|
|
405
|
+
background: Highlight;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.Calendar-valueWrapper--startError,
|
|
409
|
+
.Calendar-valueWrapper--endError,
|
|
410
|
+
.Calendar-valueWrapper--inRangeError {
|
|
411
|
+
background: Mark;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/* Active/selected date cell */
|
|
415
|
+
.Calendar-value--active,
|
|
416
|
+
.Calendar-value--active:hover,
|
|
417
|
+
.Calendar-value--active:active {
|
|
418
|
+
forced-color-adjust: none;
|
|
419
|
+
background: Highlight;
|
|
420
|
+
color: HighlightText;
|
|
421
|
+
border-color: transparent;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/* Today's date marker ring */
|
|
425
|
+
.Calendar-value--currDateMonthYear {
|
|
426
|
+
border-color: ButtonText;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/* Event dot: use system color so it stays visible */
|
|
430
|
+
.Calendar-eventsIndicator {
|
|
431
|
+
background-color: ButtonText;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.Calendar-eventsIndicator--active {
|
|
435
|
+
background-color: HighlightText;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/* Disabled dates use opacity — switch to GrayText */
|
|
439
|
+
.Calendar-valueWrapper--disabled {
|
|
440
|
+
opacity: 1;
|
|
441
|
+
color: GrayText;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
@@ -52,3 +52,17 @@
|
|
|
52
52
|
.Card-footer--withSeperator {
|
|
53
53
|
border-top: var(--border-width-2-5) solid var(--secondary-light);
|
|
54
54
|
}
|
|
55
|
+
|
|
56
|
+
@media (forced-colors: active) {
|
|
57
|
+
/* box-shadow is stripped in forced-colors; add a real border so the card boundary is visible */
|
|
58
|
+
.Card--default,
|
|
59
|
+
.Card--light,
|
|
60
|
+
.Card--medium,
|
|
61
|
+
.Card--dark,
|
|
62
|
+
.Card--shadow10,
|
|
63
|
+
.Card--shadow20,
|
|
64
|
+
.Card--shadow30 {
|
|
65
|
+
border: var(--border-width-2-5) solid ButtonText;
|
|
66
|
+
box-shadow: none;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -220,3 +220,37 @@
|
|
|
220
220
|
.Chip-icon--clear {
|
|
221
221
|
padding-right: 0;
|
|
222
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
|
+
}
|
|
@@ -201,3 +201,10 @@
|
|
|
201
201
|
height: fit-content;
|
|
202
202
|
line-height: var(--font-height);
|
|
203
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
|
+
}
|