Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/inline-dialog

Package Overview
Dependencies
Maintainers
1
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/inline-dialog - npm Package Compare versions

Comparing version 13.2.2 to 13.3.0

10

CHANGELOG.md
# @atlaskit/inline-dialog
## 13.3.0
### Minor Changes
- [`2a53f51adc6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2a53f51adc6) - Introduce the prop `strategy` to allow consumers to override the default positioning strategy
### Patch Changes
- Updated dependencies
## 13.2.2

@@ -4,0 +14,0 @@

7

dist/cjs/InlineDialog/index.js

@@ -34,3 +34,3 @@ "use strict";

var packageName = "@atlaskit/inline-dialog";
var packageVersion = "13.2.2";
var packageVersion = "13.3.0";

@@ -58,2 +58,4 @@ var checkIsChildOfPortal = function checkIsChildOfPortal(node) {

placement = _ref$placement === void 0 ? 'bottom-start' : _ref$placement,
_ref$strategy = _ref.strategy,
strategy = _ref$strategy === void 0 ? 'fixed' : _ref$strategy,
testId = _ref.testId,

@@ -121,3 +123,4 @@ content = _ref.content,

var popper = isOpen ? (0, _core.jsx)(_popper.Popper, {
placement: placement
placement: placement,
strategy: strategy
}, function (_ref2) {

@@ -124,0 +127,0 @@ var _ref3 = _ref2.ref,

{
"name": "@atlaskit/inline-dialog",
"version": "13.2.2",
"version": "13.3.0",
"sideEffects": false
}

@@ -11,3 +11,3 @@ /** @jsx jsx */

const packageName = "@atlaskit/inline-dialog";
const packageVersion = "13.2.2";
const packageVersion = "13.3.0";

@@ -29,2 +29,3 @@ const checkIsChildOfPortal = node => {

placement = 'bottom-start',
strategy = 'fixed',
testId,

@@ -93,3 +94,4 @@ content,

const popper = isOpen ? jsx(Popper, {
placement: placement
placement: placement,
strategy: strategy
}, ({

@@ -96,0 +98,0 @@ ref,

{
"name": "@atlaskit/inline-dialog",
"version": "13.2.2",
"version": "13.3.0",
"sideEffects": false
}

@@ -11,3 +11,3 @@ /** @jsx jsx */

var packageName = "@atlaskit/inline-dialog";
var packageVersion = "13.2.2";
var packageVersion = "13.3.0";

@@ -35,2 +35,4 @@ var checkIsChildOfPortal = function checkIsChildOfPortal(node) {

placement = _ref$placement === void 0 ? 'bottom-start' : _ref$placement,
_ref$strategy = _ref.strategy,
strategy = _ref$strategy === void 0 ? 'fixed' : _ref$strategy,
testId = _ref.testId,

@@ -98,3 +100,4 @@ content = _ref.content,

var popper = isOpen ? jsx(Popper, {
placement: placement
placement: placement,
strategy: strategy
}, function (_ref2) {

@@ -101,0 +104,0 @@ var _ref3 = _ref2.ref,

{
"name": "@atlaskit/inline-dialog",
"version": "13.2.2",
"version": "13.3.0",
"sideEffects": false
}

@@ -6,3 +6,3 @@ /** @jsx jsx */

export { InlineDialog as InlineDialogWithoutAnalytics };
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<React.PropsWithChildren<InlineDialogProps>, "content" | "children" | "testId" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement"> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "content" | "children" | "testId" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<React.PropsWithChildren<InlineDialogProps>, "content" | "children" | "testId" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy"> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "content" | "children" | "testId" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
export default _default;

@@ -42,2 +42,6 @@ import { ReactNode } from 'react';

/**
* Placement strategy used. Can be 'fixed' or 'absolute'. Defaults to 'fixed'.
*/
strategy?: 'fixed' | 'absolute';
/**
* A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests

@@ -44,0 +48,0 @@ */

{
"name": "@atlaskit/inline-dialog",
"version": "13.2.2",
"version": "13.3.0",
"description": "An inline dialog is a pop-up container for small amounts of information. It can also contain controls.",

@@ -27,3 +27,3 @@ "publishConfig": {

"@atlaskit/analytics-next": "^8.2.0",
"@atlaskit/ds-lib": "^1.3.0",
"@atlaskit/ds-lib": "^1.4.0",
"@atlaskit/popper": "^5.0.0",

@@ -30,0 +30,0 @@ "@atlaskit/theme": "^12.1.0",

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