@atlaskit/editor-plugin-text-color 8.0.0 → 8.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 8.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 8.0.0
4
16
 
5
17
  ### Patch Changes
@@ -35,7 +35,7 @@ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0,
35
35
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**
36
36
  * @jsxRuntime classic
37
37
  * @jsx jsx
38
- */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
38
+ */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
39
39
  var addMarginToWrapper = (0, _react2.css)({
40
40
  marginRight: "var(--ds-space-050, 4px)"
41
41
  });
@@ -268,5 +268,6 @@ var ToolbarTextColor = exports.ToolbarTextColor = /*#__PURE__*/function (_React$
268
268
  }
269
269
  }
270
270
  }]);
271
- }(_react.default.Component);
272
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(ToolbarTextColor);
271
+ }(_react.default.Component); // eslint-disable-next-line @typescript-eslint/ban-types
272
+ var _default_1 = (0, _reactIntlNext.injectIntl)(ToolbarTextColor);
273
+ var _default = exports.default = _default_1;
@@ -5,7 +5,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
5
5
  */
6
6
  import React from 'react';
7
7
 
8
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
9
9
  import { css, jsx } from '@emotion/react';
10
10
  import { injectIntl } from 'react-intl-next';
11
11
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
@@ -246,4 +246,7 @@ export class ToolbarTextColor extends React.Component {
246
246
  }
247
247
  }
248
248
  }
249
- export default injectIntl(ToolbarTextColor);
249
+
250
+ // eslint-disable-next-line @typescript-eslint/ban-types
251
+ const _default_1 = injectIntl(ToolbarTextColor);
252
+ export default _default_1;
@@ -15,7 +15,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
15
15
  */
16
16
  import React from 'react';
17
17
 
18
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
19
19
  import { css, jsx } from '@emotion/react';
20
20
  import { injectIntl } from 'react-intl-next';
21
21
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
@@ -265,4 +265,7 @@ export var ToolbarTextColor = /*#__PURE__*/function (_React$Component) {
265
265
  }
266
266
  }]);
267
267
  }(React.Component);
268
- export default injectIntl(ToolbarTextColor);
268
+
269
+ // eslint-disable-next-line @typescript-eslint/ban-types
270
+ var _default_1 = injectIntl(ToolbarTextColor);
271
+ export default _default_1;
@@ -5,5 +5,5 @@ type RemoveColorMenuItemButtonProps = {
5
5
  api?: ExtractInjectionAPI<TextColorPlugin>;
6
6
  parents: ToolbarComponentTypes;
7
7
  };
8
- export declare const RemoveColorMenuItem: ({ api, parents }: RemoveColorMenuItemButtonProps) => JSX.Element;
8
+ export declare const RemoveColorMenuItem: ({ api, parents, }: RemoveColorMenuItemButtonProps) => JSX.Element;
9
9
  export {};
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import { jsx } from '@emotion/react';
7
- import type { WrappedComponentProps } from 'react-intl-next';
7
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
8
8
  import type { DispatchAnalyticsEvent, EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
9
9
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
10
10
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
@@ -42,7 +42,7 @@ export declare class ToolbarTextColor extends React.Component<Props & WrappedCom
42
42
  private buildAnalyticsPalette;
43
43
  private dispatchAnalyticsEvent;
44
44
  }
45
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
45
+ declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
46
46
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
47
47
  };
48
- export default _default;
48
+ export default _default_1;
@@ -5,5 +5,5 @@ type RemoveColorMenuItemButtonProps = {
5
5
  api?: ExtractInjectionAPI<TextColorPlugin>;
6
6
  parents: ToolbarComponentTypes;
7
7
  };
8
- export declare const RemoveColorMenuItem: ({ api, parents }: RemoveColorMenuItemButtonProps) => JSX.Element;
8
+ export declare const RemoveColorMenuItem: ({ api, parents, }: RemoveColorMenuItemButtonProps) => JSX.Element;
9
9
  export {};
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import { jsx } from '@emotion/react';
7
- import type { WrappedComponentProps } from 'react-intl-next';
7
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
8
8
  import type { DispatchAnalyticsEvent, EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
9
9
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
10
10
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
@@ -42,7 +42,7 @@ export declare class ToolbarTextColor extends React.Component<Props & WrappedCom
42
42
  private buildAnalyticsPalette;
43
43
  private dispatchAnalyticsEvent;
44
44
  }
45
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
45
+ declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
46
46
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
47
47
  };
48
- export default _default;
48
+ export default _default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -47,13 +47,13 @@
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
48
  "@atlaskit/primitives": "^18.0.0",
49
49
  "@atlaskit/theme": "^22.0.0",
50
- "@atlaskit/tmp-editor-statsig": "^35.10.0",
50
+ "@atlaskit/tmp-editor-statsig": "^37.0.0",
51
51
  "@atlaskit/tokens": "^11.1.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "@emotion/react": "^11.7.1"
54
54
  },
55
55
  "peerDependencies": {
56
- "@atlaskit/editor-common": "^112.0.0",
56
+ "@atlaskit/editor-common": "^112.2.0",
57
57
  "react": "^18.2.0",
58
58
  "react-dom": "^18.2.0",
59
59
  "react-intl-next": "npm:react-intl@^5.18.1"