@tiptap/extension-table-row 2.0.0-beta.14 → 2.0.0-beta.18
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/package.json +2 -2
- package/src/table-row.ts +4 -2
- package/CHANGELOG.md +0 -169
- package/dist/packages/extension-table-row/src/index.d.ts +0 -3
- package/dist/packages/extension-table-row/src/table-row.d.ts +0 -5
- package/dist/tiptap-extension-table-row.cjs.js +0 -26
- package/dist/tiptap-extension-table-row.cjs.js.map +0 -1
- package/dist/tiptap-extension-table-row.esm.js +0 -22
- package/dist/tiptap-extension-table-row.esm.js.map +0 -1
- package/dist/tiptap-extension-table-row.umd.js +0 -30
- package/dist/tiptap-extension-table-row.umd.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/extension-table-row",
|
|
3
3
|
"description": "table row extension for tiptap",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.18",
|
|
5
5
|
"homepage": "https://tiptap.dev",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"url": "https://github.com/ueberdosis/tiptap",
|
|
29
29
|
"directory": "packages/extension-table-row"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "fce16e805824972834d5a8ce8d60e3ff41d63c7e"
|
|
32
32
|
}
|
package/src/table-row.ts
CHANGED
|
@@ -7,8 +7,10 @@ export interface TableRowOptions {
|
|
|
7
7
|
export const TableRow = Node.create<TableRowOptions>({
|
|
8
8
|
name: 'tableRow',
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
addOptions() {
|
|
11
|
+
return {
|
|
12
|
+
HTMLAttributes: {},
|
|
13
|
+
}
|
|
12
14
|
},
|
|
13
15
|
|
|
14
16
|
content: '(tableCell | tableHeader)*',
|
package/CHANGELOG.md
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# [2.0.0-beta.14](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.13...@tiptap/extension-table-row@2.0.0-beta.14) (2021-07-26)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# [2.0.0-beta.13](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.12...@tiptap/extension-table-row@2.0.0-beta.13) (2021-05-18)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# [2.0.0-beta.12](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.11...@tiptap/extension-table-row@2.0.0-beta.12) (2021-05-13)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
# [2.0.0-beta.11](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.10...@tiptap/extension-table-row@2.0.0-beta.11) (2021-05-07)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
### Bug Fixes
|
|
34
|
-
|
|
35
|
-
* revert adding exports ([bc320d0](https://github.com/ueberdosis/tiptap/commit/bc320d0b4b80b0e37a7e47a56e0f6daec6e65d98))
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
# [2.0.0-beta.10](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.9...@tiptap/extension-table-row@2.0.0-beta.10) (2021-05-06)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### Bug Fixes
|
|
45
|
-
|
|
46
|
-
* revert adding type: module ([f8d6475](https://github.com/ueberdosis/tiptap/commit/f8d6475e2151faea6f96baecdd6bd75880d50d2c))
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
# [2.0.0-beta.9](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.8...@tiptap/extension-table-row@2.0.0-beta.9) (2021-05-06)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### Bug Fixes
|
|
56
|
-
|
|
57
|
-
* add exports to package.json ([1277fa4](https://github.com/ueberdosis/tiptap/commit/1277fa47151e9c039508cdb219bdd0ffe647f4ee))
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
# [2.0.0-beta.8](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.7...@tiptap/extension-table-row@2.0.0-beta.8) (2021-05-06)
|
|
64
|
-
|
|
65
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
# [2.0.0-beta.7](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.6...@tiptap/extension-table-row@2.0.0-beta.7) (2021-05-05)
|
|
72
|
-
|
|
73
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
# [2.0.0-beta.6](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.5...@tiptap/extension-table-row@2.0.0-beta.6) (2021-04-23)
|
|
80
|
-
|
|
81
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
# [2.0.0-beta.5](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.4...@tiptap/extension-table-row@2.0.0-beta.5) (2021-04-22)
|
|
88
|
-
|
|
89
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
# [2.0.0-beta.4](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.3...@tiptap/extension-table-row@2.0.0-beta.4) (2021-04-21)
|
|
96
|
-
|
|
97
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
# [2.0.0-beta.3](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.2...@tiptap/extension-table-row@2.0.0-beta.3) (2021-04-16)
|
|
104
|
-
|
|
105
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
# [2.0.0-beta.2](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-beta.1...@tiptap/extension-table-row@2.0.0-beta.2) (2021-04-15)
|
|
112
|
-
|
|
113
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
# [2.0.0-beta.1](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-alpha.11...@tiptap/extension-table-row@2.0.0-beta.1) (2021-03-05)
|
|
120
|
-
|
|
121
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
# [2.0.0-alpha.11](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-alpha.10...@tiptap/extension-table-row@2.0.0-alpha.11) (2021-02-16)
|
|
128
|
-
|
|
129
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
# [2.0.0-alpha.10](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-alpha.9...@tiptap/extension-table-row@2.0.0-alpha.10) (2021-02-07)
|
|
136
|
-
|
|
137
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
# [2.0.0-alpha.9](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-alpha.8...@tiptap/extension-table-row@2.0.0-alpha.9) (2021-02-05)
|
|
144
|
-
|
|
145
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
# [2.0.0-alpha.8](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-alpha.7...@tiptap/extension-table-row@2.0.0-alpha.8) (2021-01-29)
|
|
152
|
-
|
|
153
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
# [2.0.0-alpha.7](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-table-row@2.0.0-alpha.6...@tiptap/extension-table-row@2.0.0-alpha.7) (2021-01-29)
|
|
160
|
-
|
|
161
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
# 2.0.0-alpha.6 (2021-01-28)
|
|
168
|
-
|
|
169
|
-
**Note:** Version bump only for package @tiptap/extension-table-row
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var core = require('@tiptap/core');
|
|
6
|
-
|
|
7
|
-
const TableRow = core.Node.create({
|
|
8
|
-
name: 'tableRow',
|
|
9
|
-
defaultOptions: {
|
|
10
|
-
HTMLAttributes: {},
|
|
11
|
-
},
|
|
12
|
-
content: '(tableCell | tableHeader)*',
|
|
13
|
-
tableRole: 'row',
|
|
14
|
-
parseHTML() {
|
|
15
|
-
return [
|
|
16
|
-
{ tag: 'tr' },
|
|
17
|
-
];
|
|
18
|
-
},
|
|
19
|
-
renderHTML({ HTMLAttributes }) {
|
|
20
|
-
return ['tr', core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
exports.TableRow = TableRow;
|
|
25
|
-
exports.default = TableRow;
|
|
26
|
-
//# sourceMappingURL=tiptap-extension-table-row.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tiptap-extension-table-row.cjs.js","sources":["../src/table-row.ts"],"sourcesContent":["import { Node, mergeAttributes } from '@tiptap/core'\n\nexport interface TableRowOptions {\n HTMLAttributes: Record<string, any>,\n}\n\nexport const TableRow = Node.create<TableRowOptions>({\n name: 'tableRow',\n\n defaultOptions: {\n HTMLAttributes: {},\n },\n\n content: '(tableCell | tableHeader)*',\n\n tableRole: 'row',\n\n parseHTML() {\n return [\n { tag: 'tr' },\n ]\n },\n\n renderHTML({ HTMLAttributes }) {\n return ['tr', mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0]\n },\n})\n"],"names":["Node","mergeAttributes"],"mappings":";;;;;;MAMa,QAAQ,GAAGA,SAAI,CAAC,MAAM,CAAkB;IACnD,IAAI,EAAE,UAAU;IAEhB,cAAc,EAAE;QACd,cAAc,EAAE,EAAE;KACnB;IAED,OAAO,EAAE,4BAA4B;IAErC,SAAS,EAAE,KAAK;IAEhB,SAAS;QACP,OAAO;YACL,EAAE,GAAG,EAAE,IAAI,EAAE;SACd,CAAA;KACF;IAED,UAAU,CAAC,EAAE,cAAc,EAAE;QAC3B,OAAO,CAAC,IAAI,EAAEC,oBAAe,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,cAAc,CAAC,EAAE,CAAC,CAAC,CAAA;KAC/E;CACF;;;;;"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Node, mergeAttributes } from '@tiptap/core';
|
|
2
|
-
|
|
3
|
-
const TableRow = Node.create({
|
|
4
|
-
name: 'tableRow',
|
|
5
|
-
defaultOptions: {
|
|
6
|
-
HTMLAttributes: {},
|
|
7
|
-
},
|
|
8
|
-
content: '(tableCell | tableHeader)*',
|
|
9
|
-
tableRole: 'row',
|
|
10
|
-
parseHTML() {
|
|
11
|
-
return [
|
|
12
|
-
{ tag: 'tr' },
|
|
13
|
-
];
|
|
14
|
-
},
|
|
15
|
-
renderHTML({ HTMLAttributes }) {
|
|
16
|
-
return ['tr', mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
|
|
17
|
-
},
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
export default TableRow;
|
|
21
|
-
export { TableRow };
|
|
22
|
-
//# sourceMappingURL=tiptap-extension-table-row.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tiptap-extension-table-row.esm.js","sources":["../src/table-row.ts"],"sourcesContent":["import { Node, mergeAttributes } from '@tiptap/core'\n\nexport interface TableRowOptions {\n HTMLAttributes: Record<string, any>,\n}\n\nexport const TableRow = Node.create<TableRowOptions>({\n name: 'tableRow',\n\n defaultOptions: {\n HTMLAttributes: {},\n },\n\n content: '(tableCell | tableHeader)*',\n\n tableRole: 'row',\n\n parseHTML() {\n return [\n { tag: 'tr' },\n ]\n },\n\n renderHTML({ HTMLAttributes }) {\n return ['tr', mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0]\n },\n})\n"],"names":[],"mappings":";;MAMa,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAkB;IACnD,IAAI,EAAE,UAAU;IAEhB,cAAc,EAAE;QACd,cAAc,EAAE,EAAE;KACnB;IAED,OAAO,EAAE,4BAA4B;IAErC,SAAS,EAAE,KAAK;IAEhB,SAAS;QACP,OAAO;YACL,EAAE,GAAG,EAAE,IAAI,EAAE;SACd,CAAA;KACF;IAED,UAAU,CAAC,EAAE,cAAc,EAAE;QAC3B,OAAO,CAAC,IAAI,EAAE,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,cAAc,CAAC,EAAE,CAAC,CAAC,CAAA;KAC/E;CACF;;;;;"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@tiptap/core'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['@tiptap/extension-table-row'] = {}, global.core));
|
|
5
|
-
}(this, (function (exports, core) { 'use strict';
|
|
6
|
-
|
|
7
|
-
const TableRow = core.Node.create({
|
|
8
|
-
name: 'tableRow',
|
|
9
|
-
defaultOptions: {
|
|
10
|
-
HTMLAttributes: {},
|
|
11
|
-
},
|
|
12
|
-
content: '(tableCell | tableHeader)*',
|
|
13
|
-
tableRole: 'row',
|
|
14
|
-
parseHTML() {
|
|
15
|
-
return [
|
|
16
|
-
{ tag: 'tr' },
|
|
17
|
-
];
|
|
18
|
-
},
|
|
19
|
-
renderHTML({ HTMLAttributes }) {
|
|
20
|
-
return ['tr', core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
exports.TableRow = TableRow;
|
|
25
|
-
exports.default = TableRow;
|
|
26
|
-
|
|
27
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
28
|
-
|
|
29
|
-
})));
|
|
30
|
-
//# sourceMappingURL=tiptap-extension-table-row.umd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tiptap-extension-table-row.umd.js","sources":["../src/table-row.ts"],"sourcesContent":["import { Node, mergeAttributes } from '@tiptap/core'\n\nexport interface TableRowOptions {\n HTMLAttributes: Record<string, any>,\n}\n\nexport const TableRow = Node.create<TableRowOptions>({\n name: 'tableRow',\n\n defaultOptions: {\n HTMLAttributes: {},\n },\n\n content: '(tableCell | tableHeader)*',\n\n tableRole: 'row',\n\n parseHTML() {\n return [\n { tag: 'tr' },\n ]\n },\n\n renderHTML({ HTMLAttributes }) {\n return ['tr', mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0]\n },\n})\n"],"names":["Node","mergeAttributes"],"mappings":";;;;;;QAMa,QAAQ,GAAGA,SAAI,CAAC,MAAM,CAAkB;MACnD,IAAI,EAAE,UAAU;MAEhB,cAAc,EAAE;UACd,cAAc,EAAE,EAAE;OACnB;MAED,OAAO,EAAE,4BAA4B;MAErC,SAAS,EAAE,KAAK;MAEhB,SAAS;UACP,OAAO;cACL,EAAE,GAAG,EAAE,IAAI,EAAE;WACd,CAAA;OACF;MAED,UAAU,CAAC,EAAE,cAAc,EAAE;UAC3B,OAAO,CAAC,IAAI,EAAEC,oBAAe,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,cAAc,CAAC,EAAE,CAAC,CAAC,CAAA;OAC/E;GACF;;;;;;;;;;;"}
|