@hanzo/gui 4.8.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/{createGui.cjs → createHanzogui.cjs} +14 -14
- package/dist/cjs/{createGui.native.js → createHanzogui.native.js} +15 -15
- package/dist/cjs/createHanzogui.native.js.map +1 -0
- package/dist/cjs/index.cjs +105 -34
- package/dist/cjs/index.native.js +105 -34
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/{views/GuiProvider.cjs → linear-gradient.cjs} +5 -6
- package/dist/cjs/{views/GuiProvider.native.js → linear-gradient.native.js} +6 -7
- package/dist/cjs/linear-gradient.native.js.map +1 -0
- package/dist/cjs/views/Anchor.cjs +29 -3
- package/dist/cjs/views/Anchor.native.js +31 -3
- package/dist/cjs/views/Anchor.native.js.map +1 -1
- 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 +1 -1
- package/dist/cjs/views/Text.native.js +1 -1
- package/dist/cjs/views/Text.native.js.map +1 -1
- package/dist/{jsx/createGui.mjs → esm/createHanzogui.mjs} +13 -13
- package/dist/esm/createHanzogui.mjs.map +1 -0
- package/dist/esm/{createGui.native.js → createHanzogui.native.js} +13 -13
- package/dist/esm/createHanzogui.native.js.map +1 -0
- package/dist/esm/index.js +47 -28
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +47 -28
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +47 -28
- package/dist/esm/index.native.js.map +1 -1
- 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/views/Anchor.mjs +29 -3
- package/dist/esm/views/Anchor.mjs.map +1 -1
- package/dist/esm/views/Anchor.native.js +31 -3
- package/dist/esm/views/Anchor.native.js.map +1 -1
- 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 +3 -3
- package/dist/esm/views/Text.mjs.map +1 -1
- package/dist/esm/views/Text.native.js +3 -3
- package/dist/esm/views/Text.native.js.map +1 -1
- package/dist/{esm/createGui.mjs → jsx/createHanzogui.mjs} +13 -13
- package/dist/jsx/createHanzogui.mjs.map +1 -0
- package/dist/jsx/{createGui.native.js → createHanzogui.native.js} +15 -15
- package/dist/jsx/createHanzogui.native.js.map +1 -0
- package/dist/jsx/index.js +47 -28
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +47 -28
- package/dist/jsx/index.mjs.map +1 -1
- package/dist/jsx/index.native.js +105 -34
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/linear-gradient.mjs +3 -0
- package/dist/jsx/linear-gradient.mjs.map +1 -0
- package/dist/jsx/{views/GuiProvider.native.js → linear-gradient.native.js} +6 -7
- package/dist/jsx/linear-gradient.native.js.map +1 -0
- package/dist/jsx/views/Anchor.mjs +29 -3
- package/dist/jsx/views/Anchor.mjs.map +1 -1
- package/dist/jsx/views/Anchor.native.js +31 -3
- package/dist/jsx/views/Anchor.native.js.map +1 -1
- 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 +3 -3
- package/dist/jsx/views/Text.mjs.map +1 -1
- package/dist/jsx/views/Text.native.js +1 -1
- package/dist/jsx/views/Text.native.js.map +1 -1
- package/dist/native.cjs +32307 -0
- package/dist/test.cjs +32369 -0
- package/package.json +85 -85
- 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/types/createHanzogui.d.ts +6 -0
- package/types/createHanzogui.d.ts.map +1 -0
- package/types/index.d.ts +47 -28
- package/types/index.d.ts.map +1 -0
- package/types/linear-gradient.d.ts +2 -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 +14 -2
- 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 +8 -0
- package/types/views/Fieldset.d.ts.map +1 -0
- package/types/views/HanzoguiProvider.d.ts +3 -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/dist/cjs/createGui.native.js.map +0 -1
- package/dist/cjs/views/GuiProvider.native.js.map +0 -1
- package/dist/esm/createGui.mjs.map +0 -1
- package/dist/esm/createGui.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/jsx/createGui.mjs.map +0 -1
- package/dist/jsx/createGui.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.map +0 -1
- package/gui.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/package.json.bak +0 -169
- 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/scripts/publish.sh +0 -50
- package/src/views/GuiProvider.tsx +0 -5
- package/tsconfig.json +0 -171
- package/types/createGui.d.ts +0 -6
- package/types/views/GuiProvider.d.ts +0 -4
- 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
package/dist/jsx/index.mjs
CHANGED
|
@@ -1,44 +1,63 @@
|
|
|
1
|
-
export * from "@hanzogui/core";
|
|
2
|
-
export * from "@hanzogui/stacks";
|
|
3
|
-
export * from "@hanzogui/shapes";
|
|
4
1
|
export * from "@hanzogui/spacer";
|
|
2
|
+
export * from "@hanzogui/accordion";
|
|
3
|
+
export * from "@hanzogui/adapt";
|
|
4
|
+
export * from "@hanzogui/alert-dialog";
|
|
5
|
+
export * from "@hanzogui/animate";
|
|
5
6
|
export * from "@hanzogui/animate-presence";
|
|
7
|
+
export * from "@hanzogui/avatar";
|
|
6
8
|
export * from "@hanzogui/button";
|
|
7
|
-
export * from "@hanzogui/
|
|
8
|
-
export * from "@hanzogui/radio-group";
|
|
9
|
-
export * from "@hanzogui/tooltip";
|
|
10
|
-
export * from "@hanzogui/switch";
|
|
9
|
+
export * from "@hanzogui/card";
|
|
11
10
|
export * from "@hanzogui/checkbox";
|
|
11
|
+
export * from "@hanzogui/collapsible";
|
|
12
|
+
export * from "@hanzogui/compose-refs";
|
|
13
|
+
export * from "@hanzogui/create-context";
|
|
12
14
|
export * from "@hanzogui/dialog";
|
|
13
|
-
export * from "@hanzogui/
|
|
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";
|
|
15
|
+
export * from "@hanzogui/font-size";
|
|
25
16
|
export * from "@hanzogui/form";
|
|
26
17
|
export * from "@hanzogui/group";
|
|
18
|
+
export * from "@hanzogui/react-native-media-driver";
|
|
19
|
+
export * from "@hanzogui/elements";
|
|
20
|
+
export * from "@hanzogui/component-helpers";
|
|
27
21
|
export * from "@hanzogui/image";
|
|
22
|
+
export * from "@hanzogui/label";
|
|
28
23
|
export * from "@hanzogui/list-item";
|
|
24
|
+
export * from "@hanzogui/menu";
|
|
25
|
+
export * from "@hanzogui/context-menu";
|
|
26
|
+
export * from "@hanzogui/create-menu";
|
|
27
|
+
export * from "@hanzogui/popover";
|
|
28
|
+
export * from "@hanzogui/popper";
|
|
29
29
|
export * from "@hanzogui/portal";
|
|
30
30
|
export * from "@hanzogui/progress";
|
|
31
|
+
export * from "@hanzogui/radio-group";
|
|
31
32
|
export * from "@hanzogui/scroll-view";
|
|
32
|
-
export * from "@hanzogui/
|
|
33
|
+
export * from "@hanzogui/select";
|
|
34
|
+
export * from "@hanzogui/separator";
|
|
35
|
+
export * from "@hanzogui/shapes";
|
|
36
|
+
export * from "@hanzogui/sheet";
|
|
37
|
+
export * from "@hanzogui/slider";
|
|
38
|
+
export * from "@hanzogui/stacks";
|
|
39
|
+
export * from "@hanzogui/switch";
|
|
40
|
+
export * from "@hanzogui/tabs";
|
|
33
41
|
export * from "@hanzogui/text";
|
|
42
|
+
export * from "@hanzogui/theme";
|
|
34
43
|
export * from "@hanzogui/toast";
|
|
44
|
+
export * from "@hanzogui/toggle-group";
|
|
45
|
+
export * from "@hanzogui/tooltip";
|
|
46
|
+
export * from "@hanzogui/use-controllable-state";
|
|
47
|
+
export * from "@hanzogui/use-debounce";
|
|
48
|
+
export * from "@hanzogui/use-force-update";
|
|
49
|
+
export * from "@hanzogui/element";
|
|
50
|
+
export * from "@hanzogui/use-window-dimensions";
|
|
35
51
|
export * from "@hanzogui/visually-hidden";
|
|
36
|
-
export * from "
|
|
37
|
-
export * from "
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
export
|
|
52
|
+
export * from "./createHanzogui.mjs";
|
|
53
|
+
export * from "./viewTypes.mjs";
|
|
54
|
+
export * from "./views/HanzoguiProvider.mjs";
|
|
55
|
+
export * from "./views/Anchor.mjs";
|
|
56
|
+
export * from "./views/EnsureFlexed.mjs";
|
|
57
|
+
export * from "./views/Fieldset.mjs";
|
|
58
|
+
export * from "@hanzogui/input";
|
|
59
|
+
export * from "@hanzogui/spinner";
|
|
60
|
+
export * from "./views/Text.mjs";
|
|
61
|
+
import { ClientOnly, Configuration, ComponentContext, GroupContext, FontLanguage, Theme, View, createComponent, createFont, createShorthands, createStyledContext, createTokens, createVariable, getConfig, getMedia, getCSSStylesAtomic, getThemes, getToken, getTokenValue, getTokens, getVariable, getVariableName, getVariableValue, insertFont, setConfig, setupDev, _withStableStyle, isBrowser, isChrome, isClient, isServer, isHanzoguiComponent, isHanzoguiElement, isTouchable, isVariable, isWeb, isWebTouchable, matchMedia, mediaObjectToString, mediaQueryConfig, mediaState, setOnLayoutStrategy, styled, themeable, useClientValue, useDidFinishSSR, useEvent, useGet, useIsTouchDevice, useIsomorphicLayoutEffect, useMedia, useProps, usePropsAndStyle, useStyle, useConfiguration, useTheme, useThemeName, variableToString, withStaticProperties } from "@hanzogui/core";
|
|
62
|
+
export { ClientOnly, 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, isHanzoguiComponent, isHanzoguiElement, 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 };
|
|
44
63
|
//# sourceMappingURL=index.mjs.map
|
package/dist/jsx/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["ClientOnly","Configuration","ComponentContext","GroupContext","FontLanguage","Theme","View","createComponent","createFont","createShorthands","createStyledContext","createTokens","createVariable","getConfig","getMedia","getCSSStylesAtomic","getThemes","getToken","getTokenValue","getTokens","getVariable","getVariableName","getVariableValue","insertFont","setConfig","setupDev","_withStableStyle","isBrowser","isChrome","isClient","isServer","isHanzoguiComponent","isHanzoguiElement","isTouchable","isVariable","isWeb","isWebTouchable","matchMedia","mediaObjectToString","mediaQueryConfig","mediaState","setOnLayoutStrategy","styled","themeable","useClientValue","useDidFinishSSR","useEvent","useGet","useIsTouchDevice","useIsomorphicLayoutEffect","useMedia","useProps","usePropsAndStyle","useStyle","useConfiguration","useTheme","useThemeName","variableToString","withStaticProperties"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAEA,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;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;AAEd,cAAc;AAEd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAyEd,SACEA,UAAA,EACAC,aAAA,EACAC,gBAAA,EACAC,YAAA,EACAC,YAAA,EAEAC,KAAA,EACAC,IAAA,EACAC,eAAA,EACAC,UAAA,EACAC,gBAAA,EACAC,mBAAA,EACAC,YAAA,EACAC,cAAA,EACAC,SAAA,EACAC,QAAA,EACAC,kBAAA,EACAC,SAAA,EACAC,QAAA,EACAC,aAAA,EACAC,SAAA,EACAC,WAAA,EACAC,eAAA,EACAC,gBAAA,EACAC,UAAA,EACAC,SAAA,EACAC,QAAA,EACAC,gBAAA,EAEAC,SAAA,EACAC,QAAA,EACAC,QAAA,EACAC,QAAA,EACAC,mBAAA,EACAC,iBAAA,EACAC,WAAA,EACAC,UAAA,EACAC,KAAA,EACAC,cAAA,EACAC,UAAA,EACAC,mBAAA,EACAC,gBAAA,EACAC,UAAA,EACAC,mBAAA,EACAC,MAAA,EACAC,SAAA,EAEAC,cAAA,EACAC,eAAA,EACAC,QAAA,EACAC,MAAA,EACAC,gBAAA,EACAC,yBAAA,EACAC,QAAA,EACAC,QAAA,EACAC,gBAAA,EACAC,QAAA,EACAC,gBAAA,EACAC,QAAA,EACAC,YAAA,EACAC,gBAAA,EACAC,oBAAA,QACK","ignoreList":[]}
|
package/dist/jsx/index.native.js
CHANGED
|
@@ -25,56 +25,127 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
25
25
|
}), mod);
|
|
26
26
|
var index_exports = {};
|
|
27
27
|
__export(index_exports, {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
ClientOnly: () => import_core.ClientOnly,
|
|
29
|
+
ComponentContext: () => import_core.ComponentContext,
|
|
30
|
+
Configuration: () => import_core.Configuration,
|
|
31
|
+
FontLanguage: () => import_core.FontLanguage,
|
|
32
|
+
GroupContext: () => import_core.GroupContext,
|
|
33
|
+
Theme: () => import_core.Theme,
|
|
34
|
+
View: () => import_core.View,
|
|
35
|
+
_withStableStyle: () => import_core._withStableStyle,
|
|
36
|
+
createComponent: () => import_core.createComponent,
|
|
37
|
+
createFont: () => import_core.createFont,
|
|
38
|
+
createShorthands: () => import_core.createShorthands,
|
|
39
|
+
createStyledContext: () => import_core.createStyledContext,
|
|
40
|
+
createTokens: () => import_core.createTokens,
|
|
41
|
+
createVariable: () => import_core.createVariable,
|
|
42
|
+
getCSSStylesAtomic: () => import_core.getCSSStylesAtomic,
|
|
43
|
+
getConfig: () => import_core.getConfig,
|
|
44
|
+
getMedia: () => import_core.getMedia,
|
|
45
|
+
getThemes: () => import_core.getThemes,
|
|
46
|
+
getToken: () => import_core.getToken,
|
|
47
|
+
getTokenValue: () => import_core.getTokenValue,
|
|
48
|
+
getTokens: () => import_core.getTokens,
|
|
49
|
+
getVariable: () => import_core.getVariable,
|
|
50
|
+
getVariableName: () => import_core.getVariableName,
|
|
51
|
+
getVariableValue: () => import_core.getVariableValue,
|
|
52
|
+
insertFont: () => import_core.insertFont,
|
|
53
|
+
isBrowser: () => import_core.isBrowser,
|
|
54
|
+
isChrome: () => import_core.isChrome,
|
|
55
|
+
isClient: () => import_core.isClient,
|
|
56
|
+
isHanzoguiComponent: () => import_core.isHanzoguiComponent,
|
|
57
|
+
isHanzoguiElement: () => import_core.isHanzoguiElement,
|
|
58
|
+
isServer: () => import_core.isServer,
|
|
59
|
+
isTouchable: () => import_core.isTouchable,
|
|
60
|
+
isVariable: () => import_core.isVariable,
|
|
61
|
+
isWeb: () => import_core.isWeb,
|
|
62
|
+
isWebTouchable: () => import_core.isWebTouchable,
|
|
63
|
+
matchMedia: () => import_core.matchMedia,
|
|
64
|
+
mediaObjectToString: () => import_core.mediaObjectToString,
|
|
65
|
+
mediaQueryConfig: () => import_core.mediaQueryConfig,
|
|
66
|
+
mediaState: () => import_core.mediaState,
|
|
67
|
+
setConfig: () => import_core.setConfig,
|
|
68
|
+
setOnLayoutStrategy: () => import_core.setOnLayoutStrategy,
|
|
69
|
+
setupDev: () => import_core.setupDev,
|
|
70
|
+
styled: () => import_core.styled,
|
|
71
|
+
themeable: () => import_core.themeable,
|
|
72
|
+
useClientValue: () => import_core.useClientValue,
|
|
73
|
+
useConfiguration: () => import_core.useConfiguration,
|
|
74
|
+
useDidFinishSSR: () => import_core.useDidFinishSSR,
|
|
75
|
+
useEvent: () => import_core.useEvent,
|
|
76
|
+
useGet: () => import_core.useGet,
|
|
77
|
+
useIsTouchDevice: () => import_core.useIsTouchDevice,
|
|
78
|
+
useIsomorphicLayoutEffect: () => import_core.useIsomorphicLayoutEffect,
|
|
79
|
+
useMedia: () => import_core.useMedia,
|
|
80
|
+
useProps: () => import_core.useProps,
|
|
81
|
+
usePropsAndStyle: () => import_core.usePropsAndStyle,
|
|
82
|
+
useStyle: () => import_core.useStyle,
|
|
83
|
+
useTheme: () => import_core.useTheme,
|
|
84
|
+
useThemeName: () => import_core.useThemeName,
|
|
85
|
+
variableToString: () => import_core.variableToString,
|
|
86
|
+
withStaticProperties: () => import_core.withStaticProperties
|
|
35
87
|
});
|
|
36
88
|
module.exports = __toCommonJS(index_exports);
|
|
37
89
|
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
90
|
__reExport(index_exports, require("@hanzogui/spacer"), module.exports);
|
|
91
|
+
__reExport(index_exports, require("@hanzogui/accordion"), module.exports);
|
|
92
|
+
__reExport(index_exports, require("@hanzogui/adapt"), module.exports);
|
|
93
|
+
__reExport(index_exports, require("@hanzogui/alert-dialog"), module.exports);
|
|
94
|
+
__reExport(index_exports, require("@hanzogui/animate"), module.exports);
|
|
42
95
|
__reExport(index_exports, require("@hanzogui/animate-presence"), module.exports);
|
|
96
|
+
__reExport(index_exports, require("@hanzogui/avatar"), module.exports);
|
|
43
97
|
__reExport(index_exports, require("@hanzogui/button"), module.exports);
|
|
44
|
-
__reExport(index_exports, require("@hanzogui/
|
|
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);
|
|
98
|
+
__reExport(index_exports, require("@hanzogui/card"), module.exports);
|
|
48
99
|
__reExport(index_exports, require("@hanzogui/checkbox"), module.exports);
|
|
100
|
+
__reExport(index_exports, require("@hanzogui/collapsible"), module.exports);
|
|
101
|
+
__reExport(index_exports, require("@hanzogui/compose-refs"), module.exports);
|
|
102
|
+
__reExport(index_exports, require("@hanzogui/create-context"), module.exports);
|
|
49
103
|
__reExport(index_exports, require("@hanzogui/dialog"), module.exports);
|
|
50
|
-
__reExport(index_exports, require("@hanzogui/
|
|
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);
|
|
104
|
+
__reExport(index_exports, require("@hanzogui/font-size"), module.exports);
|
|
62
105
|
__reExport(index_exports, require("@hanzogui/form"), module.exports);
|
|
63
106
|
__reExport(index_exports, require("@hanzogui/group"), module.exports);
|
|
107
|
+
__reExport(index_exports, require("@hanzogui/react-native-media-driver"), module.exports);
|
|
108
|
+
__reExport(index_exports, require("@hanzogui/elements"), module.exports);
|
|
109
|
+
__reExport(index_exports, require("@hanzogui/component-helpers"), module.exports);
|
|
64
110
|
__reExport(index_exports, require("@hanzogui/image"), module.exports);
|
|
111
|
+
__reExport(index_exports, require("@hanzogui/label"), module.exports);
|
|
65
112
|
__reExport(index_exports, require("@hanzogui/list-item"), module.exports);
|
|
113
|
+
__reExport(index_exports, require("@hanzogui/menu"), module.exports);
|
|
114
|
+
__reExport(index_exports, require("@hanzogui/context-menu"), module.exports);
|
|
115
|
+
__reExport(index_exports, require("@hanzogui/create-menu"), module.exports);
|
|
116
|
+
__reExport(index_exports, require("@hanzogui/popover"), module.exports);
|
|
117
|
+
__reExport(index_exports, require("@hanzogui/popper"), module.exports);
|
|
66
118
|
__reExport(index_exports, require("@hanzogui/portal"), module.exports);
|
|
67
119
|
__reExport(index_exports, require("@hanzogui/progress"), module.exports);
|
|
120
|
+
__reExport(index_exports, require("@hanzogui/radio-group"), module.exports);
|
|
68
121
|
__reExport(index_exports, require("@hanzogui/scroll-view"), module.exports);
|
|
69
|
-
__reExport(index_exports, require("@hanzogui/
|
|
122
|
+
__reExport(index_exports, require("@hanzogui/select"), module.exports);
|
|
123
|
+
__reExport(index_exports, require("@hanzogui/separator"), module.exports);
|
|
124
|
+
__reExport(index_exports, require("@hanzogui/shapes"), module.exports);
|
|
125
|
+
__reExport(index_exports, require("@hanzogui/sheet"), module.exports);
|
|
126
|
+
__reExport(index_exports, require("@hanzogui/slider"), module.exports);
|
|
127
|
+
__reExport(index_exports, require("@hanzogui/stacks"), module.exports);
|
|
128
|
+
__reExport(index_exports, require("@hanzogui/switch"), module.exports);
|
|
129
|
+
__reExport(index_exports, require("@hanzogui/tabs"), module.exports);
|
|
70
130
|
__reExport(index_exports, require("@hanzogui/text"), module.exports);
|
|
131
|
+
__reExport(index_exports, require("@hanzogui/theme"), module.exports);
|
|
71
132
|
__reExport(index_exports, require("@hanzogui/toast"), module.exports);
|
|
133
|
+
__reExport(index_exports, require("@hanzogui/toggle-group"), module.exports);
|
|
134
|
+
__reExport(index_exports, require("@hanzogui/tooltip"), module.exports);
|
|
135
|
+
__reExport(index_exports, require("@hanzogui/use-controllable-state"), module.exports);
|
|
136
|
+
__reExport(index_exports, require("@hanzogui/use-debounce"), module.exports);
|
|
137
|
+
__reExport(index_exports, require("@hanzogui/use-force-update"), module.exports);
|
|
138
|
+
__reExport(index_exports, require("@hanzogui/element"), module.exports);
|
|
139
|
+
__reExport(index_exports, require("@hanzogui/use-window-dimensions"), module.exports);
|
|
72
140
|
__reExport(index_exports, require("@hanzogui/visually-hidden"), module.exports);
|
|
73
|
-
__reExport(index_exports, require("
|
|
74
|
-
__reExport(index_exports, require("
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
141
|
+
__reExport(index_exports, require("./createHanzogui.native.js"), module.exports);
|
|
142
|
+
__reExport(index_exports, require("./viewTypes.native.js"), module.exports);
|
|
143
|
+
__reExport(index_exports, require("./views/HanzoguiProvider.native.js"), module.exports);
|
|
144
|
+
__reExport(index_exports, require("./views/Anchor.native.js"), module.exports);
|
|
145
|
+
__reExport(index_exports, require("./views/EnsureFlexed.native.js"), module.exports);
|
|
146
|
+
__reExport(index_exports, require("./views/Fieldset.native.js"), module.exports);
|
|
147
|
+
__reExport(index_exports, require("@hanzogui/input"), module.exports);
|
|
148
|
+
__reExport(index_exports, require("@hanzogui/spinner"), module.exports);
|
|
149
|
+
__reExport(index_exports, require("./views/Text.native.js"), module.exports);
|
|
150
|
+
var import_core = require("@hanzogui/core");
|
|
80
151
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","index_exports","
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","index_exports","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","isHanzoguiComponent","isHanzoguiElement","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"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,YAAO;;AAEP,IAAAA,SAAA,GAAcC,MAAA,CAAAC,cAAA;AACd,IAAAC,gBAAc,GAAAF,MAAA,CAAAG,wBAAA;AACd,IAAAC,iBAAc,GAAAJ,MAAA,CAAAK,mBAAA;AACd,IAAAC,YAAc,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AACd,IAAAC,QAAA,GAAcA,CAAAC,MAAA,EAAAC,GAAA;EACd,SAAAC,IAAc,IAAAD,GAAA,EACdZ,SAAA,CAAcW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AACd;AACA,IAAAC,WAAc,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EACd,IAAAF,IAAA,IAAc,OAAAA,IAAA,wBAAAA,IAAA;IACd,SAAAG,GAAc,IAAAhB,iBAAA,CAAAa,IAAA,GACd,KAAAX,YAAc,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,EACdnB,SAAc,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;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AnE,UACA,CAAAK,aAAA,EAAAgE,OAAA,sBAAAH,MAAA,CAAAC,OAAA;AAAAnE,UACK,CAAAK,aAAA,EAAAgE,OAAA,sBAAAH,MAAA,CAAAC,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["LinearGradient"],"sources":["../../src/linear-gradient.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,cAAA,QAAgD","ignoreList":[]}
|
|
@@ -22,11 +22,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
22
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
23
|
value: true
|
|
24
24
|
}), mod);
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
|
|
25
|
+
var linear_gradient_exports = {};
|
|
26
|
+
__export(linear_gradient_exports, {
|
|
27
|
+
LinearGradient: () => import_linear_gradient.LinearGradient
|
|
28
28
|
});
|
|
29
|
-
module.exports = __toCommonJS(
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
//# sourceMappingURL=GuiProvider.native.js.map
|
|
29
|
+
module.exports = __toCommonJS(linear_gradient_exports);
|
|
30
|
+
var import_linear_gradient = require("@hanzogui/linear-gradient");
|
|
31
|
+
//# sourceMappingURL=linear-gradient.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["../../src/linear-gradient.ts"],"sourcesContent":[null],"mappings":"AAAA,YAAS","ignoreList":[]}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
|
+
import { isWeb } from "@hanzogui/constants";
|
|
1
2
|
import { styled } from "@hanzogui/core";
|
|
2
3
|
import { SizableText } from "@hanzogui/text";
|
|
3
|
-
|
|
4
|
+
import { Linking } from "react-native-web";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
const AnchorFrame = styled(SizableText, {
|
|
4
7
|
name: "Anchor",
|
|
5
|
-
|
|
6
|
-
|
|
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
|
+
});
|
|
7
33
|
});
|
|
8
34
|
export { Anchor };
|
|
9
35
|
//# sourceMappingURL=Anchor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["styled","SizableText","
|
|
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":[]}
|
|
@@ -27,11 +27,39 @@ __export(Anchor_exports, {
|
|
|
27
27
|
Anchor: () => Anchor
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(Anchor_exports);
|
|
30
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
|
+
var import_constants = require("@hanzogui/constants");
|
|
30
32
|
var import_core = require("@hanzogui/core");
|
|
31
33
|
var import_text = require("@hanzogui/text");
|
|
32
|
-
var
|
|
34
|
+
var import_react_native = require("react-native");
|
|
35
|
+
var AnchorFrame = (0, import_core.styled)(import_text.SizableText, {
|
|
33
36
|
name: "Anchor",
|
|
34
|
-
|
|
35
|
-
|
|
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
|
+
});
|
|
36
64
|
});
|
|
37
65
|
//# sourceMappingURL=Anchor.native.js.map
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,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":[]}
|
package/dist/jsx/views/Text.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Text as
|
|
2
|
-
const Text = styled(
|
|
1
|
+
import { Text as HanzoguiText, styled } from "@hanzogui/core";
|
|
2
|
+
const Text = styled(HanzoguiText, {
|
|
3
3
|
variants: {
|
|
4
4
|
unstyled: {
|
|
5
5
|
false: {
|
|
@@ -8,7 +8,7 @@ const Text = styled(GuiText, {
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
defaultVariants: {
|
|
11
|
-
unstyled: process.env.
|
|
11
|
+
unstyled: process.env.HANZOGUI_HEADLESS === "1"
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
export { Text };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Text","
|
|
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":[]}
|