@atlaskit/embedded-confluence 1.0.1 → 1.2.1

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.
@@ -1,2 +1,3 @@
1
- import { EditPage as EditPageCommon } from '@atlassian/embedded-confluence-common';
2
- export default EditPageCommon;
1
+ import React from 'react';
2
+ import type { EditPageProps } from '@atlassian/embedded-confluence-common';
3
+ export declare const EditPage: React.FC<EditPageProps>;
@@ -1,3 +1,3 @@
1
- export { default as ViewPage } from './view-page/ViewPage';
2
- export { default as EditPage } from './edit-page/EditPage';
1
+ export { ViewPage } from './view-page/ViewPage';
2
+ export { EditPage } from './edit-page/EditPage';
3
3
  export { ExperienceTrackerContext, ExperienceTracker, } from '@atlassian/experience-tracker';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { WrappedComponentProps } from 'react-intl-next';
3
+ export declare const I18nProvider: React.FC<import("react-intl-next").WithIntlProps<{
4
+ locale?: string | undefined;
5
+ } & WrappedComponentProps<"intl">>> & {
6
+ WrappedComponent: React.ComponentType<{
7
+ locale?: string | undefined;
8
+ } & WrappedComponentProps<"intl">>;
9
+ };
@@ -1,2 +1,3 @@
1
- import { ViewPage as ViewPageCommon } from '@atlassian/embedded-confluence-common';
2
- export default ViewPageCommon;
1
+ import React from 'react';
2
+ import type { ViewPageProps } from '@atlassian/embedded-confluence-common';
3
+ export declare const ViewPage: React.FC<ViewPageProps>;
package/package.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
2
  "name": "@atlaskit/embedded-confluence",
3
- "version": "1.0.1",
3
+ "version": "1.2.1",
4
4
  "description": "Public release version of Embeddedable Pages for Confluence",
5
- "author": "Atlassian Pty Ltd",
6
- "license": "Apache-2.0",
7
5
  "publishConfig": {
8
6
  "registry": "https://registry.npmjs.org/"
9
7
  },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/embedded-confluence-bundle.js",
12
+ "types": "dist/types/index.d.ts",
13
+ "sideEffects": false,
14
+ "atlaskit:src": "src/index.ts",
10
15
  "atlassian": {
11
16
  "team": "Confluence Better Together",
12
17
  "inPublicMirror": true,
@@ -21,17 +26,9 @@
21
26
  "webpack-build": "NODE_OPTIONS=--max-old-space-size=4096 webpack --env NODE_ENV=production --env prod --progress --config config/webpack.prod.js",
22
27
  "ak-postbuild": "yarn webpack-build"
23
28
  },
24
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
25
- "main": "dist/embedded-confluence-bundle.js",
26
- "browser": "dist/embedded-confluence-bundle.js",
27
- "types": "dist/types/index.d.ts",
28
- "sideEffects": false,
29
- "atlaskit:src": "src/index.ts",
30
- "af:exports": {
31
- ".": "./src/index.ts"
32
- },
33
29
  "dependencies": {
34
- "@babel/runtime": "^7.0.0"
30
+ "@babel/runtime": "^7.0.0",
31
+ "react-intl-next": "npm:react-intl@^5.18.1"
35
32
  },
36
33
  "peerDependencies": {
37
34
  "react": "^16.8.0",
@@ -45,5 +42,9 @@
45
42
  "typescript": "4.2.4",
46
43
  "wait-for-expect": "^1.2.0"
47
44
  },
45
+ "browser": "dist/embedded-confluence-bundle.js",
46
+ "af:exports": {
47
+ ".": "./src/index.ts"
48
+ },
48
49
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
49
50
  }