@atlaskit/editor-plugin-date 10.0.11 → 10.0.12

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
+ ## 10.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 10.0.11
4
10
 
5
11
  ### Patch Changes
@@ -78,7 +78,7 @@ function ContentComponent(_ref) {
78
78
  element: dateNode,
79
79
  isNew: isNew,
80
80
  autoFocus: focusDateInput
81
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
81
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
82
82
  ,
83
83
  onDelete: function onDelete() {
84
84
  var _dependencyApi$core;
@@ -88,7 +88,7 @@ function ContentComponent(_ref) {
88
88
  dependencyApi === null || dependencyApi === void 0 || (_dependencyApi$core = dependencyApi.core) === null || _dependencyApi$core === void 0 || _dependencyApi$core.actions.execute((0, _commands.deleteDateCommand)(dependencyApi));
89
89
  editorView === null || editorView === void 0 || editorView.focus();
90
90
  }
91
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
91
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
92
92
  ,
93
93
  onSelect: function onSelect(date, commitMethod) {
94
94
  var _dependencyApi$core2;
@@ -105,7 +105,7 @@ function ContentComponent(_ref) {
105
105
  }));
106
106
  editorView === null || editorView === void 0 || editorView.focus();
107
107
  }
108
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
108
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
109
109
  ,
110
110
  onTextChanged: function onTextChanged(date) {
111
111
  var _dependencyApi$core3;
@@ -114,7 +114,7 @@ function ContentComponent(_ref) {
114
114
  enterPressed: false
115
115
  }));
116
116
  }
117
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
117
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
118
118
  ,
119
119
  closeDatePicker: function closeDatePicker() {
120
120
  if (!editorView) {
@@ -123,7 +123,7 @@ function ContentComponent(_ref) {
123
123
  (0, _actions.closeDatePicker)()(editorView.state, editorView.dispatch);
124
124
  editorView === null || editorView === void 0 || editorView.focus();
125
125
  }
126
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
126
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
127
127
  ,
128
128
  closeDatePickerWithAnalytics: function closeDatePickerWithAnalytics(_ref2) {
129
129
  var date = _ref2.date;
@@ -139,7 +139,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
139
139
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
140
140
  , {
141
141
  target: element
142
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
142
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
143
143
  ,
144
144
  offset: [0, 8],
145
145
  fitHeight: 370,
@@ -173,7 +173,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
173
173
  autoSelectAll: isNew
174
174
  }), /*#__PURE__*/_react.default.createElement(_calendar.default, {
175
175
  onChange: _this2.handleOnChange
176
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
176
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
177
177
  ,
178
178
  onSelect: function onSelect(date) {
179
179
  return _onSelect(date, _analytics.INPUT_METHOD.PICKER);
@@ -65,7 +65,7 @@ function ContentComponent({
65
65
  element: dateNode,
66
66
  isNew: isNew,
67
67
  autoFocus: focusDateInput
68
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
68
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
69
69
  ,
70
70
  onDelete: () => {
71
71
  var _dependencyApi$core;
@@ -75,7 +75,7 @@ function ContentComponent({
75
75
  dependencyApi === null || dependencyApi === void 0 ? void 0 : (_dependencyApi$core = dependencyApi.core) === null || _dependencyApi$core === void 0 ? void 0 : _dependencyApi$core.actions.execute(deleteDateCommand(dependencyApi));
76
76
  editorView === null || editorView === void 0 ? void 0 : editorView.focus();
77
77
  }
78
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
78
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
79
79
  ,
80
80
  onSelect: (date, commitMethod) => {
81
81
  var _dependencyApi$core2;
@@ -92,7 +92,7 @@ function ContentComponent({
92
92
  }));
93
93
  editorView === null || editorView === void 0 ? void 0 : editorView.focus();
94
94
  }
95
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
95
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
96
96
  ,
97
97
  onTextChanged: date => {
98
98
  var _dependencyApi$core3;
@@ -101,7 +101,7 @@ function ContentComponent({
101
101
  enterPressed: false
102
102
  }));
103
103
  }
104
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
104
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
105
105
  ,
106
106
  closeDatePicker: () => {
107
107
  if (!editorView) {
@@ -110,7 +110,7 @@ function ContentComponent({
110
110
  closeDatePicker()(editorView.state, editorView.dispatch);
111
111
  editorView === null || editorView === void 0 ? void 0 : editorView.focus();
112
112
  }
113
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
113
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
114
114
  ,
115
115
  closeDatePickerWithAnalytics: ({
116
116
  date
@@ -125,7 +125,7 @@ class DatePicker extends React.Component {
125
125
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
126
126
  , {
127
127
  target: element
128
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
128
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
129
129
  ,
130
130
  offset: [0, 8],
131
131
  fitHeight: 370,
@@ -154,7 +154,7 @@ class DatePicker extends React.Component {
154
154
  autoSelectAll: isNew
155
155
  }), /*#__PURE__*/React.createElement(Calendar, {
156
156
  onChange: this.handleOnChange
157
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
157
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
158
158
  ,
159
159
  onSelect: date => onSelect(date, INPUT_METHOD.PICKER),
160
160
  day: day,
@@ -67,7 +67,7 @@ function ContentComponent(_ref) {
67
67
  element: dateNode,
68
68
  isNew: isNew,
69
69
  autoFocus: focusDateInput
70
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
70
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
71
71
  ,
72
72
  onDelete: function onDelete() {
73
73
  var _dependencyApi$core;
@@ -77,7 +77,7 @@ function ContentComponent(_ref) {
77
77
  dependencyApi === null || dependencyApi === void 0 || (_dependencyApi$core = dependencyApi.core) === null || _dependencyApi$core === void 0 || _dependencyApi$core.actions.execute(deleteDateCommand(dependencyApi));
78
78
  editorView === null || editorView === void 0 || editorView.focus();
79
79
  }
80
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
80
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
81
81
  ,
82
82
  onSelect: function onSelect(date, commitMethod) {
83
83
  var _dependencyApi$core2;
@@ -94,7 +94,7 @@ function ContentComponent(_ref) {
94
94
  }));
95
95
  editorView === null || editorView === void 0 || editorView.focus();
96
96
  }
97
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
97
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
98
98
  ,
99
99
  onTextChanged: function onTextChanged(date) {
100
100
  var _dependencyApi$core3;
@@ -103,7 +103,7 @@ function ContentComponent(_ref) {
103
103
  enterPressed: false
104
104
  }));
105
105
  }
106
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
106
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
107
107
  ,
108
108
  closeDatePicker: function closeDatePicker() {
109
109
  if (!editorView) {
@@ -112,7 +112,7 @@ function ContentComponent(_ref) {
112
112
  _closeDatePicker()(editorView.state, editorView.dispatch);
113
113
  editorView === null || editorView === void 0 || editorView.focus();
114
114
  }
115
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
115
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
116
116
  ,
117
117
  closeDatePickerWithAnalytics: function closeDatePickerWithAnalytics(_ref2) {
118
118
  var date = _ref2.date;
@@ -133,7 +133,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
133
133
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
134
134
  , {
135
135
  target: element
136
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
136
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
137
137
  ,
138
138
  offset: [0, 8],
139
139
  fitHeight: 370,
@@ -167,7 +167,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
167
167
  autoSelectAll: isNew
168
168
  }), /*#__PURE__*/React.createElement(Calendar, {
169
169
  onChange: _this2.handleOnChange
170
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
170
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
171
171
  ,
172
172
  onSelect: function onSelect(date) {
173
173
  return _onSelect(date, INPUT_METHOD.PICKER);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-date",
3
- "version": "10.0.11",
3
+ "version": "10.0.12",
4
4
  "description": "Date plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/textfield": "^8.2.0",
46
46
  "@atlaskit/theme": "^22.0.0",
47
- "@atlaskit/tmp-editor-statsig": "^44.0.0",
47
+ "@atlaskit/tmp-editor-statsig": "^45.0.0",
48
48
  "@atlaskit/tokens": "^11.1.0",
49
49
  "@atlaskit/visually-hidden": "^3.0.0",
50
50
  "@babel/runtime": "^7.0.0",
@@ -57,7 +57,7 @@
57
57
  "@testing-library/react": "^16.3.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@atlaskit/editor-common": "^112.7.0",
60
+ "@atlaskit/editor-common": "^112.8.0",
61
61
  "react": "^18.2.0",
62
62
  "react-dom": "^18.2.0"
63
63
  },