@atlaskit/smart-card 35.1.7 → 35.2.1

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,26 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 35.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#123000](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/123000)
8
+ [`3caca201fd851`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3caca201fd851) -
9
+ [ux] Update embed card title to truncate
10
+ - Updated dependencies
11
+
12
+ ## 35.2.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#121758](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/121758)
17
+ [`55938165e3b61`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/55938165e3b61) -
18
+ [ux] Reverting change to icon button appearance for ff 'platform-linking-visual-refresh-v1'
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies
23
+
3
24
  ## 35.1.7
4
25
 
5
26
  ### Patch 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: "35.1.7"
14
+ packageVersion: "35.2.1"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -17,7 +17,9 @@
17
17
  ._19doidpf:after{left:0}
18
18
  ._1bqqidpf:after{z-index:0}
19
19
  ._1bsb7vkz{width:1pc}
20
+ ._1bto1l2s{text-overflow:ellipsis}
20
21
  ._1e0c1txw{display:flex}
22
+ ._1e0c1ule{display:block}
21
23
  ._1hfk1j28:after{background-color:transparent}
22
24
  ._1hfkhp5a:after{background-color:var(--ds-surface-raised,#fff)}
23
25
  ._1ifiidpf .embed-header{opacity:0}
@@ -40,6 +42,7 @@
40
42
  ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
41
43
  ._kqswh2mm{position:relative}
42
44
  ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
45
+ ._o5721q9c{white-space:nowrap}
43
46
  ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
44
47
  ._u94kidpf:after{flex-grow:0}
45
48
  ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
@@ -176,10 +176,10 @@ var styles = {
176
176
  linkWrapperSelected: "_8x3u92p9",
177
177
  linkWrapperBorderAndBackground: "_1tqzzgxb _1hfkhp5a _1ifikb7n",
178
178
  linkWrapperInteractiveNotHidden: "_hcgvzgxb _4tpuhp5a _x148kb7n",
179
- header: "_zulp1b66 _1e0c1txw _4cvr1h6o _4t3igktf _1pbykb7n",
179
+ header: "_11c8140y _zulp1b66 _1e0c1txw _4cvr1h6o _4t3igktf _1pbykb7n",
180
180
  tooltipWrapper: "_1reo15vq _18m915vq",
181
- headerAnchor: "_11c8140y _9oik1r31 _1bnxglyw _jf4cnqa1",
182
- headerIcon: "_1bsb7vkz _4t3i7vkz",
181
+ headerAnchor: "_11c8140y _1reo15vq _18m915vq _1e0c1ule _1bto1l2s _o5721q9c _9oik1r31 _1bnxglyw _jf4cnqa1",
182
+ headerIcon: "_11c8140y _1bsb7vkz _4t3i7vkz",
183
183
  contentStyle: "_19it1pvm _2rko1y44 _1reo15vq _18m915vq _v56414au _bfhkhp5a _16jlkb7n _4t3i1osq _1pbykb7n",
184
184
  contentInteractiveActiveBorder: "_1jhm1ips",
185
185
  contentOverflowAuto: "_1reo1wug _18m91wug"
@@ -93,13 +93,11 @@ var TitleBlockNew = function TitleBlockNew(_ref) {
93
93
  });
94
94
  }
95
95
  }, [onActionMenuOpenChange]);
96
- var actionGroup = actions.length > 0 && /*#__PURE__*/React.createElement(_actionGroup.default, (0, _extends2.default)({}, (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && {
97
- appearance: 'default'
98
- }, {
96
+ var actionGroup = actions.length > 0 && /*#__PURE__*/React.createElement(_actionGroup.default, {
99
97
  items: actions,
100
98
  visibleButtonsNum: showActionOnHover ? 1 : 2,
101
99
  onDropdownOpenChange: onDropdownOpenChange
102
- }));
100
+ });
103
101
  var overrideText = !!text ? {
104
102
  text: text
105
103
  } : {};
@@ -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: "35.1.7",
23
+ packageVersion: "35.2.1",
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: "35.1.7"
5
+ packageVersion: "35.2.1"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -17,7 +17,9 @@
17
17
  ._19doidpf:after{left:0}
18
18
  ._1bqqidpf:after{z-index:0}
19
19
  ._1bsb7vkz{width:1pc}
20
+ ._1bto1l2s{text-overflow:ellipsis}
20
21
  ._1e0c1txw{display:flex}
22
+ ._1e0c1ule{display:block}
21
23
  ._1hfk1j28:after{background-color:transparent}
22
24
  ._1hfkhp5a:after{background-color:var(--ds-surface-raised,#fff)}
23
25
  ._1ifiidpf .embed-header{opacity:0}
@@ -40,6 +42,7 @@
40
42
  ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
41
43
  ._kqswh2mm{position:relative}
42
44
  ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
45
+ ._o5721q9c{white-space:nowrap}
43
46
  ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
44
47
  ._u94kidpf:after{flex-grow:0}
45
48
  ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
@@ -158,10 +158,10 @@ const styles = {
158
158
  linkWrapperSelected: "_8x3u92p9",
159
159
  linkWrapperBorderAndBackground: "_1tqzzgxb _1hfkhp5a _1ifikb7n",
160
160
  linkWrapperInteractiveNotHidden: "_hcgvzgxb _4tpuhp5a _x148kb7n",
161
- header: "_zulp1b66 _1e0c1txw _4cvr1h6o _4t3igktf _1pbykb7n",
161
+ header: "_11c8140y _zulp1b66 _1e0c1txw _4cvr1h6o _4t3igktf _1pbykb7n",
162
162
  tooltipWrapper: "_1reo15vq _18m915vq",
163
- headerAnchor: "_11c8140y _9oik1r31 _1bnxglyw _jf4cnqa1",
164
- headerIcon: "_1bsb7vkz _4t3i7vkz",
163
+ headerAnchor: "_11c8140y _1reo15vq _18m915vq _1e0c1ule _1bto1l2s _o5721q9c _9oik1r31 _1bnxglyw _jf4cnqa1",
164
+ headerIcon: "_11c8140y _1bsb7vkz _4t3i7vkz",
165
165
  contentStyle: "_19it1pvm _2rko1y44 _1reo15vq _18m915vq _v56414au _bfhkhp5a _16jlkb7n _4t3i1osq _1pbykb7n",
166
166
  contentInteractiveActiveBorder: "_1jhm1ips",
167
167
  contentOverflowAuto: "_1reo1wug _18m91wug"
@@ -74,13 +74,11 @@ const TitleBlockNew = ({
74
74
  });
75
75
  }
76
76
  }, [onActionMenuOpenChange]);
77
- const actionGroup = actions.length > 0 && /*#__PURE__*/React.createElement(ActionGroup, _extends({}, fg('platform-linking-visual-refresh-v1') && {
78
- appearance: 'default'
79
- }, {
77
+ const actionGroup = actions.length > 0 && /*#__PURE__*/React.createElement(ActionGroup, {
80
78
  items: actions,
81
79
  visibleButtonsNum: showActionOnHover ? 1 : 2,
82
80
  onDropdownOpenChange: onDropdownOpenChange
83
- }));
81
+ });
84
82
  const overrideText = !!text ? {
85
83
  text
86
84
  } : {};
@@ -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: "35.1.7",
13
+ packageVersion: "35.2.1",
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: "35.1.7"
7
+ packageVersion: "35.2.1"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -17,7 +17,9 @@
17
17
  ._19doidpf:after{left:0}
18
18
  ._1bqqidpf:after{z-index:0}
19
19
  ._1bsb7vkz{width:1pc}
20
+ ._1bto1l2s{text-overflow:ellipsis}
20
21
  ._1e0c1txw{display:flex}
22
+ ._1e0c1ule{display:block}
21
23
  ._1hfk1j28:after{background-color:transparent}
22
24
  ._1hfkhp5a:after{background-color:var(--ds-surface-raised,#fff)}
23
25
  ._1ifiidpf .embed-header{opacity:0}
@@ -40,6 +42,7 @@
40
42
  ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
41
43
  ._kqswh2mm{position:relative}
42
44
  ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
45
+ ._o5721q9c{white-space:nowrap}
43
46
  ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
44
47
  ._u94kidpf:after{flex-grow:0}
45
48
  ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
@@ -166,10 +166,10 @@ var styles = {
166
166
  linkWrapperSelected: "_8x3u92p9",
167
167
  linkWrapperBorderAndBackground: "_1tqzzgxb _1hfkhp5a _1ifikb7n",
168
168
  linkWrapperInteractiveNotHidden: "_hcgvzgxb _4tpuhp5a _x148kb7n",
169
- header: "_zulp1b66 _1e0c1txw _4cvr1h6o _4t3igktf _1pbykb7n",
169
+ header: "_11c8140y _zulp1b66 _1e0c1txw _4cvr1h6o _4t3igktf _1pbykb7n",
170
170
  tooltipWrapper: "_1reo15vq _18m915vq",
171
- headerAnchor: "_11c8140y _9oik1r31 _1bnxglyw _jf4cnqa1",
172
- headerIcon: "_1bsb7vkz _4t3i7vkz",
171
+ headerAnchor: "_11c8140y _1reo15vq _18m915vq _1e0c1ule _1bto1l2s _o5721q9c _9oik1r31 _1bnxglyw _jf4cnqa1",
172
+ headerIcon: "_11c8140y _1bsb7vkz _4t3i7vkz",
173
173
  contentStyle: "_19it1pvm _2rko1y44 _1reo15vq _18m915vq _v56414au _bfhkhp5a _16jlkb7n _4t3i1osq _1pbykb7n",
174
174
  contentInteractiveActiveBorder: "_1jhm1ips",
175
175
  contentOverflowAuto: "_1reo1wug _18m91wug"
@@ -83,13 +83,11 @@ var TitleBlockNew = function TitleBlockNew(_ref) {
83
83
  });
84
84
  }
85
85
  }, [onActionMenuOpenChange]);
86
- var actionGroup = actions.length > 0 && /*#__PURE__*/React.createElement(ActionGroup, _extends({}, fg('platform-linking-visual-refresh-v1') && {
87
- appearance: 'default'
88
- }, {
86
+ var actionGroup = actions.length > 0 && /*#__PURE__*/React.createElement(ActionGroup, {
89
87
  items: actions,
90
88
  visibleButtonsNum: showActionOnHover ? 1 : 2,
91
89
  onDropdownOpenChange: onDropdownOpenChange
92
- }));
90
+ });
93
91
  var overrideText = !!text ? {
94
92
  text: text
95
93
  } : {};
@@ -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: "35.1.7",
16
+ packageVersion: "35.2.1",
17
17
  componentName: 'linkUrl'
18
18
  };
19
19
  var Anchor = withLinkClickedEvent('a');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "35.1.7",
3
+ "version": "35.2.1",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -52,19 +52,19 @@
52
52
  "@atlaskit/linking-common": "^8.0.0",
53
53
  "@atlaskit/linking-types": "^9.6.0",
54
54
  "@atlaskit/logo": "^16.0.0",
55
- "@atlaskit/lozenge": "^12.1.0",
55
+ "@atlaskit/lozenge": "^12.2.0",
56
56
  "@atlaskit/menu": "^3.1.0",
57
57
  "@atlaskit/modal-dialog": "^13.0.0",
58
58
  "@atlaskit/outbound-auth-flow-client": "^3.4.0",
59
59
  "@atlaskit/platform-feature-flags": "^1.1.0",
60
60
  "@atlaskit/popup": "^2.0.0",
61
61
  "@atlaskit/primitives": "^14.1.0",
62
- "@atlaskit/section-message": "^8.0.0",
62
+ "@atlaskit/section-message": "^8.1.0",
63
63
  "@atlaskit/select": "^20.0.0",
64
64
  "@atlaskit/spinner": "^18.0.0",
65
65
  "@atlaskit/textarea": "^8.0.0",
66
66
  "@atlaskit/textfield": "^8.0.0",
67
- "@atlaskit/theme": "^17.0.0",
67
+ "@atlaskit/theme": "^18.0.0",
68
68
  "@atlaskit/tokens": "^4.3.0",
69
69
  "@atlaskit/tooltip": "^20.0.0",
70
70
  "@atlaskit/ufo": "^0.4.0",