@ardium-ui/ui 5.0.0-alpha.9 → 5.0.0-alpha.90
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 +5072 -2571
- 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 +2 -1
- package/lib/_internal/focusable-component.d.ts +2 -1
- package/lib/_internal/form-field-component.d.ts +3 -2
- 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 +6 -6
- package/lib/_internal/utils/date.utils.d.ts +16 -0
- package/lib/badge/badge.directive.d.ts +3 -2
- 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 +12 -8
- package/lib/buttons/_button-base.defaults.d.ts +3 -2
- package/lib/buttons/button/button.component.d.ts +5 -5
- package/lib/buttons/button/button.defaults.d.ts +0 -2
- package/lib/buttons/button/button.directive.d.ts +17 -0
- package/lib/buttons/button/button.module.d.ts +3 -2
- package/lib/buttons/button/index.d.ts +1 -0
- package/lib/buttons/fab/fab.component.d.ts +3 -1
- package/lib/buttons/icon-button/icon-button.component.d.ts +6 -4
- package/lib/buttons/icon-button/icon-button.defaults.d.ts +2 -1
- package/lib/calendar/abstract-calendar.d.ts +128 -0
- package/lib/calendar/calendar.component.d.ts +8 -96
- 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 +21 -5
- package/lib/calendar/index.d.ts +3 -0
- package/lib/calendar/range-calendar.component.d.ts +16 -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 +9 -7
- 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/chip.component.d.ts +2 -1
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +2 -1
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +5 -2
- package/lib/dialog/dialog.component.d.ts +13 -8
- package/lib/dialog/dialog.types.d.ts +1 -0
- package/lib/divider/divider.component.d.ts +2 -3
- 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.component.d.ts +2 -1
- package/lib/dropdown-panel/dropdown-panel.types.d.ts +1 -1
- package/lib/file-inputs/file-input/file-input.component.d.ts +2 -1
- package/lib/file-inputs/file-input-base.d.ts +4 -5
- 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.directive.d.ts +3 -2
- package/lib/form-field/form-field-base.d.ts +5 -2
- package/lib/form-field/form-field-child.token.d.ts +5 -5
- package/lib/form-field/form-field-native-inputs.d.ts +6 -11
- 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/hint/hint.directive.d.ts +3 -2
- package/lib/form-field/hint-error/hint-error.directive.d.ts +3 -2
- 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/label/label.component.d.ts +3 -2
- package/lib/form-field-frame/form-field-frame.component.d.ts +5 -3
- package/lib/grid/grid.component.d.ts +51 -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/icon/icon.component.d.ts +2 -1
- package/lib/inputs/_simple-input-base.d.ts +9 -4
- package/lib/inputs/autocomplete-input/autocomplete-input.component.d.ts +5 -4
- package/lib/inputs/date-input/abstract-date-input.d.ts +112 -0
- package/lib/inputs/date-input/date-input.component.d.ts +19 -81
- 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 +30 -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 +45 -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/digit-input/digit-input.component.d.ts +4 -3
- package/lib/inputs/hex-input/hex-input.component.d.ts +5 -5
- 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 +20 -13
- 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 +6 -5
- package/lib/kbd/kbd.component.d.ts +2 -1
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +2 -1
- package/lib/modal/modal.component.d.ts +9 -6
- package/lib/modal/modal.defaults.d.ts +2 -0
- package/lib/option/option.component.d.ts +2 -1
- package/lib/progress-bar/progress-bar.component.d.ts +4 -3
- package/lib/progress-circle/progress-circle.component.d.ts +5 -4
- package/lib/radio/radio/radio.component.d.ts +8 -3
- package/lib/radio/radio-group.component.d.ts +2 -2
- package/lib/search-functions.d.ts +1 -1
- package/lib/segment/segment.component.d.ts +6 -5
- package/lib/select/select.component.d.ts +45 -39
- 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 +37 -29
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +12 -9
- 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/star/rating-display/rating-display.component.d.ts +2 -1
- package/lib/star/rating-input/rating-input.component.d.ts +5 -3
- 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 +16 -8
- package/lib/tabber/tabber.component.d.ts +25 -9
- 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/table/table.component.d.ts +16 -15
- package/lib/table-pagination/table-pagination.component.d.ts +4 -3
- package/lib/text-list/text-list.component.d.ts +2 -1
- 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.css +324 -301
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +317 -299
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +299 -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 +89 -62
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +349 -362
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +412 -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 +108 -86
- 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 -98
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +148 -118
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +183 -132
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +99 -137
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +134 -63
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +120 -110
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +385 -325
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +150 -117
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +137 -107
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +213 -164
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +120 -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 -71
- 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 +246 -223
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +432 -414
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +302 -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 +399 -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 +271 -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 +2 -1
- package/themes/_variables.scss +2 -1
- package/themes/default/_coloring.scss +7 -0
- package/themes/default/_mixins.scss +5 -5
- package/themes/default/badge.scss +115 -80
- package/themes/default/buttons/_button-mixins.scss +43 -33
- package/themes/default/buttons/button.scss +90 -63
- package/themes/default/buttons/fab.scss +74 -49
- package/themes/default/buttons/icon-button.scss +70 -45
- package/themes/default/calendar.scss +257 -163
- package/themes/default/card.scss +167 -121
- package/themes/default/checkbox-list.scss +90 -62
- package/themes/default/checkbox.scss +64 -91
- package/themes/default/chips.scss +203 -143
- package/themes/default/color-display.scss +40 -28
- package/themes/default/color-picker.scss +95 -93
- package/themes/default/core.scss +123 -97
- 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 +73 -63
- package/themes/default/form-field.scss +136 -98
- package/themes/default/inputs/_shared.scss +52 -12
- package/themes/default/inputs/autocomplete-input.scss +102 -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 +103 -79
- package/themes/default/inputs/file-input.scss +160 -81
- package/themes/default/inputs/hex-input.scss +68 -16
- package/themes/default/inputs/input.scss +55 -6
- package/themes/default/inputs/number-input.scss +164 -92
- package/themes/default/inputs/password-input.scss +100 -29
- package/themes/default/kbd-shortcut.scss +16 -8
- package/themes/default/kbd.scss +35 -16
- package/themes/default/modal.scss +109 -73
- package/themes/default/progress-bar.scss +126 -102
- package/themes/default/progress-circle.scss +49 -41
- package/themes/default/radio.scss +110 -87
- package/themes/default/segment.scss +282 -267
- package/themes/default/select.scss +255 -197
- package/themes/default/slide-toggle.scss +193 -116
- package/themes/default/slider.scss +230 -187
- package/themes/default/snackbar.scss +52 -32
- package/themes/default/spinner.scss +24 -14
- package/themes/default/stars.scss +99 -68
- 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
|
@@ -2,84 +2,115 @@
|
|
|
2
2
|
@use './coloring' as coloringMixins;
|
|
3
3
|
@use '../variables' as ARD;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
color: var(--ard-cmpcl--bg-colored);
|
|
5
|
+
@layer ard-ui {
|
|
6
|
+
// the variables are commented out intentionally
|
|
7
|
+
// read more in docs/dev/css-variables.md
|
|
8
|
+
:root {
|
|
9
|
+
--ard-star-size: 1.5em;
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
height: 1.5em;
|
|
20
|
-
position: relative;
|
|
21
|
-
}
|
|
22
|
-
.ard-rating-display,
|
|
23
|
-
.ard-rating-input {
|
|
24
|
-
display: flex;
|
|
25
|
-
user-select: none;
|
|
26
|
-
}
|
|
27
|
-
.ard-rating-input {
|
|
28
|
-
cursor: pointer;
|
|
11
|
+
--ard-star-button-hitbox-offset: -4px;
|
|
12
|
+
--ard-star-button-overlay-offset: -0.125em;
|
|
13
|
+
--ard-star-button-hover-overlay-opacity: 10%;
|
|
14
|
+
--ard-star-button-focus-overlay-opacity: 0;
|
|
15
|
+
--ard-star-button-focus-visible-overlay-opacity: 10%;
|
|
16
|
+
--ard-star-button-active-overlay-opacity: 20%;
|
|
17
|
+
--ard-star-button-disabled-opacity: 50%;
|
|
29
18
|
|
|
30
|
-
|
|
31
|
-
opacity: 50%;
|
|
19
|
+
--ard-rating-input-not-in-value-opacity: 50%;
|
|
20
|
+
--ard-rating-input-disabled-opacity: 50%;
|
|
32
21
|
}
|
|
33
|
-
}
|
|
34
|
-
.ard-star-button {
|
|
35
|
-
position: relative;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
user-select: none;
|
|
38
|
-
font-size: inherit;
|
|
39
|
-
width: max-content;
|
|
40
|
-
height: max-content;
|
|
41
|
-
padding: 0;
|
|
42
|
-
display: flex;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
align-items: center;
|
|
45
|
-
outline: none;
|
|
46
22
|
|
|
47
|
-
.ard-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
23
|
+
.ard-star,
|
|
24
|
+
.ard-star-button,
|
|
25
|
+
.ard-rating-display,
|
|
26
|
+
.ard-rating-input {
|
|
27
|
+
@include coloringMixins.typeColors();
|
|
28
|
+
color: var(--ard-cmpcl--bg-colored);
|
|
54
29
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
left: -0.125em;
|
|
59
|
-
right: -0.125em;
|
|
60
|
-
bottom: -0.125em;
|
|
61
|
-
top: -0.125em;
|
|
62
|
-
border-radius: 999px;
|
|
63
|
-
background: currentColor;
|
|
30
|
+
&.ard-color-gold {
|
|
31
|
+
color: ARD.$gold;
|
|
32
|
+
}
|
|
64
33
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
34
|
+
.ard-star {
|
|
35
|
+
font-size: inherit;
|
|
36
|
+
width: var(--ard-star-size, 1.5em);
|
|
37
|
+
height: var(--ard-star-size, 1.5em);
|
|
38
|
+
position: relative;
|
|
39
|
+
}
|
|
40
|
+
.ard-rating-display,
|
|
41
|
+
.ard-rating-input {
|
|
42
|
+
display: flex;
|
|
43
|
+
user-select: none;
|
|
44
|
+
}
|
|
45
|
+
.ard-rating-input {
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
|
|
48
|
+
.ard-star-not-in-value {
|
|
49
|
+
opacity: var(--ard-rating-input-not-in-value-opacity, 50%);
|
|
70
50
|
}
|
|
71
51
|
}
|
|
72
|
-
|
|
52
|
+
.ard-star-button {
|
|
53
|
+
position: relative;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
user-select: none;
|
|
56
|
+
font-size: inherit;
|
|
57
|
+
width: max-content;
|
|
58
|
+
height: max-content;
|
|
59
|
+
padding: 0;
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
align-items: center;
|
|
63
|
+
outline: none;
|
|
64
|
+
|
|
65
|
+
.ard-hitbox {
|
|
66
|
+
position: absolute;
|
|
67
|
+
left: var(--ard-star-button-hitbox-offset, -4px);
|
|
68
|
+
right: var(--ard-star-button-hitbox-offset, -4px);
|
|
69
|
+
bottom: var(--ard-star-button-hitbox-offset, -4px);
|
|
70
|
+
top: var(--ard-star-button-hitbox-offset, -4px);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
73
|
.ard-focus-overlay {
|
|
74
|
-
|
|
74
|
+
@include defaultMixins.focus-overlay;
|
|
75
|
+
position: absolute;
|
|
76
|
+
left: var(--ard-star-button-overlay-offset, -0.125em);
|
|
77
|
+
right: var(--ard-star-button-overlay-offset, -0.125em);
|
|
78
|
+
bottom: var(--ard-star-button-overlay-offset, -0.125em);
|
|
79
|
+
top: var(--ard-star-button-overlay-offset, -0.125em);
|
|
80
|
+
border-radius: 999px;
|
|
81
|
+
background: currentColor;
|
|
82
|
+
}
|
|
83
|
+
@include defaultMixins.focus-overlay-scale-addon();
|
|
84
|
+
&:hover {
|
|
85
|
+
.ard-focus-overlay {
|
|
86
|
+
opacity: var(--ard-star-button-hover-overlay-opacity, 10%);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
&:focus {
|
|
90
|
+
.ard-focus-overlay {
|
|
91
|
+
opacity: var(--ard-star-button-focus-overlay-opacity, 0%);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
&:focus-visible {
|
|
95
|
+
.ard-focus-overlay {
|
|
96
|
+
opacity: var(--ard-star-button-focus-visible-overlay-opacity, 10%);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
&:active {
|
|
100
|
+
.ard-focus-overlay {
|
|
101
|
+
opacity: var(--ard-star-button-active-overlay-opacity, 20%);
|
|
102
|
+
}
|
|
75
103
|
}
|
|
76
104
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.ard-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
105
|
+
//! disabled state for star-button
|
|
106
|
+
.ard-disabled {
|
|
107
|
+
> .ard-star-button {
|
|
108
|
+
pointer-events: none;
|
|
109
|
+
opacity: var(--ard-star-button-disabled-opacity, 50%);
|
|
110
|
+
}
|
|
111
|
+
> .ard-rating-input {
|
|
112
|
+
pointer-events: none;
|
|
113
|
+
opacity: var(--ard-rating-input-disabled-opacity, 50%);
|
|
114
|
+
}
|
|
84
115
|
}
|
|
85
116
|
}
|
|
@@ -1,87 +1,129 @@
|
|
|
1
1
|
@use './coloring' as CM;
|
|
2
2
|
@use './mixins' as M;
|
|
3
|
-
@use '../variables' as ARD;
|
|
4
3
|
|
|
5
|
-
ard-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
@layer ard-ui {
|
|
5
|
+
// the variables are commented out intentionally
|
|
6
|
+
// read more in docs/dev/css-variables.md
|
|
7
|
+
:root {
|
|
8
|
+
--ard-tabber-tab-height: 2.5em;
|
|
9
|
+
--ard-tabber-tab-font-size: 0.875rem;
|
|
10
|
+
--ard-tabber-tab-font-weight: 500;
|
|
11
|
+
--ard-tabber-tab-border: none;
|
|
12
|
+
--ard-tabber-tab-background: none;
|
|
13
|
+
--ard-tabber-tab-padding: 0 1.5rem;
|
|
14
|
+
--ard-tabber-tab-gap: 0;
|
|
15
|
+
--ard-tabber-tab-content-gap: 0.375rem;
|
|
16
|
+
--ard-tabber-separator-border: 1px solid var(--ard-detail-ultralight, rgba(0, 0, 0, 12%));
|
|
17
|
+
// --ard-tabber-tab-overlay-color: ;
|
|
18
|
+
--ard-tabber-tab-hover-overlay-opacity: 4%;
|
|
19
|
+
--ard-tabber-tab-active-overlay-opacity: 12%;
|
|
20
|
+
--ard-tabber-tab-focus-visible-overlay-opacity: 18%;
|
|
21
|
+
--ard-tabber-tab-disabled-overlay-opacity: 0%;
|
|
22
|
+
--ard-tabber-tab-disabled-opacity: 50%;
|
|
23
|
+
}
|
|
17
24
|
|
|
18
|
-
|
|
25
|
+
ard-tabber {
|
|
19
26
|
max-width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ard-tabber {
|
|
30
|
+
@include CM.typeColors();
|
|
31
|
+
height: max-content;
|
|
32
|
+
width: 100%;
|
|
20
33
|
display: flex;
|
|
21
|
-
flex-
|
|
22
|
-
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
align-items: stretch;
|
|
36
|
+
font-family: var(--ard-font-family);
|
|
23
37
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
&.ard-tab-align-right {
|
|
31
|
-
justify-content: right;
|
|
32
|
-
}
|
|
33
|
-
&.ard-stretch-tabs {
|
|
34
|
-
justify-content: stretch;
|
|
38
|
+
.ard-tabber-tabs {
|
|
39
|
+
max-width: 100%;
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-wrap: wrap;
|
|
42
|
+
gap: var(--ard-tabber-tab-gap, 0);
|
|
43
|
+
border-bottom: var(--ard-tabber-separator-border, 1px solid var(--ard-detail-ultralight, rgba(0, 0, 0, 12%)));
|
|
35
44
|
|
|
36
|
-
|
|
37
|
-
|
|
45
|
+
&.ard-tab-align-left {
|
|
46
|
+
justify-content: left;
|
|
38
47
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
font-weight: 500;
|
|
45
|
-
position: relative;
|
|
46
|
-
border: none;
|
|
47
|
-
background: none;
|
|
48
|
-
padding: 0 1.5rem;
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
outline: none;
|
|
51
|
-
font-family: inherit;
|
|
52
|
-
|
|
53
|
-
.ard-focus-overlay {
|
|
54
|
-
@include M.focus-overlay();
|
|
55
|
-
background: ARD.$bg-alt;
|
|
48
|
+
&.ard-tab-align-center {
|
|
49
|
+
justify-content: center;
|
|
50
|
+
}
|
|
51
|
+
&.ard-tab-align-right {
|
|
52
|
+
justify-content: right;
|
|
56
53
|
}
|
|
54
|
+
&.ard-stretch-tabs {
|
|
55
|
+
justify-content: stretch;
|
|
57
56
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
.ard-focus-overlay {
|
|
61
|
-
opacity: 4%;
|
|
57
|
+
.ard-tab-button {
|
|
58
|
+
flex-grow: 1;
|
|
62
59
|
}
|
|
63
60
|
}
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
|
|
62
|
+
.ard-tab-button {
|
|
63
|
+
height: var(--ard-tabber-tab-height, 2.5em);
|
|
64
|
+
font-size: var(--ard-tabber-tab-font-size, 0.875rem);
|
|
65
|
+
font-weight: var(--ard-tabber-tab-font-weight, 500);
|
|
66
|
+
position: relative;
|
|
67
|
+
border: var(--ard-tabber-tab-border, none);
|
|
68
|
+
background: var(--ard-tabber-tab-background, none);
|
|
69
|
+
padding: var(--ard-tabber-tab-padding, 0 1.5rem);
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
outline: none;
|
|
72
|
+
font-family: inherit;
|
|
73
|
+
|
|
66
74
|
.ard-focus-overlay {
|
|
67
|
-
|
|
75
|
+
@include M.focus-overlay();
|
|
76
|
+
background: var(--ard-tabber-tab-overlay-color, var(--ard-bg-alt, black));
|
|
68
77
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
78
|
+
.ard-button-content {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
height: 100%;
|
|
83
|
+
gap: var(--ard-tabber-tab-content-gap, 0.375rem);
|
|
73
84
|
}
|
|
74
|
-
}
|
|
75
85
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
86
|
+
&:hover,
|
|
87
|
+
&:focus {
|
|
88
|
+
.ard-focus-overlay {
|
|
89
|
+
opacity: var(--ard-tabber-tab-hover-overlay-opacity, 4%);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
&.ard-active,
|
|
93
|
+
&:active {
|
|
94
|
+
.ard-focus-overlay {
|
|
95
|
+
opacity: var(--ard-tabber-tab-active-overlay-opacity, 12%);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
&:focus-visible {
|
|
99
|
+
.ard-focus-overlay {
|
|
100
|
+
opacity: var(--ard-tabber-tab-focus-visible-overlay-opacity, 18%);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.ard-tab-active {
|
|
105
|
+
&::after {
|
|
106
|
+
content: '';
|
|
107
|
+
position: absolute;
|
|
108
|
+
left: 0;
|
|
109
|
+
right: 0;
|
|
110
|
+
bottom: 0;
|
|
111
|
+
height: 2px;
|
|
112
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.ard-tab-disabled {
|
|
117
|
+
opacity: var(--ard-tabber-tab-disabled-opacity);
|
|
118
|
+
pointer-events: none;
|
|
119
|
+
|
|
120
|
+
.ard-focus-overlay {
|
|
121
|
+
opacity: var(--ard-tabber-tab-disabled-overlay-opacity, 18%);
|
|
122
|
+
}
|
|
123
|
+
&.ard-tab-with-pointer-events-when-disabled {
|
|
124
|
+
pointer-events: all;
|
|
125
|
+
cursor: not-allowed;
|
|
126
|
+
}
|
|
85
127
|
}
|
|
86
128
|
}
|
|
87
129
|
}
|
|
@@ -1,56 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
@layer ard-ui {
|
|
2
|
+
// the variables are commented out intentionally
|
|
3
|
+
// read more in docs/dev/css-variables.md
|
|
4
|
+
:root {
|
|
5
|
+
--ard-table-pagination-height: 2.9375rem;
|
|
6
|
+
--ard-table-pagination-gap: 2rem;
|
|
7
|
+
--ard-table-pagination-padding: 0 0.5rem 0 1rem;
|
|
8
|
+
--ard-table-pagination-items-per-page-gap: 0.5rem;
|
|
9
|
+
--ard-table-pagination-current-page-gap: 1.25rem;
|
|
10
|
+
--ard-table-pagination-height-compact: 2.1875rem;
|
|
11
|
+
--ard-table-pagination-font-size-compact: 0.875rem;
|
|
12
|
+
--ard-table-pagination-select-padding-left: 0.875em;
|
|
13
|
+
--ard-table-pagination-disabled-text-opacity: 50%;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
.ard-pagination {
|
|
17
|
+
height: var(--ard-table-pagination-height, 2.9375rem);
|
|
18
|
+
width: 100%;
|
|
16
19
|
display: flex;
|
|
17
20
|
align-items: center;
|
|
18
|
-
gap:
|
|
19
|
-
|
|
21
|
+
gap: var(--ard-table-pagination-gap, 2rem);
|
|
22
|
+
padding: var(--ard-table-pagination-padding, 0 0.5rem 0 1rem);
|
|
23
|
+
box-sizing: border-box;
|
|
20
24
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
.ard-pagination__items-per-page {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
gap: var(--ard-table-pagination-items-per-page-gap, 0.5rem);
|
|
29
|
+
}
|
|
30
|
+
.ard-pagination__current-page {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: var(--ard-table-pagination-current-page-gap, 1.25rem);
|
|
34
|
+
}
|
|
26
35
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
justify-content: center;
|
|
33
|
-
}
|
|
34
|
-
&.ard-align-right {
|
|
35
|
-
justify-content: flex-end;
|
|
36
|
-
}
|
|
37
|
-
&.ard-align-split {
|
|
38
|
-
justify-content: space-between;
|
|
39
|
-
}
|
|
36
|
+
//! compact
|
|
37
|
+
&.ard-compact {
|
|
38
|
+
height: var(--ard-table-pagination-height-compact, 2.1875rem);
|
|
39
|
+
font-size: var(--ard-table-pagination-font-size-compact, 0.875rem);
|
|
40
|
+
}
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
//! aligns
|
|
43
|
+
&.ard-align-left {
|
|
44
|
+
justify-content: flex-start;
|
|
45
|
+
}
|
|
46
|
+
&.ard-align-center {
|
|
47
|
+
justify-content: center;
|
|
48
|
+
}
|
|
49
|
+
&.ard-align-right {
|
|
50
|
+
justify-content: flex-end;
|
|
51
|
+
}
|
|
52
|
+
&.ard-align-split {
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
//! style overrides
|
|
57
|
+
.ard-select {
|
|
58
|
+
padding-left: var(--ard-table-pagination-select-padding-left, 0.875em);
|
|
59
|
+
}
|
|
44
60
|
}
|
|
45
|
-
}
|
|
46
61
|
|
|
47
|
-
.ard-disabled {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
62
|
+
.ard-disabled {
|
|
63
|
+
.ard-pagination {
|
|
64
|
+
pointer-events: none;
|
|
65
|
+
user-select: none;
|
|
51
66
|
|
|
52
|
-
|
|
53
|
-
|
|
67
|
+
.ard-pagination__text {
|
|
68
|
+
opacity: var(--ard-table-pagination-disabled-text-opacity, 50%);
|
|
69
|
+
}
|
|
54
70
|
}
|
|
55
71
|
}
|
|
56
72
|
}
|