@tamagui/separator 1.116.0 → 1.116.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.
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var Separator_exports = {};
|
|
16
|
+
__export(Separator_exports, {
|
|
17
|
+
Separator: () => Separator
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(Separator_exports);
|
|
20
|
+
var import_constants = require("@tamagui/constants"), import_core = require("@tamagui/core");
|
|
21
|
+
const Separator = (0, import_core.styled)(import_core.Stack, {
|
|
22
|
+
name: "Separator",
|
|
23
|
+
borderColor: "$borderColor",
|
|
24
|
+
flexShrink: 0,
|
|
25
|
+
borderWidth: 0,
|
|
26
|
+
flex: 1,
|
|
27
|
+
height: 0,
|
|
28
|
+
maxHeight: 0,
|
|
29
|
+
borderBottomWidth: 1,
|
|
30
|
+
y: -0.5,
|
|
31
|
+
variants: {
|
|
32
|
+
vertical: {
|
|
33
|
+
true: {
|
|
34
|
+
y: 0,
|
|
35
|
+
x: -0.5,
|
|
36
|
+
height: import_constants.isWeb ? "initial" : "auto",
|
|
37
|
+
// maxHeight auto WILL BE passed to style attribute, but for some reason not used?
|
|
38
|
+
// almost seems like a react or browser bug, but for now `initial` works
|
|
39
|
+
// also, it doesn't happen for `height`, but for consistency using the same values
|
|
40
|
+
maxHeight: import_constants.isWeb ? "initial" : "auto",
|
|
41
|
+
width: 0,
|
|
42
|
+
maxWidth: 0,
|
|
43
|
+
borderBottomWidth: 0,
|
|
44
|
+
borderRightWidth: 1
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
//# sourceMappingURL=Separator.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
9
|
+
return to;
|
|
10
|
+
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
11
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
12
|
+
var src_exports = {};
|
|
13
|
+
module.exports = __toCommonJS(src_exports);
|
|
14
|
+
__reExport(src_exports, require("./Separator"), module.exports);
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/separator",
|
|
3
|
-
"version": "1.116.
|
|
3
|
+
"version": "1.116.2",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@tamagui/constants": "1.116.
|
|
38
|
-
"@tamagui/core": "1.116.
|
|
37
|
+
"@tamagui/constants": "1.116.2",
|
|
38
|
+
"@tamagui/core": "1.116.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@tamagui/build": "1.116.
|
|
41
|
+
"@tamagui/build": "1.116.2",
|
|
42
42
|
"react": "^18.2.0 || ^19.0.0"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
File without changes
|
|
File without changes
|