@tamagui/separator 1.0.1-beta.98 → 1.0.1-rc.0
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 +1 -0
- package/dist/cjs/Separator.js.map +2 -2
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/Separator.js +0 -0
- package/dist/esm/Separator.js.map +2 -2
- package/dist/esm/index.js +0 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/jsx/.tamagui-dynamic-eval-Separator.js.js +28 -0
- package/dist/jsx/Separator.js +0 -0
- package/dist/jsx/Separator.js.map +2 -2
- package/dist/jsx/index.js +0 -0
- package/dist/jsx/index.js.map +1 -1
- package/package.json +10 -8
- package/src/Separator.tsx +1 -1
- package/types/Separator.d.ts +8 -8
- package/types/index.d.ts +0 -0
- package/types/Separator.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
package/dist/cjs/Separator.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Separator.tsx"],
|
|
4
|
-
"sourcesContent": ["import { Stack, isWeb, 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: isWeb ? 'initial' : 'auto',\n // maxHeight auto WILL BE passed to style attribute, but for some reason not used?\n // almost seems like a react or browser bug, but for now `initial` works\n // also, it doesn't happen for `height`, but for consistency using the same values\n maxHeight: isWeb ? 'initial' : 'auto',\n width: 0,\n maxWidth: 0,\n borderBottomWidth: 0,\n borderRightWidth: 1,\n },\n },\n },\n})\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { Stack, isWeb, 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: isWeb ? 'initial' : 'auto',\n // maxHeight auto WILL BE passed to style attribute, but for some reason not used?\n // almost seems like a react or browser bug, but for now `initial` works\n // also, it doesn't happen for `height`, but for consistency using the same values\n maxHeight: isWeb ? 'initial' : 'auto',\n width: 0,\n maxWidth: 0,\n borderBottomWidth: 0,\n borderRightWidth: 1,\n },\n },\n } as const,\n})\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAqC;AAE9B,MAAM,gBAAY,oBAAO,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,oBAAQ,YAAY;AAAA,QAI5B,WAAW,oBAAQ,YAAY;AAAA,QAC/B,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/cjs/index.js
CHANGED
package/dist/cjs/index.js.map
CHANGED
package/dist/esm/Separator.js
CHANGED
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Separator.tsx"],
|
|
4
|
-
"sourcesContent": ["import { Stack, isWeb, 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: isWeb ? 'initial' : 'auto',\n // maxHeight auto WILL BE passed to style attribute, but for some reason not used?\n // almost seems like a react or browser bug, but for now `initial` works\n // also, it doesn't happen for `height`, but for consistency using the same values\n maxHeight: isWeb ? 'initial' : 'auto',\n width: 0,\n maxWidth: 0,\n borderBottomWidth: 0,\n borderRightWidth: 1,\n },\n },\n },\n})\n"],
|
|
5
|
-
"mappings": "AAAA;
|
|
4
|
+
"sourcesContent": ["import { Stack, isWeb, 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: isWeb ? 'initial' : 'auto',\n // maxHeight auto WILL BE passed to style attribute, but for some reason not used?\n // almost seems like a react or browser bug, but for now `initial` works\n // also, it doesn't happen for `height`, but for consistency using the same values\n maxHeight: isWeb ? 'initial' : 'auto',\n width: 0,\n maxWidth: 0,\n borderBottomWidth: 0,\n borderRightWidth: 1,\n },\n },\n } as const,\n})\n"],
|
|
5
|
+
"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,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;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
|
File without changes
|
package/dist/esm/index.js.map
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
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: isWeb ? "initial" : "auto",
|
|
19
|
+
width: 0,
|
|
20
|
+
maxWidth: 0,
|
|
21
|
+
borderBottomWidth: 0,
|
|
22
|
+
borderRightWidth: 1
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export { Separator };
|
|
28
|
+
//# sourceMappingURL=Separator.js.map
|
package/dist/jsx/Separator.js
CHANGED
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Separator.tsx"],
|
|
4
|
-
"sourcesContent": ["import { Stack, isWeb, 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: isWeb ? 'initial' : 'auto',\n // maxHeight auto WILL BE passed to style attribute, but for some reason not used?\n // almost seems like a react or browser bug, but for now `initial` works\n // also, it doesn't happen for `height`, but for consistency using the same values\n maxHeight: isWeb ? 'initial' : 'auto',\n width: 0,\n maxWidth: 0,\n borderBottomWidth: 0,\n borderRightWidth: 1,\n },\n },\n },\n})\n"],
|
|
5
|
-
"mappings": "AAAA;
|
|
4
|
+
"sourcesContent": ["import { Stack, isWeb, 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: isWeb ? 'initial' : 'auto',\n // maxHeight auto WILL BE passed to style attribute, but for some reason not used?\n // almost seems like a react or browser bug, but for now `initial` works\n // also, it doesn't happen for `height`, but for consistency using the same values\n maxHeight: isWeb ? 'initial' : 'auto',\n width: 0,\n maxWidth: 0,\n borderBottomWidth: 0,\n borderRightWidth: 1,\n },\n },\n } as const,\n})\n"],
|
|
5
|
+
"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,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;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/index.js
CHANGED
|
File without changes
|
package/dist/jsx/index.js.map
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/separator",
|
|
3
|
-
"version": "1.0.1-
|
|
3
|
+
"version": "1.0.1-rc.0",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -16,19 +16,21 @@
|
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "tamagui-build",
|
|
19
|
-
"watch": "tamagui-build --watch"
|
|
19
|
+
"watch": "tamagui-build --watch",
|
|
20
|
+
"lint": "eslint src",
|
|
21
|
+
"lint:fix": "yarn lint --fix"
|
|
20
22
|
},
|
|
21
23
|
"dependencies": {
|
|
22
|
-
"@tamagui/core": "^1.0.1-
|
|
24
|
+
"@tamagui/core": "^1.0.1-rc.0"
|
|
23
25
|
},
|
|
24
26
|
"peerDependencies": {
|
|
25
|
-
"react": "
|
|
26
|
-
"react-dom": "
|
|
27
|
+
"react": ">=18",
|
|
28
|
+
"react-dom": ">=18"
|
|
27
29
|
},
|
|
28
30
|
"devDependencies": {
|
|
29
|
-
"@tamagui/build": "^1.0.1-
|
|
30
|
-
"react": "
|
|
31
|
-
"react-dom": "
|
|
31
|
+
"@tamagui/build": "^1.0.1-rc.0",
|
|
32
|
+
"react": ">=18",
|
|
33
|
+
"react-dom": ">=18"
|
|
32
34
|
},
|
|
33
35
|
"publishConfig": {
|
|
34
36
|
"access": "public"
|
package/src/Separator.tsx
CHANGED
package/types/Separator.d.ts
CHANGED
|
@@ -1,10 +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
|
-
}>>,
|
|
8
|
-
vertical?: boolean | undefined;
|
|
1
|
+
export declare const Separator: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/types-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
|
+
readonly vertical?: boolean | undefined;
|
|
3
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("@tamagui/types-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
|
+
readonly vertical?: boolean | undefined;
|
|
5
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("@tamagui/types-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
|
+
readonly vertical?: boolean | undefined;
|
|
7
|
+
}>>, import("@tamagui/core").TamaguiElement, import("@tamagui/core").StackPropsBase, {
|
|
8
|
+
readonly vertical?: boolean | undefined;
|
|
9
9
|
}>;
|
|
10
10
|
//# sourceMappingURL=Separator.d.ts.map
|
package/types/index.d.ts
CHANGED
|
File without changes
|
package/types/Separator.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;EA4BpB,CAAA"}
|
package/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|