@hanzogui/dialog 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.
Files changed (2) hide show
  1. package/package.json +20 -20
  2. package/src/Dialog.tsx +20 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/dialog",
3
- "version": "2.0.0",
3
+ "version": "2.0.4",
4
4
  "source": "src/index.ts",
5
5
  "files": [
6
6
  "src",
@@ -36,27 +36,27 @@
36
36
  "clean:build": "hanzo-gui-build clean:build"
37
37
  },
38
38
  "dependencies": {
39
- "@hanzogui/adapt": "2.0.0",
40
- "@hanzogui/animate": "2.0.0",
41
- "@hanzogui/animate-presence": "2.0.0",
42
- "@hanzogui/compose-refs": "2.0.0-rc.29",
43
- "@hanzogui/constants": "2.0.0-rc.29",
44
- "@hanzogui/core": "2.0.0-rc.29",
45
- "@hanzogui/create-context": "2.0.0-rc.29",
46
- "@hanzogui/dismissable": "2.0.0",
47
- "@hanzogui/focus-scope": "2.0.0",
48
- "@hanzogui/helpers": "2.0.0-rc.29",
49
- "@hanzogui/polyfill-dev": "2.0.0-rc.29",
50
- "@hanzogui/portal": "2.0.0",
51
- "@hanzogui/remove-scroll": "2.0.0",
52
- "@hanzogui/sheet": "2.0.0",
53
- "@hanzogui/stacks": "2.0.0",
54
- "@hanzogui/text": "2.0.0",
55
- "@hanzogui/use-controllable-state": "2.0.0-rc.29",
56
- "@hanzogui/z-index-stack": "2.0.0"
39
+ "@hanzogui/adapt": "2.0.1",
40
+ "@hanzogui/animate": "2.0.1",
41
+ "@hanzogui/animate-presence": "2.0.1",
42
+ "@hanzogui/compose-refs": "2.0.1",
43
+ "@hanzogui/constants": "2.0.1",
44
+ "@hanzogui/core": "2.0.1",
45
+ "@hanzogui/create-context": "2.0.1",
46
+ "@hanzogui/dismissable": "2.0.1",
47
+ "@hanzogui/focus-scope": "2.0.1",
48
+ "@hanzogui/helpers": "2.0.1",
49
+ "@hanzogui/polyfill-dev": "2.0.1",
50
+ "@hanzogui/portal": "2.0.1",
51
+ "@hanzogui/remove-scroll": "2.0.1",
52
+ "@hanzogui/sheet": "2.0.1",
53
+ "@hanzogui/stacks": "2.0.1",
54
+ "@hanzogui/text": "2.0.1",
55
+ "@hanzogui/use-controllable-state": "2.0.1",
56
+ "@hanzogui/z-index-stack": "2.0.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@hanzogui/build": "2.0.0-rc.29",
59
+ "@hanzogui/build": "2.0.1",
60
60
  "react": ">=19",
61
61
  "react-native": "0.83.2"
62
62
  },
package/src/Dialog.tsx CHANGED
@@ -5,11 +5,11 @@ import {
5
5
  ProvideAdaptContext,
6
6
  useAdaptContext,
7
7
  useAdaptIsActive,
8
- } from '@hanzogui/adapt'
9
- import { Animate } from '@hanzogui/animate'
10
- import { composeRefs, useComposedRefs } from '@hanzogui/compose-refs'
11
- import { isWeb, useIsomorphicLayoutEffect } from '@hanzogui/constants'
12
- import type { GetProps, GuiElement, ViewProps } from '@hanzogui/core'
8
+ } from '@hanzo/gui-adapt'
9
+ import { Animate } from '@hanzo/gui-animate'
10
+ import { composeRefs, useComposedRefs } from '@hanzo/gui-compose-refs'
11
+ import { isWeb, useIsomorphicLayoutEffect } from '@hanzo/gui-constants'
12
+ import type { GetProps, GuiElement, ViewProps } from '@hanzo/gui-core'
13
13
  import {
14
14
  createStyledContext,
15
15
  getExpandedShorthand,
@@ -18,26 +18,26 @@ import {
18
18
  Theme,
19
19
  useThemeName,
20
20
  View,
21
- } from '@hanzogui/core'
22
- import { createContext } from '@hanzogui/create-context'
23
- import type { DismissableProps } from '@hanzogui/dismissable'
24
- import { Dismissable } from '@hanzogui/dismissable'
25
- import type { FocusScopeProps } from '@hanzogui/focus-scope'
26
- import { FocusScope, FocusScopeController } from '@hanzogui/focus-scope'
27
- import { composeEventHandlers, withStaticProperties } from '@hanzogui/helpers'
21
+ } from '@hanzo/gui-core'
22
+ import { createContext } from '@hanzo/gui-create-context'
23
+ import type { DismissableProps } from '@hanzo/gui-dismissable'
24
+ import { Dismissable } from '@hanzo/gui-dismissable'
25
+ import type { FocusScopeProps } from '@hanzo/gui-focus-scope'
26
+ import { FocusScope, FocusScopeController } from '@hanzo/gui-focus-scope'
27
+ import { composeEventHandlers, withStaticProperties } from '@hanzo/gui-helpers'
28
28
  import {
29
29
  needsPortalRepropagation,
30
30
  Portal,
31
31
  PortalItem,
32
32
  resolveViewZIndex,
33
- } from '@hanzogui/portal'
34
- import { RemoveScroll } from '@hanzogui/remove-scroll'
35
- import { SheetController } from '@hanzogui/sheet/controller'
36
- import type { YStackProps } from '@hanzogui/stacks'
37
- import { ButtonNestingContext, ThemeableStack, YStack } from '@hanzogui/stacks'
38
- import { H2, Paragraph } from '@hanzogui/text'
39
- import { useControllableState } from '@hanzogui/use-controllable-state'
40
- import { StackZIndexContext } from '@hanzogui/z-index-stack'
33
+ } from '@hanzo/gui-portal'
34
+ import { RemoveScroll } from '@hanzo/gui-remove-scroll'
35
+ import { SheetController } from '@hanzo/gui-sheet/controller'
36
+ import type { YStackProps } from '@hanzo/gui-stacks'
37
+ import { ButtonNestingContext, ThemeableStack, YStack } from '@hanzo/gui-stacks'
38
+ import { H2, Paragraph } from '@hanzo/gui-text'
39
+ import { useControllableState } from '@hanzo/gui-use-controllable-state'
40
+ import { StackZIndexContext } from '@hanzo/gui-z-index-stack'
41
41
  import * as React from 'react'
42
42
 
43
43
  export type DialogScopes = string