@ankhorage/zora 22.1.4 → 23.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/constants/authoring.d.ts +4 -4
- package/dist/constants/authoring.d.ts.map +1 -1
- package/dist/constants/authoring.js +2 -0
- package/dist/constants/authoring.js.map +1 -1
- package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
- package/dist/features/auth/adapters/inbound/AuthScreen.d.ts +10 -0
- package/dist/features/auth/adapters/inbound/AuthScreen.d.ts.map +1 -0
- package/dist/features/auth/adapters/inbound/AuthScreen.js +67 -0
- package/dist/features/auth/adapters/inbound/AuthScreen.js.map +1 -0
- package/dist/features/auth/authScreenMeta.d.ts +204 -0
- package/dist/features/auth/authScreenMeta.d.ts.map +1 -0
- package/dist/features/auth/authScreenMeta.js +112 -0
- package/dist/features/auth/authScreenMeta.js.map +1 -0
- package/dist/features/auth/public.d.ts +2 -1
- package/dist/features/auth/public.d.ts.map +1 -1
- package/dist/features/auth/public.js +1 -0
- package/dist/features/auth/public.js.map +1 -1
- package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
- package/dist/features/card/cardMeta.d.ts +1 -1
- package/dist/features/card/mediaCardMeta.d.ts +1 -1
- package/dist/features/card/postCardMeta.d.ts +1 -1
- package/dist/features/chat/messageBubbleMeta.d.ts +1 -1
- package/dist/features/dialog/dialogMeta.d.ts +2 -2
- package/dist/features/gradient/gradientMeta.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.d.ts +2 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.js +2 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphView.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphView.js +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphView.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/bindGraphEvents.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/bindGraphEvents.js +12 -4
- package/dist/features/graph-view/adapters/inbound/web-artifact/bindGraphEvents.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.d.ts +2 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.js +3 -3
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.js.map +1 -1
- package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
- package/dist/features/layout/gridMeta.d.ts +1 -1
- package/dist/features/layout/screenMeta.d.ts +1 -1
- package/dist/features/layout/scrollViewMeta.d.ts +1 -1
- package/dist/features/layout/viewMeta.d.ts +1 -1
- package/dist/features/list/flatListMeta.d.ts +1 -1
- package/dist/features/list/sectionListMeta.d.ts +1 -1
- package/dist/features/reader/meta.d.ts +2 -2
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts.map +1 -1
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +2 -1
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -1
- package/dist/features/registry/bindableComponentMeta.d.ts +2 -2
- package/dist/features/registry/componentMeta.d.ts.map +1 -1
- package/dist/features/registry/componentMeta.js +2 -0
- package/dist/features/registry/componentMeta.js.map +1 -1
- package/dist/features/scanner/meta.d.ts +2 -2
- package/dist/features/section/screenSectionMeta.d.ts +1 -1
- package/dist/features/selection/adapters/inbound/SelectableItem.d.ts +1 -5
- package/dist/features/selection/adapters/inbound/SelectableItem.d.ts.map +1 -1
- package/dist/features/selection/adapters/inbound/SelectableItem.js +30 -54
- package/dist/features/selection/adapters/inbound/SelectableItem.js.map +1 -1
- package/dist/features/selection/adapters/inbound/SelectionProvider.d.ts +2 -6
- package/dist/features/selection/adapters/inbound/SelectionProvider.d.ts.map +1 -1
- package/dist/features/selection/adapters/inbound/SelectionProvider.js +36 -32
- package/dist/features/selection/adapters/inbound/SelectionProvider.js.map +1 -1
- package/dist/features/selection/application/resolveSelectionEventIntent.d.ts +5 -0
- package/dist/features/selection/application/resolveSelectionEventIntent.d.ts.map +1 -0
- package/dist/features/selection/application/resolveSelectionEventIntent.js +49 -0
- package/dist/features/selection/application/resolveSelectionEventIntent.js.map +1 -0
- package/dist/features/selection/public.d.ts +2 -0
- package/dist/features/selection/public.d.ts.map +1 -1
- package/dist/features/selection/public.js +1 -0
- package/dist/features/selection/public.js.map +1 -1
- package/dist/features/selection/utils/resolveSelectionNextIds.d.ts +4 -5
- package/dist/features/selection/utils/resolveSelectionNextIds.d.ts.map +1 -1
- package/dist/features/selection/utils/resolveSelectionNextIds.js +6 -13
- package/dist/features/selection/utils/resolveSelectionNextIds.js.map +1 -1
- package/dist/features/surface/surfaceMeta.d.ts +1 -1
- package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeItem.d.ts +3 -2
- package/dist/features/tree-view/adapters/inbound/TreeItem.d.ts.map +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeItem.js +11 -4
- package/dist/features/tree-view/adapters/inbound/TreeItem.js.map +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeView.d.ts.map +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeView.js +4 -5
- package/dist/features/tree-view/adapters/inbound/TreeView.js.map +1 -1
- package/dist/features/tree-view/adapters/inbound/web-artifact/TreeItemRow.d.ts +3 -2
- package/dist/features/tree-view/adapters/inbound/web-artifact/TreeItemRow.d.ts.map +1 -1
- package/dist/features/tree-view/adapters/inbound/web-artifact/TreeItemRow.js +17 -9
- package/dist/features/tree-view/adapters/inbound/web-artifact/TreeItemRow.js.map +1 -1
- package/dist/features/tree-view/adapters/inbound/web-artifact/TreeView.d.ts +4 -3
- package/dist/features/tree-view/adapters/inbound/web-artifact/TreeView.d.ts.map +1 -1
- package/dist/features/tree-view/adapters/inbound/web-artifact/TreeView.js +8 -8
- package/dist/features/tree-view/adapters/inbound/web-artifact/TreeView.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/auth.d.ts +19 -0
- package/dist/types/auth.d.ts.map +1 -1
- package/dist/types/auth.js.map +1 -1
- package/dist/types/graph-view.d.ts +2 -0
- package/dist/types/graph-view.d.ts.map +1 -1
- package/dist/types/graph-view.js.map +1 -1
- package/dist/types/selection.d.ts +3 -0
- package/dist/types/selection.d.ts.map +1 -1
- package/dist/types/selection.js.map +1 -1
- package/dist/types/tree-view.d.ts +3 -2
- package/dist/types/tree-view.d.ts.map +1 -1
- package/dist/types/tree-view.js.map +1 -1
- package/package.json +2 -2
- package/src/constants/authoring.ts +2 -0
- package/src/features/auth/adapters/inbound/AuthScreen.tsx +202 -0
- package/src/features/auth/authScreenMeta.ts +114 -0
- package/src/features/auth/public.test.ts +6 -0
- package/src/features/auth/public.ts +3 -0
- package/src/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.tsx +10 -2
- package/src/features/graph-view/adapters/inbound/web-artifact/GraphView.tsx +3 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/bindGraphEvents.ts +22 -5
- package/src/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.test.ts +21 -0
- package/src/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.ts +10 -3
- package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +2 -0
- package/src/features/registry/componentMeta.test.ts +1 -0
- package/src/features/registry/componentMeta.ts +2 -0
- package/src/features/selection/adapters/inbound/SelectableItem.tsx +33 -50
- package/src/features/selection/adapters/inbound/SelectionProvider.tsx +34 -35
- package/src/features/selection/application/resolveSelectionEventIntent.test.ts +35 -0
- package/src/features/selection/application/resolveSelectionEventIntent.ts +55 -0
- package/src/features/selection/public.ts +2 -0
- package/src/features/selection/utils/resolveSelectionNextIds.test.ts +1 -14
- package/src/features/selection/utils/resolveSelectionNextIds.ts +6 -28
- package/src/features/tree-view/adapters/inbound/TreeItem.tsx +25 -9
- package/src/features/tree-view/adapters/inbound/TreeView.tsx +4 -6
- package/src/features/tree-view/adapters/inbound/web-artifact/TreeItemRow.tsx +26 -8
- package/src/features/tree-view/adapters/inbound/web-artifact/TreeView.test.tsx +77 -7
- package/src/features/tree-view/adapters/inbound/web-artifact/TreeView.tsx +11 -9
- package/src/index.ts +4 -0
- package/src/showcaseCoverage.test.ts +1 -0
- package/src/types/auth.ts +21 -0
- package/src/types/graph-view.ts +2 -0
- package/src/types/selection.ts +3 -0
- package/src/types/tree-view.ts +3 -2
- package/web-dist/chunks/{Accordion-j2aw3d5b.js → Accordion-01e56hb5.js} +1 -1
- package/web-dist/chunks/{Accordion-784f23tq.js → Accordion-14p7zanv.js} +1 -1
- package/web-dist/chunks/{Accordion-cecn51ry.js → Accordion-17pht8jd.js} +3 -3
- package/web-dist/chunks/{Accordion-555gnfmw.js → Accordion-2ak69ntj.js} +11 -11
- package/web-dist/chunks/{Accordion-ycmg06sq.js → Accordion-46vwm9xv.js} +3 -3
- package/web-dist/chunks/{Accordion-nn38n7q4.js → Accordion-4r9a9qny.js} +5 -5
- package/web-dist/chunks/Accordion-5df6cgyf.js +55 -0
- package/web-dist/chunks/{Accordion-v1dtv6v0.js → Accordion-5pskbqss.js} +7 -7
- package/web-dist/chunks/{Accordion-sr353w95.js → Accordion-78mj69zp.js} +2 -2
- package/web-dist/chunks/{Accordion-emczc5rg.js → Accordion-8xdet564.js} +16 -16
- package/web-dist/chunks/{Accordion-ajydqhjp.js → Accordion-8xk2zmr5.js} +2 -2
- package/web-dist/chunks/{Accordion-8af800ts.js → Accordion-9n7h9hag.js} +8 -8
- package/web-dist/chunks/{Accordion-73m7z73v.js → Accordion-b9myvfep.js} +5 -5
- package/web-dist/chunks/{Accordion-vmz8y01b.js → Accordion-bmp1ab7m.js} +496 -303
- package/web-dist/chunks/{Accordion-s1jhv8gk.js → Accordion-cqgbx1pw.js} +4 -4
- package/web-dist/chunks/{Accordion-2fm2tm5r.js → Accordion-cydzrpk2.js} +2 -2
- package/web-dist/chunks/{Accordion-07rdw2vh.js → Accordion-ejns5mga.js} +5 -5
- package/web-dist/chunks/{Accordion-yz7b7njb.js → Accordion-ejy7gr0a.js} +6 -6
- package/web-dist/chunks/{Accordion-mpnb4qqw.js → Accordion-f2mfgcx6.js} +15 -15
- package/web-dist/chunks/{Accordion-bsy1jrak.js → Accordion-ff583p4q.js} +2 -2
- package/web-dist/chunks/{Accordion-jj3bg8c1.js → Accordion-jksn8783.js} +6 -6
- package/web-dist/chunks/{Accordion-tj61sa5s.js → Accordion-jnwa02s7.js} +4 -4
- package/web-dist/chunks/{Accordion-rkv7jyaj.js → Accordion-kemavggr.js} +1 -1
- package/web-dist/chunks/{Accordion-mvfz28m8.js → Accordion-kmv2fp6m.js} +7 -7
- package/web-dist/chunks/{Accordion-jhwsvx3g.js → Accordion-kpnwdpb5.js} +1 -1
- package/web-dist/chunks/{Accordion-avmgvcef.js → Accordion-mm4kx13n.js} +10 -10
- package/web-dist/chunks/{Accordion-qvt6qdqm.js → Accordion-nggjwm07.js} +6 -6
- package/web-dist/chunks/{Accordion-yf6vseep.js → Accordion-q0st659f.js} +82 -89
- package/web-dist/chunks/{Accordion-zx0jc0kg.js → Accordion-qb8ppq9t.js} +5 -5
- package/web-dist/chunks/Accordion-r23sx4gf.js +34 -0
- package/web-dist/chunks/{Accordion-9rnepkvk.js → Accordion-rev0zb75.js} +6 -6
- package/web-dist/chunks/{Accordion-z585n0mr.js → Accordion-rjgdrn7y.js} +1 -1
- package/web-dist/chunks/{Accordion-pnvt10cv.js → Accordion-rnjt5z4y.js} +19 -19
- package/web-dist/chunks/{Accordion-45ej9brb.js → Accordion-tyqds4zr.js} +6 -6
- package/web-dist/chunks/{Accordion-8hhvtcxp.js → Accordion-v166qr59.js} +4 -4
- package/web-dist/chunks/{Accordion-1cgz6f8t.js → Accordion-x4rjd7yn.js} +1 -1
- package/web-dist/chunks/{Accordion-zf3kzvef.js → Accordion-xw1gkpfk.js} +6 -6
- package/web-dist/chunks/{Accordion-nc5gnvnb.js → Accordion-yms7x22j.js} +9 -9
- package/web-dist/chunks/{Accordion-b3qy1trj.js → Accordion-z1trs7s1.js} +26 -26
- package/web-dist/chunks/{Accordion-5qmfa7vr.js → Accordion-z8h1hn96.js} +5 -5
- package/web-dist/components/accordion/Accordion.js +5 -5
- package/web-dist/components/accordion-item/AccordionItem.js +5 -5
- package/web-dist/components/activity-indicator/ActivityIndicator.js +1 -1
- package/web-dist/components/app-bar/AppBar.js +9 -9
- package/web-dist/components/app-shell/AppShell.js +2 -2
- package/web-dist/components/auth-screen/AuthScreen.d.ts +9 -0
- package/web-dist/components/auth-screen/AuthScreen.js +43 -0
- package/web-dist/components/auth-screen/index.d.ts +1 -0
- package/web-dist/components/auth-screen/index.js +2 -0
- package/web-dist/components/avatar/Avatar.js +5 -5
- package/web-dist/components/avatar-group/AvatarGroup.js +5 -5
- package/web-dist/components/badge/Badge.js +3 -3
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +12 -12
- package/web-dist/components/bottom-sheet/BottomSheet.js +3 -3
- package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +3 -3
- package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +3 -3
- package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +3 -3
- package/web-dist/components/bottom-sheet-view/BottomSheetView.js +3 -3
- package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +3 -3
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +11 -11
- package/web-dist/components/button/Button.js +5 -5
- package/web-dist/components/button-group/ButtonGroup.js +5 -5
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +12 -12
- package/web-dist/components/card/Card.js +11 -11
- package/web-dist/components/card-back/CardBack.js +2 -2
- package/web-dist/components/card-hand/CardHand.js +2 -2
- package/web-dist/components/chat-list-item/ChatListItem.js +9 -9
- package/web-dist/components/checkbox/Checkbox.js +6 -6
- package/web-dist/components/checkbox-group/CheckboxGroup.js +6 -6
- package/web-dist/components/chess-board/ChessBoard.js +2 -2
- package/web-dist/components/chip/Chip.js +5 -5
- package/web-dist/components/chip-group/ChipGroup.js +5 -5
- package/web-dist/components/collection-editor/CollectionEditor.js +13 -13
- package/web-dist/components/content-rail/ContentRail.js +8 -8
- package/web-dist/components/data-table/DataTable.js +22 -22
- package/web-dist/components/date-picker/DatePicker.js +15 -15
- package/web-dist/components/dialog/Dialog.js +5 -5
- package/web-dist/components/divider/Divider.js +2 -2
- package/web-dist/components/empty-state/EmptyState.js +12 -12
- package/web-dist/components/field/Field.js +7 -7
- package/web-dist/components/flat-list/FlatList.js +7 -7
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.d.ts +1 -0
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +21 -16
- package/web-dist/components/form/Form.js +9 -9
- package/web-dist/components/form-actions/FormActions.js +9 -9
- package/web-dist/components/form-error/FormError.js +9 -9
- package/web-dist/components/game/Game.js +3 -3
- package/web-dist/components/game-entity/GameEntity.js +3 -3
- package/web-dist/components/game-field/GameField.js +3 -3
- package/web-dist/components/game-input-zone/GameInputZone.js +3 -3
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +3 -3
- package/web-dist/components/game-overlay/GameOverlay.js +3 -3
- package/web-dist/components/gradient/Gradient.js +3 -3
- package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +3 -3
- package/web-dist/components/graph-view/GraphView.js +20 -11
- package/web-dist/components/graph-view/GraphView.types-0.d.ts +2 -0
- package/web-dist/components/grid/Grid.js +2 -2
- package/web-dist/components/heading/Heading.js +4 -4
- package/web-dist/components/hero/Hero.js +14 -14
- package/web-dist/components/icon/Icon.js +2 -2
- package/web-dist/components/icon-button/IconButton.js +5 -5
- package/web-dist/components/image/Image.js +4 -4
- package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +5 -32
- package/web-dist/components/list/List.js +7 -7
- package/web-dist/components/list-item/ListItem.js +7 -7
- package/web-dist/components/list-section/ListSection.js +7 -7
- package/web-dist/components/media-card/MediaCard.js +11 -11
- package/web-dist/components/message-bubble/MessageBubble.js +9 -9
- package/web-dist/components/metric-card/MetricCard.js +11 -11
- package/web-dist/components/missing-element/MissingElement.js +10 -10
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.d.ts +1 -0
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +21 -16
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.d.ts +1 -0
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +21 -16
- package/web-dist/components/opening-book/OpeningBook.js +2 -2
- package/web-dist/components/otp-form/OtpForm.d.ts +1 -0
- package/web-dist/components/otp-form/OtpForm.js +21 -16
- package/web-dist/components/pagination/Pagination.js +8 -8
- package/web-dist/components/palette-item/PaletteItem.js +13 -13
- package/web-dist/components/playing-card/PlayingCard.js +2 -2
- package/web-dist/components/poker-training-table/PokerTrainingTable.js +2 -2
- package/web-dist/components/popover-menu/PopoverMenu.js +6 -6
- package/web-dist/components/post-card/PostCard.js +11 -11
- package/web-dist/components/product-card/ProductCard.js +11 -11
- package/web-dist/components/progress/Progress.js +4 -4
- package/web-dist/components/progress-ring/ProgressRing.js +4 -4
- package/web-dist/components/radio/Radio.js +7 -7
- package/web-dist/components/radio-group/RadioGroup.js +7 -7
- package/web-dist/components/rating/Rating.js +3 -3
- package/web-dist/components/reader-surface/ReaderSurface.js +15 -15
- package/web-dist/components/scan-overlay/ScanOverlay.js +12 -12
- package/web-dist/components/screen/Screen.js +2 -2
- package/web-dist/components/screen-section/ScreenSection.js +4 -4
- package/web-dist/components/scroll-view/ScrollView.js +2 -2
- package/web-dist/components/search-input/SearchInput.js +6 -6
- package/web-dist/components/section-header/SectionHeader.js +4 -4
- package/web-dist/components/section-list/SectionList.js +7 -7
- package/web-dist/components/select/Select.js +7 -7
- package/web-dist/components/selectable-item/SelectableItem.js +1 -1
- package/web-dist/components/selection-provider/SelectionProvider.js +1 -1
- package/web-dist/components/sign-in-form/SignInForm.d.ts +1 -0
- package/web-dist/components/sign-in-form/SignInForm.js +21 -16
- package/web-dist/components/sign-up-form/SignUpForm.d.ts +1 -0
- package/web-dist/components/sign-up-form/SignUpForm.js +21 -16
- package/web-dist/components/skeleton/Skeleton.js +14 -14
- package/web-dist/components/skeleton-card/SkeletonCard.js +14 -14
- package/web-dist/components/skeleton-list/SkeletonList.js +14 -14
- package/web-dist/components/skeleton-text/SkeletonText.js +14 -14
- package/web-dist/components/surface/Surface.js +2 -2
- package/web-dist/components/switch/Switch.js +4 -4
- package/web-dist/components/tab/Tab.js +3 -3
- package/web-dist/components/tab-list/TabList.js +3 -3
- package/web-dist/components/tab-panel/TabPanel.js +3 -3
- package/web-dist/components/tabletop-table/TabletopTable.js +2 -2
- package/web-dist/components/tabs/Tabs.js +3 -3
- package/web-dist/components/text/Text.js +4 -4
- package/web-dist/components/text-input/TextInput.js +6 -6
- package/web-dist/components/time-picker/TimePicker.js +13 -13
- package/web-dist/components/timeline/Timeline.js +7 -7
- package/web-dist/components/toast/Toast.js +4 -4
- package/web-dist/components/toast-provider/ToastProvider.js +4 -4
- package/web-dist/components/toolbar/Toolbar.js +11 -11
- package/web-dist/components/tree-item/TreeItem.js +43 -24
- package/web-dist/components/tree-view/TreeView.d.ts +4 -3
- package/web-dist/components/tree-view/TreeView.js +25 -12
- package/web-dist/components/uploader/Uploader.js +19 -19
- package/web-dist/components/view/View.js +2 -2
- package/web-dist/manifest.json +753 -684
- package/web-dist/runtime/ZoraProvider.js +6 -6
- /package/web-dist/chunks/{Accordion-k3bc4kad.js → Accordion-13y3zx87.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 23.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 76d0316: Add a reusable AuthScreen composition that owns responsive keyboard-safe authentication presentation, OAuth separation, and sign-in/sign-up form composition while leaving authentication orchestration to consumers.
|
|
8
|
+
|
|
9
|
+
## 23.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- 2f16225: Unify cross-platform multi-selection intent across Selection, TreeView, and GraphView.
|
|
14
|
+
|
|
3
15
|
## 22.1.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# @ankhorage/zora
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@ export declare const COMPONENT_THEME_AUTHORING: {
|
|
|
4
4
|
readonly allowInstanceOverride: true;
|
|
5
5
|
};
|
|
6
6
|
export declare const FEATURE_MANIFEST_ELEMENTS: {
|
|
7
|
-
readonly auth: readonly ["ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm"];
|
|
7
|
+
readonly auth: readonly ["AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm"];
|
|
8
8
|
readonly surface: readonly ["Surface"];
|
|
9
9
|
readonly avatar: readonly ["Avatar", "AvatarGroup"];
|
|
10
10
|
readonly badge: readonly ["Badge"];
|
|
@@ -36,12 +36,12 @@ export declare const FEATURE_MANIFEST_ELEMENTS: {
|
|
|
36
36
|
readonly game: readonly ["Game", "GameField", "GameEntity", "GameInputZone", "GameMeasurementProbe", "GameOverlay"];
|
|
37
37
|
readonly tabletop: readonly ["TabletopTable", "PokerTrainingTable"];
|
|
38
38
|
};
|
|
39
|
-
export declare const CONTAINER_ALLOWED_CHILDREN: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
|
|
39
|
+
export declare const CONTAINER_ALLOWED_CHILDREN: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
|
|
40
40
|
export declare const GAME_ALLOWED_CHILDREN: readonly ["Game", "GameField"];
|
|
41
41
|
export declare const CHESS_ALLOWED_CHILDREN: readonly ["ChessBoard", "OpeningBook"];
|
|
42
42
|
export declare const TABLETOP_ALLOWED_CHILDREN: readonly ["TabletopTable", "PokerTrainingTable"];
|
|
43
43
|
export declare const CONTENT_RAIL_ALLOWED_CHILDREN: readonly ["Chip", "ChipGroup", "MediaCard", "MetricCard", "Avatar", "AvatarGroup", "Badge", "Button", "IconButton", "View", "ScrollView", "Card", "Image", "ProductCard", "PostCard", "ChatListItem", "MessageBubble", "MissingElement"];
|
|
44
|
-
export declare const SCREEN_SECTION_ALLOWED_CHILDREN: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement", "ChessBoard", "OpeningBook", "Game", "GameField", "TabletopTable", "PokerTrainingTable"];
|
|
45
|
-
export declare const SCREEN_ALLOWED_CHILDREN: readonly ["ScreenSection", "ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement", "ChessBoard", "OpeningBook", "Game", "GameField", "TabletopTable", "PokerTrainingTable"];
|
|
44
|
+
export declare const SCREEN_SECTION_ALLOWED_CHILDREN: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement", "ChessBoard", "OpeningBook", "Game", "GameField", "TabletopTable", "PokerTrainingTable"];
|
|
45
|
+
export declare const SCREEN_ALLOWED_CHILDREN: readonly ["ScreenSection", "ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement", "ChessBoard", "OpeningBook", "Game", "GameField", "TabletopTable", "PokerTrainingTable"];
|
|
46
46
|
export declare const ZORA_THEME_TOKEN_FAMILIES: readonly ["colors", "spacing", "radii", "typography", "shadows"];
|
|
47
47
|
//# sourceMappingURL=authoring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring.d.ts","sourceRoot":"","sources":["../../src/constants/authoring.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB;;;;CAI5B,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"authoring.d.ts","sourceRoot":"","sources":["../../src/constants/authoring.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB;;;;CAI5B,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC5B,CAAC;AAEX,eAAO,MAAM,0BAA0B,21BAgE7B,CAAC;AAEX,eAAO,MAAM,qBAAqB,gCAAiC,CAAC;AAEpE,eAAO,MAAM,sBAAsB,wCAAyC,CAAC;AAC7E,eAAO,MAAM,yBAAyB,kDAAmD,CAAC;AAE1F,eAAO,MAAM,6BAA6B,0OAmBhC,CAAC;AAEX,eAAO,MAAM,+BAA+B,o7BAKlC,CAAC;AAEX,eAAO,MAAM,uBAAuB,q8BAG1B,CAAC;AAEX,eAAO,MAAM,yBAAyB,kEAM5B,CAAC"}
|
|
@@ -5,6 +5,7 @@ export const COMPONENT_THEME_AUTHORING = {
|
|
|
5
5
|
};
|
|
6
6
|
export const FEATURE_MANIFEST_ELEMENTS = {
|
|
7
7
|
auth: [
|
|
8
|
+
'AuthScreen',
|
|
8
9
|
'ForgotPasswordForm',
|
|
9
10
|
'OAuthProviderButton',
|
|
10
11
|
'OAuthProviderList',
|
|
@@ -45,6 +46,7 @@ export const FEATURE_MANIFEST_ELEMENTS = {
|
|
|
45
46
|
};
|
|
46
47
|
export const CONTAINER_ALLOWED_CHILDREN = [
|
|
47
48
|
'ActivityIndicator',
|
|
49
|
+
'AuthScreen',
|
|
48
50
|
'ForgotPasswordForm',
|
|
49
51
|
'OAuthProviderButton',
|
|
50
52
|
'OAuthProviderList',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring.js","sourceRoot":"","sources":["../../src/constants/authoring.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,SAAS,EAAE,OAAO;IAClB,KAAK,EAAE,WAAW;IAClB,qBAAqB,EAAE,IAAI;CACnB,CAAC;AAEX,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,IAAI,EAAE;QACJ,oBAAoB;QACpB,qBAAqB;QACrB,mBAAmB;QACnB,SAAS;QACT,YAAY;QACZ,YAAY;KACb;IACD,OAAO,EAAE,CAAC,SAAS,CAAC;IACpB,MAAM,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC;IACjC,KAAK,EAAE,CAAC,OAAO,CAAC;IAChB,IAAI,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,CAAC;IACpE,IAAI,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC;IAC3B,YAAY,EAAE,CAAC,WAAW,CAAC;IAC3B,aAAa,EAAE,CAAC,YAAY,CAAC;IAC7B,MAAM,EAAE,CAAC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B;IACzB,GAAG,qBAAqB;IACxB,GAAG,yBAAyB;CACpB,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,eAAe;IACf,GAAG,+BAA+B;CAC1B,CAAC;AAEX,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ;IACR,SAAS;IACT,OAAO;IACP,YAAY;IACZ,SAAS;CACD,CAAC","sourcesContent":["export const COMPONENT_THEME_AUTHORING = {\n authority: 'theme',\n scope: 'component',\n allowInstanceOverride: true,\n} as const;\n\nexport const FEATURE_MANIFEST_ELEMENTS = {\n auth: [\n 'ForgotPasswordForm',\n 'OAuthProviderButton',\n 'OAuthProviderList',\n 'OtpForm',\n 'SignInForm',\n 'SignUpForm',\n ],\n surface: ['Surface'],\n avatar: ['Avatar', 'AvatarGroup'],\n badge: ['Badge'],\n card: ['Card', 'MediaCard', 'MetricCard', 'PostCard', 'ProductCard'],\n chip: ['Chip', 'ChipGroup'],\n 'data-table': ['DataTable'],\n 'date-picker': ['DatePicker'],\n dialog: ['Dialog'],\n form: ['Form', 'FormError', 'Field'],\n gradient: ['Gradient'],\n button: ['Button', 'IconButton', 'ButtonGroup'],\n icon: ['Icon'],\n image: ['Image'],\n 'keyboard-avoiding-view': ['KeyboardAvoidingView'],\n 'content-rail': ['ContentRail'],\n layout: ['Divider', 'Grid', 'Screen', 'ScrollView', 'View'],\n section: ['ScreenSection', 'SectionHeader'],\n list: ['FlatList', 'SectionList'],\n pagination: ['Pagination'],\n rating: ['Rating'],\n skeleton: ['Skeleton', 'SkeletonCard', 'SkeletonList', 'SkeletonText'],\n tabs: ['Tabs', 'TabList', 'Tab', 'TabPanel'],\n toolbar: ['Toolbar'],\n typography: ['Heading', 'Text'],\n 'time-picker': ['TimePicker'],\n uploader: ['Uploader'],\n 'bottom-sheet': ['BottomSheet'],\n chess: ['ChessBoard', 'OpeningBook'],\n game: ['Game', 'GameField', 'GameEntity', 'GameInputZone', 'GameMeasurementProbe', 'GameOverlay'],\n tabletop: ['TabletopTable', 'PokerTrainingTable'],\n} as const;\n\nexport const CONTAINER_ALLOWED_CHILDREN = [\n 'ActivityIndicator',\n 'ForgotPasswordForm',\n 'OAuthProviderButton',\n 'OAuthProviderList',\n 'OtpForm',\n 'SignInForm',\n 'SignUpForm',\n 'Accordion',\n 'Surface',\n 'Avatar',\n 'AvatarGroup',\n 'Badge',\n 'MediaCard',\n 'MetricCard',\n 'Chip',\n 'ChipGroup',\n 'DataTable',\n 'DatePicker',\n 'Dialog',\n 'Pagination',\n 'Rating',\n 'SearchInput',\n 'Tabs',\n 'Toolbar',\n 'Skeleton',\n 'SkeletonCard',\n 'SkeletonList',\n 'SkeletonText',\n 'IconButton',\n 'Uploader',\n 'FlatList',\n 'SectionList',\n 'BottomSheet',\n 'ProductCard',\n 'View',\n 'ScrollView',\n 'Grid',\n 'Gradient',\n 'Divider',\n 'Text',\n 'Heading',\n 'Icon',\n 'Image',\n 'Hero',\n 'KeyboardAvoidingView',\n 'Button',\n 'ButtonGroup',\n 'RadioGroup',\n 'ThemeModeToggle',\n 'TextInput',\n 'TimePicker',\n 'Form',\n 'Card',\n 'EmptyState',\n 'SectionHeader',\n 'PostCard',\n 'ChatListItem',\n 'MessageBubble',\n 'ProgressRing',\n 'ReaderSurface',\n 'ContentRail',\n 'MissingElement',\n] as const;\n\nexport const GAME_ALLOWED_CHILDREN = ['Game', 'GameField'] as const;\n\nexport const CHESS_ALLOWED_CHILDREN = ['ChessBoard', 'OpeningBook'] as const;\nexport const TABLETOP_ALLOWED_CHILDREN = ['TabletopTable', 'PokerTrainingTable'] as const;\n\nexport const CONTENT_RAIL_ALLOWED_CHILDREN = [\n 'Chip',\n 'ChipGroup',\n 'MediaCard',\n 'MetricCard',\n 'Avatar',\n 'AvatarGroup',\n 'Badge',\n 'Button',\n 'IconButton',\n 'View',\n 'ScrollView',\n 'Card',\n 'Image',\n 'ProductCard',\n 'PostCard',\n 'ChatListItem',\n 'MessageBubble',\n 'MissingElement',\n] as const;\n\nexport const SCREEN_SECTION_ALLOWED_CHILDREN = [\n ...CONTAINER_ALLOWED_CHILDREN,\n ...CHESS_ALLOWED_CHILDREN,\n ...GAME_ALLOWED_CHILDREN,\n ...TABLETOP_ALLOWED_CHILDREN,\n] as const;\n\nexport const SCREEN_ALLOWED_CHILDREN = [\n 'ScreenSection',\n ...SCREEN_SECTION_ALLOWED_CHILDREN,\n] as const;\n\nexport const ZORA_THEME_TOKEN_FAMILIES = [\n 'colors',\n 'spacing',\n 'radii',\n 'typography',\n 'shadows',\n] as const;\n"]}
|
|
1
|
+
{"version":3,"file":"authoring.js","sourceRoot":"","sources":["../../src/constants/authoring.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,SAAS,EAAE,OAAO;IAClB,KAAK,EAAE,WAAW;IAClB,qBAAqB,EAAE,IAAI;CACnB,CAAC;AAEX,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,IAAI,EAAE;QACJ,YAAY;QACZ,oBAAoB;QACpB,qBAAqB;QACrB,mBAAmB;QACnB,SAAS;QACT,YAAY;QACZ,YAAY;KACb;IACD,OAAO,EAAE,CAAC,SAAS,CAAC;IACpB,MAAM,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC;IACjC,KAAK,EAAE,CAAC,OAAO,CAAC;IAChB,IAAI,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,CAAC;IACpE,IAAI,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC;IAC3B,YAAY,EAAE,CAAC,WAAW,CAAC;IAC3B,aAAa,EAAE,CAAC,YAAY,CAAC;IAC7B,MAAM,EAAE,CAAC,QAAQ,CAAC;IAClB,IAAI,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC;IACpC,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,MAAM,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,aAAa,CAAC;IAC/C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yB,GAAG;IACvC,QAAQ;IACR,SAAS;IACT,OAAO;IACP,YAAY;IACZ,SAAS;CACD,CAAC","sourcesContent":["export const COMPONENT_THEME_AUTHORING = {\n authority: 'theme',\n scope: 'component',\n allowInstanceOverride: true,\n} as const;\n\nexport const FEATURE_MANIFEST_ELEMENTS = {\n auth: [\n 'AuthScreen',\n 'ForgotPasswordForm',\n 'OAuthProviderButton',\n 'OAuthProviderList',\n 'OtpForm',\n 'SignInForm',\n 'SignUpForm',\n ],\n surface: ['Surface'],\n avatar: ['Avatar', 'AvatarGroup'],\n badge: ['Badge'],\n card: ['Card', 'MediaCard', 'MetricCard', 'PostCard', 'ProductCard'],\n chip: ['Chip', 'ChipGroup'],\n 'data-table': ['DataTable'],\n 'date-picker': ['DatePicker'],\n dialog: ['Dialog'],\n form: ['Form', 'FormError', 'Field'],\n gradient: ['Gradient'],\n button: ['Button', 'IconButton', 'ButtonGroup'],\n icon: ['Icon'],\n image: ['Image'],\n 'keyboard-avoiding-view': ['KeyboardAvoidingView'],\n 'content-rail': ['ContentRail'],\n layout: ['Divider', 'Grid', 'Screen', 'ScrollView', 'View'],\n section: ['ScreenSection', 'SectionHeader'],\n list: ['FlatList', 'SectionList'],\n pagination: ['Pagination'],\n rating: ['Rating'],\n skeleton: ['Skeleton', 'SkeletonCard', 'SkeletonList', 'SkeletonText'],\n tabs: ['Tabs', 'TabList', 'Tab', 'TabPanel'],\n toolbar: ['Toolbar'],\n typography: ['Heading', 'Text'],\n 'time-picker': ['TimePicker'],\n uploader: ['Uploader'],\n 'bottom-sheet': ['BottomSheet'],\n chess: ['ChessBoard', 'OpeningBook'],\n game: ['Game', 'GameField', 'GameEntity', 'GameInputZone', 'GameMeasurementProbe', 'GameOverlay'],\n tabletop: ['TabletopTable', 'PokerTrainingTable'],\n} as const;\n\nexport const CONTAINER_ALLOWED_CHILDREN = [\n 'ActivityIndicator',\n 'AuthScreen',\n 'ForgotPasswordForm',\n 'OAuthProviderButton',\n 'OAuthProviderList',\n 'OtpForm',\n 'SignInForm',\n 'SignUpForm',\n 'Accordion',\n 'Surface',\n 'Avatar',\n 'AvatarGroup',\n 'Badge',\n 'MediaCard',\n 'MetricCard',\n 'Chip',\n 'ChipGroup',\n 'DataTable',\n 'DatePicker',\n 'Dialog',\n 'Pagination',\n 'Rating',\n 'SearchInput',\n 'Tabs',\n 'Toolbar',\n 'Skeleton',\n 'SkeletonCard',\n 'SkeletonList',\n 'SkeletonText',\n 'IconButton',\n 'Uploader',\n 'FlatList',\n 'SectionList',\n 'BottomSheet',\n 'ProductCard',\n 'View',\n 'ScrollView',\n 'Grid',\n 'Gradient',\n 'Divider',\n 'Text',\n 'Heading',\n 'Icon',\n 'Image',\n 'Hero',\n 'KeyboardAvoidingView',\n 'Button',\n 'ButtonGroup',\n 'RadioGroup',\n 'ThemeModeToggle',\n 'TextInput',\n 'TimePicker',\n 'Form',\n 'Card',\n 'EmptyState',\n 'SectionHeader',\n 'PostCard',\n 'ChatListItem',\n 'MessageBubble',\n 'ProgressRing',\n 'ReaderSurface',\n 'ContentRail',\n 'MissingElement',\n] as const;\n\nexport const GAME_ALLOWED_CHILDREN = ['Game', 'GameField'] as const;\n\nexport const CHESS_ALLOWED_CHILDREN = ['ChessBoard', 'OpeningBook'] as const;\nexport const TABLETOP_ALLOWED_CHILDREN = ['TabletopTable', 'PokerTrainingTable'] as const;\n\nexport const CONTENT_RAIL_ALLOWED_CHILDREN = [\n 'Chip',\n 'ChipGroup',\n 'MediaCard',\n 'MetricCard',\n 'Avatar',\n 'AvatarGroup',\n 'Badge',\n 'Button',\n 'IconButton',\n 'View',\n 'ScrollView',\n 'Card',\n 'Image',\n 'ProductCard',\n 'PostCard',\n 'ChatListItem',\n 'MessageBubble',\n 'MissingElement',\n] as const;\n\nexport const SCREEN_SECTION_ALLOWED_CHILDREN = [\n ...CONTAINER_ALLOWED_CHILDREN,\n ...CHESS_ALLOWED_CHILDREN,\n ...GAME_ALLOWED_CHILDREN,\n ...TABLETOP_ALLOWED_CHILDREN,\n] as const;\n\nexport const SCREEN_ALLOWED_CHILDREN = [\n 'ScreenSection',\n ...SCREEN_SECTION_ALLOWED_CHILDREN,\n] as const;\n\nexport const ZORA_THEME_TOKEN_FAMILIES = [\n 'colors',\n 'spacing',\n 'radii',\n 'typography',\n 'shadows',\n] as const;\n"]}
|
|
@@ -3,7 +3,7 @@ export declare const accordionItemMeta: {
|
|
|
3
3
|
readonly category: "component";
|
|
4
4
|
readonly description: "One expandable accordion item with authored content and optional actions.";
|
|
5
5
|
readonly directManifestNode: true;
|
|
6
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
|
|
6
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
|
|
7
7
|
readonly blueprint: {
|
|
8
8
|
readonly label: "Accordion item";
|
|
9
9
|
readonly defaultProps: {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AuthScreenProps } from '../../../../types/auth';
|
|
3
|
+
/***
|
|
4
|
+
* Reusable authentication-screen composition for sign-in and sign-up flows.
|
|
5
|
+
*
|
|
6
|
+
* Owns keyboard-safe responsive layout, auth surface presentation, OAuth separation, and
|
|
7
|
+
* sign-in/sign-up form composition while consumers retain routing and authentication orchestration.
|
|
8
|
+
*/
|
|
9
|
+
export declare const AuthScreen: (props: AuthScreenProps) => React.ReactElement | null;
|
|
10
|
+
//# sourceMappingURL=AuthScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthScreen.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/adapters/inbound/AuthScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAU9D;;;;;GAKG;AACH,eAAO,MAAM,UAAU,uDAAsC,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Platform } from 'react-native';
|
|
3
|
+
import { KeyboardAvoidingView } from '../../../keyboard-avoiding-view/public';
|
|
4
|
+
import { Divider, ScrollView, View } from '../../../layout/public';
|
|
5
|
+
import { Surface } from '../../../surface/public';
|
|
6
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
|
+
import { Text } from '../../../typography/public';
|
|
8
|
+
import { OAuthProviderList } from './OAuthProviderList';
|
|
9
|
+
import { SignInForm } from './SignInForm';
|
|
10
|
+
import { SignUpForm } from './SignUpForm';
|
|
11
|
+
/***
|
|
12
|
+
* Reusable authentication-screen composition for sign-in and sign-up flows.
|
|
13
|
+
*
|
|
14
|
+
* Owns keyboard-safe responsive layout, auth surface presentation, OAuth separation, and
|
|
15
|
+
* sign-in/sign-up form composition while consumers retain routing and authentication orchestration.
|
|
16
|
+
*/
|
|
17
|
+
export const AuthScreen = withZoraThemeScope(AuthScreenInner);
|
|
18
|
+
/*** Render the themed authentication screen while preserving consumer-owned callbacks and state. */
|
|
19
|
+
function AuthScreenInner({ themeId: _themeId, mode: _themeMode, interactionPolicy, authMode, title, description, info, error, loading = false, disabled = false, identifiers, identifierLabel, signUpFields, oauthProviders = [], oauthSeparatorLabel = 'or continue with password', onModeChange, onOAuthProviderPress, onSignInSubmit, onSignUpSubmit, testID, }) {
|
|
20
|
+
const effectiveTitle = title ?? (authMode === 'signIn' ? 'Sign in' : 'Create account');
|
|
21
|
+
const hasOAuth = oauthProviders.length > 0;
|
|
22
|
+
return (<KeyboardAvoidingView behavior={Platform.select({ android: 'height', ios: 'padding' })} interactionPolicy={interactionPolicy} style={{ flex: 1 }}>
|
|
23
|
+
<ScrollView bg="background" contentContainerStyle={{ flexGrow: 1 }} flex={1} interactionPolicy={interactionPolicy} keyboardShouldPersistTaps="handled">
|
|
24
|
+
<View align="center" flex={1} interactionPolicy={interactionPolicy} justify="center" px={{ base: 'm', md: 'xl' }} py="xl">
|
|
25
|
+
<Surface gap="m" maxWidth={560} p={{ base: 'l', md: 'xl' }} radius="l" testID={testID} variant="outline" width="100%">
|
|
26
|
+
<View gap="xs" interactionPolicy={interactionPolicy}>
|
|
27
|
+
<Text variant="lead" weight="semiBold">
|
|
28
|
+
{effectiveTitle}
|
|
29
|
+
</Text>
|
|
30
|
+
{description ? (<Text emphasis="muted" variant="bodySmall">
|
|
31
|
+
{description}
|
|
32
|
+
</Text>) : null}
|
|
33
|
+
</View>
|
|
34
|
+
|
|
35
|
+
{hasOAuth ? (<>
|
|
36
|
+
<OAuthProviderList disabled={disabled || loading} interactionPolicy={interactionPolicy} onProviderPress={onOAuthProviderPress} providers={oauthProviders} testID={testID ? `${testID}-oauth` : undefined}/>
|
|
37
|
+
<View align="center" direction="row" gap="s" interactionPolicy={interactionPolicy}>
|
|
38
|
+
<View flex={1} interactionPolicy={interactionPolicy}>
|
|
39
|
+
<Divider interactionPolicy={interactionPolicy}/>
|
|
40
|
+
</View>
|
|
41
|
+
<Text emphasis="muted" variant="bodySmall">
|
|
42
|
+
{oauthSeparatorLabel}
|
|
43
|
+
</Text>
|
|
44
|
+
<View flex={1} interactionPolicy={interactionPolicy}>
|
|
45
|
+
<Divider interactionPolicy={interactionPolicy}/>
|
|
46
|
+
</View>
|
|
47
|
+
</View>
|
|
48
|
+
</>) : null}
|
|
49
|
+
|
|
50
|
+
<AuthScreenForm authMode={authMode} disabled={disabled} error={error} identifierLabel={identifierLabel} identifiers={identifiers} interactionPolicy={interactionPolicy} loading={loading} onModeChange={onModeChange} onSignInSubmit={onSignInSubmit} onSignUpSubmit={onSignUpSubmit} signUpFields={signUpFields} testID={testID ? `${testID}-form` : undefined}/>
|
|
51
|
+
|
|
52
|
+
{info ? (<Text color="success" variant="bodySmall">
|
|
53
|
+
{info}
|
|
54
|
+
</Text>) : null}
|
|
55
|
+
</Surface>
|
|
56
|
+
</View>
|
|
57
|
+
</ScrollView>
|
|
58
|
+
</KeyboardAvoidingView>);
|
|
59
|
+
}
|
|
60
|
+
/*** Render the active ZORA auth form and translate form-switch actions into the shared mode boundary. */
|
|
61
|
+
function AuthScreenForm({ authMode, disabled, error, identifierLabel, identifiers, interactionPolicy, loading, onModeChange, onSignInSubmit, onSignUpSubmit, signUpFields, testID, }) {
|
|
62
|
+
if (authMode === 'signIn') {
|
|
63
|
+
return (<SignInForm disabled={disabled} error={error} identifierLabel={identifierLabel} identifiers={identifiers} interactionPolicy={interactionPolicy} loading={loading} onSignUp={onModeChange ? () => onModeChange('signUp') : undefined} onSubmit={onSignInSubmit} signUpLabel="Need an account? Sign up" submitLabel="Sign in" testID={testID}/>);
|
|
64
|
+
}
|
|
65
|
+
return (<SignUpForm disabled={disabled} error={error} fields={signUpFields} interactionPolicy={interactionPolicy} loading={loading} onSignIn={onModeChange ? () => onModeChange('signIn') : undefined} onSubmit={onSignUpSubmit} signInLabel="Already have an account? Sign in" submitLabel="Create account" testID={testID}/>);
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=AuthScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthScreen.js","sourceRoot":"","sources":["../../../../../src/features/auth/adapters/inbound/AuthScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC,eAAe,CAAC,CAAC;AAE9D,oGAAoG;AACpG,SAAS,eAAe,CAAC,EACvB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,UAAU,EAChB,iBAAiB,EACjB,QAAQ,EAC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CAAC,gBAAgB,CAC5B,MAAM,CAAC,CAAC,MAAM,CAAC,EACf,CACH,CAAC;AACJ,CAAC","sourcesContent":["import React from 'react';\nimport { Platform } from 'react-native';\n\nimport type { AuthScreenProps } from '../../../../types/auth';\nimport { KeyboardAvoidingView } from '../../../keyboard-avoiding-view/public';\nimport { Divider, ScrollView, View } from '../../../layout/public';\nimport { Surface } from '../../../surface/public';\nimport { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';\nimport { Text } from '../../../typography/public';\nimport { OAuthProviderList } from './OAuthProviderList';\nimport { SignInForm } from './SignInForm';\nimport { SignUpForm } from './SignUpForm';\n\n/***\n * Reusable authentication-screen composition for sign-in and sign-up flows.\n *\n * Owns keyboard-safe responsive layout, auth surface presentation, OAuth separation, and\n * sign-in/sign-up form composition while consumers retain routing and authentication orchestration.\n */\nexport const AuthScreen = withZoraThemeScope(AuthScreenInner);\n\n/*** Render the themed authentication screen while preserving consumer-owned callbacks and state. */\nfunction AuthScreenInner({\n themeId: _themeId,\n mode: _themeMode,\n interactionPolicy,\n authMode,\n title,\n description,\n info,\n error,\n loading = false,\n disabled = false,\n identifiers,\n identifierLabel,\n signUpFields,\n oauthProviders = [],\n oauthSeparatorLabel = 'or continue with password',\n onModeChange,\n onOAuthProviderPress,\n onSignInSubmit,\n onSignUpSubmit,\n testID,\n}: AuthScreenProps) {\n const effectiveTitle = title ?? (authMode === 'signIn' ? 'Sign in' : 'Create account');\n const hasOAuth = oauthProviders.length > 0;\n\n return (\n <KeyboardAvoidingView\n behavior={Platform.select({ android: 'height', ios: 'padding' })}\n interactionPolicy={interactionPolicy}\n style={{ flex: 1 }}\n >\n <ScrollView\n bg=\"background\"\n contentContainerStyle={{ flexGrow: 1 }}\n flex={1}\n interactionPolicy={interactionPolicy}\n keyboardShouldPersistTaps=\"handled\"\n >\n <View\n align=\"center\"\n flex={1}\n interactionPolicy={interactionPolicy}\n justify=\"center\"\n px={{ base: 'm', md: 'xl' }}\n py=\"xl\"\n >\n <Surface\n gap=\"m\"\n maxWidth={560}\n p={{ base: 'l', md: 'xl' }}\n radius=\"l\"\n testID={testID}\n variant=\"outline\"\n width=\"100%\"\n >\n <View gap=\"xs\" interactionPolicy={interactionPolicy}>\n <Text variant=\"lead\" weight=\"semiBold\">\n {effectiveTitle}\n </Text>\n {description ? (\n <Text emphasis=\"muted\" variant=\"bodySmall\">\n {description}\n </Text>\n ) : null}\n </View>\n\n {hasOAuth ? (\n <>\n <OAuthProviderList\n disabled={disabled || loading}\n interactionPolicy={interactionPolicy}\n onProviderPress={onOAuthProviderPress}\n providers={oauthProviders}\n testID={testID ? `${testID}-oauth` : undefined}\n />\n <View align=\"center\" direction=\"row\" gap=\"s\" interactionPolicy={interactionPolicy}>\n <View flex={1} interactionPolicy={interactionPolicy}>\n <Divider interactionPolicy={interactionPolicy} />\n </View>\n <Text emphasis=\"muted\" variant=\"bodySmall\">\n {oauthSeparatorLabel}\n </Text>\n <View flex={1} interactionPolicy={interactionPolicy}>\n <Divider interactionPolicy={interactionPolicy} />\n </View>\n </View>\n </>\n ) : null}\n\n <AuthScreenForm\n authMode={authMode}\n disabled={disabled}\n error={error}\n identifierLabel={identifierLabel}\n identifiers={identifiers}\n interactionPolicy={interactionPolicy}\n loading={loading}\n onModeChange={onModeChange}\n onSignInSubmit={onSignInSubmit}\n onSignUpSubmit={onSignUpSubmit}\n signUpFields={signUpFields}\n testID={testID ? `${testID}-form` : undefined}\n />\n\n {info ? (\n <Text color=\"success\" variant=\"bodySmall\">\n {info}\n </Text>\n ) : null}\n </Surface>\n </View>\n </ScrollView>\n </KeyboardAvoidingView>\n );\n}\n\ntype AuthScreenFormProps = Pick<\n AuthScreenProps,\n | 'authMode'\n | 'disabled'\n | 'error'\n | 'identifierLabel'\n | 'identifiers'\n | 'interactionPolicy'\n | 'loading'\n | 'onModeChange'\n | 'onSignInSubmit'\n | 'onSignUpSubmit'\n | 'signUpFields'\n | 'testID'\n>;\n\n/*** Render the active ZORA auth form and translate form-switch actions into the shared mode boundary. */\nfunction AuthScreenForm({\n authMode,\n disabled,\n error,\n identifierLabel,\n identifiers,\n interactionPolicy,\n loading,\n onModeChange,\n onSignInSubmit,\n onSignUpSubmit,\n signUpFields,\n testID,\n}: AuthScreenFormProps) {\n if (authMode === 'signIn') {\n return (\n <SignInForm\n disabled={disabled}\n error={error}\n identifierLabel={identifierLabel}\n identifiers={identifiers}\n interactionPolicy={interactionPolicy}\n loading={loading}\n onSignUp={onModeChange ? () => onModeChange('signUp') : undefined}\n onSubmit={onSignInSubmit}\n signUpLabel=\"Need an account? Sign up\"\n submitLabel=\"Sign in\"\n testID={testID}\n />\n );\n }\n\n return (\n <SignUpForm\n disabled={disabled}\n error={error}\n fields={signUpFields}\n interactionPolicy={interactionPolicy}\n loading={loading}\n onSignIn={onModeChange ? () => onModeChange('signIn') : undefined}\n onSubmit={onSignUpSubmit}\n signInLabel=\"Already have an account? Sign in\"\n submitLabel=\"Create account\"\n testID={testID}\n />\n );\n}\n"]}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
export declare const authScreenMeta: {
|
|
2
|
+
readonly name: "AuthScreen";
|
|
3
|
+
readonly category: "pattern";
|
|
4
|
+
readonly description: "Presents a complete responsive sign-in or sign-up screen while leaving authentication orchestration to the consumer.";
|
|
5
|
+
readonly directManifestNode: true;
|
|
6
|
+
readonly allowedChildren: readonly [];
|
|
7
|
+
readonly blueprint: {
|
|
8
|
+
readonly label: "Auth screen";
|
|
9
|
+
readonly defaultProps: {
|
|
10
|
+
readonly authMode: "signIn";
|
|
11
|
+
readonly identifiers: readonly ["email"];
|
|
12
|
+
readonly loading: false;
|
|
13
|
+
readonly disabled: false;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
readonly events: {
|
|
17
|
+
readonly modeChange: {
|
|
18
|
+
readonly label: "Mode change";
|
|
19
|
+
readonly eventType: "authScreen.modeChange";
|
|
20
|
+
readonly payloadFields: readonly [{
|
|
21
|
+
readonly path: "mode";
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
readonly label: "Mode";
|
|
24
|
+
}];
|
|
25
|
+
};
|
|
26
|
+
readonly oauthProviderPress: {
|
|
27
|
+
readonly label: "OAuth provider press";
|
|
28
|
+
readonly eventType: "authScreen.oauthProviderPress";
|
|
29
|
+
readonly payloadFields: readonly [{
|
|
30
|
+
readonly path: "providerId";
|
|
31
|
+
readonly type: "string";
|
|
32
|
+
readonly label: "Provider ID";
|
|
33
|
+
}];
|
|
34
|
+
};
|
|
35
|
+
readonly signInSubmit: {
|
|
36
|
+
readonly label: "Sign-in submit";
|
|
37
|
+
readonly eventType: "authScreen.signInSubmit";
|
|
38
|
+
readonly payloadFields: readonly [{
|
|
39
|
+
readonly path: "identifier";
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
readonly label: "Identifier";
|
|
42
|
+
}, {
|
|
43
|
+
readonly path: "identifierKind";
|
|
44
|
+
readonly type: "string";
|
|
45
|
+
readonly label: "Identifier kind";
|
|
46
|
+
}, {
|
|
47
|
+
readonly path: "secret";
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
readonly label: "Secret";
|
|
50
|
+
}];
|
|
51
|
+
};
|
|
52
|
+
readonly signUpSubmit: {
|
|
53
|
+
readonly label: "Sign-up submit";
|
|
54
|
+
readonly eventType: "authScreen.signUpSubmit";
|
|
55
|
+
readonly payloadFields: readonly [{
|
|
56
|
+
readonly path: "values";
|
|
57
|
+
readonly type: "record";
|
|
58
|
+
readonly label: "Values";
|
|
59
|
+
}];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
readonly props: {
|
|
63
|
+
readonly authMode: {
|
|
64
|
+
readonly type: "enum";
|
|
65
|
+
readonly category: "Authentication";
|
|
66
|
+
readonly label: "Auth mode";
|
|
67
|
+
readonly enum: readonly ["signIn", "signUp"];
|
|
68
|
+
readonly default: "signIn";
|
|
69
|
+
};
|
|
70
|
+
readonly title: {
|
|
71
|
+
readonly type: "string";
|
|
72
|
+
readonly category: "Content";
|
|
73
|
+
readonly label: "Title";
|
|
74
|
+
};
|
|
75
|
+
readonly description: {
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
readonly category: "Content";
|
|
78
|
+
readonly label: "Description";
|
|
79
|
+
};
|
|
80
|
+
readonly info: {
|
|
81
|
+
readonly type: "string";
|
|
82
|
+
readonly category: "State";
|
|
83
|
+
readonly label: "Info";
|
|
84
|
+
};
|
|
85
|
+
readonly error: {
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
readonly category: "State";
|
|
88
|
+
readonly label: "Error";
|
|
89
|
+
};
|
|
90
|
+
readonly loading: {
|
|
91
|
+
readonly type: "boolean";
|
|
92
|
+
readonly category: "State";
|
|
93
|
+
readonly label: "Loading";
|
|
94
|
+
readonly default: false;
|
|
95
|
+
};
|
|
96
|
+
readonly disabled: {
|
|
97
|
+
readonly type: "boolean";
|
|
98
|
+
readonly category: "State";
|
|
99
|
+
readonly label: "Disabled";
|
|
100
|
+
readonly default: false;
|
|
101
|
+
};
|
|
102
|
+
readonly identifiers: {
|
|
103
|
+
readonly type: "array";
|
|
104
|
+
readonly category: "Authentication";
|
|
105
|
+
readonly label: "Identifiers";
|
|
106
|
+
readonly default: readonly ["email"];
|
|
107
|
+
};
|
|
108
|
+
readonly identifierLabel: {
|
|
109
|
+
readonly type: "string";
|
|
110
|
+
readonly category: "Content";
|
|
111
|
+
readonly label: "Identifier label";
|
|
112
|
+
};
|
|
113
|
+
readonly signUpFields: {
|
|
114
|
+
readonly type: "array";
|
|
115
|
+
readonly category: "Authentication";
|
|
116
|
+
readonly label: "Sign-up fields";
|
|
117
|
+
readonly itemSchema: readonly [{
|
|
118
|
+
readonly key: "name";
|
|
119
|
+
readonly schema: {
|
|
120
|
+
readonly type: "string";
|
|
121
|
+
readonly category: "Identity";
|
|
122
|
+
readonly label: "Name";
|
|
123
|
+
};
|
|
124
|
+
}, {
|
|
125
|
+
readonly key: "label";
|
|
126
|
+
readonly schema: {
|
|
127
|
+
readonly type: "string";
|
|
128
|
+
readonly category: "Content";
|
|
129
|
+
readonly label: "Label";
|
|
130
|
+
};
|
|
131
|
+
}, {
|
|
132
|
+
readonly key: "type";
|
|
133
|
+
readonly schema: {
|
|
134
|
+
readonly type: "enum";
|
|
135
|
+
readonly category: "Authentication";
|
|
136
|
+
readonly label: "Type";
|
|
137
|
+
readonly enum: readonly ["email", "number", "otp", "password", "tel", "text", "url"];
|
|
138
|
+
};
|
|
139
|
+
}, {
|
|
140
|
+
readonly key: "placeholder";
|
|
141
|
+
readonly schema: {
|
|
142
|
+
readonly type: "string";
|
|
143
|
+
readonly category: "Content";
|
|
144
|
+
readonly label: "Placeholder";
|
|
145
|
+
};
|
|
146
|
+
}, {
|
|
147
|
+
readonly key: "required";
|
|
148
|
+
readonly schema: {
|
|
149
|
+
readonly type: "boolean";
|
|
150
|
+
readonly category: "Validation";
|
|
151
|
+
readonly label: "Required";
|
|
152
|
+
};
|
|
153
|
+
}, {
|
|
154
|
+
readonly key: "disabled";
|
|
155
|
+
readonly schema: {
|
|
156
|
+
readonly type: "boolean";
|
|
157
|
+
readonly category: "State";
|
|
158
|
+
readonly label: "Disabled";
|
|
159
|
+
};
|
|
160
|
+
}];
|
|
161
|
+
};
|
|
162
|
+
readonly oauthProviders: {
|
|
163
|
+
readonly type: "array";
|
|
164
|
+
readonly category: "Authentication";
|
|
165
|
+
readonly label: "OAuth providers";
|
|
166
|
+
readonly itemSchema: readonly [{
|
|
167
|
+
readonly key: "id";
|
|
168
|
+
readonly schema: {
|
|
169
|
+
readonly type: "string";
|
|
170
|
+
readonly category: "Identity";
|
|
171
|
+
readonly label: "Provider ID";
|
|
172
|
+
};
|
|
173
|
+
}, {
|
|
174
|
+
readonly key: "label";
|
|
175
|
+
readonly schema: {
|
|
176
|
+
readonly type: "string";
|
|
177
|
+
readonly category: "Content";
|
|
178
|
+
readonly label: "Label";
|
|
179
|
+
};
|
|
180
|
+
}, {
|
|
181
|
+
readonly key: "disabled";
|
|
182
|
+
readonly schema: {
|
|
183
|
+
readonly type: "boolean";
|
|
184
|
+
readonly category: "State";
|
|
185
|
+
readonly label: "Disabled";
|
|
186
|
+
};
|
|
187
|
+
}, {
|
|
188
|
+
readonly key: "loading";
|
|
189
|
+
readonly schema: {
|
|
190
|
+
readonly type: "boolean";
|
|
191
|
+
readonly category: "State";
|
|
192
|
+
readonly label: "Loading";
|
|
193
|
+
};
|
|
194
|
+
}];
|
|
195
|
+
};
|
|
196
|
+
readonly oauthSeparatorLabel: {
|
|
197
|
+
readonly type: "string";
|
|
198
|
+
readonly category: "Content";
|
|
199
|
+
readonly label: "OAuth separator label";
|
|
200
|
+
readonly default: "or continue with password";
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
//# sourceMappingURL=authScreenMeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authScreenMeta.d.ts","sourceRoot":"","sources":["../../../src/features/auth/authScreenMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+GW,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export const authScreenMeta = {
|
|
2
|
+
name: 'AuthScreen',
|
|
3
|
+
category: 'pattern',
|
|
4
|
+
description: 'Presents a complete responsive sign-in or sign-up screen while leaving authentication orchestration to the consumer.',
|
|
5
|
+
directManifestNode: true,
|
|
6
|
+
allowedChildren: [],
|
|
7
|
+
blueprint: {
|
|
8
|
+
label: 'Auth screen',
|
|
9
|
+
defaultProps: {
|
|
10
|
+
authMode: 'signIn',
|
|
11
|
+
identifiers: ['email'],
|
|
12
|
+
loading: false,
|
|
13
|
+
disabled: false,
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
events: {
|
|
17
|
+
modeChange: {
|
|
18
|
+
label: 'Mode change',
|
|
19
|
+
eventType: 'authScreen.modeChange',
|
|
20
|
+
payloadFields: [{ path: 'mode', type: 'string', label: 'Mode' }],
|
|
21
|
+
},
|
|
22
|
+
oauthProviderPress: {
|
|
23
|
+
label: 'OAuth provider press',
|
|
24
|
+
eventType: 'authScreen.oauthProviderPress',
|
|
25
|
+
payloadFields: [{ path: 'providerId', type: 'string', label: 'Provider ID' }],
|
|
26
|
+
},
|
|
27
|
+
signInSubmit: {
|
|
28
|
+
label: 'Sign-in submit',
|
|
29
|
+
eventType: 'authScreen.signInSubmit',
|
|
30
|
+
payloadFields: [
|
|
31
|
+
{ path: 'identifier', type: 'string', label: 'Identifier' },
|
|
32
|
+
{ path: 'identifierKind', type: 'string', label: 'Identifier kind' },
|
|
33
|
+
{ path: 'secret', type: 'string', label: 'Secret' },
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
signUpSubmit: {
|
|
37
|
+
label: 'Sign-up submit',
|
|
38
|
+
eventType: 'authScreen.signUpSubmit',
|
|
39
|
+
payloadFields: [{ path: 'values', type: 'record', label: 'Values' }],
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
props: {
|
|
43
|
+
authMode: {
|
|
44
|
+
type: 'enum',
|
|
45
|
+
category: 'Authentication',
|
|
46
|
+
label: 'Auth mode',
|
|
47
|
+
enum: ['signIn', 'signUp'],
|
|
48
|
+
default: 'signIn',
|
|
49
|
+
},
|
|
50
|
+
title: { type: 'string', category: 'Content', label: 'Title' },
|
|
51
|
+
description: { type: 'string', category: 'Content', label: 'Description' },
|
|
52
|
+
info: { type: 'string', category: 'State', label: 'Info' },
|
|
53
|
+
error: { type: 'string', category: 'State', label: 'Error' },
|
|
54
|
+
loading: { type: 'boolean', category: 'State', label: 'Loading', default: false },
|
|
55
|
+
disabled: { type: 'boolean', category: 'State', label: 'Disabled', default: false },
|
|
56
|
+
identifiers: {
|
|
57
|
+
type: 'array',
|
|
58
|
+
category: 'Authentication',
|
|
59
|
+
label: 'Identifiers',
|
|
60
|
+
default: ['email'],
|
|
61
|
+
},
|
|
62
|
+
identifierLabel: { type: 'string', category: 'Content', label: 'Identifier label' },
|
|
63
|
+
signUpFields: {
|
|
64
|
+
type: 'array',
|
|
65
|
+
category: 'Authentication',
|
|
66
|
+
label: 'Sign-up fields',
|
|
67
|
+
itemSchema: [
|
|
68
|
+
{ key: 'name', schema: { type: 'string', category: 'Identity', label: 'Name' } },
|
|
69
|
+
{ key: 'label', schema: { type: 'string', category: 'Content', label: 'Label' } },
|
|
70
|
+
{
|
|
71
|
+
key: 'type',
|
|
72
|
+
schema: {
|
|
73
|
+
type: 'enum',
|
|
74
|
+
category: 'Authentication',
|
|
75
|
+
label: 'Type',
|
|
76
|
+
enum: ['email', 'number', 'otp', 'password', 'tel', 'text', 'url'],
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
key: 'placeholder',
|
|
81
|
+
schema: { type: 'string', category: 'Content', label: 'Placeholder' },
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
key: 'required',
|
|
85
|
+
schema: { type: 'boolean', category: 'Validation', label: 'Required' },
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
key: 'disabled',
|
|
89
|
+
schema: { type: 'boolean', category: 'State', label: 'Disabled' },
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
oauthProviders: {
|
|
94
|
+
type: 'array',
|
|
95
|
+
category: 'Authentication',
|
|
96
|
+
label: 'OAuth providers',
|
|
97
|
+
itemSchema: [
|
|
98
|
+
{ key: 'id', schema: { type: 'string', category: 'Identity', label: 'Provider ID' } },
|
|
99
|
+
{ key: 'label', schema: { type: 'string', category: 'Content', label: 'Label' } },
|
|
100
|
+
{ key: 'disabled', schema: { type: 'boolean', category: 'State', label: 'Disabled' } },
|
|
101
|
+
{ key: 'loading', schema: { type: 'boolean', category: 'State', label: 'Loading' } },
|
|
102
|
+
],
|
|
103
|
+
},
|
|
104
|
+
oauthSeparatorLabel: {
|
|
105
|
+
type: 'string',
|
|
106
|
+
category: 'Content',
|
|
107
|
+
label: 'OAuth separator label',
|
|
108
|
+
default: 'or continue with password',
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
};
|
|
112
|
+
//# sourceMappingURL=authScreenMeta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authScreenMeta.js","sourceRoot":"","sources":["../../../src/features/auth/authScreenMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,SAAS;IACnB,WAAW,EACT,sHAAsH;IACxH,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,aAAa;QACpB,YAAY,EAAE;YACZ,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,CAAC,OAAO,CAAC;YACtB,OAAO,EAAE,KAAK;YACd,QAAQ,EAAE,KAAK;SAChB;KACF;IACD,MAAM,EAAE;QACN,UAAU,EAAE;YACV,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,uBAAuB;YAClC,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;SACjE;QACD,kBAAkB,EAAE;YAClB,KAAK,EAAE,sBAAsB;YAC7B,SAAS,EAAE,+BAA+B;YAC1C,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC;SAC9E;QACD,YAAY,EAAE;YACZ,KAAK,EAAE,gBAAgB;YACvB,SAAS,EAAE,yBAAyB;Y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E;gBACD;oBACE,GAAG,EAAE,UAAU;oBACf,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE;iBAClE;aACF;SACF;QACD,cAAc,EAAE;YACd,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,gBAAgB;YAC1B,KAAK,EAAE,iBAAiB;YACxB,UAAU,EAAE;gBACV,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE;gBACrF,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACjF,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE;gBACtF,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE;aACrF;SACF;QACD,mBAAmB,EAAE;YACnB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,uBAAuB;YAC9B,OAAO,EAAE,2BAA2B;SACrC;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../types/authoring';\n\nexport const authScreenMeta = {\n name: 'AuthScreen',\n category: 'pattern',\n description:\n 'Presents a complete responsive sign-in or sign-up screen while leaving authentication orchestration to the consumer.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Auth screen',\n defaultProps: {\n authMode: 'signIn',\n identifiers: ['email'],\n loading: false,\n disabled: false,\n },\n },\n events: {\n modeChange: {\n label: 'Mode change',\n eventType: 'authScreen.modeChange',\n payloadFields: [{ path: 'mode', type: 'string', label: 'Mode' }],\n },\n oauthProviderPress: {\n label: 'OAuth provider press',\n eventType: 'authScreen.oauthProviderPress',\n payloadFields: [{ path: 'providerId', type: 'string', label: 'Provider ID' }],\n },\n signInSubmit: {\n label: 'Sign-in submit',\n eventType: 'authScreen.signInSubmit',\n payloadFields: [\n { path: 'identifier', type: 'string', label: 'Identifier' },\n { path: 'identifierKind', type: 'string', label: 'Identifier kind' },\n { path: 'secret', type: 'string', label: 'Secret' },\n ],\n },\n signUpSubmit: {\n label: 'Sign-up submit',\n eventType: 'authScreen.signUpSubmit',\n payloadFields: [{ path: 'values', type: 'record', label: 'Values' }],\n },\n },\n props: {\n authMode: {\n type: 'enum',\n category: 'Authentication',\n label: 'Auth mode',\n enum: ['signIn', 'signUp'],\n default: 'signIn',\n },\n title: { type: 'string', category: 'Content', label: 'Title' },\n description: { type: 'string', category: 'Content', label: 'Description' },\n info: { type: 'string', category: 'State', label: 'Info' },\n error: { type: 'string', category: 'State', label: 'Error' },\n loading: { type: 'boolean', category: 'State', label: 'Loading', default: false },\n disabled: { type: 'boolean', category: 'State', label: 'Disabled', default: false },\n identifiers: {\n type: 'array',\n category: 'Authentication',\n label: 'Identifiers',\n default: ['email'],\n },\n identifierLabel: { type: 'string', category: 'Content', label: 'Identifier label' },\n signUpFields: {\n type: 'array',\n category: 'Authentication',\n label: 'Sign-up fields',\n itemSchema: [\n { key: 'name', schema: { type: 'string', category: 'Identity', label: 'Name' } },\n { key: 'label', schema: { type: 'string', category: 'Content', label: 'Label' } },\n {\n key: 'type',\n schema: {\n type: 'enum',\n category: 'Authentication',\n label: 'Type',\n enum: ['email', 'number', 'otp', 'password', 'tel', 'text', 'url'],\n },\n },\n {\n key: 'placeholder',\n schema: { type: 'string', category: 'Content', label: 'Placeholder' },\n },\n {\n key: 'required',\n schema: { type: 'boolean', category: 'Validation', label: 'Required' },\n },\n {\n key: 'disabled',\n schema: { type: 'boolean', category: 'State', label: 'Disabled' },\n },\n ],\n },\n oauthProviders: {\n type: 'array',\n category: 'Authentication',\n label: 'OAuth providers',\n itemSchema: [\n { key: 'id', schema: { type: 'string', category: 'Identity', label: 'Provider ID' } },\n { key: 'label', schema: { type: 'string', category: 'Content', label: 'Label' } },\n { key: 'disabled', schema: { type: 'boolean', category: 'State', label: 'Disabled' } },\n { key: 'loading', schema: { type: 'boolean', category: 'State', label: 'Loading' } },\n ],\n },\n oauthSeparatorLabel: {\n type: 'string',\n category: 'Content',\n label: 'OAuth separator label',\n default: 'or continue with password',\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export type { AuthFormBaseProps, AuthIdentifierKind, ForgotPasswordFormProps, ForgotPasswordFormValues, OAuthProviderButtonProps, OAuthProviderIconSpec, OAuthProviderItem, OAuthProviderListLayout, OAuthProviderListProps, OtpFormProps, OtpFormValues, SignInFormProps, SignInFormValues, SignUpFormField, SignUpFormProps, SignUpFormValues, } from '../../types/auth';
|
|
1
|
+
export type { AuthFormBaseProps, AuthIdentifierKind, AuthScreenMode, AuthScreenProps, ForgotPasswordFormProps, ForgotPasswordFormValues, OAuthProviderButtonProps, OAuthProviderIconSpec, OAuthProviderItem, OAuthProviderListLayout, OAuthProviderListProps, OtpFormProps, OtpFormValues, SignInFormProps, SignInFormValues, SignUpFormField, SignUpFormProps, SignUpFormValues, } from '../../types/auth';
|
|
2
|
+
export { AuthScreen } from './adapters/inbound/AuthScreen';
|
|
2
3
|
export { ForgotPasswordForm } from './adapters/inbound/ForgotPasswordForm';
|
|
3
4
|
export { OAuthProviderButton } from './adapters/inbound/OAuthProviderButton';
|
|
4
5
|
export { OAuthProviderList } from './adapters/inbound/OAuthProviderList';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/auth/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/auth/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM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