@postenbring/hedwig-react 0.0.65 → 0.0.67
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 +333 -178
- package/dist/_tsup-dts-rollup.d.ts +333 -178
- 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-POJTVNEO.mjs → chunk-2FXMUF6K.mjs} +2 -2
- package/dist/chunk-2FXMUF6K.mjs.map +1 -0
- package/dist/{chunk-DEVTAZKG.mjs → chunk-3KZOKDKP.mjs} +14 -3
- package/dist/chunk-3KZOKDKP.mjs.map +1 -0
- package/dist/{chunk-XFSZBILE.mjs → chunk-6NGF7FFY.mjs} +2 -2
- package/dist/{chunk-MUVJAMFN.mjs → chunk-B56JZJOS.mjs} +10 -8
- package/dist/chunk-B56JZJOS.mjs.map +1 -0
- package/dist/{chunk-RVJD2UZF.mjs → chunk-DFH4YKQA.mjs} +2 -2
- package/dist/chunk-DFH4YKQA.mjs.map +1 -0
- package/dist/{chunk-HXV2UMEV.mjs → chunk-DM4PJFLG.mjs} +2 -2
- package/dist/{chunk-HXV2UMEV.mjs.map → chunk-DM4PJFLG.mjs.map} +1 -1
- 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-F4STR6SD.mjs +18 -0
- package/dist/chunk-F4STR6SD.mjs.map +1 -0
- package/dist/{chunk-TE5M6GJB.mjs → chunk-FOZSX44S.mjs} +2 -2
- package/dist/{chunk-TE5M6GJB.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-RLUXDZ6X.mjs → chunk-HMB4TY2F.mjs} +3 -3
- package/dist/{chunk-U2MRMUB2.mjs → chunk-K2HG7WRK.mjs} +2 -2
- package/dist/{chunk-U2MRMUB2.mjs.map → chunk-K2HG7WRK.mjs.map} +1 -1
- package/dist/{chunk-RK6BB3HH.mjs → chunk-KTRIVJM3.mjs} +2 -2
- package/dist/chunk-L4GQJETB.mjs +1 -0
- package/dist/chunk-NE6W2PCD.mjs +9 -0
- package/dist/chunk-NE6W2PCD.mjs.map +1 -0
- 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-EHUVLDIZ.mjs → chunk-O32FZU7E.mjs} +11 -14
- package/dist/chunk-O32FZU7E.mjs.map +1 -0
- package/dist/{chunk-IAS3E2S3.mjs → chunk-PUESATBQ.mjs} +2 -2
- package/dist/chunk-QGZU7Z2W.mjs +51 -0
- package/dist/chunk-QGZU7Z2W.mjs.map +1 -0
- package/dist/{chunk-QSYU64U4.mjs → chunk-QYSLVQ4F.mjs} +2 -2
- package/dist/{chunk-QSYU64U4.mjs.map → chunk-QYSLVQ4F.mjs.map} +1 -1
- package/dist/{chunk-X7EKQZNU.mjs → chunk-RHCMBJOT.mjs} +2 -2
- 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-LIQ3FB56.mjs → chunk-XYIY6FHW.mjs} +7 -7
- package/dist/{chunk-LIQ3FB56.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-VFFIUNR6.mjs → chunk-ZRFDCZ62.mjs} +5 -5
- package/dist/chunk-ZRFDCZ62.mjs.map +1 -0
- package/dist/footer/footer.js +9 -12
- package/dist/footer/footer.js.map +1 -1
- package/dist/footer/footer.mjs +5 -5
- package/dist/footer/index.d.mts +3 -3
- package/dist/footer/index.d.ts +3 -3
- package/dist/footer/index.js +19 -14
- package/dist/footer/index.js.map +1 -1
- package/dist/footer/index.mjs +16 -7
- package/dist/form/checkbox/checkbox.js +1 -1
- package/dist/form/checkbox/checkbox.js.map +1 -1
- package/dist/form/checkbox/checkbox.mjs +2 -2
- package/dist/form/checkbox/index.js +1 -1
- package/dist/form/checkbox/index.js.map +1 -1
- package/dist/form/checkbox/index.mjs +2 -2
- 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/fieldset/fieldset.js +1 -1
- package/dist/form/fieldset/fieldset.js.map +1 -1
- package/dist/form/fieldset/fieldset.mjs +1 -1
- package/dist/form/fieldset/index.js +1 -1
- package/dist/form/fieldset/index.js.map +1 -1
- package/dist/form/fieldset/index.mjs +1 -1
- package/dist/form/index.d.mts +10 -8
- package/dist/form/index.d.ts +10 -8
- package/dist/form/index.js +240 -132
- package/dist/form/index.js.map +1 -1
- package/dist/form/index.mjs +20 -14
- 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/radiobutton/index.js +1 -1
- package/dist/form/radiobutton/index.js.map +1 -1
- package/dist/form/radiobutton/index.mjs +3 -3
- package/dist/form/radiobutton/radiobutton.js +1 -1
- package/dist/form/radiobutton/radiobutton.js.map +1 -1
- package/dist/form/radiobutton/radiobutton.mjs +3 -3
- package/dist/form/radiobutton/radiogroup.js +1 -1
- package/dist/form/radiobutton/radiogroup.js.map +1 -1
- package/dist/form/radiobutton/radiogroup.mjs +2 -2
- 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 +36 -28
- package/dist/index-no-css.d.ts +36 -28
- package/dist/index-no-css.js +614 -409
- package/dist/index-no-css.js.map +1 -1
- package/dist/index-no-css.mjs +130 -52
- package/dist/index.d.mts +36 -28
- package/dist/index.d.ts +36 -28
- package/dist/index.js +614 -409
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +130 -52
- package/dist/index.mjs.map +1 -1
- package/dist/layout/index.d.mts +5 -1
- package/dist/layout/index.d.ts +5 -1
- package/dist/layout/index.js +62 -2
- package/dist/layout/index.js.map +1 -1
- package/dist/layout/index.mjs +12 -2
- package/dist/layout/responsive.d.mts +2 -0
- package/dist/layout/responsive.d.ts +2 -0
- package/dist/layout/responsive.js +42 -0
- package/dist/layout/responsive.js.map +1 -0
- package/dist/layout/responsive.mjs +8 -0
- package/dist/layout/responsive.mjs.map +1 -0
- package/dist/layout/spacing.d.mts +3 -0
- package/dist/layout/spacing.d.ts +3 -0
- package/dist/layout/spacing.js +33 -0
- package/dist/layout/spacing.js.map +1 -0
- package/dist/layout/spacing.mjs +8 -0
- package/dist/layout/spacing.mjs.map +1 -0
- package/dist/layout/stack/index.d.mts +4 -0
- package/dist/layout/stack/index.d.ts +4 -0
- package/dist/layout/stack/index.js +117 -0
- package/dist/layout/stack/index.js.map +1 -0
- package/dist/layout/stack/index.mjs +14 -0
- package/dist/layout/stack/index.mjs.map +1 -0
- package/dist/layout/stack/stack.d.mts +4 -0
- package/dist/layout/stack/stack.d.ts +4 -0
- package/dist/layout/stack/stack.js +115 -0
- package/dist/layout/stack/stack.js.map +1 -0
- package/dist/layout/stack/stack.mjs +14 -0
- package/dist/layout/stack/stack.mjs.map +1 -0
- 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 +42 -11
- package/dist/navbar/index.js.map +1 -1
- package/dist/navbar/index.mjs +13 -3
- package/dist/navbar/navbar-expandable-menu.js +34 -11
- package/dist/navbar/navbar-expandable-menu.js.map +1 -1
- package/dist/navbar/navbar-expandable-menu.mjs +2 -1
- package/dist/tabs/index.d.mts +5 -5
- package/dist/tabs/index.d.ts +5 -5
- package/dist/tabs/index.js +26 -6
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +15 -5
- package/dist/tabs/tabs-list.d.mts +2 -2
- package/dist/tabs/tabs-list.d.ts +2 -2
- package/dist/tabs/tabs-list.js +19 -7
- package/dist/tabs/tabs-list.js.map +1 -1
- package/dist/tabs/tabs-list.mjs +6 -6
- 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 +4 -4
- package/dist/chunk-DEVTAZKG.mjs.map +0 -1
- package/dist/chunk-EHUVLDIZ.mjs.map +0 -1
- package/dist/chunk-MUVJAMFN.mjs.map +0 -1
- package/dist/chunk-OIQUYB26.mjs +0 -1
- package/dist/chunk-POJTVNEO.mjs.map +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-VFFIUNR6.mjs.map +0 -1
- /package/dist/{chunk-XFSZBILE.mjs.map → chunk-6NGF7FFY.mjs.map} +0 -0
- /package/dist/{chunk-RLUXDZ6X.mjs.map → chunk-HMB4TY2F.mjs.map} +0 -0
- /package/dist/{chunk-RK6BB3HH.mjs.map → chunk-KTRIVJM3.mjs.map} +0 -0
- /package/dist/{chunk-OIQUYB26.mjs.map → chunk-L4GQJETB.mjs.map} +0 -0
- /package/dist/{chunk-IAS3E2S3.mjs.map → chunk-PUESATBQ.mjs.map} +0 -0
- /package/dist/{chunk-X7EKQZNU.mjs.map → chunk-RHCMBJOT.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
|
@@ -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,7 +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
|
-
|
|
318
|
+
declare type Breakpoints = "initial" | "small" | "medium" | "large" | "xlarge";
|
|
319
|
+
|
|
320
|
+
export declare const ButtonAsLink: Story_18;
|
|
319
321
|
|
|
320
322
|
declare type ButtonProps = ButtonPropsInternal & ({
|
|
321
323
|
/**
|
|
@@ -544,7 +546,7 @@ export { CheckboxProps as CheckboxProps_alias_4 }
|
|
|
544
546
|
|
|
545
547
|
export declare function CloseIcon(): JSX_2.Element;
|
|
546
548
|
|
|
547
|
-
export declare const CompleteShowMoreShowLess:
|
|
549
|
+
export declare const CompleteShowMoreShowLess: Story_24;
|
|
548
550
|
|
|
549
551
|
/**
|
|
550
552
|
* Container is a layout component that is used to wrap content.
|
|
@@ -579,95 +581,137 @@ export { DarkBadge as DarkBadge_alias_1 }
|
|
|
579
581
|
export { DarkBadge as DarkBadge_alias_2 }
|
|
580
582
|
export { DarkBadge as DarkBadge_alias_3 }
|
|
581
583
|
|
|
582
|
-
export declare const Darkmode:
|
|
584
|
+
export declare const Darkmode: Story_27;
|
|
583
585
|
|
|
584
|
-
export declare const DarkmodeSmall:
|
|
586
|
+
export declare const DarkmodeSmall: Story_27;
|
|
585
587
|
|
|
586
|
-
|
|
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,27 +771,15 @@ 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;
|
|
736
780
|
width?: number | string;
|
|
737
781
|
}
|
|
738
782
|
|
|
739
|
-
export declare const Disabled: Story_5;
|
|
740
|
-
|
|
741
|
-
export declare const DisabledInput: Story_11;
|
|
742
|
-
|
|
743
|
-
export declare const DisabledInputWithError: Story_11;
|
|
744
|
-
|
|
745
|
-
export declare const DisabledOutline: Story_5;
|
|
746
|
-
|
|
747
|
-
export declare const DisabledTextarea: Story_15;
|
|
748
|
-
|
|
749
|
-
export declare const DisabledTextareaWithError: Story_15;
|
|
750
|
-
|
|
751
783
|
declare function ErrorMessage({ children, id, className }: ErrorMessageProps): JSX_2.Element;
|
|
752
784
|
export { ErrorMessage }
|
|
753
785
|
export { ErrorMessage as ErrorMessage_alias_1 }
|
|
@@ -766,7 +798,7 @@ export { ErrorMessageProps as ErrorMessageProps_alias_2 }
|
|
|
766
798
|
export { ErrorMessageProps as ErrorMessageProps_alias_3 }
|
|
767
799
|
export { ErrorMessageProps as ErrorMessageProps_alias_4 }
|
|
768
800
|
|
|
769
|
-
export declare const Expandable:
|
|
801
|
+
export declare const Expandable: Story_30;
|
|
770
802
|
|
|
771
803
|
declare const Fieldset: ForwardRefExoticComponent<FieldsetProps & RefAttributes<HTMLFieldSetElement>>;
|
|
772
804
|
export { Fieldset }
|
|
@@ -775,9 +807,9 @@ export { Fieldset as Fieldset_alias_2 }
|
|
|
775
807
|
export { Fieldset as Fieldset_alias_3 }
|
|
776
808
|
export { Fieldset as Fieldset_alias_4 }
|
|
777
809
|
|
|
778
|
-
export declare const FieldsetErrorCheckboxes:
|
|
810
|
+
export declare const FieldsetErrorCheckboxes: Story_11;
|
|
779
811
|
|
|
780
|
-
export declare const FieldsetErrorRadiobuttons:
|
|
812
|
+
export declare const FieldsetErrorRadiobuttons: Story_11;
|
|
781
813
|
|
|
782
814
|
declare interface FieldsetProps extends FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
783
815
|
className?: string;
|
|
@@ -851,9 +883,6 @@ declare interface FooterLinkSectionProps extends HTMLAttributes<HTMLDivElement>
|
|
|
851
883
|
* Responsive sections of links. Will become an accordion on mobile.
|
|
852
884
|
*
|
|
853
885
|
* Use with `Footer.LinkSection` for each section.
|
|
854
|
-
*
|
|
855
|
-
* TODO:
|
|
856
|
-
* - [ ] Decrease number of DOM elements rendered. We should not rely on conditional rendering as that will make server-side rendering harder.
|
|
857
886
|
*/
|
|
858
887
|
declare const FooterLinkSections: ForwardRefExoticComponent<FooterLinkSectionsProps & RefAttributes<HTMLDivElement>>;
|
|
859
888
|
export { FooterLinkSections }
|
|
@@ -895,7 +924,11 @@ export { FooterProps as FooterProps_alias_1 }
|
|
|
895
924
|
export { FooterProps as FooterProps_alias_2 }
|
|
896
925
|
export { FooterProps as FooterProps_alias_3 }
|
|
897
926
|
|
|
898
|
-
export declare const FormWithErrorsOnSubmit:
|
|
927
|
+
export declare const FormWithErrorsOnSubmit: Story_12;
|
|
928
|
+
|
|
929
|
+
export declare function getResponsiveProps<T>(variable: `--hds-${string}`, inputValues?: ResponsiveProp<T>, valueTransformer?: (value: T) => string): Record<string, string>;
|
|
930
|
+
|
|
931
|
+
export declare function getSpacingVariable(size: SpacingSizes | ResponsiveSpacingSizes): string;
|
|
899
932
|
|
|
900
933
|
declare interface HeadingProps {
|
|
901
934
|
variant: "h1-display" | "h1" | "h2" | "h3" | "h3-title";
|
|
@@ -904,15 +937,26 @@ declare interface HeadingProps {
|
|
|
904
937
|
|
|
905
938
|
export declare const Horizontal: Story_7;
|
|
906
939
|
|
|
907
|
-
export declare const Horizontal_alias_1:
|
|
940
|
+
export declare const Horizontal_alias_1: Story_28;
|
|
908
941
|
|
|
909
942
|
export declare const HorizontalLongContent: Story_7;
|
|
910
943
|
|
|
911
|
-
export declare const HorizontalWithMiddleSelected:
|
|
944
|
+
export declare const HorizontalWithMiddleSelected: Story_28;
|
|
912
945
|
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
946
|
+
/**
|
|
947
|
+
* 🚨 WORK IN PROGRESS 🚨
|
|
948
|
+
*
|
|
949
|
+
* TODO
|
|
950
|
+
* - [ ] Add more examples
|
|
951
|
+
* - [ ] Document usage
|
|
952
|
+
* - [ ] Document props
|
|
953
|
+
*/
|
|
954
|
+
declare const HStack: React_2.ForwardRefExoticComponent<Omit<StackProps, "direction"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
955
|
+
export { HStack }
|
|
956
|
+
export { HStack as HStack_alias_1 }
|
|
957
|
+
export { HStack as HStack_alias_2 }
|
|
958
|
+
export { HStack as HStack_alias_3 }
|
|
959
|
+
export { HStack as HStack_alias_4 }
|
|
916
960
|
|
|
917
961
|
export declare const IconPrimary: Story_5;
|
|
918
962
|
|
|
@@ -943,7 +987,12 @@ declare interface InputGroupProps {
|
|
|
943
987
|
label: ReactNode;
|
|
944
988
|
disabled?: boolean;
|
|
945
989
|
readOnly?: boolean;
|
|
946
|
-
|
|
990
|
+
/**
|
|
991
|
+
* `children` must be either a single input element or a render function.
|
|
992
|
+
*
|
|
993
|
+
* If you use a render function, make sure you spread the input props to the appropriate element.
|
|
994
|
+
*/
|
|
995
|
+
children: Exclude<ReactNode, Iterable<ReactNode>> | ((inputProps: InputProps_2) => ReactNode);
|
|
947
996
|
}
|
|
948
997
|
export { InputGroupProps }
|
|
949
998
|
export { InputGroupProps as InputGroupProps_alias_1 }
|
|
@@ -955,15 +1004,22 @@ export { InputProps as InputProps_alias_2 }
|
|
|
955
1004
|
export { InputProps as InputProps_alias_3 }
|
|
956
1005
|
export { InputProps as InputProps_alias_4 }
|
|
957
1006
|
|
|
958
|
-
|
|
1007
|
+
declare interface InputProps_2 {
|
|
1008
|
+
"aria-describedby"?: string;
|
|
1009
|
+
"aria-invalid"?: boolean;
|
|
1010
|
+
id?: string;
|
|
1011
|
+
className?: string;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export declare const Inverted: Story_18;
|
|
959
1015
|
|
|
960
1016
|
export declare const JustACheckbox: Story_8;
|
|
961
1017
|
|
|
962
|
-
export declare const JustARadiobutton:
|
|
1018
|
+
export declare const JustARadiobutton: Story_13;
|
|
963
1019
|
|
|
964
1020
|
export declare const JustOneItem: Story;
|
|
965
1021
|
|
|
966
|
-
export declare const LargeLegend:
|
|
1022
|
+
export declare const LargeLegend: Story_11;
|
|
967
1023
|
|
|
968
1024
|
export declare const Lighter: Story_2;
|
|
969
1025
|
|
|
@@ -977,7 +1033,7 @@ export { Link as Link_alias_1 }
|
|
|
977
1033
|
export { Link as Link_alias_2 }
|
|
978
1034
|
export { Link as Link_alias_3 }
|
|
979
1035
|
|
|
980
|
-
export declare const LinkInDescription:
|
|
1036
|
+
export declare const LinkInDescription: Story_30;
|
|
981
1037
|
|
|
982
1038
|
/**
|
|
983
1039
|
* Show a list of links
|
|
@@ -1002,7 +1058,7 @@ export { LinkListProps as LinkListProps_alias_1 }
|
|
|
1002
1058
|
export { LinkListProps as LinkListProps_alias_2 }
|
|
1003
1059
|
export { LinkListProps as LinkListProps_alias_3 }
|
|
1004
1060
|
|
|
1005
|
-
export declare const LinkListStory:
|
|
1061
|
+
export declare const LinkListStory: Story_19;
|
|
1006
1062
|
|
|
1007
1063
|
declare interface LinkProps extends React_2.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1008
1064
|
/**
|
|
@@ -1032,9 +1088,9 @@ export { ListProps as ListProps_alias_1 }
|
|
|
1032
1088
|
export { ListProps as ListProps_alias_2 }
|
|
1033
1089
|
export { ListProps as ListProps_alias_3 }
|
|
1034
1090
|
|
|
1035
|
-
export declare const LoadingCards:
|
|
1091
|
+
export declare const LoadingCards: Story_25;
|
|
1036
1092
|
|
|
1037
|
-
export declare const LongDescriptionOnly:
|
|
1093
|
+
export declare const LongDescriptionOnly: Story_21;
|
|
1038
1094
|
|
|
1039
1095
|
export declare const Main: {
|
|
1040
1096
|
render: (args: ModalProps & RefAttributes<HTMLDialogElement>) => JSX_2.Element;
|
|
@@ -1057,7 +1113,11 @@ export { MessageComponent as Message }
|
|
|
1057
1113
|
export { MessageComponent as Message_alias_1 }
|
|
1058
1114
|
export { MessageComponent as Message_alias_2 }
|
|
1059
1115
|
|
|
1060
|
-
|
|
1116
|
+
declare const MessageDescription: OverridableComponent<object, HTMLParagraphElement>;
|
|
1117
|
+
export { MessageDescription }
|
|
1118
|
+
export { MessageDescription as MessageDescription_alias_1 }
|
|
1119
|
+
export { MessageDescription as MessageDescription_alias_2 }
|
|
1120
|
+
export { MessageDescription as MessageDescription_alias_3 }
|
|
1061
1121
|
|
|
1062
1122
|
export declare type MessageProps = ({
|
|
1063
1123
|
variant?: "success" | "attention" | "warning";
|
|
@@ -1069,9 +1129,13 @@ export declare type MessageProps = ({
|
|
|
1069
1129
|
iconClassName?: string;
|
|
1070
1130
|
}) & Omit<BoxProps, "variant">;
|
|
1071
1131
|
|
|
1072
|
-
|
|
1132
|
+
declare const MessageTitle: OverridableComponent<object, HTMLParagraphElement>;
|
|
1133
|
+
export { MessageTitle }
|
|
1134
|
+
export { MessageTitle as MessageTitle_alias_1 }
|
|
1135
|
+
export { MessageTitle as MessageTitle_alias_2 }
|
|
1136
|
+
export { MessageTitle as MessageTitle_alias_3 }
|
|
1073
1137
|
|
|
1074
|
-
export declare const MinAndMax:
|
|
1138
|
+
export declare const MinAndMax: Story_29;
|
|
1075
1139
|
|
|
1076
1140
|
/**
|
|
1077
1141
|
* A modal dialog is a window that forces the user to interact with it before they can return to other parts of the application.
|
|
@@ -1094,10 +1158,13 @@ export declare const MinAndMax: Story_28;
|
|
|
1094
1158
|
something about the consequences.
|
|
1095
1159
|
</p>
|
|
1096
1160
|
</Modal.Content>
|
|
1097
|
-
<Modal.Footer
|
|
1161
|
+
<Modal.Footer>
|
|
1162
|
+
<HStack gap="16" wrap>
|
|
1163
|
+
<PrimaryButton onClick={onMainAction}>Main action</PrimaryButton>
|
|
1098
1164
|
<PrimaryButton fill="outline" onClick={onClose}>
|
|
1099
|
-
|
|
1165
|
+
Cancel
|
|
1100
1166
|
</PrimaryButton>
|
|
1167
|
+
</HStack>
|
|
1101
1168
|
</Modal.Footer>
|
|
1102
1169
|
</Modal>
|
|
1103
1170
|
</>
|
|
@@ -1149,7 +1216,7 @@ export { ModalProps as ModalProps_alias_1 }
|
|
|
1149
1216
|
export { ModalProps as ModalProps_alias_2 }
|
|
1150
1217
|
export { ModalProps as ModalProps_alias_3 }
|
|
1151
1218
|
|
|
1152
|
-
export declare const MuchContentBelow:
|
|
1219
|
+
export declare const MuchContentBelow: Story_22;
|
|
1153
1220
|
|
|
1154
1221
|
export declare const MultipleItems: Story;
|
|
1155
1222
|
|
|
@@ -1302,13 +1369,13 @@ export { NavbarProps as NavbarProps_alias_1 }
|
|
|
1302
1369
|
export { NavbarProps as NavbarProps_alias_2 }
|
|
1303
1370
|
export { NavbarProps as NavbarProps_alias_3 }
|
|
1304
1371
|
|
|
1305
|
-
export declare const NestedLists:
|
|
1372
|
+
export declare const NestedLists: Story_20;
|
|
1306
1373
|
|
|
1307
|
-
export declare const Neutral:
|
|
1374
|
+
export declare const Neutral: Story_21;
|
|
1308
1375
|
|
|
1309
1376
|
export declare const NoIndent: Story;
|
|
1310
1377
|
|
|
1311
|
-
export declare const NoUnderline:
|
|
1378
|
+
export declare const NoUnderline: Story_18;
|
|
1312
1379
|
|
|
1313
1380
|
/**
|
|
1314
1381
|
* An ordered list of simple items
|
|
@@ -1325,7 +1392,7 @@ export { OrderedList as OrderedList_alias_1 }
|
|
|
1325
1392
|
export { OrderedList as OrderedList_alias_2 }
|
|
1326
1393
|
export { OrderedList as OrderedList_alias_3 }
|
|
1327
1394
|
|
|
1328
|
-
export declare const OrderedListStory:
|
|
1395
|
+
export declare const OrderedListStory: Story_20;
|
|
1329
1396
|
|
|
1330
1397
|
/**
|
|
1331
1398
|
* OverridableComponent makes the `as` prop available,
|
|
@@ -1353,21 +1420,23 @@ export declare const PlainCheckboxesWithError: Story_8;
|
|
|
1353
1420
|
|
|
1354
1421
|
export declare const PlainCheckboxeWithError: Story_8;
|
|
1355
1422
|
|
|
1356
|
-
export declare const
|
|
1423
|
+
export declare const PlainDatePicker: Story_9;
|
|
1424
|
+
|
|
1425
|
+
export declare const PlainInput: Story_12;
|
|
1357
1426
|
|
|
1358
|
-
export declare const PlainInputWithError:
|
|
1427
|
+
export declare const PlainInputWithError: Story_12;
|
|
1359
1428
|
|
|
1360
|
-
export declare const PlainRadiobuttons:
|
|
1429
|
+
export declare const PlainRadiobuttons: Story_13;
|
|
1361
1430
|
|
|
1362
|
-
export declare const PlainRadiobuttonsWithError:
|
|
1431
|
+
export declare const PlainRadiobuttonsWithError: Story_13;
|
|
1363
1432
|
|
|
1364
|
-
export declare const PlainRadioGroup:
|
|
1433
|
+
export declare const PlainRadioGroup: Story_14;
|
|
1365
1434
|
|
|
1366
|
-
export declare const PlainTextarea:
|
|
1435
|
+
export declare const PlainTextarea: Story_16;
|
|
1367
1436
|
|
|
1368
|
-
export declare const PlainTextareaWithError:
|
|
1437
|
+
export declare const PlainTextareaWithError: Story_16;
|
|
1369
1438
|
|
|
1370
|
-
export declare const PostenBringSideBySide:
|
|
1439
|
+
export declare const PostenBringSideBySide: Story_29;
|
|
1371
1440
|
|
|
1372
1441
|
export declare const Primary: Story_5;
|
|
1373
1442
|
|
|
@@ -1444,13 +1513,36 @@ export { RadioGroupProps as RadioGroupProps_alias_2 }
|
|
|
1444
1513
|
export { RadioGroupProps as RadioGroupProps_alias_3 }
|
|
1445
1514
|
export { RadioGroupProps as RadioGroupProps_alias_4 }
|
|
1446
1515
|
|
|
1447
|
-
export declare const ReadonlyInput:
|
|
1516
|
+
export declare const ReadonlyInput: Story_12;
|
|
1517
|
+
|
|
1518
|
+
export declare const ReadonlyInputWithError: Story_12;
|
|
1519
|
+
|
|
1520
|
+
export declare const ReadonlyTextarea: Story_16;
|
|
1448
1521
|
|
|
1449
|
-
export declare const
|
|
1522
|
+
export declare const ReadonlyTextareaWithError: Story_16;
|
|
1450
1523
|
|
|
1451
|
-
export declare
|
|
1524
|
+
export declare type ResponsiveProp<T> = T | ResponsiveValues<T>;
|
|
1452
1525
|
|
|
1453
|
-
export declare
|
|
1526
|
+
export declare type ResponsiveSpacingSizes = keyof typeof responsiveSpacingSizes;
|
|
1527
|
+
|
|
1528
|
+
declare const responsiveSpacingSizes: {
|
|
1529
|
+
readonly "4-8": "4-8";
|
|
1530
|
+
readonly "8-12": "8-12";
|
|
1531
|
+
readonly "12-16": "12-16";
|
|
1532
|
+
readonly "16-20": "16-20";
|
|
1533
|
+
readonly "20-24": "20-24";
|
|
1534
|
+
readonly "24-32": "24-32";
|
|
1535
|
+
readonly "32-40": "32-40";
|
|
1536
|
+
readonly "40-48": "40-48";
|
|
1537
|
+
readonly "48-64": "48-64";
|
|
1538
|
+
readonly "64-80": "64-80";
|
|
1539
|
+
readonly "80-120": "80-120";
|
|
1540
|
+
readonly "120-160": "120-160";
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1543
|
+
declare type ResponsiveValues<T> = {
|
|
1544
|
+
[Breakpoint in Breakpoints]?: T;
|
|
1545
|
+
};
|
|
1454
1546
|
|
|
1455
1547
|
export declare const Secondary: Story_5;
|
|
1456
1548
|
|
|
@@ -1462,14 +1554,18 @@ export { SecondaryButton as SecondaryButton_alias_3 }
|
|
|
1462
1554
|
|
|
1463
1555
|
export declare const SecondaryOutline: Story_5;
|
|
1464
1556
|
|
|
1465
|
-
declare const Select: ForwardRefExoticComponent<
|
|
1557
|
+
declare const Select: ForwardRefExoticComponent<Omit<InputGroupProps & SelectHTMLAttributes<HTMLSelectElement>, "children" | "readOnly"> & {
|
|
1558
|
+
children: ReactNode;
|
|
1559
|
+
} & RefAttributes<HTMLSelectElement>>;
|
|
1466
1560
|
export { Select }
|
|
1467
1561
|
export { Select as Select_alias_1 }
|
|
1468
1562
|
export { Select as Select_alias_2 }
|
|
1469
1563
|
export { Select as Select_alias_3 }
|
|
1470
1564
|
export { Select as Select_alias_4 }
|
|
1471
1565
|
|
|
1472
|
-
declare type SelectProps = Omit<InputGroupProps & SelectHTMLAttributes<HTMLSelectElement>, "readOnly"
|
|
1566
|
+
declare type SelectProps = Omit<InputGroupProps & SelectHTMLAttributes<HTMLSelectElement>, "readOnly" | "children"> & {
|
|
1567
|
+
children: ReactNode;
|
|
1568
|
+
};
|
|
1473
1569
|
export { SelectProps }
|
|
1474
1570
|
export { SelectProps as SelectProps_alias_1 }
|
|
1475
1571
|
export { SelectProps as SelectProps_alias_2 }
|
|
@@ -1480,7 +1576,7 @@ export declare const ShareParcelModal: {
|
|
|
1480
1576
|
render: (args: ModalProps & RefAttributes<HTMLDialogElement>) => JSX_2.Element;
|
|
1481
1577
|
};
|
|
1482
1578
|
|
|
1483
|
-
export declare const ShowMore:
|
|
1579
|
+
export declare const ShowMore: Story_24;
|
|
1484
1580
|
|
|
1485
1581
|
/**
|
|
1486
1582
|
* Simple button for triggering more content.
|
|
@@ -1525,11 +1621,11 @@ export { ShowMoreProps as ShowMoreProps_alias_1 }
|
|
|
1525
1621
|
export { ShowMoreProps as ShowMoreProps_alias_2 }
|
|
1526
1622
|
export { ShowMoreProps as ShowMoreProps_alias_3 }
|
|
1527
1623
|
|
|
1528
|
-
export declare const ShowMoreShowLess:
|
|
1624
|
+
export declare const ShowMoreShowLess: Story_24;
|
|
1529
1625
|
|
|
1530
|
-
export declare const ShowMoreShowLessExpanded:
|
|
1626
|
+
export declare const ShowMoreShowLessExpanded: Story_24;
|
|
1531
1627
|
|
|
1532
|
-
export declare const SimpleShowMoreShowLess:
|
|
1628
|
+
export declare const SimpleShowMoreShowLess: Story_24;
|
|
1533
1629
|
|
|
1534
1630
|
export declare const SingleAccordion: Story;
|
|
1535
1631
|
|
|
@@ -1592,11 +1688,61 @@ declare interface SkeletonPropsInner extends React_2.AnchorHTMLAttributes<HTMLDi
|
|
|
1592
1688
|
children?: React_2.ReactNode;
|
|
1593
1689
|
}
|
|
1594
1690
|
|
|
1595
|
-
export declare const Slim:
|
|
1691
|
+
export declare const Slim: Story_17;
|
|
1692
|
+
|
|
1693
|
+
export declare const Small: Story_27;
|
|
1694
|
+
|
|
1695
|
+
export declare const Solid: Story_18;
|
|
1596
1696
|
|
|
1597
|
-
export declare
|
|
1697
|
+
export declare type SpacingSizes = keyof typeof spacingSizes;
|
|
1598
1698
|
|
|
1599
|
-
|
|
1699
|
+
declare const spacingSizes: {
|
|
1700
|
+
readonly "4": "4";
|
|
1701
|
+
readonly "8": "8";
|
|
1702
|
+
readonly "12": "12";
|
|
1703
|
+
readonly "16": "16";
|
|
1704
|
+
readonly "20": "20";
|
|
1705
|
+
readonly "24": "24";
|
|
1706
|
+
readonly "32": "32";
|
|
1707
|
+
readonly "40": "40";
|
|
1708
|
+
readonly "48": "48";
|
|
1709
|
+
readonly "64": "64";
|
|
1710
|
+
readonly "80": "80";
|
|
1711
|
+
readonly "120": "120";
|
|
1712
|
+
};
|
|
1713
|
+
|
|
1714
|
+
/**
|
|
1715
|
+
* 🚨 WORK IN PROGRESS 🚨
|
|
1716
|
+
*
|
|
1717
|
+
* TODO
|
|
1718
|
+
* - [ ] Add more examples
|
|
1719
|
+
* - [ ] Document usage
|
|
1720
|
+
* - [ ] Document props
|
|
1721
|
+
*/
|
|
1722
|
+
declare const Stack: React_2.ForwardRefExoticComponent<StackProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1723
|
+
export { Stack }
|
|
1724
|
+
export { Stack as Stack_alias_1 }
|
|
1725
|
+
export { Stack as Stack_alias_2 }
|
|
1726
|
+
export { Stack as Stack_alias_3 }
|
|
1727
|
+
export { Stack as Stack_alias_4 }
|
|
1728
|
+
|
|
1729
|
+
declare interface StackProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1730
|
+
children: React_2.ReactNode;
|
|
1731
|
+
gap?: ResponsiveProp<SpacingSizes> | ResponsiveSpacingSizes;
|
|
1732
|
+
direction?: ResponsiveProp<React_2.CSSProperties["flexDirection"]>;
|
|
1733
|
+
wrap?: ResponsiveProp<boolean>;
|
|
1734
|
+
align?: ResponsiveProp<React_2.CSSProperties["alignItems"]>;
|
|
1735
|
+
justify?: ResponsiveProp<React_2.CSSProperties["justifyContent"]>;
|
|
1736
|
+
/**
|
|
1737
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
1738
|
+
*/
|
|
1739
|
+
asChild?: boolean;
|
|
1740
|
+
}
|
|
1741
|
+
export { StackProps }
|
|
1742
|
+
export { StackProps as StackProps_alias_1 }
|
|
1743
|
+
export { StackProps as StackProps_alias_2 }
|
|
1744
|
+
export { StackProps as StackProps_alias_3 }
|
|
1745
|
+
export { StackProps as StackProps_alias_4 }
|
|
1600
1746
|
|
|
1601
1747
|
/**
|
|
1602
1748
|
* Indicate a step in a process.
|
|
@@ -1627,50 +1773,52 @@ declare interface StepIndicatorProps extends React.HTMLAttributes<HTMLDivElement
|
|
|
1627
1773
|
|
|
1628
1774
|
declare type Story = StoryObj<typeof AccordionComponent>;
|
|
1629
1775
|
|
|
1630
|
-
declare type Story_10 = StoryObj<typeof
|
|
1776
|
+
declare type Story_10 = StoryObj<typeof ErrorMessage>;
|
|
1631
1777
|
|
|
1632
|
-
declare type Story_11 = StoryObj<typeof
|
|
1778
|
+
declare type Story_11 = StoryObj<typeof Fieldset>;
|
|
1633
1779
|
|
|
1634
|
-
declare type Story_12 = StoryObj<typeof
|
|
1780
|
+
declare type Story_12 = StoryObj<typeof Input>;
|
|
1635
1781
|
|
|
1636
|
-
declare type Story_13 = StoryObj<typeof
|
|
1782
|
+
declare type Story_13 = StoryObj<typeof Radiobutton>;
|
|
1637
1783
|
|
|
1638
|
-
declare type Story_14 = StoryObj<typeof
|
|
1784
|
+
declare type Story_14 = StoryObj<typeof RadioGroup>;
|
|
1639
1785
|
|
|
1640
|
-
declare type Story_15 = StoryObj<typeof
|
|
1786
|
+
declare type Story_15 = StoryObj<typeof Select>;
|
|
1641
1787
|
|
|
1642
|
-
declare type Story_16 = StoryObj<typeof
|
|
1788
|
+
declare type Story_16 = StoryObj<typeof Textarea>;
|
|
1643
1789
|
|
|
1644
|
-
declare type Story_17 = StoryObj<typeof
|
|
1790
|
+
declare type Story_17 = StoryObj<typeof Container>;
|
|
1645
1791
|
|
|
1646
|
-
declare type Story_18 = StoryObj<typeof
|
|
1792
|
+
declare type Story_18 = StoryObj<typeof Link>;
|
|
1647
1793
|
|
|
1648
|
-
declare type Story_19 = StoryObj<typeof
|
|
1794
|
+
declare type Story_19 = StoryObj<typeof LinkList>;
|
|
1649
1795
|
|
|
1650
1796
|
declare type Story_2 = StoryObj<typeof Badge>;
|
|
1651
1797
|
|
|
1652
|
-
declare type Story_20 = StoryObj<typeof
|
|
1798
|
+
declare type Story_20 = StoryObj<typeof UnorderedList>;
|
|
1653
1799
|
|
|
1654
|
-
declare type Story_21 = StoryObj<typeof
|
|
1800
|
+
declare type Story_21 = StoryObj<typeof MessageComponent>;
|
|
1655
1801
|
|
|
1656
|
-
declare type Story_22 = StoryObj<typeof
|
|
1802
|
+
declare type Story_22 = StoryObj<typeof ModalComponent>;
|
|
1657
1803
|
|
|
1658
|
-
declare type Story_23 = StoryObj<typeof
|
|
1804
|
+
declare type Story_23 = StoryObj<typeof NavbarComponent>;
|
|
1659
1805
|
|
|
1660
|
-
declare type Story_24 = StoryObj<typeof
|
|
1806
|
+
declare type Story_24 = StoryObj<typeof ShowMoreButton>;
|
|
1661
1807
|
|
|
1662
|
-
declare type Story_25 = StoryObj<typeof
|
|
1808
|
+
declare type Story_25 = StoryObj<typeof Skeleton>;
|
|
1663
1809
|
|
|
1664
|
-
declare type Story_26 = StoryObj<typeof
|
|
1810
|
+
declare type Story_26 = StoryObj<typeof StepIndicator>;
|
|
1665
1811
|
|
|
1666
|
-
declare type Story_27 = StoryObj<typeof
|
|
1812
|
+
declare type Story_27 = StoryObj<typeof StyledHtml>;
|
|
1667
1813
|
|
|
1668
|
-
declare type Story_28 = StoryObj<typeof
|
|
1814
|
+
declare type Story_28 = StoryObj<typeof TabsComponent>;
|
|
1669
1815
|
|
|
1670
|
-
declare type Story_29 = StoryObj<typeof
|
|
1816
|
+
declare type Story_29 = StoryObj<typeof Text_2>;
|
|
1671
1817
|
|
|
1672
1818
|
declare type Story_3 = StoryObj<typeof BoxComponent>;
|
|
1673
1819
|
|
|
1820
|
+
declare type Story_30 = StoryObj<typeof WarningBanner>;
|
|
1821
|
+
|
|
1674
1822
|
declare type Story_4 = StoryObj<typeof Breadcrumbs>;
|
|
1675
1823
|
|
|
1676
1824
|
declare type Story_5 = StoryObj<typeof PrimaryButton>;
|
|
@@ -1681,7 +1829,7 @@ declare type Story_7 = StoryObj<typeof DescriptionList>;
|
|
|
1681
1829
|
|
|
1682
1830
|
declare type Story_8 = StoryObj<typeof Checkbox>;
|
|
1683
1831
|
|
|
1684
|
-
declare type Story_9 = StoryObj<typeof
|
|
1832
|
+
declare type Story_9 = StoryObj<typeof DatePicker>;
|
|
1685
1833
|
|
|
1686
1834
|
/**
|
|
1687
1835
|
* A component for displaying dynamic content that you want to apply hedwig styling to.
|
|
@@ -1720,13 +1868,7 @@ export { StyledHtmlProps as StyledHtmlProps_alias_1 }
|
|
|
1720
1868
|
export { StyledHtmlProps as StyledHtmlProps_alias_2 }
|
|
1721
1869
|
export { StyledHtmlProps as StyledHtmlProps_alias_3 }
|
|
1722
1870
|
|
|
1723
|
-
export declare const Success:
|
|
1724
|
-
|
|
1725
|
-
declare const Tab: OverridableComponent<TabProps, HTMLButtonElement>;
|
|
1726
|
-
export { Tab }
|
|
1727
|
-
export { Tab as Tab_alias_1 }
|
|
1728
|
-
export { Tab as Tab_alias_2 }
|
|
1729
|
-
export { Tab as Tab_alias_3 }
|
|
1871
|
+
export declare const Success: Story_21;
|
|
1730
1872
|
|
|
1731
1873
|
declare interface TabContentsProps extends HTMLAttributes<HTMLDivElement> {
|
|
1732
1874
|
children: ReactElement<TabsContentProps> | ReactElement<TabsContentProps>[];
|
|
@@ -1737,7 +1879,7 @@ export { TabContentsProps as TabContentsProps_alias_2 }
|
|
|
1737
1879
|
export { TabContentsProps as TabContentsProps_alias_3 }
|
|
1738
1880
|
|
|
1739
1881
|
declare interface TabListProps extends HTMLAttributes<HTMLDivElement> {
|
|
1740
|
-
children: ReactElement<
|
|
1882
|
+
children: ReactElement<TabsTabProps> | ReactElement<TabsTabProps>[];
|
|
1741
1883
|
/**
|
|
1742
1884
|
* Direction of the tabs. Can either be vertical or horizontal.
|
|
1743
1885
|
* Horizontal breaks on window width with fallback back to vertical
|
|
@@ -1749,18 +1891,6 @@ export { TabListProps as TabListProps_alias_1 }
|
|
|
1749
1891
|
export { TabListProps as TabListProps_alias_2 }
|
|
1750
1892
|
export { TabListProps as TabListProps_alias_3 }
|
|
1751
1893
|
|
|
1752
|
-
declare interface TabProps extends HTMLAttributes<HTMLButtonElement> {
|
|
1753
|
-
children: ReactElement<HTMLElement> | string;
|
|
1754
|
-
/**
|
|
1755
|
-
* Identifier for the tab
|
|
1756
|
-
*/
|
|
1757
|
-
tabId: string;
|
|
1758
|
-
}
|
|
1759
|
-
export { TabProps }
|
|
1760
|
-
export { TabProps as TabProps_alias_1 }
|
|
1761
|
-
export { TabProps as TabProps_alias_2 }
|
|
1762
|
-
export { TabProps as TabProps_alias_3 }
|
|
1763
|
-
|
|
1764
1894
|
export declare const Tabs_alias_3: OverridableComponent<TabsProps, HTMLDivElement>;
|
|
1765
1895
|
|
|
1766
1896
|
declare const TabsComponent: {
|
|
@@ -1770,7 +1900,7 @@ declare const TabsComponent: {
|
|
|
1770
1900
|
} & TabsProps & Omit<ComponentPropsWithRef<As>, keyof TabsProps>): ReactNode;
|
|
1771
1901
|
} & Pick<FC, "displayName"> & {
|
|
1772
1902
|
List: typeof TabsList;
|
|
1773
|
-
Tab: typeof
|
|
1903
|
+
Tab: typeof TabsTab;
|
|
1774
1904
|
Contents: typeof TabsContents;
|
|
1775
1905
|
Content: typeof TabsContent;
|
|
1776
1906
|
};
|
|
@@ -1835,6 +1965,24 @@ export { TabsProps as TabsProps_alias_1 }
|
|
|
1835
1965
|
export { TabsProps as TabsProps_alias_2 }
|
|
1836
1966
|
export { TabsProps as TabsProps_alias_3 }
|
|
1837
1967
|
|
|
1968
|
+
declare const TabsTab: OverridableComponent<TabsTabProps, HTMLButtonElement>;
|
|
1969
|
+
export { TabsTab }
|
|
1970
|
+
export { TabsTab as TabsTab_alias_1 }
|
|
1971
|
+
export { TabsTab as TabsTab_alias_2 }
|
|
1972
|
+
export { TabsTab as TabsTab_alias_3 }
|
|
1973
|
+
|
|
1974
|
+
declare interface TabsTabProps extends HTMLAttributes<HTMLButtonElement> {
|
|
1975
|
+
children: ReactElement<HTMLElement> | string;
|
|
1976
|
+
/**
|
|
1977
|
+
* Identifier for the tab
|
|
1978
|
+
*/
|
|
1979
|
+
tabId: string;
|
|
1980
|
+
}
|
|
1981
|
+
export { TabsTabProps }
|
|
1982
|
+
export { TabsTabProps as TabsTabProps_alias_1 }
|
|
1983
|
+
export { TabsTabProps as TabsTabProps_alias_2 }
|
|
1984
|
+
export { TabsTabProps as TabsTabProps_alias_3 }
|
|
1985
|
+
|
|
1838
1986
|
/**
|
|
1839
1987
|
* Text component
|
|
1840
1988
|
*
|
|
@@ -2036,11 +2184,11 @@ export { TextTechnicalTitle }
|
|
|
2036
2184
|
export { TextTechnicalTitle as TextTechnicalTitle_alias_1 }
|
|
2037
2185
|
export { TextTechnicalTitle as TextTechnicalTitle_alias_2 }
|
|
2038
2186
|
|
|
2039
|
-
export declare const Title:
|
|
2187
|
+
export declare const Title: Story_26;
|
|
2040
2188
|
|
|
2041
|
-
export declare const TitleOnly:
|
|
2189
|
+
export declare const TitleOnly: Story_21;
|
|
2042
2190
|
|
|
2043
|
-
export declare const TitleOnly_alias_1:
|
|
2191
|
+
export declare const TitleOnly_alias_1: Story_30;
|
|
2044
2192
|
|
|
2045
2193
|
declare type TitleProps = {
|
|
2046
2194
|
/**
|
|
@@ -2055,14 +2203,14 @@ declare type TitleProps = {
|
|
|
2055
2203
|
titleAs?: undefined;
|
|
2056
2204
|
};
|
|
2057
2205
|
|
|
2058
|
-
export declare const TrackingNumberSearch:
|
|
2206
|
+
export declare const TrackingNumberSearch: Story_12;
|
|
2059
2207
|
|
|
2060
2208
|
/**
|
|
2061
2209
|
* You should have at minimum two levels in your hierarchy to use breadcrumbs.
|
|
2062
2210
|
*/
|
|
2063
2211
|
export declare const TwoElements: Story_4;
|
|
2064
2212
|
|
|
2065
|
-
export declare const Underline:
|
|
2213
|
+
export declare const Underline: Story_18;
|
|
2066
2214
|
|
|
2067
2215
|
/**
|
|
2068
2216
|
* An unordered list of simple items, often text. You can nest other lists inside this component.
|
|
@@ -2079,7 +2227,7 @@ export { UnorderedList as UnorderedList_alias_1 }
|
|
|
2079
2227
|
export { UnorderedList as UnorderedList_alias_2 }
|
|
2080
2228
|
export { UnorderedList as UnorderedList_alias_3 }
|
|
2081
2229
|
|
|
2082
|
-
export declare const UnorderedListStory:
|
|
2230
|
+
export declare const UnorderedListStory: Story_20;
|
|
2083
2231
|
|
|
2084
2232
|
declare const useFieldsetContext: () => {
|
|
2085
2233
|
hasError: boolean;
|
|
@@ -2090,6 +2238,8 @@ export { useFieldsetContext as useFieldsetContext_alias_2 }
|
|
|
2090
2238
|
export { useFieldsetContext as useFieldsetContext_alias_3 }
|
|
2091
2239
|
export { useFieldsetContext as useFieldsetContext_alias_4 }
|
|
2092
2240
|
|
|
2241
|
+
export declare function useHydrated(): boolean;
|
|
2242
|
+
|
|
2093
2243
|
/**
|
|
2094
2244
|
* Merges an array of refs into a single memoized callback ref or `null`.
|
|
2095
2245
|
* @see https://floating-ui.com/docs/useMergeRefs
|
|
@@ -2132,11 +2282,26 @@ declare type Variant = {
|
|
|
2132
2282
|
|
|
2133
2283
|
export declare const Vertical: Story_7;
|
|
2134
2284
|
|
|
2135
|
-
export declare const Vertical_alias_1:
|
|
2285
|
+
export declare const Vertical_alias_1: Story_28;
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
* 🚨 WORK IN PROGRESS 🚨
|
|
2289
|
+
*
|
|
2290
|
+
* TODO
|
|
2291
|
+
* - [ ] Add more examples
|
|
2292
|
+
* - [ ] Document usage
|
|
2293
|
+
* - [ ] Document props
|
|
2294
|
+
*/
|
|
2295
|
+
declare const VStack: React_2.ForwardRefExoticComponent<Omit<StackProps, "direction"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
2296
|
+
export { VStack }
|
|
2297
|
+
export { VStack as VStack_alias_1 }
|
|
2298
|
+
export { VStack as VStack_alias_2 }
|
|
2299
|
+
export { VStack as VStack_alias_3 }
|
|
2300
|
+
export { VStack as VStack_alias_4 }
|
|
2136
2301
|
|
|
2137
2302
|
export declare const Warning: Story_2;
|
|
2138
2303
|
|
|
2139
|
-
export declare const Warning_alias_1:
|
|
2304
|
+
export declare const Warning_alias_1: Story_21;
|
|
2140
2305
|
|
|
2141
2306
|
declare function WarningBadge(props: BadgeProps): JSX_2.Element;
|
|
2142
2307
|
|
|
@@ -2167,7 +2332,7 @@ export declare const WarningBox: Story_3;
|
|
|
2167
2332
|
|
|
2168
2333
|
export declare const White: Story_2;
|
|
2169
2334
|
|
|
2170
|
-
export declare const White_alias_1:
|
|
2335
|
+
export declare const White_alias_1: Story_15;
|
|
2171
2336
|
|
|
2172
2337
|
declare function WhiteBadge(props: BadgeProps): JSX_2.Element;
|
|
2173
2338
|
|
|
@@ -2181,35 +2346,25 @@ export { WhiteBadge as WhiteBadge_alias_3 }
|
|
|
2181
2346
|
|
|
2182
2347
|
export declare const WhiteBox: Story_3;
|
|
2183
2348
|
|
|
2184
|
-
export declare const
|
|
2185
|
-
|
|
2186
|
-
export declare const WhiteDisabledInput: Story_11;
|
|
2187
|
-
|
|
2188
|
-
export declare const WhiteDisabledInputWithError: Story_11;
|
|
2189
|
-
|
|
2190
|
-
export declare const WhiteDisabledTextarea: Story_15;
|
|
2191
|
-
|
|
2192
|
-
export declare const WhiteDisabledTextareaWithError: Story_15;
|
|
2193
|
-
|
|
2194
|
-
export declare const WhiteInput: Story_11;
|
|
2349
|
+
export declare const WhiteInput: Story_12;
|
|
2195
2350
|
|
|
2196
|
-
export declare const WhiteInputWithError:
|
|
2351
|
+
export declare const WhiteInputWithError: Story_12;
|
|
2197
2352
|
|
|
2198
|
-
export declare const WhiteReadonlyInput:
|
|
2353
|
+
export declare const WhiteReadonlyInput: Story_12;
|
|
2199
2354
|
|
|
2200
|
-
export declare const WhiteReadonlyInputWithError:
|
|
2355
|
+
export declare const WhiteReadonlyInputWithError: Story_12;
|
|
2201
2356
|
|
|
2202
|
-
export declare const WhiteReadonlyTextarea:
|
|
2357
|
+
export declare const WhiteReadonlyTextarea: Story_16;
|
|
2203
2358
|
|
|
2204
|
-
export declare const WhiteReadonlyTextareaWithError:
|
|
2359
|
+
export declare const WhiteReadonlyTextareaWithError: Story_16;
|
|
2205
2360
|
|
|
2206
|
-
export declare const WhiteTextarea:
|
|
2361
|
+
export declare const WhiteTextarea: Story_16;
|
|
2207
2362
|
|
|
2208
|
-
export declare const WhiteTextareaWithError:
|
|
2363
|
+
export declare const WhiteTextareaWithError: Story_16;
|
|
2209
2364
|
|
|
2210
|
-
export declare const WhiteWithError:
|
|
2365
|
+
export declare const WhiteWithError: Story_15;
|
|
2211
2366
|
|
|
2212
|
-
export declare const WithBadgeInLabel:
|
|
2367
|
+
export declare const WithBadgeInLabel: Story_26;
|
|
2213
2368
|
|
|
2214
2369
|
export declare const WrappedInDivs: Story_7;
|
|
2215
2370
|
|