@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
|
@@ -1,49 +1,79 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
+
:root {
|
|
5
|
+
--ard-hex-input-gap: 0.625rem;
|
|
6
|
+
--ard-hex-input-line-height: 1.25;
|
|
7
|
+
--ard-hex-input-line-height-compact: 1;
|
|
8
|
+
--ard-hex-input-font-weight: 400;
|
|
9
|
+
--ard-hex-input-placeholder-opacity: 60%;
|
|
10
|
+
--ard-hex-input-min-width: 10rem;
|
|
11
|
+
--ard-hex-input-max-width: 100%;
|
|
12
|
+
--ard-hex-input-hash-opacity: 70%;
|
|
13
|
+
}
|
|
14
|
+
|
|
4
15
|
.ard-hex-input {
|
|
16
|
+
height: var(--ard-hex-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
5
17
|
position: relative;
|
|
6
|
-
font-family:
|
|
18
|
+
font-family: var(--ard-font-family);
|
|
7
19
|
display: flex;
|
|
8
20
|
align-items: center;
|
|
9
21
|
justify-content: stretch;
|
|
10
|
-
gap: 0.
|
|
22
|
+
gap: var(--ard-hex-input-gap, 0.625rem);
|
|
11
23
|
cursor: text;
|
|
12
24
|
box-sizing: border-box;
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
line-height: 1.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
font-size: var(--ard-hex-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
26
|
+
line-height: var(--ard-hex-input-line-height, 1.25);
|
|
27
|
+
font-weight: var(--ard-hex-input-font-weight, 400);
|
|
28
|
+
padding-left: var(--ard-hex-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
|
|
29
|
+
padding-right: var(--ard-hex-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
|
|
30
|
+
padding-top: var(--ard-hex-input-padding-top, var(--ard-form-field-padding-top, 0));
|
|
31
|
+
padding-bottom: var(--ard-hex-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
|
|
32
|
+
color: var(--ard-hex-input-color, var(--ard-text));
|
|
33
|
+
min-width: var(--ard-hex-input-min-width, 10rem);
|
|
34
|
+
max-width: var(--ard-hex-input-max-width, 100%);
|
|
18
35
|
}
|
|
19
36
|
.ard-hex-input .ard-input-container {
|
|
20
37
|
flex-grow: 1;
|
|
21
38
|
text-size-adjust: 100%;
|
|
22
39
|
display: flex;
|
|
23
40
|
align-items: center;
|
|
41
|
+
height: 100%;
|
|
42
|
+
position: relative;
|
|
43
|
+
}
|
|
44
|
+
.ard-hex-input .ard-input-container > * {
|
|
45
|
+
position: absolute;
|
|
46
|
+
inset: 0;
|
|
47
|
+
max-width: 100%;
|
|
48
|
+
padding: 0;
|
|
24
49
|
}
|
|
25
50
|
.ard-hex-input .ard-input-container .ard-placeholder {
|
|
26
51
|
font: inherit;
|
|
27
|
-
opacity: 60
|
|
52
|
+
opacity: var(--ard-hex-input-placeholder-opacity, 60%);
|
|
53
|
+
color: var(--ard-hex-input-placeholder-color, var(--ard-text));
|
|
28
54
|
white-space: nowrap;
|
|
29
55
|
overflow: hidden;
|
|
30
56
|
text-overflow: ellipsis;
|
|
31
|
-
max-width: 100%;
|
|
32
57
|
pointer-events: none;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
33
60
|
}
|
|
34
61
|
.ard-hex-input .ard-input-container input {
|
|
35
62
|
border: none;
|
|
36
63
|
background: transparent;
|
|
37
64
|
outline: none;
|
|
38
65
|
font: inherit;
|
|
39
|
-
|
|
66
|
+
color: inherit;
|
|
40
67
|
display: block;
|
|
41
|
-
width: 100%;
|
|
42
68
|
}
|
|
43
69
|
.ard-hex-input.ard-compact {
|
|
44
|
-
height: 1.
|
|
45
|
-
font-size: 0.
|
|
46
|
-
line-height: 1;
|
|
70
|
+
height: var(--ard-hex-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
71
|
+
font-size: var(--ard-hex-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
72
|
+
line-height: var(--ard-hex-input-line-height-compact, 1);
|
|
73
|
+
padding-left: var(--ard-hex-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
|
|
74
|
+
padding-right: var(--ard-hex-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
|
|
75
|
+
padding-top: var(--ard-hex-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
|
|
76
|
+
padding-bottom: var(--ard-hex-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
|
|
47
77
|
}
|
|
48
78
|
.ard-hex-input ard-clear-button {
|
|
49
79
|
height: var(--ard-clear-button-size);
|
|
@@ -77,10 +107,10 @@
|
|
|
77
107
|
}
|
|
78
108
|
.ard-hex-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
79
109
|
position: absolute;
|
|
80
|
-
top: -1px;
|
|
81
|
-
bottom: -1px;
|
|
82
|
-
left: -1px;
|
|
83
|
-
right: -1px;
|
|
110
|
+
top: calc(-1 * 1px);
|
|
111
|
+
bottom: calc(-1 * 1px);
|
|
112
|
+
left: calc(-1 * 1px);
|
|
113
|
+
right: calc(-1 * 1px);
|
|
84
114
|
opacity: 0;
|
|
85
115
|
border-radius: inherit;
|
|
86
116
|
pointer-events: none;
|
|
@@ -110,14 +140,16 @@
|
|
|
110
140
|
opacity: 15%;
|
|
111
141
|
}
|
|
112
142
|
.ard-hex-input .ard-input-container input {
|
|
113
|
-
font-family:
|
|
143
|
+
font-family: var(--ard-font-family-mono);
|
|
114
144
|
}
|
|
115
145
|
.ard-hex-input .ard-hash-container {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
opacity: 70%;
|
|
146
|
+
color: var(--ard-hex-input-hash-color, var(--ard-text));
|
|
147
|
+
opacity: var(--ard-hex-input-hash-opacity, 70%);
|
|
119
148
|
user-select: none;
|
|
120
|
-
font-family:
|
|
149
|
+
font-family: var(--ard-font-family-mono);
|
|
150
|
+
display: flex;
|
|
151
|
+
align-items: center;
|
|
152
|
+
height: 100%;
|
|
121
153
|
}
|
|
122
154
|
|
|
123
155
|
/*# sourceMappingURL=hex-input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/hex-input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/hex-input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACKA;EAGE;EAGA;EACA;EACA;EAWA;EAEA;EACA;EAEA;;;AAGF;EDRE,QCUE;EDTF;EACA;EACA;EACA;EACA;EACA,KCME;EDLF;EACA;EACA,WCIE;EDHF,aCKE;EDJF,aCME;EDLF,cCSE;EDRF,eCME;EDLF,aCIE;EDHF,gBCKE;EDJF,OCUE;EAIF;EACA;;ADbA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA,SCNF;EDOE,OCRF;EDSE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QC5CA;ED6CA,WC1CA;ED2CA,aCzCA;ED0CA,cCjCA;EDkCA,eCpCA;EDqCA,aCtCA;EDuCA,gBCrCA;;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;;ADNJ;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA","file":"hex-input.css"}
|
|
@@ -1,49 +1,78 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
+
:root {
|
|
5
|
+
--ard-input-gap: 0.625rem;
|
|
6
|
+
--ard-input-line-height: 1.25;
|
|
7
|
+
--ard-input-line-height-compact: 1;
|
|
8
|
+
--ard-input-font-weight: 400;
|
|
9
|
+
--ard-input-placeholder-opacity: 60%;
|
|
10
|
+
--ard-input-min-width: 10rem;
|
|
11
|
+
--ard-input-max-width: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
4
14
|
.ard-input {
|
|
15
|
+
height: var(--ard-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
5
16
|
position: relative;
|
|
6
|
-
font-family:
|
|
17
|
+
font-family: var(--ard-font-family);
|
|
7
18
|
display: flex;
|
|
8
19
|
align-items: center;
|
|
9
20
|
justify-content: stretch;
|
|
10
|
-
gap: 0.
|
|
21
|
+
gap: var(--ard-input-gap, 0.625rem);
|
|
11
22
|
cursor: text;
|
|
12
23
|
box-sizing: border-box;
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
line-height: 1.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
24
|
+
font-size: var(--ard-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
25
|
+
line-height: var(--ard-input-line-height, 1.25);
|
|
26
|
+
font-weight: var(--ard-input-font-weight, 400);
|
|
27
|
+
padding-left: var(--ard-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
|
|
28
|
+
padding-right: var(--ard-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
|
|
29
|
+
padding-top: var(--ard-input-padding-top, var(--ard-form-field-padding-top, 0));
|
|
30
|
+
padding-bottom: var(--ard-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
|
|
31
|
+
color: var(--ard-input-color, var(--ard-text));
|
|
32
|
+
min-width: var(--ard-input-min-width, 10rem);
|
|
33
|
+
max-width: var(--ard-input-max-width, 100%);
|
|
18
34
|
}
|
|
19
35
|
.ard-input .ard-input-container {
|
|
20
36
|
flex-grow: 1;
|
|
21
37
|
text-size-adjust: 100%;
|
|
22
38
|
display: flex;
|
|
23
39
|
align-items: center;
|
|
40
|
+
height: 100%;
|
|
41
|
+
position: relative;
|
|
42
|
+
}
|
|
43
|
+
.ard-input .ard-input-container > * {
|
|
44
|
+
position: absolute;
|
|
45
|
+
inset: 0;
|
|
46
|
+
max-width: 100%;
|
|
47
|
+
padding: 0;
|
|
24
48
|
}
|
|
25
49
|
.ard-input .ard-input-container .ard-placeholder {
|
|
26
50
|
font: inherit;
|
|
27
|
-
opacity: 60
|
|
51
|
+
opacity: var(--ard-input-placeholder-opacity, 60%);
|
|
52
|
+
color: var(--ard-input-placeholder-color, var(--ard-text));
|
|
28
53
|
white-space: nowrap;
|
|
29
54
|
overflow: hidden;
|
|
30
55
|
text-overflow: ellipsis;
|
|
31
|
-
max-width: 100%;
|
|
32
56
|
pointer-events: none;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
33
59
|
}
|
|
34
60
|
.ard-input .ard-input-container input {
|
|
35
61
|
border: none;
|
|
36
62
|
background: transparent;
|
|
37
63
|
outline: none;
|
|
38
64
|
font: inherit;
|
|
39
|
-
|
|
65
|
+
color: inherit;
|
|
40
66
|
display: block;
|
|
41
|
-
width: 100%;
|
|
42
67
|
}
|
|
43
68
|
.ard-input.ard-compact {
|
|
44
|
-
height: 1.
|
|
45
|
-
font-size: 0.
|
|
46
|
-
line-height: 1;
|
|
69
|
+
height: var(--ard-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
70
|
+
font-size: var(--ard-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
71
|
+
line-height: var(--ard-input-line-height-compact, 1);
|
|
72
|
+
padding-left: var(--ard-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
|
|
73
|
+
padding-right: var(--ard-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
|
|
74
|
+
padding-top: var(--ard-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
|
|
75
|
+
padding-bottom: var(--ard-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
|
|
47
76
|
}
|
|
48
77
|
.ard-input ard-clear-button {
|
|
49
78
|
height: var(--ard-clear-button-size);
|
|
@@ -77,10 +106,10 @@
|
|
|
77
106
|
}
|
|
78
107
|
.ard-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
79
108
|
position: absolute;
|
|
80
|
-
top: -1px;
|
|
81
|
-
bottom: -1px;
|
|
82
|
-
left: -1px;
|
|
83
|
-
right: -1px;
|
|
109
|
+
top: calc(-1 * 1px);
|
|
110
|
+
bottom: calc(-1 * 1px);
|
|
111
|
+
left: calc(-1 * 1px);
|
|
112
|
+
right: calc(-1 * 1px);
|
|
84
113
|
opacity: 0;
|
|
85
114
|
border-radius: inherit;
|
|
86
115
|
pointer-events: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACKA;EAGE;EAGA;EACA;EACA;EAWA;EAEA;EACA;;;AAGF;EDNE,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;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA,SCRF;EDSE,OCVF;EDWE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QC9CA;ED+CA,WC5CA;ED6CA,aC3CA;ED4CA,cCnCA;EDoCA,eCtCA;EDuCA,aCxCA;EDyCA,gBCvCA;;AC5CF;EACE,QCmCgB;EDlChB,OCkCgB;EDjChB;;AAGF;EACE;EACA;EACA,OCGK;EDFL,OC0BgB;EDzBhB,QCyBgB;EDxBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EEvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EE7CN;EACA;EACA,yBACE;EF4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE","file":"input.css"}
|
|
@@ -1,26 +1,38 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
:root {
|
|
5
|
+
--ard-number-input-gap: 0.625rem;
|
|
6
|
+
--ard-number-input-line-height: 1.25;
|
|
7
|
+
--ard-number-input-line-height-compact: 1;
|
|
8
|
+
--ard-number-input-font-weight: 400;
|
|
9
|
+
--ard-number-input-placeholder-opacity: 60%;
|
|
10
|
+
--ard-number-input-disabled-opacity: 50%;
|
|
11
|
+
--ard-number-input-rounded-border-radius: 8px;
|
|
6
12
|
}
|
|
7
|
-
|
|
8
|
-
|
|
13
|
+
|
|
14
|
+
ard-number-input {
|
|
15
|
+
width: var(--ard-number-input-width, unset);
|
|
9
16
|
}
|
|
10
17
|
|
|
11
18
|
.ard-number-input {
|
|
19
|
+
height: var(--ard-number-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
12
20
|
position: relative;
|
|
13
|
-
font-family:
|
|
21
|
+
font-family: var(--ard-font-family);
|
|
14
22
|
display: flex;
|
|
15
23
|
align-items: center;
|
|
16
24
|
justify-content: stretch;
|
|
17
|
-
gap: 0.
|
|
25
|
+
gap: var(--ard-number-input-gap, 0.625rem);
|
|
18
26
|
cursor: text;
|
|
19
27
|
box-sizing: border-box;
|
|
20
|
-
font-size: 1rem;
|
|
21
|
-
line-height: 1.
|
|
22
|
-
|
|
23
|
-
|
|
28
|
+
font-size: var(--ard-number-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
29
|
+
line-height: var(--ard-number-input-line-height, 1.25);
|
|
30
|
+
font-weight: var(--ard-number-input-font-weight, 400);
|
|
31
|
+
padding-left: var(--ard-number-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
|
|
32
|
+
padding-right: var(--ard-number-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
|
|
33
|
+
padding-top: var(--ard-number-input-padding-top, var(--ard-form-field-padding-top, 0));
|
|
34
|
+
padding-bottom: var(--ard-number-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
|
|
35
|
+
color: var(--ard-number-input-color, var(--ard-text));
|
|
24
36
|
gap: 0;
|
|
25
37
|
width: 100%;
|
|
26
38
|
}
|
|
@@ -29,29 +41,42 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
29
41
|
text-size-adjust: 100%;
|
|
30
42
|
display: flex;
|
|
31
43
|
align-items: center;
|
|
44
|
+
height: 100%;
|
|
45
|
+
position: relative;
|
|
46
|
+
}
|
|
47
|
+
.ard-number-input .ard-input-container > * {
|
|
48
|
+
position: absolute;
|
|
49
|
+
inset: 0;
|
|
50
|
+
max-width: 100%;
|
|
51
|
+
padding: 0;
|
|
32
52
|
}
|
|
33
53
|
.ard-number-input .ard-input-container .ard-placeholder {
|
|
34
54
|
font: inherit;
|
|
35
|
-
opacity: 60
|
|
55
|
+
opacity: var(--ard-number-input-placeholder-opacity, 60%);
|
|
56
|
+
color: var(--ard-number-input-placeholder-color, var(--ard-text));
|
|
36
57
|
white-space: nowrap;
|
|
37
58
|
overflow: hidden;
|
|
38
59
|
text-overflow: ellipsis;
|
|
39
|
-
max-width: 100%;
|
|
40
60
|
pointer-events: none;
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
41
63
|
}
|
|
42
64
|
.ard-number-input .ard-input-container input {
|
|
43
65
|
border: none;
|
|
44
66
|
background: transparent;
|
|
45
67
|
outline: none;
|
|
46
68
|
font: inherit;
|
|
47
|
-
|
|
69
|
+
color: inherit;
|
|
48
70
|
display: block;
|
|
49
|
-
width: 100%;
|
|
50
71
|
}
|
|
51
72
|
.ard-number-input.ard-compact {
|
|
52
|
-
height: 1.
|
|
53
|
-
font-size: 0.
|
|
54
|
-
line-height: 1;
|
|
73
|
+
height: var(--ard-number-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
74
|
+
font-size: var(--ard-number-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
75
|
+
line-height: var(--ard-number-input-line-height-compact, 1);
|
|
76
|
+
padding-left: var(--ard-number-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
|
|
77
|
+
padding-right: var(--ard-number-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
|
|
78
|
+
padding-top: var(--ard-number-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
|
|
79
|
+
padding-bottom: var(--ard-number-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
|
|
55
80
|
}
|
|
56
81
|
.ard-number-input.ard-appearance-outlined {
|
|
57
82
|
--ard-appearance-background: var(--ard-bg);
|
|
@@ -82,15 +107,36 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
82
107
|
--ard-appearance-background: transparent;
|
|
83
108
|
--ard-appearance-border: none;
|
|
84
109
|
}
|
|
85
|
-
.ard-number-input .ard-input-
|
|
110
|
+
.ard-number-input .ard-number-input-wrapper {
|
|
111
|
+
flex-grow: 1;
|
|
112
|
+
text-size-adjust: 100%;
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
86
115
|
height: 100%;
|
|
87
|
-
max-width: 100%;
|
|
88
116
|
}
|
|
89
|
-
.ard-number-input .ard-input-container
|
|
90
|
-
|
|
117
|
+
.ard-number-input .ard-input-container {
|
|
118
|
+
position: relative;
|
|
119
|
+
padding-left: var(--ard-number-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
|
|
120
|
+
padding-right: var(--ard-number-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
|
|
121
|
+
padding-top: var(--ard-number-input-padding-top, var(--ard-form-field-padding-top, 0));
|
|
122
|
+
padding-bottom: var(--ard-number-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
|
|
123
|
+
}
|
|
124
|
+
.ard-number-input .ard-number-input-prefix-container,
|
|
125
|
+
.ard-number-input .ard-number-input-suffix-container {
|
|
126
|
+
height: max-content;
|
|
127
|
+
max-height: 100%;
|
|
128
|
+
display: flex;
|
|
129
|
+
align-items: center;
|
|
130
|
+
}
|
|
131
|
+
.ard-number-input .ard-number-input-prefix-container {
|
|
132
|
+
padding-left: var(--ard-number-input-padding-left, 0.375rem);
|
|
133
|
+
}
|
|
134
|
+
.ard-number-input .ard-number-input-suffix-container {
|
|
135
|
+
padding-right: var(--ard-number-input-padding-right, 0.375rem);
|
|
91
136
|
}
|
|
92
137
|
.ard-number-input .ard-quick-change-button {
|
|
93
138
|
position: relative;
|
|
139
|
+
min-width: var(--ard-number-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
94
140
|
}
|
|
95
141
|
.ard-number-input .ard-quick-change-button .ard-button {
|
|
96
142
|
height: 100%;
|
|
@@ -119,10 +165,10 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
119
165
|
border-bottom-left-radius: 0;
|
|
120
166
|
}
|
|
121
167
|
.ard-number-input.ard-variant-rounded {
|
|
122
|
-
border-radius: 8px;
|
|
168
|
+
border-radius: var(--ard-number-input-rounded-border-radius, 8px);
|
|
123
169
|
}
|
|
124
|
-
.ard-number-input.ard-variant-rounded.ard-quick-change-false .ard-input-
|
|
125
|
-
border-radius: 8px;
|
|
170
|
+
.ard-number-input.ard-variant-rounded.ard-quick-change-false .ard-number-input-wrapper {
|
|
171
|
+
border-radius: var(--ard-number-input-rounded-border-radius, 8px);
|
|
126
172
|
}
|
|
127
173
|
.ard-number-input.ard-variant-sharp {
|
|
128
174
|
border-radius: 0;
|
|
@@ -132,14 +178,14 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
132
178
|
}
|
|
133
179
|
.ard-number-input.ard-variant-pill .ard-button {
|
|
134
180
|
border-radius: 9999px !important;
|
|
135
|
-
|
|
136
|
-
|
|
181
|
+
width: var(--ard-number-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
182
|
+
height: var(--ard-number-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
137
183
|
margin: 0 2px;
|
|
138
184
|
}
|
|
139
|
-
.ard-number-input.ard-variant-pill.ard-quick-change-false .ard-input-
|
|
185
|
+
.ard-number-input.ard-variant-pill.ard-quick-change-false .ard-number-input-wrapper {
|
|
140
186
|
border-radius: 9999px;
|
|
141
187
|
}
|
|
142
|
-
.ard-number-input.ard-variant-rounded:not(.ard-appearance-filled) .ard-input-
|
|
188
|
+
.ard-number-input.ard-variant-rounded:not(.ard-appearance-filled) .ard-number-input-wrapper, .ard-number-input.ard-variant-sharp:not(.ard-appearance-filled) .ard-number-input-wrapper {
|
|
143
189
|
box-sizing: border-box;
|
|
144
190
|
background: var(--ard-appearance-background);
|
|
145
191
|
border: var(--ard-appearance-border);
|
|
@@ -152,15 +198,19 @@ ard-number-input:not(:has(.ard-quick-change-button)) {
|
|
|
152
198
|
background: var(--ard-appearance-background);
|
|
153
199
|
border: var(--ard-appearance-border);
|
|
154
200
|
}
|
|
155
|
-
.ard-number-input.ard-compact {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
201
|
+
.ard-number-input.ard-compact .ard-number-input-wrapper {
|
|
202
|
+
padding-left: var(--ard-number-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
|
|
203
|
+
padding-right: var(--ard-number-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
|
|
204
|
+
padding-top: var(--ard-number-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
|
|
205
|
+
padding-bottom: var(--ard-number-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
|
|
206
|
+
}
|
|
207
|
+
.ard-number-input.ard-compact .ard-quick-change-button {
|
|
208
|
+
min-width: var(--ard-number-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
159
209
|
}
|
|
160
210
|
|
|
161
211
|
.ard-disabled > .ard-number-input {
|
|
162
212
|
pointer-events: none;
|
|
163
|
-
opacity: 50
|
|
213
|
+
opacity: var(--ard-number-input-disabled-opacity, 50%);
|
|
164
214
|
background: var(--ard-bg-filled);
|
|
165
215
|
}
|
|
166
216
|
.ard-disabled > .ard-number-input .ard-button .ard-focus-overlay {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/number-input.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/number-input.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACIA;EAGE;EAGA;EACA;EACA;EAWA;EACA;EAEA;;;AAGF;EACE;;;AAGF;EDTE,QCWE;EDVF;EACA;EACA;EACA;EACA;EACA,KCOE;EDNF;EACA;EACA,WCKE;EDJF,aCME;EDLF,aCOE;EDNF,cCUE;EDTF,eCOE;EDNF,aCKE;EDJF,gBCME;EDLF,OCWE;EAKF;EACA;;ADfA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA,SCLF;EDME,OCPF;EDQE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QC3CA;ED4CA,WCzCA;ED0CA,aCxCA;EDyCA,cChCA;EDiCA,eCnCA;EDoCA,aCrCA;EDsCA,gBCpCA;;ACTF;EACE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAEF;EACE;EACA;;AAGJ;EACE;EACA;;AAEA;EACE;;AAEF;EACE;;AAGJ;EACE;EACA;;ADVF;EACE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;;AAIF;AAAA;EAEE;EACA;EACA;EACA;;AAEF;EACE;;AAEF;EACE;;AAIF;EACE;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;;AAGF;EACE;;AAEA;EACE;EACA;;AAGJ;EACE;;AAEA;EACE;EACA;;AAMN;EACE;;AAGE;EACE;;AAIN;EACE;;AAEF;EACE;;AAEA;EACE;EACA;EACA;EACA;;AAIA;EACE;;AAQJ;EACE;EACA;EACA;;AAEF;EACE;EACA;;AAGJ;EACE;EACA;;AAKA;EACE;EACA;EACA;EACA;;AAEF;EACE;;;AAMJ;EACE;EACA;EAMA,YEjMG;;AF6LH;EACE","file":"number-input.css"}
|
|
@@ -1,49 +1,91 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
+
:root {
|
|
5
|
+
--ard-password-input-gap: 0.625rem;
|
|
6
|
+
--ard-password-input-line-height: 1.25;
|
|
7
|
+
--ard-password-input-line-height-compact: 1;
|
|
8
|
+
--ard-password-input-font-weight: 400;
|
|
9
|
+
--ard-password-input-placeholder-opacity: 60%;
|
|
10
|
+
--ard-password-input-min-width: 10rem;
|
|
11
|
+
--ard-password-input-max-width: 100%;
|
|
12
|
+
--ard-password-input-disabled-opacity: 50%;
|
|
13
|
+
--ard-password-input-reveal-button-margin: 0.125rem;
|
|
14
|
+
--ard-password-input-reveal-button-font-size: 0.8rem;
|
|
15
|
+
--ard-password-input-reveal-button-height: calc(100% - 0.25rem);
|
|
16
|
+
--ard-password-input-reveal-button-width: unset;
|
|
17
|
+
--ard-password-input-reveal-button-aspect-ratio: 1;
|
|
18
|
+
--ard-password-input-reveal-button-padding: 0;
|
|
19
|
+
--ard-password-input-reveal-button-border-radius: 9999px;
|
|
20
|
+
--ard-password-input-reveal-button-border: none;
|
|
21
|
+
--ard-password-input-reveal-button-background: transparent;
|
|
22
|
+
--ard-password-input-reveal-button-hover-background: rgba(0, 0, 0, 4%);
|
|
23
|
+
--ard-password-input-reveal-button-focus-background: rgba(0, 0, 0, 12%);
|
|
24
|
+
--ard-password-input-reveal-button-active-background: rgba(0, 0, 0, 20%);
|
|
25
|
+
}
|
|
26
|
+
|
|
4
27
|
.ard-password-input {
|
|
28
|
+
height: var(--ard-password-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
5
29
|
position: relative;
|
|
6
|
-
font-family:
|
|
30
|
+
font-family: var(--ard-font-family);
|
|
7
31
|
display: flex;
|
|
8
32
|
align-items: center;
|
|
9
33
|
justify-content: stretch;
|
|
10
|
-
gap: 0.
|
|
34
|
+
gap: var(--ard-password-input-gap, 0.625rem);
|
|
11
35
|
cursor: text;
|
|
12
36
|
box-sizing: border-box;
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
line-height: 1.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
37
|
+
font-size: var(--ard-password-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
38
|
+
line-height: var(--ard-password-input-line-height, 1.25);
|
|
39
|
+
font-weight: var(--ard-password-input-font-weight, 400);
|
|
40
|
+
padding-left: var(--ard-password-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
|
|
41
|
+
padding-right: var(--ard-password-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
|
|
42
|
+
padding-top: var(--ard-password-input-padding-top, var(--ard-form-field-padding-top, 0));
|
|
43
|
+
padding-bottom: var(--ard-password-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
|
|
44
|
+
color: var(--ard-password-input-color, var(--ard-text));
|
|
45
|
+
min-width: var(--ard-password-input-min-width, 10rem);
|
|
46
|
+
max-width: var(--ard-password-input-max-width, 100%);
|
|
18
47
|
}
|
|
19
48
|
.ard-password-input .ard-input-container {
|
|
20
49
|
flex-grow: 1;
|
|
21
50
|
text-size-adjust: 100%;
|
|
22
51
|
display: flex;
|
|
23
52
|
align-items: center;
|
|
53
|
+
height: 100%;
|
|
54
|
+
position: relative;
|
|
55
|
+
}
|
|
56
|
+
.ard-password-input .ard-input-container > * {
|
|
57
|
+
position: absolute;
|
|
58
|
+
inset: 0;
|
|
59
|
+
max-width: 100%;
|
|
60
|
+
padding: 0;
|
|
24
61
|
}
|
|
25
62
|
.ard-password-input .ard-input-container .ard-placeholder {
|
|
26
63
|
font: inherit;
|
|
27
|
-
opacity: 60
|
|
64
|
+
opacity: var(--ard-password-input-placeholder-opacity, 60%);
|
|
65
|
+
color: var(--ard-password-input-placeholder-color, var(--ard-text));
|
|
28
66
|
white-space: nowrap;
|
|
29
67
|
overflow: hidden;
|
|
30
68
|
text-overflow: ellipsis;
|
|
31
|
-
max-width: 100%;
|
|
32
69
|
pointer-events: none;
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
33
72
|
}
|
|
34
73
|
.ard-password-input .ard-input-container input {
|
|
35
74
|
border: none;
|
|
36
75
|
background: transparent;
|
|
37
76
|
outline: none;
|
|
38
77
|
font: inherit;
|
|
39
|
-
|
|
78
|
+
color: inherit;
|
|
40
79
|
display: block;
|
|
41
|
-
width: 100%;
|
|
42
80
|
}
|
|
43
81
|
.ard-password-input.ard-compact {
|
|
44
|
-
height: 1.
|
|
45
|
-
font-size: 0.
|
|
46
|
-
line-height: 1;
|
|
82
|
+
height: var(--ard-password-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
83
|
+
font-size: var(--ard-password-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
84
|
+
line-height: var(--ard-password-input-line-height-compact, 1);
|
|
85
|
+
padding-left: var(--ard-password-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
|
|
86
|
+
padding-right: var(--ard-password-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
|
|
87
|
+
padding-top: var(--ard-password-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
|
|
88
|
+
padding-bottom: var(--ard-password-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
|
|
47
89
|
}
|
|
48
90
|
.ard-password-input.ard-revealable {
|
|
49
91
|
padding-right: 0;
|
|
@@ -52,26 +94,33 @@
|
|
|
52
94
|
display: flex;
|
|
53
95
|
align-items: center;
|
|
54
96
|
justify-content: center;
|
|
55
|
-
padding: 0;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
97
|
+
padding: var(--ard-password-input-reveal-button-padding, 0);
|
|
98
|
+
color: var(--ard-password-input-reveal-button-color, var(--ard-text));
|
|
99
|
+
margin: var(--ard-password-input-reveal-button-margin, 0.125rem);
|
|
100
|
+
height: var(--ard-password-input-reveal-button-height, calc(100% - 0.25rem));
|
|
101
|
+
width: var(--ard-password-input-reveal-button-width, unset);
|
|
102
|
+
aspect-ratio: var(--ard-password-input-reveal-button-aspect-ratio, 1);
|
|
103
|
+
font-size: var(--ard-password-input-reveal-button-font-size, 0.8rem);
|
|
104
|
+
border-radius: var(--ard-password-input-reveal-button-border-radius, 9999px);
|
|
105
|
+
border: var(--ard-password-input-reveal-button-border, none);
|
|
106
|
+
background: var(--ard-password-input-reveal-button-background, transparent);
|
|
63
107
|
outline: none;
|
|
64
108
|
cursor: pointer;
|
|
65
109
|
transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
66
110
|
}
|
|
67
111
|
.ard-password-input .ard-reveal-button:hover {
|
|
68
|
-
background: rgba(0, 0, 0, 0.04);
|
|
112
|
+
background: var(--ard-password-input-reveal-button-hover-background, rgba(0, 0, 0, 0.04));
|
|
69
113
|
}
|
|
70
114
|
.ard-password-input .ard-reveal-button:focus {
|
|
71
|
-
background: rgba(0, 0, 0, 0.12);
|
|
115
|
+
background: var(--ard-password-input-reveal-button-focus-background, rgba(0, 0, 0, 0.12));
|
|
72
116
|
}
|
|
73
117
|
.ard-password-input .ard-reveal-button:active {
|
|
74
|
-
background: rgba(0, 0, 0, 0.2);
|
|
118
|
+
background: var(--ard-password-input-reveal-button-active-background, rgba(0, 0, 0, 0.2));
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ard-disabled .ard-password-input {
|
|
122
|
+
pointer-events: none;
|
|
123
|
+
opacity: var(--ard-password-input-disabled-opacity, 50%);
|
|
75
124
|
}
|
|
76
125
|
|
|
77
126
|
/*# sourceMappingURL=password-input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/password-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/password-input.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACKA;EAGE;EAGA;EACA;EACA;EAWA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EDpBE,QCsBE;EDrBF;EACA;EACA;EACA;EACA;EACA,KCkBE;EDjBF;EACA;EACA,WCgBE;EDfF,aCiBE;EDhBF,aCkBE;EDjBF,cCqBE;EDpBF,eCkBE;EDjBF,aCgBE;EDfF,gBCiBE;EDhBF,OCsBE;EAIF;EACA;;ADzBA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEF;EACE;EACA,SCMF;EDLE,OCIF;EDHE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QChCA;EDiCA,WC9BA;ED+BA,aC7BA;ED8BA,cCrBA;EDsBA,eCxBA;EDyBA,aC1BA;ED2BA,gBCzBA;;AASF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;;AAEA;EACE;;AAEF;EACE;;AAEF;EACE;;;AAMJ;EACE;EACA","file":"password-input.css"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--ard-kbd-shortcut-font-size: 0.875em;
|
|
3
|
+
--ard-kbd-shortcut-transparent-font-size: 0.75em;
|
|
4
|
+
}
|
|
5
|
+
|
|
1
6
|
.ard-kbd-shortcut {
|
|
2
|
-
font-family:
|
|
3
|
-
color: var(--ard-text2);
|
|
7
|
+
font-family: var(--ard-font-family-mono);
|
|
4
8
|
}
|
|
5
9
|
.ard-kbd-shortcut > span {
|
|
6
|
-
font-size: 0.
|
|
10
|
+
font-size: var(--ard-kbd-shortcut-font-size, 0.875em);
|
|
7
11
|
}
|
|
8
12
|
.ard-kbd-shortcut.ard-appearance-transparent > span {
|
|
9
|
-
font-size: 0.75em;
|
|
13
|
+
font-size: var(--ard-kbd-shortcut-transparent-font-size, 0.75em);
|
|
10
14
|
}
|
|
11
15
|
|
|
12
16
|
/*# sourceMappingURL=kbd-shortcut.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/kbd-shortcut.scss"
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/kbd-shortcut.scss"],"names":[],"mappings":"AAIA;EACE;EACA;;;AAGF;EACE;;AAEA;EACE;;AAEF;EACE","file":"kbd-shortcut.css"}
|