@atlaskit/inline-dialog 14.2.3 → 14.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/inline-dialog
2
2
 
3
+ ## 14.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 14.2.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [#120049](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120049)
14
+ [`77504ff274f72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77504ff274f72) -
15
+ DSP-19576: Assign names to anonymous default exports
16
+
3
17
  ## 14.2.3
4
18
 
5
19
  ### Patch Changes
@@ -20,13 +20,13 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
20
20
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
21
  /**
22
22
  * @jsxRuntime classic
23
+ * @jsx jsx
23
24
  */
24
- /** @jsx jsx */
25
25
 
26
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
27
27
 
28
28
  var packageName = "@atlaskit/inline-dialog";
29
- var packageVersion = "14.2.3";
29
+ var packageVersion = "14.2.5";
30
30
  var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
31
31
  if (!node) {
32
32
  return false;
@@ -43,7 +43,7 @@ var EscapeCloseManager = function EscapeCloseManager(_ref) {
43
43
  // only create a dummy component for using ths hook in class component
44
44
  return (0, _react2.jsx)("span", null);
45
45
  };
46
- var InlineDialog = exports.InlineDialogWithoutAnalytics = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref2) {
46
+ var InlineDialogComponent = exports.InlineDialogWithoutAnalytics = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref2) {
47
47
  var _ref2$isOpen = _ref2.isOpen,
48
48
  isOpen = _ref2$isOpen === void 0 ? false : _ref2$isOpen,
49
49
  _ref2$onContentBlur = _ref2.onContentBlur,
@@ -193,9 +193,21 @@ var InlineDialog = exports.InlineDialogWithoutAnalytics = /*#__PURE__*/(0, _reac
193
193
  handleClose: handleCloseRequest
194
194
  })) : popper);
195
195
  });
196
- InlineDialog.displayName = 'InlineDialog';
196
+ InlineDialogComponent.displayName = 'InlineDialog';
197
197
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
198
- var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
198
+
199
+ /**
200
+ * __Inline dialog__
201
+ *
202
+ * _We are planning on deprecating Inline dialog. We recommend using the Popup component instead._
203
+ *
204
+ * An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
205
+ *
206
+ * - [Examples](https://atlassian.design/components/inline-dialog/examples)
207
+ * - [Code](https://atlassian.design/components/inline-dialog/code)
208
+ * - [Usage](https://atlassian.design/components/inline-dialog/usage)
209
+ */
210
+ var InlineDialog = (0, _analyticsNext.withAnalyticsContext)({
199
211
  componentName: 'inlineDialog',
200
212
  packageName: packageName,
201
213
  packageVersion: packageVersion
@@ -209,4 +221,5 @@ var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
209
221
  packageVersion: packageVersion
210
222
  }
211
223
  })
212
- })(InlineDialog));
224
+ })(InlineDialogComponent));
225
+ var _default = exports.default = InlineDialog;
@@ -16,7 +16,8 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
16
16
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
17
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /**
18
18
  * @jsxRuntime classic
19
- */ /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
+ * @jsx jsx
20
+ */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
20
21
  var CSS_THEME_BACKGROUND = '--theme-background';
21
22
  var CSS_THEME_COLOR = '--theme-color';
22
23
  var CSS_THEME_BOX_SHADOW = '--theme-box-shadow';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import React, { memo, useCallback, useEffect, useRef } from 'react';
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -15,7 +15,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import { Manager, Popper, Reference } from '@atlaskit/popper';
16
16
  import { Container } from './styled/container';
17
17
  const packageName = "@atlaskit/inline-dialog";
18
- const packageVersion = "14.2.3";
18
+ const packageVersion = "14.2.5";
19
19
  const checkIsChildOfPortal = node => {
20
20
  if (!node) {
21
21
  return false;
@@ -33,7 +33,7 @@ const EscapeCloseManager = ({
33
33
  // only create a dummy component for using ths hook in class component
34
34
  return jsx("span", null);
35
35
  };
36
- const InlineDialog = /*#__PURE__*/memo(function InlineDialog({
36
+ const InlineDialogComponent = /*#__PURE__*/memo(function InlineDialog({
37
37
  isOpen = false,
38
38
  onContentBlur = noop,
39
39
  onContentClick = noop,
@@ -177,10 +177,22 @@ const InlineDialog = /*#__PURE__*/memo(function InlineDialog({
177
177
  handleClose: handleCloseRequest
178
178
  })) : popper);
179
179
  });
180
- InlineDialog.displayName = 'InlineDialog';
181
- export { InlineDialog as InlineDialogWithoutAnalytics };
180
+ InlineDialogComponent.displayName = 'InlineDialog';
181
+ export { InlineDialogComponent as InlineDialogWithoutAnalytics };
182
182
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
183
- export default withAnalyticsContext({
183
+
184
+ /**
185
+ * __Inline dialog__
186
+ *
187
+ * _We are planning on deprecating Inline dialog. We recommend using the Popup component instead._
188
+ *
189
+ * An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
190
+ *
191
+ * - [Examples](https://atlassian.design/components/inline-dialog/examples)
192
+ * - [Code](https://atlassian.design/components/inline-dialog/code)
193
+ * - [Usage](https://atlassian.design/components/inline-dialog/usage)
194
+ */
195
+ const InlineDialog = withAnalyticsContext({
184
196
  componentName: 'inlineDialog',
185
197
  packageName,
186
198
  packageVersion
@@ -194,4 +206,5 @@ export default withAnalyticsContext({
194
206
  packageVersion
195
207
  }
196
208
  })
197
- })(InlineDialog));
209
+ })(InlineDialogComponent));
210
+ export default InlineDialog;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import React, { forwardRef } from 'react';
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import React, { memo, useCallback, useEffect, useRef } from 'react';
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -15,7 +15,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import { Manager, Popper, Reference } from '@atlaskit/popper';
16
16
  import { Container } from './styled/container';
17
17
  var packageName = "@atlaskit/inline-dialog";
18
- var packageVersion = "14.2.3";
18
+ var packageVersion = "14.2.5";
19
19
  var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
20
20
  if (!node) {
21
21
  return false;
@@ -32,7 +32,7 @@ var EscapeCloseManager = function EscapeCloseManager(_ref) {
32
32
  // only create a dummy component for using ths hook in class component
33
33
  return jsx("span", null);
34
34
  };
35
- var InlineDialog = /*#__PURE__*/memo(function InlineDialog(_ref2) {
35
+ var InlineDialogComponent = /*#__PURE__*/memo(function InlineDialog(_ref2) {
36
36
  var _ref2$isOpen = _ref2.isOpen,
37
37
  isOpen = _ref2$isOpen === void 0 ? false : _ref2$isOpen,
38
38
  _ref2$onContentBlur = _ref2.onContentBlur,
@@ -182,10 +182,22 @@ var InlineDialog = /*#__PURE__*/memo(function InlineDialog(_ref2) {
182
182
  handleClose: handleCloseRequest
183
183
  })) : popper);
184
184
  });
185
- InlineDialog.displayName = 'InlineDialog';
186
- export { InlineDialog as InlineDialogWithoutAnalytics };
185
+ InlineDialogComponent.displayName = 'InlineDialog';
186
+ export { InlineDialogComponent as InlineDialogWithoutAnalytics };
187
187
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
188
- export default withAnalyticsContext({
188
+
189
+ /**
190
+ * __Inline dialog__
191
+ *
192
+ * _We are planning on deprecating Inline dialog. We recommend using the Popup component instead._
193
+ *
194
+ * An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
195
+ *
196
+ * - [Examples](https://atlassian.design/components/inline-dialog/examples)
197
+ * - [Code](https://atlassian.design/components/inline-dialog/code)
198
+ * - [Usage](https://atlassian.design/components/inline-dialog/usage)
199
+ */
200
+ var InlineDialog = withAnalyticsContext({
189
201
  componentName: 'inlineDialog',
190
202
  packageName: packageName,
191
203
  packageVersion: packageVersion
@@ -199,4 +211,5 @@ export default withAnalyticsContext({
199
211
  packageVersion: packageVersion
200
212
  }
201
213
  })
202
- })(InlineDialog));
214
+ })(InlineDialogComponent));
215
+ export default InlineDialog;
@@ -3,8 +3,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  /**
5
5
  * @jsxRuntime classic
6
+ * @jsx jsx
6
7
  */
7
- /** @jsx jsx */
8
8
  import React, { forwardRef } from 'react';
9
9
 
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,10 +1,21 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import React, { type FC } from 'react';
6
6
  import type { InlineDialogProps } from '../types';
7
- declare const InlineDialog: FC<InlineDialogProps>;
8
- export { InlineDialog as InlineDialogWithoutAnalytics };
9
- declare const _default: React.ForwardRefExoticComponent<Pick<Omit<InlineDialogProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "children" | "content" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy" | "testId" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
10
- export default _default;
7
+ declare const InlineDialogComponent: FC<InlineDialogProps>;
8
+ export { InlineDialogComponent as InlineDialogWithoutAnalytics };
9
+ /**
10
+ * __Inline dialog__
11
+ *
12
+ * _We are planning on deprecating Inline dialog. We recommend using the Popup component instead._
13
+ *
14
+ * An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
15
+ *
16
+ * - [Examples](https://atlassian.design/components/inline-dialog/examples)
17
+ * - [Code](https://atlassian.design/components/inline-dialog/code)
18
+ * - [Usage](https://atlassian.design/components/inline-dialog/usage)
19
+ */
20
+ declare const InlineDialog: React.ForwardRefExoticComponent<Pick<Omit<InlineDialogProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "children" | "content" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy" | "testId" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
21
+ export default InlineDialog;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import React from 'react';
6
6
  interface ContainerProps {
7
7
  children: React.ReactNode;
@@ -1,10 +1,21 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import React, { type FC } from 'react';
6
6
  import type { InlineDialogProps } from '../types';
7
- declare const InlineDialog: FC<InlineDialogProps>;
8
- export { InlineDialog as InlineDialogWithoutAnalytics };
9
- declare const _default: React.ForwardRefExoticComponent<Pick<Omit<InlineDialogProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "children" | "content" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy" | "testId" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
10
- export default _default;
7
+ declare const InlineDialogComponent: FC<InlineDialogProps>;
8
+ export { InlineDialogComponent as InlineDialogWithoutAnalytics };
9
+ /**
10
+ * __Inline dialog__
11
+ *
12
+ * _We are planning on deprecating Inline dialog. We recommend using the Popup component instead._
13
+ *
14
+ * An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
15
+ *
16
+ * - [Examples](https://atlassian.design/components/inline-dialog/examples)
17
+ * - [Code](https://atlassian.design/components/inline-dialog/code)
18
+ * - [Usage](https://atlassian.design/components/inline-dialog/usage)
19
+ */
20
+ declare const InlineDialog: React.ForwardRefExoticComponent<Pick<Omit<InlineDialogProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "children" | "content" | "isOpen" | "onContentBlur" | "onContentClick" | "onContentFocus" | "onClose" | "placement" | "strategy" | "testId" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
21
+ export default InlineDialog;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import React from 'react';
6
6
  interface ContainerProps {
7
7
  children: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-dialog",
3
- "version": "14.2.3",
3
+ "version": "14.2.5",
4
4
  "description": "An inline dialog is a pop-up container for small amounts of information. It can also contain controls.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,13 +41,13 @@
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@atlaskit/analytics-next": "^9.3.0",
44
+ "@atlaskit/analytics-next": "^10.0.0",
45
45
  "@atlaskit/ds-lib": "^2.3.0",
46
46
  "@atlaskit/layering": "^0.3.0",
47
47
  "@atlaskit/platform-feature-flags": "^0.3.0",
48
48
  "@atlaskit/popper": "^6.1.0",
49
49
  "@atlaskit/theme": "^12.11.0",
50
- "@atlaskit/tokens": "^1.53.0",
50
+ "@atlaskit/tokens": "^1.57.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@emotion/react": "^11.7.1",
53
53
  "bind-event-listener": "^3.0.0",
@@ -60,9 +60,10 @@
60
60
  "@af/accessibility-testing": "*",
61
61
  "@af/integration-testing": "*",
62
62
  "@af/visual-regression": "*",
63
- "@atlaskit/button": "^18.1.0",
64
- "@atlaskit/datetime-picker": "^13.7.0",
63
+ "@atlaskit/button": "^19.1.0",
64
+ "@atlaskit/datetime-picker": "^13.8.0",
65
65
  "@atlaskit/docs": "*",
66
+ "@atlaskit/dropdown-menu": "^12.15.0",
66
67
  "@atlaskit/modal-dialog": "^12.14.0",
67
68
  "@atlaskit/section-message": "^6.5.0",
68
69
  "@atlaskit/select": "^17.11.0",
@@ -111,10 +112,6 @@
111
112
  }
112
113
  },
113
114
  "platform-feature-flags": {
114
- "platform.design-system-team.layering_qmiw3": {
115
- "type": "boolean",
116
- "referenceOnly": true
117
- },
118
115
  "platform.design-system-team.inline-message-layering_wfp1p": {
119
116
  "type": "boolean"
120
117
  }