@atlaskit/editor-plugin-table 5.4.5 → 5.4.6

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.
Files changed (23) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +4 -4
  3. package/tsconfig.dev.json +0 -3
  4. package/src/__tests__/integration/__fixtures__/auto-size-documents.ts +0 -434
  5. package/src/__tests__/integration/__fixtures__/basic-table-with-merged-cell.ts +0 -112
  6. package/src/__tests__/integration/__fixtures__/basic-table.ts +0 -120
  7. package/src/__tests__/integration/__fixtures__/empty-layout.ts +0 -35
  8. package/src/__tests__/integration/__fixtures__/empty-paragraph-underneath-table.ts +0 -396
  9. package/src/__tests__/integration/__fixtures__/even-columns.ts +0 -493
  10. package/src/__tests__/integration/__fixtures__/layout-documents.ts +0 -606
  11. package/src/__tests__/integration/__fixtures__/merged-rows-and-cols-document.ts +0 -343
  12. package/src/__tests__/integration/__fixtures__/nested-in-expand.ts +0 -129
  13. package/src/__tests__/integration/__fixtures__/nested-in-extension.ts +0 -163
  14. package/src/__tests__/integration/__fixtures__/paragraph-and-table-adf.ts +0 -132
  15. package/src/__tests__/integration/__fixtures__/resize-documents.ts +0 -1605
  16. package/src/__tests__/integration/__fixtures__/scale.ts +0 -825
  17. package/src/__tests__/integration/__fixtures__/table-inside-layout.ts +0 -145
  18. package/src/__tests__/integration/__fixtures__/table-with-min-width-columns-document.ts +0 -175
  19. package/src/__tests__/integration/__fixtures__/table-with-multiline-date.adf.json +0 -168
  20. package/src/__tests__/integration/__fixtures__/table-with-text-and-empty-row.ts +0 -216
  21. package/src/__tests__/integration/__snapshots__/copy-button.ts.snap +0 -423
  22. package/src/__tests__/integration/copy-button.ts +0 -179
  23. package/src/__tests__/integration/table-controls-selection.ts +0 -71
@@ -1,132 +0,0 @@
1
- export const documentWithParagraphAndTable = (
2
- isNumberColumnEnabled: boolean,
3
- ) => ({
4
- version: 1,
5
- type: 'doc',
6
- content: [
7
- {
8
- type: 'paragraph',
9
- content: [
10
- {
11
- type: 'text',
12
- text: 'text',
13
- },
14
- ],
15
- },
16
- {
17
- type: 'table',
18
- attrs: {
19
- isNumberColumnEnabled,
20
- layout: 'default',
21
- localId: 'e1365400-6226-4bb9-b3f1-b80fd3ae640a',
22
- },
23
- content: [
24
- {
25
- type: 'tableRow',
26
- content: [
27
- {
28
- type: 'tableHeader',
29
- attrs: {},
30
- content: [
31
- {
32
- type: 'paragraph',
33
- content: [],
34
- },
35
- ],
36
- },
37
- {
38
- type: 'tableHeader',
39
- attrs: {},
40
- content: [
41
- {
42
- type: 'paragraph',
43
- content: [],
44
- },
45
- ],
46
- },
47
- {
48
- type: 'tableHeader',
49
- attrs: {},
50
- content: [
51
- {
52
- type: 'paragraph',
53
- content: [],
54
- },
55
- ],
56
- },
57
- ],
58
- },
59
- {
60
- type: 'tableRow',
61
- content: [
62
- {
63
- type: 'tableCell',
64
- attrs: {},
65
- content: [
66
- {
67
- type: 'paragraph',
68
- content: [],
69
- },
70
- ],
71
- },
72
- {
73
- type: 'tableCell',
74
- attrs: {},
75
- content: [
76
- {
77
- type: 'paragraph',
78
- content: [],
79
- },
80
- ],
81
- },
82
- {
83
- type: 'tableCell',
84
- attrs: {},
85
- content: [
86
- {
87
- type: 'paragraph',
88
- content: [],
89
- },
90
- ],
91
- },
92
- ],
93
- },
94
- {
95
- type: 'tableRow',
96
- content: [
97
- {
98
- type: 'tableCell',
99
- attrs: {},
100
- content: [
101
- {
102
- type: 'paragraph',
103
- content: [],
104
- },
105
- ],
106
- },
107
- {
108
- type: 'tableCell',
109
- attrs: {},
110
- content: [
111
- {
112
- type: 'paragraph',
113
- content: [],
114
- },
115
- ],
116
- },
117
- {
118
- type: 'tableCell',
119
- attrs: {},
120
- content: [
121
- {
122
- type: 'paragraph',
123
- content: [],
124
- },
125
- ],
126
- },
127
- ],
128
- },
129
- ],
130
- },
131
- ],
132
- });