@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,206 @@
|
|
|
1
|
+
@use './mixins' as defaultMixins;
|
|
2
|
+
@use './coloring' as coloringMixins;
|
|
3
|
+
@use './clear-button' as clearButton;
|
|
4
|
+
@import '../variables';
|
|
5
|
+
|
|
6
|
+
//! general css
|
|
7
|
+
.ard-chip-wrapper {
|
|
8
|
+
@include coloringMixins.typeColors();
|
|
9
|
+
@include clearButton.clearButton();
|
|
10
|
+
@include defaultMixins.formVariants();
|
|
11
|
+
|
|
12
|
+
font-family: 'Roboto', sans-serif;
|
|
13
|
+
color: $text2;
|
|
14
|
+
background: $bg;
|
|
15
|
+
border-radius: var(--ard-_chip-border-radius);
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 6px;
|
|
18
|
+
vertical-align: middle;
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
position: relative;
|
|
23
|
+
outline: none;
|
|
24
|
+
user-select: none;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
height: 32px;
|
|
27
|
+
|
|
28
|
+
> .ard-chip-content-wrapper {
|
|
29
|
+
padding: 0 12px;
|
|
30
|
+
}
|
|
31
|
+
> .ard-focus-overlay {
|
|
32
|
+
@include defaultMixins.focus-overlay;
|
|
33
|
+
background: $overlay;
|
|
34
|
+
border-radius: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.ard-chip-selectable {
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
|
|
42
|
+
&:hover,
|
|
43
|
+
&:focus {
|
|
44
|
+
> .ard-focus-overlay {
|
|
45
|
+
opacity: 7.5%;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
&:active {
|
|
49
|
+
> .ard-focus-overlay {
|
|
50
|
+
opacity: 20%;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ard-chip-selection-icon {
|
|
55
|
+
@include defaultMixins.icon;
|
|
56
|
+
|
|
57
|
+
&::after {
|
|
58
|
+
content: '\e876';
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
//! variants
|
|
63
|
+
&.ard-variant-rounded {
|
|
64
|
+
--ard-_chip-border-radius: 6px;
|
|
65
|
+
}
|
|
66
|
+
&.ard-chip-variant-pill {
|
|
67
|
+
--ard-_chip-border-radius: 9999px;
|
|
68
|
+
}
|
|
69
|
+
//! appearances
|
|
70
|
+
&.ard-appearance-filled {
|
|
71
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
72
|
+
color: var(--ard-cmpcl--on-bg-colored);
|
|
73
|
+
border: none;
|
|
74
|
+
|
|
75
|
+
&.ard-chip-selectable {
|
|
76
|
+
background-color: $bg-f;
|
|
77
|
+
color: $text2;
|
|
78
|
+
transition:
|
|
79
|
+
color 0.15s ease,
|
|
80
|
+
border-color 0.15s ease,
|
|
81
|
+
background-color 0.15s ease;
|
|
82
|
+
|
|
83
|
+
&.ard-chip-selected {
|
|
84
|
+
color: var(--ard-cmpcl--on-bg-colored);
|
|
85
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
&.ard-appearance-outlined,
|
|
90
|
+
&.ard-appearance-outlined-strong {
|
|
91
|
+
background: transparent;
|
|
92
|
+
color: var(--ard-cmpcl--content);
|
|
93
|
+
border: 1px solid var(--ard-cmpcl--bg-colored);
|
|
94
|
+
font-weight: 600;
|
|
95
|
+
|
|
96
|
+
&.ard-chip-selectable {
|
|
97
|
+
transition:
|
|
98
|
+
color 0.15s ease,
|
|
99
|
+
border-color 0.15s ease;
|
|
100
|
+
|
|
101
|
+
> .ard-focus-overlay {
|
|
102
|
+
opacity: 0;
|
|
103
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
104
|
+
}
|
|
105
|
+
&:hover,
|
|
106
|
+
&:focus {
|
|
107
|
+
> .ard-focus-overlay {
|
|
108
|
+
opacity: 4%;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
&:active {
|
|
112
|
+
> .ard-focus-overlay {
|
|
113
|
+
opacity: 10%;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.ard-chip-selected {
|
|
118
|
+
color: var(--ard-cmpcl--content);
|
|
119
|
+
|
|
120
|
+
> .ard-focus-overlay {
|
|
121
|
+
opacity: 7.5%;
|
|
122
|
+
}
|
|
123
|
+
&:hover,
|
|
124
|
+
&:focus {
|
|
125
|
+
> .ard-focus-overlay {
|
|
126
|
+
opacity: 15%;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
&:active {
|
|
130
|
+
> .ard-focus-overlay {
|
|
131
|
+
opacity: 20%;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
&.ard-appearance-outlined-strong {
|
|
138
|
+
> .ard-focus-overlay {
|
|
139
|
+
opacity: 7.5%;
|
|
140
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
//! alignments
|
|
145
|
+
&.ard-chip-align-left {
|
|
146
|
+
flex-direction: row;
|
|
147
|
+
padding-left: 2px;
|
|
148
|
+
|
|
149
|
+
.ard-chip-selection-icon {
|
|
150
|
+
padding-left: 8px;
|
|
151
|
+
margin-right: -2px;
|
|
152
|
+
}
|
|
153
|
+
&.ard-chip-deletable {
|
|
154
|
+
padding-left: 4px;
|
|
155
|
+
|
|
156
|
+
.ard-chip-content-wrapper {
|
|
157
|
+
padding-left: 8px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
&.ard-chip-align-right {
|
|
162
|
+
flex-direction: row-reverse;
|
|
163
|
+
padding-right: 2px;
|
|
164
|
+
|
|
165
|
+
.ard-chip-selection-icon {
|
|
166
|
+
padding-right: 8px;
|
|
167
|
+
margin-left: -2px;
|
|
168
|
+
}
|
|
169
|
+
&.ard-chip-deletable {
|
|
170
|
+
padding-right: 4px;
|
|
171
|
+
|
|
172
|
+
.ard-chip-content-wrapper {
|
|
173
|
+
padding-right: 8px;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
//! compact
|
|
178
|
+
&.ard-compact {
|
|
179
|
+
height: 23px;
|
|
180
|
+
font-size: 13px;
|
|
181
|
+
|
|
182
|
+
> .ard-chip-content-wrapper {
|
|
183
|
+
padding: 0 9px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&.ard-chip-align-left .ard-chip-selection-icon {
|
|
187
|
+
padding-left: 4px;
|
|
188
|
+
margin-right: -4px;
|
|
189
|
+
}
|
|
190
|
+
&.ard-chip-align-right .ard-chip-selection-icon {
|
|
191
|
+
padding-right: 4px;
|
|
192
|
+
margin-left: -4px;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
//! disabled state
|
|
197
|
+
.ard-disabled {
|
|
198
|
+
.ard-chip-wrapper {
|
|
199
|
+
pointer-events: none;
|
|
200
|
+
opacity: 60%;
|
|
201
|
+
|
|
202
|
+
&.ard-chip-selected {
|
|
203
|
+
opacity: 40%;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@import '../variables';
|
|
3
|
+
|
|
4
|
+
.ard-color-display-wrapper {
|
|
5
|
+
gap: 0.3ch;
|
|
6
|
+
align-items: center;
|
|
7
|
+
|
|
8
|
+
.ard-color-display {
|
|
9
|
+
width: 1em * math.div(19, 16);
|
|
10
|
+
height: 1em * math.div(19, 16);
|
|
11
|
+
font-size: inherit;
|
|
12
|
+
cursor: help;
|
|
13
|
+
border: math.div(1em, 16) solid transparent;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ard-color-display-label {
|
|
17
|
+
font-family: monospace;
|
|
18
|
+
font-size: 1.15em;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.ard-appearance-rounded {
|
|
22
|
+
.ard-color-display {
|
|
23
|
+
border-radius: 0.25em;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&.ard-appearance-circle {
|
|
27
|
+
.ard-color-display {
|
|
28
|
+
border-radius: 9999px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
&.ard-appearance-sharp {
|
|
32
|
+
.ard-color-display {
|
|
33
|
+
border-radius: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
&.ard-with-border {
|
|
37
|
+
.ard-color-display {
|
|
38
|
+
border-color: $text;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
@import '../variables';
|
|
2
|
+
|
|
3
|
+
.ard-color-picker {
|
|
4
|
+
width: 15rem;
|
|
5
|
+
padding: 0.5rem;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
gap: 0.5rem;
|
|
9
|
+
|
|
10
|
+
.ard-color-picker-click-areas {
|
|
11
|
+
width: 100%;
|
|
12
|
+
gap: 0.5rem;
|
|
13
|
+
|
|
14
|
+
.ard-color-picker-shade-map,
|
|
15
|
+
.ard-color-picker-hue-map,
|
|
16
|
+
.ard-color-picker-opacity-map {
|
|
17
|
+
border: 1px solid $detail-ultralight-solid;
|
|
18
|
+
|
|
19
|
+
&:focus-visible {
|
|
20
|
+
outline: 2px solid $overlay;
|
|
21
|
+
outline-offset: 1px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.ard-color-picker-shade-map {
|
|
25
|
+
flex-grow: 1;
|
|
26
|
+
aspect-ratio: 1;
|
|
27
|
+
}
|
|
28
|
+
.ard-color-picker-hue-map,
|
|
29
|
+
.ard-color-picker-opacity-map {
|
|
30
|
+
width: 1rem;
|
|
31
|
+
}
|
|
32
|
+
.ard-color-picker-opacity-map {
|
|
33
|
+
--ard-color-picker-opacity-checkerboard-color: #{$detail-ultralight-solid};
|
|
34
|
+
--ard-color-picker-opacity-checkerboard-size: 0.5rem;
|
|
35
|
+
}
|
|
36
|
+
.ard-color-picker-shade-indicator {
|
|
37
|
+
width: 0.375rem;
|
|
38
|
+
height: 0.375rem;
|
|
39
|
+
border: 2px solid white;
|
|
40
|
+
outline: 1px solid black;
|
|
41
|
+
border-radius: 999px;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
44
|
+
.ard-color-picker-shade-indicator-container,
|
|
45
|
+
.ard-color-picker-hue-indicator-container,
|
|
46
|
+
.ard-color-picker-opacity-indicator-container {
|
|
47
|
+
top: clamp(2px, var(--top), calc(100% - 2px));
|
|
48
|
+
}
|
|
49
|
+
.ard-color-picker-shade-indicator-container {
|
|
50
|
+
left: clamp(2px, var(--left), calc(100% - 2px));
|
|
51
|
+
}
|
|
52
|
+
.ard-color-picker-hue-indicator-container,
|
|
53
|
+
.ard-color-picker-opacity-indicator-container {
|
|
54
|
+
left: 50%;
|
|
55
|
+
}
|
|
56
|
+
.ard-color-picker-hue-indicator,
|
|
57
|
+
.ard-color-picker-opacity-indicator {
|
|
58
|
+
width: 1rem;
|
|
59
|
+
height: 0.25rem;
|
|
60
|
+
border: 2px solid white;
|
|
61
|
+
outline: 1px solid black;
|
|
62
|
+
border-radius: 3px;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.ard-color-picker-inputs {
|
|
67
|
+
display: grid;
|
|
68
|
+
grid-template-columns: 1fr max-content;
|
|
69
|
+
grid-template-rows: max-content max-content;
|
|
70
|
+
gap: 0.5rem;
|
|
71
|
+
|
|
72
|
+
.ard-color-picker-input-type {
|
|
73
|
+
font-weight: 700;
|
|
74
|
+
width: max-content;
|
|
75
|
+
}
|
|
76
|
+
.ard-color-picker-inputs-container {
|
|
77
|
+
display: grid;
|
|
78
|
+
gap: 0.5rem;
|
|
79
|
+
width: 100%;
|
|
80
|
+
grid-column: 1 / 3;
|
|
81
|
+
|
|
82
|
+
&.ard-mode-hex {
|
|
83
|
+
grid-template-columns: 1fr;
|
|
84
|
+
}
|
|
85
|
+
&.ard-mode-triple {
|
|
86
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
87
|
+
}
|
|
88
|
+
&.ard-mode-opacity {
|
|
89
|
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
90
|
+
|
|
91
|
+
&.ard-mode-hex .ard-color-picker-hex-input {
|
|
92
|
+
grid-column: 1 / 4;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
.ard-color-picker-reference {
|
|
97
|
+
--ard-color-picker-opacity-checkerboard-color: #{$detail-ultralight-solid};
|
|
98
|
+
--ard-color-picker-opacity-checkerboard-size: 0.5rem;
|
|
99
|
+
|
|
100
|
+
display: grid;
|
|
101
|
+
grid-template-columns: 1fr 1fr;
|
|
102
|
+
width: 4rem;
|
|
103
|
+
height: 100%;
|
|
104
|
+
border: 1px solid $detail-ultralight-solid;
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
&.ard-vertical {
|
|
109
|
+
width: 13.5rem;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
--ard-bg: white;
|
|
6
|
+
--ard-bg-alt: black;
|
|
7
|
+
--ard-overlay: black;
|
|
8
|
+
--ard-overlay-rgb: 0, 0, 0;
|
|
9
|
+
--ard-bg-filled: #ebebeb;
|
|
10
|
+
--ard-bg-darker: #f7f7f7;
|
|
11
|
+
--ard-bg-filled-alt: #333;
|
|
12
|
+
--ard-text: rgba(0, 0, 0, 100%);
|
|
13
|
+
--ard-text2: rgba(0, 0, 0, 87%);
|
|
14
|
+
--ard-text3: rgba(0, 0, 0, 75%);
|
|
15
|
+
--ard-text-alt: rgba(255, 255, 255, 100%);
|
|
16
|
+
--ard-text2-alt: rgba(255, 255, 255, 87%);
|
|
17
|
+
--ard-text3-alt: rgba(255, 255, 255, 75%);
|
|
18
|
+
--ard-border: rgba(0, 0, 0, 40%);
|
|
19
|
+
--ard-border-dark: rgba(0, 0, 0, 70%);
|
|
20
|
+
--ard-border-light: rgba(0, 0, 0, 25%);
|
|
21
|
+
--ard-detail: rgba(0, 0, 0, 60%);
|
|
22
|
+
--ard-detail-light: rgba(0, 0, 0, 30%);
|
|
23
|
+
--ard-detail-ultralight: rgba(0, 0, 0, 12%);
|
|
24
|
+
--ard-detail-ultralight-solid: rgb(204, 204, 204);
|
|
25
|
+
--ard-lighten-overlay: rgba(255, 255, 255, 12.5%);
|
|
26
|
+
--ard-lighten-overlay-strong: rgba(255, 255, 255, 20%);
|
|
27
|
+
--ard-lighten-overlay-medium: rgba(255, 255, 255, 10%);
|
|
28
|
+
--ard-lighten-overlay-light: rgba(255, 255, 255, 5%);
|
|
29
|
+
--ard-darken-overlay: rgba(0, 0, 0, 12.5%);
|
|
30
|
+
--ard-darken-overlay-strong: rgba(0, 0, 0, 20%);
|
|
31
|
+
--ard-darken-overlay-medium: rgba(0, 0, 0, 10%);
|
|
32
|
+
--ard-darken-overlay-light: rgba(0, 0, 0, 5%);
|
|
33
|
+
--ard-darken-overlay-ultralight: rgba(0, 0, 0, 3%);
|
|
34
|
+
|
|
35
|
+
--ard-star: #ffc107;
|
|
36
|
+
|
|
37
|
+
--ard-clear-button-size: 0.9rem;
|
|
38
|
+
--ard-dropdown-button-size: 0.4rem;
|
|
39
|
+
|
|
40
|
+
--ard-primary-50: 234, 235, 243;
|
|
41
|
+
--ard-primary-100: 159, 167, 228;
|
|
42
|
+
--ard-primary-300: 78, 99, 219;
|
|
43
|
+
--ard-primary-500: 36, 56, 185;
|
|
44
|
+
--ard-primary-700: 27, 42, 128;
|
|
45
|
+
--ard-primary-900: 19, 28, 87;
|
|
46
|
+
|
|
47
|
+
--ard-secondary-50: 229, 172, 243;
|
|
48
|
+
--ard-secondary-100: 216, 107, 243;
|
|
49
|
+
--ard-secondary-300: 195, 38, 238;
|
|
50
|
+
--ard-secondary-500: 145, 13, 182;
|
|
51
|
+
--ard-secondary-700: 103, 10, 129;
|
|
52
|
+
--ard-secondary-900: 69, 7, 85;
|
|
53
|
+
|
|
54
|
+
--ard-danger-50: 247, 197, 196;
|
|
55
|
+
--ard-danger-100: 243, 151, 149;
|
|
56
|
+
--ard-danger-300: 245, 103, 100;
|
|
57
|
+
--ard-danger-500: 243, 55, 52;
|
|
58
|
+
--ard-danger-700: 202, 17, 14;
|
|
59
|
+
--ard-danger-900: 165, 13, 11;
|
|
60
|
+
|
|
61
|
+
--ard-warn-50: 248, 224, 192;
|
|
62
|
+
--ard-warn-100: 247, 196, 129;
|
|
63
|
+
--ard-warn-300: 240, 169, 77;
|
|
64
|
+
--ard-warn-500: 224, 140, 38;
|
|
65
|
+
--ard-warn-700: 173, 101, 13;
|
|
66
|
+
--ard-warn-900: 117, 69, 7;
|
|
67
|
+
|
|
68
|
+
--ard-success-50: 184, 240, 187;
|
|
69
|
+
--ard-success-100: 124, 230, 129;
|
|
70
|
+
--ard-success-300: 73, 223, 80;
|
|
71
|
+
--ard-success-500: 33, 179, 40;
|
|
72
|
+
--ard-success-700: 27, 131, 33;
|
|
73
|
+
--ard-success-900: 14, 82, 17;
|
|
74
|
+
|
|
75
|
+
--ard-info-50: 187, 210, 241;
|
|
76
|
+
--ard-info-100: 131, 180, 243;
|
|
77
|
+
--ard-info-300: 76, 147, 240;
|
|
78
|
+
--ard-info-500: 19, 113, 236;
|
|
79
|
+
--ard-info-700: 13, 81, 172;
|
|
80
|
+
--ard-info-900: 8, 49, 102;
|
|
81
|
+
|
|
82
|
+
--ard-box-shadow: 0 0 13px -3px rgba(0, 0, 0, 0.7);
|
|
83
|
+
--ard-card-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
|
|
84
|
+
|
|
85
|
+
--ard-simple-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
86
|
+
--ard-simple-shadow2: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
|
|
87
|
+
--ard-simple-shadow3: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
88
|
+
|
|
89
|
+
--ard-spinner-color: rgba(0, 0, 0, 50%);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ard-disabled {
|
|
93
|
+
pointer-events: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@import '../variables';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.ard-dialog-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 1rem;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ard-dialog-buttons {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: flex-end;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ard-dialog-buttons-container {
|
|
13
|
+
display: flex;
|
|
14
|
+
gap: 1rem;
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@import '../variables';
|
|
2
|
+
|
|
3
|
+
ard-dropdown-panel {
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
.ard-dropdown-panel-container {
|
|
7
|
+
position: relative;
|
|
8
|
+
background: $bg;
|
|
9
|
+
margin: 0.375rem 0;
|
|
10
|
+
z-index: 5;
|
|
11
|
+
width: 100%;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
|
|
15
|
+
//! variants
|
|
16
|
+
&.ard-variant-rounded {
|
|
17
|
+
border-radius: 0.5rem;
|
|
18
|
+
}
|
|
19
|
+
&.ard-variant-sharp {
|
|
20
|
+
border-radius: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
//! appearances
|
|
24
|
+
&.ard-appearance-outlined {
|
|
25
|
+
border: 1px solid $border;
|
|
26
|
+
}
|
|
27
|
+
&.ard-appearance-raised {
|
|
28
|
+
box-shadow: $box-shadow;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//! connected
|
|
32
|
+
&.ard-connected {
|
|
33
|
+
margin: 0;
|
|
34
|
+
border-top: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
//! compact
|
|
38
|
+
&.ard-compact {
|
|
39
|
+
margin: 0.25rem 0;
|
|
40
|
+
|
|
41
|
+
&.ard-variant-rounded {
|
|
42
|
+
border-radius: 0.4rem;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
@use './coloring' as CM;
|
|
2
|
+
|
|
3
|
+
ard-file-drop-area {
|
|
4
|
+
display: block;
|
|
5
|
+
width: 100%;
|
|
6
|
+
max-width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
max-height: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ard-file-drop-area {
|
|
12
|
+
@include CM.typeColors();
|
|
13
|
+
width: 100%;
|
|
14
|
+
max-width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
max-height: 100%;
|
|
17
|
+
min-width: 15rem;
|
|
18
|
+
min-height: 10rem;
|
|
19
|
+
padding: 0.625rem;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
background: var(--ard-cmpcl--bg-colored-verylight);
|
|
22
|
+
display: flex;
|
|
23
|
+
|
|
24
|
+
.ard-file-drop-area-outline {
|
|
25
|
+
width: 100%;
|
|
26
|
+
min-height: 100%;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
border: 2px dashed var(--ard-cmpcl--border);
|
|
29
|
+
padding: 0.375rem;
|
|
30
|
+
pointer-events: none;
|
|
31
|
+
|
|
32
|
+
* {
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
user-select: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.ard-file-drop-area-content {
|
|
38
|
+
height: 100%;
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
gap: clamp(0.2rem, 10%, 1rem);
|
|
44
|
+
padding: 0.2rem 0;
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
//! state-specific styling
|
|
49
|
+
//idle
|
|
50
|
+
.ard-file-drop-area-icon {
|
|
51
|
+
font-size: 220%;
|
|
52
|
+
}
|
|
53
|
+
.ard-file-drop-area-drop-text {
|
|
54
|
+
font-weight: 500;
|
|
55
|
+
font-size: 105%;
|
|
56
|
+
}
|
|
57
|
+
.ard-file-drop-area-or-text {
|
|
58
|
+
font-size: 95%;
|
|
59
|
+
}
|
|
60
|
+
.ard-file-drop-area-browse-button > button {
|
|
61
|
+
border: 1px solid var(--ard-cmpcl--border);
|
|
62
|
+
pointer-events: all;
|
|
63
|
+
}
|
|
64
|
+
//dragover
|
|
65
|
+
.ard-file-drop-area-dragover-text {
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
font-size: 105%;
|
|
68
|
+
}
|
|
69
|
+
.ard-file-drop-area-dragover-amount {
|
|
70
|
+
font-weight: 600;
|
|
71
|
+
font-size: 120%;
|
|
72
|
+
}
|
|
73
|
+
//uploaded
|
|
74
|
+
.ard-file-drop-area-uploaded-container {
|
|
75
|
+
max-height: 100%;
|
|
76
|
+
height: 100%;
|
|
77
|
+
width: 100%;
|
|
78
|
+
display: grid;
|
|
79
|
+
grid-template-columns: 1fr;
|
|
80
|
+
grid-template-rows: max-content 1fr;
|
|
81
|
+
gap: 0.75rem;
|
|
82
|
+
justify-items: center;
|
|
83
|
+
}
|
|
84
|
+
.ard-file-drop-area-uploaded-message {
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
font-size: 105%;
|
|
87
|
+
}
|
|
88
|
+
.ard-file-drop-area-uploaded-amount {
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
}
|
|
91
|
+
.ard-file-drop-area-uploaded-files {
|
|
92
|
+
max-width: 100%;
|
|
93
|
+
width: 100%;
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
align-items: flex-start;
|
|
97
|
+
gap: 0.45rem;
|
|
98
|
+
overflow: hidden auto;
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
|
|
101
|
+
.ard-file-drop-area-file {
|
|
102
|
+
max-width: 100%;
|
|
103
|
+
display: grid;
|
|
104
|
+
align-items: center;
|
|
105
|
+
grid-template-columns: max-content 1fr;
|
|
106
|
+
gap: 0.75rem;
|
|
107
|
+
max-height: min-content;
|
|
108
|
+
|
|
109
|
+
ard-icon {
|
|
110
|
+
font-size: 220%;
|
|
111
|
+
}
|
|
112
|
+
.ard-file-drop-area-file-info {
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
line-height: 1;
|
|
116
|
+
gap: 0.5ch;
|
|
117
|
+
}
|
|
118
|
+
.ard-file-drop-area-filename {
|
|
119
|
+
max-width: 100%;
|
|
120
|
+
display: grid;
|
|
121
|
+
grid-template-columns: 1fr max-content;
|
|
122
|
+
gap: 0;
|
|
123
|
+
}
|
|
124
|
+
.ard-file-drop-area-filename-name {
|
|
125
|
+
max-width: 100%;
|
|
126
|
+
line-height: 1;
|
|
127
|
+
text-overflow: ellipsis;
|
|
128
|
+
overflow: hidden;
|
|
129
|
+
white-space: nowrap;
|
|
130
|
+
height: 1em;
|
|
131
|
+
}
|
|
132
|
+
.ard-file-drop-area-filesize {
|
|
133
|
+
font-weight: 500;
|
|
134
|
+
font-size: 83%;
|
|
135
|
+
opacity: 60%;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
//! variant
|
|
141
|
+
&.ard-variant-rounded,
|
|
142
|
+
&.ard-variant-pill {
|
|
143
|
+
border-radius: 0.875rem;
|
|
144
|
+
|
|
145
|
+
.ard-file-drop-area-outline {
|
|
146
|
+
border-radius: 0.25rem;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
&.ard-variant-sharp {
|
|
150
|
+
border-radius: 0;
|
|
151
|
+
}
|
|
152
|
+
//! compact
|
|
153
|
+
&.ard-compact {
|
|
154
|
+
font-size: 85%;
|
|
155
|
+
min-width: 12rem;
|
|
156
|
+
min-height: 8rem;
|
|
157
|
+
|
|
158
|
+
.ard-file-drop-area-content {
|
|
159
|
+
gap: clamp(0.1667rem, 10%, 0.75rem);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|