@tamagui/roving-focus 1.89.28 → 1.89.29
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/RovingFocusGroup.native.js +41 -3
- package/dist/cjs/RovingFocusGroup.native.js.map +2 -2
- package/dist/esm/RovingFocusGroup.native.js +41 -2
- package/dist/esm/RovingFocusGroup.native.js.map +1 -1
- package/dist/jsx/RovingFocusGroup.native.js +41 -2
- package/dist/jsx/RovingFocusGroup.native.js.map +1 -1
- package/package.json +11 -11
|
@@ -27,7 +27,41 @@ __export(RovingFocusGroup_native_exports, {
|
|
|
27
27
|
createRovingFocusGroupScope: () => createRovingFocusGroupScope
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(RovingFocusGroup_native_exports);
|
|
30
|
-
var import_core = require("@tamagui/core"), import_helpers = require("@tamagui/helpers"), import_react = __toESM(require("react"));
|
|
30
|
+
var import_jsx_runtime = require("react/jsx-runtime"), import_core = require("@tamagui/core"), import_helpers = require("@tamagui/helpers"), import_react = __toESM(require("react"));
|
|
31
|
+
function _define_property(obj, key, value) {
|
|
32
|
+
return key in obj ? Object.defineProperty(obj, key, {
|
|
33
|
+
value,
|
|
34
|
+
enumerable: !0,
|
|
35
|
+
configurable: !0,
|
|
36
|
+
writable: !0
|
|
37
|
+
}) : obj[key] = value, obj;
|
|
38
|
+
}
|
|
39
|
+
function _object_spread(target) {
|
|
40
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
41
|
+
var source = arguments[i] != null ? arguments[i] : {}, ownKeys2 = Object.keys(source);
|
|
42
|
+
typeof Object.getOwnPropertySymbols == "function" && (ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
43
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
44
|
+
}))), ownKeys2.forEach(function(key) {
|
|
45
|
+
_define_property(target, key, source[key]);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
return target;
|
|
49
|
+
}
|
|
50
|
+
function ownKeys(object, enumerableOnly) {
|
|
51
|
+
var keys = Object.keys(object);
|
|
52
|
+
if (Object.getOwnPropertySymbols) {
|
|
53
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
54
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
55
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
56
|
+
})), keys.push.apply(keys, symbols);
|
|
57
|
+
}
|
|
58
|
+
return keys;
|
|
59
|
+
}
|
|
60
|
+
function _object_spread_props(target, source) {
|
|
61
|
+
return source = source ?? {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
62
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
63
|
+
}), target;
|
|
64
|
+
}
|
|
31
65
|
function _object_without_properties(source, excluded) {
|
|
32
66
|
if (source == null)
|
|
33
67
|
return {};
|
|
@@ -51,14 +85,18 @@ var ITEM_NAME = "RovingFocusGroupItem", RovingFocusGroupItem = /* @__PURE__ */ i
|
|
|
51
85
|
var children = _param.children, props = _object_without_properties(_param, [
|
|
52
86
|
"children"
|
|
53
87
|
]);
|
|
54
|
-
return /* @__PURE__ */
|
|
88
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.Stack, _object_spread_props(_object_spread({}, props), {
|
|
89
|
+
children
|
|
90
|
+
}));
|
|
55
91
|
});
|
|
56
92
|
RovingFocusGroupItem.displayName = ITEM_NAME;
|
|
57
93
|
var GROUP_NAME = "RovingFocusGroup", RovingFocusGroup = (0, import_helpers.withStaticProperties)(/* @__PURE__ */ import_react.default.forwardRef(function(_param, _ref) {
|
|
58
94
|
var children = _param.children, props = _object_without_properties(_param, [
|
|
59
95
|
"children"
|
|
60
96
|
]);
|
|
61
|
-
return /* @__PURE__ */
|
|
97
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.Stack, _object_spread_props(_object_spread({}, props), {
|
|
98
|
+
children
|
|
99
|
+
}));
|
|
62
100
|
}), {
|
|
63
101
|
Item: RovingFocusGroupItem
|
|
64
102
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/roving-focus/src/RovingFocusGroup.native.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
5
|
-
"names": ["ITEM_NAME", "RovingFocusGroupItem", "React", "forwardRef", "_ref", "children", "props", "Stack", "displayName", "GROUP_NAME", "RovingFocusGroup", "withStaticProperties", "Item", "createRovingFocusGroupScope"]
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAAA,cAAsB,0BACtB,iBAAqC,6BACrC,eAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMlB,IAAMA,YAAY,wBACZC,uBAAuBC,6BAAAA,QAAMC,WACjC,SAAA,QAA+CC,MAAAA;MAA5CC,WAAAA,OAAAA,UAAaC,QAAAA,2BAAAA,QAAAA;IAAbD;;SACD,uCAAAE,KAACC,mBAAAA,qBAAAA,eAAAA,CAAAA,GAAUF,KAAAA,GAAAA;;;;AAGfL,qBAAqBQ,cAAcT;AACnC,IAAMU,aAAa,oBAEbC,uBAAmBC,qCACvBV,6BAAAA,QAAMC,WAAW,SAAA,QAAgDC,MAAAA;MAA7CC,WAAAA,OAAAA,UAAaC,QAAAA,2BAAAA,QAAAA;IAAbD;;SAClB,uCAAAE,KAACC,mBAAAA,qBAAAA,eAAAA,CAAAA,GAAUF,KAAAA,GAAAA;;;IAEb;EACEO,MAAMZ;AACR,CAAA;AAGFU,iBAAiBF,cAAcC;AAE/B,IAAMI,8BAA8B,WAAA;SAAM,WAAA;WAAO,CAAC;;;",
|
|
5
|
+
"names": ["ITEM_NAME", "RovingFocusGroupItem", "React", "forwardRef", "_ref", "children", "props", "_jsx", "Stack", "displayName", "GROUP_NAME", "RovingFocusGroup", "withStaticProperties", "Item", "createRovingFocusGroupScope"]
|
|
6
6
|
}
|
|
@@ -1,6 +1,41 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
import { Stack } from "@tamagui/core";
|
|
2
3
|
import { withStaticProperties } from "@tamagui/helpers";
|
|
3
4
|
import React from "react";
|
|
5
|
+
function _define_property(obj, key, value) {
|
|
6
|
+
return key in obj ? Object.defineProperty(obj, key, {
|
|
7
|
+
value,
|
|
8
|
+
enumerable: !0,
|
|
9
|
+
configurable: !0,
|
|
10
|
+
writable: !0
|
|
11
|
+
}) : obj[key] = value, obj;
|
|
12
|
+
}
|
|
13
|
+
function _object_spread(target) {
|
|
14
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
15
|
+
var source = arguments[i] != null ? arguments[i] : {}, ownKeys2 = Object.keys(source);
|
|
16
|
+
typeof Object.getOwnPropertySymbols == "function" && (ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
17
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
18
|
+
}))), ownKeys2.forEach(function(key) {
|
|
19
|
+
_define_property(target, key, source[key]);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return target;
|
|
23
|
+
}
|
|
24
|
+
function ownKeys(object, enumerableOnly) {
|
|
25
|
+
var keys = Object.keys(object);
|
|
26
|
+
if (Object.getOwnPropertySymbols) {
|
|
27
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
28
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
29
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
30
|
+
})), keys.push.apply(keys, symbols);
|
|
31
|
+
}
|
|
32
|
+
return keys;
|
|
33
|
+
}
|
|
34
|
+
function _object_spread_props(target, source) {
|
|
35
|
+
return source = source ?? {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
36
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
37
|
+
}), target;
|
|
38
|
+
}
|
|
4
39
|
function _object_without_properties(source, excluded) {
|
|
5
40
|
if (source == null)
|
|
6
41
|
return {};
|
|
@@ -24,14 +59,18 @@ var ITEM_NAME = "RovingFocusGroupItem", RovingFocusGroupItem = /* @__PURE__ */ R
|
|
|
24
59
|
var children = _param.children, props = _object_without_properties(_param, [
|
|
25
60
|
"children"
|
|
26
61
|
]);
|
|
27
|
-
return /* @__PURE__ */
|
|
62
|
+
return /* @__PURE__ */ _jsx(Stack, _object_spread_props(_object_spread({}, props), {
|
|
63
|
+
children
|
|
64
|
+
}));
|
|
28
65
|
});
|
|
29
66
|
RovingFocusGroupItem.displayName = ITEM_NAME;
|
|
30
67
|
var GROUP_NAME = "RovingFocusGroup", RovingFocusGroup = withStaticProperties(/* @__PURE__ */ React.forwardRef(function(_param, _ref) {
|
|
31
68
|
var children = _param.children, props = _object_without_properties(_param, [
|
|
32
69
|
"children"
|
|
33
70
|
]);
|
|
34
|
-
return /* @__PURE__ */
|
|
71
|
+
return /* @__PURE__ */ _jsx(Stack, _object_spread_props(_object_spread({}, props), {
|
|
72
|
+
children
|
|
73
|
+
}));
|
|
35
74
|
}), {
|
|
36
75
|
Item: RovingFocusGroupItem
|
|
37
76
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/roving-focus/src/RovingFocusGroup.native.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAASA,aAAa;AACtB,SAASC,4BAA4B;AACrC,OAAOC,WAAW
|
|
4
|
+
"mappings": ";AAAA,SAASA,aAAa;AACtB,SAASC,4BAA4B;AACrC,OAAOC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMlB,IAAMC,YAAY,wBACZC,uBAAuBF,sBAAMG,WACjC,SAAA,QAA+CC,MAAAA;MAA5CC,WAAAA,OAAAA,UAAaC,QAAAA,2BAAAA,QAAAA;IAAbD;;SACD,qBAACP,OAAAA,qBAAAA,eAAAA,CAAAA,GAAUQ,KAAAA,GAAAA;;;;AAGfJ,qBAAqBK,cAAcN;AACnC,IAAMO,aAAa,oBAEbC,mBAAmBV,qBACvBC,sBAAMG,WAAW,SAAA,QAAgDC,MAAAA;MAA7CC,WAAAA,OAAAA,UAAaC,QAAAA,2BAAAA,QAAAA;IAAbD;;SAClB,qBAACP,OAAAA,qBAAAA,eAAAA,CAAAA,GAAUQ,KAAAA,GAAAA;;;IAEb;EACEI,MAAMR;AACR,CAAA;AAGFO,iBAAiBF,cAAcC;AAE/B,IAAMG,8BAA8B,WAAA;SAAM,WAAA;WAAO,CAAC;;;",
|
|
5
5
|
"names": ["Stack", "withStaticProperties", "React", "ITEM_NAME", "RovingFocusGroupItem", "forwardRef", "_ref", "children", "props", "displayName", "GROUP_NAME", "RovingFocusGroup", "Item", "createRovingFocusGroupScope"]
|
|
6
6
|
}
|
|
@@ -1,6 +1,41 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
import { Stack } from "@tamagui/core";
|
|
2
3
|
import { withStaticProperties } from "@tamagui/helpers";
|
|
3
4
|
import React from "react";
|
|
5
|
+
function _define_property(obj, key, value) {
|
|
6
|
+
return key in obj ? Object.defineProperty(obj, key, {
|
|
7
|
+
value,
|
|
8
|
+
enumerable: !0,
|
|
9
|
+
configurable: !0,
|
|
10
|
+
writable: !0
|
|
11
|
+
}) : obj[key] = value, obj;
|
|
12
|
+
}
|
|
13
|
+
function _object_spread(target) {
|
|
14
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
15
|
+
var source = arguments[i] != null ? arguments[i] : {}, ownKeys2 = Object.keys(source);
|
|
16
|
+
typeof Object.getOwnPropertySymbols == "function" && (ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
17
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
18
|
+
}))), ownKeys2.forEach(function(key) {
|
|
19
|
+
_define_property(target, key, source[key]);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return target;
|
|
23
|
+
}
|
|
24
|
+
function ownKeys(object, enumerableOnly) {
|
|
25
|
+
var keys = Object.keys(object);
|
|
26
|
+
if (Object.getOwnPropertySymbols) {
|
|
27
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
28
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
29
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
30
|
+
})), keys.push.apply(keys, symbols);
|
|
31
|
+
}
|
|
32
|
+
return keys;
|
|
33
|
+
}
|
|
34
|
+
function _object_spread_props(target, source) {
|
|
35
|
+
return source = source ?? {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
36
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
37
|
+
}), target;
|
|
38
|
+
}
|
|
4
39
|
function _object_without_properties(source, excluded) {
|
|
5
40
|
if (source == null)
|
|
6
41
|
return {};
|
|
@@ -24,14 +59,18 @@ var ITEM_NAME = "RovingFocusGroupItem", RovingFocusGroupItem = /* @__PURE__ */ R
|
|
|
24
59
|
var children = _param.children, props = _object_without_properties(_param, [
|
|
25
60
|
"children"
|
|
26
61
|
]);
|
|
27
|
-
return /* @__PURE__ */
|
|
62
|
+
return /* @__PURE__ */ _jsx(Stack, _object_spread_props(_object_spread({}, props), {
|
|
63
|
+
children
|
|
64
|
+
}));
|
|
28
65
|
});
|
|
29
66
|
RovingFocusGroupItem.displayName = ITEM_NAME;
|
|
30
67
|
var GROUP_NAME = "RovingFocusGroup", RovingFocusGroup = withStaticProperties(/* @__PURE__ */ React.forwardRef(function(_param, _ref) {
|
|
31
68
|
var children = _param.children, props = _object_without_properties(_param, [
|
|
32
69
|
"children"
|
|
33
70
|
]);
|
|
34
|
-
return /* @__PURE__ */
|
|
71
|
+
return /* @__PURE__ */ _jsx(Stack, _object_spread_props(_object_spread({}, props), {
|
|
72
|
+
children
|
|
73
|
+
}));
|
|
35
74
|
}), {
|
|
36
75
|
Item: RovingFocusGroupItem
|
|
37
76
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/roving-focus/src/RovingFocusGroup.native.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAASA,aAAa;AACtB,SAASC,4BAA4B;AACrC,OAAOC,WAAW
|
|
4
|
+
"mappings": ";AAAA,SAASA,aAAa;AACtB,SAASC,4BAA4B;AACrC,OAAOC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMlB,IAAMC,YAAY,wBACZC,uBAAuBF,sBAAMG,WACjC,SAAA,QAA+CC,MAAAA;MAA5CC,WAAAA,OAAAA,UAAaC,QAAAA,2BAAAA,QAAAA;IAAbD;;SACD,qBAACP,OAAAA,qBAAAA,eAAAA,CAAAA,GAAUQ,KAAAA,GAAAA;;;;AAGfJ,qBAAqBK,cAAcN;AACnC,IAAMO,aAAa,oBAEbC,mBAAmBV,qBACvBC,sBAAMG,WAAW,SAAA,QAAgDC,MAAAA;MAA7CC,WAAAA,OAAAA,UAAaC,QAAAA,2BAAAA,QAAAA;IAAbD;;SAClB,qBAACP,OAAAA,qBAAAA,eAAAA,CAAAA,GAAUQ,KAAAA,GAAAA;;;IAEb;EACEI,MAAMR;AACR,CAAA;AAGFO,iBAAiBF,cAAcC;AAE/B,IAAMG,8BAA8B,WAAA;SAAM,WAAA;WAAO,CAAC;;;",
|
|
5
5
|
"names": ["Stack", "withStaticProperties", "React", "ITEM_NAME", "RovingFocusGroupItem", "forwardRef", "_ref", "children", "props", "displayName", "GROUP_NAME", "RovingFocusGroup", "Item", "createRovingFocusGroupScope"]
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/roving-focus",
|
|
3
|
-
"version": "1.89.
|
|
3
|
+
"version": "1.89.29",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -32,21 +32,21 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tamagui/collection": "1.89.
|
|
36
|
-
"@tamagui/compose-refs": "1.89.
|
|
37
|
-
"@tamagui/constants": "1.89.
|
|
38
|
-
"@tamagui/core": "1.89.
|
|
39
|
-
"@tamagui/create-context": "1.89.
|
|
40
|
-
"@tamagui/helpers": "1.89.
|
|
41
|
-
"@tamagui/use-controllable-state": "1.89.
|
|
42
|
-
"@tamagui/use-direction": "1.89.
|
|
43
|
-
"@tamagui/use-event": "1.89.
|
|
35
|
+
"@tamagui/collection": "1.89.29",
|
|
36
|
+
"@tamagui/compose-refs": "1.89.29",
|
|
37
|
+
"@tamagui/constants": "1.89.29",
|
|
38
|
+
"@tamagui/core": "1.89.29",
|
|
39
|
+
"@tamagui/create-context": "1.89.29",
|
|
40
|
+
"@tamagui/helpers": "1.89.29",
|
|
41
|
+
"@tamagui/use-controllable-state": "1.89.29",
|
|
42
|
+
"@tamagui/use-direction": "1.89.29",
|
|
43
|
+
"@tamagui/use-event": "1.89.29"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": "*"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@tamagui/build": "1.89.
|
|
49
|
+
"@tamagui/build": "1.89.29",
|
|
50
50
|
"react": "^18.2.0"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|