Socket
Socket
Sign inDemoInstall

@chakra-ui/descendant

Package Overview
Dependencies
5
Maintainers
2
Versions
175
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0-dev-20230320184810 to 0.0.0-dev-20230718122336

dist/chunk-3A5YOZDU.mjs

4

dist/descendant.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc