@tamagui/separator 1.88.21 → 1.88.23

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,25 +1,6 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
16
- var Separator_exports = {};
17
- __export(Separator_exports, {
18
- Separator: () => Separator
19
- });
20
- module.exports = __toCommonJS(Separator_exports);
21
- var import_constants = require("@tamagui/constants"), import_core = require("@tamagui/core");
22
- const Separator = (0, import_core.styled)(import_core.Stack, {
1
+ import { isWeb } from "@tamagui/constants";
2
+ import { Stack, styled } from "@tamagui/core";
3
+ const Separator = styled(Stack, {
23
4
  name: "Separator",
24
5
  borderColor: "$borderColor",
25
6
  flexShrink: 0,
@@ -34,11 +15,11 @@ const Separator = (0, import_core.styled)(import_core.Stack, {
34
15
  true: {
35
16
  y: 0,
36
17
  x: -0.5,
37
- height: import_constants.isWeb ? "initial" : "auto",
18
+ height: isWeb ? "initial" : "auto",
38
19
  // maxHeight auto WILL BE passed to style attribute, but for some reason not used?
39
20
  // almost seems like a react or browser bug, but for now `initial` works
40
21
  // also, it doesn't happen for `height`, but for consistency using the same values
41
- maxHeight: import_constants.isWeb ? "initial" : "auto",
22
+ maxHeight: isWeb ? "initial" : "auto",
42
23
  width: 0,
43
24
  maxWidth: 0,
44
25
  borderBottomWidth: 0,
@@ -47,8 +28,7 @@ const Separator = (0, import_core.styled)(import_core.Stack, {
47
28
  }
48
29
  }
49
30
  });
50
- // Annotate the CommonJS export names for ESM import in node:
51
- 0 && (module.exports = {
31
+ export {
52
32
  Separator
53
- });
33
+ };
54
34
  //# sourceMappingURL=Separator.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Separator.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAsB,+BACtB,cAA8B;AAEvB,MAAM,gBAAY,oBAAO,mBAAO;AAAA,EACrC,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,EAEH,UAAU;AAAA,IACR,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,GAAG;AAAA,QACH,GAAG;AAAA,QAEH,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,MACpB;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,aAAa;AACtB,SAAS,OAAO,cAAc;AAEvB,MAAM,YAAY,OAAO,OAAO;AAAA,EACrC,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,EAEH,UAAU;AAAA,IACR,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,GAAG;AAAA,QACH,GAAG;AAAA,QAEH,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,MACpB;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,20 +1,2 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
13
- var src_exports = {};
14
- module.exports = __toCommonJS(src_exports);
15
- __reExport(src_exports, require("./Separator"), module.exports);
16
- // Annotate the CommonJS export names for ESM import in node:
17
- 0 && (module.exports = {
18
- ...require("./Separator")
19
- });
1
+ export * from "./Separator";
20
2
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,wBAAd;",
4
+ "mappings": "AAAA,cAAc;",
5
5
  "names": []
6
6
  }
@@ -1,25 +1,6 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
16
- var Separator_exports = {};
17
- __export(Separator_exports, {
18
- Separator: () => Separator
19
- });
20
- module.exports = __toCommonJS(Separator_exports);
21
- var import_constants = require("@tamagui/constants"), import_core = require("@tamagui/core");
22
- const Separator = (0, import_core.styled)(import_core.Stack, {
1
+ import { isWeb } from "@tamagui/constants";
2
+ import { Stack, styled } from "@tamagui/core";
3
+ const Separator = styled(Stack, {
23
4
  name: "Separator",
24
5
  borderColor: "$borderColor",
25
6
  flexShrink: 0,
@@ -34,11 +15,11 @@ const Separator = (0, import_core.styled)(import_core.Stack, {
34
15
  true: {
35
16
  y: 0,
36
17
  x: -0.5,
37
- height: import_constants.isWeb ? "initial" : "auto",
18
+ height: isWeb ? "initial" : "auto",
38
19
  // maxHeight auto WILL BE passed to style attribute, but for some reason not used?
39
20
  // almost seems like a react or browser bug, but for now `initial` works
40
21
  // also, it doesn't happen for `height`, but for consistency using the same values
41
- maxHeight: import_constants.isWeb ? "initial" : "auto",
22
+ maxHeight: isWeb ? "initial" : "auto",
42
23
  width: 0,
43
24
  maxWidth: 0,
44
25
  borderBottomWidth: 0,
@@ -47,8 +28,7 @@ const Separator = (0, import_core.styled)(import_core.Stack, {
47
28
  }
48
29
  }
49
30
  });
50
- // Annotate the CommonJS export names for ESM import in node:
51
- 0 && (module.exports = {
31
+ export {
52
32
  Separator
53
- });
33
+ };
54
34
  //# sourceMappingURL=Separator.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Separator.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAsB,+BACtB,cAA8B;AAEvB,MAAM,gBAAY,oBAAO,mBAAO;AAAA,EACrC,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,EAEH,UAAU;AAAA,IACR,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,GAAG;AAAA,QACH,GAAG;AAAA,QAEH,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,MACpB;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,aAAa;AACtB,SAAS,OAAO,cAAc;AAEvB,MAAM,YAAY,OAAO,OAAO;AAAA,EACrC,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,EAEH,UAAU;AAAA,IACR,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,GAAG;AAAA,QACH,GAAG;AAAA,QAEH,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,MACpB;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,20 +1,2 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
13
- var src_exports = {};
14
- module.exports = __toCommonJS(src_exports);
15
- __reExport(src_exports, require("./Separator"), module.exports);
16
- // Annotate the CommonJS export names for ESM import in node:
17
- 0 && (module.exports = {
18
- ...require("./Separator")
19
- });
1
+ export * from "./Separator";
20
2
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,wBAAd;",
4
+ "mappings": "AAAA,cAAc;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/separator",
3
- "version": "1.88.21",
3
+ "version": "1.88.23",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -32,14 +32,14 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@tamagui/constants": "1.88.21",
36
- "@tamagui/core": "1.88.21"
35
+ "@tamagui/constants": "1.88.23",
36
+ "@tamagui/core": "1.88.23"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "*"
40
40
  },
41
41
  "devDependencies": {
42
- "@tamagui/build": "1.88.21",
42
+ "@tamagui/build": "1.88.23",
43
43
  "react": "^18.2.0"
44
44
  },
45
45
  "publishConfig": {