@atlaskit/editor-plugin-floating-toolbar 25.0.0 → 25.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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 25.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`457c77d8f6992`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/457c77d8f6992) -
8
+ Behind `platform-dst-top-layer-tooltip`: tooltips whose content changes on press (for example
9
+ "Copy" to "Copied!") stay open to show the new content. `@atlaskit/editor-common` floating toolbar
10
+ buttons and `@atlaskit/smart-card` stack-item actions add an optional
11
+ `hasNewContentOnTriggerClick` prop.
12
+ - Updated dependencies
13
+
3
14
  ## 25.0.0
4
15
 
5
16
  ### Patch Changes
@@ -175,6 +175,7 @@ var ToolbarItems = /*#__PURE__*/_react.default.memo(function (_ref) {
175
175
  tooltipContent: item.tooltipContent,
176
176
  testId: item.testId,
177
177
  hideTooltipOnClick: item.hideTooltipOnClick,
178
+ hasNewContentOnTriggerClick: item.hasNewContentOnTriggerClick,
178
179
  ariaHasPopup: item.ariaHasPopup,
179
180
  tabIndex: item.tabIndex,
180
181
  isRadioButton: item.isRadioButton,
@@ -156,6 +156,7 @@ const ToolbarItems = /*#__PURE__*/React.memo(({
156
156
  tooltipContent: item.tooltipContent,
157
157
  testId: item.testId,
158
158
  hideTooltipOnClick: item.hideTooltipOnClick,
159
+ hasNewContentOnTriggerClick: item.hasNewContentOnTriggerClick,
159
160
  ariaHasPopup: item.ariaHasPopup,
160
161
  tabIndex: item.tabIndex,
161
162
  isRadioButton: item.isRadioButton,
@@ -170,6 +170,7 @@ var ToolbarItems = /*#__PURE__*/React.memo(function (_ref) {
170
170
  tooltipContent: item.tooltipContent,
171
171
  testId: item.testId,
172
172
  hideTooltipOnClick: item.hideTooltipOnClick,
173
+ hasNewContentOnTriggerClick: item.hasNewContentOnTriggerClick,
173
174
  ariaHasPopup: item.ariaHasPopup,
174
175
  tabIndex: item.tabIndex,
175
176
  isRadioButton: item.isRadioButton,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "25.0.0",
3
+ "version": "25.0.1",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/select": "^23.1.0",
47
47
  "@atlaskit/tmp-editor-statsig": "^219.0.0",
48
48
  "@atlaskit/tokens": "^20.1.0",
49
- "@atlaskit/tooltip": "^24.3.0",
49
+ "@atlaskit/tooltip": "^24.4.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
52
52
  "bind-event-listener": "^3.0.0",
@@ -56,7 +56,7 @@
56
56
  "react-loosely-lazy": "^1.0.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^127.0.0",
59
+ "@atlaskit/editor-common": "^127.1.0",
60
60
  "react": "^18.2.0 || ^19.2.0",
61
61
  "react-dom": "^18.2.0 || ^19.2.0",
62
62
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"