twenty-ui 2.45.0 → 2.46.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 (544) hide show
  1. package/README.md +24 -18
  2. package/dist/{AllIcons-CFMhMGzh.js → AllIcons-CLbeNZLM.js} +1 -1
  3. package/dist/{AllIcons-Cz8pObev.cjs → AllIcons-C_27esn4.cjs} +1 -1
  4. package/dist/Avatar-DK78lGPU.cjs +1 -0
  5. package/dist/Avatar-DnJMCjoR.js +72 -0
  6. package/dist/Button-DQUIhQAm.js +71 -0
  7. package/dist/Button-DkijwPOi.cjs +1 -0
  8. package/dist/Dropdown-CZVEnq0N.js +774 -0
  9. package/dist/Dropdown-Ckcy6ZLF.cjs +1 -0
  10. package/dist/{Heading-CQqDjovJ.cjs → Heading-CTRYClCO.cjs} +1 -1
  11. package/dist/{Heading-DvxTKEaL.js → Heading-pXllCJCO.js} +4 -4
  12. package/dist/Input-D3-FH2Zz.js +49 -0
  13. package/dist/Input-W2vWPc9r.cjs +1 -0
  14. package/dist/InputGroup-DEozqrQd.cjs +1 -0
  15. package/dist/InputGroup-wM9PT12U.js +51 -0
  16. package/dist/ListItem-BVJEFywj.js +86 -0
  17. package/dist/ListItem-fFbJhi6M.cjs +1 -0
  18. package/dist/ListItem.module-Ar-vZ7Qu.js +34 -0
  19. package/dist/ListItem.module-B8NeDH1P.cjs +1 -0
  20. package/dist/Loader-BBMC4fe6.js +29 -0
  21. package/dist/Loader-GFhTL4Aw.cjs +1 -0
  22. package/dist/MenuSeparator-BdPwyE9f.js +25 -0
  23. package/dist/MenuSeparator-wRxC7b_c.cjs +1 -0
  24. package/dist/OverflowingTextWithTooltip-CXHiE4BG.cjs +1 -0
  25. package/dist/OverflowingTextWithTooltip-wRABzEWd.js +199 -0
  26. package/dist/Popover-C-JjVGKl.js +57 -0
  27. package/dist/Popover-D_S9MGZm.cjs +1 -0
  28. package/dist/ProgressBar-BHiYQW6F.cjs +1 -0
  29. package/dist/ProgressBar-B_GDjg9S.js +83 -0
  30. package/dist/ProgressRing-CHLADu5q.cjs +1 -0
  31. package/dist/ProgressRing-Cwqo4hWZ.js +57 -0
  32. package/dist/ResizeHandle-BGboQXCx.cjs +1 -0
  33. package/dist/ResizeHandle-X2NdHzqt.js +191 -0
  34. package/dist/Separator-0LzwPfOn.js +10 -0
  35. package/dist/Separator-UJVlrTzw.cjs +1 -0
  36. package/dist/Shortcut-CWRh02hg.js +71 -0
  37. package/dist/Shortcut-oYvcja2P.cjs +1 -0
  38. package/dist/Switch-Ck8QAAbb.cjs +1 -0
  39. package/dist/Switch-DOd0gh7W.js +25 -0
  40. package/dist/TintedIconTile-BZgRO7cg.js +40 -0
  41. package/dist/TintedIconTile-Dp4uH0Up.cjs +1 -0
  42. package/dist/VisuallyHidden-B-n4x1KY.cjs +1 -0
  43. package/dist/VisuallyHidden-CFZP7ybO.js +14 -0
  44. package/dist/components/code-editor/CodeEditorHeader/CodeEditorHeader.d.ts +1 -1
  45. package/dist/components/code-editor/CodeEditorHeader/types/CodeEditorHeaderProps.d.ts +6 -4
  46. package/dist/components/code-editor.cjs +1 -1
  47. package/dist/components/code-editor.mjs +76 -69
  48. package/dist/components/data-display/AvatarGroup/AvatarGroup.d.ts +1 -1
  49. package/dist/components/data-display/AvatarGroup/__stories__/AvatarGroupIdentityExample.d.ts +1 -0
  50. package/dist/components/data-display/AvatarGroup/__stories__/AvatarGroupStatefulAvatar.d.ts +3 -0
  51. package/dist/components/data-display/AvatarGroup/types/AvatarGroupProps.d.ts +4 -4
  52. package/dist/components/data-display/CommandBlock/CommandBlock.d.ts +2 -7
  53. package/dist/components/data-display/CommandBlock/types/CommandBlockProps.d.ts +6 -0
  54. package/dist/components/data-display/MetricRow/MetricRow.d.ts +1 -1
  55. package/dist/components/data-display/MetricRow/types/MetricRowProps.d.ts +2 -3
  56. package/dist/components/data-display/TintedIconTile/TintedIconTile.d.ts +1 -1
  57. package/dist/components/data-display/TintedIconTile/types/TintedIconTileProps.d.ts +4 -5
  58. package/dist/components/data-display/index.d.ts +17 -0
  59. package/dist/components/data-display.cjs +1 -0
  60. package/dist/components/data-display.mjs +11 -0
  61. package/dist/components/feedback/Callout/Callout.d.ts +3 -2
  62. package/dist/components/feedback/Callout/internal/CalloutAction.d.ts +2 -0
  63. package/dist/components/feedback/Callout/internal/CalloutComponent.d.ts +2 -0
  64. package/dist/components/feedback/Callout/types/CalloutActionProps.d.ts +2 -0
  65. package/dist/components/feedback/Callout/types/CalloutColor.d.ts +2 -0
  66. package/dist/components/feedback/Callout/types/CalloutProps.d.ts +14 -12
  67. package/dist/components/feedback/Callout/types/CalloutState.d.ts +8 -0
  68. package/dist/components/feedback/Callout/types/CalloutStatus.d.ts +2 -0
  69. package/dist/components/feedback/Callout/types/CalloutVariant.d.ts +1 -1
  70. package/dist/components/feedback/InlineBanner/InlineBanner.d.ts +3 -2
  71. package/dist/components/feedback/InlineBanner/internal/InlineBannerComponent.d.ts +2 -0
  72. package/dist/components/feedback/InlineBanner/types/InlineBannerLayout.d.ts +1 -0
  73. package/dist/components/feedback/InlineBanner/types/InlineBannerProps.d.ts +4 -10
  74. package/dist/components/feedback/Toast/hooks/useToast.d.ts +2 -2
  75. package/dist/components/feedback/index.d.ts +20 -0
  76. package/dist/components/feedback.cjs +1 -0
  77. package/dist/components/feedback.mjs +9 -0
  78. package/dist/components/index.d.ts +6 -85
  79. package/dist/components/input/CountrySelect/CountrySelect.d.ts +2 -0
  80. package/dist/components/input/CountrySelect/__stories__/COUNTRY_CHOICES.d.ts +5 -0
  81. package/dist/components/input/CountrySelect/__stories__/CountrySelectAvailabilityExample.d.ts +8 -0
  82. package/dist/components/input/CountrySelect/__stories__/CountrySelectExample.d.ts +2 -0
  83. package/dist/components/input/CountrySelect/__stories__/assertCountryAvailabilityReset.d.ts +5 -0
  84. package/dist/components/input/CountrySelect/__stories__/waitForCountryPopup.d.ts +4 -0
  85. package/dist/components/input/CountrySelect/internal/CountrySelectAvailabilityEffect.d.ts +7 -0
  86. package/dist/components/input/CountrySelect/internal/CountrySelectOptions.d.ts +11 -0
  87. package/dist/components/input/CountrySelect/internal/getCountrySelectLabelledBy.d.ts +5 -0
  88. package/dist/components/input/CountrySelect/types/CountryChoice.d.ts +6 -0
  89. package/dist/components/input/CountrySelect/types/CountrySelectProps.d.ts +15 -0
  90. package/dist/components/input/CurrencyPicker/CurrencyPicker.d.ts +4 -0
  91. package/dist/components/input/CurrencyPicker/__stories__/CurrencyPickerExample.d.ts +11 -0
  92. package/dist/components/input/CurrencyPicker/__stories__/currencyPickerStoryOptions.d.ts +9 -0
  93. package/dist/components/input/CurrencyPicker/__stories__/openCurrencyPicker.d.ts +8 -0
  94. package/dist/components/input/CurrencyPicker/internal/CurrencyPickerOptions.d.ts +2 -0
  95. package/dist/components/input/CurrencyPicker/internal/CurrencyPickerTrigger.d.ts +2 -0
  96. package/dist/components/input/CurrencyPicker/internal/getCurrencyPickerLabel.d.ts +2 -0
  97. package/dist/components/input/CurrencyPicker/types/CurrencyPickerOption.d.ts +5 -0
  98. package/dist/components/input/CurrencyPicker/types/CurrencyPickerOptionsProps.d.ts +10 -0
  99. package/dist/components/input/CurrencyPicker/types/CurrencyPickerTriggerProps.d.ts +4 -0
  100. package/dist/components/input/IconButton/types/IconButtonProps.d.ts +8 -3
  101. package/dist/components/input/ImageInput/ImageInput.d.ts +1 -1
  102. package/dist/components/input/ImageInput/types/ImageInputProps.d.ts +4 -4
  103. package/dist/components/input/PhoneCountryPicker/PhoneCountryPicker.d.ts +4 -0
  104. package/dist/components/input/PhoneCountryPicker/__stories__/PhoneCountryPickerExample.d.ts +12 -0
  105. package/dist/components/input/PhoneCountryPicker/__stories__/openPhoneCountryPicker.d.ts +8 -0
  106. package/dist/components/input/PhoneCountryPicker/__stories__/phoneCountryOptions.d.ts +2 -0
  107. package/dist/components/input/PhoneCountryPicker/__stories__/phoneCountryPickerStoryA11yParameters.d.ts +12 -0
  108. package/dist/components/input/PhoneCountryPicker/internal/PhoneCountryPickerOptions.d.ts +2 -0
  109. package/dist/components/input/PhoneCountryPicker/internal/PhoneCountryPickerTrigger.d.ts +2 -0
  110. package/dist/components/input/PhoneCountryPicker/internal/getPhoneCountryOptionLabel.d.ts +2 -0
  111. package/dist/components/input/PhoneCountryPicker/types/PhoneCountryOption.d.ts +7 -0
  112. package/dist/components/input/PhoneCountryPicker/types/PhoneCountryPickerOptionsProps.d.ts +8 -0
  113. package/dist/components/input/PhoneCountryPicker/types/PhoneCountryPickerTriggerProps.d.ts +6 -0
  114. package/dist/components/input/index.d.ts +23 -0
  115. package/dist/components/input.cjs +1 -0
  116. package/dist/components/input.mjs +13 -0
  117. package/dist/components/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.d.ts +2 -9
  118. package/dist/components/layout/AnimatedIconCrossfade/types/AnimatedIconCrossfadeProps.d.ts +7 -0
  119. package/dist/components/layout/Section/Section.d.ts +2 -2
  120. package/dist/components/layout/Section/internal/SectionHeader.d.ts +1 -1
  121. package/dist/components/layout/Section/types/SectionHeaderProps.d.ts +3 -2
  122. package/dist/components/layout/index.d.ts +7 -0
  123. package/dist/components/layout.cjs +1 -0
  124. package/dist/components/layout.mjs +6 -0
  125. package/dist/components/navigation/Dropdown/Dropdown.d.ts +13 -13
  126. package/dist/components/navigation/Dropdown/internal/DropdownActionItem.d.ts +1 -1
  127. package/dist/components/navigation/Dropdown/internal/DropdownBack.d.ts +1 -1
  128. package/dist/components/navigation/Dropdown/internal/DropdownContent.d.ts +1 -1
  129. package/dist/components/navigation/Dropdown/internal/DropdownItemOwner.d.ts +4 -0
  130. package/dist/components/navigation/Dropdown/internal/DropdownItemWithActions.d.ts +7 -0
  131. package/dist/components/navigation/Dropdown/internal/DropdownOptionItem.d.ts +1 -1
  132. package/dist/components/navigation/Dropdown/internal/DropdownSection.d.ts +1 -1
  133. package/dist/components/navigation/Dropdown/internal/getNativeDisabled.d.ts +4 -0
  134. package/dist/components/navigation/Dropdown/internal/getNextDropdownGridItem.d.ts +7 -0
  135. package/dist/components/navigation/Dropdown/internal/getNextDropdownItem.d.ts +2 -1
  136. package/dist/components/navigation/Dropdown/internal/useDropdownItemFocus.d.ts +2 -1
  137. package/dist/components/navigation/Dropdown/types/DropdownActionItemProps.d.ts +1 -1
  138. package/dist/components/navigation/Dropdown/types/DropdownContentProps.d.ts +3 -1
  139. package/dist/components/navigation/Dropdown/types/DropdownDismissEvent.d.ts +1 -0
  140. package/dist/components/navigation/Dropdown/types/DropdownSectionProps.d.ts +1 -0
  141. package/dist/components/navigation/Dropdown/types/DropdownSubmenuTriggerProps.d.ts +1 -1
  142. package/dist/components/navigation/Dropdown/types/DropdownTriggerProps.d.ts +1 -1
  143. package/dist/components/navigation/ListItemButton/ListItemButton.d.ts +2 -0
  144. package/dist/components/navigation/ListItemButton/types/ListItemButtonProps.d.ts +4 -0
  145. package/dist/components/navigation/TabButton/types/TabButtonProps.d.ts +1 -1
  146. package/dist/components/navigation/index.d.ts +35 -0
  147. package/dist/components/navigation.cjs +1 -0
  148. package/dist/components/navigation.mjs +14 -0
  149. package/dist/components/settings/SettingsRow/SettingsRow.d.ts +2 -0
  150. package/dist/components/settings/SettingsRow/__stories__/ControlledSettingsRowFormExample.d.ts +2 -0
  151. package/dist/components/settings/SettingsRow/internal/SettingsRowLabel.d.ts +2 -0
  152. package/dist/components/settings/SettingsRow/types/SettingsRowProps.d.ts +11 -0
  153. package/dist/components/settings/index.d.ts +2 -0
  154. package/dist/components/settings.cjs +1 -0
  155. package/dist/components/settings.mjs +4 -0
  156. package/dist/components.cjs +1 -1
  157. package/dist/components.mjs +43 -32
  158. package/dist/data-display-BMM4rYOl.cjs +1 -0
  159. package/dist/data-display-Bw-5dsCu.cjs +2 -0
  160. package/dist/data-display-CRDo6TBH.js +175 -0
  161. package/dist/data-display-CehSwX8i.js +333 -0
  162. package/dist/feedback-BV1EK98d.js +382 -0
  163. package/dist/feedback-BleeRoOP.cjs +1 -0
  164. package/dist/feedback-CI5j7IZ3.js +37 -0
  165. package/dist/feedback-f1_n3da1.cjs +1 -0
  166. package/dist/handleClickableElementKeyDown-C8Uz61XJ.js +6 -0
  167. package/dist/handleClickableElementKeyDown-CByqtBhO.cjs +1 -0
  168. package/dist/icon/components/TablerIcons.d.ts +1 -1
  169. package/dist/icon/index.d.ts +1 -1
  170. package/dist/{icon-B7aZ6RxF.js → icon-Bo3y4NHM.js} +552 -548
  171. package/dist/{icon-DK8OPi-m.cjs → icon-DM8Yjnig.cjs} +1 -1
  172. package/dist/icon.cjs +1 -1
  173. package/dist/icon.mjs +468 -464
  174. package/dist/index.cjs +1 -1
  175. package/dist/index.mjs +657 -631
  176. package/dist/input-CKcuJwhb.js +450 -0
  177. package/dist/input-CmZ5aC9o.js +548 -0
  178. package/dist/input-D9vXRp8R.cjs +1 -0
  179. package/dist/input-DSvyF-Tb.cjs +1 -0
  180. package/dist/layout-Bt-DUE1X.js +267 -0
  181. package/dist/layout-DJq0Dcmq.cjs +1 -0
  182. package/dist/layout-d4uPminV.cjs +1 -0
  183. package/dist/layout-xYrynD7_.js +29 -0
  184. package/dist/mergeClassNames-ClFMR1v0.js +6 -0
  185. package/dist/mergeClassNames-D4lshrT6.cjs +1 -0
  186. package/dist/navigation-BVhRDMCr.js +394 -0
  187. package/dist/navigation-CsxM7PWb.cjs +1 -0
  188. package/dist/navigation-DK1z9KJj.js +124 -0
  189. package/dist/navigation-DOSnqFwk.cjs +1 -0
  190. package/dist/normalizeSearchText-DA4xMLCJ.js +18 -0
  191. package/dist/normalizeSearchText-DoNMfZqV.cjs +1 -0
  192. package/dist/primitives/accessibility/components/VisuallyHidden.d.ts +2 -0
  193. package/dist/primitives/accessibility/index.d.ts +2 -1
  194. package/dist/primitives/accessibility/types/VisuallyHiddenProps.d.ts +2 -0
  195. package/dist/primitives/accessibility.cjs +1 -1
  196. package/dist/primitives/accessibility.mjs +4 -3
  197. package/dist/primitives/data-display/Avatar/Avatar.d.ts +5 -1
  198. package/dist/primitives/data-display/Avatar/internal/AvatarFallback.d.ts +2 -0
  199. package/dist/primitives/data-display/Avatar/internal/AvatarImage.d.ts +2 -0
  200. package/dist/primitives/data-display/Avatar/internal/AvatarRoot.d.ts +2 -0
  201. package/dist/primitives/data-display/Avatar/internal/getAvatarInitial.d.ts +1 -0
  202. package/dist/primitives/data-display/Avatar/types/AvatarFallbackProps.d.ts +2 -0
  203. package/dist/primitives/data-display/Avatar/types/AvatarFallbackState.d.ts +2 -0
  204. package/dist/primitives/data-display/Avatar/types/AvatarImageLoadingStatus.d.ts +2 -0
  205. package/dist/primitives/data-display/Avatar/types/AvatarImageProps.d.ts +2 -0
  206. package/dist/primitives/data-display/Avatar/types/AvatarImageState.d.ts +2 -0
  207. package/dist/primitives/data-display/Avatar/types/AvatarProps.d.ts +6 -16
  208. package/dist/primitives/data-display/Avatar/types/AvatarRootProps.d.ts +15 -0
  209. package/dist/primitives/data-display/Avatar/types/AvatarRootState.d.ts +2 -0
  210. package/dist/primitives/data-display/Chip/Chip.d.ts +1 -1
  211. package/dist/primitives/data-display/Chip/types/ChipProps.d.ts +2 -10
  212. package/dist/primitives/data-display/ColorSample/ColorSample.d.ts +2 -12
  213. package/dist/primitives/data-display/ColorSample/types/ColorSampleProps.d.ts +8 -0
  214. package/dist/primitives/data-display/ColorSample/types/ColorSampleVariant.d.ts +1 -0
  215. package/dist/primitives/data-display/Status/Status.d.ts +1 -1
  216. package/dist/primitives/data-display/Status/types/StatusProps.d.ts +2 -19
  217. package/dist/primitives/data-display/Status/types/StatusState.d.ts +4 -0
  218. package/dist/primitives/data-display/Tag/Tag.d.ts +1 -1
  219. package/dist/primitives/data-display/Tag/types/TagProps.d.ts +2 -7
  220. package/dist/primitives/data-display/Tag/types/TagState.d.ts +5 -0
  221. package/dist/primitives/data-display/index.d.ts +11 -1
  222. package/dist/primitives/data-display.cjs +1 -1
  223. package/dist/primitives/data-display.mjs +2 -2
  224. package/dist/primitives/feedback/Banner/Banner.d.ts +2 -9
  225. package/dist/primitives/feedback/Banner/internal/BannerAction.d.ts +2 -0
  226. package/dist/primitives/feedback/Banner/internal/BannerComponent.d.ts +2 -0
  227. package/dist/primitives/feedback/Banner/types/BannerActionProps.d.ts +2 -0
  228. package/dist/primitives/feedback/Banner/types/BannerColor.d.ts +1 -0
  229. package/dist/primitives/feedback/Banner/types/BannerProps.d.ts +13 -0
  230. package/dist/primitives/feedback/Banner/types/BannerState.d.ts +8 -0
  231. package/dist/primitives/feedback/Banner/types/BannerStatus.d.ts +1 -0
  232. package/dist/primitives/feedback/Banner/types/BannerVariant.d.ts +1 -0
  233. package/dist/primitives/feedback/Loader/Loader.d.ts +2 -6
  234. package/dist/primitives/feedback/Loader/types/LoaderProps.d.ts +5 -0
  235. package/dist/primitives/feedback/Skeleton/Skeleton.d.ts +2 -0
  236. package/dist/primitives/feedback/Skeleton/constants/SKELETON_HEIGHT_SIZES.d.ts +7 -0
  237. package/dist/primitives/feedback/Skeleton/types/SkeletonProps.d.ts +10 -0
  238. package/dist/primitives/feedback/index.d.ts +10 -1
  239. package/dist/primitives/feedback/internal/constants/FeedbackStatusColors.d.ts +7 -0
  240. package/dist/primitives/feedback.cjs +1 -1
  241. package/dist/primitives/feedback.mjs +9 -5
  242. package/dist/primitives/input/Autocomplete/Autocomplete.d.ts +9 -0
  243. package/dist/primitives/input/Autocomplete/__stories__/AutocompleteExample.d.ts +4 -0
  244. package/dist/primitives/input/Autocomplete/internal/AutocompleteEmpty.d.ts +2 -0
  245. package/dist/primitives/input/Autocomplete/internal/AutocompleteInput.d.ts +2 -0
  246. package/dist/primitives/input/Autocomplete/internal/AutocompleteInputGroup.d.ts +2 -0
  247. package/dist/primitives/input/Autocomplete/internal/AutocompleteItem.d.ts +2 -0
  248. package/dist/primitives/input/Autocomplete/internal/AutocompleteList.d.ts +2 -0
  249. package/dist/primitives/input/Autocomplete/internal/AutocompletePopup.d.ts +2 -0
  250. package/dist/primitives/input/Autocomplete/internal/AutocompleteRoot.d.ts +2 -0
  251. package/dist/primitives/input/Autocomplete/types/AutocompleteEmptyProps.d.ts +2 -0
  252. package/dist/primitives/input/Autocomplete/types/AutocompleteInputGroupProps.d.ts +2 -0
  253. package/dist/primitives/input/Autocomplete/types/AutocompleteInputProps.d.ts +5 -0
  254. package/dist/primitives/input/Autocomplete/types/AutocompleteItemProps.d.ts +3 -0
  255. package/dist/primitives/input/Autocomplete/types/AutocompleteListProps.d.ts +2 -0
  256. package/dist/primitives/input/Autocomplete/types/AutocompletePopupProps.d.ts +5 -0
  257. package/dist/primitives/input/Autocomplete/types/AutocompleteRootProps.d.ts +4 -0
  258. package/dist/primitives/input/Button/Button.d.ts +1 -1
  259. package/dist/primitives/input/Button/types/ButtonLoadingPosition.d.ts +1 -0
  260. package/dist/primitives/input/Button/types/ButtonProps.d.ts +3 -1
  261. package/dist/primitives/input/Checkbox/Checkbox.d.ts +4 -2
  262. package/dist/primitives/input/Checkbox/internal/CheckboxComponent.d.ts +2 -0
  263. package/dist/primitives/input/Checkbox/internal/CheckboxIndicator.d.ts +2 -0
  264. package/dist/primitives/input/Checkbox/internal/CheckboxRoot.d.ts +2 -0
  265. package/dist/primitives/input/Checkbox/types/CheckboxIndicatorProps.d.ts +2 -0
  266. package/dist/primitives/input/Checkbox/types/CheckboxProps.d.ts +2 -20
  267. package/dist/primitives/input/Checkbox/types/CheckboxRootProps.d.ts +12 -0
  268. package/dist/primitives/input/Field/Field.d.ts +4 -3
  269. package/dist/primitives/input/Field/internal/FieldDescription.d.ts +1 -1
  270. package/dist/primitives/input/Field/internal/FieldError.d.ts +1 -1
  271. package/dist/primitives/input/Field/internal/FieldLabel.d.ts +1 -1
  272. package/dist/primitives/input/Field/types/FieldControlProps.d.ts +2 -0
  273. package/dist/primitives/input/Field/types/FieldDescriptionProps.d.ts +2 -0
  274. package/dist/primitives/input/Field/types/FieldErrorProps.d.ts +2 -0
  275. package/dist/primitives/input/Field/types/FieldItemProps.d.ts +2 -0
  276. package/dist/primitives/input/Field/types/FieldLabelProps.d.ts +2 -0
  277. package/dist/primitives/input/Field/types/FieldRootProps.d.ts +2 -0
  278. package/dist/primitives/input/Field/types/FieldValidityProps.d.ts +2 -0
  279. package/dist/primitives/input/Input/types/InputProps.d.ts +0 -1
  280. package/dist/primitives/input/InputGroup/types/InputGroupProps.d.ts +0 -1
  281. package/dist/primitives/input/Slider/types/SliderRootProps.d.ts +1 -1
  282. package/dist/primitives/input/Switch/Switch.d.ts +4 -2
  283. package/dist/primitives/input/Switch/internal/SwitchComponent.d.ts +2 -0
  284. package/dist/primitives/input/Switch/internal/SwitchRoot.d.ts +2 -0
  285. package/dist/primitives/input/Switch/internal/SwitchThumb.d.ts +2 -0
  286. package/dist/primitives/input/Switch/types/SwitchProps.d.ts +2 -6
  287. package/dist/primitives/input/Switch/types/SwitchRootProps.d.ts +5 -0
  288. package/dist/primitives/input/Switch/types/SwitchThumbProps.d.ts +2 -0
  289. package/dist/primitives/input/Textarea/internal/TextareaControl.d.ts +11 -0
  290. package/dist/primitives/input/Textarea/internal/observeTextareaWidth.d.ts +1 -0
  291. package/dist/primitives/input/Textarea/types/TextareaProps.d.ts +1 -7
  292. package/dist/primitives/input/index.d.ts +20 -0
  293. package/dist/primitives/input.cjs +1 -1
  294. package/dist/primitives/input.mjs +19 -15
  295. package/dist/primitives/layout/Collapsible/Collapsible.d.ts +4 -12
  296. package/dist/primitives/layout/Collapsible/internal/CollapsiblePanel.d.ts +2 -0
  297. package/dist/primitives/layout/Collapsible/types/CollapsiblePanelProps.d.ts +8 -0
  298. package/dist/primitives/layout/Collapsible/types/CollapsiblePanelState.d.ts +2 -0
  299. package/dist/primitives/layout/Collapsible/types/CollapsibleRootChangeEventDetails.d.ts +2 -0
  300. package/dist/primitives/layout/Collapsible/types/CollapsibleRootChangeEventReason.d.ts +2 -0
  301. package/dist/primitives/layout/Collapsible/types/CollapsibleRootProps.d.ts +2 -0
  302. package/dist/primitives/layout/Collapsible/types/CollapsibleRootState.d.ts +2 -0
  303. package/dist/primitives/layout/Collapsible/types/CollapsibleTriggerProps.d.ts +2 -0
  304. package/dist/primitives/layout/Collapsible/types/CollapsibleTriggerState.d.ts +2 -0
  305. package/dist/primitives/layout/DirectionProvider/DirectionProvider.d.ts +2 -0
  306. package/dist/primitives/layout/DirectionProvider/types/DirectionProviderProps.d.ts +2 -0
  307. package/dist/primitives/layout/ResizeHandle/ResizeHandle.d.ts +1 -1
  308. package/dist/primitives/layout/ResizeHandle/__stories__/ControlledResizeHandlePanel.d.ts +2 -0
  309. package/dist/primitives/layout/ResizeHandle/__stories__/DisablingResizeHandle.d.ts +2 -0
  310. package/dist/primitives/layout/ResizeHandle/__stories__/ResizeHandlePanelDemo.d.ts +2 -0
  311. package/dist/primitives/layout/ResizeHandle/__stories__/UnmountingResizeHandle.d.ts +2 -0
  312. package/dist/primitives/layout/ResizeHandle/__stories__/playCancelledResize.d.ts +6 -0
  313. package/dist/primitives/layout/ResizeHandle/internal/ResizeGesture.d.ts +12 -0
  314. package/dist/primitives/layout/ResizeHandle/internal/ResizeHandleDefaults.constant.d.ts +2 -0
  315. package/dist/primitives/layout/ResizeHandle/internal/ResizeHandleEdges.constant.d.ts +18 -0
  316. package/dist/primitives/layout/ResizeHandle/internal/useResizeHandleInteraction.d.ts +13 -14
  317. package/dist/primitives/layout/ResizeHandle/internal/useResizeHandlePointerInteraction.d.ts +19 -0
  318. package/dist/primitives/layout/ResizeHandle/types/ResizeHandleProps.d.ts +21 -1
  319. package/dist/primitives/layout/Separator/Separator.d.ts +2 -0
  320. package/dist/primitives/layout/Separator/types/SeparatorProps.d.ts +3 -0
  321. package/dist/primitives/layout/index.d.ts +12 -4
  322. package/dist/primitives/layout.cjs +1 -1
  323. package/dist/primitives/layout.mjs +5 -5
  324. package/dist/primitives/navigation/Breadcrumb/internal/BreadcrumbItemContent.d.ts +1 -1
  325. package/dist/primitives/navigation/Breadcrumb/types/BreadcrumbItem.d.ts +4 -1
  326. package/dist/primitives/navigation/ListItem/ListItem.d.ts +1 -1
  327. package/dist/primitives/navigation/ListItem/__stories__/ListItemMenuExample.d.ts +6 -0
  328. package/dist/primitives/navigation/ListItem/types/ListItemProps.d.ts +3 -3
  329. package/dist/primitives/navigation.cjs +1 -1
  330. package/dist/primitives/navigation.mjs +2 -2
  331. package/dist/primitives/surfaces/AlertDialog/AlertDialog.d.ts +6 -1
  332. package/dist/primitives/surfaces/AlertDialog/__stories__/AlertDialogExample.d.ts +2 -10
  333. package/dist/primitives/surfaces/AlertDialog/__stories__/AlertDialogExampleProps.d.ts +11 -0
  334. package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogBackdrop.d.ts +2 -0
  335. package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogPopup.d.ts +1 -1
  336. package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogPortal.d.ts +2 -0
  337. package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogViewport.d.ts +2 -0
  338. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogBackdropProps.d.ts +2 -0
  339. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogBackdropState.d.ts +2 -0
  340. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogCloseState.d.ts +2 -0
  341. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogDescriptionState.d.ts +2 -0
  342. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogHandle.d.ts +2 -0
  343. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPopupProps.d.ts +0 -8
  344. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPopupState.d.ts +2 -0
  345. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPortalProps.d.ts +2 -0
  346. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPortalState.d.ts +2 -0
  347. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootActions.d.ts +2 -0
  348. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootChangeEventDetails.d.ts +2 -0
  349. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootChangeEventReason.d.ts +2 -0
  350. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootState.d.ts +2 -0
  351. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogTitleState.d.ts +2 -0
  352. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogTriggerState.d.ts +2 -0
  353. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogViewportProps.d.ts +2 -0
  354. package/dist/primitives/surfaces/AlertDialog/types/AlertDialogViewportState.d.ts +2 -0
  355. package/dist/primitives/surfaces/Card/Card.d.ts +4 -16
  356. package/dist/primitives/surfaces/Card/internal/CardContent.d.ts +2 -10
  357. package/dist/primitives/surfaces/Card/internal/CardFooter.d.ts +2 -6
  358. package/dist/primitives/surfaces/Card/internal/CardHeader.d.ts +2 -4
  359. package/dist/primitives/surfaces/Card/internal/CardRoot.d.ts +2 -8
  360. package/dist/primitives/surfaces/Card/types/CardContentProps.d.ts +4 -0
  361. package/dist/primitives/surfaces/Card/types/CardFooterProps.d.ts +4 -0
  362. package/dist/primitives/surfaces/Card/types/CardHeaderProps.d.ts +2 -0
  363. package/dist/primitives/surfaces/Card/types/CardRootProps.d.ts +6 -0
  364. package/dist/primitives/surfaces/Dialog/Dialog.d.ts +5 -1
  365. package/dist/primitives/surfaces/Dialog/__stories__/DialogExample.d.ts +1 -1
  366. package/dist/primitives/surfaces/Dialog/__stories__/DialogExampleProps.d.ts +3 -0
  367. package/dist/primitives/surfaces/Dialog/internal/DialogBackdrop.d.ts +2 -0
  368. package/dist/primitives/surfaces/Dialog/internal/DialogPopup.d.ts +1 -1
  369. package/dist/primitives/surfaces/Dialog/internal/DialogPortal.d.ts +2 -0
  370. package/dist/primitives/surfaces/Dialog/internal/DialogViewport.d.ts +2 -0
  371. package/dist/primitives/surfaces/Dialog/types/DialogBackdropProps.d.ts +2 -0
  372. package/dist/primitives/surfaces/Dialog/types/DialogBackdropState.d.ts +2 -0
  373. package/dist/primitives/surfaces/Dialog/types/DialogCloseState.d.ts +2 -0
  374. package/dist/primitives/surfaces/Dialog/types/DialogDescriptionState.d.ts +2 -0
  375. package/dist/primitives/surfaces/Dialog/types/DialogHandle.d.ts +2 -0
  376. package/dist/primitives/surfaces/Dialog/types/DialogPopupProps.d.ts +0 -4
  377. package/dist/primitives/surfaces/Dialog/types/DialogPopupState.d.ts +2 -0
  378. package/dist/primitives/surfaces/Dialog/types/DialogPortalProps.d.ts +2 -0
  379. package/dist/primitives/surfaces/Dialog/types/DialogPortalState.d.ts +2 -0
  380. package/dist/primitives/surfaces/Dialog/types/DialogRootActions.d.ts +2 -0
  381. package/dist/primitives/surfaces/Dialog/types/DialogRootChangeEventDetails.d.ts +2 -0
  382. package/dist/primitives/surfaces/Dialog/types/DialogRootChangeEventReason.d.ts +2 -0
  383. package/dist/primitives/surfaces/Dialog/types/DialogRootState.d.ts +2 -0
  384. package/dist/primitives/surfaces/Dialog/types/DialogTitleState.d.ts +2 -0
  385. package/dist/primitives/surfaces/Dialog/types/DialogTriggerState.d.ts +2 -0
  386. package/dist/primitives/surfaces/Dialog/types/DialogViewportProps.d.ts +2 -0
  387. package/dist/primitives/surfaces/Dialog/types/DialogViewportState.d.ts +2 -0
  388. package/dist/primitives/surfaces/Menu/internal/getMenuListItemProps.d.ts +1 -1
  389. package/dist/primitives/surfaces/Popover/Popover.d.ts +8 -1
  390. package/dist/primitives/surfaces/Popover/internal/PopoverArrow.d.ts +2 -0
  391. package/dist/primitives/surfaces/Popover/internal/PopoverPopup.d.ts +1 -1
  392. package/dist/primitives/surfaces/Popover/internal/PopoverPortal.d.ts +2 -0
  393. package/dist/primitives/surfaces/Popover/internal/PopoverPositioner.d.ts +2 -0
  394. package/dist/primitives/surfaces/Popover/types/PopoverAlign.d.ts +2 -1
  395. package/dist/primitives/surfaces/Popover/types/PopoverArrowProps.d.ts +2 -0
  396. package/dist/primitives/surfaces/Popover/types/PopoverArrowState.d.ts +2 -0
  397. package/dist/primitives/surfaces/Popover/types/PopoverBackdropProps.d.ts +2 -0
  398. package/dist/primitives/surfaces/Popover/types/PopoverBackdropState.d.ts +2 -0
  399. package/dist/primitives/surfaces/Popover/types/PopoverCloseState.d.ts +2 -0
  400. package/dist/primitives/surfaces/Popover/types/PopoverDescriptionState.d.ts +2 -0
  401. package/dist/primitives/surfaces/Popover/types/PopoverHandle.d.ts +2 -0
  402. package/dist/primitives/surfaces/Popover/types/PopoverPopupProps.d.ts +1 -28
  403. package/dist/primitives/surfaces/Popover/types/PopoverPopupState.d.ts +2 -0
  404. package/dist/primitives/surfaces/Popover/types/PopoverPortalProps.d.ts +2 -0
  405. package/dist/primitives/surfaces/Popover/types/PopoverPortalState.d.ts +2 -0
  406. package/dist/primitives/surfaces/Popover/types/PopoverPositionerProps.d.ts +2 -0
  407. package/dist/primitives/surfaces/Popover/types/PopoverPositionerState.d.ts +2 -0
  408. package/dist/primitives/surfaces/Popover/types/PopoverRootActions.d.ts +2 -0
  409. package/dist/primitives/surfaces/Popover/types/PopoverRootChangeEventDetails.d.ts +2 -0
  410. package/dist/primitives/surfaces/Popover/types/PopoverRootChangeEventReason.d.ts +2 -0
  411. package/dist/primitives/surfaces/Popover/types/PopoverRootState.d.ts +2 -0
  412. package/dist/primitives/surfaces/Popover/types/PopoverSide.d.ts +2 -1
  413. package/dist/primitives/surfaces/Popover/types/PopoverTitleState.d.ts +2 -0
  414. package/dist/primitives/surfaces/Popover/types/PopoverTriggerState.d.ts +2 -0
  415. package/dist/primitives/surfaces/Popover/types/PopoverViewportProps.d.ts +2 -0
  416. package/dist/primitives/surfaces/Popover/types/PopoverViewportState.d.ts +2 -0
  417. package/dist/primitives/surfaces/Tooltip/Tooltip.d.ts +7 -3
  418. package/dist/primitives/surfaces/Tooltip/internal/TooltipArrow.d.ts +2 -0
  419. package/dist/primitives/surfaces/Tooltip/internal/TooltipBody.d.ts +8 -0
  420. package/dist/primitives/surfaces/Tooltip/internal/TooltipComponent.d.ts +1 -1
  421. package/dist/primitives/surfaces/Tooltip/internal/TooltipPopup.d.ts +1 -1
  422. package/dist/primitives/surfaces/Tooltip/internal/TooltipPortal.d.ts +2 -0
  423. package/dist/primitives/surfaces/Tooltip/internal/TooltipPositioner.d.ts +2 -0
  424. package/dist/primitives/surfaces/Tooltip/types/TooltipAlign.d.ts +2 -1
  425. package/dist/primitives/surfaces/Tooltip/types/TooltipArrowProps.d.ts +2 -0
  426. package/dist/primitives/surfaces/Tooltip/types/TooltipArrowState.d.ts +2 -0
  427. package/dist/primitives/surfaces/Tooltip/types/TooltipHandle.d.ts +2 -0
  428. package/dist/primitives/surfaces/Tooltip/types/TooltipPopupProps.d.ts +1 -10
  429. package/dist/primitives/surfaces/Tooltip/types/TooltipPopupState.d.ts +2 -0
  430. package/dist/primitives/surfaces/Tooltip/types/TooltipPortalProps.d.ts +2 -0
  431. package/dist/primitives/surfaces/Tooltip/types/TooltipPortalState.d.ts +2 -0
  432. package/dist/primitives/surfaces/Tooltip/types/TooltipPositionerProps.d.ts +2 -0
  433. package/dist/primitives/surfaces/Tooltip/types/TooltipPositionerState.d.ts +2 -0
  434. package/dist/primitives/surfaces/Tooltip/types/TooltipProps.d.ts +16 -4
  435. package/dist/primitives/surfaces/Tooltip/types/TooltipProviderState.d.ts +2 -0
  436. package/dist/primitives/surfaces/Tooltip/types/TooltipRootActions.d.ts +2 -0
  437. package/dist/primitives/surfaces/Tooltip/types/TooltipRootChangeEventDetails.d.ts +2 -0
  438. package/dist/primitives/surfaces/Tooltip/types/TooltipRootChangeEventReason.d.ts +2 -0
  439. package/dist/primitives/surfaces/Tooltip/types/TooltipRootState.d.ts +2 -0
  440. package/dist/primitives/surfaces/Tooltip/types/TooltipSide.d.ts +2 -1
  441. package/dist/primitives/surfaces/Tooltip/types/TooltipTriggerState.d.ts +2 -0
  442. package/dist/primitives/surfaces/Tooltip/types/TooltipViewportProps.d.ts +2 -0
  443. package/dist/primitives/surfaces/Tooltip/types/TooltipViewportState.d.ts +2 -0
  444. package/dist/primitives/surfaces/index.d.ts +72 -1
  445. package/dist/primitives/surfaces.cjs +1 -1
  446. package/dist/primitives/surfaces.mjs +4 -4
  447. package/dist/primitives/typography/OverflowingTextWithTooltip/OverflowingTextWithTooltip.d.ts +1 -18
  448. package/dist/primitives/typography/OverflowingTextWithTooltip/types/OverflowingTextWithTooltipProps.d.ts +17 -0
  449. package/dist/primitives/typography/Text/Text.d.ts +1 -18
  450. package/dist/primitives/typography/Text/internal/TextTruncationProps.d.ts +7 -0
  451. package/dist/primitives/typography/Text/types/TextProps.d.ts +3 -0
  452. package/dist/primitives/typography/index.d.ts +2 -0
  453. package/dist/primitives/typography.cjs +1 -1
  454. package/dist/primitives/typography.mjs +4 -4
  455. package/dist/primitives.cjs +1 -1
  456. package/dist/primitives.mjs +72 -63
  457. package/dist/settings-Fpo_5Uen.js +44 -0
  458. package/dist/settings-bRqO7Q-5.cjs +1 -0
  459. package/dist/style.css +1 -1
  460. package/dist/surfaces-C2s4Qrvy.cjs +1 -0
  461. package/dist/surfaces-CV04bWoI.js +294 -0
  462. package/dist/testing.cjs +1 -1
  463. package/dist/testing.mjs +6 -6
  464. package/dist/theme-Zf62UE02.cjs +1 -0
  465. package/dist/{theme-CjHovJAZ.js → theme-yAk9zrNA.js} +8 -8
  466. package/dist/theme.cjs +1 -1
  467. package/dist/theme.mjs +1 -1
  468. package/dist/{typography-D3fk3hSo.cjs → typography-CBqN-Jhw.cjs} +1 -1
  469. package/dist/typography-D-DQvgaS.js +5 -0
  470. package/dist/{useIsMobile-CAIiLC-3.js → useIsMobile-BvEB9MOV.js} +1 -1
  471. package/dist/{useIsMobile-UXHqqYXb.cjs → useIsMobile-C_rtkXZO.cjs} +1 -1
  472. package/dist/useProvidedTextDirection-Dk8LBQeF.js +6 -0
  473. package/dist/useProvidedTextDirection-PVaoQCLH.cjs +1 -0
  474. package/dist/utilities/color/utils/themeColorSchema.d.ts +1 -1
  475. package/dist/utilities/index.d.ts +1 -0
  476. package/dist/utilities/utils/normalizeSearchText.d.ts +1 -0
  477. package/dist/utilities-06FvJQzl.cjs +1 -0
  478. package/dist/utilities-DpSj_IdQ.js +52 -0
  479. package/dist/utilities.cjs +1 -1
  480. package/dist/utilities.mjs +17 -16
  481. package/package.json +49 -1
  482. package/dist/Avatar-C0FtFpJC.js +0 -68
  483. package/dist/Avatar-CkI8b3nh.cjs +0 -1
  484. package/dist/HorizontalSeparator-JwV0dB5W.js +0 -44
  485. package/dist/HorizontalSeparator-vJLHHlc4.cjs +0 -1
  486. package/dist/ListItem-B2HOeN2h.cjs +0 -1
  487. package/dist/ListItem-D8BQRK1W.js +0 -97
  488. package/dist/ListItem.module-Dxd8jOJP.js +0 -35
  489. package/dist/ListItem.module-RqrfwrFg.cjs +0 -1
  490. package/dist/Loader-BLkXvZli.js +0 -14
  491. package/dist/Loader-CMXdrX1d.cjs +0 -1
  492. package/dist/MenuSeparator-Ct3cQtJ2.cjs +0 -1
  493. package/dist/MenuSeparator-CyUYx1nk.js +0 -68
  494. package/dist/OverflowingTextWithTooltip-CNpmkBvJ.js +0 -198
  495. package/dist/OverflowingTextWithTooltip-tsJWb_Ie.cjs +0 -1
  496. package/dist/ProgressBar-21MXyySH.js +0 -108
  497. package/dist/ProgressBar-CyqeRyzA.cjs +0 -1
  498. package/dist/ResizeHandle-CGYGfOVF.js +0 -89
  499. package/dist/ResizeHandle-CI-VTVOi.cjs +0 -1
  500. package/dist/Shortcut-CRCVbA2m.js +0 -71
  501. package/dist/Shortcut-CuBFak3I.cjs +0 -1
  502. package/dist/Switch-BQp0t6JZ.js +0 -129
  503. package/dist/Switch-CFCj3OQZ.cjs +0 -1
  504. package/dist/components/data-display/TintedIconTile/internal/StyledTintedIconTileContainer/StyledTintedIconTileContainer.d.ts +0 -7
  505. package/dist/components/feedback/InlineBanner/internal/InlineBannerButton.d.ts +0 -5
  506. package/dist/components/feedback/InlineBanner/types/InlineBannerButtonProps.d.ts +0 -7
  507. package/dist/components/input/SettingsRow/SettingsRow.d.ts +0 -2
  508. package/dist/components/input/SettingsRow/types/SettingsRowProps.d.ts +0 -6
  509. package/dist/components-BizDepCM.cjs +0 -1
  510. package/dist/components-CC-3jXEq.js +0 -2144
  511. package/dist/data-display-BgweQocz.cjs +0 -1
  512. package/dist/data-display-Dn_nzrc8.js +0 -190
  513. package/dist/getSafeUrl-BuX_E2_8.cjs +0 -1
  514. package/dist/getSafeUrl-DXwcx-N0.js +0 -27
  515. package/dist/handleClickableElementKeyDown-0XD9MRqa.cjs +0 -1
  516. package/dist/handleClickableElementKeyDown-CJ_JsX2K.js +0 -11
  517. package/dist/input-C50264Jb.js +0 -407
  518. package/dist/input-CRiX4eQH.cjs +0 -1
  519. package/dist/layout-BEC7fKLU.js +0 -34
  520. package/dist/layout-DniJJ8Mx.cjs +0 -1
  521. package/dist/navigation-B9YTBTaa.cjs +0 -1
  522. package/dist/navigation-CQUyRKgk.js +0 -122
  523. package/dist/primitives/accessibility/components/VisibilityHidden.d.ts +0 -3
  524. package/dist/primitives/layout/Collapsible/types/AnimationDurationObject.d.ts +0 -4
  525. package/dist/primitives/layout/Collapsible/types/AnimationDurations.d.ts +0 -2
  526. package/dist/primitives/layout/HorizontalSeparator/HorizontalSeparator.d.ts +0 -9
  527. package/dist/primitives/layout/TextDirectionProvider/TextDirectionProvider.d.ts +0 -8
  528. package/dist/primitives/surfaces/Tooltip/internal/TooltipContent.d.ts +0 -2
  529. package/dist/primitives/surfaces/Tooltip/types/TooltipContentProps.d.ts +0 -6
  530. package/dist/primitives/typography/OverflowingTextWithTooltip/internal/LinkifiedText/LinkifiedText.d.ts +0 -5
  531. package/dist/primitives/typography/OverflowingTextWithTooltip/internal/LinkifiedText/linkifyText.d.ts +0 -6
  532. package/dist/surfaces-C9ZUjKxU.js +0 -264
  533. package/dist/surfaces-Davk4uBw.cjs +0 -1
  534. package/dist/theme-DumxXtpW.cjs +0 -1
  535. package/dist/typography-DUJWRilJ.js +0 -5
  536. package/dist/useProvidedTextDirection-B7ovnsdr.cjs +0 -1
  537. package/dist/useProvidedTextDirection-P1dtjUtE.js +0 -9
  538. package/dist/utilities-CJKPcDM4.js +0 -28
  539. package/dist/utilities-CdR__WZM.cjs +0 -1
  540. /package/dist/components/{input → settings}/SettingsRow/__stories__/ControlledSettingsRowExample.d.ts +0 -0
  541. /package/dist/primitives/layout/{TextDirectionProvider → DirectionProvider}/internal/TextDirection.d.ts +0 -0
  542. /package/dist/primitives/layout/{TextDirectionProvider → DirectionProvider}/internal/TextDirectionContext.d.ts +0 -0
  543. /package/dist/primitives/layout/{TextDirectionProvider → DirectionProvider}/internal/useProvidedTextDirection.d.ts +0 -0
  544. /package/dist/{components/navigation/Dropdown → utilities}/internal/preventDismissingClickActivation.d.ts +0 -0
@@ -1 +1 @@
1
- var Z=Object.create;var F=Object.defineProperty;var ee=Object.getOwnPropertyDescriptor;var oe=Object.getOwnPropertyNames;var re=Object.getPrototypeOf,te=Object.prototype.hasOwnProperty;var ne=(e,r,n,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of oe(r))!te.call(e,i)&&i!==n&&F(e,i,{get:()=>r[i],enumerable:!(a=ee(r,i))||a.enumerable});return e};var ie=(e,r,n)=>(n=e!=null?Z(re(e)):{},ne(r||!e||!e.__esModule?F(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const D=require("../theme-DumxXtpW.cjs"),l=require("../isDefined-DS2Q42p5.cjs"),de=require("../Loader-CMXdrX1d.cjs"),ae=require("../ResizeHandle-CI-VTVOi.cjs");let d=require("react/jsx-runtime"),s=require("react"),C=require("@monaco-editor/react");C=D.__toESM(C,1);var $="baseCodeEditorTheme",o=e=>{if(e.trim()==="transparent")return"#00000000";const r=e.match(/color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/);if(l.isDefined(r)){const[,n,a,i,b]=r;if(!l.isDefined(n)||!l.isDefined(a)||!l.isDefined(i))return e;const g=Math.round(parseFloat(n)*255).toString(16).padStart(2,"0"),p=Math.round(parseFloat(a)*255).toString(16).padStart(2,"0"),_=Math.round(parseFloat(i)*255).toString(16).padStart(2,"0");return l.isDefined(b)?`#${g}${p}${_}${Math.round(parseFloat(b)*255).toString(16).padStart(2,"0")}`:`#${g}${p}${_}`}return e},se=(e,r)=>({base:r==="dark"?"vs-dark":"vs",inherit:!0,rules:[{token:"",foreground:o(e.font.color.secondary)},{token:"keyword",foreground:o(e.color.pink11)},{token:"keyword.control",foreground:o(e.color.pink11)},{token:"keyword.json",foreground:o(e.color.orange11)},{token:"number",foreground:o(e.color.orange11)},{token:"number.json",foreground:o(e.color.orange11)},{token:"regexp",foreground:o(e.color.orange11)},{token:"type",foreground:o(e.color.green11)},{token:"attribute.name",foreground:o(e.color.blue11)},{token:"tag",foreground:o(e.color.pink11)},{token:"string",foreground:o(e.color.green11)},{token:"string.key.json",foreground:o(e.color.blue11)},{token:"delimiter",foreground:o(e.font.color.light)},{token:"delimiter.bracket.json",foreground:o(e.font.color.light)},{token:"string.value.json",foreground:o(e.color.green11)},{token:"comment",foreground:o(e.font.color.light),fontStyle:"italic"}],colors:{"editor.background":o("transparent"),"editor.foreground":o(e.font.color.secondary),"editorCursor.foreground":o(e.font.color.primary),"editorLineNumber.foreground":o(e.font.color.extraLight),"editorLineNumber.activeForeground":o(e.font.color.light),"editor.lineHighlightBackground":o(e.background.tertiary),"editor.selectionBackground":o(e.background.transparent.blue),"editor.inactiveSelectionBackground":o(e.background.transparent.light),"editorIndentGuide.background1":o(e.border.color.light),"editorIndentGuide.activeBackground1":o(e.border.color.medium),"editorBracketMatch.background":o(e.background.transparent.light),"editorBracketMatch.border":o(e.border.color.medium)}}),le="_editorLoader_zilk9_1",ue="_container_zilk9_20",ce="_editorWrapper_zilk9_24",S={editorLoader:le,container:ue,editorWrapper:ce},z,ge=()=>(z??=import("monaco-editor").then(e=>{C.loader.config({monaco:e})}),z),I=(e,r,n)=>{e.editor.defineTheme($,se(r,n)),e.editor.setTheme($)},fe=({value:e,language:r,onMount:n,onChange:a,setMarkers:i,onValidate:b,height:g=450,variant:p="default",transparentBackground:_,isLoading:O=!1,options:P,resizable:M=!1,resizeLabel:N="Resize editor",contentPadding:w="default",autoHeight:R=!1})=>{const f=D.useTheme(),y=D.useThemeColorScheme(),[h,W]=(0,s.useState)(void 0),[k,A]=(0,s.useState)(void 0),[V,j]=(0,s.useState)(!1),[G,K]=(0,s.useState)(!1),[J,L]=(0,s.useState)(void 0),[q,Q]=(0,s.useState)(typeof g=="number"?g:450),T=(0,s.useId)(),E=R&&!M,H=typeof f.spacingMultiplicator=="number"?f.spacingMultiplicator*4:void 0,m=E?J??g:M?q:g,U={...w==="comfortable"?{lineDecorationsWidth:H}:{},padding:{bottom:H,top:H}},{padding:be,...X}=P??{},B=(t,u)=>{const c=t?.getModel();if(!l.isDefined(c))return;const v=i?.(c.getValue());l.isDefined(v)&&u?.editor.setModelMarkers(c,"customMarker",v)},Y=t=>{V&&t.stopPropagation()};return(0,s.useEffect)(()=>{let t=!0;return ge().then(()=>{t&&K(!0)}),()=>{t=!1}},[]),(0,s.useEffect)(()=>{l.isDefined(h)&&I(h,f,y)},[y,h,f]),(0,s.useEffect)(()=>{if(!E||!l.isDefined(k)){L(void 0);return}const t=()=>{const c=k.getContentHeight();!Number.isFinite(c)||c<=0||L(v=>v===c?v:c)};t();const u=k.onDidContentSizeChange(t);return()=>{u.dispose()}},[k,E]),O||!G?(0,d.jsx)("div",{className:S.editorLoader,"data-variant":p,style:{"--code-editor-height":typeof m=="number"?`${m}px`:m},children:(0,d.jsx)(de.Loader,{})}):(0,d.jsxs)("div",{className:S.container,onKeyDown:Y,children:[(0,d.jsx)("input",{type:"hidden","data-testid":"code-editor-value",value:e??"",readOnly:!0}),(0,d.jsx)("div",{id:T,className:S.editorWrapper,"data-variant":p,"data-transparent-background":_||void 0,children:(0,d.jsx)(C.default,{height:m,value:e,language:r,loading:"",onMount:(t,u)=>{W(u),A(t),I(u,f,y),t.onDidFocusEditorWidget(()=>{j(!0)}),t.onDidBlurEditorWidget(()=>{j(!1)}),n?.(t,u),B(t,u)},onChange:t=>{l.isDefined(t)&&(a?.(t),B(k,h))},onValidate:t=>{b?.(t)},options:{formatOnPaste:!0,formatOnType:!0,fontFamily:f.code.font.family,bracketPairColorization:{enabled:!1},overviewRulerLanes:0,scrollBeyondLastLine:!1,scrollbar:{vertical:"hidden",horizontal:"hidden"},minimap:{enabled:!1},...X,...U}})}),M&&(0,d.jsx)(ae.ResizeHandle,{"aria-label":N,"aria-controls":T,value:q,onValueChange:Q})]})},pe="_editorHeader_19qlo_1",ke="_elementContainer_19qlo_15",x={editorHeader:pe,elementContainer:ke},ve=({title:e,leftNodes:r,rightNodes:n})=>(0,d.jsxs)("div",{className:x.editorHeader,children:[(0,d.jsxs)("div",{className:x.elementContainer,children:[r&&r.map((a,i)=>(0,d.jsx)("div",{children:a},`left-${i}`)),e]}),(0,d.jsx)("div",{className:x.elementContainer,children:n&&n.map((a,i)=>(0,d.jsx)("div",{children:a},`right-${i}`))})]});exports.CodeEditor=fe;exports.CodeEditorHeader=ve;
1
+ var Z=Object.create;var B=Object.defineProperty;var ee=Object.getOwnPropertyDescriptor;var oe=Object.getOwnPropertyNames;var re=Object.getPrototypeOf,te=Object.prototype.hasOwnProperty;var ne=(e,t,n,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oe(t))!te.call(e,i)&&i!==n&&B(e,i,{get:()=>t[i],enumerable:!(l=ee(t,i))||l.enumerable});return e};var ie=(e,t,n)=>(n=e!=null?Z(re(e)):{},ne(t||!e||!e.__esModule?B(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const D=require("../theme-Zf62UE02.cjs"),s=require("../isDefined-DS2Q42p5.cjs"),de=require("../Loader-GFhTL4Aw.cjs"),ae=require("../ResizeHandle-BGboQXCx.cjs");let se=require("@base-ui/react/use-render"),le=require("clsx"),a=require("react"),d=require("react/jsx-runtime"),C=require("@monaco-editor/react");C=D.__toESM(C,1);var z="baseCodeEditorTheme",o=e=>{if(e.trim()==="transparent")return"#00000000";const t=e.match(/color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/);if(s.isDefined(t)){const[,n,l,i,f]=t;if(!s.isDefined(n)||!s.isDefined(l)||!s.isDefined(i))return e;const u=Math.round(parseFloat(n)*255).toString(16).padStart(2,"0"),k=Math.round(parseFloat(l)*255).toString(16).padStart(2,"0"),v=Math.round(parseFloat(i)*255).toString(16).padStart(2,"0");return s.isDefined(f)?`#${u}${k}${v}${Math.round(parseFloat(f)*255).toString(16).padStart(2,"0")}`:`#${u}${k}${v}`}return e},ue=(e,t)=>({base:t==="dark"?"vs-dark":"vs",inherit:!0,rules:[{token:"",foreground:o(e.font.color.secondary)},{token:"keyword",foreground:o(e.color.pink11)},{token:"keyword.control",foreground:o(e.color.pink11)},{token:"keyword.json",foreground:o(e.color.orange11)},{token:"number",foreground:o(e.color.orange11)},{token:"number.json",foreground:o(e.color.orange11)},{token:"regexp",foreground:o(e.color.orange11)},{token:"type",foreground:o(e.color.green11)},{token:"attribute.name",foreground:o(e.color.blue11)},{token:"tag",foreground:o(e.color.pink11)},{token:"string",foreground:o(e.color.green11)},{token:"string.key.json",foreground:o(e.color.blue11)},{token:"delimiter",foreground:o(e.font.color.light)},{token:"delimiter.bracket.json",foreground:o(e.font.color.light)},{token:"string.value.json",foreground:o(e.color.green11)},{token:"comment",foreground:o(e.font.color.light),fontStyle:"italic"}],colors:{"editor.background":o("transparent"),"editor.foreground":o(e.font.color.secondary),"editorCursor.foreground":o(e.font.color.primary),"editorLineNumber.foreground":o(e.font.color.extraLight),"editorLineNumber.activeForeground":o(e.font.color.light),"editor.lineHighlightBackground":o(e.background.tertiary),"editor.selectionBackground":o(e.background.transparent.blue),"editor.inactiveSelectionBackground":o(e.background.transparent.light),"editorIndentGuide.background1":o(e.border.color.light),"editorIndentGuide.activeBackground1":o(e.border.color.medium),"editorBracketMatch.background":o(e.background.transparent.light),"editorBracketMatch.border":o(e.border.color.medium)}}),ce="_editorLoader_zilk9_1",ge="_container_zilk9_20",fe="_editorWrapper_zilk9_24",S={editorLoader:ce,container:ge,editorWrapper:fe},N,pe=()=>(N??=import("monaco-editor").then(e=>{C.loader.config({monaco:e})}),N),I=(e,t,n)=>{e.editor.defineTheme(z,ue(t,n)),e.editor.setTheme(z)},ke=({value:e,language:t,onMount:n,onChange:l,setMarkers:i,onValidate:f,height:u=450,variant:k="default",transparentBackground:v,isLoading:O=!1,options:P,resizable:M=!1,resizeLabel:$="Resize editor",contentPadding:R="default",autoHeight:w=!1})=>{const p=D.useTheme(),y=D.useThemeColorScheme(),[h,W]=(0,a.useState)(void 0),[_,A]=(0,a.useState)(void 0),[V,j]=(0,a.useState)(!1),[G,K]=(0,a.useState)(!1),[J,q]=(0,a.useState)(void 0),[L,Q]=(0,a.useState)(typeof u=="number"?u:450),T=(0,a.useId)(),E=w&&!M,H=typeof p.spacingMultiplicator=="number"?p.spacingMultiplicator*4:void 0,m=E?J??u:M?L:u,U={...R==="comfortable"?{lineDecorationsWidth:H}:{},padding:{bottom:H,top:H}},{padding:he,...X}=P??{},F=(r,c)=>{const g=r?.getModel();if(!s.isDefined(g))return;const b=i?.(g.getValue());s.isDefined(b)&&c?.editor.setModelMarkers(g,"customMarker",b)},Y=r=>{V&&r.stopPropagation()};return(0,a.useEffect)(()=>{let r=!0;return pe().then(()=>{r&&K(!0)}),()=>{r=!1}},[]),(0,a.useEffect)(()=>{s.isDefined(h)&&I(h,p,y)},[y,h,p]),(0,a.useEffect)(()=>{if(!E||!s.isDefined(_)){q(void 0);return}const r=()=>{const g=_.getContentHeight();!Number.isFinite(g)||g<=0||q(b=>b===g?b:g)};r();const c=_.onDidContentSizeChange(r);return()=>{c.dispose()}},[_,E]),O||!G?(0,d.jsx)("div",{className:S.editorLoader,"data-variant":k,style:{"--code-editor-height":typeof m=="number"?`${m}px`:m},children:(0,d.jsx)(de.Loader,{})}):(0,d.jsxs)("div",{className:S.container,onKeyDown:Y,children:[(0,d.jsx)("input",{type:"hidden","data-testid":"code-editor-value",value:e??"",readOnly:!0}),(0,d.jsx)("div",{id:T,className:S.editorWrapper,"data-variant":k,"data-transparent-background":v||void 0,children:(0,d.jsx)(C.default,{height:m,value:e,language:t,loading:"",onMount:(r,c)=>{W(c),A(r),I(c,p,y),r.onDidFocusEditorWidget(()=>{j(!0)}),r.onDidBlurEditorWidget(()=>{j(!1)}),n?.(r,c),F(r,c)},onChange:r=>{s.isDefined(r)&&(l?.(r),F(_,h))},onValidate:r=>{f?.(r)},options:{formatOnPaste:!0,formatOnType:!0,fontFamily:p.code.font.family,bracketPairColorization:{enabled:!1},overviewRulerLanes:0,scrollBeyondLastLine:!1,scrollbar:{vertical:"hidden",horizontal:"hidden"},minimap:{enabled:!1},...X,...U}})}),M&&(0,d.jsx)(ae.ResizeHandle,{"aria-label":$,"aria-controls":T,value:L,onValueChange:Q})]})},_e="_editorHeader_19qlo_1",be="_elementContainer_19qlo_15",x={editorHeader:_e,elementContainer:be},ve=({title:e,startElement:t,endElement:n,className:l,render:i,ref:f,...u})=>(0,se.useRender)({render:i,ref:f,props:{...u,className:(0,le.clsx)(x.editorHeader,l),children:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:x.elementContainer,children:[t,e]}),(0,d.jsx)("div",{className:x.elementContainer,children:n})]})}});exports.CodeEditor=ke;exports.CodeEditorHeader=ve;
@@ -1,21 +1,23 @@
1
1
  import { t as n } from "../isDefined-fMi6eQ4r.js";
2
- import { n as Y, r as Z } from "../theme-CjHovJAZ.js";
3
- import { t as oo } from "../Loader-BLkXvZli.js";
4
- import { t as ro } from "../ResizeHandle-CGYGfOVF.js";
5
- import { jsx as i, jsxs as x } from "react/jsx-runtime";
6
- import { useEffect as E, useId as eo, useState as f } from "react";
7
- import to, { loader as no } from "@monaco-editor/react";
8
- var z = "baseCodeEditorTheme", r = (o) => {
2
+ import { n as Y, r as Z } from "../theme-yAk9zrNA.js";
3
+ import { t as oo } from "../Loader-BBMC4fe6.js";
4
+ import { t as ro } from "../ResizeHandle-X2NdHzqt.js";
5
+ import { useRender as eo } from "@base-ui/react/use-render";
6
+ import { clsx as to } from "clsx";
7
+ import { useEffect as E, useId as no, useState as p } from "react";
8
+ import { Fragment as ao, jsx as l, jsxs as x } from "react/jsx-runtime";
9
+ import io, { loader as so } from "@monaco-editor/react";
10
+ var $ = "baseCodeEditorTheme", r = (o) => {
9
11
  if (o.trim() === "transparent") return "#00000000";
10
12
  const t = o.match(/color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/);
11
13
  if (n(t)) {
12
- const [, a, d, s, v] = t;
13
- if (!n(a) || !n(d) || !n(s)) return o;
14
- const u = Math.round(parseFloat(a) * 255).toString(16).padStart(2, "0"), p = Math.round(parseFloat(d) * 255).toString(16).padStart(2, "0"), b = Math.round(parseFloat(s) * 255).toString(16).padStart(2, "0");
15
- return n(v) ? `#${u}${p}${b}${Math.round(parseFloat(v) * 255).toString(16).padStart(2, "0")}` : `#${u}${p}${b}`;
14
+ const [, i, c, u, g] = t;
15
+ if (!n(i) || !n(c) || !n(u)) return o;
16
+ const a = Math.round(parseFloat(i) * 255).toString(16).padStart(2, "0"), k = Math.round(parseFloat(c) * 255).toString(16).padStart(2, "0"), b = Math.round(parseFloat(u) * 255).toString(16).padStart(2, "0");
17
+ return n(g) ? `#${a}${k}${b}${Math.round(parseFloat(g) * 255).toString(16).padStart(2, "0")}` : `#${a}${k}${b}`;
16
18
  }
17
19
  return o;
18
- }, ao = (o, t) => ({
20
+ }, lo = (o, t) => ({
19
21
  base: t === "dark" ? "vs-dark" : "vs",
20
22
  inherit: !0,
21
23
  rules: [
@@ -99,98 +101,98 @@ var z = "baseCodeEditorTheme", r = (o) => {
99
101
  "editorBracketMatch.background": r(o.background.transparent.light),
100
102
  "editorBracketMatch.border": r(o.border.color.medium)
101
103
  }
102
- }), io = "_editorLoader_zilk9_1", so = "_container_zilk9_20", lo = "_editorWrapper_zilk9_24", S = {
103
- editorLoader: io,
104
- container: so,
105
- editorWrapper: lo
106
- }, I, co = () => (I ??= import("monaco-editor").then((o) => {
107
- no.config({ monaco: o });
108
- }), I), j = (o, t, a) => {
109
- o.editor.defineTheme(z, ao(t, a)), o.editor.setTheme(z);
110
- }, yo = ({ value: o, language: t, onMount: a, onChange: d, setMarkers: s, onValidate: v, height: u = 450, variant: p = "default", transparentBackground: b, isLoading: N = !1, options: O, resizable: y = !1, resizeLabel: P = "Resize editor", contentPadding: w = "default", autoHeight: W = !1 }) => {
111
- const g = Z(), _ = Y(), [h, R] = f(void 0), [k, A] = f(void 0), [V, T] = f(!1), [q, G] = f(!1), [K, B] = f(void 0), [D, J] = f(typeof u == "number" ? u : 450), F = eo(), M = W && !y, H = typeof g.spacingMultiplicator == "number" ? g.spacingMultiplicator * 4 : void 0, C = M ? K ?? u : y ? D : u, Q = {
104
+ }), co = "_editorLoader_zilk9_1", uo = "_container_zilk9_20", go = "_editorWrapper_zilk9_24", S = {
105
+ editorLoader: co,
106
+ container: uo,
107
+ editorWrapper: go
108
+ }, z, fo = () => (z ??= import("monaco-editor").then((o) => {
109
+ so.config({ monaco: o });
110
+ }), z), I = (o, t, i) => {
111
+ o.editor.defineTheme($, lo(t, i)), o.editor.setTheme($);
112
+ }, So = ({ value: o, language: t, onMount: i, onChange: c, setMarkers: u, onValidate: g, height: a = 450, variant: k = "default", transparentBackground: b, isLoading: j = !1, options: O, resizable: y = !1, resizeLabel: P = "Resize editor", contentPadding: w = "default", autoHeight: R = !1 }) => {
113
+ const f = Z(), _ = Y(), [h, W] = p(void 0), [m, A] = p(void 0), [V, F] = p(!1), [q, G] = p(!1), [K, T] = p(void 0), [B, J] = p(typeof a == "number" ? a : 450), D = no(), M = R && !y, H = typeof f.spacingMultiplicator == "number" ? f.spacingMultiplicator * 4 : void 0, C = M ? K ?? a : y ? B : a, Q = {
112
114
  ...w === "comfortable" ? { lineDecorationsWidth: H } : {},
113
115
  padding: {
114
116
  bottom: H,
115
117
  top: H
116
118
  }
117
- }, { padding: fo, ...U } = O ?? {}, $ = (e, l) => {
118
- const c = e?.getModel();
119
- if (!n(c)) return;
120
- const m = s?.(c.getValue());
121
- n(m) && l?.editor.setModelMarkers(c, "customMarker", m);
119
+ }, { padding: mo, ...U } = O ?? {}, N = (e, d) => {
120
+ const s = e?.getModel();
121
+ if (!n(s)) return;
122
+ const v = u?.(s.getValue());
123
+ n(v) && d?.editor.setModelMarkers(s, "customMarker", v);
122
124
  }, X = (e) => {
123
125
  V && e.stopPropagation();
124
126
  };
125
127
  return E(() => {
126
128
  let e = !0;
127
- return co().then(() => {
129
+ return fo().then(() => {
128
130
  e && G(!0);
129
131
  }), () => {
130
132
  e = !1;
131
133
  };
132
134
  }, []), E(() => {
133
- n(h) && j(h, g, _);
135
+ n(h) && I(h, f, _);
134
136
  }, [
135
137
  _,
136
138
  h,
137
- g
139
+ f
138
140
  ]), E(() => {
139
- if (!M || !n(k)) {
140
- B(void 0);
141
+ if (!M || !n(m)) {
142
+ T(void 0);
141
143
  return;
142
144
  }
143
145
  const e = () => {
144
- const c = k.getContentHeight();
145
- !Number.isFinite(c) || c <= 0 || B((m) => m === c ? m : c);
146
+ const s = m.getContentHeight();
147
+ !Number.isFinite(s) || s <= 0 || T((v) => v === s ? v : s);
146
148
  };
147
149
  e();
148
- const l = k.onDidContentSizeChange(e);
150
+ const d = m.onDidContentSizeChange(e);
149
151
  return () => {
150
- l.dispose();
152
+ d.dispose();
151
153
  };
152
- }, [k, M]), N || !q ? /* @__PURE__ */ i("div", {
154
+ }, [m, M]), j || !q ? /* @__PURE__ */ l("div", {
153
155
  className: S.editorLoader,
154
- "data-variant": p,
156
+ "data-variant": k,
155
157
  style: { "--code-editor-height": typeof C == "number" ? `${C}px` : C },
156
- children: /* @__PURE__ */ i(oo, {})
158
+ children: /* @__PURE__ */ l(oo, {})
157
159
  }) : /* @__PURE__ */ x("div", {
158
160
  className: S.container,
159
161
  onKeyDown: X,
160
162
  children: [
161
- /* @__PURE__ */ i("input", {
163
+ /* @__PURE__ */ l("input", {
162
164
  type: "hidden",
163
165
  "data-testid": "code-editor-value",
164
166
  value: o ?? "",
165
167
  readOnly: !0
166
168
  }),
167
- /* @__PURE__ */ i("div", {
168
- id: F,
169
+ /* @__PURE__ */ l("div", {
170
+ id: D,
169
171
  className: S.editorWrapper,
170
- "data-variant": p,
172
+ "data-variant": k,
171
173
  "data-transparent-background": b || void 0,
172
- children: /* @__PURE__ */ i(to, {
174
+ children: /* @__PURE__ */ l(io, {
173
175
  height: C,
174
176
  value: o,
175
177
  language: t,
176
178
  loading: "",
177
- onMount: (e, l) => {
178
- R(l), A(e), j(l, g, _), e.onDidFocusEditorWidget(() => {
179
- T(!0);
179
+ onMount: (e, d) => {
180
+ W(d), A(e), I(d, f, _), e.onDidFocusEditorWidget(() => {
181
+ F(!0);
180
182
  }), e.onDidBlurEditorWidget(() => {
181
- T(!1);
182
- }), a?.(e, l), $(e, l);
183
+ F(!1);
184
+ }), i?.(e, d), N(e, d);
183
185
  },
184
186
  onChange: (e) => {
185
- n(e) && (d?.(e), $(k, h));
187
+ n(e) && (c?.(e), N(m, h));
186
188
  },
187
189
  onValidate: (e) => {
188
- v?.(e);
190
+ g?.(e);
189
191
  },
190
192
  options: {
191
193
  formatOnPaste: !0,
192
194
  formatOnType: !0,
193
- fontFamily: g.code.font.family,
195
+ fontFamily: f.code.font.family,
194
196
  bracketPairColorization: { enabled: !1 },
195
197
  overviewRulerLanes: 0,
196
198
  scrollBeyondLastLine: !1,
@@ -204,28 +206,33 @@ var z = "baseCodeEditorTheme", r = (o) => {
204
206
  }
205
207
  })
206
208
  }),
207
- y && /* @__PURE__ */ i(ro, {
209
+ y && /* @__PURE__ */ l(ro, {
208
210
  "aria-label": P,
209
- "aria-controls": F,
210
- value: D,
211
+ "aria-controls": D,
212
+ value: B,
211
213
  onValueChange: J
212
214
  })
213
215
  ]
214
216
  });
215
- }, uo = "_editorHeader_19qlo_1", go = "_elementContainer_19qlo_15", L = {
216
- editorHeader: uo,
217
- elementContainer: go
218
- }, _o = ({ title: o, leftNodes: t, rightNodes: a }) => /* @__PURE__ */ x("div", {
219
- className: L.editorHeader,
220
- children: [/* @__PURE__ */ x("div", {
221
- className: L.elementContainer,
222
- children: [t && t.map((d, s) => /* @__PURE__ */ i("div", { children: d }, `left-${s}`)), o]
223
- }), /* @__PURE__ */ i("div", {
224
- className: L.elementContainer,
225
- children: a && a.map((d, s) => /* @__PURE__ */ i("div", { children: d }, `right-${s}`))
226
- })]
217
+ }, po = "_editorHeader_19qlo_1", ko = "_elementContainer_19qlo_15", L = {
218
+ editorHeader: po,
219
+ elementContainer: ko
220
+ }, Lo = ({ title: o, startElement: t, endElement: i, className: c, render: u, ref: g, ...a }) => eo({
221
+ render: u,
222
+ ref: g,
223
+ props: {
224
+ ...a,
225
+ className: to(L.editorHeader, c),
226
+ children: /* @__PURE__ */ x(ao, { children: [/* @__PURE__ */ x("div", {
227
+ className: L.elementContainer,
228
+ children: [t, o]
229
+ }), /* @__PURE__ */ l("div", {
230
+ className: L.elementContainer,
231
+ children: i
232
+ })] })
233
+ }
227
234
  });
228
235
  export {
229
- yo as CodeEditor,
230
- _o as CodeEditorHeader
236
+ So as CodeEditor,
237
+ Lo as CodeEditorHeader
231
238
  };
@@ -1,2 +1,2 @@
1
1
  import { AvatarGroupProps } from './types/AvatarGroupProps';
2
- export declare const AvatarGroup: ({ avatars, className, maxVisible, overflowAvatar, overflowCount, overflowShape, overlap, overlapOffset, }: AvatarGroupProps) => import("react").JSX.Element | null;
2
+ export declare const AvatarGroup: ({ avatars, className, maxVisible, total, renderOverflow, overflowShape, overlap, overlapOffset, render, ref, ...props }: AvatarGroupProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
@@ -0,0 +1 @@
1
+ export declare const AvatarGroupIdentityExample: () => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare const AvatarGroupStatefulAvatar: ({ name }: {
2
+ name: string;
3
+ }) => import("react").JSX.Element;
@@ -1,11 +1,11 @@
1
+ import { useRender } from '@base-ui/react/use-render';
1
2
  import { ReactNode } from 'react';
2
3
  import { AvatarShape } from '../../../../primitives/data-display/Avatar/types/AvatarShape';
3
- export type AvatarGroupProps = {
4
+ export type AvatarGroupProps = Omit<useRender.ComponentProps<'div'>, 'children'> & {
4
5
  avatars: ReactNode[];
5
- className?: string;
6
6
  maxVisible?: number;
7
- overflowAvatar?: ReactNode;
8
- overflowCount?: number;
7
+ total?: number;
8
+ renderOverflow?: (hiddenCount: number) => ReactNode;
9
9
  overflowShape?: AvatarShape;
10
10
  overlap?: 'left' | 'right';
11
11
  overlapOffset?: string;
@@ -1,7 +1,2 @@
1
- import { ReactElement } from 'react';
2
- type CommandBlockProps = {
3
- commands: string[];
4
- button?: ReactElement;
5
- };
6
- export declare const CommandBlock: ({ commands, button }: CommandBlockProps) => import("react").JSX.Element;
7
- export {};
1
+ import { CommandBlockProps } from './types/CommandBlockProps';
2
+ export declare const CommandBlock: ({ commands, actions, render, ref, className, ...props }: CommandBlockProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
@@ -0,0 +1,6 @@
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import { ReactNode } from 'react';
3
+ export type CommandBlockProps = Omit<useRender.ComponentProps<'div'>, 'children'> & {
4
+ commands: readonly string[];
5
+ actions?: ReactNode;
6
+ };
@@ -1,2 +1,2 @@
1
1
  import { MetricRowProps } from './types/MetricRowProps';
2
- export declare const MetricRow: ({ children, startIcon: StartIcon, value, progress, progressColor, progressValueText, render, ref, className, ...props }: MetricRowProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
2
+ export declare const MetricRow: ({ children, startIcon, value, progress, progressColor, progressValueText, render, ref, className, ...props }: MetricRowProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
@@ -1,9 +1,8 @@
1
1
  import { useRender } from '@base-ui/react/use-render';
2
2
  import { ReactNode } from 'react';
3
- import { IconComponent } from '../../../../icon';
4
3
  export type MetricRowProps = Omit<useRender.ComponentProps<'div'>, 'children'> & {
5
- children: string;
6
- startIcon?: IconComponent;
4
+ children: ReactNode;
5
+ startIcon?: ReactNode;
7
6
  value: ReactNode;
8
7
  progress?: number;
9
8
  progressColor?: string;
@@ -1,2 +1,2 @@
1
1
  import { TintedIconTileProps } from './types/TintedIconTileProps';
2
- export declare const TintedIconTile: ({ Icon, color, size: sizeFromProps, stroke: strokeFromProps, }: TintedIconTileProps) => import("react").JSX.Element;
2
+ export declare const TintedIconTile: ({ icon, color, className, style, render, ref, ...props }: TintedIconTileProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
@@ -1,7 +1,6 @@
1
- import { IconComponent } from '../../../../icon/types/IconComponent';
2
- export type TintedIconTileProps = {
3
- Icon: IconComponent;
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import { ReactNode } from 'react';
3
+ export type TintedIconTileProps = Omit<useRender.ComponentProps<'div'>, 'children' | 'color'> & {
4
+ icon: ReactNode;
4
5
  color?: string | null;
5
- size?: number;
6
- stroke?: number;
7
6
  };
@@ -0,0 +1,17 @@
1
+ export { AvatarGroup } from './AvatarGroup/AvatarGroup';
2
+ export type { AvatarGroupProps } from './AvatarGroup/types/AvatarGroupProps';
3
+ export { CommandBlock } from './CommandBlock/CommandBlock';
4
+ export type { CommandBlockProps } from './CommandBlock/types/CommandBlockProps';
5
+ export { JsonTree } from './JsonTree/JsonTree';
6
+ export type { GetJsonNodeHighlighting } from './JsonTree/types/GetJsonNodeHighlighting';
7
+ export type { JsonNodeHighlighting } from './JsonTree/types/JsonNodeHighlighting';
8
+ export type { JsonTreeEntry } from './JsonTree/types/JsonTreeEntry';
9
+ export type { JsonTreeProps } from './JsonTree/types/JsonTreeProps';
10
+ export type { ShouldExpandNodeInitiallyProps } from './JsonTree/types/ShouldExpandNodeInitiallyProps';
11
+ export { MetricRow } from './MetricRow/MetricRow';
12
+ export type { MetricRowProps } from './MetricRow/types/MetricRowProps';
13
+ export { NotificationCounter } from './NotificationCounter/NotificationCounter';
14
+ export { TintedIconTile } from './TintedIconTile/TintedIconTile';
15
+ export type { TintedIconTileProps } from './TintedIconTile/types/TintedIconTileProps';
16
+ export type { IconTileColorShades } from './TintedIconTile/utils/getIconTileColorShades';
17
+ export { getIconTileColorShades } from './TintedIconTile/utils/getIconTileColorShades';
@@ -0,0 +1 @@
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../data-display-Bw-5dsCu.cjs"),o=require("../TintedIconTile-Dp4uH0Up.cjs");exports.AvatarGroup=e.AvatarGroup;exports.CommandBlock=e.CommandBlock;exports.JsonTree=e.JsonTree;exports.MetricRow=e.MetricRow;exports.NotificationCounter=e.NotificationCounter;exports.TintedIconTile=o.TintedIconTile;exports.getIconTileColorShades=o.getIconTileColorShades;
@@ -0,0 +1,11 @@
1
+ import { a, i as r, n as t, r as e, t as i } from "../data-display-CehSwX8i.js";
2
+ import { n as s, t as m } from "../TintedIconTile-BZgRO7cg.js";
3
+ export {
4
+ a as AvatarGroup,
5
+ r as CommandBlock,
6
+ e as JsonTree,
7
+ t as MetricRow,
8
+ i as NotificationCounter,
9
+ m as TintedIconTile,
10
+ s as getIconTileColorShades
11
+ };
@@ -1,2 +1,3 @@
1
- import { CalloutProps } from './types/CalloutProps';
2
- export declare const Callout: ({ variant, title, description, fullWidth, Icon, action, isClosable, closeLabel, onClose, }: CalloutProps) => import("react").JSX.Element | null;
1
+ export declare const Callout: (({ status, variant, color, title, description, fullWidth, icon, action, closeLabel, onDismiss, className, render, ref, ...props }: import('..').CalloutProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>) & {
2
+ Action: ({ className, ...props }: import('..').CalloutActionProps) => import("react").JSX.Element;
3
+ };
@@ -0,0 +1,2 @@
1
+ import { CalloutActionProps } from '../types/CalloutActionProps';
2
+ export declare const CalloutAction: ({ className, ...props }: CalloutActionProps) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { CalloutProps } from '../types/CalloutProps';
2
+ export declare const CalloutComponent: ({ status, variant, color, title, description, fullWidth, icon, action, closeLabel, onDismiss, className, render, ref, ...props }: CalloutProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
@@ -0,0 +1,2 @@
1
+ import { ButtonProps } from '../../../../primitives/input/Button/types/ButtonProps';
2
+ export type CalloutActionProps = Omit<ButtonProps, 'size' | 'variant'>;
@@ -0,0 +1,2 @@
1
+ import { BannerColor } from '../../../../primitives/feedback/Banner/types/BannerColor';
2
+ export type CalloutColor = BannerColor;
@@ -1,16 +1,18 @@
1
- import { IconComponent } from '../../../../icon/types/IconComponent';
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import { ReactNode } from 'react';
3
+ import { CalloutColor } from './CalloutColor';
4
+ import { CalloutState } from './CalloutState';
5
+ import { CalloutStatus } from './CalloutStatus';
2
6
  import { CalloutVariant } from './CalloutVariant';
3
- export type CalloutProps = {
4
- variant: CalloutVariant;
5
- title: string;
6
- description?: string;
7
+ export type CalloutProps = Omit<useRender.ComponentProps<'div', CalloutState>, 'title' | 'color' | 'children'> & {
8
+ status?: CalloutStatus;
9
+ variant?: CalloutVariant;
10
+ color?: CalloutColor;
11
+ title: ReactNode;
12
+ description?: ReactNode;
7
13
  fullWidth?: boolean;
8
- Icon?: IconComponent;
9
- action?: {
10
- label: string;
11
- onClick: () => void;
12
- };
13
- isClosable?: boolean;
14
+ icon?: ReactNode;
15
+ action?: ReactNode;
14
16
  closeLabel?: string;
15
- onClose?: () => void;
17
+ onDismiss?: () => void;
16
18
  };
@@ -0,0 +1,8 @@
1
+ import { CalloutColor } from './CalloutColor';
2
+ import { CalloutStatus } from './CalloutStatus';
3
+ import { CalloutVariant } from './CalloutVariant';
4
+ export type CalloutState = {
5
+ status: CalloutStatus;
6
+ variant: CalloutVariant;
7
+ color: CalloutColor;
8
+ };
@@ -0,0 +1,2 @@
1
+ import { BannerStatus } from '../../../../primitives/feedback/Banner/types/BannerStatus';
2
+ export type CalloutStatus = BannerStatus;
@@ -1 +1 @@
1
- export type CalloutVariant = 'info' | 'warning' | 'error' | 'neutral' | 'success';
1
+ export type CalloutVariant = 'soft';
@@ -1,2 +1,3 @@
1
- import { InlineBannerProps } from './types/InlineBannerProps';
2
- export declare const InlineBanner: ({ color, message, variant, embedded, button, LeftIcon, className, }: InlineBannerProps) => import("react").JSX.Element;
1
+ export declare const InlineBanner: (({ children, layout, variant, embedded, icon, className, ...props }: import('..').InlineBannerProps) => import("react").JSX.Element) & {
2
+ Action: ({ className, ...props }: import('../../..').BannerActionProps) => import("react").JSX.Element;
3
+ };
@@ -0,0 +1,2 @@
1
+ import { InlineBannerProps } from '../types/InlineBannerProps';
2
+ export declare const InlineBannerComponent: ({ children, layout, variant, embedded, icon, className, ...props }: InlineBannerProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export type InlineBannerLayout = 'standard' | 'compact';
@@ -1,12 +1,6 @@
1
- import { IconComponent } from '../../../../icon/types/IconComponent';
2
- import { BannerColor } from '../../../../primitives/feedback/Banner/Banner';
3
- import { InlineBannerButtonProps } from './InlineBannerButtonProps';
4
- export type InlineBannerProps = {
5
- color?: BannerColor;
6
- message: string;
7
- variant?: 'standard' | 'compact';
1
+ import { BannerProps } from '../../../../primitives/feedback/Banner/types/BannerProps';
2
+ import { InlineBannerLayout } from './InlineBannerLayout';
3
+ export type InlineBannerProps = BannerProps & {
4
+ layout?: InlineBannerLayout;
8
5
  embedded?: boolean;
9
- button?: InlineBannerButtonProps;
10
- LeftIcon?: IconComponent;
11
- className?: string;
12
6
  };
@@ -1,7 +1,7 @@
1
1
  export declare const useToast: () => {
2
2
  enqueueToast: {
3
- (options: import('../types/ToastOptions').ToastOptions): string;
4
- (options: import('../types/ToastOptions').ToastOptions | undefined): string | undefined;
3
+ (options: import('../..').ToastOptions): string;
4
+ (options: import('../..').ToastOptions | undefined): string | undefined;
5
5
  };
6
6
  closeToast: (id?: string) => void;
7
7
  };
@@ -0,0 +1,20 @@
1
+ export { Callout } from './Callout/Callout';
2
+ export type { CalloutActionProps } from './Callout/types/CalloutActionProps';
3
+ export type { CalloutColor } from './Callout/types/CalloutColor';
4
+ export type { CalloutProps } from './Callout/types/CalloutProps';
5
+ export type { CalloutState } from './Callout/types/CalloutState';
6
+ export type { CalloutStatus } from './Callout/types/CalloutStatus';
7
+ export type { CalloutVariant } from './Callout/types/CalloutVariant';
8
+ export { InlineBanner } from './InlineBanner/InlineBanner';
9
+ export type { InlineBannerLayout } from './InlineBanner/types/InlineBannerLayout';
10
+ export type { InlineBannerProps } from './InlineBanner/types/InlineBannerProps';
11
+ export { useToast } from './Toast/hooks/useToast';
12
+ export { Toast } from './Toast/Toast';
13
+ export { ToastProvider } from './Toast/ToastProvider';
14
+ export type { ToastNotification } from './Toast/types/ToastNotification';
15
+ export type { ToastOptions } from './Toast/types/ToastOptions';
16
+ export type { ToastProps } from './Toast/types/ToastProps';
17
+ export type { ToastProviderProps } from './Toast/types/ToastProviderProps';
18
+ export type { ToastVariant } from './Toast/types/ToastVariant';
19
+ export { Toaster } from './Toaster/Toaster';
20
+ export type { ToasterProps } from './Toaster/types/ToasterProps';
@@ -0,0 +1 @@
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../feedback-BleeRoOP.cjs");exports.Callout=e.Callout;exports.InlineBanner=e.InlineBanner;exports.Toast=e.Toast;exports.ToastProvider=e.ToastProvider;exports.Toaster=e.Toaster;exports.useToast=e.useToast;
@@ -0,0 +1,9 @@
1
+ import { a as s, i as o, n as r, o as t, r as e, t as n } from "../feedback-BV1EK98d.js";
2
+ export {
3
+ t as Callout,
4
+ s as InlineBanner,
5
+ e as Toast,
6
+ r as ToastProvider,
7
+ n as Toaster,
8
+ o as useToast
9
+ };