@atlaskit/adf-schema 28.1.2 → 28.1.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 +6 -0
- package/babel.config.js +156 -0
- package/build/tsconfig.json +2 -1
- package/dist/json-schema/package.json +2 -9
- package/json-schema/package.json +2 -9
- package/package.json +41 -29
- package/report.api.md +18 -10
- package/schema/package.json +1 -8
- package/schema-bitbucket/package.json +2 -9
- package/schema-confluence/package.json +2 -9
- package/schema-default/package.json +2 -9
- package/schema-jira/package.json +2 -9
- package/steps/package.json +2 -9
- package/tsconfig.json +2 -5
- package/url/package.json +2 -9
- package/dist/types-ts4.5/index.d.ts +0 -6
- package/dist/types-ts4.5/json-schema/index.d.ts +0 -2
- package/dist/types-ts4.5/schema/bitbucket-schema.d.ts +0 -5
- package/dist/types-ts4.5/schema/confluence-schema.d.ts +0 -9
- package/dist/types-ts4.5/schema/create-schema.d.ts +0 -32
- package/dist/types-ts4.5/schema/default-schema.d.ts +0 -7
- package/dist/types-ts4.5/schema/groups.d.ts +0 -6
- package/dist/types-ts4.5/schema/index.d.ts +0 -9
- package/dist/types-ts4.5/schema/inline-nodes.d.ts +0 -1
- package/dist/types-ts4.5/schema/jira-schema.d.ts +0 -65
- package/dist/types-ts4.5/schema/marks/alignment.d.ts +0 -16
- package/dist/types-ts4.5/schema/marks/annotation.d.ts +0 -32
- package/dist/types-ts4.5/schema/marks/border.d.ts +0 -23
- package/dist/types-ts4.5/schema/marks/breakout.d.ts +0 -12
- package/dist/types-ts4.5/schema/marks/code.d.ts +0 -8
- package/dist/types-ts4.5/schema/marks/confluence-inline-comment.d.ts +0 -12
- package/dist/types-ts4.5/schema/marks/data-consumer.d.ts +0 -46
- package/dist/types-ts4.5/schema/marks/em.d.ts +0 -8
- package/dist/types-ts4.5/schema/marks/fragment.d.ts +0 -29
- package/dist/types-ts4.5/schema/marks/indentation.d.ts +0 -16
- package/dist/types-ts4.5/schema/marks/index.d.ts +0 -34
- package/dist/types-ts4.5/schema/marks/link.d.ts +0 -35
- package/dist/types-ts4.5/schema/marks/strike.d.ts +0 -8
- package/dist/types-ts4.5/schema/marks/strong.d.ts +0 -8
- package/dist/types-ts4.5/schema/marks/subsup.d.ts +0 -15
- package/dist/types-ts4.5/schema/marks/text-color.d.ts +0 -22
- package/dist/types-ts4.5/schema/marks/type-ahead-query.d.ts +0 -2
- package/dist/types-ts4.5/schema/marks/underline.d.ts +0 -8
- package/dist/types-ts4.5/schema/marks/unsupported-mark.d.ts +0 -2
- package/dist/types-ts4.5/schema/marks/unsupported-node-attributes.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/block-card.d.ts +0 -44
- package/dist/types-ts4.5/schema/nodes/blockquote.d.ts +0 -14
- package/dist/types-ts4.5/schema/nodes/bodied-extension.d.ts +0 -24
- package/dist/types-ts4.5/schema/nodes/bullet-list.d.ts +0 -3
- package/dist/types-ts4.5/schema/nodes/caption.d.ts +0 -21
- package/dist/types-ts4.5/schema/nodes/code-block.d.ts +0 -31
- package/dist/types-ts4.5/schema/nodes/confluence-jira-issue.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/confluence-unsupported-block.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/confluence-unsupported-inline.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/date.d.ts +0 -14
- package/dist/types-ts4.5/schema/nodes/decision-item.d.ts +0 -17
- package/dist/types-ts4.5/schema/nodes/decision-list.d.ts +0 -18
- package/dist/types-ts4.5/schema/nodes/doc.d.ts +0 -18
- package/dist/types-ts4.5/schema/nodes/embed-card.d.ts +0 -18
- package/dist/types-ts4.5/schema/nodes/emoji.d.ts +0 -14
- package/dist/types-ts4.5/schema/nodes/expand.d.ts +0 -31
- package/dist/types-ts4.5/schema/nodes/extension.d.ts +0 -18
- package/dist/types-ts4.5/schema/nodes/hard-break.d.ts +0 -11
- package/dist/types-ts4.5/schema/nodes/heading.d.ts +0 -36
- package/dist/types-ts4.5/schema/nodes/image.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/index.d.ts +0 -93
- package/dist/types-ts4.5/schema/nodes/inline-card.d.ts +0 -10
- package/dist/types-ts4.5/schema/nodes/inline-extension.d.ts +0 -18
- package/dist/types-ts4.5/schema/nodes/layout-column.d.ts +0 -21
- package/dist/types-ts4.5/schema/nodes/layout-section.d.ts +0 -44
- package/dist/types-ts4.5/schema/nodes/list-item.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/media-group.d.ts +0 -14
- package/dist/types-ts4.5/schema/nodes/media-inline.d.ts +0 -16
- package/dist/types-ts4.5/schema/nodes/media-single.d.ts +0 -67
- package/dist/types-ts4.5/schema/nodes/media.d.ts +0 -62
- package/dist/types-ts4.5/schema/nodes/mention.d.ts +0 -24
- package/dist/types-ts4.5/schema/nodes/nested-expand.d.ts +0 -27
- package/dist/types-ts4.5/schema/nodes/ordered-list.d.ts +0 -4
- package/dist/types-ts4.5/schema/nodes/panel.d.ts +0 -38
- package/dist/types-ts4.5/schema/nodes/paragraph.d.ts +0 -37
- package/dist/types-ts4.5/schema/nodes/placeholder.d.ts +0 -11
- package/dist/types-ts4.5/schema/nodes/rule.d.ts +0 -8
- package/dist/types-ts4.5/schema/nodes/status.d.ts +0 -20
- package/dist/types-ts4.5/schema/nodes/tableNodes.d.ts +0 -117
- package/dist/types-ts4.5/schema/nodes/task-item.d.ts +0 -17
- package/dist/types-ts4.5/schema/nodes/task-list.d.ts +0 -21
- package/dist/types-ts4.5/schema/nodes/text.d.ts +0 -15
- package/dist/types-ts4.5/schema/nodes/types/block-content.d.ts +0 -22
- package/dist/types-ts4.5/schema/nodes/types/extensions.d.ts +0 -34
- package/dist/types-ts4.5/schema/nodes/types/inline-content.d.ts +0 -32
- package/dist/types-ts4.5/schema/nodes/types/list.d.ts +0 -43
- package/dist/types-ts4.5/schema/nodes/types/mark.d.ts +0 -15
- package/dist/types-ts4.5/schema/nodes/types/non-nestable-block-content.d.ts +0 -20
- package/dist/types-ts4.5/schema/nodes/types/rich-media-common.d.ts +0 -38
- package/dist/types-ts4.5/schema/nodes/unknown-block.d.ts +0 -3
- package/dist/types-ts4.5/schema/nodes/unsupported-block.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/unsupported-inline.d.ts +0 -2
- package/dist/types-ts4.5/schema/unsupported.d.ts +0 -1
- package/dist/types-ts4.5/steps/analytics.d.ts +0 -59
- package/dist/types-ts4.5/steps/link-meta-step.d.ts +0 -51
- package/dist/types-ts4.5/steps/override-document-step.d.ts +0 -27
- package/dist/types-ts4.5/steps/set-attrs.d.ts +0 -23
- package/dist/types-ts4.5/steps/table/add-column.d.ts +0 -88
- package/dist/types-ts4.5/steps/table/constants.d.ts +0 -4
- package/dist/types-ts4.5/steps/table/sort-column.d.ts +0 -18
- package/dist/types-ts4.5/steps/table/types.d.ts +0 -39
- package/dist/types-ts4.5/steps/table/utils/cell-step.d.ts +0 -51
- package/dist/types-ts4.5/steps/table/utils/cells-at-column.d.ts +0 -20
- package/dist/types-ts4.5/steps/table/utils/find-column.d.ts +0 -8
- package/dist/types-ts4.5/steps/table/utils/get-table-rect-from-doc.d.ts +0 -8
- package/dist/types-ts4.5/steps/table/utils/side-effects/rows.d.ts +0 -25
- package/dist/types-ts4.5/steps/table/utils/side-effects/side-effects.d.ts +0 -15
- package/dist/types-ts4.5/steps/table/utils/side-effects/table.d.ts +0 -16
- package/dist/types-ts4.5/steps/table/utils/side-effects/types.d.ts +0 -33
- package/dist/types-ts4.5/steps/table/utils/table-map.d.ts +0 -6
- package/dist/types-ts4.5/steps/type-ahead.d.ts +0 -35
- package/dist/types-ts4.5/steps.d.ts +0 -12
- package/dist/types-ts4.5/utils/colors.d.ts +0 -74
- package/dist/types-ts4.5/utils/confluence/emoji.d.ts +0 -50
- package/dist/types-ts4.5/utils/extensions.d.ts +0 -3
- package/dist/types-ts4.5/utils/index.d.ts +0 -6
- package/dist/types-ts4.5/utils/parseDOM.d.ts +0 -1
- package/dist/types-ts4.5/utils/url.d.ts +0 -40
- package/dist/types-ts4.5/utils/uuid.d.ts +0 -5
- package/tmp/api-report-tmp.d.ts +0 -1705
package/CHANGELOG.md
CHANGED
package/babel.config.js
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
const fs = require('fs');
|
2
|
+
const path = require('path');
|
3
|
+
|
4
|
+
const filePathsToIgnore = [
|
5
|
+
'node_modules',
|
6
|
+
'**/__mocks__',
|
7
|
+
'**/__tests__',
|
8
|
+
'**/__fixtures__',
|
9
|
+
/.*\.?test\.(js|ts)x?$/,
|
10
|
+
/.*\/examples\.(ts|js)x?$/,
|
11
|
+
/packages\/proforma\/.*\/mocks\.(ts|js)x?$/,
|
12
|
+
];
|
13
|
+
|
14
|
+
const es5Browsers = [
|
15
|
+
'last 1 chrome versions',
|
16
|
+
// support last non-chrome-based version of edge
|
17
|
+
'edge >= 18',
|
18
|
+
'last 1 firefox versions',
|
19
|
+
'last 1 safari versions',
|
20
|
+
'last 1 and_chr versions',
|
21
|
+
'last 1 ios_saf versions',
|
22
|
+
// Temporarily putting this back to fix the Confluence es5-check and satisfy Jira's "limited" IE11 support
|
23
|
+
'ie 11',
|
24
|
+
];
|
25
|
+
|
26
|
+
/** IMPORTANT
|
27
|
+
* The typescript preset must be executed _before_ babel/env so that TS Class parameter property assignments are compiled correctly.
|
28
|
+
* We do this by placing the typescript preset after babel/env for each environment (presets are executed in reverse order). We cannot use the top-level presets field as they are executed _after_
|
29
|
+
* each env.
|
30
|
+
* https://github.com/babel/babel/issues/9105
|
31
|
+
*/
|
32
|
+
|
33
|
+
/* Typescript must also be executed before plugin-proposal-class-properties to fix another issue surrounding class property initialisation and inheritance.
|
34
|
+
* https://github.com/babel/babel/issues/12066
|
35
|
+
* We achieve this by creating our own preset which includes the plugin. This allows us to execute the plugins in the correct order as there is no other way to execute plugins _after_ presets.
|
36
|
+
*/
|
37
|
+
const classPropertiesPreset = {
|
38
|
+
plugins: ['@babel/plugin-proposal-class-properties'],
|
39
|
+
};
|
40
|
+
|
41
|
+
const { name: packageName, version } = JSON.parse(
|
42
|
+
fs.readFileSync(`${process.cwd()}/package.json`, 'utf-8'),
|
43
|
+
);
|
44
|
+
let packageVersion = version;
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Babel can't access Atlaskit packages to compile the CSS for @compiled/react
|
48
|
+
* Hence we need to supply a custom workaround as suggested in
|
49
|
+
* https://product-fabric.atlassian.net/browse/APP-515
|
50
|
+
*/
|
51
|
+
const compiledBabelPlugin = [
|
52
|
+
'@compiled/babel-plugin',
|
53
|
+
{
|
54
|
+
babelPlugins: ['typescript'],
|
55
|
+
resolver: {
|
56
|
+
resolveSync: (context, request) => {
|
57
|
+
return resolver(request, {
|
58
|
+
basedir: path.dirname(context),
|
59
|
+
});
|
60
|
+
},
|
61
|
+
},
|
62
|
+
},
|
63
|
+
];
|
64
|
+
|
65
|
+
module.exports = {
|
66
|
+
presets: [
|
67
|
+
'@babel/react'
|
68
|
+
],
|
69
|
+
plugins: [
|
70
|
+
"@babel/syntax-dynamic-import",
|
71
|
+
"@babel/transform-runtime",
|
72
|
+
compiledBabelPlugin,
|
73
|
+
[
|
74
|
+
'transform-define',
|
75
|
+
{
|
76
|
+
'process.env._PACKAGE_NAME_': packageName,
|
77
|
+
'process.env._PACKAGE_VERSION_': packageVersion,
|
78
|
+
},
|
79
|
+
],
|
80
|
+
],
|
81
|
+
ignore: [
|
82
|
+
"node_modules",
|
83
|
+
"**/__tests__",
|
84
|
+
'**/*.d.ts'
|
85
|
+
],
|
86
|
+
env: {
|
87
|
+
'production:es2019': {
|
88
|
+
plugins: [
|
89
|
+
/* Transpile away these features that wouldn't otherwise with the specified browser targets below.
|
90
|
+
* These features break webpack 4 and the workaround of resolving its transitive acorn dep causes issues
|
91
|
+
* with async imports not being transpiled
|
92
|
+
*/
|
93
|
+
'@babel/plugin-proposal-optional-chaining',
|
94
|
+
'@babel/plugin-proposal-nullish-coalescing-operator',
|
95
|
+
'react-magnetic-di/babel-plugin',
|
96
|
+
compiledBabelPlugin,
|
97
|
+
],
|
98
|
+
presets: [
|
99
|
+
[
|
100
|
+
'@babel/env',
|
101
|
+
{
|
102
|
+
bugfixes: true,
|
103
|
+
modules: false,
|
104
|
+
targets: [
|
105
|
+
'last 1 chrome versions',
|
106
|
+
'last 1 edge versions',
|
107
|
+
'last 1 firefox versions',
|
108
|
+
'last 1 safari versions',
|
109
|
+
'last 1 and_chr versions',
|
110
|
+
'last 1 ios_saf versions',
|
111
|
+
],
|
112
|
+
},
|
113
|
+
],
|
114
|
+
classPropertiesPreset,
|
115
|
+
'@babel/preset-typescript',
|
116
|
+
],
|
117
|
+
ignore: filePathsToIgnore,
|
118
|
+
},
|
119
|
+
'production:esm': {
|
120
|
+
plugins: [
|
121
|
+
'@babel/plugin-proposal-object-rest-spread',
|
122
|
+
'@babel/plugin-proposal-optional-chaining',
|
123
|
+
'react-magnetic-di/babel-plugin',
|
124
|
+
compiledBabelPlugin,
|
125
|
+
],
|
126
|
+
presets: [
|
127
|
+
[
|
128
|
+
'@babel/env',
|
129
|
+
{
|
130
|
+
modules: false,
|
131
|
+
targets: es5Browsers,
|
132
|
+
},
|
133
|
+
],
|
134
|
+
classPropertiesPreset,
|
135
|
+
'@babel/preset-typescript',
|
136
|
+
],
|
137
|
+
ignore: filePathsToIgnore,
|
138
|
+
},
|
139
|
+
'production:node-cjs': {
|
140
|
+
plugins: [
|
141
|
+
'@babel/plugin-proposal-optional-chaining'
|
142
|
+
],
|
143
|
+
presets: [
|
144
|
+
[
|
145
|
+
'@babel/env',
|
146
|
+
{
|
147
|
+
modules: 'commonjs',
|
148
|
+
targets: es5Browsers,
|
149
|
+
},
|
150
|
+
],
|
151
|
+
'@babel/preset-typescript',
|
152
|
+
],
|
153
|
+
ignore: filePathsToIgnore,
|
154
|
+
},
|
155
|
+
}
|
156
|
+
}
|
package/build/tsconfig.json
CHANGED
@@ -1,15 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"name": "@atlaskit/adf-schema/json-schema",
|
2
|
+
"name": "@atlaskit/@atlaskit/adf-schema/json-schema",
|
3
3
|
"main": "../dist/cjs/json-schema/index.js",
|
4
4
|
"module": "../dist/esm/json-schema/index.js",
|
5
5
|
"module:es2019": "../dist/es2019/json-schema/index.js",
|
6
6
|
"sideEffects": false,
|
7
|
-
"types": "../dist/types/json-schema/index.d.ts"
|
8
|
-
"typesVersions": {
|
9
|
-
">=4.5 <4.9": {
|
10
|
-
"*": [
|
11
|
-
"../dist/types-ts4.5/json-schema/index.d.ts"
|
12
|
-
]
|
13
|
-
}
|
14
|
-
}
|
7
|
+
"types": "../dist/types/json-schema/index.d.ts"
|
15
8
|
}
|
package/json-schema/package.json
CHANGED
@@ -1,15 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"name": "@atlaskit/adf-schema/json-schema",
|
2
|
+
"name": "@atlaskit/@atlaskit/adf-schema/json-schema",
|
3
3
|
"main": "../dist/cjs/json-schema/index.js",
|
4
4
|
"module": "../dist/esm/json-schema/index.js",
|
5
5
|
"module:es2019": "../dist/es2019/json-schema/index.js",
|
6
6
|
"sideEffects": false,
|
7
|
-
"types": "../dist/types/json-schema/index.d.ts"
|
8
|
-
"typesVersions": {
|
9
|
-
">=4.5 <4.9": {
|
10
|
-
"*": [
|
11
|
-
"../dist/types-ts4.5/json-schema/index.d.ts"
|
12
|
-
]
|
13
|
-
}
|
14
|
-
}
|
7
|
+
"types": "../dist/types/json-schema/index.d.ts"
|
15
8
|
}
|
package/package.json
CHANGED
@@ -1,25 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "28.1.
|
3
|
+
"version": "28.1.3",
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
5
5
|
"publishConfig": {
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
7
7
|
},
|
8
|
-
"repository": "https://bitbucket.org/atlassian/
|
8
|
+
"repository": "https://bitbucket.org/atlassian/adf-schema",
|
9
9
|
"author": "Atlassian Pty Ltd",
|
10
10
|
"license": "Apache-2.0",
|
11
11
|
"main": "dist/cjs/index.js",
|
12
12
|
"module": "dist/esm/index.js",
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
14
14
|
"types": "dist/types/index.d.ts",
|
15
|
-
"typesVersions": {
|
16
|
-
">=4.5 <4.9": {
|
17
|
-
"*": [
|
18
|
-
"dist/types-ts4.5/*",
|
19
|
-
"dist/types-ts4.5/index.d.ts"
|
20
|
-
]
|
21
|
-
}
|
22
|
-
},
|
23
15
|
"sideEffects": false,
|
24
16
|
"atlaskit:src": "src/index.ts",
|
25
17
|
"atlassian": {
|
@@ -44,36 +36,56 @@
|
|
44
36
|
"generate:json-schema": "mkdir -p json-schema/v1/ && yarn generate:json-schema:full && yarn generate:json-schema:stage-0",
|
45
37
|
"generate:json-schema:stage-0": "json-schema-generator --outDir=./json-schema/v1/ --stage=0 ./src/schema/nodes/doc.ts",
|
46
38
|
"generate:json-schema:full": "json-schema-generator --outDir=./json-schema/v1/ ./src/schema/nodes/doc.ts",
|
47
|
-
"ak-postbuild": "yarn build:json-schema"
|
39
|
+
"ak-postbuild": "yarn build:json-schema",
|
40
|
+
"test:unit": "yarn jest",
|
41
|
+
"build:cjs": "NODE_ENV=production BABEL_ENV=production:node-cjs babel --config-file ./babel.config.js src --out-dir dist/cjs -x .ts,.tsx",
|
42
|
+
"build:esm": "NODE_ENV=production BABEL_ENV=production:esm babel --config-file ./babel.config.js src -d dist/esm -x .ts,.tsx",
|
43
|
+
"build:es2019": "NODE_ENV=production BABEL_ENV=production:es2019 babel --config-file ./babel.config.js src -d dist/es2019 -x .ts,.tsx",
|
44
|
+
"build:types": "NODE_ENV=production tsc --project ./build/tsconfig.json --emitDeclarationOnly --outDir ./dist/types --rootDir ./src && yarn build:jsontypes",
|
45
|
+
"build:jsontypes": "mkdir -p dist/types/json-schema && cp src/json-schema/index.ts dist/types/json-schema/index.d.ts",
|
46
|
+
"build:all": "yarn build:cjs && yarn build:esm && yarn build:es2019 && yarn build:types",
|
47
|
+
"build": "yarn run build:all && yarn run generate:json-schema && yarn run build:json-schema",
|
48
|
+
"clean": "../../scripts/build-clean.sh"
|
48
49
|
},
|
49
50
|
"dependencies": {
|
50
51
|
"@atlaskit/codemod-utils": "^4.2.0",
|
51
52
|
"@atlaskit/editor-palette": "1.5.1",
|
52
|
-
"@atlaskit/editor-prosemirror": "1.1.0",
|
53
|
+
"@atlaskit/editor-prosemirror": "^1.1.0",
|
53
54
|
"@atlaskit/editor-tables": "^2.3.0",
|
55
|
+
"@atlaskit/json-schema-generator": "3.3.5",
|
54
56
|
"@babel/runtime": "^7.0.0",
|
55
57
|
"css-color-names": "0.0.4",
|
56
58
|
"linkify-it": "^2.0.3",
|
57
59
|
"memoize-one": "^6.0.0"
|
58
60
|
},
|
59
61
|
"devDependencies": {
|
60
|
-
"@
|
61
|
-
"@
|
62
|
+
"@babel/cli": "^7.22.9",
|
63
|
+
"@babel/core": "^7.22.9",
|
64
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
65
|
+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
66
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.20.0",
|
67
|
+
"@babel/plugin-proposal-optional-chaining": "^7.20.0",
|
68
|
+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
69
|
+
"@babel/plugin-transform-runtime": "^7.20.0",
|
70
|
+
"@babel/preset-env": "^7.22.9",
|
71
|
+
"@babel/preset-react": "^7.18.6",
|
72
|
+
"@babel/preset-typescript": "^7.22.5",
|
73
|
+
"@changesets/cli": "^2.26.2",
|
74
|
+
"@compiled/babel-plugin": "0.15.0",
|
75
|
+
"@types/jest": "^29.5.3",
|
62
76
|
"@types/linkify-it": "^2.0.4",
|
77
|
+
"@types/node": "^20.4.8",
|
78
|
+
"babel-plugin-transform-define": "^2.0.0",
|
79
|
+
"cross-env": "^7.0.3",
|
80
|
+
"jest": "^29.6.2",
|
81
|
+
"jest-environment-jsdom": "^29.6.2",
|
82
|
+
"prop-types": "^15.5.4",
|
83
|
+
"react": "^16.8.0",
|
84
|
+
"react-dom": "^16.8.0",
|
85
|
+
"react-magnetic-di": "^2.2.6",
|
86
|
+
"rxjs": "^5.5.0",
|
87
|
+
"styled-components": "^3.2.6",
|
88
|
+
"ts-jest": "^29.1.1",
|
63
89
|
"typescript": "~4.9.5"
|
64
|
-
}
|
65
|
-
"techstack": {
|
66
|
-
"@atlassian/frontend": {
|
67
|
-
"circular-dependencies": [
|
68
|
-
"file-level"
|
69
|
-
]
|
70
|
-
},
|
71
|
-
"@repo/internal": {
|
72
|
-
"deprecation": "no-deprecated-imports",
|
73
|
-
"styling": [
|
74
|
-
"emotion"
|
75
|
-
]
|
76
|
-
}
|
77
|
-
},
|
78
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
90
|
+
}
|
79
91
|
}
|
package/report.api.md
CHANGED
@@ -15,14 +15,13 @@
|
|
15
15
|
<!--SECTION START: Main Entry Types-->
|
16
16
|
|
17
17
|
```ts
|
18
|
-
import { Attrs } from 'prosemirror-model';
|
19
18
|
import { CellAttributes } from '@atlaskit/editor-tables/types';
|
20
19
|
import LinkifyIt from 'linkify-it';
|
21
|
-
import { Mark } from '
|
22
|
-
import { MarkSpec } from '
|
23
|
-
import { Node as Node_2 } from '
|
24
|
-
import { NodeSpec } from '
|
25
|
-
import { Schema } from '
|
20
|
+
import { Mark } from 'prosemirror-model';
|
21
|
+
import { MarkSpec } from 'prosemirror-model';
|
22
|
+
import { Node as Node_2 } from 'prosemirror-model';
|
23
|
+
import { NodeSpec } from 'prosemirror-model';
|
24
|
+
import { Schema } from 'prosemirror-model';
|
26
25
|
|
27
26
|
// @public (undocumented)
|
28
27
|
export function acNameToEmoji(acName: NameToEmoji): {
|
@@ -421,7 +420,9 @@ type DataConsumerSource = string;
|
|
421
420
|
// @public
|
422
421
|
export const dataConsumerToJSON: (mark: Mark) => {
|
423
422
|
type: string;
|
424
|
-
attrs:
|
423
|
+
attrs: {
|
424
|
+
[key: string]: any;
|
425
|
+
};
|
425
426
|
};
|
426
427
|
|
427
428
|
// @public (undocumented)
|
@@ -591,7 +592,9 @@ export type ExpandDefinition = ExpandBaseDefinition & NoMark;
|
|
591
592
|
|
592
593
|
// @public (undocumented)
|
593
594
|
export const expandToJSON: (node: Node_2) => {
|
594
|
-
attrs:
|
595
|
+
attrs: {
|
596
|
+
[key: string]: any;
|
597
|
+
};
|
595
598
|
};
|
596
599
|
|
597
600
|
// @public
|
@@ -999,6 +1002,7 @@ export interface ListItemArray
|
|
999
1002
|
|
1000
1003
|
// @public
|
1001
1004
|
export interface ListItemDefinition {
|
1005
|
+
// (undocumented)
|
1002
1006
|
content: ListItemArray;
|
1003
1007
|
// (undocumented)
|
1004
1008
|
type: 'listItem';
|
@@ -1211,7 +1215,9 @@ export interface MentionDefinition {
|
|
1211
1215
|
|
1212
1216
|
// @public (undocumented)
|
1213
1217
|
export const mentionToJSON: (node: Node_2) => {
|
1214
|
-
attrs:
|
1218
|
+
attrs: {
|
1219
|
+
[key: string]: any;
|
1220
|
+
};
|
1215
1221
|
};
|
1216
1222
|
|
1217
1223
|
// @public (undocumented)
|
@@ -1721,7 +1727,9 @@ export interface TableRowDefinition {
|
|
1721
1727
|
|
1722
1728
|
// @public (undocumented)
|
1723
1729
|
export const tableToJSON: (node: Node_2) => {
|
1724
|
-
attrs:
|
1730
|
+
attrs: {
|
1731
|
+
[key: string]: any;
|
1732
|
+
};
|
1725
1733
|
};
|
1726
1734
|
|
1727
1735
|
// @public (undocumented)
|
package/schema/package.json
CHANGED
@@ -4,12 +4,5 @@
|
|
4
4
|
"module": "../dist/esm/schema/index.js",
|
5
5
|
"module:es2019": "../dist/es2019/schema/index.js",
|
6
6
|
"sideEffects": false,
|
7
|
-
"types": "../dist/types/schema/index.d.ts"
|
8
|
-
"typesVersions": {
|
9
|
-
">=4.5 <4.9": {
|
10
|
-
"*": [
|
11
|
-
"../dist/types-ts4.5/schema/index.d.ts"
|
12
|
-
]
|
13
|
-
}
|
14
|
-
}
|
7
|
+
"types": "../dist/types/schema/index.d.ts"
|
15
8
|
}
|
@@ -1,15 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"name": "@atlaskit/adf-schema/schema-bitbucket",
|
2
|
+
"name": "@atlaskit/@atlaskit/adf-schema/schema-bitbucket",
|
3
3
|
"main": "../dist/cjs/schema/bitbucket-schema.js",
|
4
4
|
"module": "../dist/esm/schema/bitbucket-schema.js",
|
5
5
|
"module:es2019": "../dist/es2019/schema/bitbucket-schema.js",
|
6
6
|
"sideEffects": false,
|
7
|
-
"types": "../dist/types/schema/bitbucket-schema.d.ts"
|
8
|
-
"typesVersions": {
|
9
|
-
">=4.5 <4.9": {
|
10
|
-
"*": [
|
11
|
-
"../dist/types-ts4.5/schema/bitbucket-schema.d.ts"
|
12
|
-
]
|
13
|
-
}
|
14
|
-
}
|
7
|
+
"types": "../dist/types/schema/bitbucket-schema.d.ts"
|
15
8
|
}
|
@@ -1,15 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"name": "@atlaskit/adf-schema/schema-confluence",
|
2
|
+
"name": "@atlaskit/@atlaskit/adf-schema/schema-confluence",
|
3
3
|
"main": "../dist/cjs/schema/confluence-schema.js",
|
4
4
|
"module": "../dist/esm/schema/confluence-schema.js",
|
5
5
|
"module:es2019": "../dist/es2019/schema/confluence-schema.js",
|
6
6
|
"sideEffects": false,
|
7
|
-
"types": "../dist/types/schema/confluence-schema.d.ts"
|
8
|
-
"typesVersions": {
|
9
|
-
">=4.5 <4.9": {
|
10
|
-
"*": [
|
11
|
-
"../dist/types-ts4.5/schema/confluence-schema.d.ts"
|
12
|
-
]
|
13
|
-
}
|
14
|
-
}
|
7
|
+
"types": "../dist/types/schema/confluence-schema.d.ts"
|
15
8
|
}
|
@@ -1,15 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"name": "@atlaskit/adf-schema/schema-default",
|
2
|
+
"name": "@atlaskit/@atlaskit/adf-schema/schema-default",
|
3
3
|
"main": "../dist/cjs/schema/default-schema.js",
|
4
4
|
"module": "../dist/esm/schema/default-schema.js",
|
5
5
|
"module:es2019": "../dist/es2019/schema/default-schema.js",
|
6
6
|
"sideEffects": false,
|
7
|
-
"types": "../dist/types/schema/default-schema.d.ts"
|
8
|
-
"typesVersions": {
|
9
|
-
">=4.5 <4.9": {
|
10
|
-
"*": [
|
11
|
-
"../dist/types-ts4.5/schema/default-schema.d.ts"
|
12
|
-
]
|
13
|
-
}
|
14
|
-
}
|
7
|
+
"types": "../dist/types/schema/default-schema.d.ts"
|
15
8
|
}
|
package/schema-jira/package.json
CHANGED
@@ -1,15 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"name": "@atlaskit/adf-schema/schema-jira",
|
2
|
+
"name": "@atlaskit/@atlaskit/adf-schema/schema-jira",
|
3
3
|
"main": "../dist/cjs/schema/jira-schema.js",
|
4
4
|
"module": "../dist/esm/schema/jira-schema.js",
|
5
5
|
"module:es2019": "../dist/es2019/schema/jira-schema.js",
|
6
6
|
"sideEffects": false,
|
7
|
-
"types": "../dist/types/schema/jira-schema.d.ts"
|
8
|
-
"typesVersions": {
|
9
|
-
">=4.5 <4.9": {
|
10
|
-
"*": [
|
11
|
-
"../dist/types-ts4.5/schema/jira-schema.d.ts"
|
12
|
-
]
|
13
|
-
}
|
14
|
-
}
|
7
|
+
"types": "../dist/types/schema/jira-schema.d.ts"
|
15
8
|
}
|
package/steps/package.json
CHANGED
@@ -1,15 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"name": "@atlaskit/adf-schema/steps",
|
2
|
+
"name": "@atlaskit/@atlaskit/adf-schema/steps",
|
3
3
|
"main": "../dist/cjs/steps.js",
|
4
4
|
"module": "../dist/esm/steps.js",
|
5
5
|
"module:es2019": "../dist/es2019/steps.js",
|
6
6
|
"sideEffects": false,
|
7
|
-
"types": "../dist/types/steps.d.ts"
|
8
|
-
"typesVersions": {
|
9
|
-
">=4.5 <4.9": {
|
10
|
-
"*": [
|
11
|
-
"../dist/types-ts4.5/steps.d.ts"
|
12
|
-
]
|
13
|
-
}
|
14
|
-
}
|
7
|
+
"types": "../dist/types/steps.d.ts"
|
15
8
|
}
|
package/tsconfig.json
CHANGED
@@ -1,8 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"extends": "
|
3
|
-
"compilerOptions": {
|
4
|
-
"baseUrl": "./"
|
5
|
-
},
|
2
|
+
"extends": "../../tsconfig",
|
6
3
|
"include": [
|
7
4
|
"src/**/*.ts",
|
8
5
|
"src/**/*.tsx",
|
@@ -12,5 +9,5 @@
|
|
12
9
|
"test-helpers/**/*.tsx",
|
13
10
|
"codemods"
|
14
11
|
],
|
15
|
-
"exclude": ["node_modules", "src/json-schema"]
|
12
|
+
"exclude": ["node_modules", "src/json-schema"],
|
16
13
|
}
|
package/url/package.json
CHANGED
@@ -1,15 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"name": "@atlaskit/adf-schema/url",
|
2
|
+
"name": "@atlaskit/@atlaskit/adf-schema/url",
|
3
3
|
"main": "../dist/cjs/utils/url.js",
|
4
4
|
"module": "../dist/esm/utils/url.js",
|
5
5
|
"module:es2019": "../dist/es2019/utils/url.js",
|
6
6
|
"sideEffects": false,
|
7
|
-
"types": "../dist/types/utils/url.d.ts"
|
8
|
-
"typesVersions": {
|
9
|
-
">=4.5 <4.9": {
|
10
|
-
"*": [
|
11
|
-
"../dist/types-ts4.5/utils/url.d.ts"
|
12
|
-
]
|
13
|
-
}
|
14
|
-
}
|
7
|
+
"types": "../dist/types/utils/url.d.ts"
|
15
8
|
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette,
|
2
|
-
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
3
|
-
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, orderedListWithOrder, panel, paragraph, placeholder, rule, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, } from './schema';
|
4
|
-
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, DatasourceAttributes, DataConsumerAttributes, DataConsumerDefinition, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmDefinition, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, FragmentAttributes, FragmentDefinition, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, IndentationMarkAttributes, IndentationMarkDefinition, Inline, InlineAtomic, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, LinkAttributes, LinkDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StrikeDefinition, StrongDefinition, SubSupAttributes, SubSupDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, BorderMarkAttributes, BorderMarkDefinition, } from './schema';
|
5
|
-
export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, generateUuid, getEmojiAcName, getLinkMatch, hexToRgb, hexToRgba, isHex, isRgb, isSafeUrl, linkify, linkifyMatch, normalizeHexColor, normalizeUrl, rgbToHex, uuid, } from './utils';
|
6
|
-
export type { Match, NameToEmoji } from './utils';
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Schema } from '@atlaskit/editor-prosemirror/model';
|
2
|
-
/**
|
3
|
-
* @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
4
|
-
**/
|
5
|
-
export declare const confluenceSchema: Schema;
|
6
|
-
/**
|
7
|
-
* @deprecated [ED-15676] We have stopped supporting product specific schemas. Use `@atlaskit/adf-schema/schema-default` instead.
|
8
|
-
**/
|
9
|
-
export declare const confluenceSchemaWithMediaSingle: Schema;
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { NodeSpec, MarkSpec, Schema } from '@atlaskit/editor-prosemirror/model';
|
2
|
-
/**
|
3
|
-
* Creates a schema preserving order of marks and nodes.
|
4
|
-
*/
|
5
|
-
export declare function createSchema<N extends string = string, M extends string = string>(config: SchemaConfig<N, M>): Schema<N, M>;
|
6
|
-
export declare function sanitizeNodes(nodes: {
|
7
|
-
[key: string]: NodeSpec;
|
8
|
-
}, supportedMarks: {
|
9
|
-
[key: string]: MarkSpec;
|
10
|
-
}): {
|
11
|
-
[key: string]: NodeSpec;
|
12
|
-
};
|
13
|
-
export declare function sanitizeNodeSpecContent(nodes: {
|
14
|
-
[key: string]: NodeSpec;
|
15
|
-
}, rawContent: string): string;
|
16
|
-
export interface SchemaConfig<N = string, M = string> {
|
17
|
-
nodes: N[];
|
18
|
-
customNodeSpecs?: SchemaCustomNodeSpecs;
|
19
|
-
marks?: M[];
|
20
|
-
customMarkSpecs?: SchemaCustomMarkSpecs;
|
21
|
-
}
|
22
|
-
export interface SchemaBuiltInItem {
|
23
|
-
name: string;
|
24
|
-
spec: NodeSpec | MarkSpec;
|
25
|
-
}
|
26
|
-
export interface SchemaCustomNodeSpecs {
|
27
|
-
[name: string]: NodeSpec;
|
28
|
-
}
|
29
|
-
export interface SchemaCustomMarkSpecs {
|
30
|
-
[name: string]: MarkSpec;
|
31
|
-
}
|
32
|
-
export declare const allowCustomPanel: boolean;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { SchemaConfig } from './create-schema';
|
2
|
-
type DefaultSchemaNodes = 'doc' | 'paragraph' | 'text' | 'bulletList' | 'orderedList' | 'listItem' | 'heading' | 'blockquote' | 'codeBlock' | 'panel' | 'rule' | 'image' | 'mention' | 'media' | 'caption' | 'mediaGroup' | 'mediaSingle' | 'mediaInline' | 'confluenceUnsupportedBlock' | 'confluenceUnsupportedInline' | 'confluenceJiraIssue' | 'expand' | 'nestedExpand' | 'extension' | 'inlineExtension' | 'bodiedExtension' | 'hardBreak' | 'emoji' | 'table' | 'tableCell' | 'tableHeader' | 'tableRow' | 'decisionList' | 'decisionItem' | 'taskList' | 'taskItem' | 'unknownBlock' | 'date' | 'status' | 'placeholder' | 'layoutSection' | 'layoutColumn' | 'inlineCard' | 'blockCard' | 'embedCard' | 'unsupportedBlock' | 'unsupportedInline';
|
3
|
-
type DefaultSchemaMarks = 'link' | 'em' | 'strong' | 'strike' | 'subsup' | 'underline' | 'code' | 'textColor' | 'confluenceInlineComment' | 'breakout' | 'alignment' | 'indentation' | 'annotation' | 'border' | 'unsupportedMark' | 'unsupportedNodeAttribute' | 'typeAheadQuery' | 'dataConsumer' | 'fragment';
|
4
|
-
export declare const defaultSchemaConfig: SchemaConfig<DefaultSchemaNodes, DefaultSchemaMarks>;
|
5
|
-
export declare const getSchemaBasedOnStage: import("memoize-one").MemoizedFn<(this: any, stage?: any) => import("prosemirror-model").Schema<DefaultSchemaNodes, DefaultSchemaMarks>>;
|
6
|
-
export declare const defaultSchema: import("prosemirror-model").Schema<DefaultSchemaNodes, DefaultSchemaMarks>;
|
7
|
-
export {};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export declare const FONT_STYLE = "fontStyle";
|
2
|
-
export declare const SEARCH_QUERY = "searchQuery";
|
3
|
-
export declare const LINK = "link";
|
4
|
-
export declare const COLOR = "color";
|
5
|
-
export declare const ALIGNMENT = "alignment";
|
6
|
-
export declare const INDENTATION = "indentation";
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export { PanelType, blockCard, blockquote, bodiedExtension, bulletList, bulletListSelector, caption, codeBlock, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, decisionItem, decisionList, decisionListSelector, doc, embedCard, emoji, expand, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineExtension, layoutColumn, layoutSection, layoutSectionWithSingleColumn, listItem, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, orderedListWithOrder, panel, paragraph, placeholder, rule, getCellAttrs, getCellDomAttrs, status, table, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, } from './nodes';
|
2
|
-
export type { BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, Inline, InlineAtomic, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionBaseDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, TaskListContent, TaskListDefinition, TextDefinition, UrlType, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, CellDomAttrs, } from './nodes';
|
3
|
-
export { AnnotationTypes, alignment, alignmentPositionMap, annotation, breakout, code, colorPalette,
|
4
|
-
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
5
|
-
colorPaletteExtended, confluenceInlineComment, dataConsumer, dataConsumerToJSON, em, fragment, fragmentToJSON, indentation, link, linkToJSON, strike, strong, subsup, textColor, typeAheadQuery, underline, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, } from './marks';
|
6
|
-
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, CodeDefinition, EmDefinition, FragmentAttributes, FragmentDefinition, IndentationMarkAttributes, IndentationMarkDefinition, LinkAttributes, LinkDefinition, StrikeDefinition, StrongDefinition, SubSupAttributes, SubSupDefinition, TextColorAttributes, TextColorDefinition, UnderlineDefinition, AnnotationId, AnnotationDataAttributes, DataConsumerAttributes, DataConsumerDefinition, BorderMarkAttributes, BorderMarkDefinition, } from './marks';
|
7
|
-
export { unsupportedNodeTypesForMediaCards } from './unsupported';
|
8
|
-
export { inlineNodes } from './inline-nodes';
|
9
|
-
export { sanitizeNodes, createSchema } from './create-schema';
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const inlineNodes: Set<string>;
|