@databricks/design-system 2.0.4 → 2.0.5
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 +24 -0
- package/dist/RHFControlledTypeaheadComboboxV2-DsH-nIEk.js +172 -0
- package/dist/RHFControlledTypeaheadComboboxV2-DsH-nIEk.js.map +1 -0
- package/dist/{WizardStepContentWrapper-8bs2FwRi.js → WizardStepContentWrapper-Bq1wm0V7.js} +554 -404
- package/dist/WizardStepContentWrapper-Bq1wm0V7.js.map +1 -0
- package/dist/index-BRAVZg-S.js +8308 -0
- package/dist/index-BRAVZg-S.js.map +1 -0
- package/dist/index-dark.css +364 -97
- package/dist/index-dark.mitigated.css +367 -100
- package/dist/index.css +684 -117
- package/dist/index.js +25 -8146
- package/dist/index.js.map +1 -1
- package/dist/index.mitigated.css +688 -121
- package/dist/patterns.js +1 -1
- package/dist-types/design-system/Breadcrumb/Breadcrumb.d.ts +10 -3
- package/dist-types/design-system/Button/AntDButtonInternal.d.ts +21 -0
- package/dist-types/design-system/Button/Button.d.ts +3 -19
- package/dist-types/design-system/Button/NativeButton.d.ts +3 -0
- package/dist-types/design-system/Button/getBtnClassName.d.ts +17 -0
- package/dist-types/design-system/Button/index.d.ts +1 -0
- package/dist-types/design-system/DesignSystemProvider/DesignTokenScopeWithEmotionTheme.d.ts +4 -4
- package/dist-types/design-system/FormV2/RHFAdapters.d.ts +8 -0
- package/dist-types/design-system/FormV2/RHFControlledTypeaheadComboboxV2.d.ts +58 -0
- package/dist-types/design-system/Icon/Icon.d.ts +2 -2
- package/dist-types/design-system/Icon/__generated/icons/ColorMappingEditIcon.d.ts +4 -0
- package/dist-types/design-system/Icon/__generated/icons/ColorMappingIcon.d.ts +4 -0
- package/dist-types/design-system/Icon/__generated/icons/MicrophoneIcon.d.ts +4 -0
- package/dist-types/design-system/Icon/__generated/icons/MicrophoneOffIcon.d.ts +4 -0
- package/dist-types/design-system/Icon/__generated/icons/OperatorIcon.d.ts +4 -0
- package/dist-types/design-system/Icon/__generated/icons/VoiceModeIcon.d.ts +4 -0
- package/dist-types/design-system/Icon/__generated/icons/index.d.ts +6 -0
- package/dist-types/design-system/Overflow/Overflow.d.ts +3 -1
- package/dist-types/design-system/Overflow/OverflowPopover.d.ts +2 -1
- package/dist-types/design-system/TypeaheadComboboxV2/TypeaheadComboboxMenu.d.ts +2 -0
- package/dist-types/design-system/shape-tokens.d.ts +1 -1
- package/dist-types/test-utils/rtl/buttonVariants.d.ts +4 -4
- package/dist-types/~patterns/Wizard/WizardStepNavigation.d.ts +9 -0
- package/dist-types/~patterns/Wizard/index.d.ts +1 -0
- package/package.json +6 -4
- package/dist/WizardStepContentWrapper-8bs2FwRi.js.map +0 -1
package/dist/index.css
CHANGED
|
@@ -15994,7 +15994,7 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
15994
15994
|
*/
|
|
15995
15995
|
.db-stack {
|
|
15996
15996
|
/* These variables act as the *parameters* for the stack instance. */
|
|
15997
|
-
--db-stack-gap: var(--db-
|
|
15997
|
+
--db-stack-gap: var(--db-space-4);
|
|
15998
15998
|
--db-stack-align: stretch;
|
|
15999
15999
|
|
|
16000
16000
|
display: flex;
|
|
@@ -16022,7 +16022,7 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16022
16022
|
*/
|
|
16023
16023
|
.db-cluster {
|
|
16024
16024
|
/* These variables act as the *parameters* for the cluster instance. */
|
|
16025
|
-
--db-cluster-gap: var(--db-
|
|
16025
|
+
--db-cluster-gap: var(--db-space-2);
|
|
16026
16026
|
--db-cluster-align: center;
|
|
16027
16027
|
--db-cluster-justify: flex-start;
|
|
16028
16028
|
|
|
@@ -16035,81 +16035,101 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16035
16035
|
|
|
16036
16036
|
:where(:root), :where(.du-bois-light) {
|
|
16037
16037
|
/* Neutral */
|
|
16038
|
-
--db-
|
|
16039
|
-
--db-subtle
|
|
16040
|
-
--db-strong
|
|
16038
|
+
--db-surface-base: var(--db-color-background-primary);
|
|
16039
|
+
--db-surface-subtle: var(--db-color-background-secondary);
|
|
16040
|
+
--db-surface-strong: initial; /* TODO */
|
|
16041
16041
|
|
|
16042
|
-
--db-
|
|
16043
|
-
--db-
|
|
16044
|
-
--db-
|
|
16042
|
+
--db-surface-inverse: initial; /* TODO */
|
|
16043
|
+
--db-surface-active: var(--db-color-table-background-selected-default);
|
|
16044
|
+
--db-surface-hover: var(--db-color-table-background-unselected-hover);
|
|
16045
|
+
--db-surface-disabled: var(--db-color-action-disabled-background);
|
|
16045
16046
|
|
|
16046
|
-
--db-
|
|
16047
|
-
--db-
|
|
16048
|
-
--db-
|
|
16047
|
+
--db-surface-selected: var(--db-color-table-background-selected-hover);
|
|
16048
|
+
--db-surface-selected-hover: initial; /* TODO */;
|
|
16049
|
+
--db-surface-selected-active: initial; /* TODO */;
|
|
16049
16050
|
|
|
16050
|
-
|
|
16051
|
-
--db-
|
|
16052
|
-
|
|
16053
|
-
--db-neutral-surface-disabled: var(--db-color-action-disabled-background);
|
|
16054
|
-
--db-text-on-neutral-surface-disabled: var(--db-color-action-disabled-text);
|
|
16051
|
+
/* Surface alpha-blending modifiers */
|
|
16052
|
+
--db-surface-backdrop: initial; /* TODO */;
|
|
16053
|
+
/* TODO: surface-tint for containers that distinguish some content */
|
|
16055
16054
|
|
|
16056
|
-
|
|
16057
|
-
--db-
|
|
16058
|
-
--db-
|
|
16059
|
-
--db-
|
|
16055
|
+
--db-text-base: var(--db-color-text-primary);
|
|
16056
|
+
--db-text-subtle: var(--db-color-text-secondary);
|
|
16057
|
+
--db-text-strong: initial; /* TODO */
|
|
16058
|
+
--db-text-disabled: var(--db-color-action-disabled-text);
|
|
16059
|
+
--db-text-suggestion: initial; /* TODO - e.g. input placeholder, loading text */
|
|
16060
|
+
--db-text-inverse: initial; /* TODO, stark contrast e.g. tooltip text */
|
|
16060
16061
|
|
|
16061
|
-
--db-
|
|
16062
|
-
--db-
|
|
16063
|
-
--db-
|
|
16064
|
-
--db-
|
|
16062
|
+
--db-border-base: var(--db-color-border);
|
|
16063
|
+
--db-border-subtle: initial; /* TODO */
|
|
16064
|
+
--db-border-strong: var(--db-color-border-accessible);
|
|
16065
|
+
--db-border-hover: initial; /* TODO */
|
|
16066
|
+
--db-border-active: initial; /* TODO */
|
|
16067
|
+
--db-border-disabled: initial; /* TODO */
|
|
16065
16068
|
|
|
16066
|
-
|
|
16067
|
-
--db-
|
|
16068
|
-
--db-
|
|
16069
|
+
/* Accent */
|
|
16070
|
+
--db-accent-surface: var(--db-color-action-primary-background-default);
|
|
16071
|
+
--db-accent-surface-subtle: var(--db-color-action-default-background-hover);
|
|
16072
|
+
--db-accent-surface-strong: var(--db-color-action-primary-background-hover);
|
|
16069
16073
|
|
|
16070
|
-
--db-
|
|
16071
|
-
--db-
|
|
16072
|
-
--db-
|
|
16073
|
-
--db-primary-surface-disabled: var(--db-color-action-disabled-background);
|
|
16074
|
-
--db-text-on-primary-surface-disabled: var(--db-color-action-disabled-text);
|
|
16074
|
+
--db-accent-surface-hover: var(--db-color-action-primary-background-hover);
|
|
16075
|
+
--db-accent-surface-active: initial; /* TODO */
|
|
16076
|
+
--db-accent-surface-selected: var(--db-color-action-primary-background-press);
|
|
16075
16077
|
|
|
16076
|
-
/*
|
|
16077
|
-
--db-
|
|
16078
|
-
--db-
|
|
16079
|
-
--db-strong-error-surface: var(--db-color-action-danger-primary-background-hover);
|
|
16078
|
+
/* In the current design, the text color for an accent surface does not change with hover, active, etc. */
|
|
16079
|
+
--db-accent-text: var(--db-color-action-link-default);
|
|
16080
|
+
--db-text-on-accent-surface: var(--db-color-action-primary-text-default);
|
|
16080
16081
|
|
|
16081
|
-
--db-
|
|
16082
|
-
--db-
|
|
16083
|
-
--db-
|
|
16084
|
-
--db-strong-text-on-error-surface: var(--db-color-action-danger-primary-text);
|
|
16082
|
+
--db-accent-border: var(--db-color-action-primary-background-default);
|
|
16083
|
+
--db-accent-border-hover: var(--db-color-action-primary-background-press);
|
|
16084
|
+
--db-accent-border-active: initial; /* TODO */;
|
|
16085
16085
|
|
|
16086
|
-
|
|
16087
|
-
--db-
|
|
16088
|
-
--db-
|
|
16086
|
+
/* Negative */
|
|
16087
|
+
--db-negative-surface: var(--db-color-action-danger-primary-background-default);
|
|
16088
|
+
--db-negative-surface-subtle: var(--db-color-background-danger);
|
|
16089
|
+
--db-negative-surface-strong: var(--db-color-action-danger-primary-background-hover);
|
|
16089
16090
|
|
|
16090
|
-
--db-
|
|
16091
|
-
--db-
|
|
16092
|
-
--db-
|
|
16093
|
-
--db-error-surface-disabled: var(--db-color-action-disabled-background);
|
|
16094
|
-
--db-text-on-error-surface-disabled: var(--db-color-action-disabled-text);
|
|
16091
|
+
--db-negative-surface-hover: var(--db-color-action-danger-primary-background-hover);
|
|
16092
|
+
--db-negative-surface-active: initial; /* TODO */
|
|
16093
|
+
--db-negative-surface-selected: var(--db-color-action-danger-primary-background-press);
|
|
16095
16094
|
|
|
16096
|
-
|
|
16097
|
-
--db-
|
|
16098
|
-
--db-subtle-warning-surface: var(--db-color-background-warning);
|
|
16095
|
+
--db-negative-text: var(--db-color-text-validation-danger);
|
|
16096
|
+
--db-text-on-negative-surface: var(--db-color-action-danger-primary-text);
|
|
16099
16097
|
|
|
16100
|
-
--db-
|
|
16101
|
-
--db-
|
|
16098
|
+
--db-negative-border: var(--db-color-action-danger-default-border-default);
|
|
16099
|
+
--db-negative-border-hover: initial; /* TODO */
|
|
16100
|
+
--db-negative-border-active: initial; /* TODO */
|
|
16102
16101
|
|
|
16103
|
-
|
|
16102
|
+
/* Caution */
|
|
16103
|
+
--db-caution-surface: initial; /* TODO */
|
|
16104
|
+
--db-caution-surface-subtle: var(--db-color-background-warning);
|
|
16105
|
+
--db-caution-surface-strong: initial; /* TODO */
|
|
16104
16106
|
|
|
16105
|
-
/*
|
|
16106
|
-
--db-
|
|
16107
|
-
--db-
|
|
16107
|
+
--db-caution-surface-hover: initial; /* TODO */
|
|
16108
|
+
--db-caution-surface-active: initial; /* TODO */
|
|
16109
|
+
--db-caution-surface-selected: initial; /* TODO */
|
|
16108
16110
|
|
|
16109
|
-
--db-text-
|
|
16110
|
-
--db-
|
|
16111
|
+
--db-caution-text: var(--db-color-text-validation-warning);
|
|
16112
|
+
--db-text-on-caution-surface: initial; /* TODO */
|
|
16111
16113
|
|
|
16112
|
-
--db-
|
|
16114
|
+
--db-caution-border: var(--db-color-border-warning);
|
|
16115
|
+
--db-caution-border-hover: initial; /* TODO */
|
|
16116
|
+
--db-caution-border-active: initial; /* TODO */
|
|
16117
|
+
|
|
16118
|
+
/* Positive */
|
|
16119
|
+
--db-positive-surface: initial; /* TODO */
|
|
16120
|
+
--db-positive-surface-subtle: var(--db-color-background-success);
|
|
16121
|
+
--db-positive-surface-strong: initial; /* TODO */
|
|
16122
|
+
|
|
16123
|
+
--db-positive-surface-hover: initial; /* TODO */
|
|
16124
|
+
--db-positive-surface-active: initial; /* TODO */
|
|
16125
|
+
--db-positive-surface-selected: initial; /* TODO */
|
|
16126
|
+
|
|
16127
|
+
--db-positive-text: var(--db-color-text-validation-success);
|
|
16128
|
+
--db-text-on-positive-surface: initial; /* TODO */
|
|
16129
|
+
|
|
16130
|
+
--db-positive-border: initial; /* TODO */
|
|
16131
|
+
--db-positive-border-hover: initial; /* TODO */
|
|
16132
|
+
--db-positive-border-active: initial; /* TODO */
|
|
16113
16133
|
}
|
|
16114
16134
|
|
|
16115
16135
|
|
|
@@ -16118,32 +16138,39 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16118
16138
|
--db-layout-unit: 0.25rem; /* 4px */
|
|
16119
16139
|
--db-density-scalar: 1;
|
|
16120
16140
|
--db-size-scalar: 1;
|
|
16121
|
-
--db-
|
|
16141
|
+
--db-space-scalar: 1;
|
|
16122
16142
|
|
|
16123
16143
|
/* Size and spacing are the same steps, but with their own scalars included in the calc. */
|
|
16124
16144
|
|
|
16125
|
-
--db-size-
|
|
16126
|
-
--db-size-
|
|
16127
|
-
--db-size-
|
|
16128
|
-
--db-size-
|
|
16129
|
-
--db-size-
|
|
16130
|
-
--db-size-
|
|
16145
|
+
--db-size-1: calc(var(--db-layout-unit) * 1 * var(--db-density-scalar) * var(--db-size-scalar)); /* 4px */
|
|
16146
|
+
--db-size-2: calc(var(--db-layout-unit) * 2 * var(--db-density-scalar) * var(--db-size-scalar)); /* 8px */
|
|
16147
|
+
--db-size-3: calc(var(--db-layout-unit) * 3 * var(--db-density-scalar) * var(--db-size-scalar)); /* 12px */
|
|
16148
|
+
--db-size-4: calc(var(--db-layout-unit) * 4 * var(--db-density-scalar) * var(--db-size-scalar)); /* 16px */
|
|
16149
|
+
--db-size-5: calc(var(--db-layout-unit) * 5 * var(--db-density-scalar) * var(--db-size-scalar)); /* 20px */
|
|
16150
|
+
--db-size-6: calc(var(--db-layout-unit) * 6 * var(--db-density-scalar) * var(--db-size-scalar)); /* 24px */
|
|
16151
|
+
--db-size-7: calc(var(--db-layout-unit) * 7 * var(--db-density-scalar) * var(--db-size-scalar)); /* 28px */
|
|
16152
|
+
--db-size-8: calc(var(--db-layout-unit) * 8 * var(--db-density-scalar) * var(--db-size-scalar)); /* 32px */
|
|
16153
|
+
--db-size-10: calc(var(--db-layout-unit) * 10 * var(--db-density-scalar) * var(--db-size-scalar)); /* 40px */
|
|
16154
|
+
--db-size-12: calc(var(--db-layout-unit) * 12 * var(--db-density-scalar) * var(--db-size-scalar)); /* 48px */
|
|
16131
16155
|
|
|
16132
|
-
--db-
|
|
16133
|
-
--db-
|
|
16134
|
-
--db-
|
|
16135
|
-
--db-
|
|
16136
|
-
--db-
|
|
16137
|
-
--db-
|
|
16156
|
+
--db-space-0-5: calc(var(--db-layout-unit) * 0.5 * var(--db-density-scalar) * var(--db-space-scalar)); /* 2px */
|
|
16157
|
+
--db-space-1: calc(var(--db-layout-unit) * 1 * var(--db-density-scalar) * var(--db-space-scalar)); /* 4px */
|
|
16158
|
+
--db-space-2: calc(var(--db-layout-unit) * 2 * var(--db-density-scalar) * var(--db-space-scalar)); /* 8px */
|
|
16159
|
+
--db-space-3: calc(var(--db-layout-unit) * 3 * var(--db-density-scalar) * var(--db-space-scalar)); /* 12px */
|
|
16160
|
+
--db-space-4: calc(var(--db-layout-unit) * 4 * var(--db-density-scalar) * var(--db-space-scalar)); /* 16px */
|
|
16161
|
+
--db-space-6: calc(var(--db-layout-unit) * 6 * var(--db-density-scalar) * var(--db-space-scalar)); /* 24px */
|
|
16162
|
+
--db-space-8: calc(var(--db-layout-unit) * 8 * var(--db-density-scalar) * var(--db-space-scalar)); /* 32px */
|
|
16163
|
+
--db-space-10: calc(var(--db-layout-unit) * 10 * var(--db-density-scalar) * var(--db-space-scalar)); /* 40px */
|
|
16138
16164
|
}
|
|
16139
16165
|
|
|
16140
16166
|
:where(:root), :where(.du-bois-light) {
|
|
16141
16167
|
--db-font-family:
|
|
16142
16168
|
"DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
16169
|
+
--db-numeric-font-family: var(--db-font-family);
|
|
16143
16170
|
--db-mono-font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
16144
16171
|
|
|
16145
|
-
--db-font-size-
|
|
16146
|
-
--db-font-size-
|
|
16172
|
+
--db-font-size-xs: 0.6875rem; /* 11px */
|
|
16173
|
+
--db-font-size-sm: 0.75rem; /* 12px */
|
|
16147
16174
|
--db-font-size-base: 0.8125rem; /* 13px */
|
|
16148
16175
|
--db-font-size-md: 0.875rem; /* 14px */
|
|
16149
16176
|
--db-font-size-lg: 0.9375rem; /* 15px */
|
|
@@ -16152,6 +16179,8 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16152
16179
|
--db-font-size-3xl: 1.5rem; /* 24px */
|
|
16153
16180
|
--db-font-size-4xl: 2rem; /* 32px */
|
|
16154
16181
|
|
|
16182
|
+
/* TODO: media query for mobile font sizes */
|
|
16183
|
+
|
|
16155
16184
|
/* Du Bois v1 ships 400 and 600 only */
|
|
16156
16185
|
--db-font-weight-normal: 400;
|
|
16157
16186
|
--db-font-weight-medium: initial; /* TODO */
|
|
@@ -16169,6 +16198,16 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16169
16198
|
:where(:root), :where(.du-bois-light) {
|
|
16170
16199
|
--db-focus-ring-color: var(--db-color-action-default-border-focus);
|
|
16171
16200
|
--db-focus-ring-width: 2px;
|
|
16201
|
+
--db-focus-ring-offset: 2px;
|
|
16202
|
+
}
|
|
16203
|
+
|
|
16204
|
+
:where(:root), :where(.du-bois-light) {
|
|
16205
|
+
--db-shape-control: 4px;
|
|
16206
|
+
--db-shape-control-large: 999px;
|
|
16207
|
+
--db-shape-container-small: 8px;
|
|
16208
|
+
--db-shape-container-medium: 12px;
|
|
16209
|
+
--db-shape-container-large: 16px;
|
|
16210
|
+
--db-shape-pill: 999px;
|
|
16172
16211
|
}
|
|
16173
16212
|
|
|
16174
16213
|
:where(:root), :where(.du-bois-light) {
|
|
@@ -16176,31 +16215,31 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16176
16215
|
--db-selection-toggle-border-radius: 4px;
|
|
16177
16216
|
|
|
16178
16217
|
/* Color */
|
|
16179
|
-
--db-selection-toggle-surface: var(--db-
|
|
16180
|
-
--db-selection-toggle-mark: var(--db-text-on-
|
|
16181
|
-
--db-selection-toggle-text: var(--db-text-
|
|
16182
|
-
--db-selection-toggle-border: var(--db-strong
|
|
16218
|
+
--db-selection-toggle-surface: var(--db-surface-base);
|
|
16219
|
+
--db-selection-toggle-mark: var(--db-text-on-accent-surface);
|
|
16220
|
+
--db-selection-toggle-text: var(--db-text-base);
|
|
16221
|
+
--db-selection-toggle-border: var(--db-border-strong);
|
|
16183
16222
|
|
|
16184
|
-
--db-selection-toggle-surface-hover: var(--db-
|
|
16185
|
-
--db-selection-toggle-surface-press: var(--db-
|
|
16186
|
-
--db-selection-toggle-surface-checked: var(--db-
|
|
16187
|
-
--db-selection-toggle-surface-checked-hover: var(--db-
|
|
16188
|
-
--db-selection-toggle-surface-checked-press: var(--db-
|
|
16189
|
-
--db-selection-toggle-surface-disabled: var(--db-
|
|
16190
|
-
--db-selection-toggle-surface-checked-disabled: var(--db-
|
|
16223
|
+
--db-selection-toggle-surface-hover: var(--db-surface-hover);
|
|
16224
|
+
--db-selection-toggle-surface-press: var(--db-surface-selected);
|
|
16225
|
+
--db-selection-toggle-surface-checked: var(--db-accent-surface);
|
|
16226
|
+
--db-selection-toggle-surface-checked-hover: var(--db-accent-surface-hover);
|
|
16227
|
+
--db-selection-toggle-surface-checked-press: var(--db-accent-surface-selected);
|
|
16228
|
+
--db-selection-toggle-surface-disabled: var(--db-surface-disabled);
|
|
16229
|
+
--db-selection-toggle-surface-checked-disabled: var(--db-surface-disabled);
|
|
16191
16230
|
|
|
16192
|
-
--db-selection-toggle-border-hover: var(--db-
|
|
16193
|
-
--db-selection-toggle-border-press: var(--db-
|
|
16194
|
-
--db-selection-toggle-border-disabled: var(--db-
|
|
16231
|
+
--db-selection-toggle-border-hover: var(--db-accent-surface-hover);
|
|
16232
|
+
--db-selection-toggle-border-press: var(--db-accent-surface-selected);
|
|
16233
|
+
--db-selection-toggle-border-disabled: var(--db-border-base);
|
|
16195
16234
|
|
|
16196
|
-
--db-selection-toggle-mark-disabled: var(--db-text-
|
|
16197
|
-
--db-selection-toggle-text-disabled: var(--db-text-
|
|
16235
|
+
--db-selection-toggle-mark-disabled: var(--db-text-disabled);
|
|
16236
|
+
--db-selection-toggle-text-disabled: var(--db-text-disabled);
|
|
16198
16237
|
|
|
16199
16238
|
--db-selection-toggle-shadow-checked: 0 0 0 1px var(--db-color-action-primary-background-default);
|
|
16200
16239
|
|
|
16201
16240
|
/* Density */
|
|
16202
|
-
--db-selection-toggle-size: var(--db-size-
|
|
16203
|
-
--db-selection-toggle-label-spacing: var(--db-
|
|
16241
|
+
--db-selection-toggle-size: var(--db-size-4);
|
|
16242
|
+
--db-selection-toggle-label-spacing: var(--db-space-2);
|
|
16204
16243
|
|
|
16205
16244
|
/* Motion */
|
|
16206
16245
|
--db-selection-toggle-transition-duration: 120ms;
|
|
@@ -16237,8 +16276,8 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16237
16276
|
--db-checkbox-size: var(--db-selection-toggle-size);
|
|
16238
16277
|
--db-checkbox-label-spacing: var(--db-selection-toggle-label-spacing);
|
|
16239
16278
|
--db-checkbox-focus-ring-width: var(--db-focus-ring-width);
|
|
16240
|
-
--db-checkbox-indeterminate-mark-width: var(--db-size-
|
|
16241
|
-
--db-checkbox-indeterminate-mark-height: calc(var(--db-size-
|
|
16279
|
+
--db-checkbox-indeterminate-mark-width: var(--db-size-2); /* 8px */
|
|
16280
|
+
--db-checkbox-indeterminate-mark-height: calc(var(--db-size-1) * 0.75); /* 3px */
|
|
16242
16281
|
|
|
16243
16282
|
/* Motion */
|
|
16244
16283
|
--db-checkbox-transition-duration: var(--db-selection-toggle-transition-duration);
|
|
@@ -16465,7 +16504,7 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16465
16504
|
.db-checkbox.db-checkbox + .du-bois-dark-form-message,
|
|
16466
16505
|
.db-checkbox.db-checkbox + .du-bois-light-hint + .du-bois-light-form-message,
|
|
16467
16506
|
.db-checkbox.db-checkbox + .du-bois-dark-hint + .du-bois-dark-form-message {
|
|
16468
|
-
padding-left: var(--db-
|
|
16507
|
+
padding-left: var(--db-space-6);
|
|
16469
16508
|
margin-top: 0;
|
|
16470
16509
|
}
|
|
16471
16510
|
|
|
@@ -16476,7 +16515,7 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16476
16515
|
.du-bois-dark-hint + .db-checkbox-group.db-checkbox-group,
|
|
16477
16516
|
.db-checkbox-group.db-checkbox-group + .du-bois-light-form-message,
|
|
16478
16517
|
.db-checkbox-group.db-checkbox-group + .du-bois-dark-form-message {
|
|
16479
|
-
margin-top: var(--db-
|
|
16518
|
+
margin-top: var(--db-space-2);
|
|
16480
16519
|
}
|
|
16481
16520
|
|
|
16482
16521
|
/* CheckboxGroup layout. Vertical delegates to the `.db-stack` primitive; the
|
|
@@ -16533,7 +16572,7 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16533
16572
|
/* Density */
|
|
16534
16573
|
--db-radio-size: var(--db-selection-toggle-size);
|
|
16535
16574
|
--db-radio-label-spacing: var(--db-selection-toggle-label-spacing);
|
|
16536
|
-
--db-radio-mark-size: var(--db-size-
|
|
16575
|
+
--db-radio-mark-size: var(--db-size-1);
|
|
16537
16576
|
|
|
16538
16577
|
/* Motion */
|
|
16539
16578
|
--db-radio-transition-duration: var(--db-selection-toggle-transition-duration);
|
|
@@ -16733,7 +16772,7 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16733
16772
|
.db-radio.db-radio + .du-bois-dark-form-message,
|
|
16734
16773
|
.db-radio.db-radio + .du-bois-light-hint + .du-bois-light-form-message,
|
|
16735
16774
|
.db-radio.db-radio + .du-bois-dark-hint + .du-bois-dark-form-message {
|
|
16736
|
-
padding-inline-start: var(--db-
|
|
16775
|
+
padding-inline-start: var(--db-space-6);
|
|
16737
16776
|
margin-top: 0;
|
|
16738
16777
|
}
|
|
16739
16778
|
|
|
@@ -16749,8 +16788,8 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16749
16788
|
.db-radio-group.db-stack > .db-radio.db-radio + .du-bois-dark-form-message,
|
|
16750
16789
|
.db-radio-group.db-stack > .db-radio.db-radio + .du-bois-light-hint + .du-bois-light-form-message,
|
|
16751
16790
|
.db-radio-group.db-stack > .db-radio.db-radio + .du-bois-dark-hint + .du-bois-dark-form-message {
|
|
16752
|
-
margin-top: calc(-1 * var(--db-
|
|
16753
|
-
margin-bottom: var(--db-
|
|
16791
|
+
margin-top: calc(-1 * var(--db-space-2));
|
|
16792
|
+
margin-bottom: var(--db-space-2);
|
|
16754
16793
|
}
|
|
16755
16794
|
|
|
16756
16795
|
/* AntD `& > label:last-of-type + hint { marginTop: 0 }`: the last radio has no
|
|
@@ -16768,7 +16807,7 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16768
16807
|
.du-bois-dark-hint + .db-radio-group.db-radio-group,
|
|
16769
16808
|
.db-radio-group.db-radio-group + .du-bois-light-form-message,
|
|
16770
16809
|
.db-radio-group.db-radio-group + .du-bois-dark-form-message {
|
|
16771
|
-
margin-top: var(--db-
|
|
16810
|
+
margin-top: var(--db-space-2);
|
|
16772
16811
|
}
|
|
16773
16812
|
|
|
16774
16813
|
/* RadioGroup layout. Vertical (the default) delegates flex-direction to the
|
|
@@ -16789,7 +16828,7 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16789
16828
|
|
|
16790
16829
|
/* AntD `& > label { paddingBottom: sm }`. */
|
|
16791
16830
|
.db-radio-group.db-stack > .db-radio {
|
|
16792
|
-
padding-bottom: var(--db-
|
|
16831
|
+
padding-bottom: var(--db-space-2);
|
|
16793
16832
|
}
|
|
16794
16833
|
|
|
16795
16834
|
/* AntD `& > label:last-of-type { paddingBottom: 0 }`. */
|
|
@@ -16805,7 +16844,7 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16805
16844
|
.db-radio-group.db-stack > .du-bois-light-radio-tile + .du-bois-dark-radio-tile,
|
|
16806
16845
|
.db-radio-group.db-stack > .du-bois-dark-radio-tile + .du-bois-light-radio-tile,
|
|
16807
16846
|
.db-radio-group.db-stack > .du-bois-dark-radio-tile + .du-bois-dark-radio-tile {
|
|
16808
|
-
margin-top: var(--db-
|
|
16847
|
+
margin-top: var(--db-space-4);
|
|
16809
16848
|
}
|
|
16810
16849
|
|
|
16811
16850
|
/* Horizontal: AntD `getHorizontalRadioGroupStyles` is a TWO-ROW grid (NOT a flex
|
|
@@ -16818,7 +16857,7 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16818
16857
|
display: grid;
|
|
16819
16858
|
grid-template-rows: [label] auto [hint] auto;
|
|
16820
16859
|
grid-auto-columns: max-content;
|
|
16821
|
-
column-gap: var(--db-
|
|
16860
|
+
column-gap: var(--db-space-4);
|
|
16822
16861
|
}
|
|
16823
16862
|
|
|
16824
16863
|
/* Equal column widths: AntD `gridAutoColumns: minmax(0, 1fr)`. */
|
|
@@ -16851,14 +16890,14 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16851
16890
|
* the group itself gets a top margin (room above the two-row grid). */
|
|
16852
16891
|
.db-radio-group--horizontal:has(> .du-bois-light-hint),
|
|
16853
16892
|
.db-radio-group--horizontal:has(> .du-bois-dark-hint) {
|
|
16854
|
-
margin-top: var(--db-
|
|
16893
|
+
margin-top: var(--db-space-2);
|
|
16855
16894
|
}
|
|
16856
16895
|
|
|
16857
16896
|
/* AntD `&& + form-message { marginTop: sm }` (horizontal): a form-message following
|
|
16858
16897
|
* the whole group is separated by sm. */
|
|
16859
16898
|
.db-radio-group--horizontal + .du-bois-light-form-message,
|
|
16860
16899
|
.db-radio-group--horizontal + .du-bois-dark-form-message {
|
|
16861
|
-
margin-top: var(--db-
|
|
16900
|
+
margin-top: var(--db-space-2);
|
|
16862
16901
|
}
|
|
16863
16902
|
|
|
16864
16903
|
:where(:root), :where(.du-bois-light) {
|
|
@@ -16891,8 +16930,8 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
16891
16930
|
--db-switch-text-disabled: var(--db-selection-toggle-text-disabled);
|
|
16892
16931
|
|
|
16893
16932
|
/* Density */
|
|
16894
|
-
--db-switch-track-width: calc(var(--db-size-
|
|
16895
|
-
--db-switch-track-height: var(--db-size-
|
|
16933
|
+
--db-switch-track-width: calc(var(--db-size-4) * 1.75); /* 28px */
|
|
16934
|
+
--db-switch-track-height: var(--db-size-4); /* 16px */
|
|
16896
16935
|
--db-switch-thumb-size: var(--db-switch-track-height);
|
|
16897
16936
|
--db-switch-label-spacing: var(--db-selection-toggle-label-spacing);
|
|
16898
16937
|
|
|
@@ -17041,17 +17080,545 @@ span.du-bois-light-typography-ellipsis-single-line {
|
|
|
17041
17080
|
}
|
|
17042
17081
|
|
|
17043
17082
|
/* Indent a following hint/message past the track. The class is doubled to out-specify FormMessage's
|
|
17044
|
-
* own margin rule.
|
|
17045
|
-
|
|
17046
|
-
|
|
17083
|
+
* own margin rule. Each rule's key (rightmost) selector is a single class, not a multi-item :is(),
|
|
17084
|
+
* so Chromium can hash-reject it instead of attempting the match against every element on every
|
|
17085
|
+
* recalc (the leading/middle :is() groups aren't the key selector, so they're left as-is). */
|
|
17086
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-light-hint, :is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-dark-hint, :is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-light-form-message, :is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-dark-form-message, :is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper)
|
|
17087
|
+
+ :is(.du-bois-light-hint, .du-bois-dark-hint)
|
|
17088
|
+
+ .du-bois-light-form-message, :is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper)
|
|
17047
17089
|
+ :is(.du-bois-light-hint, .du-bois-dark-hint)
|
|
17048
|
-
+
|
|
17049
|
-
padding-inline-start: calc(var(--db-
|
|
17090
|
+
+ .du-bois-dark-form-message {
|
|
17091
|
+
padding-inline-start: calc(var(--db-space-2) + var(--db-switch-track-width));
|
|
17050
17092
|
}
|
|
17051
17093
|
|
|
17052
|
-
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper)
|
|
17053
|
-
+ :is(.du-bois-light-form-message, .du-bois-dark-form-message), :is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper)
|
|
17094
|
+
:is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-light-form-message, :is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper) + .du-bois-dark-form-message, :is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper)
|
|
17054
17095
|
+ :is(.du-bois-light-hint, .du-bois-dark-hint)
|
|
17055
|
-
+
|
|
17096
|
+
+ .du-bois-light-form-message, :is(.db-switch.db-switch, .db-switch-wrapper.db-switch-wrapper)
|
|
17097
|
+
+ :is(.du-bois-light-hint, .du-bois-dark-hint)
|
|
17098
|
+
+ .du-bois-dark-form-message {
|
|
17056
17099
|
margin-top: 0;
|
|
17057
17100
|
}
|
|
17101
|
+
|
|
17102
|
+
/* Component-tier tokens for the native <Button>, grouped by area (density, shape, typography, color).
|
|
17103
|
+
* Colors alias the action-* system tokens; sizes alias the system density scale.
|
|
17104
|
+
*
|
|
17105
|
+
* Follows the mortar/action.css pattern: one semantic set (surface / border / text, each with
|
|
17106
|
+
* -hover / -press / -disabled) whose defaults are the secondary variant. The variant classes that
|
|
17107
|
+
* re-set these tokens per variant live in NativeButton.css; this file declares only tokens. */
|
|
17108
|
+
|
|
17109
|
+
/* Declared under the theme classes too (not just :root) so the var() chain re-resolves inside a
|
|
17110
|
+
* `.du-bois-dark` subtree (or a portal that re-applies the theme class) instead of freezing at the root values. */
|
|
17111
|
+
:where(:root), :where(.du-bois-light) {
|
|
17112
|
+
/* ── Density ──────────────────────────────────────────────────────────── */
|
|
17113
|
+
--db-btn-height: var(--db-size-8);
|
|
17114
|
+
--db-btn-height-small: var(--db-size-6);
|
|
17115
|
+
--db-btn-icon-size: var(--db-size-4);
|
|
17116
|
+
--db-btn-border-width: 1px;
|
|
17117
|
+
--db-btn-padding-vertical: var(--db-space-1);
|
|
17118
|
+
--db-btn-padding-horizontal: var(--db-space-3);
|
|
17119
|
+
--db-btn-padding-horizontal-small: var(--db-space-2);
|
|
17120
|
+
/* Icon/force-icon horizontal padding: half the standard horizontal padding. */
|
|
17121
|
+
--db-btn-padding-horizontal-icon: calc(var(--db-space-3) / 2); /* 6px */
|
|
17122
|
+
--db-btn-gap: var(--db-space-1);
|
|
17123
|
+
--db-btn-end-icon-gap: var(--db-space-2);
|
|
17124
|
+
--db-btn-end-icon-gap-small: var(--db-space-1);
|
|
17125
|
+
/* Width of a content-less button while loading, so the standalone spinner has room. */
|
|
17126
|
+
--db-btn-loading-empty-width: var(--db-size-10);
|
|
17127
|
+
|
|
17128
|
+
/* ── Shape ────────────────────────────────────────────────────────────── */
|
|
17129
|
+
--db-btn-border-radius: var(--db-shape-control);
|
|
17130
|
+
|
|
17131
|
+
/* ── Typography ───────────────────────────────────────────────────────── */
|
|
17132
|
+
--db-btn-font-size: var(--db-font-size-base);
|
|
17133
|
+
--db-btn-icon-only-font-size: var(--db-font-size-lg); /* 15px */
|
|
17134
|
+
--db-btn-font-weight: var(--db-font-weight-normal);
|
|
17135
|
+
/* Line heights are hard-coded until the typography scale ships computed per-level line-height tokens. */
|
|
17136
|
+
--db-btn-line-height: 1.25rem; /* 20px */
|
|
17137
|
+
--db-btn-line-height-small: 1rem; /* 16px */
|
|
17138
|
+
|
|
17139
|
+
/* ── Color: semantic set (defaults = secondary variant) ───────────────── */
|
|
17140
|
+
--db-btn-surface: var(--db-color-action-default-background-default);
|
|
17141
|
+
--db-btn-surface-hover: var(--db-color-action-default-background-hover);
|
|
17142
|
+
--db-btn-surface-press: var(--db-color-action-default-background-press);
|
|
17143
|
+
--db-btn-surface-disabled: transparent;
|
|
17144
|
+
--db-btn-border: var(--db-color-action-default-border-default);
|
|
17145
|
+
--db-btn-border-hover: var(--db-color-action-default-border-hover);
|
|
17146
|
+
--db-btn-border-press: var(--db-color-action-default-border-press);
|
|
17147
|
+
--db-btn-border-disabled: var(--db-color-action-disabled-border);
|
|
17148
|
+
--db-btn-text: var(--db-color-action-default-text-default);
|
|
17149
|
+
--db-btn-text-hover: var(--db-color-action-default-text-hover);
|
|
17150
|
+
--db-btn-text-press: var(--db-color-action-default-text-press);
|
|
17151
|
+
--db-btn-text-disabled: var(--db-color-action-disabled-text);
|
|
17152
|
+
|
|
17153
|
+
/* ── Focus & icon ─────────────────────────────────────────────────────── */
|
|
17154
|
+
--db-btn-focus-ring: var(--db-color-action-default-border-focus);
|
|
17155
|
+
--db-btn-danger-focus-ring: var(--db-color-action-danger-primary-background-default);
|
|
17156
|
+
--db-btn-icon-glyph: var(--db-color-text-secondary);
|
|
17157
|
+
}
|
|
17158
|
+
|
|
17159
|
+
/* Native <Button> visual styles. Consumes the component-tier `--db-btn-*` tokens (see tokens.css);
|
|
17160
|
+
* the variant classes below re-set those tokens per variant and the rules that follow paint them.
|
|
17161
|
+
* Shipped via mortar.css. */
|
|
17162
|
+
|
|
17163
|
+
/* ── 0. Variant token re-sets ──────────────────────────────────────────────
|
|
17164
|
+
* Each variant class re-sets the semantic tokens declared in tokens.css; combined classes win by
|
|
17165
|
+
* specificity, which beats the `:where(:root)` (specificity 0) defaults regardless of file order. */
|
|
17166
|
+
.db-btn-primary {
|
|
17167
|
+
--db-btn-surface: var(--db-color-action-primary-background-default);
|
|
17168
|
+
--db-btn-surface-hover: var(--db-color-action-primary-background-hover);
|
|
17169
|
+
--db-btn-surface-press: var(--db-color-action-primary-background-press);
|
|
17170
|
+
--db-btn-surface-disabled: var(--db-color-action-disabled-border);
|
|
17171
|
+
--db-btn-border: transparent;
|
|
17172
|
+
--db-btn-border-hover: transparent;
|
|
17173
|
+
--db-btn-border-press: transparent;
|
|
17174
|
+
--db-btn-border-disabled: transparent;
|
|
17175
|
+
--db-btn-text: var(--db-color-action-primary-text-default);
|
|
17176
|
+
--db-btn-text-hover: var(--db-color-action-primary-text-hover);
|
|
17177
|
+
--db-btn-text-press: var(--db-color-action-primary-text-press);
|
|
17178
|
+
--db-btn-text-disabled: var(--db-color-action-primary-text-default);
|
|
17179
|
+
}
|
|
17180
|
+
.db-btn-tertiary,
|
|
17181
|
+
.db-btn-link {
|
|
17182
|
+
--db-btn-surface: var(--db-color-action-tertiary-background-default);
|
|
17183
|
+
--db-btn-surface-disabled: var(--db-color-action-tertiary-background-default);
|
|
17184
|
+
--db-btn-border: var(--db-color-action-tertiary-background-default);
|
|
17185
|
+
--db-btn-border-hover: transparent;
|
|
17186
|
+
--db-btn-border-press: transparent;
|
|
17187
|
+
--db-btn-border-disabled: transparent;
|
|
17188
|
+
--db-btn-text: var(--db-color-action-tertiary-text-default);
|
|
17189
|
+
--db-btn-text-hover: var(--db-color-action-tertiary-text-hover);
|
|
17190
|
+
--db-btn-text-press: var(--db-color-action-tertiary-text-press);
|
|
17191
|
+
--db-btn-text-disabled: var(--db-color-action-disabled-text);
|
|
17192
|
+
}
|
|
17193
|
+
.db-btn-tertiary {
|
|
17194
|
+
--db-btn-surface-hover: var(--db-color-action-tertiary-background-hover);
|
|
17195
|
+
--db-btn-surface-press: var(--db-color-action-tertiary-background-press);
|
|
17196
|
+
}
|
|
17197
|
+
/* Link is borderless and text-only, so its hover/press surface stays transparent. */
|
|
17198
|
+
.db-btn-link {
|
|
17199
|
+
--db-btn-surface-hover: transparent;
|
|
17200
|
+
--db-btn-surface-press: transparent;
|
|
17201
|
+
}
|
|
17202
|
+
/* Every danger button (icon included) disables to the filled treatment. */
|
|
17203
|
+
.db-btn-danger {
|
|
17204
|
+
--db-btn-surface-disabled: var(--db-color-action-disabled-border);
|
|
17205
|
+
--db-btn-border-disabled: transparent;
|
|
17206
|
+
--db-btn-text-disabled: var(--db-color-action-primary-text-default);
|
|
17207
|
+
}
|
|
17208
|
+
/* Danger, filled (primary): re-set only the surface; text/transparent border come from primary. */
|
|
17209
|
+
.db-btn-primary.db-btn-danger:not(.db-btn-icon-only) {
|
|
17210
|
+
--db-btn-surface: var(--db-color-action-danger-primary-background-default);
|
|
17211
|
+
--db-btn-surface-hover: var(--db-color-action-danger-primary-background-hover);
|
|
17212
|
+
--db-btn-surface-press: var(--db-color-action-danger-primary-background-press);
|
|
17213
|
+
}
|
|
17214
|
+
/* Danger, secondary/outlined. */
|
|
17215
|
+
.db-btn-danger:not(.db-btn-primary):not(.db-btn-tertiary):not(.db-btn-link):not(.db-btn-icon-only) {
|
|
17216
|
+
--db-btn-surface: var(--db-color-action-danger-default-background-default);
|
|
17217
|
+
--db-btn-surface-hover: var(--db-color-action-danger-default-background-hover);
|
|
17218
|
+
--db-btn-surface-press: var(--db-color-action-danger-default-background-press);
|
|
17219
|
+
--db-btn-border: var(--db-color-action-danger-default-border-default);
|
|
17220
|
+
--db-btn-border-hover: var(--db-color-action-danger-default-border-hover);
|
|
17221
|
+
--db-btn-border-press: var(--db-color-action-danger-default-border-press);
|
|
17222
|
+
--db-btn-text: var(--db-color-action-danger-default-text-default);
|
|
17223
|
+
--db-btn-text-hover: var(--db-color-action-danger-default-text-hover);
|
|
17224
|
+
--db-btn-text-press: var(--db-color-action-danger-default-text-press);
|
|
17225
|
+
}
|
|
17226
|
+
/* Danger, tertiary/link: danger text everywhere, danger surface on hover/press; resting/disabled
|
|
17227
|
+
* surface stay the tertiary ghost (override the filled danger-disabled set above). */
|
|
17228
|
+
.db-btn-tertiary.db-btn-danger,
|
|
17229
|
+
.db-btn-link.db-btn-danger {
|
|
17230
|
+
--db-btn-surface-hover: var(--db-color-action-danger-default-background-hover);
|
|
17231
|
+
--db-btn-surface-press: var(--db-color-action-danger-default-background-press);
|
|
17232
|
+
--db-btn-surface-disabled: var(--db-color-action-tertiary-background-default);
|
|
17233
|
+
--db-btn-text: var(--db-color-action-danger-default-text-default);
|
|
17234
|
+
--db-btn-text-hover: var(--db-color-action-danger-default-text-hover);
|
|
17235
|
+
--db-btn-text-press: var(--db-color-action-danger-default-text-press);
|
|
17236
|
+
--db-btn-text-disabled: var(--db-color-action-disabled-text);
|
|
17237
|
+
}
|
|
17238
|
+
/* Icon-only renders as the ghost (tertiary) treatment regardless of variant; re-set the semantic set
|
|
17239
|
+
* so the icon-only rules paint from these component tokens. */
|
|
17240
|
+
.db-btn-icon-only {
|
|
17241
|
+
--db-btn-surface: var(--db-color-action-tertiary-background-default);
|
|
17242
|
+
--db-btn-surface-hover: var(--db-color-action-tertiary-background-hover);
|
|
17243
|
+
--db-btn-surface-press: var(--db-color-action-tertiary-background-press);
|
|
17244
|
+
--db-btn-text: var(--db-color-action-tertiary-text-default);
|
|
17245
|
+
--db-btn-text-hover: var(--db-color-action-tertiary-text-hover);
|
|
17246
|
+
--db-btn-text-press: var(--db-color-action-tertiary-text-press);
|
|
17247
|
+
}
|
|
17248
|
+
/* Danger icon-only keeps the ghost resting surface (inherited above) but uses danger text and a
|
|
17249
|
+
* danger hover/press surface. */
|
|
17250
|
+
.db-btn-icon-only.db-btn-danger {
|
|
17251
|
+
--db-btn-surface-hover: var(--db-color-action-danger-default-background-hover);
|
|
17252
|
+
--db-btn-surface-press: var(--db-color-action-danger-default-background-press);
|
|
17253
|
+
--db-btn-text: var(--db-color-action-danger-default-text-default);
|
|
17254
|
+
--db-btn-text-hover: var(--db-color-action-danger-default-text-hover);
|
|
17255
|
+
--db-btn-text-press: var(--db-color-action-danger-default-text-press);
|
|
17256
|
+
}
|
|
17257
|
+
|
|
17258
|
+
/* ── 1. Base — paints the default (secondary) variant ────────────────────── */
|
|
17259
|
+
.db-btn {
|
|
17260
|
+
appearance: none;
|
|
17261
|
+
box-sizing: border-box;
|
|
17262
|
+
position: relative; /* anchors the loading spinner */
|
|
17263
|
+
display: inline-flex !important;
|
|
17264
|
+
align-items: center !important;
|
|
17265
|
+
justify-content: center !important;
|
|
17266
|
+
vertical-align: middle;
|
|
17267
|
+
white-space: nowrap;
|
|
17268
|
+
user-select: none;
|
|
17269
|
+
cursor: pointer;
|
|
17270
|
+
height: var(--db-btn-height) !important;
|
|
17271
|
+
font-family: inherit;
|
|
17272
|
+
font-size: var(--db-btn-font-size);
|
|
17273
|
+
font-weight: var(--db-btn-font-weight);
|
|
17274
|
+
line-height: var(--db-btn-line-height) !important;
|
|
17275
|
+
text-decoration: none !important;
|
|
17276
|
+
border: var(--db-btn-border-width) solid var(--db-btn-border);
|
|
17277
|
+
border-color: var(--db-btn-border) !important;
|
|
17278
|
+
border-radius: var(--db-btn-border-radius) !important;
|
|
17279
|
+
box-shadow: none !important;
|
|
17280
|
+
background-color: var(--db-btn-surface) !important;
|
|
17281
|
+
color: var(--db-btn-text) !important;
|
|
17282
|
+
}
|
|
17283
|
+
|
|
17284
|
+
/* ── 2. Padding ──────────────────────────────────────────────────────────── */
|
|
17285
|
+
.db-btn.db-btn:where(:not(.db-btn-icon-only, .db-btn-force-icon, .db-btn-link)) {
|
|
17286
|
+
padding: var(--db-btn-padding-vertical) var(--db-btn-padding-horizontal) !important;
|
|
17287
|
+
}
|
|
17288
|
+
.db-btn.db-btn-small:where(:not(.db-btn-icon-only, .db-btn-force-icon, .db-btn-link)) {
|
|
17289
|
+
padding: 0 var(--db-btn-padding-horizontal-small) !important;
|
|
17290
|
+
}
|
|
17291
|
+
.db-btn.db-btn-link {
|
|
17292
|
+
padding: 0 !important;
|
|
17293
|
+
}
|
|
17294
|
+
.db-btn.db-btn-force-icon {
|
|
17295
|
+
padding: 0 var(--db-btn-padding-horizontal-icon) !important;
|
|
17296
|
+
}
|
|
17297
|
+
|
|
17298
|
+
/* ── 3. Interactive states ───────────────────────────────────────────────── */
|
|
17299
|
+
.db-btn:hover:not(:disabled, .db-btn-loading) {
|
|
17300
|
+
background-color: var(--db-btn-surface-hover) !important;
|
|
17301
|
+
border-color: var(--db-btn-border-hover) !important;
|
|
17302
|
+
color: var(--db-btn-text-hover) !important;
|
|
17303
|
+
}
|
|
17304
|
+
.db-btn:active:not(:disabled, .db-btn-loading) {
|
|
17305
|
+
background-color: var(--db-btn-surface-press) !important;
|
|
17306
|
+
border-color: var(--db-btn-border-press) !important;
|
|
17307
|
+
color: var(--db-btn-text-press) !important;
|
|
17308
|
+
}
|
|
17309
|
+
|
|
17310
|
+
/* ── 4. Focus ────────────────────────────────────────────────────────────── */
|
|
17311
|
+
.db-btn:focus-visible {
|
|
17312
|
+
outline: 2px solid var(--db-btn-focus-ring);
|
|
17313
|
+
outline-offset: -2px;
|
|
17314
|
+
}
|
|
17315
|
+
.db-btn-primary:focus-visible {
|
|
17316
|
+
outline-offset: 1px;
|
|
17317
|
+
}
|
|
17318
|
+
.db-btn-use-focus-pseudo-class:focus {
|
|
17319
|
+
outline: 2px solid var(--db-btn-focus-ring);
|
|
17320
|
+
outline-offset: 1px;
|
|
17321
|
+
}
|
|
17322
|
+
|
|
17323
|
+
/* ── 5. Small / full-width / empty ────────────────────────────────────────── */
|
|
17324
|
+
.db-btn-small {
|
|
17325
|
+
height: var(--db-btn-height-small) !important;
|
|
17326
|
+
}
|
|
17327
|
+
.db-btn-full-width {
|
|
17328
|
+
width: 100%;
|
|
17329
|
+
}
|
|
17330
|
+
.db-btn-empty {
|
|
17331
|
+
background-color: transparent !important;
|
|
17332
|
+
border-color: transparent !important;
|
|
17333
|
+
}
|
|
17334
|
+
.db-btn-default.db-btn-empty {
|
|
17335
|
+
color: var(--db-btn-icon-glyph) !important;
|
|
17336
|
+
}
|
|
17337
|
+
.db-btn-empty.db-btn-loading {
|
|
17338
|
+
width: var(--db-btn-loading-empty-width);
|
|
17339
|
+
}
|
|
17340
|
+
|
|
17341
|
+
/* ── 6. Tertiary & link ──────────────────────────────────────────────────── */
|
|
17342
|
+
.db-btn-link {
|
|
17343
|
+
height: auto !important;
|
|
17344
|
+
border: none !important;
|
|
17345
|
+
}
|
|
17346
|
+
/* Re-declare the text color for a non-icon-only tertiary/link at two-class weight so a plain
|
|
17347
|
+
* call-site `color` override loses; an icon-only glyph stays at base weight so its override wins. */
|
|
17348
|
+
.db-btn-tertiary:not(.db-btn-icon-only),
|
|
17349
|
+
.db-btn-link:not(.db-btn-icon-only) {
|
|
17350
|
+
color: var(--db-btn-text) !important;
|
|
17351
|
+
}
|
|
17352
|
+
/* Keep the resting border at two-class weight (parity with the shielded border-color). */
|
|
17353
|
+
.db-btn.db-btn-tertiary,
|
|
17354
|
+
.db-btn.db-btn-link {
|
|
17355
|
+
border-color: var(--db-btn-border) !important;
|
|
17356
|
+
}
|
|
17357
|
+
|
|
17358
|
+
/* ── 7. Danger ───────────────────────────────────────────────────────────── */
|
|
17359
|
+
.db-btn-danger:focus-visible {
|
|
17360
|
+
outline-color: var(--db-btn-danger-focus-ring);
|
|
17361
|
+
}
|
|
17362
|
+
|
|
17363
|
+
/* ── 8. Icon-only ────────────────────────────────────────────────────────── */
|
|
17364
|
+
.db-btn-icon-only {
|
|
17365
|
+
padding: 0;
|
|
17366
|
+
border: none !important;
|
|
17367
|
+
background-color: var(--db-btn-surface) !important;
|
|
17368
|
+
font-size: var(--db-btn-icon-only-font-size);
|
|
17369
|
+
}
|
|
17370
|
+
/* `:where()` keeps this at (0,1,0) so a call-site `css` width override wins, as it does for `height`. */
|
|
17371
|
+
.db-btn-icon-only:where(:not(.db-btn-small)) {
|
|
17372
|
+
width: var(--db-btn-height) !important;
|
|
17373
|
+
}
|
|
17374
|
+
.db-btn-icon-only:not(.db-btn-link, .db-btn-tertiary, [href], :hover, :active, :disabled) {
|
|
17375
|
+
color: var(--db-btn-icon-glyph) !important;
|
|
17376
|
+
}
|
|
17377
|
+
/* `:where()` on the exclusion holds this at (0,2,0): enough to tint an un-overridden icon-only link
|
|
17378
|
+
* over the base color, while still letting a consumer's own icon-color override win on source order. */
|
|
17379
|
+
.db-btn-icon-only[href]:where(:not(.db-btn-tertiary, .db-btn-link, .db-btn-danger, :disabled)) {
|
|
17380
|
+
color: var(--db-btn-text) !important;
|
|
17381
|
+
}
|
|
17382
|
+
.db-btn-icon-only:where(.db-btn-small) {
|
|
17383
|
+
width: var(--db-btn-height-small);
|
|
17384
|
+
}
|
|
17385
|
+
.db-btn-icon-only.db-btn-small {
|
|
17386
|
+
line-height: var(--db-btn-line-height-small) !important;
|
|
17387
|
+
}
|
|
17388
|
+
.db-btn-icon-only:hover:not(:disabled, .db-btn-loading) {
|
|
17389
|
+
background-color: var(--db-btn-surface-hover) !important;
|
|
17390
|
+
color: var(--db-btn-text-hover) !important;
|
|
17391
|
+
}
|
|
17392
|
+
.db-btn-icon-only:active:not(:disabled, .db-btn-loading) {
|
|
17393
|
+
background-color: var(--db-btn-surface-press) !important;
|
|
17394
|
+
color: var(--db-btn-text-press) !important;
|
|
17395
|
+
}
|
|
17396
|
+
.db-btn-icon-only:enabled:not(.db-btn-primary, .db-btn-tertiary, .db-btn-link, .db-btn-danger, :hover, :active)
|
|
17397
|
+
> .anticon {
|
|
17398
|
+
color: var(--db-btn-icon-glyph);
|
|
17399
|
+
}
|
|
17400
|
+
.db-btn-icon-only.db-btn-danger:not(:hover, :active) > .anticon {
|
|
17401
|
+
color: var(--db-btn-text);
|
|
17402
|
+
}
|
|
17403
|
+
.db-btn-icon-only.db-btn-danger:hover:not(:disabled, .db-btn-loading) {
|
|
17404
|
+
background-color: var(--db-btn-surface-hover) !important;
|
|
17405
|
+
color: var(--db-btn-text-hover) !important;
|
|
17406
|
+
}
|
|
17407
|
+
.db-btn-icon-only.db-btn-danger:active:not(:disabled, .db-btn-loading) {
|
|
17408
|
+
background-color: var(--db-btn-surface-press) !important;
|
|
17409
|
+
color: var(--db-btn-text-press) !important;
|
|
17410
|
+
}
|
|
17411
|
+
|
|
17412
|
+
/* ── 9. Disabled — base rules paint the per-variant `*-disabled` tokens (see tokens.css) ──────── */
|
|
17413
|
+
.db-btn:disabled {
|
|
17414
|
+
cursor: not-allowed;
|
|
17415
|
+
background-color: var(--db-btn-surface-disabled) !important;
|
|
17416
|
+
color: var(--db-btn-text-disabled) !important;
|
|
17417
|
+
}
|
|
17418
|
+
/* Empty and loading disabled buttons keep a transparent border (set elsewhere), so exclude them.
|
|
17419
|
+
* `:where()` on the exclusion holds this at (0,2,0): enough to beat the base border, while still
|
|
17420
|
+
* letting a consumer's own `[disabled]` border override win on source order. */
|
|
17421
|
+
.db-btn:disabled:where(:not(.db-btn-empty, .db-btn-loading)) {
|
|
17422
|
+
border-color: var(--db-btn-border-disabled) !important;
|
|
17423
|
+
}
|
|
17424
|
+
.db-btn-icon-only:disabled {
|
|
17425
|
+
border: none;
|
|
17426
|
+
}
|
|
17427
|
+
.db-btn-icon-only:disabled:hover {
|
|
17428
|
+
background-color: transparent !important;
|
|
17429
|
+
}
|
|
17430
|
+
.db-btn:disabled > .anticon {
|
|
17431
|
+
color: inherit !important;
|
|
17432
|
+
}
|
|
17433
|
+
|
|
17434
|
+
/* ── 10. Icon & content layout ───────────────────────────────────────────── */
|
|
17435
|
+
/* The leading icon renders unwrapped as the button's direct `.anticon` child (see NativeButton.tsx),
|
|
17436
|
+
* so `> .anticon` targets only a real icon glyph — a non-glyph `icon` (e.g. a Spinner) keeps its own
|
|
17437
|
+
* sizing — and out-specifies AntD's runtime-injected global `.anticon` rule. */
|
|
17438
|
+
.db-btn > .anticon,
|
|
17439
|
+
.db-btn-end-icon,
|
|
17440
|
+
.db-btn-end-icon > .anticon {
|
|
17441
|
+
display: inline-flex;
|
|
17442
|
+
align-items: center;
|
|
17443
|
+
font-size: var(--db-btn-icon-size) !important;
|
|
17444
|
+
line-height: 0;
|
|
17445
|
+
}
|
|
17446
|
+
.db-btn-small > .anticon .anticon {
|
|
17447
|
+
line-height: 0;
|
|
17448
|
+
}
|
|
17449
|
+
.db-btn > .db-btn-content > .anticon {
|
|
17450
|
+
display: inline-flex;
|
|
17451
|
+
align-items: center;
|
|
17452
|
+
line-height: 0;
|
|
17453
|
+
}
|
|
17454
|
+
.db-btn-content {
|
|
17455
|
+
display: inline-flex;
|
|
17456
|
+
align-items: center;
|
|
17457
|
+
}
|
|
17458
|
+
.db-btn > .anticon + .db-btn-content {
|
|
17459
|
+
margin-inline-start: var(--db-btn-gap) !important;
|
|
17460
|
+
}
|
|
17461
|
+
.db-btn-end-icon {
|
|
17462
|
+
margin-inline-start: var(--db-btn-end-icon-gap) !important;
|
|
17463
|
+
}
|
|
17464
|
+
.db-btn-small .db-btn-end-icon {
|
|
17465
|
+
margin-inline-start: var(--db-btn-end-icon-gap-small) !important;
|
|
17466
|
+
}
|
|
17467
|
+
.db-btn-default:not(.db-btn-danger, [href], :hover, :active, :disabled) > .anticon {
|
|
17468
|
+
color: var(--db-btn-icon-glyph);
|
|
17469
|
+
}
|
|
17470
|
+
.db-btn-default[href]:not(.db-btn-danger, :hover, :active, :disabled) .db-btn-end-icon {
|
|
17471
|
+
color: var(--db-btn-icon-glyph);
|
|
17472
|
+
}
|
|
17473
|
+
.db-btn-default:not([href], .db-btn-danger, :hover, :active, :disabled)
|
|
17474
|
+
> .db-btn-content
|
|
17475
|
+
> .db-btn-end-icon
|
|
17476
|
+
> .anticon {
|
|
17477
|
+
color: var(--db-btn-icon-glyph);
|
|
17478
|
+
}
|
|
17479
|
+
|
|
17480
|
+
/* ── 11. Loading ─────────────────────────────────────────────────────────── */
|
|
17481
|
+
.db-btn-loading {
|
|
17482
|
+
cursor: default;
|
|
17483
|
+
}
|
|
17484
|
+
.db-btn-loading:disabled {
|
|
17485
|
+
border-color: transparent !important;
|
|
17486
|
+
}
|
|
17487
|
+
.db-btn-spinner {
|
|
17488
|
+
color: inherit !important;
|
|
17489
|
+
pointer-events: none;
|
|
17490
|
+
}
|
|
17491
|
+
.db-btn-loading-with-icon .db-btn-content {
|
|
17492
|
+
padding-inline-start: calc(var(--db-btn-icon-size) + var(--db-btn-gap));
|
|
17493
|
+
}
|
|
17494
|
+
.db-btn-loading .db-btn-spinner {
|
|
17495
|
+
position: absolute;
|
|
17496
|
+
left: 50%;
|
|
17497
|
+
top: 50%;
|
|
17498
|
+
transform: translate(-50%, -50%);
|
|
17499
|
+
}
|
|
17500
|
+
.db-btn-loading.db-btn-icon-only .db-btn-spinner {
|
|
17501
|
+
position: static;
|
|
17502
|
+
transform: none;
|
|
17503
|
+
}
|
|
17504
|
+
|
|
17505
|
+
/* ── 12. dangerouslySetForceIconStyles ───────────────────────────────────── */
|
|
17506
|
+
.db-btn-force-icon {
|
|
17507
|
+
width: var(--db-btn-height) !important;
|
|
17508
|
+
color: var(--db-btn-icon-glyph) !important;
|
|
17509
|
+
}
|
|
17510
|
+
.db-btn-force-icon.db-btn-small {
|
|
17511
|
+
width: var(--db-btn-height-small) !important;
|
|
17512
|
+
}
|
|
17513
|
+
|
|
17514
|
+
:where(:root), :where(.du-bois-light) {
|
|
17515
|
+
/* Shape */
|
|
17516
|
+
/* Must not scale with density; no non-scaling system token holds it. TODO(FEINF-6505): adopt a v2 system token when one is added. */
|
|
17517
|
+
--db-navigation-menu-indicator-thickness: 4px;
|
|
17518
|
+
/* No system token holds this control-specific inset. TODO(FEINF-6505): adopt a v2 system token when one is added. */
|
|
17519
|
+
--db-navigation-menu-focus-ring-offset: -1px;
|
|
17520
|
+
|
|
17521
|
+
/* Color */
|
|
17522
|
+
--db-navigation-menu-indicator: var(--db-accent-surface);
|
|
17523
|
+
--db-navigation-menu-focus-ring: var(--db-focus-ring-color);
|
|
17524
|
+
--db-navigation-menu-text: var(--db-text-subtle);
|
|
17525
|
+
--db-navigation-menu-text-active: var(--db-text-base);
|
|
17526
|
+
/* No v2 semantic for default-action link text yet; bridges on the v1 --db-color-* token. */
|
|
17527
|
+
--db-navigation-menu-text-hover: var(--db-color-action-default-text-hover);
|
|
17528
|
+
--db-navigation-menu-text-press: var(--db-color-action-default-text-press);
|
|
17529
|
+
|
|
17530
|
+
/* Density */
|
|
17531
|
+
--db-navigation-menu-item-height: var(--db-size-8);
|
|
17532
|
+
--db-navigation-menu-item-min-width: var(--db-size-6);
|
|
17533
|
+
--db-navigation-menu-link-padding-top: var(--db-space-1);
|
|
17534
|
+
--db-navigation-menu-link-padding-bottom: var(--db-space-2);
|
|
17535
|
+
--db-navigation-menu-focus-ring-width: var(--db-focus-ring-width);
|
|
17536
|
+
}
|
|
17537
|
+
|
|
17538
|
+
:where(:root), :where(.du-bois-light) {
|
|
17539
|
+
/* Shape */
|
|
17540
|
+
/* TODO(FEINF-6505): adopt --db-shape-container-* once a 4px container radius exists; kept on --db-radius-sm to preserve 4px. */
|
|
17541
|
+
--db-snackbar-border-radius: var(--db-radius-sm);
|
|
17542
|
+
|
|
17543
|
+
/* Density */
|
|
17544
|
+
--db-snackbar-spacing-vertical: var(--db-space-3);
|
|
17545
|
+
--db-snackbar-spacing-horizontal: var(--db-space-4);
|
|
17546
|
+
--db-snackbar-close-button-spacing: var(--db-space-2);
|
|
17547
|
+
|
|
17548
|
+
/* Color */
|
|
17549
|
+
/* No v1/v2 system token holds this theme-invariant white. TODO(FEINF-6505): adopt a v2 system token when one is added. */
|
|
17550
|
+
--db-snackbar-text: #ffffff;
|
|
17551
|
+
/* No v1/v2 system token holds these theme-invariant close-icon colors. TODO(FEINF-6505): adopt a v2 system token when one is added. */
|
|
17552
|
+
--db-snackbar-close-icon: #e8ecf0;
|
|
17553
|
+
--db-snackbar-close-icon-hover: #8acaff;
|
|
17554
|
+
--db-snackbar-close-icon-press: #bae1fc;
|
|
17555
|
+
}
|
|
17556
|
+
|
|
17557
|
+
:where(:root), :where(.du-bois-light) {
|
|
17558
|
+
/* Color */
|
|
17559
|
+
/* No v1/v2 system token holds this light/dark surface pair. TODO(FEINF-6505): adopt a v2 system token when one is added. */
|
|
17560
|
+
--db-snackbar-surface: #11171c;
|
|
17561
|
+
|
|
17562
|
+
/* Elevation */
|
|
17563
|
+
--db-snackbar-shadow: var(--db-elevation-med);
|
|
17564
|
+
}
|
|
17565
|
+
|
|
17566
|
+
/* Tooltip renders an inverted surface (dark chip in light mode, light chip in dark mode), so it does
|
|
17567
|
+
* not draw from the popover family's neutral surface. Surface/text reference the v1 tooltip
|
|
17568
|
+
* primitives from tokens-groups until a v2 semantic exists. */
|
|
17569
|
+
|
|
17570
|
+
:where(:root), :where(.du-bois-light) {
|
|
17571
|
+
/* Shape */
|
|
17572
|
+
--db-tooltip-border-radius: var(--db-radius-sm);
|
|
17573
|
+
|
|
17574
|
+
/* Density */
|
|
17575
|
+
--db-tooltip-spacing-vertical: var(--db-space-1);
|
|
17576
|
+
--db-tooltip-spacing-horizontal: var(--db-space-2);
|
|
17577
|
+
|
|
17578
|
+
/* Typography */
|
|
17579
|
+
--db-tooltip-font-size: var(--db-font-size-base);
|
|
17580
|
+
--db-tooltip-font-weight: var(--db-font-weight-normal);
|
|
17581
|
+
}
|
|
17582
|
+
|
|
17583
|
+
:where(:root), :where(.du-bois-light) {
|
|
17584
|
+
/* Color */
|
|
17585
|
+
--db-tooltip-surface: var(--db-color-tooltip-background-tooltip);
|
|
17586
|
+
--db-tooltip-text: var(--db-color-tooltip-text-tooltip);
|
|
17587
|
+
/* v1 blue primitives, held as literals until a v2 link-on-tooltip semantic exists. */
|
|
17588
|
+
--db-tooltip-link-text: #4299e0; /* blue500 */
|
|
17589
|
+
--db-tooltip-link-text-hover: #8acaff; /* blue400 */
|
|
17590
|
+
--db-tooltip-link-text-press: #bae1fc; /* blue300 */
|
|
17591
|
+
|
|
17592
|
+
/* Elevation */
|
|
17593
|
+
--db-tooltip-shadow: var(--db-elevation-med);
|
|
17594
|
+
}
|
|
17595
|
+
|
|
17596
|
+
/* Declared under the theme classes too (not just :root) so the var() chain re-resolves inside a
|
|
17597
|
+
* `.du-bois-dark` subtree instead of freezing at the light values. */
|
|
17598
|
+
:where(:root), :where(.du-bois-light) {
|
|
17599
|
+
/* Shape */
|
|
17600
|
+
--db-progress-border-radius: var(--db-shape-pill);
|
|
17601
|
+
|
|
17602
|
+
/* Color */
|
|
17603
|
+
--db-progress-track: var(--db-color-progress-track);
|
|
17604
|
+
--db-progress-fill: var(--db-color-progress-fill);
|
|
17605
|
+
|
|
17606
|
+
/* Density */
|
|
17607
|
+
--db-progress-size: var(--db-size-2);
|
|
17608
|
+
|
|
17609
|
+
/* Motion */
|
|
17610
|
+
/* No v2 motion token holds this duration. TODO(FEINF-6505): adopt a v2 motion token when one is added. */
|
|
17611
|
+
--db-progress-transition-duration: 300ms;
|
|
17612
|
+
}
|
|
17613
|
+
|
|
17614
|
+
:where(:root), :where(.du-bois-light) {
|
|
17615
|
+
/* Color */
|
|
17616
|
+
/* No v2 token holds tertiary action-text states yet. TODO(FEINF-6505): adopt a v2 token when one lands. */
|
|
17617
|
+
--db-overflow-trigger-text: var(--db-color-action-tertiary-text-default);
|
|
17618
|
+
--db-overflow-trigger-text-hover: var(--db-color-action-tertiary-text-hover);
|
|
17619
|
+
--db-overflow-trigger-text-press: var(--db-color-action-tertiary-text-press);
|
|
17620
|
+
|
|
17621
|
+
/* Density */
|
|
17622
|
+
--db-overflow-spacing: var(--db-space-2);
|
|
17623
|
+
--db-overflow-menu-spacing: var(--db-space-1);
|
|
17624
|
+
}
|