@karmo-co/drift-kit-reference 24.2.0 → 24.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/manifest/components/checkbox.md +1 -1
- package/manifest/components/glider.md +1 -1
- package/manifest/components/radio.md +1 -1
- package/manifest/components/sidebar.md +1 -1
- package/manifest/components/stepper.md +1 -1
- package/manifest/components/switch.md +1 -1
- package/manifest/index.json +21 -1
- package/manifest/rules.md +1 -0
- package/manifest/setup.md +26 -26
- package/package.json +1 -1
|
@@ -40,4 +40,4 @@ import { Checkbox } from '@karmo-co/drift-kit/react';
|
|
|
40
40
|
|
|
41
41
|
## Component tokens
|
|
42
42
|
|
|
43
|
-
`--dk-component-checkbox-size`, `--dk-component-checkbox-small-size`, `--dk-component-checkbox-large-size`, `--dk-component-checkbox-glyph-size`, `--dk-component-checkbox-small-glyph-size`, `--dk-component-checkbox-large-glyph-size`, `--dk-component-checkbox-glyph-stroke`, `--dk-component-checkbox-glyph-scale-active`, `--dk-component-checkbox-glyph-draw-length`, `--dk-component-checkbox-glyph-draw-delay`, `--dk-component-checkbox-glyph-draw-duration`, `--dk-component-checkbox-glyph-draw-easing`, `--dk-component-checkbox-glyph-undraw-duration`, `--dk-component-checkbox-glyph-undraw-easing`, `--dk-component-checkbox-dash-thickness`, `--dk-component-checkbox-small-dash-thickness`, `--dk-component-checkbox-large-dash-thickness`, `--dk-component-checkbox-radius`, `--dk-component-checkbox-border-width`, `--dk-component-checkbox-focus-ring-width`, `--dk-component-checkbox-gap`, `--dk-component-checkbox-text-gap`, `--dk-component-checkbox-group-gap`, `--dk-component-checkbox-group-legend-gap`, `--dk-component-checkbox-group-row-gap`, `--dk-component-checkbox-label-font-family`, `--dk-component-checkbox-label-font-size`, `--dk-component-checkbox-label-line-height`, `--dk-component-checkbox-small-label-font-size`, `--dk-component-checkbox-small-label-line-height`, `--dk-component-checkbox-large-label-font-size`, `--dk-component-checkbox-large-label-line-height`, `--dk-component-checkbox-label-font-weight`, `--dk-component-checkbox-desc-font-weight`, `--dk-component-checkbox-surface-default`, `--dk-component-checkbox-surface-hover`, `--dk-component-checkbox-surface-active`, `--dk-component-checkbox-border-default`, `--dk-component-checkbox-border-hover`, `--dk-component-checkbox-border-active`, `--dk-component-checkbox-checked-surface-default`, `--dk-component-checkbox-checked-surface-hover`, `--dk-component-checkbox-checked-surface-active`, `--dk-component-checkbox-checked-border-default`, `--dk-component-checkbox-checked-border-hover`, `--dk-component-checkbox-checked-border-active`, `--dk-component-checkbox-glyph`, `--dk-component-checkbox-halo`, `--dk-component-checkbox-halo-width`, `--dk-component-checkbox-ring`, `--dk-component-checkbox-focus-border`, `--dk-component-checkbox-error-border-default`, `--dk-component-checkbox-error-border-hover`, `--dk-component-checkbox-error-ring`, `--dk-component-checkbox-error-color`, `--dk-component-checkbox-disabled-surface`, `--dk-component-checkbox-disabled-border`, `--dk-component-checkbox-disabled-checked-surface`, `--dk-component-checkbox-disabled-checked-border`, `--dk-component-checkbox-disabled-glyph`, `--dk-component-checkbox-label-color`, `--dk-component-checkbox-desc-color`, `--dk-component-checkbox-disabled-label-color`, `--dk-component-checkbox-disabled-desc-color`, `--dk-component-checkbox-legend-color`
|
|
43
|
+
`--dk-component-checkbox-size`, `--dk-component-checkbox-small-size`, `--dk-component-checkbox-large-size`, `--dk-component-checkbox-glyph-size`, `--dk-component-checkbox-small-glyph-size`, `--dk-component-checkbox-large-glyph-size`, `--dk-component-checkbox-glyph-stroke`, `--dk-component-checkbox-glyph-scale-active`, `--dk-component-checkbox-glyph-draw-length`, `--dk-component-checkbox-glyph-draw-delay`, `--dk-component-checkbox-glyph-draw-duration`, `--dk-component-checkbox-glyph-draw-easing`, `--dk-component-checkbox-glyph-undraw-duration`, `--dk-component-checkbox-glyph-undraw-easing`, `--dk-component-checkbox-dash-thickness`, `--dk-component-checkbox-small-dash-thickness`, `--dk-component-checkbox-large-dash-thickness`, `--dk-component-checkbox-radius`, `--dk-component-checkbox-border-width`, `--dk-component-checkbox-border-width-base`, `--dk-component-checkbox-focus-ring-width`, `--dk-component-checkbox-gap`, `--dk-component-checkbox-text-gap`, `--dk-component-checkbox-group-gap`, `--dk-component-checkbox-group-legend-gap`, `--dk-component-checkbox-group-row-gap`, `--dk-component-checkbox-label-font-family`, `--dk-component-checkbox-label-font-size`, `--dk-component-checkbox-label-line-height`, `--dk-component-checkbox-small-label-font-size`, `--dk-component-checkbox-small-label-line-height`, `--dk-component-checkbox-large-label-font-size`, `--dk-component-checkbox-large-label-line-height`, `--dk-component-checkbox-label-font-weight`, `--dk-component-checkbox-desc-font-weight`, `--dk-component-checkbox-surface-default`, `--dk-component-checkbox-surface-hover`, `--dk-component-checkbox-surface-active`, `--dk-component-checkbox-border-default`, `--dk-component-checkbox-border-hover`, `--dk-component-checkbox-border-active`, `--dk-component-checkbox-checked-surface-default`, `--dk-component-checkbox-checked-surface-hover`, `--dk-component-checkbox-checked-surface-active`, `--dk-component-checkbox-checked-border-default`, `--dk-component-checkbox-checked-border-hover`, `--dk-component-checkbox-checked-border-active`, `--dk-component-checkbox-glyph`, `--dk-component-checkbox-halo`, `--dk-component-checkbox-halo-width`, `--dk-component-checkbox-ring`, `--dk-component-checkbox-focus-border`, `--dk-component-checkbox-error-border-default`, `--dk-component-checkbox-error-border-hover`, `--dk-component-checkbox-error-ring`, `--dk-component-checkbox-error-color`, `--dk-component-checkbox-disabled-surface`, `--dk-component-checkbox-disabled-border`, `--dk-component-checkbox-disabled-checked-surface`, `--dk-component-checkbox-disabled-checked-border`, `--dk-component-checkbox-disabled-glyph`, `--dk-component-checkbox-label-color`, `--dk-component-checkbox-desc-color`, `--dk-component-checkbox-disabled-label-color`, `--dk-component-checkbox-disabled-desc-color`, `--dk-component-checkbox-legend-color`
|
|
@@ -32,4 +32,4 @@ import { Glider } from '@karmo-co/drift-kit/react';
|
|
|
32
32
|
|
|
33
33
|
## Component tokens
|
|
34
34
|
|
|
35
|
-
`--dk-component-glider-height`, `--dk-component-glider-small-height`, `--dk-component-glider-large-height`, `--dk-component-glider-inset`, `--dk-component-glider-gap`, `--dk-component-glider-padding-inline`, `--dk-component-glider-small-padding-inline`, `--dk-component-glider-large-padding-inline`, `--dk-component-glider-font-family`, `--dk-component-glider-font-size`, `--dk-component-glider-line-height`, `--dk-component-glider-small-font-size`, `--dk-component-glider-small-line-height`, `--dk-component-glider-large-font-size`, `--dk-component-glider-large-line-height`, `--dk-component-glider-font-weight`, `--dk-component-glider-count-font-weight`, `--dk-component-glider-icon-size`, `--dk-component-glider-small-icon-size`, `--dk-component-glider-large-icon-size`, `--dk-component-glider-icon-gap`, `--dk-component-glider-surface`, `--dk-component-glider-border`, `--dk-component-glider-border-width`, `--dk-component-glider-radius`, `--dk-component-glider-shadow`, `--dk-component-glider-plain-border`, `--dk-component-glider-inset-surface`, `--dk-component-glider-inset-surface-hover`, `--dk-component-glider-inset-surface-active`, `--dk-component-glider-inset-border`, `--dk-component-glider-inset-toned-color`, `--dk-component-glider-ghost-surface`, `--dk-component-glider-ghost-border`, `--dk-component-glider-ghost-surface-hover`, `--dk-component-glider-ghost-surface-active`, `--dk-component-glider-indicator-surface`, `--dk-component-glider-indicator-surface-hover`, `--dk-component-glider-indicator-surface-active`, `--dk-component-glider-indicator-border`, `--dk-component-glider-indicator-border-hover`, `--dk-component-glider-indicator-border-active`, `--dk-component-glider-indicator-radius`, `--dk-component-glider-selected-color`, `--dk-component-glider-color`, `--dk-component-glider-color-hover`, `--dk-component-glider-surface-hover`, `--dk-component-glider-border-hover`, `--dk-component-glider-surface-active`, `--dk-component-glider-border-active`, `--dk-component-glider-color-disabled`, `--dk-component-glider-indicator-surface-disabled`, `--dk-component-glider-indicator-border-disabled`, `--dk-component-glider-selected-color-disabled`, `--dk-component-glider-transition-duration`, `--dk-component-glider-slide-duration`, `--dk-component-glider-transition-easing`, `--dk-component-glider-slide-lag`, `--dk-component-glider-active-scale`
|
|
35
|
+
`--dk-component-glider-height`, `--dk-component-glider-small-height`, `--dk-component-glider-large-height`, `--dk-component-glider-inset`, `--dk-component-glider-gap`, `--dk-component-glider-padding-inline`, `--dk-component-glider-small-padding-inline`, `--dk-component-glider-large-padding-inline`, `--dk-component-glider-font-family`, `--dk-component-glider-font-size`, `--dk-component-glider-line-height`, `--dk-component-glider-small-font-size`, `--dk-component-glider-small-line-height`, `--dk-component-glider-large-font-size`, `--dk-component-glider-large-line-height`, `--dk-component-glider-font-weight`, `--dk-component-glider-count-font-weight`, `--dk-component-glider-icon-size`, `--dk-component-glider-small-icon-size`, `--dk-component-glider-large-icon-size`, `--dk-component-glider-icon-gap`, `--dk-component-glider-surface`, `--dk-component-glider-border`, `--dk-component-glider-border-width`, `--dk-component-glider-border-width-base`, `--dk-component-glider-radius`, `--dk-component-glider-shadow`, `--dk-component-glider-plain-border`, `--dk-component-glider-inset-surface`, `--dk-component-glider-inset-surface-hover`, `--dk-component-glider-inset-surface-active`, `--dk-component-glider-inset-border`, `--dk-component-glider-inset-toned-color`, `--dk-component-glider-ghost-surface`, `--dk-component-glider-ghost-border`, `--dk-component-glider-ghost-surface-hover`, `--dk-component-glider-ghost-surface-active`, `--dk-component-glider-indicator-surface`, `--dk-component-glider-indicator-surface-hover`, `--dk-component-glider-indicator-surface-active`, `--dk-component-glider-indicator-border`, `--dk-component-glider-indicator-border-hover`, `--dk-component-glider-indicator-border-active`, `--dk-component-glider-indicator-radius`, `--dk-component-glider-selected-color`, `--dk-component-glider-color`, `--dk-component-glider-color-hover`, `--dk-component-glider-surface-hover`, `--dk-component-glider-border-hover`, `--dk-component-glider-surface-active`, `--dk-component-glider-border-active`, `--dk-component-glider-color-disabled`, `--dk-component-glider-indicator-surface-disabled`, `--dk-component-glider-indicator-border-disabled`, `--dk-component-glider-selected-color-disabled`, `--dk-component-glider-transition-duration`, `--dk-component-glider-slide-duration`, `--dk-component-glider-transition-easing`, `--dk-component-glider-slide-lag`, `--dk-component-glider-active-scale`
|
|
@@ -39,4 +39,4 @@ import { Radio } from '@karmo-co/drift-kit/react';
|
|
|
39
39
|
|
|
40
40
|
## Component tokens
|
|
41
41
|
|
|
42
|
-
`--dk-component-radio-size`, `--dk-component-radio-small-size`, `--dk-component-radio-large-size`, `--dk-component-radio-glyph-size`, `--dk-component-radio-glyph-enter-delay`, `--dk-component-radio-glyph-enter-duration`, `--dk-component-radio-glyph-enter-easing`, `--dk-component-radio-glyph-exit-duration`, `--dk-component-radio-glyph-exit-easing`, `--dk-component-radio-small-glyph-size`, `--dk-component-radio-large-glyph-size`, `--dk-component-radio-radius`, `--dk-component-radio-border-width`, `--dk-component-radio-focus-ring-width`, `--dk-component-radio-gap`, `--dk-component-radio-text-gap`, `--dk-component-radio-group-gap`, `--dk-component-radio-group-legend-gap`, `--dk-component-radio-group-row-gap`, `--dk-component-radio-label-font-family`, `--dk-component-radio-label-font-size`, `--dk-component-radio-label-line-height`, `--dk-component-radio-small-label-font-size`, `--dk-component-radio-small-label-line-height`, `--dk-component-radio-large-label-font-size`, `--dk-component-radio-large-label-line-height`, `--dk-component-radio-label-font-weight`, `--dk-component-radio-desc-font-weight`, `--dk-component-radio-surface-default`, `--dk-component-radio-surface-hover`, `--dk-component-radio-surface-active`, `--dk-component-radio-border-default`, `--dk-component-radio-border-hover`, `--dk-component-radio-border-active`, `--dk-component-radio-checked-surface-default`, `--dk-component-radio-checked-surface-hover`, `--dk-component-radio-checked-surface-active`, `--dk-component-radio-checked-border-default`, `--dk-component-radio-checked-border-hover`, `--dk-component-radio-checked-border-active`, `--dk-component-radio-glyph`, `--dk-component-radio-halo`, `--dk-component-radio-halo-width`, `--dk-component-radio-ring`, `--dk-component-radio-focus-border`, `--dk-component-radio-error-border-default`, `--dk-component-radio-error-border-hover`, `--dk-component-radio-error-ring`, `--dk-component-radio-error-color`, `--dk-component-radio-disabled-surface`, `--dk-component-radio-disabled-border`, `--dk-component-radio-disabled-checked-surface`, `--dk-component-radio-disabled-checked-border`, `--dk-component-radio-disabled-glyph`, `--dk-component-radio-label-color`, `--dk-component-radio-desc-color`, `--dk-component-radio-disabled-label-color`, `--dk-component-radio-disabled-desc-color`, `--dk-component-radio-legend-color`
|
|
42
|
+
`--dk-component-radio-size`, `--dk-component-radio-small-size`, `--dk-component-radio-large-size`, `--dk-component-radio-glyph-size`, `--dk-component-radio-glyph-enter-delay`, `--dk-component-radio-glyph-enter-duration`, `--dk-component-radio-glyph-enter-easing`, `--dk-component-radio-glyph-exit-duration`, `--dk-component-radio-glyph-exit-easing`, `--dk-component-radio-small-glyph-size`, `--dk-component-radio-large-glyph-size`, `--dk-component-radio-radius`, `--dk-component-radio-border-width`, `--dk-component-radio-border-width-base`, `--dk-component-radio-focus-ring-width`, `--dk-component-radio-gap`, `--dk-component-radio-text-gap`, `--dk-component-radio-group-gap`, `--dk-component-radio-group-legend-gap`, `--dk-component-radio-group-row-gap`, `--dk-component-radio-label-font-family`, `--dk-component-radio-label-font-size`, `--dk-component-radio-label-line-height`, `--dk-component-radio-small-label-font-size`, `--dk-component-radio-small-label-line-height`, `--dk-component-radio-large-label-font-size`, `--dk-component-radio-large-label-line-height`, `--dk-component-radio-label-font-weight`, `--dk-component-radio-desc-font-weight`, `--dk-component-radio-surface-default`, `--dk-component-radio-surface-hover`, `--dk-component-radio-surface-active`, `--dk-component-radio-border-default`, `--dk-component-radio-border-hover`, `--dk-component-radio-border-active`, `--dk-component-radio-checked-surface-default`, `--dk-component-radio-checked-surface-hover`, `--dk-component-radio-checked-surface-active`, `--dk-component-radio-checked-border-default`, `--dk-component-radio-checked-border-hover`, `--dk-component-radio-checked-border-active`, `--dk-component-radio-glyph`, `--dk-component-radio-halo`, `--dk-component-radio-halo-width`, `--dk-component-radio-ring`, `--dk-component-radio-focus-border`, `--dk-component-radio-error-border-default`, `--dk-component-radio-error-border-hover`, `--dk-component-radio-error-ring`, `--dk-component-radio-error-color`, `--dk-component-radio-disabled-surface`, `--dk-component-radio-disabled-border`, `--dk-component-radio-disabled-checked-surface`, `--dk-component-radio-disabled-checked-border`, `--dk-component-radio-disabled-glyph`, `--dk-component-radio-label-color`, `--dk-component-radio-desc-color`, `--dk-component-radio-disabled-label-color`, `--dk-component-radio-disabled-desc-color`, `--dk-component-radio-legend-color`
|
|
@@ -88,4 +88,4 @@ import { Sidebar } from '@karmo-co/drift-kit/react';
|
|
|
88
88
|
|
|
89
89
|
## Component tokens
|
|
90
90
|
|
|
91
|
-
`--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-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-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-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`
|
|
91
|
+
`--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-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-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`
|
|
@@ -51,4 +51,4 @@ import { Stepper } from '@karmo-co/drift-kit/react';
|
|
|
51
51
|
|
|
52
52
|
## Component tokens
|
|
53
53
|
|
|
54
|
-
`--dk-component-stepper-small-indicator-size`, `--dk-component-stepper-indicator-size`, `--dk-component-stepper-large-indicator-size`, `--dk-component-stepper-small-number-font-size`, `--dk-component-stepper-number-font-size`, `--dk-component-stepper-large-number-font-size`, `--dk-component-stepper-small-label-font-size`, `--dk-component-stepper-small-label-line-height`, `--dk-component-stepper-label-font-size`, `--dk-component-stepper-label-line-height`, `--dk-component-stepper-large-label-font-size`, `--dk-component-stepper-large-label-line-height`, `--dk-component-stepper-description-font-size`, `--dk-component-stepper-description-line-height`, `--dk-component-stepper-font-family`, `--dk-component-stepper-number-font-weight`, `--dk-component-stepper-label-font-weight`, `--dk-component-stepper-label-font-weight-current`, `--dk-component-stepper-icon-size`, `--dk-component-stepper-indicator-border-width`, `--dk-component-stepper-gap`, `--dk-component-stepper-text-gap`, `--dk-component-stepper-connector-thickness`, `--dk-component-stepper-vertical-step-gap`, `--dk-component-stepper-content-gap`, `--dk-component-stepper-target-radius`, `--dk-component-stepper-target-surface-hover`, `--dk-component-stepper-target-surface-active`, `--dk-component-stepper-inline-gap`, `--dk-component-stepper-target-padding`, `--dk-component-stepper-target-padding-block-interactive`, `--dk-component-stepper-target-padding-inline-interactive`, `--dk-component-stepper-complete-surface`, `--dk-component-stepper-complete-surface-hover`, `--dk-component-stepper-complete-surface-active`, `--dk-component-stepper-complete-icon`, `--dk-component-stepper-complete-icon-hover`, `--dk-component-stepper-complete-icon-active`, `--dk-component-stepper-complete-border`, `--dk-component-stepper-complete-border-hover`, `--dk-component-stepper-complete-border-active`, `--dk-component-stepper-current-surface`, `--dk-component-stepper-current-surface-hover`, `--dk-component-stepper-current-surface-active`, `--dk-component-stepper-current-border`, `--dk-component-stepper-current-text`, `--dk-component-stepper-upcoming-surface`, `--dk-component-stepper-upcoming-border`, `--dk-component-stepper-upcoming-text`, `--dk-component-stepper-error-surface`, `--dk-component-stepper-error-border`, `--dk-component-stepper-error-text`, `--dk-component-stepper-error-label`, `--dk-component-stepper-label-color`, `--dk-component-stepper-label-color-upcoming`, `--dk-component-stepper-label-color-complete`, `--dk-component-stepper-label-color-hover`, `--dk-component-stepper-description-color`, `--dk-component-stepper-optional-color`, `--dk-component-stepper-focus-ring`, `--dk-component-stepper-focus-ring-width`, `--dk-component-stepper-connector-track`, `--dk-component-stepper-connector-fill`, `--dk-component-stepper-fill-duration`, `--dk-component-stepper-easing`, `--dk-component-stepper-state-duration`, `--dk-component-stepper-arrive-delay`, `--dk-component-stepper-arrive-pulse-duration`, `--dk-component-stepper-arrive-pulse-easing`, `--dk-component-stepper-dot-ring-width`, `--dk-component-stepper-dot-size`, `--dk-component-stepper-segment-thickness`, `--dk-component-stepper-segment-content-gap-start`, `--dk-component-stepper-segment-content-gap-end`, `--dk-component-stepper-segment-length`, `--dk-component-stepper-segment-gap`, `--dk-component-stepper-segment-radius`, `--dk-component-stepper-narrow`, `--dk-component-stepper-narrow-label-max`, `--dk-component-stepper-narrow-inline-gap`
|
|
54
|
+
`--dk-component-stepper-small-indicator-size`, `--dk-component-stepper-indicator-size`, `--dk-component-stepper-large-indicator-size`, `--dk-component-stepper-small-number-font-size`, `--dk-component-stepper-number-font-size`, `--dk-component-stepper-large-number-font-size`, `--dk-component-stepper-small-label-font-size`, `--dk-component-stepper-small-label-line-height`, `--dk-component-stepper-label-font-size`, `--dk-component-stepper-label-line-height`, `--dk-component-stepper-large-label-font-size`, `--dk-component-stepper-large-label-line-height`, `--dk-component-stepper-description-font-size`, `--dk-component-stepper-description-line-height`, `--dk-component-stepper-font-family`, `--dk-component-stepper-number-font-weight`, `--dk-component-stepper-label-font-weight`, `--dk-component-stepper-label-font-weight-current`, `--dk-component-stepper-icon-size`, `--dk-component-stepper-indicator-border-width`, `--dk-component-stepper-indicator-border-width-base`, `--dk-component-stepper-gap`, `--dk-component-stepper-text-gap`, `--dk-component-stepper-connector-thickness`, `--dk-component-stepper-vertical-step-gap`, `--dk-component-stepper-content-gap`, `--dk-component-stepper-target-radius`, `--dk-component-stepper-target-surface-hover`, `--dk-component-stepper-target-surface-active`, `--dk-component-stepper-inline-gap`, `--dk-component-stepper-target-padding`, `--dk-component-stepper-target-padding-block-interactive`, `--dk-component-stepper-target-padding-inline-interactive`, `--dk-component-stepper-complete-surface`, `--dk-component-stepper-complete-surface-hover`, `--dk-component-stepper-complete-surface-active`, `--dk-component-stepper-complete-icon`, `--dk-component-stepper-complete-icon-hover`, `--dk-component-stepper-complete-icon-active`, `--dk-component-stepper-complete-border`, `--dk-component-stepper-complete-border-hover`, `--dk-component-stepper-complete-border-active`, `--dk-component-stepper-current-surface`, `--dk-component-stepper-current-surface-hover`, `--dk-component-stepper-current-surface-active`, `--dk-component-stepper-current-border`, `--dk-component-stepper-current-text`, `--dk-component-stepper-upcoming-surface`, `--dk-component-stepper-upcoming-border`, `--dk-component-stepper-upcoming-text`, `--dk-component-stepper-error-surface`, `--dk-component-stepper-error-border`, `--dk-component-stepper-error-text`, `--dk-component-stepper-error-label`, `--dk-component-stepper-label-color`, `--dk-component-stepper-label-color-upcoming`, `--dk-component-stepper-label-color-complete`, `--dk-component-stepper-label-color-hover`, `--dk-component-stepper-description-color`, `--dk-component-stepper-optional-color`, `--dk-component-stepper-focus-ring`, `--dk-component-stepper-focus-ring-width`, `--dk-component-stepper-connector-track`, `--dk-component-stepper-connector-fill`, `--dk-component-stepper-fill-duration`, `--dk-component-stepper-easing`, `--dk-component-stepper-state-duration`, `--dk-component-stepper-arrive-delay`, `--dk-component-stepper-arrive-pulse-duration`, `--dk-component-stepper-arrive-pulse-easing`, `--dk-component-stepper-dot-ring-width`, `--dk-component-stepper-dot-size`, `--dk-component-stepper-segment-thickness`, `--dk-component-stepper-segment-content-gap-start`, `--dk-component-stepper-segment-content-gap-end`, `--dk-component-stepper-segment-length`, `--dk-component-stepper-segment-gap`, `--dk-component-stepper-segment-radius`, `--dk-component-stepper-narrow`, `--dk-component-stepper-narrow-label-max`, `--dk-component-stepper-narrow-inline-gap`
|
|
@@ -42,4 +42,4 @@ import { Switch } from '@karmo-co/drift-kit/react';
|
|
|
42
42
|
|
|
43
43
|
## Component tokens
|
|
44
44
|
|
|
45
|
-
`--dk-component-switch-track-height`, `--dk-component-switch-small-track-height`, `--dk-component-switch-large-track-height`, `--dk-component-switch-track-ratio`, `--dk-component-switch-border-width`, `--dk-component-switch-thumb-inset`, `--dk-component-switch-thumb-radius`, `--dk-component-switch-thumb-shadow`, `--dk-component-switch-thumb-scale-active`, `--dk-component-switch-focus-ring-width`, `--dk-component-switch-gap`, `--dk-component-switch-text-gap`, `--dk-component-switch-group-gap`, `--dk-component-switch-group-legend-gap`, `--dk-component-switch-icon-color`, `--dk-component-switch-icon-size`, `--dk-component-switch-small-icon-size`, `--dk-component-switch-large-icon-size`, `--dk-component-switch-label-font-family`, `--dk-component-switch-label-font-size`, `--dk-component-switch-label-line-height`, `--dk-component-switch-small-label-font-size`, `--dk-component-switch-small-label-line-height`, `--dk-component-switch-large-label-font-size`, `--dk-component-switch-large-label-line-height`, `--dk-component-switch-label-font-weight`, `--dk-component-switch-desc-font-weight`, `--dk-component-switch-surface-default`, `--dk-component-switch-surface-hover`, `--dk-component-switch-surface-active`, `--dk-component-switch-border-default`, `--dk-component-switch-border-hover`, `--dk-component-switch-border-active`, `--dk-component-switch-thumb`, `--dk-component-switch-thumb-hover`, `--dk-component-switch-checked-surface-default`, `--dk-component-switch-checked-surface-hover`, `--dk-component-switch-checked-surface-active`, `--dk-component-switch-checked-border-default`, `--dk-component-switch-checked-border-hover`, `--dk-component-switch-checked-border-active`, `--dk-component-switch-checked-thumb`, `--dk-component-switch-checked-thumb-hover`, `--dk-component-switch-small-container-padding`, `--dk-component-switch-container-padding`, `--dk-component-switch-large-container-padding`, `--dk-component-switch-small-container-radius`, `--dk-component-switch-container-radius`, `--dk-component-switch-large-container-radius`, `--dk-component-switch-container-border-width`, `--dk-component-switch-raised-container-surface`, `--dk-component-switch-raised-container-surface-hover`, `--dk-component-switch-raised-container-border`, `--dk-component-switch-raised-container-border-hover`, `--dk-component-switch-raised-container-shadow`, `--dk-component-switch-plain-container-surface`, `--dk-component-switch-plain-container-surface-hover`, `--dk-component-switch-plain-container-border`, `--dk-component-switch-plain-container-border-hover`, `--dk-component-switch-inset-container-surface`, `--dk-component-switch-inset-container-surface-hover`, `--dk-component-switch-inset-container-shadow`, `--dk-component-switch-halo`, `--dk-component-switch-halo-width`, `--dk-component-switch-ring`, `--dk-component-switch-focus-border`, `--dk-component-switch-disabled-surface`, `--dk-component-switch-disabled-border`, `--dk-component-switch-disabled-thumb`, `--dk-component-switch-disabled-checked-surface`, `--dk-component-switch-disabled-checked-border`, `--dk-component-switch-disabled-checked-thumb`, `--dk-component-switch-label-color`, `--dk-component-switch-desc-color`, `--dk-component-switch-disabled-label-color`, `--dk-component-switch-disabled-desc-color`, `--dk-component-switch-disabled-icon-color`, `--dk-component-switch-duration`, `--dk-component-switch-easing`
|
|
45
|
+
`--dk-component-switch-track-height`, `--dk-component-switch-small-track-height`, `--dk-component-switch-large-track-height`, `--dk-component-switch-track-ratio`, `--dk-component-switch-border-width`, `--dk-component-switch-border-width-base`, `--dk-component-switch-thumb-inset`, `--dk-component-switch-thumb-radius`, `--dk-component-switch-thumb-shadow`, `--dk-component-switch-thumb-scale-active`, `--dk-component-switch-focus-ring-width`, `--dk-component-switch-gap`, `--dk-component-switch-text-gap`, `--dk-component-switch-group-gap`, `--dk-component-switch-group-legend-gap`, `--dk-component-switch-icon-color`, `--dk-component-switch-icon-size`, `--dk-component-switch-small-icon-size`, `--dk-component-switch-large-icon-size`, `--dk-component-switch-label-font-family`, `--dk-component-switch-label-font-size`, `--dk-component-switch-label-line-height`, `--dk-component-switch-small-label-font-size`, `--dk-component-switch-small-label-line-height`, `--dk-component-switch-large-label-font-size`, `--dk-component-switch-large-label-line-height`, `--dk-component-switch-label-font-weight`, `--dk-component-switch-desc-font-weight`, `--dk-component-switch-surface-default`, `--dk-component-switch-surface-hover`, `--dk-component-switch-surface-active`, `--dk-component-switch-border-default`, `--dk-component-switch-border-hover`, `--dk-component-switch-border-active`, `--dk-component-switch-thumb`, `--dk-component-switch-thumb-hover`, `--dk-component-switch-checked-surface-default`, `--dk-component-switch-checked-surface-hover`, `--dk-component-switch-checked-surface-active`, `--dk-component-switch-checked-border-default`, `--dk-component-switch-checked-border-hover`, `--dk-component-switch-checked-border-active`, `--dk-component-switch-checked-thumb`, `--dk-component-switch-checked-thumb-hover`, `--dk-component-switch-small-container-padding`, `--dk-component-switch-container-padding`, `--dk-component-switch-large-container-padding`, `--dk-component-switch-small-container-radius`, `--dk-component-switch-container-radius`, `--dk-component-switch-large-container-radius`, `--dk-component-switch-container-border-width`, `--dk-component-switch-raised-container-surface`, `--dk-component-switch-raised-container-surface-hover`, `--dk-component-switch-raised-container-border`, `--dk-component-switch-raised-container-border-hover`, `--dk-component-switch-raised-container-shadow`, `--dk-component-switch-plain-container-surface`, `--dk-component-switch-plain-container-surface-hover`, `--dk-component-switch-plain-container-border`, `--dk-component-switch-plain-container-border-hover`, `--dk-component-switch-inset-container-surface`, `--dk-component-switch-inset-container-surface-hover`, `--dk-component-switch-inset-container-shadow`, `--dk-component-switch-halo`, `--dk-component-switch-halo-width`, `--dk-component-switch-ring`, `--dk-component-switch-focus-border`, `--dk-component-switch-disabled-surface`, `--dk-component-switch-disabled-border`, `--dk-component-switch-disabled-thumb`, `--dk-component-switch-disabled-checked-surface`, `--dk-component-switch-disabled-checked-border`, `--dk-component-switch-disabled-checked-thumb`, `--dk-component-switch-label-color`, `--dk-component-switch-desc-color`, `--dk-component-switch-disabled-label-color`, `--dk-component-switch-disabled-desc-color`, `--dk-component-switch-disabled-icon-color`, `--dk-component-switch-duration`, `--dk-component-switch-easing`
|
package/manifest/index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.4.0",
|
|
4
4
|
"built": "2026-11-07",
|
|
5
5
|
"components": [
|
|
6
6
|
{
|
|
@@ -1627,6 +1627,26 @@
|
|
|
1627
1627
|
"components": [],
|
|
1628
1628
|
"tokens": []
|
|
1629
1629
|
}
|
|
1630
|
+
},
|
|
1631
|
+
"24.3.0": {
|
|
1632
|
+
"added": {
|
|
1633
|
+
"components": [],
|
|
1634
|
+
"tokens": []
|
|
1635
|
+
},
|
|
1636
|
+
"removed": {
|
|
1637
|
+
"components": [],
|
|
1638
|
+
"tokens": []
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
"24.4.0": {
|
|
1642
|
+
"added": {
|
|
1643
|
+
"components": [],
|
|
1644
|
+
"tokens": []
|
|
1645
|
+
},
|
|
1646
|
+
"removed": {
|
|
1647
|
+
"components": [],
|
|
1648
|
+
"tokens": []
|
|
1649
|
+
}
|
|
1630
1650
|
}
|
|
1631
1651
|
}
|
|
1632
1652
|
}
|
package/manifest/rules.md
CHANGED
|
@@ -30,6 +30,7 @@ Every rule below is a test in drift-kit. A component the kit ships passes all of
|
|
|
30
30
|
- an ancestor tone treatment that repaints a part excludes it (Icon tile on a solid)
|
|
31
31
|
- review: variants are also judged in pairs (a status solid Tag is a mark rule C inverts, not a surface)
|
|
32
32
|
- the derivation follows --dk-interactive-* to the surface it reads
|
|
33
|
+
- rule D: on a solid fill a quiet chip follows its marks (Stepper check on a solid)
|
|
33
34
|
|
|
34
35
|
## anatomy
|
|
35
36
|
|
package/manifest/setup.md
CHANGED
|
@@ -59,47 +59,47 @@ Both scripts are deferred, and an icon script goes after `components.js`, which
|
|
|
59
59
|
|
|
60
60
|
```html
|
|
61
61
|
<!-- in the head -->
|
|
62
|
-
<link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/24.
|
|
63
|
-
<script src="https://storage.googleapis.com/drift-kit-public/24.
|
|
64
|
-
<script src="https://storage.googleapis.com/drift-kit-public/24.
|
|
62
|
+
<link rel="stylesheet" href="https://storage.googleapis.com/drift-kit-public/24.4.0/drift-kit.css" integrity="sha384-kTUmictbjGHHiTq1/nDclYRCVkWRF8YYsI2ZOSdX6CX/EpNtQU23+ANJA0ldxUvD" crossorigin="anonymous" />
|
|
63
|
+
<script src="https://storage.googleapis.com/drift-kit-public/24.4.0/components.js" integrity="sha384-SZdf5igN0BEaj+qY81tBh8By9UhVLGvlngevA14YK3NqU9fNZBtumlkkWchsFM8x" crossorigin="anonymous" defer></script>
|
|
64
|
+
<script src="https://storage.googleapis.com/drift-kit-public/24.4.0/drift-icons-<set>.js" integrity="<its integrity>" crossorigin="anonymous" defer></script>
|
|
65
65
|
<!-- the attributes go on the body -->
|
|
66
66
|
<body data-brand="karmo" data-theme="light">
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
| File | Address | Integrity |
|
|
70
70
|
|---|---|---|
|
|
71
|
-
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
72
|
-
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
73
|
-
| `components.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
74
|
-
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
75
|
-
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
76
|
-
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
77
|
-
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
78
|
-
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
79
|
-
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
80
|
-
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/24.
|
|
71
|
+
| `drift-kit.css` | `https://storage.googleapis.com/drift-kit-public/24.4.0/drift-kit.css` | `sha384-kTUmictbjGHHiTq1/nDclYRCVkWRF8YYsI2ZOSdX6CX/EpNtQU23+ANJA0ldxUvD` |
|
|
72
|
+
| `drift-kit.min.css` | `https://storage.googleapis.com/drift-kit-public/24.4.0/drift-kit.min.css` | `sha384-pFGybFAzLaM76V2gQIiK6r6UZB3ZmucHx5oBY+XDbfg/9kAsyafrmA65w2wCWul8` |
|
|
73
|
+
| `components.js` | `https://storage.googleapis.com/drift-kit-public/24.4.0/components.js` | `sha384-SZdf5igN0BEaj+qY81tBh8By9UhVLGvlngevA14YK3NqU9fNZBtumlkkWchsFM8x` |
|
|
74
|
+
| `drift-icons-card.js` | `https://storage.googleapis.com/drift-kit-public/24.4.0/drift-icons-card.js` | `sha384-Dl18Pw11QQ+/KtbAzbjt1DdP6fJwFNn4kCykxtFsF+uEZtUfMIseQJ7s14OmqEmg` |
|
|
75
|
+
| `drift-icons-coolicon.js` | `https://storage.googleapis.com/drift-kit-public/24.4.0/drift-icons-coolicon.js` | `sha384-8WaBw9LZuhj/u7G2Jf1aiVo8HBhMj1fBsmpSWJnYi5Xdi2ANXB3BLBZxz2NLQGYl` |
|
|
76
|
+
| `drift-icons-feather.js` | `https://storage.googleapis.com/drift-kit-public/24.4.0/drift-icons-feather.js` | `sha384-MFEltFi3gRSwgNdAMXGCYo+6Ri9iXLLWp4Gq3AeayzeliWAo3czd+pTTLAFHHU6s` |
|
|
77
|
+
| `drift-icons-flag-circle.js` | `https://storage.googleapis.com/drift-kit-public/24.4.0/drift-icons-flag-circle.js` | `sha384-gtU89vOz98Fbn0KZWzkHVQA4+kFhOFYoT/Dr43ljTskqkyGDMw1ihH1I7Zn25dzZ` |
|
|
78
|
+
| `drift-icons-flag.js` | `https://storage.googleapis.com/drift-kit-public/24.4.0/drift-icons-flag.js` | `sha384-VtM24IDkwASIVzD5hI+ijQYRXufYQbveKM0+wqaFSGZbrYZlodFlnvZOexhCpiH9` |
|
|
79
|
+
| `drift-icons-lucide.js` | `https://storage.googleapis.com/drift-kit-public/24.4.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
80
|
+
| `drift-icons-social.js` | `https://storage.googleapis.com/drift-kit-public/24.4.0/drift-icons-social.js` | `sha384-+hPy5fFjIqfIAmDN+WOwekTLu7NIFZvyzOwXUTAiBEQqnZ0/kXgd4frbSGOr/c8c` |
|
|
81
81
|
|
|
82
82
|
### In Claude chat and Cowork
|
|
83
83
|
|
|
84
84
|
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
85
|
|
|
86
86
|
```html
|
|
87
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
88
|
-
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
87
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.4.0/drift-kit.min.css" integrity="sha384-pFGybFAzLaM76V2gQIiK6r6UZB3ZmucHx5oBY+XDbfg/9kAsyafrmA65w2wCWul8" crossorigin="anonymous" />
|
|
88
|
+
<script src="https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.4.0/components.js" integrity="sha384-98nkziPQwxxRtqNpCcpW3FctHF9tEDv9zp1skpPiW4uUswIdtoK3XJM8++AIsd4j" crossorigin="anonymous" defer></script>
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
| File | Address | Integrity |
|
|
92
92
|
|---|---|---|
|
|
93
|
-
| `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
94
|
-
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
95
|
-
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
96
|
-
| `drift-icons-coolicon.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
97
|
-
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
98
|
-
| `drift-icons-flag-circle.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
99
|
-
| `drift-icons-flag.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
100
|
-
| `drift-icons-lucide.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
101
|
-
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
102
|
-
| `drift-kit.min.css` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.
|
|
93
|
+
| `components.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.4.0/components.js` | `sha384-98nkziPQwxxRtqNpCcpW3FctHF9tEDv9zp1skpPiW4uUswIdtoK3XJM8++AIsd4j` |
|
|
94
|
+
| `drift-data-countries.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.4.0/drift-data-countries.js` | `sha384-GttgZnsRDPioKDxlsEyQtUqCwO0ObYYdjdjKBBt9LWThZld3OnUBnZ9EScI41qIf` |
|
|
95
|
+
| `drift-icons-card.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.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@24.4.0/drift-icons-coolicon.js` | `sha384-8WaBw9LZuhj/u7G2Jf1aiVo8HBhMj1fBsmpSWJnYi5Xdi2ANXB3BLBZxz2NLQGYl` |
|
|
97
|
+
| `drift-icons-feather.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.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@24.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@24.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@24.4.0/drift-icons-lucide.js` | `sha384-wLKQdccKZKGXZJ9kcU8XCKyNI79EGI/7NrBVmOAlE0DZNThpyW1SY6z4j3teJLB0` |
|
|
101
|
+
| `drift-icons-social.js` | `https://cdn.jsdelivr.net/npm/@karmo-co/drift-kit-public@24.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@24.4.0/drift-kit.min.css` | `sha384-pFGybFAzLaM76V2gQIiK6r6UZB3ZmucHx5oBY+XDbfg/9kAsyafrmA65w2wCWul8` |
|
|
103
103
|
|
|
104
104
|
### Integrity for 23.4.0
|
|
105
105
|
|
|
@@ -127,5 +127,5 @@ The behaviour script initialises every component on the page when it loads. Mark
|
|
|
127
127
|
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.
|
|
128
128
|
|
|
129
129
|
```json
|
|
130
|
-
{"version":"24.
|
|
130
|
+
{"version":"24.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"}
|
|
131
131
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karmo-co/drift-kit-reference",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.4.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"
|