Socket
Socket
Sign inDemoInstall

@chakra-ui/react-utils

Package Overview
Dependencies
Maintainers
4
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/react-utils - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

34

CHANGELOG.md
# @chakra-ui/react-utils
## 1.1.0
### Minor Changes
## 1.1.1
### Patch Changes
- [`87a03b320`](https://github.com/chakra-ui/chakra-ui/commit/87a03b320b62e639ca4a891186f202cb839a8402)
[#3733](https://github.com/chakra-ui/chakra-ui/pull/3733) Thanks
[@segunadebayo](https://github.com/segunadebayo)! - Update prop getter v2 type
to take second parameter
- [`b724a9dd9`](https://github.com/chakra-ui/chakra-ui/commit/b724a9dd9429d02c0b2c7f7deac66d3553100bdc) [#3674](https://github.com/chakra-ui/chakra-ui/pull/3674) Thanks [@codebender828](https://github.com/codebender828)! - Extract all React based utilities and types into `@chakra-ui/react-utils`
* [`1a04a41bd`](https://github.com/chakra-ui/chakra-ui/commit/1a04a41bd2285069011a738fff422ba1a6fcce94)
Thanks [@segunadebayo](https://github.com/segunadebayo)! - Update import of
shared utils from `react-utils` to `utils`
- [`e481ba491`](https://github.com/chakra-ui/chakra-ui/commit/e481ba4914a7f163d93d4c22e2e457f1afb08721)
Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Extract functions
from `react-utils` back to `utils` package
- Remove `withFlushSync` function in favor of using a microtask callback
- Import types for `warn` function
- Updated dependencies
[[`1a04a41bd`](https://github.com/chakra-ui/chakra-ui/commit/1a04a41bd2285069011a738fff422ba1a6fcce94),
[`e481ba491`](https://github.com/chakra-ui/chakra-ui/commit/e481ba4914a7f163d93d4c22e2e457f1afb08721)]:
- @chakra-ui/utils@1.5.1
## 1.1.0
### Minor Changes
- [`b724a9dd9`](https://github.com/chakra-ui/chakra-ui/commit/b724a9dd9429d02c0b2c7f7deac66d3553100bdc)
[#3674](https://github.com/chakra-ui/chakra-ui/pull/3674) Thanks
[@codebender828](https://github.com/codebender828)! - Extract all React based
utilities and types into `@chakra-ui/react-utils`
### Patch Changes
- Updated dependencies [[`a58b724e9`](https://github.com/chakra-ui/chakra-ui/commit/a58b724e9c8656044f866b658f378662f2a44b46), [`b724a9dd9`](https://github.com/chakra-ui/chakra-ui/commit/b724a9dd9429d02c0b2c7f7deac66d3553100bdc)]:
- Updated dependencies
[[`a58b724e9`](https://github.com/chakra-ui/chakra-ui/commit/a58b724e9c8656044f866b658f378662f2a44b46),
[`b724a9dd9`](https://github.com/chakra-ui/chakra-ui/commit/b724a9dd9429d02c0b2c7f7deac66d3553100bdc)]:
- @chakra-ui/utils@1.5.0

24

dist/cjs/index.js

@@ -21,10 +21,2 @@ "use strict";

var _dom = require("./dom");
Object.keys(_dom).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _dom[key]) return;
exports[key] = _dom[key];
});
var _types = require("./types");

@@ -38,18 +30,2 @@

var _flushSync = require("./flush-sync");
Object.keys(_flushSync).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _flushSync[key]) return;
exports[key] = _flushSync[key];
});
var _assertion = require("./assertion");
Object.keys(_assertion).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _assertion[key]) return;
exports[key] = _assertion[key];
});
var _children = require("./children");

@@ -56,0 +32,0 @@

export * from "./refs";
export * from "./context";
export * from "./dom";
export * from "./types";
export * from "./flush-sync";
export * from "./assertion";
export * from "./children";
//# sourceMappingURL=index.js.map
export * from "./refs";
export * from "./context";
export * from "./dom";
export * from "./types";
export * from "./flush-sync";
export * from "./assertion";
export * from "./children";
//# sourceMappingURL=index.d.ts.map

@@ -1,7 +0,10 @@

/// <reference types="react" />
import { Merge, EventKeys } from "@chakra-ui/utils";
import { EventKeys, Merge } from "@chakra-ui/utils";
import React, { ElementType } from "react";
export declare type MaybeRenderProp<P> = React.ReactNode | ((props: P) => React.ReactNode);
export declare type HTMLProps<T = any> = Omit<React.HTMLAttributes<T>, "color" | "width" | "height"> & React.RefAttributes<T>;
declare type WithoutStyleAttr<T> = Omit<T, "color" | "width" | "height">;
export declare type HTMLProps<T = any> = WithoutStyleAttr<React.HTMLAttributes<T>> & React.RefAttributes<T>;
export declare type PropGetter<T extends HTMLElement = any, P = {}> = (props?: Merge<HTMLProps<T>, P>, ref?: React.Ref<any> | React.RefObject<any>) => Merge<HTMLProps<T>, P>;
export declare type PropGetterV2<T extends ElementType, P = {}> = (props?: WithoutStyleAttr<React.ComponentPropsWithoutRef<T>> & P, ref?: React.Ref<any> | React.RefObject<any>) => WithoutStyleAttr<React.ComponentPropsWithRef<T>>;
export declare type EventKeyMap = Partial<Record<EventKeys, React.KeyboardEventHandler>>;
export {};
//# sourceMappingURL=types.d.ts.map
{
"name": "@chakra-ui/react-utils",
"version": "1.1.0",
"version": "1.1.1",
"description": "React utilities and helpers for Chakra UI",

@@ -53,12 +53,10 @@ "keywords": [

"dependencies": {
"@chakra-ui/utils": "^1.5.0"
"@chakra-ui/utils": "^1.5.1"
},
"peerDependencies": {
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
"react": ">=16.8.6"
},
"devDependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1"
"react": "^17.0.1"
}
}

@@ -6,2 +6,4 @@ # @chakra-ui/react-utils

> This is an internal utility, not intended for public usage.
## Installation

@@ -8,0 +10,0 @@

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