@atlaskit/smart-card 30.2.7 → 30.3.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/utils/analytics/analytics.js +1 -1
  3. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +2 -4
  4. package/dist/cjs/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +2 -21
  5. package/dist/cjs/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +3 -21
  6. package/dist/cjs/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.js +4 -28
  7. package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.js +6 -23
  8. package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +2 -2
  9. package/dist/cjs/view/LinkUrl/index.js +1 -1
  10. package/dist/es2019/utils/analytics/analytics.js +1 -1
  11. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +2 -4
  12. package/dist/es2019/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +1 -16
  13. package/dist/es2019/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +2 -16
  14. package/dist/es2019/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.js +4 -26
  15. package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.js +6 -21
  16. package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +2 -2
  17. package/dist/es2019/view/LinkUrl/index.js +1 -1
  18. package/dist/esm/utils/analytics/analytics.js +1 -1
  19. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +2 -4
  20. package/dist/esm/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +1 -20
  21. package/dist/esm/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +2 -20
  22. package/dist/esm/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.js +4 -28
  23. package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.js +6 -23
  24. package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +2 -2
  25. package/dist/esm/view/LinkUrl/index.js +1 -1
  26. package/dist/types/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.d.ts +2 -2
  27. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-footer-block/icons/info/index.d.ts +2 -2
  28. package/package.json +3 -2
  29. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/manual-trigger-icon/index.js +0 -29
  30. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/manual-trigger-icon/index.js +0 -20
  31. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/manual-trigger-icon/index.js +0 -22
  32. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/manual-trigger-icon/index.d.ts +0 -3
  33. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/manual-trigger-icon/index.d.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 30.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#165224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165224)
8
+ [`4b595d55453c9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4b595d55453c9) -
9
+ [ux] Enable new icons behind a feature flag.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 30.2.7
4
16
 
5
17
  ### Patch Changes
@@ -22,7 +22,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
22
22
  var context = exports.context = {
23
23
  componentName: 'smart-cards',
24
24
  packageName: "@atlaskit/smart-card",
25
- packageVersion: "30.2.7"
25
+ packageVersion: "30.3.0"
26
26
  };
27
27
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
28
28
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -8,12 +8,11 @@ exports.AutomationModalHeader = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _reactIntlNext = require("react-intl-next");
10
10
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
11
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
+ var _manualTriggerIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/manual-trigger-icon"));
12
12
  var _modalDialog = require("@atlaskit/modal-dialog");
13
13
  var _primitives = require("@atlaskit/primitives");
14
14
  var _colors = require("@atlaskit/theme/colors");
15
15
  var _menuContext = require("../../menu-context");
16
- var _manualTriggerIcon = require("./manual-trigger-icon");
17
16
  var i18n = (0, _reactIntlNext.defineMessages)({
18
17
  modalHeaderIconLabel: {
19
18
  id: 'automation-menu.modal.header.icon.label',
@@ -46,9 +45,8 @@ var AutomationModalHeader = exports.AutomationModalHeader = function AutomationM
46
45
  xcss: iconStyle,
47
46
  paddingInline: "space.050",
48
47
  paddingBlock: "space.025"
49
- }, /*#__PURE__*/_react.default.createElement(_icon.default, {
48
+ }, /*#__PURE__*/_react.default.createElement(_manualTriggerIcon.default, {
50
49
  size: "small",
51
- glyph: _manualTriggerIcon.ManualTriggerGlyph,
52
50
  label: formatMessage(i18n.modalHeaderIconLabel),
53
51
  primaryColor: "var(--ds-icon-accent-green, ".concat(_colors.G50, ")")
54
52
  })), /*#__PURE__*/_react.default.createElement(_heading.default, {
@@ -7,31 +7,12 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.GoalIcon = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
10
  var _goal = _interopRequireDefault(require("@atlaskit/icon/core/goal"));
12
- var LegacyGoalGlyph = function LegacyGoalGlyph(_props) {
13
- return /*#__PURE__*/_react.default.createElement("svg", {
14
- xmlns: "http://www.w3.org/2000/svg",
15
- width: "16",
16
- height: "16",
17
- viewBox: "0 0 16 16",
18
- fill: "none"
19
- }, /*#__PURE__*/_react.default.createElement("path", {
20
- fillRule: "evenodd",
21
- clipRule: "evenodd",
22
- d: "M12.6667 8C12.6667 10.5773 10.5773 12.6667 8 12.6667C5.42267 12.6667 3.33333 10.5773 3.33333 8C3.33333 5.42267 5.42267 3.33333 8 3.33333C10.5773 3.33333 12.6667 5.42267 12.6667 8ZM14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8ZM9.33333 8C9.33333 8.73638 8.73638 9.33333 8 9.33333C7.26362 9.33333 6.66667 8.73638 6.66667 8C6.66667 7.26362 7.26362 6.66667 8 6.66667C8.73638 6.66667 9.33333 7.26362 9.33333 8ZM10.6667 8C10.6667 9.47276 9.47276 10.6667 8 10.6667C6.52724 10.6667 5.33333 9.47276 5.33333 8C5.33333 6.52724 6.52724 5.33333 8 5.33333C9.47276 5.33333 10.6667 6.52724 10.6667 8Z",
23
- fill: "var(--ds-icon, #44546F)"
24
- }));
25
- };
26
- var LegacyGoalIcon = function LegacyGoalIcon(props) {
27
- return /*#__PURE__*/_react.default.createElement(_icon.default, (0, _extends2.default)({
28
- glyph: LegacyGoalGlyph
29
- }, props));
30
- };
11
+ var _goalBoldIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/goal-bold-icon"));
31
12
  var GoalIcon = exports.GoalIcon = function GoalIcon(props) {
32
13
  return /*#__PURE__*/_react.default.createElement(_goal.default, (0, _extends2.default)({
33
14
  color: "var(--ds-icon, #44546F)",
34
- LEGACY_fallbackIcon: LegacyGoalIcon,
15
+ LEGACY_fallbackIcon: _goalBoldIcon.default,
35
16
  spacing: "spacious"
36
17
  }, props));
37
18
  };
@@ -7,31 +7,13 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.ProjectsIcon = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
10
  var _project = _interopRequireDefault(require("@atlaskit/icon/core/project"));
12
- var ProjectsGlyph = function ProjectsGlyph(_props) {
13
- return /*#__PURE__*/_react.default.createElement("svg", {
14
- xmlns: "http://www.w3.org/2000/svg",
15
- width: "16",
16
- height: "16",
17
- viewBox: "0 0 16 16",
18
- fill: "none"
19
- }, /*#__PURE__*/_react.default.createElement("path", {
20
- fillRule: "evenodd",
21
- clipRule: "evenodd",
22
- d: "M9.88573 4.00002C9.70892 4.00002 9.53935 4.07026 9.41433 4.19528L6.97282 6.63678L4.20525 6.94429C4.05479 6.96101 3.91451 7.02844 3.80746 7.13548L3.60959 7.33335L4.35367 8.07743C4.6791 8.40287 4.6791 8.93051 4.35367 9.25594L3.47152 10.1381C3.21117 10.3984 2.78906 10.3984 2.52871 10.1381C2.26836 9.87774 2.26836 9.45563 2.52871 9.19528L3.0573 8.66669L2.43108 8.04046C2.04055 7.64993 2.04055 7.01677 2.43108 6.62625L2.86465 6.19267C3.18578 5.87154 3.60664 5.66927 4.05801 5.61911L6.36073 5.36326L8.47152 3.25247C8.84659 2.8774 9.3553 2.66669 9.88573 2.66669H12.0001C12.7365 2.66669 13.3334 3.26364 13.3334 4.00002V6.1144C13.3334 6.64483 13.1227 7.15354 12.7477 7.52862L10.6369 9.6394L10.381 11.9421C10.3309 12.3935 10.1286 12.8143 9.80746 13.1355L9.37389 13.5691C8.98336 13.9596 8.3502 13.9596 7.95967 13.5691L7.33345 12.9428L6.80485 13.4714C6.5445 13.7318 6.12239 13.7318 5.86204 13.4714C5.60169 13.2111 5.60169 12.789 5.86204 12.5286L6.74419 11.6465C7.06963 11.321 7.59726 11.321 7.9227 11.6465L8.66678 12.3905L8.86466 12.1927C8.9717 12.0856 9.03912 11.9453 9.05584 11.7949L9.36335 9.02731L11.8049 6.58581C11.9299 6.46078 12.0001 6.29121 12.0001 6.1144V4.00002H9.88573ZM5.80486 10.1953C6.06521 10.4556 6.06521 10.8777 5.80486 11.1381L3.80486 13.1381C3.54451 13.3984 3.1224 13.3984 2.86205 13.1381C2.6017 12.8777 2.6017 12.4556 2.86205 12.1953L4.86205 10.1953C5.1224 9.93493 5.54451 9.93493 5.80486 10.1953ZM10.0001 6.66669C10.3683 6.66669 10.6668 6.36821 10.6668 6.00002C10.6668 5.63183 10.3683 5.33335 10.0001 5.33335C9.63193 5.33335 9.33346 5.63183 9.33346 6.00002C9.33346 6.36821 9.63193 6.66669 10.0001 6.66669Z",
23
- fill: "var(--ds-icon, #44546F)"
24
- }));
25
- };
26
- var LegacyProjectsIcon = function LegacyProjectsIcon(props) {
27
- return /*#__PURE__*/_react.default.createElement(_icon.default, (0, _extends2.default)({
28
- glyph: ProjectsGlyph
29
- }, props));
30
- };
11
+ var _projectIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/project-icon"));
31
12
  var ProjectsIcon = exports.ProjectsIcon = function ProjectsIcon(props) {
32
13
  return /*#__PURE__*/_react.default.createElement(_project.default, (0, _extends2.default)({
33
14
  color: "var(--ds-icon, #44546F)",
34
- LEGACY_fallbackIcon: LegacyProjectsIcon,
15
+ LEGACY_fallbackIcon: _projectIcon.default,
16
+ LEGACY_margin: "10px",
35
17
  spacing: "spacious"
36
18
  }, props));
37
19
  };
@@ -7,35 +7,11 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
- var UnfollowGlyph = function UnfollowGlyph(props) {
12
- return /*#__PURE__*/_react.default.createElement("svg", {
13
- width: "16",
14
- height: "16",
15
- viewBox: "0 0 16 16",
16
- "data-testid": props['data-testid'],
17
- "aria-label": props['aria-label']
18
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
19
- ,
20
- className: props.className,
21
- role: "presentation",
22
- xmlns: "http://www.w3.org/2000/svg"
23
- }, /*#__PURE__*/_react.default.createElement("path", {
24
- d: "M14 4.66667H11.3333C10.9652 4.66667 10.6667 4.96514 10.6667 5.33333C10.6667 5.70152 10.9652 6 11.3333 6H14C14.3682 6 14.6667 5.70152 14.6667 5.33333C14.6667 4.96514 14.3682 4.66667 14 4.66667Z",
25
- fill: "currentColor"
26
- }), /*#__PURE__*/_react.default.createElement("path", {
27
- fillRule: "evenodd",
28
- clipRule: "evenodd",
29
- d: "M3.33334 9.33333C3.33334 8.59667 3.93468 8 4.67268 8H9.99401C10.734 8 11.3333 8.596 11.3333 9.33733V12.2973C11.3333 14.5673 3.33334 14.5673 3.33334 12.2973V9.33333Z",
30
- fill: "currentColor"
31
- }), /*#__PURE__*/_react.default.createElement("path", {
32
- d: "M7.33334 7.33333C8.8061 7.33333 10 6.13943 10 4.66667C10 3.19391 8.8061 2 7.33334 2C5.86058 2 4.66668 3.19391 4.66668 4.66667C4.66668 6.13943 5.86058 7.33333 7.33334 7.33333Z",
33
- fill: "currentColor"
34
- }));
35
- };
10
+ var _personRemove = _interopRequireDefault(require("@atlaskit/icon/core/person-remove"));
11
+ var _unfollowIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/unfollow-icon"));
36
12
  var UnfollowIcon = function UnfollowIcon(props) {
37
- return /*#__PURE__*/_react.default.createElement(_icon.default, (0, _extends2.default)({
38
- glyph: UnfollowGlyph
13
+ return /*#__PURE__*/_react.default.createElement(_personRemove.default, (0, _extends2.default)({
14
+ LEGACY_fallbackIcon: _unfollowIcon.default
39
15
  }, props));
40
16
  };
41
17
  var _default = exports.default = UnfollowIcon;
@@ -7,28 +7,11 @@ 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 _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
- var CustomGlyph = function CustomGlyph(props) {
12
- return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({
13
- width: "16",
14
- height: "16",
15
- viewBox: "0 0 16 16",
16
- fill: "none"
17
- }, props), /*#__PURE__*/_react.default.createElement("path", {
18
- d: "M7 5C7 5.55228 7.44772 6 8 6C8.55228 6 9 5.55228 9 5C9 4.44772 8.55228 4 8 4C7.44772 4 7 4.44772 7 5Z",
19
- fill: "currentColor"
20
- }), /*#__PURE__*/_react.default.createElement("path", {
21
- d: "M7.25 7L7.25 12H8.75L8.75 7H7.25Z",
22
- fill: "currentColor"
23
- }), /*#__PURE__*/_react.default.createElement("path", {
24
- fillRule: "evenodd",
25
- clipRule: "evenodd",
26
- d: "M8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1ZM2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5C4.96243 2.5 2.5 4.96243 2.5 8Z",
27
- fill: "currentColor"
28
- }));
29
- };
10
+ var _information = _interopRequireDefault(require("@atlaskit/icon/core/information"));
11
+ var _infoIcon = _interopRequireDefault(require("@atlaskit/legacy-custom-icons/info-icon"));
30
12
  var InfoIcon = exports.InfoIcon = function InfoIcon(props) {
31
- return /*#__PURE__*/_react.default.createElement(_icon.default, (0, _extends2.default)({}, props, {
32
- glyph: CustomGlyph
33
- }));
13
+ return /*#__PURE__*/_react.default.createElement(_information.default, (0, _extends2.default)({
14
+ color: props.color || 'currentColor',
15
+ LEGACY_fallbackIcon: _infoIcon.default
16
+ }, props));
34
17
  };
@@ -34,8 +34,8 @@ var AIFooterMetadata = exports.AIFooterMetadata = function AIFooterMetadata(_ref
34
34
  }, function (tooltipProps) {
35
35
  return /*#__PURE__*/_react.default.createElement(_primitives.Box, tooltipProps, /*#__PURE__*/_react.default.createElement(_info.InfoIcon, {
36
36
  label: "Information",
37
- size: "small",
38
- primaryColor: "var(--ds-icon-subtle, #626F86)"
37
+ LEGACY_size: "small",
38
+ color: "var(--ds-icon-subtle, #626F86)"
39
39
  }));
40
40
  }), /*#__PURE__*/_react.default.createElement(_atlassianIntelligence.default, {
41
41
  label: "AI",
@@ -17,7 +17,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
17
17
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
18
18
  var PACKAGE_DATA = {
19
19
  packageName: "@atlaskit/smart-card",
20
- packageVersion: "30.2.7",
20
+ packageVersion: "30.3.0",
21
21
  componentName: 'linkUrl'
22
22
  };
23
23
  var Link = (0, _click.withLinkClickedEvent)('a');
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
4
4
  export const context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "30.2.7"
7
+ packageVersion: "30.3.0"
8
8
  };
9
9
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,12 +1,11 @@
1
1
  import React from 'react';
2
2
  import { defineMessages, useIntl } from 'react-intl-next';
3
3
  import Heading from '@atlaskit/heading';
4
- import Icon from '@atlaskit/icon';
4
+ import LegacyManualTriggerIcon from '@atlaskit/legacy-custom-icons/manual-trigger-icon';
5
5
  import { ModalHeader, useModal } from '@atlaskit/modal-dialog';
6
6
  import { Box, Inline, Stack, xcss } from '@atlaskit/primitives';
7
7
  import { G50 } from '@atlaskit/theme/colors';
8
8
  import { useAutomationMenu } from '../../menu-context';
9
- import { ManualTriggerGlyph } from './manual-trigger-icon';
10
9
  const i18n = defineMessages({
11
10
  modalHeaderIconLabel: {
12
11
  id: 'automation-menu.modal.header.icon.label',
@@ -43,9 +42,8 @@ export const AutomationModalHeader = ({
43
42
  xcss: iconStyle,
44
43
  paddingInline: "space.050",
45
44
  paddingBlock: "space.025"
46
- }, /*#__PURE__*/React.createElement(Icon, {
45
+ }, /*#__PURE__*/React.createElement(LegacyManualTriggerIcon, {
47
46
  size: "small",
48
- glyph: ManualTriggerGlyph,
49
47
  label: formatMessage(i18n.modalHeaderIconLabel),
50
48
  primaryColor: `var(--ds-icon-accent-green, ${G50})`
51
49
  })), /*#__PURE__*/React.createElement(Heading, {
@@ -1,22 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@atlaskit/icon';
4
3
  import GoalGlyph from '@atlaskit/icon/core/goal';
5
- const LegacyGoalGlyph = _props => /*#__PURE__*/React.createElement("svg", {
6
- xmlns: "http://www.w3.org/2000/svg",
7
- width: "16",
8
- height: "16",
9
- viewBox: "0 0 16 16",
10
- fill: "none"
11
- }, /*#__PURE__*/React.createElement("path", {
12
- fillRule: "evenodd",
13
- clipRule: "evenodd",
14
- d: "M12.6667 8C12.6667 10.5773 10.5773 12.6667 8 12.6667C5.42267 12.6667 3.33333 10.5773 3.33333 8C3.33333 5.42267 5.42267 3.33333 8 3.33333C10.5773 3.33333 12.6667 5.42267 12.6667 8ZM14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8ZM9.33333 8C9.33333 8.73638 8.73638 9.33333 8 9.33333C7.26362 9.33333 6.66667 8.73638 6.66667 8C6.66667 7.26362 7.26362 6.66667 8 6.66667C8.73638 6.66667 9.33333 7.26362 9.33333 8ZM10.6667 8C10.6667 9.47276 9.47276 10.6667 8 10.6667C6.52724 10.6667 5.33333 9.47276 5.33333 8C5.33333 6.52724 6.52724 5.33333 8 5.33333C9.47276 5.33333 10.6667 6.52724 10.6667 8Z",
15
- fill: "var(--ds-icon, #44546F)"
16
- }));
17
- const LegacyGoalIcon = props => /*#__PURE__*/React.createElement(Icon, _extends({
18
- glyph: LegacyGoalGlyph
19
- }, props));
4
+ import LegacyGoalIcon from '@atlaskit/legacy-custom-icons/goal-bold-icon';
20
5
  export const GoalIcon = props => /*#__PURE__*/React.createElement(GoalGlyph, _extends({
21
6
  color: "var(--ds-icon, #44546F)",
22
7
  LEGACY_fallbackIcon: LegacyGoalIcon,
@@ -1,24 +1,10 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@atlaskit/icon';
4
3
  import ProjectIcon from '@atlaskit/icon/core/project';
5
- const ProjectsGlyph = _props => /*#__PURE__*/React.createElement("svg", {
6
- xmlns: "http://www.w3.org/2000/svg",
7
- width: "16",
8
- height: "16",
9
- viewBox: "0 0 16 16",
10
- fill: "none"
11
- }, /*#__PURE__*/React.createElement("path", {
12
- fillRule: "evenodd",
13
- clipRule: "evenodd",
14
- d: "M9.88573 4.00002C9.70892 4.00002 9.53935 4.07026 9.41433 4.19528L6.97282 6.63678L4.20525 6.94429C4.05479 6.96101 3.91451 7.02844 3.80746 7.13548L3.60959 7.33335L4.35367 8.07743C4.6791 8.40287 4.6791 8.93051 4.35367 9.25594L3.47152 10.1381C3.21117 10.3984 2.78906 10.3984 2.52871 10.1381C2.26836 9.87774 2.26836 9.45563 2.52871 9.19528L3.0573 8.66669L2.43108 8.04046C2.04055 7.64993 2.04055 7.01677 2.43108 6.62625L2.86465 6.19267C3.18578 5.87154 3.60664 5.66927 4.05801 5.61911L6.36073 5.36326L8.47152 3.25247C8.84659 2.8774 9.3553 2.66669 9.88573 2.66669H12.0001C12.7365 2.66669 13.3334 3.26364 13.3334 4.00002V6.1144C13.3334 6.64483 13.1227 7.15354 12.7477 7.52862L10.6369 9.6394L10.381 11.9421C10.3309 12.3935 10.1286 12.8143 9.80746 13.1355L9.37389 13.5691C8.98336 13.9596 8.3502 13.9596 7.95967 13.5691L7.33345 12.9428L6.80485 13.4714C6.5445 13.7318 6.12239 13.7318 5.86204 13.4714C5.60169 13.2111 5.60169 12.789 5.86204 12.5286L6.74419 11.6465C7.06963 11.321 7.59726 11.321 7.9227 11.6465L8.66678 12.3905L8.86466 12.1927C8.9717 12.0856 9.03912 11.9453 9.05584 11.7949L9.36335 9.02731L11.8049 6.58581C11.9299 6.46078 12.0001 6.29121 12.0001 6.1144V4.00002H9.88573ZM5.80486 10.1953C6.06521 10.4556 6.06521 10.8777 5.80486 11.1381L3.80486 13.1381C3.54451 13.3984 3.1224 13.3984 2.86205 13.1381C2.6017 12.8777 2.6017 12.4556 2.86205 12.1953L4.86205 10.1953C5.1224 9.93493 5.54451 9.93493 5.80486 10.1953ZM10.0001 6.66669C10.3683 6.66669 10.6668 6.36821 10.6668 6.00002C10.6668 5.63183 10.3683 5.33335 10.0001 5.33335C9.63193 5.33335 9.33346 5.63183 9.33346 6.00002C9.33346 6.36821 9.63193 6.66669 10.0001 6.66669Z",
15
- fill: "var(--ds-icon, #44546F)"
16
- }));
17
- const LegacyProjectsIcon = props => /*#__PURE__*/React.createElement(Icon, _extends({
18
- glyph: ProjectsGlyph
19
- }, props));
4
+ import LegacyProjectsIcon from '@atlaskit/legacy-custom-icons/project-icon';
20
5
  export const ProjectsIcon = props => /*#__PURE__*/React.createElement(ProjectIcon, _extends({
21
6
  color: "var(--ds-icon, #44546F)",
22
7
  LEGACY_fallbackIcon: LegacyProjectsIcon,
8
+ LEGACY_margin: "10px",
23
9
  spacing: "spacious"
24
10
  }, props));
@@ -1,30 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@atlaskit/icon';
4
- const UnfollowGlyph = props => /*#__PURE__*/React.createElement("svg", {
5
- width: "16",
6
- height: "16",
7
- viewBox: "0 0 16 16",
8
- "data-testid": props['data-testid'],
9
- "aria-label": props['aria-label']
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
11
- ,
12
- className: props.className,
13
- role: "presentation",
14
- xmlns: "http://www.w3.org/2000/svg"
15
- }, /*#__PURE__*/React.createElement("path", {
16
- d: "M14 4.66667H11.3333C10.9652 4.66667 10.6667 4.96514 10.6667 5.33333C10.6667 5.70152 10.9652 6 11.3333 6H14C14.3682 6 14.6667 5.70152 14.6667 5.33333C14.6667 4.96514 14.3682 4.66667 14 4.66667Z",
17
- fill: "currentColor"
18
- }), /*#__PURE__*/React.createElement("path", {
19
- fillRule: "evenodd",
20
- clipRule: "evenodd",
21
- d: "M3.33334 9.33333C3.33334 8.59667 3.93468 8 4.67268 8H9.99401C10.734 8 11.3333 8.596 11.3333 9.33733V12.2973C11.3333 14.5673 3.33334 14.5673 3.33334 12.2973V9.33333Z",
22
- fill: "currentColor"
23
- }), /*#__PURE__*/React.createElement("path", {
24
- d: "M7.33334 7.33333C8.8061 7.33333 10 6.13943 10 4.66667C10 3.19391 8.8061 2 7.33334 2C5.86058 2 4.66668 3.19391 4.66668 4.66667C4.66668 6.13943 5.86058 7.33333 7.33334 7.33333Z",
25
- fill: "currentColor"
26
- }));
27
- const UnfollowIcon = props => /*#__PURE__*/React.createElement(Icon, _extends({
28
- glyph: UnfollowGlyph
3
+ import PersonRemoveIcon from '@atlaskit/icon/core/person-remove';
4
+ import LegacyUnfollowIcon from '@atlaskit/legacy-custom-icons/unfollow-icon';
5
+ const UnfollowIcon = props => /*#__PURE__*/React.createElement(PersonRemoveIcon, _extends({
6
+ LEGACY_fallbackIcon: LegacyUnfollowIcon
29
7
  }, props));
30
8
  export default UnfollowIcon;
@@ -1,23 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@atlaskit/icon';
4
- const CustomGlyph = props => /*#__PURE__*/React.createElement("svg", _extends({
5
- width: "16",
6
- height: "16",
7
- viewBox: "0 0 16 16",
8
- fill: "none"
9
- }, props), /*#__PURE__*/React.createElement("path", {
10
- d: "M7 5C7 5.55228 7.44772 6 8 6C8.55228 6 9 5.55228 9 5C9 4.44772 8.55228 4 8 4C7.44772 4 7 4.44772 7 5Z",
11
- fill: "currentColor"
12
- }), /*#__PURE__*/React.createElement("path", {
13
- d: "M7.25 7L7.25 12H8.75L8.75 7H7.25Z",
14
- fill: "currentColor"
15
- }), /*#__PURE__*/React.createElement("path", {
16
- fillRule: "evenodd",
17
- clipRule: "evenodd",
18
- d: "M8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1ZM2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5C4.96243 2.5 2.5 4.96243 2.5 8Z",
19
- fill: "currentColor"
20
- }));
21
- export const InfoIcon = props => /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
22
- glyph: CustomGlyph
23
- }));
3
+ import InformationIcon from '@atlaskit/icon/core/information';
4
+ import LegacyInfoIcon from '@atlaskit/legacy-custom-icons/info-icon';
5
+ export const InfoIcon = props => /*#__PURE__*/React.createElement(InformationIcon, _extends({
6
+ color: props.color || 'currentColor',
7
+ LEGACY_fallbackIcon: LegacyInfoIcon
8
+ }, props));
@@ -30,8 +30,8 @@ export const AIFooterMetadata = ({
30
30
  position: "bottom"
31
31
  }, tooltipProps => /*#__PURE__*/React.createElement(Box, tooltipProps, /*#__PURE__*/React.createElement(InfoIcon, {
32
32
  label: "Information",
33
- size: "small",
34
- primaryColor: "var(--ds-icon-subtle, #626F86)"
33
+ LEGACY_size: "small",
34
+ color: "var(--ds-icon-subtle, #626F86)"
35
35
  }))), /*#__PURE__*/React.createElement(AIIcon, {
36
36
  label: "AI",
37
37
  LEGACY_size: "small",
@@ -7,7 +7,7 @@ import LinkWarningModal from './LinkWarningModal';
7
7
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
8
8
  const PACKAGE_DATA = {
9
9
  packageName: "@atlaskit/smart-card",
10
- packageVersion: "30.2.7",
10
+ packageVersion: "30.3.0",
11
11
  componentName: 'linkUrl'
12
12
  };
13
13
  const Link = withLinkClickedEvent('a');
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
15
15
  export var context = {
16
16
  componentName: 'smart-cards',
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "30.2.7"
18
+ packageVersion: "30.3.0"
19
19
  };
20
20
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
21
21
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,12 +1,11 @@
1
1
  import React from 'react';
2
2
  import { defineMessages, useIntl } from 'react-intl-next';
3
3
  import Heading from '@atlaskit/heading';
4
- import Icon from '@atlaskit/icon';
4
+ import LegacyManualTriggerIcon from '@atlaskit/legacy-custom-icons/manual-trigger-icon';
5
5
  import { ModalHeader, useModal } from '@atlaskit/modal-dialog';
6
6
  import { Box, Inline, Stack, xcss } from '@atlaskit/primitives';
7
7
  import { G50 } from '@atlaskit/theme/colors';
8
8
  import { useAutomationMenu } from '../../menu-context';
9
- import { ManualTriggerGlyph } from './manual-trigger-icon';
10
9
  var i18n = defineMessages({
11
10
  modalHeaderIconLabel: {
12
11
  id: 'automation-menu.modal.header.icon.label',
@@ -39,9 +38,8 @@ export var AutomationModalHeader = function AutomationModalHeader(_ref) {
39
38
  xcss: iconStyle,
40
39
  paddingInline: "space.050",
41
40
  paddingBlock: "space.025"
42
- }, /*#__PURE__*/React.createElement(Icon, {
41
+ }, /*#__PURE__*/React.createElement(LegacyManualTriggerIcon, {
43
42
  size: "small",
44
- glyph: ManualTriggerGlyph,
45
43
  label: formatMessage(i18n.modalHeaderIconLabel),
46
44
  primaryColor: "var(--ds-icon-accent-green, ".concat(G50, ")")
47
45
  })), /*#__PURE__*/React.createElement(Heading, {
@@ -1,26 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@atlaskit/icon';
4
3
  import GoalGlyph from '@atlaskit/icon/core/goal';
5
- var LegacyGoalGlyph = function LegacyGoalGlyph(_props) {
6
- return /*#__PURE__*/React.createElement("svg", {
7
- xmlns: "http://www.w3.org/2000/svg",
8
- width: "16",
9
- height: "16",
10
- viewBox: "0 0 16 16",
11
- fill: "none"
12
- }, /*#__PURE__*/React.createElement("path", {
13
- fillRule: "evenodd",
14
- clipRule: "evenodd",
15
- d: "M12.6667 8C12.6667 10.5773 10.5773 12.6667 8 12.6667C5.42267 12.6667 3.33333 10.5773 3.33333 8C3.33333 5.42267 5.42267 3.33333 8 3.33333C10.5773 3.33333 12.6667 5.42267 12.6667 8ZM14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8ZM9.33333 8C9.33333 8.73638 8.73638 9.33333 8 9.33333C7.26362 9.33333 6.66667 8.73638 6.66667 8C6.66667 7.26362 7.26362 6.66667 8 6.66667C8.73638 6.66667 9.33333 7.26362 9.33333 8ZM10.6667 8C10.6667 9.47276 9.47276 10.6667 8 10.6667C6.52724 10.6667 5.33333 9.47276 5.33333 8C5.33333 6.52724 6.52724 5.33333 8 5.33333C9.47276 5.33333 10.6667 6.52724 10.6667 8Z",
16
- fill: "var(--ds-icon, #44546F)"
17
- }));
18
- };
19
- var LegacyGoalIcon = function LegacyGoalIcon(props) {
20
- return /*#__PURE__*/React.createElement(Icon, _extends({
21
- glyph: LegacyGoalGlyph
22
- }, props));
23
- };
4
+ import LegacyGoalIcon from '@atlaskit/legacy-custom-icons/goal-bold-icon';
24
5
  export var GoalIcon = function GoalIcon(props) {
25
6
  return /*#__PURE__*/React.createElement(GoalGlyph, _extends({
26
7
  color: "var(--ds-icon, #44546F)",
@@ -1,30 +1,12 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@atlaskit/icon';
4
3
  import ProjectIcon from '@atlaskit/icon/core/project';
5
- var ProjectsGlyph = function ProjectsGlyph(_props) {
6
- return /*#__PURE__*/React.createElement("svg", {
7
- xmlns: "http://www.w3.org/2000/svg",
8
- width: "16",
9
- height: "16",
10
- viewBox: "0 0 16 16",
11
- fill: "none"
12
- }, /*#__PURE__*/React.createElement("path", {
13
- fillRule: "evenodd",
14
- clipRule: "evenodd",
15
- d: "M9.88573 4.00002C9.70892 4.00002 9.53935 4.07026 9.41433 4.19528L6.97282 6.63678L4.20525 6.94429C4.05479 6.96101 3.91451 7.02844 3.80746 7.13548L3.60959 7.33335L4.35367 8.07743C4.6791 8.40287 4.6791 8.93051 4.35367 9.25594L3.47152 10.1381C3.21117 10.3984 2.78906 10.3984 2.52871 10.1381C2.26836 9.87774 2.26836 9.45563 2.52871 9.19528L3.0573 8.66669L2.43108 8.04046C2.04055 7.64993 2.04055 7.01677 2.43108 6.62625L2.86465 6.19267C3.18578 5.87154 3.60664 5.66927 4.05801 5.61911L6.36073 5.36326L8.47152 3.25247C8.84659 2.8774 9.3553 2.66669 9.88573 2.66669H12.0001C12.7365 2.66669 13.3334 3.26364 13.3334 4.00002V6.1144C13.3334 6.64483 13.1227 7.15354 12.7477 7.52862L10.6369 9.6394L10.381 11.9421C10.3309 12.3935 10.1286 12.8143 9.80746 13.1355L9.37389 13.5691C8.98336 13.9596 8.3502 13.9596 7.95967 13.5691L7.33345 12.9428L6.80485 13.4714C6.5445 13.7318 6.12239 13.7318 5.86204 13.4714C5.60169 13.2111 5.60169 12.789 5.86204 12.5286L6.74419 11.6465C7.06963 11.321 7.59726 11.321 7.9227 11.6465L8.66678 12.3905L8.86466 12.1927C8.9717 12.0856 9.03912 11.9453 9.05584 11.7949L9.36335 9.02731L11.8049 6.58581C11.9299 6.46078 12.0001 6.29121 12.0001 6.1144V4.00002H9.88573ZM5.80486 10.1953C6.06521 10.4556 6.06521 10.8777 5.80486 11.1381L3.80486 13.1381C3.54451 13.3984 3.1224 13.3984 2.86205 13.1381C2.6017 12.8777 2.6017 12.4556 2.86205 12.1953L4.86205 10.1953C5.1224 9.93493 5.54451 9.93493 5.80486 10.1953ZM10.0001 6.66669C10.3683 6.66669 10.6668 6.36821 10.6668 6.00002C10.6668 5.63183 10.3683 5.33335 10.0001 5.33335C9.63193 5.33335 9.33346 5.63183 9.33346 6.00002C9.33346 6.36821 9.63193 6.66669 10.0001 6.66669Z",
16
- fill: "var(--ds-icon, #44546F)"
17
- }));
18
- };
19
- var LegacyProjectsIcon = function LegacyProjectsIcon(props) {
20
- return /*#__PURE__*/React.createElement(Icon, _extends({
21
- glyph: ProjectsGlyph
22
- }, props));
23
- };
4
+ import LegacyProjectsIcon from '@atlaskit/legacy-custom-icons/project-icon';
24
5
  export var ProjectsIcon = function ProjectsIcon(props) {
25
6
  return /*#__PURE__*/React.createElement(ProjectIcon, _extends({
26
7
  color: "var(--ds-icon, #44546F)",
27
8
  LEGACY_fallbackIcon: LegacyProjectsIcon,
9
+ LEGACY_margin: "10px",
28
10
  spacing: "spacious"
29
11
  }, props));
30
12
  };
@@ -1,34 +1,10 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@atlaskit/icon';
4
- var UnfollowGlyph = function UnfollowGlyph(props) {
5
- return /*#__PURE__*/React.createElement("svg", {
6
- width: "16",
7
- height: "16",
8
- viewBox: "0 0 16 16",
9
- "data-testid": props['data-testid'],
10
- "aria-label": props['aria-label']
11
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
12
- ,
13
- className: props.className,
14
- role: "presentation",
15
- xmlns: "http://www.w3.org/2000/svg"
16
- }, /*#__PURE__*/React.createElement("path", {
17
- d: "M14 4.66667H11.3333C10.9652 4.66667 10.6667 4.96514 10.6667 5.33333C10.6667 5.70152 10.9652 6 11.3333 6H14C14.3682 6 14.6667 5.70152 14.6667 5.33333C14.6667 4.96514 14.3682 4.66667 14 4.66667Z",
18
- fill: "currentColor"
19
- }), /*#__PURE__*/React.createElement("path", {
20
- fillRule: "evenodd",
21
- clipRule: "evenodd",
22
- d: "M3.33334 9.33333C3.33334 8.59667 3.93468 8 4.67268 8H9.99401C10.734 8 11.3333 8.596 11.3333 9.33733V12.2973C11.3333 14.5673 3.33334 14.5673 3.33334 12.2973V9.33333Z",
23
- fill: "currentColor"
24
- }), /*#__PURE__*/React.createElement("path", {
25
- d: "M7.33334 7.33333C8.8061 7.33333 10 6.13943 10 4.66667C10 3.19391 8.8061 2 7.33334 2C5.86058 2 4.66668 3.19391 4.66668 4.66667C4.66668 6.13943 5.86058 7.33333 7.33334 7.33333Z",
26
- fill: "currentColor"
27
- }));
28
- };
3
+ import PersonRemoveIcon from '@atlaskit/icon/core/person-remove';
4
+ import LegacyUnfollowIcon from '@atlaskit/legacy-custom-icons/unfollow-icon';
29
5
  var UnfollowIcon = function UnfollowIcon(props) {
30
- return /*#__PURE__*/React.createElement(Icon, _extends({
31
- glyph: UnfollowGlyph
6
+ return /*#__PURE__*/React.createElement(PersonRemoveIcon, _extends({
7
+ LEGACY_fallbackIcon: LegacyUnfollowIcon
32
8
  }, props));
33
9
  };
34
10
  export default UnfollowIcon;
@@ -1,27 +1,10 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@atlaskit/icon';
4
- var CustomGlyph = function CustomGlyph(props) {
5
- return /*#__PURE__*/React.createElement("svg", _extends({
6
- width: "16",
7
- height: "16",
8
- viewBox: "0 0 16 16",
9
- fill: "none"
10
- }, props), /*#__PURE__*/React.createElement("path", {
11
- d: "M7 5C7 5.55228 7.44772 6 8 6C8.55228 6 9 5.55228 9 5C9 4.44772 8.55228 4 8 4C7.44772 4 7 4.44772 7 5Z",
12
- fill: "currentColor"
13
- }), /*#__PURE__*/React.createElement("path", {
14
- d: "M7.25 7L7.25 12H8.75L8.75 7H7.25Z",
15
- fill: "currentColor"
16
- }), /*#__PURE__*/React.createElement("path", {
17
- fillRule: "evenodd",
18
- clipRule: "evenodd",
19
- d: "M8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1ZM2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5C4.96243 2.5 2.5 4.96243 2.5 8Z",
20
- fill: "currentColor"
21
- }));
22
- };
3
+ import InformationIcon from '@atlaskit/icon/core/information';
4
+ import LegacyInfoIcon from '@atlaskit/legacy-custom-icons/info-icon';
23
5
  export var InfoIcon = function InfoIcon(props) {
24
- return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
25
- glyph: CustomGlyph
26
- }));
6
+ return /*#__PURE__*/React.createElement(InformationIcon, _extends({
7
+ color: props.color || 'currentColor',
8
+ LEGACY_fallbackIcon: LegacyInfoIcon
9
+ }, props));
27
10
  };
@@ -27,8 +27,8 @@ export var AIFooterMetadata = function AIFooterMetadata(_ref) {
27
27
  }, function (tooltipProps) {
28
28
  return /*#__PURE__*/React.createElement(Box, tooltipProps, /*#__PURE__*/React.createElement(InfoIcon, {
29
29
  label: "Information",
30
- size: "small",
31
- primaryColor: "var(--ds-icon-subtle, #626F86)"
30
+ LEGACY_size: "small",
31
+ color: "var(--ds-icon-subtle, #626F86)"
32
32
  }));
33
33
  }), /*#__PURE__*/React.createElement(AIIcon, {
34
34
  label: "AI",
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
10
10
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
11
11
  var PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "30.2.7",
13
+ packageVersion: "30.3.0",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  var Link = withLinkClickedEvent('a');
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { type IconProps } from '@atlaskit/icon';
3
- export declare const InfoIcon: (props: Omit<IconProps, 'glyph'>) => JSX.Element;
2
+ import { type UNSAFE_NewCoreIconProps } from '@atlaskit/icon';
3
+ export declare const InfoIcon: (props: UNSAFE_NewCoreIconProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { type IconProps } from '@atlaskit/icon';
3
- export declare const InfoIcon: (props: Omit<IconProps, 'glyph'>) => JSX.Element;
2
+ import { type UNSAFE_NewCoreIconProps } from '@atlaskit/icon';
3
+ export declare const InfoIcon: (props: UNSAFE_NewCoreIconProps) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "30.2.7",
3
+ "version": "30.3.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,11 +35,12 @@
35
35
  "@atlaskit/dropdown-menu": "^12.22.0",
36
36
  "@atlaskit/form": "^10.5.0",
37
37
  "@atlaskit/frontend-utilities": "^2.7.0",
38
- "@atlaskit/heading": "^3.0.0",
38
+ "@atlaskit/heading": "^3.1.0",
39
39
  "@atlaskit/icon": "^22.24.0",
40
40
  "@atlaskit/icon-file-type": "^6.7.0",
41
41
  "@atlaskit/icon-object": "^6.7.0",
42
42
  "@atlaskit/icon-priority": "^6.3.0",
43
+ "@atlaskit/legacy-custom-icons": "^0.16.0",
43
44
  "@atlaskit/link-analytics": "^8.5.0",
44
45
  "@atlaskit/link-client-extension": "^2.4.0",
45
46
  "@atlaskit/link-extractors": "^1.9.0",
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = exports.ManualTriggerGlyph = void 0;
8
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
- var _react = _interopRequireDefault(require("react"));
10
- var ManualTriggerGlyph = exports.ManualTriggerGlyph = function ManualTriggerGlyph(props) {
11
- return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, props, {
12
- width: 24,
13
- viewBox: "0 0 24 24"
14
- }), /*#__PURE__*/_react.default.createElement("path", {
15
- d: "m21.192 19.778-4.9498-4.9498c-0.3905-0.3905-1.0237-0.3905-1.4142 0-0.3905 0.3906-0.3905 1.0237 0 1.4143l4.9498 4.9497c0.3905 0.3905 1.0237 0.3905 1.4142 0s0.3905-1.0237 0-1.4142z",
16
- fill: "currentColor"
17
- }), /*#__PURE__*/_react.default.createElement("path", {
18
- d: "m8.7738 8.1319 11.685 4.305c0.2591 0.0955 0.3917 0.3829 0.2963 0.6421-0.025 0.0679-0.0645 0.1295-0.1156 0.1807l-7.3802 7.3801c-0.1952 0.1953-0.5118 0.1953-0.7071 0-0.0511-0.0512-0.0906-0.1128-0.1156-0.1807l-4.3051-11.685c-0.09546-0.25911 0.03721-0.54656 0.29632-0.64202 0.11157-0.0411 0.23414-0.0411 0.34571 0z",
19
- clipRule: "evenodd",
20
- fill: "currentColor",
21
- fillRule: "evenodd"
22
- }), /*#__PURE__*/_react.default.createElement("path", {
23
- d: "m4.2218 4.2218c1.9526-1.9526 5.1184-1.9526 7.0711 0 0.5977 0.59776 1.0125 1.3092 1.2443 2.0648 0.1974 0.6437-0.4389 1.1502-1.0873 0.96899l-0.2172-0.06069c-0.3475-0.09709-0.6037-0.38008-0.7563-0.70702-0.1439-0.30836-0.3432-0.59728-0.59773-0.85184-1.1716-1.1716-3.0711-1.1716-4.2426 0-1.1716 1.1716-1.1716 3.0711 0 4.2426 0.2547 0.25469 0.54381 0.45399 0.85236 0.59799 0.32725 0.1527 0.61051 0.4091 0.70752 0.7569l0.06045 0.2168c0.18082 0.6483-0.32561 1.2843-0.96914 1.087-0.75578-0.2317-1.4675-0.6466-2.0654-1.2445-1.9526-1.9526-1.9526-5.1184 0-7.071z",
24
- clipRule: "evenodd",
25
- fill: "currentColor",
26
- fillRule: "evenodd"
27
- }));
28
- };
29
- var _default = exports.default = ManualTriggerGlyph;
@@ -1,20 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
- export const ManualTriggerGlyph = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
4
- width: 24,
5
- viewBox: "0 0 24 24"
6
- }), /*#__PURE__*/React.createElement("path", {
7
- d: "m21.192 19.778-4.9498-4.9498c-0.3905-0.3905-1.0237-0.3905-1.4142 0-0.3905 0.3906-0.3905 1.0237 0 1.4143l4.9498 4.9497c0.3905 0.3905 1.0237 0.3905 1.4142 0s0.3905-1.0237 0-1.4142z",
8
- fill: "currentColor"
9
- }), /*#__PURE__*/React.createElement("path", {
10
- d: "m8.7738 8.1319 11.685 4.305c0.2591 0.0955 0.3917 0.3829 0.2963 0.6421-0.025 0.0679-0.0645 0.1295-0.1156 0.1807l-7.3802 7.3801c-0.1952 0.1953-0.5118 0.1953-0.7071 0-0.0511-0.0512-0.0906-0.1128-0.1156-0.1807l-4.3051-11.685c-0.09546-0.25911 0.03721-0.54656 0.29632-0.64202 0.11157-0.0411 0.23414-0.0411 0.34571 0z",
11
- clipRule: "evenodd",
12
- fill: "currentColor",
13
- fillRule: "evenodd"
14
- }), /*#__PURE__*/React.createElement("path", {
15
- d: "m4.2218 4.2218c1.9526-1.9526 5.1184-1.9526 7.0711 0 0.5977 0.59776 1.0125 1.3092 1.2443 2.0648 0.1974 0.6437-0.4389 1.1502-1.0873 0.96899l-0.2172-0.06069c-0.3475-0.09709-0.6037-0.38008-0.7563-0.70702-0.1439-0.30836-0.3432-0.59728-0.59773-0.85184-1.1716-1.1716-3.0711-1.1716-4.2426 0-1.1716 1.1716-1.1716 3.0711 0 4.2426 0.2547 0.25469 0.54381 0.45399 0.85236 0.59799 0.32725 0.1527 0.61051 0.4091 0.70752 0.7569l0.06045 0.2168c0.18082 0.6483-0.32561 1.2843-0.96914 1.087-0.75578-0.2317-1.4675-0.6466-2.0654-1.2445-1.9526-1.9526-1.9526-5.1184 0-7.071z",
16
- clipRule: "evenodd",
17
- fill: "currentColor",
18
- fillRule: "evenodd"
19
- }));
20
- export default ManualTriggerGlyph;
@@ -1,22 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
- export var ManualTriggerGlyph = function ManualTriggerGlyph(props) {
4
- return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
5
- width: 24,
6
- viewBox: "0 0 24 24"
7
- }), /*#__PURE__*/React.createElement("path", {
8
- d: "m21.192 19.778-4.9498-4.9498c-0.3905-0.3905-1.0237-0.3905-1.4142 0-0.3905 0.3906-0.3905 1.0237 0 1.4143l4.9498 4.9497c0.3905 0.3905 1.0237 0.3905 1.4142 0s0.3905-1.0237 0-1.4142z",
9
- fill: "currentColor"
10
- }), /*#__PURE__*/React.createElement("path", {
11
- d: "m8.7738 8.1319 11.685 4.305c0.2591 0.0955 0.3917 0.3829 0.2963 0.6421-0.025 0.0679-0.0645 0.1295-0.1156 0.1807l-7.3802 7.3801c-0.1952 0.1953-0.5118 0.1953-0.7071 0-0.0511-0.0512-0.0906-0.1128-0.1156-0.1807l-4.3051-11.685c-0.09546-0.25911 0.03721-0.54656 0.29632-0.64202 0.11157-0.0411 0.23414-0.0411 0.34571 0z",
12
- clipRule: "evenodd",
13
- fill: "currentColor",
14
- fillRule: "evenodd"
15
- }), /*#__PURE__*/React.createElement("path", {
16
- d: "m4.2218 4.2218c1.9526-1.9526 5.1184-1.9526 7.0711 0 0.5977 0.59776 1.0125 1.3092 1.2443 2.0648 0.1974 0.6437-0.4389 1.1502-1.0873 0.96899l-0.2172-0.06069c-0.3475-0.09709-0.6037-0.38008-0.7563-0.70702-0.1439-0.30836-0.3432-0.59728-0.59773-0.85184-1.1716-1.1716-3.0711-1.1716-4.2426 0-1.1716 1.1716-1.1716 3.0711 0 4.2426 0.2547 0.25469 0.54381 0.45399 0.85236 0.59799 0.32725 0.1527 0.61051 0.4091 0.70752 0.7569l0.06045 0.2168c0.18082 0.6483-0.32561 1.2843-0.96914 1.087-0.75578-0.2317-1.4675-0.6466-2.0654-1.2445-1.9526-1.9526-1.9526-5.1184 0-7.071z",
17
- clipRule: "evenodd",
18
- fill: "currentColor",
19
- fillRule: "evenodd"
20
- }));
21
- };
22
- export default ManualTriggerGlyph;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ManualTriggerGlyph: (props: any) => JSX.Element;
3
- export default ManualTriggerGlyph;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ManualTriggerGlyph: (props: any) => JSX.Element;
3
- export default ManualTriggerGlyph;