whitehall-ui 1.0.0 → 2.1.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 (148) hide show
  1. package/README.md +13 -3
  2. package/dist/{chunk-KWAC6IEK.js → chunk-2KB4IAMZ.js} +9 -22
  3. package/dist/chunk-3NOO2YUQ.js +139 -0
  4. package/dist/{chunk-5TI2WXYU.js → chunk-3UX7QPLM.js} +10 -21
  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-JU7A7KQI.js +152 -0
  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-YMQVN3MH.js +100 -0
  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 +10 -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 +9 -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 +208 -41
  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-LRNZYPC2.js +0 -107
  138. package/dist/chunk-NRXTKHI2.js +0 -169
  139. package/dist/chunk-PGZHPAT5.js +0 -183
  140. package/dist/chunk-RPV43YDC.js +0 -93
  141. package/dist/chunk-SK27BMU5.js +0 -140
  142. package/dist/chunk-UWQFFFTB.js +0 -136
  143. package/dist/chunk-VQOCX44T.js +0 -41
  144. package/dist/chunk-WONVZ7WK.js +0 -29
  145. package/dist/chunk-WPPWPEFV.js +0 -150
  146. package/dist/chunk-XQOYWPKV.js +0 -48
  147. package/dist/chunk-YAKI4SI7.js +0 -205
  148. package/dist/chunk-YCLGXX3R.js +0 -68
@@ -1,9 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
 
4
- interface FileUploadProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {
5
- ref?: React.Ref<HTMLInputElement>;
6
- disabled?: boolean;
4
+ interface FileUploadProps extends Omit<React.ComponentProps<'input'>, 'type'> {
7
5
  error?: boolean;
8
6
  chooseFileButtonText?: string;
9
7
  dropInstructionText?: string;
@@ -14,6 +12,7 @@ declare const fileUploadButtonVariants: (props?: ({
14
12
  dragging?: boolean | null | undefined;
15
13
  error?: boolean | null | undefined;
16
14
  } & class_variance_authority_types.ClassProp) | undefined) => string;
17
- declare const FileUpload: ({ className, id, name, disabled, error, multiple, chooseFileButtonText, dropInstructionText, noFileChosenText, onChange, ref, ...props }: FileUploadProps) => react.JSX.Element;
15
+ declare const FileUpload: ({ className, id, disabled, error, chooseFileButtonText, dropInstructionText, noFileChosenText, onChange, ref, "aria-describedby": ariaDescribedBy, ...props }: FileUploadProps) => react.JSX.Element;
18
16
 
19
- export { FileUpload, type FileUploadProps, fileUploadButtonVariants };
17
+ export { FileUpload, fileUploadButtonVariants };
18
+ export type { FileUploadProps };
@@ -1,2 +1,2 @@
1
- export { FileUpload, fileUploadButtonVariants } from '../chunk-72PH2FMG.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { FileUpload, fileUploadButtonVariants } from '../chunk-7Q2C5RB7.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -1,61 +1,50 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface FooterProps extends React.HTMLAttributes<HTMLElement> {
4
- ref?: React.Ref<HTMLElement>;
5
- }
6
- interface FooterContainerProps extends React.HTMLAttributes<HTMLDivElement> {
7
- ref?: React.Ref<HTMLDivElement>;
3
+ declare const footerSectionWidths: {
4
+ full: string;
5
+ 'one-half': string;
6
+ 'one-third': string;
7
+ 'two-thirds': string;
8
+ };
9
+ type FooterProps = React.ComponentProps<'footer'>;
10
+ interface FooterContainerProps extends React.ComponentProps<'div'> {
8
11
  fullWidth?: boolean;
9
12
  }
10
- interface FooterNavigationProps extends React.HTMLAttributes<HTMLDivElement> {
11
- ref?: React.Ref<HTMLDivElement>;
12
- }
13
- interface FooterSectionProps extends React.HTMLAttributes<HTMLDivElement> {
14
- ref?: React.Ref<HTMLDivElement>;
15
- width?: 'full' | 'one-half' | 'one-third' | 'two-thirds';
16
- }
17
- interface FooterHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
18
- ref?: React.Ref<HTMLHeadingElement>;
13
+ type FooterCrownProps = React.ComponentProps<'svg'>;
14
+ type FooterNavigationProps = React.ComponentProps<'div'>;
15
+ interface FooterSectionProps extends React.ComponentProps<'div'> {
16
+ width?: keyof typeof footerSectionWidths;
19
17
  }
20
- interface FooterListProps extends React.HTMLAttributes<HTMLUListElement> {
21
- ref?: React.Ref<HTMLUListElement>;
18
+ type FooterHeadingProps = React.ComponentProps<'h2'>;
19
+ interface FooterListProps extends React.ComponentProps<'ul'> {
22
20
  columns?: 1 | 2 | 3;
23
21
  }
24
- interface FooterListItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
25
- ref?: React.Ref<HTMLLIElement>;
26
- }
27
- interface FooterLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
28
- ref?: React.Ref<HTMLAnchorElement>;
29
- }
30
- interface FooterMetaProps extends React.HTMLAttributes<HTMLDivElement> {
31
- ref?: React.Ref<HTMLDivElement>;
32
- }
33
- interface FooterMetaItemProps extends React.HTMLAttributes<HTMLDivElement> {
34
- ref?: React.Ref<HTMLDivElement>;
22
+ type FooterListItemProps = React.ComponentProps<'li'>;
23
+ type FooterLinkProps = React.ComponentProps<'a'>;
24
+ type FooterMetaProps = React.ComponentProps<'div'>;
25
+ interface FooterMetaItemProps extends React.ComponentProps<'div'> {
35
26
  grow?: boolean;
36
27
  }
37
- interface FooterInlineListProps extends React.HTMLAttributes<HTMLUListElement> {
38
- ref?: React.Ref<HTMLUListElement>;
39
- }
40
- interface FooterInlineListItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
41
- ref?: React.Ref<HTMLLIElement>;
42
- }
43
- interface FooterContentLicenceProps extends React.HTMLAttributes<HTMLSpanElement> {
44
- ref?: React.Ref<HTMLSpanElement>;
45
- }
46
- declare const Footer: ({ className, children, ref, ...props }: FooterProps) => react.JSX.Element;
47
- declare const FooterContainer: ({ className, fullWidth, ref, children, ...props }: FooterContainerProps) => react.JSX.Element;
48
- declare const FooterNavigation: ({ className, ref, children, ...props }: FooterNavigationProps) => react.JSX.Element;
49
- declare const FooterSection: ({ className, width, ref, children, ...props }: FooterSectionProps) => react.JSX.Element;
50
- declare const FooterHeading: ({ className, ref, children, ...props }: FooterHeadingProps) => react.JSX.Element;
51
- declare const FooterList: ({ className, columns, ref, children, ...props }: FooterListProps) => react.JSX.Element;
52
- declare const FooterListItem: ({ className, ref, children, ...props }: FooterListItemProps) => react.JSX.Element;
53
- declare const FooterLink: ({ className, ref, children, ...props }: FooterLinkProps) => react.JSX.Element;
28
+ type FooterInlineListProps = React.ComponentProps<'ul'>;
29
+ type FooterInlineListItemProps = React.ComponentProps<'li'>;
30
+ type FooterLicenceLogoProps = React.ComponentProps<'svg'>;
31
+ type FooterContentLicenceProps = React.ComponentProps<'span'>;
32
+ declare const Footer: ({ className, ...props }: FooterProps) => react.JSX.Element;
33
+ declare const FooterContainer: ({ className, fullWidth, ...props }: FooterContainerProps) => react.JSX.Element;
34
+ declare const FooterCrown: ({ className, ...props }: FooterCrownProps) => react.JSX.Element;
35
+ declare const FooterNavigation: ({ className, ...props }: FooterNavigationProps) => react.JSX.Element;
36
+ declare const FooterSection: ({ className, width, ...props }: FooterSectionProps) => react.JSX.Element;
37
+ declare const FooterHeading: ({ className, children, ...props }: FooterHeadingProps) => react.JSX.Element;
38
+ declare const FooterList: ({ className, columns, ...props }: FooterListProps) => react.JSX.Element;
39
+ declare const FooterListItem: ({ className, ...props }: FooterListItemProps) => react.JSX.Element;
40
+ declare const FooterLink: ({ className, children, ...props }: FooterLinkProps) => react.JSX.Element;
54
41
  declare const FooterSectionBreak: () => react.JSX.Element;
55
- declare const FooterMeta: ({ className, ref, children, ...props }: FooterMetaProps) => react.JSX.Element;
56
- declare const FooterMetaItem: ({ className, grow, ref, children, ...props }: FooterMetaItemProps) => react.JSX.Element;
57
- declare const FooterInlineList: ({ className, ref, children, ...props }: FooterInlineListProps) => react.JSX.Element;
58
- declare const FooterInlineListItem: ({ className, ref, children, ...props }: FooterInlineListItemProps) => react.JSX.Element;
59
- declare const FooterContentLicence: ({ className, ref, children, ...props }: FooterContentLicenceProps) => react.JSX.Element;
42
+ declare const FooterMeta: ({ className, ...props }: FooterMetaProps) => react.JSX.Element;
43
+ declare const FooterMetaItem: ({ className, grow, ...props }: FooterMetaItemProps) => react.JSX.Element;
44
+ declare const FooterInlineList: ({ className, ...props }: FooterInlineListProps) => react.JSX.Element;
45
+ declare const FooterInlineListItem: ({ className, ...props }: FooterInlineListItemProps) => react.JSX.Element;
46
+ declare const FooterLicenceLogo: ({ className, ...props }: FooterLicenceLogoProps) => react.JSX.Element;
47
+ declare const FooterContentLicence: ({ className, ...props }: FooterContentLicenceProps) => react.JSX.Element;
60
48
 
61
- export { Footer, FooterContainer, type FooterContainerProps, FooterContentLicence, type FooterContentLicenceProps, FooterHeading, type FooterHeadingProps, FooterInlineList, FooterInlineListItem, type FooterInlineListItemProps, type FooterInlineListProps, FooterLink, type FooterLinkProps, FooterList, FooterListItem, type FooterListItemProps, type FooterListProps, FooterMeta, FooterMetaItem, type FooterMetaItemProps, type FooterMetaProps, FooterNavigation, type FooterNavigationProps, type FooterProps, FooterSection, FooterSectionBreak, type FooterSectionProps };
49
+ export { Footer, FooterContainer, FooterContentLicence, FooterCrown, FooterHeading, FooterInlineList, FooterInlineListItem, FooterLicenceLogo, FooterLink, FooterList, FooterListItem, FooterMeta, FooterMetaItem, FooterNavigation, FooterSection, FooterSectionBreak };
50
+ export type { FooterContainerProps, FooterContentLicenceProps, FooterCrownProps, FooterHeadingProps, FooterInlineListItemProps, FooterInlineListProps, FooterLicenceLogoProps, FooterLinkProps, FooterListItemProps, FooterListProps, FooterMetaItemProps, FooterMetaProps, FooterNavigationProps, FooterProps, FooterSectionProps };
package/dist/ui/footer.js CHANGED
@@ -1,2 +1,2 @@
1
- export { Footer, FooterContainer, FooterContentLicence, FooterHeading, FooterInlineList, FooterInlineListItem, FooterLink, FooterList, FooterListItem, FooterMeta, FooterMetaItem, FooterNavigation, FooterSection, FooterSectionBreak } from '../chunk-YAKI4SI7.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { Footer, FooterContainer, FooterContentLicence, FooterCrown, FooterHeading, FooterInlineList, FooterInlineListItem, FooterLicenceLogo, FooterLink, FooterList, FooterListItem, FooterMeta, FooterMetaItem, FooterNavigation, FooterSection, FooterSectionBreak } from '../chunk-ZJB7BBTN.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -1,22 +1,17 @@
1
1
  import * as react from 'react';
2
2
 
3
- interface GenericHeaderProps extends React.HTMLAttributes<HTMLElement> {
4
- ref?: React.Ref<HTMLElement>;
3
+ interface GenericHeaderProps extends React.ComponentProps<'div'> {
5
4
  fullWidth?: boolean;
6
5
  }
7
- interface GenericHeaderContainerProps extends React.HTMLAttributes<HTMLDivElement> {
8
- ref?: React.Ref<HTMLDivElement>;
6
+ interface GenericHeaderContainerProps extends React.ComponentProps<'div'> {
9
7
  fullWidth?: boolean;
10
8
  }
11
- interface GenericHeaderLogoProps extends React.HTMLAttributes<HTMLDivElement> {
12
- ref?: React.Ref<HTMLDivElement>;
13
- }
14
- interface GenericHeaderLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
15
- ref?: React.Ref<HTMLAnchorElement>;
16
- }
17
- declare const GenericHeader: ({ className, fullWidth, ref, children, ...props }: GenericHeaderProps) => react.JSX.Element;
18
- declare const GenericHeaderContainer: ({ className, fullWidth, ref, children, ...props }: GenericHeaderContainerProps) => react.JSX.Element;
19
- declare const GenericHeaderLogo: ({ className, ref, children, ...props }: GenericHeaderLogoProps) => react.JSX.Element;
20
- declare const GenericHeaderLink: ({ className, ref, children, ...props }: GenericHeaderLinkProps) => react.JSX.Element;
9
+ type GenericHeaderLogoProps = React.ComponentProps<'div'>;
10
+ type GenericHeaderLinkProps = React.ComponentProps<'a'>;
11
+ declare const GenericHeader: ({ className, fullWidth, children, ...props }: GenericHeaderProps) => react.JSX.Element;
12
+ declare const GenericHeaderContainer: ({ className, fullWidth, ...props }: GenericHeaderContainerProps) => react.JSX.Element;
13
+ declare const GenericHeaderLogo: ({ className, ...props }: GenericHeaderLogoProps) => react.JSX.Element;
14
+ declare const GenericHeaderLink: ({ className, children, ...props }: GenericHeaderLinkProps) => react.JSX.Element;
21
15
 
22
- export { GenericHeader, GenericHeaderContainer, type GenericHeaderContainerProps, GenericHeaderLink, type GenericHeaderLinkProps, GenericHeaderLogo, type GenericHeaderLogoProps, type GenericHeaderProps };
16
+ export { GenericHeader, GenericHeaderContainer, GenericHeaderLink, GenericHeaderLogo };
17
+ export type { GenericHeaderContainerProps, GenericHeaderLinkProps, GenericHeaderLogoProps, GenericHeaderProps };
@@ -1,2 +1,2 @@
1
- export { GenericHeader, GenericHeaderContainer, GenericHeaderLink, GenericHeaderLogo } from '../chunk-7ZCZQN5N.js';
2
- import '../chunk-WONVZ7WK.js';
1
+ export { GenericHeader, GenericHeaderContainer, GenericHeaderLink, GenericHeaderLogo } from '../chunk-UK7RLSTJ.js';
2
+ import '../chunk-GKHD33N6.js';
@@ -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 };