@atlaskit/embedded-confluence 3.0.1 → 4.0.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 +36 -0
- package/dist/embedded-confluence-bundle.js +10 -4
- package/dist/tti-polyfill.js +1 -0
- package/dist/web-vitals.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @atlaskit/embedded-confluence
|
|
2
2
|
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#147926](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/147926)
|
|
8
|
+
[`4c5a404f45416`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4c5a404f45416) - 1.
|
|
9
|
+
This upgrade migrates css styles from using `@emotion/react` to use `@compiled/react`.
|
|
10
|
+
|
|
11
|
+
2. In addition to some dependency changes, **the embedded `ViewPage` and `Page` components will no
|
|
12
|
+
longer accept the `className` prop because of the interference it causes with SSR.**
|
|
13
|
+
|
|
14
|
+
3. As an alternative, styles should be applied to a wrapping container placed around the
|
|
15
|
+
`ViewPage` component.
|
|
16
|
+
|
|
17
|
+
**NOTE:** Some bundlers may not support `.css` files inside `node_modules/` out-of-the-box like
|
|
18
|
+
the ones that Compiled generates. Please follow the guide below depending on the bundler your app
|
|
19
|
+
uses:
|
|
20
|
+
|
|
21
|
+
1. If your app relies on **Webpack**, then you need to add `style-loader` and `css-loader` to your
|
|
22
|
+
`webpack.config.js`. (More info on [CSS Loader](https://webpack.js.org/loaders/css-loader/)).
|
|
23
|
+
|
|
24
|
+
- (OPTIONAL) Consider adding `@compiled/webpack-loader` to your Webpack configuration, so that
|
|
25
|
+
the `.css` files from Compiled CSS-in-JS are merged into a single stylesheet.
|
|
26
|
+
[See here for installation instructions](https://compiledcssinjs.com/docs/installation#webpack).
|
|
27
|
+
|
|
28
|
+
2. If your app relies on **Parcel**, no intervention is necessary. (More info on
|
|
29
|
+
[Parcel CSS](https://parceljs.org/languages/css/)).
|
|
30
|
+
|
|
31
|
+
- (OPTIONAL) Consider adding `@compiled/parcel-loader` to your Parcel configuration, so that
|
|
32
|
+
the `.css` files from Compiled CSS-in-JS are merged into a single stylesheet.
|
|
33
|
+
[See here for installation instructions](https://compiledcssinjs.com/docs/installation#parcel).
|
|
34
|
+
|
|
35
|
+
3. If your app relies on **Vite** or **Next.js**, no intervention is necessary. (More info on
|
|
36
|
+
[Vite Features](https://vite.dev/guide/features#css) and
|
|
37
|
+
[Next JS external stylesheets](https://nextjs.org/docs/pages/building-your-application/styling/css#external-stylesheets))
|
|
38
|
+
|
|
3
39
|
## 3.0.1
|
|
4
40
|
|
|
5
41
|
## 3.0.0
|