@zidian-ui/core 0.1.4 → 0.2.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.
Files changed (86) hide show
  1. package/esm/assets/packages/@zidian-ui/core/src/components/collection/List/List.css.ts.vanilla-BeW6Frwm.css +27 -0
  2. package/esm/assets/packages/@zidian-ui/core/src/components/common/Button/Button.css.ts.vanilla-BgimV8hB.css +183 -0
  3. package/esm/assets/packages/@zidian-ui/core/src/components/common/Tag/Tag.css.ts.vanilla-lf0HgPmO.css +103 -0
  4. package/esm/assets/packages/@zidian-ui/core/src/components/input/SelectWrapper/SelectWrapper.css.ts.vanilla-C2qmBkSh.css +17 -0
  5. package/esm/assets/packages/@zidian-ui/core/src/components/input/components/inputInner/InputInner.css.ts.vanilla-Dylafkkf.css +150 -0
  6. package/esm/assets/packages/@zidian-ui/core/src/components/modal/Drawer/Drawer.css.ts.vanilla-g4GnhXaQ.css +45 -0
  7. package/esm/assets/packages/@zidian-ui/core/src/components/other/Cascader/Cascader.css.ts.vanilla-Bp7URCRM.css +49 -0
  8. package/esm/components/collection/List/List.css.js +9 -0
  9. package/esm/components/collection/List/List.js +71 -0
  10. package/esm/components/collection/List/components/DefaultContentPlace.js +63 -0
  11. package/esm/components/collection/List/components/DefaultItemPlace.js +50 -0
  12. package/esm/components/common/Button/Button.css.js +6 -0
  13. package/esm/components/common/Button/Button.js +42 -0
  14. package/esm/components/common/Tag/Tag.css.js +6 -0
  15. package/esm/components/common/Tag/Tag.js +29 -0
  16. package/esm/components/input/SelectWrapper/SelectWrapper.css.js +6 -0
  17. package/esm/components/input/SelectWrapper/SelectWrapper.js +51 -0
  18. package/esm/components/input/SelectWrapper/components/SelectWrapperPortal/SelectWrapperPortal.js +23 -0
  19. package/esm/components/input/SelectWrapper/components/SelectWrapperValue/SelectWrapperValue.js +22 -0
  20. package/esm/components/input/components/inputInner/InputInner.css.js +8 -0
  21. package/esm/components/input/components/inputInner/InputInner.js +21 -0
  22. package/esm/components/modal/Drawer/Drawer.css.js +7 -0
  23. package/esm/components/modal/Drawer/Drawer.js +54 -0
  24. package/esm/components/other/Cascader/Cascader.css.js +10 -0
  25. package/esm/components/other/Cascader/Cascader.js +109 -0
  26. package/esm/external/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js +111 -0
  27. package/esm/index.js +13 -0
  28. package/esm/theme/provider/ThemeProvider.js +34 -0
  29. package/esm/theme/token/contract.js +128 -0
  30. package/esm/theme/token/tokenMap.js +52 -0
  31. package/esm/theme/token/tokenSetup.js +87 -0
  32. package/esm/theme/utils/color.js +42 -0
  33. package/esm/theme/utils/contract.js +15 -0
  34. package/esm/theme/utils/token.js +39 -0
  35. package/lib/components/collection/List/List.css.d.ts +5 -0
  36. package/lib/components/collection/List/List.d.ts +1 -0
  37. package/lib/components/collection/List/List.prop.d.ts +13 -0
  38. package/lib/components/collection/List/components/DefaultContentPlace.d.ts +1 -0
  39. package/lib/components/collection/List/components/DefaultItemPlace.d.ts +1 -0
  40. package/lib/components/collection/List/index.d.ts +2 -0
  41. package/lib/components/collection/index.d.ts +1 -0
  42. package/lib/components/common/Button/Button.css.d.ts +137 -0
  43. package/lib/components/common/Button/Button.d.ts +2 -0
  44. package/lib/components/common/Button/Button.props.d.ts +10 -0
  45. package/lib/components/common/Button/index.d.ts +2 -0
  46. package/lib/components/common/Tag/Tag.css.d.ts +67 -0
  47. package/lib/components/common/Tag/Tag.d.ts +2 -0
  48. package/lib/components/common/Tag/Tag.props.d.ts +8 -0
  49. package/lib/components/common/Tag/index.d.ts +2 -0
  50. package/lib/components/common/index.d.ts +2 -0
  51. package/lib/components/index.d.ts +5 -0
  52. package/lib/components/input/SelectWrapper/SelectWrapper.css.d.ts +2 -0
  53. package/lib/components/input/SelectWrapper/SelectWrapper.d.ts +2 -0
  54. package/lib/components/input/SelectWrapper/SelectWrapper.props.d.ts +32 -0
  55. package/lib/components/input/SelectWrapper/components/SelectWrapperPortal/SelectWrapperPortal.d.ts +10 -0
  56. package/lib/components/input/SelectWrapper/components/SelectWrapperValue/SelectWrapperValue.d.ts +7 -0
  57. package/lib/components/input/SelectWrapper/index.d.ts +2 -0
  58. package/lib/components/input/components/inputInner/InputInner.css.d.ts +92 -0
  59. package/lib/components/input/components/inputInner/InputInner.d.ts +2 -0
  60. package/lib/components/input/components/inputInner/inputInner.props.d.ts +11 -0
  61. package/lib/components/input/index.d.ts +1 -0
  62. package/lib/components/modal/Drawer/Drawer.css.d.ts +34 -0
  63. package/lib/components/modal/Drawer/Drawer.d.ts +2 -0
  64. package/lib/components/modal/Drawer/Drawer.props.d.ts +10 -0
  65. package/lib/components/modal/Drawer/index.d.ts +2 -0
  66. package/lib/components/modal/index.d.ts +1 -0
  67. package/lib/components/other/Cascader/Cascader.css.d.ts +6 -0
  68. package/lib/components/other/Cascader/Cascader.d.ts +2 -0
  69. package/lib/components/other/Cascader/Cascader.props.d.ts +17 -0
  70. package/lib/components/other/Cascader/index.d.ts +2 -0
  71. package/lib/components/other/index.d.ts +1 -0
  72. package/lib/index.d.ts +2 -0
  73. package/lib/theme/common/common.css.d.ts +1 -0
  74. package/lib/theme/common/motion.d.ts +0 -0
  75. package/lib/theme/contract/colorContract.css.d.ts +8 -0
  76. package/lib/theme/contract/themeContract.css.d.ts +134 -0
  77. package/lib/theme/index.d.ts +8 -0
  78. package/lib/theme/provider/ThemeProvider.d.ts +9 -0
  79. package/lib/theme/token/contract.d.ts +169 -0
  80. package/lib/theme/token/tokenMap.d.ts +90 -0
  81. package/lib/theme/token/tokenSetup.d.ts +85 -0
  82. package/lib/theme/types/token.d.ts +41 -0
  83. package/lib/theme/utils/color.d.ts +37 -0
  84. package/lib/theme/utils/contract.d.ts +2 -0
  85. package/lib/theme/utils/token.d.ts +19 -0
  86. package/package.json +5 -5
@@ -0,0 +1,5 @@
1
+ export * from "./collection";
2
+ export * from "./common";
3
+ export * from "./modal";
4
+ export * from "./other";
5
+ export * from "./input";
@@ -0,0 +1,2 @@
1
+ export declare const selectWrapperTrigger: string;
2
+ export declare const selectWrapperContent: string;
@@ -0,0 +1,2 @@
1
+ import { SelectWrapperProps } from "./SelectWrapper.props";
2
+ export declare const SelectWrapper: import("react").ForwardRefExoticComponent<Omit<SelectWrapperProps, "ref"> & import("react").RefAttributes<any>>;
@@ -0,0 +1,32 @@
1
+ import { ReactNode } from "react";
2
+ import { InputInnerProps } from "../components/inputInner/inputInner.props";
3
+ import { ValueRenderProps } from "./components/SelectWrapperValue/SelectWrapperValue";
4
+ /**--------------------------------------------
5
+ * Base
6
+ *---------------------------------------------**/
7
+ export interface SelectOption {
8
+ value: string;
9
+ label: React.ReactNode;
10
+ }
11
+ /**--------------------------------------------
12
+ * Slot
13
+ *---------------------------------------------**/
14
+ export interface PortalRenderProps {
15
+ open: boolean;
16
+ children: ReactNode;
17
+ }
18
+ /**--------------------------------------------
19
+ * Props
20
+ *---------------------------------------------**/
21
+ export type SelectWrapperProps = Omit<InputInnerProps, "slot" | "variants"> & {
22
+ optionRender: React.ComponentType<{
23
+ closePortal: () => void;
24
+ }>;
25
+ slot?: Omit<InputInnerProps["slot"], "content"> & {
26
+ value?: (args: ValueRenderProps) => ReactNode;
27
+ };
28
+ variants?: Omit<NonNullable<InputInnerProps["variants"]>, "color">;
29
+ placeholder?: string;
30
+ selectValue?: SelectOption[] | SelectOption;
31
+ portalRender?: (args: PortalRenderProps) => ReactNode;
32
+ };
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from "react";
2
+ interface SelectPortalProps {
3
+ open: boolean;
4
+ children?: ReactNode;
5
+ }
6
+ export declare const SelectWrapperPortal: {
7
+ ({ open, children }: SelectPortalProps): import("react/jsx-runtime").JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export {};
@@ -0,0 +1,7 @@
1
+ import { SelectOption } from "../../SelectWrapper.props";
2
+ export interface ValueRenderProps {
3
+ state?: any;
4
+ value?: SelectOption[] | SelectOption;
5
+ placeholder?: string;
6
+ }
7
+ export declare const SelectWrapperValue: import("react").ForwardRefExoticComponent<ValueRenderProps & import("react").RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,2 @@
1
+ export * from "./SelectWrapper";
2
+ export type { SelectWrapperProps } from "./SelectWrapper.props";
@@ -0,0 +1,92 @@
1
+ import { ComplexStyleRule } from '@vanilla-extract/css';
2
+ import { ColorVariantName } from '../../../../theme/contract/colorContract.css';
3
+ export declare const innerContent: string;
4
+ export declare const innerFix: string;
5
+ export declare const colorStyle: Record<string, any>;
6
+ export declare const inputInnerToken: {
7
+ borderColor: `var(--${string})`;
8
+ contentColor: `var(--${string})`;
9
+ contentGap: `var(--${string})`;
10
+ backgroundColor: `var(--${string})`;
11
+ placeholderColor: `var(--${string})`;
12
+ boxShadow: `var(--${string})`;
13
+ fontSize: `var(--${string})`;
14
+ paddingX: `var(--${string})`;
15
+ paddingY: `var(--${string})`;
16
+ height: `var(--${string})`;
17
+ borderRadius: `var(--${string})`;
18
+ };
19
+ export declare const inputInnerRecipe: import("@vanilla-extract/recipes").RuntimeFn<{
20
+ color: Record<ColorVariantName, string>;
21
+ variant: {
22
+ filled: {
23
+ vars: {
24
+ [inputInnerToken.contentColor]: `var(--${string})`;
25
+ [inputInnerToken.backgroundColor]: `var(--${string})`;
26
+ [inputInnerToken.borderColor]: string;
27
+ [inputInnerToken.placeholderColor]: `var(--${string})`;
28
+ };
29
+ selectors: {
30
+ '&:focus-within, &[data-state="open"]': {
31
+ backgroundColor: "transparent";
32
+ };
33
+ };
34
+ };
35
+ outlined: {
36
+ vars: {
37
+ [inputInnerToken.contentColor]: `var(--${string})`;
38
+ [inputInnerToken.backgroundColor]: string;
39
+ [inputInnerToken.borderColor]: `var(--${string})`;
40
+ };
41
+ };
42
+ styleLess: {
43
+ border: "none";
44
+ backgroundColor: "transparent";
45
+ vars: {
46
+ [inputInnerToken.contentColor]: `var(--${string})`;
47
+ [inputInnerToken.placeholderColor]: string;
48
+ };
49
+ selectors: {
50
+ '&:focus-within, &[data-state="open"]': {
51
+ backgroundColor: "transparent";
52
+ vars: {
53
+ [inputInnerToken.boxShadow]: string;
54
+ };
55
+ };
56
+ };
57
+ };
58
+ };
59
+ size: {
60
+ small: {
61
+ vars: Record<string, string> | undefined;
62
+ minHeight: `var(--${string})`;
63
+ paddingInline: `var(--${string})`;
64
+ paddingBlock: `var(--${string})`;
65
+ fontSize: `var(--${string})`;
66
+ } & ComplexStyleRule;
67
+ normal: {
68
+ vars: Record<string, string> | undefined;
69
+ minHeight: `var(--${string})`;
70
+ paddingInline: `var(--${string})`;
71
+ paddingBlock: `var(--${string})`;
72
+ fontSize: `var(--${string})`;
73
+ } & ComplexStyleRule;
74
+ large: {
75
+ vars: Record<string, string> | undefined;
76
+ minHeight: `var(--${string})`;
77
+ paddingInline: `var(--${string})`;
78
+ paddingBlock: `var(--${string})`;
79
+ fontSize: `var(--${string})`;
80
+ } & ComplexStyleRule;
81
+ };
82
+ shape: {
83
+ round: {
84
+ vars: Record<string, string> | undefined;
85
+ borderRadius: `var(--${string})`;
86
+ } & ComplexStyleRule;
87
+ square: {
88
+ vars: Record<string, string> | undefined;
89
+ borderRadius: `var(--${string})`;
90
+ } & ComplexStyleRule;
91
+ };
92
+ }>;
@@ -0,0 +1,2 @@
1
+ import { InputInnerProps } from "./inputInner.props";
2
+ export declare const InputInner: import("react").ForwardRefExoticComponent<Omit<InputInnerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,11 @@
1
+ import { ComponentProps, ReactNode } from "react";
2
+ import { inputInnerRecipe } from "./InputInner.css";
3
+ import { RecipeVariants } from "@vanilla-extract/recipes";
4
+ export interface InputInnerProps extends Omit<ComponentProps<'div'>, "slot"> {
5
+ variants?: RecipeVariants<typeof inputInnerRecipe>;
6
+ slot: {
7
+ prefix?: ReactNode;
8
+ suffix?: ReactNode;
9
+ content: ReactNode;
10
+ };
11
+ }
@@ -0,0 +1 @@
1
+ export * from "./SelectWrapper";
@@ -0,0 +1,34 @@
1
+ export declare const drawerToken: {
2
+ contentRatio: `var(--${string})`;
3
+ };
4
+ export declare const drawerOverlayStyle: string;
5
+ export declare const drawerRecipe: import("@vanilla-extract/recipes").RuntimeFn<{
6
+ position: {
7
+ left: {
8
+ top: number;
9
+ left: number;
10
+ height: "100vh";
11
+ width: `var(--${string})`;
12
+ };
13
+ right: {
14
+ top: number;
15
+ right: number;
16
+ height: "100vh";
17
+ width: `var(--${string})`;
18
+ };
19
+ top: {
20
+ top: number;
21
+ left: number;
22
+ right: number;
23
+ height: `var(--${string})`;
24
+ width: "100%";
25
+ };
26
+ bottom: {
27
+ bottom: number;
28
+ left: number;
29
+ right: number;
30
+ height: `var(--${string})`;
31
+ width: "100%";
32
+ };
33
+ };
34
+ }>;
@@ -0,0 +1,2 @@
1
+ import type { DrawerProps } from "./Drawer.props";
2
+ export declare const Drawer: import("react").ForwardRefExoticComponent<Omit<DrawerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,10 @@
1
+ import { ComponentPropsWithRef, ReactNode } from "react";
2
+ export interface DrawerProps extends ComponentPropsWithRef<'div'> {
3
+ open?: boolean;
4
+ onOpenChange?: (open: boolean) => void;
5
+ onClosedMotionEnd?: () => void;
6
+ children?: ReactNode;
7
+ overlay?: boolean;
8
+ position?: 'left' | 'right' | 'top' | 'bottom';
9
+ motion?: any;
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./Drawer";
2
+ export * from "./Drawer.props";
@@ -0,0 +1 @@
1
+ export * from "./Drawer";
@@ -0,0 +1,6 @@
1
+ export declare const cascaderContainerStyle: string;
2
+ export declare const cascaderColumnStyle: string;
3
+ export declare const cascaderPanelStyle: string;
4
+ export declare const cascaderPanelIndicatorStyle: string;
5
+ export declare const cascaderPanelHeaderStyle: string;
6
+ export declare const cascaderNodeStyle: string;
@@ -0,0 +1,2 @@
1
+ import { CascaderProps } from "./Cascader.props";
2
+ export declare const Cascader: import("react").ForwardRefExoticComponent<Omit<CascaderProps, "ref"> & import("react").RefAttributes<any>>;
@@ -0,0 +1,17 @@
1
+ import { CascaderItem, NodeSlotType, PanelHeaderSlot, PanelIndicatorSlot, SelectOption } from "@zidian-primitive/cascader";
2
+ import { ComponentPropsWithRef } from "react";
3
+ export type { CheckStatus } from "@zidian-primitive/cascader";
4
+ export interface CascaderProps extends Omit<ComponentPropsWithRef<'div'>, "slot"> {
5
+ list: any[];
6
+ levelFields: string[];
7
+ defaultList?: any[];
8
+ selectOption?: SelectOption;
9
+ showHeader?: boolean;
10
+ showIndicator?: boolean;
11
+ slot?: {
12
+ node?: NodeSlotType;
13
+ panelHeader?: PanelHeaderSlot;
14
+ panelIndicator?: PanelIndicatorSlot;
15
+ };
16
+ onLeafNodeClick?: (node: CascaderItem<any>) => void;
17
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./Cascader";
2
+ export type { CascaderProps } from "./Cascader.props";
@@ -0,0 +1 @@
1
+ export * from "./Cascader";
package/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from "./components";
2
+ export * from "./theme";
@@ -0,0 +1 @@
1
+ export declare const focusRing: string;
File without changes
@@ -0,0 +1,8 @@
1
+ export declare const colorMainContract: {
2
+ main: `var(--${string})`;
3
+ onMain: `var(--${string})`;
4
+ container: `var(--${string})`;
5
+ onContainer: `var(--${string})`;
6
+ };
7
+ export declare const defaultColorVariantName: string[];
8
+ export type ColorVariantName = typeof defaultColorVariantName[number];
@@ -0,0 +1,134 @@
1
+ export declare const themeContract: {
2
+ font: {
3
+ size: {
4
+ title: {
5
+ xs: `var(--${string})`;
6
+ sm: `var(--${string})`;
7
+ md: `var(--${string})`;
8
+ lg: `var(--${string})`;
9
+ xl: `var(--${string})`;
10
+ };
11
+ label: {
12
+ xs: `var(--${string})`;
13
+ sm: `var(--${string})`;
14
+ md: `var(--${string})`;
15
+ lg: `var(--${string})`;
16
+ xl: `var(--${string})`;
17
+ };
18
+ };
19
+ weight: {
20
+ lighter: `var(--${string})`;
21
+ light: `var(--${string})`;
22
+ normal: `var(--${string})`;
23
+ medium: `var(--${string})`;
24
+ bold: `var(--${string})`;
25
+ bolder: `var(--${string})`;
26
+ };
27
+ lineHeight: {
28
+ xs: `var(--${string})`;
29
+ sm: `var(--${string})`;
30
+ md: `var(--${string})`;
31
+ lg: `var(--${string})`;
32
+ xl: `var(--${string})`;
33
+ };
34
+ };
35
+ spacing: {
36
+ layout: {
37
+ xs: `var(--${string})`;
38
+ sm: `var(--${string})`;
39
+ md: `var(--${string})`;
40
+ lg: `var(--${string})`;
41
+ xl: `var(--${string})`;
42
+ };
43
+ content: {
44
+ xs: `var(--${string})`;
45
+ sm: `var(--${string})`;
46
+ md: `var(--${string})`;
47
+ lg: `var(--${string})`;
48
+ xl: `var(--${string})`;
49
+ };
50
+ };
51
+ radius: {
52
+ sm: `var(--${string})`;
53
+ md: `var(--${string})`;
54
+ lg: `var(--${string})`;
55
+ xl: `var(--${string})`;
56
+ full: `var(--${string})`;
57
+ };
58
+ state: {
59
+ hover: `var(--${string})`;
60
+ focus: `var(--${string})`;
61
+ pressed: `var(--${string})`;
62
+ dragged: `var(--${string})`;
63
+ };
64
+ color: {
65
+ inverse: {
66
+ surface: `var(--${string})`;
67
+ onSurface: `var(--${string})`;
68
+ primary: `var(--${string})`;
69
+ };
70
+ elevation: {
71
+ scrim: `var(--${string})`;
72
+ shadow: `var(--${string})`;
73
+ };
74
+ outline: {
75
+ main: `var(--${string})`;
76
+ variant: `var(--${string})`;
77
+ onSurfaceVariant: `var(--${string})`;
78
+ outlineVariant: `var(--${string})`;
79
+ };
80
+ surface: {
81
+ dim: `var(--${string})`;
82
+ main: `var(--${string})`;
83
+ bright: `var(--${string})`;
84
+ onMain: `var(--${string})`;
85
+ containerHighest: `var(--${string})`;
86
+ containerHigh: `var(--${string})`;
87
+ container: `var(--${string})`;
88
+ containerLow: `var(--${string})`;
89
+ containerLowest: `var(--${string})`;
90
+ };
91
+ info: {
92
+ main: `var(--${string})`;
93
+ onMain: `var(--${string})`;
94
+ container: `var(--${string})`;
95
+ onContainer: `var(--${string})`;
96
+ };
97
+ error: {
98
+ main: `var(--${string})`;
99
+ onMain: `var(--${string})`;
100
+ container: `var(--${string})`;
101
+ onContainer: `var(--${string})`;
102
+ };
103
+ warning: {
104
+ main: `var(--${string})`;
105
+ onMain: `var(--${string})`;
106
+ container: `var(--${string})`;
107
+ onContainer: `var(--${string})`;
108
+ };
109
+ success: {
110
+ main: `var(--${string})`;
111
+ onMain: `var(--${string})`;
112
+ container: `var(--${string})`;
113
+ onContainer: `var(--${string})`;
114
+ };
115
+ primary: {
116
+ main: `var(--${string})`;
117
+ onMain: `var(--${string})`;
118
+ container: `var(--${string})`;
119
+ onContainer: `var(--${string})`;
120
+ };
121
+ secondary: {
122
+ main: `var(--${string})`;
123
+ onMain: `var(--${string})`;
124
+ container: `var(--${string})`;
125
+ onContainer: `var(--${string})`;
126
+ };
127
+ tertiary: {
128
+ main: `var(--${string})`;
129
+ onMain: `var(--${string})`;
130
+ container: `var(--${string})`;
131
+ onContainer: `var(--${string})`;
132
+ };
133
+ };
134
+ };
@@ -0,0 +1,8 @@
1
+ export * from "./utils/color";
2
+ export * from "./utils/token";
3
+ export * from "./utils/contract";
4
+ export * from "./provider/ThemeProvider";
5
+ export type * from "./types/token";
6
+ export * from "./token/contract";
7
+ export * from "./token/tokenMap";
8
+ export * from "./token/tokenSetup";
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { Token } from '../types/token';
3
+ interface ThemeProviderProps {
4
+ children: React.ReactNode;
5
+ tokens: Token;
6
+ }
7
+ export declare const ThemeProvider: React.FC<ThemeProviderProps>;
8
+ export declare const useTheme: () => Token;
9
+ export {};
@@ -0,0 +1,169 @@
1
+ import { TokenStructure } from "../types/token";
2
+ export declare const mainColorContractStruct: {
3
+ main: null;
4
+ onMain: null;
5
+ container: null;
6
+ onContainer: null;
7
+ };
8
+ export declare const neutralColorContractStruct: {
9
+ dim: null;
10
+ main: null;
11
+ bright: null;
12
+ onMain: null;
13
+ containerHighest: null;
14
+ containerHigh: null;
15
+ container: null;
16
+ containerLow: null;
17
+ containerLowest: null;
18
+ };
19
+ export declare const neutralVariantColorContractStruct: {
20
+ main: null;
21
+ variant: null;
22
+ onSurfaceVariant: null;
23
+ outlineVariant: null;
24
+ };
25
+ export declare const inverseColorContractStruct: {
26
+ surface: null;
27
+ onSurface: null;
28
+ primary: null;
29
+ };
30
+ export declare const elevationColorContractStruct: {
31
+ scrim: null;
32
+ shadow: null;
33
+ };
34
+ export declare const tokenContractStruct: {
35
+ font: {
36
+ size: {
37
+ title: {
38
+ xs: null;
39
+ sm: null;
40
+ md: null;
41
+ lg: null;
42
+ xl: null;
43
+ };
44
+ label: {
45
+ xs: null;
46
+ sm: null;
47
+ md: null;
48
+ lg: null;
49
+ xl: null;
50
+ };
51
+ };
52
+ weight: {
53
+ lighter: null;
54
+ light: null;
55
+ normal: null;
56
+ medium: null;
57
+ bold: null;
58
+ bolder: null;
59
+ };
60
+ lineHeight: {
61
+ xs: null;
62
+ sm: null;
63
+ md: null;
64
+ lg: null;
65
+ xl: null;
66
+ };
67
+ };
68
+ spacing: {
69
+ layout: {
70
+ xs: null;
71
+ sm: null;
72
+ md: null;
73
+ lg: null;
74
+ xl: null;
75
+ };
76
+ content: {
77
+ xs: null;
78
+ sm: null;
79
+ md: null;
80
+ lg: null;
81
+ xl: null;
82
+ };
83
+ };
84
+ radius: {
85
+ sm: null;
86
+ md: null;
87
+ lg: null;
88
+ xl: null;
89
+ full: null;
90
+ };
91
+ state: {
92
+ hover: null;
93
+ focus: null;
94
+ pressed: null;
95
+ dragged: null;
96
+ };
97
+ color: {
98
+ inverse: {
99
+ surface: null;
100
+ onSurface: null;
101
+ primary: null;
102
+ };
103
+ elevation: {
104
+ scrim: null;
105
+ shadow: null;
106
+ };
107
+ outline: {
108
+ main: null;
109
+ variant: null;
110
+ onSurfaceVariant: null;
111
+ outlineVariant: null;
112
+ };
113
+ surface: {
114
+ dim: null;
115
+ main: null;
116
+ bright: null;
117
+ onMain: null;
118
+ containerHighest: null;
119
+ containerHigh: null;
120
+ container: null;
121
+ containerLow: null;
122
+ containerLowest: null;
123
+ };
124
+ info: {
125
+ main: null;
126
+ onMain: null;
127
+ container: null;
128
+ onContainer: null;
129
+ };
130
+ error: {
131
+ main: null;
132
+ onMain: null;
133
+ container: null;
134
+ onContainer: null;
135
+ };
136
+ warning: {
137
+ main: null;
138
+ onMain: null;
139
+ container: null;
140
+ onContainer: null;
141
+ };
142
+ success: {
143
+ main: null;
144
+ onMain: null;
145
+ container: null;
146
+ onContainer: null;
147
+ };
148
+ primary: {
149
+ main: null;
150
+ onMain: null;
151
+ container: null;
152
+ onContainer: null;
153
+ };
154
+ secondary: {
155
+ main: null;
156
+ onMain: null;
157
+ container: null;
158
+ onContainer: null;
159
+ };
160
+ tertiary: {
161
+ main: null;
162
+ onMain: null;
163
+ container: null;
164
+ onContainer: null;
165
+ };
166
+ };
167
+ };
168
+ export type TokenContractStruct = typeof tokenContractStruct;
169
+ export type TokenContract = TokenStructure<TokenContractStruct>;