@ardium-ui/ui 4.1.1 → 4.1.2
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/README.md +25 -25
- package/esm2022/lib/_internal/boolean-component.mjs +1 -1
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +3 -3
- 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/models/queue.mjs +1 -1
- package/esm2022/lib/_internal/public-api.mjs +1 -1
- package/esm2022/lib/_internal/selectable-list-component.mjs +1 -1
- package/esm2022/lib/badge/badge.defaults.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/badge/index.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.defaults.mjs +1 -1
- package/esm2022/lib/buttons/button/button.component.mjs +3 -3
- package/esm2022/lib/buttons/button/button.defaults.mjs +1 -1
- package/esm2022/lib/buttons/button/button.module.mjs +1 -1
- package/esm2022/lib/buttons/button/index.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.component.mjs +3 -3
- package/esm2022/lib/buttons/fab/fab.defaults.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.module.mjs +1 -1
- package/esm2022/lib/buttons/fab/index.mjs +1 -1
- package/esm2022/lib/buttons/general-button.types.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +3 -3
- package/esm2022/lib/buttons/icon-button/icon-button.defaults.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/index.mjs +1 -1
- package/esm2022/lib/calendar/calendar.component.mjs +1 -1
- package/esm2022/lib/calendar/calendar.defaults.mjs +1 -1
- package/esm2022/lib/calendar/calendar.types.mjs +1 -1
- package/esm2022/lib/calendar/views/days-view/days-view.component.mjs +1 -1
- package/esm2022/lib/calendar/views/days-view/days-view.helpers.mjs +1 -1
- package/esm2022/lib/calendar/views/months-view/months-view.component.mjs +1 -1
- package/esm2022/lib/calendar/views/months-view/months-view.helpers.mjs +1 -1
- package/esm2022/lib/calendar/views/years-view/years-view.component.mjs +1 -1
- package/esm2022/lib/calendar/views/years-view/years-view.helpers.mjs +1 -1
- package/esm2022/lib/card/card.children.mjs +3 -3
- package/esm2022/lib/card/card.component.mjs +1 -1
- package/esm2022/lib/card/card.defaults.mjs +1 -1
- package/esm2022/lib/card/card.module.mjs +1 -1
- package/esm2022/lib/card/card.types.mjs +1 -1
- package/esm2022/lib/card/index.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.defaults.mjs +1 -1
- package/esm2022/lib/checkbox/index.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.defaults.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +1 -1
- package/esm2022/lib/checkbox-list/index.mjs +1 -1
- package/esm2022/lib/chip/chip.component.mjs +3 -3
- package/esm2022/lib/chip/chip.defaults.mjs +1 -1
- package/esm2022/lib/chip/chip.module.mjs +1 -1
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +3 -3
- package/esm2022/lib/chip/deletable-chip/deletable-chip.defaults.mjs +1 -1
- package/esm2022/lib/chip/index.mjs +1 -1
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +3 -3
- package/esm2022/lib/chip/selectable-chip/selectable-chip.defaults.mjs +1 -1
- package/esm2022/lib/color/color-display/color-display.component.mjs +3 -3
- package/esm2022/lib/color/color-display/color-display.defaults.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-display/index.mjs +1 -1
- package/esm2022/lib/dialog/dialog.component.mjs +3 -3
- package/esm2022/lib/dialog/dialog.defaults.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/index.mjs +1 -1
- package/esm2022/lib/divider/divider.component.mjs +1 -1
- package/esm2022/lib/divider/divider.defaults.mjs +1 -1
- package/esm2022/lib/divider/divider.module.mjs +1 -1
- package/esm2022/lib/divider/index.mjs +1 -1
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +3 -3
- package/esm2022/lib/dropdown-panel/dropdown-panel.defaults.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/dropdown-panel/index.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +14 -23
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.defaults.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-drop-area/index.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +30 -36
- package/esm2022/lib/file-inputs/file-input/file-input.defaults.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +14 -1
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +40 -7
- package/esm2022/lib/file-inputs/file-input/index.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input-base.defaults.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input-base.mjs +21 -5
- package/esm2022/lib/file-inputs/file-input-types.mjs +1 -1
- package/esm2022/lib/form-field/error/error.component.mjs +1 -1
- package/esm2022/lib/form-field/error/error.directive.mjs +1 -1
- package/esm2022/lib/form-field/form-field.module.mjs +1 -1
- package/esm2022/lib/form-field/hint/hint.component.mjs +1 -1
- package/esm2022/lib/form-field/hint/hint.directive.mjs +1 -1
- package/esm2022/lib/form-field/horizontal-form-field.component.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +3 -3
- package/esm2022/lib/form-field-frame/form-field-frame.defaults.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/form-field-frame/index.mjs +1 -1
- package/esm2022/lib/icon/icon.component.mjs +3 -3
- package/esm2022/lib/icon/icon.defaults.mjs +1 -1
- package/esm2022/lib/icon/icon.module.mjs +1 -1
- package/esm2022/lib/icon/icon.pipe.mjs +1 -1
- package/esm2022/lib/icon/index.mjs +1 -1
- package/esm2022/lib/inputs/date-input/date-input.defaults.mjs +1 -1
- package/esm2022/lib/inputs/date-input/date-input.serializers.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.defaults.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.utils.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/index.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.model.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/index.mjs +1 -1
- package/esm2022/lib/inputs/input/index.mjs +1 -1
- package/esm2022/lib/inputs/input/input.component.mjs +3 -3
- package/esm2022/lib/inputs/input/input.defaults.mjs +1 -1
- package/esm2022/lib/inputs/input/input.directives.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/index.mjs +1 -1
- package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +1 -1
- 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/index.mjs +1 -1
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +3 -3
- package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +1 -1
- 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/index.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +3 -3
- package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +1 -1
- 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/index.mjs +1 -1
- package/esm2022/lib/kbd/kbd.component.mjs +3 -3
- package/esm2022/lib/kbd/kbd.defaults.mjs +1 -1
- package/esm2022/lib/kbd/kbd.directive.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/index.mjs +1 -1
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +3 -3
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.defaults.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.directives.mjs +1 -1
- package/esm2022/lib/modal/modal.module.mjs +1 -1
- package/esm2022/lib/option/index.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/index.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2022/lib/progress-bar/progress-bar.defaults.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/index.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +3 -3
- package/esm2022/lib/progress-circle/progress-circle.defaults.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/index.mjs +1 -1
- package/esm2022/lib/radio/radio/radio.component.mjs +3 -3
- package/esm2022/lib/radio/radio/radio.defaults.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/index.mjs +1 -1
- package/esm2022/lib/segment/segment.component.mjs +3 -3
- package/esm2022/lib/segment/segment.defaults.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/index.mjs +1 -1
- package/esm2022/lib/select/select.defaults.mjs +1 -1
- 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/index.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +3 -3
- package/esm2022/lib/slide-toggle/slide-toggle.defaults.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +1 -1
- package/esm2022/lib/slider/abstract-slider.mjs +1 -1
- package/esm2022/lib/slider/index.mjs +1 -1
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +3 -3
- 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.defaults.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/index.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.component.mjs +3 -3
- 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/index.mjs +1 -1
- package/esm2022/lib/spinner/spinner.component.mjs +3 -3
- package/esm2022/lib/spinner/spinner.defaults.mjs +1 -1
- package/esm2022/lib/spinner/spinner.module.mjs +1 -1
- package/esm2022/lib/star/rating-display/rating-display.component.mjs +1 -1
- package/esm2022/lib/star/rating-display/rating-display.defaults.mjs +1 -1
- package/esm2022/lib/star/rating-display/rating-display.directives.mjs +1 -1
- package/esm2022/lib/star/rating-display/rating-display.types.mjs +1 -1
- package/esm2022/lib/star/rating-input/rating-input.component.mjs +1 -1
- package/esm2022/lib/star/rating-input/rating-input.defaults.mjs +1 -1
- package/esm2022/lib/star/rating-input/rating-input.module.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.component.mjs +3 -3
- package/esm2022/lib/star/star-button/star-button.defaults.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.module.mjs +1 -1
- package/esm2022/lib/star/star.component.mjs +3 -3
- package/esm2022/lib/star/star.defaults.mjs +1 -1
- package/esm2022/lib/star/star.types.mjs +1 -1
- package/esm2022/lib/statebox/index.mjs +1 -1
- package/esm2022/lib/statebox/statebox.component.mjs +3 -3
- package/esm2022/lib/statebox/statebox.defaults.mjs +1 -1
- package/esm2022/lib/statebox/statebox.module.mjs +1 -1
- package/esm2022/lib/statebox/statebox.types.mjs +1 -1
- package/esm2022/lib/tabber/index.mjs +1 -1
- package/esm2022/lib/tabber/tab/tab.component.mjs +3 -3
- package/esm2022/lib/tabber/tab/tab.defaults.mjs +1 -1
- package/esm2022/lib/tabber/tabber.component.mjs +3 -3
- package/esm2022/lib/tabber/tabber.defaults.mjs +1 -1
- package/esm2022/lib/tabber/tabber.module.mjs +1 -1
- package/esm2022/lib/table/index.mjs +1 -1
- package/esm2022/lib/table/table-item-storage.mjs +1 -1
- package/esm2022/lib/table/table.component.mjs +3 -3
- package/esm2022/lib/table/table.defaults.mjs +1 -1
- 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/index.mjs +1 -1
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +3 -3
- package/esm2022/lib/table-from-csv/table-from-csv.defaults.mjs +1 -1
- package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +1 -1
- package/esm2022/lib/table-pagination/index.mjs +1 -1
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +3 -3
- package/esm2022/lib/table-pagination/table-pagination.defaults.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/text-list/text-list.module.mjs +1 -1
- package/esm2022/lib/text-list/text-list.pipe.mjs +1 -1
- package/esm2022/lib/types/alignment.types.mjs +1 -1
- package/esm2022/lib/types/button.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 +175 -130
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +4 -4
- package/lib/file-inputs/file-input/file-input.component.d.ts +9 -8
- package/lib/file-inputs/file-input/file-input.directives.d.ts +6 -0
- package/lib/file-inputs/file-input/file-input.module.d.ts +6 -5
- package/lib/file-inputs/file-input-base.d.ts +2 -2
- package/lib/file-inputs/file-input-types.d.ts +1 -1
- package/package.json +1 -1
- package/themes/_variables.scss +121 -121
- package/themes/default/_clear-button.scss +73 -73
- package/themes/default/_coloring.scss +137 -137
- package/themes/default/_dropdown-arrow.scss +12 -12
- package/themes/default/badge.scss +94 -94
- package/themes/default/buttons/button.scss +79 -79
- package/themes/default/buttons/fab.scss +81 -81
- package/themes/default/buttons/icon-button.scss +62 -62
- package/themes/default/calendar-OLD.scss +183 -183
- package/themes/default/card.scss +135 -135
- package/themes/default/checkbox-list.scss +83 -83
- package/themes/default/checkbox.scss +109 -109
- package/themes/default/chips.scss +200 -200
- package/themes/default/color-display.scss +41 -41
- package/themes/default/color-picker.scss +111 -111
- package/themes/default/core.scss +102 -102
- package/themes/default/dialog.scss +16 -16
- package/themes/default/divider.scss +13 -13
- package/themes/default/dropdown-panel.scss +45 -45
- package/themes/default/file-drop-area.scss +162 -162
- package/themes/default/inputs/_shared.scss +50 -50
- package/themes/default/inputs/color-input.scss +46 -46
- package/themes/default/inputs/file-input.scss +79 -79
- package/themes/default/inputs/hex-input.scss +27 -27
- package/themes/default/inputs/number-input.scss +131 -131
- package/themes/default/inputs/password-input.scss +43 -43
- package/themes/default/inputs/search-bar.scss +19 -19
- package/themes/default/kbd-shortcut.scss +13 -13
- package/themes/default/kbd.scss +21 -21
- package/themes/default/modal.scss +94 -94
- package/themes/default/progress-bar.scss +166 -166
- package/themes/default/progress-circle.scss +56 -56
- package/themes/default/radio.scss +112 -112
- package/themes/default/segment.scss +355 -355
- package/themes/default/select.scss +259 -259
- package/themes/default/slide-toggle.scss +151 -151
- package/themes/default/slider.scss +224 -224
- package/themes/default/snackbar.scss +58 -58
- package/themes/default/spinner.scss +21 -21
- package/themes/default/stars.scss +85 -85
- package/themes/default/statebox.scss +109 -109
- package/themes/default/tabber.scss +89 -89
- package/themes/default/table-pagination.scss +56 -56
- package/themes/default/table.scss +423 -423
|
@@ -1,259 +1,259 @@
|
|
|
1
|
-
@use './clear-button' as CB;
|
|
2
|
-
@use './mixins' as defaultMixins;
|
|
3
|
-
@use '../variables' as ARD;
|
|
4
|
-
|
|
5
|
-
.ard-select {
|
|
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;
|
|
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: ARD.$text3;
|
|
39
|
-
white-space: nowrap;
|
|
40
|
-
overflow: hidden;
|
|
41
|
-
text-overflow: ellipsis;
|
|
42
|
-
width: max-content;
|
|
43
|
-
max-width: 100%;
|
|
44
|
-
pointer-events: none;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.ard-search-input {
|
|
48
|
-
width: 100%;
|
|
49
|
-
max-width: 100%;
|
|
50
|
-
|
|
51
|
-
input {
|
|
52
|
-
border: none;
|
|
53
|
-
background: transparent;
|
|
54
|
-
outline: none;
|
|
55
|
-
font: inherit;
|
|
56
|
-
padding-left: 1px;
|
|
57
|
-
display: block;
|
|
58
|
-
width: 100%;
|
|
59
|
-
max-width: 100%;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
.ard-select-controls {
|
|
64
|
-
display: flex;
|
|
65
|
-
align-items: center;
|
|
66
|
-
gap: 0.625em;
|
|
67
|
-
width: max-content;
|
|
68
|
-
}
|
|
69
|
-
//! single/multiselect
|
|
70
|
-
&.ard-singleselect {
|
|
71
|
-
.ard-value {
|
|
72
|
-
width: max-content;
|
|
73
|
-
white-space: nowrap;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
&:not(.ard-searchable),
|
|
77
|
-
&.ard-singleselect {
|
|
78
|
-
.ard-search-input {
|
|
79
|
-
position: absolute;
|
|
80
|
-
top: 50%;
|
|
81
|
-
left: 0;
|
|
82
|
-
transform: translateY(-50%) translateX(-1px);
|
|
83
|
-
width: max-content;
|
|
84
|
-
|
|
85
|
-
input {
|
|
86
|
-
width: max-content;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
&:not(.ard-searchable) .ard-search-input {
|
|
91
|
-
pointer-events: none;
|
|
92
|
-
}
|
|
93
|
-
&.ard-multiselect {
|
|
94
|
-
height: max-content;
|
|
95
|
-
|
|
96
|
-
.ard-select-value-container {
|
|
97
|
-
height: max-content;
|
|
98
|
-
min-height: 1.5625em;
|
|
99
|
-
padding: 0.25em 0;
|
|
100
|
-
box-sizing: border-box;
|
|
101
|
-
flex-wrap: wrap;
|
|
102
|
-
gap: 0.375em;
|
|
103
|
-
justify-content: stretch;
|
|
104
|
-
|
|
105
|
-
.ard-chip-wrapper {
|
|
106
|
-
margin: 0;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
.ard-search-input {
|
|
110
|
-
flex-grow: 1;
|
|
111
|
-
width: unset !important;
|
|
112
|
-
min-width: 10ch;
|
|
113
|
-
|
|
114
|
-
input {
|
|
115
|
-
width: 10ch !important;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
.ard-chip-wrapper {
|
|
119
|
-
margin: 0;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
//! dropdown arrow
|
|
123
|
-
.ard-dropdown-arrow-wrapper {
|
|
124
|
-
display: flex;
|
|
125
|
-
align-items: center;
|
|
126
|
-
height: max-content;
|
|
127
|
-
width: max-content;
|
|
128
|
-
background-color: transparent;
|
|
129
|
-
border: none;
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
|
|
132
|
-
.ard-dropdown-arrow {
|
|
133
|
-
border: calc(ARD.$dropdown-button-size / 2) solid transparent;
|
|
134
|
-
position: relative;
|
|
135
|
-
border-bottom-color: ARD.$detail;
|
|
136
|
-
border-right-color: ARD.$detail;
|
|
137
|
-
transform: rotate(45deg) translate(-17.67771%, -17.67771%);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
&.ard-dropdown-open .ard-dropdown-arrow {
|
|
141
|
-
transform: rotate(45deg) translate(17.67771%, 17.67771%) scaleX(-1) scaleY(-1);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
//! compact
|
|
145
|
-
&.ard-compact {
|
|
146
|
-
font-size: 0.85rem;
|
|
147
|
-
height: 1.5625rem;
|
|
148
|
-
padding-right: 0.625em;
|
|
149
|
-
|
|
150
|
-
.ard-dropdown-arrow-wrapper .ard-dropdown-arrow {
|
|
151
|
-
border-width: calc(ARD.$dropdown-button-size / 2.4);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
//! optgroups & options, divider
|
|
157
|
-
.ard-select-dropdown-panel {
|
|
158
|
-
right: 0;
|
|
159
|
-
width: max-content;
|
|
160
|
-
max-width: max(25em, 100%);
|
|
161
|
-
min-width: 100%;
|
|
162
|
-
font-size: 1rem;
|
|
163
|
-
|
|
164
|
-
.ard-dropdown-panel-content {
|
|
165
|
-
padding: 0.375em 0;
|
|
166
|
-
max-height: 15em;
|
|
167
|
-
overflow: hidden auto;
|
|
168
|
-
}
|
|
169
|
-
.ard-optgroup {
|
|
170
|
-
display: flex;
|
|
171
|
-
flex-direction: column;
|
|
172
|
-
cursor: pointer;
|
|
173
|
-
}
|
|
174
|
-
.ard-optgroup-children {
|
|
175
|
-
cursor: default;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.ard-optgroup-label {
|
|
179
|
-
font-size: 0.875em;
|
|
180
|
-
font-weight: 600;
|
|
181
|
-
letter-spacing: 0.25px;
|
|
182
|
-
padding: 0.375em 0.625em 0.0625em 0.625em;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.ard-option {
|
|
186
|
-
padding: 0.375em 0.625em;
|
|
187
|
-
color: ARD.$text2;
|
|
188
|
-
cursor: pointer;
|
|
189
|
-
|
|
190
|
-
&.ard-option-highlighted {
|
|
191
|
-
background: ARD.$darken-overlay-light;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
&.ard-option-selected {
|
|
195
|
-
font-weight: 500;
|
|
196
|
-
background: ARD.$darken-overlay-medium;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
&.ard-option-disabled {
|
|
200
|
-
pointer-events: none;
|
|
201
|
-
opacity: 50%;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
//divider
|
|
205
|
-
hr.ard-divider {
|
|
206
|
-
width: calc(100% - 1.25em);
|
|
207
|
-
margin: 0.375em 0.625em;
|
|
208
|
-
border: none;
|
|
209
|
-
border-bottom: 1px solid ARD.$darken-overlay-strong;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.ard-optgroup:first-child > hr.ard-divider {
|
|
213
|
-
display: none;
|
|
214
|
-
}
|
|
215
|
-
//! custom option
|
|
216
|
-
.ard-add-custom {
|
|
217
|
-
display: flex;
|
|
218
|
-
align-items: flex-end;
|
|
219
|
-
gap: 0.375rem;
|
|
220
|
-
|
|
221
|
-
.ard-add-custom-label {
|
|
222
|
-
font-size: 85%;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
//! compact
|
|
227
|
-
> .ard-compact {
|
|
228
|
-
font-size: 0.85rem;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
//! spinner
|
|
233
|
-
.ard-simple-spinner {
|
|
234
|
-
border-radius: 999px;
|
|
235
|
-
border: 0.5em solid var(--ard-spinner-color);
|
|
236
|
-
border-top-color: transparent;
|
|
237
|
-
animation: spinner-anim 1s linear infinite;
|
|
238
|
-
position: relative;
|
|
239
|
-
|
|
240
|
-
&::after {
|
|
241
|
-
content: '';
|
|
242
|
-
position: absolute;
|
|
243
|
-
top: 50%;
|
|
244
|
-
left: 50%;
|
|
245
|
-
transform: translate(-50%, -50%);
|
|
246
|
-
border-radius: 999px;
|
|
247
|
-
border: 0.35em solid var(--ard-bg);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
@keyframes spinner-anim {
|
|
252
|
-
0% {
|
|
253
|
-
transform: rotate(0deg);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
100% {
|
|
257
|
-
transform: rotate(360deg);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
1
|
+
@use './clear-button' as CB;
|
|
2
|
+
@use './mixins' as defaultMixins;
|
|
3
|
+
@use '../variables' as ARD;
|
|
4
|
+
|
|
5
|
+
.ard-select {
|
|
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;
|
|
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: ARD.$text3;
|
|
39
|
+
white-space: nowrap;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
text-overflow: ellipsis;
|
|
42
|
+
width: max-content;
|
|
43
|
+
max-width: 100%;
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ard-search-input {
|
|
48
|
+
width: 100%;
|
|
49
|
+
max-width: 100%;
|
|
50
|
+
|
|
51
|
+
input {
|
|
52
|
+
border: none;
|
|
53
|
+
background: transparent;
|
|
54
|
+
outline: none;
|
|
55
|
+
font: inherit;
|
|
56
|
+
padding-left: 1px;
|
|
57
|
+
display: block;
|
|
58
|
+
width: 100%;
|
|
59
|
+
max-width: 100%;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
.ard-select-controls {
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
gap: 0.625em;
|
|
67
|
+
width: max-content;
|
|
68
|
+
}
|
|
69
|
+
//! single/multiselect
|
|
70
|
+
&.ard-singleselect {
|
|
71
|
+
.ard-value {
|
|
72
|
+
width: max-content;
|
|
73
|
+
white-space: nowrap;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
&:not(.ard-searchable),
|
|
77
|
+
&.ard-singleselect {
|
|
78
|
+
.ard-search-input {
|
|
79
|
+
position: absolute;
|
|
80
|
+
top: 50%;
|
|
81
|
+
left: 0;
|
|
82
|
+
transform: translateY(-50%) translateX(-1px);
|
|
83
|
+
width: max-content;
|
|
84
|
+
|
|
85
|
+
input {
|
|
86
|
+
width: max-content;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
&:not(.ard-searchable) .ard-search-input {
|
|
91
|
+
pointer-events: none;
|
|
92
|
+
}
|
|
93
|
+
&.ard-multiselect {
|
|
94
|
+
height: max-content;
|
|
95
|
+
|
|
96
|
+
.ard-select-value-container {
|
|
97
|
+
height: max-content;
|
|
98
|
+
min-height: 1.5625em;
|
|
99
|
+
padding: 0.25em 0;
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
flex-wrap: wrap;
|
|
102
|
+
gap: 0.375em;
|
|
103
|
+
justify-content: stretch;
|
|
104
|
+
|
|
105
|
+
.ard-chip-wrapper {
|
|
106
|
+
margin: 0;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.ard-search-input {
|
|
110
|
+
flex-grow: 1;
|
|
111
|
+
width: unset !important;
|
|
112
|
+
min-width: 10ch;
|
|
113
|
+
|
|
114
|
+
input {
|
|
115
|
+
width: 10ch !important;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
.ard-chip-wrapper {
|
|
119
|
+
margin: 0;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
//! dropdown arrow
|
|
123
|
+
.ard-dropdown-arrow-wrapper {
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
height: max-content;
|
|
127
|
+
width: max-content;
|
|
128
|
+
background-color: transparent;
|
|
129
|
+
border: none;
|
|
130
|
+
cursor: pointer;
|
|
131
|
+
|
|
132
|
+
.ard-dropdown-arrow {
|
|
133
|
+
border: calc(ARD.$dropdown-button-size / 2) solid transparent;
|
|
134
|
+
position: relative;
|
|
135
|
+
border-bottom-color: ARD.$detail;
|
|
136
|
+
border-right-color: ARD.$detail;
|
|
137
|
+
transform: rotate(45deg) translate(-17.67771%, -17.67771%);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
&.ard-dropdown-open .ard-dropdown-arrow {
|
|
141
|
+
transform: rotate(45deg) translate(17.67771%, 17.67771%) scaleX(-1) scaleY(-1);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
//! compact
|
|
145
|
+
&.ard-compact {
|
|
146
|
+
font-size: 0.85rem;
|
|
147
|
+
height: 1.5625rem;
|
|
148
|
+
padding-right: 0.625em;
|
|
149
|
+
|
|
150
|
+
.ard-dropdown-arrow-wrapper .ard-dropdown-arrow {
|
|
151
|
+
border-width: calc(ARD.$dropdown-button-size / 2.4);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
//! optgroups & options, divider
|
|
157
|
+
.ard-select-dropdown-panel {
|
|
158
|
+
right: 0;
|
|
159
|
+
width: max-content;
|
|
160
|
+
max-width: max(25em, 100%);
|
|
161
|
+
min-width: 100%;
|
|
162
|
+
font-size: 1rem;
|
|
163
|
+
|
|
164
|
+
.ard-dropdown-panel-content {
|
|
165
|
+
padding: 0.375em 0;
|
|
166
|
+
max-height: 15em;
|
|
167
|
+
overflow: hidden auto;
|
|
168
|
+
}
|
|
169
|
+
.ard-optgroup {
|
|
170
|
+
display: flex;
|
|
171
|
+
flex-direction: column;
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
}
|
|
174
|
+
.ard-optgroup-children {
|
|
175
|
+
cursor: default;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.ard-optgroup-label {
|
|
179
|
+
font-size: 0.875em;
|
|
180
|
+
font-weight: 600;
|
|
181
|
+
letter-spacing: 0.25px;
|
|
182
|
+
padding: 0.375em 0.625em 0.0625em 0.625em;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.ard-option {
|
|
186
|
+
padding: 0.375em 0.625em;
|
|
187
|
+
color: ARD.$text2;
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
|
|
190
|
+
&.ard-option-highlighted {
|
|
191
|
+
background: ARD.$darken-overlay-light;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&.ard-option-selected {
|
|
195
|
+
font-weight: 500;
|
|
196
|
+
background: ARD.$darken-overlay-medium;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
&.ard-option-disabled {
|
|
200
|
+
pointer-events: none;
|
|
201
|
+
opacity: 50%;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
//divider
|
|
205
|
+
hr.ard-divider {
|
|
206
|
+
width: calc(100% - 1.25em);
|
|
207
|
+
margin: 0.375em 0.625em;
|
|
208
|
+
border: none;
|
|
209
|
+
border-bottom: 1px solid ARD.$darken-overlay-strong;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ard-optgroup:first-child > hr.ard-divider {
|
|
213
|
+
display: none;
|
|
214
|
+
}
|
|
215
|
+
//! custom option
|
|
216
|
+
.ard-add-custom {
|
|
217
|
+
display: flex;
|
|
218
|
+
align-items: flex-end;
|
|
219
|
+
gap: 0.375rem;
|
|
220
|
+
|
|
221
|
+
.ard-add-custom-label {
|
|
222
|
+
font-size: 85%;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
//! compact
|
|
227
|
+
> .ard-compact {
|
|
228
|
+
font-size: 0.85rem;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
//! spinner
|
|
233
|
+
.ard-simple-spinner {
|
|
234
|
+
border-radius: 999px;
|
|
235
|
+
border: 0.5em solid var(--ard-spinner-color);
|
|
236
|
+
border-top-color: transparent;
|
|
237
|
+
animation: spinner-anim 1s linear infinite;
|
|
238
|
+
position: relative;
|
|
239
|
+
|
|
240
|
+
&::after {
|
|
241
|
+
content: '';
|
|
242
|
+
position: absolute;
|
|
243
|
+
top: 50%;
|
|
244
|
+
left: 50%;
|
|
245
|
+
transform: translate(-50%, -50%);
|
|
246
|
+
border-radius: 999px;
|
|
247
|
+
border: 0.35em solid var(--ard-bg);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
@keyframes spinner-anim {
|
|
252
|
+
0% {
|
|
253
|
+
transform: rotate(0deg);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
100% {
|
|
257
|
+
transform: rotate(360deg);
|
|
258
|
+
}
|
|
259
|
+
}
|