@atlaskit/editor-plugin-toolbar 5.1.7 → 5.1.9
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/editor-plugin-toolbar
|
|
2
2
|
|
|
3
|
+
## 5.1.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 5.1.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`0f4a08b633f6e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f4a08b633f6e) -
|
|
14
|
+
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 5.1.7
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -101,7 +101,7 @@ var SelectionToolbar = exports.SelectionToolbar = function SelectionToolbar(_ref
|
|
|
101
101
|
return null;
|
|
102
102
|
}
|
|
103
103
|
return /*#__PURE__*/_react.default.createElement(_ui.Popup
|
|
104
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
104
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
105
105
|
, {
|
|
106
106
|
offset: [0, 10],
|
|
107
107
|
target: (0, _utils2.getDomRefFromSelection)(editorView),
|
|
@@ -116,7 +116,7 @@ var SelectionToolbar = exports.SelectionToolbar = function SelectionToolbar(_ref
|
|
|
116
116
|
}, /*#__PURE__*/_react.default.createElement(_toolbar.EditorToolbarUIProvider, {
|
|
117
117
|
api: api,
|
|
118
118
|
isDisabled: isDisabled
|
|
119
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
119
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
120
120
|
,
|
|
121
121
|
fireAnalyticsEvent: function fireAnalyticsEvent(payload) {
|
|
122
122
|
var _api$analytics;
|
|
@@ -126,7 +126,7 @@ var SelectionToolbar = exports.SelectionToolbar = function SelectionToolbar(_ref
|
|
|
126
126
|
}, /*#__PURE__*/_react.default.createElement(_editorToolbarModel.ToolbarModelRenderer, {
|
|
127
127
|
toolbar: toolbar,
|
|
128
128
|
components: components
|
|
129
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
129
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
130
130
|
,
|
|
131
131
|
fallbacks: {
|
|
132
132
|
section: _editorToolbar.ToolbarSection,
|
|
@@ -94,7 +94,7 @@ export const SelectionToolbar = ({
|
|
|
94
94
|
return null;
|
|
95
95
|
}
|
|
96
96
|
return /*#__PURE__*/React.createElement(Popup
|
|
97
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
97
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
98
98
|
, {
|
|
99
99
|
offset: [0, 10],
|
|
100
100
|
target: getDomRefFromSelection(editorView),
|
|
@@ -109,7 +109,7 @@ export const SelectionToolbar = ({
|
|
|
109
109
|
}, /*#__PURE__*/React.createElement(EditorToolbarUIProvider, {
|
|
110
110
|
api: api,
|
|
111
111
|
isDisabled: isDisabled
|
|
112
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
112
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
113
113
|
,
|
|
114
114
|
fireAnalyticsEvent: payload => {
|
|
115
115
|
var _api$analytics;
|
|
@@ -119,7 +119,7 @@ export const SelectionToolbar = ({
|
|
|
119
119
|
}, /*#__PURE__*/React.createElement(ToolbarModelRenderer, {
|
|
120
120
|
toolbar: toolbar,
|
|
121
121
|
components: components
|
|
122
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
122
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
123
123
|
,
|
|
124
124
|
fallbacks: {
|
|
125
125
|
section: ToolbarSection,
|
|
@@ -93,7 +93,7 @@ export var SelectionToolbar = function SelectionToolbar(_ref) {
|
|
|
93
93
|
return null;
|
|
94
94
|
}
|
|
95
95
|
return /*#__PURE__*/React.createElement(Popup
|
|
96
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
96
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
97
97
|
, {
|
|
98
98
|
offset: [0, 10],
|
|
99
99
|
target: getDomRefFromSelection(editorView),
|
|
@@ -108,7 +108,7 @@ export var SelectionToolbar = function SelectionToolbar(_ref) {
|
|
|
108
108
|
}, /*#__PURE__*/React.createElement(EditorToolbarUIProvider, {
|
|
109
109
|
api: api,
|
|
110
110
|
isDisabled: isDisabled
|
|
111
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
111
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
112
112
|
,
|
|
113
113
|
fireAnalyticsEvent: function fireAnalyticsEvent(payload) {
|
|
114
114
|
var _api$analytics;
|
|
@@ -118,7 +118,7 @@ export var SelectionToolbar = function SelectionToolbar(_ref) {
|
|
|
118
118
|
}, /*#__PURE__*/React.createElement(ToolbarModelRenderer, {
|
|
119
119
|
toolbar: toolbar,
|
|
120
120
|
components: components
|
|
121
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
121
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
122
122
|
,
|
|
123
123
|
fallbacks: {
|
|
124
124
|
section: ToolbarSection,
|
package/docs/0-intro.tsx
CHANGED
|
@@ -16,7 +16,7 @@ ${createEditorUseOnlyNotice('Editor Plugin Toolbar', [
|
|
|
16
16
|
${
|
|
17
17
|
(
|
|
18
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
19
|
-
<div style={{ marginTop: token('space.100'
|
|
19
|
+
<div style={{ marginTop: token('space.100') }}>
|
|
20
20
|
<AtlassianInternalWarning />
|
|
21
21
|
</div>
|
|
22
22
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.9",
|
|
4
4
|
"description": "Toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"@atlaskit/editor-toolbar": "^0.20.0",
|
|
41
41
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
43
|
+
"@atlaskit/tmp-editor-statsig": "^45.0.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"bind-event-listener": "^3.0.0",
|
|
46
46
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@atlaskit/editor-common": "^112.
|
|
49
|
+
"@atlaskit/editor-common": "^112.8.0",
|
|
50
50
|
"react": "^18.2.0"
|
|
51
51
|
},
|
|
52
52
|
"platform-feature-flags": {
|