@ardium-ui/ui 5.0.0-alpha.9 → 5.0.0-alpha.90
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 +5072 -2571
- 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 +21 -21
- 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 +8 -9
- 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 +2 -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 +9 -4
- 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 +5 -5
- package/lib/inputs/input-types.d.ts +9 -0
- package/lib/inputs/input-utils.d.ts +13 -2
- package/lib/inputs/number-input/number-input.component.d.ts +20 -13
- 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 +6 -5
- 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/radio/radio/radio.component.d.ts +8 -3
- package/lib/radio/radio-group.component.d.ts +2 -2
- package/lib/search-functions.d.ts +1 -1
- package/lib/segment/segment.component.d.ts +6 -5
- package/lib/select/select.component.d.ts +45 -39
- package/lib/select/select.defaults.d.ts +4 -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/slide-toggle/slide-toggle.component.d.ts +2 -0
- package/lib/slider/abstract-slider.d.ts +37 -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/snackbar/snackbar-ref.d.ts +37 -4
- package/lib/snackbar/snackbar.service.d.ts +27 -0
- package/lib/snackbar/snackbar.types.d.ts +36 -0
- 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 +29 -18
- package/lib/types/theming.types.d.ts +1 -0
- package/package.json +3 -2
- package/prebuilt-themes/default/badge.css +234 -205
- package/prebuilt-themes/default/badge.css.map +1 -1
- package/prebuilt-themes/default/buttons/button.css +324 -301
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +317 -299
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +299 -287
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +390 -308
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css +151 -127
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +89 -62
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +349 -362
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +412 -359
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +34 -26
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/color-picker.css +105 -103
- package/prebuilt-themes/default/color-picker.css.map +1 -1
- package/prebuilt-themes/default/core.css +108 -86
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css +19 -15
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css +84 -8
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css +42 -34
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css +329 -276
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +102 -98
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +148 -118
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +183 -132
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +99 -137
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +134 -63
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +120 -110
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +385 -325
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +150 -117
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +137 -107
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +213 -164
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +120 -71
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +14 -9
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css +26 -15
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +96 -71
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-bar.css +250 -228
- package/prebuilt-themes/default/progress-bar.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css +178 -164
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +246 -223
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +432 -414
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +302 -270
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +319 -261
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +399 -351
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +189 -169
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +161 -148
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css +271 -246
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +250 -207
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css +57 -45
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css +464 -432
- 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/_coloring.scss +7 -0
- package/themes/default/_mixins.scss +5 -5
- package/themes/default/badge.scss +115 -80
- package/themes/default/buttons/_button-mixins.scss +43 -33
- package/themes/default/buttons/button.scss +90 -63
- package/themes/default/buttons/fab.scss +74 -49
- package/themes/default/buttons/icon-button.scss +70 -45
- package/themes/default/calendar.scss +257 -163
- package/themes/default/card.scss +167 -121
- package/themes/default/checkbox-list.scss +90 -62
- package/themes/default/checkbox.scss +64 -91
- package/themes/default/chips.scss +203 -143
- package/themes/default/color-display.scss +40 -28
- package/themes/default/color-picker.scss +95 -93
- package/themes/default/core.scss +123 -97
- package/themes/default/dialog.scss +22 -13
- package/themes/default/divider.scss +109 -7
- package/themes/default/dropdown-panel.scss +49 -34
- package/themes/default/file-drop-area.scss +197 -138
- package/themes/default/form-field-frame.scss +73 -63
- package/themes/default/form-field.scss +136 -98
- package/themes/default/inputs/_shared.scss +52 -12
- package/themes/default/inputs/autocomplete-input.scss +102 -31
- package/themes/default/inputs/color-input.scss +34 -32
- package/themes/default/inputs/date-input.scss +90 -20
- package/themes/default/inputs/digit-input.scss +103 -79
- package/themes/default/inputs/file-input.scss +160 -81
- package/themes/default/inputs/hex-input.scss +68 -16
- package/themes/default/inputs/input.scss +55 -6
- package/themes/default/inputs/number-input.scss +164 -92
- package/themes/default/inputs/password-input.scss +100 -29
- package/themes/default/kbd-shortcut.scss +16 -8
- package/themes/default/kbd.scss +35 -16
- package/themes/default/modal.scss +109 -73
- package/themes/default/progress-bar.scss +126 -102
- package/themes/default/progress-circle.scss +49 -41
- package/themes/default/radio.scss +110 -87
- package/themes/default/segment.scss +282 -267
- package/themes/default/select.scss +255 -197
- package/themes/default/slide-toggle.scss +193 -116
- package/themes/default/slider.scss +230 -187
- package/themes/default/snackbar.scss +52 -32
- package/themes/default/spinner.scss +24 -14
- package/themes/default/stars.scss +99 -68
- package/themes/default/tabber.scss +109 -67
- package/themes/default/table-pagination.scss +60 -44
- package/themes/default/table.scss +379 -343
- 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
|
@@ -1,32 +1,102 @@
|
|
|
1
1
|
@use './shared' as S;
|
|
2
2
|
@use '../../variables' as ARD;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
@layer ard-ui {
|
|
5
|
+
// the variables are commented out intentionally
|
|
6
|
+
// read more in docs/dev/css-variables.md
|
|
7
|
+
:root {
|
|
8
|
+
// --ard-date-input-height: ;
|
|
9
|
+
// --ard-date-input-height-compact: ;
|
|
10
|
+
--ard-date-input-gap: 0.625rem;
|
|
11
|
+
// --ard-date-input-font-size: ;
|
|
12
|
+
// --ard-date-input-font-size-compact: ;
|
|
13
|
+
--ard-date-input-line-height: 1.25;
|
|
14
|
+
--ard-date-input-line-height-compact: 1;
|
|
15
|
+
--ard-date-input-font-weight: 400;
|
|
16
|
+
// --ard-date-input-padding-top: ;
|
|
17
|
+
// --ard-date-input-padding-right: ;
|
|
18
|
+
// --ard-date-input-padding-bottom: ;
|
|
19
|
+
// --ard-date-input-padding-left: ;
|
|
20
|
+
// --ard-date-input-padding-top-compact: ;
|
|
21
|
+
// --ard-date-input-padding-right-compact: ;
|
|
22
|
+
// --ard-date-input-padding-bottom-compact: ;
|
|
23
|
+
// --ard-date-input-padding-left-compact: ;
|
|
24
|
+
// --ard-date-input-color: ;
|
|
25
|
+
// --ard-date-input-placeholder-color: ;
|
|
26
|
+
--ard-date-input-placeholder-opacity: 60%;
|
|
7
27
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
position: unset;
|
|
28
|
+
--ard-date-input-input-padding: 0 2.625rem 0 0.375rem;
|
|
29
|
+
--ard-date-input-multipage-gap: 0;
|
|
11
30
|
}
|
|
12
|
-
.ard-date-input__placeholder {
|
|
13
|
-
position: absolute;
|
|
14
|
-
}
|
|
15
|
-
.ard-date-input__input-container {
|
|
16
|
-
position: absolute;
|
|
17
|
-
inset: 0;
|
|
18
31
|
|
|
19
|
-
|
|
32
|
+
ard-date-input .ard-date-input,
|
|
33
|
+
ard-date-range-input .ard-date-range-input,
|
|
34
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input {
|
|
35
|
+
@include S.genericInput(
|
|
36
|
+
var(--ard-date-input-height, var(--ard-form-field-height, 2.3125rem)),
|
|
37
|
+
var(--ard-date-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem)),
|
|
38
|
+
var(--ard-date-input-gap, 0.625rem),
|
|
39
|
+
var(--ard-date-input-font-size, var(--ard-form-field-font-size, 1rem)),
|
|
40
|
+
var(--ard-date-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem)),
|
|
41
|
+
var(--ard-date-input-line-height, 1.25),
|
|
42
|
+
var(--ard-date-input-line-height-compact, 1),
|
|
43
|
+
var(--ard-date-input-font-weight, 400),
|
|
44
|
+
var(--ard-date-input-padding-top, var(--ard-form-field-padding-top, 0)),
|
|
45
|
+
var(--ard-date-input-padding-right, var(--ard-form-field-padding-right, 0.375rem)),
|
|
46
|
+
var(--ard-date-input-padding-bottom, var(--ard-form-field-padding-bottom, 0)),
|
|
47
|
+
var(--ard-date-input-padding-left, var(--ard-form-field-padding-left, 0.375rem)),
|
|
48
|
+
var(--ard-date-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0)),
|
|
49
|
+
var(--ard-date-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem)),
|
|
50
|
+
var(--ard-date-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0)),
|
|
51
|
+
var(--ard-date-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
52
|
+
var(--ard-date-input-color, #{ARD.$text}),
|
|
53
|
+
var(--ard-date-input-placeholder-color, #{ARD.$text}),
|
|
54
|
+
var(--ard-date-input-placeholder-opacity, 60%)
|
|
55
|
+
);
|
|
56
|
+
display: grid;
|
|
57
|
+
grid-template-columns: 1fr max-content;
|
|
58
|
+
|
|
59
|
+
.ard-date-input__value-container {
|
|
60
|
+
position: relative;
|
|
61
|
+
}
|
|
62
|
+
.ard-date-input__placeholder {
|
|
63
|
+
position: absolute;
|
|
64
|
+
padding: 0;
|
|
65
|
+
}
|
|
66
|
+
.ard-date-input__input-container {
|
|
20
67
|
position: absolute;
|
|
21
|
-
|
|
22
|
-
|
|
68
|
+
inset: 0;
|
|
69
|
+
padding: 0;
|
|
70
|
+
|
|
71
|
+
&.ard-date-input__input-container-hidden {
|
|
72
|
+
position: absolute;
|
|
73
|
+
opacity: 0;
|
|
74
|
+
appearance: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
input {
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
width: 100%;
|
|
80
|
+
height: 100%;
|
|
81
|
+
padding: var(--ard-date-input-input-padding, 0 2.625rem 0 0.375rem);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
.ard-date-input__value {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
padding: 0;
|
|
23
88
|
}
|
|
89
|
+
}
|
|
24
90
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
padding: 0 2.625rem 0 0.375rem;
|
|
91
|
+
ard-days-view {
|
|
92
|
+
.ard-calendar__header-button {
|
|
93
|
+
font-size: var(--ard-button-font-size, 0.875rem);
|
|
94
|
+
font-weight: var(--ard-button-font-weight, 500);
|
|
30
95
|
}
|
|
31
96
|
}
|
|
97
|
+
.ard-date-input__multipage-wrapper {
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: row;
|
|
100
|
+
gap: var(--ard-date-input-multipage-gap, 0);
|
|
101
|
+
}
|
|
32
102
|
}
|
|
@@ -2,103 +2,127 @@
|
|
|
2
2
|
@use '../../variables' as ARD;
|
|
3
3
|
@use '../mixins' as defaultMixins;
|
|
4
4
|
|
|
5
|
-
ard-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
@layer ard-ui {
|
|
6
|
+
// the variables are commented out intentionally
|
|
7
|
+
// read more in docs/dev/css-variables.md
|
|
8
|
+
:root {
|
|
9
|
+
// --ard-digit-input-font-family: ;
|
|
10
|
+
--ard-digit-input-font-weight: 500;
|
|
11
|
+
// --ard-digit-input-color: ;
|
|
12
|
+
--ard-digit-input-gap: 0.375em;
|
|
13
|
+
--ard-digit-input-size: 2.0625em;
|
|
14
|
+
// --ard-digit-input-caret-color: ;
|
|
15
|
+
// --ard-digit-input-placeholder-color: ;
|
|
16
|
+
--ard-digit-input-placeholder-opacity: 60%;
|
|
17
|
+
--ard-digit-input-transition-duration: 150ms;
|
|
18
|
+
// --ard-digit-input-rectangle-height: ;
|
|
19
|
+
--ard-digit-input-rectangle-font-size: 1.25em;
|
|
20
|
+
--ard-digit-input-success-background-color: transparent;
|
|
21
|
+
// --ard-digit-input-success-border-color: ;
|
|
22
|
+
// --ard-digit-input-error-background-color: ;
|
|
23
|
+
// --ard-digit-input-error-border-color: ;
|
|
24
|
+
--ard-digit-input-disabled-opacity: 50%;
|
|
25
|
+
}
|
|
10
26
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
color: inherit;
|
|
17
|
-
}
|
|
18
|
-
.ard-digit-input {
|
|
19
|
-
@include defaultMixins.formAppearances();
|
|
20
|
-
display: flex;
|
|
21
|
-
gap: 0.375em;
|
|
27
|
+
ard-digit-input {
|
|
28
|
+
font-family: var(--ard-digit-input-font-family, var(--ard-font-family));
|
|
29
|
+
font-weight: var(--ard-digit-input-font-weight, 500);
|
|
30
|
+
color: var(--ard-digit-input-color, #{ARD.$text});
|
|
31
|
+
}
|
|
22
32
|
|
|
23
|
-
.ard-digit-
|
|
24
|
-
|
|
33
|
+
.ard-digit-input,
|
|
34
|
+
.ard-digit-input__item,
|
|
35
|
+
.ard-digit-input__input,
|
|
36
|
+
.ard-digit-input__static {
|
|
37
|
+
font: inherit;
|
|
38
|
+
color: inherit;
|
|
39
|
+
}
|
|
40
|
+
.ard-digit-input {
|
|
41
|
+
@include defaultMixins.formAppearances();
|
|
25
42
|
display: flex;
|
|
26
|
-
|
|
27
|
-
box-sizing: border-box;
|
|
43
|
+
gap: var(--ard-digit-input-gap, 0.375em);
|
|
28
44
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
width: 100%;
|
|
34
|
-
height: 100%;
|
|
45
|
+
.ard-digit-input__item {
|
|
46
|
+
height: max-content;
|
|
47
|
+
display: flex;
|
|
48
|
+
height: var(--ard-digit-input-size, 2.0625em);
|
|
35
49
|
box-sizing: border-box;
|
|
36
|
-
text-align: center;
|
|
37
|
-
color: ARD.$text;
|
|
38
|
-
caret-color: ARD.$text3;
|
|
39
|
-
background: var(--ard-appearance-background);
|
|
40
|
-
border: var(--ard-appearance-border);
|
|
41
|
-
border-radius: var(--ard-variant-border-radius);
|
|
42
|
-
transition:
|
|
43
|
-
border-color 0.15s ARD.$timing-fn,
|
|
44
|
-
background-color 0.15s ARD.$timing-fn;
|
|
45
50
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
opacity: 60%;
|
|
51
|
+
&.ard-digit-input__item-with-input {
|
|
52
|
+
width: var(--ard-digit-input-size, 2.0625em);
|
|
49
53
|
}
|
|
54
|
+
.ard-digit-input__input {
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
text-align: center;
|
|
59
|
+
color: inherit;
|
|
60
|
+
caret-color: var(--ard-digit-input-caret-color, #{ARD.$text3});
|
|
61
|
+
background: var(--ard-appearance-background);
|
|
62
|
+
border: var(--ard-appearance-border);
|
|
63
|
+
border-radius: var(--ard-variant-border-radius);
|
|
64
|
+
transition:
|
|
65
|
+
border-color var(--ard-digit-input-transition-duration, 0.15s) ARD.$timing-fn,
|
|
66
|
+
background-color var(--ard-digit-input-transition-duration, 0.15s) ARD.$timing-fn;
|
|
67
|
+
|
|
68
|
+
&::placeholder {
|
|
69
|
+
color: var(--ard-digit-input-placeholder-color, #{ARD.$text3});
|
|
70
|
+
opacity: var(--ard-digit-input-placeholder-opacity, 60%);
|
|
71
|
+
}
|
|
50
72
|
|
|
51
|
-
|
|
52
|
-
|
|
73
|
+
&:not(.ard-digit-input__input-empty) {
|
|
74
|
+
caret-color: transparent;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.ard-digit-input__static {
|
|
78
|
+
width: max-content;
|
|
79
|
+
white-space: nowrap;
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
53
82
|
}
|
|
54
83
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
align-items: center;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
&.ard-shape-square {
|
|
63
|
-
.ard-digit-input__item {
|
|
64
|
-
height: 2.0625em;
|
|
84
|
+
&.ard-shape-square {
|
|
85
|
+
.ard-digit-input__item {
|
|
86
|
+
height: var(--ard-digit-input-size, 2.0625em);
|
|
87
|
+
}
|
|
65
88
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
height: 2.0625em * 1.3;
|
|
89
|
+
&.ard-shape-rectangle {
|
|
90
|
+
.ard-digit-input__item {
|
|
91
|
+
height: var(--ard-digit-input-rectangle-height, calc(var(--ard-digit-input-size, 2.0625em) * 1.3));
|
|
70
92
|
|
|
71
|
-
|
|
72
|
-
|
|
93
|
+
.ard-digit-input__input {
|
|
94
|
+
font-size: var(--ard-digit-input-rectangle-font-size, 1.25em);
|
|
95
|
+
}
|
|
73
96
|
}
|
|
74
97
|
}
|
|
75
|
-
}
|
|
76
98
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
99
|
+
&.ard-is-success {
|
|
100
|
+
.ard-digit-input__item .ard-digit-input__input {
|
|
101
|
+
background-color: var(--ard-digit-input-success-background-color, transparent);
|
|
102
|
+
border-color: var(--ard-digit-input-success-border-color, #{ARD.$success500});
|
|
103
|
+
}
|
|
80
104
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
105
|
+
&.ard-has-error {
|
|
106
|
+
.ard-digit-input__item .ard-digit-input__input {
|
|
107
|
+
background-color: var(--ard-digit-input-error-background-color, #{ARD.$danger50});
|
|
108
|
+
border-color: var(--ard-digit-input-error-border-color, #{ARD.$danger500});
|
|
109
|
+
}
|
|
86
110
|
}
|
|
87
|
-
}
|
|
88
111
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
112
|
+
&.ard-variant-rounded {
|
|
113
|
+
--ard-variant-border-radius: var(--ard-digit-input-border-radius, var(--ard-rounded-corner-radius, 0.375rem));
|
|
114
|
+
}
|
|
115
|
+
&.ard-variant-pill {
|
|
116
|
+
--ard-variant-border-radius: 9999px;
|
|
117
|
+
}
|
|
118
|
+
&.ard-variant-sharp {
|
|
119
|
+
--ard-variant-border-radius: 0;
|
|
120
|
+
}
|
|
97
121
|
}
|
|
98
|
-
|
|
99
|
-
.ard-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
122
|
+
.ard-disabled {
|
|
123
|
+
> .ard-digit-input {
|
|
124
|
+
opacity: var(--ard-digit-input-disabled-opacity, 50%);
|
|
125
|
+
pointer-events: none;
|
|
126
|
+
}
|
|
103
127
|
}
|
|
104
128
|
}
|
|
@@ -4,105 +4,184 @@
|
|
|
4
4
|
@use '../coloring' as CM;
|
|
5
5
|
@use '../../variables' as ARD;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
7
|
+
@layer ard-ui {
|
|
8
|
+
// the variables are commented out intentionally
|
|
9
|
+
// read more in docs/dev/css-variables.md
|
|
10
|
+
:root {
|
|
11
|
+
// --ard-file-input-height: ;
|
|
12
|
+
// --ard-file-input-height-compact: ;
|
|
13
|
+
--ard-file-input-gap: 0.625rem;
|
|
14
|
+
// --ard-file-input-font-size: ;
|
|
15
|
+
// --ard-file-input-font-size-compact: ;
|
|
16
|
+
--ard-file-input-line-height: 1.25;
|
|
17
|
+
--ard-file-input-line-height-compact: 1;
|
|
18
|
+
--ard-file-input-font-weight: 400;
|
|
19
|
+
// --ard-file-input-padding-top: ;
|
|
20
|
+
// --ard-file-input-padding-right: ;
|
|
21
|
+
// --ard-file-input-padding-bottom: ;
|
|
22
|
+
// --ard-file-input-padding-left: ;
|
|
23
|
+
// --ard-file-input-padding-top-compact: ;
|
|
24
|
+
// --ard-file-input-padding-right-compact: ;
|
|
25
|
+
// --ard-file-input-padding-bottom-compact: ;
|
|
26
|
+
// --ard-file-input-padding-left-compact: ;
|
|
27
|
+
// --ard-file-input-color: ;
|
|
28
|
+
// --ard-file-input-placeholder-color: ;
|
|
29
|
+
--ard-file-input-placeholder-opacity: 60%;
|
|
21
30
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
31
|
+
--ard-file-input-min-width: 10rem;
|
|
32
|
+
--ard-file-input-max-width: 100%;
|
|
33
|
+
--ard-file-input-gap: 0.375rem;
|
|
34
|
+
--ard-file-input-dragover-outline-width: 2px;
|
|
35
|
+
--ard-file-input-dragover-outline-style: solid;
|
|
36
|
+
--ard-file-input-browse-button-height: calc(100% - 0.25rem);
|
|
37
|
+
--ard-file-input-browse-button-width: unset;
|
|
38
|
+
--ard-file-input-browse-button-margin: 0.125rem;
|
|
39
|
+
--ard-file-input-browse-button-aspect-ratio: 1;
|
|
40
|
+
--ard-file-input-browse-button-border: none;
|
|
41
|
+
--ard-file-input-browse-button-border-radius: 9999px;
|
|
42
|
+
--ard-file-input-browse-button-background: none;
|
|
43
|
+
--ard-file-input-browse-button-padding: 0;
|
|
44
|
+
// --ard-file-input-browse-button-color: ;
|
|
45
|
+
// --ard-file-input-browse-button-color-error: ;
|
|
46
|
+
--ard-file-input-browse-button-overlay-offset: 0rem;
|
|
47
|
+
// --ard-file-input-browse-button-overlay-color: ;
|
|
48
|
+
--ard-file-input-browse-button-overlay-hover-opacity: 4%;
|
|
49
|
+
--ard-file-input-browse-button-overlay-focus-opacity: 0;
|
|
50
|
+
--ard-file-input-browse-button-overlay-active-opacity: 12%;
|
|
51
|
+
--ard-file-input-browse-button-overlay-focus-visible-opacity: 16%;
|
|
52
|
+
--ard-file-input-file-name-font-weight: 500;
|
|
53
|
+
--ard-file-input-file-ext-font-weight: 500;
|
|
25
54
|
}
|
|
26
55
|
|
|
27
|
-
|
|
28
|
-
|
|
56
|
+
.ard-file-input-form-field-frame {
|
|
57
|
+
.ard-form-field-overlay {
|
|
58
|
+
display: none;
|
|
59
|
+
}
|
|
29
60
|
}
|
|
61
|
+
.ard-file-input {
|
|
62
|
+
@include inputMixin.genericInput(
|
|
63
|
+
var(--ard-file-input-height, var(--ard-form-field-height, 2.3125rem)),
|
|
64
|
+
var(--ard-file-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem)),
|
|
65
|
+
var(--ard-file-input-gap, 0.625rem),
|
|
66
|
+
var(--ard-file-input-font-size, var(--ard-form-field-font-size, 1rem)),
|
|
67
|
+
var(--ard-file-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem)),
|
|
68
|
+
var(--ard-file-input-line-height, 1.25),
|
|
69
|
+
var(--ard-file-input-line-height-compact, 1),
|
|
70
|
+
var(--ard-file-input-font-weight, 400),
|
|
71
|
+
var(--ard-file-input-padding-top, var(--ard-form-field-padding-top, 0)),
|
|
72
|
+
var(--ard-file-input-padding-right, var(--ard-form-field-padding-right, 0.375rem)),
|
|
73
|
+
var(--ard-file-input-padding-bottom, var(--ard-form-field-padding-bottom, 0)),
|
|
74
|
+
var(--ard-file-input-padding-left, var(--ard-form-field-padding-left, 0.375rem)),
|
|
75
|
+
var(--ard-file-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0)),
|
|
76
|
+
var(--ard-file-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem)),
|
|
77
|
+
var(--ard-file-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0)),
|
|
78
|
+
var(--ard-file-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
79
|
+
var(--ard-file-input-color, #{ARD.$text}),
|
|
80
|
+
var(--ard-file-input-placeholder-color, #{ARD.$text}),
|
|
81
|
+
var(--ard-file-input-placeholder-opacity, 60%)
|
|
82
|
+
);
|
|
83
|
+
@include CM.typeColors();
|
|
84
|
+
min-width: var(--ard-file-input-min-width, 10rem);
|
|
85
|
+
max-width: var(--ard-file-input-max-width, 100%);
|
|
86
|
+
gap: var(--ard-file-input-gap, 0.375rem);
|
|
87
|
+
cursor: default;
|
|
88
|
+
border-radius: var(--ard-variant-border-radius);
|
|
30
89
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
max-height: 1.25rem;
|
|
36
|
-
}
|
|
37
|
-
.ard-browse-button {
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
height: calc(100% - 0.25rem);
|
|
40
|
-
margin: 0.125rem;
|
|
41
|
-
aspect-ratio: 1;
|
|
42
|
-
border: none;
|
|
43
|
-
background: none;
|
|
44
|
-
padding: 0;
|
|
45
|
-
position: relative;
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
align-items: center;
|
|
49
|
-
outline: none;
|
|
90
|
+
*:not(button):not(ard-clear-button) {
|
|
91
|
+
pointer-events: none;
|
|
92
|
+
user-select: none;
|
|
93
|
+
}
|
|
50
94
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
border-radius: 9999px;
|
|
95
|
+
&.ard-state-dragover {
|
|
96
|
+
outline: var(--ard-file-input-dragover-outline-width, 2px) var(--ard-file-input-dragover-outline-style, solid)
|
|
97
|
+
var(--ard-cmpcl--content-light);
|
|
55
98
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
99
|
+
|
|
100
|
+
.ard-file-input__value {
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
text-overflow: ellipsis;
|
|
103
|
+
display: flex;
|
|
104
|
+
align-items: center;
|
|
60
105
|
}
|
|
61
|
-
|
|
106
|
+
.ard-browse-button {
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
height: var(--ard-file-input-browse-button-height, calc(100% - 0.25rem));
|
|
109
|
+
width: var(--ard-file-input-browse-button-width, unset);
|
|
110
|
+
margin: var(--ard-file-input-browse-button-margin, 0.125rem);
|
|
111
|
+
aspect-ratio: var(--ard-file-input-browse-button-aspect-ratio, 1);
|
|
112
|
+
border: var(--ard-file-input-browse-button-border, none);
|
|
113
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
114
|
+
background: var(--ard-file-input-browse-button-background, none);
|
|
115
|
+
padding: var(--ard-file-input-browse-button-padding, 0);
|
|
116
|
+
color: var(--ard-file-input-browse-button-color, #{ARD.$text});
|
|
117
|
+
position: relative;
|
|
118
|
+
display: flex;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
align-items: center;
|
|
121
|
+
outline: none;
|
|
122
|
+
|
|
62
123
|
.ard-focus-overlay {
|
|
63
|
-
|
|
124
|
+
@include defaultMixins.focus-overlay(var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
125
|
+
background: var(--ard-file-input-browse-button-overlay-color, #{ARD.$overlay});
|
|
126
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
64
127
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
128
|
+
&:hover {
|
|
129
|
+
.ard-focus-overlay {
|
|
130
|
+
opacity: var(--ard-file-input-browse-button-overlay-hover-opacity, 4%);
|
|
131
|
+
}
|
|
69
132
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
133
|
+
&:focus {
|
|
134
|
+
.ard-focus-overlay {
|
|
135
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-opacity, 8%);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
&:active {
|
|
139
|
+
.ard-focus-overlay {
|
|
140
|
+
opacity: var(--ard-file-input-browse-button-overlay-active-opacity, 12%);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
&:focus-visible {
|
|
144
|
+
.ard-focus-overlay {
|
|
145
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-visible-opacity, 16%);
|
|
146
|
+
}
|
|
74
147
|
}
|
|
75
148
|
}
|
|
76
|
-
}
|
|
77
149
|
|
|
78
|
-
|
|
150
|
+
@include CB.clearButton();
|
|
151
|
+
|
|
152
|
+
.ard-input-container {
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
}
|
|
155
|
+
.ard-input-container,
|
|
156
|
+
.ard-file-input__value,
|
|
157
|
+
.ard-file-input__uploaded,
|
|
158
|
+
.ard-file-input__full-file-name,
|
|
159
|
+
.ard-file-input__file-name {
|
|
160
|
+
overflow: hidden;
|
|
161
|
+
text-overflow: ellipsis;
|
|
162
|
+
max-width: 100%;
|
|
163
|
+
}
|
|
164
|
+
.ard-file-input__full-file-name {
|
|
165
|
+
display: grid;
|
|
166
|
+
grid-template-columns: 1fr max-content;
|
|
79
167
|
|
|
80
|
-
|
|
81
|
-
|
|
168
|
+
.ard-file-input__file-name {
|
|
169
|
+
font-weight: var(--ard-file-input-file-name-font-weight, 500);
|
|
170
|
+
}
|
|
171
|
+
.ard-file-input__file-ext {
|
|
172
|
+
font-weight: var(--ard-file-input-file-ext-font-weight, 500);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
82
175
|
}
|
|
83
|
-
|
|
84
|
-
.ard-file-input__value,
|
|
85
|
-
.ard-file-input__uploaded,
|
|
86
|
-
.ard-file-input__full-file-name,
|
|
87
|
-
.ard-file-input__file-name {
|
|
88
|
-
overflow: hidden;
|
|
89
|
-
text-overflow: ellipsis;
|
|
176
|
+
ard-file-input .ard-form-field-content-container {
|
|
90
177
|
max-width: 100%;
|
|
91
178
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
ard-file-input .ard-form-field-content-container {
|
|
99
|
-
max-width: 100%;
|
|
100
|
-
}
|
|
101
|
-
ard-file-input .ard-form-field-frame {
|
|
102
|
-
&.ard-has-error .ard-file-input {
|
|
103
|
-
.ard-file-input__value,
|
|
104
|
-
.ard-browse-button {
|
|
105
|
-
color: ARD.$danger700;
|
|
179
|
+
ard-file-input .ard-form-field-frame {
|
|
180
|
+
&.ard-has-error .ard-file-input {
|
|
181
|
+
.ard-file-input__value,
|
|
182
|
+
.ard-browse-button {
|
|
183
|
+
color: var(--ard-file-input-browse-button-color-error, #{ARD.$danger700});
|
|
184
|
+
}
|
|
106
185
|
}
|
|
107
186
|
}
|
|
108
187
|
}
|