@ardium-ui/ui 5.0.0-alpha.3 → 5.0.0-alpha.30
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 +819 -551
- package/fesm2022/ardium-ui-ui.mjs.map +1 -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 +2 -1
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +16 -18
- 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/selectable-list-component.d.ts +6 -6
- package/lib/badge/badge.directive.d.ts +3 -2
- package/lib/buttons/_button-base.d.ts +4 -3
- package/lib/buttons/button/button.component.d.ts +2 -1
- package/lib/buttons/icon-button/icon-button.component.d.ts +4 -3
- package/lib/calendar/calendar.component.d.ts +5 -4
- 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 +3 -2
- package/lib/dialog/dialog.component.d.ts +8 -7
- package/lib/divider/divider.component.d.ts +2 -1
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +2 -1
- package/lib/file-inputs/file-input/file-input.component.d.ts +2 -1
- package/lib/file-inputs/file-input-base.d.ts +4 -4
- package/lib/form-field/error/error.directive.d.ts +5 -1
- package/lib/form-field/form-field-base.d.ts +9 -3
- package/lib/form-field/form-field-native-inputs.d.ts +3 -2
- package/lib/form-field/form-field.component.d.ts +1 -1
- 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.component.d.ts +6 -0
- package/lib/form-field/hint-error/hint-error.directive.d.ts +9 -0
- 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 +4 -3
- package/lib/icon/icon.component.d.ts +2 -1
- package/lib/inputs/_simple-input-base.d.ts +4 -2
- package/lib/inputs/autocomplete-input/autocomplete-input.component.d.ts +5 -4
- package/lib/inputs/date-input/date-input.component.d.ts +9 -8
- package/lib/inputs/digit-input/digit-input.component.d.ts +4 -3
- package/lib/inputs/hex-input/hex-input.component.d.ts +5 -3
- package/lib/inputs/number-input/number-input.component.d.ts +8 -7
- package/lib/inputs/number-input/number-input.defaults.d.ts +1 -0
- package/lib/inputs/password-input/password-input.component.d.ts +4 -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 +6 -5
- 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/segment/segment.component.d.ts +6 -5
- package/lib/select/select.component.d.ts +33 -26
- package/lib/select/select.defaults.d.ts +7 -0
- 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 +4 -2
- package/lib/select/select.utils.d.ts +2 -0
- package/lib/slider/abstract-slider.d.ts +11 -7
- package/lib/slider/range-slider/range-slider.component.d.ts +2 -1
- package/lib/slider/slider.component.d.ts +1 -0
- package/lib/slider/slider.types.d.ts +2 -2
- package/lib/star/rating-display/rating-display.component.d.ts +2 -1
- package/lib/star/rating-input/rating-input.component.d.ts +2 -1
- package/lib/tabber/index.d.ts +2 -1
- package/lib/tabber/tab/tab.component.d.ts +14 -8
- package/lib/tabber/tabber.component.d.ts +25 -9
- package/lib/tabber/tabber.defaults.d.ts +1 -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/item-storage.types.d.ts +15 -17
- package/package.json +1 -1
- package/prebuilt-themes/default/buttons/button.css +48 -22
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +40 -20
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +35 -16
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +44 -18
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/chips.css +10 -5
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +1 -1
- package/prebuilt-themes/default/core.css +10 -0
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +7 -3
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +35 -13
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +2 -2
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +1 -1
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +3 -3
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +1 -2
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +37 -14
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +1 -1
- package/prebuilt-themes/default/kbd.css +1 -1
- package/prebuilt-themes/default/modal.css +2 -1
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +5 -3
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +70 -57
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +87 -40
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +90 -51
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/statebox.css +1 -1
- package/prebuilt-themes/default/tabber.css +36 -12
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/_variables.scss +3 -0
- package/themes/default/buttons/_button-mixins.scss +31 -18
- package/themes/default/buttons/button.scss +41 -11
- package/themes/default/buttons/fab.scss +36 -9
- package/themes/default/buttons/icon-button.scss +31 -5
- package/themes/default/checkbox-list.scss +47 -21
- package/themes/default/chips.scss +12 -12
- package/themes/default/color-display.scss +1 -1
- package/themes/default/core.scss +12 -0
- package/themes/default/form-field-frame.scss +11 -6
- package/themes/default/form-field.scss +27 -12
- package/themes/default/inputs/_shared.scss +1 -1
- package/themes/default/inputs/color-input.scss +1 -1
- package/themes/default/inputs/digit-input.scss +1 -1
- package/themes/default/inputs/hex-input.scss +2 -2
- package/themes/default/inputs/input.scss +0 -1
- package/themes/default/inputs/number-input.scss +37 -14
- package/themes/default/kbd-shortcut.scss +1 -1
- package/themes/default/kbd.scss +1 -1
- package/themes/default/modal.scss +2 -1
- package/themes/default/radio.scss +5 -3
- package/themes/default/segment.scss +75 -67
- package/themes/default/select.scss +96 -42
- package/themes/default/slider.scss +90 -55
- package/themes/default/statebox.scss +1 -1
- package/themes/default/tabber.scss +36 -13
- 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/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
|
-
}
|