@swisspost/design-system-components 9.0.0-next.5 → 9.0.0-next.7
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/get-root-7a3498ef.js +11 -0
- package/dist/cjs/index-e1f32cce.js +8 -4
- package/dist/cjs/index.cjs.js +24 -21
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-53892d3d.js → package-bc44930e.js} +1 -1
- package/dist/cjs/{post-accordion-7f627ffd.js → post-accordion-c55fef06.js} +1 -1
- package/dist/cjs/{post-accordion-item-ceb5399f.js → post-accordion-item-641f0b42.js} +1 -1
- package/dist/cjs/post-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/post-accordion.cjs.entry.js +2 -2
- package/dist/cjs/{post-avatar-a8123d38.js → post-avatar-10d7b5c0.js} +1 -1
- package/dist/cjs/post-avatar.cjs.entry.js +2 -2
- package/dist/cjs/post-banner-b286d37f.js +90 -0
- package/dist/cjs/{post-alert.cjs.entry.js → post-banner.cjs.entry.js} +3 -3
- package/dist/cjs/{post-breadcrumb-item-6e4704e5.js → post-breadcrumb-item-8cdc59a8.js} +1 -1
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/post-card-control-fc4aca2a.js +272 -0
- package/dist/cjs/post-card-control.cjs.entry.js +2 -2
- package/dist/cjs/post-closebutton_10.cjs.entry.js +2 -2
- package/dist/cjs/{post-collapsible-trigger-e4862a5b.js → post-collapsible-trigger-c8b3e767.js} +3 -10
- package/dist/cjs/post-collapsible_2.cjs.entry.js +3 -2
- package/dist/cjs/post-components.cjs.js +1 -1
- package/dist/cjs/{post-language-option-62414842.js → post-language-option-8c1ec4fd.js} +2 -2
- package/dist/cjs/post-language-option.cjs.entry.js +2 -2
- package/dist/cjs/{post-megadropdown-trigger-da912fed.js → post-megadropdown-trigger-9b9f1036.js} +32 -37
- package/dist/cjs/{post-menu-54fa65d3.js → post-menu-5a71a6fe.js} +2 -2
- package/dist/cjs/{post-menu-item-8c3090b1.js → post-menu-item-5c5c1aaf.js} +2 -2
- package/dist/cjs/post-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/{post-menu-trigger-71449876.js → post-menu-trigger-02d128c4.js} +5 -3
- package/dist/cjs/post-menu-trigger.cjs.entry.js +3 -2
- package/dist/cjs/post-menu.cjs.entry.js +2 -2
- package/dist/cjs/{post-popover-5f639e4f.js → post-popover-91a83e9d.js} +3 -3
- package/dist/cjs/post-popover.cjs.entry.js +2 -2
- package/dist/cjs/{post-rating-3d166fed.js → post-rating-57fcf949.js} +2 -2
- package/dist/cjs/post-rating.cjs.entry.js +2 -2
- package/dist/cjs/post-tab-header-ce56b760.js +32 -0
- package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-panel-e5685f3d.js → post-tab-panel-70e49260.js} +2 -2
- package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/{post-tabs-e871c911.js → post-tabs-39262e55.js} +3 -3
- package/dist/cjs/post-tabs.cjs.entry.js +2 -2
- package/dist/cjs/{post-tag-62f31d0e.js → post-tag-b6bc5785.js} +2 -2
- package/dist/cjs/post-tag.cjs.entry.js +2 -2
- package/dist/cjs/post-togglebutton-2f39442e.js +28 -0
- package/dist/cjs/post-togglebutton.cjs.entry.js +11 -0
- package/dist/cjs/{post-tooltip-851c342c.js → post-tooltip-8be3b2aa.js} +28 -16
- package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/post-avatar/post-avatar.js +1 -1
- package/dist/collection/components/post-banner/banner-types.js +1 -0
- package/dist/collection/components/post-banner/post-banner.css +3 -0
- package/dist/collection/components/{post-alert/post-alert.js → post-banner/post-banner.js} +39 -68
- package/dist/collection/components/post-card-control/post-card-control.css +1 -1
- package/dist/collection/components/post-card-control/post-card-control.js +8 -8
- package/dist/collection/components/post-header/post-header.js +1 -1
- package/dist/collection/components/post-icon/post-icon.css +1 -1
- package/dist/collection/components/post-icon/post-icon.js +20 -31
- package/dist/collection/components/post-language-option/post-language-option.js +1 -1
- package/dist/collection/components/post-list/post-list.js +2 -2
- package/dist/collection/components/post-list-item/post-list-item.js +1 -1
- package/dist/collection/components/post-logo/post-logo.js +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +1 -1
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +1 -1
- package/dist/collection/components/post-menu/post-menu.js +1 -1
- package/dist/collection/components/post-menu-item/post-menu-item.js +1 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +4 -3
- package/dist/collection/components/post-popover/post-popover.css +1 -1
- package/dist/collection/components/post-popover/post-popover.js +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
- package/dist/collection/components/post-rating/post-rating.js +1 -1
- package/dist/collection/components/post-tab-header/post-tab-header.css +1 -1
- package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
- package/dist/collection/components/post-tabs/post-tabs.css +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +1 -1
- package/dist/collection/components/post-tag/post-tag.js +2 -2
- package/dist/collection/components/post-togglebutton/post-togglebutton.css +1 -0
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +56 -0
- package/dist/collection/components/post-tooltip/post-tooltip.js +28 -12
- package/dist/collection/index.js +2 -1
- package/dist/components/get-root.js +9 -0
- package/dist/components/index.js +2 -1
- package/dist/components/package.js +1 -1
- package/dist/components/{post-alert.d.ts → post-banner.d.ts} +4 -4
- package/dist/components/post-banner.js +6 -0
- package/dist/components/post-banner2.js +125 -0
- package/dist/components/post-card-control2.js +3 -3
- package/dist/components/post-collapsible-trigger2.js +1 -8
- package/dist/components/post-header2.js +1 -1
- package/dist/components/post-icon2.js +22 -29
- package/dist/components/post-language-option2.js +1 -1
- package/dist/components/post-list-item2.js +1 -1
- package/dist/components/post-list2.js +2 -2
- package/dist/components/post-logo2.js +1 -1
- package/dist/components/post-mainnavigation2.js +1 -1
- package/dist/components/post-megadropdown-trigger2.js +1 -1
- package/dist/components/post-megadropdown2.js +1 -1
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +4 -2
- package/dist/components/post-menu2.js +1 -1
- package/dist/components/post-popover2.js +2 -2
- package/dist/components/post-popovercontainer2.js +2 -2
- package/dist/components/post-rating2.js +1 -1
- package/dist/components/post-tab-header2.js +2 -2
- package/dist/components/post-tab-panel2.js +1 -1
- package/dist/components/post-tabs2.js +2 -2
- package/dist/components/post-tag2.js +1 -1
- package/dist/components/post-togglebutton.d.ts +11 -0
- package/dist/components/post-togglebutton.js +6 -0
- package/dist/components/post-togglebutton2.js +43 -0
- package/dist/components/post-tooltip2.js +27 -15
- package/dist/docs.json +209 -175
- package/dist/esm/get-root-7af2e0d1.js +9 -0
- package/dist/esm/index-e1b64755.js +8 -4
- package/dist/esm/index.js +22 -20
- package/dist/esm/loader.js +1 -1
- package/dist/esm/package-180da9f3.js +3 -0
- package/dist/esm/{post-accordion-b2762084.js → post-accordion-7268e29b.js} +1 -1
- package/dist/esm/{post-accordion-item-82ef1c4a.js → post-accordion-item-a5a76abb.js} +1 -1
- package/dist/esm/post-accordion-item.entry.js +2 -2
- package/dist/esm/post-accordion.entry.js +2 -2
- package/dist/esm/{post-avatar-e84c49cb.js → post-avatar-19162f90.js} +1 -1
- package/dist/esm/post-avatar.entry.js +2 -2
- package/dist/esm/post-banner-132709ad.js +88 -0
- package/dist/esm/{post-alert.entry.js → post-banner.entry.js} +2 -2
- package/dist/esm/{post-breadcrumb-item-ff752018.js → post-breadcrumb-item-5a77f988.js} +1 -1
- package/dist/esm/post-breadcrumb-item.entry.js +2 -2
- package/dist/esm/post-card-control-5be9c80a.js +270 -0
- package/dist/esm/post-card-control.entry.js +2 -2
- package/dist/esm/post-closebutton_10.entry.js +2 -2
- package/dist/esm/{post-collapsible-trigger-34740fa6.js → post-collapsible-trigger-43fbbf03.js} +2 -9
- package/dist/esm/post-collapsible_2.entry.js +3 -2
- package/dist/esm/post-components.js +1 -1
- package/dist/esm/{post-language-option-e2a76752.js → post-language-option-f41240c3.js} +2 -2
- package/dist/esm/post-language-option.entry.js +2 -2
- package/dist/esm/{post-megadropdown-trigger-7e577245.js → post-megadropdown-trigger-813b5140.js} +32 -37
- package/dist/esm/{post-menu-e6337859.js → post-menu-62c3e49a.js} +2 -2
- package/dist/esm/{post-menu-item-c10a0a93.js → post-menu-item-f63a1521.js} +2 -2
- package/dist/esm/post-menu-item.entry.js +2 -2
- package/dist/esm/{post-menu-trigger-5f31ad60.js → post-menu-trigger-b84f728d.js} +5 -3
- package/dist/esm/post-menu-trigger.entry.js +3 -2
- package/dist/esm/post-menu.entry.js +2 -2
- package/dist/esm/{post-popover-d78547b4.js → post-popover-abae1f3a.js} +3 -3
- package/dist/esm/post-popover.entry.js +2 -2
- package/dist/esm/{post-rating-d04d0349.js → post-rating-b963d4f2.js} +2 -2
- package/dist/esm/post-rating.entry.js +2 -2
- package/dist/esm/post-tab-header-c16feb72.js +30 -0
- package/dist/esm/post-tab-header.entry.js +2 -2
- package/dist/esm/{post-tab-panel-d9ecc10e.js → post-tab-panel-cb02df49.js} +2 -2
- package/dist/esm/post-tab-panel.entry.js +2 -2
- package/dist/esm/{post-tabs-e98a47e8.js → post-tabs-81085d7b.js} +3 -3
- package/dist/esm/post-tabs.entry.js +2 -2
- package/dist/esm/{post-tag-40a65871.js → post-tag-103bfff5.js} +2 -2
- package/dist/esm/post-tag.entry.js +2 -2
- package/dist/esm/post-togglebutton-0e714838.js +26 -0
- package/dist/esm/post-togglebutton.entry.js +3 -0
- package/dist/esm/{post-tooltip-3b1e121c.js → post-tooltip-2c5ff736.js} +28 -16
- package/dist/esm/post-tooltip.entry.js +2 -2
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-06980a04.js +1 -0
- package/dist/post-components/p-0af7dfbb.js +1 -0
- package/dist/post-components/p-0f699dbc.js +1 -0
- package/dist/post-components/p-12262945.entry.js +1 -0
- package/dist/post-components/p-2504dace.entry.js +1 -0
- package/dist/post-components/p-27343d32.entry.js +1 -0
- package/dist/post-components/{p-42c628fd.js → p-2a456317.js} +1 -1
- package/dist/post-components/p-2c3980d2.js +1 -0
- package/dist/post-components/p-31d38040.js +1 -0
- package/dist/post-components/{p-76dbca34.entry.js → p-339e000e.entry.js} +1 -1
- package/dist/post-components/p-3b325360.entry.js +1 -0
- package/dist/post-components/{p-2069e764.js → p-3e65ba47.js} +1 -1
- package/dist/post-components/p-3f417208.entry.js +1 -0
- package/dist/post-components/p-4922deaf.entry.js +1 -0
- package/dist/post-components/p-6c7546b8.entry.js +1 -0
- package/dist/post-components/{p-e0dc4fac.js → p-6f56a13d.js} +3 -3
- package/dist/post-components/p-7eee2b6a.js +1 -0
- package/dist/post-components/p-816623f0.entry.js +1 -0
- package/dist/post-components/p-83cd3885.entry.js +1 -0
- package/dist/post-components/{p-879ae242.js → p-8b6f7f04.js} +1 -1
- package/dist/post-components/p-9abe554b.js +1 -0
- package/dist/post-components/p-9ea6103e.entry.js +1 -0
- package/dist/post-components/p-a0a7c2c1.entry.js +1 -0
- package/dist/post-components/p-abf9ffdc.entry.js +1 -0
- package/dist/post-components/p-b4a2c7b7.entry.js +1 -0
- package/dist/post-components/{p-77a757d4.js → p-b7ef401f.js} +1 -1
- package/dist/post-components/p-b8a9cf2d.js +1 -0
- package/dist/post-components/p-bb103905.js +1 -0
- package/dist/post-components/{p-75514d7d.js → p-c819933c.js} +1 -1
- package/dist/post-components/p-ccd8a221.entry.js +1 -0
- package/dist/post-components/p-cfc1727f.entry.js +1 -0
- package/dist/post-components/{p-fc2c7222.js → p-d4465c2b.js} +1 -1
- package/dist/post-components/{p-af8cfb8e.js → p-d4cef624.js} +1 -1
- package/dist/post-components/p-da449573.js +1 -0
- package/dist/post-components/p-df5bdda5.entry.js +1 -0
- package/dist/post-components/{p-7a20605b.js → p-ed834dde.js} +1 -1
- package/dist/post-components/p-f1416918.entry.js +1 -0
- package/dist/post-components/p-f171b18b.entry.js +1 -0
- package/dist/post-components/p-f4dbd35f.entry.js +1 -0
- package/dist/post-components/p-f6b44820.js +1 -0
- package/dist/post-components/p-fa7af203.js +1 -0
- package/dist/post-components/p-fc91cbc2.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-avatar/post-avatar.d.ts +1 -1
- package/dist/types/components/post-banner/banner-types.d.ts +2 -0
- package/dist/types/components/post-banner/post-banner.d.ts +49 -0
- package/dist/types/components/post-card-control/post-card-control.d.ts +7 -7
- package/dist/types/components/post-icon/post-icon.d.ts +2 -5
- package/dist/types/components/post-list/post-list.d.ts +1 -1
- package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +1 -0
- package/dist/types/components/post-tag/post-tag.d.ts +1 -1
- package/dist/types/components/post-togglebutton/post-togglebutton.d.ts +13 -0
- package/dist/types/components.d.ts +92 -79
- package/dist/types/index.d.ts +2 -1
- package/loaders/get-root.js +9 -0
- package/loaders/index.d.ts +4 -2
- package/loaders/index.js +2 -1
- package/loaders/package.js +1 -1
- package/loaders/{post-alert.d.ts → post-banner.d.ts} +4 -4
- package/loaders/post-banner.js +128 -0
- package/loaders/post-card-control.js +3 -3
- package/loaders/post-collapsible-trigger2.js +1 -8
- package/loaders/post-header.js +1 -1
- package/loaders/post-icon2.js +22 -29
- package/loaders/post-language-option.js +1 -1
- package/loaders/post-list-item.js +1 -1
- package/loaders/post-list.js +2 -2
- package/loaders/post-logo.js +1 -1
- package/loaders/post-mainnavigation.js +1 -1
- package/loaders/post-megadropdown-trigger.js +1 -1
- package/loaders/post-megadropdown.js +1 -1
- package/loaders/post-menu-item.js +1 -1
- package/loaders/post-menu-trigger.js +4 -2
- package/loaders/post-menu.js +1 -1
- package/loaders/post-popover.js +2 -2
- package/loaders/post-popovercontainer2.js +2 -2
- package/loaders/post-rating.js +1 -1
- package/loaders/post-tab-header.js +2 -2
- package/loaders/post-tab-panel.js +1 -1
- package/loaders/post-tabs.js +2 -2
- package/loaders/post-tag.js +1 -1
- package/loaders/post-togglebutton.d.ts +11 -0
- package/loaders/post-togglebutton.js +46 -0
- package/loaders/post-tooltip.js +27 -15
- package/package.json +5 -5
- package/dist/cjs/post-alert-5333a23c.js +0 -99
- package/dist/cjs/post-card-control-b289ddcf.js +0 -272
- package/dist/cjs/post-tab-header-03b20f24.js +0 -32
- package/dist/collection/components/post-alert/alert-types.js +0 -1
- package/dist/collection/components/post-alert/post-alert.css +0 -7
- package/dist/components/post-alert.js +0 -6
- package/dist/components/post-alert2.js +0 -136
- package/dist/esm/package-d0380f19.js +0 -3
- package/dist/esm/post-alert-0679e14b.js +0 -97
- package/dist/esm/post-card-control-53b9ca94.js +0 -270
- package/dist/esm/post-tab-header-6efc530f.js +0 -30
- package/dist/post-components/p-029c91d8.entry.js +0 -1
- package/dist/post-components/p-03c850fa.entry.js +0 -1
- package/dist/post-components/p-1d8a41d3.js +0 -1
- package/dist/post-components/p-3705d2b4.js +0 -1
- package/dist/post-components/p-3aaea2a7.js +0 -1
- package/dist/post-components/p-3b4342e4.entry.js +0 -1
- package/dist/post-components/p-3b5bd4a4.entry.js +0 -1
- package/dist/post-components/p-3f785d16.entry.js +0 -1
- package/dist/post-components/p-40a57111.entry.js +0 -1
- package/dist/post-components/p-41f5f626.entry.js +0 -1
- package/dist/post-components/p-43451d07.js +0 -1
- package/dist/post-components/p-49a42850.js +0 -1
- package/dist/post-components/p-4f1a40dd.entry.js +0 -1
- package/dist/post-components/p-6e7bde44.js +0 -1
- package/dist/post-components/p-70c016ab.js +0 -1
- package/dist/post-components/p-77af2367.entry.js +0 -1
- package/dist/post-components/p-976c2742.js +0 -1
- package/dist/post-components/p-9cda2b0d.entry.js +0 -1
- package/dist/post-components/p-9fab4d3c.js +0 -1
- package/dist/post-components/p-a0226aec.js +0 -1
- package/dist/post-components/p-aa890e24.entry.js +0 -1
- package/dist/post-components/p-ac6d9496.js +0 -1
- package/dist/post-components/p-ad6e41d5.entry.js +0 -1
- package/dist/post-components/p-c95813b2.entry.js +0 -1
- package/dist/post-components/p-d3814644.entry.js +0 -1
- package/dist/post-components/p-d5b02b44.entry.js +0 -1
- package/dist/post-components/p-f404d0bb.entry.js +0 -1
- package/dist/post-components/p-f5b933bc.entry.js +0 -1
- package/dist/post-components/p-fbda2556.entry.js +0 -1
- package/dist/types/components/post-alert/alert-types.d.ts +0 -2
- package/dist/types/components/post-alert/post-alert.d.ts +0 -54
- package/loaders/post-alert.js +0 -139
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-
|
|
2
|
+
"timestamp": "2024-12-04T07:44:23",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.19.2",
|
|
@@ -360,29 +360,21 @@
|
|
|
360
360
|
}
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
|
-
"filePath": "src/components/post-
|
|
363
|
+
"filePath": "src/components/post-avatar/post-avatar.tsx",
|
|
364
364
|
"encapsulation": "shadow",
|
|
365
|
-
"tag": "post-
|
|
366
|
-
"readme": "# post-
|
|
365
|
+
"tag": "post-avatar",
|
|
366
|
+
"readme": "# post-avatar\n\n\n",
|
|
367
367
|
"docs": "",
|
|
368
368
|
"docsTags": [
|
|
369
369
|
{
|
|
370
370
|
"name": "slot",
|
|
371
|
-
"text": "
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"name": "slot",
|
|
375
|
-
"text": "actions - Slot for placing custom actions (buttons, links, etc.) within the alert."
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"name": "slot",
|
|
379
|
-
"text": "default - Slot for placing the main content/message of the alert."
|
|
371
|
+
"text": "default - Slot for inserting a custom image as avatar."
|
|
380
372
|
}
|
|
381
373
|
],
|
|
382
374
|
"usage": {},
|
|
383
375
|
"props": [
|
|
384
376
|
{
|
|
385
|
-
"name": "
|
|
377
|
+
"name": "email",
|
|
386
378
|
"type": "string",
|
|
387
379
|
"complexType": {
|
|
388
380
|
"original": "string",
|
|
@@ -390,9 +382,30 @@
|
|
|
390
382
|
"references": {}
|
|
391
383
|
},
|
|
392
384
|
"mutable": false,
|
|
393
|
-
"attr": "
|
|
385
|
+
"attr": "email",
|
|
394
386
|
"reflectToAttr": false,
|
|
395
|
-
"docs": "
|
|
387
|
+
"docs": "Defines the users email address associated with a gravatar profile picture.",
|
|
388
|
+
"docsTags": [],
|
|
389
|
+
"values": [
|
|
390
|
+
{
|
|
391
|
+
"type": "string"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"optional": true,
|
|
395
|
+
"required": false
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "firstname",
|
|
399
|
+
"type": "string",
|
|
400
|
+
"complexType": {
|
|
401
|
+
"original": "string",
|
|
402
|
+
"resolved": "string",
|
|
403
|
+
"references": {}
|
|
404
|
+
},
|
|
405
|
+
"mutable": false,
|
|
406
|
+
"attr": "firstname",
|
|
407
|
+
"reflectToAttr": false,
|
|
408
|
+
"docs": "Defines the users firstname.",
|
|
396
409
|
"docsTags": [],
|
|
397
410
|
"values": [
|
|
398
411
|
{
|
|
@@ -400,32 +413,111 @@
|
|
|
400
413
|
}
|
|
401
414
|
],
|
|
402
415
|
"optional": false,
|
|
416
|
+
"required": true
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "lastname",
|
|
420
|
+
"type": "string",
|
|
421
|
+
"complexType": {
|
|
422
|
+
"original": "string",
|
|
423
|
+
"resolved": "string",
|
|
424
|
+
"references": {}
|
|
425
|
+
},
|
|
426
|
+
"mutable": false,
|
|
427
|
+
"attr": "lastname",
|
|
428
|
+
"reflectToAttr": false,
|
|
429
|
+
"docs": "Defines the users lastname.",
|
|
430
|
+
"docsTags": [],
|
|
431
|
+
"values": [
|
|
432
|
+
{
|
|
433
|
+
"type": "string"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"optional": true,
|
|
403
437
|
"required": false
|
|
404
438
|
},
|
|
405
439
|
{
|
|
406
|
-
"name": "
|
|
407
|
-
"type": "
|
|
440
|
+
"name": "userid",
|
|
441
|
+
"type": "string",
|
|
408
442
|
"complexType": {
|
|
409
|
-
"original": "
|
|
410
|
-
"resolved": "
|
|
443
|
+
"original": "string",
|
|
444
|
+
"resolved": "string",
|
|
411
445
|
"references": {}
|
|
412
446
|
},
|
|
413
447
|
"mutable": false,
|
|
414
|
-
"attr": "
|
|
448
|
+
"attr": "userid",
|
|
415
449
|
"reflectToAttr": false,
|
|
416
|
-
"docs": "
|
|
450
|
+
"docs": "Defines the company internal userId.<div className=\"mb-1 banner banner-warning banner-sm\">Can only be used on post.ch domains!</div>",
|
|
417
451
|
"docsTags": [],
|
|
418
|
-
"default": "false",
|
|
419
452
|
"values": [
|
|
420
453
|
{
|
|
421
|
-
"type": "
|
|
454
|
+
"type": "string"
|
|
455
|
+
}
|
|
456
|
+
],
|
|
457
|
+
"optional": true,
|
|
458
|
+
"required": false
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"methods": [],
|
|
462
|
+
"events": [],
|
|
463
|
+
"listeners": [],
|
|
464
|
+
"styles": [],
|
|
465
|
+
"slots": [
|
|
466
|
+
{
|
|
467
|
+
"name": "default",
|
|
468
|
+
"docs": "Slot for inserting a custom image as avatar."
|
|
469
|
+
}
|
|
470
|
+
],
|
|
471
|
+
"parts": [],
|
|
472
|
+
"dependents": [],
|
|
473
|
+
"dependencies": [],
|
|
474
|
+
"dependencyGraph": {}
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"filePath": "src/components/post-banner/post-banner.tsx",
|
|
478
|
+
"encapsulation": "shadow",
|
|
479
|
+
"tag": "post-banner",
|
|
480
|
+
"readme": "# post-alert\n\n\n",
|
|
481
|
+
"docs": "",
|
|
482
|
+
"docsTags": [
|
|
483
|
+
{
|
|
484
|
+
"name": "slot",
|
|
485
|
+
"text": "heading - Slot for placing custom content within the banner's heading."
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "slot",
|
|
489
|
+
"text": "actions - Slot for placing custom actions (buttons, links, etc.) within the banner."
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "slot",
|
|
493
|
+
"text": "default - Slot for placing the main content/message of the banner."
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"usage": {},
|
|
497
|
+
"props": [
|
|
498
|
+
{
|
|
499
|
+
"name": "dismissLabel",
|
|
500
|
+
"type": "string",
|
|
501
|
+
"complexType": {
|
|
502
|
+
"original": "string",
|
|
503
|
+
"resolved": "string",
|
|
504
|
+
"references": {}
|
|
505
|
+
},
|
|
506
|
+
"mutable": false,
|
|
507
|
+
"attr": "dismiss-label",
|
|
508
|
+
"reflectToAttr": false,
|
|
509
|
+
"docs": "The label to use for the close button of a dismissible banner.",
|
|
510
|
+
"docsTags": [],
|
|
511
|
+
"values": [
|
|
512
|
+
{
|
|
513
|
+
"type": "string"
|
|
422
514
|
}
|
|
423
515
|
],
|
|
424
516
|
"optional": false,
|
|
425
517
|
"required": false
|
|
426
518
|
},
|
|
427
519
|
{
|
|
428
|
-
"name": "
|
|
520
|
+
"name": "dismissible",
|
|
429
521
|
"type": "boolean",
|
|
430
522
|
"complexType": {
|
|
431
523
|
"original": "boolean",
|
|
@@ -433,9 +525,9 @@
|
|
|
433
525
|
"references": {}
|
|
434
526
|
},
|
|
435
527
|
"mutable": false,
|
|
436
|
-
"attr": "
|
|
528
|
+
"attr": "dismissible",
|
|
437
529
|
"reflectToAttr": false,
|
|
438
|
-
"docs": "If `true`,
|
|
530
|
+
"docs": "If `true`, a close button (×) is displayed and the banner can be dismissed by the user.",
|
|
439
531
|
"docsTags": [],
|
|
440
532
|
"default": "false",
|
|
441
533
|
"values": [
|
|
@@ -457,7 +549,7 @@
|
|
|
457
549
|
"mutable": false,
|
|
458
550
|
"attr": "icon",
|
|
459
551
|
"reflectToAttr": false,
|
|
460
|
-
"docs": "The icon to display in the
|
|
552
|
+
"docs": "The icon to display in the banner. By default, the icon depends on the banner type.\n\nIf `none`, no icon is displayed.",
|
|
461
553
|
"docsTags": [],
|
|
462
554
|
"values": [
|
|
463
555
|
{
|
|
@@ -469,39 +561,35 @@
|
|
|
469
561
|
},
|
|
470
562
|
{
|
|
471
563
|
"name": "type",
|
|
472
|
-
"type": "\"danger\" | \"
|
|
564
|
+
"type": "\"danger\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
|
|
473
565
|
"complexType": {
|
|
474
|
-
"original": "
|
|
475
|
-
"resolved": "\"danger\" | \"
|
|
566
|
+
"original": "BannerType",
|
|
567
|
+
"resolved": "\"danger\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
|
|
476
568
|
"references": {
|
|
477
|
-
"
|
|
569
|
+
"BannerType": {
|
|
478
570
|
"location": "import",
|
|
479
|
-
"path": "./
|
|
480
|
-
"id": "src/components/post-
|
|
571
|
+
"path": "./banner-types",
|
|
572
|
+
"id": "src/components/post-banner/banner-types.ts::BannerType"
|
|
481
573
|
}
|
|
482
574
|
}
|
|
483
575
|
},
|
|
484
576
|
"mutable": false,
|
|
485
577
|
"attr": "type",
|
|
486
578
|
"reflectToAttr": false,
|
|
487
|
-
"docs": "The type of the
|
|
579
|
+
"docs": "The type of the banner.",
|
|
488
580
|
"docsTags": [],
|
|
489
|
-
"default": "'
|
|
581
|
+
"default": "'neutral'",
|
|
490
582
|
"values": [
|
|
491
583
|
{
|
|
492
584
|
"value": "danger",
|
|
493
585
|
"type": "string"
|
|
494
586
|
},
|
|
495
|
-
{
|
|
496
|
-
"value": "gray",
|
|
497
|
-
"type": "string"
|
|
498
|
-
},
|
|
499
587
|
{
|
|
500
588
|
"value": "info",
|
|
501
589
|
"type": "string"
|
|
502
590
|
},
|
|
503
591
|
{
|
|
504
|
-
"value": "
|
|
592
|
+
"value": "neutral",
|
|
505
593
|
"type": "string"
|
|
506
594
|
},
|
|
507
595
|
{
|
|
@@ -537,7 +625,7 @@
|
|
|
537
625
|
},
|
|
538
626
|
"signature": "dismiss() => Promise<void>",
|
|
539
627
|
"parameters": [],
|
|
540
|
-
"docs": "Triggers
|
|
628
|
+
"docs": "Triggers banner dismissal programmatically (same as clicking on the close button (×)).",
|
|
541
629
|
"docsTags": []
|
|
542
630
|
}
|
|
543
631
|
],
|
|
@@ -553,7 +641,7 @@
|
|
|
553
641
|
},
|
|
554
642
|
"cancelable": true,
|
|
555
643
|
"composed": true,
|
|
556
|
-
"docs": "An event emitted when the
|
|
644
|
+
"docs": "An event emitted when the banner element is dismissed, after the transition.\nIt has no payload and only relevant for dismissible banners.",
|
|
557
645
|
"docsTags": []
|
|
558
646
|
}
|
|
559
647
|
],
|
|
@@ -562,15 +650,15 @@
|
|
|
562
650
|
"slots": [
|
|
563
651
|
{
|
|
564
652
|
"name": "actions",
|
|
565
|
-
"docs": "Slot for placing custom actions (buttons, links, etc.) within the
|
|
653
|
+
"docs": "Slot for placing custom actions (buttons, links, etc.) within the banner."
|
|
566
654
|
},
|
|
567
655
|
{
|
|
568
656
|
"name": "default",
|
|
569
|
-
"docs": "Slot for placing the main content/message of the
|
|
657
|
+
"docs": "Slot for placing the main content/message of the banner."
|
|
570
658
|
},
|
|
571
659
|
{
|
|
572
660
|
"name": "heading",
|
|
573
|
-
"docs": "Slot for placing custom content within the
|
|
661
|
+
"docs": "Slot for placing custom content within the banner's heading."
|
|
574
662
|
}
|
|
575
663
|
],
|
|
576
664
|
"parts": [],
|
|
@@ -579,125 +667,11 @@
|
|
|
579
667
|
"post-icon"
|
|
580
668
|
],
|
|
581
669
|
"dependencyGraph": {
|
|
582
|
-
"post-
|
|
670
|
+
"post-banner": [
|
|
583
671
|
"post-icon"
|
|
584
672
|
]
|
|
585
673
|
}
|
|
586
674
|
},
|
|
587
|
-
{
|
|
588
|
-
"filePath": "src/components/post-avatar/post-avatar.tsx",
|
|
589
|
-
"encapsulation": "shadow",
|
|
590
|
-
"tag": "post-avatar",
|
|
591
|
-
"readme": "# post-avatar\n\n\n",
|
|
592
|
-
"docs": "",
|
|
593
|
-
"docsTags": [
|
|
594
|
-
{
|
|
595
|
-
"name": "slot",
|
|
596
|
-
"text": "default - Slot for inserting a custom image as avatar."
|
|
597
|
-
}
|
|
598
|
-
],
|
|
599
|
-
"usage": {},
|
|
600
|
-
"props": [
|
|
601
|
-
{
|
|
602
|
-
"name": "email",
|
|
603
|
-
"type": "string",
|
|
604
|
-
"complexType": {
|
|
605
|
-
"original": "string",
|
|
606
|
-
"resolved": "string",
|
|
607
|
-
"references": {}
|
|
608
|
-
},
|
|
609
|
-
"mutable": false,
|
|
610
|
-
"attr": "email",
|
|
611
|
-
"reflectToAttr": false,
|
|
612
|
-
"docs": "Defines the users email address associated with a gravatar profile picture.",
|
|
613
|
-
"docsTags": [],
|
|
614
|
-
"values": [
|
|
615
|
-
{
|
|
616
|
-
"type": "string"
|
|
617
|
-
}
|
|
618
|
-
],
|
|
619
|
-
"optional": true,
|
|
620
|
-
"required": false
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
"name": "firstname",
|
|
624
|
-
"type": "string",
|
|
625
|
-
"complexType": {
|
|
626
|
-
"original": "string",
|
|
627
|
-
"resolved": "string",
|
|
628
|
-
"references": {}
|
|
629
|
-
},
|
|
630
|
-
"mutable": false,
|
|
631
|
-
"attr": "firstname",
|
|
632
|
-
"reflectToAttr": false,
|
|
633
|
-
"docs": "Defines the users firstname.",
|
|
634
|
-
"docsTags": [],
|
|
635
|
-
"values": [
|
|
636
|
-
{
|
|
637
|
-
"type": "string"
|
|
638
|
-
}
|
|
639
|
-
],
|
|
640
|
-
"optional": false,
|
|
641
|
-
"required": true
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"name": "lastname",
|
|
645
|
-
"type": "string",
|
|
646
|
-
"complexType": {
|
|
647
|
-
"original": "string",
|
|
648
|
-
"resolved": "string",
|
|
649
|
-
"references": {}
|
|
650
|
-
},
|
|
651
|
-
"mutable": false,
|
|
652
|
-
"attr": "lastname",
|
|
653
|
-
"reflectToAttr": false,
|
|
654
|
-
"docs": "Defines the users lastname.",
|
|
655
|
-
"docsTags": [],
|
|
656
|
-
"values": [
|
|
657
|
-
{
|
|
658
|
-
"type": "string"
|
|
659
|
-
}
|
|
660
|
-
],
|
|
661
|
-
"optional": true,
|
|
662
|
-
"required": false
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
"name": "userid",
|
|
666
|
-
"type": "string",
|
|
667
|
-
"complexType": {
|
|
668
|
-
"original": "string",
|
|
669
|
-
"resolved": "string",
|
|
670
|
-
"references": {}
|
|
671
|
-
},
|
|
672
|
-
"mutable": false,
|
|
673
|
-
"attr": "userid",
|
|
674
|
-
"reflectToAttr": false,
|
|
675
|
-
"docs": "Defines the company internal userId.<div className=\"mb-1 alert alert-warning alert-sm\">Can only be used on post.ch domains!</div>",
|
|
676
|
-
"docsTags": [],
|
|
677
|
-
"values": [
|
|
678
|
-
{
|
|
679
|
-
"type": "string"
|
|
680
|
-
}
|
|
681
|
-
],
|
|
682
|
-
"optional": true,
|
|
683
|
-
"required": false
|
|
684
|
-
}
|
|
685
|
-
],
|
|
686
|
-
"methods": [],
|
|
687
|
-
"events": [],
|
|
688
|
-
"listeners": [],
|
|
689
|
-
"styles": [],
|
|
690
|
-
"slots": [
|
|
691
|
-
{
|
|
692
|
-
"name": "default",
|
|
693
|
-
"docs": "Slot for inserting a custom image as avatar."
|
|
694
|
-
}
|
|
695
|
-
],
|
|
696
|
-
"parts": [],
|
|
697
|
-
"dependents": [],
|
|
698
|
-
"dependencies": [],
|
|
699
|
-
"dependencyGraph": {}
|
|
700
|
-
},
|
|
701
675
|
{
|
|
702
676
|
"filePath": "src/components/post-breadcrumb-item/post-breadcrumb-item.tsx",
|
|
703
677
|
"encapsulation": "shadow",
|
|
@@ -776,11 +750,11 @@
|
|
|
776
750
|
},
|
|
777
751
|
{
|
|
778
752
|
"name": "slot",
|
|
779
|
-
"text": "default - Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\">block content</a>.<p className=\"
|
|
753
|
+
"text": "default - Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\">block content</a>.<p className=\"banner banner-sm banner-warning\">Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.<br/>This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.<br/>More info: <a href=\"https://accessibilityinsights.io/info-examples/web/nested-interactive/\">https://accessibilityinsights.io/info-examples/web/nested-interactive/</a></p>"
|
|
780
754
|
},
|
|
781
755
|
{
|
|
782
756
|
"name": "slot",
|
|
783
|
-
"text": "icon - To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.<p className=\"
|
|
757
|
+
"text": "icon - To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.<p className=\"banner banner-sm banner-info\">It is only meant for <code>img</code> or <code>svg</code> elements and overrides the `icon` property.</p>"
|
|
784
758
|
}
|
|
785
759
|
],
|
|
786
760
|
"usage": {},
|
|
@@ -862,7 +836,7 @@
|
|
|
862
836
|
"mutable": false,
|
|
863
837
|
"attr": "icon",
|
|
864
838
|
"reflectToAttr": false,
|
|
865
|
-
"docs": "Defines the icon `name` inside the card.\n<span className=\"
|
|
839
|
+
"docs": "Defines the icon `name` inside the card.\n<span className=\"banner banner-sm banner-info\">If not set the icon will not show up.</span>",
|
|
866
840
|
"docsTags": [],
|
|
867
841
|
"default": "null",
|
|
868
842
|
"values": [
|
|
@@ -905,7 +879,7 @@
|
|
|
905
879
|
"mutable": false,
|
|
906
880
|
"attr": "name",
|
|
907
881
|
"reflectToAttr": false,
|
|
908
|
-
"docs": "Defines the `name` attribute of the control.\n<span className=\"
|
|
882
|
+
"docs": "Defines the `name` attribute of the control.\n<span className=\"banner banner-sm banner-info\">This is a required property, when the control should participate in a native `form`. If not specified, a native `form` will never contain this controls value.</span>\n<span className=\"banner banner-sm banner-info\">This is a required property, when the control is used with type `radio`.</span>",
|
|
909
883
|
"docsTags": [],
|
|
910
884
|
"default": "null",
|
|
911
885
|
"values": [
|
|
@@ -980,7 +954,7 @@
|
|
|
980
954
|
"mutable": false,
|
|
981
955
|
"attr": "value",
|
|
982
956
|
"reflectToAttr": false,
|
|
983
|
-
"docs": "Defines the `value` attribute of the control. <span className=\"
|
|
957
|
+
"docs": "Defines the `value` attribute of the control. <span className=\"banner banner-sm banner-info\">This is a required property, when the control is used with type `radio`.</span>",
|
|
984
958
|
"docsTags": [],
|
|
985
959
|
"default": "null",
|
|
986
960
|
"values": [
|
|
@@ -1050,7 +1024,7 @@
|
|
|
1050
1024
|
},
|
|
1051
1025
|
"cancelable": true,
|
|
1052
1026
|
"composed": true,
|
|
1053
|
-
"docs": "An event emitted whenever the components checked state is toggled.\nThe event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.\n<span className=\"
|
|
1027
|
+
"docs": "An event emitted whenever the components checked state is toggled.\nThe event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.\n<span className=\"banner banner-sm banner-info\">If the component is used with type `radio`, it will only emit this event, when the checked state is changing to `true`.</span>",
|
|
1054
1028
|
"docsTags": []
|
|
1055
1029
|
},
|
|
1056
1030
|
{
|
|
@@ -1073,11 +1047,11 @@
|
|
|
1073
1047
|
"slots": [
|
|
1074
1048
|
{
|
|
1075
1049
|
"name": "default",
|
|
1076
|
-
"docs": "Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\">block content</a>.<p className=\"
|
|
1050
|
+
"docs": "Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\">block content</a>.<p className=\"banner banner-sm banner-warning\">Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.<br/>This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.<br/>More info: <a href=\"https://accessibilityinsights.io/info-examples/web/nested-interactive/\">https://accessibilityinsights.io/info-examples/web/nested-interactive/</a></p>"
|
|
1077
1051
|
},
|
|
1078
1052
|
{
|
|
1079
1053
|
"name": "icon",
|
|
1080
|
-
"docs": "To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.<p className=\"
|
|
1054
|
+
"docs": "To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.<p className=\"banner banner-sm banner-info\">It is only meant for <code>img</code> or <code>svg</code> elements and overrides the `icon` property.</p>"
|
|
1081
1055
|
}
|
|
1082
1056
|
],
|
|
1083
1057
|
"parts": [],
|
|
@@ -1530,7 +1504,7 @@
|
|
|
1530
1504
|
"slots": [],
|
|
1531
1505
|
"parts": [],
|
|
1532
1506
|
"dependents": [
|
|
1533
|
-
"post-
|
|
1507
|
+
"post-banner",
|
|
1534
1508
|
"post-breadcrumb-item",
|
|
1535
1509
|
"post-card-control",
|
|
1536
1510
|
"post-closebutton",
|
|
@@ -1539,7 +1513,7 @@
|
|
|
1539
1513
|
],
|
|
1540
1514
|
"dependencies": [],
|
|
1541
1515
|
"dependencyGraph": {
|
|
1542
|
-
"post-
|
|
1516
|
+
"post-banner": [
|
|
1543
1517
|
"post-icon"
|
|
1544
1518
|
],
|
|
1545
1519
|
"post-breadcrumb-item": [
|
|
@@ -3377,7 +3351,7 @@
|
|
|
3377
3351
|
"mutable": false,
|
|
3378
3352
|
"attr": "icon",
|
|
3379
3353
|
"reflectToAttr": false,
|
|
3380
|
-
"docs": "Defines the icon `name` inside of the component.\n<span className=\"
|
|
3354
|
+
"docs": "Defines the icon `name` inside of the component.\n<span className=\"banner banner-sm banner-info\">If not set the icon will not show up.</span>\nTo learn which icons are available, please visit our <a href=\"/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs\">icon library</a>.",
|
|
3381
3355
|
"docsTags": [],
|
|
3382
3356
|
"default": "null",
|
|
3383
3357
|
"values": [
|
|
@@ -3475,6 +3449,66 @@
|
|
|
3475
3449
|
]
|
|
3476
3450
|
}
|
|
3477
3451
|
},
|
|
3452
|
+
{
|
|
3453
|
+
"filePath": "src/components/post-togglebutton/post-togglebutton.tsx",
|
|
3454
|
+
"encapsulation": "shadow",
|
|
3455
|
+
"tag": "post-togglebutton",
|
|
3456
|
+
"readme": "# post-togglebutton\n\n\n",
|
|
3457
|
+
"docs": "",
|
|
3458
|
+
"docsTags": [
|
|
3459
|
+
{
|
|
3460
|
+
"name": "slot",
|
|
3461
|
+
"text": "toggled - Slot for content displayed when the button is in the \"on\" state."
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
"name": "slot",
|
|
3465
|
+
"text": "untoggled - Slot for content displayed when the button is in the \"off\" state."
|
|
3466
|
+
}
|
|
3467
|
+
],
|
|
3468
|
+
"usage": {},
|
|
3469
|
+
"props": [
|
|
3470
|
+
{
|
|
3471
|
+
"name": "toggled",
|
|
3472
|
+
"type": "boolean",
|
|
3473
|
+
"complexType": {
|
|
3474
|
+
"original": "boolean",
|
|
3475
|
+
"resolved": "boolean",
|
|
3476
|
+
"references": {}
|
|
3477
|
+
},
|
|
3478
|
+
"mutable": true,
|
|
3479
|
+
"attr": "toggled",
|
|
3480
|
+
"reflectToAttr": true,
|
|
3481
|
+
"docs": "If `true`, the button is in the \"on\" state, otherwise it is in the \"off\" state.",
|
|
3482
|
+
"docsTags": [],
|
|
3483
|
+
"default": "false",
|
|
3484
|
+
"values": [
|
|
3485
|
+
{
|
|
3486
|
+
"type": "boolean"
|
|
3487
|
+
}
|
|
3488
|
+
],
|
|
3489
|
+
"optional": false,
|
|
3490
|
+
"required": false
|
|
3491
|
+
}
|
|
3492
|
+
],
|
|
3493
|
+
"methods": [],
|
|
3494
|
+
"events": [],
|
|
3495
|
+
"listeners": [],
|
|
3496
|
+
"styles": [],
|
|
3497
|
+
"slots": [
|
|
3498
|
+
{
|
|
3499
|
+
"name": "toggled",
|
|
3500
|
+
"docs": "Slot for content displayed when the button is in the \"on\" state."
|
|
3501
|
+
},
|
|
3502
|
+
{
|
|
3503
|
+
"name": "untoggled",
|
|
3504
|
+
"docs": "Slot for content displayed when the button is in the \"off\" state."
|
|
3505
|
+
}
|
|
3506
|
+
],
|
|
3507
|
+
"parts": [],
|
|
3508
|
+
"dependents": [],
|
|
3509
|
+
"dependencies": [],
|
|
3510
|
+
"dependencyGraph": {}
|
|
3511
|
+
},
|
|
3478
3512
|
{
|
|
3479
3513
|
"filePath": "src/components/post-tooltip/post-tooltip.tsx",
|
|
3480
3514
|
"encapsulation": "shadow",
|
|
@@ -3762,10 +3796,10 @@
|
|
|
3762
3796
|
"docstring": "",
|
|
3763
3797
|
"path": "src/types/index.ts"
|
|
3764
3798
|
},
|
|
3765
|
-
"src/components/post-
|
|
3766
|
-
"declaration": "\"
|
|
3799
|
+
"src/components/post-banner/banner-types.ts::BannerType": {
|
|
3800
|
+
"declaration": "\"neutral\" | \"success\" | \"warning\" | \"danger\" | \"info\"",
|
|
3767
3801
|
"docstring": "",
|
|
3768
|
-
"path": "src/components/post-
|
|
3802
|
+
"path": "src/components/post-banner/banner-types.ts"
|
|
3769
3803
|
},
|
|
3770
3804
|
"../../node_modules/.pnpm/@floating-ui+dom@1.6.8/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement": {
|
|
3771
3805
|
"declaration": "any",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
function getRoot(element) {
|
|
2
|
+
const root = element.getRootNode();
|
|
3
|
+
if (root instanceof Document || root instanceof ShadowRoot) {
|
|
4
|
+
return root;
|
|
5
|
+
}
|
|
6
|
+
throw new Error('Attempting to access root node before the element is attached to the document or shadow tree.');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { getRoot as g };
|
|
@@ -64,14 +64,14 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
64
64
|
return import(
|
|
65
65
|
/* webpackMode: "lazy" */
|
|
66
66
|
'./post-accordion-item.entry.js').then(processMod, consoleError);
|
|
67
|
-
case 'post-alert':
|
|
68
|
-
return import(
|
|
69
|
-
/* webpackMode: "lazy" */
|
|
70
|
-
'./post-alert.entry.js').then(processMod, consoleError);
|
|
71
67
|
case 'post-avatar':
|
|
72
68
|
return import(
|
|
73
69
|
/* webpackMode: "lazy" */
|
|
74
70
|
'./post-avatar.entry.js').then(processMod, consoleError);
|
|
71
|
+
case 'post-banner':
|
|
72
|
+
return import(
|
|
73
|
+
/* webpackMode: "lazy" */
|
|
74
|
+
'./post-banner.entry.js').then(processMod, consoleError);
|
|
75
75
|
case 'post-breadcrumb-item':
|
|
76
76
|
return import(
|
|
77
77
|
/* webpackMode: "lazy" */
|
|
@@ -120,6 +120,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
120
120
|
return import(
|
|
121
121
|
/* webpackMode: "lazy" */
|
|
122
122
|
'./post-tag.entry.js').then(processMod, consoleError);
|
|
123
|
+
case 'post-togglebutton':
|
|
124
|
+
return import(
|
|
125
|
+
/* webpackMode: "lazy" */
|
|
126
|
+
'./post-togglebutton.entry.js').then(processMod, consoleError);
|
|
123
127
|
case 'post-tooltip':
|
|
124
128
|
return import(
|
|
125
129
|
/* webpackMode: "lazy" */
|