@cube-dev/ui-kit 0.56.3 → 0.58.0

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 (875) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/es/_internal/hooks/index.js +1 -1
  3. package/es/_internal/hooks/use-chained-callback.js +1 -1
  4. package/es/_internal/hooks/use-debounced-value.js +1 -1
  5. package/es/_internal/hooks/use-deprecation-warning.js +1 -1
  6. package/es/_internal/hooks/use-effect-once.js +1 -1
  7. package/es/_internal/hooks/use-event.js +1 -1
  8. package/es/_internal/hooks/use-is-first-render.js +1 -1
  9. package/es/_internal/hooks/use-sync-ref.js +1 -1
  10. package/es/_internal/hooks/use-timer/index.js +1 -1
  11. package/es/_internal/hooks/use-timer/timer.js +7 -4
  12. package/es/_internal/hooks/use-timer/use-timer.js +1 -1
  13. package/es/_internal/hooks/use-update-effect.js +1 -1
  14. package/es/_internal/hooks/use-warn.js +1 -1
  15. package/es/_internal/index.js +1 -1
  16. package/es/components/Block.js +1 -1
  17. package/es/components/GlobalStyles.js +1 -1
  18. package/es/components/GridProvider.js +1 -1
  19. package/es/components/HiddenInput.js +1 -1
  20. package/es/components/OpenTrasition.js +1 -1
  21. package/es/components/Root.js +1 -1
  22. package/es/components/actions/Action/Action.js +1 -1
  23. package/es/components/actions/Button/Button.js +1 -1
  24. package/es/components/actions/Button/index.js +1 -1
  25. package/es/components/actions/ButtonGroup/ButtonGroup.js +1 -1
  26. package/es/components/actions/index.js +1 -1
  27. package/es/components/actions/use-action.js +1 -1
  28. package/es/components/content/ActiveZone/ActiveZone.js +2 -1
  29. package/es/components/content/Alert/Alert.js +1 -1
  30. package/es/components/content/Alert/index.js +1 -1
  31. package/es/components/content/Alert/types.js +1 -1
  32. package/es/components/content/Alert/use-alert.js +1 -1
  33. package/es/components/content/Avatar/Avatar.js +1 -1
  34. package/es/components/content/Badge/Badge.js +1 -1
  35. package/es/components/content/Card/Card.js +1 -1
  36. package/es/components/content/Content.js +1 -1
  37. package/es/components/content/CopyPasteBlock/CopyPasteBlock.js +2 -1
  38. package/es/components/content/CopyPasteBlock/index.js +1 -1
  39. package/es/components/content/CopySnippet/CopySnippet.js +2 -1
  40. package/es/components/content/CopySnippet/index.js +1 -1
  41. package/es/components/content/Divider.js +1 -1
  42. package/es/components/content/Footer.js +1 -1
  43. package/es/components/content/Header.js +2 -1
  44. package/es/components/content/Paragraph.js +1 -1
  45. package/es/components/content/Placeholder/Placeholder.js +1 -1
  46. package/es/components/content/PrismCode/PrismCode.js +2 -1
  47. package/es/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
  48. package/es/components/content/Result/Result.js +2 -1
  49. package/es/components/content/Skeleton/Skeleton.js +1 -1
  50. package/es/components/content/Tag/Tag.js +2 -1
  51. package/es/components/content/Text.js +2 -1
  52. package/es/components/content/Title.js +4 -3
  53. package/es/components/fields/Checkbox/Checkbox.js +2 -1
  54. package/es/components/fields/Checkbox/CheckboxGroup.js +2 -1
  55. package/es/components/fields/Checkbox/context.js +1 -1
  56. package/es/components/fields/Checkbox/index.js +1 -1
  57. package/es/components/fields/ComboBox/ComboBox.js +50 -14
  58. package/es/components/fields/ComboBox/index.js +1 -1
  59. package/es/components/fields/DatePicker/DateInput.js +2 -1
  60. package/es/components/fields/DatePicker/DateInputBase.js +2 -1
  61. package/es/components/fields/DatePicker/DatePicker.js +2 -1
  62. package/es/components/fields/DatePicker/DatePickerButton.js +1 -1
  63. package/es/components/fields/DatePicker/DatePickerElement.js +1 -1
  64. package/es/components/fields/DatePicker/DatePickerInput.js +1 -1
  65. package/es/components/fields/DatePicker/DatePickerSegment.js +1 -1
  66. package/es/components/fields/DatePicker/DateRangePicker.js +2 -1
  67. package/es/components/fields/DatePicker/DateRangeSeparatedPicker.js +2 -1
  68. package/es/components/fields/DatePicker/TimeInput.js +2 -1
  69. package/es/components/fields/DatePicker/index.js +1 -1
  70. package/es/components/fields/DatePicker/intl.js +1 -1
  71. package/es/components/fields/DatePicker/parseDate.js +1 -1
  72. package/es/components/fields/DatePicker/props.js +1 -1
  73. package/es/components/fields/DatePicker/types.js +1 -1
  74. package/es/components/fields/DatePicker/utils.js +1 -1
  75. package/es/components/fields/FileInput/FileInput.js +2 -1
  76. package/es/components/fields/Input/Input.js +1 -1
  77. package/es/components/fields/Input/index.js +1 -1
  78. package/es/components/fields/NumberInput/NumberInput.js +2 -1
  79. package/es/components/fields/NumberInput/StepButton.js +1 -1
  80. package/es/components/fields/PasswordInput/PasswordInput.js +2 -1
  81. package/es/components/fields/RadioGroup/Radio.js +3 -1
  82. package/es/components/fields/RadioGroup/RadioGroup.js +2 -1
  83. package/es/components/fields/RadioGroup/context.js +1 -1
  84. package/es/components/fields/RadioGroup/index.js +1 -1
  85. package/es/components/fields/SearchInput/SearchInput.js +1 -1
  86. package/es/components/fields/SearchInput/index.js +1 -1
  87. package/es/components/fields/Select/Select.js +2 -1
  88. package/es/components/fields/Select/index.js +1 -1
  89. package/es/components/fields/Slider/Gradation.js +1 -1
  90. package/es/components/fields/Slider/Header.js +1 -1
  91. package/es/components/fields/Slider/RangeSlider.js +2 -1
  92. package/es/components/fields/Slider/Slider.js +2 -1
  93. package/es/components/fields/Slider/SliderBase.js +2 -1
  94. package/es/components/fields/Slider/SliderInput.js +1 -1
  95. package/es/components/fields/Slider/SliderThumb.js +1 -1
  96. package/es/components/fields/Slider/SliderTrack.js +1 -1
  97. package/es/components/fields/Slider/elements.js +1 -1
  98. package/es/components/fields/Slider/index.js +1 -1
  99. package/es/components/fields/Slider/types.js +1 -1
  100. package/es/components/fields/Switch/Switch.js +2 -1
  101. package/es/components/fields/Switch/index.js +1 -1
  102. package/es/components/fields/TextArea/TextArea.js +2 -1
  103. package/es/components/fields/TextArea/index.js +1 -1
  104. package/es/components/fields/TextInput/TextInput.js +1 -1
  105. package/es/components/fields/TextInput/TextInputBase.js +5 -5
  106. package/es/components/fields/TextInput/index.js +1 -1
  107. package/es/components/fields/TextInputMapper/TextInputMapper.js +30 -8
  108. package/es/components/fields/TextInputMapper/index.js +1 -1
  109. package/es/components/fields/index.js +1 -1
  110. package/es/components/form/FieldWrapper/FieldWrapper.js +1 -1
  111. package/es/components/form/FieldWrapper/extract-field-wrapper-props.js +1 -1
  112. package/es/components/form/FieldWrapper/index.js +1 -1
  113. package/es/components/form/FieldWrapper/types.js +1 -1
  114. package/es/components/form/Form/Field.js +17 -6
  115. package/es/components/form/Form/Form.js +2 -1
  116. package/es/components/form/Form/ResetButton/ResetButton.js +2 -1
  117. package/es/components/form/Form/ResetButton/index.js +1 -1
  118. package/es/components/form/Form/SubmitButton/SubmitButton.js +2 -1
  119. package/es/components/form/Form/SubmitButton/index.js +1 -1
  120. package/es/components/form/Form/SubmitError.js +2 -1
  121. package/es/components/form/Form/index.js +1 -1
  122. package/es/components/form/Form/types.js +1 -1
  123. package/es/components/form/Form/use-field/index.js +1 -1
  124. package/es/components/form/Form/use-field/types.js +1 -1
  125. package/es/components/form/Form/use-field/use-field-props.js +14 -7
  126. package/es/components/form/Form/use-field/use-field.js +6 -6
  127. package/es/components/form/Form/use-form.js +55 -67
  128. package/es/components/form/Form/validation.js +1 -1
  129. package/es/components/form/Label.js +2 -1
  130. package/es/components/form/index.js +1 -1
  131. package/es/components/form/wrapper.js +1 -1
  132. package/es/components/layout/Flex.js +1 -1
  133. package/es/components/layout/Flow.js +1 -1
  134. package/es/components/layout/Grid.js +1 -1
  135. package/es/components/layout/Panel.js +1 -1
  136. package/es/components/layout/Prefix.js +1 -1
  137. package/es/components/layout/ResizablePanel.js +1 -1
  138. package/es/components/layout/Space.js +1 -1
  139. package/es/components/layout/Suffix.js +1 -1
  140. package/es/components/navigation/LegacyTabs/LegacyTabs.js +1 -1
  141. package/es/components/navigation/Link/Link.js +1 -1
  142. package/es/components/organisms/FileTabs/FileTabs.js +1 -1
  143. package/es/components/organisms/Modal/Modal.js +1 -1
  144. package/es/components/organisms/StatsCard/StatsCard.js +1 -1
  145. package/es/components/other/Base64Upload/Base64Upload.js +1 -1
  146. package/es/components/other/Calendar/Calendar.js +2 -1
  147. package/es/components/other/Calendar/CalendarCell.js +1 -1
  148. package/es/components/other/Calendar/CalendarGrid.js +1 -1
  149. package/es/components/other/Calendar/RangeCalendar.js +2 -1
  150. package/es/components/other/CloudLogo/CloudLogo.js +2 -1
  151. package/es/components/overlays/AlertDialog/AlertDialog.js +2 -1
  152. package/es/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
  153. package/es/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
  154. package/es/components/overlays/AlertDialog/index.js +1 -1
  155. package/es/components/overlays/AlertDialog/types.js +1 -1
  156. package/es/components/overlays/Dialog/Dialog.js +22 -15
  157. package/es/components/overlays/Dialog/DialogContainer.js +4 -4
  158. package/es/components/overlays/Dialog/DialogForm.js +1 -1
  159. package/es/components/overlays/Dialog/DialogTrigger.js +13 -15
  160. package/es/components/overlays/Dialog/context.js +1 -1
  161. package/es/components/overlays/Dialog/dialog-container.js +1 -1
  162. package/es/components/overlays/Dialog/index.js +1 -1
  163. package/es/components/overlays/Modal/Modal.js +2 -1
  164. package/es/components/overlays/Modal/OpenTransition.js +1 -1
  165. package/es/components/overlays/Modal/Overlay.js +2 -1
  166. package/es/components/overlays/Modal/Popover.js +3 -2
  167. package/es/components/overlays/Modal/Tray.js +2 -1
  168. package/es/components/overlays/Modal/Underlay.js +2 -1
  169. package/es/components/overlays/Modal/index.js +1 -1
  170. package/es/components/overlays/Modal/types.js +1 -1
  171. package/es/components/overlays/NewNotifications/Bar/FloatingNotification.js +1 -1
  172. package/es/components/overlays/NewNotifications/Bar/NotificationsBar.js +1 -1
  173. package/es/components/overlays/NewNotifications/Bar/TransitionComponent.js +1 -1
  174. package/es/components/overlays/NewNotifications/Bar/index.js +1 -1
  175. package/es/components/overlays/NewNotifications/Dialog/NotificationsDialogTrigger.js +1 -1
  176. package/es/components/overlays/NewNotifications/Dialog/index.js +1 -1
  177. package/es/components/overlays/NewNotifications/Notification.js +1 -1
  178. package/es/components/overlays/NewNotifications/NotificationView/NotificationAction.js +1 -1
  179. package/es/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.js +1 -1
  180. package/es/components/overlays/NewNotifications/NotificationView/NotificationDescription.js +1 -1
  181. package/es/components/overlays/NewNotifications/NotificationView/NotificationFooter.js +1 -1
  182. package/es/components/overlays/NewNotifications/NotificationView/NotificationHeader.js +1 -1
  183. package/es/components/overlays/NewNotifications/NotificationView/NotificationIcon.js +1 -1
  184. package/es/components/overlays/NewNotifications/NotificationView/NotificationProvider.js +1 -1
  185. package/es/components/overlays/NewNotifications/NotificationView/NotificationView.js +1 -1
  186. package/es/components/overlays/NewNotifications/NotificationView/index.js +1 -1
  187. package/es/components/overlays/NewNotifications/NotificationView/types.js +1 -1
  188. package/es/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.js +1 -1
  189. package/es/components/overlays/NewNotifications/NotificationsContext/index.js +1 -1
  190. package/es/components/overlays/NewNotifications/NotificationsContext/use-notifications.js +1 -1
  191. package/es/components/overlays/NewNotifications/NotificationsList/NotificationsList.js +1 -1
  192. package/es/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.js +1 -1
  193. package/es/components/overlays/NewNotifications/NotificationsList/index.js +1 -1
  194. package/es/components/overlays/NewNotifications/NotificationsList/types.js +1 -1
  195. package/es/components/overlays/NewNotifications/hooks/index.js +1 -1
  196. package/es/components/overlays/NewNotifications/hooks/types.js +1 -1
  197. package/es/components/overlays/NewNotifications/hooks/use-notification-list-item.js +1 -1
  198. package/es/components/overlays/NewNotifications/hooks/use-notifications-api.js +1 -1
  199. package/es/components/overlays/NewNotifications/hooks/use-notifications-list.js +1 -1
  200. package/es/components/overlays/NewNotifications/hooks/use-notifications-observer.js +1 -1
  201. package/es/components/overlays/NewNotifications/index.js +1 -1
  202. package/es/components/overlays/NewNotifications/types.js +1 -1
  203. package/es/components/overlays/Notification/Notification.js +1 -1
  204. package/es/components/overlays/OverlayWrapper.js +1 -1
  205. package/es/components/overlays/Toasts/Toast.js +1 -1
  206. package/es/components/overlays/Toasts/index.js +1 -1
  207. package/es/components/overlays/Toasts/types.js +1 -1
  208. package/es/components/overlays/Toasts/use-toasts-api.js +1 -1
  209. package/es/components/overlays/Tooltip/Tooltip.js +2 -1
  210. package/es/components/overlays/Tooltip/TooltipProvider.js +2 -4
  211. package/es/components/overlays/Tooltip/TooltipTrigger.js +7 -9
  212. package/es/components/overlays/Tooltip/context.js +1 -1
  213. package/es/components/overlays/Tooltip/index.js +1 -1
  214. package/es/components/pickers/Menu/Menu.js +1 -1
  215. package/es/components/pickers/Menu/MenuButton.js +1 -1
  216. package/es/components/pickers/Menu/MenuItem.js +1 -1
  217. package/es/components/pickers/Menu/MenuSection.js +1 -1
  218. package/es/components/pickers/Menu/MenuTrigger.js +1 -1
  219. package/es/components/pickers/Menu/context.js +1 -1
  220. package/es/components/pickers/Menu/styled.js +1 -1
  221. package/es/components/portal/Portal.js +1 -1
  222. package/es/components/portal/PortalProvider.js +1 -1
  223. package/es/components/portal/index.js +1 -1
  224. package/es/components/portal/storybook/templates/CustomRoot.js +1 -1
  225. package/es/components/portal/storybook/templates/PortalOrder.js +1 -1
  226. package/es/components/portal/storybook/templates/basic.js +1 -1
  227. package/es/components/portal/storybook/templates/index.js +1 -1
  228. package/es/components/portal/types.js +1 -1
  229. package/es/components/portal/usePortal.js +1 -1
  230. package/es/components/shared/InvalidIcon.js +1 -1
  231. package/es/components/shared/ValidIcon.js +1 -1
  232. package/es/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
  233. package/es/components/status/LoadingAnimation/index.js +1 -1
  234. package/es/components/status/Spin/Cube.js +1 -1
  235. package/es/components/status/Spin/InternalSpinner.js +1 -1
  236. package/es/components/status/Spin/Spin.js +1 -1
  237. package/es/components/status/Spin/SpinsContainer.js +1 -1
  238. package/es/components/status/Spin/index.js +1 -1
  239. package/es/components/status/Spin/types.js +1 -1
  240. package/es/components/status/index.js +1 -1
  241. package/es/data/themes.js +1 -1
  242. package/es/icons/AiIcon.js +1 -1
  243. package/es/icons/AreaChartIcon.js +1 -1
  244. package/es/icons/BackwardIcon.js +1 -1
  245. package/es/icons/BarChartIcon.js +1 -1
  246. package/es/icons/BellFilledIcon.js +1 -1
  247. package/es/icons/BellIcon.js +1 -1
  248. package/es/icons/BooleanIcon.js +1 -1
  249. package/es/icons/CalendarEditIcon.js +1 -1
  250. package/es/icons/CalendarIcon.js +1 -1
  251. package/es/icons/CaretDownIcon.js +1 -1
  252. package/es/icons/CaretUpIcon.js +1 -1
  253. package/es/icons/CheckCircleFilledIcon.js +1 -1
  254. package/es/icons/CheckCircleIcon.js +1 -1
  255. package/es/icons/CheckIcon.js +1 -1
  256. package/es/icons/CircleFilledIcon.js +1 -1
  257. package/es/icons/ClearIcon.js +1 -1
  258. package/es/icons/CloseCircleFilledIcon.js +1 -1
  259. package/es/icons/CloseCircleIcon.js +1 -1
  260. package/es/icons/CloseIcon.js +1 -1
  261. package/es/icons/CodeIcon.js +1 -1
  262. package/es/icons/CopyIcon.js +1 -1
  263. package/es/icons/CountIcon.js +1 -1
  264. package/es/icons/CubeIcon.js +1 -1
  265. package/es/icons/DangerIcon.js +1 -1
  266. package/es/icons/DashboardIcon.js +1 -1
  267. package/es/icons/DatabaseIcon.js +1 -1
  268. package/es/icons/DirectionIcon.js +1 -1
  269. package/es/icons/DonutIcon.js +1 -1
  270. package/es/icons/DownIcon.js +1 -1
  271. package/es/icons/EditIcon.js +1 -1
  272. package/es/icons/ExclamationCircleFilledIcon.js +1 -1
  273. package/es/icons/ExclamationCircleIcon.js +1 -1
  274. package/es/icons/ExclamationIcon.js +1 -1
  275. package/es/icons/EyeIcon.js +1 -1
  276. package/es/icons/EyeInvisibleIcon.js +1 -1
  277. package/es/icons/FilterIcon.js +1 -1
  278. package/es/icons/FolderFilledIcon.js +1 -1
  279. package/es/icons/FolderIcon.js +1 -1
  280. package/es/icons/FolderOpenFilledIcon.js +1 -1
  281. package/es/icons/FolderOpenIcon.js +1 -1
  282. package/es/icons/ForwardIcon.js +1 -1
  283. package/es/icons/HierarchyIcon.js +1 -1
  284. package/es/icons/Icon.js +1 -1
  285. package/es/icons/InfoCircleIcon.js +1 -1
  286. package/es/icons/InfoIcon.js +1 -1
  287. package/es/icons/KeyIcon.js +1 -1
  288. package/es/icons/LeftIcon.js +1 -1
  289. package/es/icons/LineChartIcon.js +1 -1
  290. package/es/icons/LoadingIcon.js +1 -1
  291. package/es/icons/LockFilledIcon.js +1 -1
  292. package/es/icons/LockIcon.js +1 -1
  293. package/es/icons/MoreIcon.js +1 -1
  294. package/es/icons/NotAllowedIcon.js +1 -1
  295. package/es/icons/NumberIcon.js +1 -1
  296. package/es/icons/PauseCircleFilledIcon.js +1 -1
  297. package/es/icons/PauseCircleIcon.js +1 -1
  298. package/es/icons/PauseIcon.js +1 -1
  299. package/es/icons/PieChartIcon.js +1 -1
  300. package/es/icons/PlayCircleIcon.js +1 -1
  301. package/es/icons/PlayIcon.js +1 -1
  302. package/es/icons/PlusIcon.js +1 -1
  303. package/es/icons/ReloadIcon.js +1 -1
  304. package/es/icons/ReportIcon.js +1 -1
  305. package/es/icons/ReturnIcon.js +1 -1
  306. package/es/icons/RightIcon.js +1 -1
  307. package/es/icons/SchemeIcon.js +1 -1
  308. package/es/icons/SearchIcon.js +1 -1
  309. package/es/icons/SettingsIcon.js +1 -1
  310. package/es/icons/ShieldFilledIcon.js +1 -1
  311. package/es/icons/ShieldIcon.js +1 -1
  312. package/es/icons/SlashIcon.js +1 -1
  313. package/es/icons/SparklesIcon.js +1 -1
  314. package/es/icons/SqlIcon.js +1 -1
  315. package/es/icons/StatsIcon.js +1 -1
  316. package/es/icons/StopIcon.js +1 -1
  317. package/es/icons/StringIcon.js +1 -1
  318. package/es/icons/SwitchIcon.js +1 -1
  319. package/es/icons/TableIcon.js +1 -1
  320. package/es/icons/ThumbsDownIcon.js +1 -1
  321. package/es/icons/ThumbsUpIcon.js +1 -1
  322. package/es/icons/ThunderboltCrossedIcon.js +1 -1
  323. package/es/icons/ThunderboltFilledIcon.js +1 -1
  324. package/es/icons/ThunderboltIcon.js +1 -1
  325. package/es/icons/TimeIcon.js +1 -1
  326. package/es/icons/UnlockIcon.js +1 -1
  327. package/es/icons/UpIcon.js +1 -1
  328. package/es/icons/UserGroupIcon.js +1 -1
  329. package/es/icons/UserIcon.js +1 -1
  330. package/es/icons/UserLockIcon.js +1 -1
  331. package/es/icons/ViewIcon.js +1 -1
  332. package/es/icons/WarningFilledIcon.js +1 -1
  333. package/es/icons/WarningIcon.js +1 -1
  334. package/es/icons/add-new-icon.js +1 -1
  335. package/es/icons/index.js +1 -1
  336. package/es/icons/wrap-icon.js +1 -1
  337. package/es/index.js +1 -1
  338. package/es/provider.js +1 -1
  339. package/es/providers/TrackingProvider.js +1 -1
  340. package/es/services/notification.js +1 -1
  341. package/es/shared/form.js +1 -1
  342. package/es/shared/index.js +1 -1
  343. package/es/stories/Form.stories.js +3 -3
  344. package/es/stories/FormFieldArgs.js +1 -1
  345. package/es/stories/Layout.stories.js +1 -1
  346. package/es/stories/Tasty.stories.js +1 -1
  347. package/es/stories/components/ConfirmDeletionDialogForm.js +1 -1
  348. package/es/stories/components/DialogFormApp.js +1 -1
  349. package/es/stories/components/StyledButton.js +1 -1
  350. package/es/stories/lists/baseProps.js +1 -1
  351. package/es/tasty/index.js +1 -1
  352. package/es/tasty/providers/BreakpointsProvider.js +1 -1
  353. package/es/tasty/styles/align.js +1 -1
  354. package/es/tasty/styles/border.js +1 -1
  355. package/es/tasty/styles/boxShadow.combinator.js +1 -1
  356. package/es/tasty/styles/color.js +1 -1
  357. package/es/tasty/styles/createStyle.js +1 -1
  358. package/es/tasty/styles/dimension.js +1 -1
  359. package/es/tasty/styles/display.js +1 -1
  360. package/es/tasty/styles/fade.js +1 -1
  361. package/es/tasty/styles/fill.js +1 -1
  362. package/es/tasty/styles/flow.js +1 -1
  363. package/es/tasty/styles/font.js +1 -1
  364. package/es/tasty/styles/fontStyle.js +1 -1
  365. package/es/tasty/styles/gap.js +1 -1
  366. package/es/tasty/styles/groupRadius.js +1 -1
  367. package/es/tasty/styles/height.js +1 -1
  368. package/es/tasty/styles/index.js +1 -1
  369. package/es/tasty/styles/inset.js +1 -1
  370. package/es/tasty/styles/justify.js +1 -1
  371. package/es/tasty/styles/list.js +1 -1
  372. package/es/tasty/styles/margin.js +1 -1
  373. package/es/tasty/styles/marginBlock.js +1 -1
  374. package/es/tasty/styles/marginInline.js +1 -1
  375. package/es/tasty/styles/outline.js +1 -1
  376. package/es/tasty/styles/padding.js +1 -1
  377. package/es/tasty/styles/paddingBlock.js +1 -1
  378. package/es/tasty/styles/paddingInline.js +1 -1
  379. package/es/tasty/styles/predefined.js +1 -1
  380. package/es/tasty/styles/preset.js +1 -1
  381. package/es/tasty/styles/radius.js +1 -1
  382. package/es/tasty/styles/reset.js +1 -1
  383. package/es/tasty/styles/shadow.js +1 -1
  384. package/es/tasty/styles/styledScrollbar.js +1 -1
  385. package/es/tasty/styles/transition.js +1 -1
  386. package/es/tasty/styles/types.js +1 -1
  387. package/es/tasty/styles/width.js +1 -1
  388. package/es/tasty/tasty.js +1 -1
  389. package/es/tasty/types.js +1 -1
  390. package/es/tasty/utils/cache-wrapper.js +1 -1
  391. package/es/tasty/utils/case-converter.js +1 -1
  392. package/es/tasty/utils/colors.js +1 -1
  393. package/es/tasty/utils/dotize.js +1 -1
  394. package/es/tasty/utils/filterBaseProps.js +1 -1
  395. package/es/tasty/utils/getDisplayName.js +1 -1
  396. package/es/tasty/utils/index.js +1 -1
  397. package/es/tasty/utils/mergeStyles.js +1 -1
  398. package/es/tasty/utils/modAttrs.js +1 -1
  399. package/es/tasty/utils/renderStyles.js +1 -1
  400. package/es/tasty/utils/responsive.js +1 -1
  401. package/es/tasty/utils/string.js +1 -1
  402. package/es/tasty/utils/styles.js +1 -1
  403. package/es/tasty/utils/warnings.js +1 -1
  404. package/es/tokens.js +1 -1
  405. package/es/type-checks.js +1 -1
  406. package/es/utils/ResizeSensor.js +1 -1
  407. package/es/utils/modules.js +1 -1
  408. package/es/utils/promise.js +1 -1
  409. package/es/utils/random.js +1 -1
  410. package/es/utils/range.js +1 -1
  411. package/es/utils/react/Slots.js +1 -1
  412. package/es/utils/react/chain.js +1 -1
  413. package/es/utils/react/index.js +1 -1
  414. package/es/utils/react/interactions.js +1 -1
  415. package/es/utils/react/isTextOnly.js +1 -1
  416. package/es/utils/react/mapProps.js +1 -1
  417. package/es/utils/react/mergeProps.js +1 -1
  418. package/es/utils/react/nullableValue.js +1 -1
  419. package/es/utils/react/useCombinedRefs.js +1 -1
  420. package/es/utils/react/useId.js +1 -1
  421. package/es/utils/react/useLayoutEffect.js +1 -1
  422. package/es/utils/react/useViewportSize.js +1 -1
  423. package/es/utils/react/wrapNodeIfPlain.js +1 -1
  424. package/es/utils/transitions.js +1 -1
  425. package/es/utils/tree.js +1 -1
  426. package/es/utils/warnings.js +1 -1
  427. package/es/version.js +2 -2
  428. package/package.json +3 -2
  429. package/types/components/fields/ComboBox/ComboBox.d.ts +6 -0
  430. package/types/components/fields/DatePicker/DateInput.d.ts +2 -4
  431. package/types/components/fields/DatePicker/DatePicker.d.ts +1 -5
  432. package/types/components/fields/DatePicker/DateRangePicker.d.ts +2 -4
  433. package/types/components/fields/DatePicker/TimeInput.d.ts +1 -5
  434. package/types/components/fields/RadioGroup/Radio.d.ts +60 -0
  435. package/types/components/fields/RadioGroup/RadioGroup.d.ts +2 -2
  436. package/types/components/fields/Slider/RangeSlider.d.ts +1 -0
  437. package/types/components/fields/Slider/Slider.d.ts +1 -0
  438. package/types/components/fields/TextInput/TextInputBase.d.ts +1 -0
  439. package/types/components/fields/TextInputMapper/TextInputMapper.d.ts +6 -1
  440. package/types/components/form/Form/Form.d.ts +2 -3
  441. package/types/components/form/Form/index.d.ts +1 -3
  442. package/types/components/form/Form/types.d.ts +0 -1
  443. package/types/components/form/Form/use-field/types.d.ts +1 -1
  444. package/types/components/form/Form/use-form.d.ts +2 -2
  445. package/types/components/overlays/Dialog/DialogContainer.d.ts +2 -1
  446. package/types/components/overlays/Dialog/DialogTrigger.d.ts +1 -3
  447. package/types/components/overlays/Modal/Popover.d.ts +1 -1
  448. package/types/components/overlays/Tooltip/TooltipProvider.d.ts +1 -3
  449. package/types/components/overlays/Tooltip/TooltipTrigger.d.ts +1 -3
  450. package/cjs/_internal/hooks/index.js +0 -34
  451. package/cjs/_internal/hooks/use-chained-callback.js +0 -22
  452. package/cjs/_internal/hooks/use-debounced-value.js +0 -56
  453. package/cjs/_internal/hooks/use-deprecation-warning.js +0 -46
  454. package/cjs/_internal/hooks/use-effect-once.js +0 -17
  455. package/cjs/_internal/hooks/use-event.js +0 -25
  456. package/cjs/_internal/hooks/use-is-first-render.js +0 -21
  457. package/cjs/_internal/hooks/use-sync-ref.js +0 -21
  458. package/cjs/_internal/hooks/use-timer/index.js +0 -27
  459. package/cjs/_internal/hooks/use-timer/timer.js +0 -61
  460. package/cjs/_internal/hooks/use-timer/use-timer.js +0 -48
  461. package/cjs/_internal/hooks/use-update-effect.js +0 -23
  462. package/cjs/_internal/hooks/use-warn.js +0 -42
  463. package/cjs/_internal/index.js +0 -26
  464. package/cjs/components/Block.js +0 -24
  465. package/cjs/components/GlobalStyles.js +0 -385
  466. package/cjs/components/GridProvider.js +0 -89
  467. package/cjs/components/HiddenInput.js +0 -38
  468. package/cjs/components/OpenTrasition.js +0 -34
  469. package/cjs/components/Root.js +0 -92
  470. package/cjs/components/actions/Action/Action.js +0 -42
  471. package/cjs/components/actions/Button/Button.js +0 -260
  472. package/cjs/components/actions/Button/index.js +0 -26
  473. package/cjs/components/actions/ButtonGroup/ButtonGroup.js +0 -26
  474. package/cjs/components/actions/index.js +0 -34
  475. package/cjs/components/actions/use-action.js +0 -142
  476. package/cjs/components/content/ActiveZone/ActiveZone.js +0 -40
  477. package/cjs/components/content/Alert/Alert.js +0 -54
  478. package/cjs/components/content/Alert/index.js +0 -26
  479. package/cjs/components/content/Alert/types.js +0 -11
  480. package/cjs/components/content/Alert/use-alert.js +0 -30
  481. package/cjs/components/content/Avatar/Avatar.js +0 -36
  482. package/cjs/components/content/Badge/Badge.js +0 -53
  483. package/cjs/components/content/Card/Card.js +0 -32
  484. package/cjs/components/content/Content.js +0 -36
  485. package/cjs/components/content/CopyPasteBlock/CopyPasteBlock.js +0 -164
  486. package/cjs/components/content/CopyPasteBlock/index.js +0 -26
  487. package/cjs/components/content/CopySnippet/CopySnippet.js +0 -186
  488. package/cjs/components/content/CopySnippet/index.js +0 -26
  489. package/cjs/components/content/Divider.js +0 -51
  490. package/cjs/components/content/Footer.js +0 -31
  491. package/cjs/components/content/Header.js +0 -31
  492. package/cjs/components/content/Paragraph.js +0 -26
  493. package/cjs/components/content/Placeholder/Placeholder.js +0 -74
  494. package/cjs/components/content/PrismCode/PrismCode.js +0 -70
  495. package/cjs/components/content/PrismDiffCode/PrismDiffCode.js +0 -47
  496. package/cjs/components/content/Result/Result.js +0 -131
  497. package/cjs/components/content/Skeleton/Skeleton.js +0 -78
  498. package/cjs/components/content/Tag/Tag.js +0 -96
  499. package/cjs/components/content/Text.js +0 -80
  500. package/cjs/components/content/Title.js +0 -71
  501. package/cjs/components/fields/Checkbox/Checkbox.js +0 -175
  502. package/cjs/components/fields/Checkbox/CheckboxGroup.js +0 -76
  503. package/cjs/components/fields/Checkbox/context.js +0 -14
  504. package/cjs/components/fields/Checkbox/index.js +0 -27
  505. package/cjs/components/fields/ComboBox/ComboBox.js +0 -173
  506. package/cjs/components/fields/ComboBox/index.js +0 -26
  507. package/cjs/components/fields/DatePicker/DateInput.js +0 -64
  508. package/cjs/components/fields/DatePicker/DateInputBase.js +0 -81
  509. package/cjs/components/fields/DatePicker/DatePicker.js +0 -78
  510. package/cjs/components/fields/DatePicker/DatePickerButton.js +0 -24
  511. package/cjs/components/fields/DatePicker/DatePickerElement.js +0 -24
  512. package/cjs/components/fields/DatePicker/DatePickerInput.js +0 -54
  513. package/cjs/components/fields/DatePicker/DatePickerSegment.js +0 -69
  514. package/cjs/components/fields/DatePicker/DateRangePicker.js +0 -87
  515. package/cjs/components/fields/DatePicker/DateRangeSeparatedPicker.js +0 -133
  516. package/cjs/components/fields/DatePicker/TimeInput.js +0 -53
  517. package/cjs/components/fields/DatePicker/index.js +0 -32
  518. package/cjs/components/fields/DatePicker/intl.js +0 -17
  519. package/cjs/components/fields/DatePicker/parseDate.js +0 -33
  520. package/cjs/components/fields/DatePicker/props.js +0 -23
  521. package/cjs/components/fields/DatePicker/types.js +0 -11
  522. package/cjs/components/fields/DatePicker/utils.js +0 -108
  523. package/cjs/components/fields/FileInput/FileInput.js +0 -164
  524. package/cjs/components/fields/Input/Input.js +0 -28
  525. package/cjs/components/fields/Input/index.js +0 -26
  526. package/cjs/components/fields/NumberInput/NumberInput.js +0 -56
  527. package/cjs/components/fields/NumberInput/StepButton.js +0 -44
  528. package/cjs/components/fields/PasswordInput/PasswordInput.js +0 -52
  529. package/cjs/components/fields/RadioGroup/Radio.js +0 -221
  530. package/cjs/components/fields/RadioGroup/RadioGroup.js +0 -84
  531. package/cjs/components/fields/RadioGroup/context.js +0 -18
  532. package/cjs/components/fields/RadioGroup/index.js +0 -27
  533. package/cjs/components/fields/SearchInput/SearchInput.js +0 -44
  534. package/cjs/components/fields/SearchInput/index.js +0 -26
  535. package/cjs/components/fields/Select/Select.js +0 -321
  536. package/cjs/components/fields/Select/index.js +0 -26
  537. package/cjs/components/fields/Slider/Gradation.js +0 -27
  538. package/cjs/components/fields/Slider/Header.js +0 -15
  539. package/cjs/components/fields/Slider/RangeSlider.js +0 -33
  540. package/cjs/components/fields/Slider/Slider.js +0 -45
  541. package/cjs/components/fields/Slider/SliderBase.js +0 -129
  542. package/cjs/components/fields/Slider/SliderInput.js +0 -37
  543. package/cjs/components/fields/Slider/SliderThumb.js +0 -41
  544. package/cjs/components/fields/Slider/SliderTrack.js +0 -31
  545. package/cjs/components/fields/Slider/elements.js +0 -145
  546. package/cjs/components/fields/Slider/index.js +0 -31
  547. package/cjs/components/fields/Slider/types.js +0 -11
  548. package/cjs/components/fields/Switch/Switch.js +0 -152
  549. package/cjs/components/fields/Switch/index.js +0 -26
  550. package/cjs/components/fields/TextArea/TextArea.js +0 -71
  551. package/cjs/components/fields/TextArea/index.js +0 -26
  552. package/cjs/components/fields/TextInput/TextInput.js +0 -40
  553. package/cjs/components/fields/TextInput/TextInputBase.js +0 -229
  554. package/cjs/components/fields/TextInput/index.js +0 -27
  555. package/cjs/components/fields/TextInputMapper/TextInputMapper.js +0 -169
  556. package/cjs/components/fields/TextInputMapper/index.js +0 -26
  557. package/cjs/components/fields/index.js +0 -40
  558. package/cjs/components/form/FieldWrapper/FieldWrapper.js +0 -91
  559. package/cjs/components/form/FieldWrapper/extract-field-wrapper-props.js +0 -49
  560. package/cjs/components/form/FieldWrapper/index.js +0 -28
  561. package/cjs/components/form/FieldWrapper/types.js +0 -11
  562. package/cjs/components/form/Form/Field.js +0 -167
  563. package/cjs/components/form/Form/Form.js +0 -154
  564. package/cjs/components/form/Form/ResetButton/ResetButton.js +0 -40
  565. package/cjs/components/form/Form/ResetButton/index.js +0 -26
  566. package/cjs/components/form/Form/SubmitButton/SubmitButton.js +0 -28
  567. package/cjs/components/form/Form/SubmitButton/index.js +0 -26
  568. package/cjs/components/form/Form/SubmitError.js +0 -32
  569. package/cjs/components/form/Form/index.js +0 -48
  570. package/cjs/components/form/Form/types.js +0 -11
  571. package/cjs/components/form/Form/use-field/index.js +0 -28
  572. package/cjs/components/form/Form/use-field/types.js +0 -11
  573. package/cjs/components/form/Form/use-field/use-field-props.js +0 -82
  574. package/cjs/components/form/Form/use-field/use-field.js +0 -162
  575. package/cjs/components/form/Form/use-form.js +0 -412
  576. package/cjs/components/form/Form/validation.js +0 -171
  577. package/cjs/components/form/Label.js +0 -79
  578. package/cjs/components/form/index.js +0 -29
  579. package/cjs/components/form/wrapper.js +0 -38
  580. package/cjs/components/layout/Flex.js +0 -25
  581. package/cjs/components/layout/Flow.js +0 -26
  582. package/cjs/components/layout/Grid.js +0 -31
  583. package/cjs/components/layout/Panel.js +0 -110
  584. package/cjs/components/layout/Prefix.js +0 -46
  585. package/cjs/components/layout/ResizablePanel.js +0 -286
  586. package/cjs/components/layout/Space.js +0 -37
  587. package/cjs/components/layout/Suffix.js +0 -45
  588. package/cjs/components/navigation/LegacyTabs/LegacyTabs.js +0 -282
  589. package/cjs/components/navigation/Link/Link.js +0 -18
  590. package/cjs/components/organisms/FileTabs/FileTabs.js +0 -267
  591. package/cjs/components/organisms/Modal/Modal.js +0 -261
  592. package/cjs/components/organisms/StatsCard/StatsCard.js +0 -19
  593. package/cjs/components/other/Base64Upload/Base64Upload.js +0 -108
  594. package/cjs/components/other/Calendar/Calendar.js +0 -58
  595. package/cjs/components/other/Calendar/CalendarCell.js +0 -72
  596. package/cjs/components/other/Calendar/CalendarGrid.js +0 -35
  597. package/cjs/components/other/Calendar/RangeCalendar.js +0 -58
  598. package/cjs/components/other/CloudLogo/CloudLogo.js +0 -35
  599. package/cjs/components/overlays/AlertDialog/AlertDialog.js +0 -59
  600. package/cjs/components/overlays/AlertDialog/AlertDialogApiProvider.js +0 -121
  601. package/cjs/components/overlays/AlertDialog/AlertDialogZone.js +0 -57
  602. package/cjs/components/overlays/AlertDialog/index.js +0 -28
  603. package/cjs/components/overlays/AlertDialog/types.js +0 -11
  604. package/cjs/components/overlays/Dialog/Dialog.js +0 -200
  605. package/cjs/components/overlays/Dialog/DialogContainer.js +0 -42
  606. package/cjs/components/overlays/Dialog/DialogForm.js +0 -49
  607. package/cjs/components/overlays/Dialog/DialogTrigger.js +0 -133
  608. package/cjs/components/overlays/Dialog/context.js +0 -24
  609. package/cjs/components/overlays/Dialog/dialog-container.js +0 -63
  610. package/cjs/components/overlays/Dialog/index.js +0 -30
  611. package/cjs/components/overlays/Modal/Modal.js +0 -97
  612. package/cjs/components/overlays/Modal/OpenTransition.js +0 -31
  613. package/cjs/components/overlays/Modal/Overlay.js +0 -42
  614. package/cjs/components/overlays/Modal/Popover.js +0 -71
  615. package/cjs/components/overlays/Modal/Tray.js +0 -74
  616. package/cjs/components/overlays/Modal/Underlay.js +0 -46
  617. package/cjs/components/overlays/Modal/index.js +0 -37
  618. package/cjs/components/overlays/Modal/types.js +0 -11
  619. package/cjs/components/overlays/NewNotifications/Bar/FloatingNotification.js +0 -57
  620. package/cjs/components/overlays/NewNotifications/Bar/NotificationsBar.js +0 -98
  621. package/cjs/components/overlays/NewNotifications/Bar/TransitionComponent.js +0 -60
  622. package/cjs/components/overlays/NewNotifications/Bar/index.js +0 -26
  623. package/cjs/components/overlays/NewNotifications/Dialog/NotificationsDialogTrigger.js +0 -42
  624. package/cjs/components/overlays/NewNotifications/Dialog/index.js +0 -26
  625. package/cjs/components/overlays/NewNotifications/Notification.js +0 -45
  626. package/cjs/components/overlays/NewNotifications/NotificationView/NotificationAction.js +0 -44
  627. package/cjs/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.js +0 -29
  628. package/cjs/components/overlays/NewNotifications/NotificationView/NotificationDescription.js +0 -39
  629. package/cjs/components/overlays/NewNotifications/NotificationView/NotificationFooter.js +0 -72
  630. package/cjs/components/overlays/NewNotifications/NotificationView/NotificationHeader.js +0 -34
  631. package/cjs/components/overlays/NewNotifications/NotificationView/NotificationIcon.js +0 -72
  632. package/cjs/components/overlays/NewNotifications/NotificationView/NotificationProvider.js +0 -32
  633. package/cjs/components/overlays/NewNotifications/NotificationView/NotificationView.js +0 -72
  634. package/cjs/components/overlays/NewNotifications/NotificationView/index.js +0 -27
  635. package/cjs/components/overlays/NewNotifications/NotificationView/types.js +0 -11
  636. package/cjs/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.js +0 -25
  637. package/cjs/components/overlays/NewNotifications/NotificationsContext/index.js +0 -15
  638. package/cjs/components/overlays/NewNotifications/NotificationsContext/use-notifications.js +0 -95
  639. package/cjs/components/overlays/NewNotifications/NotificationsList/NotificationsList.js +0 -47
  640. package/cjs/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.js +0 -32
  641. package/cjs/components/overlays/NewNotifications/NotificationsList/index.js +0 -26
  642. package/cjs/components/overlays/NewNotifications/NotificationsList/types.js +0 -11
  643. package/cjs/components/overlays/NewNotifications/hooks/index.js +0 -30
  644. package/cjs/components/overlays/NewNotifications/hooks/types.js +0 -11
  645. package/cjs/components/overlays/NewNotifications/hooks/use-notification-list-item.js +0 -18
  646. package/cjs/components/overlays/NewNotifications/hooks/use-notifications-api.js +0 -23
  647. package/cjs/components/overlays/NewNotifications/hooks/use-notifications-list.js +0 -32
  648. package/cjs/components/overlays/NewNotifications/hooks/use-notifications-observer.js +0 -20
  649. package/cjs/components/overlays/NewNotifications/index.js +0 -34
  650. package/cjs/components/overlays/NewNotifications/types.js +0 -11
  651. package/cjs/components/overlays/Notification/Notification.js +0 -86
  652. package/cjs/components/overlays/OverlayWrapper.js +0 -34
  653. package/cjs/components/overlays/Toasts/Toast.js +0 -40
  654. package/cjs/components/overlays/Toasts/index.js +0 -27
  655. package/cjs/components/overlays/Toasts/types.js +0 -11
  656. package/cjs/components/overlays/Toasts/use-toasts-api.js +0 -45
  657. package/cjs/components/overlays/Tooltip/Tooltip.js +0 -111
  658. package/cjs/components/overlays/Tooltip/TooltipProvider.js +0 -26
  659. package/cjs/components/overlays/Tooltip/TooltipTrigger.js +0 -71
  660. package/cjs/components/overlays/Tooltip/context.js +0 -17
  661. package/cjs/components/overlays/Tooltip/index.js +0 -27
  662. package/cjs/components/pickers/Menu/Menu.js +0 -96
  663. package/cjs/components/pickers/Menu/MenuButton.js +0 -114
  664. package/cjs/components/pickers/Menu/MenuItem.js +0 -62
  665. package/cjs/components/pickers/Menu/MenuSection.js +0 -32
  666. package/cjs/components/pickers/Menu/MenuTrigger.js +0 -97
  667. package/cjs/components/pickers/Menu/context.js +0 -41
  668. package/cjs/components/pickers/Menu/styled.js +0 -113
  669. package/cjs/components/portal/Portal.js +0 -47
  670. package/cjs/components/portal/PortalProvider.js +0 -28
  671. package/cjs/components/portal/index.js +0 -29
  672. package/cjs/components/portal/storybook/templates/CustomRoot.js +0 -20
  673. package/cjs/components/portal/storybook/templates/PortalOrder.js +0 -17
  674. package/cjs/components/portal/storybook/templates/basic.js +0 -17
  675. package/cjs/components/portal/storybook/templates/index.js +0 -28
  676. package/cjs/components/portal/types.js +0 -11
  677. package/cjs/components/portal/usePortal.js +0 -47
  678. package/cjs/components/shared/InvalidIcon.js +0 -15
  679. package/cjs/components/shared/ValidIcon.js +0 -15
  680. package/cjs/components/status/LoadingAnimation/LoadingAnimation.js +0 -138
  681. package/cjs/components/status/LoadingAnimation/index.js +0 -14
  682. package/cjs/components/status/Spin/Cube.js +0 -196
  683. package/cjs/components/status/Spin/InternalSpinner.js +0 -29
  684. package/cjs/components/status/Spin/Spin.js +0 -24
  685. package/cjs/components/status/Spin/SpinsContainer.js +0 -45
  686. package/cjs/components/status/Spin/index.js +0 -26
  687. package/cjs/components/status/Spin/types.js +0 -11
  688. package/cjs/components/status/index.js +0 -27
  689. package/cjs/data/themes.js +0 -33
  690. package/cjs/icons/AiIcon.js +0 -15
  691. package/cjs/icons/AreaChartIcon.js +0 -15
  692. package/cjs/icons/BackwardIcon.js +0 -15
  693. package/cjs/icons/BarChartIcon.js +0 -15
  694. package/cjs/icons/BellFilledIcon.js +0 -15
  695. package/cjs/icons/BellIcon.js +0 -15
  696. package/cjs/icons/BooleanIcon.js +0 -15
  697. package/cjs/icons/CalendarEditIcon.js +0 -15
  698. package/cjs/icons/CalendarIcon.js +0 -15
  699. package/cjs/icons/CaretDownIcon.js +0 -15
  700. package/cjs/icons/CaretUpIcon.js +0 -15
  701. package/cjs/icons/CheckCircleFilledIcon.js +0 -15
  702. package/cjs/icons/CheckCircleIcon.js +0 -15
  703. package/cjs/icons/CheckIcon.js +0 -15
  704. package/cjs/icons/CircleFilledIcon.js +0 -15
  705. package/cjs/icons/ClearIcon.js +0 -15
  706. package/cjs/icons/CloseCircleFilledIcon.js +0 -15
  707. package/cjs/icons/CloseCircleIcon.js +0 -15
  708. package/cjs/icons/CloseIcon.js +0 -15
  709. package/cjs/icons/CodeIcon.js +0 -15
  710. package/cjs/icons/CopyIcon.js +0 -15
  711. package/cjs/icons/CountIcon.js +0 -15
  712. package/cjs/icons/CubeIcon.js +0 -15
  713. package/cjs/icons/DangerIcon.js +0 -15
  714. package/cjs/icons/DashboardIcon.js +0 -15
  715. package/cjs/icons/DatabaseIcon.js +0 -15
  716. package/cjs/icons/DirectionIcon.js +0 -70
  717. package/cjs/icons/DonutIcon.js +0 -15
  718. package/cjs/icons/DownIcon.js +0 -15
  719. package/cjs/icons/EditIcon.js +0 -15
  720. package/cjs/icons/ExclamationCircleFilledIcon.js +0 -15
  721. package/cjs/icons/ExclamationCircleIcon.js +0 -15
  722. package/cjs/icons/ExclamationIcon.js +0 -15
  723. package/cjs/icons/EyeIcon.js +0 -15
  724. package/cjs/icons/EyeInvisibleIcon.js +0 -15
  725. package/cjs/icons/FilterIcon.js +0 -15
  726. package/cjs/icons/FolderFilledIcon.js +0 -15
  727. package/cjs/icons/FolderIcon.js +0 -15
  728. package/cjs/icons/FolderOpenFilledIcon.js +0 -15
  729. package/cjs/icons/FolderOpenIcon.js +0 -15
  730. package/cjs/icons/ForwardIcon.js +0 -15
  731. package/cjs/icons/HierarchyIcon.js +0 -15
  732. package/cjs/icons/Icon.js +0 -39
  733. package/cjs/icons/InfoCircleIcon.js +0 -15
  734. package/cjs/icons/InfoIcon.js +0 -15
  735. package/cjs/icons/KeyIcon.js +0 -15
  736. package/cjs/icons/LeftIcon.js +0 -15
  737. package/cjs/icons/LineChartIcon.js +0 -15
  738. package/cjs/icons/LoadingIcon.js +0 -15
  739. package/cjs/icons/LockFilledIcon.js +0 -15
  740. package/cjs/icons/LockIcon.js +0 -15
  741. package/cjs/icons/MoreIcon.js +0 -15
  742. package/cjs/icons/NotAllowedIcon.js +0 -15
  743. package/cjs/icons/NumberIcon.js +0 -15
  744. package/cjs/icons/PauseCircleFilledIcon.js +0 -15
  745. package/cjs/icons/PauseCircleIcon.js +0 -15
  746. package/cjs/icons/PauseIcon.js +0 -15
  747. package/cjs/icons/PieChartIcon.js +0 -15
  748. package/cjs/icons/PlayCircleIcon.js +0 -15
  749. package/cjs/icons/PlayIcon.js +0 -15
  750. package/cjs/icons/PlusIcon.js +0 -15
  751. package/cjs/icons/ReloadIcon.js +0 -15
  752. package/cjs/icons/ReportIcon.js +0 -15
  753. package/cjs/icons/ReturnIcon.js +0 -15
  754. package/cjs/icons/RightIcon.js +0 -15
  755. package/cjs/icons/SchemeIcon.js +0 -15
  756. package/cjs/icons/SearchIcon.js +0 -15
  757. package/cjs/icons/SettingsIcon.js +0 -15
  758. package/cjs/icons/ShieldFilledIcon.js +0 -15
  759. package/cjs/icons/ShieldIcon.js +0 -15
  760. package/cjs/icons/SlashIcon.js +0 -15
  761. package/cjs/icons/SparklesIcon.js +0 -15
  762. package/cjs/icons/SqlIcon.js +0 -15
  763. package/cjs/icons/StatsIcon.js +0 -15
  764. package/cjs/icons/StopIcon.js +0 -15
  765. package/cjs/icons/StringIcon.js +0 -15
  766. package/cjs/icons/SwitchIcon.js +0 -15
  767. package/cjs/icons/TableIcon.js +0 -15
  768. package/cjs/icons/ThumbsDownIcon.js +0 -15
  769. package/cjs/icons/ThumbsUpIcon.js +0 -15
  770. package/cjs/icons/ThunderboltCrossedIcon.js +0 -15
  771. package/cjs/icons/ThunderboltFilledIcon.js +0 -15
  772. package/cjs/icons/ThunderboltIcon.js +0 -15
  773. package/cjs/icons/TimeIcon.js +0 -15
  774. package/cjs/icons/UnlockIcon.js +0 -15
  775. package/cjs/icons/UpIcon.js +0 -15
  776. package/cjs/icons/UserGroupIcon.js +0 -15
  777. package/cjs/icons/UserIcon.js +0 -15
  778. package/cjs/icons/UserLockIcon.js +0 -15
  779. package/cjs/icons/ViewIcon.js +0 -15
  780. package/cjs/icons/WarningFilledIcon.js +0 -15
  781. package/cjs/icons/WarningIcon.js +0 -15
  782. package/cjs/icons/add-new-icon.js +0 -130
  783. package/cjs/icons/index.js +0 -199
  784. package/cjs/icons/wrap-icon.js +0 -21
  785. package/cjs/index.js +0 -160
  786. package/cjs/provider.js +0 -60
  787. package/cjs/providers/TrackingProvider.js +0 -31
  788. package/cjs/services/notification.js +0 -70
  789. package/cjs/shared/form.js +0 -11
  790. package/cjs/shared/index.js +0 -26
  791. package/cjs/stories/Form.stories.js +0 -92
  792. package/cjs/stories/FormFieldArgs.js +0 -360
  793. package/cjs/stories/Layout.stories.js +0 -29
  794. package/cjs/stories/Tasty.stories.js +0 -23
  795. package/cjs/stories/components/ConfirmDeletionDialogForm.js +0 -35
  796. package/cjs/stories/components/DialogFormApp.js +0 -18
  797. package/cjs/stories/components/StyledButton.js +0 -37
  798. package/cjs/stories/lists/baseProps.js +0 -42
  799. package/cjs/tasty/index.js +0 -41
  800. package/cjs/tasty/providers/BreakpointsProvider.js +0 -20
  801. package/cjs/tasty/styles/align.js +0 -23
  802. package/cjs/tasty/styles/border.js +0 -57
  803. package/cjs/tasty/styles/boxShadow.combinator.js +0 -25
  804. package/cjs/tasty/styles/color.js +0 -42
  805. package/cjs/tasty/styles/createStyle.js +0 -71
  806. package/cjs/tasty/styles/dimension.js +0 -88
  807. package/cjs/tasty/styles/display.js +0 -16
  808. package/cjs/tasty/styles/fade.js +0 -41
  809. package/cjs/tasty/styles/fill.js +0 -41
  810. package/cjs/tasty/styles/flow.js +0 -23
  811. package/cjs/tasty/styles/font.js +0 -26
  812. package/cjs/tasty/styles/fontStyle.js +0 -22
  813. package/cjs/tasty/styles/gap.js +0 -55
  814. package/cjs/tasty/styles/groupRadius.js +0 -63
  815. package/cjs/tasty/styles/height.js +0 -18
  816. package/cjs/tasty/styles/index.js +0 -32
  817. package/cjs/tasty/styles/inset.js +0 -35
  818. package/cjs/tasty/styles/justify.js +0 -23
  819. package/cjs/tasty/styles/list.js +0 -89
  820. package/cjs/tasty/styles/margin.js +0 -49
  821. package/cjs/tasty/styles/marginBlock.js +0 -35
  822. package/cjs/tasty/styles/marginInline.js +0 -39
  823. package/cjs/tasty/styles/outline.js +0 -27
  824. package/cjs/tasty/styles/padding.js +0 -50
  825. package/cjs/tasty/styles/paddingBlock.js +0 -39
  826. package/cjs/tasty/styles/paddingInline.js +0 -39
  827. package/cjs/tasty/styles/predefined.js +0 -171
  828. package/cjs/tasty/styles/preset.js +0 -76
  829. package/cjs/tasty/styles/radius.js +0 -75
  830. package/cjs/tasty/styles/reset.js +0 -91
  831. package/cjs/tasty/styles/shadow.js +0 -29
  832. package/cjs/tasty/styles/styledScrollbar.js +0 -56
  833. package/cjs/tasty/styles/transition.js +0 -89
  834. package/cjs/tasty/styles/types.js +0 -11
  835. package/cjs/tasty/styles/width.js +0 -18
  836. package/cjs/tasty/tasty.js +0 -183
  837. package/cjs/tasty/types.js +0 -11
  838. package/cjs/tasty/utils/cache-wrapper.js +0 -34
  839. package/cjs/tasty/utils/case-converter.js +0 -15
  840. package/cjs/tasty/utils/colors.js +0 -18
  841. package/cjs/tasty/utils/dotize.js +0 -200
  842. package/cjs/tasty/utils/filterBaseProps.js +0 -70
  843. package/cjs/tasty/utils/getDisplayName.js +0 -19
  844. package/cjs/tasty/utils/index.js +0 -45
  845. package/cjs/tasty/utils/mergeStyles.js +0 -35
  846. package/cjs/tasty/utils/modAttrs.js +0 -26
  847. package/cjs/tasty/utils/renderStyles.js +0 -133
  848. package/cjs/tasty/utils/responsive.js +0 -71
  849. package/cjs/tasty/utils/string.js +0 -15
  850. package/cjs/tasty/utils/styles.js +0 -854
  851. package/cjs/tasty/utils/warnings.js +0 -36
  852. package/cjs/tokens.js +0 -255
  853. package/cjs/type-checks.js +0 -19
  854. package/cjs/utils/ResizeSensor.js +0 -324
  855. package/cjs/utils/modules.js +0 -15
  856. package/cjs/utils/promise.js +0 -17
  857. package/cjs/utils/random.js +0 -17
  858. package/cjs/utils/range.js +0 -15
  859. package/cjs/utils/react/Slots.js +0 -48
  860. package/cjs/utils/react/chain.js +0 -24
  861. package/cjs/utils/react/index.js +0 -32
  862. package/cjs/utils/react/interactions.js +0 -30
  863. package/cjs/utils/react/isTextOnly.js +0 -16
  864. package/cjs/utils/react/mapProps.js +0 -29
  865. package/cjs/utils/react/mergeProps.js +0 -71
  866. package/cjs/utils/react/nullableValue.js +0 -45
  867. package/cjs/utils/react/useCombinedRefs.js +0 -29
  868. package/cjs/utils/react/useId.js +0 -87
  869. package/cjs/utils/react/useLayoutEffect.js +0 -40
  870. package/cjs/utils/react/useViewportSize.js +0 -56
  871. package/cjs/utils/react/wrapNodeIfPlain.js +0 -21
  872. package/cjs/utils/transitions.js +0 -67
  873. package/cjs/utils/tree.js +0 -27
  874. package/cjs/utils/warnings.js +0 -57
  875. package/cjs/version.js +0 -25
@@ -1,47 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.NotificationsList = NotificationsList;
11
- const jsx_runtime_1 = require("react/jsx-runtime");
12
- const react_1 = require("react");
13
- const react_stately_1 = require("react-stately");
14
- const tasty_1 = require("../../../../tasty");
15
- const hooks_1 = require("../hooks");
16
- const NotificationsListItem_1 = require("./NotificationsListItem");
17
- const NotificationListContainer = (0, tasty_1.tasty)({
18
- styles: { boxSizing: 'border-box', width: '100%' },
19
- });
20
- /**
21
- * Provides ability to show notifications as a list.
22
- *
23
- * @example
24
- * <NotificationsList>
25
- * <NotificationsList.Item key="id_1" type="success" description="Edit and test your schema without affecting the production." />
26
- * <NotificationsList.Item key="id_2" type="attention" description="Edit and test your schema without affecting the production." />
27
- * <NotificationsList.Item key="id_3" type="danger" description="Edit and test your schema without affecting the production." />
28
- * </NotificationsList>
29
- *
30
- * @example Removing a notification
31
- * <NotificationsList onDismiss={(id) => removeNotification(id)}>
32
- * <NotificationsList.Item key="id_1" type="success" description="Edit and test your schema without affecting the production." />
33
- * </NotificationsList>
34
- */
35
- function NotificationsList(props) {
36
- const { items, children, onDismiss } = props;
37
- const ref = (0, react_1.useRef)(null);
38
- const { state, listProps } = (0, hooks_1.useNotificationsList)({
39
- items,
40
- children,
41
- ref,
42
- });
43
- return ((0, jsx_runtime_1.jsx)(NotificationListContainer, { ref: ref, ...listProps, children: [...state.collection].map((item) => ((0, jsx_runtime_1.jsx)(NotificationsListItem_1.NotificationListItem, { item: item, state: state, onDismiss: onDismiss }, item.key))) }));
44
- }
45
- NotificationsList.Item = react_stately_1.Item;
46
-
47
-
@@ -1,32 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.NotificationListItem = NotificationListItem;
11
- const jsx_runtime_1 = require("react/jsx-runtime");
12
- const react_1 = require("react");
13
- const hooks_1 = require("../hooks");
14
- const tasty_1 = require("../../../../tasty");
15
- const _internal_1 = require("../../../../_internal");
16
- const NotificationView_1 = require("../NotificationView");
17
- const NotificationListItemWrap = (0, tasty_1.tasty)({
18
- styles: { borderBottom: { '': '1bw solid #border', ':last-child': 'none' } },
19
- });
20
- /**
21
- * @internal This component is not intended to be used
22
- */
23
- function NotificationListItem(props) {
24
- const { item, state, onDismiss } = props;
25
- const { key, props: notificationProps } = item;
26
- const ref = (0, react_1.useRef)(null);
27
- const onDismissEvent = (0, _internal_1.useEvent)(() => onDismiss?.(key));
28
- const { itemProps } = (0, hooks_1.useNotificationListItem)({ ref, key, state });
29
- return ((0, jsx_runtime_1.jsx)(NotificationListItemWrap, { children: (0, jsx_runtime_1.jsx)(NotificationView_1.NotificationView, { ref: ref, attributes: itemProps, ...notificationProps, isDismissible: !!onDismiss, onDismiss: onDismissEvent }) }));
30
- }
31
-
32
-
@@ -1,26 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
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);
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
21
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- __exportStar(require("./NotificationsList"), exports);
25
-
26
-
@@ -1,11 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
-
11
-
@@ -1,30 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
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);
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
21
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- __exportStar(require("./use-notifications-list"), exports);
25
- __exportStar(require("./use-notification-list-item"), exports);
26
- __exportStar(require("./use-notifications-api"), exports);
27
- __exportStar(require("./use-notifications-observer"), exports);
28
- __exportStar(require("./types"), exports);
29
-
30
-
@@ -1,11 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
-
11
-
@@ -1,18 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.useNotificationListItem = useNotificationListItem;
11
- const selection_1 = require("@react-aria/selection");
12
- function useNotificationListItem(props) {
13
- const { ref, key, state: { selectionManager }, } = props;
14
- // @ts-ignore
15
- return (0, selection_1.useSelectableItem)({ ref, key, selectionManager });
16
- }
17
-
18
-
@@ -1,23 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- var __importDefault = (this && this.__importDefault) || function (mod) {
10
- return (mod && mod.__esModule) ? mod : { "default": mod };
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.useNotificationsApi = useNotificationsApi;
14
- const react_1 = require("react");
15
- const tiny_invariant_1 = __importDefault(require("tiny-invariant"));
16
- const NotificationsContext_1 = require("../NotificationsContext");
17
- function useNotificationsApi() {
18
- const context = (0, react_1.useContext)(NotificationsContext_1.NotificationsContext);
19
- (0, tiny_invariant_1.default)(context !== null, "You can't use Notifications outside of the <Root /> component. Please, check if your component is descendant of <Root/> component");
20
- return context.api;
21
- }
22
-
23
-
@@ -1,32 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.useNotificationsList = useNotificationsList;
11
- const react_stately_1 = require("react-stately");
12
- const selection_1 = require("@react-aria/selection");
13
- function useNotificationsList(props) {
14
- const { ref, children, items } = props;
15
- const state = (0, react_stately_1.useListState)({
16
- selectionMode: 'none',
17
- children: children,
18
- items: items,
19
- suppressTextValueWarning: true,
20
- });
21
- const { listProps } = (0, selection_1.useSelectableList)({
22
- ref,
23
- allowsTabNavigation: true,
24
- ...state,
25
- });
26
- return {
27
- listProps,
28
- state,
29
- };
30
- }
31
-
32
-
@@ -1,20 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.useNotificationsObserver = useNotificationsObserver;
11
- const react_1 = require("react");
12
- const _internal_1 = require("../../../../_internal");
13
- const NotificationsProvider_1 = require("../NotificationsContext/NotificationsProvider");
14
- function useNotificationsObserver(callback) {
15
- const { addOnDismissListener } = (0, react_1.useContext)(NotificationsProvider_1.NotificationsContext) ?? {};
16
- const callbackEvent = (0, _internal_1.useEvent)(callback);
17
- (0, react_1.useEffect)(() => addOnDismissListener?.(callbackEvent), [addOnDismissListener]);
18
- }
19
-
20
-
@@ -1,34 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
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);
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
21
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- exports.NotificationAction = exports.NotificationsProvider = void 0;
25
- var NotificationsContext_1 = require("./NotificationsContext");
26
- Object.defineProperty(exports, "NotificationsProvider", { enumerable: true, get: function () { return NotificationsContext_1.NotificationsProvider; } });
27
- __exportStar(require("./NotificationsList"), exports);
28
- __exportStar(require("./hooks"), exports);
29
- var NotificationView_1 = require("./NotificationView");
30
- Object.defineProperty(exports, "NotificationAction", { enumerable: true, get: function () { return NotificationView_1.NotificationAction; } });
31
- __exportStar(require("./Dialog"), exports);
32
- __exportStar(require("./Notification"), exports);
33
-
34
-
@@ -1,11 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
-
11
-
@@ -1,86 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- var __importDefault = (this && this.__importDefault) || function (mod) {
10
- return (mod && mod.__esModule) ? mod : { "default": mod };
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.Notification = Notification;
14
- const jsx_runtime_1 = require("react/jsx-runtime");
15
- const actions_1 = require("../../actions");
16
- const Card_1 = require("../../content/Card/Card");
17
- const Block_1 = require("../../Block");
18
- const themes_1 = __importDefault(require("../../../data/themes"));
19
- const tasty_1 = require("../../../tasty");
20
- const icons_1 = require("../../../icons");
21
- const NotificationElement = (0, tasty_1.tasty)(Card_1.Card, {
22
- role: 'region',
23
- styles: {
24
- display: 'grid',
25
- color: '#dark-02',
26
- padding: '.5x',
27
- shadow: '0 5px 15px #dark.10',
28
- border: false,
29
- margin: '1x bottom',
30
- radius: '1x',
31
- gridColumns: 'auto 1fr auto',
32
- placeItems: 'center start',
33
- gap: '2x',
34
- preset: 't3',
35
- Icon: {
36
- display: 'flex',
37
- radius: '1r',
38
- width: '5x',
39
- height: '5x',
40
- placeContent: 'center',
41
- placeItems: 'center',
42
- preset: 't2',
43
- color: {
44
- '': '#dark-02',
45
- ...Object.keys(themes_1.default).reduce((map, theme) => {
46
- map[`[data-theme="${theme}"]`] = themes_1.default[theme].color;
47
- return map;
48
- }, {}),
49
- },
50
- fill: {
51
- '': '#clear',
52
- ...Object.keys(themes_1.default).reduce((map, theme) => {
53
- map[`[data-theme="${theme}"]`] = themes_1.default[theme].fill;
54
- return map;
55
- }, {}),
56
- },
57
- },
58
- },
59
- });
60
- const CloseButton = (0, tasty_1.tasty)(actions_1.Action, {
61
- styles: {
62
- color: { '': '#dark-02', hovered: '#purple' },
63
- width: '5x',
64
- height: '5x',
65
- label: 'Close',
66
- },
67
- });
68
- function Notification(allProps) {
69
- let { theme, type, children, onClose, ...props } = allProps;
70
- theme = theme || type || 'note';
71
- let Icon;
72
- switch (theme) {
73
- case 'success':
74
- Icon = icons_1.CheckIcon;
75
- break;
76
- case 'danger':
77
- Icon = icons_1.ExclamationIcon;
78
- break;
79
- default:
80
- Icon = icons_1.InfoIcon;
81
- break;
82
- }
83
- return ((0, jsx_runtime_1.jsxs)(NotificationElement, { ...props, "data-theme": theme, children: [(0, jsx_runtime_1.jsx)("div", { "data-element": "Icon", children: (0, jsx_runtime_1.jsx)(Icon, {}) }), (0, jsx_runtime_1.jsx)(Block_1.Block, { children: children }), (0, jsx_runtime_1.jsx)(CloseButton, { onPress: onClose, children: (0, jsx_runtime_1.jsx)(icons_1.CloseIcon, {}) })] }));
84
- }
85
-
86
-
@@ -1,34 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.OverlayWrapper = OverlayWrapper;
11
- const jsx_runtime_1 = require("react/jsx-runtime");
12
- const react_transition_group_1 = require("react-transition-group");
13
- const react_1 = require("react");
14
- const portal_1 = require("../portal");
15
- function OverlayWrapper({ isOpen, placement, minOffset, minScale, children, container = null, }) {
16
- const containerRef = (0, react_1.useRef)(container);
17
- const options = {};
18
- if (typeof minOffset === 'number') {
19
- minOffset = `${minOffset}px`;
20
- }
21
- if (placement != null) {
22
- options.placement = placement;
23
- }
24
- if (minScale != null) {
25
- options.minScale = minScale;
26
- }
27
- if (minOffset != null) {
28
- options.minOffset = minOffset;
29
- }
30
- const contents = ((0, jsx_runtime_1.jsx)(react_transition_group_1.CSSTransition, { unmountOnExit: true, in: isOpen, timeout: 180, classNames: "cube-overlay-transition", children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children }) }));
31
- return (0, jsx_runtime_1.jsx)(portal_1.Portal, { root: containerRef, children: contents });
32
- }
33
-
34
-
@@ -1,40 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.Toast = Toast;
11
- const jsx_runtime_1 = require("react/jsx-runtime");
12
- const react_1 = require("react");
13
- const _internal_1 = require("../../../_internal");
14
- const useId_1 = require("../../../utils/react/useId");
15
- const use_toasts_api_1 = require("./use-toasts-api");
16
- function Toast(props) {
17
- const { id: propsId, disableRemoveOnUnmount } = props;
18
- const defaultId = (0, useId_1.useId)();
19
- const disableRemoveOnUnmountRef = (0, _internal_1.useSyncRef)(disableRemoveOnUnmount);
20
- const { toast, update, remove } = (0, use_toasts_api_1.useToastsApi)();
21
- const id = propsId ?? defaultId;
22
- const removeNotification = (0, _internal_1.useEvent)((id) => disableRemoveOnUnmountRef.current ? void 0 : remove(id));
23
- (0, react_1.useEffect)(() => {
24
- toast({ id, ...props });
25
- }, [id]);
26
- (0, react_1.useEffect)(() => () => removeNotification(id), [id]);
27
- (0, react_1.useEffect)(() => update(id, props));
28
- return null;
29
- }
30
- Toast.Success = function ToastSuccess(props) {
31
- return (0, jsx_runtime_1.jsx)(Toast, { type: "success", ...props });
32
- };
33
- Toast.Danger = function ToastDanger(props) {
34
- return (0, jsx_runtime_1.jsx)(Toast, { type: "danger", ...props });
35
- };
36
- Toast.Attention = function ToastAttention(props) {
37
- return (0, jsx_runtime_1.jsx)(Toast, { type: "attention", ...props });
38
- };
39
-
40
-
@@ -1,27 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
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);
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
21
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- __exportStar(require("./use-toasts-api"), exports);
25
- __exportStar(require("./Toast"), exports);
26
-
27
-
@@ -1,11 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
-
11
-
@@ -1,45 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.useToastsApi = useToastsApi;
11
- const react_1 = require("react");
12
- const react_is_1 = require("react-is");
13
- const NewNotifications_1 = require("../NewNotifications");
14
- function useToastsApi() {
15
- const { notify, update, remove } = (0, NewNotifications_1.useNotificationsApi)();
16
- const toast = (0, react_1.useMemo)(() => Object.assign((props) => notify({
17
- putNotificationInDropdownOnDismiss: false,
18
- ...unwrapProps(props),
19
- }), {
20
- success: (props) => toast({ type: 'success', ...unwrapProps(props) }),
21
- danger: (props) => toast({ type: 'danger', ...unwrapProps(props) }),
22
- attention: (props) => toast({ type: 'attention', ...unwrapProps(props) }),
23
- }), []);
24
- return { toast, update, remove };
25
- }
26
- function unwrapProps(props) {
27
- return {
28
- ...(propsIsToastProps(props)
29
- ? {
30
- isDismissible: props.duration !== null,
31
- duration: 5_000,
32
- ...props,
33
- }
34
- : { description: props, isDismissible: true, duration: 5_000 }),
35
- };
36
- }
37
- function propsIsToastProps(props) {
38
- const isReactNode = (0, react_is_1.isElement)(props) ||
39
- (0, react_is_1.isFragment)(props) ||
40
- typeof props === 'string' ||
41
- typeof props === 'number';
42
- return !isReactNode;
43
- }
44
-
45
-
@@ -1,111 +0,0 @@
1
- /**
2
- * @license MIT
3
- * author: Cube Dev Team
4
- * @cube-dev/ui-kit v0.56.3
5
- * Released under the MIT license.
6
- */
7
-
8
- "use strict";
9
- var __importDefault = (this && this.__importDefault) || function (mod) {
10
- return (mod && mod.__esModule) ? mod : { "default": mod };
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.Tooltip = void 0;
14
- const jsx_runtime_1 = require("react/jsx-runtime");
15
- const react_1 = require("react");
16
- const utils_1 = require("@react-spectrum/utils");
17
- const react_aria_1 = require("react-aria");
18
- const styled_components_1 = __importDefault(require("styled-components"));
19
- const transitions_1 = require("../../../utils/transitions");
20
- const tasty_1 = require("../../../tasty");
21
- const react_2 = require("../../../utils/react");
22
- const context_1 = require("./context");
23
- const TooltipElement = (0, tasty_1.tasty)({
24
- styles: {
25
- display: 'block',
26
- fill: '#dark.85',
27
- color: '#white',
28
- width: 'initial 36x max-content',
29
- radius: true,
30
- padding: '.75x 1x',
31
- preset: 't3',
32
- backdropFilter: 'blur(.5x)',
33
- whiteSpace: 'pre-line',
34
- pointerEvents: {
35
- '': 'none',
36
- material: 'auto',
37
- },
38
- },
39
- });
40
- const TooltipTipElement = (0, tasty_1.tasty)({
41
- styles: {
42
- position: 'absolute',
43
- width: '1px',
44
- height: '1px',
45
- border: '.5x #clear',
46
- borderTop: '.5x solid #dark.85',
47
- borderBottom: '0',
48
- top: {
49
- '': 'initial',
50
- '[data-placement="left"] | [data-placement="right"]': '50%',
51
- '[data-placement="top"]': '100%',
52
- },
53
- left: {
54
- '': 'initial',
55
- '[data-placement="top"] | [data-placement="bottom"]': '50%',
56
- '[data-placement="left"]': '100%',
57
- },
58
- right: {
59
- '': 'initial',
60
- '[data-placement="right"]': '100%',
61
- },
62
- bottom: {
63
- '': 'initial',
64
- '[data-placement="bottom"]': '100%',
65
- },
66
- transform: {
67
- '': 'translate((-.375x - 1px), 0)',
68
- '[data-placement="bottom"]': 'translate((-.375x - 1px), 0) rotate(180deg)',
69
- '[data-placement="left"]': 'translate(-.25x, -.25x) rotate(270deg)',
70
- '[data-placement="right"]': 'translate(.25x, -.25x) rotate(90deg)',
71
- },
72
- transition: 'theme',
73
- },
74
- });
75
- const StyledTooltipElement = (0, styled_components_1.default)(TooltipElement) `
76
- ${(props) => {
77
- return (0, transitions_1.getOverlayTransitionCSS)({
78
- placement: props?.['data-position'],
79
- minOffset: '0',
80
- minScale: 1,
81
- });
82
- }}
83
- `;
84
- function Tooltip(props, ref) {
85
- let { ref: overlayRef, arrowProps, state, overlayProps, minOffset, minScale, ...tooltipProviderProps } = (0, react_1.useContext)(context_1.TooltipContext);
86
- let defaultRef = (0, react_1.useRef)(null);
87
- const finalOverlayRef = overlayRef ?? defaultRef;
88
- props = (0, react_2.mergeProps)(props, tooltipProviderProps);
89
- let { placement = 'top', isOpen, tipStyles, showIcon, isMaterial, ...otherProps } = props;
90
- const styles = (0, tasty_1.extractStyles)(otherProps, tasty_1.CONTAINER_STYLES);
91
- let { tooltipProps } = (0, react_aria_1.useTooltip)(props, state);
92
- // Sync ref with overlayRef from context.
93
- (0, react_1.useImperativeHandle)(ref, () => (0, utils_1.createDOMRef)(finalOverlayRef));
94
- if (typeof minOffset === 'number') {
95
- minOffset = `${minOffset}px`;
96
- }
97
- if (typeof minScale === 'number') {
98
- minScale = String(minScale);
99
- }
100
- return ((0, jsx_runtime_1.jsxs)(StyledTooltipElement, { ...tooltipProps, ...overlayProps, ref: overlayRef, styles: styles, mods: {
101
- open: isOpen,
102
- material: isMaterial,
103
- }, "data-min-offset": minOffset, "data-min-scale": minScale, "data-placement": placement, children: [props.children, (0, jsx_runtime_1.jsx)(TooltipTipElement, { "data-placement": placement, styles: tipStyles, ...arrowProps })] }));
104
- }
105
- /**
106
- * Display container for Tooltip content. Has a directional arrow dependent on its placement.
107
- */
108
- let _Tooltip = (0, react_1.forwardRef)(Tooltip);
109
- exports.Tooltip = _Tooltip;
110
-
111
-