@bendyline/docblocks-react 1.0.0 → 1.1.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 (133) hide show
  1. package/dist/AppMenu/AppMenu.d.ts +16 -1
  2. package/dist/AppMenu/AppMenu.d.ts.map +1 -1
  3. package/dist/AppMenu/AppMenu.js +3 -2
  4. package/dist/AppMenu/AppMenu.js.map +1 -1
  5. package/dist/AppMenu/index.d.ts +1 -1
  6. package/dist/AppMenu/index.d.ts.map +1 -1
  7. package/dist/DocBlocksShell/DocBlocksShell.d.ts +21 -1
  8. package/dist/DocBlocksShell/DocBlocksShell.d.ts.map +1 -1
  9. package/dist/DocBlocksShell/DocBlocksShell.js +930 -98
  10. package/dist/DocBlocksShell/DocBlocksShell.js.map +1 -1
  11. package/dist/Export/ExportDialog.d.ts.map +1 -1
  12. package/dist/Export/ExportDialog.js +104 -5
  13. package/dist/Export/ExportDialog.js.map +1 -1
  14. package/dist/Export/ExportToolbarControls.d.ts.map +1 -1
  15. package/dist/Export/ExportToolbarControls.js +44 -3
  16. package/dist/Export/ExportToolbarControls.js.map +1 -1
  17. package/dist/Export/export-options.d.ts +35 -0
  18. package/dist/Export/export-options.d.ts.map +1 -1
  19. package/dist/Export/export-options.js +6 -1
  20. package/dist/Export/export-options.js.map +1 -1
  21. package/dist/Export/run-export.d.ts.map +1 -1
  22. package/dist/Export/run-export.js +163 -91
  23. package/dist/Export/run-export.js.map +1 -1
  24. package/dist/FileExplorer/FileExplorer.d.ts.map +1 -1
  25. package/dist/FileExplorer/FileExplorer.js +17 -2
  26. package/dist/FileExplorer/FileExplorer.js.map +1 -1
  27. package/dist/FileExplorer/FileTreeNode.d.ts.map +1 -1
  28. package/dist/FileExplorer/FileTreeNode.js +34 -8
  29. package/dist/FileExplorer/FileTreeNode.js.map +1 -1
  30. package/dist/WorkspacePicker/WorkspacePicker.d.ts.map +1 -1
  31. package/dist/WorkspacePicker/WorkspacePicker.js +9 -3
  32. package/dist/WorkspacePicker/WorkspacePicker.js.map +1 -1
  33. package/dist/WorkspacePicker/WorkspaceSettingsButton.d.ts +2 -1
  34. package/dist/WorkspacePicker/WorkspaceSettingsButton.d.ts.map +1 -1
  35. package/dist/WorkspacePicker/WorkspaceSettingsButton.js +2 -2
  36. package/dist/WorkspacePicker/WorkspaceSettingsButton.js.map +1 -1
  37. package/dist/WorkspacePicker/WorkspaceSettingsDialog.d.ts +20 -0
  38. package/dist/WorkspacePicker/WorkspaceSettingsDialog.d.ts.map +1 -0
  39. package/dist/WorkspacePicker/WorkspaceSettingsDialog.js +36 -0
  40. package/dist/WorkspacePicker/WorkspaceSettingsDialog.js.map +1 -0
  41. package/dist/hooks/useAutoSave.d.ts +8 -2
  42. package/dist/hooks/useAutoSave.d.ts.map +1 -1
  43. package/dist/hooks/useAutoSave.js +65 -30
  44. package/dist/hooks/useAutoSave.js.map +1 -1
  45. package/dist/icons.d.ts +1 -0
  46. package/dist/icons.d.ts.map +1 -1
  47. package/dist/icons.js +3 -0
  48. package/dist/icons.js.map +1 -1
  49. package/dist/index.d.ts +1 -1
  50. package/dist/index.d.ts.map +1 -1
  51. package/dist/preferences/versioning.d.ts +27 -0
  52. package/dist/preferences/versioning.d.ts.map +1 -0
  53. package/dist/preferences/versioning.js +62 -0
  54. package/dist/preferences/versioning.js.map +1 -0
  55. package/package.json +10 -8
  56. package/src/AppMenu/AppMenu.tsx +142 -2
  57. package/src/AppMenu/index.ts +1 -1
  58. package/src/DocBlocksShell/DocBlocksShell.tsx +1194 -125
  59. package/src/Export/ExportDialog.tsx +208 -19
  60. package/src/Export/ExportToolbarControls.tsx +45 -3
  61. package/src/Export/export-options.ts +43 -1
  62. package/src/Export/run-export.ts +190 -91
  63. package/src/FileExplorer/FileExplorer.tsx +31 -9
  64. package/src/FileExplorer/FileTreeNode.tsx +68 -26
  65. package/src/WorkspacePicker/WorkspacePicker.tsx +18 -7
  66. package/src/WorkspacePicker/WorkspaceSettingsButton.tsx +9 -0
  67. package/src/WorkspacePicker/WorkspaceSettingsDialog.tsx +121 -0
  68. package/src/fonts/fonts.css +362 -0
  69. package/src/fonts/licenses/LICENSE-cormorant-garamond.txt +93 -0
  70. package/src/fonts/licenses/LICENSE-crimson-text.txt +93 -0
  71. package/src/fonts/licenses/LICENSE-dm-sans.txt +93 -0
  72. package/src/fonts/licenses/LICENSE-dm-serif-display.txt +93 -0
  73. package/src/fonts/licenses/LICENSE-hanken-grotesk.txt +94 -0
  74. package/src/fonts/licenses/LICENSE-ibm-plex-sans.txt +93 -0
  75. package/src/fonts/licenses/LICENSE-inter.txt +93 -0
  76. package/src/fonts/licenses/LICENSE-jetbrains-mono.txt +93 -0
  77. package/src/fonts/licenses/LICENSE-lora.txt +93 -0
  78. package/src/fonts/licenses/LICENSE-merriweather.txt +93 -0
  79. package/src/fonts/licenses/LICENSE-oswald.txt +93 -0
  80. package/src/fonts/licenses/LICENSE-playfair-display.txt +93 -0
  81. package/src/fonts/licenses/LICENSE-pt-serif.txt +93 -0
  82. package/src/fonts/licenses/LICENSE-roboto.txt +93 -0
  83. package/src/fonts/licenses/LICENSE-source-serif-4.txt +93 -0
  84. package/src/fonts/woff2/cormorant-garamond-400.woff2 +0 -0
  85. package/src/fonts/woff2/cormorant-garamond-700.woff2 +0 -0
  86. package/src/fonts/woff2/crimson-text-400.woff2 +0 -0
  87. package/src/fonts/woff2/crimson-text-400i.woff2 +0 -0
  88. package/src/fonts/woff2/crimson-text-700.woff2 +0 -0
  89. package/src/fonts/woff2/dm-sans-400.woff2 +0 -0
  90. package/src/fonts/woff2/dm-sans-400i.woff2 +0 -0
  91. package/src/fonts/woff2/dm-sans-500.woff2 +0 -0
  92. package/src/fonts/woff2/dm-sans-700.woff2 +0 -0
  93. package/src/fonts/woff2/dm-serif-display-400.woff2 +0 -0
  94. package/src/fonts/woff2/hanken-grotesk-400.woff2 +0 -0
  95. package/src/fonts/woff2/hanken-grotesk-400i.woff2 +0 -0
  96. package/src/fonts/woff2/hanken-grotesk-500.woff2 +0 -0
  97. package/src/fonts/woff2/hanken-grotesk-600.woff2 +0 -0
  98. package/src/fonts/woff2/hanken-grotesk-700.woff2 +0 -0
  99. package/src/fonts/woff2/ibm-plex-sans-400.woff2 +0 -0
  100. package/src/fonts/woff2/ibm-plex-sans-400i.woff2 +0 -0
  101. package/src/fonts/woff2/ibm-plex-sans-500.woff2 +0 -0
  102. package/src/fonts/woff2/ibm-plex-sans-600.woff2 +0 -0
  103. package/src/fonts/woff2/ibm-plex-sans-700.woff2 +0 -0
  104. package/src/fonts/woff2/inter-400.woff2 +0 -0
  105. package/src/fonts/woff2/inter-400i.woff2 +0 -0
  106. package/src/fonts/woff2/inter-500.woff2 +0 -0
  107. package/src/fonts/woff2/inter-600.woff2 +0 -0
  108. package/src/fonts/woff2/inter-700.woff2 +0 -0
  109. package/src/fonts/woff2/jetbrains-mono-400.woff2 +0 -0
  110. package/src/fonts/woff2/jetbrains-mono-400i.woff2 +0 -0
  111. package/src/fonts/woff2/jetbrains-mono-700.woff2 +0 -0
  112. package/src/fonts/woff2/lora-400.woff2 +0 -0
  113. package/src/fonts/woff2/lora-400i.woff2 +0 -0
  114. package/src/fonts/woff2/lora-700.woff2 +0 -0
  115. package/src/fonts/woff2/merriweather-400.woff2 +0 -0
  116. package/src/fonts/woff2/merriweather-700.woff2 +0 -0
  117. package/src/fonts/woff2/oswald-400.woff2 +0 -0
  118. package/src/fonts/woff2/oswald-700.woff2 +0 -0
  119. package/src/fonts/woff2/playfair-display-400.woff2 +0 -0
  120. package/src/fonts/woff2/playfair-display-700.woff2 +0 -0
  121. package/src/fonts/woff2/pt-serif-400.woff2 +0 -0
  122. package/src/fonts/woff2/pt-serif-700.woff2 +0 -0
  123. package/src/fonts/woff2/roboto-400.woff2 +0 -0
  124. package/src/fonts/woff2/roboto-400i.woff2 +0 -0
  125. package/src/fonts/woff2/roboto-700.woff2 +0 -0
  126. package/src/fonts/woff2/source-serif-4-400.woff2 +0 -0
  127. package/src/fonts/woff2/source-serif-4-400i.woff2 +0 -0
  128. package/src/fonts/woff2/source-serif-4-700.woff2 +0 -0
  129. package/src/hooks/useAutoSave.ts +87 -29
  130. package/src/icons.tsx +10 -0
  131. package/src/index.ts +1 -1
  132. package/src/preferences/versioning.ts +69 -0
  133. package/src/styles/docblocks.css +1037 -55
@@ -0,0 +1,121 @@
1
+ /**
2
+ * WorkspaceSettingsDialog — per-workspace settings modal.
3
+ *
4
+ * Lets the user override the global versioning preference for a single
5
+ * workspace (or fall back to inheriting it). The override is stored on
6
+ * the WorkspaceDescriptor and persisted via `saveWorkspace`.
7
+ */
8
+
9
+ import { useCallback, useEffect } from 'react';
10
+ import type { WorkspaceDescriptor } from '@bendyline/docblocks/workspace';
11
+ import {
12
+ isLocalWorkspaceType,
13
+ resolveVersioningEnabled,
14
+ type VersioningPreference,
15
+ } from '../preferences/versioning.js';
16
+
17
+ export type WorkspaceVersioningOverride = NonNullable<WorkspaceDescriptor['versioningOverride']>;
18
+
19
+ export interface WorkspaceSettingsDialogProps {
20
+ workspace: WorkspaceDescriptor;
21
+ /** Current global versioning preference — used to label "Inherit". */
22
+ globalVersioningPreference: VersioningPreference;
23
+ /** Apply a new override and close the dialog. */
24
+ onChange: (override: WorkspaceVersioningOverride) => void;
25
+ onClose: () => void;
26
+ }
27
+
28
+ const VERSIONING_LABELS: Record<VersioningPreference, string> = {
29
+ on: 'on',
30
+ 'browser-only': 'on for browser workspaces, off for local folders',
31
+ off: 'off',
32
+ };
33
+
34
+ export function WorkspaceSettingsDialog({
35
+ workspace,
36
+ globalVersioningPreference,
37
+ onChange,
38
+ onClose,
39
+ }: WorkspaceSettingsDialogProps) {
40
+ // Treat absent/undefined as 'inherit' for the radio state.
41
+ const current: WorkspaceVersioningOverride = workspace.versioningOverride ?? 'inherit';
42
+
43
+ useEffect(() => {
44
+ const onKey = (e: KeyboardEvent) => {
45
+ if (e.key === 'Escape') onClose();
46
+ };
47
+ window.addEventListener('keydown', onKey);
48
+ return () => window.removeEventListener('keydown', onKey);
49
+ }, [onClose]);
50
+
51
+ const handleBackdropClick = useCallback(
52
+ (e: React.MouseEvent) => {
53
+ if (e.target === e.currentTarget) onClose();
54
+ },
55
+ [onClose],
56
+ );
57
+
58
+ const isLocal = isLocalWorkspaceType(workspace.type);
59
+ const inheritedEnabled = resolveVersioningEnabled(
60
+ { ...workspace, versioningOverride: 'inherit' },
61
+ globalVersioningPreference,
62
+ );
63
+ const inheritLabel = `Inherit default — currently ${VERSIONING_LABELS[globalVersioningPreference]} (${inheritedEnabled ? 'on' : 'off'} for this workspace)`;
64
+
65
+ return (
66
+ <div className="db-dialog-overlay" onClick={handleBackdropClick}>
67
+ <div className="db-dialog" role="dialog" aria-label="Workspace settings">
68
+ <div className="db-dialog-header">
69
+ <h2 className="db-dialog-title">Workspace settings</h2>
70
+ <button type="button" className="db-dialog-close" onClick={onClose} aria-label="Close">
71
+ &times;
72
+ </button>
73
+ </div>
74
+ <div className="db-dialog-body">
75
+ <p className="db-settings-hint">
76
+ <strong>{workspace.name}</strong> &middot;{' '}
77
+ {isLocal ? 'Local folder workspace' : 'Browser workspace'}
78
+ </p>
79
+
80
+ <fieldset className="db-settings-fieldset">
81
+ <legend className="db-settings-legend">Version history</legend>
82
+ <p className="db-settings-hint">
83
+ Controls whether DocBlocks keeps prior revisions in{' '}
84
+ <code>&lt;name&gt;_files/.versions/</code> for documents in this workspace.
85
+ </p>
86
+ <label className="db-settings-radio">
87
+ <input
88
+ type="radio"
89
+ name="ws-versioning"
90
+ value="inherit"
91
+ checked={current === 'inherit'}
92
+ onChange={() => onChange('inherit')}
93
+ />
94
+ {inheritLabel}
95
+ </label>
96
+ <label className="db-settings-radio">
97
+ <input
98
+ type="radio"
99
+ name="ws-versioning"
100
+ value="on"
101
+ checked={current === 'on'}
102
+ onChange={() => onChange('on')}
103
+ />
104
+ On for this workspace
105
+ </label>
106
+ <label className="db-settings-radio">
107
+ <input
108
+ type="radio"
109
+ name="ws-versioning"
110
+ value="off"
111
+ checked={current === 'off'}
112
+ onChange={() => onChange('off')}
113
+ />
114
+ Off for this workspace
115
+ </label>
116
+ </fieldset>
117
+ </div>
118
+ </div>
119
+ </div>
120
+ );
121
+ }
@@ -0,0 +1,362 @@
1
+ /* Google Fonts - Latin subset, self-hosted WOFF2 */
2
+ /* See licenses/ directory for individual font licenses */
3
+
4
+ @font-face {
5
+ font-family: 'Playfair Display';
6
+ font-style: normal;
7
+ font-weight: 400;
8
+ font-display: swap;
9
+ src: url('./woff2/playfair-display-400.woff2') format('woff2');
10
+ }
11
+
12
+ @font-face {
13
+ font-family: 'Playfair Display';
14
+ font-style: normal;
15
+ font-weight: 700;
16
+ font-display: swap;
17
+ src: url('./woff2/playfair-display-700.woff2') format('woff2');
18
+ }
19
+
20
+ @font-face {
21
+ font-family: 'Oswald';
22
+ font-style: normal;
23
+ font-weight: 400;
24
+ font-display: swap;
25
+ src: url('./woff2/oswald-400.woff2') format('woff2');
26
+ }
27
+
28
+ @font-face {
29
+ font-family: 'Oswald';
30
+ font-style: normal;
31
+ font-weight: 700;
32
+ font-display: swap;
33
+ src: url('./woff2/oswald-700.woff2') format('woff2');
34
+ }
35
+
36
+ @font-face {
37
+ font-family: 'Merriweather';
38
+ font-style: normal;
39
+ font-weight: 400;
40
+ font-display: swap;
41
+ src: url('./woff2/merriweather-400.woff2') format('woff2');
42
+ }
43
+
44
+ @font-face {
45
+ font-family: 'Merriweather';
46
+ font-style: normal;
47
+ font-weight: 700;
48
+ font-display: swap;
49
+ src: url('./woff2/merriweather-700.woff2') format('woff2');
50
+ }
51
+
52
+ @font-face {
53
+ font-family: 'DM Serif Display';
54
+ font-style: normal;
55
+ font-weight: 400;
56
+ font-display: swap;
57
+ src: url('./woff2/dm-serif-display-400.woff2') format('woff2');
58
+ }
59
+
60
+ @font-face {
61
+ font-family: 'Cormorant Garamond';
62
+ font-style: normal;
63
+ font-weight: 400;
64
+ font-display: swap;
65
+ src: url('./woff2/cormorant-garamond-400.woff2') format('woff2');
66
+ }
67
+
68
+ @font-face {
69
+ font-family: 'Cormorant Garamond';
70
+ font-style: normal;
71
+ font-weight: 700;
72
+ font-display: swap;
73
+ src: url('./woff2/cormorant-garamond-700.woff2') format('woff2');
74
+ }
75
+
76
+ @font-face {
77
+ font-family: 'PT Serif';
78
+ font-style: normal;
79
+ font-weight: 400;
80
+ font-display: swap;
81
+ src: url('./woff2/pt-serif-400.woff2') format('woff2');
82
+ }
83
+
84
+ @font-face {
85
+ font-family: 'PT Serif';
86
+ font-style: normal;
87
+ font-weight: 700;
88
+ font-display: swap;
89
+ src: url('./woff2/pt-serif-700.woff2') format('woff2');
90
+ }
91
+
92
+ @font-face {
93
+ font-family: 'Source Serif 4';
94
+ font-style: italic;
95
+ font-weight: 400;
96
+ font-display: swap;
97
+ src: url('./woff2/source-serif-4-400i.woff2') format('woff2');
98
+ }
99
+
100
+ @font-face {
101
+ font-family: 'Source Serif 4';
102
+ font-style: normal;
103
+ font-weight: 400;
104
+ font-display: swap;
105
+ src: url('./woff2/source-serif-4-400.woff2') format('woff2');
106
+ }
107
+
108
+ @font-face {
109
+ font-family: 'Source Serif 4';
110
+ font-style: normal;
111
+ font-weight: 700;
112
+ font-display: swap;
113
+ src: url('./woff2/source-serif-4-700.woff2') format('woff2');
114
+ }
115
+
116
+ @font-face {
117
+ font-family: 'Roboto';
118
+ font-style: italic;
119
+ font-weight: 400;
120
+ font-display: swap;
121
+ src: url('./woff2/roboto-400i.woff2') format('woff2');
122
+ }
123
+
124
+ @font-face {
125
+ font-family: 'Roboto';
126
+ font-style: normal;
127
+ font-weight: 400;
128
+ font-display: swap;
129
+ src: url('./woff2/roboto-400.woff2') format('woff2');
130
+ }
131
+
132
+ @font-face {
133
+ font-family: 'Roboto';
134
+ font-style: normal;
135
+ font-weight: 700;
136
+ font-display: swap;
137
+ src: url('./woff2/roboto-700.woff2') format('woff2');
138
+ }
139
+
140
+ @font-face {
141
+ font-family: 'Lora';
142
+ font-style: italic;
143
+ font-weight: 400;
144
+ font-display: swap;
145
+ src: url('./woff2/lora-400i.woff2') format('woff2');
146
+ }
147
+
148
+ @font-face {
149
+ font-family: 'Lora';
150
+ font-style: normal;
151
+ font-weight: 400;
152
+ font-display: swap;
153
+ src: url('./woff2/lora-400.woff2') format('woff2');
154
+ }
155
+
156
+ @font-face {
157
+ font-family: 'Lora';
158
+ font-style: normal;
159
+ font-weight: 700;
160
+ font-display: swap;
161
+ src: url('./woff2/lora-700.woff2') format('woff2');
162
+ }
163
+
164
+ @font-face {
165
+ font-family: 'IBM Plex Sans';
166
+ font-style: italic;
167
+ font-weight: 400;
168
+ font-display: swap;
169
+ src: url('./woff2/ibm-plex-sans-400i.woff2') format('woff2');
170
+ }
171
+
172
+ @font-face {
173
+ font-family: 'IBM Plex Sans';
174
+ font-style: normal;
175
+ font-weight: 400;
176
+ font-display: swap;
177
+ src: url('./woff2/ibm-plex-sans-400.woff2') format('woff2');
178
+ }
179
+
180
+ @font-face {
181
+ font-family: 'IBM Plex Sans';
182
+ font-style: normal;
183
+ font-weight: 500;
184
+ font-display: swap;
185
+ src: url('./woff2/ibm-plex-sans-500.woff2') format('woff2');
186
+ }
187
+
188
+ @font-face {
189
+ font-family: 'IBM Plex Sans';
190
+ font-style: normal;
191
+ font-weight: 600;
192
+ font-display: swap;
193
+ src: url('./woff2/ibm-plex-sans-600.woff2') format('woff2');
194
+ }
195
+
196
+ @font-face {
197
+ font-family: 'IBM Plex Sans';
198
+ font-style: normal;
199
+ font-weight: 700;
200
+ font-display: swap;
201
+ src: url('./woff2/ibm-plex-sans-700.woff2') format('woff2');
202
+ }
203
+
204
+ @font-face {
205
+ font-family: 'DM Sans';
206
+ font-style: italic;
207
+ font-weight: 400;
208
+ font-display: swap;
209
+ src: url('./woff2/dm-sans-400i.woff2') format('woff2');
210
+ }
211
+
212
+ @font-face {
213
+ font-family: 'DM Sans';
214
+ font-style: normal;
215
+ font-weight: 400;
216
+ font-display: swap;
217
+ src: url('./woff2/dm-sans-400.woff2') format('woff2');
218
+ }
219
+
220
+ @font-face {
221
+ font-family: 'DM Sans';
222
+ font-style: normal;
223
+ font-weight: 500;
224
+ font-display: swap;
225
+ src: url('./woff2/dm-sans-500.woff2') format('woff2');
226
+ }
227
+
228
+ @font-face {
229
+ font-family: 'DM Sans';
230
+ font-style: normal;
231
+ font-weight: 700;
232
+ font-display: swap;
233
+ src: url('./woff2/dm-sans-700.woff2') format('woff2');
234
+ }
235
+
236
+ @font-face {
237
+ font-family: 'Crimson Text';
238
+ font-style: italic;
239
+ font-weight: 400;
240
+ font-display: swap;
241
+ src: url('./woff2/crimson-text-400i.woff2') format('woff2');
242
+ }
243
+
244
+ @font-face {
245
+ font-family: 'Crimson Text';
246
+ font-style: normal;
247
+ font-weight: 400;
248
+ font-display: swap;
249
+ src: url('./woff2/crimson-text-400.woff2') format('woff2');
250
+ }
251
+
252
+ @font-face {
253
+ font-family: 'Crimson Text';
254
+ font-style: normal;
255
+ font-weight: 700;
256
+ font-display: swap;
257
+ src: url('./woff2/crimson-text-700.woff2') format('woff2');
258
+ }
259
+
260
+ @font-face {
261
+ font-family: 'Hanken Grotesk';
262
+ font-style: italic;
263
+ font-weight: 400;
264
+ font-display: swap;
265
+ src: url('./woff2/hanken-grotesk-400i.woff2') format('woff2');
266
+ }
267
+
268
+ @font-face {
269
+ font-family: 'Hanken Grotesk';
270
+ font-style: normal;
271
+ font-weight: 400;
272
+ font-display: swap;
273
+ src: url('./woff2/hanken-grotesk-400.woff2') format('woff2');
274
+ }
275
+
276
+ @font-face {
277
+ font-family: 'Hanken Grotesk';
278
+ font-style: normal;
279
+ font-weight: 500;
280
+ font-display: swap;
281
+ src: url('./woff2/hanken-grotesk-500.woff2') format('woff2');
282
+ }
283
+
284
+ @font-face {
285
+ font-family: 'Hanken Grotesk';
286
+ font-style: normal;
287
+ font-weight: 600;
288
+ font-display: swap;
289
+ src: url('./woff2/hanken-grotesk-600.woff2') format('woff2');
290
+ }
291
+
292
+ @font-face {
293
+ font-family: 'Hanken Grotesk';
294
+ font-style: normal;
295
+ font-weight: 700;
296
+ font-display: swap;
297
+ src: url('./woff2/hanken-grotesk-700.woff2') format('woff2');
298
+ }
299
+
300
+ @font-face {
301
+ font-family: 'Inter';
302
+ font-style: italic;
303
+ font-weight: 400;
304
+ font-display: swap;
305
+ src: url('./woff2/inter-400i.woff2') format('woff2');
306
+ }
307
+
308
+ @font-face {
309
+ font-family: 'Inter';
310
+ font-style: normal;
311
+ font-weight: 400;
312
+ font-display: swap;
313
+ src: url('./woff2/inter-400.woff2') format('woff2');
314
+ }
315
+
316
+ @font-face {
317
+ font-family: 'Inter';
318
+ font-style: normal;
319
+ font-weight: 500;
320
+ font-display: swap;
321
+ src: url('./woff2/inter-500.woff2') format('woff2');
322
+ }
323
+
324
+ @font-face {
325
+ font-family: 'Inter';
326
+ font-style: normal;
327
+ font-weight: 600;
328
+ font-display: swap;
329
+ src: url('./woff2/inter-600.woff2') format('woff2');
330
+ }
331
+
332
+ @font-face {
333
+ font-family: 'Inter';
334
+ font-style: normal;
335
+ font-weight: 700;
336
+ font-display: swap;
337
+ src: url('./woff2/inter-700.woff2') format('woff2');
338
+ }
339
+
340
+ @font-face {
341
+ font-family: 'JetBrains Mono';
342
+ font-style: italic;
343
+ font-weight: 400;
344
+ font-display: swap;
345
+ src: url('./woff2/jetbrains-mono-400i.woff2') format('woff2');
346
+ }
347
+
348
+ @font-face {
349
+ font-family: 'JetBrains Mono';
350
+ font-style: normal;
351
+ font-weight: 400;
352
+ font-display: swap;
353
+ src: url('./woff2/jetbrains-mono-400.woff2') format('woff2');
354
+ }
355
+
356
+ @font-face {
357
+ font-family: 'JetBrains Mono';
358
+ font-style: normal;
359
+ font-weight: 700;
360
+ font-display: swap;
361
+ src: url('./woff2/jetbrains-mono-700.woff2') format('woff2');
362
+ }
@@ -0,0 +1,93 @@
1
+ Copyright 2015 the Cormorant Project Authors (github.com/CatharsisFonts/Cormorant)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://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.
@@ -0,0 +1,93 @@
1
+ Copyright 2010 The Crimson Text Project Authors (https://github.com/googlefonts/Crimson)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://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.