@atlaskit/editor-plugin-date 0.2.9 → 0.2.10
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 +6 -0
- package/package.json +2 -2
- package/tmp/api-report-tmp.d.ts +0 -62
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-date
|
|
2
2
|
|
|
3
|
+
## 0.2.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
8
|
+
|
|
3
9
|
## 0.2.9
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-date",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "Date plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/adf-schema": "^34.0.
|
|
34
|
+
"@atlaskit/adf-schema": "^34.0.1",
|
|
35
35
|
"@atlaskit/calendar": "^14.0.0",
|
|
36
36
|
"@atlaskit/date": "^0.10.0",
|
|
37
37
|
"@atlaskit/editor-common": "^76.23.0",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-date"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
8
|
-
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
9
|
-
import type { EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
10
|
-
import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
11
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
12
|
-
import type { TOOLBAR_MENU_TYPE } from '@atlaskit/editor-common/types';
|
|
13
|
-
import type { WeekDay } from '@atlaskit/calendar/types';
|
|
14
|
-
|
|
15
|
-
// @public (undocumented)
|
|
16
|
-
export type DatePlugin = NextEditorPlugin<'date', {
|
|
17
|
-
pluginConfiguration: DatePluginConfig | undefined;
|
|
18
|
-
dependencies: [typeof analyticsPlugin, EditorDisabledPlugin];
|
|
19
|
-
sharedState: DatePluginSharedState;
|
|
20
|
-
commands: {
|
|
21
|
-
insertDate: InsertDate;
|
|
22
|
-
deleteDate: DeleteDate;
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
|
|
26
|
-
// @public (undocumented)
|
|
27
|
-
export const datePlugin: DatePlugin;
|
|
28
|
-
|
|
29
|
-
// @public (undocumented)
|
|
30
|
-
export interface DatePluginConfig {
|
|
31
|
-
// (undocumented)
|
|
32
|
-
weekStartDay?: WeekDay;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// @public (undocumented)
|
|
36
|
-
export type DatePluginSharedState = {
|
|
37
|
-
showDatePickerAt?: null | number;
|
|
38
|
-
isNew: boolean;
|
|
39
|
-
focusDateInput: boolean;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
// @public (undocumented)
|
|
43
|
-
export type DateType = {
|
|
44
|
-
year: number;
|
|
45
|
-
month: number;
|
|
46
|
-
day?: number;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
// @public (undocumented)
|
|
50
|
-
type DeleteDate = EditorCommand;
|
|
51
|
-
|
|
52
|
-
// @public (undocumented)
|
|
53
|
-
type InsertDate = (props: {
|
|
54
|
-
date?: DateType;
|
|
55
|
-
inputMethod?: TOOLBAR_MENU_TYPE;
|
|
56
|
-
commitMethod?: INPUT_METHOD.KEYBOARD | INPUT_METHOD.PICKER;
|
|
57
|
-
enterPressed?: boolean;
|
|
58
|
-
}) => EditorCommand;
|
|
59
|
-
|
|
60
|
-
// (No @packageDocumentation comment for this package)
|
|
61
|
-
|
|
62
|
-
```
|