@atlaskit/section-message 8.6.0 → 8.7.0

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/section-message
2
2
 
3
+ ## 8.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`e2151927739e8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e2151927739e8) -
8
+ Explicit font styles have been set for the section message actions container, to prevent inherited
9
+ styles from affecting the component. This change is no longer behind a feature flag.
10
+
11
+ ## 8.6.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 8.6.0
4
18
 
5
19
  ### Minor Changes
@@ -15,7 +15,6 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
15
15
  var _new = require("@atlaskit/button/new");
16
16
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
17
17
  var _cross = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross"));
18
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
19
18
  var _compiled = require("@atlaskit/primitives/compiled");
20
19
  var _appearanceIcon = require("./internal/appearance-icon");
21
20
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
@@ -104,7 +103,7 @@ var SectionMessage = /*#__PURE__*/(0, _react.forwardRef)(function SectionMessage
104
103
  // Only use a list role if more than one action is present
105
104
  ,
106
105
  role: actionsArray.length > 1 ? 'list' : undefined,
107
- xcss: (0, _platformFeatureFlags.fg)('platform_ads_explicit_font_styles') && sectionMessageStyles.actionsContainer
106
+ xcss: sectionMessageStyles.actionsContainer
108
107
  }, actionsArray.map(function (action, id) {
109
108
  return (
110
109
  /*#__PURE__*/
@@ -6,7 +6,6 @@ import { Children, forwardRef, Fragment, useCallback, useState } from 'react';
6
6
  import { IconButton } from '@atlaskit/button/new';
7
7
  import Heading from '@atlaskit/heading';
8
8
  import CrossIcon from '@atlaskit/icon/core/migration/cross';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
9
  import { Inline, Stack } from '@atlaskit/primitives/compiled';
11
10
  import { getAppearanceIconStyles } from './internal/appearance-icon';
12
11
  const sectionMessageStyles = {
@@ -92,7 +91,7 @@ const SectionMessage = /*#__PURE__*/forwardRef(function SectionMessage({
92
91
  // Only use a list role if more than one action is present
93
92
  ,
94
93
  role: actionsArray.length > 1 ? 'list' : undefined,
95
- xcss: fg('platform_ads_explicit_font_styles') && sectionMessageStyles.actionsContainer
94
+ xcss: sectionMessageStyles.actionsContainer
96
95
  }, actionsArray.map((action, id) =>
97
96
  /*#__PURE__*/
98
97
  // Only use a listitem role if more than one action is present
@@ -7,7 +7,6 @@ import { Children, forwardRef, Fragment, useCallback, useState } from 'react';
7
7
  import { IconButton } from '@atlaskit/button/new';
8
8
  import Heading from '@atlaskit/heading';
9
9
  import CrossIcon from '@atlaskit/icon/core/migration/cross';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
10
  import { Inline, Stack } from '@atlaskit/primitives/compiled';
12
11
  import { getAppearanceIconStyles } from './internal/appearance-icon';
13
12
  var sectionMessageStyles = {
@@ -95,7 +94,7 @@ var SectionMessage = /*#__PURE__*/forwardRef(function SectionMessage(_ref, ref)
95
94
  // Only use a list role if more than one action is present
96
95
  ,
97
96
  role: actionsArray.length > 1 ? 'list' : undefined,
98
- xcss: fg('platform_ads_explicit_font_styles') && sectionMessageStyles.actionsContainer
97
+ xcss: sectionMessageStyles.actionsContainer
99
98
  }, actionsArray.map(function (action, id) {
100
99
  return (
101
100
  /*#__PURE__*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "8.6.0",
3
+ "version": "8.7.0",
4
4
  "description": "A section message is used to alert users to a particular section of the screen.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,12 +31,6 @@
31
31
  "category": "Messaging"
32
32
  }
33
33
  },
34
- "af:exports": {
35
- "./section-message": "./src/entry-points/section-message.tsx",
36
- "./section-message-action": "./src/entry-points/section-message-action.tsx",
37
- "./types": "./src/entry-points/types.tsx",
38
- ".": "./src/index.tsx"
39
- },
40
34
  "dependencies": {
41
35
  "@atlaskit/button": "^23.4.0",
42
36
  "@atlaskit/codemod-utils": "^4.2.0",
@@ -45,9 +39,9 @@
45
39
  "@atlaskit/icon": "^28.1.0",
46
40
  "@atlaskit/link": "^3.2.0",
47
41
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/primitives": "^14.11.0",
49
- "@atlaskit/theme": "^19.0.0",
50
- "@atlaskit/tokens": "^6.0.0",
42
+ "@atlaskit/primitives": "^14.12.0",
43
+ "@atlaskit/theme": "^20.0.0",
44
+ "@atlaskit/tokens": "^6.1.0",
51
45
  "@babel/runtime": "^7.0.0"
52
46
  },
53
47
  "peerDependencies": {
@@ -61,7 +55,7 @@
61
55
  "@atlaskit/code": "^17.2.0",
62
56
  "@atlaskit/docs": "^11.0.0",
63
57
  "@atlaskit/ds-lib": "^5.0.0",
64
- "@atlaskit/form": "^12.2.0",
58
+ "@atlaskit/form": "^12.4.0",
65
59
  "@atlaskit/range": "^9.2.0",
66
60
  "@atlassian/feature-flags-test-utils": "^0.3.0",
67
61
  "@atlassian/ssr-tests": "^0.3.0",
@@ -99,9 +93,6 @@
99
93
  "platform_dst_section_message_actions_as_link": {
100
94
  "type": "boolean"
101
95
  },
102
- "platform_ads_explicit_font_styles": {
103
- "type": "boolean"
104
- },
105
96
  "platform_dst_section_message_discovery_icon": {
106
97
  "type": "boolean"
107
98
  }