@sellmate/design-system 1.0.18 → 1.0.20
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/cjs/design-system.cjs.js +1 -1
- package/dist/cjs/{index--TtofS7_.js → index-D-PnW6jc.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{resolveColor-B7Ku3IGq.js → resolveColor-4RlaGD62.js} +226 -226
- package/dist/cjs/sd-badge.cjs.entry.js +4 -4
- package/dist/cjs/sd-button_21.cjs.entry.js +75 -54
- package/dist/cjs/sd-card.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/sd-file-picker.cjs.entry.js +5 -5
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-guide.cjs.entry.js +4 -4
- package/dist/cjs/sd-popover.cjs.entry.js +4 -4
- package/dist/cjs/sd-progress.cjs.entry.js +4 -4
- package/dist/cjs/sd-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/sd-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-multiple-group.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-multiple.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-option-group.cjs.entry.js +5 -5
- package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
- package/dist/cjs/sd-tag.cjs.entry.js +1 -1
- package/dist/cjs/sd-toast.cjs.entry.js +4 -4
- package/dist/cjs/sd-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{tooltipArrow-QmTMaygR.js → tooltipArrow-CMyNLSC-.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/assets/checkFilled/index.js +1 -1
- package/dist/collection/components/assets/checkOutline/index.js +1 -1
- package/dist/collection/components/sd-badge/sd-badge.css +1 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-button/sd-button.css +65 -26
- package/dist/collection/components/sd-button/sd-button.js +11 -7
- package/dist/collection/components/sd-card/sd-card.css +1 -1
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-checkbox/sd-checkbox.css +11 -11
- package/dist/collection/components/sd-date-box/sd-date-box.css +5 -5
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +1 -1
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.css +1 -1
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +2 -2
- package/dist/collection/components/sd-field/sd-field.css +14 -11
- package/dist/collection/components/sd-field/sd-field.js +3 -3
- package/dist/collection/components/sd-file-picker/sd-file-picker.css +10 -10
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +3 -3
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.css +15 -15
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-guide/sd-guide.css +66 -27
- package/dist/collection/components/sd-guide/sd-guide.js +2 -2
- package/dist/collection/components/sd-icon/sd-icon.js +2 -2
- package/dist/collection/components/sd-input/sd-input.css +2 -2
- package/dist/collection/components/sd-input/sd-input.js +1 -1
- package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +1 -1
- package/dist/collection/components/sd-number-input/sd-number-input.css +5 -5
- package/dist/collection/components/sd-number-input/sd-number-input.js +5 -4
- package/dist/collection/components/sd-pagination/sd-pagination.css +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +2 -2
- package/dist/collection/components/sd-popover/sd-popover.js +3 -3
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- package/dist/collection/components/sd-progress/sd-progress.css +6 -6
- package/dist/collection/components/sd-progress/sd-progress.js +2 -2
- package/dist/collection/components/sd-radio/sd-radio.css +8 -8
- package/dist/collection/components/sd-radio-button-group/sd-radio-button-group.css +7 -7
- package/dist/collection/components/sd-radio-group/sd-radio-group.css +8 -8
- package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.css +2 -2
- package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.css +4 -4
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
- package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
- package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.css +2 -2
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.css +6 -6
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
- package/dist/collection/components/sd-table/sd-table.css +14 -14
- package/dist/collection/components/sd-tabs/sd-tabs.css +8 -8
- package/dist/collection/components/sd-textarea/sd-textarea.css +6 -6
- package/dist/collection/components/sd-textarea/sd-textarea.js +2 -2
- package/dist/collection/components/sd-toast/sd-toast.js +3 -3
- package/dist/collection/components/sd-toggle/sd-toggle.css +6 -6
- package/dist/collection/components/sd-toggle-button/sd-toggle-button.css +9 -9
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-D4TaDVPI.js → p-B-UC5tW2.js} +1 -1
- package/dist/components/p-B82gJZ4z.js +1 -0
- package/dist/components/{p-CIDMF6fj.js → p-BVFlD1Lp.js} +1 -1
- package/dist/components/{p-DAj1C6hg.js → p-C0yQ73oI.js} +1 -1
- package/dist/components/{p-CNgER9mk.js → p-C1XPuuO-.js} +1 -1
- package/dist/components/{p-DojkP9rD.js → p-C6J-ZZxF.js} +1 -1
- package/dist/components/p-CDehvEQ5.js +1 -0
- package/dist/components/p-CHAh-_qx.js +1 -0
- package/dist/components/{p-IFDX7o1t.js → p-CU5TiEeI.js} +1 -1
- package/dist/components/{p-DOdjsjwr.js → p-CWg2auF3.js} +1 -1
- package/dist/components/{p-Bdq3Hub5.js → p-CaEyReID.js} +1 -1
- package/dist/components/{p-Bxs0Hp4o.js → p-CbQobmaB.js} +1 -1
- package/dist/components/{p-BDlbibwl.js → p-Cef06v8S.js} +1 -1
- package/dist/components/{p-Cc-cekjN.js → p-D0U1cMbs.js} +1 -1
- package/dist/components/{p-Ay5V-5Fu.js → p-D35gOcGh.js} +1 -1
- package/dist/components/p-DUqcOPNn.js +1 -0
- package/dist/components/{p-BE_euN7G.js → p-DdNQILvd.js} +1 -1
- package/dist/components/{p-7hAgxVaZ.js → p-DdOM8yc2.js} +1 -1
- package/dist/components/{p-Csz5Om2E.js → p-J-Yn0oS3.js} +1 -1
- package/dist/components/{p-BkU8yMUR.js → p-MmKik3mL.js} +1 -1
- package/dist/components/{p-Czdx4VDt.js → p-qSu-ayDy.js} +1 -1
- package/dist/components/{p-GjahxZoU.js → p-rn5S2icF.js} +1 -1
- package/dist/components/sd-badge.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-date-box.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker.js +1 -1
- package/dist/components/sd-field.js +1 -1
- package/dist/components/sd-file-picker.js +1 -1
- package/dist/components/sd-floating-portal.js +1 -1
- package/dist/components/sd-form.js +1 -1
- package/dist/components/sd-guide.js +1 -1
- package/dist/components/sd-icon.js +1 -1
- package/dist/components/sd-input.js +1 -1
- package/dist/components/sd-loading-spinner.js +1 -1
- package/dist/components/sd-modal-card.js +1 -1
- package/dist/components/sd-number-input.js +1 -1
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +1 -1
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-progress.js +1 -1
- package/dist/components/sd-radio-button-group.js +1 -1
- package/dist/components/sd-radio-group.js +1 -1
- package/dist/components/sd-radio.js +1 -1
- package/dist/components/sd-select-dropdown.js +1 -1
- package/dist/components/sd-select-multiple-group.js +1 -1
- package/dist/components/sd-select-multiple.js +1 -1
- package/dist/components/sd-select-option-group.js +1 -1
- package/dist/components/sd-select-option.js +1 -1
- package/dist/components/sd-select-search-input.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle-button.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/design-system/design-system.css +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{p-ae33c0ca.entry.js → p-0406b7f9.entry.js} +1 -1
- package/dist/design-system/{p-a4f8f2cd.entry.js → p-103de692.entry.js} +1 -1
- package/dist/design-system/{p-fe119275.entry.js → p-32c27eca.entry.js} +1 -1
- package/dist/design-system/{p-21da28bf.entry.js → p-3301c280.entry.js} +1 -1
- package/dist/design-system/{p-12669d98.entry.js → p-3d03b19e.entry.js} +1 -1
- package/dist/design-system/p-3e07e92a.entry.js +1 -0
- package/dist/design-system/{p-999055e0.entry.js → p-3edd59b5.entry.js} +1 -1
- package/dist/design-system/{p-6f68dfd1.entry.js → p-55c13597.entry.js} +1 -1
- package/dist/design-system/{p-2663d30c.entry.js → p-646ed990.entry.js} +1 -1
- package/dist/design-system/p-679e4367.entry.js +1 -0
- package/dist/design-system/p-822233ee.entry.js +1 -0
- package/dist/design-system/{p-69fafae5.entry.js → p-8f99cd66.entry.js} +1 -1
- package/dist/design-system/{p-4a733ba8.entry.js → p-8fde8570.entry.js} +1 -1
- package/dist/design-system/{p-Bu6bb0Fx.js → p-Bak0zfmv.js} +1 -1
- package/dist/design-system/p-C_an1PQ3.js +2 -0
- package/dist/design-system/p-DUqcOPNn.js +1 -0
- package/dist/design-system/{p-434d7316.entry.js → p-ab3b6f63.entry.js} +1 -1
- package/dist/design-system/p-d021a375.entry.js +1 -0
- package/dist/design-system/{p-f2b8fd2a.entry.js → p-d344fa9d.entry.js} +1 -1
- package/dist/design-system/{p-2c776f94.entry.js → p-d6b38732.entry.js} +1 -1
- package/dist/design-system/p-de339565.entry.js +1 -0
- package/dist/design-system/{p-f69a9ad8.entry.js → p-fc0e636b.entry.js} +1 -1
- package/dist/esm/design-system.js +2 -2
- package/dist/esm/{index-BNCQkS1w.js → index-C_an1PQ3.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{resolveColor-DcGvp3RM.js → resolveColor-DUqcOPNn.js} +226 -226
- package/dist/esm/sd-badge.entry.js +4 -4
- package/dist/esm/sd-button_21.entry.js +75 -54
- package/dist/esm/sd-card.entry.js +3 -3
- package/dist/esm/sd-date-picker.entry.js +2 -2
- package/dist/esm/sd-file-picker.entry.js +5 -5
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-guide.entry.js +4 -4
- package/dist/esm/sd-popover.entry.js +4 -4
- package/dist/esm/sd-progress.entry.js +4 -4
- package/dist/esm/sd-radio-button-group.entry.js +2 -2
- package/dist/esm/sd-radio-group.entry.js +2 -2
- package/dist/esm/sd-select-multiple-group.entry.js +2 -2
- package/dist/esm/sd-select-multiple.entry.js +2 -2
- package/dist/esm/sd-select-option-group.entry.js +5 -5
- package/dist/esm/sd-tabs.entry.js +2 -2
- package/dist/esm/sd-tag.entry.js +1 -1
- package/dist/esm/sd-toast.entry.js +4 -4
- package/dist/esm/sd-toggle-button.entry.js +2 -2
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{tooltipArrow-DSxHqrjN.js → tooltipArrow-BTp0AVR2.js} +1 -1
- package/dist/types/components/assets/checkFilled/index.d.ts +1 -1
- package/dist/types/components/assets/checkOutline/index.d.ts +1 -1
- package/dist/types/components/assets/index.d.ts +2 -2
- package/hydrate/index.js +329 -308
- package/hydrate/index.mjs +329 -308
- package/package.json +2 -2
- package/dist/components/p-4iQAU7kM.js +0 -1
- package/dist/components/p-B45-wHcP.js +0 -1
- package/dist/components/p-DHdV8DHV.js +0 -1
- package/dist/components/p-DcGvp3RM.js +0 -1
- package/dist/design-system/p-31175b5c.entry.js +0 -1
- package/dist/design-system/p-358de11a.entry.js +0 -1
- package/dist/design-system/p-BNCQkS1w.js +0 -2
- package/dist/design-system/p-DcGvp3RM.js +0 -1
- package/dist/design-system/p-b3a0300b.entry.js +0 -1
- package/dist/design-system/p-c5837bdf.entry.js +0 -1
- package/dist/design-system/p-d9af74c0.entry.js +0 -1
|
@@ -6,9 +6,18 @@ sd-button {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.sd-button {
|
|
9
|
+
--sd-button-height: 34px;
|
|
10
|
+
--sd-button-padding-x: 20px;
|
|
11
|
+
--sd-button-gap: 8px;
|
|
12
|
+
--sd-button-font-family: inherit;
|
|
13
|
+
--sd-button-font-size: 16px;
|
|
14
|
+
--sd-button-font-weight: 500;
|
|
15
|
+
--sd-button-text-decoration: none;
|
|
16
|
+
--sd-button-label-min-width: auto;
|
|
17
|
+
--sd-button-icon-only-size: var(--sd-button-height);
|
|
9
18
|
text-decoration: none;
|
|
10
19
|
cursor: pointer;
|
|
11
|
-
border-radius: 4px;
|
|
20
|
+
border-radius: var(--sd-button-radius-default, 4px);
|
|
12
21
|
transition: all 0.2s ease-in-out;
|
|
13
22
|
position: relative;
|
|
14
23
|
overflow: hidden;
|
|
@@ -20,34 +29,64 @@ sd-button {
|
|
|
20
29
|
align-items: center;
|
|
21
30
|
justify-content: center;
|
|
22
31
|
border: none;
|
|
32
|
+
padding: 0 var(--sd-button-padding-x);
|
|
33
|
+
min-width: var(--sd-button-min-width, auto);
|
|
34
|
+
min-height: var(--sd-button-height);
|
|
35
|
+
font-family: var(--sd-button-font-family);
|
|
36
|
+
font-size: var(--sd-button-font-size);
|
|
37
|
+
font-weight: var(--sd-button-font-weight);
|
|
38
|
+
text-decoration: var(--sd-button-text-decoration);
|
|
23
39
|
}
|
|
24
40
|
.sd-button--xs {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
41
|
+
--sd-button-height: var(--sd-button-xs-height, 24px);
|
|
42
|
+
--sd-button-padding-x: var(--sd-button-xs-padding-x, 8px);
|
|
43
|
+
--sd-button-gap: var(--sd-button-xs-gap, 4px);
|
|
44
|
+
--sd-button-font-family: var(--sd-button-xs-typography-font-family, inherit);
|
|
45
|
+
--sd-button-font-size: var(--sd-button-xs-typography-font-size, 12px);
|
|
46
|
+
--sd-button-font-weight: var(--sd-button-xs-typography-font-weight, 500);
|
|
47
|
+
--sd-button-text-decoration: var(--sd-button-xs-typography-text-decoration, none);
|
|
48
|
+
--sd-button-label-min-width: var(--sd-button-label-xs-min-width, auto);
|
|
49
|
+
--sd-button-icon-only-size: var(--sd-button-icon-only-xs-width, var(--sd-button-height));
|
|
28
50
|
line-height: 20px;
|
|
29
|
-
min-height: 24px;
|
|
30
51
|
}
|
|
31
52
|
.sd-button--sm {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
53
|
+
--sd-button-height: var(--sd-button-sm-height, 28px);
|
|
54
|
+
--sd-button-padding-x: var(--sd-button-sm-padding-x, 12px);
|
|
55
|
+
--sd-button-gap: var(--sd-button-sm-gap, 6px);
|
|
56
|
+
--sd-button-font-family: var(--sd-button-sm-typography-font-family, inherit);
|
|
57
|
+
--sd-button-font-size: var(--sd-button-sm-typography-font-size, 12px);
|
|
58
|
+
--sd-button-font-weight: var(--sd-button-sm-typography-font-weight, 500);
|
|
59
|
+
--sd-button-text-decoration: var(--sd-button-sm-typography-text-decoration, none);
|
|
60
|
+
--sd-button-label-min-width: var(--sd-button-label-sm-min-width, auto);
|
|
61
|
+
--sd-button-icon-only-size: var(--sd-button-icon-only-sm-width, var(--sd-button-height));
|
|
35
62
|
line-height: 20px;
|
|
36
|
-
min-height: 28px;
|
|
37
63
|
}
|
|
38
64
|
.sd-button--md {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
65
|
+
--sd-button-height: var(--sd-button-md-height, 34px);
|
|
66
|
+
--sd-button-padding-x: var(--sd-button-md-padding-x, 20px);
|
|
67
|
+
--sd-button-gap: var(--sd-button-md-gap, 8px);
|
|
68
|
+
--sd-button-font-family: var(--sd-button-md-typography-font-family, inherit);
|
|
69
|
+
--sd-button-font-size: var(--sd-button-md-typography-font-size, 16px);
|
|
70
|
+
--sd-button-font-weight: var(--sd-button-md-typography-font-weight, 500);
|
|
71
|
+
--sd-button-text-decoration: var(--sd-button-md-typography-text-decoration, none);
|
|
72
|
+
--sd-button-label-min-width: var(--sd-button-label-md-min-width, auto);
|
|
73
|
+
--sd-button-icon-only-size: var(--sd-button-icon-only-md-width, var(--sd-button-height));
|
|
42
74
|
line-height: 26px;
|
|
43
|
-
min-height: 34px;
|
|
44
75
|
}
|
|
45
76
|
.sd-button--lg {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
77
|
+
--sd-button-height: var(--sd-button-lg-height, 62px);
|
|
78
|
+
--sd-button-padding-x: var(--sd-button-lg-padding-x, 28px);
|
|
79
|
+
--sd-button-gap: var(--sd-button-lg-gap, 12px);
|
|
80
|
+
--sd-button-font-family: var(--sd-button-lg-typography-font-family, inherit);
|
|
81
|
+
--sd-button-font-size: var(--sd-button-lg-typography-font-size, 18px);
|
|
82
|
+
--sd-button-font-weight: var(--sd-button-lg-typography-font-weight, 500);
|
|
83
|
+
--sd-button-text-decoration: var(--sd-button-lg-typography-text-decoration, none);
|
|
84
|
+
--sd-button-label-min-width: var(--sd-button-label-lg-min-width, auto);
|
|
85
|
+
--sd-button-icon-only-size: var(--sd-button-icon-only-lg-width, var(--sd-button-height));
|
|
49
86
|
line-height: 30px;
|
|
50
|
-
|
|
87
|
+
}
|
|
88
|
+
.sd-button--has-label {
|
|
89
|
+
--sd-button-min-width: var(--sd-button-label-min-width, auto);
|
|
51
90
|
}
|
|
52
91
|
.sd-button--primary {
|
|
53
92
|
background-color: var(--button-color);
|
|
@@ -68,7 +107,7 @@ sd-button {
|
|
|
68
107
|
}
|
|
69
108
|
.sd-button--outline {
|
|
70
109
|
background: white;
|
|
71
|
-
border: 1px solid var(--button-color);
|
|
110
|
+
border: var(--sd-button-border-width-default, 1px) solid var(--button-color);
|
|
72
111
|
color: var(--button-color);
|
|
73
112
|
}
|
|
74
113
|
.sd-button--outline::before {
|
|
@@ -109,16 +148,16 @@ sd-button {
|
|
|
109
148
|
z-index: 1;
|
|
110
149
|
}
|
|
111
150
|
.sd-button--disabled {
|
|
112
|
-
border: 1px solid #
|
|
113
|
-
background: #
|
|
114
|
-
color: #888888;
|
|
151
|
+
border: var(--sd-button-border-width-default, 1px) solid var(--sd-button-border-disabled, #CCCCCC);
|
|
152
|
+
background: var(--sd-button-bg-disabled, #E1E1E1);
|
|
153
|
+
color: var(--sd-button-content-disabled, #888888);
|
|
115
154
|
cursor: not-allowed !important;
|
|
116
155
|
}
|
|
117
156
|
.sd-button--icon-only {
|
|
118
157
|
padding: 0;
|
|
119
|
-
width:
|
|
120
|
-
|
|
121
|
-
|
|
158
|
+
width: var(--sd-button-icon-only-size, var(--sd-button-height));
|
|
159
|
+
min-width: var(--sd-button-icon-only-size, var(--sd-button-height));
|
|
160
|
+
height: var(--sd-button-icon-only-size, var(--sd-button-height));
|
|
122
161
|
}
|
|
123
162
|
.sd-button--no-hover:hover::before {
|
|
124
163
|
opacity: 0 !important;
|
|
@@ -127,9 +166,9 @@ sd-button {
|
|
|
127
166
|
display: inline-flex;
|
|
128
167
|
align-items: center;
|
|
129
168
|
justify-content: center;
|
|
130
|
-
gap:
|
|
169
|
+
gap: var(--sd-button-gap);
|
|
131
170
|
z-index: 1;
|
|
132
|
-
font-weight:
|
|
171
|
+
font-weight: inherit;
|
|
133
172
|
}
|
|
134
173
|
|
|
135
174
|
sd-guide {
|
|
@@ -160,7 +199,7 @@ sd-guide .sd-guide .sd-button .sd-button__content .sd-button__label {
|
|
|
160
199
|
margin-left: 4px;
|
|
161
200
|
}
|
|
162
201
|
sd-guide .sd-guide--active .sd-button {
|
|
163
|
-
border: 1px solid #
|
|
202
|
+
border: 1px solid #00973C;
|
|
164
203
|
}
|
|
165
204
|
sd-guide .sd-guide--active .sd-button .sd-button__content .sd-button__label {
|
|
166
205
|
color: white !important;
|
|
@@ -47,9 +47,9 @@ export class SdGuide {
|
|
|
47
47
|
};
|
|
48
48
|
render() {
|
|
49
49
|
const { name: iconName, size: iconSize, color: iconColor } = GUIDE_ICON[this.type];
|
|
50
|
-
return (h("div", { key: '
|
|
50
|
+
return (h("div", { key: '2a7d3d040d3fbe7d0c22afc62d67a848fbae67d9', class: "sd-guide", style: {
|
|
51
51
|
'--sd-guide-color': GUIDE_ICON[this.type].color,
|
|
52
|
-
} }, h("sd-button", { key: '
|
|
52
|
+
} }, h("sd-button", { key: 'e354fa7a48aacabbd7688f9546d71ec138b4a648', ref: el => (this.guideRef = el), class: this.guideClass, variant: this.popupShow ? 'primary' : 'outline', label: this.label || GUIDE_LABEL[this.type], size: "sm", color: this.popupShow ? GUIDE_ICON[this.type].color : 'grey_45', icon: iconName, iconColor: this.popupShow ? 'white' : iconColor, iconSize: iconSize, noHover: this.popupShow, onSdClick: this.handleClickGuide }), this.type === 'help' && this.popupShow && (h("sd-portal", { key: '157583215cdba27ae493a07aaa3eb4a0e3923971', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, h("div", { key: '6aaa8f4ee6f44225ee63ef740d7398e87207c0c0', style: { position: 'absolute', width: '0px', height: '0px' } }, h("div", { key: '9184936963f96e2537b3713bd5ee38d0c058c72b', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, h("sd-button", { key: 'a1f653f7e40f6ad4e97dca82e10d4f03843469fd', class: "sd-guide__popup__close", icon: "close", color: "grey_65", size: "md", variant: "ghost", noHover: true, onSdClick: this.closeDropdown }), h("div", { key: '561433ec3fcf6f9de4badd8e24ffaffbab4e62df', class: "sd-guide__popup__header" }, h("sd-icon", { key: '69aafb073fa680f8353deccb860320da083ff121', name: "helpOutline", size: 24, color: "green_65" }), h("h3", { key: '71f7fcb3068d572523c6bf53276e654feb1056f6', class: "sd-guide__popup__title" }, this.popupTitle || GUIDE_LABEL[this.type])), h("ul", { key: '407db996ded71b9a5786b1e7967349517c7eb877', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
|
|
53
53
|
}
|
|
54
54
|
// 현재 2depth까지만 스타일 적용
|
|
55
55
|
renderListItem(message, depth = 0) {
|
|
@@ -25,7 +25,7 @@ export class SdIcon {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
const IconComponent = Icons[this.name]?.[this.size];
|
|
28
|
-
return (h("i", { key: '
|
|
28
|
+
return (h("i", { key: '1d6a48769c99bbfe9576016e24766b8c82ab570e', class: this.getIconClasses(), style: this.iconStyle }, h(IconComponent, { key: '3fdb4195ef13656e79b402a4eae2fb0210fb3a97', color: this.resolvedColor })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "sd-icon"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
@@ -45,7 +45,7 @@ export class SdIcon {
|
|
|
45
45
|
"mutable": false,
|
|
46
46
|
"complexType": {
|
|
47
47
|
"original": "IconName",
|
|
48
|
-
"resolved": "\"
|
|
48
|
+
"resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrow2Down\" | \"arrow2Left\" | \"arrow2Right\" | \"arrow2Up\" | \"arrow2UpDown\" | \"arrowDown\" | \"arrowLeft\" | \"arrowLeftEnd\" | \"arrowRight\" | \"arrowRightEnd\" | \"arrowUp\" | \"attachFile\" | \"badgeNew\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"cancelFilled\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFilled\" | \"checkOutline\" | \"clockFilled\" | \"clockOutline\" | \"close\" | \"copy\" | \"dashboard\" | \"date\" | \"download\" | \"drag\" | \"etc\" | \"event\" | \"global\" | \"helpFilled\" | \"helpOutline\" | \"history\" | \"imageFill\" | \"imageLine\" | \"inline\" | \"line\" | \"location\" | \"logout\" | \"minus\" | \"notificationFilled\" | \"notificationOutline\" | \"notion\" | \"outLine\" | \"pageEdit\" | \"pageMove\" | \"pdf\" | \"remove\" | \"reset\" | \"robot\" | \"row\" | \"search\" | \"setting\" | \"star\" | \"synchronize\" | \"user\" | \"visibilityOff\" | \"visibilityOn\" | \"warehouseLine\" | \"warehouseSolid\" | \"warningFilled\" | \"warningOutline\" | \"youtube\"",
|
|
49
49
|
"references": {
|
|
50
50
|
"IconName": {
|
|
51
51
|
"location": "global",
|
|
@@ -178,7 +178,7 @@ sd-date-range-picker .sd-field .sd-input__native {
|
|
|
178
178
|
}
|
|
179
179
|
.sd-date-range-picker__menu .sd-date-range-picker__body .separator {
|
|
180
180
|
width: 1px;
|
|
181
|
-
background-color: #
|
|
181
|
+
background-color: #D8D8D8;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
input:-webkit-autofill,
|
|
@@ -227,5 +227,5 @@ sd-input .sd-input__content .sd-input__native[disabled] {
|
|
|
227
227
|
color: #888888;
|
|
228
228
|
}
|
|
229
229
|
sd-input .sd-input__content .sd-input__native::placeholder {
|
|
230
|
-
color: #
|
|
230
|
+
color: #AAAAAA;
|
|
231
231
|
}
|
|
@@ -85,7 +85,7 @@ export class SdInput {
|
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
render() {
|
|
88
|
-
return (h("sd-field", { key: '
|
|
88
|
+
return (h("sd-field", { key: '87f02ba890fd952f89eb86d200318038137ba1a4', name: this.name, label: this.label, insideLabel: this.insideLabel, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, useLabelRequired: this.useLabelRequired, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, h("label", { key: '0bb5824067b33c178b1f60ececdccfe0a3d5f294', class: "sd-input__content", style: { width: '100%' } }, h("slot", { key: '6f67712b4ca708ba511c57379a6b5118732f146a', name: "prefix" }), h("input", { key: 'b337a1161dedb41ed29a690fa963c0ac60dd0c79', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: 'bf45d9fd71551dc6a3bb96cdc44512796beee923', name: "suffix" }), this.clearable && this.internalValue && (h("sd-icon", { key: 'aed0a5d9115ba8b7601dc62423349bee1a9978c7', name: "close", color: "grey_65", size: "16", class: "sd-input__clear-icon", onClick: async () => {
|
|
89
89
|
this.internalValue = '';
|
|
90
90
|
await this.formField?.sdValidate();
|
|
91
91
|
} })))));
|
|
@@ -6,7 +6,7 @@ export class SdLoadingSpinner {
|
|
|
6
6
|
return resolveColor(this.color);
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Fragment, { key: '
|
|
9
|
+
return (h(Fragment, { key: 'c3b3448fcc65334af3246f80157b195ec5595afe' }, h("svg", { key: '24701b65d17e56434cf46b72dbd5acec208b5dc8', class: "sd-loading-spinner", width: "72px", height: "72px", viewBox: "25 25 50 50", style: { color: this.resolvedColor } }, h("circle", { key: 'e19c68c082348d36eecd05fa561eee91182349f2', class: "path", cx: "50", cy: "50", r: "20", fill: "none", stroke: "currentColor", "stroke-width": "5", "stroke-miterlimit": "10" }))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "sd-loading-spinner"; }
|
|
12
12
|
static get originalStyleUrls() {
|
|
@@ -49,7 +49,7 @@ sd-number-input .sd-number-input .sd-number-input__input::placeholder {
|
|
|
49
49
|
font-size: 12px;
|
|
50
50
|
height: 20px;
|
|
51
51
|
line-height: 20px;
|
|
52
|
-
color: #
|
|
52
|
+
color: #AAAAAA;
|
|
53
53
|
}
|
|
54
54
|
sd-number-input .sd-number-input .sd-number-input__clear-icon {
|
|
55
55
|
cursor: pointer;
|
|
@@ -71,7 +71,7 @@ sd-number-input .sd-number-input .sd-number-input__button {
|
|
|
71
71
|
height: 20px;
|
|
72
72
|
border: none;
|
|
73
73
|
border-radius: 2px;
|
|
74
|
-
background-color: #
|
|
74
|
+
background-color: #EFF6FF;
|
|
75
75
|
cursor: pointer;
|
|
76
76
|
display: flex;
|
|
77
77
|
align-items: center;
|
|
@@ -81,10 +81,10 @@ sd-number-input .sd-number-input .sd-number-input__button {
|
|
|
81
81
|
transition: background-color 0.2s ease;
|
|
82
82
|
}
|
|
83
83
|
sd-number-input .sd-number-input .sd-number-input__button:hover:not(:disabled) {
|
|
84
|
-
background-color: #
|
|
84
|
+
background-color: #E6F1FF;
|
|
85
85
|
}
|
|
86
86
|
sd-number-input .sd-number-input .sd-number-input__button:disabled {
|
|
87
|
-
background-color: #
|
|
87
|
+
background-color: #EEEEEE;
|
|
88
88
|
cursor: not-allowed;
|
|
89
89
|
}
|
|
90
90
|
sd-number-input .sd-number-input .sd-number-input__button--decrement {
|
|
@@ -105,6 +105,6 @@ sd-number-input:focus-within .sd-number-input__buttons {
|
|
|
105
105
|
pointer-events: auto;
|
|
106
106
|
}
|
|
107
107
|
sd-number-input:focus-within .sd-number-input {
|
|
108
|
-
border-color: #
|
|
108
|
+
border-color: #0075FF;
|
|
109
109
|
box-shadow: 0 0 4px 0 rgba(0, 113, 255, 0.4);
|
|
110
110
|
}
|
|
@@ -169,6 +169,7 @@ export class SdNumberInput {
|
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
handleFocus = (event) => {
|
|
172
|
+
this.focused = true;
|
|
172
173
|
this.focus?.emit(event);
|
|
173
174
|
};
|
|
174
175
|
handleBlur = async (event) => {
|
|
@@ -239,17 +240,17 @@ export class SdNumberInput {
|
|
|
239
240
|
const inputStyles = {
|
|
240
241
|
textAlign: this.useButton ? 'center' : 'right',
|
|
241
242
|
};
|
|
242
|
-
return (h("sd-field", { key: '
|
|
243
|
+
return (h("sd-field", { key: '7aa387eeb5850052e121931b3f8183373b4319aa', name: this.name, label: this.label, insideLabel: this.insideLabel, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, ref: el => (this.formField = el), style: inputWidth }, h("label", { key: 'f5bbb6c76e32de4aefe59c6958a38e1a560f05c9', class: {
|
|
243
244
|
'sd-number-input': true,
|
|
244
245
|
[this.getInputStatus()]: true,
|
|
245
246
|
'sd-number-input--with-buttons': this.useButton,
|
|
246
|
-
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, h("input", { key: '
|
|
247
|
+
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, h("input", { key: 'fc26b7cf0d121025c9a748b158640e03188d72d3', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__input ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, style: inputStyles, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.useButton && (h("div", { key: 'c9325ea7dd19c02fead55a0d63ac0b7b16143d08', class: "sd-number-input__buttons" }, h("button", { key: 'ec96811ce7046a3fe9506ca0635db97413d8283a', type: "button", class: {
|
|
247
248
|
'sd-number-input__button': true,
|
|
248
249
|
'sd-number-input__button--decrement': true,
|
|
249
|
-
}, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: '
|
|
250
|
+
}, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: '70311a7723356ecc88125042d366bf567b0b5a2a', name: "minus", size: 12, color: this.isDecrementDisabled() ? 'grey_45' : 'brilliantblue_70' })), h("button", { key: 'b7086218dc98fec4287e4becb0d834634fd52055', type: "button", class: {
|
|
250
251
|
'sd-number-input__button': true,
|
|
251
252
|
'sd-number-input__button--increment': true,
|
|
252
|
-
}, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: '
|
|
253
|
+
}, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: 'b945a1561978dc4bba1868fa57652e94a6bcfc34', name: "add", size: 12, color: this.isIncrementDisabled() ? 'grey_45' : 'brilliantblue_70' })))))));
|
|
253
254
|
}
|
|
254
255
|
static get is() { return "sd-number-input"; }
|
|
255
256
|
static get originalStyleUrls() {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
background: none;
|
|
23
23
|
}
|
|
24
24
|
.sd-pagination .prepend-btns button:hover {
|
|
25
|
-
border: 1px solid #
|
|
25
|
+
border: 1px solid #006AC1;
|
|
26
26
|
border-radius: 14px;
|
|
27
27
|
}
|
|
28
28
|
.sd-pagination .append-btns {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
background: none;
|
|
40
40
|
}
|
|
41
41
|
.sd-pagination .append-btns button:hover {
|
|
42
|
-
border: 1px solid #
|
|
42
|
+
border: 1px solid #006AC1;
|
|
43
43
|
border-radius: 14px;
|
|
44
44
|
}
|
|
45
45
|
.sd-pagination .pagination-btn {
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
width: var(--pagination-btn-width, 26px);
|
|
56
56
|
}
|
|
57
57
|
.sd-pagination .pagination-btn--selected {
|
|
58
|
-
background-color: #
|
|
58
|
+
background-color: #006AC1;
|
|
59
59
|
color: white;
|
|
60
60
|
}
|
|
61
61
|
.sd-pagination .pagination-btn:hover {
|
|
62
|
-
border: 1px solid #
|
|
62
|
+
border: 1px solid #006AC1;
|
|
63
63
|
}
|
|
64
64
|
.sd-pagination--simple .pagination-info {
|
|
65
65
|
line-height: 26px;
|
|
@@ -68,12 +68,12 @@ export class SdPagination {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h("div", { key: '
|
|
71
|
+
return (h("div", { key: 'feed08139c382f91539bc316a967ed1738529688', class: this.paginationClasses }, h("div", { key: '42c908d7a685f2acab29a94d040e4f4c513fff38', class: "prepend-btns" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "pagination-info" }, h("span", { class: "current-page" }, this.currentPage), h("span", null, "/"), h("span", { class: "last-page" }, this.lastPage))) : (this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
|
|
72
72
|
'pagination-btn': true,
|
|
73
73
|
'pagination-btn--selected': this.currentPage === n,
|
|
74
74
|
}, disabled: this.currentPage === n, style: {
|
|
75
75
|
'--pagination-btn-width': `${this.buttonWidth}px`,
|
|
76
|
-
}, onClick: () => this.handlePageChange(n) }, n)))), h("div", { key: '
|
|
76
|
+
}, onClick: () => this.handlePageChange(n) }, n)))), h("div", { key: '2be11ae773c0bce71ecaf53f99daff3f5b2d567d', class: "append-btns" }, this.renderNextButtons())));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "sd-pagination"; }
|
|
79
79
|
static get originalStyleUrls() {
|
|
@@ -30,11 +30,11 @@ export class SdPopover {
|
|
|
30
30
|
this.showPopover = false;
|
|
31
31
|
};
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Fragment, { key: '
|
|
33
|
+
return (h(Fragment, { key: '883bea0d5ef88bb63b4a1a2d778aedf0bce6f000' }, this.label ? (h("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-popover", onSdClick: () => (this.showPopover = !this.showPopover) })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-popover", onClick: () => (this.showPopover = !this.showPopover) })), this.showPopover && (h("sd-floating-portal", { key: 'f38658d537cd8cebb84e579b02c73209e8a81d3a', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: this.placement }, h("div", { key: '472702d7d51c08051670012fc2e930f41ad7f1b5', class: {
|
|
34
34
|
'sd-floating-menu': true,
|
|
35
35
|
[`sd-floating-menu--${this.placement}`]: true,
|
|
36
36
|
[this.menuClass]: !!this.menuClass,
|
|
37
|
-
} }, h("i", { key: '
|
|
37
|
+
} }, h("i", { key: '1895eba14b74f393c7221db83fdf97e9a8f3a1aa', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${this.placement}` }, h(TooltipArrow, { key: '4307eb8e750dc36cae5477b366a4ea08a59a5a45' })), h("div", { key: '840d94cf1d4e3c63346cd48a2d47c1c0b0633046', class: "sd-floating-menu__content" }, this.menuTitle && h("div", { key: 'ede807dfdb2efc2a8bf8f89ef597965092c79211', class: "sd-floating-menu__title" }, this.menuTitle), this.messages.length > 0 && (h("div", { key: '613ea1b46810eec1958b735fc23811d66ff2ebf8', class: "sd-floating-menu__messages" }, this.messages.map(message => (h("div", null, message))))), this.buttons.length > 0 && (h("div", { key: '06712ed73687c0e99778d5fda6d75a4e07d815dd', class: `sd-floating-menu__buttons sd-floating-menu__buttons--${this.buttons.length}` }, this.buttons.map(button => (h("sd-button", { ...button })))))), this.useClose && (h("button", { key: '20d628d8d31bd6464c26f3cf5ba894c5c3a2428f', title: "close", class: "sd-floating-menu__close-button", onClick: () => this.handleClose() }, h("sd-icon", { key: 'cd1dcbe02ed55a25364e88621db5ab287eb7ed8e', name: "close", size: "12", color: "gery_55" }))))))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "sd-popover"; }
|
|
40
40
|
static get originalStyleUrls() {
|
|
@@ -114,7 +114,7 @@ export class SdPopover {
|
|
|
114
114
|
"mutable": false,
|
|
115
115
|
"complexType": {
|
|
116
116
|
"original": "IconName",
|
|
117
|
-
"resolved": "\"
|
|
117
|
+
"resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrow2Down\" | \"arrow2Left\" | \"arrow2Right\" | \"arrow2Up\" | \"arrow2UpDown\" | \"arrowDown\" | \"arrowLeft\" | \"arrowLeftEnd\" | \"arrowRight\" | \"arrowRightEnd\" | \"arrowUp\" | \"attachFile\" | \"badgeNew\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"cancelFilled\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFilled\" | \"checkOutline\" | \"clockFilled\" | \"clockOutline\" | \"close\" | \"copy\" | \"dashboard\" | \"date\" | \"download\" | \"drag\" | \"etc\" | \"event\" | \"global\" | \"helpFilled\" | \"helpOutline\" | \"history\" | \"imageFill\" | \"imageLine\" | \"inline\" | \"line\" | \"location\" | \"logout\" | \"minus\" | \"notificationFilled\" | \"notificationOutline\" | \"notion\" | \"outLine\" | \"pageEdit\" | \"pageMove\" | \"pdf\" | \"remove\" | \"reset\" | \"robot\" | \"row\" | \"search\" | \"setting\" | \"star\" | \"synchronize\" | \"user\" | \"visibilityOff\" | \"visibilityOn\" | \"warehouseLine\" | \"warehouseSolid\" | \"warningFilled\" | \"warningOutline\" | \"youtube\"",
|
|
118
118
|
"references": {
|
|
119
119
|
"IconName": {
|
|
120
120
|
"location": "global",
|
|
@@ -113,7 +113,7 @@ export class SdPortal {
|
|
|
113
113
|
this.close.emit();
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return h("slot", { key: '
|
|
116
|
+
return h("slot", { key: 'ba2bf5df16f9bef0acef1ac8a08b090a23d02bc7' });
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "sd-portal"; }
|
|
119
119
|
static get properties() {
|
|
@@ -7,14 +7,14 @@ sd-progress .sd-progress__bar {
|
|
|
7
7
|
height: 20px;
|
|
8
8
|
overflow: hidden;
|
|
9
9
|
border-radius: 4px;
|
|
10
|
-
background-color: #
|
|
10
|
+
background-color: #EEEEEE;
|
|
11
11
|
text-align: center;
|
|
12
12
|
}
|
|
13
13
|
sd-progress .sd-progress__bar__percent {
|
|
14
14
|
width: var(--progress-percentage);
|
|
15
15
|
height: 100%;
|
|
16
16
|
border-radius: 4px;
|
|
17
|
-
background-color: var(--progress-color, #
|
|
17
|
+
background-color: var(--progress-color, #0075FF);
|
|
18
18
|
transition: all 0.5s;
|
|
19
19
|
}
|
|
20
20
|
sd-progress .sd-progress__bar__percent.proceed {
|
|
@@ -26,19 +26,19 @@ sd-progress .sd-progress__bar__indicator {
|
|
|
26
26
|
top: 0;
|
|
27
27
|
height: 20px;
|
|
28
28
|
width: 100%;
|
|
29
|
-
background-color: #
|
|
29
|
+
background-color: #EEEEEE;
|
|
30
30
|
font-size: 12px;
|
|
31
31
|
font-weight: 700;
|
|
32
32
|
line-height: 20px;
|
|
33
33
|
z-index: 1;
|
|
34
34
|
}
|
|
35
35
|
sd-progress .sd-progress__bar__indicator--left {
|
|
36
|
-
color: var(--progress-color, #
|
|
36
|
+
color: var(--progress-color, #0075FF);
|
|
37
37
|
clip-path: inset(0 0 0 var(--progress-percentage));
|
|
38
38
|
}
|
|
39
39
|
sd-progress .sd-progress__bar__indicator--right {
|
|
40
40
|
color: white;
|
|
41
|
-
background-color: var(--progress-color, #
|
|
41
|
+
background-color: var(--progress-color, #0075FF);
|
|
42
42
|
clip-path: inset(0 calc(100% - var(--progress-percentage)) 0 0);
|
|
43
43
|
}
|
|
44
44
|
sd-progress .sd-progress__spinner {
|
|
@@ -53,7 +53,7 @@ sd-progress .sd-progress__spinner svg {
|
|
|
53
53
|
sd-progress .sd-progress__spinner__label {
|
|
54
54
|
margin-top: 8px;
|
|
55
55
|
font-size: 16px;
|
|
56
|
-
color: var(--progress-color, #
|
|
56
|
+
color: var(--progress-color, #0075FF);
|
|
57
57
|
}
|
|
58
58
|
sd-progress .sd-progress__label {
|
|
59
59
|
margin-top: 4px;
|
|
@@ -33,10 +33,10 @@ export class SdProgress {
|
|
|
33
33
|
return this.statusColor[this.progressStatus];
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: '43da9dac67e760bfe53b8db11c27eef7ef0d8b3b', style: {
|
|
37
37
|
'--progress-color': this.progressColor,
|
|
38
38
|
'--progress-percentage': `${this.progressPercentage}%`,
|
|
39
|
-
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && h("div", { key: '
|
|
39
|
+
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && h("div", { key: 'af4b1c44f655546fede8ad548bddc6afb7810d2b', class: "sd-progress__label" }, this.label)));
|
|
40
40
|
}
|
|
41
41
|
renderBarProgress() {
|
|
42
42
|
return (h("div", { class: `sd-progress__bar sd-progress__bar--${this.progressStatus}` }, h("div", { class: ['sd-progress__bar__percent', this.progressPercentage < 100 ? 'proceed' : ''].join(' ') }), h("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--left" }, this.progressPercentage, "%"), h("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--right" }, this.progressPercentage, "%")));
|
|
@@ -22,12 +22,12 @@ sd-radio .sd-radio label input {
|
|
|
22
22
|
height: 16px;
|
|
23
23
|
border: 1px solid #888888;
|
|
24
24
|
border-radius: 50%;
|
|
25
|
-
accent-color: #
|
|
25
|
+
accent-color: #0075FF;
|
|
26
26
|
background-color: white;
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
}
|
|
29
29
|
sd-radio .sd-radio label input:checked {
|
|
30
|
-
border-color: #
|
|
30
|
+
border-color: #0075FF;
|
|
31
31
|
background-color: white;
|
|
32
32
|
}
|
|
33
33
|
sd-radio .sd-radio label input:checked::before {
|
|
@@ -39,18 +39,18 @@ sd-radio .sd-radio label input:checked::before {
|
|
|
39
39
|
width: 10px;
|
|
40
40
|
height: 10px;
|
|
41
41
|
border-radius: 50%;
|
|
42
|
-
background-color: #
|
|
42
|
+
background-color: #0075FF;
|
|
43
43
|
}
|
|
44
44
|
sd-radio .sd-radio label input:disabled {
|
|
45
|
-
border-color: #
|
|
46
|
-
background-color: #
|
|
45
|
+
border-color: #CCCCCC;
|
|
46
|
+
background-color: #EEEEEE;
|
|
47
47
|
}
|
|
48
48
|
sd-radio .sd-radio label input:disabled:checked::before {
|
|
49
|
-
background-color: #
|
|
49
|
+
background-color: #CCCCCC;
|
|
50
50
|
}
|
|
51
51
|
sd-radio .sd-radio label input:not(:disabled):hover {
|
|
52
|
-
border-color: #
|
|
53
|
-
background-color: #
|
|
52
|
+
border-color: #0075FF;
|
|
53
|
+
background-color: #D9EAFF;
|
|
54
54
|
}
|
|
55
55
|
sd-radio .sd-radio--disabled {
|
|
56
56
|
cursor: not-allowed !important;
|
|
@@ -13,7 +13,7 @@ sd-radio-button-group .sd-radio-button-group .sd-radio-button-group__option {
|
|
|
13
13
|
align-items: center;
|
|
14
14
|
justify-content: center;
|
|
15
15
|
cursor: pointer;
|
|
16
|
-
border: 1px solid #
|
|
16
|
+
border: 1px solid #CCCCCC;
|
|
17
17
|
background-color: white;
|
|
18
18
|
color: #333333;
|
|
19
19
|
font-weight: 400;
|
|
@@ -44,23 +44,23 @@ sd-radio-button-group .sd-radio-button-group .sd-radio-button-group__option::aft
|
|
|
44
44
|
transition: font-weight 0.2s ease;
|
|
45
45
|
}
|
|
46
46
|
sd-radio-button-group .sd-radio-button-group .sd-radio-button-group__option:not(sd-radio-button-group .sd-radio-button-group .sd-radio-button-group__option--disabled):not(sd-radio-button-group .sd-radio-button-group .sd-radio-button-group__option--selected):hover {
|
|
47
|
-
background-color: #
|
|
47
|
+
background-color: #0075FF;
|
|
48
48
|
color: white;
|
|
49
|
-
border-color: #
|
|
49
|
+
border-color: #0075FF;
|
|
50
50
|
z-index: 2;
|
|
51
51
|
}
|
|
52
52
|
sd-radio-button-group .sd-radio-button-group .sd-radio-button-group__option:not(sd-radio-button-group .sd-radio-button-group .sd-radio-button-group__option--disabled):not(sd-radio-button-group .sd-radio-button-group .sd-radio-button-group__option--selected):hover::after {
|
|
53
53
|
font-weight: 500;
|
|
54
54
|
}
|
|
55
55
|
sd-radio-button-group .sd-radio-button-group .sd-radio-button-group__option--selected {
|
|
56
|
-
border-color: #
|
|
57
|
-
color: #
|
|
56
|
+
border-color: #0075FF;
|
|
57
|
+
color: #0075FF;
|
|
58
58
|
background-color: white;
|
|
59
59
|
z-index: 1;
|
|
60
60
|
}
|
|
61
61
|
sd-radio-button-group .sd-radio-button-group .sd-radio-button-group__option--disabled {
|
|
62
|
-
background-color: #
|
|
63
|
-
border-color: #
|
|
62
|
+
background-color: #E1E1E1;
|
|
63
|
+
border-color: #CCCCCC;
|
|
64
64
|
color: #888888;
|
|
65
65
|
cursor: not-allowed;
|
|
66
66
|
}
|
|
@@ -22,12 +22,12 @@ sd-radio .sd-radio label input {
|
|
|
22
22
|
height: 16px;
|
|
23
23
|
border: 1px solid #888888;
|
|
24
24
|
border-radius: 50%;
|
|
25
|
-
accent-color: #
|
|
25
|
+
accent-color: #0075FF;
|
|
26
26
|
background-color: white;
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
}
|
|
29
29
|
sd-radio .sd-radio label input:checked {
|
|
30
|
-
border-color: #
|
|
30
|
+
border-color: #0075FF;
|
|
31
31
|
background-color: white;
|
|
32
32
|
}
|
|
33
33
|
sd-radio .sd-radio label input:checked::before {
|
|
@@ -39,18 +39,18 @@ sd-radio .sd-radio label input:checked::before {
|
|
|
39
39
|
width: 10px;
|
|
40
40
|
height: 10px;
|
|
41
41
|
border-radius: 50%;
|
|
42
|
-
background-color: #
|
|
42
|
+
background-color: #0075FF;
|
|
43
43
|
}
|
|
44
44
|
sd-radio .sd-radio label input:disabled {
|
|
45
|
-
border-color: #
|
|
46
|
-
background-color: #
|
|
45
|
+
border-color: #CCCCCC;
|
|
46
|
+
background-color: #EEEEEE;
|
|
47
47
|
}
|
|
48
48
|
sd-radio .sd-radio label input:disabled:checked::before {
|
|
49
|
-
background-color: #
|
|
49
|
+
background-color: #CCCCCC;
|
|
50
50
|
}
|
|
51
51
|
sd-radio .sd-radio label input:not(:disabled):hover {
|
|
52
|
-
border-color: #
|
|
53
|
-
background-color: #
|
|
52
|
+
border-color: #0075FF;
|
|
53
|
+
background-color: #D9EAFF;
|
|
54
54
|
}
|
|
55
55
|
sd-radio .sd-radio--disabled {
|
|
56
56
|
cursor: not-allowed !important;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
}
|
|
6
6
|
.sd-select-dropdown::-webkit-scrollbar {
|
|
7
7
|
opacity: 0;
|
|
8
|
-
background: #
|
|
8
|
+
background: #E5E5E5;
|
|
9
9
|
}
|
|
10
10
|
.sd-select-dropdown::-webkit-scrollbar:horizontal {
|
|
11
11
|
height: 8px;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
.sd-select-dropdown::-webkit-scrollbar-thumb {
|
|
17
17
|
height: 80px;
|
|
18
|
-
background-color: #
|
|
18
|
+
background-color: #CCCCCC;
|
|
19
19
|
border-radius: 4px;
|
|
20
20
|
}
|
|
21
21
|
.sd-select-dropdown::-webkit-scrollbar-track {
|
|
@@ -144,10 +144,10 @@ export class SdSelectDropdown {
|
|
|
144
144
|
this.isScrolled = scrollTop > 0;
|
|
145
145
|
};
|
|
146
146
|
render() {
|
|
147
|
-
return (h("div", { key: '
|
|
147
|
+
return (h("div", { key: 'ff55e2e133114accc2641a0025bdcf551eda3511', class: {
|
|
148
148
|
'sd-select-dropdown': true,
|
|
149
149
|
'sd-select-dropdown--ready': this.isDropdownReady,
|
|
150
|
-
}, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (h("sd-select-search-input", { key: '
|
|
150
|
+
}, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (h("sd-select-search-input", { key: 'bfcee14aa06a9a259dd8e67013ed1074c1f9c318', ref: el => (this.searchRef = el), isScrolled: this.isScrolled, searchText: this.searchText, onSdSearchInput: (event) => (this.searchText = event.detail || ''), onSdSearchFocus: () => (this.itemIndex = -1) })), this.filteredOptions.length > 0 ? (this.filteredOptions.map((option, index) => (h("slot", { name: `option-${option.value}` }, h("sd-select-option", { option: option, index: index, isSelected: this.isOptionSelected(option.value), isFocused: index === this.itemIndex, onOptionClick: ({ detail }) => this.optionClick.emit(detail), useCheckbox: this.useCheckbox }))))) : (h("slot", { name: "option-placeholder" }, h("div", { class: 'sd-select-option-placeholder' }, this.optionPlaceholder)))));
|
|
151
151
|
}
|
|
152
152
|
static get is() { return "sd-select-dropdown"; }
|
|
153
153
|
static get originalStyleUrls() {
|