@tamagui/separator 1.82.1 → 1.82.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/separator",
3
- "version": "1.82.1",
3
+ "version": "1.82.3",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -18,7 +18,9 @@
18
18
  "build": "tamagui-build",
19
19
  "watch": "tamagui-build --watch",
20
20
  "lint": "../../node_modules/.bin/biome check src",
21
- "lint:fix": "../../node_modules/.bin/biome check --apply-unsafe src"
21
+ "lint:fix": "../../node_modules/.bin/biome check --apply-unsafe src",
22
+ "clean": "tamagui-build clean",
23
+ "clean:build": "tamagui-build clean:build"
22
24
  },
23
25
  "exports": {
24
26
  "./package.json": "./package.json",
@@ -30,14 +32,14 @@
30
32
  }
31
33
  },
32
34
  "dependencies": {
33
- "@tamagui/constants": "1.82.1",
34
- "@tamagui/core": "1.82.1"
35
+ "@tamagui/constants": "1.82.3",
36
+ "@tamagui/core": "1.82.3"
35
37
  },
36
38
  "peerDependencies": {
37
39
  "react": "*"
38
40
  },
39
41
  "devDependencies": {
40
- "@tamagui/build": "1.82.1",
42
+ "@tamagui/build": "1.82.3",
41
43
  "react": "^18.2.0"
42
44
  },
43
45
  "publishConfig": {
@@ -1,33 +0,0 @@
1
- import { Stack, isWeb, styled } from "@tamagui/core";
2
- const Separator = styled(Stack, {
3
- name: "Separator",
4
- borderColor: "$borderColor",
5
- flexShrink: 0,
6
- borderWidth: 0,
7
- flex: 1,
8
- height: 0,
9
- maxHeight: 0,
10
- borderBottomWidth: 1,
11
- y: -0.5,
12
- variants: {
13
- vertical: {
14
- true: {
15
- y: 0,
16
- x: -0.5,
17
- height: isWeb ? "initial" : "auto",
18
- // maxHeight auto WILL BE passed to style attribute, but for some reason not used?
19
- // almost seems like a react or browser bug, but for now `initial` works
20
- // also, it doesn't happen for `height`, but for consistency using the same values
21
- maxHeight: isWeb ? "initial" : "auto",
22
- width: 0,
23
- maxWidth: 0,
24
- borderBottomWidth: 0,
25
- borderRightWidth: 1
26
- }
27
- }
28
- }
29
- });
30
- export {
31
- Separator
32
- };
33
- //# sourceMappingURL=Separator.mjs.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Separator.tsx"],
4
- "mappings": "AAAA,SAAS,OAAO,OAAO,cAAc;AAE9B,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,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,MACpB;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
5
- "names": []
6
- }
@@ -1,2 +0,0 @@
1
- export * from "./Separator";
2
- //# sourceMappingURL=index.mjs.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.tsx"],
4
- "mappings": "AAAA,cAAc;",
5
- "names": []
6
- }
@@ -1,33 +0,0 @@
1
- import { Stack, isWeb, styled } from "@tamagui/core";
2
- const Separator = styled(Stack, {
3
- name: "Separator",
4
- borderColor: "$borderColor",
5
- flexShrink: 0,
6
- borderWidth: 0,
7
- flex: 1,
8
- height: 0,
9
- maxHeight: 0,
10
- borderBottomWidth: 1,
11
- y: -0.5,
12
- variants: {
13
- vertical: {
14
- true: {
15
- y: 0,
16
- x: -0.5,
17
- height: isWeb ? "initial" : "auto",
18
- // maxHeight auto WILL BE passed to style attribute, but for some reason not used?
19
- // almost seems like a react or browser bug, but for now `initial` works
20
- // also, it doesn't happen for `height`, but for consistency using the same values
21
- maxHeight: isWeb ? "initial" : "auto",
22
- width: 0,
23
- maxWidth: 0,
24
- borderBottomWidth: 0,
25
- borderRightWidth: 1
26
- }
27
- }
28
- }
29
- });
30
- export {
31
- Separator
32
- };
33
- //# sourceMappingURL=Separator.mjs.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Separator.tsx"],
4
- "mappings": "AAAA,SAAS,OAAO,OAAO,cAAc;AAE9B,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,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,MACpB;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
5
- "names": []
6
- }
@@ -1,2 +0,0 @@
1
- export * from "./Separator";
2
- //# sourceMappingURL=index.mjs.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.tsx"],
4
- "mappings": "AAAA,cAAc;",
5
- "names": []
6
- }