@highlight-ui/dialog
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -49,3 +49,3 @@ 'use strict'; | ||
var styles$1 = {"dialog":"Dialog-module__2icvnh15__v2-0-6","size-small":"Dialog-module__3spVEVua__v2-0-6","size-medium":"Dialog-module__-zWxw4HX__v2-0-6","size-large":"Dialog-module__3wZ2NPV0__v2-0-6","header":"Dialog-module__2wAUH40a__v2-0-6","headerShadowed":"Dialog-module__xODFOi1M__v2-0-6","headerTitle":"Dialog-module__1lxoaZF6__v2-0-6","closeButton":"Dialog-module__2l9SSdo___v2-0-6","body":"Dialog-module__1bPY4avA__v2-0-6","footer":"Dialog-module__3o8NTS6m__v2-0-6","footerShadowed":"Dialog-module__1s03rY8s__v2-0-6","footerAction":"Dialog-module__2YsxojU___v2-0-6"}; | ||
var styles$1 = {"dialog":"Dialog-module__2icvnh15__v2-0-7","size-small":"Dialog-module__3spVEVua__v2-0-7","size-medium":"Dialog-module__-zWxw4HX__v2-0-7","size-large":"Dialog-module__3wZ2NPV0__v2-0-7","header":"Dialog-module__2wAUH40a__v2-0-7","headerShadowed":"Dialog-module__xODFOi1M__v2-0-7","headerTitle":"Dialog-module__1lxoaZF6__v2-0-7","closeButton":"Dialog-module__2l9SSdo___v2-0-7","body":"Dialog-module__1bPY4avA__v2-0-7","footer":"Dialog-module__3o8NTS6m__v2-0-7","footerShadowed":"Dialog-module__1s03rY8s__v2-0-7","footerAction":"Dialog-module__2YsxojU___v2-0-7"}; | ||
@@ -313,3 +313,3 @@ function useEventListener(t,r,i,o){void 0===i&&(i=global),void 0===o&&(o={});var c=React.useRef(),u=o.capture,a=o.passive,v=o.once;React.useEffect(function(){c.current=r;},[r]),React.useEffect(function(){if(i&&i.addEventListener){var e=function(e){return c.current(e)},n={capture:u,passive:a,once:v};return i.addEventListener(t,e,n),function(){i.removeEventListener(t,e,n);}}},[t,i,u,a,v]);} | ||
var styles = {"modal":"Modal-module__i5Pbh60m__v2-0-6","modalBackdrop":"Modal-module__ZVIwEMrU__v2-0-6","modalContent":"Modal-module__3UHa_kcB__v2-0-6","scrollLocked":"Modal-module__1T2Qjbem__v2-0-6"}; | ||
var styles = {"modal":"Modal-module__i5Pbh60m__v2-0-7","modalBackdrop":"Modal-module__ZVIwEMrU__v2-0-7","modalContent":"Modal-module__3UHa_kcB__v2-0-7","scrollLocked":"Modal-module__1T2Qjbem__v2-0-7"}; | ||
@@ -316,0 +316,0 @@ var Modal = function (_a) { |
@@ -38,3 +38,3 @@ import React, { useRef, useEffect, useCallback, useState } from 'react'; | ||
var styles$1 = {"dialog":"Dialog-module__2icvnh15__v2-0-6","size-small":"Dialog-module__3spVEVua__v2-0-6","size-medium":"Dialog-module__-zWxw4HX__v2-0-6","size-large":"Dialog-module__3wZ2NPV0__v2-0-6","header":"Dialog-module__2wAUH40a__v2-0-6","headerShadowed":"Dialog-module__xODFOi1M__v2-0-6","headerTitle":"Dialog-module__1lxoaZF6__v2-0-6","closeButton":"Dialog-module__2l9SSdo___v2-0-6","body":"Dialog-module__1bPY4avA__v2-0-6","footer":"Dialog-module__3o8NTS6m__v2-0-6","footerShadowed":"Dialog-module__1s03rY8s__v2-0-6","footerAction":"Dialog-module__2YsxojU___v2-0-6"}; | ||
var styles$1 = {"dialog":"Dialog-module__2icvnh15__v2-0-7","size-small":"Dialog-module__3spVEVua__v2-0-7","size-medium":"Dialog-module__-zWxw4HX__v2-0-7","size-large":"Dialog-module__3wZ2NPV0__v2-0-7","header":"Dialog-module__2wAUH40a__v2-0-7","headerShadowed":"Dialog-module__xODFOi1M__v2-0-7","headerTitle":"Dialog-module__1lxoaZF6__v2-0-7","closeButton":"Dialog-module__2l9SSdo___v2-0-7","body":"Dialog-module__1bPY4avA__v2-0-7","footer":"Dialog-module__3o8NTS6m__v2-0-7","footerShadowed":"Dialog-module__1s03rY8s__v2-0-7","footerAction":"Dialog-module__2YsxojU___v2-0-7"}; | ||
@@ -302,3 +302,3 @@ function useEventListener(t,r,i,o){void 0===i&&(i=global),void 0===o&&(o={});var c=useRef(),u=o.capture,a=o.passive,v=o.once;useEffect(function(){c.current=r;},[r]),useEffect(function(){if(i&&i.addEventListener){var e=function(e){return c.current(e)},n={capture:u,passive:a,once:v};return i.addEventListener(t,e,n),function(){i.removeEventListener(t,e,n);}}},[t,i,u,a,v]);} | ||
var styles = {"modal":"Modal-module__i5Pbh60m__v2-0-6","modalBackdrop":"Modal-module__ZVIwEMrU__v2-0-6","modalContent":"Modal-module__3UHa_kcB__v2-0-6","scrollLocked":"Modal-module__1T2Qjbem__v2-0-6"}; | ||
var styles = {"modal":"Modal-module__i5Pbh60m__v2-0-7","modalBackdrop":"Modal-module__ZVIwEMrU__v2-0-7","modalContent":"Modal-module__3UHa_kcB__v2-0-7","scrollLocked":"Modal-module__1T2Qjbem__v2-0-7"}; | ||
@@ -305,0 +305,0 @@ var Modal = function (_a) { |
{ | ||
"name": "@highlight-ui/dialog", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"author": "PPU", | ||
@@ -26,3 +26,3 @@ "main": "dist/cjs/index.js", | ||
"devDependencies": { | ||
"@highlight-ui/configs-base-jest": "^1.1.2", | ||
"@highlight-ui/configs-base-jest": "^1.1.3", | ||
"@highlight-ui/configs-base-tsconfig": "^1.1.1", | ||
@@ -32,6 +32,6 @@ "@highlight-ui/configs-scripts": "^1.0.1", | ||
"@storybook/react": "^6.2.7", | ||
"@testing-library/react": "^11.2.5", | ||
"@testing-library/user-event": "^12.6.3", | ||
"@testing-library/react": "^12.0.0", | ||
"@testing-library/user-event": "^13.1.9", | ||
"classnames": "^2.3.1", | ||
"jest": "^26.6.0", | ||
"jest": "^27.0.6", | ||
"react": "^17.0.0", | ||
@@ -42,8 +42,8 @@ "rimraf": "^3.0.2" | ||
"@charlietango/use-focus-trap": "^1.3.0", | ||
"@highlight-ui/button": "^4.0.4", | ||
"@highlight-ui/icon": "^3.0.4", | ||
"@highlight-ui/typography": "^3.0.4", | ||
"@highlight-ui/utils-commons": "^1.3.1", | ||
"@highlight-ui/utils-hooks": "^1.2.5", | ||
"@highlight-ui/utils-portal-manager": "^2.1.14", | ||
"@highlight-ui/button": "^4.0.5", | ||
"@highlight-ui/icon": "^3.0.5", | ||
"@highlight-ui/typography": "^3.0.5", | ||
"@highlight-ui/utils-commons": "^1.3.2", | ||
"@highlight-ui/utils-hooks": "^1.2.6", | ||
"@highlight-ui/utils-portal-manager": "^2.1.15", | ||
"@use-it/event-listener": "^0.1.6" | ||
@@ -56,3 +56,3 @@ }, | ||
}, | ||
"gitHead": "54aef010bff315799d0e6ccff36b4ffe1d2b02a6" | ||
"gitHead": "5766139146372487864c267f89740929ca993c50" | ||
} |
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