@atlaskit/editor-plugin-media 10.0.8 → 10.0.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
|
@@ -144,9 +144,9 @@ var ImageBorder = function ImageBorder(_ref) {
|
|
|
144
144
|
type: "button",
|
|
145
145
|
"aria-label": formatMessage(_media.imageBorderMessages.borderColorDropdownAriaLabel),
|
|
146
146
|
"data-testid": "image-border-dropdown-button-color",
|
|
147
|
-
css: (0, _expValEquals.expValEquals)('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew
|
|
147
|
+
css: (0, _expValEquals.expValEquals)('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew :
|
|
148
148
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
149
|
-
|
|
149
|
+
_styles2.dropdownOptionButton,
|
|
150
150
|
"aria-expanded": isColorSubmenuOpen,
|
|
151
151
|
onKeyDown: function onKeyDown(e) {
|
|
152
152
|
return handleTriggerByKeyboard(e, function () {
|
|
@@ -210,9 +210,9 @@ var ImageBorder = function ImageBorder(_ref) {
|
|
|
210
210
|
type: "button",
|
|
211
211
|
"aria-label": formatMessage(_media.imageBorderMessages.borderSizeDropdownAriaLabel),
|
|
212
212
|
"data-testid": "image-border-dropdown-button-size",
|
|
213
|
-
css: (0, _expValEquals.expValEquals)('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew
|
|
213
|
+
css: (0, _expValEquals.expValEquals)('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew :
|
|
214
214
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
215
|
-
|
|
215
|
+
_styles2.dropdownOptionButton,
|
|
216
216
|
"aria-expanded": isSizeSubmenuOpen,
|
|
217
217
|
ref: dropDownSizeOptionButton,
|
|
218
218
|
onKeyDown: function onKeyDown(e) {
|
|
@@ -126,9 +126,9 @@ const ImageBorder = ({
|
|
|
126
126
|
type: "button",
|
|
127
127
|
"aria-label": formatMessage(messages.borderColorDropdownAriaLabel),
|
|
128
128
|
"data-testid": "image-border-dropdown-button-color",
|
|
129
|
-
css: expValEquals('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew
|
|
129
|
+
css: expValEquals('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew :
|
|
130
130
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
131
|
-
|
|
131
|
+
dropdownOptionButton,
|
|
132
132
|
"aria-expanded": isColorSubmenuOpen,
|
|
133
133
|
onKeyDown: e => handleTriggerByKeyboard(e, () => setIsColorSubmenuOpen(!isColorSubmenuOpen))
|
|
134
134
|
}, jsx(Text, null, formatMessage(messages.borderColor)), jsx("div", {
|
|
@@ -188,9 +188,9 @@ const ImageBorder = ({
|
|
|
188
188
|
type: "button",
|
|
189
189
|
"aria-label": formatMessage(messages.borderSizeDropdownAriaLabel),
|
|
190
190
|
"data-testid": "image-border-dropdown-button-size",
|
|
191
|
-
css: expValEquals('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew
|
|
191
|
+
css: expValEquals('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew :
|
|
192
192
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
193
|
-
|
|
193
|
+
dropdownOptionButton,
|
|
194
194
|
"aria-expanded": isSizeSubmenuOpen,
|
|
195
195
|
ref: dropDownSizeOptionButton,
|
|
196
196
|
onKeyDown: e => handleTriggerByKeyboard(e, () => setIsSizeSubmenuOpen(!isSizeSubmenuOpen))
|
|
@@ -136,9 +136,9 @@ var ImageBorder = function ImageBorder(_ref) {
|
|
|
136
136
|
type: "button",
|
|
137
137
|
"aria-label": formatMessage(messages.borderColorDropdownAriaLabel),
|
|
138
138
|
"data-testid": "image-border-dropdown-button-color",
|
|
139
|
-
css: expValEquals('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew
|
|
139
|
+
css: expValEquals('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew :
|
|
140
140
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
141
|
-
|
|
141
|
+
dropdownOptionButton,
|
|
142
142
|
"aria-expanded": isColorSubmenuOpen,
|
|
143
143
|
onKeyDown: function onKeyDown(e) {
|
|
144
144
|
return handleTriggerByKeyboard(e, function () {
|
|
@@ -202,9 +202,9 @@ var ImageBorder = function ImageBorder(_ref) {
|
|
|
202
202
|
type: "button",
|
|
203
203
|
"aria-label": formatMessage(messages.borderSizeDropdownAriaLabel),
|
|
204
204
|
"data-testid": "image-border-dropdown-button-size",
|
|
205
|
-
css: expValEquals('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew
|
|
205
|
+
css: expValEquals('platform_editor_fix_media_toolbar_border_dropdown', 'isEnabled', true, false) ? dropdownOptionButtonNew :
|
|
206
206
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
207
|
-
|
|
207
|
+
dropdownOptionButton,
|
|
208
208
|
"aria-expanded": isSizeSubmenuOpen,
|
|
209
209
|
ref: dropDownSizeOptionButton,
|
|
210
210
|
onKeyDown: function onKeyDown(e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.9",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/primitives": "^18.0.0",
|
|
67
67
|
"@atlaskit/textfield": "^8.2.0",
|
|
68
68
|
"@atlaskit/theme": "^22.0.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^41.0.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.1.0",
|
|
71
71
|
"@atlaskit/tooltip": "^21.0.0",
|
|
72
72
|
"@babel/runtime": "^7.0.0",
|