@atlaskit/editor-plugin-date 7.0.1 → 7.2.0

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,27 @@
1
1
  # @atlaskit/editor-plugin-date
2
2
 
3
+ ## 7.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`b367661ba720e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b367661ba720e) -
8
+ EDITOR-1562 bump adf-schema for afm
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 7.1.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [`64ec65231b4cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64ec65231b4cf) -
19
+ EDITOR-1568 bump adf-schema for afm
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 7.0.1
4
26
 
5
27
  ### Patch Changes
@@ -168,6 +168,9 @@ var datePlugin = function datePlugin(_ref3) {
168
168
  popupsMountPoint = _ref5.popupsMountPoint,
169
169
  popupsBoundariesElement = _ref5.popupsBoundariesElement,
170
170
  popupsScrollableElement = _ref5.popupsScrollableElement;
171
+ if (!editorView) {
172
+ return null;
173
+ }
171
174
  return /*#__PURE__*/_react.default.createElement(ContentComponent, {
172
175
  dependencyApi: api,
173
176
  editorView: editorView,
@@ -1,4 +1,4 @@
1
- /* date-picker-input.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* date-picker-input.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -159,6 +159,9 @@ const datePlugin = ({
159
159
  popupsBoundariesElement,
160
160
  popupsScrollableElement
161
161
  }) {
162
+ if (!editorView) {
163
+ return null;
164
+ }
162
165
  return /*#__PURE__*/React.createElement(ContentComponent, {
163
166
  dependencyApi: api,
164
167
  editorView: editorView,
@@ -1,4 +1,4 @@
1
- /* date-picker-input.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* date-picker-input.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./date-picker-input.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -157,6 +157,9 @@ var datePlugin = function datePlugin(_ref3) {
157
157
  popupsMountPoint = _ref5.popupsMountPoint,
158
158
  popupsBoundariesElement = _ref5.popupsBoundariesElement,
159
159
  popupsScrollableElement = _ref5.popupsScrollableElement;
160
+ if (!editorView) {
161
+ return null;
162
+ }
160
163
  return /*#__PURE__*/React.createElement(ContentComponent, {
161
164
  dependencyApi: api,
162
165
  editorView: editorView,
@@ -1,4 +1,4 @@
1
- /* date-picker-input.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* date-picker-input.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-date",
3
- "version": "7.0.1",
3
+ "version": "7.2.0",
4
4
  "description": "Date plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,23 +29,23 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^51.0.0",
32
+ "@atlaskit/adf-schema": "^51.1.2",
33
33
  "@atlaskit/calendar": "^17.1.0",
34
34
  "@atlaskit/css": "^0.14.0",
35
35
  "@atlaskit/date": "^2.0.0",
36
- "@atlaskit/editor-plugin-analytics": "^5.0.0",
37
- "@atlaskit/editor-plugin-annotation": "^5.0.0",
36
+ "@atlaskit/editor-plugin-analytics": "^5.2.0",
37
+ "@atlaskit/editor-plugin-annotation": "^5.3.0",
38
38
  "@atlaskit/editor-plugin-editor-disabled": "^5.0.0",
39
39
  "@atlaskit/editor-plugin-editor-viewmode": "^7.0.0",
40
40
  "@atlaskit/editor-prosemirror": "7.0.0",
41
41
  "@atlaskit/editor-shared-styles": "^3.6.0",
42
- "@atlaskit/form": "^12.5.0",
42
+ "@atlaskit/form": "^12.6.0",
43
43
  "@atlaskit/icon": "^28.1.0",
44
44
  "@atlaskit/locale": "^3.0.0",
45
45
  "@atlaskit/platform-feature-flags": "^1.1.0",
46
46
  "@atlaskit/textfield": "^8.0.0",
47
47
  "@atlaskit/theme": "^21.0.0",
48
- "@atlaskit/tmp-editor-statsig": "^12.10.0",
48
+ "@atlaskit/tmp-editor-statsig": "^12.18.0",
49
49
  "@atlaskit/tokens": "^6.3.0",
50
50
  "@atlaskit/visually-hidden": "^3.0.0",
51
51
  "@babel/runtime": "^7.0.0",
@@ -62,14 +62,14 @@
62
62
  "@atlaskit/editor-plugin-guideline": "^5.0.0",
63
63
  "@atlaskit/editor-plugin-quick-insert": "^5.0.0",
64
64
  "@atlaskit/editor-plugin-selection": "^5.0.0",
65
- "@atlaskit/editor-plugin-table": "^14.0.0",
66
- "@atlaskit/editor-plugin-tasks-and-decisions": "^8.0.0",
67
- "@atlaskit/editor-plugin-type-ahead": "^5.0.0",
65
+ "@atlaskit/editor-plugin-table": "^14.2.0",
66
+ "@atlaskit/editor-plugin-tasks-and-decisions": "^8.4.0",
67
+ "@atlaskit/editor-plugin-type-ahead": "^5.2.0",
68
68
  "@atlaskit/editor-plugin-width": "^6.0.0",
69
69
  "@testing-library/react": "^13.4.0"
70
70
  },
71
71
  "peerDependencies": {
72
- "@atlaskit/editor-common": "^109.1.0",
72
+ "@atlaskit/editor-common": "^109.5.0",
73
73
  "react": "^18.2.0",
74
74
  "react-dom": "^18.2.0"
75
75
  },