@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
package/NOTICE
CHANGED
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
Copyright (c) 2025-present The Oxy Collective, Inc.
|
|
5
5
|
============================================================================
|
|
6
6
|
|
|
7
|
-
This product is licensed under the
|
|
8
|
-
LICENSE file in this directory.
|
|
7
|
+
This product is licensed under the Breathe License 1.0, license identifier
|
|
8
|
+
LicenseRef-Breathe-1.0. See the LICENSE file in this directory. Commercial
|
|
9
|
+
terms are available at
|
|
10
|
+
https://github.com/OxyHQ/.github/blob/main/LICENSE-COMMERCIAL.md
|
|
11
|
+
|
|
12
|
+
Attribution under Section 3.1 of the Breathe License is required of
|
|
13
|
+
everyone, including paying commercial licensees, and cannot be waived.
|
|
9
14
|
|
|
10
15
|
----------------------------------------------------------------------------
|
|
11
16
|
THIRD PARTY COMPONENTS
|
|
@@ -22,7 +27,7 @@ Licensed under the MIT License.
|
|
|
22
27
|
Material Design Icons / Material Community Icons
|
|
23
28
|
Copyright Pictogrammers and the respective icon authors.
|
|
24
29
|
Fonts and icons are licensed under the Apache License, Version 2.0. The full
|
|
25
|
-
Apache License is reproduced
|
|
30
|
+
Apache License is reproduced at the end of this file.
|
|
26
31
|
|
|
27
32
|
The vector-icon integration and glyph-map distribution are derived from
|
|
28
33
|
@expo/vector-icons and react-native-vector-icons:
|
|
@@ -49,3 +54,210 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
49
54
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
50
55
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
51
56
|
SOFTWARE.
|
|
57
|
+
|
|
58
|
+
----------------------------------------------------------------------------
|
|
59
|
+
Apache License, Version 2.0 (Material Design Icons)
|
|
60
|
+
----------------------------------------------------------------------------
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
Apache License
|
|
64
|
+
Version 2.0, January 2004
|
|
65
|
+
http://www.apache.org/licenses/
|
|
66
|
+
|
|
67
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
68
|
+
|
|
69
|
+
1. Definitions.
|
|
70
|
+
|
|
71
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
72
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
73
|
+
|
|
74
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
75
|
+
the copyright owner that is granting the License.
|
|
76
|
+
|
|
77
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
78
|
+
other entities that control, are controlled by, or are under common
|
|
79
|
+
control with that entity. For the purposes of this definition,
|
|
80
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
81
|
+
direction or management of such entity, whether by contract or
|
|
82
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
83
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
84
|
+
|
|
85
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
86
|
+
exercising permissions granted by this License.
|
|
87
|
+
|
|
88
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
89
|
+
including but not limited to software source code, documentation
|
|
90
|
+
source, and configuration files.
|
|
91
|
+
|
|
92
|
+
"Object" form shall mean any form resulting from mechanical
|
|
93
|
+
transformation or translation of a Source form, including but
|
|
94
|
+
not limited to compiled object code, generated documentation,
|
|
95
|
+
and conversions to other media types.
|
|
96
|
+
|
|
97
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
98
|
+
Object form, made available under the License, as indicated by a
|
|
99
|
+
copyright notice that is included in or attached to the work
|
|
100
|
+
(an example is provided in the Appendix below).
|
|
101
|
+
|
|
102
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
103
|
+
form, that is based on (or derived from) the Work and for which the
|
|
104
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
105
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
106
|
+
of this License, Derivative Works shall not include works that remain
|
|
107
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
108
|
+
the Work and Derivative Works thereof.
|
|
109
|
+
|
|
110
|
+
"Contribution" shall mean any work of authorship, including
|
|
111
|
+
the original version of the Work and any modifications or additions
|
|
112
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
113
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
114
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
115
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
116
|
+
means any form of electronic, verbal, or written communication sent
|
|
117
|
+
to the Licensor or its representatives, including but not limited to
|
|
118
|
+
communication on electronic mailing lists, source code control systems,
|
|
119
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
120
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
121
|
+
excluding communication that is conspicuously marked or otherwise
|
|
122
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
123
|
+
|
|
124
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
125
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
126
|
+
subsequently incorporated within the Work.
|
|
127
|
+
|
|
128
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
129
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
130
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
131
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
132
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
133
|
+
Work and such Derivative Works in Source or Object form.
|
|
134
|
+
|
|
135
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
136
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
137
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
138
|
+
(except as stated in this section) patent license to make, have made,
|
|
139
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
140
|
+
where such license applies only to those patent claims licensable
|
|
141
|
+
by such Contributor that are necessarily infringed by their
|
|
142
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
143
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
144
|
+
institute patent litigation against any entity (including a
|
|
145
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
146
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
147
|
+
or contributory patent infringement, then any patent licenses
|
|
148
|
+
granted to You under this License for that Work shall terminate
|
|
149
|
+
as of the date such litigation is filed.
|
|
150
|
+
|
|
151
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
152
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
153
|
+
modifications, and in Source or Object form, provided that You
|
|
154
|
+
meet the following conditions:
|
|
155
|
+
|
|
156
|
+
(a) You must give any other recipients of the Work or
|
|
157
|
+
Derivative Works a copy of this License; and
|
|
158
|
+
|
|
159
|
+
(b) You must cause any modified files to carry prominent notices
|
|
160
|
+
stating that You changed the files; and
|
|
161
|
+
|
|
162
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
163
|
+
that You distribute, all copyright, patent, trademark, and
|
|
164
|
+
attribution notices from the Source form of the Work,
|
|
165
|
+
excluding those notices that do not pertain to any part of
|
|
166
|
+
the Derivative Works; and
|
|
167
|
+
|
|
168
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
169
|
+
distribution, then any Derivative Works that You distribute must
|
|
170
|
+
include a readable copy of the attribution notices contained
|
|
171
|
+
within such NOTICE file, excluding those notices that do not
|
|
172
|
+
pertain to any part of the Derivative Works, in at least one
|
|
173
|
+
of the following places: within a NOTICE text file distributed
|
|
174
|
+
as part of the Derivative Works; within the Source form or
|
|
175
|
+
documentation, if provided along with the Derivative Works; or,
|
|
176
|
+
within a display generated by the Derivative Works, if and
|
|
177
|
+
wherever such third-party notices normally appear. The contents
|
|
178
|
+
of the NOTICE file are for informational purposes only and
|
|
179
|
+
do not modify the License. You may add Your own attribution
|
|
180
|
+
notices within Derivative Works that You distribute, alongside
|
|
181
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
182
|
+
that such additional attribution notices cannot be construed
|
|
183
|
+
as modifying the License.
|
|
184
|
+
|
|
185
|
+
You may add Your own copyright statement to Your modifications and
|
|
186
|
+
may provide additional or different license terms and conditions
|
|
187
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
188
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
189
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
190
|
+
the conditions stated in this License.
|
|
191
|
+
|
|
192
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
193
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
194
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
195
|
+
this License, without any additional terms or conditions.
|
|
196
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
197
|
+
the terms of any separate license agreement you may have executed
|
|
198
|
+
with Licensor regarding such Contributions.
|
|
199
|
+
|
|
200
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
201
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
202
|
+
except as required for reasonable and customary use in describing the
|
|
203
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
204
|
+
|
|
205
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
206
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
207
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
208
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
209
|
+
implied, including, without limitation, any warranties or conditions
|
|
210
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
211
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
212
|
+
appropriateness of using or redistributing the Work and assume any
|
|
213
|
+
risks associated with Your exercise of permissions under this License.
|
|
214
|
+
|
|
215
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
216
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
217
|
+
unless required by applicable law (such as deliberate and grossly
|
|
218
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
219
|
+
liable to You for damages, including any direct, indirect, special,
|
|
220
|
+
incidental, or consequential damages of any character arising as a
|
|
221
|
+
result of this License or out of the use or inability to use the
|
|
222
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
223
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
224
|
+
other commercial damages or losses), even if such Contributor
|
|
225
|
+
has been advised of the possibility of such damages.
|
|
226
|
+
|
|
227
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
228
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
229
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
230
|
+
or other liability obligations and/or rights consistent with this
|
|
231
|
+
License. However, in accepting such obligations, You may act only
|
|
232
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
233
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
234
|
+
defend, and hold each Contributor harmless for any liability
|
|
235
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
236
|
+
of your accepting any such warranty or additional liability.
|
|
237
|
+
|
|
238
|
+
END OF TERMS AND CONDITIONS
|
|
239
|
+
|
|
240
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
241
|
+
|
|
242
|
+
To apply the Apache License to your work, attach the following
|
|
243
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
244
|
+
replaced with your own identifying information. (Don't include
|
|
245
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
246
|
+
comment syntax for the file format. We also recommend that a
|
|
247
|
+
file or class name and description of purpose be included on the
|
|
248
|
+
same "printed page" as the copyright notice for easier
|
|
249
|
+
identification within third-party archives.
|
|
250
|
+
|
|
251
|
+
Copyright [yyyy] [name of copyright owner]
|
|
252
|
+
|
|
253
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
254
|
+
you may not use this file except in compliance with the License.
|
|
255
|
+
You may obtain a copy of the License at
|
|
256
|
+
|
|
257
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
258
|
+
|
|
259
|
+
Unless required by applicable law or agreed to in writing, software
|
|
260
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
261
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
262
|
+
See the License for the specific language governing permissions and
|
|
263
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -861,6 +861,4 @@ Comprehensive documentation is available in the `/docs` directory:
|
|
|
861
861
|
|
|
862
862
|
## License
|
|
863
863
|
|
|
864
|
-
This package is licensed under the
|
|
865
|
-
|
|
866
|
-
Versions published before `28.0.0` were AGPL-3.0-only and stay that way; a licence change binds future versions only.
|
|
864
|
+
This package is licensed under the **Breathe License 1.0** (`LicenseRef-Breathe-1.0`), (c) The Oxy Collective, Inc. See the [LICENSE](LICENSE) and [NOTICE](NOTICE) files for details.
|
|
@@ -9,7 +9,7 @@ exports.resolveFollowPrimaryAction = resolveFollowPrimaryAction;
|
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _reactNative = require("react-native");
|
|
11
11
|
var _button = require("@oxy.so/bloom/button");
|
|
12
|
-
var
|
|
12
|
+
var _RiArrowDownSLine = require("@oxy.so/bloom/icons/RiArrowDownSLine");
|
|
13
13
|
var _dropdownMenu = require("@oxy.so/bloom/dropdown-menu");
|
|
14
14
|
var _toast = require("@oxy.so/bloom/toast");
|
|
15
15
|
var _useFollowTarget = require("../hooks/useFollowTarget.js");
|
|
@@ -48,6 +48,11 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
48
48
|
* name — not aliased, not deprecated in place.
|
|
49
49
|
*/
|
|
50
50
|
|
|
51
|
+
// Per glyph, never `@oxy.so/bloom/icons`. That barrel re-exports all 461 Remix
|
|
52
|
+
// glyphs and Metro does not tree-shake, so one import of it here re-ships every
|
|
53
|
+
// glyph — 313,123 B, measured — to every app in this package's graph, and no
|
|
54
|
+
// consumer can opt out of what a dependency asks for.
|
|
55
|
+
|
|
51
56
|
/**
|
|
52
57
|
* The small vocabulary of verbs the ecosystem actually uses. An application
|
|
53
58
|
* whose verb is not here passes `labels` instead — the escape hatch exists so
|
|
@@ -331,7 +336,7 @@ const FollowTargetButton = exports.FollowTargetButton = /*#__PURE__*/(0, _react.
|
|
|
331
336
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
332
337
|
variant: "secondary",
|
|
333
338
|
size: size === 'large' ? 'large' : 'small',
|
|
334
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
339
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiArrowDownSLine.RiArrowDownSLine, {
|
|
335
340
|
width: 16
|
|
336
341
|
}),
|
|
337
342
|
disabled: disabled || isUnknown,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_button","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_button","_RiArrowDownSLine","_dropdownMenu","_toast","_useFollowTarget","_followTargetStore","_jsxRuntime","VERB_LABELS","follow","idle","active","pending","disabled","subscribe","join","watch","HOUR","DEFAULT_DURATIONS","label","seconds","FOLLOW_ACTION_LEAVES_ACTIVE","exports","unfollow","resolveFollowPrimaryAction","input","isFollowing","applicationMode","buildFollowMenuItems","items","following","durations","d","push","key","idleVerb","toLowerCase","action","type","durationLabel","hasRelationship","isPending","applicationName","FollowTargetButton","memo","targetId","verb","labels","size","style","showOptions","initialStatus","onChange","status","isUnknown","disableHere","enableHere","useFollowTarget","reportMutationFailure","useCallback","message","useFollowTargetStore","getState","errors","toast","error","text","useMemo","globalState","handlePrimary","handleTimed","expiresIn","success","menuItems","Boolean","relationshipId","runItem","item","then","ok","primary","jsx","Button","variant","loading","onPress","accessibilityLabel","children","length","View","jsxs","flexDirection","alignItems","gap","DropdownMenu","DropdownMenuTrigger","asChild","icon","RiArrowDownSLine","width","accessibilityHint","DropdownMenuContent","map","DropdownMenuItem"],"sourceRoot":"../../../../src","sources":["ui/components/FollowTargetButton.tsx"],"mappings":";;;;;;;;AAiCA,IAAAA,MAAA,GAAAC,OAAA;AAGA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAKA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AAMA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,gBAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AAAmE,IAAAQ,WAAA,GAAAR,OAAA;AAnDnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAOA;AACA;AACA;AACA;;AAYA;AACA;AACA;AACA;AACA;;AAcA,MAAMS,WAA6C,GAAG;EACpDC,MAAM,EAAE;IAAEC,IAAI,EAAE,QAAQ;IAAEC,MAAM,EAAE,WAAW;IAAEC,OAAO,EAAE,WAAW;IAAEC,QAAQ,EAAE;EAAW,CAAC;EAC3FC,SAAS,EAAE;IACTJ,IAAI,EAAE,WAAW;IACjBC,MAAM,EAAE,YAAY;IACpBC,OAAO,EAAE,WAAW;IACpBC,QAAQ,EAAE;EACZ,CAAC;EACDE,IAAI,EAAE;IAAEL,IAAI,EAAE,MAAM;IAAEC,MAAM,EAAE,QAAQ;IAAEC,OAAO,EAAE,WAAW;IAAEC,QAAQ,EAAE;EAAW,CAAC;EACpFG,KAAK,EAAE;IAAEN,IAAI,EAAE,OAAO;IAAEC,MAAM,EAAE,UAAU;IAAEC,OAAO,EAAE,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OAAQ;UAC3CiD,IAAI,eAAE,IAAA1F,WAAA,CAAA0E,GAAA,EAAC/E,iBAAA,CAAAgG,gBAAW;YAACC,KAAK,EAAE;UAAG,CAAE,CAAE;UACjCtF,QAAQ,EAAEA,QAAQ,IAAIyC,SAAU;UAChCgC,kBAAkB,EAAE,GAAGnE,KAAK,UAAW;UACvCiF,iBAAiB,EAAC;QAAsB,CACzC;MAAC,CACiB,CAAC,eACtB,IAAA7F,WAAA,CAAA0E,GAAA,EAAC9E,aAAA,CAAAkG,mBAAmB;QAAClF,KAAK,EAAE,GAAGA,KAAK,UAAW;QAAAoE,QAAA,EAC5Cd,SAAS,CAAC6B,GAAG,CAAEzB,IAAI,iBAClB,IAAAtE,WAAA,CAAA0E,GAAA,EAAC9E,aAAA,CAAAoG,gBAAgB;UAAgBlB,OAAO,EAAEA,CAAA,KAAMT,OAAO,CAACC,IAAI,CAAE;UAAAU,QAAA,EAC3DV,IAAI,CAAC1D;QAAK,GADU0D,IAAI,CAAC3C,GAEV,CACnB;MAAC,CACiB,CAAC;IAAA,CACV,CAAC;EAAA,CACX,CAAC;AAEX,CAAC,CAAC","ignoreList":[]}
|
|
@@ -14,12 +14,20 @@ var _button = require("@oxy.so/bloom/button");
|
|
|
14
14
|
var _textField = require("@oxy.so/bloom/text-field");
|
|
15
15
|
var _iconCircle = require("@oxy.so/bloom/icon-circle");
|
|
16
16
|
var _BenefitList = require("../components/BenefitList.js");
|
|
17
|
-
var
|
|
17
|
+
var _RiInformationLine = require("@oxy.so/bloom/icons/RiInformationLine");
|
|
18
|
+
var _RiShieldCheckLine = require("@oxy.so/bloom/icons/RiShieldCheckLine");
|
|
19
|
+
var _RiSparklingLine = require("@oxy.so/bloom/icons/RiSparklingLine");
|
|
20
|
+
var _RiVerifiedBadgeLine = require("@oxy.so/bloom/icons/RiVerifiedBadgeLine");
|
|
18
21
|
var _useI18n = require("../hooks/useI18n.js");
|
|
19
22
|
var _useSurfaceHeader = require("../hooks/useSurfaceHeader.js");
|
|
20
23
|
var _OxyContext = require("../context/OxyContext.js");
|
|
21
24
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
25
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
26
|
+
// Per glyph, never `@oxy.so/bloom/icons`. That barrel re-exports all 461 Remix
|
|
27
|
+
// glyphs and Metro does not tree-shake, so one import of it here re-ships every
|
|
28
|
+
// glyph — 313,123 B, measured — to every app in this package's graph, and no
|
|
29
|
+
// consumer can opt out of what a dependency asks for.
|
|
30
|
+
|
|
23
31
|
const AccountVerificationScreen = ({
|
|
24
32
|
onClose,
|
|
25
33
|
goBack
|
|
@@ -78,7 +86,7 @@ const AccountVerificationScreen = ({
|
|
|
78
86
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
79
87
|
className: "items-center py-space-24 gap-space-12",
|
|
80
88
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_iconCircle.IconCircle, {
|
|
81
|
-
icon:
|
|
89
|
+
icon: _RiVerifiedBadgeLine.RiVerifiedBadgeLine
|
|
82
90
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.H4, {
|
|
83
91
|
className: "text-headerBold font-headerBold text-text text-center",
|
|
84
92
|
children: t('accountVerification.heroTitle') || 'Get a verified badge'
|
|
@@ -90,7 +98,7 @@ const AccountVerificationScreen = ({
|
|
|
90
98
|
className: "mb-space-24",
|
|
91
99
|
accessibilityLabel: t('accountVerification.sections.benefits') || 'What verification gives you',
|
|
92
100
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_BenefitList.BenefitRow, {
|
|
93
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
101
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiShieldCheckLine.RiShieldCheckLine, {
|
|
94
102
|
size: "sm",
|
|
95
103
|
style: {
|
|
96
104
|
color: bloomTheme.colors.primary
|
|
@@ -98,7 +106,7 @@ const AccountVerificationScreen = ({
|
|
|
98
106
|
}),
|
|
99
107
|
label: t('accountVerification.benefits.authenticity') || 'Confirms your identity is authentic and trusted'
|
|
100
108
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_BenefitList.BenefitRow, {
|
|
101
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
109
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiVerifiedBadgeLine.RiVerifiedBadgeLine, {
|
|
102
110
|
size: "sm",
|
|
103
111
|
style: {
|
|
104
112
|
color: bloomTheme.colors.primary
|
|
@@ -106,7 +114,7 @@ const AccountVerificationScreen = ({
|
|
|
106
114
|
}),
|
|
107
115
|
label: t('accountVerification.benefits.badge') || 'Displays a verified badge across the platform'
|
|
108
116
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_BenefitList.BenefitRow, {
|
|
109
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
117
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiSparklingLine.RiSparklingLine, {
|
|
110
118
|
size: "sm",
|
|
111
119
|
style: {
|
|
112
120
|
color: bloomTheme.colors.primary
|
|
@@ -158,7 +166,7 @@ const AccountVerificationScreen = ({
|
|
|
158
166
|
children: t('accountVerification.submit') || 'Submit Request'
|
|
159
167
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
160
168
|
className: "flex-row items-start gap-space-8 mt-space-24",
|
|
161
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
169
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_RiInformationLine.RiInformationLine, {
|
|
162
170
|
size: "sm",
|
|
163
171
|
style: {
|
|
164
172
|
color: bloomTheme.colors.textTertiary
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_toast","_surfaces","_theme","_typography","_button","_textField","_iconCircle","_BenefitList","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_toast","_surfaces","_theme","_typography","_button","_textField","_iconCircle","_BenefitList","_RiInformationLine","_RiShieldCheckLine","_RiSparklingLine","_RiVerifiedBadgeLine","_useI18n","_useSurfaceHeader","_OxyContext","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","AccountVerificationScreen","onClose","goBack","oxyServices","useOxy","useI18n","useSurfaceHeader","title","bloomTheme","useTheme","reason","setReason","useState","evidence","setEvidence","isSubmitting","setIsSubmitting","handleSubmit","useCallback","trim","toast","error","result","requestAccountVerification","undefined","surfaces","confirm","description","requestId","confirmLabel","hideCancel","__DEV__","console","Error","message","canSubmit","Boolean","jsx","Fragment","children","jsxs","View","className","IconCircle","icon","RiVerifiedBadgeLine","H4","Text","BenefitList","accessibilityLabel","BenefitRow","RiShieldCheckLine","size","style","color","colors","primary","label","RiSparklingLine","TextField","TextFieldInput","floatingLabel","value","onChangeText","placeholder","multiline","numberOfLines","textAlignVertical","editable","styles","Button","variant","fullWidth","onPress","disabled","loading","RiInformationLine","textTertiary","StyleSheet","create","minHeight","_default","exports","React","memo"],"sourceRoot":"../../../../src","sources":["ui/screens/AccountVerificationScreen.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAKA,IAAAE,MAAA,GAA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,CAAAyD,GAAA,EAACrE,WAAA,CAAA+E,IAAI;UAACL,SAAS,EAAC,kDAAkD;UAAAH,QAAA,EAC7DzD,CAAC,CAAC,0BAA0B,CAAC,IAAI;QAAsI,CACtK,CAAC;MAAA,CACL,CAAC;IAAA,CACL;EAAC,CACT,CAAC;AAEX,CAAC;;AAED;AACA;AACA;AACA,MAAMuF,MAAM,GAAGS,uBAAU,CAACC,MAAM,CAAC;EAC7Bd,SAAS,EAAE;IACPe,SAAS,EAAE;EACf;AACJ,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA3F,OAAA,gBAEY4F,cAAK,CAACC,IAAI,CAACpF,yBAAyB,CAAC","ignoreList":[]}
|
|
@@ -10,36 +10,47 @@ var _theme = require("@oxy.so/bloom/theme");
|
|
|
10
10
|
var _typography = require("@oxy.so/bloom/typography");
|
|
11
11
|
var _iconCircle = require("@oxy.so/bloom/icon-circle");
|
|
12
12
|
var _accordion = require("@oxy.so/bloom/accordion");
|
|
13
|
-
var
|
|
13
|
+
var _RiAtLine = require("@oxy.so/bloom/icons/RiAtLine");
|
|
14
|
+
var _RiKey2Line = require("@oxy.so/bloom/icons/RiKey2Line");
|
|
15
|
+
var _RiListUnordered = require("@oxy.so/bloom/icons/RiListUnordered");
|
|
16
|
+
var _RiResetRightLine = require("@oxy.so/bloom/icons/RiResetRightLine");
|
|
17
|
+
var _RiSparklingLine = require("@oxy.so/bloom/icons/RiSparklingLine");
|
|
14
18
|
var _useI18n = require("../hooks/useI18n.js");
|
|
15
19
|
var _useSurfaceHeader = require("../hooks/useSurfaceHeader.js");
|
|
16
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
|
|
21
|
+
// Per glyph, never `@oxy.so/bloom/icons`. That barrel re-exports all 461 Remix
|
|
22
|
+
// glyphs and Metro does not tree-shake, so one import of it here re-ships every
|
|
23
|
+
// glyph — 313,123 B, measured — to every app in this package's graph, and no
|
|
24
|
+
// consumer can opt out of what a dependency asks for.
|
|
25
|
+
|
|
26
|
+
// `Props` has no per-glyph subpath and needs none: `import type` is erased
|
|
27
|
+
// before any bundler sees it, so the barrel is named here and never loaded.
|
|
28
|
+
|
|
18
29
|
const INFO_SECTIONS = [{
|
|
19
30
|
id: 'what',
|
|
20
31
|
titleKey: 'learnMoreUsernames.sections.what.title',
|
|
21
32
|
contentKey: 'learnMoreUsernames.sections.what.content',
|
|
22
|
-
Icon:
|
|
33
|
+
Icon: _RiAtLine.RiAtLine
|
|
23
34
|
}, {
|
|
24
35
|
id: 'rules',
|
|
25
36
|
titleKey: 'learnMoreUsernames.sections.rules.title',
|
|
26
37
|
contentKey: 'learnMoreUsernames.sections.rules.content',
|
|
27
|
-
Icon:
|
|
38
|
+
Icon: _RiListUnordered.RiListUnordered
|
|
28
39
|
}, {
|
|
29
40
|
id: 'unique',
|
|
30
41
|
titleKey: 'learnMoreUsernames.sections.unique.title',
|
|
31
42
|
contentKey: 'learnMoreUsernames.sections.unique.content',
|
|
32
|
-
Icon:
|
|
43
|
+
Icon: _RiKey2Line.RiKey2Line
|
|
33
44
|
}, {
|
|
34
45
|
id: 'change',
|
|
35
46
|
titleKey: 'learnMoreUsernames.sections.change.title',
|
|
36
47
|
contentKey: 'learnMoreUsernames.sections.change.content',
|
|
37
|
-
Icon:
|
|
48
|
+
Icon: _RiResetRightLine.RiResetRightLine
|
|
38
49
|
}, {
|
|
39
50
|
id: 'tips',
|
|
40
51
|
titleKey: 'learnMoreUsernames.sections.tips.title',
|
|
41
52
|
contentKey: 'learnMoreUsernames.sections.tips.content',
|
|
42
|
-
Icon:
|
|
53
|
+
Icon: _RiSparklingLine.RiSparklingLine
|
|
43
54
|
}];
|
|
44
55
|
const LearnMoreUsernamesScreen = ({
|
|
45
56
|
onClose,
|
|
@@ -69,7 +80,7 @@ const LearnMoreUsernamesScreen = ({
|
|
|
69
80
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
70
81
|
className: "items-center py-space-24 gap-space-12",
|
|
71
82
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_iconCircle.IconCircle, {
|
|
72
|
-
icon:
|
|
83
|
+
icon: _RiAtLine.RiAtLine
|
|
73
84
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
74
85
|
className: "font-sans text-body text-text-secondary text-center",
|
|
75
86
|
children: t('learnMoreUsernames.introText')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_theme","_typography","_iconCircle","_accordion","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_theme","_typography","_iconCircle","_accordion","_RiAtLine","_RiKey2Line","_RiListUnordered","_RiResetRightLine","_RiSparklingLine","_useI18n","_useSurfaceHeader","_jsxRuntime","INFO_SECTIONS","id","titleKey","contentKey","Icon","RiAtLine","RiListUnordered","RiKey2Line","RiResetRightLine","RiSparklingLine","LearnMoreUsernamesScreen","onClose","goBack","bloomTheme","useTheme","t","useI18n","useSurfaceHeader","title","expandedIds","setExpandedIds","useState","handleAccordionChange","useCallback","value","Array","isArray","jsx","Fragment","children","jsxs","View","className","IconCircle","icon","Text","Accordion","type","onValueChange","map","AccordionItem","AccordionTrigger","style","styles","iconSquare","size","color","colors","primary","AccordionContent","StyleSheet","create","width","height","alignItems","justifyContent","_default","exports","default"],"sourceRoot":"../../../../src","sources":["ui/screens/LearnMoreUsernamesScreen.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAUA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AACA,IAAAQ,gBAAA,GAAAR,OAAA;AACA,IAAAS,iBAAA,GAAAT,OAAA;AACA,IAAAU,gBA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10
|
var _iconCircle = require("@oxy.so/bloom/icon-circle");
|
|
11
11
|
var _BenefitList = require("../../components/BenefitList.js");
|
|
12
|
-
var
|
|
12
|
+
var _RiAccountCircleLine = require("@oxy.so/bloom/icons/RiAccountCircleLine");
|
|
13
|
+
var _RiCalendarLine = require("@oxy.so/bloom/icons/RiCalendarLine");
|
|
14
|
+
var _RiEditLine = require("@oxy.so/bloom/icons/RiEditLine");
|
|
15
|
+
var _RiFlagLine = require("@oxy.so/bloom/icons/RiFlagLine");
|
|
16
|
+
var _RiShieldCheckLine = require("@oxy.so/bloom/icons/RiShieldCheckLine");
|
|
17
|
+
var _RiSparklingLine = require("@oxy.so/bloom/icons/RiSparklingLine");
|
|
13
18
|
var _useI18n = require("../../hooks/useI18n.js");
|
|
14
19
|
var _useSurfaceHeader = require("../../hooks/useSurfaceHeader.js");
|
|
15
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
-
|
|
21
|
+
// Per glyph, never `@oxy.so/bloom/icons`. That barrel re-exports all 461 Remix
|
|
22
|
+
// glyphs and Metro does not tree-shake, so one import of it here re-ships every
|
|
23
|
+
// glyph — 313,123 B, measured — to every app in this package's graph, and no
|
|
24
|
+
// consumer can opt out of what a dependency asks for.
|
|
25
|
+
|
|
17
26
|
const TrustAboutScreen = () => {
|
|
18
27
|
const {
|
|
19
28
|
t
|
|
@@ -29,7 +38,7 @@ const TrustAboutScreen = () => {
|
|
|
29
38
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
30
39
|
className: "items-center py-space-24 gap-space-12",
|
|
31
40
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_iconCircle.IconCircle, {
|
|
32
|
-
icon:
|
|
41
|
+
icon: _RiShieldCheckLine.RiShieldCheckLine
|
|
33
42
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
34
43
|
className: "font-sans text-body text-text-secondary text-center",
|
|
35
44
|
children: 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.'
|
|
@@ -41,7 +50,7 @@ const TrustAboutScreen = () => {
|
|
|
41
50
|
className: "mb-space-24",
|
|
42
51
|
accessibilityLabel: t('trust.about.how.title') || 'How to Earn Reputation',
|
|
43
52
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_BenefitList.BenefitRow, {
|
|
44
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
53
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiAccountCircleLine.RiAccountCircleLine, {
|
|
45
54
|
size: "sm",
|
|
46
55
|
style: {
|
|
47
56
|
color: iconColor
|
|
@@ -49,7 +58,7 @@ const TrustAboutScreen = () => {
|
|
|
49
58
|
}),
|
|
50
59
|
label: t('trust.about.how.help') || 'Helping other users'
|
|
51
60
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_BenefitList.BenefitRow, {
|
|
52
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
61
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiFlagLine.RiFlagLine, {
|
|
53
62
|
size: "sm",
|
|
54
63
|
style: {
|
|
55
64
|
color: iconColor
|
|
@@ -57,7 +66,7 @@ const TrustAboutScreen = () => {
|
|
|
57
66
|
}),
|
|
58
67
|
label: t('trust.about.how.report') || 'Reporting bugs'
|
|
59
68
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_BenefitList.BenefitRow, {
|
|
60
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
69
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiEditLine.RiEditLine, {
|
|
61
70
|
size: "sm",
|
|
62
71
|
style: {
|
|
63
72
|
color: iconColor
|
|
@@ -65,7 +74,7 @@ const TrustAboutScreen = () => {
|
|
|
65
74
|
}),
|
|
66
75
|
label: t('trust.about.how.contribute') || 'Contributing content'
|
|
67
76
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_BenefitList.BenefitRow, {
|
|
68
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
77
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiCalendarLine.RiCalendarLine, {
|
|
69
78
|
size: "sm",
|
|
70
79
|
style: {
|
|
71
80
|
color: iconColor
|
|
@@ -73,7 +82,7 @@ const TrustAboutScreen = () => {
|
|
|
73
82
|
}),
|
|
74
83
|
label: t('trust.about.how.participate') || 'Participating in events'
|
|
75
84
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_BenefitList.BenefitRow, {
|
|
76
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
85
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiSparklingLine.RiSparklingLine, {
|
|
77
86
|
size: "sm",
|
|
78
87
|
style: {
|
|
79
88
|
color: iconColor
|