@ardium-ui/ui 5.0.0-alpha.4 → 5.0.0-alpha.40
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 +4120 -2316
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/disablable-component.d.ts +2 -1
- package/lib/_internal/focusable-component.d.ts +2 -1
- package/lib/_internal/form-field-component.d.ts +2 -1
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +16 -18
- package/lib/_internal/item-storages/simple-item-storage.d.ts +15 -12
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +1 -1
- package/lib/_internal/ngmodel-component.d.ts +1 -0
- package/lib/_internal/selectable-list-component.d.ts +6 -6
- package/lib/_internal/utils/date.utils.d.ts +16 -0
- package/lib/badge/badge.directive.d.ts +3 -2
- package/lib/buttons/_button-base.d.ts +12 -8
- package/lib/buttons/_button-base.defaults.d.ts +3 -2
- package/lib/buttons/button/button.component.d.ts +5 -5
- package/lib/buttons/button/button.defaults.d.ts +0 -2
- package/lib/buttons/button/button.directive.d.ts +17 -0
- package/lib/buttons/button/button.module.d.ts +3 -2
- package/lib/buttons/button/index.d.ts +1 -0
- package/lib/buttons/fab/fab.component.d.ts +3 -1
- package/lib/buttons/icon-button/icon-button.component.d.ts +6 -4
- package/lib/buttons/icon-button/icon-button.defaults.d.ts +2 -1
- package/lib/calendar/abstract-calendar.d.ts +127 -0
- package/lib/calendar/calendar.component.d.ts +8 -96
- package/lib/calendar/calendar.defaults.d.ts +12 -1
- package/lib/calendar/calendar.internal-directives.d.ts +24 -8
- package/lib/calendar/calendar.internal-types.d.ts +1 -0
- package/lib/calendar/calendar.module.d.ts +4 -9
- package/lib/calendar/calendar.types.d.ts +19 -5
- package/lib/calendar/index.d.ts +3 -0
- package/lib/calendar/range-calendar.component.d.ts +16 -0
- package/lib/calendar/range-calendar.directives.d.ts +51 -0
- package/lib/calendar/range-calendar.module.d.ts +10 -0
- package/lib/calendar/views/calendar-views.module.d.ts +13 -0
- package/lib/calendar/views/days-view/days-view.component.d.ts +20 -2
- package/lib/calendar/views/days-view/days-view.helpers.d.ts +2 -2
- package/lib/calendar/views/months-view/months-view.component.d.ts +15 -3
- package/lib/calendar/views/years-view/years-view.component.d.ts +15 -3
- package/lib/checkbox-list/checkbox-list.component.d.ts +9 -7
- package/lib/checkbox-list/checkbox-list.directives.d.ts +7 -0
- package/lib/checkbox-list/checkbox-list.module.d.ts +1 -1
- package/lib/chip/chip.component.d.ts +2 -1
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +2 -1
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +3 -2
- package/lib/dialog/dialog.component.d.ts +8 -7
- package/lib/divider/divider.component.d.ts +2 -1
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +2 -1
- package/lib/file-inputs/file-input/file-input.component.d.ts +2 -1
- package/lib/file-inputs/file-input-base.d.ts +4 -5
- package/lib/form-field/error/error.directive.d.ts +3 -2
- package/lib/form-field/form-field-base.d.ts +6 -2
- package/lib/form-field/form-field-native-inputs.d.ts +3 -2
- package/lib/form-field/form-field.component.d.ts +1 -1
- package/lib/form-field/form-field.module.d.ts +5 -4
- package/lib/form-field/hint/hint.directive.d.ts +3 -2
- package/lib/form-field/hint-error/hint-error.component.d.ts +6 -0
- package/lib/form-field/hint-error/hint-error.directive.d.ts +9 -0
- package/lib/form-field/horizontal-form-field.component.d.ts +1 -1
- package/lib/form-field/index.d.ts +4 -0
- package/lib/form-field/label/label.component.d.ts +3 -2
- package/lib/form-field-frame/form-field-frame.component.d.ts +4 -3
- package/lib/icon/icon.component.d.ts +2 -1
- package/lib/inputs/_simple-input-base.d.ts +4 -2
- package/lib/inputs/autocomplete-input/autocomplete-input.component.d.ts +5 -4
- package/lib/inputs/date-input/abstract-date-input.d.ts +112 -0
- package/lib/inputs/date-input/date-input.component.d.ts +19 -81
- package/lib/inputs/date-input/date-input.defaults.d.ts +21 -3
- package/lib/inputs/date-input/{date-input.directive.d.ts → date-input.directives.d.ts} +2 -2
- package/lib/inputs/date-input/date-input.module.d.ts +5 -4
- package/lib/inputs/date-input/date-input.serializers.d.ts +4 -2
- package/lib/inputs/date-input/date-input.types.d.ts +5 -4
- package/lib/inputs/date-input/date-range-input.component.d.ts +29 -0
- package/lib/inputs/date-input/date-range-input.directives.d.ts +82 -0
- package/lib/inputs/date-input/date-range-input.module.d.ts +17 -0
- package/lib/inputs/date-input/index.d.ts +7 -1
- package/lib/inputs/date-input/multipage-date-range-input.component.d.ts +44 -0
- package/lib/inputs/date-input/multipage-date-range-input.directives.d.ts +82 -0
- package/lib/inputs/date-input/multipage-date-range-input.module.d.ts +17 -0
- package/lib/inputs/digit-input/digit-input.component.d.ts +4 -3
- package/lib/inputs/hex-input/hex-input.component.d.ts +5 -3
- package/lib/inputs/number-input/number-input.component.d.ts +11 -10
- package/lib/inputs/number-input/number-input.defaults.d.ts +1 -0
- package/lib/inputs/password-input/password-input.component.d.ts +4 -3
- package/lib/kbd/kbd.component.d.ts +2 -1
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +2 -1
- package/lib/modal/modal.component.d.ts +6 -5
- package/lib/option/option.component.d.ts +2 -1
- package/lib/progress-bar/progress-bar.component.d.ts +4 -3
- package/lib/progress-circle/progress-circle.component.d.ts +5 -4
- package/lib/segment/segment.component.d.ts +6 -5
- package/lib/select/select.component.d.ts +33 -26
- package/lib/select/select.defaults.d.ts +7 -0
- package/lib/select/select.directive.d.ts +6 -0
- package/lib/select/select.module.d.ts +1 -1
- package/lib/select/select.types.d.ts +4 -2
- package/lib/select/select.utils.d.ts +2 -0
- package/lib/slider/abstract-slider.d.ts +35 -29
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +12 -9
- package/lib/slider/range-slider/range-slider.types.d.ts +6 -0
- package/lib/slider/slider.component.d.ts +5 -4
- package/lib/slider/slider.types.d.ts +3 -3
- package/lib/star/rating-display/rating-display.component.d.ts +2 -1
- package/lib/star/rating-input/rating-input.component.d.ts +2 -1
- package/lib/tabber/index.d.ts +2 -1
- package/lib/tabber/tab/tab.component.d.ts +14 -8
- package/lib/tabber/tabber.component.d.ts +25 -9
- package/lib/tabber/tabber.defaults.d.ts +1 -0
- package/lib/tabber/tabber.directives.d.ts +9 -0
- package/lib/tabber/tabber.module.d.ts +3 -2
- package/lib/tabber/tabber.types.d.ts +5 -0
- package/lib/table/table.component.d.ts +16 -15
- package/lib/table-pagination/table-pagination.component.d.ts +4 -3
- package/lib/text-list/text-list.component.d.ts +2 -1
- package/lib/types/item-storage.types.d.ts +15 -17
- package/package.json +1 -1
- package/prebuilt-themes/default/buttons/button.css +72 -57
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +65 -51
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +56 -44
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +134 -54
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +48 -22
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +4 -4
- package/prebuilt-themes/default/chips.css +18 -13
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +1 -1
- package/prebuilt-themes/default/core.css +9 -1
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +6 -2
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +31 -11
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +72 -25
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +5 -44
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +79 -21
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +112 -62
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +47 -20
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +39 -15
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +52 -22
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +67 -22
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +41 -16
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +1 -1
- package/prebuilt-themes/default/kbd.css +1 -1
- package/prebuilt-themes/default/modal.css +2 -1
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +9 -7
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +74 -61
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +91 -44
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +4 -4
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +100 -52
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/stars.css +4 -4
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/statebox.css +5 -5
- package/prebuilt-themes/default/tabber.css +40 -16
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/_variables.scss +2 -1
- package/themes/default/_mixins.scss +4 -4
- package/themes/default/buttons/_button-mixins.scss +43 -33
- package/themes/default/buttons/button.scss +49 -28
- package/themes/default/buttons/fab.scss +48 -26
- package/themes/default/buttons/icon-button.scss +38 -17
- package/themes/default/calendar.scss +146 -55
- package/themes/default/checkbox-list.scss +47 -21
- package/themes/default/chips.scss +12 -12
- package/themes/default/color-display.scss +1 -1
- package/themes/default/core.scss +11 -1
- package/themes/default/form-field-frame.scss +9 -4
- package/themes/default/form-field.scss +23 -9
- package/themes/default/inputs/_shared.scss +30 -9
- package/themes/default/inputs/autocomplete-input.scss +68 -14
- package/themes/default/inputs/color-input.scss +2 -2
- package/themes/default/inputs/date-input.scss +54 -5
- package/themes/default/inputs/digit-input.scss +1 -1
- package/themes/default/inputs/file-input.scss +83 -23
- package/themes/default/inputs/hex-input.scss +44 -9
- package/themes/default/inputs/input.scss +37 -4
- package/themes/default/inputs/number-input.scss +54 -15
- package/themes/default/inputs/password-input.scss +70 -15
- package/themes/default/inputs/search-bar.scss +39 -5
- package/themes/default/kbd-shortcut.scss +1 -1
- package/themes/default/kbd.scss +1 -1
- package/themes/default/modal.scss +2 -1
- package/themes/default/radio.scss +5 -3
- package/themes/default/segment.scss +75 -67
- package/themes/default/select.scss +96 -42
- package/themes/default/slider.scss +100 -65
- package/themes/default/statebox.scss +1 -1
- package/themes/default/tabber.scss +36 -13
- package/lib/tabber/tab/tab.defaults.d.ts +0 -6
- package/prebuilt-themes/default/calendar-OLD.css +0 -294
- package/prebuilt-themes/default/calendar-OLD.css.map +0 -1
- package/themes/default/calendar-OLD.scss +0 -183
|
@@ -1,28 +1,102 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
+
:root {
|
|
5
|
+
--ard-file-input-height: var(--ard-form-field-height, 2.3125rem);
|
|
6
|
+
--ard-file-input-height-compact: var(--ard-form-field-height-compact, 1.6875rem);
|
|
7
|
+
--ard-file-input-gap: 0.625rem;
|
|
8
|
+
--ard-file-input-font-size: var(--ard-form-field-font-size, 1rem);
|
|
9
|
+
--ard-file-input-font-size-compact: var(--ard-form-field-font-size-compact, 0.875rem);
|
|
10
|
+
--ard-file-input-line-height: 1.25;
|
|
11
|
+
--ard-file-input-line-height-compact: 1;
|
|
12
|
+
--ard-file-input-font-weight: 400;
|
|
13
|
+
--ard-file-input-padding: var(--ard-form-field-padding, 0 0.375rem);
|
|
14
|
+
--ard-file-input-padding-compact: var(--ard-form-field-padding-compact, 0 0.375rem);
|
|
15
|
+
--ard-file-input-color: var(--ard-text);
|
|
16
|
+
--ard-file-input-placeholder-color: var(--ard-text);
|
|
17
|
+
--ard-file-input-placeholder-opacity: 60%;
|
|
18
|
+
--ard-file-input-min-width: 10rem;
|
|
19
|
+
--ard-file-input-max-width: 100%;
|
|
20
|
+
--ard-file-input-gap: 0.375rem;
|
|
21
|
+
--ard-file-input-dragover-outline-width: 2px;
|
|
22
|
+
--ard-file-input-dragover-outline-style: solid;
|
|
23
|
+
--ard-file-input-browse-button-height: calc(100% - 0.25rem);
|
|
24
|
+
--ard-file-input-browse-button-width: unset;
|
|
25
|
+
--ard-file-input-browse-button-margin: 0.125rem;
|
|
26
|
+
--ard-file-input-browse-button-aspect-ratio: 1;
|
|
27
|
+
--ard-file-input-browse-button-border: none;
|
|
28
|
+
--ard-file-input-browse-button-border-radius: 9999px;
|
|
29
|
+
--ard-file-input-browse-button-background: none;
|
|
30
|
+
--ard-file-input-browse-button-padding: 0;
|
|
31
|
+
--ard-file-input-browse-button-color: var(--ard-text2);
|
|
32
|
+
--ard-file-input-browse-button-color-error: rgb(var(--ard-danger-700));
|
|
33
|
+
--ard-file-input-browse-button-overlay-offset: 0rem;
|
|
34
|
+
--ard-file-input-browse-button-overlay-color: var(--ard-overlay);
|
|
35
|
+
--ard-file-input-browse-button-overlay-hover-opacity: 4%;
|
|
36
|
+
--ard-file-input-browse-button-overlay-focus-opacity: 0;
|
|
37
|
+
--ard-file-input-browse-button-overlay-active-opacity: 12%;
|
|
38
|
+
--ard-file-input-browse-button-overlay-focus-visible-opacity: 16%;
|
|
39
|
+
--ard-file-input-file-name-font-weight: 500;
|
|
40
|
+
--ard-file-input-file-ext-font-weight: 500;
|
|
41
|
+
}
|
|
42
|
+
|
|
4
43
|
.ard-file-input-form-field-frame .ard-form-field-overlay {
|
|
5
44
|
display: none;
|
|
6
45
|
}
|
|
7
46
|
|
|
8
47
|
.ard-file-input {
|
|
48
|
+
height: var(--ard-file-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
9
49
|
position: relative;
|
|
10
|
-
font-family:
|
|
50
|
+
font-family: var(--ard-font-family);
|
|
11
51
|
display: flex;
|
|
12
52
|
align-items: center;
|
|
13
53
|
justify-content: stretch;
|
|
14
|
-
gap: 0.
|
|
54
|
+
gap: var(--ard-file-input-gap, 0.625rem);
|
|
15
55
|
cursor: text;
|
|
16
56
|
box-sizing: border-box;
|
|
17
|
-
font-size: 1rem;
|
|
18
|
-
line-height: 1.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
57
|
+
font-size: var(--ard-file-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
58
|
+
line-height: var(--ard-file-input-line-height, 1.25);
|
|
59
|
+
font-weight: var(--ard-file-input-font-weight, 400);
|
|
60
|
+
padding: var(--ard-file-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
61
|
+
color: var(--ard-file-input-color, var(--ard-text));
|
|
62
|
+
min-width: var(--ard-file-input-min-width, 10rem);
|
|
63
|
+
max-width: var(--ard-file-input-max-width, 100%);
|
|
64
|
+
gap: var(--ard-file-input-gap, 0.375rem);
|
|
23
65
|
cursor: default;
|
|
24
66
|
border-radius: var(--ard-variant-border-radius);
|
|
25
67
|
}
|
|
68
|
+
.ard-file-input .ard-input-container {
|
|
69
|
+
flex-grow: 1;
|
|
70
|
+
text-size-adjust: 100%;
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
}
|
|
74
|
+
.ard-file-input .ard-input-container .ard-placeholder {
|
|
75
|
+
font: inherit;
|
|
76
|
+
opacity: var(--ard-file-input-placeholder-opacity, 60%);
|
|
77
|
+
color: var(--ard-file-input-placeholder-color, var(--ard-text));
|
|
78
|
+
white-space: nowrap;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
text-overflow: ellipsis;
|
|
81
|
+
max-width: 100%;
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
}
|
|
84
|
+
.ard-file-input .ard-input-container input {
|
|
85
|
+
border: none;
|
|
86
|
+
background: transparent;
|
|
87
|
+
outline: none;
|
|
88
|
+
font: inherit;
|
|
89
|
+
padding: 0;
|
|
90
|
+
color: inherit;
|
|
91
|
+
display: block;
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
94
|
+
.ard-file-input.ard-compact {
|
|
95
|
+
height: var(--ard-file-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
96
|
+
font-size: var(--ard-file-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
97
|
+
line-height: var(--ard-file-input-line-height-compact, 1);
|
|
98
|
+
padding: var(--ard-file-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
99
|
+
}
|
|
26
100
|
.ard-file-input.ard-color-none {
|
|
27
101
|
--ard-cmpcl--bg: var(--ard-bg);
|
|
28
102
|
--ard-cmpcl--bg-colored: var(--ard-bg-alt);
|
|
@@ -156,56 +230,27 @@
|
|
|
156
230
|
--ard-cmpcl--overlay-colored: currentColor;
|
|
157
231
|
--ard-cmpcl--overlay-colored-light: currentColor;
|
|
158
232
|
}
|
|
159
|
-
.ard-file-input .ard-input-container {
|
|
160
|
-
flex-grow: 1;
|
|
161
|
-
text-size-adjust: 100%;
|
|
162
|
-
display: flex;
|
|
163
|
-
align-items: center;
|
|
164
|
-
}
|
|
165
|
-
.ard-file-input .ard-input-container .ard-placeholder {
|
|
166
|
-
font: inherit;
|
|
167
|
-
opacity: 60%;
|
|
168
|
-
white-space: nowrap;
|
|
169
|
-
overflow: hidden;
|
|
170
|
-
text-overflow: ellipsis;
|
|
171
|
-
max-width: 100%;
|
|
172
|
-
pointer-events: none;
|
|
173
|
-
}
|
|
174
|
-
.ard-file-input .ard-input-container input {
|
|
175
|
-
border: none;
|
|
176
|
-
background: transparent;
|
|
177
|
-
outline: none;
|
|
178
|
-
font: inherit;
|
|
179
|
-
padding: 0;
|
|
180
|
-
display: block;
|
|
181
|
-
width: 100%;
|
|
182
|
-
}
|
|
183
|
-
.ard-file-input.ard-compact {
|
|
184
|
-
height: 1.5625em;
|
|
185
|
-
font-size: 0.85em;
|
|
186
|
-
line-height: 1;
|
|
187
|
-
}
|
|
188
233
|
.ard-file-input *:not(button):not(ard-clear-button) {
|
|
189
234
|
pointer-events: none;
|
|
190
235
|
user-select: none;
|
|
191
236
|
}
|
|
192
237
|
.ard-file-input.ard-state-dragover {
|
|
193
|
-
outline: 2px solid var(--ard-cmpcl--content-light);
|
|
238
|
+
outline: var(--ard-file-input-dragover-outline-width, 2px) var(--ard-file-input-dragover-outline-style, solid) var(--ard-cmpcl--content-light);
|
|
194
239
|
}
|
|
195
240
|
.ard-file-input .ard-file-input__value {
|
|
196
|
-
font-size: 92%;
|
|
197
241
|
overflow: hidden;
|
|
198
242
|
text-overflow: ellipsis;
|
|
199
|
-
max-height: 1.25rem;
|
|
200
243
|
}
|
|
201
244
|
.ard-file-input .ard-browse-button {
|
|
202
245
|
cursor: pointer;
|
|
203
|
-
height: calc(100% - 0.25rem);
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
246
|
+
height: var(--ard-file-input-browse-button-height, calc(100% - 0.25rem));
|
|
247
|
+
width: var(--ard-file-input-browse-button-width, unset);
|
|
248
|
+
margin: var(--ard-file-input-browse-button-margin, 0.125rem);
|
|
249
|
+
aspect-ratio: var(--ard-file-input-browse-button-aspect-ratio, 1);
|
|
250
|
+
border: var(--ard-file-input-browse-button-border, none);
|
|
251
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
252
|
+
background: var(--ard-file-input-browse-button-background, none);
|
|
253
|
+
padding: var(--ard-file-input-browse-button-padding, 0);
|
|
209
254
|
position: relative;
|
|
210
255
|
display: flex;
|
|
211
256
|
justify-content: center;
|
|
@@ -214,28 +259,28 @@
|
|
|
214
259
|
}
|
|
215
260
|
.ard-file-input .ard-browse-button .ard-focus-overlay {
|
|
216
261
|
position: absolute;
|
|
217
|
-
top: -0.25rem;
|
|
218
|
-
bottom: -0.25rem;
|
|
219
|
-
left: -0.25rem;
|
|
220
|
-
right: -0.25rem;
|
|
262
|
+
top: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
263
|
+
bottom: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
264
|
+
left: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
265
|
+
right: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
221
266
|
opacity: 0;
|
|
222
267
|
border-radius: inherit;
|
|
223
268
|
pointer-events: none;
|
|
224
269
|
transition: opacity 0.2s ease;
|
|
225
|
-
background: var(--ard-overlay);
|
|
226
|
-
border-radius: 9999px;
|
|
270
|
+
background: var(--ard-file-input-browse-button-overlay-color, var(--ard-overlay));
|
|
271
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
227
272
|
}
|
|
228
273
|
.ard-file-input .ard-browse-button:hover .ard-focus-overlay {
|
|
229
|
-
opacity: 4
|
|
274
|
+
opacity: var(--ard-file-input-browse-button-overlay-hover-opacity, 4%);
|
|
230
275
|
}
|
|
231
276
|
.ard-file-input .ard-browse-button:focus .ard-focus-overlay {
|
|
232
|
-
opacity: 8
|
|
277
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-opacity, 8%);
|
|
233
278
|
}
|
|
234
279
|
.ard-file-input .ard-browse-button:active .ard-focus-overlay {
|
|
235
|
-
opacity: 12
|
|
280
|
+
opacity: var(--ard-file-input-browse-button-overlay-active-opacity, 12%);
|
|
236
281
|
}
|
|
237
282
|
.ard-file-input .ard-browse-button:focus-visible .ard-focus-overlay {
|
|
238
|
-
opacity: 16
|
|
283
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-visible-opacity, 16%);
|
|
239
284
|
}
|
|
240
285
|
.ard-file-input ard-clear-button {
|
|
241
286
|
height: var(--ard-clear-button-size);
|
|
@@ -269,10 +314,10 @@
|
|
|
269
314
|
}
|
|
270
315
|
.ard-file-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
271
316
|
position: absolute;
|
|
272
|
-
top: -1px;
|
|
273
|
-
bottom: -1px;
|
|
274
|
-
left: -1px;
|
|
275
|
-
right: -1px;
|
|
317
|
+
top: calc(-1 * 1px);
|
|
318
|
+
bottom: calc(-1 * 1px);
|
|
319
|
+
left: calc(-1 * 1px);
|
|
320
|
+
right: calc(-1 * 1px);
|
|
276
321
|
opacity: 0;
|
|
277
322
|
border-radius: inherit;
|
|
278
323
|
pointer-events: none;
|
|
@@ -316,7 +361,12 @@
|
|
|
316
361
|
.ard-file-input .ard-file-input__full-file-name {
|
|
317
362
|
display: grid;
|
|
318
363
|
grid-template-columns: 1fr max-content;
|
|
319
|
-
|
|
364
|
+
}
|
|
365
|
+
.ard-file-input .ard-file-input__full-file-name .ard-file-input__file-name {
|
|
366
|
+
font-weight: var(--ard-file-input-file-name-font-weight, 500);
|
|
367
|
+
}
|
|
368
|
+
.ard-file-input .ard-file-input__full-file-name .ard-file-input__file-ext {
|
|
369
|
+
font-weight: var(--ard-file-input-file-ext-font-weight, 500);
|
|
320
370
|
}
|
|
321
371
|
|
|
322
372
|
ard-file-input .ard-form-field-content-container {
|
|
@@ -325,7 +375,7 @@ ard-file-input .ard-form-field-content-container {
|
|
|
325
375
|
|
|
326
376
|
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-file-input__value,
|
|
327
377
|
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-browse-button {
|
|
328
|
-
color: rgb(var(--ard-danger-700));
|
|
378
|
+
color: var(--ard-file-input-browse-button-color-error, rgb(var(--ard-danger-700)));
|
|
329
379
|
}
|
|
330
380
|
|
|
331
381
|
/*# sourceMappingURL=file-input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/file-input.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/file-input.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACIA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAIA;EACE;;;AAGJ;ED/BE,QCiCE;EDhCF;EACA;EACA;EACA;EACA;EACA,KC6BE;ED5BF;EACA;EACA,WC2BE;ED1BF,aC4BE;ED3BF,aC6BE;ED5BF,SC6BE;ED5BF,OC8BE;EAKF;EACA;EACA;EACA;EACA;;ADrCA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA,SCsBF;EDrBE,OCoBF;EDnBE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QCXA;EDYA,WCTA;EDUA,aCRA;EDSA,SCNA;;AC3DF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AD5DF;EACE;EACA;;AAGF;EACE;;AAIF;EACE;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EE3FF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFoFI;EACA;;AAGA;EACE;;AAIF;EACE;;AAIF;EACE;;AAIF;EACE;;AG1HN;EACE,QCmCgB;EDlChB,OCkCgB;EDjChB;;AAGF;EACE;EACA;EACA,OCGK;EDFL,OC0BgB;EDzBhB,QCyBgB;EDxBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EDvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;ECgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;ED7CN;EACA;EACA,yBACE;EC4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE;;AHiEN;EACE;;AAEF;AAAA;AAAA;AAAA;AAAA;EAKE;EACA;EACA;;AAEF;EACE;EACA;;AAEA;EACE;;AAEF;EACE;;;AAIN;EACE;;;AAIE;AAAA;EAEE","file":"file-input.css"}
|
|
@@ -1,20 +1,44 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
+
:root {
|
|
5
|
+
--ard-hex-input-height: var(--ard-form-field-height, 2.3125rem);
|
|
6
|
+
--ard-hex-input-height-compact: var(--ard-form-field-height-compact, 1.6875rem);
|
|
7
|
+
--ard-hex-input-gap: 0.625rem;
|
|
8
|
+
--ard-hex-input-font-size: var(--ard-form-field-font-size, 1rem);
|
|
9
|
+
--ard-hex-input-font-size-compact: var(--ard-form-field-font-size-compact, 0.875rem);
|
|
10
|
+
--ard-hex-input-line-height: 1.25;
|
|
11
|
+
--ard-hex-input-line-height-compact: 1;
|
|
12
|
+
--ard-hex-input-font-weight: 400;
|
|
13
|
+
--ard-hex-input-padding: var(--ard-form-field-padding, 0 0.375rem);
|
|
14
|
+
--ard-hex-input-padding-compact: var(--ard-form-field-padding-compact, 0 0.375rem);
|
|
15
|
+
--ard-hex-input-color: var(--ard-text);
|
|
16
|
+
--ard-hex-input-placeholder-color: var(--ard-text);
|
|
17
|
+
--ard-hex-input-placeholder-opacity: 60%;
|
|
18
|
+
--ard-hex-input-min-width: 10rem;
|
|
19
|
+
--ard-hex-input-max-width: 100%;
|
|
20
|
+
--ard-hex-input-hash-margin: 0 0 -0.5rem 0;
|
|
21
|
+
--ard-hex-input-hash-color: var(--ard-text);
|
|
22
|
+
--ard-hex-input-hash-opacity: 70%;
|
|
23
|
+
}
|
|
24
|
+
|
|
4
25
|
.ard-hex-input {
|
|
26
|
+
height: var(--ard-autocomplete-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
5
27
|
position: relative;
|
|
6
|
-
font-family:
|
|
28
|
+
font-family: var(--ard-font-family);
|
|
7
29
|
display: flex;
|
|
8
30
|
align-items: center;
|
|
9
31
|
justify-content: stretch;
|
|
10
|
-
gap: 0.
|
|
32
|
+
gap: var(--ard-autocomplete-input-gap, 0.625rem);
|
|
11
33
|
cursor: text;
|
|
12
34
|
box-sizing: border-box;
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
line-height: 1.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
35
|
+
font-size: var(--ard-autocomplete-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
36
|
+
line-height: var(--ard-autocomplete-input-line-height, 1.25);
|
|
37
|
+
font-weight: var(--ard-autocomplete-input-font-weight, 400);
|
|
38
|
+
padding: var(--ard-autocomplete-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
39
|
+
color: var(--ard-autocomplete-input-color, var(--ard-text));
|
|
40
|
+
min-width: var(--ard-hex-input-min-width, 10rem);
|
|
41
|
+
max-width: var(--ard-hex-input-max-width, 100%);
|
|
18
42
|
}
|
|
19
43
|
.ard-hex-input .ard-input-container {
|
|
20
44
|
flex-grow: 1;
|
|
@@ -24,7 +48,8 @@
|
|
|
24
48
|
}
|
|
25
49
|
.ard-hex-input .ard-input-container .ard-placeholder {
|
|
26
50
|
font: inherit;
|
|
27
|
-
opacity: 60
|
|
51
|
+
opacity: var(--ard-autocomplete-input-placeholder-opacity, 60%);
|
|
52
|
+
color: var(--ard-autocomplete-input-placeholder-color, var(--ard-text));
|
|
28
53
|
white-space: nowrap;
|
|
29
54
|
overflow: hidden;
|
|
30
55
|
text-overflow: ellipsis;
|
|
@@ -37,13 +62,15 @@
|
|
|
37
62
|
outline: none;
|
|
38
63
|
font: inherit;
|
|
39
64
|
padding: 0;
|
|
65
|
+
color: inherit;
|
|
40
66
|
display: block;
|
|
41
67
|
width: 100%;
|
|
42
68
|
}
|
|
43
69
|
.ard-hex-input.ard-compact {
|
|
44
|
-
height: 1.
|
|
45
|
-
font-size: 0.
|
|
46
|
-
line-height: 1;
|
|
70
|
+
height: var(--ard-autocomplete-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
71
|
+
font-size: var(--ard-autocomplete-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
72
|
+
line-height: var(--ard-autocomplete-input-line-height-compact, 1);
|
|
73
|
+
padding: var(--ard-autocomplete-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
47
74
|
}
|
|
48
75
|
.ard-hex-input ard-clear-button {
|
|
49
76
|
height: var(--ard-clear-button-size);
|
|
@@ -77,10 +104,10 @@
|
|
|
77
104
|
}
|
|
78
105
|
.ard-hex-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
79
106
|
position: absolute;
|
|
80
|
-
top: -1px;
|
|
81
|
-
bottom: -1px;
|
|
82
|
-
left: -1px;
|
|
83
|
-
right: -1px;
|
|
107
|
+
top: calc(-1 * 1px);
|
|
108
|
+
bottom: calc(-1 * 1px);
|
|
109
|
+
left: calc(-1 * 1px);
|
|
110
|
+
right: calc(-1 * 1px);
|
|
84
111
|
opacity: 0;
|
|
85
112
|
border-radius: inherit;
|
|
86
113
|
pointer-events: none;
|
|
@@ -110,14 +137,14 @@
|
|
|
110
137
|
opacity: 15%;
|
|
111
138
|
}
|
|
112
139
|
.ard-hex-input .ard-input-container input {
|
|
113
|
-
font-family:
|
|
140
|
+
font-family: var(--ard-font-family-mono);
|
|
114
141
|
}
|
|
115
142
|
.ard-hex-input .ard-hash-container {
|
|
116
|
-
margin
|
|
117
|
-
color: var(--ard-
|
|
118
|
-
opacity: 70
|
|
143
|
+
margin: var(--ard-hex-input-hash-margin, 0 0 -0.5rem 0);
|
|
144
|
+
color: var(--ard-hex-input-hash-color, var(--ard-text));
|
|
145
|
+
opacity: var(--ard-hex-input-hash-opacity, 70%);
|
|
119
146
|
user-select: none;
|
|
120
|
-
font-family:
|
|
147
|
+
font-family: var(--ard-font-family-mono);
|
|
121
148
|
}
|
|
122
149
|
|
|
123
150
|
/*# sourceMappingURL=hex-input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/hex-input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACGA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/hex-input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;;;AAGF;EDPE,QCSE;EDRF;EACA;EACA;EACA;EACA;EACA,KCKE;EDJF;EACA;EACA,WCGE;EDFF,aCIE;EDHF,aCKE;EDJF,SCKE;EDJF,OCME;EAIF;EACA;;ADTA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA,SCFF;EDGE,OCJF;EDKE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QCnCA;EDoCA,WCjCA;EDkCA,aChCA;EDiCA,SC9BA;;AClCF;EACE,QCmCgB;EDlChB,OCkCgB;EDjChB;;AAGF;EACE;EACA;EACA,OCGK;EDFL,OC0BgB;EDzBhB,QCyBgB;EDxBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EEvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EE7CN;EACA;EACA,yBACE;EF4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE;;ADnBJ;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA","file":"hex-input.css"}
|
|
@@ -1,20 +1,41 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
+
:root {
|
|
5
|
+
--ard-input-height: var(--ard-form-field-height, 2.3125rem);
|
|
6
|
+
--ard-input-height-compact: var(--ard-form-field-height-compact, 1.6875rem);
|
|
7
|
+
--ard-input-gap: 0.625rem;
|
|
8
|
+
--ard-input-font-size: var(--ard-form-field-font-size, 1rem);
|
|
9
|
+
--ard-input-font-size-compact: var(--ard-form-field-font-size-compact, 0.875rem);
|
|
10
|
+
--ard-input-line-height: 1.25;
|
|
11
|
+
--ard-input-line-height-compact: 1;
|
|
12
|
+
--ard-input-font-weight: 400;
|
|
13
|
+
--ard-input-padding: var(--ard-form-field-padding, 0 0.375rem);
|
|
14
|
+
--ard-input-padding-compact: var(--ard-form-field-padding-compact, 0 0.375rem);
|
|
15
|
+
--ard-input-color: var(--ard-text);
|
|
16
|
+
--ard-input-placeholder-color: var(--ard-text);
|
|
17
|
+
--ard-input-placeholder-opacity: 60%;
|
|
18
|
+
--ard-input-min-width: 10rem;
|
|
19
|
+
--ard-input-max-width: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
4
22
|
.ard-input {
|
|
23
|
+
height: var(--ard-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
5
24
|
position: relative;
|
|
6
|
-
font-family:
|
|
25
|
+
font-family: var(--ard-font-family);
|
|
7
26
|
display: flex;
|
|
8
27
|
align-items: center;
|
|
9
28
|
justify-content: stretch;
|
|
10
|
-
gap: 0.
|
|
29
|
+
gap: var(--ard-input-gap, 0.625rem);
|
|
11
30
|
cursor: text;
|
|
12
31
|
box-sizing: border-box;
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
line-height: 1.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
32
|
+
font-size: var(--ard-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
33
|
+
line-height: var(--ard-input-line-height, 1.25);
|
|
34
|
+
font-weight: var(--ard-input-font-weight, 400);
|
|
35
|
+
padding: var(--ard-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
36
|
+
color: var(--ard-input-color, var(--ard-text));
|
|
37
|
+
min-width: var(--ard-input-min-width, 10rem);
|
|
38
|
+
max-width: var(--ard-input-max-width, 100%);
|
|
18
39
|
}
|
|
19
40
|
.ard-input .ard-input-container {
|
|
20
41
|
flex-grow: 1;
|
|
@@ -24,7 +45,8 @@
|
|
|
24
45
|
}
|
|
25
46
|
.ard-input .ard-input-container .ard-placeholder {
|
|
26
47
|
font: inherit;
|
|
27
|
-
opacity: 60
|
|
48
|
+
opacity: var(--ard-input-placeholder-opacity, 60%);
|
|
49
|
+
color: var(--ard-input-placeholder-color, var(--ard-text));
|
|
28
50
|
white-space: nowrap;
|
|
29
51
|
overflow: hidden;
|
|
30
52
|
text-overflow: ellipsis;
|
|
@@ -37,13 +59,15 @@
|
|
|
37
59
|
outline: none;
|
|
38
60
|
font: inherit;
|
|
39
61
|
padding: 0;
|
|
62
|
+
color: inherit;
|
|
40
63
|
display: block;
|
|
41
64
|
width: 100%;
|
|
42
65
|
}
|
|
43
66
|
.ard-input.ard-compact {
|
|
44
|
-
height: 1.
|
|
45
|
-
font-size: 0.
|
|
46
|
-
line-height: 1;
|
|
67
|
+
height: var(--ard-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
68
|
+
font-size: var(--ard-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
69
|
+
line-height: var(--ard-input-line-height-compact, 1);
|
|
70
|
+
padding: var(--ard-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
47
71
|
}
|
|
48
72
|
.ard-input ard-clear-button {
|
|
49
73
|
height: var(--ard-clear-button-size);
|
|
@@ -77,10 +101,10 @@
|
|
|
77
101
|
}
|
|
78
102
|
.ard-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
79
103
|
position: absolute;
|
|
80
|
-
top: -1px;
|
|
81
|
-
bottom: -1px;
|
|
82
|
-
left: -1px;
|
|
83
|
-
right: -1px;
|
|
104
|
+
top: calc(-1 * 1px);
|
|
105
|
+
bottom: calc(-1 * 1px);
|
|
106
|
+
left: calc(-1 * 1px);
|
|
107
|
+
right: calc(-1 * 1px);
|
|
84
108
|
opacity: 0;
|
|
85
109
|
border-radius: inherit;
|
|
86
110
|
pointer-events: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;;;AAGF;EDJE,QCME;EDLF;EACA;EACA;EACA;EACA;EACA,KCEE;EDDF;EACA;EACA;EACA,aCCE;EDAF,aCEE;EDDF,SCEE;EDDF,OCGE;EAIF;EACA;;ADNA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA,SCLF;EDME,OCPF;EDQE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QCtCA;EDuCA,WCpCA;EDqCA,aCnCA;EDoCA,SCjCA;;AC/BF;EACE,QCmCgB;EDlChB,OCkCgB;EDjChB;;AAGF;EACE;EACA;EACA,OCGK;EDFL,OC0BgB;EDzBhB,QCyBgB;EDxBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EEvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EE7CN;EACA;EACA,yBACE;EF4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE","file":"input.css"}
|
|
@@ -1,26 +1,44 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
:root {
|
|
5
|
+
--ard-number-input-height: var(--ard-form-field-height, 2.3125rem);
|
|
6
|
+
--ard-number-input-height-compact: var(--ard-form-field-height-compact, 1.6875rem);
|
|
7
|
+
--ard-number-input-gap: 0.625rem;
|
|
8
|
+
--ard-number-input-font-size: var(--ard-form-field-font-size, 1rem);
|
|
9
|
+
--ard-number-input-font-size-compact: var(--ard-form-field-font-size-compact, 0.875rem);
|
|
10
|
+
--ard-number-input-line-height: 1.25;
|
|
11
|
+
--ard-number-input-line-height-compact: 1;
|
|
12
|
+
--ard-number-input-font-weight: 400;
|
|
13
|
+
--ard-number-input-padding: var(--ard-form-field-padding, 0 0.375rem);
|
|
14
|
+
--ard-number-input-padding-compact: var(--ard-form-field-padding-compact, 0 0.375rem);
|
|
15
|
+
--ard-number-input-color: var(--ard-text);
|
|
16
|
+
--ard-number-input-placeholder-color: var(--ard-text);
|
|
17
|
+
--ard-number-input-placeholder-opacity: 60%;
|
|
18
|
+
--ard-number-input-width: 9.5rem;
|
|
19
|
+
--ard-number-input-rounded-border-radius: 8px;
|
|
6
20
|
}
|
|
7
|
-
|
|
8
|
-
|
|
21
|
+
|
|
22
|
+
ard-number-input {
|
|
23
|
+
width: var(--ard-number-input-width, 9.5rem);
|
|
9
24
|
}
|
|
10
25
|
|
|
11
26
|
.ard-number-input {
|
|
27
|
+
height: var(--ard-number-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
12
28
|
position: relative;
|
|
13
|
-
font-family:
|
|
29
|
+
font-family: var(--ard-font-family);
|
|
14
30
|
display: flex;
|
|
15
31
|
align-items: center;
|
|
16
32
|
justify-content: stretch;
|
|
17
|
-
gap: 0.
|
|
33
|
+
gap: var(--ard-number-input-gap, 0.625rem);
|
|
18
34
|
cursor: text;
|
|
19
35
|
box-sizing: border-box;
|
|
20
|
-
font-size: 1rem;
|
|
21
|
-
line-height: 1.
|
|
22
|
-
|
|
23
|
-
|
|
36
|
+
font-size: var(--ard-number-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
37
|
+
line-height: var(--ard-number-input-line-height, 1.25);
|
|
38
|
+
font-weight: var(--ard-number-input-font-weight, 400);
|
|
39
|
+
padding: var(--ard-number-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
40
|
+
color: var(--ard-number-input-color, var(--ard-text));
|
|
41
|
+
min-height: var(--ard-form-field-height, var(--ard-number-input-height, 2.3125rem));
|
|
24
42
|
gap: 0;
|
|
25
43
|
width: 100%;
|
|
26
44
|
}
|
|
@@ -32,7 +50,8 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
32
50
|
}
|
|
33
51
|
.ard-number-input .ard-input-container .ard-placeholder {
|
|
34
52
|
font: inherit;
|
|
35
|
-
opacity: 60
|
|
53
|
+
opacity: var(--ard-number-input-placeholder-opacity, 60%);
|
|
54
|
+
color: var(--ard-number-input-placeholder-color, var(--ard-text));
|
|
36
55
|
white-space: nowrap;
|
|
37
56
|
overflow: hidden;
|
|
38
57
|
text-overflow: ellipsis;
|
|
@@ -45,13 +64,15 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
45
64
|
outline: none;
|
|
46
65
|
font: inherit;
|
|
47
66
|
padding: 0;
|
|
67
|
+
color: inherit;
|
|
48
68
|
display: block;
|
|
49
69
|
width: 100%;
|
|
50
70
|
}
|
|
51
71
|
.ard-number-input.ard-compact {
|
|
52
|
-
height: 1.
|
|
53
|
-
font-size: 0.
|
|
54
|
-
line-height: 1;
|
|
72
|
+
height: var(--ard-number-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
73
|
+
font-size: var(--ard-number-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
74
|
+
line-height: var(--ard-number-input-line-height-compact, 1);
|
|
75
|
+
padding: var(--ard-number-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
55
76
|
}
|
|
56
77
|
.ard-number-input.ard-appearance-outlined {
|
|
57
78
|
--ard-appearance-background: var(--ard-bg);
|
|
@@ -85,12 +106,17 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
85
106
|
.ard-number-input .ard-input-container {
|
|
86
107
|
height: 100%;
|
|
87
108
|
max-width: 100%;
|
|
109
|
+
padding: var(--ard-number-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
88
110
|
}
|
|
89
111
|
.ard-number-input .ard-input-container > input {
|
|
90
112
|
width: 100%;
|
|
91
113
|
}
|
|
114
|
+
.ard-number-input .ard-placeholder {
|
|
115
|
+
padding: var(--ard-number-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
116
|
+
}
|
|
92
117
|
.ard-number-input .ard-quick-change-button {
|
|
93
118
|
position: relative;
|
|
119
|
+
min-width: var(--ard-number-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
94
120
|
}
|
|
95
121
|
.ard-number-input .ard-quick-change-button .ard-button {
|
|
96
122
|
height: 100%;
|
|
@@ -119,10 +145,10 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
119
145
|
border-bottom-left-radius: 0;
|
|
120
146
|
}
|
|
121
147
|
.ard-number-input.ard-variant-rounded {
|
|
122
|
-
border-radius: 8px;
|
|
148
|
+
border-radius: var(--ard-number-input-rounded-border-radius, 8px);
|
|
123
149
|
}
|
|
124
150
|
.ard-number-input.ard-variant-rounded.ard-quick-change-false .ard-input-container {
|
|
125
|
-
border-radius: 8px;
|
|
151
|
+
border-radius: var(--ard-number-input-rounded-border-radius, 8px);
|
|
126
152
|
}
|
|
127
153
|
.ard-number-input.ard-variant-sharp {
|
|
128
154
|
border-radius: 0;
|
|
@@ -132,8 +158,8 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
132
158
|
}
|
|
133
159
|
.ard-number-input.ard-variant-pill .ard-button {
|
|
134
160
|
border-radius: 9999px !important;
|
|
135
|
-
|
|
136
|
-
|
|
161
|
+
width: var(--ard-number-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
162
|
+
height: var(--ard-number-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
137
163
|
margin: 0 2px;
|
|
138
164
|
}
|
|
139
165
|
.ard-number-input.ard-variant-pill.ard-quick-change-false .ard-input-container {
|
|
@@ -152,10 +178,14 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
152
178
|
background: var(--ard-appearance-background);
|
|
153
179
|
border: var(--ard-appearance-border);
|
|
154
180
|
}
|
|
155
|
-
.ard-number-input.ard-compact {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
181
|
+
.ard-number-input.ard-compact .ard-input-container {
|
|
182
|
+
padding: var(--ard-number-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
183
|
+
}
|
|
184
|
+
.ard-number-input.ard-compact .ard-placeholder {
|
|
185
|
+
padding: var(--ard-number-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
186
|
+
}
|
|
187
|
+
.ard-number-input.ard-compact .ard-quick-change-button {
|
|
188
|
+
min-width: var(--ard-number-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
159
189
|
}
|
|
160
190
|
|
|
161
191
|
.ard-disabled > .ard-number-input {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/number-input.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACEA;EACE
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/number-input.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;;;AAGF;EACE;;;AAGF;EDPE,QCSE;EDRF;EACA;EACA;EACA;EACA;EACA,KCKE;EDJF;EACA;EACA,WCGE;EDFF,aCIE;EDHF,aCKE;EDJF,SCKE;EDJF,OCME;EAKF;EACA;EACA;;ADXA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA,SCFF;EDGE,OCJF;EDKE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QCnCA;EDoCA,WCjCA;EDkCA,aChCA;EDiCA,SC9BA;;ACIF;EACE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAEF;EACE;EACA;;AAGJ;EACE;EACA;;AAEA;EACE;;AAEF;EACE;;AAGJ;EACE;EACA;;ADvBF;EACE;EACA;EACA;;AAEA;EACE;;AAGJ;EACE;;AAGF;EACE;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;;AAGF;EACE;;AAEA;EACE;EACA;;AAGJ;EACE;;AAEA;EACE;EACA;;AAMN;EACE;;AAGE;EACE;;AAIN;EACE;;AAEF;EACE;;AAEA;EACE;EACA;EACA;EACA;;AAIA;EACE;;AAQJ;EACE;EACA;EACA;;AAEF;EACE;EACA;;AAGJ;EACE;EACA;;AAKA;EACE;;AAEF;EACE;;AAEF;EACE;;;AAMJ;EACE;EACA;EAMA,YElKG;;AF8JH;EACE","file":"number-input.css"}
|