@htmlbricks/hb-bundle 0.66.7 → 0.66.9
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/README.md +55 -0
- package/agents/docs/AGENT_WEBCOMPONENTS_REFERENCE.md +4591 -0
- package/bundle.json +1 -1
- package/list.json +1 -1
- package/main.iife.js +1 -1
- package/package.json +6 -4
package/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# @htmlbricks/hb-bundle
|
|
2
|
+
|
|
3
|
+
Single **IIFE** (`main.iife.js`) that loads every **HTML Bricks** `hb-*` web component from the **jsDelivr** CDN, with optional **Subresource Integrity** on each script. This package also ships theme CSS variables under `style/`, full manifests in `bundle.json` / `list.json`, and agent-oriented docs under `agents/docs/`.
|
|
4
|
+
|
|
5
|
+
**Version:** `0.66.9`
|
|
6
|
+
**CDN root:** `https://cdn.jsdelivr.net/npm/@htmlbricks/hb-bundle@0.66.9/`
|
|
7
|
+
|
|
8
|
+
## Package layout
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
`@htmlbricks/hb-bundle@0.66.9/`
|
|
12
|
+
├── README.md
|
|
13
|
+
├── agents
|
|
14
|
+
│ └── docs
|
|
15
|
+
│ └── AGENT_WEBCOMPONENTS_REFERENCE.md
|
|
16
|
+
├── bundle.json
|
|
17
|
+
├── list.json
|
|
18
|
+
├── main.iife.js
|
|
19
|
+
├── package.json
|
|
20
|
+
└── style
|
|
21
|
+
├── bundle.dark.vars.css
|
|
22
|
+
└── bundle.light.vars.css
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## File integrity (Subresource Integrity, SHA-384)
|
|
26
|
+
|
|
27
|
+
Use these values with `integrity` on `<script>` or `<link rel="stylesheet">` when fetching files from jsDelivr. The `iifeIntegrity` field in `package.json` matches `main.iife.js`.
|
|
28
|
+
|
|
29
|
+
| File | integrity |
|
|
30
|
+
|------|-----------|
|
|
31
|
+
| `agents/docs/AGENT_WEBCOMPONENTS_REFERENCE.md` | `sha384-ox9DolvlsMJL9YooHkPzYK6yGC3BOClCavJ+4KqWYmfjqcUnUUmnrLPtAHA34NEm` |
|
|
32
|
+
| `bundle.json` | `sha384-nXNyoWzjE4YUY+ciDR10uXtuYFC2PaLqb2lsZcidCQp/G7k2MJCeCM6exO2Oo8nD` |
|
|
33
|
+
| `list.json` | `sha384-Nt1MaOekuoHuEMInHeYie3vQsgWIBaz2CPorTh67Ue6xqQ19DK7MTPtXrAaxoQHC` |
|
|
34
|
+
| `main.iife.js` | `sha384-p2umJRYWwMmIaCJncP7A3b4C7F848kq2fMEZsZMlVkrCBG70IKYdEUFPuLqdzwuP` |
|
|
35
|
+
| `package.json` | `sha384-GAMr7epMYluuxVWp811nnfldj85WFLCV4zBtStOxNfxs2U752TJayAa6x2mAVhPZ` |
|
|
36
|
+
| `style/bundle.dark.vars.css` | `sha384-yWRUr9DmY6WilKW+vhOYBMxGR8/g+91LakXVP3XqKCIgqymKbUjPTmr4Br/AKsJr` |
|
|
37
|
+
| `style/bundle.light.vars.css` | `sha384-goHpTG0MZ8OmRiejenERp4hPkL7FaeDvwSRG9n3L1A6fSQBmDesI+t+yFIEmRb7V` |
|
|
38
|
+
|
|
39
|
+
`README.md` (this file) is generated last and is **not** listed above; it is not meant as an SRI-protected asset.
|
|
40
|
+
|
|
41
|
+
## Documentation for LLMs / coding agents
|
|
42
|
+
|
|
43
|
+
The merged reference for **all** `hb-*` custom elements (props, events, slots, theming) lives at:
|
|
44
|
+
|
|
45
|
+
- **In this package:** `agents/docs/AGENT_WEBCOMPONENTS_REFERENCE.md`
|
|
46
|
+
- **On jsDelivr (same version):** [AGENT_WEBCOMPONENTS_REFERENCE.md](https://cdn.jsdelivr.net/npm/@htmlbricks/hb-bundle@0.66.9/agents/docs/AGENT_WEBCOMPONENTS_REFERENCE.md)
|
|
47
|
+
|
|
48
|
+
Point models at that file when they need to choose a component, pass **snake_case** attributes, or tune **Bootstrap `--bs-*`** variables.
|
|
49
|
+
|
|
50
|
+
## `style/` theme CSS
|
|
51
|
+
|
|
52
|
+
Minified Bootstrap variable sheets (see `styleAssets` in `package.json` for each file’s integrity):
|
|
53
|
+
|
|
54
|
+
- `style/bundle.light.vars.css`
|
|
55
|
+
- `style/bundle.dark.vars.css`
|