@ardium-ui/ui 2.3.2 → 3.0.0
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 +3 -2
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +9 -6
- package/esm2022/lib/_internal/disablable-component.mjs +13 -8
- package/esm2022/lib/_internal/focusable-component.mjs +11 -4
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +30 -23
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +4 -5
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +7 -8
- package/esm2022/lib/_internal/models/pagination.model.mjs +3 -3
- package/esm2022/lib/_internal/models/queue.mjs +59 -0
- package/esm2022/lib/_internal/ngmodel-component.mjs +4 -3
- package/esm2022/lib/_internal/selectable-list-component.mjs +31 -42
- package/esm2022/lib/badge/badge.defaults.mjs +20 -0
- package/esm2022/lib/badge/badge.directive.mjs +18 -15
- package/esm2022/lib/badge/index.mjs +3 -2
- package/esm2022/lib/buttons/_button-base.defaults.mjs +16 -0
- package/esm2022/lib/buttons/_button-base.mjs +12 -12
- package/esm2022/lib/buttons/button/button.component.mjs +15 -15
- package/esm2022/lib/buttons/button/button.defaults.mjs +17 -0
- package/esm2022/lib/buttons/button/index.mjs +3 -2
- package/esm2022/lib/buttons/fab/fab.component.mjs +16 -15
- package/esm2022/lib/buttons/fab/fab.defaults.mjs +17 -0
- package/esm2022/lib/buttons/fab/index.mjs +3 -2
- package/esm2022/lib/buttons/general-button.types.mjs +2 -2
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +16 -13
- package/esm2022/lib/buttons/icon-button/icon-button.defaults.mjs +9 -0
- package/esm2022/lib/buttons/icon-button/index.mjs +3 -2
- package/esm2022/lib/card/card.children.mjs +15 -15
- package/esm2022/lib/card/card.component.mjs +6 -5
- package/esm2022/lib/card/card.defaults.mjs +17 -0
- package/esm2022/lib/card/index.mjs +4 -3
- package/esm2022/lib/checkbox/checkbox.component.mjs +16 -19
- package/esm2022/lib/checkbox/checkbox.defaults.mjs +17 -0
- package/esm2022/lib/checkbox/index.mjs +3 -2
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +19 -21
- package/esm2022/lib/checkbox-list/checkbox-list.defaults.mjs +25 -0
- package/esm2022/lib/checkbox-list/index.mjs +3 -2
- package/esm2022/lib/chip/chip.component.mjs +17 -16
- package/esm2022/lib/chip/chip.defaults.mjs +20 -0
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +18 -20
- package/esm2022/lib/chip/deletable-chip/deletable-chip.defaults.mjs +17 -0
- package/esm2022/lib/chip/index.mjs +5 -2
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +21 -21
- package/esm2022/lib/chip/selectable-chip/selectable-chip.defaults.mjs +18 -0
- package/esm2022/lib/color/color-display/color-display.component.mjs +13 -12
- package/esm2022/lib/color/color-display/color-display.defaults.mjs +16 -0
- package/esm2022/lib/color/color-display/index.mjs +3 -2
- package/esm2022/lib/dialog/dialog.component.mjs +23 -22
- package/esm2022/lib/dialog/dialog.defaults.mjs +24 -0
- package/esm2022/lib/dialog/dialog.types.mjs +1 -1
- package/esm2022/lib/dialog/index.mjs +4 -3
- package/esm2022/lib/divider/divider.component.mjs +10 -12
- package/esm2022/lib/divider/divider.defaults.mjs +13 -0
- package/esm2022/lib/divider/index.mjs +3 -2
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +10 -9
- package/esm2022/lib/dropdown-panel/dropdown-panel.defaults.mjs +17 -0
- package/esm2022/lib/dropdown-panel/index.mjs +3 -2
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +14 -12
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.defaults.mjs +18 -0
- 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 +3 -2
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +23 -25
- package/esm2022/lib/file-inputs/file-input/file-input.defaults.mjs +23 -0
- package/esm2022/lib/file-inputs/file-input/index.mjs +3 -2
- package/esm2022/lib/file-inputs/file-input-base.defaults.mjs +8 -0
- package/esm2022/lib/file-inputs/file-input-base.mjs +2 -2
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +12 -8
- package/esm2022/lib/form-field-frame/form-field-frame.defaults.mjs +18 -0
- package/esm2022/lib/form-field-frame/index.mjs +3 -2
- package/esm2022/lib/icon/icon.component.mjs +6 -4
- package/esm2022/lib/icon/icon.defaults.mjs +17 -0
- package/esm2022/lib/icon/index.mjs +3 -2
- package/esm2022/lib/inputs/_simple-input-base.mjs +159 -0
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +17 -15
- package/esm2022/lib/inputs/digit-input/digit-input.defaults.mjs +21 -0
- package/esm2022/lib/inputs/digit-input/digit-input.model.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/digit-input/index.mjs +3 -2
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +24 -23
- package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +26 -0
- package/esm2022/lib/inputs/hex-input/hex-input.model.mjs +97 -0
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/index.mjs +3 -2
- package/esm2022/lib/inputs/input/index.mjs +1 -1
- package/esm2022/lib/inputs/input/input.component.mjs +28 -48
- package/esm2022/lib/inputs/input/input.defaults.mjs +17 -0
- 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-utils.mjs +1 -1
- package/esm2022/lib/inputs/number-input/index.mjs +3 -2
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +34 -30
- package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +27 -0
- package/esm2022/lib/inputs/password-input/index.mjs +3 -2
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +23 -18
- package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +24 -0
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/index.mjs +3 -2
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +15 -145
- package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +25 -0
- package/esm2022/lib/kbd/index.mjs +2 -1
- package/esm2022/lib/kbd/kbd.component.mjs +6 -4
- package/esm2022/lib/kbd/kbd.defaults.mjs +15 -0
- package/esm2022/lib/kbd/kbd.directive.mjs +1 -1
- package/esm2022/lib/kbd/kbd.pipe.mjs +7 -3
- package/esm2022/lib/kbd-shortcut/index.mjs +3 -2
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +12 -7
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.defaults.mjs +8 -0
- package/esm2022/lib/modal/index.mjs +3 -2
- package/esm2022/lib/modal/modal.component.mjs +14 -11
- package/esm2022/lib/modal/modal.defaults.mjs +20 -0
- package/esm2022/lib/option/index.mjs +1 -1
- package/esm2022/lib/option/option.component.mjs +1 -1
- package/esm2022/lib/progress-bar/index.mjs +4 -3
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +19 -18
- package/esm2022/lib/progress-bar/progress-bar.defaults.mjs +21 -0
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
- package/esm2022/lib/progress-circle/index.mjs +4 -3
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +18 -22
- package/esm2022/lib/progress-circle/progress-circle.defaults.mjs +21 -0
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +4 -4
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
- package/esm2022/lib/radio/index.mjs +4 -3
- package/esm2022/lib/radio/radio/radio.component.mjs +13 -10
- package/esm2022/lib/radio/radio/radio.defaults.mjs +16 -0
- package/esm2022/lib/radio/radio-group.component.mjs +7 -7
- package/esm2022/lib/search-functions.mjs +2 -2
- package/esm2022/lib/segment/index.mjs +3 -2
- package/esm2022/lib/segment/segment.component.mjs +22 -21
- package/esm2022/lib/segment/segment.defaults.mjs +26 -0
- package/esm2022/lib/segment/segment.directives.mjs +1 -1
- package/esm2022/lib/select/index.mjs +3 -2
- package/esm2022/lib/select/select.component.mjs +76 -101
- package/esm2022/lib/select/select.defaults.mjs +53 -0
- package/esm2022/lib/select/select.directive.mjs +1 -1
- package/esm2022/lib/select/select.types.mjs +1 -1
- package/esm2022/lib/slide-toggle/index.mjs +2 -1
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +17 -15
- package/esm2022/lib/slide-toggle/slide-toggle.defaults.mjs +21 -0
- package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +1 -1
- package/esm2022/lib/slider/abstract-slider.mjs +44 -34
- package/esm2022/lib/slider/index.mjs +5 -4
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +13 -9
- package/esm2022/lib/slider/slider.component.mjs +13 -9
- package/esm2022/lib/slider/slider.defaults.mjs +14 -0
- 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 +3 -3
- package/esm2022/lib/snackbar/snackbar.service.mjs +10 -14
- package/esm2022/lib/snackbar/snackbar.token.mjs +12 -6
- package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
- package/esm2022/lib/spinner/index.mjs +3 -2
- package/esm2022/lib/spinner/spinner.component.mjs +7 -6
- package/esm2022/lib/spinner/spinner.defaults.mjs +14 -0
- package/esm2022/lib/star/index.mjs +3 -2
- package/esm2022/lib/star/star-button/index.mjs +3 -2
- package/esm2022/lib/star/star-button/star-button.component.mjs +14 -11
- package/esm2022/lib/star/star-button/star-button.defaults.mjs +18 -0
- package/esm2022/lib/star/star-display/index.mjs +3 -2
- package/esm2022/lib/star/star-display/star-display.component.mjs +10 -8
- package/esm2022/lib/star/star-display/star-display.defaults.mjs +16 -0
- package/esm2022/lib/star/star-input/index.mjs +3 -2
- package/esm2022/lib/star/star-input/star-input.component.mjs +14 -11
- package/esm2022/lib/star/star-input/star-input.defaults.mjs +17 -0
- package/esm2022/lib/star/star.component.mjs +15 -8
- package/esm2022/lib/star/star.defaults.mjs +15 -0
- package/esm2022/lib/statebox/index.mjs +2 -1
- package/esm2022/lib/statebox/statebox.component.mjs +19 -25
- package/esm2022/lib/statebox/statebox.defaults.mjs +20 -0
- package/esm2022/lib/statebox/statebox.types.mjs +1 -1
- package/esm2022/lib/tabber/index.mjs +5 -3
- package/esm2022/lib/tabber/tab/tab.component.mjs +7 -5
- package/esm2022/lib/tabber/tab/tab.defaults.mjs +13 -0
- package/esm2022/lib/tabber/tabber.component.mjs +13 -11
- package/esm2022/lib/tabber/tabber.defaults.mjs +19 -0
- package/esm2022/lib/tabber/tabber.module.mjs +1 -1
- package/esm2022/lib/table/index.mjs +3 -2
- package/esm2022/lib/table/table-item-storage.mjs +4 -4
- package/esm2022/lib/table/table.component.mjs +69 -50
- package/esm2022/lib/table/table.defaults.mjs +53 -0
- package/esm2022/lib/table/table.directives.mjs +1 -1
- package/esm2022/lib/table/table.module.mjs +8 -7
- package/esm2022/lib/table-from-csv/index.mjs +3 -2
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +44 -44
- package/esm2022/lib/table-from-csv/table-from-csv.defaults.mjs +15 -0
- package/esm2022/lib/table-pagination/index.mjs +3 -2
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +13 -9
- package/esm2022/lib/table-pagination/table-pagination.defaults.mjs +25 -0
- package/esm2022/lib/types/button.types.mjs +1 -1
- package/esm2022/lib/types/item-storage.types.mjs +1 -1
- package/esm2022/lib/types/utility.types.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/ardium-ui-ui.mjs +3049 -2265
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/boolean-component.d.ts +5 -1
- package/lib/_internal/clear-button/clear-button.component.d.ts +1 -0
- package/lib/_internal/disablable-component.d.ts +9 -2
- package/lib/_internal/focusable-component.d.ts +6 -1
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +9 -19
- package/lib/_internal/item-storages/simple-item-storage.d.ts +1 -1
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +3 -3
- package/lib/_internal/models/pagination.model.d.ts +2 -2
- package/lib/_internal/ngmodel-component.d.ts +6 -2
- package/lib/_internal/selectable-list-component.d.ts +18 -13
- package/lib/badge/badge.defaults.d.ts +13 -0
- package/lib/badge/badge.directive.d.ts +4 -4
- package/lib/badge/index.d.ts +2 -1
- package/lib/buttons/_button-base.d.ts +6 -1
- package/lib/buttons/_button-base.defaults.d.ts +15 -0
- package/lib/buttons/button/button.component.d.ts +4 -3
- package/lib/buttons/button/button.defaults.d.ts +11 -0
- package/lib/buttons/button/index.d.ts +2 -1
- package/lib/buttons/fab/fab.component.d.ts +5 -6
- package/lib/buttons/fab/fab.defaults.d.ts +8 -0
- package/lib/buttons/fab/index.d.ts +2 -1
- package/lib/buttons/general-button.types.d.ts +2 -2
- package/lib/buttons/icon-button/icon-button.component.d.ts +3 -0
- package/lib/buttons/icon-button/icon-button.defaults.d.ts +6 -0
- package/lib/buttons/icon-button/index.d.ts +2 -1
- package/lib/card/card.children.d.ts +1 -1
- package/lib/card/card.component.d.ts +1 -0
- package/lib/card/card.defaults.d.ts +10 -0
- package/lib/card/index.d.ts +3 -2
- package/lib/checkbox/checkbox.component.d.ts +4 -2
- package/lib/checkbox/checkbox.defaults.d.ts +9 -0
- package/lib/checkbox/index.d.ts +2 -1
- package/lib/checkbox-list/checkbox-list.component.d.ts +4 -5
- package/lib/checkbox-list/checkbox-list.defaults.d.ts +19 -0
- package/lib/checkbox-list/index.d.ts +2 -1
- package/lib/chip/chip.component.d.ts +3 -0
- package/lib/chip/chip.defaults.d.ts +15 -0
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +3 -3
- package/lib/chip/deletable-chip/deletable-chip.defaults.d.ts +8 -0
- package/lib/chip/index.d.ts +4 -1
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +3 -3
- package/lib/chip/selectable-chip/selectable-chip.defaults.d.ts +9 -0
- package/lib/color/color-display/color-display.component.d.ts +2 -1
- package/lib/color/color-display/color-display.defaults.d.ts +9 -0
- package/lib/color/color-display/index.d.ts +2 -1
- package/lib/dialog/dialog.component.d.ts +1 -0
- package/lib/dialog/dialog.defaults.d.ts +16 -0
- package/lib/dialog/index.d.ts +3 -2
- package/lib/divider/divider.component.d.ts +1 -1
- package/lib/divider/divider.defaults.d.ts +6 -0
- package/lib/divider/index.d.ts +2 -1
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +1 -0
- package/lib/dropdown-panel/dropdown-panel.defaults.d.ts +10 -0
- package/lib/dropdown-panel/index.d.ts +2 -1
- package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +5 -2
- package/lib/file-inputs/file-drop-area/file-drop-area.defaults.d.ts +10 -0
- package/lib/file-inputs/file-drop-area/index.d.ts +2 -1
- package/lib/file-inputs/file-input/file-input.component.d.ts +4 -4
- package/lib/file-inputs/file-input/file-input.defaults.d.ts +15 -0
- package/lib/file-inputs/file-input/index.d.ts +2 -1
- package/lib/file-inputs/file-input-base.d.ts +2 -0
- package/lib/file-inputs/file-input-base.defaults.d.ts +7 -0
- package/lib/form-field-frame/form-field-frame.component.d.ts +3 -0
- package/lib/form-field-frame/form-field-frame.defaults.d.ts +10 -0
- package/lib/form-field-frame/index.d.ts +2 -1
- package/lib/icon/icon.component.d.ts +7 -3
- package/lib/icon/icon.defaults.d.ts +11 -0
- package/lib/icon/index.d.ts +2 -1
- package/lib/inputs/_simple-input-base.d.ts +62 -0
- package/lib/inputs/digit-input/digit-input.component.d.ts +3 -0
- package/lib/inputs/digit-input/digit-input.defaults.d.ts +13 -0
- package/lib/inputs/digit-input/index.d.ts +2 -1
- package/lib/inputs/hex-input/hex-input.component.d.ts +4 -4
- package/lib/inputs/hex-input/hex-input.defaults.d.ts +19 -0
- package/lib/inputs/{hex-input.model.d.ts → hex-input/hex-input.model.d.ts} +2 -2
- package/lib/inputs/hex-input/index.d.ts +2 -1
- package/lib/inputs/input/input.component.d.ts +10 -17
- package/lib/inputs/input/input.defaults.d.ts +9 -0
- package/lib/inputs/number-input/index.d.ts +2 -1
- package/lib/inputs/number-input/number-input.component.d.ts +3 -1
- package/lib/inputs/number-input/number-input.defaults.d.ts +19 -0
- package/lib/inputs/password-input/index.d.ts +2 -1
- package/lib/inputs/password-input/password-input.component.d.ts +3 -0
- package/lib/inputs/password-input/password-input.defaults.d.ts +17 -0
- package/lib/inputs/simple-input/index.d.ts +2 -1
- package/lib/inputs/simple-input/simple-input.component.d.ts +6 -50
- package/lib/inputs/simple-input/simple-input.defaults.d.ts +6 -0
- package/lib/kbd/index.d.ts +1 -0
- package/lib/kbd/kbd.component.d.ts +1 -0
- package/lib/kbd/kbd.defaults.d.ts +8 -0
- package/lib/kbd/kbd.pipe.d.ts +1 -0
- package/lib/kbd-shortcut/index.d.ts +2 -1
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +2 -0
- package/lib/kbd-shortcut/kbd-shortcut.defaults.d.ts +8 -0
- package/lib/modal/index.d.ts +2 -1
- package/lib/modal/modal.component.d.ts +1 -0
- package/lib/modal/modal.defaults.d.ts +14 -0
- package/lib/progress-bar/index.d.ts +3 -2
- package/lib/progress-bar/progress-bar.component.d.ts +3 -1
- package/lib/progress-bar/progress-bar.defaults.d.ts +14 -0
- package/lib/progress-circle/index.d.ts +3 -2
- package/lib/progress-circle/progress-circle.component.d.ts +3 -1
- package/lib/progress-circle/progress-circle.defaults.d.ts +14 -0
- package/lib/progress-circle/progress-circle.module.d.ts +1 -1
- package/lib/radio/index.d.ts +3 -2
- package/lib/radio/radio/radio.component.d.ts +5 -2
- package/lib/radio/radio/radio.defaults.d.ts +8 -0
- package/lib/segment/index.d.ts +2 -1
- package/lib/segment/segment.component.d.ts +3 -0
- package/lib/segment/segment.defaults.d.ts +18 -0
- package/lib/select/index.d.ts +2 -1
- package/lib/select/select.component.d.ts +11 -22
- package/lib/select/select.defaults.d.ts +49 -0
- package/lib/slide-toggle/index.d.ts +1 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +9 -6
- package/lib/slide-toggle/slide-toggle.defaults.d.ts +14 -0
- package/lib/slider/abstract-slider.d.ts +22 -5
- package/lib/slider/index.d.ts +4 -3
- package/lib/slider/range-slider/range-slider.component.d.ts +3 -0
- package/lib/slider/slider.component.d.ts +3 -0
- package/lib/slider/slider.defaults.d.ts +6 -0
- package/lib/snackbar/snackbar.service.d.ts +1 -2
- package/lib/snackbar/snackbar.token.d.ts +3 -3
- package/lib/spinner/index.d.ts +2 -1
- package/lib/spinner/spinner.component.d.ts +1 -0
- package/lib/spinner/spinner.defaults.d.ts +7 -0
- package/lib/star/index.d.ts +2 -1
- package/lib/star/star-button/index.d.ts +2 -1
- package/lib/star/star-button/star-button.component.d.ts +3 -0
- package/lib/star/star-button/star-button.defaults.d.ts +10 -0
- package/lib/star/star-display/index.d.ts +2 -1
- package/lib/star/star-display/star-display.component.d.ts +1 -0
- package/lib/star/star-display/star-display.defaults.d.ts +9 -0
- package/lib/star/star-input/index.d.ts +2 -1
- package/lib/star/star-input/star-input.component.d.ts +3 -1
- package/lib/star/star-input/star-input.defaults.d.ts +9 -0
- package/lib/star/star.component.d.ts +4 -2
- package/lib/star/star.defaults.d.ts +8 -0
- package/lib/statebox/index.d.ts +1 -0
- package/lib/statebox/statebox.component.d.ts +7 -6
- package/lib/statebox/statebox.defaults.d.ts +10 -0
- package/lib/tabber/index.d.ts +4 -2
- package/lib/tabber/tab/tab.component.d.ts +1 -0
- package/lib/tabber/tab/tab.defaults.d.ts +6 -0
- package/lib/tabber/tabber.component.d.ts +3 -1
- package/lib/tabber/tabber.defaults.d.ts +12 -0
- package/lib/table/index.d.ts +2 -1
- package/lib/table/table-item-storage.d.ts +5 -10
- package/lib/table/table.component.d.ts +11 -9
- package/lib/table/table.defaults.d.ts +50 -0
- package/lib/table/table.module.d.ts +2 -1
- package/lib/table-from-csv/index.d.ts +2 -1
- package/lib/table-from-csv/table-from-csv.component.d.ts +7 -5
- package/lib/table-from-csv/table-from-csv.defaults.d.ts +7 -0
- package/lib/table-pagination/index.d.ts +2 -1
- package/lib/table-pagination/table-pagination.component.d.ts +3 -0
- package/lib/table-pagination/table-pagination.defaults.d.ts +20 -0
- package/lib/types/button.types.d.ts +1 -1
- package/lib/types/item-storage.types.d.ts +3 -63
- package/package.json +1 -1
- package/prebuilt-themes/default/buttons/fab.css +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +7 -12
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +5 -0
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +5 -0
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +5 -0
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +5 -0
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +5 -0
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +5 -0
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +5 -0
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
- package/prebuilt-themes/default/inputs/simple-input.css +5 -0
- package/prebuilt-themes/default/inputs/simple-input.css.map +1 -1
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +4 -0
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +2 -0
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table.css +17 -0
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/default/_clear-button.scss +73 -73
- package/themes/default/badge.scss +94 -94
- package/themes/default/buttons/button.scss +72 -72
- package/themes/default/buttons/fab.scss +74 -74
- package/themes/default/buttons/icon-button.scss +55 -62
- package/themes/default/card.scss +129 -129
- package/themes/default/checkbox.scss +1 -1
- package/themes/default/chips.scss +200 -200
- package/themes/default/core.scss +99 -99
- package/themes/default/inputs/_shared.scss +5 -0
- package/themes/default/inputs/digit-input.scss +56 -56
- package/themes/default/inputs/file-input.scss +85 -85
- package/themes/default/inputs/hex-input.scss +27 -27
- package/themes/default/modal.scss +93 -93
- package/themes/default/segment.scss +355 -351
- package/themes/default/select.scss +259 -255
- package/themes/default/snackbar.scss +58 -58
- package/themes/default/tabber.scss +89 -87
- package/themes/default/table.scss +20 -0
- package/esm2022/lib/_internal/queue.mjs +0 -59
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +0 -11
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +0 -101
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +0 -2
- package/esm2022/lib/inputs/hex-input.model.mjs +0 -97
- package/lib/color/color-picker/color-picker.types.d.ts +0 -21
- package/lib/inputs/color-input/color-input.directives.d.ts +0 -52
- package/lib/inputs/color-input/color-input.types.d.ts +0 -5
- /package/lib/_internal/{queue.d.ts → models/queue.d.ts} +0 -0
|
@@ -1,351 +1,355 @@
|
|
|
1
|
-
@use './mixins' as defaultMixins;
|
|
2
|
-
@use './coloring' as coloringMixins;
|
|
3
|
-
@import '../variables';
|
|
4
|
-
|
|
5
|
-
.ard-segment-container {
|
|
6
|
-
@include coloringMixins.typeColors();
|
|
7
|
-
--ard-_segment-padding: 0.15rem;
|
|
8
|
-
padding: var(--ard-_segment-padding);
|
|
9
|
-
font-family: 'Roboto', sans-serif;
|
|
10
|
-
margin: 2px;
|
|
11
|
-
border: 1px solid transparent;
|
|
12
|
-
font-weight: 500;
|
|
13
|
-
width: max-content;
|
|
14
|
-
height: max-content;
|
|
15
|
-
gap: var(--ard-_segment-padding);
|
|
16
|
-
overflow: hidden; //hide click indicator overflowing rounded corners on touchscreens
|
|
17
|
-
|
|
18
|
-
@include defaultMixins.formAppearances();
|
|
19
|
-
@include defaultMixins.formVariants();
|
|
20
|
-
|
|
21
|
-
//! button focus inficator
|
|
22
|
-
.ard-focus-overlay {
|
|
23
|
-
@include defaultMixins.focus-overlay;
|
|
24
|
-
background-color: var(--ard-cmpcl--content);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
//! row & option styling
|
|
28
|
-
.ard-segment-row {
|
|
29
|
-
gap: var(--ard-_segment-padding);
|
|
30
|
-
--ard-_font-size: 0.85em;
|
|
31
|
-
height: calc(2.42em + 1px);
|
|
32
|
-
font-size: var(--ard-_font-size);
|
|
33
|
-
|
|
34
|
-
.ard-segment-option {
|
|
35
|
-
margin: 0;
|
|
36
|
-
padding: 0 1em;
|
|
37
|
-
height: 100%;
|
|
38
|
-
font-size: 1em;
|
|
39
|
-
min-width: 2.42em;
|
|
40
|
-
border: 1px solid transparent;
|
|
41
|
-
background: transparent;
|
|
42
|
-
position: relative;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
transition:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
color: var(--ard-cmpcl--content);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
margin-
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
border-top-
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
border-bottom-
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
&:
|
|
191
|
-
border-top-
|
|
192
|
-
border-bottom-
|
|
193
|
-
}
|
|
194
|
-
&:
|
|
195
|
-
border-radius: var(--ard-variant-border-radius) !important;
|
|
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
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
.ard-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
1
|
+
@use './mixins' as defaultMixins;
|
|
2
|
+
@use './coloring' as coloringMixins;
|
|
3
|
+
@import '../variables';
|
|
4
|
+
|
|
5
|
+
.ard-segment-container {
|
|
6
|
+
@include coloringMixins.typeColors();
|
|
7
|
+
--ard-_segment-padding: 0.15rem;
|
|
8
|
+
padding: var(--ard-_segment-padding);
|
|
9
|
+
font-family: 'Roboto', sans-serif;
|
|
10
|
+
margin: 2px;
|
|
11
|
+
border: 1px solid transparent;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
width: max-content;
|
|
14
|
+
height: max-content;
|
|
15
|
+
gap: var(--ard-_segment-padding);
|
|
16
|
+
overflow: hidden; //hide click indicator overflowing rounded corners on touchscreens
|
|
17
|
+
|
|
18
|
+
@include defaultMixins.formAppearances();
|
|
19
|
+
@include defaultMixins.formVariants();
|
|
20
|
+
|
|
21
|
+
//! button focus inficator
|
|
22
|
+
.ard-focus-overlay {
|
|
23
|
+
@include defaultMixins.focus-overlay;
|
|
24
|
+
background-color: var(--ard-cmpcl--content);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
//! row & option styling
|
|
28
|
+
.ard-segment-row {
|
|
29
|
+
gap: var(--ard-_segment-padding);
|
|
30
|
+
--ard-_font-size: 0.85em;
|
|
31
|
+
height: calc(2.42em + 1px);
|
|
32
|
+
font-size: var(--ard-_font-size);
|
|
33
|
+
|
|
34
|
+
.ard-segment-option {
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding: 0 1em;
|
|
37
|
+
height: 100%;
|
|
38
|
+
font-size: 1em;
|
|
39
|
+
min-width: 2.42em;
|
|
40
|
+
border: 1px solid transparent;
|
|
41
|
+
background: transparent;
|
|
42
|
+
position: relative;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
transition:
|
|
45
|
+
color 0.1s $timing-fn,
|
|
46
|
+
opacity 0.1s $timing-fn,
|
|
47
|
+
border-color 0.1s $timing-fn,
|
|
48
|
+
background-color 0.1s $timing-fn;
|
|
49
|
+
outline: none;
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
|
|
53
|
+
&.ard-option-selected {
|
|
54
|
+
position: relative;
|
|
55
|
+
z-index: 2;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.ard-option-disabled {
|
|
59
|
+
opacity: 50%;
|
|
60
|
+
pointer-events: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ard-button-content {
|
|
64
|
+
position: relative;
|
|
65
|
+
z-index: 1;
|
|
66
|
+
width: max-content;
|
|
67
|
+
|
|
68
|
+
.ard-option-label {
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
//! highlighted/selected styling
|
|
76
|
+
.ard-segment-option {
|
|
77
|
+
&.ard-option-highlighted {
|
|
78
|
+
.ard-focus-overlay {
|
|
79
|
+
opacity: 4%;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
&:active {
|
|
83
|
+
.ard-focus-overlay {
|
|
84
|
+
opacity: 12%;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
&.ard-option-selected {
|
|
88
|
+
.ard-focus-overlay {
|
|
89
|
+
opacity: 16%;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
&.ard-using-keyboard {
|
|
94
|
+
.ard-segment-option {
|
|
95
|
+
&.ard-option-highlighted {
|
|
96
|
+
.ard-focus-overlay {
|
|
97
|
+
opacity: 28%;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
&:active {
|
|
101
|
+
.ard-focus-overlay {
|
|
102
|
+
opacity: 34%;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
//! appearances
|
|
109
|
+
&.ard-appearance-transparent {
|
|
110
|
+
background: transparent;
|
|
111
|
+
|
|
112
|
+
.ard-segment-row {
|
|
113
|
+
.ard-segment-option {
|
|
114
|
+
.ard-focus-overlay {
|
|
115
|
+
background-color: var(--ard-cmpcl--content);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&.ard-option-selected {
|
|
119
|
+
color: var(--ard-cmpcl--content);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
&.ard-appearance-outlined,
|
|
125
|
+
&.ard-appearance-outlined-strong {
|
|
126
|
+
background: $bg;
|
|
127
|
+
padding: 0;
|
|
128
|
+
|
|
129
|
+
.ard-segment-option {
|
|
130
|
+
border: 1px solid $border-light;
|
|
131
|
+
|
|
132
|
+
&.ard-option-selected {
|
|
133
|
+
border-color: var(--ard-cmpcl--content);
|
|
134
|
+
color: var(--ard-cmpcl--content);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
&.ard-variant-rounded-connected,
|
|
138
|
+
&.ard-variant-sharp-connected,
|
|
139
|
+
&.ard-variant-pill-connected {
|
|
140
|
+
gap: 0;
|
|
141
|
+
|
|
142
|
+
.ard-segment-row {
|
|
143
|
+
gap: 0;
|
|
144
|
+
|
|
145
|
+
&:not(:first-child) {
|
|
146
|
+
margin-top: -1px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ard-segment-option:not(:first-child) {
|
|
150
|
+
margin-left: -1px;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
&.ard-variant-rounded-connected,
|
|
155
|
+
&.ard-variant-pill-connected.ard-singlerow {
|
|
156
|
+
.ard-segment-row {
|
|
157
|
+
.ard-segment-option {
|
|
158
|
+
border-radius: 0 !important;
|
|
159
|
+
}
|
|
160
|
+
&:first-child {
|
|
161
|
+
.ard-segment-option {
|
|
162
|
+
&:first-child {
|
|
163
|
+
border-top-left-radius: var(--ard-variant-border-radius) !important;
|
|
164
|
+
}
|
|
165
|
+
&:last-child {
|
|
166
|
+
border-top-right-radius: var(--ard-variant-border-radius) !important;
|
|
167
|
+
}
|
|
168
|
+
&:first-child:last-child {
|
|
169
|
+
border-top-right-radius: var(--ard-variant-border-radius) !important;
|
|
170
|
+
border-top-left-radius: var(--ard-variant-border-radius) !important;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
&:last-child {
|
|
175
|
+
.ard-segment-option {
|
|
176
|
+
&:first-child {
|
|
177
|
+
border-bottom-left-radius: var(--ard-variant-border-radius) !important;
|
|
178
|
+
}
|
|
179
|
+
&:last-child {
|
|
180
|
+
border-bottom-right-radius: var(--ard-variant-border-radius) !important;
|
|
181
|
+
}
|
|
182
|
+
&:first-child:last-child {
|
|
183
|
+
border-bottom-right-radius: var(--ard-variant-border-radius) !important;
|
|
184
|
+
border-bottom-left-radius: var(--ard-variant-border-radius) !important;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
&:first-child:last-child {
|
|
189
|
+
.ard-segment-option {
|
|
190
|
+
&:first-child {
|
|
191
|
+
border-top-left-radius: var(--ard-variant-border-radius) !important;
|
|
192
|
+
border-bottom-left-radius: var(--ard-variant-border-radius) !important;
|
|
193
|
+
}
|
|
194
|
+
&:last-child {
|
|
195
|
+
border-top-right-radius: var(--ard-variant-border-radius) !important;
|
|
196
|
+
border-bottom-right-radius: var(--ard-variant-border-radius) !important;
|
|
197
|
+
}
|
|
198
|
+
&:first-child:last-child {
|
|
199
|
+
border-radius: var(--ard-variant-border-radius) !important;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
&.ard-variant-pill-connected.ard-singlerow {
|
|
206
|
+
.ard-segment-row .ard-segment-option {
|
|
207
|
+
&:first-child {
|
|
208
|
+
padding-left: 1.25em;
|
|
209
|
+
}
|
|
210
|
+
&:last-child {
|
|
211
|
+
padding-right: 1.25em;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
&.ard-appearance-outlined-strong {
|
|
217
|
+
.ard-segment-option.ard-option-selected {
|
|
218
|
+
background-color: var(--ard-cmpcl--bg);
|
|
219
|
+
color: var(--ard-cmpcl--on-bg);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
&.ard-appearance-filled {
|
|
223
|
+
position: relative;
|
|
224
|
+
|
|
225
|
+
&::before {
|
|
226
|
+
content: '';
|
|
227
|
+
position: absolute;
|
|
228
|
+
top: 0;
|
|
229
|
+
bottom: 0;
|
|
230
|
+
left: 0;
|
|
231
|
+
right: 0;
|
|
232
|
+
border-radius: inherit;
|
|
233
|
+
background: var(--ard-cmpcl--bg);
|
|
234
|
+
opacity: 15%;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.ard-segment-option {
|
|
238
|
+
&.ard-option-highlighted {
|
|
239
|
+
.ard-focus-overlay {
|
|
240
|
+
opacity: 8%;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
&.ard-option-selected {
|
|
244
|
+
.ard-focus-overlay {
|
|
245
|
+
opacity: 20%;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
&.ard-appearance-filled-strong {
|
|
251
|
+
background: var(--ard-cmpcl--bg);
|
|
252
|
+
border-radius: var(--ard-variant-border-radius);
|
|
253
|
+
|
|
254
|
+
.ard-segment-row {
|
|
255
|
+
.ard-segment-option {
|
|
256
|
+
color: var(--ard-cmpcl--on-bg);
|
|
257
|
+
|
|
258
|
+
.ard-focus-overlay {
|
|
259
|
+
background-color: var(--ard-cmpcl--on-bg);
|
|
260
|
+
}
|
|
261
|
+
&.ard-option-highlighted {
|
|
262
|
+
.ard-focus-overlay {
|
|
263
|
+
opacity: 16%;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
&.ard-option-selected {
|
|
267
|
+
color: var(--ard-cmpcl--content);
|
|
268
|
+
background: var(--ard-cmpcl--on-bg);
|
|
269
|
+
|
|
270
|
+
.ard-focus-overlay {
|
|
271
|
+
opacity: 0;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
//! variants
|
|
279
|
+
&.ard-variant-pill {
|
|
280
|
+
border-radius: 16px;
|
|
281
|
+
|
|
282
|
+
.ard-segment-row {
|
|
283
|
+
.ard-segment-option {
|
|
284
|
+
border-radius: var(--ard-variant-border-radius);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
&.ard-variant-rounded,
|
|
289
|
+
&.ard-variant-rounded-connected {
|
|
290
|
+
--ard-variant-border-radius: 8px;
|
|
291
|
+
border-radius: var(--ard-variant-border-radius);
|
|
292
|
+
|
|
293
|
+
.ard-segment-row {
|
|
294
|
+
.ard-segment-option {
|
|
295
|
+
border-radius: max(1px, calc(var(--ard-variant-border-radius) - var(--ard-_segment-padding)));
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
&.ard-variant-sharp,
|
|
300
|
+
&.ard-variant-sharp-connected {
|
|
301
|
+
border-radius: var(--ard-variant-border-radius);
|
|
302
|
+
|
|
303
|
+
.ard-segment-row {
|
|
304
|
+
.ard-segment-option {
|
|
305
|
+
border-radius: calc(var(--ard-variant-border-radius));
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
&.ard-variant-pill-connected.ard-singlerow {
|
|
310
|
+
--ard-variant-border-radius: 9999px;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
//! compact
|
|
314
|
+
&.ard-compact {
|
|
315
|
+
.ard-segment-row {
|
|
316
|
+
--ard-_font-size: 0.85em;
|
|
317
|
+
height: calc(1.85em + 1px);
|
|
318
|
+
|
|
319
|
+
.ard-segment-option {
|
|
320
|
+
padding: 0 0.5em;
|
|
321
|
+
min-width: 1.85em;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
&.ard-icon-based {
|
|
327
|
+
.ard-segment-row .ard-segment-option {
|
|
328
|
+
padding: 0;
|
|
329
|
+
min-width: unset;
|
|
330
|
+
aspect-ratio: 1;
|
|
331
|
+
justify-content: center;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
//! disabled styling
|
|
336
|
+
&.ard-disabled {
|
|
337
|
+
pointer-events: none;
|
|
338
|
+
opacity: 50%;
|
|
339
|
+
|
|
340
|
+
.ard-focus-overlay {
|
|
341
|
+
opacity: 10%;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
//edge case for no coloring
|
|
345
|
+
&.ard-color-none {
|
|
346
|
+
.ard-button-icon,
|
|
347
|
+
.ard-button-content {
|
|
348
|
+
opacity: 60%;
|
|
349
|
+
}
|
|
350
|
+
.ard-focus-overlay {
|
|
351
|
+
background: var(--ard-cmpcl--overlay);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|