@oxy.so/services 9.2.0 → 10.0.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/lib/commonjs/ui/components/BenefitList.js +1 -1
- package/lib/commonjs/ui/components/BenefitList.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +2 -2
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FollowTargetButton.js +2 -2
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/commonjs/ui/components/PeableButton.js +1 -2
- package/lib/commonjs/ui/components/PeableButton.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/primitives.js +1 -1
- package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +1 -1
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +2 -2
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +2 -2
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +2 -2
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +2 -2
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +2 -1
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +4 -4
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +4 -2
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +5 -5
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +8 -8
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PreferencesScreen.js +2 -2
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +37 -37
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +5 -5
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +11 -11
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/ui/components/BenefitList.js +1 -1
- package/lib/module/ui/components/BenefitList.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +2 -2
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/FollowTargetButton.js +2 -2
- package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/module/ui/components/PeableButton.js +2 -3
- package/lib/module/ui/components/PeableButton.js.map +1 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -1
- package/lib/module/ui/components/SurfaceScreen.js +1 -1
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/primitives.js +1 -1
- package/lib/module/ui/components/authChooser/primitives.js.map +1 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js +1 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +2 -2
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +2 -2
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +2 -2
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +2 -2
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthScreen.js +1 -1
- package/lib/module/ui/components/signIn/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js +2 -2
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js +2 -1
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +4 -4
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/DomainsScreen.js +1 -1
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +4 -2
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +5 -5
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +8 -8
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PreferencesScreen.js +2 -2
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +37 -37
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +1 -1
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +5 -5
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +1 -1
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +11 -11
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/BenefitList.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/PeableButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BenefitList.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +1 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/PeableButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/ui/components/BenefitList.tsx +1 -2
- package/src/ui/components/FollowButton.tsx +3 -3
- package/src/ui/components/FollowTargetButton.tsx +3 -3
- package/src/ui/components/PeableButton.tsx +3 -4
- package/src/ui/components/SurfaceHeaderAction.tsx +1 -1
- package/src/ui/components/SurfaceScreen.tsx +1 -1
- package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +9 -0
- package/src/ui/components/authChooser/AccountsMenuView.tsx +1 -1
- package/src/ui/components/authChooser/primitives.tsx +1 -1
- package/src/ui/components/authChooser/requestSurfaces.tsx +1 -1
- package/src/ui/components/payment/PaymentDetailsStep.tsx +2 -2
- package/src/ui/components/payment/PaymentMethodStep.tsx +2 -2
- package/src/ui/components/payment/PaymentReviewStep.tsx +2 -2
- package/src/ui/components/payment/PaymentSuccessStep.tsx +1 -1
- package/src/ui/components/payment/PaymentSummaryStep.tsx +2 -2
- package/src/ui/components/signIn/OxyAuthScreen.tsx +1 -1
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyPasswordPanel.tsx +1 -1
- package/src/ui/components/surfaces/ActionSheetSurface.tsx +2 -1
- package/src/ui/screens/AccountMembersScreen.tsx +4 -4
- package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
- package/src/ui/screens/ConnectedAppsScreen.tsx +1 -1
- package/src/ui/screens/DomainsScreen.tsx +1 -1
- package/src/ui/screens/EditProfileFieldScreen.tsx +1 -2
- package/src/ui/screens/FileManagementScreen.tsx +5 -5
- package/src/ui/screens/HistoryViewScreen.tsx +1 -1
- package/src/ui/screens/LanguageSelectorScreen.tsx +1 -1
- package/src/ui/screens/LegalDocumentsScreen.tsx +1 -1
- package/src/ui/screens/NotificationsScreen.tsx +8 -8
- package/src/ui/screens/PaymentGatewayScreen.tsx +1 -1
- package/src/ui/screens/PreferencesScreen.tsx +2 -2
- package/src/ui/screens/PrivacySettingsScreen.tsx +21 -21
- package/src/ui/screens/ProfileScreen.tsx +1 -1
- package/src/ui/screens/SearchSettingsScreen.tsx +5 -5
- package/src/ui/screens/UserListScreen.tsx +1 -1
- package/src/ui/screens/WelcomeNewUserScreen.tsx +11 -11
- package/src/ui/screens/fileManagement/UploadBar.tsx +1 -1
- package/src/ui/screens/trust/TrustCenterScreen.tsx +1 -1
- package/src/ui/screens/trust/TrustRulesScreen.tsx +1 -1
|
@@ -55,7 +55,7 @@ export interface FollowTargetButtonProps {
|
|
|
55
55
|
verb?: FollowVerb;
|
|
56
56
|
/** Full override, for a verb the vocabulary above does not carry. */
|
|
57
57
|
labels?: Partial<FollowLabels>;
|
|
58
|
-
size?: '
|
|
58
|
+
size?: 'sm' | 'md' | 'lg';
|
|
59
59
|
style?: StyleProp<ViewStyle>;
|
|
60
60
|
disabled?: boolean;
|
|
61
61
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FollowTargetButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/FollowTargetButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAkBzD,OAAO,EAIL,KAAK,cAAc,EAEpB,MAAM,kBAAe,CAAC;AAEvB;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC;AAEnE,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,QAAQ,EAAE,MAAM,CAAC;CAClB;AA2BD,MAAM,WAAW,uBAAuB;IACtC,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,qEAAqE;IACrE,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,IAAI,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"FollowTargetButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/FollowTargetButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAkBzD,OAAO,EAIL,KAAK,cAAc,EAEpB,MAAM,kBAAe,CAAC;AAEvB;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC;AAEnE,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,QAAQ,EAAE,MAAM,CAAC;CAClB;AA2BD,MAAM,WAAW,uBAAuB;IACtC,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,qEAAqE;IACrE,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IACrC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C;AAED,eAAO,MAAM,kBAAkB,+DAkL7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeableButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/PeableButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,oCAAiC,CAAC;AAGzF,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"PeableButton.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/PeableButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,oCAAiC,CAAC;AAGzF,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA2B7C,CAAC;AAcF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetSurface.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/surfaces/ActionSheetSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAY,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAExE;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,MAAM;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;IACT,iDAAiD;IACjD,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,MAAM;IACrD,mEAAmE;IACnE,OAAO,EAAE,eAAe,CAAC;IACzB,gBAAgB;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;CACvB;AAKD;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,EAAE,EACjD,OAAO,EACP,KAAK,EACL,OAAO,EACP,OAAO,EACP,WAAW,GACd,EAAE,uBAAuB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"ActionSheetSurface.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/surfaces/ActionSheetSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAY,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAExE;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,MAAM;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;IACT,iDAAiD;IACjD,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,MAAM;IACrD,mEAAmE;IACnE,OAAO,EAAE,eAAe,CAAC;IACzB,gBAAgB;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;CACvB;AAKD;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,EAAE,EACjD,OAAO,EACP,KAAK,EACL,OAAO,EACP,OAAO,EACP,WAAW,GACd,EAAE,uBAAuB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAwCjD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,EAC/C,OAAO,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GACrD,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CAIxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditProfileFieldScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/EditProfileFieldScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAStE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AA0B3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACtB,aAAa,GACb,UAAU,GACV,KAAK,GACL,OAAO,GACP,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,CAAC;AAgFd,UAAU,2BAA4B,SAAQ,eAAe;IACzD,6BAA6B;IAC7B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC;;
|
|
1
|
+
{"version":3,"file":"EditProfileFieldScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/EditProfileFieldScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAStE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAqB,CAAC;AA0B3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACtB,aAAa,GACb,UAAU,GACV,KAAK,GACL,OAAO,GACP,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,CAAC;AAgFd,UAAU,2BAA4B,SAAQ,eAAe;IACzD,6BAA6B;IAC7B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC;;AAooBD,wBAAkD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxy.so/services",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.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",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
},
|
|
156
156
|
"dependencies": {
|
|
157
157
|
"@expo/config-plugins": "57.0.9",
|
|
158
|
-
"@oxy.so/contracts": "^4.
|
|
158
|
+
"@oxy.so/contracts": "^4.3.0",
|
|
159
159
|
"color": "^4.2.3"
|
|
160
160
|
},
|
|
161
161
|
"devDependencies": {
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"@types/jest": "^30.0.0",
|
|
179
179
|
"@types/node": "^20.19.43",
|
|
180
180
|
"@types/react": "*",
|
|
181
|
-
"@oxy.so/bloom": "^
|
|
181
|
+
"@oxy.so/bloom": "^6.0.0",
|
|
182
182
|
"copyfiles": "^2.4.1",
|
|
183
183
|
"expo-clipboard": "~57.0.2",
|
|
184
184
|
"expo-constants": "~57.0.5",
|
|
@@ -212,10 +212,10 @@
|
|
|
212
212
|
"typescript": "^5.9.2",
|
|
213
213
|
"zustand": "^5.0.14"
|
|
214
214
|
},
|
|
215
|
-
"//@oxy.so/bloom": "
|
|
215
|
+
"//@oxy.so/bloom": "Bloom peer tracks the measured major: ^6.0.0 includes canonical appearance/tone/size props and shared Surface. Keep its upper bound and the root catalog in sync to prevent duplicate context instances. Services 10 removes FollowButton small/medium/large aliases in favor of sm/md/lg.",
|
|
216
216
|
"peerDependencies": {
|
|
217
217
|
"@expo/vector-icons": "^15.0.3",
|
|
218
|
-
"@oxy.so/bloom": "^
|
|
218
|
+
"@oxy.so/bloom": "^6.0.0",
|
|
219
219
|
"@oxy.so/core": "^3.2.0",
|
|
220
220
|
"@react-native-async-storage/async-storage": "^2.0.0",
|
|
221
221
|
"@react-native-community/netinfo": ">=11.4.1",
|
|
@@ -98,13 +98,12 @@ export const BenefitList: React.FC<BenefitListProps> = ({
|
|
|
98
98
|
style,
|
|
99
99
|
}) => (
|
|
100
100
|
<Card
|
|
101
|
-
variant="outlined"
|
|
102
101
|
radius="radius-20"
|
|
103
102
|
border="hairline"
|
|
104
103
|
elevation="s"
|
|
105
104
|
className={className}
|
|
106
105
|
style={[{ padding: SPACING['space-16'], gap: SPACING['space-16'] }, style]}
|
|
107
|
-
accessibilityLabel={accessibilityLabel}
|
|
106
|
+
accessibilityLabel={accessibilityLabel} appearance="outline"
|
|
108
107
|
>
|
|
109
108
|
{children}
|
|
110
109
|
</Card>
|
|
@@ -19,7 +19,7 @@ const DEFAULT_FOLLOWED_ALL_LABEL = 'Following';
|
|
|
19
19
|
|
|
20
20
|
/** Props shared by both single- and multi-user follow modes. */
|
|
21
21
|
interface FollowButtonBaseProps {
|
|
22
|
-
size?: '
|
|
22
|
+
size?: 'sm' | 'md' | 'lg';
|
|
23
23
|
style?: StyleProp<ViewStyle>;
|
|
24
24
|
textStyle?: StyleProp<TextStyle>;
|
|
25
25
|
disabled?: boolean;
|
|
@@ -67,7 +67,7 @@ const FollowButtonInner = memo(function FollowButtonInner({
|
|
|
67
67
|
oxyServices,
|
|
68
68
|
initiallyFollowing,
|
|
69
69
|
username,
|
|
70
|
-
size = '
|
|
70
|
+
size = 'md',
|
|
71
71
|
onFollowChange,
|
|
72
72
|
style,
|
|
73
73
|
textStyle,
|
|
@@ -140,7 +140,7 @@ const FollowButtonInner = memo(function FollowButtonInner({
|
|
|
140
140
|
const FollowButtonMultiInner = memo(function FollowButtonMultiInner({
|
|
141
141
|
userIds,
|
|
142
142
|
initiallyAllFollowing = false,
|
|
143
|
-
size = '
|
|
143
|
+
size = 'md',
|
|
144
144
|
followAllLabel = DEFAULT_FOLLOW_ALL_LABEL,
|
|
145
145
|
followedAllLabel = DEFAULT_FOLLOWED_ALL_LABEL,
|
|
146
146
|
onFollowChange,
|
|
@@ -108,7 +108,7 @@ export interface FollowTargetButtonProps {
|
|
|
108
108
|
verb?: FollowVerb;
|
|
109
109
|
/** Full override, for a verb the vocabulary above does not carry. */
|
|
110
110
|
labels?: Partial<FollowLabels>;
|
|
111
|
-
size?: '
|
|
111
|
+
size?: 'sm' | 'md' | 'lg';
|
|
112
112
|
style?: StyleProp<ViewStyle>;
|
|
113
113
|
disabled?: boolean;
|
|
114
114
|
/**
|
|
@@ -152,7 +152,7 @@ export const FollowTargetButton = memo(function FollowTargetButton({
|
|
|
152
152
|
targetId,
|
|
153
153
|
verb = 'follow',
|
|
154
154
|
labels,
|
|
155
|
-
size = '
|
|
155
|
+
size = 'md',
|
|
156
156
|
style,
|
|
157
157
|
disabled = false,
|
|
158
158
|
showOptions = true,
|
|
@@ -309,7 +309,7 @@ export const FollowTargetButton = memo(function FollowTargetButton({
|
|
|
309
309
|
<DropdownMenuTrigger asChild disabled={disabled || isUnknown}>
|
|
310
310
|
<Button
|
|
311
311
|
appearance="subtle" tone="support"
|
|
312
|
-
size={size === '
|
|
312
|
+
size={size === 'lg' ? 'lg' : 'sm'}
|
|
313
313
|
icon={<ChevronDown width={16} />}
|
|
314
314
|
disabled={disabled || isUnknown}
|
|
315
315
|
accessibilityLabel={`${label} options`}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { ViewStyle, TextStyle, StyleProp } from 'react-native';
|
|
3
3
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
4
|
-
import {
|
|
4
|
+
import { InverseButton } from '@oxy.so/bloom/button';
|
|
5
5
|
import type { PaymentItem, PaymentGatewayResult } from '../screens/PaymentGatewayScreen';
|
|
6
6
|
import { LogoIcon } from './logo/LogoIcon';
|
|
7
7
|
|
|
@@ -46,8 +46,7 @@ const PeableButton: React.FC<PeableButtonProps> = ({
|
|
|
46
46
|
const textColor = variant === 'black' || (color && isColorDark(color)) ? theme.colors.background : '#1b1f0a';
|
|
47
47
|
|
|
48
48
|
return (
|
|
49
|
-
<
|
|
50
|
-
variant="inverse"
|
|
49
|
+
<InverseButton
|
|
51
50
|
onPress={handlePress}
|
|
52
51
|
disabled={disabled}
|
|
53
52
|
style={[{ backgroundColor, borderColor: textColor, borderWidth: 1 }, style]}
|
|
@@ -55,7 +54,7 @@ const PeableButton: React.FC<PeableButtonProps> = ({
|
|
|
55
54
|
icon={<LogoIcon height={16} color={textColor} style={{ marginRight: 6 }} />}
|
|
56
55
|
>
|
|
57
56
|
{text}
|
|
58
|
-
</
|
|
57
|
+
</InverseButton>
|
|
59
58
|
);
|
|
60
59
|
};
|
|
61
60
|
|
|
@@ -12,7 +12,7 @@ export interface SurfaceHeaderActionProps {
|
|
|
12
12
|
|
|
13
13
|
/** Header actions share Bloom's sizing, surface, disabled and loading behavior. */
|
|
14
14
|
export const SurfaceHeaderAction: React.FC<SurfaceHeaderActionProps> = ({ label, onPress, loading, disabled }) => (
|
|
15
|
-
<Button size="
|
|
15
|
+
<Button size="md" onPress={onPress} loading={loading} disabled={disabled}>
|
|
16
16
|
{label}
|
|
17
17
|
</Button>
|
|
18
18
|
);
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
} from '../followButtonAccessibility';
|
|
17
17
|
|
|
18
18
|
interface BloomFollowProps {
|
|
19
|
+
size?: 'sm' | 'md' | 'lg';
|
|
19
20
|
following: boolean;
|
|
20
21
|
label?: string;
|
|
21
22
|
followingLabel?: string;
|
|
@@ -189,3 +190,11 @@ describe('FollowTargetButton names the state it shows', () => {
|
|
|
189
190
|
expect(lastBloomProps()?.accessibilityLabel).toBe(label);
|
|
190
191
|
});
|
|
191
192
|
});
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
it.each(['sm', 'md', 'lg'] as const)('forwards canonical %s geometry in both follow modes', size => {
|
|
196
|
+
render(<FollowButton userId="nate-id" size={size} />);
|
|
197
|
+
expect(lastBloomProps()?.size).toBe(size);
|
|
198
|
+
render(<FollowButton userIds={['a', 'b']} size={size} />);
|
|
199
|
+
expect(lastBloomProps()?.size).toBe(size);
|
|
200
|
+
});
|
|
@@ -40,7 +40,7 @@ const ROUTE_GLYPH_SIZE = 44;
|
|
|
40
40
|
*/
|
|
41
41
|
export const PreparingSurface: React.FC = () => {
|
|
42
42
|
const { t } = useI18n();
|
|
43
|
-
return <Loading variant="spinner" size="
|
|
43
|
+
return <Loading variant="spinner" size="lg" accessibilityLabel={t('common.status.loading')} />;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
/** The leading glyph for a route whose surface is elsewhere (the phone, Commons). */
|
|
@@ -214,13 +214,13 @@ const PaymentDetailsStep: React.FC<PaymentDetailsStepProps> = ({
|
|
|
214
214
|
</View>
|
|
215
215
|
|
|
216
216
|
<View style={{ flexDirection: 'row', gap: 8, justifyContent: 'flex-end' }}>
|
|
217
|
-
<Button appearance="subtle" tone="neutral" onPress={onBack} size="
|
|
217
|
+
<Button appearance="subtle" tone="neutral" onPress={onBack} size="sm" icon={<Ionicons name="arrow-back" size={16} />}>
|
|
218
218
|
{t('payment.actions.back')}
|
|
219
219
|
</Button>
|
|
220
220
|
<Button
|
|
221
221
|
appearance="solid" tone="accent"
|
|
222
222
|
onPress={onNext}
|
|
223
|
-
size="
|
|
223
|
+
size="sm"
|
|
224
224
|
icon={<Ionicons name="arrow-forward" size={16} />}
|
|
225
225
|
iconPosition="right"
|
|
226
226
|
disabled={paymentMethod === 'card' && !isCardValid}
|
|
@@ -77,10 +77,10 @@ const PaymentMethodStep: React.FC<PaymentMethodStepProps> = ({
|
|
|
77
77
|
</View>
|
|
78
78
|
|
|
79
79
|
<View style={{ flexDirection: 'row', gap: 8, justifyContent: 'flex-end' }}>
|
|
80
|
-
<Button appearance="subtle" tone="neutral" onPress={onBack} size="
|
|
80
|
+
<Button appearance="subtle" tone="neutral" onPress={onBack} size="sm" icon={<Ionicons name="arrow-back" size={16} />}>
|
|
81
81
|
{t('payment.actions.back')}
|
|
82
82
|
</Button>
|
|
83
|
-
<Button appearance="solid" tone="accent" onPress={onNext} size="
|
|
83
|
+
<Button appearance="solid" tone="accent" onPress={onNext} size="sm" icon={<Ionicons name="arrow-forward" size={16} />} iconPosition="right">
|
|
84
84
|
{t('payment.actions.continue')}
|
|
85
85
|
</Button>
|
|
86
86
|
</View>
|
|
@@ -105,13 +105,13 @@ const PaymentReviewStep: React.FC<PaymentReviewStepProps> = ({
|
|
|
105
105
|
</View>
|
|
106
106
|
|
|
107
107
|
<View style={{ flexDirection: 'row', gap: 8, justifyContent: 'flex-end' }}>
|
|
108
|
-
<Button appearance="subtle" tone="neutral" onPress={onBack} size="
|
|
108
|
+
<Button appearance="subtle" tone="neutral" onPress={onBack} size="sm" disabled={isPaying} icon={<Ionicons name="arrow-back" size={16} />}>
|
|
109
109
|
{t('payment.actions.back')}
|
|
110
110
|
</Button>
|
|
111
111
|
<Button
|
|
112
112
|
appearance="solid" tone="accent"
|
|
113
113
|
onPress={onPay}
|
|
114
|
-
size="
|
|
114
|
+
size="sm"
|
|
115
115
|
disabled={isPaying}
|
|
116
116
|
icon={isPaying ? <ActivityIndicator size="small" color="#FFFFFF" /> : <Ionicons name="checkmark" size={16} />}
|
|
117
117
|
iconPosition="right"
|
|
@@ -57,7 +57,7 @@ const PaymentSuccessStep: React.FC<PaymentSuccessStepProps> = ({
|
|
|
57
57
|
</View>
|
|
58
58
|
</View>
|
|
59
59
|
|
|
60
|
-
<Button appearance="solid" tone="accent" onPress={onDone} size="
|
|
60
|
+
<Button appearance="solid" tone="accent" onPress={onDone} size="sm" icon={<Ionicons name="checkmark" size={16} />} iconPosition="right">
|
|
61
61
|
{t('payment.actions.done')}
|
|
62
62
|
</Button>
|
|
63
63
|
</Animated.View>
|
|
@@ -145,10 +145,10 @@ const PaymentSummaryStep: React.FC<PaymentSummaryStepProps> = ({
|
|
|
145
145
|
</View>
|
|
146
146
|
|
|
147
147
|
<View style={{ flexDirection: 'row', gap: 8, justifyContent: 'flex-end' }}>
|
|
148
|
-
<Button appearance="subtle" tone="neutral" onPress={onClose} size="
|
|
148
|
+
<Button appearance="subtle" tone="neutral" onPress={onClose} size="sm" icon={<Ionicons name="close" size={16} />}>
|
|
149
149
|
{t('payment.actions.close')}
|
|
150
150
|
</Button>
|
|
151
|
-
<Button appearance="solid" tone="accent" onPress={onNext} size="
|
|
151
|
+
<Button appearance="solid" tone="accent" onPress={onNext} size="sm" icon={<Ionicons name="arrow-forward" size={16} />} iconPosition="right">
|
|
152
152
|
{t('payment.actions.continue')}
|
|
153
153
|
</Button>
|
|
154
154
|
</View>
|
|
@@ -103,7 +103,7 @@ export const OxyAuthLoading: React.FC = () => {
|
|
|
103
103
|
const { t } = useI18n();
|
|
104
104
|
return (
|
|
105
105
|
<View className="min-h-[300px] items-center justify-center">
|
|
106
|
-
<Loading variant="spinner" size="
|
|
106
|
+
<Loading variant="spinner" size="lg" accessibilityLabel={t('common.status.loading')} testID="oxy-auth-loading" />
|
|
107
107
|
</View>
|
|
108
108
|
);
|
|
109
109
|
};
|
|
@@ -204,7 +204,7 @@ export const OxyLinkCommonsPanel: React.FC<OxyLinkCommonsPanelProps> = ({ onLink
|
|
|
204
204
|
<OxyAuthScreen>
|
|
205
205
|
<OxyAuthScreenHeader title={t('linkCommons.title')} description={t('linkCommons.subtitle')} />
|
|
206
206
|
<View style={styles.plateRow}>
|
|
207
|
-
<Loading variant="spinner" size="
|
|
207
|
+
<Loading variant="spinner" size="lg" accessibilityLabel={t('common.status.loading')} />
|
|
208
208
|
</View>
|
|
209
209
|
</OxyAuthScreen>
|
|
210
210
|
);
|
|
@@ -95,7 +95,7 @@ export const OxyPasswordPanel: React.FC<OxyPasswordPanelProps> = ({ onDone, onCa
|
|
|
95
95
|
{/* The field names the switch ("Sign out everywhere else, switch, off")
|
|
96
96
|
and, on web, its label toggles it. One row: label, then the switch. */}
|
|
97
97
|
<Field label={t('signInSecurity.password.signOutOthers')} style={styles.row}>
|
|
98
|
-
<Switch
|
|
98
|
+
<Switch checked={signOutOthers} onCheckedChange={setSignOutOthers} testID="password-sign-out-others" />
|
|
99
99
|
</Field>
|
|
100
100
|
</ReauthStep>
|
|
101
101
|
);
|
|
@@ -72,7 +72,8 @@ export function ActionSheetSurface<T extends string>({
|
|
|
72
72
|
{options.map((option) => (
|
|
73
73
|
<Button
|
|
74
74
|
key={option.value}
|
|
75
|
-
|
|
75
|
+
appearance="solid"
|
|
76
|
+
tone={option.destructive ? 'danger' : 'accent'}
|
|
76
77
|
onPress={() => surface.dismiss(option.value)}
|
|
77
78
|
>
|
|
78
79
|
{option.label}
|
|
@@ -291,7 +291,7 @@ const AccountMembersScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, acco
|
|
|
291
291
|
<Text className="text-caption font-caption text-text-secondary px-space-4">
|
|
292
292
|
{t('accounts.members.invite.roleLabel') || 'Role'}
|
|
293
293
|
</Text>
|
|
294
|
-
<SegmentedControl type="radio" label={t('accounts.members.invite.roleLabel') || 'Role'} value={inviteRole} onValueChange={setInviteRole} size="
|
|
294
|
+
<SegmentedControl type="radio" label={t('accounts.members.invite.roleLabel') || 'Role'} value={inviteRole} onValueChange={setInviteRole} size="sm">
|
|
295
295
|
{ASSIGNABLE_ROLES.map(role => <SegmentedControlItem key={role} value={role}>
|
|
296
296
|
<SegmentedControlItemText>{roleLabel(role)}</SegmentedControlItemText>
|
|
297
297
|
</SegmentedControlItem>)}
|
|
@@ -372,7 +372,7 @@ const AccountMembersScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, acco
|
|
|
372
372
|
{/* Role chips (editable) or static role label */}
|
|
373
373
|
{canEditThisRole ? (
|
|
374
374
|
<SegmentedControl type="radio" label={t('accounts.members.invite.roleLabel') || 'Role'}
|
|
375
|
-
value={member.role} onValueChange={role => handleChangeRole(member, role)} disabled={updateMutation.isPending} size="
|
|
375
|
+
value={member.role} onValueChange={role => handleChangeRole(member, role)} disabled={updateMutation.isPending} size="sm">
|
|
376
376
|
{ASSIGNABLE_ROLES.map(role => <SegmentedControlItem key={role} value={role}>
|
|
377
377
|
<SegmentedControlItemText>{roleLabel(role)}</SegmentedControlItemText>
|
|
378
378
|
</SegmentedControlItem>)}
|
|
@@ -387,7 +387,7 @@ const AccountMembersScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, acco
|
|
|
387
387
|
{(canTransferToThis || canRemoveThisMember) ? (
|
|
388
388
|
<View className="flex-row gap-space-16 pt-space-4">
|
|
389
389
|
{canTransferToThis ? (
|
|
390
|
-
<Button appearance="plain" tone="neutral" size="
|
|
390
|
+
<Button appearance="plain" tone="neutral" size="sm"
|
|
391
391
|
accessibilityRole="button"
|
|
392
392
|
accessibilityLabel={t('accounts.members.actions.transfer') || 'Transfer ownership'}
|
|
393
393
|
onPress={() => confirmTransfer(member)}
|
|
@@ -400,7 +400,7 @@ const AccountMembersScreen: React.FC<BaseScreenProps> = ({ onClose, goBack, acco
|
|
|
400
400
|
</Button>
|
|
401
401
|
) : null}
|
|
402
402
|
{canRemoveThisMember ? (
|
|
403
|
-
<Button appearance="plain" tone="neutral" size="
|
|
403
|
+
<Button appearance="plain" tone="neutral" size="sm"
|
|
404
404
|
accessibilityRole="button"
|
|
405
405
|
accessibilityLabel={t('accounts.members.actions.remove') || 'Remove member'}
|
|
406
406
|
onPress={() => confirmRemove(member)}
|
|
@@ -146,7 +146,7 @@ const ConnectedAppsScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) =>
|
|
|
146
146
|
return (
|
|
147
147
|
<View className="flex-1 bg-bg">
|
|
148
148
|
{isLoading && !apps ? (
|
|
149
|
-
<Loading size="
|
|
149
|
+
<Loading size="lg" color={bloomTheme.colors.primary} />
|
|
150
150
|
) : (
|
|
151
151
|
<FlatList
|
|
152
152
|
data={apps ?? []}
|
|
@@ -94,7 +94,7 @@ const DomainsScreen: React.FC<BaseScreenProps> = () => {
|
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
if (domains.isPending && isAuthenticated) {
|
|
97
|
-
return <Loading size="
|
|
97
|
+
return <Loading size="lg" color={bloomTheme.colors.primary} />;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
return (
|
|
@@ -704,11 +704,10 @@ const EditProfileFieldScreen: React.FC<EditProfileFieldScreenProps> = ({
|
|
|
704
704
|
</TextField>
|
|
705
705
|
</View>
|
|
706
706
|
<Button
|
|
707
|
-
variant="icon"
|
|
708
707
|
onPress={handleAddItem}
|
|
709
708
|
disabled={!newItemValue.trim()}
|
|
710
709
|
accessibilityLabel={addLabel}
|
|
711
|
-
icon={<Ionicons name="add" size={20} color={bloomTheme.colors.primaryForeground} />}
|
|
710
|
+
icon={<Ionicons name="add" size={20} color={bloomTheme.colors.primaryForeground} />} iconOnly tone="neutral" appearance="outline"
|
|
712
711
|
/>
|
|
713
712
|
</View>
|
|
714
713
|
|
|
@@ -776,13 +776,13 @@ const FileManagementScreen: React.FC<FileManagementScreenProps> = ({
|
|
|
776
776
|
// Hide action buttons when selecting (in selectMode or bulk operations mode)
|
|
777
777
|
rightElement: (!selectMode && selectedIds.size === 0) ? (
|
|
778
778
|
<View className="flex-row items-center gap-1.5 ml-3">
|
|
779
|
-
{(isImage || isVideo || file.contentType.includes('pdf')) ? <Button appearance="subtle" tone="neutral" size="
|
|
779
|
+
{(isImage || isVideo || file.contentType.includes('pdf')) ? <Button appearance="subtle" tone="neutral" size="sm" iconOnly stopPropagation
|
|
780
780
|
accessibilityLabel={`Preview ${file.filename}`} onPress={() => handleFileOpen(file)}
|
|
781
781
|
icon={<Ionicons name="eye" size={18} color={colors.text} />} /> : null}
|
|
782
|
-
<Button appearance="subtle" tone="neutral" size="
|
|
782
|
+
<Button appearance="subtle" tone="neutral" size="sm" iconOnly stopPropagation
|
|
783
783
|
accessibilityLabel={`Download ${file.filename}`} onPress={() => handleFileDownload(file.id, file.filename)}
|
|
784
784
|
icon={<Ionicons name="download" size={18} color={colors.text} />} />
|
|
785
|
-
<Button appearance="subtle" tone="danger" size="
|
|
785
|
+
<Button appearance="subtle" tone="danger" size="sm" iconOnly stopPropagation loading={deletingId === file.id}
|
|
786
786
|
accessibilityLabel={`Delete ${file.filename}`} onPress={() => confirmFileDelete(file.id, file.filename)}
|
|
787
787
|
icon={<Ionicons name="trash" size={18} color={colors.error} />} />
|
|
788
788
|
</View>
|
|
@@ -1144,7 +1144,7 @@ const FileManagementScreen: React.FC<FileManagementScreenProps> = ({
|
|
|
1144
1144
|
style={{ maxWidth: '80%' }}
|
|
1145
1145
|
>
|
|
1146
1146
|
<SegmentedControl type="radio" label={t('fileManagement.viewMode') || 'File type'}
|
|
1147
|
-
value={viewMode} onValueChange={setViewMode} size="
|
|
1147
|
+
value={viewMode} onValueChange={setViewMode} size="sm">
|
|
1148
1148
|
{(['all', 'photos', 'videos', 'documents', 'audio'] as const).map(mode => (
|
|
1149
1149
|
<SegmentedControlItem key={mode} value={mode} accessibilityLabel={mode}>
|
|
1150
1150
|
<MaterialCommunityIcons
|
|
@@ -1154,7 +1154,7 @@ const FileManagementScreen: React.FC<FileManagementScreenProps> = ({
|
|
|
1154
1154
|
))}
|
|
1155
1155
|
</SegmentedControl>
|
|
1156
1156
|
</ScrollView>
|
|
1157
|
-
<Button appearance="subtle" tone="neutral" size="
|
|
1157
|
+
<Button appearance="subtle" tone="neutral" size="sm"
|
|
1158
1158
|
accessibilityRole="button"
|
|
1159
1159
|
accessibilityLabel={t('fileManagement.a11y.sortBy', {
|
|
1160
1160
|
field: sortBy,
|
|
@@ -109,7 +109,7 @@ const HistoryViewScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) => {
|
|
|
109
109
|
/>
|
|
110
110
|
</SettingsListGroup>
|
|
111
111
|
<SettingsListGroup title={t('history.recent') || 'Recent History'}>
|
|
112
|
-
{isLoading ? <Loading size="
|
|
112
|
+
{isLoading ? <Loading size="lg" color={bloomTheme.colors.text} text={t('history.loading') || 'Loading history...'} />
|
|
113
113
|
: history.length === 0 ? <Text className="text-text-secondary text-center p-space-40">{t('history.empty') || 'No history yet'}</Text>
|
|
114
114
|
: history.map(item => (
|
|
115
115
|
<SettingsListItem
|
|
@@ -197,7 +197,7 @@ const LanguageSelectorScreen: React.FC<LanguageSelectorScreenProps> = () => {
|
|
|
197
197
|
</Text>
|
|
198
198
|
</View>
|
|
199
199
|
) : canRemove ? (
|
|
200
|
-
<Button appearance="plain" tone="neutral" size="
|
|
200
|
+
<Button appearance="plain" tone="neutral" size="sm" iconOnly stopPropagation
|
|
201
201
|
onPress={() => handleRemove(entry.code)} disabled={isBusy}
|
|
202
202
|
accessibilityLabel={`${t('language.remove')} ${entry.name}`}
|
|
203
203
|
icon={<Ionicons name="close-circle" size={REMOVE_ICON_SIZE} color={bloomTheme.colors.textSecondary} />} />
|
|
@@ -90,8 +90,8 @@ const NotificationsScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) =>
|
|
|
90
90
|
}
|
|
91
91
|
rightElement={
|
|
92
92
|
<Switch
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
checked={values.pushEnabled}
|
|
94
|
+
onCheckedChange={() => toggle('pushEnabled')}
|
|
95
95
|
disabled={isSaving}
|
|
96
96
|
/>
|
|
97
97
|
}
|
|
@@ -111,8 +111,8 @@ const NotificationsScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) =>
|
|
|
111
111
|
}
|
|
112
112
|
rightElement={
|
|
113
113
|
<Switch
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
checked={values.emailDigest}
|
|
115
|
+
onCheckedChange={() => toggle('emailDigest')}
|
|
116
116
|
disabled={isSaving}
|
|
117
117
|
/>
|
|
118
118
|
}
|
|
@@ -139,8 +139,8 @@ const NotificationsScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) =>
|
|
|
139
139
|
}
|
|
140
140
|
rightElement={
|
|
141
141
|
<Switch
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
checked={values.securityAlerts}
|
|
143
|
+
onCheckedChange={() => toggle('securityAlerts')}
|
|
144
144
|
disabled={isSaving}
|
|
145
145
|
/>
|
|
146
146
|
}
|
|
@@ -168,8 +168,8 @@ const NotificationsScreen: React.FC<BaseScreenProps> = ({ onClose, goBack }) =>
|
|
|
168
168
|
}
|
|
169
169
|
rightElement={
|
|
170
170
|
<Switch
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
checked={values.marketingEmails}
|
|
172
|
+
onCheckedChange={() => toggle('marketingEmails')}
|
|
173
173
|
disabled={isSaving}
|
|
174
174
|
/>
|
|
175
175
|
}
|
|
@@ -197,7 +197,7 @@ const PaymentGatewayScreen: React.FC<PaymentGatewayScreenProps> = (props) => {
|
|
|
197
197
|
<Button
|
|
198
198
|
appearance="solid" tone="accent"
|
|
199
199
|
onPress={handleClose}
|
|
200
|
-
size="
|
|
200
|
+
size="sm"
|
|
201
201
|
icon={<Ionicons name="close" size={16} />}
|
|
202
202
|
iconPosition="right"
|
|
203
203
|
>
|
|
@@ -158,8 +158,8 @@ const PreferencesScreen: React.FC<BaseScreenProps> = ({
|
|
|
158
158
|
}
|
|
159
159
|
rightElement={
|
|
160
160
|
<Switch
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
checked={reduceMotionPref}
|
|
162
|
+
onCheckedChange={handleReduceMotionToggle}
|
|
163
163
|
disabled={isSaving}
|
|
164
164
|
/>
|
|
165
165
|
}
|