Socket
Socket
Sign inDemoInstall

@chakra-ui/descendant

Package Overview
Dependencies
Maintainers
2
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/descendant - npm Package Compare versions

Comparing version 3.0.14 to 3.1.0

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": "3.0.14",
"version": "3.1.0",
"description": "Register child nodes of a react element for better accessibility",

@@ -35,4 +35,4 @@ "keywords": [

"dependencies": {
"@chakra-ui/react-context": "2.0.8",
"@chakra-ui/react-use-merge-refs": "2.0.7"
"@chakra-ui/react-context": "2.1.0",
"@chakra-ui/react-use-merge-refs": "2.1.0"
},

@@ -45,14 +45,6 @@ "peerDependencies": {

"clean-package": "2.2.0",
"@chakra-ui/hooks": "2.1.6",
"@chakra-ui/system": "2.5.3"
"@chakra-ui/hooks": "2.2.0",
"@chakra-ui/system": "2.6.0"
},
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc