@atlaskit/editor-plugin-table 10.3.0 → 10.3.2
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 +15 -0
- package/dist/cjs/nodeviews/TableComponentWithSharedState.js +1 -1
- package/dist/cjs/ui/toolbar.js +1 -1
- package/dist/es2019/nodeviews/TableComponentWithSharedState.js +1 -1
- package/dist/es2019/ui/toolbar.js +1 -1
- package/dist/esm/nodeviews/TableComponentWithSharedState.js +1 -1
- package/dist/esm/ui/toolbar.js +1 -1
- package/package.json +4 -4
- package/src/nodeviews/TableComponentWithSharedState.tsx +1 -1
- package/src/ui/common-styles.ts +3 -3
- package/src/ui/toolbar.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 10.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#122372](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/122372)
|
|
8
|
+
[`888a32882ccad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/888a32882ccad) -
|
|
9
|
+
[ED-26327] Disable corner control on live page view mode
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 10.3.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 10.3.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -79,7 +79,7 @@ var TableComponentWithSharedState = exports.TableComponentWithSharedState = func
|
|
|
79
79
|
isTableScalingEnabled: options === null || options === void 0 ? void 0 : options.isTableScalingEnabled,
|
|
80
80
|
allowTableAlignment: allowTableAlignment,
|
|
81
81
|
allowTableResizing: allowTableResizing,
|
|
82
|
-
tableActive: tableActive,
|
|
82
|
+
tableActive: tableActive && !isLivePageViewMode,
|
|
83
83
|
ordering: ordering,
|
|
84
84
|
isResizing: isResizing,
|
|
85
85
|
getNode: getNode
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -680,7 +680,7 @@ var getAlignmentOptionsConfig = function getAlignmentOptionsConfig(editorState,
|
|
|
680
680
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
681
681
|
}, props));
|
|
682
682
|
},
|
|
683
|
-
width:
|
|
683
|
+
width: 74,
|
|
684
684
|
height: 32
|
|
685
685
|
};
|
|
686
686
|
var selectedAlignmentIcon = getSelectedAlignmentIcon(alignmentIcons, tableObject.node);
|
|
@@ -76,7 +76,7 @@ export const TableComponentWithSharedState = ({
|
|
|
76
76
|
isTableScalingEnabled: options === null || options === void 0 ? void 0 : options.isTableScalingEnabled,
|
|
77
77
|
allowTableAlignment: allowTableAlignment,
|
|
78
78
|
allowTableResizing: allowTableResizing,
|
|
79
|
-
tableActive: tableActive,
|
|
79
|
+
tableActive: tableActive && !isLivePageViewMode,
|
|
80
80
|
ordering: ordering,
|
|
81
81
|
isResizing: isResizing,
|
|
82
82
|
getNode: getNode
|
|
@@ -634,7 +634,7 @@ const getAlignmentOptionsConfig = (editorState, {
|
|
|
634
634
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
635
635
|
}, props));
|
|
636
636
|
},
|
|
637
|
-
width:
|
|
637
|
+
width: 74,
|
|
638
638
|
height: 32
|
|
639
639
|
};
|
|
640
640
|
const selectedAlignmentIcon = getSelectedAlignmentIcon(alignmentIcons, tableObject.node);
|
|
@@ -73,7 +73,7 @@ export var TableComponentWithSharedState = function TableComponentWithSharedStat
|
|
|
73
73
|
isTableScalingEnabled: options === null || options === void 0 ? void 0 : options.isTableScalingEnabled,
|
|
74
74
|
allowTableAlignment: allowTableAlignment,
|
|
75
75
|
allowTableResizing: allowTableResizing,
|
|
76
|
-
tableActive: tableActive,
|
|
76
|
+
tableActive: tableActive && !isLivePageViewMode,
|
|
77
77
|
ordering: ordering,
|
|
78
78
|
isResizing: isResizing,
|
|
79
79
|
getNode: getNode
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -672,7 +672,7 @@ var getAlignmentOptionsConfig = function getAlignmentOptionsConfig(editorState,
|
|
|
672
672
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
673
673
|
}, props));
|
|
674
674
|
},
|
|
675
|
-
width:
|
|
675
|
+
width: 74,
|
|
676
676
|
height: 32
|
|
677
677
|
};
|
|
678
678
|
var selectedAlignmentIcon = getSelectedAlignmentIcon(alignmentIcons, tableObject.node);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.2",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
33
33
|
"@atlaskit/button": "^21.1.0",
|
|
34
34
|
"@atlaskit/custom-steps": "^0.11.0",
|
|
35
|
-
"@atlaskit/editor-common": "^
|
|
35
|
+
"@atlaskit/editor-common": "^101.1.0",
|
|
36
36
|
"@atlaskit/editor-palette": "2.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-accessibility-utils": "^2.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^2.1.0",
|
|
39
|
-
"@atlaskit/editor-plugin-batch-attribute-updates": "2.1.
|
|
39
|
+
"@atlaskit/editor-plugin-batch-attribute-updates": "2.1.1",
|
|
40
40
|
"@atlaskit/editor-plugin-content-insertion": "^2.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-editor-viewmode": "^3.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-guideline": "^2.0.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
53
53
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
|
|
54
54
|
"@atlaskit/primitives": "^14.1.0",
|
|
55
|
-
"@atlaskit/theme": "^
|
|
55
|
+
"@atlaskit/theme": "^18.0.0",
|
|
56
56
|
"@atlaskit/tmp-editor-statsig": "^3.4.0",
|
|
57
57
|
"@atlaskit/toggle": "^15.0.0",
|
|
58
58
|
"@atlaskit/tokens": "^4.3.0",
|
|
@@ -110,7 +110,7 @@ export const TableComponentWithSharedState = ({
|
|
|
110
110
|
isTableScalingEnabled={options?.isTableScalingEnabled}
|
|
111
111
|
allowTableAlignment={allowTableAlignment}
|
|
112
112
|
allowTableResizing={allowTableResizing}
|
|
113
|
-
tableActive={tableActive}
|
|
113
|
+
tableActive={tableActive && !isLivePageViewMode}
|
|
114
114
|
ordering={ordering}
|
|
115
115
|
isResizing={isResizing}
|
|
116
116
|
getNode={getNode}
|
package/src/ui/common-styles.ts
CHANGED
|
@@ -742,7 +742,7 @@ export const baseTableStyles = (props: { featureFlags?: FeatureFlags }) => css`
|
|
|
742
742
|
display: grid;
|
|
743
743
|
align-items: center;
|
|
744
744
|
position: absolute;
|
|
745
|
-
z-index: ${fg('platform_editor_table_column_selected_state_fix')
|
|
745
|
+
z-index: ${fg('platform_editor_table_column_selected_state_fix')
|
|
746
746
|
? rowControlsZIndex + 4
|
|
747
747
|
: akEditorUnitZIndex};
|
|
748
748
|
|
|
@@ -1126,8 +1126,8 @@ export const baseTableStyles = (props: { featureFlags?: FeatureFlags }) => css`
|
|
|
1126
1126
|
position: absolute;
|
|
1127
1127
|
margin-top: ${tableMarginTop}px;
|
|
1128
1128
|
left: -${tableToolbarSize + 1}px;
|
|
1129
|
-
${fg('platform_editor_table_column_selected_state_fix')
|
|
1130
|
-
? ''
|
|
1129
|
+
${fg('platform_editor_table_column_selected_state_fix')
|
|
1130
|
+
? ''
|
|
1131
1131
|
: `z-index: ${rowControlsZIndex + 4}`}
|
|
1132
1132
|
}
|
|
1133
1133
|
|