@atlaskit/renderer 146.0.0 → 146.0.2

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,22 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 146.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 146.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`457c77d8f6992`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/457c77d8f6992) -
14
+ Behind `platform-dst-top-layer-tooltip`: tooltips whose content changes on press (for example
15
+ "Copy" to "Copied!") stay open to show the new content. `@atlaskit/editor-common` floating toolbar
16
+ buttons and `@atlaskit/smart-card` stack-item actions add an optional
17
+ `hasNewContentOnTriggerClick` prop.
18
+ - Updated dependencies
19
+
3
20
  ## 146.0.0
4
21
 
5
22
  ### Patch Changes
@@ -46,7 +46,8 @@ var CopyButton = function CopyButton(_ref) {
46
46
  return (0, _react2.jsx)("span", null, (0, _react2.jsx)(_Tooltip.default, {
47
47
  content: tooltip,
48
48
  hideTooltipOnClick: false,
49
- position: "top"
49
+ position: "top",
50
+ hasNewContentOnTriggerClick: true
50
51
  }, (0, _react2.jsx)("div", {
51
52
  onMouseLeave: onMouseLeave,
52
53
  onBlur: onMouseLeave
@@ -205,7 +205,8 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
205
205
  content: this.renderTooltipContent,
206
206
  position: "top",
207
207
  delay: 0,
208
- isScreenReaderAnnouncementDisabled: (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false
208
+ isScreenReaderAnnouncementDisabled: (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false,
209
+ hasNewContentOnTriggerClick: true
209
210
  }, this.renderAnchorButton());
210
211
  }
211
212
 
@@ -71,7 +71,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
71
71
  var TABLE_INFO_TIMEOUT = 10000;
72
72
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
73
73
  var packageName = "@atlaskit/renderer";
74
- var packageVersion = "145.0.11";
74
+ var packageVersion = "146.0.1";
75
75
  var setAsQueryContainerStyles = (0, _react2.css)({
76
76
  containerName: 'ak-renderer-wrapper',
77
77
  containerType: 'inline-size'
@@ -33,7 +33,8 @@ const CopyButton = ({
33
33
  }) => jsx("span", null, jsx(Tooltip, {
34
34
  content: tooltip,
35
35
  hideTooltipOnClick: false,
36
- position: "top"
36
+ position: "top",
37
+ hasNewContentOnTriggerClick: true
37
38
  }, jsx("div", {
38
39
  onMouseLeave: onMouseLeave,
39
40
  onBlur: onMouseLeave
@@ -171,7 +171,8 @@ class HeadingAnchor extends React.PureComponent {
171
171
  content: this.renderTooltipContent,
172
172
  position: "top",
173
173
  delay: 0,
174
- isScreenReaderAnnouncementDisabled: expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false
174
+ isScreenReaderAnnouncementDisabled: expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false,
175
+ hasNewContentOnTriggerClick: true
175
176
  }, this.renderAnchorButton());
176
177
  }
177
178
 
@@ -56,7 +56,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
56
56
  const TABLE_INFO_TIMEOUT = 10000;
57
57
  const RENDER_EVENT_SAMPLE_RATE = 0.1;
58
58
  const packageName = "@atlaskit/renderer";
59
- const packageVersion = "145.0.11";
59
+ const packageVersion = "146.0.1";
60
60
  const setAsQueryContainerStyles = css({
61
61
  containerName: 'ak-renderer-wrapper',
62
62
  containerType: 'inline-size'
@@ -39,7 +39,8 @@ var CopyButton = function CopyButton(_ref) {
39
39
  return jsx("span", null, jsx(Tooltip, {
40
40
  content: tooltip,
41
41
  hideTooltipOnClick: false,
42
- position: "top"
42
+ position: "top",
43
+ hasNewContentOnTriggerClick: true
43
44
  }, jsx("div", {
44
45
  onMouseLeave: onMouseLeave,
45
46
  onBlur: onMouseLeave
@@ -200,7 +200,8 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
200
200
  content: this.renderTooltipContent,
201
201
  position: "top",
202
202
  delay: 0,
203
- isScreenReaderAnnouncementDisabled: expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false
203
+ isScreenReaderAnnouncementDisabled: expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false,
204
+ hasNewContentOnTriggerClick: true
204
205
  }, this.renderAnchorButton());
205
206
  }
206
207
 
@@ -61,7 +61,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
61
61
  var TABLE_INFO_TIMEOUT = 10000;
62
62
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
63
63
  var packageName = "@atlaskit/renderer";
64
- var packageVersion = "145.0.11";
64
+ var packageVersion = "146.0.1";
65
65
  var setAsQueryContainerStyles = css({
66
66
  containerName: 'ak-renderer-wrapper',
67
67
  containerType: 'inline-size'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "146.0.0",
3
+ "version": "146.0.2",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -69,13 +69,13 @@
69
69
  "@atlaskit/pragmatic-drag-and-drop": "^4.0.0",
70
70
  "@atlaskit/react-compiler-gating": "^0.2.0",
71
71
  "@atlaskit/react-ufo": "^8.0.0",
72
- "@atlaskit/smart-card": "^46.2.0",
72
+ "@atlaskit/smart-card": "^46.3.0",
73
73
  "@atlaskit/status": "^5.12.0",
74
74
  "@atlaskit/task-decision": "^21.11.0",
75
75
  "@atlaskit/theme": "^28.2.0",
76
- "@atlaskit/tmp-editor-statsig": "^219.0.0",
76
+ "@atlaskit/tmp-editor-statsig": "^220.0.0",
77
77
  "@atlaskit/tokens": "^20.1.0",
78
- "@atlaskit/tooltip": "^24.3.0",
78
+ "@atlaskit/tooltip": "^24.4.0",
79
79
  "@atlaskit/visually-hidden": "^4.4.0",
80
80
  "@babel/runtime": "^7.0.0",
81
81
  "@compiled/react": "^1.0.2",
@@ -88,7 +88,7 @@
88
88
  "uuid": "^11.1.1"
89
89
  },
90
90
  "peerDependencies": {
91
- "@atlaskit/editor-common": "^127.0.0",
91
+ "@atlaskit/editor-common": "^127.2.0",
92
92
  "@atlaskit/link-provider": "^6.0.0",
93
93
  "@atlaskit/media-core": "^39.0.0",
94
94
  "react": "^18.2.0 || ^19.2.0",