@innovaccer/design-system 5.0.0-21 → 5.0.0-23
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 +209 -1
- package/README.md +1 -1
- package/css/dist/index.css +930 -439
- 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/avatar.module.css +26 -4
- package/css/src/components/avatarGroup.module.css +19 -3
- package/css/src/components/avatarSelection.module.css +29 -6
- package/css/src/components/badge.module.css +1 -1
- package/css/src/components/breadcrumbs.module.css +2 -1
- package/css/src/components/button.module.css +52 -52
- package/css/src/components/calendar.module.css +109 -30
- 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/chipInput.module.css +7 -6
- 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/inlineMessage.module.css +1 -1
- 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 -8
- package/css/src/components/slider.module.css +25 -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/text.module.css +1 -0
- package/css/src/components/textarea.module.css +6 -5
- package/css/src/components/toast.module.css +14 -41
- package/css/src/components/verticalNav.module.css +39 -7
- package/css/src/core/utilities.css +3 -3
- package/css/src/tokens/index.css +325 -59
- package/css/src/variables/index.css +20 -16
- package/dist/brotli/index.js +4 -4
- package/dist/brotli/index.js.br +0 -0
- package/dist/cjs/index.js +4 -4
- package/dist/core/accessibility/utils/useAccessibilityProps.d.ts +12 -4
- package/dist/core/ai-components/AIResponse/index.d.ts +1 -1
- package/dist/core/components/atoms/_chip/index.d.ts +5 -1
- package/dist/core/components/atoms/avatar/Avatar.d.ts +2 -0
- package/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts +2 -0
- package/dist/core/components/atoms/avatarSelection/AvatarSelection.d.ts +2 -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 +5 -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/segmentedControl/SegmentedControlItem.d.ts +2 -0
- package/dist/core/components/atoms/spinner/Spinner.d.ts +1 -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/molecules/tooltip/Tooltip.d.ts +2 -0
- package/dist/core/components/organisms/calendar/Calendar.d.ts +17 -2
- package/dist/core/components/organisms/calendar/utils.d.ts +54 -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 +1 -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/TimePickerWithInput.d.ts +1 -0
- package/dist/core/components/organisms/timePicker/TimePickerWithSearch.d.ts +2 -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/docPage/AccessibilityPropTable.d.ts +7 -0
- package/dist/core/utils/docPage/accessibilityProps.d.ts +18 -0
- package/dist/core/utils/overlayHelper.d.ts +3 -0
- package/dist/esm/index.js +2817 -910
- package/dist/gzip/index.js +4 -4
- package/dist/gzip/index.js.gz +0 -0
- package/dist/index.umd.css +920 -429
- package/dist/index.umd.js +4 -4
- package/dist/types/tsconfig.type.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
font-weight: var(--font-weight-medium);
|
|
4
4
|
transition: var(--duration--fast-01) var(--standard-productive-curve);
|
|
5
5
|
box-sizing: border-box;
|
|
6
|
-
border-bottom: var(--border-width-2-5) solid
|
|
6
|
+
border-bottom: var(--border-width-2-5) solid currentColor;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.Link:focus
|
|
10
|
-
outline:
|
|
9
|
+
.Link:focus {
|
|
10
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
11
|
+
outline-offset: var(--spacing-05);
|
|
12
|
+
border-radius: var(--border-radius-10);
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
.Link--regular {
|
|
@@ -27,6 +29,7 @@
|
|
|
27
29
|
|
|
28
30
|
.Link--subtle {
|
|
29
31
|
color: var(--inverse-lighter);
|
|
32
|
+
border-bottom-color: transparent;
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
.Link--default:hover {
|
|
@@ -41,22 +44,12 @@
|
|
|
41
44
|
|
|
42
45
|
.Link--default:active {
|
|
43
46
|
color: var(--primary-darker);
|
|
44
|
-
border:
|
|
47
|
+
border-bottom: var(--border-width-2-5) solid currentColor;
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
.Link--subtle:active {
|
|
48
51
|
color: var(--inverse);
|
|
49
|
-
border:
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.Link--default:focus {
|
|
53
|
-
box-shadow: var(--shadow-spread) var(--primary-shadow);
|
|
54
|
-
border-radius: var(--border-radius-10);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.Link--subtle:focus {
|
|
58
|
-
box-shadow: var(--shadow-spread) var(--secondary-shadow);
|
|
59
|
-
border-radius: var(--border-radius-10);
|
|
52
|
+
border-bottom: var(--border-width-2-5) solid transparent;
|
|
60
53
|
}
|
|
61
54
|
|
|
62
55
|
.Link--default-disabled {
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
|
|
61
61
|
.LinkButton--default:focus,
|
|
62
62
|
.LinkButton--default:focus-visible {
|
|
63
|
-
outline:
|
|
64
|
-
|
|
63
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
64
|
+
outline-offset: var(--spacing-05);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.LinkButton--default:disabled {
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
|
|
87
87
|
.LinkButton--subtle:focus,
|
|
88
88
|
.LinkButton--subtle:focus-visible {
|
|
89
|
-
outline:
|
|
90
|
-
|
|
89
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
90
|
+
outline-offset: var(--spacing-05);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.LinkButton--subtle:disabled {
|
|
@@ -51,7 +51,8 @@
|
|
|
51
51
|
|
|
52
52
|
.Listbox-item--option:focus,
|
|
53
53
|
.Listbox-item--option:focus-visible {
|
|
54
|
-
outline:
|
|
54
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
55
|
+
outline-offset: calc(-1 * var(--border-width-05));
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
.Listbox-item--option:active {
|
|
@@ -68,7 +69,8 @@
|
|
|
68
69
|
|
|
69
70
|
.Listbox-item--selected:focus,
|
|
70
71
|
.Listbox-item--selected:focus-visible {
|
|
71
|
-
outline:
|
|
72
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
73
|
+
outline-offset: calc(-1 * var(--border-width-05));
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
.Listbox-item--selected:active {
|
|
@@ -87,7 +89,8 @@
|
|
|
87
89
|
|
|
88
90
|
.Listbox-item--resource:focus,
|
|
89
91
|
.Listbox-item--resource:focus-visible {
|
|
90
|
-
outline:
|
|
92
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
93
|
+
outline-offset: calc(-1 * var(--border-width-05));
|
|
91
94
|
}
|
|
92
95
|
|
|
93
96
|
.Listbox-item--resource:active {
|
|
@@ -115,7 +118,8 @@
|
|
|
115
118
|
/* Listbox type - draggable */
|
|
116
119
|
|
|
117
120
|
.Listbox-item--draggable:focus {
|
|
118
|
-
outline:
|
|
121
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
122
|
+
outline-offset: calc(-1 * var(--border-width-05));
|
|
119
123
|
}
|
|
120
124
|
|
|
121
125
|
.Listbox-item--drag-icon {
|
|
@@ -37,8 +37,9 @@
|
|
|
37
37
|
|
|
38
38
|
.MetricInput:focus-within {
|
|
39
39
|
background: var(--white);
|
|
40
|
-
border-color: var(--
|
|
41
|
-
|
|
40
|
+
border-color: var(--secondary);
|
|
41
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
42
|
+
outline-offset: var(--spacing-2-5);
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
.MetricInput:focus-within .MetricInput-icon {
|
|
@@ -68,8 +69,9 @@
|
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
.MetricInput--error:focus-within {
|
|
71
|
-
border-color: var(--
|
|
72
|
-
|
|
72
|
+
border-color: var(--secondary);
|
|
73
|
+
outline: var(--border-width-05) solid var(--alert);
|
|
74
|
+
outline-offset: var(--spacing-2-5);
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
.MetricInput--error:focus-within .MetricInput-icon {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.Radio-defaultWrapper {
|
|
21
|
-
border: var(--border);
|
|
21
|
+
border: var(--border-width-2-5) solid var(--inverse-lighter);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.Radio-errorWrapper {
|
|
@@ -55,6 +55,8 @@
|
|
|
55
55
|
.Radio-Label {
|
|
56
56
|
display: flex;
|
|
57
57
|
cursor: pointer;
|
|
58
|
+
margin-left: calc(-1 * var(--spacing-20));
|
|
59
|
+
padding-left: var(--spacing-20);
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
.Radio-wrapper {
|
|
@@ -77,13 +79,13 @@
|
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
.Radio:hover .Radio-wrapper {
|
|
80
|
-
border: var(--border-width-2-5) solid var(--
|
|
82
|
+
border: var(--border-width-2-5) solid var(--inverse-light);
|
|
81
83
|
background-color: var(--secondary-lighter);
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
.Radio:active .Radio-wrapper {
|
|
85
87
|
background-color: var(--secondary-light);
|
|
86
|
-
border: var(--border-width-2-5) solid var(--inverse-
|
|
88
|
+
border: var(--border-width-2-5) solid var(--inverse-light);
|
|
87
89
|
}
|
|
88
90
|
|
|
89
91
|
.Radio:hover .Radio-errorWrapper {
|
|
@@ -99,29 +101,27 @@
|
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
.Radio:focus-within .Radio-wrapper {
|
|
102
|
-
outline:
|
|
103
|
-
|
|
104
|
-
border-radius: var(--border-radius-full);
|
|
104
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
105
|
+
outline-offset: var(--spacing-05);
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
.Radio:focus-within .Radio-errorWrapper {
|
|
108
|
-
outline:
|
|
109
|
-
|
|
110
|
-
border-radius: var(--border-radius-full);
|
|
109
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
110
|
+
outline-offset: var(--spacing-05);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.Radio:focus-within .Radio-input:checked ~ .Radio-wrapper {
|
|
114
|
-
outline:
|
|
115
|
-
|
|
114
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
115
|
+
outline-offset: var(--spacing-05);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.Radio:focus-within .Radio-input:checked ~ .Radio-errorWrapper {
|
|
119
|
-
outline:
|
|
120
|
-
|
|
119
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
120
|
+
outline-offset: var(--spacing-05);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.Radio--disabled .Radio-wrapper {
|
|
124
|
-
border: var(--border-width-2-5) solid var(--secondary
|
|
124
|
+
border: var(--border-width-2-5) solid var(--secondary);
|
|
125
125
|
background-color: var(--secondary-lightest);
|
|
126
126
|
}
|
|
127
127
|
|
|
@@ -211,9 +211,9 @@
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
.Radio--disabled .Radio-input ~ .Radio-wrapper:focus {
|
|
214
|
-
|
|
214
|
+
outline: none;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.Radio--disabled .Radio-input ~ .Radio-errorWrapper:focus {
|
|
218
|
-
|
|
218
|
+
outline: none;
|
|
219
219
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
left: 0;
|
|
47
47
|
box-sizing: border-box;
|
|
48
48
|
background-color: var(--primary-ultra-light);
|
|
49
|
-
border: var(--border-width-
|
|
49
|
+
border: var(--border-width-05) solid var(--primary);
|
|
50
50
|
border-radius: var(--border-radius-10);
|
|
51
51
|
pointer-events: none;
|
|
52
52
|
z-index: 2;
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.SegmentedControl-segment:focus-visible:not(.SegmentedControl-segment--selected) {
|
|
103
|
-
border-
|
|
103
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
104
|
+
outline-offset: var(--spacing-05);
|
|
104
105
|
border-radius: var(--border-radius-10);
|
|
105
|
-
box-shadow: var(--shadow-spread) var(--primary-shadow);
|
|
106
106
|
z-index: 100;
|
|
107
107
|
position: relative;
|
|
108
108
|
}
|
|
@@ -10,10 +10,11 @@
|
|
|
10
10
|
.Select-input:focus-within {
|
|
11
11
|
border: unset !important;
|
|
12
12
|
box-shadow: none !important;
|
|
13
|
+
outline: none !important;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
.Select-input:hover {
|
|
16
|
-
background-color:
|
|
17
|
+
background-color: var(--secondary-lightest);
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
.Select-trigger {
|
|
@@ -49,9 +50,7 @@
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.Select-trigger--filled:focus {
|
|
52
|
-
border: var(--border-width-2-5) solid var(--primary);
|
|
53
53
|
background-color: var(--secondary-light);
|
|
54
|
-
box-shadow: var(--shadow-spread) var(--primary-shadow);
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
/* styleType Outlined */
|
|
@@ -68,11 +67,6 @@
|
|
|
68
67
|
border: var(--border-width-2-5) solid var(--secondary-dark);
|
|
69
68
|
}
|
|
70
69
|
|
|
71
|
-
.Select-trigger--outlined:focus {
|
|
72
|
-
border: var(--border-width-2-5) solid var(--primary);
|
|
73
|
-
box-shadow: var(--shadow-spread) var(--primary-shadow);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
70
|
.Select-trigger--outlined:active,
|
|
77
71
|
.Select-trigger--outlinedOpen {
|
|
78
72
|
color: var(--inverse) !important;
|
|
@@ -162,7 +156,7 @@
|
|
|
162
156
|
|
|
163
157
|
.Select-crossButton:focus-visible,
|
|
164
158
|
.Select-crossButton:focus {
|
|
165
|
-
outline: var(--spacing-05) solid var(--
|
|
159
|
+
outline: var(--spacing-05) solid var(--primary-focus);
|
|
166
160
|
}
|
|
167
161
|
|
|
168
162
|
.Select-crossButton:hover {
|
|
@@ -202,5 +196,4 @@
|
|
|
202
196
|
|
|
203
197
|
.Select-trigger--error {
|
|
204
198
|
border: var(--border-width-2-5) solid var(--alert) !important;
|
|
205
|
-
box-shadow: var(--shadow-spread) var(--alert-shadow);
|
|
206
199
|
}
|
|
@@ -16,10 +16,9 @@
|
|
|
16
16
|
|
|
17
17
|
.Selection-card--default:focus,
|
|
18
18
|
.Selection-card--default:focus-visible {
|
|
19
|
-
outline:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
inset 0 0 0 var(--spacing-2-5) var(--secondary-dark);
|
|
19
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
20
|
+
outline-offset: var(--spacing-05);
|
|
21
|
+
box-shadow: inset 0 0 0 var(--spacing-2-5) var(--secondary-dark);
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
.Selection-card--default:active {
|
|
@@ -48,10 +47,9 @@
|
|
|
48
47
|
|
|
49
48
|
.Selection-card--selected:focus,
|
|
50
49
|
.Selection-card--selected:focus-visible {
|
|
51
|
-
outline:
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
inset 0 0 0 var(--spacing-05) var(--primary);
|
|
50
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
51
|
+
outline-offset: var(--spacing-05);
|
|
52
|
+
box-shadow: inset 0 0 0 var(--spacing-05) var(--primary);
|
|
55
53
|
}
|
|
56
54
|
|
|
57
55
|
.Selection-card--selected:active {
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: center;
|
|
20
20
|
overflow: hidden;
|
|
21
|
+
padding-bottom: var(--spacing-20);
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
.Slider-progress {
|
|
@@ -35,6 +36,10 @@
|
|
|
35
36
|
border: var(--border);
|
|
36
37
|
}
|
|
37
38
|
|
|
39
|
+
.Slider-axis {
|
|
40
|
+
margin-top: calc(-1 * var(--spacing-20));
|
|
41
|
+
}
|
|
42
|
+
|
|
38
43
|
.Slider-label {
|
|
39
44
|
margin-top: var(--spacing-10);
|
|
40
45
|
-webkit-transform: translate(-50%, 0px);
|
|
@@ -90,6 +95,18 @@
|
|
|
90
95
|
background-color var(--duration--fast-01) var(--standard-productive-curve);
|
|
91
96
|
}
|
|
92
97
|
|
|
98
|
+
.Slider-handle::after {
|
|
99
|
+
content: '';
|
|
100
|
+
position: absolute;
|
|
101
|
+
top: 50%;
|
|
102
|
+
left: 50%;
|
|
103
|
+
transform: translate(-50%, -50%);
|
|
104
|
+
width: var(--spacing-60);
|
|
105
|
+
height: var(--spacing-60);
|
|
106
|
+
background-color: transparent;
|
|
107
|
+
border-radius: var(--border-radius-full);
|
|
108
|
+
}
|
|
109
|
+
|
|
93
110
|
.Slider-handle:hover {
|
|
94
111
|
background-color: var(--primary-lightest);
|
|
95
112
|
}
|
|
@@ -99,8 +116,13 @@
|
|
|
99
116
|
}
|
|
100
117
|
|
|
101
118
|
.Slider-handle:focus {
|
|
102
|
-
|
|
103
|
-
outline:
|
|
119
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
120
|
+
outline-offset: var(--spacing-05);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.Slider-handle:focus-visible {
|
|
124
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
125
|
+
outline-offset: var(--spacing-05);
|
|
104
126
|
}
|
|
105
127
|
|
|
106
128
|
.Slider-handle--disabled {
|
|
@@ -110,5 +132,6 @@
|
|
|
110
132
|
}
|
|
111
133
|
|
|
112
134
|
.Slider-handle--disabled:focus {
|
|
135
|
+
outline: none;
|
|
113
136
|
box-shadow: none;
|
|
114
137
|
}
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.Circle--primary {
|
|
57
|
-
stroke: var(--primary);
|
|
57
|
+
stroke: var(--primary-dark);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.Circle--secondary {
|
|
61
|
-
stroke: var(--
|
|
61
|
+
stroke: var(--inverse-lighter);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.Circle--white {
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.Circle--alert {
|
|
69
|
-
stroke: var(--alert);
|
|
69
|
+
stroke: var(--alert-dark);
|
|
70
70
|
}
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
|
|
24
24
|
.Step:focus,
|
|
25
25
|
.Step:focus-visible {
|
|
26
|
-
|
|
27
|
-
outline:
|
|
26
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
27
|
+
outline-offset: var(--spacing-05);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/* Completed State */
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
|
|
44
44
|
.Step--completed:focus,
|
|
45
45
|
.Step--completed:focus-visible {
|
|
46
|
-
|
|
47
|
-
outline:
|
|
46
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
47
|
+
outline-offset: var(--spacing-05);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/* Active State */
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
background-color: var(--primary-lightest);
|
|
54
54
|
color: var(--primary-dark);
|
|
55
55
|
transition-delay: var(--duration--fast-02);
|
|
56
|
+
box-shadow: inset 0 0 0 var(--border-width-05) var(--primary);
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
.Step--active:hover {
|
|
@@ -62,8 +63,8 @@
|
|
|
62
63
|
.Step--active:focus,
|
|
63
64
|
.Step--active:focus-visible {
|
|
64
65
|
background-color: var(--primary-lightest);
|
|
65
|
-
|
|
66
|
-
outline:
|
|
66
|
+
outline: var(--border-width-05) solid var(--primary-focus);
|
|
67
|
+
outline-offset: var(--spacing-05);
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
.Step--active:active {
|
|
@@ -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 {
|