whitehall-ui 1.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 (122) hide show
  1. package/README.md +108 -0
  2. package/dist/chunk-2QKZ6DPC.js +27 -0
  3. package/dist/chunk-3INCIYDO.js +213 -0
  4. package/dist/chunk-3YIKJK6M.js +181 -0
  5. package/dist/chunk-4MXR4WNS.js +17 -0
  6. package/dist/chunk-5AKGRLG2.js +190 -0
  7. package/dist/chunk-5H55YDJS.js +69 -0
  8. package/dist/chunk-5PIQJ22R.js +106 -0
  9. package/dist/chunk-5TI2WXYU.js +64 -0
  10. package/dist/chunk-5XNKIBMP.js +21 -0
  11. package/dist/chunk-6VXVJERU.js +38 -0
  12. package/dist/chunk-72PH2FMG.js +180 -0
  13. package/dist/chunk-7ZCZQN5N.js +71 -0
  14. package/dist/chunk-AO6HPG4R.js +50 -0
  15. package/dist/chunk-CEPBVMFU.js +34 -0
  16. package/dist/chunk-G6T44BDV.js +75 -0
  17. package/dist/chunk-GUZIKVAE.js +119 -0
  18. package/dist/chunk-JESMK3XK.js +105 -0
  19. package/dist/chunk-JFZN5XP6.js +88 -0
  20. package/dist/chunk-KD4LPFIZ.js +67 -0
  21. package/dist/chunk-KWAC6IEK.js +95 -0
  22. package/dist/chunk-LRNZYPC2.js +107 -0
  23. package/dist/chunk-M6CLPMRP.js +227 -0
  24. package/dist/chunk-N67H5OUQ.js +51 -0
  25. package/dist/chunk-NRXTKHI2.js +169 -0
  26. package/dist/chunk-OP35ZJ4X.js +46 -0
  27. package/dist/chunk-P4GCF5FQ.js +62 -0
  28. package/dist/chunk-PGZHPAT5.js +183 -0
  29. package/dist/chunk-QTSEOPVX.js +94 -0
  30. package/dist/chunk-RPV43YDC.js +93 -0
  31. package/dist/chunk-SK27BMU5.js +140 -0
  32. package/dist/chunk-TXGBUZB4.js +44 -0
  33. package/dist/chunk-UWQFFFTB.js +136 -0
  34. package/dist/chunk-VB6V3PHD.js +67 -0
  35. package/dist/chunk-VQOCX44T.js +41 -0
  36. package/dist/chunk-WONVZ7WK.js +29 -0
  37. package/dist/chunk-WPPWPEFV.js +150 -0
  38. package/dist/chunk-XQOYWPKV.js +48 -0
  39. package/dist/chunk-YAKI4SI7.js +205 -0
  40. package/dist/chunk-YCLGXX3R.js +68 -0
  41. package/dist/index.d.ts +50 -0
  42. package/dist/index.js +39 -0
  43. package/dist/lib/utils.d.ts +5 -0
  44. package/dist/lib/utils.js +1 -0
  45. package/dist/ui/accordion.d.ts +27 -0
  46. package/dist/ui/accordion.js +2 -0
  47. package/dist/ui/back-link.d.ts +9 -0
  48. package/dist/ui/back-link.js +2 -0
  49. package/dist/ui/breadcrumbs.d.ts +22 -0
  50. package/dist/ui/breadcrumbs.js +2 -0
  51. package/dist/ui/button.d.ts +17 -0
  52. package/dist/ui/button.js +2 -0
  53. package/dist/ui/character-count.d.ts +27 -0
  54. package/dist/ui/character-count.js +3 -0
  55. package/dist/ui/checkboxes.d.ts +30 -0
  56. package/dist/ui/checkboxes.js +2 -0
  57. package/dist/ui/cookie-banner.d.ts +24 -0
  58. package/dist/ui/cookie-banner.js +2 -0
  59. package/dist/ui/date-input.d.ts +21 -0
  60. package/dist/ui/date-input.js +2 -0
  61. package/dist/ui/details.d.ts +20 -0
  62. package/dist/ui/details.js +2 -0
  63. package/dist/ui/error-message.d.ts +9 -0
  64. package/dist/ui/error-message.js +2 -0
  65. package/dist/ui/error-summary.d.ts +15 -0
  66. package/dist/ui/error-summary.js +2 -0
  67. package/dist/ui/exit-this-page.d.ts +14 -0
  68. package/dist/ui/exit-this-page.js +3 -0
  69. package/dist/ui/fieldset.d.ts +22 -0
  70. package/dist/ui/fieldset.js +2 -0
  71. package/dist/ui/file-upload.d.ts +19 -0
  72. package/dist/ui/file-upload.js +2 -0
  73. package/dist/ui/footer.d.ts +61 -0
  74. package/dist/ui/footer.js +2 -0
  75. package/dist/ui/generic-header.d.ts +22 -0
  76. package/dist/ui/generic-header.js +2 -0
  77. package/dist/ui/header.d.ts +39 -0
  78. package/dist/ui/header.js +2 -0
  79. package/dist/ui/hint.d.ts +8 -0
  80. package/dist/ui/hint.js +2 -0
  81. package/dist/ui/inset-text.d.ts +8 -0
  82. package/dist/ui/inset-text.js +2 -0
  83. package/dist/ui/label.d.ts +18 -0
  84. package/dist/ui/label.js +2 -0
  85. package/dist/ui/link.d.ts +16 -0
  86. package/dist/ui/link.js +2 -0
  87. package/dist/ui/notification-banner.d.ts +29 -0
  88. package/dist/ui/notification-banner.js +2 -0
  89. package/dist/ui/pagination.d.ts +45 -0
  90. package/dist/ui/pagination.js +2 -0
  91. package/dist/ui/panel.d.ts +16 -0
  92. package/dist/ui/panel.js +2 -0
  93. package/dist/ui/password-input.d.ts +16 -0
  94. package/dist/ui/password-input.js +4 -0
  95. package/dist/ui/phase-banner.d.ts +20 -0
  96. package/dist/ui/phase-banner.js +2 -0
  97. package/dist/ui/radios.d.ts +25 -0
  98. package/dist/ui/radios.js +2 -0
  99. package/dist/ui/select.d.ts +36 -0
  100. package/dist/ui/select.js +2 -0
  101. package/dist/ui/service-navigation.d.ts +30 -0
  102. package/dist/ui/service-navigation.js +2 -0
  103. package/dist/ui/skip-link.d.ts +8 -0
  104. package/dist/ui/skip-link.js +2 -0
  105. package/dist/ui/summary-list.d.ts +49 -0
  106. package/dist/ui/summary-list.js +2 -0
  107. package/dist/ui/table.d.ts +40 -0
  108. package/dist/ui/table.js +2 -0
  109. package/dist/ui/tabs.d.ts +25 -0
  110. package/dist/ui/tabs.js +2 -0
  111. package/dist/ui/tag.d.ts +15 -0
  112. package/dist/ui/tag.js +2 -0
  113. package/dist/ui/task-list.d.ts +30 -0
  114. package/dist/ui/task-list.js +2 -0
  115. package/dist/ui/text-input.d.ts +18 -0
  116. package/dist/ui/text-input.js +2 -0
  117. package/dist/ui/textarea.d.ts +14 -0
  118. package/dist/ui/textarea.js +2 -0
  119. package/dist/ui/warning-text.d.ts +9 -0
  120. package/dist/ui/warning-text.js +2 -0
  121. package/package.json +263 -0
  122. package/registry/default/theme/govuk-tokens.css +434 -0
@@ -0,0 +1,29 @@
1
+ import * as react from 'react';
2
+
3
+ interface NotificationBannerProps extends React.HTMLAttributes<HTMLElement> {
4
+ ref?: React.Ref<HTMLElement>;
5
+ variant?: 'default' | 'success';
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;
28
+
29
+ export { NotificationBanner, NotificationBannerContent, type NotificationBannerContentProps, NotificationBannerHeader, type NotificationBannerHeaderProps, NotificationBannerHeading, type NotificationBannerHeadingProps, NotificationBannerLink, type NotificationBannerLinkProps, type NotificationBannerProps, NotificationBannerTitle, type NotificationBannerTitleProps };
@@ -0,0 +1,2 @@
1
+ export { NotificationBanner, NotificationBannerContent, NotificationBannerHeader, NotificationBannerHeading, NotificationBannerLink, NotificationBannerTitle } from '../chunk-GUZIKVAE.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,45 @@
1
+ import * as react from 'react';
2
+
3
+ interface PaginationProps extends React.ComponentPropsWithoutRef<'nav'> {
4
+ ref?: React.Ref<HTMLElement>;
5
+ block?: boolean;
6
+ }
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>;
18
+ current?: boolean;
19
+ }
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>;
28
+ decorated?: boolean;
29
+ }
30
+ interface PaginationLinkLabelProps extends React.ComponentPropsWithoutRef<'span'> {
31
+ ref?: React.Ref<HTMLSpanElement>;
32
+ }
33
+ declare const PrevArrow: () => react.JSX.Element;
34
+ 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;
44
+
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 };
@@ -0,0 +1,2 @@
1
+ export { NextArrow, Pagination, PaginationEllipsis, PaginationItem, PaginationLink, PaginationLinkLabel, PaginationLinkTitle, PaginationList, PaginationNext, PaginationPrevious, PrevArrow } from '../chunk-M6CLPMRP.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,16 @@
1
+ import * as react from 'react';
2
+
3
+ interface PanelProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ ref?: React.Ref<HTMLDivElement>;
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;
15
+
16
+ export { Panel, PanelBody, type PanelBodyProps, type PanelProps, PanelTitle, type PanelTitleProps };
@@ -0,0 +1,2 @@
1
+ export { Panel, PanelBody, PanelTitle } from '../chunk-VQOCX44T.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,16 @@
1
+ import * as react from 'react';
2
+
3
+ interface PasswordInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'width'> {
4
+ ref?: React.Ref<HTMLInputElement>;
5
+ error?: boolean;
6
+ disabled?: boolean;
7
+ showPasswordText?: string;
8
+ hidePasswordText?: string;
9
+ showPasswordAriaLabel?: string;
10
+ hidePasswordAriaLabel?: string;
11
+ passwordShownAnnouncement?: string;
12
+ passwordHiddenAnnouncement?: string;
13
+ }
14
+ declare const PasswordInput: ({ className, id, error, disabled, autoComplete, showPasswordText, hidePasswordText, showPasswordAriaLabel, hidePasswordAriaLabel, passwordShownAnnouncement, passwordHiddenAnnouncement, ref, ...props }: PasswordInputProps) => react.JSX.Element;
15
+
16
+ export { PasswordInput, type PasswordInputProps };
@@ -0,0 +1,4 @@
1
+ export { PasswordInput } from '../chunk-P4GCF5FQ.js';
2
+ import '../chunk-QTSEOPVX.js';
3
+ import '../chunk-5PIQJ22R.js';
4
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,20 @@
1
+ import * as react from 'react';
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;
19
+
20
+ export { PhaseBanner, PhaseBannerContent, type PhaseBannerContentProps, type PhaseBannerProps, PhaseBannerTag, type PhaseBannerTagProps, PhaseBannerText, type PhaseBannerTextProps };
@@ -0,0 +1,2 @@
1
+ export { PhaseBanner, PhaseBannerContent, PhaseBannerTag, PhaseBannerText } from '../chunk-XQOYWPKV.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,25 @@
1
+ import * as react from 'react';
2
+ import { RadioGroup } from '@base-ui/react/radio-group';
3
+ import { Radio } from '@base-ui/react/radio';
4
+
5
+ interface RadiosProps extends Omit<React.ComponentProps<typeof RadioGroup>, 'className' | 'children'> {
6
+ className?: string;
7
+ children: React.ReactNode;
8
+ inline?: boolean;
9
+ }
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> {
17
+ className?: string;
18
+ }
19
+ declare const RadiosHint: ({ className, ...props }: RadiosHintProps) => react.JSX.Element;
20
+ interface RadiosDividerProps extends React.HTMLAttributes<HTMLDivElement> {
21
+ className?: string;
22
+ }
23
+ declare const RadiosDivider: ({ className, children, ...props }: RadiosDividerProps) => react.JSX.Element;
24
+
25
+ export { Radios, RadiosDivider, type RadiosDividerProps, RadiosHint, type RadiosHintProps, RadiosItem, type RadiosItemProps, type RadiosProps };
@@ -0,0 +1,2 @@
1
+ export { Radios, RadiosDivider, RadiosHint, RadiosItem } from '../chunk-SK27BMU5.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,36 @@
1
+ import * as react from 'react';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+
4
+ declare const selectTriggerVariants: (props?: ({
5
+ error?: boolean | null | undefined;
6
+ } & 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;
35
+
36
+ export { Select, SelectItem, type SelectItemProps, type SelectProps, selectTriggerVariants };
@@ -0,0 +1,2 @@
1
+ export { Select, SelectItem, selectTriggerVariants } from '../chunk-WPPWPEFV.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,30 @@
1
+ import * as react from 'react';
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>;
14
+ menuButtonText?: string;
15
+ }
16
+ interface ServiceNavigationItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
17
+ ref?: React.Ref<HTMLLIElement>;
18
+ active?: boolean;
19
+ }
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;
29
+
30
+ export { ServiceNavigation, ServiceNavigationContainer, type ServiceNavigationContainerProps, ServiceNavigationItem, type ServiceNavigationItemProps, ServiceNavigationLink, type ServiceNavigationLinkProps, ServiceNavigationNav, type ServiceNavigationNavProps, type ServiceNavigationProps, ServiceNavigationServiceName, type ServiceNavigationServiceNameProps };
@@ -0,0 +1,2 @@
1
+ export { ServiceNavigation, ServiceNavigationContainer, ServiceNavigationItem, ServiceNavigationLink, ServiceNavigationNav, ServiceNavigationServiceName } from '../chunk-3YIKJK6M.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,8 @@
1
+ import * as react from 'react';
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;
7
+
8
+ export { SkipLink, type SkipLinkProps };
@@ -0,0 +1,2 @@
1
+ export { SkipLink } from '../chunk-2QKZ6DPC.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,49 @@
1
+ import * as react from 'react';
2
+
3
+ interface SummaryListProps extends React.HTMLAttributes<HTMLDListElement> {
4
+ ref?: React.Ref<HTMLDListElement>;
5
+ noBorder?: boolean;
6
+ }
7
+ interface SummaryListRowProps extends React.HTMLAttributes<HTMLDivElement> {
8
+ ref?: React.Ref<HTMLDivElement>;
9
+ noBorder?: boolean;
10
+ noActions?: boolean;
11
+ }
12
+ interface SummaryListKeyProps extends React.HTMLAttributes<HTMLElement> {
13
+ ref?: React.Ref<HTMLElement>;
14
+ }
15
+ interface SummaryListValueProps extends React.HTMLAttributes<HTMLElement> {
16
+ ref?: React.Ref<HTMLElement>;
17
+ }
18
+ interface SummaryListActionsProps extends React.HTMLAttributes<HTMLElement> {
19
+ ref?: React.Ref<HTMLElement>;
20
+ }
21
+ interface SummaryListCardProps extends React.HTMLAttributes<HTMLDivElement> {
22
+ ref?: React.Ref<HTMLDivElement>;
23
+ }
24
+ interface SummaryListCardTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
25
+ ref?: React.Ref<HTMLHeadingElement>;
26
+ }
27
+ interface SummaryListCardActionsProps extends React.HTMLAttributes<HTMLUListElement> {
28
+ ref?: React.Ref<HTMLUListElement>;
29
+ }
30
+ interface SummaryListCardActionProps extends React.HTMLAttributes<HTMLLIElement> {
31
+ ref?: React.Ref<HTMLLIElement>;
32
+ }
33
+ declare const SummaryList: ({ className, noBorder, ref, children, ...props }: SummaryListProps) => react.JSX.Element;
34
+ declare const SummaryListRow: ({ className, noBorder, noActions, ref, children, ...props }: SummaryListRowProps) => react.JSX.Element;
35
+ declare const SummaryListKey: ({ className, ref, children, ...props }: SummaryListKeyProps) => react.JSX.Element;
36
+ declare const SummaryListValue: ({ className, ref, children, ...props }: SummaryListValueProps) => react.JSX.Element;
37
+ declare const SummaryListActions: ({ className, ref, children, ...props }: SummaryListActionsProps) => react.JSX.Element;
38
+ declare const SummaryListCard: ({ className, ref, children, ...props }: SummaryListCardProps) => react.JSX.Element;
39
+ declare const SummaryListCardTitle: ({ className, ref, children, ...props }: SummaryListCardTitleProps) => react.JSX.Element;
40
+ declare const SummaryListCardHeader: ({ className, ref, children, ...props }: React.HTMLAttributes<HTMLDivElement> & {
41
+ ref?: React.Ref<HTMLDivElement>;
42
+ }) => react.JSX.Element;
43
+ declare const SummaryListCardActions: ({ className, ref, children, ...props }: SummaryListCardActionsProps) => react.JSX.Element;
44
+ declare const SummaryListCardAction: ({ className, ref, children, ...props }: SummaryListCardActionProps) => react.JSX.Element;
45
+ declare const SummaryListCardContent: ({ className, ref, children, ...props }: React.HTMLAttributes<HTMLDivElement> & {
46
+ ref?: React.Ref<HTMLDivElement>;
47
+ }) => react.JSX.Element;
48
+
49
+ export { SummaryList, SummaryListActions, type SummaryListActionsProps, SummaryListCard, SummaryListCardAction, type SummaryListCardActionProps, SummaryListCardActions, type SummaryListCardActionsProps, SummaryListCardContent, SummaryListCardHeader, type SummaryListCardProps, SummaryListCardTitle, type SummaryListCardTitleProps, SummaryListKey, type SummaryListKeyProps, type SummaryListProps, SummaryListRow, type SummaryListRowProps, SummaryListValue, type SummaryListValueProps };
@@ -0,0 +1,2 @@
1
+ export { SummaryList, SummaryListActions, SummaryListCard, SummaryListCardAction, SummaryListCardActions, SummaryListCardContent, SummaryListCardHeader, SummaryListCardTitle, SummaryListKey, SummaryListRow, SummaryListValue } from '../chunk-3INCIYDO.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,40 @@
1
+ import * as react from 'react';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const tableCaptionVariants: (props?: ({
6
+ size?: "m" | "xl" | "l" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ type TableCaptionSize = NonNullable<VariantProps<typeof tableCaptionVariants>['size']>;
9
+ interface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {
10
+ ref?: React.Ref<HTMLTableElement>;
11
+ }
12
+ interface TableCaptionProps extends React.HTMLAttributes<HTMLTableCaptionElement>, VariantProps<typeof tableCaptionVariants> {
13
+ ref?: React.Ref<HTMLTableCaptionElement>;
14
+ }
15
+ interface TableHeadProps extends React.HTMLAttributes<HTMLTableSectionElement> {
16
+ ref?: React.Ref<HTMLTableSectionElement>;
17
+ }
18
+ interface TableBodyProps extends React.HTMLAttributes<HTMLTableSectionElement> {
19
+ ref?: React.Ref<HTMLTableSectionElement>;
20
+ }
21
+ interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
22
+ ref?: React.Ref<HTMLTableRowElement>;
23
+ }
24
+ interface TableHeaderProps extends React.ThHTMLAttributes<HTMLTableCellElement> {
25
+ ref?: React.Ref<HTMLTableCellElement>;
26
+ numeric?: boolean;
27
+ }
28
+ interface TableCellProps extends React.TdHTMLAttributes<HTMLTableCellElement> {
29
+ ref?: React.Ref<HTMLTableCellElement>;
30
+ numeric?: boolean;
31
+ }
32
+ declare const Table: ({ className, ref, children, ...props }: TableProps) => react.JSX.Element;
33
+ declare const TableCaption: ({ className, ref, children, size, ...props }: TableCaptionProps) => react.JSX.Element;
34
+ declare const TableHead: ({ className, ref, children, ...props }: TableHeadProps) => react.JSX.Element;
35
+ declare const TableBody: ({ className, ref, children, ...props }: TableBodyProps) => react.JSX.Element;
36
+ declare const TableRow: ({ className, ref, children, ...props }: TableRowProps) => react.JSX.Element;
37
+ declare const TableHeader: ({ className, ref, children, numeric, ...props }: TableHeaderProps) => react.JSX.Element;
38
+ declare const TableCell: ({ className, ref, children, numeric, ...props }: TableCellProps) => react.JSX.Element;
39
+
40
+ export { Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, type TableCaptionSize, TableCell, type TableCellProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, tableCaptionVariants };
@@ -0,0 +1,2 @@
1
+ export { Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, tableCaptionVariants } from '../chunk-JFZN5XP6.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,25 @@
1
+ import * as react from 'react';
2
+ import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
3
+
4
+ interface TabsProps extends Omit<React.ComponentProps<typeof Tabs$1.Root>, 'className'> {
5
+ ref?: React.Ref<HTMLDivElement>;
6
+ className?: string;
7
+ }
8
+ interface TabsListProps extends Omit<React.ComponentProps<typeof Tabs$1.List>, 'className'> {
9
+ ref?: React.Ref<HTMLDivElement>;
10
+ className?: string;
11
+ }
12
+ interface TabsTabProps extends Omit<React.ComponentProps<typeof Tabs$1.Tab>, 'className'> {
13
+ ref?: React.Ref<HTMLButtonElement>;
14
+ className?: string;
15
+ }
16
+ interface TabsPanelProps extends Omit<React.ComponentProps<typeof Tabs$1.Panel>, 'className'> {
17
+ ref?: React.Ref<HTMLDivElement>;
18
+ className?: string;
19
+ }
20
+ declare const Tabs: ({ className, ref, children, ...props }: TabsProps) => react.JSX.Element;
21
+ declare const TabsList: ({ className, ref, children, ...props }: TabsListProps) => react.JSX.Element;
22
+ declare const TabsTab: ({ className, ref, children, ...props }: TabsTabProps) => react.JSX.Element;
23
+ declare const TabsPanel: ({ className, ref, children, ...props }: TabsPanelProps) => react.JSX.Element;
24
+
25
+ export { Tabs, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, type TabsProps, TabsTab, type TabsTabProps };
@@ -0,0 +1,2 @@
1
+ export { Tabs, TabsList, TabsPanel, TabsTab } from '../chunk-5H55YDJS.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,15 @@
1
+ import * as react from 'react';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const tagVariants: (props?: ({
6
+ colour?: "blue" | "green" | "teal" | "purple" | "magenta" | "red" | "orange" | "yellow" | "grey" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ type TagColour = NonNullable<VariantProps<typeof tagVariants>['colour']>;
9
+ interface TagProps extends Omit<React.HTMLAttributes<HTMLElement>, 'className' | 'color'>, VariantProps<typeof tagVariants> {
10
+ ref?: React.Ref<HTMLElement>;
11
+ className?: string;
12
+ }
13
+ declare const Tag: ({ className, colour, ref, ...props }: TagProps) => react.JSX.Element;
14
+
15
+ export { Tag, type TagColour, type TagProps, tagVariants };
package/dist/ui/tag.js ADDED
@@ -0,0 +1,2 @@
1
+ export { Tag, tagVariants } from '../chunk-TXGBUZB4.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,30 @@
1
+ import * as react from 'react';
2
+
3
+ interface TaskListProps extends React.HTMLAttributes<HTMLUListElement> {
4
+ ref?: React.Ref<HTMLUListElement>;
5
+ }
6
+ interface TaskListItemProps extends React.HTMLAttributes<HTMLLIElement> {
7
+ ref?: React.Ref<HTMLLIElement>;
8
+ hasLink?: boolean;
9
+ }
10
+ interface TaskListNameAndHintProps extends React.HTMLAttributes<HTMLDivElement> {
11
+ ref?: React.Ref<HTMLDivElement>;
12
+ }
13
+ interface TaskListLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
14
+ ref?: React.Ref<HTMLAnchorElement>;
15
+ }
16
+ interface TaskListHintProps extends React.HTMLAttributes<HTMLDivElement> {
17
+ ref?: React.Ref<HTMLDivElement>;
18
+ }
19
+ interface TaskListStatusProps extends React.HTMLAttributes<HTMLDivElement> {
20
+ ref?: React.Ref<HTMLDivElement>;
21
+ cannotStartYet?: boolean;
22
+ }
23
+ declare const TaskList: ({ className, ref, children, ...props }: TaskListProps) => react.JSX.Element;
24
+ declare const TaskListItem: ({ className, hasLink, ref, children, ...props }: TaskListItemProps) => react.JSX.Element;
25
+ declare const TaskListNameAndHint: ({ className, ref, children, ...props }: TaskListNameAndHintProps) => react.JSX.Element;
26
+ declare const TaskListLink: ({ className, ref, children, ...props }: TaskListLinkProps) => react.JSX.Element;
27
+ declare const TaskListHint: ({ className, ref, children, ...props }: TaskListHintProps) => react.JSX.Element;
28
+ declare const TaskListStatus: ({ className, cannotStartYet, ref, children, ...props }: TaskListStatusProps) => react.JSX.Element;
29
+
30
+ export { TaskList, TaskListHint, type TaskListHintProps, TaskListItem, type TaskListItemProps, TaskListLink, type TaskListLinkProps, TaskListNameAndHint, type TaskListNameAndHintProps, type TaskListProps, TaskListStatus, type TaskListStatusProps };
@@ -0,0 +1,2 @@
1
+ export { TaskList, TaskListHint, TaskListItem, TaskListLink, TaskListNameAndHint, TaskListStatus } from '../chunk-LRNZYPC2.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,18 @@
1
+ import * as react from 'react';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const textInputVariants: (props?: ({
6
+ width?: 2 | 3 | 4 | 5 | "full" | 30 | 20 | 10 | null | undefined;
7
+ error?: boolean | null | undefined;
8
+ extraLetterSpacing?: boolean | null | undefined;
9
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10
+ interface TextInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'width' | 'prefix'>, VariantProps<typeof textInputVariants> {
11
+ ref?: React.Ref<HTMLInputElement>;
12
+ disabled?: boolean;
13
+ prefix?: React.ReactNode;
14
+ suffix?: React.ReactNode;
15
+ }
16
+ declare const TextInput: ({ className, width, error, extraLetterSpacing, type, disabled, prefix, suffix, ref, ...props }: TextInputProps) => react.JSX.Element;
17
+
18
+ export { TextInput, type TextInputProps, textInputVariants };
@@ -0,0 +1,2 @@
1
+ export { TextInput, textInputVariants } from '../chunk-QTSEOPVX.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,14 @@
1
+ import * as react from 'react';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const textareaVariants: (props?: ({
6
+ error?: boolean | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'className'>, VariantProps<typeof textareaVariants> {
9
+ ref?: React.Ref<HTMLTextAreaElement>;
10
+ className?: string;
11
+ }
12
+ declare const Textarea: ({ className, error, rows, disabled, "aria-describedby": ariaDescribedBy, ref, ...props }: TextareaProps) => react.JSX.Element;
13
+
14
+ export { Textarea, type TextareaProps, textareaVariants };
@@ -0,0 +1,2 @@
1
+ export { Textarea, textareaVariants } from '../chunk-AO6HPG4R.js';
2
+ import '../chunk-WONVZ7WK.js';
@@ -0,0 +1,9 @@
1
+ import * as react from 'react';
2
+
3
+ interface WarningTextProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ ref?: React.Ref<HTMLDivElement>;
5
+ assistiveText?: string;
6
+ }
7
+ declare const WarningText: ({ className, ref, assistiveText, children, ...props }: WarningTextProps) => react.JSX.Element;
8
+
9
+ export { WarningText, type WarningTextProps };
@@ -0,0 +1,2 @@
1
+ export { WarningText } from '../chunk-OP35ZJ4X.js';
2
+ import '../chunk-WONVZ7WK.js';