@ctrliq/quantic-fonts 1.63.6 → 1.64.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.
Files changed (132) hide show
  1. package/package.json +6 -6
  2. package/dist/__generated__.d.ts +0 -44
  3. package/dist/__generated__.js +0 -254
  4. package/dist/__generated__.js.map +0 -1
  5. package/dist/assets/Inter-Black.woff2 +0 -0
  6. package/dist/assets/Inter-BlackItalic.woff2 +0 -0
  7. package/dist/assets/Inter-Bold.woff2 +0 -0
  8. package/dist/assets/Inter-BoldItalic.woff2 +0 -0
  9. package/dist/assets/Inter-ExtraBold.woff2 +0 -0
  10. package/dist/assets/Inter-ExtraBoldItalic.woff2 +0 -0
  11. package/dist/assets/Inter-ExtraLight.woff2 +0 -0
  12. package/dist/assets/Inter-ExtraLightItalic.woff2 +0 -0
  13. package/dist/assets/Inter-Italic.woff2 +0 -0
  14. package/dist/assets/Inter-Light.woff2 +0 -0
  15. package/dist/assets/Inter-LightItalic.woff2 +0 -0
  16. package/dist/assets/Inter-Medium.woff2 +0 -0
  17. package/dist/assets/Inter-MediumItalic.woff2 +0 -0
  18. package/dist/assets/Inter-Regular.woff2 +0 -0
  19. package/dist/assets/Inter-SemiBold.woff2 +0 -0
  20. package/dist/assets/Inter-SemiBoldItalic.woff2 +0 -0
  21. package/dist/assets/Inter-Thin.woff2 +0 -0
  22. package/dist/assets/Inter-ThinItalic.woff2 +0 -0
  23. package/dist/assets/Roboto-Black.woff2 +0 -0
  24. package/dist/assets/Roboto-BlackItalic.woff2 +0 -0
  25. package/dist/assets/Roboto-Bold.woff2 +0 -0
  26. package/dist/assets/Roboto-BoldItalic.woff2 +0 -0
  27. package/dist/assets/Roboto-Light.woff2 +0 -0
  28. package/dist/assets/Roboto-LightItalic.woff2 +0 -0
  29. package/dist/assets/Roboto-Medium.woff2 +0 -0
  30. package/dist/assets/Roboto-MediumItalic.woff2 +0 -0
  31. package/dist/assets/Roboto-Regular.woff2 +0 -0
  32. package/dist/assets/Roboto-RegularItalic.woff2 +0 -0
  33. package/dist/assets/Roboto-Thin.woff2 +0 -0
  34. package/dist/assets/Roboto-ThinItalic.woff2 +0 -0
  35. package/dist/assets/Satoshi-Black.woff2 +0 -0
  36. package/dist/assets/Satoshi-BlackItalic.woff2 +0 -0
  37. package/dist/assets/Satoshi-Bold.woff2 +0 -0
  38. package/dist/assets/Satoshi-BoldItalic.woff2 +0 -0
  39. package/dist/assets/Satoshi-Italic.woff2 +0 -0
  40. package/dist/assets/Satoshi-Light.woff2 +0 -0
  41. package/dist/assets/Satoshi-LightItalic.woff2 +0 -0
  42. package/dist/assets/Satoshi-Medium.woff2 +0 -0
  43. package/dist/assets/Satoshi-MediumItalic.woff2 +0 -0
  44. package/dist/assets/Satoshi-Regular.woff2 +0 -0
  45. package/dist/assets/index.js +0 -1
  46. package/dist/fonts/inter/assets/Inter-Black.woff2.js +0 -4
  47. package/dist/fonts/inter/assets/Inter-Black.woff2.js.map +0 -1
  48. package/dist/fonts/inter/assets/Inter-BlackItalic.woff2.js +0 -4
  49. package/dist/fonts/inter/assets/Inter-BlackItalic.woff2.js.map +0 -1
  50. package/dist/fonts/inter/assets/Inter-Bold.woff2.js +0 -4
  51. package/dist/fonts/inter/assets/Inter-Bold.woff2.js.map +0 -1
  52. package/dist/fonts/inter/assets/Inter-BoldItalic.woff2.js +0 -4
  53. package/dist/fonts/inter/assets/Inter-BoldItalic.woff2.js.map +0 -1
  54. package/dist/fonts/inter/assets/Inter-ExtraBold.woff2.js +0 -4
  55. package/dist/fonts/inter/assets/Inter-ExtraBold.woff2.js.map +0 -1
  56. package/dist/fonts/inter/assets/Inter-ExtraBoldItalic.woff2.js +0 -4
  57. package/dist/fonts/inter/assets/Inter-ExtraBoldItalic.woff2.js.map +0 -1
  58. package/dist/fonts/inter/assets/Inter-ExtraLight.woff2.js +0 -4
  59. package/dist/fonts/inter/assets/Inter-ExtraLight.woff2.js.map +0 -1
  60. package/dist/fonts/inter/assets/Inter-ExtraLightItalic.woff2.js +0 -4
  61. package/dist/fonts/inter/assets/Inter-ExtraLightItalic.woff2.js.map +0 -1
  62. package/dist/fonts/inter/assets/Inter-Italic.woff2.js +0 -4
  63. package/dist/fonts/inter/assets/Inter-Italic.woff2.js.map +0 -1
  64. package/dist/fonts/inter/assets/Inter-Light.woff2.js +0 -4
  65. package/dist/fonts/inter/assets/Inter-Light.woff2.js.map +0 -1
  66. package/dist/fonts/inter/assets/Inter-LightItalic.woff2.js +0 -4
  67. package/dist/fonts/inter/assets/Inter-LightItalic.woff2.js.map +0 -1
  68. package/dist/fonts/inter/assets/Inter-Medium.woff2.js +0 -4
  69. package/dist/fonts/inter/assets/Inter-Medium.woff2.js.map +0 -1
  70. package/dist/fonts/inter/assets/Inter-MediumItalic.woff2.js +0 -4
  71. package/dist/fonts/inter/assets/Inter-MediumItalic.woff2.js.map +0 -1
  72. package/dist/fonts/inter/assets/Inter-Regular.woff2.js +0 -4
  73. package/dist/fonts/inter/assets/Inter-Regular.woff2.js.map +0 -1
  74. package/dist/fonts/inter/assets/Inter-SemiBold.woff2.js +0 -4
  75. package/dist/fonts/inter/assets/Inter-SemiBold.woff2.js.map +0 -1
  76. package/dist/fonts/inter/assets/Inter-SemiBoldItalic.woff2.js +0 -4
  77. package/dist/fonts/inter/assets/Inter-SemiBoldItalic.woff2.js.map +0 -1
  78. package/dist/fonts/inter/assets/Inter-Thin.woff2.js +0 -4
  79. package/dist/fonts/inter/assets/Inter-Thin.woff2.js.map +0 -1
  80. package/dist/fonts/inter/assets/Inter-ThinItalic.woff2.js +0 -4
  81. package/dist/fonts/inter/assets/Inter-ThinItalic.woff2.js.map +0 -1
  82. package/dist/fonts/roboto/assets/Roboto-Black.woff2.js +0 -4
  83. package/dist/fonts/roboto/assets/Roboto-Black.woff2.js.map +0 -1
  84. package/dist/fonts/roboto/assets/Roboto-BlackItalic.woff2.js +0 -4
  85. package/dist/fonts/roboto/assets/Roboto-BlackItalic.woff2.js.map +0 -1
  86. package/dist/fonts/roboto/assets/Roboto-Bold.woff2.js +0 -4
  87. package/dist/fonts/roboto/assets/Roboto-Bold.woff2.js.map +0 -1
  88. package/dist/fonts/roboto/assets/Roboto-BoldItalic.woff2.js +0 -4
  89. package/dist/fonts/roboto/assets/Roboto-BoldItalic.woff2.js.map +0 -1
  90. package/dist/fonts/roboto/assets/Roboto-Light.woff2.js +0 -4
  91. package/dist/fonts/roboto/assets/Roboto-Light.woff2.js.map +0 -1
  92. package/dist/fonts/roboto/assets/Roboto-LightItalic.woff2.js +0 -4
  93. package/dist/fonts/roboto/assets/Roboto-LightItalic.woff2.js.map +0 -1
  94. package/dist/fonts/roboto/assets/Roboto-Medium.woff2.js +0 -4
  95. package/dist/fonts/roboto/assets/Roboto-Medium.woff2.js.map +0 -1
  96. package/dist/fonts/roboto/assets/Roboto-MediumItalic.woff2.js +0 -4
  97. package/dist/fonts/roboto/assets/Roboto-MediumItalic.woff2.js.map +0 -1
  98. package/dist/fonts/roboto/assets/Roboto-Regular.woff2.js +0 -4
  99. package/dist/fonts/roboto/assets/Roboto-Regular.woff2.js.map +0 -1
  100. package/dist/fonts/roboto/assets/Roboto-RegularItalic.woff2.js +0 -4
  101. package/dist/fonts/roboto/assets/Roboto-RegularItalic.woff2.js.map +0 -1
  102. package/dist/fonts/roboto/assets/Roboto-Thin.woff2.js +0 -4
  103. package/dist/fonts/roboto/assets/Roboto-Thin.woff2.js.map +0 -1
  104. package/dist/fonts/roboto/assets/Roboto-ThinItalic.woff2.js +0 -4
  105. package/dist/fonts/roboto/assets/Roboto-ThinItalic.woff2.js.map +0 -1
  106. package/dist/fonts/satoshi/assets/Satoshi-Black.woff2.js +0 -4
  107. package/dist/fonts/satoshi/assets/Satoshi-Black.woff2.js.map +0 -1
  108. package/dist/fonts/satoshi/assets/Satoshi-BlackItalic.woff2.js +0 -4
  109. package/dist/fonts/satoshi/assets/Satoshi-BlackItalic.woff2.js.map +0 -1
  110. package/dist/fonts/satoshi/assets/Satoshi-Bold.woff2.js +0 -4
  111. package/dist/fonts/satoshi/assets/Satoshi-Bold.woff2.js.map +0 -1
  112. package/dist/fonts/satoshi/assets/Satoshi-BoldItalic.woff2.js +0 -4
  113. package/dist/fonts/satoshi/assets/Satoshi-BoldItalic.woff2.js.map +0 -1
  114. package/dist/fonts/satoshi/assets/Satoshi-Italic.woff2.js +0 -4
  115. package/dist/fonts/satoshi/assets/Satoshi-Italic.woff2.js.map +0 -1
  116. package/dist/fonts/satoshi/assets/Satoshi-Light.woff2.js +0 -4
  117. package/dist/fonts/satoshi/assets/Satoshi-Light.woff2.js.map +0 -1
  118. package/dist/fonts/satoshi/assets/Satoshi-LightItalic.woff2.js +0 -4
  119. package/dist/fonts/satoshi/assets/Satoshi-LightItalic.woff2.js.map +0 -1
  120. package/dist/fonts/satoshi/assets/Satoshi-Medium.woff2.js +0 -4
  121. package/dist/fonts/satoshi/assets/Satoshi-Medium.woff2.js.map +0 -1
  122. package/dist/fonts/satoshi/assets/Satoshi-MediumItalic.woff2.js +0 -4
  123. package/dist/fonts/satoshi/assets/Satoshi-MediumItalic.woff2.js.map +0 -1
  124. package/dist/fonts/satoshi/assets/Satoshi-Regular.woff2.js +0 -4
  125. package/dist/fonts/satoshi/assets/Satoshi-Regular.woff2.js.map +0 -1
  126. package/dist/index.d.ts +0 -1
  127. package/dist/index.js +0 -2
  128. package/dist/index.js.map +0 -1
  129. package/dist/register.d.ts +0 -5
  130. package/dist/register.js +0 -76
  131. package/dist/register.js.map +0 -1
  132. package/dist/types/index.d.ts +0 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctrliq/quantic-fonts",
3
- "version": "1.63.6",
3
+ "version": "1.64.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -23,15 +23,15 @@
23
23
  "scripts": {
24
24
  "prebuild": "node ./scripts/generate-barrel.mjs",
25
25
  "build": "rollup -c",
26
- "typecheck": "npm run prebuild && tsc",
26
+ "typecheck": "pnpm run prebuild && tsc",
27
27
  "release": "semantic-release"
28
28
  },
29
29
  "devDependencies": {
30
- "@rollup/plugin-node-resolve": "^16.0.1",
31
- "@rollup/plugin-typescript": "^12.1.2",
30
+ "@rollup/plugin-node-resolve": "catalog:",
31
+ "@rollup/plugin-typescript": "catalog:",
32
32
  "@rollup/plugin-url": "^8.0.2",
33
- "rollup": "^4.40.1",
34
- "typescript": "^5.8.3"
33
+ "rollup": "catalog:",
34
+ "typescript": "catalog:"
35
35
  },
36
36
  "dependencies": {
37
37
  "camelcase": "^8.0.0"
@@ -1,44 +0,0 @@
1
- import { type FontRegisterer } from './register';
2
- export declare const inter: FontRegisterer;
3
- export declare const inter100: FontRegisterer;
4
- export declare const inter100Italic: FontRegisterer;
5
- export declare const inter200: FontRegisterer;
6
- export declare const inter200Italic: FontRegisterer;
7
- export declare const inter300: FontRegisterer;
8
- export declare const inter300Italic: FontRegisterer;
9
- export declare const inter400: FontRegisterer;
10
- export declare const inter400Italic: FontRegisterer;
11
- export declare const inter500: FontRegisterer;
12
- export declare const inter500Italic: FontRegisterer;
13
- export declare const inter600: FontRegisterer;
14
- export declare const inter600Italic: FontRegisterer;
15
- export declare const inter700: FontRegisterer;
16
- export declare const inter700Italic: FontRegisterer;
17
- export declare const inter800: FontRegisterer;
18
- export declare const inter800Italic: FontRegisterer;
19
- export declare const inter900: FontRegisterer;
20
- export declare const inter900Italic: FontRegisterer;
21
- export declare const roboto: FontRegisterer;
22
- export declare const roboto100: FontRegisterer;
23
- export declare const roboto100Italic: FontRegisterer;
24
- export declare const roboto300: FontRegisterer;
25
- export declare const roboto300Italic: FontRegisterer;
26
- export declare const roboto400: FontRegisterer;
27
- export declare const roboto400Italic: FontRegisterer;
28
- export declare const roboto500: FontRegisterer;
29
- export declare const roboto500Italic: FontRegisterer;
30
- export declare const roboto700: FontRegisterer;
31
- export declare const roboto700Italic: FontRegisterer;
32
- export declare const roboto900: FontRegisterer;
33
- export declare const roboto900Italic: FontRegisterer;
34
- export declare const satoshi: FontRegisterer;
35
- export declare const satoshi300: FontRegisterer;
36
- export declare const satoshi300Italic: FontRegisterer;
37
- export declare const satoshi400: FontRegisterer;
38
- export declare const satoshi400Italic: FontRegisterer;
39
- export declare const satoshi500: FontRegisterer;
40
- export declare const satoshi500Italic: FontRegisterer;
41
- export declare const satoshi600: FontRegisterer;
42
- export declare const satoshi600Italic: FontRegisterer;
43
- export declare const satoshi900: FontRegisterer;
44
- export declare const satoshi900Italic: FontRegisterer;
@@ -1,254 +0,0 @@
1
- import { buildRegisterers } from './register.js';
2
- import file_inter_0 from './fonts/inter/assets/Inter-Thin.woff2.js';
3
- import file_inter_1 from './fonts/inter/assets/Inter-ThinItalic.woff2.js';
4
- import file_inter_2 from './fonts/inter/assets/Inter-ExtraLight.woff2.js';
5
- import file_inter_3 from './fonts/inter/assets/Inter-ExtraLightItalic.woff2.js';
6
- import file_inter_4 from './fonts/inter/assets/Inter-Light.woff2.js';
7
- import file_inter_5 from './fonts/inter/assets/Inter-LightItalic.woff2.js';
8
- import file_inter_6 from './fonts/inter/assets/Inter-Regular.woff2.js';
9
- import file_inter_7 from './fonts/inter/assets/Inter-Italic.woff2.js';
10
- import file_inter_8 from './fonts/inter/assets/Inter-Medium.woff2.js';
11
- import file_inter_9 from './fonts/inter/assets/Inter-MediumItalic.woff2.js';
12
- import file_inter_10 from './fonts/inter/assets/Inter-SemiBold.woff2.js';
13
- import file_inter_11 from './fonts/inter/assets/Inter-SemiBoldItalic.woff2.js';
14
- import file_inter_12 from './fonts/inter/assets/Inter-Bold.woff2.js';
15
- import file_inter_13 from './fonts/inter/assets/Inter-BoldItalic.woff2.js';
16
- import file_inter_14 from './fonts/inter/assets/Inter-ExtraBold.woff2.js';
17
- import file_inter_15 from './fonts/inter/assets/Inter-ExtraBoldItalic.woff2.js';
18
- import file_inter_16 from './fonts/inter/assets/Inter-Black.woff2.js';
19
- import file_inter_17 from './fonts/inter/assets/Inter-BlackItalic.woff2.js';
20
- import file_roboto_0 from './fonts/roboto/assets/Roboto-Thin.woff2.js';
21
- import file_roboto_1 from './fonts/roboto/assets/Roboto-ThinItalic.woff2.js';
22
- import file_roboto_2 from './fonts/roboto/assets/Roboto-Light.woff2.js';
23
- import file_roboto_3 from './fonts/roboto/assets/Roboto-LightItalic.woff2.js';
24
- import file_roboto_4 from './fonts/roboto/assets/Roboto-Regular.woff2.js';
25
- import file_roboto_5 from './fonts/roboto/assets/Roboto-RegularItalic.woff2.js';
26
- import file_roboto_6 from './fonts/roboto/assets/Roboto-Medium.woff2.js';
27
- import file_roboto_7 from './fonts/roboto/assets/Roboto-MediumItalic.woff2.js';
28
- import file_roboto_8 from './fonts/roboto/assets/Roboto-Bold.woff2.js';
29
- import file_roboto_9 from './fonts/roboto/assets/Roboto-BoldItalic.woff2.js';
30
- import file_roboto_10 from './fonts/roboto/assets/Roboto-Black.woff2.js';
31
- import file_roboto_11 from './fonts/roboto/assets/Roboto-BlackItalic.woff2.js';
32
- import file_satoshi_0 from './fonts/satoshi/assets/Satoshi-Light.woff2.js';
33
- import file_satoshi_1 from './fonts/satoshi/assets/Satoshi-LightItalic.woff2.js';
34
- import file_satoshi_2 from './fonts/satoshi/assets/Satoshi-Regular.woff2.js';
35
- import file_satoshi_3 from './fonts/satoshi/assets/Satoshi-Italic.woff2.js';
36
- import file_satoshi_4 from './fonts/satoshi/assets/Satoshi-Medium.woff2.js';
37
- import file_satoshi_5 from './fonts/satoshi/assets/Satoshi-MediumItalic.woff2.js';
38
- import file_satoshi_6 from './fonts/satoshi/assets/Satoshi-Bold.woff2.js';
39
- import file_satoshi_7 from './fonts/satoshi/assets/Satoshi-BoldItalic.woff2.js';
40
- import file_satoshi_8 from './fonts/satoshi/assets/Satoshi-Black.woff2.js';
41
- import file_satoshi_9 from './fonts/satoshi/assets/Satoshi-BlackItalic.woff2.js';
42
-
43
- const interConfig = { name: 'Inter', variants: [{
44
- weight: 100,
45
- style: "normal",
46
- file: file_inter_0
47
- }, {
48
- weight: 100,
49
- style: "italic",
50
- file: file_inter_1
51
- }, {
52
- weight: 200,
53
- style: "normal",
54
- file: file_inter_2
55
- }, {
56
- weight: 200,
57
- style: "italic",
58
- file: file_inter_3
59
- }, {
60
- weight: 300,
61
- style: "normal",
62
- file: file_inter_4
63
- }, {
64
- weight: 300,
65
- style: "italic",
66
- file: file_inter_5
67
- }, {
68
- weight: 400,
69
- style: "normal",
70
- file: file_inter_6
71
- }, {
72
- weight: 400,
73
- style: "italic",
74
- file: file_inter_7
75
- }, {
76
- weight: 500,
77
- style: "normal",
78
- file: file_inter_8
79
- }, {
80
- weight: 500,
81
- style: "italic",
82
- file: file_inter_9
83
- }, {
84
- weight: 600,
85
- style: "normal",
86
- file: file_inter_10
87
- }, {
88
- weight: 600,
89
- style: "italic",
90
- file: file_inter_11
91
- }, {
92
- weight: 700,
93
- style: "normal",
94
- file: file_inter_12
95
- }, {
96
- weight: 700,
97
- style: "italic",
98
- file: file_inter_13
99
- }, {
100
- weight: 800,
101
- style: "normal",
102
- file: file_inter_14
103
- }, {
104
- weight: 800,
105
- style: "italic",
106
- file: file_inter_15
107
- }, {
108
- weight: 900,
109
- style: "normal",
110
- file: file_inter_16
111
- }, {
112
- weight: 900,
113
- style: "italic",
114
- file: file_inter_17
115
- }] };
116
- const robotoConfig = { name: 'Roboto', variants: [{
117
- weight: 100,
118
- style: "normal",
119
- file: file_roboto_0
120
- }, {
121
- weight: 100,
122
- style: "italic",
123
- file: file_roboto_1
124
- }, {
125
- weight: 300,
126
- style: "normal",
127
- file: file_roboto_2
128
- }, {
129
- weight: 300,
130
- style: "italic",
131
- file: file_roboto_3
132
- }, {
133
- weight: 400,
134
- style: "normal",
135
- file: file_roboto_4
136
- }, {
137
- weight: 400,
138
- style: "italic",
139
- file: file_roboto_5
140
- }, {
141
- weight: 500,
142
- style: "normal",
143
- file: file_roboto_6
144
- }, {
145
- weight: 500,
146
- style: "italic",
147
- file: file_roboto_7
148
- }, {
149
- weight: 700,
150
- style: "normal",
151
- file: file_roboto_8
152
- }, {
153
- weight: 700,
154
- style: "italic",
155
- file: file_roboto_9
156
- }, {
157
- weight: 900,
158
- style: "normal",
159
- file: file_roboto_10
160
- }, {
161
- weight: 900,
162
- style: "italic",
163
- file: file_roboto_11
164
- }] };
165
- const satoshiConfig = { name: 'Satoshi', variants: [{
166
- weight: 300,
167
- style: "normal",
168
- file: file_satoshi_0
169
- }, {
170
- weight: 300,
171
- style: "italic",
172
- file: file_satoshi_1
173
- }, {
174
- weight: 400,
175
- style: "normal",
176
- file: file_satoshi_2
177
- }, {
178
- weight: 400,
179
- style: "italic",
180
- file: file_satoshi_3
181
- }, {
182
- weight: 500,
183
- style: "normal",
184
- file: file_satoshi_4
185
- }, {
186
- weight: 500,
187
- style: "italic",
188
- file: file_satoshi_5
189
- }, {
190
- weight: 600,
191
- style: "normal",
192
- file: file_satoshi_6
193
- }, {
194
- weight: 600,
195
- style: "italic",
196
- file: file_satoshi_7
197
- }, {
198
- weight: 900,
199
- style: "normal",
200
- file: file_satoshi_8
201
- }, {
202
- weight: 900,
203
- style: "italic",
204
- file: file_satoshi_9
205
- }] };
206
- const interRegs = buildRegisterers(interConfig);
207
- const robotoRegs = buildRegisterers(robotoConfig);
208
- const satoshiRegs = buildRegisterers(satoshiConfig);
209
- const inter = interRegs.inter;
210
- const inter100 = interRegs.inter100;
211
- const inter100Italic = interRegs.inter100Italic;
212
- const inter200 = interRegs.inter200;
213
- const inter200Italic = interRegs.inter200Italic;
214
- const inter300 = interRegs.inter300;
215
- const inter300Italic = interRegs.inter300Italic;
216
- const inter400 = interRegs.inter400;
217
- const inter400Italic = interRegs.inter400Italic;
218
- const inter500 = interRegs.inter500;
219
- const inter500Italic = interRegs.inter500Italic;
220
- const inter600 = interRegs.inter600;
221
- const inter600Italic = interRegs.inter600Italic;
222
- const inter700 = interRegs.inter700;
223
- const inter700Italic = interRegs.inter700Italic;
224
- const inter800 = interRegs.inter800;
225
- const inter800Italic = interRegs.inter800Italic;
226
- const inter900 = interRegs.inter900;
227
- const inter900Italic = interRegs.inter900Italic;
228
- const roboto = robotoRegs.roboto;
229
- const roboto100 = robotoRegs.roboto100;
230
- const roboto100Italic = robotoRegs.roboto100Italic;
231
- const roboto300 = robotoRegs.roboto300;
232
- const roboto300Italic = robotoRegs.roboto300Italic;
233
- const roboto400 = robotoRegs.roboto400;
234
- const roboto400Italic = robotoRegs.roboto400Italic;
235
- const roboto500 = robotoRegs.roboto500;
236
- const roboto500Italic = robotoRegs.roboto500Italic;
237
- const roboto700 = robotoRegs.roboto700;
238
- const roboto700Italic = robotoRegs.roboto700Italic;
239
- const roboto900 = robotoRegs.roboto900;
240
- const roboto900Italic = robotoRegs.roboto900Italic;
241
- const satoshi = satoshiRegs.satoshi;
242
- const satoshi300 = satoshiRegs.satoshi300;
243
- const satoshi300Italic = satoshiRegs.satoshi300Italic;
244
- const satoshi400 = satoshiRegs.satoshi400;
245
- const satoshi400Italic = satoshiRegs.satoshi400Italic;
246
- const satoshi500 = satoshiRegs.satoshi500;
247
- const satoshi500Italic = satoshiRegs.satoshi500Italic;
248
- const satoshi600 = satoshiRegs.satoshi600;
249
- const satoshi600Italic = satoshiRegs.satoshi600Italic;
250
- const satoshi900 = satoshiRegs.satoshi900;
251
- const satoshi900Italic = satoshiRegs.satoshi900Italic;
252
-
253
- export { inter, inter100, inter100Italic, inter200, inter200Italic, inter300, inter300Italic, inter400, inter400Italic, inter500, inter500Italic, inter600, inter600Italic, inter700, inter700Italic, inter800, inter800Italic, inter900, inter900Italic, roboto, roboto100, roboto100Italic, roboto300, roboto300Italic, roboto400, roboto400Italic, roboto500, roboto500Italic, roboto700, roboto700Italic, roboto900, roboto900Italic, satoshi, satoshi300, satoshi300Italic, satoshi400, satoshi400Italic, satoshi500, satoshi500Italic, satoshi600, satoshi600Italic, satoshi900, satoshi900Italic };
254
- //# sourceMappingURL=__generated__.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"__generated__.js","sources":["../src/__generated__.ts"],"sourcesContent":["import { buildRegisterers, type FontRegisterer, type FontRegisterers } from './register';\nimport file_inter_0 from './fonts/inter/assets/Inter-Thin.woff2';\nimport file_inter_1 from './fonts/inter/assets/Inter-ThinItalic.woff2';\nimport file_inter_2 from './fonts/inter/assets/Inter-ExtraLight.woff2';\nimport file_inter_3 from './fonts/inter/assets/Inter-ExtraLightItalic.woff2';\nimport file_inter_4 from './fonts/inter/assets/Inter-Light.woff2';\nimport file_inter_5 from './fonts/inter/assets/Inter-LightItalic.woff2';\nimport file_inter_6 from './fonts/inter/assets/Inter-Regular.woff2';\nimport file_inter_7 from './fonts/inter/assets/Inter-Italic.woff2';\nimport file_inter_8 from './fonts/inter/assets/Inter-Medium.woff2';\nimport file_inter_9 from './fonts/inter/assets/Inter-MediumItalic.woff2';\nimport file_inter_10 from './fonts/inter/assets/Inter-SemiBold.woff2';\nimport file_inter_11 from './fonts/inter/assets/Inter-SemiBoldItalic.woff2';\nimport file_inter_12 from './fonts/inter/assets/Inter-Bold.woff2';\nimport file_inter_13 from './fonts/inter/assets/Inter-BoldItalic.woff2';\nimport file_inter_14 from './fonts/inter/assets/Inter-ExtraBold.woff2';\nimport file_inter_15 from './fonts/inter/assets/Inter-ExtraBoldItalic.woff2';\nimport file_inter_16 from './fonts/inter/assets/Inter-Black.woff2';\nimport file_inter_17 from './fonts/inter/assets/Inter-BlackItalic.woff2';\n\nconst interConfig = { name: 'Inter', variants: [{\n weight: 100,\n style: \"normal\" as const,\n file: file_inter_0\n }, {\n weight: 100,\n style: \"italic\" as const,\n file: file_inter_1\n }, {\n weight: 200,\n style: \"normal\" as const,\n file: file_inter_2\n }, {\n weight: 200,\n style: \"italic\" as const,\n file: file_inter_3\n }, {\n weight: 300,\n style: \"normal\" as const,\n file: file_inter_4\n }, {\n weight: 300,\n style: \"italic\" as const,\n file: file_inter_5\n }, {\n weight: 400,\n style: \"normal\" as const,\n file: file_inter_6\n }, {\n weight: 400,\n style: \"italic\" as const,\n file: file_inter_7\n }, {\n weight: 500,\n style: \"normal\" as const,\n file: file_inter_8\n }, {\n weight: 500,\n style: \"italic\" as const,\n file: file_inter_9\n }, {\n weight: 600,\n style: \"normal\" as const,\n file: file_inter_10\n }, {\n weight: 600,\n style: \"italic\" as const,\n file: file_inter_11\n }, {\n weight: 700,\n style: \"normal\" as const,\n file: file_inter_12\n }, {\n weight: 700,\n style: \"italic\" as const,\n file: file_inter_13\n }, {\n weight: 800,\n style: \"normal\" as const,\n file: file_inter_14\n }, {\n weight: 800,\n style: \"italic\" as const,\n file: file_inter_15\n }, {\n weight: 900,\n style: \"normal\" as const,\n file: file_inter_16\n }, {\n weight: 900,\n style: \"italic\" as const,\n file: file_inter_17\n }] };\nimport file_roboto_0 from './fonts/roboto/assets/Roboto-Thin.woff2';\nimport file_roboto_1 from './fonts/roboto/assets/Roboto-ThinItalic.woff2';\nimport file_roboto_2 from './fonts/roboto/assets/Roboto-Light.woff2';\nimport file_roboto_3 from './fonts/roboto/assets/Roboto-LightItalic.woff2';\nimport file_roboto_4 from './fonts/roboto/assets/Roboto-Regular.woff2';\nimport file_roboto_5 from './fonts/roboto/assets/Roboto-RegularItalic.woff2';\nimport file_roboto_6 from './fonts/roboto/assets/Roboto-Medium.woff2';\nimport file_roboto_7 from './fonts/roboto/assets/Roboto-MediumItalic.woff2';\nimport file_roboto_8 from './fonts/roboto/assets/Roboto-Bold.woff2';\nimport file_roboto_9 from './fonts/roboto/assets/Roboto-BoldItalic.woff2';\nimport file_roboto_10 from './fonts/roboto/assets/Roboto-Black.woff2';\nimport file_roboto_11 from './fonts/roboto/assets/Roboto-BlackItalic.woff2';\n\nconst robotoConfig = { name: 'Roboto', variants: [{\n weight: 100,\n style: \"normal\" as const,\n file: file_roboto_0\n }, {\n weight: 100,\n style: \"italic\" as const,\n file: file_roboto_1\n }, {\n weight: 300,\n style: \"normal\" as const,\n file: file_roboto_2\n }, {\n weight: 300,\n style: \"italic\" as const,\n file: file_roboto_3\n }, {\n weight: 400,\n style: \"normal\" as const,\n file: file_roboto_4\n }, {\n weight: 400,\n style: \"italic\" as const,\n file: file_roboto_5\n }, {\n weight: 500,\n style: \"normal\" as const,\n file: file_roboto_6\n }, {\n weight: 500,\n style: \"italic\" as const,\n file: file_roboto_7\n }, {\n weight: 700,\n style: \"normal\" as const,\n file: file_roboto_8\n }, {\n weight: 700,\n style: \"italic\" as const,\n file: file_roboto_9\n }, {\n weight: 900,\n style: \"normal\" as const,\n file: file_roboto_10\n }, {\n weight: 900,\n style: \"italic\" as const,\n file: file_roboto_11\n }] };\nimport file_satoshi_0 from './fonts/satoshi/assets/Satoshi-Light.woff2';\nimport file_satoshi_1 from './fonts/satoshi/assets/Satoshi-LightItalic.woff2';\nimport file_satoshi_2 from './fonts/satoshi/assets/Satoshi-Regular.woff2';\nimport file_satoshi_3 from './fonts/satoshi/assets/Satoshi-Italic.woff2';\nimport file_satoshi_4 from './fonts/satoshi/assets/Satoshi-Medium.woff2';\nimport file_satoshi_5 from './fonts/satoshi/assets/Satoshi-MediumItalic.woff2';\nimport file_satoshi_6 from './fonts/satoshi/assets/Satoshi-Bold.woff2';\nimport file_satoshi_7 from './fonts/satoshi/assets/Satoshi-BoldItalic.woff2';\nimport file_satoshi_8 from './fonts/satoshi/assets/Satoshi-Black.woff2';\nimport file_satoshi_9 from './fonts/satoshi/assets/Satoshi-BlackItalic.woff2';\n\nconst satoshiConfig = { name: 'Satoshi', variants: [{\n weight: 300,\n style: \"normal\" as const,\n file: file_satoshi_0\n }, {\n weight: 300,\n style: \"italic\" as const,\n file: file_satoshi_1\n }, {\n weight: 400,\n style: \"normal\" as const,\n file: file_satoshi_2\n }, {\n weight: 400,\n style: \"italic\" as const,\n file: file_satoshi_3\n }, {\n weight: 500,\n style: \"normal\" as const,\n file: file_satoshi_4\n }, {\n weight: 500,\n style: \"italic\" as const,\n file: file_satoshi_5\n }, {\n weight: 600,\n style: \"normal\" as const,\n file: file_satoshi_6\n }, {\n weight: 600,\n style: \"italic\" as const,\n file: file_satoshi_7\n }, {\n weight: 900,\n style: \"normal\" as const,\n file: file_satoshi_8\n }, {\n weight: 900,\n style: \"italic\" as const,\n file: file_satoshi_9\n }] };\n\nconst interRegs: FontRegisterers = buildRegisterers(interConfig);\nconst robotoRegs: FontRegisterers = buildRegisterers(robotoConfig);\nconst satoshiRegs: FontRegisterers = buildRegisterers(satoshiConfig);\n\nexport const inter = interRegs.inter;\nexport const inter100 = interRegs.inter100;\nexport const inter100Italic = interRegs.inter100Italic;\nexport const inter200 = interRegs.inter200;\nexport const inter200Italic = interRegs.inter200Italic;\nexport const inter300 = interRegs.inter300;\nexport const inter300Italic = interRegs.inter300Italic;\nexport const inter400 = interRegs.inter400;\nexport const inter400Italic = interRegs.inter400Italic;\nexport const inter500 = interRegs.inter500;\nexport const inter500Italic = interRegs.inter500Italic;\nexport const inter600 = interRegs.inter600;\nexport const inter600Italic = interRegs.inter600Italic;\nexport const inter700 = interRegs.inter700;\nexport const inter700Italic = interRegs.inter700Italic;\nexport const inter800 = interRegs.inter800;\nexport const inter800Italic = interRegs.inter800Italic;\nexport const inter900 = interRegs.inter900;\nexport const inter900Italic = interRegs.inter900Italic;\nexport const roboto = robotoRegs.roboto;\nexport const roboto100 = robotoRegs.roboto100;\nexport const roboto100Italic = robotoRegs.roboto100Italic;\nexport const roboto300 = robotoRegs.roboto300;\nexport const roboto300Italic = robotoRegs.roboto300Italic;\nexport const roboto400 = robotoRegs.roboto400;\nexport const roboto400Italic = robotoRegs.roboto400Italic;\nexport const roboto500 = robotoRegs.roboto500;\nexport const roboto500Italic = robotoRegs.roboto500Italic;\nexport const roboto700 = robotoRegs.roboto700;\nexport const roboto700Italic = robotoRegs.roboto700Italic;\nexport const roboto900 = robotoRegs.roboto900;\nexport const roboto900Italic = robotoRegs.roboto900Italic;\nexport const satoshi = satoshiRegs.satoshi;\nexport const satoshi300 = satoshiRegs.satoshi300;\nexport const satoshi300Italic = satoshiRegs.satoshi300Italic;\nexport const satoshi400 = satoshiRegs.satoshi400;\nexport const satoshi400Italic = satoshiRegs.satoshi400Italic;\nexport const satoshi500 = satoshiRegs.satoshi500;\nexport const satoshi500Italic = satoshiRegs.satoshi500Italic;\nexport const satoshi600 = satoshiRegs.satoshi600;\nexport const satoshi600Italic = satoshiRegs.satoshi600Italic;\nexport const satoshi900 = satoshiRegs.satoshi900;\nexport const satoshi900Italic = satoshiRegs.satoshi900Italic;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,MAAM,WAAW,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;AACxC,YAAA,MAAM,EAAE,GAAG;AACX,YAAA,KAAK,EAAE,QAAiB;AACxB,YAAA,IAAI,EAAE;SACP,EAAE;AACD,YAAA,MAAM,EAAE,GAAG;AACX,YAAA,KAAK,EAAE,QAAiB;AACxB,YAAA,IAAI,EAAE;SACP,EAAE;AACD,YAAA,MAAM,EAAE,GAAG;AACX,YAAA,KAAK,EAAE,QAAiB;AACxB,YAAA,IAAI,EAAE;SACP,EAAE;AACD,YAAA,MAAM,EAAE,GAAG;AACX,YAAA,KAAK,EAAE,QAAiB;AACxB,YAAA,IAAI,EAAE;SACP,EAAE;AACD,YAAA,MAAM,EAAE,GAAG;AACX,YAAA,KAAK,EAAE,QAAiB;AACxB,YAAA,IAAI,EAAE;SACP,EAAE;AACD,YAAA,MAAM,EAAE,GAAG;AACX,YAAA,KAAK,EAAE,QAAiB;AACxB,YAAA,IAAI,EAAE;SACP,EAAE;AACD,YAAA,MAAM,EAAE,GAAG;AACX,YAAA,KAAK,EAAE,QAAiB;AACxB,YAAA,IAAI,EAAE;SACP,EAAE;AACD,YAAA,MAAM,EAAE,GAAG;AACX,YAAA,KAAK,EAAE,QAAiB;AACxB,YAAA,IAAI,EAAE;SACP,EAAE;AACD,YAAA,MAAM,EAAE,GAAG;AACX,YAAA,KAAK,EAAE,QAAiB;AACxB,YAAA,IAAI,EAAE;SACP,EAA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Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- // placeholder index.js for Node resolution
@@ -1,4 +0,0 @@
1
- var file_inter_16 = "/assets/Inter-Black.woff2";
2
-
3
- export { file_inter_16 as default };
4
- //# sourceMappingURL=Inter-Black.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-Black.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-Black.woff2"],"sourcesContent":["export default \"/assets/Inter-Black.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_17 = "/assets/Inter-BlackItalic.woff2";
2
-
3
- export { file_inter_17 as default };
4
- //# sourceMappingURL=Inter-BlackItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-BlackItalic.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-BlackItalic.woff2"],"sourcesContent":["export default \"/assets/Inter-BlackItalic.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_12 = "/assets/Inter-Bold.woff2";
2
-
3
- export { file_inter_12 as default };
4
- //# sourceMappingURL=Inter-Bold.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-Bold.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-Bold.woff2"],"sourcesContent":["export default \"/assets/Inter-Bold.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_13 = "/assets/Inter-BoldItalic.woff2";
2
-
3
- export { file_inter_13 as default };
4
- //# sourceMappingURL=Inter-BoldItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-BoldItalic.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-BoldItalic.woff2"],"sourcesContent":["export default \"/assets/Inter-BoldItalic.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_14 = "/assets/Inter-ExtraBold.woff2";
2
-
3
- export { file_inter_14 as default };
4
- //# sourceMappingURL=Inter-ExtraBold.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-ExtraBold.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-ExtraBold.woff2"],"sourcesContent":["export default \"/assets/Inter-ExtraBold.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_15 = "/assets/Inter-ExtraBoldItalic.woff2";
2
-
3
- export { file_inter_15 as default };
4
- //# sourceMappingURL=Inter-ExtraBoldItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-ExtraBoldItalic.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-ExtraBoldItalic.woff2"],"sourcesContent":["export default \"/assets/Inter-ExtraBoldItalic.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_2 = "/assets/Inter-ExtraLight.woff2";
2
-
3
- export { file_inter_2 as default };
4
- //# sourceMappingURL=Inter-ExtraLight.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-ExtraLight.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-ExtraLight.woff2"],"sourcesContent":["export default \"/assets/Inter-ExtraLight.woff2\""],"names":[],"mappings":"AAAA,mBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_3 = "/assets/Inter-ExtraLightItalic.woff2";
2
-
3
- export { file_inter_3 as default };
4
- //# sourceMappingURL=Inter-ExtraLightItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-ExtraLightItalic.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-ExtraLightItalic.woff2"],"sourcesContent":["export default \"/assets/Inter-ExtraLightItalic.woff2\""],"names":[],"mappings":"AAAA,mBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_7 = "/assets/Inter-Italic.woff2";
2
-
3
- export { file_inter_7 as default };
4
- //# sourceMappingURL=Inter-Italic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-Italic.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-Italic.woff2"],"sourcesContent":["export default \"/assets/Inter-Italic.woff2\""],"names":[],"mappings":"AAAA,mBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_4 = "/assets/Inter-Light.woff2";
2
-
3
- export { file_inter_4 as default };
4
- //# sourceMappingURL=Inter-Light.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-Light.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-Light.woff2"],"sourcesContent":["export default \"/assets/Inter-Light.woff2\""],"names":[],"mappings":"AAAA,mBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_5 = "/assets/Inter-LightItalic.woff2";
2
-
3
- export { file_inter_5 as default };
4
- //# sourceMappingURL=Inter-LightItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-LightItalic.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-LightItalic.woff2"],"sourcesContent":["export default \"/assets/Inter-LightItalic.woff2\""],"names":[],"mappings":"AAAA,mBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_8 = "/assets/Inter-Medium.woff2";
2
-
3
- export { file_inter_8 as default };
4
- //# sourceMappingURL=Inter-Medium.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-Medium.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-Medium.woff2"],"sourcesContent":["export default \"/assets/Inter-Medium.woff2\""],"names":[],"mappings":"AAAA,mBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_9 = "/assets/Inter-MediumItalic.woff2";
2
-
3
- export { file_inter_9 as default };
4
- //# sourceMappingURL=Inter-MediumItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-MediumItalic.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-MediumItalic.woff2"],"sourcesContent":["export default \"/assets/Inter-MediumItalic.woff2\""],"names":[],"mappings":"AAAA,mBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_6 = "/assets/Inter-Regular.woff2";
2
-
3
- export { file_inter_6 as default };
4
- //# sourceMappingURL=Inter-Regular.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-Regular.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-Regular.woff2"],"sourcesContent":["export default \"/assets/Inter-Regular.woff2\""],"names":[],"mappings":"AAAA,mBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_10 = "/assets/Inter-SemiBold.woff2";
2
-
3
- export { file_inter_10 as default };
4
- //# sourceMappingURL=Inter-SemiBold.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-SemiBold.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-SemiBold.woff2"],"sourcesContent":["export default \"/assets/Inter-SemiBold.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_11 = "/assets/Inter-SemiBoldItalic.woff2";
2
-
3
- export { file_inter_11 as default };
4
- //# sourceMappingURL=Inter-SemiBoldItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-SemiBoldItalic.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-SemiBoldItalic.woff2"],"sourcesContent":["export default \"/assets/Inter-SemiBoldItalic.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_0 = "/assets/Inter-Thin.woff2";
2
-
3
- export { file_inter_0 as default };
4
- //# sourceMappingURL=Inter-Thin.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-Thin.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-Thin.woff2"],"sourcesContent":["export default \"/assets/Inter-Thin.woff2\""],"names":[],"mappings":"AAAA,mBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_inter_1 = "/assets/Inter-ThinItalic.woff2";
2
-
3
- export { file_inter_1 as default };
4
- //# sourceMappingURL=Inter-ThinItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inter-ThinItalic.woff2.js","sources":["../../../../src/fonts/inter/assets/Inter-ThinItalic.woff2"],"sourcesContent":["export default \"/assets/Inter-ThinItalic.woff2\""],"names":[],"mappings":"AAAA,mBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_10 = "/assets/Roboto-Black.woff2";
2
-
3
- export { file_roboto_10 as default };
4
- //# sourceMappingURL=Roboto-Black.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-Black.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-Black.woff2"],"sourcesContent":["export default \"/assets/Roboto-Black.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_11 = "/assets/Roboto-BlackItalic.woff2";
2
-
3
- export { file_roboto_11 as default };
4
- //# sourceMappingURL=Roboto-BlackItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-BlackItalic.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-BlackItalic.woff2"],"sourcesContent":["export default \"/assets/Roboto-BlackItalic.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_8 = "/assets/Roboto-Bold.woff2";
2
-
3
- export { file_roboto_8 as default };
4
- //# sourceMappingURL=Roboto-Bold.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-Bold.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-Bold.woff2"],"sourcesContent":["export default \"/assets/Roboto-Bold.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_9 = "/assets/Roboto-BoldItalic.woff2";
2
-
3
- export { file_roboto_9 as default };
4
- //# sourceMappingURL=Roboto-BoldItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-BoldItalic.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-BoldItalic.woff2"],"sourcesContent":["export default \"/assets/Roboto-BoldItalic.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_2 = "/assets/Roboto-Light.woff2";
2
-
3
- export { file_roboto_2 as default };
4
- //# sourceMappingURL=Roboto-Light.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-Light.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-Light.woff2"],"sourcesContent":["export default \"/assets/Roboto-Light.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_3 = "/assets/Roboto-LightItalic.woff2";
2
-
3
- export { file_roboto_3 as default };
4
- //# sourceMappingURL=Roboto-LightItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-LightItalic.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-LightItalic.woff2"],"sourcesContent":["export default \"/assets/Roboto-LightItalic.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_6 = "/assets/Roboto-Medium.woff2";
2
-
3
- export { file_roboto_6 as default };
4
- //# sourceMappingURL=Roboto-Medium.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-Medium.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-Medium.woff2"],"sourcesContent":["export default \"/assets/Roboto-Medium.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_7 = "/assets/Roboto-MediumItalic.woff2";
2
-
3
- export { file_roboto_7 as default };
4
- //# sourceMappingURL=Roboto-MediumItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-MediumItalic.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-MediumItalic.woff2"],"sourcesContent":["export default \"/assets/Roboto-MediumItalic.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_4 = "/assets/Roboto-Regular.woff2";
2
-
3
- export { file_roboto_4 as default };
4
- //# sourceMappingURL=Roboto-Regular.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-Regular.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-Regular.woff2"],"sourcesContent":["export default \"/assets/Roboto-Regular.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_5 = "/assets/Roboto-RegularItalic.woff2";
2
-
3
- export { file_roboto_5 as default };
4
- //# sourceMappingURL=Roboto-RegularItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-RegularItalic.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-RegularItalic.woff2"],"sourcesContent":["export default \"/assets/Roboto-RegularItalic.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_0 = "/assets/Roboto-Thin.woff2";
2
-
3
- export { file_roboto_0 as default };
4
- //# sourceMappingURL=Roboto-Thin.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-Thin.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-Thin.woff2"],"sourcesContent":["export default \"/assets/Roboto-Thin.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_roboto_1 = "/assets/Roboto-ThinItalic.woff2";
2
-
3
- export { file_roboto_1 as default };
4
- //# sourceMappingURL=Roboto-ThinItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Roboto-ThinItalic.woff2.js","sources":["../../../../src/fonts/roboto/assets/Roboto-ThinItalic.woff2"],"sourcesContent":["export default \"/assets/Roboto-ThinItalic.woff2\""],"names":[],"mappings":"AAAA,oBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_satoshi_8 = "/assets/Satoshi-Black.woff2";
2
-
3
- export { file_satoshi_8 as default };
4
- //# sourceMappingURL=Satoshi-Black.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Satoshi-Black.woff2.js","sources":["../../../../src/fonts/satoshi/assets/Satoshi-Black.woff2"],"sourcesContent":["export default \"/assets/Satoshi-Black.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_satoshi_9 = "/assets/Satoshi-BlackItalic.woff2";
2
-
3
- export { file_satoshi_9 as default };
4
- //# sourceMappingURL=Satoshi-BlackItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Satoshi-BlackItalic.woff2.js","sources":["../../../../src/fonts/satoshi/assets/Satoshi-BlackItalic.woff2"],"sourcesContent":["export default \"/assets/Satoshi-BlackItalic.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_satoshi_6 = "/assets/Satoshi-Bold.woff2";
2
-
3
- export { file_satoshi_6 as default };
4
- //# sourceMappingURL=Satoshi-Bold.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Satoshi-Bold.woff2.js","sources":["../../../../src/fonts/satoshi/assets/Satoshi-Bold.woff2"],"sourcesContent":["export default \"/assets/Satoshi-Bold.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_satoshi_7 = "/assets/Satoshi-BoldItalic.woff2";
2
-
3
- export { file_satoshi_7 as default };
4
- //# sourceMappingURL=Satoshi-BoldItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Satoshi-BoldItalic.woff2.js","sources":["../../../../src/fonts/satoshi/assets/Satoshi-BoldItalic.woff2"],"sourcesContent":["export default \"/assets/Satoshi-BoldItalic.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_satoshi_3 = "/assets/Satoshi-Italic.woff2";
2
-
3
- export { file_satoshi_3 as default };
4
- //# sourceMappingURL=Satoshi-Italic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Satoshi-Italic.woff2.js","sources":["../../../../src/fonts/satoshi/assets/Satoshi-Italic.woff2"],"sourcesContent":["export default \"/assets/Satoshi-Italic.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_satoshi_0 = "/assets/Satoshi-Light.woff2";
2
-
3
- export { file_satoshi_0 as default };
4
- //# sourceMappingURL=Satoshi-Light.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Satoshi-Light.woff2.js","sources":["../../../../src/fonts/satoshi/assets/Satoshi-Light.woff2"],"sourcesContent":["export default \"/assets/Satoshi-Light.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_satoshi_1 = "/assets/Satoshi-LightItalic.woff2";
2
-
3
- export { file_satoshi_1 as default };
4
- //# sourceMappingURL=Satoshi-LightItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Satoshi-LightItalic.woff2.js","sources":["../../../../src/fonts/satoshi/assets/Satoshi-LightItalic.woff2"],"sourcesContent":["export default \"/assets/Satoshi-LightItalic.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_satoshi_4 = "/assets/Satoshi-Medium.woff2";
2
-
3
- export { file_satoshi_4 as default };
4
- //# sourceMappingURL=Satoshi-Medium.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Satoshi-Medium.woff2.js","sources":["../../../../src/fonts/satoshi/assets/Satoshi-Medium.woff2"],"sourcesContent":["export default \"/assets/Satoshi-Medium.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_satoshi_5 = "/assets/Satoshi-MediumItalic.woff2";
2
-
3
- export { file_satoshi_5 as default };
4
- //# sourceMappingURL=Satoshi-MediumItalic.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Satoshi-MediumItalic.woff2.js","sources":["../../../../src/fonts/satoshi/assets/Satoshi-MediumItalic.woff2"],"sourcesContent":["export default \"/assets/Satoshi-MediumItalic.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
@@ -1,4 +0,0 @@
1
- var file_satoshi_2 = "/assets/Satoshi-Regular.woff2";
2
-
3
- export { file_satoshi_2 as default };
4
- //# sourceMappingURL=Satoshi-Regular.woff2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Satoshi-Regular.woff2.js","sources":["../../../../src/fonts/satoshi/assets/Satoshi-Regular.woff2"],"sourcesContent":["export default \"/assets/Satoshi-Regular.woff2\""],"names":[],"mappings":"AAAA,qBAAe;;;;"}
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './__generated__';
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- export { inter, inter100, inter100Italic, inter200, inter200Italic, inter300, inter300Italic, inter400, inter400Italic, inter500, inter500Italic, inter600, inter600Italic, inter700, inter700Italic, inter800, inter800Italic, inter900, inter900Italic, roboto, roboto100, roboto100Italic, roboto300, roboto300Italic, roboto400, roboto400Italic, roboto500, roboto500Italic, roboto700, roboto700Italic, roboto900, roboto900Italic, satoshi, satoshi300, satoshi300Italic, satoshi400, satoshi400Italic, satoshi500, satoshi500Italic, satoshi600, satoshi600Italic, satoshi900, satoshi900Italic } from './__generated__.js';
2
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { Font, FontRegisterer } from './types';
2
- export type { FontRegisterer, FontRegisterers } from './types';
3
- export declare function buildRegisterers(font: Font): {
4
- readonly [x: string]: FontRegisterer;
5
- };
package/dist/register.js DELETED
@@ -1,76 +0,0 @@
1
- const camelCase = (str) => str
2
- .replace(/[-_ ]+(\w)/g, (_, c) => c.toUpperCase())
3
- .replace(/^./, (match) => match.toLowerCase());
4
- function getFontFaceId(name, variant) {
5
- return `__ciq-font-${name}-${variant.weight}-${variant.style}`;
6
- }
7
- function getFontFace(name, variant) {
8
- return `
9
- @font-face {
10
- font-family: '${name}';
11
- font-style: ${variant.style};
12
- font-weight: ${variant.weight};
13
- src: url('${variant.file}') format('woff2');
14
- font-display: swap;
15
- }
16
- `;
17
- }
18
- function preload(name, variant) {
19
- return {
20
- href: variant.file,
21
- type: 'font/woff2',
22
- as: 'font',
23
- crossOrigin: 'anonymous',
24
- };
25
- }
26
- function inject(name, variant) {
27
- const { id } = variant;
28
- const tagId = id ?? getFontFaceId(name, variant);
29
- if (document.getElementById(tagId))
30
- return;
31
- const styleEl = document.createElement('style');
32
- styleEl.id = tagId;
33
- styleEl.textContent = getFontFace(name, variant);
34
- document.head.appendChild(styleEl);
35
- }
36
- const filterVariants = (variants, filter) => {
37
- if (!filter)
38
- return variants;
39
- return variants.filter((variant) => {
40
- const matchesWeight = !filter.weights || filter.weights.includes(variant.weight);
41
- const matchesStyle = !filter.styles || filter.styles.includes(variant.style);
42
- return matchesWeight && matchesStyle;
43
- });
44
- };
45
- function buildRegisterers(font) {
46
- const independent = Object.fromEntries(font.variants.map((variant) => {
47
- const { weight, style } = variant;
48
- const id = [font.name, weight, style === 'normal' ? '' : style]
49
- .filter(Boolean)
50
- .join('-');
51
- return [
52
- camelCase(id),
53
- {
54
- css: () => getFontFace(font.name, variant),
55
- preload: () => [preload(font.name, variant)],
56
- inject: () => inject(font.name, variant),
57
- },
58
- ];
59
- }));
60
- const combined = {
61
- [camelCase(font.name)]: {
62
- css: (filter) => filterVariants(font.variants, filter)
63
- .map((variant) => getFontFace(font.name, variant))
64
- .join('\n'),
65
- preload: (filter) => filterVariants(font.variants, filter).map((variant) => preload(font.name, variant)),
66
- inject: (filter) => filterVariants(font.variants, filter).forEach((variant) => inject(font.name, variant)),
67
- },
68
- };
69
- return {
70
- ...independent,
71
- ...combined,
72
- };
73
- }
74
-
75
- export { buildRegisterers };
76
- //# sourceMappingURL=register.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"register.js","sources":["../src/register.ts"],"sourcesContent":["import type { Font, FontVariant, FontRegisterer, FontFilter } from './types';\nexport type { FontRegisterer, FontRegisterers } from './types';\n\nconst camelCase = (str: string) =>\n str\n .replace(/[-_ ]+(\\w)/g, (_, c) => c.toUpperCase())\n .replace(/^./, (match) => match.toLowerCase());\n\nfunction getFontFaceId(name: string, variant: FontVariant) {\n return `__ciq-font-${name}-${variant.weight}-${variant.style}`;\n}\n\nfunction getFontFace(name: string, variant: FontVariant) {\n return `\n @font-face {\n font-family: '${name}';\n font-style: ${variant.style};\n font-weight: ${variant.weight};\n src: url('${variant.file}') format('woff2');\n font-display: swap;\n }\n `;\n}\n\nfunction preload(name: string, variant: FontVariant) {\n return {\n href: variant.file,\n type: 'font/woff2',\n as: 'font',\n crossOrigin: 'anonymous',\n };\n}\n\nfunction inject(name: string, variant: FontVariant) {\n const { id } = variant;\n const tagId = id ?? getFontFaceId(name, variant);\n\n if (document.getElementById(tagId)) return;\n\n const styleEl = document.createElement('style');\n styleEl.id = tagId;\n styleEl.textContent = getFontFace(name, variant);\n document.head.appendChild(styleEl);\n}\n\nconst filterVariants = (variants: FontVariant[], filter?: FontFilter) => {\n if (!filter) return variants;\n return variants.filter((variant) => {\n const matchesWeight =\n !filter.weights || filter.weights.includes(variant.weight);\n const matchesStyle =\n !filter.styles || filter.styles.includes(variant.style);\n return matchesWeight && matchesStyle;\n });\n};\n\nexport function buildRegisterers(font: Font) {\n const independent = Object.fromEntries(\n font.variants.map((variant) => {\n const { weight, style } = variant;\n const id = [font.name, weight, style === 'normal' ? '' : style]\n .filter(Boolean)\n .join('-');\n return [\n camelCase(id),\n {\n css: () => getFontFace(font.name, variant),\n preload: () => [preload(font.name, variant)],\n inject: () => inject(font.name, variant),\n } as FontRegisterer,\n ];\n })\n );\n\n const combined = {\n [camelCase(font.name)]: {\n css: (filter?: FontFilter) =>\n filterVariants(font.variants, filter)\n .map((variant) => getFontFace(font.name, variant))\n .join('\\n'),\n preload: (filter?: FontFilter) =>\n filterVariants(font.variants, filter).map((variant) =>\n preload(font.name, variant)\n ),\n inject: (filter?: FontFilter) =>\n filterVariants(font.variants, filter).forEach((variant) =>\n inject(font.name, variant)\n ),\n } as FontRegisterer,\n };\n\n return {\n ...independent,\n ...combined,\n } as const;\n}\n"],"names":[],"mappings":"AAGA,MAAM,SAAS,GAAG,CAAC,GAAW,KAC5B;AACG,KAAA,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE;AAChD,KAAA,OAAO,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,KAAK,CAAC,WAAW,EAAE,CAAC;AAElD,SAAS,aAAa,CAAC,IAAY,EAAE,OAAoB,EAAA;IACvD,OAAO,CAAA,WAAA,EAAc,IAAI,CAAA,CAAA,EAAI,OAAO,CAAC,MAAM,CAAA,CAAA,EAAI,OAAO,CAAC,KAAK,CAAA,CAAE;AAChE;AAEA,SAAS,WAAW,CAAC,IAAY,EAAE,OAAoB,EAAA;IACrD,OAAO;;sBAEa,IAAI,CAAA;AACN,kBAAA,EAAA,OAAO,CAAC,KAAK,CAAA;AACZ,mBAAA,EAAA,OAAO,CAAC,MAAM,CAAA;AACjB,gBAAA,EAAA,OAAO,CAAC,IAAI,CAAA;;;GAG3B;AACH;AAEA,SAAS,OAAO,CAAC,IAAY,EAAE,OAAoB,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3B;AACc,SAAA;KACpB;IAED,OAAO;AACL,QAAA,GAAG,WAAW;AACd,QAAA,GAAG,QAAQ;KACH;AACZ;;;;"}
@@ -1,28 +0,0 @@
1
- export type Font = {
2
- name: string;
3
- variants: FontVariant[];
4
- };
5
- export type FontVariant = {
6
- weight: number;
7
- style: 'normal' | 'italic';
8
- file: string;
9
- id?: string;
10
- };
11
- export type PreloadLink = {
12
- href: string;
13
- type: string;
14
- as: 'font';
15
- crossOrigin: 'anonymous';
16
- };
17
- export type FontFilter = {
18
- weights?: number[];
19
- styles?: FontVariant['style'][];
20
- };
21
- export type FontRegisterer = {
22
- css: (filter?: FontFilter) => string;
23
- preload: (filter?: FontFilter) => PreloadLink[];
24
- inject: (filter?: FontFilter) => void;
25
- };
26
- export type FontRegisterers = {
27
- [key: string]: FontRegisterer;
28
- };