@karmo-co/drift-kit-reference 25.25.1 → 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.
@@ -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. |
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schema": 1,
3
- "version": "25.25.1",
3
+ "version": "25.26.0",
4
4
  "built": "2026-11-19",
5
5
  "components": [
6
6
  {
@@ -2170,6 +2170,16 @@
2170
2170
  "components": [],
2171
2171
  "tokens": []
2172
2172
  }
2173
+ },
2174
+ "25.26.0": {
2175
+ "added": {
2176
+ "components": [],
2177
+ "tokens": []
2178
+ },
2179
+ "removed": {
2180
+ "components": [],
2181
+ "tokens": []
2182
+ }
2173
2183
  }
2174
2184
  }
2175
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.25.1/drift-kit.css" integrity="sha384-vz5y8mtfJTB79FTU8q5C7tr0uc3gqlvILt1HamwT20tOoVfODdxuzcTRnyVa+BnP" crossorigin="anonymous" />
73
- <script src="https://storage.googleapis.com/drift-kit-public/25.25.1/components.js" integrity="sha384-lyUCA+7trZ9vTD6qKX4HAir12X1cHcwj17ASWLLYm6eGGiwcVl8rbryZLb6G6ZFb" crossorigin="anonymous" defer></script>
74
- <script src="https://storage.googleapis.com/drift-kit-public/25.25.1/drift-icons-<set>.js" integrity="<its integrity>" crossorigin="anonymous" defer></script>
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.25.1/drift-kit.css` | `sha384-vz5y8mtfJTB79FTU8q5C7tr0uc3gqlvILt1HamwT20tOoVfODdxuzcTRnyVa+BnP` |
82
- | `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.25.1/drift-kit.min.css` | `sha384-bz1qK5yVNEPcWolY3VZ5NCviTmJX/EsRI3G79lEkKqpgqXy67DwA24AVzLgcUy4G` |
83
- | `components.js` | `https://storage.googleapis.com/drift-kit-public/25.25.1/components.js` | `sha384-lyUCA+7trZ9vTD6qKX4HAir12X1cHcwj17ASWLLYm6eGGiwcVl8rbryZLb6G6ZFb` |
84
- | `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.25.1/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
85
- | `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.25.1/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
86
- | `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.25.1/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
87
- | `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.25.1/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
88
- | `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.25.1/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
89
- | `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.25.1/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
90
- | `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.25.1/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
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.25.1/drift-kit.min.css" integrity="sha384-bz1qK5yVNEPcWolY3VZ5NCviTmJX/EsRI3G79lEkKqpgqXy67DwA24AVzLgcUy4G" crossorigin="anonymous" />
98
- <script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.1/components.js" integrity="sha384-Wd32+ZV5DBFtIA13Wc4wtBRU8TpbOir0HfYxiJwLgNetXu92OZ4KSxK7N5ni0dlu" crossorigin="anonymous" defer></script>
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.25.1/components.js` | `sha384-Wd32+ZV5DBFtIA13Wc4wtBRU8TpbOir0HfYxiJwLgNetXu92OZ4KSxK7N5ni0dlu` |
104
- | `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.1/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
105
- | `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.1/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
106
- | `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.1/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
107
- | `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.1/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.25.1/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.25.1/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
110
- | `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.1/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
111
- | `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.1/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.25.1/drift-kit.min.css` | `sha384-bz1qK5yVNEPcWolY3VZ5NCviTmJX/EsRI3G79lEkKqpgqXy67DwA24AVzLgcUy4G` |
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.25.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","icon":".dk-component-icon","card":".dk-component-card","symmetric":[".dk-component-tag",".dk-component-alert"]}
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.25.1",
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"