@atlaskit/util-data-test 17.8.2 → 17.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +6 -0
- package/CHANGELOG.md +12 -0
- package/dist/cjs/emoji/emoji-repository-usage-clear.js +1 -1
- package/dist/cjs/emoji/get-atlassian-emojis.js +1 -1
- package/dist/cjs/emoji/get-emoji-provider.js +2 -2
- package/dist/cjs/emoji/get-emoji-repository.js +1 -1
- package/dist/cjs/emoji/get-emoji-resource-standard-atlassian.js +1 -1
- package/dist/cjs/emoji/get-emojis.js +1 -1
- package/dist/cjs/emoji/get-site-emojis.js +1 -1
- package/dist/cjs/emoji/get-standard-emojis.js +1 -1
- package/dist/cjs/emoji-test/get-test-emojis.js +1 -1
- package/dist/cjs/emoji-test/test-emoji-repository.js +2 -2
- package/dist/cjs/mention/create-mock-mention-name-resolver.js +1 -1
- package/dist/cjs/mention/mock-mention-name-client.js +1 -1
- package/dist/cjs/mention/mock-mention-resource-with-info-hints.js +1 -1
- package/dist/cjs/mention/mock-mention-resource.js +1 -1
- package/dist/cjs/mention/mock-presence-resource.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/emoji/emoji-repository-usage-clear.js +1 -1
- package/dist/es2019/emoji/get-atlassian-emojis.js +1 -1
- package/dist/es2019/emoji/get-emoji-provider.js +2 -2
- package/dist/es2019/emoji/get-emoji-repository.js +1 -1
- package/dist/es2019/emoji/get-emoji-resource-standard-atlassian.js +1 -1
- package/dist/es2019/emoji/get-emojis.js +1 -1
- package/dist/es2019/emoji/get-site-emojis.js +1 -1
- package/dist/es2019/emoji/get-standard-emojis.js +1 -1
- package/dist/es2019/emoji-test/get-test-emojis.js +1 -1
- package/dist/es2019/emoji-test/test-emoji-repository.js +2 -2
- package/dist/es2019/mention/create-mock-mention-name-resolver.js +1 -1
- package/dist/es2019/mention/mock-mention-name-client.js +1 -1
- package/dist/es2019/mention/mock-mention-resource-with-info-hints.js +1 -1
- package/dist/es2019/mention/mock-mention-resource.js +1 -1
- package/dist/es2019/mention/mock-presence-resource.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/emoji/emoji-repository-usage-clear.js +1 -1
- package/dist/esm/emoji/get-atlassian-emojis.js +1 -1
- package/dist/esm/emoji/get-emoji-provider.js +2 -2
- package/dist/esm/emoji/get-emoji-repository.js +1 -1
- package/dist/esm/emoji/get-emoji-resource-standard-atlassian.js +1 -1
- package/dist/esm/emoji/get-emojis.js +1 -1
- package/dist/esm/emoji/get-site-emojis.js +1 -1
- package/dist/esm/emoji/get-standard-emojis.js +1 -1
- package/dist/esm/emoji-test/get-test-emojis.js +1 -1
- package/dist/esm/emoji-test/test-emoji-repository.js +2 -2
- package/dist/esm/mention/create-mock-mention-name-resolver.js +1 -1
- package/dist/esm/mention/mock-mention-name-client.js +1 -1
- package/dist/esm/mention/mock-mention-resource-with-info-hints.js +1 -1
- package/dist/esm/mention/mock-mention-resource.js +1 -1
- package/dist/esm/mention/mock-presence-resource.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/emoji/src/api/EmojiLoader.d.ts +13 -0
- package/dist/types/emoji/src/api/EmojiRepository.d.ts +72 -0
- package/dist/types/emoji/src/api/EmojiRepositoryRegex.d.ts +1 -0
- package/dist/types/emoji/src/api/EmojiResource.d.ts +139 -0
- package/dist/types/emoji/src/api/EmojiUtils.d.ts +24 -0
- package/dist/types/emoji/src/api/internal/Comparators.d.ts +109 -0
- package/dist/types/emoji/src/api/internal/UsageFrequencyTracker.d.ts +46 -0
- package/dist/types/emoji/src/api/media/MediaEmojiCache.d.ts +53 -0
- package/dist/types/emoji/src/api/media/MediaImageLoader.d.ts +21 -0
- package/dist/types/emoji/src/api/media/SiteEmojiResource.d.ts +46 -0
- package/dist/types/emoji/src/api/media/TokenManager.d.ts +13 -0
- package/dist/types/emoji/src/components/i18n.d.ts +227 -0
- package/dist/types/emoji/src/components/picker/categories.d.ts +7 -0
- package/dist/types/emoji/src/resource.d.ts +5 -0
- package/dist/types/emoji/src/types.d.ts +363 -0
- package/dist/types/emoji/src/util/DuplicateLimitedQueue.d.ts +91 -0
- package/dist/types/emoji/src/util/StoredDuplicateLimitedQueue.d.ts +46 -0
- package/dist/types/emoji/src/util/analytics/samplingUfo.d.ts +38 -0
- package/dist/types/emoji/src/util/analytics/ufoExperiences.d.ts +14 -0
- package/dist/types/emoji/src/util/constants.d.ts +60 -0
- package/dist/types/emoji/src/util/image.d.ts +10 -0
- package/dist/types/emoji/src/util/logger.d.ts +4 -0
- package/dist/types/emoji/src/util/storage-available.d.ts +3 -0
- package/dist/types/emoji/src/util/type-helpers.d.ts +23 -0
- package/dist/types/emoji/src/utils.d.ts +3 -0
- package/dist/types/mention/src/_constants.d.ts +1 -0
- package/dist/types/mention/src/api/ContextMentionResource.d.ts +23 -0
- package/dist/types/mention/src/api/MentionNameClient.d.ts +11 -0
- package/dist/types/mention/src/api/MentionNameResolver.d.ts +23 -0
- package/dist/types/mention/src/api/MentionResource.d.ts +93 -0
- package/dist/types/mention/src/api/PresenceResource.d.ts +119 -0
- package/dist/types/mention/src/api/TeamMentionResource.d.ts +33 -0
- package/dist/types/mention/src/components/LockCircleIcon/index.d.ts +3 -0
- package/dist/types/mention/src/components/Mention/PrimitiveMention.d.ts +7 -0
- package/dist/types/mention/src/components/Mention/ResourcedMention.d.ts +27 -0
- package/dist/types/mention/src/components/Mention/index.d.ts +31 -0
- package/dist/types/mention/src/components/Mention/ufoExperiences.d.ts +9 -0
- package/dist/types/mention/src/components/MentionDescriptionByline/TeamMentionDescriptionByline.d.ts +7 -0
- package/dist/types/mention/src/components/MentionDescriptionByline/UserMentionDescriptionByline.d.ts +5 -0
- package/dist/types/mention/src/components/MentionDescriptionByline/index.d.ts +5 -0
- package/dist/types/mention/src/components/MentionDescriptionByline/styles.d.ts +5 -0
- package/dist/types/mention/src/components/MentionDescriptionByline/types.d.ts +4 -0
- package/dist/types/mention/src/components/MentionItem/MentionHighlightHelpers.d.ts +3 -0
- package/dist/types/mention/src/components/MentionItem/index.d.ts +16 -0
- package/dist/types/mention/src/components/MentionItem/styles.d.ts +46 -0
- package/dist/types/mention/src/components/MentionList/index.d.ts +41 -0
- package/dist/types/mention/src/components/MentionList/styles.d.ts +8 -0
- package/dist/types/mention/src/components/MentionListError/GenericErrorIllustration.d.ts +7 -0
- package/dist/types/mention/src/components/MentionListError/index.d.ts +13 -0
- package/dist/types/mention/src/components/MentionListError/styles.d.ts +17 -0
- package/dist/types/mention/src/components/MentionPicker/index.d.ts +77 -0
- package/dist/types/mention/src/components/MentionPicker/styles.d.ts +12 -0
- package/dist/types/mention/src/components/MessagesIntlProvider/index.d.ts +3 -0
- package/dist/types/mention/src/components/NoAccessTooltip/index.d.ts +6 -0
- package/dist/types/mention/src/components/NoAccessTooltip/main.d.ts +7 -0
- package/dist/types/mention/src/components/Popup/index.d.ts +26 -0
- package/dist/types/mention/src/components/ResourcedMentionList/index.d.ts +46 -0
- package/dist/types/mention/src/components/Scrollable/index.d.ts +11 -0
- package/dist/types/mention/src/components/Scrollable/styles.d.ts +5 -0
- package/dist/types/mention/src/components/i18n.d.ts +57 -0
- package/dist/types/mention/src/i18n/cs.d.ts +20 -0
- package/dist/types/mention/src/i18n/da.d.ts +20 -0
- package/dist/types/mention/src/i18n/de.d.ts +20 -0
- package/dist/types/mention/src/i18n/en.d.ts +20 -0
- package/dist/types/mention/src/i18n/en_GB.d.ts +20 -0
- package/dist/types/mention/src/i18n/es.d.ts +20 -0
- package/dist/types/mention/src/i18n/et.d.ts +20 -0
- package/dist/types/mention/src/i18n/fi.d.ts +20 -0
- package/dist/types/mention/src/i18n/fr.d.ts +20 -0
- package/dist/types/mention/src/i18n/hu.d.ts +20 -0
- package/dist/types/mention/src/i18n/is.d.ts +24 -0
- package/dist/types/mention/src/i18n/it.d.ts +20 -0
- package/dist/types/mention/src/i18n/ja.d.ts +20 -0
- package/dist/types/mention/src/i18n/ko.d.ts +20 -0
- package/dist/types/mention/src/i18n/nb.d.ts +20 -0
- package/dist/types/mention/src/i18n/nl.d.ts +20 -0
- package/dist/types/mention/src/i18n/pl.d.ts +20 -0
- package/dist/types/mention/src/i18n/pt_BR.d.ts +20 -0
- package/dist/types/mention/src/i18n/pt_PT.d.ts +20 -0
- package/dist/types/mention/src/i18n/ro.d.ts +24 -0
- package/dist/types/mention/src/i18n/ru.d.ts +20 -0
- package/dist/types/mention/src/i18n/sk.d.ts +20 -0
- package/dist/types/mention/src/i18n/sv.d.ts +20 -0
- package/dist/types/mention/src/i18n/th.d.ts +20 -0
- package/dist/types/mention/src/i18n/tr.d.ts +20 -0
- package/dist/types/mention/src/i18n/uk.d.ts +20 -0
- package/dist/types/mention/src/i18n/vi.d.ts +20 -0
- package/dist/types/mention/src/i18n/zh.d.ts +20 -0
- package/dist/types/mention/src/i18n/zh_TW.d.ts +20 -0
- package/dist/types/mention/src/index.d.ts +17 -0
- package/dist/types/mention/src/resource.d.ts +10 -0
- package/dist/types/mention/src/shared-styles.d.ts +5 -0
- package/dist/types/mention/src/types.d.ts +168 -0
- package/dist/types/mention/src/util/analytics.d.ts +30 -0
- package/dist/types/mention/src/util/i18n.d.ts +29 -0
- package/dist/types/mention/src/util/id.d.ts +2 -0
- package/dist/types/mention/src/util/index.d.ts +1 -0
- package/dist/types/mention/src/util/logger.d.ts +4 -0
- package/dist/types/mention/src/util/mouse.d.ts +8 -0
- package/dist/types/task-decision/src/analytics/index.d.ts +2 -0
- package/dist/types/task-decision/src/api/TaskDecisionResource.d.ts +67 -0
- package/dist/types/task-decision/src/api/TaskDecisionUtils.d.ts +4 -0
- package/dist/types/task-decision/src/components/DecisionItem.d.ts +15 -0
- package/dist/types/task-decision/src/components/DecisionList.d.ts +9 -0
- package/dist/types/task-decision/src/components/Item.d.ts +25 -0
- package/dist/types/task-decision/src/components/ResourcedTaskItem.d.ts +35 -0
- package/dist/types/task-decision/src/components/TaskItem.d.ts +21 -0
- package/dist/types/task-decision/src/components/TaskList.d.ts +9 -0
- package/dist/types/task-decision/src/components/styles.d.ts +13 -0
- package/dist/types/task-decision/src/components/theme.d.ts +61 -0
- package/dist/types/task-decision/src/index.d.ts +9 -0
- package/dist/types/task-decision/src/type-helpers.d.ts +6 -0
- package/dist/types/task-decision/src/types.d.ts +160 -0
- package/dist/types/user-picker/src/analytics.d.ts +24 -0
- package/dist/types/user-picker/src/clients/UserSourceProvider.d.ts +11 -0
- package/dist/types/user-picker/src/components/AddOptionAvatar.d.ts +6 -0
- package/dist/types/user-picker/src/components/AvatarItemOption.d.ts +13 -0
- package/dist/types/user-picker/src/components/BaseUserPicker.d.ts +65 -0
- package/dist/types/user-picker/src/components/ClearIndicator.d.ts +6 -0
- package/dist/types/user-picker/src/components/CustomOption/index.d.ts +3 -0
- package/dist/types/user-picker/src/components/CustomOption/main.d.ts +15 -0
- package/dist/types/user-picker/src/components/EmailOption/index.d.ts +3 -0
- package/dist/types/user-picker/src/components/EmailOption/main.d.ts +18 -0
- package/dist/types/user-picker/src/components/ExternalUserOption/ExternalAvatarItemOption.d.ts +11 -0
- package/dist/types/user-picker/src/components/ExternalUserOption/InfoIcon.d.ts +3 -0
- package/dist/types/user-picker/src/components/ExternalUserOption/SourcesTooltipContent.d.ts +6 -0
- package/dist/types/user-picker/src/components/ExternalUserOption/index.d.ts +3 -0
- package/dist/types/user-picker/src/components/ExternalUserOption/main.d.ts +12 -0
- package/dist/types/user-picker/src/components/ExternalUserSourcesContainer.d.ts +15 -0
- package/dist/types/user-picker/src/components/GroupOption/index.d.ts +3 -0
- package/dist/types/user-picker/src/components/GroupOption/main.d.ts +16 -0
- package/dist/types/user-picker/src/components/HighlightText.d.ts +9 -0
- package/dist/types/user-picker/src/components/Input.d.ts +22 -0
- package/dist/types/user-picker/src/components/Menu.d.ts +10 -0
- package/dist/types/user-picker/src/components/MessagesIntlProvider.d.ts +3 -0
- package/dist/types/user-picker/src/components/MultiValue.d.ts +26 -0
- package/dist/types/user-picker/src/components/MultiValueContainer.d.ts +30 -0
- package/dist/types/user-picker/src/components/Option.d.ts +14 -0
- package/dist/types/user-picker/src/components/PopupControl.d.ts +7 -0
- package/dist/types/user-picker/src/components/PopupInput.d.ts +8 -0
- package/dist/types/user-picker/src/components/PopupUserPicker.d.ts +39 -0
- package/dist/types/user-picker/src/components/SingleValue.d.ts +5 -0
- package/dist/types/user-picker/src/components/SingleValueContainer.d.ts +9 -0
- package/dist/types/user-picker/src/components/SizeableAvatar.d.ts +10 -0
- package/dist/types/user-picker/src/components/TeamOption/index.d.ts +3 -0
- package/dist/types/user-picker/src/components/TeamOption/main.d.ts +16 -0
- package/dist/types/user-picker/src/components/UserOption.d.ts +15 -0
- package/dist/types/user-picker/src/components/UserPicker.d.ts +16 -0
- package/dist/types/user-picker/src/components/assets/github.d.ts +2 -0
- package/dist/types/user-picker/src/components/assets/google.d.ts +2 -0
- package/dist/types/user-picker/src/components/assets/microsoft.d.ts +2 -0
- package/dist/types/user-picker/src/components/assets/slack.d.ts +2 -0
- package/dist/types/user-picker/src/components/batch.d.ts +1 -0
- package/dist/types/user-picker/src/components/components.d.ts +49 -0
- package/dist/types/user-picker/src/components/creatable.d.ts +12 -0
- package/dist/types/user-picker/src/components/creatableEmailSuggestion.d.ts +19 -0
- package/dist/types/user-picker/src/components/emailValidation.d.ts +3 -0
- package/dist/types/user-picker/src/components/i18n.d.ts +132 -0
- package/dist/types/user-picker/src/components/popup.d.ts +48 -0
- package/dist/types/user-picker/src/components/styles.d.ts +42 -0
- package/dist/types/user-picker/src/components/utils.d.ts +29 -0
- package/dist/types/user-picker/src/i18n/cs.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/da.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/de.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/en.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/en_GB.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/es.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/et.d.ts +15 -0
- package/dist/types/user-picker/src/i18n/fi.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/fr.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/hu.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/is.d.ts +7 -0
- package/dist/types/user-picker/src/i18n/it.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/ja.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/ko.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/nb.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/nl.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/pl.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/pt_BR.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/pt_PT.d.ts +15 -0
- package/dist/types/user-picker/src/i18n/ro.d.ts +7 -0
- package/dist/types/user-picker/src/i18n/ru.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/sk.d.ts +15 -0
- package/dist/types/user-picker/src/i18n/sv.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/th.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/tr.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/uk.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/vi.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/zh.d.ts +35 -0
- package/dist/types/user-picker/src/i18n/zh_TW.d.ts +35 -0
- package/dist/types/user-picker/src/index.d.ts +7 -0
- package/dist/types/user-picker/src/types.d.ts +318 -0
- package/dist/types/user-picker/src/util/i18n-util.d.ts +11 -0
- package/dist/types/user-picker/src/util/ufoExperiences.d.ts +10 -0
- package/dist/{types-ts4.5 → types/util-data-test/src}/emoji/emoji-from-upload.d.ts +1 -1
- package/dist/{types-ts4.5 → types/util-data-test/src}/emoji/emoji-repository-usage-clear.d.ts +2 -2
- package/dist/{types-ts4.5 → types/util-data-test/src}/emoji/emoji-resource-usage-clear.d.ts +1 -1
- package/dist/types/{emoji → util-data-test/src/emoji}/get-atlassian-emoji-data.d.ts +1 -1
- package/dist/types/util-data-test/src/emoji/get-atlassian-emojis.d.ts +1 -0
- package/dist/types/{emoji → util-data-test/src/emoji}/get-emoji-provider.d.ts +1 -1
- package/dist/types/{emoji → util-data-test/src/emoji}/get-emoji-repository.d.ts +1 -1
- package/dist/types/util-data-test/src/emoji/get-emojis.d.ts +1 -0
- package/dist/types/{emoji → util-data-test/src/emoji}/get-site-emoji-data.d.ts +1 -1
- package/dist/types/util-data-test/src/emoji/get-site-emojis.d.ts +1 -0
- package/dist/types/{emoji → util-data-test/src/emoji}/get-standard-emoji-data.d.ts +1 -1
- package/dist/types/util-data-test/src/emoji/get-standard-emojis.d.ts +1 -0
- package/dist/types/{emoji → util-data-test/src/emoji}/mock-emoji-resource-factory.d.ts +1 -1
- package/dist/types/{emoji → util-data-test/src/emoji}/mock-emoji-resource.d.ts +2 -2
- package/dist/types/{emoji → util-data-test/src/emoji}/mock-non-uploading-emoji-resource-factory.d.ts +1 -1
- package/dist/types/{emoji → util-data-test/src/emoji}/mock-non-uploading-emoji-resource.d.ts +2 -2
- package/dist/{types-ts4.5 → types/util-data-test/src}/emoji/types.d.ts +1 -1
- package/dist/{types-ts4.5 → types/util-data-test/src}/emoji-test/filter-to-searchable.d.ts +1 -1
- package/dist/{types-ts4.5 → types/util-data-test/src}/emoji-test/get-test-emoji-resource-from-repository.d.ts +1 -1
- package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-emojis.d.ts +1 -1
- package/dist/types/util-data-test/src/emoji-test/get-test-searchable-emojis.d.ts +1 -0
- package/dist/types/util-data-test/src/emoji-test/test-emoji-repository.d.ts +5 -0
- package/dist/types/util-data-test/src/logger.d.ts +4 -0
- package/dist/types/{mention → util-data-test/src/mention}/create-mock-mention-name-resolver.d.ts +1 -1
- package/dist/{types-ts4.5 → types/util-data-test/src}/mention/mock-mention-name-client.d.ts +1 -1
- package/dist/types/{mention → util-data-test/src/mention}/mock-mention-resource-with-info-hints.d.ts +1 -1
- package/dist/{types-ts4.5 → types/util-data-test/src}/mention/mock-mention-resource.d.ts +2 -2
- package/dist/types/{mention → util-data-test/src/mention}/mock-presence-resource.d.ts +1 -1
- package/dist/types/{task-decision → util-data-test/src/task-decision}/mock-task-decision-resource.d.ts +1 -1
- package/dist/types/{task-decision → util-data-test/src/task-decision}/utils.d.ts +2 -2
- package/dist/types/util-data-test/src/user-picker/ChevronRight.d.ts +3 -0
- package/dist/types/{user-picker → util-data-test/src/user-picker}/user-picker-custom-data.d.ts +1 -1
- package/dist/types/{user-picker → util-data-test/src/user-picker}/user-picker-team-data.d.ts +1 -1
- package/dist/types-ts4.5/emoji/src/api/EmojiLoader.d.ts +13 -0
- package/dist/types-ts4.5/emoji/src/api/EmojiRepository.d.ts +72 -0
- package/dist/types-ts4.5/emoji/src/api/EmojiRepositoryRegex.d.ts +1 -0
- package/dist/types-ts4.5/emoji/src/api/EmojiResource.d.ts +139 -0
- package/dist/types-ts4.5/emoji/src/api/EmojiUtils.d.ts +24 -0
- package/dist/types-ts4.5/emoji/src/api/internal/Comparators.d.ts +109 -0
- package/dist/types-ts4.5/emoji/src/api/internal/UsageFrequencyTracker.d.ts +46 -0
- package/dist/types-ts4.5/emoji/src/api/media/MediaEmojiCache.d.ts +53 -0
- package/dist/types-ts4.5/emoji/src/api/media/MediaImageLoader.d.ts +21 -0
- package/dist/types-ts4.5/emoji/src/api/media/SiteEmojiResource.d.ts +46 -0
- package/dist/types-ts4.5/emoji/src/api/media/TokenManager.d.ts +13 -0
- package/dist/types-ts4.5/emoji/src/components/i18n.d.ts +227 -0
- package/dist/types-ts4.5/emoji/src/components/picker/categories.d.ts +7 -0
- package/dist/types-ts4.5/emoji/src/resource.d.ts +5 -0
- package/dist/types-ts4.5/emoji/src/types.d.ts +363 -0
- package/dist/types-ts4.5/emoji/src/util/DuplicateLimitedQueue.d.ts +91 -0
- package/dist/types-ts4.5/emoji/src/util/StoredDuplicateLimitedQueue.d.ts +46 -0
- package/dist/types-ts4.5/emoji/src/util/analytics/samplingUfo.d.ts +38 -0
- package/dist/types-ts4.5/emoji/src/util/analytics/ufoExperiences.d.ts +14 -0
- package/dist/types-ts4.5/emoji/src/util/constants.d.ts +60 -0
- package/dist/types-ts4.5/emoji/src/util/image.d.ts +10 -0
- package/dist/types-ts4.5/emoji/src/util/storage-available.d.ts +3 -0
- package/dist/types-ts4.5/emoji/src/util/type-helpers.d.ts +23 -0
- package/dist/types-ts4.5/emoji/src/utils.d.ts +3 -0
- package/dist/types-ts4.5/mention/src/_constants.d.ts +1 -0
- package/dist/types-ts4.5/mention/src/api/ContextMentionResource.d.ts +23 -0
- package/dist/types-ts4.5/mention/src/api/MentionNameClient.d.ts +11 -0
- package/dist/types-ts4.5/mention/src/api/MentionNameResolver.d.ts +23 -0
- package/dist/types-ts4.5/mention/src/api/MentionResource.d.ts +93 -0
- package/dist/types-ts4.5/mention/src/api/PresenceResource.d.ts +119 -0
- package/dist/types-ts4.5/mention/src/api/TeamMentionResource.d.ts +33 -0
- package/dist/types-ts4.5/mention/src/components/LockCircleIcon/index.d.ts +3 -0
- package/dist/types-ts4.5/mention/src/components/Mention/PrimitiveMention.d.ts +7 -0
- package/dist/types-ts4.5/mention/src/components/Mention/ResourcedMention.d.ts +27 -0
- package/dist/types-ts4.5/mention/src/components/Mention/index.d.ts +31 -0
- package/dist/types-ts4.5/mention/src/components/Mention/ufoExperiences.d.ts +9 -0
- package/dist/types-ts4.5/mention/src/components/MentionDescriptionByline/TeamMentionDescriptionByline.d.ts +7 -0
- package/dist/types-ts4.5/mention/src/components/MentionDescriptionByline/UserMentionDescriptionByline.d.ts +5 -0
- package/dist/types-ts4.5/mention/src/components/MentionDescriptionByline/index.d.ts +5 -0
- package/dist/types-ts4.5/mention/src/components/MentionDescriptionByline/styles.d.ts +5 -0
- package/dist/types-ts4.5/mention/src/components/MentionDescriptionByline/types.d.ts +4 -0
- package/dist/types-ts4.5/mention/src/components/MentionItem/MentionHighlightHelpers.d.ts +3 -0
- package/dist/types-ts4.5/mention/src/components/MentionItem/index.d.ts +16 -0
- package/dist/types-ts4.5/mention/src/components/MentionItem/styles.d.ts +46 -0
- package/dist/types-ts4.5/mention/src/components/MentionList/index.d.ts +41 -0
- package/dist/types-ts4.5/mention/src/components/MentionList/styles.d.ts +8 -0
- package/dist/types-ts4.5/mention/src/components/MentionListError/GenericErrorIllustration.d.ts +7 -0
- package/dist/types-ts4.5/mention/src/components/MentionListError/index.d.ts +13 -0
- package/dist/types-ts4.5/mention/src/components/MentionListError/styles.d.ts +17 -0
- package/dist/types-ts4.5/mention/src/components/MentionPicker/index.d.ts +77 -0
- package/dist/types-ts4.5/mention/src/components/MentionPicker/styles.d.ts +12 -0
- package/dist/types-ts4.5/mention/src/components/MessagesIntlProvider/index.d.ts +3 -0
- package/dist/types-ts4.5/mention/src/components/NoAccessTooltip/index.d.ts +6 -0
- package/dist/types-ts4.5/mention/src/components/NoAccessTooltip/main.d.ts +7 -0
- package/dist/types-ts4.5/mention/src/components/Popup/index.d.ts +26 -0
- package/dist/types-ts4.5/mention/src/components/ResourcedMentionList/index.d.ts +46 -0
- package/dist/types-ts4.5/mention/src/components/Scrollable/index.d.ts +11 -0
- package/dist/types-ts4.5/mention/src/components/Scrollable/styles.d.ts +5 -0
- package/dist/types-ts4.5/mention/src/components/i18n.d.ts +57 -0
- package/dist/types-ts4.5/mention/src/i18n/cs.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/da.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/de.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/en.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/en_GB.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/es.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/et.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/fi.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/fr.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/hu.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/is.d.ts +24 -0
- package/dist/types-ts4.5/mention/src/i18n/it.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/ja.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/ko.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/nb.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/nl.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/pl.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/pt_BR.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/pt_PT.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/ro.d.ts +24 -0
- package/dist/types-ts4.5/mention/src/i18n/ru.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/sk.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/sv.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/th.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/tr.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/uk.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/vi.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/zh.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/i18n/zh_TW.d.ts +20 -0
- package/dist/types-ts4.5/mention/src/index.d.ts +17 -0
- package/dist/types-ts4.5/mention/src/resource.d.ts +10 -0
- package/dist/types-ts4.5/mention/src/shared-styles.d.ts +5 -0
- package/dist/types-ts4.5/mention/src/types.d.ts +168 -0
- package/dist/types-ts4.5/mention/src/util/analytics.d.ts +30 -0
- package/dist/types-ts4.5/mention/src/util/i18n.d.ts +29 -0
- package/dist/types-ts4.5/mention/src/util/id.d.ts +2 -0
- package/dist/types-ts4.5/mention/src/util/index.d.ts +1 -0
- package/dist/types-ts4.5/mention/src/util/mouse.d.ts +8 -0
- package/dist/types-ts4.5/task-decision/src/analytics/index.d.ts +2 -0
- package/dist/types-ts4.5/task-decision/src/api/TaskDecisionResource.d.ts +67 -0
- package/dist/types-ts4.5/task-decision/src/api/TaskDecisionUtils.d.ts +4 -0
- package/dist/types-ts4.5/task-decision/src/components/DecisionItem.d.ts +15 -0
- package/dist/types-ts4.5/task-decision/src/components/DecisionList.d.ts +9 -0
- package/dist/types-ts4.5/task-decision/src/components/Item.d.ts +25 -0
- package/dist/types-ts4.5/task-decision/src/components/ResourcedTaskItem.d.ts +35 -0
- package/dist/types-ts4.5/task-decision/src/components/TaskItem.d.ts +21 -0
- package/dist/types-ts4.5/task-decision/src/components/TaskList.d.ts +9 -0
- package/dist/types-ts4.5/task-decision/src/components/styles.d.ts +13 -0
- package/dist/types-ts4.5/task-decision/src/components/theme.d.ts +61 -0
- package/dist/types-ts4.5/task-decision/src/index.d.ts +9 -0
- package/dist/types-ts4.5/task-decision/src/type-helpers.d.ts +6 -0
- package/dist/types-ts4.5/task-decision/src/types.d.ts +160 -0
- package/dist/types-ts4.5/user-picker/src/analytics.d.ts +24 -0
- package/dist/types-ts4.5/user-picker/src/clients/UserSourceProvider.d.ts +11 -0
- package/dist/types-ts4.5/user-picker/src/components/AddOptionAvatar.d.ts +6 -0
- package/dist/types-ts4.5/user-picker/src/components/AvatarItemOption.d.ts +13 -0
- package/dist/types-ts4.5/user-picker/src/components/BaseUserPicker.d.ts +65 -0
- package/dist/types-ts4.5/user-picker/src/components/ClearIndicator.d.ts +6 -0
- package/dist/types-ts4.5/user-picker/src/components/CustomOption/index.d.ts +3 -0
- package/dist/types-ts4.5/user-picker/src/components/CustomOption/main.d.ts +15 -0
- package/dist/types-ts4.5/user-picker/src/components/EmailOption/index.d.ts +3 -0
- package/dist/types-ts4.5/user-picker/src/components/EmailOption/main.d.ts +18 -0
- package/dist/types-ts4.5/user-picker/src/components/ExternalUserOption/ExternalAvatarItemOption.d.ts +11 -0
- package/dist/types-ts4.5/user-picker/src/components/ExternalUserOption/SourcesTooltipContent.d.ts +6 -0
- package/dist/types-ts4.5/user-picker/src/components/ExternalUserOption/index.d.ts +3 -0
- package/dist/types-ts4.5/user-picker/src/components/ExternalUserOption/main.d.ts +12 -0
- package/dist/types-ts4.5/user-picker/src/components/ExternalUserSourcesContainer.d.ts +15 -0
- package/dist/types-ts4.5/user-picker/src/components/GroupOption/index.d.ts +3 -0
- package/dist/types-ts4.5/user-picker/src/components/GroupOption/main.d.ts +16 -0
- package/dist/types-ts4.5/user-picker/src/components/HighlightText.d.ts +9 -0
- package/dist/types-ts4.5/user-picker/src/components/Input.d.ts +22 -0
- package/dist/types-ts4.5/user-picker/src/components/Menu.d.ts +10 -0
- package/dist/types-ts4.5/user-picker/src/components/MessagesIntlProvider.d.ts +3 -0
- package/dist/types-ts4.5/user-picker/src/components/MultiValue.d.ts +26 -0
- package/dist/types-ts4.5/user-picker/src/components/MultiValueContainer.d.ts +30 -0
- package/dist/types-ts4.5/user-picker/src/components/Option.d.ts +14 -0
- package/dist/types-ts4.5/user-picker/src/components/PopupControl.d.ts +7 -0
- package/dist/types-ts4.5/user-picker/src/components/PopupInput.d.ts +8 -0
- package/dist/types-ts4.5/user-picker/src/components/PopupUserPicker.d.ts +39 -0
- package/dist/types-ts4.5/user-picker/src/components/SingleValue.d.ts +5 -0
- package/dist/types-ts4.5/user-picker/src/components/SingleValueContainer.d.ts +9 -0
- package/dist/types-ts4.5/user-picker/src/components/SizeableAvatar.d.ts +10 -0
- package/dist/types-ts4.5/user-picker/src/components/TeamOption/index.d.ts +3 -0
- package/dist/types-ts4.5/user-picker/src/components/TeamOption/main.d.ts +16 -0
- package/dist/types-ts4.5/user-picker/src/components/UserOption.d.ts +15 -0
- package/dist/types-ts4.5/user-picker/src/components/UserPicker.d.ts +16 -0
- package/dist/types-ts4.5/user-picker/src/components/assets/github.d.ts +2 -0
- package/dist/types-ts4.5/user-picker/src/components/assets/google.d.ts +2 -0
- package/dist/types-ts4.5/user-picker/src/components/assets/microsoft.d.ts +2 -0
- package/dist/types-ts4.5/user-picker/src/components/assets/slack.d.ts +2 -0
- package/dist/types-ts4.5/user-picker/src/components/batch.d.ts +1 -0
- package/dist/types-ts4.5/user-picker/src/components/components.d.ts +49 -0
- package/dist/types-ts4.5/user-picker/src/components/creatable.d.ts +12 -0
- package/dist/types-ts4.5/user-picker/src/components/creatableEmailSuggestion.d.ts +19 -0
- package/dist/types-ts4.5/user-picker/src/components/emailValidation.d.ts +3 -0
- package/dist/types-ts4.5/user-picker/src/components/i18n.d.ts +132 -0
- package/dist/types-ts4.5/user-picker/src/components/popup.d.ts +48 -0
- package/dist/types-ts4.5/user-picker/src/components/styles.d.ts +42 -0
- package/dist/types-ts4.5/user-picker/src/components/utils.d.ts +29 -0
- package/dist/types-ts4.5/user-picker/src/i18n/cs.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/da.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/de.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/en.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/en_GB.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/es.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/et.d.ts +15 -0
- package/dist/types-ts4.5/user-picker/src/i18n/fi.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/fr.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/hu.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/is.d.ts +7 -0
- package/dist/types-ts4.5/user-picker/src/i18n/it.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/ja.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/ko.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/nb.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/nl.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/pl.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/pt_BR.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/pt_PT.d.ts +15 -0
- package/dist/types-ts4.5/user-picker/src/i18n/ro.d.ts +7 -0
- package/dist/types-ts4.5/user-picker/src/i18n/ru.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/sk.d.ts +15 -0
- package/dist/types-ts4.5/user-picker/src/i18n/sv.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/th.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/tr.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/uk.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/vi.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/zh.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/i18n/zh_TW.d.ts +35 -0
- package/dist/types-ts4.5/user-picker/src/index.d.ts +7 -0
- package/dist/types-ts4.5/user-picker/src/types.d.ts +321 -0
- package/dist/types-ts4.5/user-picker/src/util/i18n-util.d.ts +11 -0
- package/dist/types-ts4.5/user-picker/src/util/ufoExperiences.d.ts +10 -0
- package/dist/{types → types-ts4.5/util-data-test/src}/emoji/emoji-from-upload.d.ts +1 -1
- package/dist/{types → types-ts4.5/util-data-test/src}/emoji/emoji-repository-usage-clear.d.ts +2 -2
- package/dist/{types → types-ts4.5/util-data-test/src}/emoji/emoji-resource-usage-clear.d.ts +1 -1
- package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/get-atlassian-emoji-data.d.ts +1 -1
- package/dist/types-ts4.5/util-data-test/src/emoji/get-atlassian-emojis.d.ts +1 -0
- package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/get-emoji-provider.d.ts +1 -1
- package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/get-emoji-repository.d.ts +1 -1
- package/dist/types-ts4.5/util-data-test/src/emoji/get-emojis.d.ts +1 -0
- package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/get-site-emoji-data.d.ts +1 -1
- package/dist/types-ts4.5/util-data-test/src/emoji/get-site-emojis.d.ts +1 -0
- package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/get-standard-emoji-data.d.ts +1 -1
- package/dist/types-ts4.5/util-data-test/src/emoji/get-standard-emojis.d.ts +1 -0
- package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/mock-emoji-resource-factory.d.ts +1 -1
- package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/mock-emoji-resource.d.ts +2 -2
- package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/mock-non-uploading-emoji-resource-factory.d.ts +1 -1
- package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/mock-non-uploading-emoji-resource.d.ts +2 -2
- package/dist/{types → types-ts4.5/util-data-test/src}/emoji/types.d.ts +1 -1
- package/dist/{types → types-ts4.5/util-data-test/src}/emoji-test/filter-to-searchable.d.ts +1 -1
- package/dist/{types → types-ts4.5/util-data-test/src}/emoji-test/get-test-emoji-resource-from-repository.d.ts +1 -1
- package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-emojis.d.ts +1 -1
- package/dist/types-ts4.5/util-data-test/src/emoji-test/get-test-searchable-emojis.d.ts +1 -0
- package/dist/types-ts4.5/util-data-test/src/emoji-test/test-emoji-repository.d.ts +5 -0
- package/dist/types-ts4.5/util-data-test/src/logger.d.ts +4 -0
- package/dist/types-ts4.5/{mention → util-data-test/src/mention}/create-mock-mention-name-resolver.d.ts +1 -1
- package/dist/{types → types-ts4.5/util-data-test/src}/mention/mock-mention-name-client.d.ts +1 -1
- package/dist/types-ts4.5/{mention → util-data-test/src/mention}/mock-mention-resource-with-info-hints.d.ts +1 -1
- package/dist/{types → types-ts4.5/util-data-test/src}/mention/mock-mention-resource.d.ts +2 -2
- package/dist/types-ts4.5/{mention → util-data-test/src/mention}/mock-presence-resource.d.ts +1 -1
- package/dist/types-ts4.5/{task-decision → util-data-test/src/task-decision}/mock-task-decision-resource.d.ts +1 -1
- package/dist/types-ts4.5/{task-decision → util-data-test/src/task-decision}/utils.d.ts +2 -2
- package/dist/types-ts4.5/{user-picker → util-data-test/src/user-picker}/user-picker-custom-data.d.ts +1 -1
- package/dist/types-ts4.5/{user-picker → util-data-test/src/user-picker}/user-picker-team-data.d.ts +1 -1
- package/package.json +3 -8
- package/dist/types/emoji/get-atlassian-emojis.d.ts +0 -1
- package/dist/types/emoji/get-emojis.d.ts +0 -1
- package/dist/types/emoji/get-site-emojis.d.ts +0 -1
- package/dist/types/emoji/get-standard-emojis.d.ts +0 -1
- package/dist/types/emoji-test/get-test-searchable-emojis.d.ts +0 -1
- package/dist/types/emoji-test/test-emoji-repository.d.ts +0 -5
- package/dist/types/json-data/emoji-all.json +0 -54398
- package/dist/types/json-data/mention-data.json +0 -393
- package/dist/types/json-data/presence-invalid-info.json +0 -47
- package/dist/types/json-data/presence-valid-info.json +0 -63
- package/dist/types/json-data/sample-tasks.json +0 -80
- package/dist/types/json-data/service-data-atlassian.json +0 -272
- package/dist/types/json-data/service-data-standard.json +0 -54098
- package/dist/types/json-data/slack-conversations-data.json +0 -476
- package/dist/types/json-data/slack-workspaces-data.json +0 -19
- package/dist/types/json-data/test-emoji-atlassian.json +0 -224
- package/dist/types/json-data/test-emoji-standard.json +0 -2000
- package/dist/types/json-data/user-picker-data.json +0 -361
- package/dist/types-ts4.5/emoji/get-atlassian-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji/get-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji/get-site-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji/get-standard-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji-test/get-test-searchable-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji-test/test-emoji-repository.d.ts +0 -5
- package/dist/types-ts4.5/json-data/emoji-all.json +0 -54398
- package/dist/types-ts4.5/json-data/mention-data.json +0 -393
- package/dist/types-ts4.5/json-data/presence-invalid-info.json +0 -47
- package/dist/types-ts4.5/json-data/presence-valid-info.json +0 -63
- package/dist/types-ts4.5/json-data/sample-tasks.json +0 -80
- package/dist/types-ts4.5/json-data/service-data-atlassian.json +0 -272
- package/dist/types-ts4.5/json-data/service-data-standard.json +0 -54098
- package/dist/types-ts4.5/json-data/slack-conversations-data.json +0 -476
- package/dist/types-ts4.5/json-data/slack-workspaces-data.json +0 -19
- package/dist/types-ts4.5/json-data/test-emoji-atlassian.json +0 -224
- package/dist/types-ts4.5/json-data/test-emoji-standard.json +0 -2000
- package/dist/types-ts4.5/json-data/user-picker-data.json +0 -361
- /package/dist/types/{emoji → util-data-test/src/emoji}/get-emoji-resource-standard-atlassian.d.ts +0 -0
- /package/dist/types/{emoji → util-data-test/src/emoji}/get-emoji-resource-usage-clear.d.ts +0 -0
- /package/dist/types/{emoji → util-data-test/src/emoji}/get-emoji-resource.d.ts +0 -0
- /package/dist/types/{emoji → util-data-test/src/emoji}/image-emoji.d.ts +0 -0
- /package/dist/types/{emoji → util-data-test/src/emoji}/logged-user.d.ts +0 -0
- /package/dist/types/{emoji → util-data-test/src/emoji}/lorem.d.ts +0 -0
- /package/dist/types/{emoji → util-data-test/src/emoji}/site-emoji-foo.d.ts +0 -0
- /package/dist/types/{emoji → util-data-test/src/emoji}/site-emoji-wtf.d.ts +0 -0
- /package/dist/types/{emoji → util-data-test/src/emoji}/sprite-emoji.d.ts +0 -0
- /package/dist/types/{emoji-constants → util-data-test/src/emoji-constants}/index.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/emoji-samples.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/expires-at.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-non-uploading-emoji-resource.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-atlassian-emojis.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-atlassian-service-emojis.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-emoji-repository.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-emoji-resource-non-uploading.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-emoji-resource.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-image-emoji.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-media-api-token.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-site-emoji-foo.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-site-emoji-repository.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-site-emoji-wtf.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-site-emojis.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-site-service-emojis.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-sprite-emoji.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-standard-emojis.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/get-test-standard-service-emojis.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/media-emoji.d.ts +0 -0
- /package/dist/types/{emoji-test → util-data-test/src/emoji-test}/media-service-emoji.d.ts +0 -0
- /package/dist/types/{mention → util-data-test/src/mention}/mention-story-data.d.ts +0 -0
- /package/dist/types/{mention → util-data-test/src/mention}/mention-test-data.d.ts +0 -0
- /package/dist/types/{mention → util-data-test/src/mention}/presence-data.d.ts +0 -0
- /package/dist/types/{mention → util-data-test/src/mention}/utils.d.ts +0 -0
- /package/dist/types/{profilecard → util-data-test/src/profilecard}/get-mock-profilecard-client.d.ts +0 -0
- /package/dist/types/{profilecard → util-data-test/src/profilecard}/profilecard-data.d.ts +0 -0
- /package/dist/types/{profilecard → util-data-test/src/profilecard}/util.d.ts +0 -0
- /package/dist/types/{slack-data → util-data-test/src/slack-data}/index.d.ts +0 -0
- /package/dist/types/{slack-data → util-data-test/src/slack-data}/slack-conversations-data.d.ts +0 -0
- /package/dist/types/{slack-data → util-data-test/src/slack-data}/slack-workspaces-data.d.ts +0 -0
- /package/dist/types/{task-decision → util-data-test/src/task-decision}/task-decision-story-data.d.ts +0 -0
- /package/dist/types/{user-picker → util-data-test/src/user-picker}/index.d.ts +0 -0
- /package/dist/types/{user-picker → util-data-test/src/user-picker}/user-picker-data.d.ts +0 -0
- /package/dist/types-ts4.5/{logger.d.ts → emoji/src/util/logger.d.ts} +0 -0
- /package/dist/{types → types-ts4.5/mention/src/util}/logger.d.ts +0 -0
- /package/dist/types-ts4.5/user-picker/{ChevronRight.d.ts → src/components/ExternalUserOption/InfoIcon.d.ts} +0 -0
- /package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/get-emoji-resource-standard-atlassian.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/get-emoji-resource-usage-clear.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/get-emoji-resource.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/image-emoji.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/logged-user.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/lorem.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/site-emoji-foo.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/site-emoji-wtf.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji → util-data-test/src/emoji}/sprite-emoji.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-constants → util-data-test/src/emoji-constants}/index.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/emoji-samples.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/expires-at.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-non-uploading-emoji-resource.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-atlassian-emojis.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-atlassian-service-emojis.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-emoji-repository.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-emoji-resource-non-uploading.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-emoji-resource.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-image-emoji.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-media-api-token.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-site-emoji-foo.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-site-emoji-repository.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-site-emoji-wtf.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-site-emojis.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-site-service-emojis.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-sprite-emoji.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-standard-emojis.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/get-test-standard-service-emojis.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/media-emoji.d.ts +0 -0
- /package/dist/types-ts4.5/{emoji-test → util-data-test/src/emoji-test}/media-service-emoji.d.ts +0 -0
- /package/dist/types-ts4.5/{mention → util-data-test/src/mention}/mention-story-data.d.ts +0 -0
- /package/dist/types-ts4.5/{mention → util-data-test/src/mention}/mention-test-data.d.ts +0 -0
- /package/dist/types-ts4.5/{mention → util-data-test/src/mention}/presence-data.d.ts +0 -0
- /package/dist/types-ts4.5/{mention → util-data-test/src/mention}/utils.d.ts +0 -0
- /package/dist/types-ts4.5/{profilecard → util-data-test/src/profilecard}/get-mock-profilecard-client.d.ts +0 -0
- /package/dist/types-ts4.5/{profilecard → util-data-test/src/profilecard}/profilecard-data.d.ts +0 -0
- /package/dist/types-ts4.5/{profilecard → util-data-test/src/profilecard}/util.d.ts +0 -0
- /package/dist/types-ts4.5/{slack-data → util-data-test/src/slack-data}/index.d.ts +0 -0
- /package/dist/types-ts4.5/{slack-data → util-data-test/src/slack-data}/slack-conversations-data.d.ts +0 -0
- /package/dist/types-ts4.5/{slack-data → util-data-test/src/slack-data}/slack-workspaces-data.d.ts +0 -0
- /package/dist/types-ts4.5/{task-decision → util-data-test/src/task-decision}/task-decision-story-data.d.ts +0 -0
- /package/dist/{types → types-ts4.5/util-data-test/src}/user-picker/ChevronRight.d.ts +0 -0
- /package/dist/types-ts4.5/{user-picker → util-data-test/src/user-picker}/index.d.ts +0 -0
- /package/dist/types-ts4.5/{user-picker → util-data-test/src/user-picker}/user-picker-data.d.ts +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { PureComponent } from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import { Appearance, ContentRef, TaskType, DecisionType } from '../types';
|
|
5
|
+
import type { Theme } from '@atlaskit/theme/types';
|
|
6
|
+
export interface Props {
|
|
7
|
+
icon: JSX.Element;
|
|
8
|
+
itemType: TaskType | DecisionType;
|
|
9
|
+
children?: any;
|
|
10
|
+
appearance?: Appearance;
|
|
11
|
+
contentRef?: ContentRef;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
showPlaceholder?: boolean;
|
|
14
|
+
dataAttributes?: {
|
|
15
|
+
[key: string]: string | number;
|
|
16
|
+
};
|
|
17
|
+
checkBoxId?: string;
|
|
18
|
+
theme: Theme;
|
|
19
|
+
}
|
|
20
|
+
export default class Item extends PureComponent<Props, {}> {
|
|
21
|
+
static defaultProps: Partial<Props>;
|
|
22
|
+
private renderPlaceholder;
|
|
23
|
+
renderMessageAppearance(): jsx.JSX.Element | null;
|
|
24
|
+
render(): jsx.JSX.Element | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PureComponent } from 'react';
|
|
2
|
+
import { Appearance, ContentRef, TaskDecisionProvider } from '../types';
|
|
3
|
+
export interface Props {
|
|
4
|
+
taskId: string;
|
|
5
|
+
isDone?: boolean;
|
|
6
|
+
isRenderer?: boolean;
|
|
7
|
+
onChange?: (taskId: string, isChecked: boolean) => void;
|
|
8
|
+
contentRef?: ContentRef;
|
|
9
|
+
children?: any;
|
|
10
|
+
taskDecisionProvider?: Promise<TaskDecisionProvider>;
|
|
11
|
+
objectAri?: string;
|
|
12
|
+
showPlaceholder?: boolean;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
appearance?: Appearance;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
dataAttributes?: {
|
|
17
|
+
[key: string]: string | number;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export interface State {
|
|
21
|
+
isDone?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export default class ResourcedTaskItem extends PureComponent<Props, State> {
|
|
24
|
+
static defaultProps: Partial<Props>;
|
|
25
|
+
private mounted;
|
|
26
|
+
constructor(props: Props);
|
|
27
|
+
componentDidMount(): void;
|
|
28
|
+
UNSAFE_componentWillReceiveProps(nextProps: Props): void;
|
|
29
|
+
componentWillUnmount(): void;
|
|
30
|
+
private subscribe;
|
|
31
|
+
private unsubscribe;
|
|
32
|
+
private onUpdate;
|
|
33
|
+
private handleOnChange;
|
|
34
|
+
render(): JSX.Element;
|
|
35
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Appearance, ContentRef } from '../types';
|
|
4
|
+
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
5
|
+
export interface Props {
|
|
6
|
+
taskId: string;
|
|
7
|
+
isDone?: boolean;
|
|
8
|
+
isRenderer?: boolean;
|
|
9
|
+
onChange?: (taskId: string, isChecked: boolean) => void;
|
|
10
|
+
contentRef?: ContentRef;
|
|
11
|
+
children?: any;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
showPlaceholder?: boolean;
|
|
14
|
+
appearance?: Appearance;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
dataAttributes?: {
|
|
17
|
+
[key: string]: string | number;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props & WithAnalyticsEventsProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PureComponent, ReactNode } from 'react';
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
|
+
export interface Props {
|
|
4
|
+
listId?: string;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export default class TaskList extends PureComponent<Props, {}> {
|
|
8
|
+
render(): jsx.JSX.Element | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Theme } from '@atlaskit/theme/types';
|
|
2
|
+
export declare const listStyles: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const taskListStyles: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const contentStyles: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const taskStyles: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const decisionStyles: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const placeholderStyles: (offset: number) => import("@emotion/react").SerializedStyles;
|
|
8
|
+
/**
|
|
9
|
+
* References packages/design-system/checkbox/src/checkbox.tsx
|
|
10
|
+
* To be used until mobile editor does not require legacy themed() API anymore,
|
|
11
|
+
* which will allow migration to use @atlaskit/checkbox instead
|
|
12
|
+
*/
|
|
13
|
+
export declare const checkboxStyles: (isRenderer: boolean | undefined) => (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styles taken from packages/design-system/checkbox/src/internal/theme.tsx
|
|
3
|
+
* To be used until mobile editor does not require legacy themed() API anymore
|
|
4
|
+
*/
|
|
5
|
+
declare const checkboxTheme: {
|
|
6
|
+
light: {
|
|
7
|
+
borderColor: {
|
|
8
|
+
rest: "var(--ds-border-input)";
|
|
9
|
+
hovered: "var(--ds-border-input)";
|
|
10
|
+
disabled: "var(--ds-background-disabled)";
|
|
11
|
+
checked: "var(--ds-background-selected-bold)";
|
|
12
|
+
active: "var(--ds-border)";
|
|
13
|
+
focused: "var(--ds-border-focused)";
|
|
14
|
+
hoveredAndChecked: "var(--ds-background-selected-bold-hovered)";
|
|
15
|
+
};
|
|
16
|
+
boxColor: {
|
|
17
|
+
rest: "var(--ds-background-input)";
|
|
18
|
+
hovered: "var(--ds-background-input-hovered)";
|
|
19
|
+
disabled: "var(--ds-background-disabled)";
|
|
20
|
+
active: "var(--ds-background-input-pressed)";
|
|
21
|
+
hoveredAndChecked: "var(--ds-background-selected-bold-hovered)";
|
|
22
|
+
checked: "var(--ds-background-selected-bold)";
|
|
23
|
+
};
|
|
24
|
+
tickColor: {
|
|
25
|
+
disabledAndChecked: "var(--ds-icon-disabled)";
|
|
26
|
+
activeAndChecked: "var(--ds-icon-inverse)";
|
|
27
|
+
checked: "var(--ds-icon-inverse)";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Fallback colours for dark mode taken from
|
|
32
|
+
* packages/design-system/tokens/src/artifacts/themes/atlassian-dark.tsx
|
|
33
|
+
* To be used to keep mobile / web checkbox dark mode consistent
|
|
34
|
+
* until mobile editor does not require legacy themed() API anymore
|
|
35
|
+
*/
|
|
36
|
+
dark: {
|
|
37
|
+
borderColor: {
|
|
38
|
+
rest: "var(--ds-border-input)";
|
|
39
|
+
hovered: "var(--ds-border-input)";
|
|
40
|
+
disabled: "var(--ds-background-disabled)";
|
|
41
|
+
checked: "var(--ds-background-selected-bold)";
|
|
42
|
+
active: "var(--ds-border)";
|
|
43
|
+
focused: "var(--ds-border-focused)";
|
|
44
|
+
hoveredAndChecked: "var(--ds-background-selected-bold-hovered)";
|
|
45
|
+
};
|
|
46
|
+
boxColor: {
|
|
47
|
+
rest: "var(--ds-background-input)";
|
|
48
|
+
hovered: "var(--ds-background-input-hovered)";
|
|
49
|
+
disabled: "var(--ds-background-disabled)";
|
|
50
|
+
active: "var(--ds-background-input-pressed)";
|
|
51
|
+
hoveredAndChecked: "var(--ds-background-selected-bold-hovered)";
|
|
52
|
+
checked: "var(--ds-background-selected-bold)";
|
|
53
|
+
};
|
|
54
|
+
tickColor: {
|
|
55
|
+
disabledAndChecked: "var(--ds-icon-disabled)";
|
|
56
|
+
activeAndChecked: "var(--ds-icon-inverse)";
|
|
57
|
+
checked: "var(--ds-icon-inverse)";
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export default checkboxTheme;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import DecisionItem from './components/DecisionItem';
|
|
2
|
+
import DecisionList from './components/DecisionList';
|
|
3
|
+
import ResourcedTaskItem from './components/ResourcedTaskItem';
|
|
4
|
+
import TaskDecisionResource from './api/TaskDecisionResource';
|
|
5
|
+
import TaskItem from './components/TaskItem';
|
|
6
|
+
import TaskList from './components/TaskList';
|
|
7
|
+
export { PubSubSpecialEventType } from './types';
|
|
8
|
+
export type { Appearance, ARI, AVI, BaseItem, ContentRef, Cursor, Decision, DecisionState, DecisionStatus, DecisionType, Handler, Item, Meta, ObjectKey, OnUpdate, PubSubClient, PubSubOnEvent, RecentUpdateContext, RecentUpdatesId, RecentUpdatesListener, RenderDocument, RendererContext, ServiceDecision, ServiceDecisionResponse, ServiceItem, ServiceTask, ServiceTaskState, Task, TaskDecisionProvider, TaskDecisionResourceConfig, TaskState, TaskType, UserId, } from './types';
|
|
9
|
+
export { DecisionItem, DecisionList, ResourcedTaskItem, TaskDecisionResource, TaskItem, TaskList, };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseItem, Decision, Item, ObjectKey, ServiceDecision, ServiceTask, Task, TaskState } from './types';
|
|
2
|
+
export declare const isDecision: (item: Item) => item is Decision;
|
|
3
|
+
export declare const isTask: (item: Item) => item is Task;
|
|
4
|
+
export declare const toObjectKey: (item: Item | ServiceDecision | ServiceTask | BaseItem<any>) => ObjectKey;
|
|
5
|
+
export declare const objectKeyToString: (objectKey: ObjectKey) => string;
|
|
6
|
+
export declare const toggleTaskState: (state: TaskState) => TaskState;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ServiceConfig } from '@atlaskit/util-service-support';
|
|
3
|
+
export type DecisionState = 'DECIDED';
|
|
4
|
+
export type DecisionStatus = 'CREATED';
|
|
5
|
+
export type TaskState = 'TODO' | 'DONE';
|
|
6
|
+
export type Cursor = string;
|
|
7
|
+
export type DecisionType = 'DECISION';
|
|
8
|
+
export type TaskType = 'TASK';
|
|
9
|
+
export interface ContentRef {
|
|
10
|
+
(ref: HTMLElement | null): void;
|
|
11
|
+
}
|
|
12
|
+
export interface ObjectKey {
|
|
13
|
+
localId: string;
|
|
14
|
+
containerAri?: string;
|
|
15
|
+
objectAri: string;
|
|
16
|
+
}
|
|
17
|
+
export interface BaseItem<S> extends ObjectKey {
|
|
18
|
+
state: S;
|
|
19
|
+
lastUpdateDate: Date;
|
|
20
|
+
type: DecisionType | TaskType;
|
|
21
|
+
}
|
|
22
|
+
export interface ServiceDecision {
|
|
23
|
+
creationDate?: string;
|
|
24
|
+
creatorId?: UserId;
|
|
25
|
+
lastUpdaterId?: UserId;
|
|
26
|
+
lastUpdateDate: string;
|
|
27
|
+
localId: string;
|
|
28
|
+
objectAri: string;
|
|
29
|
+
participants?: UserId[];
|
|
30
|
+
state?: DecisionState;
|
|
31
|
+
status: DecisionStatus;
|
|
32
|
+
type: DecisionType;
|
|
33
|
+
}
|
|
34
|
+
export interface Meta {
|
|
35
|
+
cursor?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ServiceDecisionResponse {
|
|
38
|
+
decisions: ServiceDecision[];
|
|
39
|
+
meta: Meta;
|
|
40
|
+
}
|
|
41
|
+
export type ServiceItem = ServiceDecision | ServiceTask;
|
|
42
|
+
export interface ServiceTaskState {
|
|
43
|
+
lastUpdateDate: string;
|
|
44
|
+
localId: string;
|
|
45
|
+
objectAri: string;
|
|
46
|
+
state: TaskState;
|
|
47
|
+
}
|
|
48
|
+
export interface Decision extends BaseItem<DecisionState> {
|
|
49
|
+
creationDate?: Date;
|
|
50
|
+
creator?: UserId;
|
|
51
|
+
lastUpdater?: UserId;
|
|
52
|
+
lastUpdateDate: Date;
|
|
53
|
+
participants?: UserId[];
|
|
54
|
+
status: DecisionStatus;
|
|
55
|
+
type: DecisionType;
|
|
56
|
+
}
|
|
57
|
+
export type Item = Decision | Task;
|
|
58
|
+
export type UserId = string;
|
|
59
|
+
export interface ServiceTask {
|
|
60
|
+
creationDate?: string;
|
|
61
|
+
creatorId?: UserId;
|
|
62
|
+
lastUpdaterId?: UserId;
|
|
63
|
+
lastUpdateDate: string;
|
|
64
|
+
localId: string;
|
|
65
|
+
objectAri: string;
|
|
66
|
+
parentLocalId?: string;
|
|
67
|
+
participants?: UserId[];
|
|
68
|
+
position: number;
|
|
69
|
+
state: TaskState;
|
|
70
|
+
type: TaskType;
|
|
71
|
+
}
|
|
72
|
+
export interface Task extends BaseItem<TaskState> {
|
|
73
|
+
creationDate?: Date;
|
|
74
|
+
creator?: UserId;
|
|
75
|
+
lastUpdater?: UserId;
|
|
76
|
+
lastUpdateDate: Date;
|
|
77
|
+
parentLocalId?: string;
|
|
78
|
+
participants?: UserId[];
|
|
79
|
+
position?: number;
|
|
80
|
+
type: TaskType;
|
|
81
|
+
}
|
|
82
|
+
export type Handler = (state: TaskState | DecisionState) => void;
|
|
83
|
+
export type RecentUpdatesId = string;
|
|
84
|
+
export interface RecentUpdateContext {
|
|
85
|
+
objectAri: string;
|
|
86
|
+
localId?: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* A subscriber interface that can be called back if there are new decisions/tasks/items
|
|
90
|
+
* available as the result of an external change.
|
|
91
|
+
*/
|
|
92
|
+
export interface RecentUpdatesListener {
|
|
93
|
+
/**
|
|
94
|
+
* An id that can be used to unsubscribe
|
|
95
|
+
*/
|
|
96
|
+
id(id: RecentUpdatesId): void;
|
|
97
|
+
/**
|
|
98
|
+
* Indicates there are recent updates, and the listener should refresh
|
|
99
|
+
* the latest items from the TaskDecisionProvider.
|
|
100
|
+
*
|
|
101
|
+
* There will be a number of retries until expectedLocalId, if passed.
|
|
102
|
+
*
|
|
103
|
+
* @param updateContext Recent update context
|
|
104
|
+
*/
|
|
105
|
+
recentUpdates(updateContext: RecentUpdateContext): void;
|
|
106
|
+
}
|
|
107
|
+
export interface TaskDecisionResourceConfig extends ServiceConfig {
|
|
108
|
+
pubSubClient?: PubSubClient;
|
|
109
|
+
/**
|
|
110
|
+
* Indicates if initial state for an action or decision is should be cached,
|
|
111
|
+
* from the content, i.e. was originally hydrated from the service initially,
|
|
112
|
+
* and so should be considered up to date.
|
|
113
|
+
*
|
|
114
|
+
* Will stop the initiation of the hydration from the service the first
|
|
115
|
+
* time an action or decision is seen.
|
|
116
|
+
*
|
|
117
|
+
* If false the state will always be hydrated from the service on first view.
|
|
118
|
+
*/
|
|
119
|
+
disableServiceHydration?: boolean;
|
|
120
|
+
}
|
|
121
|
+
export interface TaskDecisionProvider {
|
|
122
|
+
unsubscribeRecentUpdates(id: RecentUpdatesId): void;
|
|
123
|
+
notifyRecentUpdates(updateContext: RecentUpdateContext): void;
|
|
124
|
+
toggleTask(objectKey: ObjectKey, state: TaskState): Promise<TaskState>;
|
|
125
|
+
subscribe(objectKey: ObjectKey, handler: Handler, item?: BaseItem<TaskState | DecisionState>): void;
|
|
126
|
+
unsubscribe(objectKey: ObjectKey, handler: Handler): void;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Same as RendererContext in editor-core (don't want an direct dep though)
|
|
130
|
+
*/
|
|
131
|
+
export interface RendererContext {
|
|
132
|
+
objectAri: string;
|
|
133
|
+
containerAri?: string;
|
|
134
|
+
}
|
|
135
|
+
export interface RenderDocument {
|
|
136
|
+
(document: any, rendererContext?: RendererContext): JSX.Element;
|
|
137
|
+
}
|
|
138
|
+
export interface OnUpdate<T> {
|
|
139
|
+
(allDecisions: T[], newDecisions: T[]): void;
|
|
140
|
+
}
|
|
141
|
+
export type Appearance = 'inline';
|
|
142
|
+
/**
|
|
143
|
+
* Same as PubSub client types (don't want a direct dep though)
|
|
144
|
+
*/
|
|
145
|
+
export type ARI = string;
|
|
146
|
+
export type AVI = string;
|
|
147
|
+
export interface PubSubOnEvent<T = any> {
|
|
148
|
+
(event: string, data: T): void;
|
|
149
|
+
}
|
|
150
|
+
export interface PubSubClient {
|
|
151
|
+
on(eventAvi: string, listener: PubSubOnEvent): PubSubClient;
|
|
152
|
+
off(eventAvi: string, listener: PubSubOnEvent): PubSubClient;
|
|
153
|
+
join(aris: ARI[]): Promise<PubSubClient>;
|
|
154
|
+
leave(aris: ARI[]): Promise<PubSubClient>;
|
|
155
|
+
}
|
|
156
|
+
export declare enum PubSubSpecialEventType {
|
|
157
|
+
ERROR = "ERROR",
|
|
158
|
+
CONNECTED = "CONNECTED",
|
|
159
|
+
RECONNECT = "RECONNECT"
|
|
160
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AnalyticsEventPayload } from '@atlaskit/analytics-next';
|
|
2
|
+
import { UserPickerProps, UserPickerState } from './types';
|
|
3
|
+
export type UserPickerSession = {
|
|
4
|
+
id: string;
|
|
5
|
+
start: number;
|
|
6
|
+
inputChangeTime: number;
|
|
7
|
+
upCount: number;
|
|
8
|
+
downCount: number;
|
|
9
|
+
lastKey?: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const startSession: () => UserPickerSession;
|
|
12
|
+
export declare const createAndFireEventInElementsChannel: (payload: AnalyticsEventPayload) => (createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent) => import("@atlaskit/analytics-next").UIAnalyticsEvent;
|
|
13
|
+
export interface EventCreator {
|
|
14
|
+
(props: UserPickerProps, state: UserPickerState, session?: UserPickerSession): AnalyticsEventPayload;
|
|
15
|
+
(props: UserPickerProps, state: UserPickerState, session?: UserPickerSession, ...args: any[]): AnalyticsEventPayload;
|
|
16
|
+
}
|
|
17
|
+
export declare const focusEvent: EventCreator;
|
|
18
|
+
export declare const clearEvent: EventCreator;
|
|
19
|
+
export declare const deleteEvent: EventCreator;
|
|
20
|
+
export declare const cancelEvent: EventCreator;
|
|
21
|
+
export declare const selectEvent: EventCreator;
|
|
22
|
+
export declare const searchedEvent: EventCreator;
|
|
23
|
+
export declare const failedEvent: EventCreator;
|
|
24
|
+
export declare const userInfoEvent: (sources: string[], accountId: string) => AnalyticsEventPayload;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LoadUserSource, UserSource } from '../types';
|
|
3
|
+
export interface UserSourceContext {
|
|
4
|
+
fetchUserSource?: LoadUserSource;
|
|
5
|
+
}
|
|
6
|
+
export declare const ExusUserSourceProvider: React.FC<UserSourceContext>;
|
|
7
|
+
export declare const useUserSource: (accountId: string, shouldFetchSources: boolean, existingSources?: UserSource[]) => {
|
|
8
|
+
sources: UserSource[];
|
|
9
|
+
loading: boolean;
|
|
10
|
+
error: string | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import { LozengeProps } from '../types';
|
|
5
|
+
export declare const textWrapper: (color?: string) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export type AvatarItemOptionProps = {
|
|
7
|
+
avatar: ReactNode;
|
|
8
|
+
isDisabled?: boolean;
|
|
9
|
+
lozenge?: ReactNode | LozengeProps;
|
|
10
|
+
primaryText?: ReactNode;
|
|
11
|
+
secondaryText?: ReactNode;
|
|
12
|
+
};
|
|
13
|
+
export declare const AvatarItemOption: ({ avatar, isDisabled, lozenge, primaryText, secondaryText, }: AvatarItemOptionProps) => jsx.JSX.Element;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UserPickerProps, UserPickerState } from '../types';
|
|
3
|
+
export type BaseUserPickerProps = UserPickerProps & {
|
|
4
|
+
SelectComponent: React.ComponentClass<any>;
|
|
5
|
+
pickerProps?: any;
|
|
6
|
+
styles: any;
|
|
7
|
+
components: any;
|
|
8
|
+
width: string | number;
|
|
9
|
+
name?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare class BaseUserPickerWithoutAnalytics extends React.Component<BaseUserPickerProps, UserPickerState> {
|
|
12
|
+
static defaultProps: {
|
|
13
|
+
isMulti: boolean;
|
|
14
|
+
subtle: boolean;
|
|
15
|
+
noBorder: boolean;
|
|
16
|
+
textFieldBackgroundColor: boolean;
|
|
17
|
+
isClearable: boolean;
|
|
18
|
+
loadOptionsErrorMessage: () => JSX.Element;
|
|
19
|
+
};
|
|
20
|
+
static getDerivedStateFromProps(nextProps: Partial<UserPickerProps>, prevState: UserPickerState): Partial<UserPickerState>;
|
|
21
|
+
private selectRef;
|
|
22
|
+
private session?;
|
|
23
|
+
private journeyId?;
|
|
24
|
+
private optionsShownUfoExperienceInstance;
|
|
25
|
+
constructor(props: BaseUserPickerProps);
|
|
26
|
+
private getSessionId;
|
|
27
|
+
private withSelectRef;
|
|
28
|
+
nextOption: () => void;
|
|
29
|
+
previousOption: () => void;
|
|
30
|
+
focus: () => void;
|
|
31
|
+
blur: () => void;
|
|
32
|
+
selectOption: () => void;
|
|
33
|
+
private handleChange;
|
|
34
|
+
private handleSelectRef;
|
|
35
|
+
private addOptions;
|
|
36
|
+
private handleLoadOptionsError;
|
|
37
|
+
private debouncedLoadOptions;
|
|
38
|
+
abortOptionsShownUfoExperience: () => void;
|
|
39
|
+
startOptionsShownUfoExperience: () => void;
|
|
40
|
+
private executeLoadOptions;
|
|
41
|
+
private handleFocus;
|
|
42
|
+
private resetInputState;
|
|
43
|
+
private handleBlur;
|
|
44
|
+
private handleOpen;
|
|
45
|
+
private handleClose;
|
|
46
|
+
private handleInputChange;
|
|
47
|
+
private fireEvent;
|
|
48
|
+
private startSession;
|
|
49
|
+
componentDidMount(): void;
|
|
50
|
+
componentDidUpdate(_: UserPickerProps, prevState: UserPickerState): void;
|
|
51
|
+
private handleKeyDown;
|
|
52
|
+
handleClearIndicatorHover: (hoveringClearIndicator: boolean) => void;
|
|
53
|
+
private getOptions;
|
|
54
|
+
private getAppearance;
|
|
55
|
+
get ariaProps(): {};
|
|
56
|
+
render(): JSX.Element;
|
|
57
|
+
}
|
|
58
|
+
export declare const BaseUserPicker: React.ForwardRefExoticComponent<Pick<Omit<BaseUserPickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "options" | "search" | "width" | "name" | "anchor" | "footer" | "appearance" | "onSelection" | "onClose" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "value" | "autoFocus" | "noOptionsMessage" | "isDisabled" | "captureMenuScroll" | "closeMenuOnScroll" | "components" | "inputId" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "onInputChange" | "styles" | "fieldId" | "menuMinWidth" | "maxPickerHeight" | "loadOptions" | "loadUserSource" | "open" | "onClear" | "addMoreMessage" | "clearValueLabel" | "allowEmail" | "suggestEmailsForDomain" | "emailLabel" | "disableInput" | "isValidEmail" | "maxOptions" | "ariaLabelledBy" | "ariaLive" | "SelectComponent" | "pickerProps"> & Partial<Pick<Omit<BaseUserPickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "isClearable" | "isMulti" | "textFieldBackgroundColor" | "loadOptionsErrorMessage" | "subtle" | "noBorder">> & Partial<Pick<{
|
|
59
|
+
isMulti: boolean;
|
|
60
|
+
subtle: boolean;
|
|
61
|
+
noBorder: boolean;
|
|
62
|
+
textFieldBackgroundColor: boolean;
|
|
63
|
+
isClearable: boolean;
|
|
64
|
+
loadOptionsErrorMessage: () => JSX.Element;
|
|
65
|
+
}, never>> & React.RefAttributes<any>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Custom } from '../../types';
|
|
4
|
+
export type CustomOptionProps = {
|
|
5
|
+
data: Custom;
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare class CustomOption extends React.PureComponent<CustomOptionProps> {
|
|
9
|
+
private getPrimaryText;
|
|
10
|
+
private getBylineComponent;
|
|
11
|
+
private renderByline;
|
|
12
|
+
private renderAvatar;
|
|
13
|
+
private getLozengeProps;
|
|
14
|
+
render(): jsx.JSX.Element;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import { Email } from '../../types';
|
|
5
|
+
import { EmailValidationResponse } from '../emailValidation';
|
|
6
|
+
export type EmailOptionProps = {
|
|
7
|
+
email: Email;
|
|
8
|
+
isSelected: boolean;
|
|
9
|
+
label?: string;
|
|
10
|
+
emailValidity: EmailValidationResponse;
|
|
11
|
+
};
|
|
12
|
+
export declare class EmailOption extends React.PureComponent<EmailOptionProps> {
|
|
13
|
+
private getLozengeProps;
|
|
14
|
+
private renderPrimaryText;
|
|
15
|
+
private renderSecondaryText;
|
|
16
|
+
private renderOption;
|
|
17
|
+
render(): jsx.JSX.Element;
|
|
18
|
+
}
|
package/dist/types/user-picker/src/components/ExternalUserOption/ExternalAvatarItemOption.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
export type ExternalAvatarItemOptionProps = {
|
|
5
|
+
avatar: ReactNode;
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
primaryText: ReactNode;
|
|
8
|
+
secondaryText?: ReactNode;
|
|
9
|
+
sourcesInfoTooltip?: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export declare const ExternalAvatarItemOption: ({ avatar, isDisabled, primaryText, secondaryText, sourcesInfoTooltip, }: ExternalAvatarItemOptionProps) => jsx.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ExternalUserSourcesData } from '../ExternalUserSourcesContainer';
|
|
4
|
+
export declare const sourcesTooltipContainer: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const sourceWrapper: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const SourcesTooltipContent: React.FC<ExternalUserSourcesData>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const AsyncExternalUserOption: React.LazyExoticComponent<React.ForwardRefExoticComponent<Omit<import("./main").ExternalUserOptionProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>>;
|
|
3
|
+
export default AsyncExternalUserOption;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
4
|
+
import { ExternalUser } from '../../types';
|
|
5
|
+
export declare const imageContainer: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const emailDomainWrapper: import("@emotion/react").SerializedStyles;
|
|
7
|
+
export type ExternalUserOptionProps = WithAnalyticsEventsProps & {
|
|
8
|
+
user: ExternalUser;
|
|
9
|
+
status?: string;
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const ExternalUserOption: React.ForwardRefExoticComponent<Omit<ExternalUserOptionProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { UserSource } from '../types';
|
|
3
|
+
export interface ExternalUserSourcesData {
|
|
4
|
+
sources: UserSource[];
|
|
5
|
+
sourcesLoading: boolean;
|
|
6
|
+
}
|
|
7
|
+
type SourcesChildrenFunc = (sourcesData: ExternalUserSourcesData) => ReactNode;
|
|
8
|
+
interface SourcesContainerProps {
|
|
9
|
+
accountId: string;
|
|
10
|
+
shouldFetchSources: boolean;
|
|
11
|
+
initialSources: UserSource[];
|
|
12
|
+
children: SourcesChildrenFunc;
|
|
13
|
+
}
|
|
14
|
+
export declare const ExternalUserSourcesContainer: React.FC<SourcesContainerProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import { Group } from '../../types';
|
|
5
|
+
export declare const groupOptionIconWrapper: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export type GroupOptionProps = {
|
|
7
|
+
group: Group;
|
|
8
|
+
isSelected: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare class GroupOption extends React.PureComponent<GroupOptionProps> {
|
|
11
|
+
private getPrimaryText;
|
|
12
|
+
private renderAvatar;
|
|
13
|
+
private renderByline;
|
|
14
|
+
private getLozengeProps;
|
|
15
|
+
render(): jsx.JSX.Element;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HighlightRange } from '../types';
|
|
3
|
+
export interface Props {
|
|
4
|
+
highlights?: HighlightRange[];
|
|
5
|
+
children: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class HighlightText extends React.PureComponent<Props> {
|
|
8
|
+
render(): (string | JSX.Element)[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { type AriaAttributes } from 'react';
|
|
2
|
+
import { type OptionType, type SelectProps } from '@atlaskit/select';
|
|
3
|
+
import { AriaAttributesType } from '../types';
|
|
4
|
+
export type Props = {
|
|
5
|
+
selectProps?: SelectProps<OptionType, boolean>;
|
|
6
|
+
innerRef: (ref: React.Ref<HTMLInputElement>) => void;
|
|
7
|
+
ariaDescribedBy?: AriaAttributesType;
|
|
8
|
+
};
|
|
9
|
+
export declare class Input extends React.Component<Props & AriaAttributes> {
|
|
10
|
+
handleKeyPress: (e: KeyboardEvent) => void;
|
|
11
|
+
/**
|
|
12
|
+
* Overrides the default behaviour of react-select lib
|
|
13
|
+
*
|
|
14
|
+
* The getter is a workaround for original behaviour of the react-select lib.
|
|
15
|
+
* Placeholder and Input are linked not via label, aria-label or aria-labeledby, but through aria-describedby.
|
|
16
|
+
* Basically in the getter we reassign Placeholder ID from aria-describedby to aria-labelledby
|
|
17
|
+
* {@link https://github.com/JedWatson/react-select/issues/5651#issue-1731353197 GitHub}
|
|
18
|
+
*/
|
|
19
|
+
get ariaLabelledBy(): AriaAttributesType;
|
|
20
|
+
get ariaDescribedBy(): AriaAttributesType;
|
|
21
|
+
render(): JSX.Element;
|
|
22
|
+
}
|