@digdir/designsystemet-react 0.61.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 (224) 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/Chip/Group/Group.js +5 -1
  8. package/dist/cjs/components/Chip/Removable/Removable.js +3 -1
  9. package/dist/cjs/components/Chip/Toggle/Toggle.js +3 -1
  10. package/dist/cjs/components/Divider/Divider.js +2 -2
  11. package/dist/cjs/components/DropdownMenu/DropdownMenu.js +4 -2
  12. package/dist/cjs/components/DropdownMenu/DropdownMenuContent.js +3 -3
  13. package/dist/cjs/components/DropdownMenu/DropdownMenuItem.js +2 -2
  14. package/dist/cjs/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
  15. package/dist/cjs/components/HelpText/HelpText.js +5 -3
  16. package/dist/cjs/components/List/ListHeading.js +3 -3
  17. package/dist/cjs/components/List/ListItem.js +2 -2
  18. package/dist/cjs/components/List/ListRoot.js +4 -2
  19. package/dist/cjs/components/List/Lists.js +3 -3
  20. package/dist/cjs/components/Modal/ModalDialog.js +1 -1
  21. package/dist/cjs/components/Modal/ModalHeader.js +1 -1
  22. package/dist/cjs/components/Pagination/Pagination.js +6 -4
  23. package/dist/cjs/components/Pagination/PaginationRoot.js +4 -2
  24. package/dist/cjs/components/Popover/Popover.js +4 -2
  25. package/dist/cjs/components/Popover/PopoverContent.js +6 -6
  26. package/dist/cjs/components/Popover/PopoverTrigger.js +1 -1
  27. package/dist/cjs/components/Skeleton/Circle/Circle.js +2 -2
  28. package/dist/cjs/components/Skeleton/Rectangle/Rectangle.js +2 -2
  29. package/dist/cjs/components/Skeleton/Text/Text.js +2 -2
  30. package/dist/cjs/components/SkipLink/SkipLink.js +2 -2
  31. package/dist/cjs/components/Spinner/Spinner.js +9 -7
  32. package/dist/cjs/components/Table/Table.js +3 -1
  33. package/dist/cjs/components/Tabs/Tab/Tab.js +3 -3
  34. package/dist/cjs/components/Tabs/Tab/useTab.js +1 -3
  35. package/dist/cjs/components/Tabs/TabList/TabList.js +2 -2
  36. package/dist/cjs/components/Tabs/Tabs.js +5 -2
  37. package/dist/cjs/components/Tag/Tag.js +3 -1
  38. package/dist/cjs/components/ToggleGroup/ToggleGroup.js +3 -1
  39. package/dist/cjs/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +3 -3
  40. package/dist/cjs/components/Tooltip/Tooltip.js +9 -9
  41. package/dist/cjs/components/Typography/ErrorMessage/ErrorMessage.js +5 -3
  42. package/dist/cjs/components/Typography/Heading/Heading.js +5 -3
  43. package/dist/cjs/components/Typography/Ingress/Ingress.js +5 -3
  44. package/dist/cjs/components/Typography/Label/Label.js +5 -3
  45. package/dist/cjs/components/Typography/Paragraph/Paragraph.js +5 -3
  46. package/dist/cjs/components/form/Checkbox/Checkbox.js +2 -2
  47. package/dist/cjs/components/form/Checkbox/Group/Group.js +1 -1
  48. package/dist/cjs/components/form/Combobox/Combobox.js +6 -4
  49. package/dist/cjs/components/form/Combobox/Custom.js +1 -1
  50. package/dist/cjs/components/form/Combobox/Option/useComboboxOption.js +1 -1
  51. package/dist/cjs/components/form/Combobox/internal/ComboboxInput.js +1 -1
  52. package/dist/cjs/components/form/Combobox/useFloatingCombobox.js +2 -2
  53. package/dist/cjs/components/form/Fieldset/Fieldset.js +2 -2
  54. package/dist/cjs/components/form/NativeSelect/NativeSelect.js +3 -3
  55. package/dist/cjs/components/form/NativeSelect/useNativeSelect.js +3 -1
  56. package/dist/cjs/components/form/Radio/Group/Group.js +3 -3
  57. package/dist/cjs/components/form/Radio/Radio.js +3 -3
  58. package/dist/cjs/components/form/Search/Search.js +5 -5
  59. package/dist/cjs/components/form/Search/useSearch.js +3 -7
  60. package/dist/cjs/components/form/Switch/Switch.js +1 -1
  61. package/dist/cjs/components/form/Textarea/Textarea.js +4 -4
  62. package/dist/cjs/components/form/Textarea/useTextarea.js +3 -1
  63. package/dist/cjs/components/form/Textfield/Textfield.js +6 -6
  64. package/dist/cjs/components/form/Textfield/useTextfield.js +3 -1
  65. package/dist/cjs/components/form/useFormField.js +5 -7
  66. package/dist/cjs/{packages/react/node_modules → node_modules}/@floating-ui/dom/dist/floating-ui.dom.js +3 -3
  67. package/dist/cjs/{packages/react/node_modules → node_modules}/@floating-ui/react/dist/floating-ui.react.js +2 -2
  68. package/dist/cjs/{packages/react/node_modules → node_modules}/@floating-ui/react/dist/floating-ui.react.utils.js +1 -1
  69. package/dist/cjs/utilities/AnimateHeight/AnimateHeight.js +2 -2
  70. package/dist/cjs/utilities/RovingTabIndex/RovingTabindexItem.js +1 -1
  71. package/dist/cjs/utilities/RovingTabIndex/RovingTabindexRoot.js +1 -1
  72. package/dist/esm/components/Accordion/Accordion.js +1 -1
  73. package/dist/esm/components/Accordion/AccordionContent/AccordionContent.js +2 -2
  74. package/dist/esm/components/Accordion/AccordionHeader/AccordionHeader.js +2 -2
  75. package/dist/esm/components/Accordion/AccordionItem/AccordionItem.js +1 -1
  76. package/dist/esm/components/Alert/Alert.js +4 -2
  77. package/dist/esm/components/Box/Box.js +4 -1
  78. package/dist/esm/components/Chip/Group/Group.js +5 -1
  79. package/dist/esm/components/Chip/Removable/Removable.js +3 -1
  80. package/dist/esm/components/Chip/Toggle/Toggle.js +3 -1
  81. package/dist/esm/components/Divider/Divider.js +1 -1
  82. package/dist/esm/components/DropdownMenu/DropdownMenu.js +4 -2
  83. package/dist/esm/components/DropdownMenu/DropdownMenuContent.js +3 -3
  84. package/dist/esm/components/DropdownMenu/DropdownMenuItem.js +2 -2
  85. package/dist/esm/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
  86. package/dist/esm/components/HelpText/HelpText.js +4 -2
  87. package/dist/esm/components/List/ListHeading.js +3 -3
  88. package/dist/esm/components/List/ListItem.js +1 -1
  89. package/dist/esm/components/List/ListRoot.js +4 -2
  90. package/dist/esm/components/List/Lists.js +1 -1
  91. package/dist/esm/components/Modal/ModalDialog.js +1 -1
  92. package/dist/esm/components/Modal/ModalHeader.js +1 -1
  93. package/dist/esm/components/Pagination/Pagination.js +6 -4
  94. package/dist/esm/components/Pagination/PaginationRoot.js +4 -2
  95. package/dist/esm/components/Popover/Popover.js +4 -2
  96. package/dist/esm/components/Popover/PopoverContent.js +4 -4
  97. package/dist/esm/components/Popover/PopoverTrigger.js +1 -1
  98. package/dist/esm/components/Skeleton/Circle/Circle.js +1 -1
  99. package/dist/esm/components/Skeleton/Rectangle/Rectangle.js +1 -1
  100. package/dist/esm/components/Skeleton/Text/Text.js +1 -1
  101. package/dist/esm/components/SkipLink/SkipLink.js +1 -1
  102. package/dist/esm/components/Spinner/Spinner.js +9 -7
  103. package/dist/esm/components/Table/Table.js +3 -1
  104. package/dist/esm/components/Tabs/Tab/Tab.js +3 -3
  105. package/dist/esm/components/Tabs/Tab/useTab.js +1 -3
  106. package/dist/esm/components/Tabs/TabList/TabList.js +1 -1
  107. package/dist/esm/components/Tabs/Tabs.js +5 -2
  108. package/dist/esm/components/Tag/Tag.js +3 -1
  109. package/dist/esm/components/ToggleGroup/ToggleGroup.js +3 -1
  110. package/dist/esm/components/ToggleGroup/ToggleGroupItem/ToggleGroupItem.js +2 -2
  111. package/dist/esm/components/Tooltip/Tooltip.js +9 -9
  112. package/dist/esm/components/Typography/ErrorMessage/ErrorMessage.js +4 -2
  113. package/dist/esm/components/Typography/Heading/Heading.js +4 -2
  114. package/dist/esm/components/Typography/Ingress/Ingress.js +4 -2
  115. package/dist/esm/components/Typography/Label/Label.js +4 -2
  116. package/dist/esm/components/Typography/Paragraph/Paragraph.js +4 -2
  117. package/dist/esm/components/form/Checkbox/Checkbox.js +2 -2
  118. package/dist/esm/components/form/Checkbox/Group/Group.js +1 -1
  119. package/dist/esm/components/form/Combobox/Combobox.js +6 -4
  120. package/dist/esm/components/form/Combobox/Custom.js +1 -1
  121. package/dist/esm/components/form/Combobox/Option/useComboboxOption.js +1 -1
  122. package/dist/esm/components/form/Combobox/internal/ComboboxInput.js +1 -1
  123. package/dist/esm/components/form/Combobox/useFloatingCombobox.js +2 -2
  124. package/dist/esm/components/form/Fieldset/Fieldset.js +1 -1
  125. package/dist/esm/components/form/NativeSelect/NativeSelect.js +2 -2
  126. package/dist/esm/components/form/NativeSelect/useNativeSelect.js +3 -1
  127. package/dist/esm/components/form/Radio/Group/Group.js +2 -2
  128. package/dist/esm/components/form/Radio/Radio.js +2 -2
  129. package/dist/esm/components/form/Search/Search.js +3 -3
  130. package/dist/esm/components/form/Search/useSearch.js +3 -7
  131. package/dist/esm/components/form/Switch/Switch.js +1 -1
  132. package/dist/esm/components/form/Textarea/Textarea.js +2 -2
  133. package/dist/esm/components/form/Textarea/useTextarea.js +3 -1
  134. package/dist/esm/components/form/Textfield/Textfield.js +3 -3
  135. package/dist/esm/components/form/Textfield/useTextfield.js +3 -1
  136. package/dist/esm/components/form/useFormField.js +5 -7
  137. package/dist/esm/{packages/react/node_modules → node_modules}/@floating-ui/dom/dist/floating-ui.dom.js +4 -4
  138. package/dist/esm/{packages/react/node_modules → node_modules}/@floating-ui/react/dist/floating-ui.react.js +2 -2
  139. package/dist/esm/{packages/react/node_modules → node_modules}/@floating-ui/react/dist/floating-ui.react.utils.js +1 -1
  140. package/dist/esm/utilities/AnimateHeight/AnimateHeight.js +1 -1
  141. package/dist/esm/utilities/RovingTabIndex/RovingTabindexItem.js +1 -1
  142. package/dist/esm/utilities/RovingTabIndex/RovingTabindexRoot.js +1 -1
  143. package/dist/types/components/Alert/Alert.d.ts +13 -6
  144. package/dist/types/components/Alert/Alert.d.ts.map +1 -1
  145. package/dist/types/components/Box/Box.d.ts +7 -4
  146. package/dist/types/components/Box/Box.d.ts.map +1 -1
  147. package/dist/types/components/Chip/Group/Group.d.ts +9 -3
  148. package/dist/types/components/Chip/Group/Group.d.ts.map +1 -1
  149. package/dist/types/components/Chip/Removable/Removable.d.ts +9 -6
  150. package/dist/types/components/Chip/Removable/Removable.d.ts.map +1 -1
  151. package/dist/types/components/Chip/Toggle/Toggle.d.ts +9 -6
  152. package/dist/types/components/Chip/Toggle/Toggle.d.ts.map +1 -1
  153. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +7 -4
  154. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  155. package/dist/types/components/HelpText/HelpText.d.ts +4 -3
  156. package/dist/types/components/HelpText/HelpText.d.ts.map +1 -1
  157. package/dist/types/components/List/ListHeading.d.ts +1 -1
  158. package/dist/types/components/List/ListRoot.d.ts +15 -9
  159. package/dist/types/components/List/ListRoot.d.ts.map +1 -1
  160. package/dist/types/components/Pagination/Pagination.d.ts +12 -4
  161. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  162. package/dist/types/components/Pagination/PaginationNextPrev.d.ts +2 -2
  163. package/dist/types/components/Pagination/PaginationNextPrev.d.ts.map +1 -1
  164. package/dist/types/components/Pagination/PaginationRoot.d.ts +7 -4
  165. package/dist/types/components/Pagination/PaginationRoot.d.ts.map +1 -1
  166. package/dist/types/components/Popover/Popover.d.ts +8 -4
  167. package/dist/types/components/Popover/Popover.d.ts.map +1 -1
  168. package/dist/types/components/Spinner/Spinner.d.ts +10 -3
  169. package/dist/types/components/Spinner/Spinner.d.ts.map +1 -1
  170. package/dist/types/components/Table/Table.d.ts +8 -4
  171. package/dist/types/components/Table/Table.d.ts.map +1 -1
  172. package/dist/types/components/Tabs/Tab/Tab.d.ts.map +1 -1
  173. package/dist/types/components/Tabs/Tab/useTab.d.ts +1 -3
  174. package/dist/types/components/Tabs/Tab/useTab.d.ts.map +1 -1
  175. package/dist/types/components/Tabs/Tabs.d.ts +14 -4
  176. package/dist/types/components/Tabs/Tabs.d.ts.map +1 -1
  177. package/dist/types/components/Tag/Tag.d.ts +9 -5
  178. package/dist/types/components/Tag/Tag.d.ts.map +1 -1
  179. package/dist/types/components/ToggleGroup/ToggleGroup.d.ts +14 -5
  180. package/dist/types/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
  181. package/dist/types/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.d.ts +2 -1
  182. package/dist/types/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.d.ts.map +1 -1
  183. package/dist/types/components/Tooltip/Tooltip.d.ts +14 -3
  184. package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
  185. package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts +14 -4
  186. package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts.map +1 -1
  187. package/dist/types/components/Typography/Heading/Heading.d.ts +10 -4
  188. package/dist/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  189. package/dist/types/components/Typography/Ingress/Ingress.d.ts +8 -4
  190. package/dist/types/components/Typography/Ingress/Ingress.d.ts.map +1 -1
  191. package/dist/types/components/Typography/Label/Label.d.ts +15 -4
  192. package/dist/types/components/Typography/Label/Label.d.ts.map +1 -1
  193. package/dist/types/components/Typography/Paragraph/Paragraph.d.ts +18 -4
  194. package/dist/types/components/Typography/Paragraph/Paragraph.d.ts.map +1 -1
  195. package/dist/types/components/form/CharacterCounter.d.ts +2 -1
  196. package/dist/types/components/form/CharacterCounter.d.ts.map +1 -1
  197. package/dist/types/components/form/Checkbox/Checkbox.d.ts.map +1 -1
  198. package/dist/types/components/form/Checkbox/Group/Group.d.ts.map +1 -1
  199. package/dist/types/components/form/Combobox/Combobox.d.ts +2 -2
  200. package/dist/types/components/form/Combobox/Combobox.d.ts.map +1 -1
  201. package/dist/types/components/form/Combobox/Option/useComboboxOption.d.ts +1 -1
  202. package/dist/types/components/form/Fieldset/useFieldset.d.ts +1 -1
  203. package/dist/types/components/form/NativeSelect/NativeSelect.d.ts +10 -6
  204. package/dist/types/components/form/NativeSelect/NativeSelect.d.ts.map +1 -1
  205. package/dist/types/components/form/NativeSelect/useNativeSelect.d.ts.map +1 -1
  206. package/dist/types/components/form/Search/Search.d.ts +12 -6
  207. package/dist/types/components/form/Search/Search.d.ts.map +1 -1
  208. package/dist/types/components/form/Search/useSearch.d.ts +1 -3
  209. package/dist/types/components/form/Search/useSearch.d.ts.map +1 -1
  210. package/dist/types/components/form/Textarea/Textarea.d.ts +10 -10
  211. package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
  212. package/dist/types/components/form/Textarea/useTextarea.d.ts.map +1 -1
  213. package/dist/types/components/form/Textfield/Textfield.d.ts +14 -4
  214. package/dist/types/components/form/Textfield/Textfield.d.ts.map +1 -1
  215. package/dist/types/components/form/Textfield/useTextfield.d.ts.map +1 -1
  216. package/dist/types/components/form/useFormField.d.ts +8 -2
  217. package/dist/types/components/form/useFormField.d.ts.map +1 -1
  218. package/package.json +2 -2
  219. package/dist/cjs/node_modules/clsx/dist/clsx.js +0 -9
  220. package/dist/esm/node_modules/clsx/dist/clsx.js +0 -4
  221. /package/dist/cjs/{packages/react/node_modules → node_modules}/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -0
  222. /package/dist/cjs/{packages/react/node_modules → node_modules}/tabbable/dist/index.esm.js +0 -0
  223. /package/dist/esm/{packages/react/node_modules → node_modules}/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -0
  224. /package/dist/esm/{packages/react/node_modules → node_modules}/tabbable/dist/index.esm.js +0 -0
@@ -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,CAAC;IACtB,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,UAAU,EAAE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,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"}
@@ -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, "icon" | "size"> & 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, "icon" | "size"> & 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":"AAC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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,O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AAK,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,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;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,eAAe,CAAC;IAC5C,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;qFASjB,YAAY;;CA2Cd,CAAC;AAEF,eAAO,MAAM,cAAc;gBACb,MAAM,SAAS,CAAC,OAAO,CAAC;cAC1B,OAAO,GAAG,IAAI;;;;;kBAKV,OAAO;UACf,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"}
@@ -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"}
@@ -1,4 +1,5 @@
1
1
  import type { HTMLAttributes } from 'react';
2
+ type OldTabSize = 'small' | 'medium' | 'large';
2
3
  export type TabsProps = {
3
4
  /** Controlled state for `Tabs` component. */
4
5
  value?: string;
@@ -6,8 +7,12 @@ export type TabsProps = {
6
7
  defaultValue?: string;
7
8
  /** Callback with selected `TabItem` `value` */
8
9
  onChange?: (value: string) => void;
9
- /** Changes items size and paddings */
10
- size?: 'small' | 'medium' | 'large';
10
+ /**
11
+ * Changes items size and paddings
12
+ * @default md
13
+ * @note `small`, `medium`, `large` is deprecated
14
+ */
15
+ size?: 'sm' | 'md' | 'lg' | OldTabSize;
11
16
  } & Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'value'>;
12
17
  /** `Tabs` component.
13
18
  * @example
@@ -37,7 +42,12 @@ export declare const Tabs: import("react").ForwardRefExoticComponent<{
37
42
  defaultValue?: string | undefined;
38
43
  /** Callback with selected `TabItem` `value` */
39
44
  onChange?: ((value: string) => void) | undefined;
40
- /** Changes items size and paddings */
41
- size?: "small" | "medium" | "large" | undefined;
45
+ /**
46
+ * Changes items size and paddings
47
+ * @default md
48
+ * @note `small`, `medium`, `large` is deprecated
49
+ */
50
+ size?: "sm" | "md" | "lg" | OldTabSize | undefined;
42
51
  } & Omit<HTMLAttributes<HTMLDivElement>, "value" | "onChange"> & import("react").RefAttributes<HTMLDivElement>>;
52
+ export {};
43
53
  //# sourceMappingURL=Tabs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,SAAS,GAAG;IACtB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,sCAAsC;IACtC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC;AAE/D;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,WAAW,2CAAsC,CAAC;AAE/D,eAAO,MAAM,IAAI;IAjCf,6CAA6C;;IAE7C,qBAAqB;;IAErB,+CAA+C;wBAC5B,MAAM,KAAK,IAAI;IAClC,sCAAsC;;+GA+DvC,CAAC"}
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,KAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE/C,MAAM,MAAM,SAAS,GAAG;IACtB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,UAAU,CAAC;CACxC,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC;AAE/D;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,WAAW,2CAAsC,CAAC;AAE/D,eAAO,MAAM,IAAI;IArCf,6CAA6C;;IAE7C,qBAAqB;;IAErB,+CAA+C;wBAC5B,MAAM,KAAK,IAAI;IAClC;;;;OAIG;;+GA8DJ,CAAC"}
@@ -1,13 +1,15 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  import type { ParagraphProps } from '../Typography';
3
- type Size = Exclude<ParagraphProps['size'], 'xsmall'>;
3
+ type Size = Exclude<ParagraphProps['size'], 'xsmall' | 'xs'>;
4
4
  export type TagProps = {
5
5
  /** Color of the tag
6
6
  * @default neutral
7
7
  */
8
8
  color?: 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'first' | 'second' | 'third';
9
- /** Size of the tag
10
- * @default medium
9
+ /**
10
+ * Size of the tag
11
+ * @default md
12
+ * @note `small`, `medium`, `large` is deprecated
11
13
  */
12
14
  size?: Size;
13
15
  } & HTMLAttributes<HTMLSpanElement>;
@@ -16,8 +18,10 @@ export declare const Tag: import("react").ForwardRefExoticComponent<{
16
18
  * @default neutral
17
19
  */
18
20
  color?: "first" | "second" | "success" | "danger" | "info" | "warning" | "third" | "neutral" | undefined;
19
- /** Size of the tag
20
- * @default medium
21
+ /**
22
+ * Size of the tag
23
+ * @default md
24
+ * @note `small`, `medium`, `large` is deprecated
21
25
  */
22
26
  size?: Size;
23
27
  } & HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,KAAK,IAAI,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,CAAC;AAEtD,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,KAAK,CAAC,EACF,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,OAAO,GACP,QAAQ,GACR,OAAO,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEpC,eAAO,MAAM,GAAG;IAlBd;;OAEG;;IAUH;;OAEG;WACI,IAAI;qFA4BZ,CAAC"}
1
+ {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAIpD,KAAK,IAAI,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC,CAAC;AAE7D,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,KAAK,CAAC,EACF,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,OAAO,GACP,QAAQ,GACR,OAAO,CAAC;IACZ;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEpC,eAAO,MAAM,GAAG;IApBd;;OAEG;;IAUH;;;;OAIG;WACI,IAAI;qFA2BZ,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import type { HTMLAttributes } from 'react';
2
+ import type { ButtonProps } from '../Button';
2
3
  export type ToggleGroupContextProps = {
3
4
  value?: string;
4
5
  defaultValue?: string;
5
6
  onChange?: (value: string) => void;
6
7
  name?: string;
7
- size?: 'small' | 'medium' | 'large';
8
+ size?: ButtonProps['size'];
8
9
  };
9
10
  export declare const ToggleGroupContext: import("react").Context<ToggleGroupContextProps>;
10
11
  export type ToggleGroupProps = {
@@ -16,8 +17,12 @@ export type ToggleGroupProps = {
16
17
  onChange?: (value: string) => void;
17
18
  /** Form element name */
18
19
  name?: string;
19
- /** Changes items size and paddings */
20
- size?: 'small' | 'medium' | 'large';
20
+ /**
21
+ * Changes items size and paddings
22
+ * @default md
23
+ * @note `small`, `medium`, `large` is deprecated
24
+ */
25
+ size?: ToggleGroupContextProps['size'];
21
26
  } & Omit<HTMLAttributes<HTMLDivElement>, 'value' | 'onChange'>;
22
27
  /** `ToggleGroup` component.
23
28
  * @example
@@ -38,7 +43,11 @@ export declare const ToggleGroup: import("react").ForwardRefExoticComponent<{
38
43
  onChange?: ((value: string) => void) | undefined;
39
44
  /** Form element name */
40
45
  name?: string | undefined;
41
- /** Changes items size and paddings */
42
- size?: "small" | "medium" | "large" | undefined;
46
+ /**
47
+ * Changes items size and paddings
48
+ * @default md
49
+ * @note `small`, `medium`, `large` is deprecated
50
+ */
51
+ size?: ToggleGroupContextProps['size'];
43
52
  } & Omit<HTMLAttributes<HTMLDivElement>, "value" | "onChange"> & import("react").RefAttributes<HTMLDivElement>>;
44
53
  //# sourceMappingURL=ToggleGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToggleGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleGroup/ToggleGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,kDAA6C,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAE/D;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW;IAtBtB,oDAAoD;;IAEpD,qBAAqB;;IAErB,uDAAuD;wB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
1
+ import type { ToggleGroupContextProps } from '../ToggleGroup';
1
2
  import type { ButtonProps } from '../../Button';
2
3
  import type { ToggleGroupItemProps } from './ToggleGroupItem';
3
4
  type UseToggleGroupItem = (props: ToggleGroupItemProps) => {
4
5
  active: boolean;
5
- size?: 'small' | 'medium' | 'large';
6
+ size?: ToggleGroupContextProps['size'];
6
7
  buttonProps?: Pick<ButtonProps, 'id' | 'onClick' | 'role' | 'aria-checked' | 'aria-current' | 'name'>;
7
8
  };
8
9
  /** Handles props for `ToggleGroup.Item` in context with `ToggleGroup` and `RovingTabIndex` */
@@ -1 +1 @@
1
- {"version":3,"file":"useToggleGroupitem.d.ts","sourceRoot":"","sources":["../../../../../src/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,oBAAoB,KAAK;IACzD,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,WAAW,CAAC,EAAE,IAAI,CAChB,WAAW,EACX,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,cAAc,GAAG,cAAc,GAAG,MAAM,CACrE,CAAC;CACH,CAAC;AAEF,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB,EAAE,kBAyBhC,CAAC"}
1
+ {"version":3,"file":"useToggleGroupitem.d.ts","sourceRoot":"","sources":["../../../../../src/components/ToggleGroup/ToggleGroupItem/useToggleGroupitem.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAE9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,oBAAoB,KAAK;IACzD,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACvC,WAAW,CAAC,EAAE,IAAI,CAChB,WAAW,EACX,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,cAAc,GAAG,cAAc,GAAG,MAAM,CACrE,CAAC;CACH,CAAC;AAEF,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB,EAAE,kBAyBhC,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  import * as React from 'react';
3
- import type { PortalProps } from '../../types/Portal';
4
3
  export type TooltipProps = {
5
4
  /**
6
5
  * The element that triggers the tooltip.
@@ -26,7 +25,13 @@ export type TooltipProps = {
26
25
  defaultOpen?: boolean;
27
26
  /** Inverts the color of the tooltip. Use this on dark backgrounds. */
28
27
  inverted?: boolean;
29
- } & PortalProps & HTMLAttributes<HTMLDivElement>;
28
+ /**
29
+ * Portals the floating element outside of the app root and into the body.
30
+ * @see https://floating-ui.com/docs/floatingportal
31
+ * @default true
32
+ */
33
+ portal?: boolean;
34
+ } & HTMLAttributes<HTMLDivElement>;
30
35
  export declare const Tooltip: React.ForwardRefExoticComponent<{
31
36
  /**
32
37
  * The element that triggers the tooltip.
@@ -52,5 +57,11 @@ export declare const Tooltip: React.ForwardRefExoticComponent<{
52
57
  defaultOpen?: boolean | undefined;
53
58
  /** Inverts the color of the tooltip. Use this on dark backgrounds. */
54
59
  inverted?: boolean | undefined;
55
- } & PortalProps & HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
60
+ /**
61
+ * Portals the floating element outside of the app root and into the body.
62
+ * @see https://floating-ui.com/docs/floatingportal
63
+ * @default true
64
+ */
65
+ portal?: boolean | undefined;
66
+ } & HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
56
67
  //# sourceMappingURL=Tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAChE,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,qDAAqD;IACrD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,GACb,cAAc,CAAC,cAAc,CAAC,CAAC;AAEjC,eAAO,MAAM,OAAO;IA3BlB;;;OAGG;cACO,MAAM,YAAY,GAAG,MAAM,aAAa,CAAC,WAAW,CAAC;IAC/D,6BAA6B;aACpB,MAAM;IACf;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH,qDAAqD;;IAErD,sEAAsE;;uFAsHvE,CAAC"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuB/B,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAChE,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,qDAAqD;IACrD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO;IAhClB;;;OAGG;cACO,MAAM,YAAY,GAAG,MAAM,aAAa,CAAC,WAAW,CAAC;IAC/D,6BAA6B;aACpB,MAAM;IACf;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH,qDAAqD;;IAErD,sEAAsE;;IAEtE;;;;OAIG;;yEAmHJ,CAAC"}
@@ -1,7 +1,12 @@
1
1
  import type { HTMLAttributes } from 'react';
2
+ type OldErrorMessageSizes = 'xsmall' | 'small' | 'medium' | 'large';
2
3
  export type ErrorMessageProps = {
3
- /** Changes text sizing */
4
- size?: 'xsmall' | 'small' | 'medium' | 'large';
4
+ /**
5
+ * Changes text sizing
6
+ * @default md
7
+ * @note `xsmall`, `small`, `medium`, `large` is deprecated
8
+ */
9
+ size?: 'xs' | 'sm' | 'md' | 'lg' | OldErrorMessageSizes;
5
10
  /** Adds margin-bottom */
6
11
  spacing?: boolean;
7
12
  /** Toggle error color */
@@ -14,8 +19,12 @@ export type ErrorMessageProps = {
14
19
  } & HTMLAttributes<HTMLParagraphElement>;
15
20
  /** Use `ErrorMessage` to display text as error message. */
16
21
  export declare const ErrorMessage: import("react").ForwardRefExoticComponent<{
17
- /** Changes text sizing */
18
- size?: "xsmall" | "small" | "medium" | "large" | undefined;
22
+ /**
23
+ * Changes text sizing
24
+ * @default md
25
+ * @note `xsmall`, `small`, `medium`, `large` is deprecated
26
+ */
27
+ size?: "xs" | "sm" | "md" | "lg" | OldErrorMessageSizes | undefined;
19
28
  /** Adds margin-bottom */
20
29
  spacing?: boolean | undefined;
21
30
  /** Toggle error color */
@@ -26,4 +35,5 @@ export declare const ErrorMessage: import("react").ForwardRefExoticComponent<{
26
35
  */
27
36
  asChild?: boolean | undefined;
28
37
  } & HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
38
+ export {};
29
39
  //# sourceMappingURL=ErrorMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/ErrorMessage/ErrorMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,0BAA0B;IAC1B,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC/C,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yBAAyB;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC,2DAA2D;AAC3D,eAAO,MAAM,YAAY;IAdvB,0BAA0B;;IAE1B,yBAAyB;;IAEzB,yBAAyB;;IAEzB;;;OAGG;;+FA0BJ,CAAC"}
1
+ {"version":3,"file":"ErrorMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/ErrorMessage/ErrorMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C,KAAK,oBAAoB,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpE,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,oBAAoB,CAAC;IACxD,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yBAAyB;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC,2DAA2D;AAC3D,eAAO,MAAM,YAAY;IAlBvB;;;;OAIG;;IAEH,yBAAyB;;IAEzB,yBAAyB;;IAEzB;;;OAGG;;+FAwBJ,CAAC"}
@@ -1,11 +1,14 @@
1
1
  import type { HTMLAttributes } from 'react';
2
+ type OldHeadingSizes = 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge' | '3xlarge';
2
3
  export type HeadingProps = {
3
4
  /** Heading level. This will translate into any h1-6 level unless `as` is defined */
4
5
  level?: 1 | 2 | 3 | 4 | 5 | 6;
5
6
  /** Changes text sizing
6
- * @default 'xlarge'
7
+ * @default 'xl'
8
+ *
9
+ * @note `xxsmall`, `xsmall`, `small`, `medium`, `large`, `xlarge`, `2xlarge`, `3xlarge` is deprecated
7
10
  */
8
- size?: 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge' | '3xlarge';
11
+ size?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | OldHeadingSizes;
9
12
  /** Adds margin-bottom */
10
13
  spacing?: boolean;
11
14
  /**
@@ -19,9 +22,11 @@ export declare const Heading: import("react").ForwardRefExoticComponent<{
19
22
  /** Heading level. This will translate into any h1-6 level unless `as` is defined */
20
23
  level?: 1 | 2 | 3 | 4 | 5 | 6 | undefined;
21
24
  /** Changes text sizing
22
- * @default 'xlarge'
25
+ * @default 'xl'
26
+ *
27
+ * @note `xxsmall`, `xsmall`, `small`, `medium`, `large`, `xlarge`, `2xlarge`, `3xlarge` is deprecated
23
28
  */
24
- size?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "3xlarge" | undefined;
29
+ size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | OldHeadingSizes | undefined;
25
30
  /** Adds margin-bottom */
26
31
  spacing?: boolean | undefined;
27
32
  /**
@@ -30,4 +35,5 @@ export declare const Heading: import("react").ForwardRefExoticComponent<{
30
35
  */
31
36
  asChild?: boolean | undefined;
32
37
  } & HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLHeadingElement>>;
38
+ export {};
33
39
  //# sourceMappingURL=Heading.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,cAAc,EAAE,MAAM,OAAO,CAAC;AAKzD,MAAM,MAAM,YAAY,GAAG;IACzB,oFAAoF;IACpF,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B;;OAEG;IACH,IAAI,CAAC,EACD,SAAS,GACT,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,SAAS,GACT,SAAS,CAAC;IACd,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,kBAAkB,CAAC,CAAC;AAEvC,uEAAuE;AACvE,eAAO,MAAM,OAAO;IAxBlB,oFAAoF;;IAEpF;;OAEG;;IAUH,yBAAyB;;IAEzB;;;OAGG;;2FAgCJ,CAAC"}
1
+ {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,cAAc,EAAE,MAAM,OAAO,CAAC;AAOzD,KAAK,eAAe,GAChB,SAAS,GACT,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,MAAM,YAAY,GAAG;IACzB,oFAAoF;IACpF,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EACD,KAAK,GACL,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,KAAK,GACL,eAAe,CAAC;IACpB,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,kBAAkB,CAAC,CAAC;AAEvC,uEAAuE;AACvE,eAAO,MAAM,OAAO;IA3BlB,oFAAoF;;IAEpF;;;;OAIG;;IAWH,yBAAyB;;IAEzB;;;OAGG;;2FAuBJ,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import type { HTMLAttributes } from 'react';
2
+ type OldIngressSizes = 'large' | 'medium' | 'small' | 'xsmall';
2
3
  export type IngressProps = {
3
4
  /** Changes text sizing
4
- * @default 'medium'
5
+ * @default md
6
+ * @note `xsmall`, `small`, `medium`, `large` is deprecated
5
7
  */
6
- size?: 'large' | 'medium' | 'small' | 'xsmall';
8
+ size?: 'xs' | 'sm' | 'md' | 'lg' | OldIngressSizes;
7
9
  /** Adds margin-bottom */
8
10
  spacing?: boolean;
9
11
  /**
@@ -15,9 +17,10 @@ export type IngressProps = {
15
17
  /** Use `Ingress` to display text as ingress. */
16
18
  export declare const Ingress: import("react").ForwardRefExoticComponent<{
17
19
  /** Changes text sizing
18
- * @default 'medium'
20
+ * @default md
21
+ * @note `xsmall`, `small`, `medium`, `large` is deprecated
19
22
  */
20
- size?: "xsmall" | "small" | "medium" | "large" | undefined;
23
+ size?: "xs" | "sm" | "md" | "lg" | OldIngressSizes | undefined;
21
24
  /** Adds margin-bottom */
22
25
  spacing?: boolean | undefined;
23
26
  /**
@@ -26,4 +29,5 @@ export declare const Ingress: import("react").ForwardRefExoticComponent<{
26
29
  */
27
30
  asChild?: boolean | undefined;
28
31
  } & HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
32
+ export {};
29
33
  //# sourceMappingURL=Ingress.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Ingress.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Ingress/Ingress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC/C,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC,gDAAgD;AAChD,eAAO,MAAM,OAAO;IAdlB;;OAEG;;IAEH,yBAAyB;;IAEzB;;;OAGG;;+FAsBJ,CAAC"}
1
+ {"version":3,"file":"Ingress.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Ingress/Ingress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C,KAAK,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,eAAe,CAAC;IACnD,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC,gDAAgD;AAChD,eAAO,MAAM,OAAO;IAflB;;;OAGG;;IAEH,yBAAyB;;IAEzB;;;OAGG;;+FAuBJ,CAAC"}
@@ -1,8 +1,14 @@
1
1
  import type { LabelHTMLAttributes } from 'react';
2
+ type OldLabelSizes = 'xsmall' | 'small' | 'medium' | 'large';
2
3
  type FontWeights = 'regular' | 'medium' | 'semibold';
3
4
  export type LabelProps = {
4
- /** Changes text sizing */
5
- size?: 'xsmall' | 'small' | 'medium' | 'large';
5
+ /**
6
+ * Changes text sizing
7
+ *
8
+ * @default md
9
+ * @note `xsmall`, `small`, `medium`, `large` is deprecated
10
+ */
11
+ size?: 'xs' | 'sm' | 'md' | 'lg' | OldLabelSizes;
6
12
  /** Adds margin-bottom */
7
13
  spacing?: boolean;
8
14
  /** Adjusts font weight. Use this when you have a label hierarchy, such as checkboxes/radios in a fieldset */
@@ -15,8 +21,13 @@ export type LabelProps = {
15
21
  } & LabelHTMLAttributes<HTMLLabelElement>;
16
22
  /** Use `Label` for labels. */
17
23
  export declare const Label: import("react").ForwardRefExoticComponent<{
18
- /** Changes text sizing */
19
- size?: "xsmall" | "small" | "medium" | "large" | undefined;
24
+ /**
25
+ * Changes text sizing
26
+ *
27
+ * @default md
28
+ * @note `xsmall`, `small`, `medium`, `large` is deprecated
29
+ */
30
+ size?: "xs" | "sm" | "md" | "lg" | OldLabelSizes | undefined;
20
31
  /** Adds margin-bottom */
21
32
  spacing?: boolean | undefined;
22
33
  /** Adjusts font weight. Use this when you have a label hierarchy, such as checkboxes/radios in a fieldset */