@hanzogui/button 2.0.0 → 2.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/button",
3
- "version": "2.0.0",
3
+ "version": "2.0.4",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "source": "src/index.ts",
6
6
  "files": [
@@ -37,18 +37,18 @@
37
37
  "clean:build": "hanzo-gui-build clean:build"
38
38
  },
39
39
  "dependencies": {
40
- "@hanzogui/config-default": "2.0.0-rc.29",
41
- "@hanzogui/core": "2.0.0-rc.29",
42
- "@hanzogui/get-button-sized": "2.0.0-rc.29",
43
- "@hanzogui/helpers": "2.0.0-rc.29",
44
- "@hanzogui/spacer": "2.0.0",
45
- "@hanzogui/stacks": "2.0.0",
46
- "@hanzogui/text": "2.0.0",
47
- "@hanzogui/font-size": "2.0.0-rc.29",
48
- "@hanzogui/web": "2.0.0-rc.29"
40
+ "@hanzogui/config-default": "2.0.1",
41
+ "@hanzogui/core": "2.0.1",
42
+ "@hanzogui/get-button-sized": "2.0.1",
43
+ "@hanzogui/helpers": "2.0.1",
44
+ "@hanzogui/spacer": "2.0.1",
45
+ "@hanzogui/stacks": "2.0.1",
46
+ "@hanzogui/text": "2.0.1",
47
+ "@hanzogui/font-size": "2.0.1",
48
+ "@hanzogui/web": "2.0.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@hanzogui/build": "2.0.0-rc.29",
51
+ "@hanzogui/build": "2.0.1",
52
52
  "react": ">=19",
53
53
  "vitest": "4.0.4"
54
54
  },
@@ -1,5 +1,5 @@
1
- import { getDefaultGuiConfig } from '@hanzogui/config-default'
2
- import { createGui } from '@hanzogui/core'
1
+ import { getDefaultGuiConfig } from '@hanzo/gui-config-default'
2
+ import { createGui } from '@hanzo/gui-core'
3
3
  import { describe, expect, test } from 'vitest'
4
4
  import { Button } from './Button'
5
5
 
package/src/Button.tsx CHANGED
@@ -1,9 +1,9 @@
1
- import { getFontSize } from '@hanzogui/font-size'
2
- import { getButtonSized } from '@hanzogui/get-button-sized'
3
- import { getIcon, useCurrentColor } from '@hanzogui/helpers'
4
- import { ButtonNestingContext, getElevation, themeableVariants } from '@hanzogui/stacks'
5
- import { SizableText, wrapChildrenInText } from '@hanzogui/text'
6
- import type { ColorTokens, GetProps, SizeTokens, Token } from '@hanzogui/web'
1
+ import { getFontSize } from '@hanzo/gui-font-size'
2
+ import { getButtonSized } from '@hanzo/gui-get-button-sized'
3
+ import { getIcon, useCurrentColor } from '@hanzo/gui-helpers'
4
+ import { ButtonNestingContext, getElevation, themeableVariants } from '@hanzo/gui-stacks'
5
+ import { SizableText, wrapChildrenInText } from '@hanzo/gui-text'
6
+ import type { ColorTokens, GetProps, SizeTokens, Token } from '@hanzo/gui-web'
7
7
  import {
8
8
  createStyledContext,
9
9
  getTokenValue,
@@ -11,7 +11,7 @@ import {
11
11
  useProps,
12
12
  View,
13
13
  withStaticProperties,
14
- } from '@hanzogui/web'
14
+ } from '@hanzo/gui-web'
15
15
  import type { FunctionComponent, JSX } from 'react'
16
16
  import { useContext } from 'react'
17
17
 
@@ -1,5 +1,5 @@
1
- import { getDefaultGuiConfig } from '@hanzogui/config-default'
2
- import { createGui } from '@hanzogui/core'
1
+ import { getDefaultGuiConfig } from '@hanzo/gui-config-default'
2
+ import { createGui } from '@hanzo/gui-core'
3
3
  import { describe, expect, test } from 'vitest'
4
4
 
5
5
  const conf = createGui(getDefaultGuiConfig())
package/src/v1/Button.tsx CHANGED
@@ -1,15 +1,15 @@
1
- import { getFontSize } from '@hanzogui/font-size'
2
- import { getButtonSized } from '@hanzogui/get-button-sized'
3
- import { withStaticProperties } from '@hanzogui/helpers'
4
- import { useGetThemedIcon } from '@hanzogui/helpers'
5
- import { ButtonNestingContext, ThemeableStack } from '@hanzogui/stacks'
6
- import type { TextContextStyles, TextParentStyles } from '@hanzogui/text'
7
- import { SizableText, wrapChildrenInText } from '@hanzogui/text'
8
- import type { FontSizeTokens, GetProps, SizeTokens, ThemeableProps } from '@hanzogui/web'
9
- import { createStyledContext, getVariableValue, styled, useProps } from '@hanzogui/web'
1
+ import { getFontSize } from '@hanzo/gui-font-size'
2
+ import { getButtonSized } from '@hanzo/gui-get-button-sized'
3
+ import { withStaticProperties } from '@hanzo/gui-helpers'
4
+ import { useGetThemedIcon } from '@hanzo/gui-helpers'
5
+ import { ButtonNestingContext, ThemeableStack } from '@hanzo/gui-stacks'
6
+ import type { TextContextStyles, TextParentStyles } from '@hanzo/gui-text'
7
+ import { SizableText, wrapChildrenInText } from '@hanzo/gui-text'
8
+ import type { FontSizeTokens, GetProps, SizeTokens, ThemeableProps } from '@hanzo/gui-web'
9
+ import { createStyledContext, getVariableValue, styled, useProps } from '@hanzo/gui-web'
10
10
  import type { FunctionComponent, JSX } from 'react'
11
11
  import { useContext } from 'react'
12
- import { spacedChildren } from '@hanzogui/spacer'
12
+ import { spacedChildren } from '@hanzo/gui-spacer'
13
13
 
14
14
  type ButtonVariant = 'outlined'
15
15