@postenbring/hedwig-react 0.0.66 → 0.0.68
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/_tsup-dts-rollup.d.mts +310 -128
- package/dist/_tsup-dts-rollup.d.ts +310 -128
- package/dist/accordion/index.d.mts +3 -3
- package/dist/accordion/index.d.ts +3 -3
- package/dist/accordion/index.js +8 -2
- package/dist/accordion/index.js.map +1 -1
- package/dist/accordion/index.mjs +14 -5
- package/dist/box/index.d.mts +1 -1
- package/dist/box/index.d.ts +1 -1
- package/dist/box/index.js +4 -2
- package/dist/box/index.js.map +1 -1
- package/dist/box/index.mjs +6 -3
- package/dist/card/index.d.mts +2 -2
- package/dist/card/index.d.ts +2 -2
- package/dist/card/index.js +12 -2
- package/dist/card/index.js.map +1 -1
- package/dist/card/index.mjs +14 -3
- package/dist/{chunk-2ICZ3Q7N.mjs → chunk-2FXMUF6K.mjs} +2 -2
- package/dist/{chunk-X46LM2QH.mjs → chunk-3KZOKDKP.mjs} +13 -3
- package/dist/chunk-3KZOKDKP.mjs.map +1 -0
- package/dist/{chunk-CLXHNRAI.mjs → chunk-B56JZJOS.mjs} +5 -3
- package/dist/chunk-B56JZJOS.mjs.map +1 -0
- package/dist/chunk-BVG5VSZK.mjs +1 -0
- package/dist/{chunk-RVJD2UZF.mjs → chunk-DFH4YKQA.mjs} +2 -2
- package/dist/chunk-DFH4YKQA.mjs.map +1 -0
- package/dist/chunk-DIDVODBP.mjs +13 -0
- package/dist/chunk-DIDVODBP.mjs.map +1 -0
- package/dist/{chunk-AR2NOI4U.mjs → chunk-EJ7ANN7M.mjs} +1 -1
- package/dist/{chunk-AR2NOI4U.mjs.map → chunk-EJ7ANN7M.mjs.map} +1 -1
- package/dist/{chunk-ZTYEOZLK.mjs → chunk-F4STR6SD.mjs} +2 -2
- package/dist/chunk-F4STR6SD.mjs.map +1 -0
- package/dist/{chunk-2JH4FG63.mjs → chunk-FOZSX44S.mjs} +2 -2
- package/dist/{chunk-2JH4FG63.mjs.map → chunk-FOZSX44S.mjs.map} +1 -1
- package/dist/chunk-G2SOAFGS.mjs +86 -0
- package/dist/chunk-G2SOAFGS.mjs.map +1 -0
- package/dist/{chunk-RXIP2JTE.mjs → chunk-K2HG7WRK.mjs} +2 -2
- package/dist/{chunk-RXIP2JTE.mjs.map → chunk-K2HG7WRK.mjs.map} +1 -1
- package/dist/{chunk-RK6BB3HH.mjs → chunk-KTRIVJM3.mjs} +2 -2
- package/dist/{chunk-BZNDK3KJ.mjs → chunk-NMMFIRLZ.mjs} +1 -1
- package/dist/{chunk-BZNDK3KJ.mjs.map → chunk-NMMFIRLZ.mjs.map} +1 -1
- package/dist/{chunk-BZRCDLEW.mjs → chunk-O32FZU7E.mjs} +2 -2
- package/dist/{chunk-IAS3E2S3.mjs → chunk-PUESATBQ.mjs} +2 -2
- package/dist/{chunk-27XJO7E4.mjs → chunk-QGZU7Z2W.mjs} +2 -2
- package/dist/{chunk-MRCE2Q7A.mjs → chunk-QYSLVQ4F.mjs} +2 -2
- package/dist/{chunk-MRCE2Q7A.mjs.map → chunk-QYSLVQ4F.mjs.map} +1 -1
- package/dist/chunk-TDLSHJ4Z.mjs +1 -0
- package/dist/{chunk-SKI2APSK.mjs → chunk-TNU64NUN.mjs} +13 -7
- package/dist/chunk-TNU64NUN.mjs.map +1 -0
- package/dist/{chunk-JC6DBIFE.mjs → chunk-XE4UZBL2.mjs} +1 -1
- package/dist/{chunk-JC6DBIFE.mjs.map → chunk-XE4UZBL2.mjs.map} +1 -1
- package/dist/chunk-XFKD6EEJ.mjs +1 -0
- package/dist/chunk-XFKD6EEJ.mjs.map +1 -0
- package/dist/chunk-XNA5MFJC.mjs +59 -0
- package/dist/chunk-XNA5MFJC.mjs.map +1 -0
- package/dist/{chunk-XIHKASNB.mjs → chunk-XYIY6FHW.mjs} +1 -1
- package/dist/{chunk-XIHKASNB.mjs.map → chunk-XYIY6FHW.mjs.map} +1 -1
- package/dist/{chunk-6TI7ACBR.mjs → chunk-YC7MT6SO.mjs} +2 -2
- package/dist/{chunk-WCA2WPFS.mjs → chunk-ZL56N4UK.mjs} +14 -2
- package/dist/{chunk-WCA2WPFS.mjs.map → chunk-ZL56N4UK.mjs.map} +1 -1
- package/dist/chunk-ZQHLYAJU.mjs +1 -0
- package/dist/chunk-ZQHLYAJU.mjs.map +1 -0
- package/dist/{chunk-IFGQR4J6.mjs → chunk-ZRFDCZ62.mjs} +2 -2
- package/dist/footer/footer.js.map +1 -1
- package/dist/footer/footer.mjs +3 -3
- package/dist/footer/index.d.mts +3 -3
- package/dist/footer/index.d.ts +3 -3
- package/dist/footer/index.js +10 -2
- package/dist/footer/index.js.map +1 -1
- package/dist/footer/index.mjs +14 -5
- package/dist/form/date-picker/date-picker.d.mts +2 -0
- package/dist/form/date-picker/date-picker.d.ts +2 -0
- package/dist/form/date-picker/date-picker.js +265 -0
- package/dist/form/date-picker/date-picker.js.map +1 -0
- package/dist/form/date-picker/date-picker.mjs +13 -0
- package/dist/form/date-picker/date-picker.mjs.map +1 -0
- package/dist/form/date-picker/index.d.mts +2 -0
- package/dist/form/date-picker/index.d.ts +2 -0
- package/dist/form/date-picker/index.js +267 -0
- package/dist/form/date-picker/index.js.map +1 -0
- package/dist/form/date-picker/index.mjs +14 -0
- package/dist/form/date-picker/index.mjs.map +1 -0
- package/dist/form/index.d.mts +10 -8
- package/dist/form/index.d.ts +10 -8
- package/dist/form/index.js +239 -131
- package/dist/form/index.js.map +1 -1
- package/dist/form/index.mjs +12 -6
- package/dist/form/input/index.js +12 -6
- package/dist/form/input/index.js.map +1 -1
- package/dist/form/input/index.mjs +2 -2
- package/dist/form/input/input.js +12 -6
- package/dist/form/input/input.js.map +1 -1
- package/dist/form/input/input.mjs +2 -2
- package/dist/form/input-group/index.js +12 -6
- package/dist/form/input-group/index.js.map +1 -1
- package/dist/form/input-group/index.mjs +1 -1
- package/dist/form/input-group/input-group.js +12 -6
- package/dist/form/input-group/input-group.js.map +1 -1
- package/dist/form/input-group/input-group.mjs +1 -1
- package/dist/form/select/index.js +12 -6
- package/dist/form/select/index.js.map +1 -1
- package/dist/form/select/index.mjs +2 -2
- package/dist/form/select/select.js +12 -6
- package/dist/form/select/select.js.map +1 -1
- package/dist/form/select/select.mjs +2 -2
- package/dist/form/textarea/index.js +12 -6
- package/dist/form/textarea/index.js.map +1 -1
- package/dist/form/textarea/index.mjs +2 -2
- package/dist/form/textarea/textarea.js +12 -6
- package/dist/form/textarea/textarea.js.map +1 -1
- package/dist/form/textarea/textarea.mjs +2 -2
- package/dist/index-no-css.d.mts +31 -23
- package/dist/index-no-css.d.ts +31 -23
- package/dist/index-no-css.js +603 -414
- package/dist/index-no-css.js.map +1 -1
- package/dist/index-no-css.mjs +107 -40
- package/dist/index.d.mts +31 -23
- package/dist/index.d.ts +31 -23
- package/dist/index.js +603 -414
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +107 -40
- package/dist/index.mjs.map +1 -1
- package/dist/layout/grid/grid.d.mts +4 -0
- package/dist/layout/grid/grid.d.ts +4 -0
- package/dist/layout/grid/grid.js +122 -0
- package/dist/layout/grid/grid.js.map +1 -0
- package/dist/layout/grid/grid.mjs +12 -0
- package/dist/layout/grid/grid.mjs.map +1 -0
- package/dist/layout/grid/index.d.mts +4 -0
- package/dist/layout/grid/index.d.ts +4 -0
- package/dist/layout/grid/index.js +128 -0
- package/dist/layout/grid/index.js.map +1 -0
- package/dist/layout/grid/index.mjs +14 -0
- package/dist/layout/grid/index.mjs.map +1 -0
- package/dist/layout/index.d.mts +5 -1
- package/dist/layout/index.d.ts +5 -1
- package/dist/layout/index.js +68 -18
- package/dist/layout/index.js.map +1 -1
- package/dist/layout/index.mjs +14 -5
- package/dist/layout/responsive.js +1 -1
- package/dist/layout/responsive.js.map +1 -1
- package/dist/layout/responsive.mjs +1 -1
- package/dist/layout/stack/index.js +1 -1
- package/dist/layout/stack/index.js.map +1 -1
- package/dist/layout/stack/index.mjs +3 -2
- package/dist/layout/stack/stack.js +1 -1
- package/dist/layout/stack/stack.js.map +1 -1
- package/dist/layout/stack/stack.mjs +2 -2
- package/dist/message/index.d.mts +2 -0
- package/dist/message/index.d.ts +2 -0
- package/dist/message/index.js +6 -2
- package/dist/message/index.js.map +1 -1
- package/dist/message/index.mjs +8 -3
- package/dist/message/message.d.mts +2 -2
- package/dist/message/message.d.ts +2 -2
- package/dist/modal/index.d.mts +2 -2
- package/dist/modal/index.d.ts +2 -2
- package/dist/modal/index.js +8 -2
- package/dist/modal/index.js.map +1 -1
- package/dist/modal/index.mjs +11 -4
- package/dist/modal/modal.js.map +1 -1
- package/dist/modal/modal.mjs +2 -2
- package/dist/navbar/index.d.mts +3 -3
- package/dist/navbar/index.d.ts +3 -3
- package/dist/navbar/index.js +41 -11
- package/dist/navbar/index.js.map +1 -1
- package/dist/navbar/index.mjs +13 -3
- package/dist/navbar/navbar-expandable-menu.js +33 -11
- package/dist/navbar/navbar-expandable-menu.js.map +1 -1
- package/dist/navbar/navbar-expandable-menu.mjs +2 -1
- package/dist/tabs/index.js +13 -1
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +3 -3
- package/dist/tabs/tabs-list.js +13 -1
- package/dist/tabs/tabs-list.js.map +1 -1
- package/dist/tabs/tabs-list.mjs +2 -2
- package/dist/utils.d.mts +1 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +13 -0
- package/dist/utils.js.map +1 -1
- package/dist/utils.mjs +3 -1
- package/dist/warning-banner/index.js.map +1 -1
- package/dist/warning-banner/index.mjs +2 -2
- package/dist/warning-banner/warning-banner.js.map +1 -1
- package/dist/warning-banner/warning-banner.mjs +2 -2
- package/package.json +6 -6
- package/dist/chunk-CLXHNRAI.mjs.map +0 -1
- package/dist/chunk-L4GQJETB.mjs +0 -1
- package/dist/chunk-RVJD2UZF.mjs.map +0 -1
- package/dist/chunk-SKI2APSK.mjs.map +0 -1
- package/dist/chunk-T24JZIQO.mjs +0 -1
- package/dist/chunk-X46LM2QH.mjs.map +0 -1
- package/dist/chunk-ZTYEOZLK.mjs.map +0 -1
- /package/dist/{chunk-2ICZ3Q7N.mjs.map → chunk-2FXMUF6K.mjs.map} +0 -0
- /package/dist/{chunk-L4GQJETB.mjs.map → chunk-BVG5VSZK.mjs.map} +0 -0
- /package/dist/{chunk-RK6BB3HH.mjs.map → chunk-KTRIVJM3.mjs.map} +0 -0
- /package/dist/{chunk-BZRCDLEW.mjs.map → chunk-O32FZU7E.mjs.map} +0 -0
- /package/dist/{chunk-IAS3E2S3.mjs.map → chunk-PUESATBQ.mjs.map} +0 -0
- /package/dist/{chunk-27XJO7E4.mjs.map → chunk-QGZU7Z2W.mjs.map} +0 -0
- /package/dist/{chunk-T24JZIQO.mjs.map → chunk-TDLSHJ4Z.mjs.map} +0 -0
- /package/dist/{chunk-6TI7ACBR.mjs.map → chunk-YC7MT6SO.mjs.map} +0 -0
- /package/dist/{chunk-IFGQR4J6.mjs.map → chunk-ZRFDCZ62.mjs.map} +0 -0
|
@@ -22,7 +22,7 @@ import { default as React_3 } from 'react';
|
|
|
22
22
|
import { ReactElement } from 'react';
|
|
23
23
|
import { ReactNode } from 'react';
|
|
24
24
|
import { RefAttributes } from 'react';
|
|
25
|
-
import
|
|
25
|
+
import { SelectHTMLAttributes } from 'react';
|
|
26
26
|
import type { StoryObj } from '@storybook/react';
|
|
27
27
|
import type { TextareaHTMLAttributes } from 'react';
|
|
28
28
|
|
|
@@ -130,15 +130,15 @@ export { AccordionProps as AccordionProps_alias_3 }
|
|
|
130
130
|
|
|
131
131
|
export declare const AreYouSureDialog: Story_3;
|
|
132
132
|
|
|
133
|
-
export declare const Article:
|
|
133
|
+
export declare const Article: Story_25;
|
|
134
134
|
|
|
135
|
-
export declare const ArticleContent:
|
|
135
|
+
export declare const ArticleContent: Story_27;
|
|
136
136
|
|
|
137
137
|
export declare const AsALink: Story_5;
|
|
138
138
|
|
|
139
|
-
export declare const AsAReadMore:
|
|
139
|
+
export declare const AsAReadMore: Story_22;
|
|
140
140
|
|
|
141
|
-
export declare const Attention:
|
|
141
|
+
export declare const Attention: Story_21;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Helper component to animate the height of the children when they change
|
|
@@ -209,7 +209,7 @@ export { BaseButton as BaseButton_alias_3 }
|
|
|
209
209
|
|
|
210
210
|
export declare const BoundedCheckbox: Story_8;
|
|
211
211
|
|
|
212
|
-
export declare const BoundedRadiobutton:
|
|
212
|
+
export declare const BoundedRadiobutton: Story_13;
|
|
213
213
|
|
|
214
214
|
export declare const Box_alias_2: OverridableComponent<BoxProps, HTMLDivElement>;
|
|
215
215
|
|
|
@@ -315,9 +315,9 @@ export { BreadcrumbsProps as BreadcrumbsProps_alias_1 }
|
|
|
315
315
|
export { BreadcrumbsProps as BreadcrumbsProps_alias_2 }
|
|
316
316
|
export { BreadcrumbsProps as BreadcrumbsProps_alias_3 }
|
|
317
317
|
|
|
318
|
-
declare type Breakpoints = "
|
|
318
|
+
declare type Breakpoints = "initial" | "small" | "medium" | "large" | "xlarge";
|
|
319
319
|
|
|
320
|
-
export declare const ButtonAsLink:
|
|
320
|
+
export declare const ButtonAsLink: Story_18;
|
|
321
321
|
|
|
322
322
|
declare type ButtonProps = ButtonPropsInternal & ({
|
|
323
323
|
/**
|
|
@@ -546,7 +546,7 @@ export { CheckboxProps as CheckboxProps_alias_4 }
|
|
|
546
546
|
|
|
547
547
|
export declare function CloseIcon(): JSX_2.Element;
|
|
548
548
|
|
|
549
|
-
export declare const CompleteShowMoreShowLess:
|
|
549
|
+
export declare const CompleteShowMoreShowLess: Story_24;
|
|
550
550
|
|
|
551
551
|
/**
|
|
552
552
|
* Container is a layout component that is used to wrap content.
|
|
@@ -581,93 +581,137 @@ export { DarkBadge as DarkBadge_alias_1 }
|
|
|
581
581
|
export { DarkBadge as DarkBadge_alias_2 }
|
|
582
582
|
export { DarkBadge as DarkBadge_alias_3 }
|
|
583
583
|
|
|
584
|
-
export declare const Darkmode:
|
|
584
|
+
export declare const Darkmode: Story_27;
|
|
585
585
|
|
|
586
|
-
export declare const DarkmodeSmall:
|
|
586
|
+
export declare const DarkmodeSmall: Story_27;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* A basic implementation of a date picker
|
|
590
|
+
*
|
|
591
|
+
* This date picker is an implementation of native date picker, as you get
|
|
592
|
+
* with `<input type="date" />`, where the input field is dressed in Hedwig styling.
|
|
593
|
+
*
|
|
594
|
+
* Due to accessibility concerns you will only see the appropriate Hedwig calendar
|
|
595
|
+
* icon in Chrome. Firefox will show built in icon and Safari will show no icon.
|
|
596
|
+
* Not tested in Edge.
|
|
597
|
+
*/
|
|
598
|
+
declare const DatePicker: ForwardRefExoticComponent<Omit<InputGroupProps & InputHTMLAttributes<HTMLInputElement>, "children" | "type"> & {
|
|
599
|
+
/**
|
|
600
|
+
* Accessible title for the calendar button
|
|
601
|
+
*
|
|
602
|
+
* This button currently only shows in Chrome.
|
|
603
|
+
*
|
|
604
|
+
* @defaultValue "Åpne kalender"
|
|
605
|
+
*/
|
|
606
|
+
calendarButtonTitle?: string | undefined;
|
|
607
|
+
} & RefAttributes<HTMLInputElement>>;
|
|
608
|
+
export { DatePicker }
|
|
609
|
+
export { DatePicker as DatePicker_alias_1 }
|
|
610
|
+
export { DatePicker as DatePicker_alias_2 }
|
|
611
|
+
export { DatePicker as DatePicker_alias_3 }
|
|
612
|
+
export { DatePicker as DatePicker_alias_4 }
|
|
613
|
+
|
|
614
|
+
declare type DatePickerProps = Omit<InputGroupProps & InputHTMLAttributes<HTMLInputElement>, "children" | "type"> & {
|
|
615
|
+
/**
|
|
616
|
+
* Accessible title for the calendar button
|
|
617
|
+
*
|
|
618
|
+
* This button currently only shows in Chrome.
|
|
619
|
+
*
|
|
620
|
+
* @defaultValue "Åpne kalender"
|
|
621
|
+
*/
|
|
622
|
+
calendarButtonTitle?: string;
|
|
623
|
+
};
|
|
624
|
+
export { DatePickerProps }
|
|
625
|
+
export { DatePickerProps as DatePickerProps_alias_1 }
|
|
626
|
+
export { DatePickerProps as DatePickerProps_alias_2 }
|
|
627
|
+
export { DatePickerProps as DatePickerProps_alias_3 }
|
|
628
|
+
export { DatePickerProps as DatePickerProps_alias_4 }
|
|
587
629
|
|
|
588
630
|
export declare const Default: Story_4;
|
|
589
631
|
|
|
590
632
|
export declare const default_alias: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
|
591
633
|
|
|
592
|
-
export declare const Default_alias_1:
|
|
634
|
+
export declare const Default_alias_1: Story_10;
|
|
593
635
|
|
|
594
636
|
export declare const default_alias_1: Meta<typeof AccordionComponent>;
|
|
595
637
|
|
|
596
|
-
export declare const default_alias_10: Meta<typeof
|
|
638
|
+
export declare const default_alias_10: Meta<typeof ErrorMessage>;
|
|
597
639
|
|
|
598
|
-
export declare const default_alias_11: Meta<typeof
|
|
640
|
+
export declare const default_alias_11: Meta<typeof Fieldset>;
|
|
599
641
|
|
|
600
|
-
export declare const default_alias_12: Meta<typeof
|
|
642
|
+
export declare const default_alias_12: Meta<typeof Input>;
|
|
601
643
|
|
|
602
|
-
export declare const default_alias_13: Meta<typeof
|
|
644
|
+
export declare const default_alias_13: Meta<typeof Radiobutton>;
|
|
603
645
|
|
|
604
|
-
export declare const default_alias_14: Meta<typeof
|
|
646
|
+
export declare const default_alias_14: Meta<typeof RadioGroup>;
|
|
605
647
|
|
|
606
|
-
export declare const default_alias_15: Meta<typeof
|
|
648
|
+
export declare const default_alias_15: Meta<typeof Select>;
|
|
607
649
|
|
|
608
|
-
export declare const default_alias_16: Meta<typeof
|
|
650
|
+
export declare const default_alias_16: Meta<typeof Textarea>;
|
|
609
651
|
|
|
610
|
-
export declare const default_alias_17: Meta<typeof
|
|
652
|
+
export declare const default_alias_17: Meta<typeof Container>;
|
|
611
653
|
|
|
612
|
-
export declare const default_alias_18: Meta<typeof
|
|
654
|
+
export declare const default_alias_18: Meta<typeof Link>;
|
|
613
655
|
|
|
614
|
-
export declare const default_alias_19: Meta<typeof
|
|
656
|
+
export declare const default_alias_19: Meta<typeof LinkList>;
|
|
615
657
|
|
|
616
|
-
export declare const Default_alias_2:
|
|
658
|
+
export declare const Default_alias_2: Story_11;
|
|
617
659
|
|
|
618
660
|
export declare const default_alias_2: Meta<typeof Badge>;
|
|
619
661
|
|
|
620
|
-
export declare const default_alias_20: Meta<typeof
|
|
662
|
+
export declare const default_alias_20: Meta<typeof UnorderedList>;
|
|
621
663
|
|
|
622
|
-
export declare const default_alias_21: Meta<typeof
|
|
664
|
+
export declare const default_alias_21: Meta<typeof MessageComponent>;
|
|
623
665
|
|
|
624
|
-
export declare const default_alias_22: Meta<typeof
|
|
666
|
+
export declare const default_alias_22: Meta<typeof ModalComponent>;
|
|
625
667
|
|
|
626
|
-
export declare const default_alias_23: Meta<typeof
|
|
668
|
+
export declare const default_alias_23: Meta<typeof NavbarComponent>;
|
|
627
669
|
|
|
628
|
-
export declare const default_alias_24: Meta<typeof
|
|
670
|
+
export declare const default_alias_24: Meta<typeof ShowMoreButton>;
|
|
629
671
|
|
|
630
|
-
export declare const default_alias_25: Meta<typeof
|
|
672
|
+
export declare const default_alias_25: Meta<typeof Skeleton>;
|
|
631
673
|
|
|
632
|
-
export declare const default_alias_26: Meta<typeof
|
|
674
|
+
export declare const default_alias_26: Meta<typeof StepIndicator>;
|
|
633
675
|
|
|
634
|
-
export declare const default_alias_27: Meta<typeof
|
|
676
|
+
export declare const default_alias_27: Meta<typeof StyledHtml>;
|
|
635
677
|
|
|
636
|
-
export declare const default_alias_28: Meta<typeof
|
|
678
|
+
export declare const default_alias_28: Meta<typeof TabsComponent>;
|
|
637
679
|
|
|
638
|
-
export declare const default_alias_29: Meta<typeof
|
|
680
|
+
export declare const default_alias_29: Meta<typeof Text_2>;
|
|
639
681
|
|
|
640
|
-
export declare const Default_alias_3:
|
|
682
|
+
export declare const Default_alias_3: Story_15;
|
|
641
683
|
|
|
642
684
|
export declare const default_alias_3: Meta<typeof BoxComponent>;
|
|
643
685
|
|
|
644
|
-
export declare const
|
|
686
|
+
export declare const default_alias_30: Meta<typeof WarningBanner>;
|
|
687
|
+
|
|
688
|
+
export declare const Default_alias_4: Story_17;
|
|
645
689
|
|
|
646
690
|
export declare const default_alias_4: Meta<typeof Breadcrumbs>;
|
|
647
691
|
|
|
648
|
-
export declare const Default_alias_5:
|
|
692
|
+
export declare const Default_alias_5: Story_23;
|
|
649
693
|
|
|
650
694
|
export declare const default_alias_5: Meta<typeof PrimaryButton>;
|
|
651
695
|
|
|
652
|
-
export declare const Default_alias_6:
|
|
696
|
+
export declare const Default_alias_6: Story_25;
|
|
653
697
|
|
|
654
698
|
export declare const default_alias_6: Meta<typeof CardComponent>;
|
|
655
699
|
|
|
656
|
-
export declare const Default_alias_7:
|
|
700
|
+
export declare const Default_alias_7: Story_26;
|
|
657
701
|
|
|
658
702
|
export declare const default_alias_7: Meta<typeof DescriptionList>;
|
|
659
703
|
|
|
660
|
-
export declare const Default_alias_8:
|
|
704
|
+
export declare const Default_alias_8: Story_27;
|
|
661
705
|
|
|
662
706
|
export declare const default_alias_8: Meta<typeof Checkbox>;
|
|
663
707
|
|
|
664
|
-
export declare const Default_alias_9:
|
|
708
|
+
export declare const Default_alias_9: Story_29;
|
|
665
709
|
|
|
666
|
-
export declare const default_alias_9: Meta<typeof
|
|
710
|
+
export declare const default_alias_9: Meta<typeof DatePicker>;
|
|
667
711
|
|
|
668
712
|
export declare const DefaultOpen: Story;
|
|
669
713
|
|
|
670
|
-
export declare const DefaultWithError:
|
|
714
|
+
export declare const DefaultWithError: Story_15;
|
|
671
715
|
|
|
672
716
|
/**
|
|
673
717
|
* Uses the HTML5 `<dl>` element
|
|
@@ -727,9 +771,9 @@ export declare const DetailedContentCheckbox: Story_8;
|
|
|
727
771
|
|
|
728
772
|
export declare const DetailedContentCheckboxWithBoundingBox: Story_8;
|
|
729
773
|
|
|
730
|
-
export declare const DetailedContentRadiobutton:
|
|
774
|
+
export declare const DetailedContentRadiobutton: Story_13;
|
|
731
775
|
|
|
732
|
-
export declare const DetailedContentRadiobuttonWithBoundingBox:
|
|
776
|
+
export declare const DetailedContentRadiobuttonWithBoundingBox: Story_13;
|
|
733
777
|
|
|
734
778
|
declare interface DimensionsFromWidthAndHeight {
|
|
735
779
|
height?: number | string;
|
|
@@ -754,7 +798,7 @@ export { ErrorMessageProps as ErrorMessageProps_alias_2 }
|
|
|
754
798
|
export { ErrorMessageProps as ErrorMessageProps_alias_3 }
|
|
755
799
|
export { ErrorMessageProps as ErrorMessageProps_alias_4 }
|
|
756
800
|
|
|
757
|
-
export declare const Expandable:
|
|
801
|
+
export declare const Expandable: Story_30;
|
|
758
802
|
|
|
759
803
|
declare const Fieldset: ForwardRefExoticComponent<FieldsetProps & RefAttributes<HTMLFieldSetElement>>;
|
|
760
804
|
export { Fieldset }
|
|
@@ -763,9 +807,9 @@ export { Fieldset as Fieldset_alias_2 }
|
|
|
763
807
|
export { Fieldset as Fieldset_alias_3 }
|
|
764
808
|
export { Fieldset as Fieldset_alias_4 }
|
|
765
809
|
|
|
766
|
-
export declare const FieldsetErrorCheckboxes:
|
|
810
|
+
export declare const FieldsetErrorCheckboxes: Story_11;
|
|
767
811
|
|
|
768
|
-
export declare const FieldsetErrorRadiobuttons:
|
|
812
|
+
export declare const FieldsetErrorRadiobuttons: Story_11;
|
|
769
813
|
|
|
770
814
|
declare interface FieldsetProps extends FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
771
815
|
className?: string;
|
|
@@ -880,12 +924,120 @@ export { FooterProps as FooterProps_alias_1 }
|
|
|
880
924
|
export { FooterProps as FooterProps_alias_2 }
|
|
881
925
|
export { FooterProps as FooterProps_alias_3 }
|
|
882
926
|
|
|
883
|
-
export declare const FormWithErrorsOnSubmit:
|
|
927
|
+
export declare const FormWithErrorsOnSubmit: Story_12;
|
|
884
928
|
|
|
885
929
|
export declare function getResponsiveProps<T>(variable: `--hds-${string}`, inputValues?: ResponsiveProp<T>, valueTransformer?: (value: T) => string): Record<string, string>;
|
|
886
930
|
|
|
887
931
|
export declare function getSpacingVariable(size: SpacingSizes | ResponsiveSpacingSizes): string;
|
|
888
932
|
|
|
933
|
+
/**
|
|
934
|
+
* 🚧 A simple opionated abstraction over CSS Grid.
|
|
935
|
+
*
|
|
936
|
+
* The grid is always a 12 column grid.
|
|
937
|
+
*
|
|
938
|
+
* example
|
|
939
|
+
* ```tsx
|
|
940
|
+
* <Grid gap="12-16" span={{ small: 6 }}>
|
|
941
|
+
* <div>6/12</div>
|
|
942
|
+
* <div>6/12</div>
|
|
943
|
+
* <Grid.Item span={{ small: 12 }}>12/12</Grid.Item>
|
|
944
|
+
* <div>6/12</div>
|
|
945
|
+
* <div>6/12</div>
|
|
946
|
+
* </Grid>
|
|
947
|
+
* ```
|
|
948
|
+
*/
|
|
949
|
+
export declare const Grid_alias_3: ForwardRefExoticComponent<GridProps & RefAttributes<HTMLDivElement>>;
|
|
950
|
+
|
|
951
|
+
declare const GridComponent: ForwardRefExoticComponent<GridProps & RefAttributes<HTMLDivElement>> & {
|
|
952
|
+
Item: typeof GridItem;
|
|
953
|
+
};
|
|
954
|
+
export { GridComponent as Grid }
|
|
955
|
+
export { GridComponent as Grid_alias_1 }
|
|
956
|
+
export { GridComponent as Grid_alias_2 }
|
|
957
|
+
export { GridComponent as Grid_alias_4 }
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* 🚧 Grid.Item
|
|
961
|
+
*
|
|
962
|
+
* Use as the direct child of a `Grid` to override `span` and `center` for individual items.
|
|
963
|
+
*/
|
|
964
|
+
declare const GridItem: ForwardRefExoticComponent<GridItemProps & RefAttributes<HTMLDivElement>>;
|
|
965
|
+
export { GridItem }
|
|
966
|
+
export { GridItem as GridItem_alias_1 }
|
|
967
|
+
export { GridItem as GridItem_alias_2 }
|
|
968
|
+
export { GridItem as GridItem_alias_3 }
|
|
969
|
+
export { GridItem as GridItem_alias_4 }
|
|
970
|
+
|
|
971
|
+
declare interface GridItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
972
|
+
children: React.ReactNode;
|
|
973
|
+
/**
|
|
974
|
+
* Column span for the grid item
|
|
975
|
+
*
|
|
976
|
+
* `default` is `12`
|
|
977
|
+
*/
|
|
978
|
+
span?: ResponsiveProp<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12>;
|
|
979
|
+
/**
|
|
980
|
+
* Center the grid item horizontally
|
|
981
|
+
*
|
|
982
|
+
* Offsets the start position of the grid item relative to it's span so that it appears centered.
|
|
983
|
+
*
|
|
984
|
+
* assumes a span of 2, 4, 6, 8, or 10
|
|
985
|
+
*
|
|
986
|
+
* a span of `12` is 100% width and centering has no effect
|
|
987
|
+
*
|
|
988
|
+
* `default` is `false`
|
|
989
|
+
*/
|
|
990
|
+
center?: ResponsiveProp<boolean>;
|
|
991
|
+
/**
|
|
992
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
993
|
+
*/
|
|
994
|
+
asChild?: boolean;
|
|
995
|
+
}
|
|
996
|
+
export { GridItemProps }
|
|
997
|
+
export { GridItemProps as GridItemProps_alias_1 }
|
|
998
|
+
export { GridItemProps as GridItemProps_alias_2 }
|
|
999
|
+
export { GridItemProps as GridItemProps_alias_3 }
|
|
1000
|
+
export { GridItemProps as GridItemProps_alias_4 }
|
|
1001
|
+
|
|
1002
|
+
declare interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1003
|
+
children: React.ReactNode;
|
|
1004
|
+
/**
|
|
1005
|
+
* Space between grid items. Both horizontal and vertical.
|
|
1006
|
+
*
|
|
1007
|
+
* Use the responsive shorthand `12-16` to jump a level at the `large` breakpoint.
|
|
1008
|
+
*
|
|
1009
|
+
* Or use the responsive object `{ initial: 40, large: 64 }` to set different values at different breakpoints.
|
|
1010
|
+
*/
|
|
1011
|
+
gap?: ResponsiveProp<SpacingSizes> | ResponsiveSpacingSizes;
|
|
1012
|
+
/**
|
|
1013
|
+
* Column span for the grid items
|
|
1014
|
+
*
|
|
1015
|
+
* `default` is `12`
|
|
1016
|
+
*/
|
|
1017
|
+
span?: ResponsiveProp<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Center grid items horizontally
|
|
1020
|
+
*
|
|
1021
|
+
* Offsets the start position of the grid items relative to their span so that it appears centered.
|
|
1022
|
+
*
|
|
1023
|
+
* assumes a span of 2, 4, 6, 8, or 10
|
|
1024
|
+
*
|
|
1025
|
+
* a span of `12` is 100% width and centering has no effect
|
|
1026
|
+
*
|
|
1027
|
+
* `default` is `false`
|
|
1028
|
+
*/
|
|
1029
|
+
center?: ResponsiveProp<boolean>;
|
|
1030
|
+
/**
|
|
1031
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
1032
|
+
*/
|
|
1033
|
+
asChild?: boolean;
|
|
1034
|
+
}
|
|
1035
|
+
export { GridProps }
|
|
1036
|
+
export { GridProps as GridProps_alias_1 }
|
|
1037
|
+
export { GridProps as GridProps_alias_2 }
|
|
1038
|
+
export { GridProps as GridProps_alias_3 }
|
|
1039
|
+
export { GridProps as GridProps_alias_4 }
|
|
1040
|
+
|
|
889
1041
|
declare interface HeadingProps {
|
|
890
1042
|
variant: "h1-display" | "h1" | "h2" | "h3" | "h3-title";
|
|
891
1043
|
as: React_3.ElementType;
|
|
@@ -893,11 +1045,11 @@ declare interface HeadingProps {
|
|
|
893
1045
|
|
|
894
1046
|
export declare const Horizontal: Story_7;
|
|
895
1047
|
|
|
896
|
-
export declare const Horizontal_alias_1:
|
|
1048
|
+
export declare const Horizontal_alias_1: Story_28;
|
|
897
1049
|
|
|
898
1050
|
export declare const HorizontalLongContent: Story_7;
|
|
899
1051
|
|
|
900
|
-
export declare const HorizontalWithMiddleSelected:
|
|
1052
|
+
export declare const HorizontalWithMiddleSelected: Story_28;
|
|
901
1053
|
|
|
902
1054
|
/**
|
|
903
1055
|
* 🚨 WORK IN PROGRESS 🚨
|
|
@@ -943,7 +1095,12 @@ declare interface InputGroupProps {
|
|
|
943
1095
|
label: ReactNode;
|
|
944
1096
|
disabled?: boolean;
|
|
945
1097
|
readOnly?: boolean;
|
|
946
|
-
|
|
1098
|
+
/**
|
|
1099
|
+
* `children` must be either a single input element or a render function.
|
|
1100
|
+
*
|
|
1101
|
+
* If you use a render function, make sure you spread the input props to the appropriate element.
|
|
1102
|
+
*/
|
|
1103
|
+
children: Exclude<ReactNode, Iterable<ReactNode>> | ((inputProps: InputProps_2) => ReactNode);
|
|
947
1104
|
}
|
|
948
1105
|
export { InputGroupProps }
|
|
949
1106
|
export { InputGroupProps as InputGroupProps_alias_1 }
|
|
@@ -955,15 +1112,22 @@ export { InputProps as InputProps_alias_2 }
|
|
|
955
1112
|
export { InputProps as InputProps_alias_3 }
|
|
956
1113
|
export { InputProps as InputProps_alias_4 }
|
|
957
1114
|
|
|
958
|
-
|
|
1115
|
+
declare interface InputProps_2 {
|
|
1116
|
+
"aria-describedby"?: string;
|
|
1117
|
+
"aria-invalid"?: boolean;
|
|
1118
|
+
id?: string;
|
|
1119
|
+
className?: string;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
export declare const Inverted: Story_18;
|
|
959
1123
|
|
|
960
1124
|
export declare const JustACheckbox: Story_8;
|
|
961
1125
|
|
|
962
|
-
export declare const JustARadiobutton:
|
|
1126
|
+
export declare const JustARadiobutton: Story_13;
|
|
963
1127
|
|
|
964
1128
|
export declare const JustOneItem: Story;
|
|
965
1129
|
|
|
966
|
-
export declare const LargeLegend:
|
|
1130
|
+
export declare const LargeLegend: Story_11;
|
|
967
1131
|
|
|
968
1132
|
export declare const Lighter: Story_2;
|
|
969
1133
|
|
|
@@ -977,7 +1141,7 @@ export { Link as Link_alias_1 }
|
|
|
977
1141
|
export { Link as Link_alias_2 }
|
|
978
1142
|
export { Link as Link_alias_3 }
|
|
979
1143
|
|
|
980
|
-
export declare const LinkInDescription:
|
|
1144
|
+
export declare const LinkInDescription: Story_30;
|
|
981
1145
|
|
|
982
1146
|
/**
|
|
983
1147
|
* Show a list of links
|
|
@@ -1002,7 +1166,7 @@ export { LinkListProps as LinkListProps_alias_1 }
|
|
|
1002
1166
|
export { LinkListProps as LinkListProps_alias_2 }
|
|
1003
1167
|
export { LinkListProps as LinkListProps_alias_3 }
|
|
1004
1168
|
|
|
1005
|
-
export declare const LinkListStory:
|
|
1169
|
+
export declare const LinkListStory: Story_19;
|
|
1006
1170
|
|
|
1007
1171
|
declare interface LinkProps extends React_2.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1008
1172
|
/**
|
|
@@ -1032,9 +1196,9 @@ export { ListProps as ListProps_alias_1 }
|
|
|
1032
1196
|
export { ListProps as ListProps_alias_2 }
|
|
1033
1197
|
export { ListProps as ListProps_alias_3 }
|
|
1034
1198
|
|
|
1035
|
-
export declare const LoadingCards:
|
|
1199
|
+
export declare const LoadingCards: Story_25;
|
|
1036
1200
|
|
|
1037
|
-
export declare const LongDescriptionOnly:
|
|
1201
|
+
export declare const LongDescriptionOnly: Story_21;
|
|
1038
1202
|
|
|
1039
1203
|
export declare const Main: {
|
|
1040
1204
|
render: (args: ModalProps & RefAttributes<HTMLDialogElement>) => JSX_2.Element;
|
|
@@ -1057,7 +1221,11 @@ export { MessageComponent as Message }
|
|
|
1057
1221
|
export { MessageComponent as Message_alias_1 }
|
|
1058
1222
|
export { MessageComponent as Message_alias_2 }
|
|
1059
1223
|
|
|
1060
|
-
|
|
1224
|
+
declare const MessageDescription: OverridableComponent<object, HTMLParagraphElement>;
|
|
1225
|
+
export { MessageDescription }
|
|
1226
|
+
export { MessageDescription as MessageDescription_alias_1 }
|
|
1227
|
+
export { MessageDescription as MessageDescription_alias_2 }
|
|
1228
|
+
export { MessageDescription as MessageDescription_alias_3 }
|
|
1061
1229
|
|
|
1062
1230
|
export declare type MessageProps = ({
|
|
1063
1231
|
variant?: "success" | "attention" | "warning";
|
|
@@ -1069,9 +1237,13 @@ export declare type MessageProps = ({
|
|
|
1069
1237
|
iconClassName?: string;
|
|
1070
1238
|
}) & Omit<BoxProps, "variant">;
|
|
1071
1239
|
|
|
1072
|
-
|
|
1240
|
+
declare const MessageTitle: OverridableComponent<object, HTMLParagraphElement>;
|
|
1241
|
+
export { MessageTitle }
|
|
1242
|
+
export { MessageTitle as MessageTitle_alias_1 }
|
|
1243
|
+
export { MessageTitle as MessageTitle_alias_2 }
|
|
1244
|
+
export { MessageTitle as MessageTitle_alias_3 }
|
|
1073
1245
|
|
|
1074
|
-
export declare const MinAndMax:
|
|
1246
|
+
export declare const MinAndMax: Story_29;
|
|
1075
1247
|
|
|
1076
1248
|
/**
|
|
1077
1249
|
* A modal dialog is a window that forces the user to interact with it before they can return to other parts of the application.
|
|
@@ -1152,7 +1324,7 @@ export { ModalProps as ModalProps_alias_1 }
|
|
|
1152
1324
|
export { ModalProps as ModalProps_alias_2 }
|
|
1153
1325
|
export { ModalProps as ModalProps_alias_3 }
|
|
1154
1326
|
|
|
1155
|
-
export declare const MuchContentBelow:
|
|
1327
|
+
export declare const MuchContentBelow: Story_22;
|
|
1156
1328
|
|
|
1157
1329
|
export declare const MultipleItems: Story;
|
|
1158
1330
|
|
|
@@ -1305,13 +1477,13 @@ export { NavbarProps as NavbarProps_alias_1 }
|
|
|
1305
1477
|
export { NavbarProps as NavbarProps_alias_2 }
|
|
1306
1478
|
export { NavbarProps as NavbarProps_alias_3 }
|
|
1307
1479
|
|
|
1308
|
-
export declare const NestedLists:
|
|
1480
|
+
export declare const NestedLists: Story_20;
|
|
1309
1481
|
|
|
1310
|
-
export declare const Neutral:
|
|
1482
|
+
export declare const Neutral: Story_21;
|
|
1311
1483
|
|
|
1312
1484
|
export declare const NoIndent: Story;
|
|
1313
1485
|
|
|
1314
|
-
export declare const NoUnderline:
|
|
1486
|
+
export declare const NoUnderline: Story_18;
|
|
1315
1487
|
|
|
1316
1488
|
/**
|
|
1317
1489
|
* An ordered list of simple items
|
|
@@ -1328,7 +1500,7 @@ export { OrderedList as OrderedList_alias_1 }
|
|
|
1328
1500
|
export { OrderedList as OrderedList_alias_2 }
|
|
1329
1501
|
export { OrderedList as OrderedList_alias_3 }
|
|
1330
1502
|
|
|
1331
|
-
export declare const OrderedListStory:
|
|
1503
|
+
export declare const OrderedListStory: Story_20;
|
|
1332
1504
|
|
|
1333
1505
|
/**
|
|
1334
1506
|
* OverridableComponent makes the `as` prop available,
|
|
@@ -1356,21 +1528,23 @@ export declare const PlainCheckboxesWithError: Story_8;
|
|
|
1356
1528
|
|
|
1357
1529
|
export declare const PlainCheckboxeWithError: Story_8;
|
|
1358
1530
|
|
|
1359
|
-
export declare const
|
|
1531
|
+
export declare const PlainDatePicker: Story_9;
|
|
1532
|
+
|
|
1533
|
+
export declare const PlainInput: Story_12;
|
|
1360
1534
|
|
|
1361
|
-
export declare const PlainInputWithError:
|
|
1535
|
+
export declare const PlainInputWithError: Story_12;
|
|
1362
1536
|
|
|
1363
|
-
export declare const PlainRadiobuttons:
|
|
1537
|
+
export declare const PlainRadiobuttons: Story_13;
|
|
1364
1538
|
|
|
1365
|
-
export declare const PlainRadiobuttonsWithError:
|
|
1539
|
+
export declare const PlainRadiobuttonsWithError: Story_13;
|
|
1366
1540
|
|
|
1367
|
-
export declare const PlainRadioGroup:
|
|
1541
|
+
export declare const PlainRadioGroup: Story_14;
|
|
1368
1542
|
|
|
1369
|
-
export declare const PlainTextarea:
|
|
1543
|
+
export declare const PlainTextarea: Story_16;
|
|
1370
1544
|
|
|
1371
|
-
export declare const PlainTextareaWithError:
|
|
1545
|
+
export declare const PlainTextareaWithError: Story_16;
|
|
1372
1546
|
|
|
1373
|
-
export declare const PostenBringSideBySide:
|
|
1547
|
+
export declare const PostenBringSideBySide: Story_29;
|
|
1374
1548
|
|
|
1375
1549
|
export declare const Primary: Story_5;
|
|
1376
1550
|
|
|
@@ -1447,13 +1621,13 @@ export { RadioGroupProps as RadioGroupProps_alias_2 }
|
|
|
1447
1621
|
export { RadioGroupProps as RadioGroupProps_alias_3 }
|
|
1448
1622
|
export { RadioGroupProps as RadioGroupProps_alias_4 }
|
|
1449
1623
|
|
|
1450
|
-
export declare const ReadonlyInput:
|
|
1624
|
+
export declare const ReadonlyInput: Story_12;
|
|
1451
1625
|
|
|
1452
|
-
export declare const ReadonlyInputWithError:
|
|
1626
|
+
export declare const ReadonlyInputWithError: Story_12;
|
|
1453
1627
|
|
|
1454
|
-
export declare const ReadonlyTextarea:
|
|
1628
|
+
export declare const ReadonlyTextarea: Story_16;
|
|
1455
1629
|
|
|
1456
|
-
export declare const ReadonlyTextareaWithError:
|
|
1630
|
+
export declare const ReadonlyTextareaWithError: Story_16;
|
|
1457
1631
|
|
|
1458
1632
|
export declare type ResponsiveProp<T> = T | ResponsiveValues<T>;
|
|
1459
1633
|
|
|
@@ -1488,14 +1662,18 @@ export { SecondaryButton as SecondaryButton_alias_3 }
|
|
|
1488
1662
|
|
|
1489
1663
|
export declare const SecondaryOutline: Story_5;
|
|
1490
1664
|
|
|
1491
|
-
declare const Select: ForwardRefExoticComponent<
|
|
1665
|
+
declare const Select: ForwardRefExoticComponent<Omit<InputGroupProps & SelectHTMLAttributes<HTMLSelectElement>, "children" | "readOnly"> & {
|
|
1666
|
+
children: ReactNode;
|
|
1667
|
+
} & RefAttributes<HTMLSelectElement>>;
|
|
1492
1668
|
export { Select }
|
|
1493
1669
|
export { Select as Select_alias_1 }
|
|
1494
1670
|
export { Select as Select_alias_2 }
|
|
1495
1671
|
export { Select as Select_alias_3 }
|
|
1496
1672
|
export { Select as Select_alias_4 }
|
|
1497
1673
|
|
|
1498
|
-
declare type SelectProps = Omit<InputGroupProps & SelectHTMLAttributes<HTMLSelectElement>, "readOnly"
|
|
1674
|
+
declare type SelectProps = Omit<InputGroupProps & SelectHTMLAttributes<HTMLSelectElement>, "readOnly" | "children"> & {
|
|
1675
|
+
children: ReactNode;
|
|
1676
|
+
};
|
|
1499
1677
|
export { SelectProps }
|
|
1500
1678
|
export { SelectProps as SelectProps_alias_1 }
|
|
1501
1679
|
export { SelectProps as SelectProps_alias_2 }
|
|
@@ -1506,7 +1684,7 @@ export declare const ShareParcelModal: {
|
|
|
1506
1684
|
render: (args: ModalProps & RefAttributes<HTMLDialogElement>) => JSX_2.Element;
|
|
1507
1685
|
};
|
|
1508
1686
|
|
|
1509
|
-
export declare const ShowMore:
|
|
1687
|
+
export declare const ShowMore: Story_24;
|
|
1510
1688
|
|
|
1511
1689
|
/**
|
|
1512
1690
|
* Simple button for triggering more content.
|
|
@@ -1551,11 +1729,11 @@ export { ShowMoreProps as ShowMoreProps_alias_1 }
|
|
|
1551
1729
|
export { ShowMoreProps as ShowMoreProps_alias_2 }
|
|
1552
1730
|
export { ShowMoreProps as ShowMoreProps_alias_3 }
|
|
1553
1731
|
|
|
1554
|
-
export declare const ShowMoreShowLess:
|
|
1732
|
+
export declare const ShowMoreShowLess: Story_24;
|
|
1555
1733
|
|
|
1556
|
-
export declare const ShowMoreShowLessExpanded:
|
|
1734
|
+
export declare const ShowMoreShowLessExpanded: Story_24;
|
|
1557
1735
|
|
|
1558
|
-
export declare const SimpleShowMoreShowLess:
|
|
1736
|
+
export declare const SimpleShowMoreShowLess: Story_24;
|
|
1559
1737
|
|
|
1560
1738
|
export declare const SingleAccordion: Story;
|
|
1561
1739
|
|
|
@@ -1618,11 +1796,11 @@ declare interface SkeletonPropsInner extends React_2.AnchorHTMLAttributes<HTMLDi
|
|
|
1618
1796
|
children?: React_2.ReactNode;
|
|
1619
1797
|
}
|
|
1620
1798
|
|
|
1621
|
-
export declare const Slim:
|
|
1799
|
+
export declare const Slim: Story_17;
|
|
1622
1800
|
|
|
1623
|
-
export declare const Small:
|
|
1801
|
+
export declare const Small: Story_27;
|
|
1624
1802
|
|
|
1625
|
-
export declare const Solid:
|
|
1803
|
+
export declare const Solid: Story_18;
|
|
1626
1804
|
|
|
1627
1805
|
export declare type SpacingSizes = keyof typeof spacingSizes;
|
|
1628
1806
|
|
|
@@ -1703,50 +1881,52 @@ declare interface StepIndicatorProps extends React.HTMLAttributes<HTMLDivElement
|
|
|
1703
1881
|
|
|
1704
1882
|
declare type Story = StoryObj<typeof AccordionComponent>;
|
|
1705
1883
|
|
|
1706
|
-
declare type Story_10 = StoryObj<typeof
|
|
1884
|
+
declare type Story_10 = StoryObj<typeof ErrorMessage>;
|
|
1707
1885
|
|
|
1708
|
-
declare type Story_11 = StoryObj<typeof
|
|
1886
|
+
declare type Story_11 = StoryObj<typeof Fieldset>;
|
|
1709
1887
|
|
|
1710
|
-
declare type Story_12 = StoryObj<typeof
|
|
1888
|
+
declare type Story_12 = StoryObj<typeof Input>;
|
|
1711
1889
|
|
|
1712
|
-
declare type Story_13 = StoryObj<typeof
|
|
1890
|
+
declare type Story_13 = StoryObj<typeof Radiobutton>;
|
|
1713
1891
|
|
|
1714
|
-
declare type Story_14 = StoryObj<typeof
|
|
1892
|
+
declare type Story_14 = StoryObj<typeof RadioGroup>;
|
|
1715
1893
|
|
|
1716
|
-
declare type Story_15 = StoryObj<typeof
|
|
1894
|
+
declare type Story_15 = StoryObj<typeof Select>;
|
|
1717
1895
|
|
|
1718
|
-
declare type Story_16 = StoryObj<typeof
|
|
1896
|
+
declare type Story_16 = StoryObj<typeof Textarea>;
|
|
1719
1897
|
|
|
1720
|
-
declare type Story_17 = StoryObj<typeof
|
|
1898
|
+
declare type Story_17 = StoryObj<typeof Container>;
|
|
1721
1899
|
|
|
1722
|
-
declare type Story_18 = StoryObj<typeof
|
|
1900
|
+
declare type Story_18 = StoryObj<typeof Link>;
|
|
1723
1901
|
|
|
1724
|
-
declare type Story_19 = StoryObj<typeof
|
|
1902
|
+
declare type Story_19 = StoryObj<typeof LinkList>;
|
|
1725
1903
|
|
|
1726
1904
|
declare type Story_2 = StoryObj<typeof Badge>;
|
|
1727
1905
|
|
|
1728
|
-
declare type Story_20 = StoryObj<typeof
|
|
1906
|
+
declare type Story_20 = StoryObj<typeof UnorderedList>;
|
|
1729
1907
|
|
|
1730
|
-
declare type Story_21 = StoryObj<typeof
|
|
1908
|
+
declare type Story_21 = StoryObj<typeof MessageComponent>;
|
|
1731
1909
|
|
|
1732
|
-
declare type Story_22 = StoryObj<typeof
|
|
1910
|
+
declare type Story_22 = StoryObj<typeof ModalComponent>;
|
|
1733
1911
|
|
|
1734
|
-
declare type Story_23 = StoryObj<typeof
|
|
1912
|
+
declare type Story_23 = StoryObj<typeof NavbarComponent>;
|
|
1735
1913
|
|
|
1736
|
-
declare type Story_24 = StoryObj<typeof
|
|
1914
|
+
declare type Story_24 = StoryObj<typeof ShowMoreButton>;
|
|
1737
1915
|
|
|
1738
|
-
declare type Story_25 = StoryObj<typeof
|
|
1916
|
+
declare type Story_25 = StoryObj<typeof Skeleton>;
|
|
1739
1917
|
|
|
1740
|
-
declare type Story_26 = StoryObj<typeof
|
|
1918
|
+
declare type Story_26 = StoryObj<typeof StepIndicator>;
|
|
1741
1919
|
|
|
1742
|
-
declare type Story_27 = StoryObj<typeof
|
|
1920
|
+
declare type Story_27 = StoryObj<typeof StyledHtml>;
|
|
1743
1921
|
|
|
1744
|
-
declare type Story_28 = StoryObj<typeof
|
|
1922
|
+
declare type Story_28 = StoryObj<typeof TabsComponent>;
|
|
1745
1923
|
|
|
1746
|
-
declare type Story_29 = StoryObj<typeof
|
|
1924
|
+
declare type Story_29 = StoryObj<typeof Text_2>;
|
|
1747
1925
|
|
|
1748
1926
|
declare type Story_3 = StoryObj<typeof BoxComponent>;
|
|
1749
1927
|
|
|
1928
|
+
declare type Story_30 = StoryObj<typeof WarningBanner>;
|
|
1929
|
+
|
|
1750
1930
|
declare type Story_4 = StoryObj<typeof Breadcrumbs>;
|
|
1751
1931
|
|
|
1752
1932
|
declare type Story_5 = StoryObj<typeof PrimaryButton>;
|
|
@@ -1757,7 +1937,7 @@ declare type Story_7 = StoryObj<typeof DescriptionList>;
|
|
|
1757
1937
|
|
|
1758
1938
|
declare type Story_8 = StoryObj<typeof Checkbox>;
|
|
1759
1939
|
|
|
1760
|
-
declare type Story_9 = StoryObj<typeof
|
|
1940
|
+
declare type Story_9 = StoryObj<typeof DatePicker>;
|
|
1761
1941
|
|
|
1762
1942
|
/**
|
|
1763
1943
|
* A component for displaying dynamic content that you want to apply hedwig styling to.
|
|
@@ -1796,7 +1976,7 @@ export { StyledHtmlProps as StyledHtmlProps_alias_1 }
|
|
|
1796
1976
|
export { StyledHtmlProps as StyledHtmlProps_alias_2 }
|
|
1797
1977
|
export { StyledHtmlProps as StyledHtmlProps_alias_3 }
|
|
1798
1978
|
|
|
1799
|
-
export declare const Success:
|
|
1979
|
+
export declare const Success: Story_21;
|
|
1800
1980
|
|
|
1801
1981
|
declare interface TabContentsProps extends HTMLAttributes<HTMLDivElement> {
|
|
1802
1982
|
children: ReactElement<TabsContentProps> | ReactElement<TabsContentProps>[];
|
|
@@ -2112,11 +2292,11 @@ export { TextTechnicalTitle }
|
|
|
2112
2292
|
export { TextTechnicalTitle as TextTechnicalTitle_alias_1 }
|
|
2113
2293
|
export { TextTechnicalTitle as TextTechnicalTitle_alias_2 }
|
|
2114
2294
|
|
|
2115
|
-
export declare const Title:
|
|
2295
|
+
export declare const Title: Story_26;
|
|
2116
2296
|
|
|
2117
|
-
export declare const TitleOnly:
|
|
2297
|
+
export declare const TitleOnly: Story_21;
|
|
2118
2298
|
|
|
2119
|
-
export declare const TitleOnly_alias_1:
|
|
2299
|
+
export declare const TitleOnly_alias_1: Story_30;
|
|
2120
2300
|
|
|
2121
2301
|
declare type TitleProps = {
|
|
2122
2302
|
/**
|
|
@@ -2131,14 +2311,14 @@ declare type TitleProps = {
|
|
|
2131
2311
|
titleAs?: undefined;
|
|
2132
2312
|
};
|
|
2133
2313
|
|
|
2134
|
-
export declare const TrackingNumberSearch:
|
|
2314
|
+
export declare const TrackingNumberSearch: Story_12;
|
|
2135
2315
|
|
|
2136
2316
|
/**
|
|
2137
2317
|
* You should have at minimum two levels in your hierarchy to use breadcrumbs.
|
|
2138
2318
|
*/
|
|
2139
2319
|
export declare const TwoElements: Story_4;
|
|
2140
2320
|
|
|
2141
|
-
export declare const Underline:
|
|
2321
|
+
export declare const Underline: Story_18;
|
|
2142
2322
|
|
|
2143
2323
|
/**
|
|
2144
2324
|
* An unordered list of simple items, often text. You can nest other lists inside this component.
|
|
@@ -2155,7 +2335,7 @@ export { UnorderedList as UnorderedList_alias_1 }
|
|
|
2155
2335
|
export { UnorderedList as UnorderedList_alias_2 }
|
|
2156
2336
|
export { UnorderedList as UnorderedList_alias_3 }
|
|
2157
2337
|
|
|
2158
|
-
export declare const UnorderedListStory:
|
|
2338
|
+
export declare const UnorderedListStory: Story_20;
|
|
2159
2339
|
|
|
2160
2340
|
declare const useFieldsetContext: () => {
|
|
2161
2341
|
hasError: boolean;
|
|
@@ -2166,6 +2346,8 @@ export { useFieldsetContext as useFieldsetContext_alias_2 }
|
|
|
2166
2346
|
export { useFieldsetContext as useFieldsetContext_alias_3 }
|
|
2167
2347
|
export { useFieldsetContext as useFieldsetContext_alias_4 }
|
|
2168
2348
|
|
|
2349
|
+
export declare function useHydrated(): boolean;
|
|
2350
|
+
|
|
2169
2351
|
/**
|
|
2170
2352
|
* Merges an array of refs into a single memoized callback ref or `null`.
|
|
2171
2353
|
* @see https://floating-ui.com/docs/useMergeRefs
|
|
@@ -2208,7 +2390,7 @@ declare type Variant = {
|
|
|
2208
2390
|
|
|
2209
2391
|
export declare const Vertical: Story_7;
|
|
2210
2392
|
|
|
2211
|
-
export declare const Vertical_alias_1:
|
|
2393
|
+
export declare const Vertical_alias_1: Story_28;
|
|
2212
2394
|
|
|
2213
2395
|
/**
|
|
2214
2396
|
* 🚨 WORK IN PROGRESS 🚨
|
|
@@ -2227,7 +2409,7 @@ export { VStack as VStack_alias_4 }
|
|
|
2227
2409
|
|
|
2228
2410
|
export declare const Warning: Story_2;
|
|
2229
2411
|
|
|
2230
|
-
export declare const Warning_alias_1:
|
|
2412
|
+
export declare const Warning_alias_1: Story_21;
|
|
2231
2413
|
|
|
2232
2414
|
declare function WarningBadge(props: BadgeProps): JSX_2.Element;
|
|
2233
2415
|
|
|
@@ -2258,7 +2440,7 @@ export declare const WarningBox: Story_3;
|
|
|
2258
2440
|
|
|
2259
2441
|
export declare const White: Story_2;
|
|
2260
2442
|
|
|
2261
|
-
export declare const White_alias_1:
|
|
2443
|
+
export declare const White_alias_1: Story_15;
|
|
2262
2444
|
|
|
2263
2445
|
declare function WhiteBadge(props: BadgeProps): JSX_2.Element;
|
|
2264
2446
|
|
|
@@ -2272,25 +2454,25 @@ export { WhiteBadge as WhiteBadge_alias_3 }
|
|
|
2272
2454
|
|
|
2273
2455
|
export declare const WhiteBox: Story_3;
|
|
2274
2456
|
|
|
2275
|
-
export declare const WhiteInput:
|
|
2457
|
+
export declare const WhiteInput: Story_12;
|
|
2276
2458
|
|
|
2277
|
-
export declare const WhiteInputWithError:
|
|
2459
|
+
export declare const WhiteInputWithError: Story_12;
|
|
2278
2460
|
|
|
2279
|
-
export declare const WhiteReadonlyInput:
|
|
2461
|
+
export declare const WhiteReadonlyInput: Story_12;
|
|
2280
2462
|
|
|
2281
|
-
export declare const WhiteReadonlyInputWithError:
|
|
2463
|
+
export declare const WhiteReadonlyInputWithError: Story_12;
|
|
2282
2464
|
|
|
2283
|
-
export declare const WhiteReadonlyTextarea:
|
|
2465
|
+
export declare const WhiteReadonlyTextarea: Story_16;
|
|
2284
2466
|
|
|
2285
|
-
export declare const WhiteReadonlyTextareaWithError:
|
|
2467
|
+
export declare const WhiteReadonlyTextareaWithError: Story_16;
|
|
2286
2468
|
|
|
2287
|
-
export declare const WhiteTextarea:
|
|
2469
|
+
export declare const WhiteTextarea: Story_16;
|
|
2288
2470
|
|
|
2289
|
-
export declare const WhiteTextareaWithError:
|
|
2471
|
+
export declare const WhiteTextareaWithError: Story_16;
|
|
2290
2472
|
|
|
2291
|
-
export declare const WhiteWithError:
|
|
2473
|
+
export declare const WhiteWithError: Story_15;
|
|
2292
2474
|
|
|
2293
|
-
export declare const WithBadgeInLabel:
|
|
2475
|
+
export declare const WithBadgeInLabel: Story_26;
|
|
2294
2476
|
|
|
2295
2477
|
export declare const WrappedInDivs: Story_7;
|
|
2296
2478
|
|