@povio/ui 2.3.0-rc.13 → 2.3.0-rc.14

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.
@@ -19,10 +19,11 @@ import { useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState
19
19
  import { useDatePicker, useLocale } from "react-aria";
20
20
  import { mergeRefs } from "@react-aria/utils";
21
21
  import { Controller, useWatch } from "react-hook-form";
22
- import { createCalendar, getLocalTimeZone, toCalendarDate, today } from "@internationalized/date";
22
+ import { createCalendar, toCalendarDate, today } from "@internationalized/date";
23
23
  import { DateTime } from "luxon";
24
24
  import { useCalendarState, useDatePickerState } from "react-stately";
25
25
  //#region src/components/inputs/DateTime/DatePicker/DatePicker.tsx
26
+ var DATE_PICKER_TIME_ZONE = "UTC";
26
27
  var DatePickerBase = (props) => {
27
28
  const ui = UIConfig.useConfig();
28
29
  const { ref, label, tooltipText, helperText, isRequired, rightContent, isDirty, isDisabled, headerClassName, errorClassName, isHeaderHidden, error, onChange, onBlur, value, disableDropdown, className, placeholder, inputClassName, as: asProp, hideLabel: hideLabelProp, variant: variantProp, size: sizeProp, isClearable: isClearableProp, todayIcon: todayIconProp, todayIconButtonSize: todayIconButtonSizeProp, todayIconPlacement: todayIconPlacementProp, shouldForceLeadingZeros: shouldForceLeadingZerosProp, disableManualEntry: disableManualEntryProp, shouldUpdateDateOnMonthYearChange: shouldUpdateDateOnMonthYearChangeProp, granularity: granularityProp, autoFixYear: autoFixYearProp, format, ...rest } = props;
@@ -98,7 +99,7 @@ var DatePickerBase = (props) => {
98
99
  calendarState.setFocusedDate(normalizedValue);
99
100
  return;
100
101
  }
101
- calendarState.setFocusedDate(today(getLocalTimeZone()));
102
+ calendarState.setFocusedDate(today(DATE_PICKER_TIME_ZONE));
102
103
  },
103
104
  shouldCloseOnSelect: false
104
105
  });
@@ -137,7 +138,7 @@ var DatePickerBase = (props) => {
137
138
  };
138
139
  const onMonthYearChange = (selectedDate) => {
139
140
  if (!(shouldUpdateDateOnMonthYearChange || granularity !== "day")) return;
140
- const updatedDate = normalizeByGranularity((dialogState.value || state.value || today(getLocalTimeZone())).set({
141
+ const updatedDate = normalizeByGranularity((dialogState.value || state.value || today(DATE_PICKER_TIME_ZONE)).set({
141
142
  year: selectedDate.year,
142
143
  month: selectedDate.month
143
144
  }));
@@ -148,7 +149,7 @@ var DatePickerBase = (props) => {
148
149
  onApply();
149
150
  };
150
151
  const onTodayPress = () => {
151
- const todayValue = normalizeByGranularity(today(getLocalTimeZone()));
152
+ const todayValue = normalizeByGranularity(today(DATE_PICKER_TIME_ZONE));
152
153
  dialogState.setValue(todayValue);
153
154
  calendarState.setFocusedDate(todayValue);
154
155
  };
@@ -156,7 +157,7 @@ var DatePickerBase = (props) => {
156
157
  if (!state.isOpen) return;
157
158
  if (granularity !== "year") return;
158
159
  if (dialogState.value) return;
159
- const defaultYearValue = normalizeByGranularity(today(getLocalTimeZone()));
160
+ const defaultYearValue = normalizeByGranularity(today(DATE_PICKER_TIME_ZONE));
160
161
  dialogState.setValue(defaultYearValue);
161
162
  calendarState.setFocusedDate(defaultYearValue);
162
163
  }, [
@@ -170,7 +171,7 @@ var DatePickerBase = (props) => {
170
171
  const onOpenChange = (isOpen) => {
171
172
  state.toggle();
172
173
  if (state.value) calendarState.setFocusedDate(normalizeByGranularity(state.value));
173
- if (!state.value) calendarState.setFocusedDate(today(getLocalTimeZone()));
174
+ if (!state.value) calendarState.setFocusedDate(today(DATE_PICKER_TIME_ZONE));
174
175
  if (!isOpen) dialogState.setValue(state.value);
175
176
  };
176
177
  return /* @__PURE__ */ jsx(TooltipWrapper, {
@@ -206,7 +207,8 @@ var DatePickerBase = (props) => {
206
207
  placeholder,
207
208
  className: inputClassName,
208
209
  dateGranularity: granularity,
209
- format
210
+ format,
211
+ timeZone: DATE_PICKER_TIME_ZONE
210
212
  }), (!disableDropdown || disableManualEntry) && state.isOpen && /* @__PURE__ */ jsx(DateTimeDialog, {
211
213
  footer: /* @__PURE__ */ jsx(DateTimeDialogFooter, {
212
214
  isDisabled,
@@ -23,10 +23,11 @@ import { useDateRangePicker, useLocale as useLocale$1 } from "react-aria";
23
23
  import { mergeRefs } from "@react-aria/utils";
24
24
  import { useTranslation } from "react-i18next";
25
25
  import { Controller, useWatch } from "react-hook-form";
26
- import { createCalendar, endOfMonth, endOfWeek, endOfYear, getLocalTimeZone, startOfMonth, startOfWeek, startOfYear, toCalendarDate, today } from "@internationalized/date";
26
+ import { createCalendar, endOfMonth, endOfWeek, endOfYear, startOfMonth, startOfWeek, startOfYear, toCalendarDate, today } from "@internationalized/date";
27
27
  import { DateTime } from "luxon";
28
28
  import { useDateRangePickerState, useRangeCalendarState } from "react-stately";
29
29
  //#region src/components/inputs/DateTime/DateRangePicker/DateRangePicker.tsx
30
+ var DATE_PICKER_TIME_ZONE = "UTC";
30
31
  var DateRangePickerBase = (props) => {
31
32
  const ui = UIConfig.useConfig();
32
33
  const { t } = useTranslation();
@@ -114,7 +115,7 @@ var DateRangePickerBase = (props) => {
114
115
  createCalendar,
115
116
  pageBehavior: "single",
116
117
  visibleDuration: { months: 1 },
117
- defaultFocusedValue: today(getLocalTimeZone()).add({ months: 1 }),
118
+ defaultFocusedValue: today(DATE_PICKER_TIME_ZONE).add({ months: 1 }),
118
119
  minValue: void 0,
119
120
  maxValue: void 0
120
121
  });
@@ -354,7 +355,7 @@ var DateRangePickerBase = (props) => {
354
355
  state.toggle();
355
356
  };
356
357
  const onTodayPress = () => {
357
- const todayDate = today(getLocalTimeZone());
358
+ const todayDate = today(DATE_PICKER_TIME_ZONE);
358
359
  leftCalendarState.setFocusedDate(todayDate);
359
360
  rightCalendarState.setFocusedDate(todayDate.add({ months: 1 }));
360
361
  syncCalendarStates({
@@ -369,8 +370,8 @@ var DateRangePickerBase = (props) => {
369
370
  dialogState.setValue(state.value);
370
371
  leftCalendarState.setValue(state.value);
371
372
  rightCalendarState.setValue(state.value);
372
- const startDate_1 = state.value.start || today(getLocalTimeZone());
373
- const endDate_1 = state.value.end || today(getLocalTimeZone()).add({ months: 1 });
373
+ const startDate_1 = state.value.start || today(DATE_PICKER_TIME_ZONE);
374
+ const endDate_1 = state.value.end || today(DATE_PICKER_TIME_ZONE).add({ months: 1 });
374
375
  leftCalendarState.setFocusedDate(startDate_1);
375
376
  if (startDate_1.year === endDate_1.year && startDate_1.month === endDate_1.month) rightCalendarState.setFocusedDate(startDate_1.add({ months: 1 }));
376
377
  else rightCalendarState.setFocusedDate(endDate_1);
@@ -382,7 +383,7 @@ var DateRangePickerBase = (props) => {
382
383
  }
383
384
  }
384
385
  };
385
- const todayDate_0 = today(getLocalTimeZone());
386
+ const todayDate_0 = today(DATE_PICKER_TIME_ZONE);
386
387
  const getThisWeekRange = () => {
387
388
  return {
388
389
  start: startOfWeek(todayDate_0, locale),
@@ -511,7 +512,8 @@ var DateRangePickerBase = (props) => {
511
512
  autoFixYear,
512
513
  placeholder,
513
514
  className: inputClassName,
514
- onOpenDropdown: () => state.toggle()
515
+ onOpenDropdown: () => state.toggle(),
516
+ timeZone: DATE_PICKER_TIME_ZONE
515
517
  }), /* @__PURE__ */ jsx(DateTimeDialog, {
516
518
  hideSidebar,
517
519
  sidebar: /* @__PURE__ */ jsx("div", {
@@ -14,10 +14,10 @@ import { clsx } from "clsx";
14
14
  import { useImperativeHandle, useRef, useState } from "react";
15
15
  import { Button } from "react-aria-components";
16
16
  import { useFocusVisible, useFocusWithin, useHover } from "react-aria";
17
- import { getLocalTimeZone, now, toCalendarDateTime, today } from "@internationalized/date";
17
+ import { now, toCalendarDateTime, today } from "@internationalized/date";
18
18
  //#region src/components/inputs/DateTime/shared/DatePickerInput.tsx
19
19
  var DatePickerInput = (t0) => {
20
- const $ = c(98);
20
+ const $ = c(96);
21
21
  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, ...props } = t0;
22
22
  const todayIconButtonSize = t1 === void 0 ? "none" : t1;
23
23
  const todayIconPlacement = t2 === void 0 ? "content" : t2;
@@ -25,27 +25,21 @@ var DatePickerInput = (t0) => {
25
25
  const dateGranularity = t4 === void 0 ? "day" : t4;
26
26
  const isTimeOptional = t5 === void 0 ? false : t5;
27
27
  const uiConfig = UIConfig.useConfig();
28
- let effectiveTimeZone;
29
- if ($[0] !== timeZone) {
30
- effectiveTimeZone = getLocalTimeZone();
31
- if (timeZone) effectiveTimeZone = timeZone;
32
- $[0] = timeZone;
33
- $[1] = effectiveTimeZone;
34
- } else effectiveTimeZone = $[1];
28
+ const effectiveTimeZone = timeZone ?? "UTC";
35
29
  const inputBaseCva = UIStyle.useCva("input.baseCva", inputBase);
36
30
  const inputSizeCva = UIStyle.useCva("input.sizeCva", inputSize);
37
31
  const datePickerInputContentRowCva = UIStyle.useCva("datePickerInput.contentRowCva", datePickerInputContentRow);
38
32
  const [canClear, setCanClear] = useState(false);
39
33
  let t6;
40
- if ($[2] !== isDisabled) {
34
+ if ($[0] !== isDisabled) {
41
35
  t6 = { isDisabled };
42
- $[2] = isDisabled;
43
- $[3] = t6;
44
- } else t6 = $[3];
36
+ $[0] = isDisabled;
37
+ $[1] = t6;
38
+ } else t6 = $[1];
45
39
  const { hoverProps, isHovered } = useHover(t6);
46
40
  const [isFocused, setIsFocused] = useState(false);
47
41
  let t7;
48
- if ($[4] !== autoFixYear) {
42
+ if ($[2] !== autoFixYear) {
49
43
  t7 = { onFocusWithinChange: (isFocusWithin) => {
50
44
  setIsFocused(isFocusWithin);
51
45
  if (!isFocusWithin && autoFixYear) {
@@ -53,16 +47,16 @@ var DatePickerInput = (t0) => {
53
47
  endDateFieldRef.current?.autoFixYear();
54
48
  }
55
49
  } };
56
- $[4] = autoFixYear;
57
- $[5] = t7;
58
- } else t7 = $[5];
50
+ $[2] = autoFixYear;
51
+ $[3] = t7;
52
+ } else t7 = $[3];
59
53
  const { focusWithinProps } = useFocusWithin(t7);
60
54
  const { isFocusVisible } = useFocusVisible();
61
55
  const dateFieldRef = useRef(null);
62
56
  const endDateFieldRef = useRef(null);
63
57
  const containerRef = useRef(null);
64
58
  let t8;
65
- if ($[6] !== endFieldProps || $[7] !== fieldProps) {
59
+ if ($[4] !== endFieldProps || $[5] !== fieldProps) {
66
60
  t8 = () => ({
67
61
  clear: () => {
68
62
  dateFieldRef.current?.clearField();
@@ -75,21 +69,21 @@ var DatePickerInput = (t0) => {
75
69
  },
76
70
  getContainer: () => containerRef.current
77
71
  });
78
- $[6] = endFieldProps;
79
- $[7] = fieldProps;
80
- $[8] = t8;
81
- } else t8 = $[8];
72
+ $[4] = endFieldProps;
73
+ $[5] = fieldProps;
74
+ $[6] = t8;
75
+ } else t8 = $[6];
82
76
  useImperativeHandle(ref, t8);
83
77
  let t9;
84
- if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
78
+ if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
85
79
  t9 = (canClearInput) => {
86
80
  setCanClear(canClearInput);
87
81
  };
88
- $[9] = t9;
89
- } else t9 = $[9];
82
+ $[7] = t9;
83
+ } else t9 = $[7];
90
84
  const onClearChange = t9;
91
85
  let t10;
92
- if ($[10] !== endFieldProps || $[11] !== fieldProps) {
86
+ if ($[8] !== endFieldProps || $[9] !== fieldProps) {
93
87
  t10 = () => {
94
88
  dateFieldRef.current?.clearField();
95
89
  fieldProps.onChange?.(null);
@@ -99,13 +93,13 @@ var DatePickerInput = (t0) => {
99
93
  fieldProps.onBlur?.(null);
100
94
  endFieldProps?.onBlur?.(null);
101
95
  };
102
- $[10] = endFieldProps;
103
- $[11] = fieldProps;
104
- $[12] = t10;
105
- } else t10 = $[12];
96
+ $[8] = endFieldProps;
97
+ $[9] = fieldProps;
98
+ $[10] = t10;
99
+ } else t10 = $[10];
106
100
  const onClear = t10;
107
101
  let t11;
108
- if ($[13] !== effectiveTimeZone || $[14] !== endFieldProps || $[15] !== fieldProps || $[16] !== isDateTime) {
102
+ if ($[11] !== effectiveTimeZone || $[12] !== endFieldProps || $[13] !== fieldProps || $[14] !== isDateTime) {
109
103
  t11 = () => {
110
104
  if (isDateTime) {
111
105
  const calendarDateTime = toCalendarDateTime(now(effectiveTimeZone));
@@ -118,23 +112,23 @@ var DatePickerInput = (t0) => {
118
112
  fieldProps.onBlur?.(null);
119
113
  endFieldProps?.onBlur?.(null);
120
114
  };
121
- $[13] = effectiveTimeZone;
122
- $[14] = endFieldProps;
123
- $[15] = fieldProps;
124
- $[16] = isDateTime;
125
- $[17] = t11;
126
- } else t11 = $[17];
115
+ $[11] = effectiveTimeZone;
116
+ $[12] = endFieldProps;
117
+ $[13] = fieldProps;
118
+ $[14] = isDateTime;
119
+ $[15] = t11;
120
+ } else t11 = $[15];
127
121
  const onToday = t11;
128
122
  const hidePlaceholder = as === "floating" && !fieldProps.value && !isFocused;
129
123
  let t12;
130
- if ($[18] !== todayIcon) {
124
+ if ($[16] !== todayIcon) {
131
125
  t12 = getDatePickerTodayIcon(todayIcon);
132
- $[18] = todayIcon;
133
- $[19] = t12;
134
- } else t12 = $[19];
126
+ $[16] = todayIcon;
127
+ $[17] = t12;
128
+ } else t12 = $[17];
135
129
  const todayIconComponent = t12;
136
130
  let t13;
137
- if ($[20] !== onToday || $[21] !== todayIconButtonSize || $[22] !== todayIconComponent) {
131
+ if ($[18] !== onToday || $[19] !== todayIconButtonSize || $[20] !== todayIconComponent) {
138
132
  t13 = todayIconComponent ? /* @__PURE__ */ jsx(InlineIconButton, {
139
133
  label: "",
140
134
  icon: todayIconComponent,
@@ -142,11 +136,11 @@ var DatePickerInput = (t0) => {
142
136
  onPress: onToday,
143
137
  className: "relative z-1 !border-none"
144
138
  }) : null;
145
- $[20] = onToday;
146
- $[21] = todayIconButtonSize;
147
- $[22] = todayIconComponent;
148
- $[23] = t13;
149
- } else t13 = $[23];
139
+ $[18] = onToday;
140
+ $[19] = todayIconButtonSize;
141
+ $[20] = todayIconComponent;
142
+ $[21] = t13;
143
+ } else t13 = $[21];
150
144
  const todayIconButton = t13;
151
145
  const shouldRenderTodayIconWithFieldLabel = todayIconPlacement === "fieldLabel";
152
146
  const pickerIcon = isDateTime ? uiConfig.dateInput.dateTimeIcon : uiConfig.dateInput.calendarIcon;
@@ -167,49 +161,49 @@ var DatePickerInput = (t0) => {
167
161
  const t24 = isRequired || void 0;
168
162
  const t25 = fieldProps.value !== null || void 0;
169
163
  let t26;
170
- if ($[24] !== as || $[25] !== inputSizeCva || $[26] !== size) {
164
+ if ($[22] !== as || $[23] !== inputSizeCva || $[24] !== size) {
171
165
  t26 = clsx("flex w-full items-center gap-input-gap-input-text-to-elements pr-0!", inputSizeCva({
172
166
  size,
173
167
  as
174
168
  }));
175
- $[24] = as;
176
- $[25] = inputSizeCva;
177
- $[26] = size;
178
- $[27] = t26;
179
- } else t26 = $[27];
169
+ $[22] = as;
170
+ $[23] = inputSizeCva;
171
+ $[24] = size;
172
+ $[25] = t26;
173
+ } else t26 = $[25];
180
174
  let t27;
181
- if ($[28] !== as || $[29] !== headerProps) {
175
+ if ($[26] !== as || $[27] !== headerProps) {
182
176
  t27 = as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
183
177
  as,
184
178
  ...headerProps
185
179
  });
186
- $[28] = as;
187
- $[29] = headerProps;
188
- $[30] = t27;
189
- } else t27 = $[30];
180
+ $[26] = as;
181
+ $[27] = headerProps;
182
+ $[28] = t27;
183
+ } else t27 = $[28];
190
184
  const t28 = shouldRenderTodayIconWithFieldLabel && todayIconButton;
191
185
  let t29;
192
- if ($[31] !== datePickerInputContentRowCva || $[32] !== size) {
186
+ if ($[29] !== datePickerInputContentRowCva || $[30] !== size) {
193
187
  t29 = datePickerInputContentRowCva({ size });
194
- $[31] = datePickerInputContentRowCva;
195
- $[32] = size;
196
- $[33] = t29;
197
- } else t29 = $[33];
188
+ $[29] = datePickerInputContentRowCva;
189
+ $[30] = size;
190
+ $[31] = t29;
191
+ } else t29 = $[31];
198
192
  let t30;
199
- if ($[34] !== disableManualEntry || $[35] !== isDisabled || $[36] !== onOpenDropdown) {
193
+ if ($[32] !== disableManualEntry || $[33] !== isDisabled || $[34] !== onOpenDropdown) {
200
194
  t30 = disableManualEntry && /* @__PURE__ */ jsx(Button, {
201
195
  onPress: onOpenDropdown,
202
196
  className: "absolute inset-0 z-0",
203
197
  isDisabled
204
198
  });
205
- $[34] = disableManualEntry;
206
- $[35] = isDisabled;
207
- $[36] = onOpenDropdown;
208
- $[37] = t30;
209
- } else t30 = $[37];
199
+ $[32] = disableManualEntry;
200
+ $[33] = isDisabled;
201
+ $[34] = onOpenDropdown;
202
+ $[35] = t30;
203
+ } else t30 = $[35];
210
204
  const t31 = !shouldRenderTodayIconWithFieldLabel && todayIconButton;
211
205
  let t32;
212
- if ($[38] !== as || $[39] !== dateGranularity || $[40] !== disableManualEntry || $[41] !== effectiveTimeZone || $[42] !== endFieldProps || $[43] !== fieldProps || $[44] !== format || $[45] !== hidePlaceholder || $[46] !== isDisabled || $[47] !== isInvalid || $[48] !== isTimeOptional || $[49] !== onClearChange || $[50] !== placeholder) {
206
+ if ($[36] !== as || $[37] !== dateGranularity || $[38] !== disableManualEntry || $[39] !== effectiveTimeZone || $[40] !== endFieldProps || $[41] !== fieldProps || $[42] !== format || $[43] !== hidePlaceholder || $[44] !== isDisabled || $[45] !== isInvalid || $[46] !== isTimeOptional || $[47] !== onClearChange || $[48] !== placeholder) {
213
207
  t32 = disableManualEntry && placeholder && !fieldProps.value ? /* @__PURE__ */ jsx(Typography, {
214
208
  size: "label-1",
215
209
  className: "text-text-default-3",
@@ -241,23 +235,23 @@ var DatePickerInput = (t0) => {
241
235
  format,
242
236
  timeZone: effectiveTimeZone
243
237
  })] })] });
244
- $[38] = as;
245
- $[39] = dateGranularity;
246
- $[40] = disableManualEntry;
247
- $[41] = effectiveTimeZone;
248
- $[42] = endFieldProps;
249
- $[43] = fieldProps;
250
- $[44] = format;
251
- $[45] = hidePlaceholder;
252
- $[46] = isDisabled;
253
- $[47] = isInvalid;
254
- $[48] = isTimeOptional;
255
- $[49] = onClearChange;
256
- $[50] = placeholder;
257
- $[51] = t32;
258
- } else t32 = $[51];
238
+ $[36] = as;
239
+ $[37] = dateGranularity;
240
+ $[38] = disableManualEntry;
241
+ $[39] = effectiveTimeZone;
242
+ $[40] = endFieldProps;
243
+ $[41] = fieldProps;
244
+ $[42] = format;
245
+ $[43] = hidePlaceholder;
246
+ $[44] = isDisabled;
247
+ $[45] = isInvalid;
248
+ $[46] = isTimeOptional;
249
+ $[47] = onClearChange;
250
+ $[48] = placeholder;
251
+ $[49] = t32;
252
+ } else t32 = $[49];
259
253
  let t33;
260
- if ($[52] !== t29 || $[53] !== t30 || $[54] !== t31 || $[55] !== t32) {
254
+ if ($[50] !== t29 || $[51] !== t30 || $[52] !== t31 || $[53] !== t32) {
261
255
  t33 = /* @__PURE__ */ jsxs("div", {
262
256
  className: t29,
263
257
  children: [
@@ -266,14 +260,14 @@ var DatePickerInput = (t0) => {
266
260
  t32
267
261
  ]
268
262
  });
269
- $[52] = t29;
270
- $[53] = t30;
271
- $[54] = t31;
272
- $[55] = t32;
273
- $[56] = t33;
274
- } else t33 = $[56];
263
+ $[50] = t29;
264
+ $[51] = t30;
265
+ $[52] = t31;
266
+ $[53] = t32;
267
+ $[54] = t33;
268
+ } else t33 = $[54];
275
269
  let t34;
276
- if ($[57] !== t26 || $[58] !== t27 || $[59] !== t28 || $[60] !== t33) {
270
+ if ($[55] !== t26 || $[56] !== t27 || $[57] !== t28 || $[58] !== t33) {
277
271
  t34 = /* @__PURE__ */ jsxs("div", {
278
272
  className: t26,
279
273
  children: [
@@ -282,36 +276,36 @@ var DatePickerInput = (t0) => {
282
276
  t33
283
277
  ]
284
278
  });
285
- $[57] = t26;
286
- $[58] = t27;
287
- $[59] = t28;
288
- $[60] = t33;
289
- $[61] = t34;
290
- } else t34 = $[61];
279
+ $[55] = t26;
280
+ $[56] = t27;
281
+ $[57] = t28;
282
+ $[58] = t33;
283
+ $[59] = t34;
284
+ } else t34 = $[59];
291
285
  let t35;
292
- if ($[62] !== as || $[63] !== inputSizeCva || $[64] !== size) {
286
+ if ($[60] !== as || $[61] !== inputSizeCva || $[62] !== size) {
293
287
  t35 = clsx(inputSizeCva({
294
288
  size,
295
289
  as
296
290
  }), "flex items-center gap-input-gap-trailing-elements py-0! pl-0!");
297
- $[62] = as;
298
- $[63] = inputSizeCva;
299
- $[64] = size;
300
- $[65] = t35;
301
- } else t35 = $[65];
291
+ $[60] = as;
292
+ $[61] = inputSizeCva;
293
+ $[62] = size;
294
+ $[63] = t35;
295
+ } else t35 = $[63];
302
296
  let t36;
303
- if ($[66] !== canClear || $[67] !== isClearable || $[68] !== onClear) {
297
+ if ($[64] !== canClear || $[65] !== isClearable || $[66] !== onClear) {
304
298
  t36 = isClearable && /* @__PURE__ */ jsx(InputClear, {
305
299
  onClear,
306
300
  show: canClear
307
301
  });
308
- $[66] = canClear;
309
- $[67] = isClearable;
310
- $[68] = onClear;
311
- $[69] = t36;
312
- } else t36 = $[69];
302
+ $[64] = canClear;
303
+ $[65] = isClearable;
304
+ $[66] = onClear;
305
+ $[67] = t36;
306
+ } else t36 = $[67];
313
307
  let t37;
314
- if ($[70] !== buttonProps || $[71] !== disableDropdown || $[72] !== disableManualEntry || $[73] !== isDisabled || $[74] !== pickerIcon) {
308
+ if ($[68] !== buttonProps || $[69] !== disableDropdown || $[70] !== disableManualEntry || $[71] !== isDisabled || $[72] !== pickerIcon) {
315
309
  t37 = (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(InlineIconButton, {
316
310
  label: "",
317
311
  color: "secondary",
@@ -320,26 +314,26 @@ var DatePickerInput = (t0) => {
320
314
  isDisabled,
321
315
  className: "border-0!"
322
316
  });
323
- $[70] = buttonProps;
324
- $[71] = disableDropdown;
325
- $[72] = disableManualEntry;
326
- $[73] = isDisabled;
327
- $[74] = pickerIcon;
328
- $[75] = t37;
329
- } else t37 = $[75];
317
+ $[68] = buttonProps;
318
+ $[69] = disableDropdown;
319
+ $[70] = disableManualEntry;
320
+ $[71] = isDisabled;
321
+ $[72] = pickerIcon;
322
+ $[73] = t37;
323
+ } else t37 = $[73];
330
324
  let t38;
331
- if ($[76] !== t35 || $[77] !== t36 || $[78] !== t37) {
325
+ if ($[74] !== t35 || $[75] !== t36 || $[76] !== t37) {
332
326
  t38 = /* @__PURE__ */ jsxs("div", {
333
327
  className: t35,
334
328
  children: [t36, t37]
335
329
  });
336
- $[76] = t35;
337
- $[77] = t36;
338
- $[78] = t37;
339
- $[79] = t38;
340
- } else t38 = $[79];
330
+ $[74] = t35;
331
+ $[75] = t36;
332
+ $[76] = t37;
333
+ $[77] = t38;
334
+ } else t38 = $[77];
341
335
  let t39;
342
- if ($[80] !== focusWithinProps || $[81] !== groupProps || $[82] !== hoverProps || $[83] !== t14 || $[84] !== t15 || $[85] !== t16 || $[86] !== t17 || $[87] !== t18 || $[88] !== t19 || $[89] !== t20 || $[90] !== t21 || $[91] !== t22 || $[92] !== t23 || $[93] !== t24 || $[94] !== t25 || $[95] !== t34 || $[96] !== t38) {
336
+ if ($[78] !== focusWithinProps || $[79] !== groupProps || $[80] !== hoverProps || $[81] !== t14 || $[82] !== t15 || $[83] !== t16 || $[84] !== t17 || $[85] !== t18 || $[86] !== t19 || $[87] !== t20 || $[88] !== t21 || $[89] !== t22 || $[90] !== t23 || $[91] !== t24 || $[92] !== t25 || $[93] !== t34 || $[94] !== t38) {
343
337
  t39 = /* @__PURE__ */ jsxs("div", {
344
338
  ref: containerRef,
345
339
  className: t14,
@@ -361,25 +355,25 @@ var DatePickerInput = (t0) => {
361
355
  ...hoverProps,
362
356
  children: [t34, t38]
363
357
  });
364
- $[80] = focusWithinProps;
365
- $[81] = groupProps;
366
- $[82] = hoverProps;
367
- $[83] = t14;
368
- $[84] = t15;
369
- $[85] = t16;
370
- $[86] = t17;
371
- $[87] = t18;
372
- $[88] = t19;
373
- $[89] = t20;
374
- $[90] = t21;
375
- $[91] = t22;
376
- $[92] = t23;
377
- $[93] = t24;
378
- $[94] = t25;
379
- $[95] = t34;
380
- $[96] = t38;
381
- $[97] = t39;
382
- } else t39 = $[97];
358
+ $[78] = focusWithinProps;
359
+ $[79] = groupProps;
360
+ $[80] = hoverProps;
361
+ $[81] = t14;
362
+ $[82] = t15;
363
+ $[83] = t16;
364
+ $[84] = t17;
365
+ $[85] = t18;
366
+ $[86] = t19;
367
+ $[87] = t20;
368
+ $[88] = t21;
369
+ $[89] = t22;
370
+ $[90] = t23;
371
+ $[91] = t24;
372
+ $[92] = t25;
373
+ $[93] = t34;
374
+ $[94] = t38;
375
+ $[95] = t39;
376
+ } else t39 = $[95];
383
377
  return t39;
384
378
  };
385
379
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@povio/ui",
3
- "version": "2.3.0-rc.13",
3
+ "version": "2.3.0-rc.14",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",