@ardium-ui/ui 1.0.0 → 1.0.1
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/esm2022/lib/_internal/boolean-component.mjs +1 -1
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +1 -1
- package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +1 -1
- package/esm2022/lib/_internal/disablable-component.mjs +1 -1
- package/esm2022/lib/_internal/focusable-component.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/models/pagination.model.mjs +1 -1
- package/esm2022/lib/_internal/ngmodel-component.mjs +1 -1
- package/esm2022/lib/_internal/queue.mjs +1 -1
- package/esm2022/lib/_internal/selectable-list-component.mjs +1 -1
- package/esm2022/lib/badge/badge.directive.mjs +1 -1
- package/esm2022/lib/badge/badge.module.mjs +1 -1
- package/esm2022/lib/badge/badge.types.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.mjs +1 -1
- package/esm2022/lib/buttons/button/button.component.mjs +1 -1
- package/esm2022/lib/buttons/button/button.module.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.component.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.module.mjs +1 -1
- package/esm2022/lib/buttons/general-button.types.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +1 -1
- package/esm2022/lib/calendar/calendar.component.mjs +2 -5
- package/esm2022/lib/calendar/calendar.directives.mjs +1 -1
- package/esm2022/lib/calendar/calendar.helpers.mjs +1 -1
- package/esm2022/lib/calendar/calendar.module.mjs +1 -1
- package/esm2022/lib/calendar/calendar.types.mjs +1 -1
- package/esm2022/lib/card/card.children.mjs +1 -1
- package/esm2022/lib/card/card.component.mjs +1 -1
- package/esm2022/lib/card/card.module.mjs +1 -1
- package/esm2022/lib/card/card.types.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.component.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.module.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.types.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +1 -1
- package/esm2022/lib/chip/chip.component.mjs +1 -1
- package/esm2022/lib/chip/chip.module.mjs +1 -1
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +1 -1
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +1 -1
- package/esm2022/lib/color/color-display/color-display.component.mjs +1 -1
- package/esm2022/lib/color/color-display/color-display.module.mjs +1 -1
- package/esm2022/lib/color/color-display/color-display.types.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.component.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.directives.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.module.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +1 -1
- package/esm2022/lib/dialog/dialog.component.mjs +1 -1
- package/esm2022/lib/dialog/dialog.directives.mjs +1 -1
- package/esm2022/lib/dialog/dialog.module.mjs +1 -1
- package/esm2022/lib/dialog/dialog.types.mjs +1 -1
- package/esm2022/lib/divider/divider.component.mjs +1 -1
- package/esm2022/lib/divider/divider.module.mjs +1 -1
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +1 -1
- package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +1 -1
- package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input-base.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input-types.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +1 -1
- package/esm2022/lib/icon/icon.component.mjs +1 -1
- package/esm2022/lib/icon/icon.module.mjs +1 -1
- package/esm2022/lib/icon/icon.pipe.mjs +1 -1
- package/esm2022/lib/inputs/color-input/color-input.component.mjs +1 -1
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/color-input/color-input.module.mjs +1 -1
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +2 -3
- package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +1 -1
- package/esm2022/lib/inputs/hex-input.model.mjs +1 -1
- package/esm2022/lib/inputs/input/input.component.mjs +1 -1
- package/esm2022/lib/inputs/input/input.directives.mjs +1 -1
- package/esm2022/lib/inputs/input/input.module.mjs +1 -1
- package/esm2022/lib/inputs/input-transformers.mjs +1 -1
- package/esm2022/lib/inputs/input-types.mjs +1 -1
- package/esm2022/lib/inputs/input-utils.mjs +1 -1
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +2 -3
- package/esm2022/lib/inputs/number-input/number-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/number-input/number-input.module.mjs +1 -1
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +2 -3
- package/esm2022/lib/inputs/password-input/password-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/password-input/password-input.module.mjs +1 -1
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +2 -3
- package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +1 -1
- package/esm2022/lib/kbd/kbd.component.mjs +1 -1
- package/esm2022/lib/kbd/kbd.module.mjs +1 -1
- package/esm2022/lib/kbd/kbd.pipe.mjs +1 -1
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +1 -1
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +1 -1
- package/esm2022/lib/modal/modal.component.mjs +1 -1
- package/esm2022/lib/modal/modal.module.mjs +1 -1
- package/esm2022/lib/option/option.component.mjs +1 -1
- package/esm2022/lib/option/option.module.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.directive.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.directive.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
- package/esm2022/lib/radio/radio/radio.component.mjs +1 -1
- package/esm2022/lib/radio/radio-group.component.mjs +1 -1
- package/esm2022/lib/radio/radio.module.mjs +1 -1
- package/esm2022/lib/search-functions.mjs +1 -1
- package/esm2022/lib/segment/segment.component.mjs +1 -1
- package/esm2022/lib/segment/segment.directives.mjs +1 -1
- package/esm2022/lib/segment/segment.module.mjs +1 -1
- package/esm2022/lib/segment/segment.types.mjs +1 -1
- package/esm2022/lib/select/select.component.mjs +2 -4
- package/esm2022/lib/select/select.directive.mjs +1 -1
- package/esm2022/lib/select/select.module.mjs +1 -1
- package/esm2022/lib/select/select.types.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +1 -1
- package/esm2022/lib/slider/abstract-slider.mjs +1 -1
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +1 -1
- package/esm2022/lib/slider/range-slider/range-slider.module.mjs +1 -1
- package/esm2022/lib/slider/slider.component.mjs +1 -1
- package/esm2022/lib/slider/slider.directive.mjs +1 -1
- package/esm2022/lib/slider/slider.module.mjs +1 -1
- package/esm2022/lib/slider/slider.types.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.component.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.service.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.token.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
- package/esm2022/lib/spinner/spinner.component.mjs +1 -1
- package/esm2022/lib/spinner/spinner.module.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.component.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.module.mjs +1 -1
- package/esm2022/lib/star/star-display/star-display.component.mjs +1 -1
- package/esm2022/lib/star/star-display/star-display.module.mjs +1 -1
- package/esm2022/lib/star/star-input/star-input.component.mjs +1 -1
- package/esm2022/lib/star/star-input/star-input.module.mjs +1 -1
- package/esm2022/lib/star/star.component.mjs +1 -1
- package/esm2022/lib/star/star.module.mjs +1 -1
- package/esm2022/lib/star/star.types.mjs +1 -1
- package/esm2022/lib/statebox/statebox.component.mjs +1 -1
- package/esm2022/lib/statebox/statebox.module.mjs +1 -1
- package/esm2022/lib/statebox/statebox.types.mjs +1 -1
- package/esm2022/lib/table/table-item-storage.mjs +1 -1
- package/esm2022/lib/table/table.component.mjs +2 -2
- package/esm2022/lib/table/table.directives.mjs +1 -1
- package/esm2022/lib/table/table.module.mjs +1 -1
- package/esm2022/lib/table/table.types.mjs +1 -1
- package/esm2022/lib/table/utils.mjs +1 -1
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +1 -1
- package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +1 -1
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +1 -1
- package/esm2022/lib/table-pagination/table-pagination.module.mjs +1 -1
- package/esm2022/lib/table-pagination/table-pagination.types.mjs +1 -1
- package/esm2022/lib/types/alignment.types.mjs +1 -1
- package/esm2022/lib/types/colors.types.mjs +1 -1
- package/esm2022/lib/types/item-storage.types.mjs +1 -1
- package/esm2022/lib/types/theming.types.mjs +1 -1
- package/esm2022/lib/types/utility.types.mjs +1 -1
- package/fesm2022/ardium-ui-ui.mjs +7 -16
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/color/color-picker/color-picker.component.d.ts +12 -12
- package/lib/inputs/color-input/color-input.component.d.ts +24 -24
- package/package.json +4 -2
- package/prebuilt-themes/default/badge.css.map +1 -1
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/color-picker.css.map +1 -1
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
- package/prebuilt-themes/default/inputs/simple-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-bar.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/statebox.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/default/_clear-button.scss +59 -59
- package/themes/default/_coloring.scss +133 -133
- package/themes/default/_dropdown-arrow.scss +8 -8
- package/themes/default/_mixins.scss +50 -50
- package/themes/default/badge.scss +79 -79
- package/themes/default/buttons/_button-mixins.scss +112 -112
- package/themes/default/buttons/button.scss +47 -47
- package/themes/default/buttons/fab.scss +53 -53
- package/themes/default/buttons/icon-button.scss +40 -40
- package/themes/default/calendar.scss +154 -154
- package/themes/default/card.scss +90 -90
- package/themes/default/checkbox-list.scss +67 -67
- package/themes/default/checkbox.scss +87 -87
- package/themes/default/chips.scss +167 -167
- package/themes/default/color-display.scss +29 -29
- package/themes/default/color-picker.scss +97 -97
- package/themes/default/core.scss +75 -75
- package/themes/default/dialog.scss +8 -8
- package/themes/default/divider.scss +7 -7
- package/themes/default/dropdown-panel.scss +33 -33
- package/themes/default/file-drop-area.scss +139 -139
- package/themes/default/form-field-frame.scss +59 -59
- package/themes/default/inputs/_shared.scss +34 -34
- package/themes/default/inputs/color-input.scss +30 -30
- package/themes/default/inputs/digit-input.scss +37 -37
- package/themes/default/inputs/file-input.scss +62 -62
- package/themes/default/inputs/hex-input.scss +16 -16
- package/themes/default/inputs/input.scss +34 -34
- package/themes/default/inputs/number-input.scss +95 -95
- package/themes/default/inputs/password-input.scss +31 -31
- package/themes/default/inputs/search-bar.scss +9 -9
- package/themes/default/inputs/simple-input.scss +9 -9
- package/themes/default/kbd-shortcut.scss +8 -8
- package/themes/default/kbd.scss +15 -15
- package/themes/default/modal.scss +75 -75
- package/themes/default/progress-bar.scss +140 -140
- package/themes/default/progress-circle.scss +43 -43
- package/themes/default/radio.scss +87 -87
- package/themes/default/segment.scss +283 -283
- package/themes/default/select.scss +226 -226
- package/themes/default/slide-toggle.scss +121 -121
- package/themes/default/slider.scss +206 -206
- package/themes/default/snackbar.scss +40 -40
- package/themes/default/spinner.scss +12 -12
- package/themes/default/stars.scss +93 -93
- package/themes/default/statebox.scss +91 -91
- package/themes/default/table-pagination.scss +44 -44
- package/themes/default/table.scss +345 -345
|
@@ -2,77 +2,77 @@
|
|
|
2
2
|
@import '../variables';
|
|
3
3
|
|
|
4
4
|
.ard-form-field-frame {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
min-height: 2.1875rem;
|
|
7
|
+
height: max-content;
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: stretch;
|
|
12
|
+
position: relative;
|
|
13
|
+
font-size: 1rem;
|
|
14
|
+
line-height: 1.25em;
|
|
15
|
+
font-family: 'Roboto', sans-serif;
|
|
16
|
+
|
|
17
|
+
.ard-form-field-content-container {
|
|
18
|
+
flex-grow: 1;
|
|
19
|
+
min-height: 100%;
|
|
20
|
+
}
|
|
21
|
+
.ard-form-field-prefix-container,
|
|
22
|
+
.ard-form-field-suffix-container {
|
|
7
23
|
height: max-content;
|
|
8
|
-
max-
|
|
24
|
+
max-height: 100%;
|
|
9
25
|
display: flex;
|
|
10
26
|
align-items: center;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
27
|
+
}
|
|
28
|
+
.ard-form-field-prefix-container {
|
|
29
|
+
padding-left: 0.375em;
|
|
30
|
+
}
|
|
31
|
+
.ard-form-field-suffix-container {
|
|
32
|
+
padding-right: 0.375em;
|
|
33
|
+
}
|
|
16
34
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
height: max-content;
|
|
24
|
-
max-height: 100%;
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
}
|
|
28
|
-
.ard-form-field-prefix-container {
|
|
29
|
-
padding-left: 0.375em;
|
|
30
|
-
}
|
|
31
|
-
.ard-form-field-suffix-container {
|
|
32
|
-
padding-right: 0.375em;
|
|
33
|
-
}
|
|
35
|
+
//! compact
|
|
36
|
+
&.ard-compact {
|
|
37
|
+
min-height: 1.6875rem;
|
|
38
|
+
font-size: 0.85rem;
|
|
39
|
+
line-height: 1;
|
|
40
|
+
}
|
|
34
41
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
42
|
+
//! appearance & variant
|
|
43
|
+
@include defaultMixins.formAppearances();
|
|
44
|
+
@include defaultMixins.formVariants();
|
|
45
|
+
background: var(--ard-appearance-background);
|
|
46
|
+
border: var(--ard-appearance-border);
|
|
47
|
+
transition: border-color 0.15s $timing-fn;
|
|
41
48
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
.ard-form-field-overlay {
|
|
50
|
+
background: $overlay;
|
|
51
|
+
opacity: 0;
|
|
52
|
+
transition:
|
|
53
|
+
opacity 0.15s $timing-fn,
|
|
54
|
+
background-color 0.15s $timing-fn;
|
|
55
|
+
}
|
|
48
56
|
|
|
57
|
+
&:hover {
|
|
49
58
|
.ard-form-field-overlay {
|
|
50
|
-
|
|
51
|
-
opacity: 0;
|
|
52
|
-
transition:
|
|
53
|
-
opacity 0.15s $timing-fn,
|
|
54
|
-
background-color 0.15s $timing-fn;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&:hover {
|
|
58
|
-
.ard-form-field-overlay {
|
|
59
|
-
opacity: 3%;
|
|
60
|
-
}
|
|
59
|
+
opacity: 3%;
|
|
61
60
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
border-color: $border-dark;
|
|
61
|
+
}
|
|
62
|
+
&.ard-focused {
|
|
63
|
+
.ard-form-field-overlay {
|
|
64
|
+
opacity: 6%;
|
|
67
65
|
}
|
|
66
|
+
border-color: $border-dark;
|
|
67
|
+
}
|
|
68
68
|
}
|
|
69
69
|
.ard-disabled .ard-form-field-frame {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
pointer-events: none;
|
|
71
|
+
opacity: 50%;
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
73
|
+
&.ard-appearance-transparent {
|
|
74
|
+
.ard-form-field-overlay {
|
|
75
|
+
opacity: 4.5%;
|
|
77
76
|
}
|
|
77
|
+
}
|
|
78
78
|
}
|
|
@@ -4,43 +4,43 @@
|
|
|
4
4
|
* Should be applied to the first element in the component's template.
|
|
5
5
|
*/
|
|
6
6
|
@mixin genericInput() {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
position: relative;
|
|
8
|
+
font-family: 'Roboto', sans-serif;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: stretch;
|
|
12
|
+
gap: 0.625em;
|
|
13
|
+
cursor: text;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
height: 2.0625em;
|
|
16
|
+
font-size: 1rem;
|
|
17
|
+
line-height: 1.25em;
|
|
18
|
+
|
|
19
|
+
.ard-input-container {
|
|
20
|
+
flex-grow: 1;
|
|
21
|
+
text-size-adjust: 100%;
|
|
9
22
|
display: flex;
|
|
10
23
|
align-items: center;
|
|
11
|
-
justify-content: stretch;
|
|
12
|
-
gap: 0.625em;
|
|
13
|
-
cursor: text;
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
height: 2.0625em;
|
|
16
|
-
font-size: 1rem;
|
|
17
|
-
line-height: 1.25em;
|
|
18
|
-
|
|
19
|
-
.ard-input-container {
|
|
20
|
-
flex-grow: 1;
|
|
21
|
-
text-size-adjust: 100%;
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
input {
|
|
31
|
-
border: none;
|
|
32
|
-
background: transparent;
|
|
33
|
-
outline: none;
|
|
34
|
-
font: inherit;
|
|
35
|
-
padding: 0;
|
|
36
|
-
display: block;
|
|
37
|
-
width: 100%;
|
|
38
|
-
}
|
|
25
|
+
.ard-placeholder {
|
|
26
|
+
font: inherit;
|
|
27
|
+
opacity: 60%;
|
|
39
28
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
29
|
+
|
|
30
|
+
input {
|
|
31
|
+
border: none;
|
|
32
|
+
background: transparent;
|
|
33
|
+
outline: none;
|
|
34
|
+
font: inherit;
|
|
35
|
+
padding: 0;
|
|
36
|
+
display: block;
|
|
37
|
+
width: 100%;
|
|
45
38
|
}
|
|
39
|
+
}
|
|
40
|
+
//! compact
|
|
41
|
+
&.ard-compact {
|
|
42
|
+
height: 1.5625em;
|
|
43
|
+
font-size: 0.85em;
|
|
44
|
+
line-height: 1;
|
|
45
|
+
}
|
|
46
46
|
}
|
|
@@ -3,44 +3,44 @@
|
|
|
3
3
|
@use '../clear-button' as CB;
|
|
4
4
|
|
|
5
5
|
.ard-color-input {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
@include inputMixin.genericInput();
|
|
7
|
+
padding: 0 0.375rem;
|
|
8
|
+
min-width: 10rem;
|
|
9
|
+
max-width: 100%;
|
|
10
|
+
cursor: pointer;
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
@include CB.clearButton();
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
.ard-input-container {
|
|
15
|
+
pointer-events: none;
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
17
|
+
input {
|
|
18
|
+
font-family: monospace;
|
|
19
|
+
user-select: none;
|
|
21
20
|
}
|
|
21
|
+
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
.ard-color-display-button {
|
|
24
|
+
padding: 0;
|
|
25
|
+
margin: 0;
|
|
26
|
+
border: none;
|
|
27
|
+
background: transparent;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
width: 3em;
|
|
32
|
+
outline: none;
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
* {
|
|
35
|
+
width: 100% !important;
|
|
36
|
+
}
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
38
|
+
ard-color-display {
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
font-size: 1.1rem;
|
|
42
41
|
}
|
|
42
|
+
}
|
|
43
43
|
}
|
|
44
44
|
.ard-color-input-overlay-card {
|
|
45
|
-
|
|
45
|
+
margin: 0.4rem;
|
|
46
46
|
}
|
|
@@ -2,55 +2,55 @@
|
|
|
2
2
|
@import '../../variables';
|
|
3
3
|
|
|
4
4
|
ard-digit-input {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
font-family: 'Roboto', sans-serif;
|
|
6
|
+
font-weight: 500;
|
|
7
|
+
color: $text;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.ard-digit-input,
|
|
11
11
|
.ard-digit-input__item,
|
|
12
12
|
.ard-digit-input__input,
|
|
13
13
|
.ard-digit-input__static {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
font: inherit;
|
|
15
|
+
color: inherit;
|
|
16
16
|
}
|
|
17
17
|
.ard-digit-input {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
display: flex;
|
|
19
|
+
gap: 0.5em;
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
.ard-digit-input__item {
|
|
22
|
+
height: max-content;
|
|
23
|
+
display: flex;
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
.ard-digit-input__input {
|
|
26
|
+
width: 2.0625em;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
text-align: center;
|
|
29
|
+
caret-color: $text3;
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
.ard-digit-input__static {
|
|
36
|
-
width: max-content;
|
|
37
|
-
white-space: nowrap;
|
|
38
|
-
}
|
|
31
|
+
&:not(.ard-digit-input__input-empty) {
|
|
32
|
+
caret-color: transparent;
|
|
33
|
+
}
|
|
39
34
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
height: 2.0625em;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
35
|
+
.ard-digit-input__static {
|
|
36
|
+
width: max-content;
|
|
37
|
+
white-space: nowrap;
|
|
46
38
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
39
|
+
}
|
|
40
|
+
&.ard-shape-square {
|
|
41
|
+
.ard-digit-input__item {
|
|
42
|
+
.ard-digit-input__input {
|
|
43
|
+
height: 2.0625em;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
&.ard-shape-rectangle {
|
|
48
|
+
.ard-digit-input__item {
|
|
49
|
+
.ard-digit-input__input {
|
|
50
|
+
font-size: 1.2em;
|
|
51
|
+
width: calc(2.0625em / 1.2);
|
|
52
|
+
height: calc(2.0625em * 1.5 / 1.2);
|
|
53
|
+
}
|
|
55
54
|
}
|
|
55
|
+
}
|
|
56
56
|
}
|
|
@@ -4,75 +4,75 @@
|
|
|
4
4
|
@import '../../variables';
|
|
5
5
|
|
|
6
6
|
.ard-file-input-form-field-frame {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
.ard-form-field-overlay {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
11
|
.ard-file-input {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
@include inputMixin.genericInput();
|
|
13
|
+
padding: 0 0 0 0.375rem;
|
|
14
|
+
min-width: 10rem;
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
gap: 0.125rem;
|
|
17
|
+
cursor: default;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
*:not(button):not(ard-_clear-button) {
|
|
20
|
+
pointer-events: none;
|
|
21
|
+
user-select: none;
|
|
22
|
+
}
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
24
|
+
.ard-file-input__value {
|
|
25
|
+
font-size: 92%;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
max-height: 1.25rem;
|
|
29
|
+
}
|
|
30
|
+
.ard-browse-button {
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
height: calc(100% - 0.25rem);
|
|
33
|
+
margin: 0.125rem;
|
|
34
|
+
aspect-ratio: 1;
|
|
35
|
+
border: none;
|
|
36
|
+
background: none;
|
|
37
|
+
padding: 0;
|
|
38
|
+
position: relative;
|
|
39
|
+
display: flex;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
align-items: center;
|
|
42
|
+
outline: none;
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
&:focus {
|
|
55
|
-
.ard-focus-overlay {
|
|
56
|
-
opacity: 8%;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
&:active {
|
|
60
|
-
.ard-focus-overlay {
|
|
61
|
-
opacity: 12%;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
&:focus-visible {
|
|
65
|
-
.ard-focus-overlay {
|
|
66
|
-
opacity: 16%;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
44
|
+
.ard-focus-overlay {
|
|
45
|
+
@include defaultMixins.focus-overlay();
|
|
46
|
+
background: $overlay;
|
|
47
|
+
border-radius: 9999px;
|
|
48
|
+
}
|
|
49
|
+
&:hover {
|
|
50
|
+
.ard-focus-overlay {
|
|
51
|
+
opacity: 4%;
|
|
52
|
+
}
|
|
69
53
|
}
|
|
54
|
+
&:focus {
|
|
55
|
+
.ard-focus-overlay {
|
|
56
|
+
opacity: 8%;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
&:active {
|
|
60
|
+
.ard-focus-overlay {
|
|
61
|
+
opacity: 12%;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
&:focus-visible {
|
|
65
|
+
.ard-focus-overlay {
|
|
66
|
+
opacity: 16%;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
@include CB.clearButton();
|
|
72
72
|
}
|
|
73
73
|
.ard-disabled {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
.ard-input {
|
|
75
|
+
pointer-events: none;
|
|
76
|
+
opacity: 50%;
|
|
77
|
+
}
|
|
78
78
|
}
|
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
@import '../../variables';
|
|
5
5
|
|
|
6
6
|
.ard-hex-input {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
@include inputMixin.genericInput();
|
|
8
|
+
padding: 0 0.375rem;
|
|
9
|
+
min-width: 10rem;
|
|
10
|
+
max-width: 100%;
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
@include CB.clearButton();
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
14
|
+
.ard-input-container {
|
|
15
|
+
input {
|
|
16
|
+
font-family: monospace;
|
|
18
17
|
}
|
|
18
|
+
}
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
.ard-hash-container {
|
|
21
|
+
margin-right: -0.25rem;
|
|
22
|
+
color: $text3;
|
|
23
|
+
opacity: 70%;
|
|
24
|
+
user-select: none;
|
|
25
|
+
font-family: monospace;
|
|
26
|
+
}
|
|
27
27
|
}
|
|
@@ -4,49 +4,49 @@
|
|
|
4
4
|
@import '../../variables';
|
|
5
5
|
|
|
6
6
|
.ard-input {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
@include inputMixin.genericInput();
|
|
8
|
+
padding: 0 0.375rem;
|
|
9
|
+
min-width: 10rem;
|
|
10
|
+
max-width: 100%;
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
@include CB.clearButton();
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
.ard-autocomplete {
|
|
15
|
+
opacity: 37.5%;
|
|
16
|
+
}
|
|
17
17
|
}
|
|
18
18
|
//! suggestions
|
|
19
19
|
.ard-input-suggestions-panel {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
.ard-option {
|
|
21
|
+
padding: 0.375rem 0.625rem;
|
|
22
|
+
font-size: 1rem;
|
|
23
|
+
color: $text2;
|
|
24
|
+
cursor: pointer;
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
&.ard-option-highlighted {
|
|
27
|
+
background: $darken-overlay-light;
|
|
28
|
+
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
&.ard-option-selected {
|
|
31
|
+
font-weight: 500;
|
|
32
|
+
background: $darken-overlay-medium;
|
|
33
|
+
}
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
35
|
+
&.ard-option-disabled {
|
|
36
|
+
pointer-events: none;
|
|
37
|
+
opacity: 50%;
|
|
39
38
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
}
|
|
40
|
+
.ard-compact {
|
|
41
|
+
.ard-option {
|
|
42
|
+
padding: 0.25rem 0.5rem;
|
|
43
|
+
font-size: 0.9rem;
|
|
45
44
|
}
|
|
45
|
+
}
|
|
46
46
|
}
|
|
47
47
|
.ard-disabled {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
48
|
+
.ard-input {
|
|
49
|
+
pointer-events: none;
|
|
50
|
+
opacity: 50%;
|
|
51
|
+
}
|
|
52
|
+
}
|