@sdata/web-vue 4.7.1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sd.css +4004 -3955
- package/dist/sd.min.css +13 -13
- package/es/_components/input-label/style/index.css +47 -47
- package/es/_components/select-view/style/index.css +256 -256
- package/es/alert/style/index.css +48 -48
- package/es/alert/style/token.scss +257 -0
- package/es/anchor/style/index.css +18 -18
- package/es/anchor/style/token.scss +74 -0
- package/es/auto-complete/style/index.css +18 -18
- package/es/auto-complete/style/token.scss +94 -0
- package/es/avatar/style/index.css +31 -31
- package/es/avatar/style/token.scss +118 -0
- package/es/back-top/style/index.css +11 -11
- package/es/back-top/style/token.scss +60 -0
- package/es/badge/style/index.css +35 -35
- package/es/badge/style/token.scss +148 -0
- package/es/basic-crud-table/style/index.css +4 -4
- package/es/basic-crud-table/style/token.scss +20 -0
- package/es/bloom-menu/style/index.css +33 -34
- package/es/bloom-menu/style/index.scss +5 -5
- package/es/bloom-menu/style/token.scss +99 -0
- package/es/border-beam/style/token.scss +28 -0
- package/es/breadcrumb/style/index.css +17 -17
- package/es/breadcrumb/style/token.scss +97 -0
- package/es/button/style/index.css +379 -379
- package/es/button/style/index.scss +3 -3
- package/es/button/style/token.scss +1604 -0
- package/es/card/style/index.css +36 -36
- package/es/card/style/token.scss +162 -0
- package/es/carousel/style/index.css +41 -41
- package/es/carousel/style/token.scss +101 -0
- package/es/cascader/style/index.css +58 -58
- package/es/cascader/style/token.scss +89 -0
- package/es/checkbox/style/index.css +28 -28
- package/es/checkbox/style/token.scss +134 -0
- package/es/collapse/style/index.css +24 -24
- package/es/collapse/style/token.scss +136 -0
- package/es/color-picker/style/index.css +50 -50
- package/es/color-picker/style/token.scss +200 -0
- package/es/comment/style/index.css +15 -15
- package/es/comment/style/token.scss +83 -0
- package/es/config-provider/algorithms.d.ts +11 -0
- package/es/config-provider/algorithms.js +53 -0
- package/es/config-provider/global-theme.js +7 -4
- package/es/config-provider/theme-config.d.ts +11 -0
- package/es/config-provider/theme-config.js +114 -0
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +46 -11
- package/es/config-provider/theme.d.ts +4 -1
- package/es/config-provider/theme.js +6 -5
- package/es/config-provider/token-key.d.ts +1 -0
- package/es/config-provider/token-key.js +6 -0
- package/es/copy/style/index.css +1 -1
- package/es/copy/style/token.scss +9 -0
- package/es/cropper/style/index.css +7 -7
- package/es/cropper/style/token.scss +24 -0
- package/es/date-picker/style/index.css +73 -73
- package/es/date-picker/style/token.scss +229 -0
- package/es/descriptions/style/index.css +45 -45
- package/es/descriptions/style/token.scss +191 -0
- package/es/divider/style/index.css +11 -11
- package/es/divider/style/token.scss +60 -0
- package/es/drawer/style/index.css +13 -13
- package/es/drawer/style/token.scss +68 -0
- package/es/dropdown/style/index.css +24 -23
- package/es/dropdown/style/index.scss +4 -2
- package/es/dropdown/style/token.scss +123 -0
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/ellipsis/interface.d.ts +1 -0
- package/es/ellipsis/style/index.css +2 -2
- package/es/ellipsis/style/token.scss +5 -0
- package/es/empty/style/index.css +7 -7
- package/es/empty/style/token.scss +35 -0
- package/es/file-previewer/style/index.css +44 -44
- package/es/file-previewer/style/token.scss +198 -0
- package/es/form/style/index.css +113 -113
- package/es/form/style/token.scss +340 -0
- package/es/image/style/index.css +83 -83
- package/es/image/style/token.scss +451 -0
- package/es/index.css +4004 -3955
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -1
- package/es/input/style/index.css +104 -104
- package/es/input/style/input.scss +2 -8
- package/es/input/style/size.scss +4 -4
- package/es/input/style/token.scss +327 -0
- package/es/input-mask/style/index.css +1 -1
- package/es/input-mask/style/token.scss +8 -0
- package/es/input-number/style/index.css +19 -19
- package/es/input-number/style/token.scss +82 -0
- package/es/input-tag/style/index.css +209 -209
- package/es/input-tag/style/token.scss +226 -0
- package/es/json-form/style/index.css +2 -2
- package/es/json-form/style/token.scss +21 -0
- package/es/kv-list/style/index.css +13 -13
- package/es/kv-list/style/token.scss +29 -0
- package/es/layout/style/index.css +38 -38
- package/es/layout/style/token.scss +100 -0
- package/es/link/style/index.css +28 -28
- package/es/link/style/token.scss +117 -0
- package/es/list/style/index.css +27 -27
- package/es/list/style/token.scss +178 -0
- package/es/mention/style/token.scss +22 -0
- package/es/menu/style/index.css +153 -120
- package/es/menu/style/index.scss +12 -4
- package/es/menu/style/token.scss +390 -0
- package/es/message/style/index.css +33 -33
- package/es/message/style/token.scss +218 -0
- package/es/modal/style/index.css +21 -21
- package/es/modal/style/token.scss +115 -0
- package/es/model-selector/style/index.css +1 -1
- package/es/notification/style/index.css +44 -44
- package/es/notification/style/token.scss +241 -0
- package/es/number-flow/style/index.css +5 -5
- package/es/number-flow/style/token.scss +19 -0
- package/es/page-header/style/index.css +25 -25
- package/es/page-header/style/token.scss +139 -0
- package/es/pagination/style/index.css +85 -85
- package/es/pagination/style/token.scss +303 -0
- package/es/panel-group/style/index.css +7 -7
- package/es/panel-group/style/token.scss +28 -0
- package/es/popconfirm/style/index.css +18 -18
- package/es/popconfirm/style/token.scss +83 -0
- package/es/popover/style/index.css +12 -12
- package/es/popover/style/token.scss +58 -0
- package/es/progress/style/index.css +55 -55
- package/es/progress/style/token.scss +253 -0
- package/es/qr-code/style/index.css +18 -21
- package/es/qr-code/style/index.scss +4 -6
- package/es/qr-code/style/token.scss +59 -0
- package/es/radio/style/index.css +45 -44
- package/es/radio/style/index.scss +1 -0
- package/es/radio/style/token.scss +185 -0
- package/es/rate/style/index.css +8 -8
- package/es/rate/style/token.scss +19 -0
- package/es/regex-vis/style/index.css +51 -51
- package/es/regex-vis/style/token.scss +170 -0
- package/es/result/style/index.css +26 -26
- package/es/result/style/token.scss +139 -0
- package/es/rich-text-editor/style/index.css +31 -31
- package/es/rich-text-editor/style/token.scss +120 -0
- package/es/scrollbar/style/index.css +14 -14
- package/es/scrollbar/style/token.scss +33 -0
- package/es/secret/style/index.css +6 -6
- package/es/secret/style/token.scss +30 -0
- package/es/select/style/index.css +27 -27
- package/es/select/style/token.scss +151 -0
- package/es/selectable-card/style/index.css +53 -51
- package/es/selectable-card/style/index.scss +6 -2
- package/es/selectable-card/style/token.scss +60 -0
- package/es/sender/style/index.css +54 -54
- package/es/sender/style/token.scss +155 -0
- package/es/skeleton/style/index.css +12 -12
- package/es/skeleton/style/token.scss +60 -0
- package/es/slider/style/index.css +34 -34
- package/es/slider/style/token.scss +144 -0
- package/es/spin/style/index.css +11 -11
- package/es/spin/style/token.scss +60 -0
- package/es/split/style/index.css +2 -2
- package/es/split/style/token.scss +18 -0
- package/es/statistic/style/index.css +13 -13
- package/es/statistic/style/token.scss +73 -0
- package/es/steps/style/index.css +98 -98
- package/es/steps/style/token.scss +464 -0
- package/es/style/color/css-variables.scss +382 -381
- package/es/style/theme/css-variables.scss +329 -135
- package/es/style/theme/global.scss +5 -5
- package/es/style/theme/index.scss +1 -1
- package/es/style/theme/runtime.scss +29 -0
- package/es/switch/style/index.css +37 -37
- package/es/switch/style/token.scss +135 -0
- package/es/table/style/index.css +127 -127
- package/es/table/style/token.scss +425 -0
- package/es/tabs/style/index.css +196 -190
- package/es/tabs/style/index.scss +27 -17
- package/es/tabs/style/token.scss +534 -0
- package/es/tag/index.d.ts +13 -0
- package/es/tag/interface.d.ts +1 -0
- package/es/tag/style/index.css +159 -159
- package/es/tag/style/token.scss +513 -0
- package/es/tag/tag.vue.d.ts +13 -3
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +35 -8
- package/es/tag-group/style/index.css +3 -3
- package/es/tag-group/style/token.scss +9 -0
- package/es/textarea/style/index.css +40 -40
- package/es/time-picker/style/index.css +12 -12
- package/es/time-picker/style/token.scss +50 -0
- package/es/timeline/style/index.css +22 -22
- package/es/timeline/style/token.scss +75 -0
- package/es/toolbar/style/index.css +6 -6
- package/es/toolbar/style/token.scss +45 -0
- package/es/tooltip/style/index.css +8 -8
- package/es/tooltip/style/token.scss +46 -0
- package/es/tour/style/index.css +28 -28
- package/es/tour/style/token.scss +65 -0
- package/es/transfer/style/index.css +46 -45
- package/es/transfer/style/index.scss +4 -1
- package/es/transfer/style/token.scss +199 -0
- package/es/tree/style/index.css +43 -36
- package/es/tree/style/index.scss +10 -0
- package/es/tree/style/token.scss +163 -0
- package/es/tree-select/style/index.css +9 -9
- package/es/tree-select/style/token.scss +21 -0
- package/es/trigger/style/index.css +7 -7
- package/es/trigger/style/token.scss +19 -0
- package/es/typography/style/index.css +40 -40
- package/es/typography/style/token.scss +220 -0
- package/es/upload/index.d.ts +3 -0
- package/es/upload/style/index.css +95 -95
- package/es/upload/style/token.scss +470 -0
- package/es/upload/upload.vue.d.ts +2 -0
- package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +109 -16
- package/json/vetur-attributes.json +7 -0
- package/json/vetur-tags.json +4 -1
- package/json/web-types.json +18 -2
- package/package.json +7 -2
- package/es/style/color/palette-dark.d.ts +0 -4
- package/es/style/color/palette-dark.js +0 -10
- package/es/style/color/palette.d.ts +0 -4
- package/es/style/color/palette.js +0 -10
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
4
5
|
|
|
5
6
|
$tag-group-gap: global.$spacing-2;
|
|
6
7
|
$tag-group-popover-max-width: 320px;
|
|
8
|
+
|
|
9
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
10
|
+
$tag-group-gap: theme-runtime.token('tag-group', 'tag-group-gap', $tag-group-gap, 'spacing-2');
|
|
11
|
+
$tag-group-popover-max-width: theme-runtime.token(
|
|
12
|
+
'tag-group',
|
|
13
|
+
'tag-group-popover-max-width',
|
|
14
|
+
$tag-group-popover-max-width
|
|
15
|
+
);
|
|
@@ -26,52 +26,52 @@
|
|
|
26
26
|
width: 100%;
|
|
27
27
|
padding-right: 12px;
|
|
28
28
|
padding-left: 12px;
|
|
29
|
-
color: var(--sd-color-text-1);
|
|
30
|
-
font-size: 14px;
|
|
31
|
-
background-color: var(--sd-color-fill-2);
|
|
32
|
-
border: 1px solid transparent;
|
|
33
|
-
border-radius: var(--sd-border-radius-small);
|
|
29
|
+
color: var(--component-input-input-color-text, var(--component-input-color-text, var(--sd-color-text-1)));
|
|
30
|
+
font-size: var(--component-input-input-size-default-font-size, var(--component-input-size-default-font-size, var(--font-size-body-3, 14px)));
|
|
31
|
+
background-color: var(--component-input-input-color-bg, var(--component-input-color-bg, var(--sd-color-fill-2)));
|
|
32
|
+
border: 1px solid var(--component-input-input-color-border, var(--component-input-color-border, var(--color-transparent, var(--sd-color-transparent, transparent))));
|
|
33
|
+
border-radius: var(--component-input-input-border-radius, var(--component-input-border-radius, var(--sd-border-radius-small)));
|
|
34
34
|
cursor: text;
|
|
35
35
|
transition: color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), border-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
36
36
|
}
|
|
37
37
|
.sd-textarea-wrapper:hover {
|
|
38
|
-
background-color: var(--sd-color-fill-3);
|
|
39
|
-
border-color: transparent;
|
|
38
|
+
background-color: var(--component-input-input-color-bg-hover, var(--component-input-color-bg-hover, var(--sd-color-fill-3)));
|
|
39
|
+
border-color: var(--component-input-input-color-border-hover, var(--component-input-color-border-hover, var(--color-transparent, var(--sd-color-transparent, transparent))));
|
|
40
40
|
}
|
|
41
41
|
.sd-textarea-wrapper:focus-within, .sd-textarea-wrapper.sd-textarea-focus {
|
|
42
42
|
z-index: 1;
|
|
43
|
-
background-color: var(--sd-color-bg-2);
|
|
44
|
-
border-color: rgb(var(--sd-primary-6));
|
|
45
|
-
box-shadow: 0 0 0 0 var(--sd-color-primary-light-2);
|
|
43
|
+
background-color: var(--component-input-input-color-bg-focus, var(--component-input-color-bg-focus, var(--sd-color-bg-2)));
|
|
44
|
+
border-color: var(--component-input-input-color-border-focus, var(--component-input-color-border-focus, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
45
|
+
box-shadow: 0 0 0 var(--component-input-input-size-shadow-focus, var(--component-input-size-shadow-focus, var(--shadow-distance-none, 0))) var(--component-input-input-color-shadow-focus, var(--component-input-color-shadow-focus, var(--sd-color-primary-light-2)));
|
|
46
46
|
}
|
|
47
47
|
.sd-textarea-wrapper.sd-textarea-disabled {
|
|
48
|
-
color: var(--sd-color-text-4);
|
|
49
|
-
background-color: var(--sd-color-fill-2);
|
|
50
|
-
border-color: transparent;
|
|
48
|
+
color: var(--component-input-input-color-text-disabled, var(--component-input-color-text-disabled, var(--sd-color-text-4)));
|
|
49
|
+
background-color: var(--component-input-input-color-bg-disabled, var(--component-input-color-bg-disabled, var(--sd-color-fill-2)));
|
|
50
|
+
border-color: var(--component-input-input-color-border-disabled, var(--component-input-color-border-disabled, var(--color-transparent, var(--sd-color-transparent, transparent))));
|
|
51
51
|
cursor: not-allowed;
|
|
52
52
|
}
|
|
53
53
|
.sd-textarea-wrapper.sd-textarea-disabled:hover {
|
|
54
|
-
color: var(--sd-color-text-4);
|
|
55
|
-
background-color: var(--sd-color-fill-2);
|
|
56
|
-
border-color: transparent;
|
|
54
|
+
color: var(--component-input-input-color-text-disabled, var(--component-input-color-text-disabled, var(--sd-color-text-4)));
|
|
55
|
+
background-color: var(--component-input-input-color-bg-disabled, var(--component-input-color-bg-disabled, var(--sd-color-fill-2)));
|
|
56
|
+
border-color: var(--component-input-input-color-border-disabled, var(--component-input-color-border-disabled, var(--color-transparent, var(--sd-color-transparent, transparent))));
|
|
57
57
|
}
|
|
58
58
|
.sd-textarea-wrapper.sd-textarea-disabled .sd-textarea-prefix,
|
|
59
59
|
.sd-textarea-wrapper.sd-textarea-disabled .sd-textarea-suffix {
|
|
60
60
|
color: inherit;
|
|
61
61
|
}
|
|
62
62
|
.sd-textarea-wrapper.sd-textarea-error {
|
|
63
|
-
background-color: var(--sd-color-danger-light-1);
|
|
64
|
-
border-color: transparent;
|
|
63
|
+
background-color: var(--component-input-input-color-bg-error, var(--component-input-color-bg-error, var(--sd-color-danger-light-1)));
|
|
64
|
+
border-color: var(--component-input-input-color-border-error, var(--component-input-color-border-error, var(--color-transparent, var(--sd-color-transparent, transparent))));
|
|
65
65
|
}
|
|
66
66
|
.sd-textarea-wrapper.sd-textarea-error:hover {
|
|
67
|
-
background-color: var(--sd-color-danger-light-2);
|
|
68
|
-
border-color: transparent;
|
|
67
|
+
background-color: var(--component-input-input-color-bg-error-hover, var(--component-input-color-bg-error-hover, var(--sd-color-danger-light-2)));
|
|
68
|
+
border-color: var(--component-input-input-color-border-error-hover, var(--component-input-color-border-error-hover, var(--color-transparent, var(--sd-color-transparent, transparent))));
|
|
69
69
|
}
|
|
70
70
|
.sd-textarea-wrapper.sd-textarea-error:focus-within, .sd-textarea-wrapper.sd-textarea-error.sd-textarea-wrapper-focus {
|
|
71
71
|
z-index: 1;
|
|
72
|
-
background-color: var(--sd-color-bg-2);
|
|
73
|
-
border-color: rgb(var(--sd-danger-6));
|
|
74
|
-
box-shadow: 0 0 0 0 var(--sd-color-danger-light-2);
|
|
72
|
+
background-color: var(--component-input-input-color-bg-error-focus, var(--component-input-color-bg-error-focus, var(--component-input-input-color-bg-focus, var(--component-input-color-bg-focus, var(--sd-color-bg-2)))));
|
|
73
|
+
border-color: var(--component-input-input-color-border-error-focus, var(--component-input-color-border-error-focus, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))));
|
|
74
|
+
box-shadow: 0 0 0 var(--component-input-input-size-shadow-error-focus, var(--component-input-size-shadow-error-focus, var(--shadow-distance-none, 0))) var(--component-input-input-color-shadow-error-focus, var(--component-input-color-shadow-error-focus, var(--sd-color-danger-light-2)));
|
|
75
75
|
}
|
|
76
76
|
.sd-textarea-wrapper .sd-textarea-prefix,
|
|
77
77
|
.sd-textarea-wrapper .sd-textarea-suffix {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
}
|
|
84
84
|
.sd-textarea-wrapper .sd-textarea-prefix > svg,
|
|
85
85
|
.sd-textarea-wrapper .sd-textarea-suffix > svg {
|
|
86
|
-
font-size: 14px;
|
|
86
|
+
font-size: var(--component-input-input-size-default-icon-suffix-size, var(--component-input-size-default-icon-suffix-size, 14px));
|
|
87
87
|
}
|
|
88
88
|
.sd-textarea-wrapper .sd-textarea-prefix {
|
|
89
89
|
padding-right: 12px;
|
|
@@ -91,27 +91,27 @@
|
|
|
91
91
|
}
|
|
92
92
|
.sd-textarea-wrapper .sd-textarea-suffix {
|
|
93
93
|
padding-left: 12px;
|
|
94
|
-
color: var(--sd-color-text-2);
|
|
94
|
+
color: var(--component-input-input-color-suffix-text, var(--component-input-color-suffix-text, var(--sd-color-text-2)));
|
|
95
95
|
}
|
|
96
96
|
.sd-textarea-wrapper .sd-textarea-suffix .sd-feedback-icon {
|
|
97
97
|
display: inline-flex;
|
|
98
98
|
}
|
|
99
99
|
.sd-textarea-wrapper .sd-textarea-suffix .sd-feedback-icon-status-validating {
|
|
100
|
-
color: rgb(var(--sd-primary-6));
|
|
100
|
+
color: var(--component-input-input-feedback-icon-color-validating, var(--component-input-feedback-icon-color-validating, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
101
101
|
}
|
|
102
102
|
.sd-textarea-wrapper .sd-textarea-suffix .sd-feedback-icon-status-success {
|
|
103
|
-
color: rgb(var(--sd-success-6));
|
|
103
|
+
color: var(--component-input-input-feedback-icon-color-success, var(--component-input-feedback-icon-color-success, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))));
|
|
104
104
|
}
|
|
105
105
|
.sd-textarea-wrapper .sd-textarea-suffix .sd-feedback-icon-status-warning {
|
|
106
|
-
color: rgb(var(--sd-warning-6));
|
|
106
|
+
color: var(--component-input-input-feedback-icon-color-warning, var(--component-input-feedback-icon-color-warning, var(--color-warning-6, var(--sd-color-warning-6, rgb(var(--sd-warning-6))))));
|
|
107
107
|
}
|
|
108
108
|
.sd-textarea-wrapper .sd-textarea-suffix .sd-feedback-icon-status-error {
|
|
109
|
-
color: rgb(var(--sd-danger-6));
|
|
109
|
+
color: var(--component-input-input-feedback-icon-color-error, var(--component-input-feedback-icon-color-error, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))));
|
|
110
110
|
}
|
|
111
111
|
.sd-textarea-wrapper .sd-textarea-clear-btn {
|
|
112
112
|
align-self: center;
|
|
113
|
-
color: var(--sd-color-text-2);
|
|
114
|
-
font-size: 12px;
|
|
113
|
+
color: var(--component-input-input-color-icon-clear, var(--component-input-color-icon-clear, var(--sd-color-text-2)));
|
|
114
|
+
font-size: var(--component-input-input-size-icon-clear, var(--component-input-size-icon-clear, var(--size-3, 12px)));
|
|
115
115
|
visibility: hidden;
|
|
116
116
|
cursor: pointer;
|
|
117
117
|
}
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
visibility: visible;
|
|
124
124
|
}
|
|
125
125
|
.sd-textarea-wrapper:not(.sd-textarea-focus) .sd-textarea-icon-hover:hover::before {
|
|
126
|
-
background-color: var(--sd-color-fill-4);
|
|
126
|
+
background-color: var(--component-input-input-color-icon-clear-bg-hover, var(--component-input-color-icon-clear-bg-hover, var(--sd-color-fill-4)));
|
|
127
127
|
}
|
|
128
128
|
.sd-textarea-wrapper {
|
|
129
129
|
position: relative;
|
|
@@ -142,9 +142,9 @@
|
|
|
142
142
|
.sd-textarea-wrapper .sd-textarea-word-limit {
|
|
143
143
|
position: absolute;
|
|
144
144
|
right: 10px;
|
|
145
|
-
bottom: 6px;
|
|
146
|
-
color: var(--sd-color-text-3);
|
|
147
|
-
font-size: 12px;
|
|
145
|
+
bottom: var(--component-input-textarea-layout-tip-bottom, var(--component-input-layout-tip-bottom, var(--spacing-3, 6px)));
|
|
146
|
+
color: var(--component-input-textarea-color-tip-text, var(--component-input-color-tip-text, var(--sd-color-text-3)));
|
|
147
|
+
font-size: var(--component-input-textarea-font-tip-size, var(--component-input-font-tip-size, var(--font-size-body-1, 12px)));
|
|
148
148
|
user-select: none;
|
|
149
149
|
}
|
|
150
150
|
.sd-textarea-wrapper.sd-textarea-scroll .sd-textarea-word-limit {
|
|
@@ -182,21 +182,21 @@
|
|
|
182
182
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
183
183
|
}
|
|
184
184
|
.sd-textarea::placeholder {
|
|
185
|
-
color: var(--sd-color-text-3);
|
|
185
|
+
color: var(--component-input-input-color-placeholder-text, var(--component-input-color-placeholder-text, var(--sd-color-text-3)));
|
|
186
186
|
}
|
|
187
187
|
.sd-textarea[disabled]::placeholder {
|
|
188
|
-
color: var(--sd-color-text-4);
|
|
188
|
+
color: var(--component-input-input-color-text-disabled, var(--component-input-color-text-disabled, var(--sd-color-text-4)));
|
|
189
189
|
}
|
|
190
190
|
.sd-textarea[disabled] {
|
|
191
|
-
-webkit-text-fill-color: var(--sd-color-text-4);
|
|
191
|
+
-webkit-text-fill-color: var(--component-input-input-color-text-disabled, var(--component-input-color-text-disabled, var(--sd-color-text-4)));
|
|
192
192
|
}
|
|
193
193
|
.sd-textarea {
|
|
194
194
|
display: block;
|
|
195
195
|
box-sizing: border-box;
|
|
196
196
|
height: 100%;
|
|
197
|
-
min-height: 32px;
|
|
197
|
+
min-height: var(--component-input-textarea-size-min-height, var(--component-input-size-min-height, var(--size-default, 32px)));
|
|
198
198
|
padding: 4px 12px;
|
|
199
|
-
font-size: 14px;
|
|
199
|
+
font-size: var(--component-input-textarea-font-size, var(--component-input-font-size, var(--font-size-body-3, 14px)));
|
|
200
200
|
line-height: 1.5715;
|
|
201
201
|
vertical-align: top;
|
|
202
202
|
resize: vertical;
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
.sd-timepicker-container {
|
|
25
25
|
overflow: hidden;
|
|
26
26
|
background-color: var(--sd-color-bg-popup);
|
|
27
|
-
border: 1px solid var(--sd-color-neutral-3);
|
|
28
|
-
border-radius: var(--sd-border-radius-medium);
|
|
27
|
+
border: 1px solid var(--component-time-picker-timepicker-color-border, var(--component-time-picker-color-border, var(--sd-color-neutral-3)));
|
|
28
|
+
border-radius: var(--component-time-picker-timepicker-wrapper-border-radius, var(--component-time-picker-wrapper-border-radius, var(--sd-border-radius-medium)));
|
|
29
29
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
|
|
30
30
|
}
|
|
31
31
|
.sd-timepicker-column {
|
|
32
32
|
box-sizing: border-box;
|
|
33
|
-
width: 64px;
|
|
33
|
+
width: var(--component-time-picker-timepicker-column-width, var(--component-time-picker-column-width, 64px));
|
|
34
34
|
height: 224px;
|
|
35
35
|
overflow: hidden;
|
|
36
36
|
}
|
|
37
37
|
.sd-timepicker-column:not(:last-child) {
|
|
38
|
-
border-right: 1px solid var(--sd-color-neutral-3);
|
|
38
|
+
border-right: 1px solid var(--component-time-picker-timepicker-color-border, var(--component-time-picker-color-border, var(--sd-color-neutral-3)));
|
|
39
39
|
}
|
|
40
40
|
.sd-timepicker-column:hover {
|
|
41
41
|
overflow-y: auto;
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
}
|
|
55
55
|
.sd-timepicker-cell {
|
|
56
56
|
padding: 4px 0;
|
|
57
|
-
color: var(--sd-color-text-1);
|
|
58
|
-
font-weight: 500;
|
|
57
|
+
color: var(--component-time-picker-timepicker-color-text-cell, var(--component-time-picker-color-text-cell, var(--sd-color-text-1)));
|
|
58
|
+
font-weight: var(--component-time-picker-timepicker-font-weight-cell, var(--component-time-picker-font-weight-cell, var(--font-weight-500, 500)));
|
|
59
59
|
cursor: pointer;
|
|
60
60
|
}
|
|
61
61
|
.sd-timepicker-cell-inner {
|
|
@@ -65,27 +65,27 @@
|
|
|
65
65
|
line-height: 24px;
|
|
66
66
|
}
|
|
67
67
|
.sd-timepicker-cell:not(.sd-timepicker-cell-selected, .sd-timepicker-cell-disabled):hover .sd-timepicker-cell-inner {
|
|
68
|
-
background-color: var(--sd-color-fill-2);
|
|
68
|
+
background-color: var(--component-time-picker-timepicker-color-bg-cell-hover, var(--component-time-picker-color-bg-cell-hover, var(--sd-color-fill-2)));
|
|
69
69
|
}
|
|
70
70
|
.sd-timepicker-cell-selected .sd-timepicker-cell-inner {
|
|
71
|
-
font-weight: 500;
|
|
72
|
-
background-color: var(--sd-color-fill-2);
|
|
71
|
+
font-weight: var(--component-time-picker-timepicker-font-weight-cell-active, var(--component-time-picker-font-weight-cell-active, var(--font-weight-500, 500)));
|
|
72
|
+
background-color: var(--component-time-picker-timepicker-color-bg-cell-active, var(--component-time-picker-color-bg-cell-active, var(--sd-color-fill-2)));
|
|
73
73
|
}
|
|
74
74
|
.sd-timepicker-cell-disabled {
|
|
75
|
-
color: var(--sd-color-text-4);
|
|
75
|
+
color: var(--component-time-picker-timepicker-color-text-cell-disabled, var(--component-time-picker-color-text-cell-disabled, var(--sd-color-text-4)));
|
|
76
76
|
cursor: not-allowed;
|
|
77
77
|
}
|
|
78
78
|
.sd-timepicker-footer-extra-wrapper {
|
|
79
79
|
padding: 8px;
|
|
80
80
|
color: var(--sd-color-text-1);
|
|
81
81
|
font-size: 12px;
|
|
82
|
-
border-top: 1px solid var(--sd-color-neutral-3);
|
|
82
|
+
border-top: 1px solid var(--component-time-picker-timepicker-color-border, var(--component-time-picker-color-border, var(--sd-color-neutral-3)));
|
|
83
83
|
}
|
|
84
84
|
.sd-timepicker-footer-btn-wrapper {
|
|
85
85
|
display: flex;
|
|
86
86
|
justify-content: space-between;
|
|
87
87
|
padding: 8px;
|
|
88
|
-
border-top: 1px solid var(--sd-color-neutral-3);
|
|
88
|
+
border-top: 1px solid var(--component-time-picker-timepicker-color-border, var(--component-time-picker-color-border, var(--sd-color-neutral-3)));
|
|
89
89
|
}
|
|
90
90
|
.sd-timepicker-footer-btn-wrapper :only-child {
|
|
91
91
|
margin-left: auto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
@@ -31,3 +32,52 @@ $timepicker-color-text-cell_disabled: var(
|
|
|
31
32
|
$timepicker-font-weight-cell: global.$font-weight-500;
|
|
32
33
|
|
|
33
34
|
$timepicker-font-weight-cell_active: global.$font-weight-500;
|
|
35
|
+
|
|
36
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
37
|
+
$timepicker-wrapper-border-radius: theme-runtime.token(
|
|
38
|
+
'time-picker',
|
|
39
|
+
'timepicker-wrapper-border-radius',
|
|
40
|
+
$timepicker-wrapper-border-radius
|
|
41
|
+
);
|
|
42
|
+
$timepicker-column-width: theme-runtime.token(
|
|
43
|
+
'time-picker',
|
|
44
|
+
'timepicker-column-width',
|
|
45
|
+
$timepicker-column-width
|
|
46
|
+
);
|
|
47
|
+
$timepicker-color-border: theme-runtime.token(
|
|
48
|
+
'time-picker',
|
|
49
|
+
'timepicker-color-border',
|
|
50
|
+
$timepicker-color-border
|
|
51
|
+
);
|
|
52
|
+
$timepicker-color-text-cell: theme-runtime.token(
|
|
53
|
+
'time-picker',
|
|
54
|
+
'timepicker-color-text-cell',
|
|
55
|
+
$timepicker-color-text-cell
|
|
56
|
+
);
|
|
57
|
+
$timepicker-color-bg-cell_hover: theme-runtime.token(
|
|
58
|
+
'time-picker',
|
|
59
|
+
'timepicker-color-bg-cell-hover',
|
|
60
|
+
$timepicker-color-bg-cell_hover
|
|
61
|
+
);
|
|
62
|
+
$timepicker-color-bg-cell_active: theme-runtime.token(
|
|
63
|
+
'time-picker',
|
|
64
|
+
'timepicker-color-bg-cell-active',
|
|
65
|
+
$timepicker-color-bg-cell_active
|
|
66
|
+
);
|
|
67
|
+
$timepicker-color-text-cell_disabled: theme-runtime.token(
|
|
68
|
+
'time-picker',
|
|
69
|
+
'timepicker-color-text-cell-disabled',
|
|
70
|
+
$timepicker-color-text-cell_disabled
|
|
71
|
+
);
|
|
72
|
+
$timepicker-font-weight-cell: theme-runtime.token(
|
|
73
|
+
'time-picker',
|
|
74
|
+
'timepicker-font-weight-cell',
|
|
75
|
+
$timepicker-font-weight-cell,
|
|
76
|
+
'font-weight-500'
|
|
77
|
+
);
|
|
78
|
+
$timepicker-font-weight-cell_active: theme-runtime.token(
|
|
79
|
+
'time-picker',
|
|
80
|
+
'timepicker-font-weight-cell-active',
|
|
81
|
+
$timepicker-font-weight-cell_active,
|
|
82
|
+
'font-weight-500'
|
|
83
|
+
);
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
}
|
|
22
22
|
.sd-timeline-item {
|
|
23
23
|
position: relative;
|
|
24
|
-
min-height: 78px;
|
|
24
|
+
min-height: var(--component-timeline-timeline-item-min-height, var(--component-timeline-item-min-height, 78px));
|
|
25
25
|
padding-left: 6px;
|
|
26
|
-
color: var(--sd-color-text-1);
|
|
26
|
+
color: var(--component-timeline-timeline-color-content-text, var(--component-timeline-color-content-text, var(--sd-color-text-1)));
|
|
27
27
|
font-size: 14px;
|
|
28
28
|
}
|
|
29
29
|
.sd-timeline-item-label {
|
|
30
|
-
color: var(--sd-color-text-3);
|
|
31
|
-
font-size: 12px;
|
|
30
|
+
color: var(--component-timeline-timeline-color-label-text, var(--component-timeline-color-label-text, var(--sd-color-text-3)));
|
|
31
|
+
font-size: var(--component-timeline-timeline-font-label-size, var(--component-timeline-font-label-size, var(--font-size-body-1, 12px)));
|
|
32
32
|
line-height: 1.667;
|
|
33
33
|
}
|
|
34
34
|
.sd-timeline-item-content {
|
|
35
|
-
margin-bottom: 4px;
|
|
36
|
-
color: var(--sd-color-text-1);
|
|
35
|
+
margin-bottom: var(--component-timeline-timeline-vertical-margin-content-bottom, var(--component-timeline-vertical-margin-content-bottom, var(--spacing-2, 4px)));
|
|
36
|
+
color: var(--component-timeline-timeline-color-content-text, var(--component-timeline-color-content-text, var(--sd-color-text-1)));
|
|
37
37
|
font-size: 14px;
|
|
38
38
|
line-height: 1.5715;
|
|
39
39
|
}
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
width: 6px;
|
|
65
65
|
height: 6px;
|
|
66
66
|
margin-top: -50%;
|
|
67
|
-
color: rgb(var(--sd-primary-6));
|
|
68
|
-
border-radius: var(--sd-border-radius-circle);
|
|
67
|
+
color: var(--component-timeline-timeline-color-dot-bg, var(--component-timeline-color-dot-bg, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
68
|
+
border-radius: var(--component-timeline-timeline-dot-border-radius, var(--component-timeline-dot-border-radius, var(--sd-border-radius-circle)));
|
|
69
69
|
}
|
|
70
70
|
.sd-timeline-item-dot-solid {
|
|
71
|
-
background-color: rgb(var(--sd-primary-6));
|
|
71
|
+
background-color: var(--component-timeline-timeline-color-dot-bg, var(--component-timeline-color-dot-bg, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
72
72
|
}
|
|
73
73
|
.sd-timeline-item-dot-hollow {
|
|
74
|
-
background-color: var(--sd-color-bg-2);
|
|
75
|
-
border: 2px solid rgb(var(--sd-primary-6));
|
|
74
|
+
background-color: var(--component-timeline-timeline-color-dot-bg-hollow, var(--component-timeline-color-dot-bg-hollow, var(--sd-color-bg-2)));
|
|
75
|
+
border: var(--component-timeline-timeline-dot-border-width-hollow, var(--component-timeline-dot-border-width-hollow, var(--border-2, 2px))) solid var(--component-timeline-timeline-color-dot-bg, var(--component-timeline-color-dot-bg, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
76
76
|
}
|
|
77
77
|
.sd-timeline-item-dot-custom {
|
|
78
78
|
position: absolute;
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
left: 50%;
|
|
81
81
|
display: inline-flex;
|
|
82
82
|
box-sizing: border-box;
|
|
83
|
-
color: rgb(var(--sd-primary-6));
|
|
83
|
+
color: var(--component-timeline-timeline-color-dot-bg, var(--component-timeline-color-dot-bg, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
84
84
|
background-color: var(--sd-color-bg-2);
|
|
85
85
|
transform: translateX(-50%) translateY(-50%);
|
|
86
86
|
transform-origin: center;
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
bottom: -4.0005px;
|
|
95
95
|
left: 50%;
|
|
96
96
|
box-sizing: border-box;
|
|
97
|
-
width: 1px;
|
|
98
|
-
border-color: var(--sd-color-neutral-3);
|
|
99
|
-
border-left-width: 1px;
|
|
97
|
+
width: var(--component-timeline-timeline-size-line-width, var(--component-timeline-size-line-width, var(--border-1, 1px)));
|
|
98
|
+
border-color: var(--component-timeline-timeline-color-line-bg, var(--component-timeline-color-line-bg, var(--sd-color-neutral-3)));
|
|
99
|
+
border-left-width: var(--component-timeline-timeline-size-line-width, var(--component-timeline-size-line-width, var(--border-1, 1px)));
|
|
100
100
|
transform: translateX(-50%);
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
margin-top: 50px;
|
|
178
178
|
}
|
|
179
179
|
.sd-timeline-item-horizontal-top.sd-timeline-item-label-relative > .sd-timeline-item-label {
|
|
180
|
-
padding-bottom: 16px;
|
|
180
|
+
padding-bottom: var(--component-timeline-timeline-horizontal-margin-content-spacing, var(--component-timeline-horizontal-margin-content-spacing, var(--spacing-7, 16px)));
|
|
181
181
|
transform: translateY(-100%);
|
|
182
182
|
}
|
|
183
183
|
.sd-timeline-item-horizontal-top.sd-timeline-item-label-relative > .sd-timeline-item-content {
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
.sd-timeline-item-horizontal-bottom.sd-timeline-item-label-relative > .sd-timeline-item-label {
|
|
193
193
|
top: unset;
|
|
194
194
|
bottom: 0;
|
|
195
|
-
padding-top: 16px;
|
|
195
|
+
padding-top: var(--component-timeline-timeline-horizontal-margin-content-spacing, var(--component-timeline-horizontal-margin-content-spacing, var(--spacing-7, 16px)));
|
|
196
196
|
text-align: left;
|
|
197
197
|
transform: translateY(100%);
|
|
198
198
|
}
|
|
@@ -250,11 +250,11 @@
|
|
|
250
250
|
|
|
251
251
|
.sd-timeline-item-dot-line-is-horizontal {
|
|
252
252
|
top: 50%;
|
|
253
|
-
right: 4px;
|
|
253
|
+
right: var(--component-timeline-timeline-horizontal-margin-line-right, var(--component-timeline-horizontal-margin-line-right, var(--spacing-2, 4px)));
|
|
254
254
|
left: 12px;
|
|
255
255
|
width: unset;
|
|
256
|
-
height: 1px;
|
|
257
|
-
border-top-width: 1px;
|
|
256
|
+
height: var(--component-timeline-timeline-size-line-width, var(--component-timeline-size-line-width, var(--border-1, 1px)));
|
|
257
|
+
border-top-width: var(--component-timeline-timeline-size-line-width, var(--component-timeline-size-line-width, var(--border-1, 1px)));
|
|
258
258
|
border-left: none;
|
|
259
259
|
transform: translateY(-50%);
|
|
260
260
|
}
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
.sd-timeline-item-horizontal-top > .sd-timeline-item-content-wrapper {
|
|
299
|
-
margin-top: 16px;
|
|
299
|
+
margin-top: var(--component-timeline-timeline-horizontal-margin-content-spacing, var(--component-timeline-horizontal-margin-content-spacing, var(--spacing-7, 16px)));
|
|
300
300
|
margin-left: 0;
|
|
301
301
|
}
|
|
302
302
|
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
.sd-timeline-item-horizontal-bottom > .sd-timeline-item-content-wrapper {
|
|
313
|
-
margin-bottom: 16px;
|
|
313
|
+
margin-bottom: var(--component-timeline-timeline-horizontal-margin-content-spacing, var(--component-timeline-horizontal-margin-content-spacing, var(--spacing-7, 16px)));
|
|
314
314
|
margin-left: 0;
|
|
315
315
|
}
|
|
316
316
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
@@ -43,3 +44,77 @@ $timeline-vertical-margin-line-top: global.$spacing-2;
|
|
|
43
44
|
$timeline-vertical-margin-line-bottom: global.$spacing-2;
|
|
44
45
|
|
|
45
46
|
$timeline-size-line-width: global.$border-1;
|
|
47
|
+
|
|
48
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
49
|
+
$timeline-color-content-text: theme-runtime.token(
|
|
50
|
+
'timeline',
|
|
51
|
+
'timeline-color-content-text',
|
|
52
|
+
$timeline-color-content-text
|
|
53
|
+
);
|
|
54
|
+
$timeline-color-label-text: theme-runtime.token(
|
|
55
|
+
'timeline',
|
|
56
|
+
'timeline-color-label-text',
|
|
57
|
+
$timeline-color-label-text
|
|
58
|
+
);
|
|
59
|
+
$timeline-color-dot-bg: theme-runtime.token(
|
|
60
|
+
'timeline',
|
|
61
|
+
'timeline-color-dot-bg',
|
|
62
|
+
$timeline-color-dot-bg,
|
|
63
|
+
'color-primary-6'
|
|
64
|
+
);
|
|
65
|
+
$timeline-color-line-bg: theme-runtime.token(
|
|
66
|
+
'timeline',
|
|
67
|
+
'timeline-color-line-bg',
|
|
68
|
+
$timeline-color-line-bg
|
|
69
|
+
);
|
|
70
|
+
$timeline-font-label-size: theme-runtime.token(
|
|
71
|
+
'timeline',
|
|
72
|
+
'timeline-font-label-size',
|
|
73
|
+
$timeline-font-label-size,
|
|
74
|
+
'font-size-body-1'
|
|
75
|
+
);
|
|
76
|
+
$timeline-item-min-height: theme-runtime.token(
|
|
77
|
+
'timeline',
|
|
78
|
+
'timeline-item-min-height',
|
|
79
|
+
$timeline-item-min-height
|
|
80
|
+
);
|
|
81
|
+
$timeline-dot-border-radius: theme-runtime.token(
|
|
82
|
+
'timeline',
|
|
83
|
+
'timeline-dot-border-radius',
|
|
84
|
+
$timeline-dot-border-radius
|
|
85
|
+
);
|
|
86
|
+
$timeline-dot-border-width_hollow: theme-runtime.token(
|
|
87
|
+
'timeline',
|
|
88
|
+
'timeline-dot-border-width-hollow',
|
|
89
|
+
$timeline-dot-border-width_hollow,
|
|
90
|
+
'border-2'
|
|
91
|
+
);
|
|
92
|
+
$timeline-color-dot-bg_hollow: theme-runtime.token(
|
|
93
|
+
'timeline',
|
|
94
|
+
'timeline-color-dot-bg-hollow',
|
|
95
|
+
$timeline-color-dot-bg_hollow
|
|
96
|
+
);
|
|
97
|
+
$timeline-horizontal-margin-content-spacing: theme-runtime.token(
|
|
98
|
+
'timeline',
|
|
99
|
+
'timeline-horizontal-margin-content-spacing',
|
|
100
|
+
$timeline-horizontal-margin-content-spacing,
|
|
101
|
+
'spacing-7'
|
|
102
|
+
);
|
|
103
|
+
$timeline-horizontal-margin-line-right: theme-runtime.token(
|
|
104
|
+
'timeline',
|
|
105
|
+
'timeline-horizontal-margin-line-right',
|
|
106
|
+
$timeline-horizontal-margin-line-right,
|
|
107
|
+
'spacing-2'
|
|
108
|
+
);
|
|
109
|
+
$timeline-vertical-margin-content-bottom: theme-runtime.token(
|
|
110
|
+
'timeline',
|
|
111
|
+
'timeline-vertical-margin-content-bottom',
|
|
112
|
+
$timeline-vertical-margin-content-bottom,
|
|
113
|
+
'spacing-2'
|
|
114
|
+
);
|
|
115
|
+
$timeline-size-line-width: theme-runtime.token(
|
|
116
|
+
'timeline',
|
|
117
|
+
'timeline-size-line-width',
|
|
118
|
+
$timeline-size-line-width,
|
|
119
|
+
'border-1'
|
|
120
|
+
);
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
.sd-toolbar-inner {
|
|
22
22
|
display: flex;
|
|
23
23
|
flex-wrap: wrap;
|
|
24
|
-
gap: 12px;
|
|
24
|
+
gap: var(--component-toolbar-toolbar-gap, var(--component-toolbar-gap, var(--spacing-6, 12px)));
|
|
25
25
|
align-items: flex-start;
|
|
26
26
|
width: 100%;
|
|
27
27
|
}
|
|
28
28
|
.sd-toolbar-with-border .sd-toolbar-inner {
|
|
29
|
-
padding-bottom: 8px;
|
|
30
|
-
border-bottom: 1px solid var(--sd-color-neutral-3);
|
|
29
|
+
padding-bottom: var(--component-toolbar-toolbar-padding-bottom, var(--component-toolbar-padding-bottom, var(--spacing-4, 8px)));
|
|
30
|
+
border-bottom: var(--component-toolbar-toolbar-border-width, var(--component-toolbar-border-width, var(--border-1, 1px))) var(--component-toolbar-toolbar-border-style, var(--component-toolbar-border-style, var(--border-solid, solid))) var(--component-toolbar-toolbar-color-border, var(--component-toolbar-color-border, var(--sd-color-neutral-3)));
|
|
31
31
|
}
|
|
32
32
|
.sd-toolbar-body {
|
|
33
33
|
flex: 1 1 0;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
display: grid;
|
|
41
41
|
flex: 1;
|
|
42
42
|
grid-template-columns: repeat(auto-fill, minmax(var(--toolbar-span-width), 1fr));
|
|
43
|
-
gap: 8px;
|
|
43
|
+
gap: var(--component-toolbar-toolbar-body-gap, var(--component-toolbar-body-gap, var(--spacing-4, 8px)));
|
|
44
44
|
width: 100%;
|
|
45
45
|
}
|
|
46
46
|
.sd-toolbar-body--schema .sd-form > * {
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
.sd-toolbar-actions {
|
|
59
59
|
display: flex;
|
|
60
60
|
flex-shrink: 0;
|
|
61
|
-
gap: 8px;
|
|
61
|
+
gap: var(--component-toolbar-toolbar-actions-gap, var(--component-toolbar-actions-gap, var(--spacing-4, 8px)));
|
|
62
62
|
align-items: center;
|
|
63
63
|
align-self: flex-end;
|
|
64
64
|
white-space: nowrap;
|
|
65
65
|
}
|
|
66
66
|
.sd-toolbar-expand {
|
|
67
67
|
display: inline-flex;
|
|
68
|
-
gap: 4px;
|
|
68
|
+
gap: var(--component-toolbar-toolbar-expand-gap, var(--component-toolbar-expand-gap, var(--spacing-2, 4px)));
|
|
69
69
|
align-items: center;
|
|
70
70
|
}
|
|
71
71
|
.sd-toolbar-expand-icon {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
@@ -21,3 +22,47 @@ $toolbar-color-border: var(string.unquote('#{global.$sd-cssvars-prefix}-color-ne
|
|
|
21
22
|
$toolbar-border-width: global.$border-1;
|
|
22
23
|
|
|
23
24
|
$toolbar-border-style: global.$border-solid;
|
|
25
|
+
|
|
26
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
27
|
+
$toolbar-gap: theme-runtime.token('toolbar', 'toolbar-gap', $toolbar-gap, 'spacing-6');
|
|
28
|
+
$toolbar-body-gap: theme-runtime.token(
|
|
29
|
+
'toolbar',
|
|
30
|
+
'toolbar-body-gap',
|
|
31
|
+
$toolbar-body-gap,
|
|
32
|
+
'spacing-4'
|
|
33
|
+
);
|
|
34
|
+
$toolbar-actions-gap: theme-runtime.token(
|
|
35
|
+
'toolbar',
|
|
36
|
+
'toolbar-actions-gap',
|
|
37
|
+
$toolbar-actions-gap,
|
|
38
|
+
'spacing-4'
|
|
39
|
+
);
|
|
40
|
+
$toolbar-expand-gap: theme-runtime.token(
|
|
41
|
+
'toolbar',
|
|
42
|
+
'toolbar-expand-gap',
|
|
43
|
+
$toolbar-expand-gap,
|
|
44
|
+
'spacing-2'
|
|
45
|
+
);
|
|
46
|
+
$toolbar-padding-bottom: theme-runtime.token(
|
|
47
|
+
'toolbar',
|
|
48
|
+
'toolbar-padding-bottom',
|
|
49
|
+
$toolbar-padding-bottom,
|
|
50
|
+
'spacing-4'
|
|
51
|
+
);
|
|
52
|
+
$toolbar-color-border: theme-runtime.token(
|
|
53
|
+
'toolbar',
|
|
54
|
+
'toolbar-color-border',
|
|
55
|
+
$toolbar-color-border
|
|
56
|
+
);
|
|
57
|
+
$toolbar-border-width: theme-runtime.token(
|
|
58
|
+
'toolbar',
|
|
59
|
+
'toolbar-border-width',
|
|
60
|
+
$toolbar-border-width,
|
|
61
|
+
'border-1'
|
|
62
|
+
);
|
|
63
|
+
$toolbar-border-style: theme-runtime.token(
|
|
64
|
+
'toolbar',
|
|
65
|
+
'toolbar-border-style',
|
|
66
|
+
$toolbar-border-style,
|
|
67
|
+
'border-solid'
|
|
68
|
+
);
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
}
|
|
21
21
|
.sd-tooltip-content {
|
|
22
22
|
max-width: 350px;
|
|
23
|
-
padding: 8px 12px;
|
|
24
|
-
color: #fff;
|
|
25
|
-
font-size: 14px;
|
|
23
|
+
padding: var(--component-tooltip-tooltip-padding-vertical, var(--component-tooltip-padding-vertical, var(--spacing-4, 8px))) var(--component-tooltip-tooltip-padding-horizontal, var(--component-tooltip-padding-horizontal, var(--spacing-6, 12px)));
|
|
24
|
+
color: var(--component-tooltip-tooltip-color-text, var(--component-tooltip-color-text, #fff));
|
|
25
|
+
font-size: var(--component-tooltip-tooltip-font-size, var(--component-tooltip-font-size, var(--font-size-body-3, 14px)));
|
|
26
26
|
line-height: 1.5715;
|
|
27
27
|
text-align: left;
|
|
28
28
|
overflow-wrap: break-word;
|
|
29
|
-
background-color: var(--sd-color-tooltip-bg);
|
|
30
|
-
border-radius: var(--sd-border-radius-small);
|
|
29
|
+
background-color: var(--component-tooltip-tooltip-color-bg, var(--component-tooltip-color-bg, var(--sd-color-tooltip-bg)));
|
|
30
|
+
border-radius: var(--component-tooltip-tooltip-border-radius, var(--component-tooltip-border-radius, var(--sd-border-radius-small)));
|
|
31
31
|
}
|
|
32
32
|
.sd-tooltip-mini {
|
|
33
|
-
padding: 4px 12px;
|
|
34
|
-
font-size: 14px;
|
|
33
|
+
padding: var(--component-tooltip-tooltip-mini-padding-vertical, var(--component-tooltip-mini-padding-vertical, var(--spacing-2, 4px))) var(--component-tooltip-tooltip-mini-padding-horizontal, var(--component-tooltip-mini-padding-horizontal, var(--spacing-6, 12px)));
|
|
34
|
+
font-size: var(--component-tooltip-tooltip-mini-font-size, var(--component-tooltip-mini-font-size, var(--font-size-body-3, 14px)));
|
|
35
35
|
}
|
|
36
36
|
.sd-tooltip-popup-arrow {
|
|
37
|
-
background-color: var(--sd-color-tooltip-bg);
|
|
37
|
+
background-color: var(--component-tooltip-tooltip-color-bg, var(--component-tooltip-color-bg, var(--sd-color-tooltip-bg)));
|
|
38
38
|
}
|