@lawkit/ui 0.1.73 → 0.1.74

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.
@@ -63,4 +63,16 @@ export declare const themeVars: {
63
63
  raised: `var(--${string})`;
64
64
  modal: `var(--${string})`;
65
65
  };
66
+ duration: {
67
+ fast: `var(--${string})`;
68
+ base: `var(--${string})`;
69
+ slow: `var(--${string})`;
70
+ slower: `var(--${string})`;
71
+ };
72
+ easing: {
73
+ standard: `var(--${string})`;
74
+ linear: `var(--${string})`;
75
+ decelerate: `var(--${string})`;
76
+ emphasized: `var(--${string})`;
77
+ };
66
78
  };
@@ -0,0 +1,6 @@
1
+ export declare const defaultDurationTokens: {
2
+ readonly fast: "100ms";
3
+ readonly base: "150ms";
4
+ readonly slow: "200ms";
5
+ readonly slower: "300ms";
6
+ };
@@ -0,0 +1,6 @@
1
+ export declare const defaultEasingTokens: {
2
+ readonly standard: "ease";
3
+ readonly linear: "linear";
4
+ readonly decelerate: "ease-out";
5
+ readonly emphasized: "ease-in-out";
6
+ };
@@ -4,6 +4,8 @@ export type { LdsSpacingTokens } from './foundation/spacing-scale';
4
4
  export { spacingScale, defaultSpacingTokens } from './foundation/spacing-scale';
5
5
  export { defaultRadiusTokens } from './foundation/radius-scale';
6
6
  export { defaultShadowTokens } from './foundation/shadow-scale';
7
+ export { defaultDurationTokens } from './foundation/duration-scale';
8
+ export { defaultEasingTokens } from './foundation/easing-scale';
7
9
  export { fontFamilyTokens, fontSizeScale, lineHeightScale, fontWeightScale, letterSpacingScale } from './foundation/typography-scale';
8
10
  export { semanticColorRoles } from './semantic/color-roles';
9
11
  export { textStyles } from './semantic/text-styles';
@@ -20,5 +20,17 @@ export declare const defaultThemeValues: {
20
20
  readonly raised: "0 6px 16px rgba(17, 24, 39, 0.08)";
21
21
  readonly modal: "0 4px 15px rgba(44, 63, 88, 0.35)";
22
22
  };
23
+ duration: {
24
+ readonly fast: "100ms";
25
+ readonly base: "150ms";
26
+ readonly slow: "200ms";
27
+ readonly slower: "300ms";
28
+ };
29
+ easing: {
30
+ readonly standard: "ease";
31
+ readonly linear: "linear";
32
+ readonly decelerate: "ease-out";
33
+ readonly emphasized: "ease-in-out";
34
+ };
23
35
  };
24
36
  export declare const lightThemeClass: string;
@@ -1,3 +1,4 @@
1
+ export declare const EXIT_MS: number;
1
2
  export declare const card: import('@vanilla-extract/recipes').RuntimeFn<{
2
3
  position: {
3
4
  "bottom-right": {
@@ -7,4 +8,11 @@ export declare const card: import('@vanilla-extract/recipes').RuntimeFn<{
7
8
  left: `var(--${string})`;
8
9
  };
9
10
  };
11
+ closing: {
12
+ true: {
13
+ opacity: number;
14
+ transform: "translateY(16px)";
15
+ };
16
+ false: {};
17
+ };
10
18
  }>;
@@ -1 +1,10 @@
1
- export declare const surface: string;
1
+ export declare const EXIT_MS: number;
2
+ export declare const surface: import('@vanilla-extract/recipes').RuntimeFn<{
3
+ closing: {
4
+ true: {
5
+ opacity: number;
6
+ transform: "translateY(24px)";
7
+ };
8
+ false: {};
9
+ };
10
+ }>;
@@ -1,4 +1,12 @@
1
- export declare const overlay: string;
1
+ export declare const EXIT_MS: number;
2
+ export declare const overlay: import('@vanilla-extract/recipes').RuntimeFn<{
3
+ closing: {
4
+ true: {
5
+ opacity: number;
6
+ };
7
+ false: {};
8
+ };
9
+ }>;
2
10
  export declare const card: import('@vanilla-extract/recipes').RuntimeFn<{
3
11
  size: {
4
12
  small: {
@@ -14,6 +22,13 @@ export declare const card: import('@vanilla-extract/recipes').RuntimeFn<{
14
22
  maxWidth: number;
15
23
  };
16
24
  };
25
+ closing: {
26
+ true: {
27
+ opacity: number;
28
+ transform: "scale(0.96)";
29
+ };
30
+ false: {};
31
+ };
17
32
  }>;
18
33
  export declare const header: string;
19
34
  export declare const headerTitle: string;
@@ -1,5 +1,21 @@
1
- export declare const overlay: string;
2
- export declare const card: string;
1
+ export declare const EXIT_MS: number;
2
+ export declare const overlay: import('@vanilla-extract/recipes').RuntimeFn<{
3
+ closing: {
4
+ true: {
5
+ opacity: number;
6
+ };
7
+ false: {};
8
+ };
9
+ }>;
10
+ export declare const card: import('@vanilla-extract/recipes').RuntimeFn<{
11
+ closing: {
12
+ true: {
13
+ opacity: number;
14
+ transform: "scale(0.96)";
15
+ };
16
+ false: {};
17
+ };
18
+ }>;
3
19
  export declare const iconWrapper: import('@vanilla-extract/recipes').RuntimeFn<{
4
20
  intent: {
5
21
  warning: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lawkit/ui",
3
- "version": "0.1.73",
3
+ "version": "0.1.74",
4
4
  "type": "module",
5
5
  "description": "LDS Design System — React component library with design tokens",
6
6
  "main": "./dist/index.js",