@atlaskit/editor-plugin-extension 1.15.6 → 1.15.8
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 +16 -0
- package/dist/cjs/ui/ConfigPanel/Fields/Date.js +3 -1
- package/dist/cjs/ui/ConfigPanel/Fields/DateRange.js +3 -1
- package/dist/es2019/ui/ConfigPanel/Fields/Date.js +3 -1
- package/dist/es2019/ui/ConfigPanel/Fields/DateRange.js +3 -1
- package/dist/esm/ui/ConfigPanel/Fields/Date.js +3 -1
- package/dist/esm/ui/ConfigPanel/Fields/DateRange.js +3 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 1.15.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0b274edd1ef5e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0b274edd1ef5e) -
|
|
8
|
+
Init new calendar button functionality in ConfigPanel date pickers
|
|
9
|
+
|
|
10
|
+
## 1.15.7
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#159176](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/159176)
|
|
15
|
+
[`8f1d77592a9dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8f1d77592a9dc) -
|
|
16
|
+
Bump adf-schema to 44.2.0
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 1.15.6
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -45,7 +45,9 @@ function Date(_ref) {
|
|
|
45
45
|
onFieldChange(name, true);
|
|
46
46
|
},
|
|
47
47
|
locale: intl.locale,
|
|
48
|
-
placeholder: placeholder
|
|
48
|
+
placeholder: placeholder,
|
|
49
|
+
shouldShowCalendarButton: true,
|
|
50
|
+
inputLabel: label
|
|
49
51
|
})), /*#__PURE__*/_react.default.createElement(_FieldMessages.default, {
|
|
50
52
|
error: error,
|
|
51
53
|
description: description
|
|
@@ -68,7 +68,9 @@ var DateField = function DateField(_ref) {
|
|
|
68
68
|
fieldProps.onChange(date);
|
|
69
69
|
onFieldChange(parentField.name, true);
|
|
70
70
|
},
|
|
71
|
-
locale: intl.locale
|
|
71
|
+
locale: intl.locale,
|
|
72
|
+
shouldShowCalendarButton: true,
|
|
73
|
+
inputLabel: intl.formatMessage(_extensions.configPanelMessages[fieldName])
|
|
72
74
|
})), (0, _react2.jsx)(_FieldMessages.default, {
|
|
73
75
|
error: error
|
|
74
76
|
}));
|
|
@@ -40,7 +40,9 @@ function Date({
|
|
|
40
40
|
onFieldChange(name, true);
|
|
41
41
|
},
|
|
42
42
|
locale: intl.locale,
|
|
43
|
-
placeholder: placeholder
|
|
43
|
+
placeholder: placeholder,
|
|
44
|
+
shouldShowCalendarButton: true,
|
|
45
|
+
inputLabel: label
|
|
44
46
|
})), /*#__PURE__*/React.createElement(FieldMessages, {
|
|
45
47
|
error: error,
|
|
46
48
|
description: description
|
|
@@ -59,7 +59,9 @@ const DateField = ({
|
|
|
59
59
|
fieldProps.onChange(date);
|
|
60
60
|
onFieldChange(parentField.name, true);
|
|
61
61
|
},
|
|
62
|
-
locale: intl.locale
|
|
62
|
+
locale: intl.locale,
|
|
63
|
+
shouldShowCalendarButton: true,
|
|
64
|
+
inputLabel: intl.formatMessage(messages[fieldName])
|
|
63
65
|
})), jsx(FieldMessages, {
|
|
64
66
|
error: error
|
|
65
67
|
}))));
|
|
@@ -38,7 +38,9 @@ function Date(_ref) {
|
|
|
38
38
|
onFieldChange(name, true);
|
|
39
39
|
},
|
|
40
40
|
locale: intl.locale,
|
|
41
|
-
placeholder: placeholder
|
|
41
|
+
placeholder: placeholder,
|
|
42
|
+
shouldShowCalendarButton: true,
|
|
43
|
+
inputLabel: label
|
|
42
44
|
})), /*#__PURE__*/React.createElement(FieldMessages, {
|
|
43
45
|
error: error,
|
|
44
46
|
description: description
|
|
@@ -64,7 +64,9 @@ var DateField = function DateField(_ref) {
|
|
|
64
64
|
fieldProps.onChange(date);
|
|
65
65
|
onFieldChange(parentField.name, true);
|
|
66
66
|
},
|
|
67
|
-
locale: intl.locale
|
|
67
|
+
locale: intl.locale,
|
|
68
|
+
shouldShowCalendarButton: true,
|
|
69
|
+
inputLabel: intl.formatMessage(messages[fieldName])
|
|
68
70
|
})), jsx(FieldMessages, {
|
|
69
71
|
error: error
|
|
70
72
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.8",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
".": "./src/index.ts"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@atlaskit/adf-schema": "^
|
|
26
|
+
"@atlaskit/adf-schema": "^44.2.0",
|
|
27
27
|
"@atlaskit/adf-utils": "^19.10.0",
|
|
28
28
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
29
|
-
"@atlaskit/avatar": "^21.
|
|
29
|
+
"@atlaskit/avatar": "^21.17.0",
|
|
30
30
|
"@atlaskit/button": "^20.3.0",
|
|
31
31
|
"@atlaskit/checkbox": "^15.1.0",
|
|
32
|
-
"@atlaskit/datetime-picker": "^15.
|
|
33
|
-
"@atlaskit/editor-common": "^94.
|
|
32
|
+
"@atlaskit/datetime-picker": "^15.7.0",
|
|
33
|
+
"@atlaskit/editor-common": "^94.10.0",
|
|
34
34
|
"@atlaskit/editor-json-transformer": "^8.20.0",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
36
36
|
"@atlaskit/editor-plugin-context-identifier": "^1.3.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/textarea": "^5.6.0",
|
|
57
57
|
"@atlaskit/textfield": "^6.5.0",
|
|
58
58
|
"@atlaskit/theme": "^14.0.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^2.11.0",
|
|
60
60
|
"@atlaskit/toggle": "^13.4.0",
|
|
61
61
|
"@atlaskit/tokens": "^2.0.0",
|
|
62
62
|
"@atlaskit/tooltip": "^18.8.0",
|