@hanzogui/types 7.3.0 → 8.0.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.
- package/package.json +2 -4
- package/types.ts +8 -8
- package/LICENSE +0 -42
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"types.ts"
|
|
6
6
|
],
|
|
@@ -14,7 +14,5 @@
|
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
|
-
}
|
|
18
|
-
"license": "BSD-3-Clause",
|
|
19
|
-
"author": "Hanzo AI <dev@hanzo.ai>"
|
|
17
|
+
}
|
|
20
18
|
}
|
package/types.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export interface GuiBuildOptions {
|
|
2
2
|
/**
|
|
3
|
-
* module paths you want to compile with
|
|
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
|
|
8
|
+
* relative path to your hanzogui.config.ts
|
|
9
9
|
*/
|
|
10
10
|
config?: string
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Use the new ThemeBuilder in `@hanzogui/create-theme` to create beautiful theme sets,
|
|
14
|
-
* see docs at https://
|
|
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
|
*/
|
|
@@ -74,7 +74,7 @@ export interface GuiBuildOptions {
|
|
|
74
74
|
enableDynamicEvaluation?: boolean
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Completely disable
|
|
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 .
|
|
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
|
|
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
|
|
|
@@ -145,7 +145,7 @@ export type CLIUserOptions = {
|
|
|
145
145
|
root?: string
|
|
146
146
|
host?: string
|
|
147
147
|
tsconfigPath?: string
|
|
148
|
-
|
|
148
|
+
hanzoguiOptions: Partial<GuiOptions>
|
|
149
149
|
debug?: boolean | 'verbose'
|
|
150
150
|
loadGuiOptions?: boolean
|
|
151
151
|
}
|
|
@@ -157,7 +157,7 @@ export type CLIResolvedOptions = {
|
|
|
157
157
|
mode: 'development' | 'production'
|
|
158
158
|
debug?: CLIUserOptions['debug']
|
|
159
159
|
tsconfigPath: string
|
|
160
|
-
|
|
160
|
+
hanzoguiOptions: GuiOptions
|
|
161
161
|
pkgJson: {
|
|
162
162
|
name?: string
|
|
163
163
|
main?: string
|
package/LICENSE
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
BSD 3-Clause License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026-present, Hanzo AI, Inc.
|
|
4
|
-
|
|
5
|
-
Portions of this software are derived from upstream code originally licensed under
|
|
6
|
-
the MIT License, with the following copyright notices retained per its terms:
|
|
7
|
-
|
|
8
|
-
Copyright (c) 2020 Nate Wienert
|
|
9
|
-
Copyright (c) 2015-present, Nicolas Gallagher.
|
|
10
|
-
Copyright (c) 2015-present, Facebook, Inc.
|
|
11
|
-
Copyright (c) 2021 Radix
|
|
12
|
-
Copyright (c) 2017 Carmelo Pullara
|
|
13
|
-
Copyright (c) 2018 Framer B.V.
|
|
14
|
-
Copyright (c) 2022 WorkOS
|
|
15
|
-
|
|
16
|
-
All rights reserved.
|
|
17
|
-
|
|
18
|
-
Redistribution and use in source and binary forms, with or without
|
|
19
|
-
modification, are permitted provided that the following conditions are met:
|
|
20
|
-
|
|
21
|
-
1. Redistributions of source code must retain the above copyright notice, this
|
|
22
|
-
list of conditions and the following disclaimer.
|
|
23
|
-
|
|
24
|
-
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
25
|
-
this list of conditions and the following disclaimer in the documentation
|
|
26
|
-
and/or other materials provided with the distribution.
|
|
27
|
-
|
|
28
|
-
3. Neither the name of the copyright holder nor the names of its contributors
|
|
29
|
-
may be used to endorse or promote products derived from this software
|
|
30
|
-
without specific prior written permission.
|
|
31
|
-
|
|
32
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
33
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
34
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
35
|
-
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
36
|
-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
37
|
-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
38
|
-
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
39
|
-
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
40
|
-
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
41
|
-
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
42
|
-
POSSIBILITY OF SUCH DAMAGE.
|