@oxyhq/services 6.9.25 → 6.9.26

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 (104) hide show
  1. package/lib/commonjs/ui/components/BottomSheet.js +15 -19
  2. package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
  3. package/lib/commonjs/ui/components/BottomSheetRouter.js +6 -9
  4. package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
  5. package/lib/commonjs/ui/components/Header.js +9 -12
  6. package/lib/commonjs/ui/components/Header.js.map +1 -1
  7. package/lib/commonjs/ui/components/SignInModal.js +24 -53
  8. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  9. package/lib/commonjs/ui/components/StepBasedScreen.js +20 -7
  10. package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
  11. package/lib/commonjs/ui/components/feedback/feedbackStyles.js +2 -2
  12. package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -1
  13. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +32 -29
  14. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  15. package/lib/commonjs/ui/components/payment/paymentStyles.js +6 -6
  16. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
  17. package/lib/commonjs/ui/constants/theme.js +3 -2
  18. package/lib/commonjs/ui/constants/theme.js.map +1 -1
  19. package/lib/commonjs/ui/hooks/useAuth.js +6 -1
  20. package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
  21. package/lib/commonjs/ui/hooks/useWebSSO.js +6 -1
  22. package/lib/commonjs/ui/hooks/useWebSSO.js.map +1 -1
  23. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +0 -8
  24. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  25. package/lib/commonjs/ui/styles/authStyles.js +3 -3
  26. package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
  27. package/lib/commonjs/ui/styles/theme.js +45 -9
  28. package/lib/commonjs/ui/styles/theme.js.map +1 -1
  29. package/lib/module/ui/components/BottomSheet.js +15 -19
  30. package/lib/module/ui/components/BottomSheet.js.map +1 -1
  31. package/lib/module/ui/components/BottomSheetRouter.js +6 -9
  32. package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
  33. package/lib/module/ui/components/Header.js +9 -12
  34. package/lib/module/ui/components/Header.js.map +1 -1
  35. package/lib/module/ui/components/SignInModal.js +25 -54
  36. package/lib/module/ui/components/SignInModal.js.map +1 -1
  37. package/lib/module/ui/components/StepBasedScreen.js +21 -8
  38. package/lib/module/ui/components/StepBasedScreen.js.map +1 -1
  39. package/lib/module/ui/components/feedback/feedbackStyles.js +2 -2
  40. package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
  41. package/lib/module/ui/components/modals/DeleteAccountModal.js +33 -30
  42. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  43. package/lib/module/ui/components/payment/paymentStyles.js +6 -6
  44. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
  45. package/lib/module/ui/constants/theme.js +3 -2
  46. package/lib/module/ui/constants/theme.js.map +1 -1
  47. package/lib/module/ui/hooks/useAuth.js +6 -1
  48. package/lib/module/ui/hooks/useAuth.js.map +1 -1
  49. package/lib/module/ui/hooks/useWebSSO.js +6 -1
  50. package/lib/module/ui/hooks/useWebSSO.js.map +1 -1
  51. package/lib/module/ui/screens/AccountOverviewScreen.js +0 -8
  52. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  53. package/lib/module/ui/styles/authStyles.js +3 -3
  54. package/lib/module/ui/styles/authStyles.js.map +1 -1
  55. package/lib/module/ui/styles/theme.js +46 -9
  56. package/lib/module/ui/styles/theme.js.map +1 -1
  57. package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -1
  58. package/lib/typescript/commonjs/ui/components/BottomSheetRouter.d.ts.map +1 -1
  59. package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
  60. package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
  61. package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +1 -1
  62. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +0 -8
  63. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  64. package/lib/typescript/commonjs/ui/components/payment/types.d.ts +2 -0
  65. package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -1
  66. package/lib/typescript/commonjs/ui/constants/theme.d.ts +3 -2
  67. package/lib/typescript/commonjs/ui/constants/theme.d.ts.map +1 -1
  68. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
  69. package/lib/typescript/commonjs/ui/hooks/useWebSSO.d.ts.map +1 -1
  70. package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  71. package/lib/typescript/commonjs/ui/styles/theme.d.ts +8 -0
  72. package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +1 -1
  73. package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -1
  74. package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -1
  75. package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
  76. package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
  77. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +1 -1
  78. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +0 -8
  79. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
  80. package/lib/typescript/module/ui/components/payment/types.d.ts +2 -0
  81. package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -1
  82. package/lib/typescript/module/ui/constants/theme.d.ts +3 -2
  83. package/lib/typescript/module/ui/constants/theme.d.ts.map +1 -1
  84. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
  85. package/lib/typescript/module/ui/hooks/useWebSSO.d.ts.map +1 -1
  86. package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  87. package/lib/typescript/module/ui/styles/theme.d.ts +8 -0
  88. package/lib/typescript/module/ui/styles/theme.d.ts.map +1 -1
  89. package/package.json +1 -1
  90. package/src/ui/components/BottomSheet.tsx +12 -18
  91. package/src/ui/components/BottomSheetRouter.tsx +7 -9
  92. package/src/ui/components/Header.tsx +9 -12
  93. package/src/ui/components/SignInModal.tsx +17 -40
  94. package/src/ui/components/StepBasedScreen.tsx +22 -9
  95. package/src/ui/components/feedback/feedbackStyles.ts +2 -2
  96. package/src/ui/components/modals/DeleteAccountModal.tsx +25 -34
  97. package/src/ui/components/payment/paymentStyles.ts +6 -6
  98. package/src/ui/components/payment/types.ts +2 -0
  99. package/src/ui/constants/theme.ts +3 -2
  100. package/src/ui/hooks/useAuth.ts +4 -1
  101. package/src/ui/hooks/useWebSSO.ts +4 -1
  102. package/src/ui/screens/AccountOverviewScreen.tsx +0 -8
  103. package/src/ui/styles/authStyles.ts +3 -3
  104. package/src/ui/styles/theme.ts +44 -10
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/ui/styles/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE;QACL,KAAK,EAAE,SAAS,CAAC;Q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AAC;IACrC,gBAAgB,CAAC,EAAE,MAAM,OAAO,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,WAAW,yFA2Sf,CAAC;AAkFH,eAAe,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheetRouter.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/BottomSheetRouter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAGvF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAmEtD,MAAM,WAAW,sBAAsB;IACnC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;;AA6KD,wBAA6C"}
1
+ {"version":3,"file":"BottomSheetRouter.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/BottomSheetRouter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAGvF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAkEtD,MAAM,WAAW,sBAAsB;IACnC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;;AA4KD,wBAA6C"}
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAA2B,EAAgD,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAU7H,eAAO,MAAM,eAAe,GAAI,UAAS,WAAW,CAAC,SAAS,CAAa,EAAE,oBAAe,KAAG,MAK9F,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,KAAK,E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,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;IACvD,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC;IAC5C,eAAe,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;IAC1D,cAAc,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC7C,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAmSjC,CAAC;AA4JF,eAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SignInModal.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/SignInModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuD/B,eAAO,MAAM,eAAe,YAI3B,CAAC;AAEF,eAAO,MAAM,eAAe,YAI3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,eAAqB,CAAC;AAEvD,4CAA4C;AAC5C,eAAO,MAAM,sBAAsB,GAAI,UAAU,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,KAAG,CAAC,MAAM,IAAI,CAGxF,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAwVxB,CAAC;AAkHF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"SignInModal.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/SignInModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwD/B,eAAO,MAAM,eAAe,YAI3B,CAAC;AAEF,eAAO,MAAM,eAAe,YAI3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,eAAqB,CAAC;AAEvD,4CAA4C;AAC5C,eAAO,MAAM,sBAAsB,GAA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AAU,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,QAAQ,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAEvE,WAAW,EAAE,GAAG,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtD;AA4DD,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuXnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -4,14 +4,6 @@ interface DeleteAccountModalProps {
4
4
  username: string;
5
5
  onClose: () => void;
6
6
  onDelete: (password: string) => Promise<void>;
7
- colors: {
8
- background: string;
9
- text: string;
10
- secondaryText: string;
11
- border: string;
12
- danger: string;
13
- inputBackground: string;
14
- };
15
7
  t: (key: string, params?: Record<string, string>) => string | undefined;
16
8
  }
17
9
  declare const DeleteAccountModal: React.FC<DeleteAccountModalProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteAccountModal.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/modals/DeleteAccountModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,UAAU,uBAAuB;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,MAAM,EAAE;QACJ,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,aAAa,EAAE,MAAM,CAAC;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,eAAe,EAAE,MAAM,CAAC;KAC3B,CAAC;IACF,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;CAC3E;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAiKzD,CAAC;AAsGF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"DeleteAccountModal.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/modals/DeleteAccountModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,UAAU,uBAAuB;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;CAC3E;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAiKzD,CAAC;AAoGF,eAAe,kBAAkB,CAAC"}
@@ -35,6 +35,8 @@ export interface PaymentColors {
35
35
  secondaryText: string;
36
36
  border: string;
37
37
  success?: string;
38
+ error?: string;
38
39
  background?: string;
40
+ card?: string;
39
41
  }
40
42
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/payment/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,WAAW,GAAG;IACtB,I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C,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -1,6 +1,7 @@
1
1
  /**
2
- * Below are the colors that are used in the app. The colors are defined in the light and dark mode.
3
- * There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc.
2
+ * Below are the colors that are used in the app.
3
+ * These are kept as a compatibility layer prefer using bloom's useTheme() / useThemeColor()
4
+ * directly in new code. Existing screens still reference Colors.light / Colors.dark.
4
5
  */
5
6
  export declare const Colors: {
6
7
  light: {
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/ui/constants/theme.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFlB,CAAC;AAEF,eAAO,MAAM,KAAK;IAEd,gDAAgD;;IAEhD,8CAA8C;;IAE9C,gDAAgD;;IAEhD,mDAAmD;;CAerD,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/ui/constants/theme.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFlB,CAAC;AAEF,eAAO,MAAM,KAAK;IAEd,gDAAgD;;IAEhD,8CAA8C;;IAE9C,gDAAgD;;IAEhD,mDAAmD;;CAerD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../../../src/ui/hooks/useAuth.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,OAAO,EAAE,MAAM,EAAE,M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Root":"","sources":["../../../../../src/ui/hooks/useWebSSO.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,UAAU,gBAAgB;IACxB,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjE,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,eAAe;IACvB,iCAAiC;IACjC,QAAQ,EAAE,MAAM,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAAC;IACrD,2DAA2D;IAC3D,eAAe,EAAE,MAAM,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAAC;IAC5D,uCAAuC;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,iDAAiD;IACjD,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,iBAAS,YAAY,IAAI,OAAO,CAI/B;AAaD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,SAAS,CAAC,EACxB,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,OAAc,GACf,EAAE,gBAAgB,GAAG,eAAe,CAwGpC;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"useWebSSO.d.ts","sourceRoot":"","sources":["../../../../../src/ui/hooks/useWebSSO.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,UAAU,gBAAgB;IACxB,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjE,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,eAAe;IACvB,iCAAiC;IACjC,QAAQ,EAAE,MAAM,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAAC;IACrD,2DAA2D;IAC3D,eAAe,EAAE,MAAM,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAAC;IAC5D,uCAAuC;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,iDAAiD;IACjD,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,iBAAS,YAAY,IAAI,OAAO,CAI/B;AAgBD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,SAAS,CAAC,EACxB,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,OAAc,GACf,EAAE,gBAAgB,GAAG,eAAe,CAwGpC;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccountOverviewScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/AccountOverviewScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAcjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AAqzB3D,wBAAiD"}
1
+ {"version":3,"file":"AccountOverviewScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/AccountOverviewScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAcjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AA6yB3D,wBAAiD"}
@@ -1,4 +1,8 @@
1
1
  import { type TextStyle } from 'react-native';
2
+ /**
3
+ * ThemeColors used by services style files.
4
+ * Maps to bloom's ThemeColors, with a few convenience aliases.
5
+ */
2
6
  export interface ThemeColors {
3
7
  text: string;
4
8
  background: string;
@@ -21,6 +25,10 @@ export interface Theme {
21
25
  };
22
26
  }
23
27
  export declare const getTheme: (theme: "light" | "dark") => Theme;
28
+ /**
29
+ * Returns theme colors from bloom when available, with fallback to local colors.
30
+ * Prefer this hook for new code — it reads from bloom's ThemeProvider.
31
+ */
24
32
  export declare const useThemeColors: (theme: "light" | "dark") => ThemeColors;
25
33
  export declare const createCommonStyles: (theme: "light" | "dark") => {
26
34
  container: {
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/ui/styles/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE;QACL,KAAK,EAAE,SAAS,CAAC;QACjB,IAAI,EAAE,SAAS,CAAC;QAChB,MAAM,EAAE,SAAS,CAAC;QAClB,KAAK,EAAE,SAAS,CAAC;KAClB,CAAC;CACH;AA0DD,eAAO,MAAM,QAAQ,GAAI,OAAO,OAAO,GAAG,MAAM,KAAG,KAElD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,GAAG,MAAM,KAAG,WAExD,CAAC;AAGF,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CzD,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/ui/styles/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpE;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE;QACL,KAAK,EAAE,SAAS,CAAC;QACjB,IAAI,EAAE,SAAS,CAAC;QAChB,MAAM,EAAE,SAAS,CAAC;QAClB,KAAK,EAAE,SAAS,CAAC;KAClB,CAAC;CACH;AA6ED,eAAO,MAAM,QAAQ,GAAI,OAAO,OAAO,GAAG,MAAM,KAAG,KAElD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,GAAG,MAAM,KAAG,WAQxD,CAAC;AAGF,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CzD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxyhq/services",
3
- "version": "6.9.25",
3
+ "version": "6.9.26",
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",
@@ -21,7 +21,7 @@ import Animated, {
21
21
  withTiming,
22
22
  } from 'react-native-reanimated';
23
23
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
24
- import { useThemeColors } from '../hooks/useThemeColors';
24
+ import { useTheme } from '@oxyhq/bloom/theme';
25
25
 
26
26
  // Keyboard handler — only on native platforms. On web, keyboard events are handled by the browser.
27
27
  const noopKeyboardHandler = (_handlers: Record<string, (e: { height: number }) => void>, _deps: unknown[]) => {};
@@ -77,7 +77,7 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
77
77
  } = props;
78
78
 
79
79
  const insets = useSafeAreaInsets();
80
- const colors = useThemeColors();
80
+ const theme = useTheme();
81
81
  const [visible, setVisible] = useState(false);
82
82
  const [rendered, setRendered] = useState(false); // keep mounted for exit animation
83
83
  const closeTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
@@ -159,9 +159,9 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
159
159
  // Apply web scrollbar styles when colors change
160
160
  useEffect(() => {
161
161
  if (Platform.OS === 'web') {
162
- createWebScrollbarStyle(colors.border);
162
+ createWebScrollbarStyle(theme.colors.border);
163
163
  }
164
- }, [colors.border]);
164
+ }, [theme.colors.border]);
165
165
 
166
166
  const present = useCallback(() => {
167
167
  setRendered(true);
@@ -293,15 +293,14 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
293
293
  });
294
294
 
295
295
  const dynamicStyles = useMemo(() => {
296
- const isDark = colors.background === '#000000';
297
296
  return StyleSheet.create({
298
297
  handle: {
299
298
  ...styles.handle,
300
- backgroundColor: isDark ? '#444' : '#C7C7CC',
299
+ backgroundColor: theme.isDark ? theme.colors.border : theme.colors.borderLight,
301
300
  },
302
301
  sheet: {
303
302
  ...styles.sheet,
304
- backgroundColor: colors.background,
303
+ backgroundColor: theme.colors.background,
305
304
  ...(detached ? styles.sheetDetached : styles.sheetNormal),
306
305
  },
307
306
  scrollContent: {
@@ -310,14 +309,14 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
310
309
  // The sheet extends behind safe area, and screens add padding as needed
311
310
  },
312
311
  });
313
- }, [colors.background, detached]);
312
+ }, [theme.colors.background, theme.colors.border, theme.colors.borderLight, theme.isDark, detached]);
314
313
 
315
314
  if (!rendered) return null;
316
315
 
317
316
  return (
318
317
  <Modal visible={rendered} transparent animationType="none" statusBarTranslucent onRequestClose={dismiss}>
319
318
  <View style={StyleSheet.absoluteFill}>
320
- <Animated.View style={[styles.backdrop, backdropStyle]}>
319
+ <Animated.View style={[styles.backdrop, { backgroundColor: theme.colors.overlay }, backdropStyle]}>
321
320
  {backdropComponent ? (
322
321
  backdropComponent({ onPress: handleBackdropPress })
323
322
  ) : (
@@ -340,7 +339,7 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
340
339
  styles.scrollView,
341
340
  Platform.OS === 'web' && ({
342
341
  scrollbarWidth: 'thin',
343
- scrollbarColor: `${colors.border} transparent`,
342
+ scrollbarColor: `${theme.colors.border} transparent`,
344
343
  } as ViewStyle),
345
344
  ]}
346
345
  contentContainerStyle={dynamicStyles.scrollContent}
@@ -351,7 +350,7 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
351
350
  {...(Platform.OS === 'web' ? { className: 'bottom-sheet-scrollview' } : undefined)}
352
351
  onLayout={() => {
353
352
  if (Platform.OS === 'web') {
354
- createWebScrollbarStyle(colors.border);
353
+ createWebScrollbarStyle(theme.colors.border);
355
354
  }
356
355
  }}
357
356
  >
@@ -370,7 +369,6 @@ BottomSheet.displayName = 'BottomSheet';
370
369
  const styles = StyleSheet.create({
371
370
  backdrop: {
372
371
  flex: 1,
373
- backgroundColor: 'rgba(0, 0, 0, 0.5)',
374
372
  },
375
373
  backdropTouchable: {
376
374
  flex: 1,
@@ -428,10 +426,6 @@ const createWebScrollbarStyle = (borderColor: string) => {
428
426
  document.head.appendChild(styleElement);
429
427
  }
430
428
 
431
- // Use theme border color for scrollbar
432
- const scrollbarColor = borderColor;
433
- const scrollbarHoverColor = borderColor === '#E5E5EA' ? '#C7C7CC' : '#555';
434
-
435
429
  styleElement.textContent = `
436
430
  .bottom-sheet-scrollview::-webkit-scrollbar {
437
431
  width: 6px;
@@ -441,11 +435,11 @@ const createWebScrollbarStyle = (borderColor: string) => {
441
435
  border-radius: 10px;
442
436
  }
443
437
  .bottom-sheet-scrollview::-webkit-scrollbar-thumb {
444
- background: ${scrollbarColor};
438
+ background: ${borderColor};
445
439
  border-radius: 10px;
446
440
  }
447
441
  .bottom-sheet-scrollview::-webkit-scrollbar-thumb:hover {
448
- background: ${scrollbarHoverColor};
442
+ background: ${borderColor};
449
443
  }
450
444
  `;
451
445
  };
@@ -4,8 +4,7 @@ import { useStore } from 'zustand';
4
4
  import type { RouteName } from '../navigation/routes';
5
5
  import { getScreenComponent, isValidRoute } from '../navigation/routes';
6
6
  import type { BaseScreenProps } from '../types/navigation';
7
- import { useColorScheme } from '../hooks/useColorScheme';
8
- import { Colors } from '../constants/theme';
7
+ import { useTheme } from '@oxyhq/bloom/theme';
9
8
  import BottomSheet, { type BottomSheetRef } from './BottomSheet';
10
9
  import {
11
10
  bottomSheetStore,
@@ -65,7 +64,7 @@ class ScreenErrorBoundary extends React.Component<
65
64
  const errorStyles = StyleSheet.create({
66
65
  container: { flex: 1, alignItems: 'center', justifyContent: 'center', padding: 24 },
67
66
  title: { fontSize: 16, fontWeight: '600', marginBottom: 8 },
68
- message: { fontSize: 13, color: '#888', textAlign: 'center' },
67
+ message: { fontSize: 13, textAlign: 'center' },
69
68
  });
70
69
 
71
70
  export interface BottomSheetRouterProps {
@@ -78,8 +77,7 @@ export interface BottomSheetRouterProps {
78
77
  */
79
78
  const BottomSheetRouter: React.FC<BottomSheetRouterProps> = ({ onScreenChange, onDismiss }) => {
80
79
  const sheetRef = useRef<BottomSheetRef>(null);
81
- const colorScheme = useColorScheme();
82
- const colors = Colors[colorScheme ?? 'light'];
80
+ const theme = useTheme();
83
81
  const prevScreenRef = useRef<RouteName | null>(null);
84
82
 
85
83
  const { currentScreen, screenProps, currentStep, isOpen } = useStore(bottomSheetStore);
@@ -190,9 +188,9 @@ const BottomSheetRouter: React.FC<BottomSheetRouterProps> = ({ onScreenChange, o
190
188
 
191
189
  const renderBackground = useCallback(
192
190
  (props: { style?: StyleProp<ViewStyle> }) => (
193
- <View style={[styles.background, { backgroundColor: colors.background }, props.style]} />
191
+ <View style={[styles.background, { backgroundColor: theme.colors.background }, props.style]} />
194
192
  ),
195
- [colors.background]
193
+ [theme.colors.background]
196
194
  );
197
195
 
198
196
  const screenPropsValue = useMemo((): BaseScreenProps & { scrollTo: typeof scrollTo } => {
@@ -202,14 +200,14 @@ const BottomSheetRouter: React.FC<BottomSheetRouterProps> = ({ onScreenChange, o
202
200
  goBack: handleGoBack,
203
201
  onClose: closeBottomSheet,
204
202
  onAuthenticated: closeBottomSheet,
205
- theme: colorScheme ?? 'light',
203
+ theme: theme.mode,
206
204
  currentScreen: currentScreen ?? undefined,
207
205
  initialStep: currentStep ?? (screenProps?.initialStep as number | undefined),
208
206
  onStepChange: handleStepChange,
209
207
  scrollTo,
210
208
  ...rest,
211
209
  };
212
- }, [navigate, handleGoBack, colorScheme, currentScreen, currentStep, screenProps, handleStepChange, scrollTo]);
210
+ }, [navigate, handleGoBack, theme.mode, currentScreen, currentStep, screenProps, handleStepChange, scrollTo]);
213
211
 
214
212
  return (
215
213
  <BottomSheet
@@ -14,9 +14,7 @@ import { useSafeAreaInsets } from 'react-native-safe-area-context';
14
14
  import { Ionicons } from '@expo/vector-icons';
15
15
  import OxyIcon from './icon/OxyIcon';
16
16
  import { fontFamilies } from '../styles/fonts';
17
- import { useColorScheme } from '../hooks/useColorScheme';
18
- import { normalizeColorScheme } from '../utils/themeUtils';
19
- import { Colors } from '../constants/theme';
17
+ import { useTheme } from '@oxyhq/bloom/theme';
20
18
 
21
19
  // Calculate header height based on platform and variant
22
20
  export const getHeaderHeight = (variant: HeaderProps['variant'] = 'default', safeAreaTop = 0): number => {
@@ -77,10 +75,9 @@ const Header: React.FC<HeaderProps> = ({
77
75
  titleAlignment = 'left',
78
76
  scrollY,
79
77
  }) => {
80
- // Use theme colors directly from Colors constant (like Accounts sidebar)
81
- // Ensure colorScheme is always 'light' or 'dark' with proper fallback chain
82
- const colorScheme = normalizeColorScheme(useColorScheme(), theme);
83
- const colors = Colors[colorScheme];
78
+ const bloomTheme = useTheme();
79
+ const colors = bloomTheme.colors;
80
+ const colorScheme = bloomTheme.mode;
84
81
  const insets = useSafeAreaInsets();
85
82
  const headerHeight = getHeaderHeight(variant, insets.top);
86
83
 
@@ -168,12 +165,12 @@ const Header: React.FC<HeaderProps> = ({
168
165
  >
169
166
  {action.loading ? (
170
167
  <View style={styles.loadingContainer}>
171
- <View style={[styles.loadingDot, { backgroundColor: isTextAction ? '#FFFFFF' : colors.tint }]} />
172
- <View style={[styles.loadingDot, { backgroundColor: isTextAction ? '#FFFFFF' : colors.tint }]} />
173
- <View style={[styles.loadingDot, { backgroundColor: isTextAction ? '#FFFFFF' : colors.tint }]} />
168
+ <View style={[styles.loadingDot, { backgroundColor: isTextAction ? colors.card : colors.tint }]} />
169
+ <View style={[styles.loadingDot, { backgroundColor: isTextAction ? colors.card : colors.tint }]} />
170
+ <View style={[styles.loadingDot, { backgroundColor: isTextAction ? colors.card : colors.tint }]} />
174
171
  </View>
175
172
  ) : isTextAction ? (
176
- <Text style={[styles.actionText, { color: '#FFFFFF' }]}>
173
+ <Text style={[styles.actionText, { color: colors.card }]}>
177
174
  {action.text}
178
175
  </Text>
179
176
  ) : (
@@ -247,7 +244,7 @@ const Header: React.FC<HeaderProps> = ({
247
244
  {title}
248
245
  </Text>
249
246
  {subtitle ? (
250
- <Text style={[subtitleStyle, { color: colors.secondaryText }]}>
247
+ <Text style={[subtitleStyle, { color: colors.textSecondary }]}>
251
248
  {subtitle}
252
249
  </Text>
253
250
  ) : null}
@@ -17,7 +17,6 @@ import {
17
17
  StyleSheet,
18
18
  Modal,
19
19
  Dimensions,
20
- ActivityIndicator,
21
20
  Platform,
22
21
  Linking,
23
22
  } from 'react-native';
@@ -30,7 +29,9 @@ import Animated, {
30
29
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
31
30
  import io, { type Socket } from 'socket.io-client';
32
31
  import QRCode from 'react-native-qrcode-svg';
33
- import { useThemeColors } from '../hooks/useThemeColors';
32
+ import { useTheme } from '@oxyhq/bloom/theme';
33
+ import { Button } from '@oxyhq/bloom/button';
34
+ import { Loading } from '@oxyhq/bloom/loading';
34
35
  import { useOxy } from '../context/OxyContext';
35
36
  import OxyLogo from './OxyLogo';
36
37
  import { createDebugLogger } from '@oxyhq/core';
@@ -91,7 +92,7 @@ const SignInModal: React.FC = () => {
91
92
  const [isWaiting, setIsWaiting] = useState(false);
92
93
 
93
94
  const insets = useSafeAreaInsets();
94
- const colors = useThemeColors();
95
+ const theme = useTheme();
95
96
  const { oxyServices, switchSession } = useOxy();
96
97
 
97
98
  const socketRef = useRef<Socket | null>(null);
@@ -345,7 +346,7 @@ const SignInModal: React.FC = () => {
345
346
 
346
347
  return (
347
348
  <Modal visible={visible} transparent animationType="none" statusBarTranslucent onRequestClose={handleClose}>
348
- <Animated.View style={[styles.backdrop, backdropStyle]}>
349
+ <Animated.View style={[styles.backdrop, { backgroundColor: theme.colors.overlay }, backdropStyle]}>
349
350
  <TouchableOpacity style={StyleSheet.absoluteFill} onPress={handleClose} activeOpacity={1} />
350
351
 
351
352
  <Animated.View style={[styles.content, contentStyle, { paddingTop: insets.top + 20, paddingBottom: insets.bottom + 20 }]}>
@@ -357,28 +358,23 @@ const SignInModal: React.FC = () => {
357
358
  {/* Header */}
358
359
  <View style={styles.header}>
359
360
  <OxyLogo width={56} height={56} />
360
- <Text style={[styles.title, { color: colors.text }]}>Sign in with Oxy</Text>
361
- <Text style={[styles.subtitle, { color: colors.secondaryText }]}>
361
+ <Text style={[styles.title, { color: theme.colors.text }]}>Sign in with Oxy</Text>
362
+ <Text style={[styles.subtitle, { color: theme.colors.textSecondary }]}>
362
363
  Scan with Oxy Accounts app or use the button below
363
364
  </Text>
364
365
  </View>
365
366
 
366
367
  {isLoading ? (
367
368
  <View style={styles.loadingContainer}>
368
- <ActivityIndicator size="large" color={colors.tint} />
369
- <Text style={[styles.loadingText, { color: colors.secondaryText }]}>
369
+ <Loading size="large" />
370
+ <Text style={[styles.loadingText, { color: theme.colors.textSecondary }]}>
370
371
  Preparing sign in...
371
372
  </Text>
372
373
  </View>
373
374
  ) : error ? (
374
375
  <View style={styles.errorContainer}>
375
- <Text style={[styles.errorText, { color: '#EA4335' }]}>{error}</Text>
376
- <TouchableOpacity
377
- style={[styles.button, { backgroundColor: colors.tint }]}
378
- onPress={handleRefresh}
379
- >
380
- <Text style={styles.buttonText}>Try Again</Text>
381
- </TouchableOpacity>
376
+ <Text style={[styles.errorText, { color: theme.colors.error }]}>{error}</Text>
377
+ <Button onPress={handleRefresh}>Try Again</Button>
382
378
  </View>
383
379
  ) : (
384
380
  <>
@@ -392,7 +388,7 @@ const SignInModal: React.FC = () => {
392
388
  color="black"
393
389
  />
394
390
  ) : (
395
- <ActivityIndicator size="large" color="#d169e5" />
391
+ <Loading size="large" />
396
392
  )}
397
393
  </View>
398
394
 
@@ -404,18 +400,17 @@ const SignInModal: React.FC = () => {
404
400
  </View>
405
401
 
406
402
  {/* Open Auth Popup Button */}
407
- <TouchableOpacity
408
- style={[styles.button, { backgroundColor: '#d169e5' }]}
403
+ <Button
409
404
  onPress={handleOpenAuthPopup}
405
+ icon={<OxyLogo width={20} height={20} fillColor={theme.colors.card} />}
410
406
  >
411
- <OxyLogo width={20} height={20} fillColor="white" style={styles.buttonIcon} />
412
- <Text style={styles.buttonText}>Open Oxy Auth</Text>
413
- </TouchableOpacity>
407
+ Open Oxy Auth
408
+ </Button>
414
409
 
415
410
  {/* Status */}
416
411
  {isWaiting && (
417
412
  <View style={styles.statusContainer}>
418
- <ActivityIndicator size="small" color="white" />
413
+ <Loading size="small" />
419
414
  <Text style={styles.statusText}>
420
415
  Waiting for authorization...
421
416
  </Text>
@@ -432,7 +427,6 @@ const SignInModal: React.FC = () => {
432
427
  const styles = StyleSheet.create({
433
428
  backdrop: {
434
429
  flex: 1,
435
- backgroundColor: 'rgba(0, 0, 0, 0.85)',
436
430
  justifyContent: 'center',
437
431
  alignItems: 'center',
438
432
  },
@@ -494,23 +488,6 @@ const styles = StyleSheet.create({
494
488
  marginHorizontal: 16,
495
489
  fontSize: 14,
496
490
  },
497
- button: {
498
- flexDirection: 'row',
499
- alignItems: 'center',
500
- justifyContent: 'center',
501
- paddingVertical: 16,
502
- paddingHorizontal: 24,
503
- borderRadius: 12,
504
- width: '100%',
505
- },
506
- buttonIcon: {
507
- marginRight: 10,
508
- },
509
- buttonText: {
510
- color: 'white',
511
- fontSize: 16,
512
- fontWeight: '600',
513
- },
514
491
  statusContainer: {
515
492
  flexDirection: 'row',
516
493
  alignItems: 'center',
@@ -11,8 +11,9 @@ import Animated, {
11
11
  useAnimatedStyle,
12
12
  withTiming,
13
13
  } from 'react-native-reanimated';
14
- import { useThemeColors, createAuthStyles } from '../styles';
15
- import type { ThemeColors } from '../styles';
14
+ import { useTheme } from '@oxyhq/bloom/theme';
15
+ import type { ThemeColors } from '@oxyhq/bloom/theme';
16
+ import { createAuthStyles } from '../styles';
16
17
  import { fontFamilies } from '../styles/fonts';
17
18
  import type { BaseScreenProps, StepController } from '../types/navigation';
18
19
  import type { RouteName } from '../types/navigation';
@@ -136,13 +137,25 @@ const StepBasedScreen: React.FC<StepBasedScreenProps> = ({
136
137
  // ========================================================================
137
138
  // Computed Values
138
139
  // ========================================================================
139
- // Narrow theme type with default value
140
- const themeValue = (theme === 'light' || theme === 'dark') ? theme : 'light';
141
- const themeString = typeof theme === 'string' ? theme : 'light';
142
- const colors = useThemeColors(themeValue);
140
+ const bloomTheme = useTheme();
141
+ const colors = bloomTheme.colors;
142
+ const themeString = bloomTheme.mode;
143
+ // Map bloom theme colors to AuthThemeColors shape for createAuthStyles
144
+ const authColors = useMemo(() => ({
145
+ text: colors.text,
146
+ background: colors.background,
147
+ inputBackground: colors.backgroundSecondary,
148
+ placeholder: colors.textTertiary,
149
+ primary: colors.primary,
150
+ border: colors.border,
151
+ error: colors.error,
152
+ success: colors.success,
153
+ warning: colors.warning,
154
+ secondaryText: colors.textSecondary,
155
+ }), [colors]);
143
156
  const insets = useSafeAreaInsets();
144
157
  const styles = useMemo(() => ({
145
- ...createAuthStyles(colors, themeString),
158
+ ...createAuthStyles(authColors, themeString),
146
159
  // Additional styles for step components
147
160
  modernHeader: {
148
161
  alignItems: 'flex-start' as const,
@@ -189,7 +202,7 @@ const StepBasedScreen: React.FC<StepBasedScreenProps> = ({
189
202
  }),
190
203
  },
191
204
  buttonText: {
192
- color: '#FFFFFF',
205
+ color: colors.card,
193
206
  fontSize: 16,
194
207
  fontWeight: '600' as const,
195
208
  letterSpacing: 0.5,
@@ -223,7 +236,7 @@ const StepBasedScreen: React.FC<StepBasedScreenProps> = ({
223
236
  marginHorizontal: 3,
224
237
  backgroundColor: colors.border,
225
238
  },
226
- }), [colors, themeString]);
239
+ }), [authColors, colors, themeString]);
227
240
 
228
241
  // ========================================================================
229
242
  // Animation Values (removed - router handles animations now)
@@ -130,7 +130,7 @@ export const createFeedbackStyles = (colors: FeedbackColors) => StyleSheet.creat
130
130
  }),
131
131
  },
132
132
  buttonText: {
133
- color: '#FFFFFF',
133
+ color: colors.background,
134
134
  fontSize: 16,
135
135
  fontWeight: '600',
136
136
  letterSpacing: 0.5,
@@ -193,7 +193,7 @@ export const createFeedbackStyles = (colors: FeedbackColors) => StyleSheet.creat
193
193
  borderRadius: 5,
194
194
  marginHorizontal: 6,
195
195
  borderWidth: 2,
196
- borderColor: '#fff',
196
+ borderColor: colors.background,
197
197
  ...Platform.select({
198
198
  web: {
199
199
  boxShadow: '0 1px 2px rgba(0,0,0,0.08)',