@bi-digital/react 0.12.2 → 0.12.4

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 (231) hide show
  1. package/dist/{alert-footer-Yb_zpMhd.d.mts → alert-footer-BoTu7E1s.d.mts} +194 -605
  2. package/dist/components/alert/alert-footer.d.mts +1 -1
  3. package/dist/components/alert/alert-footer.mjs.map +1 -1
  4. package/dist/components/alert/alert.d.mts +1 -1
  5. package/dist/components/alert/alert.mjs +1 -1
  6. package/dist/components/alert/alert.mjs.map +1 -1
  7. package/dist/components/alert/index.d.mts +2 -2
  8. package/dist/components/avatar/avatar.d.mts +1 -1
  9. package/dist/components/avatar/avatar.mjs.map +1 -1
  10. package/dist/components/avatar/index.d.mts +2 -2
  11. package/dist/components/badge/badge.d.mts +1 -1
  12. package/dist/components/badge/badge.mjs.map +1 -1
  13. package/dist/components/badge/index.d.mts +2 -2
  14. package/dist/components/button/button.d.mts +1 -1
  15. package/dist/components/button/button.mjs.map +1 -1
  16. package/dist/components/button/index.d.mts +2 -2
  17. package/dist/components/card/card-action.d.mts +1 -1
  18. package/dist/components/card/card-action.mjs.map +1 -1
  19. package/dist/components/card/card-actions.d.mts +1 -1
  20. package/dist/components/card/card-actions.mjs.map +1 -1
  21. package/dist/components/card/card-content.d.mts +1 -1
  22. package/dist/components/card/card-content.mjs.map +1 -1
  23. package/dist/components/card/card-date.d.mts +1 -1
  24. package/dist/components/card/card-date.mjs.map +1 -1
  25. package/dist/components/card/card-header.d.mts +1 -1
  26. package/dist/components/card/card-header.mjs.map +1 -1
  27. package/dist/components/card/card-media.d.mts +1 -1
  28. package/dist/components/card/card-media.mjs.map +1 -1
  29. package/dist/components/card/card.d.mts +1 -1
  30. package/dist/components/card/card.mjs.map +1 -1
  31. package/dist/components/card/index.d.mts +2 -2
  32. package/dist/components/checkbox/checkbox-subsection.d.mts +1 -1
  33. package/dist/components/checkbox/checkbox-subsection.mjs.map +1 -1
  34. package/dist/components/checkbox/checkbox.d.mts +1 -1
  35. package/dist/components/checkbox/checkbox.mjs.map +1 -1
  36. package/dist/components/checkbox/index.d.mts +2 -2
  37. package/dist/components/chip/chip.d.mts +1 -1
  38. package/dist/components/chip/chip.mjs.map +1 -1
  39. package/dist/components/chip/index.d.mts +2 -2
  40. package/dist/components/details/details-content.d.mts +1 -1
  41. package/dist/components/details/details-content.mjs.map +1 -1
  42. package/dist/components/details/details-summary.d.mts +1 -1
  43. package/dist/components/details/details-summary.mjs.map +1 -1
  44. package/dist/components/details/details.d.mts +1 -1
  45. package/dist/components/details/details.mjs.map +1 -1
  46. package/dist/components/details/index.d.mts +2 -2
  47. package/dist/components/dialog/dialog-close-button.d.mts +1 -1
  48. package/dist/components/dialog/dialog-close-button.mjs.map +1 -1
  49. package/dist/components/dialog/dialog-content.d.mts +1 -1
  50. package/dist/components/dialog/dialog-content.mjs.map +1 -1
  51. package/dist/components/dialog/dialog-footer.d.mts +1 -1
  52. package/dist/components/dialog/dialog-footer.mjs.map +1 -1
  53. package/dist/components/dialog/dialog-header.d.mts +1 -1
  54. package/dist/components/dialog/dialog-header.mjs.map +1 -1
  55. package/dist/components/dialog/dialog-trigger-context.d.mts +1 -1
  56. package/dist/components/dialog/dialog-trigger-context.mjs.map +1 -1
  57. package/dist/components/dialog/dialog-trigger.d.mts +1 -1
  58. package/dist/components/dialog/dialog-trigger.mjs.map +1 -1
  59. package/dist/components/dialog/dialog.d.mts +1 -1
  60. package/dist/components/dialog/dialog.mjs.map +1 -1
  61. package/dist/components/dialog/index.d.mts +3 -3
  62. package/dist/components/dropdown/dropdown-button.d.mts +1 -1
  63. package/dist/components/dropdown/dropdown-button.mjs.map +1 -1
  64. package/dist/components/dropdown/dropdown-item.d.mts +1 -1
  65. package/dist/components/dropdown/dropdown-item.mjs.map +1 -1
  66. package/dist/components/dropdown/dropdown-list.d.mts +1 -1
  67. package/dist/components/dropdown/dropdown-list.mjs.map +1 -1
  68. package/dist/components/dropdown/dropdown-trigger-context.d.mts +1 -1
  69. package/dist/components/dropdown/dropdown-trigger-context.mjs.map +1 -1
  70. package/dist/components/dropdown/dropdown-trigger.d.mts +1 -1
  71. package/dist/components/dropdown/dropdown-trigger.mjs.map +1 -1
  72. package/dist/components/dropdown/dropdown.d.mts +1 -1
  73. package/dist/components/dropdown/dropdown.mjs.map +1 -1
  74. package/dist/components/dropdown/index.d.mts +4 -4
  75. package/dist/components/field/field-affix.d.mts +1 -1
  76. package/dist/components/field/field-affix.mjs.map +1 -1
  77. package/dist/components/field/field-description.d.mts +1 -1
  78. package/dist/components/field/field-description.mjs.map +1 -1
  79. package/dist/components/field/field.d.mts +1 -1
  80. package/dist/components/field/field.mjs.map +1 -1
  81. package/dist/components/field/index.d.mts +2 -2
  82. package/dist/components/fieldset/fieldset-description.d.mts +1 -1
  83. package/dist/components/fieldset/fieldset-description.mjs.map +1 -1
  84. package/dist/components/fieldset/fieldset-legend.d.mts +1 -1
  85. package/dist/components/fieldset/fieldset-legend.mjs.map +1 -1
  86. package/dist/components/fieldset/fieldset.d.mts +1 -1
  87. package/dist/components/fieldset/fieldset.mjs.map +1 -1
  88. package/dist/components/fieldset/index.d.mts +2 -2
  89. package/dist/components/filter-group/filter-group.d.mts +1 -1
  90. package/dist/components/filter-group/filter-group.mjs.map +1 -1
  91. package/dist/components/filter-group/index.d.mts +2 -2
  92. package/dist/components/footer/footer-links.d.mts +1 -1
  93. package/dist/components/footer/footer-links.mjs.map +1 -1
  94. package/dist/components/footer/footer.d.mts +1 -1
  95. package/dist/components/footer/footer.mjs.map +1 -1
  96. package/dist/components/footer/index.d.mts +3 -3
  97. package/dist/components/index.d.mts +9 -9
  98. package/dist/components/input/index.d.mts +2 -2
  99. package/dist/components/input/input.d.mts +1 -1
  100. package/dist/components/input/input.mjs.map +1 -1
  101. package/dist/components/label/index.d.mts +2 -2
  102. package/dist/components/label/label.d.mts +1 -1
  103. package/dist/components/label/label.mjs.map +1 -1
  104. package/dist/components/link/index.d.mts +2 -2
  105. package/dist/components/link/link.d.mts +1 -1
  106. package/dist/components/link/link.mjs +1 -2
  107. package/dist/components/link/link.mjs.map +1 -1
  108. package/dist/components/logo/index.d.mts +2 -2
  109. package/dist/components/logo/logo.d.mts +1 -1
  110. package/dist/components/logo/logo.mjs.map +1 -1
  111. package/dist/components/navbar/index.d.mts +2 -2
  112. package/dist/components/navbar/navbar.d.mts +1 -1
  113. package/dist/components/navbar/navbar.mjs.map +1 -1
  114. package/dist/components/navbar/sub-navbar.d.mts +1 -1
  115. package/dist/components/navbar/sub-navbar.mjs.map +1 -1
  116. package/dist/components/pagination/index.d.mts +3 -3
  117. package/dist/components/pagination/pagination-button.d.mts +1 -1
  118. package/dist/components/pagination/pagination-button.mjs.map +1 -1
  119. package/dist/components/pagination/pagination-item.d.mts +1 -1
  120. package/dist/components/pagination/pagination-item.mjs.map +1 -1
  121. package/dist/components/pagination/pagination.d.mts +1 -1
  122. package/dist/components/pagination/pagination.mjs.map +1 -1
  123. package/dist/components/popover/index.d.mts +3 -3
  124. package/dist/components/popover/popover-trigger-context.d.mts +1 -1
  125. package/dist/components/popover/popover-trigger-context.mjs +2 -1
  126. package/dist/components/popover/popover-trigger-context.mjs.map +1 -1
  127. package/dist/components/popover/popover-trigger.d.mts +1 -1
  128. package/dist/components/popover/popover-trigger.mjs +9 -7
  129. package/dist/components/popover/popover-trigger.mjs.map +1 -1
  130. package/dist/components/popover/popover.d.mts +1 -1
  131. package/dist/components/popover/popover.mjs.map +1 -1
  132. package/dist/components/radio/index.d.mts +2 -2
  133. package/dist/components/radio/radio.d.mts +1 -1
  134. package/dist/components/radio/radio.mjs.map +1 -1
  135. package/dist/components/search/index.d.mts +2 -2
  136. package/dist/components/search/search.d.mts +1 -1
  137. package/dist/components/search/search.mjs.map +1 -1
  138. package/dist/components/select/index.d.mts +2 -2
  139. package/dist/components/select/select-optgroup.d.mts +1 -1
  140. package/dist/components/select/select-optgroup.mjs.map +1 -1
  141. package/dist/components/select/select-option.d.mts +1 -1
  142. package/dist/components/select/select-option.mjs.map +1 -1
  143. package/dist/components/select/select.d.mts +1 -1
  144. package/dist/components/select/select.mjs.map +1 -1
  145. package/dist/components/selectfield/index.d.mts +2 -2
  146. package/dist/components/selectfield/selectfield.d.mts +1 -1
  147. package/dist/components/selectfield/selectfield.mjs.map +1 -1
  148. package/dist/components/skip-link/index.d.mts +2 -2
  149. package/dist/components/skip-link/skip-link.d.mts +1 -1
  150. package/dist/components/skip-link/skip-link.mjs.map +1 -1
  151. package/dist/components/spinner/index.d.mts +2 -2
  152. package/dist/components/spinner/spinner.d.mts +1 -1
  153. package/dist/components/spinner/spinner.mjs +1 -2
  154. package/dist/components/spinner/spinner.mjs.map +1 -1
  155. package/dist/components/sticky-header/index.d.mts +3 -2
  156. package/dist/components/sticky-header/sticky-header.d.mts +1 -1
  157. package/dist/components/sticky-header/sticky-header.mjs.map +1 -1
  158. package/dist/components/switch/index.d.mts +2 -2
  159. package/dist/components/switch/switch.d.mts +1 -1
  160. package/dist/components/switch/switch.mjs.map +1 -1
  161. package/dist/components/tabs/index.d.mts +2 -2
  162. package/dist/components/tabs/tab.d.mts +1 -1
  163. package/dist/components/tabs/tab.mjs.map +1 -1
  164. package/dist/components/tabs/tabs-list.d.mts +1 -1
  165. package/dist/components/tabs/tabs-list.mjs.map +1 -1
  166. package/dist/components/tabs/tabs-panel.d.mts +1 -1
  167. package/dist/components/tabs/tabs-panel.mjs.map +1 -1
  168. package/dist/components/tabs/tabs.d.mts +1 -1
  169. package/dist/components/tabs/tabs.mjs.map +1 -1
  170. package/dist/components/textarea/index.d.mts +2 -2
  171. package/dist/components/textarea/textarea.d.mts +1 -1
  172. package/dist/components/textarea/textarea.mjs.map +1 -1
  173. package/dist/components/textfield/index.d.mts +2 -2
  174. package/dist/components/textfield/textfield.d.mts +1 -1
  175. package/dist/components/textfield/textfield.mjs.map +1 -1
  176. package/dist/components/tooltip/index.d.mts +2 -2
  177. package/dist/components/tooltip/tooltip.d.mts +1 -1
  178. package/dist/components/tooltip/tooltip.mjs.map +1 -1
  179. package/dist/components/validation-message/index.d.mts +2 -2
  180. package/dist/components/validation-message/validation-message.d.mts +1 -1
  181. package/dist/components/validation-message/validation-message.mjs.map +1 -1
  182. package/dist/{dialog-trigger-context-DbUhxoNL.d.mts → dialog-trigger-context-Orqo_NHj.d.mts} +3 -8
  183. package/dist/{dropdown-item-bA64wFOZ.d.mts → dropdown-item-B6Ahk6en.d.mts} +2 -7
  184. package/dist/{dropdown-list-CaYz-O1j.d.mts → dropdown-list-CXM9VhRl.d.mts} +2 -7
  185. package/dist/{footer-links-DwBghNrz.d.mts → footer-links-Dk977Qoi.d.mts} +2 -9
  186. package/dist/index-CaxrMD1A.d.mts +1 -0
  187. package/dist/index-Dqg5-Rt-.d.mts +1 -0
  188. package/dist/main.d.mts +15 -15
  189. package/dist/{pagination-item-DJicBrIN.d.mts → pagination-item-DqbKxAHU.d.mts} +2 -9
  190. package/dist/{popover-trigger-context-BLjAozBn.d.mts → popover-trigger-context-DeCbAC6V.d.mts} +3 -10
  191. package/dist/react-types.d.ts +43 -1
  192. package/dist/{sticky-header-CVfE0TUC.d.mts → sticky-header-BXlBWEWo.d.mts} +2 -6
  193. package/dist/{types-C0q7hMe_.d.mts → types-BoBDvyAZ.d.mts} +1 -2
  194. package/dist/{types-74lJC5tL.d.mts → types-oMo2uOVa.d.mts} +1 -1
  195. package/dist/types.d.mts +1 -1
  196. package/dist/{useCheckboxGroup-Boc_tLJ3.d.mts → useCheckboxGroup-BTzX7PfS.d.mts} +4 -7
  197. package/dist/{useIsElementAboveViewport-Cxt9TwLS.d.mts → useIsElementAboveViewport-Db7ndg3S.d.mts} +1 -2
  198. package/dist/{useIsomorphicLayoutEffect-DXCY5AxR.d.mts → useIsomorphicLayoutEffect-D-Mi76vH.d.mts} +1 -2
  199. package/dist/{useMediaQuery-Di0fXraw.d.mts → useMediaQuery-c1R0kas_.d.mts} +2 -5
  200. package/dist/{useScrollDirection-6pq5a8B3.d.mts → useScrollDirection-DS9Rfs_K.d.mts} +1 -1
  201. package/dist/utilities/hooks/index.d.mts +7 -7
  202. package/dist/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.mts +1 -1
  203. package/dist/utilities/hooks/useCheckboxGroup/useCheckboxGroup.mjs.map +1 -1
  204. package/dist/utilities/hooks/useIsElementAboveViewport/useIsElementAboveViewport.d.mts +1 -1
  205. package/dist/utilities/hooks/useIsElementAboveViewport/useIsElementAboveViewport.mjs.map +1 -1
  206. package/dist/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.mts +1 -1
  207. package/dist/utilities/hooks/useMediaQuery/useMediaQuery.d.mts +1 -1
  208. package/dist/utilities/hooks/useMediaQuery/useMediaQuery.mjs +2 -4
  209. package/dist/utilities/hooks/useMediaQuery/useMediaQuery.mjs.map +1 -1
  210. package/dist/utilities/hooks/useMergeRefs/useMergeRefs.d.mts +0 -1
  211. package/dist/utilities/hooks/useMergeRefs/useMergeRefs.mjs.map +1 -1
  212. package/dist/utilities/hooks/usePagination/usePagination.d.mts +1 -1
  213. package/dist/utilities/hooks/usePagination/usePagination.mjs.map +1 -1
  214. package/dist/utilities/hooks/useScrollDirection/useScrollDirection.d.mts +1 -1
  215. package/dist/utilities/hooks/useScrollDirection/useScrollDirection.mjs.map +1 -1
  216. package/dist/utilities/index.d.mts +8 -8
  217. package/dist/utilities/types.d.mts +1 -1
  218. package/dist/vanilla/dropdown/index.d.mts +3 -9
  219. package/dist/vanilla/dropdown/index.mjs.map +1 -1
  220. package/dist/vanilla/index.d.mts +1 -0
  221. package/dist/vanilla/popover/index.d.mts +3 -9
  222. package/dist/vanilla/popover/index.mjs +1 -3
  223. package/dist/vanilla/popover/index.mjs.map +1 -1
  224. package/dist/vanilla/sub-navbar/index.d.mts +1 -3
  225. package/dist/vanilla/sub-navbar/index.mjs.map +1 -1
  226. package/dist/vanilla/tooltip/index.d.mts +1 -1
  227. package/dist/vanilla/tooltip/index.mjs.map +1 -1
  228. package/dist/vite-env.d.mts +1 -1
  229. package/package.json +19 -19
  230. package/dist/index-D9zIjQH9.d.mts +0 -1
  231. package/dist/index-Dc-SdpIe.d.mts +0 -1
@@ -1,20 +1,28 @@
1
- import { n as DefaultProps, r as LabelRequiredProps, t as AsChildProps } from "./types-C0q7hMe_.mjs";
2
- import { r as PopoverTriggerContextProps } from "./popover-trigger-context-BLjAozBn.mjs";
3
- import { t as MergeRight } from "./types-74lJC5tL.mjs";
1
+ import "./useCheckboxGroup-BTzX7PfS.mjs";
2
+ import "./useIsomorphicLayoutEffect-D-Mi76vH.mjs";
3
+ import { n as DefaultProps, r as LabelRequiredProps, t as AsChildProps } from "./types-BoBDvyAZ.mjs";
4
+ import "./dialog-trigger-context-Orqo_NHj.mjs";
5
+ import { r as PopoverTriggerContextProps } from "./popover-trigger-context-DeCbAC6V.mjs";
6
+ import "./dropdown-item-B6Ahk6en.mjs";
7
+ import "./dropdown-list-CXM9VhRl.mjs";
8
+ import "./footer-links-Dk977Qoi.mjs";
9
+ import "./pagination-item-DqbKxAHU.mjs";
10
+ import "./index-Dqg5-Rt-.mjs";
11
+ import "./useIsElementAboveViewport-Db7ndg3S.mjs";
12
+ import { t as MergeRight } from "./types-oMo2uOVa.mjs";
4
13
  import { DSTabElement, DSTabListElement, DSTabPanelElement, DSTabsElement } from "@digdir/designsystemet-web";
5
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
6
- import * as _$react from "react";
7
14
  import { AnchorHTMLAttributes, AriaAttributes, ButtonHTMLAttributes, DialogHTMLAttributes, FieldsetHTMLAttributes, HTMLAttributes, HtmlHTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactElement, ReactNode, Ref, RefAttributes, SelectHTMLAttributes, TextareaHTMLAttributes } from "react";
8
15
  import { Middleware, Placement } from "@floating-ui/dom";
9
-
10
16
  //#region src/components/alert/alert.d.ts
11
17
  type AlertProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
12
18
  /**
13
19
  * Size of the alert.
14
20
  * @default 'medium'
15
21
  */
16
- size?: 'small' | 'medium' | 'large'; /** Custom close button. It's your responsibility to make the button close the alert. */
17
- closeButton?: ReactNode; /** Override the default icon which is decided by the `variant`. Set to `null` to remove the icon. */
22
+ size?: 'small' | 'medium' | 'large';
23
+ /** Custom close button. It's your responsibility to make the button close the alert. */
24
+ closeButton?: ReactNode;
25
+ /** Override the default icon which is decided by the `variant`. Set to `null` to remove the icon. */
18
26
  icon?: ReactNode;
19
27
  /**
20
28
  * Change the default rendered element for the one passed as a child, merging their props and behavior.
@@ -23,17 +31,7 @@ type AlertProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
23
31
  asChild?: boolean;
24
32
  ref?: Ref<HTMLDivElement>;
25
33
  }>;
26
- declare const Alert: ({
27
- className,
28
- children,
29
- closeButton,
30
- "data-color": color,
31
- icon,
32
- asChild,
33
- size,
34
- ref,
35
- ...rest
36
- }: AlertProps) => _$react_jsx_runtime0.JSX.Element;
34
+ declare const Alert: ({ className, children, closeButton, "data-color": color, icon, asChild, size, ref, ...rest }: AlertProps) => React.JSX.Element;
37
35
  //#endregion
38
36
  //#region src/components/avatar/avatar.d.ts
39
37
  type AvatarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLSpanElement>, {
@@ -59,14 +57,7 @@ type AvatarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLSpanElement>, {
59
57
  * <img src='…' alt='Ola Nordmann' />
60
58
  * </Avatar>
61
59
  */
62
- declare const Avatar: ({
63
- "aria-label": ariaLabel,
64
- className,
65
- ref,
66
- size,
67
- children,
68
- ...props
69
- }: AvatarProps) => _$react_jsx_runtime0.JSX.Element;
60
+ declare const Avatar: ({ "aria-label": ariaLabel, className, ref, size, children, ...props }: AvatarProps) => React.JSX.Element;
70
61
  //#endregion
71
62
  //#region src/components/badge/badge.d.ts
72
63
  type BadgeProps = MergeRight<DefaultProps & AsChildProps & HTMLAttributes<HTMLSpanElement>, {
@@ -82,15 +73,7 @@ type BadgeProps = MergeRight<DefaultProps & AsChildProps & HTMLAttributes<HTMLSp
82
73
  singleLetter?: boolean;
83
74
  ref?: Ref<HTMLSpanElement>;
84
75
  }>;
85
- declare const Badge: ({
86
- className,
87
- children,
88
- size,
89
- singleLetter,
90
- asChild,
91
- ref,
92
- ...props
93
- }: BadgeProps) => _$react_jsx_runtime0.JSX.Element;
76
+ declare const Badge: ({ className, children, size, singleLetter, asChild, ref, ...props }: BadgeProps) => React.JSX.Element;
94
77
  //#endregion
95
78
  //#region src/components/button/button.d.ts
96
79
  type ButtonProps = MergeRight<DefaultProps & ButtonHTMLAttributes<HTMLButtonElement>, {
@@ -121,10 +104,14 @@ type ButtonProps = MergeRight<DefaultProps & ButtonHTMLAttributes<HTMLButtonElem
121
104
  * Always provide a descriptive aria-label for accessibility when set to true.
122
105
  * @default false
123
106
  */
124
- icon?: boolean; /** Set an icon before the button label, no effect if `icon=true` */
125
- startIcon?: ReactNode; /** Set an icon after the button label, no effect if `icon=true` */
126
- endIcon?: ReactNode; /** Skew the button */
127
- skewed?: 'start' | 'end'; /** Make the button active by showing an active state. */
107
+ icon?: boolean;
108
+ /** Set an icon before the button label, no effect if `icon=true` */
109
+ startIcon?: ReactNode;
110
+ /** Set an icon after the button label, no effect if `icon=true` */
111
+ endIcon?: ReactNode;
112
+ /** Skew the button */
113
+ skewed?: 'start' | 'end';
114
+ /** Make the button active by showing an active state. */
128
115
  active?: boolean;
129
116
  ref?: Ref<HTMLButtonElement>;
130
117
  /**
@@ -138,22 +125,7 @@ type ButtonProps = MergeRight<DefaultProps & ButtonHTMLAttributes<HTMLButtonElem
138
125
  */
139
126
  type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
140
127
  }>;
141
- declare const Button: ({
142
- asChild,
143
- variant,
144
- size,
145
- fullwidth,
146
- submitting,
147
- icon,
148
- children,
149
- className,
150
- startIcon,
151
- endIcon,
152
- skewed,
153
- active,
154
- ref,
155
- ...props
156
- }: ButtonProps) => _$react_jsx_runtime0.JSX.Element;
128
+ declare const Button: ({ asChild, variant, size, fullwidth, submitting, icon, children, className, startIcon, endIcon, skewed, active, ref, ...props }: ButtonProps) => React.JSX.Element;
157
129
  //#endregion
158
130
  //#region src/components/card/card.d.ts
159
131
  type CardProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -170,36 +142,17 @@ type CardProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
170
142
  asChild?: boolean;
171
143
  ref?: Ref<HTMLDivElement>;
172
144
  }>;
173
- declare const Card: ({
174
- orientation,
175
- error,
176
- className,
177
- ref,
178
- children,
179
- asChild,
180
- ...props
181
- }: CardProps) => _$react_jsx_runtime0.JSX.Element;
145
+ declare const Card: ({ orientation, error, className, ref, children, asChild, ...props }: CardProps) => React.JSX.Element;
182
146
  //#endregion
183
147
  //#region src/components/card/card-actions.d.ts
184
148
  type CardActionsProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
185
149
  ref?: Ref<HTMLDivElement>;
186
150
  }>;
187
- declare const CardActions: ({
188
- className,
189
- ref,
190
- children,
191
- ...props
192
- }: CardActionsProps) => _$react_jsx_runtime0.JSX.Element;
151
+ declare const CardActions: ({ className, ref, children, ...props }: CardActionsProps) => React.JSX.Element;
193
152
  //#endregion
194
153
  //#region src/components/card/card-action.d.ts
195
154
  type CardActionProps = ButtonProps;
196
- declare const CardAction: ({
197
- asChild,
198
- ref,
199
- children,
200
- className,
201
- ...props
202
- }: CardActionProps) => _$react_jsx_runtime0.JSX.Element;
155
+ declare const CardAction: ({ asChild, ref, children, className, ...props }: CardActionProps) => React.JSX.Element;
203
156
  //#endregion
204
157
  //#region src/components/card/card-content.d.ts
205
158
  type CardContentProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
@@ -208,16 +161,9 @@ type CardContentProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
208
161
  * @default false
209
162
  */
210
163
  asChild?: boolean;
211
- disabled?: boolean;
212
164
  ref?: Ref<HTMLDivElement>;
213
165
  }>;
214
- declare const CardContent: ({
215
- className,
216
- ref,
217
- children,
218
- asChild,
219
- ...props
220
- }: CardContentProps) => _$react_jsx_runtime0.JSX.Element;
166
+ declare const CardContent: ({ className, ref, children, asChild, ...props }: CardContentProps) => React.JSX.Element;
221
167
  //#endregion
222
168
  //#region src/components/card/card-header.d.ts
223
169
  type CardHeaderProps = MergeRight<Omit<HTMLAttributes<HTMLDivElement>, 'children'>, {
@@ -239,15 +185,7 @@ type CardHeaderProps = MergeRight<Omit<HTMLAttributes<HTMLDivElement>, 'children
239
185
  description?: ReactNode;
240
186
  ref?: Ref<HTMLDivElement>;
241
187
  }>;
242
- declare const CardHeader: ({
243
- className,
244
- ref,
245
- header,
246
- label,
247
- subLabel,
248
- description,
249
- ...props
250
- }: CardHeaderProps) => _$react_jsx_runtime0.JSX.Element;
188
+ declare const CardHeader: ({ className, ref, header, label, subLabel, description, ...props }: CardHeaderProps) => React.JSX.Element;
251
189
  //#endregion
252
190
  //#region src/components/card/card-media.d.ts
253
191
  type CardMediaProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
@@ -261,13 +199,7 @@ type CardMediaProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
261
199
  overlay?: ReactNode;
262
200
  ref?: Ref<HTMLDivElement>;
263
201
  }>;
264
- declare const CardMedia: ({
265
- className,
266
- ref,
267
- children,
268
- overlay,
269
- ...props
270
- }: CardMediaProps) => _$react_jsx_runtime0.JSX.Element;
202
+ declare const CardMedia: ({ className, ref, children, overlay, ...props }: CardMediaProps) => React.JSX.Element;
271
203
  //#endregion
272
204
  //#region src/components/card/card-date.d.ts
273
205
  type CardDateProps = MergeRight<Omit<HTMLAttributes<HTMLParagraphElement>, 'children'>, {
@@ -281,13 +213,7 @@ type CardDateProps = MergeRight<Omit<HTMLAttributes<HTMLParagraphElement>, 'chil
281
213
  month: string;
282
214
  ref?: Ref<HTMLParagraphElement>;
283
215
  }>;
284
- declare const CardDate: ({
285
- className,
286
- ref,
287
- day,
288
- month,
289
- ...props
290
- }: CardDateProps) => _$react_jsx_runtime0.JSX.Element;
216
+ declare const CardDate: ({ className, ref, day, month, ...props }: CardDateProps) => React.JSX.Element;
291
217
  //#endregion
292
218
  //#region src/components/input/input.d.ts
293
219
  type InputProps = MergeRight<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'prefix' | 'type'>, {
@@ -300,63 +226,41 @@ type InputProps = MergeRight<DefaultProps & Omit<InputHTMLAttributes<HTMLInputEl
300
226
  * The `input` type
301
227
  * @default 'text'
302
228
  * */
303
- type?: 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'month' | 'number' | 'password' | 'radio' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week'; /** Set the visible width, in characters, of the `Input` component. */
229
+ type?: 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'month' | 'number' | 'password' | 'radio' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week';
230
+ /** Set the visible width, in characters, of the `Input` component. */
304
231
  visibleWidth?: number;
305
232
  /**
306
233
  * Disable the element.
307
234
  * Avoid using if possible for accessibility purposes
308
235
  */
309
- disabled?: boolean; /** Toggle `readOnly` */
236
+ disabled?: boolean;
237
+ /** Toggle `readOnly` */
310
238
  readOnly?: boolean;
311
239
  ref?: Ref<HTMLInputElement>;
312
240
  }>;
313
- declare const Input: ({
314
- type,
315
- size,
316
- visibleWidth,
317
- className,
318
- onChange,
319
- onClick,
320
- readOnly,
321
- ref,
322
- ...props
323
- }: InputProps) => _$react_jsx_runtime0.JSX.Element;
241
+ declare const Input: ({ type, size, visibleWidth, className, onChange, onClick, readOnly, ref, ...props }: InputProps) => React.JSX.Element;
324
242
  //#endregion
325
243
  //#region src/components/checkbox/checkbox.d.ts
326
244
  type CheckboxProps = MergeRight<LabelRequiredProps & Omit<InputProps, 'type' | 'role' | 'size'>, {
327
- /** Label */label?: ReactNode; /** Description */
328
- description?: ReactNode; /** Add error indication to the checkbox. */
329
- error?: boolean; /** Specify whether the Checkbox is indeterminate */
330
- indeterminate?: boolean; /** If true, the checkbox will take up the full width of the container, and not just "fit-content" which is default */
245
+ /** Label */
246
+ label?: ReactNode;
247
+ /** Description */
248
+ description?: ReactNode;
249
+ /** Add error indication to the checkbox. */
250
+ error?: boolean;
251
+ /** Specify whether the Checkbox is indeterminate */
252
+ indeterminate?: boolean;
253
+ /** If true, the checkbox will take up the full width of the container, and not just "fit-content" which is default */
331
254
  fullwidth?: boolean;
332
255
  ref?: Ref<HTMLInputElement>;
333
256
  }>;
334
- declare const Checkbox: ({
335
- label,
336
- description,
337
- error,
338
- fullwidth,
339
- style,
340
- className,
341
- indeterminate,
342
- ref,
343
- id,
344
- "data-color": color,
345
- "data-color-scheme": colorScheme,
346
- "aria-describedby": ariaDescribedByProp,
347
- ...props
348
- }: CheckboxProps) => _$react_jsx_runtime0.JSX.Element;
257
+ declare const Checkbox: ({ label, description, error, fullwidth, style, className, indeterminate, ref, id, "data-color": color, "data-color-scheme": colorScheme, "aria-describedby": ariaDescribedByProp, ...props }: CheckboxProps) => React.JSX.Element;
349
258
  //#endregion
350
259
  //#region src/components/checkbox/checkbox-subsection.d.ts
351
260
  type CheckboxSubsectionProps = MergeRight<DefaultProps & HtmlHTMLAttributes<HTMLDivElement>, {
352
261
  ref?: Ref<HTMLDivElement>;
353
262
  }>;
354
- declare const CheckboxSubsection: ({
355
- children,
356
- className,
357
- ref,
358
- ...props
359
- }: CheckboxSubsectionProps) => _$react_jsx_runtime0.JSX.Element;
263
+ declare const CheckboxSubsection: ({ children, className, ref, ...props }: CheckboxSubsectionProps) => React.JSX.Element;
360
264
  //#endregion
361
265
  //#region src/components/chip/chip.d.ts
362
266
  type ChipProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -364,7 +268,8 @@ type ChipProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
364
268
  * The chip size
365
269
  * @default 'medium'
366
270
  */
367
- size?: 'small' | 'medium' | 'large'; /** Set an icon before the chip label */
271
+ size?: 'small' | 'medium' | 'large';
272
+ /** Set an icon before the chip label */
368
273
  startIcon?: ReactNode;
369
274
  ref?: Ref<HTMLDivElement>;
370
275
  /**
@@ -378,16 +283,7 @@ type ChipProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
378
283
  */
379
284
  asChild?: boolean;
380
285
  }>;
381
- declare const Chip: ({
382
- children,
383
- size,
384
- startIcon,
385
- selected,
386
- asChild,
387
- className,
388
- ref,
389
- ...props
390
- }: ChipProps) => _$react_jsx_runtime0.JSX.Element;
286
+ declare const Chip: ({ children, size, startIcon, selected, asChild, className, ref, ...props }: ChipProps) => React.JSX.Element;
391
287
  //#endregion
392
288
  //#region src/components/details/details.d.ts
393
289
  type DetailsProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDetailsElement>, {
@@ -430,15 +326,7 @@ type DetailsProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDetailsElement>
430
326
  * <DetailsContent>Content</DetailsContent>
431
327
  * </Details>
432
328
  */
433
- declare const Details: ({
434
- className,
435
- children,
436
- open,
437
- defaultOpen,
438
- onToggle,
439
- ref,
440
- ...rest
441
- }: DetailsProps) => _$react_jsx_runtime0.JSX.Element;
329
+ declare const Details: ({ className, children, open, defaultOpen, onToggle, ref, ...rest }: DetailsProps) => React.JSX.Element;
442
330
  //#endregion
443
331
  //#region src/components/details/details-content.d.ts
444
332
  type DetailsContentProps = MergeRight<HTMLAttributes<HTMLParagraphElement>, {
@@ -455,17 +343,13 @@ type DetailsContentProps = MergeRight<HTMLAttributes<HTMLParagraphElement>, {
455
343
  * @example
456
344
  * <DetailsContent><p>Some content</p></DetailsContent>
457
345
  */
458
- declare const DetailsContent: ({
459
- className,
460
- asChild,
461
- children,
462
- ref,
463
- ...rest
464
- }: DetailsContentProps) => _$react_jsx_runtime0.JSX.Element;
346
+ declare const DetailsContent: ({ className, asChild, children, ref, ...rest }: DetailsContentProps) => React.JSX.Element;
465
347
  //#endregion
466
348
  //#region src/components/details/details-summary.d.ts
467
349
  type DetailsSummaryProps = MergeRight<HTMLAttributes<HTMLElement>, {
468
- /** Header */children: ReactNode; /** Optionally replace the default icon. It will be rotated 180 degrees when the content is expanded */
350
+ /** Header */
351
+ children: ReactNode;
352
+ /** Optionally replace the default icon. It will be rotated 180 degrees when the content is expanded */
469
353
  icon?: ReactNode;
470
354
  ref?: Ref<HTMLElement>;
471
355
  }>;
@@ -475,13 +359,7 @@ type DetailsSummaryProps = MergeRight<HTMLAttributes<HTMLElement>, {
475
359
  * @example
476
360
  * <DetailsSummary>Heading</DetailsSummary>
477
361
  */
478
- declare const DetailsSummary: ({
479
- className,
480
- children,
481
- icon,
482
- ref,
483
- ...rest
484
- }: DetailsSummaryProps) => _$react_jsx_runtime0.JSX.Element;
362
+ declare const DetailsSummary: ({ className, children, icon, ref, ...rest }: DetailsSummaryProps) => React.JSX.Element;
485
363
  //#endregion
486
364
  //#region src/components/dialog/dialog.d.ts
487
365
  type DialogProps = MergeRight<DefaultProps & DialogHTMLAttributes<HTMLDialogElement>, {
@@ -537,18 +415,7 @@ type DialogProps = MergeRight<DefaultProps & DialogHTMLAttributes<HTMLDialogElem
537
415
  * </DialogFooter>
538
416
  * </Dialog>
539
417
  */
540
- declare const Dialog: ({
541
- anchor,
542
- children,
543
- className,
544
- closedby,
545
- id,
546
- onAnimationEnd,
547
- onClose,
548
- open,
549
- ref,
550
- ...rest
551
- }: DialogProps) => _$react_jsx_runtime0.JSX.Element;
418
+ declare const Dialog: ({ anchor, children, className, closedby, id, onAnimationEnd, onClose, open, ref, ...rest }: DialogProps) => React.JSX.Element;
552
419
  //#endregion
553
420
  //#region src/components/dialog/dialog-content.d.ts
554
421
  type DialogContentProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
@@ -564,14 +431,7 @@ type DialogContentProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
564
431
  asChild?: boolean;
565
432
  ref?: Ref<HTMLDivElement>;
566
433
  }>;
567
- declare const DialogContent: ({
568
- asChild,
569
- ref,
570
- children,
571
- className,
572
- noBorder,
573
- ...rest
574
- }: DialogContentProps) => _$react_jsx_runtime0.JSX.Element;
434
+ declare const DialogContent: ({ asChild, ref, children, className, noBorder, ...rest }: DialogContentProps) => React.JSX.Element;
575
435
  //#endregion
576
436
  //#region src/components/dialog/dialog-header.d.ts
577
437
  type DialogHeaderProps = MergeRight<HTMLAttributes<HTMLHeadingElement>, {
@@ -587,14 +447,7 @@ type DialogHeaderProps = MergeRight<HTMLAttributes<HTMLHeadingElement>, {
587
447
  asChild?: boolean;
588
448
  ref?: Ref<HTMLHeadingElement>;
589
449
  }>;
590
- declare const DialogHeader: ({
591
- asChild,
592
- ref,
593
- children,
594
- className,
595
- noBorder,
596
- ...rest
597
- }: DialogHeaderProps) => _$react_jsx_runtime0.JSX.Element;
450
+ declare const DialogHeader: ({ asChild, ref, children, className, noBorder, ...rest }: DialogHeaderProps) => React.JSX.Element;
598
451
  //#endregion
599
452
  //#region src/components/dialog/dialog-footer.d.ts
600
453
  type DialogFooterProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
@@ -610,22 +463,11 @@ type DialogFooterProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
610
463
  asChild?: boolean;
611
464
  ref?: Ref<HTMLDivElement>;
612
465
  }>;
613
- declare const DialogFooter: ({
614
- asChild,
615
- ref,
616
- children,
617
- className,
618
- noBorder,
619
- ...rest
620
- }: DialogFooterProps) => _$react_jsx_runtime0.JSX.Element;
466
+ declare const DialogFooter: ({ asChild, ref, children, className, noBorder, ...rest }: DialogFooterProps) => React.JSX.Element;
621
467
  //#endregion
622
468
  //#region src/components/dialog/dialog-trigger.d.ts
623
469
  type DialogTriggerProps = ButtonProps;
624
- declare const DialogTrigger: ({
625
- asChild,
626
- ref,
627
- ...rest
628
- }: DialogTriggerProps) => _$react_jsx_runtime0.JSX.Element;
470
+ declare const DialogTrigger: ({ asChild, ref, ...rest }: DialogTriggerProps) => React.JSX.Element;
629
471
  //#endregion
630
472
  //#region src/components/dialog/dialog-close-button.d.ts
631
473
  type DialogCloseButtonProps = Omit<ButtonProps, 'asChild' | 'type' | 'name'>;
@@ -633,12 +475,7 @@ type DialogCloseButtonProps = Omit<ButtonProps, 'asChild' | 'type' | 'name'>;
633
475
  * A button that can be used to close the dialog. Must be used inside a `Dialog` that is wrapped in a `DialogTriggerContext`.
634
476
  * When placed as a direct child of `Dialog`, it will be positioned absolutely in the top right corner.
635
477
  */
636
- declare const DialogCloseButton: ({
637
- children,
638
- ref,
639
- className,
640
- ...props
641
- }: DialogCloseButtonProps) => _$react_jsx_runtime0.JSX.Element;
478
+ declare const DialogCloseButton: ({ children, ref, className, ...props }: DialogCloseButtonProps) => React.JSX.Element;
642
479
  //#endregion
643
480
  //#region src/components/popover/popover.d.ts
644
481
  type PopoverProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -721,20 +558,7 @@ type PopoverProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
721
558
  * Content
722
559
  * </Popover>
723
560
  */
724
- declare const Popover: ({
725
- id,
726
- className,
727
- onOpenChange,
728
- open,
729
- placement,
730
- disableAutoPlacement,
731
- positionMiddleware,
732
- padding,
733
- arrow,
734
- asChild,
735
- ref,
736
- ...rest
737
- }: PopoverProps) => _$react_jsx_runtime0.JSX.Element;
561
+ declare const Popover: ({ id, className, onOpenChange, open, placement, disableAutoPlacement, positionMiddleware, padding, arrow, asChild, ref, ...rest }: PopoverProps) => React.JSX.Element;
738
562
  //#endregion
739
563
  //#region src/components/popover/popover-trigger.d.ts
740
564
  type PopoverTriggerProps = ({
@@ -777,13 +601,7 @@ type PopoverTriggerProps = ({
777
601
  * </Popover>
778
602
  * </PopoverTriggerContext>
779
603
  */
780
- declare const PopoverTrigger: ({
781
- id,
782
- inline,
783
- asChild,
784
- ref,
785
- ...rest
786
- }: PopoverTriggerProps) => _$react_jsx_runtime0.JSX.Element;
604
+ declare const PopoverTrigger: ({ id, inline, asChild, ref, ...rest }: PopoverTriggerProps) => React.JSX.Element;
787
605
  //#endregion
788
606
  //#region src/components/dropdown/dropdown.d.ts
789
607
  type DropdownProps = MergeRight<DefaultProps & PopoverProps, {
@@ -820,26 +638,15 @@ type DropdownProps = MergeRight<DefaultProps & PopoverProps, {
820
638
  * </DropdownList>
821
639
  * </Dropdown>
822
640
  */
823
- declare const Dropdown: ({
824
- placement,
825
- className,
826
- ref,
827
- ...rest
828
- }: DropdownProps) => _$react_jsx_runtime0.JSX.Element;
641
+ declare const Dropdown: ({ placement, className, ref, ...rest }: DropdownProps) => React.JSX.Element;
829
642
  //#endregion
830
643
  //#region src/components/dropdown/dropdown-button.d.ts
831
644
  type DropdownButtonProps = Omit<ButtonProps, 'variant'>;
832
- declare const DropdownButton: ({
833
- ref,
834
- ...rest
835
- }: DropdownButtonProps) => _$react_jsx_runtime0.JSX.Element;
645
+ declare const DropdownButton: ({ ref, ...rest }: DropdownButtonProps) => React.JSX.Element;
836
646
  //#endregion
837
647
  //#region src/components/dropdown/dropdown-trigger.d.ts
838
648
  type DropdownTriggerProps = PopoverTriggerProps;
839
- declare const DropdownTrigger: ({
840
- ref,
841
- ...rest
842
- }: DropdownTriggerProps) => _$react_jsx_runtime0.JSX.Element;
649
+ declare const DropdownTrigger: ({ ref, ...rest }: DropdownTriggerProps) => React.JSX.Element;
843
650
  //#endregion
844
651
  //#region src/components/dropdown/dropdown-trigger-context.d.ts
845
652
  type DropdownTriggerContextProps = PopoverTriggerContextProps;
@@ -859,10 +666,7 @@ type DropdownTriggerContextProps = PopoverTriggerContextProps;
859
666
  * </Dropdown>
860
667
  * </DropdownTriggerContext>
861
668
  */
862
- declare const DropdownTriggerContext: ({
863
- children,
864
- ...props
865
- }: DropdownTriggerContextProps) => _$react_jsx_runtime0.JSX.Element;
669
+ declare const DropdownTriggerContext: ({ children, ...props }: DropdownTriggerContextProps) => React.JSX.Element;
866
670
  //#endregion
867
671
  //#region src/components/field/field.d.ts
868
672
  type FieldProps = MergeRight<DefaultProps & AsChildProps & HTMLAttributes<HTMLDivElement>, {
@@ -870,7 +674,8 @@ type FieldProps = MergeRight<DefaultProps & AsChildProps & HTMLAttributes<HTMLDi
870
674
  * Position of toggle-type inputs (radio, checkbox) in the field
871
675
  * @default start
872
676
  */
873
- position?: 'start' | 'end'; /** Set width: 100% */
677
+ position?: 'start' | 'end';
678
+ /** Set width: 100% */
874
679
  fullwidth?: boolean;
875
680
  ref?: Ref<HTMLDivElement>;
876
681
  }>;
@@ -885,25 +690,13 @@ type FieldProps = MergeRight<DefaultProps & AsChildProps & HTMLAttributes<HTMLDi
885
690
  * <ValidationMessage>Feilmelding</ValidationMessage>
886
691
  * </Field>
887
692
  */
888
- declare const Field: ({
889
- className,
890
- position,
891
- fullwidth,
892
- asChild,
893
- ref,
894
- ...props
895
- }: FieldProps) => _$react_jsx_runtime0.JSX.Element;
693
+ declare const Field: ({ className, position, fullwidth, asChild, ref, ...props }: FieldProps) => React.JSX.Element;
896
694
  //#endregion
897
695
  //#region src/components/field/field-description.d.ts
898
696
  type FieldDescriptionProps = MergeRight<AsChildProps & HTMLAttributes<HTMLDivElement>, {
899
697
  ref?: Ref<HTMLDivElement>;
900
698
  }>;
901
- declare const FieldDescription: ({
902
- asChild,
903
- className,
904
- ref,
905
- ...props
906
- }: FieldDescriptionProps) => _$react_jsx_runtime0.JSX.Element;
699
+ declare const FieldDescription: ({ asChild, className, ref, ...props }: FieldDescriptionProps) => React.JSX.Element;
907
700
  //#endregion
908
701
  //#region src/components/field/field-affix.d.ts
909
702
  type FieldAffixesProps = MergeRight<AsChildProps & Omit<HTMLAttributes<HTMLDivElement>, 'prefix'>, {
@@ -919,12 +712,7 @@ type FieldAffixesProps = MergeRight<AsChildProps & Omit<HTMLAttributes<HTMLDivEl
919
712
  * <FieldAffix>kr</FieldAffix>
920
713
  * </FieldAffixes>
921
714
  */
922
- declare const FieldAffixes: ({
923
- className,
924
- asChild,
925
- ref,
926
- ...rest
927
- }: FieldAffixesProps) => _$react_jsx_runtime0.JSX.Element;
715
+ declare const FieldAffixes: ({ className, asChild, ref, ...rest }: FieldAffixesProps) => React.JSX.Element;
928
716
  type FieldAffixProps = MergeRight<AsChildProps & Omit<HTMLAttributes<HTMLSpanElement>, 'prefix'>, {
929
717
  ref?: Ref<HTMLSpanElement>;
930
718
  }>;
@@ -939,33 +727,19 @@ type FieldAffixProps = MergeRight<AsChildProps & Omit<HTMLAttributes<HTMLSpanEle
939
727
  * <FieldAffix>kr</FieldAffix>
940
728
  * </FieldAffixes>
941
729
  */
942
- declare const FieldAffix: ({
943
- className,
944
- asChild,
945
- ref,
946
- ...rest
947
- }: FieldAffixProps) => _$react_jsx_runtime0.JSX.Element;
730
+ declare const FieldAffix: ({ className, asChild, ref, ...rest }: FieldAffixProps) => React.JSX.Element;
948
731
  //#endregion
949
732
  //#region src/components/fieldset/fieldset.d.ts
950
733
  type FieldsetProps = MergeRight<DefaultProps & FieldsetHTMLAttributes<HTMLFieldSetElement>, {
951
734
  ref?: Ref<HTMLFieldSetElement>;
952
735
  }>;
953
- declare const Fieldset: ({
954
- children,
955
- className,
956
- ref,
957
- ...props
958
- }: FieldsetProps) => _$react_jsx_runtime0.JSX.Element;
736
+ declare const Fieldset: ({ children, className, ref, ...props }: FieldsetProps) => React.JSX.Element;
959
737
  //#endregion
960
738
  //#region src/components/fieldset/fieldset-description.d.ts
961
739
  type FieldsetDescriptionProps = MergeRight<AsChildProps & HTMLAttributes<HTMLParagraphElement>, {
962
740
  ref?: Ref<HTMLDivElement>;
963
741
  }>;
964
- declare const FieldsetDescription: ({
965
- asChild,
966
- ref,
967
- ...props
968
- }: FieldsetDescriptionProps) => _$react_jsx_runtime0.JSX.Element;
742
+ declare const FieldsetDescription: ({ asChild, ref, ...props }: FieldsetDescriptionProps) => React.JSX.Element;
969
743
  //#endregion
970
744
  //#region src/components/label/label.d.ts
971
745
  type LabelProps = MergeRight<DefaultProps & AsChildProps & LabelHTMLAttributes<HTMLLabelElement>, {
@@ -976,44 +750,29 @@ type LabelProps = MergeRight<DefaultProps & AsChildProps & LabelHTMLAttributes<H
976
750
  weight?: 'regular' | 'medium' | 'semibold';
977
751
  ref?: Ref<HTMLLabelElement>;
978
752
  }>;
979
- declare const Label: ({
980
- className,
981
- weight,
982
- asChild,
983
- ref,
984
- ...props
985
- }: LabelProps) => _$react_jsx_runtime0.JSX.Element;
753
+ declare const Label: ({ className, weight, asChild, ref, ...props }: LabelProps) => React.JSX.Element;
986
754
  //#endregion
987
755
  //#region src/components/fieldset/fieldset-legend.d.ts
988
756
  type FieldsetLegendProps = MergeRight<LabelProps & HTMLAttributes<HTMLLegendElement>, {
989
757
  ref?: Ref<HTMLLegendElement>;
990
758
  }>;
991
- declare const FieldsetLegend: ({
992
- children,
993
- ref,
994
- ...props
995
- }: FieldsetLegendProps) => _$react_jsx_runtime0.JSX.Element;
759
+ declare const FieldsetLegend: ({ children, ref, ...props }: FieldsetLegendProps) => React.JSX.Element;
996
760
  //#endregion
997
761
  //#region src/components/filter-group/filter-group.d.ts
998
762
  type FilterGroupProps = MergeRight<DefaultProps & AsChildProps & HtmlHTMLAttributes<HTMLDivElement>, {
999
- /** Icon displayed in the filter group */icon: ReactNode; /** Label of the filter group */
1000
- label: ReactNode; /** Default open state of the filter group, should not be used together with `open` */
1001
- defaultOpen?: boolean; /** Control the open state of the filter group */
1002
- open?: boolean; /** Callback when the open state changes */
763
+ /** Icon displayed in the filter group */
764
+ icon: ReactNode;
765
+ /** Label of the filter group */
766
+ label: ReactNode;
767
+ /** Default open state of the filter group, should not be used together with `open` */
768
+ defaultOpen?: boolean;
769
+ /** Control the open state of the filter group */
770
+ open?: boolean;
771
+ /** Callback when the open state changes */
1003
772
  onOpenChange?: (open: boolean) => void;
1004
773
  ref?: Ref<HTMLDivElement>;
1005
774
  }>;
1006
- declare const FilterGroup: ({
1007
- icon,
1008
- label,
1009
- defaultOpen,
1010
- open,
1011
- onOpenChange,
1012
- children,
1013
- className,
1014
- ref,
1015
- ...props
1016
- }: FilterGroupProps) => _$react_jsx_runtime0.JSX.Element;
775
+ declare const FilterGroup: ({ icon, label, defaultOpen, open, onOpenChange, children, className, ref, ...props }: FilterGroupProps) => React.JSX.Element;
1017
776
  //#endregion
1018
777
  //#region src/components/footer/footer.d.ts
1019
778
  type FooterProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -1039,24 +798,10 @@ type FooterProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
1039
798
  hideCopyRight?: boolean;
1040
799
  ref?: Ref<HTMLDivElement>;
1041
800
  }>;
1042
- declare const Footer: ({
1043
- copyRightText,
1044
- hideAccreditationIcons,
1045
- hideSocialMediaIcons,
1046
- hideCopyRight,
1047
- className,
1048
- children,
1049
- ref,
1050
- ...props
1051
- }: FooterProps) => _$react_jsx_runtime0.JSX.Element;
801
+ declare const Footer: ({ copyRightText, hideAccreditationIcons, hideSocialMediaIcons, hideCopyRight, className, children, ref, ...props }: FooterProps) => React.JSX.Element;
1052
802
  //#endregion
1053
803
  //#region src/components/link/link.d.ts
1054
804
  type LinkProps = MergeRight<DefaultProps & AnchorHTMLAttributes<HTMLAnchorElement>, {
1055
- /**
1056
- * Set the color of the link.
1057
- * @default 'primary'
1058
- */
1059
- color?: 'primary' | 'neutral';
1060
805
  /**
1061
806
  * Control the underline style of the link.
1062
807
  * - 'always': The link is always underlined.
@@ -1072,14 +817,7 @@ type LinkProps = MergeRight<DefaultProps & AnchorHTMLAttributes<HTMLAnchorElemen
1072
817
  asChild?: boolean;
1073
818
  ref?: Ref<HTMLAnchorElement>;
1074
819
  }>;
1075
- declare const Link: ({
1076
- asChild,
1077
- className,
1078
- color,
1079
- underline,
1080
- ref,
1081
- ...rest
1082
- }: LinkProps) => _$react_jsx_runtime0.JSX.Element;
820
+ declare const Link: ({ asChild, className, underline, ref, ...rest }: LinkProps) => React.JSX.Element;
1083
821
  //#endregion
1084
822
  //#region src/components/logo/logo.d.ts
1085
823
  type LogoProps = MergeRight<DefaultProps & Omit<HTMLAttributes<HTMLSpanElement>, 'children'>, {
@@ -1106,15 +844,7 @@ type LogoProps = MergeRight<DefaultProps & Omit<HTMLAttributes<HTMLSpanElement>,
1106
844
  size?: 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl';
1107
845
  ref?: Ref<HTMLSpanElement>;
1108
846
  }>;
1109
- declare const Logo: ({
1110
- pride,
1111
- international,
1112
- vertical,
1113
- size,
1114
- className,
1115
- ref,
1116
- ...props
1117
- }: LogoProps) => _$react_jsx_runtime0.JSX.Element;
847
+ declare const Logo: ({ pride, international, vertical, size, className, ref, ...props }: LogoProps) => React.JSX.Element;
1118
848
  //#endregion
1119
849
  //#region src/components/navbar/navbar.d.ts
1120
850
  type NavbarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -1148,40 +878,19 @@ type NavbarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
1148
878
  transparent?: boolean;
1149
879
  ref?: Ref<HTMLElement>;
1150
880
  }>;
1151
- declare const Navbar: ({
1152
- fixed,
1153
- transparent,
1154
- homeAriaLabel,
1155
- skipLink,
1156
- homeHref,
1157
- logo,
1158
- children,
1159
- className,
1160
- ref,
1161
- ...props
1162
- }: NavbarProps) => _$react_jsx_runtime0.JSX.Element;
881
+ declare const Navbar: ({ fixed, transparent, homeAriaLabel, skipLink, homeHref, logo, children, className, ref, ...props }: NavbarProps) => React.JSX.Element;
1163
882
  //#endregion
1164
883
  //#region src/components/navbar/sub-navbar.d.ts
1165
884
  type SubNavbarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
1166
885
  ref?: Ref<HTMLElement>;
1167
886
  }>;
1168
- declare const SubNavbar: ({
1169
- children,
1170
- className,
1171
- ref,
1172
- ...props
1173
- }: SubNavbarProps) => _$react_jsx_runtime0.JSX.Element;
887
+ declare const SubNavbar: ({ children, className, ref, ...props }: SubNavbarProps) => React.JSX.Element;
1174
888
  //#endregion
1175
889
  //#region src/components/pagination/pagination.d.ts
1176
890
  type PaginationProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
1177
891
  ref?: Ref<HTMLUListElement>;
1178
892
  }>;
1179
- declare const Pagination: ({
1180
- className,
1181
- ref,
1182
- children,
1183
- ...props
1184
- }: PaginationProps) => _$react_jsx_runtime0.JSX.Element;
893
+ declare const Pagination: ({ className, ref, children, ...props }: PaginationProps) => React.JSX.Element;
1185
894
  //#endregion
1186
895
  //#region src/components/pagination/pagination-button.d.ts
1187
896
  type PaginationButtonProps = ButtonProps & {
@@ -1191,33 +900,21 @@ type PaginationButtonProps = ButtonProps & {
1191
900
  */
1192
901
  'aria-current'?: AriaAttributes['aria-current'];
1193
902
  };
1194
- declare const PaginationButton: ({
1195
- ref,
1196
- ...rest
1197
- }: PaginationButtonProps) => _$react_jsx_runtime0.JSX.Element;
903
+ declare const PaginationButton: ({ ref, ...rest }: PaginationButtonProps) => React.JSX.Element;
1198
904
  //#endregion
1199
905
  //#region src/components/radio/radio.d.ts
1200
906
  type RadioProps = MergeRight<LabelRequiredProps & Omit<InputProps, 'type' | 'role' | 'size'>, {
1201
- /** Label */label?: ReactNode; /** Description */
1202
- description?: ReactNode; /** Add error indication to the radio. */
1203
- error?: boolean; /** If true, the radio will take up the full width of the container, and not just "fit-content" which is default */
907
+ /** Label */
908
+ label?: ReactNode;
909
+ /** Description */
910
+ description?: ReactNode;
911
+ /** Add error indication to the radio. */
912
+ error?: boolean;
913
+ /** If true, the radio will take up the full width of the container, and not just "fit-content" which is default */
1204
914
  fullwidth?: boolean;
1205
915
  ref?: Ref<HTMLInputElement>;
1206
916
  }>;
1207
- declare const Radio: ({
1208
- label,
1209
- description,
1210
- error,
1211
- fullwidth,
1212
- style,
1213
- className,
1214
- ref,
1215
- id,
1216
- "data-color": color,
1217
- "data-color-scheme": colorScheme,
1218
- "aria-describedby": ariaDescribedByProp,
1219
- ...props
1220
- }: RadioProps) => _$react_jsx_runtime0.JSX.Element;
917
+ declare const Radio: ({ label, description, error, fullwidth, style, className, ref, id, "data-color": color, "data-color-scheme": colorScheme, "aria-describedby": ariaDescribedByProp, ...props }: RadioProps) => React.JSX.Element;
1221
918
  //#endregion
1222
919
  //#region src/components/search/search.d.ts
1223
920
  type SearchProps = MergeRight<Omit<InputProps, 'type' | 'size'>, {
@@ -1225,29 +922,20 @@ type SearchProps = MergeRight<Omit<InputProps, 'type' | 'size'>, {
1225
922
  * Size of the search.
1226
923
  * @default 'medium'
1227
924
  */
1228
- size?: 'medium' | 'large'; /** Called when the user presses enter. You can use this to for example navigate on submit. */
1229
- onSubmit?: (value: string) => void; /** Called when the user resets the search input. */
925
+ size?: 'medium' | 'large';
926
+ /** Called when the user presses enter. You can use this to for example navigate on submit. */
927
+ onSubmit?: (value: string) => void;
928
+ /** Called when the user resets the search input. */
1230
929
  onReset?: (value: string) => void;
1231
930
  /**
1232
931
  * Aria-label for the clear button.
1233
932
  * @default 'Clear'
1234
933
  */
1235
- clearAriaLabel?: string; /** If true, the selectfield will take up the full available width */
934
+ clearAriaLabel?: string;
935
+ /** If true, the selectfield will take up the full available width */
1236
936
  fullwidth?: boolean;
1237
937
  }>;
1238
- declare const Search: ({
1239
- className,
1240
- onSubmit,
1241
- onReset,
1242
- clearAriaLabel,
1243
- size,
1244
- ref,
1245
- style,
1246
- fullwidth,
1247
- "data-color": color,
1248
- "data-color-scheme": colorScheme,
1249
- ...props
1250
- }: SearchProps) => _$react_jsx_runtime0.JSX.Element;
938
+ declare const Search: ({ className, onSubmit, onReset, clearAriaLabel, size, ref, style, fullwidth, "data-color": color, "data-color-scheme": colorScheme, ...props }: SearchProps) => React.JSX.Element;
1251
939
  //#endregion
1252
940
  //#region src/components/select/select.d.ts
1253
941
  type SelectProps = MergeRight<DefaultProps & Omit<SelectHTMLAttributes<HTMLSelectElement>, 'multiple' | 'size'>, {
@@ -1255,79 +943,44 @@ type SelectProps = MergeRight<DefaultProps & Omit<SelectHTMLAttributes<HTMLSelec
1255
943
  * Size of the select.
1256
944
  * @default 'medium'
1257
945
  */
1258
- size?: 'medium' | 'large'; /** Mark the select as readOnly */
946
+ size?: 'medium' | 'large';
947
+ /** Mark the select as readOnly */
1259
948
  readOnly?: boolean;
1260
949
  ref?: Ref<HTMLSelectElement>;
1261
950
  }>;
1262
- declare const Select: ({
1263
- className,
1264
- onKeyDown,
1265
- onMouseDown,
1266
- size,
1267
- ref,
1268
- ...props
1269
- }: SelectProps) => _$react_jsx_runtime0.JSX.Element;
951
+ declare const Select: ({ className, onKeyDown, onMouseDown, size, ref, ...props }: SelectProps) => React.JSX.Element;
1270
952
  //#endregion
1271
953
  //#region src/components/select/select-option.d.ts
1272
954
  type SelectOptionProps = MergeRight<AsChildProps & OptionHTMLAttributes<HTMLOptionElement>, {
1273
955
  ref?: Ref<HTMLOptionElement>;
1274
956
  }>;
1275
- declare const SelectOption: ({
1276
- asChild,
1277
- ref,
1278
- ...props
1279
- }: SelectOptionProps) => _$react_jsx_runtime0.JSX.Element;
957
+ declare const SelectOption: ({ asChild, ref, ...props }: SelectOptionProps) => React.JSX.Element;
1280
958
  //#endregion
1281
959
  //#region src/components/select/select-optgroup.d.ts
1282
960
  type SelectOptgroupProps = MergeRight<AsChildProps & OptgroupHTMLAttributes<HTMLOptGroupElement>, {
1283
961
  ref?: Ref<HTMLOptGroupElement>;
1284
962
  }>;
1285
- declare const SelectOptgroup: ({
1286
- asChild,
1287
- ref,
1288
- ...props
1289
- }: SelectOptgroupProps) => _$react_jsx_runtime0.JSX.Element;
963
+ declare const SelectOptgroup: ({ asChild, ref, ...props }: SelectOptgroupProps) => React.JSX.Element;
1290
964
  //#endregion
1291
965
  //#region src/components/selectfield/selectfield.d.ts
1292
966
  type SelectfieldProps = MergeRight<LabelRequiredProps & SelectProps, {
1293
- /** Description */description?: ReactNode; /** Error message for field */
1294
- error?: ReactNode; /** If true, the selectfield will take up the full available width */
967
+ /** Description */
968
+ description?: ReactNode;
969
+ /** Error message for field */
970
+ error?: ReactNode;
971
+ /** If true, the selectfield will take up the full available width */
1295
972
  fullwidth?: boolean;
1296
973
  }>;
1297
- declare const Selectfield: ({
1298
- children,
1299
- label,
1300
- description,
1301
- error,
1302
- style,
1303
- className,
1304
- fullwidth,
1305
- ref,
1306
- id: idProp,
1307
- "data-color": color,
1308
- "data-color-scheme": colorScheme,
1309
- "aria-describedby": ariaDescribedByProp,
1310
- ...props
1311
- }: SelectfieldProps) => _$react_jsx_runtime0.JSX.Element;
974
+ declare const Selectfield: ({ children, label, description, error, style, className, fullwidth, ref, id: idProp, "data-color": color, "data-color-scheme": colorScheme, "aria-describedby": ariaDescribedByProp, ...props }: SelectfieldProps) => React.JSX.Element;
1312
975
  //#endregion
1313
976
  //#region src/components/skip-link/skip-link.d.ts
1314
977
  type SkipLinkProps = MergeRight<DefaultProps & AsChildProps & AnchorHTMLAttributes<HTMLAnchorElement>, {
1315
978
  ref?: Ref<HTMLAnchorElement>;
1316
979
  }>;
1317
- declare const SkipLink: ({
1318
- asChild,
1319
- children,
1320
- className,
1321
- ...props
1322
- }: SkipLinkProps) => _$react_jsx_runtime0.JSX.Element;
980
+ declare const SkipLink: ({ asChild, children, className, ...props }: SkipLinkProps) => React.JSX.Element;
1323
981
  //#endregion
1324
982
  //#region src/components/spinner/spinner.d.ts
1325
983
  type SpinnerProps = MergeRight<DefaultProps & HTMLAttributes<HTMLSpanElement>, {
1326
- /**
1327
- * The color of the spinner.
1328
- * @default 'inherit'
1329
- */
1330
- color?: 'inherit' | 'black';
1331
984
  /**
1332
985
  * The size of the spinner.
1333
986
  * It sets the font-size as the width and height is `1em`. If not set, the spinner will inherit the font size of its parent.
@@ -1335,39 +988,27 @@ type SpinnerProps = MergeRight<DefaultProps & HTMLAttributes<HTMLSpanElement>, {
1335
988
  size?: 'small' | 'medium' | 'large' | 'xl' | '2xl';
1336
989
  ref?: Ref<HTMLSpanElement>;
1337
990
  }>;
1338
- declare const Spinner: ({
1339
- color,
1340
- size,
1341
- className,
1342
- ref,
1343
- ...props
1344
- }: SpinnerProps) => _$react_jsx_runtime0.JSX.Element;
991
+ declare const Spinner: ({ size, className, ref, ...props }: SpinnerProps) => React.JSX.Element;
1345
992
  //#endregion
1346
993
  //#region src/components/switch/switch.d.ts
1347
994
  type SwitchProps = MergeRight<LabelRequiredProps & Omit<InputProps, 'type' | 'role' | 'size'> & Pick<FieldProps, 'position'>, {
1348
- /** Label */label?: ReactNode; /** Add error indication to the switch. */
1349
- error?: boolean; /** If true, the switch will take up the full width of the container, and not just "fit-content" which is default */
995
+ /** Label */
996
+ label?: ReactNode;
997
+ /** Add error indication to the switch. */
998
+ error?: boolean;
999
+ /** If true, the switch will take up the full width of the container, and not just "fit-content" which is default */
1350
1000
  fullwidth?: boolean;
1351
1001
  ref?: Ref<HTMLInputElement>;
1352
1002
  }>;
1353
- declare const Switch: ({
1354
- label,
1355
- error,
1356
- fullwidth,
1357
- style,
1358
- className,
1359
- ref,
1360
- id,
1361
- "data-color": color,
1362
- "data-color-scheme": colorScheme,
1363
- position,
1364
- ...props
1365
- }: SwitchProps) => _$react_jsx_runtime0.JSX.Element;
1003
+ declare const Switch: ({ label, error, fullwidth, style, className, ref, id, "data-color": color, "data-color-scheme": colorScheme, position, ...props }: SwitchProps) => React.JSX.Element;
1366
1004
  //#endregion
1367
1005
  //#region src/components/tabs/tabs.d.ts
1368
1006
  type TabsProps = MergeRight<DefaultProps & HTMLAttributes<DSTabsElement>, {
1369
- /** The value of the tab that should be active when initially rendered. Use when you do not need to control the state of the tabs. */defaultValue?: string; /** The controlled value of the tab to activate. Should be used together with `onChange`. */
1370
- value?: string; /** Event handler called when the value changes. */
1007
+ /** The value of the tab that should be active when initially rendered. Use when you do not need to control the state of the tabs. */
1008
+ defaultValue?: string;
1009
+ /** The controlled value of the tab to activate. Should be used together with `onChange`. */
1010
+ value?: string;
1011
+ /** Event handler called when the value changes. */
1371
1012
  onChange?: (value: string) => void;
1372
1013
  ref?: Ref<DSTabsElement>;
1373
1014
  }>;
@@ -1377,53 +1018,30 @@ type TabsContext = {
1377
1018
  onChange?: (value: string) => void;
1378
1019
  getPrefixedValue?: (value?: string) => string | undefined;
1379
1020
  };
1380
- declare const Context: _$react.Context<TabsContext>;
1381
- declare const Tabs: ({
1382
- defaultValue,
1383
- value: valueProp,
1384
- onChange,
1385
- children,
1386
- className,
1387
- ref,
1388
- ...props
1389
- }: TabsProps) => _$react_jsx_runtime0.JSX.Element;
1021
+ declare const Context: React.Context<TabsContext>;
1022
+ declare const Tabs: ({ defaultValue, value: valueProp, onChange, children, className, ref, ...props }: TabsProps) => React.JSX.Element;
1390
1023
  //#endregion
1391
1024
  //#region src/components/tabs/tab.d.ts
1392
1025
  type TabProps = MergeRight<HTMLAttributes<DSTabElement>, {
1393
- /** A unique value that associates the trigger with a content. */value: string;
1026
+ /** A unique value that associates the trigger with a content. */
1027
+ value: string;
1394
1028
  ref?: Ref<DSTabElement>;
1395
1029
  }>;
1396
- declare const Tab: ({
1397
- value,
1398
- children,
1399
- onClick,
1400
- onClickCapture,
1401
- ref,
1402
- ...props
1403
- }: TabProps) => _$react_jsx_runtime0.JSX.Element;
1030
+ declare const Tab: ({ value, children, onClick, onClickCapture, ref, ...props }: TabProps) => React.JSX.Element;
1404
1031
  //#endregion
1405
1032
  //#region src/components/tabs/tabs-list.d.ts
1406
1033
  type TabsListProps = MergeRight<HTMLAttributes<DSTabListElement>, {
1407
1034
  ref?: Ref<DSTabListElement>;
1408
1035
  }>;
1409
- declare const TabsList: ({
1410
- children,
1411
- ref,
1412
- ...props
1413
- }: TabsListProps) => _$react_jsx_runtime0.JSX.Element;
1036
+ declare const TabsList: ({ children, ref, ...props }: TabsListProps) => React.JSX.Element;
1414
1037
  //#endregion
1415
1038
  //#region src/components/tabs/tabs-panel.d.ts
1416
1039
  type TabsPanelProps = MergeRight<HTMLAttributes<DSTabPanelElement>, {
1417
- /** A unique value that associates the content with a trigger. */value: string;
1040
+ /** A unique value that associates the content with a trigger. */
1041
+ value: string;
1418
1042
  ref?: Ref<DSTabPanelElement>;
1419
1043
  }>;
1420
- declare const TabsPanel: ({
1421
- value,
1422
- id,
1423
- children,
1424
- ref,
1425
- ...props
1426
- }: TabsPanelProps) => _$react_jsx_runtime0.JSX.Element;
1044
+ declare const TabsPanel: ({ value, id, children, ref, ...props }: TabsPanelProps) => React.JSX.Element;
1427
1045
  //#endregion
1428
1046
  //#region src/components/textarea/textarea.d.ts
1429
1047
  type TextareaProps = MergeRight<DefaultProps & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'prefix'>, {
@@ -1434,53 +1052,42 @@ type TextareaProps = MergeRight<DefaultProps & Omit<TextareaHTMLAttributes<HTMLT
1434
1052
  size?: 'medium' | 'large';
1435
1053
  ref?: Ref<HTMLTextAreaElement>;
1436
1054
  }>;
1437
- declare const Textarea: ({
1438
- className,
1439
- size,
1440
- ref,
1441
- ...props
1442
- }: TextareaProps) => _$react_jsx_runtime0.JSX.Element;
1055
+ declare const Textarea: ({ className, size, ref, ...props }: TextareaProps) => React.JSX.Element;
1443
1056
  //#endregion
1444
1057
  //#region src/components/textfield/textfield.d.ts
1445
1058
  type InputPropsFiltered = Omit<InputProps, 'prefix' | 'className' | 'style'>;
1446
1059
  type TextareaPropsFiltered = Omit<TextareaProps, 'prefix' | 'className' | 'style'>;
1447
1060
  type BaseTextfieldProps = LabelRequiredProps & DefaultProps & {
1448
- /** Label */label?: ReactNode; /** Description */
1449
- description?: ReactNode; /** Prefix */
1450
- prefix?: string; /** Suffix */
1451
- suffix?: string; /** Error message for field */
1452
- error?: ReactNode; /** `className` for the `Field` element */
1453
- className?: InputProps['className']; /** `style` for the `Field` element */
1454
- style?: InputProps['style']; /** If true, the selectfield will take up the full available width */
1061
+ /** Label */
1062
+ label?: ReactNode;
1063
+ /** Description */
1064
+ description?: ReactNode;
1065
+ /** Prefix */
1066
+ prefix?: string;
1067
+ /** Suffix */
1068
+ suffix?: string;
1069
+ /** Error message for field */
1070
+ error?: ReactNode;
1071
+ /** `className` for the `Field` element */
1072
+ className?: InputProps['className'];
1073
+ /** `style` for the `Field` element */
1074
+ style?: InputProps['style'];
1075
+ /** If true, the selectfield will take up the full available width */
1455
1076
  fullwidth?: boolean;
1456
1077
  };
1457
1078
  type TextfieldTextareaProps = {
1458
- /** Render `Textarea` instead of a `Input`. The `Textarea` has support for multiple rows of input. */multiline: true;
1079
+ /** Render `Textarea` instead of a `Input`. The `Textarea` has support for multiple rows of input. */
1080
+ multiline: true;
1459
1081
  } & TextareaPropsFiltered;
1460
1082
  type TextfieldInputProps = {
1461
- /** Render `Textarea` instead of a `Input`. The `Textarea` has support for multiple rows of input. */multiline?: never | false;
1083
+ /** Render `Textarea` instead of a `Input`. The `Textarea` has support for multiple rows of input. */
1084
+ multiline?: never | false;
1462
1085
  } & InputPropsFiltered;
1463
- type TextfieldProps = BaseTextfieldProps & // We use either Textarea or Input props, depending on the `multiline` prop.
1464
- (TextfieldTextareaProps | TextfieldInputProps) & {
1086
+ type TextfieldProps = BaseTextfieldProps // We use either Textarea or Input props, depending on the `multiline` prop.
1087
+ & (TextfieldTextareaProps | TextfieldInputProps) & {
1465
1088
  ref?: Ref<HTMLInputElement | HTMLTextAreaElement>;
1466
1089
  };
1467
- declare const Textfield: ({
1468
- label,
1469
- description,
1470
- error,
1471
- multiline,
1472
- prefix,
1473
- suffix,
1474
- style,
1475
- className,
1476
- fullwidth,
1477
- ref,
1478
- id: idProp,
1479
- "data-color": color,
1480
- "data-color-scheme": colorScheme,
1481
- "aria-describedby": ariaDescribedByProp,
1482
- ...props
1483
- }: TextfieldProps) => _$react_jsx_runtime0.JSX.Element;
1090
+ declare const Textfield: ({ label, description, error, multiline, prefix, suffix, style, className, fullwidth, ref, id: idProp, "data-color": color, "data-color-scheme": colorScheme, "aria-describedby": ariaDescribedByProp, ...props }: TextfieldProps) => React.JSX.Element;
1484
1091
  //#endregion
1485
1092
  //#region src/components/tooltip/tooltip.d.ts
1486
1093
  type TooltipProps = MergeRight<HTMLAttributes<HTMLSpanElement>, {
@@ -1520,28 +1127,15 @@ type TooltipProps = MergeRight<HTMLAttributes<HTMLSpanElement>, {
1520
1127
  * Hover me
1521
1128
  * </Tooltip>
1522
1129
  */
1523
- declare const Tooltip: ({
1524
- children,
1525
- content,
1526
- placement,
1527
- disableAutoPlacement,
1528
- ref,
1529
- ...props
1530
- }: TooltipProps) => _$react_jsx_runtime0.JSX.Element;
1130
+ declare const Tooltip: ({ children, content, placement, disableAutoPlacement, ref, ...props }: TooltipProps) => React.JSX.Element;
1531
1131
  //#endregion
1532
1132
  //#region src/components/validation-message/validation-message.d.ts
1533
1133
  type ValidationMessageProps = MergeRight<AsChildProps & HTMLAttributes<HTMLParagraphElement>, {
1534
- /** Override the default warning icon. Must be a BiIcon to work correctly. */icon?: ReactNode;
1134
+ /** Override the default warning icon. Must be a BiIcon to work correctly. */
1135
+ icon?: ReactNode;
1535
1136
  ref?: Ref<HTMLParagraphElement>;
1536
1137
  }>;
1537
- declare const ValidationMessage: ({
1538
- children,
1539
- className,
1540
- icon,
1541
- asChild,
1542
- ref,
1543
- ...props
1544
- }: ValidationMessageProps) => _$react_jsx_runtime0.JSX.Element;
1138
+ declare const ValidationMessage: ({ children, className, icon, asChild, ref, ...props }: ValidationMessageProps) => React.JSX.Element;
1545
1139
  //#endregion
1546
1140
  //#region src/utilities/hooks/usePagination/usePagination.d.ts
1547
1141
  type UsePaginationProps = {
@@ -1565,7 +1159,8 @@ type UsePaginationProps = {
1565
1159
  * If `true`, the component is disabled.
1566
1160
  * @default false
1567
1161
  */
1568
- disabled?: boolean; /** Callback when the page changes */
1162
+ disabled?: boolean;
1163
+ /** Callback when the page changes */
1569
1164
  onPageChange?: (page: number) => void;
1570
1165
  };
1571
1166
  /**
@@ -1598,27 +1193,27 @@ type UsePaginationProps = {
1598
1193
  * </PaginationItem>
1599
1194
  * </Pagination>
1600
1195
  **/
1601
- declare const usePagination: ({
1602
- count,
1603
- page: pageProp,
1604
- defaultPage,
1605
- boundaryCount,
1606
- siblingCount,
1607
- disabled,
1608
- onPageChange
1609
- }: UsePaginationProps) => {
1610
- /** Items and pages to be displayed */pages: {
1611
- /** Page number, "ellipsis" for ellipsis items */page: number | "ellipsis"; /** Unique key for the item */
1612
- key: string; /** Properties to spread on PaginationButton */
1196
+ declare const usePagination: ({ count, page: pageProp, defaultPage, boundaryCount, siblingCount, disabled, onPageChange }: UsePaginationProps) => {
1197
+ /** Items and pages to be displayed */
1198
+ pages: {
1199
+ /** Page number, "ellipsis" for ellipsis items */
1200
+ page: number | "ellipsis";
1201
+ /** Unique key for the item */
1202
+ key: string;
1203
+ /** Properties to spread on PaginationButton */
1613
1204
  buttonProps: {
1614
1205
  'aria-current': "page" | undefined;
1615
1206
  onClick: () => void;
1616
1207
  variant: "text";
1617
1208
  } | null;
1618
- }[]; /** Properties to spread on PaginationButton used for previous navigation */
1619
- prevButtonProps: PaginationButtonProps; /** Properties to spread on PaginationButton used for next naviagation */
1620
- nextButtonProps: PaginationButtonProps; /** If previous page action should be shown */
1621
- hasPrev: boolean; /** If next page action should be shown */
1209
+ }[];
1210
+ /** Properties to spread on PaginationButton used for previous navigation */
1211
+ prevButtonProps: PaginationButtonProps;
1212
+ /** Properties to spread on PaginationButton used for next naviagation */
1213
+ nextButtonProps: PaginationButtonProps;
1214
+ /** If previous page action should be shown */
1215
+ hasPrev: boolean;
1216
+ /** If next page action should be shown */
1622
1217
  hasNext: boolean;
1623
1218
  };
1624
1219
  //#endregion
@@ -1631,13 +1226,7 @@ type AlertFooterProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
1631
1226
  asChild?: boolean;
1632
1227
  ref?: Ref<HTMLDivElement>;
1633
1228
  }>;
1634
- declare const AlertFooter: ({
1635
- className,
1636
- children,
1637
- asChild,
1638
- ref,
1639
- ...rest
1640
- }: AlertFooterProps) => _$react_jsx_runtime0.JSX.Element;
1229
+ declare const AlertFooter: ({ className, children, asChild, ref, ...rest }: AlertFooterProps) => React.JSX.Element;
1641
1230
  //#endregion
1642
1231
  export { Footer as $, Checkbox as $t, SelectfieldProps as A, PopoverProps as At, RadioProps as B, DialogContentProps as Bt, Switch as C, Alert as Cn, DropdownButton as Ct, SkipLink as D, PopoverTrigger as Dt, SpinnerProps as E, DropdownProps as Et, Select as F, DialogFooter as Ft, SubNavbar as G, DetailsContent as Gt, PaginationButtonProps as H, DialogProps as Ht, SelectProps as I, DialogFooterProps as It, NavbarProps as J, DetailsProps as Jt, SubNavbarProps as K, DetailsContentProps as Kt, Search as L, DialogHeader as Lt, SelectOptgroupProps as M, DialogCloseButtonProps as Mt, SelectOption as N, DialogTrigger as Nt, SkipLinkProps as O, PopoverTriggerProps as Ot, SelectOptionProps as P, DialogTriggerProps as Pt, LinkProps as Q, CheckboxSubsectionProps as Qt, SearchProps as R, DialogHeaderProps as Rt, TabsProps as S, AvatarProps as Sn, DropdownTriggerProps as St, Spinner as T, Dropdown as Tt, Pagination as U, DetailsSummary as Ut, PaginationButton as V, Dialog as Vt, PaginationProps as W, DetailsSummaryProps as Wt, LogoProps as X, ChipProps as Xt, Logo as Y, Chip as Yt, Link as Z, CheckboxSubsection as Zt, Tab as _, Button as _n, Field as _t, ValidationMessage as a, CardMedia as an, Label as at, Tabs as b, BadgeProps as bn, DropdownTriggerContextProps as bt, TooltipProps as c, CardHeaderProps as cn, FieldsetDescriptionProps as ct, Textarea as d, CardAction as dn, FieldAffix as dt, CheckboxProps as en, FooterProps as et, TextareaProps as f, CardActionProps as fn, FieldAffixProps as ft, TabsListProps as g, CardProps as gn, FieldDescriptionProps as gt, TabsList as h, Card as hn, FieldDescription as ht, usePagination as i, CardDateProps as in, FieldsetLegendProps as it, SelectOptgroup as j, DialogCloseButton as jt, Selectfield as k, Popover as kt, Textfield as l, CardContent as ln, Fieldset as lt, TabsPanelProps as m, CardActionsProps as mn, FieldAffixesProps as mt, AlertFooterProps as n, InputProps as nn, FilterGroupProps as nt, ValidationMessageProps as o, CardMediaProps as on, LabelProps as ot, TabsPanel as p, CardActions as pn, FieldAffixes as pt, Navbar as q, Details as qt, UsePaginationProps as r, CardDate as rn, FieldsetLegend as rt, Tooltip as s, CardHeader as sn, FieldsetDescription as st, AlertFooter as t, Input as tn, FilterGroup as tt, TextfieldProps as u, CardContentProps as un, FieldsetProps as ut, TabProps as v, ButtonProps as vn, FieldProps as vt, SwitchProps as w, AlertProps as wn, DropdownButtonProps as wt, TabsContext as x, Avatar as xn, DropdownTrigger as xt, Context as y, Badge as yn, DropdownTriggerContext as yt, Radio as z, DialogContent as zt };
1643
- //# sourceMappingURL=alert-footer-Yb_zpMhd.d.mts.map
1232
+ //# sourceMappingURL=alert-footer-BoTu7E1s.d.mts.map