@tamagui/separator 1.0.1-beta.21 → 1.0.1-beta.25
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/Separator.js
CHANGED
|
@@ -23,10 +23,12 @@ module.exports = __toCommonJS(Separator_exports);
|
|
|
23
23
|
var import_core = require("@tamagui/core");
|
|
24
24
|
const Separator = (0, import_core.styled)(import_core.Stack, {
|
|
25
25
|
name: "Separator",
|
|
26
|
-
borderColor: "$
|
|
26
|
+
borderColor: "$borderColor",
|
|
27
27
|
flexShrink: 0,
|
|
28
|
-
alignSelf: "stretch",
|
|
29
28
|
borderWidth: 0,
|
|
29
|
+
flex: 1,
|
|
30
|
+
height: 0,
|
|
31
|
+
maxHeight: 0,
|
|
30
32
|
borderBottomWidth: 1,
|
|
31
33
|
y: -0.5,
|
|
32
34
|
variants: {
|
|
@@ -34,6 +36,10 @@ const Separator = (0, import_core.styled)(import_core.Stack, {
|
|
|
34
36
|
true: {
|
|
35
37
|
y: 0,
|
|
36
38
|
x: -0.5,
|
|
39
|
+
height: "auto",
|
|
40
|
+
maxHeight: "auto",
|
|
41
|
+
width: 0,
|
|
42
|
+
maxWidth: 0,
|
|
37
43
|
borderBottomWidth: 0,
|
|
38
44
|
borderRightWidth: 1
|
|
39
45
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Separator.tsx"],
|
|
4
|
-
"sourcesContent": ["import { Stack, styled } from '@tamagui/core'\n\nexport const Separator = styled(Stack, {\n name: 'Separator',\n borderColor: '$
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA8B;AAEvB,MAAM,YAAY,wBAAO,mBAAO;AAAA,EACrC,MAAM;AAAA,EACN,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,
|
|
4
|
+
"sourcesContent": ["import { Stack, styled } from '@tamagui/core'\n\nexport const Separator = styled(Stack, {\n name: 'Separator',\n borderColor: '$borderColor',\n flexShrink: 0,\n borderWidth: 0,\n flex: 1,\n height: 0,\n maxHeight: 0,\n borderBottomWidth: 1,\n y: -0.5,\n\n variants: {\n vertical: {\n true: {\n y: 0,\n x: -0.5,\n height: 'auto',\n maxHeight: 'auto',\n width: 0,\n maxWidth: 0,\n borderBottomWidth: 0,\n borderRightWidth: 1,\n },\n },\n },\n})\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA8B;AAEvB,MAAM,YAAY,wBAAO,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,QACH,QAAQ;AAAA,QACR,WAAW;AAAA,QACX,OAAO;AAAA,QACP,UAAU;AAAA,QACV,mBAAmB;AAAA,QACnB,kBAAkB;AAAA,MACpB;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/Separator.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Stack, styled } from "@tamagui/core";
|
|
2
2
|
const Separator = styled(Stack, {
|
|
3
3
|
name: "Separator",
|
|
4
|
-
borderColor: "$
|
|
4
|
+
borderColor: "$borderColor",
|
|
5
5
|
flexShrink: 0,
|
|
6
|
-
alignSelf: "stretch",
|
|
7
6
|
borderWidth: 0,
|
|
7
|
+
flex: 1,
|
|
8
|
+
height: 0,
|
|
9
|
+
maxHeight: 0,
|
|
8
10
|
borderBottomWidth: 1,
|
|
9
11
|
y: -0.5,
|
|
10
12
|
variants: {
|
|
@@ -12,6 +14,10 @@ const Separator = styled(Stack, {
|
|
|
12
14
|
true: {
|
|
13
15
|
y: 0,
|
|
14
16
|
x: -0.5,
|
|
17
|
+
height: "auto",
|
|
18
|
+
maxHeight: "auto",
|
|
19
|
+
width: 0,
|
|
20
|
+
maxWidth: 0,
|
|
15
21
|
borderBottomWidth: 0,
|
|
16
22
|
borderRightWidth: 1
|
|
17
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Separator.tsx"],
|
|
4
|
-
"sourcesContent": ["import { Stack, styled } from '@tamagui/core'\n\nexport const Separator = styled(Stack, {\n name: 'Separator',\n borderColor: '$
|
|
5
|
-
"mappings": "AAAA;AAEO,MAAM,YAAY,OAAO,OAAO;AAAA,EACrC,MAAM;AAAA,EACN,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,
|
|
4
|
+
"sourcesContent": ["import { Stack, styled } from '@tamagui/core'\n\nexport const Separator = styled(Stack, {\n name: 'Separator',\n borderColor: '$borderColor',\n flexShrink: 0,\n borderWidth: 0,\n flex: 1,\n height: 0,\n maxHeight: 0,\n borderBottomWidth: 1,\n y: -0.5,\n\n variants: {\n vertical: {\n true: {\n y: 0,\n x: -0.5,\n height: 'auto',\n maxHeight: 'auto',\n width: 0,\n maxWidth: 0,\n borderBottomWidth: 0,\n borderRightWidth: 1,\n },\n },\n },\n})\n"],
|
|
5
|
+
"mappings": "AAAA;AAEO,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;AAAA,QACR,WAAW;AAAA,QACX,OAAO;AAAA,QACP,UAAU;AAAA,QACV,mBAAmB;AAAA,QACnB,kBAAkB;AAAA,MACpB;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/Separator.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Stack, styled } from "@tamagui/core";
|
|
2
2
|
const Separator = styled(Stack, {
|
|
3
3
|
name: "Separator",
|
|
4
|
-
borderColor: "$
|
|
4
|
+
borderColor: "$borderColor",
|
|
5
5
|
flexShrink: 0,
|
|
6
|
-
alignSelf: "stretch",
|
|
7
6
|
borderWidth: 0,
|
|
7
|
+
flex: 1,
|
|
8
|
+
height: 0,
|
|
9
|
+
maxHeight: 0,
|
|
8
10
|
borderBottomWidth: 1,
|
|
9
11
|
y: -0.5,
|
|
10
12
|
variants: {
|
|
@@ -12,6 +14,10 @@ const Separator = styled(Stack, {
|
|
|
12
14
|
true: {
|
|
13
15
|
y: 0,
|
|
14
16
|
x: -0.5,
|
|
17
|
+
height: "auto",
|
|
18
|
+
maxHeight: "auto",
|
|
19
|
+
width: 0,
|
|
20
|
+
maxWidth: 0,
|
|
15
21
|
borderBottomWidth: 0,
|
|
16
22
|
borderRightWidth: 1
|
|
17
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/separator",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.25",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"typings": "types",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"watch": "tamagui-build --watch"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
19
|
+
"@tamagui/core": "^1.0.1-beta.25"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": "*",
|
|
23
23
|
"react-dom": "*"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
26
|
+
"@tamagui/build": "^1.0.1-beta.25",
|
|
27
27
|
"react": "*",
|
|
28
28
|
"react-dom": "*"
|
|
29
29
|
},
|
package/types/Separator.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;EAyBpB,CAAA"}
|