Skip to content

Commit 097877b

Browse files
committed
fix: all imports @hanzo/gui-* -> @hanzogui/*, TamaguiRoot -> GuiRoot in dist, bump 2.0.5
1 parent cc130da commit 097877b

224 files changed

Lines changed: 713 additions & 713 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pkg/gui/accordion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hanzogui/accordion",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
55
"source": "src/index.ts",
66
"files": [

pkg/gui/accordion/src/Accordion.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import { Collapsible } from '@hanzo/gui-collapsible'
2-
import { createCollection } from '@hanzo/gui-collection'
3-
import { useComposedRefs } from '@hanzo/gui-compose-refs'
4-
import { isWeb } from '@hanzo/gui-constants'
5-
import type { GetProps, GetRef, GuiElement } from '@hanzo/gui-core'
6-
import { View, createStyledContext, styled } from '@hanzo/gui-core'
7-
import { composeEventHandlers, withStaticProperties } from '@hanzo/gui-helpers'
8-
import { YStack } from '@hanzo/gui-stacks'
9-
import { H1 } from '@hanzo/gui-text'
10-
import { useControllableState } from '@hanzo/gui-use-controllable-state'
11-
import { useDirection } from '@hanzo/gui-use-direction'
1+
import { Collapsible } from '@hanzogui/collapsible'
2+
import { createCollection } from '@hanzogui/collection'
3+
import { useComposedRefs } from '@hanzogui/compose-refs'
4+
import { isWeb } from '@hanzogui/constants'
5+
import type { GetProps, GetRef, GuiElement } from '@hanzogui/core'
6+
import { View, createStyledContext, styled } from '@hanzogui/core'
7+
import { composeEventHandlers, withStaticProperties } from '@hanzogui/helpers'
8+
import { YStack } from '@hanzogui/stacks'
9+
import { H1 } from '@hanzogui/text'
10+
import { useControllableState } from '@hanzogui/use-controllable-state'
11+
import { useDirection } from '@hanzogui/use-direction'
1212
import * as React from 'react'
1313

1414
type Direction = 'ltr' | 'rtl'

pkg/gui/adapt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hanzogui/adapt",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"files": [
55
"src",
66
"types",

pkg/gui/adapt/src/Adapt.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import {
44
isTouchable,
55
isWeb,
66
useIsomorphicLayoutEffect,
7-
} from '@hanzo/gui-constants'
8-
import type { AllPlatforms, MediaQueryKey } from '@hanzo/gui-core'
9-
import { createStyledContext, useMedia } from '@hanzo/gui-core'
10-
import { withStaticProperties } from '@hanzo/gui-helpers'
11-
import { getPortal } from '@hanzo/gui-native'
12-
import { PortalHost, PortalItem } from '@hanzo/gui-portal'
13-
import { StackZIndexContext } from '@hanzo/gui-z-index-stack'
7+
} from '@hanzogui/constants'
8+
import type { AllPlatforms, MediaQueryKey } from '@hanzogui/core'
9+
import { createStyledContext, useMedia } from '@hanzogui/core'
10+
import { withStaticProperties } from '@hanzogui/helpers'
11+
import { getPortal } from '@hanzogui/native'
12+
import { PortalHost, PortalItem } from '@hanzogui/portal'
13+
import { StackZIndexContext } from '@hanzogui/z-index-stack'
1414
import React, { createContext, useContext, useId, useMemo } from 'react'
1515

1616
/**

pkg/gui/alert-dialog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hanzogui/alert-dialog",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"source": "src/index.ts",
55
"files": [
66
"src",

pkg/gui/alert-dialog/src/AlertDialog.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// forked from radix-ui
22
// https://github.com/radix-ui/primitives/blob/main/packages/react/alert-dialog/src/AlertDialog.tsx
33

4-
import { useComposedRefs } from '@hanzo/gui-compose-refs'
5-
import { isWeb, useIsomorphicLayoutEffect } from '@hanzo/gui-constants'
6-
import type { GuiElement } from '@hanzo/gui-core'
4+
import { useComposedRefs } from '@hanzogui/compose-refs'
5+
import { isWeb, useIsomorphicLayoutEffect } from '@hanzogui/constants'
6+
import type { GuiElement } from '@hanzogui/core'
77
import {
88
Slottable,
99
View,
1010
createStyledContext,
1111
isGuiElement,
1212
styled,
13-
} from '@hanzo/gui-core'
13+
} from '@hanzogui/core'
1414
import type {
1515
DialogCloseProps,
1616
DialogContentProps,
@@ -21,7 +21,7 @@ import type {
2121
DialogProps,
2222
DialogTitleProps,
2323
DialogTriggerProps,
24-
} from '@hanzo/gui-dialog'
24+
} from '@hanzogui/dialog'
2525
import {
2626
Dialog,
2727
DialogClose,
@@ -33,9 +33,9 @@ import {
3333
DialogTitle,
3434
DialogTrigger,
3535
DialogWarningProvider,
36-
} from '@hanzo/gui-dialog'
37-
import { composeEventHandlers, withStaticProperties } from '@hanzo/gui-helpers'
38-
import { useControllableState } from '@hanzo/gui-use-controllable-state'
36+
} from '@hanzogui/dialog'
37+
import { composeEventHandlers, withStaticProperties } from '@hanzogui/helpers'
38+
import { useControllableState } from '@hanzogui/use-controllable-state'
3939
import * as React from 'react'
4040
import { Alert } from 'react-native'
4141

pkg/gui/animate-presence/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hanzogui/animate-presence",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
55
"license": "MIT",
66
"source": "src/index.ts",

pkg/gui/animate-presence/src/AnimatePresence.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useInsertionEffect } from 'react'
2-
import { useConstant } from '@hanzo/gui-use-constant'
3-
import { useForceUpdate } from '@hanzo/gui-use-force-update'
2+
import { useConstant } from '@hanzogui/use-constant'
3+
import { useForceUpdate } from '@hanzogui/use-force-update'
44
import type { FunctionComponent, PropsWithChildren, ReactElement, ReactNode } from 'react'
55
import { Children, isValidElement, useContext, useMemo, useRef, useState } from 'react'
66
import { LayoutGroupContext } from './LayoutGroupContext'

pkg/gui/animate-presence/src/PresenceChild.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { useConstant } from '@hanzo/gui-use-constant'
2-
import { PresenceContext } from '@hanzo/gui-use-presence'
3-
import type { PresenceContextProps } from '@hanzo/gui-web'
1+
import { useConstant } from '@hanzogui/use-constant'
2+
import { PresenceContext } from '@hanzogui/use-presence'
3+
import type { PresenceContextProps } from '@hanzogui/web'
44
import * as React from 'react'
55
import { useId } from 'react'
66

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export * from './AnimatePresence'
2-
export * from '@hanzo/gui-use-presence'
2+
export * from '@hanzogui/use-presence'
33
export * from './types'
44
export * from './PresenceChild'

0 commit comments

Comments
 (0)