@atlassian/atlassian-connect-js 5.3.201 → 5.3.203

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.
@@ -9886,7 +9886,7 @@
9886
9886
  return resolveBooleanFlag(name);
9887
9887
  }
9888
9888
 
9889
- var allowedPlatformFeatureFlags = ['platform-visual-refresh-icons', 'acjs_new_font'];
9889
+ var allowedPlatformFeatureFlags = ['platform-visual-refresh-icons'];
9890
9890
  function isPlatformAllowedFeatureFlag(flagName) {
9891
9891
  return allowedPlatformFeatureFlags.includes(flagName);
9892
9892
  }
@@ -13257,7 +13257,7 @@
13257
13257
  *
13258
13258
  * These ids must be kebab case
13259
13259
  */
13260
- var themeIds = ['light-increased-contrast', 'light', 'light-future', 'light-brand-refresh', 'dark', 'dark-future', 'dark-increased-contrast', 'dark-brand-refresh', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-modernized', 'typography-refreshed'];
13260
+ var themeIds = ['light-increased-contrast', 'light', 'light-future', 'dark', 'dark-future', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography', 'typography-adg3', 'typography-modernized', 'typography-refreshed'];
13261
13261
 
13262
13262
  var THEME_DATA_ATTRIBUTE = 'data-theme';
13263
13263
  var COLOR_MODE_ATTRIBUTE = 'data-color-mode';
@@ -13292,7 +13292,9 @@
13292
13292
  * ```
13293
13293
  */
13294
13294
  var themeStringToObject = function themeStringToObject(themeState) {
13295
- return themeState.split(' ').map(function (theme) {
13295
+ return themeState.split(' ')
13296
+ // @ts-ignore - TS1501 TypeScript 5.9.2 upgrade
13297
+ .map(function (theme) {
13296
13298
  return theme.split(/:([^]*)/);
13297
13299
  }).reduce(function (themeObject, _ref) {
13298
13300
  var _ref2 = _slicedToArray(_ref, 2),
@@ -13859,7 +13861,7 @@
13859
13861
  * Add version
13860
13862
  */
13861
13863
  if (!window._AP.version) {
13862
- window._AP.version = '5.3.201';
13864
+ window._AP.version = '5.3.203';
13863
13865
  }
13864
13866
  simpleXDM.defineModule('messages', messages);
13865
13867
  simpleXDM.defineModule('flag', flag);