@atlaskit/inline-dialog 14.1.2 → 14.2.0

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,18 @@
1
1
  # @atlaskit/inline-dialog
2
2
 
3
+ ## 14.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#110670](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110670)
8
+ [`c733254a2dd6e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c733254a2dd6e) -
9
+ Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
10
+ is implicitly set to automatic.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 14.1.2
4
17
 
5
18
  ### Patch Changes
@@ -20,7 +33,7 @@
20
33
 
21
34
  - [#102965](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102965)
22
35
  [`af5ae74f2af1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/af5ae74f2af1) -
23
- Add support for React 18.
36
+ Add support for React 18 in non-strict mode.
24
37
 
25
38
  ## 14.0.4
26
39
 
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Inline dialog
2
2
 
3
- An inline dialog is a pop-up container for small amounts of information. It can also contain controls.
3
+ An inline dialog is a pop-up container for small amounts of information. It can also contain
4
+ controls.
4
5
 
5
6
  ## Installation
6
7
 
@@ -10,4 +11,5 @@ yarn add @atlaskit/inline-dialog
10
11
 
11
12
  ## Usage
12
13
 
13
- Detailed docs and example usage can be found [here](https://atlassian.design/components/inline-dialog/).
14
+ Detailed docs and example usage can be found
15
+ [here](https://atlassian.design/components/inline-dialog/).
@@ -3,36 +3,36 @@ import React, { Component } from 'react';
3
3
  import InlineDialog from '../src';
4
4
 
5
5
  interface State {
6
- dialogOpen: boolean;
6
+ dialogOpen: boolean;
7
7
  }
8
8
 
9
9
  const content = (
10
- <div>
11
- <p>Hello!</p>
12
- </div>
10
+ <div>
11
+ <p>Hello!</p>
12
+ </div>
13
13
  );
14
14
 
15
15
  export default class InlineDialogExample extends Component<{}, State> {
16
- state = {
17
- dialogOpen: true,
18
- };
16
+ state = {
17
+ dialogOpen: true,
18
+ };
19
19
 
20
- toggleDialog = () => this.setState({ dialogOpen: !this.state.dialogOpen });
20
+ toggleDialog = () => this.setState({ dialogOpen: !this.state.dialogOpen });
21
21
 
22
- render() {
23
- return (
24
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
25
- <div style={{ minHeight: '120px' }}>
26
- <InlineDialog
27
- onClose={() => {
28
- this.setState({ dialogOpen: false });
29
- }}
30
- content={content}
31
- isOpen={this.state.dialogOpen}
32
- >
33
- A plain dialog
34
- </InlineDialog>
35
- </div>
36
- );
37
- }
22
+ render() {
23
+ return (
24
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
25
+ <div style={{ minHeight: '120px' }}>
26
+ <InlineDialog
27
+ onClose={() => {
28
+ this.setState({ dialogOpen: false });
29
+ }}
30
+ content={content}
31
+ isOpen={this.state.dialogOpen}
32
+ >
33
+ A plain dialog
34
+ </InlineDialog>
35
+ </div>
36
+ );
37
+ }
38
38
  }
@@ -18,10 +18,15 @@ var _popper = require("@atlaskit/popper");
18
18
  var _container = require("./styled/container");
19
19
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
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
+ /**
22
+ * @jsxRuntime classic
23
+ */
21
24
  /** @jsx jsx */
22
25
 
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
27
+
23
28
  var packageName = "@atlaskit/inline-dialog";
24
- var packageVersion = "14.1.2";
29
+ var packageVersion = "14.2.0";
25
30
  var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
26
31
  if (!node) {
27
32
  return false;
@@ -14,7 +14,9 @@ var _constants = require("@atlaskit/theme/constants");
14
14
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
15
  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; }
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
- 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; } /** @jsx jsx */
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
+ * @jsxRuntime classic
19
+ */ /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
20
  var CSS_THEME_BACKGROUND = '--theme-background';
19
21
  var CSS_THEME_COLOR = '--theme-color';
20
22
  var CSS_THEME_BOX_SHADOW = '--theme-box-shadow';
@@ -1,5 +1,10 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import React, { memo, useCallback, useEffect, useRef } from 'react';
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
8
  import { jsx } from '@emotion/react';
4
9
  import { bind } from 'bind-event-listener';
5
10
  import NodeResolver from 'react-node-resolver';
@@ -10,7 +15,7 @@ import { getBooleanFF } from '@atlaskit/platform-feature-flags';
10
15
  import { Manager, Popper, Reference } from '@atlaskit/popper';
11
16
  import { Container } from './styled/container';
12
17
  const packageName = "@atlaskit/inline-dialog";
13
- const packageVersion = "14.1.2";
18
+ const packageVersion = "14.2.0";
14
19
  const checkIsChildOfPortal = node => {
15
20
  if (!node) {
16
21
  return false;
@@ -1,5 +1,10 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import React, { forwardRef } from 'react';
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
8
  import { css, jsx } from '@emotion/react';
4
9
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
5
10
  import { layers } from '@atlaskit/theme/constants';
@@ -52,6 +57,7 @@ export const Container = /*#__PURE__*/forwardRef(({
52
57
  [CSS_THEME_COLOR]: `var(--ds-text, ${N900})`,
53
58
  [CSS_THEME_BOX_SHADOW]: `var(--ds-shadow-overlay, ${`0 4px 8px -2px ${N50A}, 0 0 1px ${N60A}`})`,
54
59
  ...style
60
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
55
61
  }
56
62
  }, children)
57
63
  );
@@ -1,5 +1,10 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import React, { memo, useCallback, useEffect, useRef } from 'react';
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
8
  import { jsx } from '@emotion/react';
4
9
  import { bind } from 'bind-event-listener';
5
10
  import NodeResolver from 'react-node-resolver';
@@ -10,7 +15,7 @@ import { getBooleanFF } from '@atlaskit/platform-feature-flags';
10
15
  import { Manager, Popper, Reference } from '@atlaskit/popper';
11
16
  import { Container } from './styled/container';
12
17
  var packageName = "@atlaskit/inline-dialog";
13
- var packageVersion = "14.1.2";
18
+ var packageVersion = "14.2.0";
14
19
  var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
15
20
  if (!node) {
16
21
  return false;
@@ -1,8 +1,13 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  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; }
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
+ /**
5
+ * @jsxRuntime classic
6
+ */
4
7
  /** @jsx jsx */
5
8
  import React, { forwardRef } from 'react';
9
+
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
11
  import { css, jsx } from '@emotion/react';
7
12
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
8
13
  import { layers } from '@atlaskit/theme/constants';
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import React, { type FC } from 'react';
3
6
  import type { InlineDialogProps } from '../types';
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import React from 'react';
3
6
  interface ContainerProps {
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import React, { type FC } from 'react';
3
6
  import type { InlineDialogProps } from '../types';
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import React from 'react';
3
6
  interface ContainerProps {
package/package.json CHANGED
@@ -1,123 +1,123 @@
1
1
  {
2
- "name": "@atlaskit/inline-dialog",
3
- "version": "14.1.2",
4
- "description": "An inline dialog is a pop-up container for small amounts of information. It can also contain controls.",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "sideEffects": false,
16
- "atlaskit:src": "src/index.tsx",
17
- "af:exports": {
18
- ".": "./src/index.tsx",
19
- "./types": "./src/types.tsx"
20
- },
21
- "atlassian": {
22
- "team": "Design System Team",
23
- "releaseModel": "continuous",
24
- "runReact18": true,
25
- "productPushConsumption": [
26
- "jira"
27
- ],
28
- "website": {
29
- "name": "Inline dialog",
30
- "status": {
31
- "type": "intent-to-deprecate",
32
- "description": "We are planning on deprecating Inline dialog. We recommend using the Popup component instead.",
33
- "actions": [
34
- {
35
- "text": "View Popup documentation",
36
- "href": "https://atlassian.design/components/popup/examples"
37
- }
38
- ]
39
- },
40
- "category": "Components"
41
- }
42
- },
43
- "dependencies": {
44
- "@atlaskit/analytics-next": "^9.3.0",
45
- "@atlaskit/ds-lib": "^2.3.0",
46
- "@atlaskit/layering": "^0.3.0",
47
- "@atlaskit/platform-feature-flags": "^0.2.0",
48
- "@atlaskit/popper": "^6.0.0",
49
- "@atlaskit/theme": "^12.8.0",
50
- "@atlaskit/tokens": "^1.49.0",
51
- "@babel/runtime": "^7.0.0",
52
- "@emotion/react": "^11.7.1",
53
- "bind-event-listener": "^3.0.0",
54
- "react-node-resolver": "^1.0.1"
55
- },
56
- "peerDependencies": {
57
- "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
58
- },
59
- "devDependencies": {
60
- "@af/accessibility-testing": "*",
61
- "@af/integration-testing": "*",
62
- "@af/visual-regression": "*",
63
- "@atlaskit/button": "^17.17.0",
64
- "@atlaskit/datetime-picker": "^13.5.0",
65
- "@atlaskit/docs": "*",
66
- "@atlaskit/modal-dialog": "^12.13.0",
67
- "@atlaskit/section-message": "^6.5.0",
68
- "@atlaskit/select": "^17.10.0",
69
- "@atlaskit/ssr": "*",
70
- "@atlaskit/visual-regression": "*",
71
- "@testing-library/react": "^12.1.5",
72
- "@types/react-node-resolver": "^2.0.0",
73
- "react-dom": "^16.8.0",
74
- "react-lorem-component": "^0.13.0",
75
- "typescript": "~5.4.2",
76
- "wait-for-expect": "^1.2.0"
77
- },
78
- "keywords": [
79
- "atlaskit",
80
- "react",
81
- "ui"
82
- ],
83
- "techstack": {
84
- "@atlassian/frontend": {
85
- "import-structure": "atlassian-conventions"
86
- },
87
- "@repo/internal": {
88
- "dom-events": "use-bind-event-listener",
89
- "analytics": "analytics-next",
90
- "design-tokens": [
91
- "color",
92
- "spacing"
93
- ],
94
- "theming": [
95
- "react-context"
96
- ],
97
- "styling": [
98
- "static",
99
- "emotion"
100
- ],
101
- "design-system": "v1",
102
- "deprecation": "no-deprecated-imports"
103
- }
104
- },
105
- "typesVersions": {
106
- ">=4.5 <4.9": {
107
- "*": [
108
- "dist/types-ts4.5/*",
109
- "dist/types-ts4.5/index.d.ts"
110
- ]
111
- }
112
- },
113
- "platform-feature-flags": {
114
- "platform.design-system-team.layering_qmiw3": {
115
- "type": "boolean",
116
- "referenceOnly": true
117
- },
118
- "platform.design-system-team.inline-message-layering_wfp1p": {
119
- "type": "boolean"
120
- }
121
- },
122
- "homepage": "https://atlassian.design/components/inline-dialog/"
123
- }
2
+ "name": "@atlaskit/inline-dialog",
3
+ "version": "14.2.0",
4
+ "description": "An inline dialog is a pop-up container for small amounts of information. It can also contain controls.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "sideEffects": false,
16
+ "atlaskit:src": "src/index.tsx",
17
+ "af:exports": {
18
+ ".": "./src/index.tsx",
19
+ "./types": "./src/types.tsx"
20
+ },
21
+ "atlassian": {
22
+ "team": "Design System Team",
23
+ "releaseModel": "continuous",
24
+ "runReact18": true,
25
+ "productPushConsumption": [
26
+ "jira"
27
+ ],
28
+ "website": {
29
+ "name": "Inline dialog",
30
+ "status": {
31
+ "type": "intent-to-deprecate",
32
+ "description": "We are planning on deprecating Inline dialog. We recommend using the Popup component instead.",
33
+ "actions": [
34
+ {
35
+ "text": "View Popup documentation",
36
+ "href": "https://atlassian.design/components/popup/examples"
37
+ }
38
+ ]
39
+ },
40
+ "category": "Components"
41
+ }
42
+ },
43
+ "dependencies": {
44
+ "@atlaskit/analytics-next": "^9.3.0",
45
+ "@atlaskit/ds-lib": "^2.3.0",
46
+ "@atlaskit/layering": "^0.3.0",
47
+ "@atlaskit/platform-feature-flags": "^0.2.0",
48
+ "@atlaskit/popper": "^6.1.0",
49
+ "@atlaskit/theme": "^12.10.0",
50
+ "@atlaskit/tokens": "^1.51.0",
51
+ "@babel/runtime": "^7.0.0",
52
+ "@emotion/react": "^11.7.1",
53
+ "bind-event-listener": "^3.0.0",
54
+ "react-node-resolver": "^1.0.1"
55
+ },
56
+ "peerDependencies": {
57
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
58
+ },
59
+ "devDependencies": {
60
+ "@af/accessibility-testing": "*",
61
+ "@af/integration-testing": "*",
62
+ "@af/visual-regression": "*",
63
+ "@atlaskit/button": "^17.17.0",
64
+ "@atlaskit/datetime-picker": "^13.5.0",
65
+ "@atlaskit/docs": "*",
66
+ "@atlaskit/modal-dialog": "^12.14.0",
67
+ "@atlaskit/section-message": "^6.5.0",
68
+ "@atlaskit/select": "^17.11.0",
69
+ "@atlaskit/ssr": "*",
70
+ "@atlaskit/visual-regression": "*",
71
+ "@testing-library/react": "^12.1.5",
72
+ "@types/react-node-resolver": "^2.0.0",
73
+ "react-dom": "^16.8.0",
74
+ "react-lorem-component": "^0.13.0",
75
+ "typescript": "~5.4.2",
76
+ "wait-for-expect": "^1.2.0"
77
+ },
78
+ "keywords": [
79
+ "atlaskit",
80
+ "react",
81
+ "ui"
82
+ ],
83
+ "techstack": {
84
+ "@atlassian/frontend": {
85
+ "import-structure": "atlassian-conventions"
86
+ },
87
+ "@repo/internal": {
88
+ "dom-events": "use-bind-event-listener",
89
+ "analytics": "analytics-next",
90
+ "design-tokens": [
91
+ "color",
92
+ "spacing"
93
+ ],
94
+ "theming": [
95
+ "react-context"
96
+ ],
97
+ "styling": [
98
+ "static",
99
+ "emotion"
100
+ ],
101
+ "design-system": "v1",
102
+ "deprecation": "no-deprecated-imports"
103
+ }
104
+ },
105
+ "typesVersions": {
106
+ ">=4.5 <4.9": {
107
+ "*": [
108
+ "dist/types-ts4.5/*",
109
+ "dist/types-ts4.5/index.d.ts"
110
+ ]
111
+ }
112
+ },
113
+ "platform-feature-flags": {
114
+ "platform.design-system-team.layering_qmiw3": {
115
+ "type": "boolean",
116
+ "referenceOnly": true
117
+ },
118
+ "platform.design-system-team.inline-message-layering_wfp1p": {
119
+ "type": "boolean"
120
+ }
121
+ },
122
+ "homepage": "https://atlassian.design/components/inline-dialog/"
123
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/inline-dialog"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -22,61 +23,58 @@ import { WithContextProps } from '@atlaskit/analytics-next';
22
23
 
23
24
  // @public (undocumented)
24
25
  const _default: React_2.ForwardRefExoticComponent<
25
- Pick<
26
- Omit<
27
- React_2.PropsWithChildren<InlineDialogProps>,
28
- keyof WithAnalyticsEventsProps
29
- > &
30
- React_2.RefAttributes<any> &
31
- WithContextProps,
32
- | 'analyticsContext'
33
- | 'children'
34
- | 'content'
35
- | 'isOpen'
36
- | 'key'
37
- | 'onClose'
38
- | 'onContentBlur'
39
- | 'onContentClick'
40
- | 'onContentFocus'
41
- | 'placement'
42
- | 'strategy'
43
- | 'testId'
44
- > &
45
- React_2.RefAttributes<any>
26
+ Pick<
27
+ Omit<React_2.PropsWithChildren<InlineDialogProps>, keyof WithAnalyticsEventsProps> &
28
+ React_2.RefAttributes<any> &
29
+ WithContextProps,
30
+ | 'analyticsContext'
31
+ | 'children'
32
+ | 'content'
33
+ | 'isOpen'
34
+ | 'key'
35
+ | 'onClose'
36
+ | 'onContentBlur'
37
+ | 'onContentClick'
38
+ | 'onContentFocus'
39
+ | 'placement'
40
+ | 'strategy'
41
+ | 'testId'
42
+ > &
43
+ React_2.RefAttributes<any>
46
44
  >;
47
45
  export default _default;
48
46
 
49
47
  // @public (undocumented)
50
48
  interface InlineDialogProps extends WithAnalyticsEventsProps {
51
- children: ReactNode;
52
- content: ReactNode;
53
- isOpen?: boolean;
54
- onClose?: (obj: { isOpen: boolean; event: Event }) => void;
55
- onContentBlur?: () => void;
56
- onContentClick?: () => void;
57
- onContentFocus?: () => void;
58
- placement?: Placement;
59
- strategy?: 'absolute' | 'fixed';
60
- testId?: string;
49
+ children: ReactNode;
50
+ content: ReactNode;
51
+ isOpen?: boolean;
52
+ onClose?: (obj: { isOpen: boolean; event: Event }) => void;
53
+ onContentBlur?: () => void;
54
+ onContentClick?: () => void;
55
+ onContentFocus?: () => void;
56
+ placement?: Placement;
57
+ strategy?: 'absolute' | 'fixed';
58
+ testId?: string;
61
59
  }
62
60
 
63
61
  // @public (undocumented)
64
62
  export type Placement =
65
- | 'auto'
66
- | 'auto-end'
67
- | 'auto-start'
68
- | 'bottom'
69
- | 'bottom-end'
70
- | 'bottom-start'
71
- | 'left'
72
- | 'left-end'
73
- | 'left-start'
74
- | 'right'
75
- | 'right-end'
76
- | 'right-start'
77
- | 'top'
78
- | 'top-end'
79
- | 'top-start';
63
+ | 'auto'
64
+ | 'auto-end'
65
+ | 'auto-start'
66
+ | 'bottom'
67
+ | 'bottom-end'
68
+ | 'bottom-start'
69
+ | 'left'
70
+ | 'left-end'
71
+ | 'left-start'
72
+ | 'right'
73
+ | 'right-end'
74
+ | 'right-start'
75
+ | 'top'
76
+ | 'top-end'
77
+ | 'top-start';
80
78
 
81
79
  // (No @packageDocumentation comment for this package)
82
80
  ```
@@ -89,7 +87,7 @@ export type Placement =
89
87
 
90
88
  ```json
91
89
  {
92
- "react": "^16.8.0"
90
+ "react": "^16.8.0"
93
91
  }
94
92
  ```
95
93