@postenbring/hedwig-react 0.0.51 → 0.0.53
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 +1740 -0
- package/dist/_tsup-dts-rollup.d.ts +1740 -0
- package/dist/accordion/accordion-content.d.mts +2 -9
- package/dist/accordion/accordion-content.d.ts +2 -9
- package/dist/accordion/accordion-content.js +1 -0
- package/dist/accordion/accordion-content.js.map +1 -0
- package/dist/accordion/accordion-content.mjs +4 -3
- package/dist/accordion/accordion-content.mjs.map +1 -0
- package/dist/accordion/accordion-header.d.mts +2 -9
- package/dist/accordion/accordion-header.d.ts +2 -9
- package/dist/accordion/accordion-header.js +1 -0
- package/dist/accordion/accordion-header.js.map +1 -0
- package/dist/accordion/accordion-header.mjs +4 -3
- package/dist/accordion/accordion-header.mjs.map +1 -0
- package/dist/accordion/accordion-item.d.mts +3 -27
- package/dist/accordion/accordion-item.d.ts +3 -27
- package/dist/accordion/accordion-item.js +1 -0
- package/dist/accordion/accordion-item.js.map +1 -0
- package/dist/accordion/accordion-item.mjs +4 -3
- package/dist/accordion/accordion-item.mjs.map +1 -0
- package/dist/accordion/accordion.d.mts +2 -20
- package/dist/accordion/accordion.d.ts +2 -20
- package/dist/accordion/accordion.js +1 -0
- package/dist/accordion/accordion.js.map +1 -0
- package/dist/accordion/accordion.mjs +3 -2
- package/dist/accordion/accordion.mjs.map +1 -0
- package/dist/accordion/index.d.mts +9 -22
- package/dist/accordion/index.d.ts +9 -22
- package/dist/accordion/index.js +1 -0
- package/dist/accordion/index.js.map +1 -0
- package/dist/accordion/index.mjs +8 -7
- package/dist/accordion/index.mjs.map +1 -0
- package/dist/badge/badge.d.mts +5 -28
- package/dist/badge/badge.d.ts +5 -28
- package/dist/badge/badge.js +1 -0
- package/dist/badge/badge.js.map +1 -0
- package/dist/badge/badge.mjs +3 -2
- package/dist/badge/badge.mjs.map +1 -0
- package/dist/badge/index.d.mts +5 -3
- package/dist/badge/index.d.ts +5 -3
- package/dist/badge/index.js +1 -0
- package/dist/badge/index.js.map +1 -0
- package/dist/badge/index.mjs +4 -3
- package/dist/badge/index.mjs.map +1 -0
- package/dist/box/box.d.mts +4 -36
- package/dist/box/box.d.ts +4 -36
- package/dist/box/box.js +1 -0
- package/dist/box/box.js.map +1 -0
- package/dist/box/box.mjs +3 -2
- package/dist/box/box.mjs.map +1 -0
- package/dist/box/index.d.mts +4 -15
- package/dist/box/index.d.ts +4 -15
- package/dist/box/index.js +1 -0
- package/dist/box/index.js.map +1 -0
- package/dist/box/index.mjs +4 -3
- package/dist/box/index.mjs.map +1 -0
- package/dist/breadcrumb/breadcrumb.d.mts +2 -39
- package/dist/breadcrumb/breadcrumb.d.ts +2 -39
- package/dist/breadcrumb/breadcrumb.js +1 -0
- package/dist/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/breadcrumb/breadcrumb.mjs +3 -2
- package/dist/breadcrumb/breadcrumb.mjs.map +1 -0
- package/dist/breadcrumb/index.d.mts +2 -3
- package/dist/breadcrumb/index.d.ts +2 -3
- package/dist/breadcrumb/index.js +1 -0
- package/dist/breadcrumb/index.js.map +1 -0
- package/dist/breadcrumb/index.mjs +4 -3
- package/dist/breadcrumb/index.mjs.map +1 -0
- package/dist/button/button.d.mts +4 -44
- package/dist/button/button.d.ts +4 -44
- package/dist/button/button.js +1 -0
- package/dist/button/button.js.map +1 -0
- package/dist/button/button.mjs +3 -2
- package/dist/button/button.mjs.map +1 -0
- package/dist/button/index.d.mts +4 -3
- package/dist/button/index.d.ts +4 -3
- package/dist/button/index.js +1 -0
- package/dist/button/index.js.map +1 -0
- package/dist/button/index.mjs +4 -3
- package/dist/button/index.mjs.map +1 -0
- package/dist/card/card.d.mts +12 -45
- package/dist/card/card.d.ts +12 -45
- package/dist/card/card.js +1 -0
- package/dist/card/card.js.map +1 -0
- package/dist/card/card.mjs +3 -2
- package/dist/card/card.mjs.map +1 -0
- package/dist/card/index.d.mts +12 -54
- package/dist/card/index.d.ts +12 -54
- package/dist/card/index.js +1 -0
- package/dist/card/index.js.map +1 -0
- package/dist/card/index.mjs +4 -3
- package/dist/card/index.mjs.map +1 -0
- package/dist/{chunk-5HF2PDRZ.mjs → chunk-2C6OZWFA.mjs} +2 -1
- package/dist/chunk-2C6OZWFA.mjs.map +1 -0
- package/dist/{chunk-OSCKYUZ3.mjs → chunk-3DOUHFA4.mjs} +3 -2
- package/dist/chunk-3DOUHFA4.mjs.map +1 -0
- package/dist/{chunk-RBOWRO3L.mjs → chunk-3VYJTKR3.mjs} +1 -0
- package/dist/chunk-3VYJTKR3.mjs.map +1 -0
- package/dist/{chunk-IEY4EQ4E.mjs → chunk-47Z7UJK7.mjs} +1 -0
- package/dist/chunk-47Z7UJK7.mjs.map +1 -0
- package/dist/{chunk-4LB35CUY.mjs → chunk-4WJBW37S.mjs} +4 -3
- package/dist/chunk-4WJBW37S.mjs.map +1 -0
- package/dist/{chunk-TEOA6K5L.mjs → chunk-5GRZROYQ.mjs} +2 -1
- package/dist/chunk-5GRZROYQ.mjs.map +1 -0
- package/dist/{chunk-4ZM45P62.mjs → chunk-642AR63O.mjs} +1 -0
- package/dist/chunk-642AR63O.mjs.map +1 -0
- package/dist/{chunk-67OMX7FP.mjs → chunk-6E4N2IN7.mjs} +1 -0
- package/dist/chunk-6E4N2IN7.mjs.map +1 -0
- package/dist/{chunk-VT7SFAQF.mjs → chunk-74JOQ6RA.mjs} +3 -2
- package/dist/chunk-74JOQ6RA.mjs.map +1 -0
- package/dist/{chunk-UGZSXQQQ.mjs → chunk-76XO5GE7.mjs} +2 -1
- package/dist/chunk-76XO5GE7.mjs.map +1 -0
- package/dist/{chunk-7P6MJKWC.mjs → chunk-77KV3LA6.mjs} +2 -1
- package/dist/chunk-77KV3LA6.mjs.map +1 -0
- package/dist/{chunk-S4F2KVFJ.mjs → chunk-7UANCJA2.mjs} +1 -0
- package/dist/chunk-7UANCJA2.mjs.map +1 -0
- package/dist/{chunk-VX6MSLLO.mjs → chunk-A6Y3TQYS.mjs} +1 -0
- package/dist/chunk-A6Y3TQYS.mjs.map +1 -0
- package/dist/{chunk-C2VTAQEP.mjs → chunk-DN5KNI4C.mjs} +3 -2
- package/dist/chunk-DN5KNI4C.mjs.map +1 -0
- package/dist/{chunk-4RAMNETH.mjs → chunk-EF443SG5.mjs} +1 -0
- package/dist/chunk-EF443SG5.mjs.map +1 -0
- package/dist/{chunk-UL2XL6BN.mjs → chunk-EQIGUHKL.mjs} +3 -2
- package/dist/chunk-EQIGUHKL.mjs.map +1 -0
- package/dist/chunk-F4VCCLLF.mjs +1 -0
- package/dist/chunk-F4VCCLLF.mjs.map +1 -0
- package/dist/{chunk-UBQPNSMU.mjs → chunk-FFA6SBK6.mjs} +2 -1
- package/dist/chunk-FFA6SBK6.mjs.map +1 -0
- package/dist/{chunk-ZDZR5FVC.mjs → chunk-FIXRYHV7.mjs} +2 -1
- package/dist/chunk-FIXRYHV7.mjs.map +1 -0
- package/dist/{chunk-FSBY3NKV.mjs → chunk-FMMNEKSR.mjs} +1 -0
- package/dist/chunk-FMMNEKSR.mjs.map +1 -0
- package/dist/{chunk-UOEKLXX4.mjs → chunk-GKWD4EVJ.mjs} +2 -1
- package/dist/chunk-GKWD4EVJ.mjs.map +1 -0
- package/dist/{chunk-RSL23FEW.mjs → chunk-GS3KAIE7.mjs} +3 -2
- package/dist/chunk-GS3KAIE7.mjs.map +1 -0
- package/dist/{chunk-5FM3XK4V.mjs → chunk-H5GI3A3Y.mjs} +2 -1
- package/dist/chunk-H5GI3A3Y.mjs.map +1 -0
- package/dist/{chunk-3Y65IUK4.mjs → chunk-HHZ4Q5WR.mjs} +3 -2
- package/dist/chunk-HHZ4Q5WR.mjs.map +1 -0
- package/dist/{chunk-SDR3TESK.mjs → chunk-HNBNPFJN.mjs} +2 -1
- package/dist/chunk-HNBNPFJN.mjs.map +1 -0
- package/dist/{chunk-SNLXFZB6.mjs → chunk-HYOVIP56.mjs} +2 -1
- package/dist/chunk-HYOVIP56.mjs.map +1 -0
- package/dist/{chunk-WKI6D7BR.mjs → chunk-IDDIXDNV.mjs} +3 -2
- package/dist/chunk-IDDIXDNV.mjs.map +1 -0
- package/dist/{chunk-5OAMKZDX.mjs → chunk-IIMW6QXV.mjs} +1 -0
- package/dist/chunk-IIMW6QXV.mjs.map +1 -0
- package/dist/{chunk-A6HNU42U.mjs → chunk-IZ5YU4K5.mjs} +3 -2
- package/dist/chunk-IZ5YU4K5.mjs.map +1 -0
- package/dist/chunk-JKC4NAFI.mjs +32 -0
- package/dist/chunk-JKC4NAFI.mjs.map +1 -0
- package/dist/{chunk-4M3GIRQZ.mjs → chunk-KJKJXZBT.mjs} +3 -2
- package/dist/chunk-KJKJXZBT.mjs.map +1 -0
- package/dist/{chunk-PTLX7PHW.mjs → chunk-KOO4VQ2N.mjs} +2 -1
- package/dist/chunk-KOO4VQ2N.mjs.map +1 -0
- package/dist/{chunk-BEXOLUXV.mjs → chunk-KTT3R42Z.mjs} +2 -1
- package/dist/chunk-KTT3R42Z.mjs.map +1 -0
- package/dist/{chunk-GP3JFLYZ.mjs → chunk-LK62DXGG.mjs} +6 -41
- package/dist/chunk-LK62DXGG.mjs.map +1 -0
- package/dist/{chunk-HIRUCFWO.mjs → chunk-MGUYIOP2.mjs} +1 -0
- package/dist/chunk-MGUYIOP2.mjs.map +1 -0
- package/dist/{chunk-5NWYVPBZ.mjs → chunk-O5MQCET3.mjs} +1 -0
- package/dist/chunk-O5MQCET3.mjs.map +1 -0
- package/dist/{chunk-FPVGZ4VX.mjs → chunk-OCIM3ZEV.mjs} +2 -1
- package/dist/chunk-OCIM3ZEV.mjs.map +1 -0
- package/dist/{chunk-OEOI74US.mjs → chunk-ODFEKAJO.mjs} +2 -1
- package/dist/chunk-ODFEKAJO.mjs.map +1 -0
- package/dist/{chunk-JTHBBJZW.mjs → chunk-ODJ2XHCM.mjs} +1 -0
- package/dist/chunk-ODJ2XHCM.mjs.map +1 -0
- package/dist/{chunk-YRAMCYSB.mjs → chunk-OMDDUYGE.mjs} +1 -0
- package/dist/chunk-OMDDUYGE.mjs.map +1 -0
- package/dist/{chunk-VO6ZLGZ7.mjs → chunk-ONBXZWHW.mjs} +6 -5
- package/dist/chunk-ONBXZWHW.mjs.map +1 -0
- package/dist/{chunk-JAHBNZTG.mjs → chunk-P4XTJEES.mjs} +3 -2
- package/dist/chunk-P4XTJEES.mjs.map +1 -0
- package/dist/{chunk-OX5NTX6M.mjs → chunk-P6A7LH6M.mjs} +3 -2
- package/dist/chunk-P6A7LH6M.mjs.map +1 -0
- package/dist/{chunk-73MDVYU2.mjs → chunk-PQ6WEGLM.mjs} +4 -3
- package/dist/chunk-PQ6WEGLM.mjs.map +1 -0
- package/dist/{chunk-KBR5N6UB.mjs → chunk-PRQWCNN3.mjs} +5 -4
- package/dist/chunk-PRQWCNN3.mjs.map +1 -0
- package/dist/{chunk-LCFKBPZC.mjs → chunk-QCWENWLF.mjs} +3 -2
- package/dist/chunk-QCWENWLF.mjs.map +1 -0
- package/dist/chunk-R4SQKVDQ.mjs +38 -0
- package/dist/chunk-R4SQKVDQ.mjs.map +1 -0
- package/dist/{chunk-6FKQU7QT.mjs → chunk-R6GRXGDW.mjs} +2 -1
- package/dist/chunk-R6GRXGDW.mjs.map +1 -0
- package/dist/{chunk-3EENBGOV.mjs → chunk-R7WBXNQA.mjs} +2 -1
- package/dist/chunk-R7WBXNQA.mjs.map +1 -0
- package/dist/{chunk-CCNB2ABL.mjs → chunk-RLK2ENCB.mjs} +3 -2
- package/dist/chunk-RLK2ENCB.mjs.map +1 -0
- package/dist/{chunk-OKWNTFU5.mjs → chunk-ROX4JPO3.mjs} +1 -0
- package/dist/chunk-ROX4JPO3.mjs.map +1 -0
- package/dist/{chunk-52YSOWMY.mjs → chunk-RT2VPRZN.mjs} +2 -1
- package/dist/chunk-RT2VPRZN.mjs.map +1 -0
- package/dist/{chunk-CFMCOWLY.mjs → chunk-SLOG3T7V.mjs} +5 -8
- package/dist/chunk-SLOG3T7V.mjs.map +1 -0
- package/dist/{chunk-OPW2JS5I.mjs → chunk-T42X5AZM.mjs} +1 -0
- package/dist/chunk-T42X5AZM.mjs.map +1 -0
- package/dist/{chunk-4RD7KCEO.mjs → chunk-T6YKS5OS.mjs} +2 -1
- package/dist/chunk-T6YKS5OS.mjs.map +1 -0
- package/dist/{chunk-3WKOOAQL.mjs → chunk-UVUIY2WB.mjs} +2 -1
- package/dist/chunk-UVUIY2WB.mjs.map +1 -0
- package/dist/{chunk-PHTGLF6Y.mjs → chunk-VMS2DOQD.mjs} +1 -0
- package/dist/chunk-VMS2DOQD.mjs.map +1 -0
- package/dist/{chunk-K2HIKZ7F.mjs → chunk-WQU3PHD4.mjs} +1 -0
- package/dist/chunk-WQU3PHD4.mjs.map +1 -0
- package/dist/{chunk-VIFCPFRJ.mjs → chunk-X2YMLUE4.mjs} +2 -1
- package/dist/chunk-X2YMLUE4.mjs.map +1 -0
- package/dist/{chunk-7SCOBRDZ.mjs → chunk-XGJBOGZJ.mjs} +1 -0
- package/dist/chunk-XGJBOGZJ.mjs.map +1 -0
- package/dist/{chunk-ERFGFY3Q.mjs → chunk-XVCDHQ7W.mjs} +1 -0
- package/dist/chunk-XVCDHQ7W.mjs.map +1 -0
- package/dist/{chunk-FJQCHTJZ.mjs → chunk-YDWBUHBY.mjs} +1 -0
- package/dist/chunk-YDWBUHBY.mjs.map +1 -0
- package/dist/{chunk-AUK3J77R.mjs → chunk-ZX7AH7XO.mjs} +2 -1
- package/dist/chunk-ZX7AH7XO.mjs.map +1 -0
- package/dist/form/checkbox/checkbox.d.mts +2 -10
- package/dist/form/checkbox/checkbox.d.ts +2 -10
- package/dist/form/checkbox/checkbox.js +1 -0
- package/dist/form/checkbox/checkbox.js.map +1 -0
- package/dist/form/checkbox/checkbox.mjs +3 -2
- package/dist/form/checkbox/checkbox.mjs.map +1 -0
- package/dist/form/checkbox/index.d.mts +2 -2
- package/dist/form/checkbox/index.d.ts +2 -2
- package/dist/form/checkbox/index.js +1 -0
- package/dist/form/checkbox/index.js.map +1 -0
- package/dist/form/checkbox/index.mjs +4 -3
- package/dist/form/checkbox/index.mjs.map +1 -0
- package/dist/form/error-message/error-message.d.mts +2 -11
- package/dist/form/error-message/error-message.d.ts +2 -11
- package/dist/form/error-message/error-message.js +1 -0
- package/dist/form/error-message/error-message.js.map +1 -0
- package/dist/form/error-message/error-message.mjs +3 -2
- package/dist/form/error-message/error-message.mjs.map +1 -0
- package/dist/form/error-message/index.d.mts +2 -3
- package/dist/form/error-message/index.d.ts +2 -3
- package/dist/form/error-message/index.js +1 -0
- package/dist/form/error-message/index.js.map +1 -0
- package/dist/form/error-message/index.mjs +4 -3
- package/dist/form/error-message/index.mjs.map +1 -0
- package/dist/form/fieldset/fieldset.d.mts +2 -19
- package/dist/form/fieldset/fieldset.d.ts +2 -19
- package/dist/form/fieldset/fieldset.js +1 -0
- package/dist/form/fieldset/fieldset.js.map +1 -0
- package/dist/form/fieldset/fieldset.mjs +5 -4
- package/dist/form/fieldset/fieldset.mjs.map +1 -0
- package/dist/form/fieldset/index.d.mts +2 -2
- package/dist/form/fieldset/index.d.ts +2 -2
- package/dist/form/fieldset/index.js +1 -0
- package/dist/form/fieldset/index.js.map +1 -0
- package/dist/form/fieldset/index.mjs +6 -5
- package/dist/form/fieldset/index.mjs.map +1 -0
- package/dist/form/index.d.mts +12 -8
- package/dist/form/index.d.ts +12 -8
- package/dist/form/index.js +1 -0
- package/dist/form/index.js.map +1 -0
- package/dist/form/index.mjs +19 -18
- package/dist/form/index.mjs.map +1 -0
- package/dist/form/input/index.d.mts +2 -3
- package/dist/form/input/index.d.ts +2 -3
- package/dist/form/input/index.js +1 -0
- package/dist/form/input/index.js.map +1 -0
- package/dist/form/input/index.mjs +8 -7
- package/dist/form/input/index.mjs.map +1 -0
- package/dist/form/input/input.d.mts +2 -8
- package/dist/form/input/input.d.ts +2 -8
- package/dist/form/input/input.js +1 -0
- package/dist/form/input/input.js.map +1 -0
- package/dist/form/input/input.mjs +7 -6
- package/dist/form/input/input.mjs.map +1 -0
- package/dist/form/input-group/index.d.mts +2 -2
- package/dist/form/input-group/index.d.ts +2 -2
- package/dist/form/input-group/index.js +1 -0
- package/dist/form/input-group/index.js.map +1 -0
- package/dist/form/input-group/index.mjs +6 -5
- package/dist/form/input-group/index.mjs.map +1 -0
- package/dist/form/input-group/input-group.d.mts +2 -18
- package/dist/form/input-group/input-group.d.ts +2 -18
- package/dist/form/input-group/input-group.js +1 -0
- package/dist/form/input-group/input-group.js.map +1 -0
- package/dist/form/input-group/input-group.mjs +5 -4
- package/dist/form/input-group/input-group.mjs.map +1 -0
- package/dist/form/radiobutton/index.d.mts +2 -2
- package/dist/form/radiobutton/index.d.ts +2 -2
- package/dist/form/radiobutton/index.js +1 -0
- package/dist/form/radiobutton/index.js.map +1 -0
- package/dist/form/radiobutton/index.mjs +4 -3
- package/dist/form/radiobutton/index.mjs.map +1 -0
- package/dist/form/radiobutton/radiobutton.d.mts +2 -10
- package/dist/form/radiobutton/radiobutton.d.ts +2 -10
- package/dist/form/radiobutton/radiobutton.js +1 -0
- package/dist/form/radiobutton/radiobutton.js.map +1 -0
- package/dist/form/radiobutton/radiobutton.mjs +3 -2
- package/dist/form/radiobutton/radiobutton.mjs.map +1 -0
- package/dist/form/select/index.d.mts +2 -3
- package/dist/form/select/index.d.ts +2 -3
- package/dist/form/select/index.js +1 -0
- package/dist/form/select/index.js.map +1 -0
- package/dist/form/select/index.mjs +8 -7
- package/dist/form/select/index.mjs.map +1 -0
- package/dist/form/select/select.d.mts +2 -8
- package/dist/form/select/select.d.ts +2 -8
- package/dist/form/select/select.js +1 -0
- package/dist/form/select/select.js.map +1 -0
- package/dist/form/select/select.mjs +7 -6
- package/dist/form/select/select.mjs.map +1 -0
- package/dist/form/textarea/index.d.mts +2 -3
- package/dist/form/textarea/index.d.ts +2 -3
- package/dist/form/textarea/index.js +1 -0
- package/dist/form/textarea/index.js.map +1 -0
- package/dist/form/textarea/index.mjs +8 -7
- package/dist/form/textarea/index.mjs.map +1 -0
- package/dist/form/textarea/textarea.d.mts +2 -8
- package/dist/form/textarea/textarea.d.ts +2 -8
- package/dist/form/textarea/textarea.js +1 -0
- package/dist/form/textarea/textarea.js.map +1 -0
- package/dist/form/textarea/textarea.mjs +7 -6
- package/dist/form/textarea/textarea.mjs.map +1 -0
- package/dist/index.d.mts +85 -40
- package/dist/index.d.ts +85 -40
- package/dist/index.js +52 -29075
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +69 -59
- package/dist/index.mjs.map +1 -0
- package/dist/layout/container/container.d.mts +2 -14
- package/dist/layout/container/container.d.ts +2 -14
- package/dist/layout/container/container.js +1 -0
- package/dist/layout/container/container.js.map +1 -0
- package/dist/layout/container/container.mjs +3 -2
- package/dist/layout/container/container.mjs.map +1 -0
- package/dist/layout/index.d.mts +2 -3
- package/dist/layout/index.d.ts +2 -3
- package/dist/layout/index.js +1 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/layout/index.mjs +4 -3
- package/dist/layout/index.mjs.map +1 -0
- package/dist/link/index.d.mts +2 -3
- package/dist/link/index.d.ts +2 -3
- package/dist/link/index.js +1 -0
- package/dist/link/index.js.map +1 -0
- package/dist/link/index.mjs +4 -3
- package/dist/link/index.mjs.map +1 -0
- package/dist/link/link.d.mts +2 -18
- package/dist/link/link.d.ts +2 -18
- package/dist/link/link.js +1 -0
- package/dist/link/link.js.map +1 -0
- package/dist/link/link.mjs +3 -2
- package/dist/link/link.mjs.map +1 -0
- package/dist/list/description-list.d.mts +2 -48
- package/dist/list/description-list.d.ts +2 -48
- package/dist/list/description-list.js +1 -0
- package/dist/list/description-list.js.map +1 -0
- package/dist/list/description-list.mjs +3 -2
- package/dist/list/description-list.mjs.map +1 -0
- package/dist/list/index.d.mts +7 -5
- package/dist/list/index.d.ts +7 -5
- package/dist/list/index.js +1 -0
- package/dist/list/index.js.map +1 -0
- package/dist/list/index.mjs +6 -5
- package/dist/list/index.mjs.map +1 -0
- package/dist/list/link-list.d.mts +2 -13
- package/dist/list/link-list.d.ts +2 -13
- package/dist/list/link-list.js +1 -0
- package/dist/list/link-list.js.map +1 -0
- package/dist/list/link-list.mjs +4 -3
- package/dist/list/link-list.mjs.map +1 -0
- package/dist/list/list.d.mts +3 -25
- package/dist/list/list.d.ts +3 -25
- package/dist/list/list.js +1 -0
- package/dist/list/list.js.map +1 -0
- package/dist/list/list.mjs +3 -2
- package/dist/list/list.mjs.map +1 -0
- package/dist/message/index.d.mts +1 -16
- package/dist/message/index.d.ts +1 -16
- package/dist/message/index.js +1 -0
- package/dist/message/index.js.map +1 -0
- package/dist/message/index.mjs +5 -4
- package/dist/message/index.mjs.map +1 -0
- package/dist/message/message.d.mts +4 -18
- package/dist/message/message.d.ts +4 -18
- package/dist/message/message.js +1 -0
- package/dist/message/message.js.map +1 -0
- package/dist/message/message.mjs +4 -3
- package/dist/message/message.mjs.map +1 -0
- package/dist/modal/index.d.mts +6 -12
- package/dist/modal/index.d.ts +6 -12
- package/dist/modal/index.js +1 -0
- package/dist/modal/index.js.map +1 -0
- package/dist/modal/index.mjs +6 -5
- package/dist/modal/index.mjs.map +1 -0
- package/dist/modal/modal.d.mts +6 -31
- package/dist/modal/modal.d.ts +6 -31
- package/dist/modal/modal.js +1 -0
- package/dist/modal/modal.js.map +1 -0
- package/dist/modal/modal.mjs +5 -4
- package/dist/modal/modal.mjs.map +1 -0
- package/dist/navbar/icons.d.mts +2 -6
- package/dist/navbar/icons.d.ts +2 -6
- package/dist/navbar/icons.js +1 -0
- package/dist/navbar/icons.js.map +1 -0
- package/dist/navbar/icons.mjs +3 -2
- package/dist/navbar/icons.mjs.map +1 -0
- package/dist/navbar/index.d.mts +5 -18
- package/dist/navbar/index.d.ts +5 -18
- package/dist/navbar/index.js +14 -29108
- package/dist/navbar/index.js.map +1 -0
- package/dist/navbar/index.mjs +5 -5
- package/dist/navbar/index.mjs.map +1 -0
- package/dist/navbar/navbar-expandable-menu.d.mts +6 -39
- package/dist/navbar/navbar-expandable-menu.d.ts +6 -39
- package/dist/navbar/navbar-expandable-menu.js +14 -29108
- package/dist/navbar/navbar-expandable-menu.js.map +1 -0
- package/dist/navbar/navbar-expandable-menu.mjs +4 -4
- package/dist/navbar/navbar-expandable-menu.mjs.map +1 -0
- package/dist/navbar/navbar.d.mts +5 -25
- package/dist/navbar/navbar.d.ts +5 -25
- package/dist/navbar/navbar.js +1 -0
- package/dist/navbar/navbar.js.map +1 -0
- package/dist/navbar/navbar.mjs +3 -2
- package/dist/navbar/navbar.mjs.map +1 -0
- package/dist/show-more/auto-animate-height.d.mts +1 -30
- package/dist/show-more/auto-animate-height.d.ts +1 -30
- package/dist/show-more/auto-animate-height.js +14 -29077
- package/dist/show-more/auto-animate-height.js.map +1 -0
- package/dist/show-more/auto-animate-height.mjs +3 -3
- package/dist/show-more/auto-animate-height.mjs.map +1 -0
- package/dist/show-more/show-more.d.mts +1 -38
- package/dist/show-more/show-more.d.ts +1 -38
- package/dist/show-more/show-more.js +1 -0
- package/dist/show-more/show-more.js.map +1 -0
- package/dist/show-more/show-more.mjs +3 -2
- package/dist/show-more/show-more.mjs.map +1 -0
- package/dist/skeleton/skeleton.d.mts +2 -0
- package/dist/skeleton/skeleton.d.ts +2 -0
- package/dist/{chunk-FKR5F35B.mjs → skeleton/skeleton.js} +36 -27
- package/dist/skeleton/skeleton.js.map +1 -0
- package/dist/skeleton/skeleton.mjs +8 -0
- package/dist/skeleton/skeleton.mjs.map +1 -0
- package/dist/step-indicator/step-indicator.d.mts +1 -42
- package/dist/step-indicator/step-indicator.d.ts +1 -42
- package/dist/step-indicator/step-indicator.js +1 -0
- package/dist/step-indicator/step-indicator.js.map +1 -0
- package/dist/step-indicator/step-indicator.mjs +3 -2
- package/dist/step-indicator/step-indicator.mjs.map +1 -0
- package/dist/styled-html/styled-html.d.mts +2 -32
- package/dist/styled-html/styled-html.d.ts +2 -32
- package/dist/styled-html/styled-html.js +1 -0
- package/dist/styled-html/styled-html.js.map +1 -0
- package/dist/styled-html/styled-html.mjs +3 -2
- package/dist/styled-html/styled-html.mjs.map +1 -0
- package/dist/tabs/index.d.mts +10 -22
- package/dist/tabs/index.d.ts +10 -22
- package/dist/tabs/index.js +1 -0
- package/dist/tabs/index.js.map +1 -0
- package/dist/tabs/index.mjs +8 -7
- package/dist/tabs/index.mjs.map +1 -0
- package/dist/tabs/tabs-content.d.mts +4 -21
- package/dist/tabs/tabs-content.d.ts +4 -21
- package/dist/tabs/tabs-content.js +1 -0
- package/dist/tabs/tabs-content.js.map +1 -0
- package/dist/tabs/tabs-content.mjs +4 -3
- package/dist/tabs/tabs-content.mjs.map +1 -0
- package/dist/tabs/tabs-list.d.mts +4 -26
- package/dist/tabs/tabs-list.d.ts +4 -26
- package/dist/tabs/tabs-list.js +1 -0
- package/dist/tabs/tabs-list.js.map +1 -0
- package/dist/tabs/tabs-list.mjs +5 -4
- package/dist/tabs/tabs-list.mjs.map +1 -0
- package/dist/tabs/tabs.d.mts +2 -16
- package/dist/tabs/tabs.d.ts +2 -16
- package/dist/tabs/tabs.js +1 -0
- package/dist/tabs/tabs.js.map +1 -0
- package/dist/tabs/tabs.mjs +4 -3
- package/dist/tabs/tabs.mjs.map +1 -0
- package/dist/typography/index.d.mts +42 -69
- package/dist/typography/index.d.ts +42 -69
- package/dist/typography/index.js +1 -0
- package/dist/typography/index.js.map +1 -0
- package/dist/typography/index.mjs +3 -2
- package/dist/typography/index.mjs.map +1 -0
- package/dist/typography/typography.d.mts +2 -18
- package/dist/typography/typography.d.ts +2 -18
- package/dist/typography/typography.js +1 -0
- package/dist/typography/typography.js.map +1 -0
- package/dist/typography/typography.mjs +3 -2
- package/dist/typography/typography.mjs.map +1 -0
- package/dist/warning-banner/index.d.mts +2 -3
- package/dist/warning-banner/index.d.ts +2 -3
- package/dist/warning-banner/index.js +1 -0
- package/dist/warning-banner/index.js.map +1 -0
- package/dist/warning-banner/index.mjs +6 -5
- package/dist/warning-banner/index.mjs.map +1 -0
- package/dist/warning-banner/warning-banner.d.mts +2 -10
- package/dist/warning-banner/warning-banner.d.ts +2 -10
- package/dist/warning-banner/warning-banner.js +1 -0
- package/dist/warning-banner/warning-banner.js.map +1 -0
- package/dist/warning-banner/warning-banner.mjs +5 -4
- package/dist/warning-banner/warning-banner.mjs.map +1 -0
- package/package.json +9 -4
- package/dist/chunk-5OGUAHLN.mjs +0 -0
- package/dist/chunk-BIPWW7NV.mjs +0 -29059
- package/dist/utils-3jLhIyOS.d.mts +0 -17
- package/dist/utils-3jLhIyOS.d.ts +0 -17
|
@@ -0,0 +1,1740 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
|
|
3
|
+
import type { ButtonHTMLAttributes } from 'react';
|
|
4
|
+
import { ComponentPropsWithRef } from 'react';
|
|
5
|
+
import { ComponentType } from 'react';
|
|
6
|
+
import { Context } from 'react';
|
|
7
|
+
import type { CSSProperties } from 'react';
|
|
8
|
+
import { ElementType } from 'react';
|
|
9
|
+
import { FC } from 'react';
|
|
10
|
+
import type { FieldsetHTMLAttributes } from 'react';
|
|
11
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
12
|
+
import { FunctionComponent } from 'react';
|
|
13
|
+
import { HTMLAttributes } from 'react';
|
|
14
|
+
import type { InputHTMLAttributes } from 'react';
|
|
15
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
16
|
+
import type { LabelHTMLAttributes } from 'react';
|
|
17
|
+
import type { Meta } from '@storybook/react';
|
|
18
|
+
import { Options } from 'tsup';
|
|
19
|
+
import * as React_2 from 'react';
|
|
20
|
+
import { default as React_3 } from 'react';
|
|
21
|
+
import type { ReactElement } from 'react';
|
|
22
|
+
import { ReactNode } from 'react';
|
|
23
|
+
import { RefAttributes } from 'react';
|
|
24
|
+
import type { SelectHTMLAttributes } from 'react';
|
|
25
|
+
import type { StoryObj } from '@storybook/react';
|
|
26
|
+
import type { TextareaHTMLAttributes } from 'react';
|
|
27
|
+
|
|
28
|
+
export declare const Accordion_alias_1: OverridableComponent<AccordionProps, HTMLDivElement>;
|
|
29
|
+
|
|
30
|
+
declare const AccordionComponent: {
|
|
31
|
+
(props: AccordionProps & RefAttributes<HTMLDivElement>): ReactNode;
|
|
32
|
+
<As extends ElementType>(props: {
|
|
33
|
+
as?: As | undefined;
|
|
34
|
+
} & AccordionProps & Omit<ComponentPropsWithRef<As>, keyof AccordionProps>): ReactNode;
|
|
35
|
+
} & Pick<FC, "displayName"> & {
|
|
36
|
+
Item: typeof AccordionItem;
|
|
37
|
+
Header: typeof AccordionHeader;
|
|
38
|
+
Content: typeof AccordionContent;
|
|
39
|
+
};
|
|
40
|
+
export { AccordionComponent as Accordion }
|
|
41
|
+
export { AccordionComponent as Accordion_alias_2 }
|
|
42
|
+
|
|
43
|
+
declare const AccordionContent: OverridableComponent<AccordionContentProps, HTMLDivElement>;
|
|
44
|
+
export { AccordionContent }
|
|
45
|
+
export { AccordionContent as AccordionContent_alias_1 }
|
|
46
|
+
export { AccordionContent as AccordionContent_alias_2 }
|
|
47
|
+
|
|
48
|
+
declare interface AccordionContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
49
|
+
children: ReactNode;
|
|
50
|
+
}
|
|
51
|
+
export { AccordionContentProps }
|
|
52
|
+
export { AccordionContentProps as AccordionContentProps_alias_1 }
|
|
53
|
+
export { AccordionContentProps as AccordionContentProps_alias_2 }
|
|
54
|
+
|
|
55
|
+
declare const AccordionHeader: OverridableComponent<AccordionHeaderProps, HTMLButtonElement>;
|
|
56
|
+
export { AccordionHeader }
|
|
57
|
+
export { AccordionHeader as AccordionHeader_alias_1 }
|
|
58
|
+
export { AccordionHeader as AccordionHeader_alias_2 }
|
|
59
|
+
|
|
60
|
+
declare interface AccordionHeaderProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
61
|
+
children: ReactNode;
|
|
62
|
+
}
|
|
63
|
+
export { AccordionHeaderProps }
|
|
64
|
+
export { AccordionHeaderProps as AccordionHeaderProps_alias_1 }
|
|
65
|
+
export { AccordionHeaderProps as AccordionHeaderProps_alias_2 }
|
|
66
|
+
|
|
67
|
+
declare const AccordionItem: OverridableComponent<AccordionItemProps, HTMLDivElement>;
|
|
68
|
+
export { AccordionItem }
|
|
69
|
+
export { AccordionItem as AccordionItem_alias_1 }
|
|
70
|
+
export { AccordionItem as AccordionItem_alias_2 }
|
|
71
|
+
|
|
72
|
+
declare type AccordionItemChildrenType = ReactElement<AccordionHeaderProps> | ReactElement<AccordionContentProps>;
|
|
73
|
+
export { AccordionItemChildrenType }
|
|
74
|
+
export { AccordionItemChildrenType as AccordionItemChildrenType_alias_1 }
|
|
75
|
+
export { AccordionItemChildrenType as AccordionItemChildrenType_alias_2 }
|
|
76
|
+
|
|
77
|
+
export declare const AccordionItemContext: Context<AccordionItemContextProps | null>;
|
|
78
|
+
|
|
79
|
+
export declare interface AccordionItemContextProps {
|
|
80
|
+
open: boolean;
|
|
81
|
+
setOpen: (open: boolean) => void;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
declare interface AccordionItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
85
|
+
/**
|
|
86
|
+
* Control the open state of the accordion manually
|
|
87
|
+
*/
|
|
88
|
+
open?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Use with open to control the open state of the accordion manually
|
|
91
|
+
*/
|
|
92
|
+
onOpenChange?: (open: boolean) => void;
|
|
93
|
+
/**
|
|
94
|
+
* If the accordion should be open by default
|
|
95
|
+
*/
|
|
96
|
+
defaultOpen?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Accepts type of Accordion.Content and Accordion.Header
|
|
99
|
+
*/
|
|
100
|
+
children: AccordionItemChildrenType[];
|
|
101
|
+
}
|
|
102
|
+
export { AccordionItemProps }
|
|
103
|
+
export { AccordionItemProps as AccordionItemProps_alias_1 }
|
|
104
|
+
export { AccordionItemProps as AccordionItemProps_alias_2 }
|
|
105
|
+
|
|
106
|
+
declare interface AccordionProps extends HTMLAttributes<HTMLDivElement> {
|
|
107
|
+
/**
|
|
108
|
+
* Accepts type of <AccordionItem/>
|
|
109
|
+
*/
|
|
110
|
+
children: ReactElement<AccordionItemProps> | ReactElement<AccordionItemProps>[];
|
|
111
|
+
/**
|
|
112
|
+
* Adds padding to the left of the accordion
|
|
113
|
+
*/
|
|
114
|
+
indent?: boolean;
|
|
115
|
+
className?: string;
|
|
116
|
+
}
|
|
117
|
+
export { AccordionProps }
|
|
118
|
+
export { AccordionProps as AccordionProps_alias_1 }
|
|
119
|
+
export { AccordionProps as AccordionProps_alias_2 }
|
|
120
|
+
|
|
121
|
+
export declare const AnimatedShowMoreShowLess: Story_21;
|
|
122
|
+
|
|
123
|
+
export declare const AreYouSureDialog: Story_3;
|
|
124
|
+
|
|
125
|
+
export declare const Article: Story_22;
|
|
126
|
+
|
|
127
|
+
export declare const ArticleContent: Story_24;
|
|
128
|
+
|
|
129
|
+
export declare const AsALink: Story_5;
|
|
130
|
+
|
|
131
|
+
export declare const AsAReadMore: Story_19;
|
|
132
|
+
|
|
133
|
+
export declare const Attention: Story_18;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Helper component to animate the height of the children when they change
|
|
137
|
+
* It's done by rendering two versions of the passed children,
|
|
138
|
+
* one hidden to measure the height and one visible to only changes after the height is measured.
|
|
139
|
+
*
|
|
140
|
+
* **IMPORTANT** Do not pass any components with effects (like data fetching), as they will trigger twice.
|
|
141
|
+
*/
|
|
142
|
+
declare const AutoAnimateHeight: OverridableComponent<AutoAnimateHeightProps, HTMLDivElement>;
|
|
143
|
+
export { AutoAnimateHeight }
|
|
144
|
+
export { AutoAnimateHeight as AutoAnimateHeight_alias_1 }
|
|
145
|
+
export { AutoAnimateHeight as AutoAnimateHeight_alias_2 }
|
|
146
|
+
|
|
147
|
+
declare interface AutoAnimateHeightProps {
|
|
148
|
+
/**
|
|
149
|
+
* Time of the animation, using the hedwig animation tokens
|
|
150
|
+
* quick: 0.1s
|
|
151
|
+
* normal: 0.3s
|
|
152
|
+
* slow: 0.7s
|
|
153
|
+
*
|
|
154
|
+
* default is "normal"
|
|
155
|
+
*/
|
|
156
|
+
animationDuration?: "quick" | "normal" | "slow";
|
|
157
|
+
/**
|
|
158
|
+
* Which hedwig easing function to use, default is "normal"
|
|
159
|
+
*/
|
|
160
|
+
animationEasing?: "in" | "out" | "normal";
|
|
161
|
+
children: React.ReactNode;
|
|
162
|
+
style?: React.CSSProperties;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
declare function Badge(props: BadgeProps): JSX_2.Element;
|
|
166
|
+
|
|
167
|
+
declare namespace Badge {
|
|
168
|
+
var displayName: string;
|
|
169
|
+
}
|
|
170
|
+
export { Badge }
|
|
171
|
+
export { Badge as Badge_alias_1 }
|
|
172
|
+
export { Badge as Badge_alias_2 }
|
|
173
|
+
|
|
174
|
+
declare interface BadgeProps extends React_2.AnchorHTMLAttributes<HTMLSpanElement> {
|
|
175
|
+
/**
|
|
176
|
+
* Font size of the badge
|
|
177
|
+
*/
|
|
178
|
+
size?: "small" | "smaller";
|
|
179
|
+
children: React_2.ReactNode;
|
|
180
|
+
}
|
|
181
|
+
export { BadgeProps }
|
|
182
|
+
export { BadgeProps as BadgeProps_alias_1 }
|
|
183
|
+
export { BadgeProps as BadgeProps_alias_2 }
|
|
184
|
+
|
|
185
|
+
declare const BaseButton: OverridableComponent<ButtonProps & {
|
|
186
|
+
variant: "primary" | "secondary";
|
|
187
|
+
}, HTMLButtonElement>;
|
|
188
|
+
export { BaseButton }
|
|
189
|
+
export { BaseButton as BaseButton_alias_1 }
|
|
190
|
+
export { BaseButton as BaseButton_alias_2 }
|
|
191
|
+
|
|
192
|
+
declare const Body_2: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
193
|
+
export { Body_2 as Body }
|
|
194
|
+
|
|
195
|
+
export declare const BodySmall: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
196
|
+
|
|
197
|
+
export declare const BodySmallTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
198
|
+
|
|
199
|
+
export declare const BodyTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
200
|
+
|
|
201
|
+
export declare const BoundedCheckbox: Story_7;
|
|
202
|
+
|
|
203
|
+
export declare const BoundedRadiobutton: Story_10;
|
|
204
|
+
|
|
205
|
+
export declare const Box_alias_1: OverridableComponent<BoxProps, HTMLDivElement>;
|
|
206
|
+
|
|
207
|
+
declare const BoxCloseButton: ForwardRefExoticComponent<BoxCloseButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
208
|
+
export { BoxCloseButton }
|
|
209
|
+
export { BoxCloseButton as BoxCloseButton_alias_1 }
|
|
210
|
+
export { BoxCloseButton as BoxCloseButton_alias_2 }
|
|
211
|
+
|
|
212
|
+
declare type BoxCloseButtonProps = Omit<React.HTMLAttributes<HTMLButtonElement>, "children">;
|
|
213
|
+
export { BoxCloseButtonProps }
|
|
214
|
+
export { BoxCloseButtonProps as BoxCloseButtonProps_alias_1 }
|
|
215
|
+
export { BoxCloseButtonProps as BoxCloseButtonProps_alias_2 }
|
|
216
|
+
|
|
217
|
+
declare const BoxComponent: {
|
|
218
|
+
(props: BoxProps & RefAttributes<HTMLDivElement>): ReactNode;
|
|
219
|
+
<As extends ElementType>(props: {
|
|
220
|
+
as?: As | undefined;
|
|
221
|
+
} & BoxProps & Omit<ComponentPropsWithRef<As>, keyof BoxProps>): ReactNode;
|
|
222
|
+
} & Pick<FC, "displayName"> & {
|
|
223
|
+
CloseButton: typeof BoxCloseButton;
|
|
224
|
+
};
|
|
225
|
+
export { BoxComponent as Box }
|
|
226
|
+
export { BoxComponent as Box_alias_2 }
|
|
227
|
+
|
|
228
|
+
declare interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
229
|
+
variant?: "light-grey" | "lighter" | "white" | "warning";
|
|
230
|
+
children?: React.ReactNode;
|
|
231
|
+
/**
|
|
232
|
+
* If `true`, a close button will be shown.
|
|
233
|
+
* Use when you want to control the close button using the BoxCloseButton component.
|
|
234
|
+
*/
|
|
235
|
+
closeable?: boolean;
|
|
236
|
+
/**
|
|
237
|
+
* Callback fired when the component requests to be closed.
|
|
238
|
+
* If not set, the component will be closed without any user interaction.
|
|
239
|
+
*
|
|
240
|
+
* If set, and the handler returns non-true value, the component will not be closed.
|
|
241
|
+
* Use this if you want to control the closing of the component, using the `closed` prop
|
|
242
|
+
*
|
|
243
|
+
* If set, and the handler returns the true, the component will be closed.
|
|
244
|
+
* Use this with `window.confirm()` to ask the user to confirm closing the component.
|
|
245
|
+
*/
|
|
246
|
+
onClose?: () => boolean | unknown;
|
|
247
|
+
/**
|
|
248
|
+
* If `true`, the box will be closed and hidden from view
|
|
249
|
+
*/
|
|
250
|
+
closed?: boolean;
|
|
251
|
+
/**
|
|
252
|
+
* Props applied to the close button element.
|
|
253
|
+
*/
|
|
254
|
+
closeButtonProps?: BoxCloseButtonProps;
|
|
255
|
+
}
|
|
256
|
+
export { BoxProps }
|
|
257
|
+
export { BoxProps as BoxProps_alias_1 }
|
|
258
|
+
export { BoxProps as BoxProps_alias_2 }
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* A breadcrumbs navigation menu
|
|
262
|
+
*
|
|
263
|
+
* **Usage**
|
|
264
|
+
*
|
|
265
|
+
* ```tsx
|
|
266
|
+
* <Breadcrumbs data-testid="breadcrumbs">
|
|
267
|
+
* <li><Link href="../">Previous page</Link></li>
|
|
268
|
+
* <li>Current page</li>
|
|
269
|
+
* </Breadcrumbs>
|
|
270
|
+
* ```
|
|
271
|
+
*
|
|
272
|
+
* Outputs this html structure
|
|
273
|
+
*
|
|
274
|
+
* ```html
|
|
275
|
+
* <nav data-testid="breadcrumbs">
|
|
276
|
+
* <ol>
|
|
277
|
+
* <li><a href="../">Previous page</a></li>
|
|
278
|
+
* <li>Current page</li>
|
|
279
|
+
* </ol>
|
|
280
|
+
* </nav>
|
|
281
|
+
* ```
|
|
282
|
+
*/
|
|
283
|
+
declare function Breadcrumbs({ olProps, children, ...rest }: BreadcrumbsProps): JSX_2.Element;
|
|
284
|
+
|
|
285
|
+
declare namespace Breadcrumbs {
|
|
286
|
+
var displayName: string;
|
|
287
|
+
}
|
|
288
|
+
export { Breadcrumbs }
|
|
289
|
+
export { Breadcrumbs as Breadcrumbs_alias_1 }
|
|
290
|
+
export { Breadcrumbs as Breadcrumbs_alias_2 }
|
|
291
|
+
|
|
292
|
+
declare interface BreadcrumbsProps extends HTMLAttributes<HTMLOListElement> {
|
|
293
|
+
children: ReactElement<HTMLLIElement> | ReactElement<HTMLLIElement>[];
|
|
294
|
+
/**
|
|
295
|
+
* Props passed to the `ol` html element
|
|
296
|
+
*/
|
|
297
|
+
olProps?: HTMLAttributes<HTMLElement>;
|
|
298
|
+
}
|
|
299
|
+
export { BreadcrumbsProps }
|
|
300
|
+
export { BreadcrumbsProps as BreadcrumbsProps_alias_1 }
|
|
301
|
+
export { BreadcrumbsProps as BreadcrumbsProps_alias_2 }
|
|
302
|
+
|
|
303
|
+
export declare const ButtonAsLink: Story_14;
|
|
304
|
+
|
|
305
|
+
declare type ButtonProps = ButtonPropsInternal & ({
|
|
306
|
+
/**
|
|
307
|
+
* The background fill of the button
|
|
308
|
+
*/
|
|
309
|
+
fill?: "contained" | "outline";
|
|
310
|
+
} | {
|
|
311
|
+
/**
|
|
312
|
+
* @deprecated use `fill='outline'` instead
|
|
313
|
+
*/
|
|
314
|
+
fill?: "outlined";
|
|
315
|
+
});
|
|
316
|
+
export { ButtonProps }
|
|
317
|
+
export { ButtonProps as ButtonProps_alias_1 }
|
|
318
|
+
export { ButtonProps as ButtonProps_alias_2 }
|
|
319
|
+
|
|
320
|
+
declare interface ButtonPropsInternal extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
321
|
+
/**
|
|
322
|
+
* The height, font size and padding of the button
|
|
323
|
+
*/
|
|
324
|
+
size?: "small" | "medium" | "large";
|
|
325
|
+
/**
|
|
326
|
+
* Make the button use 100% width available.
|
|
327
|
+
* Using the "mobile" it only stretch to full width on smaller screens
|
|
328
|
+
*/
|
|
329
|
+
fullWidth?: boolean | "mobile";
|
|
330
|
+
/**
|
|
331
|
+
* Use an icon inside the button
|
|
332
|
+
*/
|
|
333
|
+
icon?: React.ReactNode;
|
|
334
|
+
children?: React.ReactNode;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export declare const Caption: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
338
|
+
|
|
339
|
+
export declare const CaptionTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
340
|
+
|
|
341
|
+
export declare const Card_alias_1: Story_6;
|
|
342
|
+
|
|
343
|
+
export declare const Card_alias_2: OverridableComponent<CardBaseProps & {
|
|
344
|
+
/**
|
|
345
|
+
* A Card should in most cases appear as a big link,
|
|
346
|
+
* but the actual link should just be the header title.
|
|
347
|
+
* To make life better for those with screen readers we should not make
|
|
348
|
+
* the entire card a link, as that would cause the entire card to be read
|
|
349
|
+
* as a link to the user. That would be perceived as information overload.
|
|
350
|
+
*/
|
|
351
|
+
as?: Exclude<ElementType, "a">;
|
|
352
|
+
}, HTMLDivElement>;
|
|
353
|
+
|
|
354
|
+
declare interface CardBaseProps extends HTMLAttributes<HTMLDivElement> {
|
|
355
|
+
children: ReactNode;
|
|
356
|
+
}
|
|
357
|
+
export { CardBaseProps }
|
|
358
|
+
export { CardBaseProps as CardBaseProps_alias_1 }
|
|
359
|
+
export { CardBaseProps as CardBaseProps_alias_2 }
|
|
360
|
+
|
|
361
|
+
declare const CardBody: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
362
|
+
export { CardBody }
|
|
363
|
+
export { CardBody as CardBody_alias_1 }
|
|
364
|
+
export { CardBody as CardBody_alias_2 }
|
|
365
|
+
|
|
366
|
+
declare const CardBodyAction: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
367
|
+
export { CardBodyAction }
|
|
368
|
+
export { CardBodyAction as CardBodyAction_alias_1 }
|
|
369
|
+
export { CardBodyAction as CardBodyAction_alias_2 }
|
|
370
|
+
|
|
371
|
+
declare const CardBodyActionArrow: OverridableComponent<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>;
|
|
372
|
+
export { CardBodyActionArrow }
|
|
373
|
+
export { CardBodyActionArrow as CardBodyActionArrow_alias_1 }
|
|
374
|
+
export { CardBodyActionArrow as CardBodyActionArrow_alias_2 }
|
|
375
|
+
|
|
376
|
+
declare const CardBodyActionComponent: {
|
|
377
|
+
(props: CardBaseProps & RefAttributes<HTMLDivElement>): ReactNode;
|
|
378
|
+
<As extends ElementType>(props: {
|
|
379
|
+
as?: As | undefined;
|
|
380
|
+
} & CardBaseProps & Omit<ComponentPropsWithRef<As>, keyof CardBaseProps>): ReactNode;
|
|
381
|
+
} & Pick<FC, "displayName"> & {
|
|
382
|
+
Arrow: typeof CardBodyActionArrow;
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
declare const CardBodyComponent: {
|
|
386
|
+
(props: CardBaseProps & RefAttributes<HTMLDivElement>): ReactNode;
|
|
387
|
+
<As extends ElementType>(props: {
|
|
388
|
+
as?: As | undefined;
|
|
389
|
+
} & CardBaseProps & Omit<ComponentPropsWithRef<As>, keyof CardBaseProps>): ReactNode;
|
|
390
|
+
} & Pick<FC, "displayName"> & {
|
|
391
|
+
Header: typeof CardBodyHeaderComponent;
|
|
392
|
+
Overline: typeof CardBodyHeaderOverline;
|
|
393
|
+
Title: typeof CardBodyHeaderTitle;
|
|
394
|
+
Description: typeof CardBodyDescription;
|
|
395
|
+
Action: typeof CardBodyActionComponent;
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
declare const CardBodyDescription: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
399
|
+
export { CardBodyDescription }
|
|
400
|
+
export { CardBodyDescription as CardBodyDescription_alias_1 }
|
|
401
|
+
export { CardBodyDescription as CardBodyDescription_alias_2 }
|
|
402
|
+
|
|
403
|
+
declare const CardBodyHeader: ForwardRefExoticComponent<CardBaseProps & {
|
|
404
|
+
/**
|
|
405
|
+
* Heading level of the card heading
|
|
406
|
+
*/
|
|
407
|
+
as: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
408
|
+
} & RefAttributes<HTMLHeadingElement>>;
|
|
409
|
+
export { CardBodyHeader }
|
|
410
|
+
export { CardBodyHeader as CardBodyHeader_alias_1 }
|
|
411
|
+
export { CardBodyHeader as CardBodyHeader_alias_2 }
|
|
412
|
+
|
|
413
|
+
declare const CardBodyHeaderComponent: ForwardRefExoticComponent<CardBaseProps & {
|
|
414
|
+
as: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
415
|
+
} & RefAttributes<HTMLHeadingElement>> & {
|
|
416
|
+
Overline: typeof CardBodyHeaderOverline;
|
|
417
|
+
Title: typeof CardBodyHeaderTitle;
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
declare const CardBodyHeaderOverline: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
421
|
+
export { CardBodyHeaderOverline }
|
|
422
|
+
export { CardBodyHeaderOverline as CardBodyHeaderOverline_alias_1 }
|
|
423
|
+
export { CardBodyHeaderOverline as CardBodyHeaderOverline_alias_2 }
|
|
424
|
+
|
|
425
|
+
declare const CardBodyHeaderTitle: OverridableComponent<CardBaseProps & {
|
|
426
|
+
/**
|
|
427
|
+
* A Card should in most cases appear as a big link,
|
|
428
|
+
* but the actual link should just be this header title.
|
|
429
|
+
* To make life better for those with screen readers we should not make
|
|
430
|
+
* the entire card a link, as that would cause the entire card to be read
|
|
431
|
+
* as a link to the user. That would be perceived as information overload.
|
|
432
|
+
*/
|
|
433
|
+
as: ElementType;
|
|
434
|
+
}, HTMLDivElement>;
|
|
435
|
+
export { CardBodyHeaderTitle }
|
|
436
|
+
export { CardBodyHeaderTitle as CardBodyHeaderTitle_alias_1 }
|
|
437
|
+
export { CardBodyHeaderTitle as CardBodyHeaderTitle_alias_2 }
|
|
438
|
+
|
|
439
|
+
declare const CardComponent: {
|
|
440
|
+
(props: CardBaseProps & {
|
|
441
|
+
as?: "symbol" | "object" | "footer" | "text" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | ComponentType<any> | undefined;
|
|
442
|
+
} & RefAttributes<HTMLDivElement>): ReactNode;
|
|
443
|
+
<As extends ElementType>(props: {
|
|
444
|
+
as?: As | undefined;
|
|
445
|
+
} & CardBaseProps & {
|
|
446
|
+
as?: "symbol" | "object" | "footer" | "text" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | ComponentType<any> | undefined;
|
|
447
|
+
} & Omit<ComponentPropsWithRef<As>, "as" | keyof CardBaseProps>): ReactNode;
|
|
448
|
+
} & Pick<FC, "displayName"> & {
|
|
449
|
+
Media: typeof CardMediaComponent;
|
|
450
|
+
Body: typeof CardBodyComponent;
|
|
451
|
+
};
|
|
452
|
+
export { CardComponent as Card }
|
|
453
|
+
export { CardComponent as Card_alias_3 }
|
|
454
|
+
|
|
455
|
+
export declare const CardFullWidth: Story_6;
|
|
456
|
+
|
|
457
|
+
declare interface CardImageMediaProps extends HTMLAttributes<HTMLDivElement> {
|
|
458
|
+
aspectRatio?: string;
|
|
459
|
+
}
|
|
460
|
+
export { CardImageMediaProps }
|
|
461
|
+
export { CardImageMediaProps as CardImageMediaProps_alias_1 }
|
|
462
|
+
export { CardImageMediaProps as CardImageMediaProps_alias_2 }
|
|
463
|
+
|
|
464
|
+
declare const CardMedia: OverridableComponent<CardBaseProps, HTMLDivElement>;
|
|
465
|
+
export { CardMedia }
|
|
466
|
+
export { CardMedia as CardMedia_alias_1 }
|
|
467
|
+
export { CardMedia as CardMedia_alias_2 }
|
|
468
|
+
|
|
469
|
+
declare const CardMediaComponent: {
|
|
470
|
+
(props: CardBaseProps & RefAttributes<HTMLDivElement>): ReactNode;
|
|
471
|
+
<As extends ElementType>(props: {
|
|
472
|
+
as?: As | undefined;
|
|
473
|
+
} & CardBaseProps & Omit<ComponentPropsWithRef<As>, keyof CardBaseProps>): ReactNode;
|
|
474
|
+
} & Pick<FC, "displayName"> & {
|
|
475
|
+
Img: typeof CardMediaImg;
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
declare const CardMediaImg: OverridableComponent<CardImageMediaProps, HTMLImageElement>;
|
|
479
|
+
export { CardMediaImg }
|
|
480
|
+
export { CardMediaImg as CardMediaImg_alias_1 }
|
|
481
|
+
export { CardMediaImg as CardMediaImg_alias_2 }
|
|
482
|
+
|
|
483
|
+
declare const Checkbox: React_3.ForwardRefExoticComponent<CheckboxProps & React_3.RefAttributes<HTMLInputElement>>;
|
|
484
|
+
export { Checkbox }
|
|
485
|
+
export { Checkbox as Checkbox_alias_1 }
|
|
486
|
+
export { Checkbox as Checkbox_alias_2 }
|
|
487
|
+
export { Checkbox as Checkbox_alias_3 }
|
|
488
|
+
|
|
489
|
+
declare interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "defaultValue"> {
|
|
490
|
+
variant?: "plain" | "bounding-box";
|
|
491
|
+
hasError?: boolean;
|
|
492
|
+
title?: string;
|
|
493
|
+
}
|
|
494
|
+
export { CheckboxProps }
|
|
495
|
+
export { CheckboxProps as CheckboxProps_alias_1 }
|
|
496
|
+
export { CheckboxProps as CheckboxProps_alias_2 }
|
|
497
|
+
export { CheckboxProps as CheckboxProps_alias_3 }
|
|
498
|
+
|
|
499
|
+
export declare function CloseIcon(): JSX_2.Element;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Container is a layout component that is used to wrap content.
|
|
503
|
+
* It ensures a max-width and minimum spacing on the sides.
|
|
504
|
+
*/
|
|
505
|
+
declare const Container: OverridableComponent<ContainerProps, HTMLDivElement>;
|
|
506
|
+
export { Container }
|
|
507
|
+
export { Container as Container_alias_1 }
|
|
508
|
+
export { Container as Container_alias_2 }
|
|
509
|
+
|
|
510
|
+
declare interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
511
|
+
variant?: "default" | "slim";
|
|
512
|
+
children: ReactNode;
|
|
513
|
+
}
|
|
514
|
+
export { ContainerProps }
|
|
515
|
+
export { ContainerProps as ContainerProps_alias_1 }
|
|
516
|
+
export { ContainerProps as ContainerProps_alias_2 }
|
|
517
|
+
|
|
518
|
+
export declare const Custom: Story_3;
|
|
519
|
+
|
|
520
|
+
export declare const Dark: Story_2;
|
|
521
|
+
|
|
522
|
+
declare function DarkBadge(props: BadgeProps): JSX_2.Element;
|
|
523
|
+
|
|
524
|
+
declare namespace DarkBadge {
|
|
525
|
+
var displayName: string;
|
|
526
|
+
}
|
|
527
|
+
export { DarkBadge }
|
|
528
|
+
export { DarkBadge as DarkBadge_alias_1 }
|
|
529
|
+
export { DarkBadge as DarkBadge_alias_2 }
|
|
530
|
+
|
|
531
|
+
export declare const Darkmode: Story_24;
|
|
532
|
+
|
|
533
|
+
export declare const DarkmodeSmall: Story_24;
|
|
534
|
+
|
|
535
|
+
export declare const DefaulDisabled: Story_11;
|
|
536
|
+
|
|
537
|
+
export declare const Default: Story_4;
|
|
538
|
+
|
|
539
|
+
export declare const default_alias: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
|
540
|
+
|
|
541
|
+
export declare const Default_alias_1: Story_8;
|
|
542
|
+
|
|
543
|
+
export declare const default_alias_1: Meta<typeof AccordionComponent>;
|
|
544
|
+
|
|
545
|
+
export declare const default_alias_10: Meta<typeof Radiobutton>;
|
|
546
|
+
|
|
547
|
+
export declare const default_alias_11: Meta<typeof Select>;
|
|
548
|
+
|
|
549
|
+
export declare const default_alias_12: Meta<typeof Textarea>;
|
|
550
|
+
|
|
551
|
+
export declare const default_alias_13: Meta<typeof Container>;
|
|
552
|
+
|
|
553
|
+
export declare const default_alias_14: Meta<typeof Link>;
|
|
554
|
+
|
|
555
|
+
export declare const default_alias_15: Meta<typeof DescriptionList>;
|
|
556
|
+
|
|
557
|
+
export declare const default_alias_16: Meta<typeof LinkList>;
|
|
558
|
+
|
|
559
|
+
export declare const default_alias_17: Meta<typeof UnorderedList>;
|
|
560
|
+
|
|
561
|
+
export declare const default_alias_18: Meta<typeof MessageComponent>;
|
|
562
|
+
|
|
563
|
+
export declare const default_alias_19: Meta<typeof ModalComponent>;
|
|
564
|
+
|
|
565
|
+
export declare const Default_alias_2: Story_11;
|
|
566
|
+
|
|
567
|
+
export declare const default_alias_2: Meta<typeof Badge>;
|
|
568
|
+
|
|
569
|
+
export declare const default_alias_20: Meta<typeof Navbar>;
|
|
570
|
+
|
|
571
|
+
export declare const default_alias_21: Meta<typeof ShowMoreButton>;
|
|
572
|
+
|
|
573
|
+
export declare const default_alias_22: Meta<typeof Skeleton>;
|
|
574
|
+
|
|
575
|
+
export declare const default_alias_23: Meta<typeof StepIndicator>;
|
|
576
|
+
|
|
577
|
+
export declare const default_alias_24: Meta<typeof StyledHtml>;
|
|
578
|
+
|
|
579
|
+
export declare const default_alias_25: Meta<typeof TabsComponent>;
|
|
580
|
+
|
|
581
|
+
export declare const default_alias_26: Meta<typeof Typography>;
|
|
582
|
+
|
|
583
|
+
export declare const default_alias_27: Meta<typeof WarningBanner>;
|
|
584
|
+
|
|
585
|
+
export declare const Default_alias_3: Story_13;
|
|
586
|
+
|
|
587
|
+
export declare const default_alias_3: Meta<typeof BoxComponent>;
|
|
588
|
+
|
|
589
|
+
export declare const Default_alias_4: Story_20;
|
|
590
|
+
|
|
591
|
+
export declare const default_alias_4: Meta<typeof Breadcrumbs>;
|
|
592
|
+
|
|
593
|
+
export declare const Default_alias_5: Story_21;
|
|
594
|
+
|
|
595
|
+
export declare const default_alias_5: Meta<typeof PrimaryButton>;
|
|
596
|
+
|
|
597
|
+
export declare const Default_alias_6: Story_22;
|
|
598
|
+
|
|
599
|
+
export declare const default_alias_6: Meta<typeof CardComponent>;
|
|
600
|
+
|
|
601
|
+
export declare const Default_alias_7: Story_23;
|
|
602
|
+
|
|
603
|
+
export declare const default_alias_7: Meta<typeof Checkbox>;
|
|
604
|
+
|
|
605
|
+
export declare const Default_alias_8: Story_24;
|
|
606
|
+
|
|
607
|
+
export declare const default_alias_8: Meta<typeof Fieldset>;
|
|
608
|
+
|
|
609
|
+
export declare const Default_alias_9: Story_26;
|
|
610
|
+
|
|
611
|
+
export declare const default_alias_9: Meta<typeof Input>;
|
|
612
|
+
|
|
613
|
+
export declare const DefaultOpen: Story;
|
|
614
|
+
|
|
615
|
+
export declare const DefaultWithError: Story_11;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Uses the HTML5 `<dl>` element
|
|
619
|
+
*
|
|
620
|
+
* Pass in corresponding `<dt>` and `<dd>` elements as children
|
|
621
|
+
*
|
|
622
|
+
* ```tsx
|
|
623
|
+
* <DescriptionList>
|
|
624
|
+
* <dt>Vekt</dt>
|
|
625
|
+
* <dd>12 kg</dd>
|
|
626
|
+
* <dt>Antall kolli</dt>
|
|
627
|
+
* <dd>2</dd>
|
|
628
|
+
* </DescriptionList>
|
|
629
|
+
* ```
|
|
630
|
+
*
|
|
631
|
+
* Optionally wrap them in `<div>` elements as allowed by the HTML5 spec
|
|
632
|
+
*
|
|
633
|
+
* ```tsx
|
|
634
|
+
* <DescriptionList>
|
|
635
|
+
* <div>
|
|
636
|
+
* <dt>Vekt</dt>
|
|
637
|
+
* <dd>12 kg</dd>
|
|
638
|
+
* </div>
|
|
639
|
+
* <div>
|
|
640
|
+
* <dt>Antall kolli</dt>
|
|
641
|
+
* <dd>2</dd>
|
|
642
|
+
* </div>
|
|
643
|
+
* </DescriptionList>
|
|
644
|
+
* ```
|
|
645
|
+
*/
|
|
646
|
+
declare function DescriptionList({ variant, className, ...rest }: DescriptionListProps): JSX_2.Element;
|
|
647
|
+
|
|
648
|
+
declare namespace DescriptionList {
|
|
649
|
+
var displayName: string;
|
|
650
|
+
}
|
|
651
|
+
export { DescriptionList }
|
|
652
|
+
export { DescriptionList as DescriptionList_alias_1 }
|
|
653
|
+
export { DescriptionList as DescriptionList_alias_2 }
|
|
654
|
+
|
|
655
|
+
declare interface DescriptionListProps extends HTMLAttributes<HTMLDListElement> {
|
|
656
|
+
/**
|
|
657
|
+
* Either `DescriptionDetails` or `DescriptionTerm` elements
|
|
658
|
+
*/
|
|
659
|
+
children?: ReactNode;
|
|
660
|
+
/**
|
|
661
|
+
* Direction of the description list
|
|
662
|
+
*/
|
|
663
|
+
variant?: "vertical" | "horizontal";
|
|
664
|
+
}
|
|
665
|
+
export { DescriptionListProps }
|
|
666
|
+
export { DescriptionListProps as DescriptionListProps_alias_1 }
|
|
667
|
+
export { DescriptionListProps as DescriptionListProps_alias_2 }
|
|
668
|
+
|
|
669
|
+
export declare const DescriptionOnly: Story_18;
|
|
670
|
+
|
|
671
|
+
export declare const DetailedContentCheckbox: Story_7;
|
|
672
|
+
|
|
673
|
+
export declare const DetailedContentCheckboxWithBoundingBox: Story_7;
|
|
674
|
+
|
|
675
|
+
export declare const DetailedContentRadiobutton: Story_10;
|
|
676
|
+
|
|
677
|
+
export declare const DetailedContentRadiobuttonWithBoundingBox: Story_10;
|
|
678
|
+
|
|
679
|
+
declare interface DimensionsFromWidthAndHeight {
|
|
680
|
+
height?: number | string;
|
|
681
|
+
width?: number | string;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
export declare const Disabled: Story_5;
|
|
685
|
+
|
|
686
|
+
export declare const DisabledInput: Story_9;
|
|
687
|
+
|
|
688
|
+
export declare const DisabledInputWithError: Story_9;
|
|
689
|
+
|
|
690
|
+
export declare const DisabledOutline: Story_5;
|
|
691
|
+
|
|
692
|
+
export declare const DisabledTextarea: Story_12;
|
|
693
|
+
|
|
694
|
+
export declare const DisabledTextareaWithError: Story_12;
|
|
695
|
+
|
|
696
|
+
declare function ErrorMessage({ children, id, className }: ErrorMessageProps): JSX_2.Element;
|
|
697
|
+
export { ErrorMessage }
|
|
698
|
+
export { ErrorMessage as ErrorMessage_alias_1 }
|
|
699
|
+
|
|
700
|
+
declare interface ErrorMessageProps {
|
|
701
|
+
children: ReactNode;
|
|
702
|
+
id: string;
|
|
703
|
+
className?: string;
|
|
704
|
+
}
|
|
705
|
+
export { ErrorMessageProps }
|
|
706
|
+
export { ErrorMessageProps as ErrorMessageProps_alias_1 }
|
|
707
|
+
|
|
708
|
+
export declare const Expandable: Story_27;
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* 🚨 WORK IN PROGRESS 🚨
|
|
712
|
+
*/
|
|
713
|
+
declare const Fieldset: ForwardRefExoticComponent<FieldsetProps & RefAttributes<HTMLFieldSetElement>>;
|
|
714
|
+
export { Fieldset }
|
|
715
|
+
export { Fieldset as Fieldset_alias_1 }
|
|
716
|
+
export { Fieldset as Fieldset_alias_2 }
|
|
717
|
+
export { Fieldset as Fieldset_alias_3 }
|
|
718
|
+
|
|
719
|
+
export declare const FieldsetError: Story_8;
|
|
720
|
+
|
|
721
|
+
declare interface FieldsetProps extends FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
722
|
+
className?: string;
|
|
723
|
+
style?: CSSProperties;
|
|
724
|
+
errorMessage?: ReactNode;
|
|
725
|
+
legendProps?: HTMLAttributes<HTMLElement> & {
|
|
726
|
+
size: "default" | "large";
|
|
727
|
+
};
|
|
728
|
+
legend: ReactNode;
|
|
729
|
+
children: ReactNode;
|
|
730
|
+
}
|
|
731
|
+
export { FieldsetProps }
|
|
732
|
+
export { FieldsetProps as FieldsetProps_alias_1 }
|
|
733
|
+
export { FieldsetProps as FieldsetProps_alias_2 }
|
|
734
|
+
export { FieldsetProps as FieldsetProps_alias_3 }
|
|
735
|
+
|
|
736
|
+
export declare const FormWithErrorsOnSubmit: Story_9;
|
|
737
|
+
|
|
738
|
+
export declare const H1: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Alternative: Named as the different typography levels
|
|
742
|
+
*
|
|
743
|
+
* ## Alias to @see Typography
|
|
744
|
+
*/
|
|
745
|
+
export declare const H1Display: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
746
|
+
|
|
747
|
+
export declare const H2: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
748
|
+
|
|
749
|
+
export declare const H3: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
750
|
+
|
|
751
|
+
export declare const H3Title: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
752
|
+
|
|
753
|
+
export declare const Horizontal: Story_15;
|
|
754
|
+
|
|
755
|
+
export declare const Horizontal_alias_1: Story_25;
|
|
756
|
+
|
|
757
|
+
export declare const HorizontalLongContent: Story_15;
|
|
758
|
+
|
|
759
|
+
export declare const HorizontalWithMiddleSelected: Story_25;
|
|
760
|
+
|
|
761
|
+
export declare const IconDisabled: Story_5;
|
|
762
|
+
|
|
763
|
+
export declare const IconDisabledOutline: Story_5;
|
|
764
|
+
|
|
765
|
+
export declare const IconPrimary: Story_5;
|
|
766
|
+
|
|
767
|
+
export declare const IconPrimaryOutline: Story_5;
|
|
768
|
+
|
|
769
|
+
export declare const IconSecondary: Story_5;
|
|
770
|
+
|
|
771
|
+
export declare const IconSecondaryOutline: Story_5;
|
|
772
|
+
|
|
773
|
+
declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
|
|
774
|
+
export { Input }
|
|
775
|
+
export { Input as Input_alias_1 }
|
|
776
|
+
export { Input as Input_alias_2 }
|
|
777
|
+
export { Input as Input_alias_3 }
|
|
778
|
+
|
|
779
|
+
declare const InputGroup: ForwardRefExoticComponent<InputGroupProps & RefAttributes<HTMLDivElement>>;
|
|
780
|
+
export { InputGroup }
|
|
781
|
+
export { InputGroup as InputGroup_alias_1 }
|
|
782
|
+
|
|
783
|
+
declare interface InputGroupProps {
|
|
784
|
+
id?: string;
|
|
785
|
+
className?: string;
|
|
786
|
+
style?: CSSProperties;
|
|
787
|
+
variant?: "default" | "white";
|
|
788
|
+
errorMessage?: ReactNode;
|
|
789
|
+
labelProps?: LabelHTMLAttributes<HTMLLabelElement>;
|
|
790
|
+
label: ReactNode;
|
|
791
|
+
disabled?: boolean;
|
|
792
|
+
readOnly?: boolean;
|
|
793
|
+
children: ReactNode;
|
|
794
|
+
}
|
|
795
|
+
export { InputGroupProps }
|
|
796
|
+
export { InputGroupProps as InputGroupProps_alias_1 }
|
|
797
|
+
|
|
798
|
+
declare type InputProps = Omit<InputGroupProps & InputHTMLAttributes<HTMLInputElement>, "children">;
|
|
799
|
+
export { InputProps }
|
|
800
|
+
export { InputProps as InputProps_alias_1 }
|
|
801
|
+
export { InputProps as InputProps_alias_2 }
|
|
802
|
+
export { InputProps as InputProps_alias_3 }
|
|
803
|
+
|
|
804
|
+
export declare const Inverted: Story_14;
|
|
805
|
+
|
|
806
|
+
export declare const JustOneItem: Story;
|
|
807
|
+
|
|
808
|
+
export declare const LargeLegend: Story_8;
|
|
809
|
+
|
|
810
|
+
export declare const Lighter: Story_2;
|
|
811
|
+
|
|
812
|
+
export declare const LighterBox: Story_3;
|
|
813
|
+
|
|
814
|
+
export declare const LightGreyBox: Story_3;
|
|
815
|
+
|
|
816
|
+
declare const Link: OverridableComponent<LinkProps, HTMLAnchorElement>;
|
|
817
|
+
export { Link }
|
|
818
|
+
export { Link as Link_alias_1 }
|
|
819
|
+
export { Link as Link_alias_2 }
|
|
820
|
+
|
|
821
|
+
export declare const LinkInDescription: Story_27;
|
|
822
|
+
|
|
823
|
+
declare function LinkList({ className, ...rest }: LinkListProps): JSX_2.Element;
|
|
824
|
+
|
|
825
|
+
declare namespace LinkList {
|
|
826
|
+
var displayName: string;
|
|
827
|
+
}
|
|
828
|
+
export { LinkList }
|
|
829
|
+
export { LinkList as LinkList_alias_1 }
|
|
830
|
+
export { LinkList as LinkList_alias_2 }
|
|
831
|
+
|
|
832
|
+
declare interface LinkListProps extends Omit<ListProps, "listStyle"> {
|
|
833
|
+
children?: React_2.ReactElement<HTMLLIElement> | React_2.ReactElement<HTMLLIElement>[];
|
|
834
|
+
}
|
|
835
|
+
export { LinkListProps }
|
|
836
|
+
export { LinkListProps as LinkListProps_alias_1 }
|
|
837
|
+
export { LinkListProps as LinkListProps_alias_2 }
|
|
838
|
+
|
|
839
|
+
export declare const LinkListStory: Story_16;
|
|
840
|
+
|
|
841
|
+
declare interface LinkProps extends React_2.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
842
|
+
/**
|
|
843
|
+
* The visual style of the link
|
|
844
|
+
*/
|
|
845
|
+
variant?: "underline" | "solid" | "inverted" | "no-underline";
|
|
846
|
+
/**
|
|
847
|
+
* Font size of the link
|
|
848
|
+
*/
|
|
849
|
+
size?: "small" | "medium" | "large";
|
|
850
|
+
children: React_2.ReactNode;
|
|
851
|
+
}
|
|
852
|
+
export { LinkProps }
|
|
853
|
+
export { LinkProps as LinkProps_alias_1 }
|
|
854
|
+
export { LinkProps as LinkProps_alias_2 }
|
|
855
|
+
|
|
856
|
+
declare interface ListProps extends HTMLAttributes<HTMLOListElement | HTMLUListElement> {
|
|
857
|
+
children?: React_2.ReactElement<HTMLLIElement> | React_2.ReactElement<HTMLLIElement>[];
|
|
858
|
+
/**
|
|
859
|
+
* Inherit list styles or do not show these
|
|
860
|
+
*/
|
|
861
|
+
listStyle?: "inherit" | "no-bullets";
|
|
862
|
+
/**
|
|
863
|
+
* Sets the size of the items (font)
|
|
864
|
+
*/
|
|
865
|
+
size?: "small" | "medium" | "large";
|
|
866
|
+
}
|
|
867
|
+
export { ListProps }
|
|
868
|
+
export { ListProps as ListProps_alias_1 }
|
|
869
|
+
export { ListProps as ListProps_alias_2 }
|
|
870
|
+
|
|
871
|
+
export declare const LoadingCards: Story_22;
|
|
872
|
+
|
|
873
|
+
export declare const LongDescriptionOnly: Story_18;
|
|
874
|
+
|
|
875
|
+
export declare const Main: {
|
|
876
|
+
render: (args: ModalProps & RefAttributes<HTMLDialogElement>) => JSX_2.Element;
|
|
877
|
+
};
|
|
878
|
+
|
|
879
|
+
export declare function MenuIcon(): JSX_2.Element;
|
|
880
|
+
|
|
881
|
+
export declare const Message_alias_2: OverridableComponent<MessageProps, HTMLDivElement>;
|
|
882
|
+
|
|
883
|
+
declare const MessageComponent: {
|
|
884
|
+
(props: MessageProps & RefAttributes<HTMLDivElement>): ReactNode;
|
|
885
|
+
<As extends ElementType>(props: {
|
|
886
|
+
as?: As | undefined;
|
|
887
|
+
} & MessageProps & Omit<ComponentPropsWithRef<As>, "slot" | "style" | "title" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onClose" | "variant" | "closeable" | "closed" | "closeButtonProps" | "icon" | "iconClassName">): ReactNode;
|
|
888
|
+
} & Pick<FC, "displayName"> & {
|
|
889
|
+
Title: typeof MessageTitle;
|
|
890
|
+
Description: typeof MessageDescription;
|
|
891
|
+
};
|
|
892
|
+
export { MessageComponent as Message }
|
|
893
|
+
export { MessageComponent as Message_alias_1 }
|
|
894
|
+
|
|
895
|
+
export declare const MessageDescription: OverridableComponent<object, HTMLParagraphElement>;
|
|
896
|
+
|
|
897
|
+
export declare type MessageProps = ({
|
|
898
|
+
variant?: "success" | "attention" | "warning";
|
|
899
|
+
icon?: never;
|
|
900
|
+
iconClassName?: never;
|
|
901
|
+
} | {
|
|
902
|
+
variant: "neutral";
|
|
903
|
+
icon?: React_3.ReactNode;
|
|
904
|
+
iconClassName?: string;
|
|
905
|
+
}) & Omit<BoxProps, "variant">;
|
|
906
|
+
|
|
907
|
+
export declare const MessageTitle: OverridableComponent<object, HTMLParagraphElement>;
|
|
908
|
+
|
|
909
|
+
export declare const MinAndMax: Story_26;
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* # 🚨 WORK IN PROGRESS 🚨
|
|
913
|
+
*
|
|
914
|
+
* ## TODO
|
|
915
|
+
*
|
|
916
|
+
* - [ ] polyfill the dialog element for the %0.2 users that don't have it yet.
|
|
917
|
+
* - [x] Open the modal where there user is, not top of the page
|
|
918
|
+
* - [x] Support the `open` prop
|
|
919
|
+
* - [x] Support click outside to close
|
|
920
|
+
*/
|
|
921
|
+
export declare const Modal_alias_2: ForwardRefExoticComponent<ModalProps & RefAttributes<HTMLDialogElement>>;
|
|
922
|
+
|
|
923
|
+
declare const ModalComponent: ForwardRefExoticComponent<ModalProps & RefAttributes<HTMLDialogElement>> & {
|
|
924
|
+
Header: typeof ModalHeader;
|
|
925
|
+
Content: typeof ModalContent;
|
|
926
|
+
Footer: typeof ModalFooter;
|
|
927
|
+
};
|
|
928
|
+
export { ModalComponent as Modal }
|
|
929
|
+
export { ModalComponent as Modal_alias_1 }
|
|
930
|
+
|
|
931
|
+
declare const ModalContent: OverridableComponent<object, HTMLDivElement>;
|
|
932
|
+
export { ModalContent }
|
|
933
|
+
export { ModalContent as ModalContent_alias_1 }
|
|
934
|
+
export { ModalContent as ModalContent_alias_2 }
|
|
935
|
+
|
|
936
|
+
declare const ModalFooter: OverridableComponent<object, HTMLDivElement>;
|
|
937
|
+
export { ModalFooter }
|
|
938
|
+
export { ModalFooter as ModalFooter_alias_1 }
|
|
939
|
+
export { ModalFooter as ModalFooter_alias_2 }
|
|
940
|
+
|
|
941
|
+
declare const ModalHeader: OverridableComponent<object, HTMLHeadingElement>;
|
|
942
|
+
export { ModalHeader }
|
|
943
|
+
export { ModalHeader as ModalHeader_alias_1 }
|
|
944
|
+
export { ModalHeader as ModalHeader_alias_2 }
|
|
945
|
+
|
|
946
|
+
declare interface ModalProps extends React.HTMLAttributes<HTMLDialogElement> {
|
|
947
|
+
children: React.ReactNode;
|
|
948
|
+
/**
|
|
949
|
+
* Controls the open state of the modal
|
|
950
|
+
*/
|
|
951
|
+
open?: boolean;
|
|
952
|
+
/**
|
|
953
|
+
* Whether to close when clicking on the backdrop.
|
|
954
|
+
*/
|
|
955
|
+
closeOnBackdropClick?: boolean;
|
|
956
|
+
}
|
|
957
|
+
export { ModalProps }
|
|
958
|
+
export { ModalProps as ModalProps_alias_1 }
|
|
959
|
+
export { ModalProps as ModalProps_alias_2 }
|
|
960
|
+
|
|
961
|
+
export declare const MuchContentBelow: Story_19;
|
|
962
|
+
|
|
963
|
+
export declare const MultipleItems: Story;
|
|
964
|
+
|
|
965
|
+
export declare const Navbar: ForwardRefExoticComponent<NavbarProps & RefAttributes<HTMLElement>> & {
|
|
966
|
+
Logo: typeof NavbarLogo;
|
|
967
|
+
ExpandableMenu: typeof NavbarExpandableMenuComponent;
|
|
968
|
+
Button: typeof NavbarButton;
|
|
969
|
+
Navigation: typeof NavbarNavigation;
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* 🚨 WORK IN PROGRESS 🚨
|
|
974
|
+
*/
|
|
975
|
+
export declare const Navbar_alias_1: React_3.ForwardRefExoticComponent<NavbarProps & React_3.RefAttributes<HTMLElement>>;
|
|
976
|
+
|
|
977
|
+
declare const NavbarButton: OverridableComponent<NavbarButtonProps, HTMLElement>;
|
|
978
|
+
export { NavbarButton }
|
|
979
|
+
export { NavbarButton as NavbarButton_alias_1 }
|
|
980
|
+
|
|
981
|
+
declare interface NavbarButtonProps {
|
|
982
|
+
icon?: React_3.ReactNode;
|
|
983
|
+
children: React_3.ReactNode;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
export declare function NavbarExpandableMenu({ children }: NavbarExpandableMenuProps): JSX_2.Element;
|
|
987
|
+
|
|
988
|
+
export declare namespace NavbarExpandableMenu {
|
|
989
|
+
var displayName: string;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
declare const NavbarExpandableMenuComponent: typeof NavbarExpandableMenu & {
|
|
993
|
+
Trigger: typeof NavbarExpandableMenuTrigger;
|
|
994
|
+
Content: typeof NavbarExpandableMenuContent;
|
|
995
|
+
};
|
|
996
|
+
|
|
997
|
+
export declare const NavbarExpandableMenuContent: OverridableComponent<NavbarExpandableMenuContentProps, HTMLDivElement>;
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Content
|
|
1001
|
+
*/
|
|
1002
|
+
export declare interface NavbarExpandableMenuContentProps {
|
|
1003
|
+
children: React_3.ReactNode;
|
|
1004
|
+
className?: string;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* Root
|
|
1009
|
+
*/
|
|
1010
|
+
export declare interface NavbarExpandableMenuProps {
|
|
1011
|
+
children: React_3.ReactNode;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export declare const NavbarExpandableMenuTrigger: React_3.ForwardRefExoticComponent<NavbarExpandableMenuTriggerProps & React_3.RefAttributes<HTMLButtonElement>>;
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Trigger
|
|
1018
|
+
*
|
|
1019
|
+
* ## TODO
|
|
1020
|
+
* - [ ] Hide text when on mobile
|
|
1021
|
+
* - [X] Open / Close icon
|
|
1022
|
+
* - [X] Make button have consistant width
|
|
1023
|
+
*/
|
|
1024
|
+
export declare interface NavbarExpandableMenuTriggerProps extends Omit<React_3.HTMLAttributes<HTMLButtonElement>, "children"> {
|
|
1025
|
+
whenClosedText: React_3.ReactNode;
|
|
1026
|
+
whenClosedHelperTitle?: string;
|
|
1027
|
+
whenOpenText: React_3.ReactNode;
|
|
1028
|
+
whenOpenHelperTitle?: string;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
declare const NavbarLogo: OverridableComponent<NavbarLogoProps, HTMLDivElement>;
|
|
1032
|
+
export { NavbarLogo }
|
|
1033
|
+
export { NavbarLogo as NavbarLogo_alias_1 }
|
|
1034
|
+
|
|
1035
|
+
declare interface NavbarLogoProps {
|
|
1036
|
+
children?: never;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
declare const NavbarNavigation: OverridableComponent<NavbarNavigationProps, HTMLElement>;
|
|
1040
|
+
export { NavbarNavigation }
|
|
1041
|
+
export { NavbarNavigation as NavbarNavigation_alias_1 }
|
|
1042
|
+
|
|
1043
|
+
declare interface NavbarNavigationProps {
|
|
1044
|
+
children: React_3.ReactNode;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
declare interface NavbarProps extends HTMLAttributes<HTMLElement> {
|
|
1048
|
+
children: React_3.ReactNode;
|
|
1049
|
+
}
|
|
1050
|
+
export { NavbarProps }
|
|
1051
|
+
export { NavbarProps as NavbarProps_alias_1 }
|
|
1052
|
+
|
|
1053
|
+
export declare const NestedLists: Story_17;
|
|
1054
|
+
|
|
1055
|
+
export declare const Neutral: Story_18;
|
|
1056
|
+
|
|
1057
|
+
export declare const NoBulletsListStory: Story_17;
|
|
1058
|
+
|
|
1059
|
+
export declare const NoIndent: Story;
|
|
1060
|
+
|
|
1061
|
+
export declare const NoUnderline: Story_14;
|
|
1062
|
+
|
|
1063
|
+
declare function OrderedList(props: ListProps): JSX_2.Element;
|
|
1064
|
+
|
|
1065
|
+
declare namespace OrderedList {
|
|
1066
|
+
var displayName: string;
|
|
1067
|
+
}
|
|
1068
|
+
export { OrderedList }
|
|
1069
|
+
export { OrderedList as OrderedList_alias_1 }
|
|
1070
|
+
export { OrderedList as OrderedList_alias_2 }
|
|
1071
|
+
|
|
1072
|
+
export declare const OrderedListStory: Story_17;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* OverridableComponent makes the `as` prop available,
|
|
1076
|
+
* to be used to override the html element being used for a component
|
|
1077
|
+
*
|
|
1078
|
+
* Taken from digdir design system: https://github.com/digdir/designsystem/blob/main/packages/react/src/types/OverridableComponent.ts
|
|
1079
|
+
*/
|
|
1080
|
+
export declare type OverridableComponent<ComponentProps, Element extends HTMLElement> = {
|
|
1081
|
+
(props: ComponentProps & RefAttributes<Element>): ReturnType<FC>;
|
|
1082
|
+
<As extends ElementType>(props: {
|
|
1083
|
+
/** Override html element */
|
|
1084
|
+
as?: As;
|
|
1085
|
+
} & ComponentProps & Omit<ComponentPropsWithRef<As>, keyof ComponentProps>): ReturnType<FC>;
|
|
1086
|
+
} & Pick<FC, "displayName">;
|
|
1087
|
+
|
|
1088
|
+
export declare const Paragraph: Story_15;
|
|
1089
|
+
|
|
1090
|
+
export declare const PlainCheckbox: Story_7;
|
|
1091
|
+
|
|
1092
|
+
export declare const PlainInput: Story_9;
|
|
1093
|
+
|
|
1094
|
+
export declare const PlainInputWithError: Story_9;
|
|
1095
|
+
|
|
1096
|
+
export declare const PlainRadiobutton: Story_10;
|
|
1097
|
+
|
|
1098
|
+
export declare const PlainTextarea: Story_12;
|
|
1099
|
+
|
|
1100
|
+
export declare const PlainTextareaWithError: Story_12;
|
|
1101
|
+
|
|
1102
|
+
export declare const PostenBringSideBySide: Story_26;
|
|
1103
|
+
|
|
1104
|
+
export declare const Primary: Story_5;
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* ## TODO
|
|
1108
|
+
*
|
|
1109
|
+
* - [x] Handle links that looks like buttons
|
|
1110
|
+
* - [ ] Revisit how to handle outline
|
|
1111
|
+
* - [ ] Figure out outline-white
|
|
1112
|
+
*/
|
|
1113
|
+
declare const PrimaryButton: OverridableComponent<ButtonProps, HTMLButtonElement>;
|
|
1114
|
+
export { PrimaryButton }
|
|
1115
|
+
export { PrimaryButton as PrimaryButton_alias_1 }
|
|
1116
|
+
export { PrimaryButton as PrimaryButton_alias_2 }
|
|
1117
|
+
|
|
1118
|
+
export declare const PrimaryOutline: Story_5;
|
|
1119
|
+
|
|
1120
|
+
declare const Radiobutton: React_3.ForwardRefExoticComponent<RadiobuttonProps & React_3.RefAttributes<HTMLInputElement>>;
|
|
1121
|
+
export { Radiobutton }
|
|
1122
|
+
export { Radiobutton as Radiobutton_alias_1 }
|
|
1123
|
+
export { Radiobutton as Radiobutton_alias_2 }
|
|
1124
|
+
export { Radiobutton as Radiobutton_alias_3 }
|
|
1125
|
+
|
|
1126
|
+
export declare const RadiobuttonInFieldset: Story_10;
|
|
1127
|
+
|
|
1128
|
+
declare interface RadiobuttonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "defaultValue"> {
|
|
1129
|
+
variant?: "plain" | "bounding-box";
|
|
1130
|
+
hasError?: boolean;
|
|
1131
|
+
title?: string;
|
|
1132
|
+
}
|
|
1133
|
+
export { RadiobuttonProps }
|
|
1134
|
+
export { RadiobuttonProps as RadiobuttonProps_alias_1 }
|
|
1135
|
+
export { RadiobuttonProps as RadiobuttonProps_alias_2 }
|
|
1136
|
+
export { RadiobuttonProps as RadiobuttonProps_alias_3 }
|
|
1137
|
+
|
|
1138
|
+
export declare const ReadonlyInput: Story_9;
|
|
1139
|
+
|
|
1140
|
+
export declare const ReadonlyInputWithError: Story_9;
|
|
1141
|
+
|
|
1142
|
+
export declare const ReadonlyTextarea: Story_12;
|
|
1143
|
+
|
|
1144
|
+
export declare const ReadonlyTextareaWithError: Story_12;
|
|
1145
|
+
|
|
1146
|
+
export declare const Secondary: Story_5;
|
|
1147
|
+
|
|
1148
|
+
declare const SecondaryButton: OverridableComponent<ButtonProps, HTMLButtonElement>;
|
|
1149
|
+
export { SecondaryButton }
|
|
1150
|
+
export { SecondaryButton as SecondaryButton_alias_1 }
|
|
1151
|
+
export { SecondaryButton as SecondaryButton_alias_2 }
|
|
1152
|
+
|
|
1153
|
+
export declare const SecondaryOutline: Story_5;
|
|
1154
|
+
|
|
1155
|
+
declare const Select: ForwardRefExoticComponent<SelectProps & RefAttributes<HTMLSelectElement>>;
|
|
1156
|
+
export { Select }
|
|
1157
|
+
export { Select as Select_alias_1 }
|
|
1158
|
+
export { Select as Select_alias_2 }
|
|
1159
|
+
export { Select as Select_alias_3 }
|
|
1160
|
+
|
|
1161
|
+
declare type SelectProps = Omit<InputGroupProps & SelectHTMLAttributes<HTMLSelectElement>, "readOnly">;
|
|
1162
|
+
export { SelectProps }
|
|
1163
|
+
export { SelectProps as SelectProps_alias_1 }
|
|
1164
|
+
export { SelectProps as SelectProps_alias_2 }
|
|
1165
|
+
export { SelectProps as SelectProps_alias_3 }
|
|
1166
|
+
|
|
1167
|
+
export declare const ShareParcelModal: {
|
|
1168
|
+
render: (args: ModalProps & RefAttributes<HTMLDialogElement>) => JSX_2.Element;
|
|
1169
|
+
};
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* Simple button for triggering more content.
|
|
1173
|
+
*
|
|
1174
|
+
* You have to add the logic for what happens when the button is clicked yourself.
|
|
1175
|
+
*
|
|
1176
|
+
* **Example**
|
|
1177
|
+
*
|
|
1178
|
+
* ```tsx
|
|
1179
|
+
* function Content() {
|
|
1180
|
+
* const [items, fetchMoreItems, moreItemsAvailable] = useYourData();
|
|
1181
|
+
* function onShowMoreItems() {
|
|
1182
|
+
* fetchMoreItems();
|
|
1183
|
+
* }
|
|
1184
|
+
* return (
|
|
1185
|
+
* <>
|
|
1186
|
+
* <ul>
|
|
1187
|
+
* {items.map((item) => (
|
|
1188
|
+
* <li key={item.id}>{item.text}</li>
|
|
1189
|
+
* ))}
|
|
1190
|
+
* </ul>
|
|
1191
|
+
* {moreItemsAvailable ?
|
|
1192
|
+
* <ShowMoreButton className="mt-small-2" onClick={onShowMoreItems} lang="en" /> :
|
|
1193
|
+
* null
|
|
1194
|
+
* }
|
|
1195
|
+
* </>
|
|
1196
|
+
* )
|
|
1197
|
+
* }
|
|
1198
|
+
* ```
|
|
1199
|
+
*/
|
|
1200
|
+
declare function ShowMoreButton({ text, expanded, className, ...rest }: ShowMoreProps): JSX_2.Element;
|
|
1201
|
+
export { ShowMoreButton }
|
|
1202
|
+
export { ShowMoreButton as ShowMoreButton_alias_1 }
|
|
1203
|
+
export { ShowMoreButton as ShowMoreButton_alias_2 }
|
|
1204
|
+
|
|
1205
|
+
declare interface ShowMoreProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
1206
|
+
text: React.ReactNode;
|
|
1207
|
+
expanded?: boolean;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
export declare const ShowMoreShowLess: Story_21;
|
|
1211
|
+
|
|
1212
|
+
export declare const SingleAccordion: Story;
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* 🚧 Work in progress
|
|
1216
|
+
*
|
|
1217
|
+
* **TODO**
|
|
1218
|
+
* - [ ] Tweak animation and colors
|
|
1219
|
+
*
|
|
1220
|
+
* **Description**
|
|
1221
|
+
* Make skeleton loading states as placeholders for your content while waiting for data to load.
|
|
1222
|
+
*
|
|
1223
|
+
* **Note:** Consider if this is really needed. The best experience is to avoid loading states altogether.
|
|
1224
|
+
* If your loading takes under 1 second, it better to not show anything at all.
|
|
1225
|
+
*
|
|
1226
|
+
* - Make your backend faster
|
|
1227
|
+
* - Preload/prefetch data
|
|
1228
|
+
* - Avoid data loading waterfalls
|
|
1229
|
+
* - Use optimistic ui when doing mutations
|
|
1230
|
+
*
|
|
1231
|
+
* **Usage**
|
|
1232
|
+
*
|
|
1233
|
+
* ```tsx
|
|
1234
|
+
* <Skeleton variant="circle" width="2rem" height="2rem" />
|
|
1235
|
+
* <Skeleton variant="text" />
|
|
1236
|
+
* <Skeleton variant="text" width="80%" />
|
|
1237
|
+
* <Skeleton variant="text">Uses content to determine width</Skeleton>
|
|
1238
|
+
* <Skeleton variant="rectangle" width="300px" height="400px" />
|
|
1239
|
+
* ```
|
|
1240
|
+
*
|
|
1241
|
+
* Remember to set `aria-hidden` on the top level in your skeleton component.
|
|
1242
|
+
* The `Skeleton` component does this for it self, but if you are using other components higher up in the tree, it might cause problems with screen readers
|
|
1243
|
+
*
|
|
1244
|
+
* **References**
|
|
1245
|
+
* - https://aksel.nav.no/komponenter/core/skeleton
|
|
1246
|
+
* - https://chakra-ui.com/docs/components/skeleton
|
|
1247
|
+
* - https://mui.com/material-ui/react-skeleton/
|
|
1248
|
+
*/
|
|
1249
|
+
declare const Skeleton: OverridableComponent<SkeletonProps, HTMLDivElement>;
|
|
1250
|
+
export { Skeleton }
|
|
1251
|
+
export { Skeleton as Skeleton_alias_1 }
|
|
1252
|
+
export { Skeleton as Skeleton_alias_2 }
|
|
1253
|
+
|
|
1254
|
+
declare type SkeletonProps = SkeletonPropsInner & DimensionsFromWidthAndHeight;
|
|
1255
|
+
export { SkeletonProps }
|
|
1256
|
+
export { SkeletonProps as SkeletonProps_alias_1 }
|
|
1257
|
+
export { SkeletonProps as SkeletonProps_alias_2 }
|
|
1258
|
+
|
|
1259
|
+
declare interface SkeletonPropsInner extends React_2.AnchorHTMLAttributes<HTMLDivElement> {
|
|
1260
|
+
/**
|
|
1261
|
+
* The visual style of the Skeleton
|
|
1262
|
+
*/
|
|
1263
|
+
variant?: "text" | "circle" | "rectangle" | "rounded";
|
|
1264
|
+
children?: React_2.ReactNode;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
export declare const Slim: Story_13;
|
|
1268
|
+
|
|
1269
|
+
export declare const Small: Story_24;
|
|
1270
|
+
|
|
1271
|
+
export declare const Solid: Story_14;
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* Indicate a step in a process.
|
|
1275
|
+
*
|
|
1276
|
+
* It does not handle step content or navigation, only the visual indication of the active step.
|
|
1277
|
+
*/
|
|
1278
|
+
declare function StepIndicator({ activeStep, totalSteps, className, leftLabel, rightLabel, rightLabelLang, title, titleAs: TitleComponent, ...rest }: StepIndicatorProps & TitleProps): JSX_2.Element;
|
|
1279
|
+
export { StepIndicator }
|
|
1280
|
+
export { StepIndicator as StepIndicator_alias_1 }
|
|
1281
|
+
export { StepIndicator as StepIndicator_alias_2 }
|
|
1282
|
+
|
|
1283
|
+
declare interface StepIndicatorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1284
|
+
activeStep: number;
|
|
1285
|
+
/**
|
|
1286
|
+
* 1-indexed number of steps
|
|
1287
|
+
*/
|
|
1288
|
+
totalSteps: number;
|
|
1289
|
+
/**
|
|
1290
|
+
* Label on the left side above the steps
|
|
1291
|
+
*/
|
|
1292
|
+
leftLabel: React.ReactNode;
|
|
1293
|
+
/**
|
|
1294
|
+
* Override the label on the right side above the steps
|
|
1295
|
+
* Default is "step x of y". use {@link rightLabelLang} to change language
|
|
1296
|
+
*/
|
|
1297
|
+
rightLabel?: React.ReactNode;
|
|
1298
|
+
/**
|
|
1299
|
+
* Language for the "step x of y" label, default is "en"
|
|
1300
|
+
*/
|
|
1301
|
+
rightLabelLang?: "no" | "en" | "da" | "sv";
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
declare type Story = StoryObj<typeof AccordionComponent>;
|
|
1305
|
+
|
|
1306
|
+
declare type Story_10 = StoryObj<typeof Radiobutton>;
|
|
1307
|
+
|
|
1308
|
+
declare type Story_11 = StoryObj<typeof Select>;
|
|
1309
|
+
|
|
1310
|
+
declare type Story_12 = StoryObj<typeof Textarea>;
|
|
1311
|
+
|
|
1312
|
+
declare type Story_13 = StoryObj<typeof Container>;
|
|
1313
|
+
|
|
1314
|
+
declare type Story_14 = StoryObj<typeof Link>;
|
|
1315
|
+
|
|
1316
|
+
declare type Story_15 = StoryObj<typeof DescriptionList>;
|
|
1317
|
+
|
|
1318
|
+
declare type Story_16 = StoryObj<typeof LinkList>;
|
|
1319
|
+
|
|
1320
|
+
declare type Story_17 = StoryObj<typeof UnorderedList>;
|
|
1321
|
+
|
|
1322
|
+
declare type Story_18 = StoryObj<typeof MessageComponent>;
|
|
1323
|
+
|
|
1324
|
+
declare type Story_19 = StoryObj<typeof ModalComponent>;
|
|
1325
|
+
|
|
1326
|
+
declare type Story_2 = StoryObj<typeof Badge>;
|
|
1327
|
+
|
|
1328
|
+
declare type Story_20 = StoryObj<typeof Navbar>;
|
|
1329
|
+
|
|
1330
|
+
declare type Story_21 = StoryObj<typeof ShowMoreButton>;
|
|
1331
|
+
|
|
1332
|
+
declare type Story_22 = StoryObj<typeof Skeleton>;
|
|
1333
|
+
|
|
1334
|
+
declare type Story_23 = StoryObj<typeof StepIndicator>;
|
|
1335
|
+
|
|
1336
|
+
declare type Story_24 = StoryObj<typeof StyledHtml>;
|
|
1337
|
+
|
|
1338
|
+
declare type Story_25 = StoryObj<typeof TabsComponent>;
|
|
1339
|
+
|
|
1340
|
+
declare type Story_26 = StoryObj<typeof Typography>;
|
|
1341
|
+
|
|
1342
|
+
declare type Story_27 = StoryObj<typeof WarningBanner>;
|
|
1343
|
+
|
|
1344
|
+
declare type Story_3 = StoryObj<typeof BoxComponent>;
|
|
1345
|
+
|
|
1346
|
+
declare type Story_4 = StoryObj<typeof Breadcrumbs>;
|
|
1347
|
+
|
|
1348
|
+
declare type Story_5 = StoryObj<typeof PrimaryButton>;
|
|
1349
|
+
|
|
1350
|
+
declare type Story_6 = StoryObj<typeof CardComponent>;
|
|
1351
|
+
|
|
1352
|
+
declare type Story_7 = StoryObj<typeof Checkbox>;
|
|
1353
|
+
|
|
1354
|
+
declare type Story_8 = StoryObj<typeof Fieldset>;
|
|
1355
|
+
|
|
1356
|
+
declare type Story_9 = StoryObj<typeof Input>;
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* A component for displaying dynamic content that you want to apply hedwig styling to.
|
|
1360
|
+
* the styling depends on the semantic html elements you use inside the component.
|
|
1361
|
+
*
|
|
1362
|
+
* Useful when you have dynamic content that you want styled with hedwig, like content from a CMS.
|
|
1363
|
+
*
|
|
1364
|
+
* Previously known as `hw-wysiwyg` in hedwig legacy. In tailwind this kind of component it is known as `prose`.
|
|
1365
|
+
*
|
|
1366
|
+
* ```tsx
|
|
1367
|
+
* <StyledHtml>
|
|
1368
|
+
* <h1>Heading 1</h1>
|
|
1369
|
+
* <h2>Heading 2</h2>
|
|
1370
|
+
* <a href="https://www.postenbring.no">Postenbring</a>
|
|
1371
|
+
* <ul>
|
|
1372
|
+
* <li>Hei</li>
|
|
1373
|
+
* <li>Hallo</li>
|
|
1374
|
+
* <li>Hello</li>
|
|
1375
|
+
* </ul>
|
|
1376
|
+
* </StyledHtml>
|
|
1377
|
+
* ```
|
|
1378
|
+
*/
|
|
1379
|
+
declare const StyledHtml: OverridableComponent<StyledHtmlProps, HTMLDivElement>;
|
|
1380
|
+
export { StyledHtml }
|
|
1381
|
+
export { StyledHtml as StyledHtml_alias_1 }
|
|
1382
|
+
export { StyledHtml as StyledHtml_alias_2 }
|
|
1383
|
+
|
|
1384
|
+
declare interface StyledHtmlProps {
|
|
1385
|
+
children?: React_3.ReactNode;
|
|
1386
|
+
size?: "default" | "small";
|
|
1387
|
+
darkmode?: boolean;
|
|
1388
|
+
}
|
|
1389
|
+
export { StyledHtmlProps }
|
|
1390
|
+
export { StyledHtmlProps as StyledHtmlProps_alias_1 }
|
|
1391
|
+
export { StyledHtmlProps as StyledHtmlProps_alias_2 }
|
|
1392
|
+
|
|
1393
|
+
export declare const Success: Story_18;
|
|
1394
|
+
|
|
1395
|
+
declare const Tab: OverridableComponent<TabProps, HTMLButtonElement>;
|
|
1396
|
+
export { Tab }
|
|
1397
|
+
export { Tab as Tab_alias_1 }
|
|
1398
|
+
export { Tab as Tab_alias_2 }
|
|
1399
|
+
|
|
1400
|
+
declare interface TabContentsProps extends HTMLAttributes<HTMLDivElement> {
|
|
1401
|
+
children: ReactElement<TabsContentProps> | ReactElement<TabsContentProps>[];
|
|
1402
|
+
}
|
|
1403
|
+
export { TabContentsProps }
|
|
1404
|
+
export { TabContentsProps as TabContentsProps_alias_1 }
|
|
1405
|
+
export { TabContentsProps as TabContentsProps_alias_2 }
|
|
1406
|
+
|
|
1407
|
+
declare interface TabListProps extends HTMLAttributes<HTMLDivElement> {
|
|
1408
|
+
children: ReactElement<TabProps> | ReactElement<TabProps>[];
|
|
1409
|
+
/**
|
|
1410
|
+
* Direction of the tabs. Can either be vertical or horizontal.
|
|
1411
|
+
* Horizontal breaks on window width with fallback back to vertical
|
|
1412
|
+
*/
|
|
1413
|
+
direction?: "vertical" | "horizontal";
|
|
1414
|
+
}
|
|
1415
|
+
export { TabListProps }
|
|
1416
|
+
export { TabListProps as TabListProps_alias_1 }
|
|
1417
|
+
export { TabListProps as TabListProps_alias_2 }
|
|
1418
|
+
|
|
1419
|
+
declare interface TabProps extends HTMLAttributes<HTMLButtonElement> {
|
|
1420
|
+
children: ReactElement<HTMLElement> | string;
|
|
1421
|
+
/**
|
|
1422
|
+
* Identifier for the tab
|
|
1423
|
+
*/
|
|
1424
|
+
tabId: string;
|
|
1425
|
+
}
|
|
1426
|
+
export { TabProps }
|
|
1427
|
+
export { TabProps as TabProps_alias_1 }
|
|
1428
|
+
export { TabProps as TabProps_alias_2 }
|
|
1429
|
+
|
|
1430
|
+
export declare const Tabs_alias_2: OverridableComponent<TabsProps, HTMLDivElement>;
|
|
1431
|
+
|
|
1432
|
+
declare const TabsComponent: {
|
|
1433
|
+
(props: TabsProps & RefAttributes<HTMLDivElement>): ReactNode;
|
|
1434
|
+
<As extends ElementType>(props: {
|
|
1435
|
+
as?: As | undefined;
|
|
1436
|
+
} & TabsProps & Omit<ComponentPropsWithRef<As>, keyof TabsProps>): ReactNode;
|
|
1437
|
+
} & Pick<FC, "displayName"> & {
|
|
1438
|
+
List: typeof TabsList;
|
|
1439
|
+
Tab: typeof Tab;
|
|
1440
|
+
Contents: typeof TabsContents;
|
|
1441
|
+
Content: typeof TabsContent;
|
|
1442
|
+
};
|
|
1443
|
+
export { TabsComponent as Tabs }
|
|
1444
|
+
export { TabsComponent as Tabs_alias_1 }
|
|
1445
|
+
|
|
1446
|
+
declare const TabsContent: OverridableComponent<TabsContentProps, HTMLElement>;
|
|
1447
|
+
export { TabsContent }
|
|
1448
|
+
export { TabsContent as TabsContent_alias_1 }
|
|
1449
|
+
export { TabsContent as TabsContent_alias_2 }
|
|
1450
|
+
|
|
1451
|
+
declare interface TabsContentProps extends HTMLAttributes<HTMLElement> {
|
|
1452
|
+
children: ReactElement<HTMLElement> | ReactElement<HTMLElement>[] | string;
|
|
1453
|
+
/**
|
|
1454
|
+
* Content for the referenced tabId
|
|
1455
|
+
*/
|
|
1456
|
+
forTabId: string;
|
|
1457
|
+
}
|
|
1458
|
+
export { TabsContentProps }
|
|
1459
|
+
export { TabsContentProps as TabsContentProps_alias_1 }
|
|
1460
|
+
export { TabsContentProps as TabsContentProps_alias_2 }
|
|
1461
|
+
|
|
1462
|
+
declare function TabsContents({ children, ...rest }: TabContentsProps): JSX_2.Element;
|
|
1463
|
+
|
|
1464
|
+
declare namespace TabsContents {
|
|
1465
|
+
var displayName: string;
|
|
1466
|
+
}
|
|
1467
|
+
export { TabsContents }
|
|
1468
|
+
export { TabsContents as TabsContents_alias_1 }
|
|
1469
|
+
export { TabsContents as TabsContents_alias_2 }
|
|
1470
|
+
|
|
1471
|
+
export declare const TabsContext: Context<TabsContextProps>;
|
|
1472
|
+
|
|
1473
|
+
export declare interface TabsContextProps {
|
|
1474
|
+
mounted: boolean;
|
|
1475
|
+
activeTabId?: string;
|
|
1476
|
+
toggleActiveTabId: (tabId: string) => void;
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
declare function TabsList({ children, direction, className, ...rest }: TabListProps): JSX_2.Element;
|
|
1480
|
+
|
|
1481
|
+
declare namespace TabsList {
|
|
1482
|
+
var displayName: string;
|
|
1483
|
+
}
|
|
1484
|
+
export { TabsList }
|
|
1485
|
+
export { TabsList as TabsList_alias_1 }
|
|
1486
|
+
export { TabsList as TabsList_alias_2 }
|
|
1487
|
+
|
|
1488
|
+
declare interface TabsProps extends HTMLAttributes<HTMLElement> {
|
|
1489
|
+
children: ReactElement<TabListProps | TabContentsProps>[] | ReactElement;
|
|
1490
|
+
/**
|
|
1491
|
+
* Define which tab to use as default. Must be one of the <Tab/>s identifier.
|
|
1492
|
+
*/
|
|
1493
|
+
defaultTab: string;
|
|
1494
|
+
}
|
|
1495
|
+
export { TabsProps }
|
|
1496
|
+
export { TabsProps as TabsProps_alias_1 }
|
|
1497
|
+
export { TabsProps as TabsProps_alias_2 }
|
|
1498
|
+
|
|
1499
|
+
export declare const Technical: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1500
|
+
|
|
1501
|
+
export declare const TechnicalTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* Alternative: Named `Text`
|
|
1505
|
+
*
|
|
1506
|
+
* ## Alias to @see Typography
|
|
1507
|
+
*
|
|
1508
|
+
* Only one component will remain
|
|
1509
|
+
*/
|
|
1510
|
+
declare const Text_2: OverridableComponent<TypographyProps, HTMLDivElement>;
|
|
1511
|
+
export { Text_2 as Text }
|
|
1512
|
+
|
|
1513
|
+
declare const Textarea: ForwardRefExoticComponent<TextareaProps & RefAttributes<HTMLTextAreaElement>>;
|
|
1514
|
+
export { Textarea }
|
|
1515
|
+
export { Textarea as Textarea_alias_1 }
|
|
1516
|
+
export { Textarea as Textarea_alias_2 }
|
|
1517
|
+
export { Textarea as Textarea_alias_3 }
|
|
1518
|
+
|
|
1519
|
+
declare type TextareaProps = Omit<InputGroupProps & TextareaHTMLAttributes<HTMLTextAreaElement>, "children">;
|
|
1520
|
+
export { TextareaProps }
|
|
1521
|
+
export { TextareaProps as TextareaProps_alias_1 }
|
|
1522
|
+
export { TextareaProps as TextareaProps_alias_2 }
|
|
1523
|
+
export { TextareaProps as TextareaProps_alias_3 }
|
|
1524
|
+
|
|
1525
|
+
export declare const TextBody: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1526
|
+
|
|
1527
|
+
export declare const TextBodySmall: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1528
|
+
|
|
1529
|
+
export declare const TextBodySmallTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1530
|
+
|
|
1531
|
+
export declare const TextBodyTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1532
|
+
|
|
1533
|
+
export declare const TextCaption: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1534
|
+
|
|
1535
|
+
export declare const TextCaptionTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1536
|
+
|
|
1537
|
+
export declare const TextH1: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* Alternative: Named as the different typography levels with Text prefix
|
|
1541
|
+
*
|
|
1542
|
+
* ## Alias to @see Typography
|
|
1543
|
+
*/
|
|
1544
|
+
export declare const TextH1Display: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1545
|
+
|
|
1546
|
+
export declare const TextH2: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1547
|
+
|
|
1548
|
+
export declare const TextH3: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1549
|
+
|
|
1550
|
+
export declare const TextH3Title: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1551
|
+
|
|
1552
|
+
export declare const TextTechnical: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1553
|
+
|
|
1554
|
+
export declare const TextTechnicalTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1555
|
+
|
|
1556
|
+
export declare const TitleOnly: Story_18;
|
|
1557
|
+
|
|
1558
|
+
export declare const TitleOnly_alias_1: Story_27;
|
|
1559
|
+
|
|
1560
|
+
declare type TitleProps = {
|
|
1561
|
+
/**
|
|
1562
|
+
* Optional title of the active step to be shown underneath the step indicator
|
|
1563
|
+
*
|
|
1564
|
+
* Use `titleAs` to set the correct heading level
|
|
1565
|
+
*/
|
|
1566
|
+
title: React.ReactNode;
|
|
1567
|
+
titleAs: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
1568
|
+
} | {
|
|
1569
|
+
title?: undefined;
|
|
1570
|
+
titleAs?: undefined;
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1573
|
+
export declare const TitleUnderneath: Story_23;
|
|
1574
|
+
|
|
1575
|
+
export declare const TrackingNumberSearch: Story_9;
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* You should have at minimum two levels in your hierarchy to use breadcrumbs.
|
|
1579
|
+
*/
|
|
1580
|
+
export declare const TwoElements: Story_4;
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* ## 🚨 WORK IN PROGRESS 🚨
|
|
1584
|
+
*/
|
|
1585
|
+
declare const Typography: OverridableComponent<TypographyProps, HTMLDivElement>;
|
|
1586
|
+
export { Typography }
|
|
1587
|
+
export { Typography as Typography_alias_1 }
|
|
1588
|
+
|
|
1589
|
+
export declare const TypographyBody: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1590
|
+
|
|
1591
|
+
export declare const TypographyBodySmall: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1592
|
+
|
|
1593
|
+
export declare const TypographyBodySmallTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1594
|
+
|
|
1595
|
+
export declare const TypographyBodyTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1596
|
+
|
|
1597
|
+
export declare const TypographyCaption: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1598
|
+
|
|
1599
|
+
export declare const TypographyCaptionTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1600
|
+
|
|
1601
|
+
export declare const TypographyH1: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* Alternative: Named as the different typography levels with Typography prefix
|
|
1605
|
+
*
|
|
1606
|
+
* ## Alias to @see Typography
|
|
1607
|
+
*/
|
|
1608
|
+
export declare const TypographyH1Display: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1609
|
+
|
|
1610
|
+
export declare const TypographyH2: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1611
|
+
|
|
1612
|
+
export declare const TypographyH3: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1613
|
+
|
|
1614
|
+
export declare const TypographyH3Title: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1615
|
+
|
|
1616
|
+
declare interface TypographyProps {
|
|
1617
|
+
children: React_3.ReactNode;
|
|
1618
|
+
variant?: "h1-display" | "h1" | "h2" | "h3" | "h3-title" | "body" | "body-title" | "body-small" | "body-small-title" | "technical" | "technical-title" | "caption" | "caption-title";
|
|
1619
|
+
size?: "min" | "max" | "fluid";
|
|
1620
|
+
/**
|
|
1621
|
+
* 🚧 Experimental spacing
|
|
1622
|
+
*/
|
|
1623
|
+
_unstableSpacing?: boolean;
|
|
1624
|
+
}
|
|
1625
|
+
export { TypographyProps }
|
|
1626
|
+
export { TypographyProps as TypographyProps_alias_1 }
|
|
1627
|
+
|
|
1628
|
+
export declare const TypographyTechnical: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1629
|
+
|
|
1630
|
+
export declare const TypographyTechnicalTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
|
|
1631
|
+
|
|
1632
|
+
export declare const Underline: Story_14;
|
|
1633
|
+
|
|
1634
|
+
declare function UnorderedList(props: ListProps): JSX_2.Element;
|
|
1635
|
+
|
|
1636
|
+
declare namespace UnorderedList {
|
|
1637
|
+
var displayName: string;
|
|
1638
|
+
}
|
|
1639
|
+
export { UnorderedList }
|
|
1640
|
+
export { UnorderedList as UnorderedList_alias_1 }
|
|
1641
|
+
export { UnorderedList as UnorderedList_alias_2 }
|
|
1642
|
+
|
|
1643
|
+
export declare const UnorderedListStory: Story_17;
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* Merges an array of refs into a single memoized callback ref or `null`.
|
|
1647
|
+
* @see https://floating-ui.com/docs/useMergeRefs
|
|
1648
|
+
*/
|
|
1649
|
+
export declare function useMergeRefs<Instance>(refs: (React_2.Ref<Instance> | undefined)[]): React_2.RefCallback<Instance> | null;
|
|
1650
|
+
|
|
1651
|
+
export declare function useResize<Instance extends HTMLElement>(ref: React_2.RefObject<Instance> | undefined | null): {
|
|
1652
|
+
width: number;
|
|
1653
|
+
height: number;
|
|
1654
|
+
};
|
|
1655
|
+
|
|
1656
|
+
declare function useScrollLock(modalRef: React.RefObject<HTMLDialogElement>, bodyClass: string): void;
|
|
1657
|
+
export { useScrollLock }
|
|
1658
|
+
export { useScrollLock as useScrollLock_alias_1 }
|
|
1659
|
+
export { useScrollLock as useScrollLock_alias_2 }
|
|
1660
|
+
|
|
1661
|
+
export declare const Vertical: Story_15;
|
|
1662
|
+
|
|
1663
|
+
export declare const Vertical_alias_1: Story_25;
|
|
1664
|
+
|
|
1665
|
+
export declare const Warning: Story_2;
|
|
1666
|
+
|
|
1667
|
+
export declare const Warning_alias_1: Story_18;
|
|
1668
|
+
|
|
1669
|
+
declare function WarningBadge(props: BadgeProps): JSX_2.Element;
|
|
1670
|
+
|
|
1671
|
+
declare namespace WarningBadge {
|
|
1672
|
+
var displayName: string;
|
|
1673
|
+
}
|
|
1674
|
+
export { WarningBadge }
|
|
1675
|
+
export { WarningBadge as WarningBadge_alias_1 }
|
|
1676
|
+
export { WarningBadge as WarningBadge_alias_2 }
|
|
1677
|
+
|
|
1678
|
+
declare const WarningBanner: OverridableComponent<WarningBannerProps, HTMLDivElement>;
|
|
1679
|
+
export { WarningBanner }
|
|
1680
|
+
export { WarningBanner as WarningBanner_alias_1 }
|
|
1681
|
+
export { WarningBanner as WarningBanner_alias_2 }
|
|
1682
|
+
|
|
1683
|
+
declare interface WarningBannerProps {
|
|
1684
|
+
title: ReactNode;
|
|
1685
|
+
description?: ReactNode;
|
|
1686
|
+
}
|
|
1687
|
+
export { WarningBannerProps }
|
|
1688
|
+
export { WarningBannerProps as WarningBannerProps_alias_1 }
|
|
1689
|
+
export { WarningBannerProps as WarningBannerProps_alias_2 }
|
|
1690
|
+
|
|
1691
|
+
export declare const WarningBox: Story_3;
|
|
1692
|
+
|
|
1693
|
+
export declare const White: Story_2;
|
|
1694
|
+
|
|
1695
|
+
export declare const White_alias_1: Story_11;
|
|
1696
|
+
|
|
1697
|
+
declare function WhiteBadge(props: BadgeProps): JSX_2.Element;
|
|
1698
|
+
|
|
1699
|
+
declare namespace WhiteBadge {
|
|
1700
|
+
var displayName: string;
|
|
1701
|
+
}
|
|
1702
|
+
export { WhiteBadge }
|
|
1703
|
+
export { WhiteBadge as WhiteBadge_alias_1 }
|
|
1704
|
+
export { WhiteBadge as WhiteBadge_alias_2 }
|
|
1705
|
+
|
|
1706
|
+
export declare const WhiteBox: Story_3;
|
|
1707
|
+
|
|
1708
|
+
export declare const WhiteDisabled: Story_11;
|
|
1709
|
+
|
|
1710
|
+
export declare const WhiteDisabledInput: Story_9;
|
|
1711
|
+
|
|
1712
|
+
export declare const WhiteDisabledInputWithError: Story_9;
|
|
1713
|
+
|
|
1714
|
+
export declare const WhiteDisabledTextarea: Story_12;
|
|
1715
|
+
|
|
1716
|
+
export declare const WhiteDisabledTextareaWithError: Story_12;
|
|
1717
|
+
|
|
1718
|
+
export declare const WhiteInput: Story_9;
|
|
1719
|
+
|
|
1720
|
+
export declare const WhiteInputWithError: Story_9;
|
|
1721
|
+
|
|
1722
|
+
export declare const WhiteReadonlyInput: Story_9;
|
|
1723
|
+
|
|
1724
|
+
export declare const WhiteReadonlyInputWithError: Story_9;
|
|
1725
|
+
|
|
1726
|
+
export declare const WhiteReadonlyTextarea: Story_12;
|
|
1727
|
+
|
|
1728
|
+
export declare const WhiteReadonlyTextareaWithError: Story_12;
|
|
1729
|
+
|
|
1730
|
+
export declare const WhiteTextarea: Story_12;
|
|
1731
|
+
|
|
1732
|
+
export declare const WhiteTextareaWithError: Story_12;
|
|
1733
|
+
|
|
1734
|
+
export declare const WhiteWithError: Story_11;
|
|
1735
|
+
|
|
1736
|
+
export declare const WithBadgeInLabel: Story_23;
|
|
1737
|
+
|
|
1738
|
+
export declare const WrappedInDivs: Story_15;
|
|
1739
|
+
|
|
1740
|
+
export { }
|