@sanity/ui 4.0.0-beta.7 → 4.0.0-next.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 (393) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +21 -7
  3. package/dist/_chunks/getScopedTheme.cjs +4043 -0
  4. package/dist/_chunks/getScopedTheme.cjs.map +1 -0
  5. package/dist/_chunks/getScopedTheme.js +3803 -0
  6. package/dist/_chunks/getScopedTheme.js.map +1 -0
  7. package/dist/_chunks/portalProvider.cjs +3750 -0
  8. package/dist/_chunks/portalProvider.cjs.map +1 -0
  9. package/dist/_chunks/portalProvider.d.cts +1067 -0
  10. package/dist/_chunks/portalProvider.d.cts.map +1 -0
  11. package/dist/_chunks/portalProvider.d.ts +1067 -0
  12. package/dist/_chunks/portalProvider.d.ts.map +1 -0
  13. package/dist/_chunks/portalProvider.js +3300 -0
  14. package/dist/_chunks/portalProvider.js.map +1 -0
  15. package/dist/_chunks/refractor.cjs +18 -0
  16. package/dist/_chunks/refractor.cjs.map +1 -0
  17. package/dist/_chunks/refractor.js +20 -0
  18. package/dist/_chunks/refractor.js.map +1 -0
  19. package/dist/_chunks/rgba.d.cts +929 -0
  20. package/dist/_chunks/rgba.d.cts.map +1 -0
  21. package/dist/_chunks/rgba.d.ts +929 -0
  22. package/dist/_chunks/rgba.d.ts.map +1 -0
  23. package/dist/_visual-editing.cjs +4 -0
  24. package/dist/_visual-editing.d.cts +2 -0
  25. package/dist/_visual-editing.d.ts +2 -0
  26. package/dist/_visual-editing.js +3 -0
  27. package/dist/index.cjs +3007 -0
  28. package/dist/index.cjs.map +1 -0
  29. package/dist/index.d.cts +1275 -0
  30. package/dist/index.d.cts.map +1 -0
  31. package/dist/index.d.ts +708 -1188
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +2964 -4783
  34. package/dist/index.js.map +1 -1
  35. package/dist/theme.cjs +54 -0
  36. package/dist/theme.cjs.map +1 -0
  37. package/dist/theme.d.cts +278 -0
  38. package/dist/theme.d.cts.map +1 -0
  39. package/dist/theme.d.ts +278 -0
  40. package/dist/theme.d.ts.map +1 -0
  41. package/dist/theme.js +53 -0
  42. package/dist/theme.js.map +1 -0
  43. package/package.json +65 -88
  44. package/dist/_chunks-es/Syntax.js +0 -23
  45. package/dist/_chunks-es/Syntax.js.map +0 -1
  46. package/dist/index.css +0 -1
  47. package/exports/index.css +0 -1
  48. package/exports/index.ts +0 -125
  49. package/src/components/autocomplete/Autocomplete.tsx +0 -665
  50. package/src/components/autocomplete/AutocompleteOption.tsx +0 -42
  51. package/src/components/autocomplete/__workshop__/Async.tsx +0 -162
  52. package/src/components/autocomplete/__workshop__/ConstrainedHeight.tsx +0 -121
  53. package/src/components/autocomplete/__workshop__/Custom.tsx +0 -91
  54. package/src/components/autocomplete/__workshop__/Example.tsx +0 -70
  55. package/src/components/autocomplete/__workshop__/FocusAndBlur.tsx +0 -39
  56. package/src/components/autocomplete/__workshop__/Fullscreen.tsx +0 -307
  57. package/src/components/autocomplete/__workshop__/index.ts +0 -41
  58. package/src/components/autocomplete/__workshop__/mock/apiStore.ts +0 -49
  59. package/src/components/autocomplete/__workshop__/mock/countries.ts +0 -245
  60. package/src/components/autocomplete/__workshop__/types.ts +0 -4
  61. package/src/components/autocomplete/autocompleteReducer.ts +0 -47
  62. package/src/components/autocomplete/constants.ts +0 -28
  63. package/src/components/autocomplete/types.ts +0 -103
  64. package/src/components/breadcrumbs/Breadcrumbs.tsx +0 -163
  65. package/src/components/breadcrumbs/__workshop__/Example.tsx +0 -48
  66. package/src/components/breadcrumbs/__workshop__/index.ts +0 -16
  67. package/src/components/dialog/Dialog.tsx +0 -230
  68. package/src/components/dialog/DialogCard.tsx +0 -233
  69. package/src/components/dialog/DialogContext.ts +0 -21
  70. package/src/components/dialog/DialogProvider.tsx +0 -34
  71. package/src/components/dialog/__workshop__/Activate.tsx +0 -141
  72. package/src/components/dialog/__workshop__/AutoFocus.tsx +0 -29
  73. package/src/components/dialog/__workshop__/Layering.tsx +0 -41
  74. package/src/components/dialog/__workshop__/Nested.tsx +0 -71
  75. package/src/components/dialog/__workshop__/OnScroll.tsx +0 -51
  76. package/src/components/dialog/__workshop__/Panes.tsx +0 -75
  77. package/src/components/dialog/__workshop__/Position.tsx +0 -30
  78. package/src/components/dialog/__workshop__/Props.tsx +0 -93
  79. package/src/components/dialog/__workshop__/Provider.tsx +0 -11
  80. package/src/components/dialog/__workshop__/Wrapped.tsx +0 -76
  81. package/src/components/dialog/__workshop__/index.ts +0 -21
  82. package/src/components/dialog/isTargetWithinScope.ts +0 -14
  83. package/src/components/dialog/types.ts +0 -2
  84. package/src/components/dialog/useDialog.ts +0 -11
  85. package/src/components/hotkeys/Hotkeys.tsx +0 -70
  86. package/src/components/hotkeys/__workshop__/Plain.tsx +0 -9
  87. package/src/components/hotkeys/__workshop__/index.ts +0 -16
  88. package/src/components/menu/Menu.test.tsx +0 -125
  89. package/src/components/menu/Menu.tsx +0 -174
  90. package/src/components/menu/MenuButton.tsx +0 -231
  91. package/src/components/menu/MenuContext.ts +0 -19
  92. package/src/components/menu/MenuDivider.tsx +0 -32
  93. package/src/components/menu/MenuGroup.tsx +0 -240
  94. package/src/components/menu/MenuItem.tsx +0 -153
  95. package/src/components/menu/__workshop__/AsComponent.tsx +0 -45
  96. package/src/components/menu/__workshop__/AvatarMenu.tsx +0 -36
  97. package/src/components/menu/__workshop__/ClosableMenuButton.tsx +0 -47
  98. package/src/components/menu/__workshop__/ConstrainedInBoundary.tsx +0 -133
  99. package/src/components/menu/__workshop__/CustomMenuItem.tsx +0 -47
  100. package/src/components/menu/__workshop__/CustomSelectedState.tsx +0 -35
  101. package/src/components/menu/__workshop__/DataProps.tsx +0 -27
  102. package/src/components/menu/__workshop__/DisableFocusOnClose.tsx +0 -40
  103. package/src/components/menu/__workshop__/Groups.tsx +0 -164
  104. package/src/components/menu/__workshop__/MenuButton.tsx +0 -79
  105. package/src/components/menu/__workshop__/MenuGroupRight.tsx +0 -73
  106. package/src/components/menu/__workshop__/NestedMenu.tsx +0 -22
  107. package/src/components/menu/__workshop__/OnCloseMenuButton.tsx +0 -50
  108. package/src/components/menu/__workshop__/SelectedItem.tsx +0 -69
  109. package/src/components/menu/__workshop__/ShouldFocus.tsx +0 -42
  110. package/src/components/menu/__workshop__/Tones.tsx +0 -19
  111. package/src/components/menu/__workshop__/index.ts +0 -91
  112. package/src/components/menu/helpers.ts +0 -82
  113. package/src/components/menu/useMenu.ts +0 -21
  114. package/src/components/menu/useMenuController.ts +0 -245
  115. package/src/components/tab/Tab.tsx +0 -135
  116. package/src/components/tab/TabList.tsx +0 -157
  117. package/src/components/tab/TabListContext.ts +0 -10
  118. package/src/components/tab/TabPanel.tsx +0 -94
  119. package/src/components/tab/__workshop__/Example.tsx +0 -135
  120. package/src/components/tab/__workshop__/index.ts +0 -16
  121. package/src/components/tab/types.ts +0 -11
  122. package/src/components/toast/Toast.test.tsx +0 -103
  123. package/src/components/toast/Toast.tsx +0 -191
  124. package/src/components/toast/ToastContext.ts +0 -7
  125. package/src/components/toast/ToastLayer.tsx +0 -54
  126. package/src/components/toast/ToastProvider.tsx +0 -127
  127. package/src/components/toast/__workshop__/Hook.tsx +0 -71
  128. package/src/components/toast/__workshop__/Toast.tsx +0 -26
  129. package/src/components/toast/__workshop__/index.ts +0 -21
  130. package/src/components/toast/toastState.ts +0 -6
  131. package/src/components/toast/types.ts +0 -24
  132. package/src/components/toast/useToast.ts +0 -23
  133. package/src/components/tree/Tree.tsx +0 -248
  134. package/src/components/tree/TreeContext.ts +0 -10
  135. package/src/components/tree/TreeGroup.tsx +0 -46
  136. package/src/components/tree/TreeItem.tsx +0 -236
  137. package/src/components/tree/__workshop__/Basic.tsx +0 -108
  138. package/src/components/tree/__workshop__/TabFromElement.tsx +0 -84
  139. package/src/components/tree/__workshop__/basic.perf.ts +0 -19
  140. package/src/components/tree/__workshop__/index.ts +0 -23
  141. package/src/components/tree/helpers.ts +0 -105
  142. package/src/components/tree/types.ts +0 -24
  143. package/src/components/tree/useTree.ts +0 -17
  144. package/src/components/virtualList/VirtualList.tsx +0 -254
  145. package/src/components/virtualList/__workshop__/ChangingProps.tsx +0 -41
  146. package/src/components/virtualList/__workshop__/ElementScroll.tsx +0 -43
  147. package/src/components/virtualList/__workshop__/InfiniteList.tsx +0 -40
  148. package/src/components/virtualList/__workshop__/WindowScrolll.tsx +0 -23
  149. package/src/components/virtualList/__workshop__/index.ts +0 -31
  150. package/src/core/_keys.ts +0 -26
  151. package/src/core/constants.ts +0 -67
  152. package/src/core/getElementRef.ts +0 -29
  153. package/src/core/helpers/animation.ts +0 -26
  154. package/src/core/helpers/element.ts +0 -55
  155. package/src/core/helpers/focus.ts +0 -92
  156. package/src/core/helpers/props.ts +0 -51
  157. package/src/core/helpers/scroll.ts +0 -15
  158. package/src/core/lib/createGlobalScopedContext.ts +0 -39
  159. package/src/core/lib/globalScope.ts +0 -19
  160. package/src/core/lib/isArray.ts +0 -3
  161. package/src/core/lib/isRecord.ts +0 -3
  162. package/src/core/types.ts +0 -57
  163. package/src/hooks/useClickOutsideEvent.test.tsx +0 -114
  164. package/src/hooks/useClickOutsideEvent.ts +0 -66
  165. package/src/hooks/useCustomValidity.ts +0 -13
  166. package/src/hooks/useElementSize.ts +0 -19
  167. package/src/hooks/useGlobalKeyDown.ts +0 -23
  168. package/src/hooks/useMatchMedia.ts +0 -28
  169. package/src/hooks/useMediaIndex/__workshop__/Test.tsx +0 -14
  170. package/src/hooks/useMediaIndex/__workshop__/index.ts +0 -16
  171. package/src/hooks/useMediaIndex/useMediaIndex.test.tsx +0 -21
  172. package/src/hooks/useMediaIndex/useMediaIndex.ts +0 -111
  173. package/src/hooks/useMounted.ts +0 -15
  174. package/src/hooks/usePrefersDark.hydration.test.tsx +0 -56
  175. package/src/hooks/usePrefersDark.test.tsx +0 -20
  176. package/src/hooks/usePrefersDark.ts +0 -16
  177. package/src/hooks/usePrefersReducedMotion.hydration.test.tsx +0 -56
  178. package/src/hooks/usePrefersReducedMotion.test.tsx +0 -20
  179. package/src/hooks/usePrefersReducedMotion.ts +0 -16
  180. package/src/hooks/useResponsiveProp.ts +0 -14
  181. package/src/hooks/useUnique.ts +0 -54
  182. package/src/middleware/origin.ts +0 -47
  183. package/src/observers/elementSize.ts +0 -114
  184. package/src/primitives/_syntax/LazySyntax.tsx +0 -4
  185. package/src/primitives/_syntax/Syntax.tsx +0 -26
  186. package/src/primitives/avatar/Avatar.tsx +0 -145
  187. package/src/primitives/avatar/AvatarCounter.tsx +0 -69
  188. package/src/primitives/avatar/AvatarStack.tsx +0 -77
  189. package/src/primitives/avatar/__workshop__/AsButton.tsx +0 -12
  190. package/src/primitives/avatar/__workshop__/PropsStory.tsx +0 -24
  191. package/src/primitives/avatar/__workshop__/Stack.tsx +0 -27
  192. package/src/primitives/avatar/__workshop__/WithinButton.tsx +0 -51
  193. package/src/primitives/avatar/__workshop__/WithinMenuItem.tsx +0 -52
  194. package/src/primitives/avatar/__workshop__/index.ts +0 -36
  195. package/src/primitives/avatar/types.ts +0 -2
  196. package/src/primitives/badge/Badge.test.tsx +0 -16
  197. package/src/primitives/badge/Badge.tsx +0 -53
  198. package/src/primitives/badge/__workshop__/Props.tsx +0 -27
  199. package/src/primitives/badge/__workshop__/Tones.tsx +0 -15
  200. package/src/primitives/badge/__workshop__/index.ts +0 -26
  201. package/src/primitives/badge/__workshop__/within-button.tsx +0 -36
  202. package/src/primitives/box/Box.tsx +0 -73
  203. package/src/primitives/box/__workshop__/Props.tsx +0 -26
  204. package/src/primitives/box/__workshop__/Responsive.tsx +0 -19
  205. package/src/primitives/box/__workshop__/index.ts +0 -21
  206. package/src/primitives/button/Button.test.tsx +0 -30
  207. package/src/primitives/button/Button.tsx +0 -148
  208. package/src/primitives/button/__workshop__/Custom.tsx +0 -39
  209. package/src/primitives/button/__workshop__/CustomIcons.tsx +0 -37
  210. package/src/primitives/button/__workshop__/DataProps.tsx +0 -18
  211. package/src/primitives/button/__workshop__/Disabled.tsx +0 -43
  212. package/src/primitives/button/__workshop__/MixedChildren.tsx +0 -12
  213. package/src/primitives/button/__workshop__/Props.tsx +0 -60
  214. package/src/primitives/button/__workshop__/Stacked.tsx +0 -60
  215. package/src/primitives/button/__workshop__/Styled1.css.ts +0 -7
  216. package/src/primitives/button/__workshop__/Styled1.tsx +0 -11
  217. package/src/primitives/button/__workshop__/TextOverflow.tsx +0 -17
  218. package/src/primitives/button/__workshop__/UploadButton.tsx +0 -28
  219. package/src/primitives/button/__workshop__/index.ts +0 -61
  220. package/src/primitives/button/types.ts +0 -2
  221. package/src/primitives/card/Card.tsx +0 -124
  222. package/src/primitives/card/CardContext.ts +0 -10
  223. package/src/primitives/card/CardInternalContext.ts +0 -10
  224. package/src/primitives/card/CardInternalProvider.tsx +0 -15
  225. package/src/primitives/card/CardProvider.tsx +0 -16
  226. package/src/primitives/card/__workshop__/AsButton.tsx +0 -103
  227. package/src/primitives/card/__workshop__/AsComponent.tsx +0 -25
  228. package/src/primitives/card/__workshop__/Checkered.tsx +0 -25
  229. package/src/primitives/card/__workshop__/DataProps.tsx +0 -25
  230. package/src/primitives/card/__workshop__/Interactive.tsx +0 -29
  231. package/src/primitives/card/__workshop__/ListNavigation.tsx +0 -78
  232. package/src/primitives/card/__workshop__/Props.tsx +0 -59
  233. package/src/primitives/card/__workshop__/Selected.tsx +0 -62
  234. package/src/primitives/card/__workshop__/Styled.tsx +0 -11
  235. package/src/primitives/card/__workshop__/Tones.tsx +0 -26
  236. package/src/primitives/card/__workshop__/index.ts +0 -21
  237. package/src/primitives/card/types.ts +0 -21
  238. package/src/primitives/card/useCard.ts +0 -20
  239. package/src/primitives/checkbox/Checkbox.tsx +0 -80
  240. package/src/primitives/checkbox/__workshop__/Example.tsx +0 -25
  241. package/src/primitives/checkbox/__workshop__/Props.tsx +0 -35
  242. package/src/primitives/checkbox/__workshop__/ReadOnly.tsx +0 -16
  243. package/src/primitives/checkbox/__workshop__/Tones.tsx +0 -26
  244. package/src/primitives/checkbox/__workshop__/index.ts +0 -15
  245. package/src/primitives/code/Code.tsx +0 -47
  246. package/src/primitives/code/__workshop__/OpticalAlignment.tsx +0 -25
  247. package/src/primitives/code/__workshop__/Props.tsx +0 -20
  248. package/src/primitives/code/__workshop__/index.ts +0 -21
  249. package/src/primitives/container/Container.tsx +0 -43
  250. package/src/primitives/container/__workshop__/Example.tsx +0 -16
  251. package/src/primitives/container/__workshop__/index.ts +0 -16
  252. package/src/primitives/container/types.ts +0 -6
  253. package/src/primitives/flex/Flex.tsx +0 -38
  254. package/src/primitives/flex/__workshop__/Example.tsx +0 -26
  255. package/src/primitives/flex/__workshop__/Gap.tsx +0 -25
  256. package/src/primitives/flex/__workshop__/index.ts +0 -13
  257. package/src/primitives/flex/__workshop__/styles.css.ts +0 -12
  258. package/src/primitives/grid/Grid.tsx +0 -38
  259. package/src/primitives/grid/__workshop__/Responsive.tsx +0 -54
  260. package/src/primitives/grid/__workshop__/index.ts +0 -12
  261. package/src/primitives/heading/Heading.tsx +0 -68
  262. package/src/primitives/heading/__workshop__/OpticalAlignment.tsx +0 -27
  263. package/src/primitives/heading/__workshop__/Plain.tsx +0 -25
  264. package/src/primitives/heading/__workshop__/index.ts +0 -21
  265. package/src/primitives/inline/Inline.tsx +0 -37
  266. package/src/primitives/inline/__workshop__/Plain.tsx +0 -22
  267. package/src/primitives/inline/__workshop__/index.ts +0 -10
  268. package/src/primitives/kbd/Kbd.tsx +0 -36
  269. package/src/primitives/kbd/__workshop__/Plain.tsx +0 -9
  270. package/src/primitives/kbd/__workshop__/index.ts +0 -10
  271. package/src/primitives/label/Label.tsx +0 -67
  272. package/src/primitives/label/__workshop__/OpticalAlignment.tsx +0 -27
  273. package/src/primitives/label/__workshop__/Plain.tsx +0 -27
  274. package/src/primitives/label/__workshop__/index.ts +0 -21
  275. package/src/primitives/layer/Layer.test.tsx +0 -110
  276. package/src/primitives/layer/Layer.tsx +0 -35
  277. package/src/primitives/layer/LayerCard.tsx +0 -90
  278. package/src/primitives/layer/LayerContext.ts +0 -7
  279. package/src/primitives/layer/LayerProvider.tsx +0 -106
  280. package/src/primitives/layer/__workshop__/MultipleRoots.tsx +0 -49
  281. package/src/primitives/layer/__workshop__/Nested.tsx +0 -107
  282. package/src/primitives/layer/__workshop__/ResponsiveZOffset.tsx +0 -17
  283. package/src/primitives/layer/__workshop__/_debug.tsx +0 -17
  284. package/src/primitives/layer/__workshop__/index.ts +0 -26
  285. package/src/primitives/layer/getLayerContext.test.ts +0 -32
  286. package/src/primitives/layer/getLayerContext.ts +0 -21
  287. package/src/primitives/layer/types.ts +0 -9
  288. package/src/primitives/layer/useLayer.ts +0 -24
  289. package/src/primitives/popover/Popover.tsx +0 -291
  290. package/src/primitives/popover/PopoverLayer.tsx +0 -101
  291. package/src/primitives/popover/__workshop__/AlignedStory.tsx +0 -75
  292. package/src/primitives/popover/__workshop__/MarginsStory.tsx +0 -31
  293. package/src/primitives/popover/__workshop__/MatchReferenceWidthStory.tsx +0 -32
  294. package/src/primitives/popover/__workshop__/OpenOnMountStory.tsx +0 -11
  295. package/src/primitives/popover/__workshop__/PlainStory.tsx +0 -67
  296. package/src/primitives/popover/__workshop__/RecursiveStory.tsx +0 -71
  297. package/src/primitives/popover/__workshop__/SidePanelStory.tsx +0 -95
  298. package/src/primitives/popover/__workshop__/TestStory.tsx +0 -97
  299. package/src/primitives/popover/__workshop__/index.ts +0 -56
  300. package/src/primitives/popover/__workshop__/portal-inheritance.tsx +0 -15
  301. package/src/primitives/popover/constants.ts +0 -20
  302. package/src/primitives/popover/floating-ui/size.ts +0 -75
  303. package/src/primitives/popover/types.ts +0 -12
  304. package/src/primitives/popover/useMiddleware.ts +0 -126
  305. package/src/primitives/radio/Radio.tsx +0 -64
  306. package/src/primitives/radio/__workshop__/Example.tsx +0 -63
  307. package/src/primitives/radio/__workshop__/Plain.tsx +0 -28
  308. package/src/primitives/radio/__workshop__/index.ts +0 -13
  309. package/src/primitives/select/Select.tsx +0 -76
  310. package/src/primitives/select/__workshop__/Plain.tsx +0 -37
  311. package/src/primitives/select/__workshop__/ReadOnly.tsx +0 -23
  312. package/src/primitives/select/__workshop__/index.ts +0 -13
  313. package/src/primitives/selectable/Selectable.tsx +0 -48
  314. package/src/primitives/selectable/__workshop__/DataProps.tsx +0 -24
  315. package/src/primitives/selectable/__workshop__/as-link.tsx +0 -13
  316. package/src/primitives/selectable/__workshop__/index.ts +0 -19
  317. package/src/primitives/skeleton/CodeSkeleton.tsx +0 -49
  318. package/src/primitives/skeleton/HeadingSkeleton.tsx +0 -48
  319. package/src/primitives/skeleton/LabelSkeleton.tsx +0 -47
  320. package/src/primitives/skeleton/Skeleton.tsx +0 -70
  321. package/src/primitives/skeleton/TextSkeleton.tsx +0 -49
  322. package/src/primitives/skeleton/__workshop__/Delay.tsx +0 -69
  323. package/src/primitives/skeleton/__workshop__/Skeleton.tsx +0 -63
  324. package/src/primitives/skeleton/__workshop__/index.ts +0 -13
  325. package/src/primitives/spinner/Spinner.tsx +0 -45
  326. package/src/primitives/spinner/SpinnerAnimatedIcon.tsx +0 -14
  327. package/src/primitives/spinner/__workshop__/Props.tsx +0 -13
  328. package/src/primitives/spinner/__workshop__/index.ts +0 -16
  329. package/src/primitives/srOnly/SrOnly.tsx +0 -33
  330. package/src/primitives/stack/Stack.tsx +0 -38
  331. package/src/primitives/stack/__workshop__/Plain.tsx +0 -30
  332. package/src/primitives/stack/__workshop__/index.ts +0 -16
  333. package/src/primitives/switch/Switch.tsx +0 -76
  334. package/src/primitives/switch/__workshop__/Example.tsx +0 -25
  335. package/src/primitives/switch/__workshop__/Props.tsx +0 -23
  336. package/src/primitives/switch/__workshop__/index.ts +0 -13
  337. package/src/primitives/text/InlineCode.tsx +0 -25
  338. package/src/primitives/text/Text.tsx +0 -68
  339. package/src/primitives/text/__workshop__/Example.tsx +0 -26
  340. package/src/primitives/text/__workshop__/OpticalAlignment.tsx +0 -27
  341. package/src/primitives/text/__workshop__/index.ts +0 -26
  342. package/src/primitives/text/__workshop__/inline-code.tsx +0 -13
  343. package/src/primitives/textArea/TextArea.tsx +0 -97
  344. package/src/primitives/textArea/__workshop__/Plain.tsx +0 -46
  345. package/src/primitives/textArea/__workshop__/index.ts +0 -16
  346. package/src/primitives/textInput/TextInput.tsx +0 -279
  347. package/src/primitives/textInput/__workshop__/ClearButton.tsx +0 -32
  348. package/src/primitives/textInput/__workshop__/CustomValidity.tsx +0 -17
  349. package/src/primitives/textInput/__workshop__/Plain.tsx +0 -102
  350. package/src/primitives/textInput/__workshop__/ReadOnly.tsx +0 -14
  351. package/src/primitives/textInput/__workshop__/States.tsx +0 -53
  352. package/src/primitives/textInput/__workshop__/Tones.tsx +0 -40
  353. package/src/primitives/textInput/__workshop__/Typed.tsx +0 -23
  354. package/src/primitives/textInput/__workshop__/index.ts +0 -46
  355. package/src/primitives/tooltip/Tooltip.test.tsx +0 -496
  356. package/src/primitives/tooltip/Tooltip.tsx +0 -546
  357. package/src/primitives/tooltip/TooltipLayer.tsx +0 -72
  358. package/src/primitives/tooltip/__workshop__/CustomPortal.tsx +0 -102
  359. package/src/primitives/tooltip/__workshop__/OverflowingBoundary.tsx +0 -74
  360. package/src/primitives/tooltip/__workshop__/Props.tsx +0 -107
  361. package/src/primitives/tooltip/__workshop__/ResizableBoundary.tsx +0 -91
  362. package/src/primitives/tooltip/__workshop__/index.ts +0 -31
  363. package/src/primitives/tooltip/constants.ts +0 -24
  364. package/src/primitives/tooltip/tooltipDelayGroup/TooltipDelayGroupContext.tsx +0 -13
  365. package/src/primitives/tooltip/tooltipDelayGroup/TooltipDelayGroupProvider.tsx +0 -96
  366. package/src/primitives/tooltip/tooltipDelayGroup/types.ts +0 -7
  367. package/src/primitives/tooltip/tooltipDelayGroup/useTooltipDelayGroup.ts +0 -13
  368. package/src/root/Root.tsx +0 -93
  369. package/src/root/RootProvider.tsx +0 -37
  370. package/src/root/__workshop__/Boundary.tsx +0 -43
  371. package/src/root/__workshop__/index.ts +0 -24
  372. package/src/root/__workshop__/primitives.tsx +0 -49
  373. package/src/root/__workshop__/tone-inheritance.tsx +0 -65
  374. package/src/utils/ErrorBoundary.tsx +0 -50
  375. package/src/utils/boundaryElement/BoundaryElementContext.ts +0 -7
  376. package/src/utils/boundaryElement/BoundaryElementProvider.tsx +0 -16
  377. package/src/utils/boundaryElement/__workshop__/Plain.tsx +0 -49
  378. package/src/utils/boundaryElement/__workshop__/index.ts +0 -16
  379. package/src/utils/boundaryElement/types.ts +0 -2
  380. package/src/utils/boundaryElement/useBoundaryElement.ts +0 -12
  381. package/src/utils/elementQuery/ElementQuery.tsx +0 -75
  382. package/src/utils/elementQuery/__workshop__/CustomMedia.tsx +0 -19
  383. package/src/utils/elementQuery/__workshop__/index.ts +0 -16
  384. package/src/utils/elementQuery/__workshop__/styles.css.ts +0 -31
  385. package/src/utils/elementQuery/helpers.ts +0 -27
  386. package/src/utils/portal/Portal.test.tsx +0 -105
  387. package/src/utils/portal/Portal.tsx +0 -42
  388. package/src/utils/portal/PortalContext.ts +0 -37
  389. package/src/utils/portal/PortalProvider.tsx +0 -38
  390. package/src/utils/portal/__workshop__/Named.tsx +0 -69
  391. package/src/utils/portal/__workshop__/index.ts +0 -16
  392. package/src/utils/portal/types.ts +0 -7
  393. package/src/utils/portal/usePortal.ts +0 -30
@@ -0,0 +1,1067 @@
1
+ import { At as ThemeColorSchemeKey$1, Ct as ThemeColorSyntax$1, Dt as ThemeColorCardToneKey, Et as ThemeColorButtonModeKey$1, Ht as HSL$1, Mt as ThemeColorStateToneKey, St as ThemeFonts$1, Ut as RGB$1, _ as Theme_v2, _t as ThemeFont$1, a as rgbToHex$1, bt as ThemeFontWeight$1, c as screen$1, f as createColorTheme$1, ft as ThemeStyles, g as Theme$1, gt as ThemeLayer$1, ht as ThemeShadow$1, i as hslToRgb$1, l as multiply$1, m as RootTheme$1, mt as ThemeBoxShadow, n as parseColor$1, o as rgbToHsl$1, p as BaseTheme$1, r as hexToRgb$1, t as rgba$1, vt as ThemeFontKey$1, xt as ThemeFontWeightKey$1, yt as ThemeFontSize$1 } from "./rgba.cjs";
2
+ import { Ref } from "react";
3
+ /**
4
+ * @public
5
+ * @deprecated Use `BaseTheme` from `@sanity/ui/theme` instead.
6
+ */
7
+ type BaseTheme = BaseTheme$1;
8
+ /**
9
+ * @public
10
+ * @deprecated Use `ThemeBoxShadow` from `@sanity/ui/theme` instead.
11
+ */
12
+ type BoxShadow = ThemeBoxShadow;
13
+ /**
14
+ * @public
15
+ * @deprecated Use `HSL` from `@sanity/ui/theme` instead.
16
+ */
17
+ type HSL = HSL$1;
18
+ /**
19
+ * @public
20
+ * @deprecated Use `RGB` from `@sanity/ui/theme` instead.
21
+ */
22
+ type RGB = RGB$1;
23
+ /**
24
+ * @public
25
+ * @deprecated Use `RootTheme` from `@sanity/ui/theme` instead.
26
+ */
27
+ type RootTheme = RootTheme$1;
28
+ /**
29
+ * @public
30
+ * @deprecated Use `ThemeStyles` from `@sanity/ui/theme` instead.
31
+ */
32
+ type Styles = ThemeStyles;
33
+ /**
34
+ * @public
35
+ * @deprecated Use `Theme` from `@sanity/ui/theme` instead.
36
+ */
37
+ type Theme = Theme$1;
38
+ /**
39
+ * @public
40
+ * @deprecated Use `ThemeColorButtonModeKey` from `@sanity/ui/theme` instead.
41
+ */
42
+ type ThemeColorButtonModeKey = ThemeColorButtonModeKey$1;
43
+ /**
44
+ * @public
45
+ * @deprecated Use `ThemeColorSchemeKey` from `@sanity/ui/theme` instead.
46
+ */
47
+ type ThemeColorSchemeKey = ThemeColorSchemeKey$1;
48
+ /**
49
+ * @public
50
+ * @deprecated Use `ThemeColorSyntax` from `@sanity/ui/theme` instead.
51
+ */
52
+ type ThemeColorSyntax = ThemeColorSyntax$1;
53
+ /**
54
+ * @public
55
+ * @deprecated Use `ThemeFont` from `@sanity/ui/theme` instead.
56
+ */
57
+ type ThemeFont = ThemeFont$1;
58
+ /**
59
+ * @public
60
+ * @deprecated Use `ThemeFontKey` from `@sanity/ui/theme` instead.
61
+ */
62
+ type ThemeFontKey = ThemeFontKey$1;
63
+ /**
64
+ * @public
65
+ * @deprecated Use `ThemeFontSize` from `@sanity/ui/theme` instead.
66
+ */
67
+ type ThemeFontSize = ThemeFontSize$1;
68
+ /**
69
+ * @public
70
+ * @deprecated Use `ThemeFontWeight` from `@sanity/ui/theme` instead.
71
+ */
72
+ type ThemeFontWeight = ThemeFontWeight$1;
73
+ /**
74
+ * @public
75
+ * @deprecated Use `ThemeFontWeightKey` from `@sanity/ui/theme` instead.
76
+ */
77
+ type ThemeFontWeightKey = ThemeFontWeightKey$1;
78
+ /**
79
+ * @public
80
+ * @deprecated Use `ThemeFonts` from `@sanity/ui/theme` instead.
81
+ */
82
+ type ThemeFonts = ThemeFonts$1;
83
+ /**
84
+ * @public
85
+ * @deprecated Use `ThemeLayer` from `@sanity/ui/theme` instead.
86
+ */
87
+ type ThemeLayer = ThemeLayer$1;
88
+ /**
89
+ * @public
90
+ * @deprecated Use `ThemeShadow` from `@sanity/ui/theme` instead.
91
+ */
92
+ type ThemeShadow = ThemeShadow$1;
93
+ /**
94
+ * @public
95
+ * @deprecated Use `createColorTheme` from `@sanity/ui/theme` instead.
96
+ */
97
+ declare const createColorTheme: typeof createColorTheme$1;
98
+ /**
99
+ * @public
100
+ * @deprecated Use `hexToRgb` from `@sanity/ui/theme` instead.
101
+ */
102
+ declare const hexToRgb: typeof hexToRgb$1;
103
+ /**
104
+ * @public
105
+ * @deprecated Use `hslToRgb` from `@sanity/ui/theme` instead.
106
+ */
107
+ declare const hslToRgb: typeof hslToRgb$1;
108
+ /**
109
+ * @public
110
+ * @deprecated Use `multiply` from `@sanity/ui/theme` instead.
111
+ */
112
+ declare const multiply: typeof multiply$1;
113
+ /**
114
+ * @public
115
+ * @deprecated Use `parseColor` from `@sanity/ui/theme` instead.
116
+ */
117
+ declare const parseColor: typeof parseColor$1;
118
+ /**
119
+ * @public
120
+ * @deprecated Use `rgbToHex` from `@sanity/ui/theme` instead.
121
+ */
122
+ declare const rgbToHex: typeof rgbToHex$1;
123
+ /**
124
+ * @public
125
+ * @deprecated Use `rgbToHsl` from `@sanity/ui/theme` instead.
126
+ */
127
+ declare const rgbToHsl: typeof rgbToHsl$1;
128
+ /**
129
+ * @public
130
+ * @deprecated Use `rgba` from `@sanity/ui/theme` instead.
131
+ */
132
+ declare const rgba: typeof rgba$1;
133
+ /**
134
+ * @public
135
+ * @deprecated Use `screen` from `@sanity/ui/theme` instead.
136
+ */
137
+ declare const screen: typeof screen$1;
138
+ /**
139
+ * @public
140
+ * @deprecated Use `buildTheme` from `@sanity/ui/theme` instead.
141
+ */
142
+ declare const studioTheme: BaseTheme$1;
143
+ /**
144
+ * @public
145
+ */
146
+ type Radius = number | 'full';
147
+ /**
148
+ * @public
149
+ */
150
+ interface HotkeysProps {
151
+ fontSize?: number | number[];
152
+ gap?: number | number[];
153
+ padding?: number | number[];
154
+ radius?: Radius | Radius[];
155
+ /**
156
+ * @deprecated Use `gap` instead. `space` will be removed in v4.
157
+ */
158
+ space?: number | number[];
159
+ keys?: string[];
160
+ }
161
+ /**
162
+ * Represent hotkeys (a keyboard combination) with semantic `<kbd>` elements.
163
+ *
164
+ * @public
165
+ */
166
+ declare const Hotkeys: import("react").ForwardRefExoticComponent<HotkeysProps & Omit<import("react").HTMLProps<HTMLElement>, "as" | "ref" | "size"> & import("react").RefAttributes<HTMLElement>>;
167
+ /**
168
+ * @public
169
+ */
170
+ type BoxSizing = 'content' | 'border';
171
+ /**
172
+ * @public
173
+ */
174
+ type BoxDisplay = 'none' | 'block' | 'grid' | 'flex' | 'inline-block';
175
+ /**
176
+ * @public
177
+ */
178
+ type BoxHeight = 'stretch' | 'fill';
179
+ /**
180
+ * @public
181
+ */
182
+ type BoxOverflow = 'visible' | 'hidden' | 'auto';
183
+ /**
184
+ * @public
185
+ */
186
+ type FlexAlign = 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
187
+ /**
188
+ * @public
189
+ */
190
+ type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
191
+ /**
192
+ * @public
193
+ */
194
+ type FlexJustify = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
195
+ /**
196
+ * @public
197
+ */
198
+ type FlexValue = number | 'none' | 'auto' | 'initial';
199
+ /**
200
+ * @public
201
+ */
202
+ type FlexWrap = 'wrap' | 'wrap-reverse' | 'nowrap';
203
+ /**
204
+ * @public
205
+ */
206
+ type GridAutoRows = 'auto' | 'min' | 'max' | 'fr';
207
+ /**
208
+ * @public
209
+ */
210
+ type GridAutoCols = 'auto' | 'min' | 'max' | 'fr';
211
+ /**
212
+ * @public
213
+ */
214
+ type GridAutoFlow = 'row' | 'column' | 'row dense' | 'column dense';
215
+ /**
216
+ * @public
217
+ */
218
+ type GridItemColumn = 'auto' | 'full' | number;
219
+ /**
220
+ * @public
221
+ */
222
+ type GridItemColumnStart = 'auto' | number;
223
+ /**
224
+ * @public
225
+ */
226
+ type GridItemColumnEnd = 'auto' | number;
227
+ /**
228
+ * @public
229
+ */
230
+ type GridItemRow = 'auto' | 'full' | number;
231
+ /**
232
+ * @public
233
+ */
234
+ type GridItemRowStart = 'auto' | number;
235
+ /**
236
+ * @public
237
+ */
238
+ type GridItemRowEnd = 'auto' | number;
239
+ /**
240
+ * @public
241
+ */
242
+ interface ResponsiveBorderProps {
243
+ border?: boolean | boolean[];
244
+ borderTop?: boolean | boolean[];
245
+ borderRight?: boolean | boolean[];
246
+ borderBottom?: boolean | boolean[];
247
+ borderLeft?: boolean | boolean[];
248
+ }
249
+ /**
250
+ * @public
251
+ */
252
+ interface ResponsiveBoxProps {
253
+ display?: BoxDisplay | BoxDisplay[];
254
+ height?: BoxHeight | BoxHeight[];
255
+ overflow?: BoxOverflow | BoxOverflow[];
256
+ sizing?: BoxSizing | BoxSizing[];
257
+ }
258
+ /**
259
+ * @public
260
+ */
261
+ interface ResponsiveFlexProps {
262
+ align?: FlexAlign | FlexAlign[];
263
+ direction?: FlexDirection | FlexDirection[];
264
+ justify?: FlexJustify | FlexJustify[];
265
+ wrap?: FlexWrap | FlexWrap[];
266
+ }
267
+ /**
268
+ * @public
269
+ */
270
+ interface ResponsiveFlexItemProps {
271
+ /** Sets the flex CSS attribute. The property is responsive. */
272
+ flex?: FlexValue | FlexValue[];
273
+ }
274
+ /**
275
+ * @public
276
+ */
277
+ interface ResponsiveGridProps {
278
+ autoRows?: GridAutoRows | GridAutoRows[];
279
+ autoCols?: GridAutoCols | GridAutoCols[];
280
+ autoFlow?: GridAutoFlow | GridAutoFlow[];
281
+ /**
282
+ * @deprecated Use `gridTemplateColumns` instead. `columns` will be removed in v4.
283
+ */
284
+ columns?: number | number[];
285
+ gridTemplateColumns?: number | number[];
286
+ gap?: number | number[];
287
+ gapX?: number | number[];
288
+ gapY?: number | number[];
289
+ /**
290
+ * @deprecated Use `gridTemplateRows` instead. `rows` will be removed in v4.
291
+ */
292
+ rows?: number | number[];
293
+ gridTemplateRows?: number | number[];
294
+ }
295
+ /**
296
+ * @public
297
+ */
298
+ interface ResponsiveGridItemProps {
299
+ gridColumn?: GridItemColumn | GridItemColumn[];
300
+ /**
301
+ * @deprecated Use `gridColumn` instead. `column` will be removed in v4.
302
+ */
303
+ column?: GridItemColumn | GridItemColumn[];
304
+ gridColumnStart?: GridItemColumnStart | GridItemColumnStart[];
305
+ /**
306
+ * @deprecated Use `gridColumnStart` instead. `columnStart` will be removed in v4.
307
+ */
308
+ columnStart?: GridItemColumnStart | GridItemColumnStart[];
309
+ gridColumnEnd?: GridItemColumnEnd | GridItemColumnEnd[];
310
+ /**
311
+ * @deprecated Use `gridColumnEnd` instead. `columnEnd` will be removed in v4.
312
+ */
313
+ columnEnd?: GridItemColumnEnd | GridItemColumnEnd[];
314
+ gridRow?: GridItemRow | GridItemRow[];
315
+ /**
316
+ * @deprecated Use `gridRow` instead. `row` will be removed in v4.
317
+ */
318
+ row?: GridItemRow | GridItemRow[];
319
+ gridRowStart?: GridItemRowStart | GridItemRowStart[];
320
+ /**
321
+ * @deprecated Use `gridRowStart` instead. `rowStart` will be removed in v4.
322
+ */
323
+ rowStart?: GridItemRowStart | GridItemRowStart[];
324
+ gridRowEnd?: GridItemRowEnd | GridItemRowEnd[];
325
+ /**
326
+ * @deprecated Use `gridRowEnd` instead. `rowEnd` will be removed in v4.
327
+ */
328
+ rowEnd?: GridItemRowEnd | GridItemRowEnd[];
329
+ }
330
+ /**
331
+ * @public
332
+ */
333
+ interface ResponsiveMarginProps {
334
+ /** Applies margins to all sides. The property is responsive. */
335
+ margin?: number | number[];
336
+ /** Applies margins to the left and right sides. The property is responsive. */
337
+ marginX?: number | number[];
338
+ /** Applies margins to the top and bottom sides. The property is responsive. */
339
+ marginY?: number | number[];
340
+ marginTop?: number | number[];
341
+ marginRight?: number | number[];
342
+ marginBottom?: number | number[];
343
+ marginLeft?: number | number[];
344
+ }
345
+ /**
346
+ * @public
347
+ */
348
+ interface ResponsivePaddingProps {
349
+ padding?: number | number[];
350
+ paddingX?: number | number[];
351
+ paddingY?: number | number[];
352
+ paddingTop?: number | number[];
353
+ paddingRight?: number | number[];
354
+ paddingBottom?: number | number[];
355
+ paddingLeft?: number | number[];
356
+ }
357
+ /**
358
+ * @public
359
+ */
360
+ interface ResponsiveRadiusProps {
361
+ radius?: Radius | Radius[];
362
+ }
363
+ /**
364
+ * @public
365
+ */
366
+ interface ResponsiveShadowProps {
367
+ shadow?: number | number[];
368
+ }
369
+ /**
370
+ * @public
371
+ */
372
+ interface ResponsiveWidthProps {
373
+ width?: number | 'auto' | (number | 'auto')[];
374
+ }
375
+ /**
376
+ * @public
377
+ */
378
+ type Delay = number | Partial<{
379
+ open: number;
380
+ close: number;
381
+ }>;
382
+ /**
383
+ * @public
384
+ */
385
+ interface MenuProps extends ResponsivePaddingProps {
386
+ /**
387
+ * @deprecated Use `shouldFocus="first"` instead.
388
+ */
389
+ 'focusFirst'?: boolean;
390
+ /**
391
+ * @deprecated Use `shouldFocus="last"` instead.
392
+ */
393
+ 'focusLast'?: boolean;
394
+ 'onClickOutside'?: (event: MouseEvent) => void;
395
+ 'onEscape'?: () => void;
396
+ 'onItemClick'?: () => void;
397
+ 'onItemSelect'?: (index: number) => void;
398
+ 'originElement'?: HTMLElement | null;
399
+ 'registerElement'?: (el: HTMLElement) => () => void;
400
+ 'shouldFocus'?: 'first' | 'last' | null;
401
+ 'gap'?: number | number[];
402
+ /**
403
+ * @deprecated Use `gap` instead. `space` will be removed in v4.
404
+ */
405
+ 'space'?: number | number[];
406
+ 'aria-labelledby'?: string;
407
+ 'onBlurCapture'?: (event: FocusEvent) => void;
408
+ }
409
+ /**
410
+ * The `Menu` component is a building block for application menus.
411
+ *
412
+ * @public
413
+ */
414
+ declare const Menu: import("react").ForwardRefExoticComponent<Omit<MenuProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "height" | "role" | "tabIndex">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
415
+ /**
416
+ * Assign properties from `U` to `T`, excluding properties that already exist in `T`.
417
+ *
418
+ * @public
419
+ */
420
+ type Assign<T extends object, U extends object> = Omit<T, keyof U> & U;
421
+ /** @public */
422
+ type EmptyProps = object;
423
+ /** @public */
424
+ type TagType = keyof React.JSX.IntrinsicElements;
425
+ /** @public */
426
+ type ComponentType<P = any> = React.FunctionComponent<P> | React.ComponentClass<P> | React.ExoticComponent<P>;
427
+ /** @public */
428
+ type ElementType$1<P = any> = TagType | ComponentType<P>;
429
+ /**
430
+ * Resolves the props of a polymorphic component: the props of the element/component passed to `as`
431
+ * (defaulting to the component's own element), with the component's own props assigned on top.
432
+ *
433
+ * @public
434
+ */
435
+ type Props<P extends EmptyProps, E extends ElementType$1<P>> = Assign<E extends TagType ? React.JSX.IntrinsicElements[E] : React.ComponentProps<E>, P & {
436
+ as?: E;
437
+ }>;
438
+ /**
439
+ * @public
440
+ */
441
+ type MenuDividerProps<E extends ElementType$1 = 'hr'> = Props<EmptyProps, E>;
442
+ /**
443
+ * @public
444
+ */
445
+ declare const MenuDivider: <E extends ElementType$1 = 'hr'>(props: MenuDividerProps<E>) => React.JSX.Element;
446
+ /**
447
+ * @public
448
+ */
449
+ type CardTone = ThemeColorCardToneKey | 'inherit';
450
+ /**
451
+ * Placement of floating UI elements.
452
+ *
453
+ * @public
454
+ */
455
+ type Placement = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
456
+ /**
457
+ * @beta
458
+ */
459
+ type PopoverMargins = [number, number, number, number];
460
+ /**
461
+ * @public
462
+ */
463
+ interface LayerProps {
464
+ as?: React.ElementType | keyof React.JSX.IntrinsicElements;
465
+ /** A callback that fires when the layer becomes the top layer when it was not the top layer before. */
466
+ onActivate?: (props: {
467
+ activeElement: HTMLElement | null;
468
+ }) => void;
469
+ zOffset?: number | number[];
470
+ }
471
+ /**
472
+ * @public
473
+ */
474
+ declare const Layer: import("react").ForwardRefExoticComponent<Omit<LayerProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
475
+ /** @beta */
476
+ type PopoverUpdateCallback = () => void;
477
+ /** @public */
478
+ type PopoverWidth = number | 'auto';
479
+ /** @public */
480
+ interface PopoverProps extends Omit<LayerProps, 'as'>, ResponsiveRadiusProps, ResponsiveShadowProps {
481
+ /** @beta */
482
+ __unstable_margins?: PopoverMargins;
483
+ /**
484
+ * Whether the popover should animate in and out.
485
+ *
486
+ * @beta
487
+ * @defaultValue false
488
+ */
489
+ animate?: boolean;
490
+ arrow?: boolean;
491
+ /** @deprecated Use `floatingBoundary` and/or `referenceBoundary` instead */
492
+ boundaryElement?: HTMLElement | null;
493
+ children?: React.JSX.Element;
494
+ /**
495
+ * When `true`, prevent overflow within the current boundary:
496
+ * - by flipping on its side axis
497
+ * - by resizing
498
+ /*
499
+ * Note that:
500
+ * - setting `preventOverflow` to `true` also prevents overflow on its side axis
501
+ * - setting `matchReferenceWidth` to `true` also causes the popover to resize
502
+ *
503
+ * @defaultValue false
504
+ */
505
+ constrainSize?: boolean;
506
+ content?: React.ReactNode;
507
+ disabled?: boolean;
508
+ fallbackPlacements?: Placement[];
509
+ floatingBoundary?: HTMLElement | null;
510
+ /**
511
+ * When `true`, set the maximum width to match the reference element, and also prevent overflow within
512
+ * the current boundary by resizing.
513
+ *
514
+ * Note that setting `constrainSize` to `true` also causes the popover to resize
515
+ *
516
+ * @defaultValue false
517
+ */
518
+ matchReferenceWidth?: boolean;
519
+ /**
520
+ * When true, blocks all pointer interaction with elements beneath the popover until closed.
521
+ *
522
+ * @beta
523
+ * @defaultValue false
524
+ */
525
+ modal?: boolean;
526
+ open?: boolean;
527
+ overflow?: BoxOverflow;
528
+ padding?: number | number[];
529
+ placement?: Placement;
530
+ /**
531
+ * When 'flip' (default), the placement is determined from the initial placement and the
532
+ * fallback placements in order. Whichever fits in the viewport first.
533
+ *
534
+ * When 'autoPlacement', the initial placement and all fallback placements are evaluated
535
+ * and the placement with the most viewport space available.
536
+ *
537
+ * Option is only relevant if either `constrainSize` or `preventOverflow` is `true`
538
+ */
539
+ placementStrategy?: 'flip' | 'autoPlacement';
540
+ /** Whether or not to render the popover in a portal element. */
541
+ portal?: boolean | string;
542
+ preventOverflow?: boolean;
543
+ referenceBoundary?: HTMLElement | null;
544
+ /**
545
+ * When defined, the popover will be positioned relative to this element.
546
+ * The children of the popover won't be rendered.
547
+ */
548
+ referenceElement?: HTMLElement | null;
549
+ scheme?: ThemeColorSchemeKey$1;
550
+ tone?: CardTone;
551
+ /** @beta */
552
+ updateRef?: Ref<PopoverUpdateCallback | undefined>;
553
+ width?: PopoverWidth | PopoverWidth[];
554
+ }
555
+ /**
556
+ * The `Popover` component is used to display some content on top of another.
557
+ *
558
+ * @public
559
+ */
560
+ declare const Popover: import("react").ForwardRefExoticComponent<Omit<PopoverProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "content" | "width">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
561
+ /**
562
+ * @public
563
+ */
564
+ type SelectableTone = ThemeColorStateToneKey;
565
+ /**
566
+ * @public
567
+ */
568
+ interface MenuGroupOwnProps {
569
+ fontSize?: number | number[];
570
+ icon?: React.ElementType | React.ReactNode;
571
+ menu?: Omit<MenuProps, 'onClickOutside' | 'onEscape' | 'onItemClick' | 'onKeyDown' | 'onMouseEnter' | 'registerElement' | 'shouldFocus' | 'onBlurCapture'>;
572
+ padding?: number | number[];
573
+ popover?: Omit<PopoverProps, 'content' | 'open'>;
574
+ radius?: Radius | Radius[];
575
+ gap?: number | number[];
576
+ /**
577
+ * @deprecated Use `gap` instead. `space` will be removed in v4.
578
+ */
579
+ space?: number | number[];
580
+ text: React.ReactNode;
581
+ tone?: SelectableTone;
582
+ }
583
+ /**
584
+ * @public
585
+ */
586
+ type MenuGroupProps<E extends ElementType$1 = 'button'> = Props<MenuGroupOwnProps, E>;
587
+ /**
588
+ * @public
589
+ */
590
+ declare const MenuGroup: <E extends ElementType$1 = 'button'>(props: MenuGroupProps<E>) => React.JSX.Element;
591
+ /**
592
+ * @public
593
+ */
594
+ interface MenuItemOwnProps extends ResponsivePaddingProps, ResponsiveRadiusProps {
595
+ fontSize?: number | number[];
596
+ hotkeys?: string[];
597
+ icon?: React.ElementType | React.ReactNode;
598
+ iconRight?: React.ElementType | React.ReactNode;
599
+ pressed?: boolean;
600
+ selected?: boolean;
601
+ gap?: number | number[];
602
+ /**
603
+ * @deprecated Use `gap` instead. `space` will be removed in v4.
604
+ */
605
+ space?: number | number[];
606
+ text?: React.ReactNode;
607
+ tone?: SelectableTone;
608
+ }
609
+ /**
610
+ * @public
611
+ */
612
+ type MenuItemProps<E extends ElementType$1 = 'button'> = Props<MenuItemOwnProps, E>;
613
+ /**
614
+ * @public
615
+ */
616
+ declare const MenuItem: <E extends ElementType$1 = 'button'>(props: MenuItemProps<E>) => React.JSX.Element;
617
+ /**
618
+ * @public
619
+ */
620
+ type ButtonMode = ThemeColorButtonModeKey$1;
621
+ /**
622
+ * @public
623
+ */
624
+ type ButtonTextAlign = 'left' | 'right' | 'center';
625
+ /**
626
+ * @public
627
+ */
628
+ type ButtonTone = ThemeColorStateToneKey;
629
+ /**
630
+ * @public
631
+ */
632
+ type ButtonWidth = 'fill';
633
+ /**
634
+ * @public
635
+ */
636
+ interface TabProps {
637
+ /**
638
+ * The `id` of the correlating `TabPanel` component.
639
+ */
640
+ 'aria-controls': string;
641
+ 'id': string;
642
+ 'icon'?: React.ElementType | React.ReactNode;
643
+ 'focused'?: boolean;
644
+ 'fontSize'?: number | number[];
645
+ 'label'?: React.ReactNode;
646
+ 'padding'?: number | number[];
647
+ 'selected'?: boolean;
648
+ 'tone'?: ButtonTone;
649
+ }
650
+ /**
651
+ * @public
652
+ */
653
+ declare const Tab: import("react").ForwardRefExoticComponent<Omit<TabProps & Omit<import("react").HTMLProps<HTMLButtonElement>, "aria-controls" | "as" | "id" | "label" | "type" | "width">, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
654
+ /**
655
+ * The props that `Box` adds on top of the element it renders as.
656
+ *
657
+ * @public
658
+ */
659
+ interface BoxOwnProps extends ResponsiveFlexItemProps, ResponsiveBoxProps, ResponsiveGridItemProps, ResponsiveMarginProps, ResponsivePaddingProps {
660
+ forwardedAs?: ElementType$1;
661
+ }
662
+ /**
663
+ * @public
664
+ */
665
+ type BoxProps<E extends ElementType$1 = 'div'> = Props<BoxOwnProps, E>;
666
+ /**
667
+ * The `Box` component is a basic layout wrapper component which provides utility properties
668
+ * for flex, margins and padding.
669
+ *
670
+ * @public
671
+ */
672
+ declare const Box: <E extends ElementType$1 = 'div'>(props: BoxProps<E>) => React.JSX.Element;
673
+ /**
674
+ * @public
675
+ */
676
+ interface InlineOwnProps extends Omit<BoxOwnProps, 'display'> {
677
+ /**
678
+ * The spacing between children.
679
+ * @deprecated Use `gap` instead. `space` will be removed in v4.
680
+ */
681
+ space?: number | number[];
682
+ /** The spacing between children. */
683
+ gap?: number | number[];
684
+ }
685
+ /**
686
+ * @public
687
+ */
688
+ type InlineProps<E extends ElementType$1 = 'div'> = Props<InlineOwnProps, E>;
689
+ /**
690
+ * The `Inline` component is a layout utility for aligning and spacing items horizontally.
691
+ *
692
+ * @public
693
+ */
694
+ declare const Inline: <E extends ElementType$1 = 'div'>(props: InlineProps<E>) => React.JSX.Element;
695
+ /**
696
+ * @public
697
+ */
698
+ interface TabListProps extends Omit<InlineOwnProps, 'height'> {
699
+ children: Array<React.JSX.Element | null | undefined | false>;
700
+ }
701
+ /**
702
+ * @public
703
+ */
704
+ declare const TabList: import("react").ForwardRefExoticComponent<Omit<TabListProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "height">, "ref"> & import("react").RefAttributes<unknown>>;
705
+ /**
706
+ * @internal
707
+ */
708
+ declare function _isEnterToClickElement(element: HTMLElement): boolean;
709
+ /**
710
+ * @internal
711
+ */
712
+ declare function isHTMLElement(node: unknown): node is HTMLElement;
713
+ /**
714
+ * @internal
715
+ */
716
+ declare function isHTMLAnchorElement(element: unknown): element is HTMLAnchorElement;
717
+ /**
718
+ * @internal
719
+ */
720
+ declare function isHTMLInputElement(element: unknown): element is HTMLInputElement;
721
+ /**
722
+ * @internal
723
+ */
724
+ declare function isHTMLButtonElement(element: unknown): element is HTMLButtonElement;
725
+ /**
726
+ * @internal
727
+ */
728
+ declare function isHTMLSelectElement(element: unknown): element is HTMLSelectElement;
729
+ /**
730
+ * @internal
731
+ */
732
+ declare function isHTMLTextAreaElement(element: unknown): element is HTMLTextAreaElement;
733
+ /**
734
+ * @internal
735
+ */
736
+ declare function containsOrEqualsElement(element: HTMLElement, node: Node): boolean;
737
+ /**
738
+ * Returns true if a dark color scheme is preferred, false if a light color scheme is preferred or the preference is not known.
739
+ *
740
+ * @param getServerSnapshot - Only called during server-side rendering, and hydration if using hydrateRoot. Since the server environment doesn't have access to the DOM, we can't determine the current value of the media query and we assume `(prefers-color-scheme: light)` since it's the most common scheme (https://react.dev/reference/react/useSyncExternalStore#adding-support-for-server-rendering)
741
+ *
742
+ * If you persist the detected preference in a cookie or a header then you may implement your own server snapshot to read it.
743
+ * Chrome supports reading the `prefers-color-scheme` media query from a header if the server response: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Color-Scheme
744
+ * @example https://gist.github.com/stipsan/13c0cccf8dfc34f4b44bb1b984baf7df
745
+ *
746
+ * @public
747
+ */
748
+ declare function usePrefersDark(getServerSnapshot?: () => boolean): boolean;
749
+ /**
750
+ * @public
751
+ */
752
+ interface ButtonOwnProps extends ResponsivePaddingProps, ResponsiveRadiusProps {
753
+ fontSize?: number | number[];
754
+ mode?: ButtonMode;
755
+ icon?: React.ElementType | React.ReactNode;
756
+ iconRight?: React.ElementType | React.ReactNode;
757
+ justify?: FlexJustify | FlexJustify[];
758
+ /**
759
+ * @beta Do not use in production, as this might change.
760
+ */
761
+ loading?: boolean;
762
+ selected?: boolean;
763
+ /**
764
+ * @deprecated Use `gap` instead. `space` will be removed in v4.
765
+ */
766
+ space?: number | number[];
767
+ gap?: number | number[];
768
+ muted?: boolean;
769
+ text?: React.ReactNode;
770
+ textAlign?: ButtonTextAlign;
771
+ textWeight?: ThemeFontWeightKey$1;
772
+ tone?: ButtonTone;
773
+ type?: 'button' | 'reset' | 'submit';
774
+ width?: ButtonWidth;
775
+ }
776
+ /**
777
+ * @public
778
+ */
779
+ type ButtonProps<E extends ElementType$1 = 'button'> = Props<ButtonOwnProps, E>;
780
+ /**
781
+ * @public
782
+ */
783
+ declare const Button: <E extends ElementType$1 = 'button'>(props: ButtonProps<E>) => React.JSX.Element;
784
+ /**
785
+ * @public
786
+ */
787
+ interface CardOwnProps extends BoxOwnProps, ResponsiveBorderProps, ResponsiveRadiusProps, ResponsiveShadowProps {
788
+ /**
789
+ * Do not use in production.
790
+ * @beta
791
+ */
792
+ __unstable_checkered?: boolean;
793
+ /**
794
+ * Do not use in production.
795
+ * @beta
796
+ */
797
+ __unstable_focusRing?: boolean;
798
+ disabled?: boolean;
799
+ muted?: boolean;
800
+ pressed?: boolean;
801
+ scheme?: ThemeColorSchemeKey$1;
802
+ selected?: boolean;
803
+ tone?: CardTone;
804
+ }
805
+ /**
806
+ * @public
807
+ */
808
+ type CardProps<E extends ElementType$1 = 'div'> = Props<CardOwnProps, E>;
809
+ /**
810
+ * The `Card` component acts much like a `Box`, but with a background and foreground color.
811
+ * Components within a `Card` inherit its colors.
812
+ *
813
+ * @public
814
+ */
815
+ declare const Card: <E extends ElementType$1 = 'div'>(props: CardProps<E>) => React.JSX.Element;
816
+ /**
817
+ * @public
818
+ */
819
+ interface FlexOwnProps extends Omit<BoxOwnProps, 'display'>, ResponsiveFlexProps, ResponsiveFlexItemProps {
820
+ gap?: number | number[];
821
+ }
822
+ /**
823
+ * @public
824
+ */
825
+ type FlexProps<E extends ElementType$1 = 'div'> = Props<FlexOwnProps, E>;
826
+ /**
827
+ * The `Flex` component is a wrapper component for flexible elements (`Box`, `Card` and `Flex`).
828
+ *
829
+ * @public
830
+ */
831
+ declare const Flex: <E extends ElementType$1 = 'div'>(props: FlexProps<E>) => React.JSX.Element;
832
+ /**
833
+ * @public
834
+ */
835
+ interface GridOwnProps extends Omit<BoxOwnProps, 'display'>, ResponsiveGridProps {}
836
+ /**
837
+ * @public
838
+ */
839
+ type GridProps<E extends ElementType$1 = 'div'> = Props<GridOwnProps, E>;
840
+ /**
841
+ * The `Grid` component is for building 2-dimensional layers (based on CSS grid).
842
+ *
843
+ * @public
844
+ */
845
+ declare const Grid: <E extends ElementType$1 = 'div'>(props: GridProps<E>) => React.JSX.Element;
846
+ /**
847
+ * @public
848
+ */
849
+ interface SpinnerProps {
850
+ muted?: boolean;
851
+ size?: number | number[];
852
+ }
853
+ /**
854
+ * Indicate that something is loading for an indeterminate amount of time.
855
+ *
856
+ * @public
857
+ */
858
+ declare const Spinner: import("react").ForwardRefExoticComponent<Omit<SpinnerProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
859
+ /**
860
+ * @public
861
+ */
862
+ interface StackOwnProps extends BoxOwnProps {
863
+ gap?: number | number[];
864
+ /**
865
+ * @deprecated Use `gap` instead. `space` will be removed in v4.
866
+ */
867
+ space?: number | number[];
868
+ }
869
+ /**
870
+ * @public
871
+ */
872
+ type StackProps<E extends ElementType$1 = 'div'> = Props<StackOwnProps, E>;
873
+ /**
874
+ * The `Stack` component is used to place elements on top of each other.
875
+ *
876
+ * @public
877
+ */
878
+ declare const Stack: <E extends ElementType$1 = 'div'>(props: StackProps<E>) => React.JSX.Element;
879
+ /**
880
+ * @public
881
+ */
882
+ type TextAlign = 'left' | 'right' | 'center' | 'justify' | 'initial';
883
+ /**
884
+ * @public
885
+ */
886
+ interface TextOwnProps {
887
+ accent?: boolean;
888
+ align?: TextAlign | TextAlign[];
889
+ /** When `true` the text color will be muted. */
890
+ muted?: boolean;
891
+ size?: number | number[];
892
+ /**
893
+ * Controls how overflowing text is treated.
894
+ * Use `textOverflow="ellipsis"` to render text as a single line which is concatenated with a `…` symbol.
895
+ * @beta
896
+ */
897
+ textOverflow?: 'ellipsis';
898
+ weight?: ThemeFontWeightKey$1;
899
+ }
900
+ /**
901
+ * @public
902
+ */
903
+ type TextProps<E extends ElementType$1 = 'div'> = Props<TextOwnProps, E>;
904
+ /**
905
+ * The `Text` component is an agile, themed typographic element.
906
+ *
907
+ * @public
908
+ */
909
+ declare const Text: <E extends ElementType$1 = 'div'>(props: TextProps<E>) => React.JSX.Element;
910
+ /**
911
+ * @public
912
+ */
913
+ type TextInputClearButtonProps = ButtonOwnProps & Omit<React.HTMLProps<HTMLButtonElement>, 'as' | 'onClick' | 'onMouseDown' | 'ref'>;
914
+ /**
915
+ * @public
916
+ */
917
+ type TextInputType = 'search' | 'date' | 'datetime-local' | 'email' | 'url' | 'month' | 'number' | 'password' | 'tel' | 'time' | 'text' | 'week' | 'color';
918
+ /**
919
+ * @public
920
+ */
921
+ interface TextInputProps {
922
+ /**
923
+ * @beta
924
+ */
925
+ __unstable_disableFocusRing?: boolean;
926
+ border?: boolean;
927
+ /**
928
+ * @beta
929
+ */
930
+ clearButton?: boolean | TextInputClearButtonProps;
931
+ customValidity?: string;
932
+ fontSize?: number | number[];
933
+ icon?: React.ElementType | React.ReactNode;
934
+ iconRight?: React.ElementType | React.ReactNode;
935
+ /**
936
+ * @beta
937
+ */
938
+ onClear?: () => void;
939
+ padding?: number | number[];
940
+ prefix?: React.ReactNode;
941
+ radius?: Radius | Radius[];
942
+ /**
943
+ * @deprecated Use `gap` instead. `space` will be removed in v4.
944
+ */
945
+ space?: number | number[];
946
+ gap?: number | number[];
947
+ suffix?: React.ReactNode;
948
+ type?: TextInputType;
949
+ weight?: ThemeFontWeightKey$1;
950
+ }
951
+ /**
952
+ * Single line text input.
953
+ *
954
+ * @public
955
+ */
956
+ declare const TextInput: import("react").ForwardRefExoticComponent<Omit<TextInputProps & Omit<import("react").HTMLProps<HTMLInputElement>, "as" | "prefix" | "type">, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
957
+ /**
958
+ * @public
959
+ */
960
+ interface TooltipProps extends Omit<LayerProps, 'as'> {
961
+ /** @deprecated Use `fallbackPlacements` instead. */
962
+ allowedAutoPlacements?: Placement[];
963
+ arrow?: boolean;
964
+ boundaryElement?: HTMLElement | null;
965
+ children?: React.JSX.Element;
966
+ content?: React.ReactNode;
967
+ disabled?: boolean;
968
+ fallbackPlacements?: Placement[];
969
+ padding?: number | number[];
970
+ placement?: Placement;
971
+ /** Whether or not to render the tooltip in a portal element. */
972
+ portal?: boolean | string;
973
+ radius?: number | number[];
974
+ scheme?: ThemeColorSchemeKey$1;
975
+ shadow?: number | number[];
976
+ /**
977
+ * Adds a delay to open or close the tooltip.
978
+ *
979
+ * If only a `number` is passed, it will be used for both opening and closing.
980
+ *
981
+ * If an object `{open: number; close:number}` is passed, it can be used to set different delays for each action.
982
+ *
983
+ * @public
984
+ * @defaultValue 0
985
+ */
986
+ delay?: Delay;
987
+ /**
988
+ * Whether the tooltip should animate in and out.
989
+ *
990
+ * @beta
991
+ * @defaultValue false
992
+ */
993
+ animate?: boolean;
994
+ }
995
+ /**
996
+ * Tooltips display information when hovering, focusing or tapping.
997
+ *
998
+ * @public
999
+ */
1000
+ declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "content">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
1001
+ /**
1002
+ * @public
1003
+ */
1004
+ interface ThemeProviderProps {
1005
+ children?: React.ReactNode;
1006
+ scheme?: ThemeColorSchemeKey$1;
1007
+ theme?: RootTheme$1;
1008
+ tone?: ThemeColorCardToneKey;
1009
+ }
1010
+ /**
1011
+ * @public
1012
+ */
1013
+ declare function ThemeProvider(props: ThemeProviderProps): React.JSX.Element;
1014
+ /**
1015
+ * @public
1016
+ */
1017
+ declare function useTheme(): Theme$1;
1018
+ /**
1019
+ * @public
1020
+ */
1021
+ declare function useTheme_v2(): Theme_v2;
1022
+ /**
1023
+ * @public
1024
+ */
1025
+ interface LayerProviderProps {
1026
+ children?: React.ReactNode;
1027
+ zOffset?: number | number[];
1028
+ }
1029
+ /**
1030
+ * @public
1031
+ */
1032
+ declare function LayerProvider(props: LayerProviderProps): React.JSX.Element;
1033
+ /**
1034
+ * @public
1035
+ */
1036
+ interface PortalProps {
1037
+ children: React.ReactNode;
1038
+ /**
1039
+ * @beta This API might change. DO NOT USE IN PRODUCTION.
1040
+ */
1041
+ __unstable_name?: string;
1042
+ }
1043
+ /**
1044
+ * @public
1045
+ */
1046
+ declare function Portal(props: PortalProps): React.ReactPortal | null;
1047
+ /**
1048
+ * @public
1049
+ */
1050
+ interface PortalProviderProps {
1051
+ /**
1052
+ * @deprecated Use `<BoundaryElementProvider element={...} />` instead
1053
+ */
1054
+ boundaryElement?: HTMLElement | null;
1055
+ children: React.ReactNode;
1056
+ element?: HTMLElement | null;
1057
+ /**
1058
+ * @beta
1059
+ */
1060
+ __unstable_elements?: Record<string, HTMLElement | null | undefined>;
1061
+ }
1062
+ /**
1063
+ * @public
1064
+ */
1065
+ declare function PortalProvider(props: PortalProviderProps): React.JSX.Element;
1066
+ export { BoxOwnProps as $, GridAutoRows as $t, FlexOwnProps as A, createColorTheme as An, TagType as At, containsOrEqualsElement as B, ResponsiveMarginProps as Bt, StackProps as C, ThemeFontKey as Cn, MenuDivider as Ct, GridOwnProps as D, ThemeFonts as Dn, ElementType$1 as Dt, Grid as E, ThemeFontWeightKey as En, ComponentType as Et, Button as F, rgbToHex as Fn, ResponsiveBoxProps as Ft, isHTMLSelectElement as G, GridItemColumn as Gt, isHTMLButtonElement as H, ResponsiveRadiusProps as Ht, ButtonOwnProps as I, rgbToHsl as In, ResponsiveFlexItemProps as It, TabListProps as J, GridItemRow as Jt, isHTMLTextAreaElement as K, GridItemColumnEnd as Kt, ButtonProps as L, rgba as Ln, ResponsiveFlexProps as Lt, Card as M, hslToRgb as Mn, MenuProps as Mt, CardOwnProps as N, multiply as Nn, Delay as Nt, GridProps as O, ThemeLayer as On, EmptyProps as Ot, CardProps as P, parseColor as Pn, ResponsiveBorderProps as Pt, Box as Q, GridAutoFlow as Qt, usePrefersDark as R, screen as Rn, ResponsiveGridItemProps as Rt, StackOwnProps as S, ThemeFont as Sn, CardTone as St, SpinnerProps as T, ThemeFontWeight as Tn, Assign as Tt, isHTMLElement as U, ResponsiveShadowProps as Ut, isHTMLAnchorElement as V, ResponsivePaddingProps as Vt, isHTMLInputElement as W, ResponsiveWidthProps as Wt, InlineOwnProps as X, GridItemRowStart as Xt, Inline as Y, GridItemRowEnd as Yt, InlineProps as Z, GridAutoCols as Zt, Text as _, Styles as _n, PopoverWidth as _t, LayerProvider as a, BoxDisplay as an, ButtonTone as at, TextAlign as b, ThemeColorSchemeKey as bn, PopoverMargins as bt, useTheme_v2 as c, BoxSizing as cn, MenuItemOwnProps as ct, Tooltip as d, Radius as dn, MenuGroupOwnProps as dt, FlexAlign as en, BoxProps as et, TooltipProps as f, BaseTheme as fn, MenuGroupProps as ft, TextInputType as g, RootTheme as gn, PopoverUpdateCallback as gt, TextInputProps as h, RGB as hn, PopoverProps as ht, PortalProps as i, FlexWrap as in, ButtonTextAlign as it, FlexProps as j, hexToRgb as jn, Menu as jt, Flex as k, ThemeShadow as kn, Props as kt, ThemeProvider as l, Hotkeys as ln, MenuItemProps as lt, TextInputClearButtonProps as m, HSL as mn, Popover as mt, PortalProviderProps as n, FlexJustify as nn, TabProps as nt, LayerProviderProps as o, BoxHeight as on, ButtonWidth as ot, TextInput as p, BoxShadow as pn, SelectableTone as pt, TabList as q, GridItemColumnStart as qt, Portal as r, FlexValue as rn, ButtonMode as rt, useTheme as s, BoxOverflow as sn, MenuItem as st, PortalProvider as t, FlexDirection as tn, Tab as tt, ThemeProviderProps as u, HotkeysProps as un, MenuGroup as ut, TextOwnProps as v, Theme as vn, Layer as vt, Spinner as w, ThemeFontSize as wn, MenuDividerProps as wt, Stack as x, ThemeColorSyntax as xn, Placement as xt, TextProps as y, ThemeColorButtonModeKey as yn, LayerProps as yt, _isEnterToClickElement as z, studioTheme as zn, ResponsiveGridProps as zt };
1067
+ //# sourceMappingURL=portalProvider.d.cts.map