@ardium-ui/ui 5.0.0-alpha.10 → 5.0.0-alpha.100
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/fesm2022/ardium-ui-ui.mjs +5893 -2889
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/boolean-component.d.ts +13 -1
- package/lib/_internal/disablable-component.d.ts +3 -3
- package/lib/_internal/form-field-component.d.ts +1 -1
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +21 -21
- package/lib/_internal/item-storages/simple-item-storage.d.ts +15 -12
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +1 -1
- package/lib/_internal/ngmodel-component.d.ts +8 -9
- package/lib/_internal/selectable-list-component.d.ts +2 -3
- package/lib/_internal/utils/date.utils.d.ts +16 -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 +9 -6
- package/lib/buttons/_button-base.defaults.d.ts +3 -2
- package/lib/buttons/button/button.component.d.ts +10 -5
- package/lib/buttons/button/button.defaults.d.ts +1 -2
- package/lib/buttons/button/button.directive.d.ts +23 -0
- package/lib/buttons/button/button.module.d.ts +3 -2
- package/lib/buttons/button/index.d.ts +1 -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 +3 -1
- package/lib/buttons/icon-button/icon-button.component.d.ts +2 -1
- package/lib/buttons/icon-button/icon-button.defaults.d.ts +2 -1
- package/lib/calendar/abstract-calendar.d.ts +135 -0
- package/lib/calendar/calendar.component.d.ts +9 -97
- package/lib/calendar/calendar.defaults.d.ts +16 -1
- package/lib/calendar/calendar.internal-directives.d.ts +24 -8
- package/lib/calendar/calendar.internal-types.d.ts +1 -0
- package/lib/calendar/calendar.module.d.ts +4 -9
- package/lib/calendar/calendar.types.d.ts +33 -5
- package/lib/calendar/index.d.ts +3 -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 +20 -2
- package/lib/calendar/views/days-view/days-view.helpers.d.ts +2 -2
- package/lib/calendar/views/months-view/months-view.component.d.ts +15 -3
- package/lib/calendar/views/years-view/years-view.component.d.ts +16 -3
- package/lib/checkbox/checkbox.component.d.ts +5 -2
- package/lib/checkbox/checkbox.types.d.ts +2 -0
- package/lib/checkbox-list/checkbox-list.component.d.ts +5 -4
- package/lib/checkbox-list/checkbox-list.directives.d.ts +7 -0
- package/lib/checkbox-list/checkbox-list.module.d.ts +1 -1
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +1 -0
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +2 -0
- package/lib/dialog/dialog.component.d.ts +5 -1
- package/lib/dialog/dialog.types.d.ts +1 -0
- package/lib/divider/divider.component.d.ts +2 -4
- package/lib/divider/divider.defaults.d.ts +5 -0
- package/lib/divider/divider.directive.d.ts +18 -0
- package/lib/divider/divider.module.d.ts +3 -2
- package/lib/divider/divider.types.d.ts +5 -0
- package/lib/divider/index.d.ts +2 -0
- package/lib/dropdown-panel/dropdown-panel.types.d.ts +1 -1
- package/lib/file-inputs/file-input/file-input.component.d.ts +3 -3
- package/lib/file-inputs/file-input/file-input.directives.d.ts +3 -3
- package/lib/file-inputs/file-input/file-input.module.d.ts +1 -1
- package/lib/file-inputs/file-input-base.d.ts +0 -1
- 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/form-field-base.d.ts +3 -1
- package/lib/form-field/form-field-child.token.d.ts +5 -5
- package/lib/form-field/form-field-native-inputs.d.ts +3 -9
- package/lib/form-field/form-field.component.d.ts +1 -1
- package/lib/form-field/form-field.defaults.d.ts +1 -0
- package/lib/form-field/form-field.module.d.ts +5 -4
- package/lib/form-field/horizontal-form-field.component.d.ts +1 -1
- package/lib/form-field/index.d.ts +2 -0
- package/lib/form-field-frame/form-field-frame.component.d.ts +1 -0
- package/lib/grid/grid.component.d.ts +59 -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 +11 -0
- package/lib/grid/index.d.ts +4 -0
- package/lib/inputs/_simple-input-base.d.ts +6 -2
- package/lib/inputs/autocomplete-input/autocomplete-input.component.d.ts +2 -2
- package/lib/inputs/date-input/abstract-date-input.d.ts +111 -0
- package/lib/inputs/date-input/date-input.component.d.ts +21 -83
- package/lib/inputs/date-input/date-input.defaults.d.ts +21 -3
- package/lib/inputs/date-input/{date-input.directive.d.ts → date-input.directives.d.ts} +2 -2
- package/lib/inputs/date-input/date-input.module.d.ts +5 -4
- package/lib/inputs/date-input/date-input.serializers.d.ts +4 -2
- package/lib/inputs/date-input/date-input.types.d.ts +5 -4
- package/lib/inputs/date-input/date-range-input.component.d.ts +32 -0
- package/lib/inputs/date-input/date-range-input.directives.d.ts +82 -0
- package/lib/inputs/date-input/date-range-input.module.d.ts +17 -0
- package/lib/inputs/date-input/index.d.ts +7 -1
- package/lib/inputs/date-input/multipage-date-range-input.component.d.ts +46 -0
- package/lib/inputs/date-input/multipage-date-range-input.directives.d.ts +82 -0
- package/lib/inputs/date-input/multipage-date-range-input.module.d.ts +17 -0
- package/lib/inputs/hex-input/hex-input.component.d.ts +1 -2
- package/lib/inputs/input-types.d.ts +9 -0
- package/lib/inputs/input-utils.d.ts +13 -2
- package/lib/inputs/number-input/number-input.component.d.ts +12 -6
- package/lib/inputs/number-input/number-input.defaults.d.ts +6 -0
- package/lib/inputs/number-input/number-input.directives.d.ts +12 -0
- package/lib/inputs/number-input/number-input.module.d.ts +1 -1
- package/lib/inputs/number-input/number-input.types.d.ts +6 -0
- package/lib/inputs/password-input/password-input.component.d.ts +4 -4
- package/lib/modal/modal.component.d.ts +3 -1
- package/lib/modal/modal.defaults.d.ts +2 -0
- package/lib/radio/radio/radio.component.d.ts +8 -3
- package/lib/radio/radio-group.component.d.ts +3 -2
- package/lib/search-functions.d.ts +1 -1
- package/lib/select/select.component.d.ts +28 -22
- package/lib/select/select.defaults.d.ts +4 -2
- package/lib/select/select.directive.d.ts +6 -0
- package/lib/select/select.module.d.ts +1 -1
- package/lib/select/select.types.d.ts +6 -2
- package/lib/slide-toggle/slide-toggle.component.d.ts +2 -0
- package/lib/slider/abstract-slider.d.ts +30 -23
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +13 -10
- package/lib/slider/range-slider/range-slider.types.d.ts +6 -0
- package/lib/slider/slider.component.d.ts +5 -4
- package/lib/slider/slider.types.d.ts +3 -3
- package/lib/snackbar/snackbar-ref.d.ts +37 -4
- package/lib/snackbar/snackbar.service.d.ts +27 -0
- package/lib/snackbar/snackbar.types.d.ts +36 -0
- package/lib/stack/index.d.ts +3 -0
- package/lib/stack/stack.component.d.ts +25 -0
- package/lib/stack/stack.defaults.d.ts +14 -0
- package/lib/stack/stack.module.d.ts +7 -0
- package/lib/star/rating-input/rating-input.component.d.ts +3 -2
- package/lib/star/rating-input/rating-input.defaults.d.ts +2 -2
- package/lib/star/star-button/star-button.component.d.ts +4 -1
- package/lib/star/star-button/star-button.types.d.ts +1 -0
- package/lib/tabber/index.d.ts +2 -1
- package/lib/tabber/tab/tab.component.d.ts +14 -7
- package/lib/tabber/tabber.component.d.ts +22 -7
- package/lib/tabber/tabber.defaults.d.ts +2 -0
- package/lib/tabber/tabber.directives.d.ts +9 -0
- package/lib/tabber/tabber.module.d.ts +3 -2
- package/lib/tabber/tabber.types.d.ts +5 -0
- package/lib/types/alignment.types.d.ts +7 -1
- package/lib/types/item-storage.types.d.ts +29 -18
- package/lib/types/theming.types.d.ts +1 -0
- package/package.json +3 -2
- package/prebuilt-themes/default/badge.css +234 -205
- package/prebuilt-themes/default/badge.css.map +1 -1
- 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 +332 -301
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +316 -299
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +301 -287
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +390 -308
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css +151 -127
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +98 -65
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +355 -362
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +418 -359
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +34 -26
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/color-picker.css +105 -103
- package/prebuilt-themes/default/color-picker.css.map +1 -1
- package/prebuilt-themes/default/core.css +109 -88
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css +19 -15
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css +84 -8
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css +42 -34
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css +329 -276
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +102 -102
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +148 -128
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +192 -132
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +102 -137
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +142 -63
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +126 -110
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +394 -325
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +159 -117
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +146 -107
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +224 -169
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +126 -71
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +14 -9
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css +26 -15
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +96 -72
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-bar.css +250 -228
- package/prebuilt-themes/default/progress-bar.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css +178 -164
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +258 -225
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +438 -414
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +311 -270
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +319 -261
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +425 -351
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +189 -169
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +161 -148
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css +281 -246
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +250 -207
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css +57 -45
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css +464 -432
- package/prebuilt-themes/default/table.css.map +1 -1
- package/public-api.d.ts +4 -1
- package/themes/_variables.scss +2 -1
- package/themes/default/_clear-button.scss +5 -0
- package/themes/default/_coloring.scss +7 -0
- package/themes/default/_mixins.scss +10 -8
- package/themes/default/badge.scss +115 -80
- package/themes/default/buttons/_button-mixins.scss +44 -33
- package/themes/default/buttons/button-group.scss +19 -0
- package/themes/default/buttons/button.scss +97 -63
- package/themes/default/buttons/fab.scss +76 -49
- package/themes/default/buttons/icon-button.scss +72 -45
- package/themes/default/calendar.scss +257 -163
- package/themes/default/card.scss +167 -121
- package/themes/default/checkbox-list.scss +101 -62
- package/themes/default/checkbox.scss +70 -88
- package/themes/default/chips.scss +216 -147
- package/themes/default/color-display.scss +40 -28
- package/themes/default/color-picker.scss +95 -93
- package/themes/default/core.scss +125 -100
- package/themes/default/dialog.scss +22 -13
- package/themes/default/divider.scss +109 -7
- package/themes/default/dropdown-panel.scss +49 -34
- package/themes/default/file-drop-area.scss +197 -138
- package/themes/default/form-field-frame.scss +71 -66
- package/themes/default/form-field.scss +136 -106
- package/themes/default/inputs/_shared.scss +61 -12
- package/themes/default/inputs/autocomplete-input.scss +104 -31
- package/themes/default/inputs/color-input.scss +34 -32
- package/themes/default/inputs/date-input.scss +90 -20
- package/themes/default/inputs/digit-input.scss +111 -77
- package/themes/default/inputs/file-input.scss +162 -81
- package/themes/default/inputs/hex-input.scss +70 -16
- package/themes/default/inputs/input.scss +57 -6
- package/themes/default/inputs/number-input.scss +175 -98
- package/themes/default/inputs/password-input.scss +102 -29
- package/themes/default/kbd-shortcut.scss +16 -8
- package/themes/default/kbd.scss +35 -16
- package/themes/default/modal.scss +109 -74
- package/themes/default/progress-bar.scss +126 -102
- package/themes/default/progress-circle.scss +49 -41
- package/themes/default/radio.scss +129 -89
- package/themes/default/segment.scss +283 -255
- package/themes/default/select.scss +265 -197
- package/themes/default/slide-toggle.scss +193 -116
- package/themes/default/slider.scss +250 -187
- package/themes/default/snackbar.scss +52 -32
- package/themes/default/spinner.scss +24 -14
- package/themes/default/stars.scss +115 -67
- package/themes/default/tabber.scss +109 -67
- package/themes/default/table-pagination.scss +60 -44
- package/themes/default/table.scss +379 -343
- package/lib/statebox/index.d.ts +0 -4
- package/lib/statebox/statebox.component.d.ts +0 -26
- package/lib/statebox/statebox.defaults.d.ts +0 -10
- package/lib/statebox/statebox.module.d.ts +0 -8
- package/lib/statebox/statebox.types.d.ts +0 -26
- package/lib/tabber/tab/tab.defaults.d.ts +0 -6
- package/prebuilt-themes/default/calendar-OLD.css +0 -294
- package/prebuilt-themes/default/calendar-OLD.css.map +0 -1
- package/prebuilt-themes/default/inputs/search-bar.css +0 -118
- package/prebuilt-themes/default/inputs/search-bar.css.map +0 -1
- package/prebuilt-themes/default/statebox.css +0 -235
- package/prebuilt-themes/default/statebox.css.map +0 -1
- package/themes/default/calendar-OLD.scss +0 -183
- package/themes/default/inputs/search-bar.scss +0 -19
- package/themes/default/statebox.scss +0 -109
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/table.scss","../../../../projects/ui/src/themes/
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/table.scss","../../../../projects/ui/src/themes/default/_coloring.scss"],"names":[],"mappings":"AAGA;EAGE;IAKE;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IAIA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAGF;IAEE;IACA;IA8JA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EC5MF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EDlGA;IACE;;EAGF;AAAA;IAEE;;EAEA;AAAA;IACE;IACA;IACA;IACA;IACA;;EAEA;AAAA;IACE;IACA;IACA;;EAEA;AAAA;IACE;IACA;IACA;;EAKR;IACE;IACA;IACA;;EAEF;IACE;IACA;;EAEA;IACE;IACA;IACA;;EAIF;IACE;IACA;IACA;IACA;IACA;;EAGJ;IACE;;EAKA;IACE;;EAEF;IACE;;EAMF;AAAA;IAEE;;EAEF;IACE;;EAEF;IACE;;EAGJ;IACE;IACA;IACA;IACA;;EAEA;IACE;;EAEA;IACE;IACA;IACA;;EAEA;IACE;;EASJ;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;;EAEF;IACE;IACA;;EAEF;IACE;IACA;;EAOR;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;;EAMF;IACE;;EAiBF;IACE;IACA;;EAEF;IACE;IACA;;EAIF;IACE;;EAEF;IACE;IACA;;EAEF;IACE;;EAIF;IACE;;EAEF;IACE;IACA;;EAEF;IACE;;EAKF;AAAA;AAAA;IAGE;;EAEF;IACE;IACA;;EACA;IACE;;EAGJ;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;IACA;;EACA;IACE;IACA;;EAEA;IACE;IACA;;EAIN;IACE;IACA;;EAGE;IACE;;EAIF;IACE;;EAUJ;AAAA;IACE;IACA;;EAGJ;IACE;;EAEA;IACE;;EAGJ;IACE;;EAGA;IACE;IACA;;EAGJ;IACE;;EAMF;IACE;;EAMF;IACE;;EAGJ;IACE;;EAEF;IACE;;EAIF;IACE;IACA;IACA;;EAIF;IACE;;EAKA;IACE;IACA;IACA;;EAQF;IACE;;EAMF;IACE;;EAMF;IACE;;EAMF;IACE;;EAMF;IACE;;EAMF;IACE;;EAOF;AAAA;AAAA;AAAA;IAEE;;EAMF;AAAA;AAAA;AAAA;IAEE;;EAMF;AAAA;AAAA;AAAA;IAEE;;EAMF;IACE;;EAMF;IACE;;EAMF;IACE","file":"table.css"}
|
package/public-api.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './lib/inputs/date-input';
|
|
|
11
11
|
export * from './lib/inputs/hex-input';
|
|
12
12
|
export * from './lib/inputs/number-input';
|
|
13
13
|
export * from './lib/buttons/button';
|
|
14
|
+
export * from './lib/buttons/button-group';
|
|
14
15
|
export * from './lib/buttons/fab';
|
|
15
16
|
export * from './lib/buttons/general-button.types';
|
|
16
17
|
export * from './lib/buttons/icon-button';
|
|
@@ -22,7 +23,6 @@ export * from './lib/slide-toggle';
|
|
|
22
23
|
export * from './lib/slider';
|
|
23
24
|
export * from './lib/star/rating-input';
|
|
24
25
|
export * from './lib/star/star-button';
|
|
25
|
-
export * from './lib/statebox';
|
|
26
26
|
export * from './lib/calendar';
|
|
27
27
|
export * from './lib/checkbox-list';
|
|
28
28
|
export * from './lib/badge';
|
|
@@ -42,6 +42,8 @@ export * from './lib/table-pagination';
|
|
|
42
42
|
export * from './lib/text-list';
|
|
43
43
|
export * from './lib/card';
|
|
44
44
|
export * from './lib/divider';
|
|
45
|
+
export * from './lib/grid';
|
|
46
|
+
export * from './lib/stack';
|
|
45
47
|
export * from './lib/tabber';
|
|
46
48
|
export * from './lib/dialog';
|
|
47
49
|
export * from './lib/modal';
|
|
@@ -53,4 +55,5 @@ export * from './lib/types/colors.types';
|
|
|
53
55
|
export * from './lib/types/item-storage.types';
|
|
54
56
|
export * from './lib/types/theming.types';
|
|
55
57
|
export * from './lib/types/utility.types';
|
|
58
|
+
export * from './lib/breakpoints';
|
|
56
59
|
export { searchFunctions as ArdSearchFunction, searchInString } from './lib/search-functions';
|
package/themes/_variables.scss
CHANGED
|
@@ -25,6 +25,7 @@ $lighten-overlay-medium: var(--ard-lighten-overlay-medium);
|
|
|
25
25
|
$lighten-overlay-light: var(--ard-lighten-overlay-light);
|
|
26
26
|
$darken-overlay: var(--ard-darken-overlay);
|
|
27
27
|
$darken-overlay-strong: var(--ard-darken-overlay-strong);
|
|
28
|
+
$darken-overlay-medium-strong: var(--ard-darken-overlay-medium-strong);
|
|
28
29
|
$darken-overlay-medium: var(--ard-darken-overlay-medium);
|
|
29
30
|
$darken-overlay-light: var(--ard-darken-overlay-light);
|
|
30
31
|
$darken-overlay-ultralight: var(--ard-darken-overlay-ultralight);
|
|
@@ -40,7 +41,7 @@ $timing-fn: cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
40
41
|
$clear-button-size: var(--ard-clear-button-size);
|
|
41
42
|
$dropdown-button-size: var(--ard-dropdown-button-size);
|
|
42
43
|
$form-field-height: var(--ard-form-field-height);
|
|
43
|
-
$form-field-compact-height: var(--ard-form-field-compact
|
|
44
|
+
$form-field-compact-height: var(--ard-form-field-height-compact);
|
|
44
45
|
|
|
45
46
|
$gold: var(--ard-gold);
|
|
46
47
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
--ard-#{$prefix}--bg-colored-verylight: #{ARD.$bg-d};
|
|
10
10
|
--ard-#{$prefix}--on-bg: #{ARD.$text};
|
|
11
11
|
--ard-#{$prefix}--on-bg-colored: #{ARD.$text-alt};
|
|
12
|
+
--ard-#{$prefix}--on-bg-colored-light: #{ARD.$text};
|
|
12
13
|
--ard-#{$prefix}--border: #{ARD.$text};
|
|
13
14
|
--ard-#{$prefix}--border-light: #{ARD.$text2};
|
|
14
15
|
--ard-#{$prefix}--content: #{ARD.$text};
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
--ard-#{$prefix}--bg-colored-verylight: #{ARD.$main50};
|
|
27
28
|
--ard-#{$prefix}--on-bg: #{ARD.$text-alt};
|
|
28
29
|
--ard-#{$prefix}--on-bg-colored: #{ARD.$text-alt};
|
|
30
|
+
--ard-#{$prefix}--on-bg-colored-light: #{ARD.$text};
|
|
29
31
|
--ard-#{$prefix}--border: #{ARD.$main300};
|
|
30
32
|
--ard-#{$prefix}--border-light: #{ARD.$main100};
|
|
31
33
|
--ard-#{$prefix}--content: #{ARD.$main700};
|
|
@@ -43,6 +45,7 @@
|
|
|
43
45
|
--ard-#{$prefix}--bg-colored-verylight: #{ARD.$scnd50};
|
|
44
46
|
--ard-#{$prefix}--on-bg: #{ARD.$text-alt};
|
|
45
47
|
--ard-#{$prefix}--on-bg-colored: #{ARD.$text-alt};
|
|
48
|
+
--ard-#{$prefix}--on-bg-colored-light: #{ARD.$text};
|
|
46
49
|
--ard-#{$prefix}--border: #{ARD.$scnd300};
|
|
47
50
|
--ard-#{$prefix}--border-light: #{ARD.$scnd100};
|
|
48
51
|
--ard-#{$prefix}--content: #{ARD.$scnd700};
|
|
@@ -60,6 +63,7 @@
|
|
|
60
63
|
--ard-#{$prefix}--bg-colored-verylight: #{ARD.$warn50};
|
|
61
64
|
--ard-#{$prefix}--on-bg: #{ARD.$text-alt};
|
|
62
65
|
--ard-#{$prefix}--on-bg-colored: #{ARD.$text-alt};
|
|
66
|
+
--ard-#{$prefix}--on-bg-colored-light: #{ARD.$text};
|
|
63
67
|
--ard-#{$prefix}--border: #{ARD.$warn300};
|
|
64
68
|
--ard-#{$prefix}--border-light: #{ARD.$warn100};
|
|
65
69
|
--ard-#{$prefix}--content: #{ARD.$warn700};
|
|
@@ -77,6 +81,7 @@
|
|
|
77
81
|
--ard-#{$prefix}--bg-colored-verylight: #{ARD.$danger50};
|
|
78
82
|
--ard-#{$prefix}--on-bg: #{ARD.$text-alt};
|
|
79
83
|
--ard-#{$prefix}--on-bg-colored: #{ARD.$text-alt};
|
|
84
|
+
--ard-#{$prefix}--on-bg-colored-light: #{ARD.$text};
|
|
80
85
|
--ard-#{$prefix}--border: #{ARD.$danger300};
|
|
81
86
|
--ard-#{$prefix}--border-light: #{ARD.$danger100};
|
|
82
87
|
--ard-#{$prefix}--content: #{ARD.$danger900};
|
|
@@ -94,6 +99,7 @@
|
|
|
94
99
|
--ard-#{$prefix}--bg-colored-verylight: #{ARD.$success50};
|
|
95
100
|
--ard-#{$prefix}--on-bg: #{ARD.$text-alt};
|
|
96
101
|
--ard-#{$prefix}--on-bg-colored: #{ARD.$text-alt};
|
|
102
|
+
--ard-#{$prefix}--on-bg-colored-light: #{ARD.$text};
|
|
97
103
|
--ard-#{$prefix}--border: #{ARD.$success300};
|
|
98
104
|
--ard-#{$prefix}--border-light: #{ARD.$success100};
|
|
99
105
|
--ard-#{$prefix}--content: #{ARD.$success900};
|
|
@@ -111,6 +117,7 @@
|
|
|
111
117
|
--ard-#{$prefix}--bg-colored-verylight: #{ARD.$info50};
|
|
112
118
|
--ard-#{$prefix}--on-bg: #{ARD.$text-alt};
|
|
113
119
|
--ard-#{$prefix}--on-bg-colored: #{ARD.$text-alt};
|
|
120
|
+
--ard-#{$prefix}--on-bg-colored-light: #{ARD.$text};
|
|
114
121
|
--ard-#{$prefix}--border: #{ARD.$info300};
|
|
115
122
|
--ard-#{$prefix}--border-light: #{ARD.$info100};
|
|
116
123
|
--ard-#{$prefix}--content: #{ARD.$info700};
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
'opsz' #{$opsz};
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
@mixin focus-overlay($size:
|
|
13
|
+
@mixin focus-overlay($size: 0px) {
|
|
14
14
|
position: absolute;
|
|
15
|
-
top:
|
|
16
|
-
bottom:
|
|
17
|
-
left:
|
|
18
|
-
right:
|
|
15
|
+
top: calc(-1 * #{$size});
|
|
16
|
+
bottom: calc(-1 * #{$size});
|
|
17
|
+
left: calc(-1 * #{$size});
|
|
18
|
+
right: calc(-1 * #{$size});
|
|
19
19
|
opacity: 0;
|
|
20
20
|
border-radius: inherit;
|
|
21
21
|
pointer-events: none;
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
transition: opacity 0.2s ease;
|
|
24
24
|
}
|
|
25
25
|
@mixin focus-overlay-scale-addon() {
|
|
26
|
+
--_ard-focus-overlay-scale: 0.2;
|
|
26
27
|
> .ard-focus-overlay {
|
|
27
|
-
transform: scale(
|
|
28
|
+
transform: scale(var(--_ard-focus-overlay-scale));
|
|
28
29
|
|
|
29
30
|
transition:
|
|
30
31
|
opacity 0.2s ease,
|
|
@@ -32,9 +33,10 @@
|
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
&:hover,
|
|
35
|
-
&:focus
|
|
36
|
+
&:focus,
|
|
37
|
+
&:focus-visible {
|
|
36
38
|
> .ard-focus-overlay {
|
|
37
|
-
|
|
39
|
+
--_ard-focus-overlay-scale: 1;
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
}
|
|
@@ -1,94 +1,129 @@
|
|
|
1
1
|
@use './coloring' as CM;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
@layer ard-ui {
|
|
4
|
+
// the variables are commented out intentionally
|
|
5
|
+
// read more in docs/dev/css-variables.md
|
|
6
|
+
:root {
|
|
7
|
+
--ard-badge-small-font-size: 0.55rem;
|
|
8
|
+
// --ard-badge-small-size: ;
|
|
9
|
+
--ard-badge-small-font-weight: 400;
|
|
10
|
+
--ard-badge-small-letter-spacing: 0.2px;
|
|
11
|
+
// --ard-badge-small-rounded-radius: ;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
--ard-badge-medium-font-size: 0.667rem;
|
|
14
|
+
// --ard-badge-medium-size: ;
|
|
15
|
+
--ard-badge-medium-font-weight: 500;
|
|
16
|
+
--ard-badge-medium-letter-spacing: 0.2px;
|
|
17
|
+
// --ard-badge-medium-rounded-radius: ;
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
border-radius: calc(var(--ard-_badge-size) * 0.25);
|
|
23
|
-
}
|
|
24
|
-
&.ard-variant-sharp {
|
|
25
|
-
border-radius: 0;
|
|
26
|
-
}
|
|
19
|
+
--ard-badge-large-font-size: 0.8125rem;
|
|
20
|
+
// --ard-badge-large-size: ;
|
|
21
|
+
--ard-badge-large-font-weight: 600;
|
|
22
|
+
--ard-badge-large-letter-spacing: 0.2px;
|
|
23
|
+
// --ard-badge-large-rounded-radius: ;
|
|
27
24
|
|
|
28
|
-
|
|
29
|
-
&.ard-badge-hidden {
|
|
30
|
-
display: none;
|
|
25
|
+
--ard-badge-overlap-offset: 0.3em;
|
|
31
26
|
}
|
|
32
27
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
.ard-badge-host {
|
|
29
|
+
position: relative;
|
|
30
|
+
}
|
|
31
|
+
.ard-badge {
|
|
32
|
+
@include CM.typeColors();
|
|
33
|
+
position: absolute;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
pointer-events: none;
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
//! colors
|
|
39
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
40
|
+
color: var(--ard-cmpcl--on-bg-colored);
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
&.ard-badge-size-large {
|
|
53
|
-
--ard-_badge-size: 0.8125rem;
|
|
54
|
-
font-weight: 600;
|
|
55
|
-
letter-spacing: 0.2px;
|
|
56
|
-
}
|
|
42
|
+
//! variants
|
|
43
|
+
&.ard-variant-pill {
|
|
44
|
+
border-radius: 9999px;
|
|
45
|
+
}
|
|
46
|
+
&.ard-variant-rounded {
|
|
47
|
+
border-radius: var(--ard-_badge-radius);
|
|
48
|
+
}
|
|
49
|
+
&.ard-variant-sharp {
|
|
50
|
+
border-radius: 0;
|
|
51
|
+
}
|
|
57
52
|
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
//! hidden
|
|
54
|
+
&.ard-badge-hidden {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
60
57
|
|
|
61
|
-
|
|
62
|
-
--ard-_badge-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
transform: translate(var(--ard-_badge-overlap-offset-x), 50%);
|
|
66
|
-
}
|
|
67
|
-
&.ard-badge-position-above-after {
|
|
68
|
-
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), 50%);
|
|
69
|
-
}
|
|
70
|
-
&.ard-badge-position-below-after {
|
|
71
|
-
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), -50%);
|
|
72
|
-
}
|
|
73
|
-
&.ard-badge-position-below-before {
|
|
74
|
-
transform: translate(var(--ard-_badge-overlap-offset-x), -50%);
|
|
75
|
-
}
|
|
58
|
+
//! sizes
|
|
59
|
+
font-size: var(--ard-_badge-font-size);
|
|
60
|
+
min-width: var(--ard-_badge-size);
|
|
61
|
+
height: var(--ard-_badge-size);
|
|
76
62
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
63
|
+
.ard-badge-content {
|
|
64
|
+
padding: 0 var(--ard-_badge-padding);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.ard-badge-size-small {
|
|
68
|
+
--ard-_badge-font-size: var(--ard-badge-small-font-size, 0.55rem);
|
|
69
|
+
--ard-_badge-size: var(--ard-badge-small-size, calc(var(--ard-badge-small-font-size) * 1.375));
|
|
70
|
+
--ard-_badge-padding: calc(var(--ard-badge-small-font-size) * 0.5);
|
|
71
|
+
--ard-_badge-radius: var(--ard-badge-small-rounded-radius, calc(var(--ard-badge-small-font-size) * 0.25));
|
|
72
|
+
font-weight: var(--ard-badge-small-font-weight, 400);
|
|
73
|
+
letter-spacing: var(--ard-badge-small-letter-spacing, 0.2px);
|
|
74
|
+
}
|
|
75
|
+
&.ard-badge-size-medium {
|
|
76
|
+
--ard-_badge-font-size: var(--ard-badge-medium-font-size, 0.667rem);
|
|
77
|
+
--ard-_badge-size: var(--ard-badge-medium-size, calc(var(--ard-badge-medium-font-size) * 1.375));
|
|
78
|
+
--ard-_badge-padding: calc(var(--ard-badge-medium-font-size) * 0.5);
|
|
79
|
+
--ard-_badge-radius: var(--ard-badge-medium-rounded-radius, calc(var(--ard-badge-medium-font-size) * 0.25));
|
|
80
|
+
font-weight: var(--ard-badge-medium-font-weight, 500);
|
|
81
|
+
letter-spacing: var(--ard-badge-medium-letter-spacing, 0.2px);
|
|
82
|
+
}
|
|
83
|
+
&.ard-badge-size-large {
|
|
84
|
+
--ard-_badge-font-size: var(--ard-badge-large-font-size, 0.8125rem);
|
|
85
|
+
--ard-_badge-size: var(--ard-badge-large-size, calc(var(--ard-badge-large-font-size) * 1.375));
|
|
86
|
+
--ard-_badge-padding: calc(var(--ard-badge-large-font-size) * 0.5);
|
|
87
|
+
--ard-_badge-radius: var(--ard-badge-large-rounded-radius, calc(var(--ard-badge-large-font-size) * 0.25));
|
|
88
|
+
font-weight: var(--ard-badge-large-font-weight, 600);
|
|
89
|
+
letter-spacing: var(--ard-badge-large-letter-spacing, 0.2px);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
//! overlap
|
|
93
|
+
--ard-_badge-overlap-offset-x: var(--ard-badge-overlap-offset, 0.3em);
|
|
94
|
+
|
|
95
|
+
&.ard-badge-overlap {
|
|
96
|
+
--ard-_badge-overlap-offset-x: 50%;
|
|
97
|
+
}
|
|
98
|
+
&.ard-badge-position-above-before {
|
|
99
|
+
transform: translate(var(--ard-_badge-overlap-offset-x), 50%);
|
|
100
|
+
}
|
|
101
|
+
&.ard-badge-position-above-after {
|
|
102
|
+
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), 50%);
|
|
103
|
+
}
|
|
104
|
+
&.ard-badge-position-below-after {
|
|
105
|
+
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), -50%);
|
|
106
|
+
}
|
|
107
|
+
&.ard-badge-position-below-before {
|
|
108
|
+
transform: translate(var(--ard-_badge-overlap-offset-x), -50%);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
//! positions
|
|
112
|
+
&.ard-badge-position-above-before,
|
|
113
|
+
&.ard-badge-position-below-before {
|
|
114
|
+
right: 100%;
|
|
115
|
+
}
|
|
116
|
+
&.ard-badge-position-above-after,
|
|
117
|
+
&.ard-badge-position-below-after {
|
|
118
|
+
left: 100%;
|
|
119
|
+
}
|
|
120
|
+
&.ard-badge-position-below-before,
|
|
121
|
+
&.ard-badge-position-below-after {
|
|
122
|
+
top: 100%;
|
|
123
|
+
}
|
|
124
|
+
&.ard-badge-position-above-before,
|
|
125
|
+
&.ard-badge-position-above-after {
|
|
126
|
+
bottom: 100%;
|
|
127
|
+
}
|
|
93
128
|
}
|
|
94
129
|
}
|
|
@@ -2,42 +2,55 @@
|
|
|
2
2
|
@use '../coloring' as coloringMixins;
|
|
3
3
|
@use '../../variables' as ARD;
|
|
4
4
|
|
|
5
|
-
@mixin button
|
|
5
|
+
@mixin button(
|
|
6
|
+
$margin,
|
|
7
|
+
$padding,
|
|
8
|
+
$font-size,
|
|
9
|
+
$font-weight,
|
|
10
|
+
$hover-opacity,
|
|
11
|
+
$focus-opacity,
|
|
12
|
+
$active-opacity,
|
|
13
|
+
$focus-visible-opacity
|
|
14
|
+
) {
|
|
6
15
|
@include coloringMixins.typeColors();
|
|
7
|
-
font-family:
|
|
8
|
-
margin:
|
|
16
|
+
font-family: var(--ard-font-family);
|
|
17
|
+
margin: $margin;
|
|
18
|
+
padding: $padding;
|
|
9
19
|
border: 1px solid transparent;
|
|
10
|
-
font-weight:
|
|
20
|
+
font-weight: $font-weight;
|
|
21
|
+
font-size: $font-size;
|
|
11
22
|
display: inline-flex;
|
|
12
23
|
align-items: center;
|
|
13
24
|
position: relative;
|
|
14
25
|
cursor: pointer;
|
|
15
26
|
outline: none;
|
|
27
|
+
box-sizing: border-box;
|
|
16
28
|
|
|
17
|
-
//! button icon
|
|
18
|
-
.ard-button-icon {
|
|
19
|
-
@include defaultMixins.icon(1);
|
|
20
|
-
}
|
|
21
29
|
//! button focus inficator
|
|
22
|
-
|
|
30
|
+
&::before {
|
|
31
|
+
content: '';
|
|
23
32
|
@include defaultMixins.focus-overlay;
|
|
24
33
|
background-color: var(--ard-cmpcl--overlay);
|
|
25
34
|
}
|
|
26
|
-
&:hover
|
|
35
|
+
&:hover {
|
|
36
|
+
&::before {
|
|
37
|
+
opacity: $hover-opacity;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
27
40
|
&:focus {
|
|
28
|
-
|
|
29
|
-
opacity:
|
|
41
|
+
&::before {
|
|
42
|
+
opacity: $focus-opacity;
|
|
30
43
|
}
|
|
31
44
|
}
|
|
32
45
|
&.ard-active,
|
|
33
46
|
&:active {
|
|
34
|
-
|
|
35
|
-
opacity:
|
|
47
|
+
&::before {
|
|
48
|
+
opacity: $active-opacity;
|
|
36
49
|
}
|
|
37
50
|
}
|
|
38
51
|
&:focus-visible {
|
|
39
|
-
|
|
40
|
-
opacity:
|
|
52
|
+
&::before {
|
|
53
|
+
opacity: $focus-visible-opacity;
|
|
41
54
|
}
|
|
42
55
|
}
|
|
43
56
|
//! button appearances
|
|
@@ -47,7 +60,7 @@
|
|
|
47
60
|
color: var(--ard-cmpcl--content);
|
|
48
61
|
border: none;
|
|
49
62
|
|
|
50
|
-
|
|
63
|
+
&::before {
|
|
51
64
|
background: var(--ard-cmpcl--overlay-colored);
|
|
52
65
|
}
|
|
53
66
|
}
|
|
@@ -70,7 +83,7 @@
|
|
|
70
83
|
color: var(--ard-cmpcl--content);
|
|
71
84
|
border: 1px solid ARD.$border-light;
|
|
72
85
|
|
|
73
|
-
|
|
86
|
+
&::before {
|
|
74
87
|
background: var(--ard-cmpcl--overlay-colored);
|
|
75
88
|
}
|
|
76
89
|
}
|
|
@@ -79,13 +92,11 @@
|
|
|
79
92
|
color: var(--ard-cmpcl--content);
|
|
80
93
|
border: 1px solid ARD.$border-light;
|
|
81
94
|
|
|
82
|
-
|
|
95
|
+
&::before {
|
|
83
96
|
display: none;
|
|
84
97
|
}
|
|
85
98
|
|
|
86
|
-
transition:
|
|
87
|
-
background-color 0.2s ease,
|
|
88
|
-
color 0.2s ease;
|
|
99
|
+
transition: background-color 0.2s ease, color 0.2s ease;
|
|
89
100
|
&:hover,
|
|
90
101
|
&:focus-visible {
|
|
91
102
|
background: var(--ard-cmpcl--bg-colored);
|
|
@@ -94,11 +105,11 @@
|
|
|
94
105
|
}
|
|
95
106
|
&.ard-appearance-flat,
|
|
96
107
|
&.ard-appearance-raised-strong {
|
|
97
|
-
background: var(--ard-cmpcl--bg);
|
|
98
|
-
color: var(--ard-cmpcl--on-bg);
|
|
99
|
-
border:
|
|
108
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
109
|
+
color: var(--ard-cmpcl--on-bg-colored);
|
|
110
|
+
border: 1px solid var(--ard-cmpcl--bg-colored);
|
|
100
111
|
|
|
101
|
-
|
|
112
|
+
&::before {
|
|
102
113
|
background: var(--ard-cmpcl--on-bg);
|
|
103
114
|
}
|
|
104
115
|
&:focus-visible {
|
|
@@ -109,20 +120,20 @@
|
|
|
109
120
|
&.ard-appearance-transparent.ard-light-coloring {
|
|
110
121
|
color: var(--ard-cmpcl--content-light);
|
|
111
122
|
|
|
112
|
-
|
|
123
|
+
&::before {
|
|
113
124
|
background: var(--ard-cmpcl--overlay-colored-light);
|
|
114
125
|
}
|
|
115
126
|
}
|
|
116
127
|
}
|
|
117
128
|
|
|
118
129
|
//! disabled state
|
|
119
|
-
@mixin button-disabled {
|
|
130
|
+
@mixin button-disabled($opacity, $overlay-opacity) {
|
|
120
131
|
pointer-events: none;
|
|
121
|
-
opacity:
|
|
132
|
+
opacity: $opacity;
|
|
122
133
|
cursor: not-allowed;
|
|
123
134
|
|
|
124
|
-
|
|
125
|
-
opacity:
|
|
135
|
+
&::before {
|
|
136
|
+
opacity: $overlay-opacity;
|
|
126
137
|
transform: scale(1);
|
|
127
138
|
}
|
|
128
139
|
|
|
@@ -130,9 +141,9 @@
|
|
|
130
141
|
&.ard-color-none {
|
|
131
142
|
.ard-button-icon,
|
|
132
143
|
.ard-button-content {
|
|
133
|
-
opacity:
|
|
144
|
+
opacity: $opacity;
|
|
134
145
|
}
|
|
135
|
-
|
|
146
|
+
&::before {
|
|
136
147
|
background: var(--ard-cmpcl--overlay);
|
|
137
148
|
}
|
|
138
149
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@layer ard-ui {
|
|
2
|
+
:root {
|
|
3
|
+
--ard-button-group-gap: 0.5rem;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
ard-button-group {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
|
|
10
|
+
&:has(> ard-button-group) {
|
|
11
|
+
gap: var(--ard-button-group-gap, 0.5rem);
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
> .ard-divider.ard-divider {
|
|
16
|
+
margin: 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|