@atlaskit/editor-common 106.3.3 → 106.5.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 (51) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/afm-cc/tsconfig.json +1 -1
  3. package/dist/cjs/analytics/types/enums.js +2 -0
  4. package/dist/cjs/analytics/types/ncs-session-step-events.js +5 -0
  5. package/dist/cjs/link/ConfigureLinkOverlay/Dropdown.js +3 -1
  6. package/dist/cjs/messages/breakout.js +20 -0
  7. package/dist/cjs/monitoring/error.js +1 -1
  8. package/dist/cjs/ncs-step-metrics/index.js +14 -0
  9. package/dist/cjs/styles/index.js +6 -0
  10. package/dist/cjs/styles/shared/resizer.js +30 -1
  11. package/dist/cjs/ui/DropList/index.js +1 -1
  12. package/dist/es2019/analytics/types/enums.js +2 -0
  13. package/dist/es2019/analytics/types/ncs-session-step-events.js +1 -0
  14. package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +3 -1
  15. package/dist/es2019/messages/breakout.js +20 -0
  16. package/dist/es2019/monitoring/error.js +1 -1
  17. package/dist/es2019/ncs-step-metrics/index.js +9 -0
  18. package/dist/es2019/styles/index.js +1 -1
  19. package/dist/es2019/styles/shared/resizer.js +29 -0
  20. package/dist/es2019/ui/DropList/index.js +1 -1
  21. package/dist/esm/analytics/types/enums.js +2 -0
  22. package/dist/esm/analytics/types/ncs-session-step-events.js +1 -0
  23. package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +3 -1
  24. package/dist/esm/messages/breakout.js +20 -0
  25. package/dist/esm/monitoring/error.js +1 -1
  26. package/dist/esm/ncs-step-metrics/index.js +9 -0
  27. package/dist/esm/styles/index.js +1 -1
  28. package/dist/esm/styles/shared/resizer.js +29 -0
  29. package/dist/esm/ui/DropList/index.js +1 -1
  30. package/dist/types/analytics/index.d.ts +2 -0
  31. package/dist/types/analytics/types/breakout-events.d.ts +9 -2
  32. package/dist/types/analytics/types/element-events.d.ts +7 -1
  33. package/dist/types/analytics/types/enums.d.ts +2 -0
  34. package/dist/types/analytics/types/events.d.ts +2 -1
  35. package/dist/types/analytics/types/ncs-session-step-events.d.ts +11 -0
  36. package/dist/types/messages/breakout.d.ts +20 -0
  37. package/dist/types/ncs-step-metrics/index.d.ts +5 -0
  38. package/dist/types/styles/index.d.ts +1 -1
  39. package/dist/types/styles/shared/resizer.d.ts +1 -0
  40. package/dist/types-ts4.5/analytics/index.d.ts +2 -0
  41. package/dist/types-ts4.5/analytics/types/breakout-events.d.ts +9 -2
  42. package/dist/types-ts4.5/analytics/types/element-events.d.ts +7 -1
  43. package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -0
  44. package/dist/types-ts4.5/analytics/types/events.d.ts +2 -1
  45. package/dist/types-ts4.5/analytics/types/ncs-session-step-events.d.ts +11 -0
  46. package/dist/types-ts4.5/messages/breakout.d.ts +20 -0
  47. package/dist/types-ts4.5/ncs-step-metrics/index.d.ts +5 -0
  48. package/dist/types-ts4.5/styles/index.d.ts +1 -1
  49. package/dist/types-ts4.5/styles/shared/resizer.d.ts +1 -0
  50. package/ncs-step-metrics/package.json +17 -0
  51. package/package.json +11 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 106.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#166997](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/166997)
8
+ [`826de0a17dc7e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/826de0a17dc7e) -
9
+ Introduce new breakout oprational event in editor-common, export the type and use in
10
+ editor-plugin-breakout. Add performance measurement for FPS for resizing
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
16
+ ## 106.4.0
17
+
18
+ ### Minor Changes
19
+
20
+ - [#164171](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/164171)
21
+ [`6e761beb64a85`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6e761beb64a85) -
22
+ ED-28155 add dnd performance tracker
23
+
24
+ ### Patch Changes
25
+
26
+ - [#166490](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/166490)
27
+ [`9f140155c14be`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f140155c14be) -
28
+ [ux] Shows tooltip on the resize handle when it is hovered.
29
+
3
30
  ## 106.3.3
4
31
 
5
32
  ### Patch Changes
@@ -4,7 +4,7 @@
4
4
  "declaration": true,
5
5
  "target": "es5",
6
6
  "composite": true,
7
- "outDir": "../dist",
7
+ "outDir": "../../../../../confluence/tsDist/@atlaskit__editor-common",
8
8
  "rootDir": "../"
9
9
  },
10
10
  "include": [
@@ -159,6 +159,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
159
159
  ACTION["SELECT_ALL_ESCAPED"] = "selectAllEscaped";
160
160
  ACTION["SORT_COLUMN"] = "sortedColumn";
161
161
  ACTION["SORT_COLUMN_NOT_ALLOWED"] = "sortColumnNotAllowed";
162
+ ACTION["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
162
163
  ACTION["STEPS_TRACKED"] = "stepsTracked";
163
164
  ACTION["STEPS_FILTERED"] = "stepsFiltered";
164
165
  ACTION["CREATE_NOT_ALLOWED"] = "createNotAllowed";
@@ -180,6 +181,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
180
181
  ACTION["UPLOAD_FAILED"] = "uploadFailed";
181
182
  ACTION["TOGGLE_CODE_BLOCK_WRAP"] = "toggleCodeBlockWrap";
182
183
  ACTION["RESIZED"] = "resized";
184
+ ACTION["RESIZED_PERF_SAMPLING"] = "resizedPerfSampling";
183
185
  ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
184
186
  ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
185
187
  ACTION["VIEW_MORE"] = "viewMore";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -16,6 +16,7 @@ var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
16
16
  var _customizePreferences = _interopRequireDefault(require("@atlaskit/icon/core/migration/customize--preferences"));
17
17
  var _linkExternalShortcut = _interopRequireDefault(require("@atlaskit/icon/core/migration/link-external--shortcut"));
18
18
  var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down"));
19
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
19
20
  var _messages = require("../../messages");
20
21
  var _StyledButton = require("./StyledButton");
21
22
  var _useLinkOverlayAnalyticsEvents = require("./useLinkOverlayAnalyticsEvents");
@@ -91,7 +92,8 @@ var Dropdown = function Dropdown(_ref) {
91
92
  }));
92
93
  },
93
94
  testId: "".concat(testId, "-dropdown"),
94
- onOpenChange: onOpenChange
95
+ onOpenChange: onOpenChange,
96
+ shouldRenderToParent: (0, _platformFeatureFlags.fg)('should-render-to-parent-should-be-true-editor')
95
97
  }, (0, _react2.jsx)(_dropdownMenu.DropdownItemGroup, null, (0, _react2.jsx)(_dropdownMenu.DropdownItem, {
96
98
  elemBefore: (0, _react2.jsx)(_linkExternalShortcut.default, {
97
99
  label: goToLinkLabel,
@@ -20,5 +20,25 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
20
20
  id: 'fabric.editor.resizeHandle',
21
21
  defaultMessage: 'Resize handle',
22
22
  description: 'Resize handle'
23
+ },
24
+ resizeExpand: {
25
+ id: 'fabric.editor.breakout.resizeExpand',
26
+ defaultMessage: 'Resize expand',
27
+ description: 'Tooltip displayed on custom expand width resize handle'
28
+ },
29
+ resizeCodeBlock: {
30
+ id: 'fabric.editor.breakout.resizeCodeBlock',
31
+ defaultMessage: 'Resize code snippet',
32
+ description: 'Tooltip displayed on custom code block width resize handle'
33
+ },
34
+ resizeLayout: {
35
+ id: 'fabric.editor.breakout.resizeLayout',
36
+ defaultMessage: 'Resize layout',
37
+ description: 'Tooltip displayed on custom layout width resize handle'
38
+ },
39
+ resizeElement: {
40
+ id: 'fabric.editor.breakout.resizeElement',
41
+ defaultMessage: 'Resize element',
42
+ description: 'Tooltip displayed on custom element (node) width resize handle'
23
43
  }
24
44
  });
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "106.3.3";
19
+ var packageVersion = "106.5.0";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NCS_STORAGE = void 0;
7
+ // Disable no-re-export rule for entry point files
8
+ /* eslint-disable @atlaskit/editor/no-re-export */
9
+ var NCS_STORAGE = exports.NCS_STORAGE = /*#__PURE__*/function (NCS_STORAGE) {
10
+ NCS_STORAGE["NCS_STORAGE_CLIENT_KEY"] = "ncs-session-step-metrics-storage";
11
+ NCS_STORAGE["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
12
+ NCS_STORAGE["NCS_ACTIVE_SESSIONS"] = "ncsActiveSessions";
13
+ return NCS_STORAGE;
14
+ }({});
@@ -327,6 +327,12 @@ Object.defineProperty(exports, "pragmaticResizerStyles", {
327
327
  return _resizer.pragmaticResizerStyles;
328
328
  }
329
329
  });
330
+ Object.defineProperty(exports, "pragmaticResizerStylesForTooltip", {
331
+ enumerable: true,
332
+ get: function get() {
333
+ return _resizer.pragmaticResizerStylesForTooltip;
334
+ }
335
+ });
330
336
  Object.defineProperty(exports, "resizerHandleClassName", {
331
337
  enumerable: true,
332
338
  get: function get() {
@@ -4,10 +4,11 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.resizerStyles = exports.resizerItemClassName = exports.resizerHoverZoneClassName = exports.resizerHandleZIndex = exports.resizerHandleTrackClassName = exports.resizerHandleThumbWidth = exports.resizerHandleThumbClassName = exports.resizerHandleClassName = exports.resizerExtendedZone = exports.resizerDangerClassName = exports.pragmaticResizerStyles = exports.handleWrapperClass = void 0;
7
+ exports.resizerStyles = exports.resizerItemClassName = exports.resizerHoverZoneClassName = exports.resizerHandleZIndex = exports.resizerHandleTrackClassName = exports.resizerHandleThumbWidth = exports.resizerHandleThumbClassName = exports.resizerHandleClassName = exports.resizerExtendedZone = exports.resizerDangerClassName = exports.pragmaticResizerStylesForTooltip = exports.pragmaticResizerStyles = exports.handleWrapperClass = void 0;
8
8
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
9
  var _react = require("@emotion/react");
10
10
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
11
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
12
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
12
13
  var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
14
  /*
@@ -31,6 +32,34 @@ var resizerHandleZIndex = exports.resizerHandleZIndex = 1;
31
32
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766, Seems perfectly safe to autofix, but comments would be lost…
32
33
  var resizerStyles = exports.resizerStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.", " {\n\t\twill-change: width;\n\n\t\t&:hover,\n\t\t&.display-handle {\n\t\t\t& > .", " > .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\n\t\t&.is-resizing {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t& .", " {\n\t\t\t\ttransition: none;\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tdisplay: flex;\n\t\tvisibility: hidden;\n\t\topacity: 0;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: 7px;\n\t\ttransition:\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t/*\n NOTE: The below style is targeted at the div element added by the tooltip. We don't have any means of injecting styles\n into the tooltip\n */\n\t\t& div[role='presentation'] {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tmargin-top: ", ";\n\t\t\twhite-space: normal;\n\t\t}\n\n\t\t/*\n Handle Positions\n */\n\t\t&.left {\n\t\t\talign-items: flex-start;\n\t\t}\n\t\t&.right {\n\t\t\talign-items: flex-end;\n\t\t}\n\n\t\t/*\n Handle Sizing\n */\n\t\t&.small {\n\t\t\t& .", " {\n\t\t\t\theight: 43px;\n\t\t\t}\n\t\t}\n\t\t&.medium {\n\t\t\t& .", " {\n\t\t\t\theight: 64px;\n\t\t\t}\n\t\t}\n\t\t&.large {\n\t\t\t& .", " {\n\t\t\t\theight: 96px;\n\t\t\t}\n\t\t}\n\t\t&.clamped {\n\t\t\t& .", " {\n\t\t\t\theight: clamp(43px, calc(100% - 32px), 96px);\n\t\t\t}\n\t\t}\n\n\t\t/*\n Handle Alignment\n */\n\t\t&.sticky {\n\t\t\t& .", " {\n\t\t\t\tposition: sticky;\n\t\t\t\ttop: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\n\t\t\t& .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 0.5;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tcontent: ' ';\n\t\tdisplay: flex;\n\t\twidth: 3px;\n\t\tmargin: 0 ", ";\n\t\theight: 64px;\n\t\ttransition: background-color 0.2s;\n\t\tborder-radius: 6px;\n\t\tborder: 0;\n\t\tpadding: 0;\n\t\tz-index: 2;\n\t\toutline: none;\n\t\tmin-height: 24px;\n\t\tbackground: ", ";\n\n\t\t&:hover {\n\t\t\tcursor: col-resize;\n\t\t}\n\n\t\t&:focus {\n\t\t\tbackground: ", ";\n\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: ", ";\n\t\t\t\tright: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t\tleft: ", ";\n\t\t\t\tborder: 2px solid ", ";\n\t\t\t\tborder-radius: inherit;\n\t\t\t\tz-index: -1;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tvisibility: hidden;\n\t\tposition: absolute;\n\t\twidth: 7px;\n\t\theight: calc(100% - 40px);\n\t\tborder-radius: 4px;\n\t\topacity: 0;\n\t\ttransition:\n\t\t\tbackground-color 0.2s,\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t&.none {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&.shadow {\n\t\t\tbackground: ", ";\n\t\t}\n\n\t\t&.full-height {\n\t\t\tbackground: ", ";\n\t\t\theight: 100%;\n\t\t\tmin-height: 36px;\n\t\t}\n\t}\n\n\t.", " {\n\t\t& .", " {\n\t\t\tbackground: ", ";\n\t\t}\n\t}\n\n\t// Remove when cleaning up platform_editor_interaction_api_refactor\n\t.ak-editor-no-interaction\n\t\t.", "\n\t\t.", ":not(:hover)\n\t\t.", " {\n\t\tbackground: ", ";\n\t}\n\n\t.", " {\n\t\tposition: relative;\n\t\tdisplay: inline-block;\n\t\twidth: 100%;\n\n\t\t&.", " {\n\t\t\tpadding: 0 ", ";\n\t\t\tleft: ", ";\n\t\t}\n\t}\n\n\t/* This below style is here to make sure the image width is correct when nested in a table */\n\ttable .", ", table .", ".", " {\n\t\tpadding: unset;\n\t\tleft: unset;\n\t}\n"])), resizerItemClassName, handleWrapperClass, resizerHandleClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #388BFF)", resizerDangerClassName, resizerHandleThumbClassName, "var(--ds-icon-danger, ".concat(_editorSharedStyles.akEditorDeleteIconColor, ")"), resizerHandleClassName, "var(--ds-space-negative-200, -16px)", resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, "var(--ds-space-150, 12px)", "var(--ds-space-150, 12px)", resizerHandleThumbClassName, "var(--ds-border-focused, #388BFF)", resizerHandleTrackClassName, resizerHandleThumbClassName, "var(--ds-space-025, 2px)", "var(--ds-border, #091E4224)", "var(--ds-border-selected, #0C66E4)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-border-focused, #388BFF)", resizerHandleTrackClassName, "var(--ds-background-selected, #E9F2FF)", "var(--ds-background-selected, #E9F2FF)", akEditorSelectedNodeClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #388BFF)", akEditorSelectedNodeClassName, resizerHandleClassName, resizerHandleThumbClassName, "var(--ds-border, #091E4224)", resizerHoverZoneClassName, resizerExtendedZone, "var(--ds-space-150, 12px)", "var(--ds-space-negative-150, -12px)", resizerHoverZoneClassName, resizerHoverZoneClassName, resizerExtendedZone);
33
34
 
35
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
36
+ var pragmaticResizerStylesForTooltip = exports.pragmaticResizerStylesForTooltip = function pragmaticResizerStylesForTooltip() {
37
+ if ((0, _experiments.editorExperiment)('platform_editor_breakout_resizing', true) && (0, _platformFeatureFlags.fg)('platform_editor_breakout_resizing_hello_release')) {
38
+ return (0, _react.css)({
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
40
+ '.pm-breakout-resize-handle-rail-wrapper': {
41
+ display: 'flex',
42
+ alignItems: 'center',
43
+ justifyContent: 'center',
44
+ height: '100%',
45
+ cursor: 'col-resize',
46
+ borderRadius: 4,
47
+ zIndex: 2,
48
+ // Tootip element
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
50
+ '[role="presentation"]': {
51
+ height: '100%',
52
+ width: '100%'
53
+ },
54
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
55
+ '.pm-breakout-resize-handle-rail-inside-tooltip': {
56
+ height: '100%'
57
+ }
58
+ }
59
+ });
60
+ }
61
+ };
62
+
34
63
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
35
64
  var pragmaticResizerStyles = exports.pragmaticResizerStyles = function pragmaticResizerStyles() {
36
65
  if ((0, _experiments.editorExperiment)('platform_editor_breakout_resizing', false)) {
@@ -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 = "106.3.3";
26
+ var packageVersion = "106.5.0";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -153,6 +153,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
153
153
  ACTION["SELECT_ALL_ESCAPED"] = "selectAllEscaped";
154
154
  ACTION["SORT_COLUMN"] = "sortedColumn";
155
155
  ACTION["SORT_COLUMN_NOT_ALLOWED"] = "sortColumnNotAllowed";
156
+ ACTION["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
156
157
  ACTION["STEPS_TRACKED"] = "stepsTracked";
157
158
  ACTION["STEPS_FILTERED"] = "stepsFiltered";
158
159
  ACTION["CREATE_NOT_ALLOWED"] = "createNotAllowed";
@@ -174,6 +175,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
174
175
  ACTION["UPLOAD_FAILED"] = "uploadFailed";
175
176
  ACTION["TOGGLE_CODE_BLOCK_WRAP"] = "toggleCodeBlockWrap";
176
177
  ACTION["RESIZED"] = "resized";
178
+ ACTION["RESIZED_PERF_SAMPLING"] = "resizedPerfSampling";
177
179
  ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
178
180
  ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
179
181
  ACTION["VIEW_MORE"] = "viewMore";
@@ -13,6 +13,7 @@ import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdow
13
13
  import PreferencesIcon from '@atlaskit/icon/core/migration/customize--preferences';
14
14
  import LinkExternalIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
15
15
  import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
16
+ import { fg } from '@atlaskit/platform-feature-flags';
16
17
  import { cardMessages as messages } from '../../messages';
17
18
  import { StyledButton } from './StyledButton';
18
19
  import { useLinkOverlayAnalyticsEvents } from './useLinkOverlayAnalyticsEvents';
@@ -82,7 +83,8 @@ const Dropdown = ({
82
83
  }
83
84
  })),
84
85
  testId: `${testId}-dropdown`,
85
- onOpenChange: onOpenChange
86
+ onOpenChange: onOpenChange,
87
+ shouldRenderToParent: fg('should-render-to-parent-should-be-true-editor')
86
88
  }, jsx(DropdownItemGroup, null, jsx(DropdownItem, {
87
89
  elemBefore: jsx(LinkExternalIcon, {
88
90
  label: goToLinkLabel,
@@ -14,5 +14,25 @@ export const messages = defineMessages({
14
14
  id: 'fabric.editor.resizeHandle',
15
15
  defaultMessage: 'Resize handle',
16
16
  description: 'Resize handle'
17
+ },
18
+ resizeExpand: {
19
+ id: 'fabric.editor.breakout.resizeExpand',
20
+ defaultMessage: 'Resize expand',
21
+ description: 'Tooltip displayed on custom expand width resize handle'
22
+ },
23
+ resizeCodeBlock: {
24
+ id: 'fabric.editor.breakout.resizeCodeBlock',
25
+ defaultMessage: 'Resize code snippet',
26
+ description: 'Tooltip displayed on custom code block width resize handle'
27
+ },
28
+ resizeLayout: {
29
+ id: 'fabric.editor.breakout.resizeLayout',
30
+ defaultMessage: 'Resize layout',
31
+ description: 'Tooltip displayed on custom layout width resize handle'
32
+ },
33
+ resizeElement: {
34
+ id: 'fabric.editor.breakout.resizeElement',
35
+ defaultMessage: 'Resize element',
36
+ description: 'Tooltip displayed on custom element (node) width resize handle'
17
37
  }
18
38
  });
@@ -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 = "106.3.3";
4
+ const packageVersion = "106.5.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -0,0 +1,9 @@
1
+ // Disable no-re-export rule for entry point files
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
3
+
4
+ export let NCS_STORAGE = /*#__PURE__*/function (NCS_STORAGE) {
5
+ NCS_STORAGE["NCS_STORAGE_CLIENT_KEY"] = "ncs-session-step-metrics-storage";
6
+ NCS_STORAGE["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
7
+ NCS_STORAGE["NCS_ACTIVE_SESSIONS"] = "ncsActiveSessions";
8
+ return NCS_STORAGE;
9
+ }({});
@@ -26,7 +26,7 @@ export { DropdownMenuSharedCssClassName } from './shared/dropdown-menu';
26
26
  export { CodeBlockSharedCssClassName, codeBlockSharedStyles, codeBlockInListSafariFix } from './shared/code-block';
27
27
  export { LAYOUT_SECTION_MARGIN, LAYOUT_COLUMN_PADDING } from './shared/layout';
28
28
  export { EXTENSION_PADDING, BODIED_EXT_PADDING } from './shared/extension';
29
- export { resizerStyles, resizerHandleClassName, resizerHandleTrackClassName, resizerHandleThumbClassName, resizerHandleThumbWidth, pragmaticResizerStyles } from './shared/resizer';
29
+ export { resizerStyles, resizerHandleClassName, resizerHandleTrackClassName, resizerHandleThumbClassName, resizerHandleThumbWidth, pragmaticResizerStyles, pragmaticResizerStylesForTooltip } from './shared/resizer';
30
30
  export { gridStyles, GRID_GUTTER } from './shared/grid';
31
31
  export { smartCardStyles, FLOATING_TOOLBAR_LINKPICKER_CLASSNAME, DATASOURCE_INNER_CONTAINER_CLASSNAME } from './shared/smartCard';
32
32
  export { embedCardStyles, embedSpacingStyles } from './shared/embedCard';
@@ -1,6 +1,7 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
3
  import { akEditorDeleteIconColor } from '@atlaskit/editor-shared-styles';
4
+ import { fg } from '@atlaskit/platform-feature-flags';
4
5
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
5
6
  /*
6
7
  Styles in this file are based on
@@ -226,6 +227,34 @@ export const resizerStyles = css`
226
227
  }
227
228
  `;
228
229
 
230
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
231
+ export const pragmaticResizerStylesForTooltip = () => {
232
+ if (editorExperiment('platform_editor_breakout_resizing', true) && fg('platform_editor_breakout_resizing_hello_release')) {
233
+ return css({
234
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
235
+ '.pm-breakout-resize-handle-rail-wrapper': {
236
+ display: 'flex',
237
+ alignItems: 'center',
238
+ justifyContent: 'center',
239
+ height: '100%',
240
+ cursor: 'col-resize',
241
+ borderRadius: 4,
242
+ zIndex: 2,
243
+ // Tootip element
244
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
245
+ '[role="presentation"]': {
246
+ height: '100%',
247
+ width: '100%'
248
+ },
249
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
250
+ '.pm-breakout-resize-handle-rail-inside-tooltip': {
251
+ height: '100%'
252
+ }
253
+ }
254
+ });
255
+ }
256
+ };
257
+
229
258
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
230
259
  export const pragmaticResizerStyles = () => {
231
260
  if (editorExperiment('platform_editor_breakout_resizing', false)) {
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "106.3.3";
16
+ const packageVersion = "106.5.0";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -153,6 +153,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
153
153
  ACTION["SELECT_ALL_ESCAPED"] = "selectAllEscaped";
154
154
  ACTION["SORT_COLUMN"] = "sortedColumn";
155
155
  ACTION["SORT_COLUMN_NOT_ALLOWED"] = "sortColumnNotAllowed";
156
+ ACTION["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
156
157
  ACTION["STEPS_TRACKED"] = "stepsTracked";
157
158
  ACTION["STEPS_FILTERED"] = "stepsFiltered";
158
159
  ACTION["CREATE_NOT_ALLOWED"] = "createNotAllowed";
@@ -174,6 +175,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
174
175
  ACTION["UPLOAD_FAILED"] = "uploadFailed";
175
176
  ACTION["TOGGLE_CODE_BLOCK_WRAP"] = "toggleCodeBlockWrap";
176
177
  ACTION["RESIZED"] = "resized";
178
+ ACTION["RESIZED_PERF_SAMPLING"] = "resizedPerfSampling";
177
179
  ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
178
180
  ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
179
181
  ACTION["VIEW_MORE"] = "viewMore";
@@ -15,6 +15,7 @@ import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdow
15
15
  import PreferencesIcon from '@atlaskit/icon/core/migration/customize--preferences';
16
16
  import LinkExternalIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
17
17
  import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
18
+ import { fg } from '@atlaskit/platform-feature-flags';
18
19
  import { cardMessages as messages } from '../../messages';
19
20
  import { StyledButton } from './StyledButton';
20
21
  import { useLinkOverlayAnalyticsEvents } from './useLinkOverlayAnalyticsEvents';
@@ -83,7 +84,8 @@ var Dropdown = function Dropdown(_ref) {
83
84
  }));
84
85
  },
85
86
  testId: "".concat(testId, "-dropdown"),
86
- onOpenChange: onOpenChange
87
+ onOpenChange: onOpenChange,
88
+ shouldRenderToParent: fg('should-render-to-parent-should-be-true-editor')
87
89
  }, jsx(DropdownItemGroup, null, jsx(DropdownItem, {
88
90
  elemBefore: jsx(LinkExternalIcon, {
89
91
  label: goToLinkLabel,
@@ -14,5 +14,25 @@ export var messages = defineMessages({
14
14
  id: 'fabric.editor.resizeHandle',
15
15
  defaultMessage: 'Resize handle',
16
16
  description: 'Resize handle'
17
+ },
18
+ resizeExpand: {
19
+ id: 'fabric.editor.breakout.resizeExpand',
20
+ defaultMessage: 'Resize expand',
21
+ description: 'Tooltip displayed on custom expand width resize handle'
22
+ },
23
+ resizeCodeBlock: {
24
+ id: 'fabric.editor.breakout.resizeCodeBlock',
25
+ defaultMessage: 'Resize code snippet',
26
+ description: 'Tooltip displayed on custom code block width resize handle'
27
+ },
28
+ resizeLayout: {
29
+ id: 'fabric.editor.breakout.resizeLayout',
30
+ defaultMessage: 'Resize layout',
31
+ description: 'Tooltip displayed on custom layout width resize handle'
32
+ },
33
+ resizeElement: {
34
+ id: 'fabric.editor.breakout.resizeElement',
35
+ defaultMessage: 'Resize element',
36
+ description: 'Tooltip displayed on custom element (node) width resize handle'
17
37
  }
18
38
  });
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "106.3.3";
10
+ var packageVersion = "106.5.0";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -0,0 +1,9 @@
1
+ // Disable no-re-export rule for entry point files
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
3
+
4
+ export var NCS_STORAGE = /*#__PURE__*/function (NCS_STORAGE) {
5
+ NCS_STORAGE["NCS_STORAGE_CLIENT_KEY"] = "ncs-session-step-metrics-storage";
6
+ NCS_STORAGE["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
7
+ NCS_STORAGE["NCS_ACTIVE_SESSIONS"] = "ncsActiveSessions";
8
+ return NCS_STORAGE;
9
+ }({});
@@ -26,7 +26,7 @@ export { DropdownMenuSharedCssClassName } from './shared/dropdown-menu';
26
26
  export { CodeBlockSharedCssClassName, codeBlockSharedStyles, codeBlockInListSafariFix } from './shared/code-block';
27
27
  export { LAYOUT_SECTION_MARGIN, LAYOUT_COLUMN_PADDING } from './shared/layout';
28
28
  export { EXTENSION_PADDING, BODIED_EXT_PADDING } from './shared/extension';
29
- export { resizerStyles, resizerHandleClassName, resizerHandleTrackClassName, resizerHandleThumbClassName, resizerHandleThumbWidth, pragmaticResizerStyles } from './shared/resizer';
29
+ export { resizerStyles, resizerHandleClassName, resizerHandleTrackClassName, resizerHandleThumbClassName, resizerHandleThumbWidth, pragmaticResizerStyles, pragmaticResizerStylesForTooltip } from './shared/resizer';
30
30
  export { gridStyles, GRID_GUTTER } from './shared/grid';
31
31
  export { smartCardStyles, FLOATING_TOOLBAR_LINKPICKER_CLASSNAME, DATASOURCE_INNER_CONTAINER_CLASSNAME } from './shared/smartCard';
32
32
  export { embedCardStyles, embedSpacingStyles } from './shared/embedCard';
@@ -3,6 +3,7 @@ var _templateObject;
3
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
4
  import { css } from '@emotion/react';
5
5
  import { akEditorDeleteIconColor } from '@atlaskit/editor-shared-styles';
6
+ import { fg } from '@atlaskit/platform-feature-flags';
6
7
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
7
8
  /*
8
9
  Styles in this file are based on
@@ -25,6 +26,34 @@ export var resizerHandleZIndex = 1;
25
26
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766, Seems perfectly safe to autofix, but comments would be lost…
26
27
  export var resizerStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.", " {\n\t\twill-change: width;\n\n\t\t&:hover,\n\t\t&.display-handle {\n\t\t\t& > .", " > .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\n\t\t&.is-resizing {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t& .", " {\n\t\t\t\ttransition: none;\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tdisplay: flex;\n\t\tvisibility: hidden;\n\t\topacity: 0;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\twidth: 7px;\n\t\ttransition:\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t/*\n NOTE: The below style is targeted at the div element added by the tooltip. We don't have any means of injecting styles\n into the tooltip\n */\n\t\t& div[role='presentation'] {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tmargin-top: ", ";\n\t\t\twhite-space: normal;\n\t\t}\n\n\t\t/*\n Handle Positions\n */\n\t\t&.left {\n\t\t\talign-items: flex-start;\n\t\t}\n\t\t&.right {\n\t\t\talign-items: flex-end;\n\t\t}\n\n\t\t/*\n Handle Sizing\n */\n\t\t&.small {\n\t\t\t& .", " {\n\t\t\t\theight: 43px;\n\t\t\t}\n\t\t}\n\t\t&.medium {\n\t\t\t& .", " {\n\t\t\t\theight: 64px;\n\t\t\t}\n\t\t}\n\t\t&.large {\n\t\t\t& .", " {\n\t\t\t\theight: 96px;\n\t\t\t}\n\t\t}\n\t\t&.clamped {\n\t\t\t& .", " {\n\t\t\t\theight: clamp(43px, calc(100% - 32px), 96px);\n\t\t\t}\n\t\t}\n\n\t\t/*\n Handle Alignment\n */\n\t\t&.sticky {\n\t\t\t& .", " {\n\t\t\t\tposition: sticky;\n\t\t\t\ttop: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t& .", " {\n\t\t\t\tbackground: ", ";\n\t\t\t}\n\n\t\t\t& .", " {\n\t\t\t\tvisibility: visible;\n\t\t\t\topacity: 0.5;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tcontent: ' ';\n\t\tdisplay: flex;\n\t\twidth: 3px;\n\t\tmargin: 0 ", ";\n\t\theight: 64px;\n\t\ttransition: background-color 0.2s;\n\t\tborder-radius: 6px;\n\t\tborder: 0;\n\t\tpadding: 0;\n\t\tz-index: 2;\n\t\toutline: none;\n\t\tmin-height: 24px;\n\t\tbackground: ", ";\n\n\t\t&:hover {\n\t\t\tcursor: col-resize;\n\t\t}\n\n\t\t&:focus {\n\t\t\tbackground: ", ";\n\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: ", ";\n\t\t\t\tright: ", ";\n\t\t\t\tbottom: ", ";\n\t\t\t\tleft: ", ";\n\t\t\t\tborder: 2px solid ", ";\n\t\t\t\tborder-radius: inherit;\n\t\t\t\tz-index: -1;\n\t\t\t}\n\t\t}\n\t}\n\n\t.", " {\n\t\tvisibility: hidden;\n\t\tposition: absolute;\n\t\twidth: 7px;\n\t\theight: calc(100% - 40px);\n\t\tborder-radius: 4px;\n\t\topacity: 0;\n\t\ttransition:\n\t\t\tbackground-color 0.2s,\n\t\t\tvisibility 0.2s,\n\t\t\topacity 0.2s;\n\n\t\t&.none {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&.shadow {\n\t\t\tbackground: ", ";\n\t\t}\n\n\t\t&.full-height {\n\t\t\tbackground: ", ";\n\t\t\theight: 100%;\n\t\t\tmin-height: 36px;\n\t\t}\n\t}\n\n\t.", " {\n\t\t& .", " {\n\t\t\tbackground: ", ";\n\t\t}\n\t}\n\n\t// Remove when cleaning up platform_editor_interaction_api_refactor\n\t.ak-editor-no-interaction\n\t\t.", "\n\t\t.", ":not(:hover)\n\t\t.", " {\n\t\tbackground: ", ";\n\t}\n\n\t.", " {\n\t\tposition: relative;\n\t\tdisplay: inline-block;\n\t\twidth: 100%;\n\n\t\t&.", " {\n\t\t\tpadding: 0 ", ";\n\t\t\tleft: ", ";\n\t\t}\n\t}\n\n\t/* This below style is here to make sure the image width is correct when nested in a table */\n\ttable .", ", table .", ".", " {\n\t\tpadding: unset;\n\t\tleft: unset;\n\t}\n"])), resizerItemClassName, handleWrapperClass, resizerHandleClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #388BFF)", resizerDangerClassName, resizerHandleThumbClassName, "var(--ds-icon-danger, ".concat(akEditorDeleteIconColor, ")"), resizerHandleClassName, "var(--ds-space-negative-200, -16px)", resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, resizerHandleThumbClassName, "var(--ds-space-150, 12px)", "var(--ds-space-150, 12px)", resizerHandleThumbClassName, "var(--ds-border-focused, #388BFF)", resizerHandleTrackClassName, resizerHandleThumbClassName, "var(--ds-space-025, 2px)", "var(--ds-border, #091E4224)", "var(--ds-border-selected, #0C66E4)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-space-negative-050, -4px)", "var(--ds-border-focused, #388BFF)", resizerHandleTrackClassName, "var(--ds-background-selected, #E9F2FF)", "var(--ds-background-selected, #E9F2FF)", akEditorSelectedNodeClassName, resizerHandleThumbClassName, "var(--ds-border-focused, #388BFF)", akEditorSelectedNodeClassName, resizerHandleClassName, resizerHandleThumbClassName, "var(--ds-border, #091E4224)", resizerHoverZoneClassName, resizerExtendedZone, "var(--ds-space-150, 12px)", "var(--ds-space-negative-150, -12px)", resizerHoverZoneClassName, resizerHoverZoneClassName, resizerExtendedZone);
27
28
 
29
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
30
+ export var pragmaticResizerStylesForTooltip = function pragmaticResizerStylesForTooltip() {
31
+ if (editorExperiment('platform_editor_breakout_resizing', true) && fg('platform_editor_breakout_resizing_hello_release')) {
32
+ return css({
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
34
+ '.pm-breakout-resize-handle-rail-wrapper': {
35
+ display: 'flex',
36
+ alignItems: 'center',
37
+ justifyContent: 'center',
38
+ height: '100%',
39
+ cursor: 'col-resize',
40
+ borderRadius: 4,
41
+ zIndex: 2,
42
+ // Tootip element
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
44
+ '[role="presentation"]': {
45
+ height: '100%',
46
+ width: '100%'
47
+ },
48
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
49
+ '.pm-breakout-resize-handle-rail-inside-tooltip': {
50
+ height: '100%'
51
+ }
52
+ }
53
+ });
54
+ }
55
+ };
56
+
28
57
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
29
58
  export var pragmaticResizerStyles = function pragmaticResizerStyles() {
30
59
  if (editorExperiment('platform_editor_breakout_resizing', false)) {
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "106.3.3";
23
+ var packageVersion = "106.5.0";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -49,3 +49,5 @@ export type { AIUnifiedEventPayload, AIUnifiedCommonAttributes } from './types/a
49
49
  export type { ActiveSessionEventPayload, ActiveSessionEventAttributes, } from './types/activity-session-events';
50
50
  export { type AIInlineSuggestionPayload, AI_SUGGESTION_TRIGGERED_FROM, } from './types/ai-inline-suggestion-events';
51
51
  export { type TelepointerClickPayload } from './types/telepointer-events';
52
+ export { type NcsSessionStepEventAEP, type NcsSessionStepMetrics, } from './types/ncs-session-step-events';
53
+ export type { BreakoutEventPayload } from './types/breakout-events';
@@ -1,10 +1,17 @@
1
1
  import type { ACTION, ACTION_SUBJECT } from './enums';
2
- import type { TrackAEP } from './utils';
2
+ import type { OperationalAEP, TrackAEP } from './utils';
3
3
  type BreakoutSupportedNodes = 'layoutSection' | 'expand' | 'codeBlock';
4
4
  export type BreakoutResizedAEP = TrackAEP<ACTION.RESIZED, ACTION_SUBJECT.ELEMENT, undefined, {
5
5
  nodeType: BreakoutSupportedNodes;
6
6
  prevWidth?: number;
7
7
  newWidth?: number;
8
8
  }, undefined>;
9
- export type BreakoutEventPayload = BreakoutResizedAEP;
9
+ export type BreakoutResizedPerfSamplingAEP = OperationalAEP<ACTION.RESIZED_PERF_SAMPLING, ACTION_SUBJECT.ELEMENT, undefined, {
10
+ nodeType: BreakoutSupportedNodes;
11
+ frameRate: number;
12
+ nodeSize: number;
13
+ docSize: number;
14
+ isInitialSample: boolean;
15
+ }>;
16
+ export type BreakoutEventPayload = BreakoutResizedAEP | BreakoutResizedPerfSamplingAEP;
10
17
  export {};
@@ -12,7 +12,13 @@ type ElementAttributes = {
12
12
  };
13
13
  type ElementMovedAEP = TrackAEP<ACTION.MOVED, ACTION_SUBJECT.ELEMENT, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
14
14
  type ElementDragAEP = UIAEP<ACTION.DRAGGED, ACTION_SUBJECT.ELEMENT, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
15
+ type ElementDragEndAEP = TrackAEP<ACTION.ENDED, ACTION_SUBJECT.DRAG, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, {
16
+ dragInitializationDuration: number;
17
+ dropProcessingDuration: number;
18
+ isCancelled: boolean;
19
+ nodesCount: number;
20
+ }, null>;
15
21
  type DragCancelledAEP = UIAEP<ACTION.CANCELLED, ACTION_SUBJECT.DRAG, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
16
22
  type ElementClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
17
- export type ElementEventPayload = ElementClickedAEP | ElementMovedAEP | ElementDragAEP | DragCancelledAEP;
23
+ export type ElementEventPayload = ElementClickedAEP | ElementMovedAEP | ElementDragAEP | ElementDragEndAEP | DragCancelledAEP;
18
24
  export {};
@@ -152,6 +152,7 @@ export declare enum ACTION {
152
152
  SELECT_ALL_ESCAPED = "selectAllEscaped",
153
153
  SORT_COLUMN = "sortedColumn",
154
154
  SORT_COLUMN_NOT_ALLOWED = "sortColumnNotAllowed",
155
+ NCS_SESSION_STEP_METRICS = "ncsSessionStepMetrics",
155
156
  STEPS_TRACKED = "stepsTracked",
156
157
  STEPS_FILTERED = "stepsFiltered",
157
158
  CREATE_NOT_ALLOWED = "createNotAllowed",
@@ -173,6 +174,7 @@ export declare enum ACTION {
173
174
  UPLOAD_FAILED = "uploadFailed",
174
175
  TOGGLE_CODE_BLOCK_WRAP = "toggleCodeBlockWrap",
175
176
  RESIZED = "resized",
177
+ RESIZED_PERF_SAMPLING = "resizedPerfSampling",
176
178
  BLOCKS_DRAG_INIT = "blocksDragInit",
177
179
  SINGLE_COL_LAYOUT_DETECTED = "singleColumLayoutDetected",
178
180
  VIEW_MORE = "viewMore",
@@ -37,6 +37,7 @@ import type { LoomEventPayload } from './loom-events';
37
37
  import type { MediaEventPayload } from './media-events';
38
38
  import { type MentionEventPayload } from './mention-events';
39
39
  import type { MoveContentEventPayload } from './move-content-events';
40
+ import { NcsSessionStepEventAEP } from './ncs-session-step-events';
40
41
  import { type NestedTableActionsEventPayload } from './nested-table-events';
41
42
  import type { NodeEventPayload } from './node-events';
42
43
  import type { OfflineEditingEventPayload } from './offline-editing-event';
@@ -60,7 +61,7 @@ export type SimplifiedNode = {
60
61
  marks?: string[];
61
62
  content?: SimplifiedNode[];
62
63
  };
63
- export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload;
64
+ export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP;
64
65
  type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
65
66
  previousColor: string;
66
67
  newColor: string;
@@ -0,0 +1,11 @@
1
+ import { ACTION, ACTION_SUBJECT } from './enums';
2
+ import type { OperationalAEP } from './utils';
3
+ export type NcsSessionStepMetrics = {
4
+ ncsSessionId?: string;
5
+ totalStepSize: number;
6
+ numberOfSteps: number;
7
+ maxStepSize: number;
8
+ stepSizeSumForP90?: number[];
9
+ p90StepSize?: number;
10
+ };
11
+ export type NcsSessionStepEventAEP = OperationalAEP<ACTION.NCS_SESSION_STEP_METRICS, ACTION_SUBJECT.COLLAB, undefined, NcsSessionStepMetrics>;
@@ -14,4 +14,24 @@ export declare const messages: {
14
14
  defaultMessage: string;
15
15
  description: string;
16
16
  };
17
+ resizeExpand: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
22
+ resizeCodeBlock: {
23
+ id: string;
24
+ defaultMessage: string;
25
+ description: string;
26
+ };
27
+ resizeLayout: {
28
+ id: string;
29
+ defaultMessage: string;
30
+ description: string;
31
+ };
32
+ resizeElement: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
17
37
  };
@@ -0,0 +1,5 @@
1
+ export declare enum NCS_STORAGE {
2
+ NCS_STORAGE_CLIENT_KEY = "ncs-session-step-metrics-storage",
3
+ NCS_SESSION_STEP_METRICS = "ncsSessionStepMetrics",
4
+ NCS_ACTIVE_SESSIONS = "ncsActiveSessions"
5
+ }
@@ -23,7 +23,7 @@ export { DropdownMenuSharedCssClassName } from './shared/dropdown-menu';
23
23
  export { CodeBlockSharedCssClassName, codeBlockSharedStyles, codeBlockInListSafariFix, } from './shared/code-block';
24
24
  export { LAYOUT_SECTION_MARGIN, LAYOUT_COLUMN_PADDING } from './shared/layout';
25
25
  export { EXTENSION_PADDING, BODIED_EXT_PADDING } from './shared/extension';
26
- export { resizerStyles, resizerHandleClassName, resizerHandleTrackClassName, resizerHandleThumbClassName, resizerHandleThumbWidth, pragmaticResizerStyles, } from './shared/resizer';
26
+ export { resizerStyles, resizerHandleClassName, resizerHandleTrackClassName, resizerHandleThumbClassName, resizerHandleThumbWidth, pragmaticResizerStyles, pragmaticResizerStylesForTooltip, } from './shared/resizer';
27
27
  export { gridStyles, GRID_GUTTER } from './shared/grid';
28
28
  export { smartCardStyles, FLOATING_TOOLBAR_LINKPICKER_CLASSNAME, DATASOURCE_INNER_CONTAINER_CLASSNAME, } from './shared/smartCard';
29
29
  export { embedCardStyles, embedSpacingStyles } from './shared/embedCard';
@@ -9,4 +9,5 @@ export declare const handleWrapperClass = "resizer-handle-wrapper";
9
9
  export declare const resizerHandleThumbWidth = 3;
10
10
  export declare const resizerHandleZIndex = 1;
11
11
  export declare const resizerStyles: import("@emotion/react").SerializedStyles;
12
+ export declare const pragmaticResizerStylesForTooltip: () => import("@emotion/react").SerializedStyles | undefined;
12
13
  export declare const pragmaticResizerStyles: () => import("@emotion/react").SerializedStyles | undefined;
@@ -49,3 +49,5 @@ export type { AIUnifiedEventPayload, AIUnifiedCommonAttributes } from './types/a
49
49
  export type { ActiveSessionEventPayload, ActiveSessionEventAttributes, } from './types/activity-session-events';
50
50
  export { type AIInlineSuggestionPayload, AI_SUGGESTION_TRIGGERED_FROM, } from './types/ai-inline-suggestion-events';
51
51
  export { type TelepointerClickPayload } from './types/telepointer-events';
52
+ export { type NcsSessionStepEventAEP, type NcsSessionStepMetrics, } from './types/ncs-session-step-events';
53
+ export type { BreakoutEventPayload } from './types/breakout-events';
@@ -1,10 +1,17 @@
1
1
  import type { ACTION, ACTION_SUBJECT } from './enums';
2
- import type { TrackAEP } from './utils';
2
+ import type { OperationalAEP, TrackAEP } from './utils';
3
3
  type BreakoutSupportedNodes = 'layoutSection' | 'expand' | 'codeBlock';
4
4
  export type BreakoutResizedAEP = TrackAEP<ACTION.RESIZED, ACTION_SUBJECT.ELEMENT, undefined, {
5
5
  nodeType: BreakoutSupportedNodes;
6
6
  prevWidth?: number;
7
7
  newWidth?: number;
8
8
  }, undefined>;
9
- export type BreakoutEventPayload = BreakoutResizedAEP;
9
+ export type BreakoutResizedPerfSamplingAEP = OperationalAEP<ACTION.RESIZED_PERF_SAMPLING, ACTION_SUBJECT.ELEMENT, undefined, {
10
+ nodeType: BreakoutSupportedNodes;
11
+ frameRate: number;
12
+ nodeSize: number;
13
+ docSize: number;
14
+ isInitialSample: boolean;
15
+ }>;
16
+ export type BreakoutEventPayload = BreakoutResizedAEP | BreakoutResizedPerfSamplingAEP;
10
17
  export {};
@@ -12,7 +12,13 @@ type ElementAttributes = {
12
12
  };
13
13
  type ElementMovedAEP = TrackAEP<ACTION.MOVED, ACTION_SUBJECT.ELEMENT, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
14
14
  type ElementDragAEP = UIAEP<ACTION.DRAGGED, ACTION_SUBJECT.ELEMENT, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
15
+ type ElementDragEndAEP = TrackAEP<ACTION.ENDED, ACTION_SUBJECT.DRAG, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, {
16
+ dragInitializationDuration: number;
17
+ dropProcessingDuration: number;
18
+ isCancelled: boolean;
19
+ nodesCount: number;
20
+ }, null>;
15
21
  type DragCancelledAEP = UIAEP<ACTION.CANCELLED, ACTION_SUBJECT.DRAG, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
16
22
  type ElementClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
17
- export type ElementEventPayload = ElementClickedAEP | ElementMovedAEP | ElementDragAEP | DragCancelledAEP;
23
+ export type ElementEventPayload = ElementClickedAEP | ElementMovedAEP | ElementDragAEP | ElementDragEndAEP | DragCancelledAEP;
18
24
  export {};
@@ -152,6 +152,7 @@ export declare enum ACTION {
152
152
  SELECT_ALL_ESCAPED = "selectAllEscaped",
153
153
  SORT_COLUMN = "sortedColumn",
154
154
  SORT_COLUMN_NOT_ALLOWED = "sortColumnNotAllowed",
155
+ NCS_SESSION_STEP_METRICS = "ncsSessionStepMetrics",
155
156
  STEPS_TRACKED = "stepsTracked",
156
157
  STEPS_FILTERED = "stepsFiltered",
157
158
  CREATE_NOT_ALLOWED = "createNotAllowed",
@@ -173,6 +174,7 @@ export declare enum ACTION {
173
174
  UPLOAD_FAILED = "uploadFailed",
174
175
  TOGGLE_CODE_BLOCK_WRAP = "toggleCodeBlockWrap",
175
176
  RESIZED = "resized",
177
+ RESIZED_PERF_SAMPLING = "resizedPerfSampling",
176
178
  BLOCKS_DRAG_INIT = "blocksDragInit",
177
179
  SINGLE_COL_LAYOUT_DETECTED = "singleColumLayoutDetected",
178
180
  VIEW_MORE = "viewMore",
@@ -37,6 +37,7 @@ import type { LoomEventPayload } from './loom-events';
37
37
  import type { MediaEventPayload } from './media-events';
38
38
  import { type MentionEventPayload } from './mention-events';
39
39
  import type { MoveContentEventPayload } from './move-content-events';
40
+ import { NcsSessionStepEventAEP } from './ncs-session-step-events';
40
41
  import { type NestedTableActionsEventPayload } from './nested-table-events';
41
42
  import type { NodeEventPayload } from './node-events';
42
43
  import type { OfflineEditingEventPayload } from './offline-editing-event';
@@ -60,7 +61,7 @@ export type SimplifiedNode = {
60
61
  marks?: string[];
61
62
  content?: SimplifiedNode[];
62
63
  };
63
- export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload;
64
+ export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP;
64
65
  type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
65
66
  previousColor: string;
66
67
  newColor: string;
@@ -0,0 +1,11 @@
1
+ import { ACTION, ACTION_SUBJECT } from './enums';
2
+ import type { OperationalAEP } from './utils';
3
+ export type NcsSessionStepMetrics = {
4
+ ncsSessionId?: string;
5
+ totalStepSize: number;
6
+ numberOfSteps: number;
7
+ maxStepSize: number;
8
+ stepSizeSumForP90?: number[];
9
+ p90StepSize?: number;
10
+ };
11
+ export type NcsSessionStepEventAEP = OperationalAEP<ACTION.NCS_SESSION_STEP_METRICS, ACTION_SUBJECT.COLLAB, undefined, NcsSessionStepMetrics>;
@@ -14,4 +14,24 @@ export declare const messages: {
14
14
  defaultMessage: string;
15
15
  description: string;
16
16
  };
17
+ resizeExpand: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
22
+ resizeCodeBlock: {
23
+ id: string;
24
+ defaultMessage: string;
25
+ description: string;
26
+ };
27
+ resizeLayout: {
28
+ id: string;
29
+ defaultMessage: string;
30
+ description: string;
31
+ };
32
+ resizeElement: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
17
37
  };
@@ -0,0 +1,5 @@
1
+ export declare enum NCS_STORAGE {
2
+ NCS_STORAGE_CLIENT_KEY = "ncs-session-step-metrics-storage",
3
+ NCS_SESSION_STEP_METRICS = "ncsSessionStepMetrics",
4
+ NCS_ACTIVE_SESSIONS = "ncsActiveSessions"
5
+ }
@@ -23,7 +23,7 @@ export { DropdownMenuSharedCssClassName } from './shared/dropdown-menu';
23
23
  export { CodeBlockSharedCssClassName, codeBlockSharedStyles, codeBlockInListSafariFix, } from './shared/code-block';
24
24
  export { LAYOUT_SECTION_MARGIN, LAYOUT_COLUMN_PADDING } from './shared/layout';
25
25
  export { EXTENSION_PADDING, BODIED_EXT_PADDING } from './shared/extension';
26
- export { resizerStyles, resizerHandleClassName, resizerHandleTrackClassName, resizerHandleThumbClassName, resizerHandleThumbWidth, pragmaticResizerStyles, } from './shared/resizer';
26
+ export { resizerStyles, resizerHandleClassName, resizerHandleTrackClassName, resizerHandleThumbClassName, resizerHandleThumbWidth, pragmaticResizerStyles, pragmaticResizerStylesForTooltip, } from './shared/resizer';
27
27
  export { gridStyles, GRID_GUTTER } from './shared/grid';
28
28
  export { smartCardStyles, FLOATING_TOOLBAR_LINKPICKER_CLASSNAME, DATASOURCE_INNER_CONTAINER_CLASSNAME, } from './shared/smartCard';
29
29
  export { embedCardStyles, embedSpacingStyles } from './shared/embedCard';
@@ -9,4 +9,5 @@ export declare const handleWrapperClass = "resizer-handle-wrapper";
9
9
  export declare const resizerHandleThumbWidth = 3;
10
10
  export declare const resizerHandleZIndex = 1;
11
11
  export declare const resizerStyles: import("@emotion/react").SerializedStyles;
12
+ export declare const pragmaticResizerStylesForTooltip: () => import("@emotion/react").SerializedStyles | undefined;
12
13
  export declare const pragmaticResizerStyles: () => import("@emotion/react").SerializedStyles | undefined;
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-common/ncs-step-metrics",
3
+ "main": "../dist/cjs/ncs-step-metrics/index.js",
4
+ "module": "../dist/esm/ncs-step-metrics/index.js",
5
+ "module:es2019": "../dist/es2019/ncs-step-metrics/index.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/ncs-step-metrics/index.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.4": {
12
+ "*": [
13
+ "../dist/types-ts4.5/ncs-step-metrics/index.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "106.3.3",
3
+ "version": "106.5.0",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -118,7 +118,8 @@
118
118
  "./UNSAFE_do_not_use_editor_context": "./src/ui/EditorContext/index.ts",
119
119
  "./median": "./src/utils/median.ts",
120
120
  "./ugc-tokens": "./src/ugc-tokens/index.ts",
121
- "./get-dom-ref-from-selection": "./src/utils/get-dom-ref-from-selection.ts"
121
+ "./get-dom-ref-from-selection": "./src/utils/get-dom-ref-from-selection.ts",
122
+ "./ncs-step-metrics": "./src/ncs-step-metrics/index.ts"
122
123
  },
123
124
  "dependencies": {
124
125
  "@atlaskit/activity-provider": "^2.5.0",
@@ -160,7 +161,7 @@
160
161
  "@atlaskit/platform-feature-flags-react": "^0.2.0",
161
162
  "@atlaskit/popper": "^7.0.0",
162
163
  "@atlaskit/primitives": "^14.8.0",
163
- "@atlaskit/profilecard": "^23.16.0",
164
+ "@atlaskit/profilecard": "^23.18.0",
164
165
  "@atlaskit/react-ufo": "^3.13.0",
165
166
  "@atlaskit/section-message": "^8.2.0",
166
167
  "@atlaskit/smart-card": "^38.8.0",
@@ -169,7 +170,7 @@
169
170
  "@atlaskit/task-decision": "^19.2.0",
170
171
  "@atlaskit/textfield": "^8.0.0",
171
172
  "@atlaskit/theme": "^18.0.0",
172
- "@atlaskit/tmp-editor-statsig": "^5.14.0",
173
+ "@atlaskit/tmp-editor-statsig": "^6.0.0",
173
174
  "@atlaskit/tokens": "^5.1.0",
174
175
  "@atlaskit/tooltip": "^20.3.0",
175
176
  "@atlaskit/width-detector": "^5.0.0",
@@ -397,8 +398,14 @@
397
398
  "interactable_in_editor_inputs": {
398
399
  "type": "boolean"
399
400
  },
401
+ "should-render-to-parent-should-be-true-editor": {
402
+ "type": "boolean"
403
+ },
400
404
  "platform_editor_fix_floating_toolbar_focus": {
401
405
  "type": "boolean"
406
+ },
407
+ "platform_editor_breakout_resizing_hello_release": {
408
+ "type": "boolean"
402
409
  }
403
410
  }
404
411
  }