@digdir/designsystemet-react 1.0.0-next.17 → 1.0.0-next.33

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 (424) hide show
  1. package/dist/cjs/components/Accordion/Accordion.js +15 -0
  2. package/dist/cjs/components/Accordion/AccordionContent.js +2 -11
  3. package/dist/cjs/components/Accordion/AccordionHeading.js +5 -17
  4. package/dist/cjs/components/Accordion/AccordionItem.js +61 -16
  5. package/dist/cjs/components/Accordion/index.js +4 -7
  6. package/dist/cjs/components/Alert/Alert.js +3 -18
  7. package/dist/cjs/components/Avatar/Avatar.js +36 -0
  8. package/dist/cjs/components/Badge/Badge.js +6 -1
  9. package/dist/cjs/components/Button/Button.js +6 -3
  10. package/dist/cjs/components/Card/Card.js +1 -1
  11. package/dist/cjs/components/Divider/Divider.js +5 -4
  12. package/dist/cjs/components/DropdownMenu/DropdownMenuContent.js +3 -22
  13. package/dist/cjs/components/DropdownMenu/DropdownMenuGroup.js +1 -1
  14. package/dist/cjs/components/DropdownMenu/DropdownMenuItem.js +1 -1
  15. package/dist/cjs/components/ErrorSummary/ErrorSummaryHeading.js +11 -7
  16. package/dist/cjs/components/ErrorSummary/ErrorSummaryItem.js +4 -4
  17. package/dist/cjs/components/ErrorSummary/ErrorSummaryList.js +7 -5
  18. package/dist/cjs/components/ErrorSummary/ErrorSummaryRoot.js +4 -4
  19. package/dist/cjs/components/ErrorSummary/index.js +2 -2
  20. package/dist/cjs/components/HelpText/HelpText.js +6 -4
  21. package/dist/cjs/components/Link/Link.js +2 -2
  22. package/dist/cjs/components/List/ListItem.js +2 -4
  23. package/dist/cjs/components/List/Lists.js +10 -13
  24. package/dist/cjs/components/List/index.js +7 -14
  25. package/dist/cjs/components/Modal/ModalHeader.js +1 -1
  26. package/dist/cjs/components/Pagination/Pagination.js +3 -17
  27. package/dist/cjs/components/Pagination/PaginationButton.js +2 -3
  28. package/dist/cjs/components/Pagination/PaginationEllipsis.js +1 -2
  29. package/dist/cjs/components/Pagination/PaginationItem.js +1 -2
  30. package/dist/cjs/components/Pagination/{PaginationContent.js → PaginationList.js} +4 -5
  31. package/dist/cjs/components/Pagination/PaginationNextPrev.js +4 -6
  32. package/dist/cjs/components/Pagination/PaginationRoot.js +2 -3
  33. package/dist/cjs/components/Pagination/index.js +4 -4
  34. package/dist/cjs/components/Popover/Popover.js +94 -0
  35. package/dist/cjs/components/Popover/PopoverContext.js +16 -0
  36. package/dist/cjs/components/Popover/PopoverTrigger.js +4 -13
  37. package/dist/cjs/components/Popover/index.js +6 -9
  38. package/dist/cjs/components/Table/Table.js +2 -22
  39. package/dist/cjs/components/Table/TableBody.js +2 -22
  40. package/dist/cjs/components/Table/TableCell.js +2 -23
  41. package/dist/cjs/components/Table/TableHead.js +2 -23
  42. package/dist/cjs/components/Table/TableHeaderCell.js +2 -29
  43. package/dist/cjs/components/Table/TableRow.js +2 -23
  44. package/dist/cjs/components/Tag/Tag.js +2 -3
  45. package/dist/cjs/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +3 -5
  46. package/dist/cjs/components/Tooltip/Tooltip.js +6 -25
  47. package/dist/cjs/components/Typography/Heading/Heading.js +2 -2
  48. package/dist/cjs/components/form/Combobox/Combobox.js +2 -3
  49. package/dist/cjs/components/form/Combobox/internal/ComboboxInput.js +1 -2
  50. package/dist/cjs/components/form/Combobox/useFloatingCombobox.js +1 -1
  51. package/dist/cjs/components/form/Select/Select.js +20 -0
  52. package/dist/cjs/components/form/Select/SelectOptgroup.js +13 -0
  53. package/dist/cjs/components/form/Select/SelectOption.js +13 -0
  54. package/dist/cjs/components/form/Select/index.js +16 -0
  55. package/dist/cjs/components/form/Select/useSelect.js +49 -0
  56. package/dist/cjs/components/{Skeleton → loaders/Skeleton}/Circle/Circle.js +2 -2
  57. package/dist/cjs/components/{Skeleton → loaders/Skeleton}/Rectangle/Rectangle.js +2 -2
  58. package/dist/cjs/components/{Skeleton → loaders/Skeleton}/Text/Text.js +2 -2
  59. package/dist/cjs/components/loaders/Spinner/Spinner.js +16 -0
  60. package/dist/cjs/index.js +56 -60
  61. package/dist/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +7 -23
  62. package/dist/cjs/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +164 -0
  63. package/dist/cjs/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +22 -0
  64. package/dist/cjs/node_modules/@floating-ui/react/dist/floating-ui.react.js +85 -56
  65. package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +1 -1
  66. package/dist/cjs/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +677 -0
  67. package/dist/cjs/node_modules/@tanstack/virtual-core/dist/esm/index.js +57 -65
  68. package/dist/cjs/node_modules/@u-elements/u-details/dist/u-details.js +117 -0
  69. package/dist/cjs/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.js +4 -2
  70. package/dist/esm/components/Accordion/Accordion.js +13 -0
  71. package/dist/esm/components/Accordion/AccordionContent.js +3 -12
  72. package/dist/esm/components/Accordion/AccordionHeading.js +7 -19
  73. package/dist/esm/components/Accordion/AccordionItem.js +63 -17
  74. package/dist/esm/components/Accordion/index.js +5 -7
  75. package/dist/esm/components/Alert/Alert.js +4 -19
  76. package/dist/esm/components/Avatar/Avatar.js +34 -0
  77. package/dist/esm/components/Badge/Badge.js +6 -1
  78. package/dist/esm/components/Button/Button.js +8 -5
  79. package/dist/esm/components/Card/Card.js +1 -1
  80. package/dist/esm/components/Divider/Divider.js +5 -4
  81. package/dist/esm/components/DropdownMenu/DropdownMenuContent.js +4 -5
  82. package/dist/esm/components/DropdownMenu/DropdownMenuGroup.js +1 -1
  83. package/dist/esm/components/DropdownMenu/DropdownMenuItem.js +1 -1
  84. package/dist/esm/components/ErrorSummary/ErrorSummaryHeading.js +12 -8
  85. package/dist/esm/components/ErrorSummary/ErrorSummaryItem.js +4 -4
  86. package/dist/esm/components/ErrorSummary/ErrorSummaryList.js +7 -5
  87. package/dist/esm/components/ErrorSummary/ErrorSummaryRoot.js +4 -4
  88. package/dist/esm/components/ErrorSummary/index.js +1 -1
  89. package/dist/esm/components/HelpText/HelpText.js +8 -6
  90. package/dist/esm/components/Link/Link.js +2 -2
  91. package/dist/esm/components/List/ListItem.js +2 -4
  92. package/dist/esm/components/List/Lists.js +10 -13
  93. package/dist/esm/components/List/index.js +7 -12
  94. package/dist/esm/components/Modal/ModalHeader.js +1 -1
  95. package/dist/esm/components/Pagination/Pagination.js +3 -17
  96. package/dist/esm/components/Pagination/PaginationButton.js +2 -3
  97. package/dist/esm/components/Pagination/PaginationEllipsis.js +1 -2
  98. package/dist/esm/components/Pagination/PaginationItem.js +1 -2
  99. package/dist/esm/components/Pagination/{PaginationContent.js → PaginationList.js} +4 -5
  100. package/dist/esm/components/Pagination/PaginationNextPrev.js +4 -6
  101. package/dist/esm/components/Pagination/PaginationRoot.js +2 -3
  102. package/dist/esm/components/Pagination/index.js +4 -4
  103. package/dist/esm/components/Popover/Popover.js +92 -0
  104. package/dist/esm/components/Popover/PopoverContext.js +13 -0
  105. package/dist/esm/components/Popover/PopoverTrigger.js +5 -14
  106. package/dist/esm/components/Popover/index.js +6 -8
  107. package/dist/esm/components/Table/Table.js +3 -4
  108. package/dist/esm/components/Table/TableBody.js +3 -4
  109. package/dist/esm/components/Table/TableCell.js +3 -5
  110. package/dist/esm/components/Table/TableHead.js +3 -5
  111. package/dist/esm/components/Table/TableHeaderCell.js +4 -12
  112. package/dist/esm/components/Table/TableRow.js +3 -5
  113. package/dist/esm/components/Tag/Tag.js +2 -3
  114. package/dist/esm/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +3 -5
  115. package/dist/esm/components/Tooltip/Tooltip.js +9 -10
  116. package/dist/esm/components/Typography/Heading/Heading.js +2 -2
  117. package/dist/esm/components/form/Combobox/Combobox.js +2 -3
  118. package/dist/esm/components/form/Combobox/internal/ComboboxInput.js +1 -2
  119. package/dist/esm/components/form/Combobox/useFloatingCombobox.js +1 -1
  120. package/dist/esm/components/form/Select/Select.js +18 -0
  121. package/dist/esm/components/form/Select/SelectOptgroup.js +11 -0
  122. package/dist/esm/components/form/Select/SelectOption.js +11 -0
  123. package/dist/esm/components/form/Select/index.js +12 -0
  124. package/dist/esm/components/form/Select/useSelect.js +47 -0
  125. package/dist/esm/components/{Skeleton → loaders/Skeleton}/Circle/Circle.js +2 -2
  126. package/dist/esm/components/{Skeleton → loaders/Skeleton}/Rectangle/Rectangle.js +2 -2
  127. package/dist/esm/components/{Skeleton → loaders/Skeleton}/Text/Text.js +2 -2
  128. package/dist/esm/components/loaders/Spinner/Spinner.js +14 -0
  129. package/dist/esm/index.js +13 -15
  130. package/dist/esm/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -1
  131. package/dist/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +7 -21
  132. package/dist/esm/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +143 -0
  133. package/dist/esm/node_modules/@floating-ui/dom/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +16 -0
  134. package/dist/esm/node_modules/@floating-ui/react/dist/floating-ui.react.js +85 -56
  135. package/dist/esm/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +2 -2
  136. package/dist/esm/node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +667 -0
  137. package/dist/esm/node_modules/@tanstack/virtual-core/dist/esm/index.js +57 -65
  138. package/dist/esm/node_modules/@u-elements/u-details/dist/u-details.js +114 -0
  139. package/dist/esm/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.js +4 -2
  140. package/dist/types/components/Accordion/{AccordionRoot.d.ts → Accordion.d.ts} +5 -5
  141. package/dist/types/components/Accordion/Accordion.d.ts.map +1 -0
  142. package/dist/types/components/Accordion/AccordionContent.d.ts +1 -1
  143. package/dist/types/components/Accordion/AccordionContent.d.ts.map +1 -1
  144. package/dist/types/components/Accordion/AccordionHeading.d.ts +6 -20
  145. package/dist/types/components/Accordion/AccordionHeading.d.ts.map +1 -1
  146. package/dist/types/components/Accordion/AccordionItem.d.ts +12 -26
  147. package/dist/types/components/Accordion/AccordionItem.d.ts.map +1 -1
  148. package/dist/types/components/Accordion/index.d.ts +9 -11
  149. package/dist/types/components/Accordion/index.d.ts.map +1 -1
  150. package/dist/types/components/Alert/Alert.d.ts +7 -23
  151. package/dist/types/components/Alert/Alert.d.ts.map +1 -1
  152. package/dist/types/components/Avatar/Avatar.d.ts +78 -0
  153. package/dist/types/components/Avatar/Avatar.d.ts.map +1 -0
  154. package/dist/types/components/Avatar/index.d.ts +3 -0
  155. package/dist/types/components/Avatar/index.d.ts.map +1 -0
  156. package/dist/types/components/Badge/Badge.d.ts +2 -2
  157. package/dist/types/components/Badge/Badge.d.ts.map +1 -1
  158. package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts +1 -1
  159. package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts.map +1 -1
  160. package/dist/types/components/Breadcrumbs/BreadcrumbsLink.d.ts +3 -3
  161. package/dist/types/components/Breadcrumbs/BreadcrumbsLink.d.ts.map +1 -1
  162. package/dist/types/components/Breadcrumbs/BreadcrumbsList.d.ts +1 -1
  163. package/dist/types/components/Breadcrumbs/BreadcrumbsList.d.ts.map +1 -1
  164. package/dist/types/components/Breadcrumbs/BreadcrumbsNav.d.ts +6 -4
  165. package/dist/types/components/Breadcrumbs/BreadcrumbsNav.d.ts.map +1 -1
  166. package/dist/types/components/Breadcrumbs/BreadcrumbsRoot.d.ts +2 -2
  167. package/dist/types/components/Breadcrumbs/BreadcrumbsRoot.d.ts.map +1 -1
  168. package/dist/types/components/Breadcrumbs/index.d.ts +9 -9
  169. package/dist/types/components/Button/Button.d.ts +10 -12
  170. package/dist/types/components/Button/Button.d.ts.map +1 -1
  171. package/dist/types/components/Card/Card.d.ts +2 -2
  172. package/dist/types/components/Card/Card.d.ts.map +1 -1
  173. package/dist/types/components/Card/CardContent.d.ts +2 -2
  174. package/dist/types/components/Card/CardContent.d.ts.map +1 -1
  175. package/dist/types/components/Card/CardFooter.d.ts +2 -2
  176. package/dist/types/components/Card/CardFooter.d.ts.map +1 -1
  177. package/dist/types/components/Card/CardHeader.d.ts +2 -2
  178. package/dist/types/components/Card/CardHeader.d.ts.map +1 -1
  179. package/dist/types/components/Card/CardMedia.d.ts +2 -2
  180. package/dist/types/components/Card/CardMedia.d.ts.map +1 -1
  181. package/dist/types/components/Chip/Group/Group.d.ts +3 -3
  182. package/dist/types/components/Chip/Group/Group.d.ts.map +1 -1
  183. package/dist/types/components/Chip/Removable/Removable.d.ts +2 -2
  184. package/dist/types/components/Chip/Removable/Removable.d.ts.map +1 -1
  185. package/dist/types/components/Chip/Toggle/Toggle.d.ts +2 -2
  186. package/dist/types/components/Chip/Toggle/Toggle.d.ts.map +1 -1
  187. package/dist/types/components/Divider/Divider.d.ts +3 -15
  188. package/dist/types/components/Divider/Divider.d.ts.map +1 -1
  189. package/dist/types/components/DropdownMenu/DropdownMenuContent.d.ts +5 -5
  190. package/dist/types/components/DropdownMenu/DropdownMenuContent.d.ts.map +1 -1
  191. package/dist/types/components/DropdownMenu/DropdownMenuGroup.d.ts +5 -5
  192. package/dist/types/components/DropdownMenu/DropdownMenuGroup.d.ts.map +1 -1
  193. package/dist/types/components/DropdownMenu/DropdownMenuItem.d.ts +2 -2
  194. package/dist/types/components/DropdownMenu/DropdownMenuItem.d.ts.map +1 -1
  195. package/dist/types/components/DropdownMenu/DropdownMenuRoot.d.ts +3 -3
  196. package/dist/types/components/DropdownMenu/DropdownMenuRoot.d.ts.map +1 -1
  197. package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +3 -3
  198. package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts.map +1 -1
  199. package/dist/types/components/ErrorSummary/ErrorSummaryHeading.d.ts +8 -6
  200. package/dist/types/components/ErrorSummary/ErrorSummaryHeading.d.ts.map +1 -1
  201. package/dist/types/components/ErrorSummary/ErrorSummaryItem.d.ts +2 -5
  202. package/dist/types/components/ErrorSummary/ErrorSummaryItem.d.ts.map +1 -1
  203. package/dist/types/components/ErrorSummary/ErrorSummaryList.d.ts +6 -7
  204. package/dist/types/components/ErrorSummary/ErrorSummaryList.d.ts.map +1 -1
  205. package/dist/types/components/ErrorSummary/ErrorSummaryRoot.d.ts +7 -6
  206. package/dist/types/components/ErrorSummary/ErrorSummaryRoot.d.ts.map +1 -1
  207. package/dist/types/components/ErrorSummary/index.d.ts +1 -1
  208. package/dist/types/components/ErrorSummary/index.d.ts.map +1 -1
  209. package/dist/types/components/HelpText/HelpText.d.ts +19 -8
  210. package/dist/types/components/HelpText/HelpText.d.ts.map +1 -1
  211. package/dist/types/components/Link/Link.d.ts +2 -2
  212. package/dist/types/components/Link/Link.d.ts.map +1 -1
  213. package/dist/types/components/List/ListItem.d.ts +2 -2
  214. package/dist/types/components/List/ListItem.d.ts.map +1 -1
  215. package/dist/types/components/List/Lists.d.ts +11 -21
  216. package/dist/types/components/List/Lists.d.ts.map +1 -1
  217. package/dist/types/components/List/index.d.ts +15 -14
  218. package/dist/types/components/List/index.d.ts.map +1 -1
  219. package/dist/types/components/Modal/ModaContent.d.ts +2 -2
  220. package/dist/types/components/Modal/ModaContent.d.ts.map +1 -1
  221. package/dist/types/components/Modal/ModalDialog.d.ts +2 -2
  222. package/dist/types/components/Modal/ModalDialog.d.ts.map +1 -1
  223. package/dist/types/components/Modal/ModalFooter.d.ts +2 -2
  224. package/dist/types/components/Modal/ModalFooter.d.ts.map +1 -1
  225. package/dist/types/components/Modal/ModalHeader.d.ts +2 -2
  226. package/dist/types/components/Modal/ModalHeader.d.ts.map +1 -1
  227. package/dist/types/components/Modal/ModalRoot.d.ts +4 -3
  228. package/dist/types/components/Modal/ModalRoot.d.ts.map +1 -1
  229. package/dist/types/components/Modal/ModalTrigger.d.ts +3 -3
  230. package/dist/types/components/Modal/ModalTrigger.d.ts.map +1 -1
  231. package/dist/types/components/Pagination/Pagination.d.ts +4 -5
  232. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  233. package/dist/types/components/Pagination/PaginationButton.d.ts +3 -3
  234. package/dist/types/components/Pagination/PaginationButton.d.ts.map +1 -1
  235. package/dist/types/components/Pagination/PaginationEllipsis.d.ts +1 -2
  236. package/dist/types/components/Pagination/PaginationEllipsis.d.ts.map +1 -1
  237. package/dist/types/components/Pagination/PaginationItem.d.ts +2 -3
  238. package/dist/types/components/Pagination/PaginationItem.d.ts.map +1 -1
  239. package/dist/types/components/Pagination/{PaginationContent.d.ts → PaginationList.d.ts} +4 -4
  240. package/dist/types/components/Pagination/PaginationList.d.ts.map +1 -0
  241. package/dist/types/components/Pagination/PaginationNextPrev.d.ts +4 -5
  242. package/dist/types/components/Pagination/PaginationNextPrev.d.ts.map +1 -1
  243. package/dist/types/components/Pagination/PaginationRoot.d.ts +14 -4
  244. package/dist/types/components/Pagination/PaginationRoot.d.ts.map +1 -1
  245. package/dist/types/components/Pagination/index.d.ts +9 -10
  246. package/dist/types/components/Pagination/index.d.ts.map +1 -1
  247. package/dist/types/components/Pagination/usePagination.d.ts +1 -1
  248. package/dist/types/components/Popover/Popover.d.ts +83 -0
  249. package/dist/types/components/Popover/Popover.d.ts.map +1 -0
  250. package/dist/types/components/Popover/PopoverContext.d.ts +13 -0
  251. package/dist/types/components/Popover/PopoverContext.d.ts.map +1 -0
  252. package/dist/types/components/Popover/PopoverTrigger.d.ts +3 -3
  253. package/dist/types/components/Popover/PopoverTrigger.d.ts.map +1 -1
  254. package/dist/types/components/Popover/index.d.ts +8 -10
  255. package/dist/types/components/Popover/index.d.ts.map +1 -1
  256. package/dist/types/components/Table/Table.d.ts +3 -3
  257. package/dist/types/components/Table/Table.d.ts.map +1 -1
  258. package/dist/types/components/Table/TableBody.d.ts +2 -2
  259. package/dist/types/components/Table/TableBody.d.ts.map +1 -1
  260. package/dist/types/components/Table/TableCell.d.ts +2 -2
  261. package/dist/types/components/Table/TableCell.d.ts.map +1 -1
  262. package/dist/types/components/Table/TableHead.d.ts +2 -2
  263. package/dist/types/components/Table/TableHead.d.ts.map +1 -1
  264. package/dist/types/components/Table/TableHeaderCell.d.ts +5 -25
  265. package/dist/types/components/Table/TableHeaderCell.d.ts.map +1 -1
  266. package/dist/types/components/Table/TableRow.d.ts +2 -2
  267. package/dist/types/components/Table/TableRow.d.ts.map +1 -1
  268. package/dist/types/components/Tabs/Tab.d.ts +2 -2
  269. package/dist/types/components/Tabs/Tab.d.ts.map +1 -1
  270. package/dist/types/components/Tabs/TabContent.d.ts +2 -2
  271. package/dist/types/components/Tabs/TabContent.d.ts.map +1 -1
  272. package/dist/types/components/Tabs/TabList.d.ts +1 -1
  273. package/dist/types/components/Tabs/TabList.d.ts.map +1 -1
  274. package/dist/types/components/Tabs/TabsRoot.d.ts +3 -3
  275. package/dist/types/components/Tabs/TabsRoot.d.ts.map +1 -1
  276. package/dist/types/components/Tag/Tag.d.ts +2 -2
  277. package/dist/types/components/Tag/Tag.d.ts.map +1 -1
  278. package/dist/types/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.d.ts +3 -3
  279. package/dist/types/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.d.ts.map +1 -1
  280. package/dist/types/components/ToggleGroup/ToggleGroupRoot.d.ts +3 -3
  281. package/dist/types/components/ToggleGroup/ToggleGroupRoot.d.ts.map +1 -1
  282. package/dist/types/components/Tooltip/Tooltip.d.ts +6 -7
  283. package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
  284. package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts +2 -2
  285. package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts.map +1 -1
  286. package/dist/types/components/Typography/Heading/Heading.d.ts +4 -4
  287. package/dist/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  288. package/dist/types/components/Typography/Ingress/Ingress.d.ts +2 -2
  289. package/dist/types/components/Typography/Ingress/Ingress.d.ts.map +1 -1
  290. package/dist/types/components/Typography/Label/Label.d.ts +2 -2
  291. package/dist/types/components/Typography/Label/Label.d.ts.map +1 -1
  292. package/dist/types/components/Typography/Paragraph/Paragraph.d.ts +2 -2
  293. package/dist/types/components/Typography/Paragraph/Paragraph.d.ts.map +1 -1
  294. package/dist/types/components/form/Checkbox/Checkbox.d.ts +2 -2
  295. package/dist/types/components/form/Checkbox/Checkbox.d.ts.map +1 -1
  296. package/dist/types/components/form/Checkbox/CheckboxGroup.d.ts +3 -3
  297. package/dist/types/components/form/Checkbox/CheckboxGroup.d.ts.map +1 -1
  298. package/dist/types/components/form/Combobox/Combobox.d.ts +4 -4
  299. package/dist/types/components/form/Combobox/Combobox.d.ts.map +1 -1
  300. package/dist/types/components/form/Combobox/ComboboxContext.d.ts +5 -4
  301. package/dist/types/components/form/Combobox/ComboboxContext.d.ts.map +1 -1
  302. package/dist/types/components/form/Combobox/ComboboxIdContext.d.ts +4 -4
  303. package/dist/types/components/form/Combobox/ComboboxIdContext.d.ts.map +1 -1
  304. package/dist/types/components/form/Combobox/Custom.d.ts +2 -2
  305. package/dist/types/components/form/Combobox/Custom.d.ts.map +1 -1
  306. package/dist/types/components/form/Combobox/Empty.d.ts +2 -2
  307. package/dist/types/components/form/Combobox/Empty.d.ts.map +1 -1
  308. package/dist/types/components/form/Combobox/Option/Description.d.ts +2 -2
  309. package/dist/types/components/form/Combobox/Option/Description.d.ts.map +1 -1
  310. package/dist/types/components/form/Combobox/Option/Option.d.ts +3 -3
  311. package/dist/types/components/form/Combobox/Option/Option.d.ts.map +1 -1
  312. package/dist/types/components/form/Combobox/Option/useComboboxOption.d.ts +1 -1
  313. package/dist/types/components/form/Combobox/internal/ComboboxClearButton.d.ts +2 -1
  314. package/dist/types/components/form/Combobox/internal/ComboboxClearButton.d.ts.map +1 -1
  315. package/dist/types/components/form/Combobox/internal/ComboboxInput.d.ts +3 -2
  316. package/dist/types/components/form/Combobox/internal/ComboboxInput.d.ts.map +1 -1
  317. package/dist/types/components/form/Combobox/useCombobox.d.ts +3 -3
  318. package/dist/types/components/form/Combobox/useComboboxKeyboard.d.ts +2 -1
  319. package/dist/types/components/form/Combobox/useComboboxKeyboard.d.ts.map +1 -1
  320. package/dist/types/components/form/Combobox/useFloatingCombobox.d.ts +13 -12
  321. package/dist/types/components/form/Combobox/useFloatingCombobox.d.ts.map +1 -1
  322. package/dist/types/components/form/Fieldset/Fieldset.d.ts +2 -2
  323. package/dist/types/components/form/Fieldset/Fieldset.d.ts.map +1 -1
  324. package/dist/types/components/form/Fieldset/FieldsetContext.d.ts +1 -1
  325. package/dist/types/components/form/Fieldset/FieldsetContext.d.ts.map +1 -1
  326. package/dist/types/components/form/Fieldset/useFieldset.d.ts +1 -1
  327. package/dist/types/components/form/Radio/Radio.d.ts +2 -2
  328. package/dist/types/components/form/Radio/Radio.d.ts.map +1 -1
  329. package/dist/types/components/form/Radio/RadioGroup.d.ts +3 -3
  330. package/dist/types/components/form/Radio/RadioGroup.d.ts.map +1 -1
  331. package/dist/types/components/form/Search/Search.d.ts +2 -2
  332. package/dist/types/components/form/Search/Search.d.ts.map +1 -1
  333. package/dist/types/components/form/{NativeSelect/NativeSelect.d.ts → Select/Select.d.ts} +5 -5
  334. package/dist/types/components/form/Select/Select.d.ts.map +1 -0
  335. package/dist/types/components/form/Select/SelectOptgroup.d.ts +16 -0
  336. package/dist/types/components/form/Select/SelectOptgroup.d.ts.map +1 -0
  337. package/dist/types/components/form/Select/SelectOption.d.ts +16 -0
  338. package/dist/types/components/form/Select/SelectOption.d.ts.map +1 -0
  339. package/dist/types/components/form/Select/index.d.ts +13 -0
  340. package/dist/types/components/form/Select/index.d.ts.map +1 -0
  341. package/dist/types/components/form/Select/useSelect.d.ts +10 -0
  342. package/dist/types/components/form/Select/useSelect.d.ts.map +1 -0
  343. package/dist/types/components/form/Switch/Switch.d.ts +2 -2
  344. package/dist/types/components/form/Switch/Switch.d.ts.map +1 -1
  345. package/dist/types/components/form/Textarea/Textarea.d.ts +2 -2
  346. package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
  347. package/dist/types/components/form/Textfield/Textfield.d.ts +2 -2
  348. package/dist/types/components/form/Textfield/Textfield.d.ts.map +1 -1
  349. package/dist/types/components/index.d.ts +4 -4
  350. package/dist/types/components/index.d.ts.map +1 -1
  351. package/dist/types/components/loaders/Skeleton/Circle/Circle.d.ts.map +1 -0
  352. package/dist/types/components/loaders/Skeleton/Rectangle/Rectangle.d.ts.map +1 -0
  353. package/dist/types/components/loaders/Skeleton/Text/Text.d.ts.map +1 -0
  354. package/dist/types/components/loaders/Skeleton/index.d.ts.map +1 -0
  355. package/dist/types/components/{Spinner → loaders/Spinner}/Spinner.d.ts +3 -3
  356. package/dist/types/components/loaders/Spinner/Spinner.d.ts.map +1 -0
  357. package/dist/types/components/loaders/Spinner/index.d.ts.map +1 -0
  358. package/dist/types/utilities/AnimateHeight/AnimateHeight.d.ts +2 -2
  359. package/dist/types/utilities/AnimateHeight/AnimateHeight.d.ts.map +1 -1
  360. package/dist/types/utilities/RovingFocus/RovingFocusItem.d.ts +2 -2
  361. package/dist/types/utilities/RovingFocus/RovingFocusItem.d.ts.map +1 -1
  362. package/dist/types/utilities/RovingFocus/RovingFocusRoot.d.ts +3 -3
  363. package/dist/types/utilities/RovingFocus/RovingFocusRoot.d.ts.map +1 -1
  364. package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts +163 -162
  365. package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts.map +1 -1
  366. package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts +1 -1
  367. package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts.map +1 -1
  368. package/package.json +9 -4
  369. package/dist/cjs/components/Accordion/AccordionRoot.js +0 -16
  370. package/dist/cjs/components/Box/Box.js +0 -15
  371. package/dist/cjs/components/List/ListHeading.js +0 -28
  372. package/dist/cjs/components/List/ListRoot.js +0 -21
  373. package/dist/cjs/components/Popover/PopoverContent.js +0 -105
  374. package/dist/cjs/components/Popover/PopoverRoot.js +0 -68
  375. package/dist/cjs/components/Spinner/Spinner.js +0 -24
  376. package/dist/cjs/components/form/NativeSelect/NativeSelect.js +0 -21
  377. package/dist/cjs/components/form/NativeSelect/useNativeSelect.js +0 -55
  378. package/dist/cjs/utilities/AnimateHeight/AnimateHeight.js +0 -46
  379. package/dist/cjs/utilities/hooks/useMediaQuery/useMediaQuery.js +0 -49
  380. package/dist/cjs/utilities/hooks/usePrevious.js +0 -14
  381. package/dist/esm/components/Accordion/AccordionRoot.js +0 -14
  382. package/dist/esm/components/Box/Box.js +0 -13
  383. package/dist/esm/components/List/ListHeading.js +0 -26
  384. package/dist/esm/components/List/ListRoot.js +0 -18
  385. package/dist/esm/components/Popover/PopoverContent.js +0 -85
  386. package/dist/esm/components/Popover/PopoverRoot.js +0 -47
  387. package/dist/esm/components/Spinner/Spinner.js +0 -22
  388. package/dist/esm/components/form/NativeSelect/NativeSelect.js +0 -19
  389. package/dist/esm/components/form/NativeSelect/useNativeSelect.js +0 -53
  390. package/dist/esm/utilities/AnimateHeight/AnimateHeight.js +0 -44
  391. package/dist/esm/utilities/hooks/useMediaQuery/useMediaQuery.js +0 -47
  392. package/dist/esm/utilities/hooks/usePrevious.js +0 -12
  393. package/dist/types/components/Accordion/AccordionRoot.d.ts.map +0 -1
  394. package/dist/types/components/Box/Box.d.ts +0 -56
  395. package/dist/types/components/Box/Box.d.ts.map +0 -1
  396. package/dist/types/components/Box/index.d.ts +0 -3
  397. package/dist/types/components/Box/index.d.ts.map +0 -1
  398. package/dist/types/components/List/ListHeading.d.ts +0 -9
  399. package/dist/types/components/List/ListHeading.d.ts.map +0 -1
  400. package/dist/types/components/List/ListRoot.d.ts +0 -34
  401. package/dist/types/components/List/ListRoot.d.ts.map +0 -1
  402. package/dist/types/components/Pagination/PaginationContent.d.ts.map +0 -1
  403. package/dist/types/components/Popover/PopoverContent.d.ts +0 -8
  404. package/dist/types/components/Popover/PopoverContent.d.ts.map +0 -1
  405. package/dist/types/components/Popover/PopoverRoot.d.ts +0 -54
  406. package/dist/types/components/Popover/PopoverRoot.d.ts.map +0 -1
  407. package/dist/types/components/Skeleton/Circle/Circle.d.ts.map +0 -1
  408. package/dist/types/components/Skeleton/Rectangle/Rectangle.d.ts.map +0 -1
  409. package/dist/types/components/Skeleton/Text/Text.d.ts.map +0 -1
  410. package/dist/types/components/Skeleton/index.d.ts.map +0 -1
  411. package/dist/types/components/Spinner/Spinner.d.ts.map +0 -1
  412. package/dist/types/components/Spinner/index.d.ts.map +0 -1
  413. package/dist/types/components/form/NativeSelect/NativeSelect.d.ts.map +0 -1
  414. package/dist/types/components/form/NativeSelect/index.d.ts +0 -3
  415. package/dist/types/components/form/NativeSelect/index.d.ts.map +0 -1
  416. package/dist/types/components/form/NativeSelect/useNativeSelect.d.ts +0 -10
  417. package/dist/types/components/form/NativeSelect/useNativeSelect.d.ts.map +0 -1
  418. /package/dist/cjs/components/{Skeleton → loaders/Skeleton}/index.js +0 -0
  419. /package/dist/esm/components/{Skeleton → loaders/Skeleton}/index.js +0 -0
  420. /package/dist/types/components/{Skeleton → loaders/Skeleton}/Circle/Circle.d.ts +0 -0
  421. /package/dist/types/components/{Skeleton → loaders/Skeleton}/Rectangle/Rectangle.d.ts +0 -0
  422. /package/dist/types/components/{Skeleton → loaders/Skeleton}/Text/Text.d.ts +0 -0
  423. /package/dist/types/components/{Skeleton → loaders/Skeleton}/index.d.ts +0 -0
  424. /package/dist/types/components/{Spinner → loaders/Spinner}/index.d.ts +0 -0
@@ -0,0 +1,78 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ export type AvatarProps = {
3
+ /**
4
+ * The name of the person the avatar represents.
5
+ */
6
+ 'aria-label': string;
7
+ /**
8
+ * The color of the avatar.
9
+ *
10
+ * @default 'accent'
11
+ */
12
+ color?: 'accent' | 'neutral' | 'brand1' | 'brand2' | 'brand3';
13
+ /**
14
+ * The size of the avatar.
15
+ *
16
+ * @default 'md'
17
+ */
18
+ size?: 'xs' | 'sm' | 'md' | 'lg';
19
+ /**
20
+ * The shape of the avatar.
21
+ *
22
+ * @default 'circle'
23
+ */
24
+ variant?: 'circle' | 'square';
25
+ /**
26
+ * Image, icon or initials to display inside the avatar.
27
+ *
28
+ * Gets `aria-hidden="true"`
29
+ */
30
+ children?: ReactNode;
31
+ } & Omit<HTMLAttributes<HTMLSpanElement>, 'aria-label'>;
32
+ /**
33
+ * Avatars are used to represent people or entities.
34
+ *
35
+ * @example
36
+ * <Avatar aria-label="John Doe">JD</Avatar>
37
+ *
38
+ * @example
39
+ * <Avatar aria-label="John Doe">
40
+ * <img src='…' alt='John Doe' />
41
+ * </Avatar>
42
+ *
43
+ * @example
44
+ * <Avatar aria-label="John Doe">
45
+ * <Icon />
46
+ * </Avatar>
47
+ */
48
+ export declare const Avatar: React.ForwardRefExoticComponent<{
49
+ /**
50
+ * The name of the person the avatar represents.
51
+ */
52
+ 'aria-label': string;
53
+ /**
54
+ * The color of the avatar.
55
+ *
56
+ * @default 'accent'
57
+ */
58
+ color?: "accent" | "neutral" | "brand1" | "brand2" | "brand3";
59
+ /**
60
+ * The size of the avatar.
61
+ *
62
+ * @default 'md'
63
+ */
64
+ size?: "xs" | "sm" | "md" | "lg";
65
+ /**
66
+ * The shape of the avatar.
67
+ *
68
+ * @default 'circle'
69
+ */
70
+ variant?: "circle" | "square";
71
+ /**
72
+ * Image, icon or initials to display inside the avatar.
73
+ *
74
+ * Gets `aria-hidden="true"`
75
+ */
76
+ children?: ReactNode;
77
+ } & Omit<HTMLAttributes<HTMLSpanElement>, "aria-label"> & React.RefAttributes<HTMLSpanElement>>;
78
+ //# sourceMappingURL=Avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC9D;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,YAAY,CAAC,CAAC;AASxD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM;IArDjB;;OAEG;kBACW,MAAM;IACpB;;;;OAIG;YACK,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ;IAC7D;;;;OAIG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IAChC;;;;OAIG;cACO,QAAQ,GAAG,QAAQ;IAC7B;;;;OAIG;eACQ,SAAS;+FAwDpB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Avatar } from './Avatar';
2
+ export type { AvatarProps } from './Avatar';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
@@ -52,7 +52,7 @@ export type BadgeProps = {
52
52
  * </Badge>
53
53
  * ```
54
54
  */
55
- export declare const Badge: import("react").ForwardRefExoticComponent<{
55
+ export declare const Badge: React.ForwardRefExoticComponent<{
56
56
  /**
57
57
  * The color of the badge
58
58
  *
@@ -89,5 +89,5 @@ export declare const Badge: import("react").ForwardRefExoticComponent<{
89
89
  * The badge will float on top of the children
90
90
  */
91
91
  children?: ReactNode;
92
- } & HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
92
+ } & HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
93
93
  //# sourceMappingURL=Badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAGxE,MAAM,MAAM,UAAU,GAAG;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;IACzE;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa,CAAC;IACtE;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAUpC;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,KAAK;IA7DhB;;;;OAIG;YACK,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS;IACxE;;;;OAIG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI;IACzB;;OAEG;YACK,MAAM;IACd;;OAEG;eACQ,MAAM;IACjB;;;;OAIG;gBACS,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa;IACrE;;;;OAIG;cACO,QAAQ,GAAG,WAAW;IAChC;;OAEG;eACQ,SAAS;qFA+DrB,CAAC"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAGxE,MAAM,MAAM,UAAU,GAAG;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;IACzE;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa,CAAC;IACtE;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAUpC;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,KAAK;IA7DhB;;;;OAIG;YACK,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS;IACxE;;;;OAIG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI;IACzB;;OAEG;YACK,MAAM;IACd;;OAEG;eACQ,MAAM;IACjB;;;;OAIG;gBACS,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa;IACrE;;;;OAIG;cACO,QAAQ,GAAG,WAAW;IAChC;;OAEG;eACQ,SAAS;2EAgErB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { type HTMLAttributes } from 'react';
2
2
  export type BreadcrumbsItemProps = HTMLAttributes<HTMLLIElement>;
3
- export declare const BreadcrumbsItem: import("react").ForwardRefExoticComponent<BreadcrumbsItemProps & import("react").RefAttributes<HTMLLIElement>>;
3
+ export declare const BreadcrumbsItem: React.ForwardRefExoticComponent<BreadcrumbsItemProps & React.RefAttributes<HTMLLIElement>>;
4
4
  //# sourceMappingURL=BreadcrumbsItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BreadcrumbsItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/BreadcrumbsItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;AAEjE,eAAO,MAAM,eAAe,gHAI3B,CAAC"}
1
+ {"version":3,"file":"BreadcrumbsItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/BreadcrumbsItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;AAEjE,eAAO,MAAM,eAAe,4FAI3B,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import type { LinkProps } from '../Link';
2
2
  export type BreadcrumbsLinkProps = LinkProps;
3
- export declare const BreadcrumbsLink: import("react").ForwardRefExoticComponent<{
4
- children: import("react").ReactNode;
3
+ export declare const BreadcrumbsLink: React.ForwardRefExoticComponent<{
4
+ children: React.ReactNode;
5
5
  className?: string;
6
6
  color?: "accent" | "neutral";
7
7
  href?: string;
8
8
  asChild?: boolean;
9
- } & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
9
+ } & React.AnchorHTMLAttributes<HTMLAnchorElement> & React.RefAttributes<HTMLAnchorElement>>;
10
10
  //# sourceMappingURL=BreadcrumbsLink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BreadcrumbsLink.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/BreadcrumbsLink.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAE7C,eAAO,MAAM,eAAe;;;;;;+GAK1B,CAAC"}
1
+ {"version":3,"file":"BreadcrumbsLink.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/BreadcrumbsLink.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAE7C,eAAO,MAAM,eAAe;;;;;;2FAK1B,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { type HTMLAttributes } from 'react';
2
2
  export type BreadcrumbsListProps = HTMLAttributes<HTMLOListElement>;
3
- export declare const BreadcrumbsList: import("react").ForwardRefExoticComponent<BreadcrumbsListProps & import("react").RefAttributes<HTMLOListElement>>;
3
+ export declare const BreadcrumbsList: React.ForwardRefExoticComponent<BreadcrumbsListProps & React.RefAttributes<HTMLOListElement>>;
4
4
  //# sourceMappingURL=BreadcrumbsList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BreadcrumbsList.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/BreadcrumbsList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAiC,MAAM,OAAO,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAEpE,eAAO,MAAM,eAAe,mHAuB1B,CAAC"}
1
+ {"version":3,"file":"BreadcrumbsList.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/BreadcrumbsList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAiC,MAAM,OAAO,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAEpE,eAAO,MAAM,eAAe,+FAuB1B,CAAC"}
@@ -1,14 +1,16 @@
1
1
  import { type HTMLAttributes } from 'react';
2
2
  export type BreadcrumbsNavProps = {
3
- /** Sets the text label for Breadcrumbs area
3
+ /**
4
+ * Sets the screen reader label for the Breadcrumbs area
4
5
  * @default 'Du er her'
5
6
  */
6
7
  'aria-label'?: string;
7
8
  } & HTMLAttributes<HTMLElement>;
8
- export declare const BreadcrumbsNav: import("react").ForwardRefExoticComponent<{
9
- /** Sets the text label for Breadcrumbs area
9
+ export declare const BreadcrumbsNav: React.ForwardRefExoticComponent<{
10
+ /**
11
+ * Sets the screen reader label for the Breadcrumbs area
10
12
  * @default 'Du er her'
11
13
  */
12
14
  'aria-label'?: string;
13
- } & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
15
+ } & HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
14
16
  //# sourceMappingURL=BreadcrumbsNav.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BreadcrumbsNav.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/BreadcrumbsNav.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAEhC,eAAO,MAAM,cAAc;IANzB;;OAEG;mBACY,MAAM;6EAYtB,CAAC"}
1
+ {"version":3,"file":"BreadcrumbsNav.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/BreadcrumbsNav.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAEhC,eAAO,MAAM,cAAc;IAPzB;;;OAGG;mBACY,MAAM;mEAYtB,CAAC"}
@@ -6,11 +6,11 @@ export type BreadcrumbsRootProps = {
6
6
  */
7
7
  size?: 'sm' | 'md' | 'lg';
8
8
  } & HTMLAttributes<HTMLDivElement>;
9
- export declare const BreadcrumbsRoot: import("react").ForwardRefExoticComponent<{
9
+ export declare const BreadcrumbsRoot: React.ForwardRefExoticComponent<{
10
10
  /**
11
11
  * Sets the size of the component
12
12
  * @default md
13
13
  */
14
14
  size?: "sm" | "md" | "lg";
15
- } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
15
+ } & HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
16
  //# sourceMappingURL=BreadcrumbsRoot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BreadcrumbsRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/BreadcrumbsRoot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,eAAe;IAP1B;;;OAGG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI;mFAW1B,CAAC"}
1
+ {"version":3,"file":"BreadcrumbsRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/BreadcrumbsRoot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,eAAe;IAP1B;;;OAGG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI;yEAW1B,CAAC"}
@@ -24,21 +24,21 @@ export type { BreadcrumbsLinkProps } from './BreadcrumbsLink';
24
24
  * <Breadcrumbs.Root>
25
25
  */
26
26
  declare const Breadcrumbs: {
27
- Root: import("react").ForwardRefExoticComponent<{
27
+ Root: React.ForwardRefExoticComponent<{
28
28
  size?: "sm" | "md" | "lg";
29
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
30
- Nav: import("react").ForwardRefExoticComponent<{
29
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
30
+ Nav: React.ForwardRefExoticComponent<{
31
31
  'aria-label'?: string;
32
- } & import("react").HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
33
- List: import("react").ForwardRefExoticComponent<import("./BreadcrumbsList").BreadcrumbsListProps & import("react").RefAttributes<HTMLOListElement>>;
34
- Item: import("react").ForwardRefExoticComponent<import("./BreadcrumbsItem").BreadcrumbsItemProps & import("react").RefAttributes<HTMLLIElement>>;
35
- Link: import("react").ForwardRefExoticComponent<{
36
- children: import("react").ReactNode;
32
+ } & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
33
+ List: React.ForwardRefExoticComponent<import("./BreadcrumbsList").BreadcrumbsListProps & React.RefAttributes<HTMLOListElement>>;
34
+ Item: React.ForwardRefExoticComponent<import("./BreadcrumbsItem").BreadcrumbsItemProps & React.RefAttributes<HTMLLIElement>>;
35
+ Link: React.ForwardRefExoticComponent<{
36
+ children: React.ReactNode;
37
37
  className?: string;
38
38
  color?: "accent" | "neutral";
39
39
  href?: string;
40
40
  asChild?: boolean;
41
- } & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
41
+ } & React.AnchorHTMLAttributes<HTMLAnchorElement> & React.RefAttributes<HTMLAnchorElement>>;
42
42
  };
43
43
  export { Breadcrumbs, BreadcrumbsRoot, BreadcrumbsNav, BreadcrumbsList, BreadcrumbsItem, BreadcrumbsLink, };
44
44
  //# sourceMappingURL=index.d.ts.map
@@ -14,15 +14,14 @@ export type ButtonProps = {
14
14
  * @default md
15
15
  */
16
16
  size?: 'sm' | 'md' | 'lg';
17
- /**
18
- * If `Button` should fill full width of its container
19
- * @default false
20
- */
21
- fullWidth?: boolean;
22
17
  /** Toggle icon only styling, pass icon as children
23
18
  * @default false
24
19
  */
25
20
  icon?: boolean;
21
+ /** Toggle loading state
22
+ * @default false
23
+ */
24
+ loading?: boolean;
26
25
  /**
27
26
  * Change the default rendered element for the one passed as a child, merging their props and behavior.
28
27
  * @default false
@@ -34,7 +33,7 @@ export type ButtonProps = {
34
33
  * @example
35
34
  * <Button>Click me</Button>
36
35
  */
37
- export declare const Button: import("react").ForwardRefExoticComponent<{
36
+ export declare const Button: React.ForwardRefExoticComponent<{
38
37
  /**
39
38
  * Specify which variant to use
40
39
  * @default primary
@@ -49,19 +48,18 @@ export declare const Button: import("react").ForwardRefExoticComponent<{
49
48
  * @default md
50
49
  */
51
50
  size?: "sm" | "md" | "lg";
52
- /**
53
- * If `Button` should fill full width of its container
54
- * @default false
55
- */
56
- fullWidth?: boolean;
57
51
  /** Toggle icon only styling, pass icon as children
58
52
  * @default false
59
53
  */
60
54
  icon?: boolean;
55
+ /** Toggle loading state
56
+ * @default false
57
+ */
58
+ loading?: boolean;
61
59
  /**
62
60
  * Change the default rendered element for the one passed as a child, merging their props and behavior.
63
61
  * @default false
64
62
  */
65
63
  asChild?: boolean;
66
- } & ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
64
+ } & ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
67
65
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIlD,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxC;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,MAAM;IAnCjB;;;OAGG;cACO,SAAS,GAAG,WAAW,GAAG,UAAU;IAC9C;;OAEG;YACK,QAAQ,GAAG,SAAS,GAAG,QAAQ;IACvC;;;OAGG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI;IACzB;;;OAGG;gBACS,OAAO;IACnB;;OAEG;WACI,OAAO;IACd;;;OAGG;cACO,OAAO;+FAgDlB,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGlD,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxC;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,MAAM;IAlCjB;;;OAGG;cACO,SAAS,GAAG,WAAW,GAAG,UAAU;IAC9C;;OAEG;YACK,QAAQ,GAAG,SAAS,GAAG,QAAQ;IACvC;;;OAGG;WACI,IAAI,GAAG,IAAI,GAAG,IAAI;IACzB;;OAEG;WACI,OAAO;IACd;;OAEG;cACO,OAAO;IACjB;;;OAGG;cACO,OAAO;qFAwDlB,CAAC"}
@@ -27,7 +27,7 @@ export type CardProps = {
27
27
  * <Card.Footer>Footer</Card.Footer>
28
28
  * </Card>
29
29
  */
30
- export declare const Card: import("react").ForwardRefExoticComponent<{
30
+ export declare const Card: React.ForwardRefExoticComponent<{
31
31
  /**
32
32
  * Changes background & border color
33
33
  * @default neutral
@@ -45,5 +45,5 @@ export declare const Card: import("react").ForwardRefExoticComponent<{
45
45
  isLink?: boolean;
46
46
  /** Instances of `Card.Header`, `Card.Content`, `Card.Footer` or other React nodes like `Divider` */
47
47
  children: ReactNode;
48
- } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
48
+ } & HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
49
49
  //# sourceMappingURL=Card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,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;YACK,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ;IAC7D;;;OAGG;cACO,OAAO;IACjB;;;OAGG;aACM,OAAO;IAChB,oGAAoG;cAC1F,SAAS;mFAgCpB,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,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;YACK,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ;IAC7D;;;OAGG;cACO,OAAO;IACjB;;;OAGG;aACM,OAAO;IAChB,oGAAoG;cAC1F,SAAS;yEA4BpB,CAAC"}
@@ -6,11 +6,11 @@ export type CardContentProps = {
6
6
  */
7
7
  asChild?: boolean;
8
8
  } & HTMLAttributes<HTMLDivElement>;
9
- export declare const CardContent: import("react").ForwardRefExoticComponent<{
9
+ export declare const CardContent: 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;
15
- } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
15
+ } & HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
16
  //# sourceMappingURL=CardContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,WAAW;IAPtB;;;OAGG;cACO,OAAO;mFAiBlB,CAAC"}
1
+ {"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,WAAW;IAPtB;;;OAGG;cACO,OAAO;yEAiBlB,CAAC"}
@@ -6,11 +6,11 @@ export type CardFooterProps = {
6
6
  */
7
7
  asChild?: boolean;
8
8
  } & HTMLAttributes<HTMLDivElement>;
9
- export declare const CardFooter: import("react").ForwardRefExoticComponent<{
9
+ export declare const CardFooter: 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;
15
- } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
15
+ } & HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
16
  //# sourceMappingURL=CardFooter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardFooter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU;IAPrB;;;OAGG;cACO,OAAO;mFAiBlB,CAAC"}
1
+ {"version":3,"file":"CardFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardFooter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU;IAPrB;;;OAGG;cACO,OAAO;yEAiBlB,CAAC"}
@@ -6,11 +6,11 @@ export type CardHeaderProps = {
6
6
  */
7
7
  asChild?: boolean;
8
8
  } & HTMLAttributes<HTMLDivElement>;
9
- export declare const CardHeader: import("react").ForwardRefExoticComponent<{
9
+ export declare const CardHeader: 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;
15
- } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
15
+ } & HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
16
  //# sourceMappingURL=CardHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU;IAPrB;;;OAGG;cACO,OAAO;mFAiBlB,CAAC"}
1
+ {"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU;IAPrB;;;OAGG;cACO,OAAO;yEAiBlB,CAAC"}
@@ -6,11 +6,11 @@ export type CardMediaProps = {
6
6
  */
7
7
  asChild?: boolean;
8
8
  } & HTMLAttributes<HTMLDivElement>;
9
- export declare const CardMedia: import("react").ForwardRefExoticComponent<{
9
+ export declare const CardMedia: 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;
15
- } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
15
+ } & HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
16
  //# sourceMappingURL=CardMedia.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardMedia.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardMedia.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,SAAS;IAPpB;;;OAGG;cACO,OAAO;mFAelB,CAAC"}
1
+ {"version":3,"file":"CardMedia.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardMedia.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,SAAS;IAPpB;;;OAGG;cACO,OAAO;yEAelB,CAAC"}
@@ -2,7 +2,7 @@ import type { HTMLAttributes } from 'react';
2
2
  export type ChipGroupContext = {
3
3
  size?: 'sm' | 'md' | 'lg';
4
4
  };
5
- export declare const ChipGroupContext: import("react").Context<ChipGroupContext | null>;
5
+ export declare const ChipGroupContext: React.Context<ChipGroupContext | null>;
6
6
  export type ChipGroupProps = {
7
7
  /**
8
8
  * Changes Chip size and gap between chips.
@@ -10,11 +10,11 @@ export type ChipGroupProps = {
10
10
  */
11
11
  size?: ChipGroupContext['size'];
12
12
  } & HTMLAttributes<HTMLUListElement>;
13
- export declare const Group: import("react").ForwardRefExoticComponent<{
13
+ export declare const Group: React.ForwardRefExoticComponent<{
14
14
  /**
15
15
  * Changes Chip size and gap between chips.
16
16
  * @default md
17
17
  */
18
18
  size?: ChipGroupContext["size"];
19
- } & HTMLAttributes<HTMLUListElement> & import("react").RefAttributes<HTMLUListElement>>;
19
+ } & HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>>;
20
20
  //# sourceMappingURL=Group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Group/Group.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,kDAA+C,CAAC;AAE7E,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAErC,eAAO,MAAM,KAAK;IAPhB;;;OAGG;WACI,gBAAgB,CAAC,MAAM,CAAC;uFAyBhC,CAAC"}
1
+ {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Group/Group.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,wCAA+C,CAAC;AAE7E,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAErC,eAAO,MAAM,KAAK;IAPhB;;;OAGG;WACI,gBAAgB,CAAC,MAAM,CAAC;6EAyBhC,CAAC"}
@@ -7,11 +7,11 @@ export type RemovableChipProps = {
7
7
  */
8
8
  size?: ChipGroupContext['size'];
9
9
  } & ButtonHTMLAttributes<HTMLButtonElement>;
10
- export declare const RemovableChip: import("react").ForwardRefExoticComponent<{
10
+ export declare const RemovableChip: React.ForwardRefExoticComponent<{
11
11
  /**
12
12
  * Changes Chip size and gap between chips.
13
13
  * @default 'md'
14
14
  */
15
15
  size?: ChipGroupContext["size"];
16
- } & ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
16
+ } & ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
17
17
  //# sourceMappingURL=Removable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Removable.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Removable/Removable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,aAAa;IAPxB;;;OAGG;WACI,gBAAgB,CAAC,MAAM,CAAC;+FA+BhC,CAAC"}
1
+ {"version":3,"file":"Removable.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Removable/Removable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,aAAa;IAPxB;;;OAGG;WACI,gBAAgB,CAAC,MAAM,CAAC;qFA+BhC,CAAC"}
@@ -15,7 +15,7 @@ export type ToggleChipProps = {
15
15
  * */
16
16
  selected?: boolean;
17
17
  } & ButtonHTMLAttributes<HTMLButtonElement>;
18
- export declare const ToggleChip: import("react").ForwardRefExoticComponent<{
18
+ export declare const ToggleChip: React.ForwardRefExoticComponent<{
19
19
  /**
20
20
  * Enables check mark icon
21
21
  */
@@ -29,5 +29,5 @@ export declare const ToggleChip: import("react").ForwardRefExoticComponent<{
29
29
  * Toggles `aria-pressed` and visual-changes
30
30
  * */
31
31
  selected?: boolean;
32
- } & ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
32
+ } & ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
33
33
  //# sourceMappingURL=Toggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Toggle/Toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAChC;;SAEK;IACL,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,UAAU;IAfrB;;OAEG;gBACS,OAAO;IACnB;;;OAGG;WACI,gBAAgB,CAAC,MAAM,CAAC;IAC/B;;SAEK;eACM,OAAO;+FA8CnB,CAAC"}
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Toggle/Toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAChC;;SAEK;IACL,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,UAAU;IAfrB;;OAEG;gBACS,OAAO;IACnB;;;OAGG;WACI,gBAAgB,CAAC,MAAM,CAAC;IAC/B;;SAEK;eACM,OAAO;qFA8CnB,CAAC"}
@@ -1,16 +1,4 @@
1
- import type * as React from 'react';
2
- export type DividerProps = {
3
- /**
4
- * The color of the divider.
5
- * @default 'default'
6
- */
7
- color?: 'default' | 'strong' | 'subtle';
8
- } & React.HTMLAttributes<HTMLHRElement>;
9
- export declare const Divider: React.ForwardRefExoticComponent<{
10
- /**
11
- * The color of the divider.
12
- * @default 'default'
13
- */
14
- color?: "default" | "strong" | "subtle";
15
- } & React.HTMLAttributes<HTMLHRElement> & React.RefAttributes<HTMLHRElement>>;
1
+ import type { HTMLAttributes } from 'react';
2
+ export type DividerProps = HTMLAttributes<HTMLHRElement>;
3
+ export declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLHRElement>>;
16
4
  //# sourceMappingURL=Divider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACzC,GAAG,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;AAExC,eAAO,MAAM,OAAO;IAPlB;;;OAGG;YACK,SAAS,GAAG,QAAQ,GAAG,QAAQ;6EAaxC,CAAC"}
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;AAEzD,eAAO,MAAM,OAAO,oFAalB,CAAC"}
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
2
  export type DropdownMenuContentProps = {
3
- children: React.ReactNode;
4
- } & React.HTMLAttributes<HTMLUListElement>;
3
+ children: ReactNode;
4
+ } & HTMLAttributes<HTMLUListElement>;
5
5
  export declare const DropdownMenuContent: React.ForwardRefExoticComponent<{
6
- children: React.ReactNode;
7
- } & React.HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>>;
6
+ children: ReactNode;
7
+ } & HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>>;
8
8
  //# sourceMappingURL=DropdownMenuContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenuContent.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenuContent.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAE3C,eAAO,MAAM,mBAAmB;cAHpB,KAAK,CAAC,SAAS;mFA4FzB,CAAC"}
1
+ {"version":3,"file":"DropdownMenuContent.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenuContent.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvD,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAErC,eAAO,MAAM,mBAAmB;cAHpB,SAAS;6EAyFnB,CAAC"}
@@ -1,14 +1,14 @@
1
- import type * as React from 'react';
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
2
  export type DropdownMenuGroupProps = {
3
3
  /**
4
4
  * Heading of the group
5
5
  */
6
- heading?: React.ReactNode;
7
- } & React.HTMLAttributes<HTMLUListElement>;
6
+ heading?: ReactNode;
7
+ } & HTMLAttributes<HTMLUListElement>;
8
8
  export declare const DropdownMenuGroup: React.ForwardRefExoticComponent<{
9
9
  /**
10
10
  * Heading of the group
11
11
  */
12
- heading?: React.ReactNode;
13
- } & React.HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>>;
12
+ heading?: ReactNode;
13
+ } & HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>>;
14
14
  //# sourceMappingURL=DropdownMenuGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenuGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenuGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAE3C,eAAO,MAAM,iBAAiB;IAN5B;;OAEG;cACO,KAAK,CAAC,SAAS;mFA8BzB,CAAC"}
1
+ {"version":3,"file":"DropdownMenuGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenuGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvD,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAErC,eAAO,MAAM,iBAAiB;IAN5B;;OAEG;cACO,SAAS;6EA8BnB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { ButtonProps } from '../Button';
2
- export type DropdownMenuItemProps = Omit<ButtonProps, 'variant' | 'size' | 'color' | 'fullWidth'>;
3
- export declare const DropdownMenuItem: import("react").ForwardRefExoticComponent<DropdownMenuItemProps & import("react").RefAttributes<HTMLButtonElement>>;
2
+ export type DropdownMenuItemProps = Omit<ButtonProps, 'variant' | 'size' | 'color'>;
3
+ export declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownMenuItemProps & React.RefAttributes<HTMLButtonElement>>;
4
4
  //# sourceMappingURL=DropdownMenuItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenuItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAK7C,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,WAAW,EACX,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,CAC3C,CAAC;AAEF,eAAO,MAAM,gBAAgB,qHAqB3B,CAAC"}
1
+ {"version":3,"file":"DropdownMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenuItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAK7C,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,WAAW,EACX,SAAS,GAAG,MAAM,GAAG,OAAO,CAC7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,iGAoB3B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { Placement } from '@floating-ui/react';
2
- import type * as React from 'react';
2
+ import type { ReactNode, RefObject } from 'react';
3
3
  import type { PortalProps } from '../../types/Portal';
4
4
  export type DropdownMenuRootProps = {
5
5
  /** Whether the dropdown is open or not.
@@ -17,7 +17,7 @@ export type DropdownMenuRootProps = {
17
17
  * @default md
18
18
  **/
19
19
  size?: 'sm' | 'md' | 'lg';
20
- children: React.ReactNode;
20
+ children: ReactNode;
21
21
  } & PortalProps;
22
22
  /**
23
23
  * DropdownMenuRoot is the root component for the DropdownMenu component.
@@ -37,7 +37,7 @@ export declare const DropdownMenuRoot: {
37
37
  };
38
38
  type DropdownMenuContextType = {
39
39
  anchorEl: Element | null;
40
- triggerRef: React.RefObject<Element>;
40
+ triggerRef: RefObject<Element>;
41
41
  size: NonNullable<DropdownMenuRootProps['size']>;
42
42
  portal?: PortalProps['portal'];
43
43
  placement?: DropdownMenuRootProps['placement'];