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.
- package/README.md +108 -0
- package/dist/chunk-2QKZ6DPC.js +27 -0
- package/dist/chunk-3INCIYDO.js +213 -0
- package/dist/chunk-3YIKJK6M.js +181 -0
- package/dist/chunk-4MXR4WNS.js +17 -0
- package/dist/chunk-5AKGRLG2.js +190 -0
- package/dist/chunk-5H55YDJS.js +69 -0
- package/dist/chunk-5PIQJ22R.js +106 -0
- package/dist/chunk-5TI2WXYU.js +64 -0
- package/dist/chunk-5XNKIBMP.js +21 -0
- package/dist/chunk-6VXVJERU.js +38 -0
- package/dist/chunk-72PH2FMG.js +180 -0
- package/dist/chunk-7ZCZQN5N.js +71 -0
- package/dist/chunk-AO6HPG4R.js +50 -0
- package/dist/chunk-CEPBVMFU.js +34 -0
- package/dist/chunk-G6T44BDV.js +75 -0
- package/dist/chunk-GUZIKVAE.js +119 -0
- package/dist/chunk-JESMK3XK.js +105 -0
- package/dist/chunk-JFZN5XP6.js +88 -0
- package/dist/chunk-KD4LPFIZ.js +67 -0
- package/dist/chunk-KWAC6IEK.js +95 -0
- package/dist/chunk-LRNZYPC2.js +107 -0
- package/dist/chunk-M6CLPMRP.js +227 -0
- package/dist/chunk-N67H5OUQ.js +51 -0
- package/dist/chunk-NRXTKHI2.js +169 -0
- package/dist/chunk-OP35ZJ4X.js +46 -0
- package/dist/chunk-P4GCF5FQ.js +62 -0
- package/dist/chunk-PGZHPAT5.js +183 -0
- package/dist/chunk-QTSEOPVX.js +94 -0
- package/dist/chunk-RPV43YDC.js +93 -0
- package/dist/chunk-SK27BMU5.js +140 -0
- package/dist/chunk-TXGBUZB4.js +44 -0
- package/dist/chunk-UWQFFFTB.js +136 -0
- package/dist/chunk-VB6V3PHD.js +67 -0
- package/dist/chunk-VQOCX44T.js +41 -0
- package/dist/chunk-WONVZ7WK.js +29 -0
- package/dist/chunk-WPPWPEFV.js +150 -0
- package/dist/chunk-XQOYWPKV.js +48 -0
- package/dist/chunk-YAKI4SI7.js +205 -0
- package/dist/chunk-YCLGXX3R.js +68 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.js +39 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.js +1 -0
- package/dist/ui/accordion.d.ts +27 -0
- package/dist/ui/accordion.js +2 -0
- package/dist/ui/back-link.d.ts +9 -0
- package/dist/ui/back-link.js +2 -0
- package/dist/ui/breadcrumbs.d.ts +22 -0
- package/dist/ui/breadcrumbs.js +2 -0
- package/dist/ui/button.d.ts +17 -0
- package/dist/ui/button.js +2 -0
- package/dist/ui/character-count.d.ts +27 -0
- package/dist/ui/character-count.js +3 -0
- package/dist/ui/checkboxes.d.ts +30 -0
- package/dist/ui/checkboxes.js +2 -0
- package/dist/ui/cookie-banner.d.ts +24 -0
- package/dist/ui/cookie-banner.js +2 -0
- package/dist/ui/date-input.d.ts +21 -0
- package/dist/ui/date-input.js +2 -0
- package/dist/ui/details.d.ts +20 -0
- package/dist/ui/details.js +2 -0
- package/dist/ui/error-message.d.ts +9 -0
- package/dist/ui/error-message.js +2 -0
- package/dist/ui/error-summary.d.ts +15 -0
- package/dist/ui/error-summary.js +2 -0
- package/dist/ui/exit-this-page.d.ts +14 -0
- package/dist/ui/exit-this-page.js +3 -0
- package/dist/ui/fieldset.d.ts +22 -0
- package/dist/ui/fieldset.js +2 -0
- package/dist/ui/file-upload.d.ts +19 -0
- package/dist/ui/file-upload.js +2 -0
- package/dist/ui/footer.d.ts +61 -0
- package/dist/ui/footer.js +2 -0
- package/dist/ui/generic-header.d.ts +22 -0
- package/dist/ui/generic-header.js +2 -0
- package/dist/ui/header.d.ts +39 -0
- package/dist/ui/header.js +2 -0
- package/dist/ui/hint.d.ts +8 -0
- package/dist/ui/hint.js +2 -0
- package/dist/ui/inset-text.d.ts +8 -0
- package/dist/ui/inset-text.js +2 -0
- package/dist/ui/label.d.ts +18 -0
- package/dist/ui/label.js +2 -0
- package/dist/ui/link.d.ts +16 -0
- package/dist/ui/link.js +2 -0
- package/dist/ui/notification-banner.d.ts +29 -0
- package/dist/ui/notification-banner.js +2 -0
- package/dist/ui/pagination.d.ts +45 -0
- package/dist/ui/pagination.js +2 -0
- package/dist/ui/panel.d.ts +16 -0
- package/dist/ui/panel.js +2 -0
- package/dist/ui/password-input.d.ts +16 -0
- package/dist/ui/password-input.js +4 -0
- package/dist/ui/phase-banner.d.ts +20 -0
- package/dist/ui/phase-banner.js +2 -0
- package/dist/ui/radios.d.ts +25 -0
- package/dist/ui/radios.js +2 -0
- package/dist/ui/select.d.ts +36 -0
- package/dist/ui/select.js +2 -0
- package/dist/ui/service-navigation.d.ts +30 -0
- package/dist/ui/service-navigation.js +2 -0
- package/dist/ui/skip-link.d.ts +8 -0
- package/dist/ui/skip-link.js +2 -0
- package/dist/ui/summary-list.d.ts +49 -0
- package/dist/ui/summary-list.js +2 -0
- package/dist/ui/table.d.ts +40 -0
- package/dist/ui/table.js +2 -0
- package/dist/ui/tabs.d.ts +25 -0
- package/dist/ui/tabs.js +2 -0
- package/dist/ui/tag.d.ts +15 -0
- package/dist/ui/tag.js +2 -0
- package/dist/ui/task-list.d.ts +30 -0
- package/dist/ui/task-list.js +2 -0
- package/dist/ui/text-input.d.ts +18 -0
- package/dist/ui/text-input.js +2 -0
- package/dist/ui/textarea.d.ts +14 -0
- package/dist/ui/textarea.js +2 -0
- package/dist/ui/warning-text.d.ts +9 -0
- package/dist/ui/warning-text.js +2 -0
- package/package.json +263 -0
- package/registry/default/theme/govuk-tokens.css +434 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export { SummaryList, SummaryListActions, SummaryListCard, SummaryListCardAction, SummaryListCardActions, SummaryListCardContent, SummaryListCardHeader, SummaryListCardTitle, SummaryListKey, SummaryListRow, SummaryListValue } from './chunk-3INCIYDO.js';
|
|
2
|
+
export { Tag, tagVariants } from './chunk-TXGBUZB4.js';
|
|
3
|
+
export { Tabs, TabsList, TabsPanel, TabsTab } from './chunk-5H55YDJS.js';
|
|
4
|
+
export { Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, tableCaptionVariants } from './chunk-JFZN5XP6.js';
|
|
5
|
+
export { TaskList, TaskListHint, TaskListItem, TaskListLink, TaskListNameAndHint, TaskListStatus } from './chunk-LRNZYPC2.js';
|
|
6
|
+
export { WarningText } from './chunk-OP35ZJ4X.js';
|
|
7
|
+
export { NextArrow, Pagination, PaginationEllipsis, PaginationItem, PaginationLink, PaginationLinkLabel, PaginationLinkTitle, PaginationList, PaginationNext, PaginationPrevious, PrevArrow } from './chunk-M6CLPMRP.js';
|
|
8
|
+
export { Panel, PanelBody, PanelTitle } from './chunk-VQOCX44T.js';
|
|
9
|
+
export { PasswordInput } from './chunk-P4GCF5FQ.js';
|
|
10
|
+
export { TextInput, textInputVariants } from './chunk-QTSEOPVX.js';
|
|
11
|
+
export { PhaseBanner, PhaseBannerContent, PhaseBannerTag, PhaseBannerText } from './chunk-XQOYWPKV.js';
|
|
12
|
+
export { Radios, RadiosDivider, RadiosHint, RadiosItem } from './chunk-SK27BMU5.js';
|
|
13
|
+
export { Select, SelectItem, selectTriggerVariants } from './chunk-WPPWPEFV.js';
|
|
14
|
+
export { ServiceNavigation, ServiceNavigationContainer, ServiceNavigationItem, ServiceNavigationLink, ServiceNavigationNav, ServiceNavigationServiceName } from './chunk-3YIKJK6M.js';
|
|
15
|
+
export { SkipLink } from './chunk-2QKZ6DPC.js';
|
|
16
|
+
export { Footer, FooterContainer, FooterContentLicence, FooterHeading, FooterInlineList, FooterInlineListItem, FooterLink, FooterList, FooterListItem, FooterMeta, FooterMetaItem, FooterNavigation, FooterSection, FooterSectionBreak } from './chunk-YAKI4SI7.js';
|
|
17
|
+
export { GenericHeader, GenericHeaderContainer, GenericHeaderLink, GenericHeaderLogo } from './chunk-7ZCZQN5N.js';
|
|
18
|
+
export { Header, HeaderContainer, HeaderLink, HeaderLogo, HeaderNav, HeaderNavItem, HeaderNavLink, HeaderServiceName } from './chunk-5AKGRLG2.js';
|
|
19
|
+
export { Hint } from './chunk-4MXR4WNS.js';
|
|
20
|
+
export { InsetText } from './chunk-5XNKIBMP.js';
|
|
21
|
+
export { Label, LabelWrapper, labelVariants } from './chunk-6VXVJERU.js';
|
|
22
|
+
export { Link, linkVariants } from './chunk-G6T44BDV.js';
|
|
23
|
+
export { NotificationBanner, NotificationBannerContent, NotificationBannerHeader, NotificationBannerHeading, NotificationBannerLink, NotificationBannerTitle } from './chunk-GUZIKVAE.js';
|
|
24
|
+
export { CookieBanner, CookieBannerActions, CookieBannerContent, CookieBannerHeading, CookieBannerMessage } from './chunk-RPV43YDC.js';
|
|
25
|
+
export { DateInput, DateInputInput, DateInputItem, DateInputLabel } from './chunk-5TI2WXYU.js';
|
|
26
|
+
export { Details, DetailsSummary, DetailsText } from './chunk-KD4LPFIZ.js';
|
|
27
|
+
export { ErrorMessage } from './chunk-CEPBVMFU.js';
|
|
28
|
+
export { ErrorSummary } from './chunk-YCLGXX3R.js';
|
|
29
|
+
export { ExitThisPage } from './chunk-NRXTKHI2.js';
|
|
30
|
+
export { Fieldset, FieldsetHeading, FieldsetLegend, fieldsetLegendVariants } from './chunk-VB6V3PHD.js';
|
|
31
|
+
export { FileUpload } from './chunk-72PH2FMG.js';
|
|
32
|
+
export { Accordion, AccordionContent, AccordionHeading, AccordionSection } from './chunk-PGZHPAT5.js';
|
|
33
|
+
export { BackLink } from './chunk-N67H5OUQ.js';
|
|
34
|
+
export { Breadcrumbs, BreadcrumbsLink, BreadcrumbsList, BreadcrumbsListItem } from './chunk-KWAC6IEK.js';
|
|
35
|
+
export { Button, buttonVariants } from './chunk-5PIQJ22R.js';
|
|
36
|
+
export { CharacterCount, CharacterCountMessage } from './chunk-JESMK3XK.js';
|
|
37
|
+
export { Textarea, textareaVariants } from './chunk-AO6HPG4R.js';
|
|
38
|
+
export { Checkboxes, CheckboxesConditional, CheckboxesDivider, CheckboxesHint, CheckboxesItem } from './chunk-UWQFFFTB.js';
|
|
39
|
+
export { cn } from './chunk-WONVZ7WK.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { cn } from '../chunk-WONVZ7WK.js';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
|
|
3
|
+
|
|
4
|
+
interface AccordionProps extends Omit<React.ComponentProps<typeof Accordion$1.Root>, 'className'> {
|
|
5
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
6
|
+
className?: string;
|
|
7
|
+
showAllSections?: string[];
|
|
8
|
+
}
|
|
9
|
+
interface AccordionSectionProps extends Omit<React.ComponentProps<typeof Accordion$1.Item>, 'className'> {
|
|
10
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
interface AccordionHeadingProps extends Omit<React.ComponentProps<typeof Accordion$1.Trigger>, 'className'> {
|
|
14
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
15
|
+
className?: string;
|
|
16
|
+
summary?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
interface AccordionContentProps extends Omit<React.ComponentProps<typeof Accordion$1.Panel>, 'className'> {
|
|
19
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
declare const Accordion: ({ className, ref, children, showAllSections, defaultValue, ...props }: AccordionProps) => react.JSX.Element;
|
|
23
|
+
declare const AccordionSection: ({ className, ref, children, ...props }: AccordionSectionProps) => react.JSX.Element;
|
|
24
|
+
declare const AccordionHeading: ({ className, ref, children, summary, ...props }: AccordionHeadingProps) => react.JSX.Element;
|
|
25
|
+
declare const AccordionContent: ({ className, ref, children, ...props }: AccordionContentProps) => react.JSX.Element;
|
|
26
|
+
|
|
27
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionHeading, type AccordionHeadingProps, type AccordionProps, AccordionSection, type AccordionSectionProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface BackLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
4
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
5
|
+
inverse?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const BackLink: ({ className, inverse, ref, children, ...props }: BackLinkProps) => react.JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { BackLink, type BackLinkProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface BreadcrumbsProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
+
ref?: React.Ref<HTMLElement>;
|
|
5
|
+
collapseOnMobile?: boolean;
|
|
6
|
+
inverse?: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface BreadcrumbsListProps extends React.HTMLAttributes<HTMLOListElement> {
|
|
9
|
+
ref?: React.Ref<HTMLOListElement>;
|
|
10
|
+
}
|
|
11
|
+
interface BreadcrumbsListItemProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
12
|
+
ref?: React.Ref<HTMLLIElement>;
|
|
13
|
+
}
|
|
14
|
+
interface BreadcrumbsLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
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;
|
|
21
|
+
|
|
22
|
+
export { Breadcrumbs, BreadcrumbsLink, type BreadcrumbsLinkProps, BreadcrumbsList, BreadcrumbsListItem, type BreadcrumbsListItemProps, type BreadcrumbsListProps, type BreadcrumbsProps };
|
|
@@ -0,0 +1,17 @@
|
|
|
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 buttonVariants: (props?: ({
|
|
6
|
+
variant?: "start" | "default" | "inverse" | "secondary" | "warning" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
type ButtonVariant = NonNullable<VariantProps<typeof buttonVariants>['variant']>;
|
|
9
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
10
|
+
asChild?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
focusableWhenDisabled?: boolean;
|
|
13
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
14
|
+
}
|
|
15
|
+
declare const Button: ({ className, variant, disabled, focusableWhenDisabled, children, ref, ...props }: ButtonProps) => react.JSX.Element;
|
|
16
|
+
|
|
17
|
+
export { Button, type ButtonProps, type ButtonVariant, buttonVariants };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
type CountMode = 'characters' | 'words';
|
|
4
|
+
interface CharacterCountProps {
|
|
5
|
+
id: string;
|
|
6
|
+
maxCount: number;
|
|
7
|
+
mode?: CountMode;
|
|
8
|
+
threshold?: number;
|
|
9
|
+
rows?: number;
|
|
10
|
+
defaultValue?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
error?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
textareaClassName?: string;
|
|
16
|
+
onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
17
|
+
name?: string;
|
|
18
|
+
ref?: React.Ref<HTMLTextAreaElement>;
|
|
19
|
+
formatMessage?: (remaining: number, mode: CountMode) => string;
|
|
20
|
+
}
|
|
21
|
+
interface CharacterCountMessageProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
22
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
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;
|
|
26
|
+
|
|
27
|
+
export { CharacterCount, CharacterCountMessage, type CharacterCountMessageProps, type CharacterCountProps };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { Checkbox } from '@base-ui/react/checkbox';
|
|
3
|
+
import { CheckboxGroup } from '@base-ui/react/checkbox-group';
|
|
4
|
+
|
|
5
|
+
interface CheckboxesProps extends Omit<React.ComponentProps<typeof CheckboxGroup>, 'className' | 'children'> {
|
|
6
|
+
className?: string;
|
|
7
|
+
children: React.ReactNode;
|
|
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;
|
|
13
|
+
small?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const CheckboxesItem: ({ className, children, value, small, ...props }: CheckboxesItemProps) => react.JSX.Element;
|
|
16
|
+
interface CheckboxesHintProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const CheckboxesHint: ({ className, ...props }: CheckboxesHintProps) => react.JSX.Element;
|
|
20
|
+
interface CheckboxesDividerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
21
|
+
className?: string;
|
|
22
|
+
small?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare const CheckboxesDivider: ({ className, children, small, ...props }: CheckboxesDividerProps) => react.JSX.Element;
|
|
25
|
+
interface CheckboxesConditionalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
28
|
+
declare const CheckboxesConditional: ({ className, ...props }: CheckboxesConditionalProps) => react.JSX.Element;
|
|
29
|
+
|
|
30
|
+
export { Checkboxes, CheckboxesConditional, type CheckboxesConditionalProps, CheckboxesDivider, type CheckboxesDividerProps, CheckboxesHint, type CheckboxesHintProps, CheckboxesItem, type CheckboxesItemProps, type CheckboxesProps };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface CookieBannerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
5
|
+
}
|
|
6
|
+
interface CookieBannerMessageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
8
|
+
}
|
|
9
|
+
interface CookieBannerContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
11
|
+
}
|
|
12
|
+
interface CookieBannerHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
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;
|
|
23
|
+
|
|
24
|
+
export { CookieBanner, CookieBannerActions, type CookieBannerActionsProps, CookieBannerContent, type CookieBannerContentProps, CookieBannerHeading, type CookieBannerHeadingProps, CookieBannerMessage, type CookieBannerMessageProps, type CookieBannerProps };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface DateInputProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
4
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
5
|
+
}
|
|
6
|
+
interface DateInputItemProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
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>;
|
|
14
|
+
error?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const DateInput: ({ className, children, ref, ...props }: DateInputProps) => react.JSX.Element;
|
|
17
|
+
declare const DateInputItem: ({ className, children, ref, ...props }: DateInputItemProps) => react.JSX.Element;
|
|
18
|
+
declare const DateInputLabel: ({ className, children, htmlFor, ref, ...props }: DateInputLabelProps) => react.JSX.Element;
|
|
19
|
+
declare const DateInputInput: ({ className, error, ref, ...props }: DateInputInputProps) => react.JSX.Element;
|
|
20
|
+
|
|
21
|
+
export { DateInput, DateInputInput, type DateInputInputProps, DateInputItem, type DateInputItemProps, DateInputLabel, type DateInputLabelProps, type DateInputProps };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { Collapsible } from '@base-ui/react/collapsible';
|
|
3
|
+
|
|
4
|
+
interface DetailsProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, 'className'> {
|
|
5
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
interface DetailsSummaryProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, 'className'> {
|
|
9
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
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;
|
|
19
|
+
|
|
20
|
+
export { Details, type DetailsProps, DetailsSummary, type DetailsSummaryProps, DetailsText, type DetailsTextProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface ErrorMessageProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
4
|
+
ref?: React.Ref<HTMLParagraphElement>;
|
|
5
|
+
visuallyHiddenText?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const ErrorMessage: ({ className, children, visuallyHiddenText, ref, ...props }: ErrorMessageProps) => react.JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { ErrorMessage, type ErrorMessageProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface ErrorSummaryItem {
|
|
4
|
+
text: string;
|
|
5
|
+
href?: string;
|
|
6
|
+
}
|
|
7
|
+
interface ErrorSummaryProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
9
|
+
titleText?: string;
|
|
10
|
+
descriptionText?: string;
|
|
11
|
+
errorList: ErrorSummaryItem[];
|
|
12
|
+
}
|
|
13
|
+
declare const ErrorSummary: ({ className, titleText, descriptionText, errorList, ref, ...props }: ErrorSummaryProps) => react.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { ErrorSummary, type ErrorSummaryItem, type ErrorSummaryProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface ExitThisPageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
5
|
+
redirectUrl?: string;
|
|
6
|
+
text?: string;
|
|
7
|
+
activatedText?: string;
|
|
8
|
+
timedOutText?: string;
|
|
9
|
+
pressTwoMoreTimesText?: string;
|
|
10
|
+
pressOneMoreTimeText?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const ExitThisPage: ({ className, redirectUrl, text, activatedText, timedOutText, pressTwoMoreTimesText, pressOneMoreTimeText, ref, ...props }: ExitThisPageProps) => react.JSX.Element;
|
|
13
|
+
|
|
14
|
+
export { ExitThisPage, type ExitThisPageProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
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 fieldsetLegendVariants: (props?: ({
|
|
6
|
+
size?: "m" | "s" | "xl" | "l" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface FieldsetProps extends React.FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
9
|
+
ref?: React.Ref<HTMLFieldSetElement>;
|
|
10
|
+
}
|
|
11
|
+
declare const Fieldset: ({ className, ref, ...props }: FieldsetProps) => react.JSX.Element;
|
|
12
|
+
interface FieldsetLegendProps extends React.HTMLAttributes<HTMLLegendElement>, VariantProps<typeof fieldsetLegendVariants> {
|
|
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> {
|
|
17
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
18
|
+
ref?: React.Ref<HTMLHeadingElement>;
|
|
19
|
+
}
|
|
20
|
+
declare const FieldsetHeading: ({ as: Tag, className, ref, ...props }: FieldsetHeadingProps) => react.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export { Fieldset, FieldsetHeading, type FieldsetHeadingProps, FieldsetLegend, type FieldsetLegendProps, type FieldsetProps, fieldsetLegendVariants };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
|
|
4
|
+
interface FileUploadProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
5
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
chooseFileButtonText?: string;
|
|
9
|
+
dropInstructionText?: string;
|
|
10
|
+
noFileChosenText?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const fileUploadButtonVariants: (props?: ({
|
|
13
|
+
empty?: boolean | null | undefined;
|
|
14
|
+
dragging?: boolean | null | undefined;
|
|
15
|
+
error?: boolean | null | undefined;
|
|
16
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
+
declare const FileUpload: ({ className, id, name, disabled, error, multiple, chooseFileButtonText, dropInstructionText, noFileChosenText, onChange, ref, ...props }: FileUploadProps) => react.JSX.Element;
|
|
18
|
+
|
|
19
|
+
export { FileUpload, type FileUploadProps, fileUploadButtonVariants };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface FooterProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
+
ref?: React.Ref<HTMLElement>;
|
|
5
|
+
}
|
|
6
|
+
interface FooterContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
8
|
+
fullWidth?: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface FooterNavigationProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
11
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
12
|
+
}
|
|
13
|
+
interface FooterSectionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
15
|
+
width?: 'full' | 'one-half' | 'one-third' | 'two-thirds';
|
|
16
|
+
}
|
|
17
|
+
interface FooterHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
18
|
+
ref?: React.Ref<HTMLHeadingElement>;
|
|
19
|
+
}
|
|
20
|
+
interface FooterListProps extends React.HTMLAttributes<HTMLUListElement> {
|
|
21
|
+
ref?: React.Ref<HTMLUListElement>;
|
|
22
|
+
columns?: 1 | 2 | 3;
|
|
23
|
+
}
|
|
24
|
+
interface FooterListItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
25
|
+
ref?: React.Ref<HTMLLIElement>;
|
|
26
|
+
}
|
|
27
|
+
interface FooterLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
28
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
29
|
+
}
|
|
30
|
+
interface FooterMetaProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
31
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
32
|
+
}
|
|
33
|
+
interface FooterMetaItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
34
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
35
|
+
grow?: boolean;
|
|
36
|
+
}
|
|
37
|
+
interface FooterInlineListProps extends React.HTMLAttributes<HTMLUListElement> {
|
|
38
|
+
ref?: React.Ref<HTMLUListElement>;
|
|
39
|
+
}
|
|
40
|
+
interface FooterInlineListItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
41
|
+
ref?: React.Ref<HTMLLIElement>;
|
|
42
|
+
}
|
|
43
|
+
interface FooterContentLicenceProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
44
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
45
|
+
}
|
|
46
|
+
declare const Footer: ({ className, children, ref, ...props }: FooterProps) => react.JSX.Element;
|
|
47
|
+
declare const FooterContainer: ({ className, fullWidth, ref, children, ...props }: FooterContainerProps) => react.JSX.Element;
|
|
48
|
+
declare const FooterNavigation: ({ className, ref, children, ...props }: FooterNavigationProps) => react.JSX.Element;
|
|
49
|
+
declare const FooterSection: ({ className, width, ref, children, ...props }: FooterSectionProps) => react.JSX.Element;
|
|
50
|
+
declare const FooterHeading: ({ className, ref, children, ...props }: FooterHeadingProps) => react.JSX.Element;
|
|
51
|
+
declare const FooterList: ({ className, columns, ref, children, ...props }: FooterListProps) => react.JSX.Element;
|
|
52
|
+
declare const FooterListItem: ({ className, ref, children, ...props }: FooterListItemProps) => react.JSX.Element;
|
|
53
|
+
declare const FooterLink: ({ className, ref, children, ...props }: FooterLinkProps) => react.JSX.Element;
|
|
54
|
+
declare const FooterSectionBreak: () => react.JSX.Element;
|
|
55
|
+
declare const FooterMeta: ({ className, ref, children, ...props }: FooterMetaProps) => react.JSX.Element;
|
|
56
|
+
declare const FooterMetaItem: ({ className, grow, ref, children, ...props }: FooterMetaItemProps) => react.JSX.Element;
|
|
57
|
+
declare const FooterInlineList: ({ className, ref, children, ...props }: FooterInlineListProps) => react.JSX.Element;
|
|
58
|
+
declare const FooterInlineListItem: ({ className, ref, children, ...props }: FooterInlineListItemProps) => react.JSX.Element;
|
|
59
|
+
declare const FooterContentLicence: ({ className, ref, children, ...props }: FooterContentLicenceProps) => react.JSX.Element;
|
|
60
|
+
|
|
61
|
+
export { Footer, FooterContainer, type FooterContainerProps, FooterContentLicence, type FooterContentLicenceProps, FooterHeading, type FooterHeadingProps, FooterInlineList, FooterInlineListItem, type FooterInlineListItemProps, type FooterInlineListProps, FooterLink, type FooterLinkProps, FooterList, FooterListItem, type FooterListItemProps, type FooterListProps, FooterMeta, FooterMetaItem, type FooterMetaItemProps, type FooterMetaProps, FooterNavigation, type FooterNavigationProps, type FooterProps, FooterSection, FooterSectionBreak, type FooterSectionProps };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { Footer, FooterContainer, FooterContentLicence, FooterHeading, FooterInlineList, FooterInlineListItem, FooterLink, FooterList, FooterListItem, FooterMeta, FooterMetaItem, FooterNavigation, FooterSection, FooterSectionBreak } from '../chunk-YAKI4SI7.js';
|
|
2
|
+
import '../chunk-WONVZ7WK.js';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface GenericHeaderProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
+
ref?: React.Ref<HTMLElement>;
|
|
5
|
+
fullWidth?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface GenericHeaderContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface GenericHeaderLogoProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
12
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
13
|
+
}
|
|
14
|
+
interface GenericHeaderLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
15
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
16
|
+
}
|
|
17
|
+
declare const GenericHeader: ({ className, fullWidth, ref, children, ...props }: GenericHeaderProps) => react.JSX.Element;
|
|
18
|
+
declare const GenericHeaderContainer: ({ className, fullWidth, ref, children, ...props }: GenericHeaderContainerProps) => react.JSX.Element;
|
|
19
|
+
declare const GenericHeaderLogo: ({ className, ref, children, ...props }: GenericHeaderLogoProps) => react.JSX.Element;
|
|
20
|
+
declare const GenericHeaderLink: ({ className, ref, children, ...props }: GenericHeaderLinkProps) => react.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export { GenericHeader, GenericHeaderContainer, type GenericHeaderContainerProps, GenericHeaderLink, type GenericHeaderLinkProps, GenericHeaderLogo, type GenericHeaderLogoProps, type GenericHeaderProps };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface HeaderProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
+
ref?: React.Ref<HTMLElement>;
|
|
5
|
+
fullWidth?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface HeaderContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface HeaderLogoProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
12
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
13
|
+
}
|
|
14
|
+
interface HeaderLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
15
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
16
|
+
}
|
|
17
|
+
interface HeaderServiceNameProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
18
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
19
|
+
}
|
|
20
|
+
interface HeaderNavProps extends React.HTMLAttributes<HTMLElement> {
|
|
21
|
+
ref?: React.Ref<HTMLElement>;
|
|
22
|
+
}
|
|
23
|
+
interface HeaderNavItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
24
|
+
ref?: React.Ref<HTMLLIElement>;
|
|
25
|
+
active?: boolean;
|
|
26
|
+
}
|
|
27
|
+
interface HeaderNavLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
28
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
29
|
+
}
|
|
30
|
+
declare const Header: ({ className, children, fullWidth, ref, ...props }: HeaderProps) => react.JSX.Element;
|
|
31
|
+
declare const HeaderContainer: ({ className, fullWidth, ref, children, ...props }: HeaderContainerProps) => react.JSX.Element;
|
|
32
|
+
declare const HeaderLogo: ({ className, ref, children, ...props }: HeaderLogoProps) => react.JSX.Element;
|
|
33
|
+
declare const HeaderLink: ({ className, ref, children, ...props }: HeaderLinkProps) => react.JSX.Element;
|
|
34
|
+
declare const HeaderServiceName: ({ className, ref, children, ...props }: HeaderServiceNameProps) => react.JSX.Element;
|
|
35
|
+
declare const HeaderNav: ({ className, ref, children, ...props }: HeaderNavProps) => react.JSX.Element;
|
|
36
|
+
declare const HeaderNavItem: ({ className, active, ref, children, ...props }: HeaderNavItemProps) => react.JSX.Element;
|
|
37
|
+
declare const HeaderNavLink: ({ className, ref, children, ...props }: HeaderNavLinkProps) => react.JSX.Element;
|
|
38
|
+
|
|
39
|
+
export { Header, HeaderContainer, type HeaderContainerProps, HeaderLink, type HeaderLinkProps, HeaderLogo, type HeaderLogoProps, HeaderNav, HeaderNavItem, type HeaderNavItemProps, HeaderNavLink, type HeaderNavLinkProps, type HeaderNavProps, type HeaderProps, HeaderServiceName, type HeaderServiceNameProps };
|
package/dist/ui/hint.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
interface InsetTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
5
|
+
}
|
|
6
|
+
declare const InsetText: ({ className, ref, ...props }: InsetTextProps) => react.JSX.Element;
|
|
7
|
+
|
|
8
|
+
export { InsetText, type InsetTextProps };
|
|
@@ -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 labelVariants: (props?: ({
|
|
6
|
+
size?: "m" | "s" | "xl" | "l" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, VariantProps<typeof labelVariants> {
|
|
9
|
+
ref?: React.Ref<HTMLLabelElement>;
|
|
10
|
+
}
|
|
11
|
+
declare const Label: ({ className, size, htmlFor, ref, ...props }: LabelProps) => react.JSX.Element;
|
|
12
|
+
interface LabelWrapperProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
13
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
14
|
+
ref?: React.Ref<HTMLHeadingElement>;
|
|
15
|
+
}
|
|
16
|
+
declare const LabelWrapper: ({ as: Tag, className, ref, ...props }: LabelWrapperProps) => react.JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { Label, type LabelProps, LabelWrapper, type LabelWrapperProps, labelVariants };
|
package/dist/ui/label.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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 linkVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "inverse" | "muted" | null | undefined;
|
|
7
|
+
noUnderline?: boolean | null | undefined;
|
|
8
|
+
noVisitedState?: boolean | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
type LinkVariant = NonNullable<VariantProps<typeof linkVariants>['variant']>;
|
|
11
|
+
interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
|
|
12
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
13
|
+
}
|
|
14
|
+
declare const Link: ({ className, variant, noUnderline, noVisitedState, ref, children, ...props }: LinkProps) => react.JSX.Element;
|
|
15
|
+
|
|
16
|
+
export { Link, type LinkProps, type LinkVariant, linkVariants };
|
package/dist/ui/link.js
ADDED