@atlaskit/native-embeds-common 2.6.1 → 2.6.3
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
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @atlaskit/native-embeds-common
|
|
2
2
|
|
|
3
|
+
## 2.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 2.6.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`ee7d8e25afa75`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee7d8e25afa75) -
|
|
14
|
+
DXAI-1824: Refine AVPViz native embeds with a borderless raised frame, a loading skeleton matching
|
|
15
|
+
Viz Bifrost (announced as a "Loading chart" progress bar), and a single chart title. Enforce
|
|
16
|
+
native presentation parameters after Smart Link resolution, including fullscreen. Native URL
|
|
17
|
+
matching remains behind `platform_avp_viz_confluence_native_embed`.
|
|
18
|
+
|
|
19
|
+
Add a Static data / Dynamic data selector to the AVPViz native header. It is lazy-loaded and only
|
|
20
|
+
appears after the child negotiates `avpviz-data-fetch-v1`, so older children keep their own
|
|
21
|
+
selector. A local `useNativeEmbedChannel` hook validates state from the experience-scoped
|
|
22
|
+
child-command subscription and owns feature negotiation, connection sessions, and connection
|
|
23
|
+
timeouts. The data-fetch hook owns selection rules and pending state; the dropdown renders the
|
|
24
|
+
reported state and sends selections through it. Export the shared protocol from
|
|
25
|
+
`@atlassian/native-embeds-avpviz-experience/data-fetch-protocol`. Show the loading label, without
|
|
26
|
+
a mode icon, when no strategy is displayed. The selector's chunk is only downloaded once the child
|
|
27
|
+
agrees to the feature. Errors are the trigger's accessible description and appear on the option
|
|
28
|
+
they affect.
|
|
29
|
+
|
|
30
|
+
Core gains an opt-in `frameElevation: 'raised'` UI config and exposes the agreed-features promise
|
|
31
|
+
and experience-scoped child-command subscription on `ActionContext`. The additional context
|
|
32
|
+
capabilities and generic child-command events are enabled by
|
|
33
|
+
`platform_avp_viz_confluence_native_embed`; gate-off preserves the existing manifest dispatch and
|
|
34
|
+
action context.
|
|
35
|
+
|
|
36
|
+
Preserve the raised chart frame shadow in editor mode by allowing its host wrappers to overflow.
|
|
37
|
+
Keep content clipping inside the frame and preserve the editor selection ring.
|
|
38
|
+
|
|
3
39
|
## 2.6.1
|
|
4
40
|
|
|
5
41
|
### Patch Changes
|
|
@@ -188,6 +188,14 @@ var nativeEmbedAlignmentStyles = exports.nativeEmbedAlignmentStyles = (0, _react
|
|
|
188
188
|
float: 'right',
|
|
189
189
|
margin: "".concat(wrapGap, " auto ").concat(wrapGap, " ").concat(wrapGap, " !important")
|
|
190
190
|
},
|
|
191
|
+
// Raised frames own their shadow and content clipping. The editor overflow wrapper and
|
|
192
|
+
// left/right alignment containers must let that shadow paint outside the frame bounds.
|
|
193
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Target host wrappers only when the experience opts into a raised frame
|
|
194
|
+
'.extension-overflow-wrapper:not(.with-body):has([data-native-embed-frame-elevation="raised"]), .extension-container:has([data-native-embed-frame-elevation="raised"]), .ak-renderer-extension:has([data-native-embed-frame-elevation="raised"])': {
|
|
195
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Override editor-owned overflow styles regardless of injection order
|
|
196
|
+
overflow: 'visible !important',
|
|
197
|
+
borderRadius: "var(--ds-radius-large, 8px)"
|
|
198
|
+
},
|
|
191
199
|
// Suppress the hover box-shadow on the extension container for all native embeds.
|
|
192
200
|
// Native embeds provide their own chrome so the generic extension hover ring is not appropriate.
|
|
193
201
|
// The selection ring (from .ak-editor-selected-node) is also applied as a box-shadow,
|
|
@@ -181,6 +181,14 @@ export const nativeEmbedAlignmentStyles = css({
|
|
|
181
181
|
float: 'right',
|
|
182
182
|
margin: `${wrapGap} auto ${wrapGap} ${wrapGap} !important`
|
|
183
183
|
},
|
|
184
|
+
// Raised frames own their shadow and content clipping. The editor overflow wrapper and
|
|
185
|
+
// left/right alignment containers must let that shadow paint outside the frame bounds.
|
|
186
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Target host wrappers only when the experience opts into a raised frame
|
|
187
|
+
'.extension-overflow-wrapper:not(.with-body):has([data-native-embed-frame-elevation="raised"]), .extension-container:has([data-native-embed-frame-elevation="raised"]), .ak-renderer-extension:has([data-native-embed-frame-elevation="raised"])': {
|
|
188
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Override editor-owned overflow styles regardless of injection order
|
|
189
|
+
overflow: 'visible !important',
|
|
190
|
+
borderRadius: "var(--ds-radius-large, 8px)"
|
|
191
|
+
},
|
|
184
192
|
// Suppress the hover box-shadow on the extension container for all native embeds.
|
|
185
193
|
// Native embeds provide their own chrome so the generic extension hover ring is not appropriate.
|
|
186
194
|
// The selection ring (from .ak-editor-selected-node) is also applied as a box-shadow,
|
|
@@ -181,6 +181,14 @@ export var nativeEmbedAlignmentStyles = css({
|
|
|
181
181
|
float: 'right',
|
|
182
182
|
margin: "".concat(wrapGap, " auto ").concat(wrapGap, " ").concat(wrapGap, " !important")
|
|
183
183
|
},
|
|
184
|
+
// Raised frames own their shadow and content clipping. The editor overflow wrapper and
|
|
185
|
+
// left/right alignment containers must let that shadow paint outside the frame bounds.
|
|
186
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Target host wrappers only when the experience opts into a raised frame
|
|
187
|
+
'.extension-overflow-wrapper:not(.with-body):has([data-native-embed-frame-elevation="raised"]), .extension-container:has([data-native-embed-frame-elevation="raised"]), .ak-renderer-extension:has([data-native-embed-frame-elevation="raised"])': {
|
|
188
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Override editor-owned overflow styles regardless of injection order
|
|
189
|
+
overflow: 'visible !important',
|
|
190
|
+
borderRadius: "var(--ds-radius-large, 8px)"
|
|
191
|
+
},
|
|
184
192
|
// Suppress the hover box-shadow on the extension container for all native embeds.
|
|
185
193
|
// Native embeds provide their own chrome so the generic extension hover ring is not appropriate.
|
|
186
194
|
// The selection ring (from .ak-editor-selected-node) is also applied as a box-shadow,
|
package/package.json
CHANGED
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"atlaskit:src": "src/index.ts",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@atlaskit/button": "^25.4.0",
|
|
20
|
-
"@atlaskit/editor-common": "^
|
|
21
|
-
"@atlaskit/editor-plugin-local-id": "^
|
|
20
|
+
"@atlaskit/editor-common": "^128.0.0",
|
|
21
|
+
"@atlaskit/editor-plugin-local-id": "^22.0.0",
|
|
22
22
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
23
23
|
"@atlaskit/heading": "^8.0.0",
|
|
24
24
|
"@atlaskit/icon": "^38.0.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"react-intl": "^7.0.0"
|
|
45
45
|
},
|
|
46
46
|
"name": "@atlaskit/native-embeds-common",
|
|
47
|
-
"version": "2.6.
|
|
47
|
+
"version": "2.6.3",
|
|
48
48
|
"description": "A shared package for native embeds to be used across experiences and plugin",
|
|
49
49
|
"author": "Atlassian Pty Ltd",
|
|
50
50
|
"license": "Apache-2.0",
|