@atlaskit/teams-public 2.9.3 → 2.9.4

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,13 @@
1
1
  # @atlaskit/teams-public
2
2
 
3
+ ## 2.9.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`25cc01ed2952c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/25cc01ed2952c) -
8
+ Cleanup feature gate `enable_medium_size_icons_for_team_link_cards`. Team link "add container"
9
+ cards now always render medium-sized container icons with the tighter `space.025` stack spacing.
10
+
3
11
  ## 2.9.3
4
12
 
5
13
  ### Patch Changes
@@ -14,7 +14,6 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
14
14
  var _react = _interopRequireWildcard(require("react"));
15
15
  var _button = _interopRequireDefault(require("@atlaskit/button/icon/button"));
16
16
  var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
17
- var _fg = require("@atlaskit/platform-feature-flags/fg");
18
17
  var _compiled = require("@atlaskit/primitives/compiled");
19
18
  var _linkedContainerCardSkeleton = require("../../../common/ui/team-containers-skeleton/linked-container-card-skeleton");
20
19
  var _getContainerProperties = require("../../../common/utils/get-container-properties");
@@ -59,7 +58,7 @@ var AddContainerCard = exports.AddContainerCard = function AddContainerCard(_ref
59
58
  canCreateContainers = _ref2$canCreateContai === void 0 ? false : _ref2$canCreateContai;
60
59
  var _getContainerProperti = (0, _getContainerProperties.getContainerProperties)({
61
60
  containerType: containerType,
62
- iconSize: (0, _fg.fg)('enable_medium_size_icons_for_team_link_cards') ? 'medium' : undefined,
61
+ iconSize: 'medium',
63
62
  isEmptyContainer: true
64
63
  }),
65
64
  description = _getContainerProperti.description,
@@ -92,9 +91,9 @@ var AddContainerCard = exports.AddContainerCard = function AddContainerCard(_ref
92
91
  }
93
92
  })), canCreateContainers ? /*#__PURE__*/_react.default.createElement(_addContainerCardButton.AddContainerCardButton, {
94
93
  type: containerType
95
- }) : /*#__PURE__*/_react.default.createElement(_compiled.Stack, (0, _fg.fg)('enable_medium_size_icons_for_team_link_cards') ? {
96
- space: 'space.025'
97
- } : {}, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
94
+ }) : /*#__PURE__*/_react.default.createElement(_compiled.Stack, {
95
+ space: "space.025"
96
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
98
97
  maxLines: 1,
99
98
  weight: "medium",
100
99
  color: "color.text"
@@ -5,7 +5,6 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  import React, { useState } from 'react';
6
6
  import IconButton from '@atlaskit/button/icon/button';
7
7
  import AddIcon from '@atlaskit/icon/core/add';
8
- import { fg } from '@atlaskit/platform-feature-flags/fg';
9
8
  import { Box, Flex, Inline, Stack, Text } from '@atlaskit/primitives/compiled';
10
9
  import { LinkedContainerCardSkeleton } from '../../../common/ui/team-containers-skeleton/linked-container-card-skeleton';
11
10
  import { getContainerProperties } from '../../../common/utils/get-container-properties';
@@ -46,7 +45,7 @@ export const AddContainerCard = ({
46
45
  title
47
46
  } = getContainerProperties({
48
47
  containerType,
49
- iconSize: fg('enable_medium_size_icons_for_team_link_cards') ? 'medium' : undefined,
48
+ iconSize: 'medium',
50
49
  isEmptyContainer: true
51
50
  });
52
51
  if (isLoading) {
@@ -74,9 +73,9 @@ export const AddContainerCard = ({
74
73
  }
75
74
  })), canCreateContainers ? /*#__PURE__*/React.createElement(AddContainerCardButton, {
76
75
  type: containerType
77
- }) : /*#__PURE__*/React.createElement(Stack, fg('enable_medium_size_icons_for_team_link_cards') ? {
78
- space: 'space.025'
79
- } : {}, /*#__PURE__*/React.createElement(Text, {
76
+ }) : /*#__PURE__*/React.createElement(Stack, {
77
+ space: "space.025"
78
+ }, /*#__PURE__*/React.createElement(Text, {
80
79
  maxLines: 1,
81
80
  weight: "medium",
82
81
  color: "color.text"
@@ -6,7 +6,6 @@ import { ax, ix } from "@compiled/react/runtime";
6
6
  import React, { useState } from 'react';
7
7
  import IconButton from '@atlaskit/button/icon/button';
8
8
  import AddIcon from '@atlaskit/icon/core/add';
9
- import { fg } from '@atlaskit/platform-feature-flags/fg';
10
9
  import { Box, Flex, Inline, Stack, Text } from '@atlaskit/primitives/compiled';
11
10
  import { LinkedContainerCardSkeleton } from '../../../common/ui/team-containers-skeleton/linked-container-card-skeleton';
12
11
  import { getContainerProperties } from '../../../common/utils/get-container-properties';
@@ -50,7 +49,7 @@ export var AddContainerCard = function AddContainerCard(_ref2) {
50
49
  canCreateContainers = _ref2$canCreateContai === void 0 ? false : _ref2$canCreateContai;
51
50
  var _getContainerProperti = getContainerProperties({
52
51
  containerType: containerType,
53
- iconSize: fg('enable_medium_size_icons_for_team_link_cards') ? 'medium' : undefined,
52
+ iconSize: 'medium',
54
53
  isEmptyContainer: true
55
54
  }),
56
55
  description = _getContainerProperti.description,
@@ -83,9 +82,9 @@ export var AddContainerCard = function AddContainerCard(_ref2) {
83
82
  }
84
83
  })), canCreateContainers ? /*#__PURE__*/React.createElement(AddContainerCardButton, {
85
84
  type: containerType
86
- }) : /*#__PURE__*/React.createElement(Stack, fg('enable_medium_size_icons_for_team_link_cards') ? {
87
- space: 'space.025'
88
- } : {}, /*#__PURE__*/React.createElement(Text, {
85
+ }) : /*#__PURE__*/React.createElement(Stack, {
86
+ space: "space.025"
87
+ }, /*#__PURE__*/React.createElement(Text, {
89
88
  maxLines: 1,
90
89
  weight: "medium",
91
90
  color: "color.text"
package/package.json CHANGED
@@ -77,7 +77,7 @@
77
77
  "react-intl": "^7.0.0"
78
78
  },
79
79
  "name": "@atlaskit/teams-public",
80
- "version": "2.9.3",
80
+ "version": "2.9.4",
81
81
  "description": "Public components related to teams",
82
82
  "author": "Atlassian Pty Ltd",
83
83
  "license": "Apache-2.0",
@@ -89,9 +89,6 @@
89
89
  "test:coverage": "(cd ../../.. && yarn test 'packages/people-and-teams/teams-public/src' --coverage --coverageProvider=v8 --collectCoverageFrom='[\"packages/people-and-teams/teams-public/src/**\", \"!packages/people-and-teams/teams-public/src/**/**/types.ts\", \"!packages/people-and-teams/teams-public/src/ui/**/styled.tsx\"]')"
90
90
  },
91
91
  "platform-feature-flags": {
92
- "enable_medium_size_icons_for_team_link_cards": {
93
- "type": "boolean"
94
- },
95
92
  "fix_team_link_card_a11y": {
96
93
  "type": "boolean"
97
94
  },