@atelier-ui/mcp 0.4.15 → 0.4.16

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 (43) hide show
  1. package/package.json +1 -1
  2. package/storybook/.atelier-inputs.json +1 -1
  3. package/storybook/assets/{_a11y-module-chunk-kh2BWFEb.js → _a11y-module-chunk-BzAA2_tI.js} +1 -1
  4. package/storybook/assets/{_focus-monitor-chunk-CHxlrCHn.js → _focus-monitor-chunk-CAivpOV8.js} +1 -1
  5. package/storybook/assets/{atl-alert.stories-WOsUlWre.js → atl-alert.stories-DtjZafjl.js} +1 -1
  6. package/storybook/assets/{atl-avatar.stories-GM0sQR9h.js → atl-avatar.stories-BGAIaGd3.js} +1 -1
  7. package/storybook/assets/{atl-badge.stories-BZ-58GLo.js → atl-badge.stories-Dkh8HuJq.js} +1 -1
  8. package/storybook/assets/{atl-button-BzQndwCt.js → atl-button-BH1eMw_C.js} +1 -1
  9. package/storybook/assets/{atl-button.stories-D8MwkQrM.js → atl-button.stories-CZuQ-OD9.js} +1 -1
  10. package/storybook/assets/{atl-card.stories-DqUwE2Lw.js → atl-card.stories-DGdkKZbW.js} +1 -1
  11. package/storybook/assets/{atl-chat.stories-BhfNwpcy.js → atl-chat.stories-BacwZ35I.js} +1 -1
  12. package/storybook/assets/{atl-checkbox.stories-tfTegOD3.js → atl-checkbox.stories-Dgl_LbxZ.js} +1 -1
  13. package/storybook/assets/{atl-code-block.stories-BPKM1keU.js → atl-code-block.stories-BWig0w8R.js} +1 -1
  14. package/storybook/assets/{atl-combobox.stories-DUHRpNOg.js → atl-combobox.stories-y_i1VAq8.js} +2 -2
  15. package/storybook/assets/{atl-dialog-B2-2GVTo.js → atl-dialog-CFoUcryL.js} +1 -1
  16. package/storybook/assets/{atl-dialog.stories-DGZaeKea.js → atl-dialog.stories-MkALUkBi.js} +1 -1
  17. package/storybook/assets/{atl-drawer-87lAgOgh.js → atl-drawer-01-1in7i.js} +1 -1
  18. package/storybook/assets/{atl-drawer.stories-Bo48zu1P.js → atl-drawer.stories-CQRjYBix.js} +1 -1
  19. package/storybook/assets/{atl-icon.stories-D__7KUC6.js → atl-icon.stories-Cc9r3jBE.js} +1 -1
  20. package/storybook/assets/{atl-input.stories-CAorMMo9.js → atl-input.stories-eWdyccFz.js} +1 -1
  21. package/storybook/assets/{atl-menu-CyZvGLYl.js → atl-menu-BeSx1efJ.js} +1 -1
  22. package/storybook/assets/{atl-menu.stories-DW8fQ-KN.js → atl-menu.stories-K_XlhQ2W.js} +1 -1
  23. package/storybook/assets/{atl-progress.stories-IPzUxTop.js → atl-progress.stories-cJyjN9Yh.js} +1 -1
  24. package/storybook/assets/{atl-radio-group.stories-B-LXwjaI.js → atl-radio-group.stories-C_2W5n0m.js} +1 -1
  25. package/storybook/assets/{atl-select.stories-BlnLgKMb.js → atl-select.stories-BTLvu-Kr.js} +1 -1
  26. package/storybook/assets/{atl-showcase.stories-DEEN9_7E.js → atl-showcase.stories-DrvpOuLX.js} +1 -1
  27. package/storybook/assets/{atl-skeleton.stories-BjntxCgy.js → atl-skeleton.stories-Du2c84V4.js} +1 -1
  28. package/storybook/assets/{atl-stepper.stories-TlX9iAtl.js → atl-stepper.stories-BFLW6UNI.js} +1 -1
  29. package/storybook/assets/{atl-table.stories-Da-Cdx4f.js → atl-table.stories-ixfY75NO.js} +1 -1
  30. package/storybook/assets/{atl-tabs.stories-fnuIid_J.js → atl-tabs.stories-DHBkQD4r.js} +1 -1
  31. package/storybook/assets/{atl-textarea.stories-BHLuood4.js → atl-textarea.stories-C72K9RcG.js} +1 -1
  32. package/storybook/assets/{atl-toast.stories-DuabFeLE.js → atl-toast.stories-3k4OBiVS.js} +1 -1
  33. package/storybook/assets/{atl-toggle.stories-C9TIh6EI.js → atl-toggle.stories-CTYkc82h.js} +1 -1
  34. package/storybook/assets/{atl-tooltip.stories-BtN7RqXO.js → atl-tooltip.stories-DTtVreWv.js} +1 -1
  35. package/storybook/assets/{cookbook.stories-Cvcwdpgq.js → cookbook.stories-CMiaYyeD.js} +1 -1
  36. package/storybook/assets/{dist-BfbfS1eq.js → dist-Ds584yJP.js} +1 -1
  37. package/storybook/assets/{iframe-h-GGOSFN.js → iframe-CEYIQsGl.js} +2 -2
  38. package/storybook/assets/iframe-DBNuPETq.js +1 -0
  39. package/storybook/assets/{kitchen-sink.stories-DgdRp06g.js → kitchen-sink.stories-B69zux4I.js} +1 -1
  40. package/storybook/iframe.html +2 -2
  41. package/storybook/package.json +1 -1
  42. package/storybook/project.json +1 -1
  43. package/storybook/assets/iframe-BYbOm3Rx.js +0 -1
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{A as t,Dt as n,Et as r,Ft as i,Lt as a,M as o,Mt as s,O as c,P as l,R as u,S as d,W as f,et as p,hn as m,k as h,q as g,tt as _,xn as v,z as y}from"./angular-platform-ChS-QjTV.js";import{n as b,t as x}from"./_a11y-module-chunk-kh2BWFEb.js";import{n as S,t as C}from"./atl-icon-ChO59f9V.js";import{n as w,t as T}from"./a11y-dev-warn-BbRozqAf.js";var E;function init_atl_drawer(){return(init_atl_drawer=e((()=>{E=`:is(.atl-drawer,.atl-drawer-content,.atl-drawer-footer,.atl-drawer-header),:is(.atl-drawer,.atl-drawer-content,.atl-drawer-footer,.atl-drawer-header) *{box-sizing:border-box}.atl-drawer{font-family:var(--ui-font-family);line-height:var(--ui-line-height-normal);display:contents}.atl-drawer>dialog{all:unset;box-sizing:border-box;font-family:var(--ui-font-family);background:var(--ui-color-surface);box-shadow:var(--ui-shadow-xl,0 20px 60px #0000004d);color:var(--ui-color-text);transition:transform var(--ui-duration-slow) var(--ui-ease-out,ease-out), display var(--ui-duration-slow) allow-discrete, overlay var(--ui-duration-slow) allow-discrete;flex-direction:column;display:none;position:fixed;overflow:hidden}.atl-drawer>dialog[open]{display:flex;transform:translate(0)!important}.atl-drawer>dialog::backdrop{background:var(--ui-color-overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);transition:opacity var(--ui-duration-slow) var(--ui-ease-out,ease-out), display var(--ui-duration-slow) allow-discrete, overlay var(--ui-duration-slow) allow-discrete}@starting-style{.atl-drawer>dialog[open]::backdrop{opacity:0}}@media (prefers-color-scheme:dark){.atl-drawer>dialog::backdrop{background:var(--ui-color-overlay)}}[data-theme=dark] .atl-drawer>dialog::backdrop{background:var(--ui-color-overlay)}.atl-drawer>dialog>.panel{flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.atl-drawer.position-right>dialog{height:100dvh;inset:0 0 0 auto;transform:translate(100%)}@starting-style{.atl-drawer.position-right>dialog[open]{transform:translate(100%)}}.atl-drawer.position-left>dialog{height:100dvh;inset:0 auto 0 0;transform:translate(-100%)}@starting-style{.atl-drawer.position-left>dialog[open]{transform:translate(-100%)}}.atl-drawer.position-top>dialog{width:100vw;inset:0 0 auto;transform:translateY(-100%)}@starting-style{.atl-drawer.position-top>dialog[open]{transform:translateY(-100%)}}.atl-drawer.position-bottom>dialog{width:100vw;inset:auto 0 0;transform:translateY(100%)}@starting-style{.atl-drawer.position-bottom>dialog[open]{transform:translateY(100%)}}.atl-drawer.position-right.size-sm>dialog,.atl-drawer.position-left.size-sm>dialog{width:20rem}.atl-drawer.position-right.size-md>dialog,.atl-drawer.position-left.size-md>dialog{width:28rem}.atl-drawer.position-right.size-lg>dialog,.atl-drawer.position-left.size-lg>dialog{width:40rem}.atl-drawer.position-right.size-full>dialog,.atl-drawer.position-left.size-full>dialog{width:100vw}.atl-drawer.position-top.size-sm>dialog,.atl-drawer.position-bottom.size-sm>dialog{height:12rem}.atl-drawer.position-top.size-md>dialog,.atl-drawer.position-bottom.size-md>dialog{height:20rem}.atl-drawer.position-top.size-lg>dialog,.atl-drawer.position-bottom.size-lg>dialog{height:32rem}.atl-drawer.position-top.size-full>dialog,.atl-drawer.position-bottom.size-full>dialog{height:100dvh}.atl-drawer-header{padding:var(--ui-spacing-5) var(--ui-spacing-6);border-bottom:var(--ui-border-width) solid var(--ui-color-border);font-size:var(--ui-font-size-xl);font-weight:var(--ui-font-weight-semibold);letter-spacing:var(--ui-letter-spacing-tight);color:var(--ui-color-text);flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.atl-drawer-content{padding:var(--ui-spacing-6);color:var(--ui-color-text);flex:1;display:block;overflow-y:auto}.atl-drawer-footer{justify-content:flex-end;align-items:center;gap:var(--ui-spacing-3);padding:var(--ui-spacing-5) var(--ui-spacing-6);border-top:var(--ui-border-width) solid var(--ui-color-border);flex-shrink:0;display:flex}.atl-drawer-header>.close-btn{width:var(--ui-control-height-sm);height:var(--ui-control-height-sm);margin-left:var(--ui-spacing-3);border-radius:var(--ui-radius-sm);cursor:pointer;color:var(--ui-color-text-muted);transition:background-color var(--ui-transition-fast), color var(--ui-transition-fast);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}.atl-drawer-header>.close-btn:hover{background-color:var(--ui-color-surface-sunken);color:var(--ui-color-text)}.atl-drawer-header>.close-btn:focus-visible{box-shadow:var(--ui-focus-ring);outline:none}`})))()}var D;function init_atl_drawer_token(){return(init_atl_drawer_token=e((()=>{c(),D=new r(`ATL_DRAWER`)})))()}var O,k,A,j,M;function init_atl_drawer$1(){return(init_atl_drawer$1=e((()=>{v(),init_atl_drawer(),c(),b(),init_atl_drawer_token(),T(),S(),O=0,k=class AtlDrawer{open=t(!1);position=h(`right`);size=h(`md`);closeOnBackdrop=h(!0);headerId=`atl-drawer-header-${O}`;drawerId=`atl-drawer-${O++}`;dialogRef=o(`dialogEl`);triggerEl=a(null);injector=i(n);warnedUnnamed=!1;hostClasses=l(()=>`position-${this.position()} size-${this.size()}${this.open()?` is-open`:``}`);constructor(){s(()=>{let e=this.dialogRef()?.nativeElement;e&&(this.open()?(this.triggerEl.set(document.activeElement),e.showModal(),this.warnIfUnnamed(e)):(e.open&&e.close(),this.triggerEl()?.focus(),this.triggerEl.set(null)))})}warnIfUnnamed(e){w()&&!this.warnedUnnamed&&(this.warnedUnnamed=!0,_(()=>{e.querySelector(`[id="${this.headerId}"]`)===null&&console.warn(`[AtlDrawer] opened with no accessible name — add an <atl-drawer-header> so screen readers announce its purpose.`,e)},{injector:this.injector}))}onCancel(e){e.preventDefault(),this.open.set(!1)}onBackdropClick(e){this.closeOnBackdrop()&&e.target===this.dialogRef()?.nativeElement&&this.open.set(!1)}static ctorParameters=()=>[];static propDecorators={open:[{type:f,args:[{isSignal:!0,alias:`open`,required:!1}]},{type:g,args:[`openChange`]}],position:[{type:f,args:[{isSignal:!0,alias:`position`,required:!1,transform:void 0}]}],size:[{type:f,args:[{isSignal:!0,alias:`size`,required:!1,transform:void 0}]}],closeOnBackdrop:[{type:f,args:[{isSignal:!0,alias:`closeOnBackdrop`,required:!1,transform:void 0}]}],dialogRef:[{type:d,args:[`dialogEl`,{isSignal:!0}]}]}},k=m([y({selector:`atl-drawer`,standalone:!0,imports:[x],changeDetection:u.OnPush,providers:[{provide:D,useFactory:e=>({headerId:e.headerId,close:()=>e.open.set(!1)}),deps:[k]}],template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{A as t,Dt as n,Et as r,Ft as i,Lt as a,M as o,Mt as s,O as c,P as l,R as u,S as d,W as f,et as p,hn as m,k as h,q as g,tt as _,xn as v,z as y}from"./angular-platform-ChS-QjTV.js";import{n as b,t as x}from"./_a11y-module-chunk-BzAA2_tI.js";import{n as S,t as C}from"./atl-icon-ChO59f9V.js";import{n as w,t as T}from"./a11y-dev-warn-BbRozqAf.js";var E;function init_atl_drawer(){return(init_atl_drawer=e((()=>{E=`:is(.atl-drawer,.atl-drawer-content,.atl-drawer-footer,.atl-drawer-header),:is(.atl-drawer,.atl-drawer-content,.atl-drawer-footer,.atl-drawer-header) *{box-sizing:border-box}.atl-drawer{font-family:var(--ui-font-family);line-height:var(--ui-line-height-normal);display:contents}.atl-drawer>dialog{all:unset;box-sizing:border-box;font-family:var(--ui-font-family);background:var(--ui-color-surface);box-shadow:var(--ui-shadow-xl,0 20px 60px #0000004d);color:var(--ui-color-text);transition:transform var(--ui-duration-slow) var(--ui-ease-out,ease-out), display var(--ui-duration-slow) allow-discrete, overlay var(--ui-duration-slow) allow-discrete;flex-direction:column;display:none;position:fixed;overflow:hidden}.atl-drawer>dialog[open]{display:flex;transform:translate(0)!important}.atl-drawer>dialog::backdrop{background:var(--ui-color-overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);transition:opacity var(--ui-duration-slow) var(--ui-ease-out,ease-out), display var(--ui-duration-slow) allow-discrete, overlay var(--ui-duration-slow) allow-discrete}@starting-style{.atl-drawer>dialog[open]::backdrop{opacity:0}}@media (prefers-color-scheme:dark){.atl-drawer>dialog::backdrop{background:var(--ui-color-overlay)}}[data-theme=dark] .atl-drawer>dialog::backdrop{background:var(--ui-color-overlay)}.atl-drawer>dialog>.panel{flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.atl-drawer.position-right>dialog{height:100dvh;inset:0 0 0 auto;transform:translate(100%)}@starting-style{.atl-drawer.position-right>dialog[open]{transform:translate(100%)}}.atl-drawer.position-left>dialog{height:100dvh;inset:0 auto 0 0;transform:translate(-100%)}@starting-style{.atl-drawer.position-left>dialog[open]{transform:translate(-100%)}}.atl-drawer.position-top>dialog{width:100vw;inset:0 0 auto;transform:translateY(-100%)}@starting-style{.atl-drawer.position-top>dialog[open]{transform:translateY(-100%)}}.atl-drawer.position-bottom>dialog{width:100vw;inset:auto 0 0;transform:translateY(100%)}@starting-style{.atl-drawer.position-bottom>dialog[open]{transform:translateY(100%)}}.atl-drawer.position-right.size-sm>dialog,.atl-drawer.position-left.size-sm>dialog{width:20rem}.atl-drawer.position-right.size-md>dialog,.atl-drawer.position-left.size-md>dialog{width:28rem}.atl-drawer.position-right.size-lg>dialog,.atl-drawer.position-left.size-lg>dialog{width:40rem}.atl-drawer.position-right.size-full>dialog,.atl-drawer.position-left.size-full>dialog{width:100vw}.atl-drawer.position-top.size-sm>dialog,.atl-drawer.position-bottom.size-sm>dialog{height:12rem}.atl-drawer.position-top.size-md>dialog,.atl-drawer.position-bottom.size-md>dialog{height:20rem}.atl-drawer.position-top.size-lg>dialog,.atl-drawer.position-bottom.size-lg>dialog{height:32rem}.atl-drawer.position-top.size-full>dialog,.atl-drawer.position-bottom.size-full>dialog{height:100dvh}.atl-drawer-header{padding:var(--ui-spacing-5) var(--ui-spacing-6);border-bottom:var(--ui-border-width) solid var(--ui-color-border);font-size:var(--ui-font-size-xl);font-weight:var(--ui-font-weight-semibold);letter-spacing:var(--ui-letter-spacing-tight);color:var(--ui-color-text);flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.atl-drawer-content{padding:var(--ui-spacing-6);color:var(--ui-color-text);flex:1;display:block;overflow-y:auto}.atl-drawer-footer{justify-content:flex-end;align-items:center;gap:var(--ui-spacing-3);padding:var(--ui-spacing-5) var(--ui-spacing-6);border-top:var(--ui-border-width) solid var(--ui-color-border);flex-shrink:0;display:flex}.atl-drawer-header>.close-btn{width:var(--ui-control-height-sm);height:var(--ui-control-height-sm);margin-left:var(--ui-spacing-3);border-radius:var(--ui-radius-sm);cursor:pointer;color:var(--ui-color-text-muted);transition:background-color var(--ui-transition-fast), color var(--ui-transition-fast);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}.atl-drawer-header>.close-btn:hover{background-color:var(--ui-color-surface-sunken);color:var(--ui-color-text)}.atl-drawer-header>.close-btn:focus-visible{box-shadow:var(--ui-focus-ring);outline:none}`})))()}var D;function init_atl_drawer_token(){return(init_atl_drawer_token=e((()=>{c(),D=new r(`ATL_DRAWER`)})))()}var O,k,A,j,M;function init_atl_drawer$1(){return(init_atl_drawer$1=e((()=>{v(),init_atl_drawer(),c(),b(),init_atl_drawer_token(),T(),S(),O=0,k=class AtlDrawer{open=t(!1);position=h(`right`);size=h(`md`);closeOnBackdrop=h(!0);headerId=`atl-drawer-header-${O}`;drawerId=`atl-drawer-${O++}`;dialogRef=o(`dialogEl`);triggerEl=a(null);injector=i(n);warnedUnnamed=!1;hostClasses=l(()=>`position-${this.position()} size-${this.size()}${this.open()?` is-open`:``}`);constructor(){s(()=>{let e=this.dialogRef()?.nativeElement;e&&(this.open()?(this.triggerEl.set(document.activeElement),e.showModal(),this.warnIfUnnamed(e)):(e.open&&e.close(),this.triggerEl()?.focus(),this.triggerEl.set(null)))})}warnIfUnnamed(e){w()&&!this.warnedUnnamed&&(this.warnedUnnamed=!0,_(()=>{e.querySelector(`[id="${this.headerId}"]`)===null&&console.warn(`[AtlDrawer] opened with no accessible name — add an <atl-drawer-header> so screen readers announce its purpose.`,e)},{injector:this.injector}))}onCancel(e){e.preventDefault(),this.open.set(!1)}onBackdropClick(e){this.closeOnBackdrop()&&e.target===this.dialogRef()?.nativeElement&&this.open.set(!1)}static ctorParameters=()=>[];static propDecorators={open:[{type:f,args:[{isSignal:!0,alias:`open`,required:!1}]},{type:g,args:[`openChange`]}],position:[{type:f,args:[{isSignal:!0,alias:`position`,required:!1,transform:void 0}]}],size:[{type:f,args:[{isSignal:!0,alias:`size`,required:!1,transform:void 0}]}],closeOnBackdrop:[{type:f,args:[{isSignal:!0,alias:`closeOnBackdrop`,required:!1,transform:void 0}]}],dialogRef:[{type:d,args:[`dialogEl`,{isSignal:!0}]}]}},k=m([y({selector:`atl-drawer`,standalone:!0,imports:[x],changeDetection:u.OnPush,providers:[{provide:D,useFactory:e=>({headerId:e.headerId,close:()=>e.open.set(!1)}),deps:[k]}],template:`
2
2
  <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->
3
3
  <dialog
4
4
  #dialogEl
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{Lt as t,O as n}from"./angular-platform-ChS-QjTV.js";import{n as r,t as i}from"./atl-button-BzQndwCt.js";import{n as a,t as o}from"./atl-input-CiyTZXDL.js";import{a as s,i as c,n as l,r as u,t as d}from"./atl-drawer-87lAgOgh.js";var f;function init_drawer_metadata(){return(init_drawer_metadata=e((()=>{f={specNames:[`AtlDrawerSpec`],purpose:`Edge-anchored panel that slides in from one side of the viewport. Hosts secondary navigation, filters, or detail views without taking the user away from the underlying page.`,whenToUse:[`Surfacing primary navigation on narrow viewports where a persistent sidebar does not fit.`,`Exposing filters, settings, or facets that the user toggles on and off while scanning a list.`,`Inspecting a record or row in a detail panel without losing the surrounding list context.`,`Presenting a longer task or form that benefits from screen-edge anchoring rather than a centred modal.`],antiPatterns:[{pattern:`Blocking the page for a short confirmation or single-decision prompt.`,useInstead:`AtlDialog — dialogs are centred, scoped, and the right primitive for one focused decision.`},{pattern:`Showing a transient notification that should not require dismissal.`,useInstead:`AtlToast — toasts auto-dismiss and do not anchor to a screen edge.`},{pattern:`Building a dropdown menu attached to a trigger button.`,useInstead:`AtlMenu — menus position relative to the trigger and use roving focus, not focus trapping.`}],relatedComponents:[`AtlDialogSpec`,`AtlMenuSpec`],variantMatrix:[{position:`right`,size:`sm`},{position:`left`,size:`md`},{position:`right`,size:`md`},{position:`right`,size:`lg`},{position:`top`,size:`md`},{position:`bottom`,size:`md`},{position:`right`,size:`full`,closeOnBackdrop:!0},{position:`left`,size:`md`,closeOnBackdrop:!1}],accessibility:{role:`dialog`,keyboard:[{key:`Escape`,action:`Close the drawer. Focus returns to the trigger.`},{key:`Tab / Shift+Tab`,action:`Cycle through focusable elements inside the drawer (focus is trapped).`}],notes:[`The drawer carries aria-modal="true".`,`Same accessibility model as AtlDialog — the visual slide-in is purely presentational.`,`Backdrop click closes the drawer only when closeOnBackdrop is true; Escape always closes.`]}}})))()}var p;function init_drawer_contract(){return(init_drawer_contract=e((()=>{p={component:`AtlDrawer`,figmaNodeId:`421:398`,codeOnly:[{name:`open`,reason:`Not modelled as a Boolean (ADR-0056): false renders nothing — the same native <dialog> mechanism as AtlDialog.`},{name:`closeOnBackdrop`,reason:`Not modelled as a Boolean (ADR-0056): behaviour only, as on AtlDialog.`}],probes:[{part:`panel`,selector:`dialog`,reason:"the component-name class sits on a host wrapper, not on the sized panel — the inner native <dialog>, `position: fixed` and therefore contributing zero size to that wrapper. AtlDialog avoids this by putting its own class directly on the <dialog> element in all three frameworks, so the same root-class heuristic happens to land on the right element there. Verified 2026-09-11, per framework: Angular's root ('.atl-drawer', the host custom element) still resolves — its class is exactly 'atl-drawer' — so this relative 'dialog' selector finds the real panel underneath it. React (the 'atl-drawer-host' class sits on an outer <div>, and the <dialog> itself carries no class at all) and Vue (likewise: 'atl-drawer-host' on an outer <div>, no class on the <dialog>; it used to sit on the <dialog> itself) have no element carrying the exact 'atl-drawer' token anywhere, so their root resolution fails before this selector is ever applied — [NO-PROBE], not fixed by this entry. A fix for them needs a component change (aligning the host class with AtlDialog's convention), which this contract-only entry deliberately does not make. Corrected 2026-10-01: commit b21a0e0b moved the Vue host classes from the <dialog> onto a wrapper <div>, so Vue now matches React; the [NO-PROBE] conclusion is unchanged. Corrected 2026-10-02: the [NO-PROBE] conclusion no longer holds. ADR-0148's root-class rule gives every framework a root named 'atl-drawer': React and Vue's wrapper <div> now carries 'atl-drawer' (it was 'atl-drawer-host') and Angular's host always did, and the shared stylesheet addresses `.atl-drawer > dialog` in all three. The root therefore resolves in React and Vue, this relative 'dialog' selector finds the real panel under it, and a closed drawer reports [NOT-RENDERED] in all three frameworks, as Angular always did; Vue's Default story opens the drawer and is measured (verified with check:paint --component AtlDrawer)."}]}})))()}function figmaNode(e){return{type:`figma`,url:`${_}?node-id=${e}`}}var m,h,g,_,v,y,b,x,S,C,w,T,E,D;function init_atl_drawer_stories(){return(init_atl_drawer_stories=e((()=>{n(),r(),a(),s(),init_drawer_metadata(),init_drawer_contract(),{userEvent:m,expect:h}=__STORYBOOK_MODULE_TEST__,g=[d,c,l,u,i],_=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,v={title:`Components/Overlay/AtlDrawer`,component:d,tags:[`autodocs`],argTypes:{position:{control:`select`,options:[`left`,`right`,`top`,`bottom`]},size:{control:`select`,options:[`sm`,`md`,`lg`,`full`]},closeOnBackdrop:{control:`boolean`}},args:{position:`right`,size:`md`,closeOnBackdrop:!0},parameters:{design:figmaNode(`421-398`),docs:{description:{component:f.purpose}},contract:p}},y={render:e=>({props:{...e,open:t(!1)},moduleMetadata:{imports:g},template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{Lt as t,O as n}from"./angular-platform-ChS-QjTV.js";import{n as r,t as i}from"./atl-button-BH1eMw_C.js";import{n as a,t as o}from"./atl-input-CiyTZXDL.js";import{a as s,i as c,n as l,r as u,t as d}from"./atl-drawer-01-1in7i.js";var f;function init_drawer_metadata(){return(init_drawer_metadata=e((()=>{f={specNames:[`AtlDrawerSpec`],purpose:`Edge-anchored panel that slides in from one side of the viewport. Hosts secondary navigation, filters, or detail views without taking the user away from the underlying page.`,whenToUse:[`Surfacing primary navigation on narrow viewports where a persistent sidebar does not fit.`,`Exposing filters, settings, or facets that the user toggles on and off while scanning a list.`,`Inspecting a record or row in a detail panel without losing the surrounding list context.`,`Presenting a longer task or form that benefits from screen-edge anchoring rather than a centred modal.`],antiPatterns:[{pattern:`Blocking the page for a short confirmation or single-decision prompt.`,useInstead:`AtlDialog — dialogs are centred, scoped, and the right primitive for one focused decision.`},{pattern:`Showing a transient notification that should not require dismissal.`,useInstead:`AtlToast — toasts auto-dismiss and do not anchor to a screen edge.`},{pattern:`Building a dropdown menu attached to a trigger button.`,useInstead:`AtlMenu — menus position relative to the trigger and use roving focus, not focus trapping.`}],relatedComponents:[`AtlDialogSpec`,`AtlMenuSpec`],variantMatrix:[{position:`right`,size:`sm`},{position:`left`,size:`md`},{position:`right`,size:`md`},{position:`right`,size:`lg`},{position:`top`,size:`md`},{position:`bottom`,size:`md`},{position:`right`,size:`full`,closeOnBackdrop:!0},{position:`left`,size:`md`,closeOnBackdrop:!1}],accessibility:{role:`dialog`,keyboard:[{key:`Escape`,action:`Close the drawer. Focus returns to the trigger.`},{key:`Tab / Shift+Tab`,action:`Cycle through focusable elements inside the drawer (focus is trapped).`}],notes:[`The drawer carries aria-modal="true".`,`Same accessibility model as AtlDialog — the visual slide-in is purely presentational.`,`Backdrop click closes the drawer only when closeOnBackdrop is true; Escape always closes.`]}}})))()}var p;function init_drawer_contract(){return(init_drawer_contract=e((()=>{p={component:`AtlDrawer`,figmaNodeId:`421:398`,codeOnly:[{name:`open`,reason:`Not modelled as a Boolean (ADR-0056): false renders nothing — the same native <dialog> mechanism as AtlDialog.`},{name:`closeOnBackdrop`,reason:`Not modelled as a Boolean (ADR-0056): behaviour only, as on AtlDialog.`}],probes:[{part:`panel`,selector:`dialog`,reason:"the component-name class sits on a host wrapper, not on the sized panel — the inner native <dialog>, `position: fixed` and therefore contributing zero size to that wrapper. AtlDialog avoids this by putting its own class directly on the <dialog> element in all three frameworks, so the same root-class heuristic happens to land on the right element there. Verified 2026-09-11, per framework: Angular's root ('.atl-drawer', the host custom element) still resolves — its class is exactly 'atl-drawer' — so this relative 'dialog' selector finds the real panel underneath it. React (the 'atl-drawer-host' class sits on an outer <div>, and the <dialog> itself carries no class at all) and Vue (likewise: 'atl-drawer-host' on an outer <div>, no class on the <dialog>; it used to sit on the <dialog> itself) have no element carrying the exact 'atl-drawer' token anywhere, so their root resolution fails before this selector is ever applied — [NO-PROBE], not fixed by this entry. A fix for them needs a component change (aligning the host class with AtlDialog's convention), which this contract-only entry deliberately does not make. Corrected 2026-10-01: commit b21a0e0b moved the Vue host classes from the <dialog> onto a wrapper <div>, so Vue now matches React; the [NO-PROBE] conclusion is unchanged. Corrected 2026-10-02: the [NO-PROBE] conclusion no longer holds. ADR-0148's root-class rule gives every framework a root named 'atl-drawer': React and Vue's wrapper <div> now carries 'atl-drawer' (it was 'atl-drawer-host') and Angular's host always did, and the shared stylesheet addresses `.atl-drawer > dialog` in all three. The root therefore resolves in React and Vue, this relative 'dialog' selector finds the real panel under it, and a closed drawer reports [NOT-RENDERED] in all three frameworks, as Angular always did; Vue's Default story opens the drawer and is measured (verified with check:paint --component AtlDrawer)."}]}})))()}function figmaNode(e){return{type:`figma`,url:`${_}?node-id=${e}`}}var m,h,g,_,v,y,b,x,S,C,w,T,E,D;function init_atl_drawer_stories(){return(init_atl_drawer_stories=e((()=>{n(),r(),a(),s(),init_drawer_metadata(),init_drawer_contract(),{userEvent:m,expect:h}=__STORYBOOK_MODULE_TEST__,g=[d,c,l,u,i],_=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,v={title:`Components/Overlay/AtlDrawer`,component:d,tags:[`autodocs`],argTypes:{position:{control:`select`,options:[`left`,`right`,`top`,`bottom`]},size:{control:`select`,options:[`sm`,`md`,`lg`,`full`]},closeOnBackdrop:{control:`boolean`}},args:{position:`right`,size:`md`,closeOnBackdrop:!0},parameters:{design:figmaNode(`421-398`),docs:{description:{component:f.purpose}},contract:p}},y={render:e=>({props:{...e,open:t(!1)},moduleMetadata:{imports:g},template:`
2
2
  <button atl-button variant="primary" (click)="open.set(true)">Open Drawer</button>
3
3
  <atl-drawer [(open)]="open" [position]="position" [size]="size" [closeOnBackdrop]="closeOnBackdrop">
4
4
  <atl-drawer-header>Settings</atl-drawer-header>
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./atl-icon-ChO59f9V.js";import{n as r,t as i}from"./dist-BfbfS1eq.js";var a;function init_icon_metadata(){return(init_icon_metadata=e((()=>{a={specNames:[`AtlIconSpec`],purpose:`Inline SVG glyph. Renders one icon from the library catalog at a fixed size, with an optional accessible label.`,whenToUse:[`Reinforcing the meaning of a button or menu item with a recognisable glyph.`,`Carrying status meaning inside a badge, alert, or toast (success, warning, danger, info).`,`Indicating direction or affordance (chevrons for disclosure, arrows for navigation, sort markers in headers).`,"Standing alone as a meaningful symbol — in which case `label` is required so assistive tech can announce it."],antiPatterns:[{pattern:`Rendering a user avatar or product image.`,useInstead:"AtlAvatar or a plain `<img>` — icons are abstract glyphs, not raster content."},{pattern:"Conveying status without an adjacent label and without setting `label`.",useInstead:"Pair the icon with visible text or pass `label` — decorative icons are hidden from screen readers."}],relatedComponents:[`AtlButtonSpec`,`AtlBadgeSpec`,`AtlAlertSpec`],variantMatrix:[{size:`sm`},{size:`md`},{size:`lg`}],accessibility:{role:`img`,keyboardBehavior:`Not focusable; no key handling.`}}})))()}var o,s,c,l,u,d,f,p,m,h,g;function init_atl_icon_stories(){return(init_atl_icon_stories=e((()=>{i(),t(),init_icon_metadata(),o=[`success`,`check`,`warning`,`danger`,`info`,`error`,`chevron-up`,`chevron-down`,`chevron-left`,`chevron-right`,`chevron-double-left`,`chevron-double-right`,`sort-asc`,`sort-desc`,`arrow-right`,`arrow-left`,`copy`,`paste`,`add`,`edit`,`delete`,`close`,`more`,`person`,`default-toast`],s={title:`Components/Display/AtlIcon`,component:n,tags:[`autodocs`],render:e=>({props:e,template:`<atl-icon ${r(e)} />`}),argTypes:{name:{control:`select`,options:[...o]},size:{control:`select`,options:[`sm`,`md`,`lg`]},label:{control:`text`}},args:{name:`success`,size:`md`},parameters:{docs:{description:{component:a.purpose}}}},c={},l={render:()=>({template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./atl-icon-ChO59f9V.js";import{n as r,t as i}from"./dist-Ds584yJP.js";var a;function init_icon_metadata(){return(init_icon_metadata=e((()=>{a={specNames:[`AtlIconSpec`],purpose:`Inline SVG glyph. Renders one icon from the library catalog at a fixed size, with an optional accessible label.`,whenToUse:[`Reinforcing the meaning of a button or menu item with a recognisable glyph.`,`Carrying status meaning inside a badge, alert, or toast (success, warning, danger, info).`,`Indicating direction or affordance (chevrons for disclosure, arrows for navigation, sort markers in headers).`,"Standing alone as a meaningful symbol — in which case `label` is required so assistive tech can announce it."],antiPatterns:[{pattern:`Rendering a user avatar or product image.`,useInstead:"AtlAvatar or a plain `<img>` — icons are abstract glyphs, not raster content."},{pattern:"Conveying status without an adjacent label and without setting `label`.",useInstead:"Pair the icon with visible text or pass `label` — decorative icons are hidden from screen readers."}],relatedComponents:[`AtlButtonSpec`,`AtlBadgeSpec`,`AtlAlertSpec`],variantMatrix:[{size:`sm`},{size:`md`},{size:`lg`}],accessibility:{role:`img`,keyboardBehavior:`Not focusable; no key handling.`}}})))()}var o,s,c,l,u,d,f,p,m,h,g;function init_atl_icon_stories(){return(init_atl_icon_stories=e((()=>{i(),t(),init_icon_metadata(),o=[`success`,`check`,`warning`,`danger`,`info`,`error`,`chevron-up`,`chevron-down`,`chevron-left`,`chevron-right`,`chevron-double-left`,`chevron-double-right`,`sort-asc`,`sort-desc`,`arrow-right`,`arrow-left`,`copy`,`paste`,`add`,`edit`,`delete`,`close`,`more`,`person`,`default-toast`],s={title:`Components/Display/AtlIcon`,component:n,tags:[`autodocs`],render:e=>({props:e,template:`<atl-icon ${r(e)} />`}),argTypes:{name:{control:`select`,options:[...o]},size:{control:`select`,options:[`sm`,`md`,`lg`]},label:{control:`text`}},args:{name:`success`,size:`md`},parameters:{docs:{description:{component:a.purpose}}}},c={},l={render:()=>({template:`
2
2
  <div style="display: flex; gap: 1rem; align-items: center;">
3
3
  <atl-icon name="success" size="sm" />
4
4
  <atl-icon name="success" size="md" />
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-BfbfS1eq.js";import{n as r,t as i}from"./atl-input-CiyTZXDL.js";var a;function init_input_metadata(){return(init_input_metadata=e((()=>{a={specNames:[`AtlInputSpec`],purpose:"Single-line text field. Renders an `<input>` bound to a form value with the standard validation and disabled states.",whenToUse:[`Collecting a short freeform string — name, title, search query.`,`Capturing a typed value (email, password, number, tel, url) where the browser keyboard hint matters.`,`Driving a typeahead or filter where the user types and the page reacts on each change.`],antiPatterns:[{pattern:`Accepting multi-line prose, descriptions, or comments.`,useInstead:`AtlTextarea — sized for wrapping text with an optional auto-resize.`},{pattern:`Picking one option from a known list.`,useInstead:`AtlSelect for short lists, AtlCombobox when the list is long enough to need search.`},{pattern:`Toggling a boolean.`,useInstead:`AtlCheckbox or AtlToggle — both encode the binary state for assistive tech.`}],relatedComponents:[`AtlTextareaSpec`,`AtlSelectSpec`,`AtlComboboxSpec`],variantMatrix:[{type:`text`,disabled:!1},{type:`email`,disabled:!1},{type:`password`,disabled:!1},{type:`number`,disabled:!1},{type:`tel`,disabled:!1},{type:`url`,disabled:!1},{type:`text`,disabled:!0},{type:`text`,invalid:!0},{type:`text`,readonly:!0}],accessibility:{role:`textbox`,keyboardBehavior:"Receives focus via Tab. Characters insert at the caret, Home/End and arrow keys move the caret, and form submission triggers on Enter when inside a form. `invalid` toggles `aria-invalid`, `required` toggles `aria-required`."}}})))()}var o;function init_input_contract(){return(init_input_contract=e((()=>{o={component:`AtlInput`,figmaNodeId:`129:33`,figmaOnly:[{name:`state=filled`,reason:`UNEXPLAINED — grep-verified 2026-09-10: no CSS rule or component logic implements an .is-filled/:placeholder-shown visual state; decide in tasks/todo.md`}],codeOnly:[{name:`type`,reason:`Master's own description: "(code-only props on AtlInputSpec: type, placeholder, value, onValueChange, name)".`}],axisMap:[{figmaAxis:`state`,codeProp:`invalid`,values:{invalid:!0},reason:`AtlFormFieldSpec.invalid is a real boolean prop (libs/spec/src/index.ts) — the master's 'invalid' state value maps to it directly.`}],probes:[{part:`control`,selector:`input`,reason:`the .atl-input root only sets display/font/line-height — background-color, border and border-radius are painted on the nested <input> ('.atl-input input' in React/Vue's atl-input.css; Angular's :host-scoped stylesheet needs no '.atl-input' prefix, so its own rule is the bare 'input' selector — the same relative selector resolves in all three once queried under each framework's own component root).`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h,g,_,v,y;function init_atl_input_stories(){return(init_atl_input_stories=e((()=>{n(),r(),init_input_metadata(),init_input_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Inputs/AtlInput`,component:i,tags:[`autodocs`],render:e=>({props:e,template:`<atl-input ${e.label?``:`aria-label="Input"`} ${t(e)} />`}),argTypes:{type:{control:`select`,options:[`text`,`email`,`password`,`number`,`tel`,`url`]},label:{control:`text`},placeholder:{control:`text`},disabled:{control:`boolean`},readonly:{control:`boolean`},invalid:{control:`boolean`},required:{control:`boolean`}},args:{type:`text`,placeholder:`Enter text...`,disabled:!1,readonly:!1,invalid:!1,required:!1},parameters:{design:figmaNode(`129-33`),docs:{description:{component:a.purpose}},contract:o}},l={parameters:{design:figmaNode(`129-23`)}},u={args:{label:`Email address`,type:`email`,placeholder:`you@example.com`}},d={args:{type:`email`,placeholder:`you@example.com`}},f={args:{type:`password`,placeholder:`Enter password`}},p={args:{disabled:!0,placeholder:`Cannot edit`}},m={args:{readonly:!0},render:e=>({props:e,template:`<atl-input ${e.label?``:`aria-label="Input"`} ${t(e)} value="Read-only value" />`})},h={args:{invalid:!0},render:e=>({props:{...e,errors:[{kind:`required`,message:`This field is required`},{kind:`email`,message:`Please enter a valid email address`}]},template:`<atl-input ${e.label?``:`aria-label="Input"`} ${t(e)} [errors]="errors" [touched]="true" />`}),parameters:{a11y:{config:{rules:[{id:`label-title-only`,enabled:!1}]}}}},g={render:()=>({template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-Ds584yJP.js";import{n as r,t as i}from"./atl-input-CiyTZXDL.js";var a;function init_input_metadata(){return(init_input_metadata=e((()=>{a={specNames:[`AtlInputSpec`],purpose:"Single-line text field. Renders an `<input>` bound to a form value with the standard validation and disabled states.",whenToUse:[`Collecting a short freeform string — name, title, search query.`,`Capturing a typed value (email, password, number, tel, url) where the browser keyboard hint matters.`,`Driving a typeahead or filter where the user types and the page reacts on each change.`],antiPatterns:[{pattern:`Accepting multi-line prose, descriptions, or comments.`,useInstead:`AtlTextarea — sized for wrapping text with an optional auto-resize.`},{pattern:`Picking one option from a known list.`,useInstead:`AtlSelect for short lists, AtlCombobox when the list is long enough to need search.`},{pattern:`Toggling a boolean.`,useInstead:`AtlCheckbox or AtlToggle — both encode the binary state for assistive tech.`}],relatedComponents:[`AtlTextareaSpec`,`AtlSelectSpec`,`AtlComboboxSpec`],variantMatrix:[{type:`text`,disabled:!1},{type:`email`,disabled:!1},{type:`password`,disabled:!1},{type:`number`,disabled:!1},{type:`tel`,disabled:!1},{type:`url`,disabled:!1},{type:`text`,disabled:!0},{type:`text`,invalid:!0},{type:`text`,readonly:!0}],accessibility:{role:`textbox`,keyboardBehavior:"Receives focus via Tab. Characters insert at the caret, Home/End and arrow keys move the caret, and form submission triggers on Enter when inside a form. `invalid` toggles `aria-invalid`, `required` toggles `aria-required`."}}})))()}var o;function init_input_contract(){return(init_input_contract=e((()=>{o={component:`AtlInput`,figmaNodeId:`129:33`,figmaOnly:[{name:`state=filled`,reason:`UNEXPLAINED — grep-verified 2026-09-10: no CSS rule or component logic implements an .is-filled/:placeholder-shown visual state; decide in tasks/todo.md`}],codeOnly:[{name:`type`,reason:`Master's own description: "(code-only props on AtlInputSpec: type, placeholder, value, onValueChange, name)".`}],axisMap:[{figmaAxis:`state`,codeProp:`invalid`,values:{invalid:!0},reason:`AtlFormFieldSpec.invalid is a real boolean prop (libs/spec/src/index.ts) — the master's 'invalid' state value maps to it directly.`}],probes:[{part:`control`,selector:`input`,reason:`the .atl-input root only sets display/font/line-height — background-color, border and border-radius are painted on the nested <input> ('.atl-input input' in React/Vue's atl-input.css; Angular's :host-scoped stylesheet needs no '.atl-input' prefix, so its own rule is the bare 'input' selector — the same relative selector resolves in all three once queried under each framework's own component root).`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h,g,_,v,y;function init_atl_input_stories(){return(init_atl_input_stories=e((()=>{n(),r(),init_input_metadata(),init_input_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Inputs/AtlInput`,component:i,tags:[`autodocs`],render:e=>({props:e,template:`<atl-input ${e.label?``:`aria-label="Input"`} ${t(e)} />`}),argTypes:{type:{control:`select`,options:[`text`,`email`,`password`,`number`,`tel`,`url`]},label:{control:`text`},placeholder:{control:`text`},disabled:{control:`boolean`},readonly:{control:`boolean`},invalid:{control:`boolean`},required:{control:`boolean`}},args:{type:`text`,placeholder:`Enter text...`,disabled:!1,readonly:!1,invalid:!1,required:!1},parameters:{design:figmaNode(`129-33`),docs:{description:{component:a.purpose}},contract:o}},l={parameters:{design:figmaNode(`129-23`)}},u={args:{label:`Email address`,type:`email`,placeholder:`you@example.com`}},d={args:{type:`email`,placeholder:`you@example.com`}},f={args:{type:`password`,placeholder:`Enter password`}},p={args:{disabled:!0,placeholder:`Cannot edit`}},m={args:{readonly:!0},render:e=>({props:e,template:`<atl-input ${e.label?``:`aria-label="Input"`} ${t(e)} value="Read-only value" />`})},h={args:{invalid:!0},render:e=>({props:{...e,errors:[{kind:`required`,message:`This field is required`},{kind:`email`,message:`Please enter a valid email address`}]},template:`<atl-input ${e.label?``:`aria-label="Input"`} ${t(e)} [errors]="errors" [touched]="true" />`}),parameters:{a11y:{config:{rules:[{id:`label-title-only`,enabled:!1}]}}}},g={render:()=>({template:`
2
2
  <div style="display: flex; flex-direction: column; gap: 1rem; max-width: 320px;">
3
3
  <atl-input aria-label="Text input" type="text" placeholder="Text input" />
4
4
  <atl-input aria-label="Email input" type="email" placeholder="Email input" />
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{$ as t,B as n,Bt as r,Dt as i,Et as a,Ft as o,Gt as s,Jt as c,Kt as ee,Lt as te,O as l,Ot as u,P as d,R as f,Tt as p,Ut as m,V as h,W as g,Wt as ne,Y as re,Z as _,_t as ie,at as ae,b as oe,ct as v,dt as y,et as se,gt as b,hn as x,ht as ce,it as S,k as C,lt as le,mt as w,ot as T,pt as E,qt as ue,st as D,vt as de,w as fe,xn as pe,z as O,zt as me}from"./angular-platform-ChS-QjTV.js";import{n as he,t as ge}from"./empty-C9s5w39U.js";import{c as k,l as A}from"./_style-loader-chunk-CjoWl1jk.js";import{g as _e,l as ve,m as ye,o as be,p as xe,r as Se,u as Ce}from"./_array-chunk-jnVVFUvi.js";import{a as we,c as j,g as Te,h as Ee,i as De,l as Oe,m as M,n as ke,o as N,p as P,r as F,s as Ae,u as je}from"./_focus-monitor-chunk-CHxlrCHn.js";import{n as Me,t as Ne}from"./debounceTime-CPR6CVzN.js";import{i as Pe,r as I}from"./_list-key-manager-chunk-K-6zSVll.js";import{n as Fe,t as L}from"./_id-generator-chunk-B9zuB3qN.js";import{n as Ie,t as R}from"./_unique-selection-dispatcher-chunk-Xqv9LIWR.js";import{n as Le,t as Re}from"./_focus-key-manager-chunk-Czlxh_qX.js";import{a as ze,d as Be,f as z,i as Ve,n as He,o as Ue,p as We,r as Ge,s as Ke,t as qe,u as Je}from"./_overlay-module-chunk-CwW5mIh4.js";function merge(){var e=[...arguments],t=_e(e),n=ye(e,1/0),r=e;return r.length?r.length===1?A(r[0]):M(n)(ve(r,t)):ge}function init_merge(){return(init_merge=e((()=>{P(),k(),he(),xe(),Ce()})))()}function mapTo(e){return r(function(){return e})}function init_mapTo(){return(init_mapTo=e((()=>{me()})))()}function switchMap(e,t){return c(function(n,r){var i=null,a=0,o=!1,checkComplete=function(){return o&&!i&&r.complete()};n.subscribe(s(r,function(n){i?.unsubscribe();var o=0,c=a++;A(e(n,c)).subscribe(i=s(r,function(e){return r.next(t?t(n,e,c,o++):e)},function(){i=null,checkComplete()}))},function(){o=!0,checkComplete()}))})}function init_switchMap(){return(init_switchMap=e((()=>{k(),ue(),ee()})))()}var B;function init_atl_menu(){return(init_atl_menu=e((()=>{B=`:is(.atl-menu,.atl-menu-item,.atl-menu-separator),:is(.atl-menu,.atl-menu-item,.atl-menu-separator) *{box-sizing:border-box}.atl-menu{min-width:12rem;padding:var(--ui-spacing-2) 0;background:var(--ui-color-surface-raised);border:var(--ui-border-width) solid var(--ui-color-border);border-radius:var(--ui-radius-lg);box-shadow:var(--ui-shadow-lg);font-family:var(--ui-font-family);line-height:var(--ui-line-height-tight);font-size:var(--ui-font-size-md);color:var(--ui-color-text);animation:atl-menu-enter var(--ui-duration-normal) var(--ui-ease-out) forwards;outline:none;display:block;overflow:hidden}.atl-menu.variant-compact{font-size:var(--ui-font-size-sm);padding:var(--ui-spacing-1) 0}.atl-menu.variant-compact .atl-menu-item{min-height:var(--ui-control-height-sm);line-height:var(--ui-line-height-tight);padding:calc(( var(--ui-control-height-sm) - var(--ui-line-height-tight) * var(--ui-font-size-sm) ) / 2) var(--ui-spacing-3)}@keyframes atl-menu-enter{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.atl-menu-item{align-items:center;gap:var(--ui-spacing-3);min-height:var(--ui-row-height-sm);padding-block:0;padding-inline:var(--ui-spacing-4);cursor:pointer;color:var(--ui-color-text);transition:background var(--ui-transition-fast);font:inherit;line-height:var(--ui-line-height-tight);text-align:start;background:0 0;border:none;outline:none;width:100%;display:flex}.atl-menu-item:hover,.atl-menu-item:focus-visible{background:var(--ui-color-surface-sunken)}.atl-menu-item.is-disabled,.atl-menu-item[aria-disabled=true]{opacity:var(--ui-opacity-disabled);cursor:not-allowed}.atl-menu-separator{height:1px;margin:var(--ui-spacing-2) 0;background:var(--ui-color-border);border:none;display:block}`})))()}function eventDispatchesNativeClick(e,t){if(!t.isTrusted)return!1;let n=e.nativeElement,r=t.keyCode;return n.nodeName===`BUTTON`&&!n.disabled?r===13||r===32:n.nodeName===`A`&&r===13}var V,H,U,W,Ye,PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER,G,K,Xe,Ze,Qe,q,J,Y,PointerFocusTracker,$e,et;function init_menu(){return(init_menu=e((()=>{l(),ne(),init_merge(),Ae(),Me(),je(),we(),Ee(),init_mapTo(),P(),init_switchMap(),Fe(),Ke(),Be(),We(),be(),Ie(),De(),Pe(),Le(),V=(()=>{class CdkMenuGroup{static ɵfac=function CdkMenuGroup_Factory(e){return new(e||CdkMenuGroup)};static ɵdir=y({type:CdkMenuGroup,selectors:[[``,`cdkMenuGroup`,``]],hostAttrs:[`role`,`group`,1,`cdk-menu-group`],exportAs:[`cdkMenuGroup`],features:[T([{provide:R,useClass:R}])]})}return CdkMenuGroup})(),H=new a(`cdk-menu`),U=(function(e){return e[e.nextItem=0]=`nextItem`,e[e.previousItem=1]=`previousItem`,e[e.currentItem=2]=`currentItem`,e})(U||{}),W=new a(`cdk-menu-stack`),Ye={provide:W,useFactory:()=>o(W,{optional:!0,skipSelf:!0})||new G},PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER=e=>({provide:W,useFactory:()=>o(W,{optional:!0,skipSelf:!0})||G.inline(e)}),G=(()=>{class MenuStack{id=o(L).getId(`cdk-menu-stack-`);_elements=[];_close=new m;_empty=new m;_hasFocus=new m;closed=this._close;hasFocus=this._hasFocus.pipe(j(!1),Ne(0),Oe());emptied=this._empty;_inlineMenuOrientation=null;static inline(e){let t=new MenuStack;return t._inlineMenuOrientation=e,t}push(e){this._elements.push(e)}close(e,t){let{focusNextOnEmpty:n,focusParentTrigger:r}={...t};if(this._elements.indexOf(e)>=0){let t;do t=this._elements.pop(),this._close.next({item:t,focusParentTrigger:r});while(t!==e);this.isEmpty()&&this._empty.next(n)}}closeSubMenuOf(e){let t=!1;if(this._elements.indexOf(e)>=0)for(t=this.peek()!==e;this.peek()!==e;)this._close.next({item:this._elements.pop()});return t}closeAll(e){let{focusNextOnEmpty:t,focusParentTrigger:n}={...e};if(!this.isEmpty()){for(;!this.isEmpty();){let e=this._elements.pop();e&&this._close.next({item:e,focusParentTrigger:n})}this._empty.next(t)}}isEmpty(){return!this._elements.length}length(){return this._elements.length}peek(){return this._elements[this._elements.length-1]}hasInlineMenu(){return this._inlineMenuOrientation!=null}inlineMenuOrientation(){return this._inlineMenuOrientation}setHasFocus(e){this._hasFocus.next(e)}static ɵfac=function MenuStack_Factory(e){return new(e||MenuStack)};static ɵprov=E({token:MenuStack,factory:MenuStack.ɵfac,autoProvided:!1})}return MenuStack})(),K=new a(`cdk-menu-trigger`),Xe=new a(`cdk-menu-scroll-strategy`,{providedIn:`root`,factory:()=>{let e=o(i);return()=>Ue(e)}}),Ze=(()=>{class MenuTracker{static _openMenuTrigger;update(e){MenuTracker._openMenuTrigger!==e&&(MenuTracker._openMenuTrigger?.close(),MenuTracker._openMenuTrigger=e)}static ɵfac=function MenuTracker_Factory(e){return new(e||MenuTracker)};static ɵprov=E({token:MenuTracker,factory:MenuTracker.ɵfac})}return MenuTracker})(),Qe=(()=>{class CdkMenuTriggerBase{injector=o(i);viewContainerRef=o(t);menuStack=o(W);menuScrollStrategy=o(Xe);menuPosition;opened=new p;closed=new p;menuTemplateRef=null;menuData;transformOriginSelector=null;overlayRef=null;destroyed=new m;stopOutsideClicksListener=merge(this.closed,this.destroyed);childMenu;_menuPortal;_childMenuInjector;ngOnDestroy(){this._destroyOverlay(),this.destroyed.next(),this.destroyed.complete()}isOpen(){return!!this.overlayRef?.hasAttached()}registerChildMenu(e){this.childMenu=e}getMenuContentPortal(){let e=this.menuTemplateRef!==this._menuPortal?.templateRef;return this.menuTemplateRef&&(!this._menuPortal||e)&&(this._menuPortal=new Je(this.menuTemplateRef,this.viewContainerRef,this.menuData,this._getChildMenuInjector())),this._menuPortal}isElementInsideMenuStack(e){for(let t=e;t;t=t?.parentElement??null)if(t.getAttribute(`data-cdk-menu-stack-id`)===this.menuStack.id)return!0;return!1}_destroyOverlay(){this.overlayRef&&=(this.overlayRef.dispose(),null)}_getChildMenuInjector(){return this._childMenuInjector=this._childMenuInjector||i.create({providers:[{provide:K,useValue:this},{provide:W,useValue:this.menuStack}],parent:this.injector}),this._childMenuInjector}static ɵfac=function CdkMenuTriggerBase_Factory(e){return new(e||CdkMenuTriggerBase)};static ɵdir=y({type:CdkMenuTriggerBase,hostVars:2,hostBindings:function CdkMenuTriggerBase_HostBindings(e,t){e&2&&D(`aria-controls`,t.childMenu?.id)(`data-cdk-menu-stack-id`,t.menuStack.id)}})}return CdkMenuTriggerBase})(),q=new a(`cdk-menu-aim`),J=(()=>{class CdkMenuTrigger extends Qe{_elementRef=o(h);_ngZone=o(u);_changeDetectorRef=o(oe);_inputModalityDetector=o(F);_directionality=o(z,{optional:!0});_renderer=o(_);_injector=o(i);_cleanupMouseenter;_menuTracker=o(Ze);_parentMenu=o(H,{optional:!0});_menuAim=o(q,{optional:!0});constructor(){super(),this._setRole(),this._registerCloseHandler(),this._subscribeToMenuStackClosed(),this._subscribeToMouseEnter(),this._subscribeToMenuStackHasFocus(),this._setType()}toggle(){this.isOpen()?this.close():this.open()}open(){this._parentMenu||this._menuTracker.update(this),!this.isOpen()&&this.menuTemplateRef!=null&&(this.opened.next(),this.overlayRef=this.overlayRef||ze(this._injector,this._getOverlayConfig()),this.overlayRef.attach(this.getMenuContentPortal()),this._changeDetectorRef.markForCheck(),this._subscribeToOutsideClicks())}close(){this.isOpen()&&(this.closed.next(),this.overlayRef.detach(),this._changeDetectorRef.markForCheck()),this._closeSiblingTriggers()}getMenu(){return this.childMenu}ngOnChanges(e){e.menuPosition&&this.overlayRef&&this.overlayRef.updatePositionStrategy(this._getOverlayPositionStrategy())}ngOnDestroy(){this._cleanupMouseenter(),super.ngOnDestroy()}_toggleOnKeydown(e){let t=this._parentMenu?.orientation===`vertical`;switch(e.keyCode){case 32:case 13:!I(e)&&!eventDispatchesNativeClick(this._elementRef,e)&&(this.toggle(),this.childMenu?.focusFirstItem(`keyboard`));break;case 39:I(e)||this._parentMenu&&t&&this._directionality?.value!==`rtl`&&(e.preventDefault(),this.open(),this.childMenu?.focusFirstItem(`keyboard`));break;case 37:I(e)||this._parentMenu&&t&&this._directionality?.value===`rtl`&&(e.preventDefault(),this.open(),this.childMenu?.focusFirstItem(`keyboard`));break;case 40:case 38:I(e)||t||(e.preventDefault(),this.open(),e.keyCode===40?this.childMenu?.focusFirstItem(`keyboard`):this.childMenu?.focusLastItem(`keyboard`))}}_handleClick(){this.toggle(),this.childMenu?.focusFirstItem(`mouse`)}_setHasFocus(e){this._parentMenu||this.menuStack.setHasFocus(e)}_subscribeToMouseEnter(){this._cleanupMouseenter=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,`mouseenter`,()=>{if(this._inputModalityDetector.mostRecentModality!==`touch`&&!this.menuStack.isEmpty()&&!this.isOpen()){let toggleMenus=()=>this._ngZone.run(()=>{this._closeSiblingTriggers(),this.open()});this._menuAim?this._menuAim.toggle(toggleMenus):toggleMenus()}}))}_closeSiblingTriggers(){this._parentMenu?!this.menuStack.closeSubMenuOf(this._parentMenu)&&this.menuStack.peek()!==this._parentMenu&&this.menuStack.closeAll():this.menuStack.closeAll()}_getOverlayConfig(){return new qe({positionStrategy:this._getOverlayPositionStrategy(),scrollStrategy:this.menuScrollStrategy(),direction:this._directionality||void 0})}_getOverlayPositionStrategy(){let e=Ve(this._injector,this._elementRef).withLockedPosition().withFlexibleDimensions(!1).withPositions(this._getOverlayPositions());return this.transformOriginSelector&&e.withTransformOriginOn(this.transformOriginSelector),e}_getOverlayPositions(){return this.menuPosition??(!this._parentMenu||this._parentMenu.orientation===`horizontal`?Ge:He)}_registerCloseHandler(){this._parentMenu||this.menuStack.closed.pipe(N(this.destroyed)).subscribe(({item:e})=>{e===this.childMenu&&this.close()})}_subscribeToOutsideClicks(){this.overlayRef&&this.overlayRef.outsidePointerEvents().pipe(N(this.stopOutsideClicksListener)).subscribe(e=>{let t=Se(e),n=this._elementRef.nativeElement;t!==n&&!n.contains(t)&&(this.isElementInsideMenuStack(t)?this._closeSiblingTriggers():this.menuStack.closeAll())})}_subscribeToMenuStackHasFocus(){this._parentMenu||this.menuStack.hasFocus.pipe(N(this.destroyed)).subscribe(e=>{e||this.menuStack.closeAll()})}_subscribeToMenuStackClosed(){this._parentMenu||this.menuStack.closed.subscribe(({focusParentTrigger:e})=>{e&&!this.menuStack.length()&&this._elementRef.nativeElement.focus()})}_setRole(){this._parentMenu||this._elementRef.nativeElement.setAttribute(`role`,`button`)}_setType(){let e=this._elementRef.nativeElement;e.nodeName===`BUTTON`&&!e.getAttribute(`type`)&&e.setAttribute(`type`,`button`)}static ɵfac=function CdkMenuTrigger_Factory(e){return new(e||CdkMenuTrigger)};static ɵdir=y({type:CdkMenuTrigger,selectors:[[``,`cdkMenuTriggerFor`,``]],hostAttrs:[1,`cdk-menu-trigger`],hostVars:2,hostBindings:function CdkMenuTrigger_HostBindings(e,t){e&1&&b(`focusin`,function CdkMenuTrigger_focusin_HostBindingHandler(){return t._setHasFocus(!0)})(`focusout`,function CdkMenuTrigger_focusout_HostBindingHandler(){return t._setHasFocus(!1)})(`keydown`,function CdkMenuTrigger_keydown_HostBindingHandler(e){return t._toggleOnKeydown(e)})(`click`,function CdkMenuTrigger_click_HostBindingHandler(){return t._handleClick()}),e&2&&D(`aria-haspopup`,t.menuTemplateRef?`menu`:null)(`aria-expanded`,t.menuTemplateRef==null?null:t.isOpen())},inputs:{menuTemplateRef:[0,`cdkMenuTriggerFor`,`menuTemplateRef`],menuPosition:[0,`cdkMenuPosition`,`menuPosition`],menuData:[0,`cdkMenuTriggerData`,`menuData`],transformOriginSelector:[0,`cdkMenuTriggerTransformOriginOn`,`transformOriginSelector`]},outputs:{opened:`cdkMenuOpened`,closed:`cdkMenuClosed`},exportAs:[`cdkMenuTriggerFor`],features:[T([{provide:K,useExisting:CdkMenuTrigger},Ye]),S,ae]})}return CdkMenuTrigger})(),Y=(()=>{class CdkMenuItem{_dir=o(z,{optional:!0});_elementRef=o(h);_ngZone=o(u);_inputModalityDetector=o(F);_renderer=o(_);_cleanupMouseEnter;_menuAim=o(q,{optional:!0});_menuStack=o(W);_parentMenu=o(H,{optional:!0});_menuTrigger=o(J,{optional:!0,self:!0});disabled=!1;typeaheadLabel=null;triggered=new p;get hasMenu(){return this._menuTrigger?.menuTemplateRef!=null}_tabindex=-1;closeOnSpacebarTrigger=!0;destroyed=new m;constructor(){this._setupMouseEnter(),this._setType(),this._isStandaloneItem()&&(this._tabindex=0)}ngOnDestroy(){this._cleanupMouseEnter?.(),this.destroyed.next(),this.destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}trigger(e){let{keepOpen:t}={...e};!this.disabled&&!this.hasMenu&&(this.triggered.next(),t||this._menuStack.closeAll({focusParentTrigger:!0}))}isMenuOpen(){return!!this._menuTrigger?.isOpen()}getMenu(){return this._menuTrigger?.getMenu()}getMenuTrigger(){return this._menuTrigger}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||``}_resetTabIndex(){this._isStandaloneItem()||(this._tabindex=-1)}_setTabIndex(e){this.disabled||(!e||!this._menuStack.isEmpty())&&(this._tabindex=0)}_handleClick(e){this.disabled?(e.preventDefault(),e.stopPropagation()):this.trigger()}_onKeydown(e){switch(e.keyCode){case 32:case 13:if(!I(e)&&!eventDispatchesNativeClick(this._elementRef,e)){let t=this._elementRef.nativeElement.nodeName;t!==`A`&&t!==`BUTTON`&&e.preventDefault(),this.trigger({keepOpen:e.keyCode===32&&!this.closeOnSpacebarTrigger})}break;case 39:I(e)||this._parentMenu&&this._isParentVertical()&&(this._dir?.value===`rtl`?this._backArrowPressed(e):this._forwardArrowPressed(e));break;case 37:I(e)||this._parentMenu&&this._isParentVertical()&&(this._dir?.value===`rtl`?this._forwardArrowPressed(e):this._backArrowPressed(e))}}_isStandaloneItem(){return!this._parentMenu}_backArrowPressed(e){let t=this._parentMenu;(this._menuStack.hasInlineMenu()||this._menuStack.length()>1)&&(e.preventDefault(),this._menuStack.close(t,{focusNextOnEmpty:this._menuStack.inlineMenuOrientation()===`horizontal`?U.previousItem:U.currentItem,focusParentTrigger:!0}))}_forwardArrowPressed(e){!this.hasMenu&&this._menuStack.inlineMenuOrientation()===`horizontal`&&(e.preventDefault(),this._menuStack.closeAll({focusNextOnEmpty:U.nextItem,focusParentTrigger:!0}))}_setupMouseEnter(){if(!this._isStandaloneItem()){let closeOpenSiblings=()=>this._ngZone.run(()=>this._menuStack.closeSubMenuOf(this._parentMenu));this._cleanupMouseEnter=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,`mouseenter`,()=>{this._inputModalityDetector.mostRecentModality!==`touch`&&!this._menuStack.isEmpty()&&!this.hasMenu&&(this._menuAim?this._menuAim.toggle(closeOpenSiblings):closeOpenSiblings())}))}}_isParentVertical(){return this._parentMenu?.orientation===`vertical`}_setType(){let e=this._elementRef.nativeElement;e.nodeName===`BUTTON`&&!e.getAttribute(`type`)&&e.setAttribute(`type`,`button`)}static ɵfac=function CdkMenuItem_Factory(e){return new(e||CdkMenuItem)};static ɵdir=y({type:CdkMenuItem,selectors:[[``,`cdkMenuItem`,``]],hostAttrs:[`role`,`menuitem`,1,`cdk-menu-item`],hostVars:4,hostBindings:function CdkMenuItem_HostBindings(e,t){e&1&&b(`blur`,function CdkMenuItem_blur_HostBindingHandler(){return t._resetTabIndex()})(`focus`,function CdkMenuItem_focus_HostBindingHandler(){return t._setTabIndex()})(`click`,function CdkMenuItem_click_HostBindingHandler(e){return t._handleClick(e)})(`keydown`,function CdkMenuItem_keydown_HostBindingHandler(e){return t._onKeydown(e)}),e&2&&(w(`tabIndex`,t._tabindex),D(`aria-disabled`,t.disabled||null),v(`cdk-menu-item-disabled`,t.disabled))},inputs:{disabled:[2,`cdkMenuItemDisabled`,`disabled`,fe],typeaheadLabel:[0,`cdkMenuitemTypeaheadLabel`,`typeaheadLabel`]},outputs:{triggered:`cdkMenuItemTriggered`},exportAs:[`cdkMenuItem`]})}return CdkMenuItem})(),PointerFocusTracker=class{_renderer;_items;_eventCleanups;_itemsSubscription;entered=new m;exited=new m;activeElement;previousElement;constructor(e,t){this._renderer=e,this._items=t,this._bindEvents(),this.entered.subscribe(e=>this.activeElement=e),this.exited.subscribe(()=>{this.previousElement=this.activeElement,this.activeElement=void 0})}destroy(){this._cleanupEvents(),this._itemsSubscription?.unsubscribe()}_bindEvents(){this._itemsSubscription=this._items.changes.pipe(j(this._items)).subscribe(()=>{this._cleanupEvents(),this._eventCleanups=[],this._items.forEach(e=>{let t=e._elementRef.nativeElement;this._eventCleanups.push(this._renderer.listen(t,`mouseenter`,()=>{this.entered.next(e)}),this._renderer.listen(t,`mouseout`,()=>{this.exited.next(e)}))})})}_cleanupEvents(){this._eventCleanups?.forEach(e=>e()),this._eventCleanups=void 0}},$e=(()=>{class CdkMenuBase extends V{_focusMonitor=o(ke);ngZone=o(u);_renderer=o(_);nativeElement=o(h).nativeElement;menuStack=o(W);menuAim=o(q,{optional:!0,self:!0});dir=o(z,{optional:!0});_allItems;id=o(L).getId(`cdk-menu-`);items=new re;orientation=`vertical`;isInline=!1;keyManager;destroyed=new m;triggerItem;pointerTracker;_menuStackHasFocus=te(!1);_tabIndexSignal=d(()=>{let e=this._menuStackHasFocus()?-1:0;return this.isInline?e:null});ngAfterContentInit(){this.isInline||this.menuStack.push(this),this._setItems(),this._setKeyManager(),this._handleFocus(),this._subscribeToMenuStackHasFocus(),this._subscribeToMenuOpen(),this._subscribeToMenuStackClosed(),this._setUpPointerTracker()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.nativeElement),this.keyManager?.destroy(),this.destroyed.next(),this.destroyed.complete(),this.pointerTracker?.destroy()}focusFirstItem(e=`program`){this.keyManager.setFocusOrigin(e),this.keyManager.setFirstItemActive()}focusLastItem(e=`program`){this.keyManager.setFocusOrigin(e),this.keyManager.setLastItemActive()}setActiveMenuItem(e){this.keyManager?.setActiveItem(e)}_getTabIndex(){return this._tabIndexSignal()}closeOpenMenu(e,t){let{focusParentTrigger:n}={...t},r=this.keyManager,i=this.triggerItem;e===i?.getMenuTrigger()?.getMenu()&&(i?.getMenuTrigger()?.close(),n&&(i?r.setActiveItem(i):r.setFirstItemActive()))}_setItems(){this._allItems.changes.pipe(j(this._allItems),N(this.destroyed)).subscribe(e=>{this.items.reset(e.filter(e=>e._parentMenu===this)),this.items.notifyOnChanges()})}_setKeyManager(){this.keyManager=new Re(this.items).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(()=>!1),this.orientation===`horizontal`?this.keyManager.withHorizontalOrientation(this.dir?.value||`ltr`):this.keyManager.withVerticalOrientation()}_subscribeToMenuOpen(){let e=merge(this.items.changes,this.destroyed);this.items.changes.pipe(j(this.items),Te(t=>t.filter(e=>e.hasMenu).map(t=>t.getMenuTrigger().opened.pipe(mapTo(t),N(e)))),M(),switchMap(e=>(this.triggerItem=e,e.getMenuTrigger().closed)),N(this.destroyed)).subscribe(()=>this.triggerItem=void 0)}_subscribeToMenuStackClosed(){this.menuStack.closed.pipe(N(this.destroyed)).subscribe(({item:e,focusParentTrigger:t})=>this.closeOpenMenu(e,{focusParentTrigger:t}))}_subscribeToMenuStackHasFocus(){this.isInline&&this.menuStack.hasFocus.pipe(N(this.destroyed)).subscribe(e=>{this._menuStackHasFocus.set(e)})}_setUpPointerTracker(){this.menuAim&&(this.ngZone.runOutsideAngular(()=>{this.pointerTracker=new PointerFocusTracker(this._renderer,this.items)}),this.menuAim.initialize(this,this.pointerTracker))}_handleFocus(){this._focusMonitor.monitor(this.nativeElement,!1).pipe(N(this.destroyed)).subscribe(e=>{e!==null&&e!==`mouse`&&this.focusFirstItem(e)})}static ɵfac=(()=>{let e;return function CdkMenuBase_Factory(t){return(e||=ce(CdkMenuBase))(t||CdkMenuBase)}})();static ɵdir=y({type:CdkMenuBase,contentQueries:function CdkMenuBase_ContentQueries(e,t,n){if(e&1&&le(n,Y,5),e&2){let e;de(e=ie())&&(t._allItems=e)}},hostAttrs:[`role`,`menu`],hostVars:4,hostBindings:function CdkMenuBase_HostBindings(e,t){e&1&&b(`focusin`,function CdkMenuBase_focusin_HostBindingHandler(){return t.menuStack.setHasFocus(!0)})(`focusout`,function CdkMenuBase_focusout_HostBindingHandler(){return t.menuStack.setHasFocus(!1)}),e&2&&(w(`tabIndex`,t._getTabIndex())(`id`,t.id),D(`aria-orientation`,t.orientation)(`data-cdk-menu-stack-id`,t.menuStack.id))},inputs:{id:`id`},features:[S]})}return CdkMenuBase})(),et=(()=>{class CdkMenu extends $e{_parentTrigger=o(K,{optional:!0});closed=new p;orientation=`vertical`;isInline=!this._parentTrigger;constructor(){super(),this.destroyed.subscribe(this.closed),this._parentTrigger?.registerChildMenu(this)}ngAfterContentInit(){super.ngAfterContentInit(),this._subscribeToMenuStackEmptied()}ngOnDestroy(){super.ngOnDestroy(),this.closed.complete()}_handleKeyEvent(e){let t=this.keyManager;switch(e.keyCode){case 37:case 39:I(e)||(e.preventDefault(),t.setFocusOrigin(`keyboard`),t.onKeydown(e));break;case 27:I(e)||(e.preventDefault(),this.menuStack.close(this,{focusNextOnEmpty:U.currentItem,focusParentTrigger:!0}));break;case 9:I(e,`altKey`,`metaKey`,`ctrlKey`)||this.menuStack.closeAll({focusParentTrigger:!0});break;default:t.onKeydown(e)}}_toggleMenuFocus(e){let t=this.keyManager;switch(e){case U.nextItem:t.setFocusOrigin(`keyboard`),t.setNextItemActive();break;case U.previousItem:t.setFocusOrigin(`keyboard`),t.setPreviousItemActive();break;case U.currentItem:t.activeItem&&(t.setFocusOrigin(`keyboard`),t.setActiveItem(t.activeItem))}}_subscribeToMenuStackEmptied(){this.menuStack.emptied.pipe(N(this.destroyed)).subscribe(e=>this._toggleMenuFocus(e))}static ɵfac=function CdkMenu_Factory(e){return new(e||CdkMenu)};static ɵdir=y({type:CdkMenu,selectors:[[``,`cdkMenu`,``]],hostAttrs:[`role`,`menu`,1,`cdk-menu`],hostVars:2,hostBindings:function CdkMenu_HostBindings(e,t){e&1&&b(`keydown`,function CdkMenu_keydown_HostBindingHandler(e){return t._handleKeyEvent(e)}),e&2&&v(`cdk-menu-inline`,t.isInline)},outputs:{closed:`closed`},exportAs:[`cdkMenu`],features:[T([{provide:V,useExisting:CdkMenu},{provide:H,useExisting:CdkMenu},PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER(`vertical`)]),S]})}return CdkMenu})()})))()}var X,Z,Q,$;function init_atl_menu$1(){return(init_atl_menu$1=e((()=>{pe(),init_atl_menu(),l(),init_menu(),X=class AtlMenuTrigger{},X=x([n({selector:`[atlMenuTriggerFor]`,standalone:!0,hostDirectives:[{directive:J,inputs:[`cdkMenuTriggerFor: atlMenuTriggerFor`]}]})],X),Z=class AtlMenu{variant=C(`default`);hostClasses=d(()=>`variant-${this.variant()}`);static propDecorators={variant:[{type:g,args:[{isSignal:!0,alias:`variant`,required:!1,transform:void 0}]}]}},Z=x([O({selector:`atl-menu`,standalone:!0,changeDetection:f.OnPush,encapsulation:se.None,hostDirectives:[et],template:`<ng-content />`,host:{class:`atl-menu`,"[class]":`hostClasses()`},styles:[B]})],Z),Q=class AtlMenuItem{disabled=C(!1);menuTrigger=o(J,{optional:!0,self:!0});hasSubmenu=d(()=>!!this.menuTrigger);static propDecorators={disabled:[{type:g,args:[{isSignal:!0,alias:`disabled`,required:!1,transform:void 0}]}]}},Q=x([O({selector:`atl-menu-item`,standalone:!0,changeDetection:f.OnPush,hostDirectives:[{directive:Y,inputs:[`cdkMenuItemDisabled: disabled`],outputs:[`cdkMenuItemTriggered: triggered`]}],template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{$ as t,B as n,Bt as r,Dt as i,Et as a,Ft as o,Gt as s,Jt as c,Kt as ee,Lt as te,O as l,Ot as u,P as d,R as f,Tt as p,Ut as m,V as h,W as g,Wt as ne,Y as re,Z as _,_t as ie,at as ae,b as oe,ct as v,dt as y,et as se,gt as b,hn as x,ht as ce,it as S,k as C,lt as le,mt as w,ot as T,pt as E,qt as ue,st as D,vt as de,w as fe,xn as pe,z as O,zt as me}from"./angular-platform-ChS-QjTV.js";import{n as he,t as ge}from"./empty-C9s5w39U.js";import{c as k,l as A}from"./_style-loader-chunk-CjoWl1jk.js";import{g as _e,l as ve,m as ye,o as be,p as xe,r as Se,u as Ce}from"./_array-chunk-jnVVFUvi.js";import{a as we,c as j,g as Te,h as Ee,i as De,l as Oe,m as M,n as ke,o as N,p as P,r as F,s as Ae,u as je}from"./_focus-monitor-chunk-CAivpOV8.js";import{n as Me,t as Ne}from"./debounceTime-CPR6CVzN.js";import{i as Pe,r as I}from"./_list-key-manager-chunk-K-6zSVll.js";import{n as Fe,t as L}from"./_id-generator-chunk-B9zuB3qN.js";import{n as Ie,t as R}from"./_unique-selection-dispatcher-chunk-Xqv9LIWR.js";import{n as Le,t as Re}from"./_focus-key-manager-chunk-Czlxh_qX.js";import{a as ze,d as Be,f as z,i as Ve,n as He,o as Ue,p as We,r as Ge,s as Ke,t as qe,u as Je}from"./_overlay-module-chunk-CwW5mIh4.js";function merge(){var e=[...arguments],t=_e(e),n=ye(e,1/0),r=e;return r.length?r.length===1?A(r[0]):M(n)(ve(r,t)):ge}function init_merge(){return(init_merge=e((()=>{P(),k(),he(),xe(),Ce()})))()}function mapTo(e){return r(function(){return e})}function init_mapTo(){return(init_mapTo=e((()=>{me()})))()}function switchMap(e,t){return c(function(n,r){var i=null,a=0,o=!1,checkComplete=function(){return o&&!i&&r.complete()};n.subscribe(s(r,function(n){i?.unsubscribe();var o=0,c=a++;A(e(n,c)).subscribe(i=s(r,function(e){return r.next(t?t(n,e,c,o++):e)},function(){i=null,checkComplete()}))},function(){o=!0,checkComplete()}))})}function init_switchMap(){return(init_switchMap=e((()=>{k(),ue(),ee()})))()}var B;function init_atl_menu(){return(init_atl_menu=e((()=>{B=`:is(.atl-menu,.atl-menu-item,.atl-menu-separator),:is(.atl-menu,.atl-menu-item,.atl-menu-separator) *{box-sizing:border-box}.atl-menu{min-width:12rem;padding:var(--ui-spacing-2) 0;background:var(--ui-color-surface-raised);border:var(--ui-border-width) solid var(--ui-color-border);border-radius:var(--ui-radius-lg);box-shadow:var(--ui-shadow-lg);font-family:var(--ui-font-family);line-height:var(--ui-line-height-tight);font-size:var(--ui-font-size-md);color:var(--ui-color-text);animation:atl-menu-enter var(--ui-duration-normal) var(--ui-ease-out) forwards;outline:none;display:block;overflow:hidden}.atl-menu.variant-compact{font-size:var(--ui-font-size-sm);padding:var(--ui-spacing-1) 0}.atl-menu.variant-compact .atl-menu-item{min-height:var(--ui-control-height-sm);line-height:var(--ui-line-height-tight);padding:calc(( var(--ui-control-height-sm) - var(--ui-line-height-tight) * var(--ui-font-size-sm) ) / 2) var(--ui-spacing-3)}@keyframes atl-menu-enter{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.atl-menu-item{align-items:center;gap:var(--ui-spacing-3);min-height:var(--ui-row-height-sm);padding-block:0;padding-inline:var(--ui-spacing-4);cursor:pointer;color:var(--ui-color-text);transition:background var(--ui-transition-fast);font:inherit;line-height:var(--ui-line-height-tight);text-align:start;background:0 0;border:none;outline:none;width:100%;display:flex}.atl-menu-item:hover,.atl-menu-item:focus-visible{background:var(--ui-color-surface-sunken)}.atl-menu-item.is-disabled,.atl-menu-item[aria-disabled=true]{opacity:var(--ui-opacity-disabled);cursor:not-allowed}.atl-menu-separator{height:1px;margin:var(--ui-spacing-2) 0;background:var(--ui-color-border);border:none;display:block}`})))()}function eventDispatchesNativeClick(e,t){if(!t.isTrusted)return!1;let n=e.nativeElement,r=t.keyCode;return n.nodeName===`BUTTON`&&!n.disabled?r===13||r===32:n.nodeName===`A`&&r===13}var V,H,U,W,Ye,PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER,G,K,Xe,Ze,Qe,q,J,Y,PointerFocusTracker,$e,et;function init_menu(){return(init_menu=e((()=>{l(),ne(),init_merge(),Ae(),Me(),je(),we(),Ee(),init_mapTo(),P(),init_switchMap(),Fe(),Ke(),Be(),We(),be(),Ie(),De(),Pe(),Le(),V=(()=>{class CdkMenuGroup{static ɵfac=function CdkMenuGroup_Factory(e){return new(e||CdkMenuGroup)};static ɵdir=y({type:CdkMenuGroup,selectors:[[``,`cdkMenuGroup`,``]],hostAttrs:[`role`,`group`,1,`cdk-menu-group`],exportAs:[`cdkMenuGroup`],features:[T([{provide:R,useClass:R}])]})}return CdkMenuGroup})(),H=new a(`cdk-menu`),U=(function(e){return e[e.nextItem=0]=`nextItem`,e[e.previousItem=1]=`previousItem`,e[e.currentItem=2]=`currentItem`,e})(U||{}),W=new a(`cdk-menu-stack`),Ye={provide:W,useFactory:()=>o(W,{optional:!0,skipSelf:!0})||new G},PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER=e=>({provide:W,useFactory:()=>o(W,{optional:!0,skipSelf:!0})||G.inline(e)}),G=(()=>{class MenuStack{id=o(L).getId(`cdk-menu-stack-`);_elements=[];_close=new m;_empty=new m;_hasFocus=new m;closed=this._close;hasFocus=this._hasFocus.pipe(j(!1),Ne(0),Oe());emptied=this._empty;_inlineMenuOrientation=null;static inline(e){let t=new MenuStack;return t._inlineMenuOrientation=e,t}push(e){this._elements.push(e)}close(e,t){let{focusNextOnEmpty:n,focusParentTrigger:r}={...t};if(this._elements.indexOf(e)>=0){let t;do t=this._elements.pop(),this._close.next({item:t,focusParentTrigger:r});while(t!==e);this.isEmpty()&&this._empty.next(n)}}closeSubMenuOf(e){let t=!1;if(this._elements.indexOf(e)>=0)for(t=this.peek()!==e;this.peek()!==e;)this._close.next({item:this._elements.pop()});return t}closeAll(e){let{focusNextOnEmpty:t,focusParentTrigger:n}={...e};if(!this.isEmpty()){for(;!this.isEmpty();){let e=this._elements.pop();e&&this._close.next({item:e,focusParentTrigger:n})}this._empty.next(t)}}isEmpty(){return!this._elements.length}length(){return this._elements.length}peek(){return this._elements[this._elements.length-1]}hasInlineMenu(){return this._inlineMenuOrientation!=null}inlineMenuOrientation(){return this._inlineMenuOrientation}setHasFocus(e){this._hasFocus.next(e)}static ɵfac=function MenuStack_Factory(e){return new(e||MenuStack)};static ɵprov=E({token:MenuStack,factory:MenuStack.ɵfac,autoProvided:!1})}return MenuStack})(),K=new a(`cdk-menu-trigger`),Xe=new a(`cdk-menu-scroll-strategy`,{providedIn:`root`,factory:()=>{let e=o(i);return()=>Ue(e)}}),Ze=(()=>{class MenuTracker{static _openMenuTrigger;update(e){MenuTracker._openMenuTrigger!==e&&(MenuTracker._openMenuTrigger?.close(),MenuTracker._openMenuTrigger=e)}static ɵfac=function MenuTracker_Factory(e){return new(e||MenuTracker)};static ɵprov=E({token:MenuTracker,factory:MenuTracker.ɵfac})}return MenuTracker})(),Qe=(()=>{class CdkMenuTriggerBase{injector=o(i);viewContainerRef=o(t);menuStack=o(W);menuScrollStrategy=o(Xe);menuPosition;opened=new p;closed=new p;menuTemplateRef=null;menuData;transformOriginSelector=null;overlayRef=null;destroyed=new m;stopOutsideClicksListener=merge(this.closed,this.destroyed);childMenu;_menuPortal;_childMenuInjector;ngOnDestroy(){this._destroyOverlay(),this.destroyed.next(),this.destroyed.complete()}isOpen(){return!!this.overlayRef?.hasAttached()}registerChildMenu(e){this.childMenu=e}getMenuContentPortal(){let e=this.menuTemplateRef!==this._menuPortal?.templateRef;return this.menuTemplateRef&&(!this._menuPortal||e)&&(this._menuPortal=new Je(this.menuTemplateRef,this.viewContainerRef,this.menuData,this._getChildMenuInjector())),this._menuPortal}isElementInsideMenuStack(e){for(let t=e;t;t=t?.parentElement??null)if(t.getAttribute(`data-cdk-menu-stack-id`)===this.menuStack.id)return!0;return!1}_destroyOverlay(){this.overlayRef&&=(this.overlayRef.dispose(),null)}_getChildMenuInjector(){return this._childMenuInjector=this._childMenuInjector||i.create({providers:[{provide:K,useValue:this},{provide:W,useValue:this.menuStack}],parent:this.injector}),this._childMenuInjector}static ɵfac=function CdkMenuTriggerBase_Factory(e){return new(e||CdkMenuTriggerBase)};static ɵdir=y({type:CdkMenuTriggerBase,hostVars:2,hostBindings:function CdkMenuTriggerBase_HostBindings(e,t){e&2&&D(`aria-controls`,t.childMenu?.id)(`data-cdk-menu-stack-id`,t.menuStack.id)}})}return CdkMenuTriggerBase})(),q=new a(`cdk-menu-aim`),J=(()=>{class CdkMenuTrigger extends Qe{_elementRef=o(h);_ngZone=o(u);_changeDetectorRef=o(oe);_inputModalityDetector=o(F);_directionality=o(z,{optional:!0});_renderer=o(_);_injector=o(i);_cleanupMouseenter;_menuTracker=o(Ze);_parentMenu=o(H,{optional:!0});_menuAim=o(q,{optional:!0});constructor(){super(),this._setRole(),this._registerCloseHandler(),this._subscribeToMenuStackClosed(),this._subscribeToMouseEnter(),this._subscribeToMenuStackHasFocus(),this._setType()}toggle(){this.isOpen()?this.close():this.open()}open(){this._parentMenu||this._menuTracker.update(this),!this.isOpen()&&this.menuTemplateRef!=null&&(this.opened.next(),this.overlayRef=this.overlayRef||ze(this._injector,this._getOverlayConfig()),this.overlayRef.attach(this.getMenuContentPortal()),this._changeDetectorRef.markForCheck(),this._subscribeToOutsideClicks())}close(){this.isOpen()&&(this.closed.next(),this.overlayRef.detach(),this._changeDetectorRef.markForCheck()),this._closeSiblingTriggers()}getMenu(){return this.childMenu}ngOnChanges(e){e.menuPosition&&this.overlayRef&&this.overlayRef.updatePositionStrategy(this._getOverlayPositionStrategy())}ngOnDestroy(){this._cleanupMouseenter(),super.ngOnDestroy()}_toggleOnKeydown(e){let t=this._parentMenu?.orientation===`vertical`;switch(e.keyCode){case 32:case 13:!I(e)&&!eventDispatchesNativeClick(this._elementRef,e)&&(this.toggle(),this.childMenu?.focusFirstItem(`keyboard`));break;case 39:I(e)||this._parentMenu&&t&&this._directionality?.value!==`rtl`&&(e.preventDefault(),this.open(),this.childMenu?.focusFirstItem(`keyboard`));break;case 37:I(e)||this._parentMenu&&t&&this._directionality?.value===`rtl`&&(e.preventDefault(),this.open(),this.childMenu?.focusFirstItem(`keyboard`));break;case 40:case 38:I(e)||t||(e.preventDefault(),this.open(),e.keyCode===40?this.childMenu?.focusFirstItem(`keyboard`):this.childMenu?.focusLastItem(`keyboard`))}}_handleClick(){this.toggle(),this.childMenu?.focusFirstItem(`mouse`)}_setHasFocus(e){this._parentMenu||this.menuStack.setHasFocus(e)}_subscribeToMouseEnter(){this._cleanupMouseenter=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,`mouseenter`,()=>{if(this._inputModalityDetector.mostRecentModality!==`touch`&&!this.menuStack.isEmpty()&&!this.isOpen()){let toggleMenus=()=>this._ngZone.run(()=>{this._closeSiblingTriggers(),this.open()});this._menuAim?this._menuAim.toggle(toggleMenus):toggleMenus()}}))}_closeSiblingTriggers(){this._parentMenu?!this.menuStack.closeSubMenuOf(this._parentMenu)&&this.menuStack.peek()!==this._parentMenu&&this.menuStack.closeAll():this.menuStack.closeAll()}_getOverlayConfig(){return new qe({positionStrategy:this._getOverlayPositionStrategy(),scrollStrategy:this.menuScrollStrategy(),direction:this._directionality||void 0})}_getOverlayPositionStrategy(){let e=Ve(this._injector,this._elementRef).withLockedPosition().withFlexibleDimensions(!1).withPositions(this._getOverlayPositions());return this.transformOriginSelector&&e.withTransformOriginOn(this.transformOriginSelector),e}_getOverlayPositions(){return this.menuPosition??(!this._parentMenu||this._parentMenu.orientation===`horizontal`?Ge:He)}_registerCloseHandler(){this._parentMenu||this.menuStack.closed.pipe(N(this.destroyed)).subscribe(({item:e})=>{e===this.childMenu&&this.close()})}_subscribeToOutsideClicks(){this.overlayRef&&this.overlayRef.outsidePointerEvents().pipe(N(this.stopOutsideClicksListener)).subscribe(e=>{let t=Se(e),n=this._elementRef.nativeElement;t!==n&&!n.contains(t)&&(this.isElementInsideMenuStack(t)?this._closeSiblingTriggers():this.menuStack.closeAll())})}_subscribeToMenuStackHasFocus(){this._parentMenu||this.menuStack.hasFocus.pipe(N(this.destroyed)).subscribe(e=>{e||this.menuStack.closeAll()})}_subscribeToMenuStackClosed(){this._parentMenu||this.menuStack.closed.subscribe(({focusParentTrigger:e})=>{e&&!this.menuStack.length()&&this._elementRef.nativeElement.focus()})}_setRole(){this._parentMenu||this._elementRef.nativeElement.setAttribute(`role`,`button`)}_setType(){let e=this._elementRef.nativeElement;e.nodeName===`BUTTON`&&!e.getAttribute(`type`)&&e.setAttribute(`type`,`button`)}static ɵfac=function CdkMenuTrigger_Factory(e){return new(e||CdkMenuTrigger)};static ɵdir=y({type:CdkMenuTrigger,selectors:[[``,`cdkMenuTriggerFor`,``]],hostAttrs:[1,`cdk-menu-trigger`],hostVars:2,hostBindings:function CdkMenuTrigger_HostBindings(e,t){e&1&&b(`focusin`,function CdkMenuTrigger_focusin_HostBindingHandler(){return t._setHasFocus(!0)})(`focusout`,function CdkMenuTrigger_focusout_HostBindingHandler(){return t._setHasFocus(!1)})(`keydown`,function CdkMenuTrigger_keydown_HostBindingHandler(e){return t._toggleOnKeydown(e)})(`click`,function CdkMenuTrigger_click_HostBindingHandler(){return t._handleClick()}),e&2&&D(`aria-haspopup`,t.menuTemplateRef?`menu`:null)(`aria-expanded`,t.menuTemplateRef==null?null:t.isOpen())},inputs:{menuTemplateRef:[0,`cdkMenuTriggerFor`,`menuTemplateRef`],menuPosition:[0,`cdkMenuPosition`,`menuPosition`],menuData:[0,`cdkMenuTriggerData`,`menuData`],transformOriginSelector:[0,`cdkMenuTriggerTransformOriginOn`,`transformOriginSelector`]},outputs:{opened:`cdkMenuOpened`,closed:`cdkMenuClosed`},exportAs:[`cdkMenuTriggerFor`],features:[T([{provide:K,useExisting:CdkMenuTrigger},Ye]),S,ae]})}return CdkMenuTrigger})(),Y=(()=>{class CdkMenuItem{_dir=o(z,{optional:!0});_elementRef=o(h);_ngZone=o(u);_inputModalityDetector=o(F);_renderer=o(_);_cleanupMouseEnter;_menuAim=o(q,{optional:!0});_menuStack=o(W);_parentMenu=o(H,{optional:!0});_menuTrigger=o(J,{optional:!0,self:!0});disabled=!1;typeaheadLabel=null;triggered=new p;get hasMenu(){return this._menuTrigger?.menuTemplateRef!=null}_tabindex=-1;closeOnSpacebarTrigger=!0;destroyed=new m;constructor(){this._setupMouseEnter(),this._setType(),this._isStandaloneItem()&&(this._tabindex=0)}ngOnDestroy(){this._cleanupMouseEnter?.(),this.destroyed.next(),this.destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}trigger(e){let{keepOpen:t}={...e};!this.disabled&&!this.hasMenu&&(this.triggered.next(),t||this._menuStack.closeAll({focusParentTrigger:!0}))}isMenuOpen(){return!!this._menuTrigger?.isOpen()}getMenu(){return this._menuTrigger?.getMenu()}getMenuTrigger(){return this._menuTrigger}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||``}_resetTabIndex(){this._isStandaloneItem()||(this._tabindex=-1)}_setTabIndex(e){this.disabled||(!e||!this._menuStack.isEmpty())&&(this._tabindex=0)}_handleClick(e){this.disabled?(e.preventDefault(),e.stopPropagation()):this.trigger()}_onKeydown(e){switch(e.keyCode){case 32:case 13:if(!I(e)&&!eventDispatchesNativeClick(this._elementRef,e)){let t=this._elementRef.nativeElement.nodeName;t!==`A`&&t!==`BUTTON`&&e.preventDefault(),this.trigger({keepOpen:e.keyCode===32&&!this.closeOnSpacebarTrigger})}break;case 39:I(e)||this._parentMenu&&this._isParentVertical()&&(this._dir?.value===`rtl`?this._backArrowPressed(e):this._forwardArrowPressed(e));break;case 37:I(e)||this._parentMenu&&this._isParentVertical()&&(this._dir?.value===`rtl`?this._forwardArrowPressed(e):this._backArrowPressed(e))}}_isStandaloneItem(){return!this._parentMenu}_backArrowPressed(e){let t=this._parentMenu;(this._menuStack.hasInlineMenu()||this._menuStack.length()>1)&&(e.preventDefault(),this._menuStack.close(t,{focusNextOnEmpty:this._menuStack.inlineMenuOrientation()===`horizontal`?U.previousItem:U.currentItem,focusParentTrigger:!0}))}_forwardArrowPressed(e){!this.hasMenu&&this._menuStack.inlineMenuOrientation()===`horizontal`&&(e.preventDefault(),this._menuStack.closeAll({focusNextOnEmpty:U.nextItem,focusParentTrigger:!0}))}_setupMouseEnter(){if(!this._isStandaloneItem()){let closeOpenSiblings=()=>this._ngZone.run(()=>this._menuStack.closeSubMenuOf(this._parentMenu));this._cleanupMouseEnter=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,`mouseenter`,()=>{this._inputModalityDetector.mostRecentModality!==`touch`&&!this._menuStack.isEmpty()&&!this.hasMenu&&(this._menuAim?this._menuAim.toggle(closeOpenSiblings):closeOpenSiblings())}))}}_isParentVertical(){return this._parentMenu?.orientation===`vertical`}_setType(){let e=this._elementRef.nativeElement;e.nodeName===`BUTTON`&&!e.getAttribute(`type`)&&e.setAttribute(`type`,`button`)}static ɵfac=function CdkMenuItem_Factory(e){return new(e||CdkMenuItem)};static ɵdir=y({type:CdkMenuItem,selectors:[[``,`cdkMenuItem`,``]],hostAttrs:[`role`,`menuitem`,1,`cdk-menu-item`],hostVars:4,hostBindings:function CdkMenuItem_HostBindings(e,t){e&1&&b(`blur`,function CdkMenuItem_blur_HostBindingHandler(){return t._resetTabIndex()})(`focus`,function CdkMenuItem_focus_HostBindingHandler(){return t._setTabIndex()})(`click`,function CdkMenuItem_click_HostBindingHandler(e){return t._handleClick(e)})(`keydown`,function CdkMenuItem_keydown_HostBindingHandler(e){return t._onKeydown(e)}),e&2&&(w(`tabIndex`,t._tabindex),D(`aria-disabled`,t.disabled||null),v(`cdk-menu-item-disabled`,t.disabled))},inputs:{disabled:[2,`cdkMenuItemDisabled`,`disabled`,fe],typeaheadLabel:[0,`cdkMenuitemTypeaheadLabel`,`typeaheadLabel`]},outputs:{triggered:`cdkMenuItemTriggered`},exportAs:[`cdkMenuItem`]})}return CdkMenuItem})(),PointerFocusTracker=class{_renderer;_items;_eventCleanups;_itemsSubscription;entered=new m;exited=new m;activeElement;previousElement;constructor(e,t){this._renderer=e,this._items=t,this._bindEvents(),this.entered.subscribe(e=>this.activeElement=e),this.exited.subscribe(()=>{this.previousElement=this.activeElement,this.activeElement=void 0})}destroy(){this._cleanupEvents(),this._itemsSubscription?.unsubscribe()}_bindEvents(){this._itemsSubscription=this._items.changes.pipe(j(this._items)).subscribe(()=>{this._cleanupEvents(),this._eventCleanups=[],this._items.forEach(e=>{let t=e._elementRef.nativeElement;this._eventCleanups.push(this._renderer.listen(t,`mouseenter`,()=>{this.entered.next(e)}),this._renderer.listen(t,`mouseout`,()=>{this.exited.next(e)}))})})}_cleanupEvents(){this._eventCleanups?.forEach(e=>e()),this._eventCleanups=void 0}},$e=(()=>{class CdkMenuBase extends V{_focusMonitor=o(ke);ngZone=o(u);_renderer=o(_);nativeElement=o(h).nativeElement;menuStack=o(W);menuAim=o(q,{optional:!0,self:!0});dir=o(z,{optional:!0});_allItems;id=o(L).getId(`cdk-menu-`);items=new re;orientation=`vertical`;isInline=!1;keyManager;destroyed=new m;triggerItem;pointerTracker;_menuStackHasFocus=te(!1);_tabIndexSignal=d(()=>{let e=this._menuStackHasFocus()?-1:0;return this.isInline?e:null});ngAfterContentInit(){this.isInline||this.menuStack.push(this),this._setItems(),this._setKeyManager(),this._handleFocus(),this._subscribeToMenuStackHasFocus(),this._subscribeToMenuOpen(),this._subscribeToMenuStackClosed(),this._setUpPointerTracker()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.nativeElement),this.keyManager?.destroy(),this.destroyed.next(),this.destroyed.complete(),this.pointerTracker?.destroy()}focusFirstItem(e=`program`){this.keyManager.setFocusOrigin(e),this.keyManager.setFirstItemActive()}focusLastItem(e=`program`){this.keyManager.setFocusOrigin(e),this.keyManager.setLastItemActive()}setActiveMenuItem(e){this.keyManager?.setActiveItem(e)}_getTabIndex(){return this._tabIndexSignal()}closeOpenMenu(e,t){let{focusParentTrigger:n}={...t},r=this.keyManager,i=this.triggerItem;e===i?.getMenuTrigger()?.getMenu()&&(i?.getMenuTrigger()?.close(),n&&(i?r.setActiveItem(i):r.setFirstItemActive()))}_setItems(){this._allItems.changes.pipe(j(this._allItems),N(this.destroyed)).subscribe(e=>{this.items.reset(e.filter(e=>e._parentMenu===this)),this.items.notifyOnChanges()})}_setKeyManager(){this.keyManager=new Re(this.items).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(()=>!1),this.orientation===`horizontal`?this.keyManager.withHorizontalOrientation(this.dir?.value||`ltr`):this.keyManager.withVerticalOrientation()}_subscribeToMenuOpen(){let e=merge(this.items.changes,this.destroyed);this.items.changes.pipe(j(this.items),Te(t=>t.filter(e=>e.hasMenu).map(t=>t.getMenuTrigger().opened.pipe(mapTo(t),N(e)))),M(),switchMap(e=>(this.triggerItem=e,e.getMenuTrigger().closed)),N(this.destroyed)).subscribe(()=>this.triggerItem=void 0)}_subscribeToMenuStackClosed(){this.menuStack.closed.pipe(N(this.destroyed)).subscribe(({item:e,focusParentTrigger:t})=>this.closeOpenMenu(e,{focusParentTrigger:t}))}_subscribeToMenuStackHasFocus(){this.isInline&&this.menuStack.hasFocus.pipe(N(this.destroyed)).subscribe(e=>{this._menuStackHasFocus.set(e)})}_setUpPointerTracker(){this.menuAim&&(this.ngZone.runOutsideAngular(()=>{this.pointerTracker=new PointerFocusTracker(this._renderer,this.items)}),this.menuAim.initialize(this,this.pointerTracker))}_handleFocus(){this._focusMonitor.monitor(this.nativeElement,!1).pipe(N(this.destroyed)).subscribe(e=>{e!==null&&e!==`mouse`&&this.focusFirstItem(e)})}static ɵfac=(()=>{let e;return function CdkMenuBase_Factory(t){return(e||=ce(CdkMenuBase))(t||CdkMenuBase)}})();static ɵdir=y({type:CdkMenuBase,contentQueries:function CdkMenuBase_ContentQueries(e,t,n){if(e&1&&le(n,Y,5),e&2){let e;de(e=ie())&&(t._allItems=e)}},hostAttrs:[`role`,`menu`],hostVars:4,hostBindings:function CdkMenuBase_HostBindings(e,t){e&1&&b(`focusin`,function CdkMenuBase_focusin_HostBindingHandler(){return t.menuStack.setHasFocus(!0)})(`focusout`,function CdkMenuBase_focusout_HostBindingHandler(){return t.menuStack.setHasFocus(!1)}),e&2&&(w(`tabIndex`,t._getTabIndex())(`id`,t.id),D(`aria-orientation`,t.orientation)(`data-cdk-menu-stack-id`,t.menuStack.id))},inputs:{id:`id`},features:[S]})}return CdkMenuBase})(),et=(()=>{class CdkMenu extends $e{_parentTrigger=o(K,{optional:!0});closed=new p;orientation=`vertical`;isInline=!this._parentTrigger;constructor(){super(),this.destroyed.subscribe(this.closed),this._parentTrigger?.registerChildMenu(this)}ngAfterContentInit(){super.ngAfterContentInit(),this._subscribeToMenuStackEmptied()}ngOnDestroy(){super.ngOnDestroy(),this.closed.complete()}_handleKeyEvent(e){let t=this.keyManager;switch(e.keyCode){case 37:case 39:I(e)||(e.preventDefault(),t.setFocusOrigin(`keyboard`),t.onKeydown(e));break;case 27:I(e)||(e.preventDefault(),this.menuStack.close(this,{focusNextOnEmpty:U.currentItem,focusParentTrigger:!0}));break;case 9:I(e,`altKey`,`metaKey`,`ctrlKey`)||this.menuStack.closeAll({focusParentTrigger:!0});break;default:t.onKeydown(e)}}_toggleMenuFocus(e){let t=this.keyManager;switch(e){case U.nextItem:t.setFocusOrigin(`keyboard`),t.setNextItemActive();break;case U.previousItem:t.setFocusOrigin(`keyboard`),t.setPreviousItemActive();break;case U.currentItem:t.activeItem&&(t.setFocusOrigin(`keyboard`),t.setActiveItem(t.activeItem))}}_subscribeToMenuStackEmptied(){this.menuStack.emptied.pipe(N(this.destroyed)).subscribe(e=>this._toggleMenuFocus(e))}static ɵfac=function CdkMenu_Factory(e){return new(e||CdkMenu)};static ɵdir=y({type:CdkMenu,selectors:[[``,`cdkMenu`,``]],hostAttrs:[`role`,`menu`,1,`cdk-menu`],hostVars:2,hostBindings:function CdkMenu_HostBindings(e,t){e&1&&b(`keydown`,function CdkMenu_keydown_HostBindingHandler(e){return t._handleKeyEvent(e)}),e&2&&v(`cdk-menu-inline`,t.isInline)},outputs:{closed:`closed`},exportAs:[`cdkMenu`],features:[T([{provide:V,useExisting:CdkMenu},{provide:H,useExisting:CdkMenu},PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER(`vertical`)]),S]})}return CdkMenu})()})))()}var X,Z,Q,$;function init_atl_menu$1(){return(init_atl_menu$1=e((()=>{pe(),init_atl_menu(),l(),init_menu(),X=class AtlMenuTrigger{},X=x([n({selector:`[atlMenuTriggerFor]`,standalone:!0,hostDirectives:[{directive:J,inputs:[`cdkMenuTriggerFor: atlMenuTriggerFor`]}]})],X),Z=class AtlMenu{variant=C(`default`);hostClasses=d(()=>`variant-${this.variant()}`);static propDecorators={variant:[{type:g,args:[{isSignal:!0,alias:`variant`,required:!1,transform:void 0}]}]}},Z=x([O({selector:`atl-menu`,standalone:!0,changeDetection:f.OnPush,encapsulation:se.None,hostDirectives:[et],template:`<ng-content />`,host:{class:`atl-menu`,"[class]":`hostClasses()`},styles:[B]})],Z),Q=class AtlMenuItem{disabled=C(!1);menuTrigger=o(J,{optional:!0,self:!0});hasSubmenu=d(()=>!!this.menuTrigger);static propDecorators={disabled:[{type:g,args:[{isSignal:!0,alias:`disabled`,required:!1,transform:void 0}]}]}},Q=x([O({selector:`atl-menu-item`,standalone:!0,changeDetection:f.OnPush,hostDirectives:[{directive:Y,inputs:[`cdkMenuItemDisabled: disabled`],outputs:[`cdkMenuItemTriggered: triggered`]}],template:`
2
2
  <ng-content />
3
3
  @if (hasSubmenu()) {
4
4
  <span class="atl-menu-item-chevron" aria-hidden="true">&#x203A;</span>
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{a as t,i as n,n as r,r as i,t as a}from"./atl-menu-CyZvGLYl.js";import{n as o,t as s}from"./atl-button-BzQndwCt.js";var c;function init_menu_metadata(){return(init_menu_metadata=e((()=>{c={specNames:[`AtlMenuSpec`,`AtlMenuItemSpec`],purpose:`Floating list of actions attached to a trigger. Renders a temporary surface of menu items the user opens, navigates with the keyboard, and dismisses after picking one.`,whenToUse:[`Grouping secondary or contextual row actions (edit, duplicate, archive, delete) behind a single trigger.`,`Offering an account or user menu attached to an avatar in the header.`,`Surfacing an overflow set of toolbar actions that do not fit inline.`,`Showing a right-click or long-press context menu scoped to a specific element.`],antiPatterns:[{pattern:`Letting the user pick a value to fill a form field.`,useInstead:`AtlSelect or AtlCombobox — those carry the right form-control semantics and value state.`},{pattern:`Hosting site-level navigation links.`,useInstead:"A real nav with `<a>` links — menus are for actions, navigation is for changing location."},{pattern:`Anchoring a persistent side panel of filters or controls.`,useInstead:`AtlDrawer — drawers stay open and anchor to a screen edge; menus are transient.`}],relatedComponents:[`AtlButtonSpec`,`AtlSelectSpec`,`AtlDrawerSpec`],variantMatrix:[{variant:`default`},{variant:`compact`}],accessibility:{role:`menu`,relatedRoles:[`menuitem`],keyboard:[{key:`Enter / Space / Arrow Down`,action:`Open the menu from the trigger and focus the first item.`},{key:`Arrow Up / Down`,action:`Move between items, wrapping at the ends.`},{key:`Arrow Up (on the trigger)`,action:`Open the menu and focus the last item.`},{key:`Type a character`,action:`Type-ahead: focus the next item whose label starts with the typed text.`},{key:`Home / End`,action:`Jump to the first / last item.`},{key:`Enter / Space`,action:`Activate the focused item and close the menu (a disabled item does nothing).`},{key:`Escape`,action:`Close and return focus to the trigger.`},{key:`Tab`,action:`Close the menu and move focus on.`},{key:`Arrow Right`,action:`Open a submenu (Angular only).`},{key:`Arrow Left`,action:`Close the current submenu and return to parent (Angular only).`}],notes:[`Submenus are Angular only: React and Vue have no nesting API, so Arrow Right and Arrow Left do nothing there.`,`Disabled items carry aria-disabled="true" (not the native disabled attribute) in all three frameworks. They stay in the arrow-key, Home, End and type-ahead rotation and are announced as disabled, but Enter, Space and click do not activate them and the menu stays open.`,`Focus is roving: the focused item is the only tab stop (tabindex 0, others -1). Opening, by key or by click, moves focus to an item.`,`The trigger carries aria-haspopup="menu" and aria-expanded.`,`Separators render as role="separator" and are skipped by keyboard navigation.`]}}})))()}var l;function init_menu_contract(){return(init_menu_contract=e((()=>{l={component:`AtlMenu`,figmaNodeId:`55:130`}})))()}function figmaNode(e){return{type:`figma`,url:`${u}?node-id=${e}`}}var u,d,f,p,m,h,g,_;function init_atl_menu_stories(){return(init_atl_menu_stories=e((()=>{t(),o(),init_menu_metadata(),init_menu_contract(),u=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,d={title:`Components/Navigation/AtlMenu`,component:a,tags:[`autodocs`],argTypes:{variant:{control:`select`,options:[`default`,`compact`]}},args:{variant:`default`},parameters:{design:figmaNode(`55-130`),docs:{description:{component:c.purpose}},contract:l}},f={render:e=>({props:e,moduleMetadata:{imports:[r,i,n,s]},template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{a as t,i as n,n as r,r as i,t as a}from"./atl-menu-BeSx1efJ.js";import{n as o,t as s}from"./atl-button-BH1eMw_C.js";var c;function init_menu_metadata(){return(init_menu_metadata=e((()=>{c={specNames:[`AtlMenuSpec`,`AtlMenuItemSpec`],purpose:`Floating list of actions attached to a trigger. Renders a temporary surface of menu items the user opens, navigates with the keyboard, and dismisses after picking one.`,whenToUse:[`Grouping secondary or contextual row actions (edit, duplicate, archive, delete) behind a single trigger.`,`Offering an account or user menu attached to an avatar in the header.`,`Surfacing an overflow set of toolbar actions that do not fit inline.`,`Showing a right-click or long-press context menu scoped to a specific element.`],antiPatterns:[{pattern:`Letting the user pick a value to fill a form field.`,useInstead:`AtlSelect or AtlCombobox — those carry the right form-control semantics and value state.`},{pattern:`Hosting site-level navigation links.`,useInstead:"A real nav with `<a>` links — menus are for actions, navigation is for changing location."},{pattern:`Anchoring a persistent side panel of filters or controls.`,useInstead:`AtlDrawer — drawers stay open and anchor to a screen edge; menus are transient.`}],relatedComponents:[`AtlButtonSpec`,`AtlSelectSpec`,`AtlDrawerSpec`],variantMatrix:[{variant:`default`},{variant:`compact`}],accessibility:{role:`menu`,relatedRoles:[`menuitem`],keyboard:[{key:`Enter / Space / Arrow Down`,action:`Open the menu from the trigger and focus the first item.`},{key:`Arrow Up / Down`,action:`Move between items, wrapping at the ends.`},{key:`Arrow Up (on the trigger)`,action:`Open the menu and focus the last item.`},{key:`Type a character`,action:`Type-ahead: focus the next item whose label starts with the typed text.`},{key:`Home / End`,action:`Jump to the first / last item.`},{key:`Enter / Space`,action:`Activate the focused item and close the menu (a disabled item does nothing).`},{key:`Escape`,action:`Close and return focus to the trigger.`},{key:`Tab`,action:`Close the menu and move focus on.`},{key:`Arrow Right`,action:`Open a submenu (Angular only).`},{key:`Arrow Left`,action:`Close the current submenu and return to parent (Angular only).`}],notes:[`Submenus are Angular only: React and Vue have no nesting API, so Arrow Right and Arrow Left do nothing there.`,`Disabled items carry aria-disabled="true" (not the native disabled attribute) in all three frameworks. They stay in the arrow-key, Home, End and type-ahead rotation and are announced as disabled, but Enter, Space and click do not activate them and the menu stays open.`,`Focus is roving: the focused item is the only tab stop (tabindex 0, others -1). Opening, by key or by click, moves focus to an item.`,`The trigger carries aria-haspopup="menu" and aria-expanded.`,`Separators render as role="separator" and are skipped by keyboard navigation.`]}}})))()}var l;function init_menu_contract(){return(init_menu_contract=e((()=>{l={component:`AtlMenu`,figmaNodeId:`55:130`}})))()}function figmaNode(e){return{type:`figma`,url:`${u}?node-id=${e}`}}var u,d,f,p,m,h,g,_;function init_atl_menu_stories(){return(init_atl_menu_stories=e((()=>{t(),o(),init_menu_metadata(),init_menu_contract(),u=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,d={title:`Components/Navigation/AtlMenu`,component:a,tags:[`autodocs`],argTypes:{variant:{control:`select`,options:[`default`,`compact`]}},args:{variant:`default`},parameters:{design:figmaNode(`55-130`),docs:{description:{component:c.purpose}},contract:l}},f={render:e=>({props:e,moduleMetadata:{imports:[r,i,n,s]},template:`
2
2
  <button atl-button [atlMenuTriggerFor]="menu">Actions</button>
3
3
  <ng-template #menu>
4
4
  <atl-menu variant="${e.variant}">
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-BfbfS1eq.js";import{n as r,t as i}from"./atl-progress-CEvOvPrm.js";var a;function init_progress_metadata(){return(init_progress_metadata=e((()=>{a={specNames:[`AtlProgressSpec`],purpose:`Determinate or indeterminate progress bar. Renders the share of work completed for a task whose duration is measurable, or an indeterminate animation when it is not.`,whenToUse:[`Reporting upload, download, or file-processing progress where bytes or items completed are known.`,`Showing form completion across multiple steps as a percentage.`,"Indicating an in-flight background operation with `indeterminate` when the total is unknown.",`Visualising quota or capacity usage against a maximum.`],antiPatterns:[{pattern:`Reserving the layout slot for content that has not loaded yet.`,useInstead:`AtlSkeleton — sized to the missing content, not a generic bar.`},{pattern:`Acknowledging a momentary action (saved, copied).`,useInstead:`AtlToast — transient confirmation belongs in a live region, not a progress bar.`}],relatedComponents:[`AtlSkeletonSpec`,`AtlToastOptions`],variantMatrix:[{variant:`default`,size:`sm`},{variant:`default`,size:`md`},{variant:`default`,size:`lg`},{variant:`success`,size:`md`},{variant:`warning`,size:`md`},{variant:`danger`,size:`md`},{variant:`default`,size:`md`,indeterminate:!0}],accessibility:{role:`progressbar`,keyboardBehavior:`Not focusable; no key handling.`}}})))()}var o;function init_progress_contract(){return(init_progress_contract=e((()=>{o={component:`AtlProgress`,figmaNodeId:`420:153`}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h;function init_atl_progress_stories(){return(init_atl_progress_stories=e((()=>{n(),r(),init_progress_metadata(),init_progress_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Display/AtlProgress`,component:i,tags:[`autodocs`],argTypes:{variant:{control:`select`,options:[`default`,`success`,`warning`,`danger`]},size:{control:`select`,options:[`sm`,`md`,`lg`]},value:{control:`number`},max:{control:`number`},indeterminate:{control:`boolean`}},args:{value:60,max:100,variant:`default`,size:`md`,indeterminate:!1},parameters:{design:figmaNode(`420-153`),docs:{description:{component:a.purpose}},a11y:{config:{rules:[{id:`aria-progressbar-name`,enabled:!1}]}},contract:o}},l={render:e=>({props:e,imports:[i],template:`<atl-progress ${t(e)} />`}),parameters:{design:figmaNode(`420-87`)}},u={render:()=>({imports:[i],template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-Ds584yJP.js";import{n as r,t as i}from"./atl-progress-CEvOvPrm.js";var a;function init_progress_metadata(){return(init_progress_metadata=e((()=>{a={specNames:[`AtlProgressSpec`],purpose:`Determinate or indeterminate progress bar. Renders the share of work completed for a task whose duration is measurable, or an indeterminate animation when it is not.`,whenToUse:[`Reporting upload, download, or file-processing progress where bytes or items completed are known.`,`Showing form completion across multiple steps as a percentage.`,"Indicating an in-flight background operation with `indeterminate` when the total is unknown.",`Visualising quota or capacity usage against a maximum.`],antiPatterns:[{pattern:`Reserving the layout slot for content that has not loaded yet.`,useInstead:`AtlSkeleton — sized to the missing content, not a generic bar.`},{pattern:`Acknowledging a momentary action (saved, copied).`,useInstead:`AtlToast — transient confirmation belongs in a live region, not a progress bar.`}],relatedComponents:[`AtlSkeletonSpec`,`AtlToastOptions`],variantMatrix:[{variant:`default`,size:`sm`},{variant:`default`,size:`md`},{variant:`default`,size:`lg`},{variant:`success`,size:`md`},{variant:`warning`,size:`md`},{variant:`danger`,size:`md`},{variant:`default`,size:`md`,indeterminate:!0}],accessibility:{role:`progressbar`,keyboardBehavior:`Not focusable; no key handling.`}}})))()}var o;function init_progress_contract(){return(init_progress_contract=e((()=>{o={component:`AtlProgress`,figmaNodeId:`420:153`}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h;function init_atl_progress_stories(){return(init_atl_progress_stories=e((()=>{n(),r(),init_progress_metadata(),init_progress_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Display/AtlProgress`,component:i,tags:[`autodocs`],argTypes:{variant:{control:`select`,options:[`default`,`success`,`warning`,`danger`]},size:{control:`select`,options:[`sm`,`md`,`lg`]},value:{control:`number`},max:{control:`number`},indeterminate:{control:`boolean`}},args:{value:60,max:100,variant:`default`,size:`md`,indeterminate:!1},parameters:{design:figmaNode(`420-153`),docs:{description:{component:a.purpose}},a11y:{config:{rules:[{id:`aria-progressbar-name`,enabled:!1}]}},contract:o}},l={render:e=>({props:e,imports:[i],template:`<atl-progress ${t(e)} />`}),parameters:{design:figmaNode(`420-87`)}},u={render:()=>({imports:[i],template:`
2
2
  <div style="display: flex; flex-direction: column; gap: 1.5rem; max-width: 32rem;">
3
3
  <div>
4
4
  <p style="margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--ui-color-text-muted);">Small (4px)</p>
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-BfbfS1eq.js";import{i as r,n as i,r as a,t as o}from"./atl-radio-C-KjJXL1.js";import{n as s,t as c}from"./radio.metadata-D1zBdRKO.js";var l;function init_radio_group_contract(){return(init_radio_group_contract=e((()=>{l={component:`AtlRadioGroup`,figmaNodeId:`55:137`,figmaOnly:[{name:`selection`,reason:`Group-level selection state "for the gallery" per the master's own API-surface notes — an illustrative sample, not a settable prop. AtlRadioGroupSpec has no selected/checked field of its own, and unlike every property that does map, this axis's line carries no "-> maps to" arrow.`}],codeOnly:[{name:`orientation`,reason:`React declares 'orientation' ('horizontal'|'vertical') in its own AtlRadioGroupProps with no entry in AtlRadioGroupSpec and no matching Figma axis — the same open spec decision tools/scripts/lib/allowlists.js's DEAD_SELECTOR_EXEMPT and PROP_SURFACE_EXEMPT already record (promote to AtlRadioGroupSpec, or drop it from React). Unresolved: see tasks/todo.md.`},{name:`required`,reason:`Not modelled (ADR-0058): required renders nothing in any Atelier form field. It is passed to the DOM as the HTML attribute and stops there: no class, no CSS rule, no mark.`},{name:`readonly`,reason:`Not modelled (ADR-0058): the component emits an is-readonly class and no stylesheet in any of the three frameworks has a rule for it, so nothing renders differently — the same dead-class shape ADR-0045 removed from AtlSelect.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${d}?node-id=${e}`}}var u,d,f,p,m,h,g,_,v,y,b,x;function init_atl_radio_group_stories(){return(init_atl_radio_group_stories=e((()=>{n(),i(),r(),c(),init_radio_group_contract(),{expect:u}=__STORYBOOK_MODULE_TEST__,d=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,f={title:`Components/Inputs/AtlRadioGroup`,component:a,tags:[`autodocs`],decorators:[],render:e=>({props:{...e,value:`md`},moduleMetadata:{imports:[o]},template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-Ds584yJP.js";import{i as r,n as i,r as a,t as o}from"./atl-radio-C-KjJXL1.js";import{n as s,t as c}from"./radio.metadata-D1zBdRKO.js";var l;function init_radio_group_contract(){return(init_radio_group_contract=e((()=>{l={component:`AtlRadioGroup`,figmaNodeId:`55:137`,figmaOnly:[{name:`selection`,reason:`Group-level selection state "for the gallery" per the master's own API-surface notes — an illustrative sample, not a settable prop. AtlRadioGroupSpec has no selected/checked field of its own, and unlike every property that does map, this axis's line carries no "-> maps to" arrow.`}],codeOnly:[{name:`orientation`,reason:`React declares 'orientation' ('horizontal'|'vertical') in its own AtlRadioGroupProps with no entry in AtlRadioGroupSpec and no matching Figma axis — the same open spec decision tools/scripts/lib/allowlists.js's DEAD_SELECTOR_EXEMPT and PROP_SURFACE_EXEMPT already record (promote to AtlRadioGroupSpec, or drop it from React). Unresolved: see tasks/todo.md.`},{name:`required`,reason:`Not modelled (ADR-0058): required renders nothing in any Atelier form field. It is passed to the DOM as the HTML attribute and stops there: no class, no CSS rule, no mark.`},{name:`readonly`,reason:`Not modelled (ADR-0058): the component emits an is-readonly class and no stylesheet in any of the three frameworks has a rule for it, so nothing renders differently — the same dead-class shape ADR-0045 removed from AtlSelect.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${d}?node-id=${e}`}}var u,d,f,p,m,h,g,_,v,y,b,x;function init_atl_radio_group_stories(){return(init_atl_radio_group_stories=e((()=>{n(),i(),r(),c(),init_radio_group_contract(),{expect:u}=__STORYBOOK_MODULE_TEST__,d=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,f={title:`Components/Inputs/AtlRadioGroup`,component:a,tags:[`autodocs`],decorators:[],render:e=>({props:{...e,value:`md`},moduleMetadata:{imports:[o]},template:`
2
2
  <atl-radio-group aria-label="Size" ${t(e)} [(value)]="value">
3
3
  <atl-radio radioValue="sm">Small</atl-radio>
4
4
  <atl-radio radioValue="md">Medium</atl-radio>
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-BfbfS1eq.js";import{i as r,n as i,r as a,t as o}from"./atl-option-o6FHvhn_.js";var s;function init_select_metadata(){return(init_select_metadata=e((()=>{s={specNames:[`AtlSelectSpec`,`AtlOptionSpec`],purpose:"Dropdown picker for one value from a known list. React and Vue render a native `<select>`; Angular renders a combobox button with a CDK listbox. Option children declare the available values.",whenToUse:[`Choosing one value from a known list of 7 or more items where radios would crowd the layout.`,`Capturing a structured choice (country, currency, language) inside a form.`,"Rendering a compact picker where the options are plain labels. In React and Vue the native `<select>` also brings the platform picker on mobile."],antiPatterns:[{pattern:`Picking from a list long enough that scanning becomes painful.`,useInstead:`AtlCombobox — adds typeahead search over the same options.`},{pattern:`Showing every option inline so users can compare them.`,useInstead:`AtlRadioGroup — keeps the choices visible without an open/close step.`},{pattern:`Triggering navigation when an option is picked.`,useInstead:`A menu of links — a select implies a form value, not a route change.`}],relatedComponents:[`AtlRadioGroupSpec`,`AtlComboboxSpec`],variantMatrix:[{state:`default`},{state:`filled`},{disabled:!0},{invalid:!0},{required:!0}],accessibility:{role:`combobox`,relatedRoles:[`listbox`],keyboard:[{key:`Enter / Space`,action:`Open the listbox. While it is open, select the highlighted option and close.`},{key:`Arrow Up / Down, Home / End`,action:`Open the listbox when closed; once open, move between options (Home / End jump to the first / last).`},{key:`Escape`,action:`Close without changing the selection.`},{key:`Type a character`,action:`Open the listbox and jump to the next option starting with that letter.`}],notes:[`The trigger carries aria-expanded and aria-controls that point at the listbox.`,`Disabled options are skipped by keyboard navigation.`,"The keys above describe Angular, whose select is a CDK listbox. React and Vue render a native `<select>`, so the browser's own keyboard handling applies there."]}}})))()}var c;function init_select_contract(){return(init_select_contract=e((()=>{c={component:`AtlSelect`,figmaNodeId:`55:92`,figmaOnly:[{name:`state=filled`,reason:`UNEXPLAINED — grep-verified 2026-09-10: no CSS rule or component logic implements an .is-filled/:placeholder-shown visual state; decide in tasks/todo.md`},{name:`state=open`,reason:`UNEXPLAINED — grep-verified 2026-09-10: AtlSelect renders a native <select>, whose open popover is browser-drawn; no .is-open class or open-state logic exists in atl-select.tsx/.css. Decide in tasks/todo.md whether the CDK-overlay Angular adapter needs its own axis note (see ADR-0007/A11Y_PARITY_EXEMPT for the same native-vs-CDK split).`}],probes:[{part:`control`,selector:`select`,reason:`the .atl-select root only sets display/font/line-height — background-color, border and border-radius are painted on the nested native <select> in React and Vue. Angular's AtlSelect renders a <button class="trigger" role="combobox"> instead (ADR-0007's CDK-overlay divergence — no native <select> at all, so no shared tag or class exists); this selector is the one React and Vue actually share, and Angular's own stories fall to [NO-PROBE] until AtlSelect gets a second, Angular-specific probe entry.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${l}?node-id=${e}`}}var l,u,d,f,p,m,h,g,_,v,y,b;function init_atl_select_stories(){return(init_atl_select_stories=e((()=>{n(),i(),r(),init_select_metadata(),init_select_contract(),l=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,u={title:`Components/Inputs/AtlSelect`,component:a,tags:[`autodocs`],render:e=>({props:{...e,value:``},moduleMetadata:{imports:[o]},template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-Ds584yJP.js";import{i as r,n as i,r as a,t as o}from"./atl-option-o6FHvhn_.js";var s;function init_select_metadata(){return(init_select_metadata=e((()=>{s={specNames:[`AtlSelectSpec`,`AtlOptionSpec`],purpose:"Dropdown picker for one value from a known list. React and Vue render a native `<select>`; Angular renders a combobox button with a CDK listbox. Option children declare the available values.",whenToUse:[`Choosing one value from a known list of 7 or more items where radios would crowd the layout.`,`Capturing a structured choice (country, currency, language) inside a form.`,"Rendering a compact picker where the options are plain labels. In React and Vue the native `<select>` also brings the platform picker on mobile."],antiPatterns:[{pattern:`Picking from a list long enough that scanning becomes painful.`,useInstead:`AtlCombobox — adds typeahead search over the same options.`},{pattern:`Showing every option inline so users can compare them.`,useInstead:`AtlRadioGroup — keeps the choices visible without an open/close step.`},{pattern:`Triggering navigation when an option is picked.`,useInstead:`A menu of links — a select implies a form value, not a route change.`}],relatedComponents:[`AtlRadioGroupSpec`,`AtlComboboxSpec`],variantMatrix:[{state:`default`},{state:`filled`},{disabled:!0},{invalid:!0},{required:!0}],accessibility:{role:`combobox`,relatedRoles:[`listbox`],keyboard:[{key:`Enter / Space`,action:`Open the listbox. While it is open, select the highlighted option and close.`},{key:`Arrow Up / Down, Home / End`,action:`Open the listbox when closed; once open, move between options (Home / End jump to the first / last).`},{key:`Escape`,action:`Close without changing the selection.`},{key:`Type a character`,action:`Open the listbox and jump to the next option starting with that letter.`}],notes:[`The trigger carries aria-expanded and aria-controls that point at the listbox.`,`Disabled options are skipped by keyboard navigation.`,"The keys above describe Angular, whose select is a CDK listbox. React and Vue render a native `<select>`, so the browser's own keyboard handling applies there."]}}})))()}var c;function init_select_contract(){return(init_select_contract=e((()=>{c={component:`AtlSelect`,figmaNodeId:`55:92`,figmaOnly:[{name:`state=filled`,reason:`UNEXPLAINED — grep-verified 2026-09-10: no CSS rule or component logic implements an .is-filled/:placeholder-shown visual state; decide in tasks/todo.md`},{name:`state=open`,reason:`UNEXPLAINED — grep-verified 2026-09-10: AtlSelect renders a native <select>, whose open popover is browser-drawn; no .is-open class or open-state logic exists in atl-select.tsx/.css. Decide in tasks/todo.md whether the CDK-overlay Angular adapter needs its own axis note (see ADR-0007/A11Y_PARITY_EXEMPT for the same native-vs-CDK split).`}],probes:[{part:`control`,selector:`select`,reason:`the .atl-select root only sets display/font/line-height — background-color, border and border-radius are painted on the nested native <select> in React and Vue. Angular's AtlSelect renders a <button class="trigger" role="combobox"> instead (ADR-0007's CDK-overlay divergence — no native <select> at all, so no shared tag or class exists); this selector is the one React and Vue actually share, and Angular's own stories fall to [NO-PROBE] until AtlSelect gets a second, Angular-specific probe entry.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${l}?node-id=${e}`}}var l,u,d,f,p,m,h,g,_,v,y,b;function init_atl_select_stories(){return(init_atl_select_stories=e((()=>{n(),i(),r(),init_select_metadata(),init_select_contract(),l=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,u={title:`Components/Inputs/AtlSelect`,component:a,tags:[`autodocs`],render:e=>({props:{...e,value:``},moduleMetadata:{imports:[o]},template:`
2
2
  <atl-select ${e.label?``:`aria-label="Select"`} ${t(e)} [(value)]="value">
3
3
  <atl-option optionValue="us">United States</atl-option>
4
4
  <atl-option optionValue="ca">Canada</atl-option>
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{Ft as t,Lt as n,O as r,R as ee,f as te,g as ne,hn as re,xn as ie,z as i}from"./angular-platform-ChS-QjTV.js";import{a,i as o,n as s,r as c,t as l}from"./atl-menu-CyZvGLYl.js";import{i as u,n as d,r as f,t as p}from"./atl-accordion-dZ-zVPC1.js";import{n as m,t as h}from"./atl-alert-BnnQXl74.js";import{n as g,r as _,t as v}from"./atl-avatar-NUYXSZhH.js";import{n as y,t as b}from"./atl-badge-BUEz7duN.js";import{n as x,r as S,t as C}from"./atl-breadcrumbs-nQEvjjLz.js";import{n as w,t as T}from"./atl-button-BzQndwCt.js";import{a as E,i as D,n as O,r as k,t as A}from"./atl-card-WY9a7AGL.js";import{i as j,n as M,r as N,t as P}from"./atl-option-o6FHvhn_.js";import{n as F,t as I}from"./atl-checkbox-C-oNMpz8.js";import{n as L,t as R}from"./atl-input-CiyTZXDL.js";import{n as z,t as B}from"./atl-toggle-DufKJw7U.js";import{a as V,i as H,n as U,r as ae,t as W}from"./atl-dialog-B2-2GVTo.js";import{n as G,r as K,t as q}from"./atl-tabs-C3TYjTt4.js";import{n as J,t as oe}from"./atl-tooltip-DHtMg2_a.js";import{n as se,t as ce}from"./atl-progress-CEvOvPrm.js";import{a as le,i as ue,n as de,r as fe,t as pe}from"./atl-drawer-87lAgOgh.js";import{n as me,t as he}from"./atl-textarea-CaajGH3D.js";import{i as ge,n as _e,r as ve,t as ye}from"./atl-radio-C-KjJXL1.js";import{n as be,t as xe}from"./atl-pagination-BFumZjwB.js";import{n as Se,t as Ce}from"./atl-skeleton-LlrKrRul.js";import{i as we,n as Te,r as Ee}from"./atl-toast-C8wfEw8o.js";var Y;function init__virtual_angular_jit_style_inline_3d086eab2b2cd0a9(){return(init__virtual_angular_jit_style_inline_3d086eab2b2cd0a9=e((()=>{Y=`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{Ft as t,Lt as n,O as r,R as ee,f as te,g as ne,hn as re,xn as ie,z as i}from"./angular-platform-ChS-QjTV.js";import{a,i as o,n as s,r as c,t as l}from"./atl-menu-BeSx1efJ.js";import{i as u,n as d,r as f,t as p}from"./atl-accordion-dZ-zVPC1.js";import{n as m,t as h}from"./atl-alert-BnnQXl74.js";import{n as g,r as _,t as v}from"./atl-avatar-NUYXSZhH.js";import{n as y,t as b}from"./atl-badge-BUEz7duN.js";import{n as x,r as S,t as C}from"./atl-breadcrumbs-nQEvjjLz.js";import{n as w,t as T}from"./atl-button-BH1eMw_C.js";import{a as E,i as D,n as O,r as k,t as A}from"./atl-card-WY9a7AGL.js";import{i as j,n as M,r as N,t as P}from"./atl-option-o6FHvhn_.js";import{n as F,t as I}from"./atl-checkbox-C-oNMpz8.js";import{n as L,t as R}from"./atl-input-CiyTZXDL.js";import{n as z,t as B}from"./atl-toggle-DufKJw7U.js";import{a as V,i as H,n as U,r as ae,t as W}from"./atl-dialog-CFoUcryL.js";import{n as G,r as K,t as q}from"./atl-tabs-C3TYjTt4.js";import{n as J,t as oe}from"./atl-tooltip-DHtMg2_a.js";import{n as se,t as ce}from"./atl-progress-CEvOvPrm.js";import{a as le,i as ue,n as de,r as fe,t as pe}from"./atl-drawer-01-1in7i.js";import{n as me,t as he}from"./atl-textarea-CaajGH3D.js";import{i as ge,n as _e,r as ve,t as ye}from"./atl-radio-C-KjJXL1.js";import{n as be,t as xe}from"./atl-pagination-BFumZjwB.js";import{n as Se,t as Ce}from"./atl-skeleton-LlrKrRul.js";import{i as we,n as Te,r as Ee}from"./atl-toast-C8wfEw8o.js";var Y;function init__virtual_angular_jit_style_inline_3d086eab2b2cd0a9(){return(init__virtual_angular_jit_style_inline_3d086eab2b2cd0a9=e((()=>{Y=`
2
2
  .section-title {
3
3
  font-size: 1rem;
4
4
  font-weight: 600;
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-BfbfS1eq.js";import{n as r,t as i}from"./atl-skeleton-LlrKrRul.js";var a;function init_skeleton_metadata(){return(init_skeleton_metadata=e((()=>{a={specNames:[`AtlSkeletonSpec`],purpose:`Loading placeholder. Renders a sized block in the shape of the content that will replace it once data resolves.`,whenToUse:[`Filling the slot where a chunk of fetched data — card body, table row, avatar — will land, so the layout does not jump on arrival.`,`Standing in for a single line of text while a label or value loads.`,`Reserving the footprint of an image or media thumbnail during async load.`],antiPatterns:[{pattern:`Communicating an indeterminate background operation with no associated content slot.`,useInstead:"AtlProgress with `indeterminate` — has the right role and announces progress."},{pattern:`Holding empty space when there is genuinely nothing to render.`,useInstead:`An empty state with explanation; skeletons promise content that is coming.`}],relatedComponents:[`AtlProgressSpec`,`AtlAvatarSpec`],variantMatrix:[{variant:`text`,animated:!0},{variant:`circular`,animated:!0},{variant:`rectangular`,animated:!0},{variant:`rectangular`,animated:!1}],accessibility:{role:`none`,keyboardBehavior:`Not focusable; no key handling.`}}})))()}var o;function init_skeleton_contract(){return(init_skeleton_contract=e((()=>{o={component:`AtlSkeleton`,figmaNodeId:`55:102`}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h,g;function init_atl_skeleton_stories(){return(init_atl_skeleton_stories=e((()=>{n(),r(),init_skeleton_metadata(),init_skeleton_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Display/AtlSkeleton`,component:i,tags:[`autodocs`],render:e=>({props:e,template:`<atl-skeleton ${t(e)} />`}),argTypes:{variant:{control:`select`,options:[`text`,`circular`,`rectangular`]},width:{control:`text`},height:{control:`text`},animated:{control:`boolean`}},args:{variant:`text`,width:`100%`,height:``,animated:!0},parameters:{design:figmaNode(`55-102`),docs:{description:{component:a.purpose}},contract:o}},l={parameters:{design:figmaNode(`55-99`)}},u={render:()=>({template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-Ds584yJP.js";import{n as r,t as i}from"./atl-skeleton-LlrKrRul.js";var a;function init_skeleton_metadata(){return(init_skeleton_metadata=e((()=>{a={specNames:[`AtlSkeletonSpec`],purpose:`Loading placeholder. Renders a sized block in the shape of the content that will replace it once data resolves.`,whenToUse:[`Filling the slot where a chunk of fetched data — card body, table row, avatar — will land, so the layout does not jump on arrival.`,`Standing in for a single line of text while a label or value loads.`,`Reserving the footprint of an image or media thumbnail during async load.`],antiPatterns:[{pattern:`Communicating an indeterminate background operation with no associated content slot.`,useInstead:"AtlProgress with `indeterminate` — has the right role and announces progress."},{pattern:`Holding empty space when there is genuinely nothing to render.`,useInstead:`An empty state with explanation; skeletons promise content that is coming.`}],relatedComponents:[`AtlProgressSpec`,`AtlAvatarSpec`],variantMatrix:[{variant:`text`,animated:!0},{variant:`circular`,animated:!0},{variant:`rectangular`,animated:!0},{variant:`rectangular`,animated:!1}],accessibility:{role:`none`,keyboardBehavior:`Not focusable; no key handling.`}}})))()}var o;function init_skeleton_contract(){return(init_skeleton_contract=e((()=>{o={component:`AtlSkeleton`,figmaNodeId:`55:102`}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h,g;function init_atl_skeleton_stories(){return(init_atl_skeleton_stories=e((()=>{n(),r(),init_skeleton_metadata(),init_skeleton_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Display/AtlSkeleton`,component:i,tags:[`autodocs`],render:e=>({props:e,template:`<atl-skeleton ${t(e)} />`}),argTypes:{variant:{control:`select`,options:[`text`,`circular`,`rectangular`]},width:{control:`text`},height:{control:`text`},animated:{control:`boolean`}},args:{variant:`text`,width:`100%`,height:``,animated:!0},parameters:{design:figmaNode(`55-102`),docs:{description:{component:a.purpose}},contract:o}},l={parameters:{design:figmaNode(`55-99`)}},u={render:()=>({template:`
2
2
  <div style="display: flex; flex-direction: column; gap: 0.5rem; max-width: 400px;">
3
3
  <atl-skeleton width="100%" />
4
4
  <atl-skeleton width="90%" />
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{A as t,Et as n,Ft as r,Lt as i,Mt as a,O as o,P as s,R as c,W as l,et as u,hn as d,k as f,q as p,xn as m,z as h}from"./angular-platform-ChS-QjTV.js";import{n as g,t as _}from"./atl-icon-ChO59f9V.js";import{n as v,t as y}from"./atl-button-BzQndwCt.js";var b;function init_atl_stepper(){return(init_atl_stepper=e((()=>{b=`:is(.atl-step,.atl-stepper),:is(.atl-step,.atl-stepper) *{box-sizing:border-box}.atl-stepper{--step-circle:36px;--step-connector-width:2px;font-family:var(--ui-font-family);line-height:var(--ui-line-height-tight);display:block}.atl-step{display:contents}.atl-stepper>.stepper-header{align-items:center;margin:0;padding:0;list-style:none;display:flex}.atl-stepper>.stepper-header>.step-item{flex-direction:column;align-items:center;min-width:0;display:flex}.atl-stepper>.stepper-header>.step-connector{height:var(--step-connector-width);background:var(--ui-color-border);border-radius:var(--ui-radius-full);transition:background var(--ui-transition-normal) var(--ui-ease-out);min-width:var(--ui-spacing-4);flex:1}.atl-stepper>.stepper-header>.step-connector.is-active{background:var(--ui-color-primary)}.atl-stepper>.stepper-header>.step-item>.step-circle{all:unset;box-sizing:border-box;width:var(--step-circle);height:var(--step-circle);border:var(--ui-border-width-thick) solid var(--ui-color-border);background:var(--ui-color-surface);color:var(--ui-color-text-muted);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-semibold);cursor:pointer;transition:var(--ui-transition-normal) var(--ui-ease-out);-webkit-user-select:none;user-select:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;transition-property:border-color,background-color,color,box-shadow;display:inline-flex}.atl-stepper>.stepper-header>.step-item>.step-circle:focus-visible{box-shadow:var(--ui-focus-ring);outline:none}.atl-stepper>.stepper-header>.step-item>.step-circle:disabled{cursor:not-allowed}.atl-stepper>.stepper-header>.step-item>.step-text{margin-top:var(--ui-spacing-2);text-align:center;flex-direction:column;align-items:center;display:flex}.atl-stepper>.stepper-header>.step-item>.step-text>.step-label{font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-medium);color:var(--ui-color-text-muted);white-space:nowrap}.atl-stepper>.stepper-header>.step-item>.step-text>.step-description{font-size:var(--ui-font-size-xs);color:var(--ui-color-text-muted);margin-top:var(--ui-spacing-1)}.atl-stepper>.stepper-header>.step-item>.step-text>.step-optional{font-size:var(--ui-font-size-xs);color:var(--ui-color-text-muted);margin-top:var(--ui-spacing-1);font-style:italic}.atl-stepper>.stepper-content{margin-top:var(--ui-spacing-6)}.atl-stepper>.stepper-content>.step-panel[hidden],.atl-stepper>.stepper-content>.atl-step>.step-panel[hidden]{display:none}.atl-stepper>.stepper-header>.step-item.is-active>.step-circle{border-color:var(--ui-color-primary);color:var(--ui-color-primary)}.atl-stepper>.stepper-header>.step-item.is-active>.step-text>.step-label{color:var(--ui-color-text)}.atl-stepper>.stepper-header>.step-item.is-completed>.step-circle{border-color:var(--ui-color-primary);background:var(--ui-color-primary);color:var(--ui-color-text-on-primary)}.atl-stepper>.stepper-header>.step-item.is-completed>.step-text>.step-label{color:var(--ui-color-text)}.atl-stepper>.stepper-header>.step-item.is-error>.step-circle{border-color:var(--ui-color-danger);background:var(--ui-color-danger);color:var(--ui-color-text-on-danger,#fff)}.atl-stepper>.stepper-header>.step-item.is-error>.step-text>.step-label{color:var(--ui-color-danger)}.atl-stepper>.stepper-header>.step-item.is-disabled>.step-circle{opacity:var(--ui-opacity-disabled);cursor:not-allowed}.atl-stepper>.stepper-header>.step-item.is-disabled>.step-text>.step-label{opacity:var(--ui-opacity-disabled)}.atl-stepper.orientation-vertical>.stepper-header{flex-direction:column;align-items:stretch}.atl-stepper.orientation-vertical>.stepper-header>.step-item{align-items:flex-start;gap:var(--ui-spacing-3);flex-direction:row}.atl-stepper.orientation-vertical>.stepper-header>.step-item>.step-text{text-align:left;padding-top:var(--ui-spacing-1);align-items:flex-start;margin-top:0}.atl-stepper.orientation-vertical>.stepper-header>.step-connector{width:var(--step-connector-width);height:var(--ui-spacing-6);margin-left:calc((var(--step-circle) - var(--step-connector-width)) / 2);flex:none;min-width:0}`})))()}var x;function init_atl_stepper_token(){return(init_atl_stepper_token=e((()=>{o(),x=new n(`ATL_STEPPER`)})))()}var S,C,w;function init_atl_stepper$1(){return(init_atl_stepper$1=e((()=>{m(),init_atl_stepper(),o(),init_atl_stepper_token(),g(),S=0,C=class AtlStepper{activeStep=t(0);orientation=f(`horizontal`);linear=f(!1);steps=i([]);hostClasses=s(()=>`orientation-${this.orientation()}`);registerStep(e){this.steps.update(t=>[...t,e])}unregisterStep(e){this.steps.update(t=>t.filter(t=>t.id!==e))}updateStep(e,t){this.steps.update(n=>n.map(n=>n.id===e?{...n,...t}:n))}isReachable(e){let t=this.steps();return t[e].disabled?!1:!this.linear()||e<=this.activeStep()||t.slice(0,e).every(e=>e.completed||e.optional)}goTo(e){let t=this.steps();e<0||e>=t.length||this.isReachable(e)&&this.activeStep.set(e)}next(){this.goTo(this.activeStep()+1)}prev(){let e=this.activeStep()-1;e<0||this.steps()[e]?.disabled||this.activeStep.set(e)}static propDecorators={activeStep:[{type:l,args:[{isSignal:!0,alias:`activeStep`,required:!1}]},{type:p,args:[`activeStepChange`]}],orientation:[{type:l,args:[{isSignal:!0,alias:`orientation`,required:!1,transform:void 0}]}],linear:[{type:l,args:[{isSignal:!0,alias:`linear`,required:!1,transform:void 0}]}]}},C=d([h({selector:`atl-stepper`,standalone:!0,imports:[_],changeDetection:c.OnPush,template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{A as t,Et as n,Ft as r,Lt as i,Mt as a,O as o,P as s,R as c,W as l,et as u,hn as d,k as f,q as p,xn as m,z as h}from"./angular-platform-ChS-QjTV.js";import{n as g,t as _}from"./atl-icon-ChO59f9V.js";import{n as v,t as y}from"./atl-button-BH1eMw_C.js";var b;function init_atl_stepper(){return(init_atl_stepper=e((()=>{b=`:is(.atl-step,.atl-stepper),:is(.atl-step,.atl-stepper) *{box-sizing:border-box}.atl-stepper{--step-circle:36px;--step-connector-width:2px;font-family:var(--ui-font-family);line-height:var(--ui-line-height-tight);display:block}.atl-step{display:contents}.atl-stepper>.stepper-header{align-items:center;margin:0;padding:0;list-style:none;display:flex}.atl-stepper>.stepper-header>.step-item{flex-direction:column;align-items:center;min-width:0;display:flex}.atl-stepper>.stepper-header>.step-connector{height:var(--step-connector-width);background:var(--ui-color-border);border-radius:var(--ui-radius-full);transition:background var(--ui-transition-normal) var(--ui-ease-out);min-width:var(--ui-spacing-4);flex:1}.atl-stepper>.stepper-header>.step-connector.is-active{background:var(--ui-color-primary)}.atl-stepper>.stepper-header>.step-item>.step-circle{all:unset;box-sizing:border-box;width:var(--step-circle);height:var(--step-circle);border:var(--ui-border-width-thick) solid var(--ui-color-border);background:var(--ui-color-surface);color:var(--ui-color-text-muted);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-semibold);cursor:pointer;transition:var(--ui-transition-normal) var(--ui-ease-out);-webkit-user-select:none;user-select:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;transition-property:border-color,background-color,color,box-shadow;display:inline-flex}.atl-stepper>.stepper-header>.step-item>.step-circle:focus-visible{box-shadow:var(--ui-focus-ring);outline:none}.atl-stepper>.stepper-header>.step-item>.step-circle:disabled{cursor:not-allowed}.atl-stepper>.stepper-header>.step-item>.step-text{margin-top:var(--ui-spacing-2);text-align:center;flex-direction:column;align-items:center;display:flex}.atl-stepper>.stepper-header>.step-item>.step-text>.step-label{font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-medium);color:var(--ui-color-text-muted);white-space:nowrap}.atl-stepper>.stepper-header>.step-item>.step-text>.step-description{font-size:var(--ui-font-size-xs);color:var(--ui-color-text-muted);margin-top:var(--ui-spacing-1)}.atl-stepper>.stepper-header>.step-item>.step-text>.step-optional{font-size:var(--ui-font-size-xs);color:var(--ui-color-text-muted);margin-top:var(--ui-spacing-1);font-style:italic}.atl-stepper>.stepper-content{margin-top:var(--ui-spacing-6)}.atl-stepper>.stepper-content>.step-panel[hidden],.atl-stepper>.stepper-content>.atl-step>.step-panel[hidden]{display:none}.atl-stepper>.stepper-header>.step-item.is-active>.step-circle{border-color:var(--ui-color-primary);color:var(--ui-color-primary)}.atl-stepper>.stepper-header>.step-item.is-active>.step-text>.step-label{color:var(--ui-color-text)}.atl-stepper>.stepper-header>.step-item.is-completed>.step-circle{border-color:var(--ui-color-primary);background:var(--ui-color-primary);color:var(--ui-color-text-on-primary)}.atl-stepper>.stepper-header>.step-item.is-completed>.step-text>.step-label{color:var(--ui-color-text)}.atl-stepper>.stepper-header>.step-item.is-error>.step-circle{border-color:var(--ui-color-danger);background:var(--ui-color-danger);color:var(--ui-color-text-on-danger,#fff)}.atl-stepper>.stepper-header>.step-item.is-error>.step-text>.step-label{color:var(--ui-color-danger)}.atl-stepper>.stepper-header>.step-item.is-disabled>.step-circle{opacity:var(--ui-opacity-disabled);cursor:not-allowed}.atl-stepper>.stepper-header>.step-item.is-disabled>.step-text>.step-label{opacity:var(--ui-opacity-disabled)}.atl-stepper.orientation-vertical>.stepper-header{flex-direction:column;align-items:stretch}.atl-stepper.orientation-vertical>.stepper-header>.step-item{align-items:flex-start;gap:var(--ui-spacing-3);flex-direction:row}.atl-stepper.orientation-vertical>.stepper-header>.step-item>.step-text{text-align:left;padding-top:var(--ui-spacing-1);align-items:flex-start;margin-top:0}.atl-stepper.orientation-vertical>.stepper-header>.step-connector{width:var(--step-connector-width);height:var(--ui-spacing-6);margin-left:calc((var(--step-circle) - var(--step-connector-width)) / 2);flex:none;min-width:0}`})))()}var x;function init_atl_stepper_token(){return(init_atl_stepper_token=e((()=>{o(),x=new n(`ATL_STEPPER`)})))()}var S,C,w;function init_atl_stepper$1(){return(init_atl_stepper$1=e((()=>{m(),init_atl_stepper(),o(),init_atl_stepper_token(),g(),S=0,C=class AtlStepper{activeStep=t(0);orientation=f(`horizontal`);linear=f(!1);steps=i([]);hostClasses=s(()=>`orientation-${this.orientation()}`);registerStep(e){this.steps.update(t=>[...t,e])}unregisterStep(e){this.steps.update(t=>t.filter(t=>t.id!==e))}updateStep(e,t){this.steps.update(n=>n.map(n=>n.id===e?{...n,...t}:n))}isReachable(e){let t=this.steps();return t[e].disabled?!1:!this.linear()||e<=this.activeStep()||t.slice(0,e).every(e=>e.completed||e.optional)}goTo(e){let t=this.steps();e<0||e>=t.length||this.isReachable(e)&&this.activeStep.set(e)}next(){this.goTo(this.activeStep()+1)}prev(){let e=this.activeStep()-1;e<0||this.steps()[e]?.disabled||this.activeStep.set(e)}static propDecorators={activeStep:[{type:l,args:[{isSignal:!0,alias:`activeStep`,required:!1}]},{type:p,args:[`activeStepChange`]}],orientation:[{type:l,args:[{isSignal:!0,alias:`orientation`,required:!1,transform:void 0}]}],linear:[{type:l,args:[{isSignal:!0,alias:`linear`,required:!1,transform:void 0}]}]}},C=d([h({selector:`atl-stepper`,standalone:!0,imports:[_],changeDetection:c.OnPush,template:`
2
2
  <ol class="stepper-header" role="list" aria-label="Progress">
3
3
  @for (step of steps(); track step.id; let i = $index; let last = $last) {
4
4
  <li
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./atl-badge-BUEz7duN.js";import{n as r,t as i}from"./atl-button-BzQndwCt.js";import{n as a,t as o}from"./atl-checkbox-C-oNMpz8.js";import{a as s,i as c,n as l,o as u,r as d,s as f,t as p}from"./atl-table-9yowirTt.js";var m;function init_table_metadata(){return(init_table_metadata=e((()=>{m={specNames:[`AtlTableSpec`,`AtlTbodySpec`,`AtlTrSpec`,`AtlThSpec`,`AtlTdSpec`],purpose:`Tabular data grid. Renders rows of records with column headers, optional sorting, sticky headers, and per-cell alignment.`,whenToUse:[`Displaying a list of records where each record has the same set of comparable fields.`,`Surfacing data users need to scan across rows or columns (totals, status, timestamps).`,`Wrapping a sortable column set where header clicks reorder rows.`,`Showing data dense enough to benefit from a sticky header while scrolling.`],antiPatterns:[{pattern:`Laying out two-dimensional UI that is not actually tabular data (cards in a grid).`,useInstead:"A CSS grid layout — `<table>` semantics confuse assistive tech when there is no row/column meaning."},{pattern:`Rendering a single record with field/value pairs.`,useInstead:`A description list or a labelled key/value layout — tables imply multiple comparable rows.`},{pattern:`Picking one option from a list.`,useInstead:`AtlSelect, AtlCombobox, or AtlRadioGroup depending on cardinality.`}],relatedComponents:[`AtlPaginationSpec`,`AtlCheckboxSpec`,`AtlBadgeSpec`],variantMatrix:[{variant:`default`,size:`sm`},{variant:`default`,size:`md`},{variant:`default`,size:`lg`},{variant:`striped`,size:`md`},{variant:`bordered`,size:`md`}],accessibility:{role:`table`,keyboardBehavior:"The scrollable wrapper is focusable (tabindex=0) so users can pan horizontally with arrow keys. Sortable headers are buttons reached via Tab; Enter or Space toggles the sort direction and updates `aria-sort` on the header."}}})))()}var h;function init_table_contract(){return(init_table_contract=e((()=>{h={component:`AtlTable`,figmaNodeId:`421:1183`,figmaOnly:[{name:`error`,reason:`UNEXPLAINED — surfaced by the S2 contract pass 2026-09-10; decide in tasks/todo.md`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${v}?node-id=${e}`}}var g,_,v,y,b,x,S,C,w,T,E,D,O,k,A;function init_atl_table_stories(){return(init_atl_table_stories=e((()=>{f(),t(),r(),a(),init_table_metadata(),init_table_contract(),{expect:g}=__STORYBOOK_MODULE_TEST__,_=[p,s,l,u,c,d],v=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,y={title:`Components/Display/AtlTable`,component:p,tags:[`autodocs`],argTypes:{variant:{control:`select`,options:[`default`,`striped`,`bordered`]},size:{control:`select`,options:[`sm`,`md`,`lg`]},stickyHeader:{control:`boolean`}},args:{variant:`default`,size:`md`,stickyHeader:!1},parameters:{design:figmaNode(`421-1183`),docs:{description:{component:m.purpose}},contract:h}},b={render:e=>({props:e,moduleMetadata:{imports:_},template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./atl-badge-BUEz7duN.js";import{n as r,t as i}from"./atl-button-BH1eMw_C.js";import{n as a,t as o}from"./atl-checkbox-C-oNMpz8.js";import{a as s,i as c,n as l,o as u,r as d,s as f,t as p}from"./atl-table-9yowirTt.js";var m;function init_table_metadata(){return(init_table_metadata=e((()=>{m={specNames:[`AtlTableSpec`,`AtlTbodySpec`,`AtlTrSpec`,`AtlThSpec`,`AtlTdSpec`],purpose:`Tabular data grid. Renders rows of records with column headers, optional sorting, sticky headers, and per-cell alignment.`,whenToUse:[`Displaying a list of records where each record has the same set of comparable fields.`,`Surfacing data users need to scan across rows or columns (totals, status, timestamps).`,`Wrapping a sortable column set where header clicks reorder rows.`,`Showing data dense enough to benefit from a sticky header while scrolling.`],antiPatterns:[{pattern:`Laying out two-dimensional UI that is not actually tabular data (cards in a grid).`,useInstead:"A CSS grid layout — `<table>` semantics confuse assistive tech when there is no row/column meaning."},{pattern:`Rendering a single record with field/value pairs.`,useInstead:`A description list or a labelled key/value layout — tables imply multiple comparable rows.`},{pattern:`Picking one option from a list.`,useInstead:`AtlSelect, AtlCombobox, or AtlRadioGroup depending on cardinality.`}],relatedComponents:[`AtlPaginationSpec`,`AtlCheckboxSpec`,`AtlBadgeSpec`],variantMatrix:[{variant:`default`,size:`sm`},{variant:`default`,size:`md`},{variant:`default`,size:`lg`},{variant:`striped`,size:`md`},{variant:`bordered`,size:`md`}],accessibility:{role:`table`,keyboardBehavior:"The scrollable wrapper is focusable (tabindex=0) so users can pan horizontally with arrow keys. Sortable headers are buttons reached via Tab; Enter or Space toggles the sort direction and updates `aria-sort` on the header."}}})))()}var h;function init_table_contract(){return(init_table_contract=e((()=>{h={component:`AtlTable`,figmaNodeId:`421:1183`,figmaOnly:[{name:`error`,reason:`UNEXPLAINED — surfaced by the S2 contract pass 2026-09-10; decide in tasks/todo.md`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${v}?node-id=${e}`}}var g,_,v,y,b,x,S,C,w,T,E,D,O,k,A;function init_atl_table_stories(){return(init_atl_table_stories=e((()=>{f(),t(),r(),a(),init_table_metadata(),init_table_contract(),{expect:g}=__STORYBOOK_MODULE_TEST__,_=[p,s,l,u,c,d],v=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,y={title:`Components/Display/AtlTable`,component:p,tags:[`autodocs`],argTypes:{variant:{control:`select`,options:[`default`,`striped`,`bordered`]},size:{control:`select`,options:[`sm`,`md`,`lg`]},stickyHeader:{control:`boolean`}},args:{variant:`default`,size:`md`,stickyHeader:!1},parameters:{design:figmaNode(`421-1183`),docs:{description:{component:m.purpose}},contract:h}},b={render:e=>({props:e,moduleMetadata:{imports:_},template:`
2
2
  <atl-table [variant]="variant" [size]="size" [stickyHeader]="stickyHeader">
3
3
  <atl-thead>
4
4
  <atl-tr>
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./atl-badge-BUEz7duN.js";import{n as r,t as i}from"./atl-button-BzQndwCt.js";import{a,n as o,t as s}from"./atl-card-WY9a7AGL.js";import{n as c,t as l}from"./atl-input-CiyTZXDL.js";import{n as u,r as d,t as f}from"./atl-tabs-C3TYjTt4.js";var p;function init_tabs_metadata(){return(init_tabs_metadata=e((()=>{p={specNames:[`AtlTabGroupSpec`,`AtlTabSpec`],purpose:`Switches between sibling views that share the same parent context. Renders a labelled tab strip wired to a single visible panel at a time.`,whenToUse:[`Splitting a settings or profile page into named sections that do not need their own URL.`,`Toggling between alternate representations of the same data (chart vs table, raw vs formatted).`,`Organising the contents of a dialog or drawer into a small number of named pages.`,`Grouping closely related forms or lists where the user typically only looks at one at a time.`],antiPatterns:[{pattern:`Wiring tabs as top-level site navigation across distinct pages.`,useInstead:"A real nav with `<a>` links and URLs — tabs swap panels in place, navigation changes location."},{pattern:`Hiding optional, rarely-read content behind a tab to reduce page length.`,useInstead:`AtlAccordion — accordions are the right primitive for collapsing supplementary sections.`},{pattern:`Presenting a linear, ordered workflow as tabs.`,useInstead:`AtlStepper — steppers communicate progress and ordering, tabs do not.`}],relatedComponents:[`AtlAccordionGroupSpec`,`AtlStepperSpec`],variantMatrix:[{variant:`default`},{variant:`pills`}],accessibility:{role:`tablist`,relatedRoles:[`tab`,`tabpanel`],keyboard:[{key:`Tab`,action:`Move focus to the active tab, then into its panel (the panel is focusable).`},{key:`Arrow Left / Right`,action:`Move to and select the previous / next enabled tab. Focus wraps at the ends.`},{key:`Home / End`,action:`Jump to and select the first / last enabled tab.`}],notes:[`Selection follows focus (automatic activation); there is no manual-activation mode and no vertical orientation.`,`Tabs use roving tabindex — only the active tab is in the document tab sequence.`,`Each AtlTab has aria-controls pointing at its panel, and the panel has aria-labelledby pointing back at the tab. Disabled tabs are skipped by arrow navigation.`]}}})))()}var m;function init_tab_group_contract(){return(init_tab_group_contract=e((()=>{m={component:`AtlTabGroup`,figmaNodeId:`55:123`,figmaOnly:[{name:`selectedIndex`,reason:`AtlTabGroupSpec.selectedIndex is a number (which tab is active), not an enum — the master's two values (0, 1) demonstrate the first and second tab looking selected, not a closed set of legal indices.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${g}?node-id=${e}`}}var h,g,_,v,y,b,x,S,C,w,T;function init_atl_tabs_stories(){return(init_atl_tabs_stories=e((()=>{d(),c(),r(),t(),a(),init_tabs_metadata(),init_tab_group_contract(),{expect:h}=__STORYBOOK_MODULE_TEST__,g=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,_={title:`Components/Navigation/AtlTabGroup`,component:u,tags:[`autodocs`],argTypes:{variant:{control:`select`,options:[`default`,`pills`]}},args:{variant:`default`},parameters:{design:figmaNode(`55-123`),docs:{description:{component:p.purpose}},contract:m}},v={render:e=>({props:e,moduleMetadata:{imports:[u,f]},template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./atl-badge-BUEz7duN.js";import{n as r,t as i}from"./atl-button-BH1eMw_C.js";import{a,n as o,t as s}from"./atl-card-WY9a7AGL.js";import{n as c,t as l}from"./atl-input-CiyTZXDL.js";import{n as u,r as d,t as f}from"./atl-tabs-C3TYjTt4.js";var p;function init_tabs_metadata(){return(init_tabs_metadata=e((()=>{p={specNames:[`AtlTabGroupSpec`,`AtlTabSpec`],purpose:`Switches between sibling views that share the same parent context. Renders a labelled tab strip wired to a single visible panel at a time.`,whenToUse:[`Splitting a settings or profile page into named sections that do not need their own URL.`,`Toggling between alternate representations of the same data (chart vs table, raw vs formatted).`,`Organising the contents of a dialog or drawer into a small number of named pages.`,`Grouping closely related forms or lists where the user typically only looks at one at a time.`],antiPatterns:[{pattern:`Wiring tabs as top-level site navigation across distinct pages.`,useInstead:"A real nav with `<a>` links and URLs — tabs swap panels in place, navigation changes location."},{pattern:`Hiding optional, rarely-read content behind a tab to reduce page length.`,useInstead:`AtlAccordion — accordions are the right primitive for collapsing supplementary sections.`},{pattern:`Presenting a linear, ordered workflow as tabs.`,useInstead:`AtlStepper — steppers communicate progress and ordering, tabs do not.`}],relatedComponents:[`AtlAccordionGroupSpec`,`AtlStepperSpec`],variantMatrix:[{variant:`default`},{variant:`pills`}],accessibility:{role:`tablist`,relatedRoles:[`tab`,`tabpanel`],keyboard:[{key:`Tab`,action:`Move focus to the active tab, then into its panel (the panel is focusable).`},{key:`Arrow Left / Right`,action:`Move to and select the previous / next enabled tab. Focus wraps at the ends.`},{key:`Home / End`,action:`Jump to and select the first / last enabled tab.`}],notes:[`Selection follows focus (automatic activation); there is no manual-activation mode and no vertical orientation.`,`Tabs use roving tabindex — only the active tab is in the document tab sequence.`,`Each AtlTab has aria-controls pointing at its panel, and the panel has aria-labelledby pointing back at the tab. Disabled tabs are skipped by arrow navigation.`]}}})))()}var m;function init_tab_group_contract(){return(init_tab_group_contract=e((()=>{m={component:`AtlTabGroup`,figmaNodeId:`55:123`,figmaOnly:[{name:`selectedIndex`,reason:`AtlTabGroupSpec.selectedIndex is a number (which tab is active), not an enum — the master's two values (0, 1) demonstrate the first and second tab looking selected, not a closed set of legal indices.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${g}?node-id=${e}`}}var h,g,_,v,y,b,x,S,C,w,T;function init_atl_tabs_stories(){return(init_atl_tabs_stories=e((()=>{d(),c(),r(),t(),a(),init_tabs_metadata(),init_tab_group_contract(),{expect:h}=__STORYBOOK_MODULE_TEST__,g=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,_={title:`Components/Navigation/AtlTabGroup`,component:u,tags:[`autodocs`],argTypes:{variant:{control:`select`,options:[`default`,`pills`]}},args:{variant:`default`},parameters:{design:figmaNode(`55-123`),docs:{description:{component:p.purpose}},contract:m}},v={render:e=>({props:e,moduleMetadata:{imports:[u,f]},template:`
2
2
  <atl-tab-group [variant]="variant">
3
3
  <atl-tab label="Account">
4
4
  <h3>Account Settings</h3>
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-BfbfS1eq.js";import{n as r,t as i}from"./atl-textarea-CaajGH3D.js";var a;function init_textarea_metadata(){return(init_textarea_metadata=e((()=>{a={specNames:[`AtlTextareaSpec`],purpose:"Multi-line text field. Renders a `<textarea>` sized for wrapping prose, with optional auto-resize as content grows.",whenToUse:[`Collecting a description, comment, or message body where line breaks are part of the input.`,`Capturing a code snippet, log paste, or long-form note.`,"Editing freeform content where the visible height should grow with the text (`autoResize: true`)."],antiPatterns:[{pattern:`Collecting a single short value such as a title or email.`,useInstead:`AtlInput — sized for one-line entry with type-specific keyboard hints.`},{pattern:`Building a rich-text editor with formatting toolbars.`,useInstead:`A dedicated editor (Tiptap, Lexical) — textarea is plain text only.`}],relatedComponents:[`AtlInputSpec`],variantMatrix:[{rows:3,autoResize:!1},{rows:6,autoResize:!1},{rows:3,autoResize:!0},{rows:3,disabled:!0},{rows:3,invalid:!0},{rows:3,readonly:!0}],accessibility:{role:`textbox`,keyboardBehavior:"Receives focus via Tab. Enter inserts a newline (it does not submit). Arrow keys, Home/End, and PageUp/PageDown navigate within the text. `invalid` toggles `aria-invalid`, `required` toggles `aria-required`."}}})))()}var o;function init_textarea_contract(){return(init_textarea_contract=e((()=>{o={component:`AtlTextarea`,figmaNodeId:`55:87`,figmaOnly:[{name:`state=filled`,reason:`UNEXPLAINED — grep-verified 2026-09-10: no CSS rule or component logic implements an .is-filled/:placeholder-shown visual state; decide in tasks/todo.md`}],axisMap:[{figmaAxis:`state`,codeProp:`invalid`,values:{invalid:!0},reason:`AtlFormFieldSpec.invalid is a real boolean prop (libs/spec/src/index.ts) — the master's 'invalid' state value maps to it directly.`}],probes:[{part:`control`,selector:`textarea`,reason:`the .atl-textarea root only sets display/font — background-color, border and border-radius are painted on the nested <textarea> ('.atl-textarea textarea' in React/Vue's atl-textarea.css; Angular's :host-scoped stylesheet uses the bare 'textarea' selector — the same relative selector resolves in all three once queried under each framework's own component root).`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h,g,_,v;function init_atl_textarea_stories(){return(init_atl_textarea_stories=e((()=>{n(),r(),init_textarea_metadata(),init_textarea_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Inputs/AtlTextarea`,component:i,tags:[`autodocs`],render:e=>({props:e,template:`<atl-textarea ${e.label?``:`aria-label="Text area"`} ${t(e)} />`}),argTypes:{rows:{control:{type:`number`,min:1,max:20}},label:{control:`text`},placeholder:{control:`text`},disabled:{control:`boolean`},readonly:{control:`boolean`},invalid:{control:`boolean`},required:{control:`boolean`},autoResize:{control:`boolean`}},args:{rows:3,placeholder:`Enter text...`,disabled:!1,readonly:!1,invalid:!1,required:!1,autoResize:!1},parameters:{design:figmaNode(`55-87`),docs:{description:{component:a.purpose}},contract:o}},l={parameters:{design:figmaNode(`55-82`)}},u={args:{label:`Bio`,placeholder:`Tell us about yourself`}},d={args:{placeholder:`Tell us about yourself...`}},f={args:{rows:8,placeholder:`Enter a long description...`}},p={args:{disabled:!0,placeholder:`Cannot edit`}},m={args:{readonly:!0},render:e=>({props:e,template:`<atl-textarea ${e.label?``:`aria-label="Text area"`} ${t(e)} value="This content cannot be edited." />`})},h={args:{invalid:!0},render:e=>({props:{...e,errors:[{kind:`required`,message:`This field is required`},{kind:`minLength`,message:`Must be at least 20 characters`}]},template:`<atl-textarea ${e.label?``:`aria-label="Text area"`} ${t(e)} [errors]="errors" [touched]="true" />`}),parameters:{a11y:{config:{rules:[{id:`label-title-only`,enabled:!1}]}}}},g={args:{autoResize:!0,placeholder:`Start typing — this grows automatically...`}},_={render:e=>({props:e,template:`<atl-textarea ${e.label?``:`aria-label="Text area"`} ${t(e)} />`})},v=[`Default`,`WithLabel`,`WithPlaceholder`,`TallRows`,`Disabled`,`Readonly`,`WithErrors`,`AutoResize`,`Playground`],l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-Ds584yJP.js";import{n as r,t as i}from"./atl-textarea-CaajGH3D.js";var a;function init_textarea_metadata(){return(init_textarea_metadata=e((()=>{a={specNames:[`AtlTextareaSpec`],purpose:"Multi-line text field. Renders a `<textarea>` sized for wrapping prose, with optional auto-resize as content grows.",whenToUse:[`Collecting a description, comment, or message body where line breaks are part of the input.`,`Capturing a code snippet, log paste, or long-form note.`,"Editing freeform content where the visible height should grow with the text (`autoResize: true`)."],antiPatterns:[{pattern:`Collecting a single short value such as a title or email.`,useInstead:`AtlInput — sized for one-line entry with type-specific keyboard hints.`},{pattern:`Building a rich-text editor with formatting toolbars.`,useInstead:`A dedicated editor (Tiptap, Lexical) — textarea is plain text only.`}],relatedComponents:[`AtlInputSpec`],variantMatrix:[{rows:3,autoResize:!1},{rows:6,autoResize:!1},{rows:3,autoResize:!0},{rows:3,disabled:!0},{rows:3,invalid:!0},{rows:3,readonly:!0}],accessibility:{role:`textbox`,keyboardBehavior:"Receives focus via Tab. Enter inserts a newline (it does not submit). Arrow keys, Home/End, and PageUp/PageDown navigate within the text. `invalid` toggles `aria-invalid`, `required` toggles `aria-required`."}}})))()}var o;function init_textarea_contract(){return(init_textarea_contract=e((()=>{o={component:`AtlTextarea`,figmaNodeId:`55:87`,figmaOnly:[{name:`state=filled`,reason:`UNEXPLAINED — grep-verified 2026-09-10: no CSS rule or component logic implements an .is-filled/:placeholder-shown visual state; decide in tasks/todo.md`}],axisMap:[{figmaAxis:`state`,codeProp:`invalid`,values:{invalid:!0},reason:`AtlFormFieldSpec.invalid is a real boolean prop (libs/spec/src/index.ts) — the master's 'invalid' state value maps to it directly.`}],probes:[{part:`control`,selector:`textarea`,reason:`the .atl-textarea root only sets display/font — background-color, border and border-radius are painted on the nested <textarea> ('.atl-textarea textarea' in React/Vue's atl-textarea.css; Angular's :host-scoped stylesheet uses the bare 'textarea' selector — the same relative selector resolves in all three once queried under each framework's own component root).`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h,g,_,v;function init_atl_textarea_stories(){return(init_atl_textarea_stories=e((()=>{n(),r(),init_textarea_metadata(),init_textarea_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Inputs/AtlTextarea`,component:i,tags:[`autodocs`],render:e=>({props:e,template:`<atl-textarea ${e.label?``:`aria-label="Text area"`} ${t(e)} />`}),argTypes:{rows:{control:{type:`number`,min:1,max:20}},label:{control:`text`},placeholder:{control:`text`},disabled:{control:`boolean`},readonly:{control:`boolean`},invalid:{control:`boolean`},required:{control:`boolean`},autoResize:{control:`boolean`}},args:{rows:3,placeholder:`Enter text...`,disabled:!1,readonly:!1,invalid:!1,required:!1,autoResize:!1},parameters:{design:figmaNode(`55-87`),docs:{description:{component:a.purpose}},contract:o}},l={parameters:{design:figmaNode(`55-82`)}},u={args:{label:`Bio`,placeholder:`Tell us about yourself`}},d={args:{placeholder:`Tell us about yourself...`}},f={args:{rows:8,placeholder:`Enter a long description...`}},p={args:{disabled:!0,placeholder:`Cannot edit`}},m={args:{readonly:!0},render:e=>({props:e,template:`<atl-textarea ${e.label?``:`aria-label="Text area"`} ${t(e)} value="This content cannot be edited." />`})},h={args:{invalid:!0},render:e=>({props:{...e,errors:[{kind:`required`,message:`This field is required`},{kind:`minLength`,message:`Must be at least 20 characters`}]},template:`<atl-textarea ${e.label?``:`aria-label="Text area"`} ${t(e)} [errors]="errors" [touched]="true" />`}),parameters:{a11y:{config:{rules:[{id:`label-title-only`,enabled:!1}]}}}},g={args:{autoResize:!0,placeholder:`Start typing — this grows automatically...`}},_={render:e=>({props:e,template:`<atl-textarea ${e.label?``:`aria-label="Text area"`} ${t(e)} />`})},v=[`Default`,`WithLabel`,`WithPlaceholder`,`TallRows`,`Disabled`,`Readonly`,`WithErrors`,`AutoResize`,`Playground`],l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  design: figmaNode('55-82')
4
4
  }
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{Ft as t,O as n,R as r,W as i,hn as a,k as o,xn as s,z as c}from"./angular-platform-ChS-QjTV.js";import{n as l,t as u}from"./atl-button-BzQndwCt.js";import{i as d,n as f,r as p,t as m}from"./atl-toast-C8wfEw8o.js";var h;function init_toast_contract(){return(init_toast_contract=e((()=>{h={component:`AtlToast`,figmaNodeId:`55:47`,figmaOnly:[{name:`message`,reason:`Not a property of any spec interface — AtlToast has no spec interface at all. The message is the first argument of the toast service call; AtlToastOptions covers only the options object.`}],axisMap:[{figmaAxis:`position`,codeProp:`AtlToastContainer.position`,reason:`The 'position' axis lives on the sibling AtlToastContainer, not on AtlToast (the individual toast card the master otherwise draws) — atl-toast.ts declares AtlToast and AtlToastContainer as separate classes in the same file, and only the container takes a position input.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${b}?node-id=${e}`}}var g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j;function init_atl_toast_stories(){return(init_atl_toast_stories=e((()=>{s(),n(),d(),l(),init_toast_contract(),g=class ToastStoryWrapper{toastService=t(p);position=o(`bottom-right`);variant=o(`default`);duration=o(5e3);dismissible=o(!0);message=o(`This is a toast notification.`);showToast(){this.toastService.show(this.message(),{variant:this.variant(),duration:this.duration(),dismissible:this.dismissible()})}clearAll(){this.toastService.clear()}static propDecorators={position:[{type:i,args:[{isSignal:!0,alias:`position`,required:!1,transform:void 0}]}],variant:[{type:i,args:[{isSignal:!0,alias:`variant`,required:!1,transform:void 0}]}],duration:[{type:i,args:[{isSignal:!0,alias:`duration`,required:!1,transform:void 0}]}],dismissible:[{type:i,args:[{isSignal:!0,alias:`dismissible`,required:!1,transform:void 0}]}],message:[{type:i,args:[{isSignal:!0,alias:`message`,required:!1,transform:void 0}]}]}},g=a([c({selector:`toast-story-wrapper`,standalone:!0,changeDetection:r.OnPush,imports:[f,u],template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{Ft as t,O as n,R as r,W as i,hn as a,k as o,xn as s,z as c}from"./angular-platform-ChS-QjTV.js";import{n as l,t as u}from"./atl-button-BH1eMw_C.js";import{i as d,n as f,r as p,t as m}from"./atl-toast-C8wfEw8o.js";var h;function init_toast_contract(){return(init_toast_contract=e((()=>{h={component:`AtlToast`,figmaNodeId:`55:47`,figmaOnly:[{name:`message`,reason:`Not a property of any spec interface — AtlToast has no spec interface at all. The message is the first argument of the toast service call; AtlToastOptions covers only the options object.`}],axisMap:[{figmaAxis:`position`,codeProp:`AtlToastContainer.position`,reason:`The 'position' axis lives on the sibling AtlToastContainer, not on AtlToast (the individual toast card the master otherwise draws) — atl-toast.ts declares AtlToast and AtlToastContainer as separate classes in the same file, and only the container takes a position input.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${b}?node-id=${e}`}}var g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j;function init_atl_toast_stories(){return(init_atl_toast_stories=e((()=>{s(),n(),d(),l(),init_toast_contract(),g=class ToastStoryWrapper{toastService=t(p);position=o(`bottom-right`);variant=o(`default`);duration=o(5e3);dismissible=o(!0);message=o(`This is a toast notification.`);showToast(){this.toastService.show(this.message(),{variant:this.variant(),duration:this.duration(),dismissible:this.dismissible()})}clearAll(){this.toastService.clear()}static propDecorators={position:[{type:i,args:[{isSignal:!0,alias:`position`,required:!1,transform:void 0}]}],variant:[{type:i,args:[{isSignal:!0,alias:`variant`,required:!1,transform:void 0}]}],duration:[{type:i,args:[{isSignal:!0,alias:`duration`,required:!1,transform:void 0}]}],dismissible:[{type:i,args:[{isSignal:!0,alias:`dismissible`,required:!1,transform:void 0}]}],message:[{type:i,args:[{isSignal:!0,alias:`message`,required:!1,transform:void 0}]}]}},g=a([c({selector:`toast-story-wrapper`,standalone:!0,changeDetection:r.OnPush,imports:[f,u],template:`
2
2
  <div style="display: flex; gap: 0.5rem; flex-wrap: wrap;">
3
3
  <button atl-button variant="primary" (click)="showToast()">
4
4
  Show Toast
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-BfbfS1eq.js";import{n as r,t as i}from"./atl-toggle-DufKJw7U.js";var a;function init_toggle_metadata(){return(init_toggle_metadata=e((()=>{a={specNames:[`AtlToggleSpec`],purpose:`On/off switch for a setting that takes effect immediately. Renders a switch control bound to a boolean form value.`,whenToUse:[`Flipping a setting that applies the moment it changes (dark mode, notifications, autosave).`,`Enabling or disabling a feature inside a settings panel or preferences row.`,`Acting as the trigger for revealing a dependent block of controls when on.`],antiPatterns:[{pattern:`Choosing among more than two states.`,useInstead:`AtlRadioGroup or AtlSelect — switches only encode true/false.`},{pattern:`Collecting a binary value that is only committed on form submit.`,useInstead:`AtlCheckbox — checkboxes carry the "stage a change" semantics; switches imply immediate effect.`}],relatedComponents:[`AtlCheckboxSpec`],variantMatrix:[{checked:!1},{checked:!0},{checked:!1,disabled:!0},{checked:!0,disabled:!0}],accessibility:{role:`switch`,keyboardBehavior:"Receives focus via Tab. Space and Enter both toggle the checked state. Disabled removes the control from activation. `aria-checked` reflects the boolean value."}}})))()}var o;function init_toggle_contract(){return(init_toggle_contract=e((()=>{o={component:`AtlToggle`,figmaNodeId:`55:41`,codeOnly:[{name:`required`,reason:`Not modelled (ADR-0058): required renders nothing in any Atelier form field. It is passed to the DOM as the HTML attribute and stops there.`}],axisMap:[{figmaAxis:`selection`,codeProp:`checked`,values:{checked:!0,unchecked:!1},reason:`The master's own axis values are 'checked'/'unchecked' (tools/figma/snapshot.json), which is checked: boolean in code — this schema's own worked example.`}],probes:[{part:`track`,selector:`.track`,reason:`the .atl-toggle root only sets typography and line-height for the row it wraps — the pill's border/background is painted on the child .track element (unprefixed in all three frameworks' CSS, so one relative selector resolves under every framework's component root); the native input[type='checkbox'] itself is visually hidden (clip-rect), so it is not a usable probe here the way it is for AtlCheckbox.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h,g,_;function init_atl_toggle_stories(){return(init_atl_toggle_stories=e((()=>{n(),r(),init_toggle_metadata(),init_toggle_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Inputs/AtlToggle`,component:i,tags:[`autodocs`],render:e=>({props:e,template:`<atl-toggle ${t(e)}>Enable notifications</atl-toggle>`}),argTypes:{checked:{control:`boolean`},disabled:{control:`boolean`},invalid:{control:`boolean`},required:{control:`boolean`}},args:{checked:!1,disabled:!1,invalid:!1,required:!1},parameters:{design:figmaNode(`55-41`),docs:{description:{component:a.purpose}},contract:o}},l={parameters:{design:figmaNode(`55-37`)}},u={args:{checked:!0},parameters:{design:figmaNode(`55-38`)}},d={args:{disabled:!0}},f={args:{disabled:!0,checked:!0}},p={args:{invalid:!0}},m={args:{invalid:!0},render:e=>({props:{...e,errors:[{kind:`required`,message:`You must enable this setting`}],touched:!0},template:`<atl-toggle ${t(e)} [errors]="errors" [touched]="touched">Enable notifications</atl-toggle>`})},h={args:{required:!0}},g={render:e=>({props:e,template:`<atl-toggle ${t(e)}>Playground label</atl-toggle>`})},_=[`Default`,`Checked`,`Disabled`,`DisabledChecked`,`Invalid`,`WithErrors`,`Required`,`Playground`],l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./dist-Ds584yJP.js";import{n as r,t as i}from"./atl-toggle-DufKJw7U.js";var a;function init_toggle_metadata(){return(init_toggle_metadata=e((()=>{a={specNames:[`AtlToggleSpec`],purpose:`On/off switch for a setting that takes effect immediately. Renders a switch control bound to a boolean form value.`,whenToUse:[`Flipping a setting that applies the moment it changes (dark mode, notifications, autosave).`,`Enabling or disabling a feature inside a settings panel or preferences row.`,`Acting as the trigger for revealing a dependent block of controls when on.`],antiPatterns:[{pattern:`Choosing among more than two states.`,useInstead:`AtlRadioGroup or AtlSelect — switches only encode true/false.`},{pattern:`Collecting a binary value that is only committed on form submit.`,useInstead:`AtlCheckbox — checkboxes carry the "stage a change" semantics; switches imply immediate effect.`}],relatedComponents:[`AtlCheckboxSpec`],variantMatrix:[{checked:!1},{checked:!0},{checked:!1,disabled:!0},{checked:!0,disabled:!0}],accessibility:{role:`switch`,keyboardBehavior:"Receives focus via Tab. Space and Enter both toggle the checked state. Disabled removes the control from activation. `aria-checked` reflects the boolean value."}}})))()}var o;function init_toggle_contract(){return(init_toggle_contract=e((()=>{o={component:`AtlToggle`,figmaNodeId:`55:41`,codeOnly:[{name:`required`,reason:`Not modelled (ADR-0058): required renders nothing in any Atelier form field. It is passed to the DOM as the HTML attribute and stops there.`}],axisMap:[{figmaAxis:`selection`,codeProp:`checked`,values:{checked:!0,unchecked:!1},reason:`The master's own axis values are 'checked'/'unchecked' (tools/figma/snapshot.json), which is checked: boolean in code — this schema's own worked example.`}],probes:[{part:`track`,selector:`.track`,reason:`the .atl-toggle root only sets typography and line-height for the row it wraps — the pill's border/background is painted on the child .track element (unprefixed in all three frameworks' CSS, so one relative selector resolves under every framework's component root); the native input[type='checkbox'] itself is visually hidden (clip-rect), so it is not a usable probe here the way it is for AtlCheckbox.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h,g,_;function init_atl_toggle_stories(){return(init_atl_toggle_stories=e((()=>{n(),r(),init_toggle_metadata(),init_toggle_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Inputs/AtlToggle`,component:i,tags:[`autodocs`],render:e=>({props:e,template:`<atl-toggle ${t(e)}>Enable notifications</atl-toggle>`}),argTypes:{checked:{control:`boolean`},disabled:{control:`boolean`},invalid:{control:`boolean`},required:{control:`boolean`}},args:{checked:!1,disabled:!1,invalid:!1,required:!1},parameters:{design:figmaNode(`55-41`),docs:{description:{component:a.purpose}},contract:o}},l={parameters:{design:figmaNode(`55-37`)}},u={args:{checked:!0},parameters:{design:figmaNode(`55-38`)}},d={args:{disabled:!0}},f={args:{disabled:!0,checked:!0}},p={args:{invalid:!0}},m={args:{invalid:!0},render:e=>({props:{...e,errors:[{kind:`required`,message:`You must enable this setting`}],touched:!0},template:`<atl-toggle ${t(e)} [errors]="errors" [touched]="touched">Enable notifications</atl-toggle>`})},h={args:{required:!0}},g={render:e=>({props:e,template:`<atl-toggle ${t(e)}>Playground label</atl-toggle>`})},_=[`Default`,`Checked`,`Disabled`,`DisabledChecked`,`Invalid`,`WithErrors`,`Required`,`Playground`],l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  design: figmaNode('55-37')
4
4
  }
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./atl-button-BzQndwCt.js";import{n as r,t as i}from"./atl-tooltip-DHtMg2_a.js";var a;function init_tooltip_metadata(){return(init_tooltip_metadata=e((()=>{a={specNames:[`AtlTooltipSpec`],purpose:`Hover- and focus-triggered label that names or briefly explains the element it is attached to. Appears on a delay, disappears when the pointer or focus moves away, and never takes focus itself.`,whenToUse:[`Naming an icon-only button or control so it reads correctly to assistive tech and on hover.`,`Annotating an abbreviation, truncated label, or terse column header with its full form.`,`Adding a short keyboard-shortcut hint to a button or menu item.`,`Explaining why a disabled control is disabled, without committing to a popover.`],antiPatterns:[{pattern:`Holding rich content, links, or interactive controls inside the tip.`,useInstead:`A popover or dialog — tooltips are non-interactive label text only.`},{pattern:`Communicating critical information that the user must read to complete a task.`,useInstead:`AtlAlert, inline help text, or visible labels — tooltips disappear on blur and are skipped on touch.`},{pattern:`Acting as the only accessible name for an interactive element.`,useInstead:"A proper `aria-label` or visible label — pair the tooltip with that label rather than relying on it alone."}],relatedComponents:[`AtlButtonSpec`,`AtlMenuSpec`],variantMatrix:[{atlTooltipPosition:`above`},{atlTooltipPosition:`below`},{atlTooltipPosition:`left`},{atlTooltipPosition:`right`}],accessibility:{role:`tooltip`,keyboard:[{key:`Hover`,action:`Show the tooltip on mouseenter and hide it on mouseleave.`},{key:`Tab (focus trigger)`,action:`Show the tooltip. It hides when focus leaves.`},{key:`Escape`,action:`Dismiss the tooltip while focus stays on the trigger.`}],notes:[`Uses aria-describedby — the tooltip supplements, never replaces, the trigger's accessible name.`,`The tooltip is not focusable itself — the host element owns the tab stop.`,`Tooltips are shown on focus, not only on hover, so keyboard users get the same affordance.`,`Never put interactive content (links, buttons) inside a tooltip — it cannot be reached by keyboard.`]}}})))()}var o;function init_tooltip_contract(){return(init_tooltip_contract=e((()=>{o={component:`AtlTooltip`,figmaNodeId:`55:52`,codeOnly:[{name:`atlTooltipDisabled`,reason:`Not modelled as a Boolean (ADR-0056): renders nothing. atl-tooltip.tsx early-returns on it, so there is no disabled tooltip to draw — only the absence of one.`}],axisMap:[{figmaAxis:`position`,codeProp:`atlTooltipPosition`,values:{above:`above`,below:`below`,left:`left`,right:`right`},reason:`The axis is named after the spec union AtlTooltipPosition, the way every other master derives its axis name from its union — not after the Angular directive-input field name. A prior rename to 'atlTooltipPosition' was corrected back to 'position' (ADR-0056); the code prop itself stays atlTooltipPosition. Settled difference (ADR-0145), behaviour not drawing: only Angular flips a clipped tooltip to the opposite side (CDK flexible overlay positions with a fallback and withPush); React and Vue apply position as a fixed CSS class and do not flip, deliberately. Figma draws one position per variant and has no clipped state.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h;function init_atl_tooltip_stories(){return(init_atl_tooltip_stories=e((()=>{r(),t(),init_tooltip_metadata(),init_tooltip_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Overlay/AtlTooltip`,component:i,tags:[`autodocs`],argTypes:{atlTooltipPosition:{control:`select`,options:[`above`,`below`,`left`,`right`]},atlTooltipShowDelay:{control:`number`},atlTooltipHideDelay:{control:`number`},atlTooltipDisabled:{control:`boolean`}},args:{atlTooltipPosition:`above`,atlTooltipShowDelay:300,atlTooltipHideDelay:0,atlTooltipDisabled:!1},parameters:{design:figmaNode(`55-52`),docs:{description:{component:a.purpose}},contract:o}},l={render:()=>({moduleMetadata:{imports:[n]},template:`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{n as t,t as n}from"./atl-button-BH1eMw_C.js";import{n as r,t as i}from"./atl-tooltip-DHtMg2_a.js";var a;function init_tooltip_metadata(){return(init_tooltip_metadata=e((()=>{a={specNames:[`AtlTooltipSpec`],purpose:`Hover- and focus-triggered label that names or briefly explains the element it is attached to. Appears on a delay, disappears when the pointer or focus moves away, and never takes focus itself.`,whenToUse:[`Naming an icon-only button or control so it reads correctly to assistive tech and on hover.`,`Annotating an abbreviation, truncated label, or terse column header with its full form.`,`Adding a short keyboard-shortcut hint to a button or menu item.`,`Explaining why a disabled control is disabled, without committing to a popover.`],antiPatterns:[{pattern:`Holding rich content, links, or interactive controls inside the tip.`,useInstead:`A popover or dialog — tooltips are non-interactive label text only.`},{pattern:`Communicating critical information that the user must read to complete a task.`,useInstead:`AtlAlert, inline help text, or visible labels — tooltips disappear on blur and are skipped on touch.`},{pattern:`Acting as the only accessible name for an interactive element.`,useInstead:"A proper `aria-label` or visible label — pair the tooltip with that label rather than relying on it alone."}],relatedComponents:[`AtlButtonSpec`,`AtlMenuSpec`],variantMatrix:[{atlTooltipPosition:`above`},{atlTooltipPosition:`below`},{atlTooltipPosition:`left`},{atlTooltipPosition:`right`}],accessibility:{role:`tooltip`,keyboard:[{key:`Hover`,action:`Show the tooltip on mouseenter and hide it on mouseleave.`},{key:`Tab (focus trigger)`,action:`Show the tooltip. It hides when focus leaves.`},{key:`Escape`,action:`Dismiss the tooltip while focus stays on the trigger.`}],notes:[`Uses aria-describedby — the tooltip supplements, never replaces, the trigger's accessible name.`,`The tooltip is not focusable itself — the host element owns the tab stop.`,`Tooltips are shown on focus, not only on hover, so keyboard users get the same affordance.`,`Never put interactive content (links, buttons) inside a tooltip — it cannot be reached by keyboard.`]}}})))()}var o;function init_tooltip_contract(){return(init_tooltip_contract=e((()=>{o={component:`AtlTooltip`,figmaNodeId:`55:52`,codeOnly:[{name:`atlTooltipDisabled`,reason:`Not modelled as a Boolean (ADR-0056): renders nothing. atl-tooltip.tsx early-returns on it, so there is no disabled tooltip to draw — only the absence of one.`}],axisMap:[{figmaAxis:`position`,codeProp:`atlTooltipPosition`,values:{above:`above`,below:`below`,left:`left`,right:`right`},reason:`The axis is named after the spec union AtlTooltipPosition, the way every other master derives its axis name from its union — not after the Angular directive-input field name. A prior rename to 'atlTooltipPosition' was corrected back to 'position' (ADR-0056); the code prop itself stays atlTooltipPosition. Settled difference (ADR-0145), behaviour not drawing: only Angular flips a clipped tooltip to the opposite side (CDK flexible overlay positions with a fallback and withPush); React and Vue apply position as a fixed CSS class and do not flip, deliberately. Figma draws one position per variant and has no clipped state.`}]}})))()}function figmaNode(e){return{type:`figma`,url:`${s}?node-id=${e}`}}var s,c,l,u,d,f,p,m,h;function init_atl_tooltip_stories(){return(init_atl_tooltip_stories=e((()=>{r(),t(),init_tooltip_metadata(),init_tooltip_contract(),s=`https://www.figma.com/design/QMnDD8uZQPldPrlCwZZ58T/Atelier-UI`,c={title:`Components/Overlay/AtlTooltip`,component:i,tags:[`autodocs`],argTypes:{atlTooltipPosition:{control:`select`,options:[`above`,`below`,`left`,`right`]},atlTooltipShowDelay:{control:`number`},atlTooltipHideDelay:{control:`number`},atlTooltipDisabled:{control:`boolean`}},args:{atlTooltipPosition:`above`,atlTooltipShowDelay:300,atlTooltipHideDelay:0,atlTooltipDisabled:!1},parameters:{design:figmaNode(`55-52`),docs:{description:{component:a.purpose}},contract:o}},l={render:()=>({moduleMetadata:{imports:[n]},template:`
2
2
  <div style="padding: 4rem; display: flex; justify-content: center;">
3
3
  <button atl-button atlTooltip="Save your changes">Save</button>
4
4
  </div>
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{Lt as t,O as n,hn as r,xn as i,z as a}from"./angular-platform-ChS-QjTV.js";import{a as ee,i as te,n as ne,r as re,t as ie}from"./atl-menu-CyZvGLYl.js";import{i as ae,n as oe,r as se,t as ce}from"./atl-accordion-dZ-zVPC1.js";import{n as o,t as s}from"./atl-alert-BnnQXl74.js";import{n as le,t as c}from"./atl-badge-BUEz7duN.js";import{n as ue,t as l}from"./atl-button-BzQndwCt.js";import{a as de,i as u,n as d,r as f,t as p}from"./atl-card-WY9a7AGL.js";import{i as fe,n as pe,r as me,t as he}from"./atl-option-o6FHvhn_.js";import{n as ge,t as m}from"./atl-checkbox-C-oNMpz8.js";import{n as _e,t as h}from"./atl-input-CiyTZXDL.js";import{n as ve,t as ye}from"./atl-toggle-DufKJw7U.js";import{a as be,i as xe,n as Se,r as Ce,t as we}from"./atl-dialog-B2-2GVTo.js";import{n as g,r as Te,t as _}from"./atl-tabs-C3TYjTt4.js";import{n as v,t as y}from"./atl-tooltip-DHtMg2_a.js";import{a as b,i as x,n as S,o as C,r as w,s as T,t as E}from"./atl-table-9yowirTt.js";import{n as D,t as O}from"./atl-progress-CEvOvPrm.js";var k;function init__virtual_angular_jit_style_inline_2263f8034c74ea0a(){return(init__virtual_angular_jit_style_inline_2263f8034c74ea0a=e((()=>{k=`
1
+ import{n as e}from"./rolldown-runtime-D_-wTCJc.js";import{Lt as t,O as n,hn as r,xn as i,z as a}from"./angular-platform-ChS-QjTV.js";import{a as ee,i as te,n as ne,r as re,t as ie}from"./atl-menu-BeSx1efJ.js";import{i as ae,n as oe,r as se,t as ce}from"./atl-accordion-dZ-zVPC1.js";import{n as o,t as s}from"./atl-alert-BnnQXl74.js";import{n as le,t as c}from"./atl-badge-BUEz7duN.js";import{n as ue,t as l}from"./atl-button-BH1eMw_C.js";import{a as de,i as u,n as d,r as f,t as p}from"./atl-card-WY9a7AGL.js";import{i as fe,n as pe,r as me,t as he}from"./atl-option-o6FHvhn_.js";import{n as ge,t as m}from"./atl-checkbox-C-oNMpz8.js";import{n as _e,t as h}from"./atl-input-CiyTZXDL.js";import{n as ve,t as ye}from"./atl-toggle-DufKJw7U.js";import{a as be,i as xe,n as Se,r as Ce,t as we}from"./atl-dialog-CFoUcryL.js";import{n as g,r as Te,t as _}from"./atl-tabs-C3TYjTt4.js";import{n as v,t as y}from"./atl-tooltip-DHtMg2_a.js";import{a as b,i as x,n as S,o as C,r as w,s as T,t as E}from"./atl-table-9yowirTt.js";import{n as D,t as O}from"./atl-progress-CEvOvPrm.js";var k;function init__virtual_angular_jit_style_inline_2263f8034c74ea0a(){return(init__virtual_angular_jit_style_inline_2263f8034c74ea0a=e((()=>{k=`
2
2
  .wrapper {
3
3
  max-width: 400px;
4
4
  margin: 0 auto;