Socket
Socket
Sign inDemoInstall

@chakra-ui/transition

Package Overview
Dependencies
Maintainers
4
Versions
267
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/transition - npm Package Compare versions

Comparing version 1.0.0-next.4 to 1.0.0-next.5

dist/cjs/hidden-transition.js

21

CHANGELOG.md

@@ -6,2 +6,23 @@ # Change Log

# [1.0.0-next.5](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/transition@1.0.0-next.4...@chakra-ui/transition@1.0.0-next.5) (2020-07-15)
### Bug Fixes
- types in hidden transition
([ef18845](https://github.com/chakra-ui/chakra-ui/commit/ef18845ce1754a9e36065d140c4bdca677b939aa))
### Features
- add popover transition
([73d8c4f](https://github.com/chakra-ui/chakra-ui/commit/73d8c4fc9c676c95232cd259f59cce7d38eff94b))
- add support for css transition
([a41614c](https://github.com/chakra-ui/chakra-ui/commit/a41614c8e9757e5d38ddef6a356d2d8c718f406f))
- add transition for modal
([dda931b](https://github.com/chakra-ui/chakra-ui/commit/dda931bea7444c3f83392eebf1c34dd571a0dbbc))
# Change Log
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.0.0-next.4 (2020-07-01)

@@ -8,0 +29,0 @@

4

dist/cjs/fade.js

@@ -6,6 +6,6 @@ "use strict";

var _utils = require("@chakra-ui/utils");
var React = _interopRequireWildcard(require("react"));
var _utils = require("@chakra-ui/utils");
var _transition = require("./transition");

@@ -12,0 +12,0 @@

"use strict";
exports.__esModule = true;
var _exportNames = {
CSSTransition: true
};
exports.CSSTransition = void 0;

@@ -9,2 +13,3 @@ var _fade = require("./fade");

if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
exports[key] = _fade[key];

@@ -17,2 +22,3 @@ });

if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
exports[key] = _scaleFade[key];

@@ -25,2 +31,3 @@ });

if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
exports[key] = _slide[key];

@@ -33,2 +40,3 @@ });

if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
exports[key] = _slideFade[key];

@@ -41,4 +49,41 @@ });

if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
exports[key] = _transition[key];
});
var _transitionConfig = require("./transition-config");
Object.keys(_transitionConfig).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
exports[key] = _transitionConfig[key];
});
var _hiddenTransition = require("./hidden-transition");
Object.keys(_hiddenTransition).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
exports[key] = _hiddenTransition[key];
});
var _useTransitionConfig = require("./use-transition-config");
Object.keys(_useTransitionConfig).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
exports[key] = _useTransitionConfig[key];
});
var _presets = require("./presets");
Object.keys(_presets).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
exports[key] = _presets[key];
});
var _reactTransitionGroup = require("react-transition-group");
exports.CSSTransition = _reactTransitionGroup.CSSTransition;
//# sourceMappingURL=index.js.map

@@ -5,4 +5,4 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

import { __DEV__ } from "@chakra-ui/utils";
import * as React from "react";
import { __DEV__ } from "@chakra-ui/utils";
import { Transition } from "./transition";

@@ -9,0 +9,0 @@ var styles = {

@@ -6,2 +6,7 @@ export * from "./fade";

export * from "./transition";
export * from "./transition-config";
export * from "./hidden-transition";
export * from "./use-transition-config";
export * from "./presets";
export { CSSTransition } from "react-transition-group";
//# sourceMappingURL=index.js.map

@@ -7,3 +7,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

import * as React from "react";
import CSSTransition from "react-transition-group/Transition";
import ReactTransition from "react-transition-group/Transition";
export function Transition(props) {

@@ -23,3 +23,3 @@ var {

return /*#__PURE__*/React.createElement(CSSTransition, _extends({
return /*#__PURE__*/React.createElement(ReactTransition, _extends({
appear: true,

@@ -26,0 +26,0 @@ unmountOnExit: true,

@@ -6,2 +6,7 @@ export * from "./fade";

export * from "./transition";
export * from "./transition-config";
export * from "./hidden-transition";
export * from "./use-transition-config";
export * from "./presets";
export { CSSTransition } from "react-transition-group";
//# sourceMappingURL=index.d.ts.map
import * as React from "react";
import type { TransitionProps as TProps, TransitionStatus } from "react-transition-group/Transition";
export declare type BaseProps = Pick<TProps, "in" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "unmountOnExit" | "timeout">;
export interface TransitionProps extends BaseProps {
import type { TransitionProps as ReactTransitionProps, TransitionStatus } from "react-transition-group/Transition";
declare type RTGProps = Pick<ReactTransitionProps, "in" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "unmountOnExit" | "timeout">;
export interface TransitionProps extends RTGProps {
transition?: string;

@@ -6,0 +6,0 @@ children: (styles: React.CSSProperties) => React.ReactNode;

{
"name": "@chakra-ui/transition",
"version": "1.0.0-next.4",
"version": "1.0.0-next.5",
"description": "Common transition components for Chakra UI",

@@ -50,10 +50,14 @@ "sideEffects": false,

"dependencies": {
"@chakra-ui/utils": "^1.0.0-next.4",
"@chakra-ui/utils": "^1.0.0-next.5",
"@types/react-transition-group": "4.4.0",
"react-transition-group": "4.4.1"
},
"devDependencies": {
"@chakra-ui/system": "^1.0.0-next.5"
},
"peerDependencies": {
"@chakra-ui/system": "^1.0.0-next.4",
"react": "16.x"
},
"gitHead": "cdd5eac1db90ba33a07c009fb8dbcc4453d6ec01"
"gitHead": "24eec5d796d81b6fafbcfa7231fb2cb15e6d5a29"
}

@@ -6,1 +6,6 @@ export * from "./fade"

export * from "./transition"
export * from "./transition-config"
export * from "./hidden-transition"
export * from "./use-transition-config"
export * from "./presets"
export { CSSTransition } from "react-transition-group"

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

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

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