@atlaskit/editor-plugin-floating-toolbar 1.14.16 → 1.14.17
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/Toolbar.js +2 -1
- package/dist/es2019/ui/Toolbar.js +2 -1
- package/dist/esm/ui/Toolbar.js +2 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
package/dist/cjs/ui/Toolbar.js
CHANGED
|
@@ -110,7 +110,7 @@ var ToolbarItems = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
|
110
110
|
if (selected) {
|
|
111
111
|
return "var(--ds-icon-selected, #0C66E4)";
|
|
112
112
|
}
|
|
113
|
-
return
|
|
113
|
+
return 'currentColor';
|
|
114
114
|
};
|
|
115
115
|
return (0, _react2.jsx)(_ui.FloatingToolbarButton
|
|
116
116
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
@@ -358,6 +358,7 @@ var toolbarContainer = function toolbarContainer(scrollable, hasSelect, firstEle
|
|
|
358
358
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
359
359
|
boxShadow: "var(--ds-shadow-overlay, ".concat("0 0 1px rgba(9, 30, 66, 0.31), 0 4px 8px -2px rgba(9, 30, 66, 0.25)", ")"),
|
|
360
360
|
display: 'flex',
|
|
361
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
361
362
|
lineHeight: 1,
|
|
362
363
|
boxSizing: 'border-box',
|
|
363
364
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -99,7 +99,7 @@ const ToolbarItems = /*#__PURE__*/React.memo(({
|
|
|
99
99
|
if (selected) {
|
|
100
100
|
return "var(--ds-icon-selected, #0C66E4)";
|
|
101
101
|
}
|
|
102
|
-
return
|
|
102
|
+
return 'currentColor';
|
|
103
103
|
};
|
|
104
104
|
return jsx(Button
|
|
105
105
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
@@ -320,6 +320,7 @@ const toolbarContainer = (scrollable, hasSelect, firstElementIsSelect) => css({
|
|
|
320
320
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
321
321
|
boxShadow: `var(--ds-shadow-overlay, ${`0 0 1px rgba(9, 30, 66, 0.31), 0 4px 8px -2px rgba(9, 30, 66, 0.25)`})`,
|
|
322
322
|
display: 'flex',
|
|
323
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
323
324
|
lineHeight: 1,
|
|
324
325
|
boxSizing: 'border-box',
|
|
325
326
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
package/dist/esm/ui/Toolbar.js
CHANGED
|
@@ -103,7 +103,7 @@ var ToolbarItems = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
103
103
|
if (selected) {
|
|
104
104
|
return "var(--ds-icon-selected, #0C66E4)";
|
|
105
105
|
}
|
|
106
|
-
return
|
|
106
|
+
return 'currentColor';
|
|
107
107
|
};
|
|
108
108
|
return jsx(Button
|
|
109
109
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
@@ -351,6 +351,7 @@ var toolbarContainer = function toolbarContainer(scrollable, hasSelect, firstEle
|
|
|
351
351
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
352
352
|
boxShadow: "var(--ds-shadow-overlay, ".concat("0 0 1px rgba(9, 30, 66, 0.31), 0 4px 8px -2px rgba(9, 30, 66, 0.25)", ")"),
|
|
353
353
|
display: 'flex',
|
|
354
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
354
355
|
lineHeight: 1,
|
|
355
356
|
boxSizing: 'border-box',
|
|
356
357
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.17",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
".": "./src/index.ts"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@atlaskit/adf-utils": "^19.
|
|
26
|
+
"@atlaskit/adf-utils": "^19.16.0",
|
|
27
27
|
"@atlaskit/button": "^20.3.0",
|
|
28
28
|
"@atlaskit/checkbox": "^15.2.0",
|
|
29
|
-
"@atlaskit/editor-common": "^
|
|
30
|
-
"@atlaskit/editor-palette": "1.6.
|
|
31
|
-
"@atlaskit/editor-plugin-block-controls": "^2.
|
|
29
|
+
"@atlaskit/editor-common": "^99.0.0",
|
|
30
|
+
"@atlaskit/editor-palette": "1.6.4",
|
|
31
|
+
"@atlaskit/editor-plugin-block-controls": "^2.18.0",
|
|
32
32
|
"@atlaskit/editor-plugin-context-panel": "^1.4.0",
|
|
33
33
|
"@atlaskit/editor-plugin-copy-button": "^1.3.0",
|
|
34
34
|
"@atlaskit/editor-plugin-decorations": "^1.3.0",
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-emoji": "^2.7.0",
|
|
38
38
|
"@atlaskit/editor-plugin-extension": "^3.0.0",
|
|
39
|
-
"@atlaskit/editor-plugin-table": "^9.
|
|
39
|
+
"@atlaskit/editor-plugin-table": "^9.1.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
41
|
-
"@atlaskit/emoji": "^67.
|
|
42
|
-
"@atlaskit/icon": "^23.
|
|
41
|
+
"@atlaskit/emoji": "^67.12.0",
|
|
42
|
+
"@atlaskit/icon": "^23.3.0",
|
|
43
43
|
"@atlaskit/menu": "^2.13.0",
|
|
44
|
-
"@atlaskit/modal-dialog": "^12.
|
|
44
|
+
"@atlaskit/modal-dialog": "^12.19.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
46
46
|
"@atlaskit/primitives": "^13.3.0",
|
|
47
47
|
"@atlaskit/select": "^18.9.0",
|
|
48
48
|
"@atlaskit/theme": "^14.0.0",
|
|
49
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
50
|
-
"@atlaskit/tokens": "^
|
|
49
|
+
"@atlaskit/tmp-editor-statsig": "^2.33.0",
|
|
50
|
+
"@atlaskit/tokens": "^3.0.0",
|
|
51
51
|
"@atlaskit/tooltip": "^19.0.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@emotion/react": "^11.7.1",
|