@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,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The color of the component.
|
|
3
|
+
*
|
|
4
|
+
* @see {@link ButtonColoringMode} to set what part of the component should be colored.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ComponentColor: {
|
|
7
|
+
/**
|
|
8
|
+
* The app's standard text color.
|
|
9
|
+
*/
|
|
10
|
+
readonly None: "none";
|
|
11
|
+
/**
|
|
12
|
+
* The app's primary color.
|
|
13
|
+
*/
|
|
14
|
+
readonly Primary: "primary";
|
|
15
|
+
/**
|
|
16
|
+
* The app's secondary color.
|
|
17
|
+
*/
|
|
18
|
+
readonly Secondary: "secondary";
|
|
19
|
+
/**
|
|
20
|
+
* The app's warning color. Usually some shade of yellow.
|
|
21
|
+
*/
|
|
22
|
+
readonly Warning: "warn";
|
|
23
|
+
/**
|
|
24
|
+
* The app's danger color. Usually some shade of red.
|
|
25
|
+
*/
|
|
26
|
+
readonly Danger: "danger";
|
|
27
|
+
/**
|
|
28
|
+
* The app's success color. Usually some shade of green or lime.
|
|
29
|
+
*/
|
|
30
|
+
readonly Success: "success";
|
|
31
|
+
/**
|
|
32
|
+
* The app's info color. Usually some shade of blue or light blue.
|
|
33
|
+
*/
|
|
34
|
+
readonly Info: "info";
|
|
35
|
+
};
|
|
36
|
+
export type ComponentColor = (typeof ComponentColor)[keyof typeof ComponentColor];
|
|
37
|
+
export declare const SimpleComponentColor: {
|
|
38
|
+
/**
|
|
39
|
+
* The current color set by css.
|
|
40
|
+
*/
|
|
41
|
+
readonly CurrentColor: "currentColor";
|
|
42
|
+
/**
|
|
43
|
+
* The app's standard text color.
|
|
44
|
+
*/
|
|
45
|
+
readonly None: "none";
|
|
46
|
+
/**
|
|
47
|
+
* The app's primary color.
|
|
48
|
+
*/
|
|
49
|
+
readonly Primary: "primary";
|
|
50
|
+
/**
|
|
51
|
+
* The app's secondary color.
|
|
52
|
+
*/
|
|
53
|
+
readonly Secondary: "secondary";
|
|
54
|
+
/**
|
|
55
|
+
* The app's warning color. Usually some shade of yellow.
|
|
56
|
+
*/
|
|
57
|
+
readonly Warning: "warn";
|
|
58
|
+
/**
|
|
59
|
+
* The app's danger color. Usually some shade of red.
|
|
60
|
+
*/
|
|
61
|
+
readonly Danger: "danger";
|
|
62
|
+
/**
|
|
63
|
+
* The app's success color. Usually some shade of green or lime.
|
|
64
|
+
*/
|
|
65
|
+
readonly Success: "success";
|
|
66
|
+
/**
|
|
67
|
+
* The app's info color. Usually some shade of blue or light blue.
|
|
68
|
+
*/
|
|
69
|
+
readonly Info: "info";
|
|
70
|
+
};
|
|
71
|
+
export type SimpleComponentColor = (typeof SimpleComponentColor)[keyof typeof SimpleComponentColor];
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
```typescript
|
|
3
|
+
interface OptionContext {
|
|
4
|
+
$implicit: ArdOption;
|
|
5
|
+
item: ArdOption;
|
|
6
|
+
itemData: any;
|
|
7
|
+
}
|
|
8
|
+
```
|
|
9
|
+
*/
|
|
10
|
+
export interface OptionContext {
|
|
11
|
+
$implicit: ArdOption;
|
|
12
|
+
item: ArdOption;
|
|
13
|
+
itemData: any;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
```typescript
|
|
17
|
+
interface ArdOption {
|
|
18
|
+
readonly itemData: any;
|
|
19
|
+
readonly index: number;
|
|
20
|
+
label: string;
|
|
21
|
+
value: any;
|
|
22
|
+
highlighted?: boolean;
|
|
23
|
+
selected?: boolean;
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
*/
|
|
27
|
+
export interface ArdSimplestStorageItem {
|
|
28
|
+
readonly itemData: any;
|
|
29
|
+
readonly index: number;
|
|
30
|
+
value: any;
|
|
31
|
+
label: string;
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
selected?: boolean;
|
|
34
|
+
highlighted?: boolean;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
```typescript
|
|
38
|
+
interface ArdOption {
|
|
39
|
+
readonly itemData: any;
|
|
40
|
+
readonly index: number;
|
|
41
|
+
readonly label: string;
|
|
42
|
+
readonly value: any;
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
highlighted?: boolean;
|
|
45
|
+
selected?: boolean;
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
*/
|
|
49
|
+
export interface ArdOptionSimple extends ArdSimplestStorageItem {
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
```typescript
|
|
54
|
+
interface ArdOption {
|
|
55
|
+
readonly itemData: any;
|
|
56
|
+
readonly index: number;
|
|
57
|
+
readonly label: string;
|
|
58
|
+
readonly value: any;
|
|
59
|
+
readonly group?: any;
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
selected?: boolean;
|
|
62
|
+
highlighted?: boolean;
|
|
63
|
+
highlighted_recently?: boolean;
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
*/
|
|
67
|
+
export interface ArdOption extends ArdOptionSimple {
|
|
68
|
+
readonly group?: any;
|
|
69
|
+
highlighted_recently?: boolean;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
```typescript
|
|
73
|
+
interface ArdItemGroup {
|
|
74
|
+
label: string;
|
|
75
|
+
disabled?: boolean;
|
|
76
|
+
highlighted?: boolean;
|
|
77
|
+
selected?: boolean;
|
|
78
|
+
children: ArdOption[];
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
*/
|
|
82
|
+
export interface ArdOptionGroup {
|
|
83
|
+
label: string;
|
|
84
|
+
disabled?: boolean;
|
|
85
|
+
highlighted?: boolean;
|
|
86
|
+
selected?: boolean;
|
|
87
|
+
children: ArdOption[];
|
|
88
|
+
}
|
|
89
|
+
export declare const ArdPanelPosition: {
|
|
90
|
+
readonly Top: "top";
|
|
91
|
+
readonly Bottom: "bottom";
|
|
92
|
+
readonly Auto: "auto";
|
|
93
|
+
};
|
|
94
|
+
export type ArdPanelPosition = (typeof ArdPanelPosition)[keyof typeof ArdPanelPosition];
|
|
95
|
+
export type ArdItemGroupMap = Map<any, ArdOptionGroup>;
|
|
96
|
+
export type GroupByFn = (item: any) => any;
|
|
97
|
+
export type SearchFn = (searchTerm: string, item: ArdOption) => boolean;
|
|
98
|
+
export type CompareWithFn = (value: any, optionValue: any) => boolean;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare const OutlinedAppearance: {
|
|
2
|
+
/**
|
|
3
|
+
* No background with solid border.
|
|
4
|
+
*/
|
|
5
|
+
readonly Outlined: "outlined";
|
|
6
|
+
};
|
|
7
|
+
export type OutlinedAppearance = (typeof OutlinedAppearance)[keyof typeof OutlinedAppearance];
|
|
8
|
+
export declare const PanelAppearance: {
|
|
9
|
+
/**
|
|
10
|
+
* Filled with a background color, with slight shadow.
|
|
11
|
+
*/
|
|
12
|
+
readonly Raised: "raised";
|
|
13
|
+
};
|
|
14
|
+
export type PanelAppearance = (typeof PanelAppearance)[keyof typeof PanelAppearance];
|
|
15
|
+
export declare const FormElementAppearance: {
|
|
16
|
+
/**
|
|
17
|
+
* No background and no border. Useful for when trying to create a component that uses another component inside its borders.
|
|
18
|
+
*/
|
|
19
|
+
readonly Transparent: "transparent";
|
|
20
|
+
/**
|
|
21
|
+
* Slighthly darker/lighter background with rounded but transparent border.
|
|
22
|
+
*/
|
|
23
|
+
readonly Filled: "filled";
|
|
24
|
+
/**
|
|
25
|
+
* No background with solid border.
|
|
26
|
+
*/
|
|
27
|
+
readonly Outlined: "outlined";
|
|
28
|
+
};
|
|
29
|
+
export type FormElementAppearance = (typeof FormElementAppearance)[keyof typeof FormElementAppearance];
|
|
30
|
+
export declare const DecorationElementAppearance: {
|
|
31
|
+
readonly Outlined: "outlined";
|
|
32
|
+
readonly OutlinedStrong: "outlined-strong";
|
|
33
|
+
readonly Filled: "filled";
|
|
34
|
+
};
|
|
35
|
+
export type DecorationElementAppearance = (typeof DecorationElementAppearance)[keyof typeof DecorationElementAppearance];
|
|
36
|
+
export declare const PanelVariant: {
|
|
37
|
+
/**
|
|
38
|
+
* Slightly rounded corners.
|
|
39
|
+
*/
|
|
40
|
+
readonly Rounded: "rounded";
|
|
41
|
+
/**
|
|
42
|
+
* Sharp corners.
|
|
43
|
+
*/
|
|
44
|
+
readonly Sharp: "sharp";
|
|
45
|
+
};
|
|
46
|
+
export type PanelVariant = (typeof PanelVariant)[keyof typeof PanelVariant];
|
|
47
|
+
export declare const FormElementVariant: {
|
|
48
|
+
/**
|
|
49
|
+
* Fully rounded corners - pill shaped.
|
|
50
|
+
*/
|
|
51
|
+
readonly Pill: "pill";
|
|
52
|
+
/**
|
|
53
|
+
* Slightly rounded corners.
|
|
54
|
+
*/
|
|
55
|
+
readonly Rounded: "rounded";
|
|
56
|
+
/**
|
|
57
|
+
* Sharp corners.
|
|
58
|
+
*/
|
|
59
|
+
readonly Sharp: "sharp";
|
|
60
|
+
};
|
|
61
|
+
export type FormElementVariant = (typeof FormElementVariant)[keyof typeof FormElementVariant];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const ClickStrategy: {
|
|
2
|
+
readonly None: "none";
|
|
3
|
+
readonly Default: "default";
|
|
4
|
+
};
|
|
5
|
+
export type ClickStrategy = (typeof ClickStrategy)[keyof typeof ClickStrategy];
|
|
6
|
+
/**
|
|
7
|
+
* Represents an array type that must contain at least one element.
|
|
8
|
+
*
|
|
9
|
+
* @template T - The type of elements in the array.
|
|
10
|
+
*/
|
|
11
|
+
export type NonEmptyArray<T> = [T, ...T[]];
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ardium-ui/ui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^17.0.7",
|
|
6
|
+
"@angular/core": "^17.0.7",
|
|
7
|
+
"@angular/cdk": "^17.0.7"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"tslib": "^2.3.0",
|
|
11
|
+
"first-last": "^1.1.1",
|
|
12
|
+
"more-rounding": "^4.2.1",
|
|
13
|
+
"resolve-object-path": "^1.1.0",
|
|
14
|
+
"simple-bool": "^3.0.1"
|
|
15
|
+
},
|
|
16
|
+
"exports": {
|
|
17
|
+
"./prebuilt-themes/*": {
|
|
18
|
+
"style": "./prebuilt-themes/*.css"
|
|
19
|
+
},
|
|
20
|
+
"./themes/default/*": {
|
|
21
|
+
"sass": "./themes/*.scss"
|
|
22
|
+
},
|
|
23
|
+
"./package.json": {
|
|
24
|
+
"default": "./package.json"
|
|
25
|
+
},
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./index.d.ts",
|
|
28
|
+
"esm2022": "./esm2022/ardium-ui-ui.mjs",
|
|
29
|
+
"esm": "./esm2022/ardium-ui-ui.mjs",
|
|
30
|
+
"default": "./fesm2022/ardium-ui-ui.mjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"module": "fesm2022/ardium-ui-ui.mjs",
|
|
34
|
+
"typings": "index.d.ts",
|
|
35
|
+
"sideEffects": false
|
|
36
|
+
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
.ard-badge-host {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.ard-badge {
|
|
6
|
+
position: absolute;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
pointer-events: none;
|
|
10
|
+
background: var(--ard-cmpcl--bgcolored);
|
|
11
|
+
color: var(--ard-cmpcl--on-bg-colored);
|
|
12
|
+
font-size: var(--ard-_badge-size);
|
|
13
|
+
min-width: calc(var(--ard-_badge-size) * 1.375);
|
|
14
|
+
height: calc(var(--ard-_badge-size) * 1.375);
|
|
15
|
+
--ard-_badge-overlap-offset-x: 0%;
|
|
16
|
+
}
|
|
17
|
+
.ard-badge.ard-color-none {
|
|
18
|
+
--ard-cmpcl--bg: var(--ard-bg);
|
|
19
|
+
--ard-cmpcl--bg-colored: var(--ard-bg-alt);
|
|
20
|
+
--ard-cmpcl--bg-colored-light: var(--ard-detail-light);
|
|
21
|
+
--ard-cmpcl--bg-header: var(--ard-bg-filled);
|
|
22
|
+
--ard-cmpcl--bg-colored-verylight: var(--ard-bg-darker);
|
|
23
|
+
--ard-cmpcl--on-bg: var(--ard-text);
|
|
24
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
25
|
+
--ard-cmpcl--border: var(--ard-text);
|
|
26
|
+
--ard-cmpcl--border-light: var(--ard-text2);
|
|
27
|
+
--ard-cmpcl--content: var(--ard-text);
|
|
28
|
+
--ard-cmpcl--content-light: var(--ard-text-alt);
|
|
29
|
+
--ard-cmpcl--overlay-rgb: var(--ard-overlay-rgb);
|
|
30
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
31
|
+
--ard-cmpcl--overlay-colored: var(--ard-overlay);
|
|
32
|
+
--ard-cmpcl--overlay-colored-light: var(--ard-text-alt);
|
|
33
|
+
}
|
|
34
|
+
.ard-badge.ard-color-primary {
|
|
35
|
+
--ard-cmpcl--bg: rgb(var(--ard-primary-500));
|
|
36
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-primary-500));
|
|
37
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-primary-100));
|
|
38
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-primary-100));
|
|
39
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-primary-50));
|
|
40
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
41
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
42
|
+
--ard-cmpcl--border: rgb(var(--ard-primary-300));
|
|
43
|
+
--ard-cmpcl--border-light: rgb(var(--ard-primary-100));
|
|
44
|
+
--ard-cmpcl--content: rgb(var(--ard-primary-700));
|
|
45
|
+
--ard-cmpcl--content-light: rgb(var(--ard-primary-300));
|
|
46
|
+
--ard-cmpcl--overlay-rgb: var(--ard-primary-500);
|
|
47
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
48
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-primary-700));
|
|
49
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-primary-100));
|
|
50
|
+
}
|
|
51
|
+
.ard-badge.ard-color-secondary {
|
|
52
|
+
--ard-cmpcl--bg: rgb(var(--ard-secondary-500));
|
|
53
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-secondary-500));
|
|
54
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-secondary-50));
|
|
55
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-secondary-50));
|
|
56
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-secondary-50));
|
|
57
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
58
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
59
|
+
--ard-cmpcl--border: rgb(var(--ard-secondary-300));
|
|
60
|
+
--ard-cmpcl--border-light: rgb(var(--ard-secondary-100));
|
|
61
|
+
--ard-cmpcl--content: rgb(var(--ard-secondary-700));
|
|
62
|
+
--ard-cmpcl--content-light: rgb(var(--ard-secondary-300));
|
|
63
|
+
--ard-cmpcl--overlay-rgb: var(--ard-secondary-500);
|
|
64
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
65
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-secondary-700));
|
|
66
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-secondary-100));
|
|
67
|
+
}
|
|
68
|
+
.ard-badge.ard-color-warn {
|
|
69
|
+
--ard-cmpcl--bg: rgb(var(--ard-warn-500));
|
|
70
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-warn-500));
|
|
71
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-warn-50));
|
|
72
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-warn-50));
|
|
73
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-warn-50));
|
|
74
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
75
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
76
|
+
--ard-cmpcl--border: rgb(var(--ard-warn-300));
|
|
77
|
+
--ard-cmpcl--border-light: rgb(var(--ard-warn-100));
|
|
78
|
+
--ard-cmpcl--content: rgb(var(--ard-warn-700));
|
|
79
|
+
--ard-cmpcl--content-light: rgb(var(--ard-warn-100));
|
|
80
|
+
--ard-cmpcl--overlay-rgb: var(--ard-warn-500);
|
|
81
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
82
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-warn-700));
|
|
83
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-warn-100));
|
|
84
|
+
}
|
|
85
|
+
.ard-badge.ard-color-danger {
|
|
86
|
+
--ard-cmpcl--bg: rgb(var(--ard-danger-700));
|
|
87
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-danger-700));
|
|
88
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-danger-100));
|
|
89
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-danger-100));
|
|
90
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-danger-50));
|
|
91
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
92
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
93
|
+
--ard-cmpcl--border: rgb(var(--ard-danger-300));
|
|
94
|
+
--ard-cmpcl--border-light: rgb(var(--ard-danger-100));
|
|
95
|
+
--ard-cmpcl--content: rgb(var(--ard-danger-900));
|
|
96
|
+
--ard-cmpcl--content-light: rgb(var(--ard-danger-500));
|
|
97
|
+
--ard-cmpcl--overlay-rgb: var(--ard-danger-700);
|
|
98
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
99
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-danger-700));
|
|
100
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-danger-300));
|
|
101
|
+
}
|
|
102
|
+
.ard-badge.ard-color-success {
|
|
103
|
+
--ard-cmpcl--bg: rgb(var(--ard-success-700));
|
|
104
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-success-700));
|
|
105
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-success-50));
|
|
106
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-success-50));
|
|
107
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-success-50));
|
|
108
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
109
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
110
|
+
--ard-cmpcl--border: rgb(var(--ard-success-300));
|
|
111
|
+
--ard-cmpcl--border-light: rgb(var(--ard-success-100));
|
|
112
|
+
--ard-cmpcl--content: rgb(var(--ard-success-900));
|
|
113
|
+
--ard-cmpcl--content-light: rgb(var(--ard-success-300));
|
|
114
|
+
--ard-cmpcl--overlay-rgb: var(--ard-success-700);
|
|
115
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
116
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-success-700));
|
|
117
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-success-300));
|
|
118
|
+
}
|
|
119
|
+
.ard-badge.ard-color-info {
|
|
120
|
+
--ard-cmpcl--bg: rgb(var(--ard-info-500));
|
|
121
|
+
--ard-cmpcl--bg-colored: rgb(var(--ard-info-500));
|
|
122
|
+
--ard-cmpcl--bg-colored-light: rgb(var(--ard-info-50));
|
|
123
|
+
--ard-cmpcl--bg-header: rgb(var(--ard-info-50));
|
|
124
|
+
--ard-cmpcl--bg-colored-verylight: rgb(var(--ard-info-50));
|
|
125
|
+
--ard-cmpcl--on-bg: var(--ard-text-alt);
|
|
126
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
127
|
+
--ard-cmpcl--border: rgb(var(--ard-info-300));
|
|
128
|
+
--ard-cmpcl--border-light: rgb(var(--ard-info-100));
|
|
129
|
+
--ard-cmpcl--content: rgb(var(--ard-info-700));
|
|
130
|
+
--ard-cmpcl--content-light: rgb(var(--ard-info-300));
|
|
131
|
+
--ard-cmpcl--overlay-rgb: var(--ard-info-500);
|
|
132
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
133
|
+
--ard-cmpcl--overlay-colored: rgb(var(--ard-info-700));
|
|
134
|
+
--ard-cmpcl--overlay-colored-light: rgb(var(--ard-info-100));
|
|
135
|
+
}
|
|
136
|
+
.ard-badge.ard-color-currentColor {
|
|
137
|
+
--ard-cmpcl--bg: var(--ard-bg);
|
|
138
|
+
--ard-cmpcl--bg-colored: currentColor;
|
|
139
|
+
--ard-cmpcl--on-bg: currentColor;
|
|
140
|
+
--ard-cmpcl--on-bg-colored: var(--ard-text-alt);
|
|
141
|
+
--ard-cmpcl--border: currentColor;
|
|
142
|
+
--ard-cmpcl--border-light: currentColor;
|
|
143
|
+
--ard-cmpcl--content: currentColor;
|
|
144
|
+
--ard-cmpcl--content-light: currentColor;
|
|
145
|
+
--ard-cmpcl--overlay-rgb: var(--ard-overlay-rgb);
|
|
146
|
+
--ard-cmpcl--overlay: var(--ard-overlay);
|
|
147
|
+
--ard-cmpcl--overlay-colored: currentColor;
|
|
148
|
+
--ard-cmpcl--overlay-colored-light: currentColor;
|
|
149
|
+
}
|
|
150
|
+
.ard-badge.ard-variant-pill {
|
|
151
|
+
border-radius: 9999px;
|
|
152
|
+
}
|
|
153
|
+
.ard-badge.ard-variant-rounded {
|
|
154
|
+
border-radius: calc(var(--ard-_badge-size) * 0.25);
|
|
155
|
+
}
|
|
156
|
+
.ard-badge.ard-variant-sharp {
|
|
157
|
+
border-radius: 0;
|
|
158
|
+
}
|
|
159
|
+
.ard-badge.ard-badge-hidden {
|
|
160
|
+
display: none;
|
|
161
|
+
}
|
|
162
|
+
.ard-badge .ard-badge-content {
|
|
163
|
+
padding: 0 calc(var(--ard-_badge-size) * 0.5);
|
|
164
|
+
}
|
|
165
|
+
.ard-badge.ard-badge-size-small {
|
|
166
|
+
--ard-_badge-size: 0.55rem;
|
|
167
|
+
font-weight: 300;
|
|
168
|
+
letter-spacing: 0.2px;
|
|
169
|
+
}
|
|
170
|
+
.ard-badge.ard-badge-size-medium {
|
|
171
|
+
--ard-_badge-size: 0.667rem;
|
|
172
|
+
font-weight: 400;
|
|
173
|
+
letter-spacing: 0.2px;
|
|
174
|
+
}
|
|
175
|
+
.ard-badge.ard-badge-size-large {
|
|
176
|
+
--ard-_badge-size: 0.8125rem;
|
|
177
|
+
font-weight: 500;
|
|
178
|
+
letter-spacing: 0.2px;
|
|
179
|
+
}
|
|
180
|
+
.ard-badge.ard-badge-overlap {
|
|
181
|
+
--ard-_badge-overlap-offset-x: 50%;
|
|
182
|
+
}
|
|
183
|
+
.ard-badge.ard-badge-position-above-before {
|
|
184
|
+
transform: translate(var(--ard-_badge-overlap-offset-x), 50%);
|
|
185
|
+
}
|
|
186
|
+
.ard-badge.ard-badge-position-above-after {
|
|
187
|
+
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), 50%);
|
|
188
|
+
}
|
|
189
|
+
.ard-badge.ard-badge-position-below-after {
|
|
190
|
+
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), -50%);
|
|
191
|
+
}
|
|
192
|
+
.ard-badge.ard-badge-position-below-before {
|
|
193
|
+
transform: translate(var(--ard-_badge-overlap-offset-x), -50%);
|
|
194
|
+
}
|
|
195
|
+
.ard-badge.ard-badge-position-above-before, .ard-badge.ard-badge-position-below-before {
|
|
196
|
+
right: 100%;
|
|
197
|
+
}
|
|
198
|
+
.ard-badge.ard-badge-position-above-after, .ard-badge.ard-badge-position-below-after {
|
|
199
|
+
left: 100%;
|
|
200
|
+
}
|
|
201
|
+
.ard-badge.ard-badge-position-below-before, .ard-badge.ard-badge-position-below-after {
|
|
202
|
+
top: 100%;
|
|
203
|
+
}
|
|
204
|
+
.ard-badge.ard-badge-position-above-before, .ard-badge.ard-badge-position-above-after {
|
|
205
|
+
bottom: 100%;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/*# sourceMappingURL=badge.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/badge.scss","../../../../projects/ui/src/themes/default/_coloring.scss"],"names":[],"mappings":"AAEA;EACI;;;AAEJ;EAEI;EACA;EACA;EACA;EAGA;EACA;EAmBA;EACA;EACA;EAuBA;;ACvDA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADrHJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAIJ;EACI;;AAQJ;EACI;;AAGJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;;AAMJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAIJ;EAEI;;AAEJ;EAEI;;AAEJ;EAEI;;AAEJ;EAEI","file":"badge.css"}
|