@atlaskit/icon 22.20.1 → 22.20.2

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/icon
2
2
 
3
+ ## 22.20.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#147531](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/147531)
8
+ [`8ae1e110621b7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ae1e110621b7) -
9
+ Internal changes to feature flag used to toggle new icons
10
+
3
11
  ## 22.20.1
4
12
 
5
13
  ### Patch Changes
@@ -118,7 +118,7 @@ var Icon = exports.Icon = /*#__PURE__*/(0, _react.memo)(function Icon(props) {
118
118
  } : undefined;
119
119
 
120
120
  // Fall back to old icon
121
- if (FallbackIcon && !(0, _platformFeatureFlags.fg)('platform.design-system-team.enable-new-icons')) {
121
+ if (FallbackIcon && !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons')) {
122
122
  // parse out unnecessary props
123
123
  return (0, _react2.jsx)(FallbackIcon, {
124
124
  primaryColor: LEGACY_primaryColor !== null && LEGACY_primaryColor !== void 0 ? LEGACY_primaryColor : color,
@@ -151,7 +151,7 @@ function IconTile(props) {
151
151
  shape = _props$shape === void 0 ? 'square' : _props$shape,
152
152
  LEGACY_fallbackComponent = props.LEGACY_fallbackComponent;
153
153
  var ExpandedIcon = Icon;
154
- if (LEGACY_fallbackComponent && !(0, _platformFeatureFlags.fg)('platform.design-system-team.enable-new-icons')) {
154
+ if (LEGACY_fallbackComponent && !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons')) {
155
155
  return LEGACY_fallbackComponent;
156
156
  } else {
157
157
  return (0, _react.jsx)("span", {
@@ -114,7 +114,7 @@ export const Icon = /*#__PURE__*/memo(function Icon(props) {
114
114
  } : undefined;
115
115
 
116
116
  // Fall back to old icon
117
- if (FallbackIcon && !fg('platform.design-system-team.enable-new-icons')) {
117
+ if (FallbackIcon && !fg('platform-visual-refresh-icons')) {
118
118
  // parse out unnecessary props
119
119
  return jsx(FallbackIcon, {
120
120
  primaryColor: LEGACY_primaryColor !== null && LEGACY_primaryColor !== void 0 ? LEGACY_primaryColor : color,
@@ -144,7 +144,7 @@ export default function IconTile(props) {
144
144
  LEGACY_fallbackComponent
145
145
  } = props;
146
146
  const ExpandedIcon = Icon;
147
- if (LEGACY_fallbackComponent && !fg('platform.design-system-team.enable-new-icons')) {
147
+ if (LEGACY_fallbackComponent && !fg('platform-visual-refresh-icons')) {
148
148
  return LEGACY_fallbackComponent;
149
149
  } else {
150
150
  return jsx("span", {
@@ -112,7 +112,7 @@ export var Icon = /*#__PURE__*/memo(function Icon(props) {
112
112
  } : undefined;
113
113
 
114
114
  // Fall back to old icon
115
- if (FallbackIcon && !fg('platform.design-system-team.enable-new-icons')) {
115
+ if (FallbackIcon && !fg('platform-visual-refresh-icons')) {
116
116
  // parse out unnecessary props
117
117
  return jsx(FallbackIcon, {
118
118
  primaryColor: LEGACY_primaryColor !== null && LEGACY_primaryColor !== void 0 ? LEGACY_primaryColor : color,
@@ -144,7 +144,7 @@ export default function IconTile(props) {
144
144
  shape = _props$shape === void 0 ? 'square' : _props$shape,
145
145
  LEGACY_fallbackComponent = props.LEGACY_fallbackComponent;
146
146
  var ExpandedIcon = Icon;
147
- if (LEGACY_fallbackComponent && !fg('platform.design-system-team.enable-new-icons')) {
147
+ if (LEGACY_fallbackComponent && !fg('platform-visual-refresh-icons')) {
148
148
  return LEGACY_fallbackComponent;
149
149
  } else {
150
150
  return jsx("span", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "22.20.1",
3
+ "version": "22.20.2",
4
4
  "description": "An icon is a visual representation of a command, device, directory, or common action.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -108,7 +108,7 @@
108
108
  ".": "./src/index.tsx"
109
109
  },
110
110
  "platform-feature-flags": {
111
- "platform.design-system-team.enable-new-icons": {
111
+ "platform-visual-refresh-icons": {
112
112
  "type": "boolean",
113
113
  "showOnWebsiteForTransitiveDependencies": true
114
114
  },