@hanzo/gui 7.0.0 → 7.2.2
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/createHanzogui.cjs +80 -0
- package/dist/cjs/createHanzogui.native.js +89 -0
- package/dist/cjs/createHanzogui.native.js.map +1 -0
- package/dist/cjs/index.cjs +148 -0
- package/dist/cjs/index.native.js +151 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/cjs/linear-gradient.cjs +28 -0
- package/dist/cjs/linear-gradient.native.js +31 -0
- package/dist/cjs/linear-gradient.native.js.map +1 -0
- package/dist/cjs/setup.cjs +30 -0
- package/dist/cjs/setup.native.js +35 -0
- package/dist/cjs/setup.native.js.map +1 -0
- package/dist/cjs/viewTypes.cjs +18 -0
- package/dist/cjs/viewTypes.native.js +21 -0
- package/dist/cjs/viewTypes.native.js.map +1 -0
- package/dist/cjs/views/Anchor.cjs +60 -0
- package/dist/cjs/views/Anchor.native.js +65 -0
- package/dist/cjs/views/Anchor.native.js.map +1 -0
- package/dist/cjs/views/EnsureFlexed.cjs +38 -0
- package/dist/cjs/views/EnsureFlexed.native.js +41 -0
- package/dist/cjs/views/EnsureFlexed.native.js.map +1 -0
- package/dist/cjs/views/Fieldset.cjs +43 -0
- package/dist/cjs/views/Fieldset.native.js +46 -0
- package/dist/cjs/views/Fieldset.native.js.map +1 -0
- package/dist/cjs/views/HanzoguiProvider.cjs +46 -0
- package/dist/cjs/views/HanzoguiProvider.native.js +50 -0
- package/dist/cjs/views/HanzoguiProvider.native.js.map +1 -0
- package/dist/cjs/views/Text.cjs +40 -0
- package/dist/cjs/views/Text.native.js +43 -0
- package/dist/cjs/views/Text.native.js.map +1 -0
- package/dist/cjs/views/VisuallyHidden.cjs +60 -0
- package/dist/cjs/views/VisuallyHidden.native.js +63 -0
- package/dist/cjs/views/VisuallyHidden.native.js.map +1 -0
- package/dist/esm/createHanzogui.mjs +55 -0
- package/dist/esm/createHanzogui.mjs.map +1 -0
- package/dist/esm/createHanzogui.native.js +61 -0
- package/dist/esm/createHanzogui.native.js.map +1 -0
- package/dist/esm/index.js +63 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +63 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +63 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/esm/linear-gradient.mjs +3 -0
- package/dist/esm/linear-gradient.mjs.map +1 -0
- package/dist/esm/linear-gradient.native.js +3 -0
- package/dist/esm/linear-gradient.native.js.map +1 -0
- package/dist/esm/setup.mjs +6 -0
- package/dist/esm/setup.mjs.map +1 -0
- package/dist/esm/setup.native.js +8 -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/Anchor.mjs +35 -0
- package/dist/esm/views/Anchor.mjs.map +1 -0
- package/dist/esm/views/Anchor.native.js +37 -0
- package/dist/esm/views/Anchor.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/Fieldset.mjs +18 -0
- package/dist/esm/views/Fieldset.mjs.map +1 -0
- package/dist/esm/views/Fieldset.native.js +18 -0
- package/dist/esm/views/Fieldset.native.js.map +1 -0
- package/dist/esm/views/HanzoguiProvider.mjs +21 -0
- package/dist/esm/views/HanzoguiProvider.mjs.map +1 -0
- package/dist/esm/views/HanzoguiProvider.native.js +22 -0
- package/dist/esm/views/HanzoguiProvider.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/createHanzogui.mjs +55 -0
- package/dist/jsx/createHanzogui.mjs.map +1 -0
- package/dist/jsx/createHanzogui.native.js +89 -0
- package/dist/jsx/createHanzogui.native.js.map +1 -0
- package/dist/jsx/index.js +63 -0
- package/dist/jsx/index.js.map +1 -0
- package/dist/jsx/index.mjs +63 -0
- package/dist/jsx/index.mjs.map +1 -0
- package/dist/jsx/index.native.js +151 -0
- package/dist/jsx/index.native.js.map +1 -0
- package/dist/jsx/linear-gradient.mjs +3 -0
- package/dist/jsx/linear-gradient.mjs.map +1 -0
- package/dist/jsx/linear-gradient.native.js +31 -0
- package/dist/jsx/linear-gradient.native.js.map +1 -0
- package/dist/jsx/setup.mjs +6 -0
- package/dist/jsx/setup.mjs.map +1 -0
- package/dist/jsx/setup.native.js +35 -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 +21 -0
- package/dist/jsx/viewTypes.native.js.map +1 -0
- package/dist/jsx/views/Anchor.mjs +35 -0
- package/dist/jsx/views/Anchor.mjs.map +1 -0
- package/dist/jsx/views/Anchor.native.js +65 -0
- package/dist/jsx/views/Anchor.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 +41 -0
- package/dist/jsx/views/EnsureFlexed.native.js.map +1 -0
- package/dist/jsx/views/Fieldset.mjs +18 -0
- package/dist/jsx/views/Fieldset.mjs.map +1 -0
- package/dist/jsx/views/Fieldset.native.js +46 -0
- package/dist/jsx/views/Fieldset.native.js.map +1 -0
- package/dist/jsx/views/HanzoguiProvider.mjs +21 -0
- package/dist/jsx/views/HanzoguiProvider.mjs.map +1 -0
- package/dist/jsx/views/HanzoguiProvider.native.js +50 -0
- package/dist/jsx/views/HanzoguiProvider.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 +43 -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 +63 -0
- package/dist/jsx/views/VisuallyHidden.native.js.map +1 -0
- package/dist/native.cjs +32307 -0
- package/dist/test.cjs +32369 -0
- package/package.json +76 -70
- package/types/createHanzogui.d.ts.map +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/linear-gradient.d.ts.map +1 -0
- package/types/setup.d.ts.map +1 -0
- package/types/viewTypes.d.ts.map +1 -0
- package/types/views/Anchor.d.ts.map +1 -0
- package/types/views/EnsureFlexed.d.ts +1 -1
- package/types/views/EnsureFlexed.d.ts.map +1 -0
- package/types/views/Fieldset.d.ts +1 -1
- package/types/views/Fieldset.d.ts.map +1 -0
- package/types/views/HanzoguiProvider.d.ts.map +1 -0
- package/types/views/Text.d.ts +1 -1
- package/types/views/Text.d.ts.map +1 -0
- package/types/views/VisuallyHidden.d.ts +1 -1
- package/types/views/VisuallyHidden.d.ts.map +1 -0
- package/hanzogui.config.ts +0 -4
- package/linear-gradient/index.cjs +0 -2
- package/linear-gradient/index.d.ts +0 -1
- package/linear-gradient/index.js +0 -2
- package/linear-gradient/index.native.cjs +0 -2
- package/linear-gradient/index.native.js +0 -2
- package/native/index.cjs +0 -2
- package/native/index.js +0 -2
- package/native-test/index.cjs +0 -2
- package/native-test/index.js +0 -2
- package/native-test/index.native.cjs +0 -2
- package/native-test/index.native.js +0 -2
- package/native-test.d.ts +0 -1
- package/native.d.ts +0 -1
- package/react-native-web/index.cjs +0 -2
- package/react-native-web/index.js +0 -2
- package/react-native-web/index.native.cjs +0 -2
- package/react-native-web/index.native.js +0 -2
- package/tsconfig.json +0 -171
- package/web/index.cjs +0 -2
- package/web/index.js +0 -2
- package/web/index.native.cjs +0 -2
- package/web/index.native.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["../../src/linear-gradient.ts"],"sourcesContent":[null],"mappings":"AAAA,YAAS","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","globalThis","requestAnimationFrame","setImmediate","setTimeout"],"sources":["../../src/setup.ts"],"sourcesContent":[null],"mappings":"AAEA,YAAYA,KAAA,MAAW;AAIvBC,UAAA,CAAW,OAAO,MAAMD,KAAA;AAGxB,IAAI,OAAOE,qBAAA,KAA0B,aAAa;EAChDD,UAAA,CAAW,uBAAuB,IAChC,OAAOE,YAAA,KAAiB,cAAcC,UAAA,GAAaD,YAAA;AACvD","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: () => from[key],
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
19
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
20
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
21
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
22
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
23
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
24
|
+
value: mod,
|
|
25
|
+
enumerable: true
|
|
26
|
+
}) : target, mod));
|
|
27
|
+
var import_polyfill_dev = require("@hanzogui/polyfill-dev");
|
|
28
|
+
var React = __toESM(require("react"), 1);
|
|
29
|
+
var _globalThis;
|
|
30
|
+
var _React;
|
|
31
|
+
(_globalThis = globalThis)[_React = "React"] || (_globalThis[_React] = React);
|
|
32
|
+
if (typeof requestAnimationFrame === "undefined") {
|
|
33
|
+
globalThis["requestAnimationFrame"] = typeof setImmediate === "undefined" ? setTimeout : setImmediate;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=setup.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__create","Object","create","__defProp","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__getProtoOf","getPrototypeOf"],"sources":["../../src/setup.ts"],"sourcesContent":[null],"mappings":"AAAA,YAAO;;AAEP,IAAAA,QAAY,GAAAC,MAAA,CAAAC,MAAW;AAIvB,IAAAC,SAAW,GAAAF,MAAO,CAAAG,cAAM;AAGxB,IAAIC,gBAAO,GAAAJ,MAAA,CAAAK,wBAAuC;AAChD,IAAAC,iBAAW,GAAAN,MAAA,CAAAO,mBACF;AACX,IAAAC,YAAA,GAAAR,MAAA,CAAAS,cAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
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") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
10
|
+
get: () => from[key],
|
|
11
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
17
|
+
value: true
|
|
18
|
+
}), mod);
|
|
19
|
+
var viewTypes_exports = {};
|
|
20
|
+
module.exports = __toCommonJS(viewTypes_exports);
|
|
21
|
+
//# sourceMappingURL=viewTypes.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { isWeb } from "@hanzogui/constants";
|
|
2
|
+
import { styled } from "@hanzogui/core";
|
|
3
|
+
import { SizableText } from "@hanzogui/text";
|
|
4
|
+
import { Linking } from "react-native-web";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
const AnchorFrame = styled(SizableText, {
|
|
7
|
+
name: "Anchor",
|
|
8
|
+
render: "a",
|
|
9
|
+
role: "link"
|
|
10
|
+
});
|
|
11
|
+
const Anchor = AnchorFrame.styleable(({
|
|
12
|
+
href,
|
|
13
|
+
target,
|
|
14
|
+
rel,
|
|
15
|
+
...props
|
|
16
|
+
}, ref) => {
|
|
17
|
+
return /* @__PURE__ */jsx(AnchorFrame, {
|
|
18
|
+
...props,
|
|
19
|
+
...(isWeb ? {
|
|
20
|
+
href,
|
|
21
|
+
target,
|
|
22
|
+
rel
|
|
23
|
+
} : {
|
|
24
|
+
onPress: event => {
|
|
25
|
+
props.onPress?.(event);
|
|
26
|
+
if (href !== void 0) {
|
|
27
|
+
Linking.openURL(href);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}),
|
|
31
|
+
ref
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
export { Anchor };
|
|
35
|
+
//# sourceMappingURL=Anchor.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isWeb","styled","SizableText","Linking","jsx","AnchorFrame","name","render","role","Anchor","styleable","href","target","rel","props","ref","onPress","event","openURL"],"sources":["../../../src/views/Anchor.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,KAAA,QAAa;AACtB,SAASC,MAAA,QAAc;AAEvB,SAASC,WAAA,QAAmB;AAC5B,SAASC,OAAA,QAAe;AAmBlB,SAAAC,GAAA;AATN,MAAMC,WAAA,GAAcJ,MAAA,CAAOC,WAAA,EAAa;EACtCI,IAAA,EAAM;EACNC,MAAA,EAAQ;EACRC,IAAA,EAAM;AACR,CAAC;AAEM,MAAMC,MAAA,GAASJ,WAAA,CAAYK,SAAA,CAChC,CAAC;EAAEC,IAAA;EAAMC,MAAA;EAAQC,GAAA;EAAK,GAAGC;AAAM,GAAGC,GAAA,KAAQ;EACxC,OACE,eAAAX,GAAA,CAACC,WAAA;IACE,GAAGS,KAAA;IACH,IAAId,KAAA,GACD;MACEW,IAAA;MACAC,MAAA;MACAC;IACF,IACA;MACEG,OAAA,EAAUC,KAAA,IAAU;QAClBH,KAAA,CAAME,OAAA,GAAUC,KAAK;QACrB,IAAIN,IAAA,KAAS,QAAW;UACtBR,OAAA,CAAQe,OAAA,CAAQP,IAAI;QACtB;MACF;IACF;IACJI;EAAA,CACF;AAEJ,CACF","ignoreList":[]}
|
|
@@ -0,0 +1,65 @@
|
|
|
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: 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, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var Anchor_exports = {};
|
|
26
|
+
__export(Anchor_exports, {
|
|
27
|
+
Anchor: () => Anchor
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(Anchor_exports);
|
|
30
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
|
+
var import_constants = require("@hanzogui/constants");
|
|
32
|
+
var import_core = require("@hanzogui/core");
|
|
33
|
+
var import_text = require("@hanzogui/text");
|
|
34
|
+
var import_react_native = require("react-native");
|
|
35
|
+
var AnchorFrame = (0, import_core.styled)(import_text.SizableText, {
|
|
36
|
+
name: "Anchor",
|
|
37
|
+
render: "a",
|
|
38
|
+
role: "link"
|
|
39
|
+
});
|
|
40
|
+
var Anchor = AnchorFrame.styleable(function (param, ref) {
|
|
41
|
+
var {
|
|
42
|
+
href,
|
|
43
|
+
target,
|
|
44
|
+
rel,
|
|
45
|
+
...props
|
|
46
|
+
} = param;
|
|
47
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(AnchorFrame, {
|
|
48
|
+
...props,
|
|
49
|
+
...(import_constants.isWeb ? {
|
|
50
|
+
href,
|
|
51
|
+
target,
|
|
52
|
+
rel
|
|
53
|
+
} : {
|
|
54
|
+
onPress: function (event) {
|
|
55
|
+
var _props_onPress;
|
|
56
|
+
(_props_onPress = props.onPress) === null || _props_onPress === void 0 ? void 0 : _props_onPress.call(props, event);
|
|
57
|
+
if (href !== void 0) {
|
|
58
|
+
import_react_native.Linking.openURL(href);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}),
|
|
62
|
+
ref
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
//# sourceMappingURL=Anchor.native.js.map
|
|
@@ -0,0 +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","Anchor_exports","Anchor","module","exports","import_jsx_runtime","require","import_constants","import_core","import_text","import_react_native","AnchorFrame","styled","SizableText","render","role"],"sources":["../../../src/views/Anchor.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AACT,IAAAA,SAAS,GAAAC,MAAA,CAAcC,cAAA;AAEvB,IAAAC,gBAAS,GAAAF,MAAmB,CAAAG,wBAAA;AAC5B,IAAAC,iBAAS,GAAeJ,MAAA,CAAAK,mBAAA;AAmBlB,IAAAC,YAAA,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AATN,IAAAC,QAAM,GAAAA,CAAAC,MAAc,EAAAC,GAAO;EACzB,SAAMC,IAAA,IAAAD,GAAA,EACNZ,SAAQ,CAAAW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AAEV,IAACC,WAAA,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAEM,IAAMF,IAAA,WAASA,IAAA,KAAY,mBAAAA,IAAA;IAC/B,KAAE,IAAMG,GAAA,IAAQhB,iBAAiB,CAAAa,IAAA,GAChC,KACEX,YAAA,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,EAACnB,SAAA,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;EAAA;EAAA,OACEE,EAAG;AAAA;AAEA,IAAAM,YACE,GAAAC,GAAA,IAAAR,WAAA,CAAAhB,SAAA;EAAAyB,KAAA;AAAA,IAAAD,GAAA;AAAA,IAAAE,cACA;AAAAhB,QAAA,CAAAgB,cACA;EAAAC,MACF,EAAAA,CAAA,KACAA;AAAA;AAEIC,MAAA,CAAAC,OAAA,GAAAN,YAAgB,CAAAG,cAAK;AACrB,IAAAI,kBAAI,GAASC,OAAA,CAAW;AACtB,IAAAC,gBAAA,GAAQD,OAAQ,sBAAI;AAAA,IAAAE,WACtB,GAAAF,OAAA;AAAA,IAAAG,WACF,GAAAH,OAAA;AAAA,IAAAI,mBACF,GAAAJ,OAAA;AAAA,IAAAK,WACJ,OAAAH,WAAA,CAAAI,MAAA,EAAAH,WAAA,CAAAI,WAAA;EAAAzB,IAAA;EAAA0B,MACF;EAEJC,IAAA;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Text, styled } from "@hanzogui/core";
|
|
2
|
+
const EnsureFlexed = styled(Text, {
|
|
3
|
+
opacity: 0,
|
|
4
|
+
lineHeight: 0,
|
|
5
|
+
height: 0,
|
|
6
|
+
display: "flex",
|
|
7
|
+
fontSize: 200,
|
|
8
|
+
children: "wwwwwwwwwwwwwwwwwww",
|
|
9
|
+
pointerEvents: "none"
|
|
10
|
+
});
|
|
11
|
+
EnsureFlexed["isVisuallyHidden"] = true;
|
|
12
|
+
export { EnsureFlexed };
|
|
13
|
+
//# sourceMappingURL=EnsureFlexed.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Text","styled","EnsureFlexed","opacity","lineHeight","height","display","fontSize","children","pointerEvents"],"sources":["../../../src/views/EnsureFlexed.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,EAAMC,MAAA,QAAc;AAItB,MAAMC,YAAA,GAAeD,MAAA,CAAOD,IAAA,EAAM;EACvCG,OAAA,EAAS;EACTC,UAAA,EAAY;EACZC,MAAA,EAAQ;EACRC,OAAA,EAAS;EACTC,QAAA,EAAU;EACVC,QAAA,EAAU;EACVC,aAAA,EAAe;AACjB,CAAC;AAIDP,YAAA,CAAa,kBAAkB,IAAI","ignoreList":[]}
|
|
@@ -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: 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, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var EnsureFlexed_exports = {};
|
|
26
|
+
__export(EnsureFlexed_exports, {
|
|
27
|
+
EnsureFlexed: () => EnsureFlexed
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(EnsureFlexed_exports);
|
|
30
|
+
var import_core = require("@hanzogui/core");
|
|
31
|
+
var EnsureFlexed = (0, import_core.styled)(import_core.Text, {
|
|
32
|
+
opacity: 0,
|
|
33
|
+
lineHeight: 0,
|
|
34
|
+
height: 0,
|
|
35
|
+
display: "flex",
|
|
36
|
+
fontSize: 200,
|
|
37
|
+
children: "wwwwwwwwwwwwwwwwwww",
|
|
38
|
+
pointerEvents: "none"
|
|
39
|
+
});
|
|
40
|
+
EnsureFlexed["isVisuallyHidden"] = true;
|
|
41
|
+
//# sourceMappingURL=EnsureFlexed.native.js.map
|
|
@@ -0,0 +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"],"sources":["../../../src/views/EnsureFlexed.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AAIF,IAAAA,SAAM,GAAAC,MAAe,CAAAC,cAAa;AAAA,IACvCC,gBAAS,GAAAF,MAAA,CAAAG,wBAAA;AAAA,IACTC,iBAAY,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACZC,YAAQ,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IACRC,QAAS,GAAAA,CAAAC,MAAA,EAAAC,GAAA;EACT,SAAAC,IAAU,IAAAD,GAAA,EACVZ,SAAU,CAAAW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AAEZ,IAACC,WAAA,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAID,IAAAF,IAAA,IAAa,OAAAA,IAAA,aAAsB,WAAAA,IAAA","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { styled } from "@hanzogui/core";
|
|
2
|
+
import { YStack } from "@hanzogui/stacks";
|
|
3
|
+
const Fieldset = styled(YStack, {
|
|
4
|
+
name: "Fieldset",
|
|
5
|
+
render: "fieldset",
|
|
6
|
+
// remove browser default styling
|
|
7
|
+
borderWidth: 0,
|
|
8
|
+
variants: {
|
|
9
|
+
horizontal: {
|
|
10
|
+
true: {
|
|
11
|
+
flexDirection: "row",
|
|
12
|
+
alignItems: "center"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
export { Fieldset };
|
|
18
|
+
//# sourceMappingURL=Fieldset.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["styled","YStack","Fieldset","name","render","borderWidth","variants","horizontal","true","flexDirection","alignItems"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AACvB,SAASC,MAAA,QAAc;AAEhB,MAAMC,QAAA,GAAWF,MAAA,CAAOC,MAAA,EAAQ;EACrCE,IAAA,EAAM;EACNC,MAAA,EAAQ;EAAA;EAGRC,WAAA,EAAa;EAEbC,QAAA,EAAU;IACRC,UAAA,EAAY;MACVC,IAAA,EAAM;QACJC,aAAA,EAAe;QACfC,UAAA,EAAY;MACd;IACF;EACF;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,46 @@
|
|
|
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: 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, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var Fieldset_exports = {};
|
|
26
|
+
__export(Fieldset_exports, {
|
|
27
|
+
Fieldset: () => Fieldset
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(Fieldset_exports);
|
|
30
|
+
var import_core = require("@hanzogui/core");
|
|
31
|
+
var import_stacks = require("@hanzogui/stacks");
|
|
32
|
+
var Fieldset = (0, import_core.styled)(import_stacks.YStack, {
|
|
33
|
+
name: "Fieldset",
|
|
34
|
+
render: "fieldset",
|
|
35
|
+
// remove browser default styling
|
|
36
|
+
borderWidth: 0,
|
|
37
|
+
variants: {
|
|
38
|
+
horizontal: {
|
|
39
|
+
true: {
|
|
40
|
+
flexDirection: "row",
|
|
41
|
+
alignItems: "center"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
//# sourceMappingURL=Fieldset.native.js.map
|
|
@@ -0,0 +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"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":"AACA,YAAS;;AACT,IAAAA,SAAS,GAAAC,MAAA,CAAcC,cAAA;AAEhB,IAAAC,gBAAiB,GAAAF,MAAO,CAAAG,wBAAQ;AAAA,IACrCC,iBAAM,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACNC,YAAQ,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IAAAC,QAAA,GAAAA,CAAAC,MAAA,EAAAC,GAAA;EAGR,SAAAC,IAAa,IAAAD,GAAA,EAEbZ,SAAU,CAAAW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AACI,IAAAC,WACJ,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAAA,IAAAF,IACJ,WAAAA,IAAe,wBAAAA,IAAA;IAAA,KACf,IAAAG,GAAA,IAAYhB,iBAAA,CAAAa,IAAA,GACd,KAAAX,YAAA,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,EACFnB,SAAA,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;EACF;EACD,OAAAE,EAAA","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HanzoguiProvider as OGProvider } from "@hanzogui/core";
|
|
2
|
+
import { PortalProvider } from "@hanzogui/portal";
|
|
3
|
+
import { ZIndexStackContext } from "@hanzogui/z-index-stack";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
const HanzoguiProvider = ({
|
|
6
|
+
children,
|
|
7
|
+
...props
|
|
8
|
+
}) => {
|
|
9
|
+
return /* @__PURE__ */jsx(OGProvider, {
|
|
10
|
+
...props,
|
|
11
|
+
children: /* @__PURE__ */jsx(ZIndexStackContext.Provider, {
|
|
12
|
+
value: 1,
|
|
13
|
+
children: /* @__PURE__ */jsx(PortalProvider, {
|
|
14
|
+
shouldAddRootHost: true,
|
|
15
|
+
children
|
|
16
|
+
})
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
export { HanzoguiProvider };
|
|
21
|
+
//# sourceMappingURL=HanzoguiProvider.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["HanzoguiProvider","OGProvider","PortalProvider","ZIndexStackContext","jsx","children","props","Provider","value","shouldAddRootHost"],"sources":["../../../src/views/HanzoguiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,gBAAA,IAAoBC,UAAA,QAAkB;AAC/C,SAASC,cAAA,QAAsB;AAC/B,SAASC,kBAAA,QAA0B;AAM3B,SAAAC,GAAA;AAJD,MAAMJ,gBAAA,GAAmBA,CAAC;EAAEK,QAAA;EAAU,GAAGC;AAAM,MAA6B;EACjF,OACE,eAAAF,GAAA,CAACH,UAAA;IAAY,GAAGK,KAAA;IACdD,QAAA,iBAAAD,GAAA,CAACD,kBAAA,CAAmBI,QAAA,EAAnB;MAA4BC,KAAA,EAAO;MAClCH,QAAA,iBAAAD,GAAA,CAACF,cAAA;QAAeO,iBAAA,EAAiB;QAAEJ;MAAA,CAAS;IAAA,CAC9C;EAAA,CACF;AAEJ","ignoreList":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
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: 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, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var HanzoguiProvider_exports = {};
|
|
26
|
+
__export(HanzoguiProvider_exports, {
|
|
27
|
+
HanzoguiProvider: () => HanzoguiProvider
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(HanzoguiProvider_exports);
|
|
30
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
|
+
var import_core = require("@hanzogui/core");
|
|
32
|
+
var import_portal = require("@hanzogui/portal");
|
|
33
|
+
var import_z_index_stack = require("@hanzogui/z-index-stack");
|
|
34
|
+
var HanzoguiProvider = function (param) {
|
|
35
|
+
var {
|
|
36
|
+
children,
|
|
37
|
+
...props
|
|
38
|
+
} = param;
|
|
39
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_core.HanzoguiProvider, {
|
|
40
|
+
...props,
|
|
41
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_z_index_stack.ZIndexStackContext.Provider, {
|
|
42
|
+
value: 1,
|
|
43
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_portal.PortalProvider, {
|
|
44
|
+
shouldAddRootHost: true,
|
|
45
|
+
children
|
|
46
|
+
})
|
|
47
|
+
})
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=HanzoguiProvider.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name"],"sources":["../../../src/views/HanzoguiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,YAAS;;AACT,IAAAA,SAAS,GAAAC,MAAA,CAAAC,cAAsB;AAC/B,IAAAC,gBAAS,GAAAF,MAAA,CAAAG,wBAA0B;AAM3B,IAAAC,iBAAA,GAAAJ,MAAA,CAAAK,mBAAA;AAJD,IAAAC,YAAM,GAAAN,MAAmB,CAACO,SAAE,CAAAC,cAAmB;AACpD,IAAAC,QACE,GAAAA,CAAAC,MAAA,EAAAC,GAAA,KAAC;EAML,SAAAC,IAAA,IAAAD,GAAA,E","ignoreList":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Text as HanzoguiText, styled } from "@hanzogui/core";
|
|
2
|
+
const Text = styled(HanzoguiText, {
|
|
3
|
+
variants: {
|
|
4
|
+
unstyled: {
|
|
5
|
+
false: {
|
|
6
|
+
color: "$color"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
defaultVariants: {
|
|
11
|
+
unstyled: process.env.HANZOGUI_HEADLESS === "1"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export { Text };
|
|
15
|
+
//# sourceMappingURL=Text.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Text","HanzoguiText","styled","variants","unstyled","false","color","defaultVariants","process","env","HANZOGUI_HEADLESS"],"sources":["../../../src/views/Text.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,IAAQC,YAAA,EAAcC,MAAA,QAAc;AAEtC,MAAMF,IAAA,GAAOE,MAAA,CAAOD,YAAA,EAAc;EACvCE,QAAA,EAAU;IACRC,QAAA,EAAU;MACRC,KAAA,EAAO;QACLC,KAAA,EAAO;MACT;IACF;EACF;EAEAC,eAAA,EAAiB;IACfH,QAAA,EAAUI,OAAA,CAAQC,GAAA,CAAIC,iBAAA,KAAsB;EAC9C;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
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: 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, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var Text_exports = {};
|
|
26
|
+
__export(Text_exports, {
|
|
27
|
+
Text: () => Text
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(Text_exports);
|
|
30
|
+
var import_core = require("@hanzogui/core");
|
|
31
|
+
var Text = (0, import_core.styled)(import_core.Text, {
|
|
32
|
+
variants: {
|
|
33
|
+
unstyled: {
|
|
34
|
+
false: {
|
|
35
|
+
color: "$color"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
defaultVariants: {
|
|
40
|
+
unstyled: process.env.HANZOGUI_HEADLESS === "1"
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
//# sourceMappingURL=Text.native.js.map
|
|
@@ -0,0 +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"],"sources":["../../../src/views/Text.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AAEF,IAAAA,SAAa,GAAAC,MAAO,CAAAC,cAAc;AAAA,IACvCC,gBAAU,GAAAF,MAAA,CAAAG,wBAAA;AAAA,IACRC,iBAAU,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IAAAC,YACD,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IAAAC,QACL,GAAOA,CAAAC,MAAA,EAAAC,GAAA;EAAA,KACT,IAAAC,IAAA,IAAAD,GAAA,EACFZ,SAAA,CAAAW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AACF,IAEAC,WAAA,GAAAA,CAAiBC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAAA,IACfF,IAAA,IAAU,OAAAA,IAAQ,KAAI,mBAAsBA,IAAA;IAC9C,SAAAG,GAAA,IAAAhB,iBAAA,CAAAa,IAAA,GACD,KAAAX,YAAA,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,E","ignoreList":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { View, styled } from "@hanzogui/core";
|
|
2
|
+
const VisuallyHidden = styled(View, {
|
|
3
|
+
position: "absolute",
|
|
4
|
+
width: 1,
|
|
5
|
+
height: 1,
|
|
6
|
+
margin: -1,
|
|
7
|
+
zIndex: -1e4,
|
|
8
|
+
overflow: "hidden",
|
|
9
|
+
opacity: 1e-8,
|
|
10
|
+
pointerEvents: "none",
|
|
11
|
+
variants: {
|
|
12
|
+
preserveDimensions: {
|
|
13
|
+
true: {
|
|
14
|
+
position: "relative",
|
|
15
|
+
width: "auto",
|
|
16
|
+
height: "auto"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
visible: {
|
|
20
|
+
true: {
|
|
21
|
+
position: "relative",
|
|
22
|
+
width: "auto",
|
|
23
|
+
height: "auto",
|
|
24
|
+
margin: 0,
|
|
25
|
+
zIndex: 1,
|
|
26
|
+
overflow: "visible",
|
|
27
|
+
opacity: 1,
|
|
28
|
+
pointerEvents: "auto"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
VisuallyHidden["isVisuallyHidden"] = true;
|
|
34
|
+
export { VisuallyHidden };
|
|
35
|
+
//# sourceMappingURL=VisuallyHidden.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","styled","VisuallyHidden","position","width","height","margin","zIndex","overflow","opacity","pointerEvents","variants","preserveDimensions","true","visible"],"sources":["../../../src/views/VisuallyHidden.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,EAAMC,MAAA,QAAc;AAEtB,MAAMC,cAAA,GAAiBD,MAAA,CAAOD,IAAA,EAAM;EACzCG,QAAA,EAAU;EACVC,KAAA,EAAO;EACPC,MAAA,EAAQ;EACRC,MAAA,EAAQ;EACRC,MAAA,EAAQ;EACRC,QAAA,EAAU;EACVC,OAAA,EAAS;EACTC,aAAA,EAAe;EAEfC,QAAA,EAAU;IACRC,kBAAA,EAAoB;MAClBC,IAAA,EAAM;QACJV,QAAA,EAAU;QACVC,KAAA,EAAO;QACPC,MAAA,EAAQ;MACV;IACF;IAEAS,OAAA,EAAS;MACPD,IAAA,EAAM;QACJV,QAAA,EAAU;QACVC,KAAA,EAAO;QACPC,MAAA,EAAQ;QACRC,MAAA,EAAQ;QACRC,MAAA,EAAQ;QACRC,QAAA,EAAU;QACVC,OAAA,EAAS;QACTC,aAAA,EAAe;MACjB;IACF;EACF;AACF,CAAC;AAGDR,cAAA,CAAe,kBAAkB,IAAI","ignoreList":[]}
|
|
@@ -0,0 +1,63 @@
|
|
|
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: 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, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var VisuallyHidden_exports = {};
|
|
26
|
+
__export(VisuallyHidden_exports, {
|
|
27
|
+
VisuallyHidden: () => VisuallyHidden
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(VisuallyHidden_exports);
|
|
30
|
+
var import_core = require("@hanzogui/core");
|
|
31
|
+
var VisuallyHidden = (0, import_core.styled)(import_core.View, {
|
|
32
|
+
position: "absolute",
|
|
33
|
+
width: 1,
|
|
34
|
+
height: 1,
|
|
35
|
+
margin: -1,
|
|
36
|
+
zIndex: -1e4,
|
|
37
|
+
overflow: "hidden",
|
|
38
|
+
opacity: 1e-8,
|
|
39
|
+
pointerEvents: "none",
|
|
40
|
+
variants: {
|
|
41
|
+
preserveDimensions: {
|
|
42
|
+
true: {
|
|
43
|
+
position: "relative",
|
|
44
|
+
width: "auto",
|
|
45
|
+
height: "auto"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
visible: {
|
|
49
|
+
true: {
|
|
50
|
+
position: "relative",
|
|
51
|
+
width: "auto",
|
|
52
|
+
height: "auto",
|
|
53
|
+
margin: 0,
|
|
54
|
+
zIndex: 1,
|
|
55
|
+
overflow: "visible",
|
|
56
|
+
opacity: 1,
|
|
57
|
+
pointerEvents: "auto"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
VisuallyHidden["isVisuallyHidden"] = true;
|
|
63
|
+
//# sourceMappingURL=VisuallyHidden.native.js.map
|
|
@@ -0,0 +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","VisuallyHidden_exports","VisuallyHidden","module","exports","import_core","require","styled","View","position","width","height","margin","zIndex","overflow","opacity","pointerEvents"],"sources":["../../../src/views/VisuallyHidden.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AAEF,IAAAA,SAAM,GAAAC,MAAA,CAAiBC,cAAa;AAAA,IACzCC,gBAAU,GAAAF,MAAA,CAAAG,wBAAA;AAAA,IACVC,iBAAO,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACPC,YAAQ,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IACRC,QAAQ,GAAAA,CAAAC,MAAA,EAAAC,GAAA;EACR,SAAQC,IAAA,IAAAD,GAAA,EACRZ,SAAU,CAAAW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AACD,IACTC,WAAA,GAAeA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAEf,IAAAF,IAAA,IAAU,OAAAA,IAAA,wBAAAA,IAAA;IACR,SAAAG,GAAA,IAAAhB,iBAAoB,CAAAa,IAAA,GAClB,KAAAX,YAAM,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,EACJnB,SAAA,CAAUiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;EAAA;EACH,OACPE,EAAA;AAAQ;AACV,IACFM,YAAA,GAAAC,GAAA,IAAAR,WAAA,CAAAhB,SAAA;EAAAyB,KAAA;AAAA,IAAAD,GAAA;AAAA,IAEAE,sBAAS;AAAAhB,QACP,CAAAgB,sBAAM;EAAAC,cACJ,EAAUA,CAAA,KAAAA;AAAA;AACHC,MAAA,CAAAC,OACP,GAAQN,YAAA,CAAAG,sBAAA;AAAA,IAAAI,WACR,GAAQC,OAAA;AAAA,IAAAJ,cACA,OAAAG,WAAA,CAAAE,MAAA,EAAAF,WAAA,CAAAG,IAAA;EAAAC,QACR,YAAU;EAAAC,KAAA,EACV;EAASC,MACT;EAAeC,MACjB;EAAAC,MACF;EACFC,QAAA;EACDC,OAAA;EAGDC,aAAe","ignoreList":[]}
|