@povio/ui 4.0.2 → 4.0.3

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 (109) hide show
  1. package/README.md +5 -1
  2. package/dist/{Breadcrumbs-BibAIBhY.js → Breadcrumbs-C-mZtdCc.js} +1 -1
  3. package/dist/{Calendar-kSEji28A.js → Calendar-BYcN64W5.js} +6 -136
  4. package/dist/{DatePicker-BbdtBAGN.js → DatePicker-DGlMtlvy.js} +12 -12
  5. package/dist/{DatePickerInput-eyHwzKPm.js → DatePickerInput-Nj_rVUyU.js} +8 -7
  6. package/dist/{DateRangePicker-Ct182qur.js → DateRangePicker-CE9XvAy9.js} +13 -185
  7. package/dist/{DateTimePicker-taYHMMYi.js → DateTimePicker-CtUPjVp1.js} +12 -12
  8. package/dist/{FileInput-B-ADr0B3.js → FileInput-BUs7wL0_.js} +1 -1
  9. package/dist/{FileUpload-3-4Vt4f1.js → FileUpload-C3HzeFeb.js} +1 -1
  10. package/dist/{FormField-CAcDJ4HC.js → FormField-DTO2cbXC.js} +1 -1
  11. package/dist/{FormFieldHeaderTooltip-C2IDI4ac.js → FormFieldHeaderTooltip-h6e5hq9V.js} +1 -1
  12. package/dist/{InlineTooltipWrapper-7HG-g2X3.js → InlineTooltipWrapper-Ct6zi24f.js} +1 -1
  13. package/dist/{InputItem-B3PlrjuD.js → InputItem-DAunP0iy.js} +9 -9
  14. package/dist/{Inputs-WZmrBWrL.js → Inputs-_IqA6JRE.js} +1 -1
  15. package/dist/NumberFormatter-CLDS_LRZ.js +265 -0
  16. package/dist/{NumberRangeInput-X8G1zfNM.js → NumberRangeInput-Bu-3Y0zf.js} +6 -5
  17. package/dist/{RadioGroup-DW_OQQDu.js → RadioGroup-DiF7ILto.js} +1 -1
  18. package/dist/{RichTextEditor-BOTitK7E.js → RichTextEditor-eM9d2umr.js} +2 -2
  19. package/dist/{Select-DmLkOMr1.js → Select-CyBtGHk9.js} +2 -2
  20. package/dist/{Slider-Q87Hg_V2.js → Slider-KkWtEm09.js} +1 -1
  21. package/dist/{TextArea-DZv6XaT0.js → TextArea-DvqDGp4M.js} +2 -2
  22. package/dist/{TimePicker-DAoHgk8U.js → TimePicker-WirUMDrH.js} +10 -9
  23. package/dist/{ToggleGroup-Cho_oRZh.js → ToggleGroup-BK6Ka7WA.js} +5 -66
  24. package/dist/{Tooltip-D94a1IQl.js → Tooltip--PSxkQA3.js} +2 -2
  25. package/dist/{TooltipWrapper-S2JC-w4e.js → TooltipWrapper-BVc_Aln-.js} +1 -1
  26. package/dist/components/autocomplete.js +2 -2
  27. package/dist/components/breadcrumbs.js +1 -1
  28. package/dist/components/checkbox-group.js +1 -1
  29. package/dist/components/date-picker.js +1 -1
  30. package/dist/components/date-range-picker.js +1 -1
  31. package/dist/components/date-time-picker.js +1 -1
  32. package/dist/components/file-input.js +1 -1
  33. package/dist/components/file-upload-container.js +1 -1
  34. package/dist/components/file-upload.js +1 -1
  35. package/dist/components/form-field.js +1 -1
  36. package/dist/components/icon-button.js +1 -1
  37. package/dist/components/input.js +4 -4
  38. package/dist/components/number-field.js +7 -6
  39. package/dist/components/number-range-input.js +1 -1
  40. package/dist/components/query-autocomplete.js +1 -1
  41. package/dist/components/query-select.js +2 -2
  42. package/dist/components/radio-group.js +1 -1
  43. package/dist/components/select.js +1 -1
  44. package/dist/components/slider.js +1 -1
  45. package/dist/components/text-area.js +1 -1
  46. package/dist/components/time-picker.js +1 -1
  47. package/dist/components/toggle-group.js +1 -1
  48. package/dist/components/tooltip-ellipsis.js +1 -1
  49. package/dist/components/tooltip.js +1 -1
  50. package/dist/config/ui-router.js +1 -1
  51. package/dist/{datePickerValue.utils-GADbSu7a.js → datePickerValue.utils-1z4mwZZs.js} +5 -5
  52. package/dist/hooks/use-filters.js +1 -1
  53. package/dist/index.js +15 -15
  54. package/dist/numberStatic.utils-BX50PSee.js +421 -0
  55. package/dist/rhf/date-picker.js +1 -1
  56. package/dist/rhf/date-range-picker.js +1 -1
  57. package/dist/rhf/date-time-picker.js +1 -1
  58. package/dist/rhf/file-input.js +1 -1
  59. package/dist/rhf/file-upload.js +1 -1
  60. package/dist/rhf/number-range-input.js +1 -1
  61. package/dist/rhf/radio-group.js +1 -1
  62. package/dist/rhf/rich-text-editor.js +1 -1
  63. package/dist/rhf/select.js +1 -1
  64. package/dist/rhf/slider.js +1 -1
  65. package/dist/rhf/text-area.js +1 -1
  66. package/dist/rhf/time-picker.js +1 -1
  67. package/dist/rhf/toggle-group.js +1 -1
  68. package/dist/rhf.js +15 -15
  69. package/dist/rich-text-editor.js +1 -1
  70. package/dist/{router.context-B0jTMtE0.js → router.context-B4FvsTim.js} +2 -2
  71. package/dist/staticDateTimeSegments-vP2f1woD.js +1763 -0
  72. package/dist/{staticSelect.utils-ad60elvT.js → staticSelect.utils-DOt6f-ck.js} +4 -143
  73. package/dist/tanstack/date-picker.js +1 -1
  74. package/dist/tanstack/date-range-picker.js +1 -1
  75. package/dist/tanstack/date-time-picker.js +1 -1
  76. package/dist/tanstack/file-input.js +1 -1
  77. package/dist/tanstack/file-upload.js +1 -1
  78. package/dist/tanstack/form.js +1 -1
  79. package/dist/tanstack/inputs.js +1 -1
  80. package/dist/tanstack/number-range-input.js +1 -1
  81. package/dist/tanstack/radio-group.js +1 -1
  82. package/dist/tanstack/rich-text-editor.js +1 -1
  83. package/dist/tanstack/select.js +1 -1
  84. package/dist/tanstack/slider.js +1 -1
  85. package/dist/tanstack/table.js +1 -1
  86. package/dist/tanstack/text-area.js +1 -1
  87. package/dist/tanstack/time-picker.js +1 -1
  88. package/dist/tanstack/toggle-group.js +1 -1
  89. package/dist/tanstack.js +24 -24
  90. package/dist/useControlledState-CzXkZCX8.js +30 -0
  91. package/dist/{useFieldAccessibility-CtTdRX2u.js → useFieldAccessibility-BTs_WC_5.js} +2 -2
  92. package/dist/{useFilters-kkEUFKmQ.js → useFilters-XNH27Md2.js} +1 -1
  93. package/dist/{useFormAutosave-DqP6lB4l.js → useFormAutosave-BRlM0nmq.js} +1 -1
  94. package/dist/{useStaticInputHandoff-BAaDW_0z.js → useStaticInputHandoff-_stbpoX4.js} +2 -2
  95. package/dist/{useTableColumnConfig-DVI_jVHz.js → useTableColumnConfig-CiAr7Dbi.js} +1 -1
  96. package/package.json +1 -1
  97. package/dist/FocusScope-CO9oJ1sc.js +0 -343
  98. package/dist/chain-DIXr2VAT.js +0 -10
  99. package/dist/focusSafely-DCGrr2bb.js +0 -447
  100. package/dist/getScrollParent-kSR7EtoT.js +0 -47
  101. package/dist/numberStatic.utils-BMgRzyd3.js +0 -902
  102. package/dist/openLink-CQhMhfzO.js +0 -121
  103. package/dist/platform-BXNIIAfU.js +0 -42
  104. package/dist/staticDateTimeSegments-BQoA94W-.js +0 -3603
  105. package/dist/useControlledState-DQxX6LMN.js +0 -189
  106. package/dist/useFocusable-Bd0UsrQ7.js +0 -63
  107. package/dist/useFormValidationState-D3z-gafz.js +0 -1341
  108. package/dist/useLayoutEffect-B2-1tbPJ.js +0 -83
  109. package/dist/useSyncRef-RGMv0rXK.js +0 -338
@@ -1,6 +1,6 @@
1
1
  import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
2
2
  import { t as clsx } from "./clsx-CnD0nOiA.js";
3
- import { t as Tooltip } from "./Tooltip-D94a1IQl.js";
3
+ import { t as Tooltip } from "./Tooltip--PSxkQA3.js";
4
4
  import { t as $a3be900807531178$re_export$Focusable } from "./exports-BNrTn8Tj.js";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/info.mjs
@@ -1,4 +1,4 @@
1
- import { t as Tooltip } from "./Tooltip-D94a1IQl.js";
1
+ import { t as Tooltip } from "./Tooltip--PSxkQA3.js";
2
2
  import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
3
3
  import { t as tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva-CUu8pI-a.js";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -1,19 +1,19 @@
1
1
  import { t as PasswordInput } from "./PasswordInput-DYwUZ4-k.js";
2
2
  import { t as Checkbox } from "./Checkbox-DBV_Nxtq.js";
3
- import { t as Slider } from "./Slider-Q87Hg_V2.js";
3
+ import { t as Slider } from "./Slider-KkWtEm09.js";
4
4
  import { t as Switch } from "./Switch-Cylpjatb.js";
5
- import { t as TextArea } from "./TextArea-DZv6XaT0.js";
6
- import { t as ToggleGroup } from "./ToggleGroup-Cho_oRZh.js";
7
- import { t as DateRangePicker } from "./DateRangePicker-Ct182qur.js";
5
+ import { t as TextArea } from "./TextArea-DvqDGp4M.js";
8
6
  import { Input } from "./components/input.js";
9
7
  import { Autocomplete } from "./components/autocomplete.js";
10
8
  import { CheckboxGroup } from "./components/checkbox-group.js";
11
- import { t as TimePicker } from "./TimePicker-DAoHgk8U.js";
12
- import { t as DatePicker } from "./DatePicker-BbdtBAGN.js";
13
- import { t as Select } from "./Select-DmLkOMr1.js";
14
- import { t as DateTimePicker } from "./DateTimePicker-taYHMMYi.js";
9
+ import { t as DateRangePicker } from "./DateRangePicker-CE9XvAy9.js";
10
+ import { t as TimePicker } from "./TimePicker-WirUMDrH.js";
11
+ import { t as ToggleGroup } from "./ToggleGroup-BK6Ka7WA.js";
12
+ import { t as DatePicker } from "./DatePicker-DGlMtlvy.js";
13
+ import { t as Select } from "./Select-CyBtGHk9.js";
14
+ import { t as DateTimePicker } from "./DateTimePicker-CtUPjVp1.js";
15
15
  import { NumberField } from "./components/number-field.js";
16
- import { t as NumberRangeInput } from "./NumberRangeInput-X8G1zfNM.js";
16
+ import { t as NumberRangeInput } from "./NumberRangeInput-Bu-3Y0zf.js";
17
17
  import { QueryAutocomplete } from "./components/query-autocomplete.js";
18
18
  import { QuerySelect } from "./components/query-select.js";
19
19
  import { useMemo } from "react";
@@ -1,4 +1,4 @@
1
- import { t as InputItem } from "./InputItem-B3PlrjuD.js";
1
+ import { t as InputItem } from "./InputItem-DAunP0iy.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region src/components/inputs/Inputs/Inputs.tsx
4
4
  function Inputs({ form, inputDefs, children }) {
@@ -0,0 +1,265 @@
1
+ import { createContext, useContext, useEffect, useMemo, useRef, useState } from "react";
2
+ //#region ../../node_modules/.bun/react-stately@3.50.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/form/useFormValidationState.mjs
3
+ const $fd2148440a13ec26$export$aca958c65c314e6c = {
4
+ badInput: false,
5
+ customError: false,
6
+ patternMismatch: false,
7
+ rangeOverflow: false,
8
+ rangeUnderflow: false,
9
+ stepMismatch: false,
10
+ tooLong: false,
11
+ tooShort: false,
12
+ typeMismatch: false,
13
+ valueMissing: false,
14
+ valid: true
15
+ };
16
+ const $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE = {
17
+ ...$fd2148440a13ec26$export$aca958c65c314e6c,
18
+ customError: true,
19
+ valid: false
20
+ };
21
+ const $fd2148440a13ec26$export$dad6ae84456c676a = {
22
+ isInvalid: false,
23
+ validationDetails: $fd2148440a13ec26$export$aca958c65c314e6c,
24
+ validationErrors: []
25
+ };
26
+ const $fd2148440a13ec26$export$571b5131b7e65c11 = createContext({});
27
+ const $fd2148440a13ec26$export$a763b9476acd3eb = "__reactAriaFormValidationState";
28
+ function $fd2148440a13ec26$export$fc1a364ae1f3ff10(props) {
29
+ if (props["__reactAriaFormValidationState"]) {
30
+ let { realtimeValidation, displayValidation, updateValidation, resetValidation, commitValidation } = props[$fd2148440a13ec26$export$a763b9476acd3eb];
31
+ return {
32
+ realtimeValidation,
33
+ displayValidation,
34
+ updateValidation,
35
+ resetValidation,
36
+ commitValidation
37
+ };
38
+ }
39
+ return $fd2148440a13ec26$var$useFormValidationStateImpl(props);
40
+ }
41
+ function $fd2148440a13ec26$var$useFormValidationStateImpl(props) {
42
+ let { isInvalid, validationState, name, value, builtinValidation, validate, validationBehavior = "aria" } = props;
43
+ if (validationState) isInvalid ||= validationState === "invalid";
44
+ let controlledError = isInvalid !== void 0 ? {
45
+ isInvalid,
46
+ validationErrors: [],
47
+ validationDetails: $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE
48
+ } : null;
49
+ let clientError = useMemo(() => {
50
+ if (!validate || value == null) return null;
51
+ return $fd2148440a13ec26$var$getValidationResult($fd2148440a13ec26$var$runValidate(validate, value));
52
+ }, [validate, value]);
53
+ if (builtinValidation?.validationDetails.valid) builtinValidation = void 0;
54
+ let serverErrors = useContext($fd2148440a13ec26$export$571b5131b7e65c11);
55
+ let serverErrorMessages = useMemo(() => {
56
+ if (name) return Array.isArray(name) ? name.flatMap((name) => $fd2148440a13ec26$var$asArray(serverErrors[name])) : $fd2148440a13ec26$var$asArray(serverErrors[name]);
57
+ return [];
58
+ }, [serverErrors, name]);
59
+ let [lastServerErrors, setLastServerErrors] = useState(serverErrors);
60
+ let [isServerErrorCleared, setServerErrorCleared] = useState(false);
61
+ if (serverErrors !== lastServerErrors) {
62
+ setLastServerErrors(serverErrors);
63
+ setServerErrorCleared(false);
64
+ }
65
+ let serverError = useMemo(() => $fd2148440a13ec26$var$getValidationResult(isServerErrorCleared ? [] : serverErrorMessages), [isServerErrorCleared, serverErrorMessages]);
66
+ let nextValidation = useRef($fd2148440a13ec26$export$dad6ae84456c676a);
67
+ let [currentValidity, setCurrentValidity] = useState($fd2148440a13ec26$export$dad6ae84456c676a);
68
+ let lastError = useRef($fd2148440a13ec26$export$dad6ae84456c676a);
69
+ let commitValidation = () => {
70
+ if (!commitQueued) return;
71
+ setCommitQueued(false);
72
+ let error = clientError || builtinValidation || nextValidation.current;
73
+ if (!$fd2148440a13ec26$var$isEqualValidation(error, lastError.current)) {
74
+ lastError.current = error;
75
+ setCurrentValidity(error);
76
+ }
77
+ };
78
+ let [commitQueued, setCommitQueued] = useState(false);
79
+ useEffect(commitValidation);
80
+ return {
81
+ realtimeValidation: controlledError || serverError || clientError || builtinValidation || $fd2148440a13ec26$export$dad6ae84456c676a,
82
+ displayValidation: validationBehavior === "native" ? controlledError || serverError || currentValidity : controlledError || serverError || clientError || builtinValidation || currentValidity,
83
+ updateValidation(value) {
84
+ if (validationBehavior === "aria" && !$fd2148440a13ec26$var$isEqualValidation(currentValidity, value)) setCurrentValidity(value);
85
+ else nextValidation.current = value;
86
+ },
87
+ resetValidation() {
88
+ let error = $fd2148440a13ec26$export$dad6ae84456c676a;
89
+ if (!$fd2148440a13ec26$var$isEqualValidation(error, lastError.current)) {
90
+ lastError.current = error;
91
+ setCurrentValidity(error);
92
+ }
93
+ if (validationBehavior === "native") setCommitQueued(false);
94
+ setServerErrorCleared(true);
95
+ },
96
+ commitValidation() {
97
+ if (validationBehavior === "native") setCommitQueued(true);
98
+ setServerErrorCleared(true);
99
+ }
100
+ };
101
+ }
102
+ function $fd2148440a13ec26$var$asArray(v) {
103
+ if (!v) return [];
104
+ return Array.isArray(v) ? v : [v];
105
+ }
106
+ function $fd2148440a13ec26$var$runValidate(validate, value) {
107
+ if (typeof validate === "function") {
108
+ let e = validate(value);
109
+ if (e && typeof e !== "boolean") return $fd2148440a13ec26$var$asArray(e);
110
+ }
111
+ return [];
112
+ }
113
+ function $fd2148440a13ec26$var$getValidationResult(errors) {
114
+ return errors.length ? {
115
+ isInvalid: true,
116
+ validationErrors: errors,
117
+ validationDetails: $fd2148440a13ec26$var$CUSTOM_VALIDITY_STATE
118
+ } : null;
119
+ }
120
+ function $fd2148440a13ec26$var$isEqualValidation(a, b) {
121
+ if (a === b) return true;
122
+ return !!a && !!b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a, i) => a === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v]) => b.validationDetails[k] === v);
123
+ }
124
+ function $fd2148440a13ec26$export$75ee7c75d68f5b0e(...results) {
125
+ let errors = /* @__PURE__ */ new Set();
126
+ let isInvalid = false;
127
+ let validationDetails = { ...$fd2148440a13ec26$export$aca958c65c314e6c };
128
+ for (let v of results) {
129
+ for (let e of v.validationErrors) errors.add(e);
130
+ isInvalid ||= v.isInvalid;
131
+ for (let key in validationDetails) validationDetails[key] ||= v.validationDetails[key];
132
+ }
133
+ validationDetails.valid = !isInvalid;
134
+ return {
135
+ isInvalid,
136
+ validationErrors: [...errors],
137
+ validationDetails
138
+ };
139
+ }
140
+ //#endregion
141
+ //#region ../../node_modules/.bun/@internationalized+number@3.6.8/node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
142
+ let $1dfb119a85e764e5$var$formatterCache = /* @__PURE__ */ new Map();
143
+ let $1dfb119a85e764e5$var$supportsSignDisplay = false;
144
+ try {
145
+ $1dfb119a85e764e5$var$supportsSignDisplay = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
146
+ } catch {}
147
+ let $1dfb119a85e764e5$var$supportsUnit = false;
148
+ try {
149
+ $1dfb119a85e764e5$var$supportsUnit = new Intl.NumberFormat("de-DE", {
150
+ style: "unit",
151
+ unit: "degree"
152
+ }).resolvedOptions().style === "unit";
153
+ } catch {}
154
+ const $1dfb119a85e764e5$var$UNITS = { degree: { narrow: {
155
+ default: "°",
156
+ "ja-JP": " 度",
157
+ "zh-TW": "度",
158
+ "sl-SI": " °"
159
+ } } };
160
+ var $1dfb119a85e764e5$export$cc77c4ff7e8673c5 = class {
161
+ constructor(locale, options = {}) {
162
+ this.numberFormatter = $1dfb119a85e764e5$var$getCachedNumberFormatter(locale, options);
163
+ this.options = options;
164
+ }
165
+ /**
166
+ * Formats a number value as a string, according to the locale and options provided to the
167
+ * constructor.
168
+ */ format(value) {
169
+ let res = "";
170
+ if (!$1dfb119a85e764e5$var$supportsSignDisplay && this.options.signDisplay != null) res = $1dfb119a85e764e5$export$711b50b3c525e0f2(this.numberFormatter, this.options.signDisplay, value);
171
+ else res = this.numberFormatter.format(value);
172
+ if (this.options.style === "unit" && !$1dfb119a85e764e5$var$supportsUnit) {
173
+ let { unit, unitDisplay = "short", locale } = this.resolvedOptions();
174
+ if (!unit) return res;
175
+ let values = $1dfb119a85e764e5$var$UNITS[unit]?.[unitDisplay];
176
+ res += values[locale] || values.default;
177
+ }
178
+ return res;
179
+ }
180
+ /** Formats a number to an array of parts such as separators, digits, punctuation, and more. */ formatToParts(value) {
181
+ return this.numberFormatter.formatToParts(value);
182
+ }
183
+ /** Formats a number range as a string. */ formatRange(start, end) {
184
+ if (typeof this.numberFormatter.formatRange === "function") return this.numberFormatter.formatRange(start, end);
185
+ if (end < start) throw new RangeError("End date must be >= start date");
186
+ return `${this.format(start)} \u{2013} ${this.format(end)}`;
187
+ }
188
+ /** Formats a number range as an array of parts. */ formatRangeToParts(start, end) {
189
+ if (typeof this.numberFormatter.formatRangeToParts === "function") return this.numberFormatter.formatRangeToParts(start, end);
190
+ if (end < start) throw new RangeError("End date must be >= start date");
191
+ let startParts = this.numberFormatter.formatToParts(start);
192
+ let endParts = this.numberFormatter.formatToParts(end);
193
+ return [
194
+ ...startParts.map((p) => ({
195
+ ...p,
196
+ source: "startRange"
197
+ })),
198
+ {
199
+ type: "literal",
200
+ value: " – ",
201
+ source: "shared"
202
+ },
203
+ ...endParts.map((p) => ({
204
+ ...p,
205
+ source: "endRange"
206
+ }))
207
+ ];
208
+ }
209
+ /** Returns the resolved formatting options based on the values passed to the constructor. */ resolvedOptions() {
210
+ let options = this.numberFormatter.resolvedOptions();
211
+ if (!$1dfb119a85e764e5$var$supportsSignDisplay && this.options.signDisplay != null) options = {
212
+ ...options,
213
+ signDisplay: this.options.signDisplay
214
+ };
215
+ if (!$1dfb119a85e764e5$var$supportsUnit && this.options.style === "unit") options = {
216
+ ...options,
217
+ style: "unit",
218
+ unit: this.options.unit,
219
+ unitDisplay: this.options.unitDisplay
220
+ };
221
+ return options;
222
+ }
223
+ };
224
+ function $1dfb119a85e764e5$var$getCachedNumberFormatter(locale, options = {}) {
225
+ let { numberingSystem } = options;
226
+ if (numberingSystem && locale.includes("-nu-")) {
227
+ if (!locale.includes("-u-")) locale += "-u-";
228
+ locale += `-nu-${numberingSystem}`;
229
+ }
230
+ if (options.style === "unit" && !$1dfb119a85e764e5$var$supportsUnit) {
231
+ let { unit, unitDisplay = "short" } = options;
232
+ if (!unit) throw new Error("unit option must be provided with style: \"unit\"");
233
+ if (!$1dfb119a85e764e5$var$UNITS[unit]?.[unitDisplay]) throw new Error(`Unsupported unit ${unit} with unitDisplay = ${unitDisplay}`);
234
+ options = {
235
+ ...options,
236
+ style: "decimal"
237
+ };
238
+ }
239
+ let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
240
+ if ($1dfb119a85e764e5$var$formatterCache.has(cacheKey)) return $1dfb119a85e764e5$var$formatterCache.get(cacheKey);
241
+ let numberFormatter = new Intl.NumberFormat(locale, options);
242
+ $1dfb119a85e764e5$var$formatterCache.set(cacheKey, numberFormatter);
243
+ return numberFormatter;
244
+ }
245
+ function $1dfb119a85e764e5$export$711b50b3c525e0f2(numberFormat, signDisplay, num) {
246
+ if (signDisplay === "auto") return numberFormat.format(num);
247
+ else if (signDisplay === "never") return numberFormat.format(Math.abs(num));
248
+ else {
249
+ let needsPositiveSign = false;
250
+ if (signDisplay === "always") needsPositiveSign = num > 0 || Object.is(num, 0);
251
+ else if (signDisplay === "exceptZero") {
252
+ if (Object.is(num, -0) || Object.is(num, 0)) num = Math.abs(num);
253
+ else needsPositiveSign = num > 0;
254
+ }
255
+ if (needsPositiveSign) {
256
+ let negative = numberFormat.format(-num);
257
+ let noSign = numberFormat.format(num);
258
+ let minus = negative.replace(noSign, "").replace(/\u200e|\u061C/, "");
259
+ if ([...minus].length !== 1) console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case");
260
+ return negative.replace(noSign, "!!!").replace(minus, "+").replace("!!!", noSign);
261
+ } else return numberFormat.format(num);
262
+ }
263
+ }
264
+ //#endregion
265
+ export { $fd2148440a13ec26$export$fc1a364ae1f3ff10 as i, $fd2148440a13ec26$export$75ee7c75d68f5b0e as n, $fd2148440a13ec26$export$aca958c65c314e6c as r, $1dfb119a85e764e5$export$cc77c4ff7e8673c5 as t };
@@ -3,16 +3,17 @@ import { t as clsx } from "./clsx-CnD0nOiA.js";
3
3
  import { n as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "./Input-BsbLZDtC.js";
4
4
  import { a as $a3be900807531178$re_export$useLocale } from "./exports-BNrTn8Tj.js";
5
5
  import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
6
- import { n as $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c, r as $cd2fa56213693c5e$export$23f548e970bdf099, t as getStaticNumberDisplayValue } from "./numberStatic.utils-BMgRzyd3.js";
7
6
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
8
7
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
9
- import { r as FormFieldLabel, t as FormField } from "./FormField-CAcDJ4HC.js";
8
+ import { r as FormFieldLabel, t as FormField } from "./FormField-DTO2cbXC.js";
10
9
  import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-KYGD4Bdz.js";
11
- import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-S2JC-w4e.js";
12
- import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-BAaDW_0z.js";
10
+ import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-BVc_Aln-.js";
11
+ import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-_stbpoX4.js";
12
+ import { n as $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c, t as getStaticNumberDisplayValue } from "./numberStatic.utils-BX50PSee.js";
13
13
  import { t as IntlUtils } from "./intl.utils-zwAFoZ0U.js";
14
14
  import { memo, useEffect, useRef, useState } from "react";
15
15
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
16
+ import { useNumberField } from "react-aria";
16
17
  import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
17
18
  //#region src/components/inputs/Input/NumberRangeInput/NumberRangeField.tsx
18
19
  const NumberRangeValueField = ({ label, value, placeholder, isDisabled, isInvalid, isRequired, formatOptions, hideInnerLabels, autoFocusOnMount, isClearable, isClearableIfDisabled, className, onChange, onClear, onBlur, ...rest }) => {
@@ -39,7 +40,7 @@ const NumberRangeValueField = ({ label, value, placeholder, isDisabled, isInvali
39
40
  formatOptions: formatOptions ?? ui.numberField.formatOptions
40
41
  };
41
42
  const state = $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c(numberProps);
42
- const { labelProps, inputProps } = $cd2fa56213693c5e$export$23f548e970bdf099(numberProps, state, numberFieldRef);
43
+ const { labelProps, inputProps } = useNumberField(numberProps, state, numberFieldRef);
43
44
  return /* @__PURE__ */ jsxs("div", {
44
45
  className: "min-w-0 flex-1",
45
46
  children: [/* @__PURE__ */ jsx(FormFieldLabel, {
@@ -10,7 +10,7 @@ import { t as uiGroupOutlineClass } from "./outline.clsx-50W_vNDl.js";
10
10
  import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
11
11
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
12
12
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
13
- import { r as FormFieldLabel, t as FormField } from "./FormField-CAcDJ4HC.js";
13
+ import { r as FormFieldLabel, t as FormField } from "./FormField-DTO2cbXC.js";
14
14
  import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-KYGD4Bdz.js";
15
15
  import { t as CheckContent } from "./CheckContent-DzWpxKGq.js";
16
16
  import $ahdqC$react, { createContext, forwardRef, memo, useContext, useMemo } from "react";
@@ -14,12 +14,12 @@ import { t as Button } from "./Button-CcZBqoQp.js";
14
14
  import { InlineIconButton } from "./components/inline-icon-button.js";
15
15
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
16
16
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
17
- import { r as FormFieldLabel, t as FormField } from "./FormField-CAcDJ4HC.js";
17
+ import { r as FormFieldLabel, t as FormField } from "./FormField-DTO2cbXC.js";
18
18
  import "./i18n-CX2EjhJI.js";
19
19
  import { i as inputSideDefinition, o as useInputCva } from "./input.cva-KYGD4Bdz.js";
20
20
  import { t as popoverDefinition } from "./popover.cva-CXha_UMQ.js";
21
21
  import { Input } from "./components/input.js";
22
- import { t as Select } from "./Select-DmLkOMr1.js";
22
+ import { t as Select } from "./Select-CyBtGHk9.js";
23
23
  import { Popover } from "./components/popover.js";
24
24
  import $ahdqC$react, { createContext, forwardRef, memo, useContext, useEffect, useMemo, useRef, useState } from "react";
25
25
  import { mergeProps } from "react-aria/mergeProps";
@@ -1,11 +1,11 @@
1
1
  import { t as UIConfig } from "./uiConfig.context-RFvaQYzD.js";
2
- import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "./staticSelect.utils-ad60elvT.js";
2
+ import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "./staticSelect.utils-DOt6f-ck.js";
3
3
  import { t as clsx } from "./clsx-CnD0nOiA.js";
4
4
  import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
5
5
  import { t as Typography } from "./Typography-AcUd9df8.js";
6
6
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
7
7
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
8
- import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-BAaDW_0z.js";
8
+ import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-_stbpoX4.js";
9
9
  import { memo, useRef, useState } from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region src/components/inputs/Selection/Select/Select.tsx
@@ -6,7 +6,7 @@ import { t as Typography } from "./Typography-AcUd9df8.js";
6
6
  import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
7
7
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
8
8
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
9
- import { t as FormField } from "./FormField-CAcDJ4HC.js";
9
+ import { t as FormField } from "./FormField-DTO2cbXC.js";
10
10
  import $ahdqC$react, { createContext, forwardRef, memo, useContext, useRef } from "react";
11
11
  import { mergeProps } from "react-aria/mergeProps";
12
12
  import { filterDOMProps } from "react-aria/filterDOMProps";
@@ -4,9 +4,9 @@ import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$
4
4
  import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
5
5
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
6
6
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
7
- import { r as FormFieldLabel, t as FormField } from "./FormField-CAcDJ4HC.js";
7
+ import { r as FormFieldLabel, t as FormField } from "./FormField-DTO2cbXC.js";
8
8
  import { a as inputSizeDefinition, i as inputSideDefinition, o as useInputCva } from "./input.cva-KYGD4Bdz.js";
9
- import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-S2JC-w4e.js";
9
+ import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-BVc_Aln-.js";
10
10
  import $ahdqC$react, { createContext, forwardRef, memo, useRef } from "react";
11
11
  import { mergeProps } from "react-aria/mergeProps";
12
12
  import { useFocusRing } from "react-aria/useFocusRing";
@@ -2,21 +2,22 @@ import { t as UIConfig } from "./uiConfig.context-RFvaQYzD.js";
2
2
  import { t as clsx } from "./clsx-CnD0nOiA.js";
3
3
  import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
4
4
  import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
5
- import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-DQxX6LMN.js";
6
- import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog, y as $7541913c0284d84b$export$4c842f6a241dc825 } from "./staticDateTimeSegments-BQoA94W-.js";
7
5
  import { t as Typography } from "./Typography-AcUd9df8.js";
8
6
  import { InlineIconButton } from "./components/inline-icon-button.js";
9
7
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
10
8
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
11
- import { r as FormFieldLabel, t as FormField } from "./FormField-CAcDJ4HC.js";
9
+ import { r as FormFieldLabel, t as FormField } from "./FormField-DTO2cbXC.js";
12
10
  import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-KYGD4Bdz.js";
13
- import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-S2JC-w4e.js";
14
- import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-BAaDW_0z.js";
15
- import { n as TimePickerForm, t as normalizeDatePickerValue } from "./datePickerValue.utils-GADbSu7a.js";
11
+ import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-BVc_Aln-.js";
12
+ import { i as InputFrame, n as useStaticInputHandoff } from "./useStaticInputHandoff-_stbpoX4.js";
13
+ import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CzXkZCX8.js";
14
+ import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-vP2f1woD.js";
15
+ import { n as TimePickerForm, t as normalizeDatePickerValue } from "./datePickerValue.utils-1z4mwZZs.js";
16
16
  import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
17
17
  import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
18
18
  import { GregorianCalendar, Time, getLocalTimeZone, now, toCalendarDateTime, toTime, toZoned, today } from "@internationalized/date";
19
19
  import { jsx, jsxs } from "react/jsx-runtime";
20
+ import { useLocale, useTimeField } from "react-aria";
20
21
  import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
21
22
  //#region ../../node_modules/.bun/react-stately@3.50.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/datepicker/useTimeFieldState.mjs
22
23
  function $b822555cf9fe955c$export$fd53cef0cc796101(props) {
@@ -192,7 +193,7 @@ const TimePickerBase = (props) => {
192
193
  };
193
194
  const [isOpen, setIsOpen] = useState(false);
194
195
  const initialDateEmitRef = useRef(true);
195
- const { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
196
+ const { locale } = useLocale();
196
197
  const normalizedValue = value ?? null;
197
198
  const dialogState = $b822555cf9fe955c$export$fd53cef0cc796101({
198
199
  ...rest,
@@ -221,7 +222,7 @@ const TimePickerBase = (props) => {
221
222
  if (state.timeValue) onChange?.(state.timeValue);
222
223
  }, [rest.date]);
223
224
  const timeFieldRef = useRef(null);
224
- const { labelProps, fieldProps } = $7541913c0284d84b$export$4c842f6a241dc825({
225
+ const { labelProps, fieldProps } = useTimeField({
225
226
  ...rest,
226
227
  label,
227
228
  isReadOnly: disableManualEntry,
@@ -312,7 +313,7 @@ const TimePickerInner = ({ renderStaticInput, isFormControlDisabled, ...props })
312
313
  const timeZone = props.timeZone ?? ui.dateInput.timeZone;
313
314
  let effectiveTimeZone = getLocalTimeZone();
314
315
  if (timeZone !== "clientLocal") effectiveTimeZone = timeZone;
315
- const { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
316
+ const { locale } = useLocale();
316
317
  const [renderInput, setRenderInput] = useState(!(renderStaticInput ?? ui.renderStaticInput));
317
318
  const inputRef = useRef(null);
318
319
  const { renderRealInput, replayStaticInputPress } = useStaticInputHandoff({
@@ -1,76 +1,15 @@
1
1
  import { t as clsx } from "./clsx-CnD0nOiA.js";
2
2
  import { n as $bc25b811ec97a172$export$40258cc1d95ff477, t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "./ToggleButton-BW1ensey.js";
3
3
  import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
4
- import { i as $23f2114a1b82827e$export$e58f029f0fbfdb29, n as $23f2114a1b82827e$export$4282f70798064fe0, r as $23f2114a1b82827e$export$cd4e5573fbe2b576, t as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./useLayoutEffect-B2-1tbPJ.js";
5
- import { n as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f, r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-DQxX6LMN.js";
6
- import { n as $535772f9d2c1f38d$export$c5251b9e124bf29 } from "./FocusScope-CO9oJ1sc.js";
7
4
  import { t as Typography } from "./Typography-AcUd9df8.js";
8
5
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
9
6
  import { t as FieldController } from "./form.binding-CG1RPv6o.js";
10
- import { t as FormField } from "./FormField-CAcDJ4HC.js";
11
- import { Fragment, useMemo, useRef, useState } from "react";
7
+ import { t as FormField } from "./FormField-DTO2cbXC.js";
8
+ import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CzXkZCX8.js";
9
+ import { Fragment, useMemo, useRef } from "react";
12
10
  import { c } from "react/compiler-runtime";
13
11
  import { jsx, jsxs } from "react/jsx-runtime";
14
- //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/toolbar/useToolbar.mjs
15
- function $afa781ff67c1cd08$export$fa142eb1681c520(props, ref) {
16
- const { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, orientation = "horizontal" } = props;
17
- let [isInToolbar, setInToolbar] = useState(false);
18
- $c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
19
- setInToolbar(!!(ref.current && ref.current.parentElement?.closest("[role=\"toolbar\"]")));
20
- });
21
- const { direction } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
22
- const shouldReverse = direction === "rtl" && orientation === "horizontal";
23
- let focusManager = $535772f9d2c1f38d$export$c5251b9e124bf29(ref);
24
- const onKeyDown = (e) => {
25
- if (!$23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, $23f2114a1b82827e$export$e58f029f0fbfdb29(e))) return;
26
- if (orientation === "horizontal" && e.key === "ArrowRight" || orientation === "vertical" && e.key === "ArrowDown") {
27
- if (shouldReverse) focusManager.focusPrevious();
28
- else focusManager.focusNext();
29
- } else if (orientation === "horizontal" && e.key === "ArrowLeft" || orientation === "vertical" && e.key === "ArrowUp") {
30
- if (shouldReverse) focusManager.focusNext();
31
- else focusManager.focusPrevious();
32
- } else if (e.key === "Tab") {
33
- lastFocused.current = $23f2114a1b82827e$export$cd4e5573fbe2b576();
34
- if (e.shiftKey) focusManager.focusFirst();
35
- else focusManager.focusLast();
36
- return;
37
- } else return;
38
- e.stopPropagation();
39
- e.preventDefault();
40
- };
41
- const lastFocused = useRef(null);
42
- const onBlur = (e) => {
43
- if (!$23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, e.relatedTarget) && !lastFocused.current) lastFocused.current = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
44
- };
45
- const onFocus = (e) => {
46
- if (lastFocused.current && !$23f2114a1b82827e$export$4282f70798064fe0(e.currentTarget, e.relatedTarget) && $23f2114a1b82827e$export$4282f70798064fe0(ref.current, $23f2114a1b82827e$export$e58f029f0fbfdb29(e))) {
47
- lastFocused.current?.focus();
48
- lastFocused.current = null;
49
- }
50
- };
51
- return { toolbarProps: {
52
- ...$8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { labelable: true }),
53
- role: !isInToolbar ? "toolbar" : "group",
54
- "aria-orientation": orientation,
55
- "aria-label": ariaLabel,
56
- "aria-labelledby": ariaLabel == null ? ariaLabelledBy : void 0,
57
- onKeyDownCapture: !isInToolbar ? onKeyDown : void 0,
58
- onFocusCapture: !isInToolbar ? onFocus : void 0,
59
- onBlurCapture: !isInToolbar ? onBlur : void 0
60
- } };
61
- }
62
- //#endregion
63
- //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/button/useToggleButtonGroup.mjs
64
- function $162557ba4d6f08dd$export$dd5580ae642f110f(props, state, ref) {
65
- let { isDisabled } = props;
66
- let { toolbarProps } = $afa781ff67c1cd08$export$fa142eb1681c520(props, ref);
67
- return { groupProps: {
68
- ...toolbarProps,
69
- role: state.selectionMode === "single" ? "radiogroup" : toolbarProps.role,
70
- "aria-disabled": isDisabled
71
- } };
72
- }
73
- //#endregion
12
+ import { useToggleButtonGroup } from "react-aria";
74
13
  //#region ../../node_modules/.bun/react-stately@3.50.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/toggle/useToggleGroupState.mjs
75
14
  function $3d8ad31c4c1725e9$export$8deac67f4addf270(props) {
76
15
  let { selectionMode = "single", disallowEmptySelection, isDisabled = false } = props;
@@ -260,7 +199,7 @@ const ToggleGroupBase = (t0) => {
260
199
  const props = t3;
261
200
  const buttonGroupRef = useRef(null);
262
201
  const state = $3d8ad31c4c1725e9$export$8deac67f4addf270(props);
263
- const { groupProps } = $162557ba4d6f08dd$export$dd5580ae642f110f(props, state, buttonGroupRef);
202
+ const { groupProps } = useToggleButtonGroup(props, state, buttonGroupRef);
264
203
  const toggleGroupCva = UIOverrides.useCva("toggleGroup.cva", toggleGroupDefinition);
265
204
  let t4;
266
205
  if ($[17] !== error || $[18] !== props.isDisabled) {
@@ -4,7 +4,6 @@ import { t as clsx } from "./clsx-CnD0nOiA.js";
4
4
  import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czcqspm7.js";
5
5
  import { n as $4fcfe18fac72dabd$export$746d02f47f4d381, t as $4fcfe18fac72dabd$export$2de4954e8ae13b9f } from "./OverlayArrow-D8z7cCsw.js";
6
6
  import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
7
- import { t as $d1116acdf220c2da$export$4c014de7c8940b4c } from "./useFocusable-Bd0UsrQ7.js";
8
7
  import { t as Typography } from "./Typography-AcUd9df8.js";
9
8
  import $ahdqC$react, { Fragment, createContext, forwardRef, useContext, useRef } from "react";
10
9
  import { c } from "react/compiler-runtime";
@@ -17,6 +16,7 @@ import { useOverlayPosition } from "react-aria/useOverlayPosition";
17
16
  import { OverlayContainer } from "react-aria/private/overlays/useModal";
18
17
  import { useTooltip, useTooltipTrigger } from "react-aria/useTooltipTrigger";
19
18
  import { jsx, jsxs } from "react/jsx-runtime";
19
+ import { useFocusable } from "react-aria";
20
20
  //#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Tooltip.mjs
21
21
  const $05a50f7d78b03ad9$export$7a7623236eec67fa = /*#__PURE__*/ createContext(null);
22
22
  const $05a50f7d78b03ad9$export$39ae08fa83328b12 = /*#__PURE__*/ createContext(null);
@@ -147,7 +147,7 @@ const CustomTrigger = (t0) => {
147
147
  t1 = {};
148
148
  $[0] = t1;
149
149
  } else t1 = $[0];
150
- const { focusableProps } = $d1116acdf220c2da$export$4c014de7c8940b4c(t1, ref);
150
+ const { focusableProps } = useFocusable(t1, ref);
151
151
  const t2 = tabIndex ?? 0;
152
152
  let t3;
153
153
  if ($[1] !== className) {
@@ -46,7 +46,7 @@ const InputClearButton = ({ onClear, className, style }) => {
46
46
  };
47
47
  //#endregion
48
48
  //#region src/components/inputs/shared/TooltipWrapper.tsx
49
- const InlineTooltipWrapper = lazy(() => import("./InlineTooltipWrapper-7HG-g2X3.js"));
49
+ const InlineTooltipWrapper = lazy(() => import("./InlineTooltipWrapper-Ct6zi24f.js"));
50
50
  const TooltipWrapper = (props) => {
51
51
  if (props.as !== "inline") return props.children;
52
52
  return /* @__PURE__ */ jsx(Suspense, {
@@ -1,10 +1,10 @@
1
1
  import { t as UIConfig } from "../uiConfig.context-RFvaQYzD.js";
2
- import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "../staticSelect.utils-ad60elvT.js";
2
+ import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "../staticSelect.utils-DOt6f-ck.js";
3
3
  import { t as clsx } from "../clsx-CnD0nOiA.js";
4
4
  import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
5
5
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-BE0r63d8.js";
6
6
  import { t as FieldController } from "../form.binding-CG1RPv6o.js";
7
- import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "../useStaticInputHandoff-BAaDW_0z.js";
7
+ import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "../useStaticInputHandoff-_stbpoX4.js";
8
8
  import { memo, useRef, useState } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
10
  //#region src/components/inputs/Selection/Autocomplete/Autocomplete.tsx
@@ -1,2 +1,2 @@
1
- import { t as Breadcrumbs } from "../Breadcrumbs-BibAIBhY.js";
1
+ import { t as Breadcrumbs } from "../Breadcrumbs-C-mZtdCc.js";
2
2
  export { Breadcrumbs };
@@ -5,7 +5,7 @@ import { n as CheckboxBase, r as $ed8ccb2e23e76301$export$4aa08d5625cb8ead } fro
5
5
  import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
6
6
  import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-BE0r63d8.js";
7
7
  import { t as FieldController } from "../form.binding-CG1RPv6o.js";
8
- import { r as FormFieldLabel, t as FormField } from "../FormField-CAcDJ4HC.js";
8
+ import { r as FormFieldLabel, t as FormField } from "../FormField-DTO2cbXC.js";
9
9
  import { a as inputSizeDefinition, t as inputBaseDefinition } from "../input.cva-KYGD4Bdz.js";
10
10
  import { memo } from "react";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- import { t as DatePicker } from "../DatePicker-BbdtBAGN.js";
1
+ import { t as DatePicker } from "../DatePicker-DGlMtlvy.js";
2
2
  export { DatePicker };