whitehall-ui 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/README.md +4 -1
  2. package/dist/{chunk-KWAC6IEK.js → chunk-2KB4IAMZ.js} +9 -22
  3. package/dist/{chunk-5TI2WXYU.js → chunk-3UX7QPLM.js} +10 -21
  4. package/dist/{chunk-SK27BMU5.js → chunk-4GQRYMDK.js} +11 -23
  5. package/dist/{chunk-OP35ZJ4X.js → chunk-4TBXH62Z.js} +6 -7
  6. package/dist/{chunk-M6CLPMRP.js → chunk-6WLHJ5MN.js} +34 -76
  7. package/dist/chunk-7IOR7UNU.js +77 -0
  8. package/dist/chunk-7Q2C5RB7.js +167 -0
  9. package/dist/{chunk-5PIQJ22R.js → chunk-ASBIQC77.js} +13 -18
  10. package/dist/{chunk-KD4LPFIZ.js → chunk-C2YQVLZ7.js} +15 -18
  11. package/dist/chunk-CBT6WCJ7.js +52 -0
  12. package/dist/{chunk-3YIKJK6M.js → chunk-CYBPAHLZ.js} +48 -52
  13. package/dist/{chunk-VB6V3PHD.js → chunk-D2T6BUOB.js} +6 -16
  14. package/dist/chunk-DZ3743JO.js +38 -0
  15. package/dist/{chunk-AO6HPG4R.js → chunk-EDOSCND4.js} +5 -20
  16. package/dist/chunk-FJHNUBEM.js +59 -0
  17. package/dist/chunk-FVBDMMNR.js +143 -0
  18. package/dist/chunk-GKHD33N6.js +52 -0
  19. package/dist/{chunk-3INCIYDO.js → chunk-GLDCEDTR.js} +22 -77
  20. package/dist/{chunk-G6T44BDV.js → chunk-HBLVAX45.js} +7 -11
  21. package/dist/{chunk-UWQFFFTB.js → chunk-JCERRZV6.js} +13 -13
  22. package/dist/chunk-KXQGZLMK.js +120 -0
  23. package/dist/{chunk-CEPBVMFU.js → chunk-MFI5R2TJ.js} +1 -3
  24. package/dist/{chunk-5XNKIBMP.js → chunk-MYMVHSRJ.js} +3 -4
  25. package/dist/chunk-N5PY3VZH.js +192 -0
  26. package/dist/{chunk-P4GCF5FQ.js → chunk-OQILIT3B.js} +26 -15
  27. package/dist/{chunk-6VXVJERU.js → chunk-QKR7NELW.js} +4 -8
  28. package/dist/chunk-QPN5J5IU.js +177 -0
  29. package/dist/chunk-RGXB6M3G.js +87 -0
  30. package/dist/chunk-TAVSU2XB.js +90 -0
  31. package/dist/chunk-TGNN5ZP3.js +81 -0
  32. package/dist/chunk-TICBCBDN.js +18 -0
  33. package/dist/{chunk-7ZCZQN5N.js → chunk-UK7RLSTJ.js} +15 -22
  34. package/dist/chunk-UXOJELVU.js +37 -0
  35. package/dist/{chunk-QTSEOPVX.js → chunk-VCJE5UO2.js} +23 -25
  36. package/dist/{chunk-N67H5OUQ.js → chunk-VHSAXVCF.js} +7 -5
  37. package/dist/chunk-VMI2XU5D.js +74 -0
  38. package/dist/{chunk-TXGBUZB4.js → chunk-VRGDQ3SF.js} +3 -10
  39. package/dist/chunk-W4CWUYTA.js +44 -0
  40. package/dist/{chunk-LRNZYPC2.js → chunk-YF6EZ57H.js} +14 -44
  41. package/dist/chunk-ZAKQHDVD.js +40 -0
  42. package/dist/chunk-ZJB7BBTN.js +188 -0
  43. package/dist/index.d.ts +15 -13
  44. package/dist/index.js +41 -39
  45. package/dist/lib/utils.d.ts +2 -1
  46. package/dist/lib/utils.js +1 -1
  47. package/dist/ui/accordion.d.ts +8 -13
  48. package/dist/ui/accordion.js +2 -2
  49. package/dist/ui/back-link.d.ts +4 -4
  50. package/dist/ui/back-link.js +2 -2
  51. package/dist/ui/breadcrumbs.d.ts +10 -16
  52. package/dist/ui/breadcrumbs.js +2 -2
  53. package/dist/ui/button.d.ts +7 -8
  54. package/dist/ui/button.js +2 -2
  55. package/dist/ui/character-count.d.ts +11 -15
  56. package/dist/ui/character-count.js +3 -3
  57. package/dist/ui/checkboxes.d.ts +9 -17
  58. package/dist/ui/checkboxes.js +2 -2
  59. package/dist/ui/cookie-banner.d.ts +12 -21
  60. package/dist/ui/cookie-banner.js +2 -2
  61. package/dist/ui/date-input.d.ts +10 -16
  62. package/dist/ui/date-input.js +2 -2
  63. package/dist/ui/details.d.ts +8 -17
  64. package/dist/ui/details.js +2 -2
  65. package/dist/ui/error-message.d.ts +4 -4
  66. package/dist/ui/error-message.js +2 -2
  67. package/dist/ui/error-summary.d.ts +5 -4
  68. package/dist/ui/error-summary.js +2 -2
  69. package/dist/ui/exit-this-page.d.ts +4 -4
  70. package/dist/ui/exit-this-page.js +3 -3
  71. package/dist/ui/feedback.d.ts +13 -0
  72. package/dist/ui/feedback.js +2 -0
  73. package/dist/ui/fieldset.d.ts +9 -13
  74. package/dist/ui/fieldset.js +2 -2
  75. package/dist/ui/file-upload.d.ts +4 -5
  76. package/dist/ui/file-upload.js +2 -2
  77. package/dist/ui/footer.d.ts +39 -50
  78. package/dist/ui/footer.js +2 -2
  79. package/dist/ui/generic-header.d.ts +10 -15
  80. package/dist/ui/generic-header.js +2 -2
  81. package/dist/ui/header.d.ts +14 -32
  82. package/dist/ui/header.js +2 -2
  83. package/dist/ui/hint.d.ts +4 -5
  84. package/dist/ui/hint.js +2 -2
  85. package/dist/ui/inset-text.d.ts +4 -5
  86. package/dist/ui/inset-text.js +2 -2
  87. package/dist/ui/label.d.ts +7 -9
  88. package/dist/ui/label.js +2 -2
  89. package/dist/ui/language-navigation.d.ts +20 -0
  90. package/dist/ui/language-navigation.js +2 -0
  91. package/dist/ui/link.d.ts +5 -6
  92. package/dist/ui/link.js +2 -2
  93. package/dist/ui/notification-banner.d.ts +15 -24
  94. package/dist/ui/notification-banner.js +2 -2
  95. package/dist/ui/pagination.d.ts +20 -34
  96. package/dist/ui/pagination.js +2 -2
  97. package/dist/ui/panel.d.ts +11 -12
  98. package/dist/ui/panel.js +2 -2
  99. package/dist/ui/password-input.d.ts +7 -6
  100. package/dist/ui/password-input.js +4 -4
  101. package/dist/ui/phase-banner.d.ts +10 -17
  102. package/dist/ui/phase-banner.js +2 -2
  103. package/dist/ui/radios.d.ts +8 -13
  104. package/dist/ui/radios.js +2 -2
  105. package/dist/ui/select.d.ts +6 -30
  106. package/dist/ui/select.js +2 -2
  107. package/dist/ui/service-navigation.d.ts +15 -23
  108. package/dist/ui/service-navigation.js +2 -2
  109. package/dist/ui/skip-link.d.ts +4 -5
  110. package/dist/ui/skip-link.js +2 -2
  111. package/dist/ui/summary-list.d.ts +24 -41
  112. package/dist/ui/summary-list.js +2 -2
  113. package/dist/ui/table.d.ts +21 -26
  114. package/dist/ui/table.js +2 -2
  115. package/dist/ui/tabs.d.ts +7 -9
  116. package/dist/ui/tabs.js +2 -2
  117. package/dist/ui/tag.d.ts +4 -6
  118. package/dist/ui/tag.js +2 -2
  119. package/dist/ui/task-list.d.ts +14 -23
  120. package/dist/ui/task-list.js +2 -2
  121. package/dist/ui/text-input.d.ts +5 -6
  122. package/dist/ui/text-input.js +2 -2
  123. package/dist/ui/textarea.d.ts +4 -6
  124. package/dist/ui/textarea.js +2 -2
  125. package/dist/ui/warning-text.d.ts +4 -4
  126. package/dist/ui/warning-text.js +2 -2
  127. package/package.json +111 -263
  128. package/registry/default/theme/govuk-tokens.css +207 -40
  129. package/dist/chunk-2QKZ6DPC.js +0 -27
  130. package/dist/chunk-4MXR4WNS.js +0 -17
  131. package/dist/chunk-5AKGRLG2.js +0 -190
  132. package/dist/chunk-5H55YDJS.js +0 -69
  133. package/dist/chunk-72PH2FMG.js +0 -180
  134. package/dist/chunk-GUZIKVAE.js +0 -119
  135. package/dist/chunk-JESMK3XK.js +0 -105
  136. package/dist/chunk-JFZN5XP6.js +0 -88
  137. package/dist/chunk-NRXTKHI2.js +0 -169
  138. package/dist/chunk-PGZHPAT5.js +0 -183
  139. package/dist/chunk-RPV43YDC.js +0 -93
  140. package/dist/chunk-VQOCX44T.js +0 -41
  141. package/dist/chunk-WONVZ7WK.js +0 -29
  142. package/dist/chunk-WPPWPEFV.js +0 -150
  143. package/dist/chunk-XQOYWPKV.js +0 -48
  144. package/dist/chunk-YAKI4SI7.js +0 -205
  145. package/dist/chunk-YCLGXX3R.js +0 -68
@@ -1,39 +1,21 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface HeaderProps extends React.HTMLAttributes<HTMLElement> {
4
- ref?: React.Ref<HTMLElement>;
3
+ interface HeaderProps extends React.ComponentProps<'div'> {
5
4
  fullWidth?: boolean;
6
5
  }
7
- interface HeaderContainerProps extends React.HTMLAttributes<HTMLDivElement> {
8
- ref?: React.Ref<HTMLDivElement>;
6
+ interface HeaderContainerProps extends React.ComponentProps<'div'> {
9
7
  fullWidth?: boolean;
10
8
  }
11
- interface HeaderLogoProps extends React.HTMLAttributes<HTMLDivElement> {
12
- ref?: React.Ref<HTMLDivElement>;
13
- }
14
- interface HeaderLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
15
- ref?: React.Ref<HTMLAnchorElement>;
16
- }
17
- interface HeaderServiceNameProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
18
- ref?: React.Ref<HTMLAnchorElement>;
19
- }
20
- interface HeaderNavProps extends React.HTMLAttributes<HTMLElement> {
21
- ref?: React.Ref<HTMLElement>;
22
- }
23
- interface HeaderNavItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
24
- ref?: React.Ref<HTMLLIElement>;
25
- active?: boolean;
26
- }
27
- interface HeaderNavLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
28
- ref?: React.Ref<HTMLAnchorElement>;
29
- }
30
- declare const Header: ({ className, children, fullWidth, ref, ...props }: HeaderProps) => react.JSX.Element;
31
- declare const HeaderContainer: ({ className, fullWidth, ref, children, ...props }: HeaderContainerProps) => react.JSX.Element;
32
- declare const HeaderLogo: ({ className, ref, children, ...props }: HeaderLogoProps) => react.JSX.Element;
33
- declare const HeaderLink: ({ className, ref, children, ...props }: HeaderLinkProps) => react.JSX.Element;
34
- declare const HeaderServiceName: ({ className, ref, children, ...props }: HeaderServiceNameProps) => react.JSX.Element;
35
- declare const HeaderNav: ({ className, ref, children, ...props }: HeaderNavProps) => react.JSX.Element;
36
- declare const HeaderNavItem: ({ className, active, ref, children, ...props }: HeaderNavItemProps) => react.JSX.Element;
37
- declare const HeaderNavLink: ({ className, ref, children, ...props }: HeaderNavLinkProps) => react.JSX.Element;
9
+ type HeaderLogoProps = React.ComponentProps<'div'>;
10
+ type HeaderLinkProps = React.ComponentProps<'a'>;
11
+ type HeaderLogotypeProps = React.ComponentProps<'svg'>;
12
+ type HeaderProductNameProps = React.ComponentProps<'span'>;
13
+ declare const Header: ({ className, children, fullWidth, ...props }: HeaderProps) => react.JSX.Element;
14
+ declare const HeaderContainer: ({ className, fullWidth, ...props }: HeaderContainerProps) => react.JSX.Element;
15
+ declare const HeaderLogo: ({ className, ...props }: HeaderLogoProps) => react.JSX.Element;
16
+ declare const HeaderLink: ({ className, children, ...props }: HeaderLinkProps) => react.JSX.Element;
17
+ declare const HeaderLogotype: ({ className, ...props }: HeaderLogotypeProps) => react.JSX.Element;
18
+ declare const HeaderProductName: ({ className, ...props }: HeaderProductNameProps) => react.JSX.Element;
38
19
 
39
- export { Header, HeaderContainer, type HeaderContainerProps, HeaderLink, type HeaderLinkProps, HeaderLogo, type HeaderLogoProps, HeaderNav, HeaderNavItem, type HeaderNavItemProps, HeaderNavLink, type HeaderNavLinkProps, type HeaderNavProps, type HeaderProps, HeaderServiceName, type HeaderServiceNameProps };
20
+ export { Header, HeaderContainer, HeaderLink, HeaderLogo, HeaderLogotype, HeaderProductName };
21
+ export type { HeaderContainerProps, HeaderLinkProps, HeaderLogoProps, HeaderLogotypeProps, HeaderProductNameProps, HeaderProps };
package/dist/ui/header.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Header, HeaderContainer, HeaderLink, HeaderLogo, HeaderNav, HeaderNavItem, HeaderNavLink, HeaderServiceName } from '../chunk-5AKGRLG2.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { Header, HeaderContainer, HeaderLink, HeaderLogo, HeaderLogotype, HeaderProductName } from '../chunk-RGXB6M3G.js';
2
+ import '../chunk-GKHD33N6.js';
package/dist/ui/hint.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface HintProps extends React.HTMLAttributes<HTMLDivElement> {
4
- ref?: React.Ref<HTMLDivElement>;
5
- }
6
- declare const Hint: ({ className, ref, ...props }: HintProps) => react.JSX.Element;
3
+ type HintProps = React.ComponentProps<'div'>;
4
+ declare const Hint: ({ className, ...props }: HintProps) => react.JSX.Element;
7
5
 
8
- export { Hint, type HintProps };
6
+ export { Hint };
7
+ export type { HintProps };
package/dist/ui/hint.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Hint } from '../chunk-4MXR4WNS.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { Hint } from '../chunk-TICBCBDN.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -1,8 +1,7 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface InsetTextProps extends React.HTMLAttributes<HTMLDivElement> {
4
- ref?: React.Ref<HTMLDivElement>;
5
- }
6
- declare const InsetText: ({ className, ref, ...props }: InsetTextProps) => react.JSX.Element;
3
+ type InsetTextProps = React.ComponentProps<'div'>;
4
+ declare const InsetText: ({ className, ...props }: InsetTextProps) => react.JSX.Element;
7
5
 
8
- export { InsetText, type InsetTextProps };
6
+ export { InsetText };
7
+ export type { InsetTextProps };
@@ -1,2 +1,2 @@
1
- export { InsetText } from '../chunk-5XNKIBMP.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { InsetText } from '../chunk-MYMVHSRJ.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -3,16 +3,14 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const labelVariants: (props?: ({
6
- size?: "m" | "s" | "xl" | "l" | null | undefined;
6
+ size?: "s" | "xl" | "l" | "m" | null | undefined;
7
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8
- interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, VariantProps<typeof labelVariants> {
9
- ref?: React.Ref<HTMLLabelElement>;
10
- }
11
- declare const Label: ({ className, size, htmlFor, ref, ...props }: LabelProps) => react.JSX.Element;
12
- interface LabelWrapperProps extends React.HTMLAttributes<HTMLHeadingElement> {
8
+ type LabelProps = React.ComponentProps<'label'> & VariantProps<typeof labelVariants>;
9
+ declare const Label: ({ className, size, htmlFor, ...props }: LabelProps) => react.JSX.Element;
10
+ interface LabelWrapperProps extends React.ComponentProps<'h1'> {
13
11
  as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
14
- ref?: React.Ref<HTMLHeadingElement>;
15
12
  }
16
- declare const LabelWrapper: ({ as: Tag, className, ref, ...props }: LabelWrapperProps) => react.JSX.Element;
13
+ declare const LabelWrapper: ({ as: Tag, className, children, ...props }: LabelWrapperProps) => react.JSX.Element;
17
14
 
18
- export { Label, type LabelProps, LabelWrapper, type LabelWrapperProps, labelVariants };
15
+ export { Label, LabelWrapper, labelVariants };
16
+ export type { LabelProps, LabelWrapperProps };
package/dist/ui/label.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Label, LabelWrapper, labelVariants } from '../chunk-6VXVJERU.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { Label, LabelWrapper, labelVariants } from '../chunk-QKR7NELW.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -0,0 +1,20 @@
1
+ import * as react from 'react';
2
+
3
+ interface LanguageNavigationProps extends React.ComponentProps<'nav'> {
4
+ inverse?: boolean;
5
+ }
6
+ type LanguageNavigationItemProps = React.ComponentProps<'li'>;
7
+ interface LanguageNavigationLinkProps extends React.ComponentProps<'a'> {
8
+ lang: string;
9
+ description?: string;
10
+ }
11
+ interface LanguageNavigationCurrentProps extends React.ComponentProps<'span'> {
12
+ lang: string;
13
+ }
14
+ declare const LanguageNavigation: ({ className, inverse, children, ...props }: LanguageNavigationProps) => react.JSX.Element;
15
+ declare const LanguageNavigationItem: ({ className, ...props }: LanguageNavigationItemProps) => react.JSX.Element;
16
+ declare const LanguageNavigationLink: ({ className, lang, hrefLang, description, children, ...props }: LanguageNavigationLinkProps) => react.JSX.Element;
17
+ declare const LanguageNavigationCurrent: (props: LanguageNavigationCurrentProps) => react.JSX.Element;
18
+
19
+ export { LanguageNavigation, LanguageNavigationCurrent, LanguageNavigationItem, LanguageNavigationLink };
20
+ export type { LanguageNavigationCurrentProps, LanguageNavigationItemProps, LanguageNavigationLinkProps, LanguageNavigationProps };
@@ -0,0 +1,2 @@
1
+ export { LanguageNavigation, LanguageNavigationCurrent, LanguageNavigationItem, LanguageNavigationLink } from '../chunk-VMI2XU5D.js';
2
+ import '../chunk-GKHD33N6.js';
package/dist/ui/link.d.ts CHANGED
@@ -3,14 +3,13 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const linkVariants: (props?: ({
6
- variant?: "default" | "inverse" | "muted" | null | undefined;
6
+ variant?: "inverse" | "default" | "muted" | null | undefined;
7
7
  noUnderline?: boolean | null | undefined;
8
8
  noVisitedState?: boolean | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  type LinkVariant = NonNullable<VariantProps<typeof linkVariants>['variant']>;
11
- interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
12
- ref?: React.Ref<HTMLAnchorElement>;
13
- }
14
- declare const Link: ({ className, variant, noUnderline, noVisitedState, ref, children, ...props }: LinkProps) => react.JSX.Element;
11
+ type LinkProps = React.ComponentProps<'a'> & VariantProps<typeof linkVariants>;
12
+ declare const Link: ({ className, variant, noUnderline, noVisitedState, children, ...props }: LinkProps) => react.JSX.Element;
15
13
 
16
- export { Link, type LinkProps, type LinkVariant, linkVariants };
14
+ export { Link, linkVariants };
15
+ export type { LinkProps, LinkVariant };
package/dist/ui/link.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Link, linkVariants } from '../chunk-G6T44BDV.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { Link, linkVariants } from '../chunk-HBLVAX45.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -1,29 +1,20 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface NotificationBannerProps extends React.HTMLAttributes<HTMLElement> {
4
- ref?: React.Ref<HTMLElement>;
3
+ interface NotificationBannerProps extends React.ComponentProps<'section'> {
5
4
  variant?: 'default' | 'success';
5
+ disableAutoFocus?: boolean;
6
6
  }
7
- interface NotificationBannerHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
8
- ref?: React.Ref<HTMLDivElement>;
9
- }
10
- interface NotificationBannerTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
11
- ref?: React.Ref<HTMLHeadingElement>;
12
- }
13
- interface NotificationBannerContentProps extends React.HTMLAttributes<HTMLDivElement> {
14
- ref?: React.Ref<HTMLDivElement>;
15
- }
16
- interface NotificationBannerHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
17
- ref?: React.Ref<HTMLHeadingElement>;
18
- }
19
- interface NotificationBannerLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
20
- ref?: React.Ref<HTMLAnchorElement>;
21
- }
22
- declare const NotificationBanner: ({ className, variant, ref, children, ...props }: NotificationBannerProps) => react.JSX.Element;
23
- declare const NotificationBannerHeader: ({ className, ref, children, ...props }: NotificationBannerHeaderProps) => react.JSX.Element;
24
- declare const NotificationBannerTitle: ({ className, ref, children, id, ...props }: NotificationBannerTitleProps) => react.JSX.Element;
25
- declare const NotificationBannerContent: ({ className, ref, children, ...props }: NotificationBannerContentProps) => react.JSX.Element;
26
- declare const NotificationBannerHeading: ({ className, ref, children, ...props }: NotificationBannerHeadingProps) => react.JSX.Element;
27
- declare const NotificationBannerLink: ({ className, ref, children, ...props }: NotificationBannerLinkProps) => react.JSX.Element;
7
+ type NotificationBannerHeaderProps = React.ComponentProps<'div'>;
8
+ type NotificationBannerTitleProps = React.ComponentProps<'h2'>;
9
+ type NotificationBannerContentProps = React.ComponentProps<'div'>;
10
+ type NotificationBannerHeadingProps = React.ComponentProps<'h3'>;
11
+ type NotificationBannerLinkProps = React.ComponentProps<'a'>;
12
+ declare const NotificationBanner: ({ className, variant, disableAutoFocus, ref, ...props }: NotificationBannerProps) => react.JSX.Element;
13
+ declare const NotificationBannerHeader: ({ className, ...props }: NotificationBannerHeaderProps) => react.JSX.Element;
14
+ declare const NotificationBannerTitle: ({ className, children, ...props }: NotificationBannerTitleProps) => react.JSX.Element;
15
+ declare const NotificationBannerContent: ({ className, ...props }: NotificationBannerContentProps) => react.JSX.Element;
16
+ declare const NotificationBannerHeading: ({ className, children, ...props }: NotificationBannerHeadingProps) => react.JSX.Element;
17
+ declare const NotificationBannerLink: ({ className, children, ...props }: NotificationBannerLinkProps) => react.JSX.Element;
28
18
 
29
- export { NotificationBanner, NotificationBannerContent, type NotificationBannerContentProps, NotificationBannerHeader, type NotificationBannerHeaderProps, NotificationBannerHeading, type NotificationBannerHeadingProps, NotificationBannerLink, type NotificationBannerLinkProps, type NotificationBannerProps, NotificationBannerTitle, type NotificationBannerTitleProps };
19
+ export { NotificationBanner, NotificationBannerContent, NotificationBannerHeader, NotificationBannerHeading, NotificationBannerLink, NotificationBannerTitle };
20
+ export type { NotificationBannerContentProps, NotificationBannerHeaderProps, NotificationBannerHeadingProps, NotificationBannerLinkProps, NotificationBannerProps, NotificationBannerTitleProps };
@@ -1,2 +1,2 @@
1
- export { NotificationBanner, NotificationBannerContent, NotificationBannerHeader, NotificationBannerHeading, NotificationBannerLink, NotificationBannerTitle } from '../chunk-GUZIKVAE.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { NotificationBanner, NotificationBannerContent, NotificationBannerHeader, NotificationBannerHeading, NotificationBannerLink, NotificationBannerTitle } from '../chunk-KXQGZLMK.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -1,45 +1,31 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface PaginationProps extends React.ComponentPropsWithoutRef<'nav'> {
4
- ref?: React.Ref<HTMLElement>;
3
+ interface PaginationProps extends React.ComponentProps<'nav'> {
5
4
  block?: boolean;
6
5
  }
7
- interface PaginationPreviousProps extends React.ComponentPropsWithoutRef<'div'> {
8
- ref?: React.Ref<HTMLDivElement>;
9
- }
10
- interface PaginationNextProps extends React.ComponentPropsWithoutRef<'div'> {
11
- ref?: React.Ref<HTMLDivElement>;
12
- }
13
- interface PaginationListProps extends React.ComponentPropsWithoutRef<'ul'> {
14
- ref?: React.Ref<HTMLUListElement>;
15
- }
16
- interface PaginationItemProps extends React.ComponentPropsWithoutRef<'li'> {
17
- ref?: React.Ref<HTMLLIElement>;
6
+ type PaginationPreviousProps = React.ComponentProps<'div'>;
7
+ type PaginationNextProps = React.ComponentProps<'div'>;
8
+ type PaginationListProps = React.ComponentProps<'ul'>;
9
+ interface PaginationItemProps extends React.ComponentProps<'li'> {
18
10
  current?: boolean;
19
11
  }
20
- interface PaginationEllipsisProps extends React.ComponentPropsWithoutRef<'li'> {
21
- ref?: React.Ref<HTMLLIElement>;
22
- }
23
- interface PaginationLinkProps extends React.ComponentPropsWithoutRef<'a'> {
24
- ref?: React.Ref<HTMLAnchorElement>;
25
- }
26
- interface PaginationLinkTitleProps extends React.ComponentPropsWithoutRef<'span'> {
27
- ref?: React.Ref<HTMLSpanElement>;
12
+ type PaginationEllipsisProps = React.ComponentProps<'li'>;
13
+ type PaginationLinkProps = React.ComponentProps<'a'>;
14
+ interface PaginationLinkTitleProps extends React.ComponentProps<'span'> {
28
15
  decorated?: boolean;
29
16
  }
30
- interface PaginationLinkLabelProps extends React.ComponentPropsWithoutRef<'span'> {
31
- ref?: React.Ref<HTMLSpanElement>;
32
- }
17
+ type PaginationLinkLabelProps = React.ComponentProps<'span'>;
33
18
  declare const PrevArrow: () => react.JSX.Element;
34
19
  declare const NextArrow: () => react.JSX.Element;
35
- declare const Pagination: ({ className, block, children, ref, ...props }: PaginationProps) => react.JSX.Element;
36
- declare const PaginationPrevious: ({ className, children, ref, ...props }: PaginationPreviousProps) => react.JSX.Element;
37
- declare const PaginationNext: ({ className, children, ref, ...props }: PaginationNextProps) => react.JSX.Element;
38
- declare const PaginationList: ({ className, children, ref, ...props }: PaginationListProps) => react.JSX.Element;
39
- declare const PaginationItem: ({ className, current, children, ref, ...props }: PaginationItemProps) => react.JSX.Element;
40
- declare const PaginationEllipsis: ({ className, ref, ...props }: PaginationEllipsisProps) => react.JSX.Element;
41
- declare const PaginationLink: ({ className, children, ref, ...props }: PaginationLinkProps) => react.JSX.Element;
42
- declare const PaginationLinkTitle: ({ className, decorated, children, ref, ...props }: PaginationLinkTitleProps) => react.JSX.Element;
43
- declare const PaginationLinkLabel: ({ className, children, ref, ...props }: PaginationLinkLabelProps) => react.JSX.Element;
20
+ declare const Pagination: ({ className, block, ...props }: PaginationProps) => react.JSX.Element;
21
+ declare const PaginationPrevious: ({ className, ...props }: PaginationPreviousProps) => react.JSX.Element;
22
+ declare const PaginationNext: ({ className, ...props }: PaginationNextProps) => react.JSX.Element;
23
+ declare const PaginationList: ({ className, ...props }: PaginationListProps) => react.JSX.Element;
24
+ declare const PaginationItem: ({ className, current, ...props }: PaginationItemProps) => react.JSX.Element;
25
+ declare const PaginationEllipsis: ({ className, ...props }: PaginationEllipsisProps) => react.JSX.Element;
26
+ declare const PaginationLink: ({ className, children, ...props }: PaginationLinkProps) => react.JSX.Element;
27
+ declare const PaginationLinkTitle: ({ className, decorated, ...props }: PaginationLinkTitleProps) => react.JSX.Element;
28
+ declare const PaginationLinkLabel: ({ className, ...props }: PaginationLinkLabelProps) => react.JSX.Element;
44
29
 
45
- export { NextArrow, Pagination, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, PaginationLinkLabel, type PaginationLinkLabelProps, type PaginationLinkProps, PaginationLinkTitle, type PaginationLinkTitleProps, PaginationList, type PaginationListProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, PrevArrow };
30
+ export { NextArrow, Pagination, PaginationEllipsis, PaginationItem, PaginationLink, PaginationLinkLabel, PaginationLinkTitle, PaginationList, PaginationNext, PaginationPrevious, PrevArrow };
31
+ export type { PaginationEllipsisProps, PaginationItemProps, PaginationLinkLabelProps, PaginationLinkProps, PaginationLinkTitleProps, PaginationListProps, PaginationNextProps, PaginationPreviousProps, PaginationProps };
@@ -1,2 +1,2 @@
1
- export { NextArrow, Pagination, PaginationEllipsis, PaginationItem, PaginationLink, PaginationLinkLabel, PaginationLinkTitle, PaginationList, PaginationNext, PaginationPrevious, PrevArrow } from '../chunk-M6CLPMRP.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { NextArrow, Pagination, PaginationEllipsis, PaginationItem, PaginationLink, PaginationLinkLabel, PaginationLinkTitle, PaginationList, PaginationNext, PaginationPrevious, PrevArrow } from '../chunk-6WLHJ5MN.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -1,16 +1,15 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface PanelProps extends React.HTMLAttributes<HTMLDivElement> {
4
- ref?: React.Ref<HTMLDivElement>;
3
+ interface PanelProps extends React.ComponentProps<'div'> {
4
+ variant?: 'confirmation' | 'interruption';
5
5
  }
6
- interface PanelTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
7
- ref?: React.Ref<HTMLHeadingElement>;
8
- }
9
- interface PanelBodyProps extends React.HTMLAttributes<HTMLDivElement> {
10
- ref?: React.Ref<HTMLDivElement>;
11
- }
12
- declare const Panel: ({ className, ref, children, ...props }: PanelProps) => react.JSX.Element;
13
- declare const PanelTitle: ({ className, ref, children, ...props }: PanelTitleProps) => react.JSX.Element;
14
- declare const PanelBody: ({ className, ref, children, ...props }: PanelBodyProps) => react.JSX.Element;
6
+ type PanelTitleProps = React.ComponentProps<'h1'>;
7
+ type PanelBodyProps = React.ComponentProps<'div'>;
8
+ type PanelActionsProps = React.ComponentProps<'div'>;
9
+ declare const Panel: ({ className, variant, ...props }: PanelProps) => react.JSX.Element;
10
+ declare const PanelTitle: ({ className, children, ...props }: PanelTitleProps) => react.JSX.Element;
11
+ declare const PanelBody: ({ className, ...props }: PanelBodyProps) => react.JSX.Element;
12
+ declare const PanelActions: ({ className, ...props }: PanelActionsProps) => react.JSX.Element;
15
13
 
16
- export { Panel, PanelBody, type PanelBodyProps, type PanelProps, PanelTitle, type PanelTitleProps };
14
+ export { Panel, PanelActions, PanelBody, PanelTitle };
15
+ export type { PanelActionsProps, PanelBodyProps, PanelProps, PanelTitleProps };
package/dist/ui/panel.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Panel, PanelBody, PanelTitle } from '../chunk-VQOCX44T.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { Panel, PanelActions, PanelBody, PanelTitle } from '../chunk-CBT6WCJ7.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
+ import { TextInputProps } from './text-input.js';
3
+ import 'class-variance-authority/types';
4
+ import 'class-variance-authority';
2
5
 
3
- interface PasswordInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'width'> {
4
- ref?: React.Ref<HTMLInputElement>;
5
- error?: boolean;
6
- disabled?: boolean;
6
+ interface PasswordInputProps extends Omit<TextInputProps, 'type' | 'width' | 'prefix' | 'suffix'> {
7
7
  showPasswordText?: string;
8
8
  hidePasswordText?: string;
9
9
  showPasswordAriaLabel?: string;
@@ -11,6 +11,7 @@ interface PasswordInputProps extends Omit<React.InputHTMLAttributes<HTMLInputEle
11
11
  passwordShownAnnouncement?: string;
12
12
  passwordHiddenAnnouncement?: string;
13
13
  }
14
- declare const PasswordInput: ({ className, id, error, disabled, autoComplete, showPasswordText, hidePasswordText, showPasswordAriaLabel, hidePasswordAriaLabel, passwordShownAnnouncement, passwordHiddenAnnouncement, ref, ...props }: PasswordInputProps) => react.JSX.Element;
14
+ declare const PasswordInput: ({ className, id, disabled, showPasswordText, hidePasswordText, showPasswordAriaLabel, hidePasswordAriaLabel, passwordShownAnnouncement, passwordHiddenAnnouncement, ...props }: PasswordInputProps) => react.JSX.Element;
15
15
 
16
- export { PasswordInput, type PasswordInputProps };
16
+ export { PasswordInput };
17
+ export type { PasswordInputProps };
@@ -1,4 +1,4 @@
1
- export { PasswordInput } from '../chunk-P4GCF5FQ.js';
2
- import '../chunk-QTSEOPVX.js';
3
- import '../chunk-5PIQJ22R.js';
4
- import '../chunk-WONVZ7WK.js';
1
+ export { PasswordInput } from '../chunk-OQILIT3B.js';
2
+ import '../chunk-VCJE5UO2.js';
3
+ import '../chunk-ASBIQC77.js';
4
+ import '../chunk-GKHD33N6.js';
@@ -1,20 +1,13 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface PhaseBannerProps extends React.HTMLAttributes<HTMLDivElement> {
4
- ref?: React.Ref<HTMLDivElement>;
5
- }
6
- interface PhaseBannerContentProps extends React.HTMLAttributes<HTMLParagraphElement> {
7
- ref?: React.Ref<HTMLParagraphElement>;
8
- }
9
- interface PhaseBannerTagProps extends React.HTMLAttributes<HTMLSpanElement> {
10
- ref?: React.Ref<HTMLSpanElement>;
11
- }
12
- interface PhaseBannerTextProps extends React.HTMLAttributes<HTMLSpanElement> {
13
- ref?: React.Ref<HTMLSpanElement>;
14
- }
15
- declare const PhaseBanner: ({ className, ref, ...props }: PhaseBannerProps) => react.JSX.Element;
16
- declare const PhaseBannerContent: ({ className, ref, ...props }: PhaseBannerContentProps) => react.JSX.Element;
17
- declare const PhaseBannerTag: ({ className, ref, ...props }: PhaseBannerTagProps) => react.JSX.Element;
18
- declare const PhaseBannerText: ({ className, ref, ...props }: PhaseBannerTextProps) => react.JSX.Element;
3
+ type PhaseBannerProps = React.ComponentProps<'div'>;
4
+ type PhaseBannerContentProps = React.ComponentProps<'p'>;
5
+ type PhaseBannerTagProps = React.ComponentProps<'span'>;
6
+ type PhaseBannerTextProps = React.ComponentProps<'span'>;
7
+ declare const PhaseBanner: ({ className, ...props }: PhaseBannerProps) => react.JSX.Element;
8
+ declare const PhaseBannerContent: ({ className, ...props }: PhaseBannerContentProps) => react.JSX.Element;
9
+ declare const PhaseBannerTag: ({ className, ...props }: PhaseBannerTagProps) => react.JSX.Element;
10
+ declare const PhaseBannerText: ({ className, ...props }: PhaseBannerTextProps) => react.JSX.Element;
19
11
 
20
- export { PhaseBanner, PhaseBannerContent, type PhaseBannerContentProps, type PhaseBannerProps, PhaseBannerTag, type PhaseBannerTagProps, PhaseBannerText, type PhaseBannerTextProps };
12
+ export { PhaseBanner, PhaseBannerContent, PhaseBannerTag, PhaseBannerText };
13
+ export type { PhaseBannerContentProps, PhaseBannerProps, PhaseBannerTagProps, PhaseBannerTextProps };
@@ -1,2 +1,2 @@
1
- export { PhaseBanner, PhaseBannerContent, PhaseBannerTag, PhaseBannerText } from '../chunk-XQOYWPKV.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { PhaseBanner, PhaseBannerContent, PhaseBannerTag, PhaseBannerText } from '../chunk-ZAKQHDVD.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -2,24 +2,19 @@ import * as react from 'react';
2
2
  import { RadioGroup } from '@base-ui/react/radio-group';
3
3
  import { Radio } from '@base-ui/react/radio';
4
4
 
5
- interface RadiosProps extends Omit<React.ComponentProps<typeof RadioGroup>, 'className' | 'children'> {
5
+ interface RadiosProps extends Omit<React.ComponentProps<typeof RadioGroup>, 'className'> {
6
6
  className?: string;
7
- children: React.ReactNode;
8
7
  inline?: boolean;
9
8
  }
10
- declare const Radios: ({ className, inline, children, ...props }: RadiosProps) => react.JSX.Element;
11
- interface RadiosItemProps extends Omit<React.ComponentProps<typeof Radio.Root>, 'className' | 'children'> {
12
- className?: string;
13
- children: React.ReactNode;
14
- }
15
- declare const RadiosItem: ({ className, children, value, ...props }: RadiosItemProps) => react.JSX.Element;
16
- interface RadiosHintProps extends React.HTMLAttributes<HTMLSpanElement> {
9
+ declare const Radios: ({ className, inline, ...props }: RadiosProps) => react.JSX.Element;
10
+ interface RadiosItemProps extends Omit<React.ComponentProps<typeof Radio.Root>, 'className'> {
17
11
  className?: string;
18
12
  }
13
+ declare const RadiosItem: ({ className, children, ...props }: RadiosItemProps) => react.JSX.Element;
14
+ type RadiosHintProps = React.ComponentProps<'span'>;
19
15
  declare const RadiosHint: ({ className, ...props }: RadiosHintProps) => react.JSX.Element;
20
- interface RadiosDividerProps extends React.HTMLAttributes<HTMLDivElement> {
21
- className?: string;
22
- }
16
+ type RadiosDividerProps = React.ComponentProps<'div'>;
23
17
  declare const RadiosDivider: ({ className, children, ...props }: RadiosDividerProps) => react.JSX.Element;
24
18
 
25
- export { Radios, RadiosDivider, type RadiosDividerProps, RadiosHint, type RadiosHintProps, RadiosItem, type RadiosItemProps, type RadiosProps };
19
+ export { Radios, RadiosDivider, RadiosHint, RadiosItem };
20
+ export type { RadiosDividerProps, RadiosHintProps, RadiosItemProps, RadiosProps };
package/dist/ui/radios.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Radios, RadiosDivider, RadiosHint, RadiosItem } from '../chunk-SK27BMU5.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { Radios, RadiosDivider, RadiosHint, RadiosItem } from '../chunk-4GQRYMDK.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -1,36 +1,12 @@
1
1
  import * as react from 'react';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
3
4
 
4
- declare const selectTriggerVariants: (props?: ({
5
+ declare const selectVariants: (props?: ({
5
6
  error?: boolean | null | undefined;
6
7
  } & class_variance_authority_types.ClassProp) | undefined) => string;
7
- interface SelectProps {
8
- children: React.ReactNode;
9
- className?: string;
10
- error?: boolean;
11
- placeholder?: string;
12
- defaultValue?: string;
13
- value?: string;
14
- onValueChange?: (value: string | null) => void;
15
- disabled?: boolean;
16
- name?: string;
17
- required?: boolean;
18
- items?: SelectItem[];
19
- 'aria-label'?: string;
20
- 'aria-labelledby'?: string;
21
- }
22
- declare const Select: ({ children, className, error, placeholder, defaultValue, value, onValueChange, disabled, name, required, items, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: SelectProps) => react.JSX.Element;
23
- interface SelectItemProps {
24
- children: React.ReactNode;
25
- className?: string;
26
- value: string;
27
- label?: string;
28
- disabled?: boolean;
29
- }
30
- interface SelectItem {
31
- value: string;
32
- label: string;
33
- }
34
- declare const SelectItem: ({ children, className, value, label, disabled, ...props }: SelectItemProps) => react.JSX.Element;
8
+ type SelectProps = React.ComponentProps<'select'> & VariantProps<typeof selectVariants>;
9
+ declare const Select: ({ className, error, ...props }: SelectProps) => react.JSX.Element;
35
10
 
36
- export { Select, SelectItem, type SelectItemProps, type SelectProps, selectTriggerVariants };
11
+ export { Select, selectVariants };
12
+ export type { SelectProps };
package/dist/ui/select.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Select, SelectItem, selectTriggerVariants } from '../chunk-WPPWPEFV.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { Select, selectVariants } from '../chunk-UXOJELVU.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -1,30 +1,22 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface ServiceNavigationProps extends React.HTMLAttributes<HTMLElement> {
4
- ref?: React.Ref<HTMLElement>;
5
- }
6
- interface ServiceNavigationContainerProps extends React.HTMLAttributes<HTMLDivElement> {
7
- ref?: React.Ref<HTMLDivElement>;
8
- }
9
- interface ServiceNavigationServiceNameProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
10
- ref?: React.Ref<HTMLAnchorElement>;
11
- }
12
- interface ServiceNavigationNavProps extends React.HTMLAttributes<HTMLElement> {
13
- ref?: React.Ref<HTMLElement>;
3
+ type ServiceNavigationProps = React.ComponentProps<'section'>;
4
+ type ServiceNavigationContainerProps = React.ComponentProps<'div'>;
5
+ type ServiceNavigationServiceNameProps = React.ComponentProps<'a'>;
6
+ interface ServiceNavigationNavProps extends React.ComponentProps<'nav'> {
14
7
  menuButtonText?: string;
8
+ collapseOnMobile?: boolean;
15
9
  }
16
- interface ServiceNavigationItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
17
- ref?: React.Ref<HTMLLIElement>;
10
+ interface ServiceNavigationItemProps extends React.ComponentProps<'li'> {
18
11
  active?: boolean;
19
12
  }
20
- interface ServiceNavigationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
21
- ref?: React.Ref<HTMLAnchorElement>;
22
- }
23
- declare const ServiceNavigation: ({ className, ref, children, ...props }: ServiceNavigationProps) => react.JSX.Element;
24
- declare const ServiceNavigationContainer: ({ className, ref, children, ...props }: ServiceNavigationContainerProps) => react.JSX.Element;
25
- declare const ServiceNavigationServiceName: ({ className, ref, children, ...props }: ServiceNavigationServiceNameProps) => react.JSX.Element;
26
- declare const ServiceNavigationNav: ({ className, ref, children, menuButtonText, ...props }: ServiceNavigationNavProps) => react.JSX.Element;
27
- declare const ServiceNavigationItem: ({ className, active, ref, children, ...props }: ServiceNavigationItemProps) => react.JSX.Element;
28
- declare const ServiceNavigationLink: ({ className, ref, children, ...props }: ServiceNavigationLinkProps) => react.JSX.Element;
13
+ type ServiceNavigationLinkProps = React.ComponentProps<'a'>;
14
+ declare const ServiceNavigation: ({ className, ...props }: ServiceNavigationProps) => react.JSX.Element;
15
+ declare const ServiceNavigationContainer: ({ className, ...props }: ServiceNavigationContainerProps) => react.JSX.Element;
16
+ declare const ServiceNavigationServiceName: ({ className, children, href, ...props }: ServiceNavigationServiceNameProps) => react.JSX.Element;
17
+ declare const ServiceNavigationNav: ({ className, children, menuButtonText, collapseOnMobile, ...props }: ServiceNavigationNavProps) => react.JSX.Element;
18
+ declare const ServiceNavigationItem: ({ className, active, ...props }: ServiceNavigationItemProps) => react.JSX.Element;
19
+ declare const ServiceNavigationLink: ({ className, children, ...props }: ServiceNavigationLinkProps) => react.JSX.Element;
29
20
 
30
- export { ServiceNavigation, ServiceNavigationContainer, type ServiceNavigationContainerProps, ServiceNavigationItem, type ServiceNavigationItemProps, ServiceNavigationLink, type ServiceNavigationLinkProps, ServiceNavigationNav, type ServiceNavigationNavProps, type ServiceNavigationProps, ServiceNavigationServiceName, type ServiceNavigationServiceNameProps };
21
+ export { ServiceNavigation, ServiceNavigationContainer, ServiceNavigationItem, ServiceNavigationLink, ServiceNavigationNav, ServiceNavigationServiceName };
22
+ export type { ServiceNavigationContainerProps, ServiceNavigationItemProps, ServiceNavigationLinkProps, ServiceNavigationNavProps, ServiceNavigationProps, ServiceNavigationServiceNameProps };
@@ -1,2 +1,2 @@
1
- export { ServiceNavigation, ServiceNavigationContainer, ServiceNavigationItem, ServiceNavigationLink, ServiceNavigationNav, ServiceNavigationServiceName } from '../chunk-3YIKJK6M.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { ServiceNavigation, ServiceNavigationContainer, ServiceNavigationItem, ServiceNavigationLink, ServiceNavigationNav, ServiceNavigationServiceName } from '../chunk-CYBPAHLZ.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -1,8 +1,7 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface SkipLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
4
- ref?: React.Ref<HTMLAnchorElement>;
5
- }
6
- declare const SkipLink: ({ className, ref, children, href, ...props }: SkipLinkProps) => react.JSX.Element;
3
+ type SkipLinkProps = React.ComponentProps<'a'>;
4
+ declare const SkipLink: ({ className, children, onClick, ...props }: SkipLinkProps) => react.JSX.Element;
7
5
 
8
- export { SkipLink, type SkipLinkProps };
6
+ export { SkipLink };
7
+ export type { SkipLinkProps };
@@ -1,2 +1,2 @@
1
- export { SkipLink } from '../chunk-2QKZ6DPC.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { SkipLink } from '../chunk-W4CWUYTA.js';
2
+ import '../chunk-GKHD33N6.js';