@ardium-ui/ui 4.0.0 → 4.1.0

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.
Files changed (173) hide show
  1. package/esm2022/lib/_internal/boolean-component.mjs +1 -1
  2. package/esm2022/lib/_internal/disablable-component.mjs +1 -1
  3. package/esm2022/lib/_internal/focusable-component.mjs +1 -1
  4. package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +1 -1
  5. package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +1 -1
  6. package/esm2022/lib/_internal/ngmodel-component.mjs +2 -2
  7. package/esm2022/lib/_internal/public-api.mjs +1 -1
  8. package/esm2022/lib/_internal/selectable-list-component.mjs +1 -1
  9. package/esm2022/lib/buttons/_button-base.defaults.mjs +1 -1
  10. package/esm2022/lib/buttons/_button-base.mjs +4 -2
  11. package/esm2022/lib/buttons/button/button.component.mjs +1 -1
  12. package/esm2022/lib/buttons/fab/fab.component.mjs +1 -1
  13. package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +1 -1
  14. package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +1 -1
  15. package/esm2022/lib/calendar/calendar.component.mjs +3 -3
  16. package/esm2022/lib/calendar/calendar.defaults.mjs +1 -1
  17. package/esm2022/lib/calendar/calendar.internal-types.mjs +1 -1
  18. package/esm2022/lib/calendar/calendar.module.mjs +1 -1
  19. package/esm2022/lib/calendar/calendar.types.mjs +1 -1
  20. package/esm2022/lib/calendar/index.mjs +1 -1
  21. package/esm2022/lib/calendar/views/days-view/days-view.component.mjs +3 -3
  22. package/esm2022/lib/calendar/views/days-view/days-view.helpers.mjs +1 -1
  23. package/esm2022/lib/calendar/views/months-view/months-view.component.mjs +3 -3
  24. package/esm2022/lib/calendar/views/months-view/months-view.helpers.mjs +1 -1
  25. package/esm2022/lib/calendar/views/years-view/years-view.component.mjs +3 -3
  26. package/esm2022/lib/calendar/views/years-view/years-view.helpers.mjs +1 -1
  27. package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +3 -3
  28. package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +1 -1
  29. package/esm2022/lib/dialog/dialog.component.mjs +3 -3
  30. package/esm2022/lib/dialog/dialog.defaults.mjs +1 -1
  31. package/esm2022/lib/dialog/dialog.directives.mjs +1 -1
  32. package/esm2022/lib/dialog/dialog.module.mjs +1 -1
  33. package/esm2022/lib/dialog/dialog.types.mjs +1 -1
  34. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +3 -3
  35. package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +3 -3
  36. package/esm2022/lib/file-inputs/file-input-base.mjs +1 -1
  37. package/esm2022/lib/form-field/error/error.component.mjs +1 -1
  38. package/esm2022/lib/form-field/error/error.directive.mjs +1 -1
  39. package/esm2022/lib/form-field/form-field.component.mjs +4 -4
  40. package/esm2022/lib/form-field/form-field.module.mjs +1 -1
  41. package/esm2022/lib/form-field/hint/hint.component.mjs +1 -1
  42. package/esm2022/lib/form-field/hint/hint.directive.mjs +1 -1
  43. package/esm2022/lib/form-field/horizontal-form-field.component.mjs +3 -3
  44. package/esm2022/lib/form-field/index.mjs +1 -1
  45. package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +1 -1
  46. package/esm2022/lib/inputs/_simple-input-base.mjs +2 -2
  47. package/esm2022/lib/inputs/date-input/date-input.component.mjs +3 -3
  48. package/esm2022/lib/inputs/date-input/date-input.defaults.mjs +1 -1
  49. package/esm2022/lib/inputs/date-input/date-input.directive.mjs +1 -1
  50. package/esm2022/lib/inputs/date-input/date-input.module.mjs +1 -1
  51. package/esm2022/lib/inputs/date-input/date-input.serializers.mjs +1 -1
  52. package/esm2022/lib/inputs/date-input/date-input.types.mjs +1 -1
  53. package/esm2022/lib/inputs/date-input/index.mjs +1 -1
  54. package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +3 -3
  55. package/esm2022/lib/inputs/digit-input/digit-input.defaults.mjs +1 -1
  56. package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
  57. package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +1 -1
  58. package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
  59. package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
  60. package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +3 -3
  61. package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +1 -1
  62. package/esm2022/lib/inputs/input/input.component.mjs +3 -3
  63. package/esm2022/lib/inputs/input/input.module.mjs +1 -1
  64. package/esm2022/lib/inputs/input-utils.mjs +8 -3
  65. package/esm2022/lib/inputs/number-input/number-input.component.mjs +13 -4
  66. package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +1 -1
  67. package/esm2022/lib/inputs/password-input/password-input.component.mjs +3 -3
  68. package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +1 -1
  69. package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +5 -5
  70. package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +1 -1
  71. package/esm2022/lib/modal/index.mjs +1 -1
  72. package/esm2022/lib/modal/modal.component.mjs +3 -3
  73. package/esm2022/lib/modal/modal.defaults.mjs +1 -1
  74. package/esm2022/lib/modal/modal.directives.mjs +1 -1
  75. package/esm2022/lib/modal/modal.module.mjs +1 -1
  76. package/esm2022/lib/radio/radio/radio.component.mjs +1 -1
  77. package/esm2022/lib/radio/radio/radio.defaults.mjs +1 -1
  78. package/esm2022/lib/radio/radio-group.component.mjs +1 -1
  79. package/esm2022/lib/segment/segment.component.mjs +3 -3
  80. package/esm2022/lib/select/select.component.mjs +3 -3
  81. package/esm2022/lib/select/select.defaults.mjs +1 -1
  82. package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +1 -1
  83. package/esm2022/lib/slider/range-slider/range-slider.component.mjs +1 -1
  84. package/esm2022/lib/slider/slider.component.mjs +3 -3
  85. package/esm2022/lib/star/index.mjs +1 -1
  86. package/esm2022/lib/star/rating-display/index.mjs +1 -1
  87. package/esm2022/lib/star/rating-display/rating-display.component.mjs +3 -3
  88. package/esm2022/lib/star/rating-display/rating-display.defaults.mjs +1 -1
  89. package/esm2022/lib/star/rating-display/rating-display.directives.mjs +1 -1
  90. package/esm2022/lib/star/rating-display/rating-display.module.mjs +1 -1
  91. package/esm2022/lib/star/rating-display/rating-display.types.mjs +1 -1
  92. package/esm2022/lib/star/rating-input/index.mjs +1 -1
  93. package/esm2022/lib/star/rating-input/rating-input.component.mjs +3 -3
  94. package/esm2022/lib/star/rating-input/rating-input.defaults.mjs +1 -1
  95. package/esm2022/lib/star/rating-input/rating-input.directives.mjs +2 -2
  96. package/esm2022/lib/star/rating-input/rating-input.module.mjs +1 -1
  97. package/esm2022/lib/star/rating-input/rating-input.types.mjs +1 -1
  98. package/esm2022/lib/star/star-button/index.mjs +1 -1
  99. package/esm2022/lib/star/star-button/star-button.component.mjs +4 -4
  100. package/esm2022/lib/star/star-button/star-button.defaults.mjs +1 -1
  101. package/esm2022/lib/star/star-button/star-button.directives.mjs +2 -2
  102. package/esm2022/lib/star/star-button/star-button.module.mjs +1 -1
  103. package/esm2022/lib/star/star-button/star-button.types.mjs +1 -1
  104. package/esm2022/lib/star/star.component.mjs +3 -3
  105. package/esm2022/lib/star/star.defaults.mjs +1 -1
  106. package/esm2022/lib/star/star.directives.mjs +2 -2
  107. package/esm2022/lib/star/star.module.mjs +1 -1
  108. package/esm2022/lib/star/star.types.mjs +1 -1
  109. package/esm2022/lib/text-list/index.mjs +1 -1
  110. package/esm2022/lib/text-list/text-list.component.mjs +3 -3
  111. package/esm2022/lib/text-list/text-list.module.mjs +1 -1
  112. package/esm2022/lib/text-list/text-list.pipe.mjs +1 -1
  113. package/esm2022/public-api.mjs +1 -1
  114. package/fesm2022/ardium-ui-ui.mjs +75 -59
  115. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  116. package/lib/dialog/dialog.types.d.ts +1 -1
  117. package/lib/inputs/date-input/date-input.types.d.ts +1 -1
  118. package/lib/inputs/number-input/number-input.component.d.ts +3 -1
  119. package/lib/star/rating-input/rating-input.directives.d.ts +2 -2
  120. package/lib/star/rating-input/rating-input.types.d.ts +1 -1
  121. package/lib/star/star-button/star-button.directives.d.ts +2 -2
  122. package/lib/star/star-button/star-button.types.d.ts +1 -1
  123. package/lib/star/star.directives.d.ts +2 -2
  124. package/package.json +1 -1
  125. package/prebuilt-themes/default/buttons/button.css.map +1 -1
  126. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  127. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  128. package/prebuilt-themes/default/calendar-OLD.css.map +1 -1
  129. package/prebuilt-themes/default/calendar.css.map +1 -1
  130. package/prebuilt-themes/default/checkbox-list.css.map +1 -1
  131. package/prebuilt-themes/default/checkbox.css.map +1 -1
  132. package/prebuilt-themes/default/chips.css.map +1 -1
  133. package/prebuilt-themes/default/form-field-frame.css.map +1 -1
  134. package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
  135. package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
  136. package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
  137. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  138. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
  139. package/prebuilt-themes/default/inputs/input.css.map +1 -1
  140. package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
  141. package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
  142. package/prebuilt-themes/default/inputs/simple-input.css.map +1 -1
  143. package/prebuilt-themes/default/radio.css.map +1 -1
  144. package/prebuilt-themes/default/segment.css.map +1 -1
  145. package/prebuilt-themes/default/select.css.map +1 -1
  146. package/prebuilt-themes/default/slide-toggle.css.map +1 -1
  147. package/prebuilt-themes/default/slider.css.map +1 -1
  148. package/prebuilt-themes/default/stars.css.map +1 -1
  149. package/prebuilt-themes/default/statebox.css.map +1 -1
  150. package/prebuilt-themes/default/tabber.css.map +1 -1
  151. package/themes/_variables.scss +121 -121
  152. package/themes/default/_mixins.scss +8 -2
  153. package/themes/default/buttons/_button-mixins.scss +3 -1
  154. package/themes/default/buttons/button.scss +79 -79
  155. package/themes/default/buttons/fab.scss +81 -81
  156. package/themes/default/buttons/icon-button.scss +62 -62
  157. package/themes/default/calendar-OLD.scss +183 -183
  158. package/themes/default/calendar.scss +4 -2
  159. package/themes/default/card.scss +135 -135
  160. package/themes/default/core.scss +102 -102
  161. package/themes/default/form-field-frame.scss +3 -1
  162. package/themes/default/form-field.scss +2 -2
  163. package/themes/default/inputs/_shared.scss +50 -50
  164. package/themes/default/inputs/date-input.scss +4 -5
  165. package/themes/default/inputs/digit-input.scss +3 -1
  166. package/themes/default/inputs/file-input.scss +79 -79
  167. package/themes/default/inputs/input.scss +1 -1
  168. package/themes/default/inputs/number-input.scss +131 -131
  169. package/themes/default/inputs/simple-input.scss +1 -1
  170. package/themes/default/kbd.scss +21 -21
  171. package/themes/default/modal.scss +94 -94
  172. package/themes/default/spinner.scss +21 -21
  173. package/themes/default/stars.scss +85 -85
@@ -1,62 +1,62 @@
1
- @use './button-mixins' as shared;
2
-
3
- ard-icon-button {
4
- height: max-content;
5
- width: max-content;
6
- border-radius: 9999px;
7
- aspect-ratio: 1;
8
- display: inline-block;
9
- font-size: 1rem;
10
- }
11
-
12
- .ard-icon-button {
13
- @include shared.button;
14
- background: transparent;
15
- height: 2.1875em;
16
- aspect-ratio: 1;
17
- border-radius: 9999px;
18
- align-items: center;
19
- justify-content: center;
20
- padding: 0;
21
- overflow: hidden;
22
- font-weight: 600;
23
- font-size: inherit;
24
- color: var(--ard-cmpcl--bg-colored);
25
-
26
- .ard-button-content {
27
- display: flex;
28
- align-items: center;
29
-
30
- > ard-icon {
31
- font-weight: 500;
32
- font-size: 1.5em;
33
- }
34
- }
35
-
36
- //! compact
37
- &.ard-compact {
38
- height: 2.25em;
39
- font-size: 0.75em;
40
- }
41
- //! light coloring
42
- &.ard-light-coloring {
43
- color: var(--ard-cmpcl--bg-colored-light);
44
- }
45
- }
46
-
47
- ard-icon-button.ard-disabled {
48
- > .ard-icon-button {
49
- @include shared.button-disabled;
50
-
51
- .ard-focus-overlay {
52
- opacity: 0;
53
- }
54
- }
55
- &.ard-button-with-pointer-events-when-disabled {
56
- pointer-events: all;
57
-
58
- > .ard-button {
59
- pointer-events: all;
60
- }
61
- }
62
- }
1
+ @use './button-mixins' as shared;
2
+
3
+ ard-icon-button {
4
+ height: max-content;
5
+ width: max-content;
6
+ border-radius: 9999px;
7
+ aspect-ratio: 1;
8
+ display: inline-block;
9
+ font-size: 1rem;
10
+ }
11
+
12
+ .ard-icon-button {
13
+ @include shared.button;
14
+ background: transparent;
15
+ height: 2.1875em;
16
+ aspect-ratio: 1;
17
+ border-radius: 9999px;
18
+ align-items: center;
19
+ justify-content: center;
20
+ padding: 0;
21
+ overflow: hidden;
22
+ font-weight: 600;
23
+ font-size: inherit;
24
+ color: var(--ard-cmpcl--bg-colored);
25
+
26
+ .ard-button-content {
27
+ display: flex;
28
+ align-items: center;
29
+
30
+ > ard-icon {
31
+ font-weight: 500;
32
+ font-size: 1.5em;
33
+ }
34
+ }
35
+
36
+ //! compact
37
+ &.ard-compact {
38
+ height: 2.25em;
39
+ font-size: 0.75em;
40
+ }
41
+ //! light coloring
42
+ &.ard-light-coloring {
43
+ color: var(--ard-cmpcl--bg-colored-light);
44
+ }
45
+ }
46
+
47
+ ard-icon-button.ard-disabled {
48
+ > .ard-icon-button {
49
+ @include shared.button-disabled;
50
+
51
+ .ard-focus-overlay {
52
+ opacity: 0;
53
+ }
54
+ }
55
+ &.ard-button-with-pointer-events-when-disabled {
56
+ pointer-events: all;
57
+
58
+ > .ard-button {
59
+ pointer-events: all;
60
+ }
61
+ }
62
+ }
@@ -1,183 +1,183 @@
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
+ @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
+ }
@@ -110,7 +110,7 @@ $grid-size: 2.5rem;
110
110
  display: flex;
111
111
  align-items: center;
112
112
  justify-content: center;
113
- font-size: 0.875rem;;
113
+ font-size: 0.875rem;
114
114
  background: transparent;
115
115
  border: 1px solid transparent;
116
116
  border-radius: 9999px;
@@ -122,7 +122,9 @@ $grid-size: 2.5rem;
122
122
  z-index: -1;
123
123
  background: var(--ard-cmpcl--bg-colored);
124
124
  border: 2px solid transparent;
125
- transition: border-color 0.1s ease, opacity 0.1s ease;
125
+ transition:
126
+ border-color 0.1s ease,
127
+ opacity 0.1s ease;
126
128
  }
127
129
  }
128
130
  &.ard-calendar__entry-empty {