@swisspost/design-system-components 10.0.0-next.39 → 10.0.0-next.41
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/cjs/breakpoints-DIH5Oaz7.js +186 -0
- package/dist/cjs/event-from-AKK8RQrn.js +107 -0
- package/dist/cjs/{get-root-8102fecd.js → get-root-DmyBVSJ_.js} +1 -1
- package/dist/cjs/{index-b60129c4.js → index-CRMt-jq2.js} +1172 -313
- package/dist/cjs/index.cjs.js +0 -72
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/{package-29dc73af.js → package-C2pR6Vs2.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +183 -0
- package/dist/cjs/post-avatar.cjs.entry.js +151 -8
- package/dist/cjs/post-back-to-top.cjs.entry.js +86 -9
- package/dist/cjs/post-banner.cjs.entry.js +81 -9
- package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +62 -8
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +119 -7
- package/dist/cjs/post-card-control.cjs.entry.js +283 -8
- package/dist/cjs/post-closebutton_15.cjs.entry.js +4376 -30
- package/dist/cjs/post-collapsible_2.cjs.entry.js +196 -10
- package/dist/cjs/post-components.cjs.js +7 -8
- package/dist/cjs/post-footer.cjs.entry.js +59 -8
- package/dist/cjs/post-linkarea.cjs.entry.js +24 -6
- package/dist/cjs/post-popover.cjs.entry.js +151 -8
- package/dist/cjs/post-rating.cjs.entry.js +115 -8
- package/dist/cjs/post-tab-header.cjs.entry.js +26 -9
- package/dist/cjs/post-tab-panel.cjs.entry.js +28 -9
- package/dist/cjs/post-tabs.cjs.entry.js +165 -7
- package/dist/cjs/post-tag.cjs.entry.js +50 -8
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +5195 -7
- package/dist/cjs/post-tooltip.cjs.entry.js +78 -9
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/post-accordion/post-accordion.css +1 -1
- package/dist/collection/components/post-accordion/post-accordion.js +39 -23
- package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +26 -12
- package/dist/collection/components/post-avatar/post-avatar.js +12 -9
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +4 -3
- package/dist/collection/components/post-banner/post-banner.js +18 -9
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +4 -6
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +13 -9
- package/dist/collection/components/post-card-control/post-card-control.js +33 -16
- package/dist/collection/components/post-collapsible/post-collapsible.js +6 -1
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +21 -9
- package/dist/collection/components/post-footer/post-footer.css +1 -1
- package/dist/collection/components/post-footer/post-footer.js +35 -15
- package/dist/collection/components/post-header/post-header.css +1 -1
- package/dist/collection/components/post-header/post-header.js +28 -16
- package/dist/collection/components/post-icon/post-icon.js +66 -54
- package/dist/collection/components/post-language-option/post-language-option.css +1 -1
- package/dist/collection/components/post-language-option/post-language-option.js +17 -13
- package/dist/collection/components/post-language-switch/post-language-switch.css +1 -1
- package/dist/collection/components/post-language-switch/post-language-switch.js +43 -24
- package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
- package/dist/collection/components/post-list/post-list.js +13 -4
- package/dist/collection/components/post-list-item/post-list-item.js +1 -1
- package/dist/collection/components/post-logo/post-logo.js +4 -5
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +12 -6
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +34 -20
- package/dist/collection/components/post-menu/post-menu.css +1 -1
- package/dist/collection/components/post-menu/post-menu.js +43 -21
- package/dist/collection/components/post-menu-item/post-menu-item.css +1 -0
- package/dist/collection/components/post-menu-item/post-menu-item.js +11 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +9 -5
- package/dist/collection/components/post-popover/post-popover.js +20 -6
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +44 -16
- package/dist/collection/components/post-rating/post-rating.js +26 -6
- package/dist/collection/components/post-tab-header/post-tab-header.js +4 -6
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +4 -6
- package/dist/collection/components/post-tabs/post-tabs.js +4 -3
- package/dist/collection/components/post-tag/post-tag.js +11 -9
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +8 -3
- package/dist/collection/components/post-tooltip/post-tooltip.js +25 -7
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +20 -12
- package/dist/collection/index.js +1 -37
- package/dist/collection/utils/breakpoints.js +38 -45
- package/dist/collection/utils/event-from.js +103 -0
- package/dist/collection/utils/index.js +1 -1
- package/dist/components/index.js +2315 -37
- package/dist/components/p-1KLiMO0w.js +3 -0
- package/dist/components/p-8U5GFtQP.js +105 -0
- package/dist/components/{post-menu2.js → p-BLhBouGz.js} +51 -30
- package/dist/{esm/index-ffccd040.js → components/p-CV7fm1rW.js} +1 -1
- package/dist/components/{post-menu-trigger2.js → p-CaPj3whI.js} +14 -12
- package/dist/components/{post-breadcrumb-item2.js → p-Cpaqct04.js} +9 -11
- package/dist/components/p-CtNCtg2z.js +114 -0
- package/dist/components/p-Cx0AiN2A.js +182 -0
- package/{loaders/post-collapsible-trigger2.js → dist/components/p-D3LhzIrC.js} +25 -14
- package/dist/components/{get-root.js → p-DBHo9yGF.js} +1 -1
- package/dist/components/p-DQuPPEca.js +31 -0
- package/dist/components/{post-accordion2.js → p-DlEtlaNu.js} +42 -29
- package/dist/components/{post-collapsible2.js → p-DphlfQse.js} +11 -8
- package/dist/components/{post-popovercontainer2.js → p-elg4VvHg.js} +246 -278
- package/{loaders/post-icon2.js → dist/components/p-fmA57Ivd.js} +52 -54
- package/dist/components/post-accordion-item.js +1 -1
- package/dist/components/post-accordion.js +1 -1
- package/dist/components/post-avatar.js +183 -1
- package/dist/components/post-back-to-top.js +115 -1
- package/dist/components/post-banner.js +120 -1
- package/dist/components/post-breadcrumb-item.js +1 -1
- package/dist/components/post-breadcrumbs.js +182 -1
- package/dist/components/post-card-control.js +322 -1
- package/dist/components/post-closebutton.js +37 -1
- package/dist/components/post-collapsible-trigger.js +1 -1
- package/dist/components/post-collapsible.js +1 -1
- package/dist/components/post-footer.js +112 -1
- package/dist/components/post-header.js +273 -1
- package/dist/components/post-icon.js +1 -1
- package/dist/components/post-language-option.js +96 -1
- package/dist/components/post-language-switch.js +154 -1
- package/dist/components/post-linkarea.js +41 -1
- package/dist/components/post-list-item.js +34 -1
- package/dist/components/post-list.js +57 -1
- package/dist/components/post-logo.js +54 -1
- package/dist/components/post-mainnavigation.js +181 -1
- package/dist/components/post-megadropdown-trigger.js +132 -1
- package/dist/components/post-megadropdown.js +194 -1
- package/dist/components/post-menu-item.js +1 -1
- package/dist/components/post-menu-trigger.js +1 -1
- package/dist/components/post-menu.js +1 -1
- package/dist/components/post-popover.js +184 -1
- package/dist/components/post-popovercontainer.js +1 -1
- package/dist/components/post-rating.js +148 -1
- package/dist/components/post-tab-header.js +48 -1
- package/dist/components/post-tab-panel.js +50 -1
- package/dist/components/post-tabs.js +186 -1
- package/dist/components/post-tag.js +82 -1
- package/dist/components/post-togglebutton.js +52 -1
- package/dist/components/post-tooltip-trigger.js +5218 -1
- package/dist/components/post-tooltip.js +110 -1
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +426 -118
- package/dist/esm/breakpoints-DyVir0ex.js +182 -0
- package/dist/esm/event-from-8U5GFtQP.js +105 -0
- package/{loaders/get-root.js → dist/esm/get-root-D9QC9-TY.js} +1 -1
- package/{loaders/index2.js → dist/esm/index-BWC0gtGU.js} +1 -1
- package/dist/esm/{index-f4d19816.js → index-CVhzhVv0.js} +1169 -309
- package/dist/esm/index.js +1 -31
- package/dist/esm/loader.js +3 -4
- package/dist/esm/package-1KLiMO0w.js +3 -0
- package/dist/esm/post-accordion_2.entry.js +180 -0
- package/dist/esm/post-avatar.entry.js +154 -5
- package/dist/esm/post-back-to-top.entry.js +89 -6
- package/dist/esm/post-banner.entry.js +85 -7
- package/dist/esm/post-breadcrumb-item_2.entry.js +65 -5
- package/dist/esm/post-breadcrumbs.entry.js +123 -5
- package/dist/esm/post-card-control.entry.js +286 -5
- package/dist/esm/post-closebutton_15.entry.js +4362 -10
- package/dist/esm/post-collapsible_2.entry.js +199 -7
- package/dist/esm/post-components.js +5 -5
- package/dist/esm/post-footer.entry.js +62 -5
- package/dist/esm/post-linkarea.entry.js +27 -3
- package/dist/esm/post-popover.entry.js +155 -6
- package/dist/esm/post-rating.entry.js +118 -5
- package/dist/esm/post-tab-header.entry.js +29 -6
- package/dist/esm/post-tab-panel.entry.js +31 -6
- package/dist/esm/post-tabs.entry.js +169 -5
- package/dist/esm/post-tag.entry.js +53 -5
- package/dist/esm/post-tooltip-trigger.entry.js +5199 -5
- package/dist/esm/post-tooltip.entry.js +81 -6
- package/dist/post-components/index.esm.js +0 -1
- package/dist/post-components/p-0d08ab13.entry.js +1 -0
- package/dist/post-components/p-1KLiMO0w.js +1 -0
- package/dist/post-components/p-1e006e29.entry.js +1 -0
- package/dist/post-components/p-3a5bdb7f.entry.js +1 -0
- package/dist/post-components/p-4214b85e.entry.js +1 -0
- package/dist/post-components/p-50916d48.entry.js +1 -0
- package/dist/post-components/p-5f4126d8.entry.js +1 -0
- package/dist/post-components/p-62982420.entry.js +1 -0
- package/dist/post-components/p-78f4dd12.entry.js +1 -0
- package/dist/post-components/p-7a7d237b.entry.js +1 -0
- package/dist/post-components/p-80174475.entry.js +1 -0
- package/dist/post-components/p-8U5GFtQP.js +1 -0
- package/dist/post-components/p-8d5a4218.entry.js +1 -0
- package/dist/post-components/p-8e89ccc1.entry.js +1 -0
- package/dist/post-components/p-9003674b.entry.js +1 -0
- package/dist/post-components/p-925aee3d.entry.js +1 -0
- package/dist/post-components/p-9b446561.entry.js +1 -0
- package/dist/post-components/p-9ec29527.entry.js +1 -0
- package/dist/post-components/{p-b176309b.js → p-BWC0gtGU.js} +1 -1
- package/dist/post-components/{p-6b31a76a.js → p-Bkp2QDth.js} +1 -1
- package/dist/post-components/p-CVhzhVv0.js +2 -0
- package/dist/post-components/p-DyVir0ex.js +1 -0
- package/dist/post-components/p-ec764922.entry.js +1 -0
- package/dist/post-components/p-fa550b4a.entry.js +1 -0
- package/dist/post-components/p-fb46e260.entry.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-footer/post-footer.d.ts +7 -3
- package/dist/types/components/post-header/post-header.d.ts +1 -0
- package/dist/types/components/post-icon/post-icon.d.ts +0 -4
- package/dist/types/components/post-language-switch/post-language-switch.d.ts +1 -0
- package/dist/types/components/post-tag/post-tag.d.ts +1 -1
- package/dist/types/components.d.ts +61 -1
- package/dist/types/index.d.ts +10 -37
- package/dist/types/stencil-public-runtime.d.ts +29 -1
- package/dist/types/utils/breakpoints.d.ts +12 -7
- package/dist/types/utils/event-from.d.ts +9 -0
- package/dist/types/utils/index.d.ts +1 -1
- package/hydrate/index.d.ts +273 -0
- package/hydrate/index.js +32002 -0
- package/hydrate/index.mjs +31994 -0
- package/hydrate/package.json +12 -0
- package/package.json +45 -17
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/breakpoints-cdf1b747.js +0 -59
- package/dist/cjs/event-guard-efabc84f.js +0 -47
- package/dist/cjs/heading-levels-608d432e.js +0 -5
- package/dist/cjs/post-accordion-c433c493.js +0 -105
- package/dist/cjs/post-accordion-item-8d5a301d.js +0 -64
- package/dist/cjs/post-accordion-item.cjs.entry.js +0 -16
- package/dist/cjs/post-accordion.cjs.entry.js +0 -15
- package/dist/cjs/post-avatar-421043df.js +0 -162
- package/dist/cjs/post-back-to-top-3cca3803.js +0 -93
- package/dist/cjs/post-banner-2e99c9d8.js +0 -87
- package/dist/cjs/post-breadcrumbs-1be50860.js +0 -126
- package/dist/cjs/post-card-control-0bfdad92.js +0 -290
- package/dist/cjs/post-collapsible-trigger-4180b218.js +0 -190
- package/dist/cjs/post-footer-92adffac.js +0 -48
- package/dist/cjs/post-linkarea-26c457b3.js +0 -30
- package/dist/cjs/post-menu-item-d0a53c84.js +0 -68
- package/dist/cjs/post-popover-36cead3d.js +0 -150
- package/dist/cjs/post-rating-f50a9939.js +0 -109
- package/dist/cjs/post-tab-header-f47508da.js +0 -34
- package/dist/cjs/post-tab-panel-7c51798b.js +0 -36
- package/dist/cjs/post-tabs-2debea01.js +0 -173
- package/dist/cjs/post-tag-ac62c57f.js +0 -60
- package/dist/cjs/post-togglebutton-43c46511.js +0 -4491
- package/dist/cjs/post-tooltip-b7dcfb44.js +0 -74
- package/dist/cjs/post-tooltip-trigger-904061b6.js +0 -4685
- package/dist/collection/utils/event-guard.js +0 -43
- package/dist/components/breakpoints.js +0 -56
- package/dist/components/event-guard.js +0 -45
- package/dist/components/index2.js +0 -88
- package/dist/components/package.js +0 -3
- package/dist/components/post-accordion-item2.js +0 -103
- package/dist/components/post-avatar2.js +0 -190
- package/dist/components/post-back-to-top2.js +0 -118
- package/dist/components/post-banner2.js +0 -121
- package/dist/components/post-breadcrumbs2.js +0 -184
- package/dist/components/post-card-control2.js +0 -325
- package/dist/components/post-closebutton2.js +0 -39
- package/dist/components/post-collapsible-trigger2.js +0 -125
- package/dist/components/post-footer2.js +0 -90
- package/dist/components/post-header2.js +0 -397
- package/dist/components/post-icon2.js +0 -156
- package/dist/components/post-language-option2.js +0 -102
- package/dist/components/post-language-switch2.js +0 -143
- package/dist/components/post-linkarea2.js +0 -43
- package/dist/components/post-list-item2.js +0 -36
- package/dist/components/post-list2.js +0 -54
- package/dist/components/post-logo2.js +0 -57
- package/dist/components/post-mainnavigation2.js +0 -183
- package/dist/components/post-megadropdown-trigger2.js +0 -121
- package/dist/components/post-megadropdown2.js +0 -190
- package/dist/components/post-menu-item2.js +0 -27
- package/dist/components/post-popover2.js +0 -178
- package/dist/components/post-rating2.js +0 -138
- package/dist/components/post-tab-header2.js +0 -52
- package/dist/components/post-tab-panel2.js +0 -54
- package/dist/components/post-tabs2.js +0 -189
- package/dist/components/post-tag2.js +0 -88
- package/dist/components/post-togglebutton2.js +0 -51
- package/dist/components/post-tooltip-trigger2.js +0 -4703
- package/dist/components/post-tooltip2.js +0 -102
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/breakpoints-7812702e.js +0 -56
- package/dist/esm/event-guard-538ee077.js +0 -45
- package/dist/esm/get-root-1b1af46f.js +0 -15
- package/dist/esm/heading-levels-5b7b4349.js +0 -3
- package/dist/esm/package-8503eaa8.js +0 -3
- package/dist/esm/post-accordion-9365faca.js +0 -103
- package/dist/esm/post-accordion-item-2dc8e3b7.js +0 -62
- package/dist/esm/post-accordion-item.entry.js +0 -8
- package/dist/esm/post-accordion.entry.js +0 -7
- package/dist/esm/post-avatar-4f73dc4d.js +0 -160
- package/dist/esm/post-back-to-top-8f759d32.js +0 -91
- package/dist/esm/post-banner-ad979275.js +0 -85
- package/dist/esm/post-breadcrumbs-a20336c7.js +0 -124
- package/dist/esm/post-card-control-3c77e778.js +0 -288
- package/dist/esm/post-collapsible-trigger-5fd0e193.js +0 -187
- package/dist/esm/post-footer-3e117b5a.js +0 -46
- package/dist/esm/post-linkarea-16a14609.js +0 -28
- package/dist/esm/post-menu-item-b1604fe4.js +0 -65
- package/dist/esm/post-popover-49096648.js +0 -148
- package/dist/esm/post-rating-405bee8f.js +0 -107
- package/dist/esm/post-tab-header-b228c217.js +0 -32
- package/dist/esm/post-tab-panel-98110b64.js +0 -34
- package/dist/esm/post-tabs-44d9313c.js +0 -171
- package/dist/esm/post-tag-99cc9616.js +0 -58
- package/dist/esm/post-togglebutton-ea73e63f.js +0 -4475
- package/dist/esm/post-tooltip-78cd2988.js +0 -72
- package/dist/esm/post-tooltip-trigger-bdb21c45.js +0 -4683
- package/dist/post-components/p-0889c759.js +0 -1
- package/dist/post-components/p-09dd5aa4.js +0 -1
- package/dist/post-components/p-0f9322e5.js +0 -8
- package/dist/post-components/p-11572299.js +0 -1
- package/dist/post-components/p-19a83519.entry.js +0 -1
- package/dist/post-components/p-1afb3c43.entry.js +0 -1
- package/dist/post-components/p-214cd032.js +0 -1
- package/dist/post-components/p-21e5b028.js +0 -1
- package/dist/post-components/p-2320305b.js +0 -1
- package/dist/post-components/p-247a1668.js +0 -1
- package/dist/post-components/p-2523f97b.entry.js +0 -1
- package/dist/post-components/p-2bd3a436.js +0 -1
- package/dist/post-components/p-2ce8fbf5.js +0 -1
- package/dist/post-components/p-2f879f4e.entry.js +0 -1
- package/dist/post-components/p-33e26845.entry.js +0 -1
- package/dist/post-components/p-38b1c71e.entry.js +0 -1
- package/dist/post-components/p-38d59732.js +0 -1
- package/dist/post-components/p-3a67f1ff.js +0 -1
- package/dist/post-components/p-41450b6c.entry.js +0 -1
- package/dist/post-components/p-4c23ed05.entry.js +0 -1
- package/dist/post-components/p-57746c40.js +0 -1
- package/dist/post-components/p-6313d72e.entry.js +0 -1
- package/dist/post-components/p-64e0b0fc.js +0 -1
- package/dist/post-components/p-658a2e34.entry.js +0 -1
- package/dist/post-components/p-722ffaae.js +0 -1
- package/dist/post-components/p-746d3cd3.entry.js +0 -1
- package/dist/post-components/p-79a2dad0.entry.js +0 -1
- package/dist/post-components/p-7dd1807c.js +0 -1
- package/dist/post-components/p-817fbeaf.js +0 -1
- package/dist/post-components/p-85950200.js +0 -1
- package/dist/post-components/p-8ebecf22.entry.js +0 -1
- package/dist/post-components/p-8ed1cb53.entry.js +0 -1
- package/dist/post-components/p-91244b25.js +0 -1
- package/dist/post-components/p-91675004.js +0 -1
- package/dist/post-components/p-94ebc430.js +0 -1
- package/dist/post-components/p-95727a4f.entry.js +0 -1
- package/dist/post-components/p-9e461613.js +0 -2
- package/dist/post-components/p-a844da3a.entry.js +0 -1
- package/dist/post-components/p-af900651.js +0 -1
- package/dist/post-components/p-b373659e.entry.js +0 -1
- package/dist/post-components/p-b500b245.js +0 -1
- package/dist/post-components/p-bf182745.entry.js +0 -1
- package/dist/post-components/p-c9b6f9e7.entry.js +0 -1
- package/dist/post-components/p-cb7d8f67.entry.js +0 -1
- package/dist/post-components/p-e1255160.js +0 -1
- package/dist/post-components/p-e28eb73a.js +0 -1
- package/dist/types/popover-fn.d.ts +0 -11
- package/dist/types/utils/event-guard.d.ts +0 -4
- package/loader/package.json +0 -11
- package/loaders/breakpoints.js +0 -56
- package/loaders/event-guard.js +0 -45
- package/loaders/fade.js +0 -11
- package/loaders/get-focusable-children.js +0 -35
- package/loaders/heading-levels.js +0 -3
- package/loaders/index.browser.js +0 -14
- package/loaders/index.d.ts +0 -108
- package/loaders/index.js +0 -39
- package/loaders/long-press-event.js +0 -264
- package/loaders/package.js +0 -3
- package/loaders/post-accordion-item.d.ts +0 -11
- package/loaders/post-accordion-item.js +0 -6
- package/loaders/post-accordion-item2.js +0 -103
- package/loaders/post-accordion.d.ts +0 -11
- package/loaders/post-accordion.js +0 -129
- package/loaders/post-avatar.d.ts +0 -11
- package/loaders/post-avatar.js +0 -193
- package/loaders/post-back-to-top.d.ts +0 -11
- package/loaders/post-back-to-top.js +0 -121
- package/loaders/post-banner.d.ts +0 -11
- package/loaders/post-banner.js +0 -124
- package/loaders/post-breadcrumb-item.d.ts +0 -11
- package/loaders/post-breadcrumb-item.js +0 -6
- package/loaders/post-breadcrumb-item2.js +0 -82
- package/loaders/post-breadcrumbs.d.ts +0 -11
- package/loaders/post-breadcrumbs.js +0 -187
- package/loaders/post-card-control.d.ts +0 -11
- package/loaders/post-card-control.js +0 -328
- package/loaders/post-closebutton.d.ts +0 -11
- package/loaders/post-closebutton.js +0 -42
- package/loaders/post-collapsible-trigger.d.ts +0 -11
- package/loaders/post-collapsible-trigger.js +0 -6
- package/loaders/post-collapsible.d.ts +0 -11
- package/loaders/post-collapsible.js +0 -6
- package/loaders/post-collapsible2.js +0 -108
- package/loaders/post-footer.d.ts +0 -11
- package/loaders/post-footer.js +0 -93
- package/loaders/post-header.d.ts +0 -11
- package/loaders/post-header.js +0 -400
- package/loaders/post-icon.d.ts +0 -11
- package/loaders/post-icon.js +0 -6
- package/loaders/post-language-option.d.ts +0 -11
- package/loaders/post-language-option.js +0 -105
- package/loaders/post-language-switch.d.ts +0 -11
- package/loaders/post-language-switch.js +0 -146
- package/loaders/post-linkarea.d.ts +0 -11
- package/loaders/post-linkarea.js +0 -46
- package/loaders/post-list-item.d.ts +0 -11
- package/loaders/post-list-item.js +0 -39
- package/loaders/post-list.d.ts +0 -11
- package/loaders/post-list.js +0 -57
- package/loaders/post-logo.d.ts +0 -11
- package/loaders/post-logo.js +0 -60
- package/loaders/post-mainnavigation.d.ts +0 -11
- package/loaders/post-mainnavigation.js +0 -186
- package/loaders/post-megadropdown-trigger.d.ts +0 -11
- package/loaders/post-megadropdown-trigger.js +0 -124
- package/loaders/post-megadropdown.d.ts +0 -11
- package/loaders/post-megadropdown.js +0 -193
- package/loaders/post-menu-item.d.ts +0 -11
- package/loaders/post-menu-item.js +0 -6
- package/loaders/post-menu-item2.js +0 -27
- package/loaders/post-menu-trigger.d.ts +0 -11
- package/loaders/post-menu-trigger.js +0 -6
- package/loaders/post-menu-trigger2.js +0 -109
- package/loaders/post-menu.d.ts +0 -11
- package/loaders/post-menu.js +0 -6
- package/loaders/post-menu2.js +0 -202
- package/loaders/post-popover.d.ts +0 -11
- package/loaders/post-popover.js +0 -181
- package/loaders/post-popovercontainer.d.ts +0 -11
- package/loaders/post-popovercontainer.js +0 -6
- package/loaders/post-popovercontainer2.js +0 -3051
- package/loaders/post-rating.d.ts +0 -11
- package/loaders/post-rating.js +0 -141
- package/loaders/post-tab-header.d.ts +0 -11
- package/loaders/post-tab-header.js +0 -55
- package/loaders/post-tab-panel.d.ts +0 -11
- package/loaders/post-tab-panel.js +0 -57
- package/loaders/post-tabs.d.ts +0 -11
- package/loaders/post-tabs.js +0 -192
- package/loaders/post-tag.d.ts +0 -11
- package/loaders/post-tag.js +0 -91
- package/loaders/post-togglebutton.d.ts +0 -11
- package/loaders/post-togglebutton.js +0 -54
- package/loaders/post-tooltip-trigger.d.ts +0 -11
- package/loaders/post-tooltip-trigger.js +0 -4706
- package/loaders/post-tooltip.d.ts +0 -11
- package/loaders/post-tooltip.js +0 -105
- package/loaders/slide.js +0 -25
- package/loaders/switch-variants.js +0 -3
- /package/dist/cjs/{fade-72d5ef55.js → fade-nS5zzDQS.js} +0 -0
- /package/dist/cjs/{index-2b2b85e5.js → index-DtvYdwe1.js} +0 -0
- /package/dist/cjs/{index.browser-4af21c17.js → index.browser-Doj636JV.js} +0 -0
- /package/dist/cjs/{long-press-event-6e62d113.js → long-press-event-Q8jMUNXD.js} +0 -0
- /package/dist/cjs/{placement-b2bb6ec4.js → placement-qEFR9hmI.js} +0 -0
- /package/dist/cjs/{slide-cd1f09b3.js → slide-CbBL7A8w.js} +0 -0
- /package/dist/components/{index.browser.js → p-BLchVpF6.js} +0 -0
- /package/dist/components/{slide.js → p-BuLMaH5t.js} +0 -0
- /package/dist/components/{get-focusable-children.js → p-C35MCWIp.js} +0 -0
- /package/dist/components/{long-press-event.js → p-C_2k3G1c.js} +0 -0
- /package/dist/components/{switch-variants.js → p-DjIHLduJ.js} +0 -0
- /package/dist/components/{fade.js → p-SbIC4aZX.js} +0 -0
- /package/dist/components/{heading-levels.js → p-r4txK0AC.js} +0 -0
- /package/dist/esm/{fade-1f3cacf4.js → fade-SbIC4aZX.js} +0 -0
- /package/dist/esm/{index.browser-ff103197.js → index.browser-BLchVpF6.js} +0 -0
- /package/dist/esm/{long-press-event-04d24397.js → long-press-event-C_2k3G1c.js} +0 -0
- /package/dist/esm/{placement-8d56605d.js → placement-DRiVosES.js} +0 -0
- /package/dist/esm/{slide-cd2850ee.js → slide-BuLMaH5t.js} +0 -0
- /package/dist/post-components/{p-c65f32b0.js → p-BLchVpF6.js} +0 -0
- /package/dist/post-components/{p-9b052461.js → p-BuLMaH5t.js} +0 -0
- /package/dist/post-components/{p-8db32dab.js → p-C_2k3G1c.js} +0 -0
- /package/dist/post-components/{p-59a38c23.js → p-DRiVosES.js} +0 -0
- /package/dist/post-components/{p-64e3de38.js → p-SbIC4aZX.js} +0 -0
|
@@ -29,6 +29,7 @@ export namespace Components {
|
|
|
29
29
|
"headingLevel": HeadingLevel;
|
|
30
30
|
/**
|
|
31
31
|
* If `true`, multiple `post-accordion-item` can be open at the same time.
|
|
32
|
+
* @default false
|
|
32
33
|
*/
|
|
33
34
|
"multiple": boolean;
|
|
34
35
|
/**
|
|
@@ -39,6 +40,7 @@ export namespace Components {
|
|
|
39
40
|
interface PostAccordionItem {
|
|
40
41
|
/**
|
|
41
42
|
* If `true`, the element is collapsed otherwise it is displayed.
|
|
43
|
+
* @default false
|
|
42
44
|
*/
|
|
43
45
|
"collapsed"?: boolean;
|
|
44
46
|
/**
|
|
@@ -86,6 +88,7 @@ export namespace Components {
|
|
|
86
88
|
"dismissLabel"?: string;
|
|
87
89
|
/**
|
|
88
90
|
* If `true`, a close button (×) is displayed and the banner can be dismissed by the user.
|
|
91
|
+
* @default false
|
|
89
92
|
*/
|
|
90
93
|
"dismissible": boolean;
|
|
91
94
|
/**
|
|
@@ -94,6 +97,7 @@ export namespace Components {
|
|
|
94
97
|
"icon"?: string;
|
|
95
98
|
/**
|
|
96
99
|
* The type of the banner.
|
|
100
|
+
* @default 'neutral'
|
|
97
101
|
*/
|
|
98
102
|
"type": BannerType;
|
|
99
103
|
}
|
|
@@ -106,6 +110,7 @@ export namespace Components {
|
|
|
106
110
|
interface PostBreadcrumbs {
|
|
107
111
|
/**
|
|
108
112
|
* The text label for the home breadcrumb item.
|
|
113
|
+
* @default 'Home'
|
|
109
114
|
*/
|
|
110
115
|
"homeText": string;
|
|
111
116
|
/**
|
|
@@ -119,6 +124,7 @@ export namespace Components {
|
|
|
119
124
|
interface PostCardControl {
|
|
120
125
|
/**
|
|
121
126
|
* Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms' data.
|
|
127
|
+
* @default false
|
|
122
128
|
*/
|
|
123
129
|
"checked": boolean;
|
|
124
130
|
/**
|
|
@@ -127,6 +133,7 @@ export namespace Components {
|
|
|
127
133
|
"description"?: string;
|
|
128
134
|
/**
|
|
129
135
|
* Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms' data.
|
|
136
|
+
* @default false
|
|
130
137
|
*/
|
|
131
138
|
"disabled": boolean;
|
|
132
139
|
/**
|
|
@@ -167,6 +174,7 @@ export namespace Components {
|
|
|
167
174
|
interface PostCollapsible {
|
|
168
175
|
/**
|
|
169
176
|
* If `true`, the element is collapsed otherwise it is displayed.
|
|
177
|
+
* @default false
|
|
170
178
|
*/
|
|
171
179
|
"collapsed"?: boolean;
|
|
172
180
|
/**
|
|
@@ -210,10 +218,12 @@ export namespace Components {
|
|
|
210
218
|
"base"?: string;
|
|
211
219
|
/**
|
|
212
220
|
* When set to `true`, the icon will be flipped horizontally.
|
|
221
|
+
* @default false
|
|
213
222
|
*/
|
|
214
223
|
"flipH"?: boolean;
|
|
215
224
|
/**
|
|
216
225
|
* When set to `true`, the icon will be flipped vertically.
|
|
226
|
+
* @default false
|
|
217
227
|
*/
|
|
218
228
|
"flipV"?: boolean;
|
|
219
229
|
/**
|
|
@@ -266,6 +276,7 @@ export namespace Components {
|
|
|
266
276
|
"description": string;
|
|
267
277
|
/**
|
|
268
278
|
* Whether the component is rendered as a list or a menu
|
|
279
|
+
* @default 'list'
|
|
269
280
|
*/
|
|
270
281
|
"variant": SwitchVariant;
|
|
271
282
|
}
|
|
@@ -274,10 +285,12 @@ export namespace Components {
|
|
|
274
285
|
interface PostList {
|
|
275
286
|
/**
|
|
276
287
|
* The list can become horizontal by setting `horizontal="true"` or just `horizontal`
|
|
288
|
+
* @default false
|
|
277
289
|
*/
|
|
278
290
|
"horizontal": boolean;
|
|
279
291
|
/**
|
|
280
292
|
* If `true`, the list title will be hidden. Otherwise, it will be displayed.`
|
|
293
|
+
* @default false
|
|
281
294
|
*/
|
|
282
295
|
"titleHidden": boolean;
|
|
283
296
|
}
|
|
@@ -322,6 +335,7 @@ export namespace Components {
|
|
|
322
335
|
"hide": () => Promise<void>;
|
|
323
336
|
/**
|
|
324
337
|
* Defines the position of the menu relative to its trigger. Menus are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
|
|
338
|
+
* @default 'bottom'
|
|
325
339
|
*/
|
|
326
340
|
"placement"?: Placement;
|
|
327
341
|
/**
|
|
@@ -345,6 +359,7 @@ export namespace Components {
|
|
|
345
359
|
interface PostPopover {
|
|
346
360
|
/**
|
|
347
361
|
* Show a little indicator arrow
|
|
362
|
+
* @default true
|
|
348
363
|
*/
|
|
349
364
|
"arrow"?: boolean;
|
|
350
365
|
/**
|
|
@@ -357,6 +372,7 @@ export namespace Components {
|
|
|
357
372
|
"hide": () => Promise<void>;
|
|
358
373
|
/**
|
|
359
374
|
* Defines the position of the popover relative to its trigger. Popovers are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
|
|
375
|
+
* @default 'top'
|
|
360
376
|
*/
|
|
361
377
|
"placement"?: Placement;
|
|
362
378
|
/**
|
|
@@ -374,14 +390,17 @@ export namespace Components {
|
|
|
374
390
|
interface PostPopovercontainer {
|
|
375
391
|
/**
|
|
376
392
|
* Animation style
|
|
393
|
+
* @default null
|
|
377
394
|
*/
|
|
378
395
|
"animation"?: 'pop-in' | null;
|
|
379
396
|
/**
|
|
380
397
|
* Whether or not to display a little pointer arrow
|
|
398
|
+
* @default false
|
|
381
399
|
*/
|
|
382
400
|
"arrow"?: boolean;
|
|
383
401
|
/**
|
|
384
402
|
* Gap between the edge of the page and the popovercontainer
|
|
403
|
+
* @default 8
|
|
385
404
|
*/
|
|
386
405
|
"edgeGap"?: number;
|
|
387
406
|
/**
|
|
@@ -390,10 +409,12 @@ export namespace Components {
|
|
|
390
409
|
"hide": () => Promise<void>;
|
|
391
410
|
/**
|
|
392
411
|
* Whether or not the popovercontainer should close when user clicks outside of it
|
|
412
|
+
* @default false
|
|
393
413
|
*/
|
|
394
414
|
"manualClose": boolean;
|
|
395
415
|
/**
|
|
396
416
|
* Defines the placement of the popovercontainer according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement. Popovercontainers are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
|
|
417
|
+
* @default 'top'
|
|
397
418
|
*/
|
|
398
419
|
"placement"?: Placement;
|
|
399
420
|
/**
|
|
@@ -415,18 +436,22 @@ export namespace Components {
|
|
|
415
436
|
interface PostRating {
|
|
416
437
|
/**
|
|
417
438
|
* Defines the rating that the component should show.
|
|
439
|
+
* @default 0
|
|
418
440
|
*/
|
|
419
441
|
"currentRating": number;
|
|
420
442
|
/**
|
|
421
443
|
* Defines a hidden label for the component.
|
|
444
|
+
* @default 'Rating'
|
|
422
445
|
*/
|
|
423
446
|
"label": string;
|
|
424
447
|
/**
|
|
425
448
|
* Defines if the component is readonly or not. This usually should be used together with the `currentRating` property.
|
|
449
|
+
* @default false
|
|
426
450
|
*/
|
|
427
451
|
"readonly": boolean;
|
|
428
452
|
/**
|
|
429
453
|
* Defines the total amount of stars rendered in the component.
|
|
454
|
+
* @default 5
|
|
430
455
|
*/
|
|
431
456
|
"stars": number;
|
|
432
457
|
}
|
|
@@ -456,7 +481,7 @@ export namespace Components {
|
|
|
456
481
|
/**
|
|
457
482
|
* Defines the icon `name` inside of the component. <span className="banner banner-sm banner-info">If not set the icon will not show up.</span> To learn which icons are available, please visit our <a href="/?path=/docs/0dcfe3c0-bfc0-4107-b43b-7e9d825b805f--docs">icon library</a>.
|
|
458
483
|
*/
|
|
459
|
-
"icon"
|
|
484
|
+
"icon"?: string;
|
|
460
485
|
/**
|
|
461
486
|
* Defines the size of the component.
|
|
462
487
|
*/
|
|
@@ -469,6 +494,7 @@ export namespace Components {
|
|
|
469
494
|
interface PostTogglebutton {
|
|
470
495
|
/**
|
|
471
496
|
* If `true`, the button is in the "on" state, otherwise it is in the "off" state.
|
|
497
|
+
* @default false
|
|
472
498
|
*/
|
|
473
499
|
"toggled": boolean;
|
|
474
500
|
}
|
|
@@ -479,6 +505,7 @@ export namespace Components {
|
|
|
479
505
|
"animation"?: 'pop-in';
|
|
480
506
|
/**
|
|
481
507
|
* Whether or not to display a little pointer arrow
|
|
508
|
+
* @default false
|
|
482
509
|
*/
|
|
483
510
|
"arrow"?: boolean;
|
|
484
511
|
/**
|
|
@@ -487,10 +514,12 @@ export namespace Components {
|
|
|
487
514
|
"hide": () => Promise<void>;
|
|
488
515
|
/**
|
|
489
516
|
* Indicates the open state of the tooltip
|
|
517
|
+
* @default false
|
|
490
518
|
*/
|
|
491
519
|
"open": boolean;
|
|
492
520
|
/**
|
|
493
521
|
* Defines the position of the tooltip relative to its trigger. Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
|
|
522
|
+
* @default 'top'
|
|
494
523
|
*/
|
|
495
524
|
"placement"?: Placement;
|
|
496
525
|
/**
|
|
@@ -508,6 +537,7 @@ export namespace Components {
|
|
|
508
537
|
interface PostTooltipTrigger {
|
|
509
538
|
/**
|
|
510
539
|
* Delay (in milliseconds) before the tooltip is shown.
|
|
540
|
+
* @default 0
|
|
511
541
|
*/
|
|
512
542
|
"delay": number;
|
|
513
543
|
/**
|
|
@@ -924,12 +954,14 @@ declare namespace LocalJSX {
|
|
|
924
954
|
"headingLevel": HeadingLevel;
|
|
925
955
|
/**
|
|
926
956
|
* If `true`, multiple `post-accordion-item` can be open at the same time.
|
|
957
|
+
* @default false
|
|
927
958
|
*/
|
|
928
959
|
"multiple"?: boolean;
|
|
929
960
|
}
|
|
930
961
|
interface PostAccordionItem {
|
|
931
962
|
/**
|
|
932
963
|
* If `true`, the element is collapsed otherwise it is displayed.
|
|
964
|
+
* @default false
|
|
933
965
|
*/
|
|
934
966
|
"collapsed"?: boolean;
|
|
935
967
|
/**
|
|
@@ -969,6 +1001,7 @@ declare namespace LocalJSX {
|
|
|
969
1001
|
"dismissLabel"?: string;
|
|
970
1002
|
/**
|
|
971
1003
|
* If `true`, a close button (×) is displayed and the banner can be dismissed by the user.
|
|
1004
|
+
* @default false
|
|
972
1005
|
*/
|
|
973
1006
|
"dismissible"?: boolean;
|
|
974
1007
|
/**
|
|
@@ -981,6 +1014,7 @@ declare namespace LocalJSX {
|
|
|
981
1014
|
"onPostDismissed"?: (event: PostBannerCustomEvent<void>) => void;
|
|
982
1015
|
/**
|
|
983
1016
|
* The type of the banner.
|
|
1017
|
+
* @default 'neutral'
|
|
984
1018
|
*/
|
|
985
1019
|
"type"?: BannerType;
|
|
986
1020
|
}
|
|
@@ -993,6 +1027,7 @@ declare namespace LocalJSX {
|
|
|
993
1027
|
interface PostBreadcrumbs {
|
|
994
1028
|
/**
|
|
995
1029
|
* The text label for the home breadcrumb item.
|
|
1030
|
+
* @default 'Home'
|
|
996
1031
|
*/
|
|
997
1032
|
"homeText"?: string;
|
|
998
1033
|
/**
|
|
@@ -1006,6 +1041,7 @@ declare namespace LocalJSX {
|
|
|
1006
1041
|
interface PostCardControl {
|
|
1007
1042
|
/**
|
|
1008
1043
|
* Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms' data.
|
|
1044
|
+
* @default false
|
|
1009
1045
|
*/
|
|
1010
1046
|
"checked"?: boolean;
|
|
1011
1047
|
/**
|
|
@@ -1014,6 +1050,7 @@ declare namespace LocalJSX {
|
|
|
1014
1050
|
"description"?: string;
|
|
1015
1051
|
/**
|
|
1016
1052
|
* Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms' data.
|
|
1053
|
+
* @default false
|
|
1017
1054
|
*/
|
|
1018
1055
|
"disabled"?: boolean;
|
|
1019
1056
|
/**
|
|
@@ -1054,6 +1091,7 @@ declare namespace LocalJSX {
|
|
|
1054
1091
|
interface PostCollapsible {
|
|
1055
1092
|
/**
|
|
1056
1093
|
* If `true`, the element is collapsed otherwise it is displayed.
|
|
1094
|
+
* @default false
|
|
1057
1095
|
*/
|
|
1058
1096
|
"collapsed"?: boolean;
|
|
1059
1097
|
/**
|
|
@@ -1089,10 +1127,12 @@ declare namespace LocalJSX {
|
|
|
1089
1127
|
"base"?: string;
|
|
1090
1128
|
/**
|
|
1091
1129
|
* When set to `true`, the icon will be flipped horizontally.
|
|
1130
|
+
* @default false
|
|
1092
1131
|
*/
|
|
1093
1132
|
"flipH"?: boolean;
|
|
1094
1133
|
/**
|
|
1095
1134
|
* When set to `true`, the icon will be flipped vertically.
|
|
1135
|
+
* @default false
|
|
1096
1136
|
*/
|
|
1097
1137
|
"flipV"?: boolean;
|
|
1098
1138
|
/**
|
|
@@ -1149,6 +1189,7 @@ declare namespace LocalJSX {
|
|
|
1149
1189
|
"description": string;
|
|
1150
1190
|
/**
|
|
1151
1191
|
* Whether the component is rendered as a list or a menu
|
|
1192
|
+
* @default 'list'
|
|
1152
1193
|
*/
|
|
1153
1194
|
"variant"?: SwitchVariant;
|
|
1154
1195
|
}
|
|
@@ -1157,10 +1198,12 @@ declare namespace LocalJSX {
|
|
|
1157
1198
|
interface PostList {
|
|
1158
1199
|
/**
|
|
1159
1200
|
* The list can become horizontal by setting `horizontal="true"` or just `horizontal`
|
|
1201
|
+
* @default false
|
|
1160
1202
|
*/
|
|
1161
1203
|
"horizontal"?: boolean;
|
|
1162
1204
|
/**
|
|
1163
1205
|
* If `true`, the list title will be hidden. Otherwise, it will be displayed.`
|
|
1206
|
+
* @default false
|
|
1164
1207
|
*/
|
|
1165
1208
|
"titleHidden"?: boolean;
|
|
1166
1209
|
}
|
|
@@ -1193,6 +1236,7 @@ declare namespace LocalJSX {
|
|
|
1193
1236
|
"onToggleMenu"?: (event: PostMenuCustomEvent<boolean>) => void;
|
|
1194
1237
|
/**
|
|
1195
1238
|
* Defines the position of the menu relative to its trigger. Menus are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
|
|
1239
|
+
* @default 'bottom'
|
|
1196
1240
|
*/
|
|
1197
1241
|
"placement"?: Placement;
|
|
1198
1242
|
}
|
|
@@ -1207,6 +1251,7 @@ declare namespace LocalJSX {
|
|
|
1207
1251
|
interface PostPopover {
|
|
1208
1252
|
/**
|
|
1209
1253
|
* Show a little indicator arrow
|
|
1254
|
+
* @default true
|
|
1210
1255
|
*/
|
|
1211
1256
|
"arrow"?: boolean;
|
|
1212
1257
|
/**
|
|
@@ -1215,24 +1260,29 @@ declare namespace LocalJSX {
|
|
|
1215
1260
|
"closeButtonCaption": string;
|
|
1216
1261
|
/**
|
|
1217
1262
|
* Defines the position of the popover relative to its trigger. Popovers are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
|
|
1263
|
+
* @default 'top'
|
|
1218
1264
|
*/
|
|
1219
1265
|
"placement"?: Placement;
|
|
1220
1266
|
}
|
|
1221
1267
|
interface PostPopovercontainer {
|
|
1222
1268
|
/**
|
|
1223
1269
|
* Animation style
|
|
1270
|
+
* @default null
|
|
1224
1271
|
*/
|
|
1225
1272
|
"animation"?: 'pop-in' | null;
|
|
1226
1273
|
/**
|
|
1227
1274
|
* Whether or not to display a little pointer arrow
|
|
1275
|
+
* @default false
|
|
1228
1276
|
*/
|
|
1229
1277
|
"arrow"?: boolean;
|
|
1230
1278
|
/**
|
|
1231
1279
|
* Gap between the edge of the page and the popovercontainer
|
|
1280
|
+
* @default 8
|
|
1232
1281
|
*/
|
|
1233
1282
|
"edgeGap"?: number;
|
|
1234
1283
|
/**
|
|
1235
1284
|
* Whether or not the popovercontainer should close when user clicks outside of it
|
|
1285
|
+
* @default false
|
|
1236
1286
|
*/
|
|
1237
1287
|
"manualClose"?: boolean;
|
|
1238
1288
|
/**
|
|
@@ -1241,6 +1291,7 @@ declare namespace LocalJSX {
|
|
|
1241
1291
|
"onPostToggle"?: (event: PostPopovercontainerCustomEvent<boolean>) => void;
|
|
1242
1292
|
/**
|
|
1243
1293
|
* Defines the placement of the popovercontainer according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement. Popovercontainers are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
|
|
1294
|
+
* @default 'top'
|
|
1244
1295
|
*/
|
|
1245
1296
|
"placement"?: Placement;
|
|
1246
1297
|
/**
|
|
@@ -1251,10 +1302,12 @@ declare namespace LocalJSX {
|
|
|
1251
1302
|
interface PostRating {
|
|
1252
1303
|
/**
|
|
1253
1304
|
* Defines the rating that the component should show.
|
|
1305
|
+
* @default 0
|
|
1254
1306
|
*/
|
|
1255
1307
|
"currentRating"?: number;
|
|
1256
1308
|
/**
|
|
1257
1309
|
* Defines a hidden label for the component.
|
|
1310
|
+
* @default 'Rating'
|
|
1258
1311
|
*/
|
|
1259
1312
|
"label"?: string;
|
|
1260
1313
|
/**
|
|
@@ -1267,10 +1320,12 @@ declare namespace LocalJSX {
|
|
|
1267
1320
|
"onPostInput"?: (event: PostRatingCustomEvent<{ value: number }>) => void;
|
|
1268
1321
|
/**
|
|
1269
1322
|
* Defines if the component is readonly or not. This usually should be used together with the `currentRating` property.
|
|
1323
|
+
* @default false
|
|
1270
1324
|
*/
|
|
1271
1325
|
"readonly"?: boolean;
|
|
1272
1326
|
/**
|
|
1273
1327
|
* Defines the total amount of stars rendered in the component.
|
|
1328
|
+
* @default 5
|
|
1274
1329
|
*/
|
|
1275
1330
|
"stars"?: number;
|
|
1276
1331
|
}
|
|
@@ -1313,6 +1368,7 @@ declare namespace LocalJSX {
|
|
|
1313
1368
|
interface PostTogglebutton {
|
|
1314
1369
|
/**
|
|
1315
1370
|
* If `true`, the button is in the "on" state, otherwise it is in the "off" state.
|
|
1371
|
+
* @default false
|
|
1316
1372
|
*/
|
|
1317
1373
|
"toggled"?: boolean;
|
|
1318
1374
|
}
|
|
@@ -1323,20 +1379,24 @@ declare namespace LocalJSX {
|
|
|
1323
1379
|
"animation"?: 'pop-in';
|
|
1324
1380
|
/**
|
|
1325
1381
|
* Whether or not to display a little pointer arrow
|
|
1382
|
+
* @default false
|
|
1326
1383
|
*/
|
|
1327
1384
|
"arrow"?: boolean;
|
|
1328
1385
|
/**
|
|
1329
1386
|
* Indicates the open state of the tooltip
|
|
1387
|
+
* @default false
|
|
1330
1388
|
*/
|
|
1331
1389
|
"open"?: boolean;
|
|
1332
1390
|
/**
|
|
1333
1391
|
* Defines the position of the tooltip relative to its trigger. Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
|
|
1392
|
+
* @default 'top'
|
|
1334
1393
|
*/
|
|
1335
1394
|
"placement"?: Placement;
|
|
1336
1395
|
}
|
|
1337
1396
|
interface PostTooltipTrigger {
|
|
1338
1397
|
/**
|
|
1339
1398
|
* Delay (in milliseconds) before the tooltip is shown.
|
|
1399
|
+
* @default 0
|
|
1340
1400
|
*/
|
|
1341
1401
|
"delay"?: number;
|
|
1342
1402
|
/**
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,37 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
-
export { PostCollapsible } from './components/post-collapsible/post-collapsible';
|
|
12
|
-
export { PostCollapsibleTrigger } from './components/post-collapsible-trigger/post-collapsible-trigger';
|
|
13
|
-
export { PostFooter } from './components/post-footer/post-footer';
|
|
14
|
-
export { PostHeader } from './components/post-header/post-header';
|
|
15
|
-
export { PostIcon } from './components/post-icon/post-icon';
|
|
16
|
-
export { PostLanguageOption } from './components/post-language-option/post-language-option';
|
|
17
|
-
export { PostLanguageSwitch } from './components/post-language-switch/post-language-switch';
|
|
18
|
-
export { PostLinkarea } from './components/post-linkarea/post-linkarea';
|
|
19
|
-
export { PostList } from './components/post-list/post-list';
|
|
20
|
-
export { PostListItem } from './components/post-list-item/post-list-item';
|
|
21
|
-
export { PostLogo } from './components/post-logo/post-logo';
|
|
22
|
-
export { PostMainnavigation } from './components/post-mainnavigation/post-mainnavigation';
|
|
23
|
-
export { PostMegadropdown } from './components/post-megadropdown/post-megadropdown';
|
|
24
|
-
export { PostMegadropdownTrigger } from './components/post-megadropdown-trigger/post-megadropdown-trigger';
|
|
25
|
-
export { PostMenu } from './components/post-menu/post-menu';
|
|
26
|
-
export { PostMenuItem } from './components/post-menu-item/post-menu-item';
|
|
27
|
-
export { PostMenuTrigger } from './components/post-menu-trigger/post-menu-trigger';
|
|
28
|
-
export { PostPopover } from './components/post-popover/post-popover';
|
|
29
|
-
export { PostPopovercontainer } from './components/post-popovercontainer/post-popovercontainer';
|
|
30
|
-
export { PostRating } from './components/post-rating/post-rating';
|
|
31
|
-
export { PostTabs } from './components/post-tabs/post-tabs';
|
|
32
|
-
export { PostTabHeader } from './components/post-tab-header/post-tab-header';
|
|
33
|
-
export { PostTabPanel } from './components/post-tab-panel/post-tab-panel';
|
|
34
|
-
export { PostTag } from './components/post-tag/post-tag';
|
|
35
|
-
export { PostTogglebutton } from './components/post-togglebutton/post-togglebutton';
|
|
36
|
-
export { PostTooltip } from './components/post-tooltip/post-tooltip';
|
|
37
|
-
export { PostTooltipTrigger } from './components/post-tooltip-trigger/post-tooltip-trigger';
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview entry point for your component library
|
|
3
|
+
*
|
|
4
|
+
* This is the entry point for your component library. Use this file to export utilities,
|
|
5
|
+
* constants or data structure that accompany your components.
|
|
6
|
+
*
|
|
7
|
+
* DO NOT use this file to export your components. Instead, use the recommended approaches
|
|
8
|
+
* to consume components of this package as outlined in the `README.md`.
|
|
9
|
+
*/
|
|
10
|
+
export type * from './components.d.ts';
|
|
@@ -260,6 +260,25 @@ export declare function setPlatformHelpers(helpers: {
|
|
|
260
260
|
* @returns the base path
|
|
261
261
|
*/
|
|
262
262
|
export declare function getAssetPath(path: string): string;
|
|
263
|
+
/**
|
|
264
|
+
* Method to render a virtual DOM tree to a container element.
|
|
265
|
+
*
|
|
266
|
+
* @example
|
|
267
|
+
* ```tsx
|
|
268
|
+
* import { render } from '@stencil/core';
|
|
269
|
+
*
|
|
270
|
+
* const vnode = (
|
|
271
|
+
* <div>
|
|
272
|
+
* <h1>Hello, world!</h1>
|
|
273
|
+
* </div>
|
|
274
|
+
* );
|
|
275
|
+
* render(vnode, document.body);
|
|
276
|
+
* ```
|
|
277
|
+
*
|
|
278
|
+
* @param vnode - The virtual DOM tree to render
|
|
279
|
+
* @param container - The container element to render the virtual DOM tree to
|
|
280
|
+
*/
|
|
281
|
+
export declare function render(vnode: VNode, container: Element): void;
|
|
263
282
|
/**
|
|
264
283
|
* Used to manually set the base path where assets can be found. For lazy-loaded
|
|
265
284
|
* builds the asset path is automatically set and assets copied to the correct
|
|
@@ -826,6 +845,7 @@ export declare namespace JSXBase {
|
|
|
826
845
|
}
|
|
827
846
|
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
828
847
|
open?: boolean;
|
|
848
|
+
name?: string;
|
|
829
849
|
onToggle?: (event: Event) => void;
|
|
830
850
|
}
|
|
831
851
|
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -1015,6 +1035,8 @@ export declare namespace JSXBase {
|
|
|
1015
1035
|
autoPlay?: boolean;
|
|
1016
1036
|
autoplay?: boolean | string;
|
|
1017
1037
|
controls?: boolean;
|
|
1038
|
+
controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1039
|
+
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1018
1040
|
crossOrigin?: string;
|
|
1019
1041
|
crossorigin?: string;
|
|
1020
1042
|
loop?: boolean;
|
|
@@ -1564,6 +1586,10 @@ export declare namespace JSXBase {
|
|
|
1564
1586
|
onSubmitCapture?: (event: Event) => void;
|
|
1565
1587
|
onInvalid?: (event: Event) => void;
|
|
1566
1588
|
onInvalidCapture?: (event: Event) => void;
|
|
1589
|
+
onBeforeToggle?: (event: Event) => void;
|
|
1590
|
+
onBeforeToggleCapture?: (event: Event) => void;
|
|
1591
|
+
onToggle?: (event: Event) => void;
|
|
1592
|
+
onToggleCapture?: (event: Event) => void;
|
|
1567
1593
|
onLoad?: (event: Event) => void;
|
|
1568
1594
|
onLoadCapture?: (event: Event) => void;
|
|
1569
1595
|
onError?: (event: Event) => void;
|
|
@@ -1575,7 +1601,7 @@ export declare namespace JSXBase {
|
|
|
1575
1601
|
onKeyUp?: (event: KeyboardEvent) => void;
|
|
1576
1602
|
onKeyUpCapture?: (event: KeyboardEvent) => void;
|
|
1577
1603
|
onAuxClick?: (event: MouseEvent) => void;
|
|
1578
|
-
onClick?: (event:
|
|
1604
|
+
onClick?: (event: PointerEvent) => void;
|
|
1579
1605
|
onClickCapture?: (event: MouseEvent) => void;
|
|
1580
1606
|
onContextMenu?: (event: MouseEvent) => void;
|
|
1581
1607
|
onContextMenuCapture?: (event: MouseEvent) => void;
|
|
@@ -1655,6 +1681,8 @@ export declare namespace JSXBase {
|
|
|
1655
1681
|
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
|
1656
1682
|
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1657
1683
|
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1684
|
+
[key: `aria-${string}`]: string | boolean | undefined;
|
|
1685
|
+
[key: `aria${string}`]: string | boolean | undefined;
|
|
1658
1686
|
}
|
|
1659
1687
|
}
|
|
1660
1688
|
export interface JSXAttributes<T = Element> {
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
interface BreakpointDefinition {
|
|
2
|
+
key: string;
|
|
3
|
+
device: string;
|
|
4
|
+
minWidth: number;
|
|
5
|
+
}
|
|
6
|
+
type BreakpointProperty = keyof BreakpointDefinition;
|
|
7
|
+
declare class Breakpoint {
|
|
8
|
+
private readonly breakpoints;
|
|
9
|
+
private currentBreakpoint;
|
|
5
10
|
constructor();
|
|
6
|
-
private
|
|
7
|
-
private
|
|
11
|
+
private getValues;
|
|
12
|
+
private updateCurrentBreakpoint;
|
|
8
13
|
private dispatchEvent;
|
|
9
|
-
get(
|
|
14
|
+
get<T extends BreakpointProperty>(property: T): BreakpointDefinition[T];
|
|
10
15
|
}
|
|
11
16
|
export declare const breakpoint: Breakpoint;
|
|
12
17
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Decorator that guards event handlers to only execute when the event meets certain criteria.
|
|
3
|
+
* @param tag - The local name of the element that should be the target of the event
|
|
4
|
+
* @param option - Configuration options for the event guard
|
|
5
|
+
* @param option.ignoreNestedComponents - Whether to ignore events from nested components
|
|
6
|
+
*/
|
|
7
|
+
export declare function EventFrom(tag: string, option?: {
|
|
8
|
+
ignoreNestedComponents: boolean;
|
|
9
|
+
}): (target: object, propertyKey: string, descriptor?: PropertyDescriptor) => void;
|
|
@@ -4,7 +4,7 @@ export * from './component-on-ready';
|
|
|
4
4
|
export * from './property-checkers';
|
|
5
5
|
export * from './breakpoints';
|
|
6
6
|
export * from './debounce';
|
|
7
|
-
export * from './event-
|
|
7
|
+
export * from './event-from';
|
|
8
8
|
export * from './get-root';
|
|
9
9
|
export * from './is-motion-reduced';
|
|
10
10
|
export * from './sass-export';
|