@ardium-ui/ui 5.0.0-alpha.74 → 5.0.0-alpha.76
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/lib/slider/range-slider/range-slider.component.d.ts +1 -1
- package/package.json +1 -1
- package/prebuilt-themes/default/badge.css +222 -221
- package/prebuilt-themes/default/badge.css.map +1 -1
- package/prebuilt-themes/default/buttons/button.css +305 -304
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +302 -303
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +290 -290
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +364 -364
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css +130 -137
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +74 -72
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +339 -338
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +384 -383
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +28 -26
- 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 +13 -9
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css +15 -15
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css +73 -72
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css +35 -34
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css +286 -285
- 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 +127 -129
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +163 -162
- 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 +125 -125
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +110 -111
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +358 -359
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +140 -138
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +128 -126
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +204 -204
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +98 -97
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +10 -8
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css +17 -15
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +79 -77
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-bar.css +250 -234
- package/prebuilt-themes/default/progress-bar.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css +172 -170
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +231 -232
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +414 -412
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +274 -275
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +294 -293
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +370 -369
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +173 -172
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +156 -155
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css +259 -262
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +234 -233
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css +46 -45
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css +441 -439
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/default/badge.scss +92 -90
- package/themes/default/buttons/button.scss +70 -68
- package/themes/default/buttons/fab.scss +63 -61
- package/themes/default/buttons/icon-button.scss +56 -54
- package/themes/default/calendar.scss +215 -211
- package/themes/default/card.scss +133 -131
- package/themes/default/checkbox-list.scss +70 -68
- package/themes/default/checkbox.scss +55 -53
- package/themes/default/chips.scss +166 -159
- package/themes/default/color-display.scss +31 -29
- package/themes/default/color-picker.scss +95 -93
- package/themes/default/core.scss +14 -9
- package/themes/default/dialog.scss +15 -13
- package/themes/default/divider.scss +79 -77
- package/themes/default/dropdown-panel.scss +37 -35
- package/themes/default/file-drop-area.scss +152 -150
- package/themes/default/form-field-frame.scss +69 -67
- package/themes/default/form-field.scss +109 -107
- package/themes/default/inputs/autocomplete-input.scss +61 -59
- package/themes/default/inputs/color-input.scss +34 -32
- package/themes/default/inputs/date-input.scss +63 -61
- package/themes/default/inputs/digit-input.scss +83 -81
- package/themes/default/inputs/file-input.scss +113 -111
- package/themes/default/inputs/hex-input.scss +39 -37
- package/themes/default/inputs/input.scss +27 -25
- package/themes/default/inputs/number-input.scss +137 -135
- package/themes/default/inputs/password-input.scss +60 -58
- package/themes/default/kbd-shortcut.scss +9 -7
- package/themes/default/kbd.scss +19 -17
- package/themes/default/modal.scss +79 -77
- package/themes/default/progress-bar.scss +127 -103
- package/themes/default/progress-circle.scss +41 -39
- package/themes/default/radio.scss +92 -90
- package/themes/default/segment.scss +260 -255
- package/themes/default/select.scss +206 -204
- package/themes/default/slide-toggle.scss +146 -144
- package/themes/default/slider.scss +185 -179
- package/themes/default/snackbar.scss +32 -30
- package/themes/default/spinner.scss +16 -14
- package/themes/default/stars.scss +81 -79
- package/themes/default/tabber.scss +86 -84
- package/themes/default/table-pagination.scss +47 -46
- package/themes/default/table.scss +342 -340
|
@@ -21,113 +21,115 @@
|
|
|
21
21
|
--ard-radio-disabled-opacity: 50%;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
ard-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
ard-radio {
|
|
30
|
-
display: inline-block;
|
|
31
|
-
width: max-content;
|
|
32
|
-
max-width: 100%;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.ard-radio {
|
|
36
|
-
@include CM.typeColors();
|
|
37
|
-
|
|
38
|
-
outline: none;
|
|
39
|
-
font-size: var(--ard-radio-font-size, var(--ard-form-field-font-size, 1rem));
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
gap: var(--ard-radio-gap, 0.75rem);
|
|
43
|
-
padding: 0;
|
|
44
|
-
width: 100%;
|
|
45
|
-
|
|
46
|
-
> .ard-radio-circles {
|
|
47
|
-
position: relative;
|
|
48
|
-
width: var(--ard-radio-size, 1.25em);
|
|
49
|
-
min-width: var(--ard-radio-size, 1.25em);
|
|
50
|
-
aspect-ratio: 1;
|
|
24
|
+
@layer ard-theme {
|
|
25
|
+
ard-radio-group {
|
|
26
|
+
display: flex;
|
|
27
|
+
gap: var(--ard-radio-group-gap, 0.5rem 1rem);
|
|
28
|
+
}
|
|
51
29
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
bottom: 0;
|
|
58
|
-
border: var(--ard-radio-outer-border-width, 0.125em) solid ARD.$detail;
|
|
59
|
-
border-radius: var(--ard-radio-border-radius, 9999px);
|
|
60
|
-
transition: border-color var(--ard-radio-transition-duration, 0.2s) ARD.$timing-fn;
|
|
61
|
-
}
|
|
62
|
-
> .ard-radio-inner-circle {
|
|
63
|
-
position: absolute;
|
|
64
|
-
left: var(--ard-radio-inner-circle-inset, 25%);
|
|
65
|
-
right: var(--ard-radio-inner-circle-inset, 25%);
|
|
66
|
-
top: var(--ard-radio-inner-circle-inset, 25%);
|
|
67
|
-
bottom: var(--ard-radio-inner-circle-inset, 25%);
|
|
68
|
-
background: var(--ard-cmpcl--bg-colored);
|
|
69
|
-
border-radius: var(--ard-radio-border-radius, 9999px);
|
|
70
|
-
transform: scale(0);
|
|
71
|
-
transition: transform var(--ard-radio-transition-duration, 0.2s) ARD.$timing-fn;
|
|
72
|
-
}
|
|
73
|
-
> .ard-focus-overlay {
|
|
74
|
-
@include GM.focus-overlay(var(--ard-radio-focus-overlay-size, 0.375em));
|
|
75
|
-
border-radius: var(--ard-radio-border-radius, 9999px);
|
|
76
|
-
background-color: ARD.$overlay;
|
|
30
|
+
ard-radio {
|
|
31
|
+
display: inline-block;
|
|
32
|
+
width: max-content;
|
|
33
|
+
max-width: 100%;
|
|
34
|
+
}
|
|
77
35
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
background-color var(--ard-radio-transition-duration, 0.2s) ease;
|
|
81
|
-
}
|
|
82
|
-
> .ard-hitbox {
|
|
83
|
-
position: absolute;
|
|
84
|
-
top: var(--ard-radio-hitbox-offset, -0.375em);
|
|
85
|
-
bottom: var(--ard-radio-hitbox-offset, -0.375em);
|
|
86
|
-
left: var(--ard-radio-hitbox-offset, -0.375em);
|
|
87
|
-
right: var(--ard-radio-hitbox-offset, -0.375em);
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
}
|
|
36
|
+
.ard-radio {
|
|
37
|
+
@include CM.typeColors();
|
|
90
38
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
39
|
+
outline: none;
|
|
40
|
+
font-size: var(--ard-radio-font-size, var(--ard-form-field-font-size, 1rem));
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: var(--ard-radio-gap, 0.75rem);
|
|
44
|
+
padding: 0;
|
|
45
|
+
width: 100%;
|
|
97
46
|
|
|
98
|
-
&.ard-radio-selected {
|
|
99
47
|
> .ard-radio-circles {
|
|
48
|
+
position: relative;
|
|
49
|
+
width: var(--ard-radio-size, 1.25em);
|
|
50
|
+
min-width: var(--ard-radio-size, 1.25em);
|
|
51
|
+
aspect-ratio: 1;
|
|
52
|
+
|
|
100
53
|
> .ard-radio-outer-circle {
|
|
101
|
-
|
|
54
|
+
position: absolute;
|
|
55
|
+
left: 0;
|
|
56
|
+
right: 0;
|
|
57
|
+
top: 0;
|
|
58
|
+
bottom: 0;
|
|
59
|
+
border: var(--ard-radio-outer-border-width, 0.125em) solid ARD.$detail;
|
|
60
|
+
border-radius: var(--ard-radio-border-radius, 9999px);
|
|
61
|
+
transition: border-color var(--ard-radio-transition-duration, 0.2s) ARD.$timing-fn;
|
|
102
62
|
}
|
|
103
63
|
> .ard-radio-inner-circle {
|
|
104
|
-
|
|
64
|
+
position: absolute;
|
|
65
|
+
left: var(--ard-radio-inner-circle-inset, 25%);
|
|
66
|
+
right: var(--ard-radio-inner-circle-inset, 25%);
|
|
67
|
+
top: var(--ard-radio-inner-circle-inset, 25%);
|
|
68
|
+
bottom: var(--ard-radio-inner-circle-inset, 25%);
|
|
69
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
70
|
+
border-radius: var(--ard-radio-border-radius, 9999px);
|
|
71
|
+
transform: scale(0);
|
|
72
|
+
transition: transform var(--ard-radio-transition-duration, 0.2s) ARD.$timing-fn;
|
|
105
73
|
}
|
|
106
74
|
> .ard-focus-overlay {
|
|
107
|
-
|
|
75
|
+
@include GM.focus-overlay(var(--ard-radio-focus-overlay-size, 0.375em));
|
|
76
|
+
border-radius: var(--ard-radio-border-radius, 9999px);
|
|
77
|
+
background-color: ARD.$overlay;
|
|
78
|
+
|
|
79
|
+
transition:
|
|
80
|
+
opacity var(--ard-radio-transition-duration, 0.2s) ease,
|
|
81
|
+
background-color var(--ard-radio-transition-duration, 0.2s) ease;
|
|
82
|
+
}
|
|
83
|
+
> .ard-hitbox {
|
|
84
|
+
position: absolute;
|
|
85
|
+
top: var(--ard-radio-hitbox-offset, -0.375em);
|
|
86
|
+
bottom: var(--ard-radio-hitbox-offset, -0.375em);
|
|
87
|
+
left: var(--ard-radio-hitbox-offset, -0.375em);
|
|
88
|
+
right: var(--ard-radio-hitbox-offset, -0.375em);
|
|
89
|
+
cursor: pointer;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:hover {
|
|
93
|
+
> .ard-focus-overlay {
|
|
94
|
+
opacity: var(--ard-radio-hover-overlay-opacity, 7.5%);
|
|
95
|
+
}
|
|
108
96
|
}
|
|
109
97
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
98
|
+
|
|
99
|
+
&.ard-radio-selected {
|
|
100
|
+
> .ard-radio-circles {
|
|
101
|
+
> .ard-radio-outer-circle {
|
|
102
|
+
border-color: var(--ard-cmpcl--bg-colored);
|
|
103
|
+
}
|
|
104
|
+
> .ard-radio-inner-circle {
|
|
105
|
+
transform: scale(1);
|
|
106
|
+
}
|
|
107
|
+
> .ard-focus-overlay {
|
|
108
|
+
background-color: var(--ard-cmpcl--bg-colored);
|
|
109
|
+
}
|
|
115
110
|
}
|
|
116
111
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
112
|
+
&:focus {
|
|
113
|
+
> .ard-radio-circles {
|
|
114
|
+
> .ard-focus-overlay {
|
|
115
|
+
opacity: var(--ard-radio-focus-overlay-opacity, 15%);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
&:active {
|
|
120
|
+
> .ard-radio-circles {
|
|
121
|
+
> .ard-focus-overlay {
|
|
122
|
+
opacity: var(--ard-radio-active-overlay-opacity, 25%);
|
|
123
|
+
}
|
|
122
124
|
}
|
|
123
125
|
}
|
|
124
126
|
}
|
|
125
|
-
}
|
|
126
127
|
|
|
127
|
-
.ard-disabled {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
128
|
+
.ard-disabled {
|
|
129
|
+
.ard-radio {
|
|
130
|
+
pointer-events: none;
|
|
131
|
+
opacity: var(--ard-radio-disabled-opacity, 50%);
|
|
132
|
+
user-select: none;
|
|
133
|
+
}
|
|
132
134
|
}
|
|
133
135
|
}
|