@karmo-co/drift-kit-reference 25.25.1 → 25.26.1
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/dropdown.md +1 -1
- package/manifest/components/illustration.md +5 -5
- package/manifest/components/logo.md +1 -1
- package/manifest/components/sidebar.md +3 -2
- package/manifest/components/toast.md +1 -1
- package/manifest/index.json +23 -3
- package/manifest/setup.md +26 -26
- package/package.json +1 -1
|
@@ -55,4 +55,4 @@ import { Dropdown } from '@karmo-co/drift-kit/react';
|
|
|
55
55
|
|
|
56
56
|
## Component tokens
|
|
57
57
|
|
|
58
|
-
`--dk-component-dropdown-item-padding-block`, `--dk-component-dropdown-item-padding-inline`, `--dk-component-dropdown-item-gap`, `--dk-component-dropdown-item-radius`, `--dk-component-dropdown-item-font-family`, `--dk-component-dropdown-item-font-size`, `--dk-component-dropdown-item-line-height`, `--dk-component-dropdown-item-font-weight`, `--dk-component-dropdown-item-touch-height`, `--dk-component-dropdown-medium-item-font-size`, `--dk-component-dropdown-medium-item-line-height`, `--dk-component-dropdown-medium-item-padding-block`, `--dk-component-dropdown-medium-item-icon-size`, `--dk-component-dropdown-medium-check-size`, `--dk-component-dropdown-large-item-font-size`, `--dk-component-dropdown-large-item-line-height`, `--dk-component-dropdown-large-item-padding-block`, `--dk-component-dropdown-large-item-icon-size`, `--dk-component-dropdown-large-check-size`, `--dk-component-dropdown-item-color`, `--dk-component-dropdown-item-color-active`, `--dk-component-dropdown-item-color-hover`, `--dk-component-dropdown-item-icon-color`, `--dk-component-dropdown-item-icon-color-hover`, `--dk-component-dropdown-item-surface-hover`, `--dk-component-dropdown-item-surface-active`, `--dk-component-dropdown-item-disabled-color`, `--dk-component-dropdown-item-disabled-icon-color`, `--dk-component-dropdown-item-destructive-color`, `--dk-component-dropdown-item-destructive-icon-color`, `--dk-component-dropdown-item-destructive-surface-hover`, `--dk-component-dropdown-item-destructive-surface-active`, `--dk-component-dropdown-check-size`, `--dk-component-dropdown-check-color`, `--dk-component-dropdown-check-stroke-width`, `--dk-component-dropdown-item-icon-size`, `--dk-component-dropdown-label-font-size`, `--dk-component-dropdown-label-line-height`, `--dk-component-dropdown-label-letter-spacing`, `--dk-component-dropdown-label-font-weight`, `--dk-component-dropdown-label-color`, `--dk-component-dropdown-label-padding-block`, `--dk-component-dropdown-separator-color`, `--dk-component-dropdown-separator-width`, `--dk-component-dropdown-separator-spacing`, `--dk-component-dropdown-duration`, `--dk-component-dropdown-easing`, `--dk-component-dropdown-item-transform-scale-active`
|
|
58
|
+
`--dk-component-dropdown-item-padding-block`, `--dk-component-dropdown-item-padding-inline`, `--dk-component-dropdown-item-gap`, `--dk-component-dropdown-item-radius`, `--dk-component-dropdown-item-font-family`, `--dk-component-dropdown-item-font-size`, `--dk-component-dropdown-item-line-height`, `--dk-component-dropdown-item-font-weight`, `--dk-component-dropdown-item-touch-height`, `--dk-component-dropdown-medium-item-font-size`, `--dk-component-dropdown-medium-item-line-height`, `--dk-component-dropdown-medium-item-padding-block`, `--dk-component-dropdown-medium-item-icon-size`, `--dk-component-dropdown-medium-check-size`, `--dk-component-dropdown-large-item-font-size`, `--dk-component-dropdown-large-item-line-height`, `--dk-component-dropdown-large-item-padding-block`, `--dk-component-dropdown-large-item-icon-size`, `--dk-component-dropdown-large-check-size`, `--dk-component-dropdown-item-color`, `--dk-component-dropdown-item-color-active`, `--dk-component-dropdown-item-color-hover`, `--dk-component-dropdown-item-icon-color`, `--dk-component-dropdown-item-icon-color-hover`, `--dk-component-dropdown-item-surface-hover`, `--dk-component-dropdown-item-current-surface`, `--dk-component-dropdown-item-current-surface-hover`, `--dk-component-dropdown-item-current-text`, `--dk-component-dropdown-item-surface-active`, `--dk-component-dropdown-item-disabled-color`, `--dk-component-dropdown-item-disabled-icon-color`, `--dk-component-dropdown-item-destructive-color`, `--dk-component-dropdown-item-destructive-icon-color`, `--dk-component-dropdown-item-destructive-surface-hover`, `--dk-component-dropdown-item-destructive-surface-active`, `--dk-component-dropdown-check-size`, `--dk-component-dropdown-check-color`, `--dk-component-dropdown-check-stroke-width`, `--dk-component-dropdown-item-icon-size`, `--dk-component-dropdown-label-font-size`, `--dk-component-dropdown-label-line-height`, `--dk-component-dropdown-label-letter-spacing`, `--dk-component-dropdown-label-font-weight`, `--dk-component-dropdown-label-color`, `--dk-component-dropdown-label-padding-block`, `--dk-component-dropdown-separator-color`, `--dk-component-dropdown-separator-width`, `--dk-component-dropdown-separator-spacing`, `--dk-component-dropdown-duration`, `--dk-component-dropdown-easing`, `--dk-component-dropdown-item-transform-scale-active`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Illustration (`illustration`)
|
|
2
2
|
|
|
3
|
-
Drawn art from the kit, by name, painted in the theme's colours: cards, the Payment Methods stack of three cards.
|
|
3
|
+
Drawn art from the kit, by name, painted in the theme's colours: cards, the Payment Methods stack of three cards; reports, three report sheets fanned away (analytics that has moved); not-found, the same sheets with a magnifying glass (a page that is not there).
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
## Anatomy (HTML)
|
|
7
7
|
|
|
8
8
|
```text
|
|
9
|
-
span.dk-component-illustration[data-name="cards"][aria-label]?
|
|
9
|
+
span.dk-component-illustration[data-name="cards|reports|not-found"][aria-label]?
|
|
10
10
|
svg (drawn by the runtime)
|
|
11
11
|
g[data-layer="back|middle|front"] > path[data-part]
|
|
12
12
|
```
|
|
@@ -15,7 +15,7 @@ span.dk-component-illustration[data-name="cards"][aria-label]?
|
|
|
15
15
|
|
|
16
16
|
| Attribute | Values the stylesheet styles |
|
|
17
17
|
|---|---|
|
|
18
|
-
| `data-name` | `cards` |
|
|
18
|
+
| `data-name` | `cards`, `not-found`, `reports` |
|
|
19
19
|
| `data-part` | `chip`, `gold`, `line`, `mark`, `shine` |
|
|
20
20
|
| `data-stop` | `back-body-end`, `back-body-start`, `back-edge-end`, `back-edge-start`, `front-body-end`, `front-body-start`, `front-edge-end`, `front-edge-start`, `middle-body-end`, `middle-body-start`, `middle-edge-end`, `middle-edge-start` |
|
|
21
21
|
|
|
@@ -27,9 +27,9 @@ import { Illustration } from '@karmo-co/drift-kit/react';
|
|
|
27
27
|
|
|
28
28
|
| Prop | Type | Notes |
|
|
29
29
|
|---|---|---|
|
|
30
|
-
| `name` (required) | `IllustrationName` | Which art: cards, the Payment Methods stack of three cards. |
|
|
30
|
+
| `name` (required) | `IllustrationName` | Which art: cards, the Payment Methods stack of three cards; reports, three report sheets fanned away; not-found, the same with a magnifying glass. |
|
|
31
31
|
| `label` | `string` | A name for the art when it says something the words around it do not. Without one it is decoration, hidden from assistive technology. Its width is --dk-component-illustration-size (set it in style); the height follows. |
|
|
32
32
|
|
|
33
33
|
## Component tokens
|
|
34
34
|
|
|
35
|
-
`--dk-component-illustration-size`, `--dk-component-illustration-cards-front-body-start`, `--dk-component-illustration-cards-front-body-end`, `--dk-component-illustration-cards-front-edge-start`, `--dk-component-illustration-cards-front-edge-end`, `--dk-component-illustration-cards-middle-body-start`, `--dk-component-illustration-cards-middle-body-end`, `--dk-component-illustration-cards-middle-edge-start`, `--dk-component-illustration-cards-middle-edge-end`, `--dk-component-illustration-cards-back-body-start`, `--dk-component-illustration-cards-back-body-end`, `--dk-component-illustration-cards-back-edge-start`, `--dk-component-illustration-cards-back-edge-end`, `--dk-component-illustration-cards-line`, `--dk-component-illustration-cards-chip`, `--dk-component-illustration-cards-shine`, `--dk-component-illustration-cards-mark`, `--dk-component-illustration-cards-gold`
|
|
35
|
+
`--dk-component-illustration-size`, `--dk-component-illustration-cards-front-body-start`, `--dk-component-illustration-cards-front-body-end`, `--dk-component-illustration-cards-front-edge-start`, `--dk-component-illustration-cards-front-edge-end`, `--dk-component-illustration-cards-middle-body-start`, `--dk-component-illustration-cards-middle-body-end`, `--dk-component-illustration-cards-middle-edge-start`, `--dk-component-illustration-cards-middle-edge-end`, `--dk-component-illustration-cards-back-body-start`, `--dk-component-illustration-cards-back-body-end`, `--dk-component-illustration-cards-back-edge-start`, `--dk-component-illustration-cards-back-edge-end`, `--dk-component-illustration-cards-line`, `--dk-component-illustration-cards-chip`, `--dk-component-illustration-cards-shine`, `--dk-component-illustration-cards-mark`, `--dk-component-illustration-cards-gold`, `--dk-component-illustration-reports-front-body-start`, `--dk-component-illustration-reports-front-body-end`, `--dk-component-illustration-reports-front-edge-start`, `--dk-component-illustration-reports-front-edge-end`, `--dk-component-illustration-reports-middle-body-start`, `--dk-component-illustration-reports-middle-body-end`, `--dk-component-illustration-reports-middle-edge-start`, `--dk-component-illustration-reports-middle-edge-end`, `--dk-component-illustration-reports-back-body-start`, `--dk-component-illustration-reports-back-body-end`, `--dk-component-illustration-reports-back-edge-start`, `--dk-component-illustration-reports-back-edge-end`, `--dk-component-illustration-reports-mark`, `--dk-component-illustration-not-found-front-body-start`, `--dk-component-illustration-not-found-front-body-end`, `--dk-component-illustration-not-found-front-edge-start`, `--dk-component-illustration-not-found-front-edge-end`, `--dk-component-illustration-not-found-middle-body-start`, `--dk-component-illustration-not-found-middle-body-end`, `--dk-component-illustration-not-found-middle-edge-start`, `--dk-component-illustration-not-found-middle-edge-end`, `--dk-component-illustration-not-found-back-body-start`, `--dk-component-illustration-not-found-back-body-end`, `--dk-component-illustration-not-found-back-edge-start`, `--dk-component-illustration-not-found-back-edge-end`, `--dk-component-illustration-not-found-mark`
|
|
@@ -6,7 +6,7 @@ The brand mark, as a symbol or with its wordmark, in three colourways.
|
|
|
6
6
|
## Anatomy (HTML)
|
|
7
7
|
|
|
8
8
|
```text
|
|
9
|
-
span.dk-component-logo[data-brand="karmo|mykarmo"]?[data-lockup="symbol|symbol-text"]?[data-mode="reverse"]?[data-size]?[role="img"][aria-label]
|
|
9
|
+
span.dk-component-logo[data-brand="karmo|mykarmo|vouch"]?[data-lockup="symbol|symbol-text"]?[data-mode="reverse"]?[data-size]?[role="img"][aria-label]
|
|
10
10
|
(the vectors are drawn by the runtime; data-brand on the logo itself
|
|
11
11
|
picks the mark without changing the page's brand, else the nearest
|
|
12
12
|
data-brand's mark is drawn, Karmo's when there is none; React's brand
|
|
@@ -17,10 +17,11 @@ nav.dk-component-sidebar[data-collapsed]?
|
|
|
17
17
|
div.__body
|
|
18
18
|
div.__section > span.__heading? + ul.__list > a|button.__item[aria-current]?
|
|
19
19
|
div.__foot
|
|
20
|
+
ul.__list > li > button.__item.__toggle, first, so the utilities
|
|
21
|
+
(sign out) end the foot
|
|
20
22
|
ul.__list > li[data-rail-only]? > a|button.__item
|
|
21
23
|
(data-rail-only: the rail and the drawer show the row, the phone
|
|
22
24
|
bar leaves it out, and it never puts More on the bar)
|
|
23
|
-
ul.__list > button.__item.__toggle
|
|
24
25
|
div.dk-component-dropdown.__account > button.__user
|
|
25
26
|
> span.__icon[data-bar-icon]? + an avatar + __user-text
|
|
26
27
|
(the glyph shows in place of the avatar on a phone bar only)
|
|
@@ -90,4 +91,4 @@ import { Sidebar } from '@karmo-co/drift-kit/react';
|
|
|
90
91
|
|
|
91
92
|
## Component tokens
|
|
92
93
|
|
|
93
|
-
`--dk-component-sidebar-width`, `--dk-component-sidebar-collapsed-width`, `--dk-component-sidebar-padding-block`, `--dk-component-sidebar-padding-inline`, `--dk-component-sidebar-gap`, `--dk-component-sidebar-section-gap`, `--dk-component-sidebar-border-width`, `--dk-component-sidebar-border-width-base`, `--dk-component-sidebar-docked-surface`, `--dk-component-sidebar-docked-border`, `--dk-component-sidebar-floating-surface`, `--dk-component-sidebar-floating-border`, `--dk-component-sidebar-floating-radius`, `--dk-component-sidebar-floating-shadow`, `--dk-component-sidebar-floating-inset`, `--dk-component-sidebar-blur`, `--dk-component-sidebar-brand-height`, `--dk-component-sidebar-head-height`, `--dk-component-sidebar-brand-mark-size`, `--dk-component-sidebar-brand-logo-height`, `--dk-component-sidebar-brand-gap`, `--dk-component-sidebar-wordmark-font-family`, `--dk-component-sidebar-wordmark-font-size`, `--dk-component-sidebar-wordmark-font-weight`, `--dk-component-sidebar-wordmark-color`, `--dk-component-sidebar-divider`, `--dk-component-sidebar-item-height`, `--dk-component-sidebar-item-gap`, `--dk-component-sidebar-item-radius`, `--dk-component-sidebar-item-icon-size`, `--dk-component-sidebar-item-font-family`, `--dk-component-sidebar-item-font-size`, `--dk-component-sidebar-item-line-height`, `--dk-component-sidebar-item-font-weight`, `--dk-component-sidebar-item-text`, `--dk-component-sidebar-item-text-hover`, `--dk-component-sidebar-item-text-active`, `--dk-component-sidebar-item-surface-hover`, `--dk-component-sidebar-item-border-hover`, `--dk-component-sidebar-item-surface-active`, `--dk-component-sidebar-item-border-active`, `--dk-component-sidebar-item-text-disabled`, `--dk-component-sidebar-item-press-scale`, `--dk-component-sidebar-bar-press-scale`, `--dk-component-sidebar-focus-ring`, `--dk-component-sidebar-focus-ring-width`, `--dk-component-sidebar-current-surface`, `--dk-component-sidebar-current-surface-hover`, `--dk-component-sidebar-current-border`, `--dk-component-sidebar-current-border-hover`, `--dk-component-sidebar-current-border-active`, `--dk-component-sidebar-current-text`, `--dk-component-sidebar-menu-current-
|
|
94
|
+
`--dk-component-sidebar-width`, `--dk-component-sidebar-collapsed-width`, `--dk-component-sidebar-padding-block`, `--dk-component-sidebar-padding-inline`, `--dk-component-sidebar-gap`, `--dk-component-sidebar-section-gap`, `--dk-component-sidebar-border-width`, `--dk-component-sidebar-border-width-base`, `--dk-component-sidebar-docked-surface`, `--dk-component-sidebar-docked-border`, `--dk-component-sidebar-floating-surface`, `--dk-component-sidebar-floating-border`, `--dk-component-sidebar-floating-radius`, `--dk-component-sidebar-floating-shadow`, `--dk-component-sidebar-floating-inset`, `--dk-component-sidebar-blur`, `--dk-component-sidebar-brand-height`, `--dk-component-sidebar-head-height`, `--dk-component-sidebar-brand-mark-size`, `--dk-component-sidebar-brand-logo-height`, `--dk-component-sidebar-brand-gap`, `--dk-component-sidebar-wordmark-font-family`, `--dk-component-sidebar-wordmark-font-size`, `--dk-component-sidebar-wordmark-font-weight`, `--dk-component-sidebar-wordmark-color`, `--dk-component-sidebar-divider`, `--dk-component-sidebar-item-height`, `--dk-component-sidebar-item-gap`, `--dk-component-sidebar-item-radius`, `--dk-component-sidebar-item-icon-size`, `--dk-component-sidebar-item-font-family`, `--dk-component-sidebar-item-font-size`, `--dk-component-sidebar-item-line-height`, `--dk-component-sidebar-item-font-weight`, `--dk-component-sidebar-item-text`, `--dk-component-sidebar-item-text-hover`, `--dk-component-sidebar-item-text-active`, `--dk-component-sidebar-item-surface-hover`, `--dk-component-sidebar-item-border-hover`, `--dk-component-sidebar-item-surface-active`, `--dk-component-sidebar-item-border-active`, `--dk-component-sidebar-item-text-disabled`, `--dk-component-sidebar-item-press-scale`, `--dk-component-sidebar-bar-press-scale`, `--dk-component-sidebar-focus-ring`, `--dk-component-sidebar-focus-ring-width`, `--dk-component-sidebar-current-surface`, `--dk-component-sidebar-current-surface-hover`, `--dk-component-sidebar-current-border`, `--dk-component-sidebar-current-border-hover`, `--dk-component-sidebar-current-border-active`, `--dk-component-sidebar-current-text`, `--dk-component-sidebar-menu-current-font-weight`, `--dk-component-sidebar-child-height`, `--dk-component-sidebar-child-icon-size`, `--dk-component-sidebar-child-inset`, `--dk-component-sidebar-child-gap`, `--dk-component-sidebar-child-font-weight`, `--dk-component-sidebar-guide`, `--dk-component-sidebar-guide-width`, `--dk-component-sidebar-guide-radius`, `--dk-component-sidebar-heading-font-size`, `--dk-component-sidebar-heading-line-height`, `--dk-component-sidebar-heading-font-weight`, `--dk-component-sidebar-heading-letter-spacing`, `--dk-component-sidebar-heading-color`, `--dk-component-sidebar-badge-size`, `--dk-component-sidebar-badge-font-size`, `--dk-component-sidebar-badge-font-weight`, `--dk-component-sidebar-badge-surface`, `--dk-component-sidebar-badge-text`, `--dk-component-sidebar-badge-current-surface`, `--dk-component-sidebar-badge-current-text`, `--dk-component-sidebar-dot-size`, `--dk-component-sidebar-dot-surface`, `--dk-component-sidebar-bar-dot-surface`, `--dk-component-sidebar-user-height`, `--dk-component-sidebar-user-avatar-size`, `--dk-component-sidebar-user-text-gap`, `--dk-component-sidebar-user-name-font-size`, `--dk-component-sidebar-user-name-font-weight`, `--dk-component-sidebar-user-name-color`, `--dk-component-sidebar-user-meta-font-size`, `--dk-component-sidebar-user-meta-color`, `--dk-component-sidebar-panel-width`, `--dk-component-sidebar-panel-padding`, `--dk-component-sidebar-panel-radius`, `--dk-component-sidebar-panel-surface`, `--dk-component-sidebar-panel-border`, `--dk-component-sidebar-panel-item-surface-hover`, `--dk-component-sidebar-panel-item-border-hover`, `--dk-component-sidebar-panel-item-border-active`, `--dk-component-sidebar-panel-title-font-size`, `--dk-component-sidebar-panel-title-font-weight`, `--dk-component-sidebar-panel-title-color`, `--dk-component-sidebar-scrollbar-size`, `--dk-component-sidebar-scrollbar-inset`, `--dk-component-sidebar-scrollbar-thumb`, `--dk-component-sidebar-scrollbar-thumb-hover`, `--dk-component-sidebar-duration`, `--dk-component-sidebar-easing`, `--dk-component-sidebar-rise-duration`, `--dk-component-sidebar-rise-stagger`, `--dk-component-sidebar-rise-row-stagger`, `--dk-component-sidebar-indicator-duration`, `--dk-component-sidebar-group-row-duration`, `--dk-component-sidebar-group-stagger`, `--dk-component-sidebar-group-easing`, `--dk-component-sidebar-panel-duration`, `--dk-component-sidebar-panel-easing`, `--dk-component-sidebar-panel-rows-start`, `--dk-component-sidebar-panel-row-duration`, `--dk-component-sidebar-panel-row-easing`, `--dk-component-sidebar-panel-row-beat`, `--dk-component-sidebar-panel-row-rise`, `--dk-component-sidebar-panel-row-exit-duration`, `--dk-component-sidebar-panel-row-exit-easing`, `--dk-component-sidebar-bar-height`, `--dk-component-sidebar-bar-surface`, `--dk-component-sidebar-bar-border`, `--dk-component-sidebar-bar-shadow`, `--dk-component-sidebar-bar-radius`, `--dk-component-sidebar-bar-inset`, `--dk-component-sidebar-bar-bottom`, `--dk-component-sidebar-bar-max-width`, `--dk-component-sidebar-bar-font-size`, `--dk-component-sidebar-bar-font-weight`, `--dk-component-sidebar-bar-line-height`, `--dk-component-sidebar-bar-icon-size`, `--dk-component-sidebar-bar-pill-width`, `--dk-component-sidebar-bar-pill-height`, `--dk-component-sidebar-bar-padding`, `--dk-component-sidebar-bar-item-gap`, `--dk-component-sidebar-bar-item-radius`, `--dk-component-sidebar-bar-item-surface-hover`, `--dk-component-sidebar-bar-item-surface-active`, `--dk-component-sidebar-bar-current-surface`, `--dk-component-sidebar-bar-current-text`, `--dk-component-sidebar-bar-slots`, `--dk-component-sidebar-bar-z-index`, `--dk-component-sidebar-drawer-width`, `--dk-component-sidebar-drawer-shadow`, `--dk-component-sidebar-scrim`, `--dk-component-sidebar-drawer-duration`, `--dk-component-sidebar-drawer-easing`, `--dk-component-sidebar-drawer-z-index`
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"version": "25.
|
|
4
|
-
"built": "2026-11-
|
|
3
|
+
"version": "25.26.1",
|
|
4
|
+
"built": "2026-11-20",
|
|
5
5
|
"components": [
|
|
6
6
|
{
|
|
7
7
|
"id": "accordion",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
{
|
|
167
167
|
"id": "illustration",
|
|
168
168
|
"name": "Illustration",
|
|
169
|
-
"purpose": "Drawn art from the kit, by name, painted in the theme's colours: cards, the Payment Methods stack of three cards."
|
|
169
|
+
"purpose": "Drawn art from the kit, by name, painted in the theme's colours: cards, the Payment Methods stack of three cards; reports, three report sheets fanned away (analytics that has moved); not-found, the same sheets with a magnifying glass (a page that is not there)."
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
"id": "image",
|
|
@@ -2170,6 +2170,26 @@
|
|
|
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
|
+
}
|
|
2183
|
+
},
|
|
2184
|
+
"25.26.1": {
|
|
2185
|
+
"added": {
|
|
2186
|
+
"components": [],
|
|
2187
|
+
"tokens": []
|
|
2188
|
+
},
|
|
2189
|
+
"removed": {
|
|
2190
|
+
"components": [],
|
|
2191
|
+
"tokens": []
|
|
2192
|
+
}
|
|
2173
2193
|
}
|
|
2174
2194
|
}
|
|
2175
2195
|
}
|
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.1/drift-kit.css" integrity="sha384-4YLI11kgmMpiJZk/RZcxT32qrfSy8OZwGXPfyL/CNwN79U9vtcPpY6pCgeCm23E0" crossorigin="anonymous" />
|
|
73
|
+
<script src="https://storage.googleapis.com/drift-kit-public/25.26.1/components.js" integrity="sha384-WwaBJBbLejrcUU9/OOLyJLajQK0vNxbHqMnGZuueRuVpffeHrU70h9C+4c25sDBI" crossorigin="anonymous" defer></script>
|
|
74
|
+
<script src="https://storage.googleapis.com/drift-kit-public/25.26.1/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.1/drift-kit.css` | `sha384-4YLI11kgmMpiJZk/RZcxT32qrfSy8OZwGXPfyL/CNwN79U9vtcPpY6pCgeCm23E0` |
|
|
82
|
+
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/25.26.1/drift-kit.min.css` | `sha384-sYSrqLWj/NDXRepV+nhT5uLgHHU0Vagv5g+njdhwjxPJmyON0EgMv8LE6kmXpSNF` |
|
|
83
|
+
| `components.js` | `https://storage.googleapis.com/drift-kit-public/25.26.1/components.js` | `sha384-WwaBJBbLejrcUU9/OOLyJLajQK0vNxbHqMnGZuueRuVpffeHrU70h9C+4c25sDBI` |
|
|
84
|
+
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/25.26.1/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
85
|
+
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/25.26.1/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
|
|
86
|
+
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/25.26.1/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
87
|
+
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/25.26.1/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
88
|
+
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/25.26.1/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
89
|
+
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/25.26.1/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
90
|
+
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/25.26.1/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.1/drift-kit.min.css" integrity="sha384-sYSrqLWj/NDXRepV+nhT5uLgHHU0Vagv5g+njdhwjxPJmyON0EgMv8LE6kmXpSNF" crossorigin="anonymous" />
|
|
98
|
+
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.1/components.js" integrity="sha384-+TXYUwbwAzj3OZKtPAzZUSMk/rSt/OBz7g3xcqrxpNZajqggXjsMLDbcVE7Xglco" 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.1/components.js` | `sha384-+TXYUwbwAzj3OZKtPAzZUSMk/rSt/OBz7g3xcqrxpNZajqggXjsMLDbcVE7Xglco` |
|
|
104
|
+
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.1/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
|
|
105
|
+
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.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.26.1/drift-icons-coolicon.js` | `sha384-CfSMUCWuUL4AcPkDdPtAHpifYxAeW0OarhAAJ+7sNGvRJkzvUBege6vq8G3N6LTH` |
|
|
107
|
+
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.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.26.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.26.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.26.1/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
111
|
+
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@25.26.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.26.1/drift-kit.min.css` | `sha384-sYSrqLWj/NDXRepV+nhT5uLgHHU0Vagv5g+njdhwjxPJmyON0EgMv8LE6kmXpSNF` |
|
|
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.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"]}
|
|
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.1",
|
|
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"
|