@leitwerk-dev/ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE +13 -0
- package/dist/assets/ChronicleMarkdown-BLgtHeEE.js +16 -0
- package/dist/assets/ChronicleMarkdown-D6hFzERy.css +1 -0
- package/dist/assets/FutureLaunchDetailPage-KrXSGzHM.js +1 -0
- package/dist/assets/FutureLaunchDetailPage-VPMBtpYc.css +1 -0
- package/dist/assets/GenericLauncher-Cv38FByt.js +1 -0
- package/dist/assets/GenericLauncher-D_GMtsQ5.css +1 -0
- package/dist/assets/HomePage-Cd3lEtwZ.js +1 -0
- package/dist/assets/HomePage-DYh_QHXv.css +1 -0
- package/dist/assets/PageHeader-6PdvYODN.css +1 -0
- package/dist/assets/PageHeader-D6pP4hIh.js +1 -0
- package/dist/assets/ProcessActionsMenu-1QySGNy9.js +1 -0
- package/dist/assets/ProcessActionsMenu-BT2r9vO8.css +1 -0
- package/dist/assets/ProcessDetailPage-BLuc7sjV.js +12 -0
- package/dist/assets/ProcessDetailPage-CSrjzajF.css +1 -0
- package/dist/assets/ProcessFlowDiagram-BAh_M_rb.js +2 -0
- package/dist/assets/ProcessFlowDiagram-Cz8wNicU.css +1 -0
- package/dist/assets/ProcessesPage-BcM38HMs.css +1 -0
- package/dist/assets/ProcessesPage-DtPweRU-.js +1 -0
- package/dist/assets/ScheduleDateTimePicker-CQGvY-Rc.js +1 -0
- package/dist/assets/ScheduleDateTimePicker-CadXN9z7.css +1 -0
- package/dist/assets/SkillsPage-B30FAFia.css +1 -0
- package/dist/assets/SkillsPage-bXuv0kEE.js +2 -0
- package/dist/assets/WatchersPage-DNyUsU1y.js +1 -0
- package/dist/assets/WatchersPage-Dnfi1zUK.css +1 -0
- package/dist/assets/api-CqECFdii.js +1 -0
- package/dist/assets/browser-storage-LbKCyf_w.js +1 -0
- package/dist/assets/dist-B7WNbObw.js +2 -0
- package/dist/assets/index-66T4Gmbl.css +1 -0
- package/dist/assets/index-C8qCggeq.js +7 -0
- package/dist/assets/index-client-BqF3_t3P.js +2 -0
- package/dist/assets/mermaid-render.worker-DAVgiVRG.js +6393 -0
- package/dist/assets/retry-config.svelte-DFKCJtCe.js +1 -0
- package/dist/assets/router.svelte-COr45o9R.js +1 -0
- package/dist/fonts/OFL-Public-Sans.txt +115 -0
- package/dist/fonts/OFL-Spectral.txt +93 -0
- package/dist/fonts/README.md +38 -0
- package/dist/fonts/fonts.css +85 -0
- package/dist/fonts/public-sans-latin-cd00287f.woff2 +0 -0
- package/dist/fonts/public-sans-latin-ext-d025d4ba.woff2 +0 -0
- package/dist/fonts/spectral-latin-89d48951.woff2 +0 -0
- package/dist/fonts/spectral-latin-b7578f14.woff2 +0 -0
- package/dist/fonts/spectral-latin-c4e0a00d.woff2 +0 -0
- package/dist/fonts/spectral-latin-ext-260738f4.woff2 +0 -0
- package/dist/fonts/spectral-latin-ext-ab18ac17.woff2 +0 -0
- package/dist/fonts/spectral-latin-ext-f58c1db3.woff2 +0 -0
- package/dist/index.html +32 -0
- package/package.json +47 -0
- package/src/App.svelte +257 -0
- package/src/chronicle/components/ChronicleActionSection.svelte +1035 -0
- package/src/chronicle/components/ChronicleExpandButton.svelte +70 -0
- package/src/chronicle/components/ChronicleFlow.svelte +289 -0
- package/src/chronicle/components/ChronicleLeafOutcomePlaceholder.svelte +44 -0
- package/src/chronicle/components/ChronicleLeafOutcomeRendererHost.svelte +408 -0
- package/src/chronicle/components/ChronicleLeafOutcomeSection.svelte +253 -0
- package/src/chronicle/components/ChronicleLiveChip.svelte +96 -0
- package/src/chronicle/components/ChronicleLiveTail.svelte +376 -0
- package/src/chronicle/components/ChronicleMarkdown.svelte +168 -0
- package/src/chronicle/components/ChronicleOperatorInputSection.svelte +41 -0
- package/src/chronicle/components/ChronicleProcessErrorSection.svelte +131 -0
- package/src/chronicle/components/ChroniclePromptSection.svelte +54 -0
- package/src/chronicle/components/ChronicleQuestionRequest.svelte +167 -0
- package/src/chronicle/components/ChronicleReasoningDetailsOverlay.svelte +893 -0
- package/src/chronicle/components/ChronicleRecoverySection.svelte +338 -0
- package/src/chronicle/components/ChronicleScheduledActionSection.svelte +192 -0
- package/src/chronicle/components/ChronicleSectionHeader.svelte +135 -0
- package/src/chronicle/components/ChronicleStartupRecoverySection.svelte +138 -0
- package/src/chronicle/components/ChronicleTerminalSummary.svelte +127 -0
- package/src/chronicle/components/ChronicleThinkingSection.svelte +191 -0
- package/src/chronicle/components/ChronicleThinkingText.svelte +46 -0
- package/src/chronicle/components/ChronicleToolCallItem.svelte +477 -0
- package/src/chronicle/components/ChronicleTurnCluster.svelte +325 -0
- package/src/chronicle/components/ChronicleTurnRail.svelte +584 -0
- package/src/chronicle/components/ChronicleUsageStats.svelte +107 -0
- package/src/chronicle/components/CompactActionComposer.svelte +417 -0
- package/src/chronicle/components/ModelProfileOptions.svelte +20 -0
- package/src/chronicle/components/ProviderOptionsEditor.svelte +171 -0
- package/src/chronicle/components/RecoveryModelControl.svelte +95 -0
- package/src/chronicle/lib/action-bindings.ts +90 -0
- package/src/chronicle/lib/action-model-display.ts +133 -0
- package/src/chronicle/lib/action-preview.ts +16 -0
- package/src/chronicle/lib/chronicle-projection.ts +1342 -0
- package/src/chronicle/lib/chronicle-selectable-items.ts +352 -0
- package/src/chronicle/lib/chronicle-view-model.ts +121 -0
- package/src/chronicle/lib/formatting.ts +18 -0
- package/src/chronicle/lib/leaf-outcome-loader.ts +214 -0
- package/src/chronicle/lib/leaf-outcome-runtime.ts +37 -0
- package/src/chronicle/lib/prompt-highlighting.ts +78 -0
- package/src/chronicle/lib/scroll-sync.ts +88 -0
- package/src/chronicle/lib/tool-call-summary.ts +64 -0
- package/src/components/BrowserUiExtensionIndicatorHost.svelte +34 -0
- package/src/components/ConversationTreeDiagram.svelte +393 -0
- package/src/components/FormFieldRenderer.svelte +359 -0
- package/src/components/GenericLauncher.svelte +1970 -0
- package/src/components/KeyboardShortcutsModal.svelte +52 -0
- package/src/components/ModalShell.svelte +105 -0
- package/src/components/PageHeader.svelte +146 -0
- package/src/components/ProcessActionsMenu.svelte +514 -0
- package/src/components/ProcessInfoOverlay.svelte +1229 -0
- package/src/components/ScheduleDateTimePicker.svelte +155 -0
- package/src/components/SkillSelector.svelte +45 -0
- package/src/components/ToastContainer.svelte +192 -0
- package/src/components/launcher-form-copy.ts +172 -0
- package/src/components/launcher-model-config.ts +263 -0
- package/src/components/launcher-schedule.ts +127 -0
- package/src/extension-ui-dev-server.ts +98 -0
- package/src/lib/api.ts +970 -0
- package/src/lib/beautiful-mermaid-elk-instance.ts +54 -0
- package/src/lib/browser-storage.ts +11 -0
- package/src/lib/cost-estimates.ts +41 -0
- package/src/lib/elk-bundled-worker.ts +41 -0
- package/src/lib/flow-layout.ts +326 -0
- package/src/lib/format.ts +96 -0
- package/src/lib/future-executions-logic.ts +12 -0
- package/src/lib/future-launch-detail.ts +145 -0
- package/src/lib/instance-tree-layout.ts +158 -0
- package/src/lib/keyboard-shortcuts-help.ts +20 -0
- package/src/lib/keyboard.ts +40 -0
- package/src/lib/launcher-recent-values.ts +68 -0
- package/src/lib/markdown.ts +94 -0
- package/src/lib/mermaid-render.worker.ts +36 -0
- package/src/lib/pi-stream.ts +3 -0
- package/src/lib/primary-path-detail.ts +337 -0
- package/src/lib/primary-path-replay.ts +27 -0
- package/src/lib/process-browser.ts +179 -0
- package/src/lib/process-initial-prompt.ts +7 -0
- package/src/lib/process-launch-notices.svelte.ts +25 -0
- package/src/lib/process-row-view.ts +60 -0
- package/src/lib/process-terminal-display.ts +17 -0
- package/src/lib/process-toast-focus.svelte.ts +18 -0
- package/src/lib/processes-logic.ts +2 -0
- package/src/lib/processes.svelte.ts +334 -0
- package/src/lib/request-guard.ts +20 -0
- package/src/lib/retry-config.svelte.ts +19 -0
- package/src/lib/rich-markdown-elements.ts +173 -0
- package/src/lib/router-logic.ts +190 -0
- package/src/lib/router.svelte.ts +56 -0
- package/src/lib/runtime-config.ts +96 -0
- package/src/lib/test-fixtures.ts +13 -0
- package/src/lib/toasts.svelte.ts +104 -0
- package/src/lib/tool-call-rendering.ts +66 -0
- package/src/lib/ui-extensions.svelte.ts +381 -0
- package/src/lib/usage-snapshot.ts +9 -0
- package/src/lib/ws-classifier.ts +80 -0
- package/src/lib/ws.svelte.ts +281 -0
- package/src/main.ts +8 -0
- package/src/pages/FutureLaunchDetailPage.svelte +479 -0
- package/src/pages/HomePage.svelte +306 -0
- package/src/pages/ProcessCard.svelte +99 -0
- package/src/pages/ProcessDetailPage.svelte +599 -0
- package/src/pages/ProcessFlowDiagram.svelte +696 -0
- package/src/pages/ProcessGallery.svelte +252 -0
- package/src/pages/ProcessesPage.svelte +994 -0
- package/src/pages/SkillsPage.svelte +665 -0
- package/src/pages/WatchersPage.svelte +330 -0
- package/src/pages/process-detail/OverlayFrame.svelte +58 -0
- package/src/pages/process-detail/ProcessDetailChronicle.svelte +460 -0
- package/src/pages/process-detail/ProcessDetailHeader.svelte +167 -0
- package/src/pages/process-detail/process-detail-action-drafts.svelte.ts +211 -0
- package/src/pages/process-detail/process-detail-actions.svelte.ts +548 -0
- package/src/pages/process-detail/process-detail-chronicle-dom.ts +102 -0
- package/src/pages/process-detail/process-detail-chronicle-scroll.svelte.ts +711 -0
- package/src/pages/process-detail/process-detail-mutations.svelte.ts +91 -0
- package/src/pages/process-detail/process-detail-view-model.ts +149 -0
- package/src/shell/AppShell.svelte +249 -0
- package/src/shell/RouteLoadBoundary.svelte +43 -0
- package/src/shell/Sidebar.svelte +1358 -0
- package/src/shell/test-fixtures/RouteLoadTestComponent.svelte +5 -0
- package/src/vite-env.d.ts +2 -0
- package/src/vite-server-config.ts +27 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as e,V as t,tt as n}from"./index-client-BqF3_t3P.js";var r=n(null);function i(t){e(r,t,!0)}function a(){let n=t(r);return e(r,null),n}export{i as n,a as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./ChronicleMarkdown-BLgtHeEE.js";import{ct as t,ut as n}from"./index-client-BqF3_t3P.js";function r(e){let t=[e.indexOf(`?`),e.indexOf(`#`)].filter(e=>e>=0),n=t.length>0?Math.min(...t):e.length;return e.slice(0,n)}function i(e){let t=e.indexOf(`?`);if(t<0)return new URLSearchParams;let n=e.indexOf(`#`,t),r=e.slice(t+1,n>=0?n:e.length);return new URLSearchParams(r)}function a(e,t){let n=e.slice(t.length).split(`/`)[0];return n?decodeURIComponent(n):``}function o(e){if(!e)return`/`;let t=new URLSearchParams;return t.set(`launcher`,e),`/?${t.toString()}`}function s(e){return`/future-launches/${encodeURIComponent(e)}`}function c(){return`/processes`}function l(e,t={}){let n=`/processes/${encodeURIComponent(e)}`,r=new URLSearchParams;t.overlay===`process-info`?r.set(`overlay`,`process-info`):t.overlay===`reasoning`&&(r.set(`overlay`,`reasoning`),t.turnRecordId&&r.set(`turnRecordId`,t.turnRecordId));let i=r.toString();return i?`${n}?${i}`:n}function u(){return`/watchers`}function d(){return`/skills`}function f(e,t){return`/skills/available/${encodeURIComponent(e)}/${encodeURIComponent(t)}`}function p(e){return`/skills/installed/${encodeURIComponent(e)}`}function m(e){let t=i(e),n=t.get(`overlay`);return n===`process-info`?{kind:`process-info`}:n===`reasoning`?{kind:`reasoning`,turnRecordId:t.get(`turnRecordId`)}:{kind:`none`}}function h(e,t,n,i){let o=r(e);if(!o.startsWith(t))return null;let s=a(o,t);return s?{page:n,params:{[i]:s}}:null}function g(e){let t=r(e),n=h(e,`/processes/`,`process-detail`,`instanceId`);if(n)return n;let a=h(e,`/future-launches/`,`future-launch-detail`,`futureExecutionId`);if(a)return a;if(t.startsWith(`/skills/available/`)){let e=t.slice(18).split(`/`).filter(Boolean);if(e.length>=2)return{page:`skills`,params:{detailKind:`available`,repositoryId:decodeURIComponent(e[0]??``),skillId:decodeURIComponent(e[1]??``)}}}if(t.startsWith(`/skills/installed/`)){let e=t.slice(18).split(`/`).filter(Boolean)[0];if(e)return{page:`skills`,params:{detailKind:`installed`,skillId:decodeURIComponent(e)}}}if(t===`/skills`||t===`/skills/`)return{page:`skills`,params:{}};if(t===`/watchers`||t===`/watchers/`)return{page:`watchers`,params:{}};if(t===`/processes`||t===`/processes/`)return{page:`processes`,params:{}};if(t===`/`||t===`/config`||t===`/system`){let t=i(e).get(`launcher`);return t?{page:`home`,params:{launcher:t}}:{page:`home`,params:{}}}return{page:`home`,params:{}}}var _=e({buildProcessesPath:()=>c,followLink:()=>S,locationStore:()=>b,navigate:()=>C,routeStore:()=>x});function v(){return`${window.location.pathname}${window.location.search}${window.location.hash}`}var y=n(v()),b=t(y,e=>e),x=t(y,e=>g(e));function S(e,t){e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||(e.preventDefault(),C(t))}function C(e,t={}){t.replace?history.replaceState(null,``,e):history.pushState(null,``,e),y.set(v())}window.addEventListener(`popstate`,()=>{y.set(v())});export{_ as a,o as c,c as d,d as f,x as i,p as l,m,b as n,f as o,u as p,C as r,s,S as t,l as u};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
This repository is a fork of Libre Franklin: https://github.com/impallari/Libre-Franklin
|
|
2
|
+
|
|
3
|
+
## License for USWDS’s Modified Version
|
|
4
|
+
|
|
5
|
+
This repository contains both the original font software for Libre Franklin (the “Original Version”) and font software modifications made by the General Services Administration (GSA). This repository combines the Original Version and these GSA modifications into a piece of font software called Public Sans, which is a “Modified Version” of Libre Franklin.
|
|
6
|
+
|
|
7
|
+
As a work of the United States Government, the font software modifications made by GSA are not subject to copyright within the United States. Additionally, GSA waives copyright and related rights in its font software modifications worldwide through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).
|
|
8
|
+
|
|
9
|
+
The Original Version (as defined in the SIL Open Font License, Version 1.1) remains subject to copyright under the SIL Open Font License, Version 1.1.
|
|
10
|
+
|
|
11
|
+
This Modified Version (Public Sans) contains both software under the SIL Open Font License, Version 1.1 and software modifications by GSA released as CC0. As a work of the United States Government, the software modifications made by GSA are not subject to copyright within the United States. Additionally, GSA waives copyright and related rights in its software modifications worldwide through the [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/). It is a “joint work” made of the original software and modifications combined into a single work.
|
|
12
|
+
|
|
13
|
+
**In practice, users of this Modified Version (Public Sans) should use Public Sans according to the terms of the SIL Open Font License, Version 1.1, below.** This is because this font is a combination of work subject to copyright and work not subject to copyright, so the more restrictive requirements apply to using the combined work.
|
|
14
|
+
|
|
15
|
+
## License of project USWDS’s Modified Version is based on
|
|
16
|
+
|
|
17
|
+
- Libre Franklin is licensed under the SIL Open Font License, Version 1.1 (<http://scripts.sil.org/OFL>)
|
|
18
|
+
- To view the copyright and specific terms and conditions of Libre Franklin, please refer to [OFL.txt](https://github.com/impallari/Libre-Franklin/blob/master/OFL.txt)
|
|
19
|
+
|
|
20
|
+
## SIL Open Font License, Version 1.1
|
|
21
|
+
|
|
22
|
+
Copyright 2015 The Public Sans Project Authors (https://github.com/uswds/public-sans)
|
|
23
|
+
|
|
24
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
25
|
+
|
|
26
|
+
This license is copied below, and is also available with a FAQ at http://scripts.sil.org/OFL
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
-----------------------------------------------------------
|
|
30
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
31
|
+
-----------------------------------------------------------
|
|
32
|
+
|
|
33
|
+
PREAMBLE
|
|
34
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
35
|
+
development of collaborative font projects, to support the font creation
|
|
36
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
37
|
+
open framework in which fonts may be shared and improved in partnership
|
|
38
|
+
with others.
|
|
39
|
+
|
|
40
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
41
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
42
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
43
|
+
redistributed and/or sold with any software provided that any reserved
|
|
44
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
45
|
+
however, cannot be released under any other type of license. The
|
|
46
|
+
requirement for fonts to remain under this license does not apply
|
|
47
|
+
to any document created using the fonts or their derivatives.
|
|
48
|
+
|
|
49
|
+
DEFINITIONS
|
|
50
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
51
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
52
|
+
include source files, build scripts and documentation.
|
|
53
|
+
|
|
54
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
55
|
+
copyright statement(s).
|
|
56
|
+
|
|
57
|
+
"Original Version" refers to the collection of Font Software components as
|
|
58
|
+
distributed by the Copyright Holder(s).
|
|
59
|
+
|
|
60
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
61
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
62
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
63
|
+
new environment.
|
|
64
|
+
|
|
65
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
66
|
+
writer or other person who contributed to the Font Software.
|
|
67
|
+
|
|
68
|
+
PERMISSION & CONDITIONS
|
|
69
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
70
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
71
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
72
|
+
Software, subject to the following conditions:
|
|
73
|
+
|
|
74
|
+
1) Neither the Font Software nor any of its individual components,
|
|
75
|
+
in Original or Modified Versions, may be sold by itself.
|
|
76
|
+
|
|
77
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
78
|
+
redistributed and/or sold with any software, provided that each copy
|
|
79
|
+
contains the above copyright notice and this license. These can be
|
|
80
|
+
included either as stand-alone text files, human-readable headers or
|
|
81
|
+
in the appropriate machine-readable metadata fields within text or
|
|
82
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
83
|
+
|
|
84
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
85
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
86
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
87
|
+
presented to the users.
|
|
88
|
+
|
|
89
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
90
|
+
Software shall not be used to promote, endorse or advertise any
|
|
91
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
92
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
93
|
+
permission.
|
|
94
|
+
|
|
95
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
96
|
+
must be distributed entirely under this license, and must not be
|
|
97
|
+
distributed under any other license. The requirement for fonts to
|
|
98
|
+
remain under this license does not apply to any document created
|
|
99
|
+
using the Font Software.
|
|
100
|
+
|
|
101
|
+
TERMINATION
|
|
102
|
+
This license becomes null and void if any of the above conditions are
|
|
103
|
+
not met.
|
|
104
|
+
|
|
105
|
+
DISCLAIMER
|
|
106
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
107
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
108
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
109
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
110
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
111
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
112
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
113
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
114
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
115
|
+
```
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2017 The Spectral Project Authors (https://github.com/productiontype/Spectral)
|
|
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://openfontlicense.org
|
|
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,38 @@
|
|
|
1
|
+
# Self-hosted fonts
|
|
2
|
+
|
|
3
|
+
These fonts are bundled and served same-origin so app boot never depends on a
|
|
4
|
+
slow or unreachable third-party font host. Previously the UI loaded them via a
|
|
5
|
+
render-blocking `<link>` to Google Fonts, which could stall the entire app boot
|
|
6
|
+
when that host was slow.
|
|
7
|
+
|
|
8
|
+
## Fonts
|
|
9
|
+
|
|
10
|
+
| Family | Weights | Subsets | License |
|
|
11
|
+
| ----------- | --------------- | ---------------- | -------------- |
|
|
12
|
+
| Public Sans | 400/500/600/700 | latin, latin-ext | SIL OFL 1.1 |
|
|
13
|
+
| Spectral | 500/600/700 | latin, latin-ext | SIL OFL 1.1 |
|
|
14
|
+
|
|
15
|
+
Public Sans is a variable font, so weights 400-700 share a single woff2 file per
|
|
16
|
+
subset. Spectral ships one file per weight per subset.
|
|
17
|
+
|
|
18
|
+
The cyrillic and vietnamese subsets that Google Fonts serves were dropped; this
|
|
19
|
+
app only renders latin text.
|
|
20
|
+
|
|
21
|
+
## Licenses
|
|
22
|
+
|
|
23
|
+
Both families are licensed under the SIL Open Font License, Version 1.1. The
|
|
24
|
+
full license text and copyright notices are included alongside the font files:
|
|
25
|
+
|
|
26
|
+
- `OFL-Public-Sans.txt` — Copyright 2015 The Public Sans Project Authors
|
|
27
|
+
- `OFL-Spectral.txt` — Copyright 2017 The Spectral Project Authors
|
|
28
|
+
|
|
29
|
+
The OFL permits free use, embedding, and redistribution (including in
|
|
30
|
+
commercial products) provided the license and copyright notices travel with the
|
|
31
|
+
font files, the fonts are not sold on their own, and any modified version is not
|
|
32
|
+
distributed under the reserved font names. These files are unmodified.
|
|
33
|
+
|
|
34
|
+
## Updating
|
|
35
|
+
|
|
36
|
+
The woff2 files and `fonts.css` were generated from the Google Fonts CSS API.
|
|
37
|
+
Filenames are suffixed with a short hash of the source URL so distinct physical
|
|
38
|
+
files never collide. When regenerating, keep these license files in place.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Self-hosted fonts. See README.md in this directory.
|
|
3
|
+
* Public Sans — Copyright 2015 The Public Sans Project Authors — SIL OFL 1.1 (OFL-Public-Sans.txt)
|
|
4
|
+
* Spectral — Copyright 2017 The Spectral Project Authors — SIL OFL 1.1 (OFL-Spectral.txt)
|
|
5
|
+
*/
|
|
6
|
+
/* latin-ext */
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: "Public Sans";
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-weight: 400 700;
|
|
11
|
+
font-display: swap;
|
|
12
|
+
src: url(/fonts/public-sans-latin-ext-d025d4ba.woff2) format("woff2");
|
|
13
|
+
unicode-range:
|
|
14
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
15
|
+
}
|
|
16
|
+
/* latin */
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: "Public Sans";
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: 400 700;
|
|
21
|
+
font-display: swap;
|
|
22
|
+
src: url(/fonts/public-sans-latin-cd00287f.woff2) format("woff2");
|
|
23
|
+
unicode-range:
|
|
24
|
+
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;
|
|
25
|
+
}
|
|
26
|
+
/* latin-ext */
|
|
27
|
+
@font-face {
|
|
28
|
+
font-family: "Spectral";
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
font-display: swap;
|
|
32
|
+
src: url(/fonts/spectral-latin-ext-260738f4.woff2) format("woff2");
|
|
33
|
+
unicode-range:
|
|
34
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
35
|
+
}
|
|
36
|
+
/* latin */
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: "Spectral";
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
font-display: swap;
|
|
42
|
+
src: url(/fonts/spectral-latin-c4e0a00d.woff2) format("woff2");
|
|
43
|
+
unicode-range:
|
|
44
|
+
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;
|
|
45
|
+
}
|
|
46
|
+
/* latin-ext */
|
|
47
|
+
@font-face {
|
|
48
|
+
font-family: "Spectral";
|
|
49
|
+
font-style: normal;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
font-display: swap;
|
|
52
|
+
src: url(/fonts/spectral-latin-ext-f58c1db3.woff2) format("woff2");
|
|
53
|
+
unicode-range:
|
|
54
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
55
|
+
}
|
|
56
|
+
/* latin */
|
|
57
|
+
@font-face {
|
|
58
|
+
font-family: "Spectral";
|
|
59
|
+
font-style: normal;
|
|
60
|
+
font-weight: 600;
|
|
61
|
+
font-display: swap;
|
|
62
|
+
src: url(/fonts/spectral-latin-b7578f14.woff2) format("woff2");
|
|
63
|
+
unicode-range:
|
|
64
|
+
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;
|
|
65
|
+
}
|
|
66
|
+
/* latin-ext */
|
|
67
|
+
@font-face {
|
|
68
|
+
font-family: "Spectral";
|
|
69
|
+
font-style: normal;
|
|
70
|
+
font-weight: 700;
|
|
71
|
+
font-display: swap;
|
|
72
|
+
src: url(/fonts/spectral-latin-ext-ab18ac17.woff2) format("woff2");
|
|
73
|
+
unicode-range:
|
|
74
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
75
|
+
}
|
|
76
|
+
/* latin */
|
|
77
|
+
@font-face {
|
|
78
|
+
font-family: "Spectral";
|
|
79
|
+
font-style: normal;
|
|
80
|
+
font-weight: 700;
|
|
81
|
+
font-display: swap;
|
|
82
|
+
src: url(/fonts/spectral-latin-89d48951.woff2) format("woff2");
|
|
83
|
+
unicode-range:
|
|
84
|
+
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;
|
|
85
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<!--
|
|
7
|
+
Fonts are self-hosted (same-origin) so app boot never depends on a slow or
|
|
8
|
+
unreachable third-party host. Preload the primary latin body font to avoid
|
|
9
|
+
a flash of unstyled text; font-display: swap in fonts.css covers the rest.
|
|
10
|
+
-->
|
|
11
|
+
<link
|
|
12
|
+
rel="preload"
|
|
13
|
+
as="font"
|
|
14
|
+
type="font/woff2"
|
|
15
|
+
href="/fonts/public-sans-latin-cd00287f.woff2"
|
|
16
|
+
crossorigin
|
|
17
|
+
/>
|
|
18
|
+
<link rel="stylesheet" href="/fonts/fonts.css" />
|
|
19
|
+
<title>Leitwerk</title>
|
|
20
|
+
<script type="module" crossorigin src="/assets/index-C8qCggeq.js"></script>
|
|
21
|
+
<link rel="modulepreload" crossorigin href="/assets/index-client-BqF3_t3P.js">
|
|
22
|
+
<link rel="modulepreload" crossorigin href="/assets/api-CqECFdii.js">
|
|
23
|
+
<link rel="modulepreload" crossorigin href="/assets/dist-B7WNbObw.js">
|
|
24
|
+
<link rel="modulepreload" crossorigin href="/assets/ChronicleMarkdown-BLgtHeEE.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="/assets/router.svelte-COr45o9R.js">
|
|
26
|
+
<link rel="stylesheet" crossorigin href="/assets/ChronicleMarkdown-D6hFzERy.css">
|
|
27
|
+
<link rel="stylesheet" crossorigin href="/assets/index-66T4Gmbl.css">
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
<div id="app"></div>
|
|
31
|
+
</body>
|
|
32
|
+
</html>
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@leitwerk-dev/ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/leitwerk-dev/leitwerk.git",
|
|
7
|
+
"directory": "packages/ui"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"dev": "vite",
|
|
12
|
+
"build": "vite build",
|
|
13
|
+
"preview": "vite preview"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@dagrejs/dagre": "^3.0.0",
|
|
17
|
+
"@leitwerk-dev/domain": "0.1.0",
|
|
18
|
+
"@leitwerk-dev/process-sdk": "0.1.0",
|
|
19
|
+
"@leitwerk-dev/protocol": "0.1.0",
|
|
20
|
+
"@leitwerk-dev/worker-protocol": "0.1.0",
|
|
21
|
+
"beautiful-mermaid": "^1.1.3",
|
|
22
|
+
"dompurify": "^3.4.0",
|
|
23
|
+
"elkjs": "^0.11.1",
|
|
24
|
+
"markdown-it": "^14.1.1",
|
|
25
|
+
"valibot": "^1.3.1"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@leitwerk-dev/test-support": "0.1.0",
|
|
29
|
+
"@sveltejs/vite-plugin-svelte": "^7.0.0",
|
|
30
|
+
"@types/markdown-it": "^14.1.2",
|
|
31
|
+
"svelte": "^5.55.0",
|
|
32
|
+
"vite": "^8.0.3"
|
|
33
|
+
},
|
|
34
|
+
"license": "Apache-2.0",
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=22"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist/**",
|
|
43
|
+
"src/**",
|
|
44
|
+
"!dist/**/*.test.*",
|
|
45
|
+
"!src/**/*.test.ts"
|
|
46
|
+
]
|
|
47
|
+
}
|