@cube-dev/ui-kit 0.0.0-canary-c9d953f → 0.0.0-canary-da9a90b

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 (417) hide show
  1. package/cjs/_internal/hooks/index.js +6 -2
  2. package/cjs/_internal/hooks/use-deprecation-warning.js +6 -2
  3. package/cjs/_internal/index.js +6 -2
  4. package/cjs/components/Base.js +2 -2
  5. package/cjs/components/Block.js +2 -2
  6. package/cjs/components/GlobalStyles.js +1 -1
  7. package/cjs/components/GridProvider.js +7 -3
  8. package/cjs/components/HiddenInput.js +1 -1
  9. package/cjs/components/OpenTrasition.js +2 -2
  10. package/cjs/components/Root.js +2 -2
  11. package/cjs/components/actions/Action.js +2 -2
  12. package/cjs/components/actions/Button/Button.js +2 -2
  13. package/cjs/components/actions/Button/Submit.js +2 -2
  14. package/cjs/components/actions/Button/index.js +6 -2
  15. package/cjs/components/actions/ButtonGroup/ButtonGroup.js +2 -2
  16. package/cjs/components/actions/index.js +6 -2
  17. package/cjs/components/content/ActiveZone/ActiveZone.js +2 -2
  18. package/cjs/components/content/Alert/Alert.js +2 -2
  19. package/cjs/components/content/Alert/index.js +6 -2
  20. package/cjs/components/content/Alert/types.js +1 -1
  21. package/cjs/components/content/Alert/use-alert.js +1 -1
  22. package/cjs/components/content/Avatar/Avatar.js +2 -2
  23. package/cjs/components/content/Badge/Badge.js +2 -2
  24. package/cjs/components/content/Card/Card.js +2 -2
  25. package/cjs/components/content/Content.js +2 -2
  26. package/cjs/components/content/CopySnippet/CopySnippet.js +5 -5
  27. package/cjs/components/content/CopySnippet/index.js +6 -2
  28. package/cjs/components/content/Divider.js +2 -2
  29. package/cjs/components/content/Footer.js +2 -2
  30. package/cjs/components/content/Header.js +2 -2
  31. package/cjs/components/content/Paragraph.js +2 -2
  32. package/cjs/components/content/Placeholder/Placeholder.js +2 -2
  33. package/cjs/components/content/PrismCode/PrismCode.js +2 -2
  34. package/cjs/components/content/Result/Result.js +3 -3
  35. package/cjs/components/content/Skeleton/Skeleton.js +12 -12
  36. package/cjs/components/content/Tag/Tag.js +3 -3
  37. package/cjs/components/content/Text.js +8 -8
  38. package/cjs/components/content/Title.js +4 -4
  39. package/cjs/components/forms/Checkbox/Checkbox.js +7 -7
  40. package/cjs/components/forms/Checkbox/CheckboxGroup.js +3 -3
  41. package/cjs/components/forms/Checkbox/context.js +1 -1
  42. package/cjs/components/forms/FieldWrapper.js +4 -4
  43. package/cjs/components/forms/FileInput/FileInput.js +3 -3
  44. package/cjs/components/forms/Form/Field.js +2 -2
  45. package/cjs/components/forms/Form/Form.js +2 -2
  46. package/cjs/components/forms/Form/index.js +1 -1
  47. package/cjs/components/forms/Form/useForm.js +1 -1
  48. package/cjs/components/forms/Form/validation.js +1 -1
  49. package/cjs/components/forms/Input/Input.js +2 -2
  50. package/cjs/components/forms/Input/index.js +6 -2
  51. package/cjs/components/forms/Label.js +4 -4
  52. package/cjs/components/forms/NumberInput/NumberInput.js +2 -2
  53. package/cjs/components/forms/NumberInput/StepButton.js +3 -3
  54. package/cjs/components/forms/PasswordInput/PasswordInput.js +3 -3
  55. package/cjs/components/forms/RadioGroup/Radio.js +6 -6
  56. package/cjs/components/forms/RadioGroup/RadioGroup.js +3 -3
  57. package/cjs/components/forms/RadioGroup/context.js +1 -1
  58. package/cjs/components/forms/SearchInput/SearchInput.js +3 -3
  59. package/cjs/components/forms/Switch/Switch.js +5 -5
  60. package/cjs/components/forms/TextArea/TextArea.js +2 -2
  61. package/cjs/components/forms/TextInput/TextInput.js +2 -2
  62. package/cjs/components/forms/TextInput/TextInputBase.js +5 -5
  63. package/cjs/components/forms/index.js +6 -2
  64. package/cjs/components/layout/Flex.js +2 -2
  65. package/cjs/components/layout/Flow.js +2 -2
  66. package/cjs/components/layout/Grid.js +2 -2
  67. package/cjs/components/layout/Prefix.js +2 -2
  68. package/cjs/components/layout/Space.js +2 -2
  69. package/cjs/components/layout/Suffix.js +2 -2
  70. package/cjs/components/navigation/LegacyTabs/LegacyTabs.js +4 -4
  71. package/cjs/components/navigation/Link/Link.js +2 -2
  72. package/cjs/components/organisms/FileTabs/FileTabs.js +4 -4
  73. package/cjs/components/organisms/Modal/Modal.js +3 -3
  74. package/cjs/components/organisms/StatsCard/StatsCard.js +2 -2
  75. package/cjs/components/other/Base64Upload/Base64Upload.js +2 -2
  76. package/cjs/components/other/CloudLogo/CloudLogo.js +2 -2
  77. package/cjs/components/overlays/AlertDialog/AlertDialog.js +8 -8
  78. package/cjs/components/overlays/AlertDialog/AlertDialogApiProvider.js +2 -2
  79. package/cjs/components/overlays/AlertDialog/AlertDialogZone.js +2 -2
  80. package/cjs/components/overlays/AlertDialog/index.js +6 -2
  81. package/cjs/components/overlays/AlertDialog/types.js +1 -1
  82. package/cjs/components/overlays/Dialog/Dialog.js +3 -3
  83. package/cjs/components/overlays/Dialog/DialogContainer.js +2 -2
  84. package/cjs/components/overlays/Dialog/DialogForm.js +3 -3
  85. package/cjs/components/overlays/Dialog/DialogTrigger.js +8 -8
  86. package/cjs/components/overlays/Dialog/context.js +1 -1
  87. package/cjs/components/overlays/Dialog/index.js +6 -2
  88. package/cjs/components/overlays/Modal/Modal.js +3 -3
  89. package/cjs/components/overlays/Modal/OpenTransition.js +2 -2
  90. package/cjs/components/overlays/Modal/Overlay.js +2 -2
  91. package/cjs/components/overlays/Modal/Popover.js +3 -3
  92. package/cjs/components/overlays/Modal/Tray.js +3 -3
  93. package/cjs/components/overlays/Modal/Underlay.js +2 -2
  94. package/cjs/components/overlays/Modal/index.js +1 -1
  95. package/cjs/components/overlays/Notification/Notification.js +2 -2
  96. package/cjs/components/overlays/OverlayWrapper.js +3 -3
  97. package/cjs/components/overlays/Tooltip/Tooltip.js +2 -2
  98. package/cjs/components/overlays/Tooltip/TooltipProvider.js +2 -2
  99. package/cjs/components/overlays/Tooltip/TooltipTrigger.js +4 -4
  100. package/cjs/components/overlays/Tooltip/context.js +1 -1
  101. package/cjs/components/pickers/ComboBox/ComboBox.js +6 -6
  102. package/cjs/components/pickers/Menu/Menu.js +3 -3
  103. package/cjs/components/pickers/Menu/MenuButton.js +4 -4
  104. package/cjs/components/pickers/Menu/MenuItem.js +3 -3
  105. package/cjs/components/pickers/Menu/MenuSection.js +3 -3
  106. package/cjs/components/pickers/Menu/MenuTrigger.js +10 -6
  107. package/cjs/components/pickers/Menu/context.js +6 -2
  108. package/cjs/components/pickers/Menu/styled.js +1 -1
  109. package/cjs/components/pickers/Select/Select.js +15 -15
  110. package/cjs/components/portal/Portal.js +2 -2
  111. package/cjs/components/portal/PortalProvider.js +1 -1
  112. package/cjs/components/portal/index.js +6 -2
  113. package/cjs/components/portal/storybook/templates/CustomRoot.js +2 -2
  114. package/cjs/components/portal/storybook/templates/PortalOrder.js +2 -2
  115. package/cjs/components/portal/storybook/templates/basic.js +2 -2
  116. package/cjs/components/portal/storybook/templates/index.js +6 -2
  117. package/cjs/components/portal/types.js +1 -1
  118. package/cjs/components/portal/usePortal.js +1 -1
  119. package/cjs/components/status/LoadingAnimation/LoadingAnimation.js +3 -3
  120. package/cjs/components/status/Spin/Spin.js +3 -3
  121. package/cjs/data/themes.js +1 -1
  122. package/cjs/index.js +6 -2
  123. package/cjs/provider.js +3 -3
  124. package/cjs/providers/StyleProvider.js +2 -2
  125. package/cjs/services/notification.js +2 -2
  126. package/cjs/shared/form.js +1 -1
  127. package/cjs/shared/index.js +6 -2
  128. package/cjs/stories/FormFieldArgs.js +1 -1
  129. package/cjs/stories/components/ConfirmDeletionDialogForm.js +3 -3
  130. package/cjs/stories/components/DialogFormApp.js +2 -2
  131. package/cjs/stories/components/StyledButton.js +2 -2
  132. package/cjs/stories/lists/baseProps.js +1 -1
  133. package/cjs/styled/index.js +6 -2
  134. package/cjs/styled/styled.js +9 -5
  135. package/cjs/tasty/index.js +6 -2
  136. package/cjs/tasty/providers/BreakpointsProvider.js +2 -2
  137. package/cjs/tasty/styles/align.js +1 -1
  138. package/cjs/tasty/styles/border.js +1 -1
  139. package/cjs/tasty/styles/boxShadow.combinator.js +1 -1
  140. package/cjs/tasty/styles/color.js +1 -1
  141. package/cjs/tasty/styles/createStyle.js +1 -1
  142. package/cjs/tasty/styles/dimension.js +1 -1
  143. package/cjs/tasty/styles/display.js +1 -1
  144. package/cjs/tasty/styles/fill.js +1 -1
  145. package/cjs/tasty/styles/flow.js +1 -1
  146. package/cjs/tasty/styles/font.js +1 -1
  147. package/cjs/tasty/styles/fontStyle.js +1 -1
  148. package/cjs/tasty/styles/gap.js +1 -1
  149. package/cjs/tasty/styles/groupRadius.js +1 -1
  150. package/cjs/tasty/styles/height.js +1 -1
  151. package/cjs/tasty/styles/index.js +6 -2
  152. package/cjs/tasty/styles/justify.js +1 -1
  153. package/cjs/tasty/styles/list.js +1 -1
  154. package/cjs/tasty/styles/margin.js +1 -1
  155. package/cjs/tasty/styles/marginBlock.js +1 -1
  156. package/cjs/tasty/styles/marginInline.js +1 -1
  157. package/cjs/tasty/styles/outline.js +1 -1
  158. package/cjs/tasty/styles/padding.js +1 -1
  159. package/cjs/tasty/styles/paddingBlock.js +1 -1
  160. package/cjs/tasty/styles/paddingInline.js +1 -1
  161. package/cjs/tasty/styles/predefined.js +1 -1
  162. package/cjs/tasty/styles/preset.js +1 -1
  163. package/cjs/tasty/styles/radius.js +1 -1
  164. package/cjs/tasty/styles/reset.js +1 -1
  165. package/cjs/tasty/styles/shadow.js +1 -1
  166. package/cjs/tasty/styles/styledScrollbar.js +1 -1
  167. package/cjs/tasty/styles/transition.js +1 -1
  168. package/cjs/tasty/styles/types.js +1 -1
  169. package/cjs/tasty/styles/width.js +1 -1
  170. package/cjs/tasty/tasty.js +9 -5
  171. package/cjs/tasty/types.js +1 -1
  172. package/cjs/tasty/utils/colors.js +1 -1
  173. package/cjs/tasty/utils/dotize.js +1 -1
  174. package/cjs/tasty/utils/filterBaseProps.js +1 -1
  175. package/cjs/tasty/utils/index.js +1 -1
  176. package/cjs/tasty/utils/mergeStyles.js +1 -1
  177. package/cjs/tasty/utils/modAttrs.js +1 -1
  178. package/cjs/tasty/utils/renderStyles.js +1 -1
  179. package/cjs/tasty/utils/responsive.js +1 -1
  180. package/cjs/tasty/utils/string.js +1 -1
  181. package/cjs/tasty/utils/styles.js +1 -1
  182. package/cjs/tasty/utils/warnings.js +1 -1
  183. package/cjs/test/index.js +6 -2
  184. package/cjs/test/render.js +1 -1
  185. package/cjs/test/setup.js +2 -1
  186. package/cjs/test/utils/index.js +6 -2
  187. package/cjs/test/utils/wait.js +1 -1
  188. package/cjs/tokens.js +1 -1
  189. package/cjs/utils/ResizeSensor.js +1 -1
  190. package/cjs/utils/modules.js +1 -1
  191. package/cjs/utils/promise.js +1 -1
  192. package/cjs/utils/react/Slots.js +3 -3
  193. package/cjs/utils/react/chain.js +1 -1
  194. package/cjs/utils/react/index.js +1 -1
  195. package/cjs/utils/react/interactions.js +1 -1
  196. package/cjs/utils/react/isTextOnly.js +1 -1
  197. package/cjs/utils/react/mapProps.js +1 -1
  198. package/cjs/utils/react/mergeProps.js +1 -1
  199. package/cjs/utils/react/nullableValue.js +1 -1
  200. package/cjs/utils/react/useCombinedRefs.js +1 -1
  201. package/cjs/utils/react/useId.js +1 -1
  202. package/cjs/utils/react/useLayoutEffect.js +6 -2
  203. package/cjs/utils/react/wrapNodeIfPlain.js +1 -1
  204. package/cjs/utils/transitions.js +1 -1
  205. package/cjs/utils/tree.js +1 -1
  206. package/cjs/utils/warnings.js +3 -1
  207. package/es/_internal/hooks/index.js +1 -1
  208. package/es/_internal/hooks/use-deprecation-warning.js +1 -1
  209. package/es/_internal/index.js +1 -1
  210. package/es/components/Base.js +2 -2
  211. package/es/components/Block.js +2 -2
  212. package/es/components/GlobalStyles.js +1 -1
  213. package/es/components/GridProvider.js +2 -2
  214. package/es/components/HiddenInput.js +1 -1
  215. package/es/components/OpenTrasition.js +2 -2
  216. package/es/components/Root.js +2 -2
  217. package/es/components/actions/Action.js +2 -2
  218. package/es/components/actions/Button/Button.js +2 -2
  219. package/es/components/actions/Button/Submit.js +2 -2
  220. package/es/components/actions/Button/index.js +1 -1
  221. package/es/components/actions/ButtonGroup/ButtonGroup.js +2 -2
  222. package/es/components/actions/index.js +1 -1
  223. package/es/components/content/ActiveZone/ActiveZone.js +2 -2
  224. package/es/components/content/Alert/Alert.js +2 -2
  225. package/es/components/content/Alert/index.js +1 -1
  226. package/es/components/content/Alert/types.js +1 -1
  227. package/es/components/content/Alert/use-alert.js +1 -1
  228. package/es/components/content/Avatar/Avatar.js +2 -2
  229. package/es/components/content/Badge/Badge.js +2 -2
  230. package/es/components/content/Card/Card.js +2 -2
  231. package/es/components/content/Content.js +2 -2
  232. package/es/components/content/CopySnippet/CopySnippet.js +5 -5
  233. package/es/components/content/CopySnippet/index.js +1 -1
  234. package/es/components/content/Divider.js +2 -2
  235. package/es/components/content/Footer.js +2 -2
  236. package/es/components/content/Header.js +2 -2
  237. package/es/components/content/Paragraph.js +2 -2
  238. package/es/components/content/Placeholder/Placeholder.js +2 -2
  239. package/es/components/content/PrismCode/PrismCode.js +2 -2
  240. package/es/components/content/Result/Result.js +3 -3
  241. package/es/components/content/Skeleton/Skeleton.js +12 -12
  242. package/es/components/content/Tag/Tag.js +3 -3
  243. package/es/components/content/Text.js +8 -8
  244. package/es/components/content/Title.js +4 -4
  245. package/es/components/forms/Checkbox/Checkbox.js +7 -7
  246. package/es/components/forms/Checkbox/CheckboxGroup.js +3 -3
  247. package/es/components/forms/Checkbox/context.js +1 -1
  248. package/es/components/forms/FieldWrapper.js +4 -4
  249. package/es/components/forms/FileInput/FileInput.js +3 -3
  250. package/es/components/forms/Form/Field.js +2 -2
  251. package/es/components/forms/Form/Form.js +2 -2
  252. package/es/components/forms/Form/index.js +1 -1
  253. package/es/components/forms/Form/useForm.js +1 -1
  254. package/es/components/forms/Form/validation.js +1 -1
  255. package/es/components/forms/Input/Input.js +2 -2
  256. package/es/components/forms/Input/index.js +1 -1
  257. package/es/components/forms/Label.js +4 -4
  258. package/es/components/forms/NumberInput/NumberInput.js +2 -2
  259. package/es/components/forms/NumberInput/StepButton.js +3 -3
  260. package/es/components/forms/PasswordInput/PasswordInput.js +3 -3
  261. package/es/components/forms/RadioGroup/Radio.js +6 -6
  262. package/es/components/forms/RadioGroup/RadioGroup.js +3 -3
  263. package/es/components/forms/RadioGroup/context.js +1 -1
  264. package/es/components/forms/SearchInput/SearchInput.js +3 -3
  265. package/es/components/forms/Switch/Switch.js +5 -5
  266. package/es/components/forms/TextArea/TextArea.js +2 -2
  267. package/es/components/forms/TextInput/TextInput.js +2 -2
  268. package/es/components/forms/TextInput/TextInputBase.js +5 -5
  269. package/es/components/forms/index.js +1 -1
  270. package/es/components/layout/Flex.js +2 -2
  271. package/es/components/layout/Flow.js +2 -2
  272. package/es/components/layout/Grid.js +2 -2
  273. package/es/components/layout/Prefix.js +2 -2
  274. package/es/components/layout/Space.js +2 -2
  275. package/es/components/layout/Suffix.js +2 -2
  276. package/es/components/navigation/LegacyTabs/LegacyTabs.js +4 -4
  277. package/es/components/navigation/Link/Link.js +2 -2
  278. package/es/components/organisms/FileTabs/FileTabs.js +4 -4
  279. package/es/components/organisms/Modal/Modal.js +3 -3
  280. package/es/components/organisms/StatsCard/StatsCard.js +2 -2
  281. package/es/components/other/Base64Upload/Base64Upload.js +2 -2
  282. package/es/components/other/CloudLogo/CloudLogo.js +2 -2
  283. package/es/components/overlays/AlertDialog/AlertDialog.js +8 -8
  284. package/es/components/overlays/AlertDialog/AlertDialogApiProvider.js +2 -2
  285. package/es/components/overlays/AlertDialog/AlertDialogZone.js +2 -2
  286. package/es/components/overlays/AlertDialog/index.js +1 -1
  287. package/es/components/overlays/AlertDialog/types.js +1 -1
  288. package/es/components/overlays/Dialog/Dialog.js +3 -3
  289. package/es/components/overlays/Dialog/DialogContainer.js +2 -2
  290. package/es/components/overlays/Dialog/DialogForm.js +3 -3
  291. package/es/components/overlays/Dialog/DialogTrigger.js +8 -8
  292. package/es/components/overlays/Dialog/context.js +1 -1
  293. package/es/components/overlays/Dialog/index.js +1 -1
  294. package/es/components/overlays/Modal/Modal.js +3 -3
  295. package/es/components/overlays/Modal/OpenTransition.js +2 -2
  296. package/es/components/overlays/Modal/Overlay.js +2 -2
  297. package/es/components/overlays/Modal/Popover.js +3 -3
  298. package/es/components/overlays/Modal/Tray.js +3 -3
  299. package/es/components/overlays/Modal/Underlay.js +2 -2
  300. package/es/components/overlays/Modal/index.js +1 -1
  301. package/es/components/overlays/Notification/Notification.js +2 -2
  302. package/es/components/overlays/OverlayWrapper.js +3 -3
  303. package/es/components/overlays/Tooltip/Tooltip.js +2 -2
  304. package/es/components/overlays/Tooltip/TooltipProvider.js +2 -2
  305. package/es/components/overlays/Tooltip/TooltipTrigger.js +4 -4
  306. package/es/components/overlays/Tooltip/context.js +1 -1
  307. package/es/components/pickers/ComboBox/ComboBox.js +6 -6
  308. package/es/components/pickers/Menu/Menu.js +3 -3
  309. package/es/components/pickers/Menu/MenuButton.js +4 -4
  310. package/es/components/pickers/Menu/MenuItem.js +3 -3
  311. package/es/components/pickers/Menu/MenuSection.js +3 -3
  312. package/es/components/pickers/Menu/MenuTrigger.js +5 -5
  313. package/es/components/pickers/Menu/context.js +1 -1
  314. package/es/components/pickers/Menu/styled.js +1 -1
  315. package/es/components/pickers/Select/Select.js +15 -15
  316. package/es/components/portal/Portal.js +2 -2
  317. package/es/components/portal/PortalProvider.js +1 -1
  318. package/es/components/portal/index.js +1 -1
  319. package/es/components/portal/storybook/templates/CustomRoot.js +2 -2
  320. package/es/components/portal/storybook/templates/PortalOrder.js +2 -2
  321. package/es/components/portal/storybook/templates/basic.js +2 -2
  322. package/es/components/portal/storybook/templates/index.js +1 -1
  323. package/es/components/portal/types.js +1 -1
  324. package/es/components/portal/usePortal.js +1 -1
  325. package/es/components/status/LoadingAnimation/LoadingAnimation.js +3 -3
  326. package/es/components/status/Spin/Spin.js +3 -3
  327. package/es/data/themes.js +1 -1
  328. package/es/index.js +1 -1
  329. package/es/provider.js +3 -3
  330. package/es/providers/StyleProvider.js +2 -2
  331. package/es/services/notification.js +2 -2
  332. package/es/shared/form.js +1 -1
  333. package/es/shared/index.js +1 -1
  334. package/es/stories/FormFieldArgs.js +1 -1
  335. package/es/stories/components/ConfirmDeletionDialogForm.js +3 -3
  336. package/es/stories/components/DialogFormApp.js +2 -2
  337. package/es/stories/components/StyledButton.js +2 -2
  338. package/es/stories/lists/baseProps.js +1 -1
  339. package/es/styled/index.js +1 -1
  340. package/es/styled/styled.js +4 -4
  341. package/es/tasty/index.js +1 -1
  342. package/es/tasty/providers/BreakpointsProvider.js +2 -2
  343. package/es/tasty/styles/align.js +1 -1
  344. package/es/tasty/styles/border.js +1 -1
  345. package/es/tasty/styles/boxShadow.combinator.js +1 -1
  346. package/es/tasty/styles/color.js +1 -1
  347. package/es/tasty/styles/createStyle.js +1 -1
  348. package/es/tasty/styles/dimension.js +1 -1
  349. package/es/tasty/styles/display.js +1 -1
  350. package/es/tasty/styles/fill.js +1 -1
  351. package/es/tasty/styles/flow.js +1 -1
  352. package/es/tasty/styles/font.js +1 -1
  353. package/es/tasty/styles/fontStyle.js +1 -1
  354. package/es/tasty/styles/gap.js +1 -1
  355. package/es/tasty/styles/groupRadius.js +1 -1
  356. package/es/tasty/styles/height.js +1 -1
  357. package/es/tasty/styles/index.js +1 -1
  358. package/es/tasty/styles/justify.js +1 -1
  359. package/es/tasty/styles/list.js +1 -1
  360. package/es/tasty/styles/margin.js +1 -1
  361. package/es/tasty/styles/marginBlock.js +1 -1
  362. package/es/tasty/styles/marginInline.js +1 -1
  363. package/es/tasty/styles/outline.js +1 -1
  364. package/es/tasty/styles/padding.js +1 -1
  365. package/es/tasty/styles/paddingBlock.js +1 -1
  366. package/es/tasty/styles/paddingInline.js +1 -1
  367. package/es/tasty/styles/predefined.js +1 -1
  368. package/es/tasty/styles/preset.js +1 -1
  369. package/es/tasty/styles/radius.js +1 -1
  370. package/es/tasty/styles/reset.js +1 -1
  371. package/es/tasty/styles/shadow.js +1 -1
  372. package/es/tasty/styles/styledScrollbar.js +1 -1
  373. package/es/tasty/styles/transition.js +1 -1
  374. package/es/tasty/styles/types.js +1 -1
  375. package/es/tasty/styles/width.js +1 -1
  376. package/es/tasty/tasty.js +4 -4
  377. package/es/tasty/types.js +1 -1
  378. package/es/tasty/utils/colors.js +1 -1
  379. package/es/tasty/utils/dotize.js +1 -1
  380. package/es/tasty/utils/filterBaseProps.js +1 -1
  381. package/es/tasty/utils/index.js +1 -1
  382. package/es/tasty/utils/mergeStyles.js +1 -1
  383. package/es/tasty/utils/modAttrs.js +1 -1
  384. package/es/tasty/utils/renderStyles.js +1 -1
  385. package/es/tasty/utils/responsive.js +1 -1
  386. package/es/tasty/utils/string.js +1 -1
  387. package/es/tasty/utils/styles.js +1 -1
  388. package/es/tasty/utils/warnings.js +1 -1
  389. package/es/test/index.js +1 -1
  390. package/es/test/render.js +1 -1
  391. package/es/test/setup.js +2 -1
  392. package/es/test/utils/index.js +1 -1
  393. package/es/test/utils/wait.js +1 -1
  394. package/es/tokens.js +1 -1
  395. package/es/utils/ResizeSensor.js +1 -1
  396. package/es/utils/modules.js +1 -1
  397. package/es/utils/promise.js +1 -1
  398. package/es/utils/react/Slots.js +3 -3
  399. package/es/utils/react/chain.js +1 -1
  400. package/es/utils/react/index.js +1 -1
  401. package/es/utils/react/interactions.js +1 -1
  402. package/es/utils/react/isTextOnly.js +1 -1
  403. package/es/utils/react/mapProps.js +1 -1
  404. package/es/utils/react/mergeProps.js +1 -1
  405. package/es/utils/react/nullableValue.js +1 -1
  406. package/es/utils/react/useCombinedRefs.js +1 -1
  407. package/es/utils/react/useId.js +1 -1
  408. package/es/utils/react/useLayoutEffect.js +1 -1
  409. package/es/utils/react/wrapNodeIfPlain.js +1 -1
  410. package/es/utils/transitions.js +1 -1
  411. package/es/utils/tree.js +1 -1
  412. package/es/utils/warnings.js +3 -1
  413. package/package.json +44 -44
  414. package/types/components/pickers/Menu/styled.d.ts +2 -2
  415. package/types/stories/components/StyledButton.d.ts +1 -1
  416. package/types/tasty/utils/styles.d.ts +2 -2
  417. package/types/test/render.d.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -29,7 +29,7 @@ const Button = styled.button((props) => {
29
29
  function CloudLogo(props, ref) {
30
30
  let domRef = useFocusableRef(ref);
31
31
  let { buttonProps } = useButton(cubeToAriaButtonProps(props), domRef);
32
- return (_jsx(Button, { "data-qa": "HeaderCubeCloudLogo", ...buttonProps, isLink: !!props.onPress, ref: domRef, label: "Logo", children: _jsxs("svg", { width: "159", height: "26", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M22.533 6.535L11.27 0v4.522l11.264 6.507V6.535z", fill: "#FF6492" }, void 0), _jsx("path", { d: "M22.533 11.029L19.154 13l-7.887-4.567-4.507 2.6-3.38-1.827 7.889-4.684 11.264 6.507z", fill: "#141446" }, void 0), _jsx("path", { d: "M6.76 11.033L3.38 9.206V13l3.38-1.967z", fill: "#A14474" }, void 0), _jsx("path", { d: "M0 19.465L11.267 13l11.266 6.465L11.267 26 0 19.465z", fill: "#141446" }, void 0), _jsx("path", { d: "M22.533 14.978L11.267 8.362V13l11.266 6.465v-4.487z", fill: "#FF6492" }, void 0), _jsx("path", { d: "M3.38 13V9.205l7.889-4.683V0L0 6.535v12.93L11.267 13V8.362L3.38 13z", fill: "#7A77FF" }, void 0), _jsx("path", { d: "M36.594 21.099c2.446 0 4.36-1.21 5.503-3.067l-1.967-1.534c-.878 1.21-1.967 1.991-3.509 1.991-2.392 0-4.093-1.856-4.093-4.305 0-2.394 1.7-4.278 4.093-4.278 1.568 0 2.658.807 3.509 2.018l1.967-1.56c-1.117-1.857-3.03-3.067-5.503-3.067-3.854 0-6.91 3.013-6.91 6.887 0 3.902 3.056 6.915 6.91 6.915zM50.224 21.099c3.19 0 5.662-2.26 5.662-5.838V7.593h-2.791v7.883c0 1.856-1.276 3.013-2.871 3.013-1.648 0-2.95-1.157-2.95-3.013V7.593h-2.765v7.668c0 3.578 2.472 5.838 5.715 5.838zM66.42 7.297c-1.807 0-3.376.7-4.36 1.91V.624h-2.79v20.18h2.605v-1.83c.983 1.345 2.658 2.125 4.572 2.125 3.694 0 6.38-2.96 6.38-6.888S70.14 7.297 66.42 7.297zm-.452 11.22c-1.94 0-3.934-1.292-3.934-4.306 0-2.986 1.967-4.332 3.934-4.332 2.233 0 3.987 1.75 3.987 4.305 0 2.556-1.727 4.332-3.987 4.332zM87.469 13.35c0-3.47-2.552-6.053-6.034-6.053-3.801 0-6.752 3.04-6.752 6.914 0 3.902 2.977 6.888 7.018 6.888 2.073 0 3.827-.807 5.21-2.125l-1.33-1.938c-1.09.969-2.286 1.56-3.8 1.56-2.234 0-3.882-1.29-4.254-3.47h9.729c.08-.35.213-1.05.213-1.776zm-6.14-3.659c1.78 0 3.296 1.157 3.349 3.229H77.58c.425-1.964 1.913-3.229 3.747-3.229zM101.014 21.099c2.445 0 4.359-1.21 5.502-3.067l-1.967-1.534c-.877 1.21-1.967 1.991-3.508 1.991-2.393 0-4.094-1.856-4.094-4.305 0-2.394 1.701-4.278 4.094-4.278 1.568 0 2.658.807 3.508 2.018l1.967-1.56c-1.116-1.857-3.03-3.067-5.502-3.067-3.854 0-6.911 3.013-6.911 6.887 0 3.902 3.057 6.915 6.911 6.915zM109.062 20.803h2.791V.624h-2.791v20.18zM121.417 21.099c3.881 0 6.938-3.067 6.938-6.915 0-3.847-3.057-6.887-6.938-6.887-3.854 0-6.884 3.013-6.884 6.887 0 3.848 3.03 6.915 6.884 6.915zm0-2.61c-2.312 0-4.04-1.83-4.04-4.278 0-2.475 1.728-4.332 4.067-4.332 2.286 0 4.04 1.857 4.04 4.332 0 2.422-1.754 4.278-4.067 4.278zM136.605 21.099c3.19 0 5.662-2.26 5.662-5.838V7.593h-2.791v7.883c0 1.856-1.276 3.013-2.871 3.013-1.648 0-2.95-1.157-2.95-3.013V7.593h-2.765v7.668c0 3.578 2.472 5.838 5.715 5.838zM155.566.624v8.583c-.984-1.21-2.552-1.91-4.36-1.91-3.694 0-6.379 2.986-6.379 6.914 0 3.928 2.658 6.888 6.379 6.888 1.941 0 3.615-.807 4.572-2.18v1.884h2.605V.624h-2.817zm-3.881 17.892c-2.286 0-4.014-1.776-4.014-4.332s1.754-4.305 4.014-4.305c1.94 0 3.934 1.346 3.934 4.332 0 3.014-1.994 4.305-3.934 4.305z", fill: "#141446" }, void 0)] }, void 0) }, void 0));
32
+ return (_jsx(Button, { "data-qa": "HeaderCubeCloudLogo", ...buttonProps, isLink: !!props.onPress, ref: domRef, label: "Logo", children: _jsxs("svg", { width: "159", height: "26", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M22.533 6.535L11.27 0v4.522l11.264 6.507V6.535z", fill: "#FF6492" }), _jsx("path", { d: "M22.533 11.029L19.154 13l-7.887-4.567-4.507 2.6-3.38-1.827 7.889-4.684 11.264 6.507z", fill: "#141446" }), _jsx("path", { d: "M6.76 11.033L3.38 9.206V13l3.38-1.967z", fill: "#A14474" }), _jsx("path", { d: "M0 19.465L11.267 13l11.266 6.465L11.267 26 0 19.465z", fill: "#141446" }), _jsx("path", { d: "M22.533 14.978L11.267 8.362V13l11.266 6.465v-4.487z", fill: "#FF6492" }), _jsx("path", { d: "M3.38 13V9.205l7.889-4.683V0L0 6.535v12.93L11.267 13V8.362L3.38 13z", fill: "#7A77FF" }), _jsx("path", { d: "M36.594 21.099c2.446 0 4.36-1.21 5.503-3.067l-1.967-1.534c-.878 1.21-1.967 1.991-3.509 1.991-2.392 0-4.093-1.856-4.093-4.305 0-2.394 1.7-4.278 4.093-4.278 1.568 0 2.658.807 3.509 2.018l1.967-1.56c-1.117-1.857-3.03-3.067-5.503-3.067-3.854 0-6.91 3.013-6.91 6.887 0 3.902 3.056 6.915 6.91 6.915zM50.224 21.099c3.19 0 5.662-2.26 5.662-5.838V7.593h-2.791v7.883c0 1.856-1.276 3.013-2.871 3.013-1.648 0-2.95-1.157-2.95-3.013V7.593h-2.765v7.668c0 3.578 2.472 5.838 5.715 5.838zM66.42 7.297c-1.807 0-3.376.7-4.36 1.91V.624h-2.79v20.18h2.605v-1.83c.983 1.345 2.658 2.125 4.572 2.125 3.694 0 6.38-2.96 6.38-6.888S70.14 7.297 66.42 7.297zm-.452 11.22c-1.94 0-3.934-1.292-3.934-4.306 0-2.986 1.967-4.332 3.934-4.332 2.233 0 3.987 1.75 3.987 4.305 0 2.556-1.727 4.332-3.987 4.332zM87.469 13.35c0-3.47-2.552-6.053-6.034-6.053-3.801 0-6.752 3.04-6.752 6.914 0 3.902 2.977 6.888 7.018 6.888 2.073 0 3.827-.807 5.21-2.125l-1.33-1.938c-1.09.969-2.286 1.56-3.8 1.56-2.234 0-3.882-1.29-4.254-3.47h9.729c.08-.35.213-1.05.213-1.776zm-6.14-3.659c1.78 0 3.296 1.157 3.349 3.229H77.58c.425-1.964 1.913-3.229 3.747-3.229zM101.014 21.099c2.445 0 4.359-1.21 5.502-3.067l-1.967-1.534c-.877 1.21-1.967 1.991-3.508 1.991-2.393 0-4.094-1.856-4.094-4.305 0-2.394 1.701-4.278 4.094-4.278 1.568 0 2.658.807 3.508 2.018l1.967-1.56c-1.116-1.857-3.03-3.067-5.502-3.067-3.854 0-6.911 3.013-6.911 6.887 0 3.902 3.057 6.915 6.911 6.915zM109.062 20.803h2.791V.624h-2.791v20.18zM121.417 21.099c3.881 0 6.938-3.067 6.938-6.915 0-3.847-3.057-6.887-6.938-6.887-3.854 0-6.884 3.013-6.884 6.887 0 3.848 3.03 6.915 6.884 6.915zm0-2.61c-2.312 0-4.04-1.83-4.04-4.278 0-2.475 1.728-4.332 4.067-4.332 2.286 0 4.04 1.857 4.04 4.332 0 2.422-1.754 4.278-4.067 4.278zM136.605 21.099c3.19 0 5.662-2.26 5.662-5.838V7.593h-2.791v7.883c0 1.856-1.276 3.013-2.871 3.013-1.648 0-2.95-1.157-2.95-3.013V7.593h-2.765v7.668c0 3.578 2.472 5.838 5.715 5.838zM155.566.624v8.583c-.984-1.21-2.552-1.91-4.36-1.91-3.694 0-6.379 2.986-6.379 6.914 0 3.928 2.658 6.888 6.379 6.888 1.941 0 3.615-.807 4.572-2.18v1.884h2.605V.624h-2.817zm-3.881 17.892c-2.286 0-4.014-1.776-4.014-4.332s1.754-4.305 4.014-4.305c1.94 0 3.934 1.346 3.934 4.332 0 3.014-1.994 4.305-3.934 4.305z", fill: "#141446" })] }) }));
33
33
  }
34
34
  const _CloudLogo = forwardRef(CloudLogo);
35
35
  export { _CloudLogo as CloudLogo };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -45,13 +45,13 @@ function AlertDialog(props, ref) {
45
45
  ...(typeof cancelProps === 'object' ? cancelProps : null),
46
46
  }
47
47
  : undefined;
48
- return (_jsxs(Dialog, { role: "alertdialog", ref: ref, isDismissable: false, ...otherProps, children: [title ? (_jsx(Header, { children: _jsx(Title, { children: title }, void 0) }, void 0)) : null, content ? (_jsx(Content, { children: typeof content === 'string' ? (_jsx(Paragraph, { children: content }, void 0)) : (content) }, void 0)) : null, !noActions ? (_jsx(Footer, { children: _jsxs(ButtonGroup, { align: "end", children: [_jsx(Button, { theme: danger ? 'danger' : undefined, autoFocus: true, ...confirmProps, onPress: (e) => {
49
- var _a, _b;
50
- return chain((_b = (_a = confirmProps) === null || _a === void 0 ? void 0 : _a.onPress) === null || _b === void 0 ? void 0 : _b.call(_a, e), onClose === null || onClose === void 0 ? void 0 : onClose('confirm'));
51
- } }, void 0), secondaryProps && (_jsx(Button, { ...secondaryProps, onPress: (e) => { var _a; return chain((_a = secondaryProps === null || secondaryProps === void 0 ? void 0 : secondaryProps.onPress) === null || _a === void 0 ? void 0 : _a.call(secondaryProps, e), onClose === null || onClose === void 0 ? void 0 : onClose('secondary')); } }, void 0)), cancelProps && (_jsx(Button, { ...cancelProps, onPress: (e) => {
52
- var _a, _b;
53
- return chain((_b = (_a = cancelProps) === null || _a === void 0 ? void 0 : _a.onPress) === null || _b === void 0 ? void 0 : _b.call(_a, e), onClose === null || onClose === void 0 ? void 0 : onClose('cancel'));
54
- } }, void 0))] }, void 0) }, void 0)) : null] }, void 0));
48
+ return (_jsxs(Dialog, { role: "alertdialog", ref: ref, isDismissable: false, ...otherProps, children: [title ? (_jsx(Header, { children: _jsx(Title, { children: title }) })) : null, content ? (_jsx(Content, { children: typeof content === 'string' ? (_jsx(Paragraph, { children: content })) : (content) })) : null, !noActions ? (_jsx(Footer, { children: _jsxs(ButtonGroup, { align: "end", children: [_jsx(Button, { theme: danger ? 'danger' : undefined, autoFocus: true, ...confirmProps, onPress: (e) => {
49
+ var _a;
50
+ return chain((_a = confirmProps === null || confirmProps === void 0 ? void 0 : confirmProps.onPress) === null || _a === void 0 ? void 0 : _a.call(confirmProps, e), onClose === null || onClose === void 0 ? void 0 : onClose('confirm'));
51
+ } }), secondaryProps && (_jsx(Button, { ...secondaryProps, onPress: (e) => { var _a; return chain((_a = secondaryProps === null || secondaryProps === void 0 ? void 0 : secondaryProps.onPress) === null || _a === void 0 ? void 0 : _a.call(secondaryProps, e), onClose === null || onClose === void 0 ? void 0 : onClose('secondary')); } })), cancelProps && (_jsx(Button, { ...cancelProps, onPress: (e) => {
52
+ var _a;
53
+ return chain((_a = cancelProps === null || cancelProps === void 0 ? void 0 : cancelProps.onPress) === null || _a === void 0 ? void 0 : _a.call(cancelProps, e), onClose === null || onClose === void 0 ? void 0 : onClose('cancel'));
54
+ } }))] }) })) : null] }));
55
55
  }
56
56
  /**
57
57
  * AlertDialogs are a specific type of Dialog. They display important information that users need to acknowledge.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -62,7 +62,7 @@ export function AlertDialogApiProvider(props) {
62
62
  return currentDialog.meta.promise;
63
63
  },
64
64
  }), []);
65
- return (_jsxs(DialogApiContext.Provider, { value: api, children: [_jsx(AlertDialogZone, { openedDialog: openedDialog }, void 0), props.children] }, void 0));
65
+ return (_jsxs(DialogApiContext.Provider, { value: api, children: [_jsx(AlertDialogZone, { openedDialog: openedDialog }), props.children] }));
66
66
  }
67
67
  /**
68
68
  * Hook gives the ability to open `<AlertDialog />` imperatively.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -48,7 +48,7 @@ export function AlertDialogZone(props) {
48
48
  })();
49
49
  return (_jsx(Portal, { children: _jsx(DialogContainer, { isOpen: isVisible, isDismissable: isDismissable, type: type, onDismiss: resolve, children: _jsx(AlertDialog, { noActions: dialogType === 'form', actions: _actions, isHidden: !isVisible, content: typeof content === 'function'
50
50
  ? content({ resolve, reject })
51
- : content, ...options }, void 0) }, void 0) }, PORTAL_KEY));
51
+ : content, ...options }) }) }, PORTAL_KEY));
52
52
  }
53
53
 
54
54
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
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.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
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.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -113,7 +113,7 @@ export const Dialog = forwardRef(function Dialog(props, ref) {
113
113
  // so we render a hidden one for screen readers.
114
114
  let dismissButton;
115
115
  if (type === 'popover' || type === 'tray') {
116
- dismissButton = _jsx(DismissButton, { onDismiss: onDismiss }, void 0);
116
+ dismissButton = _jsx(DismissButton, { onDismiss: onDismiss });
117
117
  }
118
118
  // let hasHeader = useHasChild('[data-id="Header"]', domRef);
119
119
  // let hasFooter = useHasChild('[data-id="Footer"]', domRef);
@@ -160,7 +160,7 @@ export const Dialog = forwardRef(function Dialog(props, ref) {
160
160
  dismissable: isDismissable,
161
161
  }, style: {
162
162
  '--dialog-size': `${sizePxMap[size] || 288}px`,
163
- }, "data-type": type, "data-size": size, ref: domRef, children: [dismissButton, _jsxs(SlotProvider, { slots: slots, children: [isDismissable && (_jsx(Button, { qa: "ModalCloseButton", type: "neutral", styles: CLOSE_BUTTON_STYLES, icon: closeIcon || _jsx(CloseOutlined, {}, void 0), label: formatMessage('dismiss'), onPress: () => onDismiss && onDismiss() }, void 0)), children] }, void 0)] }, void 0) }, void 0));
163
+ }, "data-type": type, "data-size": size, ref: domRef, children: [dismissButton, _jsxs(SlotProvider, { slots: slots, children: [isDismissable && (_jsx(Button, { qa: "ModalCloseButton", type: "neutral", styles: CLOSE_BUTTON_STYLES, icon: closeIcon || _jsx(CloseOutlined, {}), label: formatMessage('dismiss'), onPress: () => onDismiss && onDismiss() })), children] })] }) }));
164
164
  });
165
165
 
166
166
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -32,7 +32,7 @@ export function DialogContainer(props) {
32
32
  onClose: onDismiss,
33
33
  isDismissable,
34
34
  };
35
- return (_jsx(Modal, { isOpen: isActuallyOpened, onClose: isDismissable ? onDismiss : undefined, type: type, isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, children: _jsx(DialogContext.Provider, { value: context, children: child }, void 0) }, void 0));
35
+ return (_jsx(Modal, { isOpen: isActuallyOpened, onClose: isDismissable ? onDismiss : undefined, type: type, isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, children: _jsx(DialogContext.Provider, { value: context, children: child }) }));
36
36
  }
37
37
 
38
38
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -30,13 +30,13 @@ export const DialogForm = function DialogForm(props) {
30
30
  form === null || form === void 0 ? void 0 : form.resetFields();
31
31
  }
32
32
  }
33
- return (_jsxs(Dialog, { qa: `${qa || ''}Dialog`, size: size, closeIcon: closeIcon, ...dialogProps, children: [_jsx(Header, { children: _jsx(Title, { children: title }, void 0) }, void 0), _jsx(Content, { children: _jsxs(Form, { qa: qa || 'DialogForm', form: form, name: name, onSubmit: async (data) => {
33
+ return (_jsxs(Dialog, { qa: `${qa || ''}Dialog`, size: size, closeIcon: closeIcon, ...dialogProps, children: [_jsx(Header, { children: _jsx(Title, { children: title }) }), _jsx(Content, { children: _jsxs(Form, { qa: qa || 'DialogForm', form: form, name: name, onSubmit: async (data) => {
34
34
  await (onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(data));
35
35
  onClose === null || onClose === void 0 ? void 0 : onClose();
36
36
  if (!preserve) {
37
37
  form === null || form === void 0 ? void 0 : form.resetFields();
38
38
  }
39
- }, onSubmitFailed: onSubmitFailed, defaultValues: defaultValues, onValuesChange: onValuesChange, labelStyles: labelStyles, labelPosition: labelPosition, requiredMark: requiredMark, isRequired: isRequired, necessityIndicator: necessityIndicator, necessityLabel: necessityLabel, isReadOnly: isReadOnly, validationState: validationState, validateTrigger: validateTrigger, children: [typeof children === 'function' ? children(onLocalDismiss) : children, !noActions ? (_jsxs(ButtonGroup, { children: [_jsx(Submit, { qa: `${qa || ''}SubmitButton`, theme: danger ? 'danger' : undefined, label: "Submit", ...(submitProps || {}) }, void 0), _jsx(Button, { qa: `${qa || ''}CancelButton`, onPress: onLocalDismiss, label: "Cancel", ...(cancelProps || {}) }, void 0)] }, void 0)) : undefined] }, void 0) }, void 0)] }, void 0));
39
+ }, onSubmitFailed: onSubmitFailed, defaultValues: defaultValues, onValuesChange: onValuesChange, labelStyles: labelStyles, labelPosition: labelPosition, requiredMark: requiredMark, isRequired: isRequired, necessityIndicator: necessityIndicator, necessityLabel: necessityLabel, isReadOnly: isReadOnly, validationState: validationState, validateTrigger: validateTrigger, children: [typeof children === 'function' ? children(onLocalDismiss) : children, !noActions ? (_jsxs(ButtonGroup, { children: [_jsx(Submit, { qa: `${qa || ''}SubmitButton`, theme: danger ? 'danger' : undefined, label: "Submit", ...(submitProps || {}) }), _jsx(Button, { qa: `${qa || ''}CancelButton`, onPress: onLocalDismiss, label: "Cancel", ...(cancelProps || {}) })] })) : undefined] }) })] }));
40
40
  };
41
41
 
42
42
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -51,7 +51,7 @@ function DialogTrigger(props) {
51
51
  }
52
52
  }
53
53
  if (type === 'popover') {
54
- return (_jsx(PopoverTrigger, { ...positionProps, state: state, targetRef: targetRef, trigger: trigger, content: content, onClose: onClose, isKeyboardDismissDisabled: isKeyboardDismissDisabled, hideArrow: hideArrow }, void 0));
54
+ return (_jsx(PopoverTrigger, { ...positionProps, state: state, targetRef: targetRef, trigger: trigger, content: content, onClose: onClose, isKeyboardDismissDisabled: isKeyboardDismissDisabled, hideArrow: hideArrow }));
55
55
  }
56
56
  let renderOverlay = () => {
57
57
  switch (type) {
@@ -59,12 +59,12 @@ function DialogTrigger(props) {
59
59
  case 'fullscreen':
60
60
  case 'fullscreenTakeover':
61
61
  case 'modal':
62
- return (_jsx(Modal, { isOpen: state.isOpen, isDismissable: isDismissable, onClose: onClose, type: type, isKeyboardDismissDisabled: isKeyboardDismissDisabled, onExiting: onExiting, onExited: onExited, styles: styles, children: typeof content === 'function' ? content(state.close) : content }, void 0));
62
+ return (_jsx(Modal, { isOpen: state.isOpen, isDismissable: isDismissable, onClose: onClose, type: type, isKeyboardDismissDisabled: isKeyboardDismissDisabled, onExiting: onExiting, onExited: onExited, styles: styles, children: typeof content === 'function' ? content(state.close) : content }));
63
63
  case 'tray':
64
- return (_jsx(Tray, { isOpen: state.isOpen, onClose: onClose, isKeyboardDismissDisabled: isKeyboardDismissDisabled, styles: styles, children: typeof content === 'function' ? content(state.close) : content }, void 0));
64
+ return (_jsx(Tray, { isOpen: state.isOpen, onClose: onClose, isKeyboardDismissDisabled: isKeyboardDismissDisabled, styles: styles, children: typeof content === 'function' ? content(state.close) : content }));
65
65
  }
66
66
  };
67
- return (_jsx(DialogTriggerBase, { type: type, state: state, onClose: onClose, isDismissable: isDismissable, trigger: trigger, overlay: renderOverlay() }, void 0));
67
+ return (_jsx(DialogTriggerBase, { type: type, state: state, onClose: onClose, isDismissable: isDismissable, trigger: trigger, overlay: renderOverlay() }));
68
68
  }
69
69
  /**
70
70
  * DialogTrigger serves as a wrapper around a Dialog and its associated trigger, linking the Dialog's
@@ -92,8 +92,8 @@ function PopoverTrigger(allProps) {
92
92
  ...triggerProps,
93
93
  ref: targetRef ? undefined : triggerRef,
94
94
  };
95
- let overlay = (_jsx(Popover, { isOpen: state.isOpen, style: popoverProps.style, ref: overlayRef, onClose: onClose, placement: placement, arrowProps: arrowProps, isKeyboardDismissDisabled: isKeyboardDismissDisabled, hideArrow: hideArrow, children: typeof content === 'function' ? content(state.close) : content }, void 0));
96
- return (_jsx(DialogTriggerBase, { type: "popover", state: state, triggerProps: triggerPropsWithRef, dialogProps: overlayProps, trigger: trigger, onClose: onClose, overlay: overlay }, void 0));
95
+ let overlay = (_jsx(Popover, { isOpen: state.isOpen, style: popoverProps.style, ref: overlayRef, onClose: onClose, placement: placement, arrowProps: arrowProps, isKeyboardDismissDisabled: isKeyboardDismissDisabled, hideArrow: hideArrow, children: typeof content === 'function' ? content(state.close) : content }));
96
+ return (_jsx(DialogTriggerBase, { type: "popover", state: state, triggerProps: triggerPropsWithRef, dialogProps: overlayProps, trigger: trigger, onClose: onClose, overlay: overlay }));
97
97
  }
98
98
  function DialogTriggerBase(props) {
99
99
  let { type, state, onClose, isDismissable, dialogProps = {}, triggerProps = {}, overlay, trigger, } = props;
@@ -106,7 +106,7 @@ function DialogTriggerBase(props) {
106
106
  return (_jsxs(Fragment, { children: [_jsx(PressResponder, { ...triggerProps, onPress: state.toggle, isPressed: state.isOpen &&
107
107
  type !== 'modal' &&
108
108
  type !== 'fullscreen' &&
109
- type !== 'fullscreenTakeover', children: trigger }, void 0), _jsx(DialogContext.Provider, { value: context, children: overlay }, void 0)] }, void 0));
109
+ type !== 'fullscreenTakeover', children: trigger }), _jsx(DialogContext.Provider, { value: context, children: overlay })] }));
110
110
  }
111
111
 
112
112
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
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.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
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.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -65,7 +65,7 @@ function Modal(props, ref) {
65
65
  let { qa, children, onClose, type, styles, ...otherProps } = props;
66
66
  let domRef = useDOMRef(ref);
67
67
  let { overlayProps, underlayProps } = useOverlay(props, domRef);
68
- return (_jsxs(Overlay, { ...otherProps, children: [type !== 'fullscreenTakeover' && _jsx(Underlay, { ...underlayProps }, void 0), _jsx(ModalWrapper, { qa: qa, onClose: onClose, type: type, ref: domRef, overlayProps: overlayProps, styles: styles, children: children }, void 0)] }, void 0));
68
+ return (_jsxs(Overlay, { ...otherProps, children: [type !== 'fullscreenTakeover' && _jsx(Underlay, { ...underlayProps }), _jsx(ModalWrapper, { qa: qa, onClose: onClose, type: type, ref: domRef, overlayProps: overlayProps, styles: styles, children: children })] }));
69
69
  }
70
70
  let ModalWrapper = forwardRef(function ModalWrapper(props, ref) {
71
71
  let { qa, children, isOpen, type, placement, styles, overlayProps, ...otherProps } = props;
@@ -75,7 +75,7 @@ let ModalWrapper = forwardRef(function ModalWrapper(props, ref) {
75
75
  let style = {
76
76
  '--cube-visual-viewport-height': viewport.height + 'px',
77
77
  };
78
- return (_jsx(ModalWrapperElement, { mods: { open: isOpen }, "data-type": type, "data-placement": placement, style: style, children: _jsx(ModalElement, { qa: qa || 'Modal', styles: styles, mods: { open: isOpen }, "data-type": type, "data-placement": placement, ...mergeProps(otherProps, overlayProps, modalProps), ref: ref, children: children }, void 0) }, void 0));
78
+ return (_jsx(ModalWrapperElement, { mods: { open: isOpen }, "data-type": type, "data-placement": placement, style: style, children: _jsx(ModalElement, { qa: qa || 'Modal', styles: styles, mods: { open: isOpen }, "data-type": type, "data-placement": placement, ...mergeProps(otherProps, overlayProps, modalProps), ref: ref, children: children }) }));
79
79
  });
80
80
  let _Modal = forwardRef(Modal);
81
81
  export { _Modal as Modal };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -13,7 +13,7 @@ const OPEN_STATES = {
13
13
  entered: true,
14
14
  };
15
15
  export function OpenTransition(props) {
16
- return (_jsx(Transition, { timeout: { enter: 0, exit: 350 }, ...props, children: (state) => Children.map(props.children, (child) => child && cloneElement(child, { isOpen: !!OPEN_STATES[state] })) }, void 0));
16
+ return (_jsx(Transition, { timeout: { enter: 0, exit: 350 }, ...props, children: (state) => Children.map(props.children, (child) => child && cloneElement(child, { isOpen: !!OPEN_STATES[state] })) }));
17
17
  }
18
18
 
19
19
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -28,7 +28,7 @@ function Overlay(props, ref) {
28
28
  // Don't bother showing anything if we don't have to.
29
29
  return null;
30
30
  }
31
- let contents = (_jsx(Provider, { ref: ref, children: _jsx(OpenTransition, { in: isOpen, appear: true, onExit: onExit, onExiting: onExiting, onExited: handleExited, onEnter: onEnter, onEntering: onEntering, onEntered: handleEntered, children: children }, void 0) }, void 0));
31
+ let contents = (_jsx(Provider, { ref: ref, children: _jsx(OpenTransition, { in: isOpen, appear: true, onExit: onExit, onExiting: onExiting, onExited: handleExited, onEnter: onEnter, onEntering: onEntering, onEntered: handleEntered, children: children }) }));
32
32
  return createPortal(contents, container || root || document.body);
33
33
  }
34
34
  let _Overlay = forwardRef(Overlay);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -33,7 +33,7 @@ const PopoverElement = tasty({
33
33
  });
34
34
  function Popover(props, ref) {
35
35
  let { qa, style, styles, children, placement, arrowProps, onClose, shouldCloseOnBlur, isKeyboardDismissDisabled, isNonModal, isDismissable = true, ...otherProps } = props;
36
- return (_jsx(Overlay, { ...otherProps, children: _jsx(PopoverWrapper, { qa: qa, ref: ref, style: style, styles: styles, placement: placement, arrowProps: arrowProps, onClose: onClose, shouldCloseOnBlur: shouldCloseOnBlur, isKeyboardDismissDisabled: isKeyboardDismissDisabled, isNonModal: isNonModal, isDismissable: isDismissable, children: children }, void 0) }, void 0));
36
+ return (_jsx(Overlay, { ...otherProps, children: _jsx(PopoverWrapper, { qa: qa, ref: ref, style: style, styles: styles, placement: placement, arrowProps: arrowProps, onClose: onClose, shouldCloseOnBlur: shouldCloseOnBlur, isKeyboardDismissDisabled: isKeyboardDismissDisabled, isNonModal: isNonModal, isDismissable: isDismissable, children: children }) }));
37
37
  }
38
38
  const PopoverWrapper = forwardRef(function PopoverWrapper(props, ref) {
39
39
  let { qa, children, placement = 'bottom', arrowProps, isOpen, style, styles, shouldCloseOnBlur, isKeyboardDismissDisabled, isNonModal, isDismissable, ...otherProps } = props;
@@ -45,7 +45,7 @@ const PopoverWrapper = forwardRef(function PopoverWrapper(props, ref) {
45
45
  });
46
46
  return (_jsx(PopoverElement, { qa: qa || 'Popover', ...mergeProps(otherProps, overlayProps, modalProps), styles: styles, ref: ref, mods: {
47
47
  open: isOpen,
48
- }, "data-placement": placement, style: style, children: children }, void 0));
48
+ }, "data-placement": placement, style: style, children: children }));
49
49
  });
50
50
  let _Popover = forwardRef(Popover);
51
51
  export { _Popover as Popover };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -40,7 +40,7 @@ function Tray(props, ref) {
40
40
  let { qa, children, onClose, isFixedHeight, isNonModal, styles, ...otherProps } = props;
41
41
  let domRef = useDOMRef(ref);
42
42
  let { overlayProps, underlayProps } = useOverlay({ ...props, isDismissable: true }, domRef);
43
- return (_jsxs(Overlay, { ...otherProps, children: [_jsx(Underlay, { ...underlayProps }, void 0), _jsx(TrayWrapper, { qa: qa, onClose: onClose, ref: domRef, overlayProps: overlayProps, isFixedHeight: isFixedHeight, isNonModal: isNonModal, styles: styles, children: children }, void 0)] }, void 0));
43
+ return (_jsxs(Overlay, { ...otherProps, children: [_jsx(Underlay, { ...underlayProps }), _jsx(TrayWrapper, { qa: qa, onClose: onClose, ref: domRef, overlayProps: overlayProps, isFixedHeight: isFixedHeight, isNonModal: isNonModal, styles: styles, children: children })] }));
44
44
  }
45
45
  let TrayWrapper = forwardRef(function (props, ref) {
46
46
  let { qa, children, isOpen, styles, isFixedHeight, isNonModal, overlayProps, ...otherProps } = props;
@@ -84,7 +84,7 @@ let TrayWrapper = forwardRef(function (props, ref) {
84
84
  }, style: wrapperStyle, children: _jsx(TrayElement, { qa: qa || 'Tray', styles: styles, mods: {
85
85
  open: isOpen,
86
86
  'fixed-height': isFixedHeight,
87
- }, ...domProps, ...modalProps, ref: ref, children: children }, void 0) }, void 0));
87
+ }, ...domProps, ...modalProps, ref: ref, children: children }) }));
88
88
  });
89
89
  let _Tray = forwardRef(Tray);
90
90
  export { _Tray as Tray };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -34,7 +34,7 @@ const UnderlayElement = tasty({
34
34
  const Underlay = ({ isOpen, ...otherProps }, ref) => {
35
35
  return (_jsx(UnderlayElement, { ref: ref, mods: {
36
36
  open: isOpen,
37
- }, ...otherProps }, void 0));
37
+ }, ...otherProps }));
38
38
  };
39
39
  let _Underlay = forwardRef(Underlay);
40
40
  export { _Underlay as Underlay };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
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.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -74,7 +74,7 @@ export function Notification(allProps) {
74
74
  Icon = InfoOutlined;
75
75
  break;
76
76
  }
77
- return (_jsxs(NotificationElement, { ...props, "data-theme": theme, children: [_jsx("div", { "data-element": "Icon", children: _jsx(Icon, {}, void 0) }, void 0), _jsx(Block, { children: children }, void 0), _jsx(CloseButton, { onPress: onClose, children: _jsx(CloseOutlined, {}, void 0) }, void 0)] }, void 0));
77
+ return (_jsxs(NotificationElement, { ...props, "data-theme": theme, children: [_jsx("div", { "data-element": "Icon", children: _jsx(Icon, {}) }), _jsx(Block, { children: children }), _jsx(CloseButton, { onPress: onClose, children: _jsx(CloseOutlined, {}) })] }));
78
78
  }
79
79
 
80
80
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -24,8 +24,8 @@ export function OverlayWrapper({ isOpen, placement, minOffset, minScale, childre
24
24
  if (minOffset != null) {
25
25
  options.minOffset = minOffset;
26
26
  }
27
- const contents = (_jsx(CSSTransition, { in: isOpen, unmountOnExit: true, timeout: 180, classNames: "cube-overlay-transition", children: children }, void 0));
28
- return _jsx(Portal, { root: containerRef, children: contents }, void 0);
27
+ const contents = (_jsx(CSSTransition, { in: isOpen, unmountOnExit: true, timeout: 180, classNames: "cube-overlay-transition", children: children }));
28
+ return _jsx(Portal, { root: containerRef, children: contents });
29
29
  }
30
30
 
31
31
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -93,7 +93,7 @@ function Tooltip(props, ref) {
93
93
  return (_jsxs(StyledTooltipElement, { ...tooltipProps, ...overlayProps, styles: styles, mods: {
94
94
  open: isOpen,
95
95
  material: isMaterial,
96
- }, "data-min-offset": minOffset, "data-min-slale": minScale, "data-placement": placement, ref: overlayRef, children: [props.children, _jsx(TooltipTipElement, { "data-placement": placement, styles: tipStyles, ...arrowProps }, void 0)] }, void 0));
96
+ }, "data-min-offset": minOffset, "data-min-slale": minScale, "data-placement": placement, ref: overlayRef, children: [props.children, _jsx(TooltipTipElement, { "data-placement": placement, styles: tipStyles, ...arrowProps })] }));
97
97
  }
98
98
  /**
99
99
  * Display container for Tooltip content. Has a directional arrow dependent on its placement.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -15,7 +15,7 @@ function TooltipProvider(props) {
15
15
  useEffect(() => {
16
16
  setRendered(true);
17
17
  });
18
- return rendered ? (_jsxs(TooltipTrigger, { ...otherProps, children: [children, _jsx(Tooltip, { styles: tooltipStyles, ...(width ? { width } : null), children: title }, void 0)] }, void 0)) : (_jsx(_Fragment, { children: "children" }, void 0));
18
+ return rendered ? (_jsxs(TooltipTrigger, { ...otherProps, children: [children, _jsx(Tooltip, { styles: tooltipStyles, ...(width ? { width } : null), children: title })] })) : (_jsx(_Fragment, { children: "children" }));
19
19
  }
20
20
  let _TooltipProvider = TooltipProvider;
21
21
  export { _TooltipProvider as TooltipProvider };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -40,13 +40,13 @@ function TooltipTrigger(props) {
40
40
  });
41
41
  if (!activeWrap && typeof trigger === 'string') {
42
42
  console.warn('CubeUIKit: Tooltips are only supported on elements that are both focusable and hoverable. To solve this issue you can: 1) Use active element as a trigger (`Button`, `Link`, etc); 2) Use `activeWrap` attribute to automatically wrap the content; 3) Use `ActiveZone` component to manually wrap the content.');
43
- return _jsx(Block, { children: trigger }, void 0);
43
+ return _jsx(Block, { children: trigger });
44
44
  }
45
45
  function onClick(e) {
46
46
  var _a;
47
47
  (_a = e === null || e === void 0 ? void 0 : e.currentTarget) === null || _a === void 0 ? void 0 : _a.parentNode.click();
48
48
  }
49
- return (_jsxs(FocusableProvider, { ...triggerProps, ref: tooltipTriggerRef, children: [activeWrap ? (_jsx(ActiveZone, { onClick: onClick, children: trigger }, void 0)) : (trigger), _jsx(TooltipContext.Provider, { value: {
49
+ return (_jsxs(FocusableProvider, { ...triggerProps, ref: tooltipTriggerRef, children: [activeWrap ? (_jsx(ActiveZone, { onClick: onClick, children: trigger })) : (trigger), _jsx(TooltipContext.Provider, { value: {
50
50
  state,
51
51
  placement,
52
52
  ref: overlayRef,
@@ -56,7 +56,7 @@ function TooltipTrigger(props) {
56
56
  minScale: '1',
57
57
  isMaterial,
58
58
  ...tooltipProps,
59
- }, children: _jsx(OverlayWrapper, { isOpen: state.isOpen, placement: props.placement || 'top', children: tooltip }, void 0) }, void 0)] }, void 0));
59
+ }, children: _jsx(OverlayWrapper, { isOpen: state.isOpen, placement: props.placement || 'top', children: tooltip }) })] }));
60
60
  }
61
61
  /**
62
62
  * TooltipTrigger wraps around a trigger element and a Tooltip. It handles opening and closing
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
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.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -28,7 +28,7 @@ import { Item } from '@react-stately/collections';
28
28
  import { DEFAULT_INPUT_STYLES } from '../../forms/TextInput/TextInputBase';
29
29
  import { useOverlayPosition } from '@react-aria/overlays';
30
30
  import { OverlayWrapper } from '../../overlays/OverlayWrapper';
31
- const CaretDownIcon = () => (_jsx("svg", { "aria-hidden": "true", width: "14", height: "14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M11.49 4.102H2.51c-.269 0-.42.284-.253.478l4.49 5.206a.342.342 0 00.506 0l4.49-5.206c.167-.194.016-.478-.253-.478z", fill: "currentColor" }, void 0) }, void 0));
31
+ const CaretDownIcon = () => (_jsx("svg", { "aria-hidden": "true", width: "14", height: "14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M11.49 4.102H2.51c-.269 0-.42.284-.253.478l4.49 5.206a.342.342 0 00.506 0l4.49-5.206c.167-.194.016-.478-.253-.478z", fill: "currentColor" }) }));
32
32
  const ComboBoxWrapperElement = tasty({
33
33
  styles: {
34
34
  position: 'relative',
@@ -118,7 +118,7 @@ function ComboBox(props, ref) {
118
118
  let { hoverProps: triggerHoverProps, isHovered: isTriggerHovered } = useHover({ isDisabled });
119
119
  let { focusProps: triggerFocusProps, isFocused: isTriggerFocused } = useFocus({ isDisabled }, true);
120
120
  let isInvalid = validationState === 'invalid';
121
- let validationIcon = isInvalid ? (_jsx(WarningOutlined, { style: { color: 'var(--danger-color)' } }, void 0)) : (_jsx(CheckOutlined, { style: { color: 'var(--success-color)' } }, void 0));
121
+ let validationIcon = isInvalid ? (_jsx(WarningOutlined, { style: { color: 'var(--danger-color)' } })) : (_jsx(CheckOutlined, { style: { color: 'var(--success-color)' } }));
122
122
  let validation = cloneElement(validationIcon);
123
123
  let comboBoxWidth = (_a = inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) === null || _a === void 0 ? void 0 : _a.offsetWidth;
124
124
  let comboBoxField = (_jsxs(ComboBoxWrapperElement, { ref: ref, qa: qa || 'ComboBox', ...modAttrs({
@@ -135,12 +135,12 @@ function ComboBox(props, ref) {
135
135
  disabled: isDisabled,
136
136
  hovered: isHovered,
137
137
  focused: isFocused,
138
- }), "data-size": size }, void 0), prefix ? (_jsx(Prefix, { onWidthChange: setPrefixWidth, padding: "0 1x 0 1.5x", opacity: isDisabled ? '@disabled-opacity' : false, placeItems: "center", outerGap: 0, children: prefix }, void 0)) : null, _jsxs(Suffix, { onWidthChange: setSuffixWidth, opacity: isDisabled ? '@disabled-opacity' : false, children: [validationState || isLoading ? (_jsxs(Space, { gap: false, padding: "0 1x", children: [validationState && !isLoading ? validation : null, isLoading && _jsx(LoadingOutlined, {}, void 0)] }, void 0)) : null, suffix, !hideTrigger ? (_jsx(TriggerElement, { ...mergeProps(buttonProps, triggerFocusProps, triggerHoverProps), ...modAttrs({
138
+ }), "data-size": size }), prefix ? (_jsx(Prefix, { onWidthChange: setPrefixWidth, padding: "0 1x 0 1.5x", opacity: isDisabled ? '@disabled-opacity' : false, placeItems: "center", outerGap: 0, children: prefix })) : null, _jsxs(Suffix, { onWidthChange: setSuffixWidth, opacity: isDisabled ? '@disabled-opacity' : false, children: [validationState || isLoading ? (_jsxs(Space, { gap: false, padding: "0 1x", children: [validationState && !isLoading ? validation : null, isLoading && _jsx(LoadingOutlined, {})] })) : null, suffix, !hideTrigger ? (_jsx(TriggerElement, { ...mergeProps(buttonProps, triggerFocusProps, triggerHoverProps), ...modAttrs({
139
139
  pressed: isTriggerPressed,
140
140
  focused: isTriggerFocused,
141
141
  hovered: isTriggerHovered,
142
142
  disabled: isDisabled,
143
- }), "data-size": size, isDisabled: isDisabled, ref: triggerRef, styles: triggerStyles, children: _jsx(CaretDownIcon, {}, void 0) }, void 0)) : null] }, void 0), _jsx(OverlayWrapper, { isOpen: state.isOpen && !isDisabled, children: _jsx(ListBoxPopup, { ...listBoxProps, listBoxRef: listBoxRef, popoverRef: popoverRef, overlayProps: overlayProps, shouldUseVirtualFocus: true, placement: placement, state: state, listBoxStyles: listBoxStyles, overlayStyles: overlayStyles, optionStyles: optionStyles, minWidth: comboBoxWidth }, void 0) }, void 0)] }, void 0));
143
+ }), "data-size": size, isDisabled: isDisabled, ref: triggerRef, styles: triggerStyles, children: _jsx(CaretDownIcon, {}) })) : null] }), _jsx(OverlayWrapper, { isOpen: state.isOpen && !isDisabled, children: _jsx(ListBoxPopup, { ...listBoxProps, listBoxRef: listBoxRef, popoverRef: popoverRef, overlayProps: overlayProps, shouldUseVirtualFocus: true, placement: placement, state: state, listBoxStyles: listBoxStyles, overlayStyles: overlayStyles, optionStyles: optionStyles, minWidth: comboBoxWidth }) })] }));
144
144
  return (_jsx(FieldWrapper, { ...{
145
145
  labelPosition,
146
146
  label,
@@ -157,7 +157,7 @@ function ComboBox(props, ref) {
157
157
  requiredMark,
158
158
  Component: comboBoxField,
159
159
  ref: ref,
160
- } }, void 0));
160
+ } }));
161
161
  }
162
162
  const _ComboBox = forwardRef(ComboBox);
163
163
  const __ComboBox = Object.assign(_ComboBox, { Item });
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-c9d953f
4
+ * @cube-dev/ui-kit v0.0.0-canary-da9a90b
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -36,7 +36,7 @@ function Menu(props, ref) {
36
36
  },
37
37
  };
38
38
  useSyncRef(contextProps, domRef);
39
- return (_jsxs(StyledMenu, { ...mergeProps(menuProps, completeProps, baseProps), ref: domRef, children: [header && _jsx(StyledMenuHeader, { children: header }, void 0), items.map((item) => {
39
+ return (_jsxs(StyledMenu, { ...mergeProps(menuProps, completeProps, baseProps), ref: domRef, children: [header && _jsx(StyledMenuHeader, { children: header }), items.map((item) => {
40
40
  if (item.type === 'section') {
41
41
  return (_jsx(MenuSection, { item: item, state: state, onAction: completeProps.onAction }, item.key));
42
42
  }
@@ -45,7 +45,7 @@ function Menu(props, ref) {
45
45
  menuItem = item.wrapper(menuItem);
46
46
  }
47
47
  return menuItem;
48
- })] }, void 0));
48
+ })] }));
49
49
  }
50
50
  // forwardRef doesn't support generic parameters, so cast the result to the correct type
51
51
  // https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref