@ardium-ui/ui 5.0.0-alpha.75 → 5.0.0-alpha.77
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/fesm2022/ardium-ui-ui.mjs +106 -106
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/prebuilt-themes/default/badge.css +234 -234
- package/prebuilt-themes/default/badge.css.map +1 -1
- package/prebuilt-themes/default/buttons/button.css +324 -324
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +317 -319
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +299 -300
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +390 -391
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css +151 -159
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +89 -88
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +349 -349
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +412 -412
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +34 -33
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/color-picker.css +105 -103
- package/prebuilt-themes/default/color-picker.css.map +1 -1
- package/prebuilt-themes/default/core.css +108 -106
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css +19 -20
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css +84 -83
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css +42 -42
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css +329 -329
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +102 -102
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +148 -151
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +183 -183
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +99 -98
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +134 -135
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +120 -122
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +385 -387
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +150 -149
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +137 -136
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +213 -214
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +120 -120
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +14 -13
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css +26 -25
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +96 -95
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-bar.css +250 -235
- package/prebuilt-themes/default/progress-bar.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css +178 -177
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +246 -248
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +432 -431
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +302 -304
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +319 -319
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +399 -399
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +185 -185
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +161 -161
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css +271 -275
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +250 -250
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css +57 -57
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css +464 -463
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/default/badge.scss +112 -110
- package/themes/default/buttons/button.scss +91 -89
- package/themes/default/buttons/fab.scss +80 -76
- package/themes/default/buttons/icon-button.scss +73 -71
- package/themes/default/calendar.scss +246 -242
- package/themes/default/card.scss +161 -159
- package/themes/default/checkbox-list.scss +85 -83
- package/themes/default/checkbox.scss +68 -66
- package/themes/default/chips.scss +202 -195
- package/themes/default/color-display.scss +40 -38
- package/themes/default/color-picker.scss +95 -93
- package/themes/default/core.scss +124 -121
- package/themes/default/dialog.scss +21 -19
- package/themes/default/divider.scss +92 -90
- package/themes/default/dropdown-panel.scss +49 -47
- package/themes/default/file-drop-area.scss +197 -195
- package/themes/default/form-field-frame.scss +69 -67
- package/themes/default/form-field.scss +135 -133
- package/themes/default/inputs/autocomplete-input.scss +99 -97
- package/themes/default/inputs/color-input.scss +34 -32
- package/themes/default/inputs/date-input.scss +88 -86
- package/themes/default/inputs/digit-input.scss +103 -101
- package/themes/default/inputs/file-input.scss +158 -156
- package/themes/default/inputs/hex-input.scss +66 -64
- package/themes/default/inputs/input.scss +52 -50
- package/themes/default/inputs/number-input.scss +162 -160
- package/themes/default/inputs/password-input.scss +99 -97
- package/themes/default/kbd-shortcut.scss +15 -13
- package/themes/default/kbd.scss +34 -32
- package/themes/default/modal.scss +106 -104
- package/themes/default/progress-bar.scss +126 -102
- package/themes/default/progress-circle.scss +50 -48
- package/themes/default/radio.scss +110 -108
- package/themes/default/segment.scss +282 -277
- package/themes/default/select.scss +255 -253
- package/themes/default/slide-toggle.scss +173 -171
- package/themes/default/slider.scss +223 -217
- package/themes/default/snackbar.scss +49 -47
- package/themes/default/spinner.scss +23 -21
- package/themes/default/stars.scss +95 -93
- package/themes/default/tabber.scss +105 -103
- package/themes/default/table-pagination.scss +60 -59
- package/themes/default/table.scss +375 -373
|
@@ -1,85 +1,87 @@
|
|
|
1
1
|
@use './button-mixins' as shared;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
//
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
ard-icon-button {
|
|
22
|
-
height: max-content;
|
|
23
|
-
width: max-content;
|
|
24
|
-
border-radius: 9999px;
|
|
25
|
-
aspect-ratio: 1;
|
|
26
|
-
display: inline-block;
|
|
27
|
-
margin: var(--ard-icon-button-margin, 0);
|
|
28
|
-
font-size: var(--ard-icon-button-font-size, 1rem);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ard-icon-button {
|
|
32
|
-
@include shared.button(
|
|
33
|
-
0,
|
|
34
|
-
0,
|
|
35
|
-
inherit,
|
|
36
|
-
inherit,
|
|
37
|
-
var(--ard-icon-button-overlay-hover-opacity, var(--ard-button-overlay-hover-opacity, 0.04)),
|
|
38
|
-
var(--ard-icon-button-overlay-focus-opacity, var(--ard-button-overlay-focus-opacity, 0.12)),
|
|
39
|
-
var(--ard-icon-button-overlay-active-opacity, var(--ard-button-overlay-active-opacity, 0.18)),
|
|
40
|
-
var(--ard-icon-button-overlay-focus-visible-opacity, var(--ard-button-overlay-focus-visible-opacity, 0.24))
|
|
41
|
-
);
|
|
42
|
-
background: transparent;
|
|
43
|
-
height: var(--ard-icon-button-height, 2.1875em);
|
|
44
|
-
aspect-ratio: 1;
|
|
45
|
-
border-radius: 9999px;
|
|
46
|
-
align-items: center;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
padding: 0;
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
color: var(--ard-cmpcl--bg-colored);
|
|
51
|
-
|
|
52
|
-
> ard-icon {
|
|
53
|
-
font-weight: 500;
|
|
54
|
-
font-size: var(--ard-icon-button-icon-font-size);
|
|
55
|
-
}
|
|
56
|
-
//! compact
|
|
57
|
-
&.ard-compact {
|
|
58
|
-
height: var(--ard-icon-button-height-compact, 2.25em);
|
|
59
|
-
font-size: var(--ard-icon-button-font-size-compact, 0.75rem);
|
|
3
|
+
@layer ard-theme {
|
|
4
|
+
// the variables are commented out intentionally
|
|
5
|
+
// read more in docs/dev/css-variables.md
|
|
6
|
+
:root {
|
|
7
|
+
--ard-icon-button-height: 2.1875em;
|
|
8
|
+
--ard-icon-button-height-compact: 2.25em;
|
|
9
|
+
--ard-icon-button-margin: 0;
|
|
10
|
+
--ard-icon-button-font-size: 1rem;
|
|
11
|
+
--ard-icon-button-icon-font-size: 1.5em;
|
|
12
|
+
--ard-icon-button-font-size-compact: 0.75rem;
|
|
13
|
+
--ard-icon-button-font-weight: 600;
|
|
14
|
+
// --ard-icon-button-overlay-hover-opacity: ;
|
|
15
|
+
// --ard-icon-button-overlay-focus-opacity: ;
|
|
16
|
+
// --ard-icon-button-overlay-active-opacity: ;
|
|
17
|
+
// --ard-icon-button-overlay-focus-visible-opacity: ;
|
|
18
|
+
// --ard-icon-button-overlay-disabled-opacity: ;
|
|
19
|
+
// --ard-icon-button-disabled-opacity: ;
|
|
60
20
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
21
|
+
|
|
22
|
+
ard-icon-button {
|
|
23
|
+
height: max-content;
|
|
24
|
+
width: max-content;
|
|
25
|
+
border-radius: 9999px;
|
|
26
|
+
aspect-ratio: 1;
|
|
27
|
+
display: inline-block;
|
|
28
|
+
margin: var(--ard-icon-button-margin, 0);
|
|
29
|
+
font-size: var(--ard-icon-button-font-size, 1rem);
|
|
64
30
|
}
|
|
65
|
-
}
|
|
66
31
|
|
|
67
|
-
ard-icon-button
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
32
|
+
.ard-icon-button {
|
|
33
|
+
@include shared.button(
|
|
34
|
+
0,
|
|
35
|
+
0,
|
|
36
|
+
inherit,
|
|
37
|
+
inherit,
|
|
38
|
+
var(--ard-icon-button-overlay-hover-opacity, var(--ard-button-overlay-hover-opacity, 0.04)),
|
|
39
|
+
var(--ard-icon-button-overlay-focus-opacity, var(--ard-button-overlay-focus-opacity, 0.12)),
|
|
40
|
+
var(--ard-icon-button-overlay-active-opacity, var(--ard-button-overlay-active-opacity, 0.18)),
|
|
41
|
+
var(--ard-icon-button-overlay-focus-visible-opacity, var(--ard-button-overlay-focus-visible-opacity, 0.24))
|
|
72
42
|
);
|
|
43
|
+
background: transparent;
|
|
44
|
+
height: var(--ard-icon-button-height, 2.1875em);
|
|
45
|
+
aspect-ratio: 1;
|
|
46
|
+
border-radius: 9999px;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
padding: 0;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
color: var(--ard-cmpcl--bg-colored);
|
|
73
52
|
|
|
74
|
-
|
|
75
|
-
|
|
53
|
+
> ard-icon {
|
|
54
|
+
font-weight: 500;
|
|
55
|
+
font-size: var(--ard-icon-button-icon-font-size);
|
|
56
|
+
}
|
|
57
|
+
//! compact
|
|
58
|
+
&.ard-compact {
|
|
59
|
+
height: var(--ard-icon-button-height-compact, 2.25em);
|
|
60
|
+
font-size: var(--ard-icon-button-font-size-compact, 0.75rem);
|
|
61
|
+
}
|
|
62
|
+
//! light coloring
|
|
63
|
+
&.ard-light-coloring {
|
|
64
|
+
color: var(--ard-cmpcl--bg-colored-light);
|
|
76
65
|
}
|
|
77
66
|
}
|
|
78
|
-
&.ard-button-with-pointer-events-when-disabled {
|
|
79
|
-
pointer-events: all;
|
|
80
67
|
|
|
81
|
-
|
|
68
|
+
ard-icon-button.ard-disabled {
|
|
69
|
+
> .ard-icon-button {
|
|
70
|
+
@include shared.button-disabled(
|
|
71
|
+
var(--ard-icon-button-overlay-disabled-opacity, var(--ard-button-overlay-disabled-opacity, 0.2)),
|
|
72
|
+
var(--ard-icon-button-disabled-opacity, var(--ard-button-disabled-opacity, 0.6))
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
.ard-focus-overlay {
|
|
76
|
+
opacity: 0;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
&.ard-button-with-pointer-events-when-disabled {
|
|
82
80
|
pointer-events: all;
|
|
81
|
+
|
|
82
|
+
> .ard-button {
|
|
83
|
+
pointer-events: all;
|
|
84
|
+
}
|
|
83
85
|
}
|
|
84
86
|
}
|
|
85
87
|
}
|