@ardium-ui/ui 5.0.0-alpha.45 → 5.0.0-alpha.47
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/package.json +1 -1
- package/prebuilt-themes/default/buttons/button.css +1 -2
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +0 -1
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +0 -6
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +0 -3
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +0 -11
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +0 -9
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +2 -12
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +13 -22
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +0 -8
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +0 -9
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +0 -9
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +0 -8
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
- package/prebuilt-themes/default/segment.css +0 -3
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +6 -19
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slider.css +0 -7
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +0 -1
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table.css +0 -8
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/default/buttons/button.scss +4 -2
- package/themes/default/buttons/fab.scss +0 -1
- package/themes/default/buttons/icon-button.scss +8 -6
- package/themes/default/calendar.scss +5 -3
- package/themes/default/inputs/autocomplete-input.scss +12 -11
- package/themes/default/inputs/date-input.scss +10 -9
- package/themes/default/inputs/file-input.scss +15 -12
- package/themes/default/inputs/hex-input.scss +24 -22
- package/themes/default/inputs/input.scss +10 -8
- package/themes/default/inputs/number-input.scss +10 -9
- package/themes/default/inputs/password-input.scss +11 -9
- package/themes/default/inputs/search-bar.scss +10 -8
- package/themes/default/segment.scss +5 -3
- package/themes/default/select.scss +21 -19
- package/themes/default/slider.scss +9 -7
- package/themes/default/tabber.scss +3 -1
- package/themes/default/table.scss +8 -8
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
@use './mixins' as defaultMixins;
|
|
3
3
|
@use '../variables' as ARD;
|
|
4
4
|
|
|
5
|
+
// the variables are commented out intentionally
|
|
6
|
+
// read more in docs/dev/css-variables.md
|
|
5
7
|
:root {
|
|
6
|
-
--ard-select-height: ;
|
|
7
|
-
--ard-select-height-compact: ;
|
|
8
|
+
// --ard-select-height: ;
|
|
9
|
+
// --ard-select-height-compact: ;
|
|
8
10
|
--ard-select-gap: 0.625rem;
|
|
9
11
|
--ard-select-gap-compact: 0.5rem;
|
|
10
12
|
--ard-select-controls-gap: 0.625rem;
|
|
@@ -12,12 +14,12 @@
|
|
|
12
14
|
--ard-select-padding: 0 1em 0 0.375em;
|
|
13
15
|
--ard-select-padding-compact: 0 0.625em 0 0.375em;
|
|
14
16
|
|
|
15
|
-
--ard-select-font-size: ;
|
|
16
|
-
--ard-select-font-size-compact: ;
|
|
17
|
-
--ard-select-text-color: ;
|
|
18
|
-
--ard-select-placeholder-color: ;
|
|
17
|
+
// --ard-select-font-size: ;
|
|
18
|
+
// --ard-select-font-size-compact: ;
|
|
19
|
+
// --ard-select-text-color: ;
|
|
20
|
+
// --ard-select-placeholder-color: ;
|
|
19
21
|
--ard-select-search-min-width: 10ch;
|
|
20
|
-
--ard-select-dropdown-arrow-color: ;
|
|
22
|
+
// --ard-select-dropdown-arrow-color: ;
|
|
21
23
|
--ard-select-dropdown-arrow-active-transform: rotate(180deg);
|
|
22
24
|
--ard-select-dropdown-arrow-transition: 0.2s ease-in-out;
|
|
23
25
|
|
|
@@ -28,8 +30,8 @@
|
|
|
28
30
|
--ard-select-dropdown-max-width: max(25em, 100%);
|
|
29
31
|
--ard-select-dropdown-min-width: 100%;
|
|
30
32
|
--ard-select-dropdown-max-height: 15em;
|
|
31
|
-
--ard-select-dropdown-font-size: ;
|
|
32
|
-
--ard-select-dropdown-font-size-compact: ;
|
|
33
|
+
// --ard-select-dropdown-font-size: ;
|
|
34
|
+
// --ard-select-dropdown-font-size-compact: ;
|
|
33
35
|
--ard-select-dropdown-padding: 0.375em 0.625em;
|
|
34
36
|
--ard-select-dropdown-gap: 0;
|
|
35
37
|
|
|
@@ -39,11 +41,11 @@
|
|
|
39
41
|
--ard-select-dropdown-optgroup-label-padding: 0.375em 0.625em 0.0625em 0.625em;
|
|
40
42
|
|
|
41
43
|
--ard-select-dropdown-option-padding: 0.375em 0.625em;
|
|
42
|
-
--ard-select-dropdown-option-text-color: ;
|
|
43
|
-
--ard-select-dropdown-option-highlighted-bg: ;
|
|
44
|
+
// --ard-select-dropdown-option-text-color: ;
|
|
45
|
+
// --ard-select-dropdown-option-highlighted-bg: ;
|
|
44
46
|
--ard-select-dropdown-option-selected-font-weight: 500;
|
|
45
|
-
--ard-select-dropdown-option-selected-bg: ;
|
|
46
|
-
--ard-select-dropdown-option-selected-highlighted-bg: ;
|
|
47
|
+
// --ard-select-dropdown-option-selected-bg: ;
|
|
48
|
+
// --ard-select-dropdown-option-selected-highlighted-bg: ;
|
|
47
49
|
--ard-select-dropdown-option-disabled-opacity: 50%;
|
|
48
50
|
|
|
49
51
|
--ard-select-dropdown-add-custom-gap: 0.375rem;
|
|
@@ -60,7 +62,7 @@
|
|
|
60
62
|
gap: var(--ard-select-gap, 0.625rem);
|
|
61
63
|
padding: var(--ard-select-padding, 0 1em 0 0.375em);
|
|
62
64
|
font-family: var(--ard-font-family);
|
|
63
|
-
font-size: var(--ard-select-font-size, 1rem);
|
|
65
|
+
font-size: var(--ard-select-font-size, var(--ard-form-field-font-size, 1rem));
|
|
64
66
|
color: var(--ard-select-text-color, var(--ard-text, rgba(0, 0, 0, 100%)));
|
|
65
67
|
|
|
66
68
|
@include CB.clearButton();
|
|
@@ -71,7 +73,7 @@
|
|
|
71
73
|
height: 2em;
|
|
72
74
|
display: flex;
|
|
73
75
|
align-items: center;
|
|
74
|
-
font-size: var(--ard-select-font-size, 1rem);
|
|
76
|
+
font-size: var(--ard-select-font-size, var(--ard-form-field-font-size, 1rem));
|
|
75
77
|
text-size-adjust: 100%;
|
|
76
78
|
flex-grow: 1;
|
|
77
79
|
overflow: hidden;
|
|
@@ -79,7 +81,7 @@
|
|
|
79
81
|
.ard-placeholder {
|
|
80
82
|
font: inherit;
|
|
81
83
|
position: absolute;
|
|
82
|
-
color: var(--ard-select-placeholder-color, rgba(0, 0, 0, 75%));
|
|
84
|
+
color: var(--ard-select-placeholder-color, var(--ard-text3, rgba(0, 0, 0, 75%)));
|
|
83
85
|
white-space: nowrap;
|
|
84
86
|
overflow: hidden;
|
|
85
87
|
text-overflow: ellipsis;
|
|
@@ -190,8 +192,8 @@
|
|
|
190
192
|
|
|
191
193
|
//! compact
|
|
192
194
|
&.ard-compact {
|
|
193
|
-
font-size: var(--ard-select-font-size-compact, 0.875rem);
|
|
194
|
-
height: var(--ard-select-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
195
|
+
font-size: var(--ard-select-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
196
|
+
min-height: var(--ard-select-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
195
197
|
padding: var(--ard-select-padding-compact, 0 0.625em 0 0.375em);
|
|
196
198
|
|
|
197
199
|
.ard-select-controls {
|
|
@@ -279,7 +281,7 @@
|
|
|
279
281
|
|
|
280
282
|
//! compact
|
|
281
283
|
> .ard-compact {
|
|
282
|
-
font-size: var(--ard-select-dropdown-font-size-compact, 0.
|
|
284
|
+
font-size: var(--ard-select-dropdown-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
283
285
|
}
|
|
284
286
|
}
|
|
285
287
|
|
|
@@ -3,23 +3,25 @@
|
|
|
3
3
|
@use 'sass:math';
|
|
4
4
|
@use '../variables' as ARD;
|
|
5
5
|
|
|
6
|
+
// the variables are commented out intentionally
|
|
7
|
+
// read more in docs/dev/css-variables.md
|
|
6
8
|
:root {
|
|
7
|
-
--ard-slider-font-size: ;
|
|
8
|
-
--ard-slider-font-size-compact: ;
|
|
9
|
+
// --ard-slider-font-size: ;
|
|
10
|
+
// --ard-slider-font-size-compact: ;
|
|
9
11
|
--ard-slider-width: 100%;
|
|
10
12
|
--ard-slider-padding: 0 calc(var(--ard-slider-handle-size, 1.25em) / 2);
|
|
11
13
|
--ard-slider-track-height: 0.25em;
|
|
12
|
-
--ard-slider-track-color: ;
|
|
14
|
+
// --ard-slider-track-color: ;
|
|
13
15
|
--ard-slider-track-opacity: 20%;
|
|
14
16
|
--ard-slider-track-border-radius: 9999px;
|
|
15
17
|
--ard-slider-active-track-height: calc(100% + 0.125em);
|
|
16
|
-
--ard-slider-active-color: ;
|
|
18
|
+
// --ard-slider-active-color: ;
|
|
17
19
|
--ard-slider-active-track-opacity: 100%;
|
|
18
20
|
--ard-slider-value-tick-size: 0.125em;
|
|
19
21
|
--ard-slider-value-tick-opacity: 30%;
|
|
20
22
|
--ard-slider-track-hitbox-size: calc(var(--ard-slider-handle-size, 1.25em) / 2);
|
|
21
23
|
--ard-slider-handle-size: 1.25em;
|
|
22
|
-
--ard-slider-handle-bg: ;
|
|
24
|
+
// --ard-slider-handle-bg: ;
|
|
23
25
|
--ard-slider-handle-border: none;
|
|
24
26
|
--ard-slider-handle-border-radius: 9999px;
|
|
25
27
|
--ard-slider-handle-hitbox-size: 0.375em;
|
|
@@ -29,8 +31,8 @@
|
|
|
29
31
|
--ard-slider-handle-overlay-active-opacity: 25%;
|
|
30
32
|
--ard-slider-label-font-size: 0.875rem;
|
|
31
33
|
--ard-slider-label-padding-top: 0.2em;
|
|
32
|
-
--ard-slider-label-bg: ;
|
|
33
|
-
--ard-slider-label-color: ;
|
|
34
|
+
// --ard-slider-label-bg: ;
|
|
35
|
+
// --ard-slider-label-color: ;
|
|
34
36
|
--ard-slider-label-height: 2em;
|
|
35
37
|
--ard-slider-label-border: none;
|
|
36
38
|
--ard-slider-label-border-radius: 0.375em;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use './coloring' as CM;
|
|
2
2
|
@use './mixins' as M;
|
|
3
3
|
|
|
4
|
+
// the variables are commented out intentionally
|
|
5
|
+
// read more in docs/dev/css-variables.md
|
|
4
6
|
:root {
|
|
5
7
|
--ard-tabber-tab-height: 2.5em;
|
|
6
8
|
--ard-tabber-tab-font-size: 0.875rem;
|
|
@@ -11,7 +13,7 @@
|
|
|
11
13
|
--ard-tabber-tab-gap: 0;
|
|
12
14
|
--ard-tabber-tab-content-gap: 0.375rem;
|
|
13
15
|
--ard-tabber-separator-border: 1px solid var(--ard-detail-ultralight, rgba(0, 0, 0, 12%));
|
|
14
|
-
--ard-tabber-tab-overlay-color: ;
|
|
16
|
+
// --ard-tabber-tab-overlay-color: ;
|
|
15
17
|
--ard-tabber-tab-hover-opacity: 4%;
|
|
16
18
|
--ard-tabber-tab-active-opacity: 12%;
|
|
17
19
|
--ard-tabber-tab-focus-visible-opacity: 18%;
|
|
@@ -161,15 +161,15 @@
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
//! color
|
|
164
|
-
--ard-_table-header-border: ;
|
|
165
|
-
--ard-_table-header-border-light: ;
|
|
164
|
+
// --ard-_table-header-border: ;
|
|
165
|
+
// --ard-_table-header-border-light: ;
|
|
166
166
|
--ard-_table-border: ARD.$border;
|
|
167
|
-
--ard-_table-header-background: ;
|
|
168
|
-
--ard-_table-header-background-light: ;
|
|
169
|
-
--ard-_table-header-color: ;
|
|
170
|
-
--ard-_table-header-color-on-bg: ;
|
|
171
|
-
--ard-_table-overlay: ;
|
|
172
|
-
--ard-_table-overlay-colorless: ;
|
|
167
|
+
// --ard-_table-header-background: ;
|
|
168
|
+
// --ard-_table-header-background-light: ;
|
|
169
|
+
// --ard-_table-header-color: ;
|
|
170
|
+
// --ard-_table-header-color-on-bg: ;
|
|
171
|
+
// --ard-_table-overlay: ;
|
|
172
|
+
// --ard-_table-overlay-colorless: ;
|
|
173
173
|
|
|
174
174
|
//! appearances
|
|
175
175
|
&.ard-appearance-strong {
|