@atlaskit/editor-toolbar 1.9.1 → 1.9.3

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,21 @@
1
1
  # @atlaskit/editor-toolbar
2
2
 
3
+ ## 1.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.9.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`a777e9d5513bb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a777e9d5513bb) - -
14
+ Add exposure event for improve formatting toolbar experiment, fired only when pinned toolbar is
15
+ visible
16
+ - Swap render-path gate checks to expValEqualsNoExposure in toolbar.tsx and
17
+ ResponsiveContainer.tsx
18
+
3
19
  ## 1.9.1
4
20
 
5
21
  ### Patch Changes
@@ -15,6 +15,7 @@ var _react = _interopRequireDefault(require("react"));
15
15
  var _css = require("@atlaskit/css");
16
16
  var _compiled = require("@atlaskit/primitives/compiled");
17
17
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
18
+ var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
18
19
  var styles = {
19
20
  responsiveContainer: "_1bsb1osq _7cca15wb _1f38ptqj _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
20
21
  responsiveContainerFullPage: "_1bsb1ns9 _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
@@ -94,7 +95,7 @@ var ResponsiveContainer = exports.ResponsiveContainer = function ResponsiveConta
94
95
  breakpointPreset = _ref.breakpointPreset;
95
96
  var isUpdatedConfig = function () {
96
97
  if (breakpointPreset === 'fullpage') {
97
- return (0, _expValEquals.expValEquals)('platform_editor_ai_improve_formatting_toolbar', 'isEnabled', true);
98
+ return (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_improve_formatting_toolbar', 'isEnabled', true);
98
99
  }
99
100
  return (0, _expValEquals.expValEquals)('platform_editor_toolbar_update_jira_config', 'isEnabled', true) && breakpointPreset in updatedPresetStyleMap;
100
101
  }();
@@ -8,6 +8,7 @@ import React from 'react';
8
8
  import { cx } from '@atlaskit/css';
9
9
  import { Box } from '@atlaskit/primitives/compiled';
10
10
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
11
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
11
12
  const styles = {
12
13
  responsiveContainer: "_1bsb1osq _7cca15wb _1f38ptqj _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
13
14
  responsiveContainerFullPage: "_1bsb1ns9 _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
@@ -88,7 +89,7 @@ export const ResponsiveContainer = ({
88
89
  }) => {
89
90
  const isUpdatedConfig = (() => {
90
91
  if (breakpointPreset === 'fullpage') {
91
- return expValEquals('platform_editor_ai_improve_formatting_toolbar', 'isEnabled', true);
92
+ return expValEqualsNoExposure('platform_editor_ai_improve_formatting_toolbar', 'isEnabled', true);
92
93
  }
93
94
  return expValEquals('platform_editor_toolbar_update_jira_config', 'isEnabled', true) && breakpointPreset in updatedPresetStyleMap;
94
95
  })();
@@ -8,6 +8,7 @@ import React from 'react';
8
8
  import { cx } from '@atlaskit/css';
9
9
  import { Box } from '@atlaskit/primitives/compiled';
10
10
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
11
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
11
12
  var styles = {
12
13
  responsiveContainer: "_1bsb1osq _7cca15wb _1f38ptqj _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
13
14
  responsiveContainerFullPage: "_1bsb1ns9 _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
@@ -87,7 +88,7 @@ export var ResponsiveContainer = function ResponsiveContainer(_ref) {
87
88
  breakpointPreset = _ref.breakpointPreset;
88
89
  var isUpdatedConfig = function () {
89
90
  if (breakpointPreset === 'fullpage') {
90
- return expValEquals('platform_editor_ai_improve_formatting_toolbar', 'isEnabled', true);
91
+ return expValEqualsNoExposure('platform_editor_ai_improve_formatting_toolbar', 'isEnabled', true);
91
92
  }
92
93
  return expValEquals('platform_editor_toolbar_update_jira_config', 'isEnabled', true) && breakpointPreset in updatedPresetStyleMap;
93
94
  }();
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "1.9.1",
6
+ "version": "1.9.3",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "react-compiler": {
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/platform-feature-flags": "^1.1.0",
38
38
  "@atlaskit/popup": "^4.23.0",
39
39
  "@atlaskit/primitives": "^19.0.0",
40
- "@atlaskit/tmp-editor-statsig": "^85.0.0",
40
+ "@atlaskit/tmp-editor-statsig": "^86.0.0",
41
41
  "@atlaskit/tokens": "^13.1.0",
42
42
  "@atlaskit/tooltip": "^22.5.0",
43
43
  "@babel/runtime": "^7.0.0",