@swisspost/design-system-components 7.3.1 → 7.4.0
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/index.cjs.js +16 -17
- package/dist/cjs/{package-53cbf42f.js → package-549b9aab.js} +1 -1
- package/dist/cjs/{post-accordion-605d195b.js → post-accordion-e0a2c3c3.js} +1 -1
- package/dist/cjs/{post-accordion-item-7ef44a1d.js → post-accordion-item-772332db.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-alert-bd5a1e4e.js → post-alert-42220c7a.js} +1 -1
- package/dist/cjs/post-alert.cjs.entry.js +2 -2
- package/dist/cjs/{post-card-control-53c3d28b.js → post-card-control-45047568.js} +1 -1
- package/dist/cjs/post-card-control.cjs.entry.js +2 -2
- package/dist/cjs/{post-collapsible-cd75e40d.js → post-collapsible-d71942e3.js} +1 -1
- package/dist/cjs/post-collapsible-trigger-a7e32ead.js +115 -0
- package/dist/cjs/post-collapsible-trigger.cjs.entry.js +2 -2
- package/dist/cjs/post-collapsible.cjs.entry.js +2 -2
- package/dist/cjs/{post-icon-d48388ba.js → post-icon-d136be35.js} +1 -1
- package/dist/cjs/post-icon.cjs.entry.js +2 -2
- package/dist/cjs/{post-popover-a069b3b4.js → post-popover-1024d72f.js} +1 -1
- package/dist/cjs/post-popover.cjs.entry.js +2 -2
- package/dist/cjs/{post-popovercontainer-6ba9ea5a.js → post-popovercontainer-f5dd6284.js} +1 -1
- package/dist/cjs/post-popovercontainer.cjs.entry.js +2 -2
- package/dist/cjs/{post-rating-8ef7415c.js → post-rating-df981989.js} +1 -1
- package/dist/cjs/post-rating.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-header-bbffefab.js → post-tab-header-17fe11d6.js} +2 -2
- package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-panel-47161846.js → post-tab-panel-a47c8cfe.js} +1 -1
- package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/{post-tabs-818dea1a.js → post-tabs-766f8241.js} +1 -1
- package/dist/cjs/post-tabs.cjs.entry.js +2 -2
- package/dist/cjs/{post-tag-df4341a7.js → post-tag-65ec8149.js} +1 -1
- package/dist/cjs/post-tag.cjs.entry.js +2 -2
- package/dist/cjs/{post-tooltip-79da02f1.js → post-tooltip-2efd6509.js} +11 -6
- package/dist/cjs/post-tooltip.cjs.entry.js +2 -3
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +1 -1
- package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
- package/dist/components/package.js +1 -1
- package/dist/components/post-collapsible-trigger2.js +2 -188167
- package/dist/components/post-tab-header2.js +1 -1
- package/dist/components/post-tooltip2.js +6 -1
- package/dist/docs.json +1 -1
- package/dist/esm/index.js +16 -17
- package/dist/esm/{package-69bb682d.js → package-91140d77.js} +1 -1
- package/dist/esm/{post-accordion-72c9f9ab.js → post-accordion-09978cd3.js} +1 -1
- package/dist/esm/{post-accordion-item-41ec1425.js → post-accordion-item-4210d17f.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-alert-8b7ad6b5.js → post-alert-64d34792.js} +1 -1
- package/dist/esm/post-alert.entry.js +2 -2
- package/dist/esm/{post-card-control-cc8a0a71.js → post-card-control-244f45f6.js} +1 -1
- package/dist/esm/post-card-control.entry.js +2 -2
- package/dist/esm/{post-collapsible-0843e3b2.js → post-collapsible-4ddc1db3.js} +1 -1
- package/dist/esm/post-collapsible-trigger-b0100e8c.js +113 -0
- package/dist/esm/post-collapsible-trigger.entry.js +2 -2
- package/dist/esm/post-collapsible.entry.js +2 -2
- package/dist/esm/{post-icon-2ece5353.js → post-icon-f05c6d37.js} +1 -1
- package/dist/esm/post-icon.entry.js +2 -2
- package/dist/esm/{post-popover-54f23917.js → post-popover-a094d059.js} +1 -1
- package/dist/esm/post-popover.entry.js +2 -2
- package/dist/esm/{post-popovercontainer-0da2336b.js → post-popovercontainer-1faa005e.js} +1 -1
- package/dist/esm/post-popovercontainer.entry.js +2 -2
- package/dist/esm/{post-rating-89feb730.js → post-rating-62590a88.js} +1 -1
- package/dist/esm/post-rating.entry.js +2 -2
- package/dist/esm/{post-tab-header-8f531b2d.js → post-tab-header-1b88d56e.js} +2 -2
- package/dist/esm/post-tab-header.entry.js +2 -2
- package/dist/esm/{post-tab-panel-5d3cf744.js → post-tab-panel-fac73181.js} +1 -1
- package/dist/esm/post-tab-panel.entry.js +2 -2
- package/dist/esm/{post-tabs-d8ffb9fc.js → post-tabs-4528a1a5.js} +1 -1
- package/dist/esm/post-tabs.entry.js +2 -2
- package/dist/esm/{post-tag-50b397fb.js → post-tag-8b82ff5c.js} +1 -1
- package/dist/esm/post-tag.entry.js +2 -2
- package/dist/esm/{post-tooltip-68e640ea.js → post-tooltip-1156bdc7.js} +7 -2
- package/dist/esm/post-tooltip.entry.js +2 -3
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/{p-c864d978.js → p-04dc2d21.js} +1 -1
- package/dist/post-components/{p-07d804f9.js → p-0df6bfe1.js} +1 -1
- package/dist/post-components/p-10cd6860.entry.js +1 -0
- package/dist/post-components/p-158d0eee.entry.js +1 -0
- package/dist/post-components/p-1f9ddbd4.js +1 -0
- package/dist/post-components/{p-5b029cef.js → p-21bdf1f3.js} +1 -1
- package/dist/post-components/{p-f182a1ec.js → p-2da9a13c.js} +1 -1
- package/dist/post-components/p-39b6f635.entry.js +1 -0
- package/dist/post-components/p-3cb6b887.entry.js +1 -0
- package/dist/post-components/{p-7b552d03.js → p-4dc0b726.js} +1 -1
- package/dist/post-components/p-5ef247ea.entry.js +1 -0
- package/dist/post-components/p-67d41a4b.entry.js +1 -0
- package/dist/post-components/p-78111d97.entry.js +1 -0
- package/dist/post-components/p-7f3045f5.entry.js +1 -0
- package/dist/post-components/p-80708279.entry.js +1 -0
- package/dist/post-components/p-8c9bd744.entry.js +1 -0
- package/dist/post-components/{p-52689eda.js → p-8e975b46.js} +1 -1
- package/dist/post-components/{p-089ae111.js → p-9170a653.js} +1 -1
- package/dist/post-components/p-9656cf35.js +1 -0
- package/dist/post-components/{p-7ae5e122.js → p-9fa0742e.js} +1 -1
- package/dist/post-components/{p-10312d6a.js → p-a8dc1aa1.js} +1 -1
- package/dist/post-components/{p-5307d14c.js → p-b53753a0.js} +1 -1
- package/dist/post-components/{p-1fdb9650.js → p-bd0695bf.js} +1 -1
- package/dist/post-components/p-bdb6c1b8.js +1 -0
- package/dist/post-components/p-c297c7d1.entry.js +1 -0
- package/dist/post-components/{p-711b21e6.js → p-c8fe8c37.js} +1 -1
- package/dist/post-components/p-d1c71b7d.entry.js +1 -0
- package/dist/post-components/p-d9e5275c.entry.js +1 -0
- package/dist/post-components/{p-bfced2a9.js → p-eff7cef8.js} +3 -3
- package/dist/post-components/p-f7101c7f.entry.js +1 -0
- package/dist/post-components/p-ffdd17d8.entry.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/_commonjsHelpers-8f2c79cd.js +0 -31
- package/dist/cjs/post-collapsible-trigger-ed6c0795.js +0 -188280
- package/dist/components/_commonjsHelpers.js +0 -26
- package/dist/esm/_commonjsHelpers-24671825.js +0 -26
- package/dist/esm/post-collapsible-trigger-84e583ca.js +0 -188278
- package/dist/post-components/p-0c187871.entry.js +0 -1
- package/dist/post-components/p-1a5c4d94.entry.js +0 -1
- package/dist/post-components/p-3321c9c3.entry.js +0 -1
- package/dist/post-components/p-49e1201f.entry.js +0 -1
- package/dist/post-components/p-55c84c0e.entry.js +0 -1
- package/dist/post-components/p-5a9ac1ae.entry.js +0 -1
- package/dist/post-components/p-5ab360e7.entry.js +0 -1
- package/dist/post-components/p-6b9f6348.js +0 -1
- package/dist/post-components/p-6fc42a7d.js +0 -1
- package/dist/post-components/p-756f9aa2.entry.js +0 -1
- package/dist/post-components/p-7c38df68.entry.js +0 -1
- package/dist/post-components/p-94c3e483.js +0 -20
- package/dist/post-components/p-992dbdb4.entry.js +0 -1
- package/dist/post-components/p-b91cf0cd.entry.js +0 -1
- package/dist/post-components/p-b921895c.entry.js +0 -1
- package/dist/post-components/p-bb0366cd.entry.js +0 -1
- package/dist/post-components/p-e4ac3e01.entry.js +0 -1
- package/dist/post-components/p-f0fbe328.entry.js +0 -1
- package/dist/post-components/p-ff86b519.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_popover}from"./p-7b552d03.js";import"./p-8c7f0075.js";import"./p-6b9f6348.js";import"./p-6adeaa6c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_popovercontainer}from"./p-1fdb9650.js";import"./p-8c7f0075.js";import"./p-6b9f6348.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_tag}from"./p-07d804f9.js";import"./p-8c7f0075.js";import"./p-6b9f6348.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_accordion_item}from"./p-711b21e6.js";import"./p-8c7f0075.js";import"./p-6b9f6348.js";import"./p-247a1668.js";import"./p-ac500761.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_icon}from"./p-f182a1ec.js";import"./p-8c7f0075.js";import"./p-ac500761.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";import"./p-6b9f6348.js";import"./p-b095519d.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_card_control}from"./p-52689eda.js";import"./p-8c7f0075.js";import"./p-611b3c41.js";import"./p-b095519d.js";import"./p-440193f4.js";import"./p-6b9f6348.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_rating}from"./p-5b029cef.js";import"./p-8c7f0075.js";import"./p-6b9f6348.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o="7.3.1";export{o as v}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as t,H as r,g as e}from"./p-8c7f0075.js";import{v as a}from"./p-6b9f6348.js";import{c as b}from"./p-b095519d.js";const c=class{constructor(t){o(this,t),this.tabId=void 0,this.panel=void 0}validateFor(o){b(o,'The "panel" prop is required for the post-tab-header.')}componentWillLoad(){this.tabId=`tab-${this.host.id||crypto.randomUUID()}`}render(){return t(r,{key:"543284f0251b7edff35b0fc4f260c7ba1447d57a",id:this.tabId,role:"tab","data-version":a,"aria-selected":"false",tabindex:"-1",class:"tab-title"},t("slot",{key:"c8ed807ea7fbd6fd5ab0e06724fd49852c5e15bf"}))}get host(){return e(this)}static get watchers(){return{panel:["validateFor"]}}};c.style='.tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:var(--post-contrast-color-inverted);color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:2px solid Highlight;outline-offset:-0.25rem}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}.bg-yellow .tab-title{background-color:#fc0}.bg-yellow .tab-title.active{background-color:#fc0}.bg-yellow .nav-item{background-color:#fc0}.bg-white .tab-title{background-color:#fff}.bg-white .tab-title.active{background-color:#fff}.bg-white .nav-item{background-color:#fff}.bg-light .tab-title{background-color:#faf9f8}.bg-light .tab-title.active{background-color:#faf9f8}.bg-light .nav-item{background-color:#faf9f8}.bg-gray .tab-title{background-color:#f4f3f1}.bg-gray .tab-title.active{background-color:#f4f3f1}.bg-gray .nav-item{background-color:#f4f3f1}.bg-dark .tab-title{background-color:#333}.bg-dark .tab-title.active{background-color:#333}.bg-dark .nav-item{background-color:#333}.bg-black .tab-title{background-color:#000}.bg-black .tab-title.active{background-color:#000}.bg-black .nav-item{background-color:#000}.bg-primary .tab-title{background-color:#333}.bg-primary .tab-title.active{background-color:#333}.bg-primary .nav-item{background-color:#333}.bg-secondary .tab-title{background-color:#666}.bg-secondary .tab-title.active{background-color:#666}.bg-secondary .nav-item{background-color:#666}.bg-success .tab-title{background-color:#2c871d}.bg-success .tab-title.active{background-color:#2c871d}.bg-success .nav-item{background-color:#2c871d}.bg-warning .tab-title{background-color:#f49e00}.bg-warning .tab-title.active{background-color:#f49e00}.bg-warning .nav-item{background-color:#f49e00}.bg-error .tab-title{background-color:#a51728}.bg-error .tab-title.active{background-color:#a51728}.bg-error .nav-item{background-color:#a51728}.bg-info .tab-title{background-color:#cce4ee}.bg-info .tab-title.active{background-color:#cce4ee}.bg-info .nav-item{background-color:#cce4ee}.bg-success-background .tab-title{background-color:#c0debb}.bg-success-background .tab-title.active{background-color:#c0debb}.bg-success-background .nav-item{background-color:#c0debb}.bg-warning-background .tab-title{background-color:#fce2b2}.bg-warning-background .tab-title.active{background-color:#fce2b2}.bg-warning-background .nav-item{background-color:#fce2b2}.bg-error-background .tab-title{background-color:#ffdade}.bg-error-background .tab-title.active{background-color:#ffdade}.bg-error-background .nav-item{background-color:#ffdade}.bg-nightblue .tab-title{background-color:#004976}.bg-nightblue .tab-title.active{background-color:#004976}.bg-nightblue .nav-item{background-color:#004976}.bg-nightblue-bright .tab-title{background-color:#0076a8}.bg-nightblue-bright .tab-title.active{background-color:#0076a8}.bg-nightblue-bright .nav-item{background-color:#0076a8}.bg-petrol .tab-title{background-color:#006d68}.bg-petrol .tab-title.active{background-color:#006d68}.bg-petrol .nav-item{background-color:#006d68}.bg-petrol-bright .tab-title{background-color:#00968f}.bg-petrol-bright .tab-title.active{background-color:#00968f}.bg-petrol-bright .nav-item{background-color:#00968f}.bg-coral .tab-title{background-color:#9e2a2f}.bg-coral .tab-title.active{background-color:#9e2a2f}.bg-coral .nav-item{background-color:#9e2a2f}.bg-coral-bright .tab-title{background-color:#e03c31}.bg-coral-bright .tab-title.active{background-color:#e03c31}.bg-coral-bright .nav-item{background-color:#e03c31}.bg-olive .tab-title{background-color:#716135}.bg-olive .tab-title.active{background-color:#716135}.bg-olive .nav-item{background-color:#716135}.bg-olive-bright .tab-title{background-color:#aa9d2e}.bg-olive-bright .tab-title.active{background-color:#aa9d2e}.bg-olive-bright .nav-item{background-color:#aa9d2e}.bg-purple .tab-title{background-color:#80276c}.bg-purple .tab-title.active{background-color:#80276c}.bg-purple .nav-item{background-color:#80276c}.bg-purple-bright .tab-title{background-color:#c5299b}.bg-purple-bright .tab-title.active{background-color:#c5299b}.bg-purple-bright .nav-item{background-color:#c5299b}.bg-aubergine .tab-title{background-color:#523178}.bg-aubergine .tab-title.active{background-color:#523178}.bg-aubergine .nav-item{background-color:#523178}.bg-aubergine-bright .tab-title{background-color:#7566a0}.bg-aubergine-bright .tab-title.active{background-color:#7566a0}.bg-aubergine-bright .nav-item{background-color:#7566a0}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}';export{c as P}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_alert}from"./p-7ae5e122.js";import"./p-8c7f0075.js";import"./p-6b9f6348.js";import"./p-2737eaf5.js";import"./p-ac500761.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";import"./p-b095519d.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_collapsible}from"./p-5307d14c.js";import"./p-8c7f0075.js";import"./p-6b9f6348.js";import"./p-ac500761.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";
|