@bi-digital/react 0.3.2 → 0.3.3

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 (188) hide show
  1. package/dist/alert-C6PxDwHt.js.map +1 -1
  2. package/dist/alert-footer-DL4rCThp.js.map +1 -1
  3. package/dist/{alert-footer-BS7TXc1g.d.ts → alert-footer-DWZoQIek.d.ts} +67 -67
  4. package/dist/avatar-6Q2xwviO.js.map +1 -1
  5. package/dist/badge-D9OVAKG8.js.map +1 -1
  6. package/dist/button-fhd-JARc.js.map +1 -1
  7. package/dist/card-QAnFhTk6.js.map +1 -1
  8. package/dist/card-action-D8M3_IVq.js.map +1 -1
  9. package/dist/card-actions-CIsnmxsm.js.map +1 -1
  10. package/dist/card-content-DkEHp8mv.js.map +1 -1
  11. package/dist/card-date-Bd87BGDE.js.map +1 -1
  12. package/dist/card-header-D-RMd4xS.js.map +1 -1
  13. package/dist/card-media-DhU2_Ueq.js.map +1 -1
  14. package/dist/checkbox-ZR1Z2PCF.js.map +1 -1
  15. package/dist/checkbox-subsection-BPe5aj-W.js.map +1 -1
  16. package/dist/chip-b9xUiF7_.js.map +1 -1
  17. package/dist/components/alert/alert-footer.d.ts +3 -3
  18. package/dist/components/alert/alert.d.ts +3 -3
  19. package/dist/components/alert/index.d.ts +3 -3
  20. package/dist/components/avatar/avatar.d.ts +3 -3
  21. package/dist/components/avatar/index.d.ts +3 -3
  22. package/dist/components/badge/badge.d.ts +3 -3
  23. package/dist/components/badge/index.d.ts +3 -3
  24. package/dist/components/button/button.d.ts +3 -3
  25. package/dist/components/button/index.d.ts +3 -3
  26. package/dist/components/card/card-action.d.ts +3 -3
  27. package/dist/components/card/card-actions.d.ts +3 -3
  28. package/dist/components/card/card-content.d.ts +3 -3
  29. package/dist/components/card/card-date.d.ts +3 -3
  30. package/dist/components/card/card-header.d.ts +3 -3
  31. package/dist/components/card/card-media.d.ts +3 -3
  32. package/dist/components/card/card.d.ts +3 -3
  33. package/dist/components/card/index.d.ts +3 -3
  34. package/dist/components/checkbox/checkbox-subsection.d.ts +3 -3
  35. package/dist/components/checkbox/checkbox.d.ts +3 -3
  36. package/dist/components/checkbox/index.d.ts +3 -3
  37. package/dist/components/chip/chip.d.ts +3 -3
  38. package/dist/components/chip/index.d.ts +3 -3
  39. package/dist/components/dialog/dialog-close-button.d.ts +3 -3
  40. package/dist/components/dialog/dialog-content.d.ts +3 -3
  41. package/dist/components/dialog/dialog-footer.d.ts +3 -3
  42. package/dist/components/dialog/dialog-header.d.ts +3 -3
  43. package/dist/components/dialog/dialog-trigger-context.d.ts +1 -1
  44. package/dist/components/dialog/dialog-trigger.d.ts +3 -3
  45. package/dist/components/dialog/dialog.d.ts +3 -3
  46. package/dist/components/dialog/index.d.ts +3 -3
  47. package/dist/components/drawer/drawer-close-button.d.ts +3 -3
  48. package/dist/components/drawer/drawer-content.d.ts +3 -3
  49. package/dist/components/drawer/drawer-footer.d.ts +3 -3
  50. package/dist/components/drawer/drawer-header.d.ts +3 -3
  51. package/dist/components/drawer/drawer-trigger.d.ts +3 -3
  52. package/dist/components/drawer/drawer.d.ts +3 -3
  53. package/dist/components/drawer/index.d.ts +3 -3
  54. package/dist/components/dropdown/dropdown-button.d.ts +3 -3
  55. package/dist/components/dropdown/dropdown-trigger-context.d.ts +3 -3
  56. package/dist/components/dropdown/dropdown-trigger.d.ts +3 -3
  57. package/dist/components/dropdown/dropdown.d.ts +3 -3
  58. package/dist/components/dropdown/index.d.ts +3 -3
  59. package/dist/components/field/field-affix.d.ts +3 -3
  60. package/dist/components/field/field-description.d.ts +3 -3
  61. package/dist/components/field/field.d.ts +3 -3
  62. package/dist/components/field/index.d.ts +3 -3
  63. package/dist/components/fieldset/fieldset-description.d.ts +3 -3
  64. package/dist/components/fieldset/fieldset-legend.d.ts +3 -3
  65. package/dist/components/fieldset/fieldset.d.ts +3 -3
  66. package/dist/components/fieldset/index.d.ts +3 -3
  67. package/dist/components/filter-group/filter-group.d.ts +3 -3
  68. package/dist/components/filter-group/index.d.ts +3 -3
  69. package/dist/components/footer/footer.d.ts +3 -3
  70. package/dist/components/footer/index.d.ts +3 -3
  71. package/dist/components/index.d.ts +3 -3
  72. package/dist/components/input/index.d.ts +3 -3
  73. package/dist/components/input/input.d.ts +3 -3
  74. package/dist/components/label/index.d.ts +3 -3
  75. package/dist/components/label/label.d.ts +3 -3
  76. package/dist/components/link/index.d.ts +3 -3
  77. package/dist/components/link/link.d.ts +3 -3
  78. package/dist/components/logo/index.d.ts +3 -3
  79. package/dist/components/logo/logo.d.ts +3 -3
  80. package/dist/components/navbar/index.d.ts +3 -3
  81. package/dist/components/navbar/navbar.d.ts +3 -3
  82. package/dist/components/navbar/sub-navbar.d.ts +3 -3
  83. package/dist/components/pagination/index.d.ts +3 -3
  84. package/dist/components/pagination/pagination-button.d.ts +3 -3
  85. package/dist/components/pagination/pagination.d.ts +3 -3
  86. package/dist/components/popover/index.d.ts +3 -3
  87. package/dist/components/popover/popover-trigger.d.ts +3 -3
  88. package/dist/components/popover/popover.d.ts +3 -3
  89. package/dist/components/radio/index.d.ts +3 -3
  90. package/dist/components/radio/radio.d.ts +3 -3
  91. package/dist/components/search/index.d.ts +3 -3
  92. package/dist/components/search/search.d.ts +3 -3
  93. package/dist/components/select/index.d.ts +3 -3
  94. package/dist/components/select/select-optgroup.d.ts +3 -3
  95. package/dist/components/select/select-option.d.ts +3 -3
  96. package/dist/components/select/select.d.ts +3 -3
  97. package/dist/components/selectfield/index.d.ts +3 -3
  98. package/dist/components/selectfield/selectfield.d.ts +3 -3
  99. package/dist/components/skip-link/index.d.ts +3 -3
  100. package/dist/components/skip-link/skip-link.d.ts +3 -3
  101. package/dist/components/spinner/index.d.ts +3 -3
  102. package/dist/components/spinner/spinner.d.ts +3 -3
  103. package/dist/components/sticky-header/index.d.ts +1 -1
  104. package/dist/components/sticky-header/sticky-header.d.ts +1 -1
  105. package/dist/components/tabs/index.d.ts +3 -3
  106. package/dist/components/tabs/tab.d.ts +3 -3
  107. package/dist/components/tabs/tabs-list.d.ts +3 -3
  108. package/dist/components/tabs/tabs-panel.d.ts +3 -3
  109. package/dist/components/tabs/tabs.d.ts +3 -3
  110. package/dist/components/textarea/index.d.ts +3 -3
  111. package/dist/components/textarea/textarea.d.ts +3 -3
  112. package/dist/components/textfield/index.d.ts +3 -3
  113. package/dist/components/textfield/textfield.d.ts +3 -3
  114. package/dist/components/validation-message/index.d.ts +3 -3
  115. package/dist/components/validation-message/validation-message.d.ts +3 -3
  116. package/dist/dialog-DzGRZgbP.js.map +1 -1
  117. package/dist/dialog-close-button-C1omdnIn.js.map +1 -1
  118. package/dist/dialog-content-R35XpbSj.js.map +1 -1
  119. package/dist/dialog-footer-AoiCz_Uj.js.map +1 -1
  120. package/dist/dialog-header-Bbq9DcHX.js.map +1 -1
  121. package/dist/dialog-trigger-DinHpkua.js.map +1 -1
  122. package/dist/dialog-trigger-context-51mA5fz3.js.map +1 -1
  123. package/dist/{dialog-trigger-context-ClG9UVsz.d.ts → dialog-trigger-context-BxroyS54.d.ts} +3 -3
  124. package/dist/drawer-CZ05Lizo.js.map +1 -1
  125. package/dist/drawer-close-button-DC39bNW2.js.map +1 -1
  126. package/dist/drawer-content-CFc-rxBo.js.map +1 -1
  127. package/dist/drawer-footer-CfHjfvEg.js.map +1 -1
  128. package/dist/drawer-header-DK4XoaaW.js.map +1 -1
  129. package/dist/drawer-trigger-Do9Htx5M.js.map +1 -1
  130. package/dist/drawer-trigger-context-BUWPPdas.js.map +1 -1
  131. package/dist/dropdown-Fzf2CeX4.js.map +1 -1
  132. package/dist/dropdown-b7acNLZb.js.map +1 -1
  133. package/dist/dropdown-button-FQqIwqdp.js.map +1 -1
  134. package/dist/dropdown-item-DQQXQC4J.js.map +1 -1
  135. package/dist/dropdown-list-DB1mST67.js.map +1 -1
  136. package/dist/dropdown-trigger-Fwrigwtg.js.map +1 -1
  137. package/dist/dropdown-trigger-context-BCcyoZEx.js.map +1 -1
  138. package/dist/field-DFMMLG-d.js.map +1 -1
  139. package/dist/field-affix-npc6m7XL.js.map +1 -1
  140. package/dist/field-description-Dhm1VA08.js.map +1 -1
  141. package/dist/fieldset-Bpu4CRKG.js.map +1 -1
  142. package/dist/fieldset-description-DiHvcLh-.js.map +1 -1
  143. package/dist/fieldset-legend-CR4srn2-.js.map +1 -1
  144. package/dist/filter-group-Fzw9g6JB.js.map +1 -1
  145. package/dist/footer-B9sjkncE.js.map +1 -1
  146. package/dist/footer-links-BIUrxu38.js.map +1 -1
  147. package/dist/input-Dr7BnTyd.js.map +1 -1
  148. package/dist/label-DUzvAx-T.js.map +1 -1
  149. package/dist/link-BqDeZAJF.js.map +1 -1
  150. package/dist/logo-QKrYvRFP.js.map +1 -1
  151. package/dist/main.d.ts +3 -3
  152. package/dist/navbar-Dxv7GQO0.js.map +1 -1
  153. package/dist/pagination-DH6vZYMO.js.map +1 -1
  154. package/dist/pagination-button-CMSNwkeT.js.map +1 -1
  155. package/dist/pagination-item-DzskmZxf.js.map +1 -1
  156. package/dist/popover-DOMLkRA5.js.map +1 -1
  157. package/dist/popover-DmA4qMtu.js.map +1 -1
  158. package/dist/popover-trigger-Chi8uvRM.js.map +1 -1
  159. package/dist/popover-trigger-context-Cre9Mczn.js.map +1 -1
  160. package/dist/radio-DAC5mhl3.js.map +1 -1
  161. package/dist/search-DzjgrvFl.js.map +1 -1
  162. package/dist/select-R87VdG5U.js.map +1 -1
  163. package/dist/select-optgroup-jowSQvbc.js.map +1 -1
  164. package/dist/select-option-WAhhr82L.js.map +1 -1
  165. package/dist/selectfield-BD-t6Mmm.js.map +1 -1
  166. package/dist/skip-link-CbdX4Taw.js.map +1 -1
  167. package/dist/spinner-Ch5bEQBR.js.map +1 -1
  168. package/dist/{sticky-header-C9uGD3u6.d.ts → sticky-header-BMeHtK7e.d.ts} +3 -3
  169. package/dist/sticky-header-gE5HX2ug.js.map +1 -1
  170. package/dist/sub-navbar-BdJ9EKsU.js.map +1 -1
  171. package/dist/sub-navbar-DkxQv0WJ.js.map +1 -1
  172. package/dist/tab-BvSndQZ_.js.map +1 -1
  173. package/dist/tabs-C70z_5SJ.js.map +1 -1
  174. package/dist/tabs-list-npvK06bl.js.map +1 -1
  175. package/dist/tabs-panel-L8HovooI.js.map +1 -1
  176. package/dist/textarea-B1fAOfkt.js.map +1 -1
  177. package/dist/textfield-DwLkaC2S.js.map +1 -1
  178. package/dist/useCheckboxGroup-BDH3ewt8.js.map +1 -1
  179. package/dist/useIsElementAboveViewport-lmdnXDdc.js.map +1 -1
  180. package/dist/useMediaQuery-ICPWsO_p.js.map +1 -1
  181. package/dist/useMergeRefs-DC710CHX.js.map +1 -1
  182. package/dist/usePagination-DQR72JNE.js.map +1 -1
  183. package/dist/useScrollDirection-C2EmQi0U.js.map +1 -1
  184. package/dist/utilities/hooks/index.d.ts +3 -3
  185. package/dist/utilities/hooks/usePagination/usePagination.d.ts +3 -3
  186. package/dist/utilities/index.d.ts +3 -3
  187. package/dist/validation-message-CPGA4DxM.js.map +1 -1
  188. package/package.json +6 -3
@@ -1 +1 @@
1
- {"version":3,"file":"alert-C6PxDwHt.js","names":["variantIcons: Record<NonNullable<AlertProps['variant']>, React.ComponentType>"],"sources":["../src/components/alert/alert.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { Slot } from '@radix-ui/react-slot';\nimport type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { CheckmarkSmallIcon, ErrorIcon, InfoIcon, WarningIcon } from '@bi-digital/icons';\n\nexport type AlertProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The alert variant.\n * @default 'info'\n */\n variant?: 'info' | 'success' | 'warning' | 'alert';\n /**\n * Size of the alert.\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /** Custom close button. It's your responsibility to make the button close the alert. */\n closeButton?: ReactNode;\n /** Override the default icon which is decided by the `variant`. */\n icon?: ReactNode;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nconst variantIcons: Record<NonNullable<AlertProps['variant']>, React.ComponentType> = {\n info: InfoIcon,\n success: CheckmarkSmallIcon,\n warning: WarningIcon,\n alert: ErrorIcon,\n};\n\nexport const Alert = ({\n className,\n children,\n closeButton,\n variant = 'info',\n icon,\n asChild,\n dark,\n size,\n ref,\n ...rest\n}: AlertProps) => {\n const Component = asChild ? Slot : 'div';\n const DefaultIcon = variantIcons[variant];\n return (\n <Component\n className={clsx('bi-alert', className)}\n data-variant={variant}\n data-size={size}\n data-dark={dark}\n ref={ref}\n {...rest}\n >\n {icon || <DefaultIcon />}\n {children}\n {closeButton}\n </Component>\n );\n};\n"],"mappings":";;;;;;AAiCA,MAAMA,eAAgF;CACpF,MAAM;CACN,SAAS;CACT,SAAS;CACT,OAAO;AACR;AAED,MAAa,QAAQ,CAAC,EACpB,WACA,UACA,aACA,UAAU,QACV,MACA,SACA,MACA,MACA,IACA,GAAG,MACQ,KAAK;CAChB,MAAM,YAAY,UAAU,OAAO;CACnC,MAAM,cAAc,aAAa;AACjC,6BACG;EACC,WAAW,KAAK,YAAY,UAAU;EACtC,gBAAc;EACd,aAAW;EACX,aAAW;EACN;EACL,GAAI;;GAEH,4BAAS,gBAAc;GACvB;GACA;;GACS;AAEf"}
1
+ {"version":3,"file":"alert-C6PxDwHt.js","names":["variantIcons: Record<NonNullable<AlertProps['variant']>, React.ComponentType>"],"sources":["../src/components/alert/alert.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { Slot } from '@radix-ui/react-slot';\nimport type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { CheckmarkSmallIcon, ErrorIcon, InfoIcon, WarningIcon } from '@bi-digital/icons';\n\nexport type AlertProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The alert variant.\n * @default 'info'\n */\n variant?: 'info' | 'success' | 'warning' | 'alert';\n /**\n * Size of the alert.\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /** Custom close button. It's your responsibility to make the button close the alert. */\n closeButton?: ReactNode;\n /** Override the default icon which is decided by the `variant`. */\n icon?: ReactNode;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nconst variantIcons: Record<NonNullable<AlertProps['variant']>, React.ComponentType> = {\n info: InfoIcon,\n success: CheckmarkSmallIcon,\n warning: WarningIcon,\n alert: ErrorIcon,\n};\n\nexport const Alert = ({\n className,\n children,\n closeButton,\n variant = 'info',\n icon,\n asChild,\n dark,\n size,\n ref,\n ...rest\n}: AlertProps) => {\n const Component = asChild ? Slot : 'div';\n const DefaultIcon = variantIcons[variant];\n return (\n <Component\n className={clsx('bi-alert', className)}\n data-variant={variant}\n data-size={size}\n data-dark={dark}\n ref={ref}\n {...rest}\n >\n {icon || <DefaultIcon />}\n {children}\n {closeButton}\n </Component>\n );\n};\n"],"mappings":";;;;;;AAiCA,MAAMA,eAAgF;CACpF,MAAM;CACN,SAAS;CACT,SAAS;CACT,OAAO;;AAGT,MAAa,SAAS,EACpB,WACA,UACA,aACA,UAAU,QACV,MACA,SACA,MACA,MACA,IACA,GAAG,WACa;CAChB,MAAM,YAAY,UAAU,OAAO;CACnC,MAAM,cAAc,aAAa;AACjC,QACE,qBAAC;EACC,WAAW,KAAK,YAAY;EAC5B,gBAAc;EACd,aAAW;EACX,aAAW;EACN;EACL,GAAI;;GAEH,QAAQ,oBAAC;GACT;GACA"}
@@ -1 +1 @@
1
- {"version":3,"file":"alert-footer-DL4rCThp.js","names":[],"sources":["../src/components/alert/alert-footer.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { Slot } from '@radix-ui/react-slot';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\n\nexport type AlertFooterProps = MergeRight<\n HTMLAttributes<HTMLDivElement>,\n {\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const AlertFooter = ({ className, children, asChild, ref, ...rest }: AlertFooterProps) => {\n const Component = asChild ? Slot : 'div';\n return (\n <Component className={clsx('bi-alert--footer', className)} ref={ref} {...rest}>\n {children}\n </Component>\n );\n};\n"],"mappings":";;;;;AAiBA,MAAa,cAAc,CAAC,EAAE,WAAW,UAAU,SAAS,IAAK,GAAG,MAAwB,KAAK;CAC/F,MAAM,YAAY,UAAU,OAAO;AACnC,4BACG;EAAU,WAAW,KAAK,oBAAoB,UAAU;EAAO;EAAK,GAAI;EACtE;GACS;AAEf"}
1
+ {"version":3,"file":"alert-footer-DL4rCThp.js","names":[],"sources":["../src/components/alert/alert-footer.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { Slot } from '@radix-ui/react-slot';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\n\nexport type AlertFooterProps = MergeRight<\n HTMLAttributes<HTMLDivElement>,\n {\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const AlertFooter = ({ className, children, asChild, ref, ...rest }: AlertFooterProps) => {\n const Component = asChild ? Slot : 'div';\n return (\n <Component className={clsx('bi-alert--footer', className)} ref={ref} {...rest}>\n {children}\n </Component>\n );\n};\n"],"mappings":";;;;;AAiBA,MAAa,eAAe,EAAE,WAAW,UAAU,SAAS,IAAK,GAAG,WAA6B;CAC/F,MAAM,YAAY,UAAU,OAAO;AACnC,QACE,oBAAC;EAAU,WAAW,KAAK,oBAAoB;EAAiB;EAAK,GAAI;EACtE"}
@@ -1,7 +1,7 @@
1
1
  import { AsChildProps, DefaultProps, LabelRequiredProps } from "./types-Bga-EYiy.js";
2
2
  import { PopoverTriggerContextProps } from "./popover-trigger-context-8iojEYe0.js";
3
3
  import { MergeRight } from "./types-CtaqzrVi.js";
4
- import * as react_jsx_runtime0 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
5
5
  import { AnchorHTMLAttributes, AriaAttributes, ButtonHTMLAttributes, DialogHTMLAttributes, FieldsetHTMLAttributes, HTMLAttributes, HtmlHTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactNode, Ref, SelectHTMLAttributes, TextareaHTMLAttributes } from "react";
6
6
  import { Middleware, Placement } from "@floating-ui/dom";
7
7
 
@@ -39,7 +39,7 @@ declare const Alert: ({
39
39
  size,
40
40
  ref,
41
41
  ...rest
42
- }: AlertProps) => react_jsx_runtime0.JSX.Element;
42
+ }: AlertProps) => react_jsx_runtime1.JSX.Element;
43
43
  //#endregion
44
44
  //#region src/components/avatar/avatar.d.ts
45
45
  type AvatarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLSpanElement>, {
@@ -79,7 +79,7 @@ declare const Avatar: ({
79
79
  color,
80
80
  children,
81
81
  ...props
82
- }: AvatarProps) => react_jsx_runtime0.JSX.Element;
82
+ }: AvatarProps) => react_jsx_runtime1.JSX.Element;
83
83
  //#endregion
84
84
  //#region src/components/badge/badge.d.ts
85
85
  type BadgeProps = MergeRight<DefaultProps & AsChildProps & HTMLAttributes<HTMLSpanElement>, {
@@ -110,7 +110,7 @@ declare const Badge: ({
110
110
  asChild,
111
111
  ref,
112
112
  ...props
113
- }: BadgeProps) => react_jsx_runtime0.JSX.Element;
113
+ }: BadgeProps) => react_jsx_runtime1.JSX.Element;
114
114
  //#endregion
115
115
  //#region src/components/button/button.d.ts
116
116
  type ButtonProps = MergeRight<DefaultProps & ButtonHTMLAttributes<HTMLButtonElement>, {
@@ -175,7 +175,7 @@ declare const Button: ({
175
175
  active,
176
176
  ref,
177
177
  ...props
178
- }: ButtonProps) => react_jsx_runtime0.JSX.Element;
178
+ }: ButtonProps) => react_jsx_runtime1.JSX.Element;
179
179
  //#endregion
180
180
  //#region src/components/card/card.d.ts
181
181
  type CardProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -207,7 +207,7 @@ declare const Card: ({
207
207
  children,
208
208
  asChild,
209
209
  ...props
210
- }: CardProps) => react_jsx_runtime0.JSX.Element;
210
+ }: CardProps) => react_jsx_runtime1.JSX.Element;
211
211
  //#endregion
212
212
  //#region src/components/card/card-actions.d.ts
213
213
  type CardActionsProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
@@ -218,7 +218,7 @@ declare const CardActions: ({
218
218
  ref,
219
219
  children,
220
220
  ...props
221
- }: CardActionsProps) => react_jsx_runtime0.JSX.Element;
221
+ }: CardActionsProps) => react_jsx_runtime1.JSX.Element;
222
222
  //#endregion
223
223
  //#region src/components/card/card-action.d.ts
224
224
  type CardActionProps = ButtonProps;
@@ -229,7 +229,7 @@ declare const CardAction: ({
229
229
  dark,
230
230
  className,
231
231
  ...props
232
- }: CardActionProps) => react_jsx_runtime0.JSX.Element;
232
+ }: CardActionProps) => react_jsx_runtime1.JSX.Element;
233
233
  //#endregion
234
234
  //#region src/components/card/card-content.d.ts
235
235
  type CardContentProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
@@ -247,7 +247,7 @@ declare const CardContent: ({
247
247
  children,
248
248
  asChild,
249
249
  ...props
250
- }: CardContentProps) => react_jsx_runtime0.JSX.Element;
250
+ }: CardContentProps) => react_jsx_runtime1.JSX.Element;
251
251
  //#endregion
252
252
  //#region src/components/card/card-header.d.ts
253
253
  type CardHeaderProps = MergeRight<Omit<HTMLAttributes<HTMLDivElement>, 'children'>, {
@@ -277,7 +277,7 @@ declare const CardHeader: ({
277
277
  subLabel,
278
278
  description,
279
279
  ...props
280
- }: CardHeaderProps) => react_jsx_runtime0.JSX.Element;
280
+ }: CardHeaderProps) => react_jsx_runtime1.JSX.Element;
281
281
  //#endregion
282
282
  //#region src/components/card/card-media.d.ts
283
283
  type CardMediaProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
@@ -297,7 +297,7 @@ declare const CardMedia: ({
297
297
  children,
298
298
  overlay,
299
299
  ...props
300
- }: CardMediaProps) => react_jsx_runtime0.JSX.Element;
300
+ }: CardMediaProps) => react_jsx_runtime1.JSX.Element;
301
301
  //#endregion
302
302
  //#region src/components/card/card-date.d.ts
303
303
  type CardDateProps = MergeRight<Omit<HTMLAttributes<HTMLParagraphElement>, 'children'>, {
@@ -317,7 +317,7 @@ declare const CardDate: ({
317
317
  day,
318
318
  month,
319
319
  ...props
320
- }: CardDateProps) => react_jsx_runtime0.JSX.Element;
320
+ }: CardDateProps) => react_jsx_runtime1.JSX.Element;
321
321
  //#endregion
322
322
  //#region src/components/input/input.d.ts
323
323
  type InputProps = MergeRight<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'prefix' | 'type'>, {
@@ -353,7 +353,7 @@ declare const Input: ({
353
353
  readOnly,
354
354
  ref,
355
355
  ...props
356
- }: InputProps) => react_jsx_runtime0.JSX.Element;
356
+ }: InputProps) => react_jsx_runtime1.JSX.Element;
357
357
  //#endregion
358
358
  //#region src/components/checkbox/checkbox.d.ts
359
359
  type CheckboxProps = MergeRight<LabelRequiredProps & Omit<InputProps, 'type' | 'role' | 'size'>, {
@@ -382,7 +382,7 @@ declare const Checkbox: ({
382
382
  id,
383
383
  "aria-describedby": ariaDescribedByProp,
384
384
  ...props
385
- }: CheckboxProps) => react_jsx_runtime0.JSX.Element;
385
+ }: CheckboxProps) => react_jsx_runtime1.JSX.Element;
386
386
  //#endregion
387
387
  //#region src/components/checkbox/checkbox-subsection.d.ts
388
388
  type CheckboxSubsectionProps = MergeRight<DefaultProps & HtmlHTMLAttributes<HTMLDivElement>, {
@@ -394,7 +394,7 @@ declare const CheckboxSubsection: ({
394
394
  dark,
395
395
  ref,
396
396
  ...props
397
- }: CheckboxSubsectionProps) => react_jsx_runtime0.JSX.Element;
397
+ }: CheckboxSubsectionProps) => react_jsx_runtime1.JSX.Element;
398
398
  //#endregion
399
399
  //#region src/components/chip/chip.d.ts
400
400
  type ChipProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -427,7 +427,7 @@ declare const Chip: ({
427
427
  className,
428
428
  ref,
429
429
  ...props
430
- }: ChipProps) => react_jsx_runtime0.JSX.Element;
430
+ }: ChipProps) => react_jsx_runtime1.JSX.Element;
431
431
  //#endregion
432
432
  //#region src/components/dialog/dialog.d.ts
433
433
  type DialogProps = MergeRight<DefaultProps & DialogHTMLAttributes<HTMLDialogElement>, {
@@ -497,7 +497,7 @@ declare const Dialog: ({
497
497
  dark,
498
498
  ref,
499
499
  ...rest
500
- }: DialogProps) => react_jsx_runtime0.JSX.Element;
500
+ }: DialogProps) => react_jsx_runtime1.JSX.Element;
501
501
  //#endregion
502
502
  //#region src/components/dialog/dialog-content.d.ts
503
503
  type DialogContentProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
@@ -520,7 +520,7 @@ declare const DialogContent: ({
520
520
  className,
521
521
  noBorder,
522
522
  ...rest
523
- }: DialogContentProps) => react_jsx_runtime0.JSX.Element;
523
+ }: DialogContentProps) => react_jsx_runtime1.JSX.Element;
524
524
  //#endregion
525
525
  //#region src/components/dialog/dialog-header.d.ts
526
526
  type DialogHeaderProps = MergeRight<HTMLAttributes<HTMLHeadingElement>, {
@@ -543,7 +543,7 @@ declare const DialogHeader: ({
543
543
  className,
544
544
  noBorder,
545
545
  ...rest
546
- }: DialogHeaderProps) => react_jsx_runtime0.JSX.Element;
546
+ }: DialogHeaderProps) => react_jsx_runtime1.JSX.Element;
547
547
  //#endregion
548
548
  //#region src/components/dialog/dialog-footer.d.ts
549
549
  type DialogFooterProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
@@ -566,7 +566,7 @@ declare const DialogFooter: ({
566
566
  className,
567
567
  noBorder,
568
568
  ...rest
569
- }: DialogFooterProps) => react_jsx_runtime0.JSX.Element;
569
+ }: DialogFooterProps) => react_jsx_runtime1.JSX.Element;
570
570
  //#endregion
571
571
  //#region src/components/dialog/dialog-trigger.d.ts
572
572
  type DialogTriggerProps = ButtonProps;
@@ -574,7 +574,7 @@ declare const DialogTrigger: ({
574
574
  asChild,
575
575
  ref,
576
576
  ...rest
577
- }: DialogTriggerProps) => react_jsx_runtime0.JSX.Element;
577
+ }: DialogTriggerProps) => react_jsx_runtime1.JSX.Element;
578
578
  //#endregion
579
579
  //#region src/components/dialog/dialog-close-button.d.ts
580
580
  type DialogCloseButtonProps = Omit<ButtonProps, 'asChild' | 'type' | 'name'>;
@@ -582,7 +582,7 @@ declare const DialogCloseButton: ({
582
582
  children,
583
583
  ref,
584
584
  ...props
585
- }: DialogCloseButtonProps) => react_jsx_runtime0.JSX.Element;
585
+ }: DialogCloseButtonProps) => react_jsx_runtime1.JSX.Element;
586
586
  //#endregion
587
587
  //#region src/components/drawer/drawer.d.ts
588
588
  type DrawerProps = MergeRight<DialogProps, {
@@ -628,7 +628,7 @@ declare const Drawer: ({
628
628
  className,
629
629
  ref,
630
630
  ...rest
631
- }: DrawerProps) => react_jsx_runtime0.JSX.Element;
631
+ }: DrawerProps) => react_jsx_runtime1.JSX.Element;
632
632
  //#endregion
633
633
  //#region src/components/drawer/drawer-content.d.ts
634
634
  type DrawerContentProps = DialogContentProps;
@@ -636,7 +636,7 @@ declare const DrawerContent: ({
636
636
  className,
637
637
  ref,
638
638
  ...rest
639
- }: DrawerContentProps) => react_jsx_runtime0.JSX.Element;
639
+ }: DrawerContentProps) => react_jsx_runtime1.JSX.Element;
640
640
  //#endregion
641
641
  //#region src/components/drawer/drawer-header.d.ts
642
642
  type DrawerHeaderProps = DialogHeaderProps;
@@ -644,7 +644,7 @@ declare const DrawerHeader: ({
644
644
  className,
645
645
  ref,
646
646
  ...rest
647
- }: DrawerHeaderProps) => react_jsx_runtime0.JSX.Element;
647
+ }: DrawerHeaderProps) => react_jsx_runtime1.JSX.Element;
648
648
  //#endregion
649
649
  //#region src/components/drawer/drawer-footer.d.ts
650
650
  type DrawerFooterProps = DialogFooterProps;
@@ -652,21 +652,21 @@ declare const DrawerFooter: ({
652
652
  className,
653
653
  ref,
654
654
  ...rest
655
- }: DrawerFooterProps) => react_jsx_runtime0.JSX.Element;
655
+ }: DrawerFooterProps) => react_jsx_runtime1.JSX.Element;
656
656
  //#endregion
657
657
  //#region src/components/drawer/drawer-trigger.d.ts
658
658
  type DrawerTriggerProps = DialogTriggerProps;
659
659
  declare const DrawerTrigger: ({
660
660
  ref,
661
661
  ...rest
662
- }: DrawerTriggerProps) => react_jsx_runtime0.JSX.Element;
662
+ }: DrawerTriggerProps) => react_jsx_runtime1.JSX.Element;
663
663
  //#endregion
664
664
  //#region src/components/drawer/drawer-close-button.d.ts
665
665
  type DrawerCloseButtonProps = DialogCloseButtonProps;
666
666
  declare const DrawerCloseButton: ({
667
667
  ref,
668
668
  ...rest
669
- }: DrawerCloseButtonProps) => react_jsx_runtime0.JSX.Element;
669
+ }: DrawerCloseButtonProps) => react_jsx_runtime1.JSX.Element;
670
670
  //#endregion
671
671
  //#region src/components/popover/popover.d.ts
672
672
  type PopoverProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -757,7 +757,7 @@ declare const Popover: ({
757
757
  asChild,
758
758
  ref,
759
759
  ...rest
760
- }: PopoverProps) => react_jsx_runtime0.JSX.Element;
760
+ }: PopoverProps) => react_jsx_runtime1.JSX.Element;
761
761
  //#endregion
762
762
  //#region src/components/popover/popover-trigger.d.ts
763
763
  type PopoverTriggerProps = ({
@@ -806,7 +806,7 @@ declare const PopoverTrigger: ({
806
806
  asChild,
807
807
  ref,
808
808
  ...rest
809
- }: PopoverTriggerProps) => react_jsx_runtime0.JSX.Element;
809
+ }: PopoverTriggerProps) => react_jsx_runtime1.JSX.Element;
810
810
  //#endregion
811
811
  //#region src/components/dropdown/dropdown.d.ts
812
812
  type DropdownProps = MergeRight<DefaultProps & PopoverProps, {
@@ -848,21 +848,21 @@ declare const Dropdown: ({
848
848
  className,
849
849
  ref,
850
850
  ...rest
851
- }: DropdownProps) => react_jsx_runtime0.JSX.Element;
851
+ }: DropdownProps) => react_jsx_runtime1.JSX.Element;
852
852
  //#endregion
853
853
  //#region src/components/dropdown/dropdown-button.d.ts
854
854
  type DropdownButtonProps = Omit<ButtonProps, 'variant'>;
855
855
  declare const DropdownButton: ({
856
856
  ref,
857
857
  ...rest
858
- }: DropdownButtonProps) => react_jsx_runtime0.JSX.Element;
858
+ }: DropdownButtonProps) => react_jsx_runtime1.JSX.Element;
859
859
  //#endregion
860
860
  //#region src/components/dropdown/dropdown-trigger.d.ts
861
861
  type DropdownTriggerProps = PopoverTriggerProps;
862
862
  declare const DropdownTrigger: ({
863
863
  ref,
864
864
  ...rest
865
- }: DropdownTriggerProps) => react_jsx_runtime0.JSX.Element;
865
+ }: DropdownTriggerProps) => react_jsx_runtime1.JSX.Element;
866
866
  //#endregion
867
867
  //#region src/components/dropdown/dropdown-trigger-context.d.ts
868
868
  type DropdownTriggerContextProps = PopoverTriggerContextProps;
@@ -885,7 +885,7 @@ type DropdownTriggerContextProps = PopoverTriggerContextProps;
885
885
  declare const DropdownTriggerContext: ({
886
886
  children,
887
887
  ...props
888
- }: DropdownTriggerContextProps) => react_jsx_runtime0.JSX.Element;
888
+ }: DropdownTriggerContextProps) => react_jsx_runtime1.JSX.Element;
889
889
  //#endregion
890
890
  //#region src/components/field/field.d.ts
891
891
  type FieldProps = MergeRight<DefaultProps & AsChildProps & HTMLAttributes<HTMLDivElement>, {
@@ -917,7 +917,7 @@ declare const Field: ({
917
917
  asChild,
918
918
  ref,
919
919
  ...props
920
- }: FieldProps) => react_jsx_runtime0.JSX.Element;
920
+ }: FieldProps) => react_jsx_runtime1.JSX.Element;
921
921
  //#endregion
922
922
  //#region src/components/field/field-description.d.ts
923
923
  type FieldDescriptionProps = MergeRight<AsChildProps & HTMLAttributes<HTMLDivElement>, {
@@ -928,7 +928,7 @@ declare const FieldDescription: ({
928
928
  className,
929
929
  ref,
930
930
  ...props
931
- }: FieldDescriptionProps) => react_jsx_runtime0.JSX.Element;
931
+ }: FieldDescriptionProps) => react_jsx_runtime1.JSX.Element;
932
932
  //#endregion
933
933
  //#region src/components/field/field-affix.d.ts
934
934
  type FieldAffixesProps = MergeRight<AsChildProps & Omit<HTMLAttributes<HTMLDivElement>, 'prefix'>, {
@@ -949,7 +949,7 @@ declare const FieldAffixes: ({
949
949
  asChild,
950
950
  ref,
951
951
  ...rest
952
- }: FieldAffixesProps) => react_jsx_runtime0.JSX.Element;
952
+ }: FieldAffixesProps) => react_jsx_runtime1.JSX.Element;
953
953
  type FieldAffixProps = MergeRight<AsChildProps & Omit<HTMLAttributes<HTMLSpanElement>, 'prefix'>, {
954
954
  ref?: Ref<HTMLSpanElement>;
955
955
  }>;
@@ -969,7 +969,7 @@ declare const FieldAffix: ({
969
969
  asChild,
970
970
  ref,
971
971
  ...rest
972
- }: FieldAffixProps) => react_jsx_runtime0.JSX.Element;
972
+ }: FieldAffixProps) => react_jsx_runtime1.JSX.Element;
973
973
  //#endregion
974
974
  //#region src/components/fieldset/fieldset.d.ts
975
975
  type FieldsetProps = MergeRight<DefaultProps & FieldsetHTMLAttributes<HTMLFieldSetElement>, {
@@ -981,7 +981,7 @@ declare const Fieldset: ({
981
981
  dark,
982
982
  ref,
983
983
  ...props
984
- }: FieldsetProps) => react_jsx_runtime0.JSX.Element;
984
+ }: FieldsetProps) => react_jsx_runtime1.JSX.Element;
985
985
  //#endregion
986
986
  //#region src/components/fieldset/fieldset-description.d.ts
987
987
  type FieldsetDescriptionProps = MergeRight<AsChildProps & HTMLAttributes<HTMLParagraphElement>, {
@@ -991,7 +991,7 @@ declare const FieldsetDescription: ({
991
991
  asChild,
992
992
  ref,
993
993
  ...props
994
- }: FieldsetDescriptionProps) => react_jsx_runtime0.JSX.Element;
994
+ }: FieldsetDescriptionProps) => react_jsx_runtime1.JSX.Element;
995
995
  //#endregion
996
996
  //#region src/components/label/label.d.ts
997
997
  type LabelProps = MergeRight<DefaultProps & AsChildProps & LabelHTMLAttributes<HTMLLabelElement>, {
@@ -1009,7 +1009,7 @@ declare const Label: ({
1009
1009
  asChild,
1010
1010
  ref,
1011
1011
  ...props
1012
- }: LabelProps) => react_jsx_runtime0.JSX.Element;
1012
+ }: LabelProps) => react_jsx_runtime1.JSX.Element;
1013
1013
  //#endregion
1014
1014
  //#region src/components/fieldset/fieldset-legend.d.ts
1015
1015
  type FieldsetLegendProps = MergeRight<LabelProps & HTMLAttributes<HTMLLegendElement>, {
@@ -1020,7 +1020,7 @@ declare const FieldsetLegend: ({
1020
1020
  dark,
1021
1021
  ref,
1022
1022
  ...props
1023
- }: FieldsetLegendProps) => react_jsx_runtime0.JSX.Element;
1023
+ }: FieldsetLegendProps) => react_jsx_runtime1.JSX.Element;
1024
1024
  //#endregion
1025
1025
  //#region src/components/filter-group/filter-group.d.ts
1026
1026
  type FilterGroupProps = MergeRight<DefaultProps & AsChildProps & HtmlHTMLAttributes<HTMLDivElement>, {
@@ -1047,7 +1047,7 @@ declare const FilterGroup: ({
1047
1047
  className,
1048
1048
  ref,
1049
1049
  ...props
1050
- }: FilterGroupProps) => react_jsx_runtime0.JSX.Element;
1050
+ }: FilterGroupProps) => react_jsx_runtime1.JSX.Element;
1051
1051
  //#endregion
1052
1052
  //#region src/components/footer/footer.d.ts
1053
1053
  type FooterProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -1083,7 +1083,7 @@ declare const Footer: ({
1083
1083
  children,
1084
1084
  ref,
1085
1085
  ...props
1086
- }: FooterProps) => react_jsx_runtime0.JSX.Element;
1086
+ }: FooterProps) => react_jsx_runtime1.JSX.Element;
1087
1087
  //#endregion
1088
1088
  //#region src/components/link/link.d.ts
1089
1089
  type LinkProps = MergeRight<DefaultProps & AnchorHTMLAttributes<HTMLAnchorElement>, {
@@ -1115,7 +1115,7 @@ declare const Link: ({
1115
1115
  underline,
1116
1116
  ref,
1117
1117
  ...rest
1118
- }: LinkProps) => react_jsx_runtime0.JSX.Element;
1118
+ }: LinkProps) => react_jsx_runtime1.JSX.Element;
1119
1119
  //#endregion
1120
1120
  //#region src/components/logo/logo.d.ts
1121
1121
  type LogoProps = MergeRight<DefaultProps & Omit<HTMLAttributes<HTMLSpanElement>, 'children'>, {
@@ -1145,7 +1145,7 @@ declare const Logo: ({
1145
1145
  className,
1146
1146
  ref,
1147
1147
  ...props
1148
- }: LogoProps) => react_jsx_runtime0.JSX.Element;
1148
+ }: LogoProps) => react_jsx_runtime1.JSX.Element;
1149
1149
  //#endregion
1150
1150
  //#region src/components/navbar/navbar.d.ts
1151
1151
  type NavbarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -1183,7 +1183,7 @@ declare const Navbar: ({
1183
1183
  className,
1184
1184
  ref,
1185
1185
  ...props
1186
- }: NavbarProps) => react_jsx_runtime0.JSX.Element;
1186
+ }: NavbarProps) => react_jsx_runtime1.JSX.Element;
1187
1187
  //#endregion
1188
1188
  //#region src/components/navbar/sub-navbar.d.ts
1189
1189
  type SubNavbarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -1195,7 +1195,7 @@ declare const SubNavbar: ({
1195
1195
  className,
1196
1196
  ref,
1197
1197
  ...props
1198
- }: SubNavbarProps) => react_jsx_runtime0.JSX.Element;
1198
+ }: SubNavbarProps) => react_jsx_runtime1.JSX.Element;
1199
1199
  //#endregion
1200
1200
  //#region src/components/pagination/pagination.d.ts
1201
1201
  type PaginationProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
@@ -1207,7 +1207,7 @@ declare const Pagination: ({
1207
1207
  ref,
1208
1208
  children,
1209
1209
  ...props
1210
- }: PaginationProps) => react_jsx_runtime0.JSX.Element;
1210
+ }: PaginationProps) => react_jsx_runtime1.JSX.Element;
1211
1211
  //#endregion
1212
1212
  //#region src/components/pagination/pagination-button.d.ts
1213
1213
  type PaginationButtonProps = ButtonProps & {
@@ -1220,7 +1220,7 @@ type PaginationButtonProps = ButtonProps & {
1220
1220
  declare const PaginationButton: ({
1221
1221
  ref,
1222
1222
  ...rest
1223
- }: PaginationButtonProps) => react_jsx_runtime0.JSX.Element;
1223
+ }: PaginationButtonProps) => react_jsx_runtime1.JSX.Element;
1224
1224
  //#endregion
1225
1225
  //#region src/components/radio/radio.d.ts
1226
1226
  type RadioProps = MergeRight<LabelRequiredProps & Omit<InputProps, 'type' | 'role' | 'size'>, {
@@ -1246,7 +1246,7 @@ declare const Radio: ({
1246
1246
  id,
1247
1247
  "aria-describedby": ariaDescribedByProp,
1248
1248
  ...props
1249
- }: RadioProps) => react_jsx_runtime0.JSX.Element;
1249
+ }: RadioProps) => react_jsx_runtime1.JSX.Element;
1250
1250
  //#endregion
1251
1251
  //#region src/components/search/search.d.ts
1252
1252
  type SearchProps = MergeRight<Omit<InputProps, 'type' | 'size'>, {
@@ -1278,7 +1278,7 @@ declare const Search: ({
1278
1278
  style,
1279
1279
  fullwidth,
1280
1280
  ...props
1281
- }: SearchProps) => react_jsx_runtime0.JSX.Element;
1281
+ }: SearchProps) => react_jsx_runtime1.JSX.Element;
1282
1282
  //#endregion
1283
1283
  //#region src/components/select/select.d.ts
1284
1284
  type SelectProps = MergeRight<DefaultProps & Omit<SelectHTMLAttributes<HTMLSelectElement>, 'multiple' | 'size'>, {
@@ -1299,7 +1299,7 @@ declare const Select: ({
1299
1299
  size,
1300
1300
  ref,
1301
1301
  ...props
1302
- }: SelectProps) => react_jsx_runtime0.JSX.Element;
1302
+ }: SelectProps) => react_jsx_runtime1.JSX.Element;
1303
1303
  //#endregion
1304
1304
  //#region src/components/select/select-option.d.ts
1305
1305
  type SelectOptionProps = MergeRight<AsChildProps & OptionHTMLAttributes<HTMLOptionElement>, {
@@ -1309,7 +1309,7 @@ declare const SelectOption: ({
1309
1309
  asChild,
1310
1310
  ref,
1311
1311
  ...props
1312
- }: SelectOptionProps) => react_jsx_runtime0.JSX.Element;
1312
+ }: SelectOptionProps) => react_jsx_runtime1.JSX.Element;
1313
1313
  //#endregion
1314
1314
  //#region src/components/select/select-optgroup.d.ts
1315
1315
  type SelectOptgroupProps = MergeRight<AsChildProps & OptgroupHTMLAttributes<HTMLOptGroupElement>, {
@@ -1319,7 +1319,7 @@ declare const SelectOptgroup: ({
1319
1319
  asChild,
1320
1320
  ref,
1321
1321
  ...props
1322
- }: SelectOptgroupProps) => react_jsx_runtime0.JSX.Element;
1322
+ }: SelectOptgroupProps) => react_jsx_runtime1.JSX.Element;
1323
1323
  //#endregion
1324
1324
  //#region src/components/selectfield/selectfield.d.ts
1325
1325
  type SelectfieldProps = MergeRight<LabelRequiredProps & SelectProps, {
@@ -1343,7 +1343,7 @@ declare const Selectfield: ({
1343
1343
  id: idProp,
1344
1344
  "aria-describedby": ariaDescribedByProp,
1345
1345
  ...props
1346
- }: SelectfieldProps) => react_jsx_runtime0.JSX.Element;
1346
+ }: SelectfieldProps) => react_jsx_runtime1.JSX.Element;
1347
1347
  //#endregion
1348
1348
  //#region src/components/skip-link/skip-link.d.ts
1349
1349
  type SkipLinkProps = MergeRight<DefaultProps & AsChildProps & AnchorHTMLAttributes<HTMLAnchorElement>, {
@@ -1355,7 +1355,7 @@ declare const SkipLink: ({
1355
1355
  className,
1356
1356
  dark,
1357
1357
  ...props
1358
- }: SkipLinkProps) => react_jsx_runtime0.JSX.Element;
1358
+ }: SkipLinkProps) => react_jsx_runtime1.JSX.Element;
1359
1359
  //#endregion
1360
1360
  //#region src/components/spinner/spinner.d.ts
1361
1361
  type SpinnerProps = MergeRight<DefaultProps & HTMLAttributes<HTMLSpanElement>, {
@@ -1377,7 +1377,7 @@ declare const Spinner: ({
1377
1377
  className,
1378
1378
  ref,
1379
1379
  ...props
1380
- }: SpinnerProps) => react_jsx_runtime0.JSX.Element;
1380
+ }: SpinnerProps) => react_jsx_runtime1.JSX.Element;
1381
1381
  //#endregion
1382
1382
  //#region src/components/tabs/tabs.d.ts
1383
1383
  type TabsProps = MergeRight<DefaultProps & Omit<HTMLAttributes<HTMLDivElement>, 'dir'>, {
@@ -1416,7 +1416,7 @@ declare const Tabs: ({
1416
1416
  dark,
1417
1417
  ref,
1418
1418
  ...props
1419
- }: TabsProps) => react_jsx_runtime0.JSX.Element;
1419
+ }: TabsProps) => react_jsx_runtime1.JSX.Element;
1420
1420
  //#endregion
1421
1421
  //#region src/components/tabs/tab.d.ts
1422
1422
  type TabProps = MergeRight<Omit<ButtonProps, 'variant' | 'type'>, {
@@ -1437,7 +1437,7 @@ declare const Tab: ({
1437
1437
  dark,
1438
1438
  ref,
1439
1439
  ...props
1440
- }: TabProps) => react_jsx_runtime0.JSX.Element;
1440
+ }: TabProps) => react_jsx_runtime1.JSX.Element;
1441
1441
  //#endregion
1442
1442
  //#region src/components/tabs/tabs-list.d.ts
1443
1443
  type TabsListProps = MergeRight<DefaultProps & Omit<HTMLAttributes<HTMLDivElement>, 'dir'>, {
@@ -1461,7 +1461,7 @@ declare const TabsList: ({
1461
1461
  dark,
1462
1462
  ref,
1463
1463
  ...props
1464
- }: TabsListProps) => react_jsx_runtime0.JSX.Element;
1464
+ }: TabsListProps) => react_jsx_runtime1.JSX.Element;
1465
1465
  //#endregion
1466
1466
  //#region src/components/tabs/tabs-panel.d.ts
1467
1467
  type TabsPanelProps = MergeRight<DefaultProps & Omit<HTMLAttributes<HTMLDivElement>, 'dir'>, {
@@ -1485,7 +1485,7 @@ declare const TabsPanel: ({
1485
1485
  dark,
1486
1486
  ref,
1487
1487
  ...props
1488
- }: TabsPanelProps) => react_jsx_runtime0.JSX.Element;
1488
+ }: TabsPanelProps) => react_jsx_runtime1.JSX.Element;
1489
1489
  //#endregion
1490
1490
  //#region src/components/textarea/textarea.d.ts
1491
1491
  type TextareaProps = MergeRight<DefaultProps & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'prefix'>, {
@@ -1502,7 +1502,7 @@ declare const Textarea: ({
1502
1502
  size,
1503
1503
  ref,
1504
1504
  ...props
1505
- }: TextareaProps) => react_jsx_runtime0.JSX.Element;
1505
+ }: TextareaProps) => react_jsx_runtime1.JSX.Element;
1506
1506
  //#endregion
1507
1507
  //#region src/components/textfield/textfield.d.ts
1508
1508
  type InputPropsFiltered = Omit<InputProps, 'prefix' | 'className' | 'style'>;
@@ -1551,7 +1551,7 @@ declare const Textfield: ({
1551
1551
  id: idProp,
1552
1552
  "aria-describedby": ariaDescribedByProp,
1553
1553
  ...props
1554
- }: TextfieldProps) => react_jsx_runtime0.JSX.Element;
1554
+ }: TextfieldProps) => react_jsx_runtime1.JSX.Element;
1555
1555
  //#endregion
1556
1556
  //#region src/components/validation-message/validation-message.d.ts
1557
1557
  type ValidationMessageProps = MergeRight<AsChildProps & HTMLAttributes<HTMLParagraphElement>, {
@@ -1566,7 +1566,7 @@ declare const ValidationMessage: ({
1566
1566
  asChild,
1567
1567
  ref,
1568
1568
  ...props
1569
- }: ValidationMessageProps) => react_jsx_runtime0.JSX.Element;
1569
+ }: ValidationMessageProps) => react_jsx_runtime1.JSX.Element;
1570
1570
  //#endregion
1571
1571
  //#region src/utilities/hooks/usePagination/usePagination.d.ts
1572
1572
  type UsePaginationProps = {
@@ -1671,7 +1671,7 @@ declare const AlertFooter: ({
1671
1671
  asChild,
1672
1672
  ref,
1673
1673
  ...rest
1674
- }: AlertFooterProps) => react_jsx_runtime0.JSX.Element;
1674
+ }: AlertFooterProps) => react_jsx_runtime1.JSX.Element;
1675
1675
  //#endregion
1676
1676
  export { Alert, AlertFooter, AlertFooterProps, AlertProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardAction, CardActionProps, CardActions, CardActionsProps, CardContent, CardContentProps, CardDate, CardDateProps, CardHeader, CardHeaderProps, CardMedia, CardMediaProps, CardProps, Checkbox, CheckboxProps, CheckboxSubsection, CheckboxSubsectionProps, Chip, type ChipProps, Dialog, DialogCloseButton, DialogCloseButtonProps, DialogContent, DialogContentProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerCloseButton, DrawerCloseButtonProps, DrawerContent, DrawerContentProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerTrigger, DrawerTriggerProps, Dropdown, DropdownButton, type DropdownButtonProps, type DropdownProps, DropdownTrigger, DropdownTriggerContext, type DropdownTriggerContextProps, type DropdownTriggerProps, Field, FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps, FieldDescription, FieldDescriptionProps, FieldProps, Fieldset, FieldsetDescription, FieldsetDescriptionProps, FieldsetLegend, FieldsetLegendProps, FieldsetProps, FilterGroup, FilterGroupProps, Footer, FooterProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Logo, LogoProps, Navbar, NavbarProps, Pagination, PaginationButton, PaginationButtonProps, PaginationProps, Popover, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Radio, RadioProps, Search, SearchProps, Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps, Selectfield, SelectfieldProps, SkipLink, SkipLinkProps, Spinner, SpinnerProps, SubNavbar, SubNavbarProps, Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, Textarea, TextareaProps, Textfield, TextfieldProps, type UsePaginationProps, ValidationMessage, ValidationMessageProps, usePagination };
1677
- //# sourceMappingURL=alert-footer-BS7TXc1g.d.ts.map
1677
+ //# sourceMappingURL=alert-footer-DWZoQIek.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-6Q2xwviO.js","names":[],"sources":["../src/components/avatar/avatar.tsx"],"sourcesContent":["import { Fragment, type HTMLAttributes, type Ref } from 'react';\nimport clsx from 'clsx/lite';\nimport { Slot } from '@radix-ui/react-slot';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type AvatarProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLSpanElement>,\n {\n /**\n * Name of the person the avatar represents.\n */\n 'aria-label': string;\n /**\n * Size of the avatar.\n * @default 'medium'\n */\n size?: 'small' | 'medium';\n /**\n * Color scheme of the avatar.\n * @default 'primary'\n */\n color?: 'primary' | 'info' | 'success' | 'warning' | 'alert';\n ref?: Ref<HTMLSpanElement>;\n }\n>;\n\n/**\n * An Avatar represents a person.\n *\n * @example\n * <Avatar aria-label=\"Ola Nordmann\">ON</Avatar>\n *\n * @example\n * <Avatar aria-label=\"Ola Nordmann\">\n * <img src='…' alt='Ola Nordmann' />\n * </Avatar>\n */\nexport const Avatar = ({\n 'aria-label': ariaLabel,\n className,\n ref,\n dark,\n size,\n color,\n children,\n ...props\n}: AvatarProps) => {\n const isSlotInUse = children && typeof children !== 'string';\n const Component = isSlotInUse ? Slot : Fragment;\n return (\n <span\n className={clsx('bi-avatar', className)}\n aria-label={ariaLabel}\n role='img'\n data-size={size}\n data-color={color}\n data-dark={dark}\n ref={ref}\n {...props}\n >\n <Component {...(isSlotInUse ? { 'aria-hidden': true } : {})}>{children}</Component>\n </span>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAsCA,MAAa,SAAS,CAAC,EACrB,cAAc,WACd,WACA,KACA,MACA,MACA,OACA,SACA,GAAG,OACS,KAAK;CACjB,MAAM,cAAc,YAAY,OAAO,aAAa;CACpD,MAAM,YAAY,cAAc,OAAO;AACvC,4BACG;EACC,WAAW,KAAK,aAAa,UAAU;EACvC,cAAY;EACZ,MAAK;EACL,aAAW;EACX,cAAY;EACZ,aAAW;EACN;EACL,GAAI;gCAEH;GAAU,GAAK,cAAc,EAAE,eAAe,KAAM,IAAG,CAAE;GAAI;IAAqB;GAC9E;AAEV"}
1
+ {"version":3,"file":"avatar-6Q2xwviO.js","names":[],"sources":["../src/components/avatar/avatar.tsx"],"sourcesContent":["import { Fragment, type HTMLAttributes, type Ref } from 'react';\nimport clsx from 'clsx/lite';\nimport { Slot } from '@radix-ui/react-slot';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type AvatarProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLSpanElement>,\n {\n /**\n * Name of the person the avatar represents.\n */\n 'aria-label': string;\n /**\n * Size of the avatar.\n * @default 'medium'\n */\n size?: 'small' | 'medium';\n /**\n * Color scheme of the avatar.\n * @default 'primary'\n */\n color?: 'primary' | 'info' | 'success' | 'warning' | 'alert';\n ref?: Ref<HTMLSpanElement>;\n }\n>;\n\n/**\n * An Avatar represents a person.\n *\n * @example\n * <Avatar aria-label=\"Ola Nordmann\">ON</Avatar>\n *\n * @example\n * <Avatar aria-label=\"Ola Nordmann\">\n * <img src='…' alt='Ola Nordmann' />\n * </Avatar>\n */\nexport const Avatar = ({\n 'aria-label': ariaLabel,\n className,\n ref,\n dark,\n size,\n color,\n children,\n ...props\n}: AvatarProps) => {\n const isSlotInUse = children && typeof children !== 'string';\n const Component = isSlotInUse ? Slot : Fragment;\n return (\n <span\n className={clsx('bi-avatar', className)}\n aria-label={ariaLabel}\n role='img'\n data-size={size}\n data-color={color}\n data-dark={dark}\n ref={ref}\n {...props}\n >\n <Component {...(isSlotInUse ? { 'aria-hidden': true } : {})}>{children}</Component>\n </span>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAsCA,MAAa,UAAU,EACrB,cAAc,WACd,WACA,KACA,MACA,MACA,OACA,SACA,GAAG,YACc;CACjB,MAAM,cAAc,YAAY,OAAO,aAAa;CACpD,MAAM,YAAY,cAAc,OAAO;AACvC,QACE,oBAAC;EACC,WAAW,KAAK,aAAa;EAC7B,cAAY;EACZ,MAAK;EACL,aAAW;EACX,cAAY;EACZ,aAAW;EACN;EACL,GAAI;YAEJ,oBAAC;GAAU,GAAK,cAAc,EAAE,eAAe,SAAS;GAAM"}
@@ -1 +1 @@
1
- {"version":3,"file":"badge-D9OVAKG8.js","names":[],"sources":["../src/components/badge/badge.tsx"],"sourcesContent":["import { HTMLAttributes, Ref } from 'react';\nimport { AsChildProps, DefaultProps } from '../../types';\nimport { MergeRight } from '../../utilities';\nimport { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx';\n\nexport type BadgeProps = MergeRight<\n DefaultProps & AsChildProps & HTMLAttributes<HTMLSpanElement>,\n {\n /**\n * Size of the badge.\n * @default 'medium'\n */\n size?: 'xs' | 'small' | 'medium';\n /**\n * Color of the badge.\n * @default 'neutral'\n */\n color: 'neutral' | 'success' | 'warning' | 'alert' | 'brand' | 'info' | 'negative';\n /**\n * Makes the badge have the same height/width. Use for single-letter badges.\n * @default false\n */\n singleLetter?: boolean;\n ref?: Ref<HTMLSpanElement>;\n }\n>;\n\nexport const Badge = ({\n className,\n children,\n dark,\n size = 'medium',\n color = 'neutral',\n singleLetter = false,\n asChild,\n ref,\n ...props\n}: BadgeProps) => {\n const Component = asChild ? Slot : 'span';\n\n return (\n <Component\n className={clsx('bi-badge', className)}\n data-size={size}\n data-color={color}\n data-single-letter={singleLetter}\n data-dark={dark}\n ref={ref}\n {...props}\n >\n {children}\n </Component>\n );\n};\n"],"mappings":";;;;;AA4BA,MAAa,QAAQ,CAAC,EACpB,WACA,UACA,MACA,OAAO,UACP,QAAQ,WACR,eAAe,OACf,SACA,IACA,GAAG,OACQ,KAAK;CAChB,MAAM,YAAY,UAAU,OAAO;AAEnC,4BACG;EACC,WAAW,KAAK,YAAY,UAAU;EACtC,aAAW;EACX,cAAY;EACZ,sBAAoB;EACpB,aAAW;EACN;EACL,GAAI;EAEH;GACS;AAEf"}
1
+ {"version":3,"file":"badge-D9OVAKG8.js","names":[],"sources":["../src/components/badge/badge.tsx"],"sourcesContent":["import { HTMLAttributes, Ref } from 'react';\nimport { AsChildProps, DefaultProps } from '../../types';\nimport { MergeRight } from '../../utilities';\nimport { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx';\n\nexport type BadgeProps = MergeRight<\n DefaultProps & AsChildProps & HTMLAttributes<HTMLSpanElement>,\n {\n /**\n * Size of the badge.\n * @default 'medium'\n */\n size?: 'xs' | 'small' | 'medium';\n /**\n * Color of the badge.\n * @default 'neutral'\n */\n color: 'neutral' | 'success' | 'warning' | 'alert' | 'brand' | 'info' | 'negative';\n /**\n * Makes the badge have the same height/width. Use for single-letter badges.\n * @default false\n */\n singleLetter?: boolean;\n ref?: Ref<HTMLSpanElement>;\n }\n>;\n\nexport const Badge = ({\n className,\n children,\n dark,\n size = 'medium',\n color = 'neutral',\n singleLetter = false,\n asChild,\n ref,\n ...props\n}: BadgeProps) => {\n const Component = asChild ? Slot : 'span';\n\n return (\n <Component\n className={clsx('bi-badge', className)}\n data-size={size}\n data-color={color}\n data-single-letter={singleLetter}\n data-dark={dark}\n ref={ref}\n {...props}\n >\n {children}\n </Component>\n );\n};\n"],"mappings":";;;;;AA4BA,MAAa,SAAS,EACpB,WACA,UACA,MACA,OAAO,UACP,QAAQ,WACR,eAAe,OACf,SACA,IACA,GAAG,YACa;CAChB,MAAM,YAAY,UAAU,OAAO;AAEnC,QACE,oBAAC;EACC,WAAW,KAAK,YAAY;EAC5B,aAAW;EACX,cAAY;EACZ,sBAAoB;EACpB,aAAW;EACN;EACL,GAAI;EAEH"}
@@ -1 +1 @@
1
- {"version":3,"file":"button-fhd-JARc.js","names":[],"sources":["../src/components/button/button.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { ButtonHTMLAttributes, ReactNode, Ref } from 'react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport { Spinner } from '../spinner';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type ButtonProps = MergeRight<\n DefaultProps & ButtonHTMLAttributes<HTMLButtonElement>,\n {\n /**\n * The button size.\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /**\n * The button variant.\n * @default 'filled'\n */\n variant?: 'filled' | 'outlined' | 'text' | 'flat';\n /**\n * Stretch the button to the full width.\n * @default false\n */\n stretch?: boolean;\n /**\n * Display a loading animation with the Spinner-component.\n * Replaces the `startIcon` if used\n * @default false\n */\n submitting?: boolean;\n /**\n * Display as icon-button, only use when showing an icon as the label.\n * Not compatible with the icon-slots or `stretch`.\n * Always provide a descriptive aria-label for accessibility when set to true.\n * @default false\n */\n icon?: boolean;\n /** Set an icon before the button label, no effect if `icon=true` */\n startIcon?: ReactNode;\n /** Set an icon after the button label, no effect if `icon=true` */\n endIcon?: ReactNode;\n /** Make the button active by showing an active state. */\n active?: boolean;\n ref?: Ref<HTMLButtonElement>;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n /**\n * Specify the type of button. Unset when `asChild` is true\n * @default 'button'\n */\n type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];\n }\n>;\n\nexport const Button = ({\n asChild,\n variant = 'filled',\n size = 'medium',\n stretch,\n dark,\n submitting,\n icon,\n children,\n className,\n startIcon,\n endIcon,\n active,\n ref,\n ...props\n}: ButtonProps) => {\n const Component = asChild ? Slot : 'button';\n\n return (\n <Component\n aria-busy={Boolean(submitting) || undefined}\n aria-disabled={Boolean(submitting) || undefined}\n className={clsx('bi-button', className)}\n data-variant={variant}\n data-size={size}\n data-stretch={stretch || undefined}\n data-dark={dark || undefined}\n data-icon={icon || undefined}\n data-active={active || undefined}\n ref={ref}\n /* don't set type when we use `asChild` */\n type={asChild ? undefined : 'button'}\n /* if consumers set type, our default does not set anything, as `rest` contains this */\n {...props}\n >\n {!icon &&\n (submitting ? (\n <Spinner aria-hidden='true' className='bi-button--start-icon' />\n ) : (\n startIcon && <span className='bi-button--start-icon'>{startIcon}</span>\n ))}\n <Slottable>{icon && submitting ? <Spinner aria-hidden='true' /> : children}</Slottable>\n {!icon && endIcon && <span className='bi-button--end-icon'>{endIcon}</span>}\n </Component>\n );\n};\n"],"mappings":";;;;;;AA0DA,MAAa,SAAS,CAAC,EACrB,SACA,UAAU,UACV,OAAO,UACP,SACA,MACA,YACA,MACA,UACA,WACA,WACA,SACA,QACA,IACA,GAAG,OACS,KAAK;CACjB,MAAM,YAAY,UAAU,OAAO;AAEnC,6BACG;EACC,aAAW,QAAQ,WAAW,IAAI;EAClC,iBAAe,QAAQ,WAAW,IAAI;EACtC,WAAW,KAAK,aAAa,UAAU;EACvC,gBAAc;EACd,aAAW;EACX,gBAAc,WAAW;EACzB,aAAW,QAAQ;EACnB,aAAW,QAAQ;EACnB,eAAa,UAAU;EAClB;EAEL,MAAM,UAAU,SAAY;EAE5B,GAAI;;GAEH,CAAC,SACC,iCACE;IAAQ,eAAY;IAAO,WAAU;KAA0B,GAEhE,iCAAc;IAAK,WAAU;cAAyB;KAAiB;uBAE1E,uBAAW,QAAQ,iCAAc,WAAQ,eAAY,SAAS,GAAG,WAAqB;GACtF,CAAC,QAAQ,+BAAY;IAAK,WAAU;cAAuB;KAAe;;GACjE;AAEf"}
1
+ {"version":3,"file":"button-fhd-JARc.js","names":[],"sources":["../src/components/button/button.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { ButtonHTMLAttributes, ReactNode, Ref } from 'react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport { Spinner } from '../spinner';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type ButtonProps = MergeRight<\n DefaultProps & ButtonHTMLAttributes<HTMLButtonElement>,\n {\n /**\n * The button size.\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /**\n * The button variant.\n * @default 'filled'\n */\n variant?: 'filled' | 'outlined' | 'text' | 'flat';\n /**\n * Stretch the button to the full width.\n * @default false\n */\n stretch?: boolean;\n /**\n * Display a loading animation with the Spinner-component.\n * Replaces the `startIcon` if used\n * @default false\n */\n submitting?: boolean;\n /**\n * Display as icon-button, only use when showing an icon as the label.\n * Not compatible with the icon-slots or `stretch`.\n * Always provide a descriptive aria-label for accessibility when set to true.\n * @default false\n */\n icon?: boolean;\n /** Set an icon before the button label, no effect if `icon=true` */\n startIcon?: ReactNode;\n /** Set an icon after the button label, no effect if `icon=true` */\n endIcon?: ReactNode;\n /** Make the button active by showing an active state. */\n active?: boolean;\n ref?: Ref<HTMLButtonElement>;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n /**\n * Specify the type of button. Unset when `asChild` is true\n * @default 'button'\n */\n type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];\n }\n>;\n\nexport const Button = ({\n asChild,\n variant = 'filled',\n size = 'medium',\n stretch,\n dark,\n submitting,\n icon,\n children,\n className,\n startIcon,\n endIcon,\n active,\n ref,\n ...props\n}: ButtonProps) => {\n const Component = asChild ? Slot : 'button';\n\n return (\n <Component\n aria-busy={Boolean(submitting) || undefined}\n aria-disabled={Boolean(submitting) || undefined}\n className={clsx('bi-button', className)}\n data-variant={variant}\n data-size={size}\n data-stretch={stretch || undefined}\n data-dark={dark || undefined}\n data-icon={icon || undefined}\n data-active={active || undefined}\n ref={ref}\n /* don't set type when we use `asChild` */\n type={asChild ? undefined : 'button'}\n /* if consumers set type, our default does not set anything, as `rest` contains this */\n {...props}\n >\n {!icon &&\n (submitting ? (\n <Spinner aria-hidden='true' className='bi-button--start-icon' />\n ) : (\n startIcon && <span className='bi-button--start-icon'>{startIcon}</span>\n ))}\n <Slottable>{icon && submitting ? <Spinner aria-hidden='true' /> : children}</Slottable>\n {!icon && endIcon && <span className='bi-button--end-icon'>{endIcon}</span>}\n </Component>\n );\n};\n"],"mappings":";;;;;;AA0DA,MAAa,UAAU,EACrB,SACA,UAAU,UACV,OAAO,UACP,SACA,MACA,YACA,MACA,UACA,WACA,WACA,SACA,QACA,IACA,GAAG,YACc;CACjB,MAAM,YAAY,UAAU,OAAO;AAEnC,QACE,qBAAC;EACC,aAAW,QAAQ,eAAe;EAClC,iBAAe,QAAQ,eAAe;EACtC,WAAW,KAAK,aAAa;EAC7B,gBAAc;EACd,aAAW;EACX,gBAAc,WAAW;EACzB,aAAW,QAAQ;EACnB,aAAW,QAAQ;EACnB,eAAa,UAAU;EAClB;EAEL,MAAM,UAAU,SAAY;EAE5B,GAAI;;GAEH,CAAC,SACC,aACC,oBAAC;IAAQ,eAAY;IAAO,WAAU;QAEtC,aAAa,oBAAC;IAAK,WAAU;cAAyB;;GAE1D,oBAAC,uBAAW,QAAQ,aAAa,oBAAC,WAAQ,eAAY,YAAY;GACjE,CAAC,QAAQ,WAAW,oBAAC;IAAK,WAAU;cAAuB"}