@karmo-co/drift-kit-reference 25.1.1 → 25.2.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/components/brand-sheet.md +3 -0
- package/manifest/index.json +22 -2
- package/manifest/setup.md +26 -26
- package/package.json +1 -1
|
@@ -33,6 +33,9 @@ import { BrandSheet } from '@karmo-co/drift-kit/react';
|
|
|
33
33
|
| `panel` | `ReactNode` | What the dark panel holds. |
|
|
34
34
|
| `lift` | `ReactNode` | The sheet's first child, raised over its edge into the panel. |
|
|
35
35
|
| `page` | `boolean` | The sheet is the page (data-page): the nearest App shell holding it paints to match. |
|
|
36
|
+
| `panelProps` | `BrandSheetPartProps` | Attributes for the dark panel section, e.g. data-dk-cascade-through. Its data-theme="dark" cannot be overridden; className joins the kit's. |
|
|
37
|
+
| `sheetProps` | `BrandSheetPartProps` | Attributes for the sheet section, e.g. data-dk-cascade-through. Its data-surface="raised" cannot be overridden; className joins the kit's. |
|
|
38
|
+
| `liftProps` | `BrandSheetPartProps` | Attributes for the lift, e.g. data-surface="0" (the lift sets none of its own). className joins the kit's. |
|
|
36
39
|
|
|
37
40
|
## Component tokens
|
|
38
41
|
|
package/manifest/index.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"version": "25.
|
|
4
|
-
"built": "2026-11-
|
|
3
|
+
"version": "25.2.1",
|
|
4
|
+
"built": "2026-11-09",
|
|
5
5
|
"components": [
|
|
6
6
|
{
|
|
7
7
|
"id": "accordion",
|
|
@@ -1742,6 +1742,26 @@
|
|
|
1742
1742
|
"components": [],
|
|
1743
1743
|
"tokens": []
|
|
1744
1744
|
}
|
|
1745
|
+
},
|
|
1746
|
+
"25.2.0": {
|
|
1747
|
+
"added": {
|
|
1748
|
+
"components": [],
|
|
1749
|
+
"tokens": []
|
|
1750
|
+
},
|
|
1751
|
+
"removed": {
|
|
1752
|
+
"components": [],
|
|
1753
|
+
"tokens": []
|
|
1754
|
+
}
|
|
1755
|
+
},
|
|
1756
|
+
"25.2.1": {
|
|
1757
|
+
"added": {
|
|
1758
|
+
"components": [],
|
|
1759
|
+
"tokens": []
|
|
1760
|
+
},
|
|
1761
|
+
"removed": {
|
|
1762
|
+
"components": [],
|
|
1763
|
+
"tokens": []
|
|
1764
|
+
}
|
|
1745
1765
|
}
|
|
1746
1766
|
}
|
|
1747
1767
|
}
|
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/25.
|
|
63
|
-
<script src="https://storage.googleapis.com/drift-kit-public/25.
|
|
64
|
-
<script src="https://storage.googleapis.com/drift-kit-public/25.
|
|
62
|
+
<link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/25.2.1/drift-kit.css" integrity="sha384-NDfXZ5E67gjEnJOXHl7FOf/k2gg2geRMbWiv4MnoN48tg+U7+mFCt80JfinhH9ST" crossorigin="anonymous" />
|
|
63
|
+
<script src="https://storage.googleapis.com/drift-kit-public/25.2.1/components.js" integrity="sha384-VDtIi2CicyWNGLemz5vBKe4kVTxhVjuWPiQrgHcmOEFE2LaLa3gZiwV4WQLtYFkJ" crossorigin="anonymous" defer></script>
|
|
64
|
+
<script src="https://storage.googleapis.com/drift-kit-public/25.2.1/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/25.
|
|
72
|
-
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
73
|
-
| `components.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
74
|
-
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
75
|
-
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
76
|
-
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
77
|
-
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
78
|
-
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
79
|
-
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
80
|
-
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
71
|
+
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/25.2.1/drift-kit.css` | `sha384-NDfXZ5E67gjEnJOXHl7FOf/k2gg2geRMbWiv4MnoN48tg+U7+mFCt80JfinhH9ST` |
|
|
72
|
+
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.2.1/drift-kit.min.css` | `sha384-zOv5hcq558x8zuXlrHLvfz4BUJdwr81MnpBYFtyE1aX0pZxiL/ywXulfB5/O7pF4` |
|
|
73
|
+
| `components.js` | `https://storage.googleapis.com/drift-kit-public/25.2.1/components.js` | `sha384-VDtIi2CicyWNGLemz5vBKe4kVTxhVjuWPiQrgHcmOEFE2LaLa3gZiwV4WQLtYFkJ` |
|
|
74
|
+
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.2.1/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
75
|
+
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.2.1/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
|
|
76
|
+
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.2.1/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
77
|
+
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.2.1/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
78
|
+
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.2.1/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
79
|
+
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.2.1/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
80
|
+
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.2.1/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@25.
|
|
88
|
-
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
87
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/drift-kit.min.css" integrity="sha384-zOv5hcq558x8zuXlrHLvfz4BUJdwr81MnpBYFtyE1aX0pZxiL/ywXulfB5/O7pF4" crossorigin="anonymous" />
|
|
88
|
+
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/components.js" integrity="sha384-iOR9Ax8RWTiGRPsZ6zL0z/Zu959NuxuzIDiS/w8YylVw7EKil2sERcPKpL6JMqai" 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@25.
|
|
94
|
-
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
95
|
-
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
96
|
-
| `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
97
|
-
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
98
|
-
| `drift-icons-flag-circle.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
99
|
-
| `drift-icons-flag.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
100
|
-
| `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
101
|
-
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
102
|
-
| `drift-kit.min.css` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
93
|
+
| `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/components.js` | `sha384-iOR9Ax8RWTiGRPsZ6zL0z/Zu959NuxuzIDiS/w8YylVw7EKil2sERcPKpL6JMqai` |
|
|
94
|
+
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
|
|
95
|
+
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
96
|
+
| `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
|
|
97
|
+
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
98
|
+
| `drift-icons-flag-circle.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
99
|
+
| `drift-icons-flag.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
100
|
+
| `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
101
|
+
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
|
|
102
|
+
| `drift-kit.min.css` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.2.1/drift-kit.min.css` | `sha384-zOv5hcq558x8zuXlrHLvfz4BUJdwr81MnpBYFtyE1aX0pZxiL/ywXulfB5/O7pF4` |
|
|
103
103
|
|
|
104
104
|
### Integrity for 23.4.0
|
|
105
105
|
|
|
@@ -131,5 +131,5 @@ The behaviour script initialises every component on the page when it loads. Mark
|
|
|
131
131
|
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.
|
|
132
132
|
|
|
133
133
|
```json
|
|
134
|
-
{"version":"25.
|
|
134
|
+
{"version":"25.2.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"}
|
|
135
135
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karmo-co/drift-kit-reference",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.2.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"
|