@povio/ui 3.4.0-rc.4 → 3.4.0-rc.6

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 (263) hide show
  1. package/dist/components/Breadcrumbs/Breadcrumbs.js +13 -4
  2. package/dist/components/Menu/Menu.js +1 -1
  3. package/dist/components/Menu/MenuDesktop.js +1 -1
  4. package/dist/components/Menu/MenuItem.js +6 -3
  5. package/dist/components/Menu/MenuMobile.js +6 -3
  6. package/dist/components/Menu/MenuPopover.js +1 -1
  7. package/dist/components/buttons/IconButton/IconButton.js +1 -1
  8. package/dist/components/buttons/PillButton/PillButton.js +3 -3
  9. package/dist/components/buttons/PillButton/pillButton.cva.d.ts +1 -1
  10. package/dist/components/buttons/SplitButton/SplitButton.js +3 -3
  11. package/dist/components/buttons/TextButton/TextButton.js +1 -1
  12. package/dist/components/buttons/ToggleButton/ToggleButton.js +1 -1
  13. package/dist/components/buttons/shared/buttonContent.cva.d.ts +1 -1
  14. package/dist/components/inputs/Checkbox/Checkbox.js +1 -1
  15. package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +2 -3
  16. package/dist/components/inputs/Checkbox/CheckboxGroup.js +1 -1
  17. package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +1 -0
  18. package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +2 -1
  19. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +1 -0
  20. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +2 -1
  21. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +1 -0
  22. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +2 -1
  23. package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +1 -0
  24. package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +196 -191
  25. package/dist/components/inputs/DateTime/shared/CalendarHeader.js +13 -9
  26. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +7 -11
  27. package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +2 -1
  28. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +2 -2
  29. package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +1 -1
  30. package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +1 -1
  31. package/dist/components/inputs/DateTime/shared/MonthPicker.js +1 -1
  32. package/dist/components/inputs/DateTime/shared/RangeCalendar.js +1 -1
  33. package/dist/components/inputs/DateTime/shared/TimeField.js +1 -1
  34. package/dist/components/inputs/DateTime/shared/TimePickerForm.js +3 -4
  35. package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +2 -1
  36. package/dist/components/inputs/DateTime/shared/TimePickerInput.js +46 -44
  37. package/dist/components/inputs/DateTime/shared/YearPicker.js +1 -1
  38. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +46 -1
  39. package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +1 -1
  40. package/dist/components/inputs/File/FileUpload.js +1 -1
  41. package/dist/components/inputs/File/FileUploadContainer.js +1 -1
  42. package/dist/components/inputs/File/InputUpload.js +1 -1
  43. package/dist/components/inputs/File/shared/FileCard.js +1 -1
  44. package/dist/components/inputs/File/shared/FileCardList.js +1 -1
  45. package/dist/components/inputs/File/shared/FileUploadContent.js +1 -1
  46. package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +5 -2
  47. package/dist/components/inputs/File/shared/FileUploadContentError.js +8 -5
  48. package/dist/components/inputs/File/shared/FileUploadContentFilled.js +8 -5
  49. package/dist/components/inputs/File/shared/FileUploadContentLoading.js +7 -4
  50. package/dist/components/inputs/File/shared/InputUploadContent.js +3 -3
  51. package/dist/components/inputs/File/shared/InputUploadFilled.js +3 -3
  52. package/dist/components/inputs/FormField/FormField.js +1 -1
  53. package/dist/components/inputs/FormField/FormFieldError.js +1 -1
  54. package/dist/components/inputs/FormField/FormFieldHeader.js +4 -3
  55. package/dist/components/inputs/FormField/FormFieldHeaderClose.js +6 -3
  56. package/dist/components/inputs/FormField/FormFieldHelper.js +1 -1
  57. package/dist/components/inputs/FormField/FormFieldLabel.js +1 -1
  58. package/dist/components/inputs/Input/NumberInput/NumberInput.js +89 -87
  59. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +2 -1
  60. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +264 -253
  61. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +1 -0
  62. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +5 -4
  63. package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +3 -4
  64. package/dist/components/inputs/Input/TextArea/TextArea.d.ts +1 -0
  65. package/dist/components/inputs/Input/TextArea/TextArea.js +99 -98
  66. package/dist/components/inputs/Input/TextInput/TextInput.js +92 -90
  67. package/dist/components/inputs/Input/shared/InputContent.d.ts +2 -1
  68. package/dist/components/inputs/Input/shared/InputContent.js +49 -47
  69. package/dist/components/inputs/Inputs/Form.js +1 -1
  70. package/dist/components/inputs/Inputs/InputItem.js +1 -1
  71. package/dist/components/inputs/Inputs/Inputs.js +1 -1
  72. package/dist/components/inputs/RadioGroup/RadioGroup.js +1 -1
  73. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +1 -1
  74. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +1 -1
  75. package/dist/components/inputs/Selection/Select/QuerySelect.js +1 -1
  76. package/dist/components/inputs/Selection/Select/Select.js +1 -1
  77. package/dist/components/inputs/Selection/shared/SelectBase.d.ts +1 -0
  78. package/dist/components/inputs/Selection/shared/SelectBase.js +1 -1
  79. package/dist/components/inputs/Selection/shared/SelectDesktop.js +55 -53
  80. package/dist/components/inputs/Selection/shared/SelectInput.d.ts +2 -2
  81. package/dist/components/inputs/Selection/shared/SelectInput.js +56 -54
  82. package/dist/components/inputs/Selection/shared/SelectInputTags.js +1 -1
  83. package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +1 -1
  84. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +1 -1
  85. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +1 -1
  86. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +1 -1
  87. package/dist/components/inputs/Selection/shared/SelectMobile.js +7 -3
  88. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +6 -3
  89. package/dist/components/inputs/Skeleton/InputFrame.d.ts +1 -0
  90. package/dist/components/inputs/Skeleton/InputFrame.js +2 -2
  91. package/dist/components/inputs/Slider/Slider.js +1 -1
  92. package/dist/components/inputs/TextEditor/TextEditor.js +1 -1
  93. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +1 -1
  94. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +4 -3
  95. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +3 -3
  96. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +6 -9
  97. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +5 -4
  98. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +1 -1
  99. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +9 -6
  100. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +4 -5
  101. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +6 -9
  102. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +1 -1
  103. package/dist/components/inputs/Toggle/Toggle.js +1 -1
  104. package/dist/components/inputs/shared/CheckContent.js +1 -1
  105. package/dist/components/inputs/shared/InputClear.js +7 -4
  106. package/dist/components/inputs/shared/TooltipWrapper.d.ts +1 -1
  107. package/dist/components/inputs/shared/TooltipWrapper.js +1 -1
  108. package/dist/components/inputs/shared/form.binding.js +1 -1
  109. package/dist/components/inputs/shared/input.cva.js +1 -1
  110. package/dist/components/inputs/shared/useStaticInputHandoff.js +64 -38
  111. package/dist/components/navigation/Accordion/AccordionItem.js +5 -2
  112. package/dist/components/navigation/Stepper/StepperItem.js +6 -3
  113. package/dist/components/navigation/Stepper/StepperSeparator.js +1 -1
  114. package/dist/components/overlays/BottomSheet/BottomSheet.js +1 -1
  115. package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +6 -3
  116. package/dist/components/overlays/Drawer/Drawer.js +1 -1
  117. package/dist/components/overlays/Modal/Modal.js +2 -2
  118. package/dist/components/overlays/Tooltip/Tooltip.js +14 -5
  119. package/dist/components/overlays/Tooltip/TooltipEllipsis.js +1 -1
  120. package/dist/components/segment/Segment.js +1 -1
  121. package/dist/components/segment/SegmentItem.js +1 -1
  122. package/dist/components/shared/pagination/PaginationList.js +6 -9
  123. package/dist/components/status/Loader/Loader.js +1 -1
  124. package/dist/components/status/Toast/Toast.js +1 -1
  125. package/dist/components/status/Toast/useToast.js +1 -1
  126. package/dist/components/table/ColumnConfig.js +1 -1
  127. package/dist/components/table/PaginatedTable.js +1 -1
  128. package/dist/components/table/Table.js +148 -40
  129. package/dist/components/text/Link/Link.js +1 -1
  130. package/dist/components/text/Pill/Pill.js +5 -2
  131. package/dist/components/text/Tag/Tag.js +5 -2
  132. package/dist/config/link.context.js +1 -1
  133. package/dist/config/router.context.js +1 -1
  134. package/dist/config/uiConfig.context.js +13 -6
  135. package/dist/config/uiOverrides.context.js +1 -1
  136. package/dist/hooks/useFilters.js +1 -1
  137. package/dist/hooks/useForm.js +1 -1
  138. package/dist/hooks/useIntersectionObserver.js +1 -1
  139. package/dist/hooks/useLocalStorage.js +1 -1
  140. package/dist/hooks/usePagination.js +1 -1
  141. package/dist/hooks/useScrollableListBox.js +1 -1
  142. package/dist/hooks/useSorting.js +1 -1
  143. package/dist/hooks/useStateAndRef.js +1 -1
  144. package/dist/hooks/useTableColumnConfig.js +1 -1
  145. package/dist/index.js +1 -40
  146. package/dist/node_modules/.pnpm/react-icons-sprite@1.1.1_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js +15 -0
  147. package/dist/react-icons-sprite-4cbd6962.svg +1 -0
  148. package/dist/rhf/Inputs.js +1 -1
  149. package/dist/rhf.d.ts +0 -39
  150. package/dist/tanstack.d.ts +0 -39
  151. package/dist/tanstack.js +1 -40
  152. package/package.json +2 -1
  153. package/dist/assets/icons/Account.d.ts +0 -2
  154. package/dist/assets/icons/AlignCenter.d.ts +0 -2
  155. package/dist/assets/icons/AlignCenter.js +0 -30
  156. package/dist/assets/icons/AlignLeft.d.ts +0 -2
  157. package/dist/assets/icons/AlignLeft.js +0 -30
  158. package/dist/assets/icons/AlignLeftRight.d.ts +0 -2
  159. package/dist/assets/icons/AlignLeftRight.js +0 -30
  160. package/dist/assets/icons/AlignRight.d.ts +0 -2
  161. package/dist/assets/icons/AlignRight.js +0 -30
  162. package/dist/assets/icons/ArrowDropDown.d.ts +0 -2
  163. package/dist/assets/icons/ArrowDropDown.js +0 -30
  164. package/dist/assets/icons/ArrowDropUp.d.ts +0 -2
  165. package/dist/assets/icons/ArrowDropUp.js +0 -30
  166. package/dist/assets/icons/ArrowLeft.d.ts +0 -2
  167. package/dist/assets/icons/ArrowLeft.js +0 -30
  168. package/dist/assets/icons/ArrowRight.d.ts +0 -2
  169. package/dist/assets/icons/ArrowRight.js +0 -30
  170. package/dist/assets/icons/Board.d.ts +0 -2
  171. package/dist/assets/icons/Bold.d.ts +0 -2
  172. package/dist/assets/icons/Bold.js +0 -30
  173. package/dist/assets/icons/BulletedList.d.ts +0 -2
  174. package/dist/assets/icons/BulletedList.js +0 -30
  175. package/dist/assets/icons/Calendar.d.ts +0 -2
  176. package/dist/assets/icons/Calendar.js +0 -32
  177. package/dist/assets/icons/Check.d.ts +0 -2
  178. package/dist/assets/icons/Check.js +0 -32
  179. package/dist/assets/icons/CheckCircle.d.ts +0 -2
  180. package/dist/assets/icons/CheckCircle.js +0 -30
  181. package/dist/assets/icons/CheckboxCheckmark.d.ts +0 -2
  182. package/dist/assets/icons/CheckboxCheckmark.js +0 -33
  183. package/dist/assets/icons/CheckboxIndeterminate.d.ts +0 -2
  184. package/dist/assets/icons/CheckboxIndeterminate.js +0 -33
  185. package/dist/assets/icons/ChevronDown.d.ts +0 -2
  186. package/dist/assets/icons/ChevronDown.js +0 -32
  187. package/dist/assets/icons/ChevronLeft.d.ts +0 -2
  188. package/dist/assets/icons/ChevronLeft.js +0 -32
  189. package/dist/assets/icons/ChevronRight.d.ts +0 -2
  190. package/dist/assets/icons/ChevronRight.js +0 -32
  191. package/dist/assets/icons/ChevronUp.d.ts +0 -2
  192. package/dist/assets/icons/ChevronUp.js +0 -32
  193. package/dist/assets/icons/ChevronsLeft.d.ts +0 -2
  194. package/dist/assets/icons/ChevronsLeft.js +0 -32
  195. package/dist/assets/icons/ChevronsRight.d.ts +0 -2
  196. package/dist/assets/icons/ChevronsRight.js +0 -32
  197. package/dist/assets/icons/Clock.d.ts +0 -2
  198. package/dist/assets/icons/Clock.js +0 -30
  199. package/dist/assets/icons/Close.d.ts +0 -2
  200. package/dist/assets/icons/Close.js +0 -30
  201. package/dist/assets/icons/DateTime.d.ts +0 -2
  202. package/dist/assets/icons/DateTime.js +0 -39
  203. package/dist/assets/icons/DragIndicator.d.ts +0 -2
  204. package/dist/assets/icons/DragIndicator.js +0 -30
  205. package/dist/assets/icons/Edit.d.ts +0 -2
  206. package/dist/assets/icons/Emoji.d.ts +0 -2
  207. package/dist/assets/icons/File.d.ts +0 -2
  208. package/dist/assets/icons/File.js +0 -32
  209. package/dist/assets/icons/Grid.d.ts +0 -2
  210. package/dist/assets/icons/Highlight.d.ts +0 -2
  211. package/dist/assets/icons/Highlight.js +0 -30
  212. package/dist/assets/icons/HighlightOn.d.ts +0 -6
  213. package/dist/assets/icons/HighlightOn.js +0 -55
  214. package/dist/assets/icons/Home.d.ts +0 -2
  215. package/dist/assets/icons/Home.js +0 -30
  216. package/dist/assets/icons/Image.d.ts +0 -2
  217. package/dist/assets/icons/ImageError.d.ts +0 -2
  218. package/dist/assets/icons/Info.d.ts +0 -2
  219. package/dist/assets/icons/Info.js +0 -41
  220. package/dist/assets/icons/Italic.d.ts +0 -2
  221. package/dist/assets/icons/Italic.js +0 -30
  222. package/dist/assets/icons/Link.d.ts +0 -2
  223. package/dist/assets/icons/Link.js +0 -30
  224. package/dist/assets/icons/Loader.d.ts +0 -2
  225. package/dist/assets/icons/MapPin.d.ts +0 -2
  226. package/dist/assets/icons/Menu.d.ts +0 -2
  227. package/dist/assets/icons/Menu.js +0 -30
  228. package/dist/assets/icons/Minus.d.ts +0 -2
  229. package/dist/assets/icons/MoreHoriz.d.ts +0 -2
  230. package/dist/assets/icons/NumberedList.d.ts +0 -2
  231. package/dist/assets/icons/NumberedList.js +0 -30
  232. package/dist/assets/icons/Pause.d.ts +0 -2
  233. package/dist/assets/icons/Plus.d.ts +0 -2
  234. package/dist/assets/icons/PointerHorizontal.d.ts +0 -2
  235. package/dist/assets/icons/PointerHorizontal.js +0 -30
  236. package/dist/assets/icons/PointerVertical.d.ts +0 -2
  237. package/dist/assets/icons/PointerVertical.js +0 -30
  238. package/dist/assets/icons/Retry.d.ts +0 -2
  239. package/dist/assets/icons/Search.d.ts +0 -2
  240. package/dist/assets/icons/Search.js +0 -30
  241. package/dist/assets/icons/Send.d.ts +0 -2
  242. package/dist/assets/icons/Send.js +0 -32
  243. package/dist/assets/icons/Share.d.ts +0 -2
  244. package/dist/assets/icons/Slash.d.ts +0 -2
  245. package/dist/assets/icons/Strikethrough.d.ts +0 -2
  246. package/dist/assets/icons/Strikethrough.js +0 -30
  247. package/dist/assets/icons/TextColor.d.ts +0 -6
  248. package/dist/assets/icons/TextColor.js +0 -52
  249. package/dist/assets/icons/Today.d.ts +0 -2
  250. package/dist/assets/icons/Today.js +0 -30
  251. package/dist/assets/icons/Trash.d.ts +0 -2
  252. package/dist/assets/icons/Underlined.d.ts +0 -2
  253. package/dist/assets/icons/Underlined.js +0 -32
  254. package/dist/assets/icons/Upload.d.ts +0 -2
  255. package/dist/assets/icons/Upload.js +0 -39
  256. package/dist/assets/icons/User.d.ts +0 -2
  257. package/dist/assets/icons/Visibility.d.ts +0 -2
  258. package/dist/assets/icons/Visibility.js +0 -30
  259. package/dist/assets/icons/VisibilityOff.d.ts +0 -2
  260. package/dist/assets/icons/VisibilityOff.js +0 -30
  261. package/dist/assets/icons/WarningFilled.d.ts +0 -2
  262. package/dist/assets/icons/WarningFilled.js +0 -32
  263. package/dist/assets/icons/WarningOutlined.d.ts +0 -2
@@ -1,13 +1,13 @@
1
- import { CloseIcon } from "../../../../assets/icons/Close.js";
1
+ import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.1.1_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
2
2
  import { Typography } from "../../../text/Typography/Typography.js";
3
3
  import { Button } from "../../../buttons/Button/Button.js";
4
4
  import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
5
5
  import "../../../../config/i18n.js";
6
6
  import { FileUtils } from "../../../../utils/file.utils.js";
7
- import { FileIcon } from "../../../../assets/icons/File.js";
8
7
  import { ProgressBar } from "./ProgressBar.js";
9
8
  import { jsx, jsxs } from "react/jsx-runtime";
10
9
  import { clsx } from "clsx";
10
+ import { X } from "lucide-react";
11
11
  import { useTranslation } from "react-i18next";
12
12
  //#region src/components/inputs/File/shared/FileUploadContentLoading.tsx
13
13
  var FileUploadContentLoading = ({ index, variant, as, state, isDisabled, singleFile, onCancel, cancelButtonProps }) => {
@@ -30,7 +30,10 @@ var FileUploadContentLoading = ({ index, variant, as, state, isDisabled, singleF
30
30
  "w-full flex-col": variant === "vertical",
31
31
  "w-1/2": variant === "horizontal"
32
32
  }),
33
- children: [/* @__PURE__ */ jsx(FileIcon, { className: "h-6 w-6 text-text-default-1" }), /* @__PURE__ */ jsxs("div", {
33
+ children: [/* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
34
+ iconId: "ri-lucide-react-File",
35
+ className: "h-6 w-6 text-text-default-1"
36
+ }), /* @__PURE__ */ jsxs("div", {
34
37
  className: clsx("flex flex-col", {
35
38
  "max-w-full gap-file-upload-content-gap-icon-to-content text-center": variant === "vertical",
36
39
  "max-w-[calc(100%-32px)] gap-file-upload-content-gap-text-to-text": variant === "horizontal"
@@ -60,7 +63,7 @@ var FileUploadContentLoading = ({ index, variant, as, state, isDisabled, singleF
60
63
  onPress: () => {
61
64
  onCancel(index);
62
65
  },
63
- icon: CloseIcon
66
+ icon: X
64
67
  })]
65
68
  })]
66
69
  }), as === "button" && variant === "vertical" && /* @__PURE__ */ jsx(Button, {
@@ -4,13 +4,13 @@ import { Button as Button$1 } from "../../../buttons/Button/Button.js";
4
4
  import "../../../../config/i18n.js";
5
5
  import { TextButton } from "../../../buttons/TextButton/TextButton.js";
6
6
  import { inputSizeDefinition } from "../../shared/input.cva.js";
7
- import { UploadIcon } from "../../../../assets/icons/Upload.js";
8
7
  import { inputButtonSizeMapping } from "../inputUpload.types.js";
9
8
  import { inputUploadButton, inputUploadDropZone } from "./inputUploadButton.cva.js";
10
- import { c } from "react/compiler-runtime";
11
9
  import { jsx, jsxs } from "react/jsx-runtime";
12
10
  import { clsx } from "clsx";
13
11
  import { DropZone, FileTrigger } from "react-aria-components";
12
+ import { c } from "react/compiler-runtime";
13
+ import { Upload } from "lucide-react";
14
14
  import { useTranslation } from "react-i18next";
15
15
  //#region src/components/inputs/File/shared/InputUploadContent.tsx
16
16
  var InputUploadContent = (props) => {
@@ -86,7 +86,7 @@ var InputUploadContent = (props) => {
86
86
  if ($[19] !== buttonText || $[20] !== isDisabled || $[21] !== t || $[22] !== variant) {
87
87
  t7 = variant === "nested" && /* @__PURE__ */ jsx(TextButton, {
88
88
  isDisabled,
89
- icon: UploadIcon,
89
+ icon: Upload,
90
90
  children: buttonText ?? t(_temp2)
91
91
  });
92
92
  $[19] = buttonText;
@@ -1,11 +1,11 @@
1
- import { CloseIcon } from "../../../../assets/icons/Close.js";
2
1
  import { UIOverrides } from "../../../../config/uiOverrides.context.js";
3
2
  import { Typography } from "../../../text/Typography/Typography.js";
4
3
  import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
5
4
  import { inputSizeDefinition } from "../../shared/input.cva.js";
6
- import { c } from "react/compiler-runtime";
7
5
  import { jsx, jsxs } from "react/jsx-runtime";
8
6
  import { clsx } from "clsx";
7
+ import { c } from "react/compiler-runtime";
8
+ import { X } from "lucide-react";
9
9
  //#region src/components/inputs/File/shared/InputUploadFilled.tsx
10
10
  var InputUploadFilled = (t0) => {
11
11
  const $ = c(14);
@@ -41,7 +41,7 @@ var InputUploadFilled = (t0) => {
41
41
  t4 = /* @__PURE__ */ jsx(InlineIconButton, {
42
42
  label: "Remove files",
43
43
  color: "secondary",
44
- icon: CloseIcon,
44
+ icon: X,
45
45
  isDisabled,
46
46
  onPress: onRemove
47
47
  });
@@ -1,8 +1,8 @@
1
1
  import { FormFieldError } from "./FormFieldError.js";
2
2
  import { FormFieldHeader } from "./FormFieldHeader.js";
3
3
  import { FormFieldHelper } from "./FormFieldHelper.js";
4
- import { c } from "react/compiler-runtime";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ import { c } from "react/compiler-runtime";
6
6
  //#region src/components/inputs/FormField/FormField.tsx
7
7
  var FormField = (t0) => {
8
8
  const $ = c(39);
@@ -1,8 +1,8 @@
1
1
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
2
  import { formFieldErrorDefinition } from "./formFieldError.cva.js";
3
- import { c } from "react/compiler-runtime";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  import { clsx } from "clsx";
5
+ import { c } from "react/compiler-runtime";
6
6
  //#region src/components/inputs/FormField/FormFieldError.tsx
7
7
  var FormFieldError = (t0) => {
8
8
  const $ = c(7);
@@ -1,13 +1,13 @@
1
- import { InfoIcon } from "../../../assets/icons/Info.js";
1
+ import { ReactIconsSpriteIcon } from "../../../node_modules/.pnpm/react-icons-sprite@1.1.1_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
2
2
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
3
3
  import { Typography } from "../../text/Typography/Typography.js";
4
4
  import { Tooltip as Tooltip$1 } from "../../overlays/Tooltip/Tooltip.js";
5
5
  import { formFieldHeaderDefinition } from "./formFieldHeader.cva.js";
6
6
  import { FormFieldLabel } from "./FormFieldLabel.js";
7
- import { c } from "react/compiler-runtime";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
9
8
  import { clsx } from "clsx";
10
9
  import { Focusable } from "react-aria-components";
10
+ import { c } from "react/compiler-runtime";
11
11
  //#region src/components/inputs/FormField/FormFieldHeader.tsx
12
12
  var FormFieldHeader = (t0) => {
13
13
  const $ = c(24);
@@ -40,7 +40,8 @@ var FormFieldHeader = (t0) => {
40
40
  if ($[9] !== isDisabled || $[10] !== tooltipText) {
41
41
  t4 = tooltipText && /* @__PURE__ */ jsx(Tooltip$1, {
42
42
  text: tooltipText,
43
- children: /* @__PURE__ */ jsx(Focusable, { children: /* @__PURE__ */ jsx(InfoIcon, {
43
+ children: /* @__PURE__ */ jsx(Focusable, { children: /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
44
+ iconId: "ri-lucide-react-Info",
44
45
  className: clsx("size-6", isDisabled ? "text-interactive-text-secondary-disabled" : "text-interactive-text-secondary-idle hover:text-interactive-text-secondary-hover"),
45
46
  tabIndex: 0
46
47
  }) })
@@ -1,8 +1,8 @@
1
- import { CloseIcon } from "../../../assets/icons/Close.js";
1
+ import { ReactIconsSpriteIcon } from "../../../node_modules/.pnpm/react-icons-sprite@1.1.1_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
2
2
  import "../../../config/i18n.js";
3
- import { c } from "react/compiler-runtime";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  import { Button } from "react-aria-components";
5
+ import { c } from "react/compiler-runtime";
6
6
  import { useTranslation } from "react-i18next";
7
7
  //#region src/components/inputs/FormField/FormFieldHeaderClose.tsx
8
8
  var FormFieldHeaderClose = (t0) => {
@@ -17,7 +17,10 @@ var FormFieldHeaderClose = (t0) => {
17
17
  } else t1 = $[1];
18
18
  let t2;
19
19
  if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
20
- t2 = /* @__PURE__ */ jsx(CloseIcon, { className: "size-6 text-interactive-text-secondary-idle" });
20
+ t2 = /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
21
+ iconId: "ri-lucide-react-X",
22
+ className: "size-6 text-interactive-text-secondary-idle"
23
+ });
21
24
  $[2] = t2;
22
25
  } else t2 = $[2];
23
26
  let t3;
@@ -1,8 +1,8 @@
1
1
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
2
  import { formFieldHelperDefinition } from "./formFieldHelper.cva.js";
3
- import { c } from "react/compiler-runtime";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  import { clsx } from "clsx";
5
+ import { c } from "react/compiler-runtime";
6
6
  //#region src/components/inputs/FormField/FormFieldHelper.tsx
7
7
  var FormFieldHelper = (t0) => {
8
8
  const $ = c(7);
@@ -1,10 +1,10 @@
1
1
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
2
  import { typographyDefinition } from "../../text/Typography/typography.cva.js";
3
3
  import { labelDefinition, labelTypography } from "../shared/label.cva.js";
4
- import { c } from "react/compiler-runtime";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
6
5
  import { clsx } from "clsx";
7
6
  import { Label } from "react-aria-components";
7
+ import { c } from "react/compiler-runtime";
8
8
  //#region src/components/inputs/FormField/FormFieldLabel.tsx
9
9
  var FormFieldLabel = (t0) => {
10
10
  const $ = c(16);
@@ -9,22 +9,22 @@ import { InputFrame } from "../../Skeleton/InputFrame.js";
9
9
  import { useStaticInputHandoff } from "../../shared/useStaticInputHandoff.js";
10
10
  import { InputContent } from "../shared/InputContent.js";
11
11
  import { getStaticNumberDisplayValue } from "../shared/numberStatic.utils.js";
12
- import { c } from "react/compiler-runtime";
13
12
  import { jsx } from "react/jsx-runtime";
14
13
  import { clsx } from "clsx";
15
14
  import { useEffect, useRef, useState } from "react";
16
15
  import { Input, useLocale } from "react-aria-components";
16
+ import { c } from "react/compiler-runtime";
17
17
  import { useFocusVisible, useNumberField } from "react-aria";
18
18
  import { mergeRefs } from "@react-aria/utils";
19
19
  import { useNumberFieldState } from "react-stately";
20
20
  //#region src/components/inputs/Input/NumberInput/NumberInput.tsx
21
21
  var NumberInputBase = (props) => {
22
- const $ = c(90);
22
+ const $ = c(91);
23
23
  const ui = UIConfig.useConfig();
24
24
  const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
25
25
  const hasControlledValue = "value" in props;
26
26
  const inputRef = useRef(null);
27
- const { ref, inputClassName, label, tooltipText, helperText, isRequired, rightContent, isDisabled, isDirty, headerClassName, errorClassName, isHeaderHidden, error, className, unit, isLoading, action, leadingIcon, trailingIcon, value, onChange, onBlur, formatOptions: formatOptionsProp, variant: variantProp, as: asProp, size: sizeProp, hideLabel: hideLabelProp, isClearable: isClearableProp, autoFocusOnMount, ...rest } = props;
27
+ const { ref, inputClassName, label, tooltipText, helperText, isRequired, rightContent, isDisabled, isDirty, headerClassName, errorClassName, isHeaderHidden, error, className, unit, isLoading, action, leadingIcon, trailingIcon, value, onChange, onBlur, formatOptions: formatOptionsProp, variant: variantProp, as: asProp, size: sizeProp, hideLabel: hideLabelProp, isClearable: isClearableProp, isClearableIfDisabled, autoFocusOnMount, ...rest } = props;
28
28
  const formatOptions = formatOptionsProp ?? ui.numberInput.formatOptions;
29
29
  const variant = variantProp ?? ui.input.variant;
30
30
  const as = asProp ?? ui.input.as;
@@ -128,7 +128,7 @@ var NumberInputBase = (props) => {
128
128
  $[24] = t7;
129
129
  } else t7 = $[24];
130
130
  let t8;
131
- if ($[25] !== action || $[26] !== handleInputBlur || $[27] !== isClearable || $[28] !== isDisabled || $[29] !== isLoading || $[30] !== leadingIcon || $[31] !== state.inputValue || $[32] !== t7 || $[33] !== trailingIcon || $[34] !== unit) {
131
+ if ($[25] !== action || $[26] !== handleInputBlur || $[27] !== isClearable || $[28] !== isClearableIfDisabled || $[29] !== isDisabled || $[30] !== isLoading || $[31] !== leadingIcon || $[32] !== state.inputValue || $[33] !== t7 || $[34] !== trailingIcon || $[35] !== unit) {
132
132
  t8 = {
133
133
  unit,
134
134
  isLoading,
@@ -137,6 +137,7 @@ var NumberInputBase = (props) => {
137
137
  leadingIcon,
138
138
  trailingIcon,
139
139
  isClearable,
140
+ isClearableIfDisabled,
140
141
  onChange: t7,
141
142
  value: state.inputValue,
142
143
  onBlur: handleInputBlur
@@ -144,19 +145,20 @@ var NumberInputBase = (props) => {
144
145
  $[25] = action;
145
146
  $[26] = handleInputBlur;
146
147
  $[27] = isClearable;
147
- $[28] = isDisabled;
148
- $[29] = isLoading;
149
- $[30] = leadingIcon;
150
- $[31] = state.inputValue;
151
- $[32] = t7;
152
- $[33] = trailingIcon;
153
- $[34] = unit;
154
- $[35] = t8;
155
- } else t8 = $[35];
148
+ $[28] = isClearableIfDisabled;
149
+ $[29] = isDisabled;
150
+ $[30] = isLoading;
151
+ $[31] = leadingIcon;
152
+ $[32] = state.inputValue;
153
+ $[33] = t7;
154
+ $[34] = trailingIcon;
155
+ $[35] = unit;
156
+ $[36] = t8;
157
+ } else t8 = $[36];
156
158
  const inputContentProps = t8;
157
159
  const t9 = hideLabel || isHeaderHidden;
158
160
  let t10;
159
- if ($[36] !== headerClassName || $[37] !== helperText || $[38] !== isDisabled || $[39] !== isRequired || $[40] !== label || $[41] !== labelProps || $[42] !== rightContent || $[43] !== t9 || $[44] !== tooltipText) {
161
+ if ($[37] !== headerClassName || $[38] !== helperText || $[39] !== isDisabled || $[40] !== isRequired || $[41] !== label || $[42] !== labelProps || $[43] !== rightContent || $[44] !== t9 || $[45] !== tooltipText) {
160
162
  t10 = {
161
163
  label,
162
164
  tooltipText,
@@ -168,28 +170,28 @@ var NumberInputBase = (props) => {
168
170
  className: headerClassName,
169
171
  labelProps
170
172
  };
171
- $[36] = headerClassName;
172
- $[37] = helperText;
173
- $[38] = isDisabled;
174
- $[39] = isRequired;
175
- $[40] = label;
176
- $[41] = labelProps;
177
- $[42] = rightContent;
178
- $[43] = t9;
179
- $[44] = tooltipText;
180
- $[45] = t10;
181
- } else t10 = $[45];
173
+ $[37] = headerClassName;
174
+ $[38] = helperText;
175
+ $[39] = isDisabled;
176
+ $[40] = isRequired;
177
+ $[41] = label;
178
+ $[42] = labelProps;
179
+ $[43] = rightContent;
180
+ $[44] = t9;
181
+ $[45] = tooltipText;
182
+ $[46] = t10;
183
+ } else t10 = $[46];
182
184
  const headerProps = t10;
183
185
  const dataIsDisabled = isDisabled || void 0;
184
186
  const T0 = TooltipWrapper;
185
187
  const t11 = as === "inline" ? -1 : void 0;
186
188
  const T1 = FormField;
187
189
  let t12;
188
- if ($[46] !== className) {
190
+ if ($[47] !== className) {
189
191
  t12 = clsx("group w-full", className);
190
- $[46] = className;
191
- $[47] = t12;
192
- } else t12 = $[47];
192
+ $[47] = className;
193
+ $[48] = t12;
194
+ } else t12 = $[48];
193
195
  const t13 = as === "inline" ? -1 : void 0;
194
196
  const t14 = clsx("relative flex cursor-text has-disabled:cursor-default", inputBaseCva({
195
197
  variant,
@@ -197,35 +199,35 @@ var NumberInputBase = (props) => {
197
199
  ...rest
198
200
  }), inputClassName);
199
201
  let t15;
200
- if ($[48] === Symbol.for("react.memo_cache_sentinel")) {
202
+ if ($[49] === Symbol.for("react.memo_cache_sentinel")) {
201
203
  t15 = () => inputRef.current?.focus();
202
- $[48] = t15;
203
- } else t15 = $[48];
204
+ $[49] = t15;
205
+ } else t15 = $[49];
204
206
  const t16 = value === null || value === void 0 || void 0;
205
207
  const t17 = isRequired || void 0;
206
208
  let t18;
207
- if ($[49] !== ref) {
209
+ if ($[50] !== ref) {
208
210
  t18 = mergeRefs(ref, inputRef, numberFieldRef);
209
- $[49] = ref;
210
- $[50] = t18;
211
- } else t18 = $[50];
211
+ $[50] = ref;
212
+ $[51] = t18;
213
+ } else t18 = $[51];
212
214
  const t19 = isDirty || void 0;
213
215
  const t20 = isRequired || void 0;
214
216
  const t21 = state.inputValue === "" || state.inputValue === void 0 || state.inputValue === null || void 0;
215
217
  const t22 = !("" + value === "" || value === null || value === void 0) || void 0;
216
218
  const t23 = as === "floating" ? "\xA0" : inputProps.placeholder;
217
219
  let t24;
218
- if ($[51] !== inputProps || $[52] !== isFocusVisible) {
220
+ if ($[52] !== inputProps || $[53] !== isFocusVisible) {
219
221
  t24 = (e_1) => {
220
222
  inputProps.onFocus?.(e_1);
221
223
  if (isFocusVisible) e_1.target.select();
222
224
  };
223
- $[51] = inputProps;
224
- $[52] = isFocusVisible;
225
- $[53] = t24;
226
- } else t24 = $[53];
225
+ $[52] = inputProps;
226
+ $[53] = isFocusVisible;
227
+ $[54] = t24;
228
+ } else t24 = $[54];
227
229
  let t25;
228
- if ($[54] !== dataIsDisabled || $[55] !== inputProps || $[56] !== t18 || $[57] !== t19 || $[58] !== t20 || $[59] !== t21 || $[60] !== t22 || $[61] !== t23 || $[62] !== t24) {
230
+ if ($[55] !== dataIsDisabled || $[56] !== inputProps || $[57] !== t18 || $[58] !== t19 || $[59] !== t20 || $[60] !== t21 || $[61] !== t22 || $[62] !== t23 || $[63] !== t24) {
229
231
  t25 = /* @__PURE__ */ jsx(Input, {
230
232
  ...inputProps,
231
233
  ref: t18,
@@ -238,19 +240,19 @@ var NumberInputBase = (props) => {
238
240
  className: "w-full bg-transparent outline-none",
239
241
  onFocus: t24
240
242
  });
241
- $[54] = dataIsDisabled;
242
- $[55] = inputProps;
243
- $[56] = t18;
244
- $[57] = t19;
245
- $[58] = t20;
246
- $[59] = t21;
247
- $[60] = t22;
248
- $[61] = t23;
249
- $[62] = t24;
250
- $[63] = t25;
251
- } else t25 = $[63];
243
+ $[55] = dataIsDisabled;
244
+ $[56] = inputProps;
245
+ $[57] = t18;
246
+ $[58] = t19;
247
+ $[59] = t20;
248
+ $[60] = t21;
249
+ $[61] = t22;
250
+ $[62] = t23;
251
+ $[63] = t24;
252
+ $[64] = t25;
253
+ } else t25 = $[64];
252
254
  let t26;
253
- if ($[64] !== as || $[65] !== headerProps || $[66] !== inputContentProps || $[67] !== size || $[68] !== t25) {
255
+ if ($[65] !== as || $[66] !== headerProps || $[67] !== inputContentProps || $[68] !== size || $[69] !== t25) {
254
256
  t26 = /* @__PURE__ */ jsx(InputContent, {
255
257
  ...inputContentProps,
256
258
  headerProps,
@@ -258,15 +260,15 @@ var NumberInputBase = (props) => {
258
260
  size,
259
261
  children: t25
260
262
  });
261
- $[64] = as;
262
- $[65] = headerProps;
263
- $[66] = inputContentProps;
264
- $[67] = size;
265
- $[68] = t25;
266
- $[69] = t26;
267
- } else t26 = $[69];
263
+ $[65] = as;
264
+ $[66] = headerProps;
265
+ $[67] = inputContentProps;
266
+ $[68] = size;
267
+ $[69] = t25;
268
+ $[70] = t26;
269
+ } else t26 = $[70];
268
270
  let t27;
269
- if ($[70] !== dataIsDisabled || $[71] !== t14 || $[72] !== t16 || $[73] !== t17 || $[74] !== t26) {
271
+ if ($[71] !== dataIsDisabled || $[72] !== t14 || $[73] !== t16 || $[74] !== t17 || $[75] !== t26) {
270
272
  t27 = /* @__PURE__ */ jsx("div", {
271
273
  className: t14,
272
274
  onClick: t15,
@@ -275,15 +277,15 @@ var NumberInputBase = (props) => {
275
277
  "data-is-disabled": dataIsDisabled,
276
278
  children: t26
277
279
  });
278
- $[70] = dataIsDisabled;
279
- $[71] = t14;
280
- $[72] = t16;
281
- $[73] = t17;
282
- $[74] = t26;
283
- $[75] = t27;
284
- } else t27 = $[75];
280
+ $[71] = dataIsDisabled;
281
+ $[72] = t14;
282
+ $[73] = t16;
283
+ $[74] = t17;
284
+ $[75] = t26;
285
+ $[76] = t27;
286
+ } else t27 = $[76];
285
287
  let t28;
286
- if ($[76] !== T1 || $[77] !== as || $[78] !== formFieldProps || $[79] !== labelProps || $[80] !== t12 || $[81] !== t13 || $[82] !== t27) {
288
+ if ($[77] !== T1 || $[78] !== as || $[79] !== formFieldProps || $[80] !== labelProps || $[81] !== t12 || $[82] !== t13 || $[83] !== t27) {
287
289
  t28 = /* @__PURE__ */ jsx(T1, {
288
290
  ...formFieldProps,
289
291
  as,
@@ -292,30 +294,30 @@ var NumberInputBase = (props) => {
292
294
  tabIndex: t13,
293
295
  children: t27
294
296
  });
295
- $[76] = T1;
296
- $[77] = as;
297
- $[78] = formFieldProps;
298
- $[79] = labelProps;
299
- $[80] = t12;
300
- $[81] = t13;
301
- $[82] = t27;
302
- $[83] = t28;
303
- } else t28 = $[83];
297
+ $[77] = T1;
298
+ $[78] = as;
299
+ $[79] = formFieldProps;
300
+ $[80] = labelProps;
301
+ $[81] = t12;
302
+ $[82] = t13;
303
+ $[83] = t27;
304
+ $[84] = t28;
305
+ } else t28 = $[84];
304
306
  let t29;
305
- if ($[84] !== T0 || $[85] !== as || $[86] !== error || $[87] !== t11 || $[88] !== t28) {
307
+ if ($[85] !== T0 || $[86] !== as || $[87] !== error || $[88] !== t11 || $[89] !== t28) {
306
308
  t29 = /* @__PURE__ */ jsx(T0, {
307
309
  as,
308
310
  error,
309
311
  triggerTabIndex: t11,
310
312
  children: t28
311
313
  });
312
- $[84] = T0;
313
- $[85] = as;
314
- $[86] = error;
315
- $[87] = t11;
316
- $[88] = t28;
317
- $[89] = t29;
318
- } else t29 = $[89];
314
+ $[85] = T0;
315
+ $[86] = as;
316
+ $[87] = error;
317
+ $[88] = t11;
318
+ $[89] = t28;
319
+ $[90] = t29;
320
+ } else t29 = $[90];
319
321
  return t29;
320
322
  };
321
323
  var NumberInputInner = (t0) => {
@@ -28,6 +28,7 @@ export interface NumberRangeFieldProps extends NumberRangeFieldInputProps {
28
28
  hideInnerLabels?: boolean;
29
29
  isDirty?: boolean;
30
30
  isClearable?: boolean;
31
+ isClearableIfDisabled?: boolean;
31
32
  autoFocusOnMount?: boolean;
32
33
  isDisabled?: boolean;
33
34
  isRequired?: boolean;
@@ -41,5 +42,5 @@ export interface NumberRangeFieldProps extends NumberRangeFieldInputProps {
41
42
  onRangeSideClear: (side: keyof NumberRangeValue) => void;
42
43
  onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
43
44
  }
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 declare const NumberRangeField: ({ ref, as, className, inputClassName, minInputClassName, maxInputClassName, inputBaseClassName, inputSizeClassName, formFieldProps, headerProps, rangeValue, effectiveError, minPlaceholder, maxPlaceholder, minLabel, maxLabel, hideInnerLabels, isDirty, isClearable, isClearableIfDisabled, autoFocusOnMount, isDisabled, isRequired, isEmpty, isHovered, isFocused, isFocusVisible, focusWithinProps, hoverProps, onRangeSideChange, onRangeSideClear, onBlur, ...numberFieldProps }: NumberRangeFieldProps) => import("react/jsx-runtime").JSX.Element;
45
46
  export {};