@hanzo/gui 2.0.7 → 2.0.9
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/createGui.cjs +69 -0
- package/dist/cjs/createGui.native.js +77 -0
- package/dist/cjs/createGui.native.js.map +1 -0
- package/dist/cjs/index.cjs +54 -0
- package/dist/cjs/index.native.js +57 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/cjs/setup.cjs +26 -0
- package/dist/cjs/setup.native.js +31 -0
- package/dist/cjs/setup.native.js.map +1 -0
- package/dist/cjs/viewTypes.cjs +16 -0
- package/dist/cjs/viewTypes.native.js +19 -0
- package/dist/cjs/viewTypes.native.js.map +1 -0
- package/dist/cjs/views/EnsureFlexed.cjs +36 -0
- package/dist/cjs/views/EnsureFlexed.native.js +39 -0
- package/dist/cjs/views/EnsureFlexed.native.js.map +1 -0
- package/dist/cjs/views/GuiProvider.cjs +27 -0
- package/dist/cjs/views/GuiProvider.native.js +30 -0
- package/dist/cjs/views/GuiProvider.native.js.map +1 -0
- package/dist/cjs/views/Text.cjs +38 -0
- package/dist/cjs/views/Text.native.js +41 -0
- package/dist/cjs/views/Text.native.js.map +1 -0
- package/dist/cjs/views/VisuallyHidden.cjs +58 -0
- package/dist/cjs/views/VisuallyHidden.native.js +61 -0
- package/dist/cjs/views/VisuallyHidden.native.js.map +1 -0
- package/dist/esm/createGui.mjs +46 -0
- package/dist/esm/createGui.mjs.map +1 -0
- package/dist/esm/createGui.native.js +51 -0
- package/dist/esm/createGui.native.js.map +1 -0
- package/dist/esm/index.js +37 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +37 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +37 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/esm/setup.mjs +4 -0
- package/dist/esm/setup.mjs.map +1 -0
- package/dist/esm/setup.native.js +5 -0
- package/dist/esm/setup.native.js.map +1 -0
- package/dist/esm/viewTypes.mjs +2 -0
- package/dist/esm/viewTypes.mjs.map +1 -0
- package/dist/esm/viewTypes.native.js +2 -0
- package/dist/esm/viewTypes.native.js.map +1 -0
- package/dist/esm/views/EnsureFlexed.mjs +13 -0
- package/dist/esm/views/EnsureFlexed.mjs.map +1 -0
- package/dist/esm/views/EnsureFlexed.native.js +13 -0
- package/dist/esm/views/EnsureFlexed.native.js.map +1 -0
- package/dist/esm/views/GuiProvider.mjs +4 -0
- package/dist/esm/views/GuiProvider.mjs.map +1 -0
- package/dist/esm/views/GuiProvider.native.js +4 -0
- package/dist/esm/views/GuiProvider.native.js.map +1 -0
- package/dist/esm/views/Text.mjs +15 -0
- package/dist/esm/views/Text.mjs.map +1 -0
- package/dist/esm/views/Text.native.js +15 -0
- package/dist/esm/views/Text.native.js.map +1 -0
- package/dist/esm/views/VisuallyHidden.mjs +35 -0
- package/dist/esm/views/VisuallyHidden.mjs.map +1 -0
- package/dist/esm/views/VisuallyHidden.native.js +35 -0
- package/dist/esm/views/VisuallyHidden.native.js.map +1 -0
- package/dist/jsx/createGui.mjs +46 -0
- package/dist/jsx/createGui.mjs.map +1 -0
- package/dist/jsx/createGui.native.js +77 -0
- package/dist/jsx/createGui.native.js.map +1 -0
- package/dist/jsx/index.js +37 -0
- package/dist/jsx/index.js.map +1 -0
- package/dist/jsx/index.mjs +37 -0
- package/dist/jsx/index.mjs.map +1 -0
- package/dist/jsx/index.native.js +57 -0
- package/dist/jsx/index.native.js.map +1 -0
- package/dist/jsx/setup.mjs +4 -0
- package/dist/jsx/setup.mjs.map +1 -0
- package/dist/jsx/setup.native.js +31 -0
- package/dist/jsx/setup.native.js.map +1 -0
- package/dist/jsx/viewTypes.mjs +2 -0
- package/dist/jsx/viewTypes.mjs.map +1 -0
- package/dist/jsx/viewTypes.native.js +19 -0
- package/dist/jsx/viewTypes.native.js.map +1 -0
- package/dist/jsx/views/EnsureFlexed.mjs +13 -0
- package/dist/jsx/views/EnsureFlexed.mjs.map +1 -0
- package/dist/jsx/views/EnsureFlexed.native.js +39 -0
- package/dist/jsx/views/EnsureFlexed.native.js.map +1 -0
- package/dist/jsx/views/GuiProvider.mjs +4 -0
- package/dist/jsx/views/GuiProvider.mjs.map +1 -0
- package/dist/jsx/views/GuiProvider.native.js +30 -0
- package/dist/jsx/views/GuiProvider.native.js.map +1 -0
- package/dist/jsx/views/Text.mjs +15 -0
- package/dist/jsx/views/Text.mjs.map +1 -0
- package/dist/jsx/views/Text.native.js +41 -0
- package/dist/jsx/views/Text.native.js.map +1 -0
- package/dist/jsx/views/VisuallyHidden.mjs +35 -0
- package/dist/jsx/views/VisuallyHidden.mjs.map +1 -0
- package/dist/jsx/views/VisuallyHidden.native.js +61 -0
- package/dist/jsx/views/VisuallyHidden.native.js.map +1 -0
- package/package.json +54 -3
- package/src/index.ts +38 -157
- package/types/index.d.ts +2 -23
|
@@ -0,0 +1,69 @@
|
|
|
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 createGui_exports = {};
|
|
22
|
+
__export(createGui_exports, {
|
|
23
|
+
createGui: () => createGui
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(createGui_exports);
|
|
26
|
+
var import_core = require("@hanzogui/core");
|
|
27
|
+
const createGui = process.env.NODE_ENV !== "development" ? import_core.createGui : conf => {
|
|
28
|
+
const sizeTokenKeys = ["$true"],
|
|
29
|
+
hasKeys = (expectedKeys, obj) => expectedKeys.every(k => typeof obj[k] < "u"),
|
|
30
|
+
guiConfig = (0, import_core.createGui)(conf);
|
|
31
|
+
for (const name of ["size", "space"]) {
|
|
32
|
+
const tokenSet = guiConfig.tokensParsed[name];
|
|
33
|
+
if (!tokenSet) throw new Error(`Expected tokens for "${name}" in ${Object.keys(guiConfig.tokensParsed).join(", ")}`);
|
|
34
|
+
if (!hasKeys(sizeTokenKeys, tokenSet)) throw new Error(`
|
|
35
|
+
createGui() missing expected tokens.${name}:
|
|
36
|
+
|
|
37
|
+
Received: ${Object.keys(tokenSet).join(", ")}
|
|
38
|
+
|
|
39
|
+
Expected: ${sizeTokenKeys.join(", ")}
|
|
40
|
+
|
|
41
|
+
Hanzo GUI expects a "true" key that is the same value as your default size. This is so
|
|
42
|
+
it can size things up or down from the defaults without assuming which keys you use.
|
|
43
|
+
|
|
44
|
+
Please define a "true" or "$true" key on your size and space tokens like so (example):
|
|
45
|
+
|
|
46
|
+
size: {
|
|
47
|
+
sm: 2,
|
|
48
|
+
md: 10,
|
|
49
|
+
true: 10, // this means "md" is your default size
|
|
50
|
+
lg: 20,
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
`);
|
|
54
|
+
}
|
|
55
|
+
const expected = Object.keys(guiConfig.tokensParsed.size);
|
|
56
|
+
for (const name of ["radius", "zIndex"]) {
|
|
57
|
+
const tokenSet = guiConfig.tokensParsed[name],
|
|
58
|
+
received = Object.keys(tokenSet);
|
|
59
|
+
if (!received.some(rk => expected.includes(rk))) throw new Error(`
|
|
60
|
+
createGui() invalid tokens.${name}:
|
|
61
|
+
|
|
62
|
+
Received: ${received.join(", ")}
|
|
63
|
+
|
|
64
|
+
Expected a subset of: ${expected.join(", ")}
|
|
65
|
+
|
|
66
|
+
`);
|
|
67
|
+
}
|
|
68
|
+
return guiConfig;
|
|
69
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
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 createGui_exports = {};
|
|
24
|
+
__export(createGui_exports, {
|
|
25
|
+
createGui: () => createGui
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(createGui_exports);
|
|
28
|
+
var import_core = require("@hanzogui/core"),
|
|
29
|
+
createGui = process.env.NODE_ENV !== "development" ? import_core.createGui : function (conf) {
|
|
30
|
+
for (var sizeTokenKeys = ["$true"], hasKeys = function (expectedKeys, obj) {
|
|
31
|
+
return expectedKeys.every(function (k) {
|
|
32
|
+
return typeof obj[k] < "u";
|
|
33
|
+
});
|
|
34
|
+
}, guiConfig = (0, import_core.createGui)(conf), _i = 0, _iter = ["size", "space"]; _i < _iter.length; _i++) {
|
|
35
|
+
var name = _iter[_i],
|
|
36
|
+
tokenSet = guiConfig.tokensParsed[name];
|
|
37
|
+
if (!tokenSet) throw new Error(`Expected tokens for "${name}" in ${Object.keys(guiConfig.tokensParsed).join(", ")}`);
|
|
38
|
+
if (!hasKeys(sizeTokenKeys, tokenSet)) throw new Error(`
|
|
39
|
+
createGui() missing expected tokens.${name}:
|
|
40
|
+
|
|
41
|
+
Received: ${Object.keys(tokenSet).join(", ")}
|
|
42
|
+
|
|
43
|
+
Expected: ${sizeTokenKeys.join(", ")}
|
|
44
|
+
|
|
45
|
+
Hanzo GUI expects a "true" key that is the same value as your default size. This is so
|
|
46
|
+
it can size things up or down from the defaults without assuming which keys you use.
|
|
47
|
+
|
|
48
|
+
Please define a "true" or "$true" key on your size and space tokens like so (example):
|
|
49
|
+
|
|
50
|
+
size: {
|
|
51
|
+
sm: 2,
|
|
52
|
+
md: 10,
|
|
53
|
+
true: 10, // this means "md" is your default size
|
|
54
|
+
lg: 20,
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
`);
|
|
58
|
+
}
|
|
59
|
+
for (var expected = Object.keys(guiConfig.tokensParsed.size), _i1 = 0, _iter1 = ["radius", "zIndex"]; _i1 < _iter1.length; _i1++) {
|
|
60
|
+
var name1 = _iter1[_i1],
|
|
61
|
+
tokenSet1 = guiConfig.tokensParsed[name1],
|
|
62
|
+
received = Object.keys(tokenSet1),
|
|
63
|
+
hasSomeOverlap = received.some(function (rk) {
|
|
64
|
+
return expected.includes(rk);
|
|
65
|
+
});
|
|
66
|
+
if (!hasSomeOverlap) throw new Error(`
|
|
67
|
+
createGui() invalid tokens.${name1}:
|
|
68
|
+
|
|
69
|
+
Received: ${received.join(", ")}
|
|
70
|
+
|
|
71
|
+
Expected a subset of: ${expected.join(", ")}
|
|
72
|
+
|
|
73
|
+
`);
|
|
74
|
+
}
|
|
75
|
+
return guiConfig;
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=createGui.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","createGui_exports","__export","createGui","module","exports","import_core","require","process","env","NODE_ENV","conf","sizeTokenKeys","hasKeys","expectedKeys","obj","every","k","guiConfig","_i","_iter","length","name","tokenSet","tokensParsed","Error","Object","keys","join","expected","size","_i1","_iter1","name1","tokenSet1","received","hasSomeOverlap","some","rk","includes"],"sources":["../../src/createGui.ts"],"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,YAA2C,CAAAK,iBAAA;AAMpC,IAAAK,WAAM,GACXC,OAAA,CAAQ,gBAAI,CAAa;EAAAJ,SAAA,GAAAK,OACrB,CAAAC,GAAA,CAAAC,QAAA,kBACU,GAAAJ,WAAA,CAAAH,SAAA,aAAAQ,IAAA;IACR,SAAMC,aAAgB,GAAC,CASvB,QACE,EAAAC,OAAM,YAAAA,CAAWC,YAAU,EAAAC,GAAA;QAC3B,OAAKD,YAAA,CAAAE,KAAA,WAAAC,CAAA;UACH,OAAM,OAAIF,GAAA,CAAAE,CAAA;QAAA;MACmC,GAAAC,SACzC,OAAUZ,WAAA,CAAAH,SAAA,EAAAQ,IAAA,GAAAQ,EAAA,MAAAC,KAAA,UACV,EAAU,OACd,CAEF,EAAAD,EAAA,GAAKC,KAAA,CAAAC,MAAQ,EAAAF,EAAA;MACX,IAAAG,IAAM,GAAAF,KAAI,CAAAD,EAAM;QAAAI,QAAA,GAAAL,SAAA,CAAAM,YAAA,CAAAF,IAAA;MAAA,KAAAC,QAAA,EACc,UAAAE,KAAA,yBAAAH,IAAA,QAAAI,MAAA,CAAAC,IAAA,CAAAT,SAAA,CAAAM,YAAA,EAAAI,IAAA;MAAA,KAAAf,OAE9B,CAAAD,aAAY,EAAQW,QAAO,GAAK,UAAAE,KAAA;AAAA,sCAERH,IAAA;AAAA;AAAA,YAAAI,MAAA,CAAAC,IAAA,CAAAJ,QAAA,EAAAK,IAAA;AAAA;AAAA,YAAAhB,aAAA,CAAAgB,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcnC;AAKO;AACA;AACE;IAGA;IACE,SAAAC,QAAU,GAAMH,MAAA,CAAAC,IAAA,CAAAT,SAAA,CAAAM,YAAA,CAAAM,IAAA,GAAAC,GAAA,MAAAC,MAAA,cACK,WAAAD,GAAA,GAAAC,MAErB,CAAAX,MAAS,EAAKU,GAAA,EAAK;MAAA,IAAAE,KAAA,GAAAD,MAAA,CAAAD,GAAA;QAAAG,SAAA,GAAAhB,SAAA,CAAAM,YAAA,CAAAS,KAAA;QAAAE,QAAA,GAAAT,MAAA,CAAAC,IAAA,CAAAO,SAAA;QAAAE,cAAA,GAAAD,QAAA,CAAAE,IAAA,WAAAC,EAAA;UAAA,OAAAT,QAAA,CAAAU,QAEP,CAAAD,EAAS;QAAU;MAE1C,KAAAF,cAAA,EAEO,UAAAX,KAAA;AAEA,6BAAOQ,KAAA;AACT","ignoreList":[]}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
var import_setup = require("./setup.cjs");
|
|
19
|
+
__reExport(index_exports, require("@hanzogui/core"), module.exports);
|
|
20
|
+
__reExport(index_exports, require("@hanzogui/stacks"), module.exports);
|
|
21
|
+
__reExport(index_exports, require("@hanzogui/spacer"), module.exports);
|
|
22
|
+
__reExport(index_exports, require("@hanzogui/animate-presence"), module.exports);
|
|
23
|
+
__reExport(index_exports, require("@hanzogui/button"), module.exports);
|
|
24
|
+
__reExport(index_exports, require("@hanzogui/popover"), module.exports);
|
|
25
|
+
__reExport(index_exports, require("@hanzogui/radio-group"), module.exports);
|
|
26
|
+
__reExport(index_exports, require("@hanzogui/tooltip"), module.exports);
|
|
27
|
+
__reExport(index_exports, require("@hanzogui/switch"), module.exports);
|
|
28
|
+
__reExport(index_exports, require("@hanzogui/checkbox"), module.exports);
|
|
29
|
+
__reExport(index_exports, require("@hanzogui/dialog"), module.exports);
|
|
30
|
+
__reExport(index_exports, require("@hanzogui/sheet"), module.exports);
|
|
31
|
+
__reExport(index_exports, require("@hanzogui/adapt"), module.exports);
|
|
32
|
+
__reExport(index_exports, require("@hanzogui/label"), module.exports);
|
|
33
|
+
__reExport(index_exports, require("@hanzogui/input"), module.exports);
|
|
34
|
+
__reExport(index_exports, require("@hanzogui/select"), module.exports);
|
|
35
|
+
__reExport(index_exports, require("@hanzogui/separator"), module.exports);
|
|
36
|
+
__reExport(index_exports, require("@hanzogui/slider"), module.exports);
|
|
37
|
+
__reExport(index_exports, require("@hanzogui/tabs"), module.exports);
|
|
38
|
+
__reExport(index_exports, require("@hanzogui/toggle-group"), module.exports);
|
|
39
|
+
__reExport(index_exports, require("@hanzogui/accordion"), module.exports);
|
|
40
|
+
__reExport(index_exports, require("@hanzogui/avatar"), module.exports);
|
|
41
|
+
__reExport(index_exports, require("@hanzogui/card"), module.exports);
|
|
42
|
+
__reExport(index_exports, require("@hanzogui/form"), module.exports);
|
|
43
|
+
__reExport(index_exports, require("@hanzogui/group"), module.exports);
|
|
44
|
+
__reExport(index_exports, require("@hanzogui/image"), module.exports);
|
|
45
|
+
__reExport(index_exports, require("@hanzogui/list-item"), module.exports);
|
|
46
|
+
__reExport(index_exports, require("@hanzogui/portal"), module.exports);
|
|
47
|
+
__reExport(index_exports, require("@hanzogui/progress"), module.exports);
|
|
48
|
+
__reExport(index_exports, require("@hanzogui/scroll-view"), module.exports);
|
|
49
|
+
__reExport(index_exports, require("@hanzogui/spinner"), module.exports);
|
|
50
|
+
__reExport(index_exports, require("@hanzogui/text"), module.exports);
|
|
51
|
+
__reExport(index_exports, require("@hanzogui/toast"), module.exports);
|
|
52
|
+
__reExport(index_exports, require("@hanzogui/visually-hidden"), module.exports);
|
|
53
|
+
__reExport(index_exports, require("@hanzogui/focusable"), module.exports);
|
|
54
|
+
__reExport(index_exports, require("@hanzogui/elements"), module.exports);
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
var import_setup = require("./setup.native.js");
|
|
21
|
+
__reExport(index_exports, require("@hanzogui/core"), module.exports);
|
|
22
|
+
__reExport(index_exports, require("@hanzogui/stacks"), module.exports);
|
|
23
|
+
__reExport(index_exports, require("@hanzogui/spacer"), module.exports);
|
|
24
|
+
__reExport(index_exports, require("@hanzogui/animate-presence"), module.exports);
|
|
25
|
+
__reExport(index_exports, require("@hanzogui/button"), module.exports);
|
|
26
|
+
__reExport(index_exports, require("@hanzogui/popover"), module.exports);
|
|
27
|
+
__reExport(index_exports, require("@hanzogui/radio-group"), module.exports);
|
|
28
|
+
__reExport(index_exports, require("@hanzogui/tooltip"), module.exports);
|
|
29
|
+
__reExport(index_exports, require("@hanzogui/switch"), module.exports);
|
|
30
|
+
__reExport(index_exports, require("@hanzogui/checkbox"), module.exports);
|
|
31
|
+
__reExport(index_exports, require("@hanzogui/dialog"), module.exports);
|
|
32
|
+
__reExport(index_exports, require("@hanzogui/sheet"), module.exports);
|
|
33
|
+
__reExport(index_exports, require("@hanzogui/adapt"), module.exports);
|
|
34
|
+
__reExport(index_exports, require("@hanzogui/label"), module.exports);
|
|
35
|
+
__reExport(index_exports, require("@hanzogui/input"), module.exports);
|
|
36
|
+
__reExport(index_exports, require("@hanzogui/select"), module.exports);
|
|
37
|
+
__reExport(index_exports, require("@hanzogui/separator"), module.exports);
|
|
38
|
+
__reExport(index_exports, require("@hanzogui/slider"), module.exports);
|
|
39
|
+
__reExport(index_exports, require("@hanzogui/tabs"), module.exports);
|
|
40
|
+
__reExport(index_exports, require("@hanzogui/toggle-group"), module.exports);
|
|
41
|
+
__reExport(index_exports, require("@hanzogui/accordion"), module.exports);
|
|
42
|
+
__reExport(index_exports, require("@hanzogui/avatar"), module.exports);
|
|
43
|
+
__reExport(index_exports, require("@hanzogui/card"), module.exports);
|
|
44
|
+
__reExport(index_exports, require("@hanzogui/form"), module.exports);
|
|
45
|
+
__reExport(index_exports, require("@hanzogui/group"), module.exports);
|
|
46
|
+
__reExport(index_exports, require("@hanzogui/image"), module.exports);
|
|
47
|
+
__reExport(index_exports, require("@hanzogui/list-item"), module.exports);
|
|
48
|
+
__reExport(index_exports, require("@hanzogui/portal"), module.exports);
|
|
49
|
+
__reExport(index_exports, require("@hanzogui/progress"), module.exports);
|
|
50
|
+
__reExport(index_exports, require("@hanzogui/scroll-view"), module.exports);
|
|
51
|
+
__reExport(index_exports, require("@hanzogui/spinner"), module.exports);
|
|
52
|
+
__reExport(index_exports, require("@hanzogui/text"), module.exports);
|
|
53
|
+
__reExport(index_exports, require("@hanzogui/toast"), module.exports);
|
|
54
|
+
__reExport(index_exports, require("@hanzogui/visually-hidden"), module.exports);
|
|
55
|
+
__reExport(index_exports, require("@hanzogui/focusable"), module.exports);
|
|
56
|
+
__reExport(index_exports, require("@hanzogui/elements"), module.exports);
|
|
57
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports","import_setup","require","__reExport"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
6
|
+
__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
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
15
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
16
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
17
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
18
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
19
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
20
|
+
value: mod,
|
|
21
|
+
enumerable: !0
|
|
22
|
+
}) : target, mod));
|
|
23
|
+
var import_polyfill_dev = require("@hanzogui/polyfill-dev"),
|
|
24
|
+
React = __toESM(require("react"), 1);
|
|
25
|
+
globalThis.React ||= React;
|
|
26
|
+
typeof requestAnimationFrame > "u" && (globalThis.requestAnimationFrame = typeof setImmediate > "u" ? setTimeout : setImmediate);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
8
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
11
|
+
get: () => from[key],
|
|
12
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
13
|
+
});
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
+
value: mod,
|
|
23
|
+
enumerable: !0
|
|
24
|
+
}) : target, mod));
|
|
25
|
+
var import_polyfill_dev = require("@hanzogui/polyfill-dev"),
|
|
26
|
+
React = __toESM(require("react"), 1),
|
|
27
|
+
_globalThis,
|
|
28
|
+
_React;
|
|
29
|
+
(_globalThis = globalThis)[_React = "React"] || (_globalThis[_React] = React);
|
|
30
|
+
typeof requestAnimationFrame > "u" && (globalThis.requestAnimationFrame = typeof setImmediate > "u" ? setTimeout : setImmediate);
|
|
31
|
+
//# sourceMappingURL=setup.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["import_polyfill_dev","require","React","__toESM","_globalThis","_React","globalThis"],"sources":["../../src/setup.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;gBAAA;AAMA,IAAAA,mBAAwB,GAAAC,OAAA;EAAAC,KAAA,GAAAC,OAAA,CAAAF,OAAA;EAAAG,WAAA;EAAAC,MAAA;AAGpB,CAAAD,WAAO,GAAAE,UAAA,EAAAD,MAA0B,UACnC,MAAAD,WAAW,CAAAC,MAAA,IAAAH,KACT","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
13
|
+
value: !0
|
|
14
|
+
}), mod);
|
|
15
|
+
var viewTypes_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(viewTypes_exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
15
|
+
value: !0
|
|
16
|
+
}), mod);
|
|
17
|
+
var viewTypes_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(viewTypes_exports);
|
|
19
|
+
//# sourceMappingURL=viewTypes.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","viewTypes_exports"],"sources":["../../src/viewTypes.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,iBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 EnsureFlexed_exports = {};
|
|
22
|
+
__export(EnsureFlexed_exports, {
|
|
23
|
+
EnsureFlexed: () => EnsureFlexed
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(EnsureFlexed_exports);
|
|
26
|
+
var import_core = require("@hanzogui/core");
|
|
27
|
+
const EnsureFlexed = (0, import_core.styled)(import_core.Text, {
|
|
28
|
+
opacity: 0,
|
|
29
|
+
lineHeight: 0,
|
|
30
|
+
height: 0,
|
|
31
|
+
display: "flex",
|
|
32
|
+
fontSize: 200,
|
|
33
|
+
children: "wwwwwwwwwwwwwwwwwww",
|
|
34
|
+
pointerEvents: "none"
|
|
35
|
+
});
|
|
36
|
+
EnsureFlexed.isVisuallyHidden = !0;
|
|
@@ -0,0 +1,39 @@
|
|
|
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 EnsureFlexed_exports = {};
|
|
24
|
+
__export(EnsureFlexed_exports, {
|
|
25
|
+
EnsureFlexed: () => EnsureFlexed
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(EnsureFlexed_exports);
|
|
28
|
+
var import_core = require("@hanzogui/core"),
|
|
29
|
+
EnsureFlexed = (0, import_core.styled)(import_core.Text, {
|
|
30
|
+
opacity: 0,
|
|
31
|
+
lineHeight: 0,
|
|
32
|
+
height: 0,
|
|
33
|
+
display: "flex",
|
|
34
|
+
fontSize: 200,
|
|
35
|
+
children: "wwwwwwwwwwwwwwwwwww",
|
|
36
|
+
pointerEvents: "none"
|
|
37
|
+
});
|
|
38
|
+
EnsureFlexed.isVisuallyHidden = !0;
|
|
39
|
+
//# sourceMappingURL=EnsureFlexed.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","EnsureFlexed_exports","__export","EnsureFlexed","module","exports","import_core","require","styled","Text","opacity","lineHeight","height","display","fontSize","children","pointerEvents","isVisuallyHidden"],"sources":["../../../src/views/EnsureFlexed.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAA6B,CAAAK,oBAAA;AAItB,IAAAK,WAAM,GAAAC,OAAe;EAAOJ,YAAA,OAAMG,WAAA,CAAAE,MAAA,EAAAF,WAAA,CAAAG,IAAA;IACvCC,OAAA,EAAS;IACTC,UAAA,EAAY;IACZC,MAAA,EAAQ;IACRC,OAAA,EAAS;IACTC,QAAA,EAAU;IACVC,QAAA,EAAU;IACVC,aAAA,EAAe;EACjB,CAAC;AAIDb,YAAA,CAAac,gBAAA,GAAsB","ignoreList":[]}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 GuiProvider_exports = {};
|
|
22
|
+
__export(GuiProvider_exports, {
|
|
23
|
+
GuiProvider: () => GuiProvider
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(GuiProvider_exports);
|
|
26
|
+
var import_core = require("@hanzogui/core");
|
|
27
|
+
const GuiProvider = import_core.GuiProvider;
|
|
@@ -0,0 +1,30 @@
|
|
|
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 GuiProvider_exports = {};
|
|
24
|
+
__export(GuiProvider_exports, {
|
|
25
|
+
GuiProvider: () => GuiProvider
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(GuiProvider_exports);
|
|
28
|
+
var import_core = require("@hanzogui/core"),
|
|
29
|
+
GuiProvider = import_core.GuiProvider;
|
|
30
|
+
//# sourceMappingURL=GuiProvider.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","GuiProvider_exports","__export","GuiProvider","module","exports","import_core","require"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,mBAAA;AAAAC,QAAA,CAAAD,mBAAA;EAAAE,WAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAT,YAA+C,CAAAK,mBAAA;AAExC,IAAAK,WAAM,GAAAC,OAAc;EAAAJ,WAAA,GAAAG,WAAA,CAAAH,WAAA","ignoreList":[]}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 Text_exports = {};
|
|
22
|
+
__export(Text_exports, {
|
|
23
|
+
Text: () => Text
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(Text_exports);
|
|
26
|
+
var import_core = require("@hanzogui/core");
|
|
27
|
+
const Text = (0, import_core.styled)(import_core.Text, {
|
|
28
|
+
variants: {
|
|
29
|
+
unstyled: {
|
|
30
|
+
false: {
|
|
31
|
+
color: "$color"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
defaultVariants: {
|
|
36
|
+
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
37
|
+
}
|
|
38
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
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 Text_exports = {};
|
|
24
|
+
__export(Text_exports, {
|
|
25
|
+
Text: () => Text
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(Text_exports);
|
|
28
|
+
var import_core = require("@hanzogui/core"),
|
|
29
|
+
Text = (0, import_core.styled)(import_core.Text, {
|
|
30
|
+
variants: {
|
|
31
|
+
unstyled: {
|
|
32
|
+
false: {
|
|
33
|
+
color: "$color"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
defaultVariants: {
|
|
38
|
+
unstyled: process.env.HANZO_GUI_HEADLESS === "1"
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=Text.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Text_exports","__export","Text","module","exports","import_core","require","styled","variants","unstyled","false","color","defaultVariants","process","env","HANZO_GUI_HEADLESS"],"sources":["../../../src/views/Text.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,YAAA;AAAAC,QAAA,CAAAD,YAAA;EAAAE,IAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAwC,CAAAK,YAAA;AAEjC,IAAAK,WAAM,GAAOC,OAAA,iBAAO;EAAAJ,IAAA,OAASG,WAAA,CAAAE,MAAA,EAAAF,WAAA,CAAAH,IAAA;IAClCM,QAAA,EAAU;MACRC,QAAA,EAAU;QACRC,KAAA,EAAO;UACLC,KAAA,EAAO;QACT;MACF;IACF;IAEAC,eAAA,EAAiB;MACfH,QAAA,EAAUI,OAAA,CAAQC,GAAA,CAAIC,kBAAA,KAAuB;IAC/C;EACF,CAAC","ignoreList":[]}
|