@highlight-ui/dialog
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -49,3 +49,3 @@ 'use strict'; | ||
var styles$1 = {"dialog":"Dialog-module__2icvnh15__v2-0-1","size-small":"Dialog-module__3spVEVua__v2-0-1","size-medium":"Dialog-module__-zWxw4HX__v2-0-1","size-large":"Dialog-module__3wZ2NPV0__v2-0-1","header":"Dialog-module__2wAUH40a__v2-0-1","headerShadowed":"Dialog-module__xODFOi1M__v2-0-1","headerTitle":"Dialog-module__1lxoaZF6__v2-0-1","closeButton":"Dialog-module__2l9SSdo___v2-0-1","body":"Dialog-module__1bPY4avA__v2-0-1","footer":"Dialog-module__3o8NTS6m__v2-0-1","footerShadowed":"Dialog-module__1s03rY8s__v2-0-1","footerAction":"Dialog-module__2YsxojU___v2-0-1"}; | ||
var styles$1 = {"dialog":"Dialog-module__2icvnh15__v2-0-2","size-small":"Dialog-module__3spVEVua__v2-0-2","size-medium":"Dialog-module__-zWxw4HX__v2-0-2","size-large":"Dialog-module__3wZ2NPV0__v2-0-2","header":"Dialog-module__2wAUH40a__v2-0-2","headerShadowed":"Dialog-module__xODFOi1M__v2-0-2","headerTitle":"Dialog-module__1lxoaZF6__v2-0-2","closeButton":"Dialog-module__2l9SSdo___v2-0-2","body":"Dialog-module__1bPY4avA__v2-0-2","footer":"Dialog-module__3o8NTS6m__v2-0-2","footerShadowed":"Dialog-module__1s03rY8s__v2-0-2","footerAction":"Dialog-module__2YsxojU___v2-0-2"}; | ||
@@ -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-1","modalBackdrop":"Modal-module__ZVIwEMrU__v2-0-1","modalContent":"Modal-module__3UHa_kcB__v2-0-1","scrollLocked":"Modal-module__1T2Qjbem__v2-0-1"}; | ||
var styles = {"modal":"Modal-module__i5Pbh60m__v2-0-2","modalBackdrop":"Modal-module__ZVIwEMrU__v2-0-2","modalContent":"Modal-module__3UHa_kcB__v2-0-2","scrollLocked":"Modal-module__1T2Qjbem__v2-0-2"}; | ||
@@ -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-1","size-small":"Dialog-module__3spVEVua__v2-0-1","size-medium":"Dialog-module__-zWxw4HX__v2-0-1","size-large":"Dialog-module__3wZ2NPV0__v2-0-1","header":"Dialog-module__2wAUH40a__v2-0-1","headerShadowed":"Dialog-module__xODFOi1M__v2-0-1","headerTitle":"Dialog-module__1lxoaZF6__v2-0-1","closeButton":"Dialog-module__2l9SSdo___v2-0-1","body":"Dialog-module__1bPY4avA__v2-0-1","footer":"Dialog-module__3o8NTS6m__v2-0-1","footerShadowed":"Dialog-module__1s03rY8s__v2-0-1","footerAction":"Dialog-module__2YsxojU___v2-0-1"}; | ||
var styles$1 = {"dialog":"Dialog-module__2icvnh15__v2-0-2","size-small":"Dialog-module__3spVEVua__v2-0-2","size-medium":"Dialog-module__-zWxw4HX__v2-0-2","size-large":"Dialog-module__3wZ2NPV0__v2-0-2","header":"Dialog-module__2wAUH40a__v2-0-2","headerShadowed":"Dialog-module__xODFOi1M__v2-0-2","headerTitle":"Dialog-module__1lxoaZF6__v2-0-2","closeButton":"Dialog-module__2l9SSdo___v2-0-2","body":"Dialog-module__1bPY4avA__v2-0-2","footer":"Dialog-module__3o8NTS6m__v2-0-2","footerShadowed":"Dialog-module__1s03rY8s__v2-0-2","footerAction":"Dialog-module__2YsxojU___v2-0-2"}; | ||
@@ -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-1","modalBackdrop":"Modal-module__ZVIwEMrU__v2-0-1","modalContent":"Modal-module__3UHa_kcB__v2-0-1","scrollLocked":"Modal-module__1T2Qjbem__v2-0-1"}; | ||
var styles = {"modal":"Modal-module__i5Pbh60m__v2-0-2","modalBackdrop":"Modal-module__ZVIwEMrU__v2-0-2","modalContent":"Modal-module__3UHa_kcB__v2-0-2","scrollLocked":"Modal-module__1T2Qjbem__v2-0-2"}; | ||
@@ -305,0 +305,0 @@ var Modal = function (_a) { |
{ | ||
"name": "@highlight-ui/dialog", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"author": "PPU", | ||
@@ -49,6 +49,6 @@ "main": "dist/cjs/index.js", | ||
"@charlietango/use-focus-trap": "^1.3.0", | ||
"@highlight-ui/button": "^4.0.1", | ||
"@highlight-ui/icon": "^3.0.1", | ||
"@highlight-ui/button": "^4.0.2", | ||
"@highlight-ui/icon": "^3.0.2", | ||
"@highlight-ui/typography": "^3.0.1", | ||
"@highlight-ui/utils-commons": "^1.2.2", | ||
"@highlight-ui/utils-commons": "^1.3.0", | ||
"@highlight-ui/utils-hooks": "^1.2.3", | ||
@@ -63,3 +63,3 @@ "@highlight-ui/utils-portal-manager": "^2.1.11", | ||
}, | ||
"gitHead": "140d73232ec4c7449b27abbc64f607f56537e88b" | ||
"gitHead": "06c169a0a1c3216e155becb23eee1b802518d5fd" | ||
} |
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