@atlaskit/editor-common 86.5.1 → 86.7.0

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.
Files changed (109) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/cjs/analytics/types/link-events.js +5 -0
  3. package/dist/cjs/icons/shared/table.js +2 -1
  4. package/dist/cjs/monitoring/error.js +1 -1
  5. package/dist/cjs/quick-insert/assets/action.js +2 -1
  6. package/dist/cjs/quick-insert/assets/code.js +2 -1
  7. package/dist/cjs/quick-insert/assets/date.js +2 -1
  8. package/dist/cjs/quick-insert/assets/decision.js +2 -1
  9. package/dist/cjs/quick-insert/assets/divider.js +2 -1
  10. package/dist/cjs/quick-insert/assets/emoji.js +2 -1
  11. package/dist/cjs/quick-insert/assets/expand.js +2 -1
  12. package/dist/cjs/quick-insert/assets/fallback.js +2 -1
  13. package/dist/cjs/quick-insert/assets/feedback.js +2 -1
  14. package/dist/cjs/quick-insert/assets/heading1.js +2 -1
  15. package/dist/cjs/quick-insert/assets/heading2.js +2 -1
  16. package/dist/cjs/quick-insert/assets/heading3.js +2 -1
  17. package/dist/cjs/quick-insert/assets/heading4.js +2 -1
  18. package/dist/cjs/quick-insert/assets/heading5.js +2 -1
  19. package/dist/cjs/quick-insert/assets/heading6.js +2 -1
  20. package/dist/cjs/quick-insert/assets/images.js +2 -1
  21. package/dist/cjs/quick-insert/assets/layout.js +2 -1
  22. package/dist/cjs/quick-insert/assets/link.js +2 -1
  23. package/dist/cjs/quick-insert/assets/list-number.js +2 -1
  24. package/dist/cjs/quick-insert/assets/list.js +2 -1
  25. package/dist/cjs/quick-insert/assets/mention.js +2 -1
  26. package/dist/cjs/quick-insert/assets/panel-error.js +2 -1
  27. package/dist/cjs/quick-insert/assets/panel-note.js +2 -1
  28. package/dist/cjs/quick-insert/assets/panel-success.js +2 -1
  29. package/dist/cjs/quick-insert/assets/panel-warning.js +2 -1
  30. package/dist/cjs/quick-insert/assets/panel.js +2 -1
  31. package/dist/cjs/quick-insert/assets/quote.js +2 -1
  32. package/dist/cjs/quick-insert/assets/status.js +2 -1
  33. package/dist/cjs/ui/DropList/index.js +1 -1
  34. package/dist/cjs/utils/browser.js +3 -0
  35. package/dist/es2019/analytics/types/link-events.js +1 -0
  36. package/dist/es2019/icons/shared/table.js +2 -1
  37. package/dist/es2019/monitoring/error.js +1 -1
  38. package/dist/es2019/quick-insert/assets/action.js +2 -1
  39. package/dist/es2019/quick-insert/assets/code.js +2 -1
  40. package/dist/es2019/quick-insert/assets/date.js +2 -1
  41. package/dist/es2019/quick-insert/assets/decision.js +2 -1
  42. package/dist/es2019/quick-insert/assets/divider.js +2 -1
  43. package/dist/es2019/quick-insert/assets/emoji.js +2 -1
  44. package/dist/es2019/quick-insert/assets/expand.js +2 -1
  45. package/dist/es2019/quick-insert/assets/fallback.js +2 -1
  46. package/dist/es2019/quick-insert/assets/feedback.js +2 -1
  47. package/dist/es2019/quick-insert/assets/heading1.js +2 -1
  48. package/dist/es2019/quick-insert/assets/heading2.js +2 -1
  49. package/dist/es2019/quick-insert/assets/heading3.js +2 -1
  50. package/dist/es2019/quick-insert/assets/heading4.js +2 -1
  51. package/dist/es2019/quick-insert/assets/heading5.js +2 -1
  52. package/dist/es2019/quick-insert/assets/heading6.js +2 -1
  53. package/dist/es2019/quick-insert/assets/images.js +2 -1
  54. package/dist/es2019/quick-insert/assets/layout.js +2 -1
  55. package/dist/es2019/quick-insert/assets/link.js +2 -1
  56. package/dist/es2019/quick-insert/assets/list-number.js +2 -1
  57. package/dist/es2019/quick-insert/assets/list.js +2 -1
  58. package/dist/es2019/quick-insert/assets/mention.js +2 -1
  59. package/dist/es2019/quick-insert/assets/panel-error.js +2 -1
  60. package/dist/es2019/quick-insert/assets/panel-note.js +2 -1
  61. package/dist/es2019/quick-insert/assets/panel-success.js +2 -1
  62. package/dist/es2019/quick-insert/assets/panel-warning.js +2 -1
  63. package/dist/es2019/quick-insert/assets/panel.js +2 -1
  64. package/dist/es2019/quick-insert/assets/quote.js +2 -1
  65. package/dist/es2019/quick-insert/assets/status.js +2 -1
  66. package/dist/es2019/ui/DropList/index.js +1 -1
  67. package/dist/es2019/utils/browser.js +3 -0
  68. package/dist/esm/analytics/types/link-events.js +1 -0
  69. package/dist/esm/icons/shared/table.js +2 -1
  70. package/dist/esm/monitoring/error.js +1 -1
  71. package/dist/esm/quick-insert/assets/action.js +2 -1
  72. package/dist/esm/quick-insert/assets/code.js +2 -1
  73. package/dist/esm/quick-insert/assets/date.js +2 -1
  74. package/dist/esm/quick-insert/assets/decision.js +2 -1
  75. package/dist/esm/quick-insert/assets/divider.js +2 -1
  76. package/dist/esm/quick-insert/assets/emoji.js +2 -1
  77. package/dist/esm/quick-insert/assets/expand.js +2 -1
  78. package/dist/esm/quick-insert/assets/fallback.js +2 -1
  79. package/dist/esm/quick-insert/assets/feedback.js +2 -1
  80. package/dist/esm/quick-insert/assets/heading1.js +2 -1
  81. package/dist/esm/quick-insert/assets/heading2.js +2 -1
  82. package/dist/esm/quick-insert/assets/heading3.js +2 -1
  83. package/dist/esm/quick-insert/assets/heading4.js +2 -1
  84. package/dist/esm/quick-insert/assets/heading5.js +2 -1
  85. package/dist/esm/quick-insert/assets/heading6.js +2 -1
  86. package/dist/esm/quick-insert/assets/images.js +2 -1
  87. package/dist/esm/quick-insert/assets/layout.js +2 -1
  88. package/dist/esm/quick-insert/assets/link.js +2 -1
  89. package/dist/esm/quick-insert/assets/list-number.js +2 -1
  90. package/dist/esm/quick-insert/assets/list.js +2 -1
  91. package/dist/esm/quick-insert/assets/mention.js +2 -1
  92. package/dist/esm/quick-insert/assets/panel-error.js +2 -1
  93. package/dist/esm/quick-insert/assets/panel-note.js +2 -1
  94. package/dist/esm/quick-insert/assets/panel-success.js +2 -1
  95. package/dist/esm/quick-insert/assets/panel-warning.js +2 -1
  96. package/dist/esm/quick-insert/assets/panel.js +2 -1
  97. package/dist/esm/quick-insert/assets/quote.js +2 -1
  98. package/dist/esm/quick-insert/assets/status.js +2 -1
  99. package/dist/esm/ui/DropList/index.js +1 -1
  100. package/dist/esm/utils/browser.js +3 -0
  101. package/dist/types/analytics/types/events.d.ts +2 -1
  102. package/dist/types/analytics/types/link-events.d.ts +7 -0
  103. package/dist/types/types/feature-flags.d.ts +9 -0
  104. package/dist/types/types/hyperlink.d.ts +7 -0
  105. package/dist/types-ts4.5/analytics/types/events.d.ts +2 -1
  106. package/dist/types-ts4.5/analytics/types/link-events.d.ts +7 -0
  107. package/dist/types-ts4.5/types/feature-flags.d.ts +9 -0
  108. package/dist/types-ts4.5/types/hyperlink.d.ts +7 -0
  109. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 86.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#121606](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/121606)
8
+ [`fb55435295b55`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fb55435295b55) -
9
+ Add on click callback to hyperlink plugin for live page
10
+ - [#122895](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/122895)
11
+ [`a2c733eaa3214`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a2c733eaa3214) -
12
+ [ED-24348]
13
+
14
+ - Add feature flag `moreElementsInQuickInsertView` for experiment
15
+ `platform_editor_more_elements_in_quick_insert_view`
16
+ - Update quick insert icons to have viewBox attributes to allow scale
17
+
18
+ - [#122895](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/122895)
19
+ [`49b8c7658f3b5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/49b8c7658f3b5) -
20
+ [ED-24173] bump @atlaskit/adf-schema to 40.3.0 and @atlassian/adf-schema-json to 1.18.0
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies
25
+
26
+ ## 86.6.0
27
+
28
+ ### Minor Changes
29
+
30
+ - [#123621](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/123621)
31
+ [`4184bd66727cb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4184bd66727cb) -
32
+ Update drag preview opacity on windows
33
+
3
34
  ## 86.5.1
4
35
 
5
36
  ### Patch Changes
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -24,7 +24,8 @@ function IconTable() {
24
24
  focusable: "false",
25
25
  "aria-hidden": true,
26
26
  width: 40,
27
- height: 40
27
+ height: 40,
28
+ viewBox: "0 0 40 40"
28
29
  }, /*#__PURE__*/_react.default.createElement("g", {
29
30
  fill: "none",
30
31
  fillRule: "evenodd"
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
17
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
18
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
19
19
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
20
- var packageVersion = "86.5.1";
20
+ var packageVersion = "86.7.0";
21
21
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
22
22
  // Remove URL as it has UGC
23
23
  // TODO: Sanitise the URL instead of just removing it
@@ -14,7 +14,8 @@ function IconAction() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -15,7 +15,8 @@ function IconCode() {
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
17
  height: 40,
18
- fillRule: "evenodd"
18
+ fillRule: "evenodd",
19
+ viewBox: "0 0 40 40"
19
20
  }, /*#__PURE__*/_react.default.createElement("path", {
20
21
  fill: iconThemed({
21
22
  light: '#fff',
@@ -16,7 +16,8 @@ function IconDate() {
16
16
  focusable: "false",
17
17
  "aria-hidden": true,
18
18
  width: 40,
19
- height: 40
19
+ height: 40,
20
+ viewBox: "0 0 40 40"
20
21
  }, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
21
22
  x1: "100.699%",
22
23
  y1: "50%",
@@ -14,7 +14,8 @@ function IconDecision() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconDivider() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconEmoji() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconExpand() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -16,7 +16,8 @@ function IconFallback() {
16
16
  focusable: "false",
17
17
  "aria-hidden": true,
18
18
  width: 40,
19
- height: 40
19
+ height: 40,
20
+ viewBox: "0 0 40 40"
20
21
  }, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
21
22
  x1: "-26.046%",
22
23
  y1: "100%",
@@ -14,7 +14,8 @@ function IconFeedback() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
19
20
  x1: "46.01%",
20
21
  y1: "100%",
@@ -14,7 +14,8 @@ function IconHeading1() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconHeading2() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconHeading3() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconHeading4() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconHeading5() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconHeading6() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconImages() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("defs", null), /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconLayout() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconLink() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -20,7 +20,8 @@ function IconListOrdered() {
20
20
  focusable: "false",
21
21
  "aria-hidden": true,
22
22
  width: 40,
23
- height: 40
23
+ height: 40,
24
+ viewBox: "0 0 40 40"
24
25
  }, /*#__PURE__*/_react.default.createElement("g", {
25
26
  fill: "none",
26
27
  fillRule: "evenodd"
@@ -22,7 +22,8 @@ function IconList() {
22
22
  focusable: "false",
23
23
  "aria-hidden": true,
24
24
  width: 40,
25
- height: 40
25
+ height: 40,
26
+ viewBox: "0 0 40 40"
26
27
  }, /*#__PURE__*/_react.default.createElement("g", {
27
28
  fill: "none",
28
29
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconMention() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconPanelError() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconPanelNote() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconPanelSuccess() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconPanelWarning() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconPanel() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -17,7 +17,8 @@ function IconQuote() {
17
17
  focusable: "false",
18
18
  "aria-hidden": true,
19
19
  width: 40,
20
- height: 40
20
+ height: 40,
21
+ viewBox: "0 0 40 40"
21
22
  }, /*#__PURE__*/_react.default.createElement("g", {
22
23
  fill: "none",
23
24
  fillRule: "evenodd"
@@ -14,7 +14,8 @@ function IconStatus() {
14
14
  focusable: "false",
15
15
  "aria-hidden": true,
16
16
  width: 40,
17
- height: 40
17
+ height: 40,
18
+ viewBox: "0 0 40 40"
18
19
  }, /*#__PURE__*/_react.default.createElement("g", {
19
20
  fill: "none",
20
21
  fillRule: "evenodd"
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
23
23
  * @jsx jsx
24
24
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  var packageName = "@atlaskit/editor-common";
26
- var packageVersion = "86.5.1";
26
+ var packageVersion = "86.7.0";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  var DropList = /*#__PURE__*/function (_Component) {
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var result = {
8
8
  mac: false,
9
+ windows: false,
9
10
  ie: false,
10
11
  ie_version: 0,
11
12
  gecko: false,
@@ -21,10 +22,12 @@ var result = {
21
22
  supportsResizeObserver: false
22
23
  };
23
24
  if (typeof navigator !== 'undefined') {
25
+ var _userAgentData;
24
26
  var ieEdge = /Edge\/(\d+)/.exec(navigator.userAgent);
25
27
  var ieUpTo10 = /MSIE \d/.test(navigator.userAgent);
26
28
  var ie11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
27
29
  result.mac = /Mac/.test(navigator.platform);
30
+ result.windows = ((_userAgentData = navigator.userAgentData) === null || _userAgentData === void 0 ? void 0 : _userAgentData.platform) === 'Windows' || /Windows|Win\d+/i.test(navigator.userAgent);
28
31
  var ie = result.ie = !!(ieUpTo10 || ie11up || ieEdge);
29
32
  result.ie_version = ieUpTo10 ? document.documentMode || 6 : ie11up ? +ie11up[1] : ieEdge ? +ieEdge[1] : null;
30
33
  result.gecko = !ie && /gecko\/\d/i.test(navigator.userAgent);
@@ -0,0 +1 @@
1
+ export {};
@@ -17,7 +17,8 @@ export default function IconTable() {
17
17
  focusable: "false",
18
18
  "aria-hidden": true,
19
19
  width: 40,
20
- height: 40
20
+ height: 40,
21
+ viewBox: "0 0 40 40"
21
22
  }, /*#__PURE__*/React.createElement("g", {
22
23
  fill: "none",
23
24
  fillRule: "evenodd"
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "86.5.1";
4
+ const packageVersion = "86.7.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // TODO: Sanitise the URL instead of just removing it
@@ -8,7 +8,8 @@ export default function IconAction() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -9,7 +9,8 @@ export default function IconCode() {
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
11
  height: 40,
12
- fillRule: "evenodd"
12
+ fillRule: "evenodd",
13
+ viewBox: "0 0 40 40"
13
14
  }, /*#__PURE__*/React.createElement("path", {
14
15
  fill: iconThemed({
15
16
  light: '#fff',
@@ -9,7 +9,8 @@ export default function IconDate() {
9
9
  focusable: "false",
10
10
  "aria-hidden": true,
11
11
  width: 40,
12
- height: 40
12
+ height: 40,
13
+ viewBox: "0 0 40 40"
13
14
  }, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
14
15
  x1: "100.699%",
15
16
  y1: "50%",
@@ -8,7 +8,8 @@ export default function IconDecision() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconDivider() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconEmoji() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconExpand() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -9,7 +9,8 @@ export default function IconFallback() {
9
9
  focusable: "false",
10
10
  "aria-hidden": true,
11
11
  width: 40,
12
- height: 40
12
+ height: 40,
13
+ viewBox: "0 0 40 40"
13
14
  }, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
14
15
  x1: "-26.046%",
15
16
  y1: "100%",
@@ -6,7 +6,8 @@ export default function IconFeedback() {
6
6
  focusable: "false",
7
7
  "aria-hidden": true,
8
8
  width: 40,
9
- height: 40
9
+ height: 40,
10
+ viewBox: "0 0 40 40"
10
11
  }, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
11
12
  x1: "46.01%",
12
13
  y1: "100%",
@@ -8,7 +8,8 @@ export default function IconHeading1() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconHeading2() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconHeading3() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconHeading4() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconHeading5() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconHeading6() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconImages() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("defs", null), /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconLayout() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"
@@ -8,7 +8,8 @@ export default function IconLink() {
8
8
  focusable: "false",
9
9
  "aria-hidden": true,
10
10
  width: 40,
11
- height: 40
11
+ height: 40,
12
+ viewBox: "0 0 40 40"
12
13
  }, /*#__PURE__*/React.createElement("g", {
13
14
  fill: "none",
14
15
  fillRule: "evenodd"