@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
|
@@ -3,251 +3,251 @@
|
|
|
3
3
|
@import '../variables';
|
|
4
4
|
|
|
5
5
|
.ard-select {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
width: 100%;
|
|
8
|
+
min-height: 100%;
|
|
9
|
+
display: grid;
|
|
10
|
+
align-items: center;
|
|
11
|
+
grid-template-columns: 1fr max-content;
|
|
12
|
+
gap: 0.625em;
|
|
13
|
+
padding: 0 1em 0 0.375em;
|
|
14
|
+
font-family: 'Roboto', sans-serif;
|
|
15
|
+
font-size: 1rem;
|
|
16
|
+
|
|
17
|
+
@include CB.clearButton();
|
|
18
|
+
|
|
19
|
+
//! variants
|
|
20
|
+
&.ard-variant-pill {
|
|
21
|
+
padding-left: 0.8125em;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//! value container
|
|
25
|
+
.ard-select-value-container {
|
|
26
|
+
position: relative;
|
|
27
|
+
height: 2em;
|
|
28
|
+
display: flex;
|
|
10
29
|
align-items: center;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
font-size: 1rem;
|
|
16
|
-
|
|
17
|
-
@include CB.clearButton();
|
|
30
|
+
font-size: 1em;
|
|
31
|
+
text-size-adjust: 100%;
|
|
32
|
+
flex-grow: 1;
|
|
33
|
+
overflow: hidden;
|
|
18
34
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
35
|
+
.ard-placeholder {
|
|
36
|
+
font: inherit;
|
|
37
|
+
position: absolute;
|
|
38
|
+
color: $text3;
|
|
39
|
+
width: max-content;
|
|
40
|
+
pointer-events: none;
|
|
22
41
|
}
|
|
23
42
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
height: 2em;
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
font-size: 1em;
|
|
31
|
-
text-size-adjust: 100%;
|
|
32
|
-
flex-grow: 1;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
|
|
35
|
-
.ard-placeholder {
|
|
36
|
-
font: inherit;
|
|
37
|
-
position: absolute;
|
|
38
|
-
color: $text3;
|
|
39
|
-
width: max-content;
|
|
40
|
-
pointer-events: none;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ard-search-input {
|
|
44
|
-
width: 100%;
|
|
45
|
-
max-width: 100%;
|
|
46
|
-
|
|
47
|
-
input {
|
|
48
|
-
border: none;
|
|
49
|
-
background: transparent;
|
|
50
|
-
outline: none;
|
|
51
|
-
font: inherit;
|
|
52
|
-
padding-left: 1px;
|
|
53
|
-
display: block;
|
|
54
|
-
width: 100%;
|
|
55
|
-
max-width: 100%;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
.ard-select-controls {
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
gap: 0.625em;
|
|
63
|
-
width: max-content;
|
|
64
|
-
}
|
|
65
|
-
//! single/multiselect
|
|
66
|
-
&.ard-singleselect {
|
|
67
|
-
.ard-value {
|
|
68
|
-
width: max-content;
|
|
69
|
-
white-space: nowrap;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
&:not(.ard-searchable),
|
|
73
|
-
&.ard-singleselect {
|
|
74
|
-
.ard-search-input {
|
|
75
|
-
position: absolute;
|
|
76
|
-
top: 50%;
|
|
77
|
-
left: 0;
|
|
78
|
-
transform: translateY(-50%) translateX(-1px);
|
|
79
|
-
width: max-content;
|
|
80
|
-
|
|
81
|
-
input {
|
|
82
|
-
width: max-content;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
&:not(.ard-searchable) .ard-search-input {
|
|
87
|
-
pointer-events: none;
|
|
88
|
-
}
|
|
89
|
-
&.ard-multiselect {
|
|
90
|
-
height: max-content;
|
|
91
|
-
|
|
92
|
-
.ard-select-value-container {
|
|
93
|
-
height: max-content;
|
|
94
|
-
min-height: 1.5625em;
|
|
95
|
-
padding: 0.25em 0;
|
|
96
|
-
box-sizing: border-box;
|
|
97
|
-
flex-wrap: wrap;
|
|
98
|
-
gap: 0.375em;
|
|
99
|
-
justify-content: stretch;
|
|
100
|
-
|
|
101
|
-
.ard-chip-wrapper {
|
|
102
|
-
margin: 0;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
.ard-search-input {
|
|
106
|
-
flex-grow: 1;
|
|
107
|
-
width: unset !important;
|
|
108
|
-
min-width: 10ch;
|
|
109
|
-
|
|
110
|
-
input {
|
|
111
|
-
width: 10ch !important;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
.ard-chip-wrapper {
|
|
115
|
-
margin: 0;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
//! dropdown arrow
|
|
119
|
-
.ard-dropdown-arrow-wrapper {
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
height: max-content;
|
|
123
|
-
width: max-content;
|
|
43
|
+
.ard-search-input {
|
|
44
|
+
width: 100%;
|
|
45
|
+
max-width: 100%;
|
|
124
46
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
47
|
+
input {
|
|
48
|
+
border: none;
|
|
49
|
+
background: transparent;
|
|
50
|
+
outline: none;
|
|
51
|
+
font: inherit;
|
|
52
|
+
padding-left: 1px;
|
|
53
|
+
display: block;
|
|
54
|
+
width: 100%;
|
|
55
|
+
max-width: 100%;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
.ard-select-controls {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
gap: 0.625em;
|
|
63
|
+
width: max-content;
|
|
64
|
+
}
|
|
65
|
+
//! single/multiselect
|
|
66
|
+
&.ard-singleselect {
|
|
67
|
+
.ard-value {
|
|
68
|
+
width: max-content;
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
&:not(.ard-searchable),
|
|
73
|
+
&.ard-singleselect {
|
|
74
|
+
.ard-search-input {
|
|
75
|
+
position: absolute;
|
|
76
|
+
top: 50%;
|
|
77
|
+
left: 0;
|
|
78
|
+
transform: translateY(-50%) translateX(-1px);
|
|
79
|
+
width: max-content;
|
|
80
|
+
|
|
81
|
+
input {
|
|
82
|
+
width: max-content;
|
|
83
|
+
}
|
|
136
84
|
}
|
|
85
|
+
}
|
|
86
|
+
&:not(.ard-searchable) .ard-search-input {
|
|
87
|
+
pointer-events: none;
|
|
88
|
+
}
|
|
89
|
+
&.ard-multiselect {
|
|
90
|
+
height: max-content;
|
|
137
91
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
92
|
+
.ard-select-value-container {
|
|
93
|
+
height: max-content;
|
|
94
|
+
min-height: 1.5625em;
|
|
95
|
+
padding: 0.25em 0;
|
|
96
|
+
box-sizing: border-box;
|
|
97
|
+
flex-wrap: wrap;
|
|
98
|
+
gap: 0.375em;
|
|
99
|
+
justify-content: stretch;
|
|
100
|
+
|
|
101
|
+
.ard-chip-wrapper {
|
|
102
|
+
margin: 0;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
.ard-search-input {
|
|
106
|
+
flex-grow: 1;
|
|
107
|
+
width: unset !important;
|
|
108
|
+
min-width: 10ch;
|
|
109
|
+
|
|
110
|
+
input {
|
|
111
|
+
width: 10ch !important;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
.ard-chip-wrapper {
|
|
115
|
+
margin: 0;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
//! dropdown arrow
|
|
119
|
+
.ard-dropdown-arrow-wrapper {
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
height: max-content;
|
|
123
|
+
width: max-content;
|
|
143
124
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
125
|
+
.ard-dropdown-arrow {
|
|
126
|
+
border: calc($dropdown-button-size / 2) solid transparent;
|
|
127
|
+
position: relative;
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
border-bottom-color: $detail;
|
|
130
|
+
border-right-color: $detail;
|
|
131
|
+
transform: rotate(45deg) translate(-17.67771%, -17.67771%);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
&.ard-dropdown-open .ard-dropdown-arrow {
|
|
135
|
+
transform: rotate(45deg) translate(17.67771%, 17.67771%) scaleX(-1) scaleY(-1);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
//! compact
|
|
139
|
+
&.ard-compact {
|
|
140
|
+
font-size: 0.85rem;
|
|
141
|
+
height: 1.5625rem;
|
|
142
|
+
padding-right: 0.625em;
|
|
143
|
+
|
|
144
|
+
.ard-dropdown-arrow-wrapper .ard-dropdown-arrow {
|
|
145
|
+
border-width: calc($dropdown-button-size / 2.4);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
//! optgroups & options, divider
|
|
151
151
|
.ard-select-dropdown-panel {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
152
|
+
right: 0;
|
|
153
|
+
width: max-content;
|
|
154
|
+
max-width: max(25em, 100%);
|
|
155
|
+
min-width: 100%;
|
|
156
|
+
font-size: 1rem;
|
|
157
|
+
|
|
158
|
+
.ard-dropdown-panel-content {
|
|
159
|
+
padding: 0.375em 0;
|
|
160
|
+
max-height: 15em;
|
|
161
|
+
overflow: hidden auto;
|
|
162
|
+
}
|
|
163
|
+
.ard-optgroup {
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-direction: column;
|
|
166
|
+
cursor: pointer;
|
|
167
|
+
}
|
|
168
|
+
.ard-optgroup-children {
|
|
169
|
+
cursor: unset;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.ard-optgroup-label {
|
|
173
|
+
font-size: 0.875em;
|
|
174
|
+
font-weight: 600;
|
|
175
|
+
letter-spacing: 0.25px;
|
|
176
|
+
padding: 0.375em 0.625em 0.0625em 0.625em;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.ard-option {
|
|
180
|
+
padding: 0.375em 0.625em;
|
|
181
|
+
color: $text2;
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
|
|
184
|
+
&.ard-option-highlighted {
|
|
185
|
+
background: $darken-overlay-light;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&.ard-option-selected {
|
|
189
|
+
font-weight: 500;
|
|
190
|
+
background: $darken-overlay-medium;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&.ard-option-disabled {
|
|
194
|
+
pointer-events: none;
|
|
195
|
+
opacity: 50%;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
//divider
|
|
199
|
+
hr.ard-divider {
|
|
200
|
+
width: calc(100% - 1.25em);
|
|
201
|
+
margin: 0.375em 0.625em;
|
|
202
|
+
border: none;
|
|
203
|
+
border-bottom: 1px solid $darken-overlay-strong;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.ard-optgroup:first-child > hr.ard-divider {
|
|
207
|
+
display: none;
|
|
208
|
+
}
|
|
209
|
+
//! custom option
|
|
210
|
+
.ard-add-custom {
|
|
211
|
+
display: flex;
|
|
212
|
+
align-items: flex-end;
|
|
213
|
+
gap: 0.375rem;
|
|
214
|
+
|
|
215
|
+
.ard-add-custom-label {
|
|
216
|
+
font-size: 85%;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
//! compact
|
|
221
|
+
> .ard-compact {
|
|
222
|
+
font-size: 0.85rem;
|
|
223
|
+
}
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
//! spinner
|
|
227
227
|
.ard-simple-spinner {
|
|
228
|
+
border-radius: 999px;
|
|
229
|
+
border: 0.5em solid var(--ard-spinner-color);
|
|
230
|
+
border-top-color: transparent;
|
|
231
|
+
animation: spinner-anim 1s linear infinite;
|
|
232
|
+
position: relative;
|
|
233
|
+
|
|
234
|
+
&::after {
|
|
235
|
+
content: '';
|
|
236
|
+
position: absolute;
|
|
237
|
+
top: 50%;
|
|
238
|
+
left: 50%;
|
|
239
|
+
transform: translate(-50%, -50%);
|
|
228
240
|
border-radius: 999px;
|
|
229
|
-
border: 0.
|
|
230
|
-
|
|
231
|
-
animation: spinner-anim 1s linear infinite;
|
|
232
|
-
position: relative;
|
|
233
|
-
|
|
234
|
-
&::after {
|
|
235
|
-
content: '';
|
|
236
|
-
position: absolute;
|
|
237
|
-
top: 50%;
|
|
238
|
-
left: 50%;
|
|
239
|
-
transform: translate(-50%, -50%);
|
|
240
|
-
border-radius: 999px;
|
|
241
|
-
border: 0.35em solid var(--ard-bg);
|
|
242
|
-
}
|
|
241
|
+
border: 0.35em solid var(--ard-bg);
|
|
242
|
+
}
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
@keyframes spinner-anim {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
0% {
|
|
247
|
+
transform: rotate(0deg);
|
|
248
|
+
}
|
|
249
249
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
250
|
+
100% {
|
|
251
|
+
transform: rotate(360deg);
|
|
252
|
+
}
|
|
253
253
|
}
|