@atlaskit/editor-plugin-type-ahead 2.7.18 → 2.7.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,11 @@
1
1
  # @atlaskit/editor-plugin-type-ahead
2
2
 
3
+ ## 2.7.19
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 2.7.18
4
10
 
5
11
  ### Patch Changes
@@ -20,17 +20,6 @@ var _colors = require("@atlaskit/theme/colors");
20
20
 
21
21
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
22
 
23
- var buttonStylesNoOutline = (0, _react2.css)({
24
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
25
- '& > button:hover': {
26
- backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")")
27
- },
28
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
29
- '& > button:focus': {
30
- backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")"),
31
- outline: 'none'
32
- }
33
- });
34
23
  var buttonStyles = (0, _react2.css)({
35
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
36
25
  '& > button:hover': {
@@ -82,7 +71,7 @@ var ViewMore = exports.ViewMore = function ViewMore(_ref) {
82
71
  return (0, _react2.jsx)(_menu.Section, {
83
72
  hasSeparator: true
84
73
  }, (0, _react2.jsx)("span", {
85
- css: (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_8') ? buttonStyles : buttonStylesNoOutline
74
+ css: buttonStyles
86
75
  }, (0, _react2.jsx)(_menu.ButtonItem, {
87
76
  ref: ref,
88
77
  onClick: onClick,
@@ -12,17 +12,6 @@ import ShowMoreHorizontalIcon from '@atlaskit/icon/core/migration/show-more-hori
12
12
  import { ButtonItem, Section } from '@atlaskit/menu';
13
13
  import { fg } from '@atlaskit/platform-feature-flags';
14
14
  import { N30 } from '@atlaskit/theme/colors';
15
- const buttonStylesNoOutline = css({
16
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
17
- '& > button:hover': {
18
- backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${N30})`
19
- },
20
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
21
- '& > button:focus': {
22
- backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${N30})`,
23
- outline: 'none'
24
- }
25
- });
26
15
  const buttonStyles = css({
27
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
28
17
  '& > button:hover': {
@@ -78,7 +67,7 @@ export const ViewMore = ({
78
67
  return jsx(Section, {
79
68
  hasSeparator: true
80
69
  }, jsx("span", {
81
- css: fg('platform_editor_controls_patch_8') ? buttonStyles : buttonStylesNoOutline
70
+ css: buttonStyles
82
71
  }, jsx(ButtonItem, {
83
72
  ref: ref,
84
73
  onClick: onClick,
@@ -12,17 +12,6 @@ import ShowMoreHorizontalIcon from '@atlaskit/icon/core/migration/show-more-hori
12
12
  import { ButtonItem, Section } from '@atlaskit/menu';
13
13
  import { fg } from '@atlaskit/platform-feature-flags';
14
14
  import { N30 } from '@atlaskit/theme/colors';
15
- var buttonStylesNoOutline = css({
16
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
17
- '& > button:hover': {
18
- backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")")
19
- },
20
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
21
- '& > button:focus': {
22
- backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")"),
23
- outline: 'none'
24
- }
25
- });
26
15
  var buttonStyles = css({
27
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
28
17
  '& > button:hover': {
@@ -74,7 +63,7 @@ export var ViewMore = function ViewMore(_ref) {
74
63
  return jsx(Section, {
75
64
  hasSeparator: true
76
65
  }, jsx("span", {
77
- css: fg('platform_editor_controls_patch_8') ? buttonStyles : buttonStylesNoOutline
66
+ css: buttonStyles
78
67
  }, jsx(ButtonItem, {
79
68
  ref: ref,
80
69
  onClick: onClick,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "2.7.18",
3
+ "version": "2.7.19",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/primitives": "^14.9.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.3.0",
51
51
  "@atlaskit/theme": "^18.0.0",
52
- "@atlaskit/tmp-editor-statsig": "^7.2.0",
52
+ "@atlaskit/tmp-editor-statsig": "^8.0.0",
53
53
  "@atlaskit/tokens": "^5.3.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1",
@@ -117,9 +117,6 @@
117
117
  "platform_editor_refactor_view_more": {
118
118
  "type": "boolean"
119
119
  },
120
- "platform_editor_controls_patch_8": {
121
- "type": "boolean"
122
- },
123
120
  "platform_editor_controls_patch_12": {
124
121
  "type": "boolean"
125
122
  },