@radix-ui/react-id
Advanced tools
Comparing version 0.1.6-rc.47 to 1.0.0-rc.1
@@ -1,7 +0,3 @@ | ||
import * as React from "react"; | ||
export function useId(deterministicId?: string): string; | ||
export function IdProvider({ children }: { | ||
children: React.ReactNode; | ||
}): JSX.Element; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -8,3 +8,2 @@ var $47woD$react = require("react"); | ||
$parcel$export(module.exports, "IdProvider", () => $dc478e4659f630c5$export$6be90bcb437e928f); | ||
$parcel$export(module.exports, "useId", () => $dc478e4659f630c5$export$f680877a34711e37); | ||
@@ -25,8 +24,3 @@ | ||
return deterministicId || (id ? `radix-${id}` : ''); | ||
} // DEPRECATED | ||
function $dc478e4659f630c5$export$6be90bcb437e928f({ children: children }) { | ||
$47woD$react.useEffect(()=>{}, []); | ||
return /*#__PURE__*/ $47woD$react.createElement($47woD$react.Fragment, null, children); | ||
} | ||
const $dc478e4659f630c5$var$ID_PROVIDER_DEPRECATED = `Warning: The \`IdProvider\` has been deprecated. For details, see https://radix-ui.com/docs/primitives/utilities/id-provider`; | ||
@@ -33,0 +27,0 @@ |
@@ -18,8 +18,3 @@ import * as $2AODx$react from "react"; | ||
return deterministicId || (id ? `radix-${id}` : ''); | ||
} // DEPRECATED | ||
function $1746a345f3d73bb7$export$6be90bcb437e928f({ children: children }) { | ||
$2AODx$react.useEffect(()=>{}, []); | ||
return /*#__PURE__*/ $2AODx$react.createElement($2AODx$react.Fragment, null, children); | ||
} | ||
const $1746a345f3d73bb7$var$ID_PROVIDER_DEPRECATED = `Warning: The \`IdProvider\` has been deprecated. For details, see https://radix-ui.com/docs/primitives/utilities/id-provider`; | ||
@@ -29,3 +24,3 @@ | ||
export {$1746a345f3d73bb7$export$6be90bcb437e928f as IdProvider, $1746a345f3d73bb7$export$f680877a34711e37 as useId}; | ||
export {$1746a345f3d73bb7$export$f680877a34711e37 as useId}; | ||
//# sourceMappingURL=index.module.js.map |
{ | ||
"name": "@radix-ui/react-id", | ||
"version": "0.1.6-rc.47", | ||
"version": "1.0.0-rc.1", | ||
"license": "MIT", | ||
@@ -31,5 +31,5 @@ "source": "src/index.ts", | ||
"@babel/runtime": "^7.13.10", | ||
"@radix-ui/react-use-layout-effect": "0.1.1-rc.47" | ||
"@radix-ui/react-use-layout-effect": "1.0.0-rc.1" | ||
}, | ||
"stableVersion": "0.1.5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6572
39
+ Added@radix-ui/react-use-layout-effect@1.0.0-rc.1(transitive)
- Removed@radix-ui/react-use-layout-effect@0.1.1-rc.47(transitive)