@karmo-co/drift-kit-reference 24.2.0 → 24.3.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/manifest/index.json +11 -1
- package/manifest/rules.md +1 -0
- package/manifest/setup.md +26 -26
- package/package.json +1 -1
package/manifest/index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.3.0",
|
|
4
4
|
"built": "2026-11-07",
|
|
5
5
|
"components": [
|
|
6
6
|
{
|
|
@@ -1627,6 +1627,16 @@
|
|
|
1627
1627
|
"components": [],
|
|
1628
1628
|
"tokens": []
|
|
1629
1629
|
}
|
|
1630
|
+
},
|
|
1631
|
+
"24.3.0": {
|
|
1632
|
+
"added": {
|
|
1633
|
+
"components": [],
|
|
1634
|
+
"tokens": []
|
|
1635
|
+
},
|
|
1636
|
+
"removed": {
|
|
1637
|
+
"components": [],
|
|
1638
|
+
"tokens": []
|
|
1639
|
+
}
|
|
1630
1640
|
}
|
|
1631
1641
|
}
|
|
1632
1642
|
}
|
package/manifest/rules.md
CHANGED
|
@@ -30,6 +30,7 @@ Every rule below is a test in drift-kit. A component the kit ships passes all of
|
|
|
30
30
|
- an ancestor tone treatment that repaints a part excludes it (Icon tile on a solid)
|
|
31
31
|
- review: variants are also judged in pairs (a status solid Tag is a mark rule C inverts, not a surface)
|
|
32
32
|
- the derivation follows --dk-interactive-* to the surface it reads
|
|
33
|
+
- rule D: on a solid fill a quiet chip follows its marks (Stepper check on a solid)
|
|
33
34
|
|
|
34
35
|
## anatomy
|
|
35
36
|
|
package/manifest/setup.md
CHANGED
|
@@ -59,47 +59,47 @@ Both scripts are deferred, and an icon script goes after `components.js`, which
|
|
|
59
59
|
|
|
60
60
|
```html
|
|
61
61
|
<!-- in the head -->
|
|
62
|
-
<link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/24.
|
|
63
|
-
<script src="https://storage.googleapis.com/drift-kit-public/24.
|
|
64
|
-
<script src="https://storage.googleapis.com/drift-kit-public/24.
|
|
62
|
+
<link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/24.3.0/drift-kit.css" integrity="sha384-diACJznag8sx9Od8rVv3gigxkW+bFZhBG0Z+x6iGCNj2syMLBsh2cOFqBTilW3HG" crossorigin="anonymous" />
|
|
63
|
+
<script src="https://storage.googleapis.com/drift-kit-public/24.3.0/components.js" integrity="sha384-y71v3nuPSw0u4ndY7jnt0YZGL0/wSVO9ntkzkNszTOxF9ui8582llvPjh5/4p4S3" crossorigin="anonymous" defer></script>
|
|
64
|
+
<script src="https://storage.googleapis.com/drift-kit-public/24.3.0/drift-icons-<set>.js" integrity="<its integrity>" crossorigin="anonymous" defer></script>
|
|
65
65
|
<!-- the attributes go on the body -->
|
|
66
66
|
<body data-brand="karmo" data-theme="light">
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
| File | Address | Integrity |
|
|
70
70
|
|---|---|---|
|
|
71
|
-
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
72
|
-
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
73
|
-
| `components.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
74
|
-
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
75
|
-
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
76
|
-
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
77
|
-
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
78
|
-
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
79
|
-
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
80
|
-
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
71
|
+
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/24.3.0/drift-kit.css` | `sha384-diACJznag8sx9Od8rVv3gigxkW+bFZhBG0Z+x6iGCNj2syMLBsh2cOFqBTilW3HG` |
|
|
72
|
+
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/24.3.0/drift-kit.min.css` | `sha384-t86COdOgwJZmNwb68b+Lw/oCGu5TiS9KBczSQxzFT4jS/DEnmRPSSb26F2HwA2J7` |
|
|
73
|
+
| `components.js` | `https://storage.googleapis.com/drift-kit-public/24.3.0/components.js` | `sha384-y71v3nuPSw0u4ndY7jnt0YZGL0/wSVO9ntkzkNszTOxF9ui8582llvPjh5/4p4S3` |
|
|
74
|
+
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/24.3.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
75
|
+
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/24.3.0/drift-icons-coolicon.js` | `sha384-8WaBw9LZuhj/u7G2Jf1aiVo8HBhMj1fBsmpSWJnYi5Xdi2ANXB3BLBZxz2NLQGYl` |
|
|
76
|
+
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/24.3.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
77
|
+
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/24.3.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
78
|
+
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/24.3.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
79
|
+
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/24.3.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
80
|
+
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/24.3.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
|
|
81
81
|
|
|
82
82
|
### In Claude chat and Cowork
|
|
83
83
|
|
|
84
84
|
Their previews load nothing from the bucket. There, link the same version from jsdelivr instead, with these addresses and integrity: the stylesheet is `drift-kit.min.css`, and the attributes still go on `<body>`.
|
|
85
85
|
|
|
86
86
|
```html
|
|
87
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
88
|
-
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
87
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/drift-kit.min.css" integrity="sha384-t86COdOgwJZmNwb68b+Lw/oCGu5TiS9KBczSQxzFT4jS/DEnmRPSSb26F2HwA2J7" crossorigin="anonymous" />
|
|
88
|
+
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/components.js" integrity="sha384-98nkziPQwxxRtqNpCcpW3FctHF9tEDv9zp1skpPiW4uUswIdtoK3XJM8++AIsd4j" crossorigin="anonymous" defer></script>
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
| File | Address | Integrity |
|
|
92
92
|
|---|---|---|
|
|
93
|
-
| `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
94
|
-
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
95
|
-
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
96
|
-
| `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
97
|
-
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
98
|
-
| `drift-icons-flag-circle.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
99
|
-
| `drift-icons-flag.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
100
|
-
| `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
101
|
-
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
102
|
-
| `drift-kit.min.css` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
93
|
+
| `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/components.js` | `sha384-98nkziPQwxxRtqNpCcpW3FctHF9tEDv9zp1skpPiW4uUswIdtoK3XJM8++AIsd4j` |
|
|
94
|
+
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
|
|
95
|
+
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
96
|
+
| `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/drift-icons-coolicon.js` | `sha384-8WaBw9LZuhj/u7G2Jf1aiVo8HBhMj1fBsmpSWJnYi5Xdi2ANXB3BLBZxz2NLQGYl` |
|
|
97
|
+
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
98
|
+
| `drift-icons-flag-circle.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
99
|
+
| `drift-icons-flag.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
100
|
+
| `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
101
|
+
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
|
|
102
|
+
| `drift-kit.min.css` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.3.0/drift-kit.min.css` | `sha384-t86COdOgwJZmNwb68b+Lw/oCGu5TiS9KBczSQxzFT4jS/DEnmRPSSb26F2HwA2J7` |
|
|
103
103
|
|
|
104
104
|
### Integrity for 23.4.0
|
|
105
105
|
|
|
@@ -127,5 +127,5 @@ The behaviour script initialises every component on the page when it loads. Mark
|
|
|
127
127
|
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.
|
|
128
128
|
|
|
129
129
|
```json
|
|
130
|
-
{"version":"24.
|
|
130
|
+
{"version":"24.3.0","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"}
|
|
131
131
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karmo-co/drift-kit-reference",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.3.0",
|
|
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"
|