@atlaskit/editor-plugin-text-color 30.0.17 → 30.0.19

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,19 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 30.0.19
4
+
5
+ ### Patch Changes
6
+
7
+ - [`195e20f8c4846`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/195e20f8c4846) -
8
+ Clean up feature gate platform_editor_a11y_color_palette_radiogroup
9
+ - Updated dependencies
10
+
11
+ ## 30.0.18
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 30.0.17
4
18
 
5
19
  ### Patch Changes
package/compass.yml CHANGED
@@ -35,7 +35,7 @@ customFields:
35
35
  value: true
36
36
  - name: Reviewer Selection Mechanism
37
37
  type: text
38
- value: random(2)
38
+ value: randomTZIgnored(2)
39
39
  - name: Required Reviewer Approvals
40
40
  type: number
41
41
  value: 1
@@ -1,4 +1,4 @@
1
- /* ColorAccessibilityMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ColorAccessibilityMenuItem.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* RemoveColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* RemoveColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* TextColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TextColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -20,7 +20,6 @@ var _text = require("@atlaskit/editor-palette/text");
20
20
  var _colorPalette = require("@atlaskit/editor-toolbar/color-palette");
21
21
  var _toolbarDropdownMenuContext = require("@atlaskit/editor-toolbar/toolbar-dropdown-menu-context");
22
22
  var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
23
- var _fg = require("@atlaskit/platform-feature-flags/fg");
24
23
  var _bleed = require("@atlaskit/primitives/compiled/bleed");
25
24
  var _stack = require("@atlaskit/primitives/compiled/stack");
26
25
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
@@ -89,7 +88,7 @@ function TextColorMenuItem(_ref) {
89
88
  size: "xxsmall"
90
89
  // The label names the palette's radio group; a heading inside a menu is skipped and has no stable level here
91
90
  ,
92
- as: (0, _fg.fg)('platform_editor_a11y_color_palette_radiogroup') ? 'div' : undefined
91
+ as: "div"
93
92
  }, formatMessage(_textColor.textColorMessages.textColorTooltip)), isNewColorPaletteEnabled ? /*#__PURE__*/_react.default.createElement(_bleed.Bleed, {
94
93
  inline: "space.025"
95
94
  }, colorPalette) : colorPalette);
@@ -1,4 +1,4 @@
1
- /* TextMenuSection.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TextMenuSection.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ColorAccessibilityMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ColorAccessibilityMenuItem.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ColorAccessibilityMenuItem.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* RemoveColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* RemoveColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./RemoveColorMenuItem.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* TextColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TextColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./TextColorMenuItem.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback, useId } from 'react';
@@ -12,7 +12,6 @@ import { hexToEditorTextPaletteColor } from '@atlaskit/editor-palette/text';
12
12
  import { ColorPalette } from '@atlaskit/editor-toolbar/color-palette';
13
13
  import { useToolbarDropdownMenu } from '@atlaskit/editor-toolbar/toolbar-dropdown-menu-context';
14
14
  import Heading from '@atlaskit/heading/heading';
15
- import { fg } from '@atlaskit/platform-feature-flags/fg';
16
15
  import { Bleed } from '@atlaskit/primitives/compiled/bleed';
17
16
  import { Stack } from '@atlaskit/primitives/compiled/stack';
18
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -84,7 +83,7 @@ export function TextColorMenuItem({
84
83
  size: "xxsmall"
85
84
  // The label names the palette's radio group; a heading inside a menu is skipped and has no stable level here
86
85
  ,
87
- as: fg('platform_editor_a11y_color_palette_radiogroup') ? 'div' : undefined
86
+ as: "div"
88
87
  }, formatMessage(messages.textColorTooltip)), isNewColorPaletteEnabled ? /*#__PURE__*/React.createElement(Bleed, {
89
88
  inline: "space.025"
90
89
  }, colorPalette) : colorPalette);
@@ -1,4 +1,4 @@
1
- /* TextMenuSection.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TextMenuSection.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./TextMenuSection.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* ColorAccessibilityMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* ColorAccessibilityMenuItem.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./ColorAccessibilityMenuItem.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
@@ -1,4 +1,4 @@
1
- /* RemoveColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* RemoveColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./RemoveColorMenuItem.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* TextColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TextColorMenuItem.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./TextColorMenuItem.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback, useId } from 'react';
@@ -12,7 +12,6 @@ import { hexToEditorTextPaletteColor } from '@atlaskit/editor-palette/text';
12
12
  import { ColorPalette } from '@atlaskit/editor-toolbar/color-palette';
13
13
  import { useToolbarDropdownMenu } from '@atlaskit/editor-toolbar/toolbar-dropdown-menu-context';
14
14
  import Heading from '@atlaskit/heading/heading';
15
- import { fg } from '@atlaskit/platform-feature-flags/fg';
16
15
  import { Bleed } from '@atlaskit/primitives/compiled/bleed';
17
16
  import { Stack } from '@atlaskit/primitives/compiled/stack';
18
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -80,7 +79,7 @@ export function TextColorMenuItem(_ref) {
80
79
  size: "xxsmall"
81
80
  // The label names the palette's radio group; a heading inside a menu is skipped and has no stable level here
82
81
  ,
83
- as: fg('platform_editor_a11y_color_palette_radiogroup') ? 'div' : undefined
82
+ as: "div"
84
83
  }, formatMessage(messages.textColorTooltip)), isNewColorPaletteEnabled ? /*#__PURE__*/React.createElement(Bleed, {
85
84
  inline: "space.025"
86
85
  }, colorPalette) : colorPalette);
@@ -1,4 +1,4 @@
1
- /* TextMenuSection.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* TextMenuSection.tsx generated by @compiled/babel-plugin v3.0.4 */
2
2
  import "./TextMenuSection.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "30.0.17",
3
+ "version": "30.0.19",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,7 +27,7 @@
27
27
  "atlaskit:src": "src/index.ts",
28
28
  "dependencies": {
29
29
  "@atlaskit/adf-schema": "^57.7.0",
30
- "@atlaskit/button": "^25.7.0",
30
+ "@atlaskit/button": "^25.8.0",
31
31
  "@atlaskit/css": "^1.1.0",
32
32
  "@atlaskit/editor-palette": "^3.5.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^30.0.0",
@@ -45,28 +45,23 @@
45
45
  "@atlaskit/icon-lab": "^7.11.0",
46
46
  "@atlaskit/platform-feature-flags": "^2.2.0",
47
47
  "@atlaskit/primitives": "^22.7.0",
48
- "@atlaskit/tmp-editor-statsig": "^260.0.0",
49
- "@atlaskit/tokens": "^20.10.0",
48
+ "@atlaskit/tmp-editor-statsig": "^262.0.0",
49
+ "@atlaskit/tokens": "^20.11.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1"
52
52
  },
53
53
  "peerDependencies": {
54
- "@atlaskit/editor-common": "^134.9.0",
54
+ "@atlaskit/editor-common": "^134.16.0",
55
55
  "react": "^18.2.0 || ^19.2.0",
56
56
  "react-dom": "^18.2.0 || ^19.2.0",
57
57
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@atlaskit/editor-common": "^134.9.0",
60
+ "@atlaskit/editor-common": "^134.16.0",
61
61
  "@atlassian/structured-docs-types": "workspace:^",
62
62
  "@atlassian/workbench": "workspace:*",
63
63
  "react": "^19.2.0",
64
64
  "react-dom": "^19.2.0",
65
65
  "react-intl": "^7.0.0"
66
- },
67
- "platform-feature-flags": {
68
- "platform_editor_a11y_color_palette_radiogroup": {
69
- "type": "boolean"
70
- }
71
66
  }
72
67
  }