@cube-dev/ui-kit 0.0.0-canary-67120ec → 0.0.0-canary-3443cc5

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 (416) hide show
  1. package/cjs/_internal/hooks/index.js +2 -6
  2. package/cjs/_internal/hooks/use-deprecation-warning.js +2 -6
  3. package/cjs/_internal/index.js +2 -6
  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 +3 -7
  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 +2 -6
  15. package/cjs/components/actions/ButtonGroup/ButtonGroup.js +2 -2
  16. package/cjs/components/actions/index.js +2 -6
  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 +2 -6
  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 +2 -6
  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 +2 -6
  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 +2 -6
  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 +2 -6
  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 +2 -6
  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 +6 -10
  107. package/cjs/components/pickers/Menu/context.js +2 -6
  108. package/cjs/components/pickers/Menu/styled.js +1 -1
  109. package/cjs/components/pickers/Select/Select.js +7 -7
  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 +2 -6
  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 +2 -6
  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 +2 -6
  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 +2 -6
  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 +2 -6
  134. package/cjs/styled/styled.js +5 -9
  135. package/cjs/tasty/index.js +2 -6
  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 +2 -6
  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 +5 -9
  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 +2 -6
  184. package/cjs/test/render.js +1 -1
  185. package/cjs/test/setup.js +1 -2
  186. package/cjs/test/utils/index.js +2 -6
  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 +2 -6
  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 +1 -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 +7 -7
  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 +1 -2
  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 +1 -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
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -92,10 +92,10 @@ function Result(props, ref) {
92
92
  const { color, component: Component } = status && statusIconMap.hasOwnProperty(status)
93
93
  ? statusIconMap[status]
94
94
  : statusIconMap.info;
95
- return ((0, jsx_runtime_1.jsx)(IconWrapper, { "data-element": "IconWrapper", styles: { color }, children: (0, jsx_runtime_1.jsx)(Component, { "data-element": "Icon" }) }));
95
+ return ((0, jsx_runtime_1.jsx)(IconWrapper, { "data-element": "IconWrapper", styles: { color }, children: (0, jsx_runtime_1.jsx)(Component, { "data-element": "Icon" }, void 0) }, void 0));
96
96
  }, [icon, status]);
97
97
  const styles = (0, tasty_1.extractStyles)(otherProps, tasty_1.CONTAINER_STYLES);
98
- return ((0, jsx_runtime_1.jsxs)(Container, { ...(0, tasty_1.filterBaseProps)(otherProps, { eventProps: true }), ref: ref, styles: styles, children: [iconNode, (title || subtitle) && ((0, jsx_runtime_1.jsxs)("div", { "data-element": "Title", children: [(0, react_2.wrapNodeIfPlain)(title, () => ((0, jsx_runtime_1.jsx)(Title_1.Title, { level: 2, preset: "h4", children: title }))), (0, react_2.wrapNodeIfPlain)(subtitle, () => ((0, jsx_runtime_1.jsx)(Title_1.Title, { level: 3, preset: "h5m", children: subtitle })))] })), children && (0, jsx_runtime_1.jsx)("div", { "data-element": "Content", children: children })] }));
98
+ return ((0, jsx_runtime_1.jsxs)(Container, { ...(0, tasty_1.filterBaseProps)(otherProps, { eventProps: true }), ref: ref, styles: styles, children: [iconNode, (title || subtitle) && ((0, jsx_runtime_1.jsxs)("div", { "data-element": "Title", children: [(0, react_2.wrapNodeIfPlain)(title, () => ((0, jsx_runtime_1.jsx)(Title_1.Title, { level: 2, preset: "h4", children: title }, void 0))), (0, react_2.wrapNodeIfPlain)(subtitle, () => ((0, jsx_runtime_1.jsx)(Title_1.Title, { level: 3, preset: "h5m", children: subtitle }, void 0)))] }, void 0)), children && (0, jsx_runtime_1.jsx)("div", { "data-element": "Content", children: children }, void 0)] }, void 0));
99
99
  }
100
100
  const _Result = (0, react_1.forwardRef)(Result);
101
101
  exports.Result = _Result;
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -15,37 +15,37 @@ const Space_1 = require("../../layout/Space");
15
15
  const Grid_1 = require("../../layout/Grid");
16
16
  const LAYOUT_MAP = {
17
17
  page({ lines, children, ...props }) {
18
- return ((0, jsx_runtime_1.jsxs)(Flow_1.Flow, { gap: "4x", ...props, children: [(0, jsx_runtime_1.jsxs)(Space_1.Space, { placeContent: "space-between", children: [(0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { width: "100px 25% 300px" }), (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { width: "50px 10% 150px" })] }), (0, jsx_runtime_1.jsx)(Flow_1.Flow, { gap: "2x", children: children ||
18
+ return ((0, jsx_runtime_1.jsxs)(Flow_1.Flow, { gap: "4x", ...props, children: [(0, jsx_runtime_1.jsxs)(Space_1.Space, { placeContent: "space-between", children: [(0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { width: "100px 25% 300px" }, void 0), (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { width: "50px 10% 150px" }, void 0)] }, void 0), (0, jsx_runtime_1.jsx)(Flow_1.Flow, { gap: "2x", children: children ||
19
19
  Array(lines || 5)
20
20
  .fill(0)
21
- .map((item, i) => (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, {}, i)) })] }));
21
+ .map((item, i) => (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, {}, i)) }, void 0)] }, void 0));
22
22
  },
23
23
  content({ children, lines, ...props }) {
24
24
  return ((0, jsx_runtime_1.jsx)(Flow_1.Flow, { gap: "2x", ...props, children: children ||
25
25
  Array(lines || 5)
26
26
  .fill(0)
27
- .map((item, i) => (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, {}, i)) }));
27
+ .map((item, i) => (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, {}, i)) }, void 0));
28
28
  },
29
29
  topbar(props) {
30
- return ((0, jsx_runtime_1.jsxs)(Space_1.Space, { gap: "4x", placeContent: "space-between", height: "6x", padding: "1x", border: "bottom", ...props, children: [(0, jsx_runtime_1.jsxs)(Space_1.Space, { children: [(0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { circle: true, size: "4x" }), (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { width: "20x" })] }), (0, jsx_runtime_1.jsxs)(Space_1.Space, { children: [(0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { width: "10x" }), (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { circle: true, size: "4x" })] })] }));
30
+ return ((0, jsx_runtime_1.jsxs)(Space_1.Space, { gap: "4x", placeContent: "space-between", height: "6x", padding: "1x", border: "bottom", ...props, children: [(0, jsx_runtime_1.jsxs)(Space_1.Space, { children: [(0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { circle: true, size: "4x" }, void 0), (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { width: "20x" }, void 0)] }, void 0), (0, jsx_runtime_1.jsxs)(Space_1.Space, { children: [(0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { width: "10x" }, void 0), (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { circle: true, size: "4x" }, void 0)] }, void 0)] }, void 0));
31
31
  },
32
32
  menu({ lines, ...props }) {
33
33
  return ((0, jsx_runtime_1.jsx)(Flow_1.Flow, { gap: "3.25x", ...props, padding: "3x 1x", children: Array(lines || 5)
34
34
  .fill(0)
35
- .map((item, i) => ((0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, {}, i))) }));
35
+ .map((item, i) => ((0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, {}, i))) }, void 0));
36
36
  },
37
37
  stats({ cards, ...props }) {
38
38
  return ((0, jsx_runtime_1.jsx)(Space_1.Space, { gap: "4x", ...props, children: Array(cards || 3)
39
39
  .fill(0)
40
- .map((item, i) => ((0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { radius: "1x", width: "20x", height: "12x", flexGrow: 1 }, i))) }));
40
+ .map((item, i) => ((0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { radius: "1x", width: "20x", height: "12x", flexGrow: 1 }, i))) }, void 0));
41
41
  },
42
42
  tabs({ tabs, children, lines, ...props }) {
43
43
  return ((0, jsx_runtime_1.jsxs)(Flow_1.Flow, { gap: "4x", ...props, children: [(0, jsx_runtime_1.jsx)(Space_1.Space, { children: Array(tabs || 3)
44
44
  .fill(0)
45
- .map((item, i) => ((0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { width: "15x" }, i))) }), (0, jsx_runtime_1.jsx)(Flow_1.Flow, { gap: "2x", children: children ||
45
+ .map((item, i) => ((0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { width: "15x" }, i))) }, void 0), (0, jsx_runtime_1.jsx)(Flow_1.Flow, { gap: "2x", children: children ||
46
46
  Array(lines || 5)
47
47
  .fill(0)
48
- .map((item, i) => (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, {}, i)) })] }));
48
+ .map((item, i) => (0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, {}, i)) }, void 0)] }, void 0));
49
49
  },
50
50
  table({ rows, columns, ...props }) {
51
51
  columns = columns || 5;
@@ -58,7 +58,7 @@ const LAYOUT_MAP = {
58
58
  .map((item, j) => {
59
59
  return ((0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { size: !i ? '3x' : '2x' }, `${i}.${j}`));
60
60
  });
61
- }) }));
61
+ }) }, void 0));
62
62
  },
63
63
  chart({ columns, ...props }) {
64
64
  columns = columns || 12;
@@ -67,12 +67,12 @@ const LAYOUT_MAP = {
67
67
  .fill(0)
68
68
  .map((item, i) => {
69
69
  return ((0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { height: `${heightMap[i % 12] * 10}%`, width: "max 6x" }, i));
70
- }) }));
70
+ }) }, void 0));
71
71
  },
72
72
  };
73
73
  function Skeleton({ layout, ...props }) {
74
74
  layout = layout || 'page';
75
- return LAYOUT_MAP[layout] ? (LAYOUT_MAP[layout]({ ...props, qa: 'Skeleton' })) : ((0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { ...props }));
75
+ return LAYOUT_MAP[layout] ? (LAYOUT_MAP[layout]({ ...props, qa: 'Skeleton' })) : ((0, jsx_runtime_1.jsx)(Placeholder_1.Placeholder, { ...props }, void 0));
76
76
  }
77
77
  exports.Skeleton = Skeleton;
78
78
 
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -84,9 +84,9 @@ const CloseAction = (0, tasty_1.tasty)(Action_1.Action, {
84
84
  const Tag = (allProps, ref) => {
85
85
  let { type, isClosable, onClose, closeButtonStyles, children, ...props } = allProps;
86
86
  const styles = (0, tasty_1.extractStyles)(props, tasty_1.CONTAINER_STYLES);
87
- return ((0, jsx_runtime_1.jsxs)(TagElement, { ...(0, tasty_1.filterBaseProps)(props, { eventProps: true }), styles: styles, "data-type": type, mods: { closable: isClosable }, ref: ref, children: [(0, jsx_runtime_1.jsx)("div", { "data-element": "Content", children: children }), isClosable ? ((0, jsx_runtime_1.jsx)(Suffix_1.Suffix, { outerGap: "0", children: (0, jsx_runtime_1.jsx)(CloseAction, { styles: closeButtonStyles, onPress: onClose, children: (0, jsx_runtime_1.jsx)(icons_1.CloseOutlined, { style: {
87
+ return ((0, jsx_runtime_1.jsxs)(TagElement, { ...(0, tasty_1.filterBaseProps)(props, { eventProps: true }), styles: styles, "data-type": type, mods: { closable: isClosable }, ref: ref, children: [(0, jsx_runtime_1.jsx)("div", { "data-element": "Content", children: children }, void 0), isClosable ? ((0, jsx_runtime_1.jsx)(Suffix_1.Suffix, { outerGap: "0", children: (0, jsx_runtime_1.jsx)(CloseAction, { styles: closeButtonStyles, onPress: onClose, children: (0, jsx_runtime_1.jsx)(icons_1.CloseOutlined, { style: {
88
88
  fontSize: 'calc(var(--font-size) - (var(--border-width) * 2))',
89
- } }) }) })) : undefined] }));
89
+ } }, void 0) }, void 0) }, void 0)) : undefined] }, void 0));
90
90
  };
91
91
  const _Tag = (0, react_1.forwardRef)(Tag);
92
92
  exports.Tag = _Tag;
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -52,26 +52,26 @@ const _Text = (0, react_1.forwardRef)(function Text(allProps, ref) {
52
52
  return ((0, jsx_runtime_1.jsx)(TextElement, { as: as || 'span', qa: qa || 'Text', styleName: styleName, mods: {
53
53
  nowrap,
54
54
  ellipsis,
55
- }, block: !!(block || ellipsis), ...(0, tasty_1.filterBaseProps)(props, { eventProps: true }), styles: styles, ref: ref }));
55
+ }, block: !!(block || ellipsis), ...(0, tasty_1.filterBaseProps)(props, { eventProps: true }), styles: styles, ref: ref }, void 0));
56
56
  });
57
57
  const Text = Object.assign(_Text, {
58
58
  Minor: (0, react_1.forwardRef)(function MinorText(props, ref) {
59
- return (0, jsx_runtime_1.jsx)(_Text, { ref: ref, color: "#minor", ...props });
59
+ return (0, jsx_runtime_1.jsx)(_Text, { ref: ref, color: "#minor", ...props }, void 0);
60
60
  }),
61
61
  Danger: (0, react_1.forwardRef)(function DangerText(props, ref) {
62
- return (0, jsx_runtime_1.jsx)(_Text, { role: "alert", ref: ref, color: "#danger-text", ...props });
62
+ return (0, jsx_runtime_1.jsx)(_Text, { role: "alert", ref: ref, color: "#danger-text", ...props }, void 0);
63
63
  }),
64
64
  Success: (0, react_1.forwardRef)(function SuccessText(props, ref) {
65
- return (0, jsx_runtime_1.jsx)(_Text, { ref: ref, color: "#success-text", ...props });
65
+ return (0, jsx_runtime_1.jsx)(_Text, { ref: ref, color: "#success-text", ...props }, void 0);
66
66
  }),
67
67
  Strong: (0, react_1.forwardRef)(function StrongText(props, ref) {
68
- return ((0, jsx_runtime_1.jsx)(_Text, { as: "strong", preset: "strong", ref: ref, color: "#dark", ...props }));
68
+ return ((0, jsx_runtime_1.jsx)(_Text, { as: "strong", preset: "strong", ref: ref, color: "#dark", ...props }, void 0));
69
69
  }),
70
70
  Emphasis: (0, react_1.forwardRef)(function EmphasisText(props, ref) {
71
- return (0, jsx_runtime_1.jsx)(_Text, { as: "em", preset: "em", ref: ref, ...props });
71
+ return (0, jsx_runtime_1.jsx)(_Text, { as: "em", preset: "em", ref: ref, ...props }, void 0);
72
72
  }),
73
73
  Selection: (0, react_1.forwardRef)(function SelectionText(props, ref) {
74
- return (0, jsx_runtime_1.jsx)(_Text, { ref: ref, color: "#dark", fill: "#note.30", ...props });
74
+ return (0, jsx_runtime_1.jsx)(_Text, { ref: ref, color: "#dark", fill: "#note.30", ...props }, void 0);
75
75
  }),
76
76
  });
77
77
  exports.Text = Text;
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -47,14 +47,14 @@ const _Title = (0, react_1.forwardRef)(({ qa, as, styleName, inline, nowrap, ell
47
47
  return ((0, jsx_runtime_1.jsx)(TitleElement, { qa: qa || 'Title', as: as || tag, styleName: styleName, "data-level": level || 1, mods: {
48
48
  nowrap,
49
49
  ellipsis,
50
- }, inline: inline, ...(0, tasty_1.filterBaseProps)(props, { eventProps: true }), styles: styles, ref: ref }));
50
+ }, inline: inline, ...(0, tasty_1.filterBaseProps)(props, { eventProps: true }), styles: styles, ref: ref }, void 0));
51
51
  });
52
52
  const Title = Object.assign(_Title, {
53
53
  Danger: (0, react_1.forwardRef)(function DangerTitle(props, ref) {
54
- return (0, jsx_runtime_1.jsx)(Title, { ref: ref, color: "#danger-text", ...props });
54
+ return (0, jsx_runtime_1.jsx)(Title, { ref: ref, color: "#danger-text", ...props }, void 0);
55
55
  }),
56
56
  Success: (0, react_1.forwardRef)(function SuccessTitle(props, ref) {
57
- return (0, jsx_runtime_1.jsx)(Title, { ref: ref, color: "#success-text", ...props });
57
+ return (0, jsx_runtime_1.jsx)(Title, { ref: ref, color: "#success-text", ...props }, void 0);
58
58
  }),
59
59
  });
60
60
  exports.Title = Title;
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -25,8 +25,8 @@ const FieldWrapper_1 = require("../FieldWrapper");
25
25
  const CheckboxGroup_1 = require("./CheckboxGroup");
26
26
  const context_1 = require("./context");
27
27
  const nullableValue_1 = require("../../../utils/react/nullableValue");
28
- const CheckOutlined = () => ((0, jsx_runtime_1.jsx)("svg", { width: "10", height: "8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M3.417 7.604l-.017.018-3.4-3.4 1.433-1.433 1.985 1.985L8.192 0l1.432 1.433-6.189 6.189-.018-.018z", fill: "currentColor" }) }));
29
- const IndeterminateOutline = () => ((0, jsx_runtime_1.jsx)("svg", { width: "9", height: "3", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M0 .044v2.001l.026.025h8.063V.044H0z", fill: "#fff" }) }));
28
+ const CheckOutlined = () => ((0, jsx_runtime_1.jsx)("svg", { width: "10", height: "8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M3.417 7.604l-.017.018-3.4-3.4 1.433-1.433 1.985 1.985L8.192 0l1.432 1.433-6.189 6.189-.018-.018z", fill: "currentColor" }, void 0) }, void 0));
29
+ const IndeterminateOutline = () => ((0, jsx_runtime_1.jsx)("svg", { width: "9", height: "3", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M0 .044v2.001l.026.025h8.063V.044H0z", fill: "#fff" }, void 0) }, void 0));
30
30
  const CheckboxWrapperElement = (0, tasty_1.tasty)({
31
31
  as: 'label',
32
32
  qa: 'CheckboxWrapper',
@@ -110,7 +110,7 @@ function Checkbox(props, ref) {
110
110
  validationState: originalProps.validationState,
111
111
  }, groupState, inputRef) // eslint-disable-next-line react-hooks/rules-of-hooks
112
112
  : (0, checkbox_1.useCheckbox)(props, (0, toggle_1.useToggleState)(props), inputRef);
113
- let markIcon = isIndeterminate ? (0, jsx_runtime_1.jsx)(IndeterminateOutline, {}) : (0, jsx_runtime_1.jsx)(CheckOutlined, {});
113
+ let markIcon = isIndeterminate ? (0, jsx_runtime_1.jsx)(IndeterminateOutline, {}, void 0) : (0, jsx_runtime_1.jsx)(CheckOutlined, {}, void 0);
114
114
  if (groupState) {
115
115
  for (let key of ['isSelected', 'defaultSelected', 'isEmphasized']) {
116
116
  if (originalProps[key] != null) {
@@ -130,7 +130,7 @@ function Checkbox(props, ref) {
130
130
  hovered: isHovered,
131
131
  focused: isFocused,
132
132
  };
133
- const checkboxField = ((0, jsx_runtime_1.jsxs)(CheckboxWrapperElement, { isHidden: isHidden, mods: mods, styles: { position: 'relative' }, children: [(0, jsx_runtime_1.jsx)(HiddenInput_1.HiddenInput, { "data-qa": qa || 'Checkbox', ...(0, react_2.mergeProps)(inputProps, focusProps), ref: inputRef }), (0, jsx_runtime_1.jsx)(CheckboxElement, { qa: "Checkbox", mods: mods, styles: inputStyles, children: markIcon })] }));
133
+ const checkboxField = ((0, jsx_runtime_1.jsxs)(CheckboxWrapperElement, { isHidden: isHidden, mods: mods, styles: { position: 'relative' }, children: [(0, jsx_runtime_1.jsx)(HiddenInput_1.HiddenInput, { "data-qa": qa || 'Checkbox', ...(0, react_2.mergeProps)(inputProps, focusProps), ref: inputRef }, void 0), (0, jsx_runtime_1.jsx)(CheckboxElement, { qa: "Checkbox", mods: mods, styles: inputStyles, children: markIcon }, void 0)] }, void 0));
134
134
  if (insideForm && !groupState) {
135
135
  return ((0, jsx_runtime_1.jsx)(FieldWrapper_1.FieldWrapper, { ...{
136
136
  as: 'label',
@@ -152,13 +152,13 @@ function Checkbox(props, ref) {
152
152
  tooltip,
153
153
  Component: checkboxField,
154
154
  ref: domRef,
155
- } }));
155
+ } }, void 0));
156
156
  }
157
157
  return ((0, jsx_runtime_1.jsxs)(CheckboxWrapperElement, { as: "label", styles: styles, isHidden: isHidden, ...hoverProps, ...(0, tasty_1.filterBaseProps)(otherProps), ref: domRef, children: [checkboxField, label && ((0, jsx_runtime_1.jsx)(tasty_1.Element, { styles: labelStyles, mods: {
158
158
  invalid: validationState === 'invalid',
159
159
  valid: validationState === 'valid',
160
160
  disabled: isDisabled,
161
- }, ...(0, tasty_1.filterBaseProps)(labelProps), children: label }))] }));
161
+ }, ...(0, tasty_1.filterBaseProps)(labelProps), children: label }, void 0))] }, void 0));
162
162
  }
163
163
  /**
164
164
  * Checkboxes allow users to select multiple items from a list of individual items,
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -63,7 +63,7 @@ function CheckboxGroup(props, ref) {
63
63
  }, children: (0, jsx_runtime_1.jsx)(Form_1.FormContext.Provider, { value: {
64
64
  isDisabled,
65
65
  validationState,
66
- }, children: (0, jsx_runtime_1.jsx)(context_1.CheckboxGroupContext.Provider, { value: state, children: children }) }) }));
66
+ }, children: (0, jsx_runtime_1.jsx)(context_1.CheckboxGroupContext.Provider, { value: state, children: children }, void 0) }, void 0) }, void 0));
67
67
  return ((0, jsx_runtime_1.jsx)(FieldWrapper_1.FieldWrapper, { ...{
68
68
  labelPosition,
69
69
  label,
@@ -83,7 +83,7 @@ function CheckboxGroup(props, ref) {
83
83
  tooltip,
84
84
  Component: radioGroup,
85
85
  ref: domRef,
86
- } }));
86
+ } }, void 0));
87
87
  }
88
88
  /**
89
89
  * Checkbox groups allow users to select a single option from a list of mutually exclusive options.
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -65,15 +65,15 @@ const MessageElement = (0, tasty_1.tasty)({
65
65
  });
66
66
  function FieldWrapper(props, ref) {
67
67
  const { as, labelPosition, label, extra, styles, isRequired, isDisabled, labelStyles, necessityIndicator, labelProps, fieldProps, message, messageStyles, description, Component, validationState, requiredMark = true, tooltip, isHidden, } = props;
68
- const labelComponent = label ? ((0, jsx_runtime_1.jsxs)(Label_1.Label, { as: as === 'label' ? 'div' : 'label', styles: labelStyles, labelPosition: labelPosition, isRequired: requiredMark ? isRequired : false, isDisabled: isDisabled, necessityIndicator: necessityIndicator, validationState: validationState, "aria-label": label, ...labelProps, children: [extra ? ((0, jsx_runtime_1.jsxs)(Grid_1.Grid, { placeContent: "baseline space-between", flow: "column", children: [(0, jsx_runtime_1.jsx)("div", { children: label }), (0, jsx_runtime_1.jsx)(Text_1.Text, { preset: "t3", children: extra })] })) : (label), tooltip ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["\u00A0", (0, jsx_runtime_1.jsx)(TooltipProvider_1.TooltipProvider, { title: tooltip, activeWrap: true, width: "initial max-content 40x", children: (0, jsx_runtime_1.jsx)(icons_1.InfoCircleOutlined, { style: { color: 'var(--primary-color)' } }) })] })) : null] })) : null;
69
- let descriptionComponent = description ? ((0, jsx_runtime_1.jsx)("div", { "data-element": "Description", children: (0, react_2.wrapNodeIfPlain)(description, () => ((0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: description }))) })) : null;
68
+ const labelComponent = label ? ((0, jsx_runtime_1.jsxs)(Label_1.Label, { as: as === 'label' ? 'div' : 'label', styles: labelStyles, labelPosition: labelPosition, isRequired: requiredMark ? isRequired : false, isDisabled: isDisabled, necessityIndicator: necessityIndicator, validationState: validationState, "aria-label": label, ...labelProps, children: [extra ? ((0, jsx_runtime_1.jsxs)(Grid_1.Grid, { placeContent: "baseline space-between", flow: "column", children: [(0, jsx_runtime_1.jsx)("div", { children: label }, void 0), (0, jsx_runtime_1.jsx)(Text_1.Text, { preset: "t3", children: extra }, void 0)] }, void 0)) : (label), tooltip ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["\u00A0", (0, jsx_runtime_1.jsx)(TooltipProvider_1.TooltipProvider, { title: tooltip, activeWrap: true, width: "initial max-content 40x", children: (0, jsx_runtime_1.jsx)(icons_1.InfoCircleOutlined, { style: { color: 'var(--primary-color)' } }, void 0) }, void 0)] }, void 0)) : null] }, void 0)) : null;
69
+ let descriptionComponent = description ? ((0, jsx_runtime_1.jsx)("div", { "data-element": "Description", children: (0, react_2.wrapNodeIfPlain)(description, () => ((0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: description }, void 0))) }, void 0)) : null;
70
70
  const mods = {
71
71
  'has-sider': labelPosition === 'side',
72
72
  'has-description': !!description,
73
73
  invalid: validationState === 'invalid',
74
74
  valid: validationState === 'valid',
75
75
  };
76
- return ((0, jsx_runtime_1.jsxs)(FieldElement, { as: as || 'div', ref: ref, mods: mods, isHidden: isHidden, styles: styles, ...fieldProps, children: [labelComponent || descriptionComponent ? ((0, jsx_runtime_1.jsxs)("div", { "data-element": "LabelArea", children: [labelComponent, descriptionComponent] })) : null, (0, jsx_runtime_1.jsxs)("div", { "data-element": "InputArea", children: [Component, message && !isDisabled && ((0, jsx_runtime_1.jsx)(MessageElement, { mods: mods, styles: messageStyles, role: validationState === 'invalid' ? 'alert' : undefined, children: message }))] })] }));
76
+ return ((0, jsx_runtime_1.jsxs)(FieldElement, { as: as || 'div', ref: ref, mods: mods, isHidden: isHidden, styles: styles, ...fieldProps, children: [labelComponent || descriptionComponent ? ((0, jsx_runtime_1.jsxs)("div", { "data-element": "LabelArea", children: [labelComponent, descriptionComponent] }, void 0)) : null, (0, jsx_runtime_1.jsxs)("div", { "data-element": "InputArea", children: [Component, message && !isDisabled && ((0, jsx_runtime_1.jsx)(MessageElement, { mods: mods, styles: messageStyles, role: validationState === 'invalid' ? 'alert' : undefined, children: message }, void 0))] }, void 0)] }, void 0));
77
77
  }
78
78
  /**
79
79
  * A wrapper for form fields to provide additional decoration for inputs.
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -116,7 +116,7 @@ function FileInput(props, ref) {
116
116
  setDragHover(false);
117
117
  }, onDrop: () => {
118
118
  setDragHover(false);
119
- } }), (0, jsx_runtime_1.jsx)("div", { "data-element": "Button", children: "Choose file" }), (0, jsx_runtime_1.jsx)("div", { "data-element": !!value ? 'Value' : 'Placeholder', children: value || placeholder || 'No file selected' })] }));
119
+ } }, void 0), (0, jsx_runtime_1.jsx)("div", { "data-element": "Button", children: "Choose file" }, void 0), (0, jsx_runtime_1.jsx)("div", { "data-element": !!value ? 'Value' : 'Placeholder', children: value || placeholder || 'No file selected' }, void 0)] }, void 0));
120
120
  return ((0, jsx_runtime_1.jsx)(FieldWrapper_1.FieldWrapper, { ...{
121
121
  labelPosition,
122
122
  label,
@@ -136,7 +136,7 @@ function FileInput(props, ref) {
136
136
  isHidden,
137
137
  Component: fileInput,
138
138
  ref: domRef,
139
- } }));
139
+ } }, void 0));
140
140
  }
141
141
  /**
142
142
  * FileInputs are file inputs that allow users to select local files to
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -133,7 +133,7 @@ function Field(allProps) {
133
133
  return null;
134
134
  let child = react_1.Children.only(children);
135
135
  if (nonInput) {
136
- return ((0, jsx_runtime_1.jsx)(FieldWrapper_1.FieldWrapper, { isHidden: isHidden, validationState: validationState, necessityIndicator: necessityIndicator, necessityLabel: necessityLabel, isRequired: isRequired, label: label, extra: extra, tooltip: tooltip, message: message, description: description, Component: child }));
136
+ return ((0, jsx_runtime_1.jsx)(FieldWrapper_1.FieldWrapper, { isHidden: isHidden, validationState: validationState, necessityIndicator: necessityIndicator, necessityLabel: necessityLabel, isRequired: isRequired, label: label, extra: extra, tooltip: tooltip, message: message, description: description, Component: child }, void 0));
137
137
  }
138
138
  if (!fieldName) {
139
139
  console.error('invalid form name:', fieldName);
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -114,7 +114,7 @@ function Form(props, ref) {
114
114
  }, [defaultValues]);
115
115
  return ((0, jsx_runtime_1.jsx)(FormElement, { ...(0, tasty_1.filterBaseProps)(otherProps, { propNames: formPropNames }), onSubmit: onSubmitCallback, noValidate: true, styles: styles, ref: domRef, mods: {
116
116
  'has-sider': labelPosition === 'side',
117
- }, children: (0, jsx_runtime_1.jsx)(exports.FormContext.Provider, { value: ctx, children: (0, jsx_runtime_1.jsx)(provider_1.Provider, { insideForm: true, isDisabled: isDisabled, isReadOnly: isReadOnly, isRequired: isRequired, validationState: validationState, children: children }) }) }));
117
+ }, children: (0, jsx_runtime_1.jsx)(exports.FormContext.Provider, { value: ctx, children: (0, jsx_runtime_1.jsx)(provider_1.Provider, { insideForm: true, isDisabled: isDisabled, isReadOnly: isReadOnly, isRequired: isRequired, validationState: validationState, children: children }, void 0) }, void 0) }, void 0));
118
118
  }
119
119
  /**
120
120
  * Forms allow users to enter data that can be submitted while providing alignment and styling for form fields.
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -16,7 +16,7 @@ const NumberInput_1 = require("../NumberInput/NumberInput");
16
16
  const FileInput_1 = require("../FileInput/FileInput");
17
17
  const TextArea_1 = require("../TextArea/TextArea");
18
18
  exports.Input = Object.assign((0, react_1.forwardRef)(function Input(props, ref) {
19
- return (0, jsx_runtime_1.jsx)(TextInput_1.TextInput, { ref: ref, ...props });
19
+ return (0, jsx_runtime_1.jsx)(TextInput_1.TextInput, { ref: ref, ...props }, void 0);
20
20
  }), {
21
21
  Text: TextInput_1.TextInput,
22
22
  Password: PasswordInput_1.PasswordInput,
@@ -1,18 +1,14 @@
1
1
  /**
2
2
  * @license MIT
3
3
  * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.0.0-canary-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
8
8
  "use strict";
9
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
10
  if (k2 === undefined) k2 = k;
11
- var desc = Object.getOwnPropertyDescriptor(m, k);
12
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
13
- desc = { enumerable: true, get: function() { return m[k]; } };
14
- }
15
- Object.defineProperty(o, k2, desc);
11
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
12
  }) : (function(o, m, k, k2) {
17
13
  if (k2 === undefined) k2 = k;
18
14
  o[k2] = m[k];
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -19,7 +19,7 @@ const REQUIRED_ICON = ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org
19
19
  width: '.8em',
20
20
  height: '.8em',
21
21
  transform: 'rotate(-5deg)',
22
- }, children: (0, jsx_runtime_1.jsx)("switch", { children: (0, jsx_runtime_1.jsx)("g", { children: (0, jsx_runtime_1.jsx)("polygon", { fill: "currentColor", points: "97.5,47.5 90.5,26.1 61.3,35.6 61.3,4.8 38.7,4.8 38.7,35.6 9.5,26.1 2.5,47.5 31.8,57 13.7,82 31.9,95.2 50,70.3 68.1,95.2 86.3,82 68.2,57" }) }) }) }));
22
+ }, children: (0, jsx_runtime_1.jsx)("switch", { children: (0, jsx_runtime_1.jsx)("g", { children: (0, jsx_runtime_1.jsx)("polygon", { fill: "currentColor", points: "97.5,47.5 90.5,26.1 61.3,35.6 61.3,4.8 38.7,4.8 38.7,35.6 9.5,26.1 2.5,47.5 31.8,57 13.7,82 31.9,95.2 50,70.3 68.1,95.2 86.3,82 68.2,57" }, void 0) }, void 0) }, void 0) }, void 0));
23
23
  const INTL_MESSAGES = {
24
24
  '(required)': '(required)',
25
25
  '(optional)': '(optional)',
@@ -69,7 +69,7 @@ function Label(props, ref) {
69
69
  : formatMessage('(optional)');
70
70
  let icon = ((0, jsx_runtime_1.jsx)("span", { "aria-label": includeNecessityIndicatorInAccessibilityName
71
71
  ? formatMessage('(required)')
72
- : undefined, children: REQUIRED_ICON }));
72
+ : undefined, children: REQUIRED_ICON }, void 0));
73
73
  return ((0, jsx_runtime_1.jsx)(LabelElement, { ...(0, tasty_1.filterBaseProps)(otherProps), onClick: onClick, ref: domRef, styles: styles, htmlFor: labelFor || htmlFor, mods: {
74
74
  side: labelPosition === 'side',
75
75
  disabled: isDisabled,
@@ -79,7 +79,7 @@ function Label(props, ref) {
79
79
  (necessityIndicator === 'icon' && isRequired)) &&
80
80
  ' \u200b', necessityIndicator === 'label' && ((0, jsx_runtime_1.jsx)("span", { "aria-hidden": !includeNecessityIndicatorInAccessibilityName
81
81
  ? isRequired
82
- : undefined, children: necessityLabel })), necessityIndicator === 'icon' && isRequired && icon] })) }));
82
+ : undefined, children: necessityLabel }, void 0)), necessityIndicator === 'icon' && isRequired && icon] }, void 0)) }, void 0));
83
83
  }
84
84
  let _Label = (0, react_1.forwardRef)(Label);
85
85
  exports.Label = _Label;
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -38,7 +38,7 @@ function NumberInput(props, ref) {
38
38
  let state = (0, numberfield_1.useNumberFieldState)({ ...props, locale });
39
39
  let inputRef = (0, react_1.useRef)(null);
40
40
  let { groupProps, labelProps, inputProps, incrementButtonProps, decrementButtonProps, } = (0, numberfield_2.useNumberField)(props, state, inputRef);
41
- return ((0, jsx_runtime_1.jsx)(TextInputBase_1.TextInputBase, { ...otherProps, labelProps: labelProps, inputProps: inputProps, ref: ref, inputRef: inputRef, wrapperProps: groupProps, suffixPosition: "after", suffix: showStepper ? ((0, jsx_runtime_1.jsxs)(StepperContainer, { children: [(0, jsx_runtime_1.jsx)(StepButton_1.StepButton, { direction: "up", ...incrementButtonProps }), (0, jsx_runtime_1.jsx)(StepButton_1.StepButton, { direction: "down", ...decrementButtonProps })] })) : null }));
41
+ return ((0, jsx_runtime_1.jsx)(TextInputBase_1.TextInputBase, { ...otherProps, labelProps: labelProps, inputProps: inputProps, ref: ref, inputRef: inputRef, wrapperProps: groupProps, suffixPosition: "after", suffix: showStepper ? ((0, jsx_runtime_1.jsxs)(StepperContainer, { children: [(0, jsx_runtime_1.jsx)(StepButton_1.StepButton, { direction: "up", ...incrementButtonProps }, void 0), (0, jsx_runtime_1.jsx)(StepButton_1.StepButton, { direction: "down", ...decrementButtonProps }, void 0)] }, void 0)) : null }, void 0));
42
42
  }
43
43
  /**
44
44
  * NumberFields allow users to enter a number, and increment or decrement the value using stepper buttons.
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -25,10 +25,10 @@ const STEP_BUTTON_STYLES = {
25
25
  * Buttons for NumberField.
26
26
  */
27
27
  function StepButton(props) {
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, {}) : (0, jsx_runtime_1.jsx)(icons_1.CaretDownOutlined, {}), 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
- }, label: `Step ${props.direction}`, ...props }));
31
+ }, label: `Step ${props.direction}`, ...props }, void 0));
32
32
  }
33
33
  exports.StepButton = StepButton;
34
34
 
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -28,8 +28,8 @@ 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)(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, {}) : (0, jsx_runtime_1.jsx)(icons_1.EyeOutlined, {}) })] }));
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 }));
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
+ 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
  /**
35
35
  * PasswordInputs are password inputs that allow users to input passwords or code entries
@@ -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-67120ec
4
+ * @cube-dev/ui-kit v0.0.0-canary-3443cc5
5
5
  * Released under the MIT license.
6
6
  */
7
7
 
@@ -107,7 +107,7 @@ const RadioNormalElement = (0, tasty_1.tasty)({
107
107
  },
108
108
  },
109
109
  });
110
- const RadioCircleElement = (0, jsx_runtime_1.jsx)("div", { "data-element": "RadioCircle" });
110
+ const RadioCircleElement = (0, jsx_runtime_1.jsx)("div", { "data-element": "RadioCircle" }, void 0);
111
111
  const RadioLabelElement = (0, tasty_1.tasty)({
112
112
  qa: 'RadioLabel',
113
113
  styles: {
@@ -145,22 +145,22 @@ function Radio(props, ref) {
145
145
  invalid: validationState === 'invalid',
146
146
  hovered: isHovered,
147
147
  button: isButton,
148
- }, children: [(0, jsx_runtime_1.jsx)(HiddenInput_1.HiddenInput, { "data-qa": qa || 'Radio', "aria-label": ariaLabel, ...(0, react_2.mergeProps)(inputProps, focusProps), isButton: isButton, ref: inputRef }), (0, jsx_runtime_1.jsx)(RadioElement, { mods: {
148
+ }, children: [(0, jsx_runtime_1.jsx)(HiddenInput_1.HiddenInput, { "data-qa": qa || 'Radio', "aria-label": ariaLabel, ...(0, react_2.mergeProps)(inputProps, focusProps), isButton: isButton, ref: inputRef }, void 0), (0, jsx_runtime_1.jsx)(RadioElement, { mods: {
149
149
  checked: inputProps.checked,
150
150
  invalid: validationState === 'invalid',
151
151
  valid: validationState === 'valid',
152
152
  disabled: isDisabled,
153
153
  hovered: isHovered,
154
154
  focused: isFocused,
155
- }, styles: inputStyles, children: !isButton ? RadioCircleElement : children }), label && !isButton && ((0, jsx_runtime_1.jsx)(RadioLabelElement, { mods: {
155
+ }, styles: inputStyles, children: !isButton ? RadioCircleElement : children }, void 0), label && !isButton && ((0, jsx_runtime_1.jsx)(RadioLabelElement, { mods: {
156
156
  invalid: validationState === 'invalid',
157
157
  valid: validationState === 'valid',
158
158
  disabled: isDisabled,
159
- }, ...(0, tasty_1.filterBaseProps)(labelProps), children: label }))] }));
159
+ }, ...(0, tasty_1.filterBaseProps)(labelProps), children: label }, void 0))] }, void 0));
160
160
  }
161
161
  function RadioButton(props, ref) {
162
162
  const Radio = _Radio;
163
- return (0, jsx_runtime_1.jsx)(Radio, { ...props, type: "button", ref: ref });
163
+ return (0, jsx_runtime_1.jsx)(Radio, { ...props, type: "button", ref: ref }, void 0);
164
164
  }
165
165
  /**
166
166
  * Radio buttons allow users to select a single option from a list of mutually exclusive options.