@mccaskie-labs/workbench-ui 0.12.0 → 0.13.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +12 -0
  3. package/dist/cli.d.ts +30 -1
  4. package/dist/cli.js +117 -11
  5. package/dist/fonts.d.ts +42 -0
  6. package/dist/fonts.js +52 -0
  7. package/dist/index.d.ts +4 -1
  8. package/dist/index.js +4 -1
  9. package/dist/layouts.d.ts +60 -0
  10. package/dist/layouts.js +143 -0
  11. package/dist/samples.d.ts +30 -0
  12. package/dist/samples.js +65 -0
  13. package/dist/style-guide.d.ts +19 -0
  14. package/dist/style-guide.js +41 -0
  15. package/dist/styles.d.ts +4 -1
  16. package/dist/styles.js +7 -1
  17. package/dist/theme.d.ts +31 -0
  18. package/dist/theme.js +128 -5
  19. package/dist/ui-samples.d.ts +2 -0
  20. package/dist/ui-samples.js +71 -0
  21. package/dist/ui-styles.js +20 -0
  22. package/fonts/archivo/latin-400-700.woff2 +0 -0
  23. package/fonts/archivo/latin-ext-400-700.woff2 +0 -0
  24. package/fonts/baloo-2/latin-400-700.woff2 +0 -0
  25. package/fonts/baloo-2/latin-ext-400-700.woff2 +0 -0
  26. package/fonts/barlow/latin-400.woff2 +0 -0
  27. package/fonts/barlow/latin-700.woff2 +0 -0
  28. package/fonts/barlow/latin-ext-400.woff2 +0 -0
  29. package/fonts/barlow/latin-ext-700.woff2 +0 -0
  30. package/fonts/barlow-condensed/latin-400.woff2 +0 -0
  31. package/fonts/barlow-condensed/latin-700.woff2 +0 -0
  32. package/fonts/barlow-condensed/latin-ext-400.woff2 +0 -0
  33. package/fonts/barlow-condensed/latin-ext-700.woff2 +0 -0
  34. package/fonts/fonts.json +298 -0
  35. package/fonts/fraunces/latin-400-700.woff2 +0 -0
  36. package/fonts/fraunces/latin-ext-400-700.woff2 +0 -0
  37. package/fonts/inter/latin-400-700.woff2 +0 -0
  38. package/fonts/inter/latin-ext-400-700.woff2 +0 -0
  39. package/fonts/nunito/latin-400-700.woff2 +0 -0
  40. package/fonts/nunito/latin-ext-400-700.woff2 +0 -0
  41. package/fonts/nunito-sans/latin-400-700.woff2 +0 -0
  42. package/fonts/nunito-sans/latin-ext-400-700.woff2 +0 -0
  43. package/fonts/source-sans-3/latin-400-700.woff2 +0 -0
  44. package/fonts/source-sans-3/latin-ext-400-700.woff2 +0 -0
  45. package/fonts/work-sans/latin-400-700.woff2 +0 -0
  46. package/fonts/work-sans/latin-ext-400-700.woff2 +0 -0
  47. package/package.json +8 -2
@@ -0,0 +1,298 @@
1
+ [
2
+ {
3
+ "family": "Archivo",
4
+ "id": "archivo",
5
+ "licence": "SIL Open Font License 1.1",
6
+ "licenceUrl": "http://scripts.sil.org/OFL",
7
+ "from": "Google Fonts",
8
+ "missing": [],
9
+ "files": [
10
+ {
11
+ "file": "latin-400-700.woff2",
12
+ "subset": "latin",
13
+ "weight": "400 700",
14
+ "unicodeRange": "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",
15
+ "bytes": 34928,
16
+ "sha256": "8f704806dbedeaaeca334b11ec348bc3ac3a439d6431544b3afb54f534ee4967"
17
+ },
18
+ {
19
+ "file": "latin-ext-400-700.woff2",
20
+ "subset": "latin-ext",
21
+ "weight": "400 700",
22
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
23
+ "bytes": 32608,
24
+ "sha256": "ff4f17d21930e36d6d93baba663e624cb767afc3feebf7adaebd82242638de05"
25
+ }
26
+ ]
27
+ },
28
+ {
29
+ "family": "Baloo 2",
30
+ "id": "baloo-2",
31
+ "licence": "SIL Open Font License 1.1",
32
+ "licenceUrl": "http://scripts.sil.org/OFL",
33
+ "from": "Google Fonts",
34
+ "missing": [],
35
+ "files": [
36
+ {
37
+ "file": "latin-400-700.woff2",
38
+ "subset": "latin",
39
+ "weight": "400 700",
40
+ "unicodeRange": "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",
41
+ "bytes": 33188,
42
+ "sha256": "26fb4610d4bc976d2584ca15e66c11465dbc1f267a10dca668fcb3080dfe59c1"
43
+ },
44
+ {
45
+ "file": "latin-ext-400-700.woff2",
46
+ "subset": "latin-ext",
47
+ "weight": "400 700",
48
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
49
+ "bytes": 27384,
50
+ "sha256": "dfd52ee2e67ff597c9a47238d59adcee2b27d8adf9245e2d53a46dd73db99dde"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "family": "Barlow",
56
+ "id": "barlow",
57
+ "licence": "SIL Open Font License 1.1",
58
+ "licenceUrl": "http://scripts.sil.org/OFL",
59
+ "from": "Google Fonts",
60
+ "missing": [
61
+ "₱"
62
+ ],
63
+ "files": [
64
+ {
65
+ "file": "latin-400.woff2",
66
+ "subset": "latin",
67
+ "weight": "400",
68
+ "unicodeRange": "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",
69
+ "bytes": 22196,
70
+ "sha256": "b0a8ad37ac45f5fb22ced461576db72e44e295107aad7a9c8a7a4bad728fd03b"
71
+ },
72
+ {
73
+ "file": "latin-700.woff2",
74
+ "subset": "latin",
75
+ "weight": "700",
76
+ "unicodeRange": "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",
77
+ "bytes": 22788,
78
+ "sha256": "2d797dd8b35dcb3413e1af9d7052b3f4f8c341a147cdcb01f4f06af80db53289"
79
+ },
80
+ {
81
+ "file": "latin-ext-400.woff2",
82
+ "subset": "latin-ext",
83
+ "weight": "400",
84
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
85
+ "bytes": 14268,
86
+ "sha256": "122b24bc2a90b0abe189f5229768bf2e9ba641324fe2459b48850079625934f1"
87
+ },
88
+ {
89
+ "file": "latin-ext-700.woff2",
90
+ "subset": "latin-ext",
91
+ "weight": "700",
92
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
93
+ "bytes": 14836,
94
+ "sha256": "88c786d5fa8700a201615bc7b8ede09d209ec5d08cc3dd0a30ea1c4baff3476f"
95
+ }
96
+ ]
97
+ },
98
+ {
99
+ "family": "Barlow Condensed",
100
+ "id": "barlow-condensed",
101
+ "licence": "SIL Open Font License 1.1",
102
+ "licenceUrl": "http://scripts.sil.org/OFL",
103
+ "from": "Google Fonts",
104
+ "missing": [
105
+ "₱"
106
+ ],
107
+ "files": [
108
+ {
109
+ "file": "latin-400.woff2",
110
+ "subset": "latin",
111
+ "weight": "400",
112
+ "unicodeRange": "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",
113
+ "bytes": 21164,
114
+ "sha256": "7fff1bb22e5773f0d1a55d3093068b6dac4539e8bb3ac23fb9f0a729df2c7bb4"
115
+ },
116
+ {
117
+ "file": "latin-700.woff2",
118
+ "subset": "latin",
119
+ "weight": "700",
120
+ "unicodeRange": "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",
121
+ "bytes": 22444,
122
+ "sha256": "3787a5a419171630e6890cfa47c4da067474d005cd0ff8dc11ec090fdc3ee2b8"
123
+ },
124
+ {
125
+ "file": "latin-ext-400.woff2",
126
+ "subset": "latin-ext",
127
+ "weight": "400",
128
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
129
+ "bytes": 13924,
130
+ "sha256": "1eb62753e2922d13801bed22f0a35af396035da04958d4d7fcead522fbaae4ea"
131
+ },
132
+ {
133
+ "file": "latin-ext-700.woff2",
134
+ "subset": "latin-ext",
135
+ "weight": "700",
136
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
137
+ "bytes": 14640,
138
+ "sha256": "9d351bd9222bfab90f943850f8039aa73cdb40e0a6cfe4127308a48bef59d5f5"
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "family": "Fraunces",
144
+ "id": "fraunces",
145
+ "licence": "SIL Open Font License 1.1",
146
+ "licenceUrl": "https://scripts.sil.org/OFL",
147
+ "from": "Google Fonts",
148
+ "missing": [],
149
+ "files": [
150
+ {
151
+ "file": "latin-400-700.woff2",
152
+ "subset": "latin",
153
+ "weight": "400 700",
154
+ "unicodeRange": "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",
155
+ "bytes": 36620,
156
+ "sha256": "7f9d191d999336d3b9790afa72e1358e50a13b06d4f289341e92a311967a80f9"
157
+ },
158
+ {
159
+ "file": "latin-ext-400-700.woff2",
160
+ "subset": "latin-ext",
161
+ "weight": "400 700",
162
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
163
+ "bytes": 33584,
164
+ "sha256": "a21ecfbf41fbc393e24ef9b7e38532a27e8da5e0a074aa7d66802d1b5ccec2f0"
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "family": "Inter",
170
+ "id": "inter",
171
+ "licence": "SIL Open Font License 1.1",
172
+ "licenceUrl": "https://openfontlicense.org",
173
+ "from": "Google Fonts",
174
+ "missing": [],
175
+ "files": [
176
+ {
177
+ "file": "latin-400-700.woff2",
178
+ "subset": "latin",
179
+ "weight": "400 700",
180
+ "unicodeRange": "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",
181
+ "bytes": 48256,
182
+ "sha256": "3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62"
183
+ },
184
+ {
185
+ "file": "latin-ext-400-700.woff2",
186
+ "subset": "latin-ext",
187
+ "weight": "400 700",
188
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
189
+ "bytes": 85068,
190
+ "sha256": "34b9c504cab7a73e37b746343a449132e56cf7b5481af2cb81dc74dcff25c956"
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ "family": "Nunito",
196
+ "id": "nunito",
197
+ "licence": "SIL Open Font License 1.1",
198
+ "licenceUrl": "https://scripts.sil.org/OFL",
199
+ "from": "Google Fonts",
200
+ "missing": [],
201
+ "files": [
202
+ {
203
+ "file": "latin-400-700.woff2",
204
+ "subset": "latin",
205
+ "weight": "400 700",
206
+ "unicodeRange": "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",
207
+ "bytes": 39128,
208
+ "sha256": "ba344451eab25b217a165363b1982048a5e5830a0daf36577973955a04cac793"
209
+ },
210
+ {
211
+ "file": "latin-ext-400-700.woff2",
212
+ "subset": "latin-ext",
213
+ "weight": "400 700",
214
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
215
+ "bytes": 35588,
216
+ "sha256": "2c8d792869818ecb253a46bc3c63c7013df7aac2f69291c3c85e5cdc94160960"
217
+ }
218
+ ]
219
+ },
220
+ {
221
+ "family": "Nunito Sans",
222
+ "id": "nunito-sans",
223
+ "licence": "SIL Open Font License 1.1",
224
+ "licenceUrl": "https://scripts.sil.org/OFL",
225
+ "from": "Google Fonts",
226
+ "missing": [],
227
+ "files": [
228
+ {
229
+ "file": "latin-400-700.woff2",
230
+ "subset": "latin",
231
+ "weight": "400 700",
232
+ "unicodeRange": "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",
233
+ "bytes": 31076,
234
+ "sha256": "29e3890496844a9ea81975c52771c587c872b4eb317026422d1995b88d21b57d"
235
+ },
236
+ {
237
+ "file": "latin-ext-400-700.woff2",
238
+ "subset": "latin-ext",
239
+ "weight": "400 700",
240
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
241
+ "bytes": 27908,
242
+ "sha256": "c648ee5bfda70d44b9fb628f4114d1cc4f984d050cbb4881052237ede3638a2e"
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ "family": "Source Sans 3",
248
+ "id": "source-sans-3",
249
+ "licence": "SIL Open Font License 1.1",
250
+ "licenceUrl": "http://scripts.sil.org/OFL",
251
+ "from": "Google Fonts",
252
+ "missing": [],
253
+ "files": [
254
+ {
255
+ "file": "latin-400-700.woff2",
256
+ "subset": "latin",
257
+ "weight": "400 700",
258
+ "unicodeRange": "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",
259
+ "bytes": 28872,
260
+ "sha256": "19143dca075972bc84e3fd9eab7416dd40cc565dccb2435a044bdfabe060c7d5"
261
+ },
262
+ {
263
+ "file": "latin-ext-400-700.woff2",
264
+ "subset": "latin-ext",
265
+ "weight": "400 700",
266
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
267
+ "bytes": 60088,
268
+ "sha256": "a85a7459bdb3cdc1136751e151a506bae653fc29ada3ca86237477df6f1b59e6"
269
+ }
270
+ ]
271
+ },
272
+ {
273
+ "family": "Work Sans",
274
+ "id": "work-sans",
275
+ "licence": "SIL Open Font License 1.1",
276
+ "licenceUrl": "http://scripts.sil.org/OFL",
277
+ "from": "Google Fonts",
278
+ "missing": [],
279
+ "files": [
280
+ {
281
+ "file": "latin-400-700.woff2",
282
+ "subset": "latin",
283
+ "weight": "400 700",
284
+ "unicodeRange": "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",
285
+ "bytes": 50316,
286
+ "sha256": "1dd49afc07fb2231b2ff686cbf007725fb2742271bb1f28ebd98f22a0d817343"
287
+ },
288
+ {
289
+ "file": "latin-ext-400-700.woff2",
290
+ "subset": "latin-ext",
291
+ "weight": "400 700",
292
+ "unicodeRange": "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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
293
+ "bytes": 35716,
294
+ "sha256": "2aa17fc7b072e46652e84bbe3dbba9ec57cdea320d89e8c951ed7cf3218c300b"
295
+ }
296
+ ]
297
+ }
298
+ ]
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mccaskie-labs/workbench-ui",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Workbench pages: one dark look, a top bar with the environment tag, cards, outcome pills, and one format for times, money and durations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -22,6 +22,10 @@
22
22
  "types": "./dist/ui-styles.d.ts",
23
23
  "default": "./dist/ui-styles.js"
24
24
  },
25
+ "./samples": {
26
+ "types": "./dist/ui-samples.d.ts",
27
+ "default": "./dist/ui-samples.js"
28
+ },
25
29
  "./package.json": "./package.json"
26
30
  },
27
31
  "bin": {
@@ -29,6 +33,7 @@
29
33
  },
30
34
  "files": [
31
35
  "dist",
36
+ "fonts",
32
37
  "README.md",
33
38
  "CHANGELOG.md"
34
39
  ],
@@ -40,7 +45,8 @@
40
45
  "test": "vitest run",
41
46
  "build": "node scripts/build.mjs",
42
47
  "prepack": "node scripts/build.mjs",
43
- "library": "node scripts/library.mjs"
48
+ "library": "node scripts/library.mjs",
49
+ "fonts": "node scripts/fonts.mjs"
44
50
  },
45
51
  "devDependencies": {
46
52
  "@types/node": "24.19.2",