@atlaskit/modal-dialog
Advanced tools
Comparing version 12.15.3 to 12.15.4
@@ -20,3 +20,2 @@ "use strict"; | ||
var _fadeIn = _interopRequireDefault(require("@atlaskit/motion/fade-in")); | ||
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags"); | ||
var _primitives = require("@atlaskit/primitives"); | ||
@@ -35,10 +34,2 @@ var _colors = require("@atlaskit/theme/colors"); | ||
*/ | ||
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 | ||
// reset pointer-events on iframe inside modal | ||
var resetPointerEventsOnIframeStyles = (0, _react2.css)({ | ||
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766 | ||
'iframe:is([aria-modal] iframe)': { | ||
pointerEvents: 'auto' | ||
} | ||
}); | ||
var dialogStyles = (0, _react2.css)((_css = { | ||
@@ -154,5 +145,3 @@ display: 'flex', | ||
"aria-modal": true | ||
}), children, (0, _platformFeatureFlags.fg)('platform.design-system-team.iframe_gojiv') && (0, _react2.jsx)(_react2.Global, { | ||
styles: resetPointerEventsOnIframeStyles | ||
}))); | ||
}), children)); | ||
})))); | ||
@@ -159,0 +148,0 @@ }; |
@@ -102,3 +102,3 @@ "use strict"; | ||
packageName: "@atlaskit/modal-dialog", | ||
packageVersion: "12.15.3" | ||
packageVersion: "12.15.4" | ||
}); | ||
@@ -105,0 +105,0 @@ var onBlanketClicked = (0, _react.useCallback)(function (e) { |
@@ -7,5 +7,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import { useMemo } from 'react'; | ||
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 | ||
import { css, Global, jsx } from '@emotion/react'; | ||
import { css, jsx } from '@emotion/react'; | ||
import mergeRefs from '@atlaskit/ds-lib/merge-refs'; | ||
@@ -17,3 +15,2 @@ import { useId } from '@atlaskit/ds-lib/react-uid'; | ||
import FadeIn from '@atlaskit/motion/fade-in'; | ||
import { fg } from '@atlaskit/platform-feature-flags'; | ||
import { media } from '@atlaskit/primitives'; | ||
@@ -27,10 +24,2 @@ import { N0, N30A, N60A } from '@atlaskit/theme/colors'; | ||
import Positioner from './positioner'; | ||
// reset pointer-events on iframe inside modal | ||
const resetPointerEventsOnIframeStyles = css({ | ||
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766 | ||
'iframe:is([aria-modal] iframe)': { | ||
pointerEvents: 'auto' | ||
} | ||
}); | ||
const dialogStyles = css({ | ||
@@ -152,5 +141,3 @@ display: 'flex', | ||
"aria-modal": true | ||
}), children, fg('platform.design-system-team.iframe_gojiv') && jsx(Global, { | ||
styles: resetPointerEventsOnIframeStyles | ||
}))))))); | ||
}), children)))))); | ||
}; | ||
@@ -157,0 +144,0 @@ |
@@ -87,3 +87,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/modal-dialog", | ||
packageVersion: "12.15.3" | ||
packageVersion: "12.15.4" | ||
}); | ||
@@ -90,0 +90,0 @@ const onBlanketClicked = useCallback(e => { |
@@ -11,5 +11,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import { useMemo } from 'react'; | ||
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 | ||
import { css, Global, jsx } from '@emotion/react'; | ||
import { css, jsx } from '@emotion/react'; | ||
import mergeRefs from '@atlaskit/ds-lib/merge-refs'; | ||
@@ -21,3 +19,2 @@ import { useId } from '@atlaskit/ds-lib/react-uid'; | ||
import FadeIn from '@atlaskit/motion/fade-in'; | ||
import { fg } from '@atlaskit/platform-feature-flags'; | ||
import { media } from '@atlaskit/primitives'; | ||
@@ -31,10 +28,2 @@ import { N0, N30A, N60A } from '@atlaskit/theme/colors'; | ||
import Positioner from './positioner'; | ||
// reset pointer-events on iframe inside modal | ||
var resetPointerEventsOnIframeStyles = css({ | ||
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766 | ||
'iframe:is([aria-modal] iframe)': { | ||
pointerEvents: 'auto' | ||
} | ||
}); | ||
var dialogStyles = css((_css = { | ||
@@ -150,5 +139,3 @@ display: 'flex', | ||
"aria-modal": true | ||
}), children, fg('platform.design-system-team.iframe_gojiv') && jsx(Global, { | ||
styles: resetPointerEventsOnIframeStyles | ||
}))); | ||
}), children)); | ||
})))); | ||
@@ -155,0 +142,0 @@ }; |
@@ -92,3 +92,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/modal-dialog", | ||
packageVersion: "12.15.3" | ||
packageVersion: "12.15.4" | ||
}); | ||
@@ -95,0 +95,0 @@ var onBlanketClicked = useCallback(function (e) { |
{ | ||
"name": "@atlaskit/modal-dialog", | ||
"version": "12.15.3", | ||
"version": "12.15.4", | ||
"description": "A modal dialog displays content that requires user interaction, in a layer above the page.", | ||
@@ -19,6 +19,2 @@ "publishConfig": { | ||
"team": "Design System Team", | ||
"releaseModel": "continuous", | ||
"productPushConsumption": [ | ||
"jira" | ||
], | ||
"website": { | ||
@@ -42,5 +38,4 @@ "name": "Modal dialog", | ||
"@atlaskit/motion": "^1.9.0", | ||
"@atlaskit/platform-feature-flags": "^0.3.0", | ||
"@atlaskit/portal": "^4.9.0", | ||
"@atlaskit/primitives": "^12.0.0", | ||
"@atlaskit/primitives": "^12.1.0", | ||
"@atlaskit/theme": "^13.0.0", | ||
@@ -64,4 +59,4 @@ "@atlaskit/tokens": "^1.59.0", | ||
"@atlaskit/checkbox": "^13.7.0", | ||
"@atlaskit/dropdown-menu": "^12.17.0", | ||
"@atlaskit/popup": "^1.23.0", | ||
"@atlaskit/dropdown-menu": "^12.18.0", | ||
"@atlaskit/popup": "^1.24.0", | ||
"@atlaskit/radio": "^6.5.0", | ||
@@ -131,8 +126,3 @@ "@atlaskit/select": "^17.15.0", | ||
}, | ||
"platform-feature-flags": { | ||
"platform.design-system-team.iframe_gojiv": { | ||
"type": "boolean" | ||
} | ||
}, | ||
"homepage": "https://atlassian.design/components/modal-dialog/" | ||
} |
Sorry, the diff of this file is too big to display
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
19
459975
9443