@atlaskit/editor-common 107.20.1 → 107.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/afm-cc/tsconfig.json +8 -5
- package/afm-dev-agents/tsconfig.json +3 -0
- package/afm-jira/tsconfig.json +3 -0
- package/afm-passionfruit/tsconfig.json +186 -0
- package/afm-post-office/tsconfig.json +3 -0
- package/afm-rovo-extension/tsconfig.json +3 -0
- package/afm-townsquare/tsconfig.json +3 -0
- package/dist/cjs/commands/index.js +100 -3
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +2 -1
- package/dist/cjs/expand/index.js +1 -0
- package/dist/cjs/i18n/cs.js +14 -0
- package/dist/cjs/i18n/da.js +14 -0
- package/dist/cjs/i18n/de.js +14 -0
- package/dist/cjs/i18n/en.js +8 -0
- package/dist/cjs/i18n/en_GB.js +8 -0
- package/dist/cjs/i18n/en_ZZ.js +21 -0
- package/dist/cjs/i18n/es.js +14 -0
- package/dist/cjs/i18n/fi.js +14 -0
- package/dist/cjs/i18n/fr.js +15 -0
- package/dist/cjs/i18n/hr.js +14 -0
- package/dist/cjs/i18n/hu.js +14 -0
- package/dist/cjs/i18n/it.js +14 -0
- package/dist/cjs/i18n/ja.js +14 -0
- package/dist/cjs/i18n/ko.js +14 -0
- package/dist/cjs/i18n/nb.js +15 -0
- package/dist/cjs/i18n/nl.js +14 -0
- package/dist/cjs/i18n/pl.js +14 -0
- package/dist/cjs/i18n/pt_BR.js +14 -0
- package/dist/cjs/i18n/ru.js +14 -0
- package/dist/cjs/i18n/sl.js +14 -0
- package/dist/cjs/i18n/sr_RS.js +16 -0
- package/dist/cjs/i18n/sr_YR.js +16 -0
- package/dist/cjs/i18n/sv.js +14 -0
- package/dist/cjs/i18n/th.js +14 -0
- package/dist/cjs/i18n/tr.js +14 -0
- package/dist/cjs/i18n/uk.js +14 -0
- package/dist/cjs/i18n/vi.js +14 -0
- package/dist/cjs/i18n/zh.js +14 -0
- package/dist/cjs/i18n/zh_TW.js +14 -0
- package/dist/cjs/media-single/CommentBadge.js +2 -1
- package/dist/cjs/monitoring/error.js +4 -2
- package/dist/cjs/portal/PortalBucket.js +1 -0
- package/dist/cjs/portal/PortalManager.js +12 -0
- package/dist/cjs/preset/builder.js +1 -0
- package/dist/cjs/toolbar/EditorToolbarUIProvider.js +28 -0
- package/dist/cjs/toolbar/index.js +69 -1
- package/dist/cjs/toolbar/keys.js +32 -2
- package/dist/cjs/toolbar/rank.js +9 -2
- package/dist/cjs/toolbar/utils.js +12 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/TableSelector/table-selector.js +2 -1
- package/dist/cjs/ui-react/with-react-editor-view-outer-listeners.js +6 -2
- package/dist/cjs/utils/compareNodes.js +6 -2
- package/dist/es2019/commands/index.js +93 -0
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +2 -1
- package/dist/es2019/expand/index.js +1 -0
- package/dist/es2019/i18n/cs.js +14 -0
- package/dist/es2019/i18n/da.js +14 -0
- package/dist/es2019/i18n/de.js +14 -0
- package/dist/es2019/i18n/en.js +8 -0
- package/dist/es2019/i18n/en_GB.js +8 -0
- package/dist/es2019/i18n/en_ZZ.js +21 -0
- package/dist/es2019/i18n/es.js +14 -0
- package/dist/es2019/i18n/fi.js +14 -0
- package/dist/es2019/i18n/fr.js +15 -0
- package/dist/es2019/i18n/hr.js +14 -0
- package/dist/es2019/i18n/hu.js +14 -0
- package/dist/es2019/i18n/it.js +14 -0
- package/dist/es2019/i18n/ja.js +14 -0
- package/dist/es2019/i18n/ko.js +14 -0
- package/dist/es2019/i18n/nb.js +15 -0
- package/dist/es2019/i18n/nl.js +14 -0
- package/dist/es2019/i18n/pl.js +14 -0
- package/dist/es2019/i18n/pt_BR.js +14 -0
- package/dist/es2019/i18n/ru.js +14 -0
- package/dist/es2019/i18n/sl.js +14 -0
- package/dist/es2019/i18n/sr_RS.js +16 -0
- package/dist/es2019/i18n/sr_YR.js +16 -0
- package/dist/es2019/i18n/sv.js +14 -0
- package/dist/es2019/i18n/th.js +14 -0
- package/dist/es2019/i18n/tr.js +14 -0
- package/dist/es2019/i18n/uk.js +14 -0
- package/dist/es2019/i18n/vi.js +14 -0
- package/dist/es2019/i18n/zh.js +14 -0
- package/dist/es2019/i18n/zh_TW.js +14 -0
- package/dist/es2019/media-single/CommentBadge.js +2 -1
- package/dist/es2019/monitoring/error.js +4 -1
- package/dist/es2019/portal/PortalBucket.js +1 -0
- package/dist/es2019/portal/PortalManager.js +12 -0
- package/dist/es2019/preset/builder.js +1 -0
- package/dist/es2019/toolbar/EditorToolbarUIProvider.js +22 -0
- package/dist/es2019/toolbar/index.js +5 -3
- package/dist/es2019/toolbar/keys.js +31 -1
- package/dist/es2019/toolbar/rank.js +17 -1
- package/dist/es2019/toolbar/utils.js +6 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/TableSelector/table-selector.js +2 -1
- package/dist/es2019/ui-react/with-react-editor-view-outer-listeners.js +6 -2
- package/dist/es2019/utils/compareNodes.js +6 -2
- package/dist/esm/commands/index.js +97 -0
- package/dist/esm/element-browser/components/ElementList/ElementList.js +2 -1
- package/dist/esm/expand/index.js +1 -0
- package/dist/esm/i18n/cs.js +14 -0
- package/dist/esm/i18n/da.js +14 -0
- package/dist/esm/i18n/de.js +14 -0
- package/dist/esm/i18n/en.js +8 -0
- package/dist/esm/i18n/en_GB.js +8 -0
- package/dist/esm/i18n/en_ZZ.js +21 -0
- package/dist/esm/i18n/es.js +14 -0
- package/dist/esm/i18n/fi.js +14 -0
- package/dist/esm/i18n/fr.js +15 -0
- package/dist/esm/i18n/hr.js +14 -0
- package/dist/esm/i18n/hu.js +14 -0
- package/dist/esm/i18n/it.js +14 -0
- package/dist/esm/i18n/ja.js +14 -0
- package/dist/esm/i18n/ko.js +14 -0
- package/dist/esm/i18n/nb.js +15 -0
- package/dist/esm/i18n/nl.js +14 -0
- package/dist/esm/i18n/pl.js +14 -0
- package/dist/esm/i18n/pt_BR.js +14 -0
- package/dist/esm/i18n/ru.js +14 -0
- package/dist/esm/i18n/sl.js +14 -0
- package/dist/esm/i18n/sr_RS.js +16 -0
- package/dist/esm/i18n/sr_YR.js +16 -0
- package/dist/esm/i18n/sv.js +14 -0
- package/dist/esm/i18n/th.js +14 -0
- package/dist/esm/i18n/tr.js +14 -0
- package/dist/esm/i18n/uk.js +14 -0
- package/dist/esm/i18n/vi.js +14 -0
- package/dist/esm/i18n/zh.js +14 -0
- package/dist/esm/i18n/zh_TW.js +14 -0
- package/dist/esm/media-single/CommentBadge.js +2 -1
- package/dist/esm/monitoring/error.js +4 -2
- package/dist/esm/portal/PortalBucket.js +1 -0
- package/dist/esm/portal/PortalManager.js +12 -0
- package/dist/esm/preset/builder.js +1 -0
- package/dist/esm/toolbar/EditorToolbarUIProvider.js +20 -0
- package/dist/esm/toolbar/index.js +5 -3
- package/dist/esm/toolbar/keys.js +31 -1
- package/dist/esm/toolbar/rank.js +9 -2
- package/dist/esm/toolbar/utils.js +6 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/TableSelector/table-selector.js +2 -1
- package/dist/esm/ui-react/with-react-editor-view-outer-listeners.js +6 -2
- package/dist/esm/utils/compareNodes.js +6 -2
- package/dist/types/analytics/types/events.d.ts +0 -1
- package/dist/types/annotation/index.d.ts +0 -3
- package/dist/types/card/LinkToolbarButtonGroup.d.ts +0 -1
- package/dist/types/card/link-toolbar-button-group-options.d.ts +0 -1
- package/dist/types/commands/index.d.ts +18 -2
- package/dist/types/commands/insert-block.d.ts +1 -1
- package/dist/types/element-browser/components/ElementList/EmptyState.d.ts +0 -1
- package/dist/types/element-browser/components/ElementList/NotFoundIllustration.d.ts +0 -1
- package/dist/types/element-browser/components/ElementSearch.d.ts +1 -1
- package/dist/types/element-browser/components/StatelessElementBrowser.d.ts +8 -8
- package/dist/types/element-browser/components/ViewMore.d.ts +0 -1
- package/dist/types/element-browser/hooks/use-focus.d.ts +0 -1
- package/dist/types/extensibility/Extension/Extension/index.d.ts +10 -10
- package/dist/types/extensions/extension-handlers.d.ts +2 -2
- package/dist/types/extensions/types/extension-handler.d.ts +0 -1
- package/dist/types/extensions/types/extension-manifest-toolbar-item.d.ts +0 -1
- package/dist/types/extensions/types/field-definitions.d.ts +0 -1
- package/dist/types/floating-toolbar/DropdownMenuItem.d.ts +0 -1
- package/dist/types/floating-toolbar/index.d.ts +1 -1
- package/dist/types/guideline/updateGuideline.d.ts +2 -2
- package/dist/types/i18n/cs.d.ts +14 -0
- package/dist/types/i18n/da.d.ts +14 -0
- package/dist/types/i18n/de.d.ts +14 -0
- package/dist/types/i18n/en.d.ts +8 -0
- package/dist/types/i18n/en_GB.d.ts +8 -0
- package/dist/types/i18n/en_ZZ.d.ts +21 -0
- package/dist/types/i18n/es.d.ts +14 -0
- package/dist/types/i18n/fi.d.ts +14 -0
- package/dist/types/i18n/fr.d.ts +15 -0
- package/dist/types/i18n/hr.d.ts +14 -0
- package/dist/types/i18n/hu.d.ts +14 -0
- package/dist/types/i18n/it.d.ts +14 -0
- package/dist/types/i18n/ja.d.ts +14 -0
- package/dist/types/i18n/ko.d.ts +14 -0
- package/dist/types/i18n/nb.d.ts +15 -0
- package/dist/types/i18n/nl.d.ts +14 -0
- package/dist/types/i18n/pl.d.ts +14 -0
- package/dist/types/i18n/pt_BR.d.ts +14 -0
- package/dist/types/i18n/ru.d.ts +14 -0
- package/dist/types/i18n/sl.d.ts +14 -0
- package/dist/types/i18n/sr_RS.d.ts +16 -0
- package/dist/types/i18n/sr_YR.d.ts +16 -0
- package/dist/types/i18n/sv.d.ts +14 -0
- package/dist/types/i18n/th.d.ts +14 -0
- package/dist/types/i18n/tr.d.ts +14 -0
- package/dist/types/i18n/uk.d.ts +14 -0
- package/dist/types/i18n/vi.d.ts +14 -0
- package/dist/types/i18n/zh.d.ts +14 -0
- package/dist/types/i18n/zh_TW.d.ts +14 -0
- package/dist/types/icons/shared/DynamicStrokeIconDecoration.d.ts +0 -1
- package/dist/types/icons/shared/SteppedRainbowIconDecoration.d.ts +0 -1
- package/dist/types/keymaps/index.d.ts +2 -2
- package/dist/types/lazy-node-view/css-helper.d.ts +0 -1
- package/dist/types/link/ConfigureLinkOverlay/StyledButton.d.ts +1 -2
- package/dist/types/link/ConfigureLinkOverlay/useLinkOverlayAnalyticsEvents.d.ts +1 -1
- package/dist/types/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +5 -2
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
- package/dist/types/mark/commands.d.ts +1 -1
- package/dist/types/media-inline/inline-image-card.d.ts +6 -7
- package/dist/types/media-inline/media-inline-image-card.d.ts +0 -1
- package/dist/types/media-inline/views/error-view.d.ts +0 -1
- package/dist/types/media-inline/views/frame.d.ts +0 -1
- package/dist/types/media-inline/views/icon-wrapper.d.ts +0 -1
- package/dist/types/media-single/CommentBadge.d.ts +0 -1
- package/dist/types/monitoring/error.d.ts +1 -1
- package/dist/types/portal/PortalManager.d.ts +0 -1
- package/dist/types/provider-factory/context.d.ts +2 -2
- package/dist/types/provider-helpers/combine-providers.d.ts +1 -1
- package/dist/types/resizer/BreakoutResizer.d.ts +1 -1
- package/dist/types/resizer/Resizer.d.ts +1 -1
- package/dist/types/resizer/types.d.ts +0 -1
- package/dist/types/styles/shared/headings.d.ts +1 -1
- package/dist/types/styles/shared/paragraph.d.ts +1 -1
- package/dist/types/styles/shared/table.d.ts +1 -1
- package/dist/types/table/SortingIcon.d.ts +0 -1
- package/dist/types/toolbar/EditorToolbarUIProvider.d.ts +6 -0
- package/dist/types/toolbar/index.d.ts +4 -2
- package/dist/types/toolbar/keys.d.ts +25 -0
- package/dist/types/toolbar/rank.d.ts +15 -0
- package/dist/types/toolbar/utils.d.ts +3 -0
- package/dist/types/types/annotation/index.d.ts +0 -1
- package/dist/types/types/empty-state-handler.d.ts +0 -1
- package/dist/types/types/hyperlink.d.ts +0 -1
- package/dist/types/ui/HoverLinkOverlay/types.d.ts +0 -1
- package/dist/types/ui/IntlProviderIfMissingWrapper/index.d.ts +0 -1
- package/dist/types/ui/MediaSingle/grid.d.ts +6 -6
- package/dist/types/ui/OverflowShadow/index.d.ts +10 -10
- package/dist/types/ui/Toolbar/ExpandIcon.d.ts +0 -1
- package/dist/types/ui/Toolbar/Separator.d.ts +0 -1
- package/dist/types/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types/ui-menu/ArrowKeyNavigationProvider/types.d.ts +0 -1
- package/dist/types/ui-menu/ColorPickerButton/index.d.ts +14 -14
- package/dist/types/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +6 -6
- package/dist/types/ui-menu/ToolbarButton/index.d.ts +23 -23
- package/dist/types/utils/breakout.d.ts +2 -2
- package/dist/types/utils/track-unsupported-content.d.ts +1 -1
- package/dist/types/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/events.d.ts +0 -1
- package/dist/types-ts4.5/annotation/index.d.ts +0 -3
- package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +0 -1
- package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +0 -1
- package/dist/types-ts4.5/commands/index.d.ts +18 -2
- package/dist/types-ts4.5/commands/insert-block.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/EmptyState.d.ts +0 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/NotFoundIllustration.d.ts +0 -1
- package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +8 -8
- package/dist/types-ts4.5/element-browser/components/ViewMore.d.ts +0 -1
- package/dist/types-ts4.5/element-browser/hooks/use-focus.d.ts +0 -1
- package/dist/types-ts4.5/extensibility/Extension/Extension/index.d.ts +10 -10
- package/dist/types-ts4.5/extensions/extension-handlers.d.ts +2 -2
- package/dist/types-ts4.5/extensions/types/extension-handler.d.ts +0 -1
- package/dist/types-ts4.5/extensions/types/extension-manifest-toolbar-item.d.ts +0 -1
- package/dist/types-ts4.5/extensions/types/field-definitions.d.ts +0 -1
- package/dist/types-ts4.5/floating-toolbar/DropdownMenuItem.d.ts +0 -1
- package/dist/types-ts4.5/floating-toolbar/index.d.ts +1 -1
- package/dist/types-ts4.5/guideline/updateGuideline.d.ts +2 -2
- package/dist/types-ts4.5/i18n/cs.d.ts +14 -0
- package/dist/types-ts4.5/i18n/da.d.ts +14 -0
- package/dist/types-ts4.5/i18n/de.d.ts +14 -0
- package/dist/types-ts4.5/i18n/en.d.ts +8 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +8 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +21 -0
- package/dist/types-ts4.5/i18n/es.d.ts +14 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +14 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +15 -0
- package/dist/types-ts4.5/i18n/hr.d.ts +14 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +14 -0
- package/dist/types-ts4.5/i18n/it.d.ts +14 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +14 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +14 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +15 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +14 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +14 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +14 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +14 -0
- package/dist/types-ts4.5/i18n/sl.d.ts +14 -0
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +16 -0
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +16 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +14 -0
- package/dist/types-ts4.5/i18n/th.d.ts +14 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +14 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +14 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +14 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +14 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +14 -0
- package/dist/types-ts4.5/icons/shared/DynamicStrokeIconDecoration.d.ts +0 -1
- package/dist/types-ts4.5/icons/shared/SteppedRainbowIconDecoration.d.ts +0 -1
- package/dist/types-ts4.5/keymaps/index.d.ts +2 -2
- package/dist/types-ts4.5/lazy-node-view/css-helper.d.ts +0 -1
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/StyledButton.d.ts +1 -2
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/useLinkOverlayAnalyticsEvents.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +5 -2
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
- package/dist/types-ts4.5/mark/commands.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/inline-image-card.d.ts +6 -7
- package/dist/types-ts4.5/media-inline/media-inline-image-card.d.ts +0 -1
- package/dist/types-ts4.5/media-inline/views/error-view.d.ts +0 -1
- package/dist/types-ts4.5/media-inline/views/frame.d.ts +0 -1
- package/dist/types-ts4.5/media-inline/views/icon-wrapper.d.ts +0 -1
- package/dist/types-ts4.5/media-single/CommentBadge.d.ts +0 -1
- package/dist/types-ts4.5/monitoring/error.d.ts +1 -1
- package/dist/types-ts4.5/portal/PortalManager.d.ts +0 -1
- package/dist/types-ts4.5/provider-factory/context.d.ts +2 -2
- package/dist/types-ts4.5/provider-helpers/combine-providers.d.ts +1 -1
- package/dist/types-ts4.5/resizer/BreakoutResizer.d.ts +1 -1
- package/dist/types-ts4.5/resizer/Resizer.d.ts +1 -1
- package/dist/types-ts4.5/resizer/types.d.ts +0 -1
- package/dist/types-ts4.5/styles/shared/headings.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/paragraph.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/table.d.ts +1 -1
- package/dist/types-ts4.5/table/SortingIcon.d.ts +0 -1
- package/dist/types-ts4.5/toolbar/EditorToolbarUIProvider.d.ts +6 -0
- package/dist/types-ts4.5/toolbar/index.d.ts +4 -2
- package/dist/types-ts4.5/toolbar/keys.d.ts +25 -0
- package/dist/types-ts4.5/toolbar/rank.d.ts +15 -0
- package/dist/types-ts4.5/toolbar/utils.d.ts +3 -0
- package/dist/types-ts4.5/types/annotation/index.d.ts +0 -1
- package/dist/types-ts4.5/types/empty-state-handler.d.ts +0 -1
- package/dist/types-ts4.5/types/hyperlink.d.ts +0 -1
- package/dist/types-ts4.5/ui/HoverLinkOverlay/types.d.ts +0 -1
- package/dist/types-ts4.5/ui/IntlProviderIfMissingWrapper/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/MediaSingle/grid.d.ts +6 -6
- package/dist/types-ts4.5/ui/OverflowShadow/index.d.ts +10 -10
- package/dist/types-ts4.5/ui/Toolbar/ExpandIcon.d.ts +0 -1
- package/dist/types-ts4.5/ui/Toolbar/Separator.d.ts +0 -1
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/types.d.ts +0 -1
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +14 -14
- package/dist/types-ts4.5/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +6 -6
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +23 -23
- package/dist/types-ts4.5/utils/breakout.d.ts +2 -2
- package/dist/types-ts4.5/utils/track-unsupported-content.d.ts +1 -1
- package/dist/types-ts4.5/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +1 -1
- package/package.json +6 -4
package/dist/cjs/toolbar/keys.js
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.UNDERLINE_MENU_ITEM = exports.TRANSLATE_NESTED_MENU = exports.TRANSLATE_MENU_SECTION = exports.TOOLBARS = exports.TEXT_STYLES_MENU_SECTION = exports.TEXT_STYLES_MENU = exports.TEXT_STYLES_GROUP = exports.TEXT_SECTION = exports.TEXT_FORMATTING_MENU_SECTION = exports.TEXT_FORMATTING_MENU = exports.TEXT_FORMATTING_HERO_BUTTON = exports.TEXT_FORMATTING_GROUP = exports.TEXT_COLOR_MENU_ITEM = exports.TEXT_COLOR_HIGHLIGHT_MENU_SECTION = exports.TEXT_COLOR_HIGHLIGHT_MENU = exports.TEXT_COLOR_HIGHLIGHT_GROUP = exports.SUPERSCRIPT_MENU_ITEM = exports.SUMMARIZE_MENU_ITEM = exports.SUBSCRIPT_MENU_ITEM = exports.STRIKE_MENU_ITEM = exports.SPELLING_AND_GRAMMAR_MENU_ITEM = exports.ROVO_PROMPT_MENU_SECTION = exports.ROVO_MENU = exports.ROVO_HERO_BUTTON = exports.ROVO_GROUP = exports.PIN_MENU_SECTION = exports.PIN_MENU_ITEM = exports.OVERFLOW_SECTION = exports.OVERFLOW_MENU = exports.OVERFLOW_GROUP = exports.NORMAL_TEXT_MENU_ITEM = exports.MORE_PROFESSIONAL_MENU_ITEM = exports.MORE_EMPATHETIC_MENU_ITEM = exports.MORE_CASUAL_MENU_ITEM = exports.MAKE_SHORTER_MENU_ITEM = exports.MAKE_LONGER_MENU_ITEM = exports.LINKING_SECTION = exports.LINKING_GROUP = exports.LINKING_BUTTON = exports.ITALIC_MENU_ITEM = exports.IMPROVE_WRITING_GROUP = exports.IMPROVE_WRITING_BUTTON = exports.HIGHLIGHT_MENU_ITEM = exports.HEADING_6_MENU_ITEM = exports.HEADING_5_MENU_ITEM = exports.HEADING_4_MENU_ITEM = exports.HEADING_3_MENU_ITEM = exports.HEADING_2_MENU_ITEM = exports.HEADING_1_MENU_ITEM = exports.COMMENT_HERO_BUTTON = exports.COMMENT_GROUP = exports.COLLAB_SECTION = exports.CODE_MENU_ITEM = exports.CLEAR_FORMATTING_MENU_ITEM = exports.CLEAR_FORMARTTING_MENU_SECTION = exports.CHANGE_TONE_NESTED_MENU = exports.CHANGE_TONE_MENU_SECTION = exports.BOLD_MENU_ITEM = exports.BLOCK_QUOTE_MENU_ITEM = exports.APPS_SECTION = exports.AI_SECTION = void 0;
|
|
6
|
+
exports.UNDERLINE_MENU_ITEM = exports.TRANSLATE_NESTED_MENU = exports.TRANSLATE_MENU_SECTION = exports.TOOLBARS = exports.TEXT_STYLES_MENU_SECTION = exports.TEXT_STYLES_MENU = exports.TEXT_STYLES_GROUP = exports.TEXT_SECTION = exports.TEXT_FORMATTING_MENU_SECTION = exports.TEXT_FORMATTING_MENU = exports.TEXT_FORMATTING_HERO_BUTTON = exports.TEXT_FORMATTING_GROUP = exports.TEXT_COLOR_MENU_ITEM = exports.TEXT_COLOR_HIGHLIGHT_MENU_SECTION = exports.TEXT_COLOR_HIGHLIGHT_MENU = exports.TEXT_COLOR_HIGHLIGHT_GROUP = exports.SUPERSCRIPT_MENU_ITEM = exports.SUMMARIZE_MENU_ITEM = exports.SUBSCRIPT_MENU_ITEM = exports.STRIKE_MENU_ITEM = exports.SPELLING_AND_GRAMMAR_MENU_ITEM = exports.ROVO_PROMPT_MENU_SECTION = exports.ROVO_MENU = exports.ROVO_HERO_BUTTON = exports.ROVO_GROUP = exports.PIN_MENU_SECTION = exports.PIN_MENU_ITEM = exports.OVERFLOW_SECTION = exports.OVERFLOW_MENU = exports.OVERFLOW_GROUP = exports.NORMAL_TEXT_MENU_ITEM = exports.MORE_PROFESSIONAL_MENU_ITEM = exports.MORE_EMPATHETIC_MENU_ITEM = exports.MORE_CASUAL_MENU_ITEM = exports.MAKE_SHORTER_MENU_ITEM = exports.MAKE_LONGER_MENU_ITEM = exports.LINKING_SECTION = exports.LINKING_GROUP = exports.LINKING_BUTTON = exports.ITALIC_MENU_ITEM = exports.IMPROVE_WRITING_GROUP = exports.IMPROVE_WRITING_BUTTON = exports.HIGHLIGHT_MENU_ITEM = exports.HEADING_6_MENU_ITEM = exports.HEADING_5_MENU_ITEM = exports.HEADING_4_MENU_ITEM = exports.HEADING_3_MENU_ITEM = exports.HEADING_2_MENU_ITEM = exports.HEADING_1_MENU_ITEM = exports.COMMENT_HERO_BUTTON = exports.COMMENT_GROUP = exports.COLLAB_SECTION = exports.CODE_MENU_ITEM = exports.CLEAR_FORMATTING_MENU_ITEM = exports.CLEAR_FORMARTTING_MENU_SECTION = exports.CHANGE_TONE_NESTED_MENU = exports.CHANGE_TONE_MENU_SECTION = exports.BOLD_MENU_ITEM = exports.BLOCK_QUOTE_MENU_ITEM = exports.APPS_SECTION = exports.ALIGN_RIGHT_MENU_ITEM = exports.ALIGN_LEFT_MENU_ITEM = exports.ALIGN_CENTER_MENU_ITEM = exports.ALIGNMENT_MENU_SECTION = exports.ALIGNMENT_MENU = exports.ALIGNMENT_GROUP = exports.AI_SECTION = void 0;
|
|
7
7
|
var TOOLBARS = exports.TOOLBARS = {
|
|
8
|
-
INLINE_TEXT_TOOLBAR: 'inline-text-toolbar'
|
|
8
|
+
INLINE_TEXT_TOOLBAR: 'inline-text-toolbar',
|
|
9
|
+
PRIMARY_TOOLBAR: 'primary-toolbar'
|
|
9
10
|
};
|
|
10
11
|
|
|
11
12
|
/**
|
|
@@ -222,6 +223,35 @@ var HIGHLIGHT_MENU_ITEM = exports.HIGHLIGHT_MENU_ITEM = {
|
|
|
222
223
|
type: 'menu-item'
|
|
223
224
|
};
|
|
224
225
|
|
|
226
|
+
/*
|
|
227
|
+
* Alignment
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
var ALIGNMENT_GROUP = exports.ALIGNMENT_GROUP = {
|
|
231
|
+
key: 'alignment-group',
|
|
232
|
+
type: 'group'
|
|
233
|
+
};
|
|
234
|
+
var ALIGNMENT_MENU = exports.ALIGNMENT_MENU = {
|
|
235
|
+
key: 'alignment-menu',
|
|
236
|
+
type: 'menu'
|
|
237
|
+
};
|
|
238
|
+
var ALIGNMENT_MENU_SECTION = exports.ALIGNMENT_MENU_SECTION = {
|
|
239
|
+
key: 'alignment-menu-section',
|
|
240
|
+
type: 'menu-section'
|
|
241
|
+
};
|
|
242
|
+
var ALIGN_LEFT_MENU_ITEM = exports.ALIGN_LEFT_MENU_ITEM = {
|
|
243
|
+
key: 'align-left-menu-item',
|
|
244
|
+
type: 'menu-item'
|
|
245
|
+
};
|
|
246
|
+
var ALIGN_CENTER_MENU_ITEM = exports.ALIGN_CENTER_MENU_ITEM = {
|
|
247
|
+
key: 'align-center-menu-item',
|
|
248
|
+
type: 'menu-item'
|
|
249
|
+
};
|
|
250
|
+
var ALIGN_RIGHT_MENU_ITEM = exports.ALIGN_RIGHT_MENU_ITEM = {
|
|
251
|
+
key: 'align-right-menu-item',
|
|
252
|
+
type: 'menu-item'
|
|
253
|
+
};
|
|
254
|
+
|
|
225
255
|
/*
|
|
226
256
|
* Linking section
|
|
227
257
|
*/
|
package/dist/cjs/toolbar/rank.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.TRANSLATE_MENU_RANK = exports.TOOLBAR_RANK = exports.TEXT_STYLES_MENU_SECTION_RANK = exports.TEXT_STYLES_MENU_RANK = exports.TEXT_STYLES_GROUP_RANK = exports.TEXT_SECTION_RANK = exports.TEXT_FORMAT_MENU_RANK = exports.TEXT_FORMAT_GROUP_RANK = exports.TEXT_FORMATTING_MENU_SECTION_RANK = exports.TEXT_COLOR_HIGHLIGHT_MENU_SECTION_RANK = exports.TEXT_COLOR_HIGHLIGHT_MENU_RANK = exports.TEXT_COLOR_HIGHLIGHT_GROUP_RANK = exports.ROVO_PROMPT_MENU_SECTION_RANK = exports.ROVO_MENU_RANK = exports.ROVO_GROUP_RANK = exports.PIN_MENU_SECTION_RANK = exports.OVERFLOW_SECTION_RANK = exports.OVERFLOW_MENU_RANK = exports.OVERFLOW_GROUP_RANK = exports.LINKING_SECTION_RANK = exports.LINKING_GROUP_RANK = exports.IMPROVE_WRITING_GROUP_RANK = exports.COMMENT_GROUP_RANK = exports.COLLAB_SECTION_RANK = exports.CLEAR_FORMARTTING_MENU_SECTION_RANK = exports.CHANGE_TONE_MENU_SECTION_RANK = exports.CHANGE_TONE_MENU_RANK = exports.AI_SECTION_RANK = void 0;
|
|
7
|
+
exports.TRANSLATE_MENU_RANK = exports.TOOLBAR_RANK = exports.TEXT_STYLES_MENU_SECTION_RANK = exports.TEXT_STYLES_MENU_RANK = exports.TEXT_STYLES_GROUP_RANK = exports.TEXT_SECTION_RANK = exports.TEXT_FORMAT_MENU_RANK = exports.TEXT_FORMAT_GROUP_RANK = exports.TEXT_FORMATTING_MENU_SECTION_RANK = exports.TEXT_COLOR_HIGHLIGHT_MENU_SECTION_RANK = exports.TEXT_COLOR_HIGHLIGHT_MENU_RANK = exports.TEXT_COLOR_HIGHLIGHT_GROUP_RANK = exports.ROVO_PROMPT_MENU_SECTION_RANK = exports.ROVO_MENU_RANK = exports.ROVO_GROUP_RANK = exports.PIN_MENU_SECTION_RANK = exports.OVERFLOW_SECTION_RANK = exports.OVERFLOW_MENU_RANK = exports.OVERFLOW_GROUP_RANK = exports.LINKING_SECTION_RANK = exports.LINKING_GROUP_RANK = exports.IMPROVE_WRITING_GROUP_RANK = exports.COMMENT_GROUP_RANK = exports.COLLAB_SECTION_RANK = exports.CLEAR_FORMARTTING_MENU_SECTION_RANK = exports.CHANGE_TONE_MENU_SECTION_RANK = exports.CHANGE_TONE_MENU_RANK = exports.ALIGNMENT_MENU_SECTION_RANK = exports.ALIGNMENT_MENU_RANK = exports.ALIGNMENT_GROUP_RANK = exports.AI_SECTION_RANK = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _keys = require("./keys");
|
|
10
10
|
var TOOLBAR_RANK = exports.TOOLBAR_RANK = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _keys.AI_SECTION.key, 100), _keys.TEXT_SECTION.key, 200), _keys.LINKING_SECTION.key, 300), _keys.COLLAB_SECTION.key, 400), _keys.APPS_SECTION.key, 500), _keys.OVERFLOW_SECTION.key, 600);
|
|
@@ -24,7 +24,7 @@ var TRANSLATE_MENU_RANK = exports.TRANSLATE_MENU_RANK = (0, _defineProperty2.def
|
|
|
24
24
|
/**
|
|
25
25
|
* Text section
|
|
26
26
|
*/
|
|
27
|
-
var TEXT_SECTION_RANK = exports.TEXT_SECTION_RANK = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _keys.TEXT_STYLES_GROUP.key, 100), _keys.TEXT_FORMATTING_GROUP.key, 200), _keys.TEXT_COLOR_HIGHLIGHT_GROUP.key, 500);
|
|
27
|
+
var TEXT_SECTION_RANK = exports.TEXT_SECTION_RANK = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _keys.TEXT_STYLES_GROUP.key, 100), _keys.TEXT_FORMATTING_GROUP.key, 200), _keys.ALIGNMENT_GROUP.key, 400), _keys.TEXT_COLOR_HIGHLIGHT_GROUP.key, 500);
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Text styles group
|
|
@@ -55,6 +55,13 @@ var TEXT_COLOR_HIGHLIGHT_MENU_SECTION_RANK = exports.TEXT_COLOR_HIGHLIGHT_MENU_S
|
|
|
55
55
|
var LINKING_SECTION_RANK = exports.LINKING_SECTION_RANK = (0, _defineProperty2.default)({}, _keys.LINKING_GROUP.key, 100);
|
|
56
56
|
var LINKING_GROUP_RANK = exports.LINKING_GROUP_RANK = (0, _defineProperty2.default)({}, _keys.LINKING_BUTTON.key, 100);
|
|
57
57
|
|
|
58
|
+
/**
|
|
59
|
+
* Alignment group
|
|
60
|
+
*/
|
|
61
|
+
var ALIGNMENT_GROUP_RANK = exports.ALIGNMENT_GROUP_RANK = (0, _defineProperty2.default)({}, _keys.ALIGNMENT_MENU.key, 100);
|
|
62
|
+
var ALIGNMENT_MENU_RANK = exports.ALIGNMENT_MENU_RANK = (0, _defineProperty2.default)({}, _keys.ALIGNMENT_MENU_SECTION.key, 100);
|
|
63
|
+
var ALIGNMENT_MENU_SECTION_RANK = exports.ALIGNMENT_MENU_SECTION_RANK = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _keys.ALIGN_LEFT_MENU_ITEM.key, 100), _keys.ALIGN_CENTER_MENU_ITEM.key, 200), _keys.ALIGN_RIGHT_MENU_ITEM.key, 300);
|
|
64
|
+
|
|
58
65
|
/**
|
|
59
66
|
* Collab section
|
|
60
67
|
*/
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getInputMethodFromParentKeys = void 0;
|
|
7
|
+
var _analytics = require("../analytics");
|
|
8
|
+
var _keys = require("./keys");
|
|
9
|
+
var getInputMethodFromParentKeys = exports.getInputMethodFromParentKeys = function getInputMethodFromParentKeys(parents) {
|
|
10
|
+
var _parents$at;
|
|
11
|
+
return ((_parents$at = parents.at(0)) === null || _parents$at === void 0 ? void 0 : _parents$at.key) === _keys.TOOLBARS.INLINE_TEXT_TOOLBAR ? _analytics.INPUT_METHOD.FLOATING_TB : _analytics.INPUT_METHOD.TOOLBAR;
|
|
12
|
+
};
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "107.20.
|
|
26
|
+
var packageVersion = "107.20.2";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -30,7 +30,8 @@ var buttonStyles = (0, _react2.css)({
|
|
|
30
30
|
width: "".concat(TABLE_SELECTOR_BUTTON_SIZE, "px"),
|
|
31
31
|
border: "1px solid ".concat("var(--ds-border, #091e4224)"),
|
|
32
32
|
backgroundColor: "var(--ds-background-input, #ffffff)",
|
|
33
|
-
|
|
33
|
+
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
|
|
34
|
+
borderRadius: "var(--ds-border-radius-100, 3px)",
|
|
34
35
|
cursor: 'pointer',
|
|
35
36
|
display: 'block',
|
|
36
37
|
'&:focus': {
|
|
@@ -91,7 +91,9 @@ var WithOutsideClick = /*#__PURE__*/function (_PureComponent) {
|
|
|
91
91
|
// Attached event to the menu so that 'ESC' events from the opened menu also will be handled.
|
|
92
92
|
// Ignored via go/ees005
|
|
93
93
|
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
|
|
94
|
-
(this.props.popupsMountPoint ? this.props.popupsMountPoint :
|
|
94
|
+
(this.props.popupsMountPoint ? this.props.popupsMountPoint :
|
|
95
|
+
// @ts-ignore - TS2873 TypeScript 5.9.2 upgrade
|
|
96
|
+
undefined || ((_this$props$editorRef = this.props.editorRef) === null || _this$props$editorRef === void 0 ? void 0 : _this$props$editorRef.current) || this.props.targetRef || document
|
|
95
97
|
|
|
96
98
|
// Ignored via go/ees005
|
|
97
99
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -113,7 +115,9 @@ var WithOutsideClick = /*#__PURE__*/function (_PureComponent) {
|
|
|
113
115
|
var _this$props$editorRef2;
|
|
114
116
|
// Ignored via go/ees005
|
|
115
117
|
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
|
|
116
|
-
(this.props.popupsMountPoint ? this.props.popupsMountPoint :
|
|
118
|
+
(this.props.popupsMountPoint ? this.props.popupsMountPoint :
|
|
119
|
+
// @ts-ignore - TS2873 TypeScript 5.9.2 upgrade
|
|
120
|
+
undefined || ((_this$props$editorRef2 = this.props.editorRef) === null || _this$props$editorRef2 === void 0 ? void 0 : _this$props$editorRef2.current) || this.props.targetRef || document
|
|
117
121
|
|
|
118
122
|
// Ignored via go/ees005
|
|
119
123
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -39,8 +39,12 @@ function parseLocaleNumber(stringNumber, groupPattern, fractionPattern) {
|
|
|
39
39
|
function createNormalizeTextParser() {
|
|
40
40
|
// Source: https://stackoverflow.com/questions/12004808/does-javascript-take-local-decimal-separators-into-account
|
|
41
41
|
var locale = window.navigator.language;
|
|
42
|
-
var thousandSeparator = Intl.NumberFormat(locale).format(11111)
|
|
43
|
-
|
|
42
|
+
var thousandSeparator = Intl.NumberFormat(locale).format(11111)
|
|
43
|
+
// @ts-ignore - TS1501 TypeScript 5.9.2 upgrade
|
|
44
|
+
.replace(/(?:[0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D58-\u0D5E\u0D66-\u0D78\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]|\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDD30-\uDD39\uDD40-\uDD49\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDED0-\uDEE3\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2\uDD50-\uDD59\uDFF0-\uDFF9]|\uD807[\uDC50-\uDC6C\uDD50-\uDD59\uDDA0-\uDDA9\uDF50-\uDF59\uDFC0-\uDFD4]|\uD809[\uDC00-\uDC6E]|\uD818[\uDD30-\uDD39]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59\uDF5B-\uDF61]|\uD81B[\uDD70-\uDD79\uDE80-\uDE96]|\uD833[\uDCF0-\uDCF9]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD839[\uDCF0-\uDCF9\uDDF1-\uDDFA]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9])/g, '');
|
|
45
|
+
var decimalSeparator = Intl.NumberFormat(locale).format(1.1)
|
|
46
|
+
// @ts-ignore - TS1501 TypeScript 5.9.2 upgrade
|
|
47
|
+
.replace(/(?:[0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D58-\u0D5E\u0D66-\u0D78\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]|\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDD30-\uDD39\uDD40-\uDD49\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDED0-\uDEE3\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2\uDD50-\uDD59\uDFF0-\uDFF9]|\uD807[\uDC50-\uDC6C\uDD50-\uDD59\uDDA0-\uDDA9\uDF50-\uDF59\uDFC0-\uDFD4]|\uD809[\uDC00-\uDC6E]|\uD818[\uDD30-\uDD39]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59\uDF5B-\uDF61]|\uD81B[\uDD70-\uDD79\uDE80-\uDE96]|\uD833[\uDCF0-\uDCF9]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD839[\uDCF0-\uDCF9\uDDF1-\uDDFA]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9])/g, '');
|
|
44
48
|
|
|
45
49
|
// Ignored via go/ees005
|
|
46
50
|
// eslint-disable-next-line require-unicode-regexp
|
|
@@ -33,6 +33,13 @@ export function createParagraphAtEnd() {
|
|
|
33
33
|
return true;
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
+
|
|
37
|
+
// Remove this when cleaning up platform_editor_toolbar_aifc
|
|
38
|
+
// eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @deprecated use changeImageAlignmentTr instead
|
|
42
|
+
*/
|
|
36
43
|
export const changeImageAlignment = align => (state, dispatch) => {
|
|
37
44
|
const {
|
|
38
45
|
from,
|
|
@@ -53,6 +60,37 @@ export const changeImageAlignment = align => (state, dispatch) => {
|
|
|
53
60
|
}
|
|
54
61
|
return false;
|
|
55
62
|
};
|
|
63
|
+
export const changeImageAlignmentNext = align => tr => {
|
|
64
|
+
const {
|
|
65
|
+
from,
|
|
66
|
+
to
|
|
67
|
+
} = tr.selection;
|
|
68
|
+
const initialDoc = tr.doc;
|
|
69
|
+
tr.doc.nodesBetween(from, to, (node, pos) => {
|
|
70
|
+
if (node.type === tr.doc.type.schema.nodes.mediaSingle) {
|
|
71
|
+
tr.setNodeMarkup(pos, undefined, {
|
|
72
|
+
...node.attrs,
|
|
73
|
+
layout: align === 'center' ? 'center' : `align-${align}`
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
// compare tr.doc with initialDoc instead of tr.docChanged
|
|
79
|
+
// because tr passed in might have been modified prior this function
|
|
80
|
+
// e.g. see changeAlignmentTr platform/packages/editor/editor-plugin-alignment/src/editor-commands/index.ts:L197
|
|
81
|
+
if (!tr.doc.eq(initialDoc)) {
|
|
82
|
+
tr.scrollIntoView();
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
return false;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
// Remove this when cleaning up platform_editor_toolbar_aifc
|
|
89
|
+
// eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @deprecated use createToggleBlockMarkOnRangeNext instead, which does not require passing editorState
|
|
93
|
+
*/
|
|
56
94
|
export const createToggleBlockMarkOnRange = (markType, getAttrs, allowedBlocks) => (from, to, tr, state) => {
|
|
57
95
|
let markApplied = false;
|
|
58
96
|
state.doc.nodesBetween(from, to, (node, pos, parent) => {
|
|
@@ -72,6 +110,25 @@ export const createToggleBlockMarkOnRange = (markType, getAttrs, allowedBlocks)
|
|
|
72
110
|
});
|
|
73
111
|
return markApplied;
|
|
74
112
|
};
|
|
113
|
+
export const createToggleBlockMarkOnRangeNext = (markType, getAttrs, allowedBlocks) => (from, to, tr) => {
|
|
114
|
+
let markApplied = false;
|
|
115
|
+
tr.doc.nodesBetween(from, to, (node, pos, parent) => {
|
|
116
|
+
if (!node.type.isBlock) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
if ((!allowedBlocks || (Array.isArray(allowedBlocks) ? allowedBlocks.indexOf(node.type) > -1 : allowedBlocks(tr.doc.type.schema, node, parent))) && parent !== null && parent !== void 0 && parent.type.allowsMarkType(markType)) {
|
|
120
|
+
const oldMarks = node.marks.filter(mark => mark.type === markType);
|
|
121
|
+
const prevAttrs = oldMarks.length ? oldMarks[0].attrs : undefined;
|
|
122
|
+
const newAttrs = getAttrs(prevAttrs, node);
|
|
123
|
+
if (newAttrs !== undefined) {
|
|
124
|
+
tr.setNodeMarkup(pos, node.type, node.attrs, node.marks.filter(mark => !markType.excludes(mark.type)).concat(newAttrs === false ? [] : markType.create(newAttrs)));
|
|
125
|
+
markApplied = true;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return;
|
|
129
|
+
});
|
|
130
|
+
return markApplied;
|
|
131
|
+
};
|
|
75
132
|
export const createToggleInlineMarkOnRange = (markType, getAttrs) => (from, to, tr, state) => {
|
|
76
133
|
let markApplied = false;
|
|
77
134
|
state.doc.nodesBetween(from, to, (node, pos, parent) => {
|
|
@@ -90,7 +147,10 @@ export const createToggleInlineMarkOnRange = (markType, getAttrs) => (from, to,
|
|
|
90
147
|
return markApplied;
|
|
91
148
|
};
|
|
92
149
|
|
|
150
|
+
// Remove this when cleaning up platform_editor_toolbar_aifc
|
|
151
|
+
// eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
|
|
93
152
|
/**
|
|
153
|
+
* @deprecated use toggleBlockMarkTr instead
|
|
94
154
|
* Toggles block mark based on the return type of `getAttrs`.
|
|
95
155
|
* This is similar to ProseMirror's `getAttrs` from `AttributeSpec`
|
|
96
156
|
* return `false` to remove the mark.
|
|
@@ -120,6 +180,39 @@ export const toggleBlockMark = (markType, getAttrs, allowedBlocks) => (state, di
|
|
|
120
180
|
}
|
|
121
181
|
return false;
|
|
122
182
|
};
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Toggles block mark based on the return type of `getAttrs`.
|
|
186
|
+
* @returns true if the mark is applied, false otherwise.
|
|
187
|
+
*/
|
|
188
|
+
export const toggleBlockMarkNext = (markType, getAttrs, allowedBlocks) => tr => {
|
|
189
|
+
let markApplied = false;
|
|
190
|
+
const toggleBlockMarkOnRange = createToggleBlockMarkOnRangeNext(markType, getAttrs, allowedBlocks);
|
|
191
|
+
const initialDoc = tr.doc;
|
|
192
|
+
const {
|
|
193
|
+
selection
|
|
194
|
+
} = tr;
|
|
195
|
+
if (selection instanceof CellSelection) {
|
|
196
|
+
selection.forEachCell((cell, pos) => {
|
|
197
|
+
markApplied = toggleBlockMarkOnRange(pos, pos + cell.nodeSize, tr);
|
|
198
|
+
});
|
|
199
|
+
} else {
|
|
200
|
+
const {
|
|
201
|
+
from,
|
|
202
|
+
to
|
|
203
|
+
} = selection;
|
|
204
|
+
markApplied = toggleBlockMarkOnRange(from, to, tr);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// compare tr.doc with initialDoc instead of tr.docChanged
|
|
208
|
+
// because tr passed in might have been modified prior this function
|
|
209
|
+
// e.g. see changeAlignmentTr platform/packages/editor/editor-plugin-alignment/src/editor-commands/index.ts:L197
|
|
210
|
+
if (markApplied && !initialDoc.eq(tr.doc)) {
|
|
211
|
+
tr.scrollIntoView();
|
|
212
|
+
return true;
|
|
213
|
+
}
|
|
214
|
+
return false;
|
|
215
|
+
};
|
|
123
216
|
export const clearEditorContent = (state, dispatch) => {
|
|
124
217
|
const tr = state.tr;
|
|
125
218
|
tr.replace(0, state.doc.nodeSize - 2);
|
|
@@ -496,7 +496,8 @@ const elementItemsWrapper = css({
|
|
|
496
496
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
497
497
|
'.ReactVirtualized__Grid': {
|
|
498
498
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
499
|
-
|
|
499
|
+
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-design-token-usage
|
|
500
|
+
borderRadius: "var(--ds-border-radius-100, 3px)",
|
|
500
501
|
outline: 'none',
|
|
501
502
|
'&:focus': {
|
|
502
503
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -4,5 +4,6 @@ export const expandedState = new WeakMap();
|
|
|
4
4
|
// used to determine if the expand is expanded or collapsed
|
|
5
5
|
export const isExpandCollapsed = node => {
|
|
6
6
|
var _expandedState$get;
|
|
7
|
+
// @ts-ignore - TS2869 TypeScript 5.9.2 upgrade
|
|
7
8
|
return (_expandedState$get = !expandedState.get(node)) !== null && _expandedState$get !== void 0 ? _expandedState$get : false;
|
|
8
9
|
};
|
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -13,6 +13,7 @@ export default {
|
|
|
13
13
|
'editor.extension.legacyContentHeader': 'Starší obsah',
|
|
14
14
|
'editor.extension.legacyContentHeader.contentHasLimitedFunctionality': 'Tento obsah má omezenou funkčnost,',
|
|
15
15
|
'editor.extension.legacyContentHeader.learnMore': 'Další informace',
|
|
16
|
+
'editor.trackChanges.toolbarIconLabel': 'Sledovat změny',
|
|
16
17
|
'fablric.editor.viewAllInserts': 'Zobrazit všechny vložky',
|
|
17
18
|
'fabric.editor.action': 'Aktuální úkol',
|
|
18
19
|
'fabric.editor.action.description': 'Vytvořit a přiřadit aktuální úkol',
|
|
@@ -223,11 +224,24 @@ export default {
|
|
|
223
224
|
'fabric.editor.ai.selectionToolbar.define.title': 'Definovat',
|
|
224
225
|
'fabric.editor.ai.telepointer.rovo': 'Rovo',
|
|
225
226
|
'fabric.editor.ai.toolbar.askAI.title': 'Zeptat se AI',
|
|
227
|
+
'fabric.editor.ai.toolbar.askRovo.title': 'Zeptejte se nástroje Rovo',
|
|
226
228
|
'fabric.editor.ai.toolbar.askRovoAiSplitButton.label': 'Zeptat se Rovo AI',
|
|
229
|
+
'fabric.editor.ai.toolbar.changeTone.title': 'Změnit tón',
|
|
230
|
+
'fabric.editor.ai.toolbar.changeToneOptions.title': 'Možnosti změny tónu',
|
|
227
231
|
'fabric.editor.ai.toolbar.improveWriting.title': 'Vylepšit styl',
|
|
228
232
|
'fabric.editor.ai.toolbar.improveWriting.tooltip': 'Požádejte Atlassian Intelligence o zlepšení vybrané části psaného textu.',
|
|
233
|
+
'fabric.editor.ai.toolbar.makeLonger.title': 'Prodloužit obsah',
|
|
234
|
+
'fabric.editor.ai.toolbar.makeShorter.title': 'Zkrátit',
|
|
235
|
+
'fabric.editor.ai.toolbar.moreCasualTone.title': 'Neformálnější',
|
|
236
|
+
'fabric.editor.ai.toolbar.moreEmpatheticTone.title': 'Empatičtější',
|
|
237
|
+
'fabric.editor.ai.toolbar.moreProfessionalTone.title': 'Profesionálnější',
|
|
238
|
+
'fabric.editor.ai.toolbar.moreRovoOptions.label': 'Další možnosti nástroje Rovo',
|
|
229
239
|
'fabric.editor.ai.toolbar.simplifiedAI.title': 'AI',
|
|
240
|
+
'fabric.editor.ai.toolbar.spellingAndGrammar.title': 'Opravit pravopis a gramatiku',
|
|
241
|
+
'fabric.editor.ai.toolbar.summarize.title': 'Shrnout',
|
|
230
242
|
'fabric.editor.ai.toolbar.titleText': 'Atlassian Intelligence',
|
|
243
|
+
'fabric.editor.ai.toolbar.translate.title': 'Přeložit',
|
|
244
|
+
'fabric.editor.ai.toolbar.translateOptions.label': 'Možnosti překladu',
|
|
231
245
|
'fabric.editor.ai.toolbar.tryAI.title': 'Vyzkoušejte AI',
|
|
232
246
|
'fabric.editor.ai.toolbar.tryAI.tooltip': 'Otevřít Atlassian Intelligence',
|
|
233
247
|
'fabric.editor.ai.toolbar.tryAI.tooltip.quickCommand': "Zeptat se AI {key}+'",
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -13,6 +13,7 @@ export default {
|
|
|
13
13
|
'editor.extension.legacyContentHeader': 'Ældre indhold',
|
|
14
14
|
'editor.extension.legacyContentHeader.contentHasLimitedFunctionality': 'Dette indhold har begrænset funktionalitet.',
|
|
15
15
|
'editor.extension.legacyContentHeader.learnMore': 'Få mere at vide',
|
|
16
|
+
'editor.trackChanges.toolbarIconLabel': 'Spor ændringer',
|
|
16
17
|
'fablric.editor.viewAllInserts': 'Se alt, der kan indsættes',
|
|
17
18
|
'fabric.editor.action': 'Handlingsgenstand',
|
|
18
19
|
'fabric.editor.action.description': 'Opret og tildel handlingsgenstande',
|
|
@@ -222,11 +223,24 @@ export default {
|
|
|
222
223
|
'fabric.editor.ai.selectionToolbar.define.title': 'Definer',
|
|
223
224
|
'fabric.editor.ai.telepointer.rovo': 'Rovo',
|
|
224
225
|
'fabric.editor.ai.toolbar.askAI.title': 'Spørg AI',
|
|
226
|
+
'fabric.editor.ai.toolbar.askRovo.title': 'Spørg Rovo',
|
|
225
227
|
'fabric.editor.ai.toolbar.askRovoAiSplitButton.label': 'Spørg Rovo AI',
|
|
228
|
+
'fabric.editor.ai.toolbar.changeTone.title': 'Skift tone',
|
|
229
|
+
'fabric.editor.ai.toolbar.changeToneOptions.title': 'Skift indstillinger for tone',
|
|
226
230
|
'fabric.editor.ai.toolbar.improveWriting.title': 'Gør teksterne bedre',
|
|
227
231
|
'fabric.editor.ai.toolbar.improveWriting.tooltip': 'Bed Atlassian Intelligence om at forbedre den markerede tekst',
|
|
232
|
+
'fabric.editor.ai.toolbar.makeLonger.title': 'Gør længere',
|
|
233
|
+
'fabric.editor.ai.toolbar.makeShorter.title': 'Gør kortere',
|
|
234
|
+
'fabric.editor.ai.toolbar.moreCasualTone.title': 'Mere afslappet',
|
|
235
|
+
'fabric.editor.ai.toolbar.moreEmpatheticTone.title': 'Mere empatisk',
|
|
236
|
+
'fabric.editor.ai.toolbar.moreProfessionalTone.title': 'Mere professionel',
|
|
237
|
+
'fabric.editor.ai.toolbar.moreRovoOptions.label': 'Flere Rovo-indstillinger',
|
|
228
238
|
'fabric.editor.ai.toolbar.simplifiedAI.title': 'AI',
|
|
239
|
+
'fabric.editor.ai.toolbar.spellingAndGrammar.title': 'Ret stavning og grammatik',
|
|
240
|
+
'fabric.editor.ai.toolbar.summarize.title': 'Opsummer',
|
|
229
241
|
'fabric.editor.ai.toolbar.titleText': 'Atlassian Intelligence',
|
|
242
|
+
'fabric.editor.ai.toolbar.translate.title': 'Oversæt',
|
|
243
|
+
'fabric.editor.ai.toolbar.translateOptions.label': 'Oversættelsesindstillinger',
|
|
230
244
|
'fabric.editor.ai.toolbar.tryAI.title': 'Prøv AI',
|
|
231
245
|
'fabric.editor.ai.toolbar.tryAI.tooltip': 'Åbn Atlassian Intelligence',
|
|
232
246
|
'fabric.editor.ai.toolbar.tryAI.tooltip.quickCommand': "Spørg AI {key}+'",
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -13,6 +13,7 @@ export default {
|
|
|
13
13
|
'editor.extension.legacyContentHeader': 'Veralteter Inhalt',
|
|
14
14
|
'editor.extension.legacyContentHeader.contentHasLimitedFunctionality': 'Dieser Inhalt hat eingeschränkte Funktionen',
|
|
15
15
|
'editor.extension.legacyContentHeader.learnMore': 'Weitere Informationen',
|
|
16
|
+
'editor.trackChanges.toolbarIconLabel': 'Änderungen verfolgen',
|
|
16
17
|
'fablric.editor.viewAllInserts': 'Alle Einfügungen anzeigen',
|
|
17
18
|
'fabric.editor.action': 'Aufgabe',
|
|
18
19
|
'fabric.editor.action.description': 'Aufgaben erstellen und zuweisen',
|
|
@@ -222,11 +223,24 @@ export default {
|
|
|
222
223
|
'fabric.editor.ai.selectionToolbar.define.title': 'Definieren',
|
|
223
224
|
'fabric.editor.ai.telepointer.rovo': 'Rovo',
|
|
224
225
|
'fabric.editor.ai.toolbar.askAI.title': 'Atlassian Intelligence fragen',
|
|
226
|
+
'fabric.editor.ai.toolbar.askRovo.title': 'Rovo fragen',
|
|
225
227
|
'fabric.editor.ai.toolbar.askRovoAiSplitButton.label': 'Rovo-KI fragen',
|
|
228
|
+
'fabric.editor.ai.toolbar.changeTone.title': 'Ton ändern',
|
|
229
|
+
'fabric.editor.ai.toolbar.changeToneOptions.title': 'Optionen zum Ändern des Tons',
|
|
226
230
|
'fabric.editor.ai.toolbar.improveWriting.title': 'Texterstellung optimieren',
|
|
227
231
|
'fabric.editor.ai.toolbar.improveWriting.tooltip': 'Weisen Sie Atlassian Intelligence an, den von Ihnen ausgewählten Text zu verbessern.',
|
|
232
|
+
'fabric.editor.ai.toolbar.makeLonger.title': 'Erweitern',
|
|
233
|
+
'fabric.editor.ai.toolbar.makeShorter.title': 'Verkürzen',
|
|
234
|
+
'fabric.editor.ai.toolbar.moreCasualTone.title': 'Lockerer',
|
|
235
|
+
'fabric.editor.ai.toolbar.moreEmpatheticTone.title': 'Empathischer',
|
|
236
|
+
'fabric.editor.ai.toolbar.moreProfessionalTone.title': 'Professioneller',
|
|
237
|
+
'fabric.editor.ai.toolbar.moreRovoOptions.label': 'Weitere Rovo-Optionen',
|
|
228
238
|
'fabric.editor.ai.toolbar.simplifiedAI.title': 'AI',
|
|
239
|
+
'fabric.editor.ai.toolbar.spellingAndGrammar.title': 'Rechtschreibung und Grammatik korrigieren',
|
|
240
|
+
'fabric.editor.ai.toolbar.summarize.title': 'Zusammenfassen',
|
|
229
241
|
'fabric.editor.ai.toolbar.titleText': 'Atlassian Intelligence',
|
|
242
|
+
'fabric.editor.ai.toolbar.translate.title': 'Übersetzen',
|
|
243
|
+
'fabric.editor.ai.toolbar.translateOptions.label': 'Übersetzungsoptionen',
|
|
230
244
|
'fabric.editor.ai.toolbar.tryAI.title': 'AI testen',
|
|
231
245
|
'fabric.editor.ai.toolbar.tryAI.tooltip': 'Atlassian Intelligence öffnen',
|
|
232
246
|
'fabric.editor.ai.toolbar.tryAI.tooltip.quickCommand': "Atlassian Intelligence fragen – {key}+'",
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -47,6 +47,8 @@ export default {
|
|
|
47
47
|
'fabric.editor.ai.config.item.action.replaceTitleTooLongDisabledTooltip': 'Title cannot exceed {maxLength} characters',
|
|
48
48
|
'fabric.editor.ai.config.item.action.rovoAgents.contineChatLabel': 'Continue in chat',
|
|
49
49
|
'fabric.editor.ai.config.item.action.rovoAgents.continueInChatLabel': 'Open in Chat',
|
|
50
|
+
'fabric.editor.ai.config.item.addPolish.description': 'Polishes the content to make it more polished',
|
|
51
|
+
'fabric.editor.ai.config.item.addPolish.title': 'Add polish',
|
|
50
52
|
'fabric.editor.ai.config.item.agent.title': 'Atlassian Intelligence Rovo Agent',
|
|
51
53
|
'fabric.editor.ai.config.item.atlas-shorten-update.description': 'Shortens the content to make it more concise',
|
|
52
54
|
'fabric.editor.ai.config.item.atlas-shorten-update.title': 'Shorten update',
|
|
@@ -187,6 +189,7 @@ export default {
|
|
|
187
189
|
'fabric.editor.ai.confluence-prebuilt.confluenceTranslateSelectionToolbarDropdownMenuTitle': 'Translate',
|
|
188
190
|
'fabric.editor.ai.eventHub.fallbackSuggestedTitle': 'Page title',
|
|
189
191
|
'fabric.editor.ai.eventHub.fallbackSuggestedTitlePrefix': 'Page',
|
|
192
|
+
'fabric.editor.ai.experience-application.cmdPaletteUnhandledErrorMessage': "We're having issues and can't generate a response right now. Try again later.",
|
|
190
193
|
'fabric.editor.ai.experience-application.documentInsertError': "We're having trouble inserting the response. Close the dialog and try again.",
|
|
191
194
|
'fabric.editor.ai.experience-application.error-boundary.markdownErrorMessage': "We're having trouble generating the preview. Close the dialog and try again.",
|
|
192
195
|
'fabric.editor.ai.experience-application.rateLimitEnforced': 'We’ve received too many recent requests for Atlassian Intelligence (AI). Try again in a few minutes or read about <link>excessive use of AI</link>.',
|
|
@@ -195,6 +198,8 @@ export default {
|
|
|
195
198
|
'fabric.editor.ai.experience.apiError': 'We couldn’t get a response, please try again.',
|
|
196
199
|
'fabric.editor.ai.experience.aupViolationMessage': 'Your prompt or content might not comply with our Acceptable Use Policy. Please review both and refer to our <link>Acceptable Use Policy</link> if needed. If the problem persists, consider trying a different prompt or content.',
|
|
197
200
|
'fabric.editor.ai.experience.browseMore.agents': 'Browse Agents',
|
|
201
|
+
'fabric.editor.ai.experience.cmdPaletteApiError': 'An error occurred while generating your response.',
|
|
202
|
+
'fabric.editor.ai.experience.cmdPaletteAupViolationMessage': "We couldn’t complete that request because it doesn't comply with our <link>Acceptable Use Policy</link>.",
|
|
198
203
|
'fabric.editor.ai.experience.discardMessagePrompt': 'Do you want to discard your prompt?',
|
|
199
204
|
'fabric.editor.ai.experience.discardMessageResponse': 'Do you want to discard your response?',
|
|
200
205
|
'fabric.editor.ai.experience.elevateDisabledGenetateError': 'Free generate is disabled in Elevate at this time.',
|
|
@@ -654,6 +659,7 @@ export default {
|
|
|
654
659
|
'fabric.editor.media.insert.fromUrlErrorMessage': 'Unfortunately, we can’t add this image link. Download the image, then drag and drop onto the page.',
|
|
655
660
|
'fabric.editor.media.insert.fromUrlWarning': 'This image might not be visible to others due to source restrictions. Consider uploading the file instead.',
|
|
656
661
|
'fabric.editor.media.insert.insert': 'Insert',
|
|
662
|
+
'fabric.editor.media.insert.insertSmartValueHelperMessage': 'Tip: Enter a smart value or replace a URL path with a smart value to make content dynamic.',
|
|
657
663
|
'fabric.editor.media.insert.invalidUrlErrorMessage': 'Invalid link',
|
|
658
664
|
'fabric.editor.media.insert.linkTabTitle': 'Link',
|
|
659
665
|
'fabric.editor.media.insert.loadPreview': 'Load preview',
|
|
@@ -763,6 +769,7 @@ export default {
|
|
|
763
769
|
'fabric.editor.selectTableColumn': 'Select table column',
|
|
764
770
|
'fabric.editor.selectTableRow': 'Select table row',
|
|
765
771
|
'fabric.editor.selectionExtensionDropdownButtonLabel': 'Select app',
|
|
772
|
+
'fabric.editor.selectionToolbarOverflowMenuTooltip': 'More options',
|
|
766
773
|
'fabric.editor.settingsLinks': 'Go to Link Preferences',
|
|
767
774
|
'fabric.editor.shortEmptyNodePlaceholderText': '/ to insert',
|
|
768
775
|
'fabric.editor.shortcut': 'Text shortcut',
|
|
@@ -841,6 +848,7 @@ export default {
|
|
|
841
848
|
'fabric.editor.toolbarPositionInline': 'In-line with text',
|
|
842
849
|
'fabric.editor.toolbarPositionPinedAtTop': 'Unpin the toolbar',
|
|
843
850
|
'fabric.editor.toolbarPositionUnpined': 'Pin the toolbar at the top',
|
|
851
|
+
'fabric.editor.toolbarPositionUnpinnedConcise': 'Pin toolbar to top',
|
|
844
852
|
'fabric.editor.tooltip.blockPanel': 'a panel',
|
|
845
853
|
'fabric.editor.tooltip.bulletList': 'a list',
|
|
846
854
|
'fabric.editor.tooltip.decisionList': 'a decision list',
|
|
@@ -47,6 +47,8 @@ export default {
|
|
|
47
47
|
'fabric.editor.ai.config.item.action.replaceTitleTooLongDisabledTooltip': 'Title cannot exceed {maxLength} characters',
|
|
48
48
|
'fabric.editor.ai.config.item.action.rovoAgents.contineChatLabel': 'Continue in chat',
|
|
49
49
|
'fabric.editor.ai.config.item.action.rovoAgents.continueInChatLabel': 'Open in Chat',
|
|
50
|
+
'fabric.editor.ai.config.item.addPolish.description': 'Polishes the content to make it more polished',
|
|
51
|
+
'fabric.editor.ai.config.item.addPolish.title': 'Add polish',
|
|
50
52
|
'fabric.editor.ai.config.item.agent.title': 'Atlassian Intelligence Rovo Agent',
|
|
51
53
|
'fabric.editor.ai.config.item.atlas-shorten-update.description': 'Shortens the content to make it more concise',
|
|
52
54
|
'fabric.editor.ai.config.item.atlas-shorten-update.title': 'Shorten update',
|
|
@@ -187,6 +189,7 @@ export default {
|
|
|
187
189
|
'fabric.editor.ai.confluence-prebuilt.confluenceTranslateSelectionToolbarDropdownMenuTitle': 'Translate',
|
|
188
190
|
'fabric.editor.ai.eventHub.fallbackSuggestedTitle': 'Page title',
|
|
189
191
|
'fabric.editor.ai.eventHub.fallbackSuggestedTitlePrefix': 'Page',
|
|
192
|
+
'fabric.editor.ai.experience-application.cmdPaletteUnhandledErrorMessage': "We're having issues and can't generate a response right now. Try again later.",
|
|
190
193
|
'fabric.editor.ai.experience-application.documentInsertError': "We're having trouble inserting the response. Close the dialog and try again.",
|
|
191
194
|
'fabric.editor.ai.experience-application.error-boundary.markdownErrorMessage': "We're having trouble generating the preview. Close the dialog and try again.",
|
|
192
195
|
'fabric.editor.ai.experience-application.rateLimitEnforced': 'We’ve received too many recent requests for Atlassian Intelligence (AI). Try again in a few minutes or read about <link>excessive use of AI</link>.',
|
|
@@ -195,6 +198,8 @@ export default {
|
|
|
195
198
|
'fabric.editor.ai.experience.apiError': 'We couldn’t get a response, please try again.',
|
|
196
199
|
'fabric.editor.ai.experience.aupViolationMessage': 'Your prompt or content might not comply with our Acceptable Use Policy. Please review both and refer to our <link>Acceptable Use Policy</link> if needed. If the problem persists, consider trying a different prompt or content.',
|
|
197
200
|
'fabric.editor.ai.experience.browseMore.agents': 'Browse Agents',
|
|
201
|
+
'fabric.editor.ai.experience.cmdPaletteApiError': 'An error occurred while generating your response.',
|
|
202
|
+
'fabric.editor.ai.experience.cmdPaletteAupViolationMessage': "We couldn’t complete that request because it doesn't comply with our <link>Acceptable Use Policy</link>.",
|
|
198
203
|
'fabric.editor.ai.experience.discardMessagePrompt': 'Do you want to discard your prompt?',
|
|
199
204
|
'fabric.editor.ai.experience.discardMessageResponse': 'Do you want to discard your response?',
|
|
200
205
|
'fabric.editor.ai.experience.elevateDisabledGenetateError': 'Free generate is disabled in Elevate at this time.',
|
|
@@ -654,6 +659,7 @@ export default {
|
|
|
654
659
|
'fabric.editor.media.insert.fromUrlErrorMessage': 'Unfortunately, we can’t add this image link. Download the image, then drag and drop onto the page.',
|
|
655
660
|
'fabric.editor.media.insert.fromUrlWarning': 'This image might not be visible to others due to source restrictions. Consider uploading the file instead.',
|
|
656
661
|
'fabric.editor.media.insert.insert': 'Insert',
|
|
662
|
+
'fabric.editor.media.insert.insertSmartValueHelperMessage': 'Tip: Enter a smart value or replace a URL path with a smart value to make content dynamic.',
|
|
657
663
|
'fabric.editor.media.insert.invalidUrlErrorMessage': 'Invalid link',
|
|
658
664
|
'fabric.editor.media.insert.linkTabTitle': 'Link',
|
|
659
665
|
'fabric.editor.media.insert.loadPreview': 'Load preview',
|
|
@@ -763,6 +769,7 @@ export default {
|
|
|
763
769
|
'fabric.editor.selectTableColumn': 'Select table column',
|
|
764
770
|
'fabric.editor.selectTableRow': 'Select table row',
|
|
765
771
|
'fabric.editor.selectionExtensionDropdownButtonLabel': 'Select app',
|
|
772
|
+
'fabric.editor.selectionToolbarOverflowMenuTooltip': 'More options',
|
|
766
773
|
'fabric.editor.settingsLinks': 'Go to Link Preferences',
|
|
767
774
|
'fabric.editor.shortEmptyNodePlaceholderText': '/ to insert',
|
|
768
775
|
'fabric.editor.shortcut': 'Text shortcut',
|
|
@@ -841,6 +848,7 @@ export default {
|
|
|
841
848
|
'fabric.editor.toolbarPositionInline': 'In-line with text',
|
|
842
849
|
'fabric.editor.toolbarPositionPinedAtTop': 'Unpin the toolbar',
|
|
843
850
|
'fabric.editor.toolbarPositionUnpined': 'Pin the toolbar at the top',
|
|
851
|
+
'fabric.editor.toolbarPositionUnpinnedConcise': 'Pin toolbar to top',
|
|
844
852
|
'fabric.editor.tooltip.blockPanel': 'a panel',
|
|
845
853
|
'fabric.editor.tooltip.bulletList': 'a list',
|
|
846
854
|
'fabric.editor.tooltip.decisionList': 'a decision list',
|
|
@@ -47,6 +47,8 @@ export default {
|
|
|
47
47
|
'fabric.editor.ai.config.item.action.replaceTitleTooLongDisabledTooltip': 'Title cannot exceed {maxLength} characters',
|
|
48
48
|
'fabric.editor.ai.config.item.action.rovoAgents.contineChatLabel': 'Continue in chat',
|
|
49
49
|
'fabric.editor.ai.config.item.action.rovoAgents.continueInChatLabel': 'Open in Chat',
|
|
50
|
+
'fabric.editor.ai.config.item.addPolish.description': 'Polishes the content to make it more polished',
|
|
51
|
+
'fabric.editor.ai.config.item.addPolish.title': 'Add polish',
|
|
50
52
|
'fabric.editor.ai.config.item.agent.title': 'Atlassian Intelligence Rovo Agent',
|
|
51
53
|
'fabric.editor.ai.config.item.atlas-shorten-update.description': 'Shortens the content to make it more concise',
|
|
52
54
|
'fabric.editor.ai.config.item.atlas-shorten-update.title': 'Shorten update',
|
|
@@ -187,6 +189,7 @@ export default {
|
|
|
187
189
|
'fabric.editor.ai.confluence-prebuilt.confluenceTranslateSelectionToolbarDropdownMenuTitle': 'Translate',
|
|
188
190
|
'fabric.editor.ai.eventHub.fallbackSuggestedTitle': 'Page title',
|
|
189
191
|
'fabric.editor.ai.eventHub.fallbackSuggestedTitlePrefix': 'Page',
|
|
192
|
+
'fabric.editor.ai.experience-application.cmdPaletteUnhandledErrorMessage': "We're having issues and can't generate a response right now. Try again later.",
|
|
190
193
|
'fabric.editor.ai.experience-application.documentInsertError': "We're having trouble inserting the response. Close the dialog and try again.",
|
|
191
194
|
'fabric.editor.ai.experience-application.error-boundary.markdownErrorMessage': "We're having trouble generating the preview. Close the dialog and try again.",
|
|
192
195
|
'fabric.editor.ai.experience-application.rateLimitEnforced': 'We’ve received too many recent requests for Atlassian Intelligence (AI). Try again in a few minutes or read about <link>excessive use of AI</link>.',
|
|
@@ -195,6 +198,8 @@ export default {
|
|
|
195
198
|
'fabric.editor.ai.experience.apiError': 'We couldn’t get a response, please try again.',
|
|
196
199
|
'fabric.editor.ai.experience.aupViolationMessage': 'Your prompt or content might not comply with our Acceptable Use Policy. Please review both and refer to our <link>Acceptable Use Policy</link> if needed. If the problem persists, consider trying a different prompt or content.',
|
|
197
200
|
'fabric.editor.ai.experience.browseMore.agents': 'Browse Agents',
|
|
201
|
+
'fabric.editor.ai.experience.cmdPaletteApiError': 'An error occurred while generating your response.',
|
|
202
|
+
'fabric.editor.ai.experience.cmdPaletteAupViolationMessage': "We couldn’t complete that request because it doesn't comply with our <link>Acceptable Use Policy</link>.",
|
|
198
203
|
'fabric.editor.ai.experience.discardMessagePrompt': 'Do you want to discard your prompt?',
|
|
199
204
|
'fabric.editor.ai.experience.discardMessageResponse': 'Do you want to discard your response?',
|
|
200
205
|
'fabric.editor.ai.experience.elevateDisabledGenetateError': 'Free generate is disabled in Elevate at this time.',
|
|
@@ -304,11 +309,24 @@ export default {
|
|
|
304
309
|
'fabric.editor.ai.selectionToolbar.define.title': 'Define',
|
|
305
310
|
'fabric.editor.ai.telepointer.rovo': 'Rovo',
|
|
306
311
|
'fabric.editor.ai.toolbar.askAI.title': 'Ask AI',
|
|
312
|
+
'fabric.editor.ai.toolbar.askRovo.title': 'Ask Rovo',
|
|
307
313
|
'fabric.editor.ai.toolbar.askRovoAiSplitButton.label': 'Ask Rovo AI',
|
|
314
|
+
'fabric.editor.ai.toolbar.changeTone.title': 'Change tone',
|
|
315
|
+
'fabric.editor.ai.toolbar.changeToneOptions.title': 'Change tone options',
|
|
308
316
|
'fabric.editor.ai.toolbar.improveWriting.title': 'Improve writing',
|
|
309
317
|
'fabric.editor.ai.toolbar.improveWriting.tooltip': 'Tell Atlassian Intelligence to improve the writing of your selection',
|
|
318
|
+
'fabric.editor.ai.toolbar.makeLonger.title': 'Make longer',
|
|
319
|
+
'fabric.editor.ai.toolbar.makeShorter.title': 'Make shorter',
|
|
320
|
+
'fabric.editor.ai.toolbar.moreCasualTone.title': 'More casual',
|
|
321
|
+
'fabric.editor.ai.toolbar.moreEmpatheticTone.title': 'More empathetic',
|
|
322
|
+
'fabric.editor.ai.toolbar.moreProfessionalTone.title': 'More professional',
|
|
323
|
+
'fabric.editor.ai.toolbar.moreRovoOptions.label': 'More Rovo options',
|
|
310
324
|
'fabric.editor.ai.toolbar.simplifiedAI.title': 'AI',
|
|
325
|
+
'fabric.editor.ai.toolbar.spellingAndGrammar.title': 'Fix spelling and grammar',
|
|
326
|
+
'fabric.editor.ai.toolbar.summarize.title': 'Summarize',
|
|
311
327
|
'fabric.editor.ai.toolbar.titleText': 'Atlassian Intelligence',
|
|
328
|
+
'fabric.editor.ai.toolbar.translate.title': 'Translate',
|
|
329
|
+
'fabric.editor.ai.toolbar.translateOptions.label': 'Translate options',
|
|
312
330
|
'fabric.editor.ai.toolbar.tryAI.title': 'Try AI',
|
|
313
331
|
'fabric.editor.ai.toolbar.tryAI.tooltip': 'Open Atlassian Intelligence',
|
|
314
332
|
'fabric.editor.ai.toolbar.tryAI.tooltip.quickCommand': "Ask AI {key}+'",
|
|
@@ -641,6 +659,7 @@ export default {
|
|
|
641
659
|
'fabric.editor.media.insert.fromUrlErrorMessage': 'Unfortunately, we can’t add this image link. Download the image, then drag and drop onto the page.',
|
|
642
660
|
'fabric.editor.media.insert.fromUrlWarning': 'This image might not be visible to others due to source restrictions. Consider uploading the file instead.',
|
|
643
661
|
'fabric.editor.media.insert.insert': 'Insert',
|
|
662
|
+
'fabric.editor.media.insert.insertSmartValueHelperMessage': 'Tip: Enter a smart value or replace a URL path with a smart value to make content dynamic.',
|
|
644
663
|
'fabric.editor.media.insert.invalidUrlErrorMessage': 'Invalid link',
|
|
645
664
|
'fabric.editor.media.insert.linkTabTitle': 'Link',
|
|
646
665
|
'fabric.editor.media.insert.loadPreview': 'Load preview',
|
|
@@ -750,6 +769,7 @@ export default {
|
|
|
750
769
|
'fabric.editor.selectTableColumn': 'Select table column',
|
|
751
770
|
'fabric.editor.selectTableRow': 'Select table row',
|
|
752
771
|
'fabric.editor.selectionExtensionDropdownButtonLabel': 'Select app',
|
|
772
|
+
'fabric.editor.selectionToolbarOverflowMenuTooltip': 'More options',
|
|
753
773
|
'fabric.editor.settingsLinks': 'Go to Link Preferences',
|
|
754
774
|
'fabric.editor.shortEmptyNodePlaceholderText': '/ to insert',
|
|
755
775
|
'fabric.editor.shortcut': 'Text shortcut',
|
|
@@ -827,6 +847,7 @@ export default {
|
|
|
827
847
|
'fabric.editor.toolbarPositionInline': 'In-line with text',
|
|
828
848
|
'fabric.editor.toolbarPositionPinedAtTop': 'Unpin the toolbar',
|
|
829
849
|
'fabric.editor.toolbarPositionUnpined': 'Pin the toolbar at the top',
|
|
850
|
+
'fabric.editor.toolbarPositionUnpinnedConcise': 'Pin toolbar to top',
|
|
830
851
|
'fabric.editor.tooltip.blockPanel': 'a panel',
|
|
831
852
|
'fabric.editor.tooltip.bulletList': 'a list',
|
|
832
853
|
'fabric.editor.tooltip.decisionList': 'a decision list',
|