@hanzogui/stacks 8.0.1 → 8.1.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/stacks",
|
|
3
|
-
"version": "8.0
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,16 +35,21 @@
|
|
|
35
35
|
"clean:build": "hanzogui-build clean:build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@hanzogui/core": "8.0
|
|
39
|
-
"@hanzogui/get-button-sized": "8.
|
|
40
|
-
"@hanzogui/web": "8.
|
|
38
|
+
"@hanzogui/core": "8.1.0",
|
|
39
|
+
"@hanzogui/get-button-sized": "8.1.0",
|
|
40
|
+
"@hanzogui/web": "8.1.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@hanzogui/build": "8.
|
|
43
|
+
"@hanzogui/build": "8.1.0",
|
|
44
44
|
"react": ">=19"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": ">=19"
|
|
48
48
|
},
|
|
49
|
-
"module:jsx": "dist/jsx"
|
|
49
|
+
"module:jsx": "dist/jsx",
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://github.com/hanzoai/gui.git",
|
|
53
|
+
"directory": "pkgs/ui/stacks"
|
|
54
|
+
}
|
|
50
55
|
}
|
package/types/SizableStack.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { GetProps } from '@hanzogui/web';
|
|
2
|
-
export declare const SizableStack: import("@hanzogui/
|
|
3
|
-
size?: import("@hanzogui/
|
|
2
|
+
export declare const SizableStack: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
3
|
+
size?: import("@hanzogui/web").SizeTokens | undefined;
|
|
4
4
|
unstyled?: boolean | undefined;
|
|
5
|
-
elevation?: number | import("@hanzogui/
|
|
5
|
+
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
6
6
|
transparent?: boolean | undefined;
|
|
7
7
|
fullscreen?: boolean | undefined;
|
|
8
8
|
circular?: boolean | undefined;
|
|
9
9
|
elevate?: boolean | undefined;
|
|
10
10
|
bordered?: boolean | undefined;
|
|
11
11
|
chromeless?: boolean | "all" | undefined;
|
|
12
|
-
}, import("@hanzogui/
|
|
12
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
13
13
|
export type SizableStackProps = GetProps<typeof SizableStack>;
|
|
14
14
|
//# sourceMappingURL=SizableStack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SizableStack.d.ts","sourceRoot":"","sources":["../src/SizableStack.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAI7C,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"SizableStack.d.ts","sourceRoot":"","sources":["../src/SizableStack.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAI7C,eAAO,MAAM,YAAY;;;;;;;;;;8CAwBvB,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAA"}
|
package/types/Stacks.d.ts
CHANGED
|
@@ -17,26 +17,26 @@ export declare const fullscreenStyle: {
|
|
|
17
17
|
* @summary A view that arranges its children in a vertical line.
|
|
18
18
|
* @see — Docs https://hanzogui.dev/ui/stacks#xstack-ystack-zstack
|
|
19
19
|
*/
|
|
20
|
-
export declare const YStack: import("@hanzogui/
|
|
20
|
+
export declare const YStack: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
21
21
|
elevation?: number | SizeTokens | undefined;
|
|
22
22
|
fullscreen?: boolean | undefined;
|
|
23
|
-
}, import("@hanzogui/
|
|
23
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
24
24
|
/**
|
|
25
25
|
* @summary A view that arranges its children in a horizontal line.
|
|
26
26
|
* @see — Docs https://hanzogui.dev/ui/stacks#xstack-ystack-zstack
|
|
27
27
|
*/
|
|
28
|
-
export declare const XStack: import("@hanzogui/
|
|
28
|
+
export declare const XStack: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
29
29
|
elevation?: number | SizeTokens | undefined;
|
|
30
30
|
fullscreen?: boolean | undefined;
|
|
31
|
-
}, import("@hanzogui/
|
|
31
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
32
32
|
/**
|
|
33
33
|
* @summary A view that stacks its children on top of each other.
|
|
34
34
|
* @see — Docs https://hanzogui.dev/ui/stacks#xstack-ystack-zstack
|
|
35
35
|
*/
|
|
36
|
-
export declare const ZStack: import("@hanzogui/
|
|
36
|
+
export declare const ZStack: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
37
37
|
elevation?: number | SizeTokens | undefined;
|
|
38
38
|
fullscreen?: boolean | undefined;
|
|
39
|
-
}, import("@hanzogui/
|
|
39
|
+
}, import("@hanzogui/web").StaticConfigPublic & {
|
|
40
40
|
neverFlatten: true;
|
|
41
41
|
isZStack: true;
|
|
42
42
|
}>;
|
package/types/Stacks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stacks.d.ts","sourceRoot":"","sources":["../src/Stacks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAK1D,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,SAAS,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;CAChC;AAED,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,MAAM,CAAC,EAAE,MAAM,aAAa,CAAC,GAC1E,aAAa,CAAA;AAEf,MAAM,MAAM,WAAW,GAAG,WAAW,CAAA;AACrC,MAAM,MAAM,WAAW,GAAG,WAAW,CAAA;AAErC,eAAO,MAAM,eAAe;;;CAGlB,CAAA;AAaV;;;GAGG;AACH,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Stacks.d.ts","sourceRoot":"","sources":["../src/Stacks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAK1D,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,SAAS,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;CAChC;AAED,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,MAAM,CAAC,EAAE,MAAM,aAAa,CAAC,GAC1E,aAAa,CAAA;AAEf,MAAM,MAAM,WAAW,GAAG,WAAW,CAAA;AACrC,MAAM,MAAM,WAAW,GAAG,WAAW,CAAA;AAErC,eAAO,MAAM,eAAe;;;CAGlB,CAAA;AAaV;;;GAGG;AACH,eAAO,MAAM,MAAM;;;8CAGjB,CAAA;AAIF;;;GAGG;AACH,eAAO,MAAM,MAAM;;;8CAGjB,CAAA;AAIF;;;GAGG;AACH,eAAO,MAAM,MAAM;;;;;;EASlB,CAAA"}
|
|
@@ -74,14 +74,14 @@ export declare const themeableVariants: {
|
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
|
-
export declare const ThemeableStack: import("@hanzogui/
|
|
78
|
-
elevation?: number | import("@hanzogui/
|
|
77
|
+
export declare const ThemeableStack: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
78
|
+
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
79
79
|
transparent?: boolean | undefined;
|
|
80
80
|
fullscreen?: boolean | undefined;
|
|
81
81
|
circular?: boolean | undefined;
|
|
82
82
|
elevate?: boolean | undefined;
|
|
83
83
|
bordered?: boolean | undefined;
|
|
84
84
|
chromeless?: boolean | "all" | undefined;
|
|
85
|
-
}, import("@hanzogui/
|
|
85
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
86
86
|
export type ThemeableStackProps = GetProps<typeof ThemeableStack>;
|
|
87
87
|
//# sourceMappingURL=ThemeableStack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeableStack.d.ts","sourceRoot":"","sources":["../src/ThemeableStack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAiB9C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBpB,CAAA;AAEV,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"ThemeableStack.d.ts","sourceRoot":"","sources":["../src/ThemeableStack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAiB9C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBpB,CAAA;AAEV,eAAO,MAAM,cAAc;;;;;;;;8CAEzB,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA"}
|
package/types/getElevation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { SizeTokens, SizeVariantSpreadFunction, ViewProps, VariantSpreadExt
|
|
|
2
2
|
export declare const getElevation: SizeVariantSpreadFunction<ViewProps>;
|
|
3
3
|
export declare const getSizedElevation: (val: SizeTokens | number | boolean, { theme, tokens }: VariantSpreadExtras<any>) => {
|
|
4
4
|
elevationAndroid?: number | undefined;
|
|
5
|
-
shadowColor: import("@hanzogui/
|
|
5
|
+
shadowColor: import("@hanzogui/web").Variable<string> | import("@hanzogui/web").Variable<any> | import("@hanzogui/web").Variable<undefined> | undefined;
|
|
6
6
|
shadowRadius: number;
|
|
7
7
|
shadowOffset: {
|
|
8
8
|
height: number;
|