@hanzogui/radio-group 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/RadioGroup.cjs +134 -0
- package/dist/cjs/RadioGroup.native.js +139 -0
- package/dist/cjs/RadioGroup.native.js.map +1 -0
- package/dist/cjs/RadioGroupStyledContext.cjs +32 -0
- package/dist/cjs/RadioGroupStyledContext.native.js +35 -0
- package/dist/cjs/RadioGroupStyledContext.native.js.map +1 -0
- package/dist/cjs/createRadioGroup.cjs +175 -0
- package/dist/cjs/createRadioGroup.native.js +178 -0
- package/dist/cjs/createRadioGroup.native.js.map +1 -0
- package/dist/cjs/index.cjs +38 -0
- package/dist/cjs/index.native.js +41 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/esm/RadioGroup.mjs +107 -0
- package/dist/esm/RadioGroup.mjs.map +1 -0
- package/dist/esm/RadioGroup.native.js +109 -0
- package/dist/esm/RadioGroup.native.js.map +1 -0
- package/dist/esm/RadioGroupStyledContext.mjs +7 -0
- package/dist/esm/RadioGroupStyledContext.mjs.map +1 -0
- package/dist/esm/RadioGroupStyledContext.native.js +7 -0
- package/dist/esm/RadioGroupStyledContext.native.js.map +1 -0
- package/dist/esm/createRadioGroup.mjs +139 -0
- package/dist/esm/createRadioGroup.mjs.map +1 -0
- package/dist/esm/createRadioGroup.native.js +139 -0
- package/dist/esm/createRadioGroup.native.js.map +1 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +12 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +12 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/jsx/RadioGroup.mjs +107 -0
- package/dist/jsx/RadioGroup.mjs.map +1 -0
- package/dist/jsx/RadioGroup.native.js +139 -0
- package/dist/jsx/RadioGroup.native.js.map +1 -0
- package/dist/jsx/RadioGroupStyledContext.mjs +7 -0
- package/dist/jsx/RadioGroupStyledContext.mjs.map +1 -0
- package/dist/jsx/RadioGroupStyledContext.native.js +35 -0
- package/dist/jsx/RadioGroupStyledContext.native.js.map +1 -0
- package/dist/jsx/createRadioGroup.mjs +139 -0
- package/dist/jsx/createRadioGroup.mjs.map +1 -0
- package/dist/jsx/createRadioGroup.native.js +178 -0
- package/dist/jsx/createRadioGroup.native.js.map +1 -0
- package/dist/jsx/index.js +12 -0
- package/dist/jsx/index.js.map +1 -0
- package/dist/jsx/index.mjs +12 -0
- package/dist/jsx/index.mjs.map +1 -0
- package/dist/jsx/index.native.js +41 -0
- package/dist/jsx/index.native.js.map +1 -0
- package/package.json +23 -21
- package/src/RadioGroup.tsx +2 -2
- package/types/RadioGroup.d.ts +3 -3
- package/types/RadioGroup.d.ts.map +1 -0
- package/types/RadioGroupStyledContext.d.ts.map +1 -0
- package/types/createRadioGroup.d.ts +17 -17
- package/types/createRadioGroup.d.ts.map +1 -0
- package/types/index.d.ts +17 -17
- package/types/index.d.ts.map +1 -0
package/types/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export * from './createRadioGroup';
|
|
2
2
|
export * from './RadioGroup';
|
|
3
3
|
export * from './RadioGroupStyledContext';
|
|
4
|
-
export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").
|
|
4
|
+
export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
5
5
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
6
6
|
fullscreen?: boolean | undefined;
|
|
7
7
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
8
|
-
}>, "native" | `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "name" | keyof import("@hanzogui/core").
|
|
8
|
+
}>, "native" | `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "name" | keyof import("@hanzogui/core").RNViewNonStyleProps | "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "value" | "orientation" | keyof import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
9
9
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
10
10
|
fullscreen?: boolean | undefined;
|
|
11
11
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
12
|
-
} & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> | "defaultValue" | "onValueChange" | "required" | "accentColor"> & Omit<import("@hanzogui/core").
|
|
12
|
+
} & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> | "defaultValue" | "onValueChange" | "required" | "accentColor"> & Omit<import("@hanzogui/core").RNViewNonStyleProps, "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "orientation"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
13
13
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
14
14
|
fullscreen?: boolean | undefined;
|
|
15
15
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
@@ -30,15 +30,15 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
30
30
|
name?: string;
|
|
31
31
|
native?: boolean;
|
|
32
32
|
accentColor?: string;
|
|
33
|
-
} & import("react").RefAttributes<import("@hanzogui/web").
|
|
33
|
+
} & import("react").RefAttributes<import("@hanzogui/web").GuiElement>> & import("@hanzogui/web").StaticComponentObject<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
34
34
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
35
35
|
fullscreen?: boolean | undefined;
|
|
36
36
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
37
|
-
}>, "native" | `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "name" | keyof import("@hanzogui/core").
|
|
37
|
+
}>, "native" | `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "name" | keyof import("@hanzogui/core").RNViewNonStyleProps | "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "value" | "orientation" | keyof import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
38
38
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
39
39
|
fullscreen?: boolean | undefined;
|
|
40
40
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
41
|
-
} & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> | "defaultValue" | "onValueChange" | "required" | "accentColor"> & Omit<import("@hanzogui/core").
|
|
41
|
+
} & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> | "defaultValue" | "onValueChange" | "required" | "accentColor"> & Omit<import("@hanzogui/core").RNViewNonStyleProps, "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "orientation"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
42
42
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
43
43
|
fullscreen?: boolean | undefined;
|
|
44
44
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
@@ -59,7 +59,7 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
59
59
|
name?: string;
|
|
60
60
|
native?: boolean;
|
|
61
61
|
accentColor?: string;
|
|
62
|
-
}, import("@hanzogui/web").
|
|
62
|
+
}, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNViewNonStyleProps & Omit<import("@hanzogui/core").RNViewNonStyleProps, "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "orientation"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
63
63
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
64
64
|
fullscreen?: boolean | undefined;
|
|
65
65
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
@@ -85,15 +85,15 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
85
85
|
fullscreen?: boolean | undefined;
|
|
86
86
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
87
87
|
}, import("@hanzogui/web").StaticConfigPublic> & Omit<import("@hanzogui/web").StaticConfigPublic, "staticConfig" | "styleable"> & {
|
|
88
|
-
__tama: [Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").
|
|
88
|
+
__tama: [Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
89
89
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
90
90
|
fullscreen?: boolean | undefined;
|
|
91
91
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
92
|
-
}>, "native" | `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "name" | keyof import("@hanzogui/core").
|
|
92
|
+
}>, "native" | `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "name" | keyof import("@hanzogui/core").RNViewNonStyleProps | "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "value" | "orientation" | keyof import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
93
93
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
94
94
|
fullscreen?: boolean | undefined;
|
|
95
95
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
96
|
-
} & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> | "defaultValue" | "onValueChange" | "required" | "accentColor"> & Omit<import("@hanzogui/core").
|
|
96
|
+
} & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> | "defaultValue" | "onValueChange" | "required" | "accentColor"> & Omit<import("@hanzogui/core").RNViewNonStyleProps, "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "orientation"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
97
97
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
98
98
|
fullscreen?: boolean | undefined;
|
|
99
99
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
@@ -114,7 +114,7 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
114
114
|
name?: string;
|
|
115
115
|
native?: boolean;
|
|
116
116
|
accentColor?: string;
|
|
117
|
-
}, import("@hanzogui/web").
|
|
117
|
+
}, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNViewNonStyleProps & Omit<import("@hanzogui/core").RNViewNonStyleProps, "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "orientation"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
118
118
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
119
119
|
fullscreen?: boolean | undefined;
|
|
120
120
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
@@ -141,7 +141,7 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
141
141
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
142
142
|
}, import("@hanzogui/web").StaticConfigPublic];
|
|
143
143
|
} & {
|
|
144
|
-
Item: import("@hanzogui/web").
|
|
144
|
+
Item: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
145
145
|
disabled?: boolean | undefined;
|
|
146
146
|
unstyled?: boolean | undefined;
|
|
147
147
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
@@ -153,7 +153,7 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
153
153
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
154
154
|
fullscreen?: boolean | undefined;
|
|
155
155
|
size?: import("@hanzogui/web").SizeTokens | undefined;
|
|
156
|
-
} & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> | "labelledBy"> & Omit<import("@hanzogui/core").
|
|
156
|
+
} & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> | "labelledBy"> & Omit<import("@hanzogui/core").RNViewNonStyleProps, "disabled" | "unstyled" | "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "size"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
157
157
|
disabled?: boolean | undefined;
|
|
158
158
|
unstyled?: boolean | undefined;
|
|
159
159
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
@@ -176,7 +176,7 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
176
176
|
id?: string;
|
|
177
177
|
labelledBy?: string;
|
|
178
178
|
disabled?: boolean;
|
|
179
|
-
}, import("@hanzogui/web").
|
|
179
|
+
}, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNViewNonStyleProps & Omit<import("@hanzogui/core").RNViewNonStyleProps, "disabled" | "unstyled" | "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "size"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
180
180
|
disabled?: boolean | undefined;
|
|
181
181
|
unstyled?: boolean | undefined;
|
|
182
182
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
@@ -206,7 +206,7 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
206
206
|
fullscreen?: boolean | undefined;
|
|
207
207
|
size?: import("@hanzogui/web").SizeTokens | undefined;
|
|
208
208
|
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
209
|
-
Indicator: import("@hanzogui/web").
|
|
209
|
+
Indicator: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
210
210
|
unstyled?: boolean | undefined;
|
|
211
211
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
212
212
|
fullscreen?: boolean | undefined;
|
|
@@ -214,7 +214,7 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
214
214
|
unstyled?: boolean | undefined;
|
|
215
215
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
216
216
|
fullscreen?: boolean | undefined;
|
|
217
|
-
} & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> | "forceMount"> & Omit<import("@hanzogui/core").
|
|
217
|
+
} & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> | "forceMount"> & Omit<import("@hanzogui/core").RNViewNonStyleProps, "unstyled" | "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
218
218
|
unstyled?: boolean | undefined;
|
|
219
219
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
220
220
|
fullscreen?: boolean | undefined;
|
|
@@ -229,7 +229,7 @@ export declare const RadioGroup: import("react").ForwardRefExoticComponent<Omit<
|
|
|
229
229
|
}>> & {
|
|
230
230
|
forceMount?: boolean;
|
|
231
231
|
unstyled?: boolean;
|
|
232
|
-
}, import("@hanzogui/web").
|
|
232
|
+
}, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNViewNonStyleProps & Omit<import("@hanzogui/core").RNViewNonStyleProps, "unstyled" | "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
|
|
233
233
|
unstyled?: boolean | undefined;
|
|
234
234
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
235
235
|
fullscreen?: boolean | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,2BAA2B,CAAA;AAEzC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrB,CAAA"}
|