@atlassian/atlassian-connect-js 5.3.202 → 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.
- package/dist/connect-host.js +5 -3
- package/dist/iframe-fedramp.js +340 -244
- package/dist/iframe.js +340 -244
- package/dist/themes/atlaskit-tokens_dark.css +293 -292
- package/dist/themes/atlaskit-tokens_legacy-dark.css +1 -0
- package/dist/themes/atlaskit-tokens_legacy-light.css +1 -0
- package/dist/themes/atlaskit-tokens_light.css +265 -264
- package/dist/themes/atlaskit-tokens_shape.css +9 -10
- package/dist/themes/atlaskit-tokens_typography-adg3.css +18 -15
- package/dist/themes/atlaskit-tokens_typography-modernized.css +18 -15
- package/dist/themes/atlaskit-tokens_typography-refreshed.css +18 -15
- package/dist/themes/atlaskit-tokens_typography.css +27 -0
- package/package.json +2 -2
- package/spec/tests/theming_spec.js +13 -11
package/dist/connect-host.js
CHANGED
|
@@ -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', '
|
|
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(' ')
|
|
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.
|
|
13864
|
+
window._AP.version = '5.3.203';
|
|
13863
13865
|
}
|
|
13864
13866
|
simpleXDM.defineModule('messages', messages);
|
|
13865
13867
|
simpleXDM.defineModule('flag', flag);
|