@ardium-ui/ui 5.0.0-alpha.6 → 5.0.0-alpha.61
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 +4809 -2358
- 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 +3 -2
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +20 -19
- 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 +5 -8
- 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/breakpoints/breakpoint.service.d.ts +12 -0
- package/lib/breakpoints/breakpoint.utils.d.ts +7 -0
- package/lib/breakpoints/breakpoints.d.ts +13 -0
- package/lib/breakpoints/index.d.ts +2 -0
- 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 +128 -0
- package/lib/calendar/calendar.component.d.ts +8 -96
- package/lib/calendar/calendar.defaults.d.ts +16 -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 +21 -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 +16 -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 +13 -8
- package/lib/dialog/dialog.types.d.ts +1 -0
- 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/auto-error/auto-error.component.d.ts +19 -0
- package/lib/form-field/auto-error/auto-error.provider.d.ts +7 -0
- package/lib/form-field/error/error.directive.d.ts +3 -2
- package/lib/form-field/form-field-base.d.ts +5 -2
- package/lib/form-field/form-field-child.token.d.ts +5 -5
- package/lib/form-field/form-field-native-inputs.d.ts +6 -11
- package/lib/form-field/form-field.component.d.ts +1 -1
- package/lib/form-field/form-field.defaults.d.ts +1 -0
- 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.directive.d.ts +3 -2
- 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/grid/grid.component.d.ts +51 -0
- package/lib/grid/grid.defaults.d.ts +16 -0
- package/lib/grid/grid.module.d.ts +7 -0
- package/lib/grid/grid.types.d.ts +38 -0
- package/lib/grid/grid.utils.d.ts +11 -0
- package/lib/grid/index.d.ts +4 -0
- package/lib/icon/icon.component.d.ts +2 -1
- package/lib/inputs/_simple-input-base.d.ts +7 -3
- 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/input-utils.d.ts +6 -0
- package/lib/inputs/number-input/number-input.component.d.ts +18 -12
- package/lib/inputs/number-input/number-input.defaults.d.ts +4 -0
- package/lib/inputs/number-input/number-input.directives.d.ts +12 -0
- package/lib/inputs/number-input/number-input.module.d.ts +1 -1
- 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 +9 -6
- package/lib/modal/modal.defaults.d.ts +2 -0
- 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/search-functions.d.ts +1 -1
- package/lib/segment/segment.component.d.ts +6 -5
- package/lib/select/select.component.d.ts +38 -30
- package/lib/select/select.defaults.d.ts +9 -2
- 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 +6 -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 +5 -3
- package/lib/star/rating-input/rating-input.defaults.d.ts +2 -2
- 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 +17 -18
- package/package.json +2 -1
- package/prebuilt-themes/default/buttons/button.css +74 -58
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +64 -51
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +50 -44
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +131 -55
- 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 +74 -42
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +1 -1
- package/prebuilt-themes/default/core.css +10 -1
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css +7 -2
- package/prebuilt-themes/default/dialog.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 +62 -29
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +61 -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 +69 -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 +102 -62
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +38 -20
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +31 -15
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +42 -22
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +58 -22
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +33 -16
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +8 -4
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css +19 -9
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +46 -22
- 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 +46 -28
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +71 -61
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +78 -44
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +88 -37
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +93 -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 +47 -16
- 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/public-api.d.ts +2 -0
- package/themes/_variables.scss +2 -1
- package/themes/default/_mixins.scss +5 -5
- package/themes/default/buttons/_button-mixins.scss +43 -33
- package/themes/default/buttons/button.scss +54 -29
- package/themes/default/buttons/fab.scss +47 -26
- package/themes/default/buttons/icon-button.scss +40 -17
- package/themes/default/calendar.scss +148 -58
- package/themes/default/checkbox-list.scss +47 -21
- package/themes/default/chips.scss +70 -39
- package/themes/default/color-display.scss +1 -1
- package/themes/default/core.scss +13 -1
- package/themes/default/dialog.scss +9 -2
- package/themes/default/form-field-frame.scss +9 -4
- package/themes/default/form-field.scss +64 -28
- package/themes/default/inputs/_shared.scss +30 -9
- package/themes/default/inputs/autocomplete-input.scss +69 -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 +86 -23
- package/themes/default/inputs/hex-input.scss +46 -9
- package/themes/default/inputs/input.scss +39 -4
- package/themes/default/inputs/number-input.scss +55 -15
- package/themes/default/inputs/password-input.scss +72 -15
- package/themes/default/inputs/search-bar.scss +41 -5
- package/themes/default/kbd-shortcut.scss +10 -4
- package/themes/default/kbd.scss +26 -9
- package/themes/default/modal.scss +56 -22
- package/themes/default/radio.scss +47 -26
- package/themes/default/segment.scss +77 -67
- package/themes/default/select.scss +98 -42
- package/themes/default/slide-toggle.scss +134 -59
- package/themes/default/slider.scss +102 -65
- package/themes/default/statebox.scss +1 -1
- package/themes/default/tabber.scss +48 -13
- package/themes/default/table.scss +8 -8
- 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,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-autocomplete-input-gap: 0.625rem;
|
|
6
|
+
--ard-autocomplete-input-line-height: 1.25;
|
|
7
|
+
--ard-autocomplete-input-line-height-compact: 1;
|
|
8
|
+
--ard-autocomplete-input-font-weight: 400;
|
|
9
|
+
--ard-autocomplete-input-placeholder-opacity: 60%;
|
|
10
|
+
--ard-autocomplete-input-min-width: 10rem;
|
|
11
|
+
--ard-autocomplete-input-max-width: 100%;
|
|
12
|
+
--ard-autocomplete-input-autocomplete-opacity: 37.5%;
|
|
13
|
+
--ard-autocomplete-input-dropdown-padding: 0;
|
|
14
|
+
--ard-autocomplete-input-dropdown-max-height: 15rem;
|
|
15
|
+
--ard-autocomplete-input-dropdown-gap: 0;
|
|
16
|
+
--ard-autocomplete-input-option-padding: 0.375rem 0.625rem;
|
|
17
|
+
--ard-autocomplete-input-option-padding-compact: 0.25rem 0.5rem;
|
|
18
|
+
--ard-autocomplete-input-font-size: 1rem;
|
|
19
|
+
--ard-autocomplete-input-font-size-compact: 0.875rem;
|
|
20
|
+
--ard-autocomplete-input-highlighted-font-weight: 400;
|
|
21
|
+
--ard-autocomplete-input-selected-font-weight: 500;
|
|
22
|
+
--ard-autocomplete-input-disabled-opacity: 50%;
|
|
23
|
+
}
|
|
24
|
+
|
|
4
25
|
.ard-autocomplete-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-autocomplete-input-min-width, 10rem);
|
|
41
|
+
max-width: var(--ard-autocomplete-input-max-width, 100%);
|
|
18
42
|
}
|
|
19
43
|
.ard-autocomplete-input .ard-input-container {
|
|
20
44
|
flex-grow: 1;
|
|
@@ -24,7 +48,8 @@
|
|
|
24
48
|
}
|
|
25
49
|
.ard-autocomplete-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-autocomplete-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-autocomplete-input ard-clear-button {
|
|
49
76
|
height: var(--ard-clear-button-size);
|
|
@@ -77,10 +104,10 @@
|
|
|
77
104
|
}
|
|
78
105
|
.ard-autocomplete-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,29 +137,38 @@
|
|
|
110
137
|
opacity: 15%;
|
|
111
138
|
}
|
|
112
139
|
.ard-autocomplete-input .ard-autocomplete {
|
|
113
|
-
opacity: 37.5
|
|
140
|
+
opacity: var(--ard-autocomplete-input-autocomplete-opacity, 37.5%);
|
|
114
141
|
}
|
|
115
142
|
|
|
143
|
+
.ard-input-suggestions-panel {
|
|
144
|
+
padding: var(--ard-autocomplete-input-dropdown-padding, 0);
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: column;
|
|
147
|
+
gap: var(--ard-autocomplete-input-dropdown-gap, 0);
|
|
148
|
+
max-height: var(--ard-autocomplete-input-dropdown-max-height, 15rem);
|
|
149
|
+
overflow-y: auto;
|
|
150
|
+
}
|
|
116
151
|
.ard-input-suggestions-panel .ard-option {
|
|
117
|
-
padding: 0.375rem 0.625rem;
|
|
118
|
-
font-size: 1rem;
|
|
119
|
-
color: var(--ard-text2);
|
|
152
|
+
padding: var(--ard-autocomplete-input-option-padding, 0.375rem 0.625rem);
|
|
153
|
+
font-size: var(--ard-autocomplete-input-font-size, 1rem);
|
|
154
|
+
color: var(--ard-autocomplete-input-color, var(--ard-text2));
|
|
120
155
|
cursor: pointer;
|
|
121
156
|
}
|
|
122
157
|
.ard-input-suggestions-panel .ard-option.ard-option-highlighted {
|
|
123
|
-
background: var(--ard-darken-overlay-light);
|
|
158
|
+
background: var(--ard-autocomplete-input-highlighted-background, var(--ard-darken-overlay-light));
|
|
159
|
+
font-weight: var(--ard-autocomplete-input-highlighted-font-weight, 400);
|
|
124
160
|
}
|
|
125
161
|
.ard-input-suggestions-panel .ard-option.ard-option-selected {
|
|
126
|
-
|
|
127
|
-
|
|
162
|
+
background: var(--ard-autocomplete-input-selected-background, var(--ard-darken-overlay-medium));
|
|
163
|
+
font-weight: var(--ard-autocomplete-input-selected-font-weight, 500);
|
|
128
164
|
}
|
|
129
165
|
.ard-input-suggestions-panel .ard-option.ard-option-disabled {
|
|
130
166
|
pointer-events: none;
|
|
131
|
-
opacity: 50
|
|
167
|
+
opacity: var(--ard-autocomplete-input-disabled-opacity, 50%);
|
|
132
168
|
}
|
|
133
169
|
.ard-input-suggestions-panel .ard-compact .ard-option {
|
|
134
|
-
padding: 0.25rem 0.5rem;
|
|
135
|
-
font-size: 0.
|
|
170
|
+
padding: var(--ard-autocomplete-input-option-padding-compact, 0.25rem 0.5rem);
|
|
171
|
+
font-size: var(--ard-autocomplete-input-font-size-compact, 0.875rem);
|
|
136
172
|
}
|
|
137
173
|
|
|
138
174
|
/*# sourceMappingURL=autocomplete-input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/autocomplete-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/autocomplete-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;ACKA;EAGE;EAGA;EACA;EACA;EAKA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;;;AAGF;EDnBE,QCqBE;EDpBF;EACA;EACA;EACA;EACA;EACA,KCiBE;EDhBF;EACA;EACA,WCeE;EDdF,aCgBE;EDfF,aCiBE;EDhBF,SCiBE;EDhBF,OCkBE;EAIF;EACA;;ADrBA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA,SCUF;EDTE,OCQF;EDPE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QCvBA;EDwBA,WCrBA;EDsBA,aCpBA;EDqBA,SClBA;;AC9CF;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;;ADRN;EACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAIF;EACE;EACA","file":"autocomplete-input.css"}
|
|
@@ -2,50 +2,11 @@
|
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
4
|
.ard-color-input {
|
|
5
|
-
position: relative;
|
|
6
|
-
font-family: "Roboto", sans-serif;
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: stretch;
|
|
10
|
-
gap: 0.625em;
|
|
11
|
-
cursor: text;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
line-height: 1.25em;
|
|
15
5
|
padding: 0 0.375rem;
|
|
16
6
|
min-width: 10rem;
|
|
17
7
|
max-width: 100%;
|
|
18
8
|
cursor: pointer;
|
|
19
9
|
}
|
|
20
|
-
.ard-color-input .ard-input-container {
|
|
21
|
-
flex-grow: 1;
|
|
22
|
-
text-size-adjust: 100%;
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
}
|
|
26
|
-
.ard-color-input .ard-input-container .ard-placeholder {
|
|
27
|
-
font: inherit;
|
|
28
|
-
opacity: 60%;
|
|
29
|
-
white-space: nowrap;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
text-overflow: ellipsis;
|
|
32
|
-
max-width: 100%;
|
|
33
|
-
pointer-events: none;
|
|
34
|
-
}
|
|
35
|
-
.ard-color-input .ard-input-container input {
|
|
36
|
-
border: none;
|
|
37
|
-
background: transparent;
|
|
38
|
-
outline: none;
|
|
39
|
-
font: inherit;
|
|
40
|
-
padding: 0;
|
|
41
|
-
display: block;
|
|
42
|
-
width: 100%;
|
|
43
|
-
}
|
|
44
|
-
.ard-color-input.ard-compact {
|
|
45
|
-
height: 1.5625em;
|
|
46
|
-
font-size: 0.85em;
|
|
47
|
-
line-height: 1;
|
|
48
|
-
}
|
|
49
10
|
.ard-color-input ard-clear-button {
|
|
50
11
|
height: var(--ard-clear-button-size);
|
|
51
12
|
width: var(--ard-clear-button-size);
|
|
@@ -78,10 +39,10 @@
|
|
|
78
39
|
}
|
|
79
40
|
.ard-color-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
80
41
|
position: absolute;
|
|
81
|
-
top: -1px;
|
|
82
|
-
bottom: -1px;
|
|
83
|
-
left: -1px;
|
|
84
|
-
right: -1px;
|
|
42
|
+
top: calc(-1 * 1px);
|
|
43
|
+
bottom: calc(-1 * 1px);
|
|
44
|
+
left: calc(-1 * 1px);
|
|
45
|
+
right: calc(-1 * 1px);
|
|
85
46
|
opacity: 0;
|
|
86
47
|
border-radius: inherit;
|
|
87
48
|
pointer-events: none;
|
|
@@ -114,7 +75,7 @@
|
|
|
114
75
|
pointer-events: none;
|
|
115
76
|
}
|
|
116
77
|
.ard-color-input .ard-input-container input {
|
|
117
|
-
font-family:
|
|
78
|
+
font-family: var(--ard-font-family-mono);
|
|
118
79
|
user-select: none;
|
|
119
80
|
}
|
|
120
81
|
.ard-color-input .ard-color-display-button {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/color-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;ACEA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/color-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;ACEA;EAEE;EACA;EACA;EACA;;ACLA;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;;ADvDN;EACE;;AAEA;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;;AAIN;EACE","file":"color-input.css"}
|
|
@@ -1,69 +1,117 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
:root {
|
|
5
|
+
--ard-date-input-gap: 0.625rem;
|
|
6
|
+
--ard-date-input-line-height: 1.25;
|
|
7
|
+
--ard-date-input-line-height-compact: 1;
|
|
8
|
+
--ard-date-input-font-weight: 400;
|
|
9
|
+
--ard-date-input-placeholder-opacity: 60%;
|
|
10
|
+
--ard-date-input-input-padding: 0 2.625rem 0 0.375rem;
|
|
11
|
+
--ard-date-input-multipage-gap: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
ard-date-input .ard-date-input,
|
|
15
|
+
ard-date-range-input .ard-date-range-input,
|
|
16
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input {
|
|
17
|
+
height: var(--ard-date-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
5
18
|
position: relative;
|
|
6
|
-
font-family:
|
|
19
|
+
font-family: var(--ard-font-family);
|
|
7
20
|
display: flex;
|
|
8
21
|
align-items: center;
|
|
9
22
|
justify-content: stretch;
|
|
10
|
-
gap: 0.
|
|
23
|
+
gap: var(--ard-date-input-gap, 0.625rem);
|
|
11
24
|
cursor: text;
|
|
12
25
|
box-sizing: border-box;
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
line-height: 1.
|
|
15
|
-
|
|
26
|
+
font-size: var(--ard-date-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
27
|
+
line-height: var(--ard-date-input-line-height, 1.25);
|
|
28
|
+
font-weight: var(--ard-date-input-font-weight, 400);
|
|
29
|
+
padding: var(--ard-date-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
30
|
+
color: var(--ard-date-input-color, var(--ard-text));
|
|
31
|
+
display: grid;
|
|
32
|
+
grid-template-columns: 1fr max-content;
|
|
16
33
|
}
|
|
17
|
-
ard-date-input .ard-date-input .ard-input-container
|
|
34
|
+
ard-date-input .ard-date-input .ard-input-container,
|
|
35
|
+
ard-date-range-input .ard-date-range-input .ard-input-container,
|
|
36
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-input-container {
|
|
18
37
|
flex-grow: 1;
|
|
19
38
|
text-size-adjust: 100%;
|
|
20
39
|
display: flex;
|
|
21
40
|
align-items: center;
|
|
22
41
|
}
|
|
23
|
-
ard-date-input .ard-date-input .ard-input-container .ard-placeholder
|
|
42
|
+
ard-date-input .ard-date-input .ard-input-container .ard-placeholder,
|
|
43
|
+
ard-date-range-input .ard-date-range-input .ard-input-container .ard-placeholder,
|
|
44
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-input-container .ard-placeholder {
|
|
24
45
|
font: inherit;
|
|
25
|
-
opacity: 60
|
|
46
|
+
opacity: var(--ard-date-input-placeholder-opacity, 60%);
|
|
47
|
+
color: var(--ard-date-input-placeholder-color, var(--ard-text));
|
|
26
48
|
white-space: nowrap;
|
|
27
49
|
overflow: hidden;
|
|
28
50
|
text-overflow: ellipsis;
|
|
29
51
|
max-width: 100%;
|
|
30
52
|
pointer-events: none;
|
|
31
53
|
}
|
|
32
|
-
ard-date-input .ard-date-input .ard-input-container input
|
|
54
|
+
ard-date-input .ard-date-input .ard-input-container input,
|
|
55
|
+
ard-date-range-input .ard-date-range-input .ard-input-container input,
|
|
56
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-input-container input {
|
|
33
57
|
border: none;
|
|
34
58
|
background: transparent;
|
|
35
59
|
outline: none;
|
|
36
60
|
font: inherit;
|
|
37
61
|
padding: 0;
|
|
62
|
+
color: inherit;
|
|
38
63
|
display: block;
|
|
39
64
|
width: 100%;
|
|
40
65
|
}
|
|
41
|
-
ard-date-input .ard-date-input.ard-compact
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
66
|
+
ard-date-input .ard-date-input.ard-compact,
|
|
67
|
+
ard-date-range-input .ard-date-range-input.ard-compact,
|
|
68
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input.ard-compact {
|
|
69
|
+
height: var(--ard-date-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
70
|
+
font-size: var(--ard-date-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
71
|
+
line-height: var(--ard-date-input-line-height-compact, 1);
|
|
72
|
+
padding: var(--ard-date-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
45
73
|
}
|
|
46
|
-
ard-date-input .ard-date-input .ard-date-input__value-container
|
|
47
|
-
|
|
74
|
+
ard-date-input .ard-date-input .ard-date-input__value-container,
|
|
75
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__value-container,
|
|
76
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__value-container {
|
|
48
77
|
position: unset;
|
|
49
78
|
}
|
|
50
|
-
ard-date-input .ard-date-input .ard-date-input__placeholder
|
|
79
|
+
ard-date-input .ard-date-input .ard-date-input__placeholder,
|
|
80
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__placeholder,
|
|
81
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__placeholder {
|
|
51
82
|
position: absolute;
|
|
52
83
|
}
|
|
53
|
-
ard-date-input .ard-date-input .ard-date-input__input-container
|
|
84
|
+
ard-date-input .ard-date-input .ard-date-input__input-container,
|
|
85
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__input-container,
|
|
86
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__input-container {
|
|
54
87
|
position: absolute;
|
|
55
88
|
inset: 0;
|
|
56
89
|
}
|
|
57
|
-
ard-date-input .ard-date-input .ard-date-input__input-container.ard-date-input__input-container-hidden
|
|
90
|
+
ard-date-input .ard-date-input .ard-date-input__input-container.ard-date-input__input-container-hidden,
|
|
91
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__input-container.ard-date-input__input-container-hidden,
|
|
92
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__input-container.ard-date-input__input-container-hidden {
|
|
58
93
|
position: absolute;
|
|
59
94
|
opacity: 0;
|
|
60
95
|
appearance: none;
|
|
61
96
|
}
|
|
62
|
-
ard-date-input .ard-date-input .ard-date-input__input-container input
|
|
97
|
+
ard-date-input .ard-date-input .ard-date-input__input-container input,
|
|
98
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__input-container input,
|
|
99
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__input-container input {
|
|
63
100
|
box-sizing: border-box;
|
|
64
101
|
width: 100%;
|
|
65
102
|
height: 100%;
|
|
66
|
-
padding: 0 2.625rem 0 0.375rem;
|
|
103
|
+
padding: var(--ard-date-input-input-padding, 0 2.625rem 0 0.375rem);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
ard-days-view .ard-calendar__header-button {
|
|
107
|
+
font-size: var(--ard-button-font-size, 0.875rem);
|
|
108
|
+
font-weight: var(--ard-button-font-weight, 500);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.ard-date-input__multipage-wrapper {
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: row;
|
|
114
|
+
gap: var(--ard-date-input-multipage-gap, 0);
|
|
67
115
|
}
|
|
68
116
|
|
|
69
117
|
/*# sourceMappingURL=date-input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/date-input.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/date-input.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACGA;EAGE;EAGA;EACA;EACA;EAIA;EAGA;EACA;;;AAGF;AAAA;AAAA;EDJE,QCQE;EDPF;EACA;EACA;EACA;EACA;EACA,KCIE;EDHF;EACA;EACA,WCEE;EDDF,aCGE;EDFF,aCIE;EDHF,SCIE;EDHF,OCKE;EAIF;EACA;;ADRA;AAAA;AAAA;EACE;EACA;EACA;EACA;;AAEA;AAAA;AAAA;EACE;EACA,SCHF;EDIE,OCLF;EDME;EACA;EACA;EACA;EACA;;AAGF;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;AAAA;AAAA;EACE,QCpCA;EDqCA,WClCA;EDmCA,aCjCA;EDkCA,SC/BA;;AAQF;AAAA;AAAA;EACE;;AAEF;AAAA;AAAA;EACE;;AAEF;AAAA;AAAA;EACE;EACA;;AAEA;AAAA;AAAA;EACE;EACA;EACA;;AAGF;AAAA;AAAA;EACE;EACA;EACA;EACA;;;AAMJ;EACE;EACA;;;AAGJ;EACE;EACA;EACA","file":"date-input.css"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/digit-input.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAIA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;EAIE;EACA;;;AAEF;EAEE;EACA;;ACsBA;EACE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAEF;EACE;EACA;;AAGJ;EACE;EACA;;AAEA;EACE;;AAEF;EACE;;AAGJ;EACE;EACA;;ADjDF;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA,OE7BC;EF8BD,aE5BE;EF6BF;EACA;EACA;EACA,YACE;;AAGF;EACE,OErCA;EFsCA;;AAGF;EACE;;AAGJ;EACE;EACA;EACA;EACA;;AAIF;EACE;;AAIF;EACE;;AAEA;EACE;;AAMJ;EACE,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/digit-input.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAIA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;EAIE;EACA;;;AAEF;EAEE;EACA;;ACsBA;EACE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAEF;EACE;EACA;;AAGJ;EACE;EACA;;AAEA;EACE;;AAEF;EACE;;AAGJ;EACE;EACA;;ADjDF;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA,OE7BC;EF8BD,aE5BE;EF6BF;EACA;EACA;EACA,YACE;;AAGF;EACE,OErCA;EFsCA;;AAGF;EACE;;AAGJ;EACE;EACA;EACA;EACA;;AAIF;EACE;;AAIF;EACE;;AAEA;EACE;;AAMJ;EACE,cE2BO;;AFvBT;EACE,kBEVK;EFWL,cELM;;AFSV;EACE;;AAEF;EACE;;AAEF;EACE;;;AAIF;EACE;EACA","file":"digit-input.css"}
|
|
@@ -1,28 +1,91 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
+
:root {
|
|
5
|
+
--ard-file-input-gap: 0.625rem;
|
|
6
|
+
--ard-file-input-line-height: 1.25;
|
|
7
|
+
--ard-file-input-line-height-compact: 1;
|
|
8
|
+
--ard-file-input-font-weight: 400;
|
|
9
|
+
--ard-file-input-placeholder-opacity: 60%;
|
|
10
|
+
--ard-file-input-min-width: 10rem;
|
|
11
|
+
--ard-file-input-max-width: 100%;
|
|
12
|
+
--ard-file-input-gap: 0.375rem;
|
|
13
|
+
--ard-file-input-dragover-outline-width: 2px;
|
|
14
|
+
--ard-file-input-dragover-outline-style: solid;
|
|
15
|
+
--ard-file-input-browse-button-height: calc(100% - 0.25rem);
|
|
16
|
+
--ard-file-input-browse-button-width: unset;
|
|
17
|
+
--ard-file-input-browse-button-margin: 0.125rem;
|
|
18
|
+
--ard-file-input-browse-button-aspect-ratio: 1;
|
|
19
|
+
--ard-file-input-browse-button-border: none;
|
|
20
|
+
--ard-file-input-browse-button-border-radius: 9999px;
|
|
21
|
+
--ard-file-input-browse-button-background: none;
|
|
22
|
+
--ard-file-input-browse-button-padding: 0;
|
|
23
|
+
--ard-file-input-browse-button-overlay-offset: 0rem;
|
|
24
|
+
--ard-file-input-browse-button-overlay-hover-opacity: 4%;
|
|
25
|
+
--ard-file-input-browse-button-overlay-focus-opacity: 0;
|
|
26
|
+
--ard-file-input-browse-button-overlay-active-opacity: 12%;
|
|
27
|
+
--ard-file-input-browse-button-overlay-focus-visible-opacity: 16%;
|
|
28
|
+
--ard-file-input-file-name-font-weight: 500;
|
|
29
|
+
--ard-file-input-file-ext-font-weight: 500;
|
|
30
|
+
}
|
|
31
|
+
|
|
4
32
|
.ard-file-input-form-field-frame .ard-form-field-overlay {
|
|
5
33
|
display: none;
|
|
6
34
|
}
|
|
7
35
|
|
|
8
36
|
.ard-file-input {
|
|
37
|
+
height: var(--ard-file-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
9
38
|
position: relative;
|
|
10
|
-
font-family:
|
|
39
|
+
font-family: var(--ard-font-family);
|
|
11
40
|
display: flex;
|
|
12
41
|
align-items: center;
|
|
13
42
|
justify-content: stretch;
|
|
14
|
-
gap: 0.
|
|
43
|
+
gap: var(--ard-file-input-gap, 0.625rem);
|
|
15
44
|
cursor: text;
|
|
16
45
|
box-sizing: border-box;
|
|
17
|
-
font-size: 1rem;
|
|
18
|
-
line-height: 1.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
46
|
+
font-size: var(--ard-file-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
47
|
+
line-height: var(--ard-file-input-line-height, 1.25);
|
|
48
|
+
font-weight: var(--ard-file-input-font-weight, 400);
|
|
49
|
+
padding: var(--ard-file-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
50
|
+
color: var(--ard-file-input-color, var(--ard-text));
|
|
51
|
+
min-width: var(--ard-file-input-min-width, 10rem);
|
|
52
|
+
max-width: var(--ard-file-input-max-width, 100%);
|
|
53
|
+
gap: var(--ard-file-input-gap, 0.375rem);
|
|
23
54
|
cursor: default;
|
|
24
55
|
border-radius: var(--ard-variant-border-radius);
|
|
25
56
|
}
|
|
57
|
+
.ard-file-input .ard-input-container {
|
|
58
|
+
flex-grow: 1;
|
|
59
|
+
text-size-adjust: 100%;
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
}
|
|
63
|
+
.ard-file-input .ard-input-container .ard-placeholder {
|
|
64
|
+
font: inherit;
|
|
65
|
+
opacity: var(--ard-file-input-placeholder-opacity, 60%);
|
|
66
|
+
color: var(--ard-file-input-placeholder-color, var(--ard-text));
|
|
67
|
+
white-space: nowrap;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
text-overflow: ellipsis;
|
|
70
|
+
max-width: 100%;
|
|
71
|
+
pointer-events: none;
|
|
72
|
+
}
|
|
73
|
+
.ard-file-input .ard-input-container input {
|
|
74
|
+
border: none;
|
|
75
|
+
background: transparent;
|
|
76
|
+
outline: none;
|
|
77
|
+
font: inherit;
|
|
78
|
+
padding: 0;
|
|
79
|
+
color: inherit;
|
|
80
|
+
display: block;
|
|
81
|
+
width: 100%;
|
|
82
|
+
}
|
|
83
|
+
.ard-file-input.ard-compact {
|
|
84
|
+
height: var(--ard-file-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
85
|
+
font-size: var(--ard-file-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
86
|
+
line-height: var(--ard-file-input-line-height-compact, 1);
|
|
87
|
+
padding: var(--ard-file-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
88
|
+
}
|
|
26
89
|
.ard-file-input.ard-color-none {
|
|
27
90
|
--ard-cmpcl--bg: var(--ard-bg);
|
|
28
91
|
--ard-cmpcl--bg-colored: var(--ard-bg-alt);
|
|
@@ -156,56 +219,28 @@
|
|
|
156
219
|
--ard-cmpcl--overlay-colored: currentColor;
|
|
157
220
|
--ard-cmpcl--overlay-colored-light: currentColor;
|
|
158
221
|
}
|
|
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
222
|
.ard-file-input *:not(button):not(ard-clear-button) {
|
|
189
223
|
pointer-events: none;
|
|
190
224
|
user-select: none;
|
|
191
225
|
}
|
|
192
226
|
.ard-file-input.ard-state-dragover {
|
|
193
|
-
outline: 2px solid var(--ard-cmpcl--content-light);
|
|
227
|
+
outline: var(--ard-file-input-dragover-outline-width, 2px) var(--ard-file-input-dragover-outline-style, solid) var(--ard-cmpcl--content-light);
|
|
194
228
|
}
|
|
195
229
|
.ard-file-input .ard-file-input__value {
|
|
196
|
-
font-size: 92%;
|
|
197
230
|
overflow: hidden;
|
|
198
231
|
text-overflow: ellipsis;
|
|
199
|
-
max-height: 1.25rem;
|
|
200
232
|
}
|
|
201
233
|
.ard-file-input .ard-browse-button {
|
|
202
234
|
cursor: pointer;
|
|
203
|
-
height: calc(100% - 0.25rem);
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
235
|
+
height: var(--ard-file-input-browse-button-height, calc(100% - 0.25rem));
|
|
236
|
+
width: var(--ard-file-input-browse-button-width, unset);
|
|
237
|
+
margin: var(--ard-file-input-browse-button-margin, 0.125rem);
|
|
238
|
+
aspect-ratio: var(--ard-file-input-browse-button-aspect-ratio, 1);
|
|
239
|
+
border: var(--ard-file-input-browse-button-border, none);
|
|
240
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
241
|
+
background: var(--ard-file-input-browse-button-background, none);
|
|
242
|
+
padding: var(--ard-file-input-browse-butto-padding, 0);
|
|
243
|
+
color: var(--ard-file-input-browse-button-color, var(--ard-text));
|
|
209
244
|
position: relative;
|
|
210
245
|
display: flex;
|
|
211
246
|
justify-content: center;
|
|
@@ -214,28 +249,28 @@
|
|
|
214
249
|
}
|
|
215
250
|
.ard-file-input .ard-browse-button .ard-focus-overlay {
|
|
216
251
|
position: absolute;
|
|
217
|
-
top: -0.25rem;
|
|
218
|
-
bottom: -0.25rem;
|
|
219
|
-
left: -0.25rem;
|
|
220
|
-
right: -0.25rem;
|
|
252
|
+
top: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
253
|
+
bottom: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
254
|
+
left: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
255
|
+
right: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
221
256
|
opacity: 0;
|
|
222
257
|
border-radius: inherit;
|
|
223
258
|
pointer-events: none;
|
|
224
259
|
transition: opacity 0.2s ease;
|
|
225
|
-
background: var(--ard-overlay);
|
|
226
|
-
border-radius: 9999px;
|
|
260
|
+
background: var(--ard-file-input-browse-button-overlay-color, var(--ard-overlay));
|
|
261
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
227
262
|
}
|
|
228
263
|
.ard-file-input .ard-browse-button:hover .ard-focus-overlay {
|
|
229
|
-
opacity: 4
|
|
264
|
+
opacity: var(--ard-file-input-browse-button-overlay-hover-opacity, 4%);
|
|
230
265
|
}
|
|
231
266
|
.ard-file-input .ard-browse-button:focus .ard-focus-overlay {
|
|
232
|
-
opacity: 8
|
|
267
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-opacity, 8%);
|
|
233
268
|
}
|
|
234
269
|
.ard-file-input .ard-browse-button:active .ard-focus-overlay {
|
|
235
|
-
opacity: 12
|
|
270
|
+
opacity: var(--ard-file-input-browse-button-overlay-active-opacity, 12%);
|
|
236
271
|
}
|
|
237
272
|
.ard-file-input .ard-browse-button:focus-visible .ard-focus-overlay {
|
|
238
|
-
opacity: 16
|
|
273
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-visible-opacity, 16%);
|
|
239
274
|
}
|
|
240
275
|
.ard-file-input ard-clear-button {
|
|
241
276
|
height: var(--ard-clear-button-size);
|
|
@@ -269,10 +304,10 @@
|
|
|
269
304
|
}
|
|
270
305
|
.ard-file-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
271
306
|
position: absolute;
|
|
272
|
-
top: -1px;
|
|
273
|
-
bottom: -1px;
|
|
274
|
-
left: -1px;
|
|
275
|
-
right: -1px;
|
|
307
|
+
top: calc(-1 * 1px);
|
|
308
|
+
bottom: calc(-1 * 1px);
|
|
309
|
+
left: calc(-1 * 1px);
|
|
310
|
+
right: calc(-1 * 1px);
|
|
276
311
|
opacity: 0;
|
|
277
312
|
border-radius: inherit;
|
|
278
313
|
pointer-events: none;
|
|
@@ -316,7 +351,12 @@
|
|
|
316
351
|
.ard-file-input .ard-file-input__full-file-name {
|
|
317
352
|
display: grid;
|
|
318
353
|
grid-template-columns: 1fr max-content;
|
|
319
|
-
|
|
354
|
+
}
|
|
355
|
+
.ard-file-input .ard-file-input__full-file-name .ard-file-input__file-name {
|
|
356
|
+
font-weight: var(--ard-file-input-file-name-font-weight, 500);
|
|
357
|
+
}
|
|
358
|
+
.ard-file-input .ard-file-input__full-file-name .ard-file-input__file-ext {
|
|
359
|
+
font-weight: var(--ard-file-input-file-ext-font-weight, 500);
|
|
320
360
|
}
|
|
321
361
|
|
|
322
362
|
ard-file-input .ard-form-field-content-container {
|
|
@@ -325,7 +365,7 @@ ard-file-input .ard-form-field-content-container {
|
|
|
325
365
|
|
|
326
366
|
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-file-input__value,
|
|
327
367
|
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-browse-button {
|
|
328
|
-
color: rgb(var(--ard-danger-700));
|
|
368
|
+
color: var(--ard-file-input-browse-button-color-error, rgb(var(--ard-danger-700)));
|
|
329
369
|
}
|
|
330
370
|
|
|
331
371
|
/*# 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;ACMA;EAGE;EAGA;EACA;EACA;EAKA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAIA;EACE;;;AAGJ;EDjCE,QCmCE;EDlCF;EACA;EACA;EACA;EACA;EACA,KC+BE;ED9BF;EACA;EACA,WC6BE;ED5BF,aC8BE;ED7BF,aC+BE;ED9BF,SC+BE;ED9BF,OCgCE;EAKF;EACA;EACA;EACA;EACA;;ADvCA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA,SCwBF;EDvBE,OCsBF;EDrBE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QCTA;EDUA,WCPA;EDQA,aCNA;EDOA,SCJA;;AC7DF;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;;AD1DF;EACE;EACA;;AAGF;EACE;;AAIF;EACE;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EE9FF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFuFI;EACA;;AAGA;EACE;;AAIF;EACE;;AAIF;EACE;;AAIF;EACE;;AG7HN;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;;AHoEN;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"}
|