@atlaskit/smart-card 34.3.0 → 34.4.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 (148) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/utils/analytics/analytics.js +1 -1
  3. package/dist/cjs/utils/index.js +201 -263
  4. package/dist/cjs/view/FlexibleCard/components/blocks/element-group/ElementGroupOld.js +115 -0
  5. package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.compiled.css +46 -0
  6. package/dist/cjs/view/FlexibleCard/components/blocks/element-group/index.js +58 -81
  7. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.js +135 -0
  8. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/TitleBlockErroredViewOld.js +108 -0
  9. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/index.js +10 -57
  10. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/index.compiled.css +2 -0
  11. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/index.js +38 -37
  12. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.js +58 -0
  13. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolved/index.compiled.css +1 -0
  14. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolved/index.js +24 -16
  15. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.js +48 -0
  16. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/index.compiled.css +55 -0
  17. package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/index.js +23 -19
  18. package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +14 -9
  19. package/dist/cjs/view/LinkUrl/index.js +1 -1
  20. package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +15 -14
  21. package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModalOld.js +63 -0
  22. package/dist/cjs/view/RelatedLinksModal/components/related-link-item/RelatedLinkItemOld.js +61 -0
  23. package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.js +20 -19
  24. package/dist/cjs/view/RelatedLinksModal/components/related-links-list/RelatedLinksListOld.js +51 -0
  25. package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +24 -24
  26. package/dist/cjs/view/RelatedLinksModal/views/errored/error-svg/ErrorSvgOld.js +66 -0
  27. package/dist/cjs/view/RelatedLinksModal/views/errored/error-svg/index.compiled.css +6 -0
  28. package/dist/cjs/view/RelatedLinksModal/views/errored/error-svg/index.js +31 -25
  29. package/dist/cjs/view/RelatedLinksModal/views/resolved/ResolvedOld.js +45 -0
  30. package/dist/cjs/view/RelatedLinksModal/views/resolved/index.js +16 -14
  31. package/dist/cjs/view/RelatedLinksModal/views/unavailable/unavailable-svg/UnavailableSvgOld.js +141 -0
  32. package/dist/cjs/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.compiled.css +6 -0
  33. package/dist/cjs/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.js +56 -50
  34. package/dist/es2019/utils/analytics/analytics.js +1 -1
  35. package/dist/es2019/utils/index.js +69 -55
  36. package/dist/es2019/view/FlexibleCard/components/blocks/element-group/ElementGroupOld.js +113 -0
  37. package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.compiled.css +46 -0
  38. package/dist/es2019/view/FlexibleCard/components/blocks/element-group/index.js +60 -95
  39. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.js +118 -0
  40. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/TitleBlockErroredViewOld.js +102 -0
  41. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/index.js +11 -57
  42. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/index.compiled.css +2 -0
  43. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/index.js +35 -36
  44. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.js +50 -0
  45. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolved/index.compiled.css +1 -0
  46. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolved/index.js +15 -11
  47. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.js +42 -0
  48. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/index.compiled.css +55 -0
  49. package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/index.js +20 -18
  50. package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +9 -2
  51. package/dist/es2019/view/LinkUrl/index.js +1 -1
  52. package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +15 -14
  53. package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModalOld.js +55 -0
  54. package/dist/es2019/view/RelatedLinksModal/components/related-link-item/RelatedLinkItemOld.js +55 -0
  55. package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.js +19 -18
  56. package/dist/es2019/view/RelatedLinksModal/components/related-links-list/RelatedLinksListOld.js +42 -0
  57. package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +23 -22
  58. package/dist/es2019/view/RelatedLinksModal/views/errored/error-svg/ErrorSvgOld.js +58 -0
  59. package/dist/es2019/view/RelatedLinksModal/views/errored/error-svg/index.compiled.css +6 -0
  60. package/dist/es2019/view/RelatedLinksModal/views/errored/error-svg/index.js +28 -24
  61. package/dist/es2019/view/RelatedLinksModal/views/resolved/ResolvedOld.js +36 -0
  62. package/dist/es2019/view/RelatedLinksModal/views/resolved/index.js +16 -13
  63. package/dist/es2019/view/RelatedLinksModal/views/unavailable/unavailable-svg/UnavailableSvgOld.js +133 -0
  64. package/dist/es2019/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.compiled.css +6 -0
  65. package/dist/es2019/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.js +53 -49
  66. package/dist/esm/utils/analytics/analytics.js +1 -1
  67. package/dist/esm/utils/index.js +116 -162
  68. package/dist/esm/view/FlexibleCard/components/blocks/element-group/ElementGroupOld.js +108 -0
  69. package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.compiled.css +46 -0
  70. package/dist/esm/view/FlexibleCard/components/blocks/element-group/index.js +54 -79
  71. package/dist/esm/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.js +127 -0
  72. package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/TitleBlockErroredViewOld.js +101 -0
  73. package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/index.js +11 -56
  74. package/dist/esm/view/FlexibleCard/components/blocks/title-block/index.compiled.css +2 -0
  75. package/dist/esm/view/FlexibleCard/components/blocks/title-block/index.js +36 -37
  76. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.js +53 -0
  77. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolved/index.compiled.css +1 -0
  78. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolved/index.js +15 -11
  79. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.js +42 -0
  80. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/index.compiled.css +55 -0
  81. package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/index.js +20 -18
  82. package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +14 -9
  83. package/dist/esm/view/LinkUrl/index.js +1 -1
  84. package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +15 -14
  85. package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModalOld.js +53 -0
  86. package/dist/esm/view/RelatedLinksModal/components/related-link-item/RelatedLinkItemOld.js +54 -0
  87. package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.js +19 -18
  88. package/dist/esm/view/RelatedLinksModal/components/related-links-list/RelatedLinksListOld.js +43 -0
  89. package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +24 -23
  90. package/dist/esm/view/RelatedLinksModal/views/errored/error-svg/ErrorSvgOld.js +58 -0
  91. package/dist/esm/view/RelatedLinksModal/views/errored/error-svg/index.compiled.css +6 -0
  92. package/dist/esm/view/RelatedLinksModal/views/errored/error-svg/index.js +28 -24
  93. package/dist/esm/view/RelatedLinksModal/views/resolved/ResolvedOld.js +37 -0
  94. package/dist/esm/view/RelatedLinksModal/views/resolved/index.js +16 -13
  95. package/dist/esm/view/RelatedLinksModal/views/unavailable/unavailable-svg/UnavailableSvgOld.js +133 -0
  96. package/dist/esm/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.compiled.css +6 -0
  97. package/dist/esm/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.js +53 -49
  98. package/dist/types/utils/index.d.ts +2 -0
  99. package/dist/types/view/FlexibleCard/components/blocks/element-group/ElementGroupOld.d.ts +17 -0
  100. package/dist/types/view/FlexibleCard/components/blocks/element-group/index.d.ts +5 -9
  101. package/dist/types/view/FlexibleCard/components/blocks/element-group/types.d.ts +1 -0
  102. package/dist/types/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.d.ts +16 -0
  103. package/dist/types/view/FlexibleCard/components/blocks/title-block/errored/TitleBlockErroredViewOld.d.ts +15 -0
  104. package/dist/types/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +5 -7
  105. package/dist/types/view/FlexibleCard/components/blocks/title-block/index.d.ts +1 -13
  106. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.d.ts +9 -0
  107. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +8 -2
  108. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.d.ts +14 -0
  109. package/dist/types/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +5 -3
  110. package/dist/types/view/FlexibleCard/components/blocks/types.d.ts +1 -0
  111. package/dist/types/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +3 -7
  112. package/dist/types/view/RelatedLinksModal/components/RelatedLinksBaseModalOld.d.ts +8 -0
  113. package/dist/types/view/RelatedLinksModal/components/related-link-item/RelatedLinkItemOld.d.ts +8 -0
  114. package/dist/types/view/RelatedLinksModal/components/related-link-item/index.d.ts +3 -7
  115. package/dist/types/view/RelatedLinksModal/components/related-links-list/RelatedLinksListOld.d.ts +8 -0
  116. package/dist/types/view/RelatedLinksModal/components/related-links-list/index.d.ts +3 -7
  117. package/dist/types/view/RelatedLinksModal/views/errored/error-svg/ErrorSvgOld.d.ts +6 -0
  118. package/dist/types/view/RelatedLinksModal/views/errored/error-svg/index.d.ts +2 -6
  119. package/dist/types/view/RelatedLinksModal/views/resolved/ResolvedOld.d.ts +8 -0
  120. package/dist/types/view/RelatedLinksModal/views/resolved/index.d.ts +3 -7
  121. package/dist/types/view/RelatedLinksModal/views/unavailable/unavailable-svg/UnavailableSvgOld.d.ts +6 -0
  122. package/dist/types/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.d.ts +2 -6
  123. package/dist/types-ts4.5/utils/index.d.ts +2 -0
  124. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/ElementGroupOld.d.ts +17 -0
  125. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/index.d.ts +5 -9
  126. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/types.d.ts +1 -0
  127. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/TitleBlockOld.d.ts +16 -0
  128. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/errored/TitleBlockErroredViewOld.d.ts +15 -0
  129. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/errored/index.d.ts +5 -7
  130. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/index.d.ts +1 -13
  131. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/TitleBlockResolvedViewOld.d.ts +9 -0
  132. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +8 -2
  133. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.d.ts +14 -0
  134. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolving/index.d.ts +5 -3
  135. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/types.d.ts +1 -0
  136. package/dist/types-ts4.5/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +3 -7
  137. package/dist/types-ts4.5/view/RelatedLinksModal/components/RelatedLinksBaseModalOld.d.ts +8 -0
  138. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-link-item/RelatedLinkItemOld.d.ts +8 -0
  139. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-link-item/index.d.ts +3 -7
  140. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-links-list/RelatedLinksListOld.d.ts +8 -0
  141. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-links-list/index.d.ts +3 -7
  142. package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/error-svg/ErrorSvgOld.d.ts +6 -0
  143. package/dist/types-ts4.5/view/RelatedLinksModal/views/errored/error-svg/index.d.ts +2 -6
  144. package/dist/types-ts4.5/view/RelatedLinksModal/views/resolved/ResolvedOld.d.ts +8 -0
  145. package/dist/types-ts4.5/view/RelatedLinksModal/views/resolved/index.d.ts +3 -7
  146. package/dist/types-ts4.5/view/RelatedLinksModal/views/unavailable/unavailable-svg/UnavailableSvgOld.d.ts +6 -0
  147. package/dist/types-ts4.5/view/RelatedLinksModal/views/unavailable/unavailable-svg/index.d.ts +2 -6
  148. package/package.json +2 -2
@@ -1,10 +1,13 @@
1
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
4
  import _regeneratorRuntime from "@babel/runtime/regenerator";
4
5
  import React from 'react';
5
6
  import Loadable from 'react-loadable';
6
7
  import { fg } from '@atlaskit/platform-feature-flags';
7
8
  import { themeObjectToString } from '@atlaskit/tokens';
9
+ import { IconType } from '../constants';
10
+ import extractFileFormatIcon from '../extractors/flexible/icon/extract-file-formatIcon';
8
11
  export var isSpecialEvent = function isSpecialEvent(evt) {
9
12
  return evt.isDefaultPrevented() && (isIframe() || isSpecialKey(evt) || isSpecialClick(evt));
10
13
  };
@@ -31,7 +34,7 @@ export var getIconForFileType = function getIconForFileType(fileMimeType) {
31
34
  if (!fileMimeType) {
32
35
  return;
33
36
  }
34
- var icon = fg('platform-smart-card-icon-migration') ? getTypeToIconMap()[fileMimeType.toLowerCase()] : typeToIcon[fileMimeType.toLowerCase()];
37
+ var icon = fg('platform-smart-card-icon-migration') ? getTypeToIconMap(fileMimeType.toLowerCase()) : typeToIcon[fileMimeType.toLowerCase()];
35
38
  if (!icon) {
36
39
  return;
37
40
  }
@@ -58,7 +61,7 @@ export var getIconForFileType = function getIconForFileType(fileMimeType) {
58
61
  });
59
62
  };
60
63
  export var getLabelForFileType = function getLabelForFileType(fileMimeType) {
61
- var icon = fg('platform-smart-card-icon-migration') ? getTypeToIconMap()[fileMimeType.toLowerCase()] : typeToIcon[fileMimeType.toLowerCase()];
64
+ var icon = fg('platform-smart-card-icon-migration') ? getTypeToIconMap(fileMimeType.toLowerCase()) : typeToIcon[fileMimeType.toLowerCase()];
62
65
  if (!icon) {
63
66
  return;
64
67
  }
@@ -219,160 +222,111 @@ var typeToIcon = {
219
222
  return import('@atlaskit/icon-file-type/glyph/folder/16');
220
223
  }]
221
224
  };
222
- var getTypeToIconMap = function getTypeToIconMap() {
223
- return {
224
- 'text/plain': ['Document', function () {
225
- return import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon');
226
- }],
227
- 'application/vnd.oasis.opendocument.text': ['Document', function () {
228
- return import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon');
229
- }],
230
- 'application/vnd.apple.pages': ['Document', function () {
231
- return import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon');
232
- }],
233
- 'application/vnd.google-apps.document': ['Google Doc', function () {
234
- return import('@atlaskit/icon-file-type/glyph/google-doc/16');
235
- }],
236
- 'application/msword': ['Word document', function () {
237
- return import('@atlaskit/icon-file-type/glyph/word-document/16');
238
- }],
239
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': ['Word document', function () {
240
- return import('@atlaskit/icon-file-type/glyph/word-document/16');
241
- }],
242
- 'application/pdf': ['PDF document', function () {
243
- return import('@atlaskit/icon-file-type/glyph/pdf-document/16');
244
- }],
245
- 'application/vnd.oasis.opendocument.spreadsheet': ['Spreadsheet', function () {
246
- return import( /* webpackChunkName: "@atlaskit-internal_list-bullet-icon" */'../common/ui/icons/list-bullet-icon');
247
- }],
248
- 'application/vnd.apple.numbers': ['Spreadsheet', function () {
249
- return import( /* webpackChunkName: "@atlaskit-internal_list-bullet-icon" */'../common/ui/icons/list-bullet-icon');
250
- }],
251
- 'application/vnd.google-apps.spreadsheet': ['Google Sheet', function () {
252
- return import('@atlaskit/icon-file-type/glyph/google-sheet/16');
253
- }],
254
- 'application/vnd.ms-excel': ['Excel spreadsheet', function () {
255
- return import('@atlaskit/icon-file-type/glyph/excel-spreadsheet/16');
256
- }],
257
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': ['Excel spreadsheet', function () {
258
- return import('@atlaskit/icon-file-type/glyph/excel-spreadsheet/16');
259
- }],
260
- 'application/vnd.oasis.opendocument.presentation': ['Presentation', function () {
261
- return import( /* webpackChunkName: "@atlaskit-internal_chart-bar-icon" */'../common/ui/icons/chart-bar-icon');
262
- }],
263
- 'application/vnd.apple.keynote': ['Presentation', function () {
264
- return import( /* webpackChunkName: "@atlaskit-internal_chart-bar-icon" */'../common/ui/icons/chart-bar-icon');
265
- }],
266
- 'application/vnd.google-apps.presentation': ['Google Slide', function () {
267
- return import('@atlaskit/icon-file-type/glyph/google-slide/16');
268
- }],
269
- 'application/vnd.ms-powerpoint': ['PowerPoint presentation', function () {
270
- return import('@atlaskit/icon-file-type/glyph/powerpoint-presentation/16');
271
- }],
272
- 'application/vnd.openxmlformats-officedocument.presentationml.presentation': ['PowerPoint presentation', function () {
273
- return import('@atlaskit/icon-file-type/glyph/powerpoint-presentation/16');
274
- }],
275
- 'application/vnd.google-apps.form': ['Google Form', function () {
276
- return import('@atlaskit/icon-file-type/glyph/google-form/16');
277
- }],
278
- 'image/png': ['Image', function () {
279
- return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
280
- }],
281
- 'image/jpeg': ['Image', function () {
282
- return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
283
- }],
284
- 'image/bmp': ['Image', function () {
285
- return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
286
- }],
287
- 'image/webp': ['Image', function () {
288
- return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
289
- }],
290
- 'image/svg+xml': ['Image', function () {
291
- return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
292
- }],
293
- 'image/gif': ['GIF', function () {
294
- return import('@atlaskit/icon-file-type/glyph/gif/16');
295
- }],
296
- 'audio/midi': ['Audio', function () {
297
- return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
298
- }],
299
- 'audio/mpeg': ['Audio', function () {
300
- return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
301
- }],
302
- 'audio/webm': ['Audio', function () {
303
- return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
304
- }],
305
- 'audio/ogg': ['Audio', function () {
306
- return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
307
- }],
308
- 'audio/wav': ['Audio', function () {
309
- return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
310
- }],
311
- 'video/mp4': ['Video', function () {
312
- return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
313
- }],
314
- 'video/quicktime': ['Video', function () {
315
- return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
316
- }],
317
- 'video/mov': ['Video', function () {
318
- return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
319
- }],
320
- 'video/webm': ['Video', function () {
321
- return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
322
- }],
323
- 'video/ogg': ['Video', function () {
324
- return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
325
- }],
326
- 'video/x-ms-wmv': ['Video', function () {
327
- return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
328
- }],
329
- 'video/x-msvideo': ['Video', function () {
330
- return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
331
- }],
332
- 'application/zip': ['Archive', function () {
333
- return import('@atlaskit/icon-file-type/glyph/archive/16');
334
- }],
335
- 'application/x-tar': ['Archive', function () {
336
- return import('@atlaskit/icon-file-type/glyph/archive/16');
337
- }],
338
- 'application/x-gtar': ['Archive', function () {
339
- return import('@atlaskit/icon-file-type/glyph/archive/16');
340
- }],
341
- 'application/x-7z-compressed': ['Archive', function () {
342
- return import('@atlaskit/icon-file-type/glyph/archive/16');
343
- }],
344
- 'application/x-apple-diskimage': ['Archive', function () {
345
- return import('@atlaskit/icon-file-type/glyph/archive/16');
346
- }],
347
- 'application/vnd.rar': ['Archive', function () {
348
- return import('@atlaskit/icon-file-type/glyph/archive/16');
349
- }],
350
- 'application/dmg': ['Executable', function () {
351
- return import('@atlaskit/icon-file-type/glyph/executable/16');
352
- }],
353
- 'text/css': ['Source Code', function () {
354
- return import( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon');
355
- }],
356
- 'text/html': ['Source Code', function () {
357
- return import( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon');
358
- }],
359
- 'application/javascript': ['Source Code', function () {
360
- return import( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon');
361
- }],
362
- 'application/octet-stream': ['Binary file', function () {
363
- return import( /* webpackChunkName: "@atlaskit-internal_file-icon" */'../common/ui/icons/file-icon');
364
- }],
365
- 'application/invision.prototype': ['Prototype', function () {
366
- return import( /* webpackChunkName: "@atlaskit-internal_file-icon" */'../common/ui/icons/file-icon');
367
- }],
368
- // TODO: Figure a way to detect those
369
- 'application/sketch': ['Sketch', function () {
370
- return import('@atlaskit/icon-file-type/glyph/sketch/16');
371
- }],
372
- folder: ['Folder', function () {
373
- return import( /* webpackChunkName: "@atlaskit-internal_folder-icon" */'../common/ui/icons/folder-icon');
374
- }]
375
- };
225
+ export var getLazyIcons = function getLazyIcons() {
226
+ var _ref3;
227
+ return _ref3 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.Document, function () {
228
+ return import( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon');
229
+ }), IconType.Blog, function () {
230
+ return import( /* webpackChunkName: "@atlaskit-internal_glyphBlock" */'@atlaskit/icon-object/glyph/blog/16');
231
+ }), IconType.Audio, function () {
232
+ return import( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon');
233
+ }), IconType.Code, function () {
234
+ return import( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon');
235
+ }), IconType.File, function () {
236
+ return import( /* webpackChunkName: "@atlaskit-internal_file-icon" */'../common/ui/icons/file-icon');
237
+ }), IconType.Folder, function () {
238
+ return import( /* webpackChunkName: "@atlaskit-internal_folder-icon" */'../common/ui/icons/folder-icon');
239
+ }), IconType.Generic, function () {
240
+ return import( /* webpackChunkName: "@atlaskit-internal_file-icon" */'../common/ui/icons/file-icon');
241
+ }), IconType.Image, function () {
242
+ return import( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon');
243
+ }), IconType.Presentation, function () {
244
+ return import( /* webpackChunkName: "@atlaskit-internal_chart-bar-icon" */'../common/ui/icons/chart-bar-icon');
245
+ }), IconType.Spreadsheet, function () {
246
+ return import( /* webpackChunkName: "@atlaskit-internal_list-bullet-icon" */'../common/ui/icons/list-bullet-icon');
247
+ }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.Video, function () {
248
+ return import( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon');
249
+ }), IconType.Project, function () {
250
+ return import( /* webpackChunkName: "@atlaskit-internal_glyphProject" */'@atlaskit/icon/core/migration/people-group');
251
+ }), IconType.Template, function () {
252
+ return import( /* webpackChunkName: "@atlaskit-internal_glyphTemplate" */'@atlaskit/icon/core/migration/file--document-filled');
253
+ }), IconType.Forbidden, function () {
254
+ return import( /* webpackChunkName: "@atlaskit-internal_glyphForbidden" */'@atlaskit/icon/core/migration/lock-locked--lock-filled');
255
+ }), IconType.Default, function () {
256
+ return import( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/migration/link');
257
+ }), IconType.Archive, function () {
258
+ return import( /* webpackChunkName: "glyphArchive" */'@atlaskit/icon-file-type/glyph/archive/16');
259
+ }), IconType.Executable, function () {
260
+ return import( /* webpackChunkName: "glyphExecutable" */'@atlaskit/icon-file-type/glyph/executable/16');
261
+ }), IconType.GIF, function () {
262
+ return import( /* webpackChunkName: "glyphGIF" */'@atlaskit/icon-file-type/glyph/gif/16');
263
+ }), IconType.GoogleDocs, function () {
264
+ return import( /* webpackChunkName: "glyphGoogleDocs" */'@atlaskit/icon-file-type/glyph/google-doc/16');
265
+ }), IconType.GoogleForms, function () {
266
+ return import( /* webpackChunkName: "glyphGoogleForms" */'@atlaskit/icon-file-type/glyph/google-form/16');
267
+ }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.GoogleSheets, function () {
268
+ return import( /* webpackChunkName: "glyphGoogleSheets" */'@atlaskit/icon-file-type/glyph/google-sheet/16');
269
+ }), IconType.GoogleSlides, function () {
270
+ return import( /* webpackChunkName: "glyphGoogleSlides" */'@atlaskit/icon-file-type/glyph/google-slide/16');
271
+ }), IconType.MSExcel, function () {
272
+ return import( /* webpackChunkName: "glyphMSExcel" */'@atlaskit/icon-file-type/glyph/excel-spreadsheet/16');
273
+ }), IconType.MSPowerpoint, function () {
274
+ return import( /* webpackChunkName: "glyphMSPowerpoint" */'@atlaskit/icon-file-type/glyph/powerpoint-presentation/16');
275
+ }), IconType.MSWord, function () {
276
+ return import( /* webpackChunkName: "glyphMSWord" */'@atlaskit/icon-file-type/glyph/word-document/16');
277
+ }), IconType.PDF, function () {
278
+ return import( /* webpackChunkName: "glyphPDF" */'@atlaskit/icon-file-type/glyph/pdf-document/16');
279
+ }), IconType.Sketch, function () {
280
+ return import( /* webpackChunkName: "glyphSketch" */'@atlaskit/icon-file-type/glyph/sketch/16');
281
+ }), IconType.Branch, function () {
282
+ return import( /* webpackChunkName: "glyphBranch" */'@atlaskit/icon-object/glyph/branch/16');
283
+ }), IconType.Commit, function () {
284
+ return import( /* webpackChunkName: "glyphCommit" */'@atlaskit/icon-object/glyph/commit/16');
285
+ }), IconType.PullRequest, function () {
286
+ return import( /* webpackChunkName: "glyphPullRequest" */'@atlaskit/icon-object/glyph/pull-request/16');
287
+ }), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, IconType.Repo, function () {
288
+ return import( /* webpackChunkName: "glyphRepo" */'@atlaskit/icon-object/glyph/code/16');
289
+ }), IconType.Bug, function () {
290
+ return import( /* webpackChunkName: "glyphBug" */'@atlaskit/icon-object/glyph/bug/16');
291
+ }), IconType.Change, function () {
292
+ return import( /* webpackChunkName: "glyphChange" */'@atlaskit/icon-object/glyph/changes/16');
293
+ }), IconType.Epic, function () {
294
+ return import( /* webpackChunkName: "glyphEpic" */'@atlaskit/icon-object/glyph/epic/16');
295
+ }), IconType.Incident, function () {
296
+ return import( /* webpackChunkName: "glyphIncident" */'@atlaskit/icon-object/glyph/incident/16');
297
+ }), IconType.Problem, function () {
298
+ return import( /* webpackChunkName: "glyphProblem" */'@atlaskit/icon-object/glyph/problem/16');
299
+ }), IconType.ServiceRequest, function () {
300
+ return import( /* webpackChunkName: "glyphServiceRequest" */'@atlaskit/icon-object/glyph/issue/16');
301
+ }), IconType.Story, function () {
302
+ return import( /* webpackChunkName: "glyphStory" */'@atlaskit/icon-object/glyph/story/16');
303
+ }), IconType.SubTask, function () {
304
+ return import( /* webpackChunkName: "glyphSubTask" */'@atlaskit/icon-object/glyph/subtask/16');
305
+ }), IconType.Task, function () {
306
+ return import( /* webpackChunkName: "glyphTask" */'@atlaskit/icon-object/glyph/task/16');
307
+ }), _defineProperty(_defineProperty(_ref3, IconType.Confluence, function () {
308
+ return import( /* webpackChunkName: "glyphConfluence" */'@atlaskit/logo/confluence-icon').then(function (_ref) {
309
+ var ConfluenceIcon = _ref.ConfluenceIcon;
310
+ return {
311
+ default: ConfluenceIcon
312
+ };
313
+ });
314
+ }), IconType.Jira, function () {
315
+ return import( /* webpackChunkName: "glyphJira" */'@atlaskit/logo/jira-icon').then(function (_ref2) {
316
+ var JiraIcon = _ref2.JiraIcon;
317
+ return {
318
+ default: JiraIcon
319
+ };
320
+ });
321
+ });
322
+ };
323
+ var getTypeToIconMap = function getTypeToIconMap(fileFormat) {
324
+ var iconDescriptor = extractFileFormatIcon(fileFormat);
325
+ if (!(iconDescriptor !== null && iconDescriptor !== void 0 && iconDescriptor.icon) || !iconDescriptor.label) {
326
+ return null;
327
+ }
328
+ var lazyIcons = getLazyIcons();
329
+ return [iconDescriptor.label, lazyIcons[iconDescriptor.icon]];
376
330
  };
377
331
  export var getIframeSandboxAttribute = function getIframeSandboxAttribute(isTrusted) {
378
332
  if (isTrusted) {
@@ -397,7 +351,7 @@ export var sleep = function sleep(ms) {
397
351
  });
398
352
  };
399
353
  export var importWithRetry = /*#__PURE__*/function () {
400
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(importFn) {
354
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(importFn) {
401
355
  var retries,
402
356
  interval,
403
357
  _args = arguments;
@@ -431,11 +385,11 @@ export var importWithRetry = /*#__PURE__*/function () {
431
385
  }, _callee, null, [[2, 8]]);
432
386
  }));
433
387
  return function importWithRetry(_x) {
434
- return _ref.apply(this, arguments);
388
+ return _ref4.apply(this, arguments);
435
389
  };
436
390
  }();
437
391
  export var downloadUrl = /*#__PURE__*/function () {
438
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(url) {
392
+ var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(url) {
439
393
  var isIE11, isSafari, iframeName, link, iframe;
440
394
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
441
395
  while (1) switch (_context2.prev = _context2.next) {
@@ -471,11 +425,11 @@ export var downloadUrl = /*#__PURE__*/function () {
471
425
  }, _callee2);
472
426
  }));
473
427
  return function downloadUrl(_x2) {
474
- return _ref2.apply(this, arguments);
428
+ return _ref5.apply(this, arguments);
475
429
  };
476
430
  }();
477
431
  export var openUrl = /*#__PURE__*/function () {
478
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(url) {
432
+ var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(url) {
479
433
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
480
434
  while (1) switch (_context3.prev = _context3.next) {
481
435
  case 0:
@@ -493,7 +447,7 @@ export var openUrl = /*#__PURE__*/function () {
493
447
  }, _callee3);
494
448
  }));
495
449
  return function openUrl(_x3) {
496
- return _ref3.apply(this, arguments);
450
+ return _ref6.apply(this, arguments);
497
451
  };
498
452
  }();
499
453
 
@@ -0,0 +1,108 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ /**
4
+ * @jsxRuntime classic
5
+ * @jsx jsx
6
+ */
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
+ import { css, jsx } from '@emotion/react';
9
+ import { SmartLinkAlignment, SmartLinkDirection, SmartLinkPosition, SmartLinkSize, SmartLinkWidth } from '../../../../../constants';
10
+ import { getMaxLineHeight, getTruncateStyles } from '../../utils';
11
+ import { getBaseStyles, getGapSize, renderChildren } from '../utils';
12
+ var getAlignmentStyles = function getAlignmentStyles(align) {
13
+ switch (align) {
14
+ case SmartLinkAlignment.Right:
15
+ return css({
16
+ WebkitBoxAlign: 'end',
17
+ MsFlexAlign: 'end',
18
+ justifyContent: 'flex-end',
19
+ textAlign: 'right'
20
+ });
21
+ case SmartLinkAlignment.Left:
22
+ default:
23
+ return css({
24
+ WebkitBoxAlign: 'start',
25
+ MsFlexAlign: 'start',
26
+ justifyContent: 'flex-start',
27
+ textAlign: 'left'
28
+ });
29
+ }
30
+ };
31
+ var getGapStyles = function getGapStyles(size, align) {
32
+ var gap = getGapSize(size);
33
+ if (align === SmartLinkAlignment.Right) {
34
+ return css({
35
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
36
+ '> span': {
37
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
38
+ marginLeft: "".concat(gap, "rem")
39
+ },
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
41
+ '> span:first-child': {
42
+ marginLeft: 'initial'
43
+ }
44
+ });
45
+ }
46
+ return css({
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
48
+ '> span': {
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
50
+ marginRight: "".concat(gap, "rem"),
51
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
52
+ '&:last-child': {
53
+ marginRight: 'initial'
54
+ }
55
+ }
56
+ });
57
+ };
58
+ var getHorizontalDirectionStyles = function getHorizontalDirectionStyles(size, align) {
59
+ var lineHeight = getMaxLineHeight(size);
60
+ // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
61
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\tdisplay: block;\n\t\tvertical-align: middle;\n\t\t", "\n\n\t\t> span, > div {\n\t\t\tvertical-align: middle;\n\n\t\t\t&[data-smart-element-date-time],\n\t\t\t&[data-smart-element-text] {\n\t\t\t\t// Show all/wrapped/truncated\n\t\t\t\tdisplay: inline;\n\t\t\t}\n\t\t}\n\n\t\t", "\n\t"])), getTruncateStyles(1, lineHeight + 'rem'), getGapStyles(size, align));
62
+ };
63
+ export var getElementGroupStyles = function getElementGroupStyles(direction, size, align, width, position) {
64
+ return css(
65
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
66
+ getBaseStyles(direction, size),
67
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
68
+ getAlignmentStyles(align), {
69
+ minWidth: '10%'
70
+ },
71
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
72
+ width === SmartLinkWidth.Flexible ? "flex: 1 3;" : '',
73
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
74
+ direction === SmartLinkDirection.Horizontal ? getHorizontalDirectionStyles(size, align) : '',
75
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
76
+ position === SmartLinkPosition.Top ? 'align-self: flex-start;' : '');
77
+ };
78
+
79
+ /**
80
+ * Creates a group of Action components. Accepts an array of Actions, in addition to some styling
81
+ * preferences.
82
+ * @internal
83
+ * @param {ActionGroupProps} ActionGroupProps
84
+ * @see Action
85
+ */
86
+ var ElementGroup = function ElementGroup(_ref) {
87
+ var _ref$align = _ref.align,
88
+ align = _ref$align === void 0 ? SmartLinkAlignment.Left : _ref$align,
89
+ children = _ref.children,
90
+ overrideCss = _ref.overrideCss,
91
+ _ref$direction = _ref.direction,
92
+ direction = _ref$direction === void 0 ? SmartLinkDirection.Horizontal : _ref$direction,
93
+ _ref$size = _ref.size,
94
+ size = _ref$size === void 0 ? SmartLinkSize.Medium : _ref$size,
95
+ _ref$testId = _ref.testId,
96
+ testId = _ref$testId === void 0 ? 'smart-element-group' : _ref$testId,
97
+ _ref$width = _ref.width,
98
+ width = _ref$width === void 0 ? SmartLinkWidth.FitToContent : _ref$width,
99
+ _ref$position = _ref.position,
100
+ position = _ref$position === void 0 ? SmartLinkPosition.Center : _ref$position;
101
+ return jsx("div", {
102
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
103
+ css: [getElementGroupStyles(direction, size, align, width, position), overrideCss],
104
+ "data-smart-element-group": true,
105
+ "data-testid": testId
106
+ }, renderChildren(children, size));
107
+ };
108
+ export default ElementGroup;
@@ -0,0 +1,46 @@
1
+
2
+ ._zulp147b{gap:var(--ds-space-250,1.25rem)}
3
+ ._zulp1e9d{gap:var(--ds-space-200,1rem)}
4
+ ._zulpcxkx{gap:var(--ds-space-100,.5rem)}
5
+ ._zulppdf9{gap:var(--ds-space-050,.25rem)}._16jlkb7n{flex-grow:1}
6
+ ._18m915vq{overflow-y:hidden}
7
+ ._1aaynkob >div, ._15tynkob >span{vertical-align:middle}
8
+ ._1bah1y6m{justify-content:flex-start}
9
+ ._1bahesu3{justify-content:flex-end}
10
+ ._1bto1l2s{text-overflow:ellipsis}
11
+ ._1dthh9n0{-webkit-box-align:end}
12
+ ._1dthv2br{-webkit-box-align:start}
13
+ ._1e0c1txw{display:flex}
14
+ ._1e0c1ule{display:block}
15
+ ._1iu61nu9 >div[data-smart-element-date-time], ._166k1nu9 >div[data-smart-element-text], ._1div1nu9 >span[data-smart-element-date-time], ._bmfb1nu9 >span[data-smart-element-text]{display:inline}
16
+ ._1nmz1hna{word-break:break-word}
17
+ ._1o9z11wp{flex-shrink:3}
18
+ ._1ouwidpf>*{min-width:0}
19
+ ._1reo15vq{overflow-x:hidden}
20
+ ._1ul99by0{min-width:10%}
21
+ ._1ul9idpf{min-width:0}
22
+ ._1wpz1y6m{align-self:flex-start}
23
+ ._1yyjkb7n{-webkit-line-clamp:1}
24
+ ._24rc147b >span{margin-left:var(--ds-space-250,1.25rem)}
25
+ ._24rc1e9d >span{margin-left:var(--ds-space-200,1rem)}
26
+ ._24rccxkx >span{margin-left:var(--ds-space-100,.5rem)}
27
+ ._24rcpdf9 >span{margin-left:var(--ds-space-050,.25rem)}
28
+ ._2lx21bp4{flex-direction:column}
29
+ ._2lx2vrvc{flex-direction:row}
30
+ ._3dveidpf >span:first-of-type{margin-left:0}
31
+ ._4cvr1h6o{align-items:center}
32
+ ._4cvr1y6m{align-items:flex-start}
33
+ ._7yhb147b >span{margin-right:var(--ds-space-250,1.25rem)}
34
+ ._7yhb1e9d >span{margin-right:var(--ds-space-200,1rem)}
35
+ ._7yhbcxkx >span{margin-right:var(--ds-space-100,.5rem)}
36
+ ._7yhbpdf9 >span{margin-right:var(--ds-space-050,.25rem)}
37
+ ._f6ju1ns9>[data-fit-to-content]{min-width:-moz-fit-content;min-width:fit-content}
38
+ ._fiawglyw:empty{display:none}
39
+ ._i0dlf1ug{flex-basis:0%}
40
+ ._m6ukidpf >span:last-child{margin-right:0}
41
+ ._r291h9n0{-ms-flex-align:end}
42
+ ._r291v2br{-ms-flex-align:start}
43
+ ._s7n4nkob{vertical-align:middle}
44
+ ._sudp1e54{-webkit-box-orient:vertical}
45
+ ._y3gn1e5h{text-align:left}
46
+ ._y3gnusic{text-align:right}