@swisspost/design-system-components 7.0.0 → 7.2.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.
Files changed (195) hide show
  1. package/dist/cjs/heading-levels-608d432e.js +5 -0
  2. package/dist/cjs/index-0fc0bf5f.js +1423 -0
  3. package/dist/cjs/index.cjs.js +18 -17
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{package-45af106a.js → package-b133ab48.js} +1 -1
  6. package/dist/cjs/{post-accordion-7507f838.js → post-accordion-a079c21b.js} +28 -13
  7. package/dist/cjs/{post-accordion-item-5bf4d98b.js → post-accordion-item-30c6ec06.js} +7 -8
  8. package/dist/cjs/post-accordion-item.cjs.entry.js +4 -3
  9. package/dist/cjs/post-accordion.cjs.entry.js +5 -3
  10. package/dist/cjs/{post-alert-9c39c854.js → post-alert-b5cfc4c6.js} +6 -6
  11. package/dist/cjs/post-alert.cjs.entry.js +3 -3
  12. package/dist/cjs/post-card-control-80ff0fbb.js +315 -0
  13. package/dist/cjs/post-card-control.cjs.entry.js +3 -3
  14. package/dist/cjs/{post-collapsible-00319f1f.js → post-collapsible-9bcaf6f1.js} +4 -4
  15. package/dist/cjs/post-collapsible.cjs.entry.js +3 -3
  16. package/dist/cjs/post-components.cjs.js +10 -10
  17. package/dist/cjs/{post-icon-09845341.js → post-icon-87e7972e.js} +3 -3
  18. package/dist/cjs/post-icon.cjs.entry.js +3 -3
  19. package/dist/cjs/{post-popover-3b6aaeae.js → post-popover-0a73553e.js} +4 -4
  20. package/dist/cjs/post-popover.cjs.entry.js +3 -3
  21. package/dist/cjs/{post-popovercontainer-0b8343ac.js → post-popovercontainer-a1df1705.js} +236 -18
  22. package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
  23. package/dist/cjs/{post-rating-285f966e.js → post-rating-2337c023.js} +3 -3
  24. package/dist/cjs/post-rating.cjs.entry.js +3 -3
  25. package/dist/cjs/post-tab-header-ac4137cb.js +32 -0
  26. package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
  27. package/dist/cjs/{post-tab-panel-9c20a84e.js → post-tab-panel-307eacef.js} +3 -3
  28. package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
  29. package/dist/cjs/{post-tabs-75e71078.js → post-tabs-92435b40.js} +3 -3
  30. package/dist/cjs/post-tabs.cjs.entry.js +3 -3
  31. package/dist/cjs/{post-tag-942085fd.js → post-tag-0237216a.js} +8 -4
  32. package/dist/cjs/post-tag.cjs.entry.js +3 -3
  33. package/dist/cjs/{post-tooltip-94d4f21f.js → post-tooltip-7fcd3f15.js} +5 -4
  34. package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
  35. package/dist/collection/collection-manifest.json +2 -2
  36. package/dist/collection/components/post-accordion/post-accordion.js +54 -13
  37. package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
  38. package/dist/collection/components/post-accordion-item/post-accordion-item.js +12 -9
  39. package/dist/collection/components/post-alert/post-alert.css +1 -1
  40. package/dist/collection/components/post-alert/post-alert.js +6 -6
  41. package/dist/collection/components/post-card-control/post-card-control.css +1 -1
  42. package/dist/collection/components/post-card-control/post-card-control.js +15 -11
  43. package/dist/collection/components/post-collapsible/post-collapsible.js +5 -6
  44. package/dist/collection/components/post-icon/post-icon.js +3 -3
  45. package/dist/collection/components/post-popover/post-popover.css +1 -1
  46. package/dist/collection/components/post-popover/post-popover.js +3 -3
  47. package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
  48. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +4 -4
  49. package/dist/collection/components/post-rating/post-rating.js +2 -2
  50. package/dist/collection/components/post-tab-header/post-tab-header.css +2 -2
  51. package/dist/collection/components/post-tab-header/post-tab-header.js +3 -3
  52. package/dist/collection/components/post-tab-panel/post-tab-panel.js +2 -2
  53. package/dist/collection/components/post-tabs/post-tabs.js +3 -3
  54. package/dist/collection/components/post-tag/post-tag.js +9 -5
  55. package/dist/collection/components/post-tooltip/post-tooltip.js +4 -4
  56. package/dist/collection/types/heading-levels.js +1 -0
  57. package/dist/collection/types/index.js +1 -0
  58. package/dist/components/check-one-of.js +6 -0
  59. package/dist/components/heading-levels.js +3 -0
  60. package/dist/components/index2.js +2 -6
  61. package/dist/components/package.js +1 -1
  62. package/dist/components/post-accordion-item2.js +5 -6
  63. package/dist/components/post-accordion2.js +30 -12
  64. package/dist/components/post-alert2.js +4 -4
  65. package/dist/components/post-card-control2.js +13 -9
  66. package/dist/components/post-collapsible2.js +3 -4
  67. package/dist/components/post-icon2.js +2 -2
  68. package/dist/components/post-popover2.js +2 -2
  69. package/dist/components/post-popovercontainer2.js +234 -16
  70. package/dist/components/post-rating2.js +1 -1
  71. package/dist/components/post-tab-header2.js +2 -2
  72. package/dist/components/post-tab-panel2.js +1 -1
  73. package/dist/components/post-tabs2.js +1 -1
  74. package/dist/components/post-tag2.js +6 -2
  75. package/dist/components/post-tooltip2.js +3 -2
  76. package/dist/docs.d.ts +34 -0
  77. package/dist/docs.json +76 -22
  78. package/dist/esm/heading-levels-5b7b4349.js +3 -0
  79. package/dist/esm/index-d9331ff3.js +1394 -0
  80. package/dist/esm/index.js +18 -17
  81. package/dist/esm/loader.js +3 -3
  82. package/dist/esm/{package-1242b80d.js → package-37b02bc3.js} +1 -1
  83. package/dist/esm/{post-accordion-bfd058bc.js → post-accordion-7eaa090e.js} +28 -13
  84. package/dist/esm/{post-accordion-item-4fa44842.js → post-accordion-item-d5466ca0.js} +7 -8
  85. package/dist/esm/post-accordion-item.entry.js +4 -3
  86. package/dist/esm/post-accordion.entry.js +5 -3
  87. package/dist/esm/{post-alert-192d0176.js → post-alert-5bc0d11c.js} +6 -6
  88. package/dist/esm/post-alert.entry.js +3 -3
  89. package/dist/esm/post-card-control-d64be740.js +313 -0
  90. package/dist/esm/post-card-control.entry.js +3 -3
  91. package/dist/esm/{post-collapsible-d848eb2a.js → post-collapsible-0bb7ca9a.js} +4 -4
  92. package/dist/esm/post-collapsible.entry.js +3 -3
  93. package/dist/esm/post-components.js +11 -11
  94. package/dist/esm/{post-icon-811654f7.js → post-icon-8d59faf7.js} +3 -3
  95. package/dist/esm/post-icon.entry.js +3 -3
  96. package/dist/esm/{post-popover-b48a9d7c.js → post-popover-0ebc24f5.js} +4 -4
  97. package/dist/esm/post-popover.entry.js +3 -3
  98. package/dist/esm/{post-popovercontainer-7413bb41.js → post-popovercontainer-5c0ba050.js} +236 -18
  99. package/dist/esm/post-popovercontainer.entry.js +3 -3
  100. package/dist/esm/{post-rating-806de800.js → post-rating-40195437.js} +3 -3
  101. package/dist/esm/post-rating.entry.js +3 -3
  102. package/dist/esm/post-tab-header-ff165ebb.js +30 -0
  103. package/dist/esm/post-tab-header.entry.js +3 -3
  104. package/dist/esm/{post-tab-panel-d7145a70.js → post-tab-panel-d40b9704.js} +3 -3
  105. package/dist/esm/post-tab-panel.entry.js +3 -3
  106. package/dist/esm/{post-tabs-f130a7d8.js → post-tabs-6ee5542b.js} +3 -3
  107. package/dist/esm/post-tabs.entry.js +3 -3
  108. package/dist/esm/{post-tag-7c329d6c.js → post-tag-e76f88e5.js} +8 -4
  109. package/dist/esm/post-tag.entry.js +3 -3
  110. package/dist/esm/{post-tooltip-942bd014.js → post-tooltip-990b8b2b.js} +5 -4
  111. package/dist/esm/post-tooltip.entry.js +3 -3
  112. package/dist/post-components/index.esm.js +1 -1
  113. package/dist/post-components/{p-c9004503.js → p-0637689e.js} +1 -1
  114. package/dist/post-components/p-0ba99d76.entry.js +1 -0
  115. package/dist/post-components/p-0e97fb19.entry.js +1 -0
  116. package/dist/post-components/p-19ee1efc.entry.js +1 -0
  117. package/dist/post-components/p-23e7f6e3.entry.js +1 -0
  118. package/dist/post-components/p-247a1668.js +1 -0
  119. package/dist/post-components/p-287f66b9.js +1 -0
  120. package/dist/post-components/p-305ab60c.js +1 -0
  121. package/dist/post-components/{p-b4abbb28.js → p-3ce051c9.js} +1 -1
  122. package/dist/post-components/p-3f2c54ad.js +1 -0
  123. package/dist/post-components/p-62229794.entry.js +1 -0
  124. package/dist/post-components/p-69bd634e.js +1 -0
  125. package/dist/post-components/p-7dc73c43.entry.js +1 -0
  126. package/dist/post-components/p-7e59cbd2.js +1 -0
  127. package/dist/post-components/p-8559d3c0.entry.js +1 -0
  128. package/dist/post-components/p-941e5ef0.js +1 -0
  129. package/dist/post-components/p-95003bde.entry.js +1 -0
  130. package/dist/post-components/{p-d4cd7bb0.js → p-a1da0539.js} +1 -1
  131. package/dist/post-components/p-a5d9115f.entry.js +1 -0
  132. package/dist/post-components/p-a9aa57f0.entry.js +1 -0
  133. package/dist/post-components/{p-41c9c59f.js → p-aef9ee8b.js} +1 -1
  134. package/dist/post-components/p-c21da8cb.js +1 -0
  135. package/dist/post-components/p-c655db7c.entry.js +1 -0
  136. package/dist/post-components/p-ca2ff4bb.entry.js +1 -0
  137. package/dist/post-components/p-d2eafe06.entry.js +1 -0
  138. package/dist/post-components/p-d6e0e495.js +1 -0
  139. package/dist/post-components/p-d9eab6d9.js +2 -0
  140. package/dist/post-components/p-deb19ca0.js +1 -0
  141. package/dist/post-components/{p-93ba2827.js → p-ee12644d.js} +3 -3
  142. package/dist/post-components/p-f86b2ea1.js +1 -0
  143. package/dist/post-components/p-ff0b0a9a.entry.js +1 -0
  144. package/dist/post-components/post-components.esm.js +1 -1
  145. package/dist/types/components/post-accordion/post-accordion.d.ts +8 -2
  146. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +2 -1
  147. package/dist/types/components/post-card-control/post-card-control.d.ts +5 -2
  148. package/dist/types/components/post-collapsible/post-collapsible.d.ts +1 -1
  149. package/dist/types/components/post-tag/post-tag.d.ts +2 -2
  150. package/dist/types/components/post-tooltip/post-tooltip.d.ts +1 -1
  151. package/dist/types/components.d.ts +15 -5
  152. package/dist/types/stencil-public-runtime.d.ts +3 -8
  153. package/dist/types/types/heading-levels.d.ts +2 -0
  154. package/dist/types/types/index.d.ts +1 -0
  155. package/loader/cdn.js +1 -3
  156. package/loader/index.cjs.js +1 -3
  157. package/loader/index.es2017.js +1 -3
  158. package/loader/index.js +1 -3
  159. package/package.json +17 -17
  160. package/dist/cjs/index-3b732d59.js +0 -2111
  161. package/dist/cjs/post-card-control-4a16b3d7.js +0 -311
  162. package/dist/cjs/post-tab-header-f1c16656.js +0 -32
  163. package/dist/esm/index-961099d2.js +0 -2082
  164. package/dist/esm/polyfills/core-js.js +0 -11
  165. package/dist/esm/polyfills/dom.js +0 -79
  166. package/dist/esm/polyfills/es5-html-element.js +0 -1
  167. package/dist/esm/polyfills/index.js +0 -34
  168. package/dist/esm/polyfills/system.js +0 -6
  169. package/dist/esm/post-card-control-b23e1e6f.js +0 -309
  170. package/dist/esm/post-tab-header-95f0dc6a.js +0 -30
  171. package/dist/post-components/p-0d4e50a9.js +0 -1
  172. package/dist/post-components/p-1c780bac.entry.js +0 -1
  173. package/dist/post-components/p-2524b6b9.entry.js +0 -1
  174. package/dist/post-components/p-2ee23269.entry.js +0 -1
  175. package/dist/post-components/p-416426cc.js +0 -1
  176. package/dist/post-components/p-46cea7ee.js +0 -1
  177. package/dist/post-components/p-4aa14704.js +0 -1
  178. package/dist/post-components/p-579f55af.js +0 -1
  179. package/dist/post-components/p-5b2cdcf0.js +0 -2
  180. package/dist/post-components/p-60b02cbb.entry.js +0 -1
  181. package/dist/post-components/p-62407836.entry.js +0 -1
  182. package/dist/post-components/p-6308fd47.js +0 -1
  183. package/dist/post-components/p-6fba8cb2.entry.js +0 -1
  184. package/dist/post-components/p-86acda91.entry.js +0 -1
  185. package/dist/post-components/p-94b5c41e.entry.js +0 -1
  186. package/dist/post-components/p-a3b54b5f.js +0 -1
  187. package/dist/post-components/p-a4b6b950.js +0 -1
  188. package/dist/post-components/p-c0f8e385.entry.js +0 -1
  189. package/dist/post-components/p-c4fe5052.entry.js +0 -1
  190. package/dist/post-components/p-cd9c10dd.entry.js +0 -1
  191. package/dist/post-components/p-d8d76dd1.entry.js +0 -1
  192. package/dist/post-components/p-e819d5fb.entry.js +0 -1
  193. package/dist/post-components/p-f44c172a.js +0 -1
  194. package/dist/post-components/p-f9e58309.js +0 -1
  195. package/dist/post-components/p-ffb9a651.entry.js +0 -1
@@ -3,7 +3,7 @@ import { v as version } from './package.js';
3
3
  import { g as getAttributeObserver } from './attribute-observer.js';
4
4
  import { d as defineCustomElement$1 } from './post-popovercontainer2.js';
5
5
 
6
- const postPopoverCss = "/*!\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 */.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;-webkit-appearance:button;appearance:button;border-radius:4px;color:var(--post-gray-80);transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.btn-close{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-close::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:1.5rem;width:1.5rem}:is(.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]) .btn-close{color:var(--post-contrast-color)}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:var(--post-contrast-color)}.btn-close:disabled{color:var(--post-gray-40)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:Highlight}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}*{box-sizing:border-box}:host{--post-contrast-color:#fff;--post-bg-rgb:51, 51, 51;display:block}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.popover-container{display:flex;align-items:self-start;padding:.5em;max-width:min(66vw,60rem)}@media (max-width: 599.98px){.popover-container{max-width:100%}}.popover-content{padding:.5em}";
6
+ const postPopoverCss = "/*!\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 */.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;border-radius:4px;color:var(--post-gray-80);transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.btn-close{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-close::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:1.5rem;width:1.5rem}:is(.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]) .btn-close{color:var(--post-contrast-color)}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:var(--post-contrast-color)}.btn-close:disabled{color:var(--post-gray-40)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:Highlight}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}*{box-sizing:border-box}:host{--post-contrast-color:#fff;--post-bg-rgb:51, 51, 51;display:block}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.popover-container{display:flex;align-items:self-start;padding:.5em;min-width:160px;max-width:280px}@media (max-width: 599.98px){.popover-container{max-width:100%}}.popover-content{padding:.5em;flex-grow:1}";
7
7
  const PostPopoverStyle0 = postPopoverCss;
8
8
 
9
9
  /**
@@ -96,7 +96,7 @@ const PostPopover = /*@__PURE__*/ proxyCustomElement(class PostPopover extends H
96
96
  this.triggers.forEach(trigger => trigger.setAttribute('aria-expanded', 'false'));
97
97
  }
98
98
  render() {
99
- return (h(Host, { key: '0ff53c82fb4ea06b0112cce0845e3ae06bdec959', "data-version": version }, h("post-popovercontainer", { key: '7375b83987e86015ee3892c5a9a829c6d04f78d3', arrow: this.arrow, placement: this.placement, ref: e => (this.popoverRef = e) }, h("div", { key: '6c6859eeb8d6abdf82757d8ea785e52ba2640243', class: "popover-container" }, h("div", { key: '7c28716d8b3c1d0322cf59781ae514e99ea5360f', class: "popover-content" }, h("slot", { key: 'e2c1f5166b2212f408932680cf6b33372404e28e' })), h("button", { key: 'ced34214917296d0b2f24a4584c409d9f3ee2d2d', class: "btn-close", onClick: () => this.hide() }, h("span", { key: '36ad0884209774bf95ab0cef26ae27a531eca2f8', class: "visually-hidden" }, this.closeButtonCaption))))));
99
+ return (h(Host, { key: '97db4a92db81f3a84ca272af8f79981cf181024d', "data-version": version }, h("post-popovercontainer", { key: '291247845dc11572a5722aa949c1dfa74e521edd', arrow: this.arrow, placement: this.placement, ref: e => (this.popoverRef = e) }, h("div", { key: '92137bf8c92633c8578c89c7b0c8252b0b59e2fa', class: "popover-container" }, h("div", { key: '06f79f59e90ca439b552380af0e151084adadf03', class: "popover-content" }, h("slot", { key: 'c37c742ac7cf24f9440ac3b862761fcd937f7658' })), h("button", { key: '0e6f316574720e0f901af56e0dbb99f86e36c5b4', class: "btn-close", onClick: () => this.hide() }, h("span", { key: '77c41e8e8df74649ce9ca21740c77e78336905e6', class: "visually-hidden" }, this.closeButtonCaption))))));
100
100
  }
101
101
  get host() { return this; }
102
102
  static get style() { return PostPopoverStyle0; }
@@ -5,6 +5,10 @@ import { v as version } from './package.js';
5
5
  * Custom positioning reference element.
6
6
  * @see https://floating-ui.com/docs/virtual-elements
7
7
  */
8
+
9
+ const sides = ['top', 'right', 'bottom', 'left'];
10
+ const alignments = ['start', 'end'];
11
+ const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
8
12
  const min = Math.min;
9
13
  const max = Math.max;
10
14
  const round = Math.round;
@@ -418,6 +422,109 @@ const arrow$1 = options => ({
418
422
  }
419
423
  });
420
424
 
425
+ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
426
+ const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
427
+ return allowedPlacementsSortedByAlignment.filter(placement => {
428
+ if (alignment) {
429
+ return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
430
+ }
431
+ return true;
432
+ });
433
+ }
434
+ /**
435
+ * Optimizes the visibility of the floating element by choosing the placement
436
+ * that has the most space available automatically, without needing to specify a
437
+ * preferred placement. Alternative to `flip`.
438
+ * @see https://floating-ui.com/docs/autoPlacement
439
+ */
440
+ const autoPlacement = function (options) {
441
+ if (options === void 0) {
442
+ options = {};
443
+ }
444
+ return {
445
+ name: 'autoPlacement',
446
+ options,
447
+ async fn(state) {
448
+ var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
449
+ const {
450
+ rects,
451
+ middlewareData,
452
+ placement,
453
+ platform,
454
+ elements
455
+ } = state;
456
+ const {
457
+ crossAxis = false,
458
+ alignment,
459
+ allowedPlacements = placements,
460
+ autoAlignment = true,
461
+ ...detectOverflowOptions
462
+ } = evaluate(options, state);
463
+ const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
464
+ const overflow = await detectOverflow(state, detectOverflowOptions);
465
+ const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
466
+ const currentPlacement = placements$1[currentIndex];
467
+ if (currentPlacement == null) {
468
+ return {};
469
+ }
470
+ const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
471
+
472
+ // Make `computeCoords` start from the right place.
473
+ if (placement !== currentPlacement) {
474
+ return {
475
+ reset: {
476
+ placement: placements$1[0]
477
+ }
478
+ };
479
+ }
480
+ const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
481
+ const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
482
+ placement: currentPlacement,
483
+ overflows: currentOverflows
484
+ }];
485
+ const nextPlacement = placements$1[currentIndex + 1];
486
+
487
+ // There are more placements to check.
488
+ if (nextPlacement) {
489
+ return {
490
+ data: {
491
+ index: currentIndex + 1,
492
+ overflows: allOverflows
493
+ },
494
+ reset: {
495
+ placement: nextPlacement
496
+ }
497
+ };
498
+ }
499
+ const placementsSortedByMostSpace = allOverflows.map(d => {
500
+ const alignment = getAlignment(d.placement);
501
+ return [d.placement, alignment && crossAxis ?
502
+ // Check along the mainAxis and main crossAxis side.
503
+ d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
504
+ // Check only the mainAxis.
505
+ d.overflows[0], d.overflows];
506
+ }).sort((a, b) => a[1] - b[1]);
507
+ const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
508
+ // Aligned placements should not check their opposite crossAxis
509
+ // side.
510
+ getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
511
+ const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
512
+ if (resetPlacement !== placement) {
513
+ return {
514
+ data: {
515
+ index: currentIndex + 1,
516
+ overflows: allOverflows
517
+ },
518
+ reset: {
519
+ placement: resetPlacement
520
+ }
521
+ };
522
+ }
523
+ return {};
524
+ }
525
+ };
526
+ };
527
+
421
528
  /**
422
529
  * Optimizes the visibility of the floating element by flipping the `placement`
423
530
  * in order to keep it in view when the preferred placement(s) will overflow the
@@ -533,6 +640,75 @@ const flip$1 = function (options) {
533
640
  };
534
641
  };
535
642
 
643
+ function getSideOffsets(overflow, rect) {
644
+ return {
645
+ top: overflow.top - rect.height,
646
+ right: overflow.right - rect.width,
647
+ bottom: overflow.bottom - rect.height,
648
+ left: overflow.left - rect.width
649
+ };
650
+ }
651
+ function isAnySideFullyClipped(overflow) {
652
+ return sides.some(side => overflow[side] >= 0);
653
+ }
654
+ /**
655
+ * Provides data to hide the floating element in applicable situations, such as
656
+ * when it is not in the same clipping context as the reference element.
657
+ * @see https://floating-ui.com/docs/hide
658
+ */
659
+ const hide = function (options) {
660
+ if (options === void 0) {
661
+ options = {};
662
+ }
663
+ return {
664
+ name: 'hide',
665
+ options,
666
+ async fn(state) {
667
+ const {
668
+ rects
669
+ } = state;
670
+ const {
671
+ strategy = 'referenceHidden',
672
+ ...detectOverflowOptions
673
+ } = evaluate(options, state);
674
+ switch (strategy) {
675
+ case 'referenceHidden':
676
+ {
677
+ const overflow = await detectOverflow(state, {
678
+ ...detectOverflowOptions,
679
+ elementContext: 'reference'
680
+ });
681
+ const offsets = getSideOffsets(overflow, rects.reference);
682
+ return {
683
+ data: {
684
+ referenceHiddenOffsets: offsets,
685
+ referenceHidden: isAnySideFullyClipped(offsets)
686
+ }
687
+ };
688
+ }
689
+ case 'escaped':
690
+ {
691
+ const overflow = await detectOverflow(state, {
692
+ ...detectOverflowOptions,
693
+ altBoundary: true
694
+ });
695
+ const offsets = getSideOffsets(overflow, rects.floating);
696
+ return {
697
+ data: {
698
+ escapedOffsets: offsets,
699
+ escaped: isAnySideFullyClipped(offsets)
700
+ }
701
+ };
702
+ }
703
+ default:
704
+ {
705
+ return {};
706
+ }
707
+ }
708
+ }
709
+ };
710
+ };
711
+
536
712
  function getBoundingRect(rects) {
537
713
  const minX = min(...rects.map(rect => rect.left));
538
714
  const minY = min(...rects.map(rect => rect.top));
@@ -713,7 +889,7 @@ async function convertValueToCoords(state, options) {
713
889
  * object may be passed.
714
890
  * @see https://floating-ui.com/docs/offset
715
891
  */
716
- const offset = function (options) {
892
+ const offset$1 = function (options) {
717
893
  if (options === void 0) {
718
894
  options = 0;
719
895
  }
@@ -1226,10 +1402,10 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
1226
1402
  }
1227
1403
 
1228
1404
  const topLayerSelectors = [':popover-open', ':modal'];
1229
- function isTopLayer(floating) {
1405
+ function isTopLayer(element) {
1230
1406
  return topLayerSelectors.some(selector => {
1231
1407
  try {
1232
- return floating.matches(selector);
1408
+ return element.matches(selector);
1233
1409
  } catch (e) {
1234
1410
  return false;
1235
1411
  }
@@ -1417,7 +1593,7 @@ function getClippingRect(_ref) {
1417
1593
  rootBoundary,
1418
1594
  strategy
1419
1595
  } = _ref;
1420
- const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
1596
+ const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
1421
1597
  const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1422
1598
  const firstClippingAncestor = clippingAncestors[0];
1423
1599
  const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
@@ -1479,6 +1655,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1479
1655
  };
1480
1656
  }
1481
1657
 
1658
+ function isStaticPositioned(element) {
1659
+ return getComputedStyle(element).position === 'static';
1660
+ }
1661
+
1482
1662
  function getTrueOffsetParent(element, polyfill) {
1483
1663
  if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
1484
1664
  return null;
@@ -1492,29 +1672,41 @@ function getTrueOffsetParent(element, polyfill) {
1492
1672
  // Gets the closest ancestor positioned element. Handles some edge cases,
1493
1673
  // such as table ancestors and cross browser bugs.
1494
1674
  function getOffsetParent(element, polyfill) {
1495
- const window = getWindow(element);
1496
- if (!isHTMLElement(element) || isTopLayer(element)) {
1497
- return window;
1675
+ const win = getWindow(element);
1676
+ if (isTopLayer(element)) {
1677
+ return win;
1678
+ }
1679
+ if (!isHTMLElement(element)) {
1680
+ let svgOffsetParent = getParentNode(element);
1681
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1682
+ if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
1683
+ return svgOffsetParent;
1684
+ }
1685
+ svgOffsetParent = getParentNode(svgOffsetParent);
1686
+ }
1687
+ return win;
1498
1688
  }
1499
1689
  let offsetParent = getTrueOffsetParent(element, polyfill);
1500
- while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
1690
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1501
1691
  offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1502
1692
  }
1503
- if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
1504
- return window;
1693
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1694
+ return win;
1505
1695
  }
1506
- return offsetParent || getContainingBlock(element) || window;
1696
+ return offsetParent || getContainingBlock(element) || win;
1507
1697
  }
1508
1698
 
1509
1699
  const getElementRects = async function (data) {
1510
1700
  const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1511
1701
  const getDimensionsFn = this.getDimensions;
1702
+ const floatingDimensions = await getDimensionsFn(data.floating);
1512
1703
  return {
1513
1704
  reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1514
1705
  floating: {
1515
1706
  x: 0,
1516
1707
  y: 0,
1517
- ...(await getDimensionsFn(data.floating))
1708
+ width: floatingDimensions.width,
1709
+ height: floatingDimensions.height
1518
1710
  }
1519
1711
  };
1520
1712
  };
@@ -1584,9 +1776,11 @@ function observeMove(element, onMove) {
1584
1776
  return refresh();
1585
1777
  }
1586
1778
  if (!ratio) {
1779
+ // If the reference is clipped, the ratio is 0. Throttle the refresh
1780
+ // to prevent an infinite loop of updates.
1587
1781
  timeoutId = setTimeout(() => {
1588
1782
  refresh(false, 1e-7);
1589
- }, 100);
1783
+ }, 1000);
1590
1784
  } else {
1591
1785
  refresh(false, ratio);
1592
1786
  }
@@ -1690,6 +1884,23 @@ function autoUpdate(reference, floating, update, options) {
1690
1884
  };
1691
1885
  }
1692
1886
 
1887
+ /**
1888
+ * Modifies the placement by translating the floating element along the
1889
+ * specified axes.
1890
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
1891
+ * object may be passed.
1892
+ * @see https://floating-ui.com/docs/offset
1893
+ */
1894
+ const offset = offset$1;
1895
+
1896
+ /**
1897
+ * Optimizes the visibility of the floating element by choosing the placement
1898
+ * that has the most space available automatically, without needing to specify a
1899
+ * preferred placement. Alternative to `flip`.
1900
+ * @see https://floating-ui.com/docs/autoPlacement
1901
+ */
1902
+ autoPlacement;
1903
+
1693
1904
  /**
1694
1905
  * Optimizes the visibility of the floating element by shifting it in order to
1695
1906
  * keep it in view when it will overflow the clipping boundary.
@@ -1713,6 +1924,13 @@ const flip = flip$1;
1713
1924
  */
1714
1925
  const size = size$1;
1715
1926
 
1927
+ /**
1928
+ * Provides data to hide the floating element in applicable situations, such as
1929
+ * when it is not in the same clipping context as the reference element.
1930
+ * @see https://floating-ui.com/docs/hide
1931
+ */
1932
+ hide;
1933
+
1716
1934
  /**
1717
1935
  * Provides data to position an inner element of the floating element so that it
1718
1936
  * appears centered to the reference element.
@@ -1813,7 +2031,7 @@ const computePosition = (reference, floating, options) => {
1813
2031
  }
1814
2032
  `,E=null;function I(e){if(E===null)try{E=new CSSStyleSheet,E.replaceSync(C);}catch{E=!1;}if(E===!1){let t=document.createElement("style");t.textContent=C,e instanceof Document?e.head.prepend(t):e.prepend(t);}else e.adoptedStyleSheets=[E,...e.adoptedStyleSheets];}function K(){window.ToggleEvent=window.ToggleEvent||c;function e(n){return n?.includes(":popover-open")&&(n=n.replace(J,"$1.\\:popover-open")),n}f(Document.prototype,"querySelector",e),f(Document.prototype,"querySelectorAll",e),f(Element.prototype,"querySelector",e),f(Element.prototype,"querySelectorAll",e),f(Element.prototype,"matches",e),f(Element.prototype,"closest",e),f(DocumentFragment.prototype,"querySelectorAll",e),f(DocumentFragment.prototype,"querySelectorAll",e),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;let n=(this.getAttribute("popover")||"").toLowerCase();return n===""||n=="auto"?"auto":"manual"},set(n){this.setAttribute("popover",n);}},showPopover:{enumerable:!0,configurable:!0,value(){S(this);}},hidePopover:{enumerable:!0,configurable:!0,value(){m(this,!0,!0);}},togglePopover:{enumerable:!0,configurable:!0,value(n){h.get(this)==="showing"&&n===void 0||n===!1?m(this,!0,!0):(n===void 0||n===!0)&&S(this);}}});let t=Element.prototype.attachShadow;t&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(n){let s=t.call(this,n);return I(s),s}}});let o=HTMLElement.prototype.attachInternals;o&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){let n=o.call(this);return n.shadowRoot&&I(n.shadowRoot),n}}});let r=new WeakMap;function i(n){Object.defineProperties(n.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(s){if(s===null)this.removeAttribute("popovertarget"),r.delete(this);else if(s instanceof Element)this.setAttribute("popovertarget",""),r.set(this,s);else throw new TypeError("popoverTargetElement must be an element or null")},get(){if(this.localName!=="button"&&this.localName!=="input"||this.localName==="input"&&this.type!=="reset"&&this.type!=="image"&&this.type!=="button"||this.disabled||this.form&&this.type==="submit")return null;let s=r.get(this);if(s&&s.isConnected)return s;if(s&&!s.isConnected)return r.delete(this),null;let u=v(this),w=this.getAttribute("popovertarget");return (u instanceof Document||u instanceof B)&&w&&u.getElementById(w)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){let s=(this.getAttribute("popovertargetaction")||"").toLowerCase();return s==="show"||s==="hide"?s:"toggle"},set(s){this.setAttribute("popovertargetaction",s);}}});}i(HTMLButtonElement),i(HTMLInputElement);let l=n=>{if(!n.isTrusted)return;let s=n.composedPath()[0];if(!(s instanceof Element)||s?.shadowRoot)return;let u=v(s);if(!(u instanceof B||u instanceof Document))return;let w=s.closest("[popovertargetaction],[popovertarget]");if(w){O(w),n.preventDefault();return}},a=n=>{let s=n.key,u=n.target;!n.defaultPrevented&&u&&(s==="Escape"||s==="Esc")&&T(u.ownerDocument,!0,!0);};(n=>{n.addEventListener("click",l),n.addEventListener("keydown",a),n.addEventListener("pointerdown",x),n.addEventListener("pointerup",x);})(document),I(document);}j()||K();})();
1815
2033
 
1816
- const postPopovercontainerCss = "@layer polyfill{@supports not selector(:popover-open){[popover]:not(.\\:popover-open){display:none}}}.popover{box-shadow:.5px 3px 4px rgba(0,0,0,.1),2px 4px 10px 4px rgba(0,0,0,.12);position:fixed;z-index:1060;width:max-content;margin:0;padding:0;box-sizing:border-box;color:var(--post-contrast-color);background-color:rgb(var(--post-bg-rgb));border:2px solid rgba(0,0,0,0);border-radius:4px;overflow:visible}.arrow{position:absolute;width:.7071067812rem;height:.7071067812rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}.arrow.top{border-left:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}.arrow.right{border-right:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}.arrow.left{border-left:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}.arrow.bottom{border-right:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}";
2034
+ const postPopovercontainerCss = "@layer polyfill{@supports not selector(:popover-open){[popover]:not(.\\:popover-open){display:none}}}.popover{box-shadow:.5px 3px 4px rgba(0,0,0,.1),2px 4px 10px 4px rgba(0,0,0,.12);position:fixed;z-index:1060;width:max-content;margin:0;padding:0;box-sizing:border-box;color:var(--post-contrast-color);background-color:rgb(var(--post-bg-rgb));border:2px solid rgba(0,0,0,0);border-radius:4px;overflow:visible}.arrow{position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}.arrow.top{border-left:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}.arrow.right{border-right:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}.arrow.left{border-left:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}.arrow.bottom{border-right:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}";
1817
2035
  const PostPopovercontainerStyle0 = postPopovercontainerCss;
1818
2036
 
1819
2037
  const SIDE_MAP = {
@@ -1951,9 +2169,9 @@ const PostPopovercontainer = /*@__PURE__*/ proxyCustomElement(class PostPopoverc
1951
2169
  }
1952
2170
  }
1953
2171
  render() {
1954
- return (h(Host, { key: '885b256b85ee57c3114243c980db51bb4c7eef92', "data-version": version }, h("div", { key: 'e3ae342b6c0bb6b241141c5ee0d2a95ab0ba169e', class: "popover", part: "popover", ref: (el) => (this.popoverRef = el) }, this.arrow && (h("span", { class: "arrow", ref: el => {
2172
+ return (h(Host, { key: '1707db71258eef7c95c13d738561d9d55df540fc', "data-version": version }, h("div", { key: 'd1d89bfc31529c803b04f2395509fe96b38d7d7a', class: "popover", part: "popover", ref: (el) => (this.popoverRef = el) }, this.arrow && (h("span", { key: 'd85fc5f68be0ff8060b3be823e22744873395775', class: "arrow", ref: el => {
1955
2173
  this.arrowRef = el;
1956
- } })), h("slot", { key: 'bc8d1e026b248c4c3cafa28c8cbdabe3610604e7' }))));
2174
+ } })), h("slot", { key: '7bd455d61d270b9d6cdc132ffb7a00f0259164e7' }))));
1957
2175
  }
1958
2176
  get host() { return this; }
1959
2177
  static get style() { return PostPopovercontainerStyle0; }
@@ -74,7 +74,7 @@ const PostRating = /*@__PURE__*/ proxyCustomElement(class PostRating extends HTM
74
74
  }
75
75
  }
76
76
  render() {
77
- return (h(Host, { key: '9423629ce4f05cacb20fb3476d036dc175d21f98', "data-version": version }, h("div", { key: '99efcd3cad667d24ea27a4c592d5c3b202191ed4', role: "slider", class: "rating", tabindex: "0", "aria-label": this.label, "aria-valuemin": "0", "aria-valuemax": this.stars, "aria-valuenow": this.currentRating, "aria-valuetext": `${this.currentRating} out of ${this.stars}`, "aria-readonly": this.readonly ? 'true' : 'false', onKeyDown: this.keydownHandler, onBlur: this.blurHandler }, Array.from({ length: this.stars }).map((v, i) => (h("div", { key: `star-${v}`, "aria-hidden": "true", class: {
77
+ return (h(Host, { key: '64081561d0b0819ed5fbe31c0bc7974b996ec582', "data-version": version }, h("div", { key: 'eaed95cef70f1dfa815a77e3d630ac933d2c1eff', role: "slider", class: "rating", tabindex: "0", "aria-label": this.label, "aria-valuemin": "0", "aria-valuemax": this.stars, "aria-valuenow": this.currentRating, "aria-valuetext": `${this.currentRating} out of ${this.stars}`, "aria-readonly": this.readonly ? 'true' : 'false', onKeyDown: this.keydownHandler, onBlur: this.blurHandler }, Array.from({ length: this.stars }).map((v, i) => (h("div", { key: `star-${v}`, "aria-hidden": "true", class: {
78
78
  'star': true,
79
79
  'before-hover': i < this.hoveredIndex,
80
80
  'active': i < Math.round(this.currentRating),
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
2
2
  import { v as version } from './package.js';
3
3
  import { c as checkNonEmpty } from './check-non-empty.js';
4
4
 
5
- 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:var(--post-contrast-color-inverted)}.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}:is(.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)}:is(.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;-webkit-appearance:button;appearance:button}";
5
+ 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}:is(.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)}:is(.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}";
6
6
  const PostTabHeaderStyle0 = postTabHeaderCss;
7
7
 
8
8
  const PostTabHeader = /*@__PURE__*/ proxyCustomElement(class PostTabHeader extends HTMLElement {
@@ -20,7 +20,7 @@ const PostTabHeader = /*@__PURE__*/ proxyCustomElement(class PostTabHeader exten
20
20
  this.tabId = `tab-${this.host.id || crypto.randomUUID()}`;
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: '7574d4ab05fae64a57f718e8c185c3aec1690e0f', id: this.tabId, role: "tab", "data-version": version, "aria-selected": "false", tabindex: "-1", class: "tab-title" }, h("slot", { key: 'c8af8275935433eba2d673fe283412a2a9266340' })));
23
+ return (h(Host, { key: 'eb6ac6a67f4cbf571d38f1de1c8d428a9dea5a53', id: this.tabId, role: "tab", "data-version": version, "aria-selected": "false", tabindex: "-1", class: "tab-title" }, h("slot", { key: 'd6559dbcc76ecc8d253fcd4a115b4bc4f78fd496' })));
24
24
  }
25
25
  get host() { return this; }
26
26
  static get watchers() { return {
@@ -17,7 +17,7 @@ const PostTabPanel = /*@__PURE__*/ proxyCustomElement(class PostTabPanel extends
17
17
  this.panelId = `panel-${this.host.id || crypto.randomUUID()}`;
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '3833b2f565d457ea6f8c35273f0fe310b56b2d00', "data-version": version, id: this.panelId, role: "tabpanel" }, h("slot", { key: '299c354b73a8d04ebab94ad7bc10cb703127ee65' })));
20
+ return (h(Host, { key: 'cd74acf8889af916b9b32b57b483bbd74d5a6e20', "data-version": version, id: this.panelId, role: "tabpanel" }, h("slot", { key: '9d2c3f42b1dd9214aeeee35efc1179372851af13' })));
21
21
  }
22
22
  get host() { return this; }
23
23
  static get style() { return PostTabPanelStyle0; }
@@ -145,7 +145,7 @@ const PostTabs = /*@__PURE__*/ proxyCustomElement(class PostTabs extends HTMLEle
145
145
  nextTab.focus();
146
146
  }
147
147
  render() {
148
- return (h(Host, { key: '3af6b715a2ff43314fbc6c436a7693345baabbdb', "data-version": version }, h("div", { key: 'a63850f142b198057a11039101c9ca3c3793f564', class: "tabs-wrapper" }, h("div", { key: '3c3592ea6241f07d672bc4cc049e7f582ba35fef', class: "tabs", role: "tablist" }, h("slot", { key: 'da38ec0fc7cd43588b151f6675458eb0f34b911e', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: '451cc4a29b77f3055f469ff18081c5292e21bf36', class: "tab-content" }, h("slot", { key: '32902b5e314c29e74bf4f6c5f02e22c301a47f6f', onSlotchange: () => this.moveMisplacedTabs() }))));
148
+ return (h(Host, { key: '38a0e3f686dab8cc1ea9dc23cc6e275fe0e6b45d', "data-version": version }, h("div", { key: 'c67273069e5d3ba858bd6c5da8684bbd2f8c398b', class: "tabs-wrapper" }, h("div", { key: 'fc3e725607107f3b5d3c969e4107c229ca8f8c66', class: "tabs", role: "tablist" }, h("slot", { key: 'caf8d1a6901327d0b8faebb36ce239d7368e2a22', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: 'f8cf7c8c8cbb3fd308cebc34513b16926f8e5c81', class: "tab-content" }, h("slot", { key: '7f7ff954545f85e6caab71d7265017607e25262b', onSlotchange: () => this.moveMisplacedTabs() }))));
149
149
  }
150
150
  get host() { return this; }
151
151
  static get style() { return PostTabsStyle0; }
@@ -23,7 +23,11 @@ const PostTag = /*@__PURE__*/ proxyCustomElement(class PostTag extends HTMLEleme
23
23
  this.setClasses();
24
24
  }
25
25
  setClasses() {
26
- this.classes = ['tag', this.size ? `tag-${this.size}` : null, this.variant ? `tag-${this.variant}` : null]
26
+ this.classes = [
27
+ 'tag',
28
+ this.size ? `tag-${this.size}` : null,
29
+ this.variant ? `tag-${this.variant}` : null,
30
+ ]
27
31
  .filter(c => c !== null)
28
32
  .join(' ');
29
33
  }
@@ -31,7 +35,7 @@ const PostTag = /*@__PURE__*/ proxyCustomElement(class PostTag extends HTMLEleme
31
35
  this.setClasses();
32
36
  }
33
37
  render() {
34
- return (h(Host, { key: '2b5b8cf859417949329040bad1f03d94b090fcaa', "data-version": version }, h("div", { key: 'b3e8e5b78959b3036e708faa209d57c75c570e60', class: this.classes }, this.icon ? h("post-icon", { name: this.icon }) : null, h("div", { key: '152f8db8aa831d05545ae3f5555083299132ad2f', class: "tag-text" }, h("slot", { key: '043aa0a1f6bceb3757c1bc7a528fb29eaa1b6b22' })))));
38
+ return (h(Host, { key: '932992b2aa41e1082bf1617c7f6c74419febb143', "data-version": version }, h("div", { key: '3d5b82975cf95f1439299326347886a8b74e2d3d', class: this.classes }, this.icon ? h("post-icon", { name: this.icon }) : null, h("div", { key: '96dac1715f1ddfe799cb2cb443f57d2a4082d90e', class: "tag-text" }, h("slot", { key: 'bb886b44ae76b71096c9938dacd708d80b602790' })))));
35
39
  }
36
40
  get host() { return this; }
37
41
  static get watchers() { return {
@@ -4765,6 +4765,7 @@ const isFocusable = /*@__PURE__*/getDefaultExportFromCjs(focusable.exports);
4765
4765
  document.addEventListener(mouseMove, mouseMoveHandler, true);
4766
4766
  document.addEventListener('wheel', clearLongPressTimer, true);
4767
4767
  document.addEventListener('scroll', clearLongPressTimer, true);
4768
+ document.addEventListener('contextmenu', clearLongPressTimer, true);
4768
4769
 
4769
4770
  // hook events that can trigger a long press event
4770
4771
  document.addEventListener(mouseDown, mouseDownHandler, true); // <- start
@@ -4858,7 +4859,7 @@ const PostTooltip = /*@__PURE__*/ proxyCustomElement(class PostTooltip extends H
4858
4859
  this.placement = 'top';
4859
4860
  this.arrow = true;
4860
4861
  }
4861
- connectedCallback() {
4862
+ componentDidLoad() {
4862
4863
  if (!this.host.id) {
4863
4864
  throw new Error(
4864
4865
  /*prettier-ignore*/
@@ -4942,7 +4943,7 @@ const PostTooltip = /*@__PURE__*/ proxyCustomElement(class PostTooltip extends H
4942
4943
  }
4943
4944
  render() {
4944
4945
  const popoverClass = `${this.arrow ? ' has-arrow' : ''}`;
4945
- return (h(Host, { key: '32701caefa668ce5f140389a5bff2fc879571575', "data-version": version$1, role: "tooltip", onPointerOver: this.handleInterest, onPointerOut: this.handleInterestLost, onFocusIn: this.handleInterest, onFocusOut: this.handleInterestLost }, h("post-popovercontainer", { key: '34d458686b09255fc0601cb23dec295cf21f826c', class: popoverClass, arrow: this.arrow, placement: this.placement, ref: (el) => (this.popoverRef = el) }, h("slot", { key: 'f99391db0594c9a65939c9e03719e39bf7d26fde' }))));
4946
+ return (h(Host, { key: 'b0d7189566ac508ebd711e563a045d1797b06afb', "data-version": version$1, role: "tooltip", onPointerOver: this.handleInterest, onPointerOut: this.handleInterestLost, onFocusIn: this.handleInterest, onFocusOut: this.handleInterestLost }, h("post-popovercontainer", { key: 'e8e4eba9431feb03fd2209884f129d6fe46516a8', class: popoverClass, arrow: this.arrow, placement: this.placement, ref: (el) => (this.popoverRef = el) }, h("slot", { key: '8ab50141cce24665aa10b9b31db5b14342de2040' }))));
4946
4947
  }
4947
4948
  get host() { return this; }
4948
4949
  static get style() { return PostTooltipStyle0; }
package/dist/docs.d.ts CHANGED
@@ -347,10 +347,26 @@ export interface JsonDocsEvent {
347
347
  deprecation?: string;
348
348
  detail: string;
349
349
  }
350
+ /**
351
+ * Type describing a CSS Style, as described by a JSDoc-style comment
352
+ */
350
353
  export interface JsonDocsStyle {
354
+ /**
355
+ * The name of the style
356
+ */
351
357
  name: string;
358
+ /**
359
+ * The type/description associated with the style
360
+ */
352
361
  docs: string;
362
+ /**
363
+ * The annotation used in the JSDoc of the style (e.g. `@prop`)
364
+ */
353
365
  annotation: string;
366
+ /**
367
+ * The mode associated with the style
368
+ */
369
+ mode: string | undefined;
354
370
  }
355
371
  export interface JsonDocsListener {
356
372
  event: string;
@@ -389,10 +405,28 @@ export interface JsonDocsPart {
389
405
  */
390
406
  docs: string;
391
407
  }
408
+ /**
409
+ * Represents a parsed block comment in a CSS, Sass, etc. file for a custom property.
410
+ */
392
411
  export interface StyleDoc {
412
+ /**
413
+ * The name of the CSS property
414
+ */
393
415
  name: string;
416
+ /**
417
+ * The user-defined description of the CSS property
418
+ */
394
419
  docs: string;
420
+ /**
421
+ * The JSDoc-style annotation (e.g. `@prop`) that was used in the block comment to detect the comment.
422
+ * Used to inform Stencil where the start of a new property's description starts (and where the previous description
423
+ * ends).
424
+ */
395
425
  annotation: "prop";
426
+ /**
427
+ * The Stencil style-mode that is associated with this property.
428
+ */
429
+ mode: string | undefined;
396
430
  }
397
431
 
398
432
  export {};