@nation-a/ui 0.2.1 → 0.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.
Files changed (158) hide show
  1. package/dist/index.cjs +4356 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.js +4356 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/styled-system/css/conditions.mjs +36 -0
  6. package/dist/styled-system/css/css.d.ts +22 -0
  7. package/dist/styled-system/css/css.mjs +45 -0
  8. package/dist/styled-system/css/cva.d.ts +6 -0
  9. package/dist/styled-system/css/cva.mjs +87 -0
  10. package/dist/styled-system/css/cx.d.ts +5 -0
  11. package/dist/styled-system/css/cx.mjs +15 -0
  12. package/dist/styled-system/css/index.d.ts +5 -0
  13. package/dist/styled-system/css/index.mjs +4 -0
  14. package/dist/styled-system/css/sva.d.ts +4 -0
  15. package/dist/styled-system/css/sva.mjs +41 -0
  16. package/dist/styled-system/helpers.mjs +336 -0
  17. package/dist/styled-system/jsx/aspect-ratio.d.ts +10 -0
  18. package/dist/styled-system/jsx/aspect-ratio.mjs +14 -0
  19. package/dist/styled-system/jsx/bleed.d.ts +10 -0
  20. package/dist/styled-system/jsx/bleed.mjs +14 -0
  21. package/dist/styled-system/jsx/box.d.ts +10 -0
  22. package/dist/styled-system/jsx/box.mjs +14 -0
  23. package/dist/styled-system/jsx/center.d.ts +10 -0
  24. package/dist/styled-system/jsx/center.mjs +14 -0
  25. package/dist/styled-system/jsx/circle.d.ts +10 -0
  26. package/dist/styled-system/jsx/circle.mjs +14 -0
  27. package/dist/styled-system/jsx/container.d.ts +10 -0
  28. package/dist/styled-system/jsx/container.mjs +14 -0
  29. package/dist/styled-system/jsx/cq.d.ts +10 -0
  30. package/dist/styled-system/jsx/cq.mjs +14 -0
  31. package/dist/styled-system/jsx/divider.d.ts +10 -0
  32. package/dist/styled-system/jsx/divider.mjs +14 -0
  33. package/dist/styled-system/jsx/factory-helper.mjs +22 -0
  34. package/dist/styled-system/jsx/factory.d.ts +3 -0
  35. package/dist/styled-system/jsx/factory.mjs +80 -0
  36. package/dist/styled-system/jsx/flex.d.ts +10 -0
  37. package/dist/styled-system/jsx/flex.mjs +14 -0
  38. package/dist/styled-system/jsx/float.d.ts +10 -0
  39. package/dist/styled-system/jsx/float.mjs +14 -0
  40. package/dist/styled-system/jsx/grid-item.d.ts +10 -0
  41. package/dist/styled-system/jsx/grid-item.mjs +14 -0
  42. package/dist/styled-system/jsx/grid.d.ts +10 -0
  43. package/dist/styled-system/jsx/grid.mjs +14 -0
  44. package/dist/styled-system/jsx/hstack.d.ts +10 -0
  45. package/dist/styled-system/jsx/hstack.mjs +14 -0
  46. package/dist/styled-system/jsx/index.d.ts +24 -0
  47. package/dist/styled-system/jsx/index.mjs +22 -0
  48. package/dist/styled-system/jsx/is-valid-prop.d.ts +11 -0
  49. package/dist/styled-system/jsx/is-valid-prop.mjs +17 -0
  50. package/dist/styled-system/jsx/link-overlay.d.ts +10 -0
  51. package/dist/styled-system/jsx/link-overlay.mjs +14 -0
  52. package/dist/styled-system/jsx/spacer.d.ts +10 -0
  53. package/dist/styled-system/jsx/spacer.mjs +14 -0
  54. package/dist/styled-system/jsx/square.d.ts +10 -0
  55. package/dist/styled-system/jsx/square.mjs +14 -0
  56. package/dist/styled-system/jsx/stack.d.ts +10 -0
  57. package/dist/styled-system/jsx/stack.mjs +14 -0
  58. package/dist/styled-system/jsx/visually-hidden.d.ts +10 -0
  59. package/dist/styled-system/jsx/visually-hidden.mjs +14 -0
  60. package/dist/styled-system/jsx/vstack.d.ts +10 -0
  61. package/dist/styled-system/jsx/vstack.mjs +14 -0
  62. package/dist/styled-system/jsx/wrap.d.ts +10 -0
  63. package/dist/styled-system/jsx/wrap.mjs +14 -0
  64. package/dist/styled-system/patterns/aspect-ratio.d.ts +21 -0
  65. package/dist/styled-system/patterns/aspect-ratio.mjs +38 -0
  66. package/dist/styled-system/patterns/bleed.d.ts +22 -0
  67. package/dist/styled-system/patterns/bleed.mjs +24 -0
  68. package/dist/styled-system/patterns/box.d.ts +21 -0
  69. package/dist/styled-system/patterns/box.mjs +15 -0
  70. package/dist/styled-system/patterns/center.d.ts +21 -0
  71. package/dist/styled-system/patterns/center.mjs +21 -0
  72. package/dist/styled-system/patterns/circle.d.ts +21 -0
  73. package/dist/styled-system/patterns/circle.mjs +25 -0
  74. package/dist/styled-system/patterns/container.d.ts +21 -0
  75. package/dist/styled-system/patterns/container.mjs +21 -0
  76. package/dist/styled-system/patterns/cq.d.ts +22 -0
  77. package/dist/styled-system/patterns/cq.mjs +21 -0
  78. package/dist/styled-system/patterns/divider.d.ts +23 -0
  79. package/dist/styled-system/patterns/divider.mjs +25 -0
  80. package/dist/styled-system/patterns/flex.d.ts +27 -0
  81. package/dist/styled-system/patterns/flex.mjs +26 -0
  82. package/dist/styled-system/patterns/float.d.ts +24 -0
  83. package/dist/styled-system/patterns/float.mjs +52 -0
  84. package/dist/styled-system/patterns/grid-item.d.ts +26 -0
  85. package/dist/styled-system/patterns/grid-item.mjs +25 -0
  86. package/dist/styled-system/patterns/grid.d.ts +25 -0
  87. package/dist/styled-system/patterns/grid.mjs +27 -0
  88. package/dist/styled-system/patterns/hstack.d.ts +22 -0
  89. package/dist/styled-system/patterns/hstack.mjs +24 -0
  90. package/dist/styled-system/patterns/index.d.ts +21 -0
  91. package/dist/styled-system/patterns/index.mjs +20 -0
  92. package/dist/styled-system/patterns/link-overlay.d.ts +21 -0
  93. package/dist/styled-system/patterns/link-overlay.mjs +24 -0
  94. package/dist/styled-system/patterns/spacer.d.ts +21 -0
  95. package/dist/styled-system/patterns/spacer.mjs +21 -0
  96. package/dist/styled-system/patterns/square.d.ts +21 -0
  97. package/dist/styled-system/patterns/square.mjs +24 -0
  98. package/dist/styled-system/patterns/stack.d.ts +24 -0
  99. package/dist/styled-system/patterns/stack.mjs +24 -0
  100. package/dist/styled-system/patterns/visually-hidden.d.ts +21 -0
  101. package/dist/styled-system/patterns/visually-hidden.mjs +18 -0
  102. package/dist/styled-system/patterns/vstack.d.ts +22 -0
  103. package/dist/styled-system/patterns/vstack.mjs +24 -0
  104. package/dist/styled-system/patterns/wrap.d.ts +25 -0
  105. package/dist/styled-system/patterns/wrap.mjs +25 -0
  106. package/dist/styled-system/styles.css +1497 -0
  107. package/dist/styled-system/tokens/index.d.ts +9 -0
  108. package/dist/styled-system/tokens/index.mjs +1884 -0
  109. package/dist/styled-system/tokens/tokens.d.ts +63 -0
  110. package/dist/styled-system/types/composition.d.ts +164 -0
  111. package/dist/styled-system/types/conditions.d.ts +288 -0
  112. package/dist/styled-system/types/csstype.d.ts +21298 -0
  113. package/dist/styled-system/types/global.d.ts +20 -0
  114. package/dist/styled-system/types/index.d.ts +8 -0
  115. package/dist/styled-system/types/jsx.d.ts +52 -0
  116. package/dist/styled-system/types/parts.d.ts +8 -0
  117. package/dist/styled-system/types/pattern.d.ts +78 -0
  118. package/dist/styled-system/types/prop-type.d.ts +253 -0
  119. package/dist/styled-system/types/recipe.d.ts +181 -0
  120. package/dist/styled-system/types/selectors.d.ts +59 -0
  121. package/dist/styled-system/types/static-css.d.ts +56 -0
  122. package/dist/styled-system/types/style-props.d.ts +7492 -0
  123. package/dist/styled-system/types/system-types.d.ts +193 -0
  124. package/dist/types/components/Button/button.recipe.d.ts +109 -0
  125. package/dist/types/components/Button/index.d.ts +17 -0
  126. package/dist/types/components/Dialog/dialog.recipe.d.ts +2 -0
  127. package/dist/types/components/Dialog/index.d.ts +15 -0
  128. package/dist/types/components/IconButton/icon-button.recipe.d.ts +79 -0
  129. package/dist/types/components/IconButton/index.d.ts +13 -0
  130. package/dist/types/components/Spinner/index.d.ts +24 -0
  131. package/dist/types/components/Spinner/spinner.recipe.d.ts +21 -0
  132. package/dist/types/components/Text/index.d.ts +7 -0
  133. package/dist/types/components/Text/text.recipe.d.ts +38 -0
  134. package/dist/types/components/index.d.ts +6 -0
  135. package/dist/types/index.d.ts +2 -1205
  136. package/dist/types/theme/breakpoints.d.ts +7 -0
  137. package/dist/types/theme/conditions.d.ts +16 -0
  138. package/dist/types/theme/global-css.d.ts +1 -0
  139. package/dist/types/theme/index.d.ts +1 -0
  140. package/dist/types/theme/keyframes.d.ts +1 -0
  141. package/dist/types/theme/tokens/animations.d.ts +41 -0
  142. package/dist/types/theme/tokens/blurs.d.ts +23 -0
  143. package/dist/types/theme/tokens/borders.d.ts +5 -0
  144. package/dist/types/theme/tokens/durations.d.ts +23 -0
  145. package/dist/types/theme/tokens/easings.d.ts +14 -0
  146. package/dist/types/theme/tokens/index.d.ts +833 -0
  147. package/dist/types/theme/tokens/radii.d.ts +32 -0
  148. package/dist/types/theme/tokens/sizes.d.ts +158 -0
  149. package/dist/types/theme/tokens/spacing.d.ts +107 -0
  150. package/dist/types/theme/tokens/typography.d.ts +121 -0
  151. package/dist/types/theme/tokens/z-index.d.ts +38 -0
  152. package/dist/types/utils/create-style-context.d.ts +20 -0
  153. package/dist/types/vite-env.d.ts +1 -0
  154. package/package.json +45 -14
  155. package/dist/cjs/index.cjs +0 -25
  156. package/dist/cjs/index.cjs.map +0 -1
  157. package/dist/esm/index.mjs +0 -26344
  158. package/dist/esm/index.mjs.map +0 -1
@@ -0,0 +1,32 @@
1
+ export declare const radii: {
2
+ none: {
3
+ value: string;
4
+ };
5
+ '2xs': {
6
+ value: string;
7
+ };
8
+ xs: {
9
+ value: string;
10
+ };
11
+ sm: {
12
+ value: string;
13
+ };
14
+ md: {
15
+ value: string;
16
+ };
17
+ lg: {
18
+ value: string;
19
+ };
20
+ xl: {
21
+ value: string;
22
+ };
23
+ '2xl': {
24
+ value: string;
25
+ };
26
+ '3xl': {
27
+ value: string;
28
+ };
29
+ full: {
30
+ value: string;
31
+ };
32
+ };
@@ -0,0 +1,158 @@
1
+ export declare const sizes: {
2
+ full: {
3
+ value: string;
4
+ };
5
+ min: {
6
+ value: string;
7
+ };
8
+ max: {
9
+ value: string;
10
+ };
11
+ fit: {
12
+ value: string;
13
+ };
14
+ '2xs': {
15
+ value: string;
16
+ };
17
+ xs: {
18
+ value: string;
19
+ };
20
+ sm: {
21
+ value: string;
22
+ };
23
+ md: {
24
+ value: string;
25
+ };
26
+ lg: {
27
+ value: string;
28
+ };
29
+ xl: {
30
+ value: string;
31
+ };
32
+ '2xl': {
33
+ value: string;
34
+ };
35
+ '3xl': {
36
+ value: string;
37
+ };
38
+ '4xl': {
39
+ value: string;
40
+ };
41
+ '5xl': {
42
+ value: string;
43
+ };
44
+ '6xl': {
45
+ value: string;
46
+ };
47
+ '7xl': {
48
+ value: string;
49
+ };
50
+ '8xl': {
51
+ value: string;
52
+ };
53
+ 0: {
54
+ value: string;
55
+ };
56
+ 0.5: {
57
+ value: string;
58
+ };
59
+ 1: {
60
+ value: string;
61
+ };
62
+ 1.5: {
63
+ value: string;
64
+ };
65
+ 2: {
66
+ value: string;
67
+ };
68
+ 2.5: {
69
+ value: string;
70
+ };
71
+ 3: {
72
+ value: string;
73
+ };
74
+ 3.5: {
75
+ value: string;
76
+ };
77
+ 4: {
78
+ value: string;
79
+ };
80
+ 4.5: {
81
+ value: string;
82
+ };
83
+ 5: {
84
+ value: string;
85
+ };
86
+ 6: {
87
+ value: string;
88
+ };
89
+ 7: {
90
+ value: string;
91
+ };
92
+ 8: {
93
+ value: string;
94
+ };
95
+ 9: {
96
+ value: string;
97
+ };
98
+ 10: {
99
+ value: string;
100
+ };
101
+ 11: {
102
+ value: string;
103
+ };
104
+ 12: {
105
+ value: string;
106
+ };
107
+ 14: {
108
+ value: string;
109
+ };
110
+ 16: {
111
+ value: string;
112
+ };
113
+ 20: {
114
+ value: string;
115
+ };
116
+ 24: {
117
+ value: string;
118
+ };
119
+ 28: {
120
+ value: string;
121
+ };
122
+ 32: {
123
+ value: string;
124
+ };
125
+ 36: {
126
+ value: string;
127
+ };
128
+ 40: {
129
+ value: string;
130
+ };
131
+ 44: {
132
+ value: string;
133
+ };
134
+ 48: {
135
+ value: string;
136
+ };
137
+ 52: {
138
+ value: string;
139
+ };
140
+ 56: {
141
+ value: string;
142
+ };
143
+ 60: {
144
+ value: string;
145
+ };
146
+ 64: {
147
+ value: string;
148
+ };
149
+ 72: {
150
+ value: string;
151
+ };
152
+ 80: {
153
+ value: string;
154
+ };
155
+ 96: {
156
+ value: string;
157
+ };
158
+ };
@@ -0,0 +1,107 @@
1
+ export declare const spacing: {
2
+ 0: {
3
+ value: string;
4
+ };
5
+ 0.5: {
6
+ value: string;
7
+ };
8
+ 1: {
9
+ value: string;
10
+ };
11
+ 1.5: {
12
+ value: string;
13
+ };
14
+ 2: {
15
+ value: string;
16
+ };
17
+ 2.5: {
18
+ value: string;
19
+ };
20
+ 3: {
21
+ value: string;
22
+ };
23
+ 3.5: {
24
+ value: string;
25
+ };
26
+ 4: {
27
+ value: string;
28
+ };
29
+ 4.5: {
30
+ value: string;
31
+ };
32
+ 5: {
33
+ value: string;
34
+ };
35
+ 6: {
36
+ value: string;
37
+ };
38
+ 7: {
39
+ value: string;
40
+ };
41
+ 8: {
42
+ value: string;
43
+ };
44
+ 9: {
45
+ value: string;
46
+ };
47
+ 10: {
48
+ value: string;
49
+ };
50
+ 11: {
51
+ value: string;
52
+ };
53
+ 12: {
54
+ value: string;
55
+ };
56
+ 14: {
57
+ value: string;
58
+ };
59
+ 16: {
60
+ value: string;
61
+ };
62
+ 20: {
63
+ value: string;
64
+ };
65
+ 24: {
66
+ value: string;
67
+ };
68
+ 28: {
69
+ value: string;
70
+ };
71
+ 32: {
72
+ value: string;
73
+ };
74
+ 36: {
75
+ value: string;
76
+ };
77
+ 40: {
78
+ value: string;
79
+ };
80
+ 44: {
81
+ value: string;
82
+ };
83
+ 48: {
84
+ value: string;
85
+ };
86
+ 52: {
87
+ value: string;
88
+ };
89
+ 56: {
90
+ value: string;
91
+ };
92
+ 60: {
93
+ value: string;
94
+ };
95
+ 64: {
96
+ value: string;
97
+ };
98
+ 72: {
99
+ value: string;
100
+ };
101
+ 80: {
102
+ value: string;
103
+ };
104
+ 96: {
105
+ value: string;
106
+ };
107
+ };
@@ -0,0 +1,121 @@
1
+ export declare const fontSizes: {
2
+ '2xs': {
3
+ value: string;
4
+ };
5
+ xs: {
6
+ value: string;
7
+ };
8
+ sm: {
9
+ value: string;
10
+ };
11
+ md: {
12
+ value: string;
13
+ };
14
+ lg: {
15
+ value: string;
16
+ };
17
+ xl: {
18
+ value: string;
19
+ };
20
+ '2xl': {
21
+ value: string;
22
+ };
23
+ '3xl': {
24
+ value: string;
25
+ };
26
+ '4xl': {
27
+ value: string;
28
+ };
29
+ '5xl': {
30
+ value: string;
31
+ };
32
+ '6xl': {
33
+ value: string;
34
+ };
35
+ '7xl': {
36
+ value: string;
37
+ };
38
+ '8xl': {
39
+ value: string;
40
+ };
41
+ '9xl': {
42
+ value: string;
43
+ };
44
+ };
45
+ export declare const fontWeights: {
46
+ thin: {
47
+ value: string;
48
+ };
49
+ extralight: {
50
+ value: string;
51
+ };
52
+ light: {
53
+ value: string;
54
+ };
55
+ normal: {
56
+ value: string;
57
+ };
58
+ medium: {
59
+ value: string;
60
+ };
61
+ semibold: {
62
+ value: string;
63
+ };
64
+ bold: {
65
+ value: string;
66
+ };
67
+ extrabold: {
68
+ value: string;
69
+ };
70
+ black: {
71
+ value: string;
72
+ };
73
+ };
74
+ export declare const letterSpacings: {
75
+ tighter: {
76
+ value: string;
77
+ };
78
+ tight: {
79
+ value: string;
80
+ };
81
+ normal: {
82
+ value: string;
83
+ };
84
+ wide: {
85
+ value: string;
86
+ };
87
+ wider: {
88
+ value: string;
89
+ };
90
+ widest: {
91
+ value: string;
92
+ };
93
+ };
94
+ export declare const lineHeights: {
95
+ none: {
96
+ value: string;
97
+ };
98
+ tight: {
99
+ value: string;
100
+ };
101
+ normal: {
102
+ value: string;
103
+ };
104
+ relaxed: {
105
+ value: string;
106
+ };
107
+ loose: {
108
+ value: string;
109
+ };
110
+ };
111
+ export declare const fonts: {
112
+ sans: {
113
+ value: string[];
114
+ };
115
+ serif: {
116
+ value: string[];
117
+ };
118
+ mono: {
119
+ value: string[];
120
+ };
121
+ };
@@ -0,0 +1,38 @@
1
+ export declare const zIndex: {
2
+ hide: {
3
+ value: number;
4
+ };
5
+ base: {
6
+ value: number;
7
+ };
8
+ docked: {
9
+ value: number;
10
+ };
11
+ dropdown: {
12
+ value: number;
13
+ };
14
+ sticky: {
15
+ value: number;
16
+ };
17
+ banner: {
18
+ value: number;
19
+ };
20
+ overlay: {
21
+ value: number;
22
+ };
23
+ modal: {
24
+ value: number;
25
+ };
26
+ popover: {
27
+ value: number;
28
+ };
29
+ skipLink: {
30
+ value: number;
31
+ };
32
+ toast: {
33
+ value: number;
34
+ };
35
+ tooltip: {
36
+ value: number;
37
+ };
38
+ };
@@ -0,0 +1,20 @@
1
+ import { ElementType, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from 'react';
2
+ type Props = Record<string, unknown>;
3
+ type Recipe = {
4
+ (props?: Props): Props;
5
+ splitVariantProps: (props: Props) => [Props, Props];
6
+ };
7
+ type Slot<R extends Recipe> = keyof ReturnType<R>;
8
+ type Options = {
9
+ forwardProps?: string[];
10
+ };
11
+ export declare const createStyleContext: <R extends Recipe>(recipe: R) => {
12
+ withRootProvider: <P extends {}>(Component: ElementType) => (props: P) => import("react/jsx-runtime").JSX.Element;
13
+ withProvider: <T, P extends {
14
+ className?: string | undefined;
15
+ }>(Component: ElementType, slot: Slot<R>, options?: Options) => ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>;
16
+ withContext: <T, P_1 extends {
17
+ className?: string | undefined;
18
+ }>(Component: ElementType, slot: Slot<R>) => ForwardRefExoticComponent<PropsWithoutRef<P_1> & RefAttributes<T>>;
19
+ };
20
+ export {};
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@nation-a/ui",
3
- "version": "0.2.1",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
- "main": "./dist/cjs/index.cjs",
6
- "module": "./dist/esm/index.mjs",
5
+ "main": "./dist/index.cjs",
6
+ "module": "./dist/index.js",
7
7
  "types": "./dist/types/index.d.ts",
8
8
  "files": [
9
9
  "dist"
@@ -12,13 +12,12 @@
12
12
  "access": "public"
13
13
  },
14
14
  "dependencies": {
15
- "@chakra-ui/react": "^3.13.0",
16
- "next-themes": "^0.4.6",
17
- "react-icons": "^5.5.0",
18
- "@nation-a/tokens": "0.1.1"
15
+ "@ark-ui/react": "^5.1.0",
16
+ "@nation-a/tokens": "0.2.0"
19
17
  },
20
18
  "devDependencies": {
21
- "@chakra-ui/cli": "^3.13.0",
19
+ "@pandacss/dev": "^0.53.1",
20
+ "@types/node": "^22.13.10",
22
21
  "@types/react": "^18.3",
23
22
  "@types/react-dom": "^18.3",
24
23
  "@typescript-eslint/eslint-plugin": "^5.59.7",
@@ -27,27 +26,59 @@
27
26
  "eslint": "^8.40.0",
28
27
  "typescript": "^5.7.3",
29
28
  "vite": "^6.0.11",
29
+ "vite-plugin-css-injected-by-js": "^3.5.2",
30
30
  "vite-plugin-dts": "^4.5.0",
31
+ "vite-plugin-static-copy": "^2.3.0",
31
32
  "vite-tsconfig-paths": "^5.1.4"
32
33
  },
33
34
  "peerDependencies": {
34
35
  "react": "^18",
35
36
  "react-dom": "^18"
36
37
  },
38
+ "peerDependenciesMeta": {
39
+ "@pandacss/dev": {
40
+ "optional": true
41
+ }
42
+ },
37
43
  "exports": {
38
44
  ".": {
39
45
  "types": "./dist/types/index.d.ts",
40
- "require": "./dist/cjs/index.cjs",
41
- "import": "./dist/esm/index.mjs"
42
- }
46
+ "require": "./dist/index.cjs",
47
+ "import": "./dist/index.js"
48
+ },
49
+ "./css": {
50
+ "types": "./dist/styled-system/css/index.d.ts",
51
+ "require": "./dist/styled-system/css/index.mjs",
52
+ "import": "./dist/styled-system/css/index.mjs"
53
+ },
54
+ "./tokens": {
55
+ "types": "./dist/styled-system/tokens/index.d.ts",
56
+ "require": "./dist/styled-system/tokens/index.mjs",
57
+ "import": "./dist/styled-system/tokens/index.mjs"
58
+ },
59
+ "./types": {
60
+ "types": "./dist/styled-system/types/index.d.ts",
61
+ "require": "./dist/styled-system/types/index.mjs",
62
+ "import": "./dist/styled-system/types/index.mjs"
63
+ },
64
+ "./patterns": {
65
+ "types": "./dist/styled-system/patterns/index.d.ts",
66
+ "require": "./dist/styled-system/patterns/index.mjs",
67
+ "import": "./dist/styled-system/patterns/index.mjs"
68
+ },
69
+ "./jsx": {
70
+ "types": "./dist/styled-system/jsx/index.d.ts",
71
+ "require": "./dist/styled-system/jsx/index.mjs",
72
+ "import": "./dist/styled-system/jsx/index.mjs"
73
+ },
74
+ "./styles.css": "./dist/styled-system/styles.css"
43
75
  },
44
76
  "scripts": {
77
+ "prebuild": "pnpm panda",
45
78
  "build": "tsc && vite build",
46
- "dev": "vite",
47
79
  "clean": "rm -rf dist",
48
80
  "lint": "eslint src --ext ts,tsx",
49
81
  "typecheck": "tsc --noEmit",
50
- "typegen": "chakra-ui typegen src/theme.ts",
51
- "typegen:watch": "chakra-ui typegen src/theme.ts --watch"
82
+ "panda": "panda codegen && panda"
52
83
  }
53
84
  }