burne-ui 1.8.1 → 1.8.2
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/README.md +1 -1
- package/dist/components/core/Alert/Alert.d.ts +1 -0
- package/dist/components/core/Alert/alertAnimations.d.ts +3 -1
- package/dist/components/core/Alert/alertTypes.d.ts +8 -1
- package/dist/components/core/Alert/index.d.ts +1 -0
- package/dist/components/core/Badge/badgeAnimations.d.ts +1 -1
- package/dist/components/core/Badge/badgeTypes.d.ts +1 -1
- package/dist/components/core/Card/Card.d.ts +1 -0
- package/dist/components/core/Card/cardAnimations.d.ts +1 -1
- package/dist/components/core/Card/cardStyles.d.ts +4 -3
- package/dist/components/core/Card/cardTypes.d.ts +7 -0
- package/dist/components/core/Card/index.d.ts +1 -0
- package/dist/components/core/Kbd/kbdTypes.d.ts +1 -1
- package/dist/components/core/Surface/surfaceStyles.d.ts +1 -0
- package/dist/components/core/utils/glossInteractiveMotion.d.ts +1 -1
- package/dist/components/core/utils/hoverInteractiveLift.d.ts +50 -39
- package/dist/components/core/utils/useFieldShellHoverLift.d.ts +3 -2
- package/dist/components/core/utils/useFirstLevelInteractiveMotion.d.ts +1 -1
- package/dist/components/core/utils/useShadowMotion.d.ts +31 -10
- package/dist/index.cjs +1 -1
- package/dist/index.js +5100 -5080
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.ts +3 -3
- package/dist/internal.js +82 -75
- package/dist/theme/themeConfig.d.ts +6 -2
- package/dist/theme/themeDefaults.d.ts +18 -5
- package/dist/themeRuntimeContext-BxpBT9_f.cjs +14 -0
- package/dist/{themeRuntimeContext-Ba-UDP4h.js → themeRuntimeContext-D92UKMXD.js} +1496 -1358
- package/dist/tokens/config.d.ts +4 -1
- package/dist/tokens/index.d.ts +2 -2
- package/dist/tokens/shadows.d.ts +91 -12
- package/dist/ui.css +103 -23
- package/package.json +1 -1
- package/dist/themeRuntimeContext-kHgoMsjE.cjs +0 -14
package/dist/tokens/config.d.ts
CHANGED
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
* - `--size` — control sizes (icons, indicators, button min-width, modal max-w); fluid `clamp` by viewport.
|
|
28
28
|
* - `--radius` — base radius; `rounded-*` steps via multipliers
|
|
29
29
|
* (`0.618 / 0.875 / 1 / 1.125 / 1.25`); fluid `clamp` by viewport.
|
|
30
|
-
* - `--shadow-
|
|
30
|
+
* - `--shadow-opacity` / `--shadow-blur` / `--shadow-spread` — multipliers for `--shadow-small|base|mid|large`
|
|
31
|
+
* (opacity × theme base; blur/spread × primitive px). `--shadow-offset-x` / `--shadow-offset-y` — px nudge
|
|
32
|
+
* added to primitive offsets (`calc(Npx + var(--shadow-offset-*))`).
|
|
31
33
|
* - `--toast-scrim-size` / `--toast-scrim-density` — Toast scrim backdrop size and density.
|
|
32
34
|
* - `--focus-ring-width` / `--focus-ring-offset` — keyboard focus ring geometry (`focus-ring*` utilities).
|
|
33
35
|
* - `--motion-surface-duration` — CSS transitions for `surface-color-transition` / `animate-shadow` / field shells (from `surfaceTransitionDuration` in motion config).
|
|
@@ -35,6 +37,7 @@
|
|
|
35
37
|
* - `--z-dialog` / `--z-dropdown` / `--z-popover` / `--z-toast` / `--z-tooltip` — overlay stacking (`z-*` utilities).
|
|
36
38
|
* - `--max-component-*` — panel/container widths (`min/max-w-component-*`); Dialog size props map onto base…2xlarge.
|
|
37
39
|
* - `NARROW_VIEWPORT_MAX_PX` (1024) — shared with CSS `field-control-mobile-no-zoom` media query.
|
|
40
|
+
* - `--letter-spacing` — global tracking (em); apply on `html`/`body` as `letter-spacing: var(--letter-spacing)`.
|
|
38
41
|
* - `--text-scale-*` — primitive typography; roles `text-base` / `text-mid` / … map 1:1 by name.
|
|
39
42
|
* - `--font-w-*` — primitive font-weight scale;
|
|
40
43
|
*
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { tokensConfig, type TokensConfig } from './config';
|
|
2
2
|
export { burneFontWeightScale, FONT_WEIGHT_CSS_VAR, FONT_WEIGHT_DEFAULTS, fontWeightToken, type FontWeightStep, } from './fontWeights';
|
|
3
|
-
export { burneShadowScale, type ShadowSize, type ShadowLevel, SHADOW_CSS_VAR, SHADOW_LAYER_GEOM, SHADOW_OPACITY_BASE,
|
|
3
|
+
export { burneShadowScale, type ShadowSize, type ShadowLevel, type ShadowInteraction, SHADOW_CSS_VAR, SHADOW_LIFT_CSS_VAR, SHADOW_INTERACTION_GEOM, SHADOW_KNOB_CSS_DEFAULTS, SHADOW_LAYER_GEOM, SHADOW_OPACITY_BASE, shadowToken, } from './shadows';
|
|
4
4
|
export { TEXT_SCALE_BASES, type TextScaleStep, } from './textScale';
|
|
5
5
|
export { TOAST_SCRIM_CSS_VAR, TOAST_SCRIM_DEFAULTS, toastScrimToken, type ToastScrimCssVar, } from './toastScrim';
|
|
6
6
|
export { OVERLAY_BACKDROP_CSS_VAR, OVERLAY_BACKDROP_DEFAULTS, overlayBackdropToken, type OverlayBackdropCssVar, } from './overlayBackdrop';
|
|
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", "--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-
|
|
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"];
|
|
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) */
|
package/dist/tokens/shadows.d.ts
CHANGED
|
@@ -1,28 +1,107 @@
|
|
|
1
1
|
/** Component shadow levels — match `shadow-token-*` and `--shadow-*`. */
|
|
2
|
-
export declare const burneShadowScale: readonly ["none", "base", "mid", "large"];
|
|
2
|
+
export declare const burneShadowScale: readonly ["none", "small", "base", "mid", "large"];
|
|
3
3
|
export type ShadowSize = (typeof burneShadowScale)[number];
|
|
4
4
|
export type ShadowLevel = Exclude<ShadowSize, "none">;
|
|
5
|
+
/** Rest / hover / press within one size family (not cross-tier). */
|
|
6
|
+
export type ShadowInteraction = "rest" | "hover" | "press";
|
|
5
7
|
export declare const SHADOW_CSS_VAR: Record<ShadowLevel, `--shadow-${ShadowLevel}`>;
|
|
6
|
-
/**
|
|
7
|
-
export declare const
|
|
8
|
-
/**
|
|
8
|
+
/** First-level appear-from-none (Button) — independent of `--shadow-base`. */
|
|
9
|
+
export declare const SHADOW_LIFT_CSS_VAR: "--shadow-lift";
|
|
10
|
+
/** Theme knobs for `--shadow-opacity|blur|spread|offset-x|offset-y` (CSS defaults). */
|
|
11
|
+
export declare const SHADOW_KNOB_CSS_DEFAULTS: {
|
|
12
|
+
readonly opacity: 1;
|
|
13
|
+
readonly blur: 1;
|
|
14
|
+
readonly spread: 1;
|
|
15
|
+
readonly offsetX: 0;
|
|
16
|
+
readonly offsetY: 0;
|
|
17
|
+
};
|
|
18
|
+
/** Opacity bases per theme × level × interaction — SSOT with `tokens/styles.css`. */
|
|
9
19
|
export declare const SHADOW_OPACITY_BASE: {
|
|
10
20
|
dark: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
21
|
+
small: {
|
|
22
|
+
rest: number;
|
|
23
|
+
hover: number;
|
|
24
|
+
press: number;
|
|
25
|
+
};
|
|
26
|
+
base: {
|
|
27
|
+
rest: number;
|
|
28
|
+
hover: number;
|
|
29
|
+
press: number;
|
|
30
|
+
};
|
|
31
|
+
mid: {
|
|
32
|
+
rest: number;
|
|
33
|
+
hover: number;
|
|
34
|
+
press: number;
|
|
35
|
+
};
|
|
36
|
+
large: {
|
|
37
|
+
rest: number;
|
|
38
|
+
hover: number;
|
|
39
|
+
press: number;
|
|
40
|
+
};
|
|
41
|
+
lift: {
|
|
42
|
+
hover: number;
|
|
43
|
+
};
|
|
14
44
|
};
|
|
15
45
|
light: {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
46
|
+
small: {
|
|
47
|
+
rest: number;
|
|
48
|
+
hover: number;
|
|
49
|
+
press: number;
|
|
50
|
+
};
|
|
51
|
+
base: {
|
|
52
|
+
rest: number;
|
|
53
|
+
hover: number;
|
|
54
|
+
press: number;
|
|
55
|
+
};
|
|
56
|
+
mid: {
|
|
57
|
+
rest: number;
|
|
58
|
+
hover: number;
|
|
59
|
+
press: number;
|
|
60
|
+
};
|
|
61
|
+
large: {
|
|
62
|
+
rest: number;
|
|
63
|
+
hover: number;
|
|
64
|
+
press: number;
|
|
65
|
+
};
|
|
66
|
+
lift: {
|
|
67
|
+
hover: number;
|
|
68
|
+
};
|
|
19
69
|
};
|
|
20
70
|
};
|
|
21
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Geometry per level × interaction: `[offsetX, offsetY, blur, spread]`.
|
|
73
|
+
* Rest arrays also exposed as single-layer lists for legacy `SHADOW_LAYER_GEOM[level][0]` readers.
|
|
74
|
+
*/
|
|
22
75
|
export declare const SHADOW_LAYER_GEOM: {
|
|
76
|
+
readonly small: readonly [number[]];
|
|
23
77
|
readonly base: readonly [number[]];
|
|
24
78
|
readonly mid: readonly [number[]];
|
|
25
79
|
readonly large: readonly [number[]];
|
|
26
80
|
};
|
|
27
|
-
|
|
81
|
+
export declare const SHADOW_INTERACTION_GEOM: {
|
|
82
|
+
small: {
|
|
83
|
+
rest: number[];
|
|
84
|
+
hover: number[];
|
|
85
|
+
press: number[];
|
|
86
|
+
};
|
|
87
|
+
base: {
|
|
88
|
+
rest: number[];
|
|
89
|
+
hover: number[];
|
|
90
|
+
press: number[];
|
|
91
|
+
};
|
|
92
|
+
mid: {
|
|
93
|
+
rest: number[];
|
|
94
|
+
hover: number[];
|
|
95
|
+
press: number[];
|
|
96
|
+
};
|
|
97
|
+
large: {
|
|
98
|
+
rest: number[];
|
|
99
|
+
hover: number[];
|
|
100
|
+
press: number[];
|
|
101
|
+
};
|
|
102
|
+
lift: {
|
|
103
|
+
hover: number[];
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
/** CSS `var(--shadow-small|base|mid|large)` for inline styles and documentation. */
|
|
28
107
|
export declare function shadowToken<S extends ShadowLevel>(level: S): `var(--shadow-${S})`;
|
package/dist/ui.css
CHANGED
|
@@ -521,6 +521,7 @@
|
|
|
521
521
|
:root {
|
|
522
522
|
--font-family-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
523
523
|
--font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
524
|
+
--letter-spacing: 0em;
|
|
524
525
|
--space: clamp(.46875rem, .4375rem + .125vw, .5rem);
|
|
525
526
|
--space-xsmall: calc(var(--space) * .618);
|
|
526
527
|
--space-small: calc(var(--space) * .875);
|
|
@@ -633,15 +634,52 @@
|
|
|
633
634
|
--selection-indicator-radius-base: calc(var(--radius-base) * .618);
|
|
634
635
|
--selection-indicator-radius-mid: calc(var(--radius-mid) * .618);
|
|
635
636
|
--selection-indicator-radius-large: calc(var(--radius-large) * .618);
|
|
636
|
-
--shadow-
|
|
637
|
-
--shadow-
|
|
638
|
-
|
|
639
|
-
--shadow-
|
|
640
|
-
|
|
641
|
-
--shadow-
|
|
642
|
-
|
|
643
|
-
--shadow-
|
|
644
|
-
calc(-
|
|
637
|
+
--shadow-opacity: 1;
|
|
638
|
+
--shadow-blur: 1;
|
|
639
|
+
--shadow-spread: 1;
|
|
640
|
+
--shadow-offset-x: 0px;
|
|
641
|
+
--shadow-offset-y: 0px;
|
|
642
|
+
--shadow-none: 0px 0px 0px 0px
|
|
643
|
+
#0000;
|
|
644
|
+
--shadow-small: calc(0px + var(--shadow-offset-x)) calc(1px + var(--shadow-offset-y))
|
|
645
|
+
calc(1px * var(--shadow-blur)) calc(0px * var(--shadow-spread))
|
|
646
|
+
rgb(0 0 0 / calc(.1 * var(--shadow-opacity)));
|
|
647
|
+
--shadow-small-hover: calc(0px + var(--shadow-offset-x)) calc(2px + var(--shadow-offset-y))
|
|
648
|
+
calc(2px * var(--shadow-blur)) calc(-1px * var(--shadow-spread))
|
|
649
|
+
rgb(0 0 0 / calc(.14 * var(--shadow-opacity)));
|
|
650
|
+
--shadow-small-press: calc(0px + var(--shadow-offset-x)) calc(1px + var(--shadow-offset-y))
|
|
651
|
+
calc(1px * var(--shadow-blur)) calc(0px * var(--shadow-spread))
|
|
652
|
+
rgb(0 0 0 / calc(.07 * var(--shadow-opacity)));
|
|
653
|
+
--shadow-base: calc(0px + var(--shadow-offset-x)) calc(2px + var(--shadow-offset-y))
|
|
654
|
+
calc(2px * var(--shadow-blur)) calc(-1px * var(--shadow-spread))
|
|
655
|
+
rgb(0 0 0 / calc(.15 * var(--shadow-opacity)));
|
|
656
|
+
--shadow-base-hover: calc(0px + var(--shadow-offset-x)) calc(3px + var(--shadow-offset-y))
|
|
657
|
+
calc(3px * var(--shadow-blur)) calc(-1px * var(--shadow-spread))
|
|
658
|
+
rgb(0 0 0 / calc(.19 * var(--shadow-opacity)));
|
|
659
|
+
--shadow-base-press: calc(0px + var(--shadow-offset-x)) calc(1px + var(--shadow-offset-y))
|
|
660
|
+
calc(1px * var(--shadow-blur)) calc(0px * var(--shadow-spread))
|
|
661
|
+
rgb(0 0 0 / calc(.1 * var(--shadow-opacity)));
|
|
662
|
+
--shadow-mid: calc(2px + var(--shadow-offset-x)) calc(4px + var(--shadow-offset-y))
|
|
663
|
+
calc(3px * var(--shadow-blur)) calc(-2px * var(--shadow-spread))
|
|
664
|
+
rgb(0 0 0 / calc(.2 * var(--shadow-opacity)));
|
|
665
|
+
--shadow-mid-hover: calc(2px + var(--shadow-offset-x)) calc(5px + var(--shadow-offset-y))
|
|
666
|
+
calc(4px * var(--shadow-blur)) calc(-2px * var(--shadow-spread))
|
|
667
|
+
rgb(0 0 0 / calc(.24 * var(--shadow-opacity)));
|
|
668
|
+
--shadow-mid-press: calc(1px + var(--shadow-offset-x)) calc(2px + var(--shadow-offset-y))
|
|
669
|
+
calc(2px * var(--shadow-blur)) calc(-1px * var(--shadow-spread))
|
|
670
|
+
rgb(0 0 0 / calc(.14 * var(--shadow-opacity)));
|
|
671
|
+
--shadow-large: calc(3px + var(--shadow-offset-x)) calc(6px + var(--shadow-offset-y))
|
|
672
|
+
calc(5px * var(--shadow-blur)) calc(-3px * var(--shadow-spread))
|
|
673
|
+
rgb(0 0 0 / calc(.24 * var(--shadow-opacity)));
|
|
674
|
+
--shadow-large-hover: calc(3px + var(--shadow-offset-x)) calc(7px + var(--shadow-offset-y))
|
|
675
|
+
calc(6px * var(--shadow-blur)) calc(-3px * var(--shadow-spread))
|
|
676
|
+
rgb(0 0 0 / calc(.28 * var(--shadow-opacity)));
|
|
677
|
+
--shadow-large-press: calc(2px + var(--shadow-offset-x)) calc(4px + var(--shadow-offset-y))
|
|
678
|
+
calc(3px * var(--shadow-blur)) calc(-2px * var(--shadow-spread))
|
|
679
|
+
rgb(0 0 0 / calc(.17 * var(--shadow-opacity)));
|
|
680
|
+
--shadow-lift: calc(0px + var(--shadow-offset-x)) calc(2px + var(--shadow-offset-y))
|
|
681
|
+
calc(2px * var(--shadow-blur)) calc(-1px * var(--shadow-spread))
|
|
682
|
+
rgb(0 0 0 / calc(.15 * var(--shadow-opacity)));
|
|
645
683
|
--toast-scrim-size: 1;
|
|
646
684
|
--toast-scrim-density: 1;
|
|
647
685
|
--toast-scrim-height: calc(300px * var(--toast-scrim-size));
|
|
@@ -1165,14 +1203,47 @@
|
|
|
1165
1203
|
--gloss-tint-default: #fff;
|
|
1166
1204
|
--gloss-edge: #ffffff0d;
|
|
1167
1205
|
--gloss-press-inset: #00000007;
|
|
1168
|
-
--shadow-none:
|
|
1169
|
-
|
|
1170
|
-
--shadow-
|
|
1171
|
-
calc(-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
calc(
|
|
1206
|
+
--shadow-none: 0px 0px 0px 0px
|
|
1207
|
+
#0000;
|
|
1208
|
+
--shadow-small: calc(0px + var(--shadow-offset-x)) calc(1px + var(--shadow-offset-y))
|
|
1209
|
+
calc(1px * var(--shadow-blur)) calc(0px * var(--shadow-spread))
|
|
1210
|
+
rgb(0 0 0 / calc(.05 * var(--shadow-opacity)));
|
|
1211
|
+
--shadow-small-hover: calc(0px + var(--shadow-offset-x)) calc(2px + var(--shadow-offset-y))
|
|
1212
|
+
calc(2px * var(--shadow-blur)) calc(-1px * var(--shadow-spread))
|
|
1213
|
+
rgb(0 0 0 / calc(.08 * var(--shadow-opacity)));
|
|
1214
|
+
--shadow-small-press: calc(0px + var(--shadow-offset-x)) calc(1px + var(--shadow-offset-y))
|
|
1215
|
+
calc(1px * var(--shadow-blur)) calc(0px * var(--shadow-spread))
|
|
1216
|
+
rgb(0 0 0 / calc(.03 * var(--shadow-opacity)));
|
|
1217
|
+
--shadow-base: calc(0px + var(--shadow-offset-x)) calc(2px + var(--shadow-offset-y))
|
|
1218
|
+
calc(2px * var(--shadow-blur)) calc(-1px * var(--shadow-spread))
|
|
1219
|
+
rgb(0 0 0 / calc(.08 * var(--shadow-opacity)));
|
|
1220
|
+
--shadow-base-hover: calc(0px + var(--shadow-offset-x)) calc(3px + var(--shadow-offset-y))
|
|
1221
|
+
calc(3px * var(--shadow-blur)) calc(-1px * var(--shadow-spread))
|
|
1222
|
+
rgb(0 0 0 / calc(.11 * var(--shadow-opacity)));
|
|
1223
|
+
--shadow-base-press: calc(0px + var(--shadow-offset-x)) calc(1px + var(--shadow-offset-y))
|
|
1224
|
+
calc(1px * var(--shadow-blur)) calc(0px * var(--shadow-spread))
|
|
1225
|
+
rgb(0 0 0 / calc(.05 * var(--shadow-opacity)));
|
|
1226
|
+
--shadow-mid: calc(2px + var(--shadow-offset-x)) calc(4px + var(--shadow-offset-y))
|
|
1227
|
+
calc(3px * var(--shadow-blur)) calc(-2px * var(--shadow-spread))
|
|
1228
|
+
rgb(0 0 0 / calc(.12 * var(--shadow-opacity)));
|
|
1229
|
+
--shadow-mid-hover: calc(2px + var(--shadow-offset-x)) calc(5px + var(--shadow-offset-y))
|
|
1230
|
+
calc(4px * var(--shadow-blur)) calc(-2px * var(--shadow-spread))
|
|
1231
|
+
rgb(0 0 0 / calc(.15 * var(--shadow-opacity)));
|
|
1232
|
+
--shadow-mid-press: calc(1px + var(--shadow-offset-x)) calc(2px + var(--shadow-offset-y))
|
|
1233
|
+
calc(2px * var(--shadow-blur)) calc(-1px * var(--shadow-spread))
|
|
1234
|
+
rgb(0 0 0 / calc(.08 * var(--shadow-opacity)));
|
|
1235
|
+
--shadow-large: calc(3px + var(--shadow-offset-x)) calc(6px + var(--shadow-offset-y))
|
|
1236
|
+
calc(5px * var(--shadow-blur)) calc(-3px * var(--shadow-spread))
|
|
1237
|
+
rgb(0 0 0 / calc(.16 * var(--shadow-opacity)));
|
|
1238
|
+
--shadow-large-hover: calc(3px + var(--shadow-offset-x)) calc(7px + var(--shadow-offset-y))
|
|
1239
|
+
calc(6px * var(--shadow-blur)) calc(-3px * var(--shadow-spread))
|
|
1240
|
+
rgb(0 0 0 / calc(.2 * var(--shadow-opacity)));
|
|
1241
|
+
--shadow-large-press: calc(2px + var(--shadow-offset-x)) calc(4px + var(--shadow-offset-y))
|
|
1242
|
+
calc(3px * var(--shadow-blur)) calc(-2px * var(--shadow-spread))
|
|
1243
|
+
rgb(0 0 0 / calc(.11 * var(--shadow-opacity)));
|
|
1244
|
+
--shadow-lift: calc(0px + var(--shadow-offset-x)) calc(2px + var(--shadow-offset-y))
|
|
1245
|
+
calc(2px * var(--shadow-blur)) calc(-1px * var(--shadow-spread))
|
|
1246
|
+
rgb(0 0 0 / calc(.08 * var(--shadow-opacity)));
|
|
1176
1247
|
}
|
|
1177
1248
|
|
|
1178
1249
|
@layer theme {
|
|
@@ -1223,7 +1294,6 @@
|
|
|
1223
1294
|
--radius-sm: .25rem;
|
|
1224
1295
|
--radius-lg: .5rem;
|
|
1225
1296
|
--radius-2xl: 1rem;
|
|
1226
|
-
--shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
|
|
1227
1297
|
--ease-out: cubic-bezier(0, 0, .2, 1);
|
|
1228
1298
|
--ease-in-out: cubic-bezier(.4, 0, .2, 1);
|
|
1229
1299
|
--animate-spin: spin 1s linear infinite;
|
|
@@ -5778,7 +5848,12 @@
|
|
|
5778
5848
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
5779
5849
|
}
|
|
5780
5850
|
|
|
5781
|
-
.shadow
|
|
5851
|
+
.shadow-token-small {
|
|
5852
|
+
--tw-shadow: var(--shadow-small);
|
|
5853
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
5854
|
+
}
|
|
5855
|
+
|
|
5856
|
+
.shadow\/lift, .shadow\/scale {
|
|
5782
5857
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
|
|
5783
5858
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
5784
5859
|
}
|
|
@@ -5806,9 +5881,6 @@
|
|
|
5806
5881
|
.animate-shadow {
|
|
5807
5882
|
--el-shadow: var(--shadow-none);
|
|
5808
5883
|
box-shadow: var(--el-shadow);
|
|
5809
|
-
transition-property: box-shadow;
|
|
5810
|
-
transition-duration: var(--motion-surface-duration);
|
|
5811
|
-
transition-timing-function: var(--motion-shadow-ease);
|
|
5812
5884
|
}
|
|
5813
5885
|
|
|
5814
5886
|
.\[box-shadow\:0_0_0_1px_var\(--color-foreground\)\,var\(--shadow-mid\)\] {
|
|
@@ -5827,6 +5899,10 @@
|
|
|
5827
5899
|
box-shadow: var(--shadow-mid);
|
|
5828
5900
|
}
|
|
5829
5901
|
|
|
5902
|
+
.shadow-token-small {
|
|
5903
|
+
box-shadow: var(--shadow-small);
|
|
5904
|
+
}
|
|
5905
|
+
|
|
5830
5906
|
.ring-background {
|
|
5831
5907
|
--tw-ring-color: var(--color-background);
|
|
5832
5908
|
}
|
|
@@ -7103,6 +7179,10 @@ p {
|
|
|
7103
7179
|
line-height: 1.2;
|
|
7104
7180
|
}
|
|
7105
7181
|
|
|
7182
|
+
html {
|
|
7183
|
+
letter-spacing: var(--letter-spacing);
|
|
7184
|
+
}
|
|
7185
|
+
|
|
7106
7186
|
@keyframes skeleton-pulse {
|
|
7107
7187
|
0%, 100% {
|
|
7108
7188
|
opacity: 1;
|
|
@@ -7139,7 +7219,7 @@ p {
|
|
|
7139
7219
|
backdrop-filter: none;
|
|
7140
7220
|
}
|
|
7141
7221
|
|
|
7142
|
-
.
|
|
7222
|
+
.text-color-transition, .surface-color-transition, .field-shell-transition, .focus-ring, .focus-within-ring, .focus-ring-inset, .has-focus-ring {
|
|
7143
7223
|
transition: none;
|
|
7144
7224
|
}
|
|
7145
7225
|
}
|