@sentropic/design-system-elements 0.1.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.THIRD-PARTY.md +44 -1
- package/README.md +123 -12
- package/catalog.json +401 -7
- package/dist/browser/chunks/{Modeler-BfAmwsmK.js → Modeler-D87tL_OJ.js} +4 -4
- package/dist/browser/chunks/Viewer-D9zjRrp2.js +4 -0
- package/dist/browser/chunks/bpmn-canvas-BevbP_6a.js +1 -0
- package/dist/browser/chunks/bpmn-mount-BhO_zb0S.js +2202 -0
- package/dist/browser/chunks/dist-DRauAwm2.js +6 -0
- package/dist/browser/chunks/{entropic-CM5BHERN.js → entropic-MwNVEq6w.js} +639 -0
- package/dist/browser/chunks/focus-renderer-BWm7DlQD.js +55 -0
- package/dist/browser/chunks/{forge-B8hrW4lA.js → forge-CzwO8Hbe.js} +639 -0
- package/dist/browser/chunks/layout-T3X333Za.js +1 -0
- package/dist/browser/elements.js +671 -6
- package/dist/browser/sri.json +52 -45
- package/dist/contracts/bar-chart.js +2 -2
- package/dist/contracts/decision-dossier.d.ts +4 -8
- package/dist/contracts/decision-dossier.js +8 -12
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.js +2 -0
- package/dist/contracts/time-series-chart.d.ts +49 -0
- package/dist/contracts/time-series-chart.js +37 -0
- package/dist/dossier/dossier-mount.js +845 -0
- package/dist/dossier/renderer/dossier.css +2 -0
- package/dist/element/bpmn-mount.d.ts +11 -0
- package/dist/element/bpmn-mount.js +56 -0
- package/dist/element/bpmn-types.d.ts +27 -0
- package/dist/element/bpmn-types.js +12 -0
- package/dist/element/bpmn.d.ts +10 -0
- package/dist/element/bpmn.js +39 -0
- package/dist/element/dom/dossier-mount.d.ts +25 -0
- package/dist/element/dom/dossier-review-mount.d.ts +25 -0
- package/dist/element/dom/dossier-review-state.svelte.d.ts +13 -0
- package/dist/element/dom/engines/bpmn-canvas.d.ts +11 -0
- package/dist/element/dom/engines/bpmn-canvas.js +11 -0
- package/dist/element/dom/engines/dossier-diagrams.d.ts +5 -0
- package/dist/element/dom/engines/dossier-evidence.d.ts +9 -0
- package/dist/element/dom/engines/dossier-styles.d.ts +21 -0
- package/dist/element/dom/engines/focus-renderer.d.ts +60 -0
- package/dist/element/dom/engines/focus-snapshot.d.ts +3 -0
- package/dist/element/dom/intents.d.ts +20 -0
- package/dist/element/markdown/minimal-markdown.d.ts +1 -2
- package/dist/element/markdown/minimal-markdown.js +19 -1
- package/dist/element/validator.d.ts +26 -0
- package/dist/element/validator.js +54 -0
- package/dist/focus-diagrams/diagram-layout.d.ts +140 -0
- package/dist/focus-diagrams/diagram-layout.js +190 -0
- package/dist/focus-diagrams/diagram-source.d.ts +11 -0
- package/dist/focus-diagrams/diagram-source.js +147 -0
- package/dist/focus-diagrams/dossier-views.d.ts +21 -0
- package/dist/focus-diagrams/dossier-views.js +57 -0
- package/dist/focus-diagrams/ecosystem.json +853 -0
- package/dist/focus-kit/index.html +13 -0
- package/dist/focus-kit/renderer/dossier.css +2 -0
- package/dist/focus-kit/renderer/dossier.js +845 -0
- package/dist/focus-kit-manifest.json +1 -0
- package/dist/focus-kit.d.ts +9 -0
- package/dist/focus-kit.js +30 -0
- package/dist/format-time-series-markdown.d.ts +5 -0
- package/dist/format-time-series-markdown.js +24 -0
- package/dist/generator/parity.js +6 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/ports/dossier-views.d.ts +3 -0
- package/dist/ports/dossier-views.js +3 -0
- package/dist/ports/focus.d.ts +0 -1
- package/dist/ports/types.d.ts +0 -1
- package/dist/shells/BarChart.html +8494 -0
- package/dist/shells/BarChart.js +8482 -0
- package/dist/shells/DecisionDossier.html +8502 -0
- package/dist/shells/DecisionDossier.js +8490 -0
- package/dist/shells/TimeSeriesChart.html +8475 -0
- package/dist/shells/TimeSeriesChart.js +8463 -0
- package/dist/shells/manifest.json +108 -0
- package/dist/structure/interpreter.d.ts +1 -1
- package/dist/structure/interpreter.js +14 -4
- package/dist/time-series.d.ts +13 -0
- package/dist/time-series.js +15 -0
- package/dist/validate/envelope.js +5 -1
- package/dist/validate/time-series.d.ts +5 -0
- package/dist/validate/time-series.js +28 -0
- package/fixtures/time-series-multi.json +46 -0
- package/fixtures/time-series-single.json +28 -0
- package/fixtures/time-series-thresholds.json +52 -0
- package/package.json +40 -6
- package/schemas/BarChart.v1.json +2 -2
- package/schemas/DecisionDossier.v1.json +155 -5
- package/schemas/TimeSeriesChart.v1.json +287 -0
- package/skill/SKILL.md +27 -0
- package/dist/browser/chunks/Viewer-eYLzc3fD.js +0 -4
- package/dist/browser/chunks/bpmn-canvas-DeAWdJFy.js +0 -2207
- package/dist/browser/chunks/dist-O6_2ByYB.js +0 -1
- package/dist/browser/chunks/focus-renderer-BgsZGo7n.js +0 -8
- package/dist/browser/chunks/layout-q0TR9-aY.js +0 -1
package/LICENSE.THIRD-PARTY.md
CHANGED
|
@@ -179,7 +179,7 @@ présente dans `dist/browser` est nommée ici.
|
|
|
179
179
|
## 2. Dépendances installées avec ce paquet
|
|
180
180
|
|
|
181
181
|
Fermeture **transitive** de `dependencies` et `optionalDependencies`, dérivée
|
|
182
|
-
de `package-lock.json` :
|
|
182
|
+
de `package-lock.json` : 143 paquet(s), 7 famille(s) de licences.
|
|
183
183
|
Ces paquets ne sont pas recopiés dans notre tarball — npm les récupère du
|
|
184
184
|
registre avec leurs propres fichiers de licence. Ils sont recensés ici parce
|
|
185
185
|
qu'ils arrivent dans le `node_modules` du consommateur de notre fait.
|
|
@@ -196,6 +196,7 @@ qu'ils arrivent dans le `node_modules` du consommateur de notre fait.
|
|
|
196
196
|
| `@lezer/common` | 1.5.2 | MIT |
|
|
197
197
|
| `@lezer/highlight` | 1.2.3 | MIT |
|
|
198
198
|
| `@lezer/markdown` | 1.8.0 | MIT |
|
|
199
|
+
| `@lucide/svelte` | 0.562.0 | ISC |
|
|
199
200
|
| `@modelcontextprotocol/sdk` | 1.32.2 | MIT |
|
|
200
201
|
| `@noble/hashes` | 2.0.1 | MIT |
|
|
201
202
|
| `@sveltejs/acorn-typescript` | 1.0.9 | MIT |
|
|
@@ -569,6 +570,48 @@ qu'ils arrivent dans le `node_modules` du consommateur de notre fait.
|
|
|
569
570
|
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
570
571
|
> THE SOFTWARE.
|
|
571
572
|
|
|
573
|
+
#### `@lucide/svelte` 0.562.0 — ISC
|
|
574
|
+
|
|
575
|
+
> ISC License
|
|
576
|
+
>
|
|
577
|
+
> Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2023 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2025.
|
|
578
|
+
>
|
|
579
|
+
> Permission to use, copy, modify, and/or distribute this software for any
|
|
580
|
+
> purpose with or without fee is hereby granted, provided that the above
|
|
581
|
+
> copyright notice and this permission notice appear in all copies.
|
|
582
|
+
>
|
|
583
|
+
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
584
|
+
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
585
|
+
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
586
|
+
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
587
|
+
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
588
|
+
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
589
|
+
> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
590
|
+
>
|
|
591
|
+
> ---
|
|
592
|
+
>
|
|
593
|
+
> The MIT License (MIT) (for portions derived from Feather)
|
|
594
|
+
>
|
|
595
|
+
> Copyright (c) 2013-2023 Cole Bemis
|
|
596
|
+
>
|
|
597
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
598
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
599
|
+
> in the Software without restriction, including without limitation the rights
|
|
600
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
601
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
602
|
+
> furnished to do so, subject to the following conditions:
|
|
603
|
+
>
|
|
604
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
605
|
+
> copies or substantial portions of the Software.
|
|
606
|
+
>
|
|
607
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
608
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
609
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
610
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
611
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
612
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
613
|
+
> SOFTWARE.
|
|
614
|
+
|
|
572
615
|
#### `@modelcontextprotocol/sdk` 1.32.2 — MIT
|
|
573
616
|
|
|
574
617
|
> MIT License
|
package/README.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
# @sentropic/design-system-elements
|
|
2
2
|
|
|
3
|
-
JSON-render standard,
|
|
3
|
+
JSON-render standard, lots L2/L6: thin Svelte custom-element wrappers over the
|
|
4
4
|
catalogue components of the sentropic design system. One ESM browser bundle
|
|
5
|
-
registers
|
|
5
|
+
registers four elements (lot L6 imposes the Focus renderer defaults
|
|
6
|
+
F-R0–F-R7 on the dossier engine chunk; see below):
|
|
6
7
|
|
|
7
8
|
| Element | Catalogue component | Engine chunk (§6.6) |
|
|
8
9
|
| --- | --- | --- |
|
|
9
10
|
| `<st-bar-chart>` | `BarChart` | none — in the core chunk |
|
|
10
|
-
| `<st-bpmn-canvas>` | `BpmnCanvas` | `chunks/bpmn-canvas-*.js`
|
|
11
|
+
| `<st-bpmn-canvas>` | `BpmnCanvas` | `chunks/bpmn-canvas-*.js` validates F1, then `chunks/bpmn-mount-*.js` loads the view |
|
|
11
12
|
| `<st-decision-dossier>` | `DecisionDossier` | `chunks/focus-renderer-*.js` (lazy, first mount) |
|
|
13
|
+
| `<st-time-series-chart>` | `TimeSeriesChart` | none — in the core chunk |
|
|
12
14
|
|
|
13
15
|
Each wrapper: shadow DOM `open`, envelope validation through the L1
|
|
14
16
|
validator, the §4.5 error panel on refusal (never a blank element), props
|
|
@@ -16,6 +18,28 @@ mapping to the underlying component, and component callbacks translated to
|
|
|
16
18
|
§4.6 `st-intent` events. Every component in the bundle is compiled with
|
|
17
19
|
`css: "injected"` (§6.2 known risk: styles ship inside the chunk).
|
|
18
20
|
|
|
21
|
+
## Focus artifact kit
|
|
22
|
+
|
|
23
|
+
The `./focus-kit/manifest.json` export lists the fixed payload by relative
|
|
24
|
+
path, MIME type, byte size and SHA-256. Copy the files exposed under
|
|
25
|
+
`./focus-kit/<path>` next to the canonical `dossier.json` and serve
|
|
26
|
+
`index.html`. The SHA-256 of the manifest's canonical bytes identifies the
|
|
27
|
+
renderer.
|
|
28
|
+
|
|
29
|
+
Applications with their own page can import `mountDossier(host)` from
|
|
30
|
+
`@sentropic/design-system-elements/dossier-mount` and load
|
|
31
|
+
`./focus-kit/renderer/dossier.css` as an external stylesheet. Set
|
|
32
|
+
`data-st-theme="sent-tech"` on the host or an ancestor. Call
|
|
33
|
+
`mount.render(document)` with a Focus decision or report. The host emits
|
|
34
|
+
`st-dossier-ready` with `detail.reviewRoot` after each completed render, and
|
|
35
|
+
`st-intent` when an option is chosen. `mount.destroy()` removes the root and
|
|
36
|
+
the listeners.
|
|
37
|
+
|
|
38
|
+
For a single offline HTML file, use `assembleStandaloneDossier({ document })`
|
|
39
|
+
from `@sentropic/design-system-elements/focus-kit` with the canonical JSON
|
|
40
|
+
text. It embeds the document, stylesheet and module with a CSP based on the
|
|
41
|
+
inline assets' hashes.
|
|
42
|
+
|
|
19
43
|
## Using the elements
|
|
20
44
|
|
|
21
45
|
```html
|
|
@@ -74,11 +98,81 @@ interface IntentDetail {
|
|
|
74
98
|
| `onSelectKey(key)` — keyboard activation | `st-intent` `select`, `target = key`; `null` key (no selected bar) dispatches nothing |
|
|
75
99
|
| `onHoverKeyChange(key)` | local state only — no intent (hover is not an §4.6 intent) |
|
|
76
100
|
|
|
101
|
+
### `st-time-series-chart` (`TimeSeriesChart`)
|
|
102
|
+
|
|
103
|
+
Select `TimeSeriesChart` when an MCP result reports numeric measurements over
|
|
104
|
+
time. Use `BarChart` for categorical measurements. Pass the data envelope
|
|
105
|
+
to the design-system element, which draws each series with `LineChart`.
|
|
106
|
+
The packaged [rendering skill](skill/SKILL.md) guides MCP tool selection.
|
|
107
|
+
|
|
108
|
+
Send a chart label and at least one series with a unique `id`, a label and
|
|
109
|
+
its `data` array. Each point carries `x` as whole UTC Unix epoch
|
|
110
|
+
milliseconds and `y` as a finite number. Timestamps must increase strictly
|
|
111
|
+
within each series. A timestamp may recur in different series. Normalize
|
|
112
|
+
source dates with a known timezone to milliseconds before calling the
|
|
113
|
+
renderer. The chart uses one time domain across all series and displays UTC
|
|
114
|
+
ISO timestamps with millisecond precision. The common `referenceLines`,
|
|
115
|
+
`bands` and `goalLine` use value units, with whole UTC epoch milliseconds
|
|
116
|
+
for any reference line on the x axis.
|
|
117
|
+
|
|
118
|
+
The element exposes the observations in an accessible table with columns for
|
|
119
|
+
time, series label, series ID and value. Rows sort by ascending time, with
|
|
120
|
+
input series order breaking ties. The series ID identifies each series even
|
|
121
|
+
when labels collide.
|
|
122
|
+
For the transcript, validate the envelope against the pinned catalogue, then
|
|
123
|
+
call `formatTimeSeriesMarkdown(envelope.root)` with the validated props.
|
|
124
|
+
It formats the same rows, escapes Markdown delimiters and fails with a
|
|
125
|
+
`RangeError` if the complete table exceeds 4096 UTF-8 bytes.
|
|
126
|
+
|
|
127
|
+
The package ships three temporal fixtures under `@sentropic/design-system-elements/fixtures/`.
|
|
128
|
+
They cover [one series](fixtures/time-series-single.json),
|
|
129
|
+
[sparse aligned series](fixtures/time-series-multi.json) and
|
|
130
|
+
[thresholds and bands](fixtures/time-series-thresholds.json).
|
|
131
|
+
|
|
77
132
|
### `st-decision-dossier` (`DecisionDossier`)
|
|
78
133
|
|
|
79
134
|
| Interaction | Element behaviour |
|
|
80
135
|
| --- | --- |
|
|
81
|
-
| option card click / keyboard activation (when enabled) | `st-intent` `choose-option`, `target = <option id>`; an option gated inert by an `interactions` entry `{ name: "choose-option", targetRef, enabled: false }` dispatches nothing |
|
|
136
|
+
| option card click / keyboard activation (when enabled) | `st-intent` `choose-option`, `target = <option id>`; an option gated inert by an `interactions` entry `{ name: "choose-option", targetRef, enabled: false }` renders as an inert card and dispatches nothing |
|
|
137
|
+
| card click again / another card (single-selection rule) | local renderer state only: reselecting clears the card with no emission, choosing another card moves the selection with one emission; the envelope and the document are never written back |
|
|
138
|
+
| expand control on a long card | toggles the folded argument, emits nothing, never selects |
|
|
139
|
+
|
|
140
|
+
### Dossier renderer defaults (F-R0–F-R7, lot L6)
|
|
141
|
+
|
|
142
|
+
The `focus-renderer` chunk (`src/element/dom/engines/focus-renderer.ts` plus
|
|
143
|
+
its stylesheet `dossier-styles.ts`) imposes the §11.2 defaults; the author
|
|
144
|
+
cannot work around them:
|
|
145
|
+
|
|
146
|
+
- F-R0: no author layout property exists anywhere — a `layout` hint at
|
|
147
|
+
`root` level is refused by the catalogue structure and one inside the
|
|
148
|
+
document by the embedded focus schema, both with `schema-violation`
|
|
149
|
+
(§4.5 panel, never a partial dossier).
|
|
150
|
+
- F-R1: the whole option card is the single selection control (one node
|
|
151
|
+
carries both `data-option-card` and `data-option-id`).
|
|
152
|
+
- F-R2: card outlines are `1px solid var(--st-…)`; every colour resolves to
|
|
153
|
+
a `--st-*` token and no rule exceeds 1 px (static scan in
|
|
154
|
+
`tests/focus-renderer-l6.test.ts`, computed scan in
|
|
155
|
+
`tests/browser/chromium-suite.mjs`).
|
|
156
|
+
- F-R3: selection is a light local state (1 px outline change and/or token
|
|
157
|
+
tint, no layout shift); F-R7: nothing is ever preselected, not even the
|
|
158
|
+
recommended option.
|
|
159
|
+
- F-R4: an argument over 300 characters (the option `body`, else its
|
|
160
|
+
label-plus-consequence text) renders collapsed with a labelled expand
|
|
161
|
+
control; shorter arguments render fully with no fold control.
|
|
162
|
+
- F-R5: the renderer alone picks `list` (any long option, or one or two
|
|
163
|
+
options) or `grid` (three or more short options, capped at two columns),
|
|
164
|
+
exposed as `data-st-layout` (`decideOptionSetLayout`).
|
|
165
|
+
- F-R6: annotations render as display state only — no per-option control
|
|
166
|
+
besides the card (and the fold control on long cards).
|
|
167
|
+
- F-R7: the recommended option carries one discreet badge; an unmatched
|
|
168
|
+
`recommendedAnswer` renders as question context text, never as a
|
|
169
|
+
preselection.
|
|
170
|
+
|
|
171
|
+
Content parity with the owner `renderHtml` is witnessed on the
|
|
172
|
+
presentation-valid fixtures (`tests/focus-renderer-l6.test.ts`); inputs the
|
|
173
|
+
owner presentation gate refuses (long bodies, legacy documents) still render
|
|
174
|
+
their sections, ids and outcome from the input. Diagrams render as the
|
|
175
|
+
fenced fallback until a diagram renderer exists.
|
|
82
176
|
|
|
83
177
|
### `st-bpmn-canvas` (`BpmnCanvas`)
|
|
84
178
|
|
|
@@ -99,17 +193,34 @@ the wrappers define no font of their own (the content inherits the page's).
|
|
|
99
193
|
## Build, sizes, integrity
|
|
100
194
|
|
|
101
195
|
`npm run build` runs the Node build and then the browser bundle, so
|
|
102
|
-
`dist/browser
|
|
103
|
-
|
|
104
|
-
every file with raw
|
|
105
|
-
|
|
106
|
-
that renders `<st-bar-chart>` — is 53,916 B gzip of the 153,600 B budget
|
|
107
|
-
(re-measured at 0.1.0; 23 files pinned by `sri.json`).
|
|
196
|
+
`dist/browser/`, its `sri.json` and `dist/shells/` are produced together.
|
|
197
|
+
`npm run build:browser` re-runs those builds. The browser SRI manifest
|
|
198
|
+
lists every payload file with raw, gzip and brotli sizes and a SHA-384
|
|
199
|
+
integrity hash. The CDN entry closure still has a 153,600-byte gzip budget.
|
|
108
200
|
The bundle is eval-free (§6.4: no `eval`, no `new Function` in any chunk —
|
|
109
201
|
enforced by `scripts/elements-browser-artifacts.test.mjs`), works mounted
|
|
110
202
|
under any subpath (no document-anchored preload hints), and needs no
|
|
111
203
|
per-chunk CSS assets.
|
|
112
204
|
|
|
205
|
+
The packaged `dist/shells/manifest.json` (exported as `./shells/manifest.json`)
|
|
206
|
+
lists per-component capabilities, complete HTML sizes, and SHA-256
|
|
207
|
+
fingerprints for the shell files, module entries and input schemas. The
|
|
208
|
+
limits are strictly below 960 KiB raw and at most 150 KiB gzip (fflate
|
|
209
|
+
level 6, mtime 0). Consumers can pin the standalone temporal schema for
|
|
210
|
+
FA-H9 and read the qualified module and shell files relative to the
|
|
211
|
+
manifest for CK-H1a. Provide the envelope through the element property
|
|
212
|
+
or insert a child JSON island at
|
|
213
|
+
`<!-- st-envelope -->` in the HTML template. Escape every `<` in the island
|
|
214
|
+
JSON as `\u003c` when embedding it in HTML. Keep the inline module bytes
|
|
215
|
+
for the shell's CSP hash, and measure the final HTML again if the host adds
|
|
216
|
+
data or protocol code.
|
|
217
|
+
|
|
218
|
+
A `partial` BPMN entry records the measured complete candidate and requests
|
|
219
|
+
the text fallback with a URL supplied by the host when available. The
|
|
220
|
+
chunked browser entry still supports the full canvas. See the
|
|
221
|
+
[EZ-1 build evidence](https://github.com/rhanka/sent-tech-design-system/blob/main/packages/elements/docs/ez-1-evidence.md)
|
|
222
|
+
for measurements and fixtures.
|
|
223
|
+
|
|
113
224
|
## CDN (§7)
|
|
114
225
|
|
|
115
226
|
The published tarball is served from the CDN base with the exact version
|
|
@@ -117,7 +228,7 @@ pinned — never a range, never `latest` (the version segment is bumped with
|
|
|
117
228
|
each release):
|
|
118
229
|
|
|
119
230
|
```
|
|
120
|
-
https://cdn.jsdelivr.net/npm/@sentropic/design-system-elements@0.
|
|
231
|
+
https://cdn.jsdelivr.net/npm/@sentropic/design-system-elements@0.3.2/dist/browser/
|
|
121
232
|
```
|
|
122
233
|
|
|
123
234
|
Load the entry with its integrity hash (the sha384 from
|
|
@@ -125,7 +236,7 @@ Load the entry with its integrity hash (the sha384 from
|
|
|
125
236
|
|
|
126
237
|
```html
|
|
127
238
|
<script type="module"
|
|
128
|
-
src="https://cdn.jsdelivr.net/npm/@sentropic/design-system-elements@0.
|
|
239
|
+
src="https://cdn.jsdelivr.net/npm/@sentropic/design-system-elements@0.3.2/dist/browser/elements.js"
|
|
129
240
|
integrity="sha384-<hash from dist/browser/sri.json>"
|
|
130
241
|
crossorigin="anonymous"></script>
|
|
131
242
|
```
|