@atom63/ui-foundation 0.2.0-beta.6 → 0.2.0-beta.8
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-46LPKTCR.js +37 -0
- package/dist/chunk-46LPKTCR.js.map +1 -0
- package/dist/chunk-4F5BJWZN.js +151 -0
- package/dist/chunk-4F5BJWZN.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-72GIOGRU.js +1088 -0
- package/dist/chunk-72GIOGRU.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-7Z3VLROI.js +25 -0
- package/dist/chunk-7Z3VLROI.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-OVIHVMRO.js +26 -0
- package/dist/chunk-OVIHVMRO.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-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/art-plate/art-plate-contract.js +3 -0
- package/dist/components/art-plate/art-plate-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/layered-scene/layered-scene-contract.js +3 -0
- package/dist/components/layered-scene/layered-scene-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 +287 -66
- package/dist/index.js +87 -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,1088 @@
|
|
|
1
|
+
// src/conformance/cross-renderer-contracts.generated.ts
|
|
2
|
+
var crossRendererContracts = [
|
|
3
|
+
{
|
|
4
|
+
"id": "button",
|
|
5
|
+
"foundationContract": "button",
|
|
6
|
+
"foundationAxis": "states",
|
|
7
|
+
"catalogItem": "button",
|
|
8
|
+
"reactRenderer": "Button",
|
|
9
|
+
"swiftUIRenderer": "AtomButton",
|
|
10
|
+
"intent": "Trigger a user-initiated action with explicit hierarchy and feedback.",
|
|
11
|
+
"parity": "recipe",
|
|
12
|
+
"requiredStates": [
|
|
13
|
+
"rest",
|
|
14
|
+
"pressed",
|
|
15
|
+
"disabled",
|
|
16
|
+
"loading"
|
|
17
|
+
],
|
|
18
|
+
"sharedOutcomes": [
|
|
19
|
+
"action-fires-once",
|
|
20
|
+
"loading-blocks-repeat-activation",
|
|
21
|
+
"disabled-prevents-activation"
|
|
22
|
+
],
|
|
23
|
+
"accessibilityOutcomes": [
|
|
24
|
+
"exposes-label",
|
|
25
|
+
"announces-loading",
|
|
26
|
+
"disabled-while-loading"
|
|
27
|
+
],
|
|
28
|
+
"motion": {
|
|
29
|
+
"kind": "press-feedback",
|
|
30
|
+
"durationToken": "motion-control-feedback",
|
|
31
|
+
"easing": "ease-out",
|
|
32
|
+
"direction": "none",
|
|
33
|
+
"reducedMotion": "none"
|
|
34
|
+
},
|
|
35
|
+
"platformAdaptations": {
|
|
36
|
+
"react": [
|
|
37
|
+
"Uses HTML button semantics with pointer and focus-visible feedback."
|
|
38
|
+
],
|
|
39
|
+
"swiftUI": [
|
|
40
|
+
"Uses SwiftUI Button with native touch and keyboard activation.",
|
|
41
|
+
"The round shape is a capsule: a circle at the icon size, a pill with a label.",
|
|
42
|
+
"The raised emphasis uses the panel fill and a soft shadow with no border; muted tone only quiets ghost labels."
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "dialog",
|
|
48
|
+
"foundationContract": "dialog",
|
|
49
|
+
"foundationAxis": "states",
|
|
50
|
+
"catalogItem": "sheet",
|
|
51
|
+
"reactRenderer": "Dialog",
|
|
52
|
+
"swiftUIRenderer": "sheet(isPresented:) / presentationDetents(_:)",
|
|
53
|
+
"intent": "Temporarily move the user into a focused modal task without losing the originating context.",
|
|
54
|
+
"parity": "platform-adaptive",
|
|
55
|
+
"requiredStates": [
|
|
56
|
+
"closed",
|
|
57
|
+
"open",
|
|
58
|
+
"focus-visible"
|
|
59
|
+
],
|
|
60
|
+
"sharedOutcomes": [
|
|
61
|
+
"opening-presents-a-modal-context",
|
|
62
|
+
"background-interaction-is-blocked-while-open",
|
|
63
|
+
"dismissal-returns-to-the-originating-context"
|
|
64
|
+
],
|
|
65
|
+
"accessibilityOutcomes": [
|
|
66
|
+
"exposes-modal-title",
|
|
67
|
+
"keeps-assistive-focus-in-the-modal-context",
|
|
68
|
+
"restores-access-to-the-originating-control"
|
|
69
|
+
],
|
|
70
|
+
"platformAdaptations": {
|
|
71
|
+
"react": [
|
|
72
|
+
"Uses a compound modal dialog with a portal, focus containment, Escape dismissal, and trigger focus restoration."
|
|
73
|
+
],
|
|
74
|
+
"swiftUI": [
|
|
75
|
+
"Uses the native sheet presentation, adaptive detents, swipe dismissal, and a NavigationStack for modal task hierarchy."
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "alert-dialog",
|
|
81
|
+
"foundationContract": "alert-dialog",
|
|
82
|
+
"foundationAxis": "states",
|
|
83
|
+
"catalogItem": "confirmationDialog",
|
|
84
|
+
"reactRenderer": "AlertDialog",
|
|
85
|
+
"swiftUIRenderer": "alert(_:isPresented:actions:message:)",
|
|
86
|
+
"intent": "Require an explicit decision before committing or abandoning a consequential action.",
|
|
87
|
+
"parity": "platform-adaptive",
|
|
88
|
+
"requiredStates": [
|
|
89
|
+
"closed",
|
|
90
|
+
"open"
|
|
91
|
+
],
|
|
92
|
+
"sharedOutcomes": [
|
|
93
|
+
"consequential-action-requires-explicit-confirmation",
|
|
94
|
+
"cancel-dismisses-without-performing-the-action",
|
|
95
|
+
"confirmation-performs-the-action-once-and-dismisses"
|
|
96
|
+
],
|
|
97
|
+
"accessibilityOutcomes": [
|
|
98
|
+
"exposes-alert-dialog-title",
|
|
99
|
+
"exposes-consequence-description",
|
|
100
|
+
"identifies-cancel-and-confirm-actions"
|
|
101
|
+
],
|
|
102
|
+
"platformAdaptations": {
|
|
103
|
+
"react": [
|
|
104
|
+
"Uses an alertdialog portal with guarded outside and Escape dismissal plus explicit action and cancel controls."
|
|
105
|
+
],
|
|
106
|
+
"swiftUI": [
|
|
107
|
+
"Uses a native alert or confirmationDialog with platform button roles, ordering, and compact presentation."
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "field",
|
|
113
|
+
"foundationContract": "field",
|
|
114
|
+
"foundationAxis": "states",
|
|
115
|
+
"catalogItem": "formField",
|
|
116
|
+
"reactRenderer": "Field",
|
|
117
|
+
"swiftUIRenderer": "AtomFormField",
|
|
118
|
+
"intent": "Associate a control with its label, supporting description, and validation feedback.",
|
|
119
|
+
"parity": "strict",
|
|
120
|
+
"requiredStates": [
|
|
121
|
+
"default",
|
|
122
|
+
"invalid",
|
|
123
|
+
"disabled"
|
|
124
|
+
],
|
|
125
|
+
"sharedOutcomes": [
|
|
126
|
+
"label-identifies-control",
|
|
127
|
+
"description-explains-input",
|
|
128
|
+
"invalid-state-exposes-error"
|
|
129
|
+
],
|
|
130
|
+
"accessibilityOutcomes": [
|
|
131
|
+
"associates-label",
|
|
132
|
+
"associates-description",
|
|
133
|
+
"announces-error"
|
|
134
|
+
],
|
|
135
|
+
"platformAdaptations": {
|
|
136
|
+
"react": [
|
|
137
|
+
"Uses DOM label and description relationships."
|
|
138
|
+
],
|
|
139
|
+
"swiftUI": [
|
|
140
|
+
"Uses native Form layout and may reflow vertically for Dynamic Type."
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "input",
|
|
146
|
+
"foundationContract": "input",
|
|
147
|
+
"foundationAxis": "states",
|
|
148
|
+
"catalogItem": "textField",
|
|
149
|
+
"reactRenderer": "Input",
|
|
150
|
+
"swiftUIRenderer": "AtomTextField",
|
|
151
|
+
"intent": "Capture a single-line text value with visible focus and validation state.",
|
|
152
|
+
"parity": "platform-adaptive",
|
|
153
|
+
"requiredStates": [
|
|
154
|
+
"rest",
|
|
155
|
+
"focus",
|
|
156
|
+
"disabled",
|
|
157
|
+
"invalid"
|
|
158
|
+
],
|
|
159
|
+
"sharedOutcomes": [
|
|
160
|
+
"value-remains-editable-when-enabled",
|
|
161
|
+
"focus-is-visible",
|
|
162
|
+
"invalid-state-is-announced"
|
|
163
|
+
],
|
|
164
|
+
"accessibilityOutcomes": [
|
|
165
|
+
"exposes-label",
|
|
166
|
+
"exposes-value",
|
|
167
|
+
"announces-invalid"
|
|
168
|
+
],
|
|
169
|
+
"platformAdaptations": {
|
|
170
|
+
"react": [
|
|
171
|
+
"Uses HTML input behavior, browser autofill, and web focus chrome."
|
|
172
|
+
],
|
|
173
|
+
"swiftUI": [
|
|
174
|
+
"Uses TextField or SecureField with the native keyboard and autofill.",
|
|
175
|
+
"Adapts visual chrome when a grouped Form or sheet container owns the row surface without changing label, value, focus, disabled, or validation semantics.",
|
|
176
|
+
"AtomFieldVariant.filled uses the muted fill with no resting border while preserving focus and invalid borders."
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "textarea",
|
|
182
|
+
"foundationContract": "textarea",
|
|
183
|
+
"foundationAxis": "states",
|
|
184
|
+
"catalogItem": "textEditor",
|
|
185
|
+
"reactRenderer": "Textarea",
|
|
186
|
+
"swiftUIRenderer": "AtomTextEditor",
|
|
187
|
+
"intent": "Capture a multi-line text value while preserving editing and validation semantics.",
|
|
188
|
+
"parity": "platform-adaptive",
|
|
189
|
+
"requiredStates": [
|
|
190
|
+
"rest",
|
|
191
|
+
"focus",
|
|
192
|
+
"disabled",
|
|
193
|
+
"invalid"
|
|
194
|
+
],
|
|
195
|
+
"sharedOutcomes": [
|
|
196
|
+
"multi-line-value-remains-editable",
|
|
197
|
+
"focus-is-visible",
|
|
198
|
+
"invalid-state-is-announced"
|
|
199
|
+
],
|
|
200
|
+
"accessibilityOutcomes": [
|
|
201
|
+
"exposes-label",
|
|
202
|
+
"exposes-value",
|
|
203
|
+
"announces-invalid"
|
|
204
|
+
],
|
|
205
|
+
"platformAdaptations": {
|
|
206
|
+
"react": [
|
|
207
|
+
"Uses native browser textarea scrolling and selection."
|
|
208
|
+
],
|
|
209
|
+
"swiftUI": [
|
|
210
|
+
"Uses TextEditor scrolling, selection, and keyboard behavior.",
|
|
211
|
+
"Adapts visual chrome when a grouped Form or sheet container owns the row surface without changing editing, focus, disabled, or validation semantics."
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id": "switch",
|
|
217
|
+
"foundationContract": "switch",
|
|
218
|
+
"foundationAxis": "states",
|
|
219
|
+
"catalogItem": "toggle",
|
|
220
|
+
"reactRenderer": "Switch",
|
|
221
|
+
"swiftUIRenderer": "AtomToggle",
|
|
222
|
+
"intent": "Change a persistent boolean setting.",
|
|
223
|
+
"parity": "platform-adaptive",
|
|
224
|
+
"requiredStates": [
|
|
225
|
+
"off",
|
|
226
|
+
"on",
|
|
227
|
+
"disabled"
|
|
228
|
+
],
|
|
229
|
+
"sharedOutcomes": [
|
|
230
|
+
"value-is-boolean",
|
|
231
|
+
"activation-toggles-value",
|
|
232
|
+
"disabled-prevents-change"
|
|
233
|
+
],
|
|
234
|
+
"accessibilityOutcomes": [
|
|
235
|
+
"exposes-label",
|
|
236
|
+
"exposes-boolean-value",
|
|
237
|
+
"preserves-native-control-role"
|
|
238
|
+
],
|
|
239
|
+
"platformAdaptations": {
|
|
240
|
+
"react": [
|
|
241
|
+
"Uses web switch semantics with pointer and focus-visible feedback."
|
|
242
|
+
],
|
|
243
|
+
"swiftUI": [
|
|
244
|
+
"Uses native Toggle geometry and platform interaction feedback."
|
|
245
|
+
]
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"id": "select",
|
|
250
|
+
"foundationContract": "select",
|
|
251
|
+
"foundationAxis": "states",
|
|
252
|
+
"catalogItem": "picker",
|
|
253
|
+
"reactRenderer": "Select",
|
|
254
|
+
"swiftUIRenderer": "Picker",
|
|
255
|
+
"intent": "Choose one value from a finite set while keeping the current selection visible.",
|
|
256
|
+
"parity": "platform-adaptive",
|
|
257
|
+
"requiredStates": [
|
|
258
|
+
"closed",
|
|
259
|
+
"open",
|
|
260
|
+
"disabled",
|
|
261
|
+
"selected-item",
|
|
262
|
+
"disabled-item"
|
|
263
|
+
],
|
|
264
|
+
"sharedOutcomes": [
|
|
265
|
+
"current-selection-remains-visible",
|
|
266
|
+
"activation-reveals-available-options",
|
|
267
|
+
"choosing-an-option-updates-the-value-once",
|
|
268
|
+
"disabled-controls-and-options-prevent-selection"
|
|
269
|
+
],
|
|
270
|
+
"accessibilityOutcomes": [
|
|
271
|
+
"exposes-label",
|
|
272
|
+
"exposes-selected-value",
|
|
273
|
+
"preserves-single-selection-semantics"
|
|
274
|
+
],
|
|
275
|
+
"platformAdaptations": {
|
|
276
|
+
"react": [
|
|
277
|
+
"Uses web combobox and listbox semantics with keyboard highlighting, a positioned popup, and focus-visible feedback."
|
|
278
|
+
],
|
|
279
|
+
"swiftUI": [
|
|
280
|
+
"Uses native Picker presentation and platform-selected styles such as menu, navigation link, wheel, or segmented control."
|
|
281
|
+
]
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "toggle",
|
|
286
|
+
"foundationContract": "toggle",
|
|
287
|
+
"foundationAxis": "states",
|
|
288
|
+
"catalogItem": "chip",
|
|
289
|
+
"reactRenderer": "Toggle",
|
|
290
|
+
"swiftUIRenderer": "AtomChip",
|
|
291
|
+
"intent": "Select or deselect a compact option without leaving the current context.",
|
|
292
|
+
"parity": "platform-adaptive",
|
|
293
|
+
"requiredStates": [
|
|
294
|
+
"off",
|
|
295
|
+
"on",
|
|
296
|
+
"disabled"
|
|
297
|
+
],
|
|
298
|
+
"sharedOutcomes": [
|
|
299
|
+
"selected-state-is-visible",
|
|
300
|
+
"activation-toggles-selection",
|
|
301
|
+
"disabled-prevents-change"
|
|
302
|
+
],
|
|
303
|
+
"accessibilityOutcomes": [
|
|
304
|
+
"exposes-label",
|
|
305
|
+
"announces-selected-state",
|
|
306
|
+
"preserves-button-role"
|
|
307
|
+
],
|
|
308
|
+
"platformAdaptations": {
|
|
309
|
+
"react": [
|
|
310
|
+
"Uses a pressed-state web toggle with hover and focus-visible feedback.",
|
|
311
|
+
"The subtle tone (accent color, no fill) is web-only."
|
|
312
|
+
],
|
|
313
|
+
"swiftUI": [
|
|
314
|
+
"Uses a touch-sized button-backed chip for compact filter selection."
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"id": "toggle-group",
|
|
320
|
+
"foundationContract": "toggle-group",
|
|
321
|
+
"foundationAxis": "states",
|
|
322
|
+
"catalogItem": "toggleGroup",
|
|
323
|
+
"reactRenderer": "ToggleGroup",
|
|
324
|
+
"swiftUIRenderer": "Picker(.segmented) / AtomGhostToggleGroup",
|
|
325
|
+
"intent": "Choose one or more options from a compact peer group.",
|
|
326
|
+
"parity": "platform-adaptive",
|
|
327
|
+
"requiredStates": [
|
|
328
|
+
"rest",
|
|
329
|
+
"selected",
|
|
330
|
+
"disabled"
|
|
331
|
+
],
|
|
332
|
+
"sharedOutcomes": [
|
|
333
|
+
"selection-state-is-visible",
|
|
334
|
+
"disabled-options-cannot-change-selection"
|
|
335
|
+
],
|
|
336
|
+
"accessibilityOutcomes": [
|
|
337
|
+
"exposes-selection",
|
|
338
|
+
"exposes-disabled-state"
|
|
339
|
+
],
|
|
340
|
+
"platformAdaptations": {
|
|
341
|
+
"react": [
|
|
342
|
+
"Supports segmented, pills, and ghost recipes with horizontal or vertical layout."
|
|
343
|
+
],
|
|
344
|
+
"swiftUI": [
|
|
345
|
+
"Uses Picker with segmented style for the joined segmented variant.",
|
|
346
|
+
"Uses AtomGhostToggleGroup with AtomGhostToggleGroupItem for quiet toolbar filters; each item remains a native Button with the selected trait."
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"id": "card",
|
|
352
|
+
"foundationContract": "card",
|
|
353
|
+
"foundationAxis": "states",
|
|
354
|
+
"catalogItem": "card",
|
|
355
|
+
"reactRenderer": "Card",
|
|
356
|
+
"swiftUIRenderer": "AtomCard",
|
|
357
|
+
"intent": "Group related content and optionally expose one primary action.",
|
|
358
|
+
"parity": "platform-adaptive",
|
|
359
|
+
"requiredStates": [
|
|
360
|
+
"rest",
|
|
361
|
+
"interactive",
|
|
362
|
+
"focus-visible"
|
|
363
|
+
],
|
|
364
|
+
"sharedOutcomes": [
|
|
365
|
+
"content-order-is-preserved",
|
|
366
|
+
"static-card-does-not-imply-action",
|
|
367
|
+
"interactive-card-has-one-primary-action"
|
|
368
|
+
],
|
|
369
|
+
"accessibilityOutcomes": [
|
|
370
|
+
"preserves-content-order",
|
|
371
|
+
"does-not-imply-action-when-static"
|
|
372
|
+
],
|
|
373
|
+
"platformAdaptations": {
|
|
374
|
+
"react": [
|
|
375
|
+
"Hover and focus-visible may communicate interactivity."
|
|
376
|
+
],
|
|
377
|
+
"swiftUI": [
|
|
378
|
+
"Touch and keyboard feedback replace pointer-only hover affordances.",
|
|
379
|
+
"AtomCardVariant.default uses a border, filled uses the muted fill, and elevated uses a shadow; each keeps one visual boundary."
|
|
380
|
+
]
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"id": "destination-link",
|
|
385
|
+
"foundationContract": "destination-link",
|
|
386
|
+
"foundationAxis": "states",
|
|
387
|
+
"catalogItem": "destinationLink",
|
|
388
|
+
"reactRenderer": "DestinationLink",
|
|
389
|
+
"swiftUIRenderer": "NavigationLink / Link",
|
|
390
|
+
"intent": "Move to an internal destination or open an external destination while making that distinction explicit.",
|
|
391
|
+
"parity": "platform-adaptive",
|
|
392
|
+
"requiredStates": [
|
|
393
|
+
"rest",
|
|
394
|
+
"focus-visible"
|
|
395
|
+
],
|
|
396
|
+
"sharedOutcomes": [
|
|
397
|
+
"internal-destination-preserves-application-navigation",
|
|
398
|
+
"external-destination-uses-platform-external-navigation",
|
|
399
|
+
"destination-kind-remains-distinguishable"
|
|
400
|
+
],
|
|
401
|
+
"accessibilityOutcomes": [
|
|
402
|
+
"exposes-link-label",
|
|
403
|
+
"announces-external-destination-behavior",
|
|
404
|
+
"preserves-native-link-semantics"
|
|
405
|
+
],
|
|
406
|
+
"platformAdaptations": {
|
|
407
|
+
"react": [
|
|
408
|
+
"Uses a router-provided internal link and a protected new-tab anchor for external destinations."
|
|
409
|
+
],
|
|
410
|
+
"swiftUI": [
|
|
411
|
+
"Uses NavigationLink for typed in-app navigation and Link or openURL for external destinations."
|
|
412
|
+
]
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"id": "badge",
|
|
417
|
+
"foundationContract": "badge",
|
|
418
|
+
"foundationAxis": "variants",
|
|
419
|
+
"catalogItem": "badge",
|
|
420
|
+
"reactRenderer": "Badge",
|
|
421
|
+
"swiftUIRenderer": "AtomBadge",
|
|
422
|
+
"intent": "Communicate a compact label or semantic status alongside primary content.",
|
|
423
|
+
"parity": "strict",
|
|
424
|
+
"requiredStates": [
|
|
425
|
+
"neutral",
|
|
426
|
+
"accent",
|
|
427
|
+
"success",
|
|
428
|
+
"warning",
|
|
429
|
+
"error"
|
|
430
|
+
],
|
|
431
|
+
"sharedOutcomes": [
|
|
432
|
+
"label-remains-readable-without-color",
|
|
433
|
+
"semantic-tone-retains-meaning"
|
|
434
|
+
],
|
|
435
|
+
"accessibilityOutcomes": [
|
|
436
|
+
"text-does-not-rely-on-color"
|
|
437
|
+
],
|
|
438
|
+
"platformAdaptations": {
|
|
439
|
+
"react": [
|
|
440
|
+
"May expose palette-only decorative variants outside the shared semantic subset.",
|
|
441
|
+
"May show a leading category dot (dot prop)."
|
|
442
|
+
],
|
|
443
|
+
"swiftUI": [
|
|
444
|
+
"Uses a compact capsule that expands for Dynamic Type."
|
|
445
|
+
]
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"id": "segmented-control",
|
|
450
|
+
"foundationContract": "segmented-control",
|
|
451
|
+
"foundationAxis": "states",
|
|
452
|
+
"catalogItem": "segmentedControl",
|
|
453
|
+
"reactRenderer": "SegmentedControl",
|
|
454
|
+
"swiftUIRenderer": "Picker(.segmented)",
|
|
455
|
+
"intent": "Switch a compact local mode or view between a small set of mutually exclusive options.",
|
|
456
|
+
"parity": "platform-adaptive",
|
|
457
|
+
"requiredStates": [
|
|
458
|
+
"rest",
|
|
459
|
+
"selected",
|
|
460
|
+
"disabled"
|
|
461
|
+
],
|
|
462
|
+
"sharedOutcomes": [
|
|
463
|
+
"one-segment-is-selected-at-a-time",
|
|
464
|
+
"activation-updates-the-selection-once",
|
|
465
|
+
"disabled-segment-prevents-selection"
|
|
466
|
+
],
|
|
467
|
+
"accessibilityOutcomes": [
|
|
468
|
+
"exposes-each-segment-label",
|
|
469
|
+
"exposes-selected-state",
|
|
470
|
+
"preserves-single-selection-semantics"
|
|
471
|
+
],
|
|
472
|
+
"platformAdaptations": {
|
|
473
|
+
"react": [
|
|
474
|
+
"Uses radiogroup and radio semantics on a segmented track, named by aria-label or aria-labelledby, with arrow-key selection, focus-visible feedback and an optional animated selection backplate."
|
|
475
|
+
],
|
|
476
|
+
"swiftUI": [
|
|
477
|
+
"Uses Picker with segmented style so geometry, typography, and selection feedback remain platform-native."
|
|
478
|
+
]
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"id": "radio",
|
|
483
|
+
"foundationContract": "radio",
|
|
484
|
+
"foundationAxis": "states",
|
|
485
|
+
"catalogItem": "radioGroup",
|
|
486
|
+
"reactRenderer": "RadioGroup / Radio",
|
|
487
|
+
"swiftUIRenderer": "Picker(.inline) in a Form / AtomSelectionRow group",
|
|
488
|
+
"intent": "Choose exactly one value from a visible set of mutually exclusive options.",
|
|
489
|
+
"parity": "platform-adaptive",
|
|
490
|
+
"requiredStates": [
|
|
491
|
+
"unchecked",
|
|
492
|
+
"checked",
|
|
493
|
+
"disabled"
|
|
494
|
+
],
|
|
495
|
+
"sharedOutcomes": [
|
|
496
|
+
"exactly-one-option-may-be-selected",
|
|
497
|
+
"activation-moves-selection-to-the-chosen-option",
|
|
498
|
+
"disabled-option-prevents-selection"
|
|
499
|
+
],
|
|
500
|
+
"accessibilityOutcomes": [
|
|
501
|
+
"exposes-group-label",
|
|
502
|
+
"exposes-option-labels-and-selected-state",
|
|
503
|
+
"preserves-single-selection-semantics"
|
|
504
|
+
],
|
|
505
|
+
"platformAdaptations": {
|
|
506
|
+
"react": [
|
|
507
|
+
"Uses radiogroup and radio semantics with circular indicators and keyboard movement."
|
|
508
|
+
],
|
|
509
|
+
"swiftUI": [
|
|
510
|
+
"Uses an inline Picker inside a Form or List, where each option is a row with the native selected trait (outside one, iOS draws a wheel), or grouped AtomSelectionRow controls."
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"id": "slider",
|
|
516
|
+
"foundationContract": "slider",
|
|
517
|
+
"foundationAxis": "states",
|
|
518
|
+
"catalogItem": "slider",
|
|
519
|
+
"reactRenderer": "Slider",
|
|
520
|
+
"swiftUIRenderer": "Slider",
|
|
521
|
+
"intent": "Adjust a bounded numeric value through direct manipulation or assistive increment and decrement actions.",
|
|
522
|
+
"parity": "platform-adaptive",
|
|
523
|
+
"requiredStates": [
|
|
524
|
+
"rest",
|
|
525
|
+
"dragging",
|
|
526
|
+
"disabled"
|
|
527
|
+
],
|
|
528
|
+
"sharedOutcomes": [
|
|
529
|
+
"value-remains-within-the-declared-range",
|
|
530
|
+
"interaction-updates-value-using-the-declared-step",
|
|
531
|
+
"disabled-control-prevents-value-change"
|
|
532
|
+
],
|
|
533
|
+
"accessibilityOutcomes": [
|
|
534
|
+
"exposes-label",
|
|
535
|
+
"exposes-current-value-and-range",
|
|
536
|
+
"supports-adjustable-actions"
|
|
537
|
+
],
|
|
538
|
+
"platformAdaptations": {
|
|
539
|
+
"react": [
|
|
540
|
+
"Supports horizontal or vertical orientation and optional multi-thumb ranges through web pointer and keyboard input."
|
|
541
|
+
],
|
|
542
|
+
"swiftUI": [
|
|
543
|
+
"Uses the native horizontal Slider with platform drag, keyboard, and accessibility-adjustable behavior.",
|
|
544
|
+
"atomSliderTone(_:) keeps accent as the default and uses primary text for the neutral tint."
|
|
545
|
+
]
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"id": "dropdown-menu",
|
|
550
|
+
"foundationContract": "dropdown-menu",
|
|
551
|
+
"foundationAxis": "states",
|
|
552
|
+
"catalogItem": "menu",
|
|
553
|
+
"reactRenderer": "DropdownMenu",
|
|
554
|
+
"swiftUIRenderer": "Menu",
|
|
555
|
+
"intent": "Present a compact set of contextual actions or choices without navigating away from the current task.",
|
|
556
|
+
"parity": "platform-adaptive",
|
|
557
|
+
"requiredStates": [
|
|
558
|
+
"closed",
|
|
559
|
+
"open",
|
|
560
|
+
"disabled",
|
|
561
|
+
"checked",
|
|
562
|
+
"destructive"
|
|
563
|
+
],
|
|
564
|
+
"sharedOutcomes": [
|
|
565
|
+
"enabled-action-executes-once-and-dismisses-the-menu",
|
|
566
|
+
"disabled-action-does-not-execute",
|
|
567
|
+
"checked-choice-exposes-its-current-state",
|
|
568
|
+
"destructive-action-retains-destructive-intent"
|
|
569
|
+
],
|
|
570
|
+
"accessibilityOutcomes": [
|
|
571
|
+
"trigger-exposes-menu-availability",
|
|
572
|
+
"items-expose-label-role-and-disabled-state",
|
|
573
|
+
"checked-items-expose-selected-or-checked-state"
|
|
574
|
+
],
|
|
575
|
+
"platformAdaptations": {
|
|
576
|
+
"react": [
|
|
577
|
+
"Uses a focus-managed popup menu with keyboard navigation, checked items, submenus, and explicit destructive styling."
|
|
578
|
+
],
|
|
579
|
+
"swiftUI": [
|
|
580
|
+
"Uses native Menu with Button roles, Toggle or Picker choices, and platform-owned presentation and keyboard behavior."
|
|
581
|
+
]
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"id": "accordion",
|
|
586
|
+
"foundationContract": "accordion",
|
|
587
|
+
"foundationAxis": "states",
|
|
588
|
+
"catalogItem": "disclosureGroup",
|
|
589
|
+
"reactRenderer": "Accordion",
|
|
590
|
+
"swiftUIRenderer": "DisclosureGroup",
|
|
591
|
+
"intent": "Reveal or hide supporting content in place while preserving the surrounding context.",
|
|
592
|
+
"parity": "platform-adaptive",
|
|
593
|
+
"requiredStates": [
|
|
594
|
+
"closed",
|
|
595
|
+
"open",
|
|
596
|
+
"disabled"
|
|
597
|
+
],
|
|
598
|
+
"sharedOutcomes": [
|
|
599
|
+
"activation-toggles-associated-content-visibility",
|
|
600
|
+
"expanded-state-matches-content-visibility",
|
|
601
|
+
"disabled-trigger-prevents-disclosure-change"
|
|
602
|
+
],
|
|
603
|
+
"accessibilityOutcomes": [
|
|
604
|
+
"trigger-exposes-expanded-state",
|
|
605
|
+
"trigger-is-associated-with-disclosed-content",
|
|
606
|
+
"disabled-trigger-exposes-disabled-state"
|
|
607
|
+
],
|
|
608
|
+
"platformAdaptations": {
|
|
609
|
+
"react": [
|
|
610
|
+
"Uses button and region disclosure semantics with optional single or multiple open sections."
|
|
611
|
+
],
|
|
612
|
+
"swiftUI": [
|
|
613
|
+
"Uses DisclosureGroup with native indicator geometry, animation, and list integration."
|
|
614
|
+
]
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"id": "calendar",
|
|
619
|
+
"foundationContract": "calendar",
|
|
620
|
+
"foundationAxis": "states",
|
|
621
|
+
"catalogItem": "datePicker",
|
|
622
|
+
"reactRenderer": "Calendar",
|
|
623
|
+
"swiftUIRenderer": "DatePicker",
|
|
624
|
+
"intent": "Select an allowed calendar date while understanding its day, month, and current selection.",
|
|
625
|
+
"parity": "platform-adaptive",
|
|
626
|
+
"requiredStates": [
|
|
627
|
+
"rest",
|
|
628
|
+
"selected",
|
|
629
|
+
"disabled"
|
|
630
|
+
],
|
|
631
|
+
"sharedOutcomes": [
|
|
632
|
+
"selection-updates-to-an-allowed-date",
|
|
633
|
+
"disabled-date-prevents-selection",
|
|
634
|
+
"selected-date-remains-visible"
|
|
635
|
+
],
|
|
636
|
+
"accessibilityOutcomes": [
|
|
637
|
+
"exposes-control-label",
|
|
638
|
+
"dates-expose-complete-date-names",
|
|
639
|
+
"selected-date-exposes-selected-state"
|
|
640
|
+
],
|
|
641
|
+
"platformAdaptations": {
|
|
642
|
+
"react": [
|
|
643
|
+
"Uses a visible calendar grid and may support single, multiple, or range selection."
|
|
644
|
+
],
|
|
645
|
+
"swiftUI": [
|
|
646
|
+
"Uses DatePicker with platform-owned compact, graphical, or field presentation and declared date bounds."
|
|
647
|
+
]
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"id": "search-field",
|
|
652
|
+
"foundationContract": "search-field",
|
|
653
|
+
"foundationAxis": "states",
|
|
654
|
+
"catalogItem": "search",
|
|
655
|
+
"reactRenderer": "SearchField",
|
|
656
|
+
"swiftUIRenderer": "searchable(text:prompt:)",
|
|
657
|
+
"intent": "Find or filter relevant content by editing a query without leaving the current collection.",
|
|
658
|
+
"parity": "platform-adaptive",
|
|
659
|
+
"requiredStates": [
|
|
660
|
+
"empty",
|
|
661
|
+
"query",
|
|
662
|
+
"focus",
|
|
663
|
+
"disabled"
|
|
664
|
+
],
|
|
665
|
+
"sharedOutcomes": [
|
|
666
|
+
"editing-updates-the-query",
|
|
667
|
+
"clear-empties-the-query-and-preserves-input-context",
|
|
668
|
+
"submit-commits-the-current-query-once",
|
|
669
|
+
"disabled-search-prevents-editing-and-clear"
|
|
670
|
+
],
|
|
671
|
+
"accessibilityOutcomes": [
|
|
672
|
+
"exposes-search-input-role-and-label",
|
|
673
|
+
"clear-action-has-an-accessible-label",
|
|
674
|
+
"disabled-state-is-exposed"
|
|
675
|
+
],
|
|
676
|
+
"platformAdaptations": {
|
|
677
|
+
"react": [
|
|
678
|
+
"Uses a labeled native search input with an explicit clear button and native form submission."
|
|
679
|
+
],
|
|
680
|
+
"swiftUI": [
|
|
681
|
+
"Uses searchable so placement, cancel, clear, suggestions, keyboard, and focus presentation follow the active Apple platform."
|
|
682
|
+
]
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"id": "tabs",
|
|
687
|
+
"foundationContract": "tabs",
|
|
688
|
+
"foundationAxis": "states",
|
|
689
|
+
"catalogItem": "tabs",
|
|
690
|
+
"reactRenderer": "Tabs",
|
|
691
|
+
"swiftUIRenderer": "Picker(.segmented) / AtomTabRow",
|
|
692
|
+
"swiftUIRendererByVariant": {
|
|
693
|
+
"default": "Picker(.segmented)",
|
|
694
|
+
"underline": "AtomTabRow",
|
|
695
|
+
"attached": "AtomTabRow"
|
|
696
|
+
},
|
|
697
|
+
"intent": "Switch between peer destinations or content views while keeping one selection active.",
|
|
698
|
+
"parity": "platform-adaptive",
|
|
699
|
+
"requiredStates": [
|
|
700
|
+
"rest",
|
|
701
|
+
"selected"
|
|
702
|
+
],
|
|
703
|
+
"sharedOutcomes": [
|
|
704
|
+
"one-tab-is-selected-at-a-time",
|
|
705
|
+
"selection-reveals-the-associated-content",
|
|
706
|
+
"selected-tab-remains-visually-distinguishable"
|
|
707
|
+
],
|
|
708
|
+
"accessibilityOutcomes": [
|
|
709
|
+
"exposes-tab-labels",
|
|
710
|
+
"exposes-selected-state",
|
|
711
|
+
"associates-selection-with-visible-content"
|
|
712
|
+
],
|
|
713
|
+
"platformAdaptations": {
|
|
714
|
+
"react": [
|
|
715
|
+
"Uses tablist, tab, and tabpanel semantics with keyboard navigation and a visual indicator."
|
|
716
|
+
],
|
|
717
|
+
"swiftUI": [
|
|
718
|
+
"The default variant is a segmented Picker above the content it selects, for a short second-level filter of two to four options.",
|
|
719
|
+
"The underline variant is AtomTabRow, a row of text tabs over the content it selects: the selected tab reads text-primary over an accent bar, the others text-secondary. The row scrolls sideways when the tabs do not fit and keeps the selected tab in view. Each tab can show an SF Symbol over its label. The bar slides to the new tab, and jumps under Reduce Motion. Each tab is a named button with the selected trait inside a tab-bar container, and the row mirrors in right-to-left languages.",
|
|
720
|
+
"The attached variant also renders as AtomTabRow: folder tabs are a pointer idiom with no iOS counterpart, and the underline row already sits flush on the content it selects.",
|
|
721
|
+
"TabView stays the renderer for app-level sections such as a tab bar or sidebar.",
|
|
722
|
+
"In a TabView, each tab's root is its ScrollView or List. From iOS 26 the glass tab bar floats over it: content scrolls under the bar at rest, and TabView insets the scroll content so the last row ends above the bar. Do not pad for the bar, draw content in a ZStack or overlay over the TabView, or apply ignoresSafeArea to the bottom edge; extra bottom chrome goes in safeAreaInset(edge: .bottom) on the tab's root."
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"id": "avatar",
|
|
728
|
+
"foundationContract": "avatar",
|
|
729
|
+
"foundationAxis": "states",
|
|
730
|
+
"catalogItem": "avatar",
|
|
731
|
+
"reactRenderer": "Avatar",
|
|
732
|
+
"swiftUIRenderer": "AtomAvatar",
|
|
733
|
+
"intent": "Represent a person or entity with an image and identity-preserving fallback.",
|
|
734
|
+
"parity": "strict",
|
|
735
|
+
"requiredStates": [
|
|
736
|
+
"loading",
|
|
737
|
+
"loaded",
|
|
738
|
+
"fallback"
|
|
739
|
+
],
|
|
740
|
+
"sharedOutcomes": [
|
|
741
|
+
"accessible-name-is-preserved",
|
|
742
|
+
"fallback-preserves-identity",
|
|
743
|
+
"loading-does-not-expose-empty-image"
|
|
744
|
+
],
|
|
745
|
+
"accessibilityOutcomes": [
|
|
746
|
+
"exposes-accessible-name",
|
|
747
|
+
"fallback-preserves-identity"
|
|
748
|
+
],
|
|
749
|
+
"platformAdaptations": {
|
|
750
|
+
"react": [
|
|
751
|
+
"Uses browser image loading and DOM fallback composition.",
|
|
752
|
+
"The square shape and the ring are web-only for now."
|
|
753
|
+
],
|
|
754
|
+
"swiftUI": [
|
|
755
|
+
"Uses native image decoding and SwiftUI loading phases.",
|
|
756
|
+
"AtomAvatar(badge:) pins a status dot (.dot) or a count (.count) to the corner, read after the name."
|
|
757
|
+
]
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"id": "empty",
|
|
762
|
+
"foundationContract": "empty",
|
|
763
|
+
"foundationAxis": "states",
|
|
764
|
+
"catalogItem": "contentState",
|
|
765
|
+
"reactRenderer": "Empty",
|
|
766
|
+
"swiftUIRenderer": "AtomContentStateView",
|
|
767
|
+
"intent": "Explain absent or unavailable content and provide an appropriate recovery path.",
|
|
768
|
+
"parity": "platform-adaptive",
|
|
769
|
+
"requiredStates": [
|
|
770
|
+
"empty",
|
|
771
|
+
"error"
|
|
772
|
+
],
|
|
773
|
+
"sharedOutcomes": [
|
|
774
|
+
"heading-explains-state",
|
|
775
|
+
"supporting-copy-provides-context",
|
|
776
|
+
"recovery-action-remains-available"
|
|
777
|
+
],
|
|
778
|
+
"accessibilityOutcomes": [
|
|
779
|
+
"exposes-heading",
|
|
780
|
+
"exposes-recovery-action",
|
|
781
|
+
"preserves-reading-order"
|
|
782
|
+
],
|
|
783
|
+
"platformAdaptations": {
|
|
784
|
+
"react": [
|
|
785
|
+
"Uses composable Empty slots for illustration, copy, and action."
|
|
786
|
+
],
|
|
787
|
+
"swiftUI": [
|
|
788
|
+
"Uses ContentUnavailableView while preserving recovery intent and hierarchy."
|
|
789
|
+
]
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"id": "alert",
|
|
794
|
+
"foundationContract": "alert",
|
|
795
|
+
"foundationAxis": "variants",
|
|
796
|
+
"catalogItem": "notice",
|
|
797
|
+
"reactRenderer": "Alert",
|
|
798
|
+
"swiftUIRenderer": "AtomNotice",
|
|
799
|
+
"intent": "Communicate persistent semantic feedback and an optional recovery action.",
|
|
800
|
+
"parity": "strict",
|
|
801
|
+
"requiredStates": [
|
|
802
|
+
"info",
|
|
803
|
+
"success",
|
|
804
|
+
"warning",
|
|
805
|
+
"error"
|
|
806
|
+
],
|
|
807
|
+
"sharedOutcomes": [
|
|
808
|
+
"tone-is-not-conveyed-by-color-alone",
|
|
809
|
+
"message-remains-readable",
|
|
810
|
+
"action-does-not-obscure-status"
|
|
811
|
+
],
|
|
812
|
+
"accessibilityOutcomes": [
|
|
813
|
+
"announces-semantic-tone",
|
|
814
|
+
"text-does-not-rely-on-color"
|
|
815
|
+
],
|
|
816
|
+
"platformAdaptations": {
|
|
817
|
+
"react": [
|
|
818
|
+
"Uses a web status-callout surface with composable slots."
|
|
819
|
+
],
|
|
820
|
+
"swiftUI": [
|
|
821
|
+
"Uses a compact native callout and avoids assertive announcements for persistent notices."
|
|
822
|
+
]
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"id": "progress",
|
|
827
|
+
"foundationContract": "progress",
|
|
828
|
+
"foundationAxis": "states",
|
|
829
|
+
"catalogItem": "progress",
|
|
830
|
+
"reactRenderer": "Progress",
|
|
831
|
+
"swiftUIRenderer": "AtomProgressView",
|
|
832
|
+
"intent": "Communicate an ongoing operation or measured completion.",
|
|
833
|
+
"parity": "platform-adaptive",
|
|
834
|
+
"requiredStates": [
|
|
835
|
+
"indeterminate",
|
|
836
|
+
"progressing",
|
|
837
|
+
"complete"
|
|
838
|
+
],
|
|
839
|
+
"sharedOutcomes": [
|
|
840
|
+
"label-identifies-operation",
|
|
841
|
+
"determinate-value-is-exposed",
|
|
842
|
+
"completion-is-distinguishable"
|
|
843
|
+
],
|
|
844
|
+
"accessibilityOutcomes": [
|
|
845
|
+
"exposes-label",
|
|
846
|
+
"announces-progress-value"
|
|
847
|
+
],
|
|
848
|
+
"platformAdaptations": {
|
|
849
|
+
"react": [
|
|
850
|
+
"May use a custom CSS indicator that follows web geometry."
|
|
851
|
+
],
|
|
852
|
+
"swiftUI": [
|
|
853
|
+
"Uses native ProgressView styles and platform progress animation.",
|
|
854
|
+
"AtomProgressView tone keeps accent as the default and uses primary text for neutral progress."
|
|
855
|
+
]
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"id": "skeleton",
|
|
860
|
+
"foundationContract": "skeleton",
|
|
861
|
+
"foundationAxis": "states",
|
|
862
|
+
"catalogItem": "skeleton",
|
|
863
|
+
"reactRenderer": "Skeleton",
|
|
864
|
+
"swiftUIRenderer": "AtomSkeletonRow / atomSkeleton(_:)",
|
|
865
|
+
"intent": "Preserve layout while content loads without exposing placeholder content as real content.",
|
|
866
|
+
"parity": "recipe",
|
|
867
|
+
"requiredStates": [
|
|
868
|
+
"loading",
|
|
869
|
+
"reduced-motion"
|
|
870
|
+
],
|
|
871
|
+
"sharedOutcomes": [
|
|
872
|
+
"placeholder-is-hidden-from-assistive-technology",
|
|
873
|
+
"interaction-is-blocked-while-loading",
|
|
874
|
+
"reduced-motion-result-is-static"
|
|
875
|
+
],
|
|
876
|
+
"accessibilityOutcomes": [
|
|
877
|
+
"hidden-from-accessibility-tree",
|
|
878
|
+
"blocks-interaction-while-active"
|
|
879
|
+
],
|
|
880
|
+
"motion": {
|
|
881
|
+
"kind": "shimmer",
|
|
882
|
+
"durationToken": "motion-skeleton-shimmer",
|
|
883
|
+
"easing": "linear",
|
|
884
|
+
"direction": "leading-to-trailing",
|
|
885
|
+
"reducedMotion": "static"
|
|
886
|
+
},
|
|
887
|
+
"platformAdaptations": {
|
|
888
|
+
"react": [
|
|
889
|
+
"Uses a CSS pseudo-element shimmer and media-query motion preference."
|
|
890
|
+
],
|
|
891
|
+
"swiftUI": [
|
|
892
|
+
"Uses a TimelineView gradient mask and environment motion preference."
|
|
893
|
+
]
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"id": "load-more-trigger",
|
|
898
|
+
"foundationContract": "load-more-trigger",
|
|
899
|
+
"foundationAxis": "states",
|
|
900
|
+
"catalogItem": "pagination",
|
|
901
|
+
"reactRenderer": "LoadMoreTrigger",
|
|
902
|
+
"swiftUIRenderer": "AtomLoadMoreView",
|
|
903
|
+
"intent": "Load the next collection segment and communicate recovery or completion.",
|
|
904
|
+
"parity": "strict",
|
|
905
|
+
"requiredStates": [
|
|
906
|
+
"idle",
|
|
907
|
+
"loading",
|
|
908
|
+
"failed",
|
|
909
|
+
"exhausted"
|
|
910
|
+
],
|
|
911
|
+
"stateTones": {
|
|
912
|
+
"idle": "neutral",
|
|
913
|
+
"loading": "info",
|
|
914
|
+
"failed": "error",
|
|
915
|
+
"exhausted": "success"
|
|
916
|
+
},
|
|
917
|
+
"sharedOutcomes": [
|
|
918
|
+
"loading-is-announced",
|
|
919
|
+
"failure-provides-retry",
|
|
920
|
+
"exhaustion-is-announced",
|
|
921
|
+
"existing-items-remain-stable-while-appending"
|
|
922
|
+
],
|
|
923
|
+
"accessibilityOutcomes": [
|
|
924
|
+
"announces-loading",
|
|
925
|
+
"exposes-retry-action",
|
|
926
|
+
"announces-exhausted"
|
|
927
|
+
],
|
|
928
|
+
"platformAdaptations": {
|
|
929
|
+
"react": [
|
|
930
|
+
"IntersectionObserver may trigger loading while the explicit state renderer remains visible."
|
|
931
|
+
],
|
|
932
|
+
"swiftUI": [
|
|
933
|
+
"A list sentinel, task, or explicit load-more action may trigger loading."
|
|
934
|
+
]
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"id": "toaster",
|
|
939
|
+
"foundationContract": "toaster",
|
|
940
|
+
"foundationAxis": "states",
|
|
941
|
+
"catalogItem": "toast",
|
|
942
|
+
"reactRenderer": "Toaster",
|
|
943
|
+
"swiftUIRenderer": "AtomToast / atomToast(_:)",
|
|
944
|
+
"intent": "Announce transient feedback without interrupting the current task.",
|
|
945
|
+
"parity": "recipe",
|
|
946
|
+
"requiredStates": [
|
|
947
|
+
"visible",
|
|
948
|
+
"dismissing",
|
|
949
|
+
"reduced-motion"
|
|
950
|
+
],
|
|
951
|
+
"sharedOutcomes": [
|
|
952
|
+
"message-is-announced",
|
|
953
|
+
"focus-is-not-trapped",
|
|
954
|
+
"dismissal-respects-motion-preference"
|
|
955
|
+
],
|
|
956
|
+
"accessibilityOutcomes": [
|
|
957
|
+
"announces-message",
|
|
958
|
+
"does-not-trap-focus"
|
|
959
|
+
],
|
|
960
|
+
"motion": {
|
|
961
|
+
"kind": "toast-enter-exit",
|
|
962
|
+
"durationToken": "motion-standard",
|
|
963
|
+
"easing": "ease-out",
|
|
964
|
+
"direction": "block-start",
|
|
965
|
+
"reducedMotion": "none"
|
|
966
|
+
},
|
|
967
|
+
"platformAdaptations": {
|
|
968
|
+
"react": [
|
|
969
|
+
"Portal placement follows the viewport and DOM stacking context."
|
|
970
|
+
],
|
|
971
|
+
"swiftUI": [
|
|
972
|
+
"Overlay placement follows safe areas and native transition composition."
|
|
973
|
+
]
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"id": "item",
|
|
978
|
+
"foundationContract": "item",
|
|
979
|
+
"foundationAxis": "states",
|
|
980
|
+
"catalogItem": "listSection",
|
|
981
|
+
"reactRenderer": "ItemGroup",
|
|
982
|
+
"swiftUIRenderer": "AtomListSection",
|
|
983
|
+
"intent": "Group related rows on one inset surface with a divider between rows, as in a grouped settings list.",
|
|
984
|
+
"parity": "platform-adaptive",
|
|
985
|
+
"requiredStates": [
|
|
986
|
+
"rest"
|
|
987
|
+
],
|
|
988
|
+
"sharedOutcomes": [
|
|
989
|
+
"rows-keep-reading-order",
|
|
990
|
+
"dividers-are-decorative"
|
|
991
|
+
],
|
|
992
|
+
"accessibilityOutcomes": [
|
|
993
|
+
"preserves-row-order",
|
|
994
|
+
"hides-dividers-from-assistive-technology"
|
|
995
|
+
],
|
|
996
|
+
"platformAdaptations": {
|
|
997
|
+
"react": [
|
|
998
|
+
'ItemGroup variant="inset" draws the group; a heading above it and a note below it belong to the page.',
|
|
999
|
+
'ItemGroup surface="muted" fills the inset group with the muted grey, for a white page (bg-card); the default card fill sits on the grey page.',
|
|
1000
|
+
"A row that navigates is an Item rendered as a link, with its value in bold and a chevron in ItemActions.",
|
|
1001
|
+
"In the phone form factor an inset group's default and sm rows are at least 52px tall (--a63-inset-row-min-size) and the card has the 2xl corner (--a63-inset-group-radius); elsewhere they keep the control-height floor and --radius-lg."
|
|
1002
|
+
],
|
|
1003
|
+
"swiftUI": [
|
|
1004
|
+
"AtomListSection draws the group inside a ScrollView and takes an optional header and footer; inside a List or Form, the native Section draws it.",
|
|
1005
|
+
"AtomListSection(surface: .muted) fills the section with surfaceMuted for a surfacePanel page; the default .card fill sits on surfacePage.",
|
|
1006
|
+
"AtomListSection rows are at least 52pt tall, scaled with Dynamic Type, and the section has an 18pt continuous corner.",
|
|
1007
|
+
"AtomValueRow(_:value:emphasizesValue:showsDisclosure:) is the label, value and chevron row.",
|
|
1008
|
+
"Rows pad themselves with atomListRowInsets() inside their tap area, so a NavigationLink or Button row is tappable edge to edge; Atom63 rows do it already, and a custom row takes the modifier inside its label."
|
|
1009
|
+
]
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"id": "carousel",
|
|
1014
|
+
"foundationContract": "carousel",
|
|
1015
|
+
"foundationAxis": "states",
|
|
1016
|
+
"catalogItem": "pageDots",
|
|
1017
|
+
"reactRenderer": "CarouselDots",
|
|
1018
|
+
"swiftUIRenderer": "TabView(.page) / AtomPageDots",
|
|
1019
|
+
"intent": "Show which slide of a paged carousel is current, and go to a slide by choosing its dot.",
|
|
1020
|
+
"parity": "platform-adaptive",
|
|
1021
|
+
"requiredStates": [
|
|
1022
|
+
"rest"
|
|
1023
|
+
],
|
|
1024
|
+
"sharedOutcomes": [
|
|
1025
|
+
"one-dot-per-slide",
|
|
1026
|
+
"current-slide-is-marked",
|
|
1027
|
+
"choosing-a-dot-shows-its-slide"
|
|
1028
|
+
],
|
|
1029
|
+
"accessibilityOutcomes": [
|
|
1030
|
+
"names-the-indicator",
|
|
1031
|
+
"exposes-the-current-position"
|
|
1032
|
+
],
|
|
1033
|
+
"platformAdaptations": {
|
|
1034
|
+
"react": [
|
|
1035
|
+
'One button per snap point, named "Slide 2 of 5"; the current one carries aria-current.',
|
|
1036
|
+
"`shape` and `tone` on CarouselDots pick round dots or a pill, and neutral, accent or on-media colours."
|
|
1037
|
+
],
|
|
1038
|
+
"swiftUI": [
|
|
1039
|
+
"TabView with .page(indexDisplayMode: .never) pages the slides; AtomPageDots binds to its selection.",
|
|
1040
|
+
"VoiceOver reads the dots as one adjustable element; swiping up or down changes the slide.",
|
|
1041
|
+
"`shape:` and `tone:` on AtomPageDots take the same values; the round dots sit closer together, as UIPageControl does, because VoiceOver adjusts the indicator as one element."
|
|
1042
|
+
]
|
|
1043
|
+
}
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"id": "message",
|
|
1047
|
+
"foundationContract": "message",
|
|
1048
|
+
"foundationAxis": "states",
|
|
1049
|
+
"catalogItem": "message",
|
|
1050
|
+
"reactRenderer": "Message",
|
|
1051
|
+
"swiftUIRenderer": "AtomMessage",
|
|
1052
|
+
"intent": "Show one message between people as a bubble on its sender's side, joined to the messages around it from the same sender, with its time and delivery status.",
|
|
1053
|
+
"parity": "strict",
|
|
1054
|
+
"requiredStates": [
|
|
1055
|
+
"rest"
|
|
1056
|
+
],
|
|
1057
|
+
"sharedOutcomes": [
|
|
1058
|
+
"direction-sets-side-and-fill",
|
|
1059
|
+
"runs-join-at-shared-corners",
|
|
1060
|
+
"status-is-named"
|
|
1061
|
+
],
|
|
1062
|
+
"accessibilityOutcomes": [
|
|
1063
|
+
"names-the-sender",
|
|
1064
|
+
"names-the-delivery-status"
|
|
1065
|
+
],
|
|
1066
|
+
"platformAdaptations": {
|
|
1067
|
+
"react": [
|
|
1068
|
+
"MessageList is a log region; Message is an article named by label (the sender), with logical corner radii so a thread mirrors in right-to-left scripts.",
|
|
1069
|
+
"Outgoing bubbles read --a63-message-outgoing-background and -foreground, which default to the accent; a theme or a product can set them."
|
|
1070
|
+
],
|
|
1071
|
+
"swiftUI": [
|
|
1072
|
+
"AtomMessage takes direction, position, time and status; AtomMessageEvent is the centred row. The bubble uses UnevenRoundedRectangle for the joined corners.",
|
|
1073
|
+
"The status icon is an SF Symbol with an accessibility label; the bubble combines its children into one VoiceOver element."
|
|
1074
|
+
]
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
];
|
|
1078
|
+
function getCrossRendererContract(id) {
|
|
1079
|
+
const contract = crossRendererContracts.find((candidate) => candidate.id === id);
|
|
1080
|
+
if (!contract) {
|
|
1081
|
+
throw new Error(`Unknown cross-renderer contract: ${id}`);
|
|
1082
|
+
}
|
|
1083
|
+
return contract;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
export { crossRendererContracts, getCrossRendererContract };
|
|
1087
|
+
//# sourceMappingURL=chunk-72GIOGRU.js.map
|
|
1088
|
+
//# sourceMappingURL=chunk-72GIOGRU.js.map
|