@atlaskit/smart-card 32.7.6 → 32.7.7

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 (55) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/extractors/flexible/actions/index.js +5 -7
  3. package/dist/cjs/state/hooks/use-ai-summary/ai-summary-service/index.js +1 -2
  4. package/dist/cjs/state/hooks/use-ai-summary/ai-summary-service/types.js +4 -5
  5. package/dist/cjs/utils/analytics/analytics.js +4 -6
  6. package/dist/cjs/utils/mocks.js +5 -7
  7. package/dist/cjs/view/BlockCard/views/styled.js +1 -1
  8. package/dist/cjs/view/Card/index.js +5 -7
  9. package/dist/cjs/view/EmbedCard/EmbedResizeMessageListener.js +7 -10
  10. package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/index.js +1 -1
  11. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +10 -12
  12. package/dist/cjs/view/FlexibleCard/components/blocks/utils.js +1 -1
  13. package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +61 -61
  14. package/dist/cjs/view/FlexibleCard/components/elements/badge/index.js +1 -1
  15. package/dist/cjs/view/FlexibleCard/components/elements/utils.js +34 -34
  16. package/dist/cjs/view/FlexibleCard/components/utils.js +5 -5
  17. package/dist/cjs/view/HoverCard/styled.js +1 -1
  18. package/dist/cjs/view/InlineCard/ErroredView/index.js +8 -11
  19. package/dist/cjs/view/InlineCard/ForbiddenView/index.js +10 -13
  20. package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +7 -10
  21. package/dist/cjs/view/InlineCard/ResolvedView/index.js +5 -7
  22. package/dist/cjs/view/InlineCard/ResolvingView/index.js +5 -7
  23. package/dist/cjs/view/LinkUrl/index.js +1 -1
  24. package/dist/cjs/view/LinkView/index.js +5 -7
  25. package/dist/es2019/utils/analytics/analytics.js +1 -1
  26. package/dist/es2019/view/BlockCard/views/styled.js +1 -1
  27. package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.js +1 -1
  28. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +3 -3
  29. package/dist/es2019/view/FlexibleCard/components/utils.js +3 -3
  30. package/dist/es2019/view/HoverCard/styled.js +1 -1
  31. package/dist/es2019/view/LinkUrl/index.js +1 -1
  32. package/dist/esm/extractors/flexible/actions/index.js +5 -7
  33. package/dist/esm/state/hooks/use-ai-summary/ai-summary-service/index.js +1 -2
  34. package/dist/esm/state/hooks/use-ai-summary/ai-summary-service/types.js +4 -5
  35. package/dist/esm/utils/analytics/analytics.js +4 -6
  36. package/dist/esm/utils/mocks.js +5 -7
  37. package/dist/esm/view/BlockCard/views/styled.js +1 -1
  38. package/dist/esm/view/Card/index.js +5 -7
  39. package/dist/esm/view/EmbedCard/EmbedResizeMessageListener.js +7 -10
  40. package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.js +1 -1
  41. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +10 -12
  42. package/dist/esm/view/FlexibleCard/components/blocks/utils.js +1 -1
  43. package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +61 -61
  44. package/dist/esm/view/FlexibleCard/components/elements/badge/index.js +1 -1
  45. package/dist/esm/view/FlexibleCard/components/elements/utils.js +34 -34
  46. package/dist/esm/view/FlexibleCard/components/utils.js +5 -5
  47. package/dist/esm/view/HoverCard/styled.js +1 -1
  48. package/dist/esm/view/InlineCard/ErroredView/index.js +8 -11
  49. package/dist/esm/view/InlineCard/ForbiddenView/index.js +10 -13
  50. package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +7 -10
  51. package/dist/esm/view/InlineCard/ResolvedView/index.js +5 -7
  52. package/dist/esm/view/InlineCard/ResolvingView/index.js +5 -7
  53. package/dist/esm/view/LinkUrl/index.js +1 -1
  54. package/dist/esm/view/LinkView/index.js +5 -7
  55. package/package.json +1 -1
@@ -18,151 +18,151 @@ var _importIconMapper;
18
18
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
19
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != (0, _typeof2.default)(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
20
  // prettier-ignore
21
- var importIconMapper = (_importIconMapper = {}, (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Archive, function () {
21
+ var importIconMapper = (_importIconMapper = {}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Archive, function () {
22
22
  return Promise.resolve().then(function () {
23
23
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphArchive" */'@atlaskit/icon-file-type/glyph/archive/16'));
24
24
  });
25
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Audio, function () {
25
+ }), _constants.IconType.Audio, function () {
26
26
  return Promise.resolve().then(function () {
27
27
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphAudio" */'@atlaskit/icon-file-type/glyph/audio/16'));
28
28
  });
29
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Code, function () {
29
+ }), _constants.IconType.Code, function () {
30
30
  return Promise.resolve().then(function () {
31
31
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphCode" */'@atlaskit/icon-file-type/glyph/source-code/16'));
32
32
  });
33
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Executable, function () {
33
+ }), _constants.IconType.Executable, function () {
34
34
  return Promise.resolve().then(function () {
35
35
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphExecutable" */'@atlaskit/icon-file-type/glyph/executable/16'));
36
36
  });
37
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.File, function () {
37
+ }), _constants.IconType.File, function () {
38
38
  return Promise.resolve().then(function () {
39
39
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphFile" */'@atlaskit/icon-file-type/glyph/generic/16'));
40
40
  });
41
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Folder, function () {
41
+ }), _constants.IconType.Folder, function () {
42
42
  return Promise.resolve().then(function () {
43
43
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphFolder" */'@atlaskit/icon-file-type/glyph/folder/16'));
44
44
  });
45
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Generic, function () {
45
+ }), _constants.IconType.Generic, function () {
46
46
  return Promise.resolve().then(function () {
47
47
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphGeneric" */'@atlaskit/icon-file-type/glyph/generic/16'));
48
48
  });
49
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.GIF, function () {
49
+ }), _constants.IconType.GIF, function () {
50
50
  return Promise.resolve().then(function () {
51
51
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphGIF" */'@atlaskit/icon-file-type/glyph/gif/16'));
52
52
  });
53
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.GoogleDocs, function () {
53
+ }), _constants.IconType.GoogleDocs, function () {
54
54
  return Promise.resolve().then(function () {
55
55
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphGoogleDocs" */'@atlaskit/icon-file-type/glyph/google-doc/16'));
56
56
  });
57
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.GoogleForms, function () {
57
+ }), _constants.IconType.GoogleForms, function () {
58
58
  return Promise.resolve().then(function () {
59
59
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphGoogleForms" */'@atlaskit/icon-file-type/glyph/google-form/16'));
60
60
  });
61
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.GoogleSheets, function () {
61
+ }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_importIconMapper, _constants.IconType.GoogleSheets, function () {
62
62
  return Promise.resolve().then(function () {
63
63
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphGoogleSheets" */'@atlaskit/icon-file-type/glyph/google-sheet/16'));
64
64
  });
65
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.GoogleSlides, function () {
65
+ }), _constants.IconType.GoogleSlides, function () {
66
66
  return Promise.resolve().then(function () {
67
67
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphGoogleSlides" */'@atlaskit/icon-file-type/glyph/google-slide/16'));
68
68
  });
69
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Image, function () {
69
+ }), _constants.IconType.Image, function () {
70
70
  return Promise.resolve().then(function () {
71
71
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphImage" */'@atlaskit/icon-file-type/glyph/image/16'));
72
72
  });
73
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.MSExcel, function () {
73
+ }), _constants.IconType.MSExcel, function () {
74
74
  return Promise.resolve().then(function () {
75
75
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphMSExcel" */'@atlaskit/icon-file-type/glyph/excel-spreadsheet/16'));
76
76
  });
77
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.MSPowerpoint, function () {
77
+ }), _constants.IconType.MSPowerpoint, function () {
78
78
  return Promise.resolve().then(function () {
79
79
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphMSPowerpoint" */'@atlaskit/icon-file-type/glyph/powerpoint-presentation/16'));
80
80
  });
81
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.MSWord, function () {
81
+ }), _constants.IconType.MSWord, function () {
82
82
  return Promise.resolve().then(function () {
83
83
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphMSWord" */'@atlaskit/icon-file-type/glyph/word-document/16'));
84
84
  });
85
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PDF, function () {
85
+ }), _constants.IconType.PDF, function () {
86
86
  return Promise.resolve().then(function () {
87
87
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphPDF" */'@atlaskit/icon-file-type/glyph/pdf-document/16'));
88
88
  });
89
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Presentation, function () {
89
+ }), _constants.IconType.Presentation, function () {
90
90
  return Promise.resolve().then(function () {
91
91
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphPresentation" */'@atlaskit/icon-file-type/glyph/presentation/16'));
92
92
  });
93
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Sketch, function () {
93
+ }), _constants.IconType.Sketch, function () {
94
94
  return Promise.resolve().then(function () {
95
95
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphSketch" */'@atlaskit/icon-file-type/glyph/sketch/16'));
96
96
  });
97
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Spreadsheet, function () {
97
+ }), _constants.IconType.Spreadsheet, function () {
98
98
  return Promise.resolve().then(function () {
99
99
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphSpreadsheet" */'@atlaskit/icon-file-type/glyph/spreadsheet/16'));
100
100
  });
101
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Template, function () {
101
+ }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Template, function () {
102
102
  return Promise.resolve().then(function () {
103
103
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphTemplate" */'@atlaskit/icon/glyph/document-filled'));
104
104
  });
105
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Video, function () {
105
+ }), _constants.IconType.Video, function () {
106
106
  return Promise.resolve().then(function () {
107
107
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphVideo" */'@atlaskit/icon-file-type/glyph/video/16'));
108
108
  });
109
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Branch, function () {
109
+ }), _constants.IconType.Branch, function () {
110
110
  return Promise.resolve().then(function () {
111
111
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphBranch" */'@atlaskit/icon-object/glyph/branch/16'));
112
112
  });
113
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Commit, function () {
113
+ }), _constants.IconType.Commit, function () {
114
114
  return Promise.resolve().then(function () {
115
115
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphCommit" */'@atlaskit/icon-object/glyph/commit/16'));
116
116
  });
117
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Project, function () {
117
+ }), _constants.IconType.Project, function () {
118
118
  return Promise.resolve().then(function () {
119
119
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphProject" */'@atlaskit/icon/glyph/people-group'));
120
120
  });
121
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PullRequest, function () {
121
+ }), _constants.IconType.PullRequest, function () {
122
122
  return Promise.resolve().then(function () {
123
123
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphPullRequest" */'@atlaskit/icon-object/glyph/pull-request/16'));
124
124
  });
125
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Repo, function () {
125
+ }), _constants.IconType.Repo, function () {
126
126
  return Promise.resolve().then(function () {
127
127
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphRepo" */'@atlaskit/icon-object/glyph/code/16'));
128
128
  });
129
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Bug, function () {
129
+ }), _constants.IconType.Bug, function () {
130
130
  return Promise.resolve().then(function () {
131
131
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphBug" */'@atlaskit/icon-object/glyph/bug/16'));
132
132
  });
133
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Change, function () {
133
+ }), _constants.IconType.Change, function () {
134
134
  return Promise.resolve().then(function () {
135
135
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphChange" */'@atlaskit/icon-object/glyph/changes/16'));
136
136
  });
137
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Epic, function () {
137
+ }), _constants.IconType.Epic, function () {
138
138
  return Promise.resolve().then(function () {
139
139
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphEpic" */'@atlaskit/icon-object/glyph/epic/16'));
140
140
  });
141
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Incident, function () {
141
+ }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Incident, function () {
142
142
  return Promise.resolve().then(function () {
143
143
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphIncident" */'@atlaskit/icon-object/glyph/incident/16'));
144
144
  });
145
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Problem, function () {
145
+ }), _constants.IconType.Problem, function () {
146
146
  return Promise.resolve().then(function () {
147
147
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphProblem" */'@atlaskit/icon-object/glyph/problem/16'));
148
148
  });
149
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.ServiceRequest, function () {
149
+ }), _constants.IconType.ServiceRequest, function () {
150
150
  return Promise.resolve().then(function () {
151
151
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphServiceRequest" */'@atlaskit/icon-object/glyph/issue/16'));
152
152
  });
153
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Story, function () {
153
+ }), _constants.IconType.Story, function () {
154
154
  return Promise.resolve().then(function () {
155
155
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphStory" */'@atlaskit/icon-object/glyph/story/16'));
156
156
  });
157
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.SubTask, function () {
157
+ }), _constants.IconType.SubTask, function () {
158
158
  return Promise.resolve().then(function () {
159
159
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphSubTask" */'@atlaskit/icon-object/glyph/subtask/16'));
160
160
  });
161
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Task, function () {
161
+ }), _constants.IconType.Task, function () {
162
162
  return Promise.resolve().then(function () {
163
163
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphTask" */'@atlaskit/icon-object/glyph/task/16'));
164
164
  });
165
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Confluence, function () {
165
+ }), _constants.IconType.Confluence, function () {
166
166
  return Promise.resolve().then(function () {
167
167
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphConfluence" */'@atlaskit/logo/confluence-icon'));
168
168
  }).then(function (_ref) {
@@ -171,7 +171,7 @@ var importIconMapper = (_importIconMapper = {}, (0, _defineProperty2.default)(_i
171
171
  default: ConfluenceIcon
172
172
  };
173
173
  });
174
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Jira, function () {
174
+ }), _constants.IconType.Jira, function () {
175
175
  return Promise.resolve().then(function () {
176
176
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphJira" */'@atlaskit/logo/jira-icon'));
177
177
  }).then(function (_ref2) {
@@ -180,91 +180,91 @@ var importIconMapper = (_importIconMapper = {}, (0, _defineProperty2.default)(_i
180
180
  default: JiraIcon
181
181
  };
182
182
  });
183
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Default, function () {
183
+ }), _constants.IconType.Default, function () {
184
184
  return Promise.resolve().then(function () {
185
185
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphDefault" */'@atlaskit/icon/glyph/link'));
186
186
  });
187
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Error, function () {
187
+ }), _constants.IconType.Error, function () {
188
188
  return Promise.resolve().then(function () {
189
189
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphError" */'@atlaskit/icon/glyph/error'));
190
190
  });
191
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Forbidden, function () {
191
+ }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Forbidden, function () {
192
192
  return Promise.resolve().then(function () {
193
193
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphForbidden" */'@atlaskit/icon/glyph/lock-filled'));
194
194
  });
195
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Attachment, function () {
195
+ }), _constants.IconType.Attachment, function () {
196
196
  return Promise.resolve().then(function () {
197
197
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphAttachment" */'@atlaskit/icon/glyph/attachment'));
198
198
  });
199
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.CheckItem, function () {
199
+ }), _constants.IconType.CheckItem, function () {
200
200
  return Promise.resolve().then(function () {
201
201
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphAttachment" */'@atlaskit/icon/glyph/task'));
202
202
  });
203
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Comment, function () {
203
+ }), _constants.IconType.Comment, function () {
204
204
  return Promise.resolve().then(function () {
205
205
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphComment" */'@atlaskit/icon/glyph/comment'));
206
206
  });
207
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.View, function () {
207
+ }), _constants.IconType.View, function () {
208
208
  return Promise.resolve().then(function () {
209
209
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphComment" */'@atlaskit/icon/glyph/watch'));
210
210
  });
211
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.React, function () {
211
+ }), _constants.IconType.React, function () {
212
212
  return Promise.resolve().then(function () {
213
213
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphComment" */'@atlaskit/icon/glyph/like'));
214
214
  });
215
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Vote, function () {
215
+ }), _constants.IconType.Vote, function () {
216
216
  return Promise.resolve().then(function () {
217
217
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphComment" */'@atlaskit/icon/glyph/arrow-up'));
218
218
  });
219
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityBlocker, function () {
219
+ }), _constants.IconType.PriorityBlocker, function () {
220
220
  return Promise.resolve().then(function () {
221
221
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphBlocker" */'@atlaskit/icon-priority/glyph/priority-blocker'));
222
222
  });
223
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityCritical, function () {
223
+ }), _constants.IconType.PriorityCritical, function () {
224
224
  return Promise.resolve().then(function () {
225
225
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphCritical" */'@atlaskit/icon-priority/glyph/priority-critical'));
226
226
  });
227
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityHigh, function () {
227
+ }), _constants.IconType.PriorityHigh, function () {
228
228
  return Promise.resolve().then(function () {
229
229
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphHigh" */'@atlaskit/icon-priority/glyph/priority-high'));
230
230
  });
231
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityHighest, function () {
231
+ }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityHighest, function () {
232
232
  return Promise.resolve().then(function () {
233
233
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphHighest" */'@atlaskit/icon-priority/glyph/priority-highest'));
234
234
  });
235
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityLow, function () {
235
+ }), _constants.IconType.PriorityLow, function () {
236
236
  return Promise.resolve().then(function () {
237
237
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphLow" */'@atlaskit/icon-priority/glyph/priority-low'));
238
238
  });
239
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityLowest, function () {
239
+ }), _constants.IconType.PriorityLowest, function () {
240
240
  return Promise.resolve().then(function () {
241
241
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphLowest" */'@atlaskit/icon-priority/glyph/priority-lowest'));
242
242
  });
243
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityMajor, function () {
243
+ }), _constants.IconType.PriorityMajor, function () {
244
244
  return Promise.resolve().then(function () {
245
245
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphMajor" */'@atlaskit/icon-priority/glyph/priority-major'));
246
246
  });
247
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityMedium, function () {
247
+ }), _constants.IconType.PriorityMedium, function () {
248
248
  return Promise.resolve().then(function () {
249
249
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphMedium" */'@atlaskit/icon-priority/glyph/priority-medium'));
250
250
  });
251
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityMinor, function () {
251
+ }), _constants.IconType.PriorityMinor, function () {
252
252
  return Promise.resolve().then(function () {
253
253
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphMinor" */'@atlaskit/icon-priority/glyph/priority-minor'));
254
254
  });
255
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityTrivial, function () {
255
+ }), _constants.IconType.PriorityTrivial, function () {
256
256
  return Promise.resolve().then(function () {
257
257
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphTrivial" */'@atlaskit/icon-priority/glyph/priority-trivial'));
258
258
  });
259
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.PriorityUndefined, function () {
259
+ }), _constants.IconType.PriorityUndefined, function () {
260
260
  return Promise.resolve().then(function () {
261
261
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphUndefined" */'@atlaskit/icon/glyph/question'));
262
262
  });
263
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.ProgrammingLanguage, function () {
263
+ }), _constants.IconType.ProgrammingLanguage, function () {
264
264
  return Promise.resolve().then(function () {
265
265
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphProgrammingLanguage" */'@atlaskit/icon/glyph/code'));
266
266
  });
267
- }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.Subscriber, function () {
267
+ }), _constants.IconType.Subscriber, function () {
268
268
  return Promise.resolve().then(function () {
269
269
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphSubscriber" */'@atlaskit/icon/glyph/people'));
270
270
  });
@@ -272,7 +272,7 @@ var importIconMapper = (_importIconMapper = {}, (0, _defineProperty2.default)(_i
272
272
  return Promise.resolve().then(function () {
273
273
  return _interopRequireWildcard(require( /* webpackChunkName: "glyphSubtaskProgress" */'@atlaskit/icon/glyph/subtask'));
274
274
  });
275
- }), _importIconMapper);
275
+ }));
276
276
  var getIconImportFn = function getIconImportFn(icon) {
277
277
  return importIconMapper[icon];
278
278
  };
@@ -35,7 +35,7 @@ var labelStyles = (0, _react2.css)({
35
35
  paddingLeft: "var(--ds-space-025, 0.125rem)",
36
36
  verticalAlign: 'middle'
37
37
  });
38
- var messageMapper = (_messageMapper = {}, (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityBlocker, _messages.messages.priority_blocker), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityCritical, _messages.messages.priority_critical), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityHigh, _messages.messages.priority_high), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityHighest, _messages.messages.priority_highest), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityLow, _messages.messages.priority_low), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityLowest, _messages.messages.priority_lowest), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityMajor, _messages.messages.priority_major), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityMedium, _messages.messages.priority_medium), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityMinor, _messages.messages.priority_minor), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityTrivial, _messages.messages.priority_trivial), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityUndefined, _messages.messages.priority_undefined), _messageMapper);
38
+ var messageMapper = (_messageMapper = {}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityBlocker, _messages.messages.priority_blocker), _constants.IconType.PriorityCritical, _messages.messages.priority_critical), _constants.IconType.PriorityHigh, _messages.messages.priority_high), _constants.IconType.PriorityHighest, _messages.messages.priority_highest), _constants.IconType.PriorityLow, _messages.messages.priority_low), _constants.IconType.PriorityLowest, _messages.messages.priority_lowest), _constants.IconType.PriorityMajor, _messages.messages.priority_major), _constants.IconType.PriorityMedium, _messages.messages.priority_medium), _constants.IconType.PriorityMinor, _messages.messages.priority_minor), _constants.IconType.PriorityTrivial, _messages.messages.priority_trivial), (0, _defineProperty2.default)(_messageMapper, _constants.IconType.PriorityUndefined, _messages.messages.priority_undefined));
39
39
  var getFormattedMessageFromIcon = function getFormattedMessageFromIcon(icon) {
40
40
  if (icon) {
41
41
  var descriptor = messageMapper[icon];
@@ -26,106 +26,106 @@ var _text = _interopRequireDefault(require("./text"));
26
26
  var _elementMappings;
27
27
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
28
28
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof3(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
29
- var elementMappings = (_elementMappings = {}, (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.AttachmentCount, {
29
+ var elementMappings = (_elementMappings = {}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_elementMappings, _constants.ElementName.AttachmentCount, {
30
30
  component: _badge.default,
31
31
  props: {
32
32
  icon: _constants.IconType.Attachment
33
33
  }
34
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.AuthorGroup, {
34
+ }), _constants.ElementName.AuthorGroup, {
35
35
  component: _avatarGroup.default
36
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.ChecklistProgress, {
36
+ }), _constants.ElementName.ChecklistProgress, {
37
37
  component: _badge.default,
38
38
  props: {
39
39
  icon: _constants.IconType.CheckItem
40
40
  }
41
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.CollaboratorGroup, {
41
+ }), _constants.ElementName.CollaboratorGroup, {
42
42
  component: _avatarGroup.default
43
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.CommentCount, {
43
+ }), _constants.ElementName.CommentCount, {
44
44
  component: _badge.default,
45
45
  props: {
46
46
  icon: _constants.IconType.Comment
47
47
  }
48
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.ViewCount, {
48
+ }), _constants.ElementName.ViewCount, {
49
49
  component: _badge.default,
50
50
  props: {
51
51
  icon: _constants.IconType.View
52
52
  }
53
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.ReactCount, {
53
+ }), _constants.ElementName.ReactCount, {
54
54
  component: _badge.default,
55
55
  props: {
56
56
  icon: _constants.IconType.React
57
57
  }
58
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.VoteCount, {
58
+ }), _constants.ElementName.VoteCount, {
59
59
  component: _badge.default,
60
60
  props: {
61
61
  icon: _constants.IconType.Vote
62
62
  }
63
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.CreatedBy, {
63
+ }), _constants.ElementName.CreatedBy, {
64
64
  component: _text.default
65
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.OwnedBy, {
65
+ }), _constants.ElementName.OwnedBy, {
66
66
  component: _text.default
67
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.AssignedTo, {
67
+ }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_elementMappings, _constants.ElementName.AssignedTo, {
68
68
  component: _text.default
69
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.AssignedToGroup, {
69
+ }), _constants.ElementName.AssignedToGroup, {
70
70
  component: _avatarGroup.default
71
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.OwnedByGroup, {
71
+ }), _constants.ElementName.OwnedByGroup, {
72
72
  component: _avatarGroup.default
73
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.CreatedOn, {
73
+ }), _constants.ElementName.CreatedOn, {
74
74
  component: _dateTime.default
75
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.DueOn, {
75
+ }), _constants.ElementName.DueOn, {
76
76
  component: _lozenge.default
77
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.LatestCommit, {
77
+ }), _constants.ElementName.LatestCommit, {
78
78
  component: _badge.default,
79
79
  props: {
80
80
  icon: _constants.IconType.Commit
81
81
  }
82
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.LinkIcon, {
82
+ }), _constants.ElementName.LinkIcon, {
83
83
  component: _icon.default
84
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.ModifiedBy, {
84
+ }), _constants.ElementName.ModifiedBy, {
85
85
  component: _text.default
86
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.ModifiedOn, {
86
+ }), _constants.ElementName.ModifiedOn, {
87
87
  component: _dateTime.default
88
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.Preview, {
88
+ }), _constants.ElementName.Preview, {
89
89
  component: _media.default
90
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.Priority, {
90
+ }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_elementMappings, _constants.ElementName.Priority, {
91
91
  component: _badge.default
92
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.ProgrammingLanguage, {
92
+ }), _constants.ElementName.ProgrammingLanguage, {
93
93
  component: _badge.default,
94
94
  props: {
95
95
  icon: _constants.IconType.ProgrammingLanguage
96
96
  }
97
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.Provider, {
97
+ }), _constants.ElementName.Provider, {
98
98
  component: _badge.default
99
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.ReadTime, {
99
+ }), _constants.ElementName.ReadTime, {
100
100
  component: _text.default
101
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.SentOn, {
101
+ }), _constants.ElementName.SentOn, {
102
102
  component: _dateTime.default
103
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.SourceBranch, {
103
+ }), _constants.ElementName.SourceBranch, {
104
104
  component: _text.default
105
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.State, {
105
+ }), _constants.ElementName.State, {
106
106
  component: _lozenge.default
107
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.SubscriberCount, {
107
+ }), _constants.ElementName.SubscriberCount, {
108
108
  component: _badge.default,
109
109
  props: {
110
110
  icon: _constants.IconType.Subscriber
111
111
  }
112
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.SubTasksProgress, {
112
+ }), _constants.ElementName.SubTasksProgress, {
113
113
  component: _badge.default,
114
114
  props: {
115
115
  icon: _constants.IconType.SubTasksProgress
116
116
  }
117
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.StoryPoints, {
117
+ }), _constants.ElementName.StoryPoints, {
118
118
  component: _atlaskitBadge.default
119
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.TargetBranch, {
119
+ }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_elementMappings, _constants.ElementName.TargetBranch, {
120
120
  component: _text.default
121
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.Title, {
121
+ }), _constants.ElementName.Title, {
122
122
  component: _link.default
123
- }), (0, _defineProperty2.default)(_elementMappings, _constants.ElementName.Location, {
123
+ }), _constants.ElementName.Location, {
124
124
  component: _link.default,
125
125
  props: {
126
126
  theme: _constants.SmartLinkInternalTheme.Grey
127
127
  }
128
- }), _elementMappings);
128
+ }));
129
129
  var getContextKey = function getContextKey(name) {
130
130
  // Attempt to predict context prop name in advance to reduce the amount of
131
131
  // code run during runtime
@@ -17,10 +17,10 @@ var _constants = require("../../../constants");
17
17
  var _utils = require("../../EmbedModal/utils");
18
18
  var _icon = _interopRequireDefault(require("./elements/icon"));
19
19
  var _excluded = ["linkIcon"];
20
- var _sizeToButtonSpacing, _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
20
+ var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
21
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22
22
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23
- var sizeToButtonSpacing = exports.sizeToButtonSpacing = (_sizeToButtonSpacing = {}, (0, _defineProperty2.default)(_sizeToButtonSpacing, _constants.SmartLinkSize.Small, 'none'), (0, _defineProperty2.default)(_sizeToButtonSpacing, _constants.SmartLinkSize.Medium, 'compact'), (0, _defineProperty2.default)(_sizeToButtonSpacing, _constants.SmartLinkSize.Large, 'compact'), (0, _defineProperty2.default)(_sizeToButtonSpacing, _constants.SmartLinkSize.XLarge, 'default'), _sizeToButtonSpacing);
23
+ var sizeToButtonSpacing = exports.sizeToButtonSpacing = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _constants.SmartLinkSize.Small, 'none'), _constants.SmartLinkSize.Medium, 'compact'), _constants.SmartLinkSize.Large, 'compact'), _constants.SmartLinkSize.XLarge, 'default');
24
24
  var getFormattedMessage = exports.getFormattedMessage = function getFormattedMessage(message) {
25
25
  if (message) {
26
26
  var descriptor = message.descriptor,
@@ -98,7 +98,7 @@ var getLinkSizeStyles = exports.getLinkSizeStyles = function getLinkSizeStyles(s
98
98
  case _constants.SmartLinkSize.XLarge:
99
99
  return (0, _react2.css)({
100
100
  fontSize: '1.25rem',
101
- fontWeight: 400,
101
+ fontWeight: "var(--ds-font-weight-regular, 400)",
102
102
  letterSpacing: '-0.008em',
103
103
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
104
104
  lineHeight: getLinkLineHeight(size)
@@ -107,7 +107,7 @@ var getLinkSizeStyles = exports.getLinkSizeStyles = function getLinkSizeStyles(s
107
107
  case _constants.SmartLinkSize.Medium:
108
108
  return (0, _react2.css)({
109
109
  fontSize: '0.875rem',
110
- fontWeight: 400,
110
+ fontWeight: "var(--ds-font-weight-regular, 400)",
111
111
  letterSpacing: '-0.003em',
112
112
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
113
113
  lineHeight: getLinkLineHeight(size)
@@ -116,7 +116,7 @@ var getLinkSizeStyles = exports.getLinkSizeStyles = function getLinkSizeStyles(s
116
116
  default:
117
117
  return (0, _react2.css)({
118
118
  fontSize: '0.75rem',
119
- fontWeight: 400,
119
+ fontWeight: "var(--ds-font-weight-regular, 400)",
120
120
  letterSpacing: '0em',
121
121
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
122
122
  lineHeight: getLinkLineHeight(size)
@@ -38,7 +38,7 @@ var separatorCss = exports.separatorCss = (0, _react.css)({
38
38
  var HoverCardContainer = exports.HoverCardContainer = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tbackground: none;\n\tborder-width: 0;\n\tbox-sizing: border-box;\n\twidth: ", "rem;\n\n\t.", " {\n\t\tdisplay: none;\n\t}\n"])), NEW_CARD_WIDTH_REM, _index.loadingPlaceholderClassName);
39
39
 
40
40
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
41
- var titleBlockCss = exports.titleBlockCss = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\tgap: ", ";\n\n\t", "\n\n\t// title and subtitle element group\n [data-smart-element-group] {\n\t\t// gap between title and subtitle\n\t\tgap: 0.06rem;\n\t\tdisplay: flex;\n\t\t/* subtitle element group */\n\t\t> [data-smart-element-group] {\n\t\t\t> span {\n\t\t\t\tmargin-right: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t[data-smart-element='Title'] {\n\t\tfont-weight: 600;\n\t}\n"])), blockGap, separatorCss, elementGap);
41
+ var titleBlockCss = exports.titleBlockCss = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\tgap: ", ";\n\n\t", "\n\n\t// title and subtitle element group\n [data-smart-element-group] {\n\t\t// gap between title and subtitle\n\t\tgap: 0.06rem;\n\t\tdisplay: flex;\n\t\t/* subtitle element group */\n\t\t> [data-smart-element-group] {\n\t\t\t> span {\n\t\t\t\tmargin-right: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t[data-smart-element='Title'] {\n\t\tfont-weight: ", ";\n\t}\n"])), blockGap, separatorCss, elementGap, "var(--ds-font-weight-semibold, 600)");
42
42
  var getTransitionStyles = exports.getTransitionStyles = function getTransitionStyles(snippetHeight) {
43
43
  return (0, _react.css)({
44
44
  transition: 'height 300ms ease-in-out',
@@ -7,10 +7,9 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.InlineCardErroredView = void 0;
8
8
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
- var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
11
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
12
10
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
13
11
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
12
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
14
13
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
14
  var _react = _interopRequireDefault(require("react"));
16
15
  var _reactIntlNext = require("react-intl-next");
@@ -24,20 +23,18 @@ var _Icon = require("../Icon");
24
23
  var _IconAndTitleLayout = require("../IconAndTitleLayout");
25
24
  var _styled = require("../styled");
26
25
  var _withFrameStyleControl = _interopRequireDefault(require("../utils/withFrameStyleControl"));
27
- function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = (0, _getPrototypeOf2.default)(t); if (r) { var s = (0, _getPrototypeOf2.default)(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return (0, _possibleConstructorReturn2.default)(this, e); }; }
26
+ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
28
27
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
29
28
  var InlineCardErroredView = exports.InlineCardErroredView = /*#__PURE__*/function (_React$Component) {
30
- (0, _inherits2.default)(InlineCardErroredView, _React$Component);
31
- var _super = _createSuper(InlineCardErroredView);
32
29
  function InlineCardErroredView() {
33
30
  var _this;
34
31
  (0, _classCallCheck2.default)(this, InlineCardErroredView);
35
32
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
36
33
  args[_key] = arguments[_key];
37
34
  }
38
- _this = _super.call.apply(_super, [this].concat(args));
39
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "frameRef", /*#__PURE__*/_react.default.createRef());
40
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleRetry", function (event) {
35
+ _this = _callSuper(this, InlineCardErroredView, [].concat(args));
36
+ (0, _defineProperty2.default)(_this, "frameRef", /*#__PURE__*/_react.default.createRef());
37
+ (0, _defineProperty2.default)(_this, "handleRetry", function (event) {
41
38
  var onRetry = _this.props.onRetry;
42
39
  if (onRetry) {
43
40
  event.preventDefault();
@@ -45,7 +42,7 @@ var InlineCardErroredView = exports.InlineCardErroredView = /*#__PURE__*/functio
45
42
  onRetry();
46
43
  }
47
44
  });
48
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "renderActionButton", function () {
45
+ (0, _defineProperty2.default)(_this, "renderActionButton", function () {
49
46
  var onRetry = _this.props.onRetry;
50
47
  var ActionButton = (0, _withFrameStyleControl.default)(_button.default, _this.frameRef);
51
48
  return onRetry && /*#__PURE__*/_react.default.createElement(ActionButton, {
@@ -57,7 +54,8 @@ var InlineCardErroredView = exports.InlineCardErroredView = /*#__PURE__*/functio
57
54
  });
58
55
  return _this;
59
56
  }
60
- (0, _createClass2.default)(InlineCardErroredView, [{
57
+ (0, _inherits2.default)(InlineCardErroredView, _React$Component);
58
+ return (0, _createClass2.default)(InlineCardErroredView, [{
61
59
  key: "render",
62
60
  value: function render() {
63
61
  var _this$props = this.props,
@@ -94,5 +92,4 @@ var InlineCardErroredView = exports.InlineCardErroredView = /*#__PURE__*/functio
94
92
  return content;
95
93
  }
96
94
  }]);
97
- return InlineCardErroredView;
98
95
  }(_react.default.Component);