@ardium-ui/ui 5.0.0-alpha.22 → 5.0.0-alpha.24

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 (50) hide show
  1. package/package.json +1 -1
  2. package/prebuilt-themes/default/buttons/button.css +46 -20
  3. package/prebuilt-themes/default/buttons/button.css.map +1 -1
  4. package/prebuilt-themes/default/buttons/fab.css +38 -18
  5. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  6. package/prebuilt-themes/default/buttons/icon-button.css +33 -14
  7. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  8. package/prebuilt-themes/default/chips.css +1 -1
  9. package/prebuilt-themes/default/color-display.css +1 -1
  10. package/prebuilt-themes/default/core.css +3 -0
  11. package/prebuilt-themes/default/core.css.map +1 -1
  12. package/prebuilt-themes/default/form-field-frame.css +1 -1
  13. package/prebuilt-themes/default/inputs/autocomplete-input.css +1 -1
  14. package/prebuilt-themes/default/inputs/color-input.css +2 -2
  15. package/prebuilt-themes/default/inputs/date-input.css +1 -1
  16. package/prebuilt-themes/default/inputs/digit-input.css +1 -1
  17. package/prebuilt-themes/default/inputs/file-input.css +1 -1
  18. package/prebuilt-themes/default/inputs/hex-input.css +3 -3
  19. package/prebuilt-themes/default/inputs/input.css +1 -1
  20. package/prebuilt-themes/default/inputs/number-input.css +1 -1
  21. package/prebuilt-themes/default/inputs/password-input.css +1 -1
  22. package/prebuilt-themes/default/inputs/search-bar.css +1 -1
  23. package/prebuilt-themes/default/kbd-shortcut.css +1 -1
  24. package/prebuilt-themes/default/kbd.css +1 -1
  25. package/prebuilt-themes/default/segment.css +1 -1
  26. package/prebuilt-themes/default/select.css +78 -38
  27. package/prebuilt-themes/default/select.css.map +1 -1
  28. package/prebuilt-themes/default/statebox.css +1 -1
  29. package/prebuilt-themes/default/tabber.css +1 -1
  30. package/themes/default/buttons/_button-mixins.scss +29 -16
  31. package/themes/default/buttons/button.scss +41 -11
  32. package/themes/default/buttons/fab.scss +36 -9
  33. package/themes/default/buttons/icon-button.scss +31 -5
  34. package/themes/default/chips.scss +1 -1
  35. package/themes/default/color-display.scss +1 -1
  36. package/themes/default/core.scss +5 -0
  37. package/themes/default/form-field-frame.scss +1 -1
  38. package/themes/default/inputs/_shared.scss +1 -1
  39. package/themes/default/inputs/color-input.scss +1 -1
  40. package/themes/default/inputs/digit-input.scss +1 -1
  41. package/themes/default/inputs/hex-input.scss +2 -2
  42. package/themes/default/kbd-shortcut.scss +1 -1
  43. package/themes/default/kbd.scss +1 -1
  44. package/themes/default/segment.scss +1 -1
  45. package/themes/default/select.scss +84 -40
  46. package/themes/default/statebox.scss +1 -1
  47. package/themes/default/tabber.scss +1 -1
  48. package/prebuilt-themes/default/calendar-OLD.css +0 -294
  49. package/prebuilt-themes/default/calendar-OLD.css.map +0 -1
  50. package/themes/default/calendar-OLD.scss +0 -183
@@ -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
- }