@povio/ui 3.3.0-rc.2 → 3.3.0-rc.4

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 (33) hide show
  1. package/dist/components/buttons/Button/button.cva.d.ts +1 -1
  2. package/dist/components/inputs/Checkbox/CheckboxGroup.d.ts +5 -1
  3. package/dist/components/inputs/Checkbox/CheckboxGroup.js +234 -201
  4. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +1 -0
  5. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +142 -127
  6. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +2 -17
  7. package/dist/components/inputs/DateTime/shared/DateField.js +92 -87
  8. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +2 -0
  9. package/dist/components/inputs/DateTime/shared/TimePickerInput.js +144 -134
  10. package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.d.ts +2 -0
  11. package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +33 -0
  12. package/dist/components/inputs/Input/NumberInput/NumberInput.js +2 -1
  13. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +2 -1
  14. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +56 -2
  15. package/dist/components/inputs/Selection/Select/QuerySelect.js +69 -15
  16. package/dist/components/inputs/Selection/Select/Select.js +3 -3
  17. package/dist/components/inputs/Selection/shared/querySelect.utils.d.ts +1 -0
  18. package/dist/components/inputs/Selection/shared/querySelect.utils.js +1 -0
  19. package/dist/components/inputs/Selection/shared/select.context.js +19 -9
  20. package/dist/components/inputs/Skeleton/InputFrame.js +156 -154
  21. package/dist/components/inputs/shared/input.cva.js +1 -1
  22. package/dist/components/shared/pagination/minWidth.cva.d.ts +1 -1
  23. package/dist/config/uiConfig.context.d.ts +1 -0
  24. package/dist/config/uiConfig.context.js +2 -1
  25. package/dist/helpers/dynamicColumns.js +2 -1
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.js +2 -1
  28. package/dist/utils/date-time.utils.d.ts +0 -1
  29. package/dist/utils/date-time.utils.js +21 -45
  30. package/dist/utils/intl.utils.d.ts +7 -0
  31. package/dist/utils/intl.utils.js +38 -0
  32. package/dist/utils/intl.utils.spec.d.ts +1 -0
  33. package/package.json +1 -1
@@ -92,7 +92,7 @@ export declare const buttonIconSizeDefinition: {
92
92
  export type ButtonIconSizeConfig = NonNullable<typeof buttonIconSizeDefinition.config>;
93
93
  export declare const buttonTypography: (props: {
94
94
  readonly width?: "fill" | "hug" | null | undefined;
95
- readonly size?: "none" | "s" | "xs" | "m" | "l" | null | undefined;
95
+ readonly size?: "none" | "xs" | "s" | "m" | "l" | null | undefined;
96
96
  readonly color?: "error" | "primary" | "dual" | "secondary" | "success" | "warning" | null | undefined;
97
97
  readonly variant?: "text" | "contained" | "outlined" | "subtle" | "ghost" | null | undefined;
98
98
  readonly inverted?: boolean | null | undefined;
@@ -5,12 +5,16 @@ import { CheckboxVariantProps } from './checkbox.cva';
5
5
  import { FormFieldProps } from '../FormField/FormField';
6
6
  import { ControlProps } from '../shared/form.types';
7
7
  import { InputVariantProps } from '../shared/input.cva';
8
- interface CheckboxGroupBaseProps extends Omit<FormFieldProps, "variant">, CheckboxVariantProps, Omit<InputVariantProps, "variant">, Omit<AriaCheckboxGroupProps, "children" | "className" | "label"> {
8
+ interface CheckboxGroupBaseProps extends Omit<FormFieldProps, "variant">, CheckboxVariantProps, Omit<InputVariantProps, "variant">, Omit<AriaCheckboxGroupProps, "children" | "className" | "defaultValue" | "label" | "onChange" | "value"> {
9
9
  ref?: Ref<HTMLDivElement>;
10
10
  options: {
11
11
  label: string | ReactElement;
12
12
  value: string;
13
13
  }[];
14
+ allValue?: string[] | null;
15
+ value?: string[] | null;
16
+ defaultValue?: string[] | null;
17
+ onChange?: (value: string[] | null) => void;
14
18
  isDirty?: boolean;
15
19
  inputClassName?: string;
16
20
  labelClassName?: string;
@@ -14,32 +14,59 @@ import { mergeRefs } from "@react-aria/utils";
14
14
  import { Controller } from "react-hook-form";
15
15
  //#region src/components/inputs/Checkbox/CheckboxGroup.tsx
16
16
  var CheckboxGroupBase = (props) => {
17
- const $ = c(92);
17
+ const $ = c(101);
18
18
  const ui = UIConfig.useConfig();
19
19
  const checkboxContentWrapperCva = UIOverrides.useCva("checkbox.contentWrapperCva", checkboxContentWrapperDefinition);
20
20
  const checkboxContentRowCva = UIOverrides.useCva("checkbox.contentRowCva", checkboxContentRowDefinition);
21
21
  const checkboxGroupLabelCva = UIOverrides.useCva("checkbox.groupLabelCva", checkboxGroupLabelDefinition);
22
22
  const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
23
23
  const inputSizeCva = UIOverrides.useCva("input.sizeCva", inputSizeDefinition);
24
- const { ref, label, tooltipText, helperText, isDirty, isRequired, rightContent, isDisabled, headerClassName, errorClassName, labelClassName, inputClassName, isHeaderHidden, error, className, options, value, defaultValue, onChange, onBlur, fireBlurOnChange: fireBlurOnChangeProp, as: asProp, size: sizeProp, variant: variantProp, hideLabel: hideLabelProp, ...rest } = props;
24
+ const { ref, label, tooltipText, helperText, isDirty, isRequired, rightContent, isDisabled, headerClassName, errorClassName, labelClassName, inputClassName, isHeaderHidden, error, className, options, allValue, value, defaultValue, onChange, onBlur, fireBlurOnChange: fireBlurOnChangeProp, as: asProp, size: sizeProp, variant: variantProp, hideLabel: hideLabelProp, ...rest } = props;
25
25
  const as = asProp ?? ui.input.as;
26
26
  const size = sizeProp ?? ui.input.size;
27
27
  const variant = variantProp ?? ui.checkbox.variant;
28
28
  const hideLabel = hideLabelProp ?? ui.input.hideLabel;
29
29
  const fireBlurOnChange = fireBlurOnChangeProp ?? ui.checkbox.fireBlurOnChange;
30
- const selectedValue = value ?? defaultValue;
31
- const shouldRenderInputFrame = as !== "default";
30
+ let optionValues;
31
+ let resolvedValue;
32
32
  let t0;
33
- if ($[0] !== label) {
34
- t0 = { label };
35
- $[0] = label;
36
- $[1] = t0;
37
- } else t0 = $[1];
38
- const { labelProps, fieldProps } = useLabel(t0);
39
- const t1 = isHeaderHidden || as === "inline" || as === "filter" || as === "floating";
40
- let t2;
41
- if ($[2] !== className || $[3] !== error || $[4] !== errorClassName || $[5] !== headerClassName || $[6] !== helperText || $[7] !== hideLabel || $[8] !== isDisabled || $[9] !== isRequired || $[10] !== label || $[11] !== rightContent || $[12] !== t1 || $[13] !== tooltipText) {
42
- t2 = {
33
+ if ($[0] !== allValue || $[1] !== defaultValue || $[2] !== options || $[3] !== value) {
34
+ optionValues = options.map(_temp);
35
+ const expandAllValue = (currentValue) => {
36
+ if (allValue === null && currentValue === null) return optionValues;
37
+ if (allValue !== void 0 && allValue !== null && currentValue) {
38
+ if (currentValue.length === allValue.length && currentValue.every((item, index) => item === allValue[index])) return optionValues;
39
+ }
40
+ return currentValue ?? void 0;
41
+ };
42
+ resolvedValue = expandAllValue(value);
43
+ t0 = expandAllValue(defaultValue);
44
+ $[0] = allValue;
45
+ $[1] = defaultValue;
46
+ $[2] = options;
47
+ $[3] = value;
48
+ $[4] = optionValues;
49
+ $[5] = resolvedValue;
50
+ $[6] = t0;
51
+ } else {
52
+ optionValues = $[4];
53
+ resolvedValue = $[5];
54
+ t0 = $[6];
55
+ }
56
+ const resolvedDefaultValue = t0;
57
+ const selectedValue = resolvedValue ?? resolvedDefaultValue;
58
+ const shouldRenderInputFrame = as !== "default";
59
+ let t1;
60
+ if ($[7] !== label) {
61
+ t1 = { label };
62
+ $[7] = label;
63
+ $[8] = t1;
64
+ } else t1 = $[8];
65
+ const { labelProps, fieldProps } = useLabel(t1);
66
+ const t2 = isHeaderHidden || as === "inline" || as === "filter" || as === "floating";
67
+ let t3;
68
+ if ($[9] !== className || $[10] !== error || $[11] !== errorClassName || $[12] !== headerClassName || $[13] !== helperText || $[14] !== hideLabel || $[15] !== isDisabled || $[16] !== isRequired || $[17] !== label || $[18] !== rightContent || $[19] !== t2 || $[20] !== tooltipText) {
69
+ t3 = {
43
70
  className,
44
71
  error,
45
72
  errorClassName,
@@ -47,100 +74,103 @@ var CheckboxGroupBase = (props) => {
47
74
  helperText,
48
75
  hideLabel,
49
76
  isDisabled,
50
- isHeaderHidden: t1,
77
+ isHeaderHidden: t2,
51
78
  isRequired,
52
79
  label,
53
80
  rightContent,
54
81
  tooltipText
55
82
  };
56
- $[2] = className;
57
- $[3] = error;
58
- $[4] = errorClassName;
59
- $[5] = headerClassName;
60
- $[6] = helperText;
61
- $[7] = hideLabel;
62
- $[8] = isDisabled;
63
- $[9] = isRequired;
64
- $[10] = label;
65
- $[11] = rightContent;
66
- $[12] = t1;
67
- $[13] = tooltipText;
68
- $[14] = t2;
69
- } else t2 = $[14];
70
- const formFieldProps = t2;
71
- const t3 = hideLabel || isHeaderHidden;
72
- let t4;
73
- if ($[15] !== headerClassName || $[16] !== helperText || $[17] !== isDisabled || $[18] !== isRequired || $[19] !== label || $[20] !== labelProps || $[21] !== rightContent || $[22] !== t3 || $[23] !== tooltipText) {
74
- t4 = {
83
+ $[9] = className;
84
+ $[10] = error;
85
+ $[11] = errorClassName;
86
+ $[12] = headerClassName;
87
+ $[13] = helperText;
88
+ $[14] = hideLabel;
89
+ $[15] = isDisabled;
90
+ $[16] = isRequired;
91
+ $[17] = label;
92
+ $[18] = rightContent;
93
+ $[19] = t2;
94
+ $[20] = tooltipText;
95
+ $[21] = t3;
96
+ } else t3 = $[21];
97
+ const formFieldProps = t3;
98
+ const t4 = hideLabel || isHeaderHidden;
99
+ let t5;
100
+ if ($[22] !== headerClassName || $[23] !== helperText || $[24] !== isDisabled || $[25] !== isRequired || $[26] !== label || $[27] !== labelProps || $[28] !== rightContent || $[29] !== t4 || $[30] !== tooltipText) {
101
+ t5 = {
75
102
  className: headerClassName,
76
103
  helperText,
77
104
  isDisabled,
78
- isHeaderHidden: t3,
105
+ isHeaderHidden: t4,
79
106
  isRequired,
80
107
  label,
81
108
  labelProps,
82
109
  rightContent,
83
110
  tooltipText
84
111
  };
85
- $[15] = headerClassName;
86
- $[16] = helperText;
87
- $[17] = isDisabled;
88
- $[18] = isRequired;
89
- $[19] = label;
90
- $[20] = labelProps;
91
- $[21] = rightContent;
92
- $[22] = t3;
93
- $[23] = tooltipText;
94
- $[24] = t4;
95
- } else t4 = $[24];
96
- const headerProps = t4;
97
- let t5;
98
- if ($[25] !== fireBlurOnChange || $[26] !== onBlur || $[27] !== onChange) {
99
- t5 = (nextValue) => {
100
- onChange?.(nextValue);
112
+ $[22] = headerClassName;
113
+ $[23] = helperText;
114
+ $[24] = isDisabled;
115
+ $[25] = isRequired;
116
+ $[26] = label;
117
+ $[27] = labelProps;
118
+ $[28] = rightContent;
119
+ $[29] = t4;
120
+ $[30] = tooltipText;
121
+ $[31] = t5;
122
+ } else t5 = $[31];
123
+ const headerProps = t5;
124
+ let t6;
125
+ if ($[32] !== allValue || $[33] !== fireBlurOnChange || $[34] !== onBlur || $[35] !== onChange || $[36] !== optionValues) {
126
+ t6 = (nextValue) => {
127
+ const hasAllOptions = allValue !== void 0 && optionValues.length > 0 && optionValues.every((optionValue) => nextValue.includes(optionValue));
128
+ onChange?.(hasAllOptions ? allValue : nextValue);
101
129
  if (fireBlurOnChange) onBlur?.({});
102
130
  };
103
- $[25] = fireBlurOnChange;
104
- $[26] = onBlur;
105
- $[27] = onChange;
106
- $[28] = t5;
107
- } else t5 = $[28];
108
- const handleChange = t5;
131
+ $[32] = allValue;
132
+ $[33] = fireBlurOnChange;
133
+ $[34] = onBlur;
134
+ $[35] = onChange;
135
+ $[36] = optionValues;
136
+ $[37] = t6;
137
+ } else t6 = $[37];
138
+ const handleChange = t6;
109
139
  const T0 = CheckboxGroup;
110
- const t6 = !!error;
111
- const t7 = isDirty || void 0;
112
- const t8 = isRequired || void 0;
113
- const t9 = "group";
140
+ const t7 = !!error;
141
+ const t8 = isDirty || void 0;
142
+ const t9 = isRequired || void 0;
143
+ const t10 = "group";
114
144
  const T1 = FormField;
115
- const t10 = as === "inline" && "h-full";
116
- let t11;
117
- if ($[29] !== className || $[30] !== t10) {
118
- t11 = clsx("w-full", t10, className);
119
- $[29] = className;
120
- $[30] = t10;
121
- $[31] = t11;
122
- } else t11 = $[31];
123
- const t12 = as === "inline" ? -1 : void 0;
124
- let t13;
125
- if ($[32] !== as || $[33] !== inputBaseCva || $[34] !== inputClassName || $[35] !== shouldRenderInputFrame || $[36] !== ui) {
126
- t13 = clsx("group/checkbox-group-content relative", shouldRenderInputFrame && inputBaseCva({
145
+ const t11 = as === "inline" && "h-full";
146
+ let t12;
147
+ if ($[38] !== className || $[39] !== t11) {
148
+ t12 = clsx("w-full", t11, className);
149
+ $[38] = className;
150
+ $[39] = t11;
151
+ $[40] = t12;
152
+ } else t12 = $[40];
153
+ const t13 = as === "inline" ? -1 : void 0;
154
+ let t14;
155
+ if ($[41] !== as || $[42] !== inputBaseCva || $[43] !== inputClassName || $[44] !== shouldRenderInputFrame || $[45] !== ui) {
156
+ t14 = clsx("group/checkbox-group-content relative", shouldRenderInputFrame && inputBaseCva({
127
157
  variant: ui.input.variant,
128
158
  as
129
159
  }), inputClassName);
130
- $[32] = as;
131
- $[33] = inputBaseCva;
132
- $[34] = inputClassName;
133
- $[35] = shouldRenderInputFrame;
134
- $[36] = ui;
135
- $[37] = t13;
136
- } else t13 = $[37];
137
- const t14 = "";
138
- const t15 = isDisabled || void 0;
160
+ $[41] = as;
161
+ $[42] = inputBaseCva;
162
+ $[43] = inputClassName;
163
+ $[44] = shouldRenderInputFrame;
164
+ $[45] = ui;
165
+ $[46] = t14;
166
+ } else t14 = $[46];
167
+ const t15 = "";
139
168
  const t16 = isDisabled || void 0;
140
- const t17 = !!error || void 0;
141
- const t18 = selectedValue?.length ? true : void 0;
142
- const t19 = "";
143
- const t20 = clsx(checkboxContentWrapperCva({
169
+ const t17 = isDisabled || void 0;
170
+ const t18 = !!error || void 0;
171
+ const t19 = selectedValue?.length ? true : void 0;
172
+ const t20 = "";
173
+ const t21 = clsx(checkboxContentWrapperCva({
144
174
  variant,
145
175
  as,
146
176
  size,
@@ -150,152 +180,152 @@ var CheckboxGroupBase = (props) => {
150
180
  as,
151
181
  size
152
182
  }));
153
- const t21 = isDirty || void 0;
154
- const t22 = isRequired || void 0;
155
- let t23;
156
- if ($[38] !== as || $[39] !== checkboxGroupLabelCva || $[40] !== headerClassName || $[41] !== headerProps || $[42] !== size) {
157
- t23 = as && ["filter", "floating"].includes(as) && /* @__PURE__ */ jsx(FormFieldLabel, {
183
+ const t22 = isDirty || void 0;
184
+ const t23 = isRequired || void 0;
185
+ let t24;
186
+ if ($[47] !== as || $[48] !== checkboxGroupLabelCva || $[49] !== headerClassName || $[50] !== headerProps || $[51] !== size) {
187
+ t24 = as && ["filter", "floating"].includes(as) && /* @__PURE__ */ jsx(FormFieldLabel, {
158
188
  ...headerProps,
159
189
  as: as === "floating" ? "filter" : as,
160
190
  size,
161
191
  className: clsx(headerClassName, checkboxGroupLabelCva({ as }))
162
192
  });
163
- $[38] = as;
164
- $[39] = checkboxGroupLabelCva;
165
- $[40] = headerClassName;
166
- $[41] = headerProps;
167
- $[42] = size;
168
- $[43] = t23;
169
- } else t23 = $[43];
170
- const t24 = checkboxContentRowCva({
193
+ $[47] = as;
194
+ $[48] = checkboxGroupLabelCva;
195
+ $[49] = headerClassName;
196
+ $[50] = headerProps;
197
+ $[51] = size;
198
+ $[52] = t24;
199
+ } else t24 = $[52];
200
+ const t25 = checkboxContentRowCva({
171
201
  variant,
172
202
  as,
173
203
  hasInputFrame: shouldRenderInputFrame,
174
204
  ...rest
175
205
  });
176
- let t25;
177
- if ($[44] !== hideLabel || $[45] !== labelClassName || $[46] !== options || $[47] !== variant) {
178
- let t26;
179
- if ($[49] !== hideLabel || $[50] !== labelClassName || $[51] !== variant) {
180
- t26 = (option) => /* @__PURE__ */ jsx(CheckboxBase, {
181
- value: option.value,
206
+ let t26;
207
+ if ($[53] !== hideLabel || $[54] !== labelClassName || $[55] !== options || $[56] !== variant) {
208
+ let t27;
209
+ if ($[58] !== hideLabel || $[59] !== labelClassName || $[60] !== variant) {
210
+ t27 = (option_0) => /* @__PURE__ */ jsx(CheckboxBase, {
211
+ value: option_0.value,
182
212
  variant,
183
213
  hideLabel,
184
214
  hideError: true,
185
215
  labelClassName,
186
- children: option.label
187
- }, option.value);
188
- $[49] = hideLabel;
189
- $[50] = labelClassName;
190
- $[51] = variant;
191
- $[52] = t26;
192
- } else t26 = $[52];
193
- t25 = options.map(t26);
194
- $[44] = hideLabel;
195
- $[45] = labelClassName;
196
- $[46] = options;
197
- $[47] = variant;
198
- $[48] = t25;
199
- } else t25 = $[48];
200
- let t26;
201
- if ($[53] !== t24 || $[54] !== t25) {
202
- t26 = /* @__PURE__ */ jsx("div", {
203
- className: t24,
204
- children: t25
205
- });
206
- $[53] = t24;
207
- $[54] = t25;
208
- $[55] = t26;
209
- } else t26 = $[55];
216
+ children: option_0.label
217
+ }, option_0.value);
218
+ $[58] = hideLabel;
219
+ $[59] = labelClassName;
220
+ $[60] = variant;
221
+ $[61] = t27;
222
+ } else t27 = $[61];
223
+ t26 = options.map(t27);
224
+ $[53] = hideLabel;
225
+ $[54] = labelClassName;
226
+ $[55] = options;
227
+ $[56] = variant;
228
+ $[57] = t26;
229
+ } else t26 = $[57];
210
230
  let t27;
211
- if ($[56] !== t20 || $[57] !== t21 || $[58] !== t22 || $[59] !== t23 || $[60] !== t26) {
212
- t27 = /* @__PURE__ */ jsxs("div", {
213
- className: t20,
214
- "data-is-dirty": t21,
215
- "data-is-required": t22,
216
- children: [t23, t26]
231
+ if ($[62] !== t25 || $[63] !== t26) {
232
+ t27 = /* @__PURE__ */ jsx("div", {
233
+ className: t25,
234
+ children: t26
217
235
  });
218
- $[56] = t20;
219
- $[57] = t21;
220
- $[58] = t22;
221
- $[59] = t23;
222
- $[60] = t26;
223
- $[61] = t27;
224
- } else t27 = $[61];
236
+ $[62] = t25;
237
+ $[63] = t26;
238
+ $[64] = t27;
239
+ } else t27 = $[64];
225
240
  let t28;
226
- if ($[62] !== t13 || $[63] !== t15 || $[64] !== t16 || $[65] !== t17 || $[66] !== t18 || $[67] !== t27) {
227
- t28 = /* @__PURE__ */ jsx("div", {
228
- className: t13,
229
- "data-rac": t14,
230
- "data-disabled": t15,
231
- "data-is-disabled": t16,
232
- "data-invalid": t17,
233
- "data-has-selection": t18,
234
- "data-checkbox-group-content": t19,
235
- children: t27
241
+ if ($[65] !== t21 || $[66] !== t22 || $[67] !== t23 || $[68] !== t24 || $[69] !== t27) {
242
+ t28 = /* @__PURE__ */ jsxs("div", {
243
+ className: t21,
244
+ "data-is-dirty": t22,
245
+ "data-is-required": t23,
246
+ children: [t24, t27]
236
247
  });
237
- $[62] = t13;
238
- $[63] = t15;
239
- $[64] = t16;
240
- $[65] = t17;
241
- $[66] = t18;
242
- $[67] = t27;
243
- $[68] = t28;
244
- } else t28 = $[68];
248
+ $[65] = t21;
249
+ $[66] = t22;
250
+ $[67] = t23;
251
+ $[68] = t24;
252
+ $[69] = t27;
253
+ $[70] = t28;
254
+ } else t28 = $[70];
245
255
  let t29;
246
- if ($[69] !== T1 || $[70] !== as || $[71] !== formFieldProps || $[72] !== labelProps || $[73] !== t11 || $[74] !== t12 || $[75] !== t28) {
247
- t29 = /* @__PURE__ */ jsx(T1, {
256
+ if ($[71] !== t14 || $[72] !== t16 || $[73] !== t17 || $[74] !== t18 || $[75] !== t19 || $[76] !== t28) {
257
+ t29 = /* @__PURE__ */ jsx("div", {
258
+ className: t14,
259
+ "data-rac": t15,
260
+ "data-disabled": t16,
261
+ "data-is-disabled": t17,
262
+ "data-invalid": t18,
263
+ "data-has-selection": t19,
264
+ "data-checkbox-group-content": t20,
265
+ children: t28
266
+ });
267
+ $[71] = t14;
268
+ $[72] = t16;
269
+ $[73] = t17;
270
+ $[74] = t18;
271
+ $[75] = t19;
272
+ $[76] = t28;
273
+ $[77] = t29;
274
+ } else t29 = $[77];
275
+ let t30;
276
+ if ($[78] !== T1 || $[79] !== as || $[80] !== formFieldProps || $[81] !== labelProps || $[82] !== t12 || $[83] !== t13 || $[84] !== t29) {
277
+ t30 = /* @__PURE__ */ jsx(T1, {
248
278
  ...formFieldProps,
249
279
  as,
250
280
  labelProps,
251
- className: t11,
252
- tabIndex: t12,
253
- children: t28
281
+ className: t12,
282
+ tabIndex: t13,
283
+ children: t29
254
284
  });
255
- $[69] = T1;
256
- $[70] = as;
257
- $[71] = formFieldProps;
258
- $[72] = labelProps;
259
- $[73] = t11;
260
- $[74] = t12;
261
- $[75] = t28;
262
- $[76] = t29;
263
- } else t29 = $[76];
264
- let t30;
265
- if ($[77] !== T0 || $[78] !== defaultValue || $[79] !== fieldProps || $[80] !== handleChange || $[81] !== isDisabled || $[82] !== isRequired || $[83] !== onBlur || $[84] !== ref || $[85] !== rest || $[86] !== t29 || $[87] !== t6 || $[88] !== t7 || $[89] !== t8 || $[90] !== value) {
266
- t30 = /* @__PURE__ */ jsx(T0, {
285
+ $[78] = T1;
286
+ $[79] = as;
287
+ $[80] = formFieldProps;
288
+ $[81] = labelProps;
289
+ $[82] = t12;
290
+ $[83] = t13;
291
+ $[84] = t29;
292
+ $[85] = t30;
293
+ } else t30 = $[85];
294
+ let t31;
295
+ if ($[86] !== T0 || $[87] !== fieldProps || $[88] !== handleChange || $[89] !== isDisabled || $[90] !== isRequired || $[91] !== onBlur || $[92] !== ref || $[93] !== resolvedDefaultValue || $[94] !== resolvedValue || $[95] !== rest || $[96] !== t30 || $[97] !== t7 || $[98] !== t8 || $[99] !== t9) {
296
+ t31 = /* @__PURE__ */ jsx(T0, {
267
297
  ...rest,
268
298
  ...fieldProps,
269
299
  ref,
270
- value,
271
- defaultValue,
300
+ value: resolvedValue,
301
+ defaultValue: resolvedDefaultValue,
272
302
  onChange: handleChange,
273
303
  onBlur,
274
304
  isDisabled,
275
- isInvalid: t6,
305
+ isInvalid: t7,
276
306
  isRequired,
277
- "data-is-dirty": t7,
278
- "data-is-required": t8,
279
- className: t9,
280
- children: t29
307
+ "data-is-dirty": t8,
308
+ "data-is-required": t9,
309
+ className: t10,
310
+ children: t30
281
311
  });
282
- $[77] = T0;
283
- $[78] = defaultValue;
284
- $[79] = fieldProps;
285
- $[80] = handleChange;
286
- $[81] = isDisabled;
287
- $[82] = isRequired;
288
- $[83] = onBlur;
289
- $[84] = ref;
290
- $[85] = rest;
291
- $[86] = t29;
292
- $[87] = t6;
293
- $[88] = t7;
294
- $[89] = t8;
295
- $[90] = value;
296
- $[91] = t30;
297
- } else t30 = $[91];
298
- return t30;
312
+ $[86] = T0;
313
+ $[87] = fieldProps;
314
+ $[88] = handleChange;
315
+ $[89] = isDisabled;
316
+ $[90] = isRequired;
317
+ $[91] = onBlur;
318
+ $[92] = ref;
319
+ $[93] = resolvedDefaultValue;
320
+ $[94] = resolvedValue;
321
+ $[95] = rest;
322
+ $[96] = t30;
323
+ $[97] = t7;
324
+ $[98] = t8;
325
+ $[99] = t9;
326
+ $[100] = t31;
327
+ } else t31 = $[100];
328
+ return t31;
299
329
  };
300
330
  var CheckboxGroup$1 = (props) => {
301
331
  const $ = c(15);
@@ -359,5 +389,8 @@ var CheckboxGroup$1 = (props) => {
359
389
  } else t0 = $[14];
360
390
  return t0;
361
391
  };
392
+ function _temp(option) {
393
+ return option.value;
394
+ }
362
395
  //#endregion
363
396
  export { CheckboxGroup$1 as CheckboxGroup };
@@ -25,6 +25,7 @@ interface DateRangePickerBaseProps extends FormFieldProps, InputVariantProps, Om
25
25
  inputClassName?: string;
26
26
  onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
27
27
  fireBlurOnChange?: boolean;
28
+ allowPartialRange?: boolean;
28
29
  }
29
30
  export interface DateRangePickerProps extends Omit<DateRangePickerBaseProps, "value" | "onChange" | "minValue" | "maxValue"> {
30
31
  value?: {