@dbcdk/react-components 0.0.12 → 0.0.13
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/dist/components/accordion/Accordion.d.ts +2 -2
- package/dist/components/accordion/Accordion.js +34 -41
- package/dist/components/accordion/Accordion.module.css +13 -72
- package/dist/components/accordion/components/AccordionRow.d.ts +10 -0
- package/dist/components/accordion/components/AccordionRow.js +51 -0
- package/dist/components/accordion/components/AccordionRow.module.css +82 -0
- package/dist/components/breadcrumbs/Breadcrumbs.module.css +0 -1
- package/dist/components/button/Button.module.css +7 -7
- package/dist/components/card/Card.d.ts +9 -18
- package/dist/components/card/Card.js +34 -23
- package/dist/components/card/Card.module.css +22 -87
- package/dist/components/card/components/CardMeta.d.ts +15 -0
- package/dist/components/card/components/CardMeta.js +20 -0
- package/dist/components/card/components/CardMeta.module.css +51 -0
- package/dist/components/card-container/CardContainer.js +1 -1
- package/dist/components/card-container/CardContainer.module.css +3 -1
- package/dist/components/chip/Chip.module.css +7 -2
- package/dist/components/datetime-picker/DateTimePicker.d.ts +33 -8
- package/dist/components/datetime-picker/DateTimePicker.js +119 -78
- package/dist/components/datetime-picker/DateTimePicker.module.css +2 -0
- package/dist/components/datetime-picker/dateTimeHelpers.d.ts +15 -3
- package/dist/components/datetime-picker/dateTimeHelpers.js +137 -23
- package/dist/components/filter-field/FilterField.module.css +5 -5
- package/dist/components/forms/form-select/FormSelect.d.ts +35 -0
- package/dist/components/forms/form-select/FormSelect.js +86 -0
- package/dist/components/forms/form-select/FormSelect.module.css +236 -0
- package/dist/components/forms/input/Input.d.ts +0 -3
- package/dist/components/forms/input/Input.js +0 -3
- package/dist/components/forms/input/Input.module.css +7 -7
- package/dist/components/forms/radio-buttons/RadioButtons.module.css +1 -0
- package/dist/components/forms/select/Select.js +55 -16
- package/dist/components/interval-select/IntervalSelect.d.ts +9 -2
- package/dist/components/interval-select/IntervalSelect.js +21 -6
- package/dist/components/menu/Menu.d.ts +11 -14
- package/dist/components/menu/Menu.js +18 -33
- package/dist/components/menu/Menu.module.css +2 -2
- package/dist/components/overlay/modal/Modal.module.css +2 -1
- package/dist/components/overlay/modal/provider/ModalProvider.js +1 -3
- package/dist/components/overlay/side-panel/SidePanel.js +1 -1
- package/dist/components/overlay/side-panel/SidePanel.module.css +1 -1
- package/dist/components/page-layout/PageLayout.d.ts +16 -4
- package/dist/components/page-layout/PageLayout.js +57 -28
- package/dist/components/page-layout/PageLayout.module.css +153 -33
- package/dist/components/popover/Popover.d.ts +17 -4
- package/dist/components/popover/Popover.js +147 -65
- package/dist/components/popover/Popover.module.css +5 -0
- package/dist/components/split-pane/SplitPane.d.ts +10 -24
- package/dist/components/split-pane/SplitPane.js +83 -54
- package/dist/components/split-pane/SplitPane.module.css +11 -6
- package/dist/components/split-pane/provider/SplitPaneContext.js +5 -11
- package/dist/components/sticky-footer-layout/StickyFooterLayout.d.ts +3 -8
- package/dist/components/sticky-footer-layout/StickyFooterLayout.js +57 -20
- package/dist/components/table/Table.d.ts +3 -8
- package/dist/components/table/Table.js +37 -76
- package/dist/components/table/Table.module.css +45 -42
- package/dist/components/table/{tanstack.d.ts → TanstackTable.d.ts} +5 -12
- package/dist/components/table/TanstackTable.js +84 -0
- package/dist/components/table/components/column-resizer/ColumnResizer.js +1 -1
- package/dist/components/table/components/column-resizer/ColumnResizer.module.css +17 -7
- package/dist/components/table/table.utils.d.ts +17 -0
- package/dist/components/table/table.utils.js +61 -0
- package/dist/components/table/tanstackTable.utils.d.ts +22 -0
- package/dist/components/table/tanstackTable.utils.js +104 -0
- package/dist/components/tabs/Tabs.d.ts +35 -12
- package/dist/components/tabs/Tabs.js +114 -26
- package/dist/components/tabs/Tabs.module.css +158 -71
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/src/styles/styles.css +0 -1
- package/dist/styles/styles.css +0 -1
- package/dist/styles/themes/dbc/base.css +136 -0
- package/dist/styles/themes/dbc/dark.css +39 -202
- package/dist/styles/themes/dbc/light.css +17 -174
- package/package.json +4 -4
- package/dist/components/table/tanstack.js +0 -214
|
@@ -1,113 +1,200 @@
|
|
|
1
|
-
.
|
|
1
|
+
.root {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
|
|
5
|
-
gap: var(--spacing-xl);
|
|
6
|
-
overflow: hidden;
|
|
4
|
+
min-width: 0;
|
|
7
5
|
}
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
.tabs.filled {
|
|
17
|
-
gap: 0;
|
|
18
|
-
}
|
|
19
|
-
.tabs.filled .tabList {
|
|
20
|
-
border-start-start-radius: var(--border-radius-default);
|
|
21
|
-
border-start-end-radius: var(--border-radius-default);
|
|
22
|
-
inline-size: fit-content;
|
|
23
|
-
}
|
|
24
|
-
.tabs.filled .tab {
|
|
25
|
-
border: var(--border-width-thin) solid transparent;
|
|
26
|
-
color: var(--color-fg-muted);
|
|
27
|
-
font-size: var(--font-size-sm);
|
|
28
|
-
z-index: 3;
|
|
29
|
-
transition:
|
|
30
|
-
background-color var(--transition-fast) var(--ease-standard),
|
|
31
|
-
color var(--transition-fast) var(--ease-standard);
|
|
32
|
-
border-start-start-radius: var(--border-radius-default);
|
|
33
|
-
border-start-end-radius: var(--border-radius-default);
|
|
34
|
-
}
|
|
35
|
-
.tabs.filled .tab:not(.active):hover {
|
|
36
|
-
color: var(--color-brand);
|
|
7
|
+
.headerContainer {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
align-items: center;
|
|
11
|
+
padding-block: var(--spacing-lg);
|
|
12
|
+
gap: var(--spacing-md);
|
|
37
13
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
14
|
+
|
|
15
|
+
/* Outer wrapper for tablist + content */
|
|
16
|
+
.tabs {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
42
19
|
flex-grow: 1;
|
|
43
|
-
overflow:
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
min-height: 0;
|
|
44
22
|
}
|
|
45
23
|
|
|
46
|
-
/*
|
|
47
|
-
.
|
|
48
|
-
|
|
49
|
-
|
|
24
|
+
/* Tablist */
|
|
25
|
+
.tabList {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-wrap: wrap;
|
|
28
|
+
min-width: 0;
|
|
50
29
|
}
|
|
51
|
-
|
|
52
|
-
|
|
30
|
+
|
|
31
|
+
/* Individual tab wrapper */
|
|
32
|
+
.tab {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
border-radius: 0;
|
|
36
|
+
border-block-end: 2px solid var(--color-border-default);
|
|
53
37
|
}
|
|
54
|
-
|
|
55
|
-
|
|
38
|
+
|
|
39
|
+
.active {
|
|
40
|
+
border-block-end-color: var(--color-brand);
|
|
56
41
|
}
|
|
57
42
|
|
|
43
|
+
/* Button */
|
|
58
44
|
.tabButton {
|
|
59
|
-
text-transform: var(--tab-label-transform);
|
|
60
45
|
font-size: var(--font-size-sm);
|
|
61
46
|
color: inherit;
|
|
47
|
+
|
|
62
48
|
display: inline-flex;
|
|
63
|
-
white-space: nowrap;
|
|
64
|
-
background: none;
|
|
65
49
|
align-items: center;
|
|
66
50
|
justify-content: center;
|
|
67
51
|
gap: var(--spacing-xs);
|
|
52
|
+
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
|
|
55
|
+
background: none;
|
|
68
56
|
border: 0;
|
|
69
57
|
border-radius: 0;
|
|
70
|
-
|
|
58
|
+
|
|
59
|
+
padding-block: var(--spacing-sm);
|
|
71
60
|
padding-inline: var(--spacing-md);
|
|
61
|
+
|
|
72
62
|
cursor: pointer;
|
|
63
|
+
|
|
73
64
|
transition:
|
|
74
|
-
border var(--transition-normal) var(--ease-standard),
|
|
75
65
|
color var(--transition-fast) var(--ease-standard),
|
|
76
|
-
background-color var(--transition-fast) var(--ease-standard)
|
|
66
|
+
background-color var(--transition-fast) var(--ease-standard),
|
|
67
|
+
border-color var(--transition-fast) var(--ease-standard);
|
|
77
68
|
}
|
|
69
|
+
|
|
78
70
|
.tabButton:focus-visible {
|
|
79
71
|
outline: none;
|
|
80
72
|
box-shadow: var(--focus-ring);
|
|
81
73
|
}
|
|
82
74
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
flex-wrap: wrap;
|
|
75
|
+
.tabButton:disabled {
|
|
76
|
+
cursor: not-allowed;
|
|
77
|
+
color: var(--color-disabled-fg);
|
|
87
78
|
}
|
|
88
79
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
80
|
+
/* Icon + label */
|
|
81
|
+
.icon {
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
color: inherit;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.icon svg {
|
|
88
|
+
inline-size: var(--icon-size-md);
|
|
89
|
+
block-size: var(--icon-size-md);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.label {
|
|
93
|
+
display: inline-block;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.badge {
|
|
97
|
+
display: inline-flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Content panel */
|
|
102
|
+
.tabContent {
|
|
103
|
+
flex: 1 1 auto;
|
|
104
|
+
min-height: 0;
|
|
105
|
+
overflow: auto;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* =========================
|
|
109
|
+
Filled variant
|
|
110
|
+
========================= */
|
|
111
|
+
|
|
112
|
+
.filled {
|
|
113
|
+
gap: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.filled .tabList {
|
|
117
|
+
border-start-start-radius: var(--border-radius-default);
|
|
118
|
+
border-start-end-radius: var(--border-radius-default);
|
|
119
|
+
inline-size: fit-content;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.filled .tab {
|
|
123
|
+
border: var(--border-width-thin) solid transparent;
|
|
124
|
+
border-block-end: 0;
|
|
125
|
+
color: var(--color-fg-muted);
|
|
126
|
+
z-index: 3;
|
|
127
|
+
border-start-start-radius: var(--border-radius-default);
|
|
128
|
+
border-start-end-radius: var(--border-radius-default);
|
|
129
|
+
transition:
|
|
130
|
+
background-color var(--transition-fast) var(--ease-standard),
|
|
131
|
+
color var(--transition-fast) var(--ease-standard),
|
|
132
|
+
border-color var(--transition-fast) var(--ease-standard);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.filled .tab:not(.active):hover {
|
|
136
|
+
color: var(--color-brand);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.filled .tab.active {
|
|
140
|
+
background: var(--opac-bg-brand);
|
|
141
|
+
color: var(--color-brand);
|
|
142
|
+
border-color: var(--opac-bg-dark);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.filled .tabContent {
|
|
146
|
+
border: var(--border-width-thin) solid var(--opac-bg-dark);
|
|
147
|
+
background: var(--color-bg-surface);
|
|
148
|
+
padding: var(--spacing-lg);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* =========================
|
|
152
|
+
Outlined variant
|
|
153
|
+
========================= */
|
|
154
|
+
|
|
155
|
+
.outlined {
|
|
156
|
+
gap: var(--spacing-md);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.outlined .tab {
|
|
160
|
+
color: var(--color-fg-muted);
|
|
93
161
|
border-block-end: 2px solid var(--color-border-default);
|
|
162
|
+
transition: color var(--transition-fast) var(--ease-standard);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.outlined .tab:not(.active):hover {
|
|
166
|
+
color: var(--color-brand);
|
|
94
167
|
}
|
|
95
|
-
|
|
168
|
+
|
|
169
|
+
.outlined .tab.active {
|
|
170
|
+
color: var(--color-brand);
|
|
96
171
|
border-block-end-color: var(--color-brand);
|
|
97
172
|
}
|
|
98
173
|
|
|
99
|
-
.
|
|
100
|
-
|
|
101
|
-
|
|
174
|
+
.outlined .tabContent {
|
|
175
|
+
/* plain panel by default */
|
|
176
|
+
background: transparent;
|
|
177
|
+
padding: 0;
|
|
102
178
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
179
|
+
|
|
180
|
+
/* =========================
|
|
181
|
+
Panel style modifier
|
|
182
|
+
========================= */
|
|
183
|
+
|
|
184
|
+
.panelStyle .tabList {
|
|
185
|
+
border: var(--border-width-thin) solid var(--color-border-default);
|
|
186
|
+
border-block-end: 0;
|
|
106
187
|
}
|
|
107
188
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
189
|
+
/* When panelStyle is on, tabs look “embedded” (no bottom border indicators) */
|
|
190
|
+
.panelStyle .tab {
|
|
191
|
+
border-block-end: 0;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/* In filled mode, keep the filled content panel visuals (already handled above).
|
|
195
|
+
In outlined mode with panelStyle, give the content a panel container too. */
|
|
196
|
+
.panelStyle.outlined .tabContent {
|
|
197
|
+
border: var(--border-width-thin) solid var(--color-border-default);
|
|
198
|
+
background: var(--color-bg-surface);
|
|
199
|
+
padding: var(--spacing-lg);
|
|
113
200
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export * from './hooks/useTableSettings';
|
|
|
53
53
|
export * from './components/table/components/table-settings/TableSettings';
|
|
54
54
|
export * from './components/filtering/chip-multi-toggle/ChipMultiToggle';
|
|
55
55
|
export * from './components/forms/checkbox-group/CheckboxGroup';
|
|
56
|
-
export * from './components/table/
|
|
56
|
+
export * from './components/table/TanstackTable';
|
|
57
57
|
export * from './components/overlay/side-panel/SidePanel';
|
|
58
58
|
export * from './components/overlay/side-panel/useSidePanel';
|
|
59
59
|
export * from './components/forms/input-container/InputContainer';
|
package/dist/index.js
CHANGED
|
@@ -53,7 +53,7 @@ export * from './hooks/useTableSettings';
|
|
|
53
53
|
export * from './components/table/components/table-settings/TableSettings';
|
|
54
54
|
export * from './components/filtering/chip-multi-toggle/ChipMultiToggle';
|
|
55
55
|
export * from './components/forms/checkbox-group/CheckboxGroup';
|
|
56
|
-
export * from './components/table/
|
|
56
|
+
export * from './components/table/TanstackTable';
|
|
57
57
|
export * from './components/overlay/side-panel/SidePanel';
|
|
58
58
|
export * from './components/overlay/side-panel/useSidePanel';
|
|
59
59
|
export * from './components/forms/input-container/InputContainer';
|
package/dist/styles/styles.css
CHANGED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* ==========================================================================
|
|
3
|
+
* NON-COLOR SYSTEM TOKENS (SHARED)
|
|
4
|
+
* ======================================================================= */
|
|
5
|
+
|
|
6
|
+
/* Border widths */
|
|
7
|
+
--border-width-thin: 1px;
|
|
8
|
+
--border-width-medium: 2px;
|
|
9
|
+
--border-width-thick: 4px;
|
|
10
|
+
|
|
11
|
+
/* ===== Spacing & Layout ===== */
|
|
12
|
+
--spacing-2xs: 2px;
|
|
13
|
+
--spacing-xxs: 4px;
|
|
14
|
+
--spacing-xs: 8px;
|
|
15
|
+
--spacing-sm: 12px;
|
|
16
|
+
--spacing-md: 16px;
|
|
17
|
+
--spacing-lg: 24px;
|
|
18
|
+
--spacing-xl: 32px;
|
|
19
|
+
--spacing-2xl: 48px;
|
|
20
|
+
--spacing-3xl: 64px;
|
|
21
|
+
--spacing-4xl: 96px;
|
|
22
|
+
|
|
23
|
+
/* Breakpoints & Containers */
|
|
24
|
+
--bp-xs: 480px;
|
|
25
|
+
--bp-sm: 640px;
|
|
26
|
+
--bp-md: 768px;
|
|
27
|
+
--bp-lg: 1024px;
|
|
28
|
+
--bp-xl: 1280px;
|
|
29
|
+
|
|
30
|
+
--container-xs: 480px;
|
|
31
|
+
--container-sm: 640px;
|
|
32
|
+
--container-md: 768px;
|
|
33
|
+
--container-lg: 1024px;
|
|
34
|
+
--container-xl: 1280px;
|
|
35
|
+
|
|
36
|
+
/* ===== Sizing ===== */
|
|
37
|
+
--icon-size-sm: 16px;
|
|
38
|
+
--icon-size-md: 20px;
|
|
39
|
+
--icon-size-lg: 24px;
|
|
40
|
+
|
|
41
|
+
--component-size-xxs: 12px;
|
|
42
|
+
--component-size-xs: 20px;
|
|
43
|
+
--component-size-sm: 30px;
|
|
44
|
+
--component-size-md: 36px;
|
|
45
|
+
--component-size-lg: 44px;
|
|
46
|
+
--component-size-xl: 435px;
|
|
47
|
+
--sidebar-width: 180px;
|
|
48
|
+
|
|
49
|
+
/* Border Radius */
|
|
50
|
+
--border-radius-none: 0px;
|
|
51
|
+
--border-radius-default: 4px;
|
|
52
|
+
--border-radius-rounded: 32px;
|
|
53
|
+
--border-radius-round: 50%;
|
|
54
|
+
--border-radius-sm: 2px;
|
|
55
|
+
--border-radius-md: 6px;
|
|
56
|
+
--border-radius-lg: 8px;
|
|
57
|
+
--border-radius-xl: 12px;
|
|
58
|
+
|
|
59
|
+
/* Typography */
|
|
60
|
+
--text-max-width: 65ch;
|
|
61
|
+
|
|
62
|
+
--font-family:
|
|
63
|
+
Roboto, Inter, ui-sans-serif, system-ui, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
64
|
+
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
|
|
65
|
+
|
|
66
|
+
--font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
|
|
67
|
+
|
|
68
|
+
--font-size-xs: 12px;
|
|
69
|
+
--font-size-sm: 14px;
|
|
70
|
+
--font-size-md: 16px;
|
|
71
|
+
--font-size-lg: 18px;
|
|
72
|
+
--font-size-xl: 24px;
|
|
73
|
+
--font-size-2xl: 30px;
|
|
74
|
+
|
|
75
|
+
--font-weight-default: 400;
|
|
76
|
+
--font-weight-medium: 500;
|
|
77
|
+
--font-weight-semibold: 600;
|
|
78
|
+
--font-weight-bold: 700;
|
|
79
|
+
--font-weight-extrabold: 800;
|
|
80
|
+
|
|
81
|
+
--line-height-tight: 1.25;
|
|
82
|
+
--line-height-normal: 1.5;
|
|
83
|
+
--line-height-relaxed: 1.75;
|
|
84
|
+
|
|
85
|
+
--letter-spacing-tight: -0.01em;
|
|
86
|
+
--letter-spacing-normal: 0;
|
|
87
|
+
--letter-spacing-wide: 0.02em;
|
|
88
|
+
|
|
89
|
+
/* Motion */
|
|
90
|
+
--transition-fast: 150ms;
|
|
91
|
+
--transition-normal: 250ms;
|
|
92
|
+
--transition-slow: 400ms;
|
|
93
|
+
|
|
94
|
+
--ease-standard: cubic-bezier(0.2, 0, 0.2, 1);
|
|
95
|
+
--ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
|
|
96
|
+
--ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
|
|
97
|
+
--ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
|
|
98
|
+
|
|
99
|
+
/* Elevation & Overlay */
|
|
100
|
+
--overlay-scrim: rgba(0, 0, 0, 0.5);
|
|
101
|
+
--backdrop-blur: 8px;
|
|
102
|
+
|
|
103
|
+
/* Layers */
|
|
104
|
+
--z-base: 0;
|
|
105
|
+
|
|
106
|
+
--z-dropdown: 1000;
|
|
107
|
+
--z-sticky: 1100;
|
|
108
|
+
--z-banner: 1150;
|
|
109
|
+
--z-backdrop-drawer: 1145;
|
|
110
|
+
--z-drawer: 1200;
|
|
111
|
+
--z-backdrop-modal: 1245;
|
|
112
|
+
--z-modal: 1250;
|
|
113
|
+
--z-popover: 1300;
|
|
114
|
+
--z-tooltip: 1400;
|
|
115
|
+
--z-toast: 1500;
|
|
116
|
+
|
|
117
|
+
/* Skeletons & loaders (structure shared; colors overridden per theme if desired) */
|
|
118
|
+
--spinner-size: 16px;
|
|
119
|
+
--spinner-stroke: 2px;
|
|
120
|
+
|
|
121
|
+
/* Logical spacing */
|
|
122
|
+
--space-inline-sm: 8px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* Reduced motion (shared) */
|
|
126
|
+
@media (prefers-reduced-motion: reduce) {
|
|
127
|
+
:root {
|
|
128
|
+
--transition-fast: 1ms;
|
|
129
|
+
--transition-normal: 1ms;
|
|
130
|
+
--transition-slow: 1ms;
|
|
131
|
+
}
|
|
132
|
+
* {
|
|
133
|
+
animation: none !important;
|
|
134
|
+
transition-duration: 1ms !important;
|
|
135
|
+
}
|
|
136
|
+
}
|