@cube-dev/ui-kit 0.9.1 → 0.9.2

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 (376) hide show
  1. package/dist/cjs/components/Base.js +2 -2
  2. package/dist/cjs/components/Block.js +1 -1
  3. package/dist/cjs/components/GlobalStyles.js +1 -1
  4. package/dist/cjs/components/GridProvider.js +3 -2
  5. package/dist/cjs/components/HiddenInput.js +1 -1
  6. package/dist/cjs/components/OpenTrasition.js +1 -1
  7. package/dist/cjs/components/Root.js +2 -2
  8. package/dist/cjs/components/actions/Action.js +2 -2
  9. package/dist/cjs/components/actions/Button/Button.js +1 -1
  10. package/dist/cjs/components/actions/Button/Submit.js +1 -1
  11. package/dist/cjs/components/actions/Button/index.js +1 -1
  12. package/dist/cjs/components/actions/ButtonGroup/ButtonGroup.js +1 -1
  13. package/dist/cjs/components/actions/index.js +1 -1
  14. package/dist/cjs/components/content/ActiveZone/ActiveZone.js +1 -1
  15. package/dist/cjs/components/content/Avatar/Avatar.js +1 -1
  16. package/dist/cjs/components/content/Badge/Badge.js +1 -1
  17. package/dist/cjs/components/content/Card/Card.js +1 -1
  18. package/dist/cjs/components/content/Content.js +1 -1
  19. package/dist/cjs/components/content/Divider.js +1 -1
  20. package/dist/cjs/components/content/Footer.js +1 -1
  21. package/dist/cjs/components/content/Header.js +1 -1
  22. package/dist/cjs/components/content/Paragraph.js +1 -1
  23. package/dist/cjs/components/content/Placeholder/Placeholder.js +1 -1
  24. package/dist/cjs/components/content/PrismCode/PrismCode.js +1 -1
  25. package/dist/cjs/components/content/Result/Result.js +1 -1
  26. package/dist/cjs/components/content/Skeleton/Skeleton.js +1 -1
  27. package/dist/cjs/components/content/Tag/Tag.js +1 -1
  28. package/dist/cjs/components/content/Text.js +1 -1
  29. package/dist/cjs/components/content/Title.js +1 -1
  30. package/dist/cjs/components/forms/Checkbox/Checkbox.js +1 -1
  31. package/dist/cjs/components/forms/Checkbox/CheckboxGroup.js +1 -1
  32. package/dist/cjs/components/forms/Checkbox/context.js +1 -1
  33. package/dist/cjs/components/forms/FieldWrapper.js +1 -1
  34. package/dist/cjs/components/forms/FileInput/FileInput.js +7 -6
  35. package/dist/cjs/components/forms/Form/Field.js +5 -5
  36. package/dist/cjs/components/forms/Form/Form.js +8 -8
  37. package/dist/cjs/components/forms/Form/index.js +1 -1
  38. package/dist/cjs/components/forms/Form/useForm.js +1 -1
  39. package/dist/cjs/components/forms/Form/validation.js +2 -2
  40. package/dist/cjs/components/forms/Label.js +1 -1
  41. package/dist/cjs/components/forms/NumberInput/NumberInput.js +1 -1
  42. package/dist/cjs/components/forms/NumberInput/StepButton.js +3 -3
  43. package/dist/cjs/components/forms/PasswordInput/PasswordInput.js +3 -3
  44. package/dist/cjs/components/forms/RadioGroup/Radio.js +1 -1
  45. package/dist/cjs/components/forms/RadioGroup/RadioGroup.js +1 -1
  46. package/dist/cjs/components/forms/RadioGroup/context.js +1 -1
  47. package/dist/cjs/components/forms/SearchInput/SearchInput.js +5 -5
  48. package/dist/cjs/components/forms/Switch/Switch.js +1 -1
  49. package/dist/cjs/components/forms/TextArea/TextArea.js +1 -1
  50. package/dist/cjs/components/forms/TextInput/TextInput.js +1 -1
  51. package/dist/cjs/components/forms/TextInput/TextInputBase.js +4 -4
  52. package/dist/cjs/components/forms/index.js +1 -1
  53. package/dist/cjs/components/layout/Flex.js +1 -1
  54. package/dist/cjs/components/layout/Flow.js +1 -1
  55. package/dist/cjs/components/layout/Grid.js +1 -1
  56. package/dist/cjs/components/layout/Prefix.js +2 -2
  57. package/dist/cjs/components/layout/Space.js +1 -1
  58. package/dist/cjs/components/layout/Suffix.js +1 -1
  59. package/dist/cjs/components/navigation/LegacyTabs/LegacyTabs.js +5 -5
  60. package/dist/cjs/components/navigation/Link/Link.js +3 -3
  61. package/dist/cjs/components/organisms/Alert/Alert.js +1 -1
  62. package/dist/cjs/components/organisms/CopySnippet/CopySnippet.js +3 -3
  63. package/dist/cjs/components/organisms/DirectoryTree/DirectoryTree.js +3 -3
  64. package/dist/cjs/components/organisms/FileTabs/FileTabs.js +1 -1
  65. package/dist/cjs/components/organisms/Modal/Modal.js +3 -3
  66. package/dist/cjs/components/organisms/SearchResults/SearchResults.js +3 -3
  67. package/dist/cjs/components/organisms/StatsCard/StatsCard.js +1 -1
  68. package/dist/cjs/components/organisms/TopBar/TopBar.js +1 -1
  69. package/dist/cjs/components/other/Base64Upload/Base64Upload.js +5 -5
  70. package/dist/cjs/components/other/CloudLogo/CloudLogo.js +1 -1
  71. package/dist/cjs/components/overlays/AlertDialog/AlertDialog.js +13 -5
  72. package/dist/cjs/components/overlays/AlertDialog/AlertDialogApiProvider.js +7 -6
  73. package/dist/cjs/components/overlays/AlertDialog/AlertDialogZone.js +2 -2
  74. package/dist/cjs/components/overlays/AlertDialog/index.js +1 -1
  75. package/dist/cjs/components/overlays/AlertDialog/types.js +1 -1
  76. package/dist/cjs/components/overlays/Dialog/Dialog.js +3 -3
  77. package/dist/cjs/components/overlays/Dialog/DialogContainer.js +1 -1
  78. package/dist/cjs/components/overlays/Dialog/DialogForm.js +6 -6
  79. package/dist/cjs/components/overlays/Dialog/DialogTrigger.js +1 -1
  80. package/dist/cjs/components/overlays/Dialog/context.js +1 -1
  81. package/dist/cjs/components/overlays/Dialog/index.js +1 -1
  82. package/dist/cjs/components/overlays/Modal/Modal.js +1 -1
  83. package/dist/cjs/components/overlays/Modal/OpenTransition.js +1 -1
  84. package/dist/cjs/components/overlays/Modal/Overlay.js +3 -3
  85. package/dist/cjs/components/overlays/Modal/Popover.js +1 -1
  86. package/dist/cjs/components/overlays/Modal/Tray.js +1 -1
  87. package/dist/cjs/components/overlays/Modal/Underlay.js +1 -1
  88. package/dist/cjs/components/overlays/Modal/index.js +1 -1
  89. package/dist/cjs/components/overlays/Notification/Notification.js +1 -1
  90. package/dist/cjs/components/overlays/OverlayWrapper.js +1 -1
  91. package/dist/cjs/components/overlays/Tooltip/Tooltip.js +1 -1
  92. package/dist/cjs/components/overlays/Tooltip/TooltipProvider.js +1 -1
  93. package/dist/cjs/components/overlays/Tooltip/TooltipTrigger.js +3 -2
  94. package/dist/cjs/components/overlays/Tooltip/context.js +1 -1
  95. package/dist/cjs/components/pickers/ComboBox/ComboBox.js +3 -2
  96. package/dist/cjs/components/pickers/Select/Select.js +3 -2
  97. package/dist/cjs/components/portal/Portal.js +1 -1
  98. package/dist/cjs/components/portal/PortalProvider.js +1 -1
  99. package/dist/cjs/components/portal/index.js +1 -1
  100. package/dist/cjs/components/portal/storybook/templates/basic.js +1 -1
  101. package/dist/cjs/components/portal/storybook/templates/index.js +1 -1
  102. package/dist/cjs/components/portal/types.js +1 -1
  103. package/dist/cjs/components/portal/usePortal.js +7 -5
  104. package/dist/cjs/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
  105. package/dist/cjs/components/status/Spin/Spin.js +1 -1
  106. package/dist/cjs/components/types.js +1 -1
  107. package/dist/cjs/data/themes.js +1 -1
  108. package/dist/cjs/index.js +1 -1
  109. package/dist/cjs/provider.js +1 -1
  110. package/dist/cjs/providers/BreakpointsProvider.js +1 -1
  111. package/dist/cjs/providers/StylesProvider.js +1 -1
  112. package/dist/cjs/services/notification.js +1 -1
  113. package/dist/cjs/shared/form.js +1 -1
  114. package/dist/cjs/shared/index.js +1 -1
  115. package/dist/cjs/stories/FormFieldArgs.js +1 -1
  116. package/dist/cjs/stories/components/ConfirmDeletionDialogForm.js +1 -1
  117. package/dist/cjs/stories/components/DialogFormApp.js +2 -2
  118. package/dist/cjs/stories/components/StyledButton.js +3 -3
  119. package/dist/cjs/stories/lists/baseProps.js +1 -1
  120. package/dist/cjs/styled/index.js +1 -1
  121. package/dist/cjs/styled/styled.js +12 -11
  122. package/dist/cjs/styles/align.js +1 -1
  123. package/dist/cjs/styles/border.js +1 -1
  124. package/dist/cjs/styles/boxShadow.combinator.js +1 -1
  125. package/dist/cjs/styles/color.js +1 -1
  126. package/dist/cjs/styles/dimension.js +1 -1
  127. package/dist/cjs/styles/display.js +1 -1
  128. package/dist/cjs/styles/fill.js +1 -1
  129. package/dist/cjs/styles/flow.js +1 -1
  130. package/dist/cjs/styles/font.js +1 -1
  131. package/dist/cjs/styles/fontStyle.js +1 -1
  132. package/dist/cjs/styles/gap.js +1 -1
  133. package/dist/cjs/styles/groupRadius.js +1 -1
  134. package/dist/cjs/styles/height.js +1 -1
  135. package/dist/cjs/styles/index.js +1 -1
  136. package/dist/cjs/styles/justify.js +1 -1
  137. package/dist/cjs/styles/list.js +1 -1
  138. package/dist/cjs/styles/margin.js +1 -1
  139. package/dist/cjs/styles/marginBlock.js +1 -1
  140. package/dist/cjs/styles/marginInline.js +1 -1
  141. package/dist/cjs/styles/outline.js +1 -1
  142. package/dist/cjs/styles/padding.js +1 -1
  143. package/dist/cjs/styles/paddingBlock.js +1 -1
  144. package/dist/cjs/styles/paddingInline.js +1 -1
  145. package/dist/cjs/styles/predefined.js +1 -1
  146. package/dist/cjs/styles/preset.js +1 -1
  147. package/dist/cjs/styles/radius.js +1 -1
  148. package/dist/cjs/styles/reset.js +1 -1
  149. package/dist/cjs/styles/shadow.js +1 -1
  150. package/dist/cjs/styles/styledScrollbar.js +1 -1
  151. package/dist/cjs/styles/transition.js +1 -1
  152. package/dist/cjs/styles/types.js +1 -1
  153. package/dist/cjs/styles/width.js +1 -1
  154. package/dist/cjs/test/setup.js +1 -1
  155. package/dist/cjs/tokens.js +1 -1
  156. package/dist/cjs/utils/ResizeSensor.js +1 -1
  157. package/dist/cjs/utils/colors.js +1 -1
  158. package/dist/cjs/utils/dotize.js +1 -1
  159. package/dist/cjs/utils/escape-string.js +1 -1
  160. package/dist/cjs/utils/filterBaseProps.js +2 -2
  161. package/dist/cjs/utils/index.js +1 -1
  162. package/dist/cjs/utils/interactions.js +1 -1
  163. package/dist/cjs/utils/mergeStyles.js +3 -3
  164. package/dist/cjs/utils/modules.js +1 -1
  165. package/dist/cjs/utils/promise.js +1 -1
  166. package/dist/cjs/utils/react/Slots.js +1 -1
  167. package/dist/cjs/utils/react/chain.js +1 -1
  168. package/dist/cjs/utils/react/index.js +1 -1
  169. package/dist/cjs/utils/react/isTextOnly.js +1 -1
  170. package/dist/cjs/utils/react/mapProps.js +1 -1
  171. package/dist/cjs/utils/react/mergeProps.js +3 -3
  172. package/dist/cjs/utils/react/modAttrs.js +1 -1
  173. package/dist/cjs/utils/react/nullableValue.js +1 -1
  174. package/dist/cjs/utils/react/useCombinedRefs.js +1 -1
  175. package/dist/cjs/utils/react/useId.js +1 -1
  176. package/dist/cjs/utils/react/useLayoutEffect.js +1 -1
  177. package/dist/cjs/utils/react/wrapNodeIfPlain.js +1 -1
  178. package/dist/cjs/utils/renderStyles.js +1 -1
  179. package/dist/cjs/utils/responsive.js +1 -1
  180. package/dist/cjs/utils/string.js +1 -1
  181. package/dist/cjs/utils/styles.js +1 -1
  182. package/dist/cjs/utils/transitions.js +1 -1
  183. package/dist/cjs/utils/tree.js +1 -1
  184. package/dist/cjs/utils/warnings.js +1 -1
  185. package/dist/es/components/Base.js +2 -2
  186. package/dist/es/components/Block.js +1 -1
  187. package/dist/es/components/GlobalStyles.js +1 -1
  188. package/dist/es/components/GridProvider.js +3 -2
  189. package/dist/es/components/HiddenInput.js +1 -1
  190. package/dist/es/components/OpenTrasition.js +1 -1
  191. package/dist/es/components/Root.js +2 -2
  192. package/dist/es/components/actions/Action.js +2 -2
  193. package/dist/es/components/actions/Button/Button.js +1 -1
  194. package/dist/es/components/actions/Button/Submit.js +1 -1
  195. package/dist/es/components/actions/Button/index.js +1 -1
  196. package/dist/es/components/actions/ButtonGroup/ButtonGroup.js +1 -1
  197. package/dist/es/components/actions/index.js +1 -1
  198. package/dist/es/components/content/ActiveZone/ActiveZone.js +1 -1
  199. package/dist/es/components/content/Avatar/Avatar.js +1 -1
  200. package/dist/es/components/content/Badge/Badge.js +1 -1
  201. package/dist/es/components/content/Card/Card.js +1 -1
  202. package/dist/es/components/content/Content.js +1 -1
  203. package/dist/es/components/content/Divider.js +1 -1
  204. package/dist/es/components/content/Footer.js +1 -1
  205. package/dist/es/components/content/Header.js +1 -1
  206. package/dist/es/components/content/Paragraph.js +1 -1
  207. package/dist/es/components/content/Placeholder/Placeholder.js +1 -1
  208. package/dist/es/components/content/PrismCode/PrismCode.js +1 -1
  209. package/dist/es/components/content/Result/Result.js +1 -1
  210. package/dist/es/components/content/Skeleton/Skeleton.js +1 -1
  211. package/dist/es/components/content/Tag/Tag.js +1 -1
  212. package/dist/es/components/content/Text.js +1 -1
  213. package/dist/es/components/content/Title.js +1 -1
  214. package/dist/es/components/forms/Checkbox/Checkbox.js +1 -1
  215. package/dist/es/components/forms/Checkbox/CheckboxGroup.js +1 -1
  216. package/dist/es/components/forms/Checkbox/context.js +1 -1
  217. package/dist/es/components/forms/FieldWrapper.js +1 -1
  218. package/dist/es/components/forms/FileInput/FileInput.js +7 -6
  219. package/dist/es/components/forms/Form/Field.js +5 -5
  220. package/dist/es/components/forms/Form/Form.js +8 -8
  221. package/dist/es/components/forms/Form/index.js +1 -1
  222. package/dist/es/components/forms/Form/useForm.js +1 -1
  223. package/dist/es/components/forms/Form/validation.js +2 -2
  224. package/dist/es/components/forms/Label.js +1 -1
  225. package/dist/es/components/forms/NumberInput/NumberInput.js +1 -1
  226. package/dist/es/components/forms/NumberInput/StepButton.js +2 -2
  227. package/dist/es/components/forms/PasswordInput/PasswordInput.js +2 -2
  228. package/dist/es/components/forms/RadioGroup/Radio.js +1 -1
  229. package/dist/es/components/forms/RadioGroup/RadioGroup.js +1 -1
  230. package/dist/es/components/forms/RadioGroup/context.js +1 -1
  231. package/dist/es/components/forms/SearchInput/SearchInput.js +5 -5
  232. package/dist/es/components/forms/Switch/Switch.js +1 -1
  233. package/dist/es/components/forms/TextArea/TextArea.js +1 -1
  234. package/dist/es/components/forms/TextInput/TextInput.js +1 -1
  235. package/dist/es/components/forms/TextInput/TextInputBase.js +4 -4
  236. package/dist/es/components/forms/index.js +1 -1
  237. package/dist/es/components/layout/Flex.js +1 -1
  238. package/dist/es/components/layout/Flow.js +1 -1
  239. package/dist/es/components/layout/Grid.js +1 -1
  240. package/dist/es/components/layout/Prefix.js +2 -2
  241. package/dist/es/components/layout/Space.js +1 -1
  242. package/dist/es/components/layout/Suffix.js +1 -1
  243. package/dist/es/components/navigation/LegacyTabs/LegacyTabs.js +4 -4
  244. package/dist/es/components/navigation/Link/Link.js +2 -2
  245. package/dist/es/components/organisms/Alert/Alert.js +1 -1
  246. package/dist/es/components/organisms/CopySnippet/CopySnippet.js +2 -2
  247. package/dist/es/components/organisms/DirectoryTree/DirectoryTree.js +2 -2
  248. package/dist/es/components/organisms/FileTabs/FileTabs.js +1 -1
  249. package/dist/es/components/organisms/Modal/Modal.js +2 -2
  250. package/dist/es/components/organisms/SearchResults/SearchResults.js +2 -2
  251. package/dist/es/components/organisms/StatsCard/StatsCard.js +1 -1
  252. package/dist/es/components/organisms/TopBar/TopBar.js +1 -1
  253. package/dist/es/components/other/Base64Upload/Base64Upload.js +4 -4
  254. package/dist/es/components/other/CloudLogo/CloudLogo.js +1 -1
  255. package/dist/es/components/overlays/AlertDialog/AlertDialog.js +13 -5
  256. package/dist/es/components/overlays/AlertDialog/AlertDialogApiProvider.js +7 -6
  257. package/dist/es/components/overlays/AlertDialog/AlertDialogZone.js +2 -2
  258. package/dist/es/components/overlays/AlertDialog/index.js +1 -1
  259. package/dist/es/components/overlays/AlertDialog/types.js +1 -1
  260. package/dist/es/components/overlays/Dialog/Dialog.js +2 -2
  261. package/dist/es/components/overlays/Dialog/DialogContainer.js +1 -1
  262. package/dist/es/components/overlays/Dialog/DialogForm.js +5 -5
  263. package/dist/es/components/overlays/Dialog/DialogTrigger.js +1 -1
  264. package/dist/es/components/overlays/Dialog/context.js +1 -1
  265. package/dist/es/components/overlays/Dialog/index.js +1 -1
  266. package/dist/es/components/overlays/Modal/Modal.js +1 -1
  267. package/dist/es/components/overlays/Modal/OpenTransition.js +1 -1
  268. package/dist/es/components/overlays/Modal/Overlay.js +3 -3
  269. package/dist/es/components/overlays/Modal/Popover.js +1 -1
  270. package/dist/es/components/overlays/Modal/Tray.js +1 -1
  271. package/dist/es/components/overlays/Modal/Underlay.js +1 -1
  272. package/dist/es/components/overlays/Modal/index.js +1 -1
  273. package/dist/es/components/overlays/Notification/Notification.js +1 -1
  274. package/dist/es/components/overlays/OverlayWrapper.js +1 -1
  275. package/dist/es/components/overlays/Tooltip/Tooltip.js +1 -1
  276. package/dist/es/components/overlays/Tooltip/TooltipProvider.js +1 -1
  277. package/dist/es/components/overlays/Tooltip/TooltipTrigger.js +3 -2
  278. package/dist/es/components/overlays/Tooltip/context.js +1 -1
  279. package/dist/es/components/pickers/ComboBox/ComboBox.js +3 -2
  280. package/dist/es/components/pickers/Select/Select.js +3 -2
  281. package/dist/es/components/portal/Portal.js +1 -1
  282. package/dist/es/components/portal/PortalProvider.js +1 -1
  283. package/dist/es/components/portal/index.js +1 -1
  284. package/dist/es/components/portal/storybook/templates/basic.js +1 -1
  285. package/dist/es/components/portal/storybook/templates/index.js +1 -1
  286. package/dist/es/components/portal/types.js +1 -1
  287. package/dist/es/components/portal/usePortal.js +7 -5
  288. package/dist/es/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
  289. package/dist/es/components/status/Spin/Spin.js +1 -1
  290. package/dist/es/components/types.js +1 -1
  291. package/dist/es/data/themes.js +1 -1
  292. package/dist/es/index.js +1 -1
  293. package/dist/es/provider.js +1 -1
  294. package/dist/es/providers/BreakpointsProvider.js +1 -1
  295. package/dist/es/providers/StylesProvider.js +1 -1
  296. package/dist/es/services/notification.js +1 -1
  297. package/dist/es/shared/form.js +1 -1
  298. package/dist/es/shared/index.js +1 -1
  299. package/dist/es/stories/FormFieldArgs.js +1 -1
  300. package/dist/es/stories/components/ConfirmDeletionDialogForm.js +1 -1
  301. package/dist/es/stories/components/DialogFormApp.js +2 -2
  302. package/dist/es/stories/components/StyledButton.js +2 -2
  303. package/dist/es/stories/lists/baseProps.js +1 -1
  304. package/dist/es/styled/index.js +1 -1
  305. package/dist/es/styled/styled.js +12 -11
  306. package/dist/es/styles/align.js +1 -1
  307. package/dist/es/styles/border.js +1 -1
  308. package/dist/es/styles/boxShadow.combinator.js +1 -1
  309. package/dist/es/styles/color.js +1 -1
  310. package/dist/es/styles/dimension.js +1 -1
  311. package/dist/es/styles/display.js +1 -1
  312. package/dist/es/styles/fill.js +1 -1
  313. package/dist/es/styles/flow.js +1 -1
  314. package/dist/es/styles/font.js +1 -1
  315. package/dist/es/styles/fontStyle.js +1 -1
  316. package/dist/es/styles/gap.js +1 -1
  317. package/dist/es/styles/groupRadius.js +1 -1
  318. package/dist/es/styles/height.js +1 -1
  319. package/dist/es/styles/index.js +1 -1
  320. package/dist/es/styles/justify.js +1 -1
  321. package/dist/es/styles/list.js +1 -1
  322. package/dist/es/styles/margin.js +1 -1
  323. package/dist/es/styles/marginBlock.js +1 -1
  324. package/dist/es/styles/marginInline.js +1 -1
  325. package/dist/es/styles/outline.js +1 -1
  326. package/dist/es/styles/padding.js +1 -1
  327. package/dist/es/styles/paddingBlock.js +1 -1
  328. package/dist/es/styles/paddingInline.js +1 -1
  329. package/dist/es/styles/predefined.js +1 -1
  330. package/dist/es/styles/preset.js +1 -1
  331. package/dist/es/styles/radius.js +1 -1
  332. package/dist/es/styles/reset.js +1 -1
  333. package/dist/es/styles/shadow.js +1 -1
  334. package/dist/es/styles/styledScrollbar.js +1 -1
  335. package/dist/es/styles/transition.js +1 -1
  336. package/dist/es/styles/types.js +1 -1
  337. package/dist/es/styles/width.js +1 -1
  338. package/dist/es/test/setup.js +1 -1
  339. package/dist/es/tokens.js +1 -1
  340. package/dist/es/utils/ResizeSensor.js +1 -1
  341. package/dist/es/utils/colors.js +1 -1
  342. package/dist/es/utils/dotize.js +1 -1
  343. package/dist/es/utils/escape-string.js +1 -1
  344. package/dist/es/utils/filterBaseProps.js +2 -2
  345. package/dist/es/utils/index.js +1 -1
  346. package/dist/es/utils/interactions.js +1 -1
  347. package/dist/es/utils/mergeStyles.js +3 -3
  348. package/dist/es/utils/modules.js +1 -1
  349. package/dist/es/utils/promise.js +1 -1
  350. package/dist/es/utils/react/Slots.js +1 -1
  351. package/dist/es/utils/react/chain.js +1 -1
  352. package/dist/es/utils/react/index.js +1 -1
  353. package/dist/es/utils/react/isTextOnly.js +1 -1
  354. package/dist/es/utils/react/mapProps.js +1 -1
  355. package/dist/es/utils/react/mergeProps.js +3 -3
  356. package/dist/es/utils/react/modAttrs.js +1 -1
  357. package/dist/es/utils/react/nullableValue.js +1 -1
  358. package/dist/es/utils/react/useCombinedRefs.js +1 -1
  359. package/dist/es/utils/react/useId.js +1 -1
  360. package/dist/es/utils/react/useLayoutEffect.js +1 -1
  361. package/dist/es/utils/react/wrapNodeIfPlain.js +1 -1
  362. package/dist/es/utils/renderStyles.js +1 -1
  363. package/dist/es/utils/responsive.js +1 -1
  364. package/dist/es/utils/string.js +1 -1
  365. package/dist/es/utils/styles.js +1 -1
  366. package/dist/es/utils/transitions.js +1 -1
  367. package/dist/es/utils/tree.js +1 -1
  368. package/dist/es/utils/warnings.js +1 -1
  369. package/dist/package.json +1 -1
  370. package/dist/types/components/navigation/LegacyTabs/LegacyTabs.d.ts +1 -1
  371. package/dist/types/components/navigation/Link/Link.d.ts +1 -1
  372. package/dist/types/components/other/CloudLogo/CloudLogo.d.ts +1 -1
  373. package/dist/types/components/overlays/AlertDialog/AlertDialog.d.ts +3 -3
  374. package/dist/types/components/overlays/Dialog/DialogForm.d.ts +1 -1
  375. package/dist/types/utils/react/mapProps.d.ts +1 -1
  376. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -46,7 +46,7 @@ const Base = function Base(allProps, ref) {
46
46
  }
47
47
  const contextBreakpoints = (0, react_1.useContext)(BreakpointsProvider_1.BreakpointsContext);
48
48
  const zones = (0, responsive_1.pointsToZones)(breakpoints || contextBreakpoints);
49
- css = `${css ?? ''}${(0, renderStyles_1.renderStyles)(styles, zones)}`;
49
+ css = `${css !== null && css !== void 0 ? css : ''}${(0, renderStyles_1.renderStyles)(styles, zones)}`;
50
50
  if (mods) {
51
51
  Object.assign(props, (0, react_2.modAttrs)(mods));
52
52
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -41,7 +41,8 @@ exports.GridProvider = (0, react_1.forwardRef)((props, outerRef) => {
41
41
  let { children, columns = 2, gap = '0', width: forcedWidth, initialWidth, } = props;
42
42
  let [width, setWidth] = (0, react_1.useState)(forcedWidth || initialWidth || '100vw');
43
43
  const resizeCallback = (0, react_1.useCallback)(() => {
44
- const el = ref?.current?.parentElement;
44
+ var _a;
45
+ const el = (_a = ref === null || ref === void 0 ? void 0 : ref.current) === null || _a === void 0 ? void 0 : _a.parentElement;
45
46
  if (!el)
46
47
  return;
47
48
  const computedStyle = getComputedStyle(el);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -39,7 +39,7 @@ const Root = (allProps) => {
39
39
  (0, react_1.useEffect)(() => {
40
40
  if (!rootRef) {
41
41
  // @ts-ignore
42
- setRootRef(ref?.current);
42
+ setRootRef(ref === null || ref === void 0 ? void 0 : ref.current);
43
43
  }
44
44
  }, []);
45
45
  const styles = (0, styles_1.extractStyles)(props, STYLES, DEFAULT_STYLES);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -54,7 +54,7 @@ function parseTo(to) {
54
54
  exports.parseTo = parseTo;
55
55
  function performClickHandler(evt, router, to, onPress) {
56
56
  const { newTab, nativeRoute, href } = parseTo(to);
57
- onPress?.(evt);
57
+ onPress === null || onPress === void 0 ? void 0 : onPress(evt);
58
58
  if (!to)
59
59
  return;
60
60
  if (evt.shiftKey || evt.metaKey || newTab) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -63,7 +63,7 @@ const DEFAULT_WRAPPER_STYLES = {
63
63
  },
64
64
  };
65
65
  function extractContents(element, callback) {
66
- const files = element?.files;
66
+ const files = element === null || element === void 0 ? void 0 : element.files;
67
67
  if (files && files.length > 0) {
68
68
  const fileReader = new FileReader();
69
69
  fileReader.onload = function () {
@@ -88,7 +88,7 @@ function FileInput(props, ref) {
88
88
  const onLocalChange = (0, react_1.useCallback)((event) => {
89
89
  const value = event.target.value;
90
90
  if (type === 'file') {
91
- onChange?.(value);
91
+ onChange === null || onChange === void 0 ? void 0 : onChange(value);
92
92
  }
93
93
  else if (onChange) {
94
94
  extractContents(event.target, onChange);
@@ -99,20 +99,21 @@ function FileInput(props, ref) {
99
99
  (0, react_1.useImperativeHandle)(ref, () => ({
100
100
  ...(0, utils_1.createFocusableRef)(domRef, inputRef),
101
101
  select() {
102
- if (inputRef?.current) {
102
+ if (inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) {
103
103
  inputRef.current.select();
104
104
  }
105
105
  },
106
106
  getInputElement() {
107
- return inputRef?.current;
107
+ return inputRef === null || inputRef === void 0 ? void 0 : inputRef.current;
108
108
  },
109
109
  }));
110
110
  const fileInput = ((0, jsx_runtime_1.jsxs)(Action_1.Action, { qa: qa || 'FileInput', styles: inputStyles, isDisabled: isDisabled, ref: domRef, mods: {
111
111
  selected: !!value,
112
112
  'drag-hover': dragHover,
113
113
  }, onKeyDown: (e) => {
114
+ var _a;
114
115
  if (e.key === 'Enter' || e.key === 'Space') {
115
- inputRef?.current?.click();
116
+ (_a = inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) === null || _a === void 0 ? void 0 : _a.click();
116
117
  }
117
118
  }, children: [(0, jsx_runtime_1.jsx)("input", { id: id, name: name, ref: inputRef, onChange: onLocalChange, "data-element": "Input", type: "file", tabIndex: -1, onDragEnter: () => {
118
119
  setDragHover(true);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -106,7 +106,7 @@ function Field(allProps) {
106
106
  }
107
107
  };
108
108
  }, []);
109
- let field = form?.getFieldInstance(fieldName);
109
+ let field = form === null || form === void 0 ? void 0 : form.getFieldInstance(fieldName);
110
110
  let isRequired = rules && !!rules.find((rule) => rule.required);
111
111
  (0, react_1.useEffect)(() => {
112
112
  if (!form)
@@ -143,9 +143,9 @@ function Field(allProps) {
143
143
  if (!field) {
144
144
  form.createField(fieldName, true);
145
145
  }
146
- if (field?.value == null) {
146
+ if ((field === null || field === void 0 ? void 0 : field.value) == null) {
147
147
  form.setFieldValue(fieldName, defaultValue, false, true);
148
- field = form?.getFieldInstance(fieldName);
148
+ field = form === null || form === void 0 ? void 0 : form.getFieldInstance(fieldName);
149
149
  }
150
150
  }
151
151
  firstRunRef.current = false;
@@ -224,7 +224,7 @@ function Field(allProps) {
224
224
  newProps.message = field.errors[0];
225
225
  }
226
226
  }
227
- Object.assign(newProps, getValueProps(inputType, field?.value, onChangeHandler));
227
+ Object.assign(newProps, getValueProps(inputType, field === null || field === void 0 ? void 0 : field.value, onChangeHandler));
228
228
  const { onChange, onSelectionChange, ...childProps } = child.props;
229
229
  // onChange event passed to the child should be executed after Form onChange logic
230
230
  return (0, react_1.cloneElement)(child, (0, react_2.mergeProps)(childProps, newProps, onChange ? { onChange } : {}, onSelectionChange ? { onSelectionChange } : {}));
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -47,9 +47,9 @@ function Form(props, ref) {
47
47
  let onSubmitCallback;
48
48
  if ((onSubmit || onSubmitFailed) && !otherProps.action) {
49
49
  onSubmitCallback = (e) => {
50
- if (e && e?.preventDefault) {
51
- e && e?.preventDefault && e?.preventDefault();
52
- e && e?.stopPropagation && e?.stopPropagation();
50
+ if (e && (e === null || e === void 0 ? void 0 : e.preventDefault)) {
51
+ e && (e === null || e === void 0 ? void 0 : e.preventDefault) && (e === null || e === void 0 ? void 0 : e.preventDefault());
52
+ e && (e === null || e === void 0 ? void 0 : e.stopPropagation) && (e === null || e === void 0 ? void 0 : e.stopPropagation());
53
53
  if (e.nativeEvent) {
54
54
  const evt = e.nativeEvent;
55
55
  if (evt.submitter
@@ -58,12 +58,12 @@ function Form(props, ref) {
58
58
  }
59
59
  }
60
60
  }
61
- return form?.validateFields().then(async () => {
61
+ return form === null || form === void 0 ? void 0 : form.validateFields().then(async () => {
62
62
  await (0, promise_1.timeout)();
63
63
  if (form && !form.isSubmitting) {
64
64
  try {
65
65
  form.setSubmitting(true);
66
- await onSubmit?.(form.getFormData());
66
+ await (onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(form.getFormData()));
67
67
  }
68
68
  finally {
69
69
  form.setSubmitting(false);
@@ -76,7 +76,7 @@ function Form(props, ref) {
76
76
  }
77
77
  // errors are shown
78
78
  // transfer errors to the callback
79
- onSubmitFailed?.(e);
79
+ onSubmitFailed === null || onSubmitFailed === void 0 ? void 0 : onSubmitFailed(e);
80
80
  });
81
81
  // output data from form directly
82
82
  // onSubmit(Object.fromEntries(new FormData(e.target).entries()));
@@ -109,7 +109,7 @@ function Form(props, ref) {
109
109
  }
110
110
  (0, react_1.useEffect)(() => {
111
111
  if (defaultValues) {
112
- form?.setInitialFieldsValue(defaultValues);
112
+ form === null || form === void 0 ? void 0 : form.setInitialFieldsValue(defaultValues);
113
113
  }
114
114
  }, [defaultValues]);
115
115
  return ((0, jsx_runtime_1.jsx)(Base_1.Base, { as: "form", qa: "Form", ...(0, filterBaseProps_1.filterBaseProps)(otherProps, { propNames: formPropNames }), onSubmit: onSubmitCallback, noValidate: true, styles: styles, ref: domRef, mods: {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -138,7 +138,7 @@ async function applyRules(value, rules, form) {
138
138
  for (let rule of rules) {
139
139
  await applyRule(value, rule, form).catch((err) => {
140
140
  if (typeof err !== 'string') {
141
- err = err?.message || rule.message;
141
+ err = (err === null || err === void 0 ? void 0 : err.message) || rule.message;
142
142
  }
143
143
  throw err;
144
144
  });
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -9,7 +9,7 @@
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.StepButton = void 0;
11
11
  const jsx_runtime_1 = require("react/jsx-runtime");
12
- const Button_1 = require("../../actions/Button/Button");
12
+ const actions_1 = require("../../actions");
13
13
  const icons_1 = require("@ant-design/icons");
14
14
  const STEP_BUTTON_STYLES = {
15
15
  padding: '0 .5x',
@@ -25,7 +25,7 @@ const STEP_BUTTON_STYLES = {
25
25
  * Buttons for NumberField.
26
26
  */
27
27
  function StepButton(props) {
28
- return ((0, jsx_runtime_1.jsx)(Button_1.Button, { type: "neutral", styles: STEP_BUTTON_STYLES, preventDefault: true, icon: props.direction === 'up' ? (0, jsx_runtime_1.jsx)(icons_1.CaretUpOutlined, {}, void 0) : (0, jsx_runtime_1.jsx)(icons_1.CaretDownOutlined, {}, void 0), mods: {
28
+ return ((0, jsx_runtime_1.jsx)(actions_1.Button, { type: "neutral", styles: STEP_BUTTON_STYLES, preventDefault: true, icon: props.direction === 'up' ? (0, jsx_runtime_1.jsx)(icons_1.CaretUpOutlined, {}, void 0) : (0, jsx_runtime_1.jsx)(icons_1.CaretDownOutlined, {}, void 0), mods: {
29
29
  up: props.direction === 'up',
30
30
  down: props.direction === 'down',
31
31
  }, label: `Step ${props.direction}`, ...props }, void 0));
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -13,7 +13,7 @@ const react_1 = require("react");
13
13
  const TextInputBase_1 = require("../TextInput/TextInputBase");
14
14
  const provider_1 = require("../../../provider");
15
15
  const textfield_1 = require("@react-aria/textfield");
16
- const Button_1 = require("../../actions/Button/Button");
16
+ const actions_1 = require("../../actions");
17
17
  const icons_1 = require("@ant-design/icons");
18
18
  const nullableValue_1 = require("../../../utils/react/nullableValue");
19
19
  function PasswordInput(props, ref) {
@@ -28,7 +28,7 @@ function PasswordInput(props, ref) {
28
28
  const toggleType = (0, react_1.useCallback)((e) => {
29
29
  setType((type) => (type === 'password' ? 'text' : 'password'));
30
30
  }, []);
31
- const wrappedSuffix = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [suffix, (0, jsx_runtime_1.jsx)(Button_1.Button, { type: "neutral", htmlType: "button", onPress: toggleType, placeSelf: "stretch", height: "auto", radius: "right (1r - 1bw)", padding: ".5x 1x", width: "auto", label: "Toggle masking", excludeFromTabOrder: true, icon: type === 'password' ? (0, jsx_runtime_1.jsx)(icons_1.EyeInvisibleOutlined, {}, void 0) : (0, jsx_runtime_1.jsx)(icons_1.EyeOutlined, {}, void 0) }, void 0)] }, void 0));
31
+ const wrappedSuffix = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [suffix, (0, jsx_runtime_1.jsx)(actions_1.Button, { type: "neutral", htmlType: "button", onPress: toggleType, placeSelf: "stretch", height: "auto", radius: "right (1r - 1bw)", padding: ".5x 1x", width: "auto", label: "Toggle masking", excludeFromTabOrder: true, icon: type === 'password' ? (0, jsx_runtime_1.jsx)(icons_1.EyeInvisibleOutlined, {}, void 0) : (0, jsx_runtime_1.jsx)(icons_1.EyeOutlined, {}, void 0) }, void 0)] }, void 0));
32
32
  return ((0, jsx_runtime_1.jsx)(TextInputBase_1.TextInputBase, { labelProps: labelProps, inputProps: inputProps, ref: ref, inputRef: inputRef, inputStyles: { paddingRight: '4x' }, type: type, suffixPosition: "after", suffix: wrappedSuffix, multiLine: multiLine, ...otherProps }, void 0));
33
33
  }
34
34
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.9.1
4
+ * @cube-dev/ui-kit v0.9.2
5
5
  * Released under the MIT license.
6
6
  */
7
7