@digdir/designsystemet-react 1.0.0-rc.12 → 1.0.0-rc.13

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 (292) hide show
  1. package/dist/cjs/components/Accordion/AccordionContent.js +5 -0
  2. package/dist/cjs/components/Accordion/AccordionHeading.js +5 -0
  3. package/dist/cjs/components/Accordion/AccordionItem.js +8 -0
  4. package/dist/cjs/components/Accordion/AccordionRoot.js +3 -0
  5. package/dist/cjs/components/Accordion/index.js +10 -0
  6. package/dist/cjs/components/Alert/Alert.js +7 -2
  7. package/dist/cjs/components/Button/Button.js +2 -0
  8. package/dist/cjs/components/Card/Card.js +9 -0
  9. package/dist/cjs/components/DropdownMenu/DropdownMenuContent.js +2 -2
  10. package/dist/cjs/components/DropdownMenu/DropdownMenuRoot.js +12 -0
  11. package/dist/cjs/components/DropdownMenu/index.js +11 -0
  12. package/dist/cjs/components/ErrorSummary/index.js +9 -0
  13. package/dist/cjs/components/Pagination/PaginationEllipsis.js +0 -4
  14. package/dist/cjs/components/Pagination/PaginationItem.js +0 -4
  15. package/dist/cjs/components/Pagination/PaginationRoot.js +0 -4
  16. package/dist/cjs/components/Pagination/index.js +6 -6
  17. package/dist/cjs/components/Popover/PopoverContent.js +2 -2
  18. package/dist/cjs/components/Skeleton/Circle/Circle.js +1 -1
  19. package/dist/cjs/components/Skeleton/Rectangle/Rectangle.js +1 -1
  20. package/dist/cjs/components/Skeleton/Text/Text.js +1 -1
  21. package/dist/cjs/components/Spinner/Spinner.js +1 -1
  22. package/dist/cjs/components/Tabs/Tab.js +7 -2
  23. package/dist/cjs/components/Tabs/TabContent.js +7 -0
  24. package/dist/cjs/components/Tabs/TabList.js +14 -2
  25. package/dist/cjs/components/Tabs/TabsRoot.js +17 -1
  26. package/dist/cjs/components/Tabs/index.js +16 -0
  27. package/dist/cjs/components/Tag/Tag.js +5 -0
  28. package/dist/cjs/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +8 -3
  29. package/dist/cjs/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.js +6 -4
  30. package/dist/cjs/components/ToggleGroup/ToggleGroupRoot.js +4 -5
  31. package/dist/cjs/components/ToggleGroup/index.js +11 -0
  32. package/dist/cjs/components/Tooltip/Tooltip.js +8 -1
  33. package/dist/cjs/components/Typography/Heading/Heading.js +6 -1
  34. package/dist/cjs/components/Typography/Ingress/Ingress.js +6 -1
  35. package/dist/cjs/components/Typography/Label/Label.js +6 -1
  36. package/dist/cjs/components/Typography/Paragraph/Paragraph.js +6 -1
  37. package/dist/cjs/components/form/Checkbox/Checkbox.js +2 -2
  38. package/dist/cjs/components/form/Combobox/Combobox.js +6 -6
  39. package/dist/cjs/components/form/Combobox/Custom.js +2 -6
  40. package/dist/cjs/components/form/Combobox/Empty.js +0 -3
  41. package/dist/cjs/components/form/Combobox/Option/Description.js +1 -4
  42. package/dist/cjs/components/form/Combobox/Option/Option.js +2 -2
  43. package/dist/cjs/components/form/Combobox/Option/SelectedIcon.js +0 -3
  44. package/dist/cjs/components/form/Combobox/Option/useComboboxOption.js +4 -4
  45. package/dist/cjs/components/form/Combobox/internal/ComboboxChips.js +1 -4
  46. package/dist/cjs/components/form/Combobox/internal/ComboboxClearButton.js +1 -4
  47. package/dist/cjs/components/form/Combobox/internal/ComboboxError.js +2 -5
  48. package/dist/cjs/components/form/Combobox/internal/ComboboxInput.js +9 -8
  49. package/dist/cjs/components/form/Combobox/internal/ComboboxLabel.js +1 -4
  50. package/dist/cjs/components/form/Combobox/internal/ComboboxNative.js +1 -4
  51. package/dist/cjs/components/form/Combobox/useCombobox.js +11 -4
  52. package/dist/cjs/components/form/Combobox/useComboboxKeyboard.js +2 -2
  53. package/dist/cjs/components/form/Combobox/useFloatingCombobox.js +2 -2
  54. package/dist/cjs/components/form/NativeSelect/NativeSelect.js +2 -2
  55. package/dist/cjs/components/form/Radio/Radio.js +2 -2
  56. package/dist/cjs/components/form/Search/Search.js +3 -4
  57. package/dist/cjs/components/form/Switch/Switch.js +2 -2
  58. package/dist/cjs/components/form/Textarea/Textarea.js +2 -2
  59. package/dist/cjs/components/form/Textfield/Textfield.js +2 -2
  60. package/dist/cjs/index.js +15 -5
  61. package/dist/cjs/node_modules/@floating-ui/{react-dom/node_modules/@floating-ui/dom → dom}/dist/floating-ui.dom.js +3 -3
  62. package/dist/cjs/node_modules/@floating-ui/react/dist/floating-ui.react.js +1 -1
  63. package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +1 -1
  64. package/dist/cjs/utilities/AnimateHeight/AnimateHeight.js +2 -2
  65. package/dist/cjs/utilities/{RovingTabIndex/RovingTabindexItem.js → RovingFocus/RovingFocusItem.js} +6 -6
  66. package/dist/cjs/utilities/{RovingTabIndex/RovingTabindexRoot.js → RovingFocus/RovingFocusRoot.js} +11 -7
  67. package/dist/cjs/utilities/{RovingTabIndex/useRovingTabindex.js → RovingFocus/useRovingFocus.js} +5 -5
  68. package/dist/cjs/utilities/{useDebounce.js → hooks/useDebounceCallback/useDebounceCallback.js} +2 -2
  69. package/dist/cjs/utilities/hooks/useMediaQuery/useMediaQuery.js +49 -0
  70. package/dist/esm/components/Accordion/AccordionContent.js +5 -0
  71. package/dist/esm/components/Accordion/AccordionHeading.js +5 -0
  72. package/dist/esm/components/Accordion/AccordionItem.js +8 -0
  73. package/dist/esm/components/Accordion/AccordionRoot.js +3 -0
  74. package/dist/esm/components/Accordion/index.js +10 -0
  75. package/dist/esm/components/Alert/Alert.js +7 -2
  76. package/dist/esm/components/Button/Button.js +2 -0
  77. package/dist/esm/components/Card/Card.js +9 -0
  78. package/dist/esm/components/DropdownMenu/DropdownMenuContent.js +2 -2
  79. package/dist/esm/components/DropdownMenu/DropdownMenuRoot.js +12 -0
  80. package/dist/esm/components/DropdownMenu/index.js +11 -0
  81. package/dist/esm/components/ErrorSummary/index.js +9 -0
  82. package/dist/esm/components/Pagination/PaginationEllipsis.js +1 -2
  83. package/dist/esm/components/Pagination/PaginationItem.js +1 -2
  84. package/dist/esm/components/Pagination/PaginationRoot.js +1 -2
  85. package/dist/esm/components/Pagination/index.js +3 -3
  86. package/dist/esm/components/Popover/PopoverContent.js +2 -2
  87. package/dist/esm/components/Skeleton/Circle/Circle.js +1 -1
  88. package/dist/esm/components/Skeleton/Rectangle/Rectangle.js +1 -1
  89. package/dist/esm/components/Skeleton/Text/Text.js +1 -1
  90. package/dist/esm/components/Spinner/Spinner.js +1 -1
  91. package/dist/esm/components/Tabs/Tab.js +7 -2
  92. package/dist/esm/components/Tabs/TabContent.js +7 -0
  93. package/dist/esm/components/Tabs/TabList.js +15 -3
  94. package/dist/esm/components/Tabs/TabsRoot.js +17 -1
  95. package/dist/esm/components/Tabs/index.js +16 -0
  96. package/dist/esm/components/Tag/Tag.js +5 -0
  97. package/dist/esm/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +8 -3
  98. package/dist/esm/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.js +7 -5
  99. package/dist/esm/components/ToggleGroup/ToggleGroupRoot.js +4 -5
  100. package/dist/esm/components/ToggleGroup/index.js +11 -0
  101. package/dist/esm/components/Tooltip/Tooltip.js +8 -1
  102. package/dist/esm/components/Typography/Heading/Heading.js +6 -1
  103. package/dist/esm/components/Typography/Ingress/Ingress.js +6 -1
  104. package/dist/esm/components/Typography/Label/Label.js +6 -1
  105. package/dist/esm/components/Typography/Paragraph/Paragraph.js +6 -1
  106. package/dist/esm/components/form/Checkbox/Checkbox.js +1 -1
  107. package/dist/esm/components/form/Combobox/Combobox.js +5 -5
  108. package/dist/esm/components/form/Combobox/Custom.js +2 -3
  109. package/dist/esm/components/form/Combobox/Empty.js +1 -1
  110. package/dist/esm/components/form/Combobox/Option/Description.js +1 -1
  111. package/dist/esm/components/form/Combobox/Option/Option.js +1 -1
  112. package/dist/esm/components/form/Combobox/Option/SelectedIcon.js +1 -1
  113. package/dist/esm/components/form/Combobox/Option/useComboboxOption.js +4 -4
  114. package/dist/esm/components/form/Combobox/internal/ComboboxChips.js +1 -1
  115. package/dist/esm/components/form/Combobox/internal/ComboboxClearButton.js +1 -1
  116. package/dist/esm/components/form/Combobox/internal/ComboboxError.js +2 -2
  117. package/dist/esm/components/form/Combobox/internal/ComboboxInput.js +7 -3
  118. package/dist/esm/components/form/Combobox/internal/ComboboxLabel.js +1 -1
  119. package/dist/esm/components/form/Combobox/internal/ComboboxNative.js +1 -1
  120. package/dist/esm/components/form/Combobox/useCombobox.js +12 -5
  121. package/dist/esm/components/form/Combobox/useComboboxKeyboard.js +2 -2
  122. package/dist/esm/components/form/Combobox/useFloatingCombobox.js +2 -2
  123. package/dist/esm/components/form/NativeSelect/NativeSelect.js +1 -1
  124. package/dist/esm/components/form/Radio/Radio.js +1 -1
  125. package/dist/esm/components/form/Search/Search.js +3 -4
  126. package/dist/esm/components/form/Switch/Switch.js +1 -1
  127. package/dist/esm/components/form/Textarea/Textarea.js +1 -1
  128. package/dist/esm/components/form/Textfield/Textfield.js +1 -1
  129. package/dist/esm/index.js +9 -5
  130. package/dist/esm/node_modules/@floating-ui/{react-dom/node_modules/@floating-ui/dom → dom}/dist/floating-ui.dom.js +4 -4
  131. package/dist/esm/node_modules/@floating-ui/react/dist/floating-ui.react.js +2 -2
  132. package/dist/esm/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +2 -2
  133. package/dist/esm/utilities/AnimateHeight/AnimateHeight.js +2 -2
  134. package/dist/esm/utilities/{RovingTabIndex/RovingTabindexItem.js → RovingFocus/RovingFocusItem.js} +6 -6
  135. package/dist/esm/utilities/{RovingTabIndex/RovingTabindexRoot.js → RovingFocus/RovingFocusRoot.js} +11 -7
  136. package/dist/esm/utilities/{RovingTabIndex/useRovingTabindex.js → RovingFocus/useRovingFocus.js} +5 -5
  137. package/dist/esm/utilities/{useDebounce.js → hooks/useDebounceCallback/useDebounceCallback.js} +2 -2
  138. package/dist/esm/utilities/hooks/useMediaQuery/useMediaQuery.js +47 -0
  139. package/dist/types/components/Accordion/AccordionContent.d.ts +8 -9
  140. package/dist/types/components/Accordion/AccordionContent.d.ts.map +1 -1
  141. package/dist/types/components/Accordion/AccordionHeading.d.ts +5 -0
  142. package/dist/types/components/Accordion/AccordionHeading.d.ts.map +1 -1
  143. package/dist/types/components/Accordion/AccordionItem.d.ts +22 -3
  144. package/dist/types/components/Accordion/AccordionItem.d.ts.map +1 -1
  145. package/dist/types/components/Accordion/AccordionRoot.d.ts +15 -4
  146. package/dist/types/components/Accordion/AccordionRoot.d.ts.map +1 -1
  147. package/dist/types/components/Accordion/index.d.ts +10 -0
  148. package/dist/types/components/Accordion/index.d.ts.map +1 -1
  149. package/dist/types/components/Alert/Alert.d.ts +21 -10
  150. package/dist/types/components/Alert/Alert.d.ts.map +1 -1
  151. package/dist/types/components/Button/Button.d.ts +18 -4
  152. package/dist/types/components/Button/Button.d.ts.map +1 -1
  153. package/dist/types/components/Card/Card.d.ts +9 -0
  154. package/dist/types/components/Card/Card.d.ts.map +1 -1
  155. package/dist/types/components/DropdownMenu/DropdownMenuRoot.d.ts +12 -0
  156. package/dist/types/components/DropdownMenu/DropdownMenuRoot.d.ts.map +1 -1
  157. package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +4 -2
  158. package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts.map +1 -1
  159. package/dist/types/components/DropdownMenu/index.d.ts +11 -0
  160. package/dist/types/components/DropdownMenu/index.d.ts.map +1 -1
  161. package/dist/types/components/ErrorSummary/index.d.ts +9 -0
  162. package/dist/types/components/ErrorSummary/index.d.ts.map +1 -1
  163. package/dist/types/components/Modal/ModalTrigger.d.ts +4 -2
  164. package/dist/types/components/Modal/ModalTrigger.d.ts.map +1 -1
  165. package/dist/types/components/Pagination/Pagination.d.ts +2 -1
  166. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  167. package/dist/types/components/Pagination/PaginationEllipsis.d.ts +2 -2
  168. package/dist/types/components/Pagination/PaginationEllipsis.d.ts.map +1 -1
  169. package/dist/types/components/Pagination/PaginationItem.d.ts +2 -2
  170. package/dist/types/components/Pagination/PaginationItem.d.ts.map +1 -1
  171. package/dist/types/components/Pagination/PaginationNextPrev.d.ts +3 -2
  172. package/dist/types/components/Pagination/PaginationNextPrev.d.ts.map +1 -1
  173. package/dist/types/components/Pagination/PaginationRoot.d.ts +2 -2
  174. package/dist/types/components/Pagination/PaginationRoot.d.ts.map +1 -1
  175. package/dist/types/components/Pagination/index.d.ts +7 -7
  176. package/dist/types/components/Pagination/index.d.ts.map +1 -1
  177. package/dist/types/components/Popover/PopoverTrigger.d.ts +4 -2
  178. package/dist/types/components/Popover/PopoverTrigger.d.ts.map +1 -1
  179. package/dist/types/components/Table/index.d.ts +7 -0
  180. package/dist/types/components/Table/index.d.ts.map +1 -1
  181. package/dist/types/components/Tabs/Tab.d.ts +7 -2
  182. package/dist/types/components/Tabs/Tab.d.ts.map +1 -1
  183. package/dist/types/components/Tabs/TabContent.d.ts +7 -0
  184. package/dist/types/components/Tabs/TabContent.d.ts.map +1 -1
  185. package/dist/types/components/Tabs/TabList.d.ts +10 -0
  186. package/dist/types/components/Tabs/TabList.d.ts.map +1 -1
  187. package/dist/types/components/Tabs/TabsRoot.d.ts +14 -13
  188. package/dist/types/components/Tabs/TabsRoot.d.ts.map +1 -1
  189. package/dist/types/components/Tabs/index.d.ts +16 -0
  190. package/dist/types/components/Tabs/index.d.ts.map +1 -1
  191. package/dist/types/components/Tag/Tag.d.ts +9 -2
  192. package/dist/types/components/Tag/Tag.d.ts.map +1 -1
  193. package/dist/types/components/Tag/index.d.ts +1 -2
  194. package/dist/types/components/Tag/index.d.ts.map +1 -1
  195. package/dist/types/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.d.ts +13 -2
  196. package/dist/types/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.d.ts.map +1 -1
  197. package/dist/types/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.d.ts +2 -1
  198. package/dist/types/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.d.ts.map +1 -1
  199. package/dist/types/components/ToggleGroup/ToggleGroupRoot.d.ts +2 -3
  200. package/dist/types/components/ToggleGroup/ToggleGroupRoot.d.ts.map +1 -1
  201. package/dist/types/components/ToggleGroup/index.d.ts +11 -0
  202. package/dist/types/components/ToggleGroup/index.d.ts.map +1 -1
  203. package/dist/types/components/Tooltip/Tooltip.d.ts +23 -6
  204. package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
  205. package/dist/types/components/Typography/Heading/Heading.d.ts +14 -3
  206. package/dist/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  207. package/dist/types/components/Typography/Ingress/Ingress.d.ts +6 -1
  208. package/dist/types/components/Typography/Ingress/Ingress.d.ts.map +1 -1
  209. package/dist/types/components/Typography/Label/Label.d.ts +16 -9
  210. package/dist/types/components/Typography/Label/Label.d.ts.map +1 -1
  211. package/dist/types/components/Typography/Paragraph/Paragraph.d.ts +10 -5
  212. package/dist/types/components/Typography/Paragraph/Paragraph.d.ts.map +1 -1
  213. package/dist/types/components/form/Combobox/Combobox.d.ts.map +1 -1
  214. package/dist/types/components/form/Combobox/Custom.d.ts +2 -2
  215. package/dist/types/components/form/Combobox/Custom.d.ts.map +1 -1
  216. package/dist/types/components/form/Combobox/Empty.d.ts +2 -2
  217. package/dist/types/components/form/Combobox/Empty.d.ts.map +1 -1
  218. package/dist/types/components/form/Combobox/Option/Description.d.ts +1 -1
  219. package/dist/types/components/form/Combobox/Option/Description.d.ts.map +1 -1
  220. package/dist/types/components/form/Combobox/Option/Option.d.ts +2 -1
  221. package/dist/types/components/form/Combobox/Option/Option.d.ts.map +1 -1
  222. package/dist/types/components/form/Combobox/Option/SelectedIcon.d.ts +2 -2
  223. package/dist/types/components/form/Combobox/Option/SelectedIcon.d.ts.map +1 -1
  224. package/dist/types/components/form/Combobox/Option/useComboboxOption.d.ts.map +1 -1
  225. package/dist/types/components/form/Combobox/internal/ComboboxChips.d.ts +1 -1
  226. package/dist/types/components/form/Combobox/internal/ComboboxChips.d.ts.map +1 -1
  227. package/dist/types/components/form/Combobox/internal/ComboboxClearButton.d.ts +1 -1
  228. package/dist/types/components/form/Combobox/internal/ComboboxClearButton.d.ts.map +1 -1
  229. package/dist/types/components/form/Combobox/internal/ComboboxError.d.ts +2 -2
  230. package/dist/types/components/form/Combobox/internal/ComboboxError.d.ts.map +1 -1
  231. package/dist/types/components/form/Combobox/internal/ComboboxInput.d.ts +1 -1
  232. package/dist/types/components/form/Combobox/internal/ComboboxInput.d.ts.map +1 -1
  233. package/dist/types/components/form/Combobox/internal/ComboboxLabel.d.ts +1 -1
  234. package/dist/types/components/form/Combobox/internal/ComboboxLabel.d.ts.map +1 -1
  235. package/dist/types/components/form/Combobox/internal/ComboboxNative.d.ts +1 -1
  236. package/dist/types/components/form/Combobox/internal/ComboboxNative.d.ts.map +1 -1
  237. package/dist/types/components/form/Combobox/useCombobox.d.ts.map +1 -1
  238. package/dist/types/components/form/Search/Search.d.ts +2 -2
  239. package/dist/types/components/form/Search/Search.d.ts.map +1 -1
  240. package/dist/types/index.d.ts +1 -1
  241. package/dist/types/index.d.ts.map +1 -1
  242. package/dist/types/types/Portal.d.ts +1 -1
  243. package/dist/types/utilities/RovingFocus/RovingFocusItem.d.ts +16 -0
  244. package/dist/types/utilities/RovingFocus/RovingFocusItem.d.ts.map +1 -0
  245. package/dist/types/utilities/{RovingTabIndex/RovingTabindexRoot.d.ts → RovingFocus/RovingFocusRoot.d.ts} +9 -9
  246. package/dist/types/utilities/RovingFocus/RovingFocusRoot.d.ts.map +1 -0
  247. package/dist/types/utilities/RovingFocus/index.d.ts +4 -0
  248. package/dist/types/utilities/RovingFocus/index.d.ts.map +1 -0
  249. package/dist/types/utilities/{RovingTabIndex/useRovingTabindex.d.ts → RovingFocus/useRovingFocus.d.ts} +7 -9
  250. package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts.map +1 -0
  251. package/dist/types/{hooks → utilities/hooks}/index.d.ts +4 -3
  252. package/dist/types/utilities/hooks/index.d.ts.map +1 -0
  253. package/dist/types/utilities/hooks/useDebounceCallback/useDebounceCallback.d.ts +4 -0
  254. package/dist/types/utilities/hooks/useDebounceCallback/useDebounceCallback.d.ts.map +1 -0
  255. package/dist/types/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts.map +1 -0
  256. package/dist/types/utilities/hooks/useMediaQuery/useMediaQuery.d.ts +7 -0
  257. package/dist/types/utilities/hooks/useMediaQuery/useMediaQuery.d.ts.map +1 -0
  258. package/dist/types/utilities/hooks/usePrevious.d.ts.map +1 -0
  259. package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts.map +1 -0
  260. package/dist/types/utilities/index.d.ts +3 -1
  261. package/dist/types/utilities/index.d.ts.map +1 -1
  262. package/dist/types/utilities/{objectUtils.d.ts → omit/omit.d.ts} +1 -1
  263. package/dist/types/utilities/omit/omit.d.ts.map +1 -0
  264. package/package.json +9 -5
  265. package/dist/cjs/hooks/useMediaQuery.js +0 -27
  266. package/dist/esm/hooks/useMediaQuery.js +0 -25
  267. package/dist/types/hooks/index.d.ts.map +0 -1
  268. package/dist/types/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts.map +0 -1
  269. package/dist/types/hooks/useMediaQuery.d.ts +0 -2
  270. package/dist/types/hooks/useMediaQuery.d.ts.map +0 -1
  271. package/dist/types/hooks/usePrevious.d.ts.map +0 -1
  272. package/dist/types/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts.map +0 -1
  273. package/dist/types/utilities/RovingTabIndex/RovingTabindexItem.d.ts +0 -16
  274. package/dist/types/utilities/RovingTabIndex/RovingTabindexItem.d.ts.map +0 -1
  275. package/dist/types/utilities/RovingTabIndex/RovingTabindexRoot.d.ts.map +0 -1
  276. package/dist/types/utilities/RovingTabIndex/index.d.ts +0 -4
  277. package/dist/types/utilities/RovingTabIndex/index.d.ts.map +0 -1
  278. package/dist/types/utilities/RovingTabIndex/useRovingTabindex.d.ts.map +0 -1
  279. package/dist/types/utilities/objectUtils.d.ts.map +0 -1
  280. package/dist/types/utilities/useDebounce.d.ts +0 -4
  281. package/dist/types/utilities/useDebounce.d.ts.map +0 -1
  282. /package/dist/cjs/{hooks → utilities/hooks}/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +0 -0
  283. /package/dist/cjs/{hooks → utilities/hooks}/usePrevious.js +0 -0
  284. /package/dist/cjs/{hooks → utilities/hooks}/useSynchronizedAnimation/useSynchronizedAnimation.js +0 -0
  285. /package/dist/cjs/utilities/{objectUtils.js → omit/omit.js} +0 -0
  286. /package/dist/esm/{hooks → utilities/hooks}/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +0 -0
  287. /package/dist/esm/{hooks → utilities/hooks}/usePrevious.js +0 -0
  288. /package/dist/esm/{hooks → utilities/hooks}/useSynchronizedAnimation/useSynchronizedAnimation.js +0 -0
  289. /package/dist/esm/utilities/{objectUtils.js → omit/omit.js} +0 -0
  290. /package/dist/types/{hooks → utilities/hooks}/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts +0 -0
  291. /package/dist/types/{hooks → utilities/hooks}/usePrevious.d.ts +0 -0
  292. /package/dist/types/{hooks → utilities/hooks}/useSynchronizedAnimation/useSynchronizedAnimation.d.ts +0 -0
@@ -18,6 +18,15 @@ export type CardProps = {
18
18
  /** Instances of `Card.Header`, `Card.Content`, `Card.Footer` or other React nodes like `Divider` */
19
19
  children: ReactNode;
20
20
  } & HTMLAttributes<HTMLDivElement>;
21
+ /**
22
+ * Card component to present content in a structured way.
23
+ * @example
24
+ * <Card>
25
+ * <Card.Header>Header</Card.Header>
26
+ * <Card.Content>Content</Card.Content>
27
+ * <Card.Footer>Footer</Card.Footer>
28
+ * </Card>
29
+ */
21
30
  export declare const Card: import("react").ForwardRefExoticComponent<{
22
31
  /**
23
32
  * Changes background & border color
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKvD,MAAM,MAAM,SAAS,GAAG;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC9D;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oGAAoG;IACpG,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI;IAnBf;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH,oGAAoG;cAC1F,SAAS;mFAuBpB,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKvD,MAAM,MAAM,SAAS,GAAG;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC9D;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oGAAoG;IACpG,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC;;;;;;;;GAQG;AACH,eAAO,MAAM,IAAI;IA5Bf;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH,oGAAoG;cAC1F,SAAS;mFAgCpB,CAAC"}
@@ -19,6 +19,18 @@ export type DropdownMenuRootProps = {
19
19
  size?: 'sm' | 'md' | 'lg';
20
20
  children: React.ReactNode;
21
21
  } & PortalProps;
22
+ /**
23
+ * DropdownMenuRoot is the root component for the DropdownMenu component.
24
+ * @example
25
+ * <DropdownMenu.Root>
26
+ * <DropdownMenu.Trigger>Dropdown</DropdownMenu.Trigger>
27
+ * <DropdownMenu.Content>
28
+ * <DropdownMenu.Group heading='Heading'>
29
+ * <DropdownMenu.Item>Button 1</DropdownMenu.Item>
30
+ * </DropdownMenu.Group>
31
+ * </DropdownMenu.Content>
32
+ * </DropdownMenu.Root>
33
+ */
22
34
  export declare const DropdownMenuRoot: {
23
35
  ({ open, onClose, placement, portal, size, children, }: DropdownMenuRootProps): import("react/jsx-runtime").JSX.Element;
24
36
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenuRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenuRoot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;QAGI;IACJ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,WAAW,CAAC;AAEhB,eAAO,MAAM,gBAAgB;4DAO1B,qBAAqB;;CA4BvB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACrC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,IAAI,EAAE,WAAW,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,CAAC;IACjD,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,qBAAqB,CAAC,WAAW,CAAC,CAAC;IAC/C,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,mBAAmB,wCAM9B,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import type * as React from 'react';
2
2
  import { Button } from '../Button';
3
3
  export type DropdownMenuTriggerProps = React.ComponentPropsWithRef<typeof Button>;
4
- export declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<{
4
+ export declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<Omit<{
5
5
  variant?: "primary" | "secondary" | "tertiary" | undefined;
6
6
  color?: "accent" | "neutral" | "danger" | undefined;
7
7
  size?: "sm" | "md" | "lg" | undefined;
8
8
  fullWidth?: boolean | undefined;
9
9
  icon?: boolean | undefined;
10
10
  asChild?: boolean | undefined;
11
- } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
11
+ } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>, "ref"> & {
12
+ ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
13
+ }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
12
14
  //# sourceMappingURL=DropdownMenuTrigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenuTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenuTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAIpC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAInC,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,qBAAqB,CAChE,OAAO,MAAM,CACd,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;4IAqB9B,CAAC"}
1
+ {"version":3,"file":"DropdownMenuTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenuTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAIpC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAInC,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,qBAAqB,CAChE,OAAO,MAAM,CACd,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;mDAqB9B,CAAC"}
@@ -10,6 +10,17 @@ type DropdownMenuComponent = {
10
10
  Item: typeof DropdownMenuItem;
11
11
  Trigger: typeof DropdownMenuTrigger;
12
12
  };
13
+ /**
14
+ * @example
15
+ * <DropdownMenu.Root>
16
+ * <DropdownMenu.Trigger>Dropdown</DropdownMenu.Trigger>
17
+ * <DropdownMenu.Content>
18
+ * <DropdownMenu.Group heading='Heading'>
19
+ * <DropdownMenu.Item>Button 1</DropdownMenu.Item>
20
+ * </DropdownMenu.Group>
21
+ * </DropdownMenu.Content>
22
+ * </DropdownMenu.Root>
23
+ */
13
24
  declare const DropdownMenu: DropdownMenuComponent;
14
25
  export type { DropdownMenuRootProps } from './DropdownMenuRoot';
15
26
  export type { DropdownMenuGroupProps } from './DropdownMenuGroup';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,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AAK,EAAE,OAAO,iBAAiB,CAAC;IAChC,IAAI,EAAE,OAAO,gBAAgB,CAAC;IAC9B,OAAO,EAAE,OAAO,mBAAmB,CAAC;CACrC,CAAC;AAEF;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY,uBAA8B,CAAC;AAcjD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,GACpB,CAAC"}
@@ -8,6 +8,15 @@ type ErrorSummaryComponent = {
8
8
  Heading: typeof ErrorSummaryHeading;
9
9
  List: typeof ErrorSummaryList;
10
10
  };
11
+ /**
12
+ * @example
13
+ * <ErrorSummary.Root>
14
+ * <ErrorSummary.Heading>Heading</ErrorSummary.Heading>
15
+ * <ErrorSummary.List>
16
+ * <ErrorSummary.Item>Item 1</ErrorSummary.Item>
17
+ * </ErrorSummary.List>
18
+ * </ErrorSummary.Root>
19
+ */
11
20
  declare const ErrorSummary: ErrorSummaryComponent;
12
21
  export type { ErrorSummaryProps } from './ErrorSummaryRoot';
13
22
  export type { ErrorSummaryItemProps } from './ErrorSummaryItem';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorSummary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,KAAK,qBAAqB,G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Y,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,GACjB,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import type * as React from 'react';
2
2
  import { Button } from '../Button';
3
3
  export type ModalTriggerProps = React.ComponentPropsWithRef<typeof Button>;
4
- export declare const ModalTrigger: React.ForwardRefExoticComponent<Omit<{
4
+ export declare const ModalTrigger: React.ForwardRefExoticComponent<Omit<Omit<{
5
5
  variant?: "primary" | "secondary" | "tertiary" | undefined;
6
6
  color?: "accent" | "neutral" | "danger" | undefined;
7
7
  size?: "sm" | "md" | "lg" | undefined;
8
8
  fullWidth?: boolean | undefined;
9
9
  icon?: boolean | undefined;
10
10
  asChild?: boolean | undefined;
11
- } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
11
+ } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>, "ref"> & {
12
+ ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
13
+ }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
12
14
  //# sourceMappingURL=ModalTrigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModalTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/ModalTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAInC,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC;AAE3E,eAAO,MAAM,YAAY;;;;;;;4IAexB,CAAC"}
1
+ {"version":3,"file":"ModalTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/ModalTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAInC,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC;AAE3E,eAAO,MAAM,YAAY;;;;;;;;;mDAexB,CAAC"}
@@ -23,7 +23,7 @@ export type PaginationProps = {
23
23
  /** `aria-label` for pagination item */
24
24
  itemLabel?: (currentPage: number) => string;
25
25
  } & Omit<React.HTMLAttributes<HTMLElement>, 'onChange'>;
26
- export declare const Pagination: React.ForwardRefExoticComponent<{
26
+ declare const Pagination: React.ForwardRefExoticComponent<{
27
27
  /** Sets the text label for the next page button */
28
28
  nextLabel: string;
29
29
  /** Sets the text label for the previous page button */
@@ -47,4 +47,5 @@ export declare const Pagination: React.ForwardRefExoticComponent<{
47
47
  /** `aria-label` for pagination item */
48
48
  itemLabel?: ((currentPage: number) => string) | undefined;
49
49
  } & Omit<React.HTMLAttributes<HTMLElement>, "onChange"> & React.RefAttributes<HTMLElement>>;
50
+ export { Pagination };
50
51
  //# sourceMappingURL=Pagination.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAYpC,MAAM,MAAM,eAAe,GAAG;IAC5B,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,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CAAC;CAC7C,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC,CAAC;AAQxD,QAAA,MAAM,UAAU;IA9Bd,mDAAmD;eACxC,MAAM;IACjB,uDAAuD;mBACxC,MAAM;IACrB;;OAEG;;IAEH,+EAA+E;;IAE/E,4DAA4D;;IAE5D;;OAEG;iBACU,MAAM;IACnB,4BAA4B;gBAChB,MAAM;IAClB,4DAA4D;4BACpC,MAAM,KAAK,IAAI;IACvC,uCAAuC;+BACb,MAAM,KAAK,MAAM;2FA4F5C,CAAC;AAIF,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ParagraphProps } from '../Typography';
2
2
  export type PaginationEllipsisProps = Omit<ParagraphProps, 'size' | 'spacing' | 'short'>;
3
- export declare const PaginationEllipsis: import("react").ForwardRefExoticComponent<PaginationEllipsisProps & import("react").RefAttributes<HTMLParagraphElement>>;
4
- export default PaginationEllipsis;
3
+ declare const PaginationEllipsis: import("react").ForwardRefExoticComponent<PaginationEllipsisProps & import("react").RefAttributes<HTMLParagraphElement>>;
4
+ export { PaginationEllipsis };
5
5
  //# sourceMappingURL=PaginationEllipsis.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationEllipsis.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/PaginationEllipsis.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAKpD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,cAAc,EACd,MAAM,GAAG,SAAS,GAAG,OAAO,CAC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,0HAgB7B,CAAC;AAIH,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"PaginationEllipsis.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/PaginationEllipsis.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAKpD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,cAAc,EACd,MAAM,GAAG,SAAS,GAAG,OAAO,CAC7B,CAAC;AAEF,QAAA,MAAM,kBAAkB,0HAgBtB,CAAC;AAIH,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -6,12 +6,12 @@ export type PaginationItemProps = {
6
6
  */
7
7
  asChild?: boolean;
8
8
  } & Omit<HTMLAttributes<HTMLLIElement>, 'size'>;
9
- export declare const PaginationItem: import("react").ForwardRefExoticComponent<{
9
+ declare const PaginationItem: import("react").ForwardRefExoticComponent<{
10
10
  /**
11
11
  * Change the default rendered element for the one passed as a child, merging their props and behavior.
12
12
  * @default false
13
13
  */
14
14
  asChild?: boolean | undefined;
15
15
  } & Omit<HTMLAttributes<HTMLLIElement>, "size"> & import("react").RefAttributes<HTMLLIElement>>;
16
- export default PaginationItem;
16
+ export { PaginationItem };
17
17
  //# sourceMappingURL=PaginationItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/PaginationItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAA0B,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAKpE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,CAAC;AAEhD,eAAO,MAAM,cAAc;IAPzB;;;OAGG;;+FAuBJ,CAAC;AAIF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"PaginationItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/PaginationItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAA0B,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAKpE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,CAAC;AAEhD,QAAA,MAAM,cAAc;IAPlB;;;OAGG;;+FAuBJ,CAAC;AAIF,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import type { PaginationButtonProps } from './PaginationButton';
2
2
  export type PaginationNextProps = PaginationButtonProps;
3
- export declare const PaginationNext: import("react").ForwardRefExoticComponent<{
3
+ declare const PaginationNext: import("react").ForwardRefExoticComponent<{
4
4
  isActive?: boolean | undefined;
5
5
  } & Omit<import("packages/react/src").ButtonProps, "size" | "icon"> & import("react").RefAttributes<HTMLButtonElement>>;
6
6
  export type PaginationPreviousProps = PaginationButtonProps;
7
- export declare const PaginationPrevious: import("react").ForwardRefExoticComponent<{
7
+ declare const PaginationPrevious: import("react").ForwardRefExoticComponent<{
8
8
  isActive?: boolean | undefined;
9
9
  } & Omit<import("packages/react/src").ButtonProps, "size" | "icon"> & import("react").RefAttributes<HTMLButtonElement>>;
10
+ export { PaginationNext, PaginationPrevious };
10
11
  //# sourceMappingURL=PaginationNextPrev.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationNextPrev.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/PaginationNextPrev.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAGhE,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAExD,eAAO,MAAM,cAAc;;uHAWzB,CAAC;AAIH,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;uHAW7B,CAAC"}
1
+ {"version":3,"file":"PaginationNextPrev.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/PaginationNextPrev.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAGhE,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAExD,QAAA,MAAM,cAAc;;uHAUnB,CAAC;AAIF,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AAE5D,QAAA,MAAM,kBAAkB;;uHAUvB,CAAC;AAIF,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC"}
@@ -22,7 +22,7 @@ export type PaginationRootProps = {
22
22
  */
23
23
  asChild?: boolean;
24
24
  } & HTMLAttributes<HTMLElement>;
25
- export declare const PaginationRoot: import("react").ForwardRefExoticComponent<{
25
+ declare const PaginationRoot: import("react").ForwardRefExoticComponent<{
26
26
  /**
27
27
  * Sets the size of the component
28
28
  * @default md
@@ -39,5 +39,5 @@ export declare const PaginationRoot: import("react").ForwardRefExoticComponent<{
39
39
  */
40
40
  asChild?: boolean | undefined;
41
41
  } & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
42
- export default PaginationRoot;
42
+ export { PaginationRoot };
43
43
  //# sourceMappingURL=PaginationRoot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/PaginationRoot.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC;IAC/C,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,iBAAiB,iDAG5B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAEhC,eAAO,MAAM,cAAc;IAjBzB;;;OAGG;WACI,eAAe,CAAC,MAAM,CAAC;IAC9B;;;OAGG;;IAEH;;;OAGG;;6EAkBJ,CAAC;AAIF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"PaginationRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/PaginationRoot.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC;IAC/C,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,iBAAiB,iDAG5B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAEhC,QAAA,MAAM,cAAc;IAjBlB;;;OAGG;WACI,eAAe,CAAC,MAAM,CAAC;IAC9B;;;OAGG;;IAEH;;;OAGG;;6EAkBJ,CAAC;AAIF,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,16 +1,16 @@
1
- import type { PaginationProps } from './Pagination';
2
1
  import { Pagination as PaginationParent } from './Pagination';
3
2
  import { PaginationContent } from './PaginationContent';
3
+ import { PaginationEllipsis } from './PaginationEllipsis';
4
+ import { PaginationItem } from './PaginationItem';
5
+ import { PaginationButton } from './PaginationButton';
6
+ import { PaginationNext, PaginationPrevious } from './PaginationNextPrev';
7
+ import { PaginationRoot } from './PaginationRoot';
8
+ import type { PaginationProps } from './Pagination';
4
9
  import type { PaginationContentProps } from './PaginationContent';
5
- import type { PaginationEllipsisProps } from './PaginationEllipsis';
6
- import PaginationEllipsis from './PaginationEllipsis';
7
- import PaginationItem from './PaginationItem';
8
10
  import type { PaginationItemProps } from './PaginationItem';
9
- import { PaginationButton } from './PaginationButton';
11
+ import type { PaginationEllipsisProps } from './PaginationEllipsis';
10
12
  import type { PaginationButtonProps } from './PaginationButton';
11
13
  import type { PaginationNextProps, PaginationPreviousProps } from './PaginationNextPrev';
12
- import { PaginationNext, PaginationPrevious } from './PaginationNextPrev';
13
- import PaginationRoot from './PaginationRoot';
14
14
  type PaginationComponent = typeof PaginationParent & {
15
15
  Root: typeof PaginationRoot;
16
16
  Content: typeof PaginationContent;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cA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,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAE9B,KAAK,mBAAmB,GAAG,OAAO,gBAAgB,GAAG;IACnD,IAAI,EAAE,OAAO,cAAc,CAAC;IAC5B,OAAO,EAAE,OAAO,iBAAiB,CAAC;IAClC,IAAI,EAAE,OAAO,cAAc,CAAC;IAC5B,MAAM,EAAE,OAAO,gBAAgB,CAAC;IAChC,QAAQ,EAAE,OAAO,kBAAkB,CAAC;IACpC,QAAQ,EAAE,OAAO,kBAAkB,CAAC;IACpC,IAAI,EAAE,OAAO,cAAc,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,UAAU,qBAA0C,CAAC;AAkB3D,YAAY,EACV,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,GACpB,CAAC;AAEF,OAAO,EACL,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,GACf,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import type * as React from 'react';
2
2
  import { Button } from '../Button';
3
3
  export type PopoverTriggerProps = React.ComponentPropsWithRef<typeof Button>;
4
- export declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<{
4
+ export declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<Omit<{
5
5
  variant?: "primary" | "secondary" | "tertiary" | undefined;
6
6
  color?: "accent" | "neutral" | "danger" | undefined;
7
7
  size?: "sm" | "md" | "lg" | undefined;
8
8
  fullWidth?: boolean | undefined;
9
9
  icon?: boolean | undefined;
10
10
  asChild?: boolean | undefined;
11
- } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
11
+ } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>, "ref"> & {
12
+ ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
13
+ }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
12
14
  //# sourceMappingURL=PopoverTrigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PopoverTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/PopoverTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAIpC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAInC,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC;AAE7E,eAAO,MAAM,cAAc;;;;;;;4IAkCzB,CAAC"}
1
+ {"version":3,"file":"PopoverTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/PopoverTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAIpC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAInC,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC;AAE7E,eAAO,MAAM,cAAc;;;;;;;;;mDAkCzB,CAAC"}
@@ -4,6 +4,12 @@ import { TableBody } from './TableBody';
4
4
  import { TableRow } from './TableRow';
5
5
  import { TableCell } from './TableCell';
6
6
  import { TableHeaderCell } from './TableHeaderCell';
7
+ import type { TableProps } from './Table';
8
+ import type { TableHeadProps } from './TableHead';
9
+ import type { TableBodyProps } from './TableBody';
10
+ import type { TableRowProps } from './TableRow';
11
+ import type { TableCellProps } from './TableCell';
12
+ import type { TableHeaderCellProps } from './TableHeaderCell';
7
13
  type TableComponent = typeof TableRoot & {
8
14
  Head: typeof TableHead;
9
15
  Body: typeof TableBody;
@@ -13,4 +19,5 @@ type TableComponent = typeof TableRoot & {
13
19
  };
14
20
  declare const Table: TableComponent;
15
21
  export { Table, TableHead, TableBody, TableRow, TableCell, TableHeaderCell };
22
+ export type { TableProps, TableHeadProps, TableBodyProps, TableRowProps, TableCellProps, TableHeaderCellProps, };
16
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,KAAK,cAAc,GAAG,OAAO,SAAS,GAAG;IACvC,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,GAAG,EAAE,OAAO,QAAQ,CAAC;IACrB,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,UAAU,EAAE,OAAO,eAAe,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,KAA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cAAc,EACd,cAAc,EACd,aAAa,EACb,cAAc,EACd,oBAAoB,GACrB,CAAC"}
@@ -1,10 +1,15 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  export type TabProps = {
3
- /** Value that will be set in the `Tabs` components state when the tab is activated*/
3
+ /** Value that will be set in the `Tabs` components state when the tab is activated */
4
4
  value: string;
5
5
  } & Omit<HTMLAttributes<HTMLButtonElement>, 'value'>;
6
+ /**
7
+ * A single item in a Tabs component.
8
+ * @example
9
+ * <Tabs.Tab value='1'>Tab 1</Tabs.Tab>
10
+ */
6
11
  export declare const Tab: import("react").ForwardRefExoticComponent<{
7
- /** Value that will be set in the `Tabs` components state when the tab is activated*/
12
+ /** Value that will be set in the `Tabs` components state when the tab is activated */
8
13
  value: string;
9
14
  } & Omit<HTMLAttributes<HTMLButtonElement>, "value"> & import("react").RefAttributes<HTMLButtonElement>>;
10
15
  //# sourceMappingURL=Tab.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS5C,MAAM,MAAM,QAAQ,GAAG;IACrB,qFAAqF;IACrF,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,CAAC;AAErD,eAAO,MAAM,GAAG;IAJd,qFAAqF;WAC9E,MAAM;wGA4Bb,CAAC"}
1
+ {"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS5C,MAAM,MAAM,QAAQ,GAAG;IACrB,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,GAAG;IATd,sFAAsF;WAC/E,MAAM;wGAiCb,CAAC"}
@@ -3,6 +3,13 @@ export type TabContentProps = {
3
3
  /** When this value is selected as the current state, render this `TabContent` component*/
4
4
  value: string;
5
5
  } & Omit<HTMLAttributes<HTMLDivElement>, 'value'>;
6
+ /**
7
+ * A single content item in a Tabs component.
8
+ * @example
9
+ * ```tsx
10
+ * <Tabs.Content value='1'>content 1</Tabs.Content>
11
+ * ```
12
+ */
6
13
  export declare const TabContent: import("react").ForwardRefExoticComponent<{
7
14
  /** When this value is selected as the current state, render this `TabContent` component*/
8
15
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"TabContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ5C,MAAM,MAAM,eAAe,GAAG;IAC5B,0FAA0F;IAC1F,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;AAElD,eAAO,MAAM,UAAU;IAJrB,0FAA0F;WACnF,MAAM;kGA4Bd,CAAC"}
1
+ {"version":3,"file":"TabContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ5C,MAAM,MAAM,eAAe,GAAG;IAC5B,0FAA0F;IAC1F,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;IAXrB,0FAA0F;WACnF,MAAM;kGAmCd,CAAC"}
@@ -1,3 +1,13 @@
1
1
  import type { HTMLAttributes } from 'react';
2
+ /**
3
+ * The container for all `Tab` components.
4
+ * @example
5
+ * ```tsx
6
+ * <Tabs.List>
7
+ * <Tabs.Tab value='1'>Tab 1</Tabs.Tab>
8
+ * <Tabs.Tab value='2'>Tab 2</Tabs.Tab>
9
+ * </Tabs.List>
10
+ * ```
11
+ */
2
12
  export declare const TabList: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
3
13
  //# sourceMappingURL=TabList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabList.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,eAAO,MAAM,OAAO,2HAclB,CAAC"}
1
+ {"version":3,"file":"TabList.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ5C;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,2HAiBlB,CAAC"}
@@ -12,28 +12,29 @@ export type TabsProps = {
12
12
  */
13
13
  size?: 'sm' | 'md' | 'lg';
14
14
  } & Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'value'>;
15
- /** `Tabs` component.
15
+ export type TabsContextProps = {
16
+ value?: string;
17
+ defaultValue?: string;
18
+ onChange?: (value: string) => void;
19
+ size?: TabsProps['size'];
20
+ };
21
+ export declare const TabsContext: import("react").Context<TabsContextProps>;
22
+ /**
23
+ * Display a group of tabs that can be toggled between.
16
24
  * @example
17
25
  * ```tsx
18
- * <Tabs onChange={(value) => console.log(value)}>
26
+ * <Tabs.Root onChange={(value) => console.log(value)}>
19
27
  * <Tabs.List>
20
- * <Tabs.Item value='1'>Tab 1</Tabs.Item>
21
- * <Tabs.Item value='2'>Tab 2</Tabs.Item>
22
- * <Tabs.Item value='3'>Tab 3</Tabs.Item>
28
+ * <Tabs.Tab value='1'>Tab 1</Tabs.Tab>
29
+ * <Tabs.Tab value='2'>Tab 2</Tabs.Tab>
30
+ * <Tabs.Tab value='3'>Tab 3</Tabs.Tab>
23
31
  * </Tabs.List>
24
32
  * <Tabs.Content value='1'>content 1</Tabs.Content>
25
33
  * <Tabs.Content value='2'>content 2</Tabs.Content>
26
34
  * <Tabs.Content value='3'>content 3</Tabs.Content>
27
- * </Tabs>
35
+ * </Tabs.Root>
28
36
  * ```
29
37
  */
30
- export type TabsContextProps = {
31
- value?: string;
32
- defaultValue?: string;
33
- onChange?: (value: string) => void;
34
- size?: TabsProps['size'];
35
- };
36
- export declare const TabsContext: import("react").Context<TabsContextProps>;
37
38
  export declare const TabsRoot: import("react").ForwardRefExoticComponent<{
38
39
  /** Controlled state for `Tabs` component. */
39
40
  value?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"TabsRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabsRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,SAAS,GAAG;IACtB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC;AAE/D;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACn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11
  List: typeof TabList;
12
12
  Content: typeof TabContent;
13
13
  };
14
+ /**
15
+ * Display a group of tabs that can be toggled between.
16
+ * @example
17
+ * ```tsx
18
+ * <Tabs.Root onChange={(value) => console.log(value)}>
19
+ * <Tabs.List>
20
+ * <Tabs.Tab value='1'>Tab 1</Tabs.Tab>
21
+ * <Tabs.Tab value='2'>Tab 2</Tabs.Tab>
22
+ * <Tabs.Tab value='3'>Tab 3</Tabs.Tab>
23
+ * </Tabs.List>
24
+ * <Tabs.Content value='1'>content 1</Tabs.Content>
25
+ * <Tabs.Content value='2'>content 2</Tabs.Content>
26
+ * <Tabs.Content value='3'>content 3</Tabs.Content>
27
+ * </Tabs.Root>
28
+ * ```
29
+ */
14
30
  declare const Tabs: TabsComponent;
15
31
  export { Tabs, TabsRoot, Tab, TabList, TabContent };
16
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,OAAO,QAAQ,CAAC;IACtB,GAAG,EAAE,OAAO,GAAG,CAAC;IAChB,IAAI,EAAE,OAAO,OAAO,CAAC;IACrB,OAAO,EAAE,OAAO,UAAU,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,aAAmC,CAAC;AAYhD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,OAAO,QAAQ,CAAC;IACtB,GAAG,EAAE,OAAO,GAAG,CAAC;IAChB,IAAI,EAAE,OAAO,OAAO,CAAC;IACrB,OAAO,EAAE,OAAO,UAAU,CAAC;CAC5B,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,IAAI,EAAE,aAAmC,CAAC;AAYhD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -2,7 +2,8 @@ import type { HTMLAttributes } from 'react';
2
2
  import type { ParagraphProps } from '../Typography';
3
3
  type Size = Exclude<ParagraphProps['size'], 'xs'>;
4
4
  export type TagProps = {
5
- /** Color of the tag
5
+ /**
6
+ * Color of the tag
6
7
  * @default neutral
7
8
  */
8
9
  color?: 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'brand1' | 'brand2' | 'brand3';
@@ -12,8 +13,14 @@ export type TagProps = {
12
13
  */
13
14
  size?: Size;
14
15
  } & HTMLAttributes<HTMLSpanElement>;
16
+ /**
17
+ * Use `Tag` to display a small piece of information.
18
+ * @example
19
+ * <Tag color='success'>Success</Tag>
20
+ */
15
21
  export declare const Tag: import("react").ForwardRefExoticComponent<{
16
- /** Color of the tag
22
+ /**
23
+ * Color of the tag
17
24
  * @default neutral
18
25
  */
19
26
  color?: "neutral" | "danger" | "info" | "warning" | "brand1" | "brand2" | "brand3" | "success" | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,KAAK,IAAI,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC;AAElD,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,KAAK,CAAC,EACF,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEpC,eAAO,MAAM,GAAG;IAnBd;;OAEG;;IAUH;;;OAGG;WACI,IAAI;qFAyBZ,CAAC"}
1
+ {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,KAAK,IAAI,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC;AAElD,MAAM,MAAM,QAAQ,GAAG;IACrB;;;OAGG;IACH,KAAK,CAAC,EACF,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEpC;;;;GAIG;AACH,eAAO,MAAM,GAAG;IAzBd;;;OAGG;;IAUH;;;OAGG;WACI,IAAI;qFA8BZ,CAAC"}
@@ -1,3 +1,2 @@
1
- export { Tag } from './Tag';
2
- export type { TagProps } from './Tag';
1
+ export * from './Tag';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
@@ -1,10 +1,21 @@
1
1
  import type { ButtonProps } from '../../Button';
2
2
  export type ToggleGroupItemProps = {
3
- /** The value of the ToggleGroupItem. If not set, the string value of the items children will be used. */
3
+ /**
4
+ * The value of the ToggleGroupItem.
5
+ * Generates a random value if not set.
6
+ **/
4
7
  value?: string;
5
8
  } & Omit<ButtonProps, 'value'>;
9
+ /**
10
+ * A single item in a ToggleGroup.
11
+ * @example
12
+ * <ToggleGroup.Item value='1'>Toggle 1</ToggleGroup.Item>
13
+ */
6
14
  export declare const ToggleGroupItem: import("react").ForwardRefExoticComponent<{
7
- /** The value of the ToggleGroupItem. If not set, the string value of the items children will be used. */
15
+ /**
16
+ * The value of the ToggleGroupItem.
17
+ * Generates a random value if not set.
18
+ **/
8
19
  value?: string | undefined;
9
20
  } & Omit<ButtonProps, "value"> & import("react").RefAttributes<HTMLButtonElement>>;
10
21
  //# sourceMappingURL=ToggleGroupItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToggleGroupItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAMhD,MAAM,MAAM,oBAAoB,GAAG;IACjC,yGAAyG;IACzG,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;AAE/B,eAAO,MAAM,eAAe;IAJ1B,yGAAyG;;kFA4BzG,CAAC"}
1
+ {"version":3,"file":"ToggleGroupItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAMhD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;QAGI;IACJ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;AAE/B;;;;GAIG;AACH,eAAO,MAAM,eAAe;IAZ1B;;;QAGI;;kFAkCJ,CAAC"}
@@ -4,9 +4,10 @@ import type { ToggleGroupItemProps } from './ToggleGroupItem';
4
4
  type UseToggleGroupItem = (props: ToggleGroupItemProps) => {
5
5
  active: boolean;
6
6
  size?: ToggleGroupContextProps['size'];
7
+ value: string;
7
8
  buttonProps?: Pick<ButtonProps, 'id' | 'onClick' | 'role' | 'aria-checked' | 'aria-current' | 'name'>;
8
9
  };
9
- /** Handles props for `ToggleGroup.Item` in context with `ToggleGroup` and `RovingTabIndex` */
10
+ /** Handles props for `ToggleGroup.Item` in context with `ToggleGroup` and `RovingFocus` */
10
11
  export declare const useToggleGroupItem: UseToggleGroupItem;
11
12
  export {};
12
13
  //# sourceMappingURL=useToggleGroupitem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useToggleGroupitem.d.ts","sourceRoot":"","sources":["../../../../../src/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAElE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,oBAAoB,KAAK;IACzD,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACvC,WAAW,CAAC,EAAE,IAAI,CAChB,WAAW,EACX,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,cAAc,GAAG,cAAc,GAAG,MAAM,CACrE,CAAC;CACH,CAAC;AAEF,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB,EAAE,kBAyBhC,CAAC"}
1
+ {"version":3,"file":"useToggleGroupitem.d.ts","sourceRoot":"","sources":["../../../../../src/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAElE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,oBAAoB,KAAK;IACzD,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,IAAI,CAChB,WAAW,EACX,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,cAAc,GAAG,cAAc,GAAG,MAAM,CACrE,CAAC;CACH,CAAC;AAEF,2FAA2F;AAC3F,eAAO,MAAM,kBAAkB,EAAE,kBA0BhC,CAAC"}