@atlaskit/media-ui 22.4.0 → 23.0.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 (179) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/browser/package.json +2 -2
  3. package/classNames/package.json +2 -2
  4. package/codeViewer/package.json +2 -2
  5. package/dist/cjs/customMediaPlayer/index.js +1 -1
  6. package/dist/cjs/index.js +0 -6
  7. package/dist/cjs/mixins.js +2 -9
  8. package/dist/cjs/version.json +1 -1
  9. package/dist/es2019/customMediaPlayer/index.js +1 -1
  10. package/dist/es2019/index.js +1 -1
  11. package/dist/es2019/mixins.js +1 -14
  12. package/dist/es2019/version.json +1 -1
  13. package/dist/esm/customMediaPlayer/index.js +1 -1
  14. package/dist/esm/index.js +1 -1
  15. package/dist/esm/mixins.js +1 -6
  16. package/dist/esm/version.json +1 -1
  17. package/dist/types/MediaButton.d.ts +3 -3
  18. package/dist/types/browser.d.ts +1 -1
  19. package/dist/types/customMediaPlayer/analytics/events/screen/customMediaPlayer.d.ts +2 -2
  20. package/dist/types/customMediaPlayer/analytics/events/track/playCount.d.ts +2 -2
  21. package/dist/types/customMediaPlayer/analytics/events/track/played.d.ts +2 -2
  22. package/dist/types/customMediaPlayer/analytics/events/ui/mediaButtonClicked.d.ts +1 -1
  23. package/dist/types/customMediaPlayer/analytics/events/ui/playPauseBlanketClicked.d.ts +1 -1
  24. package/dist/types/customMediaPlayer/analytics/events/ui/playbackSpeedChanged.d.ts +1 -1
  25. package/dist/types/customMediaPlayer/analytics/events/ui/shortcutPressed.d.ts +1 -1
  26. package/dist/types/customMediaPlayer/analytics/events/ui/timeRangeNavigated.d.ts +1 -1
  27. package/dist/types/customMediaPlayer/analytics/utils/analytics.d.ts +3 -3
  28. package/dist/types/customMediaPlayer/analytics/utils/playbackAttributes.d.ts +5 -5
  29. package/dist/types/customMediaPlayer/fullscreen.d.ts +1 -1
  30. package/dist/types/customMediaPlayer/index.d.ts +1 -1
  31. package/dist/types/customMediaPlayer/styled.d.ts +1 -1
  32. package/dist/types/customMediaPlayer/types.d.ts +2 -2
  33. package/dist/types/formatDate.d.ts +1 -1
  34. package/dist/types/i18n/cs.d.ts +6 -6
  35. package/dist/types/i18n/da.d.ts +6 -6
  36. package/dist/types/i18n/de.d.ts +6 -6
  37. package/dist/types/i18n/en.d.ts +6 -6
  38. package/dist/types/i18n/en_GB.d.ts +6 -6
  39. package/dist/types/i18n/en_ZZ.d.ts +6 -6
  40. package/dist/types/i18n/es.d.ts +6 -6
  41. package/dist/types/i18n/et.d.ts +6 -6
  42. package/dist/types/i18n/fi.d.ts +6 -6
  43. package/dist/types/i18n/fr.d.ts +6 -6
  44. package/dist/types/i18n/hu.d.ts +6 -6
  45. package/dist/types/i18n/it.d.ts +6 -6
  46. package/dist/types/i18n/ja.d.ts +6 -6
  47. package/dist/types/i18n/ko.d.ts +6 -6
  48. package/dist/types/i18n/nb.d.ts +6 -6
  49. package/dist/types/i18n/nl.d.ts +6 -6
  50. package/dist/types/i18n/pl.d.ts +6 -6
  51. package/dist/types/i18n/pt_BR.d.ts +6 -6
  52. package/dist/types/i18n/pt_PT.d.ts +6 -6
  53. package/dist/types/i18n/ru.d.ts +6 -6
  54. package/dist/types/i18n/sk.d.ts +6 -6
  55. package/dist/types/i18n/sv.d.ts +6 -6
  56. package/dist/types/i18n/th.d.ts +6 -6
  57. package/dist/types/i18n/tr.d.ts +6 -6
  58. package/dist/types/i18n/uk.d.ts +6 -6
  59. package/dist/types/i18n/vi.d.ts +6 -6
  60. package/dist/types/i18n/zh.d.ts +6 -6
  61. package/dist/types/i18n/zh_TW.d.ts +6 -6
  62. package/dist/types/imageMetaData/types.d.ts +6 -6
  63. package/dist/types/index.d.ts +1 -1
  64. package/dist/types/messages.d.ts +3 -3
  65. package/dist/types/mime-type-icon.d.ts +1 -1
  66. package/dist/types/mixins.d.ts +0 -1
  67. package/dist/types/shortcut.d.ts +3 -3
  68. package/dist/types/truncateText.d.ts +3 -3
  69. package/dist/types/types.d.ts +2 -2
  70. package/dist/types-ts4.5/MediaButton.d.ts +15 -0
  71. package/dist/types-ts4.5/MediaInlineCard/ErroredView/index.d.ts +16 -0
  72. package/dist/types-ts4.5/MediaInlineCard/Frame/index.d.ts +17 -0
  73. package/dist/types-ts4.5/MediaInlineCard/Frame/styled.d.ts +8 -0
  74. package/dist/types-ts4.5/MediaInlineCard/Icon.d.ts +9 -0
  75. package/dist/types-ts4.5/MediaInlineCard/IconAndTitleLayout/index.d.ts +18 -0
  76. package/dist/types-ts4.5/MediaInlineCard/IconAndTitleLayout/styled.d.ts +39 -0
  77. package/dist/types-ts4.5/MediaInlineCard/LoadedView/index.d.ts +18 -0
  78. package/dist/types-ts4.5/MediaInlineCard/LoadingView/index.d.ts +17 -0
  79. package/dist/types-ts4.5/MediaInlineCard/LoadingView/styled.d.ts +9 -0
  80. package/dist/types-ts4.5/MediaInlineCard/index.d.ts +6 -0
  81. package/dist/types-ts4.5/MediaInlineCard/styled.d.ts +5 -0
  82. package/dist/types-ts4.5/browser.d.ts +6 -0
  83. package/dist/types-ts4.5/camera.d.ts +62 -0
  84. package/dist/types-ts4.5/classNames.d.ts +1 -0
  85. package/dist/types-ts4.5/codeViewer.d.ts +8 -0
  86. package/dist/types-ts4.5/customMediaPlayer/analytics/events/screen/customMediaPlayer.d.ts +5 -0
  87. package/dist/types-ts4.5/customMediaPlayer/analytics/events/track/playCount.d.ts +5 -0
  88. package/dist/types-ts4.5/customMediaPlayer/analytics/events/track/played.d.ts +5 -0
  89. package/dist/types-ts4.5/customMediaPlayer/analytics/events/ui/mediaButtonClicked.d.ts +5 -0
  90. package/dist/types-ts4.5/customMediaPlayer/analytics/events/ui/playPauseBlanketClicked.d.ts +5 -0
  91. package/dist/types-ts4.5/customMediaPlayer/analytics/events/ui/playbackSpeedChanged.d.ts +5 -0
  92. package/dist/types-ts4.5/customMediaPlayer/analytics/events/ui/shortcutPressed.d.ts +5 -0
  93. package/dist/types-ts4.5/customMediaPlayer/analytics/events/ui/timeRangeNavigated.d.ts +5 -0
  94. package/dist/types-ts4.5/customMediaPlayer/analytics/index.d.ts +11 -0
  95. package/dist/types-ts4.5/customMediaPlayer/analytics/utils/analytics.d.ts +18 -0
  96. package/dist/types-ts4.5/customMediaPlayer/analytics/utils/playbackAttributes.d.ts +24 -0
  97. package/dist/types-ts4.5/customMediaPlayer/fullscreen.d.ts +5 -0
  98. package/dist/types-ts4.5/customMediaPlayer/getControlsWrapperClassName.d.ts +1 -0
  99. package/dist/types-ts4.5/customMediaPlayer/icons.d.ts +4 -0
  100. package/dist/types-ts4.5/customMediaPlayer/index.d.ts +76 -0
  101. package/dist/types-ts4.5/customMediaPlayer/playPauseBlanket.d.ts +5 -0
  102. package/dist/types-ts4.5/customMediaPlayer/playbackSpeedControls.d.ts +23 -0
  103. package/dist/types-ts4.5/customMediaPlayer/simultaneousPlayManager.d.ts +9 -0
  104. package/dist/types-ts4.5/customMediaPlayer/styled.d.ts +90 -0
  105. package/dist/types-ts4.5/customMediaPlayer/timeRange.d.ts +29 -0
  106. package/dist/types-ts4.5/customMediaPlayer/timeSaver.d.ts +14 -0
  107. package/dist/types-ts4.5/customMediaPlayer/types.d.ts +4 -0
  108. package/dist/types-ts4.5/ellipsify.d.ts +13 -0
  109. package/dist/types-ts4.5/errorIcon.d.ts +2 -0
  110. package/dist/types-ts4.5/formatDate.d.ts +11 -0
  111. package/dist/types-ts4.5/formatDuration.d.ts +1 -0
  112. package/dist/types-ts4.5/humanReadableSize.d.ts +4 -0
  113. package/dist/types-ts4.5/i18n/cs.d.ts +132 -0
  114. package/dist/types-ts4.5/i18n/da.d.ts +132 -0
  115. package/dist/types-ts4.5/i18n/de.d.ts +132 -0
  116. package/dist/types-ts4.5/i18n/en.d.ts +132 -0
  117. package/dist/types-ts4.5/i18n/en_GB.d.ts +132 -0
  118. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +132 -0
  119. package/dist/types-ts4.5/i18n/es.d.ts +132 -0
  120. package/dist/types-ts4.5/i18n/et.d.ts +94 -0
  121. package/dist/types-ts4.5/i18n/fi.d.ts +132 -0
  122. package/dist/types-ts4.5/i18n/fr.d.ts +132 -0
  123. package/dist/types-ts4.5/i18n/hu.d.ts +132 -0
  124. package/dist/types-ts4.5/i18n/index.d.ts +35 -0
  125. package/dist/types-ts4.5/i18n/is.d.ts +70 -0
  126. package/dist/types-ts4.5/i18n/it.d.ts +132 -0
  127. package/dist/types-ts4.5/i18n/ja.d.ts +132 -0
  128. package/dist/types-ts4.5/i18n/ko.d.ts +132 -0
  129. package/dist/types-ts4.5/i18n/languages.d.ts +27 -0
  130. package/dist/types-ts4.5/i18n/nb.d.ts +132 -0
  131. package/dist/types-ts4.5/i18n/nl.d.ts +132 -0
  132. package/dist/types-ts4.5/i18n/pl.d.ts +132 -0
  133. package/dist/types-ts4.5/i18n/pt_BR.d.ts +132 -0
  134. package/dist/types-ts4.5/i18n/pt_PT.d.ts +94 -0
  135. package/dist/types-ts4.5/i18n/ro.d.ts +70 -0
  136. package/dist/types-ts4.5/i18n/ru.d.ts +132 -0
  137. package/dist/types-ts4.5/i18n/sk.d.ts +94 -0
  138. package/dist/types-ts4.5/i18n/sv.d.ts +132 -0
  139. package/dist/types-ts4.5/i18n/th.d.ts +132 -0
  140. package/dist/types-ts4.5/i18n/tr.d.ts +132 -0
  141. package/dist/types-ts4.5/i18n/uk.d.ts +132 -0
  142. package/dist/types-ts4.5/i18n/vi.d.ts +132 -0
  143. package/dist/types-ts4.5/i18n/zh.d.ts +132 -0
  144. package/dist/types-ts4.5/i18n/zh_TW.d.ts +132 -0
  145. package/dist/types-ts4.5/imageMetaData/imageOrientationUtil.d.ts +5 -0
  146. package/dist/types-ts4.5/imageMetaData/index.d.ts +10 -0
  147. package/dist/types-ts4.5/imageMetaData/metatags.d.ts +2 -0
  148. package/dist/types-ts4.5/imageMetaData/parseJPEG.d.ts +2 -0
  149. package/dist/types-ts4.5/imageMetaData/parsePNG.d.ts +3 -0
  150. package/dist/types-ts4.5/imageMetaData/parsePNGXMP.d.ts +2 -0
  151. package/dist/types-ts4.5/imageMetaData/types.d.ts +46 -0
  152. package/dist/types-ts4.5/inactivityDetector/inactivityDetector.d.ts +24 -0
  153. package/dist/types-ts4.5/inactivityDetector/styled.d.ts +8 -0
  154. package/dist/types-ts4.5/index.d.ts +36 -0
  155. package/dist/types-ts4.5/intersectionObserver.d.ts +1 -0
  156. package/dist/types-ts4.5/locales.d.ts +4 -0
  157. package/dist/types-ts4.5/media-type-icon.d.ts +21 -0
  158. package/dist/types-ts4.5/mediaImage/index.d.ts +29 -0
  159. package/dist/types-ts4.5/mediaImage/styled.d.ts +5 -0
  160. package/dist/types-ts4.5/messages.d.ts +8 -0
  161. package/dist/types-ts4.5/mime-type-icon.d.ts +11 -0
  162. package/dist/types-ts4.5/mixins.d.ts +7 -0
  163. package/dist/types-ts4.5/modalSpinner.d.ts +15 -0
  164. package/dist/types-ts4.5/shortcut.d.ts +28 -0
  165. package/dist/types-ts4.5/truncateText.d.ts +23 -0
  166. package/dist/types-ts4.5/types.d.ts +16 -0
  167. package/dist/types-ts4.5/util.d.ts +23 -0
  168. package/errorIcon/package.json +2 -2
  169. package/formatDate/package.json +2 -2
  170. package/locales/package.json +2 -2
  171. package/media-type-icon/package.json +2 -2
  172. package/messages/package.json +2 -2
  173. package/mime-type-icon/package.json +2 -2
  174. package/modalSpinner/package.json +2 -2
  175. package/package.json +13 -6
  176. package/report.api.md +0 -3
  177. package/truncateText/package.json +2 -2
  178. package/types/package.json +2 -2
  179. package/util/package.json +2 -2
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -85,10 +91,4 @@ declare const _default: {
85
91
  'fabric.media.zoom_in': string;
86
92
  'fabric.media.zoom_out': string;
87
93
  };
88
- /**
89
- * NOTE:
90
- *
91
- * This file is automatically generated by Traduki 2.0.
92
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
93
- */
94
94
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -85,10 +91,4 @@ declare const _default: {
85
91
  'fabric.media.zoom_in': string;
86
92
  'fabric.media.zoom_out': string;
87
93
  };
88
- /**
89
- * NOTE:
90
- *
91
- * This file is automatically generated by Traduki 2.0.
92
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
93
- */
94
94
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
1
7
  declare const _default: {
2
8
  'fabric.media.accounts': string;
3
9
  'fabric.media.actions': string;
@@ -123,10 +129,4 @@ declare const _default: {
123
129
  'fabric.media.zoom_in': string;
124
130
  'fabric.media.zoom_out': string;
125
131
  };
126
- /**
127
- * NOTE:
128
- *
129
- * This file is automatically generated by Traduki 2.0.
130
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
131
- */
132
132
  export default _default;
@@ -1,10 +1,10 @@
1
- export declare type ImageMetaDataTags = {
1
+ export type ImageMetaDataTags = {
2
2
  Orientation?: string;
3
3
  PixelPerUnitX?: number;
4
4
  PixelPerUnitY?: number;
5
5
  [key: string]: string | number | undefined;
6
6
  };
7
- export declare type ImageMetaData = {
7
+ export type ImageMetaData = {
8
8
  type: string;
9
9
  width: number;
10
10
  height: number;
@@ -12,7 +12,7 @@ export declare type ImageMetaData = {
12
12
  naturalHeight: number;
13
13
  tags: ImageMetaDataTags | null;
14
14
  };
15
- export declare type ImageInfo = {
15
+ export type ImageInfo = {
16
16
  scaleFactor: number;
17
17
  width: number;
18
18
  height: number;
@@ -26,21 +26,21 @@ export declare enum SupportedImageMetaTag {
26
26
  YResolution = "YResolution",
27
27
  Orientation = "Orientation"
28
28
  }
29
- export declare type FileInfo = {
29
+ export type FileInfo = {
30
30
  file: File;
31
31
  src: string;
32
32
  };
33
33
  export declare const ExifOrientation: {
34
34
  [key: string]: number;
35
35
  };
36
- export declare type PNGMetaData = {
36
+ export type PNGMetaData = {
37
37
  iTXt: string;
38
38
  pHYs: {
39
39
  PixelPerUnitX?: number;
40
40
  PixelPerUnitY?: number;
41
41
  };
42
42
  };
43
- export declare type PNGChunk = {
43
+ export type PNGChunk = {
44
44
  name: string;
45
45
  data: Uint8Array;
46
46
  };
@@ -6,7 +6,7 @@ export type { MediaInlineCardErroredViewProps, MediaInlineCardLoadedViewProps, M
6
6
  export { Ellipsify } from './ellipsify';
7
7
  export type { EllipsifyProps } from './ellipsify';
8
8
  export { toHumanReadableMediaSize } from './humanReadableSize';
9
- export { absolute, borderRadius, borderRadiusBottom, center, easeInOutCubic, ellipsis, fadeIn, size, } from './mixins';
9
+ export { absolute, borderRadius, borderRadiusBottom, center, easeInOutCubic, ellipsis, size, } from './mixins';
10
10
  export { Bounds, Camera, Rectangle, Vector2 } from './camera';
11
11
  export { messages } from './messages';
12
12
  export type { MessageKey } from './messages';
@@ -1,7 +1,7 @@
1
1
  import { MessageDescriptor } from 'react-intl-next';
2
- export declare type RequestAccessMessageKey = 'request_access_description' | 'click_to_join_description' | 'request_access_pending_description' | 'click_to_join' | 'request_access' | 'request_access_pending' | 'forbidden_description' | 'request_denied_description';
3
- export declare type MessageKey = 'retry' | 'failed_to_load' | 'failed_to_upload' | 'recent_uploads' | 'upload_file' | 'drag_and_drop_your_files' | 'drag_and_drop_your_files_and_folders' | 'drop_your_files' | 'upload' | 'cancel' | 'search_all_gifs' | 'cant_retrieve_gifs' | 'cant_retrieve_files' | 'check_your_network' | 'try_again' | 'try_another_account' | 'no_gifs_found' | 'no_gifs_found_suggestion' | 'load_more_gifs' | 'add_account' | 'unlink_account' | 'upload_file_from' | 'connect_to' | 'connect_account_description' | 'connect_link_account' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'invalid_permissions' | 'invalid_permissions_description' | 'upload_an_avatar' | 'loading' | 'loading_file' | 'save' | 'or' | 'upload_photo' | 'default_avatars' | 'drag_and_drop_images_here' | 'upload_image' | 'image_url_invalid_error' | 'image_format_invalid_error' | 'image_size_too_large_error' | 'something_went_wrong' | 'might_be_a_hiccup' | 'couldnt_generate_preview' | 'couldnt_generate_encrypted_entry_preview' | 'cant_preview_file_type' | 'item_not_found_in_list' | 'not_found_title' | 'not_found_description' | 'no_pdf_artifacts' | 'give_feedback' | 'try_downloading_file' | 'webgl_warning_description' | 'unable_to_annotate_image' | 'learn_more' | 'accounts' | 'actions' | 'error_hint_retry' | 'error_hint_critical' | 'close' | 'could_not_load_editor' | 'could_not_save_image' | 'could_not_load_link' | 'annotate' | 'annotate_tool_arrow' | 'annotate_tool_text' | 'annotate_tool_shape' | 'annotate_tool_brush' | 'annotate_tool_blur' | 'annotate_tool_line_thickness' | 'annotate_tool_color' | 'annotate_confirmation_close_anyway' | 'annotate_confirmation_heading' | 'annotate_confirmation_content' | 'drop_your_files_here' | 'share_files_instantly' | 'insert_files' | 'zoom_out' | 'zoom_in' | 'remove_image' | 'play' | 'pause' | 'disable_fullscreen' | 'enable_fullscreen' | 'error_loading_file' | 'error_generating_preview' | 'download' | 'unknown' | 'document' | 'audio' | 'video' | 'image' | 'archive' | 'email' | 'text' | 'displayThumbnail' | 'search' | 'view' | 'viewIn' | 'viewOriginal' | 'changeView' | 'playbackSpeed' | 'skipBackward' | 'skipForward' | 'playbackDefaultSpeed' | 'preview' | 'preview_unavailable' | 'preview_currently_unavailable' | 'creating_preview' | 'couldnt_load_file' | 'error_429' | 'close_and_reopen' | 'viewer_rateLimited' | 'zip_entry_load_fail' | RequestAccessMessageKey;
4
- declare type Messages = {
2
+ export type RequestAccessMessageKey = 'request_access_description' | 'click_to_join_description' | 'request_access_pending_description' | 'click_to_join' | 'request_access' | 'request_access_pending' | 'forbidden_description' | 'request_denied_description';
3
+ export type MessageKey = 'retry' | 'failed_to_load' | 'failed_to_upload' | 'recent_uploads' | 'upload_file' | 'drag_and_drop_your_files' | 'drag_and_drop_your_files_and_folders' | 'drop_your_files' | 'upload' | 'cancel' | 'search_all_gifs' | 'cant_retrieve_gifs' | 'cant_retrieve_files' | 'check_your_network' | 'try_again' | 'try_another_account' | 'no_gifs_found' | 'no_gifs_found_suggestion' | 'load_more_gifs' | 'add_account' | 'unlink_account' | 'upload_file_from' | 'connect_to' | 'connect_account_description' | 'connect_link_account' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'invalid_permissions' | 'invalid_permissions_description' | 'upload_an_avatar' | 'loading' | 'loading_file' | 'save' | 'or' | 'upload_photo' | 'default_avatars' | 'drag_and_drop_images_here' | 'upload_image' | 'image_url_invalid_error' | 'image_format_invalid_error' | 'image_size_too_large_error' | 'something_went_wrong' | 'might_be_a_hiccup' | 'couldnt_generate_preview' | 'couldnt_generate_encrypted_entry_preview' | 'cant_preview_file_type' | 'item_not_found_in_list' | 'not_found_title' | 'not_found_description' | 'no_pdf_artifacts' | 'give_feedback' | 'try_downloading_file' | 'webgl_warning_description' | 'unable_to_annotate_image' | 'learn_more' | 'accounts' | 'actions' | 'error_hint_retry' | 'error_hint_critical' | 'close' | 'could_not_load_editor' | 'could_not_save_image' | 'could_not_load_link' | 'annotate' | 'annotate_tool_arrow' | 'annotate_tool_text' | 'annotate_tool_shape' | 'annotate_tool_brush' | 'annotate_tool_blur' | 'annotate_tool_line_thickness' | 'annotate_tool_color' | 'annotate_confirmation_close_anyway' | 'annotate_confirmation_heading' | 'annotate_confirmation_content' | 'drop_your_files_here' | 'share_files_instantly' | 'insert_files' | 'zoom_out' | 'zoom_in' | 'remove_image' | 'play' | 'pause' | 'disable_fullscreen' | 'enable_fullscreen' | 'error_loading_file' | 'error_generating_preview' | 'download' | 'unknown' | 'document' | 'audio' | 'video' | 'image' | 'archive' | 'email' | 'text' | 'displayThumbnail' | 'search' | 'view' | 'viewIn' | 'viewOriginal' | 'changeView' | 'playbackSpeed' | 'skipBackward' | 'skipForward' | 'playbackDefaultSpeed' | 'preview' | 'preview_unavailable' | 'preview_currently_unavailable' | 'creating_preview' | 'couldnt_load_file' | 'error_429' | 'close_and_reopen' | 'viewer_rateLimited' | 'zip_entry_load_fail' | RequestAccessMessageKey;
4
+ type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
7
7
  export declare const messages: Messages;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { MediaType } from '@atlaskit/media-common';
3
- declare type MediaTypeProps = {
3
+ type MediaTypeProps = {
4
4
  testId?: string;
5
5
  mediaType?: MediaType;
6
6
  mimeType?: string;
@@ -5,4 +5,3 @@ export declare const absolute: (top?: number, left?: number) => string;
5
5
  export declare const borderRadius: string;
6
6
  export declare const borderRadiusBottom: string;
7
7
  export declare const easeInOutCubic = "cubic-bezier(0.645, 0.045, 0.355, 1)";
8
- export declare const fadeIn: string;
@@ -5,16 +5,16 @@ export declare const keyCodes: {
5
5
  rightArrow: string;
6
6
  leftArrow: string;
7
7
  };
8
- declare type WithKeyCode = {
8
+ type WithKeyCode = {
9
9
  /** @deprecated use code: string instead */
10
10
  keyCode: number;
11
11
  code?: never;
12
12
  };
13
- declare type WithCode = {
13
+ type WithCode = {
14
14
  code: string;
15
15
  keyCode?: never;
16
16
  };
17
- export declare type ShortcutProps = {
17
+ export type ShortcutProps = {
18
18
  handler: () => void;
19
19
  } & (WithKeyCode | WithCode);
20
20
  export declare class Shortcut extends Component<ShortcutProps, {}> {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type TruncateStyledProps = Omit<Required<TruncateProps>, 'text'>;
2
+ type TruncateStyledProps = Omit<Required<TruncateProps>, 'text'>;
3
3
  export declare const TruncateLeft: import("@emotion/styled").StyledComponent<{
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
5
  as?: React.ElementType<any> | undefined;
@@ -8,13 +8,13 @@ export declare const TruncateRight: import("@emotion/styled").StyledComponent<{
8
8
  theme?: import("@emotion/react").Theme | undefined;
9
9
  as?: React.ElementType<any> | undefined;
10
10
  } & TruncateStyledProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
11
- export declare type TruncateProps = {
11
+ export type TruncateProps = {
12
12
  text: string;
13
13
  fontSizePX?: number;
14
14
  startFixedChars?: number;
15
15
  endFixedChars?: number;
16
16
  };
17
- export declare type TruncateOutput = {
17
+ export type TruncateOutput = {
18
18
  left: string;
19
19
  right: string;
20
20
  };
@@ -6,11 +6,11 @@ export interface ContextViewModel {
6
6
  icon?: ReactNode;
7
7
  text: string;
8
8
  }
9
- export declare type AccessTypes = 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDDEN' | 'DIRECT_ACCESS' | 'DENIED_REQUEST_EXISTS' | 'APPROVED_REQUEST_EXISTS' | 'ACCESS_EXISTS';
9
+ export type AccessTypes = 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDDEN' | 'DIRECT_ACCESS' | 'DENIED_REQUEST_EXISTS' | 'APPROVED_REQUEST_EXISTS' | 'ACCESS_EXISTS';
10
10
  export interface AccessContext {
11
11
  accessType?: AccessTypes;
12
12
  cloudId?: string;
13
13
  url?: string;
14
14
  smartLinksAccessMetadataExperimentCohort?: 'experiment' | 'control' | 'not-enrolled';
15
15
  }
16
- export declare type InlinePreloaderStyle = 'on-left-with-skeleton' | 'on-right-without-skeleton';
16
+ export type InlinePreloaderStyle = 'on-left-with-skeleton' | 'on-right-without-skeleton';
@@ -0,0 +1,15 @@
1
+ import { RefObject } from 'react';
2
+ import { ButtonProps } from '@atlaskit/button/types';
3
+ import { CustomThemeButtonProps, Appearance } from '@atlaskit/button/types';
4
+ type MediaButtonAppearance = Appearance;
5
+ type WithMediaButtonAppearance<T> = Omit<T, 'appearance'> & {
6
+ appearance?: MediaButtonAppearance;
7
+ };
8
+ export interface MediaButtonProps extends ButtonProps {
9
+ buttonRef?: RefObject<HTMLButtonElement>;
10
+ }
11
+ type Props = WithMediaButtonAppearance<CustomThemeButtonProps> & {
12
+ buttonRef?: RefObject<HTMLButtonElement>;
13
+ };
14
+ export default function MediaButton({ appearance, buttonRef, ...rest }: Props): JSX.Element;
15
+ export {};
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ export interface MediaInlineCardErroredViewProps {
3
+ /** The error message to display */
4
+ message: string;
5
+ /** The optional click handler */
6
+ onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
7
+ /** A flag that determines whether the card is selected in edit mode. */
8
+ isSelected?: boolean;
9
+ /** A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests */
10
+ testId?: string;
11
+ icon?: React.ReactNode;
12
+ }
13
+ export declare class MediaInlineCardErroredView extends React.Component<MediaInlineCardErroredViewProps> {
14
+ renderMessage: () => JSX.Element;
15
+ render(): JSX.Element;
16
+ }
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ export interface FrameViewProps {
3
+ /** A flag that determines whether the card is selected in edit mode. */
4
+ isSelected?: boolean;
5
+ isInteractive?: boolean;
6
+ children?: React.ReactNode;
7
+ /** The optional click handler */
8
+ onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
9
+ /** A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests */
10
+ testId?: string;
11
+ }
12
+ export declare class Frame extends React.Component<FrameViewProps> {
13
+ handleClick: (event: React.MouseEvent<HTMLDivElement>) => void;
14
+ handleKeyPress: (event: React.KeyboardEvent<HTMLDivElement>) => void;
15
+ handleMouseDown: (e: React.MouseEvent) => void;
16
+ render(): JSX.Element;
17
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export interface WrapperProps {
3
+ isSelected?: boolean;
4
+ }
5
+ export declare const Wrapper: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme | undefined;
7
+ as?: import("react").ElementType<any> | undefined;
8
+ } & WrapperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export declare const Icon: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
6
+ export declare const AKIconWrapper: import("@emotion/styled").StyledComponent<{
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any> | undefined;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export interface IconAndTitleLayoutProps {
3
+ emoji?: React.ReactNode;
4
+ icon?: React.ReactNode;
5
+ title: React.ReactNode;
6
+ right?: React.ReactNode;
7
+ titleColor?: string;
8
+ children?: React.ReactNode;
9
+ defaultIcon?: React.ReactNode;
10
+ testId?: string;
11
+ }
12
+ export declare class IconAndTitleLayout extends React.Component<IconAndTitleLayoutProps> {
13
+ private renderAtlaskitIcon;
14
+ private renderImageIcon;
15
+ private renderIconPlaceholder;
16
+ renderIcon(testId: string): JSX.Element;
17
+ render(): JSX.Element;
18
+ }