@northstar-js/fonts 0.0.0-stage → 0.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 ADDED
@@ -0,0 +1,195 @@
1
+ This package redistributes two font families, each under the SIL Open Font License 1.1.
2
+
3
+ ================================================================
4
+ Inter
5
+ ================================================================
6
+ Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
7
+
8
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
9
+ This license is copied below, and is also available with a FAQ at:
10
+ http://scripts.sil.org/OFL
11
+
12
+
13
+ -----------------------------------------------------------
14
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
15
+ -----------------------------------------------------------
16
+
17
+ PREAMBLE
18
+ The goals of the Open Font License (OFL) are to stimulate worldwide
19
+ development of collaborative font projects, to support the font creation
20
+ efforts of academic and linguistic communities, and to provide a free and
21
+ open framework in which fonts may be shared and improved in partnership
22
+ with others.
23
+
24
+ The OFL allows the licensed fonts to be used, studied, modified and
25
+ redistributed freely as long as they are not sold by themselves. The
26
+ fonts, including any derivative works, can be bundled, embedded,
27
+ redistributed and/or sold with any software provided that any reserved
28
+ names are not used by derivative works. The fonts and derivatives,
29
+ however, cannot be released under any other type of license. The
30
+ requirement for fonts to remain under this license does not apply
31
+ to any document created using the fonts or their derivatives.
32
+
33
+ DEFINITIONS
34
+ "Font Software" refers to the set of files released by the Copyright
35
+ Holder(s) under this license and clearly marked as such. This may
36
+ include source files, build scripts and documentation.
37
+
38
+ "Reserved Font Name" refers to any names specified as such after the
39
+ copyright statement(s).
40
+
41
+ "Original Version" refers to the collection of Font Software components as
42
+ distributed by the Copyright Holder(s).
43
+
44
+ "Modified Version" refers to any derivative made by adding to, deleting,
45
+ or substituting -- in part or in whole -- any of the components of the
46
+ Original Version, by changing formats or by porting the Font Software to a
47
+ new environment.
48
+
49
+ "Author" refers to any designer, engineer, programmer, technical
50
+ writer or other person who contributed to the Font Software.
51
+
52
+ PERMISSION & CONDITIONS
53
+ Permission is hereby granted, free of charge, to any person obtaining
54
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
55
+ redistribute, and sell modified and unmodified copies of the Font
56
+ Software, subject to the following conditions:
57
+
58
+ 1) Neither the Font Software nor any of its individual components,
59
+ in Original or Modified Versions, may be sold by itself.
60
+
61
+ 2) Original or Modified Versions of the Font Software may be bundled,
62
+ redistributed and/or sold with any software, provided that each copy
63
+ contains the above copyright notice and this license. These can be
64
+ included either as stand-alone text files, human-readable headers or
65
+ in the appropriate machine-readable metadata fields within text or
66
+ binary files as long as those fields can be easily viewed by the user.
67
+
68
+ 3) No Modified Version of the Font Software may use the Reserved Font
69
+ Name(s) unless explicit written permission is granted by the corresponding
70
+ Copyright Holder. This restriction only applies to the primary font name as
71
+ presented to the users.
72
+
73
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
74
+ Software shall not be used to promote, endorse or advertise any
75
+ Modified Version, except to acknowledge the contribution(s) of the
76
+ Copyright Holder(s) and the Author(s) or with their explicit written
77
+ permission.
78
+
79
+ 5) The Font Software, modified or unmodified, in part or in whole,
80
+ must be distributed entirely under this license, and must not be
81
+ distributed under any other license. The requirement for fonts to
82
+ remain under this license does not apply to any document created
83
+ using the Font Software.
84
+
85
+ TERMINATION
86
+ This license becomes null and void if any of the above conditions are
87
+ not met.
88
+
89
+ DISCLAIMER
90
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
91
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
92
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
93
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
94
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
95
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
96
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
97
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
98
+ OTHER DEALINGS IN THE FONT SOFTWARE.
99
+
100
+ ================================================================
101
+ IBM Plex Mono
102
+ ================================================================
103
+ Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-ThinItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-ExtraLight.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-ExtraLightItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Light.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-LightItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Regular.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Italic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Medium.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-MediumItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-SemiBold.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-SemiBoldItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Bold.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-BoldItalic.ttf: Copyright 2017 IBM Corp. All rights reserved.
104
+
105
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
106
+ This license is copied below, and is also available with a FAQ at:
107
+ http://scripts.sil.org/OFL
108
+
109
+
110
+ -----------------------------------------------------------
111
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
112
+ -----------------------------------------------------------
113
+
114
+ PREAMBLE
115
+ The goals of the Open Font License (OFL) are to stimulate worldwide
116
+ development of collaborative font projects, to support the font creation
117
+ efforts of academic and linguistic communities, and to provide a free and
118
+ open framework in which fonts may be shared and improved in partnership
119
+ with others.
120
+
121
+ The OFL allows the licensed fonts to be used, studied, modified and
122
+ redistributed freely as long as they are not sold by themselves. The
123
+ fonts, including any derivative works, can be bundled, embedded,
124
+ redistributed and/or sold with any software provided that any reserved
125
+ names are not used by derivative works. The fonts and derivatives,
126
+ however, cannot be released under any other type of license. The
127
+ requirement for fonts to remain under this license does not apply
128
+ to any document created using the fonts or their derivatives.
129
+
130
+ DEFINITIONS
131
+ "Font Software" refers to the set of files released by the Copyright
132
+ Holder(s) under this license and clearly marked as such. This may
133
+ include source files, build scripts and documentation.
134
+
135
+ "Reserved Font Name" refers to any names specified as such after the
136
+ copyright statement(s).
137
+
138
+ "Original Version" refers to the collection of Font Software components as
139
+ distributed by the Copyright Holder(s).
140
+
141
+ "Modified Version" refers to any derivative made by adding to, deleting,
142
+ or substituting -- in part or in whole -- any of the components of the
143
+ Original Version, by changing formats or by porting the Font Software to a
144
+ new environment.
145
+
146
+ "Author" refers to any designer, engineer, programmer, technical
147
+ writer or other person who contributed to the Font Software.
148
+
149
+ PERMISSION & CONDITIONS
150
+ Permission is hereby granted, free of charge, to any person obtaining
151
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
152
+ redistribute, and sell modified and unmodified copies of the Font
153
+ Software, subject to the following conditions:
154
+
155
+ 1) Neither the Font Software nor any of its individual components,
156
+ in Original or Modified Versions, may be sold by itself.
157
+
158
+ 2) Original or Modified Versions of the Font Software may be bundled,
159
+ redistributed and/or sold with any software, provided that each copy
160
+ contains the above copyright notice and this license. These can be
161
+ included either as stand-alone text files, human-readable headers or
162
+ in the appropriate machine-readable metadata fields within text or
163
+ binary files as long as those fields can be easily viewed by the user.
164
+
165
+ 3) No Modified Version of the Font Software may use the Reserved Font
166
+ Name(s) unless explicit written permission is granted by the corresponding
167
+ Copyright Holder. This restriction only applies to the primary font name as
168
+ presented to the users.
169
+
170
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
171
+ Software shall not be used to promote, endorse or advertise any
172
+ Modified Version, except to acknowledge the contribution(s) of the
173
+ Copyright Holder(s) and the Author(s) or with their explicit written
174
+ permission.
175
+
176
+ 5) The Font Software, modified or unmodified, in part or in whole,
177
+ must be distributed entirely under this license, and must not be
178
+ distributed under any other license. The requirement for fonts to
179
+ remain under this license does not apply to any document created
180
+ using the Font Software.
181
+
182
+ TERMINATION
183
+ This license becomes null and void if any of the above conditions are
184
+ not met.
185
+
186
+ DISCLAIMER
187
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
188
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
189
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
190
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
191
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
192
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
193
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
194
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
195
+ OTHER DEALINGS IN THE FONT SOFTWARE.
package/dist/fonts.css ADDED
@@ -0,0 +1,109 @@
1
+ /* @northstar-js/fonts — Inter and IBM Plex Mono, SIL OFL 1.1 (see LICENSE). Generated. */
2
+ /* inter-latin-ext-400-normal */
3
+ @font-face {
4
+ font-family: 'Inter';
5
+ font-style: normal;
6
+ font-display: swap;
7
+ font-weight: 400;
8
+ src: url(./files/inter-latin-ext-400-normal.woff2) format('woff2');
9
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
10
+ }
11
+ /* inter-latin-400-normal */
12
+ @font-face {
13
+ font-family: 'Inter';
14
+ font-style: normal;
15
+ font-display: swap;
16
+ font-weight: 400;
17
+ src: url(./files/inter-latin-400-normal.woff2) format('woff2');
18
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
19
+ }
20
+ /* inter-latin-ext-500-normal */
21
+ @font-face {
22
+ font-family: 'Inter';
23
+ font-style: normal;
24
+ font-display: swap;
25
+ font-weight: 500;
26
+ src: url(./files/inter-latin-ext-500-normal.woff2) format('woff2');
27
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
28
+ }
29
+ /* inter-latin-500-normal */
30
+ @font-face {
31
+ font-family: 'Inter';
32
+ font-style: normal;
33
+ font-display: swap;
34
+ font-weight: 500;
35
+ src: url(./files/inter-latin-500-normal.woff2) format('woff2');
36
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
37
+ }
38
+ /* inter-latin-ext-600-normal */
39
+ @font-face {
40
+ font-family: 'Inter';
41
+ font-style: normal;
42
+ font-display: swap;
43
+ font-weight: 600;
44
+ src: url(./files/inter-latin-ext-600-normal.woff2) format('woff2');
45
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
46
+ }
47
+ /* inter-latin-600-normal */
48
+ @font-face {
49
+ font-family: 'Inter';
50
+ font-style: normal;
51
+ font-display: swap;
52
+ font-weight: 600;
53
+ src: url(./files/inter-latin-600-normal.woff2) format('woff2');
54
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
55
+ }
56
+ /* ibm-plex-mono-latin-ext-400-normal */
57
+ @font-face {
58
+ font-family: 'IBM Plex Mono';
59
+ font-style: normal;
60
+ font-display: swap;
61
+ font-weight: 400;
62
+ src: url(./files/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2');
63
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
64
+ }
65
+ /* ibm-plex-mono-latin-400-normal */
66
+ @font-face {
67
+ font-family: 'IBM Plex Mono';
68
+ font-style: normal;
69
+ font-display: swap;
70
+ font-weight: 400;
71
+ src: url(./files/ibm-plex-mono-latin-400-normal.woff2) format('woff2');
72
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
73
+ }
74
+ /* ibm-plex-mono-latin-ext-500-normal */
75
+ @font-face {
76
+ font-family: 'IBM Plex Mono';
77
+ font-style: normal;
78
+ font-display: swap;
79
+ font-weight: 500;
80
+ src: url(./files/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2');
81
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
82
+ }
83
+ /* ibm-plex-mono-latin-500-normal */
84
+ @font-face {
85
+ font-family: 'IBM Plex Mono';
86
+ font-style: normal;
87
+ font-display: swap;
88
+ font-weight: 500;
89
+ src: url(./files/ibm-plex-mono-latin-500-normal.woff2) format('woff2');
90
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
91
+ }
92
+ /* ibm-plex-mono-latin-ext-600-normal */
93
+ @font-face {
94
+ font-family: 'IBM Plex Mono';
95
+ font-style: normal;
96
+ font-display: swap;
97
+ font-weight: 600;
98
+ src: url(./files/ibm-plex-mono-latin-ext-600-normal.woff2) format('woff2');
99
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
100
+ }
101
+ /* ibm-plex-mono-latin-600-normal */
102
+ @font-face {
103
+ font-family: 'IBM Plex Mono';
104
+ font-style: normal;
105
+ font-display: swap;
106
+ font-weight: 600;
107
+ src: url(./files/ibm-plex-mono-latin-600-normal.woff2) format('woff2');
108
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
109
+ }
package/package.json CHANGED
@@ -1,6 +1,39 @@
1
1
  {
2
2
  "name": "@northstar-js/fonts",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0",
4
+ "description": "Inter and IBM Plex Mono as WOFF2 (Latin and Latin Extended, 400/500/600) with a font-display: swap stylesheet.",
5
+ "license": "OFL-1.1",
6
+ "type": "module",
7
+ "sideEffects": [
8
+ "*.css"
9
+ ],
10
+ "exports": {
11
+ "./fonts.css": "./dist/fonts.css",
12
+ "./files/*": "./dist/files/*",
13
+ "./package.json": "./package.json"
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "LICENSE"
18
+ ],
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "devDependencies": {
23
+ "@fontsource/ibm-plex-mono": "5.3.0",
24
+ "@fontsource/inter": "5.3.0"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/ali-amaan/northstar-design-system.git",
29
+ "directory": "packages/fonts"
30
+ },
31
+ "homepage": "https://ali-amaan.github.io/northstar-design-system/",
32
+ "bugs": {
33
+ "url": "https://github.com/ali-amaan/northstar-design-system/issues"
34
+ },
35
+ "scripts": {
36
+ "build": "node scripts/build.mjs",
37
+ "test": "node scripts/build.mjs --verify"
38
+ }
6
39
  }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.