@hanzo/gui 4.7.3 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hanzogui.config.ts +4 -0
- package/linear-gradient/index.cjs +1 -1
- package/linear-gradient/index.native.cjs +1 -1
- package/native/index.cjs +1 -1
- package/native-test/index.cjs +1 -1
- package/native-test/index.native.cjs +1 -1
- package/package.json +80 -87
- package/react-native-web/index.cjs +1 -1
- package/react-native-web/index.native.cjs +1 -1
- package/src/{createGui.ts → createHanzogui.ts} +13 -13
- package/src/index.ts +181 -39
- package/src/linear-gradient.ts +1 -0
- package/src/views/Anchor.tsx +38 -4
- package/src/views/Fieldset.tsx +22 -0
- package/src/views/HanzoguiProvider.tsx +14 -0
- package/src/views/Text.tsx +3 -3
- package/tsconfig.json +2 -2
- package/types/createHanzogui.d.ts +6 -0
- package/types/index.d.ts +47 -28
- package/types/linear-gradient.d.ts +2 -0
- package/types/views/Anchor.d.ts +14 -2
- package/types/views/EnsureFlexed.d.ts +1 -1
- package/types/views/Fieldset.d.ts +8 -0
- package/types/views/HanzoguiProvider.d.ts +3 -0
- package/types/views/Text.d.ts +1 -1
- package/types/views/VisuallyHidden.d.ts +1 -1
- package/web/index.cjs +1 -1
- package/web/index.native.cjs +1 -1
- package/dist/cjs/createGui.cjs +0 -80
- package/dist/cjs/createGui.native.js +0 -89
- package/dist/cjs/createGui.native.js.map +0 -1
- package/dist/cjs/index.cjs +0 -77
- package/dist/cjs/index.native.js +0 -80
- package/dist/cjs/index.native.js.map +0 -1
- package/dist/cjs/setup.cjs +0 -30
- package/dist/cjs/setup.native.js +0 -35
- package/dist/cjs/setup.native.js.map +0 -1
- package/dist/cjs/viewTypes.cjs +0 -18
- package/dist/cjs/viewTypes.native.js +0 -21
- package/dist/cjs/viewTypes.native.js.map +0 -1
- package/dist/cjs/views/Anchor.cjs +0 -34
- package/dist/cjs/views/Anchor.native.js +0 -37
- package/dist/cjs/views/Anchor.native.js.map +0 -1
- package/dist/cjs/views/EnsureFlexed.cjs +0 -38
- package/dist/cjs/views/EnsureFlexed.native.js +0 -41
- package/dist/cjs/views/EnsureFlexed.native.js.map +0 -1
- package/dist/cjs/views/GuiProvider.cjs +0 -29
- package/dist/cjs/views/GuiProvider.native.js +0 -32
- package/dist/cjs/views/GuiProvider.native.js.map +0 -1
- package/dist/cjs/views/Text.cjs +0 -40
- package/dist/cjs/views/Text.native.js +0 -43
- package/dist/cjs/views/Text.native.js.map +0 -1
- package/dist/cjs/views/VisuallyHidden.cjs +0 -60
- package/dist/cjs/views/VisuallyHidden.native.js +0 -63
- package/dist/cjs/views/VisuallyHidden.native.js.map +0 -1
- package/dist/esm/createGui.mjs +0 -55
- package/dist/esm/createGui.mjs.map +0 -1
- package/dist/esm/createGui.native.js +0 -61
- package/dist/esm/createGui.native.js.map +0 -1
- package/dist/esm/index.js +0 -44
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs +0 -44
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js +0 -44
- package/dist/esm/index.native.js.map +0 -1
- package/dist/esm/setup.mjs +0 -6
- package/dist/esm/setup.mjs.map +0 -1
- package/dist/esm/setup.native.js +0 -8
- 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/Anchor.mjs +0 -9
- package/dist/esm/views/Anchor.mjs.map +0 -1
- package/dist/esm/views/Anchor.native.js +0 -9
- package/dist/esm/views/Anchor.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 -55
- package/dist/jsx/createGui.mjs.map +0 -1
- package/dist/jsx/createGui.native.js +0 -89
- package/dist/jsx/createGui.native.js.map +0 -1
- package/dist/jsx/index.js +0 -44
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs +0 -44
- package/dist/jsx/index.mjs.map +0 -1
- package/dist/jsx/index.native.js +0 -80
- package/dist/jsx/index.native.js.map +0 -1
- package/dist/jsx/setup.mjs +0 -6
- package/dist/jsx/setup.mjs.map +0 -1
- package/dist/jsx/setup.native.js +0 -35
- 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 -21
- package/dist/jsx/viewTypes.native.js.map +0 -1
- package/dist/jsx/views/Anchor.mjs +0 -9
- package/dist/jsx/views/Anchor.mjs.map +0 -1
- package/dist/jsx/views/Anchor.native.js +0 -37
- package/dist/jsx/views/Anchor.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 -41
- 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 -32
- 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 -43
- 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 -63
- package/dist/jsx/views/VisuallyHidden.native.js.map +0 -1
- package/gui.config.ts +0 -4
- package/scripts/publish.sh +0 -61
- package/src/views/GuiProvider.tsx +0 -5
- package/types/createGui.d.ts +0 -6
- package/types/views/GuiProvider.d.ts +0 -4
package/dist/jsx/index.mjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export * from "@hanzogui/core";
|
|
2
|
-
export * from "@hanzogui/stacks";
|
|
3
|
-
export * from "@hanzogui/shapes";
|
|
4
|
-
export * from "@hanzogui/spacer";
|
|
5
|
-
export * from "@hanzogui/animate-presence";
|
|
6
|
-
export * from "@hanzogui/button";
|
|
7
|
-
export * from "@hanzogui/popover";
|
|
8
|
-
export * from "@hanzogui/radio-group";
|
|
9
|
-
export * from "@hanzogui/tooltip";
|
|
10
|
-
export * from "@hanzogui/switch";
|
|
11
|
-
export * from "@hanzogui/checkbox";
|
|
12
|
-
export * from "@hanzogui/dialog";
|
|
13
|
-
export * from "@hanzogui/sheet";
|
|
14
|
-
export * from "@hanzogui/adapt";
|
|
15
|
-
export * from "@hanzogui/label";
|
|
16
|
-
export * from "@hanzogui/input";
|
|
17
|
-
export * from "@hanzogui/select";
|
|
18
|
-
export * from "@hanzogui/separator";
|
|
19
|
-
export * from "@hanzogui/slider";
|
|
20
|
-
export * from "@hanzogui/tabs";
|
|
21
|
-
export * from "@hanzogui/toggle-group";
|
|
22
|
-
export * from "@hanzogui/accordion";
|
|
23
|
-
export * from "@hanzogui/avatar";
|
|
24
|
-
export * from "@hanzogui/card";
|
|
25
|
-
export * from "@hanzogui/form";
|
|
26
|
-
export * from "@hanzogui/group";
|
|
27
|
-
export * from "@hanzogui/image";
|
|
28
|
-
export * from "@hanzogui/list-item";
|
|
29
|
-
export * from "@hanzogui/portal";
|
|
30
|
-
export * from "@hanzogui/progress";
|
|
31
|
-
export * from "@hanzogui/scroll-view";
|
|
32
|
-
export * from "@hanzogui/spinner";
|
|
33
|
-
export * from "@hanzogui/text";
|
|
34
|
-
export * from "@hanzogui/toast";
|
|
35
|
-
export * from "@hanzogui/visually-hidden";
|
|
36
|
-
export * from "@hanzogui/focusable";
|
|
37
|
-
export * from "@hanzogui/elements";
|
|
38
|
-
import { createThemes, createThemeBuilder } from "@hanzogui/theme-builder";
|
|
39
|
-
import { shorthands } from "@hanzogui/shorthands";
|
|
40
|
-
import { getDefaultGuiConfig } from "@hanzogui/config-default";
|
|
41
|
-
import { Theme, useTheme } from "@hanzogui/web";
|
|
42
|
-
import { Anchor } from "./views/Anchor.mjs";
|
|
43
|
-
export { Anchor, Theme, createThemeBuilder, createThemes, getDefaultGuiConfig, shorthands, useTheme };
|
|
44
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/jsx/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createThemes","createThemeBuilder","shorthands","getDefaultGuiConfig","Theme","useTheme","Anchor"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAGA,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,SAASA,YAAA,EAAcC,kBAAA,QAA0B;AACjD,SAASC,UAAA,QAAkB;AAC3B,SAASC,mBAAA,QAA2B;AAIpC,SAASC,KAAA,EAAOC,QAAA,QAAgB;AAIhC,SAASC,MAAA,QAAgC","ignoreList":[]}
|
package/dist/jsx/index.native.js
DELETED
|
@@ -1,80 +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: 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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
23
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
24
|
-
value: true
|
|
25
|
-
}), mod);
|
|
26
|
-
var index_exports = {};
|
|
27
|
-
__export(index_exports, {
|
|
28
|
-
Anchor: () => import_Anchor.Anchor,
|
|
29
|
-
Theme: () => import_web.Theme,
|
|
30
|
-
createThemeBuilder: () => import_theme_builder.createThemeBuilder,
|
|
31
|
-
createThemes: () => import_theme_builder.createThemes,
|
|
32
|
-
getDefaultGuiConfig: () => import_config_default.getDefaultGuiConfig,
|
|
33
|
-
shorthands: () => import_shorthands.shorthands,
|
|
34
|
-
useTheme: () => import_web.useTheme
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(index_exports);
|
|
37
|
-
var import_setup = require("./setup.native.js");
|
|
38
|
-
__reExport(index_exports, require("@hanzogui/core"), module.exports);
|
|
39
|
-
__reExport(index_exports, require("@hanzogui/stacks"), module.exports);
|
|
40
|
-
__reExport(index_exports, require("@hanzogui/shapes"), module.exports);
|
|
41
|
-
__reExport(index_exports, require("@hanzogui/spacer"), module.exports);
|
|
42
|
-
__reExport(index_exports, require("@hanzogui/animate-presence"), module.exports);
|
|
43
|
-
__reExport(index_exports, require("@hanzogui/button"), module.exports);
|
|
44
|
-
__reExport(index_exports, require("@hanzogui/popover"), module.exports);
|
|
45
|
-
__reExport(index_exports, require("@hanzogui/radio-group"), module.exports);
|
|
46
|
-
__reExport(index_exports, require("@hanzogui/tooltip"), module.exports);
|
|
47
|
-
__reExport(index_exports, require("@hanzogui/switch"), module.exports);
|
|
48
|
-
__reExport(index_exports, require("@hanzogui/checkbox"), module.exports);
|
|
49
|
-
__reExport(index_exports, require("@hanzogui/dialog"), module.exports);
|
|
50
|
-
__reExport(index_exports, require("@hanzogui/sheet"), module.exports);
|
|
51
|
-
__reExport(index_exports, require("@hanzogui/adapt"), module.exports);
|
|
52
|
-
__reExport(index_exports, require("@hanzogui/label"), module.exports);
|
|
53
|
-
__reExport(index_exports, require("@hanzogui/input"), module.exports);
|
|
54
|
-
__reExport(index_exports, require("@hanzogui/select"), module.exports);
|
|
55
|
-
__reExport(index_exports, require("@hanzogui/separator"), module.exports);
|
|
56
|
-
__reExport(index_exports, require("@hanzogui/slider"), module.exports);
|
|
57
|
-
__reExport(index_exports, require("@hanzogui/tabs"), module.exports);
|
|
58
|
-
__reExport(index_exports, require("@hanzogui/toggle-group"), module.exports);
|
|
59
|
-
__reExport(index_exports, require("@hanzogui/accordion"), module.exports);
|
|
60
|
-
__reExport(index_exports, require("@hanzogui/avatar"), module.exports);
|
|
61
|
-
__reExport(index_exports, require("@hanzogui/card"), module.exports);
|
|
62
|
-
__reExport(index_exports, require("@hanzogui/form"), module.exports);
|
|
63
|
-
__reExport(index_exports, require("@hanzogui/group"), module.exports);
|
|
64
|
-
__reExport(index_exports, require("@hanzogui/image"), module.exports);
|
|
65
|
-
__reExport(index_exports, require("@hanzogui/list-item"), module.exports);
|
|
66
|
-
__reExport(index_exports, require("@hanzogui/portal"), module.exports);
|
|
67
|
-
__reExport(index_exports, require("@hanzogui/progress"), module.exports);
|
|
68
|
-
__reExport(index_exports, require("@hanzogui/scroll-view"), module.exports);
|
|
69
|
-
__reExport(index_exports, require("@hanzogui/spinner"), module.exports);
|
|
70
|
-
__reExport(index_exports, require("@hanzogui/text"), module.exports);
|
|
71
|
-
__reExport(index_exports, require("@hanzogui/toast"), module.exports);
|
|
72
|
-
__reExport(index_exports, require("@hanzogui/visually-hidden"), module.exports);
|
|
73
|
-
__reExport(index_exports, require("@hanzogui/focusable"), module.exports);
|
|
74
|
-
__reExport(index_exports, require("@hanzogui/elements"), module.exports);
|
|
75
|
-
var import_theme_builder = require("@hanzogui/theme-builder");
|
|
76
|
-
var import_shorthands = require("@hanzogui/shorthands");
|
|
77
|
-
var import_config_default = require("@hanzogui/config-default");
|
|
78
|
-
var import_web = require("@hanzogui/web");
|
|
79
|
-
var import_Anchor = require("./views/Anchor.native.js");
|
|
80
|
-
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","index_exports","Anchor","import_Anchor","Theme","import_web","createThemeBuilder","import_theme_builder","createThemes","getDefaultGuiConfig","import_config_default","shorthands","import_shorthands","useTheme","module","exports","import_setup","require"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"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","ignoreList":[]}
|
package/dist/jsx/setup.mjs
DELETED
package/dist/jsx/setup.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
package/dist/jsx/setup.native.js
DELETED
|
@@ -1,35 +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
|
-
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
|
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
package/dist/jsx/viewTypes.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["styled","SizableText","Anchor","name","tag","accessibilityRole"],"sources":["../../../src/views/Anchor.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,MAAA,QAAc;AACvB,SAASC,WAAA,QAAmB;AAErB,MAAMC,MAAA,GAASF,MAAA,CAAOC,WAAA,EAAa;EACxCE,IAAA,EAAM;EACNC,GAAA,EAAK;EACLC,iBAAA,EAAmB;AACrB,CAAC","ignoreList":[]}
|
|
@@ -1,37 +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: 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_core = require("@hanzogui/core");
|
|
31
|
-
var import_text = require("@hanzogui/text");
|
|
32
|
-
var Anchor = (0, import_core.styled)(import_text.SizableText, {
|
|
33
|
-
name: "Anchor",
|
|
34
|
-
tag: "a",
|
|
35
|
-
accessibilityRole: "link"
|
|
36
|
-
});
|
|
37
|
-
//# sourceMappingURL=Anchor.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name"],"sources":["../../../src/views/Anchor.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AACT,IAAAA,SAAS,GAAAC,MAAA,CAAAC,cAAmB;AAErB,IAAAC,gBAAe,GAAOF,MAAA,CAAAG,wBAAa;AAAA,IACxCC,iBAAM,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACNC,YAAK,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IACLC,QAAA,GAAAA,CAAAC,MAAmB,EAAAC,GAAA;EACpB,SAAAC,IAAA,IAAAD,GAAA,E","ignoreList":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
|
@@ -1,41 +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: 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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc"],"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":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["GuiProvider","CoreGuiProvider"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,WAAA,IAAeC,eAAA,QAAuB;AAExC,MAAMD,WAAA,GAAcC,eAAA","ignoreList":[]}
|
|
@@ -1,32 +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: 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 GuiProvider_exports = {};
|
|
26
|
-
__export(GuiProvider_exports, {
|
|
27
|
-
GuiProvider: () => GuiProvider
|
|
28
|
-
});
|
|
29
|
-
module.exports = __toCommonJS(GuiProvider_exports);
|
|
30
|
-
var import_core = require("@hanzogui/core");
|
|
31
|
-
var GuiProvider = import_core.GuiProvider;
|
|
32
|
-
//# sourceMappingURL=GuiProvider.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty"],"sources":["../../../src/views/GuiProvider.tsx"],"sourcesContent":[null],"mappings":"AACA,YAAS;;AAEF,IAAAA,SAAM,GAAAC,MAAc,CAAAC,cAAA","ignoreList":[]}
|
package/dist/jsx/views/Text.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Text as GuiText, styled } from "@hanzogui/core";
|
|
2
|
-
const Text = styled(GuiText, {
|
|
3
|
-
variants: {
|
|
4
|
-
unstyled: {
|
|
5
|
-
false: {
|
|
6
|
-
color: "$color"
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
defaultVariants: {
|
|
11
|
-
unstyled: process.env.GUI_HEADLESS === "1"
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
export { Text };
|
|
15
|
-
//# sourceMappingURL=Text.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Text","GuiText","styled","variants","unstyled","false","color","defaultVariants","process","env","GUI_HEADLESS"],"sources":["../../../src/views/Text.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,IAAQC,OAAA,EAASC,MAAA,QAAc;AAEjC,MAAMF,IAAA,GAAOE,MAAA,CAAOD,OAAA,EAAS;EAClCE,QAAA,EAAU;IACRC,QAAA,EAAU;MACRC,KAAA,EAAO;QACLC,KAAA,EAAO;MACT;IACF;EACF;EAEAC,eAAA,EAAiB;IACfH,QAAA,EAAUI,OAAA,CAAQC,GAAA,CAAIC,YAAA,KAAiB;EACzC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,43 +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: 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.GUI_HEADLESS === "1"
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
//# sourceMappingURL=Text.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call"],"sources":["../../../src/views/Text.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AAEF,IAAAA,SAAa,GAAAC,MAAO,CAAAC,cAAS;AAAA,IAClCC,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,mBAAiBA,IAAA;IACzC,SAAAG,GAAA,IAAAhB,iBAAA,CAAAa,IAAA,GACD,KAAAX,YAAA,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,E","ignoreList":[]}
|
|
@@ -1,35 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
|
@@ -1,63 +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: 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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","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":[]}
|
package/gui.config.ts
DELETED
package/scripts/publish.sh
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
set -euo pipefail
|
|
3
|
-
|
|
4
|
-
# Usage:
|
|
5
|
-
# ./scripts/publish.sh # bump patch (0.1.0 → 0.1.1)
|
|
6
|
-
# ./scripts/publish.sh minor # bump minor (0.1.0 → 0.2.0)
|
|
7
|
-
# ./scripts/publish.sh major # bump major (0.1.0 → 1.0.0)
|
|
8
|
-
# ./scripts/publish.sh 2.0.0 # exact version
|
|
9
|
-
|
|
10
|
-
VERSION="${1:-patch}"
|
|
11
|
-
|
|
12
|
-
# Ensure clean working tree
|
|
13
|
-
if [ -n "$(git status --porcelain)" ]; then
|
|
14
|
-
echo "error: working tree is dirty — commit or stash first" >&2
|
|
15
|
-
exit 1
|
|
16
|
-
fi
|
|
17
|
-
|
|
18
|
-
# Bump version
|
|
19
|
-
npm version "$VERSION" --no-git-tag-version
|
|
20
|
-
|
|
21
|
-
NEW_VERSION=$(node -p "require('./package.json').version")
|
|
22
|
-
echo "Publishing @hanzo/gui@$NEW_VERSION"
|
|
23
|
-
|
|
24
|
-
# Resolve workspace:* → concrete versions for npm publish
|
|
25
|
-
cp package.json package.json.bak
|
|
26
|
-
node -e "
|
|
27
|
-
const fs = require('fs');
|
|
28
|
-
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
|
|
29
|
-
for (const field of ['dependencies', 'devDependencies']) {
|
|
30
|
-
const deps = pkg[field] || {};
|
|
31
|
-
for (const [name, ver] of Object.entries(deps)) {
|
|
32
|
-
if (ver.startsWith('workspace:')) {
|
|
33
|
-
try {
|
|
34
|
-
const depPkg = require.resolve(name + '/package.json', { paths: [process.cwd() + '/../../..'] });
|
|
35
|
-
deps[name] = JSON.parse(fs.readFileSync(depPkg, 'utf8')).version;
|
|
36
|
-
} catch {
|
|
37
|
-
// Check npm registry as fallback
|
|
38
|
-
console.error('warn: could not resolve ' + name + ' locally, removing from ' + field);
|
|
39
|
-
delete deps[name];
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
# Commit, tag, publish
|
|
48
|
-
git add package.json
|
|
49
|
-
git commit -m "v$NEW_VERSION"
|
|
50
|
-
git tag "v$NEW_VERSION"
|
|
51
|
-
npm publish --access public
|
|
52
|
-
|
|
53
|
-
# Restore workspace:* references
|
|
54
|
-
cp package.json.bak package.json
|
|
55
|
-
rm package.json.bak
|
|
56
|
-
git add package.json
|
|
57
|
-
git commit --amend --no-edit
|
|
58
|
-
|
|
59
|
-
echo ""
|
|
60
|
-
echo "Published @hanzo/gui@$NEW_VERSION"
|
|
61
|
-
echo "Run 'git push && git push --tags' to push to origin."
|