@karmo-co/drift-kit-reference 25.23.0 → 25.25.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.
@@ -10,12 +10,15 @@ div.dk-component-brand-sheet[data-layout="stacked|split|card|auto"]?[data-size="
10
10
  section.dk-component-brand-sheet__panel[data-theme="dark"]
11
11
  section.dk-component-brand-sheet__sheet[data-surface="raised"]
12
12
  div.dk-component-brand-sheet__lift? (first child: rises over the edge)
13
+ *[data-full]? (a child that keeps to the sheet's edges, not its
14
+ centred column: a Back beside a form)
13
15
  ```
14
16
 
15
17
  ## Attributes
16
18
 
17
19
  | Attribute | Values the stylesheet styles |
18
20
  |---|---|
21
+ | `data-full` | (present or absent) |
19
22
  | `data-layout` | `auto`, `card`, `split`, `stacked` |
20
23
  | `data-page` | (present or absent) |
21
24
  | `data-size` | `small` |
@@ -6,9 +6,11 @@ Browse a short run of cards sideways. Two presentations: a slider on a phone or
6
6
  ## Anatomy (HTML)
7
7
 
8
8
  ```text
9
- div.dk-component-carousel[data-presentation="slider|row|viewer"]?[data-variant="viewer"]?[data-phone]?[data-loop]?[data-start]?[data-bleed]?[data-lift]?[data-device]?[data-arrow-look="solid|raised-inverse|plain"]?[data-item-hover="showcase"]?
9
+ div.dk-component-carousel[data-presentation="slider|row|viewer"]?[data-variant="viewer"]?[data-phone]?[data-loop]?[data-start]?[data-bleed]?[data-lift]?[data-device]?[data-arrow-look="solid|raised-inverse|plain"]?[data-item-hover="showcase"]?[data-stretch]?
10
10
  (data-presentation follows the nearest data-device when there is one,
11
- else the kit's phone breakpoint, and the runtime owns it; data-start is
11
+ else the kit's compact step, phones and tablets to 1024px, and the
12
+ runtime owns it; data-stretch makes every item as tall as the tallest,
13
+ its one child filling it, in every presentation; data-start is
12
14
  the real item's index; data-lift is a selector inside an item whose
13
15
  centre stays level as the item shrinks, e.g.
14
16
  data-lift=".dk-component-vehicle" for a row of Vehicle cards; data-bleed runs the track out
@@ -51,6 +53,7 @@ div.dk-component-carousel[data-presentation="slider|row|viewer"]?[data-variant="
51
53
  | `data-phone` | (present or absent) |
52
54
  | `data-presentation` | `row`, `slider` |
53
55
  | `data-pseudo-class` | `focus`, `hover` |
56
+ | `data-stretch` | (present or absent) |
54
57
  | `data-variant` | `showcase`, `solid`, `viewer` |
55
58
 
56
59
  ## React
@@ -66,12 +69,13 @@ import { Carousel } from '@karmo-co/drift-kit/react';
66
69
  | `start` | `number` | The real item the slider opens on (0-based; clones never count). |
67
70
  | `bleed` | `boolean \| string` | The track runs out to the page's edges: true, the nearest scrolling ancestor (else the viewport); a selector, root.closest(selector). |
68
71
  | `lift` | `string` | A selector inside each item whose centre stays level as an item shrinks (the image of a card), e.g. lift=".dk-component-vehicle" for a row of Vehicle cards. |
69
- | `device` | `'phone' \| 'tablet' \| 'desktop'` | phone and tablet a slider, desktop a row; else the nearest data-device, else the kit's phone breakpoint. |
72
+ | `device` | `'phone' \| 'tablet' \| 'desktop'` | phone and tablet a slider, desktop a row; else the nearest data-device, else the kit's compact step: phones and tablets, to 1024px. |
70
73
  | `arrows` | `{ prev: ReactNode; next: ReactNode; label?: { prev: string; next: string } }` | Previous and Next, for the row (the slider hides them). |
71
74
  | `arrowLook` | `'solid' \| 'raised-inverse' \| 'plain'` | solid is the primary fill; raised-inverse the raised IconButton in a light island; plain the bordered one. Unset: solid in light, raised-inverse in dark (the nearest data-theme, followed as it changes); a viewer's are plain. |
72
75
  | `variant` | `'viewer'` | 'viewer' (10 Nov 2026): a photo viewer, one photo at a time at every width, no shrink or fade; the arrows beside the photo on a desktop, none on a phone or tablet; plain arrows unless arrowLook says; ArrowLeft and ArrowRight step while focus is inside. |
73
76
  | `count` | `boolean` | A viewer's count under the photo, "2 / 12", which the runtime writes. |
74
77
  | `itemHover` | `'showcase'` | showcase: in the row, a hovered item's Vehicle showcase steps its panel up and grows its car (the slider has no hover). |
78
+ | `stretch` | `boolean` | Every item as tall as the tallest, in the slider too (the row already lays them so), with the item's one child filling it: a "View all" card stands as tall as the vehicles beside it. |
75
79
  | `onChange` | `(index: number) => void` | The real item now centred (slider) or first (row). |
76
80
  | `className` | `string` | |
77
81
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schema": 1,
3
- "version": "25.23.0",
3
+ "version": "25.25.0",
4
4
  "built": "2026-11-19",
5
5
  "components": [
6
6
  {
@@ -2130,6 +2130,26 @@
2130
2130
  "components": [],
2131
2131
  "tokens": []
2132
2132
  }
2133
+ },
2134
+ "25.24.0": {
2135
+ "added": {
2136
+ "components": [],
2137
+ "tokens": []
2138
+ },
2139
+ "removed": {
2140
+ "components": [],
2141
+ "tokens": []
2142
+ }
2143
+ },
2144
+ "25.25.0": {
2145
+ "added": {
2146
+ "components": [],
2147
+ "tokens": []
2148
+ },
2149
+ "removed": {
2150
+ "components": [],
2151
+ "tokens": []
2152
+ }
2133
2153
  }
2134
2154
  }
2135
2155
  }
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.23.0/drift-kit.css" integrity="sha384-ZjZvprW4ncGBwB7umskGEEOgtFVttWENUrC/F3IQN16uYnrOaOTX56bZrtd+fLoi" crossorigin="anonymous" />
73
- <script src="https://storage.googleapis.com/drift-kit-public/25.23.0/components.js" integrity="sha384-bLrIszzJNmhD0nPX40FwruwEXKv0RMS840OXe+dffGKN/6FPonDb2Iqz6RYrI6j9" crossorigin="anonymous" defer></script>
74
- <script src="https://storage.googleapis.com/drift-kit-public/25.23.0/drift-icons-<set>.js" integrity="<its integrity>" crossorigin="anonymous" defer></script>
72
+ <link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/25.25.0/drift-kit.css" integrity="sha384-EqFlTiyn9P3AYurRagOxsNkb5Q+zrVNYwaQwSrtK4EDAw4rORBMxM+NIIsEfK4YR" crossorigin="anonymous" />
73
+ <script src="https://storage.googleapis.com/drift-kit-public/25.25.0/components.js" integrity="sha384-A8OCJHtcOV1HlPRbPitTxjBfluryiBsqaqNJzVCJ2MSdFijVV1RIfnWI60b8+cTK" crossorigin="anonymous" defer></script>
74
+ <script src="https://storage.googleapis.com/drift-kit-public/25.25.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.23.0/drift-kit.css` | `sha384-ZjZvprW4ncGBwB7umskGEEOgtFVttWENUrC/F3IQN16uYnrOaOTX56bZrtd+fLoi` |
82
- | `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.23.0/drift-kit.min.css` | `sha384-VILsv/+fMao30ILiFeAcIECga1M4oY4BVWBpUtkOZ46yXI3XqvstIl+BpFQ6F+JG` |
83
- | `components.js` | `https://storage.googleapis.com/drift-kit-public/25.23.0/components.js` | `sha384-bLrIszzJNmhD0nPX40FwruwEXKv0RMS840OXe+dffGKN/6FPonDb2Iqz6RYrI6j9` |
84
- | `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.23.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
85
- | `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.23.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
86
- | `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.23.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
87
- | `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.23.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
88
- | `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.23.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
89
- | `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.23.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
90
- | `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.23.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
81
+ | `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/25.25.0/drift-kit.css` | `sha384-EqFlTiyn9P3AYurRagOxsNkb5Q+zrVNYwaQwSrtK4EDAw4rORBMxM+NIIsEfK4YR` |
82
+ | `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.25.0/drift-kit.min.css` | `sha384-qoZsuJKC/l3BfFZbh4mAy13evTcOj4apngNzHWRiYtpX0vkMVbIYgpSxD59YboJm` |
83
+ | `components.js` | `https://storage.googleapis.com/drift-kit-public/25.25.0/components.js` | `sha384-A8OCJHtcOV1HlPRbPitTxjBfluryiBsqaqNJzVCJ2MSdFijVV1RIfnWI60b8+cTK` |
84
+ | `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.25.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
85
+ | `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.25.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
86
+ | `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.25.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
87
+ | `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.25.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
88
+ | `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.25.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
89
+ | `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.25.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
90
+ | `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.25.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.23.0/drift-kit.min.css" integrity="sha384-VILsv/+fMao30ILiFeAcIECga1M4oY4BVWBpUtkOZ46yXI3XqvstIl+BpFQ6F+JG" crossorigin="anonymous" />
98
- <script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.23.0/components.js" integrity="sha384-yYGrRKH2tI2MbbHPJASPRFAiXKPzuw6RCi122QY9w3anEHbuDAWrGuJzCwGovrGx" crossorigin="anonymous" defer></script>
97
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.0/drift-kit.min.css" integrity="sha384-qoZsuJKC/l3BfFZbh4mAy13evTcOj4apngNzHWRiYtpX0vkMVbIYgpSxD59YboJm" crossorigin="anonymous" />
98
+ <script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.0/components.js" integrity="sha384-Wd32+ZV5DBFtIA13Wc4wtBRU8TpbOir0HfYxiJwLgNetXu92OZ4KSxK7N5ni0dlu" 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.23.0/components.js` | `sha384-yYGrRKH2tI2MbbHPJASPRFAiXKPzuw6RCi122QY9w3anEHbuDAWrGuJzCwGovrGx` |
104
- | `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.23.0/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
105
- | `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.23.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.23.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
107
- | `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.23.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.23.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.23.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.23.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
111
- | `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.23.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.23.0/drift-kit.min.css` | `sha384-VILsv/+fMao30ILiFeAcIECga1M4oY4BVWBpUtkOZ46yXI3XqvstIl+BpFQ6F+JG` |
103
+ | `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.0/components.js` | `sha384-Wd32+ZV5DBFtIA13Wc4wtBRU8TpbOir0HfYxiJwLgNetXu92OZ4KSxK7N5ni0dlu` |
104
+ | `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.0/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
105
+ | `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.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.25.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
107
+ | `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.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.25.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.25.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.25.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
111
+ | `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.25.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.25.0/drift-kit.min.css` | `sha384-qoZsuJKC/l3BfFZbh4mAy13evTcOj4apngNzHWRiYtpX0vkMVbIYgpSxD59YboJm` |
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.23.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"]}
144
+ {"version":"25.25.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
  ```
@@ -96,7 +96,7 @@ Every pattern is a duration and an easing pair, named for the pattern in the tok
96
96
 
97
97
  ### The cascade
98
98
 
99
- - **HTML:** `data-dk-cascade` on the root; its children are the units. `data-dk-cascade-grid` on a grid gives each visual row one beat, `data-dk-cascade-list` gives rows half a beat, `data-dk-cascade-through` walks into a wrapper (a panel: it is drawn from the first paint, at any depth, and only what it holds waits for its beat), `data-dk-cascade-skip` leaves something out. `data-dk-cascade-parallel` beside `data-dk-cascade-through` walks the wrapper's children side by side, each from the same beat (two columns arriving together); what follows waits for the longest. `reveal(root)` writes `--dk-cascade-last` on the root, the last beat it gave a unit, for anything timed to the arrival's end: a Shield with `data-animation="enter"` in the root enters a beat before it. Plain HTML reveals itself on load; content added later joins with `dk.motion.cascade.late(nodes)`.
99
+ - **HTML:** `data-dk-cascade` on the root; its children are the units. `data-dk-cascade-grid` on a grid gives each visual row one beat, `data-dk-cascade-list` gives rows half a beat, `data-dk-cascade-through` walks into a wrapper (a panel: it is drawn from the first paint, at any depth, and only what it holds waits for its beat), `data-dk-cascade-skip` leaves something out. `data-dk-cascade-parts` on a container of cards arrives by part: each card is drawn from the first paint and its `data-dk-cascade-part` elements arrive on successive beats, every card's first part together, then every card's second (a garage's photos, then its regos, then names and statuses). `data-dk-cascade-part="<n>"` names a part's step so two can share one; an unnamed part takes the step after the last. `data-dk-cascade-parallel` beside `data-dk-cascade-through` walks the wrapper's children side by side, each from the same beat (two columns arriving together); what follows waits for the longest. `reveal(root)` writes `--dk-cascade-last` on the root, the last beat it gave a unit, for anything timed to the arrival's end: a Shield with `data-animation="enter"` in the root enters a beat before it. Plain HTML reveals itself on load; content added later joins with `dk.motion.cascade.late(nodes)`.
100
100
  - **TSX:** `<Cascade ready={loaded}>` (or `useCascade(ready)`), keyed or given `arrival` so a new page replays it. `after="leave"` waits for a parts leave.
101
101
 
102
102
  ### Changing page
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karmo-co/drift-kit-reference",
3
- "version": "25.23.0",
3
+ "version": "25.25.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"