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/index.js
CHANGED
|
@@ -1,39 +1,41 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
1
|
+
export { WarningText } from './chunk-4TBXH62Z.js';
|
|
2
|
+
export { ServiceNavigation, ServiceNavigationContainer, ServiceNavigationItem, ServiceNavigationLink, ServiceNavigationNav, ServiceNavigationServiceName } from './chunk-CYBPAHLZ.js';
|
|
3
|
+
export { SkipLink } from './chunk-W4CWUYTA.js';
|
|
4
|
+
export { SummaryList, SummaryListActions, SummaryListCard, SummaryListCardAction, SummaryListCardActions, SummaryListCardContent, SummaryListCardHeader, SummaryListCardTitle, SummaryListKey, SummaryListRow, SummaryListValue } from './chunk-GLDCEDTR.js';
|
|
5
|
+
export { Table, TableBody, TableCaption, TableCell, TableContainer, TableHead, TableHeader, TableRow, tableCaptionVariants } from './chunk-7IOR7UNU.js';
|
|
6
|
+
export { Tabs, TabsList, TabsPanel, TabsTab } from './chunk-N5PY3VZH.js';
|
|
7
|
+
export { Tag, tagVariants } from './chunk-VRGDQ3SF.js';
|
|
8
|
+
export { TaskList, TaskListHint, TaskListItem, TaskListLink, TaskListNameAndHint, TaskListStatus } from './chunk-YMQVN3MH.js';
|
|
9
|
+
export { Link, linkVariants } from './chunk-HBLVAX45.js';
|
|
10
|
+
export { NotificationBanner, NotificationBannerContent, NotificationBannerHeader, NotificationBannerHeading, NotificationBannerLink, NotificationBannerTitle } from './chunk-KXQGZLMK.js';
|
|
11
|
+
export { NextArrow, Pagination, PaginationEllipsis, PaginationItem, PaginationLink, PaginationLinkLabel, PaginationLinkTitle, PaginationList, PaginationNext, PaginationPrevious, PrevArrow } from './chunk-6WLHJ5MN.js';
|
|
12
|
+
export { Panel, PanelActions, PanelBody, PanelTitle } from './chunk-CBT6WCJ7.js';
|
|
13
|
+
export { PasswordInput } from './chunk-OQILIT3B.js';
|
|
14
|
+
export { TextInput, textInputVariants } from './chunk-VCJE5UO2.js';
|
|
15
|
+
export { PhaseBanner, PhaseBannerContent, PhaseBannerTag, PhaseBannerText } from './chunk-ZAKQHDVD.js';
|
|
16
|
+
export { Radios, RadiosDivider, RadiosHint, RadiosItem } from './chunk-3NOO2YUQ.js';
|
|
17
|
+
export { Select, selectVariants } from './chunk-UXOJELVU.js';
|
|
18
|
+
export { FileUpload, fileUploadButtonVariants } from './chunk-7Q2C5RB7.js';
|
|
19
|
+
export { Footer, FooterContainer, FooterContentLicence, FooterCrown, FooterHeading, FooterInlineList, FooterInlineListItem, FooterLicenceLogo, FooterLink, FooterList, FooterListItem, FooterMeta, FooterMetaItem, FooterNavigation, FooterSection, FooterSectionBreak } from './chunk-ZJB7BBTN.js';
|
|
20
|
+
export { GenericHeader, GenericHeaderContainer, GenericHeaderLink, GenericHeaderLogo } from './chunk-UK7RLSTJ.js';
|
|
21
|
+
export { Header, HeaderContainer, HeaderLink, HeaderLogo, HeaderLogotype, HeaderProductName } from './chunk-RGXB6M3G.js';
|
|
22
|
+
export { Hint } from './chunk-TICBCBDN.js';
|
|
23
|
+
export { InsetText } from './chunk-MYMVHSRJ.js';
|
|
24
|
+
export { Label, LabelWrapper, labelVariants } from './chunk-QKR7NELW.js';
|
|
25
|
+
export { LanguageNavigation, LanguageNavigationCurrent, LanguageNavigationItem, LanguageNavigationLink } from './chunk-VMI2XU5D.js';
|
|
26
|
+
export { CookieBanner, CookieBannerActions, CookieBannerContent, CookieBannerHeading, CookieBannerMessage } from './chunk-FJHNUBEM.js';
|
|
27
|
+
export { DateInput, DateInputInput, DateInputItem, DateInputLabel } from './chunk-3UX7QPLM.js';
|
|
28
|
+
export { Details, DetailsSummary, DetailsText } from './chunk-C2YQVLZ7.js';
|
|
29
|
+
export { ErrorMessage } from './chunk-MFI5R2TJ.js';
|
|
30
|
+
export { ErrorSummary } from './chunk-TGNN5ZP3.js';
|
|
31
|
+
export { ExitThisPage } from './chunk-QPN5J5IU.js';
|
|
32
|
+
export { Feedback, FeedbackBody, FeedbackTitle } from './chunk-DZ3743JO.js';
|
|
33
|
+
export { Fieldset, FieldsetHeading, FieldsetLegend, fieldsetLegendVariants } from './chunk-D2T6BUOB.js';
|
|
34
|
+
export { Accordion, AccordionContent, AccordionHeading, AccordionSection } from './chunk-FVBDMMNR.js';
|
|
35
|
+
export { BackLink } from './chunk-VHSAXVCF.js';
|
|
36
|
+
export { Breadcrumbs, BreadcrumbsLink, BreadcrumbsList, BreadcrumbsListItem } from './chunk-2KB4IAMZ.js';
|
|
37
|
+
export { Button, buttonVariants } from './chunk-ASBIQC77.js';
|
|
38
|
+
export { CharacterCount, CharacterCountMessage } from './chunk-TAVSU2XB.js';
|
|
39
|
+
export { Textarea, textareaVariants } from './chunk-EDOSCND4.js';
|
|
40
|
+
export { Checkboxes, CheckboxesConditional, CheckboxesDivider, CheckboxesHint, CheckboxesItem } from './chunk-JU7A7KQI.js';
|
|
41
|
+
export { cn, mergeRefs } from './chunk-GKHD33N6.js';
|
package/dist/lib/utils.d.ts
CHANGED
package/dist/lib/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { cn } from '../chunk-
|
|
1
|
+
export { cn, mergeRefs } from '../chunk-GKHD33N6.js';
|
package/dist/ui/accordion.d.ts
CHANGED
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
|
|
3
3
|
|
|
4
|
-
interface AccordionProps extends Omit<React.ComponentProps<typeof Accordion$1.Root>, 'className'> {
|
|
5
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
4
|
+
interface AccordionProps extends Omit<React.ComponentProps<typeof Accordion$1.Root>, 'className' | 'value' | 'onValueChange' | 'multiple' | 'loopFocus' | 'orientation'> {
|
|
6
5
|
className?: string;
|
|
7
6
|
showAllSections?: string[];
|
|
8
7
|
}
|
|
9
|
-
|
|
10
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
8
|
+
type AccordionSectionProps = React.ComponentProps<typeof Accordion$1.Item>;
|
|
13
9
|
interface AccordionHeadingProps extends Omit<React.ComponentProps<typeof Accordion$1.Trigger>, 'className'> {
|
|
14
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
15
10
|
className?: string;
|
|
16
11
|
summary?: React.ReactNode;
|
|
17
12
|
}
|
|
18
13
|
interface AccordionContentProps extends Omit<React.ComponentProps<typeof Accordion$1.Panel>, 'className'> {
|
|
19
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
20
14
|
className?: string;
|
|
21
15
|
}
|
|
22
|
-
declare const Accordion: ({ className,
|
|
23
|
-
declare const AccordionSection: (
|
|
24
|
-
declare const AccordionHeading: ({ className,
|
|
25
|
-
declare const AccordionContent: ({ className,
|
|
16
|
+
declare const Accordion: ({ className, children, showAllSections, defaultValue, ...props }: AccordionProps) => react.JSX.Element;
|
|
17
|
+
declare const AccordionSection: (props: AccordionSectionProps) => react.JSX.Element;
|
|
18
|
+
declare const AccordionHeading: ({ className, children, summary, ...props }: AccordionHeadingProps) => react.JSX.Element;
|
|
19
|
+
declare const AccordionContent: ({ className, ...props }: AccordionContentProps) => react.JSX.Element;
|
|
26
20
|
|
|
27
|
-
export { Accordion, AccordionContent,
|
|
21
|
+
export { Accordion, AccordionContent, AccordionHeading, AccordionSection };
|
|
22
|
+
export type { AccordionContentProps, AccordionHeadingProps, AccordionProps, AccordionSectionProps };
|
package/dist/ui/accordion.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Accordion, AccordionContent, AccordionHeading, AccordionSection } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Accordion, AccordionContent, AccordionHeading, AccordionSection } from '../chunk-FVBDMMNR.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/back-link.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
|
|
3
|
-
interface BackLinkProps extends React.
|
|
4
|
-
ref?: React.Ref<HTMLAnchorElement>;
|
|
3
|
+
interface BackLinkProps extends React.ComponentProps<'a'> {
|
|
5
4
|
inverse?: boolean;
|
|
6
5
|
}
|
|
7
|
-
declare const BackLink: ({ className, inverse,
|
|
6
|
+
declare const BackLink: ({ className, inverse, children, ...props }: BackLinkProps) => react.JSX.Element;
|
|
8
7
|
|
|
9
|
-
export { BackLink
|
|
8
|
+
export { BackLink };
|
|
9
|
+
export type { BackLinkProps };
|
package/dist/ui/back-link.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { BackLink } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { BackLink } from '../chunk-VHSAXVCF.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/breadcrumbs.d.ts
CHANGED
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
|
|
3
|
-
interface BreadcrumbsProps extends React.
|
|
4
|
-
ref?: React.Ref<HTMLElement>;
|
|
3
|
+
interface BreadcrumbsProps extends React.ComponentProps<'nav'> {
|
|
5
4
|
collapseOnMobile?: boolean;
|
|
6
5
|
inverse?: boolean;
|
|
7
6
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
ref?: React.Ref<HTMLAnchorElement>;
|
|
16
|
-
}
|
|
17
|
-
declare const Breadcrumbs: ({ className, collapseOnMobile, inverse, ref, children, ...props }: BreadcrumbsProps) => react.JSX.Element;
|
|
18
|
-
declare const BreadcrumbsList: ({ className, ref, children, ...props }: BreadcrumbsListProps) => react.JSX.Element;
|
|
19
|
-
declare const BreadcrumbsListItem: ({ className, ref, children, ...props }: BreadcrumbsListItemProps) => react.JSX.Element;
|
|
20
|
-
declare const BreadcrumbsLink: ({ className, ref, children, ...props }: BreadcrumbsLinkProps) => react.JSX.Element;
|
|
7
|
+
type BreadcrumbsListProps = React.ComponentProps<'ol'>;
|
|
8
|
+
type BreadcrumbsListItemProps = React.ComponentProps<'li'>;
|
|
9
|
+
type BreadcrumbsLinkProps = React.ComponentProps<'a'>;
|
|
10
|
+
declare const Breadcrumbs: ({ className, collapseOnMobile, inverse, ...props }: BreadcrumbsProps) => react.JSX.Element;
|
|
11
|
+
declare const BreadcrumbsList: ({ className, ...props }: BreadcrumbsListProps) => react.JSX.Element;
|
|
12
|
+
declare const BreadcrumbsListItem: ({ className, children, ...props }: BreadcrumbsListItemProps) => react.JSX.Element;
|
|
13
|
+
declare const BreadcrumbsLink: ({ className, children, ...props }: BreadcrumbsLinkProps) => react.JSX.Element;
|
|
21
14
|
|
|
22
|
-
export { Breadcrumbs, BreadcrumbsLink,
|
|
15
|
+
export { Breadcrumbs, BreadcrumbsLink, BreadcrumbsList, BreadcrumbsListItem };
|
|
16
|
+
export type { BreadcrumbsLinkProps, BreadcrumbsListItemProps, BreadcrumbsListProps, BreadcrumbsProps };
|
package/dist/ui/breadcrumbs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Breadcrumbs, BreadcrumbsLink, BreadcrumbsList, BreadcrumbsListItem } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Breadcrumbs, BreadcrumbsLink, BreadcrumbsList, BreadcrumbsListItem } from '../chunk-2KB4IAMZ.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/button.d.ts
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { Button as Button$1 } from '@base-ui/react/button';
|
|
3
4
|
import { VariantProps } from 'class-variance-authority';
|
|
4
5
|
|
|
5
6
|
declare const buttonVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
7
|
+
variant?: "inverse" | "start" | "default" | "secondary" | "warning" | null | undefined;
|
|
7
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
9
|
type ButtonVariant = NonNullable<VariantProps<typeof buttonVariants>['variant']>;
|
|
9
|
-
interface ButtonProps extends React.
|
|
10
|
-
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
focusableWhenDisabled?: boolean;
|
|
13
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
10
|
+
interface ButtonProps extends Omit<React.ComponentProps<typeof Button$1>, 'className'>, VariantProps<typeof buttonVariants> {
|
|
11
|
+
className?: string;
|
|
14
12
|
}
|
|
15
|
-
declare const Button: ({ className, variant,
|
|
13
|
+
declare const Button: ({ className, variant, children, ...props }: ButtonProps) => react.JSX.Element;
|
|
16
14
|
|
|
17
|
-
export { Button,
|
|
15
|
+
export { Button, buttonVariants };
|
|
16
|
+
export type { ButtonProps, ButtonVariant };
|
package/dist/ui/button.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Button, buttonVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Button, buttonVariants } from '../chunk-ASBIQC77.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
+
import { TextareaProps } from './textarea.js';
|
|
3
|
+
import 'class-variance-authority/types';
|
|
4
|
+
import 'class-variance-authority';
|
|
2
5
|
|
|
3
6
|
type CountMode = 'characters' | 'words';
|
|
4
|
-
interface CharacterCountProps {
|
|
7
|
+
interface CharacterCountProps extends Omit<TextareaProps, 'value' | 'defaultValue'> {
|
|
5
8
|
id: string;
|
|
6
9
|
maxCount: number;
|
|
7
10
|
mode?: CountMode;
|
|
8
11
|
threshold?: number;
|
|
9
|
-
rows?: number;
|
|
10
|
-
defaultValue?: string;
|
|
11
12
|
value?: string;
|
|
12
|
-
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
className?: string;
|
|
13
|
+
defaultValue?: string;
|
|
15
14
|
textareaClassName?: string;
|
|
16
|
-
|
|
17
|
-
name?: string;
|
|
18
|
-
ref?: React.Ref<HTMLTextAreaElement>;
|
|
15
|
+
descriptionText?: string;
|
|
19
16
|
formatMessage?: (remaining: number, mode: CountMode) => string;
|
|
20
17
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
declare const CharacterCount: ({ id, maxCount, mode, threshold, rows, defaultValue, value, error, disabled, className, textareaClassName, onChange, name, ref, formatMessage, }: CharacterCountProps) => react.JSX.Element;
|
|
25
|
-
declare const CharacterCountMessage: ({ className, children, ref, ...props }: CharacterCountMessageProps) => react.JSX.Element;
|
|
18
|
+
type CharacterCountMessageProps = React.ComponentProps<'div'>;
|
|
19
|
+
declare const CharacterCount: ({ id, maxCount, mode, threshold, defaultValue, value, error, className, textareaClassName, descriptionText, onChange, formatMessage, "aria-describedby": ariaDescribedBy, ...props }: CharacterCountProps) => react.JSX.Element;
|
|
20
|
+
declare const CharacterCountMessage: ({ className, ...props }: CharacterCountMessageProps) => react.JSX.Element;
|
|
26
21
|
|
|
27
|
-
export { CharacterCount, CharacterCountMessage
|
|
22
|
+
export { CharacterCount, CharacterCountMessage };
|
|
23
|
+
export type { CharacterCountMessageProps, CharacterCountProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { CharacterCount, CharacterCountMessage } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { CharacterCount, CharacterCountMessage } from '../chunk-TAVSU2XB.js';
|
|
2
|
+
import '../chunk-EDOSCND4.js';
|
|
3
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/checkboxes.d.ts
CHANGED
|
@@ -2,29 +2,22 @@ import * as react from 'react';
|
|
|
2
2
|
import { Checkbox } from '@base-ui/react/checkbox';
|
|
3
3
|
import { CheckboxGroup } from '@base-ui/react/checkbox-group';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
type CheckboxesProps = React.ComponentProps<typeof CheckboxGroup>;
|
|
6
|
+
declare const Checkboxes: (props: CheckboxesProps) => react.JSX.Element;
|
|
7
|
+
interface CheckboxesItemProps extends Omit<React.ComponentProps<typeof Checkbox.Root>, 'className'> {
|
|
6
8
|
className?: string;
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
declare const Checkboxes: ({ className, children, ...props }: CheckboxesProps) => react.JSX.Element;
|
|
10
|
-
interface CheckboxesItemProps extends Omit<React.ComponentProps<typeof Checkbox.Root>, 'className' | 'children'> {
|
|
11
|
-
className?: string;
|
|
12
|
-
children: React.ReactNode;
|
|
9
|
+
hint?: React.ReactNode;
|
|
13
10
|
small?: boolean;
|
|
14
11
|
}
|
|
15
|
-
declare const CheckboxesItem: ({ className, children,
|
|
16
|
-
|
|
17
|
-
className?: string;
|
|
18
|
-
}
|
|
12
|
+
declare const CheckboxesItem: ({ className, children, hint, "aria-describedby": ariaDescribedBy, small, ...props }: CheckboxesItemProps) => react.JSX.Element;
|
|
13
|
+
type CheckboxesHintProps = React.ComponentProps<'span'>;
|
|
19
14
|
declare const CheckboxesHint: ({ className, ...props }: CheckboxesHintProps) => react.JSX.Element;
|
|
20
|
-
interface CheckboxesDividerProps extends React.
|
|
21
|
-
className?: string;
|
|
15
|
+
interface CheckboxesDividerProps extends React.ComponentProps<'div'> {
|
|
22
16
|
small?: boolean;
|
|
23
17
|
}
|
|
24
18
|
declare const CheckboxesDivider: ({ className, children, small, ...props }: CheckboxesDividerProps) => react.JSX.Element;
|
|
25
|
-
|
|
26
|
-
className?: string;
|
|
27
|
-
}
|
|
19
|
+
type CheckboxesConditionalProps = React.ComponentProps<'div'>;
|
|
28
20
|
declare const CheckboxesConditional: ({ className, ...props }: CheckboxesConditionalProps) => react.JSX.Element;
|
|
29
21
|
|
|
30
|
-
export { Checkboxes, CheckboxesConditional,
|
|
22
|
+
export { Checkboxes, CheckboxesConditional, CheckboxesDivider, CheckboxesHint, CheckboxesItem };
|
|
23
|
+
export type { CheckboxesConditionalProps, CheckboxesDividerProps, CheckboxesHintProps, CheckboxesItemProps, CheckboxesProps };
|
package/dist/ui/checkboxes.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Checkboxes, CheckboxesConditional, CheckboxesDivider, CheckboxesHint, CheckboxesItem } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Checkboxes, CheckboxesConditional, CheckboxesDivider, CheckboxesHint, CheckboxesItem } from '../chunk-JU7A7KQI.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
ref?: React.Ref<HTMLHeadingElement>;
|
|
14
|
-
}
|
|
15
|
-
interface CookieBannerActionsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
16
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
17
|
-
}
|
|
18
|
-
declare const CookieBanner: ({ className, ref, children, role, ...props }: CookieBannerProps) => react.JSX.Element;
|
|
19
|
-
declare const CookieBannerMessage: ({ className, ref, children, ...props }: CookieBannerMessageProps) => react.JSX.Element;
|
|
20
|
-
declare const CookieBannerContent: ({ className, ref, children, ...props }: CookieBannerContentProps) => react.JSX.Element;
|
|
21
|
-
declare const CookieBannerHeading: ({ className, ref, children, ...props }: CookieBannerHeadingProps) => react.JSX.Element;
|
|
22
|
-
declare const CookieBannerActions: ({ className, ref, children, ...props }: CookieBannerActionsProps) => react.JSX.Element;
|
|
3
|
+
type CookieBannerProps = React.ComponentProps<'section'>;
|
|
4
|
+
type CookieBannerMessageProps = React.ComponentProps<'div'>;
|
|
5
|
+
type CookieBannerContentProps = React.ComponentProps<'div'>;
|
|
6
|
+
type CookieBannerHeadingProps = React.ComponentProps<'h2'>;
|
|
7
|
+
type CookieBannerActionsProps = React.ComponentProps<'div'>;
|
|
8
|
+
declare const CookieBanner: ({ className, ...props }: CookieBannerProps) => react.JSX.Element;
|
|
9
|
+
declare const CookieBannerMessage: ({ className, ...props }: CookieBannerMessageProps) => react.JSX.Element;
|
|
10
|
+
declare const CookieBannerContent: ({ className, ...props }: CookieBannerContentProps) => react.JSX.Element;
|
|
11
|
+
declare const CookieBannerHeading: ({ className, children, ...props }: CookieBannerHeadingProps) => react.JSX.Element;
|
|
12
|
+
declare const CookieBannerActions: ({ className, ...props }: CookieBannerActionsProps) => react.JSX.Element;
|
|
23
13
|
|
|
24
|
-
export { CookieBanner, CookieBannerActions,
|
|
14
|
+
export { CookieBanner, CookieBannerActions, CookieBannerContent, CookieBannerHeading, CookieBannerMessage };
|
|
15
|
+
export type { CookieBannerActionsProps, CookieBannerContentProps, CookieBannerHeadingProps, CookieBannerMessageProps, CookieBannerProps };
|
package/dist/ui/cookie-banner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CookieBanner, CookieBannerActions, CookieBannerContent, CookieBannerHeading, CookieBannerMessage } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { CookieBanner, CookieBannerActions, CookieBannerContent, CookieBannerHeading, CookieBannerMessage } from '../chunk-FJHNUBEM.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/date-input.d.ts
CHANGED
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
interface
|
|
7
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
8
|
-
}
|
|
9
|
-
interface DateInputLabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
10
|
-
ref?: React.Ref<HTMLLabelElement>;
|
|
11
|
-
}
|
|
12
|
-
interface DateInputInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
13
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
3
|
+
type DateInputProps = React.ComponentProps<'div'>;
|
|
4
|
+
type DateInputItemProps = React.ComponentProps<'div'>;
|
|
5
|
+
type DateInputLabelProps = React.ComponentProps<'label'>;
|
|
6
|
+
interface DateInputInputProps extends React.ComponentProps<'input'> {
|
|
14
7
|
error?: boolean;
|
|
15
8
|
}
|
|
16
|
-
declare const DateInput: ({ className,
|
|
17
|
-
declare const DateInputItem: ({ className,
|
|
18
|
-
declare const DateInputLabel: ({ className,
|
|
19
|
-
declare const DateInputInput: ({ className, error,
|
|
9
|
+
declare const DateInput: ({ className, ...props }: DateInputProps) => react.JSX.Element;
|
|
10
|
+
declare const DateInputItem: ({ className, ...props }: DateInputItemProps) => react.JSX.Element;
|
|
11
|
+
declare const DateInputLabel: ({ className, htmlFor, ...props }: DateInputLabelProps) => react.JSX.Element;
|
|
12
|
+
declare const DateInputInput: ({ className, error, ...props }: DateInputInputProps) => react.JSX.Element;
|
|
20
13
|
|
|
21
|
-
export { DateInput, DateInputInput,
|
|
14
|
+
export { DateInput, DateInputInput, DateInputItem, DateInputLabel };
|
|
15
|
+
export type { DateInputInputProps, DateInputItemProps, DateInputLabelProps, DateInputProps };
|
package/dist/ui/date-input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DateInput, DateInputInput, DateInputItem, DateInputLabel } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { DateInput, DateInputInput, DateInputItem, DateInputLabel } from '../chunk-3UX7QPLM.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
package/dist/ui/details.d.ts
CHANGED
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { Collapsible } from '@base-ui/react/collapsible';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
interface DetailsTextProps extends Omit<React.ComponentProps<typeof Collapsible.Panel>, 'className'> {
|
|
13
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
declare const Details: ({ className, ref, ...props }: DetailsProps) => react.JSX.Element;
|
|
17
|
-
declare const DetailsSummary: ({ className, ref, children, ...props }: DetailsSummaryProps) => react.JSX.Element;
|
|
18
|
-
declare const DetailsText: ({ className, ref, ...props }: DetailsTextProps) => react.JSX.Element;
|
|
3
|
+
type DetailsProps = React.ComponentProps<'details'>;
|
|
4
|
+
type DetailsSummaryProps = React.ComponentProps<'summary'>;
|
|
5
|
+
type DetailsTextProps = React.ComponentProps<'div'>;
|
|
6
|
+
declare const Details: ({ className, ...props }: DetailsProps) => react.JSX.Element;
|
|
7
|
+
declare const DetailsSummary: ({ className, children, ...props }: DetailsSummaryProps) => react.JSX.Element;
|
|
8
|
+
declare const DetailsText: ({ className, ...props }: DetailsTextProps) => react.JSX.Element;
|
|
19
9
|
|
|
20
|
-
export { Details,
|
|
10
|
+
export { Details, DetailsSummary, DetailsText };
|
|
11
|
+
export type { DetailsProps, DetailsSummaryProps, DetailsTextProps };
|
package/dist/ui/details.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Details, DetailsSummary, DetailsText } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Details, DetailsSummary, DetailsText } from '../chunk-C2YQVLZ7.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
|
|
3
|
-
interface ErrorMessageProps extends React.
|
|
4
|
-
ref?: React.Ref<HTMLParagraphElement>;
|
|
3
|
+
interface ErrorMessageProps extends React.ComponentProps<'p'> {
|
|
5
4
|
visuallyHiddenText?: string;
|
|
6
5
|
}
|
|
7
|
-
declare const ErrorMessage: ({ className, children, visuallyHiddenText,
|
|
6
|
+
declare const ErrorMessage: ({ className, children, visuallyHiddenText, ...props }: ErrorMessageProps) => react.JSX.Element;
|
|
8
7
|
|
|
9
|
-
export { ErrorMessage
|
|
8
|
+
export { ErrorMessage };
|
|
9
|
+
export type { ErrorMessageProps };
|
package/dist/ui/error-message.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ErrorMessage } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ErrorMessage } from '../chunk-MFI5R2TJ.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
|
@@ -4,12 +4,13 @@ interface ErrorSummaryItem {
|
|
|
4
4
|
text: string;
|
|
5
5
|
href?: string;
|
|
6
6
|
}
|
|
7
|
-
interface ErrorSummaryProps extends React.
|
|
8
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
7
|
+
interface ErrorSummaryProps extends React.ComponentProps<'div'> {
|
|
9
8
|
titleText?: string;
|
|
10
9
|
descriptionText?: string;
|
|
11
10
|
errorList: ErrorSummaryItem[];
|
|
11
|
+
disableAutoFocus?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare const ErrorSummary: ({ className, titleText, descriptionText, errorList, ref, ...props }: ErrorSummaryProps) => react.JSX.Element;
|
|
13
|
+
declare const ErrorSummary: ({ className, titleText, descriptionText, errorList, disableAutoFocus, ref, ...props }: ErrorSummaryProps) => react.JSX.Element;
|
|
14
14
|
|
|
15
|
-
export { ErrorSummary
|
|
15
|
+
export { ErrorSummary };
|
|
16
|
+
export type { ErrorSummaryItem, ErrorSummaryProps };
|
package/dist/ui/error-summary.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ErrorSummary } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ErrorSummary } from '../chunk-TGNN5ZP3.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
|
|
3
|
-
interface ExitThisPageProps extends React.
|
|
4
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
3
|
+
interface ExitThisPageProps extends React.ComponentProps<'div'> {
|
|
5
4
|
redirectUrl?: string;
|
|
6
5
|
text?: string;
|
|
7
6
|
activatedText?: string;
|
|
@@ -9,6 +8,7 @@ interface ExitThisPageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
9
8
|
pressTwoMoreTimesText?: string;
|
|
10
9
|
pressOneMoreTimeText?: string;
|
|
11
10
|
}
|
|
12
|
-
declare const ExitThisPage: ({ className, redirectUrl, text, activatedText, timedOutText, pressTwoMoreTimesText, pressOneMoreTimeText,
|
|
11
|
+
declare const ExitThisPage: ({ className, redirectUrl, text, activatedText, timedOutText, pressTwoMoreTimesText, pressOneMoreTimeText, ...props }: ExitThisPageProps) => react.JSX.Element;
|
|
13
12
|
|
|
14
|
-
export { ExitThisPage
|
|
13
|
+
export { ExitThisPage };
|
|
14
|
+
export type { ExitThisPageProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ExitThisPage } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { ExitThisPage } from '../chunk-QPN5J5IU.js';
|
|
2
|
+
import '../chunk-ASBIQC77.js';
|
|
3
|
+
import '../chunk-GKHD33N6.js';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
type FeedbackProps = React.ComponentProps<'div'>;
|
|
4
|
+
interface FeedbackTitleProps extends React.ComponentProps<'h2'> {
|
|
5
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
6
|
+
}
|
|
7
|
+
type FeedbackBodyProps = React.ComponentProps<'div'>;
|
|
8
|
+
declare const Feedback: ({ className, children, ...props }: FeedbackProps) => react.JSX.Element;
|
|
9
|
+
declare const FeedbackTitle: ({ as: Tag, className, children, ...props }: FeedbackTitleProps) => react.JSX.Element;
|
|
10
|
+
declare const FeedbackBody: ({ className, ...props }: FeedbackBodyProps) => react.JSX.Element;
|
|
11
|
+
|
|
12
|
+
export { Feedback, FeedbackBody, FeedbackTitle };
|
|
13
|
+
export type { FeedbackBodyProps, FeedbackProps, FeedbackTitleProps };
|
package/dist/ui/fieldset.d.ts
CHANGED
|
@@ -3,20 +3,16 @@ 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 fieldsetLegendVariants: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "s" | "xl" | "l" | "m" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
interface
|
|
13
|
-
ref?: React.Ref<HTMLLegendElement>;
|
|
14
|
-
}
|
|
15
|
-
declare const FieldsetLegend: ({ className, size, ref, ...props }: FieldsetLegendProps) => react.JSX.Element;
|
|
16
|
-
interface FieldsetHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
8
|
+
type FieldsetProps = React.ComponentProps<'fieldset'>;
|
|
9
|
+
declare const Fieldset: ({ className, ...props }: FieldsetProps) => react.JSX.Element;
|
|
10
|
+
type FieldsetLegendProps = React.ComponentProps<'legend'> & VariantProps<typeof fieldsetLegendVariants>;
|
|
11
|
+
declare const FieldsetLegend: ({ className, size, ...props }: FieldsetLegendProps) => react.JSX.Element;
|
|
12
|
+
interface FieldsetHeadingProps extends React.ComponentProps<'h1'> {
|
|
17
13
|
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
18
|
-
ref?: React.Ref<HTMLHeadingElement>;
|
|
19
14
|
}
|
|
20
|
-
declare const FieldsetHeading: ({ as: Tag, className,
|
|
15
|
+
declare const FieldsetHeading: ({ as: Tag, className, children, ...props }: FieldsetHeadingProps) => react.JSX.Element;
|
|
21
16
|
|
|
22
|
-
export { Fieldset, FieldsetHeading,
|
|
17
|
+
export { Fieldset, FieldsetHeading, FieldsetLegend, fieldsetLegendVariants };
|
|
18
|
+
export type { FieldsetHeadingProps, FieldsetLegendProps, FieldsetProps };
|
package/dist/ui/fieldset.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Fieldset, FieldsetHeading, FieldsetLegend, fieldsetLegendVariants } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Fieldset, FieldsetHeading, FieldsetLegend, fieldsetLegendVariants } from '../chunk-D2T6BUOB.js';
|
|
2
|
+
import '../chunk-GKHD33N6.js';
|