@atom63/ui-foundation 0.2.0-beta.6 → 0.2.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/a11y/index.js +3 -0
- package/dist/a11y/index.js.map +1 -0
- package/dist/axes.js +3 -0
- package/dist/axes.js.map +1 -0
- package/dist/chunk-2DAT6SHN.js +16 -0
- package/dist/chunk-2DAT6SHN.js.map +1 -0
- package/dist/chunk-2WET3R4I.js +31 -0
- package/dist/chunk-2WET3R4I.js.map +1 -0
- package/dist/chunk-3L7CCXFC.js +23 -0
- package/dist/chunk-3L7CCXFC.js.map +1 -0
- package/dist/chunk-3Q3N3XVB.js +27 -0
- package/dist/chunk-3Q3N3XVB.js.map +1 -0
- package/dist/chunk-3ZDR5WEP.js +1088 -0
- package/dist/chunk-3ZDR5WEP.js.map +1 -0
- package/dist/chunk-46LPKTCR.js +37 -0
- package/dist/chunk-46LPKTCR.js.map +1 -0
- package/dist/chunk-4R77TT6O.js +35 -0
- package/dist/chunk-4R77TT6O.js.map +1 -0
- package/dist/chunk-5NPMVJQ3.js +27 -0
- package/dist/chunk-5NPMVJQ3.js.map +1 -0
- package/dist/chunk-5UWJ4VK2.js +13 -0
- package/dist/chunk-5UWJ4VK2.js.map +1 -0
- package/dist/chunk-5YEQFLJ4.js +294 -0
- package/dist/chunk-5YEQFLJ4.js.map +1 -0
- package/dist/chunk-65UMT45O.js +86 -0
- package/dist/chunk-65UMT45O.js.map +1 -0
- package/dist/chunk-6NKIGJAI.js +17 -0
- package/dist/chunk-6NKIGJAI.js.map +1 -0
- package/dist/chunk-6VM565IP.js +20 -0
- package/dist/chunk-6VM565IP.js.map +1 -0
- package/dist/chunk-72RJUJWS.js +24 -0
- package/dist/chunk-72RJUJWS.js.map +1 -0
- package/dist/chunk-7DQ5JOWH.js +42 -0
- package/dist/chunk-7DQ5JOWH.js.map +1 -0
- package/dist/chunk-7JTUON5I.js +18 -0
- package/dist/chunk-7JTUON5I.js.map +1 -0
- package/dist/chunk-7KPYYQZW.js +72 -0
- package/dist/chunk-7KPYYQZW.js.map +1 -0
- package/dist/chunk-7RQS66MZ.js +31 -0
- package/dist/chunk-7RQS66MZ.js.map +1 -0
- package/dist/chunk-AC7OTXMN.js +19 -0
- package/dist/chunk-AC7OTXMN.js.map +1 -0
- package/dist/chunk-B76DKHNA.js +13 -0
- package/dist/chunk-B76DKHNA.js.map +1 -0
- package/dist/chunk-BLJQQKX3.js +13 -0
- package/dist/chunk-BLJQQKX3.js.map +1 -0
- package/dist/chunk-BTLPH7FI.js +47 -0
- package/dist/chunk-BTLPH7FI.js.map +1 -0
- package/dist/chunk-CHGRTBOS.js +20 -0
- package/dist/chunk-CHGRTBOS.js.map +1 -0
- package/dist/chunk-CP5DC323.js +42 -0
- package/dist/chunk-CP5DC323.js.map +1 -0
- package/dist/chunk-CQHJDZ7B.js +20 -0
- package/dist/chunk-CQHJDZ7B.js.map +1 -0
- package/dist/chunk-D5DRRDHN.js +28 -0
- package/dist/chunk-D5DRRDHN.js.map +1 -0
- package/dist/chunk-DD56ZLIO.js +23 -0
- package/dist/chunk-DD56ZLIO.js.map +1 -0
- package/dist/chunk-DNI22FZ5.js +26 -0
- package/dist/chunk-DNI22FZ5.js.map +1 -0
- package/dist/chunk-DSVNAHHE.js +22 -0
- package/dist/chunk-DSVNAHHE.js.map +1 -0
- package/dist/chunk-DYN6LBOR.js +28 -0
- package/dist/chunk-DYN6LBOR.js.map +1 -0
- package/dist/chunk-E4AWSJAR.js +42 -0
- package/dist/chunk-E4AWSJAR.js.map +1 -0
- package/dist/chunk-EF3TFN44.js +3 -0
- package/dist/chunk-EF3TFN44.js.map +1 -0
- package/dist/chunk-ELW2VEJ2.js +24 -0
- package/dist/chunk-ELW2VEJ2.js.map +1 -0
- package/dist/chunk-FLUWE5GD.js +29 -0
- package/dist/chunk-FLUWE5GD.js.map +1 -0
- package/dist/chunk-FYXJAQNO.js +20 -0
- package/dist/chunk-FYXJAQNO.js.map +1 -0
- package/dist/chunk-H6OLGUAK.js +19 -0
- package/dist/chunk-H6OLGUAK.js.map +1 -0
- package/dist/chunk-H7K7FAPS.js +19 -0
- package/dist/chunk-H7K7FAPS.js.map +1 -0
- package/dist/chunk-HEUYWBMF.js +13 -0
- package/dist/chunk-HEUYWBMF.js.map +1 -0
- package/dist/chunk-IDYSL2FG.js +32 -0
- package/dist/chunk-IDYSL2FG.js.map +1 -0
- package/dist/chunk-IKRMPZVV.js +51 -0
- package/dist/chunk-IKRMPZVV.js.map +1 -0
- package/dist/chunk-IN2Y6XV3.js +45 -0
- package/dist/chunk-IN2Y6XV3.js.map +1 -0
- package/dist/chunk-IWC24CM2.js +17 -0
- package/dist/chunk-IWC24CM2.js.map +1 -0
- package/dist/chunk-JMIA4UWF.js +36 -0
- package/dist/chunk-JMIA4UWF.js.map +1 -0
- package/dist/chunk-JUB3LPZY.js +46 -0
- package/dist/chunk-JUB3LPZY.js.map +1 -0
- package/dist/chunk-JVEEVL2V.js +44 -0
- package/dist/chunk-JVEEVL2V.js.map +1 -0
- package/dist/chunk-KEPODUI6.js +76 -0
- package/dist/chunk-KEPODUI6.js.map +1 -0
- package/dist/chunk-KYLXTTZO.js +16 -0
- package/dist/chunk-KYLXTTZO.js.map +1 -0
- package/dist/chunk-M7YVEOVJ.js +53 -0
- package/dist/chunk-M7YVEOVJ.js.map +1 -0
- package/dist/chunk-MOASMLLU.js +26 -0
- package/dist/chunk-MOASMLLU.js.map +1 -0
- package/dist/chunk-MOD5OJN7.js +31 -0
- package/dist/chunk-MOD5OJN7.js.map +1 -0
- package/dist/chunk-N7257CAT.js +18 -0
- package/dist/chunk-N7257CAT.js.map +1 -0
- package/dist/chunk-NJCVWXLO.js +37 -0
- package/dist/chunk-NJCVWXLO.js.map +1 -0
- package/dist/chunk-NSEZVKWJ.js +44 -0
- package/dist/chunk-NSEZVKWJ.js.map +1 -0
- package/dist/chunk-O5Y2NKBU.js +22 -0
- package/dist/chunk-O5Y2NKBU.js.map +1 -0
- package/dist/chunk-OPSAZLFA.js +25 -0
- package/dist/chunk-OPSAZLFA.js.map +1 -0
- package/dist/chunk-PAAAX5KZ.js +32 -0
- package/dist/chunk-PAAAX5KZ.js.map +1 -0
- package/dist/chunk-QEGBADDM.js +37 -0
- package/dist/chunk-QEGBADDM.js.map +1 -0
- package/dist/chunk-QGJSIMKP.js +20 -0
- package/dist/chunk-QGJSIMKP.js.map +1 -0
- package/dist/chunk-QRWRZPK7.js +35 -0
- package/dist/chunk-QRWRZPK7.js.map +1 -0
- package/dist/chunk-SEQBAVTO.js +33 -0
- package/dist/chunk-SEQBAVTO.js.map +1 -0
- package/dist/chunk-SI6E6MJ4.js +29 -0
- package/dist/chunk-SI6E6MJ4.js.map +1 -0
- package/dist/chunk-SKTQEV5E.js +33 -0
- package/dist/chunk-SKTQEV5E.js.map +1 -0
- package/dist/chunk-SSCSRB5X.js +17 -0
- package/dist/chunk-SSCSRB5X.js.map +1 -0
- package/dist/chunk-TDYUGH2R.js +31 -0
- package/dist/chunk-TDYUGH2R.js.map +1 -0
- package/dist/chunk-TRSZM3SL.js +13 -0
- package/dist/chunk-TRSZM3SL.js.map +1 -0
- package/dist/chunk-UHNX7GI4.js +66 -0
- package/dist/chunk-UHNX7GI4.js.map +1 -0
- package/dist/chunk-UWVGVDSL.js +28 -0
- package/dist/chunk-UWVGVDSL.js.map +1 -0
- package/dist/chunk-UYMYO4AF.js +20 -0
- package/dist/chunk-UYMYO4AF.js.map +1 -0
- package/dist/chunk-V2WGYVRP.js +44 -0
- package/dist/chunk-V2WGYVRP.js.map +1 -0
- package/dist/chunk-V7G3HRPI.js +149 -0
- package/dist/chunk-V7G3HRPI.js.map +1 -0
- package/dist/chunk-VQIK4NBJ.js +51 -0
- package/dist/chunk-VQIK4NBJ.js.map +1 -0
- package/dist/chunk-VR2KY2B2.js +23 -0
- package/dist/chunk-VR2KY2B2.js.map +1 -0
- package/dist/chunk-WKOUVKCN.js +34 -0
- package/dist/chunk-WKOUVKCN.js.map +1 -0
- package/dist/chunk-XGY4RUOC.js +23 -0
- package/dist/chunk-XGY4RUOC.js.map +1 -0
- package/dist/chunk-XHNF4DJX.js +44 -0
- package/dist/chunk-XHNF4DJX.js.map +1 -0
- package/dist/chunk-XLXGKZJO.js +27 -0
- package/dist/chunk-XLXGKZJO.js.map +1 -0
- package/dist/chunk-XX3RI35Q.js +44 -0
- package/dist/chunk-XX3RI35Q.js.map +1 -0
- package/dist/chunk-Y4V7OWL4.js +1445 -0
- package/dist/chunk-Y4V7OWL4.js.map +1 -0
- package/dist/chunk-YJ22VUJ7.js +26 -0
- package/dist/chunk-YJ22VUJ7.js.map +1 -0
- package/dist/chunk-YNXEPOKY.js +20 -0
- package/dist/chunk-YNXEPOKY.js.map +1 -0
- package/dist/chunk-Z2MKSS6D.js +36 -0
- package/dist/chunk-Z2MKSS6D.js.map +1 -0
- package/dist/chunk-Z6AUAWK3.js +37 -0
- package/dist/chunk-Z6AUAWK3.js.map +1 -0
- package/dist/chunk-Z74KMG65.js +35 -0
- package/dist/chunk-Z74KMG65.js.map +1 -0
- package/dist/chunk-Z7NOXPUC.js +41 -0
- package/dist/chunk-Z7NOXPUC.js.map +1 -0
- package/dist/chunk-ZF4KKGKC.js +38 -0
- package/dist/chunk-ZF4KKGKC.js.map +1 -0
- package/dist/components/accordion/index.js +3 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/alert/alert-contract.js +3 -0
- package/dist/components/alert/alert-contract.js.map +1 -0
- package/dist/components/alert-dialog/index.js +3 -0
- package/dist/components/alert-dialog/index.js.map +1 -0
- package/dist/components/amount/amount-contract.js +3 -0
- package/dist/components/amount/amount-contract.js.map +1 -0
- package/dist/components/animated-check/index.js +3 -0
- package/dist/components/animated-check/index.js.map +1 -0
- package/dist/components/app-view/app-view-contract.js +3 -0
- package/dist/components/app-view/app-view-contract.js.map +1 -0
- package/dist/components/autocomplete/index.js +3 -0
- package/dist/components/autocomplete/index.js.map +1 -0
- package/dist/components/avatar/index.js +3 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/badge-contract.js +3 -0
- package/dist/components/badge/badge-contract.js.map +1 -0
- package/dist/components/breadcrumb/index.js +3 -0
- package/dist/components/breadcrumb/index.js.map +1 -0
- package/dist/components/button/button-contract.js +3 -0
- package/dist/components/button/button-contract.js.map +1 -0
- package/dist/components/button-group/button-group-contract.js +3 -0
- package/dist/components/button-group/button-group-contract.js.map +1 -0
- package/dist/components/calendar/index.js +3 -0
- package/dist/components/calendar/index.js.map +1 -0
- package/dist/components/card/card-contract.js +3 -0
- package/dist/components/card/card-contract.js.map +1 -0
- package/dist/components/carousel/index.js +3 -0
- package/dist/components/carousel/index.js.map +1 -0
- package/dist/components/chat-composer/chat-composer-contract.js +3 -0
- package/dist/components/chat-composer/chat-composer-contract.js.map +1 -0
- package/dist/components/chat-message/chat-message-contract.js +3 -0
- package/dist/components/chat-message/chat-message-contract.js.map +1 -0
- package/dist/components/chat-steps/chat-steps-contract.js +3 -0
- package/dist/components/chat-steps/chat-steps-contract.js.map +1 -0
- package/dist/components/chat-typing-indicator/chat-typing-indicator-contract.js +3 -0
- package/dist/components/chat-typing-indicator/chat-typing-indicator-contract.js.map +1 -0
- package/dist/components/checkbox/checkbox-contract.js +3 -0
- package/dist/components/checkbox/checkbox-contract.js.map +1 -0
- package/dist/components/collapsible/index.js +3 -0
- package/dist/components/collapsible/index.js.map +1 -0
- package/dist/components/command/index.js +3 -0
- package/dist/components/command/index.js.map +1 -0
- package/dist/components/connected-panel/index.js +3 -0
- package/dist/components/connected-panel/index.js.map +1 -0
- package/dist/components/context-menu/index.js +3 -0
- package/dist/components/context-menu/index.js.map +1 -0
- package/dist/components/copy-button/index.js +3 -0
- package/dist/components/copy-button/index.js.map +1 -0
- package/dist/components/destination-link/index.js +3 -0
- package/dist/components/destination-link/index.js.map +1 -0
- package/dist/components/dialog/index.js +3 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/drawer/index.js +3 -0
- package/dist/components/drawer/index.js.map +1 -0
- package/dist/components/dropdown-menu/index.js +3 -0
- package/dist/components/dropdown-menu/index.js.map +1 -0
- package/dist/components/empty/index.js +3 -0
- package/dist/components/empty/index.js.map +1 -0
- package/dist/components/feedback-state/feedback-state-contract.js +3 -0
- package/dist/components/feedback-state/feedback-state-contract.js.map +1 -0
- package/dist/components/field/index.js +3 -0
- package/dist/components/field/index.js.map +1 -0
- package/dist/components/form/index.js +3 -0
- package/dist/components/form/index.js.map +1 -0
- package/dist/components/frame/frame-contract.js +3 -0
- package/dist/components/frame/frame-contract.js.map +1 -0
- package/dist/components/frame/index.js +4 -0
- package/dist/components/frame/index.js.map +1 -0
- package/dist/components/hover-card/index.js +3 -0
- package/dist/components/hover-card/index.js.map +1 -0
- package/dist/components/input/input-contract.js +3 -0
- package/dist/components/input/input-contract.js.map +1 -0
- package/dist/components/input-otp/input-otp-contract.js +3 -0
- package/dist/components/input-otp/input-otp-contract.js.map +1 -0
- package/dist/components/item/item-contract.js +3 -0
- package/dist/components/item/item-contract.js.map +1 -0
- package/dist/components/kbd/kbd-contract.js +3 -0
- package/dist/components/kbd/kbd-contract.js.map +1 -0
- package/dist/components/label/label-contract.js +3 -0
- package/dist/components/label/label-contract.js.map +1 -0
- package/dist/components/load-more-trigger/load-more-trigger-contract.js +3 -0
- package/dist/components/load-more-trigger/load-more-trigger-contract.js.map +1 -0
- package/dist/components/marquee/marquee-contract.js +3 -0
- package/dist/components/marquee/marquee-contract.js.map +1 -0
- package/dist/components/menu/menu-contract.js +3 -0
- package/dist/components/menu/menu-contract.js.map +1 -0
- package/dist/components/menubar/menubar-contract.js +3 -0
- package/dist/components/menubar/menubar-contract.js.map +1 -0
- package/dist/components/message/message-contract.js +3 -0
- package/dist/components/message/message-contract.js.map +1 -0
- package/dist/components/navigation-menu/navigation-menu-contract.js +3 -0
- package/dist/components/navigation-menu/navigation-menu-contract.js.map +1 -0
- package/dist/components/pagination/pagination-contract.js +4 -0
- package/dist/components/pagination/pagination-contract.js.map +1 -0
- package/dist/components/panel-setting-button/panel-setting-button-contract.js +3 -0
- package/dist/components/panel-setting-button/panel-setting-button-contract.js.map +1 -0
- package/dist/components/popover/popover-contract.js +3 -0
- package/dist/components/popover/popover-contract.js.map +1 -0
- package/dist/components/portal-container/portal-container-contract.js +3 -0
- package/dist/components/portal-container/portal-container-contract.js.map +1 -0
- package/dist/components/preview-card/preview-card-contract.js +3 -0
- package/dist/components/preview-card/preview-card-contract.js.map +1 -0
- package/dist/components/progress/progress-contract.js +3 -0
- package/dist/components/progress/progress-contract.js.map +1 -0
- package/dist/components/progressive-blur/progressive-blur-contract.js +3 -0
- package/dist/components/progressive-blur/progressive-blur-contract.js.map +1 -0
- package/dist/components/radio/radio-contract.js +3 -0
- package/dist/components/radio/radio-contract.js.map +1 -0
- package/dist/components/rating/rating-contract.js +3 -0
- package/dist/components/rating/rating-contract.js.map +1 -0
- package/dist/components/resizable/index.js +3 -0
- package/dist/components/resizable/index.js.map +1 -0
- package/dist/components/scroll-area/index.js +3 -0
- package/dist/components/scroll-area/index.js.map +1 -0
- package/dist/components/scrollable-list/index.js +3 -0
- package/dist/components/scrollable-list/index.js.map +1 -0
- package/dist/components/search-field/index.js +4 -0
- package/dist/components/search-field/index.js.map +1 -0
- package/dist/components/segmented-control/segmented-control-contract.js +3 -0
- package/dist/components/segmented-control/segmented-control-contract.js.map +1 -0
- package/dist/components/select/select-contract.js +3 -0
- package/dist/components/select/select-contract.js.map +1 -0
- package/dist/components/selection/index.js +4 -0
- package/dist/components/selection/index.js.map +1 -0
- package/dist/components/separator/separator-contract.js +3 -0
- package/dist/components/separator/separator-contract.js.map +1 -0
- package/dist/components/sheet/index.js +3 -0
- package/dist/components/sheet/index.js.map +1 -0
- package/dist/components/sidebar/sidebar-contract.js +3 -0
- package/dist/components/sidebar/sidebar-contract.js.map +1 -0
- package/dist/components/sidebar-nav-tree/index.js +3 -0
- package/dist/components/sidebar-nav-tree/index.js.map +1 -0
- package/dist/components/skeleton/index.js +3 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/slider/index.js +3 -0
- package/dist/components/slider/index.js.map +1 -0
- package/dist/components/spinner/index.js +3 -0
- package/dist/components/spinner/index.js.map +1 -0
- package/dist/components/switch/switch-contract.js +4 -0
- package/dist/components/switch/switch-contract.js.map +1 -0
- package/dist/components/table/index.js +3 -0
- package/dist/components/table/index.js.map +1 -0
- package/dist/components/tabs/index.js +3 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/text-ticker/index.js +3 -0
- package/dist/components/text-ticker/index.js.map +1 -0
- package/dist/components/textarea/index.js +3 -0
- package/dist/components/textarea/index.js.map +1 -0
- package/dist/components/toaster/index.js +3 -0
- package/dist/components/toaster/index.js.map +1 -0
- package/dist/components/toggle/toggle-contract.js +3 -0
- package/dist/components/toggle/toggle-contract.js.map +1 -0
- package/dist/components/toggle-group/toggle-group-contract.js +3 -0
- package/dist/components/toggle-group/toggle-group-contract.js.map +1 -0
- package/dist/components/tooltip/index.js +3 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/conformance/index.js +3 -0
- package/dist/conformance/index.js.map +1 -0
- package/dist/environment.js +4 -0
- package/dist/environment.js.map +1 -0
- package/dist/index.d.ts +215 -64
- package/dist/index.js +85 -5204
- package/dist/index.js.map +1 -1
- package/dist/visual-archetypes.js +3 -0
- package/dist/visual-archetypes.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/a11y/accordion.ts","../src/a11y/dialog.ts","../src/a11y/alert-dialog.ts","../src/a11y/checkbox.ts","../src/a11y/combobox-select-only.ts","../src/a11y/menu.ts","../src/a11y/radio.ts","../src/a11y/switch.ts","../src/a11y/tabs.ts","../src/a11y/index.ts"],"names":["checked","selected"],"mappings":";AAEA,SAAS,QAAA,CAAS,IAAsB,KAAA,EAA6C;AACnF,EAAA,OAAO,EAAE,MAAA,EAAQ,EAAE,IAAA,EAAM,Q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;AAAA,EACV,sBAAA,EAAwB,yBAAA;AAAA,EACxB,cAAA,EAAgB,kBAAA;AAAA,EAChB,aAAA,EAAe,iBAAA;AAAA,EACf,KAAA,EAAO,YAAA;AAAA,EACP,MAAA,EAAQ,aAAA;AAAA,EACR,IAAA,EAAM;AACR;AAGO,SAAS,eAAe,EAAA,EAAwC;AACrE,EAAA,OAAO,aAAa,EAAE,CAAA;AACxB","file":"chunk-Y4V7OWL4.js","sourcesContent":["import type { A11yAttributeCheck, A11yPatternContract } from './types'\n\nfunction expanded(at: 'first' | number, value: 'false' | 'true'): A11yAttributeCheck {\n return { target: { part: 'header', at }, attribute: 'aria-expanded', equals: value }\n}\n\n/**\n * Accordion: a stack of headers that each show or hide a panel. The accordion\n * has at least three sections, and only the first one is expanded when a story\n * starts.\n *\n * Option `expand`: with `single`, expanding a panel collapses the one that was\n * open; with `multiple`, several panels can be open at once.\n *\n * Option `collapse`: with `collapsible`, Enter or Space on the header of an\n * expanded panel collapses it; with `keep-one`, one panel stays expanded and\n * its header reports aria-disabled. The APG allows both.\n *\n * The APG page no longer lists arrow keys between headers; an implementation\n * may add them, and this contract does not check them.\n */\nexport const accordionPattern: A11yPatternContract = {\n id: 'accordion',\n name: 'Accordion',\n source: 'https://www.w3.org/WAI/ARIA/apg/patterns/accordion/',\n options: { collapse: ['collapsible', 'keep-one'], expand: ['single', 'multiple'] },\n parts: {\n heading: {\n description: 'The heading, with an aria-level, that wraps each header button.',\n multiple: true,\n name: 'required',\n role: 'heading',\n },\n header: {\n description: 'The header buttons, each titled by the section name.',\n multiple: true,\n name: 'required',\n role: 'button',\n },\n panel: {\n description: 'The expanded panel, a region labelled by its header button.',\n name: 'required',\n role: 'region',\n },\n },\n tree: [\n { part: 'heading', children: [{ part: 'header', states: ['expanded'] }] },\n { part: 'panel' },\n ],\n structure: [\n {\n id: 'header-expanded-state',\n requirement: 'required',\n rule: 'Every header button has aria-expanded: true when its panel is visible, false when it is hidden.',\n target: { part: 'header' },\n attribute: 'aria-expanded',\n equals: ['true', 'false'],\n },\n {\n id: 'header-controls-panel',\n requirement: 'required',\n rule: 'Every header button has aria-controls referring to the element that holds its panel.',\n target: { part: 'header' },\n attribute: 'aria-controls',\n },\n {\n id: 'expanded-header-controls-panel',\n requirement: 'required',\n rule: 'The header button of the expanded panel has aria-controls referring to that panel.',\n target: { part: 'header', at: 'first' },\n attribute: 'aria-controls',\n references: 'panel',\n },\n {\n id: 'panel-labelled-by-header',\n requirement: 'optional',\n rule: 'A panel with the region role has aria-labelledby referring to its header button.',\n target: { part: 'panel' },\n attribute: 'aria-labelledby',\n references: 'header',\n },\n ],\n keyboard: [\n {\n id: 'enter-expands',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n given: { focus: { part: 'header', at: 1 }, attributes: [expanded(1, 'false')] },\n result: 'On the header of a collapsed panel, expands the panel.',\n then: { focus: { part: 'header', at: 1 }, attributes: [expanded(1, 'true')] },\n },\n {\n id: 'space-expands',\n key: 'Space',\n keys: '{ }',\n requirement: 'required',\n given: { focus: { part: 'header', at: 1 }, attributes: [expanded(1, 'false')] },\n result: 'On the header of a collapsed panel, expands the panel.',\n then: { focus: { part: 'header', at: 1 }, attributes: [expanded(1, 'true')] },\n },\n {\n id: 'enter-collapses-other',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n when: { expand: 'single' },\n given: { focus: { part: 'header', at: 1 }, attributes: [expanded('first', 'true')] },\n result:\n 'When only one panel can be expanded, expanding a panel collapses the one that was open.',\n then: { attributes: [expanded(1, 'true'), expanded('first', 'false')] },\n },\n {\n id: 'enter-keeps-other',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n when: { expand: 'multiple' },\n given: { focus: { part: 'header', at: 1 }, attributes: [expanded('first', 'true')] },\n result:\n 'When several panels can be expanded, expanding a panel leaves the open one expanded.',\n then: { attributes: [expanded(1, 'true'), expanded('first', 'true')] },\n },\n {\n id: 'enter-collapses',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n when: { collapse: 'collapsible' },\n given: { focus: { part: 'header', at: 'first' }, attributes: [expanded('first', 'true')] },\n result: 'On the header of an expanded panel, collapses the panel.',\n then: { focus: { part: 'header', at: 'first' }, attributes: [expanded('first', 'false')] },\n },\n {\n id: 'space-collapses',\n key: 'Space',\n keys: '{ }',\n requirement: 'required',\n when: { collapse: 'collapsible' },\n given: { focus: { part: 'header', at: 'first' }, attributes: [expanded('first', 'true')] },\n result: 'On the header of an expanded panel, collapses the panel.',\n then: { focus: { part: 'header', at: 'first' }, attributes: [expanded('first', 'false')] },\n },\n {\n id: 'enter-keeps-open',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n when: { collapse: 'keep-one' },\n given: { focus: { part: 'header', at: 'first' }, attributes: [expanded('first', 'true')] },\n result: 'On the header of the one expanded panel, the panel stays expanded.',\n then: {\n focus: { part: 'header', at: 'first' },\n attributes: [\n expanded('first', 'true'),\n { target: { part: 'header', at: 'first' }, attribute: 'aria-disabled', equals: 'true' },\n ],\n },\n },\n {\n id: 'tab-next-header',\n key: 'Tab',\n keys: '{Tab}',\n requirement: 'required',\n given: { focus: { part: 'header', at: 1 }, attributes: [expanded(1, 'false')] },\n result: 'Moves focus to the next focusable element: past a collapsed panel, the next header.',\n then: { focus: { part: 'header', at: 2 } },\n },\n {\n id: 'shift-tab-previous-header',\n key: 'Shift + Tab',\n keys: '{Shift>}{Tab}{/Shift}',\n requirement: 'required',\n given: { focus: { part: 'header', at: 2 }, attributes: [expanded(1, 'false')] },\n result:\n 'Moves focus to the previous focusable element: past a collapsed panel, the previous header.',\n then: { focus: { part: 'header', at: 1 } },\n },\n ],\n ios: {\n parts: {\n header: {\n description:\n 'A disclosure group header: a button named by its label. iOS does not report expanded state to XCUITest, so the checks follow the content it reveals.',\n name: 'required',\n type: 'button',\n },\n panel: {\n description: \"Text of a disclosure group's content.\",\n name: 'required',\n type: 'staticText',\n },\n },\n structure: [\n { target: { part: 'header', label: 'Implementation details' }, enabled: true },\n { target: { part: 'header', label: 'Unavailable details' }, enabled: false },\n {\n target: { part: 'panel', label: 'Native SwiftUI renderer with shared product intent.' },\n exists: false,\n },\n ],\n interactions: [\n {\n id: 'activation-expands',\n action: 'tap',\n on: { part: 'header', label: 'Implementation details' },\n result: 'Expands the section and shows its content.',\n then: [\n {\n target: { part: 'panel', label: 'Native SwiftUI renderer with shared product intent.' },\n exists: true,\n },\n ],\n },\n {\n id: 'activation-collapses',\n action: 'tap',\n on: { part: 'header', label: 'Implementation details' },\n result: 'Collapses the section and hides its content.',\n then: [\n {\n target: { part: 'panel', label: 'Native SwiftUI renderer with shared product intent.' },\n exists: false,\n },\n ],\n },\n ],\n },\n}\n","import type { A11yKeyboardInteraction, A11yPatternContract } from './types'\n\n/**\n * The keyboard map of a modal dialog, for a dialog part with the given id.\n * The alert dialog pattern reuses it: the APG gives both the same keys.\n */\nexport function modalDialogKeyboard(dialog: string): readonly A11yKeyboardInteraction[] {\n return [\n {\n id: 'open-moves-focus-inside',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n given: { open: false, focus: { part: 'trigger' } },\n result: 'Activating the trigger opens the dialog and moves focus to an element inside it.',\n then: { open: true, focus: { inside: dialog } },\n },\n {\n id: 'tab-wraps',\n key: 'Tab',\n keys: '{Tab}',\n requirement: 'required',\n given: { open: true, focus: { part: dialog, tabbable: 'last' } },\n result: 'Tab on the last tabbable element moves focus to the first one: focus stays inside.',\n then: { open: true, focus: { part: dialog, tabbable: 'first' } },\n },\n {\n id: 'shift-tab-wraps',\n key: 'Shift + Tab',\n keys: '{Shift>}{Tab}{/Shift}',\n requirement: 'required',\n given: { open: true, focus: { part: dialog, tabbable: 'first' } },\n result: 'Shift + Tab on the first tabbable element moves focus to the last one.',\n then: { open: true, focus: { part: dialog, tabbable: 'last' } },\n },\n {\n id: 'escape-closes',\n key: 'Escape',\n keys: '{Escape}',\n requirement: 'required',\n given: { open: true, focus: { inside: dialog } },\n result: 'Escape closes the dialog and returns focus to the element that opened it.',\n then: { open: false, focus: { part: 'trigger' } },\n },\n ]\n}\n\n/** Dialog (Modal): a window over the page that the user must dismiss to return to it. */\nexport const dialogModalPattern: A11yPatternContract = {\n id: 'dialog-modal',\n name: 'Dialog (Modal)',\n source: 'https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/',\n parts: {\n trigger: {\n description: 'The element that opens the dialog and gets focus back when it closes.',\n name: 'required',\n role: 'button',\n },\n dialog: {\n description: 'The dialog container; every element of the dialog is inside it.',\n name: 'required',\n role: 'dialog',\n whileOpen: true,\n },\n },\n popup: 'dialog',\n opener: { part: 'trigger', keys: '{Enter}' },\n tree: [{ part: 'dialog' }],\n structure: [\n {\n id: 'dialog-is-modal',\n requirement: 'required',\n rule: 'The dialog container has aria-modal set to true.',\n target: { part: 'dialog' },\n attribute: 'aria-modal',\n equals: 'true',\n },\n ],\n keyboard: modalDialogKeyboard('dialog'),\n ios: {\n parts: {\n trigger: {\n description: 'The button that opens the sheet.',\n name: 'required',\n type: 'button',\n },\n title: {\n description: \"The sheet's title, which names it.\",\n name: 'required',\n scope: 'app',\n type: 'staticText',\n },\n close: {\n description: \"The sheet's close action.\",\n name: 'required',\n scope: 'app',\n type: 'button',\n },\n },\n structure: [{ target: { part: 'trigger', label: 'Open project sheet' }, exists: true }],\n interactions: [\n {\n id: 'activation-opens-sheet',\n action: 'tap',\n on: { part: 'trigger', label: 'Open project sheet' },\n result: 'Opens the sheet, named by its title, with a way to close it.',\n then: [\n { target: { part: 'title', label: 'Project details' }, exists: true },\n { target: { part: 'close', label: 'Done' }, exists: true },\n ],\n },\n {\n id: 'close-dismisses-sheet',\n action: 'tap',\n on: { part: 'close', label: 'Done' },\n result: 'Closes the sheet and returns to the view that opened it.',\n then: [\n { target: { part: 'title', label: 'Project details' }, exists: false },\n { target: { part: 'trigger', label: 'Open project sheet' }, exists: true },\n ],\n },\n ],\n },\n}\n","import { modalDialogKeyboard } from './dialog'\nimport type { A11yPatternContract } from './types'\n\n/**\n * Alert and Message Dialogs: a modal dialog that interrupts the user with an\n * important message and asks for a response. The APG gives it the keyboard map\n * of the modal dialog.\n */\nexport const alertDialogPattern: A11yPatternContract = {\n id: 'alertdialog',\n name: 'Alert and Message Dialogs',\n source: 'https://www.w3.org/WAI/ARIA/apg/patterns/alertdialog/',\n parts: {\n trigger: {\n description: 'The element that opens the alert dialog and gets focus back when it closes.',\n name: 'required',\n role: 'button',\n },\n dialog: {\n description: 'The alert dialog container; every element of the dialog is inside it.',\n name: 'required',\n role: 'alertdialog',\n whileOpen: true,\n },\n },\n popup: 'dialog',\n opener: { part: 'trigger', keys: '{Enter}' },\n tree: [{ part: 'dialog' }],\n structure: [\n {\n id: 'dialog-is-modal',\n requirement: 'required',\n rule: 'The alert dialog container has aria-modal set to true.',\n target: { part: 'dialog' },\n attribute: 'aria-modal',\n equals: 'true',\n },\n {\n id: 'dialog-describes-message',\n requirement: 'required',\n rule: 'aria-describedby refers to the element that holds the alert message.',\n target: { part: 'dialog' },\n attribute: 'aria-describedby',\n resolves: true,\n },\n ],\n keyboard: modalDialogKeyboard('dialog'),\n ios: {\n parts: {\n trigger: {\n description: 'The button that asks for confirmation.',\n name: 'required',\n type: 'button',\n },\n alert: {\n description: 'The system alert, named by its title.',\n name: 'required',\n scope: 'app',\n type: 'alert',\n },\n cancel: {\n description: \"The alert's cancel action.\",\n name: 'required',\n scope: 'app',\n type: 'button',\n },\n },\n structure: [{ target: { part: 'trigger', at: 'first' }, exists: true }],\n interactions: [\n {\n id: 'activation-opens-alert',\n action: 'tap',\n on: { part: 'trigger', at: 'first' },\n result: 'Opens the alert dialog, named by its title.',\n then: [{ target: { part: 'alert', at: 'first' }, exists: true }],\n },\n {\n id: 'cancel-closes-alert',\n action: 'tap',\n on: { part: 'cancel', label: 'Cancel' },\n result: 'Closes the alert without performing the action.',\n then: [{ target: { part: 'alert' }, exists: false }],\n },\n ],\n },\n}\n","import type { A11yAttributeCheck, A11yPatternContract } from './types'\n\nfunction checked(value: 'false' | 'true'): A11yAttributeCheck {\n return { target: { part: 'checkbox', at: 'first' }, attribute: 'aria-checked', equals: value }\n}\n\n/**\n * Checkbox, in its dual-state form. The checkbox is checked when a story\n * starts.\n *\n * A partially checked checkbox reports `aria-checked=\"mixed\"`, so the state\n * check allows that value too. The keyboard map is the dual-state one: the\n * APG's tri-state example, where Space cycles through the mixed state, is a\n * parent checkbox that controls a group, not a single checkbox.\n */\nexport const checkboxPattern: A11yPatternContract = {\n id: 'checkbox',\n name: 'Checkbox',\n source: 'https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/',\n parts: {\n checkbox: {\n description: 'The checkbox, labelled by its content, by aria-labelledby or by aria-label.',\n name: 'required',\n role: 'checkbox',\n },\n },\n tree: [{ part: 'checkbox', states: ['checked'] }],\n structure: [\n {\n id: 'checkbox-checked-state',\n requirement: 'required',\n rule: 'The checkbox has aria-checked set to true when checked, false when not checked and mixed when partially checked.',\n target: { part: 'checkbox' },\n attribute: 'aria-checked',\n equals: ['true', 'false', 'mixed'],\n },\n ],\n keyboard: [\n {\n id: 'space-toggles',\n key: 'Space',\n keys: '{ }',\n requirement: 'required',\n given: { focus: { part: 'checkbox', at: 'first' }, attributes: [checked('true')] },\n result: 'Changes the state of the checkbox.',\n then: { focus: { part: 'checkbox', at: 'first' }, attributes: [checked('false')] },\n },\n ],\n}\n","import type { A11yAttributeCheck, A11yPatternContract } from './types'\n\nconst EXPANDED = {\n target: { part: 'combobox' },\n attribute: 'aria-expanded',\n equals: 'true',\n} as const\nconst COLLAPSED = { ...EXPANDED, equals: 'false' } as const\n\nfunction selected(at: 'first' | number): A11yAttributeCheck {\n return { target: { part: 'option', at }, attribute: 'aria-selected', equals: 'true' }\n}\n\n/**\n * Select-Only Combobox: a combobox that is not editable and opens a listbox of\n * options, the APG's accessible replacement for an HTML select. The keys and\n * attributes come from the Combobox pattern and its select-only example. The\n * listbox has at least three options, and the first one is selected when a\n * story starts.\n *\n * \"Focus\" on an option is the APG's visual focus: DOM focus on the option, or\n * DOM focus on the combobox with aria-activedescendant referring to the\n * option. The APG uses aria-activedescendant, which `combobox-active-descendant`\n * checks.\n *\n * Down Arrow and Up Arrow stop at the ends of the list: the select-only\n * example does not wrap, and the Combobox pattern lets the last option either\n * do nothing or return focus to the combobox. Home and End on the closed\n * combobox come from the example alone, so they are optional here. Not\n * covered: printable characters (type-ahead), and Page Up and Page Down.\n */\nexport const comboboxSelectOnlyPattern: A11yPatternContract = {\n id: 'combobox-select-only',\n name: 'Select-Only Combobox',\n source: 'https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/',\n parts: {\n combobox: {\n description:\n 'The element that shows the value and opens the listbox, labelled by a label, aria-labelledby or aria-label.',\n name: 'required',\n role: 'combobox',\n },\n listbox: {\n description: 'The popup that lists the options.',\n name: 'none',\n role: 'listbox',\n whileOpen: true,\n },\n option: {\n description: 'The options of the listbox, each named by its text.',\n multiple: true,\n name: 'required',\n role: 'option',\n whileOpen: true,\n within: 'listbox',\n },\n },\n popup: 'listbox',\n opener: { part: 'combobox', keys: '{Enter}' },\n tree: [\n { part: 'combobox', states: ['expanded'] },\n { part: 'listbox', children: [{ part: 'option', states: ['selected'] }] },\n ],\n structure: [\n {\n id: 'combobox-expanded',\n requirement: 'required',\n rule: 'While the listbox is displayed, the combobox has aria-expanded set to true.',\n ...EXPANDED,\n },\n {\n id: 'combobox-controls-listbox',\n requirement: 'required',\n rule: 'The combobox has aria-controls referring to the listbox.',\n target: { part: 'combobox' },\n attribute: 'aria-controls',\n references: 'listbox',\n },\n {\n id: 'combobox-has-popup',\n requirement: 'optional',\n rule: 'The combobox may set aria-haspopup to listbox, its implicit value.',\n target: { part: 'combobox' },\n attribute: 'aria-haspopup',\n equals: 'listbox',\n },\n {\n id: 'combobox-active-descendant',\n requirement: 'required',\n rule: 'While an option has visual focus, DOM focus stays on the combobox and its aria-activedescendant refers to that option.',\n target: { part: 'combobox' },\n attribute: 'aria-activedescendant',\n references: 'option',\n },\n {\n id: 'option-selected',\n requirement: 'required',\n rule: 'The selected option has aria-selected set to true.',\n target: { part: 'option', at: 'selected' },\n attribute: 'aria-selected',\n equals: 'true',\n },\n ],\n keyboard: [\n {\n id: 'enter-opens',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n given: { open: false, focus: { part: 'combobox' } },\n result:\n 'Opens the listbox without changing the selection; visual focus is on the selected option.',\n then: {\n open: true,\n focus: { part: 'option', at: 'selected' },\n attributes: [EXPANDED, selected('first')],\n },\n },\n {\n id: 'space-opens',\n key: 'Space',\n keys: '{ }',\n requirement: 'required',\n given: { open: false, focus: { part: 'combobox' } },\n result:\n 'Opens the listbox without changing the selection; visual focus is on the selected option.',\n then: {\n open: true,\n focus: { part: 'option', at: 'selected' },\n attributes: [EXPANDED, selected('first')],\n },\n },\n {\n id: 'down-arrow-opens',\n key: 'Down Arrow',\n keys: '{ArrowDown}',\n requirement: 'required',\n given: { open: false, focus: { part: 'combobox' } },\n result:\n 'Opens the listbox without changing the selection; visual focus is on the selected option.',\n then: {\n open: true,\n focus: { part: 'option', at: 'selected' },\n attributes: [EXPANDED, selected('first')],\n },\n },\n {\n id: 'alt-down-arrow-opens',\n key: 'Alt + Down Arrow',\n keys: '{Alt>}{ArrowDown}{/Alt}',\n requirement: 'optional',\n given: { open: false, focus: { part: 'combobox' } },\n result: 'Opens the listbox without changing the selection.',\n then: { open: true, attributes: [EXPANDED, selected('first')] },\n },\n {\n id: 'up-arrow-opens',\n key: 'Up Arrow',\n keys: '{ArrowUp}',\n requirement: 'optional',\n given: { open: false, focus: { part: 'combobox' } },\n result: 'Opens the listbox and moves visual focus to the first option.',\n then: { open: true, focus: { part: 'option', at: 'first' } },\n },\n {\n id: 'home-opens-at-first',\n key: 'Home',\n keys: '{Home}',\n requirement: 'optional',\n given: { open: false, focus: { part: 'combobox' } },\n result: 'Opens the listbox and moves visual focus to the first option.',\n then: { open: true, focus: { part: 'option', at: 'first' } },\n },\n {\n id: 'end-opens-at-last',\n key: 'End',\n keys: '{End}',\n requirement: 'optional',\n given: { open: false, focus: { part: 'combobox' } },\n result: 'Opens the listbox and moves visual focus to the last option.',\n then: { open: true, focus: { part: 'option', at: 'last' } },\n },\n {\n id: 'down-arrow-next',\n key: 'Down Arrow',\n keys: '{ArrowDown}',\n requirement: 'required',\n given: { open: true, focus: { part: 'option', at: 'first' } },\n result: 'Moves visual focus to the next option.',\n then: { open: true, focus: { part: 'option', at: 1 } },\n },\n {\n id: 'down-arrow-stops',\n key: 'Down Arrow',\n keys: '{ArrowDown}',\n requirement: 'required',\n given: { open: true, focus: { part: 'option', at: 'last' } },\n result: 'On the last option, visual focus does not move.',\n then: { open: true, focus: { part: 'option', at: 'last' } },\n },\n {\n id: 'up-arrow-previous',\n key: 'Up Arrow',\n keys: '{ArrowUp}',\n requirement: 'required',\n given: { open: true, focus: { part: 'option', at: 1 } },\n result: 'Moves visual focus to the previous option.',\n then: { open: true, focus: { part: 'option', at: 'first' } },\n },\n {\n id: 'up-arrow-stops',\n key: 'Up Arrow',\n keys: '{ArrowUp}',\n requirement: 'required',\n given: { open: true, focus: { part: 'option', at: 'first' } },\n result: 'On the first option, visual focus does not move.',\n then: { open: true, focus: { part: 'option', at: 'first' } },\n },\n {\n id: 'home-first',\n key: 'Home',\n keys: '{Home}',\n requirement: 'optional',\n given: { open: true, focus: { part: 'option', at: 'last' } },\n result: 'Moves visual focus to the first option.',\n then: { open: true, focus: { part: 'option', at: 'first' } },\n },\n {\n id: 'end-last',\n key: 'End',\n keys: '{End}',\n requirement: 'optional',\n given: { open: true, focus: { part: 'option', at: 'first' } },\n result: 'Moves visual focus to the last option.',\n then: { open: true, focus: { part: 'option', at: 'last' } },\n },\n {\n id: 'enter-selects',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n given: { open: true, focus: { part: 'option', at: 1 } },\n result: 'Selects the focused option, closes the listbox and returns focus to the combobox.',\n then: { open: false, focus: { part: 'combobox' }, attributes: [COLLAPSED, selected(1)] },\n },\n {\n id: 'space-selects',\n key: 'Space',\n keys: '{ }',\n requirement: 'required',\n given: { open: true, focus: { part: 'option', at: 1 } },\n result: 'Selects the focused option, closes the listbox and returns focus to the combobox.',\n then: { open: false, focus: { part: 'combobox' }, attributes: [COLLAPSED, selected(1)] },\n },\n {\n id: 'alt-up-arrow-selects',\n key: 'Alt + Up Arrow',\n keys: '{Alt>}{ArrowUp}{/Alt}',\n requirement: 'optional',\n given: { open: true, focus: { part: 'option', at: 1 } },\n result: 'Selects the focused option, closes the listbox and returns focus to the combobox.',\n then: { open: false, focus: { part: 'combobox' }, attributes: [COLLAPSED, selected(1)] },\n },\n {\n id: 'tab-selects',\n key: 'Tab',\n keys: '{Tab}',\n requirement: 'required',\n given: { open: true, focus: { part: 'option', at: 1 } },\n result: 'Selects the focused option and closes the listbox.',\n then: { open: false, attributes: [COLLAPSED, selected(1)] },\n },\n {\n id: 'escape-closes',\n key: 'Escape',\n keys: '{Escape}',\n requirement: 'required',\n given: { open: true, focus: { part: 'option', at: 1 } },\n result:\n 'Closes the listbox without changing the selection and returns focus to the combobox.',\n then: {\n open: false,\n focus: { part: 'combobox' },\n attributes: [COLLAPSED, selected('first')],\n },\n },\n ],\n ios: {\n parts: {\n trigger: {\n description:\n 'A menu-style picker: a button named by its label, with the current value in the label.',\n name: 'required',\n type: 'button',\n },\n option: {\n description: 'An option in the list the picker opens; the current one is selected.',\n name: 'required',\n scope: 'popup',\n type: 'button',\n },\n },\n structure: [\n { target: { part: 'trigger', at: 'first' }, labelIncludes: 'Draft' },\n { target: { part: 'trigger', at: 'last' }, enabled: false },\n ],\n interactions: [\n {\n id: 'activation-opens-options',\n action: 'tap',\n on: { part: 'trigger', at: 'first' },\n result: 'Opens the list of options with the current one selected.',\n then: [\n { target: { part: 'option' }, exists: true },\n { target: { part: 'option', label: 'Draft' }, selected: true },\n { target: { part: 'option', label: 'Active' }, selected: false },\n ],\n },\n {\n id: 'choosing-an-option-closes-and-updates',\n action: 'tap',\n on: { part: 'option', label: 'Active' },\n result: 'Selects the option, closes the list and shows the new value.',\n then: [\n { target: { part: 'option' }, exists: false },\n { target: { part: 'trigger', at: 'first' }, labelIncludes: 'Active' },\n ],\n },\n ],\n },\n}\n","import type { A11yPatternContract } from './types'\n\nconst TRIGGER_EXPANDED = {\n target: { part: 'trigger' },\n attribute: 'aria-expanded',\n equals: 'true',\n} as const\nconst TRIGGER_COLLAPSED = { ...TRIGGER_EXPANDED, equals: 'false' } as const\n\n/**\n * Menu Button: a button that opens a menu. The keys inside the open menu come\n * from the Menu and Menubar pattern, which the menu button page defers to.\n *\n * Option `wrap`: the APG lets Down Arrow and Up Arrow either wrap from the last\n * item to the first (`wrap`) or stop at the ends (`stop`).\n */\nexport const menuButtonPattern: A11yPatternContract = {\n id: 'menu-button',\n name: 'Menu Button',\n source: 'https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/',\n options: { wrap: ['wrap', 'stop'] },\n parts: {\n trigger: {\n description: 'The button that opens the menu.',\n name: 'required',\n role: 'button',\n },\n menu: {\n description: 'The menu, labelled by the button that controls it or by aria-label.',\n name: 'required',\n role: 'menu',\n whileOpen: true,\n },\n item: {\n description: 'The items of the menu.',\n multiple: true,\n name: 'required',\n role: 'menuitem',\n whileOpen: true,\n within: 'menu',\n },\n },\n popup: 'menu',\n opener: { part: 'trigger', keys: '{Enter}' },\n tree: [{ part: 'menu', children: [{ part: 'item' }] }],\n structure: [\n {\n id: 'trigger-has-popup',\n requirement: 'required',\n rule: 'The button has aria-haspopup set to menu or true.',\n target: { part: 'trigger' },\n attribute: 'aria-haspopup',\n equals: ['menu', 'true'],\n },\n {\n id: 'trigger-expanded',\n requirement: 'required',\n rule: 'While the menu is displayed, the button has aria-expanded set to true.',\n ...TRIGGER_EXPANDED,\n },\n {\n id: 'trigger-controls-menu',\n requirement: 'optional',\n rule: 'The button may have aria-controls referring to the menu.',\n target: { part: 'trigger' },\n attribute: 'aria-controls',\n references: 'menu',\n },\n ],\n keyboard: [\n {\n id: 'enter-opens',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n given: { open: false, focus: { part: 'trigger' } },\n result: 'Opens the menu and moves focus to the first item.',\n then: { open: true, focus: { part: 'item', at: 'first' }, attributes: [TRIGGER_EXPANDED] },\n },\n {\n id: 'space-opens',\n key: 'Space',\n keys: '{ }',\n requirement: 'required',\n given: { open: false, focus: { part: 'trigger' } },\n result: 'Opens the menu and moves focus to the first item.',\n then: { open: true, focus: { part: 'item', at: 'first' }, attributes: [TRIGGER_EXPANDED] },\n },\n {\n id: 'down-arrow-opens',\n key: 'Down Arrow',\n keys: '{ArrowDown}',\n requirement: 'optional',\n given: { open: false, focus: { part: 'trigger' } },\n result: 'Opens the menu and moves focus to the first item.',\n then: { open: true, focus: { part: 'item', at: 'first' } },\n },\n {\n id: 'up-arrow-opens-at-last',\n key: 'Up Arrow',\n keys: '{ArrowUp}',\n requirement: 'optional',\n given: { open: false, focus: { part: 'trigger' } },\n result: 'Opens the menu and moves focus to the last item.',\n then: { open: true, focus: { part: 'item', at: 'last' } },\n },\n {\n id: 'down-arrow-next',\n key: 'Down Arrow',\n keys: '{ArrowDown}',\n requirement: 'required',\n given: { open: true, focus: { part: 'item', at: 'first' } },\n result: 'Moves focus to the next item.',\n then: { open: true, focus: { part: 'item', at: 1 } },\n },\n {\n id: 'down-arrow-wraps',\n key: 'Down Arrow',\n keys: '{ArrowDown}',\n requirement: 'optional',\n when: { wrap: 'wrap' },\n given: { open: true, focus: { part: 'item', at: 'last' } },\n result: 'On the last item, moves focus to the first item.',\n then: { open: true, focus: { part: 'item', at: 'first' } },\n },\n {\n id: 'down-arrow-stops',\n key: 'Down Arrow',\n keys: '{ArrowDown}',\n requirement: 'optional',\n when: { wrap: 'stop' },\n given: { open: true, focus: { part: 'item', at: 'last' } },\n result: 'On the last item, focus stays on the last item.',\n then: { open: true, focus: { part: 'item', at: 'last' } },\n },\n {\n id: 'up-arrow-previous',\n key: 'Up Arrow',\n keys: '{ArrowUp}',\n requirement: 'required',\n given: { open: true, focus: { part: 'item', at: 1 } },\n result: 'Moves focus to the previous item.',\n then: { open: true, focus: { part: 'item', at: 'first' } },\n },\n {\n id: 'up-arrow-wraps',\n key: 'Up Arrow',\n keys: '{ArrowUp}',\n requirement: 'optional',\n when: { wrap: 'wrap' },\n given: { open: true, focus: { part: 'item', at: 'first' } },\n result: 'On the first item, moves focus to the last item.',\n then: { open: true, focus: { part: 'item', at: 'last' } },\n },\n {\n id: 'up-arrow-stops',\n key: 'Up Arrow',\n keys: '{ArrowUp}',\n requirement: 'optional',\n when: { wrap: 'stop' },\n given: { open: true, focus: { part: 'item', at: 'first' } },\n result: 'On the first item, focus stays on the first item.',\n then: { open: true, focus: { part: 'item', at: 'first' } },\n },\n {\n id: 'home-first',\n key: 'Home',\n keys: '{Home}',\n requirement: 'optional',\n given: { open: true, focus: { part: 'item', at: 'last' } },\n result: 'Moves focus to the first item.',\n then: { open: true, focus: { part: 'item', at: 'first' } },\n },\n {\n id: 'end-last',\n key: 'End',\n keys: '{End}',\n requirement: 'optional',\n given: { open: true, focus: { part: 'item', at: 'first' } },\n result: 'Moves focus to the last item.',\n then: { open: true, focus: { part: 'item', at: 'last' } },\n },\n {\n id: 'enter-activates',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n given: { open: true, focus: { part: 'item', at: 'first' } },\n result: 'Activates the item and closes the menu.',\n then: { open: false },\n },\n {\n id: 'escape-closes',\n key: 'Escape',\n keys: '{Escape}',\n requirement: 'required',\n given: { open: true, focus: { part: 'item', at: 'first' } },\n result: 'Closes the menu and returns focus to the button that opened it.',\n then: { open: false, focus: { part: 'trigger' }, attributes: [TRIGGER_COLLAPSED] },\n },\n {\n id: 'tab-closes',\n key: 'Tab',\n keys: '{Tab}',\n requirement: 'required',\n given: { open: true, focus: { part: 'item', at: 'first' } },\n result: 'Moves focus out of the menu and closes it.',\n then: { open: false },\n },\n ],\n ios: {\n parts: {\n trigger: {\n description: 'The menu button, named by its label.',\n name: 'required',\n type: 'button',\n },\n item: {\n description:\n 'A menu item: a button named by its label; a checked choice is selected and an unavailable one disabled.',\n name: 'required',\n scope: 'popup',\n type: 'button',\n },\n },\n structure: [{ target: { part: 'trigger', at: 'first' }, exists: true }],\n interactions: [\n {\n id: 'activation-opens-menu',\n action: 'tap',\n on: { part: 'trigger', at: 'first' },\n result: 'Opens the menu.',\n then: [\n { target: { part: 'item' }, exists: true },\n { target: { part: 'item', label: 'Show details' }, selected: true },\n { target: { part: 'item', label: 'Unavailable action' }, enabled: false },\n ],\n },\n {\n id: 'activating-an-item-closes-menu',\n action: 'tap',\n on: { part: 'item', label: 'Duplicate' },\n result: 'Performs the action and closes the menu.',\n then: [{ target: { part: 'item' }, exists: false }],\n },\n ],\n },\n}\n","import type { A11yAttributeCheck, A11yKeyboardInteraction, A11yPatternContract } from './types'\n\nfunction checked(at: 'first' | 'last' | number): A11yAttributeCheck {\n return { target: { part: 'radio', at }, attribute: 'aria-checked', equals: 'true' }\n}\n\ntype Position = 'first' | 'last' | number\n\n/** An arrow key that moves focus from `from` to `to` and checks the radio it lands on. */\nfunction arrow(\n id: string,\n key: string,\n keys: string,\n from: Position,\n to: Position,\n result: string\n): A11yKeyboardInteraction {\n return {\n id,\n key,\n keys,\n requirement: 'required',\n given: { focus: { part: 'radio', at: from } },\n result,\n then: {\n focus: { part: 'radio', at: to },\n attributes: [checked(to), { ...checked(from), equals: 'false' }],\n },\n }\n}\n\n/**\n * Radio Group, outside a toolbar, in the left-to-right direction. The group\n * has at least three radios and the second one is checked when a story starts.\n *\n * Not covered: Tab into a group with no checked radio (focus goes to the first\n * radio), which needs a story without a default value.\n */\nexport const radioPattern: A11yPatternContract = {\n id: 'radio',\n name: 'Radio Group',\n source: 'https://www.w3.org/WAI/ARIA/apg/patterns/radio/',\n parts: {\n radiogroup: {\n description: 'The container of the radios, labelled by aria-labelledby or aria-label.',\n name: 'required',\n role: 'radiogroup',\n },\n radio: {\n description: 'The radios, each labelled by its content, by aria-labelledby or by aria-label.',\n multiple: true,\n name: 'required',\n role: 'radio',\n within: 'radiogroup',\n },\n },\n tree: [{ part: 'radiogroup', children: [{ part: 'radio', states: ['checked'] }] }],\n structure: [\n {\n id: 'radio-checked-state',\n requirement: 'required',\n rule: 'Every radio has aria-checked: true on the checked radio, false on the others.',\n target: { part: 'radio' },\n attribute: 'aria-checked',\n equals: ['true', 'false'],\n },\n ],\n keyboard: [\n {\n id: 'tab-enters-at-checked',\n key: 'Tab',\n keys: '{Tab}',\n requirement: 'required',\n given: { focus: 'page-start', attributes: [checked(1)] },\n result: 'When focus moves into the group, it lands on the checked radio.',\n then: { focus: { part: 'radio', at: 'checked' } },\n },\n {\n id: 'space-checks',\n key: 'Space',\n keys: '{ }',\n requirement: 'required',\n given: {\n focus: { part: 'radio', at: 'first' },\n attributes: [{ ...checked('first'), equals: 'false' }],\n },\n result: 'Checks the focused radio if it is not already checked.',\n then: { focus: { part: 'radio', at: 'first' }, attributes: [checked('first')] },\n },\n arrow(\n 'down-arrow-next',\n 'Down Arrow',\n '{ArrowDown}',\n 1,\n 2,\n 'Moves focus to the next radio, unchecks the previous one and checks the new one.'\n ),\n arrow(\n 'right-arrow-next',\n 'Right Arrow',\n '{ArrowRight}',\n 1,\n 2,\n 'Moves focus to the next radio, unchecks the previous one and checks the new one.'\n ),\n arrow(\n 'down-arrow-wraps',\n 'Down Arrow',\n '{ArrowDown}',\n 'last',\n 'first',\n 'On the last radio, moves focus to the first radio and checks it.'\n ),\n arrow(\n 'up-arrow-previous',\n 'Up Arrow',\n '{ArrowUp}',\n 1,\n 'first',\n 'Moves focus to the previous radio, unchecks the previous one and checks the new one.'\n ),\n arrow(\n 'left-arrow-previous',\n 'Left Arrow',\n '{ArrowLeft}',\n 1,\n 'first',\n 'Moves focus to the previous radio, unchecks the previous one and checks the new one.'\n ),\n arrow(\n 'up-arrow-wraps',\n 'Up Arrow',\n '{ArrowUp}',\n 'first',\n 'last',\n 'On the first radio, moves focus to the last radio and checks it.'\n ),\n ],\n ios: {\n parts: {\n group: {\n description: \"The group's label, shown as the heading of its options.\",\n name: 'required',\n type: 'staticText',\n },\n option: {\n description:\n 'An option: a button named by its label; the chosen one is selected and an unavailable one disabled.',\n name: 'required',\n type: 'button',\n },\n },\n structure: [\n { target: { part: 'group', label: 'Default project view' }, exists: true },\n { target: { part: 'option', label: 'Grid' }, selected: true },\n { target: { part: 'option', label: 'List' }, selected: false },\n { target: { part: 'option', label: 'Timeline' }, enabled: false },\n ],\n interactions: [\n {\n id: 'activation-selects-option',\n action: 'tap',\n on: { part: 'option', label: 'List' },\n result: 'Selects the option and clears the previous selection.',\n then: [\n { target: { part: 'option', label: 'List' }, selected: true },\n { target: { part: 'option', label: 'Grid' }, selected: false },\n ],\n },\n ],\n },\n}\n","import type { A11yAttributeCheck, A11yPatternContract } from './types'\n\nfunction checked(value: 'false' | 'true'): A11yAttributeCheck {\n return { target: { part: 'switch', at: 'first' }, attribute: 'aria-checked', equals: value }\n}\n\n/**\n * Switch: an on/off control. The switch is on when a story starts.\n *\n * The APG also allows an HTML checkbox input with the `checked` attribute in\n * place of `aria-checked`; this contract expects the ARIA state, which is what\n * a custom switch element carries.\n */\nexport const switchPattern: A11yPatternContract = {\n id: 'switch',\n name: 'Switch',\n source: 'https://www.w3.org/WAI/ARIA/apg/patterns/switch/',\n parts: {\n switch: {\n description: 'The switch, labelled by its content, by aria-labelledby or by aria-label.',\n name: 'required',\n role: 'switch',\n },\n },\n tree: [{ part: 'switch', states: ['checked'] }],\n structure: [\n {\n id: 'switch-checked-state',\n requirement: 'required',\n rule: 'The switch has aria-checked set to true when on and to false when off.',\n target: { part: 'switch' },\n attribute: 'aria-checked',\n equals: ['true', 'false'],\n },\n ],\n keyboard: [\n {\n id: 'space-toggles',\n key: 'Space',\n keys: '{ }',\n requirement: 'required',\n given: { focus: { part: 'switch', at: 'first' }, attributes: [checked('true')] },\n result: 'Changes the state of the switch.',\n then: { focus: { part: 'switch', at: 'first' }, attributes: [checked('false')] },\n },\n {\n id: 'enter-toggles',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'optional',\n given: { focus: { part: 'switch', at: 'first' }, attributes: [checked('true')] },\n result: 'Changes the state of the switch.',\n then: { focus: { part: 'switch', at: 'first' }, attributes: [checked('false')] },\n },\n ],\n ios: {\n parts: {\n switch: {\n description: 'A switch, named by its title (and description), with a value of 1 or 0.',\n name: 'required',\n type: 'switch',\n },\n },\n structure: [\n { target: { part: 'switch', at: 'first' }, value: '1' },\n { target: { part: 'switch', at: 'last' }, value: '0' },\n ],\n interactions: [\n {\n id: 'activation-turns-off',\n action: 'tap',\n on: { part: 'switch', at: 'first' },\n result: 'Changes the state of the switch.',\n then: [{ target: { part: 'switch', at: 'first' }, value: '0' }],\n },\n {\n id: 'activation-turns-on',\n action: 'tap',\n on: { part: 'switch', at: 'first' },\n result: 'Changes the state of the switch back.',\n then: [{ target: { part: 'switch', at: 'first' }, value: '1' }],\n },\n ],\n },\n}\n","import type { A11yAttributeCheck, A11yPatternContract } from './types'\n\nfunction selected(at: 'first' | 'last' | number): A11yAttributeCheck {\n return { target: { part: 'tab', at }, attribute: 'aria-selected', equals: 'true' }\n}\n\n/**\n * Tabs, in the horizontal orientation. The first tab is the selected one when\n * a story starts.\n *\n * Option `activation`: with `automatic`, a tab is selected when it receives\n * focus; with `manual`, the arrow keys only move focus and Enter or Space\n * selects the focused tab. The APG allows both and recommends automatic when\n * panels show without a noticeable delay.\n */\nexport const tabsPattern: A11yPatternContract = {\n id: 'tabs',\n name: 'Tabs',\n source: 'https://www.w3.org/WAI/ARIA/apg/patterns/tabs/',\n options: { activation: ['automatic', 'manual'] },\n parts: {\n tablist: {\n description: 'The container of the tabs, labelled by aria-labelledby or aria-label.',\n name: 'required',\n role: 'tablist',\n },\n tab: {\n description: 'The tabs, each the label of one panel.',\n multiple: true,\n name: 'required',\n role: 'tab',\n within: 'tablist',\n },\n panel: {\n description: 'The panel of the selected tab, labelled by that tab.',\n name: 'required',\n role: 'tabpanel',\n },\n },\n tree: [{ part: 'tablist', children: [{ part: 'tab', states: ['selected'] }] }, { part: 'panel' }],\n structure: [\n {\n id: 'tab-selection-state',\n requirement: 'required',\n rule: 'Every tab has aria-selected: true on the selected tab, false on the others.',\n target: { part: 'tab' },\n attribute: 'aria-selected',\n equals: ['true', 'false'],\n },\n {\n id: 'tab-controls-panel',\n requirement: 'required',\n rule: 'Each tab has aria-controls referring to its panel.',\n target: { part: 'tab', at: 'selected' },\n attribute: 'aria-controls',\n references: 'panel',\n },\n {\n id: 'panel-labelled-by-tab',\n requirement: 'required',\n rule: 'Each panel has aria-labelledby referring to its tab.',\n target: { part: 'panel' },\n attribute: 'aria-labelledby',\n references: 'tab',\n },\n ],\n keyboard: [\n {\n id: 'tab-enters-at-selected',\n key: 'Tab',\n keys: '{Tab}',\n requirement: 'required',\n given: { focus: 'page-start' },\n result: 'When focus moves into the tab list, it lands on the selected tab.',\n then: { focus: { part: 'tab', at: 'selected' } },\n },\n {\n id: 'tab-leaves-to-panel',\n key: 'Tab',\n keys: '{Tab}',\n requirement: 'required',\n given: { focus: { part: 'tab', at: 'selected' } },\n result: 'From the tab list, Tab moves focus to the next element in the page: the panel.',\n then: { focus: { part: 'panel' } },\n },\n {\n id: 'right-arrow-next',\n key: 'Right Arrow',\n keys: '{ArrowRight}',\n requirement: 'required',\n given: { focus: { part: 'tab', at: 'first' }, attributes: [selected('first')] },\n result: 'Moves focus to the next tab.',\n then: { focus: { part: 'tab', at: 1 } },\n },\n {\n id: 'right-arrow-selects',\n key: 'Right Arrow',\n keys: '{ArrowRight}',\n requirement: 'required',\n when: { activation: 'automatic' },\n given: { focus: { part: 'tab', at: 'first' }, attributes: [selected('first')] },\n result: 'With automatic activation, the tab that receives focus is selected.',\n then: { focus: { part: 'tab', at: 1 }, attributes: [selected(1)] },\n },\n {\n id: 'right-arrow-keeps-selection',\n key: 'Right Arrow',\n keys: '{ArrowRight}',\n requirement: 'required',\n when: { activation: 'manual' },\n given: { focus: { part: 'tab', at: 'first' }, attributes: [selected('first')] },\n result: 'With manual activation, moving focus does not change the selected tab.',\n then: { focus: { part: 'tab', at: 1 }, attributes: [selected('first')] },\n },\n {\n id: 'right-arrow-wraps',\n key: 'Right Arrow',\n keys: '{ArrowRight}',\n requirement: 'required',\n given: { focus: { part: 'tab', at: 'last' } },\n result: 'On the last tab, moves focus to the first tab.',\n then: { focus: { part: 'tab', at: 'first' } },\n },\n {\n id: 'left-arrow-previous',\n key: 'Left Arrow',\n keys: '{ArrowLeft}',\n requirement: 'required',\n given: { focus: { part: 'tab', at: 1 } },\n result: 'Moves focus to the previous tab.',\n then: { focus: { part: 'tab', at: 'first' } },\n },\n {\n id: 'left-arrow-wraps',\n key: 'Left Arrow',\n keys: '{ArrowLeft}',\n requirement: 'required',\n given: { focus: { part: 'tab', at: 'first' } },\n result: 'On the first tab, moves focus to the last tab.',\n then: { focus: { part: 'tab', at: 'last' } },\n },\n {\n id: 'home-first',\n key: 'Home',\n keys: '{Home}',\n requirement: 'optional',\n given: { focus: { part: 'tab', at: 'last' } },\n result: 'Moves focus to the first tab.',\n then: { focus: { part: 'tab', at: 'first' } },\n },\n {\n id: 'end-last',\n key: 'End',\n keys: '{End}',\n requirement: 'optional',\n given: { focus: { part: 'tab', at: 'first' } },\n result: 'Moves focus to the last tab.',\n then: { focus: { part: 'tab', at: 'last' } },\n },\n {\n id: 'enter-selects',\n key: 'Enter',\n keys: '{Enter}',\n requirement: 'required',\n when: { activation: 'manual' },\n given: { focus: { part: 'tab', at: 1 }, attributes: [selected('first')] },\n result: 'Selects the focused tab and shows its panel.',\n then: { focus: { part: 'tab', at: 1 }, attributes: [selected(1)] },\n },\n {\n id: 'space-selects',\n key: 'Space',\n keys: '{ }',\n requirement: 'required',\n when: { activation: 'manual' },\n given: { focus: { part: 'tab', at: 1 }, attributes: [selected('first')] },\n result: 'Selects the focused tab and shows its panel.',\n then: { focus: { part: 'tab', at: 1 }, attributes: [selected(1)] },\n },\n ],\n ios: {\n parts: {\n tab: {\n description:\n 'A segment of the segmented picker above the content: a button named by its label; the shown section is selected.',\n name: 'required',\n type: 'button',\n },\n panel: {\n description: \"Text of the selected section's content.\",\n name: 'required',\n type: 'staticText',\n },\n },\n structure: [\n { target: { part: 'tab', label: 'Overview' }, selected: true },\n { target: { part: 'tab', label: 'Activity' }, selected: false },\n { target: { part: 'panel', label: 'Project summary and current status.' }, exists: true },\n ],\n interactions: [\n {\n id: 'activation-selects-tab',\n action: 'tap',\n on: { part: 'tab', label: 'Activity' },\n result: 'Selects the tab and shows its content in place of the previous one.',\n then: [\n { target: { part: 'tab', label: 'Activity' }, selected: true },\n { target: { part: 'tab', label: 'Overview' }, selected: false },\n { target: { part: 'panel', label: 'Recent project changes.' }, exists: true },\n {\n target: { part: 'panel', label: 'Project summary and current status.' },\n exists: false,\n },\n ],\n },\n ],\n },\n}\n","import { accordionPattern } from './accordion'\nimport { alertDialogPattern } from './alert-dialog'\nimport { checkboxPattern } from './checkbox'\nimport { comboboxSelectOnlyPattern } from './combobox-select-only'\nimport { dialogModalPattern } from './dialog'\nimport { menuButtonPattern } from './menu'\nimport { radioPattern } from './radio'\nimport { switchPattern } from './switch'\nimport { tabsPattern } from './tabs'\nimport type { A11yPatternContract, A11yPatternId } from './types'\n\nexport { accordionPattern } from './accordion'\nexport { alertDialogPattern } from './alert-dialog'\nexport { checkboxPattern } from './checkbox'\nexport { comboboxSelectOnlyPattern } from './combobox-select-only'\nexport { dialogModalPattern } from './dialog'\nexport { menuButtonPattern } from './menu'\nexport { radioPattern } from './radio'\nexport { switchPattern } from './switch'\nexport { tabsPattern } from './tabs'\nexport type {\n A11yAttributeCheck,\n A11yFocus,\n A11yIosCheck,\n A11yIosContract,\n A11yIosElementType,\n A11yIosInteraction,\n A11yIosPart,\n A11yIosTarget,\n A11yKeyboardInteraction,\n A11yKeyboardState,\n A11yKnownGap,\n A11yPart,\n A11yPatternBinding,\n A11yPatternContract,\n A11yPatternId,\n A11yPosition,\n A11yRole,\n A11yStructureCheck,\n A11yTarget,\n A11yTreeNode,\n A11yTreeState,\n} from './types'\n\n/** Every APG pattern contract, by id. */\nexport const a11yPatterns: Readonly<Record<A11yPatternId, A11yPatternContract>> = {\n accordion: accordionPattern,\n alertdialog: alertDialogPattern,\n checkbox: checkboxPattern,\n 'combobox-select-only': comboboxSelectOnlyPattern,\n 'dialog-modal': dialogModalPattern,\n 'menu-button': menuButtonPattern,\n radio: radioPattern,\n switch: switchPattern,\n tabs: tabsPattern,\n}\n\n/** The APG pattern contract with the given id. */\nexport function getA11yPattern(id: A11yPatternId): A11yPatternContract {\n return a11yPatterns[id]\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { inputVariants } from './chunk-IN2Y6XV3.js';
|
|
2
|
+
|
|
3
|
+
// src/components/search-field/search-field-contract.ts
|
|
4
|
+
var searchFieldStates = ["empty", "query", "focus", "disabled"];
|
|
5
|
+
var searchFieldSlots = [
|
|
6
|
+
"search-field",
|
|
7
|
+
"search-field-icon",
|
|
8
|
+
"input",
|
|
9
|
+
"search-field-clear",
|
|
10
|
+
"search-field-end"
|
|
11
|
+
];
|
|
12
|
+
var searchFieldVisualArchetypes = [
|
|
13
|
+
"field",
|
|
14
|
+
"action"
|
|
15
|
+
];
|
|
16
|
+
var searchFieldContract = {
|
|
17
|
+
defaultVariant: "default",
|
|
18
|
+
slots: searchFieldSlots,
|
|
19
|
+
states: searchFieldStates,
|
|
20
|
+
variants: inputVariants,
|
|
21
|
+
visualArchetypes: searchFieldVisualArchetypes
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { searchFieldContract, searchFieldSlots, searchFieldStates, searchFieldVisualArchetypes };
|
|
25
|
+
//# sourceMappingURL=chunk-YJ22VUJ7.js.map
|
|
26
|
+
//# sourceMappingURL=chunk-YJ22VUJ7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/search-field/search-field-contract.ts"],"names":[],"mappings":";;;AAMO,IAAM,iBAAA,GAAoB,CAAC,OAAA,EAAS,OAAA,EAAS,SAAS,UAAU;AAChE,IAAM,gBAAA,GAAmB;AAAA,EAC9B,cAAA;AAAA,EACA,mBAAA;AAAA,EACA,OAAA;AAAA,EACA,oBAAA;AAAA,EACA;AACF;AACO,IAAM,2BAAA,GAA8B;AAAA,EACzC,OAAA;AAAA,EACA;AACF;AAcO,IAAM,mBAAA,GAAsB;AAAA,EACjC,cAAA,EAAgB,SAAA;AAAA,EAChB,KAAA,EAAO,gBAAA;AAAA,EACP,MAAA,EAAQ,iBAAA;AAAA,EACR,QAAA,EAAU,aAAA;AAAA,EACV,gBAAA,EAAkB;AACpB","file":"chunk-YJ22VUJ7.js","sourcesContent":["// Generated by scripts/generate-component-contracts.mjs from packages/ui-foundation/contracts/components/search-field.json.\n// Do not edit; change the JSON and run `pnpm --filter @atom63/ui-foundation generate:contracts`.\n\nimport type { VisualArchetypeId } from '../../visual-archetypes'\nimport { type InputVariant, inputVariants } from '../input/input-contract'\n\nexport const searchFieldStates = ['empty', 'query', 'focus', 'disabled'] as const\nexport const searchFieldSlots = [\n 'search-field',\n 'search-field-icon',\n 'input',\n 'search-field-clear',\n 'search-field-end',\n] as const\nexport const searchFieldVisualArchetypes = [\n 'field',\n 'action',\n] as const satisfies readonly VisualArchetypeId[]\n\nexport type SearchFieldState = (typeof searchFieldStates)[number]\nexport type SearchFieldSlot = (typeof searchFieldSlots)[number]\nexport type SearchFieldVisualArchetype = (typeof searchFieldVisualArchetypes)[number]\n\nexport interface SearchFieldContract {\n defaultVariant: InputVariant\n slots: readonly SearchFieldSlot[]\n states: readonly SearchFieldState[]\n variants: readonly InputVariant[]\n visualArchetypes: readonly SearchFieldVisualArchetype[]\n}\n\nexport const searchFieldContract = {\n defaultVariant: 'default',\n slots: searchFieldSlots,\n states: searchFieldStates,\n variants: inputVariants,\n visualArchetypes: searchFieldVisualArchetypes,\n} satisfies SearchFieldContract\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { framePresets, frameContract } from './chunk-Z2MKSS6D.js';
|
|
2
|
+
|
|
3
|
+
// src/components/frame/frame-chrome.ts
|
|
4
|
+
function resolveFrameChrome({
|
|
5
|
+
variant = frameContract.defaultVariant,
|
|
6
|
+
tray,
|
|
7
|
+
panel,
|
|
8
|
+
border = frameContract.defaultBorder
|
|
9
|
+
}) {
|
|
10
|
+
const preset = framePresets[variant];
|
|
11
|
+
return {
|
|
12
|
+
tray: tray ?? preset.tray,
|
|
13
|
+
panel: panel ?? preset.panel,
|
|
14
|
+
border
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { resolveFrameChrome };
|
|
19
|
+
//# sourceMappingURL=chunk-YNXEPOKY.js.map
|
|
20
|
+
//# sourceMappingURL=chunk-YNXEPOKY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/frame/frame-chrome.ts"],"names":[],"mappings":";;;AAUO,SAAS,kBAAA,CAAmB;AAAA,EACjC,UAAU,aAAA,CAAc,cAAA;AAAA,EACxB,IAAA;AAAA,EACA,KAAA;AAAA,EACA,SAAS,aAAA,CAAc;AACzB,CAAA,EAKuE;AACrE,EAAA,MAAM,MAAA,GAAS,aAAa,OAAO,CAAA;AACnC,EAAA,OAAO;AAAA,IACL,IAAA,EAAM,QAAQ,MAAA,CAAO,IAAA;AAAA,IACrB,KAAA,EAAO,SAAS,MAAA,CAAO,KAAA;AAAA,IACvB;AAAA,GACF;AACF","file":"chunk-YNXEPOKY.js","sourcesContent":["import {\n type FrameBorder,\n type FramePanelSurface,\n type FrameTray,\n type FrameVariant,\n frameContract,\n framePresets,\n} from './frame-contract'\n\n/** Resolve a Frame's effective tray+panel+border from variant/override props. */\nexport function resolveFrameChrome({\n variant = frameContract.defaultVariant,\n tray,\n panel,\n border = frameContract.defaultBorder,\n}: {\n variant?: FrameVariant\n tray?: FrameTray\n panel?: FramePanelSurface\n border?: FrameBorder\n}): { tray: FrameTray; panel: FramePanelSurface; border: FrameBorder } {\n const preset = framePresets[variant]\n return {\n tray: tray ?? preset.tray,\n panel: panel ?? preset.panel,\n border,\n }\n}\n"]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// src/components/frame/frame-contract.ts
|
|
2
|
+
var frameVariants = ["muted-background", "muted-card"];
|
|
3
|
+
var frameTrays = ["muted", "card", "background"];
|
|
4
|
+
var framePanelSurfaces = ["background", "card", "muted"];
|
|
5
|
+
var frameBorders = ["off", "subtle", "strong"];
|
|
6
|
+
var frameSlots = [
|
|
7
|
+
"frame",
|
|
8
|
+
"frame-panel",
|
|
9
|
+
"frame-panel-header",
|
|
10
|
+
"frame-panel-title",
|
|
11
|
+
"frame-panel-description",
|
|
12
|
+
"frame-panel-footer"
|
|
13
|
+
];
|
|
14
|
+
var frameStates = ["rest", "border-off", "border-subtle", "border-strong"];
|
|
15
|
+
var frameVisualArchetypes = ["surface"];
|
|
16
|
+
var frameStateAliases = { default: "rest" };
|
|
17
|
+
var framePresets = {
|
|
18
|
+
"muted-background": { tray: "muted", panel: "background" },
|
|
19
|
+
"muted-card": { tray: "muted", panel: "card" }
|
|
20
|
+
};
|
|
21
|
+
var frameContract = {
|
|
22
|
+
defaultVariant: "muted-background",
|
|
23
|
+
defaultBorder: "strong",
|
|
24
|
+
variants: frameVariants,
|
|
25
|
+
trays: frameTrays,
|
|
26
|
+
panelSurfaces: framePanelSurfaces,
|
|
27
|
+
borders: frameBorders,
|
|
28
|
+
slots: frameSlots,
|
|
29
|
+
states: frameStates,
|
|
30
|
+
visualArchetypes: frameVisualArchetypes,
|
|
31
|
+
presets: framePresets
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export { frameBorders, frameContract, framePanelSurfaces, framePresets, frameSlots, frameStateAliases, frameStates, frameTrays, frameVariants, frameVisualArchetypes };
|
|
35
|
+
//# sourceMappingURL=chunk-Z2MKSS6D.js.map
|
|
36
|
+
//# sourceMappingURL=chunk-Z2MKSS6D.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/frame/frame-contract.ts"],"names":[],"mappings":";AAaO,IAAM,aAAA,GAAgB,CAAC,kBAAA,EAAoB,YAAY;AACvD,IAAM,UAAA,GAAa,CAAC,OAAA,EAAS,MAAA,EAAQ,YAAY;AACjD,IAAM,kBAAA,GAAqB,CAAC,YAAA,EAAc,MAAA,EAAQ,OAAO;AACzD,IAAM,YAAA,GAAe,CAAC,KAAA,EAAO,QAAA,EAAU,QAAQ;AAC/C,IAAM,UAAA,GAAa;AAAA,EACxB,OAAA;AAAA,EACA,aAAA;AAAA,EACA,oBAAA;AAAA,EACA,mBAAA;AAAA,EACA,yBAAA;AAAA,EACA;AACF;AACO,IAAM,WAAA,GAAc,CAAC,MAAA,EAAQ,YAAA,EAAc,iBAAiB,eAAe;AAC3E,IAAM,qBAAA,GAAwB,CAAC,SAAS;AAWxC,IAAM,iBAAA,GAAoB,EAAE,OAAA,EAAS,MAAA;AAMrC,IAAM,YAAA,GAAe;AAAA,EAC1B,kBAAA,EAAoB,EAAE,IAAA,EAAM,OAAA,EAAS,OAAO,YAAA,EAAa;AAAA,EACzD,YAAA,EAAc,EAAE,IAAA,EAAM,OAAA,EAAS,OAAO,MAAA;AACxC;AAeO,IAAM,aAAA,GAAgB;AAAA,EAC3B,cAAA,EAAgB,kBAAA;AAAA,EAChB,aAAA,EAAe,QAAA;AAAA,EACf,QAAA,EAAU,aAAA;AAAA,EACV,KAAA,EAAO,UAAA;AAAA,EACP,aAAA,EAAe,kBAAA;AAAA,EACf,OAAA,EAAS,YAAA;AAAA,EACT,KAAA,EAAO,UAAA;AAAA,EACP,MAAA,EAAQ,WAAA;AAAA,EACR,gBAAA,EAAkB,qBAAA;AAAA,EAClB,OAAA,EAAS;AACX","file":"chunk-Z2MKSS6D.js","sourcesContent":["// Generated by scripts/generate-component-contracts.mjs from packages/ui-foundation/contracts/components/frame.json.\n// Do not edit; change the JSON and run `pnpm --filter @atom63/ui-foundation generate:contracts`.\n\nimport type { VisualArchetypeId } from '../../visual-archetypes'\n\n// Faithful to prod @atom63/ui frame.tsx — an OS-style window/flyout chrome: an outer \"tray\" surface\n// wrapping inner \"panel\" surfaces, with a shared border weight. Prod modeled this with `cva`; here\n// the variant unions live in the foundation and the recipe keys off data-* attributes (badge/button\n// pattern). Chrome is tray (outer) + panel (inner). `variant` is a named tray+panel PRESET; `tray` /\n// `panel` override the preset surface; `border` is Frame-level (inherited by nested panels,\n// per-panel overridable).\n\n// Named tray+panel pairs (prod FRAME_PRESETS).\nexport const frameVariants = ['muted-background', 'muted-card'] as const\nexport const frameTrays = ['muted', 'card', 'background'] as const\nexport const framePanelSurfaces = ['background', 'card', 'muted'] as const\nexport const frameBorders = ['off', 'subtle', 'strong'] as const\nexport const frameSlots = [\n 'frame',\n 'frame-panel',\n 'frame-panel-header',\n 'frame-panel-title',\n 'frame-panel-description',\n 'frame-panel-footer',\n] as const\nexport const frameStates = ['rest', 'border-off', 'border-subtle', 'border-strong'] as const\nexport const frameVisualArchetypes = ['surface'] as const satisfies readonly VisualArchetypeId[]\n\nexport type FrameVariant = (typeof frameVariants)[number]\nexport type FrameTray = (typeof frameTrays)[number]\nexport type FramePanelSurface = (typeof framePanelSurfaces)[number]\nexport type FrameBorder = (typeof frameBorders)[number]\nexport type FrameSlot = (typeof frameSlots)[number]\nexport type FrameState = (typeof frameStates)[number]\nexport type FrameVisualArchetype = (typeof frameVisualArchetypes)[number]\n\n/** Earlier names of FrameState values, each mapped to the value that replaced it. Kept until a breaking release; components that take the value as a prop still accept them. */\nexport const frameStateAliases = { default: 'rest' } as const satisfies Record<string, FrameState>\n\n/** @deprecated An earlier name of a value of FrameState; use the value frameStateAliases maps it to. */\nexport type FrameStateAlias = keyof typeof frameStateAliases\n\n/** Preset → {tray, panel} surface pair. Mirrors prod FRAME_PRESETS. */\nexport const framePresets = {\n 'muted-background': { tray: 'muted', panel: 'background' },\n 'muted-card': { tray: 'muted', panel: 'card' },\n} satisfies Record<FrameVariant, { tray: FrameTray; panel: FramePanelSurface }>\n\nexport interface FrameContract {\n defaultVariant: FrameVariant\n defaultBorder: FrameBorder\n variants: readonly FrameVariant[]\n trays: readonly FrameTray[]\n panelSurfaces: readonly FramePanelSurface[]\n borders: readonly FrameBorder[]\n slots: readonly FrameSlot[]\n states: readonly FrameState[]\n visualArchetypes: readonly FrameVisualArchetype[]\n presets: typeof framePresets\n}\n\nexport const frameContract = {\n defaultVariant: 'muted-background',\n defaultBorder: 'strong',\n variants: frameVariants,\n trays: frameTrays,\n panelSurfaces: framePanelSurfaces,\n borders: frameBorders,\n slots: frameSlots,\n states: frameStates,\n visualArchetypes: frameVisualArchetypes,\n presets: framePresets,\n} satisfies FrameContract\n"]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// src/components/segmented-control/segmented-control-contract.ts
|
|
2
|
+
var segmentedControlSizes = ["sm", "md", "lg"];
|
|
3
|
+
var segmentedControlVariants = ["icon", "label"];
|
|
4
|
+
var segmentedControlTones = ["neutral", "accent"];
|
|
5
|
+
var segmentedControlStates = [
|
|
6
|
+
"rest",
|
|
7
|
+
"hover",
|
|
8
|
+
"selected",
|
|
9
|
+
"disabled",
|
|
10
|
+
"focus-visible"
|
|
11
|
+
];
|
|
12
|
+
var segmentedControlSlots = [
|
|
13
|
+
"segmented-control",
|
|
14
|
+
"segmented-control-track",
|
|
15
|
+
"segmented-control-item",
|
|
16
|
+
"segmented-control-icon",
|
|
17
|
+
"segmented-control-label",
|
|
18
|
+
"segmented-control-indicator"
|
|
19
|
+
];
|
|
20
|
+
var segmentedControlVisualArchetypes = [
|
|
21
|
+
"segment"
|
|
22
|
+
];
|
|
23
|
+
var segmentedControlContract = {
|
|
24
|
+
defaultSize: "md",
|
|
25
|
+
defaultTone: "neutral",
|
|
26
|
+
defaultVariant: "label",
|
|
27
|
+
sizes: segmentedControlSizes,
|
|
28
|
+
slots: segmentedControlSlots,
|
|
29
|
+
states: segmentedControlStates,
|
|
30
|
+
tones: segmentedControlTones,
|
|
31
|
+
variants: segmentedControlVariants,
|
|
32
|
+
visualArchetypes: segmentedControlVisualArchetypes
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export { segmentedControlContract, segmentedControlSizes, segmentedControlSlots, segmentedControlStates, segmentedControlTones, segmentedControlVariants, segmentedControlVisualArchetypes };
|
|
36
|
+
//# sourceMappingURL=chunk-Z6AUAWK3.js.map
|
|
37
|
+
//# sourceMappingURL=chunk-Z6AUAWK3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/segmented-control/segmented-control-contract.ts"],"names":[],"mappings":";AAKO,IAAM,qBAAA,GAAwB,CAAC,IAAA,EAAM,IAAA,EAAM,IAAI;AAC/C,IAAM,wBAAA,GAA2B,CAAC,MAAA,EAAQ,OAAO;AACjD,IAAM,qBAAA,GAAwB,CAAC,SAAA,EAAW,QAAQ;AAClD,IAAM,sBAAA,GAAyB;AAAA,EACpC,MAAA;AAAA,EACA,OAAA;AAAA,EACA,UAAA;AAAA,EACA,UAAA;AAAA,EACA;AACF;AACO,IAAM,qBAAA,GAAwB;AAAA,EACnC,mBAAA;AAAA,EACA,yBAAA;AAAA,EACA,wBAAA;AAAA,EACA,wBAAA;AAAA,EACA,yBAAA;AAAA,EACA;AACF;AACO,IAAM,gCAAA,GAAmC;AAAA,EAC9C;AACF;AAqBO,IAAM,wBAAA,GAA2B;AAAA,EACtC,WAAA,EAAa,IAAA;AAAA,EACb,WAAA,EAAa,SAAA;AAAA,EACb,cAAA,EAAgB,OAAA;AAAA,EAChB,KAAA,EAAO,qBAAA;AAAA,EACP,KAAA,EAAO,qBAAA;AAAA,EACP,MAAA,EAAQ,sBAAA;AAAA,EACR,KAAA,EAAO,qBAAA;AAAA,EACP,QAAA,EAAU,wBAAA;AAAA,EACV,gBAAA,EAAkB;AACpB","file":"chunk-Z6AUAWK3.js","sourcesContent":["// Generated by scripts/generate-component-contracts.mjs from packages/ui-foundation/contracts/components/segmented-control.json.\n// Do not edit; change the JSON and run `pnpm --filter @atom63/ui-foundation generate:contracts`.\n\nimport type { VisualArchetypeId } from '../../visual-archetypes'\n\nexport const segmentedControlSizes = ['sm', 'md', 'lg'] as const\nexport const segmentedControlVariants = ['icon', 'label'] as const\nexport const segmentedControlTones = ['neutral', 'accent'] as const\nexport const segmentedControlStates = [\n 'rest',\n 'hover',\n 'selected',\n 'disabled',\n 'focus-visible',\n] as const\nexport const segmentedControlSlots = [\n 'segmented-control',\n 'segmented-control-track',\n 'segmented-control-item',\n 'segmented-control-icon',\n 'segmented-control-label',\n 'segmented-control-indicator',\n] as const\nexport const segmentedControlVisualArchetypes = [\n 'segment',\n] as const satisfies readonly VisualArchetypeId[]\n\nexport type SegmentedControlSize = (typeof segmentedControlSizes)[number]\nexport type SegmentedControlVariant = (typeof segmentedControlVariants)[number]\nexport type SegmentedControlTone = (typeof segmentedControlTones)[number]\nexport type SegmentedControlState = (typeof segmentedControlStates)[number]\nexport type SegmentedControlSlot = (typeof segmentedControlSlots)[number]\nexport type SegmentedControlVisualArchetype = (typeof segmentedControlVisualArchetypes)[number]\n\nexport interface SegmentedControlContract {\n defaultSize: SegmentedControlSize\n defaultTone: SegmentedControlTone\n defaultVariant: SegmentedControlVariant\n sizes: readonly SegmentedControlSize[]\n slots: readonly SegmentedControlSlot[]\n states: readonly SegmentedControlState[]\n tones: readonly SegmentedControlTone[]\n variants: readonly SegmentedControlVariant[]\n visualArchetypes: readonly SegmentedControlVisualArchetype[]\n}\n\nexport const segmentedControlContract = {\n defaultSize: 'md',\n defaultTone: 'neutral',\n defaultVariant: 'label',\n sizes: segmentedControlSizes,\n slots: segmentedControlSlots,\n states: segmentedControlStates,\n tones: segmentedControlTones,\n variants: segmentedControlVariants,\n visualArchetypes: segmentedControlVisualArchetypes,\n} satisfies SegmentedControlContract\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// src/components/table/table-contract.ts
|
|
2
|
+
var tableVariants = ["default", "plain"];
|
|
3
|
+
var tableSizes = ["md", "sm"];
|
|
4
|
+
var tableTones = ["neutral", "accent"];
|
|
5
|
+
var tableStickyEdges = ["start", "end"];
|
|
6
|
+
var tableStates = ["rest", "row-hover", "row-selected"];
|
|
7
|
+
var tableSlots = [
|
|
8
|
+
"table-container",
|
|
9
|
+
"table",
|
|
10
|
+
"table-header",
|
|
11
|
+
"table-body",
|
|
12
|
+
"table-footer",
|
|
13
|
+
"table-row",
|
|
14
|
+
"table-head",
|
|
15
|
+
"table-cell",
|
|
16
|
+
"table-caption"
|
|
17
|
+
];
|
|
18
|
+
var tableVisualArchetypes = ["surface"];
|
|
19
|
+
var tableSizeAliases = { default: "md" };
|
|
20
|
+
var tableContract = {
|
|
21
|
+
defaultVariant: "default",
|
|
22
|
+
defaultSize: "md",
|
|
23
|
+
defaultTone: "neutral",
|
|
24
|
+
variants: tableVariants,
|
|
25
|
+
sizes: tableSizes,
|
|
26
|
+
stickyEdges: tableStickyEdges,
|
|
27
|
+
states: tableStates,
|
|
28
|
+
slots: tableSlots,
|
|
29
|
+
visualArchetypes: tableVisualArchetypes,
|
|
30
|
+
tones: tableTones
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export { tableContract, tableSizeAliases, tableSizes, tableSlots, tableStates, tableStickyEdges, tableTones, tableVariants, tableVisualArchetypes };
|
|
34
|
+
//# sourceMappingURL=chunk-Z74KMG65.js.map
|
|
35
|
+
//# sourceMappingURL=chunk-Z74KMG65.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/table/table-contract.ts"],"names":[],"mappings":";AAWO,IAAM,aAAA,GAAgB,CAAC,SAAA,EAAW,OAAO;AACzC,IAAM,UAAA,GAAa,CAAC,IAAA,EAAM,IAAI;AAC9B,IAAM,UAAA,GAAa,CAAC,SAAA,EAAW,QAAQ;AACvC,IAAM,gBAAA,GAAmB,CAAC,OAAA,EAAS,KAAK;AACxC,IAAM,WAAA,GAAc,CAAC,MAAA,EAAQ,WAAA,EAAa,cAAc;AACxD,IAAM,UAAA,GAAa;AAAA,EACxB,iBAAA;AAAA,EACA,OAAA;AAAA,EACA,cAAA;AAAA,EACA,YAAA;AAAA,EACA,cAAA;AAAA,EACA,WAAA;AAAA,EACA,YAAA;AAAA,EACA,YAAA;AAAA,EACA;AACF;AACO,IAAM,qBAAA,GAAwB,CAAC,SAAS;AAWxC,IAAM,gBAAA,GAAmB,EAAE,OAAA,EAAS,IAAA;AAkBpC,IAAM,aAAA,GAAgB;AAAA,EAC3B,cAAA,EAAgB,SAAA;AAAA,EAChB,WAAA,EAAa,IAAA;AAAA,EACb,WAAA,EAAa,SAAA;AAAA,EACb,QAAA,EAAU,aAAA;AAAA,EACV,KAAA,EAAO,UAAA;AAAA,EACP,WAAA,EAAa,gBAAA;AAAA,EACb,MAAA,EAAQ,WAAA;AAAA,EACR,KAAA,EAAO,UAAA;AAAA,EACP,gBAAA,EAAkB,qBAAA;AAAA,EAClB,KAAA,EAAO;AACT","file":"chunk-Z74KMG65.js","sourcesContent":["// Generated by scripts/generate-component-contracts.mjs from packages/ui-foundation/contracts/components/table.json.\n// Do not edit; change the JSON and run `pnpm --filter @atom63/ui-foundation generate:contracts`.\n\nimport type { VisualArchetypeId } from '../../visual-archetypes'\n\n// The tabular-data set: a horizontally scrollable container around a semantic <table>. The container\n// takes size (md/sm) and variant (default/plain); TableHead and TableCell can pin to the start or\n// end edge. The DS recipe reads these off data-size / data-variant / data-sticky. The container also\n// takes tone (neutral/accent, data-tone), which colours selected rows: neutral is the muted fill\n// with primary text, accent the opt-in primary wash with accent text.\n\nexport const tableVariants = ['default', 'plain'] as const\nexport const tableSizes = ['md', 'sm'] as const\nexport const tableTones = ['neutral', 'accent'] as const\nexport const tableStickyEdges = ['start', 'end'] as const\nexport const tableStates = ['rest', 'row-hover', 'row-selected'] as const\nexport const tableSlots = [\n 'table-container',\n 'table',\n 'table-header',\n 'table-body',\n 'table-footer',\n 'table-row',\n 'table-head',\n 'table-cell',\n 'table-caption',\n] as const\nexport const tableVisualArchetypes = ['surface'] as const satisfies readonly VisualArchetypeId[]\n\nexport type TableVariant = (typeof tableVariants)[number]\nexport type TableSize = (typeof tableSizes)[number]\nexport type TableTone = (typeof tableTones)[number]\nexport type TableStickyEdge = (typeof tableStickyEdges)[number]\nexport type TableState = (typeof tableStates)[number]\nexport type TableSlot = (typeof tableSlots)[number]\nexport type TableVisualArchetype = (typeof tableVisualArchetypes)[number]\n\n/** Earlier names of TableSize values, each mapped to the value that replaced it. Kept until a breaking release; components that take the value as a prop still accept them. */\nexport const tableSizeAliases = { default: 'md' } as const satisfies Record<string, TableSize>\n\n/** @deprecated An earlier name of a value of TableSize; use the value tableSizeAliases maps it to. */\nexport type TableSizeAlias = keyof typeof tableSizeAliases\n\nexport interface TableContract {\n defaultVariant: TableVariant\n defaultSize: TableSize\n defaultTone: TableTone\n variants: readonly TableVariant[]\n sizes: readonly TableSize[]\n stickyEdges: readonly TableStickyEdge[]\n states: readonly TableState[]\n slots: readonly TableSlot[]\n visualArchetypes: readonly TableVisualArchetype[]\n tones: readonly TableTone[]\n}\n\nexport const tableContract = {\n defaultVariant: 'default',\n defaultSize: 'md',\n defaultTone: 'neutral',\n variants: tableVariants,\n sizes: tableSizes,\n stickyEdges: tableStickyEdges,\n states: tableStates,\n slots: tableSlots,\n visualArchetypes: tableVisualArchetypes,\n tones: tableTones,\n} satisfies TableContract\n"]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// src/components/sheet/sheet-contract.ts
|
|
2
|
+
var sheetSides = ["right", "left", "top", "bottom"];
|
|
3
|
+
var sheetVariants = ["default", "inset"];
|
|
4
|
+
var sheetFooterVariants = ["default", "bare"];
|
|
5
|
+
var sheetStates = ["closed", "open", "starting", "ending"];
|
|
6
|
+
var sheetSlots = [
|
|
7
|
+
"sheet",
|
|
8
|
+
"sheet-portal",
|
|
9
|
+
"sheet-trigger",
|
|
10
|
+
"sheet-backdrop",
|
|
11
|
+
"sheet-viewport",
|
|
12
|
+
"sheet-popup",
|
|
13
|
+
"sheet-close",
|
|
14
|
+
"sheet-close-button",
|
|
15
|
+
"sheet-header",
|
|
16
|
+
"sheet-title",
|
|
17
|
+
"sheet-description",
|
|
18
|
+
"sheet-panel",
|
|
19
|
+
"sheet-footer"
|
|
20
|
+
];
|
|
21
|
+
var sheetVisualArchetypes = [
|
|
22
|
+
"overlay",
|
|
23
|
+
"surface",
|
|
24
|
+
"trigger",
|
|
25
|
+
"action"
|
|
26
|
+
];
|
|
27
|
+
var sheetContract = {
|
|
28
|
+
defaultFooterVariant: "default",
|
|
29
|
+
defaultSide: "right",
|
|
30
|
+
defaultVariant: "default",
|
|
31
|
+
footerVariants: sheetFooterVariants,
|
|
32
|
+
sides: sheetSides,
|
|
33
|
+
slots: sheetSlots,
|
|
34
|
+
states: sheetStates,
|
|
35
|
+
variants: sheetVariants,
|
|
36
|
+
visualArchetypes: sheetVisualArchetypes
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { sheetContract, sheetFooterVariants, sheetSides, sheetSlots, sheetStates, sheetVariants, sheetVisualArchetypes };
|
|
40
|
+
//# sourceMappingURL=chunk-Z7NOXPUC.js.map
|
|
41
|
+
//# sourceMappingURL=chunk-Z7NOXPUC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/sheet/sheet-contract.ts"],"names":[],"mappings":";AAKO,IAAM,UAAA,GAAa,CAAC,OAAA,EAAS,MAAA,EAAQ,OAAO,QAAQ;AACpD,IAAM,aAAA,GAAgB,CAAC,SAAA,EAAW,OAAO;AACzC,IAAM,mBAAA,GAAsB,CAAC,SAAA,EAAW,MAAM;AAC9C,IAAM,WAAA,GAAc,CAAC,QAAA,EAAU,MAAA,EAAQ,YAAY,QAAQ;AAC3D,IAAM,UAAA,GAAa;AAAA,EACxB,OAAA;AAAA,EACA,cAAA;AAAA,EACA,eAAA;AAAA,EACA,gBAAA;AAAA,EACA,gBAAA;AAAA,EACA,aAAA;AAAA,EACA,aAAA;AAAA,EACA,oBAAA;AAAA,EACA,cAAA;AAAA,EACA,aAAA;AAAA,EACA,mBAAA;AAAA,EACA,aAAA;AAAA,EACA;AACF;AACO,IAAM,qBAAA,GAAwB;AAAA,EACnC,SAAA;AAAA,EACA,SAAA;AAAA,EACA,SAAA;AAAA,EACA;AACF;AAqBO,IAAM,aAAA,GAAgB;AAAA,EAC3B,oBAAA,EAAsB,SAAA;AAAA,EACtB,WAAA,EAAa,OAAA;AAAA,EACb,cAAA,EAAgB,SAAA;AAAA,EAChB,cAAA,EAAgB,mBAAA;AAAA,EAChB,KAAA,EAAO,UAAA;AAAA,EACP,KAAA,EAAO,UAAA;AAAA,EACP,MAAA,EAAQ,WAAA;AAAA,EACR,QAAA,EAAU,aAAA;AAAA,EACV,gBAAA,EAAkB;AACpB","file":"chunk-Z7NOXPUC.js","sourcesContent":["// Generated by scripts/generate-component-contracts.mjs from packages/ui-foundation/contracts/components/sheet.json.\n// Do not edit; change the JSON and run `pnpm --filter @atom63/ui-foundation generate:contracts`.\n\nimport type { VisualArchetypeId } from '../../visual-archetypes'\n\nexport const sheetSides = ['right', 'left', 'top', 'bottom'] as const\nexport const sheetVariants = ['default', 'inset'] as const\nexport const sheetFooterVariants = ['default', 'bare'] as const\nexport const sheetStates = ['closed', 'open', 'starting', 'ending'] as const\nexport const sheetSlots = [\n 'sheet',\n 'sheet-portal',\n 'sheet-trigger',\n 'sheet-backdrop',\n 'sheet-viewport',\n 'sheet-popup',\n 'sheet-close',\n 'sheet-close-button',\n 'sheet-header',\n 'sheet-title',\n 'sheet-description',\n 'sheet-panel',\n 'sheet-footer',\n] as const\nexport const sheetVisualArchetypes = [\n 'overlay',\n 'surface',\n 'trigger',\n 'action',\n] as const satisfies readonly VisualArchetypeId[]\n\nexport type SheetSide = (typeof sheetSides)[number]\nexport type SheetVariant = (typeof sheetVariants)[number]\nexport type SheetFooterVariant = (typeof sheetFooterVariants)[number]\nexport type SheetState = (typeof sheetStates)[number]\nexport type SheetSlot = (typeof sheetSlots)[number]\nexport type SheetVisualArchetype = (typeof sheetVisualArchetypes)[number]\n\nexport interface SheetContract {\n defaultFooterVariant: SheetFooterVariant\n defaultSide: SheetSide\n defaultVariant: SheetVariant\n footerVariants: readonly SheetFooterVariant[]\n sides: readonly SheetSide[]\n slots: readonly SheetSlot[]\n states: readonly SheetState[]\n variants: readonly SheetVariant[]\n visualArchetypes: readonly SheetVisualArchetype[]\n}\n\nexport const sheetContract = {\n defaultFooterVariant: 'default',\n defaultSide: 'right',\n defaultVariant: 'default',\n footerVariants: sheetFooterVariants,\n sides: sheetSides,\n slots: sheetSlots,\n states: sheetStates,\n variants: sheetVariants,\n visualArchetypes: sheetVisualArchetypes,\n} satisfies SheetContract\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// src/components/button-group/button-group-contract.ts
|
|
2
|
+
var buttonGroupOrientations = ["horizontal", "vertical"];
|
|
3
|
+
var buttonGroupSizes = [
|
|
4
|
+
"xs",
|
|
5
|
+
"sm",
|
|
6
|
+
"md",
|
|
7
|
+
"lg",
|
|
8
|
+
"xl",
|
|
9
|
+
"icon-xs",
|
|
10
|
+
"icon-sm",
|
|
11
|
+
"icon",
|
|
12
|
+
"icon-lg",
|
|
13
|
+
"icon-xl"
|
|
14
|
+
];
|
|
15
|
+
var buttonGroupSlots = [
|
|
16
|
+
"button-group",
|
|
17
|
+
"button-group-text",
|
|
18
|
+
"button-group-separator"
|
|
19
|
+
];
|
|
20
|
+
var buttonGroupStates = ["rest", "focus-within"];
|
|
21
|
+
var buttonGroupVisualArchetypes = [
|
|
22
|
+
"action",
|
|
23
|
+
"segment"
|
|
24
|
+
];
|
|
25
|
+
var buttonGroupSizeAliases = { default: "md" };
|
|
26
|
+
var buttonGroupContract = {
|
|
27
|
+
defaultOrientation: "horizontal",
|
|
28
|
+
defaultSize: "md",
|
|
29
|
+
orientations: buttonGroupOrientations,
|
|
30
|
+
sizes: buttonGroupSizes,
|
|
31
|
+
slots: buttonGroupSlots,
|
|
32
|
+
states: buttonGroupStates,
|
|
33
|
+
visualArchetypes: buttonGroupVisualArchetypes
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export { buttonGroupContract, buttonGroupOrientations, buttonGroupSizeAliases, buttonGroupSizes, buttonGroupSlots, buttonGroupStates, buttonGroupVisualArchetypes };
|
|
37
|
+
//# sourceMappingURL=chunk-ZF4KKGKC.js.map
|
|
38
|
+
//# sourceMappingURL=chunk-ZF4KKGKC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/button-group/button-group-contract.ts"],"names":[],"mappings":";AAUO,IAAM,uBAAA,GAA0B,CAAC,YAAA,EAAc,UAAU;AACzD,IAAM,gBAAA,GAAmB;AAAA,EAC9B,IAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAA;AAAA,EACA,SAAA;AAAA,EACA,SAAA;AAAA,EACA,MAAA;AAAA,EACA,SAAA;AAAA,EACA;AACF;AACO,IAAM,gBAAA,GAAmB;AAAA,EAC9B,cAAA;AAAA,EACA,mBAAA;AAAA,EACA;AACF;AACO,IAAM,iBAAA,GAAoB,CAAC,MAAA,EAAQ,cAAc;AACjD,IAAM,2BAAA,GAA8B;AAAA,EACzC,QAAA;AAAA,EACA;AACF;AASO,IAAM,sBAAA,GAAyB,EAAE,OAAA,EAAS,IAAA;AAkB1C,IAAM,mBAAA,GAAsB;AAAA,EACjC,kBAAA,EAAoB,YAAA;AAAA,EACpB,WAAA,EAAa,IAAA;AAAA,EACb,YAAA,EAAc,uBAAA;AAAA,EACd,KAAA,EAAO,gBAAA;AAAA,EACP,KAAA,EAAO,gBAAA;AAAA,EACP,MAAA,EAAQ,iBAAA;AAAA,EACR,gBAAA,EAAkB;AACpB","file":"chunk-ZF4KKGKC.js","sourcesContent":["// Generated by scripts/generate-component-contracts.mjs from packages/ui-foundation/contracts/components/button-group.json.\n// Do not edit; change the JSON and run `pnpm --filter @atom63/ui-foundation generate:contracts`.\n\nimport type { VisualArchetypeId } from '../../visual-archetypes'\n\n// Faithful to prod @atom63/ui button-group: horizontal|vertical orientation and the full text/icon\n// size ramp. Sizes drive the welded control heights; the text sizes (xs..xl) size the text/label\n// runs, the icon-* sizes make square icon-button runs. The DS recipe reads these off\n// data-orientation / data-size.\n\nexport const buttonGroupOrientations = ['horizontal', 'vertical'] as const\nexport const buttonGroupSizes = [\n 'xs',\n 'sm',\n 'md',\n 'lg',\n 'xl',\n 'icon-xs',\n 'icon-sm',\n 'icon',\n 'icon-lg',\n 'icon-xl',\n] as const\nexport const buttonGroupSlots = [\n 'button-group',\n 'button-group-text',\n 'button-group-separator',\n] as const\nexport const buttonGroupStates = ['rest', 'focus-within'] as const\nexport const buttonGroupVisualArchetypes = [\n 'action',\n 'segment',\n] as const satisfies readonly VisualArchetypeId[]\n\nexport type ButtonGroupOrientation = (typeof buttonGroupOrientations)[number]\nexport type ButtonGroupSize = (typeof buttonGroupSizes)[number]\nexport type ButtonGroupSlot = (typeof buttonGroupSlots)[number]\nexport type ButtonGroupState = (typeof buttonGroupStates)[number]\nexport type ButtonGroupVisualArchetype = (typeof buttonGroupVisualArchetypes)[number]\n\n/** Earlier names of ButtonGroupSize values, each mapped to the value that replaced it. Kept until a breaking release; components that take the value as a prop still accept them. */\nexport const buttonGroupSizeAliases = { default: 'md' } as const satisfies Record<\n string,\n ButtonGroupSize\n>\n\n/** @deprecated An earlier name of a value of ButtonGroupSize; use the value buttonGroupSizeAliases maps it to. */\nexport type ButtonGroupSizeAlias = keyof typeof buttonGroupSizeAliases\n\nexport interface ButtonGroupContract {\n defaultOrientation: ButtonGroupOrientation\n defaultSize: ButtonGroupSize\n orientations: readonly ButtonGroupOrientation[]\n sizes: readonly ButtonGroupSize[]\n slots: readonly ButtonGroupSlot[]\n states: readonly ButtonGroupState[]\n visualArchetypes: readonly ButtonGroupVisualArchetype[]\n}\n\nexport const buttonGroupContract = {\n defaultOrientation: 'horizontal',\n defaultSize: 'md',\n orientations: buttonGroupOrientations,\n sizes: buttonGroupSizes,\n slots: buttonGroupSlots,\n states: buttonGroupStates,\n visualArchetypes: buttonGroupVisualArchetypes,\n} satisfies ButtonGroupContract\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"alert-contract.js"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { alertDialogContract, alertDialogFooterVariants, alertDialogSizeAliases, alertDialogSizes, alertDialogSlots, alertDialogStates, alertDialogVariantAliases, alertDialogVariants, alertDialogVisualArchetypes } from '../../chunk-XX3RI35Q.js';
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"amount-contract.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|