@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,48 @@
|
|
|
1
|
+
@use './shared' as inputMixin;
|
|
2
|
+
@use '../mixins' as defaultMixins;
|
|
3
|
+
@use '../clear-button' as CB;
|
|
4
|
+
|
|
5
|
+
@layer ard-ui {
|
|
6
|
+
.ard-color-input {
|
|
7
|
+
// @include inputMixin.genericInput();
|
|
8
|
+
padding: 0 0.375rem;
|
|
9
|
+
min-width: 10rem;
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
|
|
13
|
+
@include CB.clearButton();
|
|
14
|
+
|
|
15
|
+
.ard-input-container {
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
|
|
18
|
+
input {
|
|
19
|
+
font-family: var(--ard-font-family-mono);
|
|
20
|
+
user-select: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ard-color-display-button {
|
|
25
|
+
padding: 0;
|
|
26
|
+
margin: 0;
|
|
27
|
+
border: none;
|
|
28
|
+
background: transparent;
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
width: 3em;
|
|
33
|
+
outline: none;
|
|
34
|
+
|
|
35
|
+
* {
|
|
36
|
+
width: 100% !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
ard-color-display {
|
|
40
|
+
pointer-events: none;
|
|
41
|
+
font-size: 1.1rem;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.ard-color-input-overlay-card {
|
|
46
|
+
margin: 0.4rem;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
@use './shared' as S;
|
|
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-date-input-height: ;
|
|
9
|
+
// --ard-date-input-height-compact: ;
|
|
10
|
+
--ard-date-input-gap: 0.625rem;
|
|
11
|
+
// --ard-date-input-font-size: ;
|
|
12
|
+
// --ard-date-input-font-size-compact: ;
|
|
13
|
+
--ard-date-input-line-height: 1.25;
|
|
14
|
+
--ard-date-input-line-height-compact: 1;
|
|
15
|
+
--ard-date-input-font-weight: 400;
|
|
16
|
+
// --ard-date-input-padding-top: ;
|
|
17
|
+
// --ard-date-input-padding-right: ;
|
|
18
|
+
// --ard-date-input-padding-bottom: ;
|
|
19
|
+
// --ard-date-input-padding-left: ;
|
|
20
|
+
// --ard-date-input-padding-top-compact: ;
|
|
21
|
+
// --ard-date-input-padding-right-compact: ;
|
|
22
|
+
// --ard-date-input-padding-bottom-compact: ;
|
|
23
|
+
// --ard-date-input-padding-left-compact: ;
|
|
24
|
+
// --ard-date-input-color: ;
|
|
25
|
+
// --ard-date-input-placeholder-color: ;
|
|
26
|
+
--ard-date-input-placeholder-opacity: 60%;
|
|
27
|
+
// --ard-date-input-readonly-cursor: ;
|
|
28
|
+
|
|
29
|
+
--ard-date-input-multipage-gap: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
ard-date-input .ard-date-input,
|
|
33
|
+
ard-date-range-input .ard-date-range-input,
|
|
34
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input {
|
|
35
|
+
@include S.genericInput(
|
|
36
|
+
var(--ard-date-input-height, var(--ard-form-field-height, 2.3125rem)),
|
|
37
|
+
var(--ard-date-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem)),
|
|
38
|
+
var(--ard-date-input-gap, 0.625rem),
|
|
39
|
+
var(--ard-date-input-font-size, var(--ard-form-field-font-size, 1rem)),
|
|
40
|
+
var(--ard-date-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem)),
|
|
41
|
+
var(--ard-date-input-line-height, 1.25),
|
|
42
|
+
var(--ard-date-input-line-height-compact, 1),
|
|
43
|
+
var(--ard-date-input-font-weight, 400),
|
|
44
|
+
var(--ard-date-input-padding-top, var(--ard-form-field-padding-top, 0)),
|
|
45
|
+
var(--ard-date-input-padding-right, var(--ard-form-field-padding-right, 0.375rem)),
|
|
46
|
+
var(--ard-date-input-padding-bottom, var(--ard-form-field-padding-bottom, 0)),
|
|
47
|
+
var(--ard-date-input-padding-left, var(--ard-form-field-padding-left, 0.375rem)),
|
|
48
|
+
var(--ard-date-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0)),
|
|
49
|
+
var(--ard-date-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem)),
|
|
50
|
+
var(--ard-date-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0)),
|
|
51
|
+
var(--ard-date-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
52
|
+
var(--ard-date-input-color, #{ARD.$text}),
|
|
53
|
+
var(--ard-date-input-placeholder-color, #{ARD.$text}),
|
|
54
|
+
var(--ard-date-input-placeholder-opacity, 60%),
|
|
55
|
+
var(--ard-date-input-readonly-cursor, var(--ard-readonly-cursor, default))
|
|
56
|
+
);
|
|
57
|
+
display: grid;
|
|
58
|
+
grid-template-columns: 1fr max-content;
|
|
59
|
+
|
|
60
|
+
.ard-date-input__value-container {
|
|
61
|
+
position: relative;
|
|
62
|
+
}
|
|
63
|
+
.ard-date-input__placeholder {
|
|
64
|
+
position: absolute;
|
|
65
|
+
padding: 0;
|
|
66
|
+
}
|
|
67
|
+
.ard-date-input__input-container {
|
|
68
|
+
position: absolute;
|
|
69
|
+
inset: 0;
|
|
70
|
+
padding: 0;
|
|
71
|
+
|
|
72
|
+
&.ard-date-input__input-container-hidden {
|
|
73
|
+
position: absolute;
|
|
74
|
+
opacity: 0;
|
|
75
|
+
appearance: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
input {
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
width: 100%;
|
|
81
|
+
height: 100%;
|
|
82
|
+
padding: 0;
|
|
83
|
+
margin: 0;
|
|
84
|
+
font: inherit;
|
|
85
|
+
letter-spacing: inherit;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
.ard-date-input__value {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
padding: 0;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
ard-days-view {
|
|
96
|
+
.ard-calendar__header-button {
|
|
97
|
+
font-size: var(--ard-button-font-size, 0.875rem);
|
|
98
|
+
font-weight: var(--ard-button-font-weight, 500);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
.ard-date-input__multipage-wrapper {
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-direction: row;
|
|
104
|
+
gap: var(--ard-date-input-multipage-gap, 0);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
@use '../coloring' as CM;
|
|
2
|
+
@use '../../variables' as ARD;
|
|
3
|
+
@use '../mixins' as defaultMixins;
|
|
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-digit-input-font-family: ;
|
|
10
|
+
--ard-digit-input-font-weight: 500;
|
|
11
|
+
// --ard-digit-input-color: ;
|
|
12
|
+
--ard-digit-input-gap: 0.375em;
|
|
13
|
+
--ard-digit-input-size: 2.0625em;
|
|
14
|
+
// --ard-digit-input-caret-color: ;
|
|
15
|
+
// --ard-digit-input-placeholder-color: ;
|
|
16
|
+
--ard-digit-input-placeholder-opacity: 60%;
|
|
17
|
+
--ard-digit-input-transition-duration: 150ms;
|
|
18
|
+
// --ard-digit-input-rectangle-height: ;
|
|
19
|
+
--ard-digit-input-rectangle-font-size: 1.25em;
|
|
20
|
+
--ard-digit-input-success-background-color: transparent;
|
|
21
|
+
// --ard-digit-input-success-border-color: ;
|
|
22
|
+
// --ard-digit-input-error-background-color: ;
|
|
23
|
+
// --ard-digit-input-error-border-color: ;
|
|
24
|
+
--ard-digit-input-disabled-opacity: 50%;
|
|
25
|
+
// --ard-digit-input-readonly-cursor: ;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
ard-digit-input {
|
|
29
|
+
font-family: var(--ard-digit-input-font-family, var(--ard-font-family));
|
|
30
|
+
font-weight: var(--ard-digit-input-font-weight, 500);
|
|
31
|
+
color: var(--ard-digit-input-color, #{ARD.$text});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ard-digit-input,
|
|
35
|
+
.ard-digit-input__item,
|
|
36
|
+
.ard-digit-input__input,
|
|
37
|
+
.ard-digit-input__static {
|
|
38
|
+
font: inherit;
|
|
39
|
+
color: inherit;
|
|
40
|
+
}
|
|
41
|
+
.ard-digit-input {
|
|
42
|
+
@include defaultMixins.formAppearances();
|
|
43
|
+
display: flex;
|
|
44
|
+
gap: var(--ard-digit-input-gap, 0.375em);
|
|
45
|
+
|
|
46
|
+
.ard-digit-input__item {
|
|
47
|
+
height: max-content;
|
|
48
|
+
display: flex;
|
|
49
|
+
height: var(--ard-digit-input-size, 2.0625em);
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
|
|
52
|
+
&.ard-digit-input__item-with-input {
|
|
53
|
+
width: var(--ard-digit-input-size, 2.0625em);
|
|
54
|
+
}
|
|
55
|
+
.ard-digit-input__input {
|
|
56
|
+
width: 100%;
|
|
57
|
+
height: 100%;
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
text-align: center;
|
|
60
|
+
color: inherit;
|
|
61
|
+
caret-color: var(--ard-digit-input-caret-color, #{ARD.$text3});
|
|
62
|
+
background: var(--ard-appearance-background);
|
|
63
|
+
border: var(--ard-appearance-border);
|
|
64
|
+
border-radius: var(--ard-variant-border-radius);
|
|
65
|
+
transition:
|
|
66
|
+
border-color var(--ard-digit-input-transition-duration, 0.15s) ARD.$timing-fn,
|
|
67
|
+
background-color var(--ard-digit-input-transition-duration, 0.15s) ARD.$timing-fn;
|
|
68
|
+
|
|
69
|
+
&::placeholder {
|
|
70
|
+
color: var(--ard-digit-input-placeholder-color, #{ARD.$text3});
|
|
71
|
+
opacity: var(--ard-digit-input-placeholder-opacity, 60%);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&:not(.ard-digit-input__input-empty) {
|
|
75
|
+
caret-color: transparent;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
.ard-digit-input__static {
|
|
79
|
+
width: max-content;
|
|
80
|
+
white-space: nowrap;
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
&.ard-shape-square {
|
|
86
|
+
.ard-digit-input__item {
|
|
87
|
+
height: var(--ard-digit-input-size, 2.0625em);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
&.ard-shape-rectangle {
|
|
91
|
+
.ard-digit-input__item {
|
|
92
|
+
height: var(--ard-digit-input-rectangle-height, calc(var(--ard-digit-input-size, 2.0625em) * 1.3));
|
|
93
|
+
|
|
94
|
+
.ard-digit-input__input {
|
|
95
|
+
font-size: var(--ard-digit-input-rectangle-font-size, 1.25em);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&.ard-is-success {
|
|
101
|
+
.ard-digit-input__item .ard-digit-input__input {
|
|
102
|
+
background-color: var(--ard-digit-input-success-background-color, transparent);
|
|
103
|
+
border-color: var(--ard-digit-input-success-border-color, #{ARD.$success500});
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
&.ard-has-error {
|
|
107
|
+
.ard-digit-input__item .ard-digit-input__input {
|
|
108
|
+
background-color: var(--ard-digit-input-error-background-color, #{ARD.$danger50});
|
|
109
|
+
border-color: var(--ard-digit-input-error-border-color, #{ARD.$danger500});
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.ard-variant-rounded {
|
|
114
|
+
--ard-variant-border-radius: var(--ard-digit-input-border-radius, var(--ard-rounded-corner-radius, 0.375rem));
|
|
115
|
+
}
|
|
116
|
+
&.ard-variant-pill {
|
|
117
|
+
--ard-variant-border-radius: 9999px;
|
|
118
|
+
}
|
|
119
|
+
&.ard-variant-sharp {
|
|
120
|
+
--ard-variant-border-radius: 0;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
.ard-disabled {
|
|
124
|
+
> .ard-digit-input {
|
|
125
|
+
opacity: var(--ard-digit-input-disabled-opacity, 50%);
|
|
126
|
+
pointer-events: none;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
.ard-readonly {
|
|
130
|
+
> .ard-digit-input {
|
|
131
|
+
cursor: var(--ard-digit-input-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
132
|
+
|
|
133
|
+
.ard-digit-input__input {
|
|
134
|
+
outline: none;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
@use './shared' as inputMixin;
|
|
2
|
+
@use '../mixins' as defaultMixins;
|
|
3
|
+
@use '../clear-button' as CB;
|
|
4
|
+
@use '../coloring' as CM;
|
|
5
|
+
@use '../../variables' as ARD;
|
|
6
|
+
|
|
7
|
+
@layer ard-ui {
|
|
8
|
+
// the variables are commented out intentionally
|
|
9
|
+
// read more in docs/dev/css-variables.md
|
|
10
|
+
:root {
|
|
11
|
+
// --ard-file-input-height: ;
|
|
12
|
+
// --ard-file-input-height-compact: ;
|
|
13
|
+
--ard-file-input-gap: 0.625rem;
|
|
14
|
+
// --ard-file-input-font-size: ;
|
|
15
|
+
// --ard-file-input-font-size-compact: ;
|
|
16
|
+
--ard-file-input-line-height: 1.25;
|
|
17
|
+
--ard-file-input-line-height-compact: 1;
|
|
18
|
+
--ard-file-input-font-weight: 400;
|
|
19
|
+
// --ard-file-input-padding-top: ;
|
|
20
|
+
// --ard-file-input-padding-right: ;
|
|
21
|
+
// --ard-file-input-padding-bottom: ;
|
|
22
|
+
// --ard-file-input-padding-left: ;
|
|
23
|
+
// --ard-file-input-padding-top-compact: ;
|
|
24
|
+
// --ard-file-input-padding-right-compact: ;
|
|
25
|
+
// --ard-file-input-padding-bottom-compact: ;
|
|
26
|
+
// --ard-file-input-padding-left-compact: ;
|
|
27
|
+
// --ard-file-input-color: ;
|
|
28
|
+
// --ard-file-input-readonly-cursor: ;
|
|
29
|
+
|
|
30
|
+
--ard-file-input-min-width: 10rem;
|
|
31
|
+
--ard-file-input-max-width: 100%;
|
|
32
|
+
--ard-file-input-gap: 0.375rem;
|
|
33
|
+
--ard-file-input-dragover-outline-width: 2px;
|
|
34
|
+
--ard-file-input-dragover-outline-style: solid;
|
|
35
|
+
--ard-file-input-browse-button-height: calc(100% - 0.25rem);
|
|
36
|
+
--ard-file-input-browse-button-width: unset;
|
|
37
|
+
--ard-file-input-browse-button-margin: 0.125rem;
|
|
38
|
+
--ard-file-input-browse-button-aspect-ratio: 1;
|
|
39
|
+
--ard-file-input-browse-button-border: none;
|
|
40
|
+
--ard-file-input-browse-button-border-radius: 9999px;
|
|
41
|
+
--ard-file-input-browse-button-background: none;
|
|
42
|
+
--ard-file-input-browse-button-padding: 0;
|
|
43
|
+
// --ard-file-input-browse-button-color: ;
|
|
44
|
+
// --ard-file-input-browse-button-color-error: ;
|
|
45
|
+
--ard-file-input-browse-button-overlay-offset: 0rem;
|
|
46
|
+
// --ard-file-input-browse-button-overlay-color: ;
|
|
47
|
+
--ard-file-input-browse-button-overlay-hover-opacity: 4%;
|
|
48
|
+
--ard-file-input-browse-button-overlay-focus-opacity: 0;
|
|
49
|
+
--ard-file-input-browse-button-overlay-active-opacity: 12%;
|
|
50
|
+
--ard-file-input-browse-button-overlay-focus-visible-opacity: 16%;
|
|
51
|
+
--ard-file-input-file-name-font-weight: 500;
|
|
52
|
+
--ard-file-input-file-ext-font-weight: 500;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ard-file-input-form-field-frame {
|
|
56
|
+
.ard-form-field-overlay {
|
|
57
|
+
display: none;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.ard-file-input {
|
|
61
|
+
@include inputMixin.genericInput(
|
|
62
|
+
var(--ard-file-input-height, var(--ard-form-field-height, 2.3125rem)),
|
|
63
|
+
var(--ard-file-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem)),
|
|
64
|
+
var(--ard-file-input-gap, 0.625rem),
|
|
65
|
+
var(--ard-file-input-font-size, var(--ard-form-field-font-size, 1rem)),
|
|
66
|
+
var(--ard-file-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem)),
|
|
67
|
+
var(--ard-file-input-line-height, 1.25),
|
|
68
|
+
var(--ard-file-input-line-height-compact, 1),
|
|
69
|
+
var(--ard-file-input-font-weight, 400),
|
|
70
|
+
var(--ard-file-input-padding-top, var(--ard-form-field-padding-top, 0)),
|
|
71
|
+
var(--ard-file-input-padding-right, var(--ard-form-field-padding-right, 0.375rem)),
|
|
72
|
+
var(--ard-file-input-padding-bottom, var(--ard-form-field-padding-bottom, 0)),
|
|
73
|
+
var(--ard-file-input-padding-left, var(--ard-form-field-padding-left, 0.375rem)),
|
|
74
|
+
var(--ard-file-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0)),
|
|
75
|
+
var(--ard-file-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem)),
|
|
76
|
+
var(--ard-file-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0)),
|
|
77
|
+
var(--ard-file-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
78
|
+
var(--ard-file-input-color, #{ARD.$text}),
|
|
79
|
+
unset,
|
|
80
|
+
unset,
|
|
81
|
+
var(--ard-file-input-readonly-cursor, var(--ard-readonly-cursor, default))
|
|
82
|
+
);
|
|
83
|
+
@include CM.typeColors();
|
|
84
|
+
min-width: var(--ard-file-input-min-width, 10rem);
|
|
85
|
+
max-width: var(--ard-file-input-max-width, 100%);
|
|
86
|
+
gap: var(--ard-file-input-gap, 0.375rem);
|
|
87
|
+
cursor: default;
|
|
88
|
+
border-radius: var(--ard-variant-border-radius);
|
|
89
|
+
|
|
90
|
+
*:not(button):not(ard-clear-button) {
|
|
91
|
+
pointer-events: none;
|
|
92
|
+
user-select: none;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&.ard-state-dragover {
|
|
96
|
+
outline: var(--ard-file-input-dragover-outline-width, 2px) var(--ard-file-input-dragover-outline-style, solid)
|
|
97
|
+
var(--ard-cmpcl--content-light);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ard-file-input__value {
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
text-overflow: ellipsis;
|
|
103
|
+
display: flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
}
|
|
106
|
+
.ard-browse-button {
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
height: var(--ard-file-input-browse-button-height, calc(100% - 0.25rem));
|
|
109
|
+
width: var(--ard-file-input-browse-button-width, unset);
|
|
110
|
+
margin: var(--ard-file-input-browse-button-margin, 0.125rem);
|
|
111
|
+
aspect-ratio: var(--ard-file-input-browse-button-aspect-ratio, 1);
|
|
112
|
+
border: var(--ard-file-input-browse-button-border, none);
|
|
113
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
114
|
+
background: var(--ard-file-input-browse-button-background, none);
|
|
115
|
+
padding: var(--ard-file-input-browse-button-padding, 0);
|
|
116
|
+
color: var(--ard-file-input-browse-button-color, #{ARD.$text});
|
|
117
|
+
position: relative;
|
|
118
|
+
display: flex;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
align-items: center;
|
|
121
|
+
outline: none;
|
|
122
|
+
|
|
123
|
+
.ard-focus-overlay {
|
|
124
|
+
@include defaultMixins.focus-overlay(var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
125
|
+
background: var(--ard-file-input-browse-button-overlay-color, #{ARD.$overlay});
|
|
126
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
127
|
+
}
|
|
128
|
+
&:hover {
|
|
129
|
+
.ard-focus-overlay {
|
|
130
|
+
opacity: var(--ard-file-input-browse-button-overlay-hover-opacity, 4%);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
&:focus {
|
|
134
|
+
.ard-focus-overlay {
|
|
135
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-opacity, 8%);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
&:active {
|
|
139
|
+
.ard-focus-overlay {
|
|
140
|
+
opacity: var(--ard-file-input-browse-button-overlay-active-opacity, 12%);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
&:focus-visible {
|
|
144
|
+
.ard-focus-overlay {
|
|
145
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-visible-opacity, 16%);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@include CB.clearButton();
|
|
151
|
+
|
|
152
|
+
.ard-input-container {
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
}
|
|
155
|
+
.ard-input-container,
|
|
156
|
+
.ard-file-input__value,
|
|
157
|
+
.ard-file-input__uploaded,
|
|
158
|
+
.ard-file-input__full-file-name,
|
|
159
|
+
.ard-file-input__file-name {
|
|
160
|
+
overflow: hidden;
|
|
161
|
+
text-overflow: ellipsis;
|
|
162
|
+
max-width: 100%;
|
|
163
|
+
}
|
|
164
|
+
.ard-file-input__full-file-name {
|
|
165
|
+
display: grid;
|
|
166
|
+
grid-template-columns: 1fr max-content;
|
|
167
|
+
|
|
168
|
+
.ard-file-input__file-name {
|
|
169
|
+
font-weight: var(--ard-file-input-file-name-font-weight, 500);
|
|
170
|
+
}
|
|
171
|
+
.ard-file-input__file-ext {
|
|
172
|
+
font-weight: var(--ard-file-input-file-ext-font-weight, 500);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
ard-file-input .ard-form-field-content-container {
|
|
177
|
+
max-width: 100%;
|
|
178
|
+
}
|
|
179
|
+
ard-file-input .ard-form-field-frame {
|
|
180
|
+
&.ard-has-error .ard-file-input {
|
|
181
|
+
.ard-file-input__value,
|
|
182
|
+
.ard-browse-button {
|
|
183
|
+
color: var(--ard-file-input-browse-button-color-error, #{ARD.$danger700});
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
@use './shared' as inputMixin;
|
|
2
|
+
@use '../mixins' as defaultMixins;
|
|
3
|
+
@use '../clear-button' as CB;
|
|
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-hex-input-height: ;
|
|
11
|
+
// --ard-hex-input-height-compact: ;
|
|
12
|
+
--ard-hex-input-gap: 0.625rem;
|
|
13
|
+
// --ard-hex-input-font-size: ;
|
|
14
|
+
// --ard-hex-input-font-size-compact: ;
|
|
15
|
+
--ard-hex-input-line-height: 1.25;
|
|
16
|
+
--ard-hex-input-line-height-compact: 1;
|
|
17
|
+
--ard-hex-input-font-weight: 400;
|
|
18
|
+
// --ard-hex-input-padding-top: ;
|
|
19
|
+
// --ard-hex-input-padding-right: ;
|
|
20
|
+
// --ard-hex-input-padding-bottom: ;
|
|
21
|
+
// --ard-hex-input-padding-left: ;
|
|
22
|
+
// --ard-hex-input-padding-top-compact: ;
|
|
23
|
+
// --ard-hex-input-padding-right-compact: ;
|
|
24
|
+
// --ard-hex-input-padding-bottom-compact: ;
|
|
25
|
+
// --ard-hex-input-padding-left-compact: ;
|
|
26
|
+
// --ard-hex-input-color: ;
|
|
27
|
+
// --ard-hex-input-placeholder-color: ;
|
|
28
|
+
--ard-hex-input-placeholder-opacity: 60%;
|
|
29
|
+
// --ard-hex-input-readonly-cursor: ;
|
|
30
|
+
|
|
31
|
+
--ard-hex-input-min-width: 10rem;
|
|
32
|
+
--ard-hex-input-max-width: 100%;
|
|
33
|
+
// --ard-hex-input-hash-color: ;
|
|
34
|
+
--ard-hex-input-hash-opacity: 70%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ard-hex-input {
|
|
38
|
+
@include inputMixin.genericInput(
|
|
39
|
+
var(--ard-hex-input-height, var(--ard-form-field-height, 2.3125rem)),
|
|
40
|
+
var(--ard-hex-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem)),
|
|
41
|
+
var(--ard-hex-input-gap, 0.625rem),
|
|
42
|
+
var(--ard-hex-input-font-size, var(--ard-form-field-font-size, 1rem)),
|
|
43
|
+
var(--ard-hex-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem)),
|
|
44
|
+
var(--ard-hex-input-line-height, 1.25),
|
|
45
|
+
var(--ard-hex-input-line-height-compact, 1),
|
|
46
|
+
var(--ard-hex-input-font-weight, 400),
|
|
47
|
+
var(--ard-hex-input-padding-top, var(--ard-form-field-padding-top, 0)),
|
|
48
|
+
var(--ard-hex-input-padding-right, var(--ard-form-field-padding-right, 0.375rem)),
|
|
49
|
+
var(--ard-hex-input-padding-bottom, var(--ard-form-field-padding-bottom, 0)),
|
|
50
|
+
var(--ard-hex-input-padding-left, var(--ard-form-field-padding-left, 0.375rem)),
|
|
51
|
+
var(--ard-hex-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0)),
|
|
52
|
+
var(--ard-hex-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem)),
|
|
53
|
+
var(--ard-hex-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0)),
|
|
54
|
+
var(--ard-hex-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
55
|
+
var(--ard-hex-input-color, #{ARD.$text}),
|
|
56
|
+
var(--ard-hex-input-placeholder-color, #{ARD.$text}),
|
|
57
|
+
var(--ard-hex-input-placeholder-opacity, 60%),
|
|
58
|
+
var(--ard-hex-input-readonly-cursor, var(--ard-readonly-cursor, default))
|
|
59
|
+
);
|
|
60
|
+
min-width: var(--ard-hex-input-min-width, 10rem);
|
|
61
|
+
max-width: var(--ard-hex-input-max-width, 100%);
|
|
62
|
+
|
|
63
|
+
@include CB.clearButton();
|
|
64
|
+
|
|
65
|
+
.ard-input-container {
|
|
66
|
+
input {
|
|
67
|
+
font-family: var(--ard-font-family-mono);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ard-hash-container {
|
|
72
|
+
color: var(--ard-hex-input-hash-color, #{ARD.$text});
|
|
73
|
+
opacity: var(--ard-hex-input-hash-opacity, 70%);
|
|
74
|
+
user-select: none;
|
|
75
|
+
font-family: var(--ard-font-family-mono);
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
height: 100%;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@use './shared' as inputMixin;
|
|
2
|
+
@use '../mixins' as defaultMixins;
|
|
3
|
+
@use '../clear-button' as CB;
|
|
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-input-height: ;
|
|
11
|
+
// --ard-input-height-compact: ;
|
|
12
|
+
--ard-input-gap: 0.625rem;
|
|
13
|
+
// --ard-input-font-size: ;
|
|
14
|
+
// --ard-input-font-size-compact: ;
|
|
15
|
+
--ard-input-line-height: 1.25;
|
|
16
|
+
--ard-input-line-height-compact: 1;
|
|
17
|
+
--ard-input-font-weight: 400;
|
|
18
|
+
// --ard-input-padding-left: ;
|
|
19
|
+
// --ard-input-padding-right: ;
|
|
20
|
+
// --ard-input-padding-top: ;
|
|
21
|
+
// --ard-input-padding-bottom: ;
|
|
22
|
+
// --ard-input-padding-left-compact: ;
|
|
23
|
+
// --ard-input-padding-right-compact: ;
|
|
24
|
+
// --ard-input-padding-top-compact: ;
|
|
25
|
+
// --ard-input-padding-bottom-compact: ;
|
|
26
|
+
// --ard-input-color: ;
|
|
27
|
+
// --ard-input-placeholder-color: ;
|
|
28
|
+
--ard-input-placeholder-opacity: 60%;
|
|
29
|
+
// --ard-input-readonly-cursor: ;
|
|
30
|
+
|
|
31
|
+
--ard-input-min-width: 10rem;
|
|
32
|
+
--ard-input-max-width: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ard-input {
|
|
36
|
+
@include inputMixin.genericInput(
|
|
37
|
+
var(--ard-input-height, var(--ard-form-field-height, 2.3125rem)),
|
|
38
|
+
var(--ard-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem)),
|
|
39
|
+
var(--ard-input-gap, 0.625rem),
|
|
40
|
+
var(--ard-input-font-size, var(--ard-form-field-font-size, 1rem)),
|
|
41
|
+
var(--ard-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem)),
|
|
42
|
+
var(--ard-input-line-height, 1.25),
|
|
43
|
+
var(--ard-input-line-height-compact, 1),
|
|
44
|
+
var(--ard-input-font-weight, 400),
|
|
45
|
+
var(--ard-input-padding-top, var(--ard-form-field-padding-top, 0)),
|
|
46
|
+
var(--ard-input-padding-right, var(--ard-form-field-padding-right, 0.375rem)),
|
|
47
|
+
var(--ard-input-padding-bottom, var(--ard-form-field-padding-bottom, 0)),
|
|
48
|
+
var(--ard-input-padding-left, var(--ard-form-field-padding-left, 0.375rem)),
|
|
49
|
+
var(--ard-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0)),
|
|
50
|
+
var(--ard-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem)),
|
|
51
|
+
var(--ard-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0)),
|
|
52
|
+
var(--ard-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
53
|
+
var(--ard-input-color, #{ARD.$text}),
|
|
54
|
+
var(--ard-input-placeholder-color, #{ARD.$text}),
|
|
55
|
+
var(--ard-input-placeholder-opacity, 60%),
|
|
56
|
+
var(--ard-input-readonly-cursor, var(--ard-readonly-cursor, default))
|
|
57
|
+
);
|
|
58
|
+
min-width: var(--ard-input-min-width, 10rem);
|
|
59
|
+
max-width: var(--ard-input-max-width, 100%);
|
|
60
|
+
|
|
61
|
+
@include CB.clearButton();
|
|
62
|
+
}
|
|
63
|
+
}
|