@tamagui/separator 1.135.4 → 1.135.6

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.
@@ -1,53 +1,58 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
16
23
  var Separator_exports = {};
17
24
  __export(Separator_exports, {
18
25
  Separator: () => Separator
19
26
  });
20
27
  module.exports = __toCommonJS(Separator_exports);
21
- var import_constants = require("@tamagui/constants"), import_core = require("@tamagui/core"), 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
28
+ var import_constants = require("@tamagui/constants"),
29
+ import_core = require("@tamagui/core"),
30
+ Separator = (0, import_core.styled)(import_core.Stack, {
31
+ name: "Separator",
32
+ borderColor: "$borderColor",
33
+ flexShrink: 0,
34
+ borderWidth: 0,
35
+ flex: 1,
36
+ height: 0,
37
+ maxHeight: 0,
38
+ borderBottomWidth: 1,
39
+ y: -0.5,
40
+ variants: {
41
+ vertical: {
42
+ true: {
43
+ y: 0,
44
+ x: -0.5,
45
+ height: import_constants.isWeb ? "initial" : "auto",
46
+ // maxHeight auto WILL BE passed to style attribute, but for some reason not used?
47
+ // almost seems like a react or browser bug, but for now `initial` works
48
+ // also, it doesn't happen for `height`, but for consistency using the same values
49
+ maxHeight: import_constants.isWeb ? "initial" : "auto",
50
+ width: 0,
51
+ maxWidth: 0,
52
+ borderBottomWidth: 0,
53
+ borderRightWidth: 1
54
+ }
45
55
  }
46
56
  }
47
- }
48
- });
49
- // Annotate the CommonJS export names for ESM import in node:
50
- 0 && (module.exports = {
51
- Separator
52
- });
53
- //# sourceMappingURL=Separator.js.map
57
+ });
58
+ //# sourceMappingURL=Separator.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Separator.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAsB,+BACtB,cAA8B,0BACnB,gBAAY,oBAAO,mBAAO;AAAA,EACjC,MAAM;AAAA,EACN,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,mBAAmB;AAAA,EACnB,GAAG;AAAA,EACH,UAAU;AAAA,IACN,UAAU;AAAA,MACN,MAAM;AAAA,QACF,GAAG;AAAA,QACH,GAAG;AAAA,QACH,QAAQ,yBAAQ,YAAY;AAAA;AAAA;AAAA;AAAA,QAI5B,WAAW,yBAAQ,YAAY;AAAA,QAC/B,OAAO;AAAA,QACP,UAAU;AAAA,QACV,mBAAmB;AAAA,QACnB,kBAAkB;AAAA,MACtB;AAAA,IACJ;AAAA,EACJ;AACJ,CAAC;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Separator_exports","__export","Separator","module","exports","import_constants","require","import_core","styled","Stack","name","borderColor","flexShrink","borderWidth","flex","height","maxHeight","borderBottomWidth","y","variants","vertical","true","x","isWeb","width","maxWidth","borderRightWidth"],"sources":["../../src/Separator.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,iBAAA;AAAAC,QAAA,CAAAD,iBAAA;EAAAE,SAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAsB,CAAAK,iBAAA;AAGf,IAAAK,gBAAM,GAAYC,OAAA,qBAAO;EAAAC,WAAO,GAAAD,OAAA;EAAAJ,SAAA,OAAAK,WAAA,CAAAC,MAAA,EAAAD,WAAA,CAAAE,KAAA;IACrCC,IAAA,EAAM;IACNC,WAAA,EAAa;IACbC,UAAA,EAAY;IACZC,WAAA,EAAa;IACbC,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,SAAA,EAAW;IACXC,iBAAA,EAAmB;IACnBC,CAAA,EAAG;IAEHC,QAAA,EAAU;MACRC,QAAA,EAAU;QACRC,IAAA,EAAM;UACJH,CAAA,EAAG;UACHI,CAAA,EAAG;UAEHP,MAAA,EAAQV,gBAAA,CAAAkB,KAAA,GAAQ,YAAY;UAAA;UAAA;UAAA;UAI5BP,SAAA,EAAWX,gBAAA,CAAAkB,KAAA,GAAQ,YAAY;UAC/BC,KAAA,EAAO;UACPC,QAAA,EAAU;UACVR,iBAAA,EAAmB;UACnBS,gBAAA,EAAkB;QACpB;MACF;IACF;EACF,CAAC","ignoreList":[]}
@@ -1,20 +1,21 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from == "object" || typeof from == "function")
8
- for (let key of __getOwnPropNames(from))
9
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- return to;
11
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
12
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
8
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
9
+ get: () => from[key],
10
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
+ });
12
+ return to;
13
+ },
14
+ __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
16
+ value: !0
17
+ }), mod);
13
18
  var index_exports = {};
14
19
  module.exports = __toCommonJS(index_exports);
15
- __reExport(index_exports, require("./Separator"), module.exports);
16
- // Annotate the CommonJS export names for ESM import in node:
17
- 0 && (module.exports = {
18
- ...require("./Separator")
19
- });
20
- //# sourceMappingURL=index.js.map
20
+ __reExport(index_exports, require("./Separator.native.js"), module.exports);
21
+ //# sourceMappingURL=index.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,wBAAd;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAP,YAAc,CAAAK,aAAA","ignoreList":[]}
@@ -1,34 +1,58 @@
1
- import { isWeb } from "@tamagui/constants";
2
- import { Stack, styled } from "@tamagui/core";
3
- var Separator = styled(Stack, {
4
- name: "Separator",
5
- borderColor: "$borderColor",
6
- flexShrink: 0,
7
- borderWidth: 0,
8
- flex: 1,
9
- height: 0,
10
- maxHeight: 0,
11
- borderBottomWidth: 1,
12
- y: -0.5,
13
- variants: {
14
- vertical: {
15
- true: {
16
- y: 0,
17
- x: -0.5,
18
- height: isWeb ? "initial" : "auto",
19
- // maxHeight auto WILL BE passed to style attribute, but for some reason not used?
20
- // almost seems like a react or browser bug, but for now `initial` works
21
- // also, it doesn't happen for `height`, but for consistency using the same values
22
- maxHeight: isWeb ? "initial" : "auto",
23
- width: 0,
24
- maxWidth: 0,
25
- borderBottomWidth: 0,
26
- borderRightWidth: 1
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
23
+ var Separator_exports = {};
24
+ __export(Separator_exports, {
25
+ Separator: () => Separator
26
+ });
27
+ module.exports = __toCommonJS(Separator_exports);
28
+ var import_constants = require("@tamagui/constants"),
29
+ import_core = require("@tamagui/core"),
30
+ Separator = (0, import_core.styled)(import_core.Stack, {
31
+ name: "Separator",
32
+ borderColor: "$borderColor",
33
+ flexShrink: 0,
34
+ borderWidth: 0,
35
+ flex: 1,
36
+ height: 0,
37
+ maxHeight: 0,
38
+ borderBottomWidth: 1,
39
+ y: -0.5,
40
+ variants: {
41
+ vertical: {
42
+ true: {
43
+ y: 0,
44
+ x: -0.5,
45
+ height: import_constants.isWeb ? "initial" : "auto",
46
+ // maxHeight auto WILL BE passed to style attribute, but for some reason not used?
47
+ // almost seems like a react or browser bug, but for now `initial` works
48
+ // also, it doesn't happen for `height`, but for consistency using the same values
49
+ maxHeight: import_constants.isWeb ? "initial" : "auto",
50
+ width: 0,
51
+ maxWidth: 0,
52
+ borderBottomWidth: 0,
53
+ borderRightWidth: 1
54
+ }
27
55
  }
28
56
  }
29
- }
30
- });
31
- export {
32
- Separator
33
- };
34
- //# sourceMappingURL=Separator.js.map
57
+ });
58
+ //# sourceMappingURL=Separator.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Separator.tsx"],
4
- "mappings": "AAAA,SAAS,aAAa;AACtB,SAAS,OAAO,cAAc;AACvB,IAAI,YAAY,OAAO,OAAO;AAAA,EACjC,MAAM;AAAA,EACN,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,mBAAmB;AAAA,EACnB,GAAG;AAAA,EACH,UAAU;AAAA,IACN,UAAU;AAAA,MACN,MAAM;AAAA,QACF,GAAG;AAAA,QACH,GAAG;AAAA,QACH,QAAQ,QAAQ,YAAY;AAAA;AAAA;AAAA;AAAA,QAI5B,WAAW,QAAQ,YAAY;AAAA,QAC/B,OAAO;AAAA,QACP,UAAU;AAAA,QACV,mBAAmB;AAAA,QACnB,kBAAkB;AAAA,MACtB;AAAA,IACJ;AAAA,EACJ;AACJ,CAAC;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","Separator_exports","Separator","module","exports","import_constants","require","import_core","styled","Stack","borderColor","flexShrink","borderWidth","flex","height","maxHeight","borderBottomWidth","y"],"sources":["../../src/Separator.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AACT,IAAAA,SAAS,GAAOC,MAAA,CAAAC,cAAc;AAEvB,IAAAC,gBAAkB,GAAAF,MAAO,CAAAG,wBAAO;AAAA,IACrCC,iBAAM,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACNC,YAAa,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IACbC,QAAA,GAAYA,CAAAC,MAAA,EAAAC,GAAA;IACZ,SAAAC,IAAa,IAAAD,GAAA,EACbZ,SAAM,CAAAW,MAAA,EAAAE,IAAA;MAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;MAAAE,UAAA;IAAA;EAAA;EACNC,WAAQ,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;IACR,IAAAF,IAAA,IAAW,OAAAA,IAAA,uBAAAA,IAAA,gBACX,SAAAG,GAAA,IAAAhB,iBAAmB,CAAAa,IAAA,GAChB,CAAAX,YAAA,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,IAAAnB,SAAA,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;IAEH,OAAAE,EAAA;EAAU;AACE,IAAAM,YACF,GAAAC,GAAA,IAAAR,WAAA,CAAAhB,SAAA;EAAAyB,KAAA;AAAA,IAAAD,GAAA;AAAA,IAAAE,iBACD;AAAAhB,QACH,CAAAgB,iBAAG;EAAAC,SAEH,EAAAA,CAAA,KAAQA;AAAoB;AAAAC,MAAA,CAAAC,OAAA,GAAAN,YAAA,CAAAG,iBAAA;AAAA,IAAAI,gBAAA,GAAAC,OAAA;EAAAC,WAAA,GAAAD,OAAA;EAAAJ,SAAA,OAAAK,WAAA,CAAAC,MAAA,EAAAD,WAAA,CAAAE,KAAA;IAAArB,IAAA,EAI5B,WAAW;IAAoBsB,WAC/B,EAAO;IAAAC,UACP;IAAUC,WACV;IAAmBC,IAAA,EACnB;IAAkBC,MACpB;IAAAC,SACF;IACFC,iBAAA;IACDC,CAAA","ignoreList":[]}
@@ -1,2 +1,21 @@
1
- export * from "./Separator";
2
- //# sourceMappingURL=index.js.map
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __copyProps = (to, from, except, desc) => {
8
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
9
+ get: () => from[key],
10
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
+ });
12
+ return to;
13
+ },
14
+ __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
16
+ value: !0
17
+ }), mod);
18
+ var index_exports = {};
19
+ module.exports = __toCommonJS(index_exports);
20
+ __reExport(index_exports, require("./Separator.native.js"), module.exports);
21
+ //# sourceMappingURL=index.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": "AAAA,cAAc;",
5
- "names": []
6
- }
1
+ {"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@tamagui/separator",
3
- "version": "1.135.4",
3
+ "version": "1.135.6",
4
+ "type": "module",
4
5
  "sideEffects": [
5
6
  "*.css"
6
7
  ],
@@ -36,11 +37,11 @@
36
37
  }
37
38
  },
38
39
  "dependencies": {
39
- "@tamagui/constants": "1.135.4",
40
- "@tamagui/core": "1.135.4"
40
+ "@tamagui/constants": "1.135.6",
41
+ "@tamagui/core": "1.135.6"
41
42
  },
42
43
  "devDependencies": {
43
- "@tamagui/build": "1.135.4",
44
+ "@tamagui/build": "1.135.6",
44
45
  "react": "*"
45
46
  },
46
47
  "publishConfig": {