@atlaskit/renderer 149.0.4 → 149.0.6
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 +28 -1
- package/dist/cjs/actions/get-renderer-range-inline-node-names.js +3 -3
- package/dist/cjs/actions/index.js +10 -10
- package/dist/cjs/analytics/unsupported-content.js +9 -8
- package/dist/cjs/entry-points/experimental-sync-custom-nodes/cards.js +1 -1
- package/dist/cjs/entry-points/experimental-sync-custom-nodes/media.js +1 -1
- package/dist/cjs/entry-points/experimental-sync-custom-nodes/small-nodes.js +1 -1
- package/dist/cjs/entry-points/react.js +2 -2
- package/dist/cjs/entry-points/renderer.js +7 -7
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/react/index.js +9 -8
- package/dist/cjs/react/marks/backgroundColor.js +2 -2
- package/dist/cjs/react/marks/breakout.js +5 -5
- package/dist/cjs/react/marks/code.js +2 -2
- package/dist/cjs/react/marks/link-compiled.js +2 -2
- package/dist/cjs/react/marks/link-emotion.js +2 -2
- package/dist/cjs/react/marks/link.js +4 -4
- package/dist/cjs/react/marks/textColor.js +3 -3
- package/dist/cjs/react/nodes/blockCard.js +14 -11
- package/dist/cjs/react/nodes/bodiedExtension.js +4 -4
- package/dist/cjs/react/nodes/bodiedSyncBlock.js +1 -1
- package/dist/cjs/react/nodes/caption.js +2 -2
- package/dist/cjs/react/nodes/codeBlock/codeBlock.js +2 -2
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockContainer.js +3 -3
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockCopyButton.js +3 -3
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockDownloadButton.js +2 -2
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockWrapButton.js +2 -2
- package/dist/cjs/react/nodes/codeBlock/components/lightWeightCodeBlock.js +22 -21
- package/dist/cjs/react/nodes/codeBlock/windowedCodeBlock.js +2 -2
- package/dist/cjs/react/nodes/date.js +5 -5
- package/dist/cjs/react/nodes/embedCard.js +19 -16
- package/dist/cjs/react/nodes/emoji.js +6 -5
- package/dist/cjs/react/nodes/extension.js +63 -34
- package/dist/cjs/react/nodes/heading.js +8 -8
- package/dist/cjs/react/nodes/index.js +7 -5
- package/dist/cjs/react/nodes/inlineCard.js +15 -13
- package/dist/cjs/react/nodes/layoutColumn-compiled.js +2 -2
- package/dist/cjs/react/nodes/layoutColumn-emotion.js +2 -2
- package/dist/cjs/react/nodes/media/index.js +24 -21
- package/dist/cjs/react/nodes/mediaGroup.js +2 -2
- package/dist/cjs/react/nodes/mediaInline.js +8 -8
- package/dist/cjs/react/nodes/mediaSingle/index.js +13 -12
- package/dist/cjs/react/nodes/mention.js +4 -3
- package/dist/cjs/react/nodes/multiBodiedExtension/actions.js +4 -4
- package/dist/cjs/react/nodes/multiBodiedExtension/context.js +7 -7
- package/dist/cjs/react/nodes/nodes.js +4 -3
- package/dist/cjs/react/nodes/orderedList.js +6 -5
- package/dist/cjs/react/nodes/panel-compiled.js +2 -2
- package/dist/cjs/react/nodes/panel-emotion.js +2 -2
- package/dist/cjs/react/nodes/panel.js +11 -7
- package/dist/cjs/react/nodes/table/colgroup.js +24 -24
- package/dist/cjs/react/nodes/table/sticky.js +2 -2
- package/dist/cjs/react/nodes/table/table.js +6 -6
- package/dist/cjs/react/nodes/table.js +19 -16
- package/dist/cjs/react/nodes/tableCell.js +11 -11
- package/dist/cjs/react/nodes/taskItem.js +4 -3
- package/dist/cjs/react/utils/EditorMediaClientProvider.js +3 -3
- package/dist/cjs/react/utils/use-select-all-trap.js +7 -7
- package/dist/cjs/render-document.js +32 -28
- package/dist/cjs/text/nodes/date.js +3 -3
- package/dist/cjs/text/nodes/orderedList.js +2 -2
- package/dist/cjs/ui/Expand.js +17 -16
- package/dist/cjs/ui/ExtensionRenderer.js +6 -6
- package/dist/cjs/ui/MediaCard.js +9 -9
- package/dist/cjs/ui/Renderer/ErrorBoundary.js +7 -7
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +271 -262
- package/dist/cjs/ui/Renderer/analytics-utils.js +13 -11
- package/dist/cjs/ui/Renderer/breakout-ssr.js +3 -3
- package/dist/cjs/ui/Renderer/count-nodes.js +2 -2
- package/dist/cjs/ui/Renderer/get-base-font-size.js +3 -3
- package/dist/cjs/ui/Renderer/index.js +30 -23
- package/dist/cjs/ui/RendererActionsContext/index.js +2 -2
- package/dist/cjs/ui/annotations/contexts/AnnotationManagerContext.js +15 -15
- package/dist/cjs/ui/annotations/element/index.js +2 -2
- package/dist/cjs/ui/annotations/hooks/use-events.js +20 -20
- package/dist/cjs/ui/annotations/hooks/use-load-annotations.js +2 -2
- package/dist/cjs/ui/annotations/hover/mounter.js +21 -21
- package/dist/cjs/ui/annotations/selection/mounter.js +21 -21
- package/dist/cjs/ui/hooks/useScrollToBlock.js +6 -4
- package/dist/es2019/actions/get-renderer-range-inline-node-names.js +1 -1
- package/dist/es2019/actions/index.js +2 -2
- package/dist/es2019/analytics/unsupported-content.js +3 -2
- package/dist/es2019/custom-nodes.js +1 -1
- package/dist/es2019/entry-points/custom-nodes-loosely-lazy.js +1 -1
- package/dist/es2019/entry-points/experimental-sync-custom-nodes/cards.js +1 -1
- package/dist/es2019/entry-points/experimental-sync-custom-nodes/media.js +1 -1
- package/dist/es2019/entry-points/experimental-sync-custom-nodes/small-nodes.js +1 -1
- package/dist/es2019/entry-points/loosely-lazy.js +1 -1
- package/dist/es2019/entry-points/nodes.js +2 -2
- package/dist/es2019/entry-points/react.js +2 -2
- package/dist/es2019/entry-points/renderer.js +7 -7
- package/dist/es2019/entry-points/text-serializer-text.js +1 -1
- package/dist/es2019/entry-points/text.js +1 -1
- package/dist/es2019/index.js +7 -7
- package/dist/es2019/react/index.js +3 -2
- package/dist/es2019/react/marks/backgroundColor.js +1 -1
- package/dist/es2019/react/marks/breakout.js +1 -1
- package/dist/es2019/react/marks/code.js +1 -1
- package/dist/es2019/react/marks/link-compiled.js +1 -1
- package/dist/es2019/react/marks/link-emotion.js +1 -1
- package/dist/es2019/react/marks/link.js +1 -1
- package/dist/es2019/react/marks/textColor.js +1 -1
- package/dist/es2019/react/nodes/blockCard.js +6 -3
- package/dist/es2019/react/nodes/bodiedExtension.js +1 -1
- package/dist/es2019/react/nodes/bodiedSyncBlock.js +1 -1
- package/dist/es2019/react/nodes/caption.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/codeBlock.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockDownloadButton.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -2
- package/dist/es2019/react/nodes/codeBlock/windowedCodeBlock.js +1 -1
- package/dist/es2019/react/nodes/date.js +2 -2
- package/dist/es2019/react/nodes/embedCard.js +6 -3
- package/dist/es2019/react/nodes/emoji.js +3 -2
- package/dist/es2019/react/nodes/extension.js +43 -20
- package/dist/es2019/react/nodes/heading.js +1 -1
- package/dist/es2019/react/nodes/index.js +5 -3
- package/dist/es2019/react/nodes/inlineCard.js +7 -5
- package/dist/es2019/react/nodes/layoutColumn-compiled.js +1 -1
- package/dist/es2019/react/nodes/layoutColumn-emotion.js +1 -1
- package/dist/es2019/react/nodes/media/index.js +9 -6
- package/dist/es2019/react/nodes/mediaGroup.js +1 -1
- package/dist/es2019/react/nodes/mediaInline.js +3 -3
- package/dist/es2019/react/nodes/mediaSingle/index.js +4 -3
- package/dist/es2019/react/nodes/mention.js +1 -1
- package/dist/es2019/react/nodes/multiBodiedExtension/actions.js +1 -1
- package/dist/es2019/react/nodes/multiBodiedExtension/context.js +3 -3
- package/dist/es2019/react/nodes/nodes.js +2 -1
- package/dist/es2019/react/nodes/orderedList.js +3 -2
- package/dist/es2019/react/nodes/panel-compiled.js +1 -1
- package/dist/es2019/react/nodes/panel-emotion.js +1 -1
- package/dist/es2019/react/nodes/panel.js +6 -2
- package/dist/es2019/react/nodes/table/colgroup.js +3 -3
- package/dist/es2019/react/nodes/table/sticky.js +1 -1
- package/dist/es2019/react/nodes/table/table.js +2 -2
- package/dist/es2019/react/nodes/table.js +8 -5
- package/dist/es2019/react/nodes/tableCell.js +3 -3
- package/dist/es2019/react/nodes/taskItem.js +2 -1
- package/dist/es2019/react/utils/EditorMediaClientProvider.js +1 -1
- package/dist/es2019/react/utils/use-select-all-trap.js +1 -1
- package/dist/es2019/render-document.js +7 -3
- package/dist/es2019/text/nodes/date.js +1 -1
- package/dist/es2019/text/nodes/orderedList.js +1 -1
- package/dist/es2019/ui/Expand.js +4 -3
- package/dist/es2019/ui/ExtensionRenderer.js +3 -3
- package/dist/es2019/ui/MediaCard.js +3 -3
- package/dist/es2019/ui/Renderer/ErrorBoundary.js +2 -2
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +18 -9
- package/dist/es2019/ui/Renderer/analytics-utils.js +3 -1
- package/dist/es2019/ui/Renderer/breakout-ssr.js +1 -1
- package/dist/es2019/ui/Renderer/count-nodes.js +1 -1
- package/dist/es2019/ui/Renderer/get-base-font-size.js +1 -1
- package/dist/es2019/ui/Renderer/index.js +12 -5
- package/dist/es2019/ui/RendererActionsContext/index.js +1 -1
- package/dist/es2019/ui/annotations/contexts/AnnotationManagerContext.js +1 -1
- package/dist/es2019/ui/annotations/element/index.js +1 -1
- package/dist/es2019/ui/annotations/hooks/use-events.js +2 -2
- package/dist/es2019/ui/annotations/hooks/use-load-annotations.js +1 -1
- package/dist/es2019/ui/annotations/hover/mounter.js +1 -1
- package/dist/es2019/ui/annotations/selection/mounter.js +1 -1
- package/dist/es2019/ui/hooks/useScrollToBlock.js +3 -1
- package/dist/esm/actions/get-renderer-range-inline-node-names.js +1 -1
- package/dist/esm/actions/index.js +2 -2
- package/dist/esm/analytics/unsupported-content.js +3 -2
- package/dist/esm/custom-nodes.js +1 -1
- package/dist/esm/entry-points/custom-nodes-loosely-lazy.js +1 -1
- package/dist/esm/entry-points/experimental-sync-custom-nodes/cards.js +1 -1
- package/dist/esm/entry-points/experimental-sync-custom-nodes/media.js +1 -1
- package/dist/esm/entry-points/experimental-sync-custom-nodes/small-nodes.js +1 -1
- package/dist/esm/entry-points/loosely-lazy.js +1 -1
- package/dist/esm/entry-points/nodes.js +2 -2
- package/dist/esm/entry-points/react.js +2 -2
- package/dist/esm/entry-points/renderer.js +7 -7
- package/dist/esm/entry-points/text-serializer-text.js +1 -1
- package/dist/esm/entry-points/text.js +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/react/index.js +3 -2
- package/dist/esm/react/marks/backgroundColor.js +1 -1
- package/dist/esm/react/marks/breakout.js +1 -1
- package/dist/esm/react/marks/code.js +1 -1
- package/dist/esm/react/marks/link-compiled.js +1 -1
- package/dist/esm/react/marks/link-emotion.js +1 -1
- package/dist/esm/react/marks/link.js +1 -1
- package/dist/esm/react/marks/textColor.js +1 -1
- package/dist/esm/react/nodes/blockCard.js +6 -3
- package/dist/esm/react/nodes/bodiedExtension.js +1 -1
- package/dist/esm/react/nodes/bodiedSyncBlock.js +1 -1
- package/dist/esm/react/nodes/caption.js +1 -1
- package/dist/esm/react/nodes/codeBlock/codeBlock.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockDownloadButton.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -2
- package/dist/esm/react/nodes/codeBlock/windowedCodeBlock.js +1 -1
- package/dist/esm/react/nodes/date.js +2 -2
- package/dist/esm/react/nodes/embedCard.js +6 -3
- package/dist/esm/react/nodes/emoji.js +3 -2
- package/dist/esm/react/nodes/extension.js +52 -25
- package/dist/esm/react/nodes/heading.js +1 -1
- package/dist/esm/react/nodes/index.js +5 -3
- package/dist/esm/react/nodes/inlineCard.js +7 -5
- package/dist/esm/react/nodes/layoutColumn-compiled.js +1 -1
- package/dist/esm/react/nodes/layoutColumn-emotion.js +1 -1
- package/dist/esm/react/nodes/media/index.js +9 -6
- package/dist/esm/react/nodes/mediaGroup.js +1 -1
- package/dist/esm/react/nodes/mediaInline.js +3 -3
- package/dist/esm/react/nodes/mediaSingle/index.js +4 -3
- package/dist/esm/react/nodes/mention.js +1 -1
- package/dist/esm/react/nodes/multiBodiedExtension/actions.js +1 -1
- package/dist/esm/react/nodes/multiBodiedExtension/context.js +3 -3
- package/dist/esm/react/nodes/nodes.js +2 -1
- package/dist/esm/react/nodes/orderedList.js +3 -2
- package/dist/esm/react/nodes/panel-compiled.js +1 -1
- package/dist/esm/react/nodes/panel-emotion.js +1 -1
- package/dist/esm/react/nodes/panel.js +6 -2
- package/dist/esm/react/nodes/table/colgroup.js +3 -3
- package/dist/esm/react/nodes/table/sticky.js +1 -1
- package/dist/esm/react/nodes/table/table.js +2 -2
- package/dist/esm/react/nodes/table.js +8 -5
- package/dist/esm/react/nodes/tableCell.js +3 -3
- package/dist/esm/react/nodes/taskItem.js +2 -1
- package/dist/esm/react/utils/EditorMediaClientProvider.js +1 -1
- package/dist/esm/react/utils/use-select-all-trap.js +1 -1
- package/dist/esm/render-document.js +7 -3
- package/dist/esm/text/nodes/date.js +1 -1
- package/dist/esm/text/nodes/orderedList.js +1 -1
- package/dist/esm/ui/Expand.js +4 -3
- package/dist/esm/ui/ExtensionRenderer.js +3 -3
- package/dist/esm/ui/MediaCard.js +3 -3
- package/dist/esm/ui/Renderer/ErrorBoundary.js +2 -2
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +18 -9
- package/dist/esm/ui/Renderer/analytics-utils.js +3 -1
- package/dist/esm/ui/Renderer/breakout-ssr.js +1 -1
- package/dist/esm/ui/Renderer/count-nodes.js +1 -1
- package/dist/esm/ui/Renderer/get-base-font-size.js +1 -1
- package/dist/esm/ui/Renderer/index.js +12 -5
- package/dist/esm/ui/RendererActionsContext/index.js +1 -1
- package/dist/esm/ui/annotations/contexts/AnnotationManagerContext.js +1 -1
- package/dist/esm/ui/annotations/element/index.js +1 -1
- package/dist/esm/ui/annotations/hooks/use-events.js +2 -2
- package/dist/esm/ui/annotations/hooks/use-load-annotations.js +1 -1
- package/dist/esm/ui/annotations/hover/mounter.js +1 -1
- package/dist/esm/ui/annotations/selection/mounter.js +1 -1
- package/dist/esm/ui/hooks/useScrollToBlock.js +3 -1
- package/dist/types/actions/index.d.ts +2 -1
- package/dist/types/actions/selection.d.ts +1 -1
- package/dist/types/analytics/events.d.ts +9 -2
- package/dist/types/analytics/unsupported-content.d.ts +1 -1
- package/dist/types/custom-nodes.d.ts +1 -1
- package/dist/types/entry-points/custom-nodes-loosely-lazy.d.ts +1 -1
- package/dist/types/entry-points/experimental-sync-custom-nodes/cards.d.ts +1 -1
- package/dist/types/entry-points/experimental-sync-custom-nodes/media.d.ts +1 -1
- package/dist/types/entry-points/experimental-sync-custom-nodes/small-nodes.d.ts +1 -1
- package/dist/types/entry-points/loosely-lazy.d.ts +1 -1
- package/dist/types/entry-points/nodes.d.ts +2 -2
- package/dist/types/entry-points/react.d.ts +2 -2
- package/dist/types/entry-points/renderer.d.ts +7 -7
- package/dist/types/entry-points/serializer.d.ts +1 -1
- package/dist/types/entry-points/text-serializer-text.d.ts +1 -1
- package/dist/types/entry-points/text.d.ts +1 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types/react/index.d.ts +5 -4
- package/dist/types/react/marks/link-compiled.d.ts +1 -1
- package/dist/types/react/marks/link-emotion.d.ts +1 -1
- package/dist/types/react/nodes/blockCard.d.ts +1 -1
- package/dist/types/react/nodes/bodiedExtension.d.ts +3 -2
- package/dist/types/react/nodes/embedCard.d.ts +1 -1
- package/dist/types/react/nodes/emoji.d.ts +1 -1
- package/dist/types/react/nodes/extension.d.ts +4 -3
- package/dist/types/react/nodes/extensionFrame.d.ts +2 -2
- package/dist/types/react/nodes/index.d.ts +5 -5
- package/dist/types/react/nodes/inlineCard.d.ts +2 -2
- package/dist/types/react/nodes/inlineExtension.d.ts +2 -2
- package/dist/types/react/nodes/media/index.d.ts +3 -3
- package/dist/types/react/nodes/mediaGroup.d.ts +3 -3
- package/dist/types/react/nodes/mediaInline.d.ts +4 -4
- package/dist/types/react/nodes/mediaSingle/index.d.ts +4 -3
- package/dist/types/react/nodes/mention.d.ts +3 -3
- package/dist/types/react/nodes/multiBodiedExtension/actions.d.ts +1 -1
- package/dist/types/react/nodes/multiBodiedExtension/context.d.ts +1 -1
- package/dist/types/react/nodes/multiBodiedExtension.d.ts +2 -2
- package/dist/types/react/nodes/panel.d.ts +1 -1
- package/dist/types/react/nodes/table/sticky.d.ts +1 -1
- package/dist/types/react/nodes/table.d.ts +2 -2
- package/dist/types/react/nodes/task-item-with-providers.d.ts +1 -1
- package/dist/types/react/nodes/taskItem.d.ts +1 -1
- package/dist/types/react/types.d.ts +3 -3
- package/dist/types/react/utils/getCardClickHandler.d.ts +2 -2
- package/dist/types/react/utils/markBlockAsInline.d.ts +2 -1
- package/dist/types/render-document.d.ts +2 -2
- package/dist/types/renderer-context.d.ts +1 -1
- package/dist/types/types/mediaOptions.d.ts +3 -2
- package/dist/types/types/smartLinksOptions.d.ts +1 -1
- package/dist/types/ui/ExtensionRenderer.d.ts +3 -2
- package/dist/types/ui/MediaCard.d.ts +8 -5
- package/dist/types/ui/SmartCardStorage.d.ts +1 -1
- package/dist/types/ui/annotations/context.d.ts +1 -1
- package/dist/types/ui/annotations/contexts/AnnotationManagerContext.d.ts +1 -1
- package/dist/types/ui/annotations/element/mark.d.ts +1 -1
- package/dist/types/ui/annotations/hooks/use-events.d.ts +2 -1
- package/dist/types/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +1 -1
- package/dist/types/ui/annotations/hover/mounter.d.ts +1 -1
- package/dist/types/ui/annotations/hover/range-validator.d.ts +1 -1
- package/dist/types/ui/annotations/selection/mounter.d.ts +1 -1
- package/dist/types/ui/annotations/selection/range-validator.d.ts +1 -1
- package/dist/types/ui/annotations/types.d.ts +1 -1
- package/dist/types/ui/renderer-props.d.ts +8 -7
- package/dist/types/utils.d.ts +3 -3
- package/package.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "149.0.
|
|
3
|
+
"version": "149.0.6",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@atlaskit/status": "^5.13.0",
|
|
74
74
|
"@atlaskit/task-decision": "^21.12.0",
|
|
75
75
|
"@atlaskit/theme": "^28.2.0",
|
|
76
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
76
|
+
"@atlaskit/tmp-editor-statsig": "^232.0.0",
|
|
77
77
|
"@atlaskit/tokens": "^20.4.0",
|
|
78
78
|
"@atlaskit/tooltip": "^24.4.0",
|
|
79
79
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"uuid": "^11.1.1"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
|
-
"@atlaskit/editor-common": "^130.
|
|
91
|
+
"@atlaskit/editor-common": "^130.4.0",
|
|
92
92
|
"@atlaskit/link-provider": "^6.0.0",
|
|
93
93
|
"@atlaskit/media-core": "^39.0.0",
|
|
94
94
|
"react": "^18.2.0 || ^19.2.0",
|