@ardium-ui/ui 1.0.3 → 2.0.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 +28 -42
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +5 -5
- package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +5 -5
- package/esm2022/lib/_internal/disablable-component.mjs +24 -22
- package/esm2022/lib/_internal/focusable-component.mjs +12 -25
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +172 -169
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +115 -120
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +56 -53
- package/esm2022/lib/_internal/models/pagination.model.mjs +72 -106
- package/esm2022/lib/_internal/ngmodel-component.mjs +5 -5
- package/esm2022/lib/_internal/queue.mjs +1 -1
- package/esm2022/lib/_internal/selectable-list-component.mjs +74 -98
- package/esm2022/lib/badge/badge.directive.mjs +70 -99
- package/esm2022/lib/badge/badge.module.mjs +5 -5
- package/esm2022/lib/badge/badge.types.mjs +1 -1
- package/esm2022/lib/badge/index.mjs +4 -0
- package/esm2022/lib/buttons/_button-base.mjs +13 -35
- package/esm2022/lib/buttons/button/button.component.mjs +22 -37
- package/esm2022/lib/buttons/button/button.module.mjs +5 -5
- package/esm2022/lib/buttons/button/index.mjs +3 -0
- package/esm2022/lib/buttons/fab/fab.component.mjs +16 -28
- package/esm2022/lib/buttons/fab/fab.module.mjs +5 -5
- package/esm2022/lib/buttons/fab/index.mjs +3 -0
- package/esm2022/lib/buttons/general-button.types.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +17 -25
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +5 -5
- package/esm2022/lib/buttons/icon-button/index.mjs +3 -0
- package/esm2022/lib/card/card.children.mjs +32 -33
- package/esm2022/lib/card/card.component.mjs +14 -17
- package/esm2022/lib/card/card.module.mjs +5 -5
- package/esm2022/lib/card/card.types.mjs +1 -1
- package/esm2022/lib/card/index.mjs +5 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +33 -46
- package/esm2022/lib/checkbox/checkbox.module.mjs +5 -5
- package/esm2022/lib/checkbox/checkbox.types.mjs +1 -1
- package/esm2022/lib/checkbox/index.mjs +4 -0
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +31 -57
- package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +5 -5
- package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +1 -1
- package/esm2022/lib/checkbox-list/index.mjs +4 -0
- package/esm2022/lib/chip/chip.component.mjs +22 -42
- package/esm2022/lib/chip/chip.module.mjs +5 -5
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +28 -53
- package/esm2022/lib/chip/index.mjs +5 -0
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +25 -49
- package/esm2022/lib/color/color-display/color-display.component.mjs +15 -32
- package/esm2022/lib/color/color-display/color-display.module.mjs +5 -5
- package/esm2022/lib/color/color-display/color-display.types.mjs +1 -1
- package/esm2022/lib/color/color-display/index.mjs +4 -0
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +1 -1
- package/esm2022/lib/dialog/dialog.component.mjs +54 -130
- package/esm2022/lib/dialog/dialog.directives.mjs +4 -4
- package/esm2022/lib/dialog/dialog.module.mjs +5 -5
- package/esm2022/lib/dialog/dialog.types.mjs +1 -1
- package/esm2022/lib/dialog/index.mjs +5 -0
- package/esm2022/lib/divider/divider.component.mjs +9 -14
- package/esm2022/lib/divider/divider.module.mjs +5 -5
- package/esm2022/lib/divider/index.mjs +3 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +40 -59
- package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +5 -5
- package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +1 -1
- package/esm2022/lib/dropdown-panel/index.mjs +4 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +12 -17
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +10 -10
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +6 -6
- package/esm2022/lib/file-inputs/file-drop-area/index.mjs +4 -0
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +24 -50
- package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +19 -19
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +5 -5
- package/esm2022/lib/file-inputs/file-input/index.mjs +4 -0
- package/esm2022/lib/file-inputs/file-input-base.mjs +38 -72
- package/esm2022/lib/file-inputs/file-input-types.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +20 -47
- package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +7 -7
- package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +5 -5
- package/esm2022/lib/form-field-frame/index.mjs +4 -0
- package/esm2022/lib/icon/icon.component.mjs +32 -67
- package/esm2022/lib/icon/icon.module.mjs +5 -5
- package/esm2022/lib/icon/icon.pipe.mjs +4 -4
- package/esm2022/lib/icon/index.mjs +4 -0
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +25 -25
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +65 -115
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +83 -92
- package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +5 -5
- 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 +4 -0
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +59 -122
- package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +10 -10
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +24 -8
- package/esm2022/lib/inputs/hex-input/index.mjs +4 -0
- package/esm2022/lib/inputs/hex-input.model.mjs +24 -33
- package/esm2022/lib/inputs/input/index.mjs +4 -0
- package/esm2022/lib/inputs/input/input.component.mjs +95 -154
- package/esm2022/lib/inputs/input/input.directives.mjs +16 -16
- package/esm2022/lib/inputs/input/input.module.mjs +21 -7
- package/esm2022/lib/inputs/input-transformers.mjs +6 -6
- package/esm2022/lib/inputs/input-types.mjs +1 -1
- package/esm2022/lib/inputs/input-utils.mjs +75 -94
- package/esm2022/lib/inputs/number-input/index.mjs +4 -0
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +106 -170
- package/esm2022/lib/inputs/number-input/number-input.directives.mjs +4 -4
- package/esm2022/lib/inputs/number-input/number-input.module.mjs +5 -5
- package/esm2022/lib/inputs/password-input/index.mjs +5 -0
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +74 -144
- package/esm2022/lib/inputs/password-input/password-input.directives.mjs +13 -13
- package/esm2022/lib/inputs/password-input/password-input.module.mjs +5 -5
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/index.mjs +4 -0
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +57 -110
- package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +10 -10
- package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +5 -5
- package/esm2022/lib/kbd/index.mjs +4 -0
- package/esm2022/lib/kbd/kbd.component.mjs +15 -29
- package/esm2022/lib/kbd/kbd.module.mjs +5 -5
- package/esm2022/lib/kbd/kbd.pipe.mjs +4 -4
- package/esm2022/lib/kbd-shortcut/index.mjs +3 -0
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +23 -40
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +5 -5
- package/esm2022/lib/modal/index.mjs +3 -0
- package/esm2022/lib/modal/modal.component.mjs +42 -83
- package/esm2022/lib/modal/modal.module.mjs +5 -5
- package/esm2022/lib/option/index.mjs +3 -0
- package/esm2022/lib/option/option.component.mjs +24 -46
- package/esm2022/lib/option/option.module.mjs +5 -5
- package/esm2022/lib/progress-bar/index.mjs +5 -0
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +43 -81
- package/esm2022/lib/progress-bar/progress-bar.directive.mjs +4 -4
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +5 -5
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
- package/esm2022/lib/progress-circle/index.mjs +5 -0
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +33 -78
- package/esm2022/lib/progress-circle/progress-circle.directive.mjs +4 -4
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +5 -5
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
- package/esm2022/lib/radio/index.mjs +4 -0
- package/esm2022/lib/radio/radio/radio.component.mjs +16 -25
- package/esm2022/lib/radio/radio-group.component.mjs +71 -85
- package/esm2022/lib/radio/radio.module.mjs +5 -5
- package/esm2022/lib/search-functions.mjs +7 -7
- package/esm2022/lib/segment/index.mjs +5 -0
- package/esm2022/lib/segment/segment.component.mjs +70 -137
- package/esm2022/lib/segment/segment.directives.mjs +4 -4
- package/esm2022/lib/segment/segment.module.mjs +5 -5
- package/esm2022/lib/segment/segment.types.mjs +1 -1
- package/esm2022/lib/select/index.mjs +5 -0
- package/esm2022/lib/select/select.component.mjs +348 -655
- package/esm2022/lib/select/select.directive.mjs +46 -46
- package/esm2022/lib/select/select.module.mjs +5 -5
- package/esm2022/lib/select/select.types.mjs +1 -1
- package/esm2022/lib/slide-toggle/index.mjs +4 -0
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +19 -24
- package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +5 -5
- package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +5 -0
- package/esm2022/lib/slider/abstract-slider.mjs +111 -200
- package/esm2022/lib/slider/index.mjs +7 -0
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +26 -23
- package/esm2022/lib/slider/range-slider/range-slider.module.mjs +5 -5
- package/esm2022/lib/slider/slider.component.mjs +13 -10
- package/esm2022/lib/slider/slider.directive.mjs +4 -4
- package/esm2022/lib/slider/slider.module.mjs +7 -7
- 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 +8 -8
- package/esm2022/lib/snackbar/snackbar.service.mjs +13 -12
- package/esm2022/lib/snackbar/snackbar.token.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
- package/esm2022/lib/spinner/index.mjs +3 -0
- package/esm2022/lib/spinner/spinner.component.mjs +9 -13
- package/esm2022/lib/spinner/spinner.module.mjs +5 -5
- package/esm2022/lib/star/index.mjs +4 -0
- package/esm2022/lib/star/star-button/index.mjs +3 -0
- package/esm2022/lib/star/star-button/star-button.component.mjs +17 -26
- package/esm2022/lib/star/star-button/star-button.module.mjs +5 -5
- package/esm2022/lib/star/star-display/index.mjs +3 -0
- package/esm2022/lib/star/star-display/star-display.component.mjs +48 -55
- package/esm2022/lib/star/star-display/star-display.module.mjs +5 -5
- package/esm2022/lib/star/star-input/index.mjs +3 -0
- package/esm2022/lib/star/star-input/star-input.component.mjs +70 -106
- package/esm2022/lib/star/star-input/star-input.module.mjs +5 -5
- package/esm2022/lib/star/star.component.mjs +12 -20
- package/esm2022/lib/star/star.module.mjs +5 -5
- package/esm2022/lib/star/star.types.mjs +1 -1
- package/esm2022/lib/statebox/index.mjs +3 -0
- package/esm2022/lib/statebox/statebox.component.mjs +64 -102
- package/esm2022/lib/statebox/statebox.module.mjs +5 -5
- package/esm2022/lib/statebox/statebox.types.mjs +1 -1
- package/esm2022/lib/tabber/index.mjs +4 -0
- package/esm2022/lib/tabber/tab/tab.component.mjs +42 -0
- package/esm2022/lib/tabber/tabber.component.mjs +83 -0
- package/esm2022/lib/tabber/tabber.module.mjs +19 -0
- package/esm2022/lib/table/index.mjs +5 -0
- package/esm2022/lib/table/table-item-storage.mjs +204 -200
- package/esm2022/lib/table/table.component.mjs +184 -304
- package/esm2022/lib/table/table.directives.mjs +19 -21
- package/esm2022/lib/table/table.module.mjs +5 -5
- 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 +3 -0
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +85 -29
- package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +5 -5
- package/esm2022/lib/table-pagination/index.mjs +4 -0
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +46 -114
- package/esm2022/lib/table-pagination/table-pagination.module.mjs +5 -5
- 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 +2 -2
- package/esm2022/public-api.mjs +58 -182
- package/fesm2022/ardium-ui-ui.mjs +7847 -11692
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/boolean-component.d.ts +8 -9
- package/lib/_internal/clear-button/clear-button.component.d.ts +1 -1
- package/lib/_internal/disablable-component.d.ts +12 -7
- package/lib/_internal/focusable-component.d.ts +5 -7
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +43 -41
- package/lib/_internal/item-storages/simple-item-storage.d.ts +28 -25
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +14 -9
- package/lib/_internal/models/pagination.model.d.ts +38 -42
- package/lib/_internal/ngmodel-component.d.ts +1 -1
- package/lib/_internal/selectable-list-component.d.ts +30 -30
- package/lib/badge/badge.directive.d.ts +15 -20
- package/lib/badge/index.d.ts +3 -0
- package/lib/buttons/_button-base.d.ts +9 -12
- package/lib/buttons/button/button.component.d.ts +6 -8
- package/lib/buttons/button/index.d.ts +2 -0
- package/lib/buttons/fab/fab.component.d.ts +4 -6
- package/lib/buttons/fab/index.d.ts +2 -0
- package/lib/buttons/icon-button/icon-button.component.d.ts +6 -7
- package/lib/buttons/icon-button/index.d.ts +2 -0
- package/lib/card/card.children.d.ts +4 -3
- package/lib/card/card.component.d.ts +5 -4
- package/lib/card/index.d.ts +4 -0
- package/lib/checkbox/checkbox.component.d.ts +8 -12
- package/lib/checkbox/index.d.ts +3 -0
- package/lib/checkbox-list/checkbox-list.component.d.ts +22 -21
- package/lib/checkbox-list/index.d.ts +3 -0
- package/lib/chip/chip.component.d.ts +8 -10
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +11 -14
- package/lib/chip/index.d.ts +4 -0
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +10 -12
- package/lib/color/color-display/color-display.component.d.ts +6 -9
- package/lib/color/color-display/index.d.ts +3 -0
- package/lib/color/color-picker/color-picker.types.d.ts +4 -4
- package/lib/dialog/dialog.component.d.ts +25 -35
- package/lib/dialog/dialog.types.d.ts +2 -2
- package/lib/dialog/index.d.ts +4 -0
- package/lib/divider/divider.component.d.ts +3 -4
- package/lib/divider/index.d.ts +2 -0
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +17 -20
- package/lib/dropdown-panel/index.d.ts +3 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +5 -4
- package/lib/file-inputs/file-drop-area/index.d.ts +3 -0
- package/lib/file-inputs/file-input/file-input.component.d.ts +13 -17
- package/lib/file-inputs/file-input/index.d.ts +3 -0
- package/lib/file-inputs/file-input-base.d.ts +13 -18
- package/lib/form-field-frame/form-field-frame.component.d.ts +12 -16
- package/lib/form-field-frame/index.d.ts +3 -0
- package/lib/icon/icon.component.d.ts +10 -19
- package/lib/icon/index.d.ts +3 -0
- package/lib/inputs/color-input/color-input.types.d.ts +2 -2
- package/lib/inputs/digit-input/digit-input.component.d.ts +22 -30
- package/lib/inputs/digit-input/digit-input.model.d.ts +8 -12
- package/lib/inputs/digit-input/digit-input.types.d.ts +4 -4
- package/lib/inputs/digit-input/digit-input.utils.d.ts +4 -5
- package/lib/inputs/digit-input/index.d.ts +3 -0
- package/lib/inputs/hex-input/hex-input.component.d.ts +32 -38
- package/lib/inputs/hex-input/index.d.ts +3 -0
- package/lib/inputs/hex-input.model.d.ts +10 -11
- package/lib/inputs/input/index.d.ts +3 -0
- package/lib/inputs/input/input.component.d.ts +34 -40
- package/lib/inputs/input/input.directives.d.ts +3 -3
- package/lib/inputs/input-utils.d.ts +24 -27
- package/lib/inputs/number-input/index.d.ts +3 -0
- package/lib/inputs/number-input/number-input.component.d.ts +38 -48
- package/lib/inputs/password-input/index.d.ts +4 -0
- package/lib/inputs/password-input/password-input.component.d.ts +28 -40
- package/lib/inputs/password-input/password-input.types.d.ts +2 -2
- package/lib/inputs/simple-input/index.d.ts +3 -0
- package/lib/inputs/simple-input/simple-input.component.d.ts +30 -35
- package/lib/kbd/index.d.ts +3 -0
- package/lib/kbd/kbd.component.d.ts +6 -8
- package/lib/kbd-shortcut/index.d.ts +2 -0
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +7 -10
- package/lib/modal/index.d.ts +2 -0
- package/lib/modal/modal.component.d.ts +22 -30
- package/lib/option/index.d.ts +2 -0
- package/lib/option/option.component.d.ts +11 -16
- package/lib/progress-bar/index.d.ts +4 -0
- package/lib/progress-bar/progress-bar.component.d.ts +14 -20
- package/lib/progress-bar/progress-bar.types.d.ts +2 -2
- package/lib/progress-circle/index.d.ts +4 -0
- package/lib/progress-circle/progress-circle.component.d.ts +12 -20
- package/lib/progress-circle/progress-circle.types.d.ts +2 -2
- package/lib/radio/index.d.ts +3 -0
- package/lib/radio/radio/radio.component.d.ts +7 -8
- package/lib/radio/radio-group.component.d.ts +13 -16
- package/lib/segment/index.d.ts +4 -0
- package/lib/segment/segment.component.d.ts +22 -34
- package/lib/segment/segment.directives.d.ts +2 -3
- package/lib/select/index.d.ts +4 -0
- package/lib/select/select.component.d.ts +114 -160
- package/lib/select/select.directive.d.ts +3 -3
- package/lib/select/select.types.d.ts +2 -76
- package/lib/slide-toggle/index.d.ts +3 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +9 -7
- package/lib/slide-toggle/slide-toggle.types.d.ts +5 -0
- package/lib/slider/abstract-slider.d.ts +38 -55
- package/lib/slider/index.d.ts +6 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +3 -1
- package/lib/slider/slider.component.d.ts +2 -0
- package/lib/slider/slider.types.d.ts +8 -8
- package/lib/snackbar/snackbar-ref.d.ts +1 -2
- package/lib/snackbar/snackbar.component.d.ts +3 -3
- package/lib/snackbar/snackbar.service.d.ts +2 -2
- package/lib/snackbar/snackbar.types.d.ts +4 -4
- package/lib/spinner/index.d.ts +2 -0
- package/lib/spinner/spinner.component.d.ts +3 -3
- package/lib/star/index.d.ts +3 -0
- package/lib/star/star-button/index.d.ts +2 -0
- package/lib/star/star-button/star-button.component.d.ts +7 -7
- package/lib/star/star-display/index.d.ts +2 -0
- package/lib/star/star-display/star-display.component.d.ts +8 -12
- package/lib/star/star-input/index.d.ts +2 -0
- package/lib/star/star-input/star-input.component.d.ts +17 -22
- package/lib/star/star.component.d.ts +5 -5
- package/lib/statebox/index.d.ts +3 -0
- package/lib/statebox/statebox.component.d.ts +15 -21
- package/lib/statebox/statebox.types.d.ts +12 -8
- package/lib/tabber/index.d.ts +3 -0
- package/lib/tabber/tab/tab.component.d.ts +18 -0
- package/lib/tabber/tabber.component.d.ts +25 -0
- package/lib/tabber/tabber.module.d.ts +9 -0
- package/lib/table/index.d.ts +4 -0
- package/lib/table/table-item-storage.d.ts +70 -58
- package/lib/table/table.component.d.ts +59 -78
- package/lib/table/table.directives.d.ts +4 -3
- package/lib/table-from-csv/index.d.ts +2 -0
- package/lib/table-from-csv/table-from-csv.component.d.ts +46 -9
- package/lib/table-pagination/index.d.ts +3 -0
- package/lib/table-pagination/table-pagination.component.d.ts +21 -30
- package/lib/types/item-storage.types.d.ts +19 -18
- package/lib/types/utility.types.d.ts +2 -1
- package/package.json +8 -9
- package/prebuilt-themes/default/badge.css +5 -5
- package/prebuilt-themes/default/buttons/fab.css +4 -3
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/card.css +7 -7
- package/prebuilt-themes/default/chips.css +3 -8
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/core.css +6 -3
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +139 -2
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +2 -2
- package/prebuilt-themes/default/inputs/input.css +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +1 -1
- package/prebuilt-themes/default/inputs/simple-input.css +1 -1
- package/prebuilt-themes/default/modal.css +1 -1
- package/prebuilt-themes/default/segment.css +2 -2
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +5 -3
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +0 -1
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +207 -0
- package/prebuilt-themes/default/tabber.css.map +1 -0
- package/public-api.d.ts +43 -136
- 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/_mixins.scss +70 -70
- package/themes/default/badge.scss +94 -94
- package/themes/default/buttons/_button-mixins.scss +144 -144
- package/themes/default/buttons/button.scss +62 -62
- package/themes/default/buttons/fab.scss +74 -72
- package/themes/default/buttons/icon-button.scss +59 -59
- package/themes/default/calendar.scss +182 -182
- package/themes/default/card.scss +126 -126
- package/themes/default/checkbox-list.scss +83 -83
- package/themes/default/checkbox.scss +109 -109
- package/themes/default/chips.scss +200 -206
- package/themes/default/color-display.scss +41 -41
- package/themes/default/color-picker.scss +111 -111
- package/themes/default/core.scss +99 -96
- 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/form-field-frame.scss +78 -78
- package/themes/default/inputs/_shared.scss +46 -46
- package/themes/default/inputs/color-input.scss +46 -46
- package/themes/default/inputs/digit-input.scss +56 -56
- package/themes/default/inputs/file-input.scss +85 -78
- package/themes/default/inputs/hex-input.scss +27 -27
- package/themes/default/inputs/input.scss +52 -52
- package/themes/default/inputs/number-input.scss +121 -121
- package/themes/default/inputs/password-input.scss +43 -43
- package/themes/default/inputs/search-bar.scss +19 -19
- package/themes/default/inputs/simple-input.scss +19 -19
- package/themes/default/kbd-shortcut.scss +13 -13
- package/themes/default/kbd.scss +20 -20
- package/themes/default/modal.scss +93 -93
- 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 +340 -339
- package/themes/default/select.scss +255 -253
- package/themes/default/slide-toggle.scss +151 -151
- package/themes/default/slider.scss +224 -224
- package/themes/default/snackbar.scss +58 -60
- package/themes/default/spinner.scss +21 -21
- package/themes/default/stars.scss +122 -122
- package/themes/default/statebox.scss +109 -109
- package/themes/default/tabber.scss +86 -0
- package/themes/default/table-pagination.scss +56 -56
- package/themes/default/table.scss +403 -403
- package/esm2022/lib/calendar/calendar.component.mjs +0 -979
- package/esm2022/lib/calendar/calendar.directives.mjs +0 -107
- package/esm2022/lib/calendar/calendar.helpers.mjs +0 -47
- package/esm2022/lib/calendar/calendar.module.mjs +0 -21
- package/esm2022/lib/calendar/calendar.types.mjs +0 -11
- package/esm2022/lib/color/color-picker/color-picker.component.mjs +0 -484
- package/esm2022/lib/color/color-picker/color-picker.directives.mjs +0 -55
- package/esm2022/lib/color/color-picker/color-picker.module.mjs +0 -43
- package/esm2022/lib/inputs/color-input/color-input.component.mjs +0 -421
- package/esm2022/lib/inputs/color-input/color-input.module.mjs +0 -85
- package/lib/calendar/calendar.component.d.ts +0 -155
- package/lib/calendar/calendar.directives.d.ts +0 -51
- package/lib/calendar/calendar.helpers.d.ts +0 -15
- package/lib/calendar/calendar.module.d.ts +0 -11
- package/lib/calendar/calendar.types.d.ts +0 -80
- package/lib/color/color-picker/color-picker.component.d.ts +0 -125
- package/lib/color/color-picker/color-picker.directives.d.ts +0 -27
- package/lib/color/color-picker/color-picker.module.d.ts +0 -13
- package/lib/inputs/color-input/color-input.component.d.ts +0 -147
- package/lib/inputs/color-input/color-input.module.d.ts +0 -16
|
@@ -1,72 +1,74 @@
|
|
|
1
|
-
@use './button-mixins' as shared;
|
|
2
|
-
@use '../mixins' as CM;
|
|
3
|
-
|
|
4
|
-
ard-fab {
|
|
5
|
-
margin: 8px;
|
|
6
|
-
display: block;
|
|
7
|
-
width: max-content;
|
|
8
|
-
height: max-content;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ard-fab {
|
|
12
|
-
@include shared.button;
|
|
13
|
-
height: var(--ard-_fab-size);
|
|
14
|
-
width: var(--ard-_fab-size);
|
|
15
|
-
font-weight: 900;
|
|
16
|
-
user-select: none;
|
|
17
|
-
border-radius: 999px;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
margin: 0;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
max-width
|
|
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
|
-
|
|
1
|
+
@use './button-mixins' as shared;
|
|
2
|
+
@use '../mixins' as CM;
|
|
3
|
+
|
|
4
|
+
ard-fab {
|
|
5
|
+
margin: 8px;
|
|
6
|
+
display: block;
|
|
7
|
+
width: max-content;
|
|
8
|
+
height: max-content;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ard-fab {
|
|
12
|
+
@include shared.button;
|
|
13
|
+
height: var(--ard-_fab-size);
|
|
14
|
+
width: var(--ard-_fab-size);
|
|
15
|
+
font-weight: 900;
|
|
16
|
+
user-select: none;
|
|
17
|
+
border-radius: 999px;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
margin: 0;
|
|
20
|
+
|
|
21
|
+
&.ard-fab-size-standard {
|
|
22
|
+
--ard-_fab-size: 3.5rem;
|
|
23
|
+
font-size: 1.75rem;
|
|
24
|
+
}
|
|
25
|
+
&.ard-fab-size-small {
|
|
26
|
+
--ard-_fab-size: 2.5rem;
|
|
27
|
+
font-size: 0.875rem;
|
|
28
|
+
}
|
|
29
|
+
&.ard-fab-extended {
|
|
30
|
+
min-width: var(--ard-_fab-size);
|
|
31
|
+
width: max-content;
|
|
32
|
+
font-weight: unset;
|
|
33
|
+
|
|
34
|
+
.ard-button-content {
|
|
35
|
+
gap: 0.75em;
|
|
36
|
+
max-width: 10em;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ard-button-content {
|
|
41
|
+
gap: 1em;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
justify-content: flex-start !important;
|
|
44
|
+
max-width: 1.5em;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
transition: max-width 0.5s ease;
|
|
47
|
+
|
|
48
|
+
ard-icon {
|
|
49
|
+
font-size: 1em;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.ard-appearance-transparent {
|
|
54
|
+
@include CM.focus-overlay-scale-addon();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
ard-fab.ard-disabled {
|
|
59
|
+
> .ard-fab {
|
|
60
|
+
@include shared.button-disabled;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@keyframes maxWidth {
|
|
65
|
+
0% {
|
|
66
|
+
max-width: 1.5em;
|
|
67
|
+
}
|
|
68
|
+
99% {
|
|
69
|
+
max-width: 21em;
|
|
70
|
+
}
|
|
71
|
+
100% {
|
|
72
|
+
max-width: unset;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
@use './button-mixins' as shared;
|
|
2
|
-
|
|
3
|
-
ard-icon-button {
|
|
4
|
-
height: max-content;
|
|
5
|
-
width: max-content;
|
|
6
|
-
border-radius: 9999px;
|
|
7
|
-
aspect-ratio: 1;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ard-icon-button {
|
|
12
|
-
@include shared.button;
|
|
13
|
-
background: transparent;
|
|
14
|
-
height: 2.1875rem;
|
|
15
|
-
border-radius: 9999px;
|
|
16
|
-
aspect-ratio: 1;
|
|
17
|
-
align-items: center;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
padding: 0;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
font-weight: 600;
|
|
22
|
-
color: var(--ard-cmpcl--bg-colored) !important;
|
|
23
|
-
|
|
24
|
-
.ard-button-content {
|
|
25
|
-
font-size: 1.25rem;
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
|
|
29
|
-
> ard-icon {
|
|
30
|
-
font-weight: 500;
|
|
31
|
-
font-size: 1.5rem;
|
|
32
|
-
font-variation-settings: 'FILL' 1;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
//! compact
|
|
37
|
-
&.ard-compact {
|
|
38
|
-
font-size: 0.75rem;
|
|
39
|
-
height: 1.6875rem;
|
|
40
|
-
|
|
41
|
-
.ard-button-content {
|
|
42
|
-
font-size: 1.0625rem;
|
|
43
|
-
|
|
44
|
-
> ard-icon {
|
|
45
|
-
font-size: 1.25rem;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
ard-icon-button.ard-disabled {
|
|
52
|
-
> .ard-icon-button {
|
|
53
|
-
@include shared.button-disabled;
|
|
54
|
-
|
|
55
|
-
.ard-focus-overlay {
|
|
56
|
-
opacity: 0;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
@use './button-mixins' as shared;
|
|
2
|
+
|
|
3
|
+
ard-icon-button {
|
|
4
|
+
height: max-content;
|
|
5
|
+
width: max-content;
|
|
6
|
+
border-radius: 9999px;
|
|
7
|
+
aspect-ratio: 1;
|
|
8
|
+
display: inline-block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ard-icon-button {
|
|
12
|
+
@include shared.button;
|
|
13
|
+
background: transparent;
|
|
14
|
+
height: 2.1875rem;
|
|
15
|
+
border-radius: 9999px;
|
|
16
|
+
aspect-ratio: 1;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
padding: 0;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
font-weight: 600;
|
|
22
|
+
color: var(--ard-cmpcl--bg-colored) !important;
|
|
23
|
+
|
|
24
|
+
.ard-button-content {
|
|
25
|
+
font-size: 1.25rem;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
|
|
29
|
+
> ard-icon {
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
font-size: 1.5rem;
|
|
32
|
+
font-variation-settings: 'FILL' 1;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
//! compact
|
|
37
|
+
&.ard-compact {
|
|
38
|
+
font-size: 0.75rem;
|
|
39
|
+
height: 1.6875rem;
|
|
40
|
+
|
|
41
|
+
.ard-button-content {
|
|
42
|
+
font-size: 1.0625rem;
|
|
43
|
+
|
|
44
|
+
> ard-icon {
|
|
45
|
+
font-size: 1.25rem;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
ard-icon-button.ard-disabled {
|
|
52
|
+
> .ard-icon-button {
|
|
53
|
+
@include shared.button-disabled;
|
|
54
|
+
|
|
55
|
+
.ard-focus-overlay {
|
|
56
|
+
opacity: 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -1,182 +1,182 @@
|
|
|
1
|
-
@use './dropdown-arrow.scss' as DA;
|
|
2
|
-
@use './mixins.scss' as DM;
|
|
3
|
-
@use './coloring.scss' as CM;
|
|
4
|
-
@import '../variables';
|
|
5
|
-
|
|
6
|
-
.ard-calendar {
|
|
7
|
-
@include CM.typeColors();
|
|
8
|
-
width: 18.5rem;
|
|
9
|
-
background: $bg;
|
|
10
|
-
user-select: none;
|
|
11
|
-
|
|
12
|
-
.ard-calendar-header-container {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: stretch;
|
|
16
|
-
|
|
17
|
-
.ard-calendar-days-view-header {
|
|
18
|
-
width: 100%;
|
|
19
|
-
display: flex;
|
|
20
|
-
justify-content: space-between;
|
|
21
|
-
|
|
22
|
-
.ard-calendar-header-button .ard-button-content {
|
|
23
|
-
display: flex;
|
|
24
|
-
gap: 0.375rem;
|
|
25
|
-
align-items: center;
|
|
26
|
-
|
|
27
|
-
.ard-dropdown-arrow {
|
|
28
|
-
@include DA.dropdown-arrow();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
.ard-calendar-arrows {
|
|
32
|
-
display: flex;
|
|
33
|
-
gap: 0.375rem;
|
|
34
|
-
|
|
35
|
-
> ard-fab {
|
|
36
|
-
margin: 0;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
//! main container
|
|
42
|
-
.ard-calendar-main-container {
|
|
43
|
-
padding: 0.375rem;
|
|
44
|
-
padding-top: 0;
|
|
45
|
-
}
|
|
46
|
-
//! calendar entries
|
|
47
|
-
.ard-calendar-entry {
|
|
48
|
-
z-index: 1;
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
outline: none;
|
|
51
|
-
|
|
52
|
-
.ard-calendar-entry-button {
|
|
53
|
-
$_margin: 0.125rem;
|
|
54
|
-
background: transparent;
|
|
55
|
-
border: 1px solid transparent;
|
|
56
|
-
width: calc(100% - #{$_margin * 2});
|
|
57
|
-
height: calc(100% - #{$_margin * 2});
|
|
58
|
-
padding: 0;
|
|
59
|
-
position: relative;
|
|
60
|
-
border-radius: 9999px;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
margin: $_margin;
|
|
63
|
-
|
|
64
|
-
.ard-focus-overlay {
|
|
65
|
-
@include DM.focus-overlay();
|
|
66
|
-
z-index: -1;
|
|
67
|
-
background: var(--ard-cmpcl--bg-colored);
|
|
68
|
-
border: 2px solid transparent;
|
|
69
|
-
transition:
|
|
70
|
-
border-color 0.2s ease,
|
|
71
|
-
opacity 0.2s ease;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
&.ard-calendar-entry-empty {
|
|
75
|
-
cursor: default;
|
|
76
|
-
}
|
|
77
|
-
&.ard-calendar-today {
|
|
78
|
-
.ard-calendar-entry-button {
|
|
79
|
-
border-color: $detail;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
&.ard-calendar-entry-highlighted {
|
|
83
|
-
.ard-focus-overlay {
|
|
84
|
-
opacity: 20%;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
&.ard-calendar-entry-selected {
|
|
88
|
-
.ard-calendar-entry-button {
|
|
89
|
-
color: var(--ard-cmpcl--on-bg-colored);
|
|
90
|
-
}
|
|
91
|
-
.ard-focus-overlay {
|
|
92
|
-
opacity: 100%;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&.ard-calendar-today {
|
|
96
|
-
.ard-focus-overlay {
|
|
97
|
-
border-color: $bg;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
//! days view
|
|
103
|
-
.ard-calendar-grid {
|
|
104
|
-
display: grid;
|
|
105
|
-
grid-template-columns: repeat(7, 1fr);
|
|
106
|
-
|
|
107
|
-
> * {
|
|
108
|
-
max-width: 100%;
|
|
109
|
-
box-sizing: border-box;
|
|
110
|
-
aspect-ratio: 1;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
.ard-calendar-day-labels {
|
|
114
|
-
font-size: 0.8125rem;
|
|
115
|
-
color: $text3;
|
|
116
|
-
height: 1.25rem;
|
|
117
|
-
position: relative;
|
|
118
|
-
|
|
119
|
-
> * {
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
aspect-ratio: unset;
|
|
124
|
-
}
|
|
125
|
-
&::after {
|
|
126
|
-
content: '';
|
|
127
|
-
position: absolute;
|
|
128
|
-
width: 100%;
|
|
129
|
-
height: 1px;
|
|
130
|
-
background: $detail-ultralight;
|
|
131
|
-
bottom: 0;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
.ard-calendar-main-grid {
|
|
135
|
-
position: relative;
|
|
136
|
-
|
|
137
|
-
&.ard-reserve-top-row {
|
|
138
|
-
padding-top: 14.285714%;
|
|
139
|
-
}
|
|
140
|
-
.ard-calendar-floating-month {
|
|
141
|
-
position: absolute;
|
|
142
|
-
top: 0;
|
|
143
|
-
left: 0;
|
|
144
|
-
width: 100%;
|
|
145
|
-
box-sizing: border-box;
|
|
146
|
-
aspect-ratio: 7;
|
|
147
|
-
padding-left: 0.5rem;
|
|
148
|
-
display: flex;
|
|
149
|
-
align-items: center;
|
|
150
|
-
font-size: 0.875rem;
|
|
151
|
-
font-weight: 500;
|
|
152
|
-
color: $text3;
|
|
153
|
-
letter-spacing: 0.5px;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
//! years & months view
|
|
157
|
-
.ard-calendar-simple-grid {
|
|
158
|
-
border-top: 1px solid $detail-ultralight;
|
|
159
|
-
margin-top: 0.25rem;
|
|
160
|
-
display: grid;
|
|
161
|
-
grid-template-columns: repeat(4, 1fr);
|
|
162
|
-
grid-template-rows: repeat(6, 1fr);
|
|
163
|
-
|
|
164
|
-
> * {
|
|
165
|
-
max-width: 100%;
|
|
166
|
-
box-sizing: border-box;
|
|
167
|
-
aspect-ratio: 7/4; //it has to be the same height as in the days view
|
|
168
|
-
//before it was 7/7 (1) because there are 7 entries in a single row
|
|
169
|
-
//now there are 4 entries, and thus 7/4
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
//! interactions
|
|
173
|
-
&.ard-calendar-nointeract {
|
|
174
|
-
.ard-calendar-main-container {
|
|
175
|
-
pointer-events: none;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
//! static height
|
|
179
|
-
&.ard-calendar-static-height {
|
|
180
|
-
height: 19.5rem;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
1
|
+
@use './dropdown-arrow.scss' as DA;
|
|
2
|
+
@use './mixins.scss' as DM;
|
|
3
|
+
@use './coloring.scss' as CM;
|
|
4
|
+
@import '../variables';
|
|
5
|
+
|
|
6
|
+
.ard-calendar {
|
|
7
|
+
@include CM.typeColors();
|
|
8
|
+
width: 18.5rem;
|
|
9
|
+
background: $bg;
|
|
10
|
+
user-select: none;
|
|
11
|
+
|
|
12
|
+
.ard-calendar-header-container {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: stretch;
|
|
16
|
+
|
|
17
|
+
.ard-calendar-days-view-header {
|
|
18
|
+
width: 100%;
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
|
|
22
|
+
.ard-calendar-header-button .ard-button-content {
|
|
23
|
+
display: flex;
|
|
24
|
+
gap: 0.375rem;
|
|
25
|
+
align-items: center;
|
|
26
|
+
|
|
27
|
+
.ard-dropdown-arrow {
|
|
28
|
+
@include DA.dropdown-arrow();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.ard-calendar-arrows {
|
|
32
|
+
display: flex;
|
|
33
|
+
gap: 0.375rem;
|
|
34
|
+
|
|
35
|
+
> ard-fab {
|
|
36
|
+
margin: 0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//! main container
|
|
42
|
+
.ard-calendar-main-container {
|
|
43
|
+
padding: 0.375rem;
|
|
44
|
+
padding-top: 0;
|
|
45
|
+
}
|
|
46
|
+
//! calendar entries
|
|
47
|
+
.ard-calendar-entry {
|
|
48
|
+
z-index: 1;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
outline: none;
|
|
51
|
+
|
|
52
|
+
.ard-calendar-entry-button {
|
|
53
|
+
$_margin: 0.125rem;
|
|
54
|
+
background: transparent;
|
|
55
|
+
border: 1px solid transparent;
|
|
56
|
+
width: calc(100% - #{$_margin * 2});
|
|
57
|
+
height: calc(100% - #{$_margin * 2});
|
|
58
|
+
padding: 0;
|
|
59
|
+
position: relative;
|
|
60
|
+
border-radius: 9999px;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
margin: $_margin;
|
|
63
|
+
|
|
64
|
+
.ard-focus-overlay {
|
|
65
|
+
@include DM.focus-overlay();
|
|
66
|
+
z-index: -1;
|
|
67
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
68
|
+
border: 2px solid transparent;
|
|
69
|
+
transition:
|
|
70
|
+
border-color 0.2s ease,
|
|
71
|
+
opacity 0.2s ease;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
&.ard-calendar-entry-empty {
|
|
75
|
+
cursor: default;
|
|
76
|
+
}
|
|
77
|
+
&.ard-calendar-today {
|
|
78
|
+
.ard-calendar-entry-button {
|
|
79
|
+
border-color: $detail;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
&.ard-calendar-entry-highlighted {
|
|
83
|
+
.ard-focus-overlay {
|
|
84
|
+
opacity: 20%;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
&.ard-calendar-entry-selected {
|
|
88
|
+
.ard-calendar-entry-button {
|
|
89
|
+
color: var(--ard-cmpcl--on-bg-colored);
|
|
90
|
+
}
|
|
91
|
+
.ard-focus-overlay {
|
|
92
|
+
opacity: 100%;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&.ard-calendar-today {
|
|
96
|
+
.ard-focus-overlay {
|
|
97
|
+
border-color: $bg;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
//! days view
|
|
103
|
+
.ard-calendar-grid {
|
|
104
|
+
display: grid;
|
|
105
|
+
grid-template-columns: repeat(7, 1fr);
|
|
106
|
+
|
|
107
|
+
> * {
|
|
108
|
+
max-width: 100%;
|
|
109
|
+
box-sizing: border-box;
|
|
110
|
+
aspect-ratio: 1;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
.ard-calendar-day-labels {
|
|
114
|
+
font-size: 0.8125rem;
|
|
115
|
+
color: $text3;
|
|
116
|
+
height: 1.25rem;
|
|
117
|
+
position: relative;
|
|
118
|
+
|
|
119
|
+
> * {
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
aspect-ratio: unset;
|
|
124
|
+
}
|
|
125
|
+
&::after {
|
|
126
|
+
content: '';
|
|
127
|
+
position: absolute;
|
|
128
|
+
width: 100%;
|
|
129
|
+
height: 1px;
|
|
130
|
+
background: $detail-ultralight;
|
|
131
|
+
bottom: 0;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
.ard-calendar-main-grid {
|
|
135
|
+
position: relative;
|
|
136
|
+
|
|
137
|
+
&.ard-reserve-top-row {
|
|
138
|
+
padding-top: 14.285714%;
|
|
139
|
+
}
|
|
140
|
+
.ard-calendar-floating-month {
|
|
141
|
+
position: absolute;
|
|
142
|
+
top: 0;
|
|
143
|
+
left: 0;
|
|
144
|
+
width: 100%;
|
|
145
|
+
box-sizing: border-box;
|
|
146
|
+
aspect-ratio: 7;
|
|
147
|
+
padding-left: 0.5rem;
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
font-size: 0.875rem;
|
|
151
|
+
font-weight: 500;
|
|
152
|
+
color: $text3;
|
|
153
|
+
letter-spacing: 0.5px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
//! years & months view
|
|
157
|
+
.ard-calendar-simple-grid {
|
|
158
|
+
border-top: 1px solid $detail-ultralight;
|
|
159
|
+
margin-top: 0.25rem;
|
|
160
|
+
display: grid;
|
|
161
|
+
grid-template-columns: repeat(4, 1fr);
|
|
162
|
+
grid-template-rows: repeat(6, 1fr);
|
|
163
|
+
|
|
164
|
+
> * {
|
|
165
|
+
max-width: 100%;
|
|
166
|
+
box-sizing: border-box;
|
|
167
|
+
aspect-ratio: 7/4; //it has to be the same height as in the days view
|
|
168
|
+
//before it was 7/7 (1) because there are 7 entries in a single row
|
|
169
|
+
//now there are 4 entries, and thus 7/4
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
//! interactions
|
|
173
|
+
&.ard-calendar-nointeract {
|
|
174
|
+
.ard-calendar-main-container {
|
|
175
|
+
pointer-events: none;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
//! static height
|
|
179
|
+
&.ard-calendar-static-height {
|
|
180
|
+
height: 19.5rem;
|
|
181
|
+
}
|
|
182
|
+
}
|