@radix-ui/react-dialog 1.1.2-rc.8 → 1.1.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.
package/dist/index.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React from 'react';
3
2
  import { DismissableLayer } from '@radix-ui/react-dismissable-layer';
4
3
  import { FocusScope } from '@radix-ui/react-focus-scope';
@@ -95,16 +94,13 @@ declare const DialogDescription: React.ForwardRefExoticComponent<DialogDescripti
95
94
  interface DialogCloseProps extends PrimitiveButtonProps {
96
95
  }
97
96
  declare const DialogClose: React.ForwardRefExoticComponent<DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
98
- declare const WarningProvider: {
99
- (props: {
100
- contentName: string;
101
- titleName: string;
102
- docsSlug: string;
103
- } & {
104
- children: React.ReactNode;
105
- }): react_jsx_runtime.JSX.Element;
106
- displayName: string;
107
- };
97
+ declare const WarningProvider: React.FC<{
98
+ contentName: string;
99
+ titleName: string;
100
+ docsSlug: string;
101
+ } & {
102
+ children: React.ReactNode;
103
+ }>;
108
104
  declare const Root: React.FC<DialogProps>;
109
105
  declare const Trigger: React.ForwardRefExoticComponent<DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
110
106
  declare const Portal: React.FC<DialogPortalProps>;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React from 'react';
3
2
  import { DismissableLayer } from '@radix-ui/react-dismissable-layer';
4
3
  import { FocusScope } from '@radix-ui/react-focus-scope';
@@ -95,16 +94,13 @@ declare const DialogDescription: React.ForwardRefExoticComponent<DialogDescripti
95
94
  interface DialogCloseProps extends PrimitiveButtonProps {
96
95
  }
97
96
  declare const DialogClose: React.ForwardRefExoticComponent<DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
98
- declare const WarningProvider: {
99
- (props: {
100
- contentName: string;
101
- titleName: string;
102
- docsSlug: string;
103
- } & {
104
- children: React.ReactNode;
105
- }): react_jsx_runtime.JSX.Element;
106
- displayName: string;
107
- };
97
+ declare const WarningProvider: React.FC<{
98
+ contentName: string;
99
+ titleName: string;
100
+ docsSlug: string;
101
+ } & {
102
+ children: React.ReactNode;
103
+ }>;
108
104
  declare const Root: React.FC<DialogProps>;
109
105
  declare const Trigger: React.ForwardRefExoticComponent<DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
110
106
  declare const Portal: React.FC<DialogPortalProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radix-ui/react-dialog",
3
- "version": "1.1.2-rc.8",
3
+ "version": "1.1.2",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {
@@ -30,18 +30,18 @@
30
30
  "dependencies": {
31
31
  "@radix-ui/primitive": "1.1.0",
32
32
  "@radix-ui/react-compose-refs": "1.1.0",
33
- "@radix-ui/react-context": "1.1.0",
34
- "@radix-ui/react-dismissable-layer": "1.1.0",
35
- "@radix-ui/react-focus-guards": "1.1.0",
33
+ "@radix-ui/react-context": "1.1.1",
34
+ "@radix-ui/react-dismissable-layer": "1.1.1",
35
+ "@radix-ui/react-focus-guards": "1.1.1",
36
36
  "@radix-ui/react-focus-scope": "1.1.0",
37
37
  "@radix-ui/react-id": "1.1.0",
38
- "@radix-ui/react-portal": "1.1.1",
39
- "@radix-ui/react-presence": "1.1.1-rc.8",
38
+ "@radix-ui/react-portal": "1.1.2",
39
+ "@radix-ui/react-presence": "1.1.1",
40
40
  "@radix-ui/react-primitive": "2.0.0",
41
41
  "@radix-ui/react-slot": "1.1.0",
42
42
  "@radix-ui/react-use-controllable-state": "1.1.0",
43
43
  "aria-hidden": "^1.1.1",
44
- "react-remove-scroll": "2.5.7"
44
+ "react-remove-scroll": "2.6.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@types/react": "*",
@@ -64,6 +64,5 @@
64
64
  },
65
65
  "bugs": {
66
66
  "url": "https://github.com/radix-ui/primitives/issues"
67
- },
68
- "stableVersion": "1.1.1"
67
+ }
69
68
  }