@atlaskit/mention 19.9.6 → 21.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/cjs/api/MentionResource.js +4 -6
  3. package/dist/cjs/api/TeamMentionResource.js +2 -2
  4. package/dist/cjs/api/analytics.js +2 -15
  5. package/dist/cjs/components/LockCircleIcon/index.js +28 -0
  6. package/dist/cjs/components/Mention/PrimitiveMention.js +118 -0
  7. package/dist/cjs/components/Mention/index.js +42 -24
  8. package/dist/cjs/components/Mention/ufoExperiences.js +61 -0
  9. package/dist/cjs/components/MentionDescriptionByline/TeamMentionDescriptionByline.js +5 -5
  10. package/dist/cjs/components/MentionDescriptionByline/styles.js +4 -2
  11. package/dist/cjs/components/MentionItem/index.js +14 -8
  12. package/dist/cjs/components/MentionItem/styles.js +12 -10
  13. package/dist/cjs/components/MentionList/index.js +4 -2
  14. package/dist/cjs/components/MentionList/styles.js +5 -3
  15. package/dist/cjs/components/MentionListError/styles.js +7 -5
  16. package/dist/cjs/components/MentionPicker/index.js +12 -4
  17. package/dist/cjs/components/MentionPicker/styles.js +5 -3
  18. package/dist/cjs/components/MessagesIntlProvider/index.js +57 -0
  19. package/dist/cjs/components/NoAccessTooltip/index.js +29 -0
  20. package/dist/cjs/components/{NoAccessTooltip.js → NoAccessTooltip/main.js} +4 -2
  21. package/dist/cjs/components/ResourcedMentionList/index.js +14 -6
  22. package/dist/cjs/components/Scrollable/index.js +1 -1
  23. package/dist/cjs/components/Scrollable/styles.js +4 -2
  24. package/dist/cjs/components/TeamMentionHighlight/index.js +6 -4
  25. package/dist/cjs/components/TeamMentionHighlight/lazy.js +28 -0
  26. package/dist/cjs/components/TeamMentionHighlight/styles.js +11 -9
  27. package/dist/cjs/components/i18n.js +2 -2
  28. package/dist/cjs/i18n/cs.js +2 -2
  29. package/dist/cjs/i18n/da.js +2 -2
  30. package/dist/cjs/i18n/de.js +2 -2
  31. package/dist/cjs/i18n/en_ZZ.js +32 -0
  32. package/dist/cjs/i18n/es.js +2 -2
  33. package/dist/cjs/i18n/et.js +2 -2
  34. package/dist/cjs/i18n/fi.js +2 -2
  35. package/dist/cjs/i18n/fr.js +2 -2
  36. package/dist/cjs/i18n/hu.js +2 -2
  37. package/dist/cjs/i18n/it.js +2 -2
  38. package/dist/cjs/i18n/ja.js +2 -2
  39. package/dist/cjs/i18n/ko.js +2 -2
  40. package/dist/cjs/i18n/nb.js +2 -2
  41. package/dist/cjs/i18n/nl.js +2 -2
  42. package/dist/cjs/i18n/pl.js +2 -2
  43. package/dist/cjs/i18n/pt_BR.js +2 -2
  44. package/dist/cjs/i18n/pt_PT.js +2 -2
  45. package/dist/cjs/i18n/ru.js +2 -2
  46. package/dist/cjs/i18n/sk.js +2 -2
  47. package/dist/cjs/i18n/sv.js +2 -2
  48. package/dist/cjs/i18n/th.js +2 -2
  49. package/dist/cjs/i18n/tr.js +2 -2
  50. package/dist/cjs/i18n/uk.js +2 -2
  51. package/dist/cjs/i18n/vi.js +2 -2
  52. package/dist/cjs/i18n/zh.js +2 -2
  53. package/dist/cjs/i18n/zh_TW.js +2 -2
  54. package/dist/cjs/index.js +12 -8
  55. package/dist/cjs/shared-styles.js +4 -2
  56. package/dist/cjs/util/analytics.js +2 -2
  57. package/dist/cjs/util/i18n.js +297 -26
  58. package/dist/cjs/version.json +1 -1
  59. package/dist/es2019/api/analytics.js +0 -9
  60. package/dist/es2019/components/LockCircleIcon/index.js +7 -0
  61. package/dist/es2019/components/Mention/PrimitiveMention.js +117 -0
  62. package/dist/es2019/components/Mention/index.js +35 -16
  63. package/dist/es2019/components/Mention/ufoExperiences.js +19 -0
  64. package/dist/es2019/components/MentionDescriptionByline/TeamMentionDescriptionByline.js +1 -1
  65. package/dist/es2019/components/MentionDescriptionByline/styles.js +3 -4
  66. package/dist/es2019/components/MentionItem/index.js +11 -7
  67. package/dist/es2019/components/MentionItem/styles.js +6 -7
  68. package/dist/es2019/components/MentionList/index.js +3 -2
  69. package/dist/es2019/components/MentionList/styles.js +3 -4
  70. package/dist/es2019/components/MentionListError/GenericErrorIllustration.js +1 -0
  71. package/dist/es2019/components/MentionListError/styles.js +5 -6
  72. package/dist/es2019/components/MentionPicker/index.js +11 -4
  73. package/dist/es2019/components/MentionPicker/styles.js +4 -5
  74. package/dist/es2019/components/MessagesIntlProvider/index.js +38 -0
  75. package/dist/es2019/components/NoAccessTooltip/index.js +9 -0
  76. package/dist/es2019/components/{NoAccessTooltip.js → NoAccessTooltip/main.js} +4 -2
  77. package/dist/es2019/components/ResourcedMentionList/index.js +6 -4
  78. package/dist/es2019/components/Scrollable/index.js +1 -1
  79. package/dist/es2019/components/Scrollable/styles.js +3 -4
  80. package/dist/es2019/components/TeamMentionHighlight/index.js +4 -3
  81. package/dist/es2019/components/TeamMentionHighlight/lazy.js +6 -0
  82. package/dist/es2019/components/TeamMentionHighlight/styles.js +5 -4
  83. package/dist/es2019/components/i18n.js +1 -1
  84. package/dist/es2019/i18n/cs.js +2 -2
  85. package/dist/es2019/i18n/da.js +2 -2
  86. package/dist/es2019/i18n/de.js +2 -2
  87. package/dist/es2019/i18n/en_ZZ.js +24 -0
  88. package/dist/es2019/i18n/es.js +2 -2
  89. package/dist/es2019/i18n/et.js +2 -2
  90. package/dist/es2019/i18n/fi.js +2 -2
  91. package/dist/es2019/i18n/fr.js +2 -2
  92. package/dist/es2019/i18n/hu.js +2 -2
  93. package/dist/es2019/i18n/it.js +2 -2
  94. package/dist/es2019/i18n/ja.js +2 -2
  95. package/dist/es2019/i18n/ko.js +2 -2
  96. package/dist/es2019/i18n/nb.js +2 -2
  97. package/dist/es2019/i18n/nl.js +2 -2
  98. package/dist/es2019/i18n/pl.js +2 -2
  99. package/dist/es2019/i18n/pt_BR.js +2 -2
  100. package/dist/es2019/i18n/pt_PT.js +2 -2
  101. package/dist/es2019/i18n/ru.js +2 -2
  102. package/dist/es2019/i18n/sk.js +2 -2
  103. package/dist/es2019/i18n/sv.js +2 -2
  104. package/dist/es2019/i18n/th.js +2 -2
  105. package/dist/es2019/i18n/tr.js +2 -2
  106. package/dist/es2019/i18n/uk.js +2 -2
  107. package/dist/es2019/i18n/vi.js +2 -2
  108. package/dist/es2019/i18n/zh.js +2 -2
  109. package/dist/es2019/i18n/zh_TW.js +2 -2
  110. package/dist/es2019/index.js +3 -4
  111. package/dist/es2019/shared-styles.js +3 -2
  112. package/dist/es2019/util/i18n.js +260 -18
  113. package/dist/es2019/version.json +1 -1
  114. package/dist/esm/api/MentionResource.js +4 -4
  115. package/dist/esm/api/TeamMentionResource.js +2 -2
  116. package/dist/esm/api/analytics.js +0 -10
  117. package/dist/esm/components/LockCircleIcon/index.js +11 -0
  118. package/dist/esm/components/Mention/PrimitiveMention.js +100 -0
  119. package/dist/esm/components/Mention/index.js +36 -21
  120. package/dist/esm/components/Mention/ufoExperiences.js +44 -0
  121. package/dist/esm/components/MentionDescriptionByline/TeamMentionDescriptionByline.js +1 -1
  122. package/dist/esm/components/MentionDescriptionByline/styles.js +3 -4
  123. package/dist/esm/components/MentionItem/index.js +11 -7
  124. package/dist/esm/components/MentionItem/styles.js +6 -7
  125. package/dist/esm/components/MentionList/index.js +3 -2
  126. package/dist/esm/components/MentionList/styles.js +4 -5
  127. package/dist/esm/components/MentionListError/GenericErrorIllustration.js +1 -0
  128. package/dist/esm/components/MentionListError/styles.js +3 -4
  129. package/dist/esm/components/MentionPicker/index.js +11 -4
  130. package/dist/esm/components/MentionPicker/styles.js +3 -4
  131. package/dist/esm/components/MessagesIntlProvider/index.js +41 -0
  132. package/dist/esm/components/NoAccessTooltip/index.js +11 -0
  133. package/dist/esm/components/{NoAccessTooltip.js → NoAccessTooltip/main.js} +4 -2
  134. package/dist/esm/components/ResourcedMentionList/index.js +8 -6
  135. package/dist/esm/components/Scrollable/index.js +1 -1
  136. package/dist/esm/components/Scrollable/styles.js +3 -4
  137. package/dist/esm/components/TeamMentionHighlight/index.js +4 -3
  138. package/dist/esm/components/TeamMentionHighlight/lazy.js +10 -0
  139. package/dist/esm/components/TeamMentionHighlight/styles.js +4 -3
  140. package/dist/esm/components/i18n.js +1 -1
  141. package/dist/esm/i18n/cs.js +2 -2
  142. package/dist/esm/i18n/da.js +2 -2
  143. package/dist/esm/i18n/de.js +2 -2
  144. package/dist/esm/i18n/en_ZZ.js +24 -0
  145. package/dist/esm/i18n/es.js +2 -2
  146. package/dist/esm/i18n/et.js +2 -2
  147. package/dist/esm/i18n/fi.js +2 -2
  148. package/dist/esm/i18n/fr.js +2 -2
  149. package/dist/esm/i18n/hu.js +2 -2
  150. package/dist/esm/i18n/it.js +2 -2
  151. package/dist/esm/i18n/ja.js +2 -2
  152. package/dist/esm/i18n/ko.js +2 -2
  153. package/dist/esm/i18n/nb.js +2 -2
  154. package/dist/esm/i18n/nl.js +2 -2
  155. package/dist/esm/i18n/pl.js +2 -2
  156. package/dist/esm/i18n/pt_BR.js +2 -2
  157. package/dist/esm/i18n/pt_PT.js +2 -2
  158. package/dist/esm/i18n/ru.js +2 -2
  159. package/dist/esm/i18n/sk.js +2 -2
  160. package/dist/esm/i18n/sv.js +2 -2
  161. package/dist/esm/i18n/th.js +2 -2
  162. package/dist/esm/i18n/tr.js +2 -2
  163. package/dist/esm/i18n/uk.js +2 -2
  164. package/dist/esm/i18n/vi.js +2 -2
  165. package/dist/esm/i18n/zh.js +2 -2
  166. package/dist/esm/i18n/zh_TW.js +2 -2
  167. package/dist/esm/index.js +3 -4
  168. package/dist/esm/shared-styles.js +3 -2
  169. package/dist/esm/util/analytics.js +2 -2
  170. package/dist/esm/util/i18n.js +284 -23
  171. package/dist/esm/version.json +1 -1
  172. package/dist/types/api/analytics.d.ts +0 -5
  173. package/dist/types/components/LockCircleIcon/index.d.ts +3 -0
  174. package/dist/types/components/Mention/PrimitiveMention.d.ts +7 -0
  175. package/dist/types/components/Mention/index.d.ts +3 -1
  176. package/dist/types/components/Mention/ufoExperiences.d.ts +9 -0
  177. package/dist/types/components/MentionDescriptionByline/styles.d.ts +2 -2
  178. package/dist/types/components/MentionItem/MentionHighlightHelpers.d.ts +2 -3
  179. package/dist/types/components/MentionItem/styles.d.ts +9 -9
  180. package/dist/types/components/MentionList/styles.d.ts +2 -2
  181. package/dist/types/components/MentionListError/styles.d.ts +5 -5
  182. package/dist/types/components/MentionPicker/index.d.ts +11 -8
  183. package/dist/types/components/MentionPicker/styles.d.ts +3 -3
  184. package/dist/types/components/MessagesIntlProvider/index.d.ts +3 -0
  185. package/dist/types/components/NoAccessTooltip/index.d.ts +6 -0
  186. package/dist/types/components/{NoAccessTooltip.d.ts → NoAccessTooltip/main.d.ts} +0 -0
  187. package/dist/types/components/Scrollable/styles.d.ts +2 -4
  188. package/dist/types/components/TeamMentionHighlight/index.d.ts +1 -1
  189. package/dist/types/components/TeamMentionHighlight/lazy.d.ts +4 -0
  190. package/dist/types/components/TeamMentionHighlight/styles.d.ts +8 -8
  191. package/dist/types/i18n/cs.d.ts +1 -1
  192. package/dist/types/i18n/da.d.ts +1 -1
  193. package/dist/types/i18n/de.d.ts +1 -1
  194. package/dist/types/i18n/en_ZZ.d.ts +24 -0
  195. package/dist/types/i18n/es.d.ts +1 -1
  196. package/dist/types/i18n/et.d.ts +1 -1
  197. package/dist/types/i18n/fi.d.ts +1 -1
  198. package/dist/types/i18n/fr.d.ts +1 -1
  199. package/dist/types/i18n/hu.d.ts +1 -1
  200. package/dist/types/i18n/it.d.ts +1 -1
  201. package/dist/types/i18n/ja.d.ts +1 -1
  202. package/dist/types/i18n/ko.d.ts +1 -1
  203. package/dist/types/i18n/nb.d.ts +1 -1
  204. package/dist/types/i18n/nl.d.ts +1 -1
  205. package/dist/types/i18n/pl.d.ts +1 -1
  206. package/dist/types/i18n/pt_BR.d.ts +1 -1
  207. package/dist/types/i18n/pt_PT.d.ts +1 -1
  208. package/dist/types/i18n/ru.d.ts +1 -1
  209. package/dist/types/i18n/sk.d.ts +1 -1
  210. package/dist/types/i18n/sv.d.ts +1 -1
  211. package/dist/types/i18n/th.d.ts +1 -1
  212. package/dist/types/i18n/tr.d.ts +1 -1
  213. package/dist/types/i18n/uk.d.ts +1 -1
  214. package/dist/types/i18n/vi.d.ts +1 -1
  215. package/dist/types/i18n/zh.d.ts +1 -1
  216. package/dist/types/i18n/zh_TW.d.ts +1 -1
  217. package/dist/types/index.d.ts +3 -4
  218. package/dist/types/shared-styles.d.ts +2 -2
  219. package/dist/types/util/i18n.d.ts +32 -17
  220. package/docs/1-in-editor.tsx +4 -36
  221. package/package.json +24 -13
  222. package/tsconfig.json +1 -2
  223. package/dist/cjs/api/SmartMentionResource.js +0 -338
  224. package/dist/cjs/api/SmartMentionTypes.js +0 -15
  225. package/dist/cjs/api/extract-react-types/smart-config-props.js +0 -15
  226. package/dist/cjs/api/recommendationClient.js +0 -57
  227. package/dist/cjs/components/Mention/styles.js +0 -66
  228. package/dist/cjs/default-mention-name-resolver/default-mention-name-resolver.js +0 -136
  229. package/dist/cjs/default-mention-name-resolver/graphqlUtils.js +0 -48
  230. package/dist/es2019/api/SmartMentionResource.js +0 -219
  231. package/dist/es2019/api/SmartMentionTypes.js +0 -7
  232. package/dist/es2019/api/extract-react-types/smart-config-props.js +0 -8
  233. package/dist/es2019/api/recommendationClient.js +0 -46
  234. package/dist/es2019/components/Mention/styles.js +0 -61
  235. package/dist/es2019/default-mention-name-resolver/default-mention-name-resolver.js +0 -64
  236. package/dist/es2019/default-mention-name-resolver/graphqlUtils.js +0 -39
  237. package/dist/esm/api/SmartMentionResource.js +0 -317
  238. package/dist/esm/api/SmartMentionTypes.js +0 -7
  239. package/dist/esm/api/extract-react-types/smart-config-props.js +0 -8
  240. package/dist/esm/api/recommendationClient.js +0 -48
  241. package/dist/esm/components/Mention/styles.js +0 -50
  242. package/dist/esm/default-mention-name-resolver/default-mention-name-resolver.js +0 -121
  243. package/dist/esm/default-mention-name-resolver/graphqlUtils.js +0 -41
  244. package/dist/types/api/SmartMentionResource.d.ts +0 -63
  245. package/dist/types/api/SmartMentionTypes.d.ts +0 -81
  246. package/dist/types/api/extract-react-types/smart-config-props.d.ts +0 -7
  247. package/dist/types/api/recommendationClient.d.ts +0 -3
  248. package/dist/types/components/Mention/styles.d.ts +0 -6
  249. package/dist/types/default-mention-name-resolver/default-mention-name-resolver.d.ts +0 -16
  250. package/dist/types/default-mention-name-resolver/graphqlUtils.d.ts +0 -14
@@ -1,29 +1,290 @@
1
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
1
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
2
+ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
3
  import _extends from "@babel/runtime/helpers/extends";
3
4
  import React from 'react';
4
- import { FormattedMessage } from 'react-intl';
5
+ import { FormattedMessage, useIntl } from 'react-intl-next';
5
6
  import { messages } from '../components/i18n';
6
- export var noPropFormatter = function noPropFormatter(messageDescriptor) {
7
- return function (props) {
8
- return /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, props, messageDescriptor));
9
- };
10
- };
11
- export var NoAccessWarning = function NoAccessWarning(_ref) {
12
- var name = _ref.name,
13
- props = _objectWithoutProperties(_ref, ["name"]);
7
+ export var propFormatter = function propFormatter(messageDescriptor) {
8
+ return function (_ref) {
9
+ var values = _ref.values,
10
+ children = _ref.children;
11
+
12
+ var _useIntl = useIntl(),
13
+ formatMessage = _useIntl.formatMessage;
14
14
 
15
- return /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, props, {
16
- values: {
17
- name: name
15
+ var message = formatMessage(messageDescriptor, values);
16
+
17
+ if (typeof children === 'function') {
18
+ return children(message);
18
19
  }
19
- }, messages.noAccessWarning));
20
+
21
+ return /*#__PURE__*/React.createElement(FormattedMessage, _extends({
22
+ values: values
23
+ }, messageDescriptor));
24
+ };
20
25
  };
21
- export var NoAccessLabel = noPropFormatter(messages.noAccessLabel);
22
- export var DefaultHeadline = noPropFormatter(messages.defaultHeadline);
23
- export var DefaultAdvisedAction = noPropFormatter(messages.defaultAdvisedAction);
24
- export var LoginAgain = noPropFormatter(messages.loginAgain);
25
- export var DifferentText = noPropFormatter(messages.differentText);
26
- export var TeamMentionHighlightTitle = noPropFormatter(messages.TeamMentionHighlightTitle);
27
- export var TeamMentionHighlightCloseTooltip = noPropFormatter(messages.TeamMentionHighlightCloseButtonToolTip);
28
- export var TeamMentionHighlightDescription = noPropFormatter(messages.TeamMentionHighlightDescription);
29
- export var TeamMentionHighlightDescriptionLink = noPropFormatter(messages.TeamMentionHighlightDescriptionLink);
26
+ export var UnknownUserError = propFormatter(messages.unknownUserError);
27
+ export var NoAccessWarning = propFormatter(messages.noAccessWarning);
28
+ export var NoAccessLabel = propFormatter(messages.noAccessLabel);
29
+ export var DefaultHeadline = propFormatter(messages.defaultHeadline);
30
+ export var DefaultAdvisedAction = propFormatter(messages.defaultAdvisedAction);
31
+ export var LoginAgain = propFormatter(messages.loginAgain);
32
+ export var DifferentText = propFormatter(messages.differentText);
33
+ export var TeamMentionHighlightTitle = propFormatter(messages.TeamMentionHighlightTitle);
34
+ export var TeamMentionHighlightCloseTooltip = propFormatter(messages.TeamMentionHighlightCloseButtonToolTip);
35
+ export var TeamMentionHighlightDescription = propFormatter(messages.TeamMentionHighlightDescription);
36
+ export var TeamMentionHighlightDescriptionLink = propFormatter(messages.TeamMentionHighlightDescriptionLink);
37
+ /**
38
+ * Tries to get the most specific messages bundle for a given locale.
39
+ *
40
+ * Strategy:
41
+ * 1. Try to find messages with the exact string (i.e. 'fr_FR')
42
+ * 2. If that doesn't work, try to find messages for the country locale (i.e. 'fr')
43
+ * 3. If that doesn't work, return english messages as a fallback.
44
+ *
45
+ * @param locale string specifying the locale like 'en_GB', or 'fr'.
46
+ */
47
+
48
+ export var getMessagesForLocale = /*#__PURE__*/function () {
49
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(locale) {
50
+ var fragments;
51
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
52
+ while (1) {
53
+ switch (_context.prev = _context.next) {
54
+ case 0:
55
+ _context.t0 = locale;
56
+ _context.next = _context.t0 === 'cs' ? 3 : _context.t0 === 'da' ? 4 : _context.t0 === 'de' ? 5 : _context.t0 === 'en' ? 6 : _context.t0 === 'en_GB' ? 7 : _context.t0 === 'es' ? 8 : _context.t0 === 'et' ? 9 : _context.t0 === 'fi' ? 10 : _context.t0 === 'fr' ? 11 : _context.t0 === 'hu' ? 12 : _context.t0 === 'is' ? 13 : _context.t0 === 'it' ? 14 : _context.t0 === 'ja' ? 15 : _context.t0 === 'ko' ? 16 : _context.t0 === 'nb' ? 17 : _context.t0 === 'nl' ? 18 : _context.t0 === 'pl' ? 19 : _context.t0 === 'pt_BR' ? 20 : _context.t0 === 'pt-BR' ? 20 : _context.t0 === 'pt_PT' ? 21 : _context.t0 === 'pt-PT' ? 21 : _context.t0 === 'ro' ? 22 : _context.t0 === 'ru' ? 23 : _context.t0 === 'sk' ? 24 : _context.t0 === 'sv' ? 25 : _context.t0 === 'th' ? 26 : _context.t0 === 'tr' ? 27 : _context.t0 === 'uk' ? 28 : _context.t0 === 'vi' ? 29 : _context.t0 === 'zh_TW' ? 30 : _context.t0 === 'zh' ? 31 : 32;
57
+ break;
58
+
59
+ case 3:
60
+ return _context.abrupt("return", import(
61
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-cs" */
62
+ '../i18n/cs').then(function (mod) {
63
+ return mod.default;
64
+ }));
65
+
66
+ case 4:
67
+ return _context.abrupt("return", import(
68
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-da" */
69
+ '../i18n/da').then(function (mod) {
70
+ return mod.default;
71
+ }));
72
+
73
+ case 5:
74
+ return _context.abrupt("return", import(
75
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-de" */
76
+ '../i18n/de').then(function (mod) {
77
+ return mod.default;
78
+ }));
79
+
80
+ case 6:
81
+ return _context.abrupt("return", import(
82
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-en" */
83
+ '../i18n/en').then(function (mod) {
84
+ return mod.default;
85
+ }));
86
+
87
+ case 7:
88
+ return _context.abrupt("return", import(
89
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-en_GB" */
90
+ '../i18n/en_GB').then(function (mod) {
91
+ return mod.default;
92
+ }));
93
+
94
+ case 8:
95
+ return _context.abrupt("return", import(
96
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-es" */
97
+ '../i18n/es').then(function (mod) {
98
+ return mod.default;
99
+ }));
100
+
101
+ case 9:
102
+ return _context.abrupt("return", import(
103
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-et" */
104
+ '../i18n/et').then(function (mod) {
105
+ return mod.default;
106
+ }));
107
+
108
+ case 10:
109
+ return _context.abrupt("return", import(
110
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-fi" */
111
+ '../i18n/fi').then(function (mod) {
112
+ return mod.default;
113
+ }));
114
+
115
+ case 11:
116
+ return _context.abrupt("return", import(
117
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-fr" */
118
+ '../i18n/fr').then(function (mod) {
119
+ return mod.default;
120
+ }));
121
+
122
+ case 12:
123
+ return _context.abrupt("return", import(
124
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-hu" */
125
+ '../i18n/hu').then(function (mod) {
126
+ return mod.default;
127
+ }));
128
+
129
+ case 13:
130
+ return _context.abrupt("return", import(
131
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-is" */
132
+ '../i18n/is').then(function (mod) {
133
+ return mod.default;
134
+ }));
135
+
136
+ case 14:
137
+ return _context.abrupt("return", import(
138
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-it" */
139
+ '../i18n/it').then(function (mod) {
140
+ return mod.default;
141
+ }));
142
+
143
+ case 15:
144
+ return _context.abrupt("return", import(
145
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-ja" */
146
+ '../i18n/ja').then(function (mod) {
147
+ return mod.default;
148
+ }));
149
+
150
+ case 16:
151
+ return _context.abrupt("return", import(
152
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-ko" */
153
+ '../i18n/ko').then(function (mod) {
154
+ return mod.default;
155
+ }));
156
+
157
+ case 17:
158
+ return _context.abrupt("return", import(
159
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-nb" */
160
+ '../i18n/nb').then(function (mod) {
161
+ return mod.default;
162
+ }));
163
+
164
+ case 18:
165
+ return _context.abrupt("return", import(
166
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-nl" */
167
+ '../i18n/nl').then(function (mod) {
168
+ return mod.default;
169
+ }));
170
+
171
+ case 19:
172
+ return _context.abrupt("return", import(
173
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-pl" */
174
+ '../i18n/pl').then(function (mod) {
175
+ return mod.default;
176
+ }));
177
+
178
+ case 20:
179
+ return _context.abrupt("return", import(
180
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-pt_BR" */
181
+ '../i18n/pt_BR').then(function (mod) {
182
+ return mod.default;
183
+ }));
184
+
185
+ case 21:
186
+ return _context.abrupt("return", import(
187
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-pt_PT" */
188
+ '../i18n/pt_PT').then(function (mod) {
189
+ return mod.default;
190
+ }));
191
+
192
+ case 22:
193
+ return _context.abrupt("return", import(
194
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-ro" */
195
+ '../i18n/ro').then(function (mod) {
196
+ return mod.default;
197
+ }));
198
+
199
+ case 23:
200
+ return _context.abrupt("return", import(
201
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-ru" */
202
+ '../i18n/ru').then(function (mod) {
203
+ return mod.default;
204
+ }));
205
+
206
+ case 24:
207
+ return _context.abrupt("return", import(
208
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-sk" */
209
+ '../i18n/sk').then(function (mod) {
210
+ return mod.default;
211
+ }));
212
+
213
+ case 25:
214
+ return _context.abrupt("return", import(
215
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-sv" */
216
+ '../i18n/sv').then(function (mod) {
217
+ return mod.default;
218
+ }));
219
+
220
+ case 26:
221
+ return _context.abrupt("return", import(
222
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-th" */
223
+ '../i18n/th').then(function (mod) {
224
+ return mod.default;
225
+ }));
226
+
227
+ case 27:
228
+ return _context.abrupt("return", import(
229
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-tr" */
230
+ '../i18n/tr').then(function (mod) {
231
+ return mod.default;
232
+ }));
233
+
234
+ case 28:
235
+ return _context.abrupt("return", import(
236
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-uk" */
237
+ '../i18n/uk').then(function (mod) {
238
+ return mod.default;
239
+ }));
240
+
241
+ case 29:
242
+ return _context.abrupt("return", import(
243
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-vi" */
244
+ '../i18n/vi').then(function (mod) {
245
+ return mod.default;
246
+ }));
247
+
248
+ case 30:
249
+ return _context.abrupt("return", import(
250
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-zh_TW" */
251
+ '../i18n/zh_TW').then(function (mod) {
252
+ return mod.default;
253
+ }));
254
+
255
+ case 31:
256
+ return _context.abrupt("return", import(
257
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-zh" */
258
+ '../i18n/zh').then(function (mod) {
259
+ return mod.default;
260
+ }));
261
+
262
+ case 32:
263
+ fragments = locale.split(/[_-]/);
264
+
265
+ if (!(fragments.length === 2)) {
266
+ _context.next = 37;
267
+ break;
268
+ }
269
+
270
+ return _context.abrupt("return", getMessagesForLocale(fragments[0]));
271
+
272
+ case 37:
273
+ return _context.abrupt("return", import(
274
+ /* webpackChunkName: "@atlaskit-internal_mention-i18n-en" */
275
+ '../i18n/en').then(function (mod) {
276
+ return mod.default;
277
+ }));
278
+
279
+ case 38:
280
+ case "end":
281
+ return _context.stop();
282
+ }
283
+ }
284
+ }, _callee);
285
+ }));
286
+
287
+ return function getMessagesForLocale(_x) {
288
+ return _ref2.apply(this, arguments);
289
+ };
290
+ }();
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/mention",
3
- "version": "19.9.6",
3
+ "version": "21.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,4 +1,3 @@
1
- import { RecommendationItem } from './SmartMentionTypes';
2
1
  import { MentionContextIdentifier } from '../types';
3
2
  export declare const SMART_EVENT_TYPE = "smart";
4
3
  export declare enum Actions {
@@ -16,7 +15,3 @@ export declare type DefaultAttributes = {
16
15
  source: 'smarts';
17
16
  };
18
17
  export declare const defaultAttributes: (context?: MentionContextIdentifier | undefined) => DefaultAttributes;
19
- export declare const getUsersForAnalytics: (users: RecommendationItem[]) => {
20
- id: string;
21
- type: string;
22
- }[];
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AsyncLockCircleIcon: import("react").LazyExoticComponent<typeof import("@atlaskit/icon/glyph/lock-circle").default>;
3
+ export default AsyncLockCircleIcon;
@@ -0,0 +1,7 @@
1
+ import { MentionType } from '../../types';
2
+ import { HTMLAttributes } from 'react';
3
+ export interface PrimitiveMentionProps extends HTMLAttributes<HTMLSpanElement> {
4
+ mentionType: MentionType;
5
+ }
6
+ declare const PrimitiveMention: import("react").ForwardRefExoticComponent<PrimitiveMentionProps & import("react").RefAttributes<HTMLSpanElement>>;
7
+ export default PrimitiveMention;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { MentionEventHandler } from '../../types';
3
- import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
+ import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
4
4
  export declare const ANALYTICS_HOVER_DELAY = 1000;
5
5
  export declare const UNKNOWN_USER_ID = "_|unknown|_";
6
6
  export declare type OwnProps = {
@@ -16,6 +16,8 @@ export declare type OwnProps = {
16
16
  export declare type Props = OwnProps & WithAnalyticsEventsProps;
17
17
  export declare class MentionInternal extends React.PureComponent<Props, {}> {
18
18
  private hoverTimeout?;
19
+ constructor(props: Props);
20
+ componentDidMount(): void;
19
21
  private handleOnClick;
20
22
  private handleOnMouseEnter;
21
23
  private handleOnMouseLeave;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ConcurrentExperience } from '@atlaskit/ufo';
3
+ export declare const mentionRenderedUfoExperience: ConcurrentExperience;
4
+ export declare class UfoErrorBoundary extends React.Component<{
5
+ id: string;
6
+ }> {
7
+ componentDidCatch(): void;
8
+ render(): React.ReactNode;
9
+ }
@@ -1,2 +1,2 @@
1
- import { HTMLAttributes, ComponentClass } from 'react';
2
- export declare const DescriptionBylineStyle: ComponentClass<HTMLAttributes<{}>>;
1
+ /// <reference types="react" />
2
+ export declare const DescriptionBylineStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "style" | "title" | "is" | "onError" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, any>;
@@ -1,4 +1,3 @@
1
- import React from 'react';
1
+ import { ComponentType } from 'react';
2
2
  import { HighlightDetail } from '../../types';
3
- export declare type ReactComponentConstructor = new (props: any) => React.Component<any, any>;
4
- export declare function renderHighlight(ReactComponent: ReactComponentConstructor, value?: string, highlights?: HighlightDetail[], prefix?: string): JSX.Element | null;
3
+ export declare function renderHighlight(ReactComponent: ComponentType<any>, value?: string, highlights?: HighlightDetail[], prefix?: string): JSX.Element | null;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, ComponentClass } from 'react';
1
+ /// <reference types="react" />
2
2
  export interface MentionItemStyleProps {
3
3
  selected?: boolean;
4
4
  }
@@ -11,12 +11,12 @@ export interface NameSectionStyleProps {
11
11
  export interface InfoSectionStyleProps {
12
12
  restricted?: boolean;
13
13
  }
14
- export declare const RowStyle: ComponentClass<HTMLAttributes<{}>>;
15
- export declare const AvatarStyle: ComponentClass<HTMLAttributes<{}> & AvatarSectionStyleProps>;
16
- export declare const NameSectionStyle: ComponentClass<HTMLAttributes<{}> & NameSectionStyleProps>;
17
- export declare const FullNameStyle: ComponentClass<HTMLAttributes<{}>>;
18
- export declare const InfoSectionStyle: ComponentClass<HTMLAttributes<{}> & InfoSectionStyleProps>;
19
- export declare const TimeStyle: ComponentClass<HTMLAttributes<{}>>;
14
+ export declare const RowStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "style" | "title" | "is" | "onError" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, any>;
15
+ export declare const AvatarStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, AvatarSectionStyleProps, any>;
16
+ export declare const NameSectionStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, NameSectionStyleProps, any>;
17
+ export declare const FullNameStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "style" | "title" | "is" | "onError" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, any>;
18
+ export declare const InfoSectionStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, InfoSectionStyleProps, any>;
19
+ export declare const TimeStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "style" | "title" | "is" | "onError" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, any>;
20
20
  export declare const MENTION_ITEM_HEIGHT = 48;
21
- export declare const MentionItemStyle: ComponentClass<HTMLAttributes<{}> & MentionItemStyleProps>;
22
- export declare const AccessSectionStyle: ComponentClass<HTMLAttributes<{}>>;
21
+ export declare const MentionItemStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, MentionItemStyleProps, any>;
22
+ export declare const AccessSectionStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "style" | "title" | "is" | "onError" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, any>;
@@ -1,5 +1,5 @@
1
- import { HTMLAttributes, ComponentClass } from 'react';
1
+ /// <reference types="react" />
2
2
  export interface MentionListStyleProps {
3
3
  empty?: boolean;
4
4
  }
5
- export declare const MentionListStyle: ComponentClass<HTMLAttributes<{}> & MentionListStyleProps>;
5
+ export declare const MentionListStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, MentionListStyleProps, any>;
@@ -1,5 +1,5 @@
1
- import { HTMLAttributes, ComponentClass } from 'react';
2
- export declare const MentionListErrorStyle: ComponentClass<HTMLAttributes<{}>>;
3
- export declare const GenericErrorVisualStyle: ComponentClass<HTMLAttributes<{}>>;
4
- export declare const MentionListErrorHeadlineStyle: ComponentClass<HTMLAttributes<{}>>;
5
- export declare const MentionListAdviceStyle: ComponentClass<HTMLAttributes<{}>>;
1
+ /// <reference types="react" />
2
+ export declare const MentionListErrorStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "style" | "title" | "is" | "onError" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, any>;
3
+ export declare const GenericErrorVisualStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "style" | "title" | "is" | "onError" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, any>;
4
+ export declare const MentionListErrorHeadlineStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "style" | "title" | "is" | "onError" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, any>;
5
+ export declare const MentionListAdviceStyle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "style" | "title" | "is" | "onError" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, any>;