@hanzo/gui 2.0.4 → 2.0.6
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 +22 -20
- package/src/index.ts +6 -0
- package/types/index.d.ts +6 -0
- package/dist/cjs/createGui.cjs +0 -69
- package/dist/cjs/createGui.native.js +0 -77
- package/dist/cjs/createGui.native.js.map +0 -1
- package/dist/cjs/index.cjs +0 -102
- package/dist/cjs/index.native.js +0 -105
- package/dist/cjs/index.native.js.map +0 -1
- package/dist/cjs/setup.cjs +0 -26
- package/dist/cjs/setup.native.js +0 -31
- package/dist/cjs/setup.native.js.map +0 -1
- package/dist/cjs/viewTypes.cjs +0 -16
- package/dist/cjs/viewTypes.native.js +0 -19
- package/dist/cjs/viewTypes.native.js.map +0 -1
- package/dist/cjs/views/EnsureFlexed.cjs +0 -36
- package/dist/cjs/views/EnsureFlexed.native.js +0 -39
- package/dist/cjs/views/EnsureFlexed.native.js.map +0 -1
- package/dist/cjs/views/GuiProvider.cjs +0 -27
- package/dist/cjs/views/GuiProvider.native.js +0 -30
- package/dist/cjs/views/GuiProvider.native.js.map +0 -1
- package/dist/cjs/views/Text.cjs +0 -38
- package/dist/cjs/views/Text.native.js +0 -41
- package/dist/cjs/views/Text.native.js.map +0 -1
- package/dist/cjs/views/VisuallyHidden.cjs +0 -58
- package/dist/cjs/views/VisuallyHidden.native.js +0 -61
- package/dist/cjs/views/VisuallyHidden.native.js.map +0 -1
- package/dist/esm/createGui.mjs +0 -46
- package/dist/esm/createGui.mjs.map +0 -1
- package/dist/esm/createGui.native.js +0 -51
- package/dist/esm/createGui.native.js.map +0 -1
- package/dist/esm/index.js +0 -19
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs +0 -19
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js +0 -19
- package/dist/esm/index.native.js.map +0 -1
- package/dist/esm/setup.mjs +0 -4
- package/dist/esm/setup.mjs.map +0 -1
- package/dist/esm/setup.native.js +0 -5
- package/dist/esm/setup.native.js.map +0 -1
- package/dist/esm/viewTypes.mjs +0 -2
- package/dist/esm/viewTypes.mjs.map +0 -1
- package/dist/esm/viewTypes.native.js +0 -2
- package/dist/esm/viewTypes.native.js.map +0 -1
- package/dist/esm/views/EnsureFlexed.mjs +0 -13
- package/dist/esm/views/EnsureFlexed.mjs.map +0 -1
- package/dist/esm/views/EnsureFlexed.native.js +0 -13
- package/dist/esm/views/EnsureFlexed.native.js.map +0 -1
- package/dist/esm/views/GuiProvider.mjs +0 -4
- package/dist/esm/views/GuiProvider.mjs.map +0 -1
- package/dist/esm/views/GuiProvider.native.js +0 -4
- package/dist/esm/views/GuiProvider.native.js.map +0 -1
- package/dist/esm/views/Text.mjs +0 -15
- package/dist/esm/views/Text.mjs.map +0 -1
- package/dist/esm/views/Text.native.js +0 -15
- package/dist/esm/views/Text.native.js.map +0 -1
- package/dist/esm/views/VisuallyHidden.mjs +0 -35
- package/dist/esm/views/VisuallyHidden.mjs.map +0 -1
- package/dist/esm/views/VisuallyHidden.native.js +0 -35
- package/dist/esm/views/VisuallyHidden.native.js.map +0 -1
- package/dist/jsx/createGui.mjs +0 -46
- package/dist/jsx/createGui.mjs.map +0 -1
- package/dist/jsx/createGui.native.js +0 -77
- package/dist/jsx/createGui.native.js.map +0 -1
- package/dist/jsx/index.js +0 -19
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs +0 -19
- package/dist/jsx/index.mjs.map +0 -1
- package/dist/jsx/index.native.js +0 -105
- package/dist/jsx/index.native.js.map +0 -1
- package/dist/jsx/setup.mjs +0 -4
- package/dist/jsx/setup.mjs.map +0 -1
- package/dist/jsx/setup.native.js +0 -31
- package/dist/jsx/setup.native.js.map +0 -1
- package/dist/jsx/viewTypes.mjs +0 -2
- package/dist/jsx/viewTypes.mjs.map +0 -1
- package/dist/jsx/viewTypes.native.js +0 -19
- package/dist/jsx/viewTypes.native.js.map +0 -1
- package/dist/jsx/views/EnsureFlexed.mjs +0 -13
- package/dist/jsx/views/EnsureFlexed.mjs.map +0 -1
- package/dist/jsx/views/EnsureFlexed.native.js +0 -39
- package/dist/jsx/views/EnsureFlexed.native.js.map +0 -1
- package/dist/jsx/views/GuiProvider.mjs +0 -4
- package/dist/jsx/views/GuiProvider.mjs.map +0 -1
- package/dist/jsx/views/GuiProvider.native.js +0 -30
- package/dist/jsx/views/GuiProvider.native.js.map +0 -1
- package/dist/jsx/views/Text.mjs +0 -15
- package/dist/jsx/views/Text.mjs.map +0 -1
- package/dist/jsx/views/Text.native.js +0 -41
- package/dist/jsx/views/Text.native.js.map +0 -1
- package/dist/jsx/views/VisuallyHidden.mjs +0 -35
- package/dist/jsx/views/VisuallyHidden.mjs.map +0 -1
- package/dist/jsx/views/VisuallyHidden.native.js +0 -61
- package/dist/jsx/views/VisuallyHidden.native.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/gui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"description": "Style and UI for React (web and native) meet an optimizing compiler",
|
|
6
6
|
"repository": {
|
|
@@ -77,27 +77,29 @@
|
|
|
77
77
|
"check-circular-deps": "npx madge --circular ./src/index.ts"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@hanzogui/compose-refs": "
|
|
81
|
-
"@hanzogui/constants": "
|
|
82
|
-
"@hanzogui/core": "
|
|
83
|
-
"@hanzogui/create-context": "
|
|
84
|
-
"@hanzogui/element": "
|
|
85
|
-
"@hanzogui/fake-react-native": "
|
|
86
|
-
"@hanzogui/get-button-sized": "
|
|
87
|
-
"@hanzogui/get-font-sized": "
|
|
88
|
-
"@hanzogui/get-token": "
|
|
89
|
-
"@hanzogui/helpers": "
|
|
90
|
-
"@hanzogui/polyfill-dev": "
|
|
91
|
-
"@hanzogui/react-native-media-driver": "
|
|
92
|
-
"@hanzogui/theme": "
|
|
93
|
-
"@hanzogui/use-controllable-state": "
|
|
94
|
-
"@hanzogui/use-debounce": "
|
|
95
|
-
"@hanzogui/use-force-update": "
|
|
96
|
-
"@hanzogui/use-window-dimensions": "
|
|
97
|
-
"@hanzogui/font-size": "
|
|
80
|
+
"@hanzogui/compose-refs": "workspace:*",
|
|
81
|
+
"@hanzogui/constants": "workspace:*",
|
|
82
|
+
"@hanzogui/core": "workspace:*",
|
|
83
|
+
"@hanzogui/create-context": "workspace:*",
|
|
84
|
+
"@hanzogui/element": "workspace:*",
|
|
85
|
+
"@hanzogui/fake-react-native": "workspace:*",
|
|
86
|
+
"@hanzogui/get-button-sized": "workspace:*",
|
|
87
|
+
"@hanzogui/get-font-sized": "workspace:*",
|
|
88
|
+
"@hanzogui/get-token": "workspace:*",
|
|
89
|
+
"@hanzogui/helpers": "workspace:*",
|
|
90
|
+
"@hanzogui/polyfill-dev": "workspace:*",
|
|
91
|
+
"@hanzogui/react-native-media-driver": "workspace:*",
|
|
92
|
+
"@hanzogui/theme": "workspace:*",
|
|
93
|
+
"@hanzogui/use-controllable-state": "workspace:*",
|
|
94
|
+
"@hanzogui/use-debounce": "workspace:*",
|
|
95
|
+
"@hanzogui/use-force-update": "workspace:*",
|
|
96
|
+
"@hanzogui/use-window-dimensions": "workspace:*",
|
|
97
|
+
"@hanzogui/font-size": "workspace:*",
|
|
98
|
+
"@hanzogui/stacks": "workspace:*",
|
|
99
|
+
"@hanzogui/web": "workspace:*"
|
|
98
100
|
},
|
|
99
101
|
"devDependencies": {
|
|
100
|
-
"@hanzogui/build": "
|
|
102
|
+
"@hanzogui/build": "workspace:*",
|
|
101
103
|
"react": ">=19",
|
|
102
104
|
"react-native": "0.83.2",
|
|
103
105
|
"react-native-web": "^0.21.0"
|
package/src/index.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from '@hanzogui/stacks'
|
|
2
|
+
export * from '@hanzogui/web'
|
|
1
3
|
import './setup'
|
|
2
4
|
|
|
3
5
|
export * from '@hanzogui/compose-refs'
|
|
@@ -11,6 +13,10 @@ export * from '@hanzogui/use-debounce'
|
|
|
11
13
|
export * from '@hanzogui/use-force-update'
|
|
12
14
|
export * from '@hanzogui/element'
|
|
13
15
|
export * from '@hanzogui/use-window-dimensions'
|
|
16
|
+
export * from '@hanzogui/dialog'
|
|
17
|
+
export * from '@hanzogui/adapt'
|
|
18
|
+
export * from '@hanzogui/sheet'
|
|
19
|
+
export * from '@hanzogui/visually-hidden'
|
|
14
20
|
|
|
15
21
|
export * from './createGui'
|
|
16
22
|
|
package/types/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from '@hanzogui/stacks';
|
|
2
|
+
export * from '@hanzogui/web';
|
|
1
3
|
import './setup';
|
|
2
4
|
export * from '@hanzogui/compose-refs';
|
|
3
5
|
export * from '@hanzogui/create-context';
|
|
@@ -10,6 +12,10 @@ export * from '@hanzogui/use-debounce';
|
|
|
10
12
|
export * from '@hanzogui/use-force-update';
|
|
11
13
|
export * from '@hanzogui/element';
|
|
12
14
|
export * from '@hanzogui/use-window-dimensions';
|
|
15
|
+
export * from '@hanzogui/dialog';
|
|
16
|
+
export * from '@hanzogui/adapt';
|
|
17
|
+
export * from '@hanzogui/sheet';
|
|
18
|
+
export * from '@hanzogui/visually-hidden';
|
|
13
19
|
export * from './createGui';
|
|
14
20
|
export * from './viewTypes';
|
|
15
21
|
export * from './views/GuiProvider';
|
package/dist/cjs/createGui.cjs
DELETED
|
@@ -1,69 +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 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
|
-
};
|
|
@@ -1,77 +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 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
|
|
@@ -1 +0,0 @@
|
|
|
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,a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P,CAAAD,EAAS;QAAU;MAE1C,KAAAF,cAAA,EAEO,UAAAX,KAAA;AAEA,6BAAOQ,KAAA;AACT","ignoreList":[]}
|
package/dist/cjs/index.cjs
DELETED
|
@@ -1,102 +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
|
-
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
19
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
20
|
-
value: !0
|
|
21
|
-
}), mod);
|
|
22
|
-
var index_exports = {};
|
|
23
|
-
__export(index_exports, {
|
|
24
|
-
ClientOnly: () => import_core.ClientOnly,
|
|
25
|
-
ComponentContext: () => import_core.ComponentContext,
|
|
26
|
-
Configuration: () => import_core.Configuration,
|
|
27
|
-
FontLanguage: () => import_core.FontLanguage,
|
|
28
|
-
GroupContext: () => import_core.GroupContext,
|
|
29
|
-
Theme: () => import_core.Theme,
|
|
30
|
-
View: () => import_core.View,
|
|
31
|
-
_withStableStyle: () => import_core._withStableStyle,
|
|
32
|
-
createComponent: () => import_core.createComponent,
|
|
33
|
-
createFont: () => import_core.createFont,
|
|
34
|
-
createShorthands: () => import_core.createShorthands,
|
|
35
|
-
createStyledContext: () => import_core.createStyledContext,
|
|
36
|
-
createTokens: () => import_core.createTokens,
|
|
37
|
-
createVariable: () => import_core.createVariable,
|
|
38
|
-
getCSSStylesAtomic: () => import_core.getCSSStylesAtomic,
|
|
39
|
-
getConfig: () => import_core.getConfig,
|
|
40
|
-
getMedia: () => import_core.getMedia,
|
|
41
|
-
getThemes: () => import_core.getThemes,
|
|
42
|
-
getToken: () => import_core.getToken,
|
|
43
|
-
getTokenValue: () => import_core.getTokenValue,
|
|
44
|
-
getTokens: () => import_core.getTokens,
|
|
45
|
-
getVariable: () => import_core.getVariable,
|
|
46
|
-
getVariableName: () => import_core.getVariableName,
|
|
47
|
-
getVariableValue: () => import_core.getVariableValue,
|
|
48
|
-
insertFont: () => import_core.insertFont,
|
|
49
|
-
isBrowser: () => import_core.isBrowser,
|
|
50
|
-
isChrome: () => import_core.isChrome,
|
|
51
|
-
isClient: () => import_core.isClient,
|
|
52
|
-
isGuiComponent: () => import_core.isGuiComponent,
|
|
53
|
-
isGuiElement: () => import_core.isGuiElement,
|
|
54
|
-
isServer: () => import_core.isServer,
|
|
55
|
-
isTouchable: () => import_core.isTouchable,
|
|
56
|
-
isVariable: () => import_core.isVariable,
|
|
57
|
-
isWeb: () => import_core.isWeb,
|
|
58
|
-
isWebTouchable: () => import_core.isWebTouchable,
|
|
59
|
-
matchMedia: () => import_core.matchMedia,
|
|
60
|
-
mediaObjectToString: () => import_core.mediaObjectToString,
|
|
61
|
-
mediaQueryConfig: () => import_core.mediaQueryConfig,
|
|
62
|
-
mediaState: () => import_core.mediaState,
|
|
63
|
-
setConfig: () => import_core.setConfig,
|
|
64
|
-
setOnLayoutStrategy: () => import_core.setOnLayoutStrategy,
|
|
65
|
-
setupDev: () => import_core.setupDev,
|
|
66
|
-
styled: () => import_core.styled,
|
|
67
|
-
themeable: () => import_core.themeable,
|
|
68
|
-
useClientValue: () => import_core.useClientValue,
|
|
69
|
-
useConfiguration: () => import_core.useConfiguration,
|
|
70
|
-
useDidFinishSSR: () => import_core.useDidFinishSSR,
|
|
71
|
-
useEvent: () => import_core.useEvent,
|
|
72
|
-
useGet: () => import_core.useGet,
|
|
73
|
-
useIsTouchDevice: () => import_core.useIsTouchDevice,
|
|
74
|
-
useIsomorphicLayoutEffect: () => import_core.useIsomorphicLayoutEffect,
|
|
75
|
-
useMedia: () => import_core.useMedia,
|
|
76
|
-
useProps: () => import_core.useProps,
|
|
77
|
-
usePropsAndStyle: () => import_core.usePropsAndStyle,
|
|
78
|
-
useStyle: () => import_core.useStyle,
|
|
79
|
-
useTheme: () => import_core.useTheme,
|
|
80
|
-
useThemeName: () => import_core.useThemeName,
|
|
81
|
-
variableToString: () => import_core.variableToString,
|
|
82
|
-
withStaticProperties: () => import_core.withStaticProperties
|
|
83
|
-
});
|
|
84
|
-
module.exports = __toCommonJS(index_exports);
|
|
85
|
-
var import_setup = require("./setup.cjs");
|
|
86
|
-
__reExport(index_exports, require("@hanzogui/compose-refs"), module.exports);
|
|
87
|
-
__reExport(index_exports, require("@hanzogui/create-context"), module.exports);
|
|
88
|
-
__reExport(index_exports, require("@hanzogui/font-size"), module.exports);
|
|
89
|
-
__reExport(index_exports, require("@hanzogui/react-native-media-driver"), module.exports);
|
|
90
|
-
__reExport(index_exports, require("@hanzogui/helpers"), module.exports);
|
|
91
|
-
__reExport(index_exports, require("@hanzogui/theme"), module.exports);
|
|
92
|
-
__reExport(index_exports, require("@hanzogui/use-controllable-state"), module.exports);
|
|
93
|
-
__reExport(index_exports, require("@hanzogui/use-debounce"), module.exports);
|
|
94
|
-
__reExport(index_exports, require("@hanzogui/use-force-update"), module.exports);
|
|
95
|
-
__reExport(index_exports, require("@hanzogui/element"), module.exports);
|
|
96
|
-
__reExport(index_exports, require("@hanzogui/use-window-dimensions"), module.exports);
|
|
97
|
-
__reExport(index_exports, require("./createGui.cjs"), module.exports);
|
|
98
|
-
__reExport(index_exports, require("./viewTypes.cjs"), module.exports);
|
|
99
|
-
__reExport(index_exports, require("./views/GuiProvider.cjs"), module.exports);
|
|
100
|
-
__reExport(index_exports, require("./views/EnsureFlexed.cjs"), module.exports);
|
|
101
|
-
__reExport(index_exports, require("./views/Text.cjs"), module.exports);
|
|
102
|
-
var import_core = require("@hanzogui/core");
|
package/dist/cjs/index.native.js
DELETED
|
@@ -1,105 +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
|
-
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
21
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
22
|
-
value: !0
|
|
23
|
-
}), mod);
|
|
24
|
-
var index_exports = {};
|
|
25
|
-
__export(index_exports, {
|
|
26
|
-
ClientOnly: () => import_core.ClientOnly,
|
|
27
|
-
ComponentContext: () => import_core.ComponentContext,
|
|
28
|
-
Configuration: () => import_core.Configuration,
|
|
29
|
-
FontLanguage: () => import_core.FontLanguage,
|
|
30
|
-
GroupContext: () => import_core.GroupContext,
|
|
31
|
-
Theme: () => import_core.Theme,
|
|
32
|
-
View: () => import_core.View,
|
|
33
|
-
_withStableStyle: () => import_core._withStableStyle,
|
|
34
|
-
createComponent: () => import_core.createComponent,
|
|
35
|
-
createFont: () => import_core.createFont,
|
|
36
|
-
createShorthands: () => import_core.createShorthands,
|
|
37
|
-
createStyledContext: () => import_core.createStyledContext,
|
|
38
|
-
createTokens: () => import_core.createTokens,
|
|
39
|
-
createVariable: () => import_core.createVariable,
|
|
40
|
-
getCSSStylesAtomic: () => import_core.getCSSStylesAtomic,
|
|
41
|
-
getConfig: () => import_core.getConfig,
|
|
42
|
-
getMedia: () => import_core.getMedia,
|
|
43
|
-
getThemes: () => import_core.getThemes,
|
|
44
|
-
getToken: () => import_core.getToken,
|
|
45
|
-
getTokenValue: () => import_core.getTokenValue,
|
|
46
|
-
getTokens: () => import_core.getTokens,
|
|
47
|
-
getVariable: () => import_core.getVariable,
|
|
48
|
-
getVariableName: () => import_core.getVariableName,
|
|
49
|
-
getVariableValue: () => import_core.getVariableValue,
|
|
50
|
-
insertFont: () => import_core.insertFont,
|
|
51
|
-
isBrowser: () => import_core.isBrowser,
|
|
52
|
-
isChrome: () => import_core.isChrome,
|
|
53
|
-
isClient: () => import_core.isClient,
|
|
54
|
-
isGuiComponent: () => import_core.isGuiComponent,
|
|
55
|
-
isGuiElement: () => import_core.isGuiElement,
|
|
56
|
-
isServer: () => import_core.isServer,
|
|
57
|
-
isTouchable: () => import_core.isTouchable,
|
|
58
|
-
isVariable: () => import_core.isVariable,
|
|
59
|
-
isWeb: () => import_core.isWeb,
|
|
60
|
-
isWebTouchable: () => import_core.isWebTouchable,
|
|
61
|
-
matchMedia: () => import_core.matchMedia,
|
|
62
|
-
mediaObjectToString: () => import_core.mediaObjectToString,
|
|
63
|
-
mediaQueryConfig: () => import_core.mediaQueryConfig,
|
|
64
|
-
mediaState: () => import_core.mediaState,
|
|
65
|
-
setConfig: () => import_core.setConfig,
|
|
66
|
-
setOnLayoutStrategy: () => import_core.setOnLayoutStrategy,
|
|
67
|
-
setupDev: () => import_core.setupDev,
|
|
68
|
-
styled: () => import_core.styled,
|
|
69
|
-
themeable: () => import_core.themeable,
|
|
70
|
-
useClientValue: () => import_core.useClientValue,
|
|
71
|
-
useConfiguration: () => import_core.useConfiguration,
|
|
72
|
-
useDidFinishSSR: () => import_core.useDidFinishSSR,
|
|
73
|
-
useEvent: () => import_core.useEvent,
|
|
74
|
-
useGet: () => import_core.useGet,
|
|
75
|
-
useIsTouchDevice: () => import_core.useIsTouchDevice,
|
|
76
|
-
useIsomorphicLayoutEffect: () => import_core.useIsomorphicLayoutEffect,
|
|
77
|
-
useMedia: () => import_core.useMedia,
|
|
78
|
-
useProps: () => import_core.useProps,
|
|
79
|
-
usePropsAndStyle: () => import_core.usePropsAndStyle,
|
|
80
|
-
useStyle: () => import_core.useStyle,
|
|
81
|
-
useTheme: () => import_core.useTheme,
|
|
82
|
-
useThemeName: () => import_core.useThemeName,
|
|
83
|
-
variableToString: () => import_core.variableToString,
|
|
84
|
-
withStaticProperties: () => import_core.withStaticProperties
|
|
85
|
-
});
|
|
86
|
-
module.exports = __toCommonJS(index_exports);
|
|
87
|
-
var import_setup = require("./setup.native.js");
|
|
88
|
-
__reExport(index_exports, require("@hanzogui/compose-refs"), module.exports);
|
|
89
|
-
__reExport(index_exports, require("@hanzogui/create-context"), module.exports);
|
|
90
|
-
__reExport(index_exports, require("@hanzogui/font-size"), module.exports);
|
|
91
|
-
__reExport(index_exports, require("@hanzogui/react-native-media-driver"), module.exports);
|
|
92
|
-
__reExport(index_exports, require("@hanzogui/helpers"), module.exports);
|
|
93
|
-
__reExport(index_exports, require("@hanzogui/theme"), module.exports);
|
|
94
|
-
__reExport(index_exports, require("@hanzogui/use-controllable-state"), module.exports);
|
|
95
|
-
__reExport(index_exports, require("@hanzogui/use-debounce"), module.exports);
|
|
96
|
-
__reExport(index_exports, require("@hanzogui/use-force-update"), module.exports);
|
|
97
|
-
__reExport(index_exports, require("@hanzogui/element"), module.exports);
|
|
98
|
-
__reExport(index_exports, require("@hanzogui/use-window-dimensions"), module.exports);
|
|
99
|
-
__reExport(index_exports, require("./createGui.native.js"), module.exports);
|
|
100
|
-
__reExport(index_exports, require("./viewTypes.native.js"), module.exports);
|
|
101
|
-
__reExport(index_exports, require("./views/GuiProvider.native.js"), module.exports);
|
|
102
|
-
__reExport(index_exports, require("./views/EnsureFlexed.native.js"), module.exports);
|
|
103
|
-
__reExport(index_exports, require("./views/Text.native.js"), module.exports);
|
|
104
|
-
var import_core = require("@hanzogui/core");
|
|
105
|
-
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","ClientOnly","import_core","ComponentContext","Configuration","FontLanguage","GroupContext","Theme","View","_withStableStyle","createComponent","createFont","createShorthands","createStyledContext","createTokens","createVariable","getCSSStylesAtomic","getConfig","getMedia","getThemes","getToken","getTokenValue","getTokens","getVariable","getVariableName","getVariableValue","insertFont","isBrowser","isChrome","isClient","isGuiComponent","isGuiElement","isServer","isTouchable","isVariable","isWeb","isWebTouchable","matchMedia","mediaObjectToString","mediaQueryConfig","mediaState","setConfig","setOnLayoutStrategy","setupDev","styled","themeable","useClientValue","useConfiguration","useDidFinishSSR","useEvent","useGet","useIsTouchDevice","useIsomorphicLayoutEffect","useMedia","useProps","usePropsAndStyle","useStyle","useTheme","useThemeName","variableToString","withStaticProperties","module","exports","import_setup","require","__reExport"],"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,QAAA,CAAAD,aAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAC,WAAA,CAAAD,UAAA;EAAAE,gBA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AAC,OAAA;AACdG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,mCATd,GAAAH,MAAA,CAAAC,OAAA;AAUAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,4BAAAH,MAVd,CAAAC,OAAA;AAWAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,6BAXd,GAAAH,MAAA,CAAAC,OAAA;AAYAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,uBAAAH,MAAA,CAAAC,OAZd;AAcAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,kCAdd,GAAAH,MAAA,CAAAC,OAAA;AAgBAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,2BAhBdH,MAAA,CAAAC,OAAA;AAiBAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,2BAAAH,MAAA,CAAAC,OAjBd;AAmBAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,mCAAAH,MAnBd,CAAAC,OAAA;AAoBAG,UAAA,CAAAlE,aAAA,EAAciE,OAAA,iCApBd,GAAAH,MAAA,CAAAC,OAAA;AA6FAG,UAAA,CAAAlE,aA+DO,EAAAiE,OAAA,4BAAAH,MAAA,CAAAC,OAAA","ignoreList":[]}
|
package/dist/cjs/setup.cjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
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);
|
package/dist/cjs/setup.native.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
package/dist/cjs/viewTypes.cjs
DELETED
|
@@ -1,16 +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
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
13
|
-
value: !0
|
|
14
|
-
}), mod);
|
|
15
|
-
var viewTypes_exports = {};
|
|
16
|
-
module.exports = __toCommonJS(viewTypes_exports);
|
|
@@ -1,19 +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
|
-
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
|
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
|
@@ -1,36 +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 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;
|
|
@@ -1,39 +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 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
|