@haiilo/catalyst 6.2.3 → 6.3.1
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/dist/catalyst/catalyst.css +52 -19
- package/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/catalyst.esm.js.map +1 -1
- package/dist/catalyst/index.esm.js +2 -2
- package/dist/catalyst/index.esm.js.map +1 -1
- package/dist/catalyst/p-dd8ae83e.js +2 -0
- package/dist/catalyst/p-dd8ae83e.js.map +1 -0
- package/dist/catalyst/p-dfc7c716.entry.js +10 -0
- package/dist/catalyst/p-dfc7c716.entry.js.map +1 -0
- package/dist/catalyst/scss/vendor/_flatpickr.scss +62 -14
- package/dist/cjs/{cat-alert_25.cjs.entry.js → cat-alert_26.cjs.entry.js} +7199 -8022
- package/dist/cjs/cat-alert_26.cjs.entry.js.map +1 -0
- package/dist/cjs/catalyst.cjs.js +1 -1
- package/dist/cjs/index.cjs.js +28 -8
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/of-d9fa1990.js +1435 -0
- package/dist/cjs/of-d9fa1990.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/cat-button-group/cat-button-group.js +4 -0
- package/dist/collection/components/cat-button-group/cat-button-group.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.config.js +41 -20
- package/dist/collection/components/cat-datepicker/cat-datepicker.config.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.format.js +22 -0
- package/dist/collection/components/cat-datepicker/cat-datepicker.format.js.map +1 -0
- package/dist/collection/components/cat-datepicker/cat-datepicker.js +35 -50
- package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.mode.js +2 -0
- package/dist/collection/components/cat-datepicker/cat-datepicker.mode.js.map +1 -0
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.css +1146 -0
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.e2e.js +10 -0
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.e2e.js.map +1 -0
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js +240 -0
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js.map +1 -0
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.spec.js +20 -0
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.spec.js.map +1 -0
- package/dist/collection/components/cat-dropdown/cat-dropdown.css +1 -1
- package/dist/collection/components/cat-input/cat-input.css +3 -0
- package/dist/collection/components/cat-input/cat-input.js +3 -2
- package/dist/collection/components/cat-input/cat-input.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.css +1 -1
- package/dist/collection/components/cat-select/connectors.js +20 -0
- package/dist/collection/components/cat-select/connectors.js.map +1 -0
- package/dist/collection/components/cat-textarea/cat-textarea.css +4 -0
- package/dist/collection/components/cat-textarea/cat-textarea.js +1 -0
- package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
- package/dist/collection/components/cat-tooltip/cat-tooltip.css +1 -1
- package/dist/collection/index.js +4 -3
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/scss/vendor/_flatpickr.scss +62 -14
- package/dist/components/cat-button-group.js.map +1 -1
- package/dist/components/cat-datepicker-inline.d.ts +11 -0
- package/dist/components/cat-datepicker-inline.js +102 -0
- package/dist/components/cat-datepicker-inline.js.map +1 -0
- package/dist/components/cat-datepicker.js +27 -2770
- package/dist/components/cat-datepicker.js.map +1 -1
- package/dist/components/cat-datepicker.locale.js +2768 -0
- package/dist/components/cat-datepicker.locale.js.map +1 -0
- package/dist/components/cat-dropdown2.js +1 -1
- package/dist/components/cat-dropdown2.js.map +1 -1
- package/dist/components/cat-input2.js +4 -3
- package/dist/components/cat-input2.js.map +1 -1
- package/dist/components/cat-scrollable2.js +2 -910
- package/dist/components/cat-scrollable2.js.map +1 -1
- package/dist/components/cat-select-demo.js +4 -2
- package/dist/components/cat-select-demo.js.map +1 -1
- package/dist/components/cat-select2.js +5 -8
- package/dist/components/cat-select2.js.map +1 -1
- package/dist/components/cat-textarea.js +2 -1
- package/dist/components/cat-textarea.js.map +1 -1
- package/dist/components/cat-tooltip.js +1 -1
- package/dist/components/cat-tooltip.js.map +1 -1
- package/dist/components/from.js +912 -0
- package/dist/components/from.js.map +1 -0
- package/dist/components/index.js +21 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/of.js +10 -0
- package/dist/components/of.js.map +1 -0
- package/dist/esm/{cat-alert_25.entry.js → cat-alert_26.entry.js} +7179 -8003
- package/dist/esm/cat-alert_26.entry.js.map +1 -0
- package/dist/esm/catalyst.js +1 -1
- package/dist/esm/index.js +22 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/of-5472d434.js +1408 -0
- package/dist/esm/of-5472d434.js.map +1 -0
- package/dist/types/components/cat-button-group/cat-button-group.d.ts +4 -0
- package/dist/types/components/cat-datepicker/cat-datepicker.config.d.ts +13 -1
- package/dist/types/components/cat-datepicker/cat-datepicker.d.ts +3 -3
- package/dist/types/components/cat-datepicker/cat-datepicker.format.d.ts +2 -0
- package/dist/types/components/cat-datepicker/cat-datepicker.locale.d.ts +2 -2
- package/dist/types/components/cat-datepicker/cat-datepicker.mode.d.ts +1 -0
- package/dist/types/components/cat-datepicker-inline/cat-datepicker-inline.d.ts +43 -0
- package/dist/types/components/cat-select/connectors.d.ts +8 -0
- package/dist/types/components.d.ts +97 -2
- package/dist/types/index.d.ts +4 -3
- package/package.json +3 -3
- package/dist/catalyst/p-0c98e803.entry.js +0 -10
- package/dist/catalyst/p-0c98e803.entry.js.map +0 -1
- package/dist/catalyst/p-42e63e08.js +0 -2
- package/dist/catalyst/p-42e63e08.js.map +0 -1
- package/dist/cjs/cat-alert_25.cjs.entry.js.map +0 -1
- package/dist/cjs/cat-icon-registry-5c292d3f.js +0 -502
- package/dist/cjs/cat-icon-registry-5c292d3f.js.map +0 -1
- package/dist/esm/cat-alert_25.entry.js.map +0 -1
- package/dist/esm/cat-icon-registry-4fc73466.js +0 -494
- package/dist/esm/cat-icon-registry-4fc73466.js.map +0 -1
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
background: cat-token('color.ui.background.surface');
|
|
12
12
|
padding: 1rem;
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
&:not(.inline).animate {
|
|
15
15
|
transform: translateY(-1rem);
|
|
16
16
|
opacity: 0;
|
|
17
17
|
transition: transform cat-token('time.transition.s') cubic-bezier(0.3, 0, 0.8, 0.15),
|
|
@@ -23,9 +23,21 @@
|
|
|
23
23
|
display: none;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
&.inline,
|
|
26
27
|
&.open {
|
|
27
|
-
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
gap: 1rem;
|
|
28
31
|
width: auto !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.inline {
|
|
35
|
+
border: unset;
|
|
36
|
+
padding: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.open {
|
|
40
|
+
z-index: cat-z-index('dropdown');
|
|
29
41
|
margin-top: 0.75rem;
|
|
30
42
|
margin-left: -0.75rem;
|
|
31
43
|
|
|
@@ -97,6 +109,10 @@
|
|
|
97
109
|
|
|
98
110
|
.flatpickr-weekdays {
|
|
99
111
|
height: 2rem;
|
|
112
|
+
.flatpickr-weekday {
|
|
113
|
+
color: cat-token('color.ui.font.muted');
|
|
114
|
+
@include cat-body(xs, $weight: 700);
|
|
115
|
+
}
|
|
100
116
|
}
|
|
101
117
|
|
|
102
118
|
.flatpickr-weekwrapper {
|
|
@@ -107,14 +123,17 @@
|
|
|
107
123
|
.flatpickr-weeks {
|
|
108
124
|
box-shadow: none;
|
|
109
125
|
width: 2rem;
|
|
110
|
-
padding: 0
|
|
126
|
+
padding: 0;
|
|
127
|
+
margin-right: 0.5rem;
|
|
128
|
+
background: cat-token('color.ui.background.muted');
|
|
129
|
+
border-radius: cat-token('size.border.radius.m');
|
|
111
130
|
}
|
|
112
131
|
|
|
113
132
|
span.flatpickr-day,
|
|
114
133
|
span.flatpickr-day:hover {
|
|
115
134
|
@include cat-body(xs, $weight: 700);
|
|
116
135
|
color: cat-token('color.ui.font.muted');
|
|
117
|
-
text-align:
|
|
136
|
+
text-align: center;
|
|
118
137
|
line-height: 2.25rem;
|
|
119
138
|
}
|
|
120
139
|
}
|
|
@@ -133,7 +152,6 @@
|
|
|
133
152
|
color: cat-token('color.ui.font.body');
|
|
134
153
|
height: 2.25rem;
|
|
135
154
|
line-height: 2.25rem;
|
|
136
|
-
// max-width: unset;
|
|
137
155
|
border: 0;
|
|
138
156
|
border-radius: cat-border-radius('m');
|
|
139
157
|
|
|
@@ -142,6 +160,11 @@
|
|
|
142
160
|
font-weight: 700;
|
|
143
161
|
}
|
|
144
162
|
|
|
163
|
+
&.flatpickr-disabled,
|
|
164
|
+
&.flatpickr-disabled:hover {
|
|
165
|
+
color: cat-token('color.ui.font.muted');
|
|
166
|
+
}
|
|
167
|
+
|
|
145
168
|
&.today {
|
|
146
169
|
color: cat-token('color.theme.primary.text');
|
|
147
170
|
box-shadow: inset 0 0 0 2px cat-token('color.theme.primary.text');
|
|
@@ -153,6 +176,16 @@
|
|
|
153
176
|
}
|
|
154
177
|
}
|
|
155
178
|
|
|
179
|
+
&.flatpickr-disabled,
|
|
180
|
+
&.flatpickr-disabled:hover,
|
|
181
|
+
&.prevMonthDay,
|
|
182
|
+
&.nextMonthDay,
|
|
183
|
+
&.notAllowed,
|
|
184
|
+
&.notAllowed.prevMonthDay,
|
|
185
|
+
&.notAllowed.nextMonthDay {
|
|
186
|
+
color: cat-token('color.ui.font.muted', 0.5);
|
|
187
|
+
}
|
|
188
|
+
|
|
156
189
|
&.selected,
|
|
157
190
|
&.startRange,
|
|
158
191
|
&.endRange {
|
|
@@ -241,22 +274,33 @@
|
|
|
241
274
|
}
|
|
242
275
|
}
|
|
243
276
|
|
|
244
|
-
.flatpickr-time .numInputWrapper {
|
|
245
|
-
height: 2.25rem;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
277
|
.flatpickr-calendar.hasTime .flatpickr-time {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
max-height: 2.25rem;
|
|
252
|
-
border-top: none;
|
|
278
|
+
border: 1px solid cat-token('color.ui.border.default');
|
|
279
|
+
border-radius: cat-token('size.border.radius.m');
|
|
253
280
|
min-width: 12rem;
|
|
281
|
+
height: auto;
|
|
282
|
+
|
|
283
|
+
.numInputWrapper {
|
|
284
|
+
height: 2rem;
|
|
285
|
+
padding: 0;
|
|
286
|
+
margin: 0.25rem;
|
|
287
|
+
display: flex;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.flatpickr-calendar.hasTime.noCalendar {
|
|
292
|
+
padding: 0;
|
|
293
|
+
|
|
294
|
+
.flatpickr-time {
|
|
295
|
+
border: none;
|
|
296
|
+
}
|
|
254
297
|
}
|
|
255
298
|
|
|
256
299
|
.flatpickr-time .flatpickr-time-separator,
|
|
257
300
|
.flatpickr-time .flatpickr-am-pm {
|
|
258
301
|
margin: 0 0.25rem;
|
|
259
302
|
@include cat-head(4, 400);
|
|
303
|
+
color: cat-token('color.ui.font.body');
|
|
260
304
|
line-height: 2.25rem;
|
|
261
305
|
}
|
|
262
306
|
|
|
@@ -272,10 +316,14 @@
|
|
|
272
316
|
}
|
|
273
317
|
|
|
274
318
|
.flatpickr-time {
|
|
319
|
+
max-height: unset;
|
|
320
|
+
|
|
275
321
|
input {
|
|
276
322
|
background: transparent !important;
|
|
277
|
-
|
|
323
|
+
color: cat-token('color.ui.font.body');
|
|
324
|
+
font-size: cat-token('size.font.body.m');
|
|
278
325
|
line-height: 2.25rem;
|
|
326
|
+
font-family: inherit;
|
|
279
327
|
|
|
280
328
|
&.flatpickr-hour {
|
|
281
329
|
font-weight: inherit;
|