@atlaskit/editor-plugin-date 21.1.0 → 21.1.1

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,11 @@
1
1
  # @atlaskit/editor-plugin-date
2
2
 
3
+ ## 21.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 21.1.0
4
10
 
5
11
  ### Minor Changes
@@ -9,6 +9,7 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
9
9
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
  var _reactLoadable = _interopRequireDefault(require("react-loadable"));
12
+ var _reactLooselyLazy = require("react-loosely-lazy");
12
13
  var _date = require("@atlaskit/adf-schema/date");
13
14
  var _analytics = require("@atlaskit/editor-common/analytics");
14
15
  var _hooks = require("@atlaskit/editor-common/hooks");
@@ -21,7 +22,6 @@ var _utils2 = require("@atlaskit/editor-prosemirror/utils");
21
22
  var _comment = _interopRequireDefault(require("@atlaskit/icon/core/comment"));
22
23
  var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
23
24
  var _fg = require("@atlaskit/platform-feature-flags/fg");
24
- var _reactLooselyLazy = require("react-loosely-lazy");
25
25
  var _actions = require("./pm-plugins/actions");
26
26
  var _commands = require("./pm-plugins/commands");
27
27
  var _keymap = _interopRequireDefault(require("./pm-plugins/keymap"));
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
2
  import Loadable from 'react-loadable';
3
+ // oxlint-disable-next-line @atlassian/no-restricted-imports
4
+ import { lazyForPaint, LazySuspense } from 'react-loosely-lazy';
3
5
  import { date, dateWithLocalId } from '@atlaskit/adf-schema/date';
4
6
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
5
7
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
@@ -12,8 +14,6 @@ import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
12
14
  import CommentIcon from '@atlaskit/icon/core/comment';
13
15
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
14
16
  import { fg } from '@atlaskit/platform-feature-flags/fg';
15
- // oxlint-disable-next-line @atlassian/no-restricted-imports
16
- import { lazyForPaint, LazySuspense } from 'react-loosely-lazy';
17
17
  import { closeDatePicker, closeDatePickerWithAnalytics, createDate } from './pm-plugins/actions';
18
18
  import { deleteDateCommand, insertDateCommand } from './pm-plugins/commands';
19
19
  import keymap from './pm-plugins/keymap';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { default as datePlugin } from '../datePlugin';
@@ -3,6 +3,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  import React from 'react';
5
5
  import Loadable from 'react-loadable';
6
+ // oxlint-disable-next-line @atlassian/no-restricted-imports
7
+ import { lazyForPaint, LazySuspense } from 'react-loosely-lazy';
6
8
  import { date, dateWithLocalId } from '@atlaskit/adf-schema/date';
7
9
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
8
10
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
@@ -15,8 +17,6 @@ import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
15
17
  import CommentIcon from '@atlaskit/icon/core/comment';
16
18
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
17
19
  import { fg } from '@atlaskit/platform-feature-flags/fg';
18
- // oxlint-disable-next-line @atlassian/no-restricted-imports
19
- import { lazyForPaint, LazySuspense } from 'react-loosely-lazy';
20
20
  import { closeDatePicker as _closeDatePicker, closeDatePickerWithAnalytics as _closeDatePickerWithAnalytics, createDate } from './pm-plugins/actions';
21
21
  import { deleteDateCommand, insertDateCommand } from './pm-plugins/commands';
22
22
  import keymap from './pm-plugins/keymap';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { default as datePlugin } from '../datePlugin';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-date",
3
- "version": "21.1.0",
3
+ "version": "21.1.1",
4
4
  "description": "Date plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/platform-feature-experiments": "^0.3.0",
39
39
  "@atlaskit/platform-feature-flags": "^2.2.0",
40
40
  "@atlaskit/textfield": "^10.2.0",
41
- "@atlaskit/tmp-editor-statsig": "^200.0.0",
41
+ "@atlaskit/tmp-editor-statsig": "^201.0.0",
42
42
  "@atlaskit/tokens": "^18.2.0",
43
43
  "@atlaskit/visually-hidden": "^4.4.0",
44
44
  "@babel/runtime": "^7.0.0",
@@ -54,7 +54,7 @@
54
54
  "react-intl": "^7.0.0"
55
55
  },
56
56
  "peerDependencies": {
57
- "@atlaskit/editor-common": "^123.0.0",
57
+ "@atlaskit/editor-common": "^123.2.0",
58
58
  "react": "^18.2.0 || ^19.2.0",
59
59
  "react-dom": "^18.2.0 || ^19.2.0",
60
60
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"