@povio/ui 2.3.2-rc.3 → 2.3.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 (284) hide show
  1. package/dist/assets/icons/AlignCenter.js +11 -26
  2. package/dist/assets/icons/AlignLeft.js +11 -26
  3. package/dist/assets/icons/AlignLeftRight.js +11 -26
  4. package/dist/assets/icons/AlignRight.js +11 -26
  5. package/dist/assets/icons/ArrowDropDown.js +11 -26
  6. package/dist/assets/icons/ArrowDropUp.js +11 -26
  7. package/dist/assets/icons/ArrowLeft.js +11 -26
  8. package/dist/assets/icons/ArrowRight.js +11 -26
  9. package/dist/assets/icons/Bold.js +11 -26
  10. package/dist/assets/icons/BulletedList.js +11 -26
  11. package/dist/assets/icons/Calendar.js +13 -28
  12. package/dist/assets/icons/Check.js +13 -28
  13. package/dist/assets/icons/CheckCircle.js +11 -26
  14. package/dist/assets/icons/CheckboxCheckmark.js +14 -29
  15. package/dist/assets/icons/CheckboxIndeterminate.js +14 -29
  16. package/dist/assets/icons/ChevronDown.js +13 -28
  17. package/dist/assets/icons/ChevronLeft.js +13 -28
  18. package/dist/assets/icons/ChevronRight.js +13 -28
  19. package/dist/assets/icons/ChevronUp.js +13 -28
  20. package/dist/assets/icons/ChevronsLeft.js +13 -28
  21. package/dist/assets/icons/ChevronsRight.js +13 -28
  22. package/dist/assets/icons/Clock.js +11 -26
  23. package/dist/assets/icons/Close.js +11 -26
  24. package/dist/assets/icons/DateTime.js +14 -35
  25. package/dist/assets/icons/DragIndicator.js +11 -26
  26. package/dist/assets/icons/File.js +13 -28
  27. package/dist/assets/icons/Highlight.js +11 -26
  28. package/dist/assets/icons/HighlightOn.js +15 -49
  29. package/dist/assets/icons/Home.js +11 -26
  30. package/dist/assets/icons/Info.js +16 -37
  31. package/dist/assets/icons/Italic.js +11 -26
  32. package/dist/assets/icons/Link.js +11 -26
  33. package/dist/assets/icons/Menu.js +11 -26
  34. package/dist/assets/icons/NumberedList.js +11 -26
  35. package/dist/assets/icons/PointerHorizontal.js +11 -26
  36. package/dist/assets/icons/PointerVertical.js +11 -26
  37. package/dist/assets/icons/Search.js +11 -26
  38. package/dist/assets/icons/Send.js +13 -28
  39. package/dist/assets/icons/Strikethrough.js +11 -26
  40. package/dist/assets/icons/TextColor.js +14 -48
  41. package/dist/assets/icons/Today.js +11 -26
  42. package/dist/assets/icons/Underlined.js +13 -28
  43. package/dist/assets/icons/Upload.js +14 -35
  44. package/dist/assets/icons/Visibility.js +11 -26
  45. package/dist/assets/icons/VisibilityOff.js +11 -26
  46. package/dist/assets/icons/WarningFilled.js +13 -28
  47. package/dist/assets/locales/sl/translation.json.js +2 -2
  48. package/dist/components/Breadcrumbs/Breadcrumbs.js +56 -207
  49. package/dist/components/Menu/Menu.js +2 -18
  50. package/dist/components/Menu/MenuDesktop.js +7 -41
  51. package/dist/components/Menu/MenuItem.js +9 -32
  52. package/dist/components/Menu/MenuMobile.js +38 -97
  53. package/dist/components/Menu/MenuPopover.js +29 -105
  54. package/dist/components/buttons/IconButton/IconButton.js +8 -40
  55. package/dist/components/buttons/InlineIconButton/InlineIconButton.d.ts +1 -2
  56. package/dist/components/buttons/InlineIconButton/InlineIconButton.js +9 -34
  57. package/dist/components/buttons/PillButton/PillButton.js +17 -55
  58. package/dist/components/buttons/SplitButton/SplitButton.js +18 -103
  59. package/dist/components/buttons/TextButton/TextButton.js +8 -30
  60. package/dist/components/buttons/ToggleButton/ToggleButton.js +8 -28
  61. package/dist/components/buttons/shared/ButtonContent.js +22 -80
  62. package/dist/components/inputs/Checkbox/Checkbox.d.ts +0 -1
  63. package/dist/components/inputs/Checkbox/Checkbox.js +35 -201
  64. package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +10 -24
  65. package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +0 -3
  66. package/dist/components/inputs/Checkbox/checkbox.cva.js +1 -2
  67. package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +5 -12
  68. package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +75 -368
  69. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +5 -12
  70. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +298 -506
  71. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +5 -13
  72. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +56 -273
  73. package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +3 -6
  74. package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +130 -606
  75. package/dist/components/inputs/DateTime/shared/Calendar.d.ts +2 -5
  76. package/dist/components/inputs/DateTime/shared/Calendar.js +119 -332
  77. package/dist/components/inputs/DateTime/shared/CalendarCell.d.ts +2 -3
  78. package/dist/components/inputs/DateTime/shared/CalendarCell.js +102 -301
  79. package/dist/components/inputs/DateTime/shared/CalendarGrid.d.ts +2 -3
  80. package/dist/components/inputs/DateTime/shared/CalendarGrid.js +33 -146
  81. package/dist/components/inputs/DateTime/shared/CalendarHeader.js +93 -249
  82. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +137 -318
  83. package/dist/components/inputs/DateTime/shared/DateField.js +112 -311
  84. package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +3 -13
  85. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +139 -383
  86. package/dist/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -15
  87. package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +11 -96
  88. package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +27 -81
  89. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +10 -59
  90. package/dist/components/inputs/DateTime/shared/MonthPicker.js +58 -103
  91. package/dist/components/inputs/DateTime/shared/RangeCalendar.js +82 -193
  92. package/dist/components/inputs/DateTime/shared/TimeField.js +8 -27
  93. package/dist/components/inputs/DateTime/shared/TimePickerForm.js +110 -279
  94. package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +1 -4
  95. package/dist/components/inputs/DateTime/shared/TimePickerInput.js +65 -210
  96. package/dist/components/inputs/DateTime/shared/YearPicker.js +68 -119
  97. package/dist/components/inputs/File/FileUpload.js +44 -87
  98. package/dist/components/inputs/File/FileUploadContainer.js +7 -15
  99. package/dist/components/inputs/File/InputUpload.js +79 -317
  100. package/dist/components/inputs/File/shared/FileCard.js +41 -104
  101. package/dist/components/inputs/File/shared/FileCardList.js +12 -47
  102. package/dist/components/inputs/File/shared/FileUploadContent.js +44 -175
  103. package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +46 -149
  104. package/dist/components/inputs/File/shared/FileUploadContentError.js +93 -234
  105. package/dist/components/inputs/File/shared/FileUploadContentFilled.js +97 -230
  106. package/dist/components/inputs/File/shared/FileUploadContentLoading.js +55 -199
  107. package/dist/components/inputs/File/shared/InputUploadContent.js +34 -148
  108. package/dist/components/inputs/File/shared/InputUploadFilled.js +8 -49
  109. package/dist/components/inputs/File/shared/ProgressBar.js +9 -48
  110. package/dist/components/inputs/FormField/FormField.d.ts +3 -3
  111. package/dist/components/inputs/FormField/FormField.js +37 -119
  112. package/dist/components/inputs/FormField/FormFieldError.js +5 -25
  113. package/dist/components/inputs/FormField/FormFieldHeader.d.ts +2 -2
  114. package/dist/components/inputs/FormField/FormFieldHeader.js +22 -81
  115. package/dist/components/inputs/FormField/FormFieldHeaderClose.js +7 -31
  116. package/dist/components/inputs/FormField/FormFieldHelper.js +6 -26
  117. package/dist/components/inputs/FormField/FormFieldLabel.d.ts +2 -2
  118. package/dist/components/inputs/FormField/FormFieldLabel.js +9 -40
  119. package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +2 -5
  120. package/dist/components/inputs/Input/NumberInput/NumberInput.js +97 -447
  121. package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +9 -48
  122. package/dist/components/inputs/Input/TextArea/TextArea.js +90 -305
  123. package/dist/components/inputs/Input/TextInput/TextInput.d.ts +1 -3
  124. package/dist/components/inputs/Input/TextInput/TextInput.js +90 -419
  125. package/dist/components/inputs/Input/shared/InputContent.js +59 -192
  126. package/dist/components/inputs/Inputs/Form.js +11 -40
  127. package/dist/components/inputs/Inputs/InputItem.d.ts +21 -15
  128. package/dist/components/inputs/Inputs/InputItem.js +14 -69
  129. package/dist/components/inputs/Inputs/Inputs.js +11 -37
  130. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +1 -3
  131. package/dist/components/inputs/RadioGroup/RadioGroup.js +61 -353
  132. package/dist/components/inputs/RadioGroup/radio.cva.d.ts +0 -17
  133. package/dist/components/inputs/RadioGroup/radio.cva.js +1 -42
  134. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +2 -6
  135. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +22 -214
  136. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +18 -3
  137. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +8 -104
  138. package/dist/components/inputs/Selection/Select/Select.d.ts +3 -7
  139. package/dist/components/inputs/Selection/Select/Select.js +18 -225
  140. package/dist/components/inputs/Selection/shared/SelectBase.d.ts +1 -8
  141. package/dist/components/inputs/Selection/shared/SelectBase.js +18 -69
  142. package/dist/components/inputs/Selection/shared/SelectDesktop.d.ts +1 -1
  143. package/dist/components/inputs/Selection/shared/SelectDesktop.js +138 -393
  144. package/dist/components/inputs/Selection/shared/SelectInput.d.ts +2 -2
  145. package/dist/components/inputs/Selection/shared/SelectInput.js +116 -330
  146. package/dist/components/inputs/Selection/shared/SelectInputTags.js +25 -99
  147. package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +2 -2
  148. package/dist/components/inputs/Selection/shared/SelectListBox.js +52 -164
  149. package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +35 -85
  150. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +16 -69
  151. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +21 -70
  152. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +9 -58
  153. package/dist/components/inputs/Selection/shared/SelectMobile.d.ts +1 -1
  154. package/dist/components/inputs/Selection/shared/SelectMobile.js +3 -9
  155. package/dist/components/inputs/Selection/shared/select.context.d.ts +2 -3
  156. package/dist/components/inputs/Selection/shared/select.context.js +36 -67
  157. package/dist/components/inputs/Selection/shared/select.types.d.ts +2 -3
  158. package/dist/components/inputs/Selection/shared/useSelectItems.js +49 -109
  159. package/dist/components/inputs/Slider/Slider.d.ts +1 -2
  160. package/dist/components/inputs/Slider/Slider.js +76 -265
  161. package/dist/components/inputs/TextEditor/TextEditor.d.ts +0 -1
  162. package/dist/components/inputs/TextEditor/TextEditor.js +98 -447
  163. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +11 -37
  164. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +30 -102
  165. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +45 -194
  166. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +28 -88
  167. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +14 -48
  168. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +19 -66
  169. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +15 -49
  170. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +32 -92
  171. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +54 -126
  172. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +38 -141
  173. package/dist/components/inputs/Toggle/Toggle.d.ts +0 -1
  174. package/dist/components/inputs/Toggle/Toggle.js +37 -214
  175. package/dist/components/inputs/Toggle/toggle.cva.d.ts +0 -3
  176. package/dist/components/inputs/Toggle/toggle.cva.js +1 -2
  177. package/dist/components/inputs/shared/CheckContent.d.ts +1 -2
  178. package/dist/components/inputs/shared/CheckContent.js +11 -21
  179. package/dist/components/inputs/shared/InputClear.d.ts +1 -2
  180. package/dist/components/inputs/shared/InputClear.js +12 -88
  181. package/dist/components/inputs/shared/TooltipWrapper.js +11 -50
  182. package/dist/components/inputs/shared/input.cva.d.ts +0 -10
  183. package/dist/components/inputs/shared/input.cva.js +4 -32
  184. package/dist/components/navigation/Accordion/Accordion.js +22 -69
  185. package/dist/components/navigation/Accordion/AccordionItem.js +41 -86
  186. package/dist/components/navigation/Stepper/Stepper.js +22 -67
  187. package/dist/components/navigation/Stepper/StepperItem.js +31 -104
  188. package/dist/components/navigation/Stepper/StepperSeparator.js +5 -23
  189. package/dist/components/overlays/ActionModal/ActionModal.js +35 -169
  190. package/dist/components/overlays/BottomSheet/BottomSheet.js +23 -96
  191. package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +8 -48
  192. package/dist/components/overlays/Drawer/Drawer.js +20 -62
  193. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +27 -83
  194. package/dist/components/overlays/Tooltip/Tooltip.js +28 -137
  195. package/dist/components/overlays/Tooltip/TooltipEllipsis.js +12 -37
  196. package/dist/components/segment/Segment.js +57 -218
  197. package/dist/components/segment/SegmentItem.js +10 -67
  198. package/dist/components/shared/pagination/Pagination.js +22 -108
  199. package/dist/components/shared/pagination/PaginationList.js +64 -167
  200. package/dist/components/status/Alert/Alert.js +30 -97
  201. package/dist/components/status/Loader/Loader.js +22 -77
  202. package/dist/components/status/Toast/Toast.js +13 -21
  203. package/dist/components/status/Toast/useToast.js +57 -62
  204. package/dist/components/table/ColumnConfig.js +54 -158
  205. package/dist/components/table/InfiniteTable.js +16 -67
  206. package/dist/components/table/PaginatedTable.js +18 -84
  207. package/dist/components/table/Table.js +27 -28
  208. package/dist/components/text/Link/Link.js +7 -19
  209. package/dist/components/text/Typography/Typography.js +8 -23
  210. package/dist/config/confirmation.context.js +1 -1
  211. package/dist/config/link.context.js +9 -23
  212. package/dist/config/router.context.js +16 -42
  213. package/dist/config/theme.context.js +45 -98
  214. package/dist/config/uiConfig.context.d.ts +6 -19
  215. package/dist/config/uiConfig.context.js +14 -67
  216. package/dist/config/uiStyle.context.d.ts +4 -27
  217. package/dist/config/uiStyle.context.js +5 -15
  218. package/dist/helpers/dynamicInputs.d.ts +5 -5
  219. package/dist/helpers/dynamicInputs.js +0 -3
  220. package/dist/hooks/useBreakpoint.js +3 -16
  221. package/dist/hooks/useDebounceCallback.js +17 -51
  222. package/dist/hooks/useFilters.js +64 -125
  223. package/dist/hooks/useForm.js +8 -42
  224. package/dist/hooks/useFormAutosave.js +30 -101
  225. package/dist/hooks/useIntersectionObserver.d.ts +1 -1
  226. package/dist/hooks/useIntersectionObserver.js +24 -91
  227. package/dist/hooks/useLocalStorage.js +10 -43
  228. package/dist/hooks/useLongPressRepeat.js +20 -55
  229. package/dist/hooks/usePagination.js +19 -49
  230. package/dist/hooks/useScrollableListBox.js +16 -37
  231. package/dist/hooks/useSorting.js +28 -69
  232. package/dist/hooks/useStateAndRef.js +7 -21
  233. package/dist/hooks/useTableColumnConfig.js +31 -124
  234. package/dist/hooks/useTranslationMemo.js +5 -25
  235. package/dist/index.d.ts +0 -7
  236. package/dist/index.js +2 -4
  237. package/dist/tw-ui-plugin.js +0 -6
  238. package/dist/utils/date-time.utils.d.ts +10 -38
  239. package/dist/utils/date-time.utils.js +22 -134
  240. package/package.json +1 -1
  241. package/dist/components/inputs/DateTime/shared/datePicker.types.d.ts +0 -5
  242. package/dist/components/inputs/DateTime/shared/datePickerInput.cva.d.ts +0 -7
  243. package/dist/components/inputs/DateTime/shared/datePickerInput.cva.js +0 -13
  244. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.d.ts +0 -15
  245. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +0 -32
  246. package/dist/components/inputs/DateTime/shared/dateSegment.utils.d.ts +0 -2
  247. package/dist/components/inputs/DateTime/shared/dateSegment.utils.spec.d.ts +0 -1
  248. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.d.ts +0 -39
  249. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.js +0 -85
  250. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.spec.d.ts +0 -1
  251. package/dist/components/inputs/FormField/formFieldHeader.cva.d.ts +0 -6
  252. package/dist/components/inputs/FormField/formFieldHeader.cva.js +0 -11
  253. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +0 -45
  254. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +0 -571
  255. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +0 -35
  256. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +0 -575
  257. package/dist/components/inputs/Input/TextArea/TextArea.cva.d.ts +0 -4
  258. package/dist/components/inputs/Input/TextArea/TextArea.cva.js +0 -5
  259. package/dist/components/inputs/Input/shared/numberStatic.utils.d.ts +0 -1
  260. package/dist/components/inputs/Input/shared/numberStatic.utils.js +0 -7
  261. package/dist/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts +0 -36
  262. package/dist/components/inputs/Selection/Select/QuerySelect.d.ts +0 -14
  263. package/dist/components/inputs/Selection/Select/QuerySelect.js +0 -173
  264. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.d.ts +0 -9
  265. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +0 -47
  266. package/dist/components/inputs/Selection/shared/querySelect.utils.d.ts +0 -12
  267. package/dist/components/inputs/Selection/shared/querySelect.utils.js +0 -36
  268. package/dist/components/inputs/Selection/shared/selectDesktop.cva.d.ts +0 -3
  269. package/dist/components/inputs/Selection/shared/selectDesktop.cva.js +0 -5
  270. package/dist/components/inputs/Selection/shared/selectInput.cva.d.ts +0 -5
  271. package/dist/components/inputs/Selection/shared/selectInput.cva.js +0 -5
  272. package/dist/components/inputs/Selection/shared/staticSelect.utils.d.ts +0 -23
  273. package/dist/components/inputs/Selection/shared/staticSelect.utils.js +0 -37
  274. package/dist/components/inputs/Selection/shared/staticSelect.utils.spec.d.ts +0 -1
  275. package/dist/components/inputs/Skeleton/InputFrame.d.ts +0 -82
  276. package/dist/components/inputs/Skeleton/InputFrame.js +0 -548
  277. package/dist/components/inputs/shared/tooltipWrapper.cva.d.ts +0 -4
  278. package/dist/components/inputs/shared/tooltipWrapper.cva.js +0 -5
  279. package/dist/components/inputs/shared/useStaticInputHandoff.d.ts +0 -14
  280. package/dist/components/inputs/shared/useStaticInputHandoff.js +0 -100
  281. package/dist/hooks/useQueryAutocomplete.d.ts +0 -14
  282. package/dist/hooks/useQueryAutocomplete.js +0 -57
  283. package/dist/utils/query.utils.d.ts +0 -4
  284. package/dist/utils/query.utils.js +0 -8
@@ -1,135 +1,33 @@
1
- import { CalendarDate, CalendarDateTime, DateFormatter, fromDate, getLocalTimeZone, parseAbsolute } from "@internationalized/date";
1
+ import { CalendarDate, CalendarDateTime, fromDate, getLocalTimeZone, parseAbsolute } from "@internationalized/date";
2
2
  import { DateTime } from "luxon";
3
3
  //#region src/utils/date-time.utils.ts
4
4
  var DateTimeUtils;
5
5
  (function(_DateTimeUtils) {
6
- const DATE_SAMPLE_DATE_UTC = new Date(Date.UTC(2e3, 10, 22));
7
- const TIME_SAMPLE_DATE_UTC = new Date(Date.UTC(2e3, 10, 22, 6, 45));
8
- const getDayMonthFormat = (shouldForceLeadingZeros = false) => shouldForceLeadingZeros ? "2-digit" : "numeric";
9
- const getDatePlaceholderFormatter = (locale, options) => new Intl.DateTimeFormat(locale, {
10
- day: getDayMonthFormat(options?.shouldForceLeadingZeros),
11
- month: getDayMonthFormat(options?.shouldForceLeadingZeros),
12
- year: "numeric"
13
- });
14
- const getTimePlaceholderFormatter = (locale) => new Intl.DateTimeFormat(locale, {
15
- hour: "2-digit",
16
- minute: "2-digit"
17
- });
18
- const getResolvedLocale = (locale) => {
19
- if (locale) return locale;
20
- return new Intl.DateTimeFormat().resolvedOptions().locale;
21
- };
22
- const getDateFormatter = (locale, options) => new Intl.DateTimeFormat(getResolvedLocale(locale), {
23
- day: getDayMonthFormat(options?.shouldForceLeadingZeros),
24
- month: getDayMonthFormat(options?.shouldForceLeadingZeros),
25
- year: "numeric",
26
- timeZone: "UTC"
27
- });
28
- const getTimeFormatter = (locale) => new DateFormatter(getResolvedLocale(locale), {
29
- hour: "numeric",
30
- minute: "2-digit",
31
- timeZone: "UTC"
32
- });
33
- const getDateTimeFormatter = (locale, options) => new Intl.DateTimeFormat(getResolvedLocale(locale), {
34
- day: getDayMonthFormat(options?.shouldForceLeadingZeros),
35
- month: getDayMonthFormat(options?.shouldForceLeadingZeros),
36
- year: "numeric",
37
- hour: "numeric",
38
- minute: "2-digit",
39
- timeZone: "UTC"
40
- });
41
- const getLocaleDateFormat = (locale) => {
42
- const sampleDate = new Date(Date.UTC(2e3, 10, 22));
43
- return new Intl.DateTimeFormat(locale, {
6
+ function getLocaleDateFormat(locale) {
7
+ const parts = new Intl.DateTimeFormat(locale, {
44
8
  day: "2-digit",
45
9
  month: "2-digit",
46
- year: "numeric",
47
- timeZone: "UTC"
48
- }).formatToParts(sampleDate).map((part) => {
49
- if (part.type === "day") return "dd";
50
- if (part.type === "month") return "MM";
51
- if (part.type === "year") return "yyyy";
52
- return part.value;
53
- }).join("");
54
- };
55
- const repeatLocalizedFieldLabel = (type, length, locale) => {
56
- const placeholderChar = new Intl.DisplayNames(getResolvedLocale(locale), { type: "dateTimeField" }).of(type)?.trim().charAt(0).toLocaleLowerCase(getResolvedLocale(locale));
57
- if (!placeholderChar) return null;
58
- return placeholderChar.repeat(length);
59
- };
60
- const mapTypeToPlaceholder = (type, locale) => {
61
- switch (type) {
62
- case "day": return repeatLocalizedFieldLabel(type, 2, locale);
63
- case "month": return repeatLocalizedFieldLabel(type, 2, locale);
64
- case "year": return repeatLocalizedFieldLabel(type, 4, locale);
65
- case "hour": return "hh";
66
- case "minute": return "mm";
67
- default: return null;
10
+ year: "numeric"
11
+ }).formatToParts(new Date(2001, 10, 23));
12
+ let format = "";
13
+ for (const part of parts) {
14
+ if (part.type === "day") {
15
+ format += "dd";
16
+ continue;
17
+ }
18
+ if (part.type === "month") {
19
+ format += "MM";
20
+ continue;
21
+ }
22
+ if (part.type === "year") {
23
+ format += "yyyy";
24
+ continue;
25
+ }
26
+ if (part.type === "literal") format += part.value;
68
27
  }
69
- };
70
- const formatPlaceholder = (formatter, sampleDate) => {
71
- return formatter.formatToParts(sampleDate).map((part) => mapTypeToPlaceholder(part.type, formatter.resolvedOptions().locale) ?? part.value).join("");
72
- };
73
- const removeDateSeparatorSpacing = (value) => value.replace(/([./-])\s+(?=[\p{Letter}\p{Number}])/gu, "$1");
74
- const formatLocalizedDateParts = (formatter, date) => {
75
- return removeDateSeparatorSpacing(formatter.format(date));
76
- };
77
- const formatLocalizedDatePartList = (formatter, date, isPlaceholder) => {
78
- const locale = formatter.resolvedOptions().locale;
79
- return formatter.formatToParts(date).map((part) => {
80
- return {
81
- type: part.type,
82
- value: part.value.replace(/\s+/gu, ""),
83
- placeholder: mapTypeToPlaceholder(part.type, locale) ?? part.value.replace(/\s+/gu, ""),
84
- isPlaceholder
85
- };
86
- });
87
- };
88
- function getDatePlaceholder(locale, options) {
89
- return removeDateSeparatorSpacing(formatPlaceholder(getDatePlaceholderFormatter(locale, options), DATE_SAMPLE_DATE_UTC));
28
+ if (!format.includes("dd") || !format.includes("MM") || !format.includes("yyyy")) return "dd/MM/yyyy";
29
+ return format;
90
30
  }
91
- _DateTimeUtils.getDatePlaceholder = getDatePlaceholder;
92
- function getTimePlaceholder(locale) {
93
- return formatPlaceholder(getTimePlaceholderFormatter(locale), TIME_SAMPLE_DATE_UTC);
94
- }
95
- _DateTimeUtils.getTimePlaceholder = getTimePlaceholder;
96
- function getDateTimePlaceholder(locale, options) {
97
- return `${getDatePlaceholder(locale, options)}, ${getTimePlaceholder(locale)}`;
98
- }
99
- _DateTimeUtils.getDateTimePlaceholder = getDateTimePlaceholder;
100
- function getDateRangePlaceholder(locale, options) {
101
- const datePlaceholder = getDatePlaceholder(locale, options);
102
- return `${datePlaceholder} – ${datePlaceholder}`;
103
- }
104
- _DateTimeUtils.getDateRangePlaceholder = getDateRangePlaceholder;
105
- function formatCalendarDateLocalized(calendarDate, locale, options) {
106
- return formatLocalizedDateParts(getDateFormatter(locale, options), calendarDate.toDate("UTC"));
107
- }
108
- _DateTimeUtils.formatCalendarDateLocalized = formatCalendarDateLocalized;
109
- function formatCalendarDatePartsLocalized(calendarDate, locale, options) {
110
- return formatLocalizedDatePartList(getDateFormatter(locale, options), calendarDate?.toDate("UTC") ?? DATE_SAMPLE_DATE_UTC, !calendarDate);
111
- }
112
- _DateTimeUtils.formatCalendarDatePartsLocalized = formatCalendarDatePartsLocalized;
113
- function formatCalendarDateTimePartsLocalized(calendarDateTime, locale, options) {
114
- const normalizedValue = calendarDateTime ? new CalendarDateTime(calendarDateTime.year, calendarDateTime.month, calendarDateTime.day, calendarDateTime.hour, calendarDateTime.minute) : null;
115
- return formatLocalizedDatePartList(getDateTimeFormatter(locale, options), normalizedValue?.toDate("UTC") ?? TIME_SAMPLE_DATE_UTC, !calendarDateTime);
116
- }
117
- _DateTimeUtils.formatCalendarDateTimePartsLocalized = formatCalendarDateTimePartsLocalized;
118
- function formatTimeLocalized(timeValue, locale) {
119
- const dateTime = new CalendarDateTime(2e3, 11, 22, timeValue.hour, timeValue.minute);
120
- return getTimeFormatter(locale).format(dateTime.toDate("UTC"));
121
- }
122
- _DateTimeUtils.formatTimeLocalized = formatTimeLocalized;
123
- function formatTimePartsLocalized(timeValue, locale) {
124
- const normalizedValue = new CalendarDateTime(2e3, 11, 22, timeValue?.hour ?? 6, timeValue?.minute ?? 45);
125
- return formatLocalizedDatePartList(getTimeFormatter(locale), normalizedValue.toDate("UTC"), !timeValue);
126
- }
127
- _DateTimeUtils.formatTimePartsLocalized = formatTimePartsLocalized;
128
- function formatCalendarDateTimeLocalized(calendarDateTime, locale, options) {
129
- const normalizedValue = new CalendarDateTime(calendarDateTime.year, calendarDateTime.month, calendarDateTime.day, calendarDateTime.hour, calendarDateTime.minute);
130
- return formatLocalizedDateParts(getDateTimeFormatter(locale, options), normalizedValue.toDate("UTC"));
131
- }
132
- _DateTimeUtils.formatCalendarDateTimeLocalized = formatCalendarDateTimeLocalized;
133
31
  function resolveTimeZone(timeZone) {
134
32
  if (timeZone) return timeZone;
135
33
  return getLocalTimeZone();
@@ -143,16 +41,6 @@ var DateTimeUtils;
143
41
  return dateValue.toDate(resolvedTimeZone).toISOString();
144
42
  }
145
43
  _DateTimeUtils.fromDateValueToISO = fromDateValueToISO;
146
- function fromDateValueFieldsToUTCISO(dateValue) {
147
- const dateTimeFields = dateValue;
148
- return new CalendarDateTime(dateValue.year, dateValue.month, dateValue.day, dateTimeFields.hour ?? 0, dateTimeFields.minute ?? 0, dateTimeFields.second ?? 0, dateTimeFields.millisecond ?? 0).toDate("UTC").toISOString();
149
- }
150
- _DateTimeUtils.fromDateValueFieldsToUTCISO = fromDateValueFieldsToUTCISO;
151
- function getCurrentWallClockCalendarDateTime() {
152
- const date = /* @__PURE__ */ new Date();
153
- return new CalendarDateTime(date.getFullYear(), date.getMonth() + 1, date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());
154
- }
155
- _DateTimeUtils.getCurrentWallClockCalendarDateTime = getCurrentWallClockCalendarDateTime;
156
44
  function fromDateValueToOffsetISO(dateValue, timeZone) {
157
45
  const resolvedTimeZone = resolveTimeZone(timeZone);
158
46
  const date = dateValue.toDate(resolvedTimeZone);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@povio/ui",
3
- "version": "2.3.2-rc.3",
3
+ "version": "2.3.3",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +0,0 @@
1
- import { IconButtonProps } from '../../../buttons/IconButton/IconButton';
2
- export type DatePickerTodayIcon = boolean | IconButtonProps["icon"];
3
- export type DatePickerTodayIconButtonSize = IconButtonProps["size"];
4
- export type DatePickerTodayIconButtonComponent = "iconButton" | "inlineIconButton";
5
- export type DatePickerTodayIconPlacement = "content" | "fieldLabel";
@@ -1,7 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import { InputSizeProps } from '../../shared/input.cva';
3
- export declare const datePickerInputContentRow: (props?: ({
4
- size?: "small" | "default" | "extra-small" | "large" | null | undefined;
5
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
- export interface DatePickerInputContentRowProps extends VariantProps<typeof datePickerInputContentRow>, InputSizeProps {
7
- }
@@ -1,13 +0,0 @@
1
- import { cva } from "class-variance-authority";
2
- //#region src/components/inputs/DateTime/shared/datePickerInput.cva.ts
3
- var datePickerInputContentRow = cva("flex items-center gap-input-gap-input-text-to-elements", {
4
- variants: { size: {
5
- "extra-small": "",
6
- small: "",
7
- default: "",
8
- large: ""
9
- } },
10
- defaultVariants: { size: "default" }
11
- });
12
- //#endregion
13
- export { datePickerInputContentRow };
@@ -1,15 +0,0 @@
1
- import { FC, ReactElement, SVGProps } from 'react';
2
- import { PressEvent } from 'react-aria-components';
3
- import { DatePickerTodayIcon, DatePickerTodayIconButtonComponent, DatePickerTodayIconButtonSize } from './datePicker.types';
4
- type TodayIconComponent = FC<SVGProps<SVGSVGElement>> | ReactElement;
5
- type DatePickerTodayIconOptions = {
6
- className?: string;
7
- isDisabled?: boolean;
8
- onPress?: (event: PressEvent) => void;
9
- renderStatic?: boolean;
10
- size?: DatePickerTodayIconButtonSize;
11
- todayIconButtonComponent?: DatePickerTodayIconButtonComponent;
12
- };
13
- export declare const getDatePickerTodayIcon: (todayIcon: DatePickerTodayIcon | undefined) => TodayIconComponent | null;
14
- export declare const renderDatePickerTodayIcon: (todayIcon: DatePickerTodayIcon | undefined, options?: DatePickerTodayIconOptions) => import("react/jsx-runtime").JSX.Element | undefined;
15
- export {};
@@ -1,32 +0,0 @@
1
- import { IconButton } from "../../../buttons/IconButton/IconButton.js";
2
- import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
3
- import { TodayIcon } from "../../../../assets/icons/Today.js";
4
- import { jsx } from "react/jsx-runtime";
5
- //#region src/components/inputs/DateTime/shared/datePickerTodayIcon.tsx
6
- var getDatePickerTodayIcon = (todayIcon) => {
7
- if (!todayIcon) return null;
8
- return todayIcon === true ? TodayIcon : todayIcon;
9
- };
10
- var renderDatePickerTodayIcon = (todayIcon, options) => {
11
- const icon = getDatePickerTodayIcon(todayIcon);
12
- if (!icon) return;
13
- const { className, isDisabled, onPress, renderStatic, size = "none", todayIconButtonComponent = "iconButton" } = options ?? {};
14
- const buttonProps = {
15
- label: "",
16
- icon,
17
- size,
18
- isDisabled,
19
- onPress
20
- };
21
- if (todayIconButtonComponent === "inlineIconButton") return /* @__PURE__ */ jsx(InlineIconButton, {
22
- ...buttonProps,
23
- staticRender: renderStatic,
24
- className: className ?? "relative z-1 !border-none"
25
- });
26
- return /* @__PURE__ */ jsx(IconButton, {
27
- ...buttonProps,
28
- className: className ?? "relative z-1"
29
- });
30
- };
31
- //#endregion
32
- export { renderDatePickerTodayIcon };
@@ -1,2 +0,0 @@
1
- import { DateSegment } from '@react-stately/datepicker';
2
- export declare const getTimeSegmentValue: (segment: DateSegment | undefined, fallbackValue?: number) => number;
@@ -1,39 +0,0 @@
1
- import { CalendarDate } from '@internationalized/date';
2
- import { ReactNode } from 'react';
3
- import { DateValue, TimeValue } from 'react-aria';
4
- interface StaticSegmentProps {
5
- isDisabled?: boolean;
6
- hidePlaceholder?: boolean;
7
- }
8
- interface StaticManualEntryPlaceholderProps {
9
- disableManualEntry?: boolean;
10
- placeholder?: ReactNode;
11
- }
12
- type StaticDateGranularity = "day" | "month" | "year";
13
- interface StaticCalendarDateSegmentsProps extends StaticSegmentProps, StaticManualEntryPlaceholderProps {
14
- value?: CalendarDate | null;
15
- locale: string;
16
- shouldForceLeadingZeros?: boolean;
17
- dateGranularity?: StaticDateGranularity;
18
- }
19
- interface StaticCalendarDateTimeSegmentsProps extends StaticSegmentProps, StaticManualEntryPlaceholderProps {
20
- value?: DateValue | null;
21
- locale: string;
22
- shouldForceLeadingZeros?: boolean;
23
- }
24
- interface StaticDateRangeSegmentsProps extends StaticSegmentProps, StaticManualEntryPlaceholderProps {
25
- start?: CalendarDate | null;
26
- end?: CalendarDate | null;
27
- locale: string;
28
- shouldForceLeadingZeros?: boolean;
29
- }
30
- interface StaticTimeSegmentsProps extends StaticSegmentProps, StaticManualEntryPlaceholderProps {
31
- value?: TimeValue | null;
32
- locale: string;
33
- }
34
- export declare const getStaticCalendarDateSegments: ({ value, locale, shouldForceLeadingZeros, isDisabled, hidePlaceholder, disableManualEntry, placeholder, dateGranularity, }: StaticCalendarDateSegmentsProps) => import("react/jsx-runtime").JSX.Element;
35
- export declare const getStaticCalendarDateTimeSegments: ({ value, locale, shouldForceLeadingZeros, isDisabled, hidePlaceholder, disableManualEntry, placeholder, }: StaticCalendarDateTimeSegmentsProps) => import("react/jsx-runtime").JSX.Element;
36
- export declare const getStaticDateRangeSegments: ({ start, end, locale, shouldForceLeadingZeros, isDisabled, hidePlaceholder, disableManualEntry, placeholder, }: StaticDateRangeSegmentsProps) => import("react/jsx-runtime").JSX.Element;
37
- export declare const getStaticTimeSegments: ({ value, locale, isDisabled, hidePlaceholder, disableManualEntry, placeholder, }: StaticTimeSegmentsProps) => import("react/jsx-runtime").JSX.Element;
38
- export declare const getStaticDateTimePlaceholder: (placeholder: ReactNode) => import("react/jsx-runtime").JSX.Element;
39
- export {};
@@ -1,85 +0,0 @@
1
- import { Typography } from "../../../text/Typography/Typography.js";
2
- import { DateSegmentItemView } from "./DateSegmentItem.js";
3
- import { DateTimeUtils } from "../../../../utils/date-time.utils.js";
4
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
- //#region src/components/inputs/DateTime/shared/staticDateTimeSegments.tsx
6
- var getStaticCalendarDateSegments = ({ value, locale, shouldForceLeadingZeros, isDisabled, hidePlaceholder, disableManualEntry, placeholder, dateGranularity = "day" }) => {
7
- if (disableManualEntry && placeholder && !value) return getStaticDateTimePlaceholder(placeholder);
8
- return renderStaticDateTimeParts(DateTimeUtils.formatCalendarDatePartsLocalized(value, locale, { shouldForceLeadingZeros }), {
9
- isDisabled,
10
- hidePlaceholder,
11
- dateGranularity
12
- });
13
- };
14
- var getStaticCalendarDateTimeSegments = ({ value, locale, shouldForceLeadingZeros, isDisabled, hidePlaceholder, disableManualEntry, placeholder }) => {
15
- const hasValue = !!(value && "hour" in value);
16
- if (disableManualEntry && placeholder && !hasValue) return getStaticDateTimePlaceholder(placeholder);
17
- return renderStaticDateTimeParts(DateTimeUtils.formatCalendarDateTimePartsLocalized(hasValue ? value : null, locale, { shouldForceLeadingZeros }), {
18
- isDisabled,
19
- hidePlaceholder,
20
- segmentRole: "spinbutton"
21
- });
22
- };
23
- var getStaticDateRangeSegments = ({ start, end, locale, shouldForceLeadingZeros, isDisabled, hidePlaceholder, disableManualEntry, placeholder }) => {
24
- if (disableManualEntry && placeholder && !start && !end) return getStaticDateTimePlaceholder(placeholder);
25
- const showSeparator = !hidePlaceholder;
26
- return /* @__PURE__ */ jsxs(Fragment, { children: [
27
- renderStaticDateTimeParts(DateTimeUtils.formatCalendarDatePartsLocalized(start, locale, { shouldForceLeadingZeros }), {
28
- isDisabled,
29
- hidePlaceholder: hidePlaceholder && !start
30
- }),
31
- showSeparator && /* @__PURE__ */ jsx("span", {
32
- className: isDisabled ? "pointer-events-none select-none text-interactive-text-secondary-disabled" : "pointer-events-none select-none",
33
- children: "–"
34
- }),
35
- renderStaticDateTimeParts(DateTimeUtils.formatCalendarDatePartsLocalized(end, locale, { shouldForceLeadingZeros }), {
36
- isDisabled,
37
- hidePlaceholder: hidePlaceholder && !end
38
- })
39
- ] });
40
- };
41
- var getStaticTimeSegments = ({ value, locale, isDisabled, hidePlaceholder, disableManualEntry, placeholder }) => {
42
- if (disableManualEntry && placeholder && !value) return getStaticDateTimePlaceholder(placeholder);
43
- return renderStaticDateTimeParts(DateTimeUtils.formatTimePartsLocalized(value, locale), {
44
- isDisabled,
45
- hidePlaceholder,
46
- timePickerOnly: true
47
- });
48
- };
49
- var getStaticDateTimePlaceholder = (placeholder) => /* @__PURE__ */ jsx(Typography, {
50
- size: "label-1",
51
- className: "text-text-default-3",
52
- children: placeholder
53
- });
54
- var renderStaticDateTimeParts = (parts, options) => {
55
- return /* @__PURE__ */ jsx("div", {
56
- className: "flex",
57
- children: getStaticDateTimePartsToRender(parts, options.dateGranularity).map((part, index) => /* @__PURE__ */ jsx(DateSegmentItemView, {
58
- type: part.type,
59
- text: part.value,
60
- placeholder: part.placeholder,
61
- isPlaceholder: part.isPlaceholder && part.type !== "literal",
62
- isInputEmpty: parts.some((item) => item.type !== "literal" && item.isPlaceholder),
63
- isDisabled: options.isDisabled,
64
- timePickerOnly: options.timePickerOnly,
65
- hidePlaceholder: options.hidePlaceholder,
66
- role: part.type === "literal" ? void 0 : options.segmentRole
67
- }, index))
68
- });
69
- };
70
- var getStaticDateTimePartsToRender = (parts, dateGranularity = "day") => {
71
- const segments = [];
72
- for (const part of parts) if (part.type !== "literal") {
73
- if (isStaticDatePartVisible(part.type, dateGranularity)) segments.push(part);
74
- } else if (segments.length > 0 && segments.at(-1)?.type !== "literal") segments.push(part);
75
- if (segments.at(-1)?.type === "literal") segments.pop();
76
- return segments;
77
- };
78
- var isStaticDatePartVisible = (type, dateGranularity) => {
79
- if (dateGranularity === "day") return true;
80
- if (dateGranularity === "month") return type !== "day";
81
- if (dateGranularity === "year") return type === "year";
82
- return true;
83
- };
84
- //#endregion
85
- export { getStaticCalendarDateSegments, getStaticCalendarDateTimeSegments, getStaticDateRangeSegments, getStaticTimeSegments };
@@ -1,6 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- export declare const formFieldHeader: (props?: ({
3
- visible?: boolean | null | undefined;
4
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
- export interface FormFieldHeaderVariantProps extends VariantProps<typeof formFieldHeader> {
6
- }
@@ -1,11 +0,0 @@
1
- import { cva } from "class-variance-authority";
2
- //#region src/components/inputs/FormField/formFieldHeader.cva.ts
3
- var formFieldHeader = cva("", {
4
- variants: { visible: {
5
- true: "mb-1",
6
- false: "sr-only"
7
- } },
8
- defaultVariants: { visible: true }
9
- });
10
- //#endregion
11
- export { formFieldHeader };
@@ -1,45 +0,0 @@
1
- import { FocusEvent, HTMLAttributes, Ref } from 'react';
2
- import { NumberFieldProps as AriaNumberFieldProps } from 'react-aria-components';
3
- import { FormFieldProps } from '../../FormField/FormField';
4
- import { FormFieldHeaderProps } from '../../FormField/FormFieldHeader';
5
- import { InputVariantProps } from '../../shared/input.cva';
6
- export interface NumberRangeValue {
7
- min: number | null;
8
- max: number | null;
9
- }
10
- type NumberRangeFieldInputProps = Omit<AriaNumberFieldProps, "className" | "defaultValue" | "label" | "maxValue" | "minValue" | "onBlur" | "onChange" | "value">;
11
- export interface NumberRangeFieldProps extends NumberRangeFieldInputProps {
12
- ref?: Ref<HTMLDivElement>;
13
- as: InputVariantProps["as"];
14
- className?: string;
15
- inputClassName?: string;
16
- minInputClassName?: string;
17
- maxInputClassName?: string;
18
- inputBaseClassName: string;
19
- inputSizeClassName: string;
20
- formFieldProps: FormFieldProps;
21
- headerProps: FormFieldHeaderProps;
22
- rangeValue: NumberRangeValue;
23
- effectiveError?: string;
24
- minPlaceholder: string;
25
- maxPlaceholder: string;
26
- minLabel: string;
27
- maxLabel: string;
28
- hideInnerLabels?: boolean;
29
- isDirty?: boolean;
30
- isClearable?: boolean;
31
- autoFocusOnMount?: boolean;
32
- isDisabled?: boolean;
33
- isRequired?: boolean;
34
- isEmpty: boolean;
35
- isHovered: boolean;
36
- isFocused: boolean;
37
- isFocusVisible: boolean;
38
- focusWithinProps: HTMLAttributes<HTMLElement>;
39
- hoverProps: HTMLAttributes<HTMLElement>;
40
- onRangeSideChange: (side: keyof NumberRangeValue, nextValue: number | null) => void;
41
- onRangeSideClear: (side: keyof NumberRangeValue) => void;
42
- onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
43
- }
44
- export declare const NumberRangeField: ({ ref, as, className, inputClassName, minInputClassName, maxInputClassName, inputBaseClassName, inputSizeClassName, formFieldProps, headerProps, rangeValue, effectiveError, minPlaceholder, maxPlaceholder, minLabel, maxLabel, hideInnerLabels, isDirty, isClearable, autoFocusOnMount, isDisabled, isRequired, isEmpty, isHovered, isFocused, isFocusVisible, focusWithinProps, hoverProps, onRangeSideChange, onRangeSideClear, onBlur, ...numberFieldProps }: NumberRangeFieldProps) => import("react/jsx-runtime").JSX.Element;
45
- export {};