@hanzogui/types 4.4.0 → 102.0.0-rc.41-hanzoai.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types.ts +17 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/types",
3
- "version": "4.4.0",
3
+ "version": "102.0.0-rc.41-hanzoai.1",
4
4
  "files": [
5
5
  "types.ts"
6
6
  ],
package/types.ts CHANGED
@@ -1,17 +1,17 @@
1
- export interface GuiBuildOptions {
1
+ export interface HanzoguiBuildOptions {
2
2
  /**
3
- * module paths you want to compile with gui (for example ['gui'])
3
+ * module paths you want to compile with hanzogui (for example ['hanzogui'])
4
4
  * */
5
5
  components?: string[]
6
6
 
7
7
  /**
8
- * relative path to your gui.config.ts
8
+ * relative path to your hanzogui.config.ts
9
9
  */
10
10
  config?: string
11
11
 
12
12
  /**
13
- * Use the new ThemeBuilder in `@gui/create-theme` to create beautiful theme sets,
14
- * see docs at https://gui.hanzo.ai/docs/guides/theme-builder
13
+ * Use the new ThemeBuilder in `@hanzogui/create-theme` to create beautiful theme sets,
14
+ * see docs at https://hanzogui.dev/docs/guides/theme-builder
15
15
  * This helps you automate generating the build themes typescript file which loads fastere
16
16
  * and has smaller bundle size.
17
17
  */
@@ -32,11 +32,11 @@ export interface GuiBuildOptions {
32
32
  useCSSNesting?: boolean
33
33
 
34
34
  /**
35
- * Gui can follow imports and evaluate them when parsing styles, leading to
35
+ * Hanzogui can follow imports and evaluate them when parsing styles, leading to
36
36
  * higher percent of flattened / optimized views. We normalize this to be the
37
37
  * full path of the file, always ending in ".js".
38
38
  *
39
- * So to have Gui partially evaluate "app/src/constants.tsx" you can put
39
+ * So to have Hanzogui partially evaluate "app/src/constants.tsx" you can put
40
40
  * ["app/src/constants.js"].
41
41
  */
42
42
  importsWhitelist?: string[]
@@ -67,14 +67,14 @@ export interface GuiBuildOptions {
67
67
  prefixLogs?: string
68
68
 
69
69
  /**
70
- * (Advanced) Enables Gui to try and evaluate components outside the `components` option.
71
- * When true, Gui will bundle and load components as its running across every file,
70
+ * (Advanced) Enables Hanzogui to try and evaluate components outside the `components` option.
71
+ * When true, Hanzogui will bundle and load components as its running across every file,
72
72
  * if it loads them successfully it will perform all optimiziations inline.
73
73
  */
74
74
  enableDynamicEvaluation?: boolean
75
75
 
76
76
  /**
77
- * Completely disable gui for these files
77
+ * Completely disable hanzogui for these files
78
78
  */
79
79
  disable?: boolean | string[]
80
80
 
@@ -106,12 +106,12 @@ export interface GuiBuildOptions {
106
106
  disableExtractVariables?: boolean | 'theme'
107
107
 
108
108
  /**
109
- * (Advanced) Disables the initial build and attempts to load from the .gui directory
109
+ * (Advanced) Disables the initial build and attempts to load from the .hanzogui directory
110
110
  */
111
111
  disableInitialBuild?: boolean
112
112
 
113
113
  /**
114
- * If you have a gui.build.ts file that describes your compiler setup, you can set it here
114
+ * If you have a hanzogui.build.ts file that describes your compiler setup, you can set it here
115
115
  */
116
116
  buildFile?: string
117
117
 
@@ -127,7 +127,7 @@ export interface GuiBuildOptions {
127
127
  * Set to 'without-animated' to exclude animated components.
128
128
  */
129
129
  useReactNativeWebLite?: boolean | 'without-animated'
130
- disableWatchGuiConfig?: boolean
130
+ disableWatchHanzoguiConfig?: boolean
131
131
 
132
132
  /**
133
133
  * (Experimental) Flatten theme access on native for better performance
@@ -135,7 +135,7 @@ export interface GuiBuildOptions {
135
135
  experimentalFlattenThemesOnNative?: boolean
136
136
  }
137
137
 
138
- export interface GuiOptions extends GuiBuildOptions {
138
+ export interface HanzoguiOptions extends HanzoguiBuildOptions {
139
139
  platform?: 'native' | 'web'
140
140
  }
141
141
 
@@ -145,9 +145,9 @@ export type CLIUserOptions = {
145
145
  root?: string
146
146
  host?: string
147
147
  tsconfigPath?: string
148
- guiOptions: Partial<GuiOptions>
148
+ hanzoguiOptions: Partial<HanzoguiOptions>
149
149
  debug?: boolean | 'verbose'
150
- loadGuiOptions?: boolean
150
+ loadHanzoguiOptions?: boolean
151
151
  }
152
152
 
153
153
  export type CLIResolvedOptions = {
@@ -157,7 +157,7 @@ export type CLIResolvedOptions = {
157
157
  mode: 'development' | 'production'
158
158
  debug?: CLIUserOptions['debug']
159
159
  tsconfigPath: string
160
- guiOptions: GuiOptions
160
+ hanzoguiOptions: HanzoguiOptions
161
161
  pkgJson: {
162
162
  name?: string
163
163
  main?: string