@atlaskit/smart-card 45.21.1 → 45.21.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,23 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 45.21.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 45.21.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 45.21.2
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 45.21.1
4
22
 
5
23
  ### Patch Changes
@@ -24,7 +24,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
24
24
  var context = exports.context = {
25
25
  componentName: 'smart-cards',
26
26
  packageName: "@atlaskit/smart-card" || '',
27
- packageVersion: "45.21.0" || ''
27
+ packageVersion: "45.21.3" || ''
28
28
  };
29
29
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
30
30
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.getPreviewUrlWithTheme = void 0;
7
- var _themeStateTransformer = require("@atlaskit/tokens/theme-state-transformer");
7
+ var _themeObjectToString = require("@atlaskit/tokens/theme-object-to-string");
8
8
  /**
9
9
  * Append a theme to the URL if it exists
10
10
  * @param previewUrl
@@ -13,7 +13,7 @@ var _themeStateTransformer = require("@atlaskit/tokens/theme-state-transformer")
13
13
  var getPreviewUrlWithTheme = exports.getPreviewUrlWithTheme = function getPreviewUrlWithTheme(previewUrl, themeState) {
14
14
  try {
15
15
  var url = new URL(previewUrl);
16
- url.searchParams.append('themeState', (0, _themeStateTransformer.themeObjectToString)(themeState));
16
+ url.searchParams.append('themeState', (0, _themeObjectToString.themeObjectToString)(themeState));
17
17
  return url.href;
18
18
  } catch (_unused) {
19
19
  return previewUrl;
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
19
19
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
20
20
  var PACKAGE_DATA = {
21
21
  packageName: "@atlaskit/smart-card",
22
- packageVersion: "45.21.0",
22
+ packageVersion: "45.21.3",
23
23
  componentName: 'linkUrl'
24
24
  };
25
25
  var LinkUrl = function LinkUrl(_ref) {
@@ -3,7 +3,7 @@ export const ANALYTICS_CHANNEL = 'media';
3
3
  export const context = {
4
4
  componentName: 'smart-cards',
5
5
  packageName: "@atlaskit/smart-card" || '',
6
- packageVersion: "45.21.0" || ''
6
+ packageVersion: "45.21.3" || ''
7
7
  };
8
8
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
9
9
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,4 +1,4 @@
1
- import { themeObjectToString } from '@atlaskit/tokens/theme-state-transformer';
1
+ import { themeObjectToString } from '@atlaskit/tokens/theme-object-to-string';
2
2
 
3
3
  /**
4
4
  * Append a theme to the URL if it exists
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
9
9
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
10
10
  const PACKAGE_DATA = {
11
11
  packageName: "@atlaskit/smart-card",
12
- packageVersion: "45.21.0",
12
+ packageVersion: "45.21.3",
13
13
  componentName: 'linkUrl'
14
14
  };
15
15
  const LinkUrl = ({
@@ -3,7 +3,7 @@ export var ANALYTICS_CHANNEL = 'media';
3
3
  export var context = {
4
4
  componentName: 'smart-cards',
5
5
  packageName: "@atlaskit/smart-card" || '',
6
- packageVersion: "45.21.0" || ''
6
+ packageVersion: "45.21.3" || ''
7
7
  };
8
8
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
9
9
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,4 +1,4 @@
1
- import { themeObjectToString } from '@atlaskit/tokens/theme-state-transformer';
1
+ import { themeObjectToString } from '@atlaskit/tokens/theme-object-to-string';
2
2
 
3
3
  /**
4
4
  * Append a theme to the URL if it exists
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
12
12
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
13
13
  var PACKAGE_DATA = {
14
14
  packageName: "@atlaskit/smart-card",
15
- packageVersion: "45.21.0",
15
+ packageVersion: "45.21.3",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  var LinkUrl = function LinkUrl(_ref) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "45.21.1",
3
+ "version": "45.21.4",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -80,7 +80,7 @@
80
80
  "@atlaskit/primitives": "^22.5.0",
81
81
  "@atlaskit/react-compiler-gating": "^0.2.0",
82
82
  "@atlaskit/react-ufo": "^7.8.0",
83
- "@atlaskit/rovo-triggers": "^10.29.0",
83
+ "@atlaskit/rovo-triggers": "^10.30.0",
84
84
  "@atlaskit/section-message": "^10.2.0",
85
85
  "@atlaskit/select": "^22.11.0",
86
86
  "@atlaskit/spinner": "^20.4.0",
@@ -90,7 +90,7 @@
90
90
  "@atlaskit/textfield": "^10.2.0",
91
91
  "@atlaskit/theme": "^28.2.0",
92
92
  "@atlaskit/tile": "^4.1.0",
93
- "@atlaskit/tmp-editor-statsig": "^180.0.0",
93
+ "@atlaskit/tmp-editor-statsig": "^183.0.0",
94
94
  "@atlaskit/tokens": "^16.11.0",
95
95
  "@atlaskit/tooltip": "^24.3.0",
96
96
  "@atlaskit/ufo": "^1.2.0",
@@ -110,7 +110,7 @@
110
110
  "uuid": "^11.1.1"
111
111
  },
112
112
  "peerDependencies": {
113
- "@atlaskit/link-provider": "^5.5.0",
113
+ "@atlaskit/link-provider": "^5.6.0",
114
114
  "react": "^18.2.0",
115
115
  "react-dom": "^18.2.0",
116
116
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"