@hanzo/gui 2.0.0 → 2.0.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.
Files changed (68) hide show
  1. package/bundle-native.mjs +1 -1
  2. package/dist/cjs/createGui.cjs +3 -3
  3. package/dist/cjs/createGui.native.js +3 -3
  4. package/dist/cjs/createGui.native.js.map +1 -1
  5. package/dist/cjs/index.cjs +71 -71
  6. package/dist/cjs/index.native.js +71 -71
  7. package/dist/cjs/index.native.js.map +1 -1
  8. package/dist/cjs/setup.cjs +1 -1
  9. package/dist/cjs/setup.native.js +1 -1
  10. package/dist/cjs/setup.native.js.map +1 -1
  11. package/dist/cjs/views/EnsureFlexed.cjs +2 -2
  12. package/dist/cjs/views/EnsureFlexed.native.js +2 -2
  13. package/dist/cjs/views/EnsureFlexed.native.js.map +1 -1
  14. package/dist/cjs/views/GuiProvider.cjs +2 -2
  15. package/dist/cjs/views/GuiProvider.native.js +2 -2
  16. package/dist/cjs/views/GuiProvider.native.js.map +1 -1
  17. package/dist/cjs/views/Text.cjs +2 -2
  18. package/dist/cjs/views/Text.native.js +2 -2
  19. package/dist/cjs/views/Text.native.js.map +1 -1
  20. package/dist/cjs/views/VisuallyHidden.cjs +2 -2
  21. package/dist/cjs/views/VisuallyHidden.native.js +2 -2
  22. package/dist/cjs/views/VisuallyHidden.native.js.map +1 -1
  23. package/dist/esm/createGui.mjs +1 -1
  24. package/dist/esm/createGui.native.js +1 -1
  25. package/dist/esm/index.js +12 -12
  26. package/dist/esm/index.mjs +12 -12
  27. package/dist/esm/index.native.js +12 -12
  28. package/dist/esm/views/EnsureFlexed.mjs +1 -1
  29. package/dist/esm/views/EnsureFlexed.native.js +1 -1
  30. package/dist/esm/views/GuiProvider.mjs +1 -1
  31. package/dist/esm/views/GuiProvider.native.js +1 -1
  32. package/dist/esm/views/Text.mjs +1 -1
  33. package/dist/esm/views/Text.native.js +1 -1
  34. package/dist/esm/views/VisuallyHidden.mjs +1 -1
  35. package/dist/esm/views/VisuallyHidden.native.js +1 -1
  36. package/dist/jsx/createGui.mjs +1 -1
  37. package/dist/jsx/createGui.native.js +3 -3
  38. package/dist/jsx/createGui.native.js.map +1 -1
  39. package/dist/jsx/index.js +12 -12
  40. package/dist/jsx/index.mjs +12 -12
  41. package/dist/jsx/index.native.js +71 -71
  42. package/dist/jsx/index.native.js.map +1 -1
  43. package/dist/jsx/setup.native.js +1 -1
  44. package/dist/jsx/views/EnsureFlexed.mjs +1 -1
  45. package/dist/jsx/views/EnsureFlexed.native.js +2 -2
  46. package/dist/jsx/views/GuiProvider.mjs +1 -1
  47. package/dist/jsx/views/GuiProvider.native.js +2 -2
  48. package/dist/jsx/views/Text.mjs +1 -1
  49. package/dist/jsx/views/Text.native.js +2 -2
  50. package/dist/jsx/views/VisuallyHidden.mjs +1 -1
  51. package/dist/jsx/views/VisuallyHidden.native.js +2 -2
  52. package/dist/jsx/views/VisuallyHidden.native.js.map +1 -1
  53. package/gui.config.ts +2 -2
  54. package/package.json +20 -20
  55. package/src/createGui.ts +1 -1
  56. package/src/index.ts +13 -13
  57. package/src/setup.ts +1 -1
  58. package/src/views/EnsureFlexed.tsx +1 -1
  59. package/src/views/GuiProvider.tsx +2 -2
  60. package/src/views/Text.tsx +1 -1
  61. package/src/views/VisuallyHidden.tsx +1 -1
  62. package/types/createGui.d.ts +1 -1
  63. package/types/index.d.ts +13 -13
  64. package/types/setup.d.ts +1 -1
  65. package/types/views/EnsureFlexed.d.ts +1 -1
  66. package/types/views/GuiProvider.d.ts +1 -1
  67. package/types/views/Text.d.ts +2 -2
  68. 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.0",
3
+ "version": "2.0.2",
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
- "@hanzo/gui-compose-refs": "workspace:*",
81
- "@hanzo/gui-constants": "workspace:*",
82
- "@hanzo/gui-core": "workspace:*",
83
- "@hanzo/gui-create-context": "workspace:*",
84
- "@hanzo/gui-element": "workspace:*",
85
- "@hanzo/gui-fake-react-native": "workspace:*",
86
- "@hanzo/gui-get-button-sized": "workspace:*",
87
- "@hanzo/gui-get-font-sized": "workspace:*",
88
- "@hanzo/gui-get-token": "workspace:*",
89
- "@hanzo/gui-helpers": "workspace:*",
90
- "@hanzo/gui-polyfill-dev": "workspace:*",
91
- "@hanzo/gui-react-native-media-driver": "workspace:*",
92
- "@hanzo/gui-theme": "workspace:*",
93
- "@hanzo/gui-use-controllable-state": "workspace:*",
94
- "@hanzo/gui-use-debounce": "workspace:*",
95
- "@hanzo/gui-use-force-update": "workspace:*",
96
- "@hanzo/gui-use-window-dimensions": "workspace:*",
97
- "@hanzo/gui-font-size": "workspace:*"
80
+ "@hanzogui/compose-refs": "2.0.1",
81
+ "@hanzogui/constants": "2.0.1",
82
+ "@hanzogui/core": "2.0.1",
83
+ "@hanzogui/create-context": "2.0.1",
84
+ "@hanzogui/element": "2.0.1",
85
+ "@hanzogui/fake-react-native": "2.0.1",
86
+ "@hanzogui/get-button-sized": "2.0.1",
87
+ "@hanzogui/get-font-sized": "2.0.1",
88
+ "@hanzogui/get-token": "2.0.1",
89
+ "@hanzogui/helpers": "2.0.1",
90
+ "@hanzogui/polyfill-dev": "2.0.1",
91
+ "@hanzogui/react-native-media-driver": "2.0.1",
92
+ "@hanzogui/theme": "2.0.1",
93
+ "@hanzogui/use-controllable-state": "2.0.1",
94
+ "@hanzogui/use-debounce": "2.0.1",
95
+ "@hanzogui/use-force-update": "2.0.1",
96
+ "@hanzogui/use-window-dimensions": "2.0.1",
97
+ "@hanzogui/font-size": "2.0.1"
98
98
  },
99
99
  "devDependencies": {
100
- "@hanzo/gui-build": "workspace:*",
100
+ "@hanzogui/build": "2.0.1",
101
101
  "react": ">=19",
102
102
  "react-native": "0.83.2",
103
103
  "react-native-web": "^0.21.0"
package/src/createGui.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { createGui as createGuiCore } from '@hanzo/gui-core'
1
+ import { createGui as createGuiCore } from '@hanzogui/core'
2
2
 
3
3
  /**
4
4
  * Adds some helpful validation at dev time only for `gui` specifically
package/src/index.ts CHANGED
@@ -1,16 +1,16 @@
1
1
  import './setup'
2
2
 
3
- export * from '@hanzo/gui-compose-refs'
4
- export * from '@hanzo/gui-create-context'
5
- export * from '@hanzo/gui-font-size'
6
- export * from '@hanzo/gui-react-native-media-driver'
7
- export * from '@hanzo/gui-helpers'
8
- export * from '@hanzo/gui-theme'
9
- export * from '@hanzo/gui-use-controllable-state'
10
- export * from '@hanzo/gui-use-debounce'
11
- export * from '@hanzo/gui-use-force-update'
12
- export * from '@hanzo/gui-element'
13
- export * from '@hanzo/gui-use-window-dimensions'
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 '@hanzo/gui-core'
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 '@hanzo/gui-core'
157
+ } from '@hanzogui/core'
package/src/setup.ts CHANGED
@@ -1,4 +1,4 @@
1
- import '@hanzo/gui-polyfill-dev'
1
+ import '@hanzogui/polyfill-dev'
2
2
 
3
3
  import * as React from 'react'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Text, styled } from '@hanzo/gui-core'
1
+ import { Text, styled } from '@hanzogui/core'
2
2
 
3
3
  // expands flex elements when they should push a far as they "want" naturally
4
4
 
@@ -1,5 +1,5 @@
1
- import type { GuiProviderProps } from '@hanzo/gui-core'
2
- import { GuiProvider as CoreGuiProvider } from '@hanzo/gui-core'
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 }
@@ -1,4 +1,4 @@
1
- import { Text as GuiText, styled } from '@hanzo/gui-core'
1
+ import { Text as GuiText, styled } from '@hanzogui/core'
2
2
 
3
3
  export const Text = styled(GuiText, {
4
4
  variants: {
@@ -1,4 +1,4 @@
1
- import { View, styled } from '@hanzo/gui-core'
1
+ import { View, styled } from '@hanzogui/core'
2
2
 
3
3
  export const VisuallyHidden = styled(View, {
4
4
  position: 'absolute',
@@ -1,4 +1,4 @@
1
- import { createGui as createGuiCore } from '@hanzo/gui-core';
1
+ import { createGui as createGuiCore } from '@hanzogui/core';
2
2
  /**
3
3
  * Adds some helpful validation at dev time only for `gui` specifically
4
4
  **/
package/types/index.d.ts CHANGED
@@ -1,20 +1,20 @@
1
1
  import './setup';
2
- export * from '@hanzo/gui-compose-refs';
3
- export * from '@hanzo/gui-create-context';
4
- export * from '@hanzo/gui-font-size';
5
- export * from '@hanzo/gui-react-native-media-driver';
6
- export * from '@hanzo/gui-helpers';
7
- export * from '@hanzo/gui-theme';
8
- export * from '@hanzo/gui-use-controllable-state';
9
- export * from '@hanzo/gui-use-debounce';
10
- export * from '@hanzo/gui-use-force-update';
11
- export * from '@hanzo/gui-element';
12
- export * from '@hanzo/gui-use-window-dimensions';
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 '@hanzo/gui-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 '@hanzo/gui-core';
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 '@hanzo/gui-polyfill-dev';
1
+ import '@hanzogui/polyfill-dev';
2
2
  //# sourceMappingURL=setup.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare const EnsureFlexed: import("@hanzo/gui-core").GuiComponent<import("@hanzo/gui-core").TamaDefer, import("@hanzo/gui-core").GuiTextElement, import("@hanzo/gui-core").RNGuiTextNonStyleProps, import("@hanzo/gui-core").TextStylePropsBase, {}, import("@hanzo/gui-core").StaticConfigPublic>;
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 '@hanzo/gui-core';
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
@@ -1,4 +1,4 @@
1
- export declare const Text: import("@hanzo/gui-core").GuiComponent<import("@hanzo/gui-core").TamaDefer, import("@hanzo/gui-core").GuiTextElement, import("@hanzo/gui-core").RNGuiTextNonStyleProps, import("@hanzo/gui-core").TextStylePropsBase, {
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("@hanzo/gui-core").StaticConfigPublic>;
3
+ }, import("@hanzogui/core").StaticConfigPublic>;
4
4
  //# sourceMappingURL=Text.d.ts.map
@@ -1,5 +1,5 @@
1
- export declare const VisuallyHidden: import("@hanzo/gui-core").GuiComponent<import("@hanzo/gui-core").TamaDefer, import("@hanzo/gui-core").GuiElement, import("@hanzo/gui-core").RNGuiViewNonStyleProps, import("@hanzo/gui-core").StackStyleBase, {
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("@hanzo/gui-core").StaticConfigPublic>;
4
+ }, import("@hanzogui/core").StaticConfigPublic>;
5
5
  //# sourceMappingURL=VisuallyHidden.d.ts.map