@ardium-ui/ui 5.0.0-alpha.7 → 5.0.0-alpha.71
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 +4707 -2272
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/boolean-component.d.ts +13 -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 +19 -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/checkbox.component.d.ts +5 -2
- package/lib/checkbox/checkbox.types.d.ts +2 -0
- 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 +5 -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 -3
- package/lib/divider/divider.defaults.d.ts +5 -0
- package/lib/divider/divider.directive.d.ts +18 -0
- package/lib/divider/divider.module.d.ts +3 -2
- package/lib/divider/divider.types.d.ts +5 -0
- package/lib/divider/index.d.ts +2 -0
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +2 -1
- package/lib/dropdown-panel/dropdown-panel.types.d.ts +1 -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 +5 -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 +6 -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 +30 -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 +45 -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 +4 -3
- package/lib/inputs/input-utils.d.ts +13 -2
- package/lib/inputs/number-input/number-input.component.d.ts +20 -12
- package/lib/inputs/number-input/number-input.defaults.d.ts +6 -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/number-input/number-input.types.d.ts +6 -0
- package/lib/inputs/password-input/password-input.component.d.ts +5 -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 +40 -30
- package/lib/select/select.defaults.d.ts +10 -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/slide-toggle/slide-toggle.component.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 +13 -10
- 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/star/star-button/star-button.component.d.ts +4 -1
- package/lib/star/star-button/star-button.types.d.ts +1 -0
- package/lib/tabber/index.d.ts +2 -1
- package/lib/tabber/tab/tab.component.d.ts +16 -8
- package/lib/tabber/tabber.component.d.ts +25 -9
- package/lib/tabber/tabber.defaults.d.ts +2 -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/alignment.types.d.ts +7 -1
- package/lib/types/item-storage.types.d.ts +17 -18
- package/package.json +3 -2
- package/prebuilt-themes/default/badge.css +37 -15
- package/prebuilt-themes/default/badge.css.map +1 -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 +56 -24
- 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 +31 -58
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +75 -43
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +15 -8
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/core.css +21 -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/divider.css +82 -6
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css +16 -8
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css +81 -35
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +18 -14
- 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 +79 -28
- 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 +97 -25
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +31 -19
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +117 -62
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +55 -23
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +47 -18
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +83 -33
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +74 -25
- package/prebuilt-themes/default/inputs/password-input.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 +13 -7
- 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/snackbar.css +29 -16
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +9 -3
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css +42 -20
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +53 -17
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css +21 -9
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css +93 -69
- package/prebuilt-themes/default/table.css.map +1 -1
- package/public-api.d.ts +2 -1
- package/themes/_variables.scss +2 -1
- package/themes/default/_mixins.scss +5 -5
- package/themes/default/badge.scss +48 -15
- 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/card.scss +68 -24
- package/themes/default/checkbox-list.scss +47 -21
- package/themes/default/checkbox.scss +30 -59
- package/themes/default/chips.scss +71 -40
- package/themes/default/color-display.scss +18 -8
- package/themes/default/core.scss +24 -1
- package/themes/default/dialog.scss +9 -2
- package/themes/default/divider.scss +106 -6
- package/themes/default/dropdown-panel.scss +21 -8
- package/themes/default/file-drop-area.scss +92 -35
- package/themes/default/form-field-frame.scss +23 -15
- package/themes/default/form-field.scss +64 -28
- package/themes/default/inputs/_shared.scss +52 -12
- package/themes/default/inputs/autocomplete-input.scss +83 -14
- package/themes/default/inputs/color-input.scss +2 -2
- package/themes/default/inputs/date-input.scss +74 -6
- package/themes/default/inputs/digit-input.scss +42 -20
- package/themes/default/inputs/file-input.scss +100 -23
- package/themes/default/inputs/hex-input.scss +59 -9
- package/themes/default/inputs/input.scss +51 -4
- package/themes/default/inputs/number-input.scss +94 -24
- package/themes/default/inputs/password-input.scss +84 -15
- 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/progress-circle.scss +16 -10
- 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/snackbar.scss +32 -14
- package/themes/default/spinner.scss +11 -3
- package/themes/default/stars.scss +45 -16
- package/themes/default/tabber.scss +54 -14
- package/themes/default/table-pagination.scss +24 -9
- package/themes/default/table.scss +104 -70
- package/lib/statebox/index.d.ts +0 -4
- package/lib/statebox/statebox.component.d.ts +0 -26
- package/lib/statebox/statebox.defaults.d.ts +0 -10
- package/lib/statebox/statebox.module.d.ts +0 -8
- package/lib/statebox/statebox.types.d.ts +0 -26
- 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/prebuilt-themes/default/inputs/search-bar.css +0 -118
- package/prebuilt-themes/default/inputs/search-bar.css.map +0 -1
- package/prebuilt-themes/default/statebox.css +0 -235
- package/prebuilt-themes/default/statebox.css.map +0 -1
- package/themes/default/calendar-OLD.scss +0 -183
- package/themes/default/inputs/search-bar.scss +0 -19
- package/themes/default/statebox.scss +0 -109
|
@@ -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,141 @@
|
|
|
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-left: var(--ard-date-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
|
|
30
|
+
padding-right: var(--ard-date-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
|
|
31
|
+
padding-top: var(--ard-date-input-padding-top, var(--ard-form-field-padding-top, 0));
|
|
32
|
+
padding-bottom: var(--ard-date-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
|
|
33
|
+
color: var(--ard-date-input-color, var(--ard-text));
|
|
34
|
+
display: grid;
|
|
35
|
+
grid-template-columns: 1fr max-content;
|
|
16
36
|
}
|
|
17
|
-
ard-date-input .ard-date-input .ard-input-container
|
|
37
|
+
ard-date-input .ard-date-input .ard-input-container,
|
|
38
|
+
ard-date-range-input .ard-date-range-input .ard-input-container,
|
|
39
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-input-container {
|
|
18
40
|
flex-grow: 1;
|
|
19
41
|
text-size-adjust: 100%;
|
|
20
42
|
display: flex;
|
|
21
43
|
align-items: center;
|
|
44
|
+
height: 100%;
|
|
45
|
+
position: relative;
|
|
46
|
+
}
|
|
47
|
+
ard-date-input .ard-date-input .ard-input-container > *,
|
|
48
|
+
ard-date-range-input .ard-date-range-input .ard-input-container > *,
|
|
49
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-input-container > * {
|
|
50
|
+
position: absolute;
|
|
51
|
+
inset: 0;
|
|
52
|
+
max-width: 100%;
|
|
53
|
+
padding: 0;
|
|
22
54
|
}
|
|
23
|
-
ard-date-input .ard-date-input .ard-input-container .ard-placeholder
|
|
55
|
+
ard-date-input .ard-date-input .ard-input-container .ard-placeholder,
|
|
56
|
+
ard-date-range-input .ard-date-range-input .ard-input-container .ard-placeholder,
|
|
57
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-input-container .ard-placeholder {
|
|
24
58
|
font: inherit;
|
|
25
|
-
opacity: 60
|
|
59
|
+
opacity: var(--ard-date-input-placeholder-opacity, 60%);
|
|
60
|
+
color: var(--ard-date-input-placeholder-color, var(--ard-text));
|
|
26
61
|
white-space: nowrap;
|
|
27
62
|
overflow: hidden;
|
|
28
63
|
text-overflow: ellipsis;
|
|
29
|
-
max-width: 100%;
|
|
30
64
|
pointer-events: none;
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
31
67
|
}
|
|
32
|
-
ard-date-input .ard-date-input .ard-input-container input
|
|
68
|
+
ard-date-input .ard-date-input .ard-input-container input,
|
|
69
|
+
ard-date-range-input .ard-date-range-input .ard-input-container input,
|
|
70
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-input-container input {
|
|
33
71
|
border: none;
|
|
34
72
|
background: transparent;
|
|
35
73
|
outline: none;
|
|
36
74
|
font: inherit;
|
|
37
|
-
|
|
75
|
+
color: inherit;
|
|
38
76
|
display: block;
|
|
39
|
-
width: 100%;
|
|
40
77
|
}
|
|
41
|
-
ard-date-input .ard-date-input.ard-compact
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
78
|
+
ard-date-input .ard-date-input.ard-compact,
|
|
79
|
+
ard-date-range-input .ard-date-range-input.ard-compact,
|
|
80
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input.ard-compact {
|
|
81
|
+
height: var(--ard-date-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
82
|
+
font-size: var(--ard-date-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
83
|
+
line-height: var(--ard-date-input-line-height-compact, 1);
|
|
84
|
+
padding-left: var(--ard-date-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
|
|
85
|
+
padding-right: var(--ard-date-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
|
|
86
|
+
padding-top: var(--ard-date-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
|
|
87
|
+
padding-bottom: var(--ard-date-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
|
|
45
88
|
}
|
|
46
|
-
ard-date-input .ard-date-input .ard-date-input__value-container
|
|
47
|
-
|
|
48
|
-
|
|
89
|
+
ard-date-input .ard-date-input .ard-date-input__value-container,
|
|
90
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__value-container,
|
|
91
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__value-container {
|
|
92
|
+
position: relative;
|
|
49
93
|
}
|
|
50
|
-
ard-date-input .ard-date-input .ard-date-input__placeholder
|
|
94
|
+
ard-date-input .ard-date-input .ard-date-input__placeholder,
|
|
95
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__placeholder,
|
|
96
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__placeholder {
|
|
51
97
|
position: absolute;
|
|
98
|
+
padding: 0;
|
|
52
99
|
}
|
|
53
|
-
ard-date-input .ard-date-input .ard-date-input__input-container
|
|
100
|
+
ard-date-input .ard-date-input .ard-date-input__input-container,
|
|
101
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__input-container,
|
|
102
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__input-container {
|
|
54
103
|
position: absolute;
|
|
55
104
|
inset: 0;
|
|
105
|
+
padding: 0;
|
|
56
106
|
}
|
|
57
|
-
ard-date-input .ard-date-input .ard-date-input__input-container.ard-date-input__input-container-hidden
|
|
107
|
+
ard-date-input .ard-date-input .ard-date-input__input-container.ard-date-input__input-container-hidden,
|
|
108
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__input-container.ard-date-input__input-container-hidden,
|
|
109
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__input-container.ard-date-input__input-container-hidden {
|
|
58
110
|
position: absolute;
|
|
59
111
|
opacity: 0;
|
|
60
112
|
appearance: none;
|
|
61
113
|
}
|
|
62
|
-
ard-date-input .ard-date-input .ard-date-input__input-container input
|
|
114
|
+
ard-date-input .ard-date-input .ard-date-input__input-container input,
|
|
115
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__input-container input,
|
|
116
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__input-container input {
|
|
63
117
|
box-sizing: border-box;
|
|
64
118
|
width: 100%;
|
|
65
119
|
height: 100%;
|
|
66
|
-
padding: 0 2.625rem 0 0.375rem;
|
|
120
|
+
padding: var(--ard-date-input-input-padding, 0 2.625rem 0 0.375rem);
|
|
121
|
+
}
|
|
122
|
+
ard-date-input .ard-date-input .ard-date-input__value,
|
|
123
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__value,
|
|
124
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__value {
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
padding: 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
ard-days-view .ard-calendar__header-button {
|
|
131
|
+
font-size: var(--ard-button-font-size, 0.875rem);
|
|
132
|
+
font-weight: var(--ard-button-font-weight, 500);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ard-date-input__multipage-wrapper {
|
|
136
|
+
display: flex;
|
|
137
|
+
flex-direction: row;
|
|
138
|
+
gap: var(--ard-date-input-multipage-gap, 0);
|
|
67
139
|
}
|
|
68
140
|
|
|
69
141
|
/*# 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;EAWA;EAEA;EACA;;;AAGF;AAAA;AAAA;EDJE,QCQE;EDPF;EACA;EACA;EACA;EACA;EACA,KCIE;EDHF;EACA;EACA,WCEE;EDDF,aCGE;EDFF,aCIE;EDHF,cCOE;EDNF,eCIE;EDHF,aCEE;EDDF,gBCGE;EDFF,OCQE;EAIF;EACA;;ADXA;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;AAAA;EACE;EACA;EACA;EACA;;AAEF;AAAA;AAAA;EACE;EACA,SCRF;EDSE,OCVF;EDWE;EACA;EACA;EACA;EACA;EACA;;AAGF;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;;AAIJ;AAAA;AAAA;EACE,QC9CA;ED+CA,WC5CA;ED6CA,aC3CA;ED4CA,cCnCA;EDoCA,eCtCA;EDuCA,aCxCA;EDyCA,gBCvCA;;AASF;AAAA;AAAA;EACE;;AAEF;AAAA;AAAA;EACE;EACA;;AAEF;AAAA;AAAA;EACE;EACA;EACA;;AAEA;AAAA;AAAA;EACE;EACA;EACA;;AAGF;AAAA;AAAA;EACE;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EACE;EACA;EACA;;;AAKF;EACE;EACA;;;AAGJ;EACE;EACA;EACA","file":"date-input.css"}
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--ard-digit-input-font-weight: 500;
|
|
3
|
+
--ard-digit-input-gap: 0.375em;
|
|
4
|
+
--ard-digit-input-size: 2.0625em;
|
|
5
|
+
--ard-digit-input-placeholder-opacity: 60%;
|
|
6
|
+
--ard-digit-input-transition-duration: 150ms;
|
|
7
|
+
--ard-digit-input-rectangle-font-size: 1.25em;
|
|
8
|
+
--ard-digit-input-success-background-color: transparent;
|
|
9
|
+
--ard-digit-input-disabled-opacity: 50%;
|
|
10
|
+
}
|
|
11
|
+
|
|
1
12
|
ard-digit-input {
|
|
2
|
-
font-family:
|
|
3
|
-
font-weight: 500;
|
|
4
|
-
color: var(--ard-text);
|
|
13
|
+
font-family: var(--ard-digit-input-font-family, var(--ard-font-family));
|
|
14
|
+
font-weight: var(--ard-digit-input-font-weight, 500);
|
|
15
|
+
color: var(--ard-digit-input-color, var(--ard-text));
|
|
5
16
|
}
|
|
6
17
|
|
|
7
18
|
.ard-digit-input,
|
|
@@ -14,7 +25,7 @@ ard-digit-input {
|
|
|
14
25
|
|
|
15
26
|
.ard-digit-input {
|
|
16
27
|
display: flex;
|
|
17
|
-
gap: 0.375em;
|
|
28
|
+
gap: var(--ard-digit-input-gap, 0.375em);
|
|
18
29
|
}
|
|
19
30
|
.ard-digit-input.ard-appearance-outlined {
|
|
20
31
|
--ard-appearance-background: var(--ard-bg);
|
|
@@ -48,27 +59,27 @@ ard-digit-input {
|
|
|
48
59
|
.ard-digit-input .ard-digit-input__item {
|
|
49
60
|
height: max-content;
|
|
50
61
|
display: flex;
|
|
51
|
-
height: 2.0625em;
|
|
62
|
+
height: var(--ard-digit-input-size, 2.0625em);
|
|
52
63
|
box-sizing: border-box;
|
|
53
64
|
}
|
|
54
65
|
.ard-digit-input .ard-digit-input__item.ard-digit-input__item-with-input {
|
|
55
|
-
width: 2.0625em;
|
|
66
|
+
width: var(--ard-digit-input-size, 2.0625em);
|
|
56
67
|
}
|
|
57
68
|
.ard-digit-input .ard-digit-input__item .ard-digit-input__input {
|
|
58
69
|
width: 100%;
|
|
59
70
|
height: 100%;
|
|
60
71
|
box-sizing: border-box;
|
|
61
72
|
text-align: center;
|
|
62
|
-
color:
|
|
63
|
-
caret-color: var(--ard-text3);
|
|
73
|
+
color: inherit;
|
|
74
|
+
caret-color: var(--ard-digit-input-caret-color, var(--ard-text3));
|
|
64
75
|
background: var(--ard-appearance-background);
|
|
65
76
|
border: var(--ard-appearance-border);
|
|
66
77
|
border-radius: var(--ard-variant-border-radius);
|
|
67
|
-
transition: border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
|
|
78
|
+
transition: border-color var(--ard-digit-input-transition-duration, 0.15s) cubic-bezier(0.4, 0, 0.2, 1), background-color var(--ard-digit-input-transition-duration, 0.15s) cubic-bezier(0.4, 0, 0.2, 1);
|
|
68
79
|
}
|
|
69
80
|
.ard-digit-input .ard-digit-input__item .ard-digit-input__input::placeholder {
|
|
70
|
-
color: var(--ard-text3);
|
|
71
|
-
opacity: 60
|
|
81
|
+
color: var(--ard-digit-input-placeholder-color, var(--ard-text3));
|
|
82
|
+
opacity: var(--ard-digit-input-placeholder-opacity, 60%);
|
|
72
83
|
}
|
|
73
84
|
.ard-digit-input .ard-digit-input__item .ard-digit-input__input:not(.ard-digit-input__input-empty) {
|
|
74
85
|
caret-color: transparent;
|
|
@@ -80,23 +91,24 @@ ard-digit-input {
|
|
|
80
91
|
align-items: center;
|
|
81
92
|
}
|
|
82
93
|
.ard-digit-input.ard-shape-square .ard-digit-input__item {
|
|
83
|
-
height: 2.0625em;
|
|
94
|
+
height: var(--ard-digit-input-size, 2.0625em);
|
|
84
95
|
}
|
|
85
96
|
.ard-digit-input.ard-shape-rectangle .ard-digit-input__item {
|
|
86
|
-
height: 2.
|
|
97
|
+
height: var(--ard-digit-input-rectangle-height, calc(var(--ard-digit-input-size, 2.0625em) * 1.3));
|
|
87
98
|
}
|
|
88
99
|
.ard-digit-input.ard-shape-rectangle .ard-digit-input__item .ard-digit-input__input {
|
|
89
|
-
font-size: 1.
|
|
100
|
+
font-size: var(--ard-digit-input-rectangle-font-size, 1.25em);
|
|
90
101
|
}
|
|
91
102
|
.ard-digit-input.ard-is-success .ard-digit-input__item .ard-digit-input__input {
|
|
92
|
-
|
|
103
|
+
background-color: var(--ard-digit-input-success-background-color, transparent);
|
|
104
|
+
border-color: var(--ard-digit-input-success-border-color, rgb(var(--ard-success-500)));
|
|
93
105
|
}
|
|
94
106
|
.ard-digit-input.ard-has-error .ard-digit-input__item .ard-digit-input__input {
|
|
95
|
-
background-color: rgb(var(--ard-danger-50));
|
|
96
|
-
border-color: rgb(var(--ard-danger-500));
|
|
107
|
+
background-color: var(--ard-digit-input-error-background-color, rgb(var(--ard-danger-50)));
|
|
108
|
+
border-color: var(--ard-digit-input-error-border-color, rgb(var(--ard-danger-500)));
|
|
97
109
|
}
|
|
98
110
|
.ard-digit-input.ard-variant-rounded {
|
|
99
|
-
--ard-variant-border-radius: 0.
|
|
111
|
+
--ard-variant-border-radius: var(--ard-digit-input-border-radius, var(--ard-rounded-corner-radius, 0.375rem));
|
|
100
112
|
}
|
|
101
113
|
.ard-digit-input.ard-variant-pill {
|
|
102
114
|
--ard-variant-border-radius: 9999px;
|
|
@@ -106,7 +118,7 @@ ard-digit-input {
|
|
|
106
118
|
}
|
|
107
119
|
|
|
108
120
|
.ard-disabled > .ard-digit-input {
|
|
109
|
-
opacity: 50
|
|
121
|
+
opacity: var(--ard-digit-input-disabled-opacity, 50%);
|
|
110
122
|
pointer-events: none;
|
|
111
123
|
}
|
|
112
124
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/digit-input.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/digit-input.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAMA;EAEE;EAEA;EACA;EAGA;EACA;EAEA;EACA;EAIA;;;AAGF;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;EAIE;EACA;;;AAEF;EAEE;EACA;;ACCA;EACE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAEF;EACE;EACA;;AAGJ;EACE;EACA;;AAEA;EACE;;AAEF;EACE;;AAGJ;EACE;EACA;;AD5BF;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,YACE;;AAGF;EACE;EACA;;AAGF;EACE;;AAGJ;EACE;EACA;EACA;EACA;;AAIF;EACE;;AAIF;EACE;;AAEA;EACE;;AAMJ;EACE;EACA;;AAIF;EACE;EACA;;AAIJ;EACE;;AAEF;EACE;;AAEF;EACE;;;AAIF;EACE;EACA","file":"digit-input.css"}
|
|
@@ -1,28 +1,104 @@
|
|
|
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-left: var(--ard-file-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
|
|
50
|
+
padding-right: var(--ard-file-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
|
|
51
|
+
padding-top: var(--ard-file-input-padding-top, var(--ard-form-field-padding-top, 0));
|
|
52
|
+
padding-bottom: var(--ard-file-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
|
|
53
|
+
color: var(--ard-file-input-color, var(--ard-text));
|
|
54
|
+
min-width: var(--ard-file-input-min-width, 10rem);
|
|
55
|
+
max-width: var(--ard-file-input-max-width, 100%);
|
|
56
|
+
gap: var(--ard-file-input-gap, 0.375rem);
|
|
23
57
|
cursor: default;
|
|
24
58
|
border-radius: var(--ard-variant-border-radius);
|
|
25
59
|
}
|
|
60
|
+
.ard-file-input .ard-input-container {
|
|
61
|
+
flex-grow: 1;
|
|
62
|
+
text-size-adjust: 100%;
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
height: 100%;
|
|
66
|
+
position: relative;
|
|
67
|
+
}
|
|
68
|
+
.ard-file-input .ard-input-container > * {
|
|
69
|
+
position: absolute;
|
|
70
|
+
inset: 0;
|
|
71
|
+
max-width: 100%;
|
|
72
|
+
padding: 0;
|
|
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
|
+
pointer-events: none;
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
}
|
|
85
|
+
.ard-file-input .ard-input-container input {
|
|
86
|
+
border: none;
|
|
87
|
+
background: transparent;
|
|
88
|
+
outline: none;
|
|
89
|
+
font: inherit;
|
|
90
|
+
color: inherit;
|
|
91
|
+
display: block;
|
|
92
|
+
}
|
|
93
|
+
.ard-file-input.ard-compact {
|
|
94
|
+
height: var(--ard-file-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
95
|
+
font-size: var(--ard-file-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
96
|
+
line-height: var(--ard-file-input-line-height-compact, 1);
|
|
97
|
+
padding-left: var(--ard-file-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
|
|
98
|
+
padding-right: var(--ard-file-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
|
|
99
|
+
padding-top: var(--ard-file-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
|
|
100
|
+
padding-bottom: var(--ard-file-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
|
|
101
|
+
}
|
|
26
102
|
.ard-file-input.ard-color-none {
|
|
27
103
|
--ard-cmpcl--bg: var(--ard-bg);
|
|
28
104
|
--ard-cmpcl--bg-colored: var(--ard-bg-alt);
|
|
@@ -156,56 +232,30 @@
|
|
|
156
232
|
--ard-cmpcl--overlay-colored: currentColor;
|
|
157
233
|
--ard-cmpcl--overlay-colored-light: currentColor;
|
|
158
234
|
}
|
|
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
235
|
.ard-file-input *:not(button):not(ard-clear-button) {
|
|
189
236
|
pointer-events: none;
|
|
190
237
|
user-select: none;
|
|
191
238
|
}
|
|
192
239
|
.ard-file-input.ard-state-dragover {
|
|
193
|
-
outline: 2px solid var(--ard-cmpcl--content-light);
|
|
240
|
+
outline: var(--ard-file-input-dragover-outline-width, 2px) var(--ard-file-input-dragover-outline-style, solid) var(--ard-cmpcl--content-light);
|
|
194
241
|
}
|
|
195
242
|
.ard-file-input .ard-file-input__value {
|
|
196
|
-
font-size: 92%;
|
|
197
243
|
overflow: hidden;
|
|
198
244
|
text-overflow: ellipsis;
|
|
199
|
-
|
|
245
|
+
display: flex;
|
|
246
|
+
align-items: center;
|
|
200
247
|
}
|
|
201
248
|
.ard-file-input .ard-browse-button {
|
|
202
249
|
cursor: pointer;
|
|
203
|
-
height: calc(100% - 0.25rem);
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
250
|
+
height: var(--ard-file-input-browse-button-height, calc(100% - 0.25rem));
|
|
251
|
+
width: var(--ard-file-input-browse-button-width, unset);
|
|
252
|
+
margin: var(--ard-file-input-browse-button-margin, 0.125rem);
|
|
253
|
+
aspect-ratio: var(--ard-file-input-browse-button-aspect-ratio, 1);
|
|
254
|
+
border: var(--ard-file-input-browse-button-border, none);
|
|
255
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
256
|
+
background: var(--ard-file-input-browse-button-background, none);
|
|
257
|
+
padding: var(--ard-file-input-browse-button-padding, 0);
|
|
258
|
+
color: var(--ard-file-input-browse-button-color, var(--ard-text));
|
|
209
259
|
position: relative;
|
|
210
260
|
display: flex;
|
|
211
261
|
justify-content: center;
|
|
@@ -214,28 +264,28 @@
|
|
|
214
264
|
}
|
|
215
265
|
.ard-file-input .ard-browse-button .ard-focus-overlay {
|
|
216
266
|
position: absolute;
|
|
217
|
-
top: -0.25rem;
|
|
218
|
-
bottom: -0.25rem;
|
|
219
|
-
left: -0.25rem;
|
|
220
|
-
right: -0.25rem;
|
|
267
|
+
top: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
268
|
+
bottom: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
269
|
+
left: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
270
|
+
right: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
221
271
|
opacity: 0;
|
|
222
272
|
border-radius: inherit;
|
|
223
273
|
pointer-events: none;
|
|
224
274
|
transition: opacity 0.2s ease;
|
|
225
|
-
background: var(--ard-overlay);
|
|
226
|
-
border-radius: 9999px;
|
|
275
|
+
background: var(--ard-file-input-browse-button-overlay-color, var(--ard-overlay));
|
|
276
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
227
277
|
}
|
|
228
278
|
.ard-file-input .ard-browse-button:hover .ard-focus-overlay {
|
|
229
|
-
opacity: 4
|
|
279
|
+
opacity: var(--ard-file-input-browse-button-overlay-hover-opacity, 4%);
|
|
230
280
|
}
|
|
231
281
|
.ard-file-input .ard-browse-button:focus .ard-focus-overlay {
|
|
232
|
-
opacity: 8
|
|
282
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-opacity, 8%);
|
|
233
283
|
}
|
|
234
284
|
.ard-file-input .ard-browse-button:active .ard-focus-overlay {
|
|
235
|
-
opacity: 12
|
|
285
|
+
opacity: var(--ard-file-input-browse-button-overlay-active-opacity, 12%);
|
|
236
286
|
}
|
|
237
287
|
.ard-file-input .ard-browse-button:focus-visible .ard-focus-overlay {
|
|
238
|
-
opacity: 16
|
|
288
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-visible-opacity, 16%);
|
|
239
289
|
}
|
|
240
290
|
.ard-file-input ard-clear-button {
|
|
241
291
|
height: var(--ard-clear-button-size);
|
|
@@ -269,10 +319,10 @@
|
|
|
269
319
|
}
|
|
270
320
|
.ard-file-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
271
321
|
position: absolute;
|
|
272
|
-
top: -1px;
|
|
273
|
-
bottom: -1px;
|
|
274
|
-
left: -1px;
|
|
275
|
-
right: -1px;
|
|
322
|
+
top: calc(-1 * 1px);
|
|
323
|
+
bottom: calc(-1 * 1px);
|
|
324
|
+
left: calc(-1 * 1px);
|
|
325
|
+
right: calc(-1 * 1px);
|
|
276
326
|
opacity: 0;
|
|
277
327
|
border-radius: inherit;
|
|
278
328
|
pointer-events: none;
|
|
@@ -316,7 +366,12 @@
|
|
|
316
366
|
.ard-file-input .ard-file-input__full-file-name {
|
|
317
367
|
display: grid;
|
|
318
368
|
grid-template-columns: 1fr max-content;
|
|
319
|
-
|
|
369
|
+
}
|
|
370
|
+
.ard-file-input .ard-file-input__full-file-name .ard-file-input__file-name {
|
|
371
|
+
font-weight: var(--ard-file-input-file-name-font-weight, 500);
|
|
372
|
+
}
|
|
373
|
+
.ard-file-input .ard-file-input__full-file-name .ard-file-input__file-ext {
|
|
374
|
+
font-weight: var(--ard-file-input-file-ext-font-weight, 500);
|
|
320
375
|
}
|
|
321
376
|
|
|
322
377
|
ard-file-input .ard-form-field-content-container {
|
|
@@ -325,7 +380,7 @@ ard-file-input .ard-form-field-content-container {
|
|
|
325
380
|
|
|
326
381
|
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-file-input__value,
|
|
327
382
|
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-browse-button {
|
|
328
|
-
color: rgb(var(--ard-danger-700));
|
|
383
|
+
color: var(--ard-file-input-browse-button-color-error, rgb(var(--ard-danger-700)));
|
|
329
384
|
}
|
|
330
385
|
|
|
331
386
|
/*# 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;EAWA;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,cCkCE;EDjCF,eC+BE;ED9BF,aC6BE;ED5BF,gBC8BE;ED7BF,OCmCE;EAKF;EACA;EACA;EACA;EACA;;AD1CA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA,SCmBF;EDlBE,OCiBF;EDhBE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QCnBA;EDoBA,WCjBA;EDkBA,aChBA;EDiBA,cCRA;EDSA,eCXA;EDYA,aCbA;EDcA,gBCZA;;ACxEF;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;;AD9CF;EACE;EACA;;AAGF;EACE;;AAIF;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EE5GF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFqGI;EACA;;AAGA;EACE;;AAIF;EACE;;AAIF;EACE;;AAIF;EACE;;AG3IN;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;;AHkFN;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"}
|