@tamagui/radio-group 1.96.0 → 1.97.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/dist/cjs/RadioGroup.js +23 -248
- package/dist/cjs/RadioGroup.js.map +1 -1
- package/dist/cjs/RadioGroup.native.js +25 -336
- package/dist/cjs/RadioGroup.native.js.map +2 -2
- package/dist/cjs/RadioGroupStyledContext.js +25 -0
- package/dist/cjs/RadioGroupStyledContext.js.map +6 -0
- package/dist/cjs/RadioGroupStyledContext.native.js +29 -0
- package/dist/cjs/RadioGroupStyledContext.native.js.map +6 -0
- package/dist/cjs/createRadioGroup.js +107 -0
- package/dist/cjs/createRadioGroup.js.map +6 -0
- package/dist/cjs/createRadioGroup.native.js +171 -0
- package/dist/cjs/createRadioGroup.native.js.map +6 -0
- package/dist/cjs/index.js +15 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +19 -2
- package/dist/cjs/index.native.js.map +2 -2
- package/dist/esm/RadioGroup.js +20 -248
- package/dist/esm/RadioGroup.js.map +1 -1
- package/dist/esm/RadioGroup.mjs +19 -240
- package/dist/esm/RadioGroup.native.js +20 -334
- package/dist/esm/RadioGroup.native.js.map +2 -2
- package/dist/esm/RadioGroupStyledContext.js +9 -0
- package/dist/esm/RadioGroupStyledContext.js.map +6 -0
- package/dist/esm/RadioGroupStyledContext.mjs +6 -0
- package/dist/esm/RadioGroupStyledContext.native.js +9 -0
- package/dist/esm/RadioGroupStyledContext.native.js.map +6 -0
- package/dist/esm/createRadioGroup.js +104 -0
- package/dist/esm/createRadioGroup.js.map +6 -0
- package/dist/esm/createRadioGroup.mjs +131 -0
- package/dist/esm/createRadioGroup.native.js +155 -0
- package/dist/esm/createRadioGroup.native.js.map +6 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +11 -1
- package/dist/esm/index.native.js +12 -0
- package/dist/esm/index.native.js.map +2 -2
- package/dist/jsx/RadioGroup.js +20 -248
- package/dist/jsx/RadioGroup.js.map +1 -1
- package/dist/jsx/RadioGroup.mjs +19 -240
- package/dist/jsx/RadioGroup.native.js +20 -334
- package/dist/jsx/RadioGroup.native.js.map +2 -2
- package/dist/jsx/RadioGroupStyledContext.js +9 -0
- package/dist/jsx/RadioGroupStyledContext.js.map +6 -0
- package/dist/jsx/RadioGroupStyledContext.mjs +6 -0
- package/dist/jsx/RadioGroupStyledContext.native.js +9 -0
- package/dist/jsx/RadioGroupStyledContext.native.js.map +6 -0
- package/dist/jsx/createRadioGroup.js +104 -0
- package/dist/jsx/createRadioGroup.js.map +6 -0
- package/dist/jsx/createRadioGroup.mjs +131 -0
- package/dist/jsx/createRadioGroup.native.js +155 -0
- package/dist/jsx/createRadioGroup.native.js.map +6 -0
- package/dist/jsx/index.js +16 -0
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +11 -1
- package/dist/jsx/index.native.js +12 -0
- package/dist/jsx/index.native.js.map +2 -2
- package/package.json +14 -14
- package/src/RadioGroup.tsx +22 -432
- package/src/RadioGroupStyledContext.tsx +7 -0
- package/src/createRadioGroup.tsx +201 -0
- package/src/index.ts +15 -0
- package/types/RadioGroup.d.ts +7 -224
- package/types/RadioGroup.d.ts.map +1 -1
- package/types/RadioGroupStyledContext.d.ts +6 -0
- package/types/RadioGroupStyledContext.d.ts.map +1 -0
- package/types/createRadioGroup.d.ts +979 -0
- package/types/createRadioGroup.d.ts.map +1 -0
- package/types/index.d.ts +949 -0
- package/types/index.d.ts.map +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/radio-group/src/RadioGroup.tsx"],
|
|
4
|
-
"mappings": "
|
|
5
|
-
"names": ["
|
|
4
|
+
"mappings": "AAAA,SAASA,kBAAkBC,cAAc;AACzC,SAASC,eAAe;AACxB,SAASC,sBAAsB;AAE/B,IAAMC,wBA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mBAAmB,cAEZC,kBAAkB5C,OAAOE,gBAAgB;EACpDG,MAAMsC;EAENpC,UAAU;IACRsC,aAAa;MACXC,YAAY;QACVC,eAAe;QACfC,gBAAgB;MAClB;MACAC,UAAU;QACRF,eAAe;QACfC,gBAAgB;MAClB;IACF;EACF;AACF,CAAA;",
|
|
5
|
+
"names": ["getVariableValue", "styled", "getSize", "ThemeableStack", "RADIO_GROUP_ITEM_NAME", "RadioGroupItemFrame", "name", "tag", "variants", "unstyled", "false", "size", "borderRadius", "backgroundColor", "alignItems", "justifyContent", "borderWidth", "borderColor", "padding", "hoverStyle", "focusStyle", "focusVisibleStyle", "outlineStyle", "outlineWidth", "outlineColor", "pressStyle", "disabled", "true", "pointerEvents", "userSelect", "cursor", "value", "props", "Math", "floor", "width", "height", "defaultVariants", "process", "env", "TAMAGUI_HEADLESS", "RADIO_GROUP_INDICATOR_NAME", "RadioGroupIndicatorFrame", "pressTheme", "RADIO_GROUP_NAME", "RadioGroupFrame", "orientation", "horizontal", "flexDirection", "spaceDirection", "vertical"]
|
|
6
6
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/radio-group/src/RadioGroupStyledContext.tsx"],
|
|
4
|
+
"mappings": "AACA,SAASA,2BAA2B;AAE7B,IAAMC,0BAA0BD,oBAAoB;EACzDE,MAAM;EACNC,WAAW;AACb,CAAA;",
|
|
5
|
+
"names": ["createStyledContext", "RadioGroupStyledContext", "size", "scaleIcon"]
|
|
6
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { isWeb, withStaticProperties } from "@tamagui/core";
|
|
2
|
+
import {
|
|
3
|
+
RadioGroupFrame,
|
|
4
|
+
RadioGroupIndicatorFrame,
|
|
5
|
+
RadioGroupItemFrame
|
|
6
|
+
} from "./RadioGroup";
|
|
7
|
+
import {
|
|
8
|
+
useRadioGroup,
|
|
9
|
+
useRadioGroupItem,
|
|
10
|
+
useRadioGroupItemIndicator
|
|
11
|
+
} from "@tamagui/radio-headless";
|
|
12
|
+
import { RovingFocusGroup } from "@tamagui/roving-focus";
|
|
13
|
+
import { createContext } from "react";
|
|
14
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
const ensureContext = (x) => {
|
|
16
|
+
x.context || (x.context = RadioGroupContext);
|
|
17
|
+
}, RadioGroupContext = createContext({}), RadioGroupItemContext = createContext({
|
|
18
|
+
checked: !1,
|
|
19
|
+
disabled: !1
|
|
20
|
+
});
|
|
21
|
+
function createRadioGroup(createProps) {
|
|
22
|
+
const {
|
|
23
|
+
disableActiveTheme,
|
|
24
|
+
Frame = RadioGroupFrame,
|
|
25
|
+
Indicator = RadioGroupIndicatorFrame,
|
|
26
|
+
Item = RadioGroupItemFrame
|
|
27
|
+
} = createProps;
|
|
28
|
+
ensureContext(Frame), ensureContext(Indicator), ensureContext(Item);
|
|
29
|
+
const RadioGroupImp = Frame.styleable((props, ref) => {
|
|
30
|
+
const {
|
|
31
|
+
value,
|
|
32
|
+
defaultValue,
|
|
33
|
+
onValueChange,
|
|
34
|
+
required = !1,
|
|
35
|
+
disabled = !1,
|
|
36
|
+
name,
|
|
37
|
+
native,
|
|
38
|
+
accentColor,
|
|
39
|
+
orientation = "vertical",
|
|
40
|
+
...rest
|
|
41
|
+
} = props, { providerValue, frameAttrs, rovingFocusGroupAttrs } = useRadioGroup({
|
|
42
|
+
orientation,
|
|
43
|
+
name,
|
|
44
|
+
defaultValue,
|
|
45
|
+
value,
|
|
46
|
+
onValueChange,
|
|
47
|
+
required,
|
|
48
|
+
disabled,
|
|
49
|
+
native,
|
|
50
|
+
accentColor
|
|
51
|
+
});
|
|
52
|
+
return /* @__PURE__ */ jsx(RadioGroupContext.Provider, { value: providerValue, children: /* @__PURE__ */ jsx(RovingFocusGroup, { ...rovingFocusGroupAttrs, children: /* @__PURE__ */ jsx(RadioGroupFrame, { ...frameAttrs, ref, ...rest }) }) });
|
|
53
|
+
}), RadioGroupItemImp = Item.styleable((props, ref) => {
|
|
54
|
+
const {
|
|
55
|
+
value,
|
|
56
|
+
labelledBy,
|
|
57
|
+
onPress,
|
|
58
|
+
//@ts-expect-error
|
|
59
|
+
onKeyDown,
|
|
60
|
+
disabled,
|
|
61
|
+
id,
|
|
62
|
+
...rest
|
|
63
|
+
} = props, {
|
|
64
|
+
providerValue,
|
|
65
|
+
bubbleInput,
|
|
66
|
+
rovingFocusGroupAttrs,
|
|
67
|
+
frameAttrs,
|
|
68
|
+
isFormControl,
|
|
69
|
+
native
|
|
70
|
+
} = useRadioGroupItem({
|
|
71
|
+
radioGroupContext: RadioGroupContext,
|
|
72
|
+
value,
|
|
73
|
+
id,
|
|
74
|
+
labelledBy,
|
|
75
|
+
disabled,
|
|
76
|
+
onPress,
|
|
77
|
+
onKeyDown
|
|
78
|
+
});
|
|
79
|
+
return /* @__PURE__ */ jsx(RadioGroupItemContext.Provider, { value: providerValue, children: isWeb && native ? bubbleInput : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
80
|
+
/* @__PURE__ */ jsx(RovingFocusGroup.Item, { ...rovingFocusGroupAttrs, children: /* @__PURE__ */ jsx(RadioGroupItemFrame, { ...frameAttrs, ref, ...rest }) }),
|
|
81
|
+
isFormControl && bubbleInput
|
|
82
|
+
] }) });
|
|
83
|
+
});
|
|
84
|
+
RadioGroupItemImp.displayName = "RadioGroupItem";
|
|
85
|
+
const RadioIndicator = Indicator.styleable(
|
|
86
|
+
(props, forwardedRef) => {
|
|
87
|
+
const { forceMount, disabled, ...indicatorProps } = props, { checked, ...useIndicatorRest } = useRadioGroupItemIndicator({
|
|
88
|
+
radioGroupItemContext: RadioGroupItemContext,
|
|
89
|
+
disabled
|
|
90
|
+
});
|
|
91
|
+
return forceMount || checked ? /* @__PURE__ */ jsx(Indicator, { ...useIndicatorRest, ref: forwardedRef, ...indicatorProps }) : null;
|
|
92
|
+
}
|
|
93
|
+
);
|
|
94
|
+
RadioIndicator.displayName = "RadioIndicator";
|
|
95
|
+
const RadioGroup = withStaticProperties(RadioGroupImp, {
|
|
96
|
+
Item: RadioGroupItemImp,
|
|
97
|
+
Indicator: RadioIndicator
|
|
98
|
+
});
|
|
99
|
+
return RadioGroup.displayName = "RadioGroup", RadioGroup;
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
createRadioGroup
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=createRadioGroup.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/createRadioGroup.tsx"],
|
|
4
|
+
"mappings": "AAKA,SAAS,OAAO,4BAA4B;AAE5C;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAaP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,wBAAwB;AACjC,SAAS,qBAAqB;AA4FpB,SAwCA,UAxCA,KAwCA,YAxCA;AA7GV,MAAM,gBAAgB,CAAC,MAAW;AAChC,EAAK,EAAE,YACL,EAAE,UAAU;AAEhB,GAcM,oBAAoB,cAAsC,CAAC,CAAC,GAC5D,wBAAwB,cAA0C;AAAA,EACtE,SAAS;AAAA,EACT,UAAU;AACZ,CAAC;AA0BM,SAAS,iBAId,aAAmF;AACnF,QAAM;AAAA,IACJ;AAAA,IACA,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ,OAAO;AAAA,EACT,IAAI;AAOJ,gBAAc,KAAK,GACnB,cAAc,SAAS,GACvB,cAAc,IAAI;AAalB,QAAM,gBAAgB,MAAM,UAA2B,CAAC,OAAO,QAAQ;AACrE,UAAM;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA,WAAW;AAAA,MACX,WAAW;AAAA,MACX;AAAA,MACA;AAAA,MACA;AAAA,MACA,cAAc;AAAA,MACd,GAAG;AAAA,IACL,IAAI,OAEE,EAAE,eAAe,YAAY,sBAAsB,IAAI,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c;AAE7B,QAAM,aAAa,qBAAqB,eAAe;AAAA,IACrD,MAAM;AAAA,IACN,WAAW;AAAA,EACb,CAAC;AACD,oBAAW,cAAc,cAElB;AACT;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { isWeb, withStaticProperties } from "@tamagui/core";
|
|
2
|
+
import { RadioGroupFrame, RadioGroupIndicatorFrame, RadioGroupItemFrame } from "./RadioGroup.mjs";
|
|
3
|
+
import { useRadioGroup, useRadioGroupItem, useRadioGroupItemIndicator } from "@tamagui/radio-headless";
|
|
4
|
+
import { RovingFocusGroup } from "@tamagui/roving-focus";
|
|
5
|
+
import { createContext } from "react";
|
|
6
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
const ensureContext = x => {
|
|
8
|
+
x.context || (x.context = RadioGroupContext);
|
|
9
|
+
},
|
|
10
|
+
RadioGroupContext = createContext({}),
|
|
11
|
+
RadioGroupItemContext = createContext({
|
|
12
|
+
checked: !1,
|
|
13
|
+
disabled: !1
|
|
14
|
+
});
|
|
15
|
+
function createRadioGroup(createProps) {
|
|
16
|
+
const {
|
|
17
|
+
disableActiveTheme,
|
|
18
|
+
Frame = RadioGroupFrame,
|
|
19
|
+
Indicator = RadioGroupIndicatorFrame,
|
|
20
|
+
Item = RadioGroupItemFrame
|
|
21
|
+
} = createProps;
|
|
22
|
+
ensureContext(Frame), ensureContext(Indicator), ensureContext(Item);
|
|
23
|
+
const RadioGroupImp = Frame.styleable((props, ref) => {
|
|
24
|
+
const {
|
|
25
|
+
value,
|
|
26
|
+
defaultValue,
|
|
27
|
+
onValueChange,
|
|
28
|
+
required = !1,
|
|
29
|
+
disabled = !1,
|
|
30
|
+
name,
|
|
31
|
+
native,
|
|
32
|
+
accentColor,
|
|
33
|
+
orientation = "vertical",
|
|
34
|
+
...rest
|
|
35
|
+
} = props,
|
|
36
|
+
{
|
|
37
|
+
providerValue,
|
|
38
|
+
frameAttrs,
|
|
39
|
+
rovingFocusGroupAttrs
|
|
40
|
+
} = useRadioGroup({
|
|
41
|
+
orientation,
|
|
42
|
+
name,
|
|
43
|
+
defaultValue,
|
|
44
|
+
value,
|
|
45
|
+
onValueChange,
|
|
46
|
+
required,
|
|
47
|
+
disabled,
|
|
48
|
+
native,
|
|
49
|
+
accentColor
|
|
50
|
+
});
|
|
51
|
+
return /* @__PURE__ */jsx(RadioGroupContext.Provider, {
|
|
52
|
+
value: providerValue,
|
|
53
|
+
children: /* @__PURE__ */jsx(RovingFocusGroup, {
|
|
54
|
+
...rovingFocusGroupAttrs,
|
|
55
|
+
children: /* @__PURE__ */jsx(RadioGroupFrame, {
|
|
56
|
+
...frameAttrs,
|
|
57
|
+
ref,
|
|
58
|
+
...rest
|
|
59
|
+
})
|
|
60
|
+
})
|
|
61
|
+
});
|
|
62
|
+
}),
|
|
63
|
+
RadioGroupItemImp = Item.styleable((props, ref) => {
|
|
64
|
+
const {
|
|
65
|
+
value,
|
|
66
|
+
labelledBy,
|
|
67
|
+
onPress,
|
|
68
|
+
//@ts-expect-error
|
|
69
|
+
onKeyDown,
|
|
70
|
+
disabled,
|
|
71
|
+
id,
|
|
72
|
+
...rest
|
|
73
|
+
} = props,
|
|
74
|
+
{
|
|
75
|
+
providerValue,
|
|
76
|
+
bubbleInput,
|
|
77
|
+
rovingFocusGroupAttrs,
|
|
78
|
+
frameAttrs,
|
|
79
|
+
isFormControl,
|
|
80
|
+
native
|
|
81
|
+
} = useRadioGroupItem({
|
|
82
|
+
radioGroupContext: RadioGroupContext,
|
|
83
|
+
value,
|
|
84
|
+
id,
|
|
85
|
+
labelledBy,
|
|
86
|
+
disabled,
|
|
87
|
+
onPress,
|
|
88
|
+
onKeyDown
|
|
89
|
+
});
|
|
90
|
+
return /* @__PURE__ */jsx(RadioGroupItemContext.Provider, {
|
|
91
|
+
value: providerValue,
|
|
92
|
+
children: isWeb && native ? bubbleInput : /* @__PURE__ */jsxs(Fragment, {
|
|
93
|
+
children: [/* @__PURE__ */jsx(RovingFocusGroup.Item, {
|
|
94
|
+
...rovingFocusGroupAttrs,
|
|
95
|
+
children: /* @__PURE__ */jsx(RadioGroupItemFrame, {
|
|
96
|
+
...frameAttrs,
|
|
97
|
+
ref,
|
|
98
|
+
...rest
|
|
99
|
+
})
|
|
100
|
+
}), isFormControl && bubbleInput]
|
|
101
|
+
})
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
RadioGroupItemImp.displayName = "RadioGroupItem";
|
|
105
|
+
const RadioIndicator = Indicator.styleable((props, forwardedRef) => {
|
|
106
|
+
const {
|
|
107
|
+
forceMount,
|
|
108
|
+
disabled,
|
|
109
|
+
...indicatorProps
|
|
110
|
+
} = props,
|
|
111
|
+
{
|
|
112
|
+
checked,
|
|
113
|
+
...useIndicatorRest
|
|
114
|
+
} = useRadioGroupItemIndicator({
|
|
115
|
+
radioGroupItemContext: RadioGroupItemContext,
|
|
116
|
+
disabled
|
|
117
|
+
});
|
|
118
|
+
return forceMount || checked ? /* @__PURE__ */jsx(Indicator, {
|
|
119
|
+
...useIndicatorRest,
|
|
120
|
+
ref: forwardedRef,
|
|
121
|
+
...indicatorProps
|
|
122
|
+
}) : null;
|
|
123
|
+
});
|
|
124
|
+
RadioIndicator.displayName = "RadioIndicator";
|
|
125
|
+
const RadioGroup = withStaticProperties(RadioGroupImp, {
|
|
126
|
+
Item: RadioGroupItemImp,
|
|
127
|
+
Indicator: RadioIndicator
|
|
128
|
+
});
|
|
129
|
+
return RadioGroup.displayName = "RadioGroup", RadioGroup;
|
|
130
|
+
}
|
|
131
|
+
export { createRadioGroup };
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { isWeb, withStaticProperties } from "@tamagui/core";
|
|
3
|
+
import { RadioGroupFrame, RadioGroupIndicatorFrame, RadioGroupItemFrame } from "./RadioGroup";
|
|
4
|
+
import { useRadioGroup, useRadioGroupItem, useRadioGroupItemIndicator } from "@tamagui/radio-headless";
|
|
5
|
+
import { RovingFocusGroup } from "@tamagui/roving-focus";
|
|
6
|
+
import { createContext } from "react";
|
|
7
|
+
function _define_property(obj, key, value) {
|
|
8
|
+
return key in obj ? Object.defineProperty(obj, key, {
|
|
9
|
+
value,
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
configurable: !0,
|
|
12
|
+
writable: !0
|
|
13
|
+
}) : obj[key] = value, obj;
|
|
14
|
+
}
|
|
15
|
+
function _object_spread(target) {
|
|
16
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
17
|
+
var source = arguments[i] != null ? arguments[i] : {}, ownKeys2 = Object.keys(source);
|
|
18
|
+
typeof Object.getOwnPropertySymbols == "function" && (ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
19
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
20
|
+
}))), ownKeys2.forEach(function(key) {
|
|
21
|
+
_define_property(target, key, source[key]);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
return target;
|
|
25
|
+
}
|
|
26
|
+
function ownKeys(object, enumerableOnly) {
|
|
27
|
+
var keys = Object.keys(object);
|
|
28
|
+
if (Object.getOwnPropertySymbols) {
|
|
29
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
30
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
31
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
32
|
+
})), keys.push.apply(keys, symbols);
|
|
33
|
+
}
|
|
34
|
+
return keys;
|
|
35
|
+
}
|
|
36
|
+
function _object_spread_props(target, source) {
|
|
37
|
+
return source = source ?? {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
38
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
39
|
+
}), target;
|
|
40
|
+
}
|
|
41
|
+
function _object_without_properties(source, excluded) {
|
|
42
|
+
if (source == null)
|
|
43
|
+
return {};
|
|
44
|
+
var target = _object_without_properties_loose(source, excluded), key, i;
|
|
45
|
+
if (Object.getOwnPropertySymbols) {
|
|
46
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
47
|
+
for (i = 0; i < sourceSymbolKeys.length; i++)
|
|
48
|
+
key = sourceSymbolKeys[i], !(excluded.indexOf(key) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]);
|
|
49
|
+
}
|
|
50
|
+
return target;
|
|
51
|
+
}
|
|
52
|
+
function _object_without_properties_loose(source, excluded) {
|
|
53
|
+
if (source == null)
|
|
54
|
+
return {};
|
|
55
|
+
var target = {}, sourceKeys = Object.keys(source), key, i;
|
|
56
|
+
for (i = 0; i < sourceKeys.length; i++)
|
|
57
|
+
key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
|
|
58
|
+
return target;
|
|
59
|
+
}
|
|
60
|
+
var ensureContext = function(x) {
|
|
61
|
+
x.context || (x.context = RadioGroupContext);
|
|
62
|
+
}, RadioGroupContext = /* @__PURE__ */ createContext({}), RadioGroupItemContext = /* @__PURE__ */ createContext({
|
|
63
|
+
checked: !1,
|
|
64
|
+
disabled: !1
|
|
65
|
+
});
|
|
66
|
+
function createRadioGroup(createProps) {
|
|
67
|
+
var disableActiveTheme = createProps.disableActiveTheme, _createProps_Frame = createProps.Frame, Frame = _createProps_Frame === void 0 ? RadioGroupFrame : _createProps_Frame, _createProps_Indicator = createProps.Indicator, Indicator = _createProps_Indicator === void 0 ? RadioGroupIndicatorFrame : _createProps_Indicator, _createProps_Item = createProps.Item, Item = _createProps_Item === void 0 ? RadioGroupItemFrame : _createProps_Item;
|
|
68
|
+
ensureContext(Frame), ensureContext(Indicator), ensureContext(Item);
|
|
69
|
+
var RadioGroupImp = Frame.styleable(function(props, ref) {
|
|
70
|
+
var value = props.value, defaultValue = props.defaultValue, onValueChange = props.onValueChange, _props_required = props.required, required = _props_required === void 0 ? !1 : _props_required, _props_disabled = props.disabled, disabled = _props_disabled === void 0 ? !1 : _props_disabled, name = props.name, native = props.native, accentColor = props.accentColor, _props_orientation = props.orientation, orientation = _props_orientation === void 0 ? "vertical" : _props_orientation, rest = _object_without_properties(props, [
|
|
71
|
+
"value",
|
|
72
|
+
"defaultValue",
|
|
73
|
+
"onValueChange",
|
|
74
|
+
"required",
|
|
75
|
+
"disabled",
|
|
76
|
+
"name",
|
|
77
|
+
"native",
|
|
78
|
+
"accentColor",
|
|
79
|
+
"orientation"
|
|
80
|
+
]), _useRadioGroup = useRadioGroup({
|
|
81
|
+
orientation,
|
|
82
|
+
name,
|
|
83
|
+
defaultValue,
|
|
84
|
+
value,
|
|
85
|
+
onValueChange,
|
|
86
|
+
required,
|
|
87
|
+
disabled,
|
|
88
|
+
native,
|
|
89
|
+
accentColor
|
|
90
|
+
}), providerValue = _useRadioGroup.providerValue, frameAttrs = _useRadioGroup.frameAttrs, rovingFocusGroupAttrs = _useRadioGroup.rovingFocusGroupAttrs;
|
|
91
|
+
return /* @__PURE__ */ _jsx(RadioGroupContext.Provider, {
|
|
92
|
+
value: providerValue,
|
|
93
|
+
children: /* @__PURE__ */ _jsx(RovingFocusGroup, _object_spread_props(_object_spread({}, rovingFocusGroupAttrs), {
|
|
94
|
+
children: /* @__PURE__ */ _jsx(RadioGroupFrame, _object_spread(_object_spread_props(_object_spread({}, frameAttrs), {
|
|
95
|
+
ref
|
|
96
|
+
}), rest))
|
|
97
|
+
}))
|
|
98
|
+
});
|
|
99
|
+
}), RadioGroupItemImp = Item.styleable(function(props, ref) {
|
|
100
|
+
var value = props.value, labelledBy = props.labelledBy, onPress = props.onPress, onKeyDown = props.onKeyDown, disabled = props.disabled, id = props.id, rest = _object_without_properties(props, [
|
|
101
|
+
"value",
|
|
102
|
+
"labelledBy",
|
|
103
|
+
"onPress",
|
|
104
|
+
"onKeyDown",
|
|
105
|
+
"disabled",
|
|
106
|
+
"id"
|
|
107
|
+
]), _useRadioGroupItem = useRadioGroupItem({
|
|
108
|
+
radioGroupContext: RadioGroupContext,
|
|
109
|
+
value,
|
|
110
|
+
id,
|
|
111
|
+
labelledBy,
|
|
112
|
+
disabled,
|
|
113
|
+
onPress,
|
|
114
|
+
onKeyDown
|
|
115
|
+
}), providerValue = _useRadioGroupItem.providerValue, bubbleInput = _useRadioGroupItem.bubbleInput, rovingFocusGroupAttrs = _useRadioGroupItem.rovingFocusGroupAttrs, frameAttrs = _useRadioGroupItem.frameAttrs, isFormControl = _useRadioGroupItem.isFormControl, native = _useRadioGroupItem.native;
|
|
116
|
+
return /* @__PURE__ */ _jsx(RadioGroupItemContext.Provider, {
|
|
117
|
+
value: providerValue,
|
|
118
|
+
children: isWeb && native ? bubbleInput : /* @__PURE__ */ _jsxs(_Fragment, {
|
|
119
|
+
children: [
|
|
120
|
+
/* @__PURE__ */ _jsx(RovingFocusGroup.Item, _object_spread_props(_object_spread({}, rovingFocusGroupAttrs), {
|
|
121
|
+
children: /* @__PURE__ */ _jsx(RadioGroupItemFrame, _object_spread(_object_spread_props(_object_spread({}, frameAttrs), {
|
|
122
|
+
ref
|
|
123
|
+
}), rest))
|
|
124
|
+
})),
|
|
125
|
+
isFormControl && bubbleInput
|
|
126
|
+
]
|
|
127
|
+
})
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
RadioGroupItemImp.displayName = "RadioGroupItem";
|
|
131
|
+
var RadioIndicator = Indicator.styleable(function(props, forwardedRef) {
|
|
132
|
+
var forceMount = props.forceMount, disabled = props.disabled, indicatorProps = _object_without_properties(props, [
|
|
133
|
+
"forceMount",
|
|
134
|
+
"disabled"
|
|
135
|
+
]), _useRadioGroupItemIndicator = useRadioGroupItemIndicator({
|
|
136
|
+
radioGroupItemContext: RadioGroupItemContext,
|
|
137
|
+
disabled
|
|
138
|
+
}), checked = _useRadioGroupItemIndicator.checked, useIndicatorRest = _object_without_properties(_useRadioGroupItemIndicator, [
|
|
139
|
+
"checked"
|
|
140
|
+
]);
|
|
141
|
+
return forceMount || checked ? /* @__PURE__ */ _jsx(Indicator, _object_spread(_object_spread_props(_object_spread({}, useIndicatorRest), {
|
|
142
|
+
ref: forwardedRef
|
|
143
|
+
}), indicatorProps)) : null;
|
|
144
|
+
});
|
|
145
|
+
RadioIndicator.displayName = "RadioIndicator";
|
|
146
|
+
var RadioGroup = withStaticProperties(RadioGroupImp, {
|
|
147
|
+
Item: RadioGroupItemImp,
|
|
148
|
+
Indicator: RadioIndicator
|
|
149
|
+
});
|
|
150
|
+
return RadioGroup.displayName = "RadioGroup", RadioGroup;
|
|
151
|
+
}
|
|
152
|
+
export {
|
|
153
|
+
createRadioGroup
|
|
154
|
+
};
|
|
155
|
+
//# sourceMappingURL=createRadioGroup.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/radio-group/src/createRadioGroup.tsx"],
|
|
4
|
+
"mappings": ";AAKA,SAASA,OAAOC,4BAA4B;AAE5C,SACEC,iBACAC,0BACAC,2BACK;AAaP,SACEC,eACAC,mBACAC,kCACK;AACP,SAASC,wBAAwB;AACjC,SAASC,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjB9B,IAAMC,gBAAgB,SAACC,GAAAA;AACrB,EAAKA,EAAEC,YACLD,EAAEC,UAAUC;AAEhB,GAcMA,oBAAoBJ,8BAAsC,CAAC,CAAA,GAC3DK,wBAAwBL,8BAA0C;EACtEM,SAAS;EACTC,UAAU;AACZ,CAAA;AA0BO,SAASC,iBAIdC,aAAiF;AACjF,MACEC,qBAIED,YAJFC,oBAAAA,qBAIED,YAHFE,OAAAA,QAAAA,uBAAAA,SAAQlB,kBAAAA,oBAAAA,yBAGNgB,YAFFG,WAAAA,YAAAA,2BAAAA,SAAYlB,2BAAAA,w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rame", "RadioGroupIndicatorFrame", "RadioGroupItemFrame", "useRadioGroup", "useRadioGroupItem", "useRadioGroupItemIndicator", "RovingFocusGroup", "createContext", "ensureContext", "x", "context", "RadioGroupContext", "RadioGroupItemContext", "checked", "disabled", "createRadioGroup", "createProps", "disableActiveTheme", "Frame", "Indicator", "Item", "RadioGroupImp", "styleable", "props", "ref", "value", "defaultValue", "onValueChange", "required", "name", "native", "accentColor", "orientation", "rest", "providerValue", "frameAttrs", "rovingFocusGroupAttrs", "Provider", "RadioGroupItemImp", "labelledBy", "onPress", "onKeyDown", "id", "radioGroupContext", "bubbleInput", "isFormControl", "displayName", "RadioIndicator", "forwardedRef", "forceMount", "indicatorProps", "radioGroupItemContext", "useIndicatorRest", "RadioGroup"]
|
|
6
|
+
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RadioGroupFrame,
|
|
3
|
+
RadioGroupIndicatorFrame,
|
|
4
|
+
RadioGroupItemFrame
|
|
5
|
+
} from "./RadioGroup";
|
|
6
|
+
import { createRadioGroup } from "./createRadioGroup";
|
|
7
|
+
export * from "./createRadioGroup";
|
|
1
8
|
export * from "./RadioGroup";
|
|
9
|
+
export * from "./RadioGroupStyledContext";
|
|
10
|
+
const RadioGroup = createRadioGroup({
|
|
11
|
+
Frame: RadioGroupFrame,
|
|
12
|
+
Indicator: RadioGroupIndicatorFrame,
|
|
13
|
+
Item: RadioGroupItemFrame
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
RadioGroup
|
|
17
|
+
};
|
|
2
18
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": "AAAA,cAAc;",
|
|
4
|
+
"mappings": "AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,wBAAwB;AAEjC,cAAc;AACd,cAAc;AACd,cAAc;AAEP,MAAM,aAAa,iBAAiB;AAAA,EACzC,OAAO;AAAA,EACP,WAAW;AAAA,EACX,MAAM;AACR,CAAC;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { RadioGroupFrame, RadioGroupIndicatorFrame, RadioGroupItemFrame } from "./RadioGroup.mjs";
|
|
2
|
+
import { createRadioGroup } from "./createRadioGroup.mjs";
|
|
3
|
+
export * from "./createRadioGroup.mjs";
|
|
4
|
+
export * from "./RadioGroup.mjs";
|
|
5
|
+
export * from "./RadioGroupStyledContext.mjs";
|
|
6
|
+
const RadioGroup = createRadioGroup({
|
|
7
|
+
Frame: RadioGroupFrame,
|
|
8
|
+
Indicator: RadioGroupIndicatorFrame,
|
|
9
|
+
Item: RadioGroupItemFrame
|
|
10
|
+
});
|
|
11
|
+
export { RadioGroup };
|
package/dist/esm/index.native.js
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
+
import { RadioGroupFrame, RadioGroupIndicatorFrame, RadioGroupItemFrame } from "./RadioGroup";
|
|
2
|
+
import { createRadioGroup } from "./createRadioGroup";
|
|
3
|
+
export * from "./createRadioGroup";
|
|
1
4
|
export * from "./RadioGroup";
|
|
5
|
+
export * from "./RadioGroupStyledContext";
|
|
6
|
+
var RadioGroup = createRadioGroup({
|
|
7
|
+
Frame: RadioGroupFrame,
|
|
8
|
+
Indicator: RadioGroupIndicatorFrame,
|
|
9
|
+
Item: RadioGroupItemFrame
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
RadioGroup
|
|
13
|
+
};
|
|
2
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/radio-group/src/index.ts"],
|
|
4
|
-
"mappings": "AAAA,cAAc;",
|
|
5
|
-
"names": []
|
|
4
|
+
"mappings": "AAAA,SACEA,iBACAC,0BACAC,2BACK;AACP,SAASC,wBAAwB;AAEjC,cAAc;AACd,cAAc;AACd,cAAc;AAEP,IAAMC,aAAaD,iBAAiB;EACzCE,OAAOL;EACPM,WAAWL;EACXM,MAAML;AACR,CAAA;",
|
|
5
|
+
"names": ["RadioGroupFrame", "RadioGroupIndicatorFrame", "RadioGroupItemFrame", "createRadioGroup", "RadioGroup", "Frame", "Indicator", "Item"]
|
|
6
6
|
}
|