@tamagui/radio-group 1.89.0 → 1.89.2
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/dist/esm/RadioGroup.js +1 -1
- package/dist/jsx/RadioGroup.js +1 -1
- package/package.json +14 -14
- package/src/RadioGroup.tsx +1 -1
- package/types/RadioGroup.d.ts +25 -1
- package/types/RadioGroup.d.ts.map +1 -1
package/dist/esm/RadioGroup.js
CHANGED
|
@@ -2,7 +2,7 @@ import { useComposedRefs } from "@tamagui/compose-refs";
|
|
|
2
2
|
import { isWeb } from "@tamagui/constants";
|
|
3
3
|
import { getVariableValue, styled } from "@tamagui/core";
|
|
4
4
|
import { createContextScope } from "@tamagui/create-context";
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
import { getSize } from "@tamagui/get-token";
|
|
7
7
|
import { composeEventHandlers, withStaticProperties } from "@tamagui/helpers";
|
|
8
8
|
import { useLabelContext } from "@tamagui/label";
|
package/dist/jsx/RadioGroup.js
CHANGED
|
@@ -2,7 +2,7 @@ import { useComposedRefs } from "@tamagui/compose-refs";
|
|
|
2
2
|
import { isWeb } from "@tamagui/constants";
|
|
3
3
|
import { getVariableValue, styled } from "@tamagui/core";
|
|
4
4
|
import { createContextScope } from "@tamagui/create-context";
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
import { getSize } from "@tamagui/get-token";
|
|
7
7
|
import { composeEventHandlers, withStaticProperties } from "@tamagui/helpers";
|
|
8
8
|
import { useLabelContext } from "@tamagui/label";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/radio-group",
|
|
3
|
-
"version": "1.89.
|
|
3
|
+
"version": "1.89.2",
|
|
4
4
|
"removeSideEffects": true,
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -33,24 +33,24 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@tamagui/compose-refs": "1.89.
|
|
37
|
-
"@tamagui/constants": "1.89.
|
|
38
|
-
"@tamagui/core": "1.89.
|
|
39
|
-
"@tamagui/create-context": "1.89.
|
|
40
|
-
"@tamagui/focusable": "1.89.
|
|
41
|
-
"@tamagui/get-token": "1.89.
|
|
42
|
-
"@tamagui/helpers": "1.89.
|
|
43
|
-
"@tamagui/label": "1.89.
|
|
44
|
-
"@tamagui/roving-focus": "1.89.
|
|
45
|
-
"@tamagui/stacks": "1.89.
|
|
46
|
-
"@tamagui/use-controllable-state": "1.89.
|
|
47
|
-
"@tamagui/use-previous": "1.89.
|
|
36
|
+
"@tamagui/compose-refs": "1.89.2",
|
|
37
|
+
"@tamagui/constants": "1.89.2",
|
|
38
|
+
"@tamagui/core": "1.89.2",
|
|
39
|
+
"@tamagui/create-context": "1.89.2",
|
|
40
|
+
"@tamagui/focusable": "1.89.2",
|
|
41
|
+
"@tamagui/get-token": "1.89.2",
|
|
42
|
+
"@tamagui/helpers": "1.89.2",
|
|
43
|
+
"@tamagui/label": "1.89.2",
|
|
44
|
+
"@tamagui/roving-focus": "1.89.2",
|
|
45
|
+
"@tamagui/stacks": "1.89.2",
|
|
46
|
+
"@tamagui/use-controllable-state": "1.89.2",
|
|
47
|
+
"@tamagui/use-previous": "1.89.2"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react": "*"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@tamagui/build": "1.89.
|
|
53
|
+
"@tamagui/build": "1.89.2",
|
|
54
54
|
"react": "^18.2.0"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
package/src/RadioGroup.tsx
CHANGED
package/types/RadioGroup.d.ts
CHANGED
|
@@ -2,6 +2,30 @@ import type { GetProps } from '@tamagui/core';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import type { View } from 'react-native';
|
|
4
4
|
declare const createRadioGroupScope: import("@tamagui/create-context").CreateScope;
|
|
5
|
+
declare const RadioGroupItemFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
6
|
+
unstyled?: boolean | undefined;
|
|
7
|
+
pressTheme?: boolean | undefined;
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
10
|
+
transparent?: boolean | undefined;
|
|
11
|
+
fullscreen?: boolean | undefined;
|
|
12
|
+
circular?: boolean | undefined;
|
|
13
|
+
hoverTheme?: boolean | undefined;
|
|
14
|
+
focusTheme?: boolean | undefined;
|
|
15
|
+
elevate?: boolean | undefined;
|
|
16
|
+
bordered?: number | boolean | undefined;
|
|
17
|
+
backgrounded?: boolean | undefined;
|
|
18
|
+
radiused?: boolean | undefined;
|
|
19
|
+
padded?: boolean | undefined;
|
|
20
|
+
chromeless?: boolean | "all" | undefined;
|
|
21
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
22
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
23
|
+
type RadioGroupItemProps = GetProps<typeof RadioGroupItemFrame> & {
|
|
24
|
+
value: string;
|
|
25
|
+
id?: string;
|
|
26
|
+
labelledBy?: string;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
};
|
|
5
29
|
type TamaguiElement = HTMLElement | View;
|
|
6
30
|
declare const RadioGroupFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
7
31
|
pressTheme?: boolean | undefined;
|
|
@@ -192,5 +216,5 @@ declare const RadioGroup: React.ForwardRefExoticComponent<Omit<import("@tamagui/
|
|
|
192
216
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
193
217
|
};
|
|
194
218
|
export { createRadioGroupScope, RadioGroup };
|
|
195
|
-
export type { RadioGroupProps };
|
|
219
|
+
export type { RadioGroupProps, RadioGroupItemProps };
|
|
196
220
|
//# sourceMappingURL=RadioGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../src/RadioGroup.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAY7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAMxC,QAAA,MAAgC,qBAAqB,+CACf,CAAA;
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../src/RadioGroup.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAY7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAMxC,QAAA,MAAgC,qBAAqB,+CACf,CAAA;AA2FtC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;8CA0EvB,CAAA;AAEF,KAAK,mBAAmB,GAAG,QAAQ,CAAC,OAAO,mBAAmB,CAAC,GAAG;IAChE,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAgPD,KAAK,cAAc,GAAG,WAAW,GAAG,IAAI,CAAA;AAIxC,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;8CAenB,CAAA;AAEF,KAAK,eAAe,GAAG,QAAQ,CAAC,OAAO,eAAe,CAAC,GAAG;IACxD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,a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