@postenbring/hedwig-react 0.0.52 → 0.0.54
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/LICENSE +19 -0
- package/dist/_tsup-dts-rollup.d.mts +482 -232
- package/dist/_tsup-dts-rollup.d.ts +482 -232
- package/dist/accordion/accordion-content.d.mts +2 -2
- package/dist/accordion/accordion-content.d.ts +2 -2
- package/dist/accordion/accordion-content.mjs +2 -2
- package/dist/accordion/accordion-header.d.mts +2 -2
- package/dist/accordion/accordion-header.d.ts +2 -2
- package/dist/accordion/accordion-header.js +2 -5
- package/dist/accordion/accordion-header.js.map +1 -1
- package/dist/accordion/accordion-header.mjs +2 -2
- package/dist/accordion/accordion-item.d.mts +3 -3
- package/dist/accordion/accordion-item.d.ts +3 -3
- package/dist/accordion/accordion-item.mjs +2 -2
- package/dist/accordion/accordion.d.mts +2 -2
- package/dist/accordion/accordion.d.ts +2 -2
- package/dist/accordion/context.d.mts +2 -0
- package/dist/accordion/context.d.ts +2 -0
- package/dist/accordion/context.js +32 -0
- package/dist/accordion/context.js.map +1 -0
- package/dist/accordion/context.mjs +8 -0
- package/dist/accordion/index.d.mts +9 -9
- package/dist/accordion/index.d.ts +9 -9
- package/dist/accordion/index.js +2 -9
- package/dist/accordion/index.js.map +1 -1
- package/dist/accordion/index.mjs +5 -5
- package/dist/badge/badge.d.mts +5 -5
- package/dist/badge/badge.d.ts +5 -5
- package/dist/badge/index.d.mts +5 -5
- package/dist/badge/index.d.ts +5 -5
- package/dist/badge/index.js +0 -4
- package/dist/badge/index.js.map +1 -1
- package/dist/badge/index.mjs +1 -1
- package/dist/box/box.d.mts +4 -4
- package/dist/box/box.d.ts +4 -4
- package/dist/box/index.d.mts +4 -4
- package/dist/box/index.d.ts +4 -4
- package/dist/box/index.js +0 -4
- package/dist/box/index.js.map +1 -1
- package/dist/box/index.mjs +1 -1
- package/dist/breadcrumb/breadcrumb.d.mts +2 -2
- package/dist/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/breadcrumb/breadcrumb.mjs +1 -1
- package/dist/breadcrumb/index.d.mts +2 -2
- package/dist/breadcrumb/index.d.ts +2 -2
- package/dist/breadcrumb/index.js +0 -4
- package/dist/breadcrumb/index.js.map +1 -1
- package/dist/breadcrumb/index.mjs +2 -2
- package/dist/button/button.d.mts +4 -4
- package/dist/button/button.d.ts +4 -4
- package/dist/button/index.d.mts +4 -4
- package/dist/button/index.d.ts +4 -4
- package/dist/button/index.js +0 -4
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs +1 -1
- package/dist/card/card.d.mts +12 -12
- package/dist/card/card.d.ts +12 -12
- package/dist/card/index.d.mts +12 -12
- package/dist/card/index.d.ts +12 -12
- package/dist/card/index.js +0 -4
- package/dist/card/index.js.map +1 -1
- package/dist/card/index.mjs +1 -1
- package/dist/{chunk-RT2VPRZN.mjs → chunk-22GG466D.mjs} +1 -5
- package/dist/chunk-22GG466D.mjs.map +1 -0
- package/dist/{chunk-X2YMLUE4.mjs → chunk-2XSEQBJ5.mjs} +7 -3
- package/dist/chunk-2XSEQBJ5.mjs.map +1 -0
- package/dist/{chunk-642AR63O.mjs → chunk-33JD5XDW.mjs} +1 -1
- package/dist/{chunk-SLOG3T7V.mjs → chunk-3ADVRQ3D.mjs} +1 -1
- package/dist/chunk-3ADVRQ3D.mjs.map +1 -0
- package/dist/chunk-3D2MWIEX.mjs +1 -0
- package/dist/chunk-3D2MWIEX.mjs.map +1 -0
- package/dist/{chunk-HHZ4Q5WR.mjs → chunk-52ULSP6E.mjs} +2 -2
- package/dist/chunk-52XZAPT6.mjs +23 -0
- package/dist/chunk-52XZAPT6.mjs.map +1 -0
- package/dist/{chunk-PQ6WEGLM.mjs → chunk-5T3VUFL4.mjs} +4 -4
- package/dist/{chunk-74JOQ6RA.mjs → chunk-5WUSLDKN.mjs} +2 -2
- package/dist/chunk-7LPYJC6S.mjs +1 -0
- package/dist/chunk-7LPYJC6S.mjs.map +1 -0
- package/dist/chunk-AGZHQDCQ.mjs +1 -0
- package/dist/chunk-AGZHQDCQ.mjs.map +1 -0
- package/dist/chunk-BYEJZSG5.mjs +1 -0
- package/dist/chunk-BYEJZSG5.mjs.map +1 -0
- package/dist/{chunk-EQIGUHKL.mjs → chunk-C3HIZBXH.mjs} +2 -2
- package/dist/{chunk-HNBNPFJN.mjs → chunk-D2YCZMUP.mjs} +8 -6
- package/dist/chunk-D2YCZMUP.mjs.map +1 -0
- package/dist/{chunk-DN5KNI4C.mjs → chunk-DVFL3S5W.mjs} +2 -2
- package/dist/chunk-E2LKLNGA.mjs +1 -0
- package/dist/chunk-E2LKLNGA.mjs.map +1 -0
- package/dist/{chunk-JKC4NAFI.mjs → chunk-EJJIKLGC.mjs} +1 -1
- package/dist/chunk-EJJIKLGC.mjs.map +1 -0
- package/dist/{chunk-FIXRYHV7.mjs → chunk-ELCSEPSM.mjs} +8 -6
- package/dist/chunk-ELCSEPSM.mjs.map +1 -0
- package/dist/{chunk-PRQWCNN3.mjs → chunk-FL4LCX4F.mjs} +4 -8
- package/dist/chunk-FL4LCX4F.mjs.map +1 -0
- package/dist/{chunk-IZ5YU4K5.mjs → chunk-GPV2IEZD.mjs} +5 -8
- package/dist/chunk-GPV2IEZD.mjs.map +1 -0
- package/dist/chunk-HT2EIJAD.mjs +1 -0
- package/dist/chunk-HT2EIJAD.mjs.map +1 -0
- package/dist/chunk-JKCVB5TR.mjs +1 -0
- package/dist/chunk-JKCVB5TR.mjs.map +1 -0
- package/dist/chunk-JTZPQHKD.mjs +1 -0
- package/dist/chunk-JTZPQHKD.mjs.map +1 -0
- package/dist/chunk-K6PP3ACJ.mjs +1 -0
- package/dist/chunk-K6PP3ACJ.mjs.map +1 -0
- package/dist/chunk-KOAR6LZG.mjs +1 -0
- package/dist/chunk-KOAR6LZG.mjs.map +1 -0
- package/dist/chunk-LMF3QGSF.mjs +1 -0
- package/dist/chunk-LMF3QGSF.mjs.map +1 -0
- package/dist/chunk-MJ4LA23N.mjs +17 -0
- package/dist/chunk-MJ4LA23N.mjs.map +1 -0
- package/dist/chunk-MQ3EEUTP.mjs +1 -0
- package/dist/chunk-MQ3EEUTP.mjs.map +1 -0
- package/dist/chunk-MSFHJVHD.mjs +1 -0
- package/dist/chunk-MSFHJVHD.mjs.map +1 -0
- package/dist/chunk-NCYRNCGJ.mjs +107 -0
- package/dist/chunk-NCYRNCGJ.mjs.map +1 -0
- package/dist/chunk-NSLSA7F7.mjs +1 -0
- package/dist/chunk-NSLSA7F7.mjs.map +1 -0
- package/dist/{chunk-OCIM3ZEV.mjs → chunk-NTCLPQG3.mjs} +1 -1
- package/dist/chunk-NTCLPQG3.mjs.map +1 -0
- package/dist/chunk-OIQUYB26.mjs +1 -0
- package/dist/chunk-OIQUYB26.mjs.map +1 -0
- package/dist/{chunk-T6YKS5OS.mjs → chunk-PAVPAIBQ.mjs} +8 -10
- package/dist/chunk-PAVPAIBQ.mjs.map +1 -0
- package/dist/chunk-QOBS2TS5.mjs +15 -0
- package/dist/chunk-QOBS2TS5.mjs.map +1 -0
- package/dist/chunk-T24JZIQO.mjs +1 -0
- package/dist/chunk-T24JZIQO.mjs.map +1 -0
- package/dist/chunk-T3EC54VN.mjs +26 -0
- package/dist/chunk-T3EC54VN.mjs.map +1 -0
- package/dist/chunk-TJH5QJMS.mjs +1 -0
- package/dist/chunk-TJH5QJMS.mjs.map +1 -0
- package/dist/{chunk-VMS2DOQD.mjs → chunk-V3PAFMK5.mjs} +1 -1
- package/dist/{chunk-KJKJXZBT.mjs → chunk-VUD7AVYO.mjs} +2 -2
- package/dist/{chunk-FMMNEKSR.mjs → chunk-WCA2WPFS.mjs} +1 -1
- package/dist/{chunk-4WJBW37S.mjs → chunk-WXU2FTGO.mjs} +5 -5
- package/dist/chunk-XLLYMQLW.mjs +1 -0
- package/dist/chunk-XLLYMQLW.mjs.map +1 -0
- package/dist/{chunk-GS3KAIE7.mjs → chunk-XU3GLCG4.mjs} +3 -9
- package/dist/chunk-XU3GLCG4.mjs.map +1 -0
- package/dist/chunk-Y5SUMFYJ.mjs +1 -0
- package/dist/chunk-Y5SUMFYJ.mjs.map +1 -0
- package/dist/{chunk-KTT3R42Z.mjs → chunk-YJBADJDW.mjs} +2 -18
- package/dist/chunk-YJBADJDW.mjs.map +1 -0
- package/dist/chunk-YJOOSTJC.mjs +1 -0
- package/dist/chunk-YJOOSTJC.mjs.map +1 -0
- package/dist/chunk-ZOCMUEOX.mjs +1 -0
- package/dist/chunk-ZOCMUEOX.mjs.map +1 -0
- package/dist/chunk-ZOW7HKNV.mjs +13 -0
- package/dist/chunk-ZOW7HKNV.mjs.map +1 -0
- package/dist/form/checkbox/checkbox.d.mts +2 -2
- package/dist/form/checkbox/checkbox.d.ts +2 -2
- package/dist/form/checkbox/checkbox.js +7 -5
- package/dist/form/checkbox/checkbox.js.map +1 -1
- package/dist/form/checkbox/checkbox.mjs +1 -1
- package/dist/form/checkbox/index.d.mts +2 -2
- package/dist/form/checkbox/index.d.ts +2 -2
- package/dist/form/checkbox/index.js +7 -9
- package/dist/form/checkbox/index.js.map +1 -1
- package/dist/form/checkbox/index.mjs +2 -2
- package/dist/form/error-message/error-message.d.mts +2 -2
- package/dist/form/error-message/error-message.d.ts +2 -2
- package/dist/form/error-message/index.d.mts +2 -2
- package/dist/form/error-message/index.d.ts +2 -2
- package/dist/form/error-message/index.js +0 -4
- package/dist/form/error-message/index.js.map +1 -1
- package/dist/form/error-message/index.mjs +1 -1
- package/dist/form/fieldset/fieldset.d.mts +2 -2
- package/dist/form/fieldset/fieldset.d.ts +2 -2
- package/dist/form/fieldset/fieldset.js +0 -6
- package/dist/form/fieldset/fieldset.js.map +1 -1
- package/dist/form/fieldset/fieldset.mjs +1 -1
- package/dist/form/fieldset/index.d.mts +2 -2
- package/dist/form/fieldset/index.d.ts +2 -2
- package/dist/form/fieldset/index.js +0 -10
- package/dist/form/fieldset/index.js.map +1 -1
- package/dist/form/fieldset/index.mjs +2 -2
- package/dist/form/index.d.mts +14 -12
- package/dist/form/index.d.ts +14 -12
- package/dist/form/index.js +16 -61
- package/dist/form/index.js.map +1 -1
- package/dist/form/index.mjs +15 -12
- package/dist/form/input/index.d.mts +2 -2
- package/dist/form/input/index.d.ts +2 -2
- package/dist/form/input/index.js +0 -17
- package/dist/form/input/index.js.map +1 -1
- package/dist/form/input/index.mjs +3 -3
- package/dist/form/input/input.d.mts +2 -2
- package/dist/form/input/input.d.ts +2 -2
- package/dist/form/input/input.js +0 -12
- package/dist/form/input/input.js.map +1 -1
- package/dist/form/input/input.mjs +2 -2
- package/dist/form/input-group/index.js +0 -10
- package/dist/form/input-group/index.js.map +1 -1
- package/dist/form/input-group/index.mjs +2 -2
- package/dist/form/input-group/input-group.js +0 -6
- package/dist/form/input-group/input-group.js.map +1 -1
- package/dist/form/input-group/input-group.mjs +1 -1
- package/dist/form/radiobutton/index.d.mts +2 -2
- package/dist/form/radiobutton/index.d.ts +2 -2
- package/dist/form/radiobutton/index.js +7 -9
- package/dist/form/radiobutton/index.js.map +1 -1
- package/dist/form/radiobutton/index.mjs +2 -2
- package/dist/form/radiobutton/radiobutton.d.mts +2 -2
- package/dist/form/radiobutton/radiobutton.d.ts +2 -2
- package/dist/form/radiobutton/radiobutton.js +7 -5
- package/dist/form/radiobutton/radiobutton.js.map +1 -1
- package/dist/form/radiobutton/radiobutton.mjs +1 -1
- package/dist/form/select/index.d.mts +2 -2
- package/dist/form/select/index.d.ts +2 -2
- package/dist/form/select/index.js +0 -17
- package/dist/form/select/index.js.map +1 -1
- package/dist/form/select/index.mjs +3 -3
- package/dist/form/select/select.d.mts +2 -2
- package/dist/form/select/select.d.ts +2 -2
- package/dist/form/select/select.js +0 -12
- package/dist/form/select/select.js.map +1 -1
- package/dist/form/select/select.mjs +2 -2
- package/dist/form/textarea/index.d.mts +2 -2
- package/dist/form/textarea/index.d.ts +2 -2
- package/dist/form/textarea/index.js +0 -17
- package/dist/form/textarea/index.js.map +1 -1
- package/dist/form/textarea/index.mjs +3 -3
- package/dist/form/textarea/textarea.d.mts +2 -2
- package/dist/form/textarea/textarea.d.ts +2 -2
- package/dist/form/textarea/textarea.js +0 -12
- package/dist/form/textarea/textarea.js.map +1 -1
- package/dist/form/textarea/textarea.mjs +2 -2
- package/dist/index-no-css.d.mts +136 -0
- package/dist/index-no-css.d.ts +136 -0
- package/dist/index-no-css.js +2054 -0
- package/dist/index-no-css.js.map +1 -0
- package/dist/index-no-css.mjs +251 -0
- package/dist/index-no-css.mjs.map +1 -0
- package/dist/index.d.mts +136 -85
- package/dist/index.d.ts +136 -85
- package/dist/index.js +689 -437
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +157 -77
- package/dist/index.mjs.map +1 -1
- package/dist/layout/container/container.d.mts +2 -2
- package/dist/layout/container/container.d.ts +2 -2
- package/dist/layout/index.d.mts +2 -2
- package/dist/layout/index.d.ts +2 -2
- package/dist/layout/index.js +0 -4
- package/dist/layout/index.js.map +1 -1
- package/dist/layout/index.mjs +1 -1
- package/dist/link/index.d.mts +2 -2
- package/dist/link/index.d.ts +2 -2
- package/dist/link/index.js +0 -4
- package/dist/link/index.js.map +1 -1
- package/dist/link/index.mjs +1 -1
- package/dist/link/link.d.mts +2 -2
- package/dist/link/link.d.ts +2 -2
- package/dist/list/description-list.d.mts +2 -2
- package/dist/list/description-list.d.ts +2 -2
- package/dist/list/index.d.mts +7 -7
- package/dist/list/index.d.ts +7 -7
- package/dist/list/index.js +2 -29
- package/dist/list/index.js.map +1 -1
- package/dist/list/index.mjs +3 -3
- package/dist/list/link-list.d.mts +2 -2
- package/dist/list/link-list.d.ts +2 -2
- package/dist/list/link-list.js +2 -24
- package/dist/list/link-list.js.map +1 -1
- package/dist/list/link-list.mjs +2 -2
- package/dist/list/list.d.mts +3 -3
- package/dist/list/list.d.ts +3 -3
- package/dist/list/list.js +1 -17
- package/dist/list/list.js.map +1 -1
- package/dist/list/list.mjs +1 -1
- package/dist/message/index.d.mts +1 -1
- package/dist/message/index.d.ts +1 -1
- package/dist/message/index.js +0 -5
- package/dist/message/index.js.map +1 -1
- package/dist/message/index.mjs +1 -1
- package/dist/message/message.d.mts +1 -1
- package/dist/message/message.d.ts +1 -1
- package/dist/modal/index.d.mts +6 -6
- package/dist/modal/index.d.ts +6 -6
- package/dist/modal/index.js +0 -5
- package/dist/modal/index.js.map +1 -1
- package/dist/modal/index.mjs +3 -3
- package/dist/modal/modal.d.mts +6 -6
- package/dist/modal/modal.d.ts +6 -6
- package/dist/modal/modal.mjs +2 -2
- package/dist/navbar/index.d.mts +5 -5
- package/dist/navbar/index.d.ts +5 -5
- package/dist/navbar/index.js +0 -4
- package/dist/navbar/index.js.map +1 -1
- package/dist/navbar/index.mjs +4 -24
- package/dist/navbar/index.mjs.map +1 -1
- package/dist/navbar/navbar.d.mts +5 -5
- package/dist/navbar/navbar.d.ts +5 -5
- package/dist/show-more/auto-animate-height.d.mts +2 -1
- package/dist/show-more/auto-animate-height.d.ts +2 -1
- package/dist/show-more/auto-animate-height.js.map +1 -1
- package/dist/show-more/auto-animate-height.mjs +1 -1
- package/dist/show-more/index.d.mts +4 -0
- package/dist/show-more/index.d.ts +4 -0
- package/dist/show-more/index.js +163 -0
- package/dist/show-more/index.js.map +1 -0
- package/dist/show-more/index.mjs +13 -0
- package/dist/show-more/index.mjs.map +1 -0
- package/dist/show-more/show-more.d.mts +2 -1
- package/dist/show-more/show-more.d.ts +2 -1
- package/dist/show-more/show-more.js +6 -2
- package/dist/show-more/show-more.js.map +1 -1
- package/dist/show-more/show-more.mjs +1 -1
- package/dist/skeleton/index.d.mts +2 -0
- package/dist/skeleton/index.d.ts +2 -0
- package/dist/skeleton/index.js +81 -0
- package/dist/skeleton/index.js.map +1 -0
- package/dist/skeleton/index.mjs +9 -0
- package/dist/skeleton/index.mjs.map +1 -0
- package/dist/skeleton/skeleton.d.mts +2 -2
- package/dist/skeleton/skeleton.d.ts +2 -2
- package/dist/skeleton/skeleton.js.map +1 -1
- package/dist/skeleton/skeleton.mjs +1 -1
- package/dist/step-indicator/index.d.mts +1 -0
- package/dist/step-indicator/index.d.ts +1 -0
- package/dist/step-indicator/index.js +112 -0
- package/dist/step-indicator/index.js.map +1 -0
- package/dist/step-indicator/index.mjs +9 -0
- package/dist/step-indicator/index.mjs.map +1 -0
- package/dist/step-indicator/step-indicator.d.mts +1 -1
- package/dist/step-indicator/step-indicator.d.ts +1 -1
- package/dist/step-indicator/step-indicator.js +7 -9
- package/dist/step-indicator/step-indicator.js.map +1 -1
- package/dist/step-indicator/step-indicator.mjs +1 -1
- package/dist/styled-html/index.d.mts +2 -0
- package/dist/styled-html/index.d.ts +2 -0
- package/dist/styled-html/index.js +84 -0
- package/dist/styled-html/index.js.map +1 -0
- package/dist/styled-html/index.mjs +9 -0
- package/dist/styled-html/index.mjs.map +1 -0
- package/dist/styled-html/styled-html.d.mts +2 -2
- package/dist/styled-html/styled-html.d.ts +2 -2
- package/dist/tabs/context.d.mts +2 -0
- package/dist/tabs/context.d.ts +2 -0
- package/dist/tabs/context.js +38 -0
- package/dist/tabs/context.js.map +1 -0
- package/dist/tabs/context.mjs +8 -0
- package/dist/tabs/context.mjs.map +1 -0
- package/dist/tabs/index.d.mts +10 -10
- package/dist/tabs/index.d.ts +10 -10
- package/dist/tabs/index.js +0 -4
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +6 -6
- package/dist/tabs/tabs-content.d.mts +4 -4
- package/dist/tabs/tabs-content.d.ts +4 -4
- package/dist/tabs/tabs-content.mjs +2 -2
- package/dist/tabs/tabs-list.d.mts +4 -4
- package/dist/tabs/tabs-list.d.ts +4 -4
- package/dist/tabs/tabs-list.mjs +3 -3
- package/dist/tabs/tabs.d.mts +2 -2
- package/dist/tabs/tabs.d.ts +2 -2
- package/dist/tabs/tabs.mjs +2 -2
- package/dist/typography/index.d.mts +42 -42
- package/dist/typography/index.d.ts +42 -42
- package/dist/typography/index.js +0 -4
- package/dist/typography/index.js.map +1 -1
- package/dist/typography/index.mjs +43 -64
- package/dist/typography/index.mjs.map +1 -1
- package/dist/typography/typography.d.mts +2 -2
- package/dist/typography/typography.d.ts +2 -2
- package/dist/utils.d.mts +3 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.js +83 -0
- package/dist/utils.js.map +1 -0
- package/dist/utils.mjs +10 -0
- package/dist/utils.mjs.map +1 -0
- package/dist/warning-banner/index.d.mts +2 -2
- package/dist/warning-banner/index.d.ts +2 -2
- package/dist/warning-banner/index.js +0 -10
- package/dist/warning-banner/index.js.map +1 -1
- package/dist/warning-banner/index.mjs +3 -3
- package/dist/warning-banner/warning-banner.d.mts +2 -2
- package/dist/warning-banner/warning-banner.d.ts +2 -2
- package/dist/warning-banner/warning-banner.js +0 -6
- package/dist/warning-banner/warning-banner.js.map +1 -1
- package/dist/warning-banner/warning-banner.mjs +2 -2
- package/package.json +11 -7
- package/dist/chunk-47Z7UJK7.mjs +0 -6
- package/dist/chunk-47Z7UJK7.mjs.map +0 -1
- package/dist/chunk-6E4N2IN7.mjs +0 -6
- package/dist/chunk-6E4N2IN7.mjs.map +0 -1
- package/dist/chunk-77KV3LA6.mjs +0 -20
- package/dist/chunk-77KV3LA6.mjs.map +0 -1
- package/dist/chunk-7UANCJA2.mjs +0 -6
- package/dist/chunk-7UANCJA2.mjs.map +0 -1
- package/dist/chunk-A6Y3TQYS.mjs +0 -6
- package/dist/chunk-A6Y3TQYS.mjs.map +0 -1
- package/dist/chunk-EF443SG5.mjs +0 -7
- package/dist/chunk-EF443SG5.mjs.map +0 -1
- package/dist/chunk-F4VCCLLF.mjs +0 -1
- package/dist/chunk-FFA6SBK6.mjs +0 -17
- package/dist/chunk-FFA6SBK6.mjs.map +0 -1
- package/dist/chunk-FIXRYHV7.mjs.map +0 -1
- package/dist/chunk-GS3KAIE7.mjs.map +0 -1
- package/dist/chunk-H5GI3A3Y.mjs +0 -22
- package/dist/chunk-H5GI3A3Y.mjs.map +0 -1
- package/dist/chunk-HNBNPFJN.mjs.map +0 -1
- package/dist/chunk-IIMW6QXV.mjs +0 -7
- package/dist/chunk-IIMW6QXV.mjs.map +0 -1
- package/dist/chunk-IZ5YU4K5.mjs.map +0 -1
- package/dist/chunk-JKC4NAFI.mjs.map +0 -1
- package/dist/chunk-KTT3R42Z.mjs.map +0 -1
- package/dist/chunk-O5MQCET3.mjs +0 -7
- package/dist/chunk-O5MQCET3.mjs.map +0 -1
- package/dist/chunk-OCIM3ZEV.mjs.map +0 -1
- package/dist/chunk-ODJ2XHCM.mjs +0 -6
- package/dist/chunk-ODJ2XHCM.mjs.map +0 -1
- package/dist/chunk-OMDDUYGE.mjs +0 -6
- package/dist/chunk-OMDDUYGE.mjs.map +0 -1
- package/dist/chunk-ONBXZWHW.mjs +0 -27
- package/dist/chunk-ONBXZWHW.mjs.map +0 -1
- package/dist/chunk-PRQWCNN3.mjs.map +0 -1
- package/dist/chunk-ROX4JPO3.mjs +0 -6
- package/dist/chunk-ROX4JPO3.mjs.map +0 -1
- package/dist/chunk-RT2VPRZN.mjs.map +0 -1
- package/dist/chunk-SLOG3T7V.mjs.map +0 -1
- package/dist/chunk-T42X5AZM.mjs +0 -7
- package/dist/chunk-T42X5AZM.mjs.map +0 -1
- package/dist/chunk-T6YKS5OS.mjs.map +0 -1
- package/dist/chunk-WQU3PHD4.mjs +0 -6
- package/dist/chunk-WQU3PHD4.mjs.map +0 -1
- package/dist/chunk-X2YMLUE4.mjs.map +0 -1
- package/dist/chunk-XGJBOGZJ.mjs +0 -6
- package/dist/chunk-XGJBOGZJ.mjs.map +0 -1
- package/dist/chunk-XVCDHQ7W.mjs +0 -6
- package/dist/chunk-XVCDHQ7W.mjs.map +0 -1
- package/dist/chunk-YDWBUHBY.mjs +0 -6
- package/dist/chunk-YDWBUHBY.mjs.map +0 -1
- /package/dist/{chunk-F4VCCLLF.mjs.map → accordion/context.mjs.map} +0 -0
- /package/dist/{chunk-642AR63O.mjs.map → chunk-33JD5XDW.mjs.map} +0 -0
- /package/dist/{chunk-HHZ4Q5WR.mjs.map → chunk-52ULSP6E.mjs.map} +0 -0
- /package/dist/{chunk-PQ6WEGLM.mjs.map → chunk-5T3VUFL4.mjs.map} +0 -0
- /package/dist/{chunk-74JOQ6RA.mjs.map → chunk-5WUSLDKN.mjs.map} +0 -0
- /package/dist/{chunk-EQIGUHKL.mjs.map → chunk-C3HIZBXH.mjs.map} +0 -0
- /package/dist/{chunk-DN5KNI4C.mjs.map → chunk-DVFL3S5W.mjs.map} +0 -0
- /package/dist/{chunk-VMS2DOQD.mjs.map → chunk-V3PAFMK5.mjs.map} +0 -0
- /package/dist/{chunk-KJKJXZBT.mjs.map → chunk-VUD7AVYO.mjs.map} +0 -0
- /package/dist/{chunk-FMMNEKSR.mjs.map → chunk-WCA2WPFS.mjs.map} +0 -0
- /package/dist/{chunk-4WJBW37S.mjs.map → chunk-WXU2FTGO.mjs.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/form/radiobutton/radiobutton.tsx"],"sourcesContent":["import type { InputHTMLAttributes } from \"react\";\nimport React, { forwardRef } from \"react\";\nimport { clsx } from \"@postenbring/hedwig-css/typed-classname/index.mjs\";\n\nexport interface RadiobuttonProps\n extends Omit<InputHTMLAttributes<HTMLInputElement>, \"defaultValue\"> {\n variant?: \"plain\" | \"bounding-box\";\n hasError?: boolean;\n title?: string;\n}\n\nexport const Radiobutton = forwardRef<HTMLInputElement, RadiobuttonProps>(\n ({ variant = \"plain\", hasError, title, children, className, ...rest }, ref) => {\n return (\n <div\n className={clsx(\n \"hds-radiobutton\",\n {\n [`hds-radiobutton--${variant}`]: variant === \"bounding-box\",\n \"hds-radiobutton--error\": hasError,\n },\n className as undefined,\n )}\n >\n <label>\n <input {...rest} ref={ref} type=\"radio\" />\n <span aria-hidden className=\"hds-radiobutton__checkmark\" />\n {title ? <p className=\"hds-radiobutton__title\">{title}</p> : children}\n </label>\n {title ? children : null}\n </div>\n );\n },\n);\nRadiobutton.displayName = \"Radiobutton\";\n"],"mappings":";;;;;;;AACA,SAAgB,kBAAkB;AAClC,SAAS,YAAY;AAsBb,SACE,KADF;AAbD,IAAM,cAAc;AAAA,EACzB,CAAC,IAAsE,QAAQ;AAA9E,iBAAE,YAAU,SAAS,UAAU,OAAO,UAAU,UAZnD,IAYG,IAA8D,iBAA9D,IAA8D,CAA5D,WAAmB,YAAU,SAAO,YAAU;AAC/C,WACE;AAAA,MAAC;AAAA;AAAA,QACC,WAAW;AAAA,UACT;AAAA,UACA;AAAA,YACE,CAAC,oBAAoB,OAAO,EAAE,GAAG,YAAY;AAAA,YAC7C,0BAA0B;AAAA,UAC5B;AAAA,UACA;AAAA,QACF;AAAA,QAEA;AAAA,+BAAC,WACC;AAAA,gCAAC,0CAAU,OAAV,EAAgB,KAAU,MAAK,UAAQ;AAAA,YACxC,oBAAC,UAAK,eAAW,MAAC,WAAU,8BAA6B;AAAA,YACxD,QAAQ,oBAAC,OAAE,WAAU,0BAA0B,iBAAM,IAAO;AAAA,aAC/D;AAAA,UACC,QAAQ,WAAW;AAAA;AAAA;AAAA,IACtB;AAAA,EAEJ;AACF;AACA,YAAY,cAAc;","names":[]}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AccordionContent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VUD7AVYO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
AccordionHeader
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GPV2IEZD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
AccordionItem
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5WUSLDKN.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Accordion
|
|
12
12
|
} from "./chunk-2C6OZWFA.mjs";
|
|
13
13
|
|
|
14
14
|
// src/accordion/index.tsx
|
|
15
|
-
import "@postenbring/hedwig-css/dist/fonts.css";
|
|
16
|
-
import "@postenbring/hedwig-css/dist/tokens.css";
|
|
17
|
-
import "@postenbring/hedwig-css/dist/body.css";
|
|
18
|
-
import "@postenbring/hedwig-css/dist/accordion.css";
|
|
19
15
|
var AccordionComponent = Accordion;
|
|
20
16
|
AccordionComponent.Item = AccordionItem;
|
|
21
17
|
AccordionComponent.Header = AccordionHeader;
|
|
@@ -24,4 +20,4 @@ AccordionComponent.Content = AccordionContent;
|
|
|
24
20
|
export {
|
|
25
21
|
AccordionComponent
|
|
26
22
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-FL4LCX4F.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/accordion/index.tsx"],"sourcesContent":["import { Accordion } from \"./accordion\";\nimport { AccordionItem } from \"./accordion-item\";\nimport { AccordionHeader } from \"./accordion-header\";\nimport { AccordionContent } from \"./accordion-content\";\n\nconst AccordionComponent = Accordion as typeof Accordion & {\n Item: typeof AccordionItem;\n Header: typeof AccordionHeader;\n Content: typeof AccordionContent;\n};\n\nAccordionComponent.Item = AccordionItem;\nAccordionComponent.Header = AccordionHeader;\nAccordionComponent.Content = AccordionContent;\n\nexport { AccordionComponent as Accordion };\n\nexport type * from \"./accordion\";\nexport type * from \"./accordion-item\";\nexport type * from \"./accordion-header\";\nexport type * from \"./accordion-content\";\n"],"mappings":";;;;;;;;;;;;;;AAKA,IAAM,qBAAqB;AAM3B,mBAAmB,OAAO;AAC1B,mBAAmB,SAAS;AAC5B,mBAAmB,UAAU;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AccordionItemContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V3PAFMK5.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadProps,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
// src/accordion/accordion-header.tsx
|
|
11
11
|
import { forwardRef, useContext } from "react";
|
|
12
12
|
import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
|
|
13
|
-
import { jsx
|
|
13
|
+
import { jsx } from "react/jsx-runtime";
|
|
14
14
|
var AccordionHeader = forwardRef((_a, ref) => {
|
|
15
15
|
var _b = _a, { as: Component = "button", children, className, onClick } = _b, rest = __objRest(_b, ["as", "children", "className", "onClick"]);
|
|
16
16
|
const itemContext = useContext(AccordionItemContext);
|
|
@@ -21,7 +21,7 @@ var AccordionHeader = forwardRef((_a, ref) => {
|
|
|
21
21
|
itemContext.setOpen(!itemContext.open);
|
|
22
22
|
onClick && onClick(e);
|
|
23
23
|
};
|
|
24
|
-
return /* @__PURE__ */
|
|
24
|
+
return /* @__PURE__ */ jsx(
|
|
25
25
|
Component,
|
|
26
26
|
__spreadProps(__spreadValues({}, rest), {
|
|
27
27
|
"aria-expanded": itemContext.open,
|
|
@@ -33,10 +33,7 @@ var AccordionHeader = forwardRef((_a, ref) => {
|
|
|
33
33
|
onClick: expandOrCollapse,
|
|
34
34
|
ref,
|
|
35
35
|
type: "button",
|
|
36
|
-
children:
|
|
37
|
-
/* @__PURE__ */ jsx("span", { className: clsx("hds-accordion-item-header--icon"), children: /* @__PURE__ */ jsx("svg", { height: "24", viewBox: "0 0 24 24", width: "24", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("path", { d: "M19.6289 9.15625L18.9609 8.45312C18.7852 8.27734 18.5039 8.27734 18.3633 8.45312L12 14.8164L5.60156 8.45312C5.46094 8.27734 5.17969 8.27734 5.00391 8.45312L4.33594 9.15625C4.16016 9.29688 4.16016 9.57812 4.33594 9.75391L11.6836 17.1016C11.8594 17.2773 12.1055 17.2773 12.2812 17.1016L19.6289 9.75391C19.8047 9.57812 19.8047 9.29688 19.6289 9.15625Z" }) }) }) }),
|
|
38
|
-
/* @__PURE__ */ jsx("span", { children })
|
|
39
|
-
]
|
|
36
|
+
children: /* @__PURE__ */ jsx("span", { children })
|
|
40
37
|
})
|
|
41
38
|
);
|
|
42
39
|
});
|
|
@@ -45,4 +42,4 @@ AccordionHeader.displayName = "Accordion.Header";
|
|
|
45
42
|
export {
|
|
46
43
|
AccordionHeader
|
|
47
44
|
};
|
|
48
|
-
//# sourceMappingURL=chunk-
|
|
45
|
+
//# sourceMappingURL=chunk-GPV2IEZD.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/accordion/accordion-header.tsx"],"sourcesContent":["import type { ButtonHTMLAttributes, MouseEvent, ReactNode } from \"react\";\nimport { forwardRef, useContext } from \"react\";\nimport { clsx } from \"@postenbring/hedwig-css/typed-classname/index.mjs\";\nimport type { OverridableComponent } from \"../utils\";\nimport { AccordionItemContext } from \"./context\";\n\nexport interface AccordionHeaderProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n children: ReactNode;\n}\n\nexport const AccordionHeader: OverridableComponent<AccordionHeaderProps, HTMLButtonElement> =\n forwardRef(({ as: Component = \"button\", children, className, onClick, ...rest }, ref) => {\n const itemContext = useContext(AccordionItemContext);\n if (itemContext === null) {\n return null;\n }\n const expandOrCollapse = (e: MouseEvent<HTMLButtonElement>) => {\n itemContext.setOpen(!itemContext.open);\n onClick && onClick(e);\n };\n return (\n <Component\n {...rest}\n aria-expanded={itemContext.open}\n className={clsx(\n \"hds-accordion-item-header\",\n { \"hds-accordion-item-header--open\": itemContext.open },\n className as undefined,\n )}\n onClick={expandOrCollapse}\n ref={ref}\n type=\"button\"\n >\n <span>{children}</span>\n </Component>\n );\n });\n\nAccordionHeader.displayName = \"Accordion.Header\";\n"],"mappings":";;;;;;;;;;AACA,SAAS,YAAY,kBAAkB;AACvC,SAAS,YAAY;AA+Bb;AAvBD,IAAM,kBACX,WAAW,CAAC,IAAqE,QAAQ;AAA7E,eAAE,MAAI,YAAY,UAAU,UAAU,WAAW,QAX/D,IAWc,IAA6D,iBAA7D,IAA6D,CAA3D,MAA0B,YAAU,aAAW;AAC3D,QAAM,cAAc,WAAW,oBAAoB;AACnD,MAAI,gBAAgB,MAAM;AACxB,WAAO;AAAA,EACT;AACA,QAAM,mBAAmB,CAAC,MAAqC;AAC7D,gBAAY,QAAQ,CAAC,YAAY,IAAI;AACrC,eAAW,QAAQ,CAAC;AAAA,EACtB;AACA,SACE;AAAA,IAAC;AAAA,qCACK,OADL;AAAA,MAEC,iBAAe,YAAY;AAAA,MAC3B,WAAW;AAAA,QACT;AAAA,QACA,EAAE,mCAAmC,YAAY,KAAK;AAAA,QACtD;AAAA,MACF;AAAA,MACA,SAAS;AAAA,MACT;AAAA,MACA,MAAK;AAAA,MAEL,8BAAC,UAAM,UAAS;AAAA;AAAA,EAClB;AAEJ,CAAC;AAEH,gBAAgB,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-HT2EIJAD.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-JKCVB5TR.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-JTZPQHKD.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-K6PP3ACJ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-KOAR6LZG.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-LMF3QGSF.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Modal,
|
|
3
|
+
ModalContent,
|
|
4
|
+
ModalFooter,
|
|
5
|
+
ModalHeader
|
|
6
|
+
} from "./chunk-5T3VUFL4.mjs";
|
|
7
|
+
|
|
8
|
+
// src/modal/index.tsx
|
|
9
|
+
var ModalComponent = Modal;
|
|
10
|
+
ModalComponent.Header = ModalHeader;
|
|
11
|
+
ModalComponent.Content = ModalContent;
|
|
12
|
+
ModalComponent.Footer = ModalFooter;
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
ModalComponent
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=chunk-MJ4LA23N.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/modal/index.tsx"],"sourcesContent":["import { Modal, ModalHeader, ModalContent, ModalFooter } from \"./modal\";\n\nconst ModalComponent = Modal as typeof Modal & {\n Header: typeof ModalHeader;\n Content: typeof ModalContent;\n Footer: typeof ModalFooter;\n};\nModalComponent.Header = ModalHeader;\nModalComponent.Content = ModalContent;\nModalComponent.Footer = ModalFooter;\n\nexport { ModalComponent as Modal };\nexport type * from \"./modal\";\n"],"mappings":";;;;;;;;AAEA,IAAM,iBAAiB;AAKvB,eAAe,SAAS;AACxB,eAAe,UAAU;AACzB,eAAe,SAAS;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-MQ3EEUTP.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-MSFHJVHD.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Typography
|
|
3
|
+
} from "./chunk-5GRZROYQ.mjs";
|
|
4
|
+
import {
|
|
5
|
+
__spreadValues
|
|
6
|
+
} from "./chunk-R4SQKVDQ.mjs";
|
|
7
|
+
|
|
8
|
+
// src/typography/index.tsx
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
var Text = Typography;
|
|
11
|
+
Text.displayName = "Text";
|
|
12
|
+
var H1Display = typographyVariant("h1-display", "H1Display");
|
|
13
|
+
var H1 = typographyVariant("h1", "H1");
|
|
14
|
+
var H2 = typographyVariant("h2", "H2");
|
|
15
|
+
var H3 = typographyVariant("h3", "H3");
|
|
16
|
+
var H3Title = typographyVariant("h3-title", "H3Title");
|
|
17
|
+
var Body = typographyVariant("body", "Body");
|
|
18
|
+
var BodyTitle = typographyVariant("body-title", "BodyTitle");
|
|
19
|
+
var BodySmall = typographyVariant("body-small", "BodySmall");
|
|
20
|
+
var BodySmallTitle = typographyVariant("body-small-title", "BodySmallTitle");
|
|
21
|
+
var Technical = typographyVariant("technical", "Technical");
|
|
22
|
+
var TechnicalTitle = typographyVariant("technical-title", "TechnicalTitle");
|
|
23
|
+
var Caption = typographyVariant("caption", "Caption");
|
|
24
|
+
var CaptionTitle = typographyVariant("caption-title", "CaptionTitle");
|
|
25
|
+
var TextH1Display = typographyVariant("h1-display", "TextH1Display");
|
|
26
|
+
var TextH1 = typographyVariant("h1", "TextH1");
|
|
27
|
+
var TextH2 = typographyVariant("h2", "TextH2");
|
|
28
|
+
var TextH3 = typographyVariant("h3", "TextH3");
|
|
29
|
+
var TextH3Title = typographyVariant("h3-title", "TextH3Title");
|
|
30
|
+
var TextBody = typographyVariant("body", "TextBody");
|
|
31
|
+
var TextBodyTitle = typographyVariant("body-title", "TextBodyTitle");
|
|
32
|
+
var TextBodySmall = typographyVariant("body-small", "TextBodySmall");
|
|
33
|
+
var TextBodySmallTitle = typographyVariant("body-small-title", "TextBodySmallTitle");
|
|
34
|
+
var TextTechnical = typographyVariant("technical", "TextTechnical");
|
|
35
|
+
var TextTechnicalTitle = typographyVariant("technical-title", "TextTechnicalTitle");
|
|
36
|
+
var TextCaption = typographyVariant("caption", "TextCaption");
|
|
37
|
+
var TextCaptionTitle = typographyVariant("caption-title", "TextCaptionTitle");
|
|
38
|
+
var TypographyH1Display = typographyVariant("h1-display", "TypographyH1Display");
|
|
39
|
+
var TypographyH1 = typographyVariant("h1", "TypographyH1");
|
|
40
|
+
var TypographyH2 = typographyVariant("h2", "TypographyH2");
|
|
41
|
+
var TypographyH3 = typographyVariant("h3", "TypographyH3");
|
|
42
|
+
var TypographyH3Title = typographyVariant("h3-title", "TypographyH3Title");
|
|
43
|
+
var TypographyBody = typographyVariant("body", "TypographyBody");
|
|
44
|
+
var TypographyBodyTitle = typographyVariant("body-title", "TypographyBodyTitle");
|
|
45
|
+
var TypographyBodySmall = typographyVariant("body-small", "TypographyBodySmall");
|
|
46
|
+
var TypographyBodySmallTitle = typographyVariant(
|
|
47
|
+
"body-small-title",
|
|
48
|
+
"TypographyBodySmallTitle"
|
|
49
|
+
);
|
|
50
|
+
var TypographyTechnical = typographyVariant("technical", "TypographyTechnical");
|
|
51
|
+
var TypographyTechnicalTitle = typographyVariant(
|
|
52
|
+
"technical-title",
|
|
53
|
+
"TypographyTechnicalTitle"
|
|
54
|
+
);
|
|
55
|
+
var TypographyCaption = typographyVariant("caption", "TypographyCaption");
|
|
56
|
+
var TypographyCaptionTitle = typographyVariant("caption-title", "TypographyCaptionTitle");
|
|
57
|
+
function typographyVariant(variant, displayName) {
|
|
58
|
+
function WrappedTypography(props) {
|
|
59
|
+
return /* @__PURE__ */ jsx(Typography, __spreadValues({ variant }, props));
|
|
60
|
+
}
|
|
61
|
+
WrappedTypography.displayName = displayName;
|
|
62
|
+
return WrappedTypography;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export {
|
|
66
|
+
Text,
|
|
67
|
+
H1Display,
|
|
68
|
+
H1,
|
|
69
|
+
H2,
|
|
70
|
+
H3,
|
|
71
|
+
H3Title,
|
|
72
|
+
Body,
|
|
73
|
+
BodyTitle,
|
|
74
|
+
BodySmall,
|
|
75
|
+
BodySmallTitle,
|
|
76
|
+
Technical,
|
|
77
|
+
TechnicalTitle,
|
|
78
|
+
Caption,
|
|
79
|
+
CaptionTitle,
|
|
80
|
+
TextH1Display,
|
|
81
|
+
TextH1,
|
|
82
|
+
TextH2,
|
|
83
|
+
TextH3,
|
|
84
|
+
TextH3Title,
|
|
85
|
+
TextBody,
|
|
86
|
+
TextBodyTitle,
|
|
87
|
+
TextBodySmall,
|
|
88
|
+
TextBodySmallTitle,
|
|
89
|
+
TextTechnical,
|
|
90
|
+
TextTechnicalTitle,
|
|
91
|
+
TextCaption,
|
|
92
|
+
TextCaptionTitle,
|
|
93
|
+
TypographyH1Display,
|
|
94
|
+
TypographyH1,
|
|
95
|
+
TypographyH2,
|
|
96
|
+
TypographyH3,
|
|
97
|
+
TypographyH3Title,
|
|
98
|
+
TypographyBody,
|
|
99
|
+
TypographyBodyTitle,
|
|
100
|
+
TypographyBodySmall,
|
|
101
|
+
TypographyBodySmallTitle,
|
|
102
|
+
TypographyTechnical,
|
|
103
|
+
TypographyTechnicalTitle,
|
|
104
|
+
TypographyCaption,
|
|
105
|
+
TypographyCaptionTitle
|
|
106
|
+
};
|
|
107
|
+
//# sourceMappingURL=chunk-NCYRNCGJ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/typography/index.tsx"],"sourcesContent":["import type { TypographyProps } from \"./typography\";\nimport { Typography } from \"./typography\";\n\nexport { Typography };\nexport type * from \"./typography\";\n\n/**\n * Alternative: Named `Text`\n *\n * ## Alias to @see Typography\n *\n * Only one component will remain\n */\nexport const Text = Typography;\nText.displayName = \"Text\";\n\n/**\n * Alternative: Named as the different typography levels\n *\n * ## Alias to @see Typography\n */\nexport const H1Display = typographyVariant(\"h1-display\", \"H1Display\");\nexport const H1 = typographyVariant(\"h1\", \"H1\");\nexport const H2 = typographyVariant(\"h2\", \"H2\");\nexport const H3 = typographyVariant(\"h3\", \"H3\");\nexport const H3Title = typographyVariant(\"h3-title\", \"H3Title\");\nexport const Body = typographyVariant(\"body\", \"Body\"); // This one is a bit weird, as it can be mistaken for `<body>`\nexport const BodyTitle = typographyVariant(\"body-title\", \"BodyTitle\");\nexport const BodySmall = typographyVariant(\"body-small\", \"BodySmall\");\nexport const BodySmallTitle = typographyVariant(\"body-small-title\", \"BodySmallTitle\");\nexport const Technical = typographyVariant(\"technical\", \"Technical\");\nexport const TechnicalTitle = typographyVariant(\"technical-title\", \"TechnicalTitle\");\nexport const Caption = typographyVariant(\"caption\", \"Caption\");\nexport const CaptionTitle = typographyVariant(\"caption-title\", \"CaptionTitle\");\n\n/**\n * Alternative: Named as the different typography levels with Text prefix\n *\n * ## Alias to @see Typography\n */\nexport const TextH1Display = typographyVariant(\"h1-display\", \"TextH1Display\");\nexport const TextH1 = typographyVariant(\"h1\", \"TextH1\");\nexport const TextH2 = typographyVariant(\"h2\", \"TextH2\");\nexport const TextH3 = typographyVariant(\"h3\", \"TextH3\");\nexport const TextH3Title = typographyVariant(\"h3-title\", \"TextH3Title\");\nexport const TextBody = typographyVariant(\"body\", \"TextBody\"); // This one is a bit weird, as it can be mistaken for `<body>`\nexport const TextBodyTitle = typographyVariant(\"body-title\", \"TextBodyTitle\");\nexport const TextBodySmall = typographyVariant(\"body-small\", \"TextBodySmall\");\nexport const TextBodySmallTitle = typographyVariant(\"body-small-title\", \"TextBodySmallTitle\");\nexport const TextTechnical = typographyVariant(\"technical\", \"TextTechnical\");\nexport const TextTechnicalTitle = typographyVariant(\"technical-title\", \"TextTechnicalTitle\");\nexport const TextCaption = typographyVariant(\"caption\", \"TextCaption\");\nexport const TextCaptionTitle = typographyVariant(\"caption-title\", \"TextCaptionTitle\");\n\n/**\n * Alternative: Named as the different typography levels with Typography prefix\n *\n * ## Alias to @see Typography\n */\nexport const TypographyH1Display = typographyVariant(\"h1-display\", \"TypographyH1Display\");\nexport const TypographyH1 = typographyVariant(\"h1\", \"TypographyH1\");\nexport const TypographyH2 = typographyVariant(\"h2\", \"TypographyH2\");\nexport const TypographyH3 = typographyVariant(\"h3\", \"TypographyH3\");\nexport const TypographyH3Title = typographyVariant(\"h3-title\", \"TypographyH3Title\");\nexport const TypographyBody = typographyVariant(\"body\", \"TypographyBody\"); // This one is a bit weird, as it can be mistaken for `<body>`\nexport const TypographyBodyTitle = typographyVariant(\"body-title\", \"TypographyBodyTitle\");\nexport const TypographyBodySmall = typographyVariant(\"body-small\", \"TypographyBodySmall\");\nexport const TypographyBodySmallTitle = typographyVariant(\n \"body-small-title\",\n \"TypographyBodySmallTitle\",\n);\nexport const TypographyTechnical = typographyVariant(\"technical\", \"TypographyTechnical\");\nexport const TypographyTechnicalTitle = typographyVariant(\n \"technical-title\",\n \"TypographyTechnicalTitle\",\n);\nexport const TypographyCaption = typographyVariant(\"caption\", \"TypographyCaption\");\nexport const TypographyCaptionTitle = typographyVariant(\"caption-title\", \"TypographyCaptionTitle\");\n\nfunction typographyVariant(\n variant: TypographyProps[\"variant\"],\n displayName: string,\n): React.FunctionComponent<Omit<TypographyProps, \"variant\">> {\n function WrappedTypography(props: Omit<TypographyProps, \"variant\">) {\n return <Typography variant={variant} {...props} />;\n }\n WrappedTypography.displayName = displayName;\n\n return WrappedTypography;\n}\n"],"mappings":";;;;;;;;AAoFW;AAvEJ,IAAM,OAAO;AACpB,KAAK,cAAc;AAOZ,IAAM,YAAY,kBAAkB,cAAc,WAAW;AAC7D,IAAM,KAAK,kBAAkB,MAAM,IAAI;AACvC,IAAM,KAAK,kBAAkB,MAAM,IAAI;AACvC,IAAM,KAAK,kBAAkB,MAAM,IAAI;AACvC,IAAM,UAAU,kBAAkB,YAAY,SAAS;AACvD,IAAM,OAAO,kBAAkB,QAAQ,MAAM;AAC7C,IAAM,YAAY,kBAAkB,cAAc,WAAW;AAC7D,IAAM,YAAY,kBAAkB,cAAc,WAAW;AAC7D,IAAM,iBAAiB,kBAAkB,oBAAoB,gBAAgB;AAC7E,IAAM,YAAY,kBAAkB,aAAa,WAAW;AAC5D,IAAM,iBAAiB,kBAAkB,mBAAmB,gBAAgB;AAC5E,IAAM,UAAU,kBAAkB,WAAW,SAAS;AACtD,IAAM,eAAe,kBAAkB,iBAAiB,cAAc;AAOtE,IAAM,gBAAgB,kBAAkB,cAAc,eAAe;AACrE,IAAM,SAAS,kBAAkB,MAAM,QAAQ;AAC/C,IAAM,SAAS,kBAAkB,MAAM,QAAQ;AAC/C,IAAM,SAAS,kBAAkB,MAAM,QAAQ;AAC/C,IAAM,cAAc,kBAAkB,YAAY,aAAa;AAC/D,IAAM,WAAW,kBAAkB,QAAQ,UAAU;AACrD,IAAM,gBAAgB,kBAAkB,cAAc,eAAe;AACrE,IAAM,gBAAgB,kBAAkB,cAAc,eAAe;AACrE,IAAM,qBAAqB,kBAAkB,oBAAoB,oBAAoB;AACrF,IAAM,gBAAgB,kBAAkB,aAAa,eAAe;AACpE,IAAM,qBAAqB,kBAAkB,mBAAmB,oBAAoB;AACpF,IAAM,cAAc,kBAAkB,WAAW,aAAa;AAC9D,IAAM,mBAAmB,kBAAkB,iBAAiB,kBAAkB;AAO9E,IAAM,sBAAsB,kBAAkB,cAAc,qBAAqB;AACjF,IAAM,eAAe,kBAAkB,MAAM,cAAc;AAC3D,IAAM,eAAe,kBAAkB,MAAM,cAAc;AAC3D,IAAM,eAAe,kBAAkB,MAAM,cAAc;AAC3D,IAAM,oBAAoB,kBAAkB,YAAY,mBAAmB;AAC3E,IAAM,iBAAiB,kBAAkB,QAAQ,gBAAgB;AACjE,IAAM,sBAAsB,kBAAkB,cAAc,qBAAqB;AACjF,IAAM,sBAAsB,kBAAkB,cAAc,qBAAqB;AACjF,IAAM,2BAA2B;AAAA,EACtC;AAAA,EACA;AACF;AACO,IAAM,sBAAsB,kBAAkB,aAAa,qBAAqB;AAChF,IAAM,2BAA2B;AAAA,EACtC;AAAA,EACA;AACF;AACO,IAAM,oBAAoB,kBAAkB,WAAW,mBAAmB;AAC1E,IAAM,yBAAyB,kBAAkB,iBAAiB,wBAAwB;AAEjG,SAAS,kBACP,SACA,aAC2D;AAC3D,WAAS,kBAAkB,OAAyC;AAClE,WAAO,oBAAC,6BAAW,WAAsB,MAAO;AAAA,EAClD;AACA,oBAAkB,cAAc;AAEhC,SAAO;AACT;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-NSLSA7F7.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/breadcrumb/breadcrumb.tsx"],"sourcesContent":["import type { HTMLAttributes, ReactElement } from \"react\";\nimport { clsx } from \"@postenbring/hedwig-css/typed-classname/index.mjs\";\n\nexport interface BreadcrumbsProps extends HTMLAttributes<HTMLOListElement> {\n children: ReactElement<HTMLLIElement> | ReactElement<HTMLLIElement>[];\n\n /**\n * Props passed to the `ol` html element\n */\n olProps?: HTMLAttributes<HTMLElement>;\n}\n\n/**\n * A breadcrumbs navigation menu\n *\n * **Usage**\n *\n * ```tsx\n * <Breadcrumbs data-testid=\"breadcrumbs\">\n * <li><Link href=\"../\">Previous page</Link></li>\n * <li aria-current=\"page\">Current page</li>\n * </Breadcrumbs>\n * ```\n *\n * Outputs this html structure\n *\n * ```html\n * <nav data-testid=\"breadcrumbs\">\n * <ol>\n * <li><a href=\"../\">Previous page</a></li>\n * <li aria-current=\"page\">Current page</li>\n * </ol>\n * </nav>\n * ```\n */\nexport function Breadcrumbs({ olProps, children, ...rest }: BreadcrumbsProps) {\n return (\n <nav {...rest}>\n <ol {...olProps} className={clsx(\"hds-breadcrumbs\", olProps?.className as undefined)}>\n {children}\n </ol>\n </nav>\n );\n}\n\nBreadcrumbs.displayName = \"Breadcrumbs\";\n"],"mappings":";;;;;;;AACA,SAAS,YAAY;AAqCf;AAHC,SAAS,YAAY,IAAkD;AAAlD,eAAE,WAAS,SAnCvC,IAmC4B,IAAwB,iBAAxB,IAAwB,CAAtB,WAAS;AACrC,SACE,oBAAC,wCAAQ,OAAR,EACC,8BAAC,uCAAO,UAAP,EAAgB,WAAW,KAAK,mBAAmB,mCAAS,SAAsB,GAChF,WACH,IACF;AAEJ;AAEA,YAAY,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-OIQUYB26.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -12,25 +12,23 @@ function StepIndicator(_a) {
|
|
|
12
12
|
activeStep,
|
|
13
13
|
totalSteps,
|
|
14
14
|
className,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
rightLabelLang = "en",
|
|
15
|
+
label,
|
|
16
|
+
lang = "en",
|
|
18
17
|
title,
|
|
19
18
|
titleAs: TitleComponent
|
|
20
19
|
} = _b, rest = __objRest(_b, [
|
|
21
20
|
"activeStep",
|
|
22
21
|
"totalSteps",
|
|
23
22
|
"className",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"rightLabelLang",
|
|
23
|
+
"label",
|
|
24
|
+
"lang",
|
|
27
25
|
"title",
|
|
28
26
|
"titleAs"
|
|
29
27
|
]);
|
|
30
|
-
return /* @__PURE__ */ jsxs("div", __spreadProps(__spreadValues({ className: clsx("hds-step-indicator", className) }, rest), { children: [
|
|
28
|
+
return /* @__PURE__ */ jsxs("div", __spreadProps(__spreadValues({ className: clsx("hds-step-indicator", className), lang }, rest), { children: [
|
|
31
29
|
/* @__PURE__ */ jsxs("div", { className: clsx("hds-step-indicator__header"), children: [
|
|
32
|
-
/* @__PURE__ */ jsx("span", { className: clsx("hds-step-indicator__left-label"), children:
|
|
33
|
-
/* @__PURE__ */ jsx("span", {
|
|
30
|
+
/* @__PURE__ */ jsx("span", { className: clsx("hds-step-indicator__left-label"), children: label }),
|
|
31
|
+
/* @__PURE__ */ jsx("span", { children: stepLabelTranslations[lang](activeStep, totalSteps) })
|
|
34
32
|
] }),
|
|
35
33
|
/* @__PURE__ */ jsx("div", { className: clsx("hds-step-indicator__steps"), children: Array.from({ length: totalSteps }, (_, i) => /* @__PURE__ */ jsx(
|
|
36
34
|
"div",
|
|
@@ -62,4 +60,4 @@ function getStepState(renderedStep, activeStep) {
|
|
|
62
60
|
export {
|
|
63
61
|
StepIndicator
|
|
64
62
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-PAVPAIBQ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/step-indicator/step-indicator.tsx"],"sourcesContent":["import { clsx } from \"@postenbring/hedwig-css/typed-classname/index.mjs\";\n\ntype TitleProps =\n | {\n /**\n * Optional title of the active step to be shown underneath the step indicator\n *\n * Use `titleAs` to set the correct heading level\n */\n title: React.ReactNode;\n titleAs: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n }\n | {\n title?: undefined;\n titleAs?: undefined;\n };\n\ninterface StepIndicatorProps extends React.HTMLAttributes<HTMLDivElement> {\n /*\n * 1-indexed number of the active step\n */\n activeStep: number;\n\n /**\n * 1-indexed number of steps\n */\n totalSteps: number;\n\n /**\n * Label on the left side above the steps\n */\n label: React.ReactNode;\n\n /**\n * Language for the \"step x of y\" label, default is \"en\"\n */\n lang?: \"no\" | \"en\" | \"da\" | \"sv\";\n}\n\n/**\n * Indicate a step in a process.\n *\n * It does not handle step content or navigation, only the visual indication of the active step.\n */\nexport function StepIndicator({\n activeStep,\n totalSteps,\n className,\n label,\n lang = \"en\",\n title,\n titleAs: TitleComponent,\n ...rest\n}: StepIndicatorProps & TitleProps) {\n return (\n <div className={clsx(\"hds-step-indicator\", className as undefined)} lang={lang} {...rest}>\n <div className={clsx(\"hds-step-indicator__header\")}>\n <span className={clsx(\"hds-step-indicator__left-label\")}>{label}</span>\n <span>{stepLabelTranslations[lang](activeStep, totalSteps)}</span>\n </div>\n\n <div className={clsx(\"hds-step-indicator__steps\")}>\n {Array.from({ length: totalSteps }, (_, i) => (\n <div\n className={clsx(\"hds-step-indicator__step\")}\n data-state={getStepState(i + 1, activeStep)}\n key={i}\n />\n ))}\n </div>\n\n {title ? (\n <TitleComponent className={clsx(\"hds-step-indicator__title\")}>{title}</TitleComponent>\n ) : null}\n </div>\n );\n}\n\n/**\n * Translated texts for the `step x of y` label.\n */\nconst stepLabelTranslations: Record<\n \"no\" | \"en\" | \"da\" | \"sv\",\n (activeStep: number, totalSteps: number) => string\n> = {\n no: (activeStep: number, totalSteps: number) => `steg ${activeStep} av ${totalSteps}`,\n en: (activeStep: number, totalSteps: number) => `step ${activeStep} of ${totalSteps}`,\n da: (activeStep: number, totalSteps: number) => `trin ${activeStep} af ${totalSteps}`,\n sv: (activeStep: number, totalSteps: number) => `steg ${activeStep} av ${totalSteps}`,\n};\n\n/**\n * Determine the state of a step.\n * 1-indexed\n */\nfunction getStepState(renderedStep: number, activeStep: number) {\n if (renderedStep < activeStep) {\n return \"previous\";\n }\n if (renderedStep === activeStep) {\n return \"active\";\n }\n return \"next\";\n}\n"],"mappings":";;;;;;;AAAA,SAAS,YAAY;AAwDf,SACE,KADF;AAZC,SAAS,cAAc,IASM;AATN,eAC5B;AAAA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,OAAO;AAAA,IACP;AAAA,IACA,SAAS;AAAA,EAnDX,IA4C8B,IAQzB,iBARyB,IAQzB;AAAA,IAPH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGA,SACE,qBAAC,sCAAI,WAAW,KAAK,sBAAsB,SAAsB,GAAG,QAAgB,OAAnF,EACC;AAAA,yBAAC,SAAI,WAAW,KAAK,4BAA4B,GAC/C;AAAA,0BAAC,UAAK,WAAW,KAAK,gCAAgC,GAAI,iBAAM;AAAA,MAChE,oBAAC,UAAM,gCAAsB,IAAI,EAAE,YAAY,UAAU,GAAE;AAAA,OAC7D;AAAA,IAEA,oBAAC,SAAI,WAAW,KAAK,2BAA2B,GAC7C,gBAAM,KAAK,EAAE,QAAQ,WAAW,GAAG,CAAC,GAAG,MACtC;AAAA,MAAC;AAAA;AAAA,QACC,WAAW,KAAK,0BAA0B;AAAA,QAC1C,cAAY,aAAa,IAAI,GAAG,UAAU;AAAA;AAAA,MACrC;AAAA,IACP,CACD,GACH;AAAA,IAEC,QACC,oBAAC,kBAAe,WAAW,KAAK,2BAA2B,GAAI,iBAAM,IACnE;AAAA,MACN;AAEJ;AAKA,IAAM,wBAGF;AAAA,EACF,IAAI,CAAC,YAAoB,eAAuB,QAAQ,UAAU,OAAO,UAAU;AAAA,EACnF,IAAI,CAAC,YAAoB,eAAuB,QAAQ,UAAU,OAAO,UAAU;AAAA,EACnF,IAAI,CAAC,YAAoB,eAAuB,QAAQ,UAAU,OAAO,UAAU;AAAA,EACnF,IAAI,CAAC,YAAoB,eAAuB,QAAQ,UAAU,OAAO,UAAU;AACrF;AAMA,SAAS,aAAa,cAAsB,YAAoB;AAC9D,MAAI,eAAe,YAAY;AAC7B,WAAO;AAAA,EACT;AACA,MAAI,iBAAiB,YAAY;AAC/B,WAAO;AAAA,EACT;AACA,SAAO;AACT;","names":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Message,
|
|
3
|
+
MessageDescription,
|
|
4
|
+
MessageTitle
|
|
5
|
+
} from "./chunk-IDDIXDNV.mjs";
|
|
6
|
+
|
|
7
|
+
// src/message/index.tsx
|
|
8
|
+
var MessageComponent = Message;
|
|
9
|
+
MessageComponent.Title = MessageTitle;
|
|
10
|
+
MessageComponent.Description = MessageDescription;
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
MessageComponent
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=chunk-QOBS2TS5.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/message/index.tsx"],"sourcesContent":["import { Message, MessageTitle, MessageDescription } from \"./message\";\n\nconst MessageComponent = Message as typeof Message & {\n Title: typeof MessageTitle;\n Description: typeof MessageDescription;\n};\n\nMessageComponent.Title = MessageTitle;\nMessageComponent.Description = MessageDescription;\n\nexport { MessageComponent as Message };\n"],"mappings":";;;;;;;AAEA,IAAM,mBAAmB;AAKzB,iBAAiB,QAAQ;AACzB,iBAAiB,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-T24JZIQO.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NavbarExpandableMenu,
|
|
3
|
+
NavbarExpandableMenuContent,
|
|
4
|
+
NavbarExpandableMenuTrigger
|
|
5
|
+
} from "./chunk-LK62DXGG.mjs";
|
|
6
|
+
import {
|
|
7
|
+
Navbar,
|
|
8
|
+
NavbarButton,
|
|
9
|
+
NavbarLogo,
|
|
10
|
+
NavbarNavigation
|
|
11
|
+
} from "./chunk-76XO5GE7.mjs";
|
|
12
|
+
|
|
13
|
+
// src/navbar/index.tsx
|
|
14
|
+
var NavbarExpandableMenuComponent = NavbarExpandableMenu;
|
|
15
|
+
NavbarExpandableMenuComponent.Trigger = NavbarExpandableMenuTrigger;
|
|
16
|
+
NavbarExpandableMenuComponent.Content = NavbarExpandableMenuContent;
|
|
17
|
+
var NavbarComponent = Navbar;
|
|
18
|
+
NavbarComponent.Logo = NavbarLogo;
|
|
19
|
+
NavbarComponent.ExpandableMenu = NavbarExpandableMenuComponent;
|
|
20
|
+
NavbarComponent.Button = NavbarButton;
|
|
21
|
+
NavbarComponent.Navigation = NavbarNavigation;
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
NavbarComponent
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=chunk-T3EC54VN.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/navbar/index.tsx"],"sourcesContent":["import { Navbar, NavbarLogo, NavbarButton, NavbarNavigation } from \"./navbar\";\nimport {\n NavbarExpandableMenu,\n NavbarExpandableMenuTrigger,\n NavbarExpandableMenuContent,\n} from \"./navbar-expandable-menu\";\n\nconst NavbarExpandableMenuComponent = NavbarExpandableMenu as typeof NavbarExpandableMenu & {\n Trigger: typeof NavbarExpandableMenuTrigger;\n Content: typeof NavbarExpandableMenuContent;\n};\nNavbarExpandableMenuComponent.Trigger = NavbarExpandableMenuTrigger;\nNavbarExpandableMenuComponent.Content = NavbarExpandableMenuContent;\n\nconst NavbarComponent = Navbar as typeof Navbar & {\n Logo: typeof NavbarLogo;\n ExpandableMenu: typeof NavbarExpandableMenuComponent;\n Button: typeof NavbarButton;\n Navigation: typeof NavbarNavigation;\n};\nNavbarComponent.Logo = NavbarLogo;\nNavbarComponent.ExpandableMenu = NavbarExpandableMenuComponent;\nNavbarComponent.Button = NavbarButton;\nNavbarComponent.Navigation = NavbarNavigation;\n\nexport { NavbarComponent as Navbar };\nexport type * from \"./navbar\";\n"],"mappings":";;;;;;;;;;;;;AAOA,IAAM,gCAAgC;AAItC,8BAA8B,UAAU;AACxC,8BAA8B,UAAU;AAExC,IAAM,kBAAkB;AAMxB,gBAAgB,OAAO;AACvB,gBAAgB,iBAAiB;AACjC,gBAAgB,SAAS;AACzB,gBAAgB,aAAa;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-TJH5QJMS.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AccordionItemContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V3PAFMK5.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadProps,
|
|
@@ -39,4 +39,4 @@ AccordionContent.displayName = "Accordion.Content";
|
|
|
39
39
|
export {
|
|
40
40
|
AccordionContent
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-VUD7AVYO.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TabsContext
|
|
3
|
-
} from "./chunk-642AR63O.mjs";
|
|
4
1
|
import {
|
|
5
2
|
useResize
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WCA2WPFS.mjs";
|
|
4
|
+
import {
|
|
5
|
+
TabsContext
|
|
6
|
+
} from "./chunk-33JD5XDW.mjs";
|
|
7
7
|
import {
|
|
8
8
|
__objRest,
|
|
9
9
|
__spreadProps,
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
TabsList,
|
|
78
78
|
Tab
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-WXU2FTGO.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-XLLYMQLW.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnorderedList
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YJBADJDW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadValues
|
|
@@ -11,17 +11,11 @@ import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
|
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
12
12
|
function LinkList(_a) {
|
|
13
13
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
15
|
-
UnorderedList,
|
|
16
|
-
__spreadValues({
|
|
17
|
-
className: clsx("hds-list--link-list", className),
|
|
18
|
-
listStyle: "no-bullets"
|
|
19
|
-
}, rest)
|
|
20
|
-
);
|
|
14
|
+
return /* @__PURE__ */ jsx(UnorderedList, __spreadValues({ className: clsx("hds-list--link-list", className) }, rest));
|
|
21
15
|
}
|
|
22
16
|
LinkList.displayName = "LinkList";
|
|
23
17
|
|
|
24
18
|
export {
|
|
25
19
|
LinkList
|
|
26
20
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
//# sourceMappingURL=chunk-XU3GLCG4.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/list/link-list.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { clsx } from \"@postenbring/hedwig-css/typed-classname/index.mjs\";\nimport type { ListProps } from \"./list\";\nimport { UnorderedList } from \"./list\";\n\nexport interface LinkListProps extends Omit<ListProps, \"listStyle\"> {\n children?: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[];\n}\n\n/**\n * Show a list of links\n *\n * For other list types use `UnorderedList` and `OrderedList`, or use your own list component using the semantic `ul` and `ol` tags.\n */\nexport function LinkList({ className, ...rest }: LinkListProps) {\n return (\n <UnorderedList className={clsx(\"hds-list--link-list\", className as undefined)} {...rest} />\n );\n}\n\nLinkList.displayName = \"LinkList\";\n"],"mappings":";;;;;;;;;AACA,SAAS,YAAY;AAejB;AAFG,SAAS,SAAS,IAAuC;AAAvC,eAAE,YAd3B,IAcyB,IAAgB,iBAAhB,IAAgB,CAAd;AACzB,SACE,oBAAC,gCAAc,WAAW,KAAK,uBAAuB,SAAsB,KAAO,KAAM;AAE7F;AAEA,SAAS,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-Y5SUMFYJ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -11,31 +11,15 @@ function BaseList(_a) {
|
|
|
11
11
|
var _b = _a, {
|
|
12
12
|
as: ListTag = "ul",
|
|
13
13
|
children,
|
|
14
|
-
listStyle = "inherit",
|
|
15
14
|
size = "medium",
|
|
16
15
|
className
|
|
17
16
|
} = _b, rest = __objRest(_b, [
|
|
18
17
|
"as",
|
|
19
18
|
"children",
|
|
20
|
-
"listStyle",
|
|
21
19
|
"size",
|
|
22
20
|
"className"
|
|
23
21
|
]);
|
|
24
|
-
return /* @__PURE__ */ jsx(
|
|
25
|
-
ListTag,
|
|
26
|
-
__spreadProps(__spreadValues({
|
|
27
|
-
className: clsx(
|
|
28
|
-
"hds-list",
|
|
29
|
-
`hds-list--${size}`,
|
|
30
|
-
{
|
|
31
|
-
"hds-list--no-bullets": listStyle === "no-bullets"
|
|
32
|
-
},
|
|
33
|
-
className
|
|
34
|
-
)
|
|
35
|
-
}, rest), {
|
|
36
|
-
children
|
|
37
|
-
})
|
|
38
|
-
);
|
|
22
|
+
return /* @__PURE__ */ jsx(ListTag, __spreadProps(__spreadValues({ className: clsx("hds-list", `hds-list--${size}`, className) }, rest), { children }));
|
|
39
23
|
}
|
|
40
24
|
function UnorderedList(props) {
|
|
41
25
|
return /* @__PURE__ */ jsx(BaseList, __spreadProps(__spreadValues({ as: "ul" }, props), { children: props.children }));
|
|
@@ -51,4 +35,4 @@ export {
|
|
|
51
35
|
UnorderedList,
|
|
52
36
|
OrderedList
|
|
53
37
|
};
|
|
54
|
-
//# sourceMappingURL=chunk-
|
|
38
|
+
//# sourceMappingURL=chunk-YJBADJDW.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/list/list.tsx"],"sourcesContent":["import type { HTMLAttributes } from \"react\";\nimport * as React from \"react\";\nimport { clsx } from \"@postenbring/hedwig-css/typed-classname/index.mjs\";\n\nexport interface ListProps extends HTMLAttributes<HTMLOListElement | HTMLUListElement> {\n children?: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[];\n /**\n * Sets the size of the items (font)\n */\n size?: \"small\" | \"medium\" | \"large\";\n}\n\nfunction BaseList({\n as: ListTag = \"ul\",\n children,\n size = \"medium\",\n className,\n ...rest\n}: ListProps & { as?: \"ul\" | \"ol\" }) {\n return (\n <ListTag className={clsx(\"hds-list\", `hds-list--${size}`, className as undefined)} {...rest}>\n {children}\n </ListTag>\n );\n}\n\n/**\n * An unordered list of simple items, often text. You can nest other lists inside this component.\n *\n * If you have other list needs build your own using the semantic `ul` and `ol` tags.\n */\nexport function UnorderedList(props: ListProps) {\n return (\n <BaseList as=\"ul\" {...props}>\n {props.children}\n </BaseList>\n );\n}\n\n/**\n * An ordered list of simple items\n *\n * If you have other list needs build your own using the semantic `ul` and `ol` tags.\n */\nexport function OrderedList(props: ListProps) {\n return (\n <BaseList as=\"ol\" {...props}>\n {props.children}\n </BaseList>\n );\n}\n\nBaseList.displayName = \"BaseList\";\nOrderedList.displayName = \"OrderedList\";\nUnorderedList.displayName = \"UnorderedList\";\n"],"mappings":";;;;;;;AAEA,SAAS,YAAY;AAkBjB;AARJ,SAAS,SAAS,IAMmB;AANnB,eAChB;AAAA,QAAI,UAAU;AAAA,IACd;AAAA,IACA,OAAO;AAAA,IACP;AAAA,EAhBF,IAYkB,IAKb,iBALa,IAKb;AAAA,IAJH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGA,SACE,oBAAC,wCAAQ,WAAW,KAAK,YAAY,aAAa,IAAI,IAAI,SAAsB,KAAO,OAAtF,EACE,WACH;AAEJ;AAOO,SAAS,cAAc,OAAkB;AAC9C,SACE,oBAAC,yCAAS,IAAG,QAAS,QAArB,EACE,gBAAM,WACT;AAEJ;AAOO,SAAS,YAAY,OAAkB;AAC5C,SACE,oBAAC,yCAAS,IAAG,QAAS,QAArB,EACE,gBAAM,WACT;AAEJ;AAEA,SAAS,cAAc;AACvB,YAAY,cAAc;AAC1B,cAAc,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-YJOOSTJC.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-ZOCMUEOX.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/box/index.tsx"],"sourcesContent":["import { Box, BoxCloseButton } from \"./box\";\n\nconst BoxComponent = Box as typeof Box & {\n CloseButton: typeof BoxCloseButton;\n};\nBoxComponent.CloseButton = BoxCloseButton;\n\nexport { BoxComponent as Box };\n\nexport type * from \"./box\";\n"],"mappings":";;;;;;AAEA,IAAM,eAAe;AAGrB,aAAa,cAAc;","names":[]}
|