@atlaskit/editor-common 103.12.0 → 103.12.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,13 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 103.12.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#142352](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142352)
8
+ [`05903fde6d94d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/05903fde6d94d) -
9
+ Internal change to use Compiled variant of `@atlaskit/primitives`.
10
+
3
11
  ## 103.12.0
4
12
 
5
13
  ### Minor Changes
@@ -19,7 +19,7 @@ var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
19
19
  var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
20
20
  var _menu = require("@atlaskit/menu");
21
21
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
22
- var _primitives = require("@atlaskit/primitives");
22
+ var _compiled = require("@atlaskit/primitives/compiled");
23
23
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
24
24
  var _analytics = require("../../../analytics");
25
25
  var _quickInsert = require("../../../quick-insert");
@@ -444,18 +444,18 @@ var ItemContent = /*#__PURE__*/(0, _react.memo)(function (_ref8) {
444
444
  className: "item-body"
445
445
  }, (0, _react2.jsx)("div", {
446
446
  css: itemText
447
- }, (0, _react2.jsx)(_primitives.Stack, {
447
+ }, (0, _react2.jsx)(_compiled.Stack, {
448
448
  space: "space.025"
449
449
  }, (0, _react2.jsx)("div", {
450
450
  css: itemTitleWrapper
451
- }, (0, _react2.jsx)(_primitives.Text, {
451
+ }, (0, _react2.jsx)(_compiled.Text, {
452
452
  color: isDisabled ? 'color.text.disabled' : undefined,
453
453
  maxLines: 1
454
454
  }, title), (0, _react2.jsx)("div", {
455
455
  css: itemAfter
456
456
  }, keyshortcut && (0, _react2.jsx)("div", {
457
457
  css: _shortcut.shortcutStyle
458
- }, keyshortcut))), description && (0, _react2.jsx)(_primitives.Text, {
458
+ }, keyshortcut))), description && (0, _react2.jsx)(_compiled.Text, {
459
459
  color: isDisabled ? 'color.text.disabled' : 'color.text.subtle',
460
460
  size: "small",
461
461
  maxLines: 2
@@ -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 && {}.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 = "103.12.0";
20
+ var packageVersion = "103.12.1";
21
21
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
22
22
  // Remove URL as it has UGC
23
23
  // Ignored via go/ees007
@@ -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 = "103.12.0";
26
+ var packageVersion = "103.12.1";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -8,7 +8,7 @@ var _react = require("react");
8
8
  var _react2 = require("@emotion/react");
9
9
  var _reactIntlNext = require("react-intl-next");
10
10
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
- var _primitives = require("@atlaskit/primitives");
11
+ var _compiled = require("@atlaskit/primitives/compiled");
12
12
  var _colors = require("@atlaskit/theme/colors");
13
13
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
14
14
  var _messages = require("../../messages");
@@ -122,7 +122,7 @@ var TableSelectorPopup = function TableSelectorPopup(_ref3) {
122
122
  return createArray(maxCols, maxRows);
123
123
  }, [maxCols, maxRows]);
124
124
  var setOutsideClickTargetRef = (0, _react.useContext)(_uiReact.OutsideClickTargetRefContext);
125
- return (0, _react2.jsx)(_primitives.Stack, {
125
+ return (0, _react2.jsx)(_compiled.Stack, {
126
126
  ref: setOutsideClickTargetRef
127
127
  }, (0, _react2.jsx)("div", {
128
128
  "aria-label": "".concat(formatMessage(_messages.toolbarInsertBlockMessages.tableSizeSelectorPopup)),
@@ -15,7 +15,7 @@ import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
15
15
  import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
16
16
  import { ButtonItem } from '@atlaskit/menu';
17
17
  import { fg } from '@atlaskit/platform-feature-flags';
18
- import { Stack, Text } from '@atlaskit/primitives';
18
+ import { Stack, Text } from '@atlaskit/primitives/compiled';
19
19
  import Tooltip from '@atlaskit/tooltip';
20
20
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE, fireAnalyticsEvent } from '../../../analytics';
21
21
  import { IconFallback } from '../../../quick-insert';
@@ -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 = "103.12.0";
4
+ const packageVersion = "103.12.1";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -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 = "103.12.0";
16
+ const packageVersion = "103.12.1";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -7,7 +7,7 @@ import { useContext, useEffect, useMemo, useRef } from 'react';
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import { injectIntl } from 'react-intl-next';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
- import { Stack } from '@atlaskit/primitives';
10
+ import { Stack } from '@atlaskit/primitives/compiled';
11
11
  import { B100 } from '@atlaskit/theme/colors';
12
12
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
13
13
  import { toolbarInsertBlockMessages as messages } from '../../messages';
@@ -16,7 +16,7 @@ import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
16
16
  import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
17
17
  import { ButtonItem } from '@atlaskit/menu';
18
18
  import { fg } from '@atlaskit/platform-feature-flags';
19
- import { Stack, Text } from '@atlaskit/primitives';
19
+ import { Stack, Text } from '@atlaskit/primitives/compiled';
20
20
  import Tooltip from '@atlaskit/tooltip';
21
21
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE, fireAnalyticsEvent } from '../../../analytics';
22
22
  import { IconFallback } from '../../../quick-insert';
@@ -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 = "103.12.0";
10
+ var packageVersion = "103.12.1";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -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 = "103.12.0";
23
+ var packageVersion = "103.12.1";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -7,7 +7,7 @@ import { useContext, useEffect, useMemo, useRef } from 'react';
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import { injectIntl } from 'react-intl-next';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
- import { Stack } from '@atlaskit/primitives';
10
+ import { Stack } from '@atlaskit/primitives/compiled';
11
11
  import { B100 } from '@atlaskit/theme/colors';
12
12
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
13
13
  import { toolbarInsertBlockMessages as messages } from '../../messages';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "103.12.0",
3
+ "version": "103.12.1",
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/"