@radix-ui/react-presence
Advanced tools
Comparing version 1.1.2 to 1.1.3-rc.1
@@ -10,3 +10,4 @@ import * as React from 'react'; | ||
declare const Presence: React.FC<PresenceProps>; | ||
declare const Root: React.FC<PresenceProps>; | ||
export { Presence, type PresenceProps }; | ||
export { Presence, type PresenceProps, Root }; |
@@ -34,7 +34,8 @@ "use strict"; | ||
__export(src_exports, { | ||
Presence: () => Presence | ||
Presence: () => Presence, | ||
Root: () => Root | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
// packages/react/presence/src/Presence.tsx | ||
// packages/react/presence/src/presence.tsx | ||
var React2 = __toESM(require("react")); | ||
@@ -44,3 +45,3 @@ var import_react_compose_refs = require("@radix-ui/react-compose-refs"); | ||
// packages/react/presence/src/useStateMachine.tsx | ||
// packages/react/presence/src/use-state-machine.tsx | ||
var React = __toESM(require("react")); | ||
@@ -54,3 +55,3 @@ function useStateMachine(initialState, machine) { | ||
// packages/react/presence/src/Presence.tsx | ||
// packages/react/presence/src/presence.tsx | ||
var Presence = (props) => { | ||
@@ -172,2 +173,3 @@ const { present, children } = props; | ||
} | ||
var Root = Presence; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@radix-ui/react-presence", | ||
"version": "1.1.2", | ||
"version": "1.1.3-rc.1", | ||
"license": "MIT", | ||
@@ -27,2 +27,3 @@ "exports": { | ||
"scripts": { | ||
"lint": "eslint --max-warnings 0 src", | ||
"clean": "rm -rf dist", | ||
@@ -35,2 +36,12 @@ "version": "yarn version" | ||
}, | ||
"devDependencies": { | ||
"@repo/eslint-config": "0.0.0", | ||
"@repo/typescript-config": "0.0.0", | ||
"@types/react": "^19.0.7", | ||
"@types/react-dom": "^19.0.3", | ||
"eslint": "^9.18.0", | ||
"react": "^19.0.0", | ||
"react-dom": "^19.0.0", | ||
"typescript": "^5.7.3" | ||
}, | ||
"peerDependencies": { | ||
@@ -57,3 +68,4 @@ "@types/react": "*", | ||
"url": "https://github.com/radix-ui/primitives/issues" | ||
} | ||
}, | ||
"stableVersion": "1.1.2" | ||
} |
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
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
37757
313
8
1