@karmo-co/drift-kit-reference 25.31.0 → 25.33.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/components/button.md +1 -1
- package/manifest/index.json +22 -2
- package/manifest/setup.md +28 -28
- package/package.json +1 -1
|
@@ -39,7 +39,7 @@ import { Button } from '@karmo-co/drift-kit/react';
|
|
|
39
39
|
| `iconRight` | `ReactNode` | |
|
|
40
40
|
| `loading` | `boolean` | |
|
|
41
41
|
| `children` | `ReactNode` | |
|
|
42
|
-
| `href` | `string` | A Button that goes somewhere is a link (12 Nov 2026): with href it renders <a class="dk-component-button">, which the CSS already styles, and `as` swaps in a router's link component (Next's Link, say) that takes href. Disabled drops the href and says so (aria-disabled); loading keeps
|
|
42
|
+
| `href` | `string` | A Button that goes somewhere is a link (12 Nov 2026): with href it renders <a class="dk-component-button">, which the CSS already styles, and `as` swaps in a router's link component (Next's Link, say) that takes href. Disabled drops the href and says so (aria-disabled), draws a plain <a> rather than `as`, and stays in the tab order with focus where it was; loading keeps the href but stops the click. |
|
|
43
43
|
| `target` | `string` | |
|
|
44
44
|
| `rel` | `string` | |
|
|
45
45
|
| `download` | `boolean \| string` | |
|
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.33.0",
|
|
4
|
+
"built": "2026-11-26",
|
|
5
5
|
"components": [
|
|
6
6
|
{
|
|
7
7
|
"id": "accordion",
|
|
@@ -2311,6 +2311,26 @@
|
|
|
2311
2311
|
"components": [],
|
|
2312
2312
|
"tokens": []
|
|
2313
2313
|
}
|
|
2314
|
+
},
|
|
2315
|
+
"25.32.0": {
|
|
2316
|
+
"added": {
|
|
2317
|
+
"components": [],
|
|
2318
|
+
"tokens": []
|
|
2319
|
+
},
|
|
2320
|
+
"removed": {
|
|
2321
|
+
"components": [],
|
|
2322
|
+
"tokens": []
|
|
2323
|
+
}
|
|
2324
|
+
},
|
|
2325
|
+
"25.33.0": {
|
|
2326
|
+
"added": {
|
|
2327
|
+
"components": [],
|
|
2328
|
+
"tokens": []
|
|
2329
|
+
},
|
|
2330
|
+
"removed": {
|
|
2331
|
+
"components": [],
|
|
2332
|
+
"tokens": []
|
|
2333
|
+
}
|
|
2314
2334
|
}
|
|
2315
2335
|
}
|
|
2316
2336
|
}
|
package/manifest/setup.md
CHANGED
|
@@ -69,49 +69,49 @@ Both scripts are deferred, and an icon script goes after `components.js`, which
|
|
|
69
69
|
|
|
70
70
|
```html
|
|
71
71
|
<!-- in the head -->
|
|
72
|
-
<link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/25.
|
|
73
|
-
<script src="https://storage.googleapis.com/drift-kit-public/25.
|
|
74
|
-
<script src="https://storage.googleapis.com/drift-kit-public/25.
|
|
72
|
+
<link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/25.33.0/drift-kit.css" integrity="sha384-7vwWQKGv4Pp3GDvCqZF9NZ4jiV4Wx59Broh38uh3nBIEBlH6wkcDrJOjhafcC0eM" crossorigin="anonymous" />
|
|
73
|
+
<script src="https://storage.googleapis.com/drift-kit-public/25.33.0/components.js" integrity="sha384-WSoT0l/qxjcfGQKNvdLBaAa8o1ENzTfoC6eMRpMmo+HHY0wN4mPCcfTcyYU9/LEX" crossorigin="anonymous" defer></script>
|
|
74
|
+
<script src="https://storage.googleapis.com/drift-kit-public/25.33.0/drift-icons-<set>.js" integrity="<its integrity>" crossorigin="anonymous" defer></script>
|
|
75
75
|
<!-- the attributes go on the body -->
|
|
76
76
|
<body data-brand="karmo" data-theme="light">
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
| File | Address | Integrity |
|
|
80
80
|
|---|---|---|
|
|
81
|
-
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
82
|
-
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
83
|
-
| `components.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
84
|
-
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
85
|
-
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
86
|
-
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
87
|
-
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
88
|
-
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
89
|
-
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
90
|
-
| `drift-icons-object.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
91
|
-
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
81
|
+
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/25.33.0/drift-kit.css` | `sha384-7vwWQKGv4Pp3GDvCqZF9NZ4jiV4Wx59Broh38uh3nBIEBlH6wkcDrJOjhafcC0eM` |
|
|
82
|
+
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.33.0/drift-kit.min.css` | `sha384-WdUS7UrQf3WaOQn01drkmJx9Hl6nyKmCEVOoruCdsOVi+knc4zEDWOCvebxmPiIf` |
|
|
83
|
+
| `components.js` | `https://storage.googleapis.com/drift-kit-public/25.33.0/components.js` | `sha384-WSoT0l/qxjcfGQKNvdLBaAa8o1ENzTfoC6eMRpMmo+HHY0wN4mPCcfTcyYU9/LEX` |
|
|
84
|
+
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.33.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
85
|
+
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.33.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
|
|
86
|
+
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.33.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
87
|
+
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.33.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
88
|
+
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.33.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
89
|
+
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.33.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
90
|
+
| `drift-icons-object.js` | `https://storage.googleapis.com/drift-kit-public/25.33.0/drift-icons-object.js` | `sha384-Jg4x8fJ/ogeKToLrfbrU6K4FxHXozGRminpFwaJ21BNtPjHl/LB2tyW+ZBCyrLm5` |
|
|
91
|
+
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.33.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
|
|
92
92
|
|
|
93
93
|
### In Claude chat and Cowork
|
|
94
94
|
|
|
95
95
|
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>`.
|
|
96
96
|
|
|
97
97
|
```html
|
|
98
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
99
|
-
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
98
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-kit.min.css" integrity="sha384-WdUS7UrQf3WaOQn01drkmJx9Hl6nyKmCEVOoruCdsOVi+knc4zEDWOCvebxmPiIf" crossorigin="anonymous" />
|
|
99
|
+
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/components.js" integrity="sha384-aVVXIACKCmgUGyuLowtVHd8//RlnWGMKSrIGAic9lCnar9fDdt0zCK5KhYPxZCIf" crossorigin="anonymous" defer></script>
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
| File | Address | Integrity |
|
|
103
103
|
|---|---|---|
|
|
104
|
-
| `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
105
|
-
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
106
|
-
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
107
|
-
| `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
108
|
-
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
109
|
-
| `drift-icons-flag-circle.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
110
|
-
| `drift-icons-flag.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
111
|
-
| `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
112
|
-
| `drift-icons-object.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
113
|
-
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
114
|
-
| `drift-kit.min.css` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
104
|
+
| `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/components.js` | `sha384-aVVXIACKCmgUGyuLowtVHd8//RlnWGMKSrIGAic9lCnar9fDdt0zCK5KhYPxZCIf` |
|
|
105
|
+
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
|
|
106
|
+
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
107
|
+
| `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
|
|
108
|
+
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
109
|
+
| `drift-icons-flag-circle.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
110
|
+
| `drift-icons-flag.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
111
|
+
| `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
112
|
+
| `drift-icons-object.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-icons-object.js` | `sha384-Jg4x8fJ/ogeKToLrfbrU6K4FxHXozGRminpFwaJ21BNtPjHl/LB2tyW+ZBCyrLm5` |
|
|
113
|
+
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
|
|
114
|
+
| `drift-kit.min.css` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.33.0/drift-kit.min.css` | `sha384-WdUS7UrQf3WaOQn01drkmJx9Hl6nyKmCEVOoruCdsOVi+knc4zEDWOCvebxmPiIf` |
|
|
115
115
|
|
|
116
116
|
### Integrity for 23.4.0
|
|
117
117
|
|
|
@@ -143,5 +143,5 @@ The behaviour script initialises every component on the page when it loads. Mark
|
|
|
143
143
|
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.
|
|
144
144
|
|
|
145
145
|
```json
|
|
146
|
-
{"version":"25.
|
|
146
|
+
{"version":"25.33.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","icon":".dk-component-icon","card":".dk-component-card","symmetric":[".dk-component-tag",".dk-component-alert"]}
|
|
147
147
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karmo-co/drift-kit-reference",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.33.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"
|