@oxy.so/services 2.1.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +675 -201
- package/NOTICE +215 -3
- package/README.md +1 -3
- package/lib/commonjs/ui/components/FollowTargetButton.js +7 -2
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +14 -6
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +19 -8
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +17 -8
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/module/ui/components/FollowTargetButton.js +5 -1
- package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +13 -6
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +18 -7
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +16 -7
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/ui/components/FollowTargetButton.tsx +5 -1
- package/src/ui/screens/AccountVerificationScreen.tsx +13 -6
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +17 -7
- package/src/ui/screens/trust/TrustAboutScreen.tsx +16 -7
|
@@ -10,7 +10,17 @@ import {
|
|
|
10
10
|
AccordionTrigger,
|
|
11
11
|
AccordionContent,
|
|
12
12
|
} from '@oxy.so/bloom/accordion';
|
|
13
|
-
|
|
13
|
+
// Per glyph, never `@oxy.so/bloom/icons`. That barrel re-exports all 461 Remix
|
|
14
|
+
// glyphs and Metro does not tree-shake, so one import of it here re-ships every
|
|
15
|
+
// glyph — 313,123 B, measured — to every app in this package's graph, and no
|
|
16
|
+
// consumer can opt out of what a dependency asks for.
|
|
17
|
+
import { RiAtLine } from '@oxy.so/bloom/icons/RiAtLine';
|
|
18
|
+
import { RiKey2Line } from '@oxy.so/bloom/icons/RiKey2Line';
|
|
19
|
+
import { RiListUnordered } from '@oxy.so/bloom/icons/RiListUnordered';
|
|
20
|
+
import { RiResetRightLine } from '@oxy.so/bloom/icons/RiResetRightLine';
|
|
21
|
+
import { RiSparklingLine } from '@oxy.so/bloom/icons/RiSparklingLine';
|
|
22
|
+
// `Props` has no per-glyph subpath and needs none: `import type` is erased
|
|
23
|
+
// before any bundler sees it, so the barrel is named here and never loaded.
|
|
14
24
|
import type { Props as IconProps } from '@oxy.so/bloom/icons';
|
|
15
25
|
import type { BaseScreenProps } from '../types/navigation';
|
|
16
26
|
import { useI18n } from '../hooks/useI18n';
|
|
@@ -28,31 +38,31 @@ const INFO_SECTIONS: InfoSection[] = [
|
|
|
28
38
|
id: 'what',
|
|
29
39
|
titleKey: 'learnMoreUsernames.sections.what.title',
|
|
30
40
|
contentKey: 'learnMoreUsernames.sections.what.content',
|
|
31
|
-
Icon:
|
|
41
|
+
Icon: RiAtLine,
|
|
32
42
|
},
|
|
33
43
|
{
|
|
34
44
|
id: 'rules',
|
|
35
45
|
titleKey: 'learnMoreUsernames.sections.rules.title',
|
|
36
46
|
contentKey: 'learnMoreUsernames.sections.rules.content',
|
|
37
|
-
Icon:
|
|
47
|
+
Icon: RiListUnordered,
|
|
38
48
|
},
|
|
39
49
|
{
|
|
40
50
|
id: 'unique',
|
|
41
51
|
titleKey: 'learnMoreUsernames.sections.unique.title',
|
|
42
52
|
contentKey: 'learnMoreUsernames.sections.unique.content',
|
|
43
|
-
Icon:
|
|
53
|
+
Icon: RiKey2Line,
|
|
44
54
|
},
|
|
45
55
|
{
|
|
46
56
|
id: 'change',
|
|
47
57
|
titleKey: 'learnMoreUsernames.sections.change.title',
|
|
48
58
|
contentKey: 'learnMoreUsernames.sections.change.content',
|
|
49
|
-
Icon:
|
|
59
|
+
Icon: RiResetRightLine,
|
|
50
60
|
},
|
|
51
61
|
{
|
|
52
62
|
id: 'tips',
|
|
53
63
|
titleKey: 'learnMoreUsernames.sections.tips.title',
|
|
54
64
|
contentKey: 'learnMoreUsernames.sections.tips.content',
|
|
55
|
-
Icon:
|
|
65
|
+
Icon: RiSparklingLine,
|
|
56
66
|
},
|
|
57
67
|
];
|
|
58
68
|
|
|
@@ -84,7 +94,7 @@ const LearnMoreUsernamesScreen: React.FC<BaseScreenProps> = ({
|
|
|
84
94
|
<>
|
|
85
95
|
<View className="px-screen-margin pb-space-32">
|
|
86
96
|
<View className="items-center py-space-24 gap-space-12">
|
|
87
|
-
<IconCircle icon={
|
|
97
|
+
<IconCircle icon={RiAtLine} />
|
|
88
98
|
<Text className="font-sans text-body text-text-secondary text-center">
|
|
89
99
|
{t('learnMoreUsernames.introText')}
|
|
90
100
|
</Text>
|
|
@@ -4,7 +4,16 @@ import { useTheme } from '@oxy.so/bloom/theme';
|
|
|
4
4
|
import { H4, Text } from '@oxy.so/bloom/typography';
|
|
5
5
|
import { IconCircle } from '@oxy.so/bloom/icon-circle';
|
|
6
6
|
import { BenefitList, BenefitRow } from '../../components/BenefitList';
|
|
7
|
-
|
|
7
|
+
// Per glyph, never `@oxy.so/bloom/icons`. That barrel re-exports all 461 Remix
|
|
8
|
+
// glyphs and Metro does not tree-shake, so one import of it here re-ships every
|
|
9
|
+
// glyph — 313,123 B, measured — to every app in this package's graph, and no
|
|
10
|
+
// consumer can opt out of what a dependency asks for.
|
|
11
|
+
import { RiAccountCircleLine } from '@oxy.so/bloom/icons/RiAccountCircleLine';
|
|
12
|
+
import { RiCalendarLine } from '@oxy.so/bloom/icons/RiCalendarLine';
|
|
13
|
+
import { RiEditLine } from '@oxy.so/bloom/icons/RiEditLine';
|
|
14
|
+
import { RiFlagLine } from '@oxy.so/bloom/icons/RiFlagLine';
|
|
15
|
+
import { RiShieldCheckLine } from '@oxy.so/bloom/icons/RiShieldCheckLine';
|
|
16
|
+
import { RiSparklingLine } from '@oxy.so/bloom/icons/RiSparklingLine';
|
|
8
17
|
import type { BaseScreenProps } from '../../types/navigation';
|
|
9
18
|
import { useI18n } from '../../hooks/useI18n';
|
|
10
19
|
import { useSurfaceHeader } from '../../hooks/useSurfaceHeader';
|
|
@@ -22,7 +31,7 @@ const TrustAboutScreen: React.FC<BaseScreenProps> = () => {
|
|
|
22
31
|
return (
|
|
23
32
|
<View className="px-screen-margin pt-space-16 pb-space-32">
|
|
24
33
|
<View className="items-center py-space-24 gap-space-12">
|
|
25
|
-
<IconCircle icon={
|
|
34
|
+
<IconCircle icon={RiShieldCheckLine} />
|
|
26
35
|
<Text className="font-sans text-body text-text-secondary text-center">
|
|
27
36
|
{t('trust.about.intro') || 'Oxy Trust is a recognition of your positive actions in the Oxy Ecosystem. Reputation cannot be sent or received directly, only earned by contributing to the community.'}
|
|
28
37
|
</Text>
|
|
@@ -36,23 +45,23 @@ const TrustAboutScreen: React.FC<BaseScreenProps> = () => {
|
|
|
36
45
|
accessibilityLabel={t('trust.about.how.title') || 'How to Earn Reputation'}
|
|
37
46
|
>
|
|
38
47
|
<BenefitRow
|
|
39
|
-
icon={<
|
|
48
|
+
icon={<RiAccountCircleLine size="sm" style={{ color: iconColor }} />}
|
|
40
49
|
label={t('trust.about.how.help') || 'Helping other users'}
|
|
41
50
|
/>
|
|
42
51
|
<BenefitRow
|
|
43
|
-
icon={<
|
|
52
|
+
icon={<RiFlagLine size="sm" style={{ color: iconColor }} />}
|
|
44
53
|
label={t('trust.about.how.report') || 'Reporting bugs'}
|
|
45
54
|
/>
|
|
46
55
|
<BenefitRow
|
|
47
|
-
icon={<
|
|
56
|
+
icon={<RiEditLine size="sm" style={{ color: iconColor }} />}
|
|
48
57
|
label={t('trust.about.how.contribute') || 'Contributing content'}
|
|
49
58
|
/>
|
|
50
59
|
<BenefitRow
|
|
51
|
-
icon={<
|
|
60
|
+
icon={<RiCalendarLine size="sm" style={{ color: iconColor }} />}
|
|
52
61
|
label={t('trust.about.how.participate') || 'Participating in events'}
|
|
53
62
|
/>
|
|
54
63
|
<BenefitRow
|
|
55
|
-
icon={<
|
|
64
|
+
icon={<RiSparklingLine size="sm" style={{ color: iconColor }} />}
|
|
56
65
|
label={t('trust.about.how.other') || 'Other positive actions'}
|
|
57
66
|
/>
|
|
58
67
|
</BenefitList>
|