@karmo-co/drift-kit-reference 23.6.0 → 23.6.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.
- package/manifest/index.json +12 -2
- package/manifest/setup.md +42 -13
- package/package.json +1 -1
package/manifest/index.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"version": "23.6.
|
|
4
|
-
"built": "2026-10-
|
|
3
|
+
"version": "23.6.1",
|
|
4
|
+
"built": "2026-10-27",
|
|
5
5
|
"components": [
|
|
6
6
|
{
|
|
7
7
|
"id": "accordion",
|
|
@@ -1185,6 +1185,16 @@
|
|
|
1185
1185
|
"components": [],
|
|
1186
1186
|
"tokens": []
|
|
1187
1187
|
}
|
|
1188
|
+
},
|
|
1189
|
+
"23.6.1": {
|
|
1190
|
+
"added": {
|
|
1191
|
+
"components": [],
|
|
1192
|
+
"tokens": []
|
|
1193
|
+
},
|
|
1194
|
+
"removed": {
|
|
1195
|
+
"components": [],
|
|
1196
|
+
"tokens": []
|
|
1197
|
+
}
|
|
1188
1198
|
}
|
|
1189
1199
|
}
|
|
1190
1200
|
}
|
package/manifest/setup.md
CHANGED
|
@@ -53,20 +53,49 @@ A page with no npm install (a plain HTML prototype, a slide deck) links this ver
|
|
|
53
53
|
Both scripts are deferred, and an icon script goes after `components.js`, which replaces the icon registry when it runs: an icon script that runs first loses its set. Every tag carries its file's `integrity` from the table below and `crossorigin="anonymous"`, so a file whose bytes changed never loads. In this order:
|
|
54
54
|
|
|
55
55
|
```html
|
|
56
|
-
<link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/23.6.
|
|
57
|
-
<script src="https://storage.googleapis.com/drift-kit-public/23.6.
|
|
58
|
-
<script src="https://storage.googleapis.com/drift-kit-public/23.6.
|
|
56
|
+
<link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/23.6.1/drift-kit.css" integrity="sha384-1KPdwoNY8dP62q3PAuFek/7F1iVJ9sIwaJeC9MDps2mrQur7Gy5ZQnhgfNB2kNZ1" crossorigin="anonymous" />
|
|
57
|
+
<script src="https://storage.googleapis.com/drift-kit-public/23.6.1/components.js" integrity="sha384-a+GsziEadZEo+OKihZJEql+BAhCXddJegWhdZHn1n/6Pkm5QlC6UacG6MFomUc/R" crossorigin="anonymous" defer></script>
|
|
58
|
+
<script src="https://storage.googleapis.com/drift-kit-public/23.6.1/drift-icons-<set>.js" integrity="<its integrity>" crossorigin="anonymous" defer></script>
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
| File | Address | Integrity |
|
|
62
62
|
|---|---|---|
|
|
63
|
-
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/23.6.
|
|
64
|
-
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/23.6.
|
|
65
|
-
| `components.js` | `https://storage.googleapis.com/drift-kit-public/23.6.
|
|
66
|
-
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/23.6.
|
|
67
|
-
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/23.6.
|
|
68
|
-
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/23.6.
|
|
69
|
-
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/23.6.
|
|
70
|
-
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/23.6.
|
|
71
|
-
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/23.6.
|
|
72
|
-
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/23.6.
|
|
63
|
+
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/23.6.1/drift-kit.css` | `sha384-1KPdwoNY8dP62q3PAuFek/7F1iVJ9sIwaJeC9MDps2mrQur7Gy5ZQnhgfNB2kNZ1` |
|
|
64
|
+
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/23.6.1/drift-kit.min.css` | `sha384-q9dPWOz0cXKAeg10Ng/hhdulQGlWIIFpMWfW0e+CTbn8lqMeTD0iiZ7JfDxGimYG` |
|
|
65
|
+
| `components.js` | `https://storage.googleapis.com/drift-kit-public/23.6.1/components.js` | `sha384-a+GsziEadZEo+OKihZJEql+BAhCXddJegWhdZHn1n/6Pkm5QlC6UacG6MFomUc/R` |
|
|
66
|
+
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/23.6.1/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
67
|
+
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/23.6.1/drift-icons-coolicon.js` | `sha384-8WaBw9LZuhj/u7G2Jf1aiVo8HBhMj1fBsmpSWJnYi5Xdi2ANXB3BLBZxz2NLQGYl` |
|
|
68
|
+
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/23.6.1/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
69
|
+
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/23.6.1/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
70
|
+
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/23.6.1/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
71
|
+
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/23.6.1/drift-icons-lucide.js` | `sha384-yEy9LdLbPCXUy577fmNq4loJ2G9AQ1InAW54iozwnVfe8KIK6gVe2227eaNmxFi1` |
|
|
72
|
+
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/23.6.1/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
|
|
73
|
+
|
|
74
|
+
### Integrity for 23.4.0
|
|
75
|
+
|
|
76
|
+
A page pinned to 23.4.0 keeps its version in each address and takes the integrity from here.
|
|
77
|
+
|
|
78
|
+
| File | Address | Integrity |
|
|
79
|
+
|---|---|---|
|
|
80
|
+
| `components.js` | `https://storage.googleapis.com/drift-kit-public/23.4.0/components.js` | `sha384-B4tUaUMgOQoy7IlJk4qIR/JkIveajIbA8j13603GVhfIJznbT21dw0rRnzYI4QXK` |
|
|
81
|
+
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/23.4.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
82
|
+
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/23.4.0/drift-icons-coolicon.js` | `sha384-8WaBw9LZuhj/u7G2Jf1aiVo8HBhMj1fBsmpSWJnYi5Xdi2ANXB3BLBZxz2NLQGYl` |
|
|
83
|
+
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/23.4.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
84
|
+
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/23.4.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
85
|
+
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/23.4.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
86
|
+
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/23.4.0/drift-icons-lucide.js` | `sha384-yEy9LdLbPCXUy577fmNq4loJ2G9AQ1InAW54iozwnVfe8KIK6gVe2227eaNmxFi1` |
|
|
87
|
+
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/23.4.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
|
|
88
|
+
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/23.4.0/drift-kit.css` | `sha384-0Roll8sSBP0mENc86ioKN/hPpYfcI8oBtsSeWRdshsf6S7N8Rsp2VnVd2JYmtaU7` |
|
|
89
|
+
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/23.4.0/drift-kit.min.css` | `sha384-CLIu21rr62tKaYFC7EFgQr8Wgmy8rbc318n5NzVmWeViqgsTiNx/gF2fGCoM8GAt` |
|
|
90
|
+
|
|
91
|
+
## Behaviour script
|
|
92
|
+
|
|
93
|
+
The behaviour script initialises every component on the page when it loads. Markup inserted later is initialised with `dk.component.<name>.init(scope)`, where `<name>` is the component id in camel case (`actionBar` for `action-bar`) and `scope` is the inserted element. React components carry their own behaviour and never need it.
|
|
94
|
+
|
|
95
|
+
## Capture selectors
|
|
96
|
+
|
|
97
|
+
The kit class names the drift-critique capture script keys on, at this version. Pass them to it as `--kit '<this JSON>'` so its alignment and reduced-motion checks read this version's names.
|
|
98
|
+
|
|
99
|
+
```json
|
|
100
|
+
{"version":"23.6.1","field":".dk-component-input__field","trigger":".dk-component-select__trigger","button":".dk-component-button","iconButton":".dk-component-icon-button","spinners":[".dk-component-loading-spinner",".dk-component-button__spinner"],"componentPrefix":"dk-component-","fieldRoot":"dk-component-input"}
|
|
101
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karmo-co/drift-kit-reference",
|
|
3
|
-
"version": "23.6.
|
|
3
|
+
"version": "23.6.1",
|
|
4
4
|
"description": "Reference documentation of Karmo's private Drift design system, for Karmo's Claude skills. Documentation only.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"drift-kit-ref": "bin/drift-kit-ref.js"
|