@karmo-co/drift-kit-reference 25.25.0 → 25.26.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/toast.md +1 -1
- package/manifest/index.json +31 -1
- package/manifest/setup.md +26 -26
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ toast.show({ /* options */ });
|
|
|
43
43
|
| `icon` | `boolean \| string` | true for the status glyph, false for none, or kit icon markup. |
|
|
44
44
|
| `dismissible` | `boolean` | |
|
|
45
45
|
| `counter` | `boolean` | |
|
|
46
|
-
| `duration` | `number` | ms before it closes itself; 0 keeps it. |
|
|
46
|
+
| `duration` | `number` | ms before it closes itself; 0 keeps it. Unset: a compact toast goes after 3500ms, but an error or warning stays until it is closed; a card stays unless counter is on. |
|
|
47
47
|
| `replace` | `boolean` | |
|
|
48
48
|
| `container` | `Element \| null \| (() => Element \| null)` | Where the region lives instead of <body> (23 Oct 2026): an element, or a function asked at each show. The region is absolute in it (the container must be positioned), one per container and placement, and replace reaches only that container's. <body> is no container. |
|
|
49
49
|
| `className` | `string` | A class of the caller's on the toast itself. |
|
package/manifest/index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.26.0",
|
|
4
4
|
"built": "2026-11-19",
|
|
5
5
|
"components": [
|
|
6
6
|
{
|
|
@@ -2141,6 +2141,16 @@
|
|
|
2141
2141
|
"tokens": []
|
|
2142
2142
|
}
|
|
2143
2143
|
},
|
|
2144
|
+
"25.24.1": {
|
|
2145
|
+
"added": {
|
|
2146
|
+
"components": [],
|
|
2147
|
+
"tokens": []
|
|
2148
|
+
},
|
|
2149
|
+
"removed": {
|
|
2150
|
+
"components": [],
|
|
2151
|
+
"tokens": []
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2144
2154
|
"25.25.0": {
|
|
2145
2155
|
"added": {
|
|
2146
2156
|
"components": [],
|
|
@@ -2150,6 +2160,26 @@
|
|
|
2150
2160
|
"components": [],
|
|
2151
2161
|
"tokens": []
|
|
2152
2162
|
}
|
|
2163
|
+
},
|
|
2164
|
+
"25.25.1": {
|
|
2165
|
+
"added": {
|
|
2166
|
+
"components": [],
|
|
2167
|
+
"tokens": []
|
|
2168
|
+
},
|
|
2169
|
+
"removed": {
|
|
2170
|
+
"components": [],
|
|
2171
|
+
"tokens": []
|
|
2172
|
+
}
|
|
2173
|
+
},
|
|
2174
|
+
"25.26.0": {
|
|
2175
|
+
"added": {
|
|
2176
|
+
"components": [],
|
|
2177
|
+
"tokens": []
|
|
2178
|
+
},
|
|
2179
|
+
"removed": {
|
|
2180
|
+
"components": [],
|
|
2181
|
+
"tokens": []
|
|
2182
|
+
}
|
|
2153
2183
|
}
|
|
2154
2184
|
}
|
|
2155
2185
|
}
|
package/manifest/setup.md
CHANGED
|
@@ -69,47 +69,47 @@ 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.26.0/drift-kit.css" integrity="sha384-f6e591SrmDKjuN+6L1pnPClOh+MOP9jFXIVpJdFznK6Nk3424kC0yfHfZdeoIaVH" crossorigin="anonymous" />
|
|
73
|
+
<script src="https://storage.googleapis.com/drift-kit-public/25.26.0/components.js" integrity="sha384-QdCBuyVYF+ItDaljmX8UPtdbnmIcz9n2hBxAlwbjD191Rtw/tTChDB1aq8yab7mY" crossorigin="anonymous" defer></script>
|
|
74
|
+
<script src="https://storage.googleapis.com/drift-kit-public/25.26.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-social.js` | `https://storage.googleapis.com/drift-kit-public/25.
|
|
81
|
+
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/25.26.0/drift-kit.css` | `sha384-f6e591SrmDKjuN+6L1pnPClOh+MOP9jFXIVpJdFznK6Nk3424kC0yfHfZdeoIaVH` |
|
|
82
|
+
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.26.0/drift-kit.min.css` | `sha384-NYjQLWiBGw9SSVvyJD7j1TIjiHBAyL3CTqztitm58t2wt3Jce6agR/5gvtIn5a6/` |
|
|
83
|
+
| `components.js` | `https://storage.googleapis.com/drift-kit-public/25.26.0/components.js` | `sha384-QdCBuyVYF+ItDaljmX8UPtdbnmIcz9n2hBxAlwbjD191Rtw/tTChDB1aq8yab7mY` |
|
|
84
|
+
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.26.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
85
|
+
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.26.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
|
|
86
|
+
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.26.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
87
|
+
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.26.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
88
|
+
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.26.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
89
|
+
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.26.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
90
|
+
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.26.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
|
|
91
91
|
|
|
92
92
|
### In Claude chat and Cowork
|
|
93
93
|
|
|
94
94
|
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>`.
|
|
95
95
|
|
|
96
96
|
```html
|
|
97
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
98
|
-
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
97
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/drift-kit.min.css" integrity="sha384-NYjQLWiBGw9SSVvyJD7j1TIjiHBAyL3CTqztitm58t2wt3Jce6agR/5gvtIn5a6/" crossorigin="anonymous" />
|
|
98
|
+
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/components.js" integrity="sha384-XHRO80kBlXImuzmoun2opi1oCbTcQ8fQqdBWxcAPmisvGJqOpEi+2ZaNhqiOoc31" crossorigin="anonymous" defer></script>
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
| File | Address | Integrity |
|
|
102
102
|
|---|---|---|
|
|
103
|
-
| `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
104
|
-
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
105
|
-
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
106
|
-
| `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
107
|
-
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
108
|
-
| `drift-icons-flag-circle.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
109
|
-
| `drift-icons-flag.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
110
|
-
| `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
111
|
-
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
112
|
-
| `drift-kit.min.css` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.
|
|
103
|
+
| `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/components.js` | `sha384-XHRO80kBlXImuzmoun2opi1oCbTcQ8fQqdBWxcAPmisvGJqOpEi+2ZaNhqiOoc31` |
|
|
104
|
+
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
|
|
105
|
+
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
106
|
+
| `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
|
|
107
|
+
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
108
|
+
| `drift-icons-flag-circle.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
109
|
+
| `drift-icons-flag.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
110
|
+
| `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
111
|
+
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
|
|
112
|
+
| `drift-kit.min.css` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.0/drift-kit.min.css` | `sha384-NYjQLWiBGw9SSVvyJD7j1TIjiHBAyL3CTqztitm58t2wt3Jce6agR/5gvtIn5a6/` |
|
|
113
113
|
|
|
114
114
|
### Integrity for 23.4.0
|
|
115
115
|
|
|
@@ -141,5 +141,5 @@ The behaviour script initialises every component on the page when it loads. Mark
|
|
|
141
141
|
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.
|
|
142
142
|
|
|
143
143
|
```json
|
|
144
|
-
{"version":"25.
|
|
144
|
+
{"version":"25.26.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"]}
|
|
145
145
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karmo-co/drift-kit-reference",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.26.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"
|