@atlaskit/editor-common 81.1.5 → 81.2.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 +12 -0
- package/codemods/migrates/entry-points.ts +14 -30
- package/dist/cjs/clipboard/index.js +4 -4
- package/dist/cjs/collab/index.js +1 -1
- package/dist/cjs/doc-utils/editor-use-only.js +2 -2
- package/dist/cjs/i18n/cs.js +1 -0
- package/dist/cjs/i18n/da.js +3 -2
- package/dist/cjs/i18n/de.js +3 -2
- package/dist/cjs/i18n/en.js +1 -0
- package/dist/cjs/i18n/en_GB.js +1 -0
- package/dist/cjs/i18n/en_ZZ.js +1 -0
- package/dist/cjs/i18n/es.js +2 -1
- package/dist/cjs/i18n/fi.js +2 -1
- package/dist/cjs/i18n/fr.js +1 -0
- package/dist/cjs/i18n/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ja.js +2 -1
- package/dist/cjs/i18n/ko.js +2 -1
- package/dist/cjs/i18n/nb.js +1 -0
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +1 -0
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/tr.js +1 -0
- package/dist/cjs/i18n/uk.js +7 -6
- package/dist/cjs/i18n/vi.js +1 -0
- package/dist/cjs/i18n/zh.js +3 -2
- package/dist/cjs/i18n/zh_TW.js +1 -0
- package/dist/cjs/lists/node.js +8 -8
- package/dist/cjs/lists/replace-content.js +8 -8
- package/dist/cjs/media-inline/styles.js +2 -2
- package/dist/cjs/messages/card.js +20 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/selection/gap-cursor/styles.js +1 -1
- package/dist/cjs/styles/shared/annotation.js +1 -1
- package/dist/cjs/styles/shared/block-marks.js +1 -1
- package/dist/cjs/styles/shared/code-block.js +2 -2
- package/dist/cjs/styles/shared/lists.js +1 -1
- package/dist/cjs/styles/shared/panel.js +1 -1
- package/dist/cjs/styles/shared/resizer.js +1 -1
- package/dist/cjs/styles/shared/smartCard.js +1 -1
- package/dist/cjs/styles/shared/table.js +1 -1
- package/dist/cjs/styles/shared/task-decision.js +1 -1
- package/dist/cjs/styles/shared/unsupported-content.js +1 -1
- package/dist/cjs/table/SortingIcon.js +2 -2
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/styles.js +4 -4
- package/dist/cjs/ui/MediaSingle/styled.js +5 -5
- package/dist/cjs/ui/ResizerLegacy/styled.js +1 -1
- package/dist/cjs/ui-menu/DropdownMenu/index.js +2 -2
- package/dist/cjs/utils/calculate-toolbar-position.js +8 -8
- package/dist/cjs/utils/compareNodes.js +7 -7
- package/dist/cjs/utils/dedupe.js +10 -10
- package/dist/es2019/clipboard/index.js +4 -4
- package/dist/es2019/collab/index.js +29 -29
- package/dist/es2019/doc-utils/editor-use-only.js +2 -2
- package/dist/es2019/i18n/cs.js +1 -0
- package/dist/es2019/i18n/da.js +3 -2
- package/dist/es2019/i18n/de.js +3 -2
- package/dist/es2019/i18n/en.js +1 -0
- package/dist/es2019/i18n/en_GB.js +1 -0
- package/dist/es2019/i18n/en_ZZ.js +1 -0
- package/dist/es2019/i18n/es.js +2 -1
- package/dist/es2019/i18n/fi.js +2 -1
- package/dist/es2019/i18n/fr.js +1 -0
- package/dist/es2019/i18n/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ja.js +2 -1
- package/dist/es2019/i18n/ko.js +2 -1
- package/dist/es2019/i18n/nb.js +1 -0
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +1 -0
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/tr.js +1 -0
- package/dist/es2019/i18n/uk.js +7 -6
- package/dist/es2019/i18n/vi.js +1 -0
- package/dist/es2019/i18n/zh.js +3 -2
- package/dist/es2019/i18n/zh_TW.js +1 -0
- package/dist/es2019/lists/node.js +8 -8
- package/dist/es2019/lists/replace-content.js +8 -8
- package/dist/es2019/media-inline/styles.js +28 -28
- package/dist/es2019/messages/card.js +20 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/selection/gap-cursor/styles.js +80 -80
- package/dist/es2019/styles/shared/annotation.js +12 -12
- package/dist/es2019/styles/shared/block-marks.js +16 -16
- package/dist/es2019/styles/shared/code-block.js +101 -89
- package/dist/es2019/styles/shared/lists.js +83 -86
- package/dist/es2019/styles/shared/panel.js +78 -78
- package/dist/es2019/styles/shared/resizer.js +180 -178
- package/dist/es2019/styles/shared/smartCard.js +92 -102
- package/dist/es2019/styles/shared/table.js +125 -127
- package/dist/es2019/styles/shared/task-decision.js +46 -46
- package/dist/es2019/styles/shared/unsupported-content.js +15 -15
- package/dist/es2019/table/SortingIcon.js +34 -34
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/index.js +14 -14
- package/dist/es2019/ui/FloatingToolbar/styles.js +4 -4
- package/dist/es2019/ui/MediaSingle/styled.js +55 -55
- package/dist/es2019/ui/ResizerLegacy/styled.js +10 -10
- package/dist/es2019/ui-menu/DropdownMenu/index.js +30 -30
- package/dist/es2019/utils/calculate-toolbar-position.js +8 -8
- package/dist/es2019/utils/compareNodes.js +7 -7
- package/dist/es2019/utils/dedupe.js +10 -10
- package/dist/esm/clipboard/index.js +4 -4
- package/dist/esm/collab/index.js +1 -1
- package/dist/esm/doc-utils/editor-use-only.js +2 -2
- package/dist/esm/i18n/cs.js +1 -0
- package/dist/esm/i18n/da.js +3 -2
- package/dist/esm/i18n/de.js +3 -2
- package/dist/esm/i18n/en.js +1 -0
- package/dist/esm/i18n/en_GB.js +1 -0
- package/dist/esm/i18n/en_ZZ.js +1 -0
- package/dist/esm/i18n/es.js +2 -1
- package/dist/esm/i18n/fi.js +2 -1
- package/dist/esm/i18n/fr.js +1 -0
- package/dist/esm/i18n/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ja.js +2 -1
- package/dist/esm/i18n/ko.js +2 -1
- package/dist/esm/i18n/nb.js +1 -0
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +1 -0
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/tr.js +1 -0
- package/dist/esm/i18n/uk.js +7 -6
- package/dist/esm/i18n/vi.js +1 -0
- package/dist/esm/i18n/zh.js +3 -2
- package/dist/esm/i18n/zh_TW.js +1 -0
- package/dist/esm/lists/node.js +8 -8
- package/dist/esm/lists/replace-content.js +8 -8
- package/dist/esm/media-inline/styles.js +2 -2
- package/dist/esm/messages/card.js +20 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/selection/gap-cursor/styles.js +1 -1
- package/dist/esm/styles/shared/annotation.js +1 -1
- package/dist/esm/styles/shared/block-marks.js +1 -1
- package/dist/esm/styles/shared/code-block.js +2 -2
- package/dist/esm/styles/shared/lists.js +1 -1
- package/dist/esm/styles/shared/panel.js +1 -1
- package/dist/esm/styles/shared/resizer.js +1 -1
- package/dist/esm/styles/shared/smartCard.js +1 -1
- package/dist/esm/styles/shared/table.js +1 -1
- package/dist/esm/styles/shared/task-decision.js +1 -1
- package/dist/esm/styles/shared/unsupported-content.js +1 -1
- package/dist/esm/table/SortingIcon.js +2 -2
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/styles.js +4 -4
- package/dist/esm/ui/MediaSingle/styled.js +5 -5
- package/dist/esm/ui/ResizerLegacy/styled.js +1 -1
- package/dist/esm/ui-menu/DropdownMenu/index.js +2 -2
- package/dist/esm/utils/calculate-toolbar-position.js +8 -8
- package/dist/esm/utils/compareNodes.js +7 -7
- package/dist/esm/utils/dedupe.js +10 -10
- package/dist/types/analytics/index.d.ts +1 -1
- package/dist/types/analytics/types/index.d.ts +3 -3
- package/dist/types/card/LinkToolbarButtonGroup.d.ts +1 -1
- package/dist/types/card/index.d.ts +1 -1
- package/dist/types/element-browser/ViewMore.d.ts +1 -1
- package/dist/types/element-browser/components/ElementList/EmptyState.d.ts +1 -1
- package/dist/types/extensibility/index.d.ts +1 -1
- package/dist/types/extensions/index.d.ts +1 -1
- package/dist/types/extensions/types/index.d.ts +2 -2
- package/dist/types/guideline/index.d.ts +3 -3
- package/dist/types/i18n/cs.d.ts +1 -0
- package/dist/types/i18n/da.d.ts +1 -0
- package/dist/types/i18n/de.d.ts +1 -0
- package/dist/types/i18n/en.d.ts +1 -0
- package/dist/types/i18n/en_GB.d.ts +1 -0
- package/dist/types/i18n/en_ZZ.d.ts +1 -0
- package/dist/types/i18n/es.d.ts +1 -0
- package/dist/types/i18n/fi.d.ts +1 -0
- package/dist/types/i18n/fr.d.ts +1 -0
- package/dist/types/i18n/hu.d.ts +1 -0
- package/dist/types/i18n/it.d.ts +1 -0
- package/dist/types/i18n/ja.d.ts +1 -0
- package/dist/types/i18n/ko.d.ts +1 -0
- package/dist/types/i18n/nb.d.ts +1 -0
- package/dist/types/i18n/nl.d.ts +1 -0
- package/dist/types/i18n/pl.d.ts +1 -0
- package/dist/types/i18n/pt_BR.d.ts +1 -0
- package/dist/types/i18n/ru.d.ts +1 -0
- package/dist/types/i18n/sv.d.ts +1 -0
- package/dist/types/i18n/th.d.ts +1 -0
- package/dist/types/i18n/tr.d.ts +1 -0
- package/dist/types/i18n/uk.d.ts +1 -0
- package/dist/types/i18n/vi.d.ts +1 -0
- package/dist/types/i18n/zh.d.ts +1 -0
- package/dist/types/i18n/zh_TW.d.ts +1 -0
- package/dist/types/link/index.d.ts +3 -3
- package/dist/types/lists/index.d.ts +3 -3
- package/dist/types/lists/replace-content.d.ts +1 -1
- package/dist/types/mark/index.d.ts +1 -1
- package/dist/types/media-inline/index.d.ts +1 -1
- package/dist/types/media-inline/views/frame.d.ts +1 -1
- package/dist/types/messages/card.d.ts +20 -0
- package/dist/types/portal/index.d.ts +1 -1
- package/dist/types/preset/index.d.ts +1 -1
- package/dist/types/preset/plugin-injection-api.d.ts +1 -1
- package/dist/types/provider-factory/quick-insert-provider.d.ts +1 -1
- package/dist/types/provider-factory.d.ts +2 -2
- package/dist/types/react-node-view/index.d.ts +1 -1
- package/dist/types/selection/index.d.ts +2 -2
- package/dist/types/styles/index.d.ts +4 -4
- package/dist/types/types/feature-flags.d.ts +6 -6
- package/dist/types/types/index.d.ts +12 -12
- package/dist/types/types/next-editor-plugin.d.ts +2 -8
- package/dist/types/types/performance-tracking.d.ts +4 -4
- package/dist/types/ufo/index.d.ts +1 -1
- package/dist/types/ui/BaseTheme/index.d.ts +1 -1
- package/dist/types/ui/FloatingToolbar/styles.d.ts +4 -4
- package/dist/types/ui/MediaSingle/styled.d.ts +1 -1
- package/dist/types/ui/index.d.ts +4 -4
- package/dist/types/ui-color/index.d.ts +1 -1
- package/dist/types/utils/get-performance-options.d.ts +1 -1
- package/dist/types/utils/index.d.ts +6 -6
- package/dist/types/validator.d.ts +1 -1
- package/dist/types-ts4.5/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/index.d.ts +3 -3
- package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +1 -1
- package/dist/types-ts4.5/card/index.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/ViewMore.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/EmptyState.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/index.d.ts +1 -1
- package/dist/types-ts4.5/extensions/index.d.ts +1 -1
- package/dist/types-ts4.5/extensions/types/index.d.ts +2 -2
- package/dist/types-ts4.5/guideline/index.d.ts +3 -3
- package/dist/types-ts4.5/i18n/cs.d.ts +1 -0
- package/dist/types-ts4.5/i18n/da.d.ts +1 -0
- package/dist/types-ts4.5/i18n/de.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -0
- package/dist/types-ts4.5/i18n/es.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
- package/dist/types-ts4.5/i18n/it.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
- package/dist/types-ts4.5/i18n/th.d.ts +1 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -0
- package/dist/types-ts4.5/link/index.d.ts +3 -3
- package/dist/types-ts4.5/lists/index.d.ts +3 -3
- package/dist/types-ts4.5/lists/replace-content.d.ts +1 -1
- package/dist/types-ts4.5/mark/index.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/index.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/views/frame.d.ts +1 -1
- package/dist/types-ts4.5/messages/card.d.ts +20 -0
- package/dist/types-ts4.5/portal/index.d.ts +1 -1
- package/dist/types-ts4.5/preset/index.d.ts +1 -1
- package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/quick-insert-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory.d.ts +2 -2
- package/dist/types-ts4.5/react-node-view/index.d.ts +1 -1
- package/dist/types-ts4.5/selection/index.d.ts +2 -2
- package/dist/types-ts4.5/styles/index.d.ts +4 -4
- package/dist/types-ts4.5/types/feature-flags.d.ts +6 -6
- package/dist/types-ts4.5/types/index.d.ts +12 -12
- package/dist/types-ts4.5/types/performance-tracking.d.ts +4 -4
- package/dist/types-ts4.5/ufo/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/BaseTheme/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +4 -4
- package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +1 -1
- package/dist/types-ts4.5/ui/index.d.ts +4 -4
- package/dist/types-ts4.5/ui-color/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-performance-options.d.ts +1 -1
- package/dist/types-ts4.5/utils/index.d.ts +6 -6
- package/dist/types-ts4.5/validator.d.ts +1 -1
- package/package.json +4 -6
- package/report.api.md +6 -5
|
@@ -4,10 +4,10 @@ export var iconOnlySpacing = {
|
|
|
4
4
|
'&&': {
|
|
5
5
|
padding: '0px',
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
Increased specificity here because css for .hyperlink-open-link defined in
|
|
8
|
+
packages/editor/editor-core/src/ui/ContentStyles/index.tsx file
|
|
9
|
+
overrides padding left-right 2px with 4px.
|
|
10
|
+
*/
|
|
11
11
|
'&&[href]': {
|
|
12
12
|
padding: '0 2px'
|
|
13
13
|
}
|
|
@@ -150,10 +150,10 @@ export var MediaSingleDimensionHelper = function MediaSingleDimensionHelper(_ref
|
|
|
150
150
|
_ref$isInsideOfInline = _ref.isInsideOfInlineExtension,
|
|
151
151
|
isInsideOfInlineExtension = _ref$isInsideOfInline === void 0 ? false : _ref$isInsideOfInline;
|
|
152
152
|
return (// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
153
|
-
css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n
|
|
153
|
+
css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t/* For nested rich media items, set max-width to 100% */\n\t\ttr &,\n\t\t[data-layout-column] &,\n\t\t[data-node-type='expand'] &,\n\t\t[data-panel-type] &,\n\t\tli & {\n\t\t\tmax-width: 100%;\n\t\t}\n\n\t\twidth: ", ";\n\t\t", "\n\t\tmax-width: ", ";\n\n\t\t", "\n\n\t\t&:not(.is-resizing) {\n\t\t\ttransition: width 100ms ease-in;\n\t\t}\n\n\t\tfloat: ", ";\n\t\tmargin: ", ";\n\n\t\t&[class*='not-resizing'] {\n\t\t\t", "\n\t\t}\n\n\t\t", ";\n\t"])), isExtendedResizeExperienceOn ? "".concat(mediaSingleWidth || width, "px") : mediaSingleWidth ? calcResizedWidth(layout, width || 0, containerWidth) : calcLegacyWidth(layout, width || 0, containerWidth, fullWidthMode, isResized, isInsideOfInlineExtension), layout === 'full-width' &&
|
|
154
154
|
/* This causes issues for new experience where we don't strip layout attributes
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
when copying top-level node and pasting into a table/layout,
|
|
156
|
+
because full-width layout will remain, causing node to be edge-to-edge */
|
|
157
157
|
!isExtendedResizeExperienceOn && css({
|
|
158
158
|
minWidth: '100%'
|
|
159
159
|
}), isExtendedResizeExperienceOn ? "".concat(containerWidth, "px") : calcMaxWidth(layout, containerWidth), isExtendedResizeExperienceOn && "&[class*='is-resizing'] {\n .new-file-experience-wrapper {\n box-shadow: none !important;\n }\n\n ".concat(!isNestedNode && nonWrappedLayouts.includes(layout) && "margin-left: 50%;\n transform: translateX(-50%);", "\n }"), float(layout), calcMargin(layout), isNestedNode ? /* Make nested node appear responsive when resizing table cell */"max-width: 100%;" : nonWrappedLayouts.includes(layout) && "margin-left: 50%;\n transform: translateX(-50%);", isImageAligned(layout))
|
|
@@ -164,13 +164,13 @@ var RenderFallbackContainer = function RenderFallbackContainer(_ref2) {
|
|
|
164
164
|
paddingBottom = _ref2.paddingBottom,
|
|
165
165
|
height = _ref2.height;
|
|
166
166
|
return (// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
167
|
-
css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n
|
|
167
|
+
css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t\t", "\n\t"])), hasFallbackContainer ? "\n &::after {\n content: '';\n display: block;\n ".concat(height ? "height: ".concat(height, "px;") : paddingBottom ? "padding-bottom: ".concat(paddingBottom, ";") : '', "\n\n /* Fixes extra padding problem in Firefox */\n font-size: 0;\n line-height: 0;\n }\n ") : '')
|
|
168
168
|
);
|
|
169
169
|
};
|
|
170
170
|
|
|
171
171
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
172
172
|
export var mediaWrapperStyle = function mediaWrapperStyle(props) {
|
|
173
|
-
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n
|
|
173
|
+
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\tposition: relative;\n\n\t", "\n\n\t/* Editor */\n & > figure {\n\t\tposition: ", ";\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t// Comments on media project adds comment badge as child of the media wrapper,\n\t// thus we need to exclude it so that style is applied to intended div\n\t& > div:not([data-comment-badge='true']) {\n\t\tposition: ", ";\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t& * [data-mark-annotation-type='inlineComment'] {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n\n\t&[data-node-type='embedCard'] > div {\n\t\twidth: 100%;\n\t}\n\n\t/* Renderer */\n\t[data-node-type='media'] {\n\t\tposition: static !important;\n\n\t\t> div {\n\t\t\tposition: absolute;\n\t\t\theight: 100%;\n\t\t}\n\t}\n"])), RenderFallbackContainer(props), props.hasFallbackContainer ? 'absolute' : 'relative', props.hasFallbackContainer ? 'absolute' : 'relative');
|
|
174
174
|
};
|
|
175
175
|
export var MediaWrapper = function MediaWrapper(_ref3) {
|
|
176
176
|
var children = _ref3.children,
|
|
@@ -5,5 +5,5 @@ import { MediaSingleDimensionHelper } from '../MediaSingle/styled';
|
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
7
7
|
export var wrapperStyle = function wrapperStyle(props) {
|
|
8
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n
|
|
8
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t& > div {\n\t\t", ";\n\t\tposition: relative;\n\t\tclear: both;\n\n\t\t> div {\n\t\t\tposition: absolute;\n\t\t\theight: 100%;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n"])), MediaSingleDimensionHelper(props));
|
|
9
9
|
};
|
|
@@ -48,10 +48,10 @@ var buttonStyles = function buttonStyles(isActive, submenuActive) {
|
|
|
48
48
|
* Hack for item to imitate old dropdown-menu selected styles
|
|
49
49
|
*/
|
|
50
50
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
|
|
51
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n
|
|
51
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\t> span,\n\t\t\t> span:hover,\n\t\t\t> span:active {\n\t\t\t\tbackground: ", ";\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\t\t\t:focus > span[aria-disabled='false'] {\n\t\t\t\t", ";\n\t\t\t}\n\t\t\t:focus-visible,\n\t\t\t:focus-visible > span[aria-disabled='false'] {\n\t\t\t\toutline: none;\n\t\t\t}\n\t\t"])), "var(--ds-background-selected, #6c798f)", "var(--ds-text, #fff)", focusedMenuItemStyle);
|
|
52
52
|
} else {
|
|
53
53
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
|
|
54
|
-
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n
|
|
54
|
+
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t\t\t> span:hover[aria-disabled='false'] {\n\t\t\t\tcolor: ", ";\n\t\t\t\tbackground-color: ", ";\n\t\t\t}\n\t\t\t", "\n\t\t\t> span[aria-disabled='true'] {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\t\t\t:focus > span[aria-disabled='false'] {\n\t\t\t\t", ";\n\t\t\t}\n\t\t\t:focus-visible,\n\t\t\t:focus-visible > span[aria-disabled='false'] {\n\t\t\t\toutline: none;\n\t\t\t}\n\t\t"])), "var(--ds-text, ".concat(N900, ")"), "var(--ds-background-neutral-subtle-hovered, rgb(244, 245, 247))", !submenuActive && "\n > span:active[aria-disabled='false'] {\n background-color: ".concat("var(--ds-background-neutral-subtle-pressed, rgb(179, 212, 255))", ";\n }"), "var(--ds-text-disabled, ".concat(N70, ")"), focusedMenuItemStyle); // The default focus-visible style is removed to ensure consistency across browsers
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
var DropListWithOutsideListeners = withReactEditorViewOuterListeners(DropList);
|
|
@@ -42,14 +42,14 @@ export var calculateToolbarPositionAboveSelection = function calculateToolbarPos
|
|
|
42
42
|
left = Math.min(topCoords.left, bottomCoords.left);
|
|
43
43
|
}
|
|
44
44
|
/*
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
short selection above a long paragraph
|
|
46
|
+
eg. short {<}heading
|
|
47
|
+
The purpose of this text is to show the selection range{>}.
|
|
48
|
+
The horizontal positioning should center around "heading",
|
|
49
|
+
not where it ends at "range".
|
|
50
|
+
Note: if it was "head<b>ing</b>" then it would only center
|
|
51
|
+
around "head". Undesireable but matches the current renderer.
|
|
52
|
+
*/
|
|
53
53
|
var cliffPosition = range.getClientRects()[0];
|
|
54
54
|
if (cliffPosition.right < left) {
|
|
55
55
|
left = cliffPosition.left + cliffPosition.width / 2;
|
|
@@ -103,10 +103,10 @@ function getMetaFromNode(node, options, normalizeTextParser) {
|
|
|
103
103
|
switch (firstChild.type.name) {
|
|
104
104
|
// Text case
|
|
105
105
|
/*
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
Get Meta value from the first child if the cell is of type
|
|
107
|
+
* Heading (Any cell where the text is set to a heading type)
|
|
108
|
+
* Paragraph (Normal text)
|
|
109
|
+
*/
|
|
110
110
|
case 'heading':
|
|
111
111
|
case 'paragraph':
|
|
112
112
|
{
|
|
@@ -205,9 +205,9 @@ export var createCompareNodes = function createCompareNodes(options) {
|
|
|
205
205
|
var metaNodeA = getMetaFromNode(nodeA, options, normalizeTextParser);
|
|
206
206
|
var metaNodeB = getMetaFromNode(nodeB, options, normalizeTextParser);
|
|
207
207
|
/*
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
208
|
+
Donot switch the order (Asec or Desc) if either node is null.
|
|
209
|
+
This will ensure that empty cells are always at the bottom during sorting.
|
|
210
|
+
*/
|
|
211
211
|
if (metaNodeA === null || metaNodeB === null) {
|
|
212
212
|
return compareMetaFromNode(metaNodeA, metaNodeB);
|
|
213
213
|
}
|
package/dist/esm/utils/dedupe.js
CHANGED
|
@@ -4,16 +4,16 @@ export function dedupe() {
|
|
|
4
4
|
return p;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
.,
|
|
8
|
+
. _,'f----.._
|
|
9
|
+
|\ ,-'"/ | ,'
|
|
10
|
+
|,_ ,--. /
|
|
11
|
+
/,-. ,'`. (_
|
|
12
|
+
f o| o|__ "`-.
|
|
13
|
+
,-._.,--'_ `. _.,-`
|
|
14
|
+
`"' ___.,'` j,-'
|
|
15
|
+
`-.__.,--'
|
|
16
|
+
Gotta go fast!
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
var seen = new Set();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, BROWSER_FREEZE_INTERACTION_TYPE, CONTENT_COMPONENT, DELETE_DIRECTION, EVENT_TYPE, FLOATING_CONTROLS_TITLE, FULL_WIDTH_MODE, GAP_CURSOR_POSITION, INDENT_DIRECTION, INDENT_TYPE, INPUT_METHOD, LAYOUT_TYPE, LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, MODE, PLATFORMS, PUNC, PasteContents, PasteSources, PasteTypes, RESOLVE_METHOD, SELECTION_TYPE, SELECTION_POSITION, SMART_LINK_TYPE, SYMBOL, SmartLinkNodeContexts, TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TARGET_SELECTION_SOURCE, TOOLBAR_ACTION_SUBJECT_ID, TRIGGER_METHOD, USER_CONTEXT, TABLE_DISPLAY_MODE, VIEW_METHOD, } from './types';
|
|
2
2
|
export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadCallback, AnalyticsEventPayloadWithChannel, AnnotationAEP, AnnotationAEPAttributes, AnnotationActionType, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, CaptionTrackAction, ColorPickerAEP, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, DismissedCreateLinkInlineDialogAEP, DispatchAnalyticsEvent, EditLinkToolbarAEP, EnteredTextLinkSearchInputAEP, ErrorEventAttributes, ErrorEventPayload, ExperimentalEventPayload, ExtensionEventPayload, ExtensionType, FeatureExposureAEP, FormatEventPayload, GeneralEventPayload, HighlightedSearchResultsAEP, InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, InsertSmartLinkAEP, ListEventPayload, MediaSwitchType, MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, MediaResizeTrackAction, MediaInputResizeTrackAction, NodeCount, NodeEventPayload, OperationalAEP, PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, PluginMethodReport, PluginPerformanceReportData, PluginsReport, QuickSearchPerfAEP, RecentActivitiesPerfAEP, SelectAllAEP, SelectCellAEP, SelectNodeAEP, SelectRangeAEP, SelectedSearchResultsAEP, SelectionEventPayload, SelectionJson, ShownPostQuerySearchResultsAEP, ShownPreQuerySearchResultsAEP, SimplifiedNode, SmartLinkNodeContext, SubstituteEventPayload, TableEventPayload, TextColorSelectedAEP, TextColorSelectedAttr, TextColorShowPaletteToggleAEP, TextColorShowPaletteToggleAttr, ToolbarEventPayload, TransactionEventPayload, TypeAheadPayload, UfoSessionCompletePayloadAEP, UnlinkToolbarAEP, ViewedCreateLinkInlineDialogAEP, FireAnalyticsCallback, FireAnalyticsEvent, FireAnalyticsEventPayload, InitialiseFragmentMarksAEP, ConnectedNodesAEP, DisconnectedSourceAEP, DisconnectedTargetAEP, GotConnectionsAEP, UpdatedFragmentMarkNameAEP, UpdatedSourceAEP, UpdatedTargetAEP, OverflowStateInfo, } from './types';
|
|
3
3
|
export type { EditorAnalyticsAPI } from './api';
|
|
4
|
-
export { editorAnalyticsChannel, fireAnalyticsEvent
|
|
4
|
+
export { editorAnalyticsChannel, fireAnalyticsEvent } from './fire-analytics-event';
|
|
5
5
|
export { getAnalyticsEventsFromTransaction } from './utils';
|
|
6
6
|
export { buildEditLinkPayload, buildVisitedLinkPayload, buildOpenedSettingsPayload, unlinkPayload, } from './linking-utils';
|
|
7
7
|
export type { LinkType } from './linking-utils';
|
|
@@ -6,7 +6,7 @@ export type { UfoSessionCompletePayloadAEP, ColorPickerAEP, GeneralEventPayload,
|
|
|
6
6
|
export { INDENT_DIRECTION, INDENT_TYPE } from './format-events';
|
|
7
7
|
export { PUNC, SYMBOL } from './substitute-events';
|
|
8
8
|
export { BROWSER_FREEZE_INTERACTION_TYPE, FULL_WIDTH_MODE, MODE, PLATFORMS, } from './general-events';
|
|
9
|
-
export { LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, USER_CONTEXT
|
|
9
|
+
export { LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, USER_CONTEXT } from './insert-events';
|
|
10
10
|
export type { InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, } from './insert-events';
|
|
11
11
|
export { TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TABLE_DISPLAY_MODE, } from './table-events';
|
|
12
12
|
export type { TableEventPayload, OverflowStateInfo } from './table-events';
|
|
@@ -18,8 +18,8 @@ export { DELETE_DIRECTION, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_IN
|
|
|
18
18
|
export type { ListEventPayload, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, } from './list-events';
|
|
19
19
|
export type { CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, RecentActivitiesPerfAEP, QuickSearchPerfAEP, ViewedCreateLinkInlineDialogAEP, DismissedCreateLinkInlineDialogAEP, EnteredTextLinkSearchInputAEP, ShownPreQuerySearchResultsAEP, ShownPostQuerySearchResultsAEP, HighlightedSearchResultsAEP, SelectedSearchResultsAEP, EditLinkToolbarAEP, UnlinkToolbarAEP, } from './link-tool-bar-events';
|
|
20
20
|
export type { TextColorSelectedAttr, TextColorSelectedAEP, TextColorShowPaletteToggleAttr, TextColorShowPaletteToggleAEP, ExperimentalEventPayload, } from './experimental-events';
|
|
21
|
-
export { GAP_CURSOR_POSITION, TARGET_SELECTION_SOURCE
|
|
22
|
-
export type { SelectionJson, ExtensionType, ExtensionEventPayload
|
|
21
|
+
export { GAP_CURSOR_POSITION, TARGET_SELECTION_SOURCE } from './extension-events';
|
|
22
|
+
export type { SelectionJson, ExtensionType, ExtensionEventPayload } from './extension-events';
|
|
23
23
|
export type { AnnotationActionType, AnnotationAEP, AnnotationAEPAttributes, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, } from './inline-comment-events';
|
|
24
24
|
export { RESOLVE_METHOD, VIEW_METHOD } from './inline-comment-events';
|
|
25
25
|
export { LAYOUT_TYPE, SMART_LINK_TYPE } from './node-events';
|
|
@@ -13,4 +13,4 @@ export interface ButtonOptionProps {
|
|
|
13
13
|
export interface LinkToolbarButtonGroupProps {
|
|
14
14
|
options: ButtonOptionProps[];
|
|
15
15
|
}
|
|
16
|
-
export declare const LinkToolbarButtonGroup: ({ options
|
|
16
|
+
export declare const LinkToolbarButtonGroup: ({ options }: LinkToolbarButtonGroupProps) => jsx.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { CardOptions, OnClickCallback } from './cardOptions';
|
|
2
|
-
export { addLinkMetadata, getLinkMetadataFromTransaction, commandWithMetadata
|
|
2
|
+
export { addLinkMetadata, getLinkMetadataFromTransaction, commandWithMetadata } from './utils';
|
|
3
3
|
export { default as buildLayoutButtons, alignmentIcons, wrappingIcons, layoutToMessages, } from './MediaAndEmbedsToolbar';
|
|
4
4
|
export type { IconMap, LayoutIcon } from './MediaAndEmbedsToolbar';
|
|
5
5
|
export type { OptionConfig, CardPluginActions, QueueCardsFromTransactionAction, HideLinkToolbarAction, ChangeSelectedCardToLink, SetSelectedCardAppearance, CardReplacementInputMethod, } from './types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
2
|
import type { QuickInsertItem } from '../provider-factory';
|
|
3
|
-
export declare const ViewMore: ({ item, focus
|
|
3
|
+
export declare const ViewMore: ({ item, focus }: {
|
|
4
4
|
item: QuickInsertItem;
|
|
5
5
|
focus: boolean;
|
|
6
6
|
}) => jsx.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { ExtensionNodeWrapper } from './ExtensionNodeWrapper';
|
|
2
2
|
export { Extension } from './Extension';
|
|
3
|
-
export { default as ExtensionNodeView, ExtensionNode
|
|
3
|
+
export { default as ExtensionNodeView, ExtensionNode } from './extensionNodeView';
|
|
4
4
|
export { ExtensionComponent } from './ExtensionComponent';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { isFieldset, isTabGroup, isTabField, isExpand, isDateRange
|
|
1
|
+
export { isFieldset, isTabGroup, isTabField, isExpand, isDateRange } from './types';
|
|
2
2
|
export type { Extension, ExtensionAutoConvertHandler, ExtensionComponentProps, ExtensionHandler, ExtensionHandlers, ExtensionKey, ExtensionManifest, ExtensionModule, ExtensionModuleAction, ExtensionModuleActionHandler, ExtensionModuleActionObject, ExtensionModuleNode, ExtensionModuleNodes, ExtensionModules, ExtensionParams, ExtensionProvider, ExtensionQuickInsertModule, ExtensionType, ExtensionToolbarButton, ContextualToolbar, ToolbarItem, Icon, MaybeADFEntity, MenuItem, MenuItemMap, UpdateExtension, Parameters, ParametersWithDuplicateFields, BooleanField, CustomField, CustomFieldResolver, UserFieldContext, UserField, UserFieldContextProvider, ColorField, DateField, DateRangeField, DateRangeResult, EnumField, EnumCheckboxField, EnumRadioField, EnumSelectField, ExpandField, FieldDefinition, DynamicFieldDefinitions, Fieldset, GroupingField, NativeField, NestedFieldDefinition, NumberField, Option, StringField, StringOneLineField, StringMultilineField, TabGroupField, TabField, FieldHandlerLink, OnSaveCallback, ExtensionAPI, TransformBefore, TransformAfter, ReferenceEntity, MultiBodiedExtensionActions, ParametersGetter, AsyncParametersGetter, } from './types';
|
|
3
3
|
export { getExtensionKeyAndNodeKey, resolveImport } from './manifest-helpers';
|
|
4
4
|
export { default as DefaultExtensionProvider } from './default-extension-provider';
|
|
@@ -2,7 +2,7 @@ export type { ExtensionParams, ExtensionHandler, UpdateExtension, Extension, Ext
|
|
|
2
2
|
export type { ExtensionProvider } from './extension-provider';
|
|
3
3
|
export type { ExtensionAutoConvertHandler, ExtensionComponentProps, ExtensionKey, ExtensionManifest, ExtensionModule, ExtensionModuleAction, ExtensionModuleActionHandler, ExtensionModuleActionObject, ExtensionModuleAutoConvert, ExtensionModuleNode, ExtensionModuleNodes, ExtensionModuleType, ExtensionModules, ExtensionQuickInsertModule, ExtensionType, CustomFieldResolver, UserFieldContextProvider, Icon, MaybeADFEntity, Deserializer, Serializer, DynamicFieldDefinitions, } from './extension-manifest';
|
|
4
4
|
export type { ContextualToolbar, ToolbarItem, ExtensionToolbarButton, } from './extension-manifest-toolbar-item';
|
|
5
|
-
export type { Parameters, ParametersWithDuplicateFields
|
|
5
|
+
export type { Parameters, ParametersWithDuplicateFields } from './extension-parameters';
|
|
6
6
|
export type { MenuItem, MenuItemMap } from './utils';
|
|
7
|
-
export { isFieldset, isTabGroup, isTabField, isExpand, isDateRange
|
|
7
|
+
export { isFieldset, isTabGroup, isTabField, isExpand, isDateRange } from './field-definitions';
|
|
8
8
|
export type { BooleanField, CustomField, ColorField, DateField, DateRangeField, DateRangeResult, EnumField, EnumCheckboxField, EnumRadioField, EnumSelectField, ExpandField, FieldDefinition, Fieldset, GroupingField, NativeField, NestedFieldDefinition, NumberField, Option, StringField, StringOneLineField, StringMultilineField, TabGroupField, TabField, UserField, UserFieldContext, FieldHandlerLink, } from './field-definitions';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { generateDynamicGuidelines } from './dynamicGuideline';
|
|
2
|
-
export { createFixedGuidelinesFromLengths, createGuidesFromLengths
|
|
2
|
+
export { createFixedGuidelinesFromLengths, createGuidesFromLengths } from './fixedGuideline';
|
|
3
3
|
export { generateDefaultGuidelines } from './defaultGuideline';
|
|
4
4
|
export { getGuidelinesWithHighlights } from './updateGuideline';
|
|
5
|
-
export { MEDIA_DYNAMIC_GUIDELINE_PREFIX, INNER_GRID_GUIDELINE_PREFIX
|
|
5
|
+
export { MEDIA_DYNAMIC_GUIDELINE_PREFIX, INNER_GRID_GUIDELINE_PREFIX } from './constants';
|
|
6
6
|
export type { WidthTypes, Position, GuidelineStyles, GuidelineConfig, GuidelineContainerRect, GuidelinePluginState, GuidelinePluginOptions, DisplayGuideline, DisplayGrid, VerticalPosition, HorizontalPosition, RelativeGuides, GuidelineSnap, GuidelineSnapsReference, GuidelineTypes, } from './types';
|
|
7
7
|
export { getGuidelineSnaps, findClosestSnap } from './snapping';
|
|
8
8
|
export { isVerticalPosition, getMediaSingleDimensions, getContainerWidthOrFullEditorWidth, getGuidelineTypeFromKey, } from './utils';
|
|
9
|
-
export { getRelativeGuideSnaps, getRelativeGuidelines
|
|
9
|
+
export { getRelativeGuideSnaps, getRelativeGuidelines } from './relativeGuideline';
|
package/dist/types/i18n/cs.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/da.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/de.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -243,6 +243,7 @@ declare const _default: {
|
|
|
243
243
|
'fabric.editor.info': string;
|
|
244
244
|
'fabric.editor.infoPanel': string;
|
|
245
245
|
'fabric.editor.infoPanel.description': string;
|
|
246
|
+
'fabric.editor.inlineConfigureLink': string;
|
|
246
247
|
'fabric.editor.inlineDescription': string;
|
|
247
248
|
'fabric.editor.inlineOverlay': string;
|
|
248
249
|
'fabric.editor.inlineTitle': string;
|
|
@@ -243,6 +243,7 @@ declare const _default: {
|
|
|
243
243
|
'fabric.editor.info': string;
|
|
244
244
|
'fabric.editor.infoPanel': string;
|
|
245
245
|
'fabric.editor.infoPanel.description': string;
|
|
246
|
+
'fabric.editor.inlineConfigureLink': string;
|
|
246
247
|
'fabric.editor.inlineDescription': string;
|
|
247
248
|
'fabric.editor.inlineOverlay': string;
|
|
248
249
|
'fabric.editor.inlineTitle': string;
|
|
@@ -243,6 +243,7 @@ declare const _default: {
|
|
|
243
243
|
'fabric.editor.info': string;
|
|
244
244
|
'fabric.editor.infoPanel': string;
|
|
245
245
|
'fabric.editor.infoPanel.description': string;
|
|
246
|
+
'fabric.editor.inlineConfigureLink': string;
|
|
246
247
|
'fabric.editor.inlineDescription': string;
|
|
247
248
|
'fabric.editor.inlineOverlay': string;
|
|
248
249
|
'fabric.editor.inlineTitle': string;
|
package/dist/types/i18n/es.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/fi.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/fr.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/hu.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/it.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/ja.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/ko.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/nb.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/nl.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/pl.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/ru.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/sv.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/th.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/tr.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/uk.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/vi.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -319,6 +319,7 @@ declare const _default: {
|
|
|
319
319
|
'fabric.editor.pageActionsLabel': string;
|
|
320
320
|
'fabric.editor.panel.backgroundColor': string;
|
|
321
321
|
'fabric.editor.panel.emoji': string;
|
|
322
|
+
'fabric.editor.panel.panelsGroup': string;
|
|
322
323
|
'fabric.editor.pasteOptions': string;
|
|
323
324
|
'fabric.editor.pastePlainText': string;
|
|
324
325
|
'fabric.editor.placeholderAltText': string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { transformTimeStamp } from './LinkSearch/transformTimeStamp';
|
|
2
2
|
export type { LinkSearchListItemData, ChildProps, RecentSearchInputTypes, RecentSearchSubmitOptions, } from './LinkSearch/types';
|
|
3
|
-
export { container, containerWithProvider, inputWrapper
|
|
3
|
+
export { container, containerWithProvider, inputWrapper } from './LinkSearch/ToolbarComponents';
|
|
4
4
|
export { default as LinkSearchListItem } from './LinkSearch/LinkSearchListItem';
|
|
5
5
|
export { default as LinkSearchList } from './LinkSearch/LinkSearchList';
|
|
6
6
|
export { default as RecentSearch } from './LinkSearch';
|
|
@@ -13,5 +13,5 @@ export { default as HyperlinkLinkAddToolbar, HyperlinkLinkAddToolbarWithIntl, RE
|
|
|
13
13
|
export type { Props as HyperlinkLinkAddToolbarProps } from './LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar';
|
|
14
14
|
export type { HyperlinkAddToolbarProps } from './LinkPicker/HyperlinkAddToolbar';
|
|
15
15
|
export { sha1 } from './LinkPicker/HyperlinkAddToolbar/utils';
|
|
16
|
-
export { isLinkAtPos, isTextAtPos, getLinkPreferencesURLFromENV
|
|
17
|
-
export { stagingLinkPreferencesUrl, productionLinkPreferencesUrl
|
|
16
|
+
export { isLinkAtPos, isTextAtPos, getLinkPreferencesURLFromENV } from './utils';
|
|
17
|
+
export { stagingLinkPreferencesUrl, productionLinkPreferencesUrl } from './constants';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { getListItemAttributes, normalizeListItemsSelection
|
|
1
|
+
export { getListItemAttributes, normalizeListItemsSelection } from './selection';
|
|
2
2
|
export { moveTargetIntoList } from './replace-content';
|
|
3
3
|
export { JoinDirection, isListNodeValidContent, joinSiblingLists, processNestedTaskListsInSameLevel, } from './node';
|
|
4
|
-
export { getCommonListAnalyticsAttributes, countListItemsInSelection
|
|
4
|
+
export { getCommonListAnalyticsAttributes, countListItemsInSelection } from './analytics';
|
|
5
5
|
export { hasValidListIndentationLevel } from './indentation';
|
|
6
|
-
export { isListNode, isListItemNode, isBulletList, isParagraphNode
|
|
6
|
+
export { isListNode, isListItemNode, isBulletList, isParagraphNode } from '../utils';
|
|
7
7
|
export { messages } from './messages';
|
|
@@ -5,6 +5,6 @@ type Params = {
|
|
|
5
5
|
insertPosition: number;
|
|
6
6
|
$target: ResolvedPos;
|
|
7
7
|
};
|
|
8
|
-
export declare const moveTargetIntoList: ({ insertPosition, $target
|
|
8
|
+
export declare const moveTargetIntoList: ({ insertPosition, $target }: Params) => Step;
|
|
9
9
|
export declare const wrapTaskListIntoListAbove: (tr: Transaction, taskListStart: number, previousListStart: number) => void;
|
|
10
10
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { transformSmartCharsMentionsAndEmojis, applyMarkOnRange, filterChildrenBetween, toggleMark, removeMark, entireSelectionContainsMark, } from './commands';
|
|
2
|
-
export { anyMarkActive, isMarkAllowedInRange, isMarkExcluded
|
|
2
|
+
export { anyMarkActive, isMarkAllowedInRange, isMarkExcluded } from './text-formatting';
|
|
@@ -3,5 +3,5 @@ export { InlineImageWrapper } from './inline-image-wrapper';
|
|
|
3
3
|
export { DEFAULT_IMAGE_WIDTH, DEFAULT_IMAGE_HEIGHT } from './constants';
|
|
4
4
|
export type { MediaInlineAttrs } from './types';
|
|
5
5
|
export { DEFAULT_INLINE_IMAGE_ASPECT_RATIO } from './constants';
|
|
6
|
-
export { mediaInlineImageStyles, INLINE_IMAGE_WRAPPER_CLASS_NAME
|
|
6
|
+
export { mediaInlineImageStyles, INLINE_IMAGE_WRAPPER_CLASS_NAME } from './styles';
|
|
7
7
|
export { mediaInlineImagesEnabled } from './utils';
|
|
@@ -6,5 +6,5 @@ interface FrameViewProps {
|
|
|
6
6
|
/** A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests */
|
|
7
7
|
testId?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const Frame: ({ children, testId
|
|
9
|
+
export declare const Frame: ({ children, testId }: React.PropsWithChildren<FrameViewProps>) => jsx.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -79,6 +79,26 @@ export declare const messages: {
|
|
|
79
79
|
defaultMessage: string;
|
|
80
80
|
description: string;
|
|
81
81
|
};
|
|
82
|
+
editDropdownExpandIconLabel: {
|
|
83
|
+
id: string;
|
|
84
|
+
defaultMessage: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
editDropdownTriggerTitle: {
|
|
88
|
+
id: string;
|
|
89
|
+
defaultMessage: string;
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
editDropdownEditLinkTitle: {
|
|
93
|
+
id: string;
|
|
94
|
+
defaultMessage: string;
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
editDropdownEditDatasourceTitle: {
|
|
98
|
+
id: string;
|
|
99
|
+
defaultMessage: string;
|
|
100
|
+
description: string;
|
|
101
|
+
};
|
|
82
102
|
datasourceTitle: {
|
|
83
103
|
id: string;
|
|
84
104
|
defaultMessage: string;
|