@atlaskit/renderer 145.0.11 → 146.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,22 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 146.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
+
14
+ ## 146.0.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 145.0.11
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.10";
74
+ var packageVersion = "146.0.0";
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.10";
59
+ const packageVersion = "146.0.0";
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.10";
64
+ var packageVersion = "146.0.0";
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": "145.0.11",
3
+ "version": "146.0.1",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -53,7 +53,7 @@
53
53
  "@atlaskit/feature-gate-js-client": "^7.0.0",
54
54
  "@atlaskit/icon": "^38.0.0",
55
55
  "@atlaskit/link": "^5.1.0",
56
- "@atlaskit/link-datasource": "^7.0.0",
56
+ "@atlaskit/link-datasource": "^7.1.0",
57
57
  "@atlaskit/link-extractors": "^5.0.0",
58
58
  "@atlaskit/linking-common": "^13.0.0",
59
59
  "@atlaskit/media-card": "^82.1.0",
@@ -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.1.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": "^218.0.0",
76
+ "@atlaskit/tmp-editor-statsig": "^219.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": "^126.4.0",
91
+ "@atlaskit/editor-common": "^127.1.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",
@@ -100,10 +100,11 @@
100
100
  "@af/visual-regression": "workspace:^",
101
101
  "@atlaskit/analytics-gas-types": "^6.2.0",
102
102
  "@atlaskit/checkbox": "^19.2.0",
103
- "@atlaskit/editor-plugin-media": "^24.0.0",
103
+ "@atlaskit/editor-plugin-media": "^25.0.0",
104
104
  "@atlaskit/editor-test-helpers": "workspace:^",
105
105
  "@atlaskit/inline-edit": "^16.4.0",
106
106
  "@atlaskit/json-ld-types": "^2.0.0",
107
+ "@atlaskit/link-client-extension": "^8.0.0",
107
108
  "@atlaskit/link-provider": "^6.0.0",
108
109
  "@atlaskit/link-test-helpers": "^11.2.0",
109
110
  "@atlaskit/media-core": "^39.0.0",
@@ -122,6 +123,7 @@
122
123
  "@atlaskit/textfield": "^10.2.0",
123
124
  "@atlaskit/toggle": "^17.3.0",
124
125
  "@atlaskit/util-data-test": "^19.1.0",
126
+ "@atlaskit/width-detector": "^7.2.0",
125
127
  "@atlassian/a11y-jest-testing": "^0.17.0",
126
128
  "@atlassian/a11y-playwright-testing": "^0.13.0",
127
129
  "@atlassian/experiment-test-utils": "^0.2.0",