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.
- package/README.md +13 -3
- package/dist/{chunk-KWAC6IEK.js → chunk-2KB4IAMZ.js} +9 -22
- package/dist/chunk-3NOO2YUQ.js +139 -0
- package/dist/{chunk-5TI2WXYU.js → chunk-3UX7QPLM.js} +10 -21
- package/dist/{chunk-OP35ZJ4X.js → chunk-4TBXH62Z.js} +6 -7
- package/dist/{chunk-M6CLPMRP.js → chunk-6WLHJ5MN.js} +34 -76
- package/dist/chunk-7IOR7UNU.js +77 -0
- package/dist/chunk-7Q2C5RB7.js +167 -0
- package/dist/{chunk-5PIQJ22R.js → chunk-ASBIQC77.js} +13 -18
- package/dist/{chunk-KD4LPFIZ.js → chunk-C2YQVLZ7.js} +15 -18
- package/dist/chunk-CBT6WCJ7.js +52 -0
- package/dist/{chunk-3YIKJK6M.js → chunk-CYBPAHLZ.js} +48 -52
- package/dist/{chunk-VB6V3PHD.js → chunk-D2T6BUOB.js} +6 -16
- package/dist/chunk-DZ3743JO.js +38 -0
- package/dist/{chunk-AO6HPG4R.js → chunk-EDOSCND4.js} +5 -20
- package/dist/chunk-FJHNUBEM.js +59 -0
- package/dist/chunk-FVBDMMNR.js +143 -0
- package/dist/chunk-GKHD33N6.js +52 -0
- package/dist/{chunk-3INCIYDO.js → chunk-GLDCEDTR.js} +22 -77
- package/dist/{chunk-G6T44BDV.js → chunk-HBLVAX45.js} +7 -11
- package/dist/chunk-JU7A7KQI.js +152 -0
- package/dist/chunk-KXQGZLMK.js +120 -0
- package/dist/{chunk-CEPBVMFU.js → chunk-MFI5R2TJ.js} +1 -3
- package/dist/{chunk-5XNKIBMP.js → chunk-MYMVHSRJ.js} +3 -4
- package/dist/chunk-N5PY3VZH.js +192 -0
- package/dist/{chunk-P4GCF5FQ.js → chunk-OQILIT3B.js} +26 -15
- package/dist/{chunk-6VXVJERU.js → chunk-QKR7NELW.js} +4 -8
- package/dist/chunk-QPN5J5IU.js +177 -0
- package/dist/chunk-RGXB6M3G.js +87 -0
- package/dist/chunk-TAVSU2XB.js +90 -0
- package/dist/chunk-TGNN5ZP3.js +81 -0
- package/dist/chunk-TICBCBDN.js +18 -0
- package/dist/{chunk-7ZCZQN5N.js → chunk-UK7RLSTJ.js} +15 -22
- package/dist/chunk-UXOJELVU.js +37 -0
- package/dist/{chunk-QTSEOPVX.js → chunk-VCJE5UO2.js} +23 -25
- package/dist/{chunk-N67H5OUQ.js → chunk-VHSAXVCF.js} +7 -5
- package/dist/chunk-VMI2XU5D.js +74 -0
- package/dist/{chunk-TXGBUZB4.js → chunk-VRGDQ3SF.js} +3 -10
- package/dist/chunk-W4CWUYTA.js +44 -0
- package/dist/chunk-YMQVN3MH.js +100 -0
- package/dist/chunk-ZAKQHDVD.js +40 -0
- package/dist/chunk-ZJB7BBTN.js +188 -0
- package/dist/index.d.ts +15 -13
- package/dist/index.js +41 -39
- package/dist/lib/utils.d.ts +2 -1
- package/dist/lib/utils.js +1 -1
- package/dist/ui/accordion.d.ts +8 -13
- package/dist/ui/accordion.js +2 -2
- package/dist/ui/back-link.d.ts +4 -4
- package/dist/ui/back-link.js +2 -2
- package/dist/ui/breadcrumbs.d.ts +10 -16
- package/dist/ui/breadcrumbs.js +2 -2
- package/dist/ui/button.d.ts +7 -8
- package/dist/ui/button.js +2 -2
- package/dist/ui/character-count.d.ts +11 -15
- package/dist/ui/character-count.js +3 -3
- package/dist/ui/checkboxes.d.ts +10 -17
- package/dist/ui/checkboxes.js +2 -2
- package/dist/ui/cookie-banner.d.ts +12 -21
- package/dist/ui/cookie-banner.js +2 -2
- package/dist/ui/date-input.d.ts +10 -16
- package/dist/ui/date-input.js +2 -2
- package/dist/ui/details.d.ts +8 -17
- package/dist/ui/details.js +2 -2
- package/dist/ui/error-message.d.ts +4 -4
- package/dist/ui/error-message.js +2 -2
- package/dist/ui/error-summary.d.ts +5 -4
- package/dist/ui/error-summary.js +2 -2
- package/dist/ui/exit-this-page.d.ts +4 -4
- package/dist/ui/exit-this-page.js +3 -3
- package/dist/ui/feedback.d.ts +13 -0
- package/dist/ui/feedback.js +2 -0
- package/dist/ui/fieldset.d.ts +9 -13
- package/dist/ui/fieldset.js +2 -2
- package/dist/ui/file-upload.d.ts +4 -5
- package/dist/ui/file-upload.js +2 -2
- package/dist/ui/footer.d.ts +39 -50
- package/dist/ui/footer.js +2 -2
- package/dist/ui/generic-header.d.ts +10 -15
- package/dist/ui/generic-header.js +2 -2
- package/dist/ui/header.d.ts +14 -32
- package/dist/ui/header.js +2 -2
- package/dist/ui/hint.d.ts +4 -5
- package/dist/ui/hint.js +2 -2
- package/dist/ui/inset-text.d.ts +4 -5
- package/dist/ui/inset-text.js +2 -2
- package/dist/ui/label.d.ts +7 -9
- package/dist/ui/label.js +2 -2
- package/dist/ui/language-navigation.d.ts +20 -0
- package/dist/ui/language-navigation.js +2 -0
- package/dist/ui/link.d.ts +5 -6
- package/dist/ui/link.js +2 -2
- package/dist/ui/notification-banner.d.ts +15 -24
- package/dist/ui/notification-banner.js +2 -2
- package/dist/ui/pagination.d.ts +20 -34
- package/dist/ui/pagination.js +2 -2
- package/dist/ui/panel.d.ts +11 -12
- package/dist/ui/panel.js +2 -2
- package/dist/ui/password-input.d.ts +7 -6
- package/dist/ui/password-input.js +4 -4
- package/dist/ui/phase-banner.d.ts +10 -17
- package/dist/ui/phase-banner.js +2 -2
- package/dist/ui/radios.d.ts +9 -13
- package/dist/ui/radios.js +2 -2
- package/dist/ui/select.d.ts +6 -30
- package/dist/ui/select.js +2 -2
- package/dist/ui/service-navigation.d.ts +15 -23
- package/dist/ui/service-navigation.js +2 -2
- package/dist/ui/skip-link.d.ts +4 -5
- package/dist/ui/skip-link.js +2 -2
- package/dist/ui/summary-list.d.ts +24 -41
- package/dist/ui/summary-list.js +2 -2
- package/dist/ui/table.d.ts +21 -26
- package/dist/ui/table.js +2 -2
- package/dist/ui/tabs.d.ts +7 -9
- package/dist/ui/tabs.js +2 -2
- package/dist/ui/tag.d.ts +4 -6
- package/dist/ui/tag.js +2 -2
- package/dist/ui/task-list.d.ts +14 -23
- package/dist/ui/task-list.js +2 -2
- package/dist/ui/text-input.d.ts +5 -6
- package/dist/ui/text-input.js +2 -2
- package/dist/ui/textarea.d.ts +4 -6
- package/dist/ui/textarea.js +2 -2
- package/dist/ui/warning-text.d.ts +4 -4
- package/dist/ui/warning-text.js +2 -2
- package/package.json +111 -263
- package/registry/default/theme/govuk-tokens.css +208 -41
- package/dist/chunk-2QKZ6DPC.js +0 -27
- package/dist/chunk-4MXR4WNS.js +0 -17
- package/dist/chunk-5AKGRLG2.js +0 -190
- package/dist/chunk-5H55YDJS.js +0 -69
- package/dist/chunk-72PH2FMG.js +0 -180
- package/dist/chunk-GUZIKVAE.js +0 -119
- package/dist/chunk-JESMK3XK.js +0 -105
- package/dist/chunk-JFZN5XP6.js +0 -88
- package/dist/chunk-LRNZYPC2.js +0 -107
- package/dist/chunk-NRXTKHI2.js +0 -169
- package/dist/chunk-PGZHPAT5.js +0 -183
- package/dist/chunk-RPV43YDC.js +0 -93
- package/dist/chunk-SK27BMU5.js +0 -140
- package/dist/chunk-UWQFFFTB.js +0 -136
- package/dist/chunk-VQOCX44T.js +0 -41
- package/dist/chunk-WONVZ7WK.js +0 -29
- package/dist/chunk-WPPWPEFV.js +0 -150
- package/dist/chunk-XQOYWPKV.js +0 -48
- package/dist/chunk-YAKI4SI7.js +0 -205
- package/dist/chunk-YCLGXX3R.js +0 -68
package/dist/ui/phase-banner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PhaseBanner, PhaseBannerContent, PhaseBannerTag, PhaseBannerText } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { PhaseBanner, PhaseBannerContent, PhaseBannerTag, PhaseBannerText } from '../chunk-ZAKQHDVD.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/radios.d.ts
CHANGED
|
@@ -2,24 +2,20 @@ 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'
|
|
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,
|
|
11
|
-
interface RadiosItemProps extends Omit<React.ComponentProps<typeof Radio.Root>, 'className'
|
|
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;
|
|
12
|
+
hint?: React.ReactNode;
|
|
18
13
|
}
|
|
14
|
+
declare const RadiosItem: ({ className, children, hint, "aria-describedby": ariaDescribedBy, ...props }: RadiosItemProps) => react.JSX.Element;
|
|
15
|
+
type RadiosHintProps = React.ComponentProps<'span'>;
|
|
19
16
|
declare const RadiosHint: ({ className, ...props }: RadiosHintProps) => react.JSX.Element;
|
|
20
|
-
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
17
|
+
type RadiosDividerProps = React.ComponentProps<'div'>;
|
|
23
18
|
declare const RadiosDivider: ({ className, children, ...props }: RadiosDividerProps) => react.JSX.Element;
|
|
24
19
|
|
|
25
|
-
export { Radios, RadiosDivider,
|
|
20
|
+
export { Radios, RadiosDivider, RadiosHint, RadiosItem };
|
|
21
|
+
export type { RadiosDividerProps, RadiosHintProps, RadiosItemProps, RadiosProps };
|
package/dist/ui/radios.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Radios, RadiosDivider, RadiosHint, RadiosItem } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Radios, RadiosDivider, RadiosHint, RadiosItem } from '../chunk-3NOO2YUQ.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/select.d.ts
CHANGED
|
@@ -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
|
|
5
|
+
declare const selectVariants: (props?: ({
|
|
5
6
|
error?: boolean | null | undefined;
|
|
6
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
7
|
-
|
|
8
|
-
|
|
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,
|
|
11
|
+
export { Select, selectVariants };
|
|
12
|
+
export type { SelectProps };
|
package/dist/ui/select.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Select,
|
|
2
|
-
import '../chunk-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
interface
|
|
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.
|
|
17
|
-
ref?: React.Ref<HTMLLIElement>;
|
|
10
|
+
interface ServiceNavigationItemProps extends React.ComponentProps<'li'> {
|
|
18
11
|
active?: boolean;
|
|
19
12
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
declare const
|
|
24
|
-
declare const
|
|
25
|
-
declare const
|
|
26
|
-
declare const
|
|
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,
|
|
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-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ServiceNavigation, ServiceNavigationContainer, ServiceNavigationItem, ServiceNavigationLink, ServiceNavigationNav, ServiceNavigationServiceName } from '../chunk-CYBPAHLZ.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/skip-link.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
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
|
|
6
|
+
export { SkipLink };
|
|
7
|
+
export type { SkipLinkProps };
|
package/dist/ui/skip-link.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SkipLink } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { SkipLink } from '../chunk-W4CWUYTA.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
|
@@ -1,49 +1,32 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
|
|
3
|
-
interface SummaryListProps extends React.
|
|
4
|
-
ref?: React.Ref<HTMLDListElement>;
|
|
3
|
+
interface SummaryListProps extends React.ComponentProps<'dl'> {
|
|
5
4
|
noBorder?: boolean;
|
|
6
5
|
}
|
|
7
|
-
interface SummaryListRowProps extends React.
|
|
8
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
6
|
+
interface SummaryListRowProps extends React.ComponentProps<'div'> {
|
|
9
7
|
noBorder?: boolean;
|
|
10
8
|
noActions?: boolean;
|
|
11
9
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
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;
|
|
10
|
+
type SummaryListKeyProps = React.ComponentProps<'dt'>;
|
|
11
|
+
type SummaryListValueProps = React.ComponentProps<'dd'>;
|
|
12
|
+
type SummaryListActionsProps = React.ComponentProps<'dd'>;
|
|
13
|
+
type SummaryListCardProps = React.ComponentProps<'div'>;
|
|
14
|
+
type SummaryListCardHeaderProps = React.ComponentProps<'div'>;
|
|
15
|
+
type SummaryListCardContentProps = React.ComponentProps<'div'>;
|
|
16
|
+
type SummaryListCardTitleProps = React.ComponentProps<'h2'>;
|
|
17
|
+
type SummaryListCardActionsProps = React.ComponentProps<'ul'>;
|
|
18
|
+
type SummaryListCardActionProps = React.ComponentProps<'li'>;
|
|
19
|
+
declare const SummaryList: ({ className, noBorder, ...props }: SummaryListProps) => react.JSX.Element;
|
|
20
|
+
declare const SummaryListRow: ({ className, noBorder, noActions, ...props }: SummaryListRowProps) => react.JSX.Element;
|
|
21
|
+
declare const SummaryListKey: ({ className, ...props }: SummaryListKeyProps) => react.JSX.Element;
|
|
22
|
+
declare const SummaryListValue: ({ className, ...props }: SummaryListValueProps) => react.JSX.Element;
|
|
23
|
+
declare const SummaryListActions: ({ className, ...props }: SummaryListActionsProps) => react.JSX.Element;
|
|
24
|
+
declare const SummaryListCard: ({ className, ...props }: SummaryListCardProps) => react.JSX.Element;
|
|
25
|
+
declare const SummaryListCardTitle: ({ className, children, ...props }: SummaryListCardTitleProps) => react.JSX.Element;
|
|
26
|
+
declare const SummaryListCardHeader: ({ className, ...props }: SummaryListCardHeaderProps) => react.JSX.Element;
|
|
27
|
+
declare const SummaryListCardActions: ({ className, ...props }: SummaryListCardActionsProps) => react.JSX.Element;
|
|
28
|
+
declare const SummaryListCardAction: ({ className, ...props }: SummaryListCardActionProps) => react.JSX.Element;
|
|
29
|
+
declare const SummaryListCardContent: ({ className, ...props }: SummaryListCardContentProps) => react.JSX.Element;
|
|
48
30
|
|
|
49
|
-
export { SummaryList, SummaryListActions,
|
|
31
|
+
export { SummaryList, SummaryListActions, SummaryListCard, SummaryListCardAction, SummaryListCardActions, SummaryListCardContent, SummaryListCardHeader, SummaryListCardTitle, SummaryListKey, SummaryListRow, SummaryListValue };
|
|
32
|
+
export type { SummaryListActionsProps, SummaryListCardActionProps, SummaryListCardActionsProps, SummaryListCardContentProps, SummaryListCardHeaderProps, SummaryListCardProps, SummaryListCardTitleProps, SummaryListKeyProps, SummaryListProps, SummaryListRowProps, SummaryListValueProps };
|
package/dist/ui/summary-list.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SummaryList, SummaryListActions, SummaryListCard, SummaryListCardAction, SummaryListCardActions, SummaryListCardContent, SummaryListCardHeader, SummaryListCardTitle, SummaryListKey, SummaryListRow, SummaryListValue } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { SummaryList, SummaryListActions, SummaryListCard, SummaryListCardAction, SummaryListCardActions, SummaryListCardContent, SummaryListCardHeader, SummaryListCardTitle, SummaryListKey, SummaryListRow, SummaryListValue } from '../chunk-GLDCEDTR.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/table.d.ts
CHANGED
|
@@ -3,38 +3,33 @@ 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 tableCaptionVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "xl" | "l" | "m" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
type TableCaptionSize = NonNullable<VariantProps<typeof tableCaptionVariants>['size']>;
|
|
9
|
-
interface TableProps extends React.
|
|
10
|
-
|
|
9
|
+
interface TableProps extends React.ComponentProps<'table'> {
|
|
10
|
+
smallTextUntilTablet?: boolean;
|
|
11
11
|
}
|
|
12
|
-
interface
|
|
13
|
-
|
|
12
|
+
interface TableContainerProps extends React.ComponentProps<'div'> {
|
|
13
|
+
label?: string;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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>;
|
|
15
|
+
type TableCaptionProps = React.ComponentProps<'caption'> & VariantProps<typeof tableCaptionVariants>;
|
|
16
|
+
type TableHeadProps = React.ComponentProps<'thead'>;
|
|
17
|
+
type TableBodyProps = React.ComponentProps<'tbody'>;
|
|
18
|
+
type TableRowProps = React.ComponentProps<'tr'>;
|
|
19
|
+
interface TableHeaderProps extends React.ComponentProps<'th'> {
|
|
26
20
|
numeric?: boolean;
|
|
27
21
|
}
|
|
28
|
-
interface TableCellProps extends React.
|
|
29
|
-
ref?: React.Ref<HTMLTableCellElement>;
|
|
22
|
+
interface TableCellProps extends React.ComponentProps<'td'> {
|
|
30
23
|
numeric?: boolean;
|
|
31
24
|
}
|
|
32
|
-
declare const Table: ({ className,
|
|
33
|
-
declare const
|
|
34
|
-
declare const
|
|
35
|
-
declare const
|
|
36
|
-
declare const
|
|
37
|
-
declare const
|
|
38
|
-
declare const
|
|
25
|
+
declare const Table: ({ className, smallTextUntilTablet, ...props }: TableProps) => react.JSX.Element;
|
|
26
|
+
declare const TableContainer: ({ className, label, ...props }: TableContainerProps) => react.JSX.Element;
|
|
27
|
+
declare const TableCaption: ({ className, size, ...props }: TableCaptionProps) => react.JSX.Element;
|
|
28
|
+
declare const TableHead: (props: TableHeadProps) => react.JSX.Element;
|
|
29
|
+
declare const TableBody: (props: TableBodyProps) => react.JSX.Element;
|
|
30
|
+
declare const TableRow: (props: TableRowProps) => react.JSX.Element;
|
|
31
|
+
declare const TableHeader: ({ className, numeric, ...props }: TableHeaderProps) => react.JSX.Element;
|
|
32
|
+
declare const TableCell: ({ className, numeric, ...props }: TableCellProps) => react.JSX.Element;
|
|
39
33
|
|
|
40
|
-
export { Table, TableBody,
|
|
34
|
+
export { Table, TableBody, TableCaption, TableCell, TableContainer, TableHead, TableHeader, TableRow, tableCaptionVariants };
|
|
35
|
+
export type { TableBodyProps, TableCaptionProps, TableCaptionSize, TableCellProps, TableContainerProps, TableHeadProps, TableHeaderProps, TableProps, TableRowProps };
|
package/dist/ui/table.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, tableCaptionVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Table, TableBody, TableCaption, TableCell, TableContainer, TableHead, TableHeader, TableRow, tableCaptionVariants } from '../chunk-7IOR7UNU.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/tabs.d.ts
CHANGED
|
@@ -2,24 +2,22 @@ import * as react from 'react';
|
|
|
2
2
|
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
3
3
|
|
|
4
4
|
interface TabsProps extends Omit<React.ComponentProps<typeof Tabs$1.Root>, 'className'> {
|
|
5
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
6
5
|
className?: string;
|
|
7
6
|
}
|
|
8
7
|
interface TabsListProps extends Omit<React.ComponentProps<typeof Tabs$1.List>, 'className'> {
|
|
9
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
10
8
|
className?: string;
|
|
9
|
+
contentsLabel?: string;
|
|
11
10
|
}
|
|
12
11
|
interface TabsTabProps extends Omit<React.ComponentProps<typeof Tabs$1.Tab>, 'className'> {
|
|
13
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
14
12
|
className?: string;
|
|
15
13
|
}
|
|
16
14
|
interface TabsPanelProps extends Omit<React.ComponentProps<typeof Tabs$1.Panel>, 'className'> {
|
|
17
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
18
15
|
className?: string;
|
|
19
16
|
}
|
|
20
|
-
declare const Tabs: ({ className,
|
|
21
|
-
declare const TabsList: ({ className,
|
|
22
|
-
declare const TabsTab: ({ className,
|
|
23
|
-
declare const TabsPanel: ({ className,
|
|
17
|
+
declare const Tabs: ({ className, defaultValue, value, onValueChange, orientation, render, style, ...props }: TabsProps) => react.JSX.Element;
|
|
18
|
+
declare const TabsList: ({ className, children, contentsLabel, activateOnFocus, loopFocus, render, style, ...props }: TabsListProps) => react.JSX.Element;
|
|
19
|
+
declare const TabsTab: ({ className, children, value, ...props }: TabsTabProps) => react.JSX.Element;
|
|
20
|
+
declare const TabsPanel: ({ className, value, keepMounted, render, style, ...props }: TabsPanelProps) => react.JSX.Element;
|
|
24
21
|
|
|
25
|
-
export { Tabs, TabsList,
|
|
22
|
+
export { Tabs, TabsList, TabsPanel, TabsTab };
|
|
23
|
+
export type { TabsListProps, TabsPanelProps, TabsProps, TabsTabProps };
|
package/dist/ui/tabs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Tabs, TabsList, TabsPanel, TabsTab } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Tabs, TabsList, TabsPanel, TabsTab } from '../chunk-N5PY3VZH.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/tag.d.ts
CHANGED
|
@@ -6,10 +6,8 @@ declare const tagVariants: (props?: ({
|
|
|
6
6
|
colour?: "blue" | "green" | "teal" | "purple" | "magenta" | "red" | "orange" | "yellow" | "grey" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
type TagColour = NonNullable<VariantProps<typeof tagVariants>['colour']>;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
declare const Tag: ({ className, colour, ref, ...props }: TagProps) => react.JSX.Element;
|
|
9
|
+
type TagProps = Omit<React.ComponentProps<'strong'>, 'color'> & VariantProps<typeof tagVariants>;
|
|
10
|
+
declare const Tag: ({ className, colour, ...props }: TagProps) => react.JSX.Element;
|
|
14
11
|
|
|
15
|
-
export { Tag,
|
|
12
|
+
export { Tag, tagVariants };
|
|
13
|
+
export type { TagColour, TagProps };
|
package/dist/ui/tag.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Tag, tagVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Tag, tagVariants } from '../chunk-VRGDQ3SF.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/task-list.d.ts
CHANGED
|
@@ -1,30 +1,21 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
interface TaskListItemProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
7
|
-
ref?: React.Ref<HTMLLIElement>;
|
|
3
|
+
type TaskListProps = React.ComponentProps<'ul'>;
|
|
4
|
+
interface TaskListItemProps extends React.ComponentProps<'li'> {
|
|
8
5
|
hasLink?: boolean;
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
interface
|
|
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>;
|
|
7
|
+
type TaskListNameAndHintProps = React.ComponentProps<'div'>;
|
|
8
|
+
type TaskListLinkProps = React.ComponentProps<'a'>;
|
|
9
|
+
type TaskListHintProps = React.ComponentProps<'div'>;
|
|
10
|
+
interface TaskListStatusProps extends React.ComponentProps<'div'> {
|
|
21
11
|
cannotStartYet?: boolean;
|
|
22
12
|
}
|
|
23
|
-
declare const TaskList: ({ className,
|
|
24
|
-
declare const TaskListItem: ({ className, hasLink,
|
|
25
|
-
declare const TaskListNameAndHint: ({ className,
|
|
26
|
-
declare const TaskListLink: ({ className,
|
|
27
|
-
declare const TaskListHint: ({ className,
|
|
28
|
-
declare const TaskListStatus: ({ className, cannotStartYet,
|
|
13
|
+
declare const TaskList: ({ className, ...props }: TaskListProps) => react.JSX.Element;
|
|
14
|
+
declare const TaskListItem: ({ className, hasLink, ...props }: TaskListItemProps) => react.JSX.Element;
|
|
15
|
+
declare const TaskListNameAndHint: ({ className, ...props }: TaskListNameAndHintProps) => react.JSX.Element;
|
|
16
|
+
declare const TaskListLink: ({ className, children, ...props }: TaskListLinkProps) => react.JSX.Element;
|
|
17
|
+
declare const TaskListHint: ({ className, ...props }: TaskListHintProps) => react.JSX.Element;
|
|
18
|
+
declare const TaskListStatus: ({ className, cannotStartYet, ...props }: TaskListStatusProps) => react.JSX.Element;
|
|
29
19
|
|
|
30
|
-
export { TaskList, TaskListHint,
|
|
20
|
+
export { TaskList, TaskListHint, TaskListItem, TaskListLink, TaskListNameAndHint, TaskListStatus };
|
|
21
|
+
export type { TaskListHintProps, TaskListItemProps, TaskListLinkProps, TaskListNameAndHintProps, TaskListProps, TaskListStatusProps };
|
package/dist/ui/task-list.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { TaskList, TaskListHint, TaskListItem, TaskListLink, TaskListNameAndHint, TaskListStatus } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { TaskList, TaskListHint, TaskListItem, TaskListLink, TaskListNameAndHint, TaskListStatus } from '../chunk-YMQVN3MH.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/text-input.d.ts
CHANGED
|
@@ -3,16 +3,15 @@ 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 textInputVariants: (props?: ({
|
|
6
|
-
width?:
|
|
6
|
+
width?: "full" | 2 | 3 | 30 | 20 | 10 | 5 | 4 | null | undefined;
|
|
7
7
|
error?: boolean | null | undefined;
|
|
8
8
|
extraLetterSpacing?: boolean | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
interface TextInputProps extends Omit<React.
|
|
11
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
12
|
-
disabled?: boolean;
|
|
10
|
+
interface TextInputProps extends Omit<React.ComponentProps<'input'>, 'width' | 'prefix'>, VariantProps<typeof textInputVariants> {
|
|
13
11
|
prefix?: React.ReactNode;
|
|
14
12
|
suffix?: React.ReactNode;
|
|
15
13
|
}
|
|
16
|
-
declare const TextInput: ({ className, width, error, extraLetterSpacing,
|
|
14
|
+
declare const TextInput: ({ className, width, error, extraLetterSpacing, prefix, suffix, ...props }: TextInputProps) => react.JSX.Element;
|
|
17
15
|
|
|
18
|
-
export { TextInput,
|
|
16
|
+
export { TextInput, textInputVariants };
|
|
17
|
+
export type { TextInputProps };
|
package/dist/ui/text-input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { TextInput, textInputVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { TextInput, textInputVariants } from '../chunk-VCJE5UO2.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/textarea.d.ts
CHANGED
|
@@ -5,10 +5,8 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
declare const textareaVariants: (props?: ({
|
|
6
6
|
error?: boolean | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const Textarea: ({ className, error, rows, disabled, "aria-describedby": ariaDescribedBy, ref, ...props }: TextareaProps) => react.JSX.Element;
|
|
8
|
+
type TextareaProps = React.ComponentProps<'textarea'> & VariantProps<typeof textareaVariants>;
|
|
9
|
+
declare const Textarea: ({ className, error, rows, ...props }: TextareaProps) => react.JSX.Element;
|
|
13
10
|
|
|
14
|
-
export { Textarea,
|
|
11
|
+
export { Textarea, textareaVariants };
|
|
12
|
+
export type { TextareaProps };
|
package/dist/ui/textarea.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Textarea, textareaVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Textarea, textareaVariants } from '../chunk-EDOSCND4.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
|
|
3
|
-
interface WarningTextProps extends React.
|
|
4
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
3
|
+
interface WarningTextProps extends React.ComponentProps<'div'> {
|
|
5
4
|
assistiveText?: string;
|
|
6
5
|
}
|
|
7
|
-
declare const WarningText: ({ className,
|
|
6
|
+
declare const WarningText: ({ className, assistiveText, children, ...props }: WarningTextProps) => react.JSX.Element;
|
|
8
7
|
|
|
9
|
-
export { WarningText
|
|
8
|
+
export { WarningText };
|
|
9
|
+
export type { WarningTextProps };
|
package/dist/ui/warning-text.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { WarningText } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { WarningText } from '../chunk-4TBXH62Z.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|