@hanzogui/separator 3.0.2 → 102.0.0-rc.41-hanzoai.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.
- package/dist/cjs/Separator.cjs +18 -16
- package/dist/cjs/Separator.native.js +46 -44
- package/dist/cjs/Separator.native.js.map +1 -1
- package/dist/cjs/index.cjs +7 -5
- package/dist/cjs/index.native.js +7 -5
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/esm/Separator.mjs +1 -1
- package/dist/esm/Separator.mjs.map +1 -1
- package/dist/esm/Separator.native.js +1 -1
- package/dist/esm/Separator.native.js.map +1 -1
- package/dist/jsx/Separator.mjs +1 -1
- package/dist/jsx/Separator.mjs.map +1 -1
- package/dist/jsx/Separator.native.js +46 -44
- package/dist/jsx/Separator.native.js.map +1 -1
- package/dist/jsx/index.native.js +7 -5
- package/package.json +8 -8
- package/src/Separator.tsx +1 -1
- package/types/Separator.d.ts +2 -2
- package/types/Separator.d.ts.map +1 -0
- package/types/index.d.ts.map +1 -0
package/dist/cjs/Separator.cjs
CHANGED
|
@@ -3,29 +3,31 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var Separator_exports = {};
|
|
22
24
|
__export(Separator_exports, {
|
|
23
25
|
Separator: () => Separator
|
|
24
26
|
});
|
|
25
27
|
module.exports = __toCommonJS(Separator_exports);
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
const Separator = (0,
|
|
28
|
+
var import_constants = require("@hanzogui/constants");
|
|
29
|
+
var import_core = require("@hanzogui/core");
|
|
30
|
+
const Separator = (0, import_core.styled)(import_core.View, {
|
|
29
31
|
name: "Separator",
|
|
30
32
|
variants: {
|
|
31
33
|
unstyled: {
|
|
@@ -44,11 +46,11 @@ const Separator = (0, import_gui_core.styled)(import_gui_core.View, {
|
|
|
44
46
|
true: {
|
|
45
47
|
y: 0,
|
|
46
48
|
x: -0.5,
|
|
47
|
-
height:
|
|
49
|
+
height: import_constants.isWeb ? "initial" : "auto",
|
|
48
50
|
// maxHeight auto WILL BE passed to style attribute, but for some reason not used?
|
|
49
51
|
// almost seems like a react or browser bug, but for now `initial` works
|
|
50
52
|
// also, it doesn't happen for `height`, but for consistency using the same values
|
|
51
|
-
maxHeight:
|
|
53
|
+
maxHeight: import_constants.isWeb ? "initial" : "auto",
|
|
52
54
|
width: 0,
|
|
53
55
|
maxWidth: 0,
|
|
54
56
|
borderBottomWidth: 0,
|
|
@@ -57,6 +59,6 @@ const Separator = (0, import_gui_core.styled)(import_gui_core.View, {
|
|
|
57
59
|
}
|
|
58
60
|
},
|
|
59
61
|
defaultVariants: {
|
|
60
|
-
unstyled: process.env.
|
|
62
|
+
unstyled: process.env.HANZOGUI_HEADLESS === "1"
|
|
61
63
|
}
|
|
62
64
|
});
|
|
@@ -5,61 +5,63 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value:
|
|
23
|
+
value: true
|
|
22
24
|
}), mod);
|
|
23
25
|
var Separator_exports = {};
|
|
24
26
|
__export(Separator_exports, {
|
|
25
27
|
Separator: () => Separator
|
|
26
28
|
});
|
|
27
29
|
module.exports = __toCommonJS(Separator_exports);
|
|
28
|
-
var
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
}
|
|
30
|
+
var import_constants = require("@hanzogui/constants");
|
|
31
|
+
var import_core = require("@hanzogui/core");
|
|
32
|
+
var Separator = (0, import_core.styled)(import_core.View, {
|
|
33
|
+
name: "Separator",
|
|
34
|
+
variants: {
|
|
35
|
+
unstyled: {
|
|
36
|
+
false: {
|
|
37
|
+
borderColor: "$backgroundFocus",
|
|
38
|
+
flexShrink: 0,
|
|
39
|
+
borderWidth: 0,
|
|
40
|
+
flex: 1,
|
|
41
|
+
height: 0,
|
|
42
|
+
maxHeight: 0,
|
|
43
|
+
borderBottomWidth: 1,
|
|
44
|
+
y: -0.5
|
|
59
45
|
}
|
|
60
46
|
},
|
|
61
|
-
|
|
62
|
-
|
|
47
|
+
vertical: {
|
|
48
|
+
true: {
|
|
49
|
+
y: 0,
|
|
50
|
+
x: -0.5,
|
|
51
|
+
height: import_constants.isWeb ? "initial" : "auto",
|
|
52
|
+
// maxHeight auto WILL BE passed to style attribute, but for some reason not used?
|
|
53
|
+
// almost seems like a react or browser bug, but for now `initial` works
|
|
54
|
+
// also, it doesn't happen for `height`, but for consistency using the same values
|
|
55
|
+
maxHeight: import_constants.isWeb ? "initial" : "auto",
|
|
56
|
+
width: 0,
|
|
57
|
+
maxWidth: 0,
|
|
58
|
+
borderBottomWidth: 0,
|
|
59
|
+
borderRightWidth: 1
|
|
60
|
+
}
|
|
63
61
|
}
|
|
64
|
-
}
|
|
62
|
+
},
|
|
63
|
+
defaultVariants: {
|
|
64
|
+
unstyled: process.env.HANZOGUI_HEADLESS === "1"
|
|
65
|
+
}
|
|
66
|
+
});
|
|
65
67
|
//# sourceMappingURL=Separator.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Separator_exports","__export","Separator","module","exports","
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Separator_exports","__export","Separator","module","exports","import_constants","require","import_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","HANZOGUI_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;AACtB,IAAAK,gBAA6B,GAAAC,OAAA;AAEtB,IAAAC,WAAM,GAAAD,OAAY,iBAAO;AAAM,IACpCJ,SAAM,OAAAK,WAAA,CAAAC,MAAA,EAAAD,WAAA,CAAAE,IAAA;EAENC,IAAA,aAAU;EAAAC,QACR;IAAUC,QACR,EAAO;MAAAC,KACL;QACAC,WAAA,EAAY;QACZC,UAAA,GAAa;QACbC,WAAM;QACNC,IAAA;QACAC,MAAA;QACAC,SAAA;QACAC,iBAAG;QACLC,CAAA;MACF;IAEA;IAAUC,QACF;MAAAC,IACJ,EAAG;QACHF,CAAA,EAAG;QACHG,CAAA;QAA4BN,MAAA,EAAAb,gBAAA,CAAAoB,KAAA;QAAA;QAAA;QAI5B;QACAN,SAAO,EAAAd,gBAAA,CAAAoB,KAAA;QACPC,KAAA;QACAC,QAAA;QACAP,iBAAA,EAAkB;QACpBQ,gBAAA;MACF;IACF;EAEA;EAAiBC,eACL;IACZjB,QAAA,EAAAkB,OAAA,CAAAC,GAAA,CAAAC,iBAAA;EACD","ignoreList":[]}
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -3,15 +3,17 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
7
8
|
get: () => from[key],
|
|
8
9
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
10
|
});
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
13
15
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
14
|
-
value:
|
|
16
|
+
value: true
|
|
15
17
|
}), mod);
|
|
16
18
|
var index_exports = {};
|
|
17
19
|
module.exports = __toCommonJS(index_exports);
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -5,15 +5,17 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
9
10
|
get: () => from[key],
|
|
10
11
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
12
|
});
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
}
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
17
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
16
|
-
value:
|
|
18
|
+
value: true
|
|
17
19
|
}), mod);
|
|
18
20
|
var index_exports = {};
|
|
19
21
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"
|
|
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
CHANGED
|
@@ -1 +1 @@
|
|
|
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","
|
|
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","HANZOGUI_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,iBAAA,KAAsB;EAC9C;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
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","
|
|
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","HANZOGUI_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,iBAAA,KAAsB;EAC9C;AACF,CAAC","ignoreList":[]}
|
package/dist/jsx/Separator.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
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","
|
|
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","HANZOGUI_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,iBAAA,KAAsB;EAC9C;AACF,CAAC","ignoreList":[]}
|
|
@@ -5,61 +5,63 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value:
|
|
23
|
+
value: true
|
|
22
24
|
}), mod);
|
|
23
25
|
var Separator_exports = {};
|
|
24
26
|
__export(Separator_exports, {
|
|
25
27
|
Separator: () => Separator
|
|
26
28
|
});
|
|
27
29
|
module.exports = __toCommonJS(Separator_exports);
|
|
28
|
-
var
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
}
|
|
30
|
+
var import_constants = require("@hanzogui/constants");
|
|
31
|
+
var import_core = require("@hanzogui/core");
|
|
32
|
+
var Separator = (0, import_core.styled)(import_core.View, {
|
|
33
|
+
name: "Separator",
|
|
34
|
+
variants: {
|
|
35
|
+
unstyled: {
|
|
36
|
+
false: {
|
|
37
|
+
borderColor: "$backgroundFocus",
|
|
38
|
+
flexShrink: 0,
|
|
39
|
+
borderWidth: 0,
|
|
40
|
+
flex: 1,
|
|
41
|
+
height: 0,
|
|
42
|
+
maxHeight: 0,
|
|
43
|
+
borderBottomWidth: 1,
|
|
44
|
+
y: -0.5
|
|
59
45
|
}
|
|
60
46
|
},
|
|
61
|
-
|
|
62
|
-
|
|
47
|
+
vertical: {
|
|
48
|
+
true: {
|
|
49
|
+
y: 0,
|
|
50
|
+
x: -0.5,
|
|
51
|
+
height: import_constants.isWeb ? "initial" : "auto",
|
|
52
|
+
// maxHeight auto WILL BE passed to style attribute, but for some reason not used?
|
|
53
|
+
// almost seems like a react or browser bug, but for now `initial` works
|
|
54
|
+
// also, it doesn't happen for `height`, but for consistency using the same values
|
|
55
|
+
maxHeight: import_constants.isWeb ? "initial" : "auto",
|
|
56
|
+
width: 0,
|
|
57
|
+
maxWidth: 0,
|
|
58
|
+
borderBottomWidth: 0,
|
|
59
|
+
borderRightWidth: 1
|
|
60
|
+
}
|
|
63
61
|
}
|
|
64
|
-
}
|
|
62
|
+
},
|
|
63
|
+
defaultVariants: {
|
|
64
|
+
unstyled: process.env.HANZOGUI_HEADLESS === "1"
|
|
65
|
+
}
|
|
66
|
+
});
|
|
65
67
|
//# sourceMappingURL=Separator.native.js.map
|
|
@@ -1 +1 @@
|
|
|
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","
|
|
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_constants","require","import_core","styled","View","variants","unstyled","false","borderColor","flexShrink","borderWidth","flex","height","maxHeight","borderBottomWidth"],"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;EAAA,KACR,IAAAC,IAAO,IAAAD,GAAA,EAAAZ,SACL,CAAAW,MAAA,EAAaE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AACD,IAAAC,WACZ,GAAAA,CAAAC,EAAa,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAAA,IAAAF,IACb,IAAM,OAAAA,IAAA,wBAAAA,IAAA;IAAA,KACN,IAAAG,GAAQ,IAAAhB,iBAAA,CAAAa,IAAA,OACR,CAAAX,YAAW,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,EACXnB,SAAA,CAAAiB,EAAA,EAAAI,GAAA,EAAmB;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;EAAA;EAChB,OACLE,EAAA;AAAA;AACF,IAEAM,YAAU,GAAAC,GAAA,IAAAR,WAAA,CAAAhB,SAAA;EAAAyB,KAAA;AAAA,IAAAD,GAAA;AAAA,IAAAE,iBACF;AAAAhB,QACJ,CAAAgB,iBAAG;EAAAC,SACA,EAAAA,CAAA,KAAAA;AAAA;AACyBC,MAAA,CAAAC,OAAA,GAAAN,YAAA,CAAAG,iBAAA;AAAA,IAAAI,gBAAA,GAAAC,OAAA;AAAA,IAAAC,WAAA,GAAAD,OAAA;AAAA,IAAAJ,SAI5B,OAAWK,WAAQ,CAAAC,MAAA,EAAYD,WAAA,CAAAE,IAAA;EAAArB,IAAA,EAC/B,WAAO;EAAAsB,QACP;IAAUC,QACV;MAAmBC,KACnB;QACFC,WAAA;QACFC,UAAA;QACFC,WAAA;QAEAC,IAAA;QACEC,MAAU;QACZC,SAAA;QACDC,iBAAA","ignoreList":[]}
|
package/dist/jsx/index.native.js
CHANGED
|
@@ -5,15 +5,17 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
9
10
|
get: () => from[key],
|
|
10
11
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
12
|
});
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
}
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
17
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
16
|
-
value:
|
|
18
|
+
value: true
|
|
17
19
|
}), mod);
|
|
18
20
|
var index_exports = {};
|
|
19
21
|
module.exports = __toCommonJS(index_exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/separator",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "102.0.0-rc.41-hanzoai.1",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -30,17 +30,17 @@
|
|
|
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": "102.0.0-rc.41-hanzoai.1",
|
|
40
|
+
"@hanzogui/core": "102.0.0-rc.41-hanzoai.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@hanzogui/build": "
|
|
43
|
+
"@hanzogui/build": "102.0.0-rc.41-hanzoai.1",
|
|
44
44
|
"react": ">=19"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../src/Separator.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;+CAqCpB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|