@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,287 @@
|
|
|
1
|
+
@use './mixins' as defaultMixins;
|
|
2
|
+
@use './coloring' as coloringMixins;
|
|
3
|
+
@use 'sass:math';
|
|
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-slider-font-size: ;
|
|
11
|
+
// --ard-slider-font-size-compact: ;
|
|
12
|
+
--ard-slider-width: 100%;
|
|
13
|
+
--ard-slider-padding: 0 calc(var(--ard-slider-handle-size, 1.25em) / 2);
|
|
14
|
+
--ard-slider-track-height: 0.25em;
|
|
15
|
+
// --ard-slider-track-color: ;
|
|
16
|
+
--ard-slider-track-opacity: 20%;
|
|
17
|
+
--ard-slider-track-border-radius: 9999px;
|
|
18
|
+
--ard-slider-active-track-height: calc(100% + 0.125em);
|
|
19
|
+
// --ard-slider-active-color: ;
|
|
20
|
+
--ard-slider-active-track-opacity: 100%;
|
|
21
|
+
--ard-slider-value-tick-size: 0.125em;
|
|
22
|
+
--ard-slider-value-tick-opacity: 30%;
|
|
23
|
+
--ard-slider-track-hitbox-size: calc(var(--ard-slider-handle-size, 1.25em) / 2);
|
|
24
|
+
--ard-slider-handle-size: 1.25em;
|
|
25
|
+
// --ard-slider-handle-bg: ;
|
|
26
|
+
--ard-slider-handle-border: none;
|
|
27
|
+
--ard-slider-handle-border-radius: 9999px;
|
|
28
|
+
--ard-slider-handle-hitbox-size: 0.375em;
|
|
29
|
+
--ard-slider-handle-overlay-size: 0.5em;
|
|
30
|
+
--ard-slider-handle-overlay-hover-opacity: 7.5%;
|
|
31
|
+
--ard-slider-handle-overlay-focus-opacity: 15%;
|
|
32
|
+
--ard-slider-handle-overlay-active-opacity: 25%;
|
|
33
|
+
--ard-slider-label-font-size: 0.875rem;
|
|
34
|
+
--ard-slider-label-padding-top: 0.2em;
|
|
35
|
+
// --ard-slider-label-bg: ;
|
|
36
|
+
// --ard-slider-label-color: ;
|
|
37
|
+
--ard-slider-label-height: 2em;
|
|
38
|
+
--ard-slider-label-border: none;
|
|
39
|
+
--ard-slider-label-border-radius: 0.375em;
|
|
40
|
+
--ard-slider-label-padding: 0 0.75em;
|
|
41
|
+
--ard-slider-label-font-weight: 500;
|
|
42
|
+
--ard-slider-label-arrow-size: 0.375em;
|
|
43
|
+
--ard-slider-label-offset: 0.5em;
|
|
44
|
+
// --ard-slider-readonly-cursor: ;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ard-slider-container-master,
|
|
48
|
+
.ard-range-slider-container-master {
|
|
49
|
+
@include coloringMixins.typeColors();
|
|
50
|
+
|
|
51
|
+
position: relative;
|
|
52
|
+
font-size: var(--ard-slider-font-size, var(--ard-form-field-font-size, 1rem));
|
|
53
|
+
width: var(--ard-slider-width, 100%);
|
|
54
|
+
max-width: 100%;
|
|
55
|
+
padding: var(--ard-slider-padding, 0 calc(var(--ard-slider-handle-size, 1.25em) / 2));
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
|
|
59
|
+
//! compact
|
|
60
|
+
&.ard-compact {
|
|
61
|
+
font-size: var(--ard-slider-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
62
|
+
|
|
63
|
+
.ard-slider-container > .ard-slider-handle {
|
|
64
|
+
font-size: 0.95em;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
//! container
|
|
69
|
+
.ard-slider-container {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
position: relative;
|
|
73
|
+
width: 100%;
|
|
74
|
+
height: var(--ard-slider-handle-size, 1.25em);
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
}
|
|
77
|
+
//! track
|
|
78
|
+
.ard-slider-track {
|
|
79
|
+
width: 100%;
|
|
80
|
+
height: var(--ard-slider-track-height, 0.25em);
|
|
81
|
+
background: ARD.$bg;
|
|
82
|
+
|
|
83
|
+
.ard-slider-track-overlay {
|
|
84
|
+
position: absolute;
|
|
85
|
+
width: 100%;
|
|
86
|
+
height: 100%;
|
|
87
|
+
background: var(--ard-slider-track-color, var(--ard-cmpcl--bg-colored));
|
|
88
|
+
opacity: var(--ard-slider-track-opacity, 20%);
|
|
89
|
+
border-radius: var(--ard-slider-track-border-radius, 9999px);
|
|
90
|
+
|
|
91
|
+
&.ard-slider-track-active {
|
|
92
|
+
width: 0;
|
|
93
|
+
height: var(--ard-slider-active-track-height, calc(100% + 0.125em));
|
|
94
|
+
top: 50%;
|
|
95
|
+
transform: translateY(-50%);
|
|
96
|
+
background: var(--ard-slider-active-color, var(--ard-cmpcl--bg-colored));
|
|
97
|
+
opacity: var(--ard-slider-active-track-opacity, 100%);
|
|
98
|
+
transition:
|
|
99
|
+
width var(--_ard-slider-transition) ease,
|
|
100
|
+
left var(--_ard-slider-transition) ease;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
.ard-hitbox {
|
|
104
|
+
position: absolute;
|
|
105
|
+
inset: calc(var(--ard-slider-hitbox-size, calc(var(--ard-slider-handle-size, 1.25em) / 2)) * -1);
|
|
106
|
+
}
|
|
107
|
+
.ard-value-tick-container {
|
|
108
|
+
position: absolute;
|
|
109
|
+
left: var(--ard-slider-value-tick-size, 0.125em);
|
|
110
|
+
width: calc(100% - var(--ard-slider-value-tick-size, 0.125em) * 2);
|
|
111
|
+
height: 100%;
|
|
112
|
+
}
|
|
113
|
+
.ard-value-tick {
|
|
114
|
+
top: 50%;
|
|
115
|
+
width: var(--ard-slider-value-tick-size, 0.125em);
|
|
116
|
+
height: var(--ard-slider-value-tick-size, 0.125em);
|
|
117
|
+
border-radius: 9999px;
|
|
118
|
+
background: ARD.$text;
|
|
119
|
+
opacity: var(--ard-slider-value-tick-opacity, 30%);
|
|
120
|
+
transform: translate(-50%, -50%);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
//! handle
|
|
124
|
+
.ard-slider-handle {
|
|
125
|
+
font-size: inherit;
|
|
126
|
+
top: 0;
|
|
127
|
+
width: var(--ard-slider-handle-size, 1.25em);
|
|
128
|
+
height: var(--ard-slider-handle-size, 1.25em);
|
|
129
|
+
color: inherit;
|
|
130
|
+
background: var(--ard-slider-handle-bg, var(--ard-cmpcl--bg-colored));
|
|
131
|
+
border-radius: var(--ard-slider-handle-border-radius, 9999px);
|
|
132
|
+
border: var(--ard-slider-handle-border, none);
|
|
133
|
+
z-index: 1;
|
|
134
|
+
outline: none;
|
|
135
|
+
cursor: grab;
|
|
136
|
+
|
|
137
|
+
transition:
|
|
138
|
+
box-shadow 0.15s ease,
|
|
139
|
+
left var(--_ard-slider-transition) ease;
|
|
140
|
+
box-shadow: ARD.$simple-shadow;
|
|
141
|
+
|
|
142
|
+
.ard-focus-overlay {
|
|
143
|
+
@include defaultMixins.focus-overlay(var(--ard-slider-handle-overlay-size, 0.5em));
|
|
144
|
+
background: currentColor;
|
|
145
|
+
}
|
|
146
|
+
@include defaultMixins.focus-overlay-scale-addon();
|
|
147
|
+
|
|
148
|
+
.ard-hitbox {
|
|
149
|
+
position: absolute;
|
|
150
|
+
inset: calc(var(--ard-slider-handle-hitbox-size, 0.375em) * -1);
|
|
151
|
+
border-radius: calc(var(--ard-slider-handle-border-radius, 9999px) + var(--ard-slider-handle-hitbox-size, 0.375em));
|
|
152
|
+
}
|
|
153
|
+
&:hover {
|
|
154
|
+
.ard-focus-overlay {
|
|
155
|
+
opacity: var(--ard-slider-handle-overlay-hover-opacity, 7.5%);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
&:focus {
|
|
159
|
+
box-shadow: ARD.$simple-shadow2;
|
|
160
|
+
|
|
161
|
+
.ard-focus-overlay {
|
|
162
|
+
opacity: var(--ard-slider-handle-overlay-focus-opacity, 15%);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
&:active,
|
|
166
|
+
&.ard-grabbed {
|
|
167
|
+
.ard-focus-overlay {
|
|
168
|
+
opacity: var(--ard-slider-handle-overlay-active-opacity, 25%);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
.ard-slider-label-container {
|
|
173
|
+
position: relative;
|
|
174
|
+
font-size: var(--ard-slider-label-font-size, 0.9em);
|
|
175
|
+
padding-top: var(--ard-slider-label-padding-top, 0.2em);
|
|
176
|
+
left: 0.125em;
|
|
177
|
+
width: calc(100% - 0.25em) !important;
|
|
178
|
+
|
|
179
|
+
.ard-slider-label {
|
|
180
|
+
transform: translateX(-50%);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
//! tooltip
|
|
184
|
+
.ard-slider-tooltip-wrapper {
|
|
185
|
+
transition: left var(--_ard-slider-transition) ease;
|
|
186
|
+
z-index: 2;
|
|
187
|
+
}
|
|
188
|
+
.ard-slider-tooltip {
|
|
189
|
+
background: var(--ard-slider-label-bg, #{ARD.$text3});
|
|
190
|
+
height: var(--ard-slider-label-height, 2em);
|
|
191
|
+
padding: var(--ard-slider-label-padding, 0 0.75em);
|
|
192
|
+
border-radius: var(--ard-slider-label-border-radius, 0.375em);
|
|
193
|
+
color: var(--ard-slider-label-color, #{ARD.$text2-alt});
|
|
194
|
+
font-size: var(--ard-slider-label-font-size, 0.875rem);
|
|
195
|
+
font-weight: var(--ard-slider-label-font-weight, 500);
|
|
196
|
+
white-space: nowrap;
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
position: relative;
|
|
200
|
+
z-index: 2;
|
|
201
|
+
user-select: none;
|
|
202
|
+
|
|
203
|
+
transform: scale(0);
|
|
204
|
+
transition: transform 0.1s ARD.$timing-fn;
|
|
205
|
+
|
|
206
|
+
&::before {
|
|
207
|
+
content: '';
|
|
208
|
+
position: absolute;
|
|
209
|
+
border: var(--ard-slider-label-arrow-size, 0.375em) solid transparent;
|
|
210
|
+
left: 50%;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
&.ard-tooltip-top {
|
|
214
|
+
.ard-slider-tooltip {
|
|
215
|
+
bottom: var(--ard-slider-label-offset, 0.5em);
|
|
216
|
+
transform-origin: center bottom;
|
|
217
|
+
|
|
218
|
+
&::before {
|
|
219
|
+
bottom: 0;
|
|
220
|
+
border-top-color: var(--ard-slider-label-b, var(--ard-text3));
|
|
221
|
+
transform: translate(-50%, 100%);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
&.ard-tooltip-bottom {
|
|
226
|
+
.ard-slider-tooltip {
|
|
227
|
+
top: var(--ard-slider-label-offset, 0.5em);
|
|
228
|
+
transform-origin: center top;
|
|
229
|
+
|
|
230
|
+
&::before {
|
|
231
|
+
top: 0;
|
|
232
|
+
border-bottom-color: var(--ard-slider-label-bg, var(--ard-text3));
|
|
233
|
+
transform: translate(-50%, -100%);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
//! showing and hiding tooltip
|
|
238
|
+
//show tooltip when handle is hovered or focused
|
|
239
|
+
.ard-slider-handle:hover,
|
|
240
|
+
.ard-slider-handle:focus {
|
|
241
|
+
+ .ard-slider-tooltip-wrapper .ard-slider-tooltip {
|
|
242
|
+
transform: scale(1);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
//hide other tooltips when a handle is focused
|
|
246
|
+
.ard-slider-container:focus-within {
|
|
247
|
+
.ard-slider-handle:not(:focus) {
|
|
248
|
+
+ .ard-slider-tooltip-wrapper .ard-slider-tooltip {
|
|
249
|
+
transform: scale(0);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
//make a way to force-show a tooltip
|
|
254
|
+
.ard-slider-handle .ard-slider-tooltip-wrapper {
|
|
255
|
+
.ard-slider-tooltip.ard-tooltip-always {
|
|
256
|
+
transform: scale(1) !important;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
.ard-body-slider-handle-grabbed {
|
|
261
|
+
cursor: grabbing !important;
|
|
262
|
+
|
|
263
|
+
* {
|
|
264
|
+
cursor: grabbing !important;
|
|
265
|
+
pointer-events: none !important;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
.ard-disabled,
|
|
269
|
+
.ard-readonly {
|
|
270
|
+
.ard-slider-container-master,
|
|
271
|
+
.ard-range-slider-container-master {
|
|
272
|
+
cursor: var(--ard-slider-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
273
|
+
|
|
274
|
+
.ard-slider-container {
|
|
275
|
+
cursor: inherit;
|
|
276
|
+
|
|
277
|
+
.ard-slider-handle {
|
|
278
|
+
cursor: inherit;
|
|
279
|
+
|
|
280
|
+
.ard-focus-overlay {
|
|
281
|
+
display: none;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@use './coloring' as C;
|
|
2
|
+
@use '../variables' as ARD;
|
|
3
|
+
|
|
4
|
+
@layer ard-ui {
|
|
5
|
+
// the variables are commented out intentionally
|
|
6
|
+
// read more in docs/dev/css-variables.md
|
|
7
|
+
:root {
|
|
8
|
+
--ard-snackbar-min-width: min(21rem, 90vw);
|
|
9
|
+
--ard-snackbar-max-width: min(42rem, 90vw);
|
|
10
|
+
--ard-snackbar-min-height: 3rem;
|
|
11
|
+
// --ard-snackbar-background-color: ;
|
|
12
|
+
// --ard-snackbar-content-color: ;
|
|
13
|
+
--ard-snackbar-gap: 0.625rem;
|
|
14
|
+
--ard-snackbar-margin: 0.625rem;
|
|
15
|
+
--ard-snackbar-padding: 0 0.5rem 0 1rem;
|
|
16
|
+
// --ard-snackbar-border-radius: ;
|
|
17
|
+
--ard-snackbar-content-gap: 0.625rem;
|
|
18
|
+
--ard-snackbar-animation-duration: 150ms;
|
|
19
|
+
--ard-snackbar-animation-bottom: -0.375rem;
|
|
20
|
+
--ard-snackbar-animation-scale: 60%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ard-snackbar {
|
|
24
|
+
@include C.typeColors();
|
|
25
|
+
min-width: var(--ard-snackbar-min-width, min(21rem, 90vw));
|
|
26
|
+
max-width: var(--ard-snackbar-max-width, min(42rem, 90vw));
|
|
27
|
+
min-height: var(--ard-snackbar-min-height, 3rem);
|
|
28
|
+
margin: var(--ard-snackbar-margin, 0.625rem);
|
|
29
|
+
position: relative;
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: stretch;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: var(--ard-snackbar-gap, 0.625rem);
|
|
34
|
+
border-radius: var(--ard-snackbar-border-radius, var(--ard-rounded-corner-radius, 0.375rem));
|
|
35
|
+
transform-origin: bottom center;
|
|
36
|
+
background-color: var(--ard-snackbar-background-color, #{ARD.$bg-f-alt});
|
|
37
|
+
padding: var(--ard-snackbar-padding, 0 0.5rem 0 1rem);
|
|
38
|
+
|
|
39
|
+
opacity: 100%;
|
|
40
|
+
transform: scale(100%);
|
|
41
|
+
bottom: 0;
|
|
42
|
+
animation: show var(--ard-snackbar-animation-duration, 150ms) ease-out forwards;
|
|
43
|
+
|
|
44
|
+
.ard-snackbar-content {
|
|
45
|
+
display: flex;
|
|
46
|
+
gap: var(--ard-snackbar-content-gap, 0.625rem);
|
|
47
|
+
align-items: center;
|
|
48
|
+
flex-grow: 1;
|
|
49
|
+
color: var(--ard-snackbar-content-color, #{ARD.$text2-alt});
|
|
50
|
+
|
|
51
|
+
ard-icon {
|
|
52
|
+
color: var(--ard-cmpcl--content-light);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.ard-snackbar-closing {
|
|
57
|
+
animation: hide var(--ard-snackbar-animation-duration, 150ms) ease-out forwards;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@mixin animation {
|
|
63
|
+
opacity: 0%;
|
|
64
|
+
transform: scale(var(--ard-snackbar-animation-scale, 60%));
|
|
65
|
+
bottom: var(--ard-snackbar-animation-bottom, -0.375rem);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@keyframes show {
|
|
69
|
+
from {
|
|
70
|
+
@include animation();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@keyframes hide {
|
|
75
|
+
to {
|
|
76
|
+
@include animation();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@use './coloring' as CM;
|
|
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-spinner-size: 2rem;
|
|
8
|
+
--ard-spinner-margin: 0.25rem;
|
|
9
|
+
--ard-spinner-duration: 1.4s;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
ard-spinner {
|
|
13
|
+
display: inline-block;
|
|
14
|
+
width: var(--ard-spinner-size, 2rem);
|
|
15
|
+
aspect-ratio: 1;
|
|
16
|
+
position: relative;
|
|
17
|
+
margin: var(--ard-spinner-margin, 0.25rem);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ard-spinner {
|
|
21
|
+
@include CM.typeColors();
|
|
22
|
+
--ard-_spinner-duration: var(--ard-spinner-duration, 1.4s);
|
|
23
|
+
position: absolute;
|
|
24
|
+
|
|
25
|
+
scale: 2.3; //magic number
|
|
26
|
+
|
|
27
|
+
> circle {
|
|
28
|
+
stroke: var(--ard-cmpcl--content);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
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-star-size: 1.5em;
|
|
10
|
+
|
|
11
|
+
--ard-star-button-hitbox-offset: -4px;
|
|
12
|
+
--ard-star-button-overlay-offset: -0.125em;
|
|
13
|
+
--ard-star-button-hover-overlay-opacity: 10%;
|
|
14
|
+
--ard-star-button-focus-overlay-opacity: 0;
|
|
15
|
+
--ard-star-button-focus-visible-overlay-opacity: 30%;
|
|
16
|
+
--ard-star-button-active-overlay-opacity: 20%;
|
|
17
|
+
--ard-star-button-disabled-opacity: 50%;
|
|
18
|
+
|
|
19
|
+
--ard-rating-input-not-in-value-opacity: 50%;
|
|
20
|
+
--ard-rating-input-disabled-opacity: 50%;
|
|
21
|
+
|
|
22
|
+
// --ard-star-button-readonly-cursor: ;
|
|
23
|
+
// --ard-rating-input-readonly-cursor: ;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ard-star,
|
|
27
|
+
.ard-star-button,
|
|
28
|
+
.ard-rating-display,
|
|
29
|
+
.ard-rating-input {
|
|
30
|
+
@include coloringMixins.typeColors();
|
|
31
|
+
color: var(--ard-cmpcl--bg-colored);
|
|
32
|
+
|
|
33
|
+
&.ard-color-gold {
|
|
34
|
+
color: ARD.$gold;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.ard-star {
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
width: var(--ard-star-size, 1.5em);
|
|
40
|
+
height: var(--ard-star-size, 1.5em);
|
|
41
|
+
position: relative;
|
|
42
|
+
}
|
|
43
|
+
.ard-rating-display,
|
|
44
|
+
.ard-rating-input {
|
|
45
|
+
display: flex;
|
|
46
|
+
user-select: none;
|
|
47
|
+
}
|
|
48
|
+
.ard-rating-input {
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
|
|
51
|
+
.ard-star-not-in-value {
|
|
52
|
+
opacity: var(--ard-rating-input-not-in-value-opacity, 50%);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.ard-star-button {
|
|
56
|
+
position: relative;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
user-select: none;
|
|
59
|
+
font-size: inherit;
|
|
60
|
+
width: max-content;
|
|
61
|
+
height: max-content;
|
|
62
|
+
padding: 0;
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
align-items: center;
|
|
66
|
+
outline: none;
|
|
67
|
+
|
|
68
|
+
.ard-hitbox {
|
|
69
|
+
position: absolute;
|
|
70
|
+
left: var(--ard-star-button-hitbox-offset, -4px);
|
|
71
|
+
right: var(--ard-star-button-hitbox-offset, -4px);
|
|
72
|
+
bottom: var(--ard-star-button-hitbox-offset, -4px);
|
|
73
|
+
top: var(--ard-star-button-hitbox-offset, -4px);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ard-focus-overlay {
|
|
77
|
+
@include defaultMixins.focus-overlay;
|
|
78
|
+
position: absolute;
|
|
79
|
+
left: var(--ard-star-button-overlay-offset, -0.125em);
|
|
80
|
+
right: var(--ard-star-button-overlay-offset, -0.125em);
|
|
81
|
+
bottom: var(--ard-star-button-overlay-offset, -0.125em);
|
|
82
|
+
top: var(--ard-star-button-overlay-offset, -0.125em);
|
|
83
|
+
border-radius: 999px;
|
|
84
|
+
background: currentColor;
|
|
85
|
+
}
|
|
86
|
+
@include defaultMixins.focus-overlay-scale-addon();
|
|
87
|
+
|
|
88
|
+
&:hover {
|
|
89
|
+
.ard-focus-overlay {
|
|
90
|
+
opacity: var(--ard-star-button-hover-overlay-opacity, 10%);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
&:focus {
|
|
94
|
+
.ard-focus-overlay {
|
|
95
|
+
opacity: var(--ard-star-button-focus-overlay-opacity, 0%);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
&:focus-visible {
|
|
99
|
+
.ard-focus-overlay {
|
|
100
|
+
opacity: var(--ard-star-button-focus-visible-overlay-opacity, 30%);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
&:active {
|
|
104
|
+
.ard-focus-overlay {
|
|
105
|
+
opacity: var(--ard-star-button-active-overlay-opacity, 20%);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
//! disabled state for star-button
|
|
110
|
+
.ard-disabled {
|
|
111
|
+
> .ard-star-button {
|
|
112
|
+
pointer-events: none;
|
|
113
|
+
opacity: var(--ard-star-button-disabled-opacity, 50%);
|
|
114
|
+
}
|
|
115
|
+
> .ard-rating-input {
|
|
116
|
+
pointer-events: none;
|
|
117
|
+
opacity: var(--ard-rating-input-disabled-opacity, 50%);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
//! readonly state for star-button and rating-input
|
|
121
|
+
.ard-readonly {
|
|
122
|
+
> .ard-star-button {
|
|
123
|
+
cursor: var(--ard-star-button-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
124
|
+
|
|
125
|
+
.ard-focus-overlay {
|
|
126
|
+
display: none;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
> .ard-rating-input {
|
|
130
|
+
cursor: var(--ard-rating-input-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
@use './coloring' as CM;
|
|
2
|
+
@use './mixins' as M;
|
|
3
|
+
|
|
4
|
+
@layer ard-ui {
|
|
5
|
+
// the variables are commented out intentionally
|
|
6
|
+
// read more in docs/dev/css-variables.md
|
|
7
|
+
:root {
|
|
8
|
+
--ard-tabber-tab-height: 2.5em;
|
|
9
|
+
--ard-tabber-tab-font-size: 0.875rem;
|
|
10
|
+
--ard-tabber-tab-font-weight: 500;
|
|
11
|
+
--ard-tabber-tab-border: none;
|
|
12
|
+
--ard-tabber-tab-background: none;
|
|
13
|
+
--ard-tabber-tab-padding: 0 1.5rem;
|
|
14
|
+
--ard-tabber-tab-gap: 0;
|
|
15
|
+
--ard-tabber-tab-content-gap: 0.375rem;
|
|
16
|
+
--ard-tabber-separator-border: 1px solid var(--ard-detail-ultralight, rgba(0, 0, 0, 12%));
|
|
17
|
+
// --ard-tabber-tab-overlay-color: ;
|
|
18
|
+
--ard-tabber-tab-hover-overlay-opacity: 4%;
|
|
19
|
+
--ard-tabber-tab-active-overlay-opacity: 12%;
|
|
20
|
+
--ard-tabber-tab-focus-visible-overlay-opacity: 18%;
|
|
21
|
+
--ard-tabber-tab-disabled-overlay-opacity: 0%;
|
|
22
|
+
--ard-tabber-tab-disabled-opacity: 50%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
ard-tabber {
|
|
26
|
+
max-width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ard-tabber {
|
|
30
|
+
@include CM.typeColors();
|
|
31
|
+
height: max-content;
|
|
32
|
+
width: 100%;
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
align-items: stretch;
|
|
36
|
+
font-family: var(--ard-font-family);
|
|
37
|
+
|
|
38
|
+
.ard-tabber-tabs {
|
|
39
|
+
max-width: 100%;
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-wrap: wrap;
|
|
42
|
+
gap: var(--ard-tabber-tab-gap, 0);
|
|
43
|
+
border-bottom: var(--ard-tabber-separator-border, 1px solid var(--ard-detail-ultralight, rgba(0, 0, 0, 12%)));
|
|
44
|
+
|
|
45
|
+
&.ard-tab-align-left {
|
|
46
|
+
justify-content: left;
|
|
47
|
+
}
|
|
48
|
+
&.ard-tab-align-center {
|
|
49
|
+
justify-content: center;
|
|
50
|
+
}
|
|
51
|
+
&.ard-tab-align-right {
|
|
52
|
+
justify-content: right;
|
|
53
|
+
}
|
|
54
|
+
&.ard-stretch-tabs {
|
|
55
|
+
justify-content: stretch;
|
|
56
|
+
|
|
57
|
+
.ard-tab-button {
|
|
58
|
+
flex-grow: 1;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ard-tab-button {
|
|
63
|
+
height: var(--ard-tabber-tab-height, 2.5em);
|
|
64
|
+
font-size: var(--ard-tabber-tab-font-size, 0.875rem);
|
|
65
|
+
font-weight: var(--ard-tabber-tab-font-weight, 500);
|
|
66
|
+
position: relative;
|
|
67
|
+
border: var(--ard-tabber-tab-border, none);
|
|
68
|
+
background: var(--ard-tabber-tab-background, none);
|
|
69
|
+
padding: var(--ard-tabber-tab-padding, 0 1.5rem);
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
outline: none;
|
|
72
|
+
font-family: inherit;
|
|
73
|
+
|
|
74
|
+
.ard-focus-overlay {
|
|
75
|
+
@include M.focus-overlay();
|
|
76
|
+
background: var(--ard-tabber-tab-overlay-color, var(--ard-bg-alt, black));
|
|
77
|
+
}
|
|
78
|
+
.ard-button-content {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
height: 100%;
|
|
83
|
+
gap: var(--ard-tabber-tab-content-gap, 0.375rem);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&:hover,
|
|
87
|
+
&:focus {
|
|
88
|
+
.ard-focus-overlay {
|
|
89
|
+
opacity: var(--ard-tabber-tab-hover-overlay-opacity, 4%);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
&.ard-active,
|
|
93
|
+
&:active {
|
|
94
|
+
.ard-focus-overlay {
|
|
95
|
+
opacity: var(--ard-tabber-tab-active-overlay-opacity, 12%);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
&:focus-visible {
|
|
99
|
+
.ard-focus-overlay {
|
|
100
|
+
opacity: var(--ard-tabber-tab-focus-visible-overlay-opacity, 18%);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.ard-tab-active {
|
|
105
|
+
&::after {
|
|
106
|
+
content: '';
|
|
107
|
+
position: absolute;
|
|
108
|
+
left: 0;
|
|
109
|
+
right: 0;
|
|
110
|
+
bottom: 0;
|
|
111
|
+
height: 2px;
|
|
112
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.ard-tab-disabled {
|
|
117
|
+
opacity: var(--ard-tabber-tab-disabled-opacity);
|
|
118
|
+
pointer-events: none;
|
|
119
|
+
|
|
120
|
+
.ard-focus-overlay {
|
|
121
|
+
opacity: var(--ard-tabber-tab-disabled-overlay-opacity, 18%);
|
|
122
|
+
}
|
|
123
|
+
&.ard-tab-with-pointer-events-when-disabled {
|
|
124
|
+
pointer-events: all;
|
|
125
|
+
cursor: not-allowed;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|