@digdir/designsystemet-react 0.60.0 → 0.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/dist/cjs/components/Accordion/Accordion.js +2 -2
  2. package/dist/cjs/components/Accordion/AccordionContent/AccordionContent.js +2 -2
  3. package/dist/cjs/components/Accordion/AccordionHeader/AccordionHeader.js +2 -2
  4. package/dist/cjs/components/Accordion/AccordionItem/AccordionItem.js +2 -2
  5. package/dist/cjs/components/Alert/Alert.js +5 -3
  6. package/dist/cjs/components/Box/Box.js +4 -1
  7. package/dist/cjs/components/Button/Button.js +3 -1
  8. package/dist/cjs/components/Chip/Group/Group.js +5 -1
  9. package/dist/cjs/components/Chip/Removable/Removable.js +3 -1
  10. package/dist/cjs/components/Chip/Toggle/Toggle.js +3 -1
  11. package/dist/cjs/components/Divider/Divider.js +2 -2
  12. package/dist/cjs/components/DropdownMenu/DropdownMenu.js +4 -2
  13. package/dist/cjs/components/DropdownMenu/DropdownMenuContent.js +4 -4
  14. package/dist/cjs/components/DropdownMenu/DropdownMenuItem.js +2 -2
  15. package/dist/cjs/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
  16. package/dist/cjs/components/HelpText/HelpText.js +5 -3
  17. package/dist/cjs/components/List/ListHeading.js +3 -3
  18. package/dist/cjs/components/List/ListItem.js +2 -2
  19. package/dist/cjs/components/List/ListRoot.js +4 -2
  20. package/dist/cjs/components/List/Lists.js +3 -3
  21. package/dist/cjs/components/Modal/ModalDialog.js +1 -1
  22. package/dist/cjs/components/Modal/ModalHeader.js +1 -1
  23. package/dist/cjs/components/Pagination/Pagination.js +6 -4
  24. package/dist/cjs/components/Pagination/PaginationRoot.js +4 -2
  25. package/dist/cjs/components/Popover/Popover.js +4 -2
  26. package/dist/cjs/components/Popover/PopoverContent.js +7 -7
  27. package/dist/cjs/components/Popover/PopoverTrigger.js +1 -1
  28. package/dist/cjs/components/Skeleton/Circle/Circle.js +2 -2
  29. package/dist/cjs/components/Skeleton/Rectangle/Rectangle.js +2 -2
  30. package/dist/cjs/components/Skeleton/Text/Text.js +2 -2
  31. package/dist/cjs/components/SkipLink/SkipLink.js +2 -2
  32. package/dist/cjs/components/Spinner/Spinner.js +9 -7
  33. package/dist/cjs/components/Table/Table.js +3 -1
  34. package/dist/cjs/components/Tabs/Tab/Tab.js +3 -3
  35. package/dist/cjs/components/Tabs/Tab/useTab.js +1 -3
  36. package/dist/cjs/components/Tabs/TabList/TabList.js +2 -2
  37. package/dist/cjs/components/Tabs/Tabs.js +5 -2
  38. package/dist/cjs/components/Tag/Tag.js +3 -1
  39. package/dist/cjs/components/ToggleGroup/ToggleGroup.js +3 -1
  40. package/dist/cjs/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +3 -3
  41. package/dist/cjs/components/Tooltip/Tooltip.js +10 -10
  42. package/dist/cjs/components/Typography/ErrorMessage/ErrorMessage.js +5 -3
  43. package/dist/cjs/components/Typography/Heading/Heading.js +5 -3
  44. package/dist/cjs/components/Typography/Ingress/Ingress.js +5 -3
  45. package/dist/cjs/components/Typography/Label/Label.js +5 -3
  46. package/dist/cjs/components/Typography/Paragraph/Paragraph.js +5 -3
  47. package/dist/cjs/components/form/Checkbox/Checkbox.js +2 -2
  48. package/dist/cjs/components/form/Checkbox/Group/Group.js +1 -1
  49. package/dist/cjs/components/form/Combobox/Combobox.js +10 -5
  50. package/dist/cjs/components/form/Combobox/Custom.js +1 -1
  51. package/dist/cjs/components/form/Combobox/Option/useComboboxOption.js +1 -1
  52. package/dist/cjs/components/form/Combobox/internal/ComboboxInput.js +1 -1
  53. package/dist/cjs/components/form/Combobox/useCombobox.js +7 -4
  54. package/dist/cjs/components/form/Combobox/useFloatingCombobox.js +3 -3
  55. package/dist/cjs/components/form/Fieldset/Fieldset.js +2 -2
  56. package/dist/cjs/components/form/NativeSelect/NativeSelect.js +3 -3
  57. package/dist/cjs/components/form/NativeSelect/useNativeSelect.js +3 -1
  58. package/dist/cjs/components/form/Radio/Group/Group.js +3 -3
  59. package/dist/cjs/components/form/Radio/Radio.js +3 -3
  60. package/dist/cjs/components/form/Search/Search.js +5 -5
  61. package/dist/cjs/components/form/Search/useSearch.js +3 -7
  62. package/dist/cjs/components/form/Switch/Switch.js +1 -1
  63. package/dist/cjs/components/form/Textarea/Textarea.js +4 -4
  64. package/dist/cjs/components/form/Textarea/useTextarea.js +3 -1
  65. package/dist/cjs/components/form/Textfield/Textfield.js +6 -6
  66. package/dist/cjs/components/form/Textfield/useTextfield.js +3 -1
  67. package/dist/cjs/components/form/useFormField.js +5 -7
  68. package/dist/cjs/{packages/react/node_modules → node_modules}/@floating-ui/core/dist/floating-ui.core.js +1 -1
  69. package/dist/cjs/{packages/react/node_modules → node_modules}/@floating-ui/dom/dist/floating-ui.dom.js +2 -2
  70. package/dist/cjs/{packages/react/node_modules → node_modules}/@floating-ui/react/dist/floating-ui.react.js +2 -2
  71. package/dist/cjs/{packages/react/node_modules → node_modules}/@floating-ui/react/dist/floating-ui.react.utils.js +1 -1
  72. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  73. package/dist/cjs/utilities/AnimateHeight/AnimateHeight.js +2 -2
  74. package/dist/cjs/utilities/RovingTabIndex/RovingTabindexItem.js +1 -1
  75. package/dist/cjs/utilities/RovingTabIndex/RovingTabindexRoot.js +1 -1
  76. package/dist/cjs/utilities/getSize.js +31 -0
  77. package/dist/esm/components/Accordion/Accordion.js +1 -1
  78. package/dist/esm/components/Accordion/AccordionContent/AccordionContent.js +2 -2
  79. package/dist/esm/components/Accordion/AccordionHeader/AccordionHeader.js +2 -2
  80. package/dist/esm/components/Accordion/AccordionItem/AccordionItem.js +1 -1
  81. package/dist/esm/components/Alert/Alert.js +4 -2
  82. package/dist/esm/components/Box/Box.js +4 -1
  83. package/dist/esm/components/Button/Button.js +3 -1
  84. package/dist/esm/components/Chip/Group/Group.js +5 -1
  85. package/dist/esm/components/Chip/Removable/Removable.js +3 -1
  86. package/dist/esm/components/Chip/Toggle/Toggle.js +3 -1
  87. package/dist/esm/components/Divider/Divider.js +1 -1
  88. package/dist/esm/components/DropdownMenu/DropdownMenu.js +4 -2
  89. package/dist/esm/components/DropdownMenu/DropdownMenuContent.js +4 -4
  90. package/dist/esm/components/DropdownMenu/DropdownMenuItem.js +2 -2
  91. package/dist/esm/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
  92. package/dist/esm/components/HelpText/HelpText.js +4 -2
  93. package/dist/esm/components/List/ListHeading.js +3 -3
  94. package/dist/esm/components/List/ListItem.js +1 -1
  95. package/dist/esm/components/List/ListRoot.js +4 -2
  96. package/dist/esm/components/List/Lists.js +1 -1
  97. package/dist/esm/components/Modal/ModalDialog.js +1 -1
  98. package/dist/esm/components/Modal/ModalHeader.js +1 -1
  99. package/dist/esm/components/Pagination/Pagination.js +6 -4
  100. package/dist/esm/components/Pagination/PaginationRoot.js +4 -2
  101. package/dist/esm/components/Popover/Popover.js +4 -2
  102. package/dist/esm/components/Popover/PopoverContent.js +5 -5
  103. package/dist/esm/components/Popover/PopoverTrigger.js +1 -1
  104. package/dist/esm/components/Skeleton/Circle/Circle.js +1 -1
  105. package/dist/esm/components/Skeleton/Rectangle/Rectangle.js +1 -1
  106. package/dist/esm/components/Skeleton/Text/Text.js +1 -1
  107. package/dist/esm/components/SkipLink/SkipLink.js +1 -1
  108. package/dist/esm/components/Spinner/Spinner.js +9 -7
  109. package/dist/esm/components/Table/Table.js +3 -1
  110. package/dist/esm/components/Tabs/Tab/Tab.js +3 -3
  111. package/dist/esm/components/Tabs/Tab/useTab.js +1 -3
  112. package/dist/esm/components/Tabs/TabList/TabList.js +1 -1
  113. package/dist/esm/components/Tabs/Tabs.js +5 -2
  114. package/dist/esm/components/Tag/Tag.js +3 -1
  115. package/dist/esm/components/ToggleGroup/ToggleGroup.js +3 -1
  116. package/dist/esm/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +2 -2
  117. package/dist/esm/components/Tooltip/Tooltip.js +10 -10
  118. package/dist/esm/components/Typography/ErrorMessage/ErrorMessage.js +4 -2
  119. package/dist/esm/components/Typography/Heading/Heading.js +4 -2
  120. package/dist/esm/components/Typography/Ingress/Ingress.js +4 -2
  121. package/dist/esm/components/Typography/Label/Label.js +4 -2
  122. package/dist/esm/components/Typography/Paragraph/Paragraph.js +4 -2
  123. package/dist/esm/components/form/Checkbox/Checkbox.js +2 -2
  124. package/dist/esm/components/form/Checkbox/Group/Group.js +1 -1
  125. package/dist/esm/components/form/Combobox/Combobox.js +10 -5
  126. package/dist/esm/components/form/Combobox/Custom.js +1 -1
  127. package/dist/esm/components/form/Combobox/Option/useComboboxOption.js +1 -1
  128. package/dist/esm/components/form/Combobox/internal/ComboboxInput.js +1 -1
  129. package/dist/esm/components/form/Combobox/useCombobox.js +7 -4
  130. package/dist/esm/components/form/Combobox/useFloatingCombobox.js +3 -3
  131. package/dist/esm/components/form/Fieldset/Fieldset.js +1 -1
  132. package/dist/esm/components/form/NativeSelect/NativeSelect.js +2 -2
  133. package/dist/esm/components/form/NativeSelect/useNativeSelect.js +3 -1
  134. package/dist/esm/components/form/Radio/Group/Group.js +2 -2
  135. package/dist/esm/components/form/Radio/Radio.js +2 -2
  136. package/dist/esm/components/form/Search/Search.js +3 -3
  137. package/dist/esm/components/form/Search/useSearch.js +3 -7
  138. package/dist/esm/components/form/Switch/Switch.js +1 -1
  139. package/dist/esm/components/form/Textarea/Textarea.js +2 -2
  140. package/dist/esm/components/form/Textarea/useTextarea.js +3 -1
  141. package/dist/esm/components/form/Textfield/Textfield.js +3 -3
  142. package/dist/esm/components/form/Textfield/useTextfield.js +3 -1
  143. package/dist/esm/components/form/useFormField.js +5 -7
  144. package/dist/esm/{packages/react/node_modules → node_modules}/@floating-ui/core/dist/floating-ui.core.js +1 -1
  145. package/dist/esm/{packages/react/node_modules → node_modules}/@floating-ui/dom/dist/floating-ui.dom.js +2 -2
  146. package/dist/esm/{packages/react/node_modules → node_modules}/@floating-ui/react/dist/floating-ui.react.js +2 -2
  147. package/dist/esm/{packages/react/node_modules → node_modules}/@floating-ui/react/dist/floating-ui.react.utils.js +1 -1
  148. package/dist/esm/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  149. package/dist/esm/utilities/AnimateHeight/AnimateHeight.js +1 -1
  150. package/dist/esm/utilities/RovingTabIndex/RovingTabindexItem.js +1 -1
  151. package/dist/esm/utilities/RovingTabIndex/RovingTabindexRoot.js +1 -1
  152. package/dist/esm/utilities/getSize.js +29 -0
  153. package/dist/types/components/Alert/Alert.d.ts +13 -6
  154. package/dist/types/components/Alert/Alert.d.ts.map +1 -1
  155. package/dist/types/components/Box/Box.d.ts +7 -4
  156. package/dist/types/components/Box/Box.d.ts.map +1 -1
  157. package/dist/types/components/Button/Button.d.ts +14 -4
  158. package/dist/types/components/Button/Button.d.ts.map +1 -1
  159. package/dist/types/components/Chip/Group/Group.d.ts +9 -3
  160. package/dist/types/components/Chip/Group/Group.d.ts.map +1 -1
  161. package/dist/types/components/Chip/Removable/Removable.d.ts +9 -6
  162. package/dist/types/components/Chip/Removable/Removable.d.ts.map +1 -1
  163. package/dist/types/components/Chip/Toggle/Toggle.d.ts +9 -6
  164. package/dist/types/components/Chip/Toggle/Toggle.d.ts.map +1 -1
  165. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +7 -4
  166. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  167. package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  168. package/dist/types/components/HelpText/HelpText.d.ts +4 -3
  169. package/dist/types/components/HelpText/HelpText.d.ts.map +1 -1
  170. package/dist/types/components/List/ListHeading.d.ts +1 -1
  171. package/dist/types/components/List/ListRoot.d.ts +15 -9
  172. package/dist/types/components/List/ListRoot.d.ts.map +1 -1
  173. package/dist/types/components/Modal/ModalTrigger.d.ts +1 -1
  174. package/dist/types/components/Pagination/Pagination.d.ts +12 -4
  175. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  176. package/dist/types/components/Pagination/PaginationButton.d.ts +1 -1
  177. package/dist/types/components/Pagination/PaginationNextPrev.d.ts +2 -2
  178. package/dist/types/components/Pagination/PaginationNextPrev.d.ts.map +1 -1
  179. package/dist/types/components/Pagination/PaginationRoot.d.ts +7 -4
  180. package/dist/types/components/Pagination/PaginationRoot.d.ts.map +1 -1
  181. package/dist/types/components/Popover/Popover.d.ts +8 -4
  182. package/dist/types/components/Popover/Popover.d.ts.map +1 -1
  183. package/dist/types/components/Popover/PopoverTrigger.d.ts +1 -1
  184. package/dist/types/components/Spinner/Spinner.d.ts +10 -3
  185. package/dist/types/components/Spinner/Spinner.d.ts.map +1 -1
  186. package/dist/types/components/Table/Table.d.ts +8 -4
  187. package/dist/types/components/Table/Table.d.ts.map +1 -1
  188. package/dist/types/components/Tabs/Tab/Tab.d.ts.map +1 -1
  189. package/dist/types/components/Tabs/Tab/useTab.d.ts +1 -3
  190. package/dist/types/components/Tabs/Tab/useTab.d.ts.map +1 -1
  191. package/dist/types/components/Tabs/Tabs.d.ts +14 -4
  192. package/dist/types/components/Tabs/Tabs.d.ts.map +1 -1
  193. package/dist/types/components/Tag/Tag.d.ts +9 -5
  194. package/dist/types/components/Tag/Tag.d.ts.map +1 -1
  195. package/dist/types/components/ToggleGroup/ToggleGroup.d.ts +14 -5
  196. package/dist/types/components/ToggleGroup/ToggleGroup.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/Tooltip/Tooltip.d.ts +14 -3
  200. package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
  201. package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts +14 -4
  202. package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts.map +1 -1
  203. package/dist/types/components/Typography/Heading/Heading.d.ts +10 -4
  204. package/dist/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  205. package/dist/types/components/Typography/Ingress/Ingress.d.ts +8 -4
  206. package/dist/types/components/Typography/Ingress/Ingress.d.ts.map +1 -1
  207. package/dist/types/components/Typography/Label/Label.d.ts +15 -4
  208. package/dist/types/components/Typography/Label/Label.d.ts.map +1 -1
  209. package/dist/types/components/Typography/Paragraph/Paragraph.d.ts +18 -4
  210. package/dist/types/components/Typography/Paragraph/Paragraph.d.ts.map +1 -1
  211. package/dist/types/components/form/CharacterCounter.d.ts +2 -1
  212. package/dist/types/components/form/CharacterCounter.d.ts.map +1 -1
  213. package/dist/types/components/form/Checkbox/Checkbox.d.ts.map +1 -1
  214. package/dist/types/components/form/Checkbox/Group/Group.d.ts.map +1 -1
  215. package/dist/types/components/form/Combobox/Combobox.d.ts +2 -2
  216. package/dist/types/components/form/Combobox/Combobox.d.ts.map +1 -1
  217. package/dist/types/components/form/Combobox/Option/useComboboxOption.d.ts +1 -1
  218. package/dist/types/components/form/Combobox/useCombobox.d.ts.map +1 -1
  219. package/dist/types/components/form/Fieldset/useFieldset.d.ts +1 -1
  220. package/dist/types/components/form/NativeSelect/NativeSelect.d.ts +10 -6
  221. package/dist/types/components/form/NativeSelect/NativeSelect.d.ts.map +1 -1
  222. package/dist/types/components/form/NativeSelect/useNativeSelect.d.ts.map +1 -1
  223. package/dist/types/components/form/Search/Search.d.ts +12 -6
  224. package/dist/types/components/form/Search/Search.d.ts.map +1 -1
  225. package/dist/types/components/form/Search/useSearch.d.ts +1 -3
  226. package/dist/types/components/form/Search/useSearch.d.ts.map +1 -1
  227. package/dist/types/components/form/Textarea/Textarea.d.ts +10 -10
  228. package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
  229. package/dist/types/components/form/Textarea/useTextarea.d.ts.map +1 -1
  230. package/dist/types/components/form/Textfield/Textfield.d.ts +14 -4
  231. package/dist/types/components/form/Textfield/Textfield.d.ts.map +1 -1
  232. package/dist/types/components/form/Textfield/useTextfield.d.ts.map +1 -1
  233. package/dist/types/components/form/useFormField.d.ts +8 -2
  234. package/dist/types/components/form/useFormField.d.ts.map +1 -1
  235. package/dist/types/utilities/getSize.d.ts +2 -0
  236. package/dist/types/utilities/getSize.d.ts.map +1 -0
  237. package/package.json +2 -5
  238. package/dist/cjs/node_modules/clsx/dist/clsx.js +0 -9
  239. package/dist/esm/node_modules/clsx/dist/clsx.js +0 -4
  240. /package/dist/cjs/{packages/react/node_modules → node_modules}/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -0
  241. /package/dist/cjs/node_modules/{@babel → @radix-ui/react-slot/node_modules/@babel}/runtime/helpers/esm/extends.js +0 -0
  242. /package/dist/cjs/{packages/react/node_modules → node_modules}/tabbable/dist/index.esm.js +0 -0
  243. /package/dist/esm/{packages/react/node_modules → node_modules}/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -0
  244. /package/dist/esm/node_modules/{@babel → @radix-ui/react-slot/node_modules/@babel}/runtime/helpers/esm/extends.js +0 -0
  245. /package/dist/esm/{packages/react/node_modules → node_modules}/tabbable/dist/index.esm.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,QAAQ,GAAG;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC5D;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC9C;;;OAGG;IACH,YAAY,CAAC,EACT,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,SAAS,GACT,UAAU,GACV,WAAW,GACX,MAAM,CAAC;IACX;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAClC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,GAAG;IAnCd;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAUH;;;OAGG;;IAEH;;;OAGG;;mFAoCJ,CAAC"}
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C,KAAK,cAAc,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AACzE,KAAK,cAAc,GACf,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,SAAS,GACT,UAAU,GACV,WAAW,CAAC;AAEhB,MAAM,MAAM,QAAQ,GAAG;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,cAAc,CAAC;IAC3D;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC9C;;;OAGG;IACH,YAAY,CAAC,EACT,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,cAAc,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAClC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,GAAG;IApCd;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAWH;;;OAGG;;IAEH;;;OAGG;;mFAsCJ,CAAC"}
@@ -1,11 +1,16 @@
1
1
  import type { ButtonHTMLAttributes } from 'react';
2
+ type OldButtonSizes = 'small' | 'medium' | 'large';
2
3
  export type ButtonProps = {
3
4
  /** Specify which variant to use */
4
5
  variant?: 'primary' | 'secondary' | 'tertiary';
5
6
  /** Specify which color palette to use */
6
7
  color?: 'first' | 'second' | 'success' | 'danger';
7
- /** Size */
8
- size?: 'small' | 'medium' | 'large';
8
+ /**
9
+ * Size
10
+ * @default `md`
11
+ * @note `small`, `medium`, `large` is deprecated
12
+ */
13
+ size?: 'sm' | 'md' | 'lg' | OldButtonSizes;
9
14
  /** If `Button` should fill full width of its container */
10
15
  fullWidth?: boolean;
11
16
  /** Toggle icon only styling, pass icon as children
@@ -26,8 +31,12 @@ export declare const Button: import("react").ForwardRefExoticComponent<{
26
31
  variant?: "primary" | "secondary" | "tertiary" | undefined;
27
32
  /** Specify which color palette to use */
28
33
  color?: "first" | "second" | "success" | "danger" | undefined;
29
- /** Size */
30
- size?: "small" | "medium" | "large" | undefined;
34
+ /**
35
+ * Size
36
+ * @default `md`
37
+ * @note `small`, `medium`, `large` is deprecated
38
+ */
39
+ size?: "sm" | "md" | "lg" | OldButtonSizes | undefined;
31
40
  /** If `Button` should fill full width of its container */
32
41
  fullWidth?: boolean | undefined;
33
42
  /** Toggle icon only styling, pass icon as children
@@ -40,4 +49,5 @@ export declare const Button: import("react").ForwardRefExoticComponent<{
40
49
  */
41
50
  asChild?: boolean | undefined;
42
51
  } & ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
52
+ export {};
43
53
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIlD,MAAM,MAAM,WAAW,GAAG;IACxB,mCAAmC;IACnC,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,yCAAyC;IACzC,KAAK,CAAC,EA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AIG;;IAEH,0DAA0D;;IAE1D;;OAEG;;IAEH;;;OAGG;;+FA6CJ,CAAC"}
@@ -1,18 +1,24 @@
1
1
  import type { HTMLAttributes } from 'react';
2
+ type OldChipSizes = 'small' | 'medium' | 'large';
2
3
  export type ChipGroupContext = {
3
- size?: 'small' | 'medium' | 'large';
4
+ size?: 'sm' | 'md' | 'lg' | OldChipSizes;
4
5
  };
5
6
  export declare const ChipGroupContext: import("react").Context<ChipGroupContext | null>;
6
7
  export type ChipGroupProps = {
7
8
  /**
8
9
  * Changes Chip size and gap between chips.
10
+ * @default md
11
+ * @note `small`, `medium`, `large` is deprecated
9
12
  */
10
- size?: 'small' | 'medium' | 'large';
13
+ size?: ChipGroupContext['size'];
11
14
  } & HTMLAttributes<HTMLUListElement>;
12
15
  export declare const Group: import("react").ForwardRefExoticComponent<{
13
16
  /**
14
17
  * Changes Chip size and gap between chips.
18
+ * @default md
19
+ * @note `small`, `medium`, `large` is deprecated
15
20
  */
16
- size?: "small" | "medium" | "large" | undefined;
21
+ size?: ChipGroupContext['size'];
17
22
  } & HTMLAttributes<HTMLUListElement> & import("react").RefAttributes<HTMLUListElement>>;
23
+ export {};
18
24
  //# sourceMappingURL=Group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Group/Group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,gBAAgB,kDAA+C,CAAC;AAE7E,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAErC,eAAO,MAAM,KAAK;IANhB;;OAEG;;uFAsBJ,CAAC"}
1
+ {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Group/Group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,KAAK,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEjD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,YAAY,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,kDAA+C,CAAC;AAE7E,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAErC,eAAO,MAAM,KAAK;IARhB;;;;OAIG;WACI,gBAAgB,CAAC,MAAM,CAAC;uFA2BhC,CAAC"}
@@ -1,16 +1,19 @@
1
1
  import type { ButtonHTMLAttributes } from 'react';
2
+ import { ChipGroupContext } from '../Group/Group';
2
3
  export type RemovableChipProps = {
3
4
  /**
4
- * Changes padding and font-sizes.
5
- * @default medium
5
+ * Changes Chip size and gap between chips.
6
+ * @default 'md'
7
+ * @note `small`, `medium`, `large` is deprecated
6
8
  */
7
- size?: 'small' | 'medium' | 'large';
9
+ size?: ChipGroupContext['size'];
8
10
  } & ButtonHTMLAttributes<HTMLButtonElement>;
9
11
  export declare const RemovableChip: import("react").ForwardRefExoticComponent<{
10
12
  /**
11
- * Changes padding and font-sizes.
12
- * @default medium
13
+ * Changes Chip size and gap between chips.
14
+ * @default 'md'
15
+ * @note `small`, `medium`, `large` is deprecated
13
16
  */
14
- size?: "small" | "medium" | "large" | undefined;
17
+ size?: ChipGroupContext['size'];
15
18
  } & ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
16
19
  //# sourceMappingURL=Removable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Removable.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Removable/Removable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAQlD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,aAAa;IAPxB;;;OAGG;;+FAuCJ,CAAC"}
1
+ {"version":3,"file":"Removable.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Removable/Removable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAMlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,aAAa;IARxB;;;;OAIG;WACI,gBAAgB,CAAC,MAAM,CAAC;+FAuChC,CAAC"}
@@ -1,14 +1,16 @@
1
1
  import type { ButtonHTMLAttributes } from 'react';
2
+ import { ChipGroupContext } from '../Group/Group';
2
3
  export type ToggleChipProps = {
3
4
  /**
4
5
  * Enables check mark icon
5
6
  */
6
7
  checkmark?: boolean;
7
8
  /**
8
- * Changes padding and font-sizes.
9
- * @default medium
9
+ * Changes Chip size and gap between chips.
10
+ * @default 'md'
11
+ * @note `small`, `medium`, `large` is deprecated
10
12
  */
11
- size?: 'small' | 'medium' | 'large';
13
+ size?: ChipGroupContext['size'];
12
14
  /**
13
15
  * Toggles `aria-pressed` and visual-changes
14
16
  * */
@@ -20,10 +22,11 @@ export declare const ToggleChip: import("react").ForwardRefExoticComponent<{
20
22
  */
21
23
  checkmark?: boolean | undefined;
22
24
  /**
23
- * Changes padding and font-sizes.
24
- * @default medium
25
+ * Changes Chip size and gap between chips.
26
+ * @default 'md'
27
+ * @note `small`, `medium`, `large` is deprecated
25
28
  */
26
- size?: "small" | "medium" | "large" | undefined;
29
+ size?: ChipGroupContext['size'];
27
30
  /**
28
31
  * Toggles `aria-pressed` and visual-changes
29
32
  * */
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Toggle/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAQlD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;SAEK;IACL,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,UAAU;IAfrB;;OAEG;;IAEH;;;OAGG;;IAEH;;SAEK;;+FAmDN,CAAC"}
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Toggle/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAMlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;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;IAhBrB;;OAEG;;IAEH;;;;OAIG;WACI,gBAAgB,CAAC,MAAM,CAAC;IAC/B;;SAEK;;+FAmDN,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type * as React from 'react';
2
2
  import type { Placement } from '@floating-ui/react';
3
3
  import type { PortalProps } from '../../types/Portal';
4
+ type OldDropdownMenuSizes = 'small' | 'medium' | 'large';
4
5
  export type DropdownMenuProps = {
5
6
  /** Whether the dropdown is open or not.
6
7
  * @default false
@@ -12,14 +13,16 @@ export type DropdownMenuProps = {
12
13
  * @default bottom-end
13
14
  */
14
15
  placement?: Placement;
15
- /** The size of the dropdown
16
- * @default medium
16
+ /**
17
+ * The size of the dropdown
18
+ * @default md
19
+ * @note `small`, `medium`, `large` is deprecated
17
20
  **/
18
- size?: 'small' | 'medium' | 'large';
21
+ size?: 'sm' | 'md' | 'lg' | OldDropdownMenuSizes;
19
22
  children: React.ReactNode;
20
23
  } & PortalProps;
21
24
  export declare const DropdownMenu: {
22
- ({ open, onClose, placement, size, portal, children, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
25
+ ({ open, onClose, placement, portal, children, ...rest }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
23
26
  displayName: string;
24
27
  };
25
28
  type DropdownMenuContextType = {
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenu.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,iBAAiB,GAAG;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;I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,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;;QAII;IACJ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,oBAAoB,CAAC;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,WAAW,CAAC;AAEhB,eAAO,MAAM,YAAY;8DAOtB,iBAAiB;;CA+BnB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACrC,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAC3C,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,mBAAmB,wCAM9B,CAAC"}
@@ -4,7 +4,7 @@ export type DropdownMenuTriggerProps = React.ComponentPropsWithRef<typeof Button
4
4
  export declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<{
5
5
  variant?: "primary" | "secondary" | "tertiary" | undefined;
6
6
  color?: "first" | "second" | "success" | "danger" | undefined;
7
- size?: "small" | "medium" | "large" | undefined;
7
+ size?: "sm" | "md" | "lg" | ("small" | "medium" | "large") | undefined;
8
8
  fullWidth?: boolean | undefined;
9
9
  icon?: boolean | undefined;
10
10
  asChild?: boolean | undefined;
@@ -8,8 +8,9 @@ export type HelpTextProps = {
8
8
  **/
9
9
  title: string;
10
10
  /**
11
- * Size of the icon.
12
- * @default medium
11
+ * Size of the helptext
12
+ * @default md
13
+ * @note `small`, `medium`, `large` is deprecated
13
14
  */
14
15
  size?: PopoverProps['size'];
15
16
  /**
@@ -19,7 +20,7 @@ export type HelpTextProps = {
19
20
  placement?: Placement;
20
21
  } & PortalProps & ButtonHTMLAttributes<HTMLButtonElement>;
21
22
  declare const HelpText: {
22
- ({ title, placement, size, portal, className, children, ...rest }: HelpTextProps): import("react/jsx-runtime").JSX.Element;
23
+ ({ title, placement, portal, className, children, ...rest }: HelpTextProps): import("react/jsx-runtime").JSX.Element;
23
24
  displayName: string;
24
25
  };
25
26
  export { HelpText };
@@ -1 +1 @@
1
- {"version":3,"file":"HelpText.d.ts","sourceRoot":"","sources":["../../../../src/components/HelpText/HelpText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,MAAM,MAAM,aAAa,GAAG;IAC1B;;QAEI;IACJ,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC5B;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GAAG,WAAW,GACb,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ;uEAQX,aAAa;;CAkDf,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"HelpText.d.ts","sourceRoot":"","sources":["../../../../src/components/HelpText/HelpText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,MAAM,MAAM,aAAa,GAAG;IAC1B;;QAEI;IACJ,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC5B;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GAAG,WAAW,GACb,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ;iEAOX,aAAa;;CAoDf,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -2,7 +2,7 @@ import { type HeadingProps } from '../Typography';
2
2
  export type ListHeadingProps = HeadingProps;
3
3
  export declare const ListHeading: import("react").ForwardRefExoticComponent<{
4
4
  level?: 1 | 2 | 3 | 4 | 5 | 6 | undefined;
5
- size?: "small" | "medium" | "large" | "xsmall" | "xxsmall" | "xlarge" | "2xlarge" | "3xlarge" | undefined;
5
+ size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | ("xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "3xlarge") | undefined;
6
6
  spacing?: boolean | undefined;
7
7
  asChild?: boolean | undefined;
8
8
  } & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLHeadingElement>>;
@@ -1,15 +1,19 @@
1
1
  import type { HTMLAttributes } from 'react';
2
- type ListContextType = {
3
- size: NonNullable<ListProps['size']>;
2
+ export type ListContextType = {
3
+ size: 'sm' | 'md' | 'lg';
4
4
  headingId?: string;
5
5
  setHeadingId: (id: string) => void;
6
6
  };
7
+ export type OldListSizes = 'small' | 'medium' | 'large';
7
8
  export declare const ListContext: import("react").Context<ListContextType>;
8
9
  export type ListProps = {
9
- /** Changes text sizing
10
- * @default medium
10
+ /**
11
+ * Changes text sizing
12
+ * @default md
13
+ *
14
+ * @note `small`, `medium` and `large` are deprecated
11
15
  */
12
- size?: 'small' | 'medium' | 'large';
16
+ size?: ListContextType['size'] | OldListSizes;
13
17
  /**
14
18
  * Change the default rendered element for the one passed as a child, merging their props and behavior.
15
19
  * @default false
@@ -17,15 +21,17 @@ export type ListProps = {
17
21
  asChild?: boolean;
18
22
  } & HTMLAttributes<HTMLDivElement>;
19
23
  export declare const ListRoot: import("react").ForwardRefExoticComponent<{
20
- /** Changes text sizing
21
- * @default medium
24
+ /**
25
+ * Changes text sizing
26
+ * @default md
27
+ *
28
+ * @note `small`, `medium` and `large` are deprecated
22
29
  */
23
- size?: "small" | "medium" | "large" | undefined;
30
+ size?: "sm" | "md" | "lg" | OldListSizes | undefined;
24
31
  /**
25
32
  * Change the default rendered element for the one passed as a child, merging their props and behavior.
26
33
  * @default false
27
34
  */
28
35
  asChild?: boolean | undefined;
29
36
  } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
30
- export {};
31
37
  //# sourceMappingURL=ListRoot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/List/ListRoot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,WAAW,0CAItB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ;IAXnB;;OAEG;;IAEH;;;OAGG;;mFAkBJ,CAAC"}
1
+ {"version":3,"file":"ListRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/List/ListRoot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD,eAAO,MAAM,WAAW,0CAItB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG;IACtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC;IAC9C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ;IAdnB;;;;;OAKG;;IAEH;;;OAGG;;mFAmBJ,CAAC"}
@@ -4,7 +4,7 @@ export type ModalTriggerProps = React.ComponentPropsWithRef<typeof Button>;
4
4
  export declare const ModalTrigger: React.ForwardRefExoticComponent<Omit<{
5
5
  variant?: "primary" | "secondary" | "tertiary" | undefined;
6
6
  color?: "first" | "second" | "success" | "danger" | undefined;
7
- size?: "small" | "medium" | "large" | undefined;
7
+ size?: "sm" | "md" | "lg" | ("small" | "medium" | "large") | undefined;
8
8
  fullWidth?: boolean | undefined;
9
9
  icon?: boolean | undefined;
10
10
  asChild?: boolean | undefined;
@@ -1,11 +1,15 @@
1
1
  import type * as React from 'react';
2
+ type OldPaginationSizes = 'small' | 'medium' | 'large';
2
3
  export type PaginationProps = {
3
4
  /** Sets the text label for the next page button */
4
5
  nextLabel: string;
5
6
  /** Sets the text label for the previous page button */
6
7
  previousLabel: string;
7
- /** Sets the size of the component */
8
- size?: 'small' | 'medium' | 'large';
8
+ /** Sets the size of the component
9
+ * @default md
10
+ * @note `small`, `medium`, `large` is deprecated
11
+ */
12
+ size?: 'sm' | 'md' | 'lg' | OldPaginationSizes;
9
13
  /** Sets how compact the component will be. If true, only 5 steps will show. */
10
14
  compact?: boolean;
11
15
  /** Hides the component's previous and next button labels */
@@ -26,8 +30,11 @@ export declare const Pagination: React.ForwardRefExoticComponent<{
26
30
  nextLabel: string;
27
31
  /** Sets the text label for the previous page button */
28
32
  previousLabel: string;
29
- /** Sets the size of the component */
30
- size?: "small" | "medium" | "large" | undefined;
33
+ /** Sets the size of the component
34
+ * @default md
35
+ * @note `small`, `medium`, `large` is deprecated
36
+ */
37
+ size?: "sm" | "md" | "lg" | OldPaginationSizes | undefined;
31
38
  /** Sets how compact the component will be. If true, only 5 steps will show. */
32
39
  compact?: boolean | undefined;
33
40
  /** Hides the component's previous and next button labels */
@@ -43,4 +50,5 @@ export declare const Pagination: React.ForwardRefExoticComponent<{
43
50
  /** `aria-label` for pagination item */
44
51
  itemLabel?: ((currentPage: number) => string) | undefined;
45
52
  } & Omit<React.HTMLAttributes<HTMLElement>, "onChange"> & React.RefAttributes<HTMLElement>>;
53
+ export {};
46
54
  //# 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,C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AAC,EAAE,OAAO,CAAC;IAClB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,uCAAuC;IACvC,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;CAC7C,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC,CAAC;AAQxD,eAAO,MAAM,UAAU;IA/BrB,mDAAmD;eACxC,MAAM;IACjB,uDAAuD;mBACxC,MAAM;IACrB;;;OAGG;;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;2FA6F5C,CAAC"}
@@ -12,5 +12,5 @@ export declare const PaginationButton: import("react").ForwardRefExoticComponent
12
12
  * @default false
13
13
  */
14
14
  isActive?: boolean | undefined;
15
- } & Omit<ButtonProps, "size" | "icon"> & import("react").RefAttributes<HTMLButtonElement>>;
15
+ } & Omit<ButtonProps, "icon" | "size"> & import("react").RefAttributes<HTMLButtonElement>>;
16
16
  //# sourceMappingURL=PaginationButton.d.ts.map
@@ -2,9 +2,9 @@ import type { PaginationButtonProps } from './PaginationButton';
2
2
  export type PaginationNextProps = PaginationButtonProps;
3
3
  export declare const PaginationNext: import("react").ForwardRefExoticComponent<{
4
4
  isActive?: boolean | undefined;
5
- } & Omit<import("..").ButtonProps, "size" | "icon"> & import("react").RefAttributes<HTMLButtonElement>>;
5
+ } & Omit<import("packages/react/src").ButtonProps, "icon" | "size"> & import("react").RefAttributes<HTMLButtonElement>>;
6
6
  export type PaginationPreviousProps = PaginationButtonProps;
7
7
  export declare const PaginationPrevious: import("react").ForwardRefExoticComponent<{
8
8
  isActive?: boolean | undefined;
9
- } & Omit<import("..").ButtonProps, "size" | "icon"> & import("react").RefAttributes<HTMLButtonElement>>;
9
+ } & Omit<import("packages/react/src").ButtonProps, "icon" | "size"> & import("react").RefAttributes<HTMLButtonElement>>;
10
10
  //# 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;;uGAWzB,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;uGAW7B,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,eAAO,MAAM,cAAc;;uHAWzB,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;uHAW7B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { type HTMLAttributes } from 'react';
2
+ import type { PaginationProps } from './Pagination';
2
3
  type PaginationContextProps = {
3
4
  size: NonNullable<PaginationRootProps['size']>;
4
5
  compact: boolean;
@@ -7,9 +8,10 @@ export declare const PaginationContext: import("react").Context<PaginationContex
7
8
  export type PaginationRootProps = {
8
9
  /**
9
10
  * Sets the size of the component
10
- * @default medium
11
+ * @default md
12
+ * @note `small`, `medium`, `large` is deprecated
11
13
  */
12
- size?: 'small' | 'medium' | 'large';
14
+ size?: PaginationProps['size'];
13
15
  /**
14
16
  * Sets how compact the component will be. If true, only 5 steps will show.
15
17
  * @default false
@@ -24,9 +26,10 @@ export type PaginationRootProps = {
24
26
  export declare const PaginationRoot: import("react").ForwardRefExoticComponent<{
25
27
  /**
26
28
  * Sets the size of the component
27
- * @default medium
29
+ * @default md
30
+ * @note `small`, `medium`, `large` is deprecated
28
31
  */
29
- size?: "small" | "medium" | "large" | undefined;
32
+ size?: PaginationProps['size'];
30
33
  /**
31
34
  * Sets how compact the component will be. If true, only 5 steps will show.
32
35
  * @default false
@@ -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,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,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;;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;;IAEH;;;OAGG;;IAEH;;;OAGG;;6EAkBJ,CAAC;AAEF,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;AAIvE,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;;;;OAIG;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;IAlBzB;;;;OAIG;WACI,eAAe,CAAC,MAAM,CAAC;IAC9B;;;OAGG;;IAEH;;;OAGG;;6EAqBJ,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type { Placement } from '@floating-ui/react';
2
2
  import * as React from 'react';
3
3
  import type { PortalProps } from '../../types/Portal';
4
+ type OldPopoverSizes = 'small' | 'medium' | 'large';
4
5
  export type PopoverProps = {
5
6
  /**
6
7
  * Placement of the tooltip on the trigger.
@@ -17,10 +18,12 @@ export type PopoverProps = {
17
18
  * @default undefined
18
19
  */
19
20
  open?: boolean;
20
- /** Size of the popover
21
- * @default medium
21
+ /**
22
+ * Size of the popover
23
+ * @default md
24
+ * @note `small`, `medium`, `large` is deprecated
22
25
  */
23
- size?: 'small' | 'medium' | 'large';
26
+ size?: 'sm' | 'md' | 'lg' | OldPopoverSizes;
24
27
  /** Callback function when popover changes open state */
25
28
  onOpenChange?: (open: boolean) => void;
26
29
  /**
@@ -30,7 +33,7 @@ export type PopoverProps = {
30
33
  children: React.ReactNode;
31
34
  } & PortalProps;
32
35
  export declare const Popover: {
33
- ({ children, placement, open, variant, size, portal, onOpenChange, onClose, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
36
+ ({ children, placement, open, variant, portal, onOpenChange, onClose, ...rest }: PopoverProps): import("react/jsx-runtime").JSX.Element;
34
37
  displayName: string;
35
38
  };
36
39
  export declare const PopoverContext: React.Context<{
@@ -50,4 +53,5 @@ export declare const PopoverContext: React.Context<{
50
53
  setTriggerId?: ((id: string) => void) | undefined;
51
54
  setInternalOpen: (open: boolean) => void;
52
55
  }>;
56
+ export {};
53
57
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IACpD;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,wDAAwD;IACxD,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,WAAW,CAAC;AAEhB,eAAO,MAAM,OAAO;mFASjB,YAAY;;CAyCd,CAAC;AAEF,eAAO,MAAM,cAAc;gBACb,MAAM,SAAS,CAAC,OAAO,CAAC;cAC1B,OAAO,GAAG,IA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ACf,YAAY,YAAY,CAAC,MAAM,CAAC,CAAC;aAC9B,YAAY,YAAY,CAAC,SAAS,CAAC,CAAC;eAClC,SAAS;mBACL,YAAY,CAAC,cAAc,CAAC;cACjC,YAAY,CAAC,SAAS,CAAC;yBACb,MAAM,KAAK,IAAI;yBACf,MAAM,KAAK,IAAI;4BACX,OAAO,KAAK,IAAI;EASxC,CAAC"}
@@ -4,7 +4,7 @@ export type PopoverTriggerProps = React.ComponentPropsWithRef<typeof Button>;
4
4
  export declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<{
5
5
  variant?: "primary" | "secondary" | "tertiary" | undefined;
6
6
  color?: "first" | "second" | "success" | "danger" | undefined;
7
- size?: "small" | "medium" | "large" | undefined;
7
+ size?: "sm" | "md" | "lg" | ("small" | "medium" | "large") | undefined;
8
8
  fullWidth?: boolean | undefined;
9
9
  icon?: boolean | undefined;
10
10
  asChild?: boolean | undefined;
@@ -1,15 +1,22 @@
1
1
  import type * as React from 'react';
2
+ type OldSpinnerSizes = 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2
3
  export type SpinnerProps = {
3
4
  /** Spinner title */
4
5
  title: string;
5
- /** Spinner size */
6
- size?: 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
6
+ /**
7
+ * Spinner size
8
+ *
9
+ * @default md
10
+ * @note `xxsmall`, `xsmall`, `small`, `medium`, `large`, `xlarge` is deprecated
11
+ */
12
+ size?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | OldSpinnerSizes;
7
13
  /** Spinner appearance */
8
14
  variant?: 'default' | 'interaction' | 'inverted';
9
15
  } & React.ComponentPropsWithoutRef<'svg'>;
10
16
  /** Spinner component used for indicating busy or indeterminate loading */
11
17
  export declare const Spinner: {
12
- ({ title, size, variant, className, style, ...rest }: SpinnerProps): JSX.Element;
18
+ ({ title, variant, className, style, ...rest }: SpinnerProps): JSX.Element;
13
19
  displayName: string;
14
20
  };
21
+ export {};
15
22
  //# sourceMappingURL=Spinner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAcpC,MAAM,MAAM,YAAY,GAAG;IACzB,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IACtE,0BAA0B;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC;CAClD,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,2EAA2E;AAC3E,eAAO,MAAM,OAAO;0DAOjB,YAAY,GAAG,WAAW;;CAwC5B,CAAC"}
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,KAAK,eAAe,GAChB,SAAS,GACT,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,CAAC;AAab,MAAM,MAAM,YAAY,GAAG;IACzB,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,eAAe,CAAC;IAClE,0BAA0B;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC;CAClD,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,2EAA2E;AAC3E,eAAO,MAAM,OAAO;oDAMjB,YAAY,GAAG,WAAW;;CAgD5B,CAAC"}
@@ -1,10 +1,12 @@
1
1
  import * as React from 'react';
2
+ type OldTableSizes = 'small' | 'medium' | 'large';
2
3
  export type TableProps = {
3
4
  /**
4
5
  * The size of the table
5
- * @default medium
6
+ * @default md
7
+ * @note `small`, `medium`, `large` is deprecated
6
8
  */
7
- size?: 'small' | 'medium' | 'large';
9
+ size?: 'sm' | 'md' | 'lg' | OldTableSizes;
8
10
  /**
9
11
  * If true, the table will have zebra striping
10
12
  * @default false
@@ -24,9 +26,10 @@ export type TableProps = {
24
26
  export declare const Table: React.ForwardRefExoticComponent<{
25
27
  /**
26
28
  * The size of the table
27
- * @default medium
29
+ * @default md
30
+ * @note `small`, `medium`, `large` is deprecated
28
31
  */
29
- size?: "small" | "medium" | "large" | undefined;
32
+ size?: "sm" | "md" | "lg" | OldTableSizes | undefined;
30
33
  /**
31
34
  * If true, the table will have zebra striping
32
35
  * @default false
@@ -43,4 +46,5 @@ export declare const Table: React.ForwardRefExoticComponent<{
43
46
  */
44
47
  border?: boolean | undefined;
45
48
  } & Omit<React.TableHTMLAttributes<HTMLTableElement>, "border"> & React.RefAttributes<HTMLTableElement>>;
49
+ export {};
46
50
  //# sourceMappingURL=Table.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,CAAC;AAEhE,eAAO,MAAM,KAAK;IAtBhB;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;wGAuCJ,CAAC"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,KAAK,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElD,MAAM,MAAM,UAAU,GAAG;IACvB;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,aAAa,CAAC;IAC1C;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,CAAC;AAEhE,eAAO,MAAM,KAAK;IAvBhB;;;;OAIG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;wGAwCJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tabs/Tab/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ5C,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;wGAyBb,CAAC"}
1
+ {"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tabs/Tab/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ5C,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;wGAqBb,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  import type { TabProps } from './Tab';
3
- type UseTab = (props: TabProps) => {
4
- active: boolean;
5
- } & Pick<HTMLAttributes<HTMLButtonElement>, 'id' | 'aria-selected' | 'role' | 'onClick'>;
3
+ type UseTab = (props: TabProps) => Pick<HTMLAttributes<HTMLButtonElement>, 'id' | 'aria-selected' | 'role' | 'onClick'>;
6
4
  /** Handles props for `Tab` in context with `Tabs` */
7
5
  export declare const useTabItem: UseTab;
8
6
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"useTab.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tabs/Tab/useTab.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,KAAK,MAAM,GAAG,CAAC,KAAK,EAAE,QAAQ,KAAK;IACjC,MAAM,EAAE,OAAO,CAAC;CACjB,GAAG,IAAI,CACN,cAAc,CAAC,iBAAiB,CAAC,EACjC,IAAI,GAAG,eAAe,GAAG,MAAM,GAAG,SAAS,CAC5C,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,UAAU,EAAE,MAgBxB,CAAC"}
1
+ {"version":3,"file":"useTab.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tabs/Tab/useTab.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,KAAK,MAAM,GAAG,CACZ,KAAK,EAAE,QAAQ,KACZ,IAAI,CACP,cAAc,CAAC,iBAAiB,CAAC,EACjC,IAAI,GAAG,eAAe,GAAG,MAAM,GAAG,SAAS,CAC5C,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,UAAU,EAAE,MAcxB,CAAC"}