@hanzogui/progress 7.0.0 → 7.3.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.
- package/LICENSE +40 -19
- package/dist/cjs/Progress.cjs +178 -0
- package/dist/cjs/Progress.native.js +185 -0
- package/dist/cjs/Progress.native.js.map +1 -0
- package/dist/cjs/index.cjs +20 -0
- package/dist/cjs/index.native.js +23 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/esm/Progress.mjs +149 -0
- package/dist/esm/Progress.mjs.map +1 -0
- package/dist/esm/Progress.native.js +153 -0
- package/dist/esm/Progress.native.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +2 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +2 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/jsx/Progress.mjs +149 -0
- package/dist/jsx/Progress.mjs.map +1 -0
- package/dist/jsx/Progress.native.js +185 -0
- package/dist/jsx/Progress.native.js.map +1 -0
- package/dist/jsx/index.js +2 -0
- package/dist/jsx/index.js.map +1 -0
- package/dist/jsx/index.mjs +2 -0
- package/dist/jsx/index.mjs.map +1 -0
- package/dist/jsx/index.native.js +23 -0
- package/dist/jsx/index.native.js.map +1 -0
- package/package.json +21 -14
- package/src/Progress.tsx +2 -2
- package/types/Progress.d.ts +11 -11
- package/types/Progress.d.ts.map +1 -0
- package/types/index.d.ts.map +1 -0
package/src/Progress.tsx
CHANGED
|
@@ -43,7 +43,7 @@ export const ProgressIndicatorFrame = styled(YStack, {
|
|
|
43
43
|
} as const,
|
|
44
44
|
|
|
45
45
|
defaultVariants: {
|
|
46
|
-
unstyled: process.env.
|
|
46
|
+
unstyled: process.env.GUI_HEADLESS === '1',
|
|
47
47
|
},
|
|
48
48
|
})
|
|
49
49
|
|
|
@@ -154,7 +154,7 @@ export const ProgressFrame = styled(YStack, {
|
|
|
154
154
|
} as const,
|
|
155
155
|
|
|
156
156
|
defaultVariants: {
|
|
157
|
-
unstyled: process.env.
|
|
157
|
+
unstyled: process.env.GUI_HEADLESS === '1',
|
|
158
158
|
},
|
|
159
159
|
})
|
|
160
160
|
|
package/types/Progress.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import type { GetProps } from '@hanzogui/core';
|
|
2
2
|
declare const createProgressScope: import("@hanzogui/create-context").CreateScope;
|
|
3
|
-
export declare const ProgressIndicatorFrame: import("@hanzogui/core").
|
|
3
|
+
export declare const ProgressIndicatorFrame: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
4
4
|
unstyled?: boolean | undefined;
|
|
5
5
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
6
6
|
fullscreen?: boolean | undefined;
|
|
7
7
|
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
8
8
|
export type ProgressIndicatorProps = GetProps<typeof ProgressIndicatorFrame>;
|
|
9
|
-
declare const ProgressIndicator: import("@hanzogui/core").
|
|
9
|
+
declare const ProgressIndicator: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
10
10
|
unstyled?: boolean | undefined;
|
|
11
11
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
12
12
|
fullscreen?: boolean | undefined;
|
|
13
|
-
}>, import("@hanzogui/core").
|
|
13
|
+
}>, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNViewNonStyleProps & void, import("@hanzogui/core").StackStyleBase, {
|
|
14
14
|
unstyled?: boolean | undefined;
|
|
15
15
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
16
16
|
fullscreen?: boolean | undefined;
|
|
17
17
|
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
18
|
-
export declare const ProgressFrame: import("@hanzogui/core").
|
|
18
|
+
export declare const ProgressFrame: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
19
19
|
unstyled?: boolean | undefined;
|
|
20
20
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
21
21
|
fullscreen?: boolean | undefined;
|
|
@@ -27,39 +27,39 @@ export interface ProgressExtraProps {
|
|
|
27
27
|
getValueLabel?(value: number, max: number): string;
|
|
28
28
|
}
|
|
29
29
|
export type ProgressProps = GetProps<typeof ProgressFrame> & ProgressExtraProps;
|
|
30
|
-
declare const Progress: import("react").ForwardRefExoticComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").
|
|
30
|
+
declare const Progress: import("react").ForwardRefExoticComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
31
31
|
unstyled?: boolean | undefined;
|
|
32
32
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
33
33
|
fullscreen?: boolean | undefined;
|
|
34
34
|
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
35
|
-
}>, keyof ProgressExtraProps> & ProgressExtraProps & import("react").RefAttributes<import("@hanzogui/core").
|
|
35
|
+
}>, keyof ProgressExtraProps> & ProgressExtraProps & import("react").RefAttributes<import("@hanzogui/core").GuiElement>> & import("@hanzogui/core").StaticComponentObject<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
36
36
|
unstyled?: boolean | undefined;
|
|
37
37
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
38
38
|
fullscreen?: boolean | undefined;
|
|
39
39
|
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
40
|
-
}>, keyof ProgressExtraProps> & ProgressExtraProps, import("@hanzogui/core").
|
|
40
|
+
}>, keyof ProgressExtraProps> & ProgressExtraProps, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNViewNonStyleProps & ProgressExtraProps, import("@hanzogui/core").StackStyleBase, {
|
|
41
41
|
unstyled?: boolean | undefined;
|
|
42
42
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
43
43
|
fullscreen?: boolean | undefined;
|
|
44
44
|
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
45
45
|
}, import("@hanzogui/core").StaticConfigPublic> & Omit<import("@hanzogui/core").StaticConfigPublic, "staticConfig" | "styleable"> & {
|
|
46
|
-
__tama: [Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").
|
|
46
|
+
__tama: [Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
47
47
|
unstyled?: boolean | undefined;
|
|
48
48
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
49
49
|
fullscreen?: boolean | undefined;
|
|
50
50
|
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
51
|
-
}>, keyof ProgressExtraProps> & ProgressExtraProps, import("@hanzogui/core").
|
|
51
|
+
}>, keyof ProgressExtraProps> & ProgressExtraProps, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNViewNonStyleProps & ProgressExtraProps, import("@hanzogui/core").StackStyleBase, {
|
|
52
52
|
unstyled?: boolean | undefined;
|
|
53
53
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
54
54
|
fullscreen?: boolean | undefined;
|
|
55
55
|
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
56
56
|
}, import("@hanzogui/core").StaticConfigPublic];
|
|
57
57
|
} & {
|
|
58
|
-
Indicator: import("@hanzogui/core").
|
|
58
|
+
Indicator: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
59
59
|
unstyled?: boolean | undefined;
|
|
60
60
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
61
61
|
fullscreen?: boolean | undefined;
|
|
62
|
-
}>, import("@hanzogui/core").
|
|
62
|
+
}>, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNViewNonStyleProps & void, import("@hanzogui/core").StackStyleBase, {
|
|
63
63
|
unstyled?: boolean | undefined;
|
|
64
64
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
65
65
|
fullscreen?: boolean | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../src/Progress.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAW9C,QAAA,MAA8B,mBAAmB,gDAAqC,CAAA;AAiBtF,eAAO,MAAM,sBAAsB;;;;+CAgBjC,CAAA;AAEF,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE5E,QAAA,MAAM,iBAAiB;;;;;;;;+CA2CrB,CAAA;AAqCF,eAAO,MAAM,aAAa;;;;;+CA2BxB,CAAA;AAEF,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,aAAa,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CACnD;AAED,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,GAAG,kBAAkB,CAAA;AAE/E,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDb,CAAA;AAED,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|