@hanzo/gui 2.0.0 → 2.0.1
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/bundle-native.mjs +1 -1
- package/dist/cjs/createGui.cjs +3 -3
- package/dist/cjs/createGui.native.js +3 -3
- package/dist/cjs/createGui.native.js.map +1 -1
- package/dist/cjs/index.cjs +71 -71
- package/dist/cjs/index.native.js +71 -71
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/setup.cjs +1 -1
- package/dist/cjs/setup.native.js +1 -1
- package/dist/cjs/setup.native.js.map +1 -1
- package/dist/cjs/views/EnsureFlexed.cjs +2 -2
- package/dist/cjs/views/EnsureFlexed.native.js +2 -2
- package/dist/cjs/views/EnsureFlexed.native.js.map +1 -1
- package/dist/cjs/views/GuiProvider.cjs +2 -2
- package/dist/cjs/views/GuiProvider.native.js +2 -2
- package/dist/cjs/views/GuiProvider.native.js.map +1 -1
- package/dist/cjs/views/Text.cjs +2 -2
- package/dist/cjs/views/Text.native.js +2 -2
- package/dist/cjs/views/Text.native.js.map +1 -1
- package/dist/cjs/views/VisuallyHidden.cjs +2 -2
- package/dist/cjs/views/VisuallyHidden.native.js +2 -2
- package/dist/cjs/views/VisuallyHidden.native.js.map +1 -1
- package/dist/esm/createGui.mjs +1 -1
- package/dist/esm/createGui.native.js +1 -1
- package/dist/esm/index.js +12 -12
- package/dist/esm/index.mjs +12 -12
- package/dist/esm/index.native.js +12 -12
- package/dist/esm/views/EnsureFlexed.mjs +1 -1
- package/dist/esm/views/EnsureFlexed.native.js +1 -1
- package/dist/esm/views/GuiProvider.mjs +1 -1
- package/dist/esm/views/GuiProvider.native.js +1 -1
- package/dist/esm/views/Text.mjs +1 -1
- package/dist/esm/views/Text.native.js +1 -1
- package/dist/esm/views/VisuallyHidden.mjs +1 -1
- package/dist/esm/views/VisuallyHidden.native.js +1 -1
- package/dist/jsx/createGui.mjs +1 -1
- package/dist/jsx/createGui.native.js +3 -3
- package/dist/jsx/createGui.native.js.map +1 -1
- package/dist/jsx/index.js +12 -12
- package/dist/jsx/index.mjs +12 -12
- package/dist/jsx/index.native.js +71 -71
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/setup.native.js +1 -1
- package/dist/jsx/views/EnsureFlexed.mjs +1 -1
- package/dist/jsx/views/EnsureFlexed.native.js +2 -2
- package/dist/jsx/views/GuiProvider.mjs +1 -1
- package/dist/jsx/views/GuiProvider.native.js +2 -2
- package/dist/jsx/views/Text.mjs +1 -1
- package/dist/jsx/views/Text.native.js +2 -2
- package/dist/jsx/views/VisuallyHidden.mjs +1 -1
- package/dist/jsx/views/VisuallyHidden.native.js +2 -2
- package/dist/jsx/views/VisuallyHidden.native.js.map +1 -1
- package/gui.config.ts +2 -2
- package/package.json +20 -20
- package/src/createGui.ts +1 -1
- package/src/index.ts +13 -13
- package/src/setup.ts +1 -1
- package/src/views/EnsureFlexed.tsx +1 -1
- package/src/views/GuiProvider.tsx +2 -2
- package/src/views/Text.tsx +1 -1
- package/src/views/VisuallyHidden.tsx +1 -1
- package/types/createGui.d.ts +1 -1
- package/types/index.d.ts +13 -13
- package/types/setup.d.ts +1 -1
- package/types/views/EnsureFlexed.d.ts +1 -1
- package/types/views/GuiProvider.d.ts +1 -1
- package/types/views/Text.d.ts +2 -2
- package/types/views/VisuallyHidden.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/gui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"description": "Style and UI for React (web and native) meet an optimizing compiler",
|
|
6
6
|
"repository": {
|
|
@@ -77,27 +77,27 @@
|
|
|
77
77
|
"check-circular-deps": "npx madge --circular ./src/index.ts"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"@
|
|
86
|
-
"@
|
|
87
|
-
"@
|
|
88
|
-
"@
|
|
89
|
-
"@
|
|
90
|
-
"@
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"@
|
|
95
|
-
"@
|
|
96
|
-
"@
|
|
97
|
-
"@
|
|
80
|
+
"@hanzogui/compose-refs": "2.0.0",
|
|
81
|
+
"@hanzogui/constants": "2.0.0",
|
|
82
|
+
"@hanzogui/core": "2.0.0",
|
|
83
|
+
"@hanzogui/create-context": "2.0.0",
|
|
84
|
+
"@hanzogui/element": "2.0.0",
|
|
85
|
+
"@hanzogui/fake-react-native": "2.0.0",
|
|
86
|
+
"@hanzogui/get-button-sized": "2.0.0",
|
|
87
|
+
"@hanzogui/get-font-sized": "2.0.0",
|
|
88
|
+
"@hanzogui/get-token": "2.0.0",
|
|
89
|
+
"@hanzogui/helpers": "2.0.0",
|
|
90
|
+
"@hanzogui/polyfill-dev": "2.0.0",
|
|
91
|
+
"@hanzogui/react-native-media-driver": "2.0.0",
|
|
92
|
+
"@hanzogui/theme": "2.0.0",
|
|
93
|
+
"@hanzogui/use-controllable-state": "2.0.0",
|
|
94
|
+
"@hanzogui/use-debounce": "2.0.0",
|
|
95
|
+
"@hanzogui/use-force-update": "2.0.0",
|
|
96
|
+
"@hanzogui/use-window-dimensions": "2.0.0",
|
|
97
|
+
"@hanzogui/font-size": "2.0.0"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@
|
|
100
|
+
"@hanzogui/build": "2.0.0",
|
|
101
101
|
"react": ">=19",
|
|
102
102
|
"react-native": "0.83.2",
|
|
103
103
|
"react-native-web": "^0.21.0"
|
package/src/createGui.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import './setup'
|
|
2
2
|
|
|
3
|
-
export * from '@
|
|
4
|
-
export * from '@
|
|
5
|
-
export * from '@
|
|
6
|
-
export * from '@
|
|
7
|
-
export * from '@
|
|
8
|
-
export * from '@
|
|
9
|
-
export * from '@
|
|
10
|
-
export * from '@
|
|
11
|
-
export * from '@
|
|
12
|
-
export * from '@
|
|
13
|
-
export * from '@
|
|
3
|
+
export * from '@hanzogui/compose-refs'
|
|
4
|
+
export * from '@hanzogui/create-context'
|
|
5
|
+
export * from '@hanzogui/font-size'
|
|
6
|
+
export * from '@hanzogui/react-native-media-driver'
|
|
7
|
+
export * from '@hanzogui/helpers'
|
|
8
|
+
export * from '@hanzogui/theme'
|
|
9
|
+
export * from '@hanzogui/use-controllable-state'
|
|
10
|
+
export * from '@hanzogui/use-debounce'
|
|
11
|
+
export * from '@hanzogui/use-force-update'
|
|
12
|
+
export * from '@hanzogui/element'
|
|
13
|
+
export * from '@hanzogui/use-window-dimensions'
|
|
14
14
|
|
|
15
15
|
export * from './createGui'
|
|
16
16
|
|
|
@@ -89,7 +89,7 @@ export type {
|
|
|
89
89
|
ZIndexTokens,
|
|
90
90
|
ViewStyle,
|
|
91
91
|
TextStyle,
|
|
92
|
-
} from '@
|
|
92
|
+
} from '@hanzogui/core'
|
|
93
93
|
|
|
94
94
|
export {
|
|
95
95
|
ClientOnly,
|
|
@@ -154,4 +154,4 @@ export {
|
|
|
154
154
|
useThemeName,
|
|
155
155
|
variableToString,
|
|
156
156
|
withStaticProperties,
|
|
157
|
-
} from '@
|
|
157
|
+
} from '@hanzogui/core'
|
package/src/setup.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { GuiProviderProps } from '@
|
|
2
|
-
import { GuiProvider as CoreGuiProvider } from '@
|
|
1
|
+
import type { GuiProviderProps } from '@hanzogui/core'
|
|
2
|
+
import { GuiProvider as CoreGuiProvider } from '@hanzogui/core'
|
|
3
3
|
|
|
4
4
|
export const GuiProvider = CoreGuiProvider
|
|
5
5
|
export type { GuiProviderProps }
|
package/src/views/Text.tsx
CHANGED
package/types/createGui.d.ts
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import './setup';
|
|
2
|
-
export * from '@
|
|
3
|
-
export * from '@
|
|
4
|
-
export * from '@
|
|
5
|
-
export * from '@
|
|
6
|
-
export * from '@
|
|
7
|
-
export * from '@
|
|
8
|
-
export * from '@
|
|
9
|
-
export * from '@
|
|
10
|
-
export * from '@
|
|
11
|
-
export * from '@
|
|
12
|
-
export * from '@
|
|
2
|
+
export * from '@hanzogui/compose-refs';
|
|
3
|
+
export * from '@hanzogui/create-context';
|
|
4
|
+
export * from '@hanzogui/font-size';
|
|
5
|
+
export * from '@hanzogui/react-native-media-driver';
|
|
6
|
+
export * from '@hanzogui/helpers';
|
|
7
|
+
export * from '@hanzogui/theme';
|
|
8
|
+
export * from '@hanzogui/use-controllable-state';
|
|
9
|
+
export * from '@hanzogui/use-debounce';
|
|
10
|
+
export * from '@hanzogui/use-force-update';
|
|
11
|
+
export * from '@hanzogui/element';
|
|
12
|
+
export * from '@hanzogui/use-window-dimensions';
|
|
13
13
|
export * from './createGui';
|
|
14
14
|
export * from './viewTypes';
|
|
15
15
|
export * from './views/GuiProvider';
|
|
16
16
|
export * from './views/EnsureFlexed';
|
|
17
17
|
export * from './views/Text';
|
|
18
|
-
export type { TransitionKeys, TransitionProp, ColorTokens, CreateGuiConfig, CreateGuiProps, FontColorTokens, FontLanguages, FontLetterSpacingTokens, FontLineHeightTokens, FontFamilyTokens, FontSizeTokens, FontStyleTokens, FontTokens, FontTransformTokens, FontWeightTokens, GenericFont, GenericStackVariants, GenericGuiConfig, GenericTextVariants, GetAnimationKeys, GetProps, GetRef, GetThemeValueForKey, GroupNames, Longhands, Media, MediaPropKeys, MediaQueries, MediaQueryState, RadiusTokens, Shorthands, SizeTokens, SpaceTokens, SpecificTokens, StackNonStyleProps, ViewProps, StaticConfig, Styleable, GuiBaseTheme, GuiBuildOptions, GuiComponent, GuiConfig, GuiCustomConfig, GuiElement, GuiInternalConfig, GuiProviderProps, GuiSettings, GuiTextElement, TextNonStyleProps, TextProps, ThemeKeys, ThemeName, ThemeParsed, ThemeProps, Themes, ThemeTokens, ThemeValueFallback, Token, Tokens, TypeOverride, Variable, VariantSpreadExtras, VariantSpreadFunction, ZIndexTokens, ViewStyle, TextStyle, } from '@
|
|
19
|
-
export { 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, isGuiComponent, isGuiElement, 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 '@
|
|
18
|
+
export type { TransitionKeys, TransitionProp, ColorTokens, CreateGuiConfig, CreateGuiProps, FontColorTokens, FontLanguages, FontLetterSpacingTokens, FontLineHeightTokens, FontFamilyTokens, FontSizeTokens, FontStyleTokens, FontTokens, FontTransformTokens, FontWeightTokens, GenericFont, GenericStackVariants, GenericGuiConfig, GenericTextVariants, GetAnimationKeys, GetProps, GetRef, GetThemeValueForKey, GroupNames, Longhands, Media, MediaPropKeys, MediaQueries, MediaQueryState, RadiusTokens, Shorthands, SizeTokens, SpaceTokens, SpecificTokens, StackNonStyleProps, ViewProps, StaticConfig, Styleable, GuiBaseTheme, GuiBuildOptions, GuiComponent, GuiConfig, GuiCustomConfig, GuiElement, GuiInternalConfig, GuiProviderProps, GuiSettings, GuiTextElement, TextNonStyleProps, TextProps, ThemeKeys, ThemeName, ThemeParsed, ThemeProps, Themes, ThemeTokens, ThemeValueFallback, Token, Tokens, TypeOverride, Variable, VariantSpreadExtras, VariantSpreadFunction, ZIndexTokens, ViewStyle, TextStyle, } from '@hanzogui/core';
|
|
19
|
+
export { 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, isGuiComponent, isGuiElement, 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';
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
package/types/setup.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@
|
|
1
|
+
import '@hanzogui/polyfill-dev';
|
|
2
2
|
//# sourceMappingURL=setup.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const EnsureFlexed: import("@
|
|
1
|
+
export declare const EnsureFlexed: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiTextElement, import("@hanzogui/core").RNGuiTextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {}, import("@hanzogui/core").StaticConfigPublic>;
|
|
2
2
|
//# sourceMappingURL=EnsureFlexed.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GuiProviderProps } from '@
|
|
1
|
+
import type { GuiProviderProps } from '@hanzogui/core';
|
|
2
2
|
export declare const GuiProvider: (props: GuiProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export type { GuiProviderProps };
|
|
4
4
|
//# sourceMappingURL=GuiProvider.d.ts.map
|
package/types/views/Text.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Text: import("@
|
|
1
|
+
export declare const Text: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiTextElement, import("@hanzogui/core").RNGuiTextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
|
|
2
2
|
unstyled?: boolean | undefined;
|
|
3
|
-
}, import("@
|
|
3
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
4
4
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const VisuallyHidden: import("@
|
|
1
|
+
export declare const VisuallyHidden: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
2
2
|
visible?: boolean | undefined;
|
|
3
3
|
preserveDimensions?: boolean | undefined;
|
|
4
|
-
}, import("@
|
|
4
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
5
5
|
//# sourceMappingURL=VisuallyHidden.d.ts.map
|