@tamagui/separator 1.0.0-beta.11
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 +47 -0
- package/dist/cjs/Separator.js.map +7 -0
- package/dist/cjs/index.js +18 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/esm/Separator.js +24 -0
- package/dist/esm/Separator.js.map +7 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/jsx/Separator.js +23 -0
- package/dist/jsx/index.js +1 -0
- package/package.json +33 -0
- package/types/Separator.d.ts +10 -0
- package/types/Separator.d.ts.map +1 -0
- package/types/index.d.ts +2 -0
- package/types/index.d.ts.map +1 -0
|
@@ -0,0 +1,47 @@
|
|
|
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 Separator_exports = {};
|
|
19
|
+
__export(Separator_exports, {
|
|
20
|
+
Separator: () => Separator
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(Separator_exports);
|
|
23
|
+
var import_core = require("@tamagui/core");
|
|
24
|
+
const Separator = (0, import_core.styled)(import_core.Stack, {
|
|
25
|
+
name: "Separator",
|
|
26
|
+
borderColor: "$borderColorHover",
|
|
27
|
+
flexShrink: 0,
|
|
28
|
+
alignSelf: "stretch",
|
|
29
|
+
borderWidth: 0,
|
|
30
|
+
borderBottomWidth: 1,
|
|
31
|
+
y: -0.5,
|
|
32
|
+
variants: {
|
|
33
|
+
vertical: {
|
|
34
|
+
true: {
|
|
35
|
+
y: 0,
|
|
36
|
+
x: -0.5,
|
|
37
|
+
borderBottomWidth: 0,
|
|
38
|
+
borderRightWidth: 1
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
+
0 && (module.exports = {
|
|
45
|
+
Separator
|
|
46
|
+
});
|
|
47
|
+
//# sourceMappingURL=Separator.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 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: '$borderColorHover',\n flexShrink: 0,\n alignSelf: 'stretch',\n borderWidth: 0,\n borderBottomWidth: 1,\n y: -0.5,\n\n variants: {\n vertical: {\n true: {\n y: 0,\n x: -0.5,\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,WAAW;AAAA,EACX,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,GAAG;AAAA,EAEH,UAAU;AAAA,IACR,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,GAAG;AAAA,QACH,GAAG;AAAA,QACH,mBAAmB;AAAA,QACnB,kBAAkB;AAAA,MACpB;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var src_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(src_exports);
|
|
17
|
+
__reExport(src_exports, require("./Separator"), module.exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Stack, styled } from "@tamagui/core";
|
|
2
|
+
const Separator = styled(Stack, {
|
|
3
|
+
name: "Separator",
|
|
4
|
+
borderColor: "$borderColorHover",
|
|
5
|
+
flexShrink: 0,
|
|
6
|
+
alignSelf: "stretch",
|
|
7
|
+
borderWidth: 0,
|
|
8
|
+
borderBottomWidth: 1,
|
|
9
|
+
y: -0.5,
|
|
10
|
+
variants: {
|
|
11
|
+
vertical: {
|
|
12
|
+
true: {
|
|
13
|
+
y: 0,
|
|
14
|
+
x: -0.5,
|
|
15
|
+
borderBottomWidth: 0,
|
|
16
|
+
borderRightWidth: 1
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
Separator
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=Separator.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 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: '$borderColorHover',\n flexShrink: 0,\n alignSelf: 'stretch',\n borderWidth: 0,\n borderBottomWidth: 1,\n y: -0.5,\n\n variants: {\n vertical: {\n true: {\n y: 0,\n x: -0.5,\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,WAAW;AAAA,EACX,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,GAAG;AAAA,EAEH,UAAU;AAAA,IACR,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,GAAG;AAAA,QACH,GAAG;AAAA,QACH,mBAAmB;AAAA,QACnB,kBAAkB;AAAA,MACpB;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Stack, styled } from "@tamagui/core";
|
|
2
|
+
const Separator = styled(Stack, {
|
|
3
|
+
name: "Separator",
|
|
4
|
+
borderColor: "$borderColorHover",
|
|
5
|
+
flexShrink: 0,
|
|
6
|
+
alignSelf: "stretch",
|
|
7
|
+
borderWidth: 0,
|
|
8
|
+
borderBottomWidth: 1,
|
|
9
|
+
y: -0.5,
|
|
10
|
+
variants: {
|
|
11
|
+
vertical: {
|
|
12
|
+
true: {
|
|
13
|
+
y: 0,
|
|
14
|
+
x: -0.5,
|
|
15
|
+
borderBottomWidth: 0,
|
|
16
|
+
borderRightWidth: 1
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
Separator
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Separator";
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tamagui/separator",
|
|
3
|
+
"version": "1.0.0-beta.11",
|
|
4
|
+
"sideEffects": false,
|
|
5
|
+
"source": "src/index.ts",
|
|
6
|
+
"typings": "types",
|
|
7
|
+
"main": "dist/cjs",
|
|
8
|
+
"module": "dist/esm",
|
|
9
|
+
"module:jsx": "dist/jsx",
|
|
10
|
+
"files": [
|
|
11
|
+
"types",
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tamagui-build",
|
|
16
|
+
"watch": "tamagui-build --watch"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@tamagui/core": "^1.0.0-beta.11"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"react": "*",
|
|
23
|
+
"react-dom": "*"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@tamagui/build": "^1.0.0-beta.11",
|
|
27
|
+
"react": "*",
|
|
28
|
+
"react-dom": "*"
|
|
29
|
+
},
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const Separator: 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<{}, "vertical"> & {
|
|
2
|
+
vertical?: boolean | undefined;
|
|
3
|
+
} & 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<{}, "vertical"> & {
|
|
4
|
+
vertical?: boolean | undefined;
|
|
5
|
+
}>> & 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<{}, "vertical"> & {
|
|
6
|
+
vertical?: boolean | undefined;
|
|
7
|
+
}>>, any, import("@tamagui/core").StackPropsBase, {
|
|
8
|
+
vertical?: boolean | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;EAmBpB,CAAA"}
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|