@atlaskit/adf-schema 27.0.0 → 28.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 +6 -0
- package/dist/cjs/schema/nodes/tableNodes.js +3 -3
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/schema/nodes/tableNodes.js +3 -3
- package/dist/es2019/version.json +1 -1
- package/dist/esm/schema/nodes/tableNodes.js +3 -3
- package/dist/esm/version.json +1 -1
- package/dist/types/schema/nodes/tableNodes.d.ts +0 -10
- package/dist/types-ts4.5/schema/nodes/tableNodes.d.ts +0 -10
- package/package.json +1 -1
- package/report.api.md +4 -0
- package/tmp/api-report-tmp.d.ts +4 -0
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# @atlaskit/adf-schema
|
2
2
|
|
3
|
+
## 28.0.0
|
4
|
+
|
5
|
+
### Major Changes
|
6
|
+
|
7
|
+
- [`9064e2d0f28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9064e2d0f28) - [ux] HOT-104783 Reverting https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37639
|
8
|
+
|
3
9
|
## 27.0.0
|
4
10
|
|
5
11
|
### Major Changes
|
@@ -180,7 +180,7 @@ var createTableSpec = function createTableSpec() {
|
|
180
180
|
}
|
181
181
|
}) : attrs;
|
182
182
|
var tableNodeSpec = {
|
183
|
-
content: '
|
183
|
+
content: 'tableRow+',
|
184
184
|
attrs: finalAttrs,
|
185
185
|
marks: 'unsupportedMark unsupportedNodeAttribute',
|
186
186
|
tableRole: 'table',
|
@@ -237,7 +237,7 @@ var tableToJSON = function tableToJSON(node) {
|
|
237
237
|
exports.tableToJSON = tableToJSON;
|
238
238
|
var tableRow = {
|
239
239
|
selectable: false,
|
240
|
-
content: '(tableCell | tableHeader
|
240
|
+
content: '(tableCell | tableHeader)+',
|
241
241
|
marks: 'unsupportedMark unsupportedNodeAttribute',
|
242
242
|
tableRole: 'row',
|
243
243
|
parseDOM: [{
|
@@ -298,7 +298,7 @@ var toJSONTableCell = function toJSONTableCell(node) {
|
|
298
298
|
exports.toJSONTableCell = toJSONTableCell;
|
299
299
|
var tableHeader = {
|
300
300
|
selectable: false,
|
301
|
-
content: '(paragraph | panel | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaSingle | mediaGroup | decisionList | taskList | blockCard | embedCard | extension | nestedExpand
|
301
|
+
content: '(paragraph | panel | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaSingle | mediaGroup | decisionList | taskList | blockCard | embedCard | extension | nestedExpand)+',
|
302
302
|
attrs: cellAttrs,
|
303
303
|
tableRole: 'header_cell',
|
304
304
|
isolating: true,
|
package/dist/cjs/version.json
CHANGED
@@ -157,7 +157,7 @@ const createTableSpec = (allowCustomWidth = false) => {
|
|
157
157
|
}
|
158
158
|
} : attrs;
|
159
159
|
const tableNodeSpec = {
|
160
|
-
content: '
|
160
|
+
content: 'tableRow+',
|
161
161
|
attrs: finalAttrs,
|
162
162
|
marks: 'unsupportedMark unsupportedNodeAttribute',
|
163
163
|
tableRole: 'table',
|
@@ -208,7 +208,7 @@ export const tableToJSON = node => ({
|
|
208
208
|
});
|
209
209
|
export const tableRow = {
|
210
210
|
selectable: false,
|
211
|
-
content: '(tableCell | tableHeader
|
211
|
+
content: '(tableCell | tableHeader)+',
|
212
212
|
marks: 'unsupportedMark unsupportedNodeAttribute',
|
213
213
|
tableRole: 'row',
|
214
214
|
parseDOM: [{
|
@@ -260,7 +260,7 @@ export const toJSONTableCell = node => ({
|
|
260
260
|
});
|
261
261
|
export const tableHeader = {
|
262
262
|
selectable: false,
|
263
|
-
content: '(paragraph | panel | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaSingle | mediaGroup | decisionList | taskList | blockCard | embedCard | extension | nestedExpand
|
263
|
+
content: '(paragraph | panel | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaSingle | mediaGroup | decisionList | taskList | blockCard | embedCard | extension | nestedExpand)+',
|
264
264
|
attrs: cellAttrs,
|
265
265
|
tableRole: 'header_cell',
|
266
266
|
isolating: true,
|
package/dist/es2019/version.json
CHANGED
@@ -163,7 +163,7 @@ var createTableSpec = function createTableSpec() {
|
|
163
163
|
}
|
164
164
|
}) : attrs;
|
165
165
|
var tableNodeSpec = {
|
166
|
-
content: '
|
166
|
+
content: 'tableRow+',
|
167
167
|
attrs: finalAttrs,
|
168
168
|
marks: 'unsupportedMark unsupportedNodeAttribute',
|
169
169
|
tableRole: 'table',
|
@@ -217,7 +217,7 @@ export var tableToJSON = function tableToJSON(node) {
|
|
217
217
|
};
|
218
218
|
export var tableRow = {
|
219
219
|
selectable: false,
|
220
|
-
content: '(tableCell | tableHeader
|
220
|
+
content: '(tableCell | tableHeader)+',
|
221
221
|
marks: 'unsupportedMark unsupportedNodeAttribute',
|
222
222
|
tableRole: 'row',
|
223
223
|
parseDOM: [{
|
@@ -275,7 +275,7 @@ export var toJSONTableCell = function toJSONTableCell(node) {
|
|
275
275
|
};
|
276
276
|
export var tableHeader = {
|
277
277
|
selectable: false,
|
278
|
-
content: '(paragraph | panel | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaSingle | mediaGroup | decisionList | taskList | blockCard | embedCard | extension | nestedExpand
|
278
|
+
content: '(paragraph | panel | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaSingle | mediaGroup | decisionList | taskList | blockCard | embedCard | extension | nestedExpand)+',
|
279
279
|
attrs: cellAttrs,
|
280
280
|
tableRole: 'header_cell',
|
281
281
|
isolating: true,
|
package/dist/esm/version.json
CHANGED
@@ -68,7 +68,6 @@ export interface TableDefinition {
|
|
68
68
|
attrs?: TableAttributes;
|
69
69
|
/**
|
70
70
|
* @minItems 1
|
71
|
-
* @allowUnsupportedBlock true
|
72
71
|
*/
|
73
72
|
content: Array<TableRow>;
|
74
73
|
marks?: Array<FragmentDefinition>;
|
@@ -78,9 +77,6 @@ export interface TableDefinition {
|
|
78
77
|
*/
|
79
78
|
export interface TableRow {
|
80
79
|
type: 'tableRow';
|
81
|
-
/**
|
82
|
-
* @allowUnsupportedBlock true
|
83
|
-
*/
|
84
80
|
content: Array<TableHeader | TableCell>;
|
85
81
|
}
|
86
82
|
/**
|
@@ -94,9 +90,6 @@ export type TableCellContent = Array<Panel | Paragraph | ParagraphWithMarks | Bl
|
|
94
90
|
*/
|
95
91
|
export interface TableCell {
|
96
92
|
type: 'tableCell';
|
97
|
-
/**
|
98
|
-
* @allowUnsupportedBlock true
|
99
|
-
*/
|
100
93
|
attrs?: CellAttributes;
|
101
94
|
content: TableCellContent;
|
102
95
|
}
|
@@ -105,9 +98,6 @@ export interface TableCell {
|
|
105
98
|
*/
|
106
99
|
export interface TableHeader {
|
107
100
|
type: 'tableHeader';
|
108
|
-
/**
|
109
|
-
* @allowUnsupportedBlock true
|
110
|
-
*/
|
111
101
|
attrs?: CellAttributes;
|
112
102
|
content: TableCellContent;
|
113
103
|
}
|
@@ -68,7 +68,6 @@ export interface TableDefinition {
|
|
68
68
|
attrs?: TableAttributes;
|
69
69
|
/**
|
70
70
|
* @minItems 1
|
71
|
-
* @allowUnsupportedBlock true
|
72
71
|
*/
|
73
72
|
content: Array<TableRow>;
|
74
73
|
marks?: Array<FragmentDefinition>;
|
@@ -78,9 +77,6 @@ export interface TableDefinition {
|
|
78
77
|
*/
|
79
78
|
export interface TableRow {
|
80
79
|
type: 'tableRow';
|
81
|
-
/**
|
82
|
-
* @allowUnsupportedBlock true
|
83
|
-
*/
|
84
80
|
content: Array<TableHeader | TableCell>;
|
85
81
|
}
|
86
82
|
/**
|
@@ -94,9 +90,6 @@ export type TableCellContent = Array<Panel | Paragraph | ParagraphWithMarks | Bl
|
|
94
90
|
*/
|
95
91
|
export interface TableCell {
|
96
92
|
type: 'tableCell';
|
97
|
-
/**
|
98
|
-
* @allowUnsupportedBlock true
|
99
|
-
*/
|
100
93
|
attrs?: CellAttributes;
|
101
94
|
content: TableCellContent;
|
102
95
|
}
|
@@ -105,9 +98,6 @@ export interface TableCell {
|
|
105
98
|
*/
|
106
99
|
export interface TableHeader {
|
107
100
|
type: 'tableHeader';
|
108
|
-
/**
|
109
|
-
* @allowUnsupportedBlock true
|
110
|
-
*/
|
111
101
|
attrs?: CellAttributes;
|
112
102
|
content: TableCellContent;
|
113
103
|
}
|
package/package.json
CHANGED
package/report.api.md
CHANGED
@@ -1669,6 +1669,7 @@ export const tableCellContentWrapperSelector: string;
|
|
1669
1669
|
|
1670
1670
|
// @public
|
1671
1671
|
export interface TableCellDefinition {
|
1672
|
+
// (undocumented)
|
1672
1673
|
attrs?: CellAttributes;
|
1673
1674
|
// (undocumented)
|
1674
1675
|
content: TableCellContent;
|
@@ -1683,6 +1684,7 @@ export const tableCellSelector: string;
|
|
1683
1684
|
export interface TableDefinition {
|
1684
1685
|
// (undocumented)
|
1685
1686
|
attrs?: TableAttributes;
|
1687
|
+
// (undocumented)
|
1686
1688
|
content: Array<TableRowDefinition>;
|
1687
1689
|
// (undocumented)
|
1688
1690
|
marks?: Array<FragmentDefinition>;
|
@@ -1695,6 +1697,7 @@ export const tableHeader: NodeSpec;
|
|
1695
1697
|
|
1696
1698
|
// @public
|
1697
1699
|
export interface TableHeaderDefinition {
|
1700
|
+
// (undocumented)
|
1698
1701
|
attrs?: CellAttributes;
|
1699
1702
|
// (undocumented)
|
1700
1703
|
content: TableCellContent;
|
@@ -1716,6 +1719,7 @@ export const tableRow: NodeSpec;
|
|
1716
1719
|
|
1717
1720
|
// @public
|
1718
1721
|
export interface TableRowDefinition {
|
1722
|
+
// (undocumented)
|
1719
1723
|
content: Array<TableCellDefinition | TableHeaderDefinition>;
|
1720
1724
|
// (undocumented)
|
1721
1725
|
type: 'tableRow';
|
package/tmp/api-report-tmp.d.ts
CHANGED
@@ -1494,6 +1494,7 @@ export const tableCellContentWrapperSelector: string;
|
|
1494
1494
|
|
1495
1495
|
// @public
|
1496
1496
|
export interface TableCellDefinition {
|
1497
|
+
// (undocumented)
|
1497
1498
|
attrs?: CellAttributes;
|
1498
1499
|
// (undocumented)
|
1499
1500
|
content: TableCellContent;
|
@@ -1508,6 +1509,7 @@ export const tableCellSelector: string;
|
|
1508
1509
|
export interface TableDefinition {
|
1509
1510
|
// (undocumented)
|
1510
1511
|
attrs?: TableAttributes;
|
1512
|
+
// (undocumented)
|
1511
1513
|
content: Array<TableRowDefinition>;
|
1512
1514
|
// (undocumented)
|
1513
1515
|
marks?: Array<FragmentDefinition>;
|
@@ -1520,6 +1522,7 @@ export const tableHeader: NodeSpec;
|
|
1520
1522
|
|
1521
1523
|
// @public
|
1522
1524
|
export interface TableHeaderDefinition {
|
1525
|
+
// (undocumented)
|
1523
1526
|
attrs?: CellAttributes;
|
1524
1527
|
// (undocumented)
|
1525
1528
|
content: TableCellContent;
|
@@ -1541,6 +1544,7 @@ export const tableRow: NodeSpec;
|
|
1541
1544
|
|
1542
1545
|
// @public
|
1543
1546
|
export interface TableRowDefinition {
|
1547
|
+
// (undocumented)
|
1544
1548
|
content: Array<TableCellDefinition | TableHeaderDefinition>;
|
1545
1549
|
// (undocumented)
|
1546
1550
|
type: 'tableRow';
|