@atlaskit/editor-plugin-date 18.0.8 → 18.1.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 +17 -0
- package/dist/cjs/ui/DatePicker/date-picker-input.js +1 -1
- package/dist/cjs/ui/DatePicker/index.js +1 -1
- package/dist/es2019/ui/DatePicker/date-picker-input.js +1 -1
- package/dist/es2019/ui/DatePicker/index.js +1 -1
- package/dist/esm/ui/DatePicker/date-picker-input.js +1 -1
- package/dist/esm/ui/DatePicker/index.js +1 -1
- package/package.json +14 -14
- package/report.api.md +0 -90
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-date
|
|
2
2
|
|
|
3
|
+
## 18.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
|
|
8
|
+
Remove stale API report artifacts from published Platform packages.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 18.0.9
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 18.0.8
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -245,6 +245,6 @@ var DatePickerInput = /*#__PURE__*/function (_React$Component) {
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
}]);
|
|
248
|
-
}(_react.default.Component); // eslint-disable-next-line @typescript-eslint/
|
|
248
|
+
}(_react.default.Component); // eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
249
249
|
var _default_1 = (0, _reactIntl.injectIntl)(DatePickerInput);
|
|
250
250
|
var _default = exports.default = _default_1;
|
|
@@ -185,6 +185,6 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
185
185
|
}));
|
|
186
186
|
}
|
|
187
187
|
}]);
|
|
188
|
-
}(_react.default.Component); // eslint-disable-next-line @typescript-eslint/
|
|
188
|
+
}(_react.default.Component); // eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
189
189
|
var _default_1 = (0, _reactIntl.injectIntl)(DatePicker);
|
|
190
190
|
var _default = exports.default = _default_1;
|
|
@@ -238,6 +238,6 @@ class DatePickerInput extends React.Component {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
241
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
242
242
|
const _default_1 = injectIntl(DatePickerInput);
|
|
243
243
|
export default _default_1;
|
|
@@ -168,6 +168,6 @@ class DatePicker extends React.Component {
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
171
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
172
172
|
const _default_1 = injectIntl(DatePicker);
|
|
173
173
|
export default _default_1;
|
|
@@ -239,6 +239,6 @@ var DatePickerInput = /*#__PURE__*/function (_React$Component) {
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
}]);
|
|
242
|
-
}(React.Component); // eslint-disable-next-line @typescript-eslint/
|
|
242
|
+
}(React.Component); // eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
243
243
|
var _default_1 = injectIntl(DatePickerInput);
|
|
244
244
|
export default _default_1;
|
|
@@ -179,6 +179,6 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
179
179
|
}));
|
|
180
180
|
}
|
|
181
181
|
}]);
|
|
182
|
-
}(React.Component); // eslint-disable-next-line @typescript-eslint/
|
|
182
|
+
}(React.Component); // eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
183
183
|
var _default_1 = injectIntl(DatePicker);
|
|
184
184
|
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-date",
|
|
3
|
-
"version": "18.0
|
|
3
|
+
"version": "18.1.0",
|
|
4
4
|
"description": "Date plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,25 +22,25 @@
|
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/adf-schema": "^57.2.0",
|
|
25
|
-
"@atlaskit/calendar": "^19.
|
|
25
|
+
"@atlaskit/calendar": "^19.2.0",
|
|
26
26
|
"@atlaskit/css": "^1.1.0",
|
|
27
|
-
"@atlaskit/editor-plugin-analytics": "^16.
|
|
27
|
+
"@atlaskit/editor-plugin-analytics": "^16.1.0",
|
|
28
28
|
"@atlaskit/editor-plugin-annotation": "^16.0.0",
|
|
29
|
-
"@atlaskit/editor-plugin-editor-disabled": "^16.
|
|
29
|
+
"@atlaskit/editor-plugin-editor-disabled": "^16.1.0",
|
|
30
30
|
"@atlaskit/editor-plugin-editor-viewmode": "^18.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
|
|
32
32
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
33
|
-
"@atlaskit/editor-shared-styles": "^4.
|
|
33
|
+
"@atlaskit/editor-shared-styles": "^4.1.0",
|
|
34
34
|
"@atlaskit/editor-ui-control-model": "^2.9.0",
|
|
35
|
-
"@atlaskit/form": "^17.
|
|
36
|
-
"@atlaskit/icon": "^37.
|
|
37
|
-
"@atlaskit/locale": "^5.
|
|
35
|
+
"@atlaskit/form": "^17.2.0",
|
|
36
|
+
"@atlaskit/icon": "^37.6.0",
|
|
37
|
+
"@atlaskit/locale": "^5.2.0",
|
|
38
38
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
39
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
40
|
-
"@atlaskit/textfield": "^10.
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
42
|
-
"@atlaskit/tokens": "^16.
|
|
43
|
-
"@atlaskit/visually-hidden": "^4.
|
|
39
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
40
|
+
"@atlaskit/textfield": "^10.2.0",
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
42
|
+
"@atlaskit/tokens": "^16.10.0",
|
|
43
|
+
"@atlaskit/visually-hidden": "^4.4.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"bind-event-listener": "^3.0.0",
|
|
46
46
|
"date-fns": "^2.17.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"react-intl": "^7.0.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atlaskit/editor-common": "^120.
|
|
56
|
+
"@atlaskit/editor-common": "^120.9.0",
|
|
57
57
|
"react": "^18.2.0 || ^19.2.0",
|
|
58
58
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
59
59
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
package/report.api.md
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
<!-- API Report Version: 2.3 -->
|
|
2
|
-
|
|
3
|
-
## API Report File for "@atlaskit/editor-plugin-date"
|
|
4
|
-
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
6
|
-
> [API Extractor](https://api-extractor.com/).
|
|
7
|
-
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
8
|
-
|
|
9
|
-
### Table of contents
|
|
10
|
-
|
|
11
|
-
- [Main Entry Types](#main-entry-types)
|
|
12
|
-
- [Peer Dependencies](#peer-dependencies)
|
|
13
|
-
|
|
14
|
-
### Main Entry Types
|
|
15
|
-
|
|
16
|
-
<!--SECTION START: Main Entry Types-->
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
20
|
-
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
21
|
-
import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
22
|
-
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
23
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
24
|
-
import type { TOOLBAR_MENU_TYPE } from '@atlaskit/editor-common/types';
|
|
25
|
-
import type { WeekDay } from '@atlaskit/calendar/types';
|
|
26
|
-
|
|
27
|
-
// @public (undocumented)
|
|
28
|
-
export type DatePlugin = NextEditorPlugin<
|
|
29
|
-
'date',
|
|
30
|
-
{
|
|
31
|
-
pluginConfiguration: DatePluginConfig | undefined;
|
|
32
|
-
dependencies: [typeof analyticsPlugin, EditorDisabledPlugin];
|
|
33
|
-
sharedState: DatePluginSharedState;
|
|
34
|
-
commands: {
|
|
35
|
-
insertDate: InsertDate;
|
|
36
|
-
deleteDate: DeleteDate;
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
>;
|
|
40
|
-
|
|
41
|
-
// @public (undocumented)
|
|
42
|
-
export const datePlugin: DatePlugin;
|
|
43
|
-
|
|
44
|
-
// @public (undocumented)
|
|
45
|
-
export interface DatePluginConfig {
|
|
46
|
-
// (undocumented)
|
|
47
|
-
weekStartDay?: WeekDay;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// @public (undocumented)
|
|
51
|
-
export type DatePluginSharedState = {
|
|
52
|
-
showDatePickerAt?: null | number;
|
|
53
|
-
isNew: boolean;
|
|
54
|
-
focusDateInput: boolean;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
// @public (undocumented)
|
|
58
|
-
export type DateType = {
|
|
59
|
-
year: number;
|
|
60
|
-
month: number;
|
|
61
|
-
day?: number;
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
// @public (undocumented)
|
|
65
|
-
type DeleteDate = EditorCommand;
|
|
66
|
-
|
|
67
|
-
// @public (undocumented)
|
|
68
|
-
type InsertDate = (props: {
|
|
69
|
-
date?: DateType;
|
|
70
|
-
inputMethod?: TOOLBAR_MENU_TYPE;
|
|
71
|
-
commitMethod?: INPUT_METHOD.KEYBOARD | INPUT_METHOD.PICKER;
|
|
72
|
-
enterPressed?: boolean;
|
|
73
|
-
}) => EditorCommand;
|
|
74
|
-
|
|
75
|
-
// (No @packageDocumentation comment for this package)
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
<!--SECTION END: Main Entry Types-->
|
|
79
|
-
|
|
80
|
-
### Peer Dependencies
|
|
81
|
-
|
|
82
|
-
<!--SECTION START: Peer Dependencies-->
|
|
83
|
-
|
|
84
|
-
```json
|
|
85
|
-
{
|
|
86
|
-
"react": "^16.8.0"
|
|
87
|
-
}
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
<!--SECTION END: Peer Dependencies-->
|