@ardium-ui/ui 5.0.0-alpha.7 → 5.0.0-alpha.71
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 +4707 -2272
- 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 +19 -19
- 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 +5 -8
- 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 +4 -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 +6 -3
- 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 +4 -3
- package/lib/inputs/input-utils.d.ts +13 -2
- package/lib/inputs/number-input/number-input.component.d.ts +20 -12
- 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 +5 -3
- 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/search-functions.d.ts +1 -1
- package/lib/segment/segment.component.d.ts +6 -5
- package/lib/select/select.component.d.ts +40 -30
- package/lib/select/select.defaults.d.ts +10 -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/select/select.utils.d.ts +2 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +2 -0
- package/lib/slider/abstract-slider.d.ts +35 -29
- 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/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 +17 -18
- package/package.json +3 -2
- package/prebuilt-themes/default/badge.css +37 -15
- package/prebuilt-themes/default/badge.css.map +1 -1
- package/prebuilt-themes/default/buttons/button.css +74 -58
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +64 -51
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +50 -44
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +131 -55
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css +56 -24
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +48 -22
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +31 -58
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +75 -43
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +15 -8
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/core.css +21 -1
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css +7 -2
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css +82 -6
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css +16 -8
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css +81 -35
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +18 -14
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +62 -29
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +79 -28
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +5 -44
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +97 -25
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +31 -19
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +117 -62
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +55 -23
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +47 -18
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +83 -33
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +74 -25
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +8 -4
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css +19 -9
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +46 -22
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css +13 -7
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +46 -28
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +71 -61
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +78 -44
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +88 -37
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +93 -52
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +29 -16
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +9 -3
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css +42 -20
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +53 -17
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css +21 -9
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css +93 -69
- 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/_mixins.scss +5 -5
- package/themes/default/badge.scss +48 -15
- package/themes/default/buttons/_button-mixins.scss +43 -33
- package/themes/default/buttons/button.scss +54 -29
- package/themes/default/buttons/fab.scss +47 -26
- package/themes/default/buttons/icon-button.scss +40 -17
- package/themes/default/calendar.scss +148 -58
- package/themes/default/card.scss +68 -24
- package/themes/default/checkbox-list.scss +47 -21
- package/themes/default/checkbox.scss +30 -59
- package/themes/default/chips.scss +71 -40
- package/themes/default/color-display.scss +18 -8
- package/themes/default/core.scss +24 -1
- package/themes/default/dialog.scss +9 -2
- package/themes/default/divider.scss +106 -6
- package/themes/default/dropdown-panel.scss +21 -8
- package/themes/default/file-drop-area.scss +92 -35
- package/themes/default/form-field-frame.scss +23 -15
- package/themes/default/form-field.scss +64 -28
- package/themes/default/inputs/_shared.scss +52 -12
- package/themes/default/inputs/autocomplete-input.scss +83 -14
- package/themes/default/inputs/color-input.scss +2 -2
- package/themes/default/inputs/date-input.scss +74 -6
- package/themes/default/inputs/digit-input.scss +42 -20
- package/themes/default/inputs/file-input.scss +100 -23
- package/themes/default/inputs/hex-input.scss +59 -9
- package/themes/default/inputs/input.scss +51 -4
- package/themes/default/inputs/number-input.scss +94 -24
- package/themes/default/inputs/password-input.scss +84 -15
- package/themes/default/kbd-shortcut.scss +10 -4
- package/themes/default/kbd.scss +26 -9
- package/themes/default/modal.scss +56 -22
- package/themes/default/progress-circle.scss +16 -10
- package/themes/default/radio.scss +47 -26
- package/themes/default/segment.scss +77 -67
- package/themes/default/select.scss +98 -42
- package/themes/default/slide-toggle.scss +134 -59
- package/themes/default/slider.scss +102 -65
- package/themes/default/snackbar.scss +32 -14
- package/themes/default/spinner.scss +11 -3
- package/themes/default/stars.scss +45 -16
- package/themes/default/tabber.scss +54 -14
- package/themes/default/table-pagination.scss +24 -9
- package/themes/default/table.scss +104 -70
- 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,183 +0,0 @@
|
|
|
1
|
-
@use './dropdown-arrow.scss' as DA;
|
|
2
|
-
@use './mixins.scss' as DM;
|
|
3
|
-
@use './coloring.scss' as CM;
|
|
4
|
-
@use '../variables' as ARD;
|
|
5
|
-
|
|
6
|
-
.ard-calendar {
|
|
7
|
-
@include CM.typeColors();
|
|
8
|
-
width: 18.5rem;
|
|
9
|
-
background: ARD.$bg;
|
|
10
|
-
user-select: none;
|
|
11
|
-
|
|
12
|
-
.ard-calendar-header-container {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: stretch;
|
|
16
|
-
|
|
17
|
-
.ard-calendar-days-view-header {
|
|
18
|
-
width: 100%;
|
|
19
|
-
display: flex;
|
|
20
|
-
justify-content: space-between;
|
|
21
|
-
|
|
22
|
-
.ard-calendar-header-button .ard-button-content {
|
|
23
|
-
display: flex;
|
|
24
|
-
gap: 0.375rem;
|
|
25
|
-
align-items: center;
|
|
26
|
-
|
|
27
|
-
.ard-dropdown-arrow {
|
|
28
|
-
@include DA.dropdown-arrow();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
.ard-calendar-arrows {
|
|
32
|
-
display: flex;
|
|
33
|
-
gap: 0.375rem;
|
|
34
|
-
|
|
35
|
-
> ard-fab {
|
|
36
|
-
margin: 0;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
//! main container
|
|
42
|
-
.ard-calendar-main-container {
|
|
43
|
-
padding: 0.375rem;
|
|
44
|
-
padding-top: 0;
|
|
45
|
-
}
|
|
46
|
-
//! calendar entries
|
|
47
|
-
.ard-calendar-entry {
|
|
48
|
-
z-index: 1;
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
outline: none;
|
|
51
|
-
|
|
52
|
-
.ard-calendar-entry-button {
|
|
53
|
-
$_margin: 0.125rem;
|
|
54
|
-
background: transparent;
|
|
55
|
-
border: 1px solid transparent;
|
|
56
|
-
width: calc(100% - #{$_margin * 2});
|
|
57
|
-
height: calc(100% - #{$_margin * 2});
|
|
58
|
-
padding: 0;
|
|
59
|
-
position: relative;
|
|
60
|
-
border-radius: 9999px;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
margin: $_margin;
|
|
63
|
-
|
|
64
|
-
.ard-focus-overlay {
|
|
65
|
-
@include DM.focus-overlay();
|
|
66
|
-
z-index: -1;
|
|
67
|
-
background: var(--ard-cmpcl--bg-colored);
|
|
68
|
-
border: 2px solid transparent;
|
|
69
|
-
transition:
|
|
70
|
-
border-color 0.2s ease,
|
|
71
|
-
opacity 0.2s ease;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
&.ard-calendar-entry-empty {
|
|
75
|
-
cursor: default;
|
|
76
|
-
pointer-events: none;
|
|
77
|
-
}
|
|
78
|
-
&.ard-calendar-today {
|
|
79
|
-
.ard-calendar-entry-button {
|
|
80
|
-
border-color: ARD.$detail;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
&.ard-calendar-entry-highlighted {
|
|
84
|
-
.ard-focus-overlay {
|
|
85
|
-
opacity: 20%;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
&.ard-calendar-entry-selected {
|
|
89
|
-
.ard-calendar-entry-button {
|
|
90
|
-
color: var(--ard-cmpcl--on-bg-colored);
|
|
91
|
-
}
|
|
92
|
-
.ard-focus-overlay {
|
|
93
|
-
opacity: 100%;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&.ard-calendar-today {
|
|
97
|
-
.ard-focus-overlay {
|
|
98
|
-
border-color: ARD.$bg;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
//! days view
|
|
104
|
-
.ard-calendar-grid {
|
|
105
|
-
display: grid;
|
|
106
|
-
grid-template-columns: repeat(7, 1fr);
|
|
107
|
-
|
|
108
|
-
> * {
|
|
109
|
-
max-width: 100%;
|
|
110
|
-
box-sizing: border-box;
|
|
111
|
-
aspect-ratio: 1;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
.ard-calendar-day-labels {
|
|
115
|
-
font-size: 0.8125rem;
|
|
116
|
-
color: ARD.$text3;
|
|
117
|
-
height: 1.25rem;
|
|
118
|
-
position: relative;
|
|
119
|
-
|
|
120
|
-
> * {
|
|
121
|
-
display: flex;
|
|
122
|
-
align-items: center;
|
|
123
|
-
justify-content: center;
|
|
124
|
-
aspect-ratio: unset;
|
|
125
|
-
}
|
|
126
|
-
&::after {
|
|
127
|
-
content: '';
|
|
128
|
-
position: absolute;
|
|
129
|
-
width: 100%;
|
|
130
|
-
height: 1px;
|
|
131
|
-
background: ARD.$detail-ultralight;
|
|
132
|
-
bottom: 0;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
.ard-calendar-main-grid {
|
|
136
|
-
position: relative;
|
|
137
|
-
|
|
138
|
-
&.ard-reserve-top-row {
|
|
139
|
-
padding-top: 100% / 7;
|
|
140
|
-
}
|
|
141
|
-
.ard-calendar-floating-month {
|
|
142
|
-
position: absolute;
|
|
143
|
-
top: 0;
|
|
144
|
-
left: 0;
|
|
145
|
-
width: 100%;
|
|
146
|
-
box-sizing: border-box;
|
|
147
|
-
aspect-ratio: 7;
|
|
148
|
-
padding-left: 0.5rem;
|
|
149
|
-
display: flex;
|
|
150
|
-
align-items: center;
|
|
151
|
-
font-size: 0.875rem;
|
|
152
|
-
font-weight: 500;
|
|
153
|
-
color: ARD.$text3;
|
|
154
|
-
letter-spacing: 0.5px;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
//! years & months view
|
|
158
|
-
.ard-calendar-simple-grid {
|
|
159
|
-
border-top: 1px solid ARD.$detail-ultralight;
|
|
160
|
-
margin-top: 0.25rem;
|
|
161
|
-
display: grid;
|
|
162
|
-
grid-template-columns: repeat(4, 1fr);
|
|
163
|
-
grid-template-rows: repeat(6, 1fr);
|
|
164
|
-
|
|
165
|
-
> * {
|
|
166
|
-
max-width: 100%;
|
|
167
|
-
box-sizing: border-box;
|
|
168
|
-
aspect-ratio: 7/4; //it has to be the same height as in the days view
|
|
169
|
-
//before it was 7/7 (1) because there are 7 entries in a single row
|
|
170
|
-
//now there are 4 entries, and thus 7/4
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
//! interactions
|
|
174
|
-
&.ard-calendar-nointeract {
|
|
175
|
-
.ard-calendar-main-container {
|
|
176
|
-
pointer-events: none;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
//! static height
|
|
180
|
-
&.ard-calendar-static-height {
|
|
181
|
-
height: 19.5rem;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@use './shared' as inputMixin;
|
|
2
|
-
@use '../mixins' as defaultMixins;
|
|
3
|
-
@use '../clear-button' as CB;
|
|
4
|
-
|
|
5
|
-
.ard-search-bar {
|
|
6
|
-
@include inputMixin.genericInput();
|
|
7
|
-
padding: 0 0.375rem;
|
|
8
|
-
min-width: 10rem;
|
|
9
|
-
max-width: 100%;
|
|
10
|
-
|
|
11
|
-
@include CB.clearButton();
|
|
12
|
-
}
|
|
13
|
-
//! disabled state
|
|
14
|
-
.ard-disabled {
|
|
15
|
-
.ard-search-bar {
|
|
16
|
-
pointer-events: none;
|
|
17
|
-
opacity: 50%;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
@use './mixins' as defaultMixins;
|
|
2
|
-
@use './coloring' as coloringMixins;
|
|
3
|
-
@use '../variables' as ARD;
|
|
4
|
-
|
|
5
|
-
.ard-statebox {
|
|
6
|
-
@include coloringMixins.typeColors();
|
|
7
|
-
font-size: 1.1em;
|
|
8
|
-
width: 1.25em;
|
|
9
|
-
height: 1.25em;
|
|
10
|
-
position: relative;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
user-select: none;
|
|
13
|
-
color: var(--ard-cmpcl--bg-colored);
|
|
14
|
-
border: none;
|
|
15
|
-
background: none;
|
|
16
|
-
padding: 0;
|
|
17
|
-
|
|
18
|
-
.ard-hitbox {
|
|
19
|
-
position: absolute;
|
|
20
|
-
left: -4px;
|
|
21
|
-
right: -4px;
|
|
22
|
-
bottom: -4px;
|
|
23
|
-
top: -4px;
|
|
24
|
-
}
|
|
25
|
-
.ard-focus-overlay {
|
|
26
|
-
@include defaultMixins.focus-overlay;
|
|
27
|
-
position: absolute;
|
|
28
|
-
left: -0.5rem;
|
|
29
|
-
right: -0.5rem;
|
|
30
|
-
bottom: -0.5rem;
|
|
31
|
-
top: -0.5rem;
|
|
32
|
-
border-radius: 999px;
|
|
33
|
-
background: currentColor;
|
|
34
|
-
}
|
|
35
|
-
.ard-statebox-icon,
|
|
36
|
-
.ard-statebox-frame::after {
|
|
37
|
-
@include defaultMixins.icon;
|
|
38
|
-
transition: opacity 0.2s ARD.$timing-fn;
|
|
39
|
-
color: currentColor;
|
|
40
|
-
position: absolute;
|
|
41
|
-
left: 50%;
|
|
42
|
-
top: 50%;
|
|
43
|
-
transform: translate(-50%, -50%);
|
|
44
|
-
}
|
|
45
|
-
.ard-statebox-frame::after {
|
|
46
|
-
content: '\e835';
|
|
47
|
-
}
|
|
48
|
-
&.ard-statebox-keep-frame {
|
|
49
|
-
.ard-statebox-icon {
|
|
50
|
-
font-size: 0.9em;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
&.ard-statebox-filled {
|
|
54
|
-
.ard-statebox-icon {
|
|
55
|
-
font-variation-settings: 'FILL' 1;
|
|
56
|
-
}
|
|
57
|
-
&.ard-statebox-keep-frame {
|
|
58
|
-
.ard-statebox-icon,
|
|
59
|
-
.ard-statebox-character {
|
|
60
|
-
color: var(--ard-cmpcl--on-bg);
|
|
61
|
-
}
|
|
62
|
-
.ard-statebox-frame::before {
|
|
63
|
-
content: '';
|
|
64
|
-
position: absolute;
|
|
65
|
-
left: 2px;
|
|
66
|
-
right: 2px;
|
|
67
|
-
top: 2px;
|
|
68
|
-
bottom: 2px;
|
|
69
|
-
background: currentColor;
|
|
70
|
-
}
|
|
71
|
-
&.ard-color-custom {
|
|
72
|
-
.ard-statebox-icon,
|
|
73
|
-
.ard-statebox-character {
|
|
74
|
-
color: var(--ard-on-custom-color);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
.ard-statebox-character {
|
|
80
|
-
font-weight: 900;
|
|
81
|
-
position: absolute;
|
|
82
|
-
left: 50%;
|
|
83
|
-
top: 50%;
|
|
84
|
-
transform: translate(-50%, -50%);
|
|
85
|
-
font-family: 'Roboto', sans-serif;
|
|
86
|
-
}
|
|
87
|
-
&.ard-color-custom {
|
|
88
|
-
color: var(--ard-custom-color);
|
|
89
|
-
}
|
|
90
|
-
&:hover,
|
|
91
|
-
&:focus {
|
|
92
|
-
.ard-statebox-icon {
|
|
93
|
-
opacity: 100%;
|
|
94
|
-
}
|
|
95
|
-
.ard-focus-overlay {
|
|
96
|
-
opacity: 10%;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
&:active {
|
|
100
|
-
.ard-focus-overlay {
|
|
101
|
-
opacity: 20%;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
//! disabled state
|
|
106
|
-
.ard-disabled .ard-statebox {
|
|
107
|
-
pointer-events: none;
|
|
108
|
-
opacity: 60%;
|
|
109
|
-
}
|