@tamagui/group 2.7.7 → 3.0.0-beta.643.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/dist/cjs/Group.cjs +104 -132
- package/dist/cjs/Group.native.cjs +147 -0
- package/dist/cjs/Group.native.js +109 -136
- package/dist/cjs/Group.native.js.map +1 -1
- package/dist/cjs/index.cjs +10 -11
- package/dist/cjs/index.native.cjs +21 -0
- package/dist/cjs/index.native.js +10 -10
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/useIndexedChildren.cjs +52 -58
- package/dist/cjs/useIndexedChildren.native.cjs +84 -0
- package/dist/cjs/useIndexedChildren.native.js +60 -65
- package/dist/cjs/useIndexedChildren.native.js.map +1 -1
- package/dist/esm/Group.mjs +84 -104
- package/dist/esm/Group.mjs.map +1 -1
- package/dist/esm/Group.native.js +90 -110
- package/dist/esm/Group.native.js.map +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/index.mjs +1 -2
- package/dist/esm/index.native.js +1 -2
- package/dist/esm/useIndexedChildren.mjs +35 -33
- package/dist/esm/useIndexedChildren.mjs.map +1 -1
- package/dist/esm/useIndexedChildren.native.js +44 -42
- package/dist/esm/useIndexedChildren.native.js.map +1 -1
- package/dist/jsx/Group.mjs +84 -104
- package/dist/jsx/Group.mjs.map +1 -1
- package/dist/jsx/Group.native.cjs +147 -0
- package/dist/jsx/Group.native.js +109 -136
- package/dist/jsx/Group.native.js.map +1 -1
- package/dist/jsx/index.js +1 -2
- package/dist/jsx/index.mjs +1 -2
- package/dist/jsx/index.native.cjs +21 -0
- package/dist/jsx/index.native.js +10 -10
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/useIndexedChildren.mjs +35 -33
- package/dist/jsx/useIndexedChildren.mjs.map +1 -1
- package/dist/jsx/useIndexedChildren.native.cjs +84 -0
- package/dist/jsx/useIndexedChildren.native.js +60 -65
- package/dist/jsx/useIndexedChildren.native.js.map +1 -1
- package/package.json +9 -9
- package/src/Group.tsx +20 -19
- package/types/Group.d.ts +107 -78
- package/types/Group.d.ts.map +1 -1
- package/types/useIndexedChildren.d.ts +1 -1
- package/types/useIndexedChildren.d.ts.map +1 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js.map +0 -1
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
var __create = Object.create;
|
|
4
5
|
var __defProp = Object.defineProperty;
|
|
5
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -7,85 +8,79 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
7
8
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
10
|
var __export = (target, all) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
for (var name in all) __defProp(target, name, {
|
|
12
|
+
get: all[name],
|
|
13
|
+
enumerable: true
|
|
14
|
+
});
|
|
14
15
|
};
|
|
15
16
|
var __copyProps = (to, from, except, desc) => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
18
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
19
|
+
get: () => from[key],
|
|
20
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
return to;
|
|
23
24
|
};
|
|
24
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
30
|
-
value: mod,
|
|
31
|
-
enumerable: true
|
|
25
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
+
value: mod,
|
|
27
|
+
enumerable: true
|
|
32
28
|
}) : target, mod));
|
|
33
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
34
|
-
value: true
|
|
35
|
-
}), mod);
|
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
30
|
var useIndexedChildren_exports = {};
|
|
37
31
|
__export(useIndexedChildren_exports, {
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
useIndex: () => useIndex,
|
|
33
|
+
useIndexedChildren: () => useIndexedChildren
|
|
40
34
|
});
|
|
41
35
|
module.exports = __toCommonJS(useIndexedChildren_exports);
|
|
42
36
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
43
37
|
var React = __toESM(require("react"), 1);
|
|
44
|
-
var MaxIndexContext = /* @__PURE__ */React.createContext([]);
|
|
45
|
-
var IndexContext = /* @__PURE__ */React.createContext(null);
|
|
38
|
+
var MaxIndexContext = /* @__PURE__ */ React.createContext([]);
|
|
39
|
+
var IndexContext = /* @__PURE__ */ React.createContext(null);
|
|
46
40
|
function useIndex() {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
41
|
+
var maxIndexPath = React.useContext(MaxIndexContext);
|
|
42
|
+
var indexPathString = React.useContext(IndexContext);
|
|
43
|
+
return React.useMemo(function() {
|
|
44
|
+
if (indexPathString === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
var indexPath = parseIndexPath(indexPathString);
|
|
48
|
+
var maxIndex = maxIndexPath[maxIndexPath.length - 1];
|
|
49
|
+
var index = indexPath[indexPath.length - 1];
|
|
50
|
+
return {
|
|
51
|
+
maxIndex,
|
|
52
|
+
maxIndexPath,
|
|
53
|
+
index,
|
|
54
|
+
indexPath,
|
|
55
|
+
indexPathString,
|
|
56
|
+
isFirst: index === 0,
|
|
57
|
+
isLast: index === maxIndex,
|
|
58
|
+
isEven: index % 2 === 0,
|
|
59
|
+
isOdd: Math.abs(index % 2) === 1
|
|
60
|
+
};
|
|
61
|
+
}, [maxIndexPath, indexPathString]);
|
|
68
62
|
}
|
|
69
63
|
function useIndexedChildren(children) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
64
|
+
var parentMaxIndexPath = React.useContext(MaxIndexContext);
|
|
65
|
+
var indexPathString = React.useContext(IndexContext);
|
|
66
|
+
var childrenCount = React.Children.count(children);
|
|
67
|
+
var maxIndexPath = React.useMemo(function() {
|
|
68
|
+
return parentMaxIndexPath.concat(childrenCount - 1);
|
|
69
|
+
}, [childrenCount]);
|
|
70
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MaxIndexContext.Provider, {
|
|
71
|
+
value: maxIndexPath,
|
|
72
|
+
children: React.Children.map(children, function(child, index) {
|
|
73
|
+
return /* @__PURE__ */ React.isValidElement(child) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IndexContext.Provider, {
|
|
74
|
+
value: indexPathString ? `${indexPathString}.${index.toString()}` : index.toString(),
|
|
75
|
+
children: child
|
|
76
|
+
}, child.key) : child;
|
|
77
|
+
})
|
|
78
|
+
});
|
|
85
79
|
}
|
|
86
80
|
function parseIndexPath(indexPathString) {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
81
|
+
return indexPathString.split(".").map(function(index) {
|
|
82
|
+
return Number.parseInt(index, 10);
|
|
83
|
+
});
|
|
90
84
|
}
|
|
85
|
+
|
|
91
86
|
//# sourceMappingURL=useIndexedChildren.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"useIndexedChildren.native.js","names":[],"sources":["jsx/useIndexedChildren.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar useIndexedChildren_exports = {};\n__export(useIndexedChildren_exports, {\n useIndex: () => useIndex,\n useIndexedChildren: () => useIndexedChildren\n});\nmodule.exports = __toCommonJS(useIndexedChildren_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar React = __toESM(require(\"react\"), 1);\nvar MaxIndexContext = /* @__PURE__ */ React.createContext([]);\nvar IndexContext = /* @__PURE__ */ React.createContext(null);\nfunction useIndex() {\n var maxIndexPath = React.useContext(MaxIndexContext);\n var indexPathString = React.useContext(IndexContext);\n return React.useMemo(function() {\n if (indexPathString === null) {\n return null;\n }\n var indexPath = parseIndexPath(indexPathString);\n var maxIndex = maxIndexPath[maxIndexPath.length - 1];\n var index = indexPath[indexPath.length - 1];\n return {\n maxIndex,\n maxIndexPath,\n index,\n indexPath,\n indexPathString,\n isFirst: index === 0,\n isLast: index === maxIndex,\n isEven: index % 2 === 0,\n isOdd: Math.abs(index % 2) === 1\n };\n }, [\n maxIndexPath,\n indexPathString\n ]);\n}\nfunction useIndexedChildren(children) {\n var parentMaxIndexPath = React.useContext(MaxIndexContext);\n var indexPathString = React.useContext(IndexContext);\n var childrenCount = React.Children.count(children);\n var maxIndexPath = React.useMemo(function() {\n return parentMaxIndexPath.concat(childrenCount - 1);\n }, [\n childrenCount\n ]);\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MaxIndexContext.Provider, {\n value: maxIndexPath,\n children: React.Children.map(children, function(child, index) {\n return /* @__PURE__ */ React.isValidElement(child) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IndexContext.Provider, {\n value: indexPathString ? `${indexPathString}.${index.toString()}` : index.toString(),\n children: child\n }, child.key) : child;\n })\n });\n}\nfunction parseIndexPath(indexPathString) {\n return indexPathString.split(\".\").map(function(index) {\n return Number.parseInt(index, 10);\n });\n}\n//# sourceMappingURL=useIndexedChildren.js.map\n"],"mappings":";;;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,I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": "3.0.0-beta.643.1",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"clean:build": "tamagui-build clean:build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@tamagui/core": "
|
|
39
|
-
"@tamagui/create-context": "
|
|
40
|
-
"@tamagui/helpers": "
|
|
41
|
-
"@tamagui/spacer": "
|
|
42
|
-
"@tamagui/stacks": "
|
|
43
|
-
"@tamagui/use-controllable-state": "
|
|
38
|
+
"@tamagui/core": "3.0.0-beta.643.1",
|
|
39
|
+
"@tamagui/create-context": "3.0.0-beta.643.1",
|
|
40
|
+
"@tamagui/helpers": "3.0.0-beta.643.1",
|
|
41
|
+
"@tamagui/spacer": "3.0.0-beta.643.1",
|
|
42
|
+
"@tamagui/stacks": "3.0.0-beta.643.1",
|
|
43
|
+
"@tamagui/use-controllable-state": "3.0.0-beta.643.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@tamagui/build": "
|
|
46
|
+
"@tamagui/build": "3.0.0-beta.643.1",
|
|
47
47
|
"react": ">=19",
|
|
48
|
-
"react-native": "0.
|
|
48
|
+
"react-native": "0.86.2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": ">=19"
|
package/src/Group.tsx
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import type { GetProps } from '@tamagui/core'
|
|
2
|
-
import {
|
|
1
|
+
import type { GetProps, VariantSpreadExtras } from '@tamagui/core'
|
|
2
|
+
import {
|
|
3
|
+
createStyledHOC,
|
|
4
|
+
mergeSlotStyleProps,
|
|
5
|
+
resolveSizeToken,
|
|
6
|
+
styled,
|
|
7
|
+
} from '@tamagui/core'
|
|
3
8
|
import type { Scope } from '@tamagui/create-context'
|
|
4
9
|
import { createContextScope } from '@tamagui/create-context'
|
|
5
10
|
import { withStaticProperties } from '@tamagui/helpers'
|
|
@@ -18,27 +23,23 @@ type ScopedProps<P> = P & { __scopeGroup?: Scope }
|
|
|
18
23
|
const [createGroupContext, createGroupScope] = createContextScope(GROUP_NAME)
|
|
19
24
|
const [GroupProvider, useGroupContext] = createGroupContext<GroupContextValue>(GROUP_NAME)
|
|
20
25
|
|
|
26
|
+
const groupSizeVariant = (val: any, { tokens }: VariantSpreadExtras<any>) => {
|
|
27
|
+
const radiusToken = resolveSizeToken(val, 'radius')
|
|
28
|
+
return {
|
|
29
|
+
borderRadius: tokens.radius[radiusToken] ?? radiusToken,
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
21
33
|
export const GroupFrame = styled(YStack, {
|
|
22
|
-
|
|
34
|
+
displayName: 'GroupFrame',
|
|
35
|
+
size: true,
|
|
23
36
|
|
|
24
37
|
variants: {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
size: (val, { tokens }) => {
|
|
32
|
-
const borderRadius = tokens.radius[val] ?? val ?? tokens.radius['$true']
|
|
33
|
-
return {
|
|
34
|
-
borderRadius,
|
|
35
|
-
}
|
|
38
|
+
size: {
|
|
39
|
+
true: groupSizeVariant,
|
|
40
|
+
any: groupSizeVariant,
|
|
36
41
|
},
|
|
37
42
|
} as const,
|
|
38
|
-
|
|
39
|
-
defaultVariants: {
|
|
40
|
-
unstyled: process.env.TAMAGUI_HEADLESS === '1',
|
|
41
|
-
},
|
|
42
43
|
})
|
|
43
44
|
|
|
44
45
|
export type GroupExtraProps = {
|
|
@@ -50,7 +51,7 @@ export type GroupProps = GetProps<typeof GroupFrame> & GroupExtraProps
|
|
|
50
51
|
|
|
51
52
|
function createGroup(verticalDefault: boolean) {
|
|
52
53
|
return withStaticProperties(
|
|
53
|
-
GroupFrame
|
|
54
|
+
createStyledHOC(GroupFrame, (props: ScopedProps<GroupProps>, ref) => {
|
|
54
55
|
const {
|
|
55
56
|
__scopeGroup,
|
|
56
57
|
children: childrenProp,
|