@tamagui/stacks 1.0.0-canary.204 → 1.0.1-beta.20
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/SizableStack.js +104 -0
- package/dist/cjs/SizableStack.js.map +7 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/SizableStack.js +81 -0
- package/dist/esm/SizableStack.js.map +7 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +2 -2
- package/dist/jsx/SizableStack.js +80 -0
- package/dist/jsx/index.js +1 -0
- package/package.json +4 -4
- package/types/SizableStack.d.ts +56 -0
- package/types/SizableStack.d.ts.map +1 -0
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/LICENSE +0 -21
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var SizableStack_exports = {};
|
|
19
|
+
__export(SizableStack_exports, {
|
|
20
|
+
SizableStack: () => SizableStack
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(SizableStack_exports);
|
|
23
|
+
var import_core = require("@tamagui/core");
|
|
24
|
+
var import_Stacks = require("./Stacks");
|
|
25
|
+
const SizableStack = (0, import_core.styled)(import_Stacks.XStack, {
|
|
26
|
+
name: "SizableStack",
|
|
27
|
+
backgroundColor: "$background",
|
|
28
|
+
flexDirection: "row",
|
|
29
|
+
flexShrink: 1,
|
|
30
|
+
variants: {
|
|
31
|
+
fontFamily: () => ({}),
|
|
32
|
+
hoverable: {
|
|
33
|
+
true: {
|
|
34
|
+
hoverStyle: {
|
|
35
|
+
backgroundColor: "$backgroundHover",
|
|
36
|
+
borderColor: "$borderColorHover"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
false: {
|
|
40
|
+
hoverStyle: {
|
|
41
|
+
backgroundColor: "$background",
|
|
42
|
+
borderColor: "$borderColor"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
pressable: {
|
|
47
|
+
true: {
|
|
48
|
+
pressStyle: {
|
|
49
|
+
backgroundColor: "$backgroundPress",
|
|
50
|
+
borderColor: "$borderColorPress"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
false: {
|
|
54
|
+
pressStyle: {
|
|
55
|
+
backgroundColor: "$background",
|
|
56
|
+
borderColor: "$borderColor"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
focusable: {
|
|
61
|
+
true: {
|
|
62
|
+
focusStyle: {
|
|
63
|
+
backgroundColor: "$backgroundFocus",
|
|
64
|
+
borderColor: "$borderColorFocus"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
bordered: {
|
|
69
|
+
true: {
|
|
70
|
+
borderWidth: 1,
|
|
71
|
+
borderColor: "$borderColor"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
size: {
|
|
75
|
+
"...size": (0, import_core.getButtonSize)()
|
|
76
|
+
},
|
|
77
|
+
disabled: {
|
|
78
|
+
true: {
|
|
79
|
+
opacity: 0.45,
|
|
80
|
+
backgroundColor: "$background",
|
|
81
|
+
hoverStyle: {
|
|
82
|
+
backgroundColor: "$background"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
transparent: {
|
|
87
|
+
true: {
|
|
88
|
+
backgroundColor: "transparent"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
chromeless: {
|
|
92
|
+
true: {
|
|
93
|
+
backgroundColor: "transparent",
|
|
94
|
+
borderColor: "transparent",
|
|
95
|
+
shadowColor: "transparent"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
101
|
+
0 && (module.exports = {
|
|
102
|
+
SizableStack
|
|
103
|
+
});
|
|
104
|
+
//# sourceMappingURL=SizableStack.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/SizableStack.tsx"],
|
|
4
|
+
"sourcesContent": ["import { GetProps, getButtonSize, styled } from '@tamagui/core'\n\nimport { XStack } from './Stacks'\n\nexport const SizableStack = styled(XStack, {\n name: 'SizableStack',\n backgroundColor: '$background',\n flexDirection: 'row',\n flexShrink: 1,\n\n variants: {\n // allows the type to come in for use in size\n fontFamily: () => ({}),\n\n hoverable: {\n true: {\n hoverStyle: {\n backgroundColor: '$backgroundHover',\n borderColor: '$borderColorHover',\n },\n },\n false: {\n hoverStyle: {\n backgroundColor: '$background',\n borderColor: '$borderColor',\n },\n },\n },\n\n pressable: {\n true: {\n pressStyle: {\n backgroundColor: '$backgroundPress',\n borderColor: '$borderColorPress',\n },\n },\n false: {\n pressStyle: {\n backgroundColor: '$background',\n borderColor: '$borderColor',\n },\n },\n },\n\n focusable: {\n true: {\n focusStyle: {\n backgroundColor: '$backgroundFocus',\n borderColor: '$borderColorFocus',\n },\n },\n },\n\n bordered: {\n true: {\n borderWidth: 1,\n borderColor: '$borderColor',\n },\n },\n\n size: {\n '...size': getButtonSize(),\n },\n\n disabled: {\n true: {\n // pointerEvents: 'none',\n opacity: 0.45,\n backgroundColor: '$background',\n hoverStyle: {\n backgroundColor: '$background',\n },\n },\n },\n\n transparent: {\n true: {\n backgroundColor: 'transparent',\n },\n },\n\n chromeless: {\n true: {\n backgroundColor: 'transparent',\n borderColor: 'transparent',\n shadowColor: 'transparent',\n // this would be a breaking change...\n // hoverStyle: {\n // backgroundColor: 'transparent',\n // },\n },\n },\n },\n})\n\nexport type SizableStackProps = GetProps<typeof SizableStack>\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAgD;AAEhD,oBAAuB;AAEhB,MAAM,eAAe,wBAAO,sBAAQ;AAAA,EACzC,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,YAAY;AAAA,EAEZ,UAAU;AAAA,IAER,YAAY,MAAO,EAAC;AAAA,IAEpB,WAAW;AAAA,MACT,MAAM;AAAA,QACJ,YAAY;AAAA,UACV,iBAAiB;AAAA,UACjB,aAAa;AAAA,QACf;AAAA,MACF;AAAA,MACA,OAAO;AAAA,QACL,YAAY;AAAA,UACV,iBAAiB;AAAA,UACjB,aAAa;AAAA,QACf;AAAA,MACF;AAAA,IACF;AAAA,IAEA,WAAW;AAAA,MACT,MAAM;AAAA,QACJ,YAAY;AAAA,UACV,iBAAiB;AAAA,UACjB,aAAa;AAAA,QACf;AAAA,MACF;AAAA,MACA,OAAO;AAAA,QACL,YAAY;AAAA,UACV,iBAAiB;AAAA,UACjB,aAAa;AAAA,QACf;AAAA,MACF;AAAA,IACF;AAAA,IAEA,WAAW;AAAA,MACT,MAAM;AAAA,QACJ,YAAY;AAAA,UACV,iBAAiB;AAAA,UACjB,aAAa;AAAA,QACf;AAAA,MACF;AAAA,IACF;AAAA,IAEA,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,aAAa;AAAA,QACb,aAAa;AAAA,MACf;AAAA,IACF;AAAA,IAEA,MAAM;AAAA,MACJ,WAAW,+BAAc;AAAA,IAC3B;AAAA,IAEA,UAAU;AAAA,MACR,MAAM;AAAA,QAEJ,SAAS;AAAA,QACT,iBAAiB;AAAA,QACjB,YAAY;AAAA,UACV,iBAAiB;AAAA,QACnB;AAAA,MACF;AAAA,IACF;AAAA,IAEA,aAAa;AAAA,MACX,MAAM;AAAA,QACJ,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,IAEA,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,iBAAiB;AAAA,QACjB,aAAa;AAAA,QACb,aAAa;AAAA,MAKf;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -15,4 +15,5 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
15
15
|
var src_exports = {};
|
|
16
16
|
module.exports = __toCommonJS(src_exports);
|
|
17
17
|
__reExport(src_exports, require("./Stacks"), module.exports);
|
|
18
|
+
__reExport(src_exports, require("./SizableStack"), module.exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["export * from './Stacks'\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,qBAAd;",
|
|
4
|
+
"sourcesContent": ["export * from './Stacks'\nexport * from './SizableStack'\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,qBAAd;AACA,wBAAc,2BADd;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { getButtonSize, styled } from "@tamagui/core";
|
|
2
|
+
import { XStack } from "./Stacks";
|
|
3
|
+
const SizableStack = styled(XStack, {
|
|
4
|
+
name: "SizableStack",
|
|
5
|
+
backgroundColor: "$background",
|
|
6
|
+
flexDirection: "row",
|
|
7
|
+
flexShrink: 1,
|
|
8
|
+
variants: {
|
|
9
|
+
fontFamily: () => ({}),
|
|
10
|
+
hoverable: {
|
|
11
|
+
true: {
|
|
12
|
+
hoverStyle: {
|
|
13
|
+
backgroundColor: "$backgroundHover",
|
|
14
|
+
borderColor: "$borderColorHover"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
false: {
|
|
18
|
+
hoverStyle: {
|
|
19
|
+
backgroundColor: "$background",
|
|
20
|
+
borderColor: "$borderColor"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
pressable: {
|
|
25
|
+
true: {
|
|
26
|
+
pressStyle: {
|
|
27
|
+
backgroundColor: "$backgroundPress",
|
|
28
|
+
borderColor: "$borderColorPress"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
false: {
|
|
32
|
+
pressStyle: {
|
|
33
|
+
backgroundColor: "$background",
|
|
34
|
+
borderColor: "$borderColor"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
focusable: {
|
|
39
|
+
true: {
|
|
40
|
+
focusStyle: {
|
|
41
|
+
backgroundColor: "$backgroundFocus",
|
|
42
|
+
borderColor: "$borderColorFocus"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
bordered: {
|
|
47
|
+
true: {
|
|
48
|
+
borderWidth: 1,
|
|
49
|
+
borderColor: "$borderColor"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
size: {
|
|
53
|
+
"...size": getButtonSize()
|
|
54
|
+
},
|
|
55
|
+
disabled: {
|
|
56
|
+
true: {
|
|
57
|
+
opacity: 0.45,
|
|
58
|
+
backgroundColor: "$background",
|
|
59
|
+
hoverStyle: {
|
|
60
|
+
backgroundColor: "$background"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
transparent: {
|
|
65
|
+
true: {
|
|
66
|
+
backgroundColor: "transparent"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
chromeless: {
|
|
70
|
+
true: {
|
|
71
|
+
backgroundColor: "transparent",
|
|
72
|
+
borderColor: "transparent",
|
|
73
|
+
shadowColor: "transparent"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
export {
|
|
79
|
+
SizableStack
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=SizableStack.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/SizableStack.tsx"],
|
|
4
|
+
"sourcesContent": ["import { GetProps, getButtonSize, styled } from '@tamagui/core'\n\nimport { XStack } from './Stacks'\n\nexport const SizableStack = styled(XStack, {\n name: 'SizableStack',\n backgroundColor: '$background',\n flexDirection: 'row',\n flexShrink: 1,\n\n variants: {\n // allows the type to come in for use in size\n fontFamily: () => ({}),\n\n hoverable: {\n true: {\n hoverStyle: {\n backgroundColor: '$backgroundHover',\n borderColor: '$borderColorHover',\n },\n },\n false: {\n hoverStyle: {\n backgroundColor: '$background',\n borderColor: '$borderColor',\n },\n },\n },\n\n pressable: {\n true: {\n pressStyle: {\n backgroundColor: '$backgroundPress',\n borderColor: '$borderColorPress',\n },\n },\n false: {\n pressStyle: {\n backgroundColor: '$background',\n borderColor: '$borderColor',\n },\n },\n },\n\n focusable: {\n true: {\n focusStyle: {\n backgroundColor: '$backgroundFocus',\n borderColor: '$borderColorFocus',\n },\n },\n },\n\n bordered: {\n true: {\n borderWidth: 1,\n borderColor: '$borderColor',\n },\n },\n\n size: {\n '...size': getButtonSize(),\n },\n\n disabled: {\n true: {\n // pointerEvents: 'none',\n opacity: 0.45,\n backgroundColor: '$background',\n hoverStyle: {\n backgroundColor: '$background',\n },\n },\n },\n\n transparent: {\n true: {\n backgroundColor: 'transparent',\n },\n },\n\n chromeless: {\n true: {\n backgroundColor: 'transparent',\n borderColor: 'transparent',\n shadowColor: 'transparent',\n // this would be a breaking change...\n // hoverStyle: {\n // backgroundColor: 'transparent',\n // },\n },\n },\n },\n})\n\nexport type SizableStackProps = GetProps<typeof SizableStack>\n"],
|
|
5
|
+
"mappings": "AAAA;AAEA;AAEO,MAAM,eAAe,OAAO,QAAQ;AAAA,EACzC,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,YAAY;AAAA,EAEZ,UAAU;AAAA,IAER,YAAY,MAAO,EAAC;AAAA,IAEpB,WAAW;AAAA,MACT,MAAM;AAAA,QACJ,YAAY;AAAA,UACV,iBAAiB;AAAA,UACjB,aAAa;AAAA,QACf;AAAA,MACF;AAAA,MACA,OAAO;AAAA,QACL,YAAY;AAAA,UACV,iBAAiB;AAAA,UACjB,aAAa;AAAA,QACf;AAAA,MACF;AAAA,IACF;AAAA,IAEA,WAAW;AAAA,MACT,MAAM;AAAA,QACJ,YAAY;AAAA,UACV,iBAAiB;AAAA,UACjB,aAAa;AAAA,QACf;AAAA,MACF;AAAA,MACA,OAAO;AAAA,QACL,YAAY;AAAA,UACV,iBAAiB;AAAA,UACjB,aAAa;AAAA,QACf;AAAA,MACF;AAAA,IACF;AAAA,IAEA,WAAW;AAAA,MACT,MAAM;AAAA,QACJ,YAAY;AAAA,UACV,iBAAiB;AAAA,UACjB,aAAa;AAAA,QACf;AAAA,MACF;AAAA,IACF;AAAA,IAEA,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,aAAa;AAAA,QACb,aAAa;AAAA,MACf;AAAA,IACF;AAAA,IAEA,MAAM;AAAA,MACJ,WAAW,cAAc;AAAA,IAC3B;AAAA,IAEA,UAAU;AAAA,MACR,MAAM;AAAA,QAEJ,SAAS;AAAA,QACT,iBAAiB;AAAA,QACjB,YAAY;AAAA,UACV,iBAAiB;AAAA,QACnB;AAAA,MACF;AAAA,IACF;AAAA,IAEA,aAAa;AAAA,MACX,MAAM;AAAA,QACJ,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,IAEA,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,iBAAiB;AAAA,QACjB,aAAa;AAAA,QACb,aAAa;AAAA,MAKf;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/esm/index.js
CHANGED
package/dist/esm/index.js.map
CHANGED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { getButtonSize, styled } from "@tamagui/core";
|
|
2
|
+
import { XStack } from "./Stacks";
|
|
3
|
+
const SizableStack = styled(XStack, {
|
|
4
|
+
name: "SizableStack",
|
|
5
|
+
backgroundColor: "$background",
|
|
6
|
+
flexDirection: "row",
|
|
7
|
+
flexShrink: 1,
|
|
8
|
+
variants: {
|
|
9
|
+
fontFamily: () => ({}),
|
|
10
|
+
hoverable: {
|
|
11
|
+
true: {
|
|
12
|
+
hoverStyle: {
|
|
13
|
+
backgroundColor: "$backgroundHover",
|
|
14
|
+
borderColor: "$borderColorHover"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
false: {
|
|
18
|
+
hoverStyle: {
|
|
19
|
+
backgroundColor: "$background",
|
|
20
|
+
borderColor: "$borderColor"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
pressable: {
|
|
25
|
+
true: {
|
|
26
|
+
pressStyle: {
|
|
27
|
+
backgroundColor: "$backgroundPress",
|
|
28
|
+
borderColor: "$borderColorPress"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
false: {
|
|
32
|
+
pressStyle: {
|
|
33
|
+
backgroundColor: "$background",
|
|
34
|
+
borderColor: "$borderColor"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
focusable: {
|
|
39
|
+
true: {
|
|
40
|
+
focusStyle: {
|
|
41
|
+
backgroundColor: "$backgroundFocus",
|
|
42
|
+
borderColor: "$borderColorFocus"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
bordered: {
|
|
47
|
+
true: {
|
|
48
|
+
borderWidth: 1,
|
|
49
|
+
borderColor: "$borderColor"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
size: {
|
|
53
|
+
"...size": getButtonSize()
|
|
54
|
+
},
|
|
55
|
+
disabled: {
|
|
56
|
+
true: {
|
|
57
|
+
opacity: 0.45,
|
|
58
|
+
backgroundColor: "$background",
|
|
59
|
+
hoverStyle: {
|
|
60
|
+
backgroundColor: "$background"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
transparent: {
|
|
65
|
+
true: {
|
|
66
|
+
backgroundColor: "transparent"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
chromeless: {
|
|
70
|
+
true: {
|
|
71
|
+
backgroundColor: "transparent",
|
|
72
|
+
borderColor: "transparent",
|
|
73
|
+
shadowColor: "transparent"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
export {
|
|
79
|
+
SizableStack
|
|
80
|
+
};
|
package/dist/jsx/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/stacks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1-beta.20",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"typings": "types",
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
"watch": "tamagui-build --watch"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@tamagui/core": "^1.0.
|
|
19
|
+
"@tamagui/core": "^1.0.1-beta.20"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": "*",
|
|
23
23
|
"react-dom": "*"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@tamagui/build": "^1.0.
|
|
26
|
+
"@tamagui/build": "^1.0.1-beta.20",
|
|
27
27
|
"react": "*",
|
|
28
28
|
"react-dom": "*"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14"
|
|
34
34
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { GetProps } from '@tamagui/core';
|
|
2
|
+
export declare const SizableStack: import("@tamagui/core").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
3
|
+
fullscreen?: boolean | undefined;
|
|
4
|
+
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
5
|
+
}, "focusable" | "fontFamily" | "disabled" | "size" | "transparent" | "hoverable" | "pressable" | "bordered" | "chromeless"> & {
|
|
6
|
+
fontFamily?: unknown;
|
|
7
|
+
hoverable?: boolean | undefined;
|
|
8
|
+
pressable?: boolean | undefined;
|
|
9
|
+
focusable?: boolean | undefined;
|
|
10
|
+
bordered?: boolean | undefined;
|
|
11
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
12
|
+
disabled?: boolean | undefined;
|
|
13
|
+
transparent?: boolean | undefined;
|
|
14
|
+
chromeless?: boolean | undefined;
|
|
15
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
16
|
+
fullscreen?: boolean | undefined;
|
|
17
|
+
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
18
|
+
}, "focusable" | "fontFamily" | "disabled" | "size" | "transparent" | "hoverable" | "pressable" | "bordered" | "chromeless"> & {
|
|
19
|
+
fontFamily?: unknown;
|
|
20
|
+
hoverable?: boolean | undefined;
|
|
21
|
+
pressable?: boolean | undefined;
|
|
22
|
+
focusable?: boolean | undefined;
|
|
23
|
+
bordered?: boolean | undefined;
|
|
24
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
25
|
+
disabled?: boolean | undefined;
|
|
26
|
+
transparent?: boolean | undefined;
|
|
27
|
+
chromeless?: boolean | undefined;
|
|
28
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
29
|
+
fullscreen?: boolean | undefined;
|
|
30
|
+
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
31
|
+
}, "focusable" | "fontFamily" | "disabled" | "size" | "transparent" | "hoverable" | "pressable" | "bordered" | "chromeless"> & {
|
|
32
|
+
fontFamily?: unknown;
|
|
33
|
+
hoverable?: boolean | undefined;
|
|
34
|
+
pressable?: boolean | undefined;
|
|
35
|
+
focusable?: boolean | undefined;
|
|
36
|
+
bordered?: boolean | undefined;
|
|
37
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
38
|
+
disabled?: boolean | undefined;
|
|
39
|
+
transparent?: boolean | undefined;
|
|
40
|
+
chromeless?: boolean | undefined;
|
|
41
|
+
}>>, any, import("@tamagui/core").StackPropsBase, {
|
|
42
|
+
fullscreen?: boolean | undefined;
|
|
43
|
+
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
44
|
+
} & {
|
|
45
|
+
fontFamily?: unknown;
|
|
46
|
+
hoverable?: boolean | undefined;
|
|
47
|
+
pressable?: boolean | undefined;
|
|
48
|
+
focusable?: boolean | undefined;
|
|
49
|
+
bordered?: boolean | undefined;
|
|
50
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
51
|
+
disabled?: boolean | undefined;
|
|
52
|
+
transparent?: boolean | undefined;
|
|
53
|
+
chromeless?: boolean | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
export declare type SizableStackProps = GetProps<typeof SizableStack>;
|
|
56
|
+
//# sourceMappingURL=SizableStack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SizableStack.d.ts","sourceRoot":"","sources":["../src/SizableStack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAyB,MAAM,eAAe,CAAA;AAI/D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyFvB,CAAA;AAEF,oBAAY,iBAAiB,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAA"}
|
package/types/index.d.ts
CHANGED
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA"}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Nate Wienert
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|