@karmo-co/drift-kit-reference 25.4.0 → 25.6.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.
@@ -6,7 +6,7 @@ A flow's controls along the bottom: Back, Next, what the step costs and how far
6
6
  ## Anatomy (HTML)
7
7
 
8
8
  ```text
9
- div.dk-component-action-bar[data-variant="float"]?[data-align="split"]?[data-sticky]?
9
+ div.dk-component-action-bar[data-variant="float"]?[data-align="split"]?[data-layout="fill"]?[data-sticky]?
10
10
  div.__inner
11
11
  div.__start (Back: a plain Button)
12
12
  button.__summary? (__summary-label, __summary-value, __summary-chevron; opens __detail)
@@ -21,6 +21,7 @@ div.dk-component-action-bar[data-variant="float"]?[data-align="split"]?[data-sti
21
21
  |---|---|
22
22
  | `data-align` | `split` |
23
23
  | `data-closing` | (present or absent) |
24
+ | `data-layout` | `fill` |
24
25
  | `data-open` | (present or absent) |
25
26
  | `data-phone` | (present or absent) |
26
27
  | `data-sticky` | (present or absent) |
@@ -42,10 +43,11 @@ import { ActionBar } from '@karmo-co/drift-kit/react';
42
43
  | `variant` | `'fixed' \| 'float'` | |
43
44
  | `sticky` | `boolean` | |
44
45
  | `align` | `'end' \| 'split'` | 'end' (the design's) keeps Back beside Next; 'split' puts it at the start. |
46
+ | `layout` | `'fill'` | 'fill' (data-layout): a flow's footer, on the page's surface edge to edge, Next the bar's width on a phone. Render it as the AppShell's own child, after its main, to span the shell over the Sidebar. |
45
47
  | `device` | `'auto' \| 'phone' \| 'desktop'` | |
46
48
  | `theme` | `'light' \| 'dark'` | Dark chrome: 'dark' makes it dark on a light page and one step deeper than a dark one. Everything inside resolves dark, menus included. |
47
49
  | `className` | `string` | |
48
50
 
49
51
  ## Component tokens
50
52
 
51
- `--dk-component-action-bar-padding-block`, `--dk-component-action-bar-padding-inline`, `--dk-component-action-bar-phone-padding-inline`, `--dk-component-action-bar-gap`, `--dk-component-action-bar-button-gap`, `--dk-component-action-bar-max-width`, `--dk-component-action-bar-surface`, `--dk-component-action-bar-border`, `--dk-component-action-bar-border-width`, `--dk-component-action-bar-float-radius`, `--dk-component-action-bar-float-surface`, `--dk-component-action-bar-blur`, `--dk-component-action-bar-float-inset`, `--dk-component-action-bar-float-shadow`, `--dk-component-action-bar-stuck-shadow`, `--dk-component-action-bar-z-index`, `--dk-component-action-bar-summary-label-font-size`, `--dk-component-action-bar-summary-label-line-height`, `--dk-component-action-bar-summary-label-font-weight`, `--dk-component-action-bar-summary-label-letter-spacing`, `--dk-component-action-bar-summary-label-color`, `--dk-component-action-bar-summary-value-font-size`, `--dk-component-action-bar-summary-value-line-height`, `--dk-component-action-bar-summary-value-font-weight`, `--dk-component-action-bar-summary-value-color`, `--dk-component-action-bar-progress-thickness`, `--dk-component-action-bar-progress-track`, `--dk-component-action-bar-progress-fill`, `--dk-component-action-bar-progress-gradient`, `--dk-component-action-bar-progress-gradient-rtl`, `--dk-component-action-bar-duration`, `--dk-component-action-bar-progress-duration`, `--dk-component-action-bar-easing`, `--dk-component-action-bar-summary-padding`, `--dk-component-action-bar-summary-radius`, `--dk-component-action-bar-summary-surface-hover`, `--dk-component-action-bar-summary-surface-active`, `--dk-component-action-bar-summary-press-scale`, `--dk-component-action-bar-summary-ring`, `--dk-component-action-bar-summary-ring-width`, `--dk-component-action-bar-chevron-size`, `--dk-component-action-bar-chevron-color`, `--dk-component-action-bar-chevron-color-hover`, `--dk-component-action-bar-chevron-color-active`, `--dk-component-action-bar-detail-surface`, `--dk-component-action-bar-detail-border`, `--dk-component-action-bar-detail-radius`, `--dk-component-action-bar-detail-shadow`, `--dk-component-action-bar-detail-padding`, `--dk-component-action-bar-detail-width`, `--dk-component-action-bar-detail-gap`, `--dk-component-action-bar-detail-rise`, `--dk-component-action-bar-detail-enter-duration`, `--dk-component-action-bar-detail-enter-easing`, `--dk-component-action-bar-detail-exit-duration`, `--dk-component-action-bar-detail-exit-easing`
53
+ `--dk-component-action-bar-padding-block`, `--dk-component-action-bar-padding-inline`, `--dk-component-action-bar-phone-padding-inline`, `--dk-component-action-bar-gap`, `--dk-component-action-bar-button-gap`, `--dk-component-action-bar-max-width`, `--dk-component-action-bar-surface`, `--dk-component-action-bar-border`, `--dk-component-action-bar-border-width`, `--dk-component-action-bar-fill-surface`, `--dk-component-action-bar-fill-border`, `--dk-component-action-bar-fill-padding-block`, `--dk-component-action-bar-fill-padding-inline`, `--dk-component-action-bar-fill-phone-padding-block-end`, `--dk-component-action-bar-float-radius`, `--dk-component-action-bar-float-surface`, `--dk-component-action-bar-blur`, `--dk-component-action-bar-float-inset`, `--dk-component-action-bar-float-shadow`, `--dk-component-action-bar-stuck-shadow`, `--dk-component-action-bar-z-index`, `--dk-component-action-bar-summary-label-font-size`, `--dk-component-action-bar-summary-label-line-height`, `--dk-component-action-bar-summary-label-font-weight`, `--dk-component-action-bar-summary-label-letter-spacing`, `--dk-component-action-bar-summary-label-color`, `--dk-component-action-bar-summary-value-font-size`, `--dk-component-action-bar-summary-value-line-height`, `--dk-component-action-bar-summary-value-font-weight`, `--dk-component-action-bar-summary-value-color`, `--dk-component-action-bar-progress-thickness`, `--dk-component-action-bar-progress-track`, `--dk-component-action-bar-progress-fill`, `--dk-component-action-bar-progress-gradient`, `--dk-component-action-bar-progress-gradient-rtl`, `--dk-component-action-bar-duration`, `--dk-component-action-bar-progress-duration`, `--dk-component-action-bar-easing`, `--dk-component-action-bar-summary-padding`, `--dk-component-action-bar-summary-radius`, `--dk-component-action-bar-summary-surface-hover`, `--dk-component-action-bar-summary-surface-active`, `--dk-component-action-bar-summary-press-scale`, `--dk-component-action-bar-summary-ring`, `--dk-component-action-bar-summary-ring-width`, `--dk-component-action-bar-chevron-size`, `--dk-component-action-bar-chevron-color`, `--dk-component-action-bar-chevron-color-hover`, `--dk-component-action-bar-chevron-color-active`, `--dk-component-action-bar-detail-surface`, `--dk-component-action-bar-detail-border`, `--dk-component-action-bar-detail-radius`, `--dk-component-action-bar-detail-shadow`, `--dk-component-action-bar-detail-padding`, `--dk-component-action-bar-detail-width`, `--dk-component-action-bar-detail-gap`, `--dk-component-action-bar-detail-rise`, `--dk-component-action-bar-detail-enter-duration`, `--dk-component-action-bar-detail-enter-easing`, `--dk-component-action-bar-detail-exit-duration`, `--dk-component-action-bar-detail-exit-easing`
@@ -12,6 +12,9 @@ div.dk-component-app-shell[data-contained]?[data-presentation="bar|drawer"]?
12
12
  header.dk-component-top-bar? (its own component)
13
13
  main.__content
14
14
  div.dk-component-action-bar? (its own component)
15
+ div.dk-component-action-bar[data-layout="fill"]? (a flow's footer, the shell's own child: spans the
16
+ whole shell over the Sidebar, at the foot of the screen, or of the box
17
+ when contained, above a phone bar; the page leaves room for it)
15
18
  ```
16
19
 
17
20
  ## Attributes
@@ -19,6 +22,7 @@ div.dk-component-app-shell[data-contained]?[data-presentation="bar|drawer"]?
19
22
  | Attribute | Values the stylesheet styles |
20
23
  |---|---|
21
24
  | `data-contained` | (present or absent) |
25
+ | `data-layout` | `fill` |
22
26
  | `data-presentation` | `bar`, `drawer` |
23
27
  | `data-sticky` | (present or absent) |
24
28
  | `data-variant` | `float`, `floating` |
@@ -6,7 +6,7 @@ The body-copy primitive: one element, eleven colours, two emphasis rungs, four s
6
6
  ## Anatomy (HTML)
7
7
 
8
8
  ```text
9
- p|span.dk-component-body[data-size="xlarge|large|medium|small|xsmall"]?[data-weight]?[data-color]?[data-emphasis="subtle"]?[data-align]?[data-style]?[data-trim]?
9
+ p|span.dk-component-body[data-size="xlarge|large|medium|small|xsmall"]?[data-weight]?[data-color]?[data-emphasis="subtle"]?[data-align]?[data-style="normal|underline|italic|strikethrough"]?[data-trim]?[data-nowrap]?
10
10
  span.__value? (a figure inside running text)
11
11
  ```
12
12
 
@@ -18,8 +18,9 @@ p|span.dk-component-body[data-size="xlarge|large|medium|small|xsmall"]?[data-wei
18
18
  | `data-color` | `black`, `default`, `error`, `information`, `inverse`, `neutral`, `primary`, `success`, `warning`, `white` |
19
19
  | `data-disabled` | (present or absent) |
20
20
  | `data-emphasis` | `subtle` |
21
+ | `data-nowrap` | (present or absent) |
21
22
  | `data-size` | `large`, `medium`, `small`, `xlarge`, `xsmall` |
22
- | `data-style` | `italic`, `normal`, `underline` |
23
+ | `data-style` | `italic`, `normal`, `strikethrough`, `underline` |
23
24
  | `data-trim` | `both`, `end`, `start` |
24
25
  | `data-weight` | `bold`, `extra-bold`, `extra-light`, `light`, `medium`, `regular`, `semi-bold`, `thin` |
25
26
 
@@ -33,7 +34,7 @@ import { Body } from '@karmo-co/drift-kit/react';
33
34
  |---|---|---|
34
35
  | `size` | `'xlarge' \| 'large' \| 'medium' \| 'small' \| 'xsmall'` | |
35
36
  | `weight` | `\| 'thin' \| 'extra-light' \| 'light' \| 'regular' \| 'medium' \| 'semi-bold' \| 'bold' \| 'extra-bold'` | |
36
- | `textStyle` | `'normal' \| 'underline' \| 'italic'` | React owns `style`, so the data-style axis is `textStyle`. This is the one place the mirror-the-HTML rule cannot hold. |
37
+ | `textStyle` | `'normal' \| 'underline' \| 'italic' \| 'strikethrough'` | React owns `style`, so the data-style axis is `textStyle`. This is the one place the mirror-the-HTML rule cannot hold. |
37
38
  | `as` | `ElementType` | |
38
39
  | `color` | `Color` | |
39
40
  | `emphasis` | `Emphasis` | |
@@ -41,6 +42,7 @@ import { Body } from '@karmo-co/drift-kit/react';
41
42
  | `trim` | `Trim` | |
42
43
  | `disabled` | `boolean` | A span cannot carry :disabled, so the kit uses [data-disabled]. |
43
44
  | `children` | `ReactNode` | |
45
+ | `nowrap` | `boolean` | Body only: the words stay on one line (data-nowrap). |
44
46
  | `className` | `string` | |
45
47
 
46
48
  ## Component tokens
@@ -6,11 +6,11 @@ A grouped surface: a panel that separates what is in it from what is around it,
6
6
  ## Anatomy (HTML)
7
7
 
8
8
  ```text
9
- section.dk-component-box[data-variant][data-size][data-radius][data-tone][data-tone-fill][data-surface][data-interactive][data-align]
9
+ section.dk-component-box[data-variant][data-size][data-radius][data-tone][data-tone-fill][data-surface][data-interactive][data-align][data-sticky][data-flush="phone"]
10
10
  header.__header
11
11
  div.__heading > .__title + .__description?
12
12
  div.__actions?
13
- dl|div.__grid[data-columns="1..6"][data-dividers][data-align]
13
+ dl|div.__grid[data-columns="1..6"][data-dividers][data-align] (style: --dk-box-grid-gap?)
14
14
  div.__cell[data-span="full"]?
15
15
  dt.__label + dd.__value (a fact)
16
16
  … or anything
@@ -23,6 +23,7 @@ section.dk-component-box[data-variant][data-size][data-radius][data-tone][data-t
23
23
  | `data-align` | `center`, `end`, `start` |
24
24
  | `data-columns` | `1`, `2`, `3`, `4`, `5`, `6` |
25
25
  | `data-dividers` | `both`, `columns`, `rows` |
26
+ | `data-flush` | `phone` |
26
27
  | `data-interactive` | (present or absent) |
27
28
  | `data-radius` | `large`, `medium`, `xlarge` |
28
29
  | `data-size` | `large`, `small`, `xlarge`, `xsmall` |
@@ -57,6 +58,8 @@ import { Box } from '@karmo-co/drift-kit/react';
57
58
  | `align` | `'start' \| 'center' \| 'end'` | Cells stretch to the row when absent. |
58
59
  | `contentAlign` | `'center'` | The box's own content: center centres what an interactive box (data-interactive) holds, which otherwise starts it. With or without columns; align stays the cells'. |
59
60
  | `radius` | `'medium' \| 'large' \| 'xlarge'` | The corner of that size, whatever the box's size: a small card a rung rounder without the large padding. |
61
+ | `sticky` | `boolean` | Stays at the top of what scrolls, in its own paint (data-sticky): the page's surface for an untoned box; a toned or levelled one paints its fill, so stick a plain section around it instead. In style, --dk-sticky-cover opts into a cover rising above it (only where nothing sits above it in its scroller), --dk-sticky-bleed widens that cover and --dk-sticky-z-index lifts it. |
62
+ | `flush` | `'phone'` | phone: below the kit's breakpoint the box runs to the screen's sides, no corner and no side edges (data-flush). The page bleeds it to the edges. |
60
63
  | `interactivePress` | `InteractivePress` | With data-interactive: the press, over the tier's own. none keeps it still (a row in a divided list), control presses it like a button. |
61
64
  | `as` | `'section' \| 'div' \| 'aside' \| 'article'` | section when the box has a name (a title or an aria-label), div when it does not; pass one to choose. |
62
65
 
@@ -31,6 +31,7 @@ import { Eyebrow } from '@karmo-co/drift-kit/react';
31
31
  | `size` | `'large' \| 'medium' \| 'small'` | |
32
32
  | `weight` | `'medium' \| 'semi-bold' \| 'bold'` | |
33
33
  | `textStyle` | `` | React owns `style`, so the data-style axis is `textStyle`. This is the one place the mirror-the-HTML rule cannot hold. |
34
+ | `nowrap` | `` | Body only: the words stay on one line (data-nowrap). |
34
35
  | `as` | `ElementType` | |
35
36
  | `color` | `Color` | |
36
37
  | `emphasis` | `Emphasis` | |
@@ -33,6 +33,7 @@ import { Heading } from '@karmo-co/drift-kit/react';
33
33
  | `size` | `\| 'xxlarge' \| 'xlarge' \| 'large' \| 'medium' \| 'small' \| 'xsmall' \| 'xxsmall'` | |
34
34
  | `weight` | `HeadingWeight` | |
35
35
  | `textStyle` | `'italic'` | React owns `style`, so the data-style axis is `textStyle`. This is the one place the mirror-the-HTML rule cannot hold. |
36
+ | `nowrap` | `` | Body only: the words stay on one line (data-nowrap). |
36
37
  | `as` | `ElementType` | |
37
38
  | `color` | `Color` | |
38
39
  | `emphasis` | `Emphasis` | |
@@ -32,6 +32,7 @@ import { Hero } from '@karmo-co/drift-kit/react';
32
32
  | `size` | `\| 'xxlarge' \| 'xlarge' \| 'large' \| 'medium' \| 'small' \| 'xsmall' \| 'xxsmall' \| 'xxxsmall'` | |
33
33
  | `weight` | `'regular' \| 'medium' \| 'semi-bold' \| 'bold'` | |
34
34
  | `textStyle` | `` | React owns `style`, so the data-style axis is `textStyle`. This is the one place the mirror-the-HTML rule cannot hold. |
35
+ | `nowrap` | `` | Body only: the words stay on one line (data-nowrap). |
35
36
  | `as` | `ElementType` | |
36
37
  | `color` | `Color` | |
37
38
  | `emphasis` | `Emphasis` | |
@@ -0,0 +1,41 @@
1
+ # Image (`image`)
2
+
3
+ An image slot: a picture on the kit's corner, or, with data-placeholder, the empty slot drawn as a hairline box crossed corner to corner. data-size="16|20|24" is the small square that stands beside a title or a row.
4
+
5
+
6
+ ## Anatomy (HTML)
7
+
8
+ ```text
9
+ div.dk-component-image[data-placeholder]?[data-fill]?[data-size="16|20|24"]?[data-ratio="1/1|4/3|3/2|16/9|21/9"]?
10
+ img (a picture; none on a placeholder)
11
+ ::before (the cross, on a placeholder)
12
+ ```
13
+
14
+ ## Attributes
15
+
16
+ | Attribute | Values the stylesheet styles |
17
+ |---|---|
18
+ | `data-fill` | (present or absent) |
19
+ | `data-placeholder` | (present or absent) |
20
+ | `data-ratio` | `1/1`, `16/9`, `21/9`, `3/2`, `4/3` |
21
+ | `data-size` | `16`, `20`, `24` |
22
+
23
+ ## React
24
+
25
+ ```tsx
26
+ import { Image } from '@karmo-co/drift-kit/react';
27
+ ```
28
+
29
+ | Prop | Type | Notes |
30
+ |---|---|---|
31
+ | `src` | `string` | The picture. Absent with placeholder, which draws the empty slot. |
32
+ | `alt` | `string` | The picture's text alternative; "" for a decorative one. |
33
+ | `placeholder` | `boolean` | The empty slot: a hairline box crossed corner to corner. Decorative (aria-hidden) unless it is given an aria-label, which makes it an image with that name. |
34
+ | `fill` | `boolean` | Painted in the surface it sits on (data-fill), so a slot in front of another, a pile of photos, covers it. |
35
+ | `size` | `16 \| 20 \| 24` | A fixed square, Icon's sizes: the small slot beside a title or a row. |
36
+ | `ratio` | `'1/1' \| '4/3' \| '3/2' \| '16/9' \| '21/9'` | The height from the width. Without it, or a size, the layout sizes it. |
37
+ | `imgProps` | `ImgHTMLAttributes<HTMLImageElement>` | The img's own attributes (loading, decoding, srcSet, sizes, width, height). src and alt above win over any here. |
38
+
39
+ ## Component tokens
40
+
41
+ `--dk-component-image-radius`, `--dk-component-image-placeholder-color`, `--dk-component-image-placeholder-border-width`, `--dk-component-image-16-size`, `--dk-component-image-20-size`, `--dk-component-image-24-size`, `--dk-component-image-fill`
@@ -15,6 +15,7 @@ div.dk-component-modal[hidden][data-sheet][data-sheet-open][data-sheet-drag][dat
15
15
  h2.dk-component-modal__title
16
16
  button.dk-component-icon-button[aria-label]
17
17
  div.dk-component-modal__body
18
+ div.dk-component-modal__actions? (last: the body's own buttons, scrolling with it)
18
19
  div.dk-component-modal__footer
19
20
  ```
20
21
 
@@ -63,4 +64,4 @@ import { Modal } from '@karmo-co/drift-kit/react';
63
64
 
64
65
  ## Component tokens
65
66
 
66
- `--dk-component-modal-small-width`, `--dk-component-modal-width`, `--dk-component-modal-large-width`, `--dk-component-modal-xlarge-width`, `--dk-component-modal-radius`, `--dk-component-modal-surface`, `--dk-component-modal-border`, `--dk-component-modal-border-width`, `--dk-component-modal-shadow`, `--dk-component-modal-inset`, `--dk-component-modal-max-height`, `--dk-component-modal-backdrop`, `--dk-component-modal-backdrop-blur`, `--dk-component-modal-padding-inline`, `--dk-component-modal-header-padding-block`, `--dk-component-modal-body-padding-block`, `--dk-component-modal-footer-padding-block`, `--dk-component-modal-body-gap`, `--dk-component-modal-footer-gap`, `--dk-component-modal-header-gap`, `--dk-component-modal-divider`, `--dk-component-modal-title-font-size`, `--dk-component-modal-title-line-height`, `--dk-component-modal-title-font-weight`, `--dk-component-modal-title-color`, `--dk-component-modal-icon-size`, `--dk-component-modal-icon-color`, `--dk-component-modal-sheet-max-height`, `--dk-component-modal-sheet-max-width`, `--dk-component-modal-sheet-radius`, `--dk-component-modal-sheet-action-height`, `--dk-component-modal-sheet-action-min`, `--dk-component-modal-grabber-width`, `--dk-component-modal-grabber-height`, `--dk-component-modal-grabber-offset`, `--dk-component-modal-grabber-color`, `--dk-component-modal-sheet-header-padding-top`, `--dk-component-modal-settle-duration`, `--dk-component-modal-settle-easing`, `--dk-component-modal-enter-duration`, `--dk-component-modal-exit-duration`, `--dk-component-modal-enter-easing`, `--dk-component-modal-exit-easing`, `--dk-component-modal-enter-travel`
67
+ `--dk-component-modal-small-width`, `--dk-component-modal-width`, `--dk-component-modal-large-width`, `--dk-component-modal-xlarge-width`, `--dk-component-modal-radius`, `--dk-component-modal-surface`, `--dk-component-modal-border`, `--dk-component-modal-border-width`, `--dk-component-modal-shadow`, `--dk-component-modal-inset`, `--dk-component-modal-max-height`, `--dk-component-modal-backdrop`, `--dk-component-modal-backdrop-blur`, `--dk-component-modal-padding-inline`, `--dk-component-modal-header-padding-block`, `--dk-component-modal-body-padding-block`, `--dk-component-modal-footer-padding-block`, `--dk-component-modal-body-gap`, `--dk-component-modal-footer-gap`, `--dk-component-modal-actions-padding-block-start`, `--dk-component-modal-actions-gap`, `--dk-component-modal-header-gap`, `--dk-component-modal-divider`, `--dk-component-modal-title-font-size`, `--dk-component-modal-title-line-height`, `--dk-component-modal-title-font-weight`, `--dk-component-modal-title-color`, `--dk-component-modal-text-color`, `--dk-component-modal-icon-size`, `--dk-component-modal-icon-color`, `--dk-component-modal-sheet-max-height`, `--dk-component-modal-sheet-max-width`, `--dk-component-modal-sheet-radius`, `--dk-component-modal-sheet-action-height`, `--dk-component-modal-sheet-action-min`, `--dk-component-modal-grabber-width`, `--dk-component-modal-grabber-height`, `--dk-component-modal-grabber-offset`, `--dk-component-modal-grabber-color`, `--dk-component-modal-sheet-header-padding-top`, `--dk-component-modal-settle-duration`, `--dk-component-modal-settle-easing`, `--dk-component-modal-enter-duration`, `--dk-component-modal-exit-duration`, `--dk-component-modal-enter-easing`, `--dk-component-modal-exit-easing`, `--dk-component-modal-enter-travel`
@@ -6,7 +6,7 @@ A strip of tabs that switch between panels of one page, on a hairline with a bar
6
6
  ## Anatomy (HTML)
7
7
 
8
8
  ```text
9
- div.dk-component-tabs[role="tablist"][data-size]?
9
+ div.dk-component-tabs[role="tablist"][data-size]? (style: --dk-tabs-inset?)
10
10
  button.__tab[role="tab"][data-value][aria-selected]
11
11
  span.__icon?
12
12
  span.__label
@@ -6,16 +6,18 @@ A label, a category, a status. Six statuses, three variants, and a dot for the c
6
6
  ## Anatomy (HTML)
7
7
 
8
8
  ```text
9
- span.dk-component-tag[data-status|data-hue][data-variant][data-size]
9
+ span.dk-component-tag[data-status|data-hue][data-variant][data-size][data-caret]?
10
10
  span.dk-component-tag__dot (optional, aria-hidden)
11
11
  span.dk-component-tag__icon (optional, aria-hidden, holds an svg)
12
12
  span.dk-component-tag__text (the words; end in an ellipsis when a tag alone in its container is squeezed)
13
+ ::after (with data-caret: a chevron-down, for a tag that opens a menu)
13
14
  ```
14
15
 
15
16
  ## Attributes
16
17
 
17
18
  | Attribute | Values the stylesheet styles |
18
19
  |---|---|
20
+ | `data-caret` | (present or absent) |
19
21
  | `data-hue` | `next1`, `next2`, `next3`, `next4`, `prev1`, `prev2`, `prev3`, `prev4`, `primary` |
20
22
  | `data-size` | `large`, `small`, `xsmall` |
21
23
  | `data-status` | `error`, `information`, `primary`, `success`, `warning` |
@@ -39,6 +41,7 @@ import { Tag } from '@karmo-co/drift-kit/react';
39
41
  | `weight` | `'medium' \| 'semi-bold'` | The label weight; semi-bold when absent. |
40
42
  | `dot` | `boolean` | A coloured circle before the label, for the status that has a word beside it already. Decorative, and hidden from the reader for that reason. |
41
43
  | `icon` | `ReactNode` | A glyph before the label. It takes the tag's own colour rather than the status tone: on a tint the text IS the status colour, and on a fill anything else would fail. |
44
+ | `caret` | `boolean` | A chevron after the words (data-caret), for a tag that opens a menu, a chip filter. The element that opens it is the button around it. |
42
45
  | `children` | `ReactNode` | |
43
46
 
44
47
  ## Component tokens
@@ -0,0 +1,23 @@
1
+ # Timeline (`timeline`)
2
+
3
+ Dated moments down a page (pick-up, then refresh, then return): a dot beside each, a line joining one dot to the next, and what happens at each moment beside its dot.
4
+
5
+
6
+ ## Anatomy (HTML)
7
+
8
+ ```text
9
+ ol.dk-component-timeline[aria-label]?
10
+ li.dk-component-timeline__item (any content: an eyebrow, a date, cards)
11
+ ::before (the dot)
12
+ ::after (the line to the next dot; not on the last)
13
+ ```
14
+
15
+ ## React
16
+
17
+ ```tsx
18
+ import { Timeline } from '@karmo-co/drift-kit/react';
19
+ ```
20
+
21
+ ## Component tokens
22
+
23
+ `--dk-component-timeline-color`, `--dk-component-timeline-dot-size`, `--dk-component-timeline-dot-offset`, `--dk-component-timeline-line-width`, `--dk-component-timeline-line-clearance`, `--dk-component-timeline-indent`, `--dk-component-timeline-item-gap`, `--dk-component-timeline-spacing`
@@ -6,7 +6,7 @@ The page's banner: the brand, an optional row of links, and what the page puts a
6
6
  ## Anatomy (HTML)
7
7
 
8
8
  ```text
9
- header.dk-component-top-bar[data-variant="glass"]?[data-sticky]?
9
+ header.dk-component-top-bar[data-variant="glass|transparent|flow"]?[data-sticky]?
10
10
  div.__inner
11
11
  a.__brand (a dk-component-logo)
12
12
  nav.__links?
@@ -27,7 +27,7 @@ header.dk-component-top-bar[data-variant="glass"]?[data-sticky]?
27
27
  | `data-phone` | (present or absent) |
28
28
  | `data-scrolled` | (present or absent) |
29
29
  | `data-sticky` | (present or absent) |
30
- | `data-variant` | `glass`, `transparent` |
30
+ | `data-variant` | `flow`, `glass`, `transparent` |
31
31
  | `data-width` | `full` |
32
32
 
33
33
  ## React
@@ -44,8 +44,10 @@ import { TopBar } from '@karmo-co/drift-kit/react';
44
44
  | `links` | `TopBarLink[]` | |
45
45
  | `linksLabel` | `string` | The links' landmark name, and the menu button's when they fold. |
46
46
  | `help` | `{ icon: ReactNode; title: ReactNode; text: ReactNode }` | The component library's help line: an icon, an overline title and a line with a link in it. |
47
- | `end` | `ReactNode` | Actions, the account: anything, at the end. |
48
- | `variant` | `'solid' \| 'glass' \| 'transparent'` | |
47
+ | `end` | `ReactNode` | Actions, the account: anything, at the end. In the flow bar, the close. |
48
+ | `start` | `ReactNode` | The flow bar (variant="flow"): a back button at the start (an icon button with aria-label="Back"; end's close takes aria-label="Close"), and a title or a Stepper centred on the bar, with or without a start. |
49
+ | `title` | `ReactNode` | |
50
+ | `variant` | `'solid' \| 'glass' \| 'transparent' \| 'flow'` | |
49
51
  | `sticky` | `boolean` | |
50
52
  | `hideOnScroll` | `boolean` | |
51
53
  | `fullWidth` | `boolean` | No max width: the bar's contents run edge to edge. |
@@ -58,4 +60,4 @@ import { TopBar } from '@karmo-co/drift-kit/react';
58
60
 
59
61
  ## Component tokens
60
62
 
61
- `--dk-component-top-bar-height`, `--dk-component-top-bar-padding-inline`, `--dk-component-top-bar-phone-padding-inline`, `--dk-component-top-bar-gap`, `--dk-component-top-bar-max-width`, `--dk-component-top-bar-brand-width`, `--dk-component-top-bar-brand-height`, `--dk-component-top-bar-solid-surface`, `--dk-component-top-bar-glass-surface`, `--dk-component-top-bar-blur`, `--dk-component-top-bar-border`, `--dk-component-top-bar-border-width`, `--dk-component-top-bar-shadow`, `--dk-component-top-bar-z-index`, `--dk-component-top-bar-link-font-family`, `--dk-component-top-bar-link-font-size`, `--dk-component-top-bar-link-line-height`, `--dk-component-top-bar-link-font-weight`, `--dk-component-top-bar-link-padding-block`, `--dk-component-top-bar-link-padding-inline`, `--dk-component-top-bar-link-radius`, `--dk-component-top-bar-link-text`, `--dk-component-top-bar-link-text-hover`, `--dk-component-top-bar-link-text-active`, `--dk-component-top-bar-link-text-current`, `--dk-component-top-bar-link-surface-hover`, `--dk-component-top-bar-link-surface-active`, `--dk-component-top-bar-link-press-scale`, `--dk-component-top-bar-indicator`, `--dk-component-top-bar-indicator-thickness`, `--dk-component-top-bar-focus-ring`, `--dk-component-top-bar-focus-ring-width`, `--dk-component-top-bar-help-gap`, `--dk-component-top-bar-help-icon-size`, `--dk-component-top-bar-help-icon`, `--dk-component-top-bar-help-title-font-size`, `--dk-component-top-bar-help-title-line-height`, `--dk-component-top-bar-help-title-font-weight`, `--dk-component-top-bar-help-title-letter-spacing`, `--dk-component-top-bar-help-title-color`, `--dk-component-top-bar-help-text-font-size`, `--dk-component-top-bar-help-text-line-height`, `--dk-component-top-bar-help-text-color`, `--dk-component-top-bar-help-link`, `--dk-component-top-bar-help-link-hover`, `--dk-component-top-bar-account-ring`, `--dk-component-top-bar-duration`, `--dk-component-top-bar-indicator-duration`, `--dk-component-top-bar-easing`, `--dk-component-top-bar-hide-duration`
63
+ `--dk-component-top-bar-height`, `--dk-component-top-bar-padding-inline`, `--dk-component-top-bar-phone-padding-inline`, `--dk-component-top-bar-gap`, `--dk-component-top-bar-max-width`, `--dk-component-top-bar-brand-width`, `--dk-component-top-bar-brand-height`, `--dk-component-top-bar-solid-surface`, `--dk-component-top-bar-glass-surface`, `--dk-component-top-bar-blur`, `--dk-component-top-bar-border`, `--dk-component-top-bar-border-width`, `--dk-component-top-bar-flow-surface`, `--dk-component-top-bar-flow-border`, `--dk-component-top-bar-flow-padding-block`, `--dk-component-top-bar-flow-padding-inline`, `--dk-component-top-bar-flow-end-size`, `--dk-component-top-bar-shadow`, `--dk-component-top-bar-z-index`, `--dk-component-top-bar-link-font-family`, `--dk-component-top-bar-link-font-size`, `--dk-component-top-bar-link-line-height`, `--dk-component-top-bar-link-font-weight`, `--dk-component-top-bar-link-padding-block`, `--dk-component-top-bar-link-padding-inline`, `--dk-component-top-bar-link-radius`, `--dk-component-top-bar-link-text`, `--dk-component-top-bar-link-text-hover`, `--dk-component-top-bar-link-text-active`, `--dk-component-top-bar-link-text-current`, `--dk-component-top-bar-link-surface-hover`, `--dk-component-top-bar-link-surface-active`, `--dk-component-top-bar-link-press-scale`, `--dk-component-top-bar-indicator`, `--dk-component-top-bar-indicator-thickness`, `--dk-component-top-bar-focus-ring`, `--dk-component-top-bar-focus-ring-width`, `--dk-component-top-bar-help-gap`, `--dk-component-top-bar-help-icon-size`, `--dk-component-top-bar-help-icon`, `--dk-component-top-bar-help-title-font-size`, `--dk-component-top-bar-help-title-line-height`, `--dk-component-top-bar-help-title-font-weight`, `--dk-component-top-bar-help-title-letter-spacing`, `--dk-component-top-bar-help-title-color`, `--dk-component-top-bar-help-text-font-size`, `--dk-component-top-bar-help-text-line-height`, `--dk-component-top-bar-help-text-color`, `--dk-component-top-bar-help-link`, `--dk-component-top-bar-help-link-hover`, `--dk-component-top-bar-account-ring`, `--dk-component-top-bar-duration`, `--dk-component-top-bar-indicator-duration`, `--dk-component-top-bar-easing`, `--dk-component-top-bar-hide-duration`
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schema": 1,
3
- "version": "25.4.0",
3
+ "version": "25.6.0",
4
4
  "built": "2026-11-09",
5
5
  "components": [
6
6
  {
@@ -158,6 +158,11 @@
158
158
  "name": "Icon tile",
159
159
  "purpose": "A glyph on a small coloured square, subtle or solid, with one corner at every size."
160
160
  },
161
+ {
162
+ "id": "image",
163
+ "name": "Image",
164
+ "purpose": "An image slot: a picture on the kit's corner, or, with data-placeholder, the empty slot drawn as a hairline box crossed corner to corner. data-size=\"16|20|24\" is the small square that stands beside a title or a row."
165
+ },
161
166
  {
162
167
  "id": "input",
163
168
  "name": "Text input",
@@ -268,6 +273,11 @@
268
273
  "name": "Tile check",
269
274
  "purpose": "The leading mark of a selectable row (a notification, a message, a document): its icon tile at rest, its checkbox once the row is being picked from, ticked once it is picked."
270
275
  },
276
+ {
277
+ "id": "timeline",
278
+ "name": "Timeline",
279
+ "purpose": "Dated moments down a page (pick-up, then refresh, then return): a dot beside each, a line joining one dot to the next, and what happens at each moment beside its dot."
280
+ },
271
281
  {
272
282
  "id": "toast",
273
283
  "name": "Toast",
@@ -1802,6 +1812,30 @@
1802
1812
  "components": [],
1803
1813
  "tokens": []
1804
1814
  }
1815
+ },
1816
+ "25.5.0": {
1817
+ "added": {
1818
+ "components": [
1819
+ "image"
1820
+ ],
1821
+ "tokens": []
1822
+ },
1823
+ "removed": {
1824
+ "components": [],
1825
+ "tokens": []
1826
+ }
1827
+ },
1828
+ "25.6.0": {
1829
+ "added": {
1830
+ "components": [
1831
+ "timeline"
1832
+ ],
1833
+ "tokens": []
1834
+ },
1835
+ "removed": {
1836
+ "components": [],
1837
+ "tokens": []
1838
+ }
1805
1839
  }
1806
1840
  }
1807
1841
  }
package/manifest/setup.md CHANGED
@@ -34,7 +34,7 @@ Put these on `<body>`, never on `<html>`: the stylesheet reads them on the body
34
34
 
35
35
  ## Container attributes
36
36
 
37
- Set on a panel, not on `<body>`: everything inside follows. The attributes remap the tokens and paint nothing, so the container paints itself: `background: var(--dk-surface-current)`, the colour of the place it is in, and, when it sets `data-theme`, `color: var(--dk-text-default)` too, because Heading and Body inherit their colour. Kit surfaces (Box, Card, Alert, Modal) already paint.
37
+ Set on a panel, not on `<body>`: everything inside follows. The attributes remap the tokens and paint nothing, so the container paints itself: `background: var(--dk-surface-current)`, the colour of the place it is in, and nothing more for text: `data-theme` also sets `color: var(--dk-text-default)` on the container (at no weight), so a colour written on it still wins. Kit surfaces (Box, Card, Alert, Modal) already paint.
38
38
 
39
39
  | Attribute | Values |
40
40
  |---|---|
@@ -42,6 +42,15 @@ Set on a panel, not on `<body>`: everything inside follows. The attributes remap
42
42
  | `data-tone` | `credit`, `error`, `information`, `inverse`, `muted`, `neutral`, `none`, `primary`, `success`, `warning` |
43
43
  | `data-tone-fill` | `solid` |
44
44
 
45
+ ## Kit attributes
46
+
47
+ Set on any element, a kit component's or a plain one.
48
+
49
+ | Attribute | What it does |
50
+ |---|---|
51
+ | `data-sticky` | On a Box or a plain section: stays at the top of what scrolls, in its own paint (`--dk-surface-current` as the element resolves it), at `z-index` `--dk-sticky-z-index` (5 when unset). `--dk-sticky-cover` opts into a cover of that height rising above it, set only where nothing sits above it in its scroller; `--dk-sticky-bleed` widens the cover past its sides. Top bar and Action bar keep their own `data-sticky`. |
52
+ | `data-reveal="hover"` | On an element inside a `[data-interactive]` row (the row's own action): transparent until the row is hovered or holds focus where the pointer is fine and hovers and none is coarse, always shown on a touch screen. It keeps its room, stays in the tab order and the accessibility tree (Tab onto it shows it) and takes no clicks while hidden. Tile check keeps its own meaning of the attribute. |
53
+
45
54
  ## Verify
46
55
 
47
56
  1. **The tokens resolve:** `getComputedStyle(document.body).getPropertyValue('--dk-surface-current')` is non-empty. Probe on `document.body`, never `document.documentElement`: the tokens live on the attribute scopes. Empty means the root attributes are missing or miscased.
@@ -59,47 +68,47 @@ Both scripts are deferred, and an icon script goes after `components.js`, which
59
68
 
60
69
  ```html
61
70
  <!-- in the head -->
62
- <link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/25.4.0/drift-kit.css" integrity="sha384-F05GyC8Jat9Zc+fif4wft8PN03GhykdThxwO9qIKQfphsvaad7Wd1KOjmg8sHwan" crossorigin="anonymous" />
63
- <script src="https://storage.googleapis.com/drift-kit-public/25.4.0/components.js" integrity="sha384-Cx9YF+SfzqHSi//6GuGedmjiWfuLhDvOPfs2x1VmPTZ12Kp498LOhqepVXG/vbSC" crossorigin="anonymous" defer></script>
64
- <script src="https://storage.googleapis.com/drift-kit-public/25.4.0/drift-icons-<set>.js" integrity="<its integrity>" crossorigin="anonymous" defer></script>
71
+ <link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/25.6.0/drift-kit.css" integrity="sha384-zi1eGN1RRcbH65sKWrT7iJyGh2H1Y0TQ3qxQ5HK6gEW7J+hym6XCecd+MsQGpq7u" crossorigin="anonymous" />
72
+ <script src="https://storage.googleapis.com/drift-kit-public/25.6.0/components.js" integrity="sha384-jfHs35J3Lisx55WoZu5KGiyDIckxxQ63SQoEc0Z4rmWWDFPDoNdsD6ojQWNMq0rj" crossorigin="anonymous" defer></script>
73
+ <script src="https://storage.googleapis.com/drift-kit-public/25.6.0/drift-icons-<set>.js" integrity="<its integrity>" crossorigin="anonymous" defer></script>
65
74
  <!-- the attributes go on the body -->
66
75
  <body data-brand="karmo" data-theme="light">
67
76
  ```
68
77
 
69
78
  | File | Address | Integrity |
70
79
  |---|---|---|
71
- | `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/25.4.0/drift-kit.css` | `sha384-F05GyC8Jat9Zc+fif4wft8PN03GhykdThxwO9qIKQfphsvaad7Wd1KOjmg8sHwan` |
72
- | `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.4.0/drift-kit.min.css` | `sha384-pLHk88KMqkno4RlcaGEKrvML6ScaoD5K4BhkSZABooiMxH+Ucbf5fSfxDdmgST0I` |
73
- | `components.js` | `https://storage.googleapis.com/drift-kit-public/25.4.0/components.js` | `sha384-Cx9YF+SfzqHSi//6GuGedmjiWfuLhDvOPfs2x1VmPTZ12Kp498LOhqepVXG/vbSC` |
74
- | `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.4.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
75
- | `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.4.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
76
- | `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.4.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
77
- | `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.4.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
78
- | `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.4.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
79
- | `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.4.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
80
- | `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.4.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
80
+ | `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/25.6.0/drift-kit.css` | `sha384-zi1eGN1RRcbH65sKWrT7iJyGh2H1Y0TQ3qxQ5HK6gEW7J+hym6XCecd+MsQGpq7u` |
81
+ | `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.6.0/drift-kit.min.css` | `sha384-lwW/3T43XpvU410rbcctLkpVxOYPSuZnZwS2kbuLbbC0+pJ05uEJIWkRrVamEKz4` |
82
+ | `components.js` | `https://storage.googleapis.com/drift-kit-public/25.6.0/components.js` | `sha384-jfHs35J3Lisx55WoZu5KGiyDIckxxQ63SQoEc0Z4rmWWDFPDoNdsD6ojQWNMq0rj` |
83
+ | `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.6.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
84
+ | `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.6.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
85
+ | `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.6.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
86
+ | `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.6.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
87
+ | `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.6.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
88
+ | `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.6.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
89
+ | `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.6.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
81
90
 
82
91
  ### In Claude chat and Cowork
83
92
 
84
93
  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
94
 
86
95
  ```html
87
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.4.0/drift-kit.min.css" integrity="sha384-pLHk88KMqkno4RlcaGEKrvML6ScaoD5K4BhkSZABooiMxH+Ucbf5fSfxDdmgST0I" crossorigin="anonymous" />
88
- <script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.4.0/components.js" integrity="sha384-AR7ols3mCyiOuTlA35yMMRfm2j/ZGjn6oeMYslsd61nRqSpGi+m2ESKbnMDH8vht" crossorigin="anonymous" defer></script>
96
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/drift-kit.min.css" integrity="sha384-lwW/3T43XpvU410rbcctLkpVxOYPSuZnZwS2kbuLbbC0+pJ05uEJIWkRrVamEKz4" crossorigin="anonymous" />
97
+ <script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/components.js" integrity="sha384-B2sduyEn81qjuhW4/RuhsTEGC7ZuhKWdudBClLbErJ6ZOpDF0EWz+Bao7HLWnjzb" crossorigin="anonymous" defer></script>
89
98
  ```
90
99
 
91
100
  | File | Address | Integrity |
92
101
  |---|---|---|
93
- | `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.4.0/components.js` | `sha384-AR7ols3mCyiOuTlA35yMMRfm2j/ZGjn6oeMYslsd61nRqSpGi+m2ESKbnMDH8vht` |
94
- | `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.4.0/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
95
- | `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.4.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
96
- | `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.4.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
97
- | `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.4.0/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.4.0/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.4.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
100
- | `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.4.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
101
- | `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.4.0/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.4.0/drift-kit.min.css` | `sha384-pLHk88KMqkno4RlcaGEKrvML6ScaoD5K4BhkSZABooiMxH+Ucbf5fSfxDdmgST0I` |
102
+ | `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/components.js` | `sha384-B2sduyEn81qjuhW4/RuhsTEGC7ZuhKWdudBClLbErJ6ZOpDF0EWz+Bao7HLWnjzb` |
103
+ | `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
104
+ | `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
105
+ | `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
106
+ | `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
107
+ | `drift-icons-flag-circle.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
108
+ | `drift-icons-flag.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
109
+ | `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
110
+ | `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
111
+ | `drift-kit.min.css` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.6.0/drift-kit.min.css` | `sha384-lwW/3T43XpvU410rbcctLkpVxOYPSuZnZwS2kbuLbbC0+pJ05uEJIWkRrVamEKz4` |
103
112
 
104
113
  ### Integrity for 23.4.0
105
114
 
@@ -131,5 +140,5 @@ The behaviour script initialises every component on the page when it loads. Mark
131
140
  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
141
 
133
142
  ```json
134
- {"version":"25.4.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"}
143
+ {"version":"25.6.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"}
135
144
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karmo-co/drift-kit-reference",
3
- "version": "25.4.0",
3
+ "version": "25.6.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"