@bloxwap/hig 0.0.0-stage → 0.5.1
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 +5 -0
- package/README.md +44 -2
- package/chart/README.md +23 -0
- package/chart/dist/index.d.ts +8 -0
- package/chart/dist/index.js +12 -0
- package/contracts/README.md +3 -0
- package/contracts/dist/announcements.d.ts +12 -0
- package/contracts/dist/announcements.js +8 -0
- package/contracts/dist/feedback.d.ts +40 -0
- package/contracts/dist/feedback.js +1 -0
- package/contracts/dist/index.d.ts +41 -0
- package/contracts/dist/index.js +52 -0
- package/contracts/dist/messages.d.ts +300 -0
- package/contracts/dist/messages.js +114 -0
- package/css.d.ts +2 -0
- package/feedback/README.md +7 -0
- package/feedback/assets/error.wav +0 -0
- package/feedback/assets/manifest.json +78 -0
- package/feedback/assets/success.wav +0 -0
- package/feedback/assets/tick.wav +0 -0
- package/feedback/assets/toggle.wav +0 -0
- package/feedback/dist/browser-haptic.d.ts +23 -0
- package/feedback/dist/browser-haptic.js +41 -0
- package/feedback/dist/contract.d.ts +40 -0
- package/feedback/dist/contract.js +59 -0
- package/feedback/dist/native.d.ts +28 -0
- package/feedback/dist/native.js +63 -0
- package/feedback/dist/preferences.d.ts +8 -0
- package/feedback/dist/preferences.js +24 -0
- package/feedback/dist/presets.d.ts +57 -0
- package/feedback/dist/presets.js +1 -0
- package/feedback/dist/react.d.ts +19 -0
- package/feedback/dist/react.js +23 -0
- package/feedback/dist/web-haptic.d.ts +6 -0
- package/feedback/dist/web-haptic.js +6 -0
- package/feedback/dist/web-sound.d.ts +5 -0
- package/feedback/dist/web-sound.js +32 -0
- package/feedback/dist/web.d.ts +3 -0
- package/feedback/dist/web.js +4 -0
- package/native/README.md +16 -0
- package/native/android/build.gradle +28 -0
- package/native/android/src/main/java/com/bloxwap/hig/HIGAdjustableView.java +173 -0
- package/native/android/src/main/java/com/bloxwap/hig/HIGAdjustableViewManager.java +23 -0
- package/native/android/src/main/java/com/bloxwap/hig/HIGPackage.java +24 -0
- package/native/dist/animated-number-model.d.ts +24 -0
- package/native/dist/animated-number-model.js +110 -0
- package/native/dist/animated-number.d.ts +9 -0
- package/native/dist/animated-number.js +97 -0
- package/native/dist/brand.d.ts +7 -0
- package/native/dist/brand.js +7 -0
- package/native/dist/button.d.ts +30 -0
- package/native/dist/button.js +36 -0
- package/native/dist/checkbox.d.ts +3 -0
- package/native/dist/checkbox.js +11 -0
- package/native/dist/data.d.ts +57 -0
- package/native/dist/data.js +47 -0
- package/native/dist/field.d.ts +16 -0
- package/native/dist/field.js +26 -0
- package/native/dist/gesture-sheet.d.ts +73 -0
- package/native/dist/gesture-sheet.js +153 -0
- package/native/dist/icons.d.ts +21 -0
- package/native/dist/icons.js +20 -0
- package/native/dist/navigation.d.ts +48 -0
- package/native/dist/navigation.js +58 -0
- package/native/dist/overlay.d.ts +36 -0
- package/native/dist/overlay.js +65 -0
- package/native/dist/pickers.d.ts +54 -0
- package/native/dist/pickers.js +60 -0
- package/native/dist/provider.d.ts +62 -0
- package/native/dist/provider.js +67 -0
- package/native/dist/radio-group.d.ts +21 -0
- package/native/dist/radio-group.js +91 -0
- package/native/dist/recipes.d.ts +45 -0
- package/native/dist/recipes.js +32 -0
- package/native/dist/roles.d.ts +6 -0
- package/native/dist/roles.js +4 -0
- package/native/dist/select.d.ts +3 -0
- package/native/dist/select.js +9 -0
- package/native/dist/selection-types.d.ts +22 -0
- package/native/dist/selection-types.js +1 -0
- package/native/dist/selection.d.ts +8 -0
- package/native/dist/selection.js +7 -0
- package/native/dist/slider.d.ts +11 -0
- package/native/dist/slider.js +42 -0
- package/native/dist/status.d.ts +86 -0
- package/native/dist/status.js +112 -0
- package/native/dist/surface.d.ts +19 -0
- package/native/dist/surface.js +42 -0
- package/native/dist/swap-panel.d.ts +125 -0
- package/native/dist/swap-panel.js +177 -0
- package/native/dist/swap-parts.d.ts +86 -0
- package/native/dist/swap-parts.js +66 -0
- package/native/dist/swap-shared.d.ts +65 -0
- package/native/dist/swap-shared.js +76 -0
- package/native/dist/swap-sheet.d.ts +14 -0
- package/native/dist/swap-sheet.js +26 -0
- package/native/dist/swap-views.d.ts +41 -0
- package/native/dist/swap-views.js +37 -0
- package/native/dist/switch-row.d.ts +8 -0
- package/native/dist/switch-row.js +18 -0
- package/native/dist/switch.d.ts +10 -0
- package/native/dist/switch.js +30 -0
- package/native/dist/text-content.d.ts +5 -0
- package/native/dist/text-content.js +6 -0
- package/native/dist/wallet-address.d.ts +37 -0
- package/native/dist/wallet-address.js +50 -0
- package/native-fonts/README.md +17 -0
- package/native-fonts/dist/index.d.ts +164 -0
- package/native-fonts/dist/index.js +164 -0
- package/native-fonts/fonts/BloxwapMono-Bold.ttf +0 -0
- package/native-fonts/fonts/BloxwapMono-ExtraBold.ttf +0 -0
- package/native-fonts/fonts/BloxwapMono-Medium.ttf +0 -0
- package/native-fonts/fonts/BloxwapMono-SemiBold.ttf +0 -0
- package/native-fonts/fonts/BloxwapMono.ttf +0 -0
- package/native-fonts/fonts/BloxwapSans-Black.ttf +0 -0
- package/native-fonts/fonts/BloxwapSans-Bold.ttf +0 -0
- package/native-fonts/fonts/BloxwapSans-ExtraBold.ttf +0 -0
- package/native-fonts/fonts/BloxwapSans-Medium.ttf +0 -0
- package/native-fonts/fonts/BloxwapSans-SemiBold.ttf +0 -0
- package/native-fonts/fonts/BloxwapSans.ttf +0 -0
- package/native-fonts/fonts/BloxwapSansKR-SemiBold.ttf +0 -0
- package/native-fonts/fonts/BloxwapSansKR.ttf +0 -0
- package/native-fonts/fonts/BloxwapSansSC-SemiBold.ttf +0 -0
- package/native-fonts/fonts/BloxwapSansSC.ttf +0 -0
- package/native-fonts/fonts/OFL.txt +93 -0
- package/native-fonts/fonts/manifest.json +164 -0
- package/og-fonts/README.md +34 -0
- package/og-fonts/dist/index.d.ts +116 -0
- package/og-fonts/dist/index.js +102 -0
- package/og-fonts/dist/node.d.ts +11 -0
- package/og-fonts/dist/node.js +39 -0
- package/og-fonts/fonts/BloxwapMono-Medium.ttf +0 -0
- package/og-fonts/fonts/BloxwapSans-Black.ttf +0 -0
- package/og-fonts/fonts/BloxwapSans-Bold.ttf +0 -0
- package/og-fonts/fonts/BloxwapSans-Medium.ttf +0 -0
- package/og-fonts/fonts/BloxwapSans.ttf +0 -0
- package/og-fonts/fonts/OFL.txt +93 -0
- package/og-fonts/fonts/manifest.json +65 -0
- package/package.json +476 -4
- package/react/README.md +30 -0
- package/react/dist/animated-number-model.d.ts +20 -0
- package/react/dist/animated-number-model.js +92 -0
- package/react/dist/animated-number.d.ts +8 -0
- package/react/dist/animated-number.js +72 -0
- package/react/dist/base.css +9 -0
- package/react/dist/brand.d.ts +7 -0
- package/react/dist/brand.js +5 -0
- package/react/dist/button.d.ts +14 -0
- package/react/dist/button.js +20 -0
- package/react/dist/data.d.ts +78 -0
- package/react/dist/data.js +36 -0
- package/react/dist/dialog.d.ts +29 -0
- package/react/dist/dialog.js +21 -0
- package/react/dist/field.d.ts +16 -0
- package/react/dist/field.js +20 -0
- package/react/dist/gesture-sheet.d.ts +41 -0
- package/react/dist/gesture-sheet.js +128 -0
- package/react/dist/navigation.d.ts +48 -0
- package/react/dist/navigation.js +69 -0
- package/react/dist/notify.d.ts +14 -0
- package/react/dist/notify.js +6 -0
- package/react/dist/overlay.d.ts +17 -0
- package/react/dist/overlay.js +18 -0
- package/react/dist/provider.d.ts +25 -0
- package/react/dist/provider.js +50 -0
- package/react/dist/recipes/activity-list.d.ts +8 -0
- package/react/dist/recipes/activity-list.js +6 -0
- package/react/dist/recipes/balance-card.d.ts +6 -0
- package/react/dist/recipes/balance-card.js +5 -0
- package/react/dist/recipes/code-window.d.ts +4 -0
- package/react/dist/recipes/code-window.js +4 -0
- package/react/dist/recipes/install-command.d.ts +6 -0
- package/react/dist/recipes/install-command.js +15 -0
- package/react/dist/recipes/market-row.d.ts +25 -0
- package/react/dist/recipes/market-row.js +8 -0
- package/react/dist/recipes/marketing-hero.d.ts +7 -0
- package/react/dist/recipes/marketing-hero.js +5 -0
- package/react/dist/recipes/pickers.d.ts +57 -0
- package/react/dist/recipes/pickers.js +78 -0
- package/react/dist/recipes/swap/amount-card.d.ts +40 -0
- package/react/dist/recipes/swap/amount-card.js +7 -0
- package/react/dist/recipes/swap/picker.d.ts +26 -0
- package/react/dist/recipes/swap/picker.js +20 -0
- package/react/dist/recipes/swap/settings.d.ts +24 -0
- package/react/dist/recipes/swap/settings.js +25 -0
- package/react/dist/recipes/swap/shared.d.ts +98 -0
- package/react/dist/recipes/swap/shared.js +106 -0
- package/react/dist/recipes/swap-panel.d.ts +127 -0
- package/react/dist/recipes/swap-panel.js +170 -0
- package/react/dist/recipes/swap-sheet.d.ts +16 -0
- package/react/dist/recipes/swap-sheet.js +22 -0
- package/react/dist/recipes/trade-entry.d.ts +11 -0
- package/react/dist/recipes/trade-entry.js +12 -0
- package/react/dist/recipes.d.ts +10 -0
- package/react/dist/recipes.js +11 -0
- package/react/dist/select.d.ts +4 -0
- package/react/dist/select.js +174 -0
- package/react/dist/selection.d.ts +40 -0
- package/react/dist/selection.js +23 -0
- package/react/dist/slider.d.ts +11 -0
- package/react/dist/slider.js +10 -0
- package/react/dist/status.d.ts +63 -0
- package/react/dist/status.js +47 -0
- package/react/dist/styles.css +542 -0
- package/react/dist/surface.d.ts +291 -0
- package/react/dist/surface.js +9 -0
- package/react/dist/toast.d.ts +17 -0
- package/react/dist/toast.js +21 -0
- package/react/dist/wallet-address.d.ts +23 -0
- package/react/dist/wallet-address.js +24 -0
- package/tokens/README.md +17 -0
- package/tokens/assets/bloxwap-icon.svg +1 -0
- package/tokens/dist/brand.d.ts +19 -0
- package/tokens/dist/brand.js +24 -0
- package/tokens/dist/index.d.ts +437 -0
- package/tokens/dist/index.js +514 -0
- package/tokens/dist/manifest.json +200 -0
- package/tokens/dist/theme.d.ts +11 -0
- package/tokens/dist/theme.js +22 -0
- package/tokens/dist/tokens.css +120 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2026 Bloxwap, Inc. (https://bloxwap.com), with Reserved Font Name "Bloxwap".
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) and the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"package": "@bloxwap/font",
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"derivedFrom": "@bloxwap/hig/native-fonts",
|
|
5
|
+
"sources": {
|
|
6
|
+
"fonts/BloxwapSans/BloxwapSans-Variable.woff2": "96f6be58023b1d22152c797336282a4330a47ab4a3c0ab87451be887903746b7",
|
|
7
|
+
"fonts/BloxwapMono/BloxwapMono-Variable.woff2": "fa66e41575807c3d260d8f5b493be349cac127836b0174976c7d4876237d2632",
|
|
8
|
+
"fonts/BloxwapSansKR/BloxwapSansKR-Variable.woff2": "ac41500ba7546e204d07499266cadb848e24c0e9935c2616124aedcfba5a9737",
|
|
9
|
+
"fonts/BloxwapSansSC/BloxwapSansSC-Variable.woff2": "c0244998e334bbd997dc9acfaf3f10bce169facfec1cf2bbcfc4db38c7122893"
|
|
10
|
+
},
|
|
11
|
+
"faces": [
|
|
12
|
+
{
|
|
13
|
+
"family": "BloxwapSans",
|
|
14
|
+
"weight": 400,
|
|
15
|
+
"asset": "BloxwapSans.ttf",
|
|
16
|
+
"script": "latin",
|
|
17
|
+
"registration": "BloxwapSansRegular",
|
|
18
|
+
"postscript": "BloxwapSans-Regular",
|
|
19
|
+
"bytes": 446440
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"family": "BloxwapSans",
|
|
23
|
+
"weight": 500,
|
|
24
|
+
"asset": "BloxwapSans-Medium.ttf",
|
|
25
|
+
"script": "latin",
|
|
26
|
+
"registration": "BloxwapSansMedium",
|
|
27
|
+
"postscript": "BloxwapSans-Medium",
|
|
28
|
+
"bytes": 447024
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"family": "BloxwapSans",
|
|
32
|
+
"weight": 700,
|
|
33
|
+
"asset": "BloxwapSans-Bold.ttf",
|
|
34
|
+
"script": "latin",
|
|
35
|
+
"registration": "BloxwapSansBold",
|
|
36
|
+
"postscript": "BloxwapSans-Bold",
|
|
37
|
+
"bytes": 447388
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"family": "BloxwapSans",
|
|
41
|
+
"weight": 900,
|
|
42
|
+
"asset": "BloxwapSans-Black.ttf",
|
|
43
|
+
"script": "latin",
|
|
44
|
+
"registration": "BloxwapSansBlack",
|
|
45
|
+
"postscript": "BloxwapSans-Black",
|
|
46
|
+
"bytes": 445912
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"family": "BloxwapMono",
|
|
50
|
+
"weight": 500,
|
|
51
|
+
"asset": "BloxwapMono-Medium.ttf",
|
|
52
|
+
"script": "latin",
|
|
53
|
+
"registration": "BloxwapMonoMedium",
|
|
54
|
+
"postscript": "BloxwapMono-Medium",
|
|
55
|
+
"bytes": 385628
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"outputs": {
|
|
59
|
+
"BloxwapSans.ttf": "778520981b42b408c19e43fc6d62e513ff0c47bd9870d62159e2e74cda2f79f5",
|
|
60
|
+
"BloxwapSans-Medium.ttf": "add342361cd444c59fb05bb072ac71b32ed27d2fd2f9a364bddb6a930c6bd6bd",
|
|
61
|
+
"BloxwapSans-Bold.ttf": "13e10451ecec4e33733b196454f1232a16d34d5014dce66daaee4d0c58600e1b",
|
|
62
|
+
"BloxwapSans-Black.ttf": "a99894c158cff3cff828b7d17ec12f075352848843944a730caa9d64c0362ea2",
|
|
63
|
+
"BloxwapMono-Medium.ttf": "f969fd1e4d3b81a7fac108a21a8130b7618f04c39ce7fd5e598fb70fd1230b1f"
|
|
64
|
+
}
|
|
65
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,478 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bloxwap/hig",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.5.1",
|
|
4
|
+
"description": "Bloxwap Human Interface Guidelines: tokens, contracts, React and React Native components, chart adapter, feedback and fonts in one package.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"exports": {
|
|
8
|
+
"./tokens": {
|
|
9
|
+
"types": "./tokens/dist/index.d.ts",
|
|
10
|
+
"import": "./tokens/dist/index.js",
|
|
11
|
+
"default": "./tokens/dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./tokens/brand": {
|
|
14
|
+
"types": "./tokens/dist/brand.d.ts",
|
|
15
|
+
"import": "./tokens/dist/brand.js",
|
|
16
|
+
"default": "./tokens/dist/brand.js"
|
|
17
|
+
},
|
|
18
|
+
"./tokens/css": {
|
|
19
|
+
"types": "./css.d.ts",
|
|
20
|
+
"default": "./tokens/dist/tokens.css"
|
|
21
|
+
},
|
|
22
|
+
"./tokens/manifest": "./tokens/dist/manifest.json",
|
|
23
|
+
"./tokens/mark.svg": "./tokens/assets/bloxwap-icon.svg",
|
|
24
|
+
"./contracts": {
|
|
25
|
+
"types": "./contracts/dist/index.d.ts",
|
|
26
|
+
"import": "./contracts/dist/index.js",
|
|
27
|
+
"default": "./contracts/dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./contracts/feedback": {
|
|
30
|
+
"types": "./contracts/dist/feedback.d.ts",
|
|
31
|
+
"import": "./contracts/dist/feedback.js",
|
|
32
|
+
"default": "./contracts/dist/feedback.js"
|
|
33
|
+
},
|
|
34
|
+
"./contracts/announcements": {
|
|
35
|
+
"types": "./contracts/dist/announcements.d.ts",
|
|
36
|
+
"import": "./contracts/dist/announcements.js",
|
|
37
|
+
"default": "./contracts/dist/announcements.js"
|
|
38
|
+
},
|
|
39
|
+
"./contracts/messages": {
|
|
40
|
+
"types": "./contracts/dist/messages.d.ts",
|
|
41
|
+
"import": "./contracts/dist/messages.js",
|
|
42
|
+
"default": "./contracts/dist/messages.js"
|
|
43
|
+
},
|
|
44
|
+
"./native-fonts": {
|
|
45
|
+
"types": "./native-fonts/dist/index.d.ts",
|
|
46
|
+
"import": "./native-fonts/dist/index.js",
|
|
47
|
+
"default": "./native-fonts/dist/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./native-fonts/manifest": "./native-fonts/fonts/manifest.json",
|
|
50
|
+
"./native-fonts/fonts/*": "./native-fonts/fonts/*",
|
|
51
|
+
"./og-fonts": {
|
|
52
|
+
"types": "./og-fonts/dist/index.d.ts",
|
|
53
|
+
"import": "./og-fonts/dist/index.js",
|
|
54
|
+
"default": "./og-fonts/dist/index.js"
|
|
55
|
+
},
|
|
56
|
+
"./og-fonts/node": {
|
|
57
|
+
"types": "./og-fonts/dist/node.d.ts",
|
|
58
|
+
"node": "./og-fonts/dist/node.js"
|
|
59
|
+
},
|
|
60
|
+
"./og-fonts/manifest": "./og-fonts/fonts/manifest.json",
|
|
61
|
+
"./og-fonts/fonts/*": "./og-fonts/fonts/*",
|
|
62
|
+
"./feedback": {
|
|
63
|
+
"types": "./feedback/dist/contract.d.ts",
|
|
64
|
+
"import": "./feedback/dist/contract.js",
|
|
65
|
+
"default": "./feedback/dist/contract.js"
|
|
66
|
+
},
|
|
67
|
+
"./feedback/web": {
|
|
68
|
+
"types": "./feedback/dist/web.d.ts",
|
|
69
|
+
"import": "./feedback/dist/web.js",
|
|
70
|
+
"default": "./feedback/dist/web.js"
|
|
71
|
+
},
|
|
72
|
+
"./feedback/native": {
|
|
73
|
+
"types": "./feedback/dist/native.d.ts",
|
|
74
|
+
"import": "./feedback/dist/native.js",
|
|
75
|
+
"default": "./feedback/dist/native.js"
|
|
76
|
+
},
|
|
77
|
+
"./feedback/react": {
|
|
78
|
+
"types": "./feedback/dist/react.d.ts",
|
|
79
|
+
"import": "./feedback/dist/react.js",
|
|
80
|
+
"default": "./feedback/dist/react.js"
|
|
81
|
+
},
|
|
82
|
+
"./feedback/preferences": {
|
|
83
|
+
"types": "./feedback/dist/preferences.d.ts",
|
|
84
|
+
"import": "./feedback/dist/preferences.js",
|
|
85
|
+
"default": "./feedback/dist/preferences.js"
|
|
86
|
+
},
|
|
87
|
+
"./feedback/assets/*": "./feedback/assets/*",
|
|
88
|
+
"./feedback/web-sound": {
|
|
89
|
+
"types": "./feedback/dist/web-sound.d.ts",
|
|
90
|
+
"import": "./feedback/dist/web-sound.js",
|
|
91
|
+
"default": "./feedback/dist/web-sound.js"
|
|
92
|
+
},
|
|
93
|
+
"./feedback/browser-haptic": {
|
|
94
|
+
"types": "./feedback/dist/browser-haptic.d.ts",
|
|
95
|
+
"import": "./feedback/dist/browser-haptic.js",
|
|
96
|
+
"default": "./feedback/dist/browser-haptic.js"
|
|
97
|
+
},
|
|
98
|
+
"./feedback/web-haptic": {
|
|
99
|
+
"types": "./feedback/dist/web-haptic.d.ts",
|
|
100
|
+
"import": "./feedback/dist/web-haptic.js",
|
|
101
|
+
"default": "./feedback/dist/web-haptic.js"
|
|
102
|
+
},
|
|
103
|
+
"./react/provider": {
|
|
104
|
+
"types": "./react/dist/provider.d.ts",
|
|
105
|
+
"import": "./react/dist/provider.js",
|
|
106
|
+
"default": "./react/dist/provider.js"
|
|
107
|
+
},
|
|
108
|
+
"./react/button": {
|
|
109
|
+
"types": "./react/dist/button.d.ts",
|
|
110
|
+
"import": "./react/dist/button.js",
|
|
111
|
+
"default": "./react/dist/button.js"
|
|
112
|
+
},
|
|
113
|
+
"./react/surface": {
|
|
114
|
+
"types": "./react/dist/surface.d.ts",
|
|
115
|
+
"import": "./react/dist/surface.js",
|
|
116
|
+
"default": "./react/dist/surface.js"
|
|
117
|
+
},
|
|
118
|
+
"./react/field": {
|
|
119
|
+
"types": "./react/dist/field.d.ts",
|
|
120
|
+
"import": "./react/dist/field.js",
|
|
121
|
+
"default": "./react/dist/field.js"
|
|
122
|
+
},
|
|
123
|
+
"./react/selection": {
|
|
124
|
+
"types": "./react/dist/selection.d.ts",
|
|
125
|
+
"import": "./react/dist/selection.js",
|
|
126
|
+
"default": "./react/dist/selection.js"
|
|
127
|
+
},
|
|
128
|
+
"./react/overlay": {
|
|
129
|
+
"types": "./react/dist/overlay.d.ts",
|
|
130
|
+
"import": "./react/dist/overlay.js",
|
|
131
|
+
"default": "./react/dist/overlay.js"
|
|
132
|
+
},
|
|
133
|
+
"./react/navigation": {
|
|
134
|
+
"types": "./react/dist/navigation.d.ts",
|
|
135
|
+
"import": "./react/dist/navigation.js",
|
|
136
|
+
"default": "./react/dist/navigation.js"
|
|
137
|
+
},
|
|
138
|
+
"./react/status": {
|
|
139
|
+
"types": "./react/dist/status.d.ts",
|
|
140
|
+
"import": "./react/dist/status.js",
|
|
141
|
+
"default": "./react/dist/status.js"
|
|
142
|
+
},
|
|
143
|
+
"./react/toast": {
|
|
144
|
+
"types": "./react/dist/toast.d.ts",
|
|
145
|
+
"import": "./react/dist/toast.js",
|
|
146
|
+
"default": "./react/dist/toast.js"
|
|
147
|
+
},
|
|
148
|
+
"./react/data": {
|
|
149
|
+
"types": "./react/dist/data.d.ts",
|
|
150
|
+
"import": "./react/dist/data.js",
|
|
151
|
+
"default": "./react/dist/data.js"
|
|
152
|
+
},
|
|
153
|
+
"./react/brand": {
|
|
154
|
+
"types": "./react/dist/brand.d.ts",
|
|
155
|
+
"import": "./react/dist/brand.js",
|
|
156
|
+
"default": "./react/dist/brand.js"
|
|
157
|
+
},
|
|
158
|
+
"./react/recipes": {
|
|
159
|
+
"types": "./react/dist/recipes.d.ts",
|
|
160
|
+
"import": "./react/dist/recipes.js",
|
|
161
|
+
"default": "./react/dist/recipes.js"
|
|
162
|
+
},
|
|
163
|
+
"./react/recipes/market-row": {
|
|
164
|
+
"types": "./react/dist/recipes/market-row.d.ts",
|
|
165
|
+
"import": "./react/dist/recipes/market-row.js",
|
|
166
|
+
"default": "./react/dist/recipes/market-row.js"
|
|
167
|
+
},
|
|
168
|
+
"./react/recipes/balance-card": {
|
|
169
|
+
"types": "./react/dist/recipes/balance-card.d.ts",
|
|
170
|
+
"import": "./react/dist/recipes/balance-card.js",
|
|
171
|
+
"default": "./react/dist/recipes/balance-card.js"
|
|
172
|
+
},
|
|
173
|
+
"./react/recipes/trade-entry": {
|
|
174
|
+
"types": "./react/dist/recipes/trade-entry.d.ts",
|
|
175
|
+
"import": "./react/dist/recipes/trade-entry.js",
|
|
176
|
+
"default": "./react/dist/recipes/trade-entry.js"
|
|
177
|
+
},
|
|
178
|
+
"./react/recipes/swap-panel": {
|
|
179
|
+
"types": "./react/dist/recipes/swap-panel.d.ts",
|
|
180
|
+
"import": "./react/dist/recipes/swap-panel.js",
|
|
181
|
+
"default": "./react/dist/recipes/swap-panel.js"
|
|
182
|
+
},
|
|
183
|
+
"./react/recipes/pickers": {
|
|
184
|
+
"types": "./react/dist/recipes/pickers.d.ts",
|
|
185
|
+
"import": "./react/dist/recipes/pickers.js",
|
|
186
|
+
"default": "./react/dist/recipes/pickers.js"
|
|
187
|
+
},
|
|
188
|
+
"./react/recipes/swap-sheet": {
|
|
189
|
+
"types": "./react/dist/recipes/swap-sheet.d.ts",
|
|
190
|
+
"import": "./react/dist/recipes/swap-sheet.js",
|
|
191
|
+
"default": "./react/dist/recipes/swap-sheet.js"
|
|
192
|
+
},
|
|
193
|
+
"./react/recipes/install-command": {
|
|
194
|
+
"types": "./react/dist/recipes/install-command.d.ts",
|
|
195
|
+
"import": "./react/dist/recipes/install-command.js",
|
|
196
|
+
"default": "./react/dist/recipes/install-command.js"
|
|
197
|
+
},
|
|
198
|
+
"./react/recipes/code-window": {
|
|
199
|
+
"types": "./react/dist/recipes/code-window.d.ts",
|
|
200
|
+
"import": "./react/dist/recipes/code-window.js",
|
|
201
|
+
"default": "./react/dist/recipes/code-window.js"
|
|
202
|
+
},
|
|
203
|
+
"./react/recipes/marketing-hero": {
|
|
204
|
+
"types": "./react/dist/recipes/marketing-hero.d.ts",
|
|
205
|
+
"import": "./react/dist/recipes/marketing-hero.js",
|
|
206
|
+
"default": "./react/dist/recipes/marketing-hero.js"
|
|
207
|
+
},
|
|
208
|
+
"./react/recipes/activity-list": {
|
|
209
|
+
"types": "./react/dist/recipes/activity-list.d.ts",
|
|
210
|
+
"import": "./react/dist/recipes/activity-list.js",
|
|
211
|
+
"default": "./react/dist/recipes/activity-list.js"
|
|
212
|
+
},
|
|
213
|
+
"./react/css": {
|
|
214
|
+
"types": "./css.d.ts",
|
|
215
|
+
"default": "./react/dist/styles.css"
|
|
216
|
+
},
|
|
217
|
+
"./react/css/base": {
|
|
218
|
+
"types": "./css.d.ts",
|
|
219
|
+
"default": "./react/dist/base.css"
|
|
220
|
+
},
|
|
221
|
+
"./react/animated-number": {
|
|
222
|
+
"types": "./react/dist/animated-number.d.ts",
|
|
223
|
+
"import": "./react/dist/animated-number.js",
|
|
224
|
+
"default": "./react/dist/animated-number.js"
|
|
225
|
+
},
|
|
226
|
+
"./react/wallet-address": {
|
|
227
|
+
"types": "./react/dist/wallet-address.d.ts",
|
|
228
|
+
"import": "./react/dist/wallet-address.js",
|
|
229
|
+
"default": "./react/dist/wallet-address.js"
|
|
230
|
+
},
|
|
231
|
+
"./react/gesture-sheet": {
|
|
232
|
+
"types": "./react/dist/gesture-sheet.d.ts",
|
|
233
|
+
"import": "./react/dist/gesture-sheet.js",
|
|
234
|
+
"default": "./react/dist/gesture-sheet.js"
|
|
235
|
+
},
|
|
236
|
+
"./chart": {
|
|
237
|
+
"types": "./chart/dist/index.d.ts",
|
|
238
|
+
"import": "./chart/dist/index.js",
|
|
239
|
+
"default": "./chart/dist/index.js"
|
|
240
|
+
},
|
|
241
|
+
"./native/wallet-address": {
|
|
242
|
+
"types": "./native/dist/wallet-address.d.ts",
|
|
243
|
+
"import": "./native/dist/wallet-address.js",
|
|
244
|
+
"default": "./native/dist/wallet-address.js"
|
|
245
|
+
},
|
|
246
|
+
"./native/pickers": {
|
|
247
|
+
"types": "./native/dist/pickers.d.ts",
|
|
248
|
+
"import": "./native/dist/pickers.js",
|
|
249
|
+
"default": "./native/dist/pickers.js"
|
|
250
|
+
},
|
|
251
|
+
"./native/swap-sheet": {
|
|
252
|
+
"types": "./native/dist/swap-sheet.d.ts",
|
|
253
|
+
"import": "./native/dist/swap-sheet.js",
|
|
254
|
+
"default": "./native/dist/swap-sheet.js"
|
|
255
|
+
},
|
|
256
|
+
"./native/provider": {
|
|
257
|
+
"types": "./native/dist/provider.d.ts",
|
|
258
|
+
"import": "./native/dist/provider.js",
|
|
259
|
+
"default": "./native/dist/provider.js"
|
|
260
|
+
},
|
|
261
|
+
"./native/button": {
|
|
262
|
+
"types": "./native/dist/button.d.ts",
|
|
263
|
+
"import": "./native/dist/button.js",
|
|
264
|
+
"default": "./native/dist/button.js"
|
|
265
|
+
},
|
|
266
|
+
"./native/surface": {
|
|
267
|
+
"types": "./native/dist/surface.d.ts",
|
|
268
|
+
"import": "./native/dist/surface.js",
|
|
269
|
+
"default": "./native/dist/surface.js"
|
|
270
|
+
},
|
|
271
|
+
"./native/field": {
|
|
272
|
+
"types": "./native/dist/field.d.ts",
|
|
273
|
+
"import": "./native/dist/field.js",
|
|
274
|
+
"default": "./native/dist/field.js"
|
|
275
|
+
},
|
|
276
|
+
"./native/selection": {
|
|
277
|
+
"types": "./native/dist/selection.d.ts",
|
|
278
|
+
"import": "./native/dist/selection.js",
|
|
279
|
+
"default": "./native/dist/selection.js"
|
|
280
|
+
},
|
|
281
|
+
"./native/overlay": {
|
|
282
|
+
"types": "./native/dist/overlay.d.ts",
|
|
283
|
+
"import": "./native/dist/overlay.js",
|
|
284
|
+
"default": "./native/dist/overlay.js"
|
|
285
|
+
},
|
|
286
|
+
"./native/navigation": {
|
|
287
|
+
"types": "./native/dist/navigation.d.ts",
|
|
288
|
+
"import": "./native/dist/navigation.js",
|
|
289
|
+
"default": "./native/dist/navigation.js"
|
|
290
|
+
},
|
|
291
|
+
"./native/status": {
|
|
292
|
+
"types": "./native/dist/status.d.ts",
|
|
293
|
+
"import": "./native/dist/status.js",
|
|
294
|
+
"default": "./native/dist/status.js"
|
|
295
|
+
},
|
|
296
|
+
"./native/data": {
|
|
297
|
+
"types": "./native/dist/data.d.ts",
|
|
298
|
+
"import": "./native/dist/data.js",
|
|
299
|
+
"default": "./native/dist/data.js"
|
|
300
|
+
},
|
|
301
|
+
"./native/brand": {
|
|
302
|
+
"types": "./native/dist/brand.d.ts",
|
|
303
|
+
"import": "./native/dist/brand.js",
|
|
304
|
+
"default": "./native/dist/brand.js"
|
|
305
|
+
},
|
|
306
|
+
"./native/recipes": {
|
|
307
|
+
"types": "./native/dist/recipes.d.ts",
|
|
308
|
+
"import": "./native/dist/recipes.js",
|
|
309
|
+
"default": "./native/dist/recipes.js"
|
|
310
|
+
},
|
|
311
|
+
"./native/switch": {
|
|
312
|
+
"types": "./native/dist/switch.d.ts",
|
|
313
|
+
"import": "./native/dist/switch.js",
|
|
314
|
+
"default": "./native/dist/switch.js"
|
|
315
|
+
},
|
|
316
|
+
"./native/checkbox": {
|
|
317
|
+
"types": "./native/dist/checkbox.d.ts",
|
|
318
|
+
"import": "./native/dist/checkbox.js",
|
|
319
|
+
"default": "./native/dist/checkbox.js"
|
|
320
|
+
},
|
|
321
|
+
"./native/radio-group": {
|
|
322
|
+
"types": "./native/dist/radio-group.d.ts",
|
|
323
|
+
"import": "./native/dist/radio-group.js",
|
|
324
|
+
"default": "./native/dist/radio-group.js"
|
|
325
|
+
},
|
|
326
|
+
"./native/select": {
|
|
327
|
+
"types": "./native/dist/select.d.ts",
|
|
328
|
+
"import": "./native/dist/select.js",
|
|
329
|
+
"default": "./native/dist/select.js"
|
|
330
|
+
},
|
|
331
|
+
"./native/slider": {
|
|
332
|
+
"types": "./native/dist/slider.d.ts",
|
|
333
|
+
"import": "./native/dist/slider.js",
|
|
334
|
+
"default": "./native/dist/slider.js"
|
|
335
|
+
},
|
|
336
|
+
"./native/segmented-control": {
|
|
337
|
+
"types": "./native/dist/radio-group.d.ts",
|
|
338
|
+
"import": "./native/dist/radio-group.js",
|
|
339
|
+
"default": "./native/dist/radio-group.js"
|
|
340
|
+
},
|
|
341
|
+
"./native/gesture-sheet": {
|
|
342
|
+
"types": "./native/dist/gesture-sheet.d.ts",
|
|
343
|
+
"import": "./native/dist/gesture-sheet.js",
|
|
344
|
+
"default": "./native/dist/gesture-sheet.js"
|
|
345
|
+
},
|
|
346
|
+
"./native/animated-number": {
|
|
347
|
+
"types": "./native/dist/animated-number.d.ts",
|
|
348
|
+
"import": "./native/dist/animated-number.js",
|
|
349
|
+
"default": "./native/dist/animated-number.js"
|
|
350
|
+
},
|
|
351
|
+
"./package.json": "./package.json"
|
|
352
|
+
},
|
|
353
|
+
"files": [
|
|
354
|
+
"README.md",
|
|
355
|
+
"LICENSE",
|
|
356
|
+
"css.d.ts",
|
|
357
|
+
"tokens/dist",
|
|
358
|
+
"tokens/assets",
|
|
359
|
+
"tokens/README.md",
|
|
360
|
+
"contracts/dist",
|
|
361
|
+
"contracts/assets",
|
|
362
|
+
"contracts/README.md",
|
|
363
|
+
"native-fonts/dist",
|
|
364
|
+
"native-fonts/fonts",
|
|
365
|
+
"native-fonts/README.md",
|
|
366
|
+
"og-fonts/dist",
|
|
367
|
+
"og-fonts/fonts",
|
|
368
|
+
"og-fonts/README.md",
|
|
369
|
+
"feedback/dist",
|
|
370
|
+
"feedback/assets",
|
|
371
|
+
"feedback/README.md",
|
|
372
|
+
"react/dist",
|
|
373
|
+
"react/README.md",
|
|
374
|
+
"chart/dist",
|
|
375
|
+
"chart/README.md",
|
|
376
|
+
"native/dist",
|
|
377
|
+
"native/android/build.gradle",
|
|
378
|
+
"native/android/src",
|
|
379
|
+
"native/README.md"
|
|
380
|
+
],
|
|
381
|
+
"sideEffects": [
|
|
382
|
+
"**/*.css"
|
|
383
|
+
],
|
|
384
|
+
"peerDependencies": {
|
|
385
|
+
"react": "^19.1.0",
|
|
386
|
+
"@bloxwap/sfx": "^0.2.0 || ^0.3.0",
|
|
387
|
+
"@bloxwap/haptic": "^0.2.0 || ^0.3.0 || ^0.4.0",
|
|
388
|
+
"expo-audio": "~1.1.1 || ~55.0.18 || ~58.0.10",
|
|
389
|
+
"expo-haptics": "~15.0.7 || ~55.0.18 || ~58.0.7",
|
|
390
|
+
"react-dom": "^19.1.0",
|
|
391
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
392
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
393
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
394
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
395
|
+
"vaul": "^1.1.2",
|
|
396
|
+
"sonner": "^2.0.0",
|
|
397
|
+
"cuer": ">=0.0.3 <0.1.0",
|
|
398
|
+
"@bloxwap/chart": "^0.3.0 || ^0.4.0 || ^0.5.0",
|
|
399
|
+
"react-native": "^0.81.5 || ^0.83.10 || ^0.88.0",
|
|
400
|
+
"react-native-svg": "15.12.1 || 15.15.3 || 15.16.0",
|
|
401
|
+
"@react-native-community/slider": "5.0.1 || 5.1.2 || 5.2.1",
|
|
402
|
+
"react-native-safe-area-context": "~5.6.0 || ~5.10.1 || ~5.11.1",
|
|
403
|
+
"@gorhom/bottom-sheet": "^5.2.14",
|
|
404
|
+
"react-native-reanimated": "^4.1.1",
|
|
405
|
+
"react-native-worklets": "^0.5.1 || ^0.7.4 || ^0.13.0",
|
|
406
|
+
"react-native-gesture-handler": "^2.28.0 || ^3.3.0"
|
|
407
|
+
},
|
|
408
|
+
"peerDependenciesMeta": {
|
|
409
|
+
"react": {
|
|
410
|
+
"optional": true
|
|
411
|
+
},
|
|
412
|
+
"@bloxwap/sfx": {
|
|
413
|
+
"optional": true
|
|
414
|
+
},
|
|
415
|
+
"@bloxwap/haptic": {
|
|
416
|
+
"optional": true
|
|
417
|
+
},
|
|
418
|
+
"expo-audio": {
|
|
419
|
+
"optional": true
|
|
420
|
+
},
|
|
421
|
+
"expo-haptics": {
|
|
422
|
+
"optional": true
|
|
423
|
+
},
|
|
424
|
+
"react-dom": {
|
|
425
|
+
"optional": true
|
|
426
|
+
},
|
|
427
|
+
"@radix-ui/react-dialog": {
|
|
428
|
+
"optional": true
|
|
429
|
+
},
|
|
430
|
+
"@radix-ui/react-dropdown-menu": {
|
|
431
|
+
"optional": true
|
|
432
|
+
},
|
|
433
|
+
"@radix-ui/react-popover": {
|
|
434
|
+
"optional": true
|
|
435
|
+
},
|
|
436
|
+
"@radix-ui/react-tooltip": {
|
|
437
|
+
"optional": true
|
|
438
|
+
},
|
|
439
|
+
"vaul": {
|
|
440
|
+
"optional": true
|
|
441
|
+
},
|
|
442
|
+
"sonner": {
|
|
443
|
+
"optional": true
|
|
444
|
+
},
|
|
445
|
+
"cuer": {
|
|
446
|
+
"optional": true
|
|
447
|
+
},
|
|
448
|
+
"react-native": {
|
|
449
|
+
"optional": true
|
|
450
|
+
},
|
|
451
|
+
"react-native-svg": {
|
|
452
|
+
"optional": true
|
|
453
|
+
},
|
|
454
|
+
"@react-native-community/slider": {
|
|
455
|
+
"optional": true
|
|
456
|
+
},
|
|
457
|
+
"react-native-safe-area-context": {
|
|
458
|
+
"optional": true
|
|
459
|
+
},
|
|
460
|
+
"@gorhom/bottom-sheet": {
|
|
461
|
+
"optional": true
|
|
462
|
+
},
|
|
463
|
+
"react-native-reanimated": {
|
|
464
|
+
"optional": true
|
|
465
|
+
},
|
|
466
|
+
"react-native-worklets": {
|
|
467
|
+
"optional": true
|
|
468
|
+
},
|
|
469
|
+
"react-native-gesture-handler": {
|
|
470
|
+
"optional": true
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"repository": {
|
|
474
|
+
"type": "git",
|
|
475
|
+
"url": "https://github.com/bloxwap/hig",
|
|
476
|
+
"directory": "packages/hig"
|
|
477
|
+
}
|
|
478
|
+
}
|
package/react/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @bloxwap/hig/react
|
|
2
|
+
|
|
3
|
+
Version 0.5.1, an entry of `@bloxwap/hig`. Import individual entries; see docs/components for platform and accessibility contracts.
|
|
4
|
+
|
|
5
|
+
Set a brand accent with `<HIGProvider primaryColor='#ff0000'>` from
|
|
6
|
+
`@bloxwap/hig/react/provider`. It accepts opaque sRGB hex (`#RGB` or `#RRGGBB`),
|
|
7
|
+
sets action/focus colours, and selects black or white text on primary fills.
|
|
8
|
+
Omit it to keep Bloxwap green. Nested providers inherit the accent.
|
|
9
|
+
Status and buy/sell colours stay independent. See [the colour guide](../../../docs/foundations/platform.md#primary-brand-colour).
|
|
10
|
+
|
|
11
|
+
## Mobile hosts
|
|
12
|
+
|
|
13
|
+
`@bloxwap/hig/react/css` handles the component layer on touch devices: hover styles apply only to a precise
|
|
14
|
+
pointer (`hover: hover` and `pointer: fine`), controls fire click without the double-tap-zoom wait and draw their
|
|
15
|
+
own press state instead of the browser's tap flash, control labels can't be selected by a long press, text
|
|
16
|
+
fields use at least 16px on touch so iOS doesn't zoom into them, and edge sheets and dialogs leave room for
|
|
17
|
+
`env(safe-area-inset-*)`. It never styles `html`, `body` or the viewport. Set those in the host:
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
|
21
|
+
<meta name="theme-color" content="#0a0a0a" />
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Hosts don't need their own sticky-hover overrides for HIG components, and should remove any they have. An
|
|
25
|
+
override keyed to HIG class names stops matching silently when a release renames a class or changes a rule's
|
|
26
|
+
specificity. HIG keeps every `:hover` rule behind `(hover: hover) and (pointer: fine)`, and `tests/touch-css.test.ts`
|
|
27
|
+
fails the build if one escapes.
|
|
28
|
+
|
|
29
|
+
`viewport-fit=cover` is what makes the safe-area insets non-zero. Don't add `maximum-scale` or `user-scalable=no`.
|
|
30
|
+
Add `overscroll-behavior: none` to `html, body` only if the app owns its own scrolling and you don't want pull-to-refresh.
|