@atlaskit/editor-plugin-date 2.2.1 → 2.2.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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-date
|
|
2
2
|
|
|
3
|
+
## 2.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#125980](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/125980)
|
|
8
|
+
[`93070430085a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93070430085a6) -
|
|
9
|
+
fix editor popup overflow issue
|
|
10
|
+
|
|
3
11
|
## 2.2.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -136,7 +136,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
136
136
|
return (0, _react2.jsx)(PopupWithListeners, {
|
|
137
137
|
target: element,
|
|
138
138
|
offset: [0, 8],
|
|
139
|
-
fitHeight:
|
|
139
|
+
fitHeight: 370,
|
|
140
140
|
fitWidth: 340,
|
|
141
141
|
handleClickOutside: this.closeDatePickerWithAnalytics,
|
|
142
142
|
handleEscapeKeydown: this.closeDatePickerWithAnalytics,
|
|
@@ -144,7 +144,8 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
144
144
|
mountTo: mountTo,
|
|
145
145
|
boundariesElement: boundariesElement,
|
|
146
146
|
scrollableElement: scrollableElement,
|
|
147
|
-
ariaLabel: null
|
|
147
|
+
ariaLabel: null,
|
|
148
|
+
preventOverflow: true
|
|
148
149
|
}, (0, _react2.jsx)("div", {
|
|
149
150
|
css: popupContentWrapper
|
|
150
151
|
}, (0, _react2.jsx)(_datePickerInput.default, {
|
|
@@ -124,7 +124,7 @@ class DatePicker extends React.Component {
|
|
|
124
124
|
return jsx(PopupWithListeners, {
|
|
125
125
|
target: element,
|
|
126
126
|
offset: [0, 8],
|
|
127
|
-
fitHeight:
|
|
127
|
+
fitHeight: 370,
|
|
128
128
|
fitWidth: 340,
|
|
129
129
|
handleClickOutside: this.closeDatePickerWithAnalytics,
|
|
130
130
|
handleEscapeKeydown: this.closeDatePickerWithAnalytics,
|
|
@@ -132,7 +132,8 @@ class DatePicker extends React.Component {
|
|
|
132
132
|
mountTo: mountTo,
|
|
133
133
|
boundariesElement: boundariesElement,
|
|
134
134
|
scrollableElement: scrollableElement,
|
|
135
|
-
ariaLabel: null
|
|
135
|
+
ariaLabel: null,
|
|
136
|
+
preventOverflow: true
|
|
136
137
|
}, jsx("div", {
|
|
137
138
|
css: popupContentWrapper
|
|
138
139
|
}, jsx(DatePickerInput, {
|
|
@@ -133,7 +133,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
133
133
|
return jsx(PopupWithListeners, {
|
|
134
134
|
target: element,
|
|
135
135
|
offset: [0, 8],
|
|
136
|
-
fitHeight:
|
|
136
|
+
fitHeight: 370,
|
|
137
137
|
fitWidth: 340,
|
|
138
138
|
handleClickOutside: this.closeDatePickerWithAnalytics,
|
|
139
139
|
handleEscapeKeydown: this.closeDatePickerWithAnalytics,
|
|
@@ -141,7 +141,8 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
141
141
|
mountTo: mountTo,
|
|
142
142
|
boundariesElement: boundariesElement,
|
|
143
143
|
scrollableElement: scrollableElement,
|
|
144
|
-
ariaLabel: null
|
|
144
|
+
ariaLabel: null,
|
|
145
|
+
preventOverflow: true
|
|
145
146
|
}, jsx("div", {
|
|
146
147
|
css: popupContentWrapper
|
|
147
148
|
}, jsx(DatePickerInput, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-date",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "Date plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@atlaskit/adf-schema": "^40.3.0",
|
|
36
36
|
"@atlaskit/calendar": "^14.4.0",
|
|
37
37
|
"@atlaskit/date": "^0.10.0",
|
|
38
|
-
"@atlaskit/editor-common": "^87.
|
|
38
|
+
"@atlaskit/editor-common": "^87.2.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.6.0",
|
|
40
40
|
"@atlaskit/editor-plugin-editor-disabled": "^1.2.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "5.0.1",
|