@chakra-ui/descendant
Advanced tools
Comparing version 0.0.0-dev-20230320184810 to 0.0.0-dev-20230718122336
@@ -1,2 +0,2 @@ | ||
declare type DescendantOptions<T = {}> = T & { | ||
type DescendantOptions<T = {}> = T & { | ||
/** | ||
@@ -12,3 +12,3 @@ * If `true`, the item will be registered in all nodes map | ||
}; | ||
declare type Descendant<T, K> = DescendantOptions<K> & { | ||
type Descendant<T, K> = DescendantOptions<K> & { | ||
/** | ||
@@ -15,0 +15,0 @@ * DOM element of the item |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -180,1 +181,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=descendant.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -230,5 +231,9 @@ var __defProp = Object.defineProperty; | ||
return [ | ||
// context provider | ||
ContextProvider, | ||
// call this when you need to read from context | ||
_useDescendantsContext, | ||
// descendants state information, to be called and passed to `ContextProvider` | ||
_useDescendants, | ||
// descendant index information | ||
_useDescendant | ||
@@ -241,1 +246,2 @@ ]; | ||
}); | ||
//# sourceMappingURL=index.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -227,5 +228,9 @@ var __defProp = Object.defineProperty; | ||
return [ | ||
// context provider | ||
ContextProvider, | ||
// call this when you need to read from context | ||
_useDescendantsContext, | ||
// descendants state information, to be called and passed to `ContextProvider` | ||
_useDescendants, | ||
// descendant index information | ||
_useDescendant | ||
@@ -238,1 +243,2 @@ ]; | ||
}); | ||
//# sourceMappingURL=use-descendant.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -72,1 +73,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@chakra-ui/descendant", | ||
"version": "0.0.0-dev-20230320184810", | ||
"version": "0.0.0-dev-20230718122336", | ||
"description": "Register child nodes of a react element for better accessibility", | ||
@@ -35,4 +35,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/react-context": "0.0.0-dev-20230320184810", | ||
"@chakra-ui/react-use-merge-refs": "2.0.7" | ||
"@chakra-ui/react-context": "0.0.0-dev-20230718122336", | ||
"@chakra-ui/react-use-merge-refs": "0.0.0-dev-20230718122336" | ||
}, | ||
@@ -45,14 +45,6 @@ "peerDependencies": { | ||
"clean-package": "2.2.0", | ||
"@chakra-ui/hooks": "2.1.6", | ||
"@chakra-ui/system": "0.0.0-dev-20230320184810" | ||
"@chakra-ui/hooks": "2.2.0", | ||
"@chakra-ui/system": "0.0.0-dev-20230718122336" | ||
}, | ||
"clean-package": "../../../clean-package.config.json", | ||
"tsup": { | ||
"clean": true, | ||
"target": "es2019", | ||
"format": [ | ||
"cjs", | ||
"esm" | ||
] | ||
}, | ||
"module": "dist/index.mjs", | ||
@@ -59,0 +51,0 @@ "types": "dist/index.d.ts", |
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
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
99564
29
1092
+ Added@chakra-ui/react-context@0.0.0-dev-20230718122336(transitive)
+ Added@chakra-ui/react-use-merge-refs@0.0.0-dev-20230718122336(transitive)
- Removed@chakra-ui/react-context@0.0.0-dev-20230320184810(transitive)
- Removed@chakra-ui/react-use-merge-refs@2.0.7(transitive)
Updated@chakra-ui/react-use-merge-refs@0.0.0-dev-20230718122336