@atlaskit/smart-card 39.0.0 → 39.1.0

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,17 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 39.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#175869](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/175869)
8
+ [`e7f822af7edc1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e7f822af7edc1) -
9
+ Updated usages of deprecated icons with replacement icons
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 39.0.0
4
16
 
5
17
  ### Major Changes
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card",
14
- packageVersion: "38.21.0"
14
+ packageVersion: "39.0.0"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -7,10 +7,10 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.InfoIcon = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _information = _interopRequireDefault(require("@atlaskit/icon/core/information"));
10
+ var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
11
11
  var _infoIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/info-icon"));
12
12
  var InfoIcon = exports.InfoIcon = function InfoIcon(props) {
13
- return /*#__PURE__*/_react.default.createElement(_information.default, (0, _extends2.default)({
13
+ return /*#__PURE__*/_react.default.createElement(_statusInformation.default, (0, _extends2.default)({
14
14
  color: props.color || 'currentColor',
15
15
  LEGACY_fallbackIcon: _infoIcon.default
16
16
  }, props));
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
20
20
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
21
21
  var PACKAGE_DATA = {
22
22
  packageName: "@atlaskit/smart-card",
23
- packageVersion: "38.21.0",
23
+ packageVersion: "39.0.0",
24
24
  componentName: 'linkUrl'
25
25
  };
26
26
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
2
2
  export const context = {
3
3
  componentName: 'smart-cards',
4
4
  packageName: "@atlaskit/smart-card",
5
- packageVersion: "38.21.0"
5
+ packageVersion: "39.0.0"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import InformationIcon from '@atlaskit/icon/core/information';
3
+ import StatusInformationIcon from '@atlaskit/icon/core/status-information';
4
4
  import LegacyInfoIcon from '@atlaskit/legacy-custom-icons/info-icon';
5
- export const InfoIcon = props => /*#__PURE__*/React.createElement(InformationIcon, _extends({
5
+ export const InfoIcon = props => /*#__PURE__*/React.createElement(StatusInformationIcon, _extends({
6
6
  color: props.color || 'currentColor',
7
7
  LEGACY_fallbackIcon: LegacyInfoIcon
8
8
  }, props));
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
10
10
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
11
11
  const PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "38.21.0",
13
+ packageVersion: "39.0.0",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  const Anchor = withLinkClickedEvent('a');
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "38.21.0"
7
+ packageVersion: "39.0.0"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,9 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import InformationIcon from '@atlaskit/icon/core/information';
3
+ import StatusInformationIcon from '@atlaskit/icon/core/status-information';
4
4
  import LegacyInfoIcon from '@atlaskit/legacy-custom-icons/info-icon';
5
5
  export var InfoIcon = function InfoIcon(props) {
6
- return /*#__PURE__*/React.createElement(InformationIcon, _extends({
6
+ return /*#__PURE__*/React.createElement(StatusInformationIcon, _extends({
7
7
  color: props.color || 'currentColor',
8
8
  LEGACY_fallbackIcon: LegacyInfoIcon
9
9
  }, props));
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
13
13
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
14
14
  var PACKAGE_DATA = {
15
15
  packageName: "@atlaskit/smart-card",
16
- packageVersion: "38.21.0",
16
+ packageVersion: "39.0.0",
17
17
  componentName: 'linkUrl'
18
18
  };
19
19
  var Anchor = withLinkClickedEvent('a');
@@ -1,6 +1,6 @@
1
1
  import type { ComponentPropsWithoutRef } from 'react';
2
- import { IconTile } from '@atlaskit/icon';
3
- import { SmartLinkSize } from '../../../constants';
2
+ import { type IconTile } from '@atlaskit/icon';
3
+ import { type SmartLinkSize } from '../../../constants';
4
4
  export type AtlaskitIconTileProps = Omit<ComponentPropsWithoutRef<typeof IconTile>, 'appearance' | 'icon' | 'size'> & {
5
5
  size?: SmartLinkSize;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SmartLinkStatus } from '../../constants';
2
+ import { type SmartLinkStatus } from '../../constants';
3
3
  import { type InternalFlexibleUiOptions } from '../../view/FlexibleCard/types';
4
4
  import { type FlexibleUiDataContext } from './types';
5
5
  export type FlexibleCardContextType = {
@@ -1,4 +1,4 @@
1
- import { type IconType, SmartLinkSize } from '../../../../../constants';
1
+ import { type IconType, type SmartLinkSize } from '../../../../../constants';
2
2
  export type AtlaskitIconProps = {
3
3
  icon: IconType;
4
4
  label?: string;
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import React from 'react';
6
- import { SmartLinkInternalTheme, SmartLinkTheme } from '../../../../../../constants';
6
+ import { type SmartLinkInternalTheme, SmartLinkTheme } from '../../../../../../constants';
7
7
  import type { ElementProps } from '../../../../components/elements';
8
8
  import type { AnchorTarget } from '../../../../components/types';
9
9
  export type BaseLinkElementProps = ElementProps & {
@@ -1,4 +1,4 @@
1
- import { ElementName, type SmartLinkSize } from '../../../../constants';
1
+ import { type ElementName, type SmartLinkSize } from '../../../../constants';
2
2
  export type ElementProps = {
3
3
  /**
4
4
  * Name of the element, can be used as a selector.
@@ -1,6 +1,6 @@
1
1
  import type { ComponentPropsWithoutRef } from 'react';
2
- import { IconTile } from '@atlaskit/icon';
3
- import { SmartLinkSize } from '../../../constants';
2
+ import { type IconTile } from '@atlaskit/icon';
3
+ import { type SmartLinkSize } from '../../../constants';
4
4
  export type AtlaskitIconTileProps = Omit<ComponentPropsWithoutRef<typeof IconTile>, 'appearance' | 'icon' | 'size'> & {
5
5
  size?: SmartLinkSize;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SmartLinkStatus } from '../../constants';
2
+ import { type SmartLinkStatus } from '../../constants';
3
3
  import { type InternalFlexibleUiOptions } from '../../view/FlexibleCard/types';
4
4
  import { type FlexibleUiDataContext } from './types';
5
5
  export type FlexibleCardContextType = {
@@ -1,4 +1,4 @@
1
- import { type IconType, SmartLinkSize } from '../../../../../constants';
1
+ import { type IconType, type SmartLinkSize } from '../../../../../constants';
2
2
  export type AtlaskitIconProps = {
3
3
  icon: IconType;
4
4
  label?: string;
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import React from 'react';
6
- import { SmartLinkInternalTheme, SmartLinkTheme } from '../../../../../../constants';
6
+ import { type SmartLinkInternalTheme, SmartLinkTheme } from '../../../../../../constants';
7
7
  import type { ElementProps } from '../../../../components/elements';
8
8
  import type { AnchorTarget } from '../../../../components/types';
9
9
  export type BaseLinkElementProps = ElementProps & {
@@ -1,4 +1,4 @@
1
- import { ElementName, type SmartLinkSize } from '../../../../constants';
1
+ import { type ElementName, type SmartLinkSize } from '../../../../constants';
2
2
  export type ElementProps = {
3
3
  /**
4
4
  * Name of the element, can be used as a selector.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "39.0.0",
3
+ "version": "39.1.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,9 +36,9 @@
36
36
  "@atlaskit/css": "^0.12.0",
37
37
  "@atlaskit/dropdown-menu": "^16.1.0",
38
38
  "@atlaskit/form": "^12.0.0",
39
- "@atlaskit/frontend-utilities": "^3.0.0",
39
+ "@atlaskit/frontend-utilities": "^3.1.0",
40
40
  "@atlaskit/heading": "^5.2.0",
41
- "@atlaskit/icon": "^27.2.0",
41
+ "@atlaskit/icon": "^27.3.0",
42
42
  "@atlaskit/icon-file-type": "^7.0.0",
43
43
  "@atlaskit/icon-lab": "^5.1.0",
44
44
  "@atlaskit/icon-object": "^7.1.0",
@@ -62,7 +62,7 @@
62
62
  "@atlaskit/popup": "^4.3.0",
63
63
  "@atlaskit/primitives": "^14.10.0",
64
64
  "@atlaskit/section-message": "^8.2.0",
65
- "@atlaskit/select": "^21.0.0",
65
+ "@atlaskit/select": "^21.1.0",
66
66
  "@atlaskit/spinner": "^18.0.0",
67
67
  "@atlaskit/textarea": "^8.0.0",
68
68
  "@atlaskit/textfield": "^8.0.0",