@atlaskit/editor-plugin-placeholder-text 9.0.0 → 9.0.1
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 +6 -0
- package/dist/cjs/ui/FloatingToolbar/index.js +1 -1
- package/dist/cjs/ui/PlaceholderFloatingToolbar/index.js +3 -2
- package/dist/es2019/ui/FloatingToolbar/index.js +1 -1
- package/dist/es2019/ui/PlaceholderFloatingToolbar/index.js +4 -1
- package/dist/esm/ui/FloatingToolbar/index.js +1 -1
- package/dist/esm/ui/PlaceholderFloatingToolbar/index.js +3 -2
- package/dist/types/ui/FloatingToolbar/styles.d.ts +2 -1
- package/dist/types/ui/PlaceholderFloatingToolbar/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +2 -1
- package/dist/types-ts4.5/ui/PlaceholderFloatingToolbar/index.d.ts +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -15,7 +15,7 @@ var _styles = require("./styles");
|
|
|
15
15
|
* @jsx jsx
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
19
19
|
|
|
20
20
|
function FloatingToolbar(_ref) {
|
|
21
21
|
var children = _ref.children,
|
|
@@ -78,5 +78,6 @@ var PlaceholderFloatingToolbar = /*#__PURE__*/function (_React$Component) {
|
|
|
78
78
|
}));
|
|
79
79
|
}
|
|
80
80
|
}]);
|
|
81
|
-
}(_react.default.Component);
|
|
82
|
-
var
|
|
81
|
+
}(_react.default.Component); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
82
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(PlaceholderFloatingToolbar);
|
|
83
|
+
var _default = exports.default = _default_1;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
10
|
import { Popup } from '@atlaskit/editor-common/ui';
|
|
11
11
|
import { container } from './styles';
|
|
@@ -56,4 +56,7 @@ class PlaceholderFloatingToolbar extends React.Component {
|
|
|
56
56
|
}));
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
|
|
60
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
61
|
+
const _default_1 = injectIntl(PlaceholderFloatingToolbar);
|
|
62
|
+
export default _default_1;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
10
|
import { Popup } from '@atlaskit/editor-common/ui';
|
|
11
11
|
import { container } from './styles';
|
|
@@ -71,5 +71,6 @@ var PlaceholderFloatingToolbar = /*#__PURE__*/function (_React$Component) {
|
|
|
71
71
|
}));
|
|
72
72
|
}
|
|
73
73
|
}]);
|
|
74
|
-
}(React.Component);
|
|
75
|
-
|
|
74
|
+
}(React.Component); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
75
|
+
var _default_1 = injectIntl(PlaceholderFloatingToolbar);
|
|
76
|
+
export default _default_1;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
2
|
+
export declare const container: (height?: number) => SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import type { Coordinates } from '../FloatingToolbar';
|
|
4
4
|
export interface Props {
|
|
5
5
|
children?: React.ReactNode;
|
|
@@ -13,7 +13,7 @@ export interface Props {
|
|
|
13
13
|
setFocusInEditor: () => void;
|
|
14
14
|
showInsertPanelAt: number;
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
16
|
+
declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
17
17
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
18
18
|
};
|
|
19
|
-
export default
|
|
19
|
+
export default _default_1;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
2
|
+
export declare const container: (height?: number) => SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import type { Coordinates } from '../FloatingToolbar';
|
|
4
4
|
export interface Props {
|
|
5
5
|
children?: React.ReactNode;
|
|
@@ -13,7 +13,7 @@ export interface Props {
|
|
|
13
13
|
setFocusInEditor: () => void;
|
|
14
14
|
showInsertPanelAt: number;
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
16
|
+
declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
17
17
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
18
18
|
};
|
|
19
|
-
export default
|
|
19
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-placeholder-text",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "placeholder text plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
34
34
|
"@atlaskit/icon": "^32.0.0",
|
|
35
35
|
"@atlaskit/theme": "^22.0.0",
|
|
36
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
36
|
+
"@atlaskit/tmp-editor-statsig": "^36.0.0",
|
|
37
37
|
"@atlaskit/tokens": "^11.1.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
39
39
|
"@emotion/react": "^11.7.1"
|