@oxy.so/services 14.15.2 → 14.17.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.
Files changed (51) hide show
  1. package/lib/commonjs/index.js +18 -0
  2. package/lib/commonjs/index.js.map +1 -1
  3. package/lib/commonjs/ui/components/setupFlow/OxySetupFlow.js +273 -0
  4. package/lib/commonjs/ui/components/setupFlow/OxySetupFlow.js.map +1 -0
  5. package/lib/commonjs/ui/components/setupFlow/oxySignInStep.js +34 -0
  6. package/lib/commonjs/ui/components/setupFlow/oxySignInStep.js.map +1 -0
  7. package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js +21 -7
  8. package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js.map +1 -1
  9. package/lib/commonjs/ui/hooks/useI18n.js +4 -2
  10. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
  11. package/lib/module/index.js +5 -0
  12. package/lib/module/index.js.map +1 -1
  13. package/lib/module/ui/components/setupFlow/OxySetupFlow.js +270 -0
  14. package/lib/module/ui/components/setupFlow/OxySetupFlow.js.map +1 -0
  15. package/lib/module/ui/components/setupFlow/oxySignInStep.js +29 -0
  16. package/lib/module/ui/components/setupFlow/oxySignInStep.js.map +1 -0
  17. package/lib/module/ui/components/signIn/OxyAuthScreen.js +22 -8
  18. package/lib/module/ui/components/signIn/OxyAuthScreen.js.map +1 -1
  19. package/lib/module/ui/hooks/useI18n.js +4 -2
  20. package/lib/module/ui/hooks/useI18n.js.map +1 -1
  21. package/lib/typescript/commonjs/index.d.ts +4 -0
  22. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  23. package/lib/typescript/commonjs/ui/components/setupFlow/OxySetupFlow.d.ts +94 -0
  24. package/lib/typescript/commonjs/ui/components/setupFlow/OxySetupFlow.d.ts.map +1 -0
  25. package/lib/typescript/commonjs/ui/components/setupFlow/oxySignInStep.d.ts +23 -0
  26. package/lib/typescript/commonjs/ui/components/setupFlow/oxySignInStep.d.ts.map +1 -0
  27. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts +12 -3
  28. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -1
  29. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +1 -1
  30. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -1
  31. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
  32. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  33. package/lib/typescript/module/index.d.ts +4 -0
  34. package/lib/typescript/module/index.d.ts.map +1 -1
  35. package/lib/typescript/module/ui/components/setupFlow/OxySetupFlow.d.ts +94 -0
  36. package/lib/typescript/module/ui/components/setupFlow/OxySetupFlow.d.ts.map +1 -0
  37. package/lib/typescript/module/ui/components/setupFlow/oxySignInStep.d.ts +23 -0
  38. package/lib/typescript/module/ui/components/setupFlow/oxySignInStep.d.ts.map +1 -0
  39. package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts +12 -3
  40. package/lib/typescript/module/ui/components/signIn/OxyAuthScreen.d.ts.map +1 -1
  41. package/lib/typescript/module/ui/hooks/useI18n.d.ts +1 -1
  42. package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -1
  43. package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
  44. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  45. package/package.json +4 -4
  46. package/src/index.ts +12 -0
  47. package/src/ui/components/setupFlow/OxySetupFlow.tsx +346 -0
  48. package/src/ui/components/setupFlow/__tests__/OxySetupFlow.test.tsx +318 -0
  49. package/src/ui/components/setupFlow/oxySignInStep.tsx +32 -0
  50. package/src/ui/components/signIn/OxyAuthScreen.tsx +30 -7
  51. package/src/ui/hooks/useI18n.ts +4 -2
@@ -2,8 +2,8 @@
2
2
  * The shell every Oxy sign-in screen shares — the in-app account dialog and
3
3
  * every page of the auth.oxy.so IdP render these, so the two cannot drift:
4
4
  *
5
- * header the Oxy mark (56), then the title (48/800, tight) and a 18px
6
- * description, 8 apart
5
+ * header the Oxy mark (56) or the screen's own icon, then the title
6
+ * (48/800, tight) and a 18px description, 8 apart
7
7
  * screen blocks 24 apart, at most 448 wide
8
8
  * split from `md`, Bloom `AuthCard`'s split base — max 880, radius 24,
9
9
  * 1px border, two equal columns, the right one on the secondary
@@ -16,11 +16,20 @@
16
16
  * default family — and colours come from the Bloom theme.
17
17
  */
18
18
  import type React from 'react';
19
+ import { Text as RNText } from 'react-native';
19
20
  export interface OxyAuthScreenHeaderProps {
20
21
  title: string;
21
22
  description?: React.ReactNode;
23
+ /** Drawn in place of the Oxy mark (a platform's own step icon), at most 56 tall. */
24
+ icon?: React.ReactNode;
25
+ /**
26
+ * The title's host view, for a surface that moves focus to it (a setup
27
+ * assistant's step change). Given, the title also takes focus from code on
28
+ * the web (`tabIndex` -1), never from Tab.
29
+ */
30
+ titleRef?: React.Ref<React.ComponentRef<typeof RNText>>;
22
31
  }
23
- /** The Oxy mark over the screen's title and description. */
32
+ /** The Oxy mark (or the screen's icon) over the screen's title and description. */
24
33
  export declare const OxyAuthScreenHeader: React.FC<OxyAuthScreenHeaderProps>;
25
34
  /** A sign-in screen's column: its blocks 24 apart. `className` extends it (the split's form column). */
26
35
  export declare const OxyAuthScreen: React.FC<{
@@ -1 +1 @@
1
- {"version":3,"file":"OxyAuthScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/OxyAuthScreen.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAED,4DAA4D;AAC5D,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAmBlE,CAAC;AAEF,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K,CAAC,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAKrF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAmBA,CAAC;AAEF,sGAAsG;AACtG,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAYlC,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAqBhC,CAAC"}
@@ -13,7 +13,7 @@ export type Translate = (key: string, vars?: Record<string, string | number>) =>
13
13
  *
14
14
  * Anything that reads or mutates session state uses `useOxy()`, which throws.
15
15
  */
16
- export declare function useI18n(): {
16
+ export declare function useI18n(locale?: string): {
17
17
  t: Translate;
18
18
  locale: string;
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../../../src/ui/hooks/useI18n.ts"],"names":[],"mappings":"AAWA,2FAA2F;AAC3F,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;AAExF;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO;;;EActB"}
1
+ {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../../../src/ui/hooks/useI18n.ts"],"names":[],"mappings":"AAWA,2FAA2F;AAC3F,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;AAExF;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM;;;EAgBtC"}
@@ -1,4 +1,4 @@
1
1
  /** Glyphs are decorative: hidden from assistive technology (see `decorativeIconSet`). */
2
- declare const Ionicons: import("@expo/vector-icons/build/createIconSet").Icon<"push" | "infinite" | "save" | "code" | "business" | "navigate" | "key" | "open" | "add" | "search" | "list" | "settings" | "trash" | "wallet" | "link" | "text" | "scale" | "image" | "alert" | "radio" | "grid" | "warning" | "people" | "ellipse" | "add-circle-outline" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-back" | "arrow-down" | "arrow-forward" | "arrow-undo" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "bulb" | "business-outline" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "cash-outline" | "chatbubble" | "checkmark" | "checkmark-circle" | "chevron-back" | "chevron-down" | "chevron-forward" | "chevron-up" | "close" | "close-circle" | "cloud-offline-outline" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "construct-outline" | "copy-outline" | "cube-outline" | "desktop" | "document" | "document-outline" | "document-text" | "documents" | "download" | "download-outline" | "earth" | "ellipse-outline" | "ellipsis-horizontal" | "eye" | "eye-off-outline" | "filter-outline" | "flame" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "footsteps" | "gift" | "gift-outline" | "hand-left" | "hardware-chip-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "hourglass-outline" | "image-outline" | "images" | "images-outline" | "information" | "information-circle" | "information-outline" | "leaf" | "library" | "link-outline" | "location" | "location-outline" | "lock-closed" | "log-out-outline" | "mail" | "musical-notes" | "pencil-outline" | "people-outline" | "play" | "pricetag-outline" | "pulse" | "qr-code-outline" | "receipt-outline" | "refresh-outline" | "remove" | "repeat-outline" | "resize" | "rocket" | "school-outline" | "search-outline" | "server" | "share-outline" | "shield" | "shield-checkmark" | "shield-checkmark-outline" | "star" | "swap-horizontal-outline" | "swap-vertical-outline" | "sync" | "time-outline" | "trash-outline" | "trophy" | "trophy-outline" | "videocam" | "volume-off" | "wallet-outline" | "watch" | "wifi", "OxyServicesIonicons">;
2
+ declare const Ionicons: import("@expo/vector-icons/build/createIconSet").Icon<"push" | "infinite" | "save" | "code" | "business" | "navigate" | "key" | "open" | "add" | "search" | "list" | "settings" | "trash" | "wallet" | "link" | "text" | "scale" | "ellipse" | "image" | "alert" | "radio" | "grid" | "warning" | "people" | "add-circle-outline" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-back" | "arrow-down" | "arrow-forward" | "arrow-undo" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "bulb" | "business-outline" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "cash-outline" | "chatbubble" | "checkmark" | "checkmark-circle" | "chevron-back" | "chevron-down" | "chevron-forward" | "chevron-up" | "close" | "close-circle" | "cloud-offline-outline" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "construct-outline" | "copy-outline" | "cube-outline" | "desktop" | "document" | "document-outline" | "document-text" | "documents" | "download" | "download-outline" | "earth" | "ellipse-outline" | "ellipsis-horizontal" | "eye" | "eye-off-outline" | "filter-outline" | "flame" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "footsteps" | "gift" | "gift-outline" | "hand-left" | "hardware-chip-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "hourglass-outline" | "image-outline" | "images" | "images-outline" | "information" | "information-circle" | "information-outline" | "leaf" | "library" | "link-outline" | "location" | "location-outline" | "lock-closed" | "log-out-outline" | "mail" | "musical-notes" | "pencil-outline" | "people-outline" | "play" | "pricetag-outline" | "pulse" | "qr-code-outline" | "receipt-outline" | "refresh-outline" | "remove" | "repeat-outline" | "resize" | "rocket" | "school-outline" | "search-outline" | "server" | "share-outline" | "shield" | "shield-checkmark" | "shield-checkmark-outline" | "star" | "swap-horizontal-outline" | "swap-vertical-outline" | "sync" | "time-outline" | "trash-outline" | "trophy" | "trophy-outline" | "videocam" | "volume-off" | "wallet-outline" | "watch" | "wifi", "OxyServicesIonicons">;
3
3
  export default Ionicons;
4
4
  //# sourceMappingURL=Ionicons.d.ts.map
@@ -1,4 +1,4 @@
1
1
  /** Glyphs are decorative: hidden from assistive technology (see `decorativeIconSet`). */
2
- declare const MaterialCommunityIcons: import("@expo/vector-icons/build/createIconSet").Icon<"function" | "android" | "web" | "devices" | "cancel" | "forward" | "account" | "security" | "message" | "email" | "bio" | "phone" | "key" | "network" | "logout" | "label" | "history" | "wallet" | "link" | "text" | "translate" | "scale" | "solid" | "wrap" | "image" | "alert" | "radio" | "switch" | "grid" | "numeric" | "loading" | "decimal" | "contacts" | "ellipse" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-down" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "chevron-down" | "chevron-up" | "close" | "close-circle" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "cube-outline" | "download" | "download-outline" | "earth" | "ellipse-outline" | "eye" | "eye-off-outline" | "filter-outline" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "gift" | "gift-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "image-outline" | "information" | "information-outline" | "leaf" | "library" | "mail" | "pencil-outline" | "play" | "pulse" | "receipt-outline" | "resize" | "rocket" | "school-outline" | "server" | "share-outline" | "shield" | "star" | "sync" | "trophy" | "trophy-outline" | "volume-off" | "wallet-outline" | "watch" | "wifi" | "delete" | "account-circle" | "account-cog-outline" | "account-eye-outline" | "account-group" | "account-multiple" | "account-outline" | "account-plus" | "account-search" | "account-switch" | "account-voice" | "archive-arrow-down" | "arrow-left" | "bell" | "bell-outline" | "bullhorn" | "cake-variant" | "cake-variant-outline" | "cellphone" | "cellphone-basic" | "cellphone-message" | "cellphone-screenshot" | "chart-line" | "check-all" | "check-circle" | "chip" | "circle-outline" | "clock" | "clock-outline" | "code-tags" | "contain" | "content-copy" | "controller" | "cookie" | "credit-card" | "database-outline" | "delete-outline" | "dots-horizontal" | "email-outline" | "file" | "file-document" | "file-document-edit-outline" | "file-document-outline" | "file-excel-outline" | "file-outline" | "file-pdf-box" | "folder-image" | "folder-zip-outline" | "ghost" | "image-multiple-outline" | "inbox" | "link-variant" | "lock-outline" | "magnify" | "map-marker" | "map-marker-multiple" | "map-marker-outline" | "message-outline" | "minus-circle" | "motion" | "music-note-outline" | "null" | "open-in-app" | "openid" | "palette" | "palette-outline" | "pan" | "phone-outline" | "plus" | "plus-circle" | "post" | "presentation" | "react" | "read" | "shield-account-outline" | "shield-check" | "shield-search" | "signature" | "sort-alphabetical-variant" | "sort-numeric-variant" | "store" | "tag" | "tag-outline" | "text-box-outline" | "theme-light-dark" | "transfer" | "trash-can-outline" | "tray-arrow-down" | "update" | "upload" | "video-outline" | "wifi-off" | "wrench" | "xml", "OxyServicesMaterialCommunityIcons">;
2
+ declare const MaterialCommunityIcons: import("@expo/vector-icons/build/createIconSet").Icon<"function" | "android" | "web" | "devices" | "cancel" | "forward" | "account" | "security" | "message" | "email" | "bio" | "phone" | "key" | "network" | "logout" | "label" | "history" | "wallet" | "link" | "text" | "translate" | "scale" | "solid" | "wrap" | "ellipse" | "image" | "switch" | "alert" | "radio" | "grid" | "numeric" | "loading" | "decimal" | "contacts" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-down" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "chevron-down" | "chevron-up" | "close" | "close-circle" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "cube-outline" | "download" | "download-outline" | "earth" | "ellipse-outline" | "eye" | "eye-off-outline" | "filter-outline" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "gift" | "gift-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "image-outline" | "information" | "information-outline" | "leaf" | "library" | "mail" | "pencil-outline" | "play" | "pulse" | "receipt-outline" | "resize" | "rocket" | "school-outline" | "server" | "share-outline" | "shield" | "star" | "sync" | "trophy" | "trophy-outline" | "volume-off" | "wallet-outline" | "watch" | "wifi" | "delete" | "account-circle" | "account-cog-outline" | "account-eye-outline" | "account-group" | "account-multiple" | "account-outline" | "account-plus" | "account-search" | "account-switch" | "account-voice" | "archive-arrow-down" | "arrow-left" | "bell" | "bell-outline" | "bullhorn" | "cake-variant" | "cake-variant-outline" | "cellphone" | "cellphone-basic" | "cellphone-message" | "cellphone-screenshot" | "chart-line" | "check-all" | "check-circle" | "chip" | "circle-outline" | "clock" | "clock-outline" | "code-tags" | "contain" | "content-copy" | "controller" | "cookie" | "credit-card" | "database-outline" | "delete-outline" | "dots-horizontal" | "email-outline" | "file" | "file-document" | "file-document-edit-outline" | "file-document-outline" | "file-excel-outline" | "file-outline" | "file-pdf-box" | "folder-image" | "folder-zip-outline" | "ghost" | "image-multiple-outline" | "inbox" | "link-variant" | "lock-outline" | "magnify" | "map-marker" | "map-marker-multiple" | "map-marker-outline" | "message-outline" | "minus-circle" | "motion" | "music-note-outline" | "null" | "open-in-app" | "openid" | "palette" | "palette-outline" | "pan" | "phone-outline" | "plus" | "plus-circle" | "post" | "presentation" | "react" | "read" | "shield-account-outline" | "shield-check" | "shield-search" | "signature" | "sort-alphabetical-variant" | "sort-numeric-variant" | "store" | "tag" | "tag-outline" | "text-box-outline" | "theme-light-dark" | "transfer" | "trash-can-outline" | "tray-arrow-down" | "update" | "upload" | "video-outline" | "wifi-off" | "wrench" | "xml", "OxyServicesMaterialCommunityIcons">;
3
3
  export default MaterialCommunityIcons;
4
4
  //# sourceMappingURL=MaterialCommunityIcons.d.ts.map
@@ -111,6 +111,10 @@ export { default as OxyAuthChooser } from './ui/components/OxyAuthChooser.js';
111
111
  export type { OxyAuthChooserProps } from './ui/components/OxyAuthChooser.js';
112
112
  export { OxySurfaceFrame } from './ui/components/OxySurfaceFrame.js';
113
113
  export type { OxySurfaceFrameProps } from './ui/components/OxySurfaceFrame.js';
114
+ export { OxySetupFlow } from './ui/components/setupFlow/OxySetupFlow.js';
115
+ export type { OxySetupFlowProps, OxySetupStep, OxySetupAction, OxySetupPrimaryAction, } from './ui/components/setupFlow/OxySetupFlow.js';
116
+ export { oxySignInStep } from './ui/components/setupFlow/oxySignInStep.js';
117
+ export type { OxySignInStepOptions } from './ui/components/setupFlow/oxySignInStep.js';
114
118
  export { OxySignInPanel } from './ui/components/signIn/OxySignInPanel.js';
115
119
  export type { OxySignInPanelProps } from './ui/components/signIn/OxySignInPanel.js';
116
120
  export { OxySignUpPanel } from './ui/components/signIn/OxySignUpPanel.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAMH,OAAO,uBAAoB,CAAC;AAU5B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gCAA6B,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAAyB,CAAC;AAIjD,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,4BAAyB,CAAC;AAKlF,OAAO,EACL,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,uBAAc,CAAC;AACtB,YAAY,EACV,aAAa,EACb,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,GACf,MAAM,uBAAc,CAAC;AACtB,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,4BAAyB,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAoB,CAAC;AAI7C,OAAO,EACL,eAAe,EACf,gCAAgC,GACjC,MAAM,0CAAuC,CAAC;AAC/C,YAAY,EAAE,qBAAqB,EAAE,MAAM,0CAAuC,CAAC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AAC;AAKxD,OAAO,EAAE,gBAAgB,EAAE,KAAK,oBAAoB,EAAE,MAAM,gCAA6B,CAAC;AAC1F,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,MAAM,wCAAqC,CAAC;AAM7C,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,yCAAsC,CAAC;AAE9C,YAAY,EACV,6BAA6B,EAC7B,uBAAuB,GACxB,MAAM,mCAAgC,CAAC;AAExC,OAAO,EACL,gBAAgB,EAChB,4BAA4B,GAC7B,MAAM,wCAAqC,CAAC;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAA6C,CAAC;AAE1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAAyC,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAA+B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA4B,CAAC"}
@@ -0,0 +1,94 @@
1
+ /**
2
+ * A platform's setup, in the SDK sign-in's own frame: the host's steps and the
3
+ * SDK's sign-in (`oxySignInStep`) one after another on one card, as macOS's
4
+ * Setup Assistant walks Welcome → Apple Account → … → Done (oxy ADR 0064,
5
+ * OxyOS ADR 0020).
6
+ *
7
+ * Controlled and presentational: the host owns which steps apply, which one is
8
+ * current and what every action does; this draws them.
9
+ *
10
+ * step the sign-in's shell (`OxyAuthScreen`): the step's icon or the Oxy
11
+ * mark (56), its title (48/800) and description (18), its content,
12
+ * blocks 24 apart, at most 448 wide. A step with an `aside` is the
13
+ * split card from `md` (`OxyAuthSplit`), asking its surface for 880
14
+ * as the sign-in's QR side does. A step without a title is drawn as
15
+ * its content brings it (the SDK sign-in brings its own screens).
16
+ * motion a step change is Bloom's `ScreenTransition` (forward from the
17
+ * right, back from the left; a cross-fade on the web), clipped to
18
+ * the card; nothing moves under reduced motion
19
+ * progress quiet, above the footer: decorative dots and "Step 2 of 5"
20
+ * footer Back leading (plain), then the secondary action and the primary
21
+ * (the solid default action) trailing — Tab order is visual order
22
+ *
23
+ * Accessibility: on a step change focus moves to the new step's title, or
24
+ * stays with its content when the step says so (`initialFocus: 'content'`: a
25
+ * field of its own takes it), and the change is said politely ("Create a PIN,
26
+ * step 3 of 5"). The dots are hidden from assistive technology; the count line
27
+ * and the announcement say where the step sits.
28
+ */
29
+ import type React from 'react';
30
+ /** A footer action of a step. */
31
+ export interface OxySetupAction {
32
+ label: string;
33
+ onPress: () => void;
34
+ testID?: string;
35
+ }
36
+ /** The step's primary action: the default one, solid. */
37
+ export interface OxySetupPrimaryAction extends OxySetupAction {
38
+ /** Not available yet (a PIN not typed twice). */
39
+ disabled?: boolean;
40
+ /** Working: Bloom's spinner, presses refused, said busy; Back and the secondary wait with it. */
41
+ busy?: boolean;
42
+ }
43
+ /** One step of a setup. */
44
+ export interface OxySetupStep {
45
+ /** Stable: focus, the announcement and the transition key on it. */
46
+ id: string;
47
+ /** The step's one heading. Omit for content that brings its own (the SDK sign-in). */
48
+ title?: string;
49
+ description?: React.ReactNode;
50
+ /** Drawn in place of the Oxy mark above the title (the host's own step icon), at most 56 tall. */
51
+ icon?: React.ReactNode;
52
+ /** The step's body. */
53
+ content: React.ReactNode;
54
+ /** From `md`, the split card's right column (as the sign-in's QR side). */
55
+ aside?: React.ReactNode;
56
+ /**
57
+ * Where focus goes when the step becomes current: its title (`'heading'`, the
58
+ * default with a title), or left to its content (`'content'`, the default
59
+ * without one) — a step whose field takes focus itself (`autoFocus`).
60
+ */
61
+ initialFocus?: 'heading' | 'content';
62
+ primary?: OxySetupPrimaryAction;
63
+ /** "Not Now", "Set Up Later". */
64
+ secondary?: OxySetupAction;
65
+ }
66
+ export interface OxySetupFlowProps {
67
+ /** The accessible name of the whole setup ("Set up your account"). */
68
+ label: string;
69
+ /** In order; the host decides which apply. */
70
+ steps: readonly OxySetupStep[];
71
+ /** The current step's `id` (controlled). */
72
+ current: string;
73
+ /** Back is offered on the current step only when this is given. */
74
+ onBack?: () => void;
75
+ /** Default: the SDK's own "Back". */
76
+ /**
77
+ * The language the flow's own words speak (its progress, its announcements, the default Back),
78
+ * a BCP 47 tag. A platform's setup passes its system's: the flow then stays in it after the
79
+ * sign-in, when the runtime turns to the account's own language. Default: the runtime's.
80
+ */
81
+ locale?: string;
82
+ backLabel?: string;
83
+ /** "Step 2 of 5" and the dots. Default `true`. */
84
+ showProgress?: boolean;
85
+ /**
86
+ * The card width (px) the current step asks, as `OxySurfaceFrame` reports it:
87
+ * 880 for a split step (the sign-in's, with the QR, from `md`), `null` for the
88
+ * card's own. A surface around the flow (`OxySurfaceFrame`, the account
89
+ * dialog) is asked too.
90
+ */
91
+ onMaxWidthChange?: (maxWidth: number | null) => void;
92
+ }
93
+ export declare const OxySetupFlow: React.FC<OxySetupFlowProps>;
94
+ //# sourceMappingURL=OxySetupFlow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OxySetupFlow.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/setupFlow/OxySetupFlow.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,iCAAiC;AACjC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,yDAAyD;AACzD,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iGAAiG;IACjG,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,2BAA2B;AAC3B,MAAM,WAAW,YAAY;IAC3B,oEAAoE;IACpE,EAAE,EAAE,MAAM,CAAC;IACX,sFAAsF;IACtF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,kGAAkG;IAClG,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,uBAAuB;IACvB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IACrC,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,iCAAiC;IACjC,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,KAAK,EAAE,SAAS,YAAY,EAAE,CAAC;IAC/B,4CAA4C;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,qCAAqC;IACrC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACtD;AAwED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAkKpD,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * The SDK's sign-in as a step of a platform's setup (`OxySetupFlow`): the
3
+ * account dialog's own chooser (`OxyAuthChooser`), unchanged — the same sign-in
4
+ * (the Commons QR from `md`, the email's code or link, the password, the
5
+ * authenticator), sign-up and request views every Oxy app shows.
6
+ *
7
+ * The flow is its surface: the chooser asks it for the split card's 880 while
8
+ * its QR side shows and for the flow's own width after, as it asks the account
9
+ * dialog. The step draws no title (the chooser's screens bring their own) and
10
+ * leaves focus to them (the identifier field takes it on a computer).
11
+ *
12
+ * The host learns the sign-in where it always has: the credential a sign-in
13
+ * commits goes to `OxyProvider`'s `authStateStore` (`PlatformSetupAuthStateStore`,
14
+ * with `context.method` 'qr' or 'password' and the typed password), and
15
+ * `useOxy()` follows the signed-in account. Needs `OxyProvider` around the flow.
16
+ */
17
+ import type { OxySetupStep } from './OxySetupFlow.js';
18
+ export interface OxySignInStepOptions {
19
+ /** The step's `id`. Default `'oxy-sign-in'`. */
20
+ id?: string;
21
+ }
22
+ export declare function oxySignInStep(options?: OxySignInStepOptions): OxySetupStep;
23
+ //# sourceMappingURL=oxySignInStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oxySignInStep.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/setupFlow/oxySignInStep.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAgB,CAAC;AAEnD,MAAM,WAAW,oBAAoB;IACnC,gDAAgD;IAChD,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,aAAa,CAAC,OAAO,GAAE,oBAAyB,GAAG,YAAY,CAM9E"}
@@ -2,8 +2,8 @@
2
2
  * The shell every Oxy sign-in screen shares — the in-app account dialog and
3
3
  * every page of the auth.oxy.so IdP render these, so the two cannot drift:
4
4
  *
5
- * header the Oxy mark (56), then the title (48/800, tight) and a 18px
6
- * description, 8 apart
5
+ * header the Oxy mark (56) or the screen's own icon, then the title
6
+ * (48/800, tight) and a 18px description, 8 apart
7
7
  * screen blocks 24 apart, at most 448 wide
8
8
  * split from `md`, Bloom `AuthCard`'s split base — max 880, radius 24,
9
9
  * 1px border, two equal columns, the right one on the secondary
@@ -16,11 +16,20 @@
16
16
  * default family — and colours come from the Bloom theme.
17
17
  */
18
18
  import type React from 'react';
19
+ import { Text as RNText } from 'react-native';
19
20
  export interface OxyAuthScreenHeaderProps {
20
21
  title: string;
21
22
  description?: React.ReactNode;
23
+ /** Drawn in place of the Oxy mark (a platform's own step icon), at most 56 tall. */
24
+ icon?: React.ReactNode;
25
+ /**
26
+ * The title's host view, for a surface that moves focus to it (a setup
27
+ * assistant's step change). Given, the title also takes focus from code on
28
+ * the web (`tabIndex` -1), never from Tab.
29
+ */
30
+ titleRef?: React.Ref<React.ComponentRef<typeof RNText>>;
22
31
  }
23
- /** The Oxy mark over the screen's title and description. */
32
+ /** The Oxy mark (or the screen's icon) over the screen's title and description. */
24
33
  export declare const OxyAuthScreenHeader: React.FC<OxyAuthScreenHeaderProps>;
25
34
  /** A sign-in screen's column: its blocks 24 apart. `className` extends it (the split's form column). */
26
35
  export declare const OxyAuthScreen: React.FC<{
@@ -1 +1 @@
1
- {"version":3,"file":"OxyAuthScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/signIn/OxyAuthScreen.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAED,4DAA4D;AAC5D,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAmBlE,CAAC;AAEF,wGAAwG;AACxG,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAKrF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAmBA,CAAC;AAEF,sGAAsG;AACtG,eAAO,MAAM,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AK,CAAC,EAqBhC,CAAC"}
@@ -13,7 +13,7 @@ export type Translate = (key: string, vars?: Record<string, string | number>) =>
13
13
  *
14
14
  * Anything that reads or mutates session state uses `useOxy()`, which throws.
15
15
  */
16
- export declare function useI18n(): {
16
+ export declare function useI18n(locale?: string): {
17
17
  t: Translate;
18
18
  locale: string;
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../../../src/ui/hooks/useI18n.ts"],"names":[],"mappings":"AAWA,2FAA2F;AAC3F,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;AAExF;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO;;;EActB"}
1
+ {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../../../src/ui/hooks/useI18n.ts"],"names":[],"mappings":"AAWA,2FAA2F;AAC3F,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;AAExF;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM;;;EAgBtC"}
@@ -1,4 +1,4 @@
1
1
  /** Glyphs are decorative: hidden from assistive technology (see `decorativeIconSet`). */
2
- declare const Ionicons: import("@expo/vector-icons/build/createIconSet").Icon<"push" | "infinite" | "save" | "code" | "business" | "navigate" | "key" | "open" | "add" | "search" | "list" | "settings" | "trash" | "wallet" | "link" | "text" | "scale" | "image" | "alert" | "radio" | "grid" | "warning" | "people" | "ellipse" | "add-circle-outline" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-back" | "arrow-down" | "arrow-forward" | "arrow-undo" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "bulb" | "business-outline" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "cash-outline" | "chatbubble" | "checkmark" | "checkmark-circle" | "chevron-back" | "chevron-down" | "chevron-forward" | "chevron-up" | "close" | "close-circle" | "cloud-offline-outline" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "construct-outline" | "copy-outline" | "cube-outline" | "desktop" | "document" | "document-outline" | "document-text" | "documents" | "download" | "download-outline" | "earth" | "ellipse-outline" | "ellipsis-horizontal" | "eye" | "eye-off-outline" | "filter-outline" | "flame" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "footsteps" | "gift" | "gift-outline" | "hand-left" | "hardware-chip-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "hourglass-outline" | "image-outline" | "images" | "images-outline" | "information" | "information-circle" | "information-outline" | "leaf" | "library" | "link-outline" | "location" | "location-outline" | "lock-closed" | "log-out-outline" | "mail" | "musical-notes" | "pencil-outline" | "people-outline" | "play" | "pricetag-outline" | "pulse" | "qr-code-outline" | "receipt-outline" | "refresh-outline" | "remove" | "repeat-outline" | "resize" | "rocket" | "school-outline" | "search-outline" | "server" | "share-outline" | "shield" | "shield-checkmark" | "shield-checkmark-outline" | "star" | "swap-horizontal-outline" | "swap-vertical-outline" | "sync" | "time-outline" | "trash-outline" | "trophy" | "trophy-outline" | "videocam" | "volume-off" | "wallet-outline" | "watch" | "wifi", "OxyServicesIonicons">;
2
+ declare const Ionicons: import("@expo/vector-icons/build/createIconSet").Icon<"push" | "infinite" | "save" | "code" | "business" | "navigate" | "key" | "open" | "add" | "search" | "list" | "settings" | "trash" | "wallet" | "link" | "text" | "scale" | "ellipse" | "image" | "alert" | "radio" | "grid" | "warning" | "people" | "add-circle-outline" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-back" | "arrow-down" | "arrow-forward" | "arrow-undo" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "bulb" | "business-outline" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "cash-outline" | "chatbubble" | "checkmark" | "checkmark-circle" | "chevron-back" | "chevron-down" | "chevron-forward" | "chevron-up" | "close" | "close-circle" | "cloud-offline-outline" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "construct-outline" | "copy-outline" | "cube-outline" | "desktop" | "document" | "document-outline" | "document-text" | "documents" | "download" | "download-outline" | "earth" | "ellipse-outline" | "ellipsis-horizontal" | "eye" | "eye-off-outline" | "filter-outline" | "flame" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "footsteps" | "gift" | "gift-outline" | "hand-left" | "hardware-chip-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "hourglass-outline" | "image-outline" | "images" | "images-outline" | "information" | "information-circle" | "information-outline" | "leaf" | "library" | "link-outline" | "location" | "location-outline" | "lock-closed" | "log-out-outline" | "mail" | "musical-notes" | "pencil-outline" | "people-outline" | "play" | "pricetag-outline" | "pulse" | "qr-code-outline" | "receipt-outline" | "refresh-outline" | "remove" | "repeat-outline" | "resize" | "rocket" | "school-outline" | "search-outline" | "server" | "share-outline" | "shield" | "shield-checkmark" | "shield-checkmark-outline" | "star" | "swap-horizontal-outline" | "swap-vertical-outline" | "sync" | "time-outline" | "trash-outline" | "trophy" | "trophy-outline" | "videocam" | "volume-off" | "wallet-outline" | "watch" | "wifi", "OxyServicesIonicons">;
3
3
  export default Ionicons;
4
4
  //# sourceMappingURL=Ionicons.d.ts.map
@@ -1,4 +1,4 @@
1
1
  /** Glyphs are decorative: hidden from assistive technology (see `decorativeIconSet`). */
2
- declare const MaterialCommunityIcons: import("@expo/vector-icons/build/createIconSet").Icon<"function" | "android" | "web" | "devices" | "cancel" | "forward" | "account" | "security" | "message" | "email" | "bio" | "phone" | "key" | "network" | "logout" | "label" | "history" | "wallet" | "link" | "text" | "translate" | "scale" | "solid" | "wrap" | "image" | "alert" | "radio" | "switch" | "grid" | "numeric" | "loading" | "decimal" | "contacts" | "ellipse" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-down" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "chevron-down" | "chevron-up" | "close" | "close-circle" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "cube-outline" | "download" | "download-outline" | "earth" | "ellipse-outline" | "eye" | "eye-off-outline" | "filter-outline" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "gift" | "gift-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "image-outline" | "information" | "information-outline" | "leaf" | "library" | "mail" | "pencil-outline" | "play" | "pulse" | "receipt-outline" | "resize" | "rocket" | "school-outline" | "server" | "share-outline" | "shield" | "star" | "sync" | "trophy" | "trophy-outline" | "volume-off" | "wallet-outline" | "watch" | "wifi" | "delete" | "account-circle" | "account-cog-outline" | "account-eye-outline" | "account-group" | "account-multiple" | "account-outline" | "account-plus" | "account-search" | "account-switch" | "account-voice" | "archive-arrow-down" | "arrow-left" | "bell" | "bell-outline" | "bullhorn" | "cake-variant" | "cake-variant-outline" | "cellphone" | "cellphone-basic" | "cellphone-message" | "cellphone-screenshot" | "chart-line" | "check-all" | "check-circle" | "chip" | "circle-outline" | "clock" | "clock-outline" | "code-tags" | "contain" | "content-copy" | "controller" | "cookie" | "credit-card" | "database-outline" | "delete-outline" | "dots-horizontal" | "email-outline" | "file" | "file-document" | "file-document-edit-outline" | "file-document-outline" | "file-excel-outline" | "file-outline" | "file-pdf-box" | "folder-image" | "folder-zip-outline" | "ghost" | "image-multiple-outline" | "inbox" | "link-variant" | "lock-outline" | "magnify" | "map-marker" | "map-marker-multiple" | "map-marker-outline" | "message-outline" | "minus-circle" | "motion" | "music-note-outline" | "null" | "open-in-app" | "openid" | "palette" | "palette-outline" | "pan" | "phone-outline" | "plus" | "plus-circle" | "post" | "presentation" | "react" | "read" | "shield-account-outline" | "shield-check" | "shield-search" | "signature" | "sort-alphabetical-variant" | "sort-numeric-variant" | "store" | "tag" | "tag-outline" | "text-box-outline" | "theme-light-dark" | "transfer" | "trash-can-outline" | "tray-arrow-down" | "update" | "upload" | "video-outline" | "wifi-off" | "wrench" | "xml", "OxyServicesMaterialCommunityIcons">;
2
+ declare const MaterialCommunityIcons: import("@expo/vector-icons/build/createIconSet").Icon<"function" | "android" | "web" | "devices" | "cancel" | "forward" | "account" | "security" | "message" | "email" | "bio" | "phone" | "key" | "network" | "logout" | "label" | "history" | "wallet" | "link" | "text" | "translate" | "scale" | "solid" | "wrap" | "ellipse" | "image" | "switch" | "alert" | "radio" | "grid" | "numeric" | "loading" | "decimal" | "contacts" | "alert-circle" | "alert-circle-outline" | "apps" | "archive" | "arrow-down" | "arrow-up" | "at" | "briefcase-outline" | "bug" | "calendar" | "calendar-outline" | "camera" | "camera-outline" | "card" | "card-outline" | "cart-outline" | "chevron-down" | "chevron-up" | "close" | "close-circle" | "cloud-outline" | "cloud-upload" | "cloud-upload-outline" | "cog" | "cog-outline" | "cube-outline" | "download" | "download-outline" | "earth" | "ellipse-outline" | "eye" | "eye-off-outline" | "filter-outline" | "flash" | "folder" | "folder-open-outline" | "folder-outline" | "gift" | "gift-outline" | "heart" | "heart-outline" | "help-circle" | "help-circle-outline" | "image-outline" | "information" | "information-outline" | "leaf" | "library" | "mail" | "pencil-outline" | "play" | "pulse" | "receipt-outline" | "resize" | "rocket" | "school-outline" | "server" | "share-outline" | "shield" | "star" | "sync" | "trophy" | "trophy-outline" | "volume-off" | "wallet-outline" | "watch" | "wifi" | "delete" | "account-circle" | "account-cog-outline" | "account-eye-outline" | "account-group" | "account-multiple" | "account-outline" | "account-plus" | "account-search" | "account-switch" | "account-voice" | "archive-arrow-down" | "arrow-left" | "bell" | "bell-outline" | "bullhorn" | "cake-variant" | "cake-variant-outline" | "cellphone" | "cellphone-basic" | "cellphone-message" | "cellphone-screenshot" | "chart-line" | "check-all" | "check-circle" | "chip" | "circle-outline" | "clock" | "clock-outline" | "code-tags" | "contain" | "content-copy" | "controller" | "cookie" | "credit-card" | "database-outline" | "delete-outline" | "dots-horizontal" | "email-outline" | "file" | "file-document" | "file-document-edit-outline" | "file-document-outline" | "file-excel-outline" | "file-outline" | "file-pdf-box" | "folder-image" | "folder-zip-outline" | "ghost" | "image-multiple-outline" | "inbox" | "link-variant" | "lock-outline" | "magnify" | "map-marker" | "map-marker-multiple" | "map-marker-outline" | "message-outline" | "minus-circle" | "motion" | "music-note-outline" | "null" | "open-in-app" | "openid" | "palette" | "palette-outline" | "pan" | "phone-outline" | "plus" | "plus-circle" | "post" | "presentation" | "react" | "read" | "shield-account-outline" | "shield-check" | "shield-search" | "signature" | "sort-alphabetical-variant" | "sort-numeric-variant" | "store" | "tag" | "tag-outline" | "text-box-outline" | "theme-light-dark" | "transfer" | "trash-can-outline" | "tray-arrow-down" | "update" | "upload" | "video-outline" | "wifi-off" | "wrench" | "xml", "OxyServicesMaterialCommunityIcons">;
3
3
  export default MaterialCommunityIcons;
4
4
  //# sourceMappingURL=MaterialCommunityIcons.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxy.so/services",
3
- "version": "14.15.2",
3
+ "version": "14.17.0",
4
4
  "description": "OxyHQ Expo/React Native SDK — UI components, screens, and native features",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -176,14 +176,14 @@
176
176
  "delete-dts.js": "find ./lib/commonjs ./lib/module \\( -name '*.d.js*' -o -name '*.d.ts' \\) -delete"
177
177
  },
178
178
  "dependencies": {
179
- "@oxy.so/contracts": "^6.20.0",
179
+ "@oxy.so/contracts": "^6.22.0",
180
180
  "color": "^5.0.3",
181
181
  "@peable.to/sdk": "^4.0.0"
182
182
  },
183
183
  "devDependencies": {
184
184
  "@expo/app-integrity": "~58.0.2",
185
185
  "@expo/vector-icons": "^15.1.1",
186
- "@oxy.so/core": "7.44.0",
186
+ "@oxy.so/core": "7.45.0",
187
187
  "@react-native-async-storage/async-storage": "^3.1.1",
188
188
  "@react-native-community/netinfo": "^12.0.1",
189
189
  "@react-native/babel-preset": "^0.88.1",
@@ -236,7 +236,7 @@
236
236
  "@expo/app-integrity": ">=0.1.10 <59.0.0",
237
237
  "@expo/vector-icons": "^15.0.3",
238
238
  "@oxy.so/bloom": ">=17.15.0",
239
- "@oxy.so/core": "^7.37.0",
239
+ "@oxy.so/core": "^7.45.0",
240
240
  "@react-native-async-storage/async-storage": ">=2.0.0 <4.0.0",
241
241
  "@react-native-community/netinfo": ">=11.4.1 <13.0.0",
242
242
  "@tanstack/query-async-storage-persister": "^5.101",
package/src/index.ts CHANGED
@@ -403,6 +403,18 @@ export { default as OxyAuthChooser } from './ui/components/OxyAuthChooser';
403
403
  export type { OxyAuthChooserProps } from './ui/components/OxyAuthChooser';
404
404
  export { OxySurfaceFrame } from './ui/components/OxySurfaceFrame';
405
405
  export type { OxySurfaceFrameProps } from './ui/components/OxySurfaceFrame';
406
+ // A platform's setup in the sign-in's own frame: the host's steps and the SDK's
407
+ // sign-in (`oxySignInStep`, the chooser above unchanged) on one card, controlled
408
+ // by the host (ADR 0064; OxyOS's login screen sets up an account with it).
409
+ export { OxySetupFlow } from './ui/components/setupFlow/OxySetupFlow';
410
+ export type {
411
+ OxySetupFlowProps,
412
+ OxySetupStep,
413
+ OxySetupAction,
414
+ OxySetupPrimaryAction,
415
+ } from './ui/components/setupFlow/OxySetupFlow';
416
+ export { oxySignInStep } from './ui/components/setupFlow/oxySignInStep';
417
+ export type { OxySignInStepOptions } from './ui/components/setupFlow/oxySignInStep';
406
418
 
407
419
  // THE sign-in screens. The account dialog renders them, and so does every page
408
420
  // of the auth.oxy.so IdP: one implementation of what a person sees when they