@tamagui/separator 1.110.5 → 1.111.1
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,32 @@
|
|
|
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
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export { Separator };
|
|
32
|
+
//# sourceMappingURL=Separator.native.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isWeb","Stack","styled","Separator","name","borderColor","flexShrink","borderWidth","flex","height","maxHeight","borderBottomWidth","y","variants","vertical","true","x","width","maxWidth","borderRightWidth"],"sources":["../../src/Separator.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,KAAA,QAAa;AACtB,SAASC,KAAA,EAAOC,MAAA,QAAc;AAEvB,IAAAC,SAAM,GAAAD,MAAY,CAAAD,KAAO;EAC9BG,IAAA,EAAM;EACNC,WAAA,EAAa;EACbC,UAAA,EAAY;EACZC,WAAA,EAAa;EACbC,IAAA,EAAM;EACNC,MAAA,EAAQ;EACRC,SAAA,EAAW;EACXC,iBAAA,EAAmB;EACnBC,CAAA,EAAG;EAEHC,QAAA,EAAU;IACRC,QAAA,EAAU;MACRC,IAAA,EAAM;QACJH,CAAA,EAAG;QACHI,CAAA,EAAG;QAEHP,MAAA,EAAQT,KAAA,GAAQ,YAAY;QAAA;QAAA;QAAA;QAI5BU,SAAA,EAAWV,KAAA,GAAQ,YAAY;QAC/BiB,KAAA,EAAO;QACPC,QAAA,EAAU;QACVP,iBAAA,EAAmB;QACnBQ,gBAAA,EAAkB;MACpB;IACF;EACF;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/separator",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.111.1",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@tamagui/constants": "1.
|
|
37
|
-
"@tamagui/core": "1.
|
|
36
|
+
"@tamagui/constants": "1.111.1",
|
|
37
|
+
"@tamagui/core": "1.111.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@tamagui/build": "1.
|
|
40
|
+
"@tamagui/build": "1.111.1",
|
|
41
41
|
"react": "^18.2.0 || ^19.0.0"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|