@akita-protocol/algomd-rn 1.0.0-alpha.7 → 1.0.0-alpha.9

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/README.md CHANGED
@@ -52,7 +52,7 @@ The main app currently links `@akita-protocol/algomd-rn` to `../algomd-rn`. Metr
52
52
 
53
53
  Page links, locked/unlocked content, placeholders, snapshots, loading, and inline identities have additional controls and stories under **References / App embeds**. The older `showApps`, `showContext`, and `showFee` props are deprecated because those extra sections are absent from the app layout.
54
54
 
55
- Browser previews bundle the app's Space Grotesk fonts. Native hosts must register the five `spaceGrotesk*` families shown in `examples/native/.rnstorybook/preview.tsx`; the main app already does this.
55
+ Browser previews bundle the app's Allo fonts. Native hosts must register the five `allo*` families shown in `examples/native/.rnstorybook/preview.tsx`; the main app already does this.
56
56
 
57
57
  ## Coverage and keeping the platforms aligned
58
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akita-protocol/algomd-rn",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.9",
4
4
  "main": "src/index.ts",
5
5
  "types": "src/index.ts",
6
6
  "react-native": "src/index.ts",
@@ -79,7 +79,7 @@
79
79
  "vite": "^6.4.3"
80
80
  },
81
81
  "dependencies": {
82
- "@akita-protocol/algomd-core": "1.0.0-alpha.7"
82
+ "@akita-protocol/algomd-core": "1.0.0-alpha.9"
83
83
  },
84
84
  "exports": {
85
85
  ".": "./src/index.ts",
Binary file
Binary file
Binary file
Binary file
Binary file
package/src/fonts/OFL.txt CHANGED
@@ -1,93 +1,93 @@
1
- Copyright 2020 The Space Grotesk Project Authors (https://github.com/floriankarsten/space-grotesk)
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
- http://scripts.sil.org/OFL
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) or 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.
1
+ Copyright 2026 Josh Puckett (https://joshpuckett.me)
2
+ Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
3
+
4
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
5
+ This license is copied below, and is also available with a FAQ at:
6
+ http://scripts.sil.org/OFL
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 AND 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) or 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,17 @@
1
+ # Fonts
2
+
3
+ Allo 1.0 by Josh Puckett (https://allo.joshpuckett.me), SIL Open Font License 1.1 (see `OFL.txt`).
4
+
5
+ The five static TTFs are instances of `AlloVariable` from the `allo-font@1.0.0` npm package at
6
+ optical size 14 and roundness 50, the font's defaults, for weights 300, 400, 500, 600 and 700.
7
+ React Native can't set variation axes, so the library ships static files. To rebuild them:
8
+
9
+ ```python
10
+ from fontTools.ttLib import TTFont
11
+ from fontTools.varLib.instancer import instantiateVariableFont
12
+ font = instantiateVariableFont(TTFont("AlloVariable.woff2"), {"opsz": 14, "wght": 400, "ROND": 50}, updateFontNames=True)
13
+ font.flavor = None
14
+ font.save("Allo_400Regular.ttf")
15
+ ```
16
+
17
+ Hosts register them under the families `alloLight`, `alloRegular`, `alloMedium`, `alloSemiBold` and `alloBold`.
package/src/fonts/app.css CHANGED
@@ -1,5 +1,5 @@
1
- @font-face { font-family: 'spaceGroteskLight'; src: url('./SpaceGrotesk_300Light.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: block; }
2
- @font-face { font-family: 'spaceGroteskRegular'; src: url('./SpaceGrotesk_400Regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: block; }
3
- @font-face { font-family: 'spaceGroteskMedium'; src: url('./SpaceGrotesk_500Medium.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: block; }
4
- @font-face { font-family: 'spaceGroteskSemiBold'; src: url('./SpaceGrotesk_600SemiBold.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: block; }
5
- @font-face { font-family: 'spaceGroteskBold'; src: url('./SpaceGrotesk_700Bold.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: block; }
1
+ @font-face { font-family: 'alloLight'; src: url('./Allo_300Light.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: block; }
2
+ @font-face { font-family: 'alloRegular'; src: url('./Allo_400Regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: block; }
3
+ @font-face { font-family: 'alloMedium'; src: url('./Allo_500Medium.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: block; }
4
+ @font-face { font-family: 'alloSemiBold'; src: url('./Allo_600SemiBold.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: block; }
5
+ @font-face { font-family: 'alloBold'; src: url('./Allo_700Bold.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: block; }
@@ -9,9 +9,9 @@ export const sizes = {
9
9
  xxs: [12, 18],
10
10
  };
11
11
  export const fonts = {
12
- light: "spaceGroteskLight",
13
- normal: "spaceGroteskRegular",
14
- medium: "spaceGroteskMedium",
15
- semiBold: "spaceGroteskSemiBold",
16
- bold: "spaceGroteskBold",
12
+ light: "alloLight",
13
+ normal: "alloRegular",
14
+ medium: "alloMedium",
15
+ semiBold: "alloSemiBold",
16
+ bold: "alloBold",
17
17
  };
Binary file
Binary file