@ardium-ui/ui 1.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/README.md +25 -0
- package/esm2022/ardium-ui-ui.mjs +5 -0
- package/esm2022/lib/_internal/boolean-component.mjs +108 -0
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +12 -0
- package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +18 -0
- package/esm2022/lib/_internal/disablable-component.mjs +44 -0
- package/esm2022/lib/_internal/focusable-component.mjs +91 -0
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +436 -0
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +349 -0
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +155 -0
- package/esm2022/lib/_internal/models/pagination.model.mjs +124 -0
- package/esm2022/lib/_internal/ngmodel-component.mjs +42 -0
- package/esm2022/lib/_internal/queue.mjs +59 -0
- package/esm2022/lib/_internal/selectable-list-component.mjs +304 -0
- package/esm2022/lib/badge/badge.directive.mjs +123 -0
- package/esm2022/lib/badge/badge.module.mjs +18 -0
- package/esm2022/lib/badge/badge.types.mjs +16 -0
- package/esm2022/lib/buttons/_button-base.mjs +45 -0
- package/esm2022/lib/buttons/button/button.component.mjs +49 -0
- package/esm2022/lib/buttons/button/button.module.mjs +18 -0
- package/esm2022/lib/buttons/fab/fab.component.mjs +40 -0
- package/esm2022/lib/buttons/fab/fab.module.mjs +18 -0
- package/esm2022/lib/buttons/general-button.types.mjs +55 -0
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +37 -0
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +18 -0
- package/esm2022/lib/calendar/calendar.component.mjs +982 -0
- package/esm2022/lib/calendar/calendar.directives.mjs +107 -0
- package/esm2022/lib/calendar/calendar.helpers.mjs +47 -0
- package/esm2022/lib/calendar/calendar.module.mjs +21 -0
- package/esm2022/lib/calendar/calendar.types.mjs +11 -0
- package/esm2022/lib/card/card.children.mjs +97 -0
- package/esm2022/lib/card/card.component.mjs +40 -0
- package/esm2022/lib/card/card.module.mjs +59 -0
- package/esm2022/lib/card/card.types.mjs +9 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +73 -0
- package/esm2022/lib/checkbox/checkbox.module.mjs +18 -0
- package/esm2022/lib/checkbox/checkbox.types.mjs +6 -0
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +139 -0
- package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +19 -0
- package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +7 -0
- package/esm2022/lib/chip/chip.component.mjs +55 -0
- package/esm2022/lib/chip/chip.module.mjs +21 -0
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +80 -0
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +77 -0
- package/esm2022/lib/color/color-display/color-display.component.mjs +48 -0
- package/esm2022/lib/color/color-display/color-display.module.mjs +18 -0
- package/esm2022/lib/color/color-display/color-display.types.mjs +9 -0
- package/esm2022/lib/color/color-picker/color-picker.component.mjs +484 -0
- package/esm2022/lib/color/color-picker/color-picker.directives.mjs +55 -0
- package/esm2022/lib/color/color-picker/color-picker.module.mjs +43 -0
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +11 -0
- package/esm2022/lib/dialog/dialog.component.mjs +167 -0
- package/esm2022/lib/dialog/dialog.directives.mjs +14 -0
- package/esm2022/lib/dialog/dialog.module.mjs +21 -0
- package/esm2022/lib/dialog/dialog.types.mjs +6 -0
- package/esm2022/lib/divider/divider.component.mjs +26 -0
- package/esm2022/lib/divider/divider.module.mjs +18 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +130 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +18 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +10 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +82 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +42 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +58 -0
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +153 -0
- package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +73 -0
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +21 -0
- package/esm2022/lib/file-inputs/file-input-base.mjs +187 -0
- package/esm2022/lib/file-inputs/file-input-types.mjs +2 -0
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +74 -0
- package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +25 -0
- package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +19 -0
- package/esm2022/lib/icon/icon.component.mjs +85 -0
- package/esm2022/lib/icon/icon.module.mjs +19 -0
- package/esm2022/lib/icon/icon.pipe.mjs +18 -0
- package/esm2022/lib/inputs/color-input/color-input.component.mjs +421 -0
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +101 -0
- package/esm2022/lib/inputs/color-input/color-input.module.mjs +85 -0
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +2 -0
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +218 -0
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +217 -0
- package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +18 -0
- package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +15 -0
- package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +8 -0
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +234 -0
- package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +36 -0
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +21 -0
- package/esm2022/lib/inputs/hex-input.model.mjs +106 -0
- package/esm2022/lib/inputs/input/input.component.mjs +344 -0
- package/esm2022/lib/inputs/input/input.directives.mjs +58 -0
- package/esm2022/lib/inputs/input/input.module.mjs +47 -0
- package/esm2022/lib/inputs/input-transformers.mjs +66 -0
- package/esm2022/lib/inputs/input-types.mjs +6 -0
- package/esm2022/lib/inputs/input-utils.mjs +205 -0
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +289 -0
- package/esm2022/lib/inputs/number-input/number-input.directives.mjs +14 -0
- package/esm2022/lib/inputs/number-input/number-input.module.mjs +21 -0
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +222 -0
- package/esm2022/lib/inputs/password-input/password-input.directives.mjs +49 -0
- package/esm2022/lib/inputs/password-input/password-input.module.mjs +41 -0
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +2 -0
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +219 -0
- package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +36 -0
- package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +37 -0
- package/esm2022/lib/kbd/kbd.component.mjs +42 -0
- package/esm2022/lib/kbd/kbd.module.mjs +19 -0
- package/esm2022/lib/kbd/kbd.pipe.mjs +17 -0
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +55 -0
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +19 -0
- package/esm2022/lib/modal/modal.component.mjs +120 -0
- package/esm2022/lib/modal/modal.module.mjs +21 -0
- package/esm2022/lib/option/option.component.mjs +77 -0
- package/esm2022/lib/option/option.module.mjs +18 -0
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +95 -0
- package/esm2022/lib/progress-bar/progress-bar.directive.mjs +14 -0
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +19 -0
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +19 -0
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +94 -0
- package/esm2022/lib/progress-circle/progress-circle.directive.mjs +14 -0
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +19 -0
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +10 -0
- package/esm2022/lib/radio/radio/radio.component.mjs +53 -0
- package/esm2022/lib/radio/radio-group.component.mjs +207 -0
- package/esm2022/lib/radio/radio.module.mjs +19 -0
- package/esm2022/lib/search-functions.mjs +64 -0
- package/esm2022/lib/segment/segment.component.mjs +168 -0
- package/esm2022/lib/segment/segment.directives.mjs +14 -0
- package/esm2022/lib/segment/segment.module.mjs +19 -0
- package/esm2022/lib/segment/segment.types.mjs +12 -0
- package/esm2022/lib/select/select.component.mjs +1160 -0
- package/esm2022/lib/select/select.directive.mjs +171 -0
- package/esm2022/lib/select/select.module.mjs +112 -0
- package/esm2022/lib/select/select.types.mjs +2 -0
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +46 -0
- package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +18 -0
- package/esm2022/lib/slider/abstract-slider.mjs +330 -0
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +143 -0
- package/esm2022/lib/slider/range-slider/range-slider.module.mjs +18 -0
- package/esm2022/lib/slider/slider.component.mjs +93 -0
- package/esm2022/lib/slider/slider.directive.mjs +16 -0
- package/esm2022/lib/slider/slider.module.mjs +20 -0
- package/esm2022/lib/slider/slider.types.mjs +10 -0
- package/esm2022/lib/snackbar/index.mjs +5 -0
- package/esm2022/lib/snackbar/snackbar-ref.mjs +51 -0
- package/esm2022/lib/snackbar/snackbar.component.mjs +48 -0
- package/esm2022/lib/snackbar/snackbar.service.mjs +227 -0
- package/esm2022/lib/snackbar/snackbar.token.mjs +20 -0
- package/esm2022/lib/snackbar/snackbar.types.mjs +25 -0
- package/esm2022/lib/spinner/spinner.component.mjs +22 -0
- package/esm2022/lib/spinner/spinner.module.mjs +18 -0
- package/esm2022/lib/star/star-button/star-button.component.mjs +53 -0
- package/esm2022/lib/star/star-button/star-button.module.mjs +19 -0
- package/esm2022/lib/star/star-display/star-display.component.mjs +66 -0
- package/esm2022/lib/star/star-display/star-display.module.mjs +19 -0
- package/esm2022/lib/star/star-input/star-input.component.mjs +221 -0
- package/esm2022/lib/star/star-input/star-input.module.mjs +19 -0
- package/esm2022/lib/star/star.component.mjs +28 -0
- package/esm2022/lib/star/star.module.mjs +18 -0
- package/esm2022/lib/star/star.types.mjs +23 -0
- package/esm2022/lib/statebox/statebox.component.mjs +158 -0
- package/esm2022/lib/statebox/statebox.module.mjs +18 -0
- package/esm2022/lib/statebox/statebox.types.mjs +2 -0
- package/esm2022/lib/table/table-item-storage.mjs +560 -0
- package/esm2022/lib/table/table.component.mjs +468 -0
- package/esm2022/lib/table/table.directives.mjs +64 -0
- package/esm2022/lib/table/table.module.mjs +46 -0
- package/esm2022/lib/table/table.types.mjs +30 -0
- package/esm2022/lib/table/utils.mjs +18 -0
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +64 -0
- package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +19 -0
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +172 -0
- package/esm2022/lib/table-pagination/table-pagination.module.mjs +21 -0
- package/esm2022/lib/table-pagination/table-pagination.types.mjs +7 -0
- package/esm2022/lib/types/alignment.types.mjs +10 -0
- package/esm2022/lib/types/colors.types.mjs +43 -0
- package/esm2022/lib/types/item-storage.types.mjs +6 -0
- package/esm2022/lib/types/theming.types.mjs +48 -0
- package/esm2022/lib/types/utility.types.mjs +5 -0
- package/esm2022/public-api.mjs +194 -0
- package/fesm2022/ardium-ui-ui.mjs +14316 -0
- package/fesm2022/ardium-ui-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/_internal/boolean-component.d.ts +50 -0
- package/lib/_internal/clear-button/clear-button.component.d.ts +6 -0
- package/lib/_internal/clear-button/clear-button.module.d.ts +8 -0
- package/lib/_internal/disablable-component.d.ts +11 -0
- package/lib/_internal/focusable-component.d.ts +52 -0
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +87 -0
- package/lib/_internal/item-storages/simple-item-storage.d.ts +159 -0
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +70 -0
- package/lib/_internal/models/pagination.model.d.ts +53 -0
- package/lib/_internal/ngmodel-component.d.ts +42 -0
- package/lib/_internal/queue.d.ts +21 -0
- package/lib/_internal/selectable-list-component.d.ts +71 -0
- package/lib/badge/badge.directive.d.ts +31 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/badge.types.d.ts +17 -0
- package/lib/buttons/_button-base.d.ts +18 -0
- package/lib/buttons/button/button.component.d.ts +15 -0
- package/lib/buttons/button/button.module.d.ts +8 -0
- package/lib/buttons/fab/fab.component.d.ts +12 -0
- package/lib/buttons/fab/fab.module.d.ts +8 -0
- package/lib/buttons/general-button.types.d.ts +57 -0
- package/lib/buttons/icon-button/icon-button.component.d.ts +13 -0
- package/lib/buttons/icon-button/icon-button.module.d.ts +8 -0
- package/lib/calendar/calendar.component.d.ts +155 -0
- package/lib/calendar/calendar.directives.d.ts +51 -0
- package/lib/calendar/calendar.helpers.d.ts +15 -0
- package/lib/calendar/calendar.module.d.ts +11 -0
- package/lib/calendar/calendar.types.d.ts +80 -0
- package/lib/card/card.children.d.ts +43 -0
- package/lib/card/card.component.d.ts +13 -0
- package/lib/card/card.module.d.ts +9 -0
- package/lib/card/card.types.d.ts +10 -0
- package/lib/checkbox/checkbox.component.d.ts +21 -0
- package/lib/checkbox/checkbox.module.d.ts +8 -0
- package/lib/checkbox/checkbox.types.d.ts +6 -0
- package/lib/checkbox-list/checkbox-list.component.d.ts +50 -0
- package/lib/checkbox-list/checkbox-list.module.d.ts +9 -0
- package/lib/checkbox-list/checkbox-list.types.d.ts +7 -0
- package/lib/chip/chip.component.d.ts +18 -0
- package/lib/chip/chip.module.d.ts +11 -0
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +24 -0
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +24 -0
- package/lib/color/color-display/color-display.component.d.ts +17 -0
- package/lib/color/color-display/color-display.module.d.ts +8 -0
- package/lib/color/color-display/color-display.types.d.ts +9 -0
- package/lib/color/color-picker/color-picker.component.d.ts +125 -0
- package/lib/color/color-picker/color-picker.directives.d.ts +27 -0
- package/lib/color/color-picker/color-picker.module.d.ts +13 -0
- package/lib/color/color-picker/color-picker.types.d.ts +21 -0
- package/lib/dialog/dialog.component.d.ts +44 -0
- package/lib/dialog/dialog.directives.d.ts +9 -0
- package/lib/dialog/dialog.module.d.ts +11 -0
- package/lib/dialog/dialog.types.d.ts +28 -0
- package/lib/divider/divider.component.d.ts +8 -0
- package/lib/divider/divider.module.d.ts +8 -0
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +37 -0
- package/lib/dropdown-panel/dropdown-panel.module.d.ts +8 -0
- package/lib/dropdown-panel/dropdown-panel.types.d.ts +12 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +22 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.directives.d.ts +21 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.module.d.ts +12 -0
- package/lib/file-inputs/file-input/file-input.component.d.ts +41 -0
- package/lib/file-inputs/file-input/file-input.directives.d.ts +39 -0
- package/lib/file-inputs/file-input/file-input.module.d.ts +11 -0
- package/lib/file-inputs/file-input-base.d.ts +43 -0
- package/lib/file-inputs/file-input-types.d.ts +10 -0
- package/lib/form-field-frame/form-field-frame.component.d.ts +32 -0
- package/lib/form-field-frame/form-field-frame.directives.d.ts +14 -0
- package/lib/form-field-frame/form-field-frame.module.d.ts +9 -0
- package/lib/icon/icon.component.d.ts +32 -0
- package/lib/icon/icon.module.d.ts +9 -0
- package/lib/icon/icon.pipe.d.ts +7 -0
- package/lib/inputs/color-input/color-input.component.d.ts +147 -0
- package/lib/inputs/color-input/color-input.directives.d.ts +52 -0
- package/lib/inputs/color-input/color-input.module.d.ts +16 -0
- package/lib/inputs/color-input/color-input.types.d.ts +5 -0
- package/lib/inputs/digit-input/digit-input.component.d.ts +50 -0
- package/lib/inputs/digit-input/digit-input.model.d.ts +26 -0
- package/lib/inputs/digit-input/digit-input.module.d.ts +8 -0
- package/lib/inputs/digit-input/digit-input.types.d.ts +27 -0
- package/lib/inputs/digit-input/digit-input.utils.d.ts +17 -0
- package/lib/inputs/hex-input/hex-input.component.d.ts +60 -0
- package/lib/inputs/hex-input/hex-input.directives.d.ts +20 -0
- package/lib/inputs/hex-input/hex-input.module.d.ts +11 -0
- package/lib/inputs/hex-input.model.d.ts +27 -0
- package/lib/inputs/input/input.component.d.ts +79 -0
- package/lib/inputs/input/input.directives.d.ts +33 -0
- package/lib/inputs/input/input.module.d.ts +13 -0
- package/lib/inputs/input-transformers.d.ts +24 -0
- package/lib/inputs/input-types.d.ts +6 -0
- package/lib/inputs/input-utils.d.ts +58 -0
- package/lib/inputs/number-input/number-input.component.d.ts +70 -0
- package/lib/inputs/number-input/number-input.directives.d.ts +8 -0
- package/lib/inputs/number-input/number-input.module.d.ts +11 -0
- package/lib/inputs/password-input/password-input.component.d.ts +54 -0
- package/lib/inputs/password-input/password-input.directives.d.ts +27 -0
- package/lib/inputs/password-input/password-input.module.d.ts +11 -0
- package/lib/inputs/password-input/password-input.types.d.ts +3 -0
- package/lib/inputs/simple-input/simple-input.component.d.ts +58 -0
- package/lib/inputs/simple-input/simple-input.directives.d.ts +20 -0
- package/lib/inputs/simple-input/simple-input.module.d.ts +11 -0
- package/lib/kbd/kbd.component.d.ts +15 -0
- package/lib/kbd/kbd.module.d.ts +9 -0
- package/lib/kbd/kbd.pipe.d.ts +7 -0
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +18 -0
- package/lib/kbd-shortcut/kbd-shortcut.module.d.ts +9 -0
- package/lib/modal/modal.component.d.ts +36 -0
- package/lib/modal/modal.module.d.ts +11 -0
- package/lib/option/option.component.d.ts +29 -0
- package/lib/option/option.module.d.ts +8 -0
- package/lib/progress-bar/progress-bar.component.d.ts +26 -0
- package/lib/progress-bar/progress-bar.directive.d.ts +9 -0
- package/lib/progress-bar/progress-bar.module.d.ts +9 -0
- package/lib/progress-bar/progress-bar.types.d.ts +26 -0
- package/lib/progress-circle/progress-circle.component.d.ts +28 -0
- package/lib/progress-circle/progress-circle.directive.d.ts +9 -0
- package/lib/progress-circle/progress-circle.module.d.ts +9 -0
- package/lib/progress-circle/progress-circle.types.d.ts +17 -0
- package/lib/radio/radio/radio.component.d.ts +23 -0
- package/lib/radio/radio-group.component.d.ts +43 -0
- package/lib/radio/radio.module.d.ts +9 -0
- package/lib/search-functions.d.ts +10 -0
- package/lib/segment/segment.component.d.ts +48 -0
- package/lib/segment/segment.directives.d.ts +9 -0
- package/lib/segment/segment.module.d.ts +9 -0
- package/lib/segment/segment.types.d.ts +16 -0
- package/lib/select/select.component.d.ts +255 -0
- package/lib/select/select.directive.d.ts +94 -0
- package/lib/select/select.module.d.ts +14 -0
- package/lib/select/select.types.d.ts +109 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +14 -0
- package/lib/slide-toggle/slide-toggle.module.d.ts +8 -0
- package/lib/slider/abstract-slider.d.ts +88 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +29 -0
- package/lib/slider/range-slider/range-slider.module.d.ts +8 -0
- package/lib/slider/slider.component.d.ts +18 -0
- package/lib/slider/slider.directive.d.ts +9 -0
- package/lib/slider/slider.module.d.ts +10 -0
- package/lib/slider/slider.types.d.ts +28 -0
- package/lib/snackbar/index.d.ts +4 -0
- package/lib/snackbar/snackbar-ref.d.ts +37 -0
- package/lib/snackbar/snackbar.component.d.ts +16 -0
- package/lib/snackbar/snackbar.service.d.ts +31 -0
- package/lib/snackbar/snackbar.token.d.ts +5 -0
- package/lib/snackbar/snackbar.types.d.ts +48 -0
- package/lib/spinner/spinner.component.d.ts +8 -0
- package/lib/spinner/spinner.module.d.ts +8 -0
- package/lib/star/star-button/star-button.component.d.ts +16 -0
- package/lib/star/star-button/star-button.module.d.ts +9 -0
- package/lib/star/star-display/star-display.component.d.ts +16 -0
- package/lib/star/star-display/star-display.module.d.ts +9 -0
- package/lib/star/star-input/star-input.component.d.ts +51 -0
- package/lib/star/star-input/star-input.module.d.ts +9 -0
- package/lib/star/star.component.d.ts +10 -0
- package/lib/star/star.module.d.ts +8 -0
- package/lib/star/star.types.d.ts +30 -0
- package/lib/statebox/statebox.component.d.ts +31 -0
- package/lib/statebox/statebox.module.d.ts +8 -0
- package/lib/statebox/statebox.types.d.ts +22 -0
- package/lib/table/table-item-storage.d.ts +266 -0
- package/lib/table/table.component.d.ts +127 -0
- package/lib/table/table.directives.d.ts +35 -0
- package/lib/table/table.module.d.ts +12 -0
- package/lib/table/table.types.d.ts +83 -0
- package/lib/table/utils.d.ts +4 -0
- package/lib/table-from-csv/table-from-csv.component.d.ts +16 -0
- package/lib/table-from-csv/table-from-csv.module.d.ts +9 -0
- package/lib/table-pagination/table-pagination.component.d.ts +48 -0
- package/lib/table-pagination/table-pagination.module.d.ts +11 -0
- package/lib/table-pagination/table-pagination.types.d.ts +9 -0
- package/lib/types/alignment.types.d.ts +11 -0
- package/lib/types/colors.types.d.ts +71 -0
- package/lib/types/item-storage.types.d.ts +98 -0
- package/lib/types/theming.types.d.ts +61 -0
- package/lib/types/utility.types.d.ts +11 -0
- package/package.json +36 -0
- package/prebuilt-themes/default/badge.css +208 -0
- package/prebuilt-themes/default/badge.css.map +1 -0
- package/prebuilt-themes/default/buttons/button.css +290 -0
- package/prebuilt-themes/default/buttons/button.css.map +1 -0
- package/prebuilt-themes/default/buttons/fab.css +307 -0
- package/prebuilt-themes/default/buttons/fab.css.map +1 -0
- package/prebuilt-themes/default/buttons/icon-button.css +288 -0
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -0
- package/prebuilt-themes/default/calendar.css +293 -0
- package/prebuilt-themes/default/calendar.css.map +1 -0
- package/prebuilt-themes/default/card.css +122 -0
- package/prebuilt-themes/default/card.css.map +1 -0
- package/prebuilt-themes/default/checkbox-list.css +65 -0
- package/prebuilt-themes/default/checkbox-list.css.map +1 -0
- package/prebuilt-themes/default/checkbox.css +365 -0
- package/prebuilt-themes/default/checkbox.css.map +1 -0
- package/prebuilt-themes/default/chips.css +367 -0
- package/prebuilt-themes/default/chips.css.map +1 -0
- package/prebuilt-themes/default/color-display.css +29 -0
- package/prebuilt-themes/default/color-display.css.map +1 -0
- package/prebuilt-themes/default/color-picker.css +106 -0
- package/prebuilt-themes/default/color-picker.css.map +1 -0
- package/prebuilt-themes/default/core.css +84 -0
- package/prebuilt-themes/default/core.css.map +1 -0
- package/prebuilt-themes/default/dialog.css +18 -0
- package/prebuilt-themes/default/dialog.css.map +1 -0
- package/prebuilt-themes/default/divider.css +11 -0
- package/prebuilt-themes/default/divider.css.map +1 -0
- package/prebuilt-themes/default/dropdown-panel.css +37 -0
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -0
- package/prebuilt-themes/default/file-drop-area.css +279 -0
- package/prebuilt-themes/default/file-drop-area.css.map +1 -0
- package/prebuilt-themes/default/form-field-frame.css +84 -0
- package/prebuilt-themes/default/form-field-frame.css.map +1 -0
- package/prebuilt-themes/default/inputs/color-input.css +139 -0
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/digit-input.css +45 -0
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/file-input.css +169 -0
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/hex-input.css +119 -0
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/input.css +139 -0
- package/prebuilt-themes/default/inputs/input.css.map +1 -0
- package/prebuilt-themes/default/inputs/number-input.css +150 -0
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/password-input.css +73 -0
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/search-bar.css +114 -0
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -0
- package/prebuilt-themes/default/inputs/simple-input.css +114 -0
- package/prebuilt-themes/default/inputs/simple-input.css.map +1 -0
- package/prebuilt-themes/default/kbd-shortcut.css +12 -0
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -0
- package/prebuilt-themes/default/kbd.css +17 -0
- package/prebuilt-themes/default/kbd.css.map +1 -0
- package/prebuilt-themes/default/modal.css +73 -0
- package/prebuilt-themes/default/modal.css.map +1 -0
- package/prebuilt-themes/default/progress-bar.css +267 -0
- package/prebuilt-themes/default/progress-bar.css.map +1 -0
- package/prebuilt-themes/default/progress-circle.css +167 -0
- package/prebuilt-themes/default/progress-circle.css.map +1 -0
- package/prebuilt-themes/default/radio.css +226 -0
- package/prebuilt-themes/default/radio.css.map +1 -0
- package/prebuilt-themes/default/segment.css +391 -0
- package/prebuilt-themes/default/segment.css.map +1 -0
- package/prebuilt-themes/default/select.css +275 -0
- package/prebuilt-themes/default/select.css.map +1 -0
- package/prebuilt-themes/default/slide-toggle.css +264 -0
- package/prebuilt-themes/default/slide-toggle.css.map +1 -0
- package/prebuilt-themes/default/slider.css +354 -0
- package/prebuilt-themes/default/slider.css.map +1 -0
- package/prebuilt-themes/default/snackbar.css +183 -0
- package/prebuilt-themes/default/snackbar.css.map +1 -0
- package/prebuilt-themes/default/spinner.css +151 -0
- package/prebuilt-themes/default/spinner.css.map +1 -0
- package/prebuilt-themes/default/stars.css +291 -0
- package/prebuilt-themes/default/stars.css.map +1 -0
- package/prebuilt-themes/default/statebox.css +235 -0
- package/prebuilt-themes/default/statebox.css.map +1 -0
- package/prebuilt-themes/default/table-pagination.css +48 -0
- package/prebuilt-themes/default/table-pagination.css.map +1 -0
- package/prebuilt-themes/default/table.css +418 -0
- package/prebuilt-themes/default/table.css.map +1 -0
- package/public-api.d.ts +145 -0
- package/themes/_variables.scss +121 -0
- package/themes/default/_clear-button.scss +73 -0
- package/themes/default/_coloring.scss +137 -0
- package/themes/default/_dropdown-arrow.scss +12 -0
- package/themes/default/_mixins.scss +70 -0
- package/themes/default/badge.scss +94 -0
- package/themes/default/buttons/_button-mixins.scss +144 -0
- package/themes/default/buttons/button.scss +62 -0
- package/themes/default/buttons/fab.scss +72 -0
- package/themes/default/buttons/icon-button.scss +59 -0
- package/themes/default/calendar.scss +182 -0
- package/themes/default/card.scss +126 -0
- package/themes/default/checkbox-list.scss +83 -0
- package/themes/default/checkbox.scss +109 -0
- package/themes/default/chips.scss +206 -0
- package/themes/default/color-display.scss +41 -0
- package/themes/default/color-picker.scss +111 -0
- package/themes/default/core.scss +96 -0
- package/themes/default/dialog.scss +16 -0
- package/themes/default/divider.scss +13 -0
- package/themes/default/dropdown-panel.scss +45 -0
- package/themes/default/file-drop-area.scss +162 -0
- package/themes/default/form-field-frame.scss +78 -0
- package/themes/default/inputs/_shared.scss +46 -0
- package/themes/default/inputs/color-input.scss +46 -0
- package/themes/default/inputs/digit-input.scss +56 -0
- package/themes/default/inputs/file-input.scss +78 -0
- package/themes/default/inputs/hex-input.scss +27 -0
- package/themes/default/inputs/input.scss +52 -0
- package/themes/default/inputs/number-input.scss +121 -0
- package/themes/default/inputs/password-input.scss +43 -0
- package/themes/default/inputs/search-bar.scss +19 -0
- package/themes/default/inputs/simple-input.scss +19 -0
- package/themes/default/kbd-shortcut.scss +13 -0
- package/themes/default/kbd.scss +20 -0
- package/themes/default/modal.scss +93 -0
- package/themes/default/progress-bar.scss +166 -0
- package/themes/default/progress-circle.scss +56 -0
- package/themes/default/radio.scss +112 -0
- package/themes/default/segment.scss +339 -0
- package/themes/default/select.scss +253 -0
- package/themes/default/slide-toggle.scss +151 -0
- package/themes/default/slider.scss +224 -0
- package/themes/default/snackbar.scss +60 -0
- package/themes/default/spinner.scss +21 -0
- package/themes/default/stars.scss +122 -0
- package/themes/default/statebox.scss +109 -0
- package/themes/default/table-pagination.scss +56 -0
- package/themes/default/table.scss +403 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
@use './mixins' as defaultMixins;
|
|
2
|
+
@use './coloring' as coloringMixins;
|
|
3
|
+
@import '../variables';
|
|
4
|
+
|
|
5
|
+
.ard-slide-toggle {
|
|
6
|
+
@include coloringMixins.typeColors();
|
|
7
|
+
position: relative;
|
|
8
|
+
height: 1.25em;
|
|
9
|
+
font-size: inherit;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
user-select: none;
|
|
12
|
+
border: none;
|
|
13
|
+
background: none;
|
|
14
|
+
padding: 0;
|
|
15
|
+
|
|
16
|
+
.ard-hitbox {
|
|
17
|
+
position: absolute;
|
|
18
|
+
left: -4px;
|
|
19
|
+
right: -4px;
|
|
20
|
+
bottom: -4px;
|
|
21
|
+
top: -4px;
|
|
22
|
+
}
|
|
23
|
+
.ard-slide-toggle-track {
|
|
24
|
+
position: relative;
|
|
25
|
+
width: 2.25em;
|
|
26
|
+
height: 0.75em;
|
|
27
|
+
font-size: inherit;
|
|
28
|
+
border-radius: 999px;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
background: $bg;
|
|
31
|
+
|
|
32
|
+
.ard-slide-toggle-track-overlay {
|
|
33
|
+
position: absolute;
|
|
34
|
+
left: 0;
|
|
35
|
+
right: 0;
|
|
36
|
+
bottom: 0;
|
|
37
|
+
top: 0;
|
|
38
|
+
background: $overlay;
|
|
39
|
+
opacity: 20%;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.ard-slide-toggle-handle {
|
|
43
|
+
width: 1.25em;
|
|
44
|
+
height: 1.25em;
|
|
45
|
+
font-size: inherit;
|
|
46
|
+
border-radius: 999px;
|
|
47
|
+
background: $bg-f;
|
|
48
|
+
position: absolute;
|
|
49
|
+
top: 0;
|
|
50
|
+
left: 0;
|
|
51
|
+
box-shadow: $simple-shadow;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
|
|
54
|
+
transition:
|
|
55
|
+
box-shadow 0.28s $timing-fn,
|
|
56
|
+
left 0.1s ease,
|
|
57
|
+
background-color 0.1s ease,
|
|
58
|
+
transform 0.1s ease;
|
|
59
|
+
|
|
60
|
+
.ard-focus-overlay {
|
|
61
|
+
@include defaultMixins.focus-overlay;
|
|
62
|
+
background: var(--ard-cmpcl--overlay-colored);
|
|
63
|
+
}
|
|
64
|
+
.ard-slide-toggle-icon {
|
|
65
|
+
@include defaultMixins.icon(0, 600);
|
|
66
|
+
font-size: 0.95em;
|
|
67
|
+
color: $text;
|
|
68
|
+
position: absolute;
|
|
69
|
+
left: 50%;
|
|
70
|
+
top: 50%;
|
|
71
|
+
transform: translate(-50%, -50%);
|
|
72
|
+
transition: color 0.1s ease;
|
|
73
|
+
|
|
74
|
+
&.ard-icon-for-selected {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
&.ard-icon-for-unselected {
|
|
78
|
+
display: block;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
&:hover,
|
|
83
|
+
&:focus {
|
|
84
|
+
.ard-slide-toggle-handle {
|
|
85
|
+
box-shadow: $simple-shadow2;
|
|
86
|
+
|
|
87
|
+
.ard-focus-overlay {
|
|
88
|
+
opacity: 4%;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
&:active {
|
|
93
|
+
.ard-slide-toggle-handle {
|
|
94
|
+
box-shadow: $simple-shadow3;
|
|
95
|
+
|
|
96
|
+
.ard-focus-overlay {
|
|
97
|
+
opacity: 12%;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
.ard-slide-toggle.ard-slide-toggle-selected {
|
|
103
|
+
.ard-slide-toggle-track-overlay {
|
|
104
|
+
background: var(--ard-cmpcl--content);
|
|
105
|
+
opacity: 40%;
|
|
106
|
+
}
|
|
107
|
+
.ard-slide-toggle-handle {
|
|
108
|
+
left: 100%;
|
|
109
|
+
transform: translateX(-100%);
|
|
110
|
+
background: var(--ard-cmpcl--bg);
|
|
111
|
+
|
|
112
|
+
.ard-slide-toggle-icon {
|
|
113
|
+
color: var(--ard-cmpcl--on-bg);
|
|
114
|
+
|
|
115
|
+
&.ard-icon-for-selected {
|
|
116
|
+
display: block;
|
|
117
|
+
}
|
|
118
|
+
&.ard-icon-for-unselected {
|
|
119
|
+
display: none;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
//edge case for no coloring
|
|
124
|
+
&.ard-color-none {
|
|
125
|
+
.ard-slide-toggle-track-overlay {
|
|
126
|
+
opacity: 35%;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
//! disabled state
|
|
131
|
+
.ard-disabled .ard-slide-toggle {
|
|
132
|
+
pointer-events: none;
|
|
133
|
+
opacity: 60%;
|
|
134
|
+
|
|
135
|
+
.ard-slide-toggle-track-overlay {
|
|
136
|
+
opacity: 20%;
|
|
137
|
+
}
|
|
138
|
+
.ard-focus-overlay {
|
|
139
|
+
opacity: 20%;
|
|
140
|
+
}
|
|
141
|
+
.ard-slide-toggle-icon {
|
|
142
|
+
opacity: 60%;
|
|
143
|
+
}
|
|
144
|
+
//edge case for no coloring and for unselected state
|
|
145
|
+
&.ard-color-none,
|
|
146
|
+
&:not(.ard-slide-toggle-selected) {
|
|
147
|
+
.ard-slide-toggle-track-overlay {
|
|
148
|
+
opacity: 12.5%;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
@use './mixins' as defaultMixins;
|
|
2
|
+
@use './coloring' as coloringMixins;
|
|
3
|
+
@use 'sass:math';
|
|
4
|
+
@import '../variables';
|
|
5
|
+
|
|
6
|
+
.ard-slider-container-master,
|
|
7
|
+
.ard-range-slider-container-master {
|
|
8
|
+
@include coloringMixins.typeColors();
|
|
9
|
+
|
|
10
|
+
position: relative;
|
|
11
|
+
font-size: 1rem;
|
|
12
|
+
width: 20em;
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
padding: 0 0.625em;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
|
|
18
|
+
color: var(--ard-cmpcl--bg-colored);
|
|
19
|
+
|
|
20
|
+
//! compact
|
|
21
|
+
&.ard-compact {
|
|
22
|
+
font-size: 0.85rem;
|
|
23
|
+
|
|
24
|
+
.ard-slider-container > .ard-slider-handle {
|
|
25
|
+
font-size: 0.95em;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
//! container
|
|
30
|
+
.ard-slider-container {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
position: relative;
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 1.25em;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
|
+
//! track
|
|
39
|
+
.ard-slider-track {
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 0.25em;
|
|
42
|
+
background: $bg;
|
|
43
|
+
|
|
44
|
+
.ard-slider-track-overlay {
|
|
45
|
+
position: absolute;
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 100%;
|
|
48
|
+
background: currentColor;
|
|
49
|
+
opacity: 20%;
|
|
50
|
+
border-radius: 9999px;
|
|
51
|
+
|
|
52
|
+
&.ard-slider-track-active {
|
|
53
|
+
width: 0;
|
|
54
|
+
height: calc(100% + 0.125em);
|
|
55
|
+
top: math.div(-1em, 16);
|
|
56
|
+
opacity: 100%;
|
|
57
|
+
transition:
|
|
58
|
+
width var(--_ard-slider-transition) ease,
|
|
59
|
+
left var(--_ard-slider-transition) ease;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.ard-hitbox {
|
|
63
|
+
position: absolute;
|
|
64
|
+
inset: -0.625em;
|
|
65
|
+
}
|
|
66
|
+
.ard-value-tick-container {
|
|
67
|
+
position: absolute;
|
|
68
|
+
left: 0.125em;
|
|
69
|
+
width: calc(100% - 0.25em);
|
|
70
|
+
height: 100%;
|
|
71
|
+
}
|
|
72
|
+
.ard-value-tick {
|
|
73
|
+
top: 50%;
|
|
74
|
+
width: 0.125em;
|
|
75
|
+
height: 0.125em;
|
|
76
|
+
border-radius: 9999px;
|
|
77
|
+
background: $text;
|
|
78
|
+
opacity: 30%;
|
|
79
|
+
transform: translate(-50%, -50%);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
//! handle
|
|
83
|
+
// &.ard-slider-handle-grabbed,
|
|
84
|
+
// &.ard-slider-handle-grabbed * {
|
|
85
|
+
// cursor: grabbing;
|
|
86
|
+
// }
|
|
87
|
+
.ard-slider-handle {
|
|
88
|
+
font-size: inherit;
|
|
89
|
+
top: 0;
|
|
90
|
+
width: 1.25em;
|
|
91
|
+
height: 1.25em;
|
|
92
|
+
color: inherit;
|
|
93
|
+
background: currentColor;
|
|
94
|
+
border-radius: 9999px;
|
|
95
|
+
border: none;
|
|
96
|
+
z-index: 1;
|
|
97
|
+
outline: none;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
|
|
100
|
+
transition:
|
|
101
|
+
box-shadow 0.15s ease,
|
|
102
|
+
left var(--_ard-slider-transition) ease;
|
|
103
|
+
box-shadow: $simple-shadow;
|
|
104
|
+
|
|
105
|
+
// cursor: grab;
|
|
106
|
+
// &.ard-grabbed {
|
|
107
|
+
// cursor: grabbing;
|
|
108
|
+
// }
|
|
109
|
+
|
|
110
|
+
.ard-focus-overlay {
|
|
111
|
+
@include defaultMixins.focus-overlay(0.5em);
|
|
112
|
+
background: currentColor;
|
|
113
|
+
}
|
|
114
|
+
@include defaultMixins.focus-overlay-scale-addon();
|
|
115
|
+
|
|
116
|
+
.ard-hitbox {
|
|
117
|
+
position: absolute;
|
|
118
|
+
inset: math.div(-7em, 16);
|
|
119
|
+
border-radius: 9999px;
|
|
120
|
+
}
|
|
121
|
+
&:hover {
|
|
122
|
+
.ard-focus-overlay {
|
|
123
|
+
opacity: 7.5%;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
&:focus {
|
|
127
|
+
box-shadow: $simple-shadow2;
|
|
128
|
+
.ard-focus-overlay {
|
|
129
|
+
opacity: 15%;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
&:active,
|
|
133
|
+
&.ard-grabbed {
|
|
134
|
+
.ard-focus-overlay {
|
|
135
|
+
opacity: 25%;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
.ard-slider-label-container {
|
|
140
|
+
position: relative;
|
|
141
|
+
font-size: 0.9em;
|
|
142
|
+
padding-top: 0.2em;
|
|
143
|
+
left: 2px;
|
|
144
|
+
width: calc(100% - 0.25em) !important;
|
|
145
|
+
|
|
146
|
+
.ard-slider-label {
|
|
147
|
+
transform: translateX(-50%);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
//! tooltip
|
|
151
|
+
.ard-slider-tooltip-wrapper {
|
|
152
|
+
transition: left var(--_ard-slider-transition) ease;
|
|
153
|
+
z-index: 2;
|
|
154
|
+
}
|
|
155
|
+
.ard-slider-tooltip {
|
|
156
|
+
--ard-background: #{$text3};
|
|
157
|
+
background: var(--ard-background);
|
|
158
|
+
color: $text2-alt;
|
|
159
|
+
font-size: 0.875em;
|
|
160
|
+
border-radius: 0.375em;
|
|
161
|
+
height: 2em;
|
|
162
|
+
padding: 0 0.75em;
|
|
163
|
+
display: flex;
|
|
164
|
+
align-items: center;
|
|
165
|
+
font-weight: 500;
|
|
166
|
+
position: relative;
|
|
167
|
+
z-index: 2;
|
|
168
|
+
user-select: none;
|
|
169
|
+
|
|
170
|
+
transform: scale(0);
|
|
171
|
+
transition: transform 0.1s $timing-fn;
|
|
172
|
+
|
|
173
|
+
&::before {
|
|
174
|
+
content: '';
|
|
175
|
+
position: absolute;
|
|
176
|
+
border: 0.375em solid transparent;
|
|
177
|
+
left: 50%;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
&.ard-tooltip-top {
|
|
181
|
+
.ard-slider-tooltip {
|
|
182
|
+
bottom: 0.5em;
|
|
183
|
+
|
|
184
|
+
&::before {
|
|
185
|
+
bottom: 0;
|
|
186
|
+
border-top-color: var(--ard-background);
|
|
187
|
+
transform: translate(-50%, 100%);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
&.ard-tooltip-bottom {
|
|
192
|
+
.ard-slider-tooltip {
|
|
193
|
+
top: 0.5em;
|
|
194
|
+
|
|
195
|
+
&::before {
|
|
196
|
+
top: 0;
|
|
197
|
+
border-bottom-color: var(--ard-background);
|
|
198
|
+
transform: translate(-50%, -100%);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
//! showing and hiding tooltip
|
|
203
|
+
//show tooltip when handle is hovered or focused
|
|
204
|
+
.ard-slider-handle:hover,
|
|
205
|
+
.ard-slider-handle:focus {
|
|
206
|
+
+ .ard-slider-tooltip-wrapper .ard-slider-tooltip {
|
|
207
|
+
transform: scale(1);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
//hide other tooltips when a handle is focused
|
|
211
|
+
.ard-slider-container:focus-within {
|
|
212
|
+
.ard-slider-handle:not(:focus) {
|
|
213
|
+
+ .ard-slider-tooltip-wrapper .ard-slider-tooltip {
|
|
214
|
+
transform: scale(0);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
//make a way to force-show a tooltip
|
|
219
|
+
.ard-slider-handle .ard-slider-tooltip-wrapper.ard-tooltip-always {
|
|
220
|
+
.ard-slider-tooltip {
|
|
221
|
+
transform: scale(1) !important;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@use './coloring' as C;
|
|
2
|
+
@import '../variables';
|
|
3
|
+
|
|
4
|
+
@import '@angular/cdk/overlay-prebuilt.css';
|
|
5
|
+
|
|
6
|
+
.ard-snackbar {
|
|
7
|
+
@include C.typeColors();
|
|
8
|
+
min-width: min(21rem, 90vw);
|
|
9
|
+
max-width: min(42rem, 90vw);
|
|
10
|
+
min-height: 3rem;
|
|
11
|
+
margin: 0.625rem;
|
|
12
|
+
position: relative;
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: stretch;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: 0.625rem;
|
|
17
|
+
border-radius: 6px;
|
|
18
|
+
transform-origin: bottom center;
|
|
19
|
+
background-color: $bg-f-alt;
|
|
20
|
+
padding: 0 0.5rem 0 1rem;
|
|
21
|
+
|
|
22
|
+
opacity: 100%;
|
|
23
|
+
transform: scale(100%);
|
|
24
|
+
bottom: 0;
|
|
25
|
+
animation: show 150ms ease-out forwards;
|
|
26
|
+
|
|
27
|
+
.ard-snackbar-content {
|
|
28
|
+
display: flex;
|
|
29
|
+
gap: 0.625rem;
|
|
30
|
+
align-items: center;
|
|
31
|
+
flex-grow: 1;
|
|
32
|
+
color: $text2-alt;
|
|
33
|
+
|
|
34
|
+
ard-icon {
|
|
35
|
+
color: var(--ard-cmpcl--content-light);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.ard-snackbar-closing {
|
|
40
|
+
animation: hide 150ms ease-out forwards;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin animation {
|
|
45
|
+
opacity: 0%;
|
|
46
|
+
transform: scale(60%);
|
|
47
|
+
bottom: -0.375rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@keyframes show {
|
|
51
|
+
from {
|
|
52
|
+
@include animation();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@keyframes hide {
|
|
57
|
+
to {
|
|
58
|
+
@include animation();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use './coloring' as CM;
|
|
2
|
+
|
|
3
|
+
ard-spinner {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
height: 2rem;
|
|
6
|
+
width: 2rem;
|
|
7
|
+
position: relative;
|
|
8
|
+
margin: 0.25rem;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ard-spinner {
|
|
12
|
+
@include CM.typeColors();
|
|
13
|
+
--ard-_spinner-duration: 1.4s;
|
|
14
|
+
position: absolute;
|
|
15
|
+
|
|
16
|
+
scale: 2.3; //magic number
|
|
17
|
+
|
|
18
|
+
> circle {
|
|
19
|
+
stroke: var(--ard-cmpcl--content);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
@use './mixins' as defaultMixins;
|
|
2
|
+
@use './coloring' as coloringMixins;
|
|
3
|
+
@import '../variables';
|
|
4
|
+
|
|
5
|
+
.ard-star,
|
|
6
|
+
.ard-star-button,
|
|
7
|
+
.ard-star-display,
|
|
8
|
+
.ard-star-input {
|
|
9
|
+
@include coloringMixins.typeColors();
|
|
10
|
+
color: var(--ard-cmpcl--bg-colored);
|
|
11
|
+
|
|
12
|
+
&.ard-color-star {
|
|
13
|
+
color: $star;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.ard-star {
|
|
17
|
+
font-size: 1.5em;
|
|
18
|
+
width: 1em;
|
|
19
|
+
height: 1em;
|
|
20
|
+
position: relative;
|
|
21
|
+
|
|
22
|
+
.ard-star-icon {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
.ard-star-icon {
|
|
26
|
+
position: absolute;
|
|
27
|
+
left: 50%;
|
|
28
|
+
top: 50%;
|
|
29
|
+
transform: translate(-50%, -50%);
|
|
30
|
+
}
|
|
31
|
+
.ard-star-selected::after {
|
|
32
|
+
content: 'star';
|
|
33
|
+
@include defaultMixins.icon(1);
|
|
34
|
+
font-size: 1em;
|
|
35
|
+
line-height: unset;
|
|
36
|
+
}
|
|
37
|
+
.ard-star-half::after {
|
|
38
|
+
content: 'star_half';
|
|
39
|
+
@include defaultMixins.icon;
|
|
40
|
+
font-size: 1em;
|
|
41
|
+
line-height: unset;
|
|
42
|
+
}
|
|
43
|
+
.ard-star-unselected::after {
|
|
44
|
+
content: 'star';
|
|
45
|
+
@include defaultMixins.icon;
|
|
46
|
+
font-size: 1em;
|
|
47
|
+
line-height: unset;
|
|
48
|
+
}
|
|
49
|
+
&.ard-star-fill-none .ard-star-unselected {
|
|
50
|
+
display: block;
|
|
51
|
+
}
|
|
52
|
+
&.ard-star-fill-half .ard-star-half {
|
|
53
|
+
display: block;
|
|
54
|
+
}
|
|
55
|
+
&.ard-star-fill-filled .ard-star-selected {
|
|
56
|
+
display: block;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
.ard-star-display,
|
|
60
|
+
.ard-star-input {
|
|
61
|
+
display: flex;
|
|
62
|
+
user-select: none;
|
|
63
|
+
}
|
|
64
|
+
.ard-star-input {
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
|
|
67
|
+
.ard-star-not-in-value {
|
|
68
|
+
opacity: 50%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.ard-star-button {
|
|
72
|
+
position: relative;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
user-select: none;
|
|
75
|
+
font-size: inherit;
|
|
76
|
+
width: max-content;
|
|
77
|
+
height: max-content;
|
|
78
|
+
padding: 0;
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
align-items: center;
|
|
82
|
+
outline: none;
|
|
83
|
+
|
|
84
|
+
.ard-hitbox {
|
|
85
|
+
position: absolute;
|
|
86
|
+
left: -4px;
|
|
87
|
+
right: -4px;
|
|
88
|
+
bottom: -4px;
|
|
89
|
+
top: -4px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ard-focus-overlay {
|
|
93
|
+
@include defaultMixins.focus-overlay;
|
|
94
|
+
position: absolute;
|
|
95
|
+
left: -0.125em;
|
|
96
|
+
right: -0.125em;
|
|
97
|
+
bottom: -0.125em;
|
|
98
|
+
top: -0.125em;
|
|
99
|
+
border-radius: 999px;
|
|
100
|
+
background: currentColor;
|
|
101
|
+
}
|
|
102
|
+
@include defaultMixins.focus-overlay-scale-addon();
|
|
103
|
+
&:hover,
|
|
104
|
+
&:focus {
|
|
105
|
+
.ard-focus-overlay {
|
|
106
|
+
opacity: 10%;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
&:active {
|
|
110
|
+
.ard-focus-overlay {
|
|
111
|
+
opacity: 20%;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
//! disabled state for star-button
|
|
116
|
+
.ard-disabled {
|
|
117
|
+
> .ard-star-button,
|
|
118
|
+
> .ard-star-input {
|
|
119
|
+
pointer-events: none;
|
|
120
|
+
opacity: 50%;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
@use './mixins' as defaultMixins;
|
|
2
|
+
@use './coloring' as coloringMixins;
|
|
3
|
+
@import '../variables';
|
|
4
|
+
|
|
5
|
+
.ard-statebox {
|
|
6
|
+
@include coloringMixins.typeColors();
|
|
7
|
+
font-size: 1.1em;
|
|
8
|
+
width: 1.25em;
|
|
9
|
+
height: 1.25em;
|
|
10
|
+
position: relative;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
user-select: none;
|
|
13
|
+
color: var(--ard-cmpcl--bg-colored);
|
|
14
|
+
border: none;
|
|
15
|
+
background: none;
|
|
16
|
+
padding: 0;
|
|
17
|
+
|
|
18
|
+
.ard-hitbox {
|
|
19
|
+
position: absolute;
|
|
20
|
+
left: -4px;
|
|
21
|
+
right: -4px;
|
|
22
|
+
bottom: -4px;
|
|
23
|
+
top: -4px;
|
|
24
|
+
}
|
|
25
|
+
.ard-focus-overlay {
|
|
26
|
+
@include defaultMixins.focus-overlay;
|
|
27
|
+
position: absolute;
|
|
28
|
+
left: -0.5rem;
|
|
29
|
+
right: -0.5rem;
|
|
30
|
+
bottom: -0.5rem;
|
|
31
|
+
top: -0.5rem;
|
|
32
|
+
border-radius: 999px;
|
|
33
|
+
background: currentColor;
|
|
34
|
+
}
|
|
35
|
+
.ard-statebox-icon,
|
|
36
|
+
.ard-statebox-frame::after {
|
|
37
|
+
@include defaultMixins.icon;
|
|
38
|
+
transition: opacity 0.2s $timing-fn;
|
|
39
|
+
color: currentColor;
|
|
40
|
+
position: absolute;
|
|
41
|
+
left: 50%;
|
|
42
|
+
top: 50%;
|
|
43
|
+
transform: translate(-50%, -50%);
|
|
44
|
+
}
|
|
45
|
+
.ard-statebox-frame::after {
|
|
46
|
+
content: '\e835';
|
|
47
|
+
}
|
|
48
|
+
&.ard-statebox-keep-frame {
|
|
49
|
+
.ard-statebox-icon {
|
|
50
|
+
font-size: 0.9em;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
&.ard-statebox-filled {
|
|
54
|
+
.ard-statebox-icon {
|
|
55
|
+
font-variation-settings: 'FILL' 1;
|
|
56
|
+
}
|
|
57
|
+
&.ard-statebox-keep-frame {
|
|
58
|
+
.ard-statebox-icon,
|
|
59
|
+
.ard-statebox-character {
|
|
60
|
+
color: var(--ard-cmpcl--on-bg);
|
|
61
|
+
}
|
|
62
|
+
.ard-statebox-frame::before {
|
|
63
|
+
content: '';
|
|
64
|
+
position: absolute;
|
|
65
|
+
left: 2px;
|
|
66
|
+
right: 2px;
|
|
67
|
+
top: 2px;
|
|
68
|
+
bottom: 2px;
|
|
69
|
+
background: currentColor;
|
|
70
|
+
}
|
|
71
|
+
&.ard-color-custom {
|
|
72
|
+
.ard-statebox-icon,
|
|
73
|
+
.ard-statebox-character {
|
|
74
|
+
color: var(--ard-on-custom-color);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
.ard-statebox-character {
|
|
80
|
+
font-weight: 900;
|
|
81
|
+
position: absolute;
|
|
82
|
+
left: 50%;
|
|
83
|
+
top: 50%;
|
|
84
|
+
transform: translate(-50%, -50%);
|
|
85
|
+
font-family: 'Roboto', sans-serif;
|
|
86
|
+
}
|
|
87
|
+
&.ard-color-custom {
|
|
88
|
+
color: var(--ard-custom-color);
|
|
89
|
+
}
|
|
90
|
+
&:hover,
|
|
91
|
+
&:focus {
|
|
92
|
+
.ard-statebox-icon {
|
|
93
|
+
opacity: 100%;
|
|
94
|
+
}
|
|
95
|
+
.ard-focus-overlay {
|
|
96
|
+
opacity: 10%;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
&:active {
|
|
100
|
+
.ard-focus-overlay {
|
|
101
|
+
opacity: 20%;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
//! disabled state
|
|
106
|
+
.ard-disabled .ard-statebox {
|
|
107
|
+
pointer-events: none;
|
|
108
|
+
opacity: 60%;
|
|
109
|
+
}
|