@swisspost/design-system-components 9.5.1 → 9.7.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 +17 -17
- package/dist/cjs/{package-ffcb152b.js → package-26a892e5.js} +1 -1
- package/dist/cjs/{post-accordion-cc63c454.js → post-accordion-46b80c60.js} +1 -1
- package/dist/cjs/{post-accordion-item-8ff70786.js → post-accordion-item-08ffb65c.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-ae4b35e3.js → post-alert-3adf3885.js} +1 -1
- package/dist/cjs/post-alert.cjs.entry.js +2 -2
- package/dist/cjs/{post-card-control-1e9f3c2e.js → post-card-control-6fb3516c.js} +1 -1
- package/dist/cjs/post-card-control.cjs.entry.js +2 -2
- package/dist/cjs/{post-collapsible-trigger-33aed80f.js → post-collapsible-trigger-f37d046f.js} +1 -1
- package/dist/cjs/post-collapsible_2.cjs.entry.js +2 -2
- package/dist/cjs/{post-icon-37a238b7.js → post-icon-bd504813.js} +1 -1
- package/dist/cjs/post-icon.cjs.entry.js +2 -2
- package/dist/cjs/{post-logo-f5546f77.js → post-logo-b8b7fd01.js} +1 -1
- package/dist/cjs/post-logo.cjs.entry.js +2 -2
- package/dist/cjs/{post-popover-7cf2b0b3.js → post-popover-f08515db.js} +1 -1
- package/dist/cjs/post-popover.cjs.entry.js +2 -2
- package/dist/cjs/{post-popovercontainer-2f2e410d.js → post-popovercontainer-c5732a75.js} +82 -76
- package/dist/cjs/post-popovercontainer.cjs.entry.js +2 -2
- package/dist/cjs/{post-rating-6b741db7.js → post-rating-24d10119.js} +1 -1
- package/dist/cjs/post-rating.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-header-079d630b.js → post-tab-header-913f42f0.js} +1 -1
- package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-panel-6e9dfe33.js → post-tab-panel-913c162b.js} +1 -1
- package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/{post-tabs-0f0697fe.js → post-tabs-3d82488f.js} +1 -1
- package/dist/cjs/post-tabs.cjs.entry.js +2 -2
- package/dist/cjs/{post-tag-705ca8dd.js → post-tag-55c6b672.js} +1 -1
- package/dist/cjs/post-tag.cjs.entry.js +2 -2
- package/dist/cjs/{post-tooltip-1c1adc53.js → post-tooltip-ec8bd47b.js} +1 -1
- package/dist/cjs/{post-tooltip-trigger-2788d1f3.js → post-tooltip-trigger-3b873948.js} +1 -1
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +2 -2
- package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
- package/dist/components/package.js +1 -1
- package/dist/components/post-popovercontainer2.js +81 -75
- package/dist/docs.json +1 -1
- package/dist/esm/index.js +17 -17
- package/dist/esm/{package-42044a76.js → package-dbf80bab.js} +1 -1
- package/dist/esm/{post-accordion-de75fb3b.js → post-accordion-0bdbaff6.js} +1 -1
- package/dist/esm/{post-accordion-item-876566d4.js → post-accordion-item-f7afd91f.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-a093f7f6.js → post-alert-6e9f0768.js} +1 -1
- package/dist/esm/post-alert.entry.js +2 -2
- package/dist/esm/{post-card-control-51a94cb2.js → post-card-control-d5c34dbe.js} +1 -1
- package/dist/esm/post-card-control.entry.js +2 -2
- package/dist/esm/{post-collapsible-trigger-3bf74a8f.js → post-collapsible-trigger-6b1fb1a0.js} +1 -1
- package/dist/esm/post-collapsible_2.entry.js +2 -2
- package/dist/esm/{post-icon-1f5bb8c3.js → post-icon-93698099.js} +1 -1
- package/dist/esm/post-icon.entry.js +2 -2
- package/dist/esm/{post-logo-6634039d.js → post-logo-68a3c4ba.js} +1 -1
- package/dist/esm/post-logo.entry.js +2 -2
- package/dist/esm/{post-popover-ed63e2a9.js → post-popover-0ad97d22.js} +1 -1
- package/dist/esm/post-popover.entry.js +2 -2
- package/dist/esm/{post-popovercontainer-b0a448ef.js → post-popovercontainer-6efe2962.js} +82 -76
- package/dist/esm/post-popovercontainer.entry.js +2 -2
- package/dist/esm/{post-rating-e153a8c0.js → post-rating-fe288205.js} +1 -1
- package/dist/esm/post-rating.entry.js +2 -2
- package/dist/esm/{post-tab-header-c4d73968.js → post-tab-header-318939c1.js} +1 -1
- package/dist/esm/post-tab-header.entry.js +2 -2
- package/dist/esm/{post-tab-panel-2564a856.js → post-tab-panel-fc0cfc9d.js} +1 -1
- package/dist/esm/post-tab-panel.entry.js +2 -2
- package/dist/esm/{post-tabs-b1c862aa.js → post-tabs-afbdda4d.js} +1 -1
- package/dist/esm/post-tabs.entry.js +2 -2
- package/dist/esm/{post-tag-ee80d8a7.js → post-tag-e0c280f2.js} +1 -1
- package/dist/esm/post-tag.entry.js +2 -2
- package/dist/esm/{post-tooltip-7d7de30b.js → post-tooltip-9c93ef15.js} +1 -1
- package/dist/esm/{post-tooltip-trigger-dca2b305.js → post-tooltip-trigger-5414331f.js} +1 -1
- package/dist/esm/post-tooltip-trigger.entry.js +2 -2
- package/dist/esm/post-tooltip.entry.js +2 -2
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/{p-9a9ea870.js → p-01cdf262.js} +1 -1
- package/dist/post-components/{p-919dbdb6.js → p-182173f7.js} +1 -1
- package/dist/post-components/p-3383e435.entry.js +1 -0
- package/dist/post-components/p-4439f436.entry.js +1 -0
- package/dist/post-components/{p-c773da77.js → p-456ef15d.js} +1 -1
- package/dist/post-components/p-49432ffe.entry.js +1 -0
- package/dist/post-components/{p-20ae92d1.js → p-5341d287.js} +1 -1
- package/dist/post-components/{p-c5d2c5c2.js → p-5b66bd53.js} +1 -1
- package/dist/post-components/p-5ee16d7b.entry.js +1 -0
- package/dist/post-components/p-5ee7322e.entry.js +1 -0
- package/dist/post-components/p-5fcf92d5.entry.js +1 -0
- package/dist/post-components/p-660883f2.js +1 -0
- package/dist/post-components/p-72bf1982.js +1 -0
- package/dist/post-components/p-744ed5cd.entry.js +1 -0
- package/dist/post-components/{p-87c7769e.js → p-78069a1d.js} +1 -1
- package/dist/post-components/{p-c9adb8cf.js → p-7a1be73d.js} +1 -1
- package/dist/post-components/p-807178ef.entry.js +1 -0
- package/dist/post-components/{p-f18537ab.js → p-884e71b8.js} +1 -1
- package/dist/post-components/p-8c902f0d.js +1 -0
- package/dist/post-components/p-92ae9b68.entry.js +1 -0
- package/dist/post-components/p-ae159d9b.entry.js +1 -0
- package/dist/post-components/p-af952d8a.entry.js +1 -0
- package/dist/post-components/{p-485f4236.js → p-c01526d6.js} +1 -1
- package/dist/post-components/{p-4cab2e92.js → p-c53f61ec.js} +1 -1
- package/dist/post-components/{p-ec35fa3f.entry.js → p-ca8b4ea9.entry.js} +1 -1
- package/dist/post-components/{p-819e2907.js → p-d081c65a.js} +1 -1
- package/dist/post-components/p-d0aef125.entry.js +1 -0
- package/dist/post-components/p-d13774fe.js +1 -0
- package/dist/post-components/p-d5e93b3b.entry.js +1 -0
- package/dist/post-components/p-ecbf1eec.entry.js +1 -0
- package/dist/post-components/{p-db5a890b.js → p-ef810606.js} +1 -1
- package/dist/post-components/p-f36d705d.entry.js +1 -0
- package/dist/post-components/{p-40d7dff6.js → p-f7322027.js} +1 -1
- package/dist/post-components/post-components.esm.js +1 -1
- package/loaders/package.js +1 -1
- package/loaders/post-popovercontainer2.js +81 -75
- package/package.json +4 -4
- package/dist/post-components/p-0111a994.entry.js +0 -1
- package/dist/post-components/p-05d37adb.entry.js +0 -1
- package/dist/post-components/p-09bbc569.entry.js +0 -1
- package/dist/post-components/p-10ed28fb.entry.js +0 -1
- package/dist/post-components/p-12ecc05f.entry.js +0 -1
- package/dist/post-components/p-14485460.entry.js +0 -1
- package/dist/post-components/p-19bb2c38.js +0 -1
- package/dist/post-components/p-50ba5a11.entry.js +0 -1
- package/dist/post-components/p-726e203a.entry.js +0 -1
- package/dist/post-components/p-7f72f27f.entry.js +0 -1
- package/dist/post-components/p-8401d7a6.entry.js +0 -1
- package/dist/post-components/p-8c0f7ed5.entry.js +0 -1
- package/dist/post-components/p-92876103.entry.js +0 -1
- package/dist/post-components/p-a3fe2e78.js +0 -1
- package/dist/post-components/p-af12b4dc.js +0 -1
- package/dist/post-components/p-b5e928ba.entry.js +0 -1
- package/dist/post-components/p-bc83a621.entry.js +0 -1
- package/dist/post-components/p-d8361e68.js +0 -1
- package/dist/post-components/p-ef481eba.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-e1f32cce.js');
|
|
4
|
-
const _package = require('./package-
|
|
4
|
+
const _package = require('./package-26a892e5.js');
|
|
5
5
|
|
|
6
6
|
const postRatingCss = "@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}/*!\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:inline-block}.rating{display:flex;flex-wrap:wrap;overflow:hidden;margin:0 -0.25rem;border-radius:4px}.rating .star{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fff;position:relative;width:2rem;height:2rem;cursor:pointer}.rating .star .stroke,.rating .star .fill{display:block;width:100%;height:100%;transition:all ease 100ms}.rating .star .stroke{position:absolute;inset:auto;z-index:1;color:var(--post-rating-star-stroke)}.rating .star .fill{margin:1px;width:calc(100% - 2px);height:calc(100% - 2px);color:var(--post-rating-star-fill)}.rating .star.before-hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.active{--post-rating-star-stroke:hsl(0, 0%, 20%);--post-rating-star-fill:#fc0}.rating .star.hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.after-active{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:hsl(0, 0%, 80%)}.rating :focus{outline:none}.rating:focus-visible{outline-offset:2px;outline:2px solid #1976c8}.rating[aria-readonly=true] .star,.rating[aria-disabled=true] .star{cursor:default}.rating[aria-disabled=true] .star{--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:#fff}.rating[aria-disabled=true] .star.active{cursor:default;--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:hsl(0, 0%, 90%)}";
|
|
7
7
|
const PostRatingStyle0 = postRatingCss;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postRating = require('./post-rating-
|
|
5
|
+
const postRating = require('./post-rating-24d10119.js');
|
|
6
6
|
require('./index-e1f32cce.js');
|
|
7
|
-
require('./package-
|
|
7
|
+
require('./package-26a892e5.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-e1f32cce.js');
|
|
4
|
-
const _package = require('./package-
|
|
4
|
+
const _package = require('./package-26a892e5.js');
|
|
5
5
|
const checkNonEmpty = require('./check-non-empty-eeaa8f77.js');
|
|
6
6
|
|
|
7
7
|
const postTabHeaderCss = ".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)}}@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}/*!\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}";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTabHeader = require('./post-tab-header-
|
|
5
|
+
const postTabHeader = require('./post-tab-header-913f42f0.js');
|
|
6
6
|
require('./index-e1f32cce.js');
|
|
7
|
-
require('./package-
|
|
7
|
+
require('./package-26a892e5.js');
|
|
8
8
|
require('./check-non-empty-eeaa8f77.js');
|
|
9
9
|
require('./constants-238701d3.js');
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-e1f32cce.js');
|
|
4
|
-
const _package = require('./package-
|
|
4
|
+
const _package = require('./package-26a892e5.js');
|
|
5
5
|
|
|
6
6
|
const postTabPanelCss = ":host{display:none}";
|
|
7
7
|
const PostTabPanelStyle0 = postTabPanelCss;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTabPanel = require('./post-tab-panel-
|
|
5
|
+
const postTabPanel = require('./post-tab-panel-913c162b.js');
|
|
6
6
|
require('./index-e1f32cce.js');
|
|
7
|
-
require('./package-
|
|
7
|
+
require('./package-26a892e5.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTabs = require('./post-tabs-
|
|
5
|
+
const postTabs = require('./post-tabs-3d82488f.js');
|
|
6
6
|
require('./index-e1f32cce.js');
|
|
7
|
-
require('./package-
|
|
7
|
+
require('./package-26a892e5.js');
|
|
8
8
|
require('./fade-35a3633a.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-e1f32cce.js');
|
|
4
|
-
const _package = require('./package-
|
|
4
|
+
const _package = require('./package-26a892e5.js');
|
|
5
5
|
|
|
6
6
|
const postTagCss = "@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}/*!\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 */.tag,.tag:where(:has(:not(pre))){--post-tag-bg:hsl(0, 0%, 90%);--post-tag-fg:#000;display:inline-flex;align-items:center;gap:.25rem;padding:0 .5rem;max-width:100%;background-color:var(--post-tag-bg);border:1px solid rgba(0,0,0,0);border-radius:.25rem;font-size:1rem;line-height:1.875rem;white-space:nowrap;color:var(--post-tag-fg)}.tag post-icon,.tag:where(:has(:not(pre))) post-icon{flex:0 0 auto;width:1.25rem;height:1.25rem}.tag .tag-text,.tag:where(:has(:not(pre))) .tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag .tag-text svg,.tag .tag-text img,.tag:where(:has(:not(pre))) .tag-text svg,.tag:where(:has(:not(pre))) .tag-text img{display:inline-block;height:1.25rem !important;vertical-align:text-top}.tag.tag-sm,.tag:where(:has(:not(pre))).tag-sm{line-height:1.5rem}.tag.tag-sm .tag-icon,.tag:where(:has(:not(pre))).tag-sm .tag-icon{width:1rem;height:1rem}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{--post-tag-bg:#fff;--post-tag-fg:#000}.tag.tag-yellow,.tag:where(:has(:not(pre))).tag-yellow{--post-tag-bg:#fc0;--post-tag-fg:#000}.tag.tag-success,.tag:where(:has(:not(pre))).tag-success{--post-tag-bg:#2c871d;--post-tag-fg:#fff}.tag.tag-warning,.tag:where(:has(:not(pre))).tag-warning{--post-tag-bg:#f49e00;--post-tag-fg:#000}.tag.tag-danger,.tag:where(:has(:not(pre))).tag-danger{--post-tag-bg:#a51728;--post-tag-fg:#fff}.tag.tag-info,.tag:where(:has(:not(pre))).tag-info{--post-tag-bg:#cce4ee;--post-tag-fg:#000}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{border-color:var(--post-contrast-color)}pre .tag,pre .tag:where(:has(:not(pre))){display:inline;padding:initial;max-width:initial;background:initial;border:initial;border-radius:initial;font-size:inherit;line-height:inherit;white-space:unset}*,*:before,*:after{box-sizing:border-box}.tag-text ::slotted(svg),.tag-text ::slotted(img){display:inline-block !important;height:1.25rem !important;vertical-align:text-top !important}";
|
|
7
7
|
const PostTagStyle0 = postTagCss;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTag = require('./post-tag-
|
|
5
|
+
const postTag = require('./post-tag-55c6b672.js');
|
|
6
6
|
require('./index-e1f32cce.js');
|
|
7
|
-
require('./package-
|
|
7
|
+
require('./package-26a892e5.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-e1f32cce.js');
|
|
4
|
-
const _package = require('./package-
|
|
4
|
+
const _package = require('./package-26a892e5.js');
|
|
5
5
|
const checkType = require('./check-type-64af82a9.js');
|
|
6
6
|
|
|
7
7
|
const postTooltipCss = ":host{display:none;--post-contrast-color:#fff;--post-bg-rgb:51, 51, 51}:host([open]){display:block}post-popovercontainer[arrow]::after{position:absolute;content:\"\";inset:-13px;z-index:-1}post-popovercontainer>div{padding:.25rem .5rem;max-width:var(--post-tooltip-max-width, 280px);width:inherit;min-height:32px;word-wrap:break-word;white-space:normal}";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTooltipTrigger = require('./post-tooltip-trigger-
|
|
5
|
+
const postTooltipTrigger = require('./post-tooltip-trigger-3b873948.js');
|
|
6
6
|
require('./index-e1f32cce.js');
|
|
7
7
|
require('./check-type-64af82a9.js');
|
|
8
|
-
require('./package-
|
|
8
|
+
require('./package-26a892e5.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTooltip = require('./post-tooltip-
|
|
5
|
+
const postTooltip = require('./post-tooltip-ec8bd47b.js');
|
|
6
6
|
require('./index-e1f32cce.js');
|
|
7
|
-
require('./package-
|
|
7
|
+
require('./package-26a892e5.js');
|
|
8
8
|
require('./check-type-64af82a9.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -195,6 +195,71 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
195
195
|
return coords;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
+
/**
|
|
199
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
200
|
+
* element is overflowing a given clipping boundary on each side.
|
|
201
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
202
|
+
* - negative = how many pixels left before it will overflow
|
|
203
|
+
* - 0 = lies flush with the boundary
|
|
204
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
205
|
+
*/
|
|
206
|
+
async function detectOverflow(state, options) {
|
|
207
|
+
var _await$platform$isEle;
|
|
208
|
+
if (options === void 0) {
|
|
209
|
+
options = {};
|
|
210
|
+
}
|
|
211
|
+
const {
|
|
212
|
+
x,
|
|
213
|
+
y,
|
|
214
|
+
platform,
|
|
215
|
+
rects,
|
|
216
|
+
elements,
|
|
217
|
+
strategy
|
|
218
|
+
} = state;
|
|
219
|
+
const {
|
|
220
|
+
boundary = 'clippingAncestors',
|
|
221
|
+
rootBoundary = 'viewport',
|
|
222
|
+
elementContext = 'floating',
|
|
223
|
+
altBoundary = false,
|
|
224
|
+
padding = 0
|
|
225
|
+
} = evaluate(options, state);
|
|
226
|
+
const paddingObject = getPaddingObject(padding);
|
|
227
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
228
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
229
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
230
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
231
|
+
boundary,
|
|
232
|
+
rootBoundary,
|
|
233
|
+
strategy
|
|
234
|
+
}));
|
|
235
|
+
const rect = elementContext === 'floating' ? {
|
|
236
|
+
x,
|
|
237
|
+
y,
|
|
238
|
+
width: rects.floating.width,
|
|
239
|
+
height: rects.floating.height
|
|
240
|
+
} : rects.reference;
|
|
241
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
242
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
243
|
+
x: 1,
|
|
244
|
+
y: 1
|
|
245
|
+
} : {
|
|
246
|
+
x: 1,
|
|
247
|
+
y: 1
|
|
248
|
+
};
|
|
249
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
250
|
+
elements,
|
|
251
|
+
rect,
|
|
252
|
+
offsetParent,
|
|
253
|
+
strategy
|
|
254
|
+
}) : rect);
|
|
255
|
+
return {
|
|
256
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
257
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
258
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
259
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
|
|
198
263
|
/**
|
|
199
264
|
* Computes the `x` and `y` coordinates that will place the floating element
|
|
200
265
|
* next to a given reference element.
|
|
@@ -224,6 +289,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
224
289
|
let middlewareData = {};
|
|
225
290
|
let resetCount = 0;
|
|
226
291
|
for (let i = 0; i < validMiddleware.length; i++) {
|
|
292
|
+
var _platform$detectOverf;
|
|
227
293
|
const {
|
|
228
294
|
name,
|
|
229
295
|
fn
|
|
@@ -241,7 +307,10 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
241
307
|
strategy,
|
|
242
308
|
middlewareData,
|
|
243
309
|
rects,
|
|
244
|
-
platform
|
|
310
|
+
platform: {
|
|
311
|
+
...platform,
|
|
312
|
+
detectOverflow: (_platform$detectOverf = platform.detectOverflow) != null ? _platform$detectOverf : detectOverflow
|
|
313
|
+
},
|
|
245
314
|
elements: {
|
|
246
315
|
reference,
|
|
247
316
|
floating
|
|
@@ -286,71 +355,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
286
355
|
};
|
|
287
356
|
};
|
|
288
357
|
|
|
289
|
-
/**
|
|
290
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
291
|
-
* element is overflowing a given clipping boundary on each side.
|
|
292
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
293
|
-
* - negative = how many pixels left before it will overflow
|
|
294
|
-
* - 0 = lies flush with the boundary
|
|
295
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
296
|
-
*/
|
|
297
|
-
async function detectOverflow(state, options) {
|
|
298
|
-
var _await$platform$isEle;
|
|
299
|
-
if (options === void 0) {
|
|
300
|
-
options = {};
|
|
301
|
-
}
|
|
302
|
-
const {
|
|
303
|
-
x,
|
|
304
|
-
y,
|
|
305
|
-
platform,
|
|
306
|
-
rects,
|
|
307
|
-
elements,
|
|
308
|
-
strategy
|
|
309
|
-
} = state;
|
|
310
|
-
const {
|
|
311
|
-
boundary = 'clippingAncestors',
|
|
312
|
-
rootBoundary = 'viewport',
|
|
313
|
-
elementContext = 'floating',
|
|
314
|
-
altBoundary = false,
|
|
315
|
-
padding = 0
|
|
316
|
-
} = evaluate(options, state);
|
|
317
|
-
const paddingObject = getPaddingObject(padding);
|
|
318
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
319
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
320
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
321
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
322
|
-
boundary,
|
|
323
|
-
rootBoundary,
|
|
324
|
-
strategy
|
|
325
|
-
}));
|
|
326
|
-
const rect = elementContext === 'floating' ? {
|
|
327
|
-
x,
|
|
328
|
-
y,
|
|
329
|
-
width: rects.floating.width,
|
|
330
|
-
height: rects.floating.height
|
|
331
|
-
} : rects.reference;
|
|
332
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
333
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
334
|
-
x: 1,
|
|
335
|
-
y: 1
|
|
336
|
-
} : {
|
|
337
|
-
x: 1,
|
|
338
|
-
y: 1
|
|
339
|
-
};
|
|
340
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
341
|
-
elements,
|
|
342
|
-
rect,
|
|
343
|
-
offsetParent,
|
|
344
|
-
strategy
|
|
345
|
-
}) : rect);
|
|
346
|
-
return {
|
|
347
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
348
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
349
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
350
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
|
|
354
358
|
/**
|
|
355
359
|
* Provides data to position an inner element of the floating element so that it
|
|
356
360
|
* appears centered to the reference element.
|
|
@@ -472,7 +476,7 @@ const autoPlacement = function (options) {
|
|
|
472
476
|
...detectOverflowOptions
|
|
473
477
|
} = evaluate(options, state);
|
|
474
478
|
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
475
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
479
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
476
480
|
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
477
481
|
const currentPlacement = placements$1[currentIndex];
|
|
478
482
|
if (currentPlacement == null) {
|
|
@@ -586,7 +590,7 @@ const flip$1 = function (options) {
|
|
|
586
590
|
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
587
591
|
}
|
|
588
592
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
589
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
593
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
590
594
|
const overflows = [];
|
|
591
595
|
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
592
596
|
if (checkMainAxis) {
|
|
@@ -611,7 +615,7 @@ const flip$1 = function (options) {
|
|
|
611
615
|
if (!ignoreCrossAxisOverflow ||
|
|
612
616
|
// We leave the current main axis only if every placement on that axis
|
|
613
617
|
// overflows the main axis.
|
|
614
|
-
overflowsData.every(d => d.overflows[0] > 0
|
|
618
|
+
overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
615
619
|
// Try next placement and re-run the lifecycle.
|
|
616
620
|
return {
|
|
617
621
|
data: {
|
|
@@ -693,7 +697,8 @@ const hide = function (options) {
|
|
|
693
697
|
options,
|
|
694
698
|
async fn(state) {
|
|
695
699
|
const {
|
|
696
|
-
rects
|
|
700
|
+
rects,
|
|
701
|
+
platform
|
|
697
702
|
} = state;
|
|
698
703
|
const {
|
|
699
704
|
strategy = 'referenceHidden',
|
|
@@ -702,7 +707,7 @@ const hide = function (options) {
|
|
|
702
707
|
switch (strategy) {
|
|
703
708
|
case 'referenceHidden':
|
|
704
709
|
{
|
|
705
|
-
const overflow = await detectOverflow(state, {
|
|
710
|
+
const overflow = await platform.detectOverflow(state, {
|
|
706
711
|
...detectOverflowOptions,
|
|
707
712
|
elementContext: 'reference'
|
|
708
713
|
});
|
|
@@ -716,7 +721,7 @@ const hide = function (options) {
|
|
|
716
721
|
}
|
|
717
722
|
case 'escaped':
|
|
718
723
|
{
|
|
719
|
-
const overflow = await detectOverflow(state, {
|
|
724
|
+
const overflow = await platform.detectOverflow(state, {
|
|
720
725
|
...detectOverflowOptions,
|
|
721
726
|
altBoundary: true
|
|
722
727
|
});
|
|
@@ -970,7 +975,8 @@ const shift$1 = function (options) {
|
|
|
970
975
|
const {
|
|
971
976
|
x,
|
|
972
977
|
y,
|
|
973
|
-
placement
|
|
978
|
+
placement,
|
|
979
|
+
platform
|
|
974
980
|
} = state;
|
|
975
981
|
const {
|
|
976
982
|
mainAxis: checkMainAxis = true,
|
|
@@ -993,7 +999,7 @@ const shift$1 = function (options) {
|
|
|
993
999
|
x,
|
|
994
1000
|
y
|
|
995
1001
|
};
|
|
996
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1002
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
997
1003
|
const crossAxis = getSideAxis(getSide(placement));
|
|
998
1004
|
const mainAxis = getOppositeAxis(crossAxis);
|
|
999
1005
|
let mainAxisCoord = coords[mainAxis];
|
|
@@ -1125,7 +1131,7 @@ const size$1 = function (options) {
|
|
|
1125
1131
|
apply = () => {},
|
|
1126
1132
|
...detectOverflowOptions
|
|
1127
1133
|
} = evaluate(options, state);
|
|
1128
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1134
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
1129
1135
|
const side = getSide(placement);
|
|
1130
1136
|
const alignment = getAlignment(placement);
|
|
1131
1137
|
const isYAxis = getSideAxis(placement) === 'y';
|
package/dist/docs.json
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { P as PostAccordion } from './post-accordion-
|
|
2
|
-
export { P as PostAccordionItem } from './post-accordion-item-
|
|
3
|
-
export { P as PostAlert } from './post-alert-
|
|
4
|
-
export { P as PostCardControl } from './post-card-control-
|
|
5
|
-
export { P as PostCollapsible, a as PostCollapsibleTrigger } from './post-collapsible-trigger-
|
|
6
|
-
export { P as PostIcon } from './post-icon-
|
|
7
|
-
export { P as PostLogo } from './post-logo-
|
|
8
|
-
export { P as PostPopover } from './post-popover-
|
|
9
|
-
export { P as PostPopovercontainer } from './post-popovercontainer-
|
|
10
|
-
export { P as PostRating } from './post-rating-
|
|
11
|
-
export { P as PostTabs } from './post-tabs-
|
|
12
|
-
export { P as PostTabHeader } from './post-tab-header-
|
|
13
|
-
export { P as PostTabPanel } from './post-tab-panel-
|
|
14
|
-
export { P as PostTooltip } from './post-tooltip-
|
|
15
|
-
export { P as PostTooltipTrigger } from './post-tooltip-trigger-
|
|
16
|
-
export { P as PostTag } from './post-tag-
|
|
1
|
+
export { P as PostAccordion } from './post-accordion-0bdbaff6.js';
|
|
2
|
+
export { P as PostAccordionItem } from './post-accordion-item-f7afd91f.js';
|
|
3
|
+
export { P as PostAlert } from './post-alert-6e9f0768.js';
|
|
4
|
+
export { P as PostCardControl } from './post-card-control-d5c34dbe.js';
|
|
5
|
+
export { P as PostCollapsible, a as PostCollapsibleTrigger } from './post-collapsible-trigger-6b1fb1a0.js';
|
|
6
|
+
export { P as PostIcon } from './post-icon-93698099.js';
|
|
7
|
+
export { P as PostLogo } from './post-logo-68a3c4ba.js';
|
|
8
|
+
export { P as PostPopover } from './post-popover-0ad97d22.js';
|
|
9
|
+
export { P as PostPopovercontainer } from './post-popovercontainer-6efe2962.js';
|
|
10
|
+
export { P as PostRating } from './post-rating-fe288205.js';
|
|
11
|
+
export { P as PostTabs } from './post-tabs-afbdda4d.js';
|
|
12
|
+
export { P as PostTabHeader } from './post-tab-header-318939c1.js';
|
|
13
|
+
export { P as PostTabPanel } from './post-tab-panel-fc0cfc9d.js';
|
|
14
|
+
export { P as PostTooltip } from './post-tooltip-9c93ef15.js';
|
|
15
|
+
export { P as PostTooltipTrigger } from './post-tooltip-trigger-5414331f.js';
|
|
16
|
+
export { P as PostTag } from './post-tag-e0c280f2.js';
|
|
17
17
|
import './index-e1b64755.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-dbf80bab.js';
|
|
19
19
|
import './heading-levels-5b7b4349.js';
|
|
20
20
|
import './check-one-of-6b3ef8eb.js';
|
|
21
21
|
import './index-69587a51.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-dbf80bab.js';
|
|
3
3
|
import { H as HEADING_LEVELS } from './heading-levels-5b7b4349.js';
|
|
4
4
|
import { c as checkOneOf } from './check-one-of-6b3ef8eb.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-dbf80bab.js';
|
|
3
3
|
import { H as HEADING_LEVELS } from './heading-levels-5b7b4349.js';
|
|
4
4
|
import { c as checkEmptyOrOneOf } from './index-69587a51.js';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { P as post_accordion_item } from './post-accordion-item-
|
|
1
|
+
export { P as post_accordion_item } from './post-accordion-item-f7afd91f.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-dbf80bab.js';
|
|
4
4
|
import './heading-levels-5b7b4349.js';
|
|
5
5
|
import './index-69587a51.js';
|
|
6
6
|
import './constants-8d548297.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { P as post_accordion } from './post-accordion-
|
|
1
|
+
export { P as post_accordion } from './post-accordion-0bdbaff6.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-dbf80bab.js';
|
|
4
4
|
import './heading-levels-5b7b4349.js';
|
|
5
5
|
import './check-one-of-6b3ef8eb.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-dbf80bab.js';
|
|
3
3
|
import { f as fadeOut } from './fade-7fd71785.js';
|
|
4
4
|
import { a as checkEmptyOrPattern, c as checkEmptyOrOneOf } from './index-69587a51.js';
|
|
5
5
|
import { c as checkType } from './check-type-8828dbe4.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { P as post_alert } from './post-alert-
|
|
1
|
+
export { P as post_alert } from './post-alert-6e9f0768.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-dbf80bab.js';
|
|
4
4
|
import './fade-7fd71785.js';
|
|
5
5
|
import './index-69587a51.js';
|
|
6
6
|
import './constants-8d548297.js';
|