@getflip/swirl-components 0.363.0 → 0.363.2

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/components.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-08-07T15:53:16",
2
+ "timestamp": "2025-08-11T08:37:40",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.35.0",
@@ -5,7 +5,7 @@ var index$1 = require('./index-DcAhLZUH.js');
5
5
  var focusTrap_esm = require('./focus-trap.esm-kePK98yh.js');
6
6
  var utils = require('./utils-Br2wWntR.js');
7
7
 
8
- const swirlShellLayoutCss = ".sc-swirl-shell-layout-h{--swirl-shell-background:var(--s-surface-sunken-default);--swirl-shell-text-color:var(--s-text-default);--swirl-shell-header-height:3.25rem;--swirl-shell-collapsed-nav-width:4rem;--swirl-shell-extended-nav-width:18rem;--swirl-shell-sidebar-width:21rem;display:flex;width:100%;height:100%}.sc-swirl-shell-layout-h *.sc-swirl-shell-layout{box-sizing:border-box}.shell-layout.sc-swirl-shell-layout{display:grid;overflow:hidden;width:100%;min-height:100%;background-color:var(--swirl-shell-background);transition:grid-template-columns 0.1s;grid-template-columns:0 1fr 0;grid-template-rows:1fr;grid-template-areas:\"nav main\"}@media (prefers-reduced-motion){.shell-layout.sc-swirl-shell-layout{transition:none}}@media (min-width: 992px){.shell-layout.sc-swirl-shell-layout{padding-right:var(--s-space-8);padding-bottom:var(--s-space-8);-moz-column-gap:var(--s-space-8);column-gap:var(--s-space-8);grid-template-columns:var(--swirl-shell-extended-nav-width) 1fr 0;grid-template-rows:var(--swirl-shell-header-height) 1fr;grid-template-areas:\"header header header\"\n \"nav main sidebar\"}}.shell-layout--branded-header.sc-swirl-shell-layout .shell-layout__header.sc-swirl-shell-layout{border-bottom:none;color:var(--s-text-on-action-primary);background-color:var(--s-action-primary-default)}.shell-layout--branded-header.sc-swirl-shell-layout .shell-layout__header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout{color:var(--s-text-on-action-primary);background-color:var(--s-action-primary-default)}.shell-layout--branded-header.sc-swirl-shell-layout .shell-layout__header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout:hover{background-color:var(--s-action-primary-hovered)}.shell-layout--branded-header.sc-swirl-shell-layout .shell-layout__header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout:active{background-color:var(--s-action-primary-pressed)}.shell-layout--branded-header.sc-swirl-shell-layout .shell-layout__header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout swirl-badge.sc-swirl-shell-layout{--swirl-badge-border-color:var(--s-action-primary-default)}@media (min-width: 992px){.shell-layout--navigation-collapsed.sc-swirl-shell-layout .shell-layout__nav.sc-swirl-shell-layout{scrollbar-width:none}.shell-layout--navigation-collapsed.sc-swirl-shell-layout .shell-layout__nav.sc-swirl-shell-layout::-webkit-scrollbar{width:0;background:transparent;-webkit-appearance:none}}.shell-layout--navigation-collapsed .shell-layout__secondary-nav-items--grid-view.sc-swirl-shell-layout-s>ul>*,.shell-layout--navigation-collapsed .shell-layout__secondary-nav-items--grid-view .sc-swirl-shell-layout-s>ul>*{max-width:100%;max-height:3rem;flex-basis:100%}@media (min-width: 992px){.shell-layout--navigation-collapsed.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-collapsed-nav-width) 1fr 0}}@media (min-width: 1440px){.shell-layout--sidebar-active.shell-layout--navigation-collapsed.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-collapsed-nav-width) 1fr var(\n --swirl-shell-sidebar-width\n )}}@media (min-width: 1440px){.shell-layout--sidebar-active.sc-swirl-shell-layout .shell-layout__main.sc-swirl-shell-layout{width:100%}}.shell-layout--sidebar-active.sc-swirl-shell-layout .shell-layout__sidebar.sc-swirl-shell-layout{overflow:initial}@media (min-width: 992px){.shell-layout--sidebar-active.sc-swirl-shell-layout .shell-layout__sidebar-body.sc-swirl-shell-layout{border:0.0625rem solid var(--s-border-default);transform:translate3d(0, 0, 0)}}@media (min-width: 1440px){.shell-layout--sidebar-active.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-extended-nav-width) 1fr var(\n --swirl-shell-sidebar-width\n )}}.sc-swirl-shell-layout:not(.shell-layout--sidebar-active) .shell-layout__sidebar.sc-swirl-shell-layout{animation:shell-layout-no-overflow-after-transition 0.1s;animation-fill-mode:forwards}.shell-layout--sidebar-scrollable.sc-swirl-shell-layout:not(.shell-layout--sidebar-scrolled-to-top) .shell-layout__sidebar-app-bar.sc-swirl-shell-layout{border-bottom-color:var(--s-border-default)}.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__nav.sc-swirl-shell-layout{transform:translate3d(0, 0, 0);box-shadow:var(--s-shadow-level-3)}@media (min-width: 992px){.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__nav.sc-swirl-shell-layout{transform:none;box-shadow:none}}.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__mobile-nav-backdrop.sc-swirl-shell-layout{display:block}@media (min-width: 992px){.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__mobile-nav-backdrop.sc-swirl-shell-layout{display:none}}.shell-layout--has-secondary-nav.sc-swirl-shell-layout .shell-layout__secondary-nav.sc-swirl-shell-layout{display:block}.shell-layout--secondary-nav-collapsed.sc-swirl-shell-layout .shell-layout__secondary-nav-items.sc-swirl-shell-layout{display:none}.shell-layout__header.sc-swirl-shell-layout{position:relative;display:none;width:calc(100% + var(--s-space-8));padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);justify-content:space-between;align-items:center;color:var(--swirl-shell-text-color);grid-area:header}@media (min-width: 992px){.shell-layout__header.sc-swirl-shell-layout{display:flex}}.shell-layout__skip-link.sc-swirl-shell-layout{position:absolute;z-index:9;top:0;left:0;padding:var(--s-space-4);border:none;color:var(--swirl-shell-text-color);background-color:var(--swirl-shell-background);font:inherit;cursor:pointer}.shell-layout__skip-link.sc-swirl-shell-layout:not(:focus):not(:active){position:absolute;overflow:hidden;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}.shell-layout__header-left.sc-swirl-shell-layout{display:flex;padding-left:var(--s-space-2);flex-basis:8rem;flex-shrink:0;align-items:center;gap:var(--s-space-8)}.shell-layout__header-right.sc-swirl-shell-layout{--swirl-ghost-button-background-default:var(--s-surface-sunken-default);--swirl-ghost-button-background-hovered:var(--s-surface-sunken-hovered);--swirl-ghost-button-background-pressed:var(--s-surface-sunken-pressed);display:flex;flex-basis:8rem;flex-shrink:0;justify-content:flex-end;align-items:center;gap:var(--s-space-8)}.shell-layout__logo.sc-swirl-shell-layout{display:flex;flex-grow:1;justify-content:center;align-items:center}.shell-layout__logo.sc-swirl-shell-layout-s>a{display:flex}.shell-layout__logo.sc-swirl-shell-layout-s>a img,.shell-layout__logo.sc-swirl-shell-layout-s>img{max-height:1.75rem}.shell-layout__header-tool.sc-swirl-shell-layout{position:relative;width:2.25rem;height:2.25rem;padding:var(--s-space-8);flex-shrink:0;border:none;border-radius:var(--s-border-radius-sm);color:var(--swirl-shell-text-color);background-color:var(--s-surface-sunken-default);font:inherit;cursor:pointer}.shell-layout__header-tool.sc-swirl-shell-layout:hover{background-color:var(--s-surface-sunken-hovered)}.shell-layout__header-tool.sc-swirl-shell-layout:active{background-color:var(--s-surface-sunken-pressed)}.shell-layout__header-tool.sc-swirl-shell-layout:focus{outline:none}.shell-layout__header-tool.sc-swirl-shell-layout:focus-visible{box-shadow:0 0 0 0.125rem var(--s-focus-default)}.shell-layout__header-tool.sc-swirl-shell-layout swirl-badge.sc-swirl-shell-layout{--swirl-badge-border-color:var(--s-surface-sunken-default);position:absolute;top:var(--s-space-2);right:var(--s-space-2);padding-right:var(--s-space-2);transform:translate3d(0.1875rem, 0, 0)}.shell-layout__sidebar-toggle.sc-swirl-shell-layout{display:none}@media (min-width: 992px){.shell-layout__sidebar-toggle.sc-swirl-shell-layout{display:block}}.shell-layout__nav.sc-swirl-shell-layout{position:fixed;z-index:9;top:0;bottom:0;left:0;overflow-x:hidden;overflow-y:auto;width:100%;max-width:18.75rem;color:var(--swirl-shell-text-color);background-color:var(--s-surface-overlay-default);transition:transform 0.1s, box-shadow 0.1s, width 0.1s;transform:translate3d(-100%, 0, 0);grid-area:nav}@media (prefers-reduced-motion){.shell-layout__nav.sc-swirl-shell-layout{transition:none}}@media (min-width: 992px){.shell-layout__nav.sc-swirl-shell-layout{position:relative;max-width:none;padding-top:0;padding-right:var(--s-space-4);padding-bottom:var(--s-space-8);padding-left:var(--s-space-12);background-color:var(--swirl-shell-background);transform:none;box-shadow:none;inset:auto}}.shell-layout__mobile-header.sc-swirl-shell-layout{display:flex;min-height:3.5rem;margin-bottom:var(--s-space-8);padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);justify-content:space-between;align-items:center;border-bottom:0.0625rem solid var(--s-border-default)}.shell-layout__mobile-header.sc-swirl-shell-layout-s>img{max-height:1.75rem}.shell-layout__mobile-header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout{background-color:var(--s-surface-overlay-default)}.shell-layout__mobile-header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout:hover{background-color:var(--s-surface-overlay-hovered)}.shell-layout__mobile-header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout:active{background-color:var(--s-surface-overlay-pressed)}@media (min-width: 992px){.shell-layout__mobile-header.sc-swirl-shell-layout{display:none}}.shell-layout__mobile-header-tools.sc-swirl-shell-layout{display:flex;justify-content:flex-end;align-items:center;gap:var(--s-space-8)}.shell-layout__nav-body.sc-swirl-shell-layout{padding:var(--s-space-8)}.shell-layout__nav-body.sc-swirl-shell-layout-s ul{margin:0;padding:0;list-style:none}.shell-layout__nav-body.sc-swirl-shell-layout-s li{display:flex}@media (min-width: 992px){.shell-layout__nav-body.sc-swirl-shell-layout{padding:0}}.shell-layout__mobile-nav-backdrop.sc-swirl-shell-layout{position:fixed;z-index:8;display:none;background-color:rgba(0, 0, 0, 0.25);animation:shell-layout-backdrop-fade-in 0.1s;inset:0}.shell-layout__secondary-nav.sc-swirl-shell-layout{display:none}.shell-layout__secondary-nav-items.sc-swirl-shell-layout-s>ul,.shell-layout__secondary-nav-items .sc-swirl-shell-layout-s>ul{display:flex;flex-direction:column;gap:var(--s-space-2)}.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view.sc-swirl-shell-layout-s>ul,.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view .sc-swirl-shell-layout-s>ul{flex-wrap:wrap;flex-direction:row;gap:var(--s-space-16)}.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view.sc-swirl-shell-layout-s>ul,.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view.sc-swirl-shell-layout-s>ul>*,.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view .sc-swirl-shell-layout-s>ul>*{min-width:0;max-height:none}.shell-layout--navigation-collapsed .shell-layout__secondary-nav-items--tiled.sc-swirl-shell-layout-s>ul,.shell-layout--navigation-collapsed .shell-layout__secondary-nav-items--tiled .sc-swirl-shell-layout-s>ul{gap:var(--s-space-16)}.shell-layout__secondary-nav-items--tiled.sc-swirl-shell-layout-s>ul>*,.shell-layout__secondary-nav-items--tiled .sc-swirl-shell-layout-s>ul>*{flex-basis:calc(50% - var(--s-space-8))}.shell-layout__secondary-nav-items--app-icon.sc-swirl-shell-layout-s>ul>*,.shell-layout__secondary-nav-items--app-icon .sc-swirl-shell-layout-s>ul>*{flex-basis:calc(32% - var(--s-space-8))}.shell-layout__main.sc-swirl-shell-layout{overflow:hidden;background-color:var(--s-background-default);grid-area:main}@media (min-width: 992px){.shell-layout__main.sc-swirl-shell-layout{width:calc(100% + var(--s-space-8));border:0.0625rem solid var(--s-border-default);border-radius:var(--s-border-radius-sm)}}.shell-layout__sidebar.sc-swirl-shell-layout{position:relative;display:none;min-height:0;grid-area:sidebar}@media (min-width: 992px){.shell-layout__sidebar.sc-swirl-shell-layout{display:block}}.shell-layout__sidebar-body.sc-swirl-shell-layout{z-index:1;display:flex;width:var(--swirl-shell-sidebar-width);height:100%;border-radius:var(--s-border-radius-sm);background-color:var(--s-background-default);flex-direction:column}@media (min-width: 992px){.shell-layout__sidebar-body.sc-swirl-shell-layout{position:absolute;top:0;right:0;bottom:0;transition:transform 0.1s;transform:translate3d(calc(100% + var(--s-space-24)), 0, 0);box-shadow:var(--s-shadow-level-3)}}@media (min-width: 1440px){.shell-layout__sidebar-body.sc-swirl-shell-layout{position:relative;transform:none;box-shadow:none;inset:auto}}@media (prefers-reduced-motion){.shell-layout__sidebar-body.sc-swirl-shell-layout{transition:none}}.shell-layout__sidebar-app-bar.sc-swirl-shell-layout{flex-grow:0;flex-shrink:0;border-bottom:var(--s-border-width-default) solid transparent}.shell-layout__sidebar-content.sc-swirl-shell-layout{overflow:auto;flex-grow:1}@keyframes shell-layout-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes shell-layout-no-overflow-after-transition{0%{overflow:initial}99%{overflow:initial}100%{overflow:hidden}}";
8
+ const swirlShellLayoutCss = ".sc-swirl-shell-layout-h{--swirl-shell-background:var(--s-surface-sunken-default);--swirl-shell-text-color:var(--s-text-default);--swirl-shell-header-height:3.25rem;--swirl-shell-collapsed-nav-width:4rem;--swirl-shell-extended-nav-width:18rem;--swirl-shell-sidebar-width:21rem;display:flex;width:100%;height:100%}.sc-swirl-shell-layout-h *.sc-swirl-shell-layout{box-sizing:border-box}.shell-layout.sc-swirl-shell-layout{display:grid;overflow:hidden;width:100%;min-height:100%;background-color:var(--swirl-shell-background);transition:grid-template-columns 0.1s;grid-template-columns:0 1fr 0;grid-template-rows:1fr;grid-template-areas:\"nav main\"}@media (prefers-reduced-motion){.shell-layout.sc-swirl-shell-layout{transition:none}}@media (min-width: 992px){.shell-layout.sc-swirl-shell-layout{padding-right:var(--s-space-8);padding-bottom:var(--s-space-8);-moz-column-gap:var(--s-space-8);column-gap:var(--s-space-8);grid-template-columns:var(--swirl-shell-extended-nav-width) 1fr 0;grid-template-rows:var(--swirl-shell-header-height) 1fr;grid-template-areas:\"header header header\"\n \"nav main sidebar\"}}.shell-layout--branded-header.sc-swirl-shell-layout .shell-layout__header.sc-swirl-shell-layout{border-bottom:none;color:var(--s-text-on-action-primary);background-color:var(--s-action-primary-default)}.shell-layout--branded-header.sc-swirl-shell-layout .shell-layout__header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout{color:var(--s-text-on-action-primary);background-color:var(--s-action-primary-default)}.shell-layout--branded-header.sc-swirl-shell-layout .shell-layout__header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout:hover{background-color:var(--s-action-primary-hovered)}.shell-layout--branded-header.sc-swirl-shell-layout .shell-layout__header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout:active{background-color:var(--s-action-primary-pressed)}.shell-layout--branded-header.sc-swirl-shell-layout .shell-layout__header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout swirl-badge.sc-swirl-shell-layout{--swirl-badge-border-color:var(--s-action-primary-default)}@media (min-width: 992px){.shell-layout--navigation-collapsed.sc-swirl-shell-layout .shell-layout__nav.sc-swirl-shell-layout{scrollbar-width:none}.shell-layout--navigation-collapsed.sc-swirl-shell-layout .shell-layout__nav.sc-swirl-shell-layout::-webkit-scrollbar{width:0;background:transparent;-webkit-appearance:none}}.shell-layout--navigation-collapsed .shell-layout__secondary-nav-items--grid-view.sc-swirl-shell-layout-s>ul>*,.shell-layout--navigation-collapsed .shell-layout__secondary-nav-items--grid-view .sc-swirl-shell-layout-s>ul>*{max-width:100%;max-height:3rem;flex-basis:100%}@media (min-width: 992px){.shell-layout--navigation-collapsed.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-collapsed-nav-width) 1fr 0}}@media (min-width: 1440px){.shell-layout--sidebar-active.shell-layout--navigation-collapsed.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-collapsed-nav-width) 1fr var(\n --swirl-shell-sidebar-width\n )}}@media (min-width: 1440px){.shell-layout--sidebar-active.sc-swirl-shell-layout .shell-layout__main.sc-swirl-shell-layout{width:100%}}.shell-layout--sidebar-active.sc-swirl-shell-layout .shell-layout__sidebar.sc-swirl-shell-layout{overflow:initial}@media (min-width: 992px){.shell-layout--sidebar-active.sc-swirl-shell-layout .shell-layout__sidebar-body.sc-swirl-shell-layout{border:0.0625rem solid var(--s-border-default);transform:translate3d(0, 0, 0)}}@media (min-width: 1440px){.shell-layout--sidebar-active.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-extended-nav-width) 1fr var(\n --swirl-shell-sidebar-width\n )}}.sc-swirl-shell-layout:not(.shell-layout--sidebar-active) .shell-layout__sidebar.sc-swirl-shell-layout{animation:shell-layout-no-overflow-after-transition 0.1s;animation-fill-mode:forwards}.shell-layout--sidebar-scrollable.sc-swirl-shell-layout:not(.shell-layout--sidebar-scrolled-to-top) .shell-layout__sidebar-app-bar.sc-swirl-shell-layout{border-bottom-color:var(--s-border-default)}.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__nav.sc-swirl-shell-layout{transform:translate3d(0, 0, 0);box-shadow:var(--s-shadow-level-3)}@media (min-width: 992px){.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__nav.sc-swirl-shell-layout{transform:none;box-shadow:none}}.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__mobile-nav-backdrop.sc-swirl-shell-layout{display:block}@media (min-width: 992px){.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__mobile-nav-backdrop.sc-swirl-shell-layout{display:none}}.shell-layout--has-secondary-nav.sc-swirl-shell-layout .shell-layout__secondary-nav.sc-swirl-shell-layout{display:block}.shell-layout--secondary-nav-collapsed.sc-swirl-shell-layout .shell-layout__secondary-nav-items.sc-swirl-shell-layout{display:none}.shell-layout__header.sc-swirl-shell-layout{position:relative;display:none;width:calc(100% + var(--s-space-8));padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);justify-content:space-between;align-items:center;color:var(--swirl-shell-text-color);grid-area:header}@media (min-width: 992px){.shell-layout__header.sc-swirl-shell-layout{display:flex}}.shell-layout__skip-link.sc-swirl-shell-layout{position:absolute;z-index:9;top:0;left:0;padding:var(--s-space-4);border:none;color:var(--swirl-shell-text-color);background-color:var(--swirl-shell-background);font:inherit;cursor:pointer}.shell-layout__skip-link.sc-swirl-shell-layout:not(:focus):not(:active){position:absolute;overflow:hidden;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}.shell-layout__header-left.sc-swirl-shell-layout{display:flex;padding-left:var(--s-space-2);flex-basis:8rem;flex-shrink:0;align-items:center;gap:var(--s-space-8)}.shell-layout__header-right.sc-swirl-shell-layout{--swirl-ghost-button-background-default:var(--s-surface-sunken-default);--swirl-ghost-button-background-hovered:var(--s-surface-sunken-hovered);--swirl-ghost-button-background-pressed:var(--s-surface-sunken-pressed);display:flex;flex-basis:8rem;flex-shrink:0;justify-content:flex-end;align-items:center;gap:var(--s-space-8)}.shell-layout__logo.sc-swirl-shell-layout{display:flex;flex-grow:1;justify-content:center;align-items:center}.shell-layout__logo.sc-swirl-shell-layout-s>a{display:flex}.shell-layout__logo.sc-swirl-shell-layout-s>a img,.shell-layout__logo.sc-swirl-shell-layout-s>img{max-height:1.75rem}.shell-layout__header-tool.sc-swirl-shell-layout{position:relative;width:2.25rem;height:2.25rem;padding:var(--s-space-8);flex-shrink:0;border:none;border-radius:var(--s-border-radius-sm);color:var(--swirl-shell-text-color);background-color:var(--s-surface-sunken-default);font:inherit;cursor:pointer}.shell-layout__header-tool.sc-swirl-shell-layout:hover{background-color:var(--s-surface-sunken-hovered)}.shell-layout__header-tool.sc-swirl-shell-layout:active{background-color:var(--s-surface-sunken-pressed)}.shell-layout__header-tool.sc-swirl-shell-layout:focus{outline:none}.shell-layout__header-tool.sc-swirl-shell-layout:focus-visible{box-shadow:0 0 0 0.125rem var(--s-focus-default)}.shell-layout__header-tool.sc-swirl-shell-layout swirl-badge.sc-swirl-shell-layout{--swirl-badge-border-color:var(--s-surface-sunken-default);position:absolute;top:var(--s-space-2);right:var(--s-space-2);padding-right:var(--s-space-2);transform:translate3d(0.1875rem, 0, 0)}.shell-layout__sidebar-toggle.sc-swirl-shell-layout{display:none}@media (min-width: 992px){.shell-layout__sidebar-toggle.sc-swirl-shell-layout{display:block}}.shell-layout__nav.sc-swirl-shell-layout{position:fixed;z-index:9;top:0;bottom:0;left:0;overflow-x:hidden;overflow-y:auto;width:100%;max-width:18.75rem;color:var(--swirl-shell-text-color);background-color:var(--s-surface-overlay-default);transition:transform 0.1s, box-shadow 0.1s, width 0.1s;transform:translate3d(-100%, 0, 0);grid-area:nav}@media (prefers-reduced-motion){.shell-layout__nav.sc-swirl-shell-layout{transition:none}}@media (min-width: 992px){.shell-layout__nav.sc-swirl-shell-layout{position:relative;max-width:none;padding-top:0;padding-right:var(--s-space-4);padding-bottom:var(--s-space-8);padding-left:var(--s-space-12);background-color:var(--swirl-shell-background);transform:none;box-shadow:none;inset:auto}}.shell-layout__mobile-header.sc-swirl-shell-layout{display:flex;min-height:3.5rem;margin-bottom:var(--s-space-8);padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);justify-content:space-between;align-items:center;border-bottom:0.0625rem solid var(--s-border-default)}.shell-layout__mobile-header.sc-swirl-shell-layout-s>img{max-height:1.75rem}.shell-layout__mobile-header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout{background-color:var(--s-surface-overlay-default)}.shell-layout__mobile-header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout:hover{background-color:var(--s-surface-overlay-hovered)}.shell-layout__mobile-header.sc-swirl-shell-layout .shell-layout__header-tool.sc-swirl-shell-layout:active{background-color:var(--s-surface-overlay-pressed)}@media (min-width: 992px){.shell-layout__mobile-header.sc-swirl-shell-layout{display:none}}.shell-layout__mobile-header-tools.sc-swirl-shell-layout{display:flex;justify-content:flex-end;align-items:center;gap:var(--s-space-8)}.shell-layout__nav-body.sc-swirl-shell-layout{padding:var(--s-space-8)}.shell-layout__nav-body.sc-swirl-shell-layout-s ul{margin:0;padding:0;list-style:none}.shell-layout__nav-body.sc-swirl-shell-layout-s li{display:flex}@media (min-width: 992px){.shell-layout__nav-body.sc-swirl-shell-layout{padding:0}}.shell-layout__mobile-nav-backdrop.sc-swirl-shell-layout{position:fixed;z-index:8;display:none;background-color:rgba(0, 0, 0, 0.25);animation:shell-layout-backdrop-fade-in 0.1s;inset:0}.shell-layout__secondary-nav.sc-swirl-shell-layout{display:none}.shell-layout__secondary-nav-items.sc-swirl-shell-layout-s>ul,.shell-layout__secondary-nav-items .sc-swirl-shell-layout-s>ul{display:flex;flex-direction:column;gap:var(--s-space-2)}.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view.sc-swirl-shell-layout-s>ul,.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view .sc-swirl-shell-layout-s>ul{flex-wrap:wrap;flex-direction:row;gap:var(--s-space-16)}.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view.sc-swirl-shell-layout-s>ul,.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view.sc-swirl-shell-layout-s>ul>*,.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view .sc-swirl-shell-layout-s>ul>*{min-width:0;max-height:none}.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view.shell-layout__secondary-nav-items--app-icon.sc-swirl-shell-layout-s>ul,.shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view.shell-layout__secondary-nav-items--app-icon .sc-swirl-shell-layout-s>ul{row-gap:var(--s-space-16);-moz-column-gap:0;column-gap:0}.shell-layout--navigation-collapsed .shell-layout__secondary-nav-items--tiled.sc-swirl-shell-layout-s>ul,.shell-layout--navigation-collapsed .shell-layout__secondary-nav-items--tiled .sc-swirl-shell-layout-s>ul{gap:var(--s-space-16)}.shell-layout__secondary-nav-items--tiled.sc-swirl-shell-layout-s>ul>*,.shell-layout__secondary-nav-items--tiled .sc-swirl-shell-layout-s>ul>*{flex-basis:calc(50% - var(--s-space-8))}.shell-layout__secondary-nav-items--app-icon.sc-swirl-shell-layout-s>ul>*,.shell-layout__secondary-nav-items--app-icon .sc-swirl-shell-layout-s>ul>*{flex-basis:calc(100% / 3)}.shell-layout__main.sc-swirl-shell-layout{overflow:hidden;background-color:var(--s-background-default);grid-area:main}@media (min-width: 992px){.shell-layout__main.sc-swirl-shell-layout{width:calc(100% + var(--s-space-8));border:0.0625rem solid var(--s-border-default);border-radius:var(--s-border-radius-sm)}}.shell-layout__sidebar.sc-swirl-shell-layout{position:relative;display:none;min-height:0;grid-area:sidebar}@media (min-width: 992px){.shell-layout__sidebar.sc-swirl-shell-layout{display:block}}.shell-layout__sidebar-body.sc-swirl-shell-layout{z-index:1;display:flex;width:var(--swirl-shell-sidebar-width);height:100%;border-radius:var(--s-border-radius-sm);background-color:var(--s-background-default);flex-direction:column}@media (min-width: 992px){.shell-layout__sidebar-body.sc-swirl-shell-layout{position:absolute;top:0;right:0;bottom:0;transition:transform 0.1s;transform:translate3d(calc(100% + var(--s-space-24)), 0, 0);box-shadow:var(--s-shadow-level-3)}}@media (min-width: 1440px){.shell-layout__sidebar-body.sc-swirl-shell-layout{position:relative;transform:none;box-shadow:none;inset:auto}}@media (prefers-reduced-motion){.shell-layout__sidebar-body.sc-swirl-shell-layout{transition:none}}.shell-layout__sidebar-app-bar.sc-swirl-shell-layout{flex-grow:0;flex-shrink:0;border-bottom:var(--s-border-width-default) solid transparent}.shell-layout__sidebar-content.sc-swirl-shell-layout{overflow:auto;flex-grow:1}@keyframes shell-layout-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes shell-layout-no-overflow-after-transition{0%{overflow:initial}99%{overflow:initial}100%{overflow:hidden}}";
9
9
 
10
10
  const SECONDARY_NAVIGATION_COLLAPSE_STORAGE_KEY = "SWIRL_SHELL_SECONDARY_NAVIGATION_COLLAPSE_STATE";
11
11
  const SECONDARY_NAVIGATION_VIEW_STORAGE_KEY = "SWIRL_SHELL_SECONDARY_NAVIGATION_VIEW_STATE";
@@ -93,7 +93,6 @@ const SwirlShellLayout = class {
93
93
  this.collectNavItems();
94
94
  this.navMutationObserver = new MutationObserver(() => {
95
95
  this.collectNavItems();
96
- this.setSecondaryNavItemsTiled();
97
96
  });
98
97
  this.navMutationObserver.observe(this.navElement, {
99
98
  childList: true,
@@ -132,6 +131,7 @@ const SwirlShellLayout = class {
132
131
  watchNavigationCollapsed() {
133
132
  localStorage.setItem(NAVIGATION_COLLAPSE_STORAGE_KEY, String(this.navigationCollapsed));
134
133
  this.toggleNavItemLabels();
134
+ this.setSecondaryNavItemsTiled();
135
135
  }
136
136
  watchSidebarActive() {
137
137
  localStorage.setItem(SIDEBAR_STORAGE_KEY, String(this.sidebarActive));
@@ -204,26 +204,26 @@ const SwirlShellLayout = class {
204
204
  "shell-layout--sidebar-scrollable": this.sidebarScrollState.scrollable,
205
205
  "shell-layout--sidebar-scrolled-to-top": this.sidebarScrollState.scrolledToTop,
206
206
  });
207
- return (index.h(index.Host, { key: 'e379157b61cda798ce9db3d3610874939f42f894' }, index.h("div", { key: 'f8c3fb1c2dd5f17c51ae331e9d28cea9a3c4ba7d', class: className }, index.h("header", { key: 'aa3649f574ec465d18f9e431ad1d922acd376844', class: "shell-layout__header", "data-tauri-drag-region": "true" }, index.h("button", { key: 'd739ab8bf7ec31735db49eefef4841802d4457dc', class: "shell-layout__skip-link", onClick: this.skipLinkClick.emit, type: "button" }, this.skipLinkLabel), index.h("div", { key: 'bc76bf7ff3969ad949d451752eeda51557599fe5', class: "shell-layout__header-left" }, index.h("swirl-tooltip", { key: 'db9015c5f3fef03650e6b70121a0e9fbc092916b', content: this.navigationCollapsed
207
+ return (index.h(index.Host, { key: '628b0239a6325d6e59d57a3ac122bd71c86332ac' }, index.h("div", { key: '62e3364f3d3f0a2529b34012b98970dc7afbc558', class: className }, index.h("header", { key: 'a4aaea70bae5ac06a8940a364623c0f1d9a0f7db', class: "shell-layout__header", "data-tauri-drag-region": "true" }, index.h("button", { key: 'b119a9efebc481f0a89a7f6c8cbda5822c299657', class: "shell-layout__skip-link", onClick: this.skipLinkClick.emit, type: "button" }, this.skipLinkLabel), index.h("div", { key: '65476e53eca4c4a13abe9d93f39a5d9b4eab2d10', class: "shell-layout__header-left" }, index.h("swirl-tooltip", { key: '3d6517107efcca90bd7e35e0821f785a1addc281', content: this.navigationCollapsed
208
208
  ? this.expandNavigationButtonLabel
209
- : this.collapseNavigationButtonLabel, delay: 100, position: "right" }, index.h("button", { key: 'e67208b06c4535fa8ec6c20f15c0468cc2a95418', class: "shell-layout__header-tool", onClick: this.onNavigationToggleClick, type: "button" }, this.navigationCollapsed ? (index.h("swirl-icon-dock-left-expand", { size: 20 })) : (index.h("swirl-icon-dock-left-collapse", { size: 20 })), index.h("swirl-visually-hidden", { key: '10f919c6cbc18b210e564a57778151bbfe01332e' }, this.navigationCollapsed
209
+ : this.collapseNavigationButtonLabel, delay: 100, position: "right" }, index.h("button", { key: '3ad74046c3d2826bfd923989b5ddf00a3cf0cb09', class: "shell-layout__header-tool", onClick: this.onNavigationToggleClick, type: "button" }, this.navigationCollapsed ? (index.h("swirl-icon-dock-left-expand", { size: 20 })) : (index.h("swirl-icon-dock-left-collapse", { size: 20 })), index.h("swirl-visually-hidden", { key: '4e4f4d2e355775dfb6ff15445672df7e51bf6df1' }, this.navigationCollapsed
210
210
  ? this.expandNavigationButtonLabel
211
- : this.collapseNavigationButtonLabel))), index.h("a", { key: '9e423f111282d0d9f3f3c9f9491dd20b5d956991', class: "shell-layout__header-tool", href: "javascript:history.back()" }, index.h("swirl-icon-arrow-back", { key: '05d39568a0c8f44e9b38729da964d63210102899', size: 20 }), index.h("swirl-visually-hidden", { key: '5584a5b5e58b66f75212f71be2096cfb2b0bf7e7' }, this.browserBackButtonLabel)), index.h("a", { key: '0c9d06a70d115648e656ea0ab2fd353c91a07809', class: "shell-layout__header-tool", href: "javascript:history.forward()" }, index.h("swirl-icon-arrow-forward", { key: '90384afa604edea5ec5d48024b0a4b26a4896111', size: 20 }), index.h("swirl-visually-hidden", { key: '8894eb5ede1ff461575bd82af8f3fd1fa1d998db' }, this.browserForwardButtonLabel)), index.h("slot", { key: 'dac12e330d28f13747affa5abd97308071bf785c', name: "left-header-tools" })), index.h("div", { key: 'a57c41f1f63807e92b7a399cf5a53ac4eb9ef800', class: "shell-layout__logo" }, index.h("slot", { key: '0dfe3b02c67a3fe44835ed2b8c65429f4611283a', name: "logo" })), index.h("div", { key: '2332a21f5af9f385356829ddbd0e50e060c299d4', class: "shell-layout__header-right" }, index.h("slot", { key: '0598d1a996a3d60514e6491df7b4a891eca3e4a6', name: "right-header-tools" }), index.h("button", { key: 'aeadd015ec2c52fb6183f78b45451fb80f6384be', class: "shell-layout__header-tool shell-layout__sidebar-toggle", onClick: this.sidebarToggleClick.emit, type: "button" }, index.h("swirl-icon", { key: '47999fc5d6859aa12da73999357f8edb726cd557', glyph: this.sidebarToggleIcon, size: 20 }), index.h("swirl-visually-hidden", { key: '8fabb8d7aff3db1a6051e26abd57c621e57dc66e' }, this.sidebarToggleLabel), this.sidebarToggleBadge && (index.h("swirl-badge", { key: '8bbd4c4303811f51768cdbb98166c7ce927bec74', "aria-label": this.sidebarToggleBadgeAriaLabel, label: !hasSidebarToggleBadgeWithLabel
211
+ : this.collapseNavigationButtonLabel))), index.h("a", { key: '0c4f8f92df65d9607166e4a1d07d9b2ecbc09a04', class: "shell-layout__header-tool", href: "javascript:history.back()" }, index.h("swirl-icon-arrow-back", { key: '8c8df719671229b748f419711182b4b1d1b38a8f', size: 20 }), index.h("swirl-visually-hidden", { key: '974d1625c5f3a7bbe04faef98f68e51581777a00' }, this.browserBackButtonLabel)), index.h("a", { key: '9375147f7dba53cb62a8caa48a2b86373a5d656f', class: "shell-layout__header-tool", href: "javascript:history.forward()" }, index.h("swirl-icon-arrow-forward", { key: '6c2b91011ce28f3f24252798d92b226d74389d36', size: 20 }), index.h("swirl-visually-hidden", { key: '05e66fdc139584c0e6b8d1b5b33fdf50aa636d52' }, this.browserForwardButtonLabel)), index.h("slot", { key: '5162118dfad58b80cb8f124b856dc438c7a6c473', name: "left-header-tools" })), index.h("div", { key: 'ab60ae994ef7e65eb932ada1af8f7d65d1cedf09', class: "shell-layout__logo" }, index.h("slot", { key: 'cdea707605a9b7c68dc0cc296820f6bc06297142', name: "logo" })), index.h("div", { key: '4c13e5878a20d867103b9feb3f9cb27aa6fef4d9', class: "shell-layout__header-right" }, index.h("slot", { key: '3c4acb3981f8b152893b2d212c64492eac0b7f53', name: "right-header-tools" }), index.h("button", { key: '71a135e5f35d75c982d1a8daf4df375b22587644', class: "shell-layout__header-tool shell-layout__sidebar-toggle", onClick: this.sidebarToggleClick.emit, type: "button" }, index.h("swirl-icon", { key: '10ea578c29fbf33eb77c6b068b046e7be66ad516', glyph: this.sidebarToggleIcon, size: 20 }), index.h("swirl-visually-hidden", { key: '51fccb8014557d06195689ec61b7255d4a0fb449' }, this.sidebarToggleLabel), this.sidebarToggleBadge && (index.h("swirl-badge", { key: '20d812a01969fd87159eff00da7f020e95b39f2e', "aria-label": this.sidebarToggleBadgeAriaLabel, label: !hasSidebarToggleBadgeWithLabel
212
212
  ? this.sidebarToggleBadgeAriaLabel
213
- : String(this.sidebarToggleBadge), size: "xs", variant: !hasSidebarToggleBadgeWithLabel ? "dot" : "default" }))), index.h("slot", { key: '810b8f003a51b1622a902d3af27bf5ee1a32a029', name: "avatar" }))), index.h("div", { key: '7a30272d83fd155982d0758b3dda959f050424eb', class: "shell-layout__mobile-nav-backdrop", onClick: this.onNavigationClick }), index.h("nav", { key: '4a67c0006eb4cfd82cdf60fd82455b0953a28ea8', "aria-labelledby": "main-navigation-label", class: "shell-layout__nav", onClick: this.onNavigationClick, ref: (el) => (this.navElement = el) }, index.h("div", { key: 'c00e0abcd04b117f713f339464dae08da9065fd5', class: "shell-layout__mobile-header" }, index.h("slot", { key: '8d0c8e2e304f9ba27c02c727d347b95b2d963a13', name: "mobile-logo" }), index.h("div", { key: '329b42f8c1158b5bd8d1a7f9a63c39eb4f9b0b33', class: "shell-layout__mobile-header-tools" }, index.h("slot", { key: '20b99a97e241585ec1a109ce09aad2e679333b84', name: "mobile-header-tools" }), index.h("button", { key: 'a5d735b528d6d23820b2d7e266a2b8d6fc46a5b9', class: "shell-layout__header-tool", type: "button" }, index.h("swirl-icon-double-arrow-left", { key: '1cd2a4b7637a0a15b137bd61659b5efa47282613', size: 20 }), index.h("swirl-visually-hidden", { key: '0d231b9a7206b14c9bec6b24344c9216ce2cbd44' }, this.hideMobileNavigationButtonLabel)))), index.h("div", { key: '6619330436e126fe90ced7241ea05991ed57b660', class: "shell-layout__nav-body" }, index.h("swirl-visually-hidden", { key: '50d00423c60d2eb36ef825b061417a0894429a00' }, index.h("span", { key: '783345e378a447f2e6d4aea9036b3df075dce2cc', id: "main-navigation-label" }, this.navigationLabel)), index.h("slot", { key: '85b278f7f118938b16d2a7deee283b9e9656df20', name: "nav", onSlotchange: this.collectNavItems }), index.h("div", { key: '46ec18f192232bf69ab12f5e22aef6bbf4f0fa32', class: "shell-layout__secondary-nav" }, index.h("swirl-separator", { key: 'd0cdcd421c2b5897c979c44bd293486bd984e6c1', color: "strong", spacing: "16" }), this.enableSecondaryNavGridLayout && (index.h("swirl-box", { key: '173c2121361a32700b7ceb5af8a8b013a38420b1', paddingBlockEnd: "16" }, index.h("swirl-stack", { key: 'ce088d6731c50458983c8ec62c5d8e8739154003', justify: mainNavCollapsed ? "center" : "space-between", orientation: "horizontal" }, index.h("swirl-button", { key: '581041c32bf5e89cc2af1a123ebb6946404485eb', hideLabel: mainNavCollapsed, icon: this.secondaryNavCollapsed
213
+ : String(this.sidebarToggleBadge), size: "xs", variant: !hasSidebarToggleBadgeWithLabel ? "dot" : "default" }))), index.h("slot", { key: '0e4e5bd5060be685f7932bbb751c1d4018ca8501', name: "avatar" }))), index.h("div", { key: 'e13859eb6cb1241f2785cfd9d6e413d4b5377934', class: "shell-layout__mobile-nav-backdrop", onClick: this.onNavigationClick }), index.h("nav", { key: '28712f6cae073f31ddf5008fd6c6a406eb96b143', "aria-labelledby": "main-navigation-label", class: "shell-layout__nav", onClick: this.onNavigationClick, ref: (el) => (this.navElement = el) }, index.h("div", { key: '3832ebc73dcf729177fcf52a8a0c7a49d65548cf', class: "shell-layout__mobile-header" }, index.h("slot", { key: 'a53481a65c10c81da3042f20f22cc0b7ab07a236', name: "mobile-logo" }), index.h("div", { key: 'de4d6a748d7807f43075af93263b3885cd10d0bf', class: "shell-layout__mobile-header-tools" }, index.h("slot", { key: '6279924cf235bedfe903484b231c94710661b9fc', name: "mobile-header-tools" }), index.h("button", { key: 'c8bb1aa7eed100fb730c0ed9080c99ff653c65f2', class: "shell-layout__header-tool", type: "button" }, index.h("swirl-icon-double-arrow-left", { key: 'a528085d6dbe080f92b94642d8598ce6b88353b0', size: 20 }), index.h("swirl-visually-hidden", { key: 'a96b1990f453de202370874d33bb39c17488353f' }, this.hideMobileNavigationButtonLabel)))), index.h("div", { key: 'aa8b5c48091996f6b598e3dc40bb1c34993f2873', class: "shell-layout__nav-body" }, index.h("swirl-visually-hidden", { key: '3ca6dfb2049669d5234827d2aaebdb4de3ebc129' }, index.h("span", { key: 'a95f9dbfa884188762b7f1f2f12f2874f0ddf386', id: "main-navigation-label" }, this.navigationLabel)), index.h("slot", { key: '5182c7cf4d4a8090f77ccd3ebb02fdc3310545f0', name: "nav", onSlotchange: this.collectNavItems }), index.h("div", { key: 'ae33f496399ad791199d20e5115b5ba5d7b4af52', class: "shell-layout__secondary-nav" }, index.h("swirl-separator", { key: 'b6fa20f6596cc6893191ebf8c73ab06729042df7', color: "strong", spacing: "16" }), this.enableSecondaryNavGridLayout && (index.h("swirl-box", { key: '561badbcf05812085ab6deee1e8bc21d2c5114f8', paddingBlockEnd: "16" }, index.h("swirl-stack", { key: '3f7e37adc62d0e84c3766e99e6856d4f4f791f7a', justify: mainNavCollapsed ? "center" : "space-between", orientation: "horizontal" }, index.h("swirl-button", { key: 'e6c9ef70f5adc2cd706f587f2529c5e1f3eec275', hideLabel: mainNavCollapsed, icon: this.secondaryNavCollapsed
214
214
  ? "<swirl-icon-expand-more></swirl-icon-expand-more>"
215
215
  : "<swirl-icon-expand-less></swirl-icon-expand-less>", label: this.secondaryNavCollapsed
216
216
  ? this.secondaryNavExpandLabel
217
- : this.secondaryNavCollapseLabel, onClick: this.toggleSecondaryNavCollapse, variant: "plain" }), !mainNavCollapsed && !this.secondaryNavCollapsed && (index.h("swirl-button", { key: 'fae753850689727378a8cb234d90a6702b710075', icon: this.secondaryNavView === "grid"
217
+ : this.secondaryNavCollapseLabel, onClick: this.toggleSecondaryNavCollapse, variant: "plain" }), !mainNavCollapsed && !this.secondaryNavCollapsed && (index.h("swirl-button", { key: '38cbe7241785b6f74ae8b097e5471fdfdfc37f62', icon: this.secondaryNavView === "grid"
218
218
  ? "<swirl-icon-menu></swirl-icon-menu>"
219
219
  : "<swirl-icon-hamburger-menu></swirl-icon-hamburger-menu>", iconPosition: "end", label: this.secondaryNavView === "grid"
220
220
  ? this.gridNavLayoutToggleLabel
221
- : this.listNavLayoutToggleLabel, onClick: this.toggleSecondaryNavView, variant: "plain" }))))), index.h("div", { key: 'a5af478cb3403c678567741a307bdc8457df47ce', class: {
221
+ : this.listNavLayoutToggleLabel, onClick: this.toggleSecondaryNavView, variant: "plain" }))))), index.h("div", { key: 'f281e5540e6a30b69cf1b69d51749f74987c0bee', class: {
222
222
  [`shell-layout__secondary-nav-items--${this.secondaryNavGridLayoutVariant}`]: true,
223
223
  "shell-layout__secondary-nav-items": true,
224
224
  "shell-layout__secondary-nav-items--grid-view": this.enableSecondaryNavGridLayout &&
225
225
  this.secondaryNavView === "grid",
226
- } }, index.h("slot", { key: 'd1ea31fd2c171c6fab8e7303f9191851e669313d', name: "secondary-nav", onSlotchange: this.collectNavItems }))))), index.h("main", { key: '2b600d4a3f40f021d913039e64a6928eab426357', class: "shell-layout__main", id: "main-content" }, index.h("slot", { key: '2c21a0af62bea5c1abcebd39e28af9d39f6663bb' })), index.h("aside", { key: '792204a985019f9ea1b1f218bf05c1847368850f', class: "shell-layout__sidebar", inert: this.sidebarActive ? undefined : true }, index.h("div", { key: '0bd94598d316560dd26870f8a963a54f3462bdf2', class: "shell-layout__sidebar-body" }, index.h("div", { key: 'e52c3ad37084b1ac8db47111bfc5fd2b82f3f451', class: "shell-layout__sidebar-app-bar" }, index.h("slot", { key: '9675a194d1290b6427ec0e4232e579969e1e8819', name: "sidebar-app-bar" })), index.h("div", { key: '0021e581fc165fa4e97670283aae8bc218bd345b', class: "shell-layout__sidebar-content", onScroll: this.onSidebarScroll, ref: (el) => (this.sidebarContentEl = el) }, index.h("slot", { key: '7b7bb3aee65db23554182ce715b0ac0935cdf7a3', name: "sidebar" })))))));
226
+ } }, index.h("slot", { key: 'd4703ece0f8c3f0259a3475e546c4228a7e456a3', name: "secondary-nav", onSlotchange: this.collectNavItems }))))), index.h("main", { key: '19866fcf65b21cd4822ffd3cfb8e114e61c64cb5', class: "shell-layout__main", id: "main-content" }, index.h("slot", { key: '9fad863f37c5542b9c6942750a26a97819076040' })), index.h("aside", { key: '609c70a85bef0fe48088d3f065dbe951bdfd95c8', class: "shell-layout__sidebar", inert: this.sidebarActive ? undefined : true }, index.h("div", { key: '0ac65b1b87c2971771d9c539bf94b20c6173667e', class: "shell-layout__sidebar-body" }, index.h("div", { key: '86da5fdd6629ff641ccac52bd0590fb981c7fac3', class: "shell-layout__sidebar-app-bar" }, index.h("slot", { key: 'f002916b3d97704079f70f0d5d961f6f49bd5905', name: "sidebar-app-bar" })), index.h("div", { key: '1b00cfdec4f37e7c457688438ce220df2c2599df', class: "shell-layout__sidebar-content", onScroll: this.onSidebarScroll, ref: (el) => (this.sidebarContentEl = el) }, index.h("slot", { key: '9f5c8633267ac25bc475db84b827b3f768d27924', name: "sidebar" })))))));
227
227
  }
228
228
  get el() { return index.getElement(this); }
229
229
  static get watchers() { return {
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-DM-IG6w2.js');
4
4
  var index$1 = require('./index-DcAhLZUH.js');
5
5
 
6
- const swirlShellNavigationItemCss = "/**\n* seems the container query does not work as expected\n*/\n\n:host {\n display: inline-flex;\n width: 100%;\n}\n\n:host * {\n box-sizing: border-box;\n }\n\n.shell-navigation-item {\n --swirl-app-icon-size: 2rem;\n --swirl-shell-navigation-item-gradient: linear-gradient(\n rgba(0, 0, 0, 0),\n rgba(0, 0, 0, 0.8)\n );\n\n position: relative;\n display: flex;\n width: 100%;\n height: 3rem;\n padding: var(--s-space-8);\n flex-shrink: 0;\n justify-content: flex-start;\n align-items: center;\n border: none;\n border-radius: var(--s-border-radius-sm);\n color: var(--s-text-default);\n background-color: var(--s-surface-overlay-default);\n font: inherit;\n font-size: var(--s-font-size-sm);\n font-weight: var(--s-font-weight-medium);\n line-height: var(--s-line-height-sm);\n text-decoration: none;\n cursor: pointer;\n container-type: size;\n gap: var(--s-space-12);\n}\n\n.shell-navigation-item:hover {\n background-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item:hover .shell-navigation-item__badge,\n .shell-navigation-item:hover .shell-navigation-item__is-new-badge {\n --swirl-badge-border-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item:active {\n background-color: var(--s-surface-sunken-pressed);\n }\n\n.shell-navigation-item:active .shell-navigation-item__badge,\n .shell-navigation-item:active .shell-navigation-item__is-new-badge {\n --swirl-badge-border-color: var(--s-surface-sunken-pressed);\n }\n\n.shell-navigation-item:focus {\n outline: none;\n }\n\n.shell-navigation-item:focus-visible {\n z-index: 1;\n box-shadow: 0 0 0 0.125rem var(--s-focus-default);\n }\n\n.shell-navigation-item.shell-navigation-item--boxed {\n --swirl-app-icon-size: 2rem;\n }\n\n.shell-navigation-item.shell-navigation-item--boxed .shell-navigation-item__icon {\n overflow: hidden;\n border-radius: var(--s-border-radius-sm);\n background-color: var(--s-background-default);\n box-shadow: 0 0 0 var(--s-border-width-default) var(--s-border-default);\n }\n\n.shell-navigation-item.shell-navigation-item--default.shell-navigation-item--filled .shell-navigation-item__icon {\n width: 2rem;\n min-width: 2rem;\n height: 2rem;\n min-height: 2rem;\n }\n\n.shell-navigation-item.shell-navigation-item--filled {\n padding: var(--s-space-8);\n }\n\n.shell-navigation-item.shell-navigation-item--filled:not(.shell-navigation-item--has-app-icon) .shell-navigation-item__icon {\n color: var(--s-icon-on-action-primary);\n background-color: var(--s-action-primary-default);\n }\n\n.shell-navigation-item.shell-navigation-item--filled ::slotted(swirl-app-icon) {\n position: inherit;\n width: 100%;\n height: 100%;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled {\n --swirl-app-icon-size: 100%;\n\n height: auto;\n padding: 0;\n align-items: start;\n border-radius: var(--s-border-radius-base);\n flex-direction: column;\n container-type: inline-size;\n gap: var(--s-space-8);\n }\n\n.shell-navigation-item.shell-navigation-item--tiled:hover {\n background-color: transparent;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled:hover .shell-navigation-item__label {\n text-decoration: underline;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled ::slotted(*) {\n position: absolute;\n top: var(--s-space-12);\n left: var(--s-space-12);\n }\n\n.shell-navigation-item.shell-navigation-item--tiled ::slotted(swirl-app-icon) {\n position: inherit;\n width: 100%;\n height: 100%;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__icon {\n overflow: hidden;\n width: 100%;\n min-width: 100%;\n height: auto;\n min-height: auto;\n border-radius: var(--s-border-radius-base);\n background-color: var(--s-surface-sunken-hovered);\n aspect-ratio: 1;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled.shell-navigation-item--gradient .shell-navigation-item__icon::after {\n position: absolute;\n display: inline-block;\n width: 100%;\n border-radius: var(--s-border-radius-base);\n background-image: var(--swirl-shell-navigation-item-gradient);\n content: \"\";\n aspect-ratio: 1;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__label {\n color: var(--s-text-default);\n font-weight: var(--s-font-weight-semibold);\n text-align: start;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__label--inline {\n position: absolute;\n bottom: var(--s-space-12);\n left: var(--s-space-12);\n margin-right: var(--s-space-12);\n }\n\n.shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__label--inline.shell-navigation-item__label--light {\n color: rgba(242, 242, 242, 1);\n }\n\n.shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__label--inline.shell-navigation-item__label--dark {\n color: rgb(25, 25, 25);\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon {\n --swirl-app-icon-size: 100%;\n font-size: var(--s-font-size-xs);\n padding: var(--s-space-8) var(--s-space-4);\n align-items: center;\n height: auto;\n border-radius: var(--s-border-radius-sm);\n flex-direction: column;\n container-type: inline-size;\n gap: var(--s-space-8);\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon.shell-navigation-item--hide-label {\n padding: var(--s-space-8);\n --swirl-app-icon-size: 2rem;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon.shell-navigation-item--hide-label .shell-navigation-item__icon {\n max-width: 2rem;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon.shell-navigation-item--hide-label .shell-navigation-item__badge-wrapper {\n max-width: 2rem;\n max-height: 2rem;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__icon {\n overflow: hidden;\n width: 100%;\n max-width: 3.5rem;\n height: auto;\n border-radius: var(--s-border-radius-base);\n\n color: var(--s-icon-on-action-primary);\n aspect-ratio: 1;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__badge-wrapper {\n max-width: 3.5rem;\n max-height: 3.5rem;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__label {\n line-height: var(--s-line-height-xs);\n text-align: center;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__badge-wrapper, .shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__badge-wrapper {\n position: absolute;\n width: 100%;\n height: 100%;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__label, .shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__label {\n display: -webkit-box;\n overflow: hidden;\n white-space: normal;\n text-overflow: unset;\n overflow-wrap: anywhere;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__badge, .shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__badge {\n position: absolute;\n top: -0.375rem;\n right: -0.375rem;\n padding: var(--s-space-2);\n }\n\n.shell-navigation-item.shell-navigation-item--active {\n background-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item.shell-navigation-item--active .shell-navigation-item__icon {\n color: var(--s-icon-highlight);\n }\n\n.shell-navigation-item.shell-navigation-item--active .shell-navigation-item__label {\n color: var(--s-text-highlight);\n }\n\n.shell-navigation-item.shell-navigation-item--active .shell-navigation-item__badge {\n --swirl-badge-border-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item.shell-navigation-item--active:hover {\n background-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item.shell-navigation-item--active:hover .shell-navigation-item__badge {\n --swirl-badge-border-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item.shell-navigation-item--active:active {\n background-color: var(--s-surface-sunken-pressed);\n }\n\n.shell-navigation-item.shell-navigation-item--active:active .shell-navigation-item__badge {\n --swirl-badge-border-color: var(--s-surface-sunken-pressed);\n }\n\n@media (min-width: 992px) {\n\n.shell-navigation-item {\n background-color: var(--s-surface-sunken-default)\n}\n }\n\n.shell-navigation-item__icon {\n display: inline-flex;\n width: 2rem;\n min-width: 2rem;\n height: 2rem;\n min-height: 2rem;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n border-radius: var(--s-border-radius-base);\n}\n\n.shell-navigation-item__text-wrapper {\n overflow: hidden;\n min-width: 0;\n flex-grow: 1;\n text-align: start;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.shell-navigation-item__description {\n margin-left: var(--s-space-8);\n font-weight: var(--s-font-weight-normal);\n color: var(--s-text-subdued);\n}\n\n.shell-navigation-item__badge {\n flex-shrink: 0;\n --swirl-badge-border-color: var(--swirl-shell-background);\n}\n\n.shell-navigation-item__is-new-tag {\n flex-shrink: 0;\n}\n\n.shell-navigation-item__is-new-badge {\n position: absolute;\n top: 0.625rem;\n right: 0.625rem;\n flex-shrink: 0;\n --swirl-badge-border-color: var(--swirl-shell-background);\n}\n\n@container (max-width: 4rem) {\n .shell-navigation-item__badge {\n position: absolute;\n top: var(--s-space-4);\n right: var(--s-space-4);\n padding: var(--s-space-2);\n }\n\n .shell-navigation-item--gradient .shell-navigation-item__icon {\n --swirl-shell-navigation-item-gradient: none;\n }\n\n .shell-navigation-item__badge--dot {\n top: var(--s-space-8);\n right: var(--s-space-8);\n }\n}\n\n@container (min-width: 10rem) {\n .shell-navigation-item__badge--dot {\n padding-right: var(--s-space-4);\n }\n}\n";
6
+ const swirlShellNavigationItemCss = "/**\n* seems the container query does not work as expected\n*/\n\n:host {\n display: inline-flex;\n width: 100%;\n}\n\n:host * {\n box-sizing: border-box;\n }\n\n.shell-navigation-item {\n --swirl-app-icon-size: 2rem;\n --swirl-shell-navigation-item-gradient: linear-gradient(\n rgba(0, 0, 0, 0),\n rgba(0, 0, 0, 0.8)\n );\n\n position: relative;\n display: flex;\n width: 100%;\n height: 3rem;\n padding: var(--s-space-8);\n flex-shrink: 0;\n justify-content: flex-start;\n align-items: center;\n border: none;\n border-radius: var(--s-border-radius-sm);\n color: var(--s-text-default);\n background-color: var(--s-surface-overlay-default);\n font: inherit;\n font-size: var(--s-font-size-sm);\n font-weight: var(--s-font-weight-medium);\n line-height: var(--s-line-height-sm);\n text-decoration: none;\n cursor: pointer;\n container-type: size;\n gap: var(--s-space-12);\n}\n\n.shell-navigation-item:hover {\n background-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item:hover .shell-navigation-item__badge,\n .shell-navigation-item:hover .shell-navigation-item__is-new-badge {\n --swirl-badge-border-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item:active {\n background-color: var(--s-surface-sunken-pressed);\n }\n\n.shell-navigation-item:active .shell-navigation-item__badge,\n .shell-navigation-item:active .shell-navigation-item__is-new-badge {\n --swirl-badge-border-color: var(--s-surface-sunken-pressed);\n }\n\n.shell-navigation-item:focus {\n outline: none;\n }\n\n.shell-navigation-item:focus-visible {\n z-index: 1;\n box-shadow: 0 0 0 0.125rem var(--s-focus-default);\n }\n\n.shell-navigation-item.shell-navigation-item--boxed {\n --swirl-app-icon-size: 2rem;\n }\n\n.shell-navigation-item.shell-navigation-item--boxed .shell-navigation-item__icon {\n overflow: hidden;\n border-radius: var(--s-border-radius-sm);\n background-color: var(--s-background-default);\n box-shadow: 0 0 0 var(--s-border-width-default) var(--s-border-default);\n }\n\n.shell-navigation-item.shell-navigation-item--default.shell-navigation-item--filled .shell-navigation-item__icon {\n border-radius: var(--s-border-radius-sm);\n width: 2rem;\n min-width: 2rem;\n height: 2rem;\n min-height: 2rem;\n }\n\n.shell-navigation-item.shell-navigation-item--filled {\n padding: var(--s-space-8);\n }\n\n.shell-navigation-item.shell-navigation-item--filled:not(.shell-navigation-item--has-app-icon) .shell-navigation-item__icon {\n color: var(--s-icon-on-action-primary);\n background-color: var(--s-action-primary-default);\n }\n\n.shell-navigation-item.shell-navigation-item--filled ::slotted(swirl-app-icon) {\n position: inherit;\n width: 100%;\n height: 100%;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled {\n --swirl-app-icon-size: 100%;\n\n height: auto;\n padding: 0;\n align-items: start;\n border-radius: var(--s-border-radius-base);\n flex-direction: column;\n container-type: inline-size;\n gap: var(--s-space-8);\n }\n\n.shell-navigation-item.shell-navigation-item--tiled:hover {\n background-color: transparent;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled:hover .shell-navigation-item__label {\n text-decoration: underline;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled ::slotted(*) {\n position: absolute;\n top: var(--s-space-12);\n left: var(--s-space-12);\n }\n\n.shell-navigation-item.shell-navigation-item--tiled ::slotted(swirl-app-icon) {\n position: inherit;\n width: 100%;\n height: 100%;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__icon {\n overflow: hidden;\n width: 100%;\n min-width: 100%;\n height: auto;\n min-height: auto;\n border-radius: var(--s-border-radius-base);\n background-color: var(--s-surface-sunken-hovered);\n aspect-ratio: 1;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled.shell-navigation-item--gradient .shell-navigation-item__icon::after {\n position: absolute;\n display: inline-block;\n width: 100%;\n border-radius: var(--s-border-radius-base);\n background-image: var(--swirl-shell-navigation-item-gradient);\n content: \"\";\n aspect-ratio: 1;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__label {\n color: var(--s-text-default);\n font-weight: var(--s-font-weight-semibold);\n text-align: start;\n }\n\n.shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__label--inline {\n position: absolute;\n bottom: var(--s-space-12);\n left: var(--s-space-12);\n margin-right: var(--s-space-12);\n }\n\n.shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__label--inline.shell-navigation-item__label--light {\n color: rgba(242, 242, 242, 1);\n }\n\n.shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__label--inline.shell-navigation-item__label--dark {\n color: rgb(25, 25, 25);\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon {\n --swirl-app-icon-size: 100%;\n font-size: var(--s-font-size-xs);\n padding: var(--s-space-8) var(--s-space-4);\n align-items: center;\n height: auto;\n border-radius: var(--s-border-radius-sm);\n flex-direction: column;\n container-type: inline-size;\n gap: var(--s-space-8);\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon.shell-navigation-item--hide-label {\n align-items: start;\n padding: var(--s-space-8);\n --swirl-app-icon-size: 2rem;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon.shell-navigation-item--hide-label .shell-navigation-item__icon {\n border-radius: var(--s-border-radius-sm);\n max-width: 2rem;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon.shell-navigation-item--hide-label .shell-navigation-item__badge-wrapper {\n max-width: 2rem;\n max-height: 2rem;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__icon {\n overflow: hidden;\n width: 100%;\n max-width: 3.5rem;\n height: auto;\n border-radius: var(--s-border-radius-base);\n\n color: var(--s-icon-on-action-primary);\n aspect-ratio: 1;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__badge-wrapper {\n max-width: 3.5rem;\n max-height: 3.5rem;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__label {\n line-height: var(--s-line-height-xs);\n text-align: center;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__badge-wrapper, .shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__badge-wrapper {\n position: absolute;\n width: 100%;\n height: 100%;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__label, .shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__label {\n display: -webkit-box;\n overflow: hidden;\n white-space: normal;\n text-overflow: unset;\n overflow-wrap: anywhere;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n }\n\n.shell-navigation-item.shell-navigation-item--app-icon .shell-navigation-item__badge, .shell-navigation-item.shell-navigation-item--tiled .shell-navigation-item__badge {\n position: absolute;\n top: -0.375rem;\n right: -0.375rem;\n padding: var(--s-space-2);\n }\n\n.shell-navigation-item.shell-navigation-item--active {\n background-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item.shell-navigation-item--active .shell-navigation-item__icon {\n color: var(--s-icon-highlight);\n }\n\n.shell-navigation-item.shell-navigation-item--active .shell-navigation-item__label {\n color: var(--s-text-highlight);\n }\n\n.shell-navigation-item.shell-navigation-item--active .shell-navigation-item__badge {\n --swirl-badge-border-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item.shell-navigation-item--active:hover {\n background-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item.shell-navigation-item--active:hover .shell-navigation-item__badge {\n --swirl-badge-border-color: var(--s-surface-sunken-hovered);\n }\n\n.shell-navigation-item.shell-navigation-item--active:active {\n background-color: var(--s-surface-sunken-pressed);\n }\n\n.shell-navigation-item.shell-navigation-item--active:active .shell-navigation-item__badge {\n --swirl-badge-border-color: var(--s-surface-sunken-pressed);\n }\n\n@media (min-width: 992px) {\n\n.shell-navigation-item {\n background-color: var(--s-surface-sunken-default)\n}\n }\n\n.shell-navigation-item__icon {\n display: inline-flex;\n width: 2rem;\n min-width: 2rem;\n height: 2rem;\n min-height: 2rem;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n border-radius: var(--s-border-radius-base);\n}\n\n.shell-navigation-item__text-wrapper {\n overflow: hidden;\n min-width: 0;\n flex-grow: 1;\n text-align: start;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.shell-navigation-item__description {\n margin-left: var(--s-space-8);\n font-weight: var(--s-font-weight-normal);\n color: var(--s-text-subdued);\n}\n\n.shell-navigation-item__badge {\n flex-shrink: 0;\n --swirl-badge-border-color: var(--swirl-shell-background);\n}\n\n.shell-navigation-item__is-new-tag {\n flex-shrink: 0;\n}\n\n.shell-navigation-item__is-new-badge {\n position: absolute;\n top: 0.625rem;\n right: 0.625rem;\n flex-shrink: 0;\n --swirl-badge-border-color: var(--swirl-shell-background);\n}\n\n@container (max-width: 4rem) {\n .shell-navigation-item__badge {\n position: absolute;\n top: var(--s-space-4);\n right: var(--s-space-4);\n padding: var(--s-space-2);\n }\n\n .shell-navigation-item--gradient .shell-navigation-item__icon {\n --swirl-shell-navigation-item-gradient: none;\n }\n\n .shell-navigation-item__badge--dot {\n top: var(--s-space-8);\n right: var(--s-space-8);\n }\n}\n\n@container (min-width: 10rem) {\n .shell-navigation-item__badge--dot {\n padding-right: var(--s-space-4);\n }\n}\n";
7
7
 
8
8
  const SwirlShellNavigationItem = class {
9
9
  constructor(hostRef) {
@@ -226,11 +226,17 @@ const SwirlTable = class {
226
226
  this.setupDragDrop();
227
227
  }
228
228
  });
229
- this.rowMutationObserver.observe(this.bodyEl, {
229
+ this.startRowMutationObserver();
230
+ }
231
+ startRowMutationObserver() {
232
+ this.rowMutationObserver?.observe(this.bodyEl, {
230
233
  childList: true,
231
234
  subtree: true,
232
235
  });
233
236
  }
237
+ stopRowMutationObserver() {
238
+ this.rowMutationObserver?.disconnect();
239
+ }
234
240
  setupDragDrop() {
235
241
  if (this.sortable) {
236
242
  this.sortable.destroy();
@@ -258,6 +264,9 @@ const SwirlTable = class {
258
264
  handle: this.dragDropHandle,
259
265
  fallbackOnBody: true,
260
266
  group: `swirl-table-${Math.random().toString().substring(2)}`,
267
+ onStart: () => {
268
+ this.stopRowMutationObserver();
269
+ },
261
270
  onEnd: (event) => {
262
271
  event.stopPropagation();
263
272
  const { to, newIndex, oldIndex, item } = event;
@@ -271,6 +280,7 @@ const SwirlTable = class {
271
280
  : undefined,
272
281
  newPrevSiblingItemId: newIndex > 0 ? to.children[newIndex - 1].id : undefined,
273
282
  });
283
+ this.startRowMutationObserver();
274
284
  },
275
285
  });
276
286
  }
@@ -570,7 +580,7 @@ const SwirlTable = class {
570
580
  "table--show-empty-state": this.empty && !this.loading,
571
581
  "table--keyboard-move": this.movingViaKeyboard,
572
582
  });
573
- return (index$1.h(index$1.Host, { key: '6bc1959e06eaff434db4841127eaf6011ea4e386' }, index$1.h("div", { key: '1aef97ca18f0d367df69681fd4a0287fc1e9a96d', class: className }, this.enableDragDrop && (index$1.h("swirl-visually-hidden", { key: 'ae609948912c9656417c710d3bd0e1cc4b8e7977' }, index$1.h("span", { key: '8f6d333178d51be1ca097c346f90d01c92f1dfa7', "aria-live": "assertive" }, this.liveRegionText))), index$1.h("div", { key: '9ad655fd644d07acdc86c194d9685958f4acbcd9', class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (el) => (this.container = el), tabIndex: -1 }, index$1.h("div", { key: 'ce68c4da82f895a975e7d48852470bd60b861ce0', "aria-describedby": Boolean(this.caption) ? "caption" : undefined, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && (index$1.h("swirl-visually-hidden", { key: '77389ebb48e386ebb8d896444a394fa3c9cb82ec' }, index$1.h("div", { key: '65d40dac426958eb868d9d93461bb27f8f389b1d', id: "caption" }, this.caption))), index$1.h("div", { key: '01c0b5caa080855c98799e4cf2e8d3c3d91e0baf', role: "rowgroup" }, index$1.h("div", { key: '66e18f47a2964f15d64b4adfec51b88fb3563c1b', class: "table__header", ref: (el) => (this.headerEl = el), role: "row" }, index$1.h("slot", { key: '7e6d17abfec2e509afeff2a4bca5ad4634bc8705', name: "columns" }))), index$1.h("div", { key: 'cc5f8948dcf6998d8bd3497b9d93fc1218052278', class: "table__body", ref: (el) => (this.bodyEl = el) }, index$1.h("slot", { key: '17d4f92f350e958fd3270569b9fc18f08ccfe325', name: "rows" }), index$1.h("div", { key: '25499fcf2e5fbe30be4b281f121fe8df48517692', class: "table__empty-row", role: "row" }, index$1.h("div", { key: '007c30a0120784a4c86e22c8b036ee16b4720b6a', "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, index$1.h("slot", { key: 'c535c880ecb853342633e3036d99d417a4dd7c83', name: "empty" }), !hasEmptyStateSlotAssignment && (index$1.h("swirl-text", { key: 'd5afb052b4c575930aacd9ee366ae91115db16ac', align: "center", size: "sm" }, this.emptyStateLabel))))))))));
583
+ return (index$1.h(index$1.Host, { key: '31cc2b99cd42ce8de24fcdca3bd25d677b2065e9' }, index$1.h("div", { key: '2b10bbe4a18214e22f2ecedb07f2806d830abb55', class: className }, this.enableDragDrop && (index$1.h("swirl-visually-hidden", { key: 'aac0580b6da061bcf6a4e57f9e3308bcd83cd9ab' }, index$1.h("span", { key: '3c2c47c530275c59c13af5ae0bf95fe865546848', "aria-live": "assertive" }, this.liveRegionText))), index$1.h("div", { key: '063f4ec7388d8a9b9cc986e24e98dab85deb81b7', class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (el) => (this.container = el), tabIndex: -1 }, index$1.h("div", { key: '44ae0cb1ac3dbedba432e5154bb890311544a361', "aria-describedby": Boolean(this.caption) ? "caption" : undefined, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && (index$1.h("swirl-visually-hidden", { key: '4e98279e3a5e8dd340b05f1851559cbf35b25d95' }, index$1.h("div", { key: 'ec620a55154a96b65760fdfe5857d36cabc20e03', id: "caption" }, this.caption))), index$1.h("div", { key: 'de46c8483c070f631b529ff0e53db8b6a27ec8d8', role: "rowgroup" }, index$1.h("div", { key: '18a6f22082c3fe08134f6843ac9b9722501716fa', class: "table__header", ref: (el) => (this.headerEl = el), role: "row" }, index$1.h("slot", { key: '167710dee7162c62f40c218f6f2fb98e3f7534c0', name: "columns" }))), index$1.h("div", { key: '58cd2a6ee100461b4a9e8b5da35884f4271092a2', class: "table__body", ref: (el) => (this.bodyEl = el) }, index$1.h("slot", { key: 'd258590441b67c639ba479bcbf7ae85dc840fa88', name: "rows" }), index$1.h("div", { key: '9ddfc91f1a3055363798312fb0fd1aeb2671c2db', class: "table__empty-row", role: "row" }, index$1.h("div", { key: '78c4b0fa18d31277de03507b564ec42eba10c0a3', "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, index$1.h("slot", { key: 'f56688d7ff20f7ae1a3fc4f9f8241bc235b8ff5e', name: "empty" }), !hasEmptyStateSlotAssignment && (index$1.h("swirl-text", { key: 'b7cb802b3420a554459372d8813f1b7ba6571929', align: "center", size: "sm" }, this.emptyStateLabel))))))))));
574
584
  }
575
585
  get el() { return index$1.getElement(this); }
576
586
  static get watchers() { return {
@@ -445,6 +445,12 @@
445
445
  max-height: none;
446
446
  }
447
447
 
448
+ .shell-layout:not(.shell-layout--navigation-collapsed) .shell-layout__secondary-nav-items--grid-view.shell-layout__secondary-nav-items--app-icon ::slotted(ul) {
449
+ row-gap: var(--s-space-16);
450
+ -moz-column-gap: 0;
451
+ column-gap: 0;
452
+ }
453
+
448
454
  .shell-layout--navigation-collapsed .shell-layout__secondary-nav-items--tiled ::slotted(ul) {
449
455
  gap: var(--s-space-16);
450
456
  }
@@ -454,7 +460,7 @@
454
460
  }
455
461
 
456
462
  .shell-layout__secondary-nav-items--app-icon ::slotted(ul > *) {
457
- flex-basis: calc(32% - var(--s-space-8));
463
+ flex-basis: calc(100% / 3);
458
464
  }
459
465
 
460
466
  .shell-layout__main {
@@ -97,7 +97,6 @@ export class SwirlShellLayout {
97
97
  this.collectNavItems();
98
98
  this.navMutationObserver = new MutationObserver(() => {
99
99
  this.collectNavItems();
100
- this.setSecondaryNavItemsTiled();
101
100
  });
102
101
  this.navMutationObserver.observe(this.navElement, {
103
102
  childList: true,
@@ -136,6 +135,7 @@ export class SwirlShellLayout {
136
135
  watchNavigationCollapsed() {
137
136
  localStorage.setItem(NAVIGATION_COLLAPSE_STORAGE_KEY, String(this.navigationCollapsed));
138
137
  this.toggleNavItemLabels();
138
+ this.setSecondaryNavItemsTiled();
139
139
  }
140
140
  watchSidebarActive() {
141
141
  localStorage.setItem(SIDEBAR_STORAGE_KEY, String(this.sidebarActive));
@@ -208,26 +208,26 @@ export class SwirlShellLayout {
208
208
  "shell-layout--sidebar-scrollable": this.sidebarScrollState.scrollable,
209
209
  "shell-layout--sidebar-scrolled-to-top": this.sidebarScrollState.scrolledToTop,
210
210
  });
211
- return (h(Host, { key: 'e379157b61cda798ce9db3d3610874939f42f894' }, h("div", { key: 'f8c3fb1c2dd5f17c51ae331e9d28cea9a3c4ba7d', class: className }, h("header", { key: 'aa3649f574ec465d18f9e431ad1d922acd376844', class: "shell-layout__header", "data-tauri-drag-region": "true" }, h("button", { key: 'd739ab8bf7ec31735db49eefef4841802d4457dc', class: "shell-layout__skip-link", onClick: this.skipLinkClick.emit, type: "button" }, this.skipLinkLabel), h("div", { key: 'bc76bf7ff3969ad949d451752eeda51557599fe5', class: "shell-layout__header-left" }, h("swirl-tooltip", { key: 'db9015c5f3fef03650e6b70121a0e9fbc092916b', content: this.navigationCollapsed
211
+ return (h(Host, { key: '628b0239a6325d6e59d57a3ac122bd71c86332ac' }, h("div", { key: '62e3364f3d3f0a2529b34012b98970dc7afbc558', class: className }, h("header", { key: 'a4aaea70bae5ac06a8940a364623c0f1d9a0f7db', class: "shell-layout__header", "data-tauri-drag-region": "true" }, h("button", { key: 'b119a9efebc481f0a89a7f6c8cbda5822c299657', class: "shell-layout__skip-link", onClick: this.skipLinkClick.emit, type: "button" }, this.skipLinkLabel), h("div", { key: '65476e53eca4c4a13abe9d93f39a5d9b4eab2d10', class: "shell-layout__header-left" }, h("swirl-tooltip", { key: '3d6517107efcca90bd7e35e0821f785a1addc281', content: this.navigationCollapsed
212
212
  ? this.expandNavigationButtonLabel
213
- : this.collapseNavigationButtonLabel, delay: 100, position: "right" }, h("button", { key: 'e67208b06c4535fa8ec6c20f15c0468cc2a95418', class: "shell-layout__header-tool", onClick: this.onNavigationToggleClick, type: "button" }, this.navigationCollapsed ? (h("swirl-icon-dock-left-expand", { size: 20 })) : (h("swirl-icon-dock-left-collapse", { size: 20 })), h("swirl-visually-hidden", { key: '10f919c6cbc18b210e564a57778151bbfe01332e' }, this.navigationCollapsed
213
+ : this.collapseNavigationButtonLabel, delay: 100, position: "right" }, h("button", { key: '3ad74046c3d2826bfd923989b5ddf00a3cf0cb09', class: "shell-layout__header-tool", onClick: this.onNavigationToggleClick, type: "button" }, this.navigationCollapsed ? (h("swirl-icon-dock-left-expand", { size: 20 })) : (h("swirl-icon-dock-left-collapse", { size: 20 })), h("swirl-visually-hidden", { key: '4e4f4d2e355775dfb6ff15445672df7e51bf6df1' }, this.navigationCollapsed
214
214
  ? this.expandNavigationButtonLabel
215
- : this.collapseNavigationButtonLabel))), h("a", { key: '9e423f111282d0d9f3f3c9f9491dd20b5d956991', class: "shell-layout__header-tool", href: "javascript:history.back()" }, h("swirl-icon-arrow-back", { key: '05d39568a0c8f44e9b38729da964d63210102899', size: 20 }), h("swirl-visually-hidden", { key: '5584a5b5e58b66f75212f71be2096cfb2b0bf7e7' }, this.browserBackButtonLabel)), h("a", { key: '0c9d06a70d115648e656ea0ab2fd353c91a07809', class: "shell-layout__header-tool", href: "javascript:history.forward()" }, h("swirl-icon-arrow-forward", { key: '90384afa604edea5ec5d48024b0a4b26a4896111', size: 20 }), h("swirl-visually-hidden", { key: '8894eb5ede1ff461575bd82af8f3fd1fa1d998db' }, this.browserForwardButtonLabel)), h("slot", { key: 'dac12e330d28f13747affa5abd97308071bf785c', name: "left-header-tools" })), h("div", { key: 'a57c41f1f63807e92b7a399cf5a53ac4eb9ef800', class: "shell-layout__logo" }, h("slot", { key: '0dfe3b02c67a3fe44835ed2b8c65429f4611283a', name: "logo" })), h("div", { key: '2332a21f5af9f385356829ddbd0e50e060c299d4', class: "shell-layout__header-right" }, h("slot", { key: '0598d1a996a3d60514e6491df7b4a891eca3e4a6', name: "right-header-tools" }), h("button", { key: 'aeadd015ec2c52fb6183f78b45451fb80f6384be', class: "shell-layout__header-tool shell-layout__sidebar-toggle", onClick: this.sidebarToggleClick.emit, type: "button" }, h("swirl-icon", { key: '47999fc5d6859aa12da73999357f8edb726cd557', glyph: this.sidebarToggleIcon, size: 20 }), h("swirl-visually-hidden", { key: '8fabb8d7aff3db1a6051e26abd57c621e57dc66e' }, this.sidebarToggleLabel), this.sidebarToggleBadge && (h("swirl-badge", { key: '8bbd4c4303811f51768cdbb98166c7ce927bec74', "aria-label": this.sidebarToggleBadgeAriaLabel, label: !hasSidebarToggleBadgeWithLabel
215
+ : this.collapseNavigationButtonLabel))), h("a", { key: '0c4f8f92df65d9607166e4a1d07d9b2ecbc09a04', class: "shell-layout__header-tool", href: "javascript:history.back()" }, h("swirl-icon-arrow-back", { key: '8c8df719671229b748f419711182b4b1d1b38a8f', size: 20 }), h("swirl-visually-hidden", { key: '974d1625c5f3a7bbe04faef98f68e51581777a00' }, this.browserBackButtonLabel)), h("a", { key: '9375147f7dba53cb62a8caa48a2b86373a5d656f', class: "shell-layout__header-tool", href: "javascript:history.forward()" }, h("swirl-icon-arrow-forward", { key: '6c2b91011ce28f3f24252798d92b226d74389d36', size: 20 }), h("swirl-visually-hidden", { key: '05e66fdc139584c0e6b8d1b5b33fdf50aa636d52' }, this.browserForwardButtonLabel)), h("slot", { key: '5162118dfad58b80cb8f124b856dc438c7a6c473', name: "left-header-tools" })), h("div", { key: 'ab60ae994ef7e65eb932ada1af8f7d65d1cedf09', class: "shell-layout__logo" }, h("slot", { key: 'cdea707605a9b7c68dc0cc296820f6bc06297142', name: "logo" })), h("div", { key: '4c13e5878a20d867103b9feb3f9cb27aa6fef4d9', class: "shell-layout__header-right" }, h("slot", { key: '3c4acb3981f8b152893b2d212c64492eac0b7f53', name: "right-header-tools" }), h("button", { key: '71a135e5f35d75c982d1a8daf4df375b22587644', class: "shell-layout__header-tool shell-layout__sidebar-toggle", onClick: this.sidebarToggleClick.emit, type: "button" }, h("swirl-icon", { key: '10ea578c29fbf33eb77c6b068b046e7be66ad516', glyph: this.sidebarToggleIcon, size: 20 }), h("swirl-visually-hidden", { key: '51fccb8014557d06195689ec61b7255d4a0fb449' }, this.sidebarToggleLabel), this.sidebarToggleBadge && (h("swirl-badge", { key: '20d812a01969fd87159eff00da7f020e95b39f2e', "aria-label": this.sidebarToggleBadgeAriaLabel, label: !hasSidebarToggleBadgeWithLabel
216
216
  ? this.sidebarToggleBadgeAriaLabel
217
- : String(this.sidebarToggleBadge), size: "xs", variant: !hasSidebarToggleBadgeWithLabel ? "dot" : "default" }))), h("slot", { key: '810b8f003a51b1622a902d3af27bf5ee1a32a029', name: "avatar" }))), h("div", { key: '7a30272d83fd155982d0758b3dda959f050424eb', class: "shell-layout__mobile-nav-backdrop", onClick: this.onNavigationClick }), h("nav", { key: '4a67c0006eb4cfd82cdf60fd82455b0953a28ea8', "aria-labelledby": "main-navigation-label", class: "shell-layout__nav", onClick: this.onNavigationClick, ref: (el) => (this.navElement = el) }, h("div", { key: 'c00e0abcd04b117f713f339464dae08da9065fd5', class: "shell-layout__mobile-header" }, h("slot", { key: '8d0c8e2e304f9ba27c02c727d347b95b2d963a13', name: "mobile-logo" }), h("div", { key: '329b42f8c1158b5bd8d1a7f9a63c39eb4f9b0b33', class: "shell-layout__mobile-header-tools" }, h("slot", { key: '20b99a97e241585ec1a109ce09aad2e679333b84', name: "mobile-header-tools" }), h("button", { key: 'a5d735b528d6d23820b2d7e266a2b8d6fc46a5b9', class: "shell-layout__header-tool", type: "button" }, h("swirl-icon-double-arrow-left", { key: '1cd2a4b7637a0a15b137bd61659b5efa47282613', size: 20 }), h("swirl-visually-hidden", { key: '0d231b9a7206b14c9bec6b24344c9216ce2cbd44' }, this.hideMobileNavigationButtonLabel)))), h("div", { key: '6619330436e126fe90ced7241ea05991ed57b660', class: "shell-layout__nav-body" }, h("swirl-visually-hidden", { key: '50d00423c60d2eb36ef825b061417a0894429a00' }, h("span", { key: '783345e378a447f2e6d4aea9036b3df075dce2cc', id: "main-navigation-label" }, this.navigationLabel)), h("slot", { key: '85b278f7f118938b16d2a7deee283b9e9656df20', name: "nav", onSlotchange: this.collectNavItems }), h("div", { key: '46ec18f192232bf69ab12f5e22aef6bbf4f0fa32', class: "shell-layout__secondary-nav" }, h("swirl-separator", { key: 'd0cdcd421c2b5897c979c44bd293486bd984e6c1', color: "strong", spacing: "16" }), this.enableSecondaryNavGridLayout && (h("swirl-box", { key: '173c2121361a32700b7ceb5af8a8b013a38420b1', paddingBlockEnd: "16" }, h("swirl-stack", { key: 'ce088d6731c50458983c8ec62c5d8e8739154003', justify: mainNavCollapsed ? "center" : "space-between", orientation: "horizontal" }, h("swirl-button", { key: '581041c32bf5e89cc2af1a123ebb6946404485eb', hideLabel: mainNavCollapsed, icon: this.secondaryNavCollapsed
217
+ : String(this.sidebarToggleBadge), size: "xs", variant: !hasSidebarToggleBadgeWithLabel ? "dot" : "default" }))), h("slot", { key: '0e4e5bd5060be685f7932bbb751c1d4018ca8501', name: "avatar" }))), h("div", { key: 'e13859eb6cb1241f2785cfd9d6e413d4b5377934', class: "shell-layout__mobile-nav-backdrop", onClick: this.onNavigationClick }), h("nav", { key: '28712f6cae073f31ddf5008fd6c6a406eb96b143', "aria-labelledby": "main-navigation-label", class: "shell-layout__nav", onClick: this.onNavigationClick, ref: (el) => (this.navElement = el) }, h("div", { key: '3832ebc73dcf729177fcf52a8a0c7a49d65548cf', class: "shell-layout__mobile-header" }, h("slot", { key: 'a53481a65c10c81da3042f20f22cc0b7ab07a236', name: "mobile-logo" }), h("div", { key: 'de4d6a748d7807f43075af93263b3885cd10d0bf', class: "shell-layout__mobile-header-tools" }, h("slot", { key: '6279924cf235bedfe903484b231c94710661b9fc', name: "mobile-header-tools" }), h("button", { key: 'c8bb1aa7eed100fb730c0ed9080c99ff653c65f2', class: "shell-layout__header-tool", type: "button" }, h("swirl-icon-double-arrow-left", { key: 'a528085d6dbe080f92b94642d8598ce6b88353b0', size: 20 }), h("swirl-visually-hidden", { key: 'a96b1990f453de202370874d33bb39c17488353f' }, this.hideMobileNavigationButtonLabel)))), h("div", { key: 'aa8b5c48091996f6b598e3dc40bb1c34993f2873', class: "shell-layout__nav-body" }, h("swirl-visually-hidden", { key: '3ca6dfb2049669d5234827d2aaebdb4de3ebc129' }, h("span", { key: 'a95f9dbfa884188762b7f1f2f12f2874f0ddf386', id: "main-navigation-label" }, this.navigationLabel)), h("slot", { key: '5182c7cf4d4a8090f77ccd3ebb02fdc3310545f0', name: "nav", onSlotchange: this.collectNavItems }), h("div", { key: 'ae33f496399ad791199d20e5115b5ba5d7b4af52', class: "shell-layout__secondary-nav" }, h("swirl-separator", { key: 'b6fa20f6596cc6893191ebf8c73ab06729042df7', color: "strong", spacing: "16" }), this.enableSecondaryNavGridLayout && (h("swirl-box", { key: '561badbcf05812085ab6deee1e8bc21d2c5114f8', paddingBlockEnd: "16" }, h("swirl-stack", { key: '3f7e37adc62d0e84c3766e99e6856d4f4f791f7a', justify: mainNavCollapsed ? "center" : "space-between", orientation: "horizontal" }, h("swirl-button", { key: 'e6c9ef70f5adc2cd706f587f2529c5e1f3eec275', hideLabel: mainNavCollapsed, icon: this.secondaryNavCollapsed
218
218
  ? "<swirl-icon-expand-more></swirl-icon-expand-more>"
219
219
  : "<swirl-icon-expand-less></swirl-icon-expand-less>", label: this.secondaryNavCollapsed
220
220
  ? this.secondaryNavExpandLabel
221
- : this.secondaryNavCollapseLabel, onClick: this.toggleSecondaryNavCollapse, variant: "plain" }), !mainNavCollapsed && !this.secondaryNavCollapsed && (h("swirl-button", { key: 'fae753850689727378a8cb234d90a6702b710075', icon: this.secondaryNavView === "grid"
221
+ : this.secondaryNavCollapseLabel, onClick: this.toggleSecondaryNavCollapse, variant: "plain" }), !mainNavCollapsed && !this.secondaryNavCollapsed && (h("swirl-button", { key: '38cbe7241785b6f74ae8b097e5471fdfdfc37f62', icon: this.secondaryNavView === "grid"
222
222
  ? "<swirl-icon-menu></swirl-icon-menu>"
223
223
  : "<swirl-icon-hamburger-menu></swirl-icon-hamburger-menu>", iconPosition: "end", label: this.secondaryNavView === "grid"
224
224
  ? this.gridNavLayoutToggleLabel
225
- : this.listNavLayoutToggleLabel, onClick: this.toggleSecondaryNavView, variant: "plain" }))))), h("div", { key: 'a5af478cb3403c678567741a307bdc8457df47ce', class: {
225
+ : this.listNavLayoutToggleLabel, onClick: this.toggleSecondaryNavView, variant: "plain" }))))), h("div", { key: 'f281e5540e6a30b69cf1b69d51749f74987c0bee', class: {
226
226
  [`shell-layout__secondary-nav-items--${this.secondaryNavGridLayoutVariant}`]: true,
227
227
  "shell-layout__secondary-nav-items": true,
228
228
  "shell-layout__secondary-nav-items--grid-view": this.enableSecondaryNavGridLayout &&
229
229
  this.secondaryNavView === "grid",
230
- } }, h("slot", { key: 'd1ea31fd2c171c6fab8e7303f9191851e669313d', name: "secondary-nav", onSlotchange: this.collectNavItems }))))), h("main", { key: '2b600d4a3f40f021d913039e64a6928eab426357', class: "shell-layout__main", id: "main-content" }, h("slot", { key: '2c21a0af62bea5c1abcebd39e28af9d39f6663bb' })), h("aside", { key: '792204a985019f9ea1b1f218bf05c1847368850f', class: "shell-layout__sidebar", inert: this.sidebarActive ? undefined : true }, h("div", { key: '0bd94598d316560dd26870f8a963a54f3462bdf2', class: "shell-layout__sidebar-body" }, h("div", { key: 'e52c3ad37084b1ac8db47111bfc5fd2b82f3f451', class: "shell-layout__sidebar-app-bar" }, h("slot", { key: '9675a194d1290b6427ec0e4232e579969e1e8819', name: "sidebar-app-bar" })), h("div", { key: '0021e581fc165fa4e97670283aae8bc218bd345b', class: "shell-layout__sidebar-content", onScroll: this.onSidebarScroll, ref: (el) => (this.sidebarContentEl = el) }, h("slot", { key: '7b7bb3aee65db23554182ce715b0ac0935cdf7a3', name: "sidebar" })))))));
230
+ } }, h("slot", { key: 'd4703ece0f8c3f0259a3475e546c4228a7e456a3', name: "secondary-nav", onSlotchange: this.collectNavItems }))))), h("main", { key: '19866fcf65b21cd4822ffd3cfb8e114e61c64cb5', class: "shell-layout__main", id: "main-content" }, h("slot", { key: '9fad863f37c5542b9c6942750a26a97819076040' })), h("aside", { key: '609c70a85bef0fe48088d3f065dbe951bdfd95c8', class: "shell-layout__sidebar", inert: this.sidebarActive ? undefined : true }, h("div", { key: '0ac65b1b87c2971771d9c539bf94b20c6173667e', class: "shell-layout__sidebar-body" }, h("div", { key: '86da5fdd6629ff641ccac52bd0590fb981c7fac3', class: "shell-layout__sidebar-app-bar" }, h("slot", { key: 'f002916b3d97704079f70f0d5d961f6f49bd5905', name: "sidebar-app-bar" })), h("div", { key: '1b00cfdec4f37e7c457688438ce220df2c2599df', class: "shell-layout__sidebar-content", onScroll: this.onSidebarScroll, ref: (el) => (this.sidebarContentEl = el) }, h("slot", { key: '9f5c8633267ac25bc475db84b827b3f768d27924', name: "sidebar" })))))));
231
231
  }
232
232
  static get is() { return "swirl-shell-layout"; }
233
233
  static get encapsulation() { return "scoped"; }
@@ -79,6 +79,7 @@
79
79
  }
80
80
 
81
81
  .shell-navigation-item.shell-navigation-item--default.shell-navigation-item--filled .shell-navigation-item__icon {
82
+ border-radius: var(--s-border-radius-sm);
82
83
  width: 2rem;
83
84
  min-width: 2rem;
84
85
  height: 2rem;
@@ -187,11 +188,13 @@
187
188
  }
188
189
 
189
190
  .shell-navigation-item.shell-navigation-item--app-icon.shell-navigation-item--hide-label {
191
+ align-items: start;
190
192
  padding: var(--s-space-8);
191
193
  --swirl-app-icon-size: 2rem;
192
194
  }
193
195
 
194
196
  .shell-navigation-item.shell-navigation-item--app-icon.shell-navigation-item--hide-label .shell-navigation-item__icon {
197
+ border-radius: var(--s-border-radius-sm);
195
198
  max-width: 2rem;
196
199
  }
197
200
 
@@ -141,11 +141,17 @@ export class SwirlTable {
141
141
  this.setupDragDrop();
142
142
  }
143
143
  });
144
- this.rowMutationObserver.observe(this.bodyEl, {
144
+ this.startRowMutationObserver();
145
+ }
146
+ startRowMutationObserver() {
147
+ this.rowMutationObserver?.observe(this.bodyEl, {
145
148
  childList: true,
146
149
  subtree: true,
147
150
  });
148
151
  }
152
+ stopRowMutationObserver() {
153
+ this.rowMutationObserver?.disconnect();
154
+ }
149
155
  setupDragDrop() {
150
156
  if (this.sortable) {
151
157
  this.sortable.destroy();
@@ -173,6 +179,9 @@ export class SwirlTable {
173
179
  handle: this.dragDropHandle,
174
180
  fallbackOnBody: true,
175
181
  group: `swirl-table-${Math.random().toString().substring(2)}`,
182
+ onStart: () => {
183
+ this.stopRowMutationObserver();
184
+ },
176
185
  onEnd: (event) => {
177
186
  event.stopPropagation();
178
187
  const { to, newIndex, oldIndex, item } = event;
@@ -186,6 +195,7 @@ export class SwirlTable {
186
195
  : undefined,
187
196
  newPrevSiblingItemId: newIndex > 0 ? to.children[newIndex - 1].id : undefined,
188
197
  });
198
+ this.startRowMutationObserver();
189
199
  },
190
200
  });
191
201
  }
@@ -485,7 +495,7 @@ export class SwirlTable {
485
495
  "table--show-empty-state": this.empty && !this.loading,
486
496
  "table--keyboard-move": this.movingViaKeyboard,
487
497
  });
488
- return (h(Host, { key: '6bc1959e06eaff434db4841127eaf6011ea4e386' }, h("div", { key: '1aef97ca18f0d367df69681fd4a0287fc1e9a96d', class: className }, this.enableDragDrop && (h("swirl-visually-hidden", { key: 'ae609948912c9656417c710d3bd0e1cc4b8e7977' }, h("span", { key: '8f6d333178d51be1ca097c346f90d01c92f1dfa7', "aria-live": "assertive" }, this.liveRegionText))), h("div", { key: '9ad655fd644d07acdc86c194d9685958f4acbcd9', class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (el) => (this.container = el), tabIndex: -1 }, h("div", { key: 'ce68c4da82f895a975e7d48852470bd60b861ce0', "aria-describedby": Boolean(this.caption) ? "caption" : undefined, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && (h("swirl-visually-hidden", { key: '77389ebb48e386ebb8d896444a394fa3c9cb82ec' }, h("div", { key: '65d40dac426958eb868d9d93461bb27f8f389b1d', id: "caption" }, this.caption))), h("div", { key: '01c0b5caa080855c98799e4cf2e8d3c3d91e0baf', role: "rowgroup" }, h("div", { key: '66e18f47a2964f15d64b4adfec51b88fb3563c1b', class: "table__header", ref: (el) => (this.headerEl = el), role: "row" }, h("slot", { key: '7e6d17abfec2e509afeff2a4bca5ad4634bc8705', name: "columns" }))), h("div", { key: 'cc5f8948dcf6998d8bd3497b9d93fc1218052278', class: "table__body", ref: (el) => (this.bodyEl = el) }, h("slot", { key: '17d4f92f350e958fd3270569b9fc18f08ccfe325', name: "rows" }), h("div", { key: '25499fcf2e5fbe30be4b281f121fe8df48517692', class: "table__empty-row", role: "row" }, h("div", { key: '007c30a0120784a4c86e22c8b036ee16b4720b6a', "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, h("slot", { key: 'c535c880ecb853342633e3036d99d417a4dd7c83', name: "empty" }), !hasEmptyStateSlotAssignment && (h("swirl-text", { key: 'd5afb052b4c575930aacd9ee366ae91115db16ac', align: "center", size: "sm" }, this.emptyStateLabel))))))))));
498
+ return (h(Host, { key: '31cc2b99cd42ce8de24fcdca3bd25d677b2065e9' }, h("div", { key: '2b10bbe4a18214e22f2ecedb07f2806d830abb55', class: className }, this.enableDragDrop && (h("swirl-visually-hidden", { key: 'aac0580b6da061bcf6a4e57f9e3308bcd83cd9ab' }, h("span", { key: '3c2c47c530275c59c13af5ae0bf95fe865546848', "aria-live": "assertive" }, this.liveRegionText))), h("div", { key: '063f4ec7388d8a9b9cc986e24e98dab85deb81b7', class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (el) => (this.container = el), tabIndex: -1 }, h("div", { key: '44ae0cb1ac3dbedba432e5154bb890311544a361', "aria-describedby": Boolean(this.caption) ? "caption" : undefined, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && (h("swirl-visually-hidden", { key: '4e98279e3a5e8dd340b05f1851559cbf35b25d95' }, h("div", { key: 'ec620a55154a96b65760fdfe5857d36cabc20e03', id: "caption" }, this.caption))), h("div", { key: 'de46c8483c070f631b529ff0e53db8b6a27ec8d8', role: "rowgroup" }, h("div", { key: '18a6f22082c3fe08134f6843ac9b9722501716fa', class: "table__header", ref: (el) => (this.headerEl = el), role: "row" }, h("slot", { key: '167710dee7162c62f40c218f6f2fb98e3f7534c0', name: "columns" }))), h("div", { key: '58cd2a6ee100461b4a9e8b5da35884f4271092a2', class: "table__body", ref: (el) => (this.bodyEl = el) }, h("slot", { key: 'd258590441b67c639ba479bcbf7ae85dc840fa88', name: "rows" }), h("div", { key: '9ddfc91f1a3055363798312fb0fd1aeb2671c2db', class: "table__empty-row", role: "row" }, h("div", { key: '78c4b0fa18d31277de03507b564ec42eba10c0a3', "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, h("slot", { key: 'f56688d7ff20f7ae1a3fc4f9f8241bc235b8ff5e', name: "empty" }), !hasEmptyStateSlotAssignment && (h("swirl-text", { key: 'b7cb802b3420a554459372d8813f1b7ba6571929', align: "center", size: "sm" }, this.emptyStateLabel))))))))));
489
499
  }
490
500
  static get is() { return "swirl-table"; }
491
501
  static get encapsulation() { return "scoped"; }