@publicplan/kern-react-kit 1.3.1 → 1.3.3

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/dist/index.css CHANGED
@@ -92,3 +92,27 @@
92
92
  font-size: inherit;
93
93
  line-height: inherit;
94
94
  }
95
+
96
+ .kern-btn > .kern-icon {
97
+ color: var(--kern-color-action-default, #1A3DA5);
98
+ }
99
+
100
+ .kern-btn--primary > .kern-icon {
101
+ color: var(--kern-color-action-on-default, #FFF);
102
+ }
103
+
104
+ .kern-badge--info .kern-icon {
105
+ color: var(--kern-color-feedback-info, #006490);
106
+ }
107
+
108
+ .kern-badge--success .kern-icon {
109
+ color: var(--kern-color-feedback-success, #006B51);
110
+ }
111
+
112
+ .kern-badge--warning .kern-icon {
113
+ color: var(--kern-color-feedback-warning, #8A4F00);
114
+ }
115
+
116
+ .kern-badge--danger .kern-icon {
117
+ color: var(--kern-color-feedback-danger, #BD0F09);
118
+ }
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react13 from "react";
1
+ import * as react11 from "react";
2
2
  import React$1 from "react";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
@@ -273,13 +273,13 @@ declare const GridRow: React$1.FC<GridRowProps>;
273
273
  interface CheckboxInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type' | 'aria-describedby'> {
274
274
  erroneous?: boolean;
275
275
  }
276
- declare const CheckboxInput$1: react13.ForwardRefExoticComponent<CheckboxInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
276
+ declare const CheckboxInput$1: react11.ForwardRefExoticComponent<CheckboxInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
277
277
  //#endregion
278
278
  //#region src/components/Input/Primitives/Email/EmailInput.d.ts
279
279
  interface EmailInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type'> {
280
280
  erroneous?: boolean;
281
281
  }
282
- declare const EmailInput$1: react13.ForwardRefExoticComponent<EmailInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
282
+ declare const EmailInput$1: react11.ForwardRefExoticComponent<EmailInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
283
283
  //#endregion
284
284
  //#region src/components/Input/Primitives/Error.d.ts
285
285
  interface InputErrorProps extends Omit<React.ComponentPropsWithoutRef<'p'>, 'role'> {
@@ -299,7 +299,7 @@ interface FileInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>,
299
299
  supportedFormats?: (FileExtension | MimeType)[];
300
300
  erroneous?: boolean;
301
301
  }
302
- declare const FileInput$1: react13.ForwardRefExoticComponent<FileInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
302
+ declare const FileInput$1: react11.ForwardRefExoticComponent<FileInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
303
303
  //#endregion
304
304
  //#region src/components/Input/Primitives/Hint.d.ts
305
305
  interface HintProps extends React.ComponentPropsWithoutRef<'p'> {
@@ -335,13 +335,13 @@ declare const Label$1: ({
335
335
  interface PasswordInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type'> {
336
336
  erroneous?: boolean;
337
337
  }
338
- declare const PasswordInput$1: react13.ForwardRefExoticComponent<PasswordInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
338
+ declare const PasswordInput$1: react11.ForwardRefExoticComponent<PasswordInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
339
339
  //#endregion
340
340
  //#region src/components/Input/Primitives/Radio/RadioInput.d.ts
341
341
  interface RadioInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type' | 'aria-describedby'> {
342
342
  erroneous?: boolean;
343
343
  }
344
- declare const RadioInput$1: react13.ForwardRefExoticComponent<RadioInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
344
+ declare const RadioInput$1: react11.ForwardRefExoticComponent<RadioInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
345
345
  //#endregion
346
346
  //#region src/components/Input/Primitives/Root.d.ts
347
347
  interface RootProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -362,31 +362,31 @@ interface SelectInputProps$1 extends React.ComponentPropsWithoutRef<'select'> {
362
362
  label: string;
363
363
  }>;
364
364
  }
365
- declare const SelectInput$1: react13.ForwardRefExoticComponent<SelectInputProps$1 & react13.RefAttributes<HTMLSelectElement>>;
365
+ declare const SelectInput$1: react11.ForwardRefExoticComponent<SelectInputProps$1 & react11.RefAttributes<HTMLSelectElement>>;
366
366
  //#endregion
367
367
  //#region src/components/Input/Primitives/Tel/TelInput.d.ts
368
368
  interface TelInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type' | 'autoComplete'> {
369
369
  erroneous?: boolean;
370
370
  }
371
- declare const TelInput$1: react13.ForwardRefExoticComponent<TelInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
371
+ declare const TelInput$1: react11.ForwardRefExoticComponent<TelInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
372
372
  //#endregion
373
373
  //#region src/components/Input/Primitives/Text/TextInput.d.ts
374
374
  interface TextInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type'> {
375
375
  erroneous?: boolean;
376
376
  }
377
- declare const TextInput$1: react13.ForwardRefExoticComponent<TextInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
377
+ declare const TextInput$1: react11.ForwardRefExoticComponent<TextInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
378
378
  //#endregion
379
379
  //#region src/components/Input/Primitives/Textarea/TextareaInput.d.ts
380
380
  interface TextareaInputProps$1 extends React.ComponentPropsWithoutRef<'textarea'> {
381
381
  erroneous?: boolean;
382
382
  }
383
- declare const TextareaInput$1: react13.ForwardRefExoticComponent<TextareaInputProps$1 & react13.RefAttributes<HTMLTextAreaElement>>;
383
+ declare const TextareaInput$1: react11.ForwardRefExoticComponent<TextareaInputProps$1 & react11.RefAttributes<HTMLTextAreaElement>>;
384
384
  //#endregion
385
385
  //#region src/components/Input/Primitives/Url/UrlInput.d.ts
386
386
  interface UrlInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type'> {
387
387
  erroneous?: boolean;
388
388
  }
389
- declare const UrlInput$1: react13.ForwardRefExoticComponent<UrlInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
389
+ declare const UrlInput$1: react11.ForwardRefExoticComponent<UrlInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
390
390
  //#endregion
391
391
  //#region src/components/Lists/Root.d.ts
392
392
  interface ListsRootProps extends Omit<React.ComponentPropsWithoutRef<'ol' | 'ul'>, 'type'> {
@@ -395,6 +395,7 @@ interface ListsRootProps extends Omit<React.ComponentPropsWithoutRef<'ol' | 'ul'
395
395
  style?: React.CSSProperties;
396
396
  size?: 'default' | 'large' | 'small';
397
397
  type?: 'bullet' | 'number' | 'link';
398
+ horizontal?: boolean;
398
399
  }
399
400
  declare const ListsRoot: React.FC<ListsRootProps>;
400
401
  //#endregion
@@ -428,12 +429,6 @@ declare const ListsNumber: React.FC<ListsNumberProps>;
428
429
  interface ProgressBarProps extends React.ComponentPropsWithoutRef<'progress'> {}
429
430
  declare const ProgressBar: React.FC<ProgressBarProps>;
430
431
  //#endregion
431
- //#region src/components/Progress/Cancel.d.ts
432
- interface ProgressCancelProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
433
- onCancel?: () => void;
434
- }
435
- declare const ProgressCancel: React.FC<ProgressCancelProps>;
436
- //#endregion
437
432
  //#region src/components/Progress/Header.d.ts
438
433
  interface ProgressHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
439
434
  declare const ProgressHeader: React.FC<ProgressHeaderProps>;
@@ -442,12 +437,6 @@ declare const ProgressHeader: React.FC<ProgressHeaderProps>;
442
437
  interface ProgressLabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {}
443
438
  declare const ProgressLabel: React.FC<ProgressLabelProps>;
444
439
  //#endregion
445
- //#region src/components/Progress/Percentage.d.ts
446
- interface ProgressPercentageProps extends React.HTMLAttributes<HTMLSpanElement> {
447
- formatter?: (percentage: number) => string;
448
- }
449
- declare const ProgressPercentage: React.FC<ProgressPercentageProps>;
450
- //#endregion
451
440
  //#region src/components/Progress/Root.d.ts
452
441
  interface ProgressRootProps extends React$1.HTMLAttributes<HTMLDivElement> {
453
442
  value: number;
@@ -602,13 +591,14 @@ interface TaskListRootProps extends React.ComponentPropsWithoutRef<'div'> {}
602
591
  declare const TaskListRoot: React.FC<TaskListRootProps>;
603
592
  //#endregion
604
593
  //#region src/components/Badge/Badge.d.ts
605
- interface BadgeProps extends React.ComponentPropsWithoutRef<'span'> {
594
+ interface BadgeProps extends React$1.ComponentPropsWithoutRef<'span'> {
606
595
  variant: 'info' | 'success' | 'warning' | 'danger';
607
596
  title: string;
608
- icon?: Omit<IconProps, 'name' | 'aria-hidden'>;
597
+ icon?: React$1.ReactNode;
598
+ iconSize?: 'small' | 'default' | 'large' | 'x-large';
609
599
  showIcon?: boolean;
610
600
  }
611
- declare const Badge: React.FC<BadgeProps>;
601
+ declare const Badge: React$1.FC<BadgeProps>;
612
602
  //#endregion
613
603
  //#region src/components/Body/Body.d.ts
614
604
  interface BodyProps extends Omit<React.ComponentPropsWithoutRef<'p'>, 'text'> {
@@ -621,16 +611,30 @@ interface BodyProps extends Omit<React.ComponentPropsWithoutRef<'p'>, 'text'> {
621
611
  declare const Body: React.FC<BodyProps>;
622
612
  //#endregion
623
613
  //#region src/components/Button/Button.d.ts
624
- interface ButtonProps extends Omit<React$1.ComponentPropsWithoutRef<'button'>, 'text'> {
614
+ type CommonProps = {
625
615
  variant?: 'primary' | 'secondary' | 'tertiary';
626
616
  isBlock?: boolean;
627
- icon?: IconProps;
617
+ icon?: IconProps | React$1.ReactNode;
618
+ iconSize?: 'small' | 'default' | 'large' | 'x-large';
628
619
  iconOnly?: boolean;
629
620
  iconLeft?: boolean;
630
621
  text?: string | null;
631
- ref?: React$1.Ref<HTMLButtonElement>;
632
- }
633
- declare const Button: React$1.FC<ButtonProps>;
622
+ children?: React$1.ReactNode;
623
+ className?: string;
624
+ };
625
+ type ButtonAsButton = CommonProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'className'> & {
626
+ as?: 'button';
627
+ href?: never;
628
+ target?: never;
629
+ };
630
+ type ButtonAsAnchor = CommonProps & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, 'type' | 'className'> & {
631
+ as: 'a';
632
+ href: string;
633
+ target?: '_self' | '_blank';
634
+ disabled?: boolean;
635
+ };
636
+ type ButtonProps = ButtonAsButton | ButtonAsAnchor;
637
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
634
638
  //#endregion
635
639
  //#region src/components/Divider/Divider.d.ts
636
640
  declare const Divider: React.FC<React.ComponentPropsWithoutRef<'hr'>>;
@@ -771,6 +775,10 @@ interface KopfzeileProps extends React.ComponentPropsWithoutRef<'div'> {
771
775
  }
772
776
  declare const Kopfzeile: React.FC<KopfzeileProps>;
773
777
  //#endregion
778
+ //#region src/components/LinkButton/LinkButton.d.ts
779
+ type LinkButtonProps = Omit<ButtonAsAnchor, 'as'>;
780
+ declare const LinkButton: React$1.FC<LinkButtonProps>;
781
+ //#endregion
774
782
  //#region src/components/Loader/Loader.d.ts
775
783
  interface LoaderProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'role' | 'aria-atomic'> {
776
784
  visible?: boolean;
@@ -1084,23 +1092,23 @@ declare const ThemeProvider: ({
1084
1092
  }: ThemeProviderProps) => react_jsx_runtime0.JSX.Element;
1085
1093
  //#endregion
1086
1094
  //#region src/index.d.ts
1087
- declare const Accordion: react13.FC<AccordionRootProps> & typeof index_d_exports;
1088
- declare const Alert: react13.FC<AlertRootProps> & typeof index_d_exports$1;
1089
- declare const Card: react13.FC<CardRootProps> & typeof index_d_exports$2;
1090
- declare const DescriptionList: react13.FC<DescriptionListRootProps> & typeof index_d_exports$3;
1091
- declare const Dialog: react13.FC<DialogRootProps> & typeof index_d_exports$4;
1092
- declare const Fieldset: react13.FC<FieldsetRootProps> & typeof index_d_exports$5;
1093
- declare const Grid: react13.FC<GridRootProps> & typeof index_d_exports$6;
1095
+ declare const Accordion: react11.FC<AccordionRootProps> & typeof index_d_exports;
1096
+ declare const Alert: react11.FC<AlertRootProps> & typeof index_d_exports$1;
1097
+ declare const Card: react11.FC<CardRootProps> & typeof index_d_exports$2;
1098
+ declare const DescriptionList: react11.FC<DescriptionListRootProps> & typeof index_d_exports$3;
1099
+ declare const Dialog: react11.FC<DialogRootProps> & typeof index_d_exports$4;
1100
+ declare const Fieldset: react11.FC<FieldsetRootProps> & typeof index_d_exports$5;
1101
+ declare const Grid: react11.FC<GridRootProps> & typeof index_d_exports$6;
1094
1102
  declare const InputPrimitive: (({
1095
1103
  className,
1096
1104
  erroneous,
1097
1105
  ...props
1098
1106
  }: RootProps) => react_jsx_runtime0.JSX.Element) & typeof index_d_exports$7;
1099
- declare const Lists: react13.FC<ListsRootProps> & typeof index_d_exports$8;
1100
- declare const Table: react13.FC<TableRootProps> & typeof index_d_exports$11;
1101
- declare const Progress: react13.FC<ProgressRootProps> & typeof index_d_exports$9;
1102
- declare const Summary: react13.FC<SummaryProps> & typeof index_d_exports$10;
1103
- declare const TaskList: react13.FC<TaskListRootProps> & typeof index_d_exports$12;
1107
+ declare const Lists: react11.FC<ListsRootProps> & typeof index_d_exports$8;
1108
+ declare const Table: react11.FC<TableRootProps> & typeof index_d_exports$11;
1109
+ declare const Progress: react11.FC<ProgressRootProps> & typeof index_d_exports$9;
1110
+ declare const Summary: react11.FC<SummaryProps> & typeof index_d_exports$10;
1111
+ declare const TaskList: react11.FC<TaskListRootProps> & typeof index_d_exports$12;
1104
1112
  //#endregion
1105
- export { Accordion, type AccordionContentProps, type AccordionGroupProps, type AccordionRootProps, type AccordionSummaryProps, Alert, type AlertBodyProps, type AlertHeaderProps, type AlertRootProps, Badge, type BadgeProps, Body, Button, type ButtonProps, Card, type CardBodyProps, type CardContainerProps, type CardFooterProps, type CardHeaderProps, type CardMediaProps, type CardPrelineProps, type CardRootProps, type CardSublineProps, type CardTitleProps, CheckboxInput, type CheckboxInputProps, DateInput, type DateInputProps, DescriptionList, type DescriptionListItemProps, type DescriptionListKeyProps, type DescriptionListRootProps, type DescriptionListValueProps, Dialog, type DialogButtonProps, type DialogContentProps, type DialogFooterProps, type DialogHeaderProps, type DialogModalProps, type DialogRootProps, type DialogTriggerProps, Divider, EmailInput, type EmailInputProps, Fieldset, type FieldsetContentProps, type FieldsetErrorProps, type FieldsetHintProps, type FieldsetLegendProps, type FieldsetRootProps, FileInput, type FileInputProps, Grid, type GridColumnProps, type GridRootProps, type GridRowProps, Heading, Icon, type IconProps, type InputErrorProps, type HintProps as InputHintProps, type LabelProps as InputLabelProps, InputPrimitive, type RootProps as InputRootProps, Kopfzeile, type KopfzeileProps, Label, type LabelProps$1 as LabelProps, Link, type LinkProps, Lists, type ListsBulletProps, type ListsItemProps, type ListsNumberProps, type ListsRootProps, Loader, type LoaderProps, NumberInput, type NumberInputProps, PasswordInput, type PasswordInputProps, Preline, type PrelineProps, Progress, type ProgressBarProps, type ProgressCancelProps, type ProgressHeaderProps, type ProgressLabelProps, type ProgressPercentageProps, type ProgressRootProps, RadioInput, type RadioInputProps, SelectInput, type SelectInputProps, Subline, type SublineProps, Summary, type SummaryActionsProps, type SummaryBodyProps, type SummaryGroupHeadingProps, type SummaryGroupProps, type SummaryHeadingProps, type SummaryProps, Table, type TableBodyProps, type TableCellProps, type TableColumnProps, type TableFooterProps, type TableHeaderProps, type TableRootProps, type TableRowProps, TaskList, type TaskListHeadingProps, type TaskListItemProps, type TaskListProps, type TaskListRootProps, TelInput, type TelInputProps, TextInput, type TextInputProps, TextareaInput, type TextareaInputProps, type Theme, ThemeProvider, type ThemeProviderProps, Title, type TitleProps, UrlInput, type UrlInputProps };
1113
+ export { Accordion, type AccordionContentProps, type AccordionGroupProps, type AccordionRootProps, type AccordionSummaryProps, Alert, type AlertBodyProps, type AlertHeaderProps, type AlertRootProps, Badge, type BadgeProps, Body, Button, type ButtonProps, Card, type CardBodyProps, type CardContainerProps, type CardFooterProps, type CardHeaderProps, type CardMediaProps, type CardPrelineProps, type CardRootProps, type CardSublineProps, type CardTitleProps, CheckboxInput, type CheckboxInputProps, DateInput, type DateInputProps, DescriptionList, type DescriptionListItemProps, type DescriptionListKeyProps, type DescriptionListRootProps, type DescriptionListValueProps, Dialog, type DialogButtonProps, type DialogContentProps, type DialogFooterProps, type DialogHeaderProps, type DialogModalProps, type DialogRootProps, type DialogTriggerProps, Divider, EmailInput, type EmailInputProps, Fieldset, type FieldsetContentProps, type FieldsetErrorProps, type FieldsetHintProps, type FieldsetLegendProps, type FieldsetRootProps, FileInput, type FileInputProps, Grid, type GridColumnProps, type GridRootProps, type GridRowProps, Heading, Icon, type IconProps, type InputErrorProps, type HintProps as InputHintProps, type LabelProps as InputLabelProps, InputPrimitive, type RootProps as InputRootProps, Kopfzeile, type KopfzeileProps, Label, type LabelProps$1 as LabelProps, Link, LinkButton, type LinkProps, Lists, type ListsBulletProps, type ListsItemProps, type ListsNumberProps, type ListsRootProps, Loader, type LoaderProps, NumberInput, type NumberInputProps, PasswordInput, type PasswordInputProps, Preline, type PrelineProps, Progress, type ProgressBarProps, type ProgressHeaderProps, type ProgressLabelProps, type ProgressRootProps, RadioInput, type RadioInputProps, SelectInput, type SelectInputProps, Subline, type SublineProps, Summary, type SummaryActionsProps, type SummaryBodyProps, type SummaryGroupHeadingProps, type SummaryGroupProps, type SummaryHeadingProps, type SummaryProps, Table, type TableBodyProps, type TableCellProps, type TableColumnProps, type TableFooterProps, type TableHeaderProps, type TableRootProps, type TableRowProps, TaskList, type TaskListHeadingProps, type TaskListItemProps, type TaskListProps, type TaskListRootProps, TelInput, type TelInputProps, TextInput, type TextInputProps, TextareaInput, type TextareaInputProps, type Theme, ThemeProvider, type ThemeProviderProps, Title, type TitleProps, UrlInput, type UrlInputProps };
1106
1114
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime0 from "react/jsx-runtime";
2
- import * as react13 from "react";
2
+ import * as react11 from "react";
3
3
  import React$1 from "react";
4
4
 
5
5
  //#region src/components/Accordion/Content.d.ts
@@ -271,13 +271,13 @@ declare const GridRow: React$1.FC<GridRowProps>;
271
271
  interface CheckboxInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type' | 'aria-describedby'> {
272
272
  erroneous?: boolean;
273
273
  }
274
- declare const CheckboxInput$1: react13.ForwardRefExoticComponent<CheckboxInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
274
+ declare const CheckboxInput$1: react11.ForwardRefExoticComponent<CheckboxInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
275
275
  //#endregion
276
276
  //#region src/components/Input/Primitives/Email/EmailInput.d.ts
277
277
  interface EmailInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type'> {
278
278
  erroneous?: boolean;
279
279
  }
280
- declare const EmailInput$1: react13.ForwardRefExoticComponent<EmailInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
280
+ declare const EmailInput$1: react11.ForwardRefExoticComponent<EmailInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
281
281
  //#endregion
282
282
  //#region src/components/Input/Primitives/Error.d.ts
283
283
  interface InputErrorProps extends Omit<React.ComponentPropsWithoutRef<'p'>, 'role'> {
@@ -297,7 +297,7 @@ interface FileInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>,
297
297
  supportedFormats?: (FileExtension | MimeType)[];
298
298
  erroneous?: boolean;
299
299
  }
300
- declare const FileInput$1: react13.ForwardRefExoticComponent<FileInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
300
+ declare const FileInput$1: react11.ForwardRefExoticComponent<FileInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
301
301
  //#endregion
302
302
  //#region src/components/Input/Primitives/Hint.d.ts
303
303
  interface HintProps extends React.ComponentPropsWithoutRef<'p'> {
@@ -333,13 +333,13 @@ declare const Label$1: ({
333
333
  interface PasswordInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type'> {
334
334
  erroneous?: boolean;
335
335
  }
336
- declare const PasswordInput$1: react13.ForwardRefExoticComponent<PasswordInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
336
+ declare const PasswordInput$1: react11.ForwardRefExoticComponent<PasswordInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
337
337
  //#endregion
338
338
  //#region src/components/Input/Primitives/Radio/RadioInput.d.ts
339
339
  interface RadioInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type' | 'aria-describedby'> {
340
340
  erroneous?: boolean;
341
341
  }
342
- declare const RadioInput$1: react13.ForwardRefExoticComponent<RadioInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
342
+ declare const RadioInput$1: react11.ForwardRefExoticComponent<RadioInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
343
343
  //#endregion
344
344
  //#region src/components/Input/Primitives/Root.d.ts
345
345
  interface RootProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -360,31 +360,31 @@ interface SelectInputProps$1 extends React.ComponentPropsWithoutRef<'select'> {
360
360
  label: string;
361
361
  }>;
362
362
  }
363
- declare const SelectInput$1: react13.ForwardRefExoticComponent<SelectInputProps$1 & react13.RefAttributes<HTMLSelectElement>>;
363
+ declare const SelectInput$1: react11.ForwardRefExoticComponent<SelectInputProps$1 & react11.RefAttributes<HTMLSelectElement>>;
364
364
  //#endregion
365
365
  //#region src/components/Input/Primitives/Tel/TelInput.d.ts
366
366
  interface TelInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type' | 'autoComplete'> {
367
367
  erroneous?: boolean;
368
368
  }
369
- declare const TelInput$1: react13.ForwardRefExoticComponent<TelInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
369
+ declare const TelInput$1: react11.ForwardRefExoticComponent<TelInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
370
370
  //#endregion
371
371
  //#region src/components/Input/Primitives/Text/TextInput.d.ts
372
372
  interface TextInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type'> {
373
373
  erroneous?: boolean;
374
374
  }
375
- declare const TextInput$1: react13.ForwardRefExoticComponent<TextInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
375
+ declare const TextInput$1: react11.ForwardRefExoticComponent<TextInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
376
376
  //#endregion
377
377
  //#region src/components/Input/Primitives/Textarea/TextareaInput.d.ts
378
378
  interface TextareaInputProps$1 extends React.ComponentPropsWithoutRef<'textarea'> {
379
379
  erroneous?: boolean;
380
380
  }
381
- declare const TextareaInput$1: react13.ForwardRefExoticComponent<TextareaInputProps$1 & react13.RefAttributes<HTMLTextAreaElement>>;
381
+ declare const TextareaInput$1: react11.ForwardRefExoticComponent<TextareaInputProps$1 & react11.RefAttributes<HTMLTextAreaElement>>;
382
382
  //#endregion
383
383
  //#region src/components/Input/Primitives/Url/UrlInput.d.ts
384
384
  interface UrlInputProps$1 extends Omit<React.ComponentPropsWithoutRef<'input'>, 'type'> {
385
385
  erroneous?: boolean;
386
386
  }
387
- declare const UrlInput$1: react13.ForwardRefExoticComponent<UrlInputProps$1 & react13.RefAttributes<HTMLInputElement>>;
387
+ declare const UrlInput$1: react11.ForwardRefExoticComponent<UrlInputProps$1 & react11.RefAttributes<HTMLInputElement>>;
388
388
  //#endregion
389
389
  //#region src/components/Lists/Root.d.ts
390
390
  interface ListsRootProps extends Omit<React.ComponentPropsWithoutRef<'ol' | 'ul'>, 'type'> {
@@ -393,6 +393,7 @@ interface ListsRootProps extends Omit<React.ComponentPropsWithoutRef<'ol' | 'ul'
393
393
  style?: React.CSSProperties;
394
394
  size?: 'default' | 'large' | 'small';
395
395
  type?: 'bullet' | 'number' | 'link';
396
+ horizontal?: boolean;
396
397
  }
397
398
  declare const ListsRoot: React.FC<ListsRootProps>;
398
399
  //#endregion
@@ -426,12 +427,6 @@ declare const ListsNumber: React.FC<ListsNumberProps>;
426
427
  interface ProgressBarProps extends React.ComponentPropsWithoutRef<'progress'> {}
427
428
  declare const ProgressBar: React.FC<ProgressBarProps>;
428
429
  //#endregion
429
- //#region src/components/Progress/Cancel.d.ts
430
- interface ProgressCancelProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
431
- onCancel?: () => void;
432
- }
433
- declare const ProgressCancel: React.FC<ProgressCancelProps>;
434
- //#endregion
435
430
  //#region src/components/Progress/Header.d.ts
436
431
  interface ProgressHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
437
432
  declare const ProgressHeader: React.FC<ProgressHeaderProps>;
@@ -440,12 +435,6 @@ declare const ProgressHeader: React.FC<ProgressHeaderProps>;
440
435
  interface ProgressLabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {}
441
436
  declare const ProgressLabel: React.FC<ProgressLabelProps>;
442
437
  //#endregion
443
- //#region src/components/Progress/Percentage.d.ts
444
- interface ProgressPercentageProps extends React.HTMLAttributes<HTMLSpanElement> {
445
- formatter?: (percentage: number) => string;
446
- }
447
- declare const ProgressPercentage: React.FC<ProgressPercentageProps>;
448
- //#endregion
449
438
  //#region src/components/Progress/Root.d.ts
450
439
  interface ProgressRootProps extends React$1.HTMLAttributes<HTMLDivElement> {
451
440
  value: number;
@@ -600,13 +589,14 @@ interface TaskListRootProps extends React.ComponentPropsWithoutRef<'div'> {}
600
589
  declare const TaskListRoot: React.FC<TaskListRootProps>;
601
590
  //#endregion
602
591
  //#region src/components/Badge/Badge.d.ts
603
- interface BadgeProps extends React.ComponentPropsWithoutRef<'span'> {
592
+ interface BadgeProps extends React$1.ComponentPropsWithoutRef<'span'> {
604
593
  variant: 'info' | 'success' | 'warning' | 'danger';
605
594
  title: string;
606
- icon?: Omit<IconProps, 'name' | 'aria-hidden'>;
595
+ icon?: React$1.ReactNode;
596
+ iconSize?: 'small' | 'default' | 'large' | 'x-large';
607
597
  showIcon?: boolean;
608
598
  }
609
- declare const Badge: React.FC<BadgeProps>;
599
+ declare const Badge: React$1.FC<BadgeProps>;
610
600
  //#endregion
611
601
  //#region src/components/Body/Body.d.ts
612
602
  interface BodyProps extends Omit<React.ComponentPropsWithoutRef<'p'>, 'text'> {
@@ -619,16 +609,30 @@ interface BodyProps extends Omit<React.ComponentPropsWithoutRef<'p'>, 'text'> {
619
609
  declare const Body: React.FC<BodyProps>;
620
610
  //#endregion
621
611
  //#region src/components/Button/Button.d.ts
622
- interface ButtonProps extends Omit<React$1.ComponentPropsWithoutRef<'button'>, 'text'> {
612
+ type CommonProps = {
623
613
  variant?: 'primary' | 'secondary' | 'tertiary';
624
614
  isBlock?: boolean;
625
- icon?: IconProps;
615
+ icon?: IconProps | React$1.ReactNode;
616
+ iconSize?: 'small' | 'default' | 'large' | 'x-large';
626
617
  iconOnly?: boolean;
627
618
  iconLeft?: boolean;
628
619
  text?: string | null;
629
- ref?: React$1.Ref<HTMLButtonElement>;
630
- }
631
- declare const Button: React$1.FC<ButtonProps>;
620
+ children?: React$1.ReactNode;
621
+ className?: string;
622
+ };
623
+ type ButtonAsButton = CommonProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'className'> & {
624
+ as?: 'button';
625
+ href?: never;
626
+ target?: never;
627
+ };
628
+ type ButtonAsAnchor = CommonProps & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, 'type' | 'className'> & {
629
+ as: 'a';
630
+ href: string;
631
+ target?: '_self' | '_blank';
632
+ disabled?: boolean;
633
+ };
634
+ type ButtonProps = ButtonAsButton | ButtonAsAnchor;
635
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
632
636
  //#endregion
633
637
  //#region src/components/Divider/Divider.d.ts
634
638
  declare const Divider: React.FC<React.ComponentPropsWithoutRef<'hr'>>;
@@ -769,6 +773,10 @@ interface KopfzeileProps extends React.ComponentPropsWithoutRef<'div'> {
769
773
  }
770
774
  declare const Kopfzeile: React.FC<KopfzeileProps>;
771
775
  //#endregion
776
+ //#region src/components/LinkButton/LinkButton.d.ts
777
+ type LinkButtonProps = Omit<ButtonAsAnchor, 'as'>;
778
+ declare const LinkButton: React$1.FC<LinkButtonProps>;
779
+ //#endregion
772
780
  //#region src/components/Loader/Loader.d.ts
773
781
  interface LoaderProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'role' | 'aria-atomic'> {
774
782
  visible?: boolean;
@@ -1082,23 +1090,23 @@ declare const ThemeProvider: ({
1082
1090
  }: ThemeProviderProps) => react_jsx_runtime0.JSX.Element;
1083
1091
  //#endregion
1084
1092
  //#region src/index.d.ts
1085
- declare const Accordion: react13.FC<AccordionRootProps> & typeof index_d_exports;
1086
- declare const Alert: react13.FC<AlertRootProps> & typeof index_d_exports$1;
1087
- declare const Card: react13.FC<CardRootProps> & typeof index_d_exports$2;
1088
- declare const DescriptionList: react13.FC<DescriptionListRootProps> & typeof index_d_exports$3;
1089
- declare const Dialog: react13.FC<DialogRootProps> & typeof index_d_exports$4;
1090
- declare const Fieldset: react13.FC<FieldsetRootProps> & typeof index_d_exports$5;
1091
- declare const Grid: react13.FC<GridRootProps> & typeof index_d_exports$6;
1093
+ declare const Accordion: react11.FC<AccordionRootProps> & typeof index_d_exports;
1094
+ declare const Alert: react11.FC<AlertRootProps> & typeof index_d_exports$1;
1095
+ declare const Card: react11.FC<CardRootProps> & typeof index_d_exports$2;
1096
+ declare const DescriptionList: react11.FC<DescriptionListRootProps> & typeof index_d_exports$3;
1097
+ declare const Dialog: react11.FC<DialogRootProps> & typeof index_d_exports$4;
1098
+ declare const Fieldset: react11.FC<FieldsetRootProps> & typeof index_d_exports$5;
1099
+ declare const Grid: react11.FC<GridRootProps> & typeof index_d_exports$6;
1092
1100
  declare const InputPrimitive: (({
1093
1101
  className,
1094
1102
  erroneous,
1095
1103
  ...props
1096
1104
  }: RootProps) => react_jsx_runtime0.JSX.Element) & typeof index_d_exports$7;
1097
- declare const Lists: react13.FC<ListsRootProps> & typeof index_d_exports$8;
1098
- declare const Table: react13.FC<TableRootProps> & typeof index_d_exports$11;
1099
- declare const Progress: react13.FC<ProgressRootProps> & typeof index_d_exports$9;
1100
- declare const Summary: react13.FC<SummaryProps> & typeof index_d_exports$10;
1101
- declare const TaskList: react13.FC<TaskListRootProps> & typeof index_d_exports$12;
1105
+ declare const Lists: react11.FC<ListsRootProps> & typeof index_d_exports$8;
1106
+ declare const Table: react11.FC<TableRootProps> & typeof index_d_exports$11;
1107
+ declare const Progress: react11.FC<ProgressRootProps> & typeof index_d_exports$9;
1108
+ declare const Summary: react11.FC<SummaryProps> & typeof index_d_exports$10;
1109
+ declare const TaskList: react11.FC<TaskListRootProps> & typeof index_d_exports$12;
1102
1110
  //#endregion
1103
- export { Accordion, type AccordionContentProps, type AccordionGroupProps, type AccordionRootProps, type AccordionSummaryProps, Alert, type AlertBodyProps, type AlertHeaderProps, type AlertRootProps, Badge, type BadgeProps, Body, Button, type ButtonProps, Card, type CardBodyProps, type CardContainerProps, type CardFooterProps, type CardHeaderProps, type CardMediaProps, type CardPrelineProps, type CardRootProps, type CardSublineProps, type CardTitleProps, CheckboxInput, type CheckboxInputProps, DateInput, type DateInputProps, DescriptionList, type DescriptionListItemProps, type DescriptionListKeyProps, type DescriptionListRootProps, type DescriptionListValueProps, Dialog, type DialogButtonProps, type DialogContentProps, type DialogFooterProps, type DialogHeaderProps, type DialogModalProps, type DialogRootProps, type DialogTriggerProps, Divider, EmailInput, type EmailInputProps, Fieldset, type FieldsetContentProps, type FieldsetErrorProps, type FieldsetHintProps, type FieldsetLegendProps, type FieldsetRootProps, FileInput, type FileInputProps, Grid, type GridColumnProps, type GridRootProps, type GridRowProps, Heading, Icon, type IconProps, type InputErrorProps, type HintProps as InputHintProps, type LabelProps as InputLabelProps, InputPrimitive, type RootProps as InputRootProps, Kopfzeile, type KopfzeileProps, Label, type LabelProps$1 as LabelProps, Link, type LinkProps, Lists, type ListsBulletProps, type ListsItemProps, type ListsNumberProps, type ListsRootProps, Loader, type LoaderProps, NumberInput, type NumberInputProps, PasswordInput, type PasswordInputProps, Preline, type PrelineProps, Progress, type ProgressBarProps, type ProgressCancelProps, type ProgressHeaderProps, type ProgressLabelProps, type ProgressPercentageProps, type ProgressRootProps, RadioInput, type RadioInputProps, SelectInput, type SelectInputProps, Subline, type SublineProps, Summary, type SummaryActionsProps, type SummaryBodyProps, type SummaryGroupHeadingProps, type SummaryGroupProps, type SummaryHeadingProps, type SummaryProps, Table, type TableBodyProps, type TableCellProps, type TableColumnProps, type TableFooterProps, type TableHeaderProps, type TableRootProps, type TableRowProps, TaskList, type TaskListHeadingProps, type TaskListItemProps, type TaskListProps, type TaskListRootProps, TelInput, type TelInputProps, TextInput, type TextInputProps, TextareaInput, type TextareaInputProps, type Theme, ThemeProvider, type ThemeProviderProps, Title, type TitleProps, UrlInput, type UrlInputProps };
1111
+ export { Accordion, type AccordionContentProps, type AccordionGroupProps, type AccordionRootProps, type AccordionSummaryProps, Alert, type AlertBodyProps, type AlertHeaderProps, type AlertRootProps, Badge, type BadgeProps, Body, Button, type ButtonProps, Card, type CardBodyProps, type CardContainerProps, type CardFooterProps, type CardHeaderProps, type CardMediaProps, type CardPrelineProps, type CardRootProps, type CardSublineProps, type CardTitleProps, CheckboxInput, type CheckboxInputProps, DateInput, type DateInputProps, DescriptionList, type DescriptionListItemProps, type DescriptionListKeyProps, type DescriptionListRootProps, type DescriptionListValueProps, Dialog, type DialogButtonProps, type DialogContentProps, type DialogFooterProps, type DialogHeaderProps, type DialogModalProps, type DialogRootProps, type DialogTriggerProps, Divider, EmailInput, type EmailInputProps, Fieldset, type FieldsetContentProps, type FieldsetErrorProps, type FieldsetHintProps, type FieldsetLegendProps, type FieldsetRootProps, FileInput, type FileInputProps, Grid, type GridColumnProps, type GridRootProps, type GridRowProps, Heading, Icon, type IconProps, type InputErrorProps, type HintProps as InputHintProps, type LabelProps as InputLabelProps, InputPrimitive, type RootProps as InputRootProps, Kopfzeile, type KopfzeileProps, Label, type LabelProps$1 as LabelProps, Link, LinkButton, type LinkProps, Lists, type ListsBulletProps, type ListsItemProps, type ListsNumberProps, type ListsRootProps, Loader, type LoaderProps, NumberInput, type NumberInputProps, PasswordInput, type PasswordInputProps, Preline, type PrelineProps, Progress, type ProgressBarProps, type ProgressHeaderProps, type ProgressLabelProps, type ProgressRootProps, RadioInput, type RadioInputProps, SelectInput, type SelectInputProps, Subline, type SublineProps, Summary, type SummaryActionsProps, type SummaryBodyProps, type SummaryGroupHeadingProps, type SummaryGroupProps, type SummaryHeadingProps, type SummaryProps, Table, type TableBodyProps, type TableCellProps, type TableColumnProps, type TableFooterProps, type TableHeaderProps, type TableRootProps, type TableRowProps, TaskList, type TaskListHeadingProps, type TaskListItemProps, type TaskListProps, type TaskListRootProps, TelInput, type TelInputProps, TextInput, type TextInputProps, TextareaInput, type TextareaInputProps, type Theme, ThemeProvider, type ThemeProviderProps, Title, type TitleProps, UrlInput, type UrlInputProps };
1104
1112
  //# sourceMappingURL=index.d.ts.map