@povio/ui 2.3.0-rc.24 → 2.3.0-rc.25

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.
@@ -155,6 +155,12 @@ var DatePickerBase = (props) => {
155
155
  dialogState.setValue(todayValue);
156
156
  calendarState.setFocusedDate(todayValue);
157
157
  };
158
+ const onInputClear = () => {
159
+ state.setValue(null);
160
+ dialogState.setValue(null);
161
+ calendarState.setFocusedDate(today(DATE_PICKER_TIME_ZONE));
162
+ if (fireBlurOnChange) handleBlur(null);
163
+ };
158
164
  useEffect(() => {
159
165
  if (!state.isOpen) return;
160
166
  if (granularity !== "year") return;
@@ -211,7 +217,8 @@ var DatePickerBase = (props) => {
211
217
  dateGranularity: granularity,
212
218
  format,
213
219
  timeZone: DATE_PICKER_TIME_ZONE,
214
- fireBlurOnChange
220
+ fireBlurOnChange,
221
+ onClear: onInputClear
215
222
  }), (!disableDropdown || disableManualEntry) && state.isOpen && /* @__PURE__ */ jsx(DateTimeDialog, {
216
223
  footer: /* @__PURE__ */ jsx(DateTimeDialogFooter, {
217
224
  isDisabled,
@@ -370,7 +377,7 @@ var DatePickerInner = (t0) => {
370
377
  }
371
378
  const T0 = DatePickerBase;
372
379
  const t9 = mergeRefs(props.ref, inputRef);
373
- const t10 = parseCalendarDate(props.value);
380
+ const t10 = parseCalendarDate(rawValue);
374
381
  let t11;
375
382
  if ($[17] !== formatCalendarDate || $[18] !== props) {
376
383
  t11 = (value) => props.onChange?.(formatCalendarDate(value));
@@ -365,6 +365,11 @@ var DateRangePickerBase = (props) => {
365
365
  end: todayDate
366
366
  });
367
367
  };
368
+ const onInputClear = () => {
369
+ state.setValue(null);
370
+ handleCalendarStatesChange(null);
371
+ if (fireBlurOnChange) handleBlur(null);
372
+ };
368
373
  const onOpenChange = (isOpen) => {
369
374
  state.toggle();
370
375
  if (!isOpen) {
@@ -516,7 +521,8 @@ var DateRangePickerBase = (props) => {
516
521
  className: inputClassName,
517
522
  onOpenDropdown: () => state.toggle(),
518
523
  timeZone: DATE_PICKER_TIME_ZONE,
519
- fireBlurOnChange
524
+ fireBlurOnChange,
525
+ onClear: onInputClear
520
526
  }), /* @__PURE__ */ jsx(DateTimeDialog, {
521
527
  hideSidebar,
522
528
  sidebar: /* @__PURE__ */ jsx("div", {
@@ -712,7 +718,7 @@ var DateRangePickerInner = (t0) => {
712
718
  }
713
719
  const T0 = DateRangePickerBase;
714
720
  const t8 = mergeRefs(props.ref, inputRef);
715
- const t9 = parseDateRange(props.value);
721
+ const t9 = parseDateRange(rawValue);
716
722
  let t10;
717
723
  if ($[15] !== formatDateRange || $[16] !== props) {
718
724
  t10 = (value) => props.onChange?.(formatDateRange(value));
@@ -148,6 +148,12 @@ var DateTimePickerBase = (props) => {
148
148
  dialogState.setValue(currentValue);
149
149
  calendarState.setFocusedDate(toCalendarDate(currentValue));
150
150
  };
151
+ const onInputClear = () => {
152
+ state.setValue(null);
153
+ dialogState.setValue(null);
154
+ calendarState.setFocusedDate(today(effectiveTimeZone));
155
+ if (fireBlurOnChange) handleBlur(null);
156
+ };
151
157
  const onOpenChange = (isOpen) => {
152
158
  state.toggle();
153
159
  calendarState.setFocusedDate(state.value || today(effectiveTimeZone));
@@ -210,7 +216,8 @@ var DateTimePickerBase = (props) => {
210
216
  timeZone: effectiveTimeZone,
211
217
  isTimeOptional,
212
218
  format,
213
- fireBlurOnChange
219
+ fireBlurOnChange,
220
+ onClear: onInputClear
214
221
  }), (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(DateTimeDialog, {
215
222
  footer: /* @__PURE__ */ jsx(DateTimeDialogFooter, {
216
223
  isDisabled,
@@ -304,7 +311,7 @@ var DateTimePickerInner = (t0) => {
304
311
  }
305
312
  const T0 = DateTimePickerBase;
306
313
  const t2 = mergeRefs(props.ref, inputRef);
307
- const t3 = parseDateValue(props.value);
314
+ const t3 = parseDateValue(rawValue);
308
315
  let t4;
309
316
  if ($[0] !== formatDateValue || $[1] !== props) {
310
317
  t4 = (value) => props.onChange?.(formatDateValue(value));
@@ -484,7 +484,7 @@ var TimePickerInner = (t0) => {
484
484
  }
485
485
  const T0 = TimePickerBase;
486
486
  const t1 = mergeRefs(props.ref, inputRef);
487
- const t2 = parseTimeValue(props.value);
487
+ const t2 = parseTimeValue(rawValue);
488
488
  let t3;
489
489
  if ($[0] !== formatTimeValue || $[1] !== props) {
490
490
  t3 = (value) => props.onChange?.(formatTimeValue(value));
@@ -34,6 +34,7 @@ interface DatePickerInputProps extends InputVariantProps {
34
34
  isTimeOptional?: boolean;
35
35
  format?: string;
36
36
  fireBlurOnChange?: boolean;
37
+ onClear?: () => void;
37
38
  }
38
- export declare const DatePickerInput: ({ ref, as, groupProps, fieldProps, endFieldProps, buttonProps, isDisabled, isInvalid, disableDropdown, variant, size, isDateTime, isClearable, headerProps, todayIcon, todayIconButtonSize, todayIconPlacement, isDirty, isRequired, disableManualEntry, autoFixYear, placeholder, className, onOpenDropdown, dateGranularity, timeZone, isTimeOptional, format, fireBlurOnChange, ...props }: DatePickerInputProps) => import("react/jsx-runtime").JSX.Element;
39
+ export declare const DatePickerInput: ({ ref, as, groupProps, fieldProps, endFieldProps, buttonProps, isDisabled, isInvalid, disableDropdown, variant, size, isDateTime, isClearable, headerProps, todayIcon, todayIconButtonSize, todayIconPlacement, isDirty, isRequired, disableManualEntry, autoFixYear, placeholder, className, onOpenDropdown, dateGranularity, timeZone, isTimeOptional, format, fireBlurOnChange, onClear: onClearProp, ...props }: DatePickerInputProps) => import("react/jsx-runtime").JSX.Element;
39
40
  export {};
@@ -19,7 +19,7 @@ import { today } from "@internationalized/date";
19
19
  //#region src/components/inputs/DateTime/shared/DatePickerInput.tsx
20
20
  var DatePickerInput = (t0) => {
21
21
  const $ = c(99);
22
- const { ref, as, groupProps, fieldProps, endFieldProps, buttonProps, isDisabled, isInvalid, disableDropdown, variant, size, isDateTime, isClearable, headerProps, todayIcon, todayIconButtonSize: t1, todayIconPlacement: t2, isDirty, isRequired, disableManualEntry, autoFixYear: t3, placeholder, className, onOpenDropdown, dateGranularity: t4, timeZone, isTimeOptional: t5, format, fireBlurOnChange, ...props } = t0;
22
+ const { ref, as, groupProps, fieldProps, endFieldProps, buttonProps, isDisabled, isInvalid, disableDropdown, variant, size, isDateTime, isClearable, headerProps, todayIcon, todayIconButtonSize: t1, todayIconPlacement: t2, isDirty, isRequired, disableManualEntry, autoFixYear: t3, placeholder, className, onOpenDropdown, dateGranularity: t4, timeZone, isTimeOptional: t5, format, fireBlurOnChange, onClear: onClearProp, ...props } = t0;
23
23
  const todayIconButtonSize = t1 === void 0 ? "none" : t1;
24
24
  const todayIconPlacement = t2 === void 0 ? "content" : t2;
25
25
  const autoFixYear = t3 === void 0 ? false : t3;
@@ -57,57 +57,55 @@ var DatePickerInput = (t0) => {
57
57
  const endDateFieldRef = useRef(null);
58
58
  const containerRef = useRef(null);
59
59
  let t8;
60
- if ($[4] !== endFieldProps || $[5] !== fieldProps || $[6] !== fireBlurOnChange) {
61
- t8 = () => ({
62
- clear: () => {
63
- dateFieldRef.current?.clearField();
60
+ if ($[4] !== endFieldProps || $[5] !== fieldProps || $[6] !== fireBlurOnChange || $[7] !== onClearProp) {
61
+ t8 = () => {
62
+ dateFieldRef.current?.clearField();
63
+ endDateFieldRef.current?.clearField();
64
+ if (onClearProp) onClearProp();
65
+ else {
64
66
  fieldProps.onChange?.(null);
65
- endDateFieldRef.current?.clearField();
66
- if (endFieldProps) endFieldProps.onChange?.(null);
67
- setCanClear(false);
67
+ endFieldProps?.onChange?.(null);
68
68
  if (fireBlurOnChange) {
69
69
  fieldProps.onBlur?.(null);
70
70
  endFieldProps?.onBlur?.(null);
71
71
  }
72
- },
73
- getContainer: () => containerRef.current
74
- });
72
+ }
73
+ setCanClear(false);
74
+ };
75
75
  $[4] = endFieldProps;
76
76
  $[5] = fieldProps;
77
77
  $[6] = fireBlurOnChange;
78
- $[7] = t8;
79
- } else t8 = $[7];
80
- useImperativeHandle(ref, t8);
78
+ $[7] = onClearProp;
79
+ $[8] = t8;
80
+ } else t8 = $[8];
81
+ const clearInput = t8;
82
+ let t10;
81
83
  let t9;
82
- if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
83
- t9 = (canClearInput) => {
84
+ if ($[9] !== clearInput) {
85
+ t9 = () => ({
86
+ clear: clearInput,
87
+ getContainer: () => containerRef.current
88
+ });
89
+ t10 = [clearInput];
90
+ $[9] = clearInput;
91
+ $[10] = t10;
92
+ $[11] = t9;
93
+ } else {
94
+ t10 = $[10];
95
+ t9 = $[11];
96
+ }
97
+ useImperativeHandle(ref, t9, t10);
98
+ let t11;
99
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
100
+ t11 = (canClearInput) => {
84
101
  setCanClear(canClearInput);
85
102
  };
86
- $[8] = t9;
87
- } else t9 = $[8];
88
- const onClearChange = t9;
89
- let t10;
90
- if ($[9] !== endFieldProps || $[10] !== fieldProps || $[11] !== fireBlurOnChange) {
91
- t10 = () => {
92
- dateFieldRef.current?.clearField();
93
- fieldProps.onChange?.(null);
94
- endDateFieldRef.current?.clearField();
95
- endFieldProps?.onChange?.(null);
96
- setCanClear(false);
97
- if (fireBlurOnChange) {
98
- fieldProps.onBlur?.(null);
99
- endFieldProps?.onBlur?.(null);
100
- }
101
- };
102
- $[9] = endFieldProps;
103
- $[10] = fieldProps;
104
- $[11] = fireBlurOnChange;
105
- $[12] = t10;
106
- } else t10 = $[12];
107
- const onClear = t10;
108
- let t11;
103
+ $[12] = t11;
104
+ } else t11 = $[12];
105
+ const onClearChange = t11;
106
+ let t12;
109
107
  if ($[13] !== effectiveTimeZone || $[14] !== endFieldProps || $[15] !== fieldProps || $[16] !== fireBlurOnChange || $[17] !== isDateTime) {
110
- t11 = () => {
108
+ t12 = () => {
111
109
  if (isDateTime) {
112
110
  const calendarDateTime = DateTimeUtils.getCurrentWallClockCalendarDateTime();
113
111
  fieldProps.onChange?.(calendarDateTime);
@@ -126,20 +124,20 @@ var DatePickerInput = (t0) => {
126
124
  $[15] = fieldProps;
127
125
  $[16] = fireBlurOnChange;
128
126
  $[17] = isDateTime;
129
- $[18] = t11;
130
- } else t11 = $[18];
131
- const onToday = t11;
127
+ $[18] = t12;
128
+ } else t12 = $[18];
129
+ const onToday = t12;
132
130
  const hidePlaceholder = as === "floating" && !fieldProps.value && !isFocused;
133
- let t12;
131
+ let t13;
134
132
  if ($[19] !== todayIcon) {
135
- t12 = getDatePickerTodayIcon(todayIcon);
133
+ t13 = getDatePickerTodayIcon(todayIcon);
136
134
  $[19] = todayIcon;
137
- $[20] = t12;
138
- } else t12 = $[20];
139
- const todayIconComponent = t12;
140
- let t13;
135
+ $[20] = t13;
136
+ } else t13 = $[20];
137
+ const todayIconComponent = t13;
138
+ let t14;
141
139
  if ($[21] !== onToday || $[22] !== todayIconButtonSize || $[23] !== todayIconComponent) {
142
- t13 = todayIconComponent ? /* @__PURE__ */ jsx(InlineIconButton, {
140
+ t14 = todayIconComponent ? /* @__PURE__ */ jsx(InlineIconButton, {
143
141
  label: "",
144
142
  icon: todayIconComponent,
145
143
  size: todayIconButtonSize,
@@ -149,59 +147,59 @@ var DatePickerInput = (t0) => {
149
147
  $[21] = onToday;
150
148
  $[22] = todayIconButtonSize;
151
149
  $[23] = todayIconComponent;
152
- $[24] = t13;
153
- } else t13 = $[24];
154
- const todayIconButton = t13;
150
+ $[24] = t14;
151
+ } else t14 = $[24];
152
+ const todayIconButton = t14;
155
153
  const shouldRenderTodayIconWithFieldLabel = todayIconPlacement === "fieldLabel";
156
154
  const pickerIcon = isDateTime ? uiConfig.dateInput.dateTimeIcon : uiConfig.dateInput.calendarIcon;
157
- const t14 = clsx("group/date-picker-content relative flex min-w-input-width-min-width items-center justify-between gap-2", inputBaseCva({
155
+ const t15 = clsx("group/date-picker-content relative flex min-w-input-width-min-width items-center justify-between gap-2", inputBaseCva({
158
156
  variant,
159
157
  as,
160
158
  ...props
161
159
  }), className);
162
- const t15 = isHovered || void 0;
163
- const t16 = isDisabled || void 0;
160
+ const t16 = isHovered || void 0;
164
161
  const t17 = isDisabled || void 0;
165
- const t18 = isInvalid || void 0;
166
- const t19 = fieldProps.value === null || void 0;
167
- const t20 = isFocused || void 0;
168
- const t21 = isFocused && isFocusVisible || void 0;
169
- const t22 = fieldProps.value !== null || void 0;
170
- const t23 = isDirty || void 0;
171
- const t24 = isRequired || void 0;
172
- const t25 = fieldProps.value !== null || void 0;
173
- let t26;
162
+ const t18 = isDisabled || void 0;
163
+ const t19 = isInvalid || void 0;
164
+ const t20 = fieldProps.value === null || void 0;
165
+ const t21 = isFocused || void 0;
166
+ const t22 = isFocused && isFocusVisible || void 0;
167
+ const t23 = fieldProps.value !== null || void 0;
168
+ const t24 = isDirty || void 0;
169
+ const t25 = isRequired || void 0;
170
+ const t26 = fieldProps.value !== null || void 0;
171
+ let t27;
174
172
  if ($[25] !== as || $[26] !== inputSizeCva || $[27] !== size) {
175
- t26 = clsx("flex w-full items-center gap-input-gap-input-text-to-elements pr-0!", inputSizeCva({
173
+ t27 = clsx("flex w-full items-center gap-input-gap-input-text-to-elements pr-0!", inputSizeCva({
176
174
  size,
177
175
  as
178
176
  }));
179
177
  $[25] = as;
180
178
  $[26] = inputSizeCva;
181
179
  $[27] = size;
182
- $[28] = t26;
183
- } else t26 = $[28];
184
- let t27;
180
+ $[28] = t27;
181
+ } else t27 = $[28];
182
+ let t28;
185
183
  if ($[29] !== as || $[30] !== headerProps) {
186
- t27 = as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
184
+ t28 = as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
187
185
  as,
188
186
  ...headerProps
189
187
  });
190
188
  $[29] = as;
191
189
  $[30] = headerProps;
192
- $[31] = t27;
193
- } else t27 = $[31];
194
- const t28 = shouldRenderTodayIconWithFieldLabel && todayIconButton;
195
- let t29;
190
+ $[31] = t28;
191
+ } else t28 = $[31];
192
+ const t29 = shouldRenderTodayIconWithFieldLabel && todayIconButton;
193
+ let t30;
196
194
  if ($[32] !== datePickerInputContentRowCva || $[33] !== size) {
197
- t29 = datePickerInputContentRowCva({ size });
195
+ t30 = datePickerInputContentRowCva({ size });
198
196
  $[32] = datePickerInputContentRowCva;
199
197
  $[33] = size;
200
- $[34] = t29;
201
- } else t29 = $[34];
202
- let t30;
198
+ $[34] = t30;
199
+ } else t30 = $[34];
200
+ let t31;
203
201
  if ($[35] !== disableManualEntry || $[36] !== isDisabled || $[37] !== onOpenDropdown) {
204
- t30 = disableManualEntry && /* @__PURE__ */ jsx(Button, {
202
+ t31 = disableManualEntry && /* @__PURE__ */ jsx(Button, {
205
203
  onPress: onOpenDropdown,
206
204
  className: "absolute inset-0 z-0",
207
205
  isDisabled
@@ -209,12 +207,12 @@ var DatePickerInput = (t0) => {
209
207
  $[35] = disableManualEntry;
210
208
  $[36] = isDisabled;
211
209
  $[37] = onOpenDropdown;
212
- $[38] = t30;
213
- } else t30 = $[38];
214
- const t31 = !shouldRenderTodayIconWithFieldLabel && todayIconButton;
215
- let t32;
210
+ $[38] = t31;
211
+ } else t31 = $[38];
212
+ const t32 = !shouldRenderTodayIconWithFieldLabel && todayIconButton;
213
+ let t33;
216
214
  if ($[39] !== as || $[40] !== dateGranularity || $[41] !== disableManualEntry || $[42] !== effectiveTimeZone || $[43] !== endFieldProps || $[44] !== fieldProps || $[45] !== format || $[46] !== hidePlaceholder || $[47] !== isDisabled || $[48] !== isInvalid || $[49] !== isTimeOptional || $[50] !== onClearChange || $[51] !== placeholder) {
217
- t32 = disableManualEntry && placeholder && !fieldProps.value ? /* @__PURE__ */ jsx(Typography, {
215
+ t33 = disableManualEntry && placeholder && !fieldProps.value ? /* @__PURE__ */ jsx(Typography, {
218
216
  size: "label-1",
219
217
  className: "text-text-default-3",
220
218
  children: placeholder
@@ -258,65 +256,65 @@ var DatePickerInput = (t0) => {
258
256
  $[49] = isTimeOptional;
259
257
  $[50] = onClearChange;
260
258
  $[51] = placeholder;
261
- $[52] = t32;
262
- } else t32 = $[52];
263
- let t33;
264
- if ($[53] !== t29 || $[54] !== t30 || $[55] !== t31 || $[56] !== t32) {
265
- t33 = /* @__PURE__ */ jsxs("div", {
266
- className: t29,
259
+ $[52] = t33;
260
+ } else t33 = $[52];
261
+ let t34;
262
+ if ($[53] !== t30 || $[54] !== t31 || $[55] !== t32 || $[56] !== t33) {
263
+ t34 = /* @__PURE__ */ jsxs("div", {
264
+ className: t30,
267
265
  children: [
268
- t30,
269
266
  t31,
270
- t32
267
+ t32,
268
+ t33
271
269
  ]
272
270
  });
273
- $[53] = t29;
274
- $[54] = t30;
275
- $[55] = t31;
276
- $[56] = t32;
277
- $[57] = t33;
278
- } else t33 = $[57];
279
- let t34;
280
- if ($[58] !== t26 || $[59] !== t27 || $[60] !== t28 || $[61] !== t33) {
281
- t34 = /* @__PURE__ */ jsxs("div", {
282
- className: t26,
271
+ $[53] = t30;
272
+ $[54] = t31;
273
+ $[55] = t32;
274
+ $[56] = t33;
275
+ $[57] = t34;
276
+ } else t34 = $[57];
277
+ let t35;
278
+ if ($[58] !== t27 || $[59] !== t28 || $[60] !== t29 || $[61] !== t34) {
279
+ t35 = /* @__PURE__ */ jsxs("div", {
280
+ className: t27,
283
281
  children: [
284
- t27,
285
282
  t28,
286
- t33
283
+ t29,
284
+ t34
287
285
  ]
288
286
  });
289
- $[58] = t26;
290
- $[59] = t27;
291
- $[60] = t28;
292
- $[61] = t33;
293
- $[62] = t34;
294
- } else t34 = $[62];
295
- let t35;
287
+ $[58] = t27;
288
+ $[59] = t28;
289
+ $[60] = t29;
290
+ $[61] = t34;
291
+ $[62] = t35;
292
+ } else t35 = $[62];
293
+ let t36;
296
294
  if ($[63] !== as || $[64] !== inputSizeCva || $[65] !== size) {
297
- t35 = clsx(inputSizeCva({
295
+ t36 = clsx(inputSizeCva({
298
296
  size,
299
297
  as
300
298
  }), "flex items-center gap-input-gap-trailing-elements py-0! pl-0!");
301
299
  $[63] = as;
302
300
  $[64] = inputSizeCva;
303
301
  $[65] = size;
304
- $[66] = t35;
305
- } else t35 = $[66];
306
- let t36;
307
- if ($[67] !== canClear || $[68] !== isClearable || $[69] !== onClear) {
308
- t36 = isClearable && /* @__PURE__ */ jsx(InputClear, {
309
- onClear,
302
+ $[66] = t36;
303
+ } else t36 = $[66];
304
+ let t37;
305
+ if ($[67] !== canClear || $[68] !== clearInput || $[69] !== isClearable) {
306
+ t37 = isClearable && /* @__PURE__ */ jsx(InputClear, {
307
+ onClear: clearInput,
310
308
  show: canClear
311
309
  });
312
310
  $[67] = canClear;
313
- $[68] = isClearable;
314
- $[69] = onClear;
315
- $[70] = t36;
316
- } else t36 = $[70];
317
- let t37;
311
+ $[68] = clearInput;
312
+ $[69] = isClearable;
313
+ $[70] = t37;
314
+ } else t37 = $[70];
315
+ let t38;
318
316
  if ($[71] !== buttonProps || $[72] !== disableDropdown || $[73] !== disableManualEntry || $[74] !== isDisabled || $[75] !== pickerIcon) {
319
- t37 = (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(InlineIconButton, {
317
+ t38 = (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(InlineIconButton, {
320
318
  label: "",
321
319
  color: "secondary",
322
320
  ...buttonProps,
@@ -329,62 +327,62 @@ var DatePickerInput = (t0) => {
329
327
  $[73] = disableManualEntry;
330
328
  $[74] = isDisabled;
331
329
  $[75] = pickerIcon;
332
- $[76] = t37;
333
- } else t37 = $[76];
334
- let t38;
335
- if ($[77] !== t35 || $[78] !== t36 || $[79] !== t37) {
336
- t38 = /* @__PURE__ */ jsxs("div", {
337
- className: t35,
338
- children: [t36, t37]
339
- });
340
- $[77] = t35;
341
- $[78] = t36;
342
- $[79] = t37;
343
- $[80] = t38;
344
- } else t38 = $[80];
330
+ $[76] = t38;
331
+ } else t38 = $[76];
345
332
  let t39;
346
- if ($[81] !== focusWithinProps || $[82] !== groupProps || $[83] !== hoverProps || $[84] !== t14 || $[85] !== t15 || $[86] !== t16 || $[87] !== t17 || $[88] !== t18 || $[89] !== t19 || $[90] !== t20 || $[91] !== t21 || $[92] !== t22 || $[93] !== t23 || $[94] !== t24 || $[95] !== t25 || $[96] !== t34 || $[97] !== t38) {
333
+ if ($[77] !== t36 || $[78] !== t37 || $[79] !== t38) {
347
334
  t39 = /* @__PURE__ */ jsxs("div", {
335
+ className: t36,
336
+ children: [t37, t38]
337
+ });
338
+ $[77] = t36;
339
+ $[78] = t37;
340
+ $[79] = t38;
341
+ $[80] = t39;
342
+ } else t39 = $[80];
343
+ let t40;
344
+ if ($[81] !== focusWithinProps || $[82] !== groupProps || $[83] !== hoverProps || $[84] !== t15 || $[85] !== t16 || $[86] !== t17 || $[87] !== t18 || $[88] !== t19 || $[89] !== t20 || $[90] !== t21 || $[91] !== t22 || $[92] !== t23 || $[93] !== t24 || $[94] !== t25 || $[95] !== t26 || $[96] !== t35 || $[97] !== t39) {
345
+ t40 = /* @__PURE__ */ jsxs("div", {
348
346
  ref: containerRef,
349
- className: t14,
347
+ className: t15,
350
348
  "data-rac": "",
351
349
  "data-datetime-input": "",
352
- "data-hovered": t15,
353
- "data-disabled": t16,
354
- "data-is-disabled": t17,
355
- "data-invalid": t18,
356
- "data-is-empty": t19,
357
- "data-focus-within": t20,
358
- "data-focus-visible": t21,
359
- "data-has-selection": t22,
360
- "data-is-dirty": t23,
361
- "data-is-required": t24,
362
- "data-is-filled": t25,
350
+ "data-hovered": t16,
351
+ "data-disabled": t17,
352
+ "data-is-disabled": t18,
353
+ "data-invalid": t19,
354
+ "data-is-empty": t20,
355
+ "data-focus-within": t21,
356
+ "data-focus-visible": t22,
357
+ "data-has-selection": t23,
358
+ "data-is-dirty": t24,
359
+ "data-is-required": t25,
360
+ "data-is-filled": t26,
363
361
  ...groupProps,
364
362
  ...focusWithinProps,
365
363
  ...hoverProps,
366
- children: [t34, t38]
364
+ children: [t35, t39]
367
365
  });
368
366
  $[81] = focusWithinProps;
369
367
  $[82] = groupProps;
370
368
  $[83] = hoverProps;
371
- $[84] = t14;
372
- $[85] = t15;
373
- $[86] = t16;
374
- $[87] = t17;
375
- $[88] = t18;
376
- $[89] = t19;
377
- $[90] = t20;
378
- $[91] = t21;
379
- $[92] = t22;
380
- $[93] = t23;
381
- $[94] = t24;
382
- $[95] = t25;
383
- $[96] = t34;
384
- $[97] = t38;
385
- $[98] = t39;
386
- } else t39 = $[98];
387
- return t39;
369
+ $[84] = t15;
370
+ $[85] = t16;
371
+ $[86] = t17;
372
+ $[87] = t18;
373
+ $[88] = t19;
374
+ $[89] = t20;
375
+ $[90] = t21;
376
+ $[91] = t22;
377
+ $[92] = t23;
378
+ $[93] = t24;
379
+ $[94] = t25;
380
+ $[95] = t26;
381
+ $[96] = t35;
382
+ $[97] = t39;
383
+ $[98] = t40;
384
+ } else t40 = $[98];
385
+ return t40;
388
386
  };
389
387
  //#endregion
390
388
  export { DatePickerInput };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@povio/ui",
3
- "version": "2.3.0-rc.24",
3
+ "version": "2.3.0-rc.25",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",