@hanzogui/separator 3.0.2 → 7.0.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/package.json +9 -9
- package/src/Separator.tsx +1 -1
- package/types/Separator.d.ts +2 -2
- package/dist/cjs/Separator.cjs +0 -62
- package/dist/cjs/Separator.native.js +0 -65
- package/dist/cjs/Separator.native.js.map +0 -1
- package/dist/cjs/index.cjs +0 -18
- package/dist/cjs/index.native.js +0 -21
- package/dist/cjs/index.native.js.map +0 -1
- package/dist/esm/Separator.mjs +0 -39
- package/dist/esm/Separator.mjs.map +0 -1
- package/dist/esm/Separator.native.js +0 -39
- package/dist/esm/Separator.native.js.map +0 -1
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs +0 -2
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js +0 -2
- package/dist/esm/index.native.js.map +0 -1
- package/dist/jsx/Separator.mjs +0 -39
- package/dist/jsx/Separator.mjs.map +0 -1
- package/dist/jsx/Separator.native.js +0 -65
- package/dist/jsx/Separator.native.js.map +0 -1
- package/dist/jsx/index.js +0 -2
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs +0 -2
- package/dist/jsx/index.mjs.map +0 -1
- package/dist/jsx/index.native.js +0 -21
- package/dist/jsx/index.native.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/separator",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
-
"build": "
|
|
34
|
-
"watch": "
|
|
35
|
-
"clean": "
|
|
36
|
-
"clean:build": "
|
|
33
|
+
"build": "hanzogui-build",
|
|
34
|
+
"watch": "hanzogui-build --watch",
|
|
35
|
+
"clean": "hanzogui-build clean",
|
|
36
|
+
"clean:build": "hanzogui-build clean:build"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@hanzogui/constants": "
|
|
40
|
-
"@hanzogui/core": "
|
|
39
|
+
"@hanzogui/constants": "^7.0.0",
|
|
40
|
+
"@hanzogui/core": "^7.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@hanzogui/build": "
|
|
43
|
+
"@hanzogui/build": "^7.0.0",
|
|
44
44
|
"react": ">=19"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": ">=19"
|
|
48
48
|
},
|
|
49
49
|
"module:jsx": "dist/jsx"
|
|
50
|
-
}
|
|
50
|
+
}
|
package/src/Separator.tsx
CHANGED
package/types/Separator.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const Separator: import("@
|
|
1
|
+
export declare const Separator: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
2
2
|
unstyled?: boolean | undefined;
|
|
3
3
|
vertical?: boolean | undefined;
|
|
4
|
-
}, import("@
|
|
4
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
5
5
|
//# sourceMappingURL=Separator.d.ts.map
|
package/dist/cjs/Separator.cjs
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
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) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var Separator_exports = {};
|
|
22
|
-
__export(Separator_exports, {
|
|
23
|
-
Separator: () => Separator
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(Separator_exports);
|
|
26
|
-
var import_gui_constants = require("@hanzogui/constants"),
|
|
27
|
-
import_gui_core = require("@hanzogui/core");
|
|
28
|
-
const Separator = (0, import_gui_core.styled)(import_gui_core.View, {
|
|
29
|
-
name: "Separator",
|
|
30
|
-
variants: {
|
|
31
|
-
unstyled: {
|
|
32
|
-
false: {
|
|
33
|
-
borderColor: "$backgroundFocus",
|
|
34
|
-
flexShrink: 0,
|
|
35
|
-
borderWidth: 0,
|
|
36
|
-
flex: 1,
|
|
37
|
-
height: 0,
|
|
38
|
-
maxHeight: 0,
|
|
39
|
-
borderBottomWidth: 1,
|
|
40
|
-
y: -0.5
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
vertical: {
|
|
44
|
-
true: {
|
|
45
|
-
y: 0,
|
|
46
|
-
x: -0.5,
|
|
47
|
-
height: import_gui_constants.isWeb ? "initial" : "auto",
|
|
48
|
-
// maxHeight auto WILL BE passed to style attribute, but for some reason not used?
|
|
49
|
-
// almost seems like a react or browser bug, but for now `initial` works
|
|
50
|
-
// also, it doesn't happen for `height`, but for consistency using the same values
|
|
51
|
-
maxHeight: import_gui_constants.isWeb ? "initial" : "auto",
|
|
52
|
-
width: 0,
|
|
53
|
-
maxWidth: 0,
|
|
54
|
-
borderBottomWidth: 0,
|
|
55
|
-
borderRightWidth: 1
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
defaultVariants: {
|
|
60
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
61
|
-
}
|
|
62
|
-
});
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all) __defProp(target, name, {
|
|
9
|
-
get: all[name],
|
|
10
|
-
enumerable: !0
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
__copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
-
get: () => from[key],
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: !0
|
|
22
|
-
}), mod);
|
|
23
|
-
var Separator_exports = {};
|
|
24
|
-
__export(Separator_exports, {
|
|
25
|
-
Separator: () => Separator
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(Separator_exports);
|
|
28
|
-
var import_gui_constants = require("@hanzogui/constants"),
|
|
29
|
-
import_gui_core = require("@hanzogui/core"),
|
|
30
|
-
Separator = (0, import_gui_core.styled)(import_gui_core.View, {
|
|
31
|
-
name: "Separator",
|
|
32
|
-
variants: {
|
|
33
|
-
unstyled: {
|
|
34
|
-
false: {
|
|
35
|
-
borderColor: "$backgroundFocus",
|
|
36
|
-
flexShrink: 0,
|
|
37
|
-
borderWidth: 0,
|
|
38
|
-
flex: 1,
|
|
39
|
-
height: 0,
|
|
40
|
-
maxHeight: 0,
|
|
41
|
-
borderBottomWidth: 1,
|
|
42
|
-
y: -0.5
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
vertical: {
|
|
46
|
-
true: {
|
|
47
|
-
y: 0,
|
|
48
|
-
x: -0.5,
|
|
49
|
-
height: import_gui_constants.isWeb ? "initial" : "auto",
|
|
50
|
-
// maxHeight auto WILL BE passed to style attribute, but for some reason not used?
|
|
51
|
-
// almost seems like a react or browser bug, but for now `initial` works
|
|
52
|
-
// also, it doesn't happen for `height`, but for consistency using the same values
|
|
53
|
-
maxHeight: import_gui_constants.isWeb ? "initial" : "auto",
|
|
54
|
-
width: 0,
|
|
55
|
-
maxWidth: 0,
|
|
56
|
-
borderBottomWidth: 0,
|
|
57
|
-
borderRightWidth: 1
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
defaultVariants: {
|
|
62
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
//# sourceMappingURL=Separator.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Separator_exports","__export","Separator","module","exports","import_gui_constants","require","import_gui_core","styled","View","name","variants","unstyled","false","borderColor","flexShrink","borderWidth","flex","height","maxHeight","borderBottomWidth","y","vertical","true","x","isWeb","width","maxWidth","borderRightWidth","defaultVariants","process","env","HANZO_GUI_HEADLESS"],"sources":["../../src/Separator.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,iBAAA;AAAAC,QAAA,CAAAD,iBAAA;EAAAE,SAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAsB,CAAAK,iBAAA;AAGf,IAAAK,oBAAkB,GAAAC,OAAA,uBAAO;EAAAC,eAAM,GAAAD,OAAA;EAAAJ,SAAA,OAAAK,eAAA,CAAAC,MAAA,EAAAD,eAAA,CAAAE,IAAA;IACpCC,IAAA,EAAM;IAENC,QAAA,EAAU;MACRC,QAAA,EAAU;QACRC,KAAA,EAAO;UACLC,WAAA,EAAa;UACbC,UAAA,EAAY;UACZC,WAAA,EAAa;UACbC,IAAA,EAAM;UACNC,MAAA,EAAQ;UACRC,SAAA,EAAW;UACXC,iBAAA,EAAmB;UACnBC,CAAA,EAAG;QACL;MACF;MAEAC,QAAA,EAAU;QACRC,IAAA,EAAM;UACJF,CAAA,EAAG;UACHG,CAAA,EAAG;UACHN,MAAA,EAAQb,oBAAA,CAAAoB,KAAA,GAAQ,YAAY;UAAA;UAAA;UAAA;UAI5BN,SAAA,EAAWd,oBAAA,CAAAoB,KAAA,GAAQ,YAAY;UAC/BC,KAAA,EAAO;UACPC,QAAA,EAAU;UACVP,iBAAA,EAAmB;UACnBQ,gBAAA,EAAkB;QACpB;MACF;IACF;IAEAC,eAAA,EAAiB;MACfjB,QAAA,EAAUkB,OAAA,CAAQC,GAAA,CAAIC,kBAAA,KAAuB;IAC/C;EACF,CAAC","ignoreList":[]}
|
package/dist/cjs/index.cjs
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
-
get: () => from[key],
|
|
8
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
-
});
|
|
10
|
-
return to;
|
|
11
|
-
},
|
|
12
|
-
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
13
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
14
|
-
value: !0
|
|
15
|
-
}), mod);
|
|
16
|
-
var index_exports = {};
|
|
17
|
-
module.exports = __toCommonJS(index_exports);
|
|
18
|
-
__reExport(index_exports, require("./Separator.cjs"), module.exports);
|
package/dist/cjs/index.native.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
9
|
-
get: () => from[key],
|
|
10
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
-
});
|
|
12
|
-
return to;
|
|
13
|
-
},
|
|
14
|
-
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
16
|
-
value: !0
|
|
17
|
-
}), mod);
|
|
18
|
-
var index_exports = {};
|
|
19
|
-
module.exports = __toCommonJS(index_exports);
|
|
20
|
-
__reExport(index_exports, require("./Separator.native.js"), module.exports);
|
|
21
|
-
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAP,YAAc,CAAAK,aAAA","ignoreList":[]}
|
package/dist/esm/Separator.mjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { isWeb } from "@hanzogui/constants";
|
|
2
|
-
import { View, styled } from "@hanzogui/core";
|
|
3
|
-
const Separator = styled(View, {
|
|
4
|
-
name: "Separator",
|
|
5
|
-
variants: {
|
|
6
|
-
unstyled: {
|
|
7
|
-
false: {
|
|
8
|
-
borderColor: "$backgroundFocus",
|
|
9
|
-
flexShrink: 0,
|
|
10
|
-
borderWidth: 0,
|
|
11
|
-
flex: 1,
|
|
12
|
-
height: 0,
|
|
13
|
-
maxHeight: 0,
|
|
14
|
-
borderBottomWidth: 1,
|
|
15
|
-
y: -0.5
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
vertical: {
|
|
19
|
-
true: {
|
|
20
|
-
y: 0,
|
|
21
|
-
x: -0.5,
|
|
22
|
-
height: isWeb ? "initial" : "auto",
|
|
23
|
-
// maxHeight auto WILL BE passed to style attribute, but for some reason not used?
|
|
24
|
-
// almost seems like a react or browser bug, but for now `initial` works
|
|
25
|
-
// also, it doesn't happen for `height`, but for consistency using the same values
|
|
26
|
-
maxHeight: isWeb ? "initial" : "auto",
|
|
27
|
-
width: 0,
|
|
28
|
-
maxWidth: 0,
|
|
29
|
-
borderBottomWidth: 0,
|
|
30
|
-
borderRightWidth: 1
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
defaultVariants: {
|
|
35
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
export { Separator };
|
|
39
|
-
//# sourceMappingURL=Separator.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["isWeb","View","styled","Separator","name","variants","unstyled","false","borderColor","flexShrink","borderWidth","flex","height","maxHeight","borderBottomWidth","y","vertical","true","x","width","maxWidth","borderRightWidth","defaultVariants","process","env","HANZO_GUI_HEADLESS"],"sources":["../../src/Separator.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,KAAA,QAAa;AACtB,SAASC,IAAA,EAAMC,MAAA,QAAc;AAEtB,MAAMC,SAAA,GAAYD,MAAA,CAAOD,IAAA,EAAM;EACpCG,IAAA,EAAM;EAENC,QAAA,EAAU;IACRC,QAAA,EAAU;MACRC,KAAA,EAAO;QACLC,WAAA,EAAa;QACbC,UAAA,EAAY;QACZC,WAAA,EAAa;QACbC,IAAA,EAAM;QACNC,MAAA,EAAQ;QACRC,SAAA,EAAW;QACXC,iBAAA,EAAmB;QACnBC,CAAA,EAAG;MACL;IACF;IAEAC,QAAA,EAAU;MACRC,IAAA,EAAM;QACJF,CAAA,EAAG;QACHG,CAAA,EAAG;QACHN,MAAA,EAAQZ,KAAA,GAAQ,YAAY;QAAA;QAAA;QAAA;QAI5Ba,SAAA,EAAWb,KAAA,GAAQ,YAAY;QAC/BmB,KAAA,EAAO;QACPC,QAAA,EAAU;QACVN,iBAAA,EAAmB;QACnBO,gBAAA,EAAkB;MACpB;IACF;EACF;EAEAC,eAAA,EAAiB;IACfhB,QAAA,EAAUiB,OAAA,CAAQC,GAAA,CAAIC,kBAAA,KAAuB;EAC/C;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { isWeb } from "@hanzogui/constants";
|
|
2
|
-
import { View, styled } from "@hanzogui/core";
|
|
3
|
-
var Separator = styled(View, {
|
|
4
|
-
name: "Separator",
|
|
5
|
-
variants: {
|
|
6
|
-
unstyled: {
|
|
7
|
-
false: {
|
|
8
|
-
borderColor: "$backgroundFocus",
|
|
9
|
-
flexShrink: 0,
|
|
10
|
-
borderWidth: 0,
|
|
11
|
-
flex: 1,
|
|
12
|
-
height: 0,
|
|
13
|
-
maxHeight: 0,
|
|
14
|
-
borderBottomWidth: 1,
|
|
15
|
-
y: -0.5
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
vertical: {
|
|
19
|
-
true: {
|
|
20
|
-
y: 0,
|
|
21
|
-
x: -0.5,
|
|
22
|
-
height: isWeb ? "initial" : "auto",
|
|
23
|
-
// maxHeight auto WILL BE passed to style attribute, but for some reason not used?
|
|
24
|
-
// almost seems like a react or browser bug, but for now `initial` works
|
|
25
|
-
// also, it doesn't happen for `height`, but for consistency using the same values
|
|
26
|
-
maxHeight: isWeb ? "initial" : "auto",
|
|
27
|
-
width: 0,
|
|
28
|
-
maxWidth: 0,
|
|
29
|
-
borderBottomWidth: 0,
|
|
30
|
-
borderRightWidth: 1
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
defaultVariants: {
|
|
35
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
export { Separator };
|
|
39
|
-
//# sourceMappingURL=Separator.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["isWeb","View","styled","Separator","name","variants","unstyled","false","borderColor","flexShrink","borderWidth","flex","height","maxHeight","borderBottomWidth","y","vertical","true","x","width","maxWidth","borderRightWidth","defaultVariants","process","env","HANZO_GUI_HEADLESS"],"sources":["../../src/Separator.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,KAAA,QAAa;AACtB,SAASC,IAAA,EAAMC,MAAA,QAAc;AAEtB,IAAAC,SAAM,GAAAD,MAAY,CAAAD,IAAO;EAC9BG,IAAA,EAAM;EAENC,QAAA,EAAU;IACRC,QAAA,EAAU;MACRC,KAAA,EAAO;QACLC,WAAA,EAAa;QACbC,UAAA,EAAY;QACZC,WAAA,EAAa;QACbC,IAAA,EAAM;QACNC,MAAA,EAAQ;QACRC,SAAA,EAAW;QACXC,iBAAA,EAAmB;QACnBC,CAAA,EAAG;MACL;IACF;IAEAC,QAAA,EAAU;MACRC,IAAA,EAAM;QACJF,CAAA,EAAG;QACHG,CAAA,EAAG;QACHN,MAAA,EAAQZ,KAAA,GAAQ,YAAY;QAAA;QAAA;QAAA;QAI5Ba,SAAA,EAAWb,KAAA,GAAQ,YAAY;QAC/BmB,KAAA,EAAO;QACPC,QAAA,EAAU;QACVN,iBAAA,EAAmB;QACnBO,gBAAA,EAAkB;MACpB;IACF;EACF;EAEAC,eAAA,EAAiB;IACfhB,QAAA,EAAUiB,OAAA,CAAQC,GAAA,CAAIC,kBAAA,KAAuB;EAC/C;AACF,CAAC","ignoreList":[]}
|
package/dist/esm/index.js
DELETED
package/dist/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
|
package/dist/esm/index.mjs
DELETED
package/dist/esm/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
|
package/dist/esm/index.native.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
|
package/dist/jsx/Separator.mjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { isWeb } from "@hanzogui/constants";
|
|
2
|
-
import { View, styled } from "@hanzogui/core";
|
|
3
|
-
const Separator = styled(View, {
|
|
4
|
-
name: "Separator",
|
|
5
|
-
variants: {
|
|
6
|
-
unstyled: {
|
|
7
|
-
false: {
|
|
8
|
-
borderColor: "$backgroundFocus",
|
|
9
|
-
flexShrink: 0,
|
|
10
|
-
borderWidth: 0,
|
|
11
|
-
flex: 1,
|
|
12
|
-
height: 0,
|
|
13
|
-
maxHeight: 0,
|
|
14
|
-
borderBottomWidth: 1,
|
|
15
|
-
y: -0.5
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
vertical: {
|
|
19
|
-
true: {
|
|
20
|
-
y: 0,
|
|
21
|
-
x: -0.5,
|
|
22
|
-
height: isWeb ? "initial" : "auto",
|
|
23
|
-
// maxHeight auto WILL BE passed to style attribute, but for some reason not used?
|
|
24
|
-
// almost seems like a react or browser bug, but for now `initial` works
|
|
25
|
-
// also, it doesn't happen for `height`, but for consistency using the same values
|
|
26
|
-
maxHeight: isWeb ? "initial" : "auto",
|
|
27
|
-
width: 0,
|
|
28
|
-
maxWidth: 0,
|
|
29
|
-
borderBottomWidth: 0,
|
|
30
|
-
borderRightWidth: 1
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
defaultVariants: {
|
|
35
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
export { Separator };
|
|
39
|
-
//# sourceMappingURL=Separator.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["isWeb","View","styled","Separator","name","variants","unstyled","false","borderColor","flexShrink","borderWidth","flex","height","maxHeight","borderBottomWidth","y","vertical","true","x","width","maxWidth","borderRightWidth","defaultVariants","process","env","HANZO_GUI_HEADLESS"],"sources":["../../src/Separator.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,KAAA,QAAa;AACtB,SAASC,IAAA,EAAMC,MAAA,QAAc;AAEtB,MAAMC,SAAA,GAAYD,MAAA,CAAOD,IAAA,EAAM;EACpCG,IAAA,EAAM;EAENC,QAAA,EAAU;IACRC,QAAA,EAAU;MACRC,KAAA,EAAO;QACLC,WAAA,EAAa;QACbC,UAAA,EAAY;QACZC,WAAA,EAAa;QACbC,IAAA,EAAM;QACNC,MAAA,EAAQ;QACRC,SAAA,EAAW;QACXC,iBAAA,EAAmB;QACnBC,CAAA,EAAG;MACL;IACF;IAEAC,QAAA,EAAU;MACRC,IAAA,EAAM;QACJF,CAAA,EAAG;QACHG,CAAA,EAAG;QACHN,MAAA,EAAQZ,KAAA,GAAQ,YAAY;QAAA;QAAA;QAAA;QAI5Ba,SAAA,EAAWb,KAAA,GAAQ,YAAY;QAC/BmB,KAAA,EAAO;QACPC,QAAA,EAAU;QACVN,iBAAA,EAAmB;QACnBO,gBAAA,EAAkB;MACpB;IACF;EACF;EAEAC,eAAA,EAAiB;IACfhB,QAAA,EAAUiB,OAAA,CAAQC,GAAA,CAAIC,kBAAA,KAAuB;EAC/C;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all) __defProp(target, name, {
|
|
9
|
-
get: all[name],
|
|
10
|
-
enumerable: !0
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
__copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
-
get: () => from[key],
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: !0
|
|
22
|
-
}), mod);
|
|
23
|
-
var Separator_exports = {};
|
|
24
|
-
__export(Separator_exports, {
|
|
25
|
-
Separator: () => Separator
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(Separator_exports);
|
|
28
|
-
var import_gui_constants = require("@hanzogui/constants"),
|
|
29
|
-
import_gui_core = require("@hanzogui/core"),
|
|
30
|
-
Separator = (0, import_gui_core.styled)(import_gui_core.View, {
|
|
31
|
-
name: "Separator",
|
|
32
|
-
variants: {
|
|
33
|
-
unstyled: {
|
|
34
|
-
false: {
|
|
35
|
-
borderColor: "$backgroundFocus",
|
|
36
|
-
flexShrink: 0,
|
|
37
|
-
borderWidth: 0,
|
|
38
|
-
flex: 1,
|
|
39
|
-
height: 0,
|
|
40
|
-
maxHeight: 0,
|
|
41
|
-
borderBottomWidth: 1,
|
|
42
|
-
y: -0.5
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
vertical: {
|
|
46
|
-
true: {
|
|
47
|
-
y: 0,
|
|
48
|
-
x: -0.5,
|
|
49
|
-
height: import_gui_constants.isWeb ? "initial" : "auto",
|
|
50
|
-
// maxHeight auto WILL BE passed to style attribute, but for some reason not used?
|
|
51
|
-
// almost seems like a react or browser bug, but for now `initial` works
|
|
52
|
-
// also, it doesn't happen for `height`, but for consistency using the same values
|
|
53
|
-
maxHeight: import_gui_constants.isWeb ? "initial" : "auto",
|
|
54
|
-
width: 0,
|
|
55
|
-
maxWidth: 0,
|
|
56
|
-
borderBottomWidth: 0,
|
|
57
|
-
borderRightWidth: 1
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
defaultVariants: {
|
|
62
|
-
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
//# sourceMappingURL=Separator.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","Separator_exports","Separator","module","exports","import_gui_constants","require","import_gui_core","styled","View","variants","unstyled","false","borderColor","flexShrink","borderWidth","flex","height","maxHeight","borderBottomWidth","y","vertical","true"],"sources":["../../src/Separator.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AACT,IAAAA,SAAS,GAAMC,MAAA,CAAAC,cAAc;AAEtB,IAAAC,gBAAkB,GAAAF,MAAO,CAAAG,wBAAM;AAAA,IACpCC,iBAAM,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IAENC,YAAU,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IACRC,QAAA,GAAUA,CAAAC,MAAA,EAAAC,GAAA;IAAA,KACR,IAAAC,IAAO,IAAAD,GAAA,EAAAZ,SACL,CAAAW,MAAA,EAAaE,IAAA;MAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;MAAAE,UAAA;IAAA;EAAA;EAAAC,WACb,GAAAA,CAAAC,EAAY,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;IAAA,IAAAF,IACZ,WAAaA,IAAA,uBAAAA,IAAA,qBACb,IAAAG,GAAM,IAAAhB,iBAAA,CAAAa,IAAA,IAAAX,YACE,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,IAAAnB,SAAA,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;IAAA,OACRE,EAAA;EAAW;AACQ,IAAAM,YAChB,GAAAC,GAAA,IAAAR,WAAA,CAAAhB,SAAA;EAAAyB,KAAA;AAAA,IAAAD,GAAA;AAAA,IAAAE,iBACL;AAAAhB,QACF,CAAAgB,iBAAA;EAAAC,SAEA,EAAAA,CAAA,KAAUA;AAAA;AACFC,MAAA,CAAAC,OACD,GAAAN,YAAA,CAAAG,iBAAA;AAAA,IAAAI,oBACA,GAAAC,OAAA;EAAAC,eAAA,GAAAD,OAAA;EAAAJ,SAAA,OAAAK,eAAA,CAAAC,MAAA,EAAAD,eAAA,CAAAE,IAAA;IAAArB,IAAA,EACH,WAAQ;IAAoBsB,QAAA;MAAAC,QAAA;QAAAC,KAAA;UAI5BC,WAAW,oBAAoB;UAC/BC,UAAO;UACPC,WAAU;UACVC,IAAA;UACAC,MAAA;UACFC,SAAA;UACFC,iBAAA;UACFC,CAAA;QAEA;MACE;MACFC,QAAA;QACDC,IAAA","ignoreList":[]}
|
package/dist/jsx/index.js
DELETED
package/dist/jsx/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
|
package/dist/jsx/index.mjs
DELETED
package/dist/jsx/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
|
package/dist/jsx/index.native.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
9
|
-
get: () => from[key],
|
|
10
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
-
});
|
|
12
|
-
return to;
|
|
13
|
-
},
|
|
14
|
-
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
16
|
-
value: !0
|
|
17
|
-
}), mod);
|
|
18
|
-
var index_exports = {};
|
|
19
|
-
module.exports = __toCommonJS(index_exports);
|
|
20
|
-
__reExport(index_exports, require("./Separator.native.js"), module.exports);
|
|
21
|
-
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA","ignoreList":[]}
|