@atlaskit/editor-plugin-table 42.2.6 → 42.2.8
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 +14 -0
- package/package.json +5 -4
- package/dist/cjs/ui/hooks/useInternalTablePluginStateSelector.js +0 -29
- package/dist/cjs/ui/icons/AddColLeftIcon.js +0 -44
- package/dist/cjs/ui/icons/AddColRightIcon.js +0 -44
- package/dist/cjs/ui/icons/AddRowAboveIcon.js +0 -41
- package/dist/cjs/ui/icons/AddRowBelowIcon.js +0 -44
- package/dist/cjs/ui/icons/MergeCellsIcon.js +0 -34
- package/dist/cjs/ui/icons/SplitCellIcon.js +0 -41
- package/dist/es2019/ui/hooks/useInternalTablePluginStateSelector.js +0 -23
- package/dist/es2019/ui/icons/AddColLeftIcon.js +0 -35
- package/dist/es2019/ui/icons/AddColRightIcon.js +0 -35
- package/dist/es2019/ui/icons/AddRowAboveIcon.js +0 -32
- package/dist/es2019/ui/icons/AddRowBelowIcon.js +0 -35
- package/dist/es2019/ui/icons/MergeCellsIcon.js +0 -25
- package/dist/es2019/ui/icons/SplitCellIcon.js +0 -32
- package/dist/esm/ui/hooks/useInternalTablePluginStateSelector.js +0 -23
- package/dist/esm/ui/icons/AddColLeftIcon.js +0 -37
- package/dist/esm/ui/icons/AddColRightIcon.js +0 -37
- package/dist/esm/ui/icons/AddRowAboveIcon.js +0 -34
- package/dist/esm/ui/icons/AddRowBelowIcon.js +0 -37
- package/dist/esm/ui/icons/MergeCellsIcon.js +0 -27
- package/dist/esm/ui/icons/SplitCellIcon.js +0 -34
- package/dist/types/ui/hooks/useInternalTablePluginStateSelector.d.ts +0 -22
- package/dist/types/ui/icons/AddColLeftIcon.d.ts +0 -2
- package/dist/types/ui/icons/AddColRightIcon.d.ts +0 -2
- package/dist/types/ui/icons/AddRowAboveIcon.d.ts +0 -2
- package/dist/types/ui/icons/AddRowBelowIcon.d.ts +0 -2
- package/dist/types/ui/icons/MergeCellsIcon.d.ts +0 -2
- package/dist/types/ui/icons/SplitCellIcon.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 42.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 42.2.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`6e0fa99ec8f01`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6e0fa99ec8f01) -
|
|
14
|
+
Delete unreachable source files
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 42.2.6
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "42.2.
|
|
3
|
+
"version": "42.2.8",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^30.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-content-insertion": "^30.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-editor-viewmode": "^32.0.0",
|
|
32
|
-
"@atlaskit/editor-plugin-extension": "33.0.
|
|
32
|
+
"@atlaskit/editor-plugin-extension": "33.0.9",
|
|
33
33
|
"@atlaskit/editor-plugin-guideline": "^30.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-interaction": "^44.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-limited-mode": "^27.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.2.0",
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^3.0.0",
|
|
55
55
|
"@atlaskit/primitives": "^22.6.0",
|
|
56
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
56
|
+
"@atlaskit/tmp-editor-statsig": "^253.0.0",
|
|
57
57
|
"@atlaskit/toggle": "^17.3.0",
|
|
58
58
|
"@atlaskit/tokens": "^20.9.0",
|
|
59
59
|
"@atlaskit/tooltip": "^24.4.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"uuid": "^11.1.1"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@atlaskit/editor-common": "^134.
|
|
71
|
+
"@atlaskit/editor-common": "^134.5.0",
|
|
72
72
|
"react": "^18.2.0 || ^19.2.0",
|
|
73
73
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
74
74
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
|
+
"@atlaskit/editor-common": "^134.5.0",
|
|
110
111
|
"react": "^19.2.0",
|
|
111
112
|
"react-dom": "^19.2.0",
|
|
112
113
|
"react-intl": "^7.0.0"
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.useInternalTablePluginStateSelector = void 0;
|
|
7
|
-
var _useSharedPluginStateSelector = require("@atlaskit/editor-common/useSharedPluginStateSelector");
|
|
8
|
-
/**
|
|
9
|
-
* **This hook is only for internal use and should not be used outside of the table plugin.**
|
|
10
|
-
*
|
|
11
|
-
* Hook to select a value from the internal table plugin state.
|
|
12
|
-
* This is a wrapper around `useSharedPluginStateSelector` to provide access to the entire
|
|
13
|
-
* `TableSharedStateInternal` type. Since tables plugin has a lot of internal state that is not
|
|
14
|
-
* exposed via the `TableSharedState` type, we need to use this hook to access it in a type safe way.
|
|
15
|
-
*
|
|
16
|
-
* @param api The editor API
|
|
17
|
-
* @param key Key of TableSharedStateInternal to select
|
|
18
|
-
* @param options
|
|
19
|
-
* @returns
|
|
20
|
-
* @example
|
|
21
|
-
*/
|
|
22
|
-
var useInternalTablePluginStateSelector = exports.useInternalTablePluginStateSelector = function useInternalTablePluginStateSelector(api, key, options) {
|
|
23
|
-
// Need to disable the eslint rule here because the key is for the TableSharedStateInternal type
|
|
24
|
-
// and we are using it as a string to access the value in the useSharedPluginStateSelector
|
|
25
|
-
// which is typed only for the public TableSharedState type.
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
27
|
-
var value = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, "table.".concat(key), options);
|
|
28
|
-
return value;
|
|
29
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.AddColLeftIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var AddColLeftIcon = exports.AddColLeftIcon = function AddColLeftIcon() {
|
|
10
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
11
|
-
width: "24",
|
|
12
|
-
height: "24",
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
fill: "currentColor",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
}, /*#__PURE__*/_react.default.createElement("rect", {
|
|
17
|
-
width: "24",
|
|
18
|
-
height: "24",
|
|
19
|
-
transform: "matrix(0 -1 1 0 0 24)",
|
|
20
|
-
fill: "none",
|
|
21
|
-
fillOpacity: "0.01"
|
|
22
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
23
|
-
x: "12",
|
|
24
|
-
y: "18",
|
|
25
|
-
width: "12",
|
|
26
|
-
height: "3",
|
|
27
|
-
rx: "0.5",
|
|
28
|
-
transform: "rotate(-90 12 18)",
|
|
29
|
-
fill: "currentColor"
|
|
30
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
31
|
-
x: "16",
|
|
32
|
-
y: "18",
|
|
33
|
-
width: "12",
|
|
34
|
-
height: "3",
|
|
35
|
-
rx: "0.5",
|
|
36
|
-
transform: "rotate(-90 16 18)",
|
|
37
|
-
fill: "currentColor"
|
|
38
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
39
|
-
fillRule: "evenodd",
|
|
40
|
-
clipRule: "evenodd",
|
|
41
|
-
d: "M7 11H5.99C5.72652 11.0026 5.47473 11.1092 5.28935 11.2964C5.10397 11.4837 4.99999 11.7365 5 12C5 12.556 5.444 13 5.99 13H7V14C7 14.2652 7.10536 14.5196 7.29289 14.7071C7.48043 14.8946 7.73478 15 8 15C8.26522 15 8.51957 14.8946 8.70711 14.7071C8.89464 14.5196 9 14.2652 9 14V13H10.01C10.2735 12.9974 10.5253 12.8908 10.7107 12.7036C10.896 12.5163 11 12.2635 11 12C11 11.444 10.556 11 10.01 11H9V10C9 9.73478 8.89464 9.48043 8.70711 9.29289C8.51957 9.10536 8.26522 9 8 9C7.73478 9 7.48043 9.10536 7.29289 9.29289C7.10536 9.48043 7 9.73478 7 10V11Z",
|
|
42
|
-
fill: "currentColor"
|
|
43
|
-
}));
|
|
44
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.AddColRightIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var AddColRightIcon = exports.AddColRightIcon = function AddColRightIcon() {
|
|
10
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
11
|
-
width: "24",
|
|
12
|
-
height: "24",
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
}, /*#__PURE__*/_react.default.createElement("rect", {
|
|
17
|
-
width: "24",
|
|
18
|
-
height: "24",
|
|
19
|
-
transform: "translate(0 24) rotate(-90)",
|
|
20
|
-
fill: "none",
|
|
21
|
-
fillOpacity: "0.01"
|
|
22
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
23
|
-
x: "9",
|
|
24
|
-
y: "18",
|
|
25
|
-
width: "12",
|
|
26
|
-
height: "3",
|
|
27
|
-
rx: "0.5",
|
|
28
|
-
transform: "rotate(-90 9 18)",
|
|
29
|
-
fill: "currentColor"
|
|
30
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
31
|
-
x: "5",
|
|
32
|
-
y: "18",
|
|
33
|
-
width: "12",
|
|
34
|
-
height: "3",
|
|
35
|
-
rx: "0.5",
|
|
36
|
-
transform: "rotate(-90 5 18)",
|
|
37
|
-
fill: "currentColor"
|
|
38
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
39
|
-
fillRule: "evenodd",
|
|
40
|
-
clipRule: "evenodd",
|
|
41
|
-
d: "M15 11L13.99 11C13.7265 11.0026 13.4747 11.1092 13.2893 11.2964C13.104 11.4837 13 11.7365 13 12C13 12.556 13.444 13 13.99 13L15 13L15 14C15 14.2652 15.1054 14.5196 15.2929 14.7071C15.4804 14.8946 15.7348 15 16 15C16.2652 15 16.5196 14.8946 16.7071 14.7071C16.8946 14.5196 17 14.2652 17 14L17 13L18.01 13C18.2735 12.9974 18.5253 12.8908 18.7107 12.7036C18.896 12.5163 19 12.2635 19 12C19 11.444 18.556 11 18.01 11L17 11L17 10C17 9.73478 16.8946 9.48043 16.7071 9.29289C16.5196 9.10536 16.2652 9 16 9C15.7348 9 15.4804 9.10536 15.2929 9.29289C15.1054 9.48043 15 9.73478 15 10L15 11Z",
|
|
42
|
-
fill: "currentColor"
|
|
43
|
-
}));
|
|
44
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.AddRowAboveIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var AddRowAboveIcon = exports.AddRowAboveIcon = function AddRowAboveIcon() {
|
|
10
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
11
|
-
width: "24",
|
|
12
|
-
height: "24",
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
}, /*#__PURE__*/_react.default.createElement("rect", {
|
|
17
|
-
width: "24",
|
|
18
|
-
height: "24",
|
|
19
|
-
fill: "var(--ds-border-inverse, #FFFFFF)",
|
|
20
|
-
fillOpacity: "0.01"
|
|
21
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
22
|
-
x: "6",
|
|
23
|
-
y: "12",
|
|
24
|
-
width: "12",
|
|
25
|
-
height: "3",
|
|
26
|
-
rx: "0.5",
|
|
27
|
-
fill: "currentColor"
|
|
28
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
29
|
-
x: "6",
|
|
30
|
-
y: "16",
|
|
31
|
-
width: "12",
|
|
32
|
-
height: "3",
|
|
33
|
-
rx: "0.5",
|
|
34
|
-
fill: "currentColor"
|
|
35
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
36
|
-
fillRule: "evenodd",
|
|
37
|
-
clipRule: "evenodd",
|
|
38
|
-
d: "M13 7V5.99C12.9974 5.72652 12.8908 5.47473 12.7036 5.28935C12.5163 5.10397 12.2635 4.99999 12 5C11.444 5 11 5.444 11 5.99V7H10C9.73478 7 9.48043 7.10536 9.29289 7.29289C9.10536 7.48043 9 7.73478 9 8C9 8.26522 9.10536 8.51957 9.29289 8.70711C9.48043 8.89464 9.73478 9 10 9H11V10.01C11.0026 10.2735 11.1092 10.5253 11.2964 10.7107C11.4837 10.896 11.7365 11 12 11C12.556 11 13 10.556 13 10.01V9H14C14.2652 9 14.5196 8.89464 14.7071 8.70711C14.8946 8.51957 15 8.26522 15 8C15 7.73478 14.8946 7.48043 14.7071 7.29289C14.5196 7.10536 14.2652 7 14 7H13Z",
|
|
39
|
-
fill: "currentColor"
|
|
40
|
-
}));
|
|
41
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.AddRowBelowIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var AddRowBelowIcon = exports.AddRowBelowIcon = function AddRowBelowIcon() {
|
|
10
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
11
|
-
width: "24",
|
|
12
|
-
height: "24",
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
}, /*#__PURE__*/_react.default.createElement("rect", {
|
|
17
|
-
width: "24",
|
|
18
|
-
height: "24",
|
|
19
|
-
transform: "matrix(-1 0 0 -1 24 24)",
|
|
20
|
-
fill: "var(--ds-border-inverse, #FFFFFF)",
|
|
21
|
-
fillOpacity: "0.01"
|
|
22
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
23
|
-
x: "18",
|
|
24
|
-
y: "12",
|
|
25
|
-
width: "12",
|
|
26
|
-
height: "3",
|
|
27
|
-
rx: "0.5",
|
|
28
|
-
transform: "rotate(-180 18 12)",
|
|
29
|
-
fill: "currentColor"
|
|
30
|
-
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
31
|
-
x: "18",
|
|
32
|
-
y: "8",
|
|
33
|
-
width: "12",
|
|
34
|
-
height: "3",
|
|
35
|
-
rx: "0.5",
|
|
36
|
-
transform: "rotate(-180 18 8)",
|
|
37
|
-
fill: "currentColor"
|
|
38
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
39
|
-
fillRule: "evenodd",
|
|
40
|
-
clipRule: "evenodd",
|
|
41
|
-
d: "M11 17V18.01C11.0026 18.2735 11.1092 18.5253 11.2964 18.7107C11.4837 18.896 11.7365 19 12 19C12.556 19 13 18.556 13 18.01V17H14C14.2652 17 14.5196 16.8946 14.7071 16.7071C14.8946 16.5196 15 16.2652 15 16C15 15.7348 14.8946 15.4804 14.7071 15.2929C14.5196 15.1054 14.2652 15 14 15H13V13.99C12.9974 13.7265 12.8908 13.4747 12.7036 13.2893C12.5163 13.104 12.2635 13 12 13C11.444 13 11 13.444 11 13.99V15H10C9.73478 15 9.48043 15.1054 9.29289 15.2929C9.10536 15.4804 9 15.7348 9 16C9 16.2652 9.10536 16.5196 9.29289 16.7071C9.48043 16.8946 9.73478 17 10 17H11Z",
|
|
42
|
-
fill: "currentColor"
|
|
43
|
-
}));
|
|
44
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.MergeCellsIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var MergeCellsIcon = exports.MergeCellsIcon = function MergeCellsIcon() {
|
|
10
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
11
|
-
width: "24",
|
|
12
|
-
height: "24",
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
17
|
-
fillRule: "evenodd",
|
|
18
|
-
clipRule: "evenodd",
|
|
19
|
-
d: "M10 19C10.5523 19 11 18.5523 11 18C11 17.4477 10.5523 17 10 17H6V7L10 7C10.5523 7 11 6.55228 11 6C11 5.44771 10.5523 5 10 5H6C4.89543 5 4 5.89543 4 7V17C4 18.1046 4.89543 19 6 19H10ZM14 5C13.4477 5 13 5.44772 13 6C13 6.55228 13.4477 7 14 7H18V17L14 17C13.4477 17 13 17.4477 13 18C13 18.5523 13.4477 19 14 19H18C19.1046 19 20 18.1046 20 17V7C20 5.89543 19.1046 5 18 5H14Z",
|
|
20
|
-
fill: "currentColor"
|
|
21
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
d: "M15.75 10L13.75 12L15.75 14",
|
|
23
|
-
stroke: "currentColor",
|
|
24
|
-
strokeWidth: "1.5",
|
|
25
|
-
strokeLinecap: "round",
|
|
26
|
-
strokeLinejoin: "round"
|
|
27
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
28
|
-
d: "M8.25 14L10.25 12L8.25 10",
|
|
29
|
-
stroke: "currentColor",
|
|
30
|
-
strokeWidth: "1.5",
|
|
31
|
-
strokeLinecap: "round",
|
|
32
|
-
strokeLinejoin: "round"
|
|
33
|
-
}));
|
|
34
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.SplitCellIcon = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var SplitCellIcon = exports.SplitCellIcon = function SplitCellIcon() {
|
|
10
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
11
|
-
width: "24",
|
|
12
|
-
height: "24",
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
17
|
-
d: "M19 18L14 18L14 6L19 6",
|
|
18
|
-
stroke: "currentColor",
|
|
19
|
-
strokeWidth: "2",
|
|
20
|
-
strokeLinecap: "round",
|
|
21
|
-
strokeLinejoin: "round"
|
|
22
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
23
|
-
d: "M5 6L10 6L9.99999 18L5 18",
|
|
24
|
-
stroke: "currentColor",
|
|
25
|
-
strokeWidth: "2",
|
|
26
|
-
strokeLinecap: "round",
|
|
27
|
-
strokeLinejoin: "round"
|
|
28
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
29
|
-
d: "M7 10L5 12L7 14",
|
|
30
|
-
stroke: "currentColor",
|
|
31
|
-
strokeWidth: "1.5",
|
|
32
|
-
strokeLinecap: "round",
|
|
33
|
-
strokeLinejoin: "round"
|
|
34
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
35
|
-
d: "M17 14L19 12L17 10",
|
|
36
|
-
stroke: "currentColor",
|
|
37
|
-
strokeWidth: "1.5",
|
|
38
|
-
strokeLinecap: "round",
|
|
39
|
-
strokeLinejoin: "round"
|
|
40
|
-
}));
|
|
41
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/useSharedPluginStateSelector';
|
|
2
|
-
/**
|
|
3
|
-
* **This hook is only for internal use and should not be used outside of the table plugin.**
|
|
4
|
-
*
|
|
5
|
-
* Hook to select a value from the internal table plugin state.
|
|
6
|
-
* This is a wrapper around `useSharedPluginStateSelector` to provide access to the entire
|
|
7
|
-
* `TableSharedStateInternal` type. Since tables plugin has a lot of internal state that is not
|
|
8
|
-
* exposed via the `TableSharedState` type, we need to use this hook to access it in a type safe way.
|
|
9
|
-
*
|
|
10
|
-
* @param api The editor API
|
|
11
|
-
* @param key Key of TableSharedStateInternal to select
|
|
12
|
-
* @param options
|
|
13
|
-
* @returns
|
|
14
|
-
* @example
|
|
15
|
-
*/
|
|
16
|
-
export const useInternalTablePluginStateSelector = (api, key, options) => {
|
|
17
|
-
// Need to disable the eslint rule here because the key is for the TableSharedStateInternal type
|
|
18
|
-
// and we are using it as a string to access the value in the useSharedPluginStateSelector
|
|
19
|
-
// which is typed only for the public TableSharedState type.
|
|
20
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
21
|
-
const value = useSharedPluginStateSelector(api, `table.${key}`, options);
|
|
22
|
-
return value;
|
|
23
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export const AddColLeftIcon = () => /*#__PURE__*/React.createElement("svg", {
|
|
3
|
-
width: "24",
|
|
4
|
-
height: "24",
|
|
5
|
-
viewBox: "0 0 24 24",
|
|
6
|
-
fill: "currentColor",
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
transform: "matrix(0 -1 1 0 0 24)",
|
|
12
|
-
fill: "none",
|
|
13
|
-
fillOpacity: "0.01"
|
|
14
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
15
|
-
x: "12",
|
|
16
|
-
y: "18",
|
|
17
|
-
width: "12",
|
|
18
|
-
height: "3",
|
|
19
|
-
rx: "0.5",
|
|
20
|
-
transform: "rotate(-90 12 18)",
|
|
21
|
-
fill: "currentColor"
|
|
22
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
23
|
-
x: "16",
|
|
24
|
-
y: "18",
|
|
25
|
-
width: "12",
|
|
26
|
-
height: "3",
|
|
27
|
-
rx: "0.5",
|
|
28
|
-
transform: "rotate(-90 16 18)",
|
|
29
|
-
fill: "currentColor"
|
|
30
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
-
fillRule: "evenodd",
|
|
32
|
-
clipRule: "evenodd",
|
|
33
|
-
d: "M7 11H5.99C5.72652 11.0026 5.47473 11.1092 5.28935 11.2964C5.10397 11.4837 4.99999 11.7365 5 12C5 12.556 5.444 13 5.99 13H7V14C7 14.2652 7.10536 14.5196 7.29289 14.7071C7.48043 14.8946 7.73478 15 8 15C8.26522 15 8.51957 14.8946 8.70711 14.7071C8.89464 14.5196 9 14.2652 9 14V13H10.01C10.2735 12.9974 10.5253 12.8908 10.7107 12.7036C10.896 12.5163 11 12.2635 11 12C11 11.444 10.556 11 10.01 11H9V10C9 9.73478 8.89464 9.48043 8.70711 9.29289C8.51957 9.10536 8.26522 9 8 9C7.73478 9 7.48043 9.10536 7.29289 9.29289C7.10536 9.48043 7 9.73478 7 10V11Z",
|
|
34
|
-
fill: "currentColor"
|
|
35
|
-
}));
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export const AddColRightIcon = () => /*#__PURE__*/React.createElement("svg", {
|
|
3
|
-
width: "24",
|
|
4
|
-
height: "24",
|
|
5
|
-
viewBox: "0 0 24 24",
|
|
6
|
-
fill: "none",
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
transform: "translate(0 24) rotate(-90)",
|
|
12
|
-
fill: "none",
|
|
13
|
-
fillOpacity: "0.01"
|
|
14
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
15
|
-
x: "9",
|
|
16
|
-
y: "18",
|
|
17
|
-
width: "12",
|
|
18
|
-
height: "3",
|
|
19
|
-
rx: "0.5",
|
|
20
|
-
transform: "rotate(-90 9 18)",
|
|
21
|
-
fill: "currentColor"
|
|
22
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
23
|
-
x: "5",
|
|
24
|
-
y: "18",
|
|
25
|
-
width: "12",
|
|
26
|
-
height: "3",
|
|
27
|
-
rx: "0.5",
|
|
28
|
-
transform: "rotate(-90 5 18)",
|
|
29
|
-
fill: "currentColor"
|
|
30
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
-
fillRule: "evenodd",
|
|
32
|
-
clipRule: "evenodd",
|
|
33
|
-
d: "M15 11L13.99 11C13.7265 11.0026 13.4747 11.1092 13.2893 11.2964C13.104 11.4837 13 11.7365 13 12C13 12.556 13.444 13 13.99 13L15 13L15 14C15 14.2652 15.1054 14.5196 15.2929 14.7071C15.4804 14.8946 15.7348 15 16 15C16.2652 15 16.5196 14.8946 16.7071 14.7071C16.8946 14.5196 17 14.2652 17 14L17 13L18.01 13C18.2735 12.9974 18.5253 12.8908 18.7107 12.7036C18.896 12.5163 19 12.2635 19 12C19 11.444 18.556 11 18.01 11L17 11L17 10C17 9.73478 16.8946 9.48043 16.7071 9.29289C16.5196 9.10536 16.2652 9 16 9C15.7348 9 15.4804 9.10536 15.2929 9.29289C15.1054 9.48043 15 9.73478 15 10L15 11Z",
|
|
34
|
-
fill: "currentColor"
|
|
35
|
-
}));
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export const AddRowAboveIcon = () => /*#__PURE__*/React.createElement("svg", {
|
|
3
|
-
width: "24",
|
|
4
|
-
height: "24",
|
|
5
|
-
viewBox: "0 0 24 24",
|
|
6
|
-
fill: "none",
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
fill: "var(--ds-border-inverse, #FFFFFF)",
|
|
12
|
-
fillOpacity: "0.01"
|
|
13
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
14
|
-
x: "6",
|
|
15
|
-
y: "12",
|
|
16
|
-
width: "12",
|
|
17
|
-
height: "3",
|
|
18
|
-
rx: "0.5",
|
|
19
|
-
fill: "currentColor"
|
|
20
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
21
|
-
x: "6",
|
|
22
|
-
y: "16",
|
|
23
|
-
width: "12",
|
|
24
|
-
height: "3",
|
|
25
|
-
rx: "0.5",
|
|
26
|
-
fill: "currentColor"
|
|
27
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
28
|
-
fillRule: "evenodd",
|
|
29
|
-
clipRule: "evenodd",
|
|
30
|
-
d: "M13 7V5.99C12.9974 5.72652 12.8908 5.47473 12.7036 5.28935C12.5163 5.10397 12.2635 4.99999 12 5C11.444 5 11 5.444 11 5.99V7H10C9.73478 7 9.48043 7.10536 9.29289 7.29289C9.10536 7.48043 9 7.73478 9 8C9 8.26522 9.10536 8.51957 9.29289 8.70711C9.48043 8.89464 9.73478 9 10 9H11V10.01C11.0026 10.2735 11.1092 10.5253 11.2964 10.7107C11.4837 10.896 11.7365 11 12 11C12.556 11 13 10.556 13 10.01V9H14C14.2652 9 14.5196 8.89464 14.7071 8.70711C14.8946 8.51957 15 8.26522 15 8C15 7.73478 14.8946 7.48043 14.7071 7.29289C14.5196 7.10536 14.2652 7 14 7H13Z",
|
|
31
|
-
fill: "currentColor"
|
|
32
|
-
}));
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export const AddRowBelowIcon = () => /*#__PURE__*/React.createElement("svg", {
|
|
3
|
-
width: "24",
|
|
4
|
-
height: "24",
|
|
5
|
-
viewBox: "0 0 24 24",
|
|
6
|
-
fill: "none",
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
transform: "matrix(-1 0 0 -1 24 24)",
|
|
12
|
-
fill: "var(--ds-border-inverse, #FFFFFF)",
|
|
13
|
-
fillOpacity: "0.01"
|
|
14
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
15
|
-
x: "18",
|
|
16
|
-
y: "12",
|
|
17
|
-
width: "12",
|
|
18
|
-
height: "3",
|
|
19
|
-
rx: "0.5",
|
|
20
|
-
transform: "rotate(-180 18 12)",
|
|
21
|
-
fill: "currentColor"
|
|
22
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
23
|
-
x: "18",
|
|
24
|
-
y: "8",
|
|
25
|
-
width: "12",
|
|
26
|
-
height: "3",
|
|
27
|
-
rx: "0.5",
|
|
28
|
-
transform: "rotate(-180 18 8)",
|
|
29
|
-
fill: "currentColor"
|
|
30
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
-
fillRule: "evenodd",
|
|
32
|
-
clipRule: "evenodd",
|
|
33
|
-
d: "M11 17V18.01C11.0026 18.2735 11.1092 18.5253 11.2964 18.7107C11.4837 18.896 11.7365 19 12 19C12.556 19 13 18.556 13 18.01V17H14C14.2652 17 14.5196 16.8946 14.7071 16.7071C14.8946 16.5196 15 16.2652 15 16C15 15.7348 14.8946 15.4804 14.7071 15.2929C14.5196 15.1054 14.2652 15 14 15H13V13.99C12.9974 13.7265 12.8908 13.4747 12.7036 13.2893C12.5163 13.104 12.2635 13 12 13C11.444 13 11 13.444 11 13.99V15H10C9.73478 15 9.48043 15.1054 9.29289 15.2929C9.10536 15.4804 9 15.7348 9 16C9 16.2652 9.10536 16.5196 9.29289 16.7071C9.48043 16.8946 9.73478 17 10 17H11Z",
|
|
34
|
-
fill: "currentColor"
|
|
35
|
-
}));
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export const MergeCellsIcon = () => /*#__PURE__*/React.createElement("svg", {
|
|
3
|
-
width: "24",
|
|
4
|
-
height: "24",
|
|
5
|
-
viewBox: "0 0 24 24",
|
|
6
|
-
fill: "none",
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
9
|
-
fillRule: "evenodd",
|
|
10
|
-
clipRule: "evenodd",
|
|
11
|
-
d: "M10 19C10.5523 19 11 18.5523 11 18C11 17.4477 10.5523 17 10 17H6V7L10 7C10.5523 7 11 6.55228 11 6C11 5.44771 10.5523 5 10 5H6C4.89543 5 4 5.89543 4 7V17C4 18.1046 4.89543 19 6 19H10ZM14 5C13.4477 5 13 5.44772 13 6C13 6.55228 13.4477 7 14 7H18V17L14 17C13.4477 17 13 17.4477 13 18C13 18.5523 13.4477 19 14 19H18C19.1046 19 20 18.1046 20 17V7C20 5.89543 19.1046 5 18 5H14Z",
|
|
12
|
-
fill: "currentColor"
|
|
13
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
d: "M15.75 10L13.75 12L15.75 14",
|
|
15
|
-
stroke: "currentColor",
|
|
16
|
-
strokeWidth: "1.5",
|
|
17
|
-
strokeLinecap: "round",
|
|
18
|
-
strokeLinejoin: "round"
|
|
19
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
20
|
-
d: "M8.25 14L10.25 12L8.25 10",
|
|
21
|
-
stroke: "currentColor",
|
|
22
|
-
strokeWidth: "1.5",
|
|
23
|
-
strokeLinecap: "round",
|
|
24
|
-
strokeLinejoin: "round"
|
|
25
|
-
}));
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export const SplitCellIcon = () => /*#__PURE__*/React.createElement("svg", {
|
|
3
|
-
width: "24",
|
|
4
|
-
height: "24",
|
|
5
|
-
viewBox: "0 0 24 24",
|
|
6
|
-
fill: "none",
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
9
|
-
d: "M19 18L14 18L14 6L19 6",
|
|
10
|
-
stroke: "currentColor",
|
|
11
|
-
strokeWidth: "2",
|
|
12
|
-
strokeLinecap: "round",
|
|
13
|
-
strokeLinejoin: "round"
|
|
14
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
-
d: "M5 6L10 6L9.99999 18L5 18",
|
|
16
|
-
stroke: "currentColor",
|
|
17
|
-
strokeWidth: "2",
|
|
18
|
-
strokeLinecap: "round",
|
|
19
|
-
strokeLinejoin: "round"
|
|
20
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
-
d: "M7 10L5 12L7 14",
|
|
22
|
-
stroke: "currentColor",
|
|
23
|
-
strokeWidth: "1.5",
|
|
24
|
-
strokeLinecap: "round",
|
|
25
|
-
strokeLinejoin: "round"
|
|
26
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
-
d: "M17 14L19 12L17 10",
|
|
28
|
-
stroke: "currentColor",
|
|
29
|
-
strokeWidth: "1.5",
|
|
30
|
-
strokeLinecap: "round",
|
|
31
|
-
strokeLinejoin: "round"
|
|
32
|
-
}));
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/useSharedPluginStateSelector';
|
|
2
|
-
/**
|
|
3
|
-
* **This hook is only for internal use and should not be used outside of the table plugin.**
|
|
4
|
-
*
|
|
5
|
-
* Hook to select a value from the internal table plugin state.
|
|
6
|
-
* This is a wrapper around `useSharedPluginStateSelector` to provide access to the entire
|
|
7
|
-
* `TableSharedStateInternal` type. Since tables plugin has a lot of internal state that is not
|
|
8
|
-
* exposed via the `TableSharedState` type, we need to use this hook to access it in a type safe way.
|
|
9
|
-
*
|
|
10
|
-
* @param api The editor API
|
|
11
|
-
* @param key Key of TableSharedStateInternal to select
|
|
12
|
-
* @param options
|
|
13
|
-
* @returns
|
|
14
|
-
* @example
|
|
15
|
-
*/
|
|
16
|
-
export var useInternalTablePluginStateSelector = function useInternalTablePluginStateSelector(api, key, options) {
|
|
17
|
-
// Need to disable the eslint rule here because the key is for the TableSharedStateInternal type
|
|
18
|
-
// and we are using it as a string to access the value in the useSharedPluginStateSelector
|
|
19
|
-
// which is typed only for the public TableSharedState type.
|
|
20
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
21
|
-
var value = useSharedPluginStateSelector(api, "table.".concat(key), options);
|
|
22
|
-
return value;
|
|
23
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export var AddColLeftIcon = function AddColLeftIcon() {
|
|
3
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
4
|
-
width: "24",
|
|
5
|
-
height: "24",
|
|
6
|
-
viewBox: "0 0 24 24",
|
|
7
|
-
fill: "currentColor",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
10
|
-
width: "24",
|
|
11
|
-
height: "24",
|
|
12
|
-
transform: "matrix(0 -1 1 0 0 24)",
|
|
13
|
-
fill: "none",
|
|
14
|
-
fillOpacity: "0.01"
|
|
15
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
16
|
-
x: "12",
|
|
17
|
-
y: "18",
|
|
18
|
-
width: "12",
|
|
19
|
-
height: "3",
|
|
20
|
-
rx: "0.5",
|
|
21
|
-
transform: "rotate(-90 12 18)",
|
|
22
|
-
fill: "currentColor"
|
|
23
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
24
|
-
x: "16",
|
|
25
|
-
y: "18",
|
|
26
|
-
width: "12",
|
|
27
|
-
height: "3",
|
|
28
|
-
rx: "0.5",
|
|
29
|
-
transform: "rotate(-90 16 18)",
|
|
30
|
-
fill: "currentColor"
|
|
31
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
32
|
-
fillRule: "evenodd",
|
|
33
|
-
clipRule: "evenodd",
|
|
34
|
-
d: "M7 11H5.99C5.72652 11.0026 5.47473 11.1092 5.28935 11.2964C5.10397 11.4837 4.99999 11.7365 5 12C5 12.556 5.444 13 5.99 13H7V14C7 14.2652 7.10536 14.5196 7.29289 14.7071C7.48043 14.8946 7.73478 15 8 15C8.26522 15 8.51957 14.8946 8.70711 14.7071C8.89464 14.5196 9 14.2652 9 14V13H10.01C10.2735 12.9974 10.5253 12.8908 10.7107 12.7036C10.896 12.5163 11 12.2635 11 12C11 11.444 10.556 11 10.01 11H9V10C9 9.73478 8.89464 9.48043 8.70711 9.29289C8.51957 9.10536 8.26522 9 8 9C7.73478 9 7.48043 9.10536 7.29289 9.29289C7.10536 9.48043 7 9.73478 7 10V11Z",
|
|
35
|
-
fill: "currentColor"
|
|
36
|
-
}));
|
|
37
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export var AddColRightIcon = function AddColRightIcon() {
|
|
3
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
4
|
-
width: "24",
|
|
5
|
-
height: "24",
|
|
6
|
-
viewBox: "0 0 24 24",
|
|
7
|
-
fill: "none",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
10
|
-
width: "24",
|
|
11
|
-
height: "24",
|
|
12
|
-
transform: "translate(0 24) rotate(-90)",
|
|
13
|
-
fill: "none",
|
|
14
|
-
fillOpacity: "0.01"
|
|
15
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
16
|
-
x: "9",
|
|
17
|
-
y: "18",
|
|
18
|
-
width: "12",
|
|
19
|
-
height: "3",
|
|
20
|
-
rx: "0.5",
|
|
21
|
-
transform: "rotate(-90 9 18)",
|
|
22
|
-
fill: "currentColor"
|
|
23
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
24
|
-
x: "5",
|
|
25
|
-
y: "18",
|
|
26
|
-
width: "12",
|
|
27
|
-
height: "3",
|
|
28
|
-
rx: "0.5",
|
|
29
|
-
transform: "rotate(-90 5 18)",
|
|
30
|
-
fill: "currentColor"
|
|
31
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
32
|
-
fillRule: "evenodd",
|
|
33
|
-
clipRule: "evenodd",
|
|
34
|
-
d: "M15 11L13.99 11C13.7265 11.0026 13.4747 11.1092 13.2893 11.2964C13.104 11.4837 13 11.7365 13 12C13 12.556 13.444 13 13.99 13L15 13L15 14C15 14.2652 15.1054 14.5196 15.2929 14.7071C15.4804 14.8946 15.7348 15 16 15C16.2652 15 16.5196 14.8946 16.7071 14.7071C16.8946 14.5196 17 14.2652 17 14L17 13L18.01 13C18.2735 12.9974 18.5253 12.8908 18.7107 12.7036C18.896 12.5163 19 12.2635 19 12C19 11.444 18.556 11 18.01 11L17 11L17 10C17 9.73478 16.8946 9.48043 16.7071 9.29289C16.5196 9.10536 16.2652 9 16 9C15.7348 9 15.4804 9.10536 15.2929 9.29289C15.1054 9.48043 15 9.73478 15 10L15 11Z",
|
|
35
|
-
fill: "currentColor"
|
|
36
|
-
}));
|
|
37
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export var AddRowAboveIcon = function AddRowAboveIcon() {
|
|
3
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
4
|
-
width: "24",
|
|
5
|
-
height: "24",
|
|
6
|
-
viewBox: "0 0 24 24",
|
|
7
|
-
fill: "none",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
10
|
-
width: "24",
|
|
11
|
-
height: "24",
|
|
12
|
-
fill: "var(--ds-border-inverse, #FFFFFF)",
|
|
13
|
-
fillOpacity: "0.01"
|
|
14
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
15
|
-
x: "6",
|
|
16
|
-
y: "12",
|
|
17
|
-
width: "12",
|
|
18
|
-
height: "3",
|
|
19
|
-
rx: "0.5",
|
|
20
|
-
fill: "currentColor"
|
|
21
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
22
|
-
x: "6",
|
|
23
|
-
y: "16",
|
|
24
|
-
width: "12",
|
|
25
|
-
height: "3",
|
|
26
|
-
rx: "0.5",
|
|
27
|
-
fill: "currentColor"
|
|
28
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
29
|
-
fillRule: "evenodd",
|
|
30
|
-
clipRule: "evenodd",
|
|
31
|
-
d: "M13 7V5.99C12.9974 5.72652 12.8908 5.47473 12.7036 5.28935C12.5163 5.10397 12.2635 4.99999 12 5C11.444 5 11 5.444 11 5.99V7H10C9.73478 7 9.48043 7.10536 9.29289 7.29289C9.10536 7.48043 9 7.73478 9 8C9 8.26522 9.10536 8.51957 9.29289 8.70711C9.48043 8.89464 9.73478 9 10 9H11V10.01C11.0026 10.2735 11.1092 10.5253 11.2964 10.7107C11.4837 10.896 11.7365 11 12 11C12.556 11 13 10.556 13 10.01V9H14C14.2652 9 14.5196 8.89464 14.7071 8.70711C14.8946 8.51957 15 8.26522 15 8C15 7.73478 14.8946 7.48043 14.7071 7.29289C14.5196 7.10536 14.2652 7 14 7H13Z",
|
|
32
|
-
fill: "currentColor"
|
|
33
|
-
}));
|
|
34
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export var AddRowBelowIcon = function AddRowBelowIcon() {
|
|
3
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
4
|
-
width: "24",
|
|
5
|
-
height: "24",
|
|
6
|
-
viewBox: "0 0 24 24",
|
|
7
|
-
fill: "none",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
10
|
-
width: "24",
|
|
11
|
-
height: "24",
|
|
12
|
-
transform: "matrix(-1 0 0 -1 24 24)",
|
|
13
|
-
fill: "var(--ds-border-inverse, #FFFFFF)",
|
|
14
|
-
fillOpacity: "0.01"
|
|
15
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
16
|
-
x: "18",
|
|
17
|
-
y: "12",
|
|
18
|
-
width: "12",
|
|
19
|
-
height: "3",
|
|
20
|
-
rx: "0.5",
|
|
21
|
-
transform: "rotate(-180 18 12)",
|
|
22
|
-
fill: "currentColor"
|
|
23
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
24
|
-
x: "18",
|
|
25
|
-
y: "8",
|
|
26
|
-
width: "12",
|
|
27
|
-
height: "3",
|
|
28
|
-
rx: "0.5",
|
|
29
|
-
transform: "rotate(-180 18 8)",
|
|
30
|
-
fill: "currentColor"
|
|
31
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
32
|
-
fillRule: "evenodd",
|
|
33
|
-
clipRule: "evenodd",
|
|
34
|
-
d: "M11 17V18.01C11.0026 18.2735 11.1092 18.5253 11.2964 18.7107C11.4837 18.896 11.7365 19 12 19C12.556 19 13 18.556 13 18.01V17H14C14.2652 17 14.5196 16.8946 14.7071 16.7071C14.8946 16.5196 15 16.2652 15 16C15 15.7348 14.8946 15.4804 14.7071 15.2929C14.5196 15.1054 14.2652 15 14 15H13V13.99C12.9974 13.7265 12.8908 13.4747 12.7036 13.2893C12.5163 13.104 12.2635 13 12 13C11.444 13 11 13.444 11 13.99V15H10C9.73478 15 9.48043 15.1054 9.29289 15.2929C9.10536 15.4804 9 15.7348 9 16C9 16.2652 9.10536 16.5196 9.29289 16.7071C9.48043 16.8946 9.73478 17 10 17H11Z",
|
|
35
|
-
fill: "currentColor"
|
|
36
|
-
}));
|
|
37
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export var MergeCellsIcon = function MergeCellsIcon() {
|
|
3
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
4
|
-
width: "24",
|
|
5
|
-
height: "24",
|
|
6
|
-
viewBox: "0 0 24 24",
|
|
7
|
-
fill: "none",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
10
|
-
fillRule: "evenodd",
|
|
11
|
-
clipRule: "evenodd",
|
|
12
|
-
d: "M10 19C10.5523 19 11 18.5523 11 18C11 17.4477 10.5523 17 10 17H6V7L10 7C10.5523 7 11 6.55228 11 6C11 5.44771 10.5523 5 10 5H6C4.89543 5 4 5.89543 4 7V17C4 18.1046 4.89543 19 6 19H10ZM14 5C13.4477 5 13 5.44772 13 6C13 6.55228 13.4477 7 14 7H18V17L14 17C13.4477 17 13 17.4477 13 18C13 18.5523 13.4477 19 14 19H18C19.1046 19 20 18.1046 20 17V7C20 5.89543 19.1046 5 18 5H14Z",
|
|
13
|
-
fill: "currentColor"
|
|
14
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
-
d: "M15.75 10L13.75 12L15.75 14",
|
|
16
|
-
stroke: "currentColor",
|
|
17
|
-
strokeWidth: "1.5",
|
|
18
|
-
strokeLinecap: "round",
|
|
19
|
-
strokeLinejoin: "round"
|
|
20
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
-
d: "M8.25 14L10.25 12L8.25 10",
|
|
22
|
-
stroke: "currentColor",
|
|
23
|
-
strokeWidth: "1.5",
|
|
24
|
-
strokeLinecap: "round",
|
|
25
|
-
strokeLinejoin: "round"
|
|
26
|
-
}));
|
|
27
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export var SplitCellIcon = function SplitCellIcon() {
|
|
3
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
4
|
-
width: "24",
|
|
5
|
-
height: "24",
|
|
6
|
-
viewBox: "0 0 24 24",
|
|
7
|
-
fill: "none",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
10
|
-
d: "M19 18L14 18L14 6L19 6",
|
|
11
|
-
stroke: "currentColor",
|
|
12
|
-
strokeWidth: "2",
|
|
13
|
-
strokeLinecap: "round",
|
|
14
|
-
strokeLinejoin: "round"
|
|
15
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
16
|
-
d: "M5 6L10 6L9.99999 18L5 18",
|
|
17
|
-
stroke: "currentColor",
|
|
18
|
-
strokeWidth: "2",
|
|
19
|
-
strokeLinecap: "round",
|
|
20
|
-
strokeLinejoin: "round"
|
|
21
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
-
d: "M7 10L5 12L7 14",
|
|
23
|
-
stroke: "currentColor",
|
|
24
|
-
strokeWidth: "1.5",
|
|
25
|
-
strokeLinecap: "round",
|
|
26
|
-
strokeLinejoin: "round"
|
|
27
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
28
|
-
d: "M17 14L19 12L17 10",
|
|
29
|
-
stroke: "currentColor",
|
|
30
|
-
strokeWidth: "1.5",
|
|
31
|
-
strokeLinecap: "round",
|
|
32
|
-
strokeLinejoin: "round"
|
|
33
|
-
}));
|
|
34
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
2
|
-
import type { TablePlugin } from '../../tablePluginType';
|
|
3
|
-
import type { TableSharedStateInternal } from '../../types';
|
|
4
|
-
type Options = {
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* **This hook is only for internal use and should not be used outside of the table plugin.**
|
|
9
|
-
*
|
|
10
|
-
* Hook to select a value from the internal table plugin state.
|
|
11
|
-
* This is a wrapper around `useSharedPluginStateSelector` to provide access to the entire
|
|
12
|
-
* `TableSharedStateInternal` type. Since tables plugin has a lot of internal state that is not
|
|
13
|
-
* exposed via the `TableSharedState` type, we need to use this hook to access it in a type safe way.
|
|
14
|
-
*
|
|
15
|
-
* @param api The editor API
|
|
16
|
-
* @param key Key of TableSharedStateInternal to select
|
|
17
|
-
* @param options
|
|
18
|
-
* @returns
|
|
19
|
-
* @example
|
|
20
|
-
*/
|
|
21
|
-
export declare const useInternalTablePluginStateSelector: <K extends keyof TableSharedStateInternal>(api: ExtractInjectionAPI<TablePlugin> | undefined, key: K, options?: Options) => TableSharedStateInternal[K] | undefined;
|
|
22
|
-
export {};
|