@ardium-pl/ui 5.0.0-alpha.106
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/fesm2022/ardium-pl-ui.mjs +18003 -0
- package/fesm2022/ardium-pl-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/_internal/boolean-component.d.ts +65 -0
- package/lib/_internal/clear-button/clear-button.component.d.ts +7 -0
- package/lib/_internal/clear-button/clear-button.module.d.ts +8 -0
- package/lib/_internal/disablable-component.d.ts +24 -0
- package/lib/_internal/focusable-component.d.ts +56 -0
- package/lib/_internal/form-field-component.d.ts +22 -0
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +79 -0
- package/lib/_internal/item-storages/simple-item-storage.d.ts +167 -0
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +75 -0
- package/lib/_internal/models/pagination.model.d.ts +49 -0
- package/lib/_internal/models/queue.d.ts +21 -0
- package/lib/_internal/ngmodel-component.d.ts +58 -0
- package/lib/_internal/public-api.d.ts +3 -0
- package/lib/_internal/selectable-list-component.d.ts +76 -0
- package/lib/_internal/utils/context-to-inputs.d.ts +3 -0
- package/lib/_internal/utils/date.utils.d.ts +21 -0
- package/lib/badge/badge.defaults.d.ts +13 -0
- package/lib/badge/badge.directive.d.ts +27 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/badge.types.d.ts +17 -0
- package/lib/badge/index.d.ts +4 -0
- package/lib/breakpoints/breakpoint.service.d.ts +12 -0
- package/lib/breakpoints/breakpoint.utils.d.ts +7 -0
- package/lib/breakpoints/breakpoints.d.ts +13 -0
- package/lib/breakpoints/index.d.ts +2 -0
- package/lib/buttons/_button-base.d.ts +25 -0
- package/lib/buttons/_button-base.defaults.d.ts +17 -0
- package/lib/buttons/button/button.component.d.ts +22 -0
- package/lib/buttons/button/button.defaults.d.ts +10 -0
- package/lib/buttons/button/button.directive.d.ts +23 -0
- package/lib/buttons/button/button.module.d.ts +9 -0
- package/lib/buttons/button/index.d.ts +4 -0
- package/lib/buttons/button-group/button-group.component.d.ts +25 -0
- package/lib/buttons/button-group/button-group.defaults.d.ts +7 -0
- package/lib/buttons/button-group/button-group.module.d.ts +8 -0
- package/lib/buttons/button-group/index.d.ts +3 -0
- package/lib/buttons/fab/fab.component.d.ts +13 -0
- package/lib/buttons/fab/fab.defaults.d.ts +8 -0
- package/lib/buttons/fab/fab.module.d.ts +8 -0
- package/lib/buttons/fab/index.d.ts +3 -0
- package/lib/buttons/general-button.types.d.ts +57 -0
- package/lib/buttons/icon-button/icon-button.component.d.ts +20 -0
- package/lib/buttons/icon-button/icon-button.defaults.d.ts +7 -0
- package/lib/buttons/icon-button/icon-button.module.d.ts +8 -0
- package/lib/buttons/icon-button/index.d.ts +3 -0
- package/lib/calendar/abstract-calendar.d.ts +135 -0
- package/lib/calendar/calendar.component.d.ts +15 -0
- package/lib/calendar/calendar.defaults.d.ts +34 -0
- package/lib/calendar/calendar.directives.d.ts +51 -0
- package/lib/calendar/calendar.internal-directives.d.ts +33 -0
- package/lib/calendar/calendar.internal-types.d.ts +5 -0
- package/lib/calendar/calendar.module.d.ts +10 -0
- package/lib/calendar/calendar.types.d.ts +111 -0
- package/lib/calendar/index.d.ts +8 -0
- package/lib/calendar/range-calendar.component.d.ts +17 -0
- package/lib/calendar/range-calendar.directives.d.ts +51 -0
- package/lib/calendar/range-calendar.module.d.ts +10 -0
- package/lib/calendar/views/calendar-views.module.d.ts +13 -0
- package/lib/calendar/views/days-view/days-view.component.d.ts +86 -0
- package/lib/calendar/views/days-view/days-view.helpers.d.ts +20 -0
- package/lib/calendar/views/months-view/months-view.component.d.ts +73 -0
- package/lib/calendar/views/months-view/months-view.helpers.d.ts +3 -0
- package/lib/calendar/views/years-view/years-view.component.d.ts +71 -0
- package/lib/calendar/views/years-view/years-view.helpers.d.ts +3 -0
- package/lib/card/card.children.d.ts +44 -0
- package/lib/card/card.component.d.ts +15 -0
- package/lib/card/card.defaults.d.ts +10 -0
- package/lib/card/card.module.d.ts +9 -0
- package/lib/card/card.types.d.ts +10 -0
- package/lib/card/index.d.ts +5 -0
- package/lib/checkbox/checkbox.component.d.ts +38 -0
- package/lib/checkbox/checkbox.defaults.d.ts +12 -0
- package/lib/checkbox/checkbox.directives.d.ts +15 -0
- package/lib/checkbox/checkbox.internal-directives.d.ts +10 -0
- package/lib/checkbox/checkbox.module.d.ts +10 -0
- package/lib/checkbox/checkbox.types.d.ts +22 -0
- package/lib/checkbox/index.d.ts +5 -0
- package/lib/checkbox-list/checkbox-list.component.d.ts +55 -0
- package/lib/checkbox-list/checkbox-list.defaults.d.ts +20 -0
- package/lib/checkbox-list/checkbox-list.directives.d.ts +16 -0
- package/lib/checkbox-list/checkbox-list.module.d.ts +11 -0
- package/lib/checkbox-list/checkbox-list.types.d.ts +11 -0
- package/lib/checkbox-list/index.d.ts +5 -0
- package/lib/chip/chip.component.d.ts +20 -0
- package/lib/chip/chip.defaults.d.ts +15 -0
- package/lib/chip/chip.module.d.ts +11 -0
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +23 -0
- package/lib/chip/deletable-chip/deletable-chip.defaults.d.ts +8 -0
- package/lib/chip/index.d.ts +7 -0
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +25 -0
- package/lib/chip/selectable-chip/selectable-chip.defaults.d.ts +9 -0
- package/lib/dialog/dialog.component.d.ts +47 -0
- package/lib/dialog/dialog.defaults.d.ts +19 -0
- package/lib/dialog/dialog.directives.d.ts +15 -0
- package/lib/dialog/dialog.module.d.ts +11 -0
- package/lib/dialog/dialog.types.d.ts +38 -0
- package/lib/dialog/index.d.ts +5 -0
- package/lib/divider/divider.component.d.ts +6 -0
- package/lib/divider/divider.defaults.d.ts +11 -0
- package/lib/divider/divider.directive.d.ts +18 -0
- package/lib/divider/divider.module.d.ts +9 -0
- package/lib/divider/divider.types.d.ts +5 -0
- package/lib/divider/index.d.ts +5 -0
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +36 -0
- package/lib/dropdown-panel/dropdown-panel.defaults.d.ts +10 -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/dropdown-panel/index.d.ts +4 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +26 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.defaults.d.ts +10 -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-drop-area/index.d.ts +4 -0
- package/lib/file-inputs/file-input/file-input.component.d.ts +38 -0
- package/lib/file-inputs/file-input/file-input.defaults.d.ts +17 -0
- package/lib/file-inputs/file-input/file-input.directives.d.ts +46 -0
- package/lib/file-inputs/file-input/file-input.module.d.ts +13 -0
- package/lib/file-inputs/file-input/index.d.ts +4 -0
- package/lib/file-inputs/file-input-base.d.ts +60 -0
- package/lib/file-inputs/file-input-base.defaults.d.ts +7 -0
- package/lib/file-inputs/file-input-types.d.ts +41 -0
- package/lib/form-field/auto-error/auto-error.component.d.ts +19 -0
- package/lib/form-field/auto-error/auto-error.provider.d.ts +7 -0
- package/lib/form-field/error/error.component.d.ts +6 -0
- package/lib/form-field/error/error.directive.d.ts +9 -0
- package/lib/form-field/form-field-base.d.ts +30 -0
- package/lib/form-field/form-field-child.token.d.ts +8 -0
- package/lib/form-field/form-field-native-inputs.d.ts +17 -0
- package/lib/form-field/form-field.component.d.ts +7 -0
- package/lib/form-field/form-field.defaults.d.ts +11 -0
- package/lib/form-field/form-field.module.d.ts +17 -0
- package/lib/form-field/hint/hint.component.d.ts +6 -0
- package/lib/form-field/hint/hint.directive.d.ts +9 -0
- package/lib/form-field/hint-error/hint-error.component.d.ts +6 -0
- package/lib/form-field/hint-error/hint-error.directive.d.ts +9 -0
- package/lib/form-field/horizontal-form-field.component.d.ts +7 -0
- package/lib/form-field/index.d.ts +15 -0
- package/lib/form-field/label/label.component.d.ts +12 -0
- package/lib/form-field-frame/form-field-frame.component.d.ts +43 -0
- package/lib/form-field-frame/form-field-frame.defaults.d.ts +13 -0
- package/lib/form-field-frame/form-field-frame.directives.d.ts +15 -0
- package/lib/form-field-frame/form-field-frame.module.d.ts +9 -0
- package/lib/form-field-frame/form-field-frame.types.d.ts +10 -0
- package/lib/form-field-frame/index.d.ts +5 -0
- package/lib/grid/grid.component.d.ts +63 -0
- package/lib/grid/grid.defaults.d.ts +16 -0
- package/lib/grid/grid.module.d.ts +7 -0
- package/lib/grid/grid.types.d.ts +38 -0
- package/lib/grid/grid.utils.d.ts +20 -0
- package/lib/grid/index.d.ts +4 -0
- package/lib/icon/icon.component.d.ts +28 -0
- package/lib/icon/icon.defaults.d.ts +11 -0
- package/lib/icon/icon.module.d.ts +9 -0
- package/lib/icon/icon.pipe.d.ts +7 -0
- package/lib/icon/index.d.ts +4 -0
- package/lib/inputs/_simple-input-base.d.ts +67 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.component.d.ts +69 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.defaults.d.ts +18 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.directives.d.ts +34 -0
- package/lib/inputs/autocomplete-input/autocomplete-input.module.d.ts +13 -0
- package/lib/inputs/autocomplete-input/index.d.ts +4 -0
- package/lib/inputs/date-input/abstract-date-input.d.ts +109 -0
- package/lib/inputs/date-input/date-input.component.d.ts +52 -0
- package/lib/inputs/date-input/date-input.defaults.d.ts +54 -0
- package/lib/inputs/date-input/date-input.directives.d.ts +83 -0
- package/lib/inputs/date-input/date-input.module.d.ts +17 -0
- package/lib/inputs/date-input/date-input.serializers.d.ts +5 -0
- package/lib/inputs/date-input/date-input.types.d.ts +17 -0
- package/lib/inputs/date-input/date-range-input.component.d.ts +36 -0
- package/lib/inputs/date-input/date-range-input.directives.d.ts +83 -0
- package/lib/inputs/date-input/date-range-input.module.d.ts +17 -0
- package/lib/inputs/date-input/index.d.ts +11 -0
- package/lib/inputs/date-input/multipage-date-range-input.component.d.ts +50 -0
- package/lib/inputs/date-input/multipage-date-range-input.directives.d.ts +83 -0
- package/lib/inputs/date-input/multipage-date-range-input.module.d.ts +17 -0
- package/lib/inputs/digit-input/digit-input.component.d.ts +62 -0
- package/lib/inputs/digit-input/digit-input.defaults.d.ts +16 -0
- package/lib/inputs/digit-input/digit-input.model.d.ts +27 -0
- package/lib/inputs/digit-input/digit-input.module.d.ts +9 -0
- package/lib/inputs/digit-input/digit-input.types.d.ts +30 -0
- package/lib/inputs/digit-input/digit-input.utils.d.ts +20 -0
- package/lib/inputs/digit-input/index.d.ts +4 -0
- package/lib/inputs/hex-input/hex-input.component.d.ts +57 -0
- package/lib/inputs/hex-input/hex-input.defaults.d.ts +22 -0
- package/lib/inputs/hex-input/hex-input.directives.d.ts +21 -0
- package/lib/inputs/hex-input/hex-input.model.d.ts +26 -0
- package/lib/inputs/hex-input/hex-input.module.d.ts +11 -0
- package/lib/inputs/hex-input/index.d.ts +4 -0
- package/lib/inputs/input/index.d.ts +4 -0
- package/lib/inputs/input/input.component.d.ts +15 -0
- package/lib/inputs/input/input.defaults.d.ts +9 -0
- package/lib/inputs/input/input.directives.d.ts +21 -0
- package/lib/inputs/input/input.module.d.ts +11 -0
- package/lib/inputs/input-transformers.d.ts +24 -0
- package/lib/inputs/input-types.d.ts +15 -0
- package/lib/inputs/input-utils.d.ts +66 -0
- package/lib/inputs/number-input/index.d.ts +4 -0
- package/lib/inputs/number-input/number-input.component.d.ts +78 -0
- package/lib/inputs/number-input/number-input.defaults.d.ts +28 -0
- package/lib/inputs/number-input/number-input.directives.d.ts +21 -0
- package/lib/inputs/number-input/number-input.module.d.ts +11 -0
- package/lib/inputs/number-input/number-input.types.d.ts +6 -0
- package/lib/inputs/password-input/index.d.ts +5 -0
- package/lib/inputs/password-input/password-input.component.d.ts +48 -0
- package/lib/inputs/password-input/password-input.defaults.d.ts +20 -0
- package/lib/inputs/password-input/password-input.directives.d.ts +28 -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/kbd/index.d.ts +5 -0
- package/lib/kbd/kbd.component.d.ts +15 -0
- package/lib/kbd/kbd.defaults.d.ts +8 -0
- package/lib/kbd/kbd.directive.d.ts +13 -0
- package/lib/kbd/kbd.module.d.ts +10 -0
- package/lib/kbd/kbd.pipe.d.ts +8 -0
- package/lib/kbd-shortcut/index.d.ts +3 -0
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +18 -0
- package/lib/kbd-shortcut/kbd-shortcut.defaults.d.ts +8 -0
- package/lib/kbd-shortcut/kbd-shortcut.module.d.ts +9 -0
- package/lib/modal/index.d.ts +5 -0
- package/lib/modal/modal.component.d.ts +39 -0
- package/lib/modal/modal.defaults.d.ts +18 -0
- package/lib/modal/modal.directives.d.ts +8 -0
- package/lib/modal/modal.module.d.ts +12 -0
- package/lib/modal/modal.types.d.ts +3 -0
- package/lib/option/index.d.ts +2 -0
- package/lib/option/option.component.d.ts +25 -0
- package/lib/option/option.module.d.ts +8 -0
- package/lib/progress-bar/index.d.ts +4 -0
- package/lib/progress-bar/progress-bar.component.d.ts +18 -0
- package/lib/progress-bar/progress-bar.defaults.d.ts +13 -0
- package/lib/progress-bar/progress-bar.module.d.ts +8 -0
- package/lib/progress-bar/progress-bar.types.d.ts +22 -0
- package/lib/progress-circle/index.d.ts +5 -0
- package/lib/progress-circle/progress-circle.component.d.ts +25 -0
- package/lib/progress-circle/progress-circle.defaults.d.ts +15 -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 +20 -0
- package/lib/radio/index.d.ts +4 -0
- package/lib/radio/radio/radio.component.d.ts +68 -0
- package/lib/radio/radio/radio.defaults.d.ts +8 -0
- package/lib/radio/radio-group.component.d.ts +40 -0
- package/lib/radio/radio.module.d.ts +9 -0
- package/lib/search-functions.d.ts +10 -0
- package/lib/segment/index.d.ts +5 -0
- package/lib/segment/segment.component.d.ts +40 -0
- package/lib/segment/segment.defaults.d.ts +18 -0
- package/lib/segment/segment.directives.d.ts +8 -0
- package/lib/segment/segment.module.d.ts +9 -0
- package/lib/segment/segment.types.d.ts +17 -0
- package/lib/select/index.d.ts +5 -0
- package/lib/select/select.component.d.ts +230 -0
- package/lib/select/select.defaults.d.ts +70 -0
- package/lib/select/select.directive.d.ts +95 -0
- package/lib/select/select.module.d.ts +14 -0
- package/lib/select/select.types.d.ts +60 -0
- package/lib/select/select.utils.d.ts +2 -0
- package/lib/slide-toggle/index.d.ts +4 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +21 -0
- package/lib/slide-toggle/slide-toggle.defaults.d.ts +14 -0
- package/lib/slide-toggle/slide-toggle.module.d.ts +8 -0
- package/lib/slide-toggle/slide-toggle.types.d.ts +5 -0
- package/lib/slider/abstract-slider.d.ts +96 -0
- package/lib/slider/index.d.ts +8 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +37 -0
- package/lib/slider/range-slider/range-slider.module.d.ts +8 -0
- package/lib/slider/range-slider/range-slider.types.d.ts +6 -0
- package/lib/slider/slider.component.d.ts +24 -0
- package/lib/slider/slider.defaults.d.ts +6 -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 +69 -0
- package/lib/snackbar/snackbar.component.d.ts +16 -0
- package/lib/snackbar/snackbar.service.d.ts +57 -0
- package/lib/snackbar/snackbar.token.d.ts +5 -0
- package/lib/snackbar/snackbar.types.d.ts +84 -0
- package/lib/spinner/index.d.ts +3 -0
- package/lib/spinner/spinner.component.d.ts +9 -0
- package/lib/spinner/spinner.defaults.d.ts +7 -0
- package/lib/spinner/spinner.module.d.ts +8 -0
- package/lib/stack/index.d.ts +3 -0
- package/lib/stack/stack.component.d.ts +26 -0
- package/lib/stack/stack.defaults.d.ts +14 -0
- package/lib/stack/stack.module.d.ts +7 -0
- package/lib/star/index.d.ts +5 -0
- package/lib/star/rating-display/index.d.ts +5 -0
- package/lib/star/rating-display/rating-display.component.d.ts +18 -0
- package/lib/star/rating-display/rating-display.defaults.d.ts +9 -0
- package/lib/star/rating-display/rating-display.directives.d.ts +9 -0
- package/lib/star/rating-display/rating-display.module.d.ts +10 -0
- package/lib/star/rating-display/rating-display.types.d.ts +8 -0
- package/lib/star/rating-input/index.d.ts +5 -0
- package/lib/star/rating-input/rating-input.component.d.ts +48 -0
- package/lib/star/rating-input/rating-input.defaults.d.ts +9 -0
- package/lib/star/rating-input/rating-input.directives.d.ts +9 -0
- package/lib/star/rating-input/rating-input.module.d.ts +10 -0
- package/lib/star/rating-input/rating-input.types.d.ts +12 -0
- package/lib/star/star-button/index.d.ts +5 -0
- package/lib/star/star-button/star-button.component.d.ts +26 -0
- package/lib/star/star-button/star-button.defaults.d.ts +10 -0
- package/lib/star/star-button/star-button.directives.d.ts +9 -0
- package/lib/star/star-button/star-button.module.d.ts +10 -0
- package/lib/star/star-button/star-button.types.d.ts +7 -0
- package/lib/star/star.component.d.ts +15 -0
- package/lib/star/star.defaults.d.ts +8 -0
- package/lib/star/star.directives.d.ts +9 -0
- package/lib/star/star.module.d.ts +10 -0
- package/lib/star/star.types.d.ts +33 -0
- package/lib/tabber/index.d.ts +6 -0
- package/lib/tabber/tab/tab.component.d.ts +27 -0
- package/lib/tabber/tabber.component.d.ts +44 -0
- package/lib/tabber/tabber.defaults.d.ts +14 -0
- package/lib/tabber/tabber.directives.d.ts +9 -0
- package/lib/tabber/tabber.module.d.ts +10 -0
- package/lib/tabber/tabber.types.d.ts +5 -0
- package/lib/table/index.d.ts +5 -0
- package/lib/table/table-item-storage.d.ts +273 -0
- package/lib/table/table.component.d.ts +111 -0
- package/lib/table/table.defaults.d.ts +50 -0
- package/lib/table/table.directives.d.ts +36 -0
- package/lib/table/table.module.d.ts +13 -0
- package/lib/table/table.types.d.ts +83 -0
- package/lib/table/utils.d.ts +4 -0
- package/lib/table-from-csv/index.d.ts +3 -0
- package/lib/table-from-csv/table-from-csv.component.d.ts +55 -0
- package/lib/table-from-csv/table-from-csv.defaults.d.ts +7 -0
- package/lib/table-from-csv/table-from-csv.module.d.ts +9 -0
- package/lib/table-pagination/index.d.ts +4 -0
- package/lib/table-pagination/table-pagination.component.d.ts +40 -0
- package/lib/table-pagination/table-pagination.defaults.d.ts +20 -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/text-list/index.d.ts +3 -0
- package/lib/text-list/text-list.component.d.ts +9 -0
- package/lib/text-list/text-list.module.d.ts +9 -0
- package/lib/text-list/text-list.pipe.d.ts +7 -0
- package/lib/types/alignment.types.d.ts +17 -0
- package/lib/types/button.types.d.ts +6 -0
- package/lib/types/colors.types.d.ts +71 -0
- package/lib/types/item-storage.types.d.ts +50 -0
- package/lib/types/theming.types.d.ts +62 -0
- package/lib/types/utility.types.d.ts +16 -0
- package/package.json +39 -0
- package/prebuilt-themes/default/badge.css +237 -0
- package/prebuilt-themes/default/badge.css.map +1 -0
- package/prebuilt-themes/default/buttons/button-group.css +19 -0
- package/prebuilt-themes/default/buttons/button-group.css.map +1 -0
- package/prebuilt-themes/default/buttons/button.css +339 -0
- package/prebuilt-themes/default/buttons/button.css.map +1 -0
- package/prebuilt-themes/default/buttons/fab.css +330 -0
- package/prebuilt-themes/default/buttons/fab.css.map +1 -0
- package/prebuilt-themes/default/buttons/icon-button.css +304 -0
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -0
- package/prebuilt-themes/default/calendar.css +393 -0
- package/prebuilt-themes/default/calendar.css.map +1 -0
- package/prebuilt-themes/default/card.css +154 -0
- package/prebuilt-themes/default/card.css.map +1 -0
- package/prebuilt-themes/default/checkbox-list.css +101 -0
- package/prebuilt-themes/default/checkbox-list.css.map +1 -0
- package/prebuilt-themes/default/checkbox.css +383 -0
- package/prebuilt-themes/default/checkbox.css.map +1 -0
- package/prebuilt-themes/default/chips.css +421 -0
- package/prebuilt-themes/default/chips.css.map +1 -0
- package/prebuilt-themes/default/color-display.css +37 -0
- package/prebuilt-themes/default/color-display.css.map +1 -0
- package/prebuilt-themes/default/color-picker.css +108 -0
- package/prebuilt-themes/default/color-picker.css.map +1 -0
- package/prebuilt-themes/default/core.css +112 -0
- package/prebuilt-themes/default/core.css.map +1 -0
- package/prebuilt-themes/default/dialog.css +22 -0
- package/prebuilt-themes/default/dialog.css.map +1 -0
- package/prebuilt-themes/default/divider.css +87 -0
- package/prebuilt-themes/default/divider.css.map +1 -0
- package/prebuilt-themes/default/dropdown-panel.css +45 -0
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -0
- package/prebuilt-themes/default/file-drop-area.css +332 -0
- package/prebuilt-themes/default/file-drop-area.css.map +1 -0
- package/prebuilt-themes/default/form-field-frame.css +105 -0
- package/prebuilt-themes/default/form-field-frame.css.map +1 -0
- package/prebuilt-themes/default/form-field.css +153 -0
- package/prebuilt-themes/default/form-field.css.map +1 -0
- package/prebuilt-themes/default/inputs/autocomplete-input.css +198 -0
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/color-input.css +108 -0
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/date-input.css +152 -0
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/digit-input.css +129 -0
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/file-input.css +399 -0
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/hex-input.css +165 -0
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/input.css +152 -0
- package/prebuilt-themes/default/inputs/input.css.map +1 -0
- package/prebuilt-themes/default/inputs/number-input.css +230 -0
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/password-input.css +132 -0
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -0
- package/prebuilt-themes/default/kbd-shortcut.css +17 -0
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -0
- package/prebuilt-themes/default/kbd.css +29 -0
- package/prebuilt-themes/default/kbd.css.map +1 -0
- package/prebuilt-themes/default/modal.css +99 -0
- package/prebuilt-themes/default/modal.css.map +1 -0
- package/prebuilt-themes/default/progress-bar.css +286 -0
- package/prebuilt-themes/default/progress-bar.css.map +1 -0
- package/prebuilt-themes/default/progress-circle.css +181 -0
- package/prebuilt-themes/default/progress-circle.css.map +1 -0
- package/prebuilt-themes/default/radio.css +261 -0
- package/prebuilt-themes/default/radio.css.map +1 -0
- package/prebuilt-themes/default/segment.css +441 -0
- package/prebuilt-themes/default/segment.css.map +1 -0
- package/prebuilt-themes/default/select.css +322 -0
- package/prebuilt-themes/default/select.css.map +1 -0
- package/prebuilt-themes/default/slide-toggle.css +322 -0
- package/prebuilt-themes/default/slide-toggle.css.map +1 -0
- package/prebuilt-themes/default/slider.css +428 -0
- package/prebuilt-themes/default/slider.css.map +1 -0
- package/prebuilt-themes/default/snackbar.css +202 -0
- package/prebuilt-themes/default/snackbar.css.map +1 -0
- package/prebuilt-themes/default/spinner.css +164 -0
- package/prebuilt-themes/default/spinner.css.map +1 -0
- package/prebuilt-themes/default/stars.css +284 -0
- package/prebuilt-themes/default/stars.css.map +1 -0
- package/prebuilt-themes/default/tabber.css +253 -0
- package/prebuilt-themes/default/tabber.css.map +1 -0
- package/prebuilt-themes/default/table-pagination.css +60 -0
- package/prebuilt-themes/default/table-pagination.css.map +1 -0
- package/prebuilt-themes/default/table.css +467 -0
- package/prebuilt-themes/default/table.css.map +1 -0
- package/public-api.d.ts +59 -0
- package/themes/_variables.scss +124 -0
- package/themes/default/_clear-button.scss +78 -0
- package/themes/default/_coloring.scss +144 -0
- package/themes/default/_dropdown-arrow.scss +12 -0
- package/themes/default/_mixins.scss +91 -0
- package/themes/default/badge.scss +129 -0
- package/themes/default/buttons/_button-mixins.scss +152 -0
- package/themes/default/buttons/button-group.scss +19 -0
- package/themes/default/buttons/button.scss +119 -0
- package/themes/default/buttons/fab.scss +112 -0
- package/themes/default/buttons/icon-button.scss +91 -0
- package/themes/default/calendar.scss +298 -0
- package/themes/default/card.scss +181 -0
- package/themes/default/checkbox-list.scss +125 -0
- package/themes/default/checkbox.scss +123 -0
- package/themes/default/chips.scss +269 -0
- package/themes/default/color-display.scss +53 -0
- package/themes/default/color-picker.scss +113 -0
- package/themes/default/core.scss +129 -0
- package/themes/default/dialog.scss +25 -0
- package/themes/default/divider.scss +115 -0
- package/themes/default/dropdown-panel.scss +60 -0
- package/themes/default/file-drop-area.scss +221 -0
- package/themes/default/form-field-frame.scss +91 -0
- package/themes/default/form-field.scss +161 -0
- package/themes/default/inputs/_shared.scss +99 -0
- package/themes/default/inputs/autocomplete-input.scss +119 -0
- package/themes/default/inputs/color-input.scss +48 -0
- package/themes/default/inputs/date-input.scss +106 -0
- package/themes/default/inputs/digit-input.scss +138 -0
- package/themes/default/inputs/file-input.scss +187 -0
- package/themes/default/inputs/hex-input.scss +81 -0
- package/themes/default/inputs/input.scss +63 -0
- package/themes/default/inputs/number-input.scss +214 -0
- package/themes/default/inputs/password-input.scss +116 -0
- package/themes/default/kbd-shortcut.scss +21 -0
- package/themes/default/kbd.scss +40 -0
- package/themes/default/modal.scss +130 -0
- package/themes/default/progress-bar.scss +181 -0
- package/themes/default/progress-circle.scss +64 -0
- package/themes/default/radio.scss +154 -0
- package/themes/default/segment.scss +383 -0
- package/themes/default/select.scss +327 -0
- package/themes/default/slide-toggle.scss +228 -0
- package/themes/default/slider.scss +287 -0
- package/themes/default/snackbar.scss +78 -0
- package/themes/default/spinner.scss +31 -0
- package/themes/default/stars.scss +133 -0
- package/themes/default/tabber.scss +131 -0
- package/themes/default/table-pagination.scss +72 -0
- package/themes/default/table.scss +459 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
@use '../variables' as ARD;
|
|
2
|
+
|
|
3
|
+
@layer ard-ui {
|
|
4
|
+
// the variables are commented out intentionally
|
|
5
|
+
// read more in docs/dev/css-variables.md
|
|
6
|
+
:root {
|
|
7
|
+
// --ard-card-bg: ;
|
|
8
|
+
// --ard-card-rounded-corner-radius: ;
|
|
9
|
+
// --ard-card-border-color: ;
|
|
10
|
+
|
|
11
|
+
--ard-card-content-padding-top: 0;
|
|
12
|
+
--ard-card-content-padding-right: 1em;
|
|
13
|
+
--ard-card-content-padding-bottom: 0;
|
|
14
|
+
--ard-card-content-padding-left: 1em;
|
|
15
|
+
|
|
16
|
+
--ard-card-header-padding-top: 0.5em;
|
|
17
|
+
--ard-card-header-padding-right: 1em;
|
|
18
|
+
--ard-card-header-padding-bottom: 0;
|
|
19
|
+
--ard-card-header-padding-left: 1em;
|
|
20
|
+
--ard-card-header-margin-bottom: 1em;
|
|
21
|
+
|
|
22
|
+
// --ard-card-title-color: ;
|
|
23
|
+
--ard-card-title-font-size: 1.375em;
|
|
24
|
+
--ard-card-title-letter-spacing: 0.0125em;
|
|
25
|
+
--ard-card-title-font-weight: 500;
|
|
26
|
+
--ard-card-title-margin-top: 0;
|
|
27
|
+
// --ard-card-subtitle-color: ;
|
|
28
|
+
--ard-card-subtitle-font-size: 1.375em;
|
|
29
|
+
--ard-card-subtitle-letter-spacing: 0.0125em;
|
|
30
|
+
--ard-card-subtitle-font-weight: 500;
|
|
31
|
+
--ard-card-subtitle-margin-top: 0;
|
|
32
|
+
|
|
33
|
+
--ard-card-avatar-size: 3em;
|
|
34
|
+
|
|
35
|
+
--ard-card-action-buttons-padding: 0.5em;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
ard-card,
|
|
39
|
+
.ard-card {
|
|
40
|
+
position: relative;
|
|
41
|
+
background: var(--ard-card-bg, #{ARD.$bg});
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
width: 100%;
|
|
44
|
+
height: max-content;
|
|
45
|
+
display: block;
|
|
46
|
+
|
|
47
|
+
//! appearances
|
|
48
|
+
&.ard-appearance-outlined {
|
|
49
|
+
border: 1px solid var(--ard-card-border-color, #{ARD.$border-light});
|
|
50
|
+
}
|
|
51
|
+
&.ard-appearance-raised {
|
|
52
|
+
box-shadow: ARD.$card-shadow;
|
|
53
|
+
}
|
|
54
|
+
//! variants
|
|
55
|
+
&.ard-variant-sharp {
|
|
56
|
+
border-radius: 0;
|
|
57
|
+
}
|
|
58
|
+
&.ard-variant-rounded {
|
|
59
|
+
border-radius: var(--ard-card-rounded-corner-radius, var(--ard-rounded-corner-radius, 0.375rem));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
//! header
|
|
63
|
+
ard-card-header {
|
|
64
|
+
padding-top: var(--ard-card-header-padding-top, var(--ard-card-content-padding-top, 0.5em));
|
|
65
|
+
padding-right: var(--ard-card-header-padding-right, var(--ard-card-content-padding-right, 1em));
|
|
66
|
+
padding-bottom: var(--ard-card-header-padding-bottom, var(--ard-card-content-padding-bottom, 0));
|
|
67
|
+
padding-left: var(--ard-card-header-padding-left, var(--ard-card-content-padding-left, 1em));
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
margin-bottom: var(--ard-card-header-margin-bottom, 1em);
|
|
71
|
+
max-width: 100%;
|
|
72
|
+
|
|
73
|
+
.ard-card-header-title-container {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&:first-child {
|
|
80
|
+
padding-top: var(--ard-card-content-padding-top, 0.5em);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.ard-card-title,
|
|
84
|
+
.ard-card-subtitle {
|
|
85
|
+
display: block;
|
|
86
|
+
margin: 0;
|
|
87
|
+
}
|
|
88
|
+
.ard-card-title {
|
|
89
|
+
color: var(--ard-card-title-color, #{ARD.$text});
|
|
90
|
+
font-size: var(--ard-card-title-font-size, 1.375em);
|
|
91
|
+
letter-spacing: var(--ard-card-title-letter-spacing, 0.0125em);
|
|
92
|
+
font-weight: var(--ard-card-title-font-weight, 500);
|
|
93
|
+
margin-top: var(--ard-card-title-margin-top, 0);
|
|
94
|
+
}
|
|
95
|
+
.ard-card-subtitle {
|
|
96
|
+
color: var(--ard-card-subtitle-color, #{ARD.$text3});
|
|
97
|
+
font-size: var(--ard-card-subtitle-font-size, 1.375em);
|
|
98
|
+
letter-spacing: var(--ard-card-subtitle-letter-spacing, 0.0125em);
|
|
99
|
+
font-weight: var(--ard-card-subtitle-font-weight, 500);
|
|
100
|
+
margin-top: var(--ard-card-subtitle-margin-top, 0);
|
|
101
|
+
}
|
|
102
|
+
.ard-card-avatar {
|
|
103
|
+
display: block;
|
|
104
|
+
width: var(--ard-card-avatar-size, 3em);
|
|
105
|
+
height: var(--ard-card-avatar-size, 3em);
|
|
106
|
+
border-radius: 9999px;
|
|
107
|
+
flex-shrink: 0;
|
|
108
|
+
object-fit: cover;
|
|
109
|
+
|
|
110
|
+
~ .ard-card-header-title-container {
|
|
111
|
+
padding-top: var(--ard-card-content-padding-top, 0);
|
|
112
|
+
padding-right: var(--ard-card-content-padding-right, 1em);
|
|
113
|
+
padding-bottom: var(--ard-card-content-padding-bottom, 0);
|
|
114
|
+
padding-left: var(--ard-card-content-padding-left, 0);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
//! image
|
|
118
|
+
.ard-card-image {
|
|
119
|
+
position: relative;
|
|
120
|
+
box-sizing: border-box;
|
|
121
|
+
background-repeat: no-repeat;
|
|
122
|
+
background-position: center;
|
|
123
|
+
background-size: cover;
|
|
124
|
+
max-width: 100%;
|
|
125
|
+
|
|
126
|
+
&:first-child {
|
|
127
|
+
border-top-left-radius: inherit;
|
|
128
|
+
border-top-right-radius: inherit;
|
|
129
|
+
}
|
|
130
|
+
&:last-child {
|
|
131
|
+
border-bottom-left-radius: inherit;
|
|
132
|
+
border-bottom-right-radius: inherit;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
ard-card,
|
|
136
|
+
.ard-card {
|
|
137
|
+
.ard-appearance-outlined .ard-image {
|
|
138
|
+
border-bottom: 1px solid var(--ard-card-border-color, #{ARD.$border-light});
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
//! content
|
|
142
|
+
.ard-card-content {
|
|
143
|
+
padding-top: var(--ard-card-content-padding-top, var(--ard-card-content-padding, 0));
|
|
144
|
+
padding-right: var(--ard-card-content-padding-right, var(--ard-card-content-padding, 1em));
|
|
145
|
+
padding-bottom: var(--ard-card-content-padding-bottom, var(--ard-card-content-padding, 0));
|
|
146
|
+
padding-left: var(--ard-card-content-padding-left, var(--ard-card-content-padding, 1em));
|
|
147
|
+
display: block;
|
|
148
|
+
max-width: 100%;
|
|
149
|
+
|
|
150
|
+
&:first-child {
|
|
151
|
+
padding-top: var(--ard-card-content-padding-top, var(--ard-card-content-padding, 0));
|
|
152
|
+
}
|
|
153
|
+
&:last-child {
|
|
154
|
+
padding-bottom: var(--ard-card-content-padding-bottom, var(--ard-card-content-padding, 0));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
> :last-child {
|
|
158
|
+
margin-bottom: 0;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
//! action buttons
|
|
162
|
+
.ard-card-action-buttons {
|
|
163
|
+
padding: var(--ard-card-action-buttons-padding, 0.5em);
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-direction: row;
|
|
166
|
+
align-items: center;
|
|
167
|
+
max-width: 100%;
|
|
168
|
+
|
|
169
|
+
&.ard-align-left {
|
|
170
|
+
justify-content: flex-start;
|
|
171
|
+
}
|
|
172
|
+
&.ard-align-center {
|
|
173
|
+
justify-content: center;
|
|
174
|
+
}
|
|
175
|
+
&.ard-align-right {
|
|
176
|
+
justify-content: flex-end;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
//! footer
|
|
180
|
+
//no styling needed
|
|
181
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
@use './mixins' as CM;
|
|
2
|
+
@use '../variables' as ARD;
|
|
3
|
+
|
|
4
|
+
@layer ard-ui {
|
|
5
|
+
:root {
|
|
6
|
+
--ard-checkbox-list-padding: 0.375rem 0;
|
|
7
|
+
--ard-checkbox-list-item-hover-opacity: 5%;
|
|
8
|
+
--ard-checkbox-list-item-active-opacity: 15%;
|
|
9
|
+
--ard-checkbox-list-item-height: 3rem;
|
|
10
|
+
--ard-checkbox-list-item-height-compact: 2rem;
|
|
11
|
+
--ard-checkbox-list-checkbox-min-width: 1.25rem;
|
|
12
|
+
--ard-checkbox-list-checkbox-padding: 0.625rem;
|
|
13
|
+
--ard-checkbox-list-item-padding: 0 0.5rem 0 0;
|
|
14
|
+
--ard-checkbox-list-gap: 0;
|
|
15
|
+
--ard-checkbox-list-gap-compact: 0;
|
|
16
|
+
--ard-checkbox-list-item-gap: 0.5rem;
|
|
17
|
+
--ard-checkbox-list-item-gap-compact: 0.325rem;
|
|
18
|
+
--ard-checkbox-list-disabled-opacity: 50%;
|
|
19
|
+
// --ard-checkbox-list-readonly-cursor: ;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ard-checkbox-list {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
padding: var(--ard-checkbox-list-padding, 0.375rem 0);
|
|
26
|
+
gap: var(--ard-checkbox-list-gap, 0);
|
|
27
|
+
|
|
28
|
+
.ard-checkbox-list__item {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: stretch;
|
|
32
|
+
gap: var(--ard-checkbox-list-item-gap, 0.5rem);
|
|
33
|
+
padding: var(--ard-checkbox-list-item-padding, 0 0.5rem 0 0);
|
|
34
|
+
position: relative;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
height: max-content;
|
|
37
|
+
min-height: var(--ard-checkbox-list-item-height, 3rem);
|
|
38
|
+
|
|
39
|
+
> label {
|
|
40
|
+
pointer-events: none;
|
|
41
|
+
user-select: none;
|
|
42
|
+
flex-grow: 1;
|
|
43
|
+
padding: 0;
|
|
44
|
+
min-height: var(--ard-checkbox-list-item-height, 3rem);
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
}
|
|
48
|
+
> .ard-focus-overlay {
|
|
49
|
+
@include CM.focus-overlay();
|
|
50
|
+
background: ARD.$overlay;
|
|
51
|
+
}
|
|
52
|
+
&.ard-item-highlighted {
|
|
53
|
+
> .ard-focus-overlay {
|
|
54
|
+
opacity: var(--ard-checkbox-list-item-hover-opacity, 5%);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
&:active {
|
|
58
|
+
> .ard-focus-overlay {
|
|
59
|
+
opacity: var(--ard-checkbox-list-item-active-opacity, 15%);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
ard-checkbox {
|
|
63
|
+
padding: var(--ard-checkbox-list-checkbox-padding, 0.625rem);
|
|
64
|
+
min-width: var(--ard-checkbox-list-checkbox-min-width, 1.25rem);
|
|
65
|
+
|
|
66
|
+
.ard-checkbox {
|
|
67
|
+
.ard-focus-overlay {
|
|
68
|
+
display: none;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
&.ard-item-disabled {
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
|
|
75
|
+
> label {
|
|
76
|
+
opacity: var(--ard-checkbox-list-disabled-opacity, 50%);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
&.ard-compact {
|
|
81
|
+
gap: var(--ard-checkbox-list-gap-compact, 0);
|
|
82
|
+
|
|
83
|
+
.ard-checkbox-list__item {
|
|
84
|
+
gap: var(--ard-checkbox-list-item-gap-compact, 0.325rem);
|
|
85
|
+
height: var(--ard-checkbox-list-item-height-compact, 2rem);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
//! ALIGN TYPES
|
|
89
|
+
&.ard-align-left-clumped,
|
|
90
|
+
&.ard-align-right-split {
|
|
91
|
+
.ard-checkbox-list__item {
|
|
92
|
+
label {
|
|
93
|
+
justify-content: flex-start;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
&.ard-align-left-split,
|
|
98
|
+
&.ard-align-right-clumped {
|
|
99
|
+
.ard-checkbox-list__item {
|
|
100
|
+
label {
|
|
101
|
+
justify-content: flex-end;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
&.ard-align-right-split,
|
|
106
|
+
&.ard-align-right-clumped {
|
|
107
|
+
.ard-checkbox-list__item {
|
|
108
|
+
flex-direction: row-reverse;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
.ard-disabled, .ard-readonly {
|
|
113
|
+
.ard-checkbox-list {
|
|
114
|
+
.ard-focus-overlay {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
.ard-disabled > .ard-checkbox-list {
|
|
120
|
+
pointer-events: none;
|
|
121
|
+
}
|
|
122
|
+
.ard-readonly > .ard-checkbox-list {
|
|
123
|
+
cursor: var(--ard-checkbox-list-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
@use './mixins' as defaultMixins;
|
|
2
|
+
@use './coloring' as coloringMixins;
|
|
3
|
+
@use '../variables' as ARD;
|
|
4
|
+
|
|
5
|
+
@layer ard-ui {
|
|
6
|
+
// the variables are commented out intentionally
|
|
7
|
+
// read more in docs/dev/css-variables.md
|
|
8
|
+
:root {
|
|
9
|
+
--ard-checkbox-size: 1.25em;
|
|
10
|
+
--ard-checkbox-icon-size: 1.8em;
|
|
11
|
+
--ard-checkbox-hitbox-offset: -4px;
|
|
12
|
+
--ard-checkbox-overlay-offset: 0.4em;
|
|
13
|
+
--ard-checkbox-unselected-disabled-opacity: 40%;
|
|
14
|
+
--ard-checkbox-indeterminate-disabled-opacity: 50%;
|
|
15
|
+
--ard-checkbox-selected-disabled-opacity: 50%;
|
|
16
|
+
--ard-checkbox-alignment: center;
|
|
17
|
+
--ard-checkbox-spacing: 0.375em;
|
|
18
|
+
// --ard-checkbox-base-color: ;
|
|
19
|
+
// --ard-checkbox-readonly-cursor: ;
|
|
20
|
+
--ard-checkbox-label-font-size: 0.875em;
|
|
21
|
+
--ard-checkbox-label-font-weight: 400;
|
|
22
|
+
// --ard-checkbox-label-color: ;
|
|
23
|
+
--ard-checkbox-label-cursor: pointer;
|
|
24
|
+
--ard-checkbox-label-disabled-opacity: 50%;
|
|
25
|
+
--ard-checkbox-label-max-width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
ard-checkbox {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: var(--ard-checkbox-alignment, center);
|
|
31
|
+
gap: var(--ard-checkbox-spacing, 0.375em);
|
|
32
|
+
}
|
|
33
|
+
.ard-checkbox {
|
|
34
|
+
@include coloringMixins.typeColors();
|
|
35
|
+
@include coloringMixins.typeColors('unsel-cmpcl');
|
|
36
|
+
position: relative;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
user-select: none;
|
|
39
|
+
width: var(--ard-checkbox-size, 1.25em);
|
|
40
|
+
height: var(--ard-checkbox-size, 1.25em);
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
align-items: center;
|
|
44
|
+
border: none;
|
|
45
|
+
background: none;
|
|
46
|
+
padding: 0;
|
|
47
|
+
outline: none;
|
|
48
|
+
color: var(--ard-checkbox-base-color, #{ARD.$text2});
|
|
49
|
+
font-size: var(--ard-checkbox-icon-size, 1em); // ard-icon component will inherit this font-size to determine its size
|
|
50
|
+
|
|
51
|
+
&.ard-color-currentColor.ard-state-selected {
|
|
52
|
+
color: currentColor;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ard-hitbox {
|
|
56
|
+
position: absolute;
|
|
57
|
+
left: var(--ard-checkbox-hitbox-offset, -4px);
|
|
58
|
+
right: var(--ard-checkbox-hitbox-offset, -4px);
|
|
59
|
+
bottom: var(--ard-checkbox-hitbox-offset, -4px);
|
|
60
|
+
top: var(--ard-checkbox-hitbox-offset, -4px);
|
|
61
|
+
}
|
|
62
|
+
.ard-focus-overlay {
|
|
63
|
+
@include defaultMixins.focus-overlay(var(--ard-checkbox-overlay-offset, 0.4em));
|
|
64
|
+
border-radius: 9999px;
|
|
65
|
+
background: currentColor;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&.ard-checkbox-selected {
|
|
69
|
+
color: var(--ard-unsel-cmpcl--bg-colored);
|
|
70
|
+
}
|
|
71
|
+
&:hover,
|
|
72
|
+
&:focus {
|
|
73
|
+
.ard-focus-overlay {
|
|
74
|
+
opacity: 10%;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
&:active {
|
|
78
|
+
.ard-focus-overlay {
|
|
79
|
+
opacity: 20%;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
//! label
|
|
84
|
+
.ard-checkbox__label {
|
|
85
|
+
min-height: var(--ard-checkbox-size, 1.25em);
|
|
86
|
+
max-width: var(--ard-checkbox-label-max-width, 100%);
|
|
87
|
+
|
|
88
|
+
.ard-checkbox__label-inner {
|
|
89
|
+
display: inline-block;
|
|
90
|
+
font-size: var(--ard-checkbox-label-font-size, 0.875em);
|
|
91
|
+
font-weight: var(--ard-checkbox-label-font-weight, 400);
|
|
92
|
+
color: var(--ard-checkbox-label-color, #{ARD.$text2});
|
|
93
|
+
cursor: var(--ard-checkbox-label-cursor, pointer);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
//! disabled state
|
|
97
|
+
ard-checkbox.ard-disabled {
|
|
98
|
+
> .ard-checkbox {
|
|
99
|
+
pointer-events: none;
|
|
100
|
+
opacity: var(--ard-checkbox-unselected-disabled-opacity, 40%);
|
|
101
|
+
|
|
102
|
+
&.ard-checkbox-selected {
|
|
103
|
+
opacity: var(--ard-checkbox-selected-disabled-opacity, 50%);
|
|
104
|
+
}
|
|
105
|
+
&.ard-checkbox-indeterminate {
|
|
106
|
+
opacity: var(--ard-checkbox-indeterminate-disabled-opacity, 50%);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.ard-checkbox__label {
|
|
110
|
+
opacity: var(--ard-checkbox-label-disabled-opacity, 50%);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
//! readonly state
|
|
114
|
+
ard-checkbox.ard-readonly {
|
|
115
|
+
> .ard-checkbox {
|
|
116
|
+
cursor: var(--ard-checkbox-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
117
|
+
|
|
118
|
+
.ard-focus-overlay {
|
|
119
|
+
display: none;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
@use './mixins' as defaultMixins;
|
|
2
|
+
@use './coloring' as coloringMixins;
|
|
3
|
+
@use './clear-button' as clearButton;
|
|
4
|
+
@use '../variables' as ARD;
|
|
5
|
+
|
|
6
|
+
@layer ard-ui {
|
|
7
|
+
// the variables are commented out intentionally
|
|
8
|
+
// read more in docs/dev/css-variables.md
|
|
9
|
+
:root {
|
|
10
|
+
// --ard-chip-font-size: ;
|
|
11
|
+
// --ard-chip-font-size-compact: ;
|
|
12
|
+
--ard-chip-margin: 0;
|
|
13
|
+
--ard-chip-height: 2rem;
|
|
14
|
+
--ard-chip-height-compact: 1.4375rem;
|
|
15
|
+
--ard-chip-padding: 0 0.75rem;
|
|
16
|
+
--ard-chip-padding-compact: 0 0.5625rem;
|
|
17
|
+
--ard-chip-padding-align-left: 0.125rem;
|
|
18
|
+
--ard-chip-padding-align-left-deletable: 0.25rem;
|
|
19
|
+
--ard-chip-padding-align-right: 0.125rem;
|
|
20
|
+
--ard-chip-padding-align-right-deletable: 0.25rem;
|
|
21
|
+
--ard-chip-selection-icon-padding: 0.5rem;
|
|
22
|
+
--ard-chip-selection-icon-margin: -0.125rem;
|
|
23
|
+
--ard-chip-selection-icon-padding-compact: 0.25rem;
|
|
24
|
+
--ard-chip-selection-icon-margin-compact: -0.25rem;
|
|
25
|
+
--ard-chip-content-wrapper-padding: 0.5rem;
|
|
26
|
+
--ard-chip-selectable-hover-overlay-opacity: 7.5%;
|
|
27
|
+
--ard-chip-selectable-active-overlay-opacity: 20%;
|
|
28
|
+
// --ard-chip-filled-unselected-background: ;
|
|
29
|
+
// --ard-chip-filled-unselected-color: ;
|
|
30
|
+
// --ard-chip-outlined-strong-selectable-border-color: ;
|
|
31
|
+
// --ard-chip-outlined-strong-selectable-color: ;
|
|
32
|
+
--ard-chip-outlined-hover-overlay-opacity: 4%;
|
|
33
|
+
--ard-chip-outlined-active-overlay-opacity: 10%;
|
|
34
|
+
--ard-chip-outlined-selected-overlay-opacity: 12%;
|
|
35
|
+
--ard-chip-outlined-selected-hover-overlay-opacity: 17%;
|
|
36
|
+
--ard-chip-outlined-selected-focus-overlay-opacity: 0%;
|
|
37
|
+
--ard-chip-outlined-selected-focus-visible-overlay-opacity: 17%;
|
|
38
|
+
--ard-chip-outlined-selected-active-overlay-opacity: 22%;
|
|
39
|
+
--ard-chip-transition: 0.15s ease;
|
|
40
|
+
--ard-chip-disabled-opacity: 60%;
|
|
41
|
+
--ard-chip-disabled-selected-opacity: 40%;
|
|
42
|
+
// --ard-chip-readonly-cursor: ;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
//! general css
|
|
46
|
+
.ard-chip-wrapper {
|
|
47
|
+
@include coloringMixins.typeColors();
|
|
48
|
+
@include clearButton.clearButton();
|
|
49
|
+
@include defaultMixins.formVariants();
|
|
50
|
+
|
|
51
|
+
font-family: var(--ard-font-family);
|
|
52
|
+
color: ARD.$text2;
|
|
53
|
+
background: ARD.$bg;
|
|
54
|
+
border-radius: var(--ard-variant-border-radius);
|
|
55
|
+
padding: 0;
|
|
56
|
+
margin: var(--ard-chip-margin, 0);
|
|
57
|
+
vertical-align: center;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
font-size: var(--ard-chip-font-size, 0.875rem);
|
|
61
|
+
position: relative;
|
|
62
|
+
outline: none;
|
|
63
|
+
user-select: none;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
height: var(--ard-chip-height, 2rem);
|
|
66
|
+
|
|
67
|
+
> .ard-chip-content-wrapper {
|
|
68
|
+
padding: var(--ard-chip-padding, 0 0.75rem);
|
|
69
|
+
}
|
|
70
|
+
> .ard-focus-overlay {
|
|
71
|
+
@include defaultMixins.focus-overlay;
|
|
72
|
+
background: ARD.$overlay;
|
|
73
|
+
border-radius: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.ard-chip-selectable {
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
|
|
81
|
+
:not(.ard-disabled):not(.ard-readonly) > & {
|
|
82
|
+
&:hover,
|
|
83
|
+
&:focus {
|
|
84
|
+
> .ard-focus-overlay {
|
|
85
|
+
opacity: var(--ard-chip-selectable-hover-overlay-opacity, 7.5%);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
&:active {
|
|
89
|
+
> .ard-focus-overlay {
|
|
90
|
+
opacity: var(--ard-chip-selectable-active-overlay-opacity, 20%);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.ard-chip-selection-icon {
|
|
96
|
+
@include defaultMixins.icon;
|
|
97
|
+
|
|
98
|
+
&::after {
|
|
99
|
+
content: '\e876';
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
//! appearances
|
|
104
|
+
&.ard-appearance-filled,
|
|
105
|
+
&.ard-appearance-filled-strong {
|
|
106
|
+
border: 1px solid transparent;
|
|
107
|
+
|
|
108
|
+
&.ard-chip-selectable {
|
|
109
|
+
background-color: var(--ard-chip-filled-unselected-background, #{ARD.$bg-f});
|
|
110
|
+
color: var(--ard-chip-filled-unselected-color, #{ARD.$text2});
|
|
111
|
+
transition:
|
|
112
|
+
color var(--ard-chip-transition, 0.15s ease),
|
|
113
|
+
border-color var(--ard-chip-transition, 0.15s ease),
|
|
114
|
+
background-color var(--ard-chip-transition, 0.15s ease);
|
|
115
|
+
|
|
116
|
+
&.ard-chip-selected {
|
|
117
|
+
color: var(--ard-cmpcl--on-bg-colored);
|
|
118
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
&.ard-appearance-filled {
|
|
123
|
+
background: var(--ard-cmpcl--bg-colored-light);
|
|
124
|
+
color: var(--ard-cmpcl--on-bg-colored-light);
|
|
125
|
+
}
|
|
126
|
+
&.ard-appearance-filled-strong {
|
|
127
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
128
|
+
color: var(--ard-cmpcl--on-bg-colored);
|
|
129
|
+
}
|
|
130
|
+
&.ard-appearance-outlined,
|
|
131
|
+
&.ard-appearance-outlined-strong {
|
|
132
|
+
background: transparent;
|
|
133
|
+
color: var(--ard-cmpcl--content);
|
|
134
|
+
border: 1px solid var(--ard-cmpcl--bg-colored);
|
|
135
|
+
border-radius: var(--ard-variant-border-radius);
|
|
136
|
+
font-weight: 600;
|
|
137
|
+
|
|
138
|
+
&.ard-chip-selectable {
|
|
139
|
+
transition:
|
|
140
|
+
color var(--ard-chip-transition, 0.15s ease),
|
|
141
|
+
border-color var(--ard-chip-transition, 0.15s ease);
|
|
142
|
+
|
|
143
|
+
> .ard-focus-overlay {
|
|
144
|
+
opacity: 0;
|
|
145
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
146
|
+
}
|
|
147
|
+
:not(.ard-disabled):not(.ard-readonly) > & {
|
|
148
|
+
&:hover,
|
|
149
|
+
&:focus {
|
|
150
|
+
> .ard-focus-overlay {
|
|
151
|
+
opacity: var(--ard-chip-outlined-hover-overlay-opacity, 4%);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
&:active {
|
|
155
|
+
> .ard-focus-overlay {
|
|
156
|
+
opacity: var(--ard-chip-outlined-active-overlay-opacity, 10%);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.ard-chip-selected {
|
|
162
|
+
color: var(--ard-cmpcl--content);
|
|
163
|
+
border-color: var(--ard-cmpcl--content);
|
|
164
|
+
|
|
165
|
+
> .ard-focus-overlay {
|
|
166
|
+
opacity: var(--ard-chip-outlined-selected-overlay-opacity, 12%);
|
|
167
|
+
}
|
|
168
|
+
:not(.ard-disabled):not(.ard-readonly) > & {
|
|
169
|
+
&:hover {
|
|
170
|
+
> .ard-focus-overlay {
|
|
171
|
+
opacity: var(--ard-chip-outlined-selected-hover-overlay-opacity, 17%);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
&:focus {
|
|
175
|
+
> .ard-focus-overlay {
|
|
176
|
+
opacity: var(--ard-chip-outlined-selected-focus-overlay-opacity, 0%);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
&:focus-visible {
|
|
180
|
+
> .ard-focus-overlay {
|
|
181
|
+
opacity: var(--ard-chip-outlined-selected-focus-visible-overlay-opacity, 17%);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
&:active {
|
|
185
|
+
> .ard-focus-overlay {
|
|
186
|
+
opacity: var(--ard-chip-outlined-selected-active-overlay-opacity, 22%);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
&.ard-appearance-outlined-strong {
|
|
194
|
+
> .ard-focus-overlay {
|
|
195
|
+
opacity: var(--ard-chip-outlined-selected-overlay-opacity, 12%);
|
|
196
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
197
|
+
}
|
|
198
|
+
&.ard-chip-selectable {
|
|
199
|
+
color: var(--ard-chip-outlined-strong-selectable-color, var(--ard-text2));
|
|
200
|
+
border: 1px solid var(--ard-chip-outlined-strong-selectable-border-color, var(--ard-detail-light));
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
//! alignments
|
|
205
|
+
&.ard-chip-align-left {
|
|
206
|
+
flex-direction: row;
|
|
207
|
+
padding-left: var(--ard-chip-padding-align-left, 0.125rem);
|
|
208
|
+
|
|
209
|
+
.ard-chip-selection-icon {
|
|
210
|
+
padding-left: var(--ard-chip-selection-icon-padding, 0.5rem);
|
|
211
|
+
margin-right: var(--ard-chip-selection-icon-margin, -0.125rem);
|
|
212
|
+
}
|
|
213
|
+
&.ard-chip-deletable {
|
|
214
|
+
padding-left: var(--ard-chip-padding-align-left-deletable, 0.25rem);
|
|
215
|
+
|
|
216
|
+
.ard-chip-content-wrapper {
|
|
217
|
+
padding-left: var(--ard-chip-content-wrapper-padding, 0.5rem);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
&.ard-chip-align-right {
|
|
222
|
+
flex-direction: row-reverse;
|
|
223
|
+
padding-right: var(--ard-chip-padding-align-right, 0.125rem);
|
|
224
|
+
|
|
225
|
+
.ard-chip-selection-icon {
|
|
226
|
+
padding-right: var(--ard-chip-selection-icon-padding, 0.5rem);
|
|
227
|
+
margin-left: var(--ard-chip-selection-icon-margin, -0.125rem);
|
|
228
|
+
}
|
|
229
|
+
&.ard-chip-deletable {
|
|
230
|
+
padding-right: var(--ard-chip-padding-align-right-deletable, 0.25rem);
|
|
231
|
+
|
|
232
|
+
.ard-chip-content-wrapper {
|
|
233
|
+
padding-right: var(--ard-chip-content-wrapper-padding, 0.5rem);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
//! compact
|
|
238
|
+
&.ard-compact {
|
|
239
|
+
height: var(--ard-chip-height-compact, 1.4375rem);
|
|
240
|
+
font-size: var(--ard-chip-font-size-compact, 0.8125rem);
|
|
241
|
+
|
|
242
|
+
> .ard-chip-content-wrapper {
|
|
243
|
+
padding: var(--ard-chip-padding-compact, 0 0.5625rem);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
&.ard-chip-align-left .ard-chip-selection-icon {
|
|
247
|
+
padding-left: var(--ard-chip-selection-icon-padding-compact, 0.25rem);
|
|
248
|
+
margin-right: var(--ard-chip-selection-icon-margin-compact, -0.25rem);
|
|
249
|
+
}
|
|
250
|
+
&.ard-chip-align-right .ard-chip-selection-icon {
|
|
251
|
+
padding-right: var(--ard-chip-selection-icon-padding-compact, 0.25rem);
|
|
252
|
+
margin-left: var(--ard-chip-selection-icon-margin-compact, -0.25rem);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
//! disabled state
|
|
257
|
+
.ard-disabled > .ard-chip-wrapper {
|
|
258
|
+
pointer-events: none;
|
|
259
|
+
opacity: var(--ard-chip-disabled-opacity, 60%);
|
|
260
|
+
|
|
261
|
+
&.ard-chip-selected {
|
|
262
|
+
opacity: var(--ard-chip-disabled-selected-opacity, 40%);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
//! readonly state
|
|
266
|
+
.ard-readonly > .ard-chip-wrapper {
|
|
267
|
+
cursor: var(--ard-chip-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
268
|
+
}
|
|
269
|
+
}
|