burne-ui 1.8.2 → 1.8.3
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/dist/components/core/utils/fieldShellVariant.d.ts +2 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +13 -13
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +74 -72
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/themeDefaults.d.ts +17 -2
- package/dist/themeRuntimeContext-BHMufYQ1.cjs +14 -0
- package/dist/{themeRuntimeContext-D92UKMXD.js → themeRuntimeContext-Bw0KCdrV.js} +779 -733
- package/dist/tokens/config.d.ts +3 -0
- package/dist/tokens/index.d.ts +1 -1
- package/dist/ui.css +516 -37
- package/package.json +1 -1
- package/dist/themeRuntimeContext-BxpBT9_f.cjs +0 -14
package/dist/tokens/config.d.ts
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
* - `--shadow-opacity` / `--shadow-blur` / `--shadow-spread` — multipliers for `--shadow-small|base|mid|large`
|
|
31
31
|
* (opacity × theme base; blur/spread × primitive px). `--shadow-offset-x` / `--shadow-offset-y` — px nudge
|
|
32
32
|
* added to primitive offsets (`calc(Npx + var(--shadow-offset-*))`).
|
|
33
|
+
* - `--color-shadow` / `--color-shadow-secondary` — key + ambient shadow colors (theme palette).
|
|
33
34
|
* - `--toast-scrim-size` / `--toast-scrim-density` — Toast scrim backdrop size and density.
|
|
34
35
|
* - `--focus-ring-width` / `--focus-ring-offset` — keyboard focus ring geometry (`focus-ring*` utilities).
|
|
35
36
|
* - `--motion-surface-duration` — CSS transitions for `surface-color-transition` / `animate-shadow` / field shells (from `surfaceTransitionDuration` in motion config).
|
|
@@ -69,6 +70,8 @@ export declare const tokensConfig: {
|
|
|
69
70
|
readonly "color-surface": "color-surface";
|
|
70
71
|
readonly "color-border": "color-border";
|
|
71
72
|
readonly "border-token": "color-border";
|
|
73
|
+
readonly "color-shadow": "color-shadow";
|
|
74
|
+
readonly "color-shadow-secondary": "color-shadow-secondary";
|
|
72
75
|
readonly "color-primary": "color-primary";
|
|
73
76
|
readonly "color-primary-foreground": "color-primary-foreground";
|
|
74
77
|
readonly "color-primary-hover": "color-primary-hover";
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { OVERLAY_BACKDROP_CSS_VAR, OVERLAY_BACKDROP_DEFAULTS, overlayBackdropTok
|
|
|
7
7
|
export { burneZIndexScale, Z_INDEX_CSS_VAR, Z_INDEX_DEFAULTS, zIndexToken, type ZIndexLayer, } from './zIndex';
|
|
8
8
|
export { NARROW_VIEWPORT_MAX_PX, TOUCH_OR_NARROW_VIEWPORT_MQL, TOUCH_OR_NARROW_VIEWPORT_MQL_ANY_POINTER, } from './breakpoints';
|
|
9
9
|
/** CSS variable names for type-safe access and generators */
|
|
10
|
-
export declare const designTokenNames: readonly ["--border-width", "--focus-ring-width", "--focus-ring-offset", "--motion-surface-duration", "--motion-surface-ease", "--motion-shadow-ease", "--overlay-backdrop-color", "--overlay-backdrop-blur", "--overlay-backdrop-saturate", "--overlay-backdrop-scrim", "--z-dialog", "--z-dropdown", "--z-dropdown-sub", "--z-popover", "--z-toast", "--z-tooltip", "--color-background", "--color-surface", "--color-border", "--color-foreground", "--color-muted", "--color-muted-foreground", "--color-primary", "--color-primary-foreground", "--color-primary-hover", "--color-default-hover", "--color-transparent-hover", "--color-primary-tint", "--color-primary-tint-strong", "--color-indicator", "--color-indicator-foreground", "--color-secondary", "--color-secondary-foreground", "--color-secondary-hover", "--color-tertiary", "--color-tertiary-foreground", "--color-tertiary-hover", "--color-focus-ring", "--color-focus-ring-danger", "--color-focus-ring-success", "--color-focus-ring-info", "--color-focus-ring-warning", "--color-converge-ripple-primary-fill", "--color-converge-ripple-neutral", "--color-converge-ripple-neutral-muted", "--color-converge-ripple-danger", "--color-converge-ripple-info", "--color-converge-ripple-success", "--color-converge-ripple-warning", "--color-danger", "--color-danger-fill-hover", "--color-danger-foreground", "--color-success", "--color-success-foreground", "--color-success-fill-hover", "--color-info", "--color-info-foreground", "--color-info-fill-hover", "--color-warning", "--color-warning-foreground", "--color-warning-fill-hover", "--color-surface-tint-danger", "--color-surface-tint-success", "--color-surface-tint-info", "--color-surface-tint-warning", "--color-surface-tint-danger-hover", "--color-surface-tint-success-hover", "--color-surface-tint-info-hover", "--color-surface-tint-warning-hover", "--font-family-sans", "--font-family-mono", "--letter-spacing", "--font-w-small", "--font-w-base", "--font-w-mid", "--font-w-strong", "--font-w-bold", "--space", "--space-xsmall", "--space-small", "--space-base", "--space-mid", "--space-large", "--space-xlarge", "--space-2xlarge", "--space-3xlarge", "--size", "--size-scale-xsmall", "--size-scale-small", "--size-scale-base", "--size-scale-mid", "--size-scale-large", "--size-scale-xlarge", "--size-scale-2xlarge", "--size-scale-3xlarge", "--selection-indicator-xsmall", "--selection-indicator-small", "--selection-indicator-base", "--selection-indicator-mid", "--selection-indicator-large", "--selection-indicator-radius-xsmall", "--selection-indicator-radius-small", "--selection-indicator-radius-base", "--selection-indicator-radius-mid", "--selection-indicator-radius-large", "--radius", "--radius-xsmall", "--radius-small", "--radius-base", "--radius-mid", "--radius-large", "--text-scale-xsmall", "--text-scale-xsmall--line-height", "--text-scale-small", "--text-scale-small--line-height", "--text-scale-base", "--text-scale-base--line-height", "--text-scale-mid", "--text-scale-mid--line-height", "--text-scale-large", "--text-scale-large--line-height", "--text-scale-xlarge", "--text-scale-xlarge--line-height", "--text-scale-2xlarge", "--text-scale-2xlarge--line-height", "--text-scale-3xlarge", "--text-scale-3xlarge--line-height", "--text-accent-header-size", "--text-accent-header-line-height", "--text-accent-header-weight", "--text-header-1-size", "--text-header-1-line-height", "--text-header-1-weight", "--text-header-2-size", "--text-header-2-line-height", "--text-header-2-weight", "--text-large-size", "--text-large-line-height", "--text-large-weight", "--text-base-size", "--text-base-line-height", "--text-base-weight", "--text-small-size", "--text-small-line-height", "--text-small-weight", "--text-mid-size", "--text-mid-line-height", "--text-mid-weight", "--text-xsmall-size", "--text-xsmall-line-height", "--text-xsmall-weight", "--max-component-xsmall", "--max-component-small", "--max-component-base", "--max-component-mid", "--max-component-large", "--max-component-xlarge", "--max-component-2xlarge", "--button-min-width-small", "--button-min-width-base", "--button-min-width-mid", "--button-min-width-large", "--control-height-xsmall", "--control-height-small", "--control-height-base", "--control-height-mid", "--control-height-large", "--control-size-xsmall", "--control-size-small", "--control-size-base", "--control-size-mid", "--control-size-large", "--avatar-size-small", "--avatar-size-base", "--avatar-size-mid", "--avatar-size-large", "--icon-size-xsmall", "--icon-size-small", "--icon-size-base", "--icon-size-mid", "--icon-size-large", "--icon-size-xlarge", "--icon-size-2xlarge", "--icon-size-3xlarge", "--shadow-opacity", "--shadow-blur", "--shadow-spread", "--shadow-offset-x", "--shadow-offset-y", "--shadow-none", "--shadow-small", "--shadow-base", "--shadow-mid", "--shadow-large", "--toast-scrim-size", "--toast-scrim-density"];
|
|
10
|
+
export declare const designTokenNames: readonly ["--border-width", "--border-width-outline", "--border-color", "--focus-ring-width", "--focus-ring-offset", "--motion-surface-duration", "--motion-surface-ease", "--motion-shadow-ease", "--overlay-backdrop-color", "--overlay-backdrop-blur", "--overlay-backdrop-saturate", "--overlay-backdrop-scrim", "--z-dialog", "--z-dropdown", "--z-dropdown-sub", "--z-popover", "--z-toast", "--z-tooltip", "--color-background", "--color-surface", "--color-border", "--color-shadow", "--color-shadow-secondary", "--color-foreground", "--color-muted", "--color-muted-foreground", "--color-primary", "--color-primary-foreground", "--color-primary-hover", "--color-default-hover", "--color-transparent-hover", "--color-primary-tint", "--color-primary-tint-strong", "--color-indicator", "--color-indicator-foreground", "--color-secondary", "--color-secondary-foreground", "--color-secondary-hover", "--color-tertiary", "--color-tertiary-foreground", "--color-tertiary-hover", "--color-focus-ring", "--color-focus-ring-danger", "--color-focus-ring-success", "--color-focus-ring-info", "--color-focus-ring-warning", "--color-converge-ripple-primary-fill", "--color-converge-ripple-neutral", "--color-converge-ripple-neutral-muted", "--color-converge-ripple-danger", "--color-converge-ripple-info", "--color-converge-ripple-success", "--color-converge-ripple-warning", "--color-danger", "--color-danger-fill-hover", "--color-danger-foreground", "--color-success", "--color-success-foreground", "--color-success-fill-hover", "--color-info", "--color-info-foreground", "--color-info-fill-hover", "--color-warning", "--color-warning-foreground", "--color-warning-fill-hover", "--color-surface-tint-danger", "--color-surface-tint-success", "--color-surface-tint-info", "--color-surface-tint-warning", "--color-surface-tint-danger-hover", "--color-surface-tint-success-hover", "--color-surface-tint-info-hover", "--color-surface-tint-warning-hover", "--font-family-sans", "--font-family-mono", "--letter-spacing", "--font-w-small", "--font-w-base", "--font-w-mid", "--font-w-strong", "--font-w-bold", "--space", "--space-xsmall", "--space-small", "--space-base", "--space-mid", "--space-large", "--space-xlarge", "--space-2xlarge", "--space-3xlarge", "--size", "--size-scale-xsmall", "--size-scale-small", "--size-scale-base", "--size-scale-mid", "--size-scale-large", "--size-scale-xlarge", "--size-scale-2xlarge", "--size-scale-3xlarge", "--selection-indicator-xsmall", "--selection-indicator-small", "--selection-indicator-base", "--selection-indicator-mid", "--selection-indicator-large", "--selection-indicator-radius-xsmall", "--selection-indicator-radius-small", "--selection-indicator-radius-base", "--selection-indicator-radius-mid", "--selection-indicator-radius-large", "--radius", "--radius-xsmall", "--radius-small", "--radius-base", "--radius-mid", "--radius-large", "--text-scale-xsmall", "--text-scale-xsmall--line-height", "--text-scale-small", "--text-scale-small--line-height", "--text-scale-base", "--text-scale-base--line-height", "--text-scale-mid", "--text-scale-mid--line-height", "--text-scale-large", "--text-scale-large--line-height", "--text-scale-xlarge", "--text-scale-xlarge--line-height", "--text-scale-2xlarge", "--text-scale-2xlarge--line-height", "--text-scale-3xlarge", "--text-scale-3xlarge--line-height", "--text-accent-header-size", "--text-accent-header-line-height", "--text-accent-header-weight", "--text-header-1-size", "--text-header-1-line-height", "--text-header-1-weight", "--text-header-2-size", "--text-header-2-line-height", "--text-header-2-weight", "--text-large-size", "--text-large-line-height", "--text-large-weight", "--text-base-size", "--text-base-line-height", "--text-base-weight", "--text-small-size", "--text-small-line-height", "--text-small-weight", "--text-mid-size", "--text-mid-line-height", "--text-mid-weight", "--text-xsmall-size", "--text-xsmall-line-height", "--text-xsmall-weight", "--max-component-xsmall", "--max-component-small", "--max-component-base", "--max-component-mid", "--max-component-large", "--max-component-xlarge", "--max-component-2xlarge", "--button-min-width-small", "--button-min-width-base", "--button-min-width-mid", "--button-min-width-large", "--control-height-xsmall", "--control-height-small", "--control-height-base", "--control-height-mid", "--control-height-large", "--control-size-xsmall", "--control-size-small", "--control-size-base", "--control-size-mid", "--control-size-large", "--avatar-size-small", "--avatar-size-base", "--avatar-size-mid", "--avatar-size-large", "--icon-size-xsmall", "--icon-size-small", "--icon-size-base", "--icon-size-mid", "--icon-size-large", "--icon-size-xlarge", "--icon-size-2xlarge", "--icon-size-3xlarge", "--shadow-opacity", "--shadow-blur", "--shadow-spread", "--shadow-offset-x", "--shadow-offset-y", "--shadow-none", "--shadow-small", "--shadow-base", "--shadow-mid", "--shadow-large", "--toast-scrim-size", "--toast-scrim-density"];
|
|
11
11
|
export type DesignCssVar = (typeof designTokenNames)[number];
|
|
12
12
|
type ColorCssVarName = Extract<DesignCssVar, `--color-${string}`>;
|
|
13
13
|
/** Suffix after `--color-` (same as theme key without the `color-` prefix) */
|