@atlaskit/editor-plugin-date 4.3.0 → 4.3.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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-date
|
|
2
2
|
|
|
3
|
+
## 4.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#148798](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148798)
|
|
8
|
+
[`8112e98809756`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8112e98809756) -
|
|
9
|
+
[No Issue] Clean up virtualization feature flag
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 4.3.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -13,7 +13,6 @@ var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
|
|
|
13
13
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
14
14
|
var _whitespace = require("@atlaskit/editor-common/whitespace");
|
|
15
15
|
var _colors = require("@atlaskit/theme/colors");
|
|
16
|
-
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
17
16
|
var _utils2 = require("./utils");
|
|
18
17
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
18
|
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) { (0, _defineProperty2.default)(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; }
|
|
@@ -26,7 +25,7 @@ var intlRef;
|
|
|
26
25
|
* @returns
|
|
27
26
|
*/
|
|
28
27
|
var dateNodeSpec = exports.dateNodeSpec = function dateNodeSpec() {
|
|
29
|
-
if ((0, _coreUtils.isSSR)()
|
|
28
|
+
if ((0, _coreUtils.isSSR)()) {
|
|
30
29
|
return _adfSchema.date;
|
|
31
30
|
}
|
|
32
31
|
return _objectSpread(_objectSpread({}, _adfSchema.date), {}, {
|
|
@@ -5,7 +5,6 @@ import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
|
5
5
|
import { timestampToString } from '@atlaskit/editor-common/utils';
|
|
6
6
|
import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
|
|
7
7
|
import { N30A, N800 } from '@atlaskit/theme/colors';
|
|
8
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
9
8
|
import { getDateInformation } from './utils';
|
|
10
9
|
let intlRef;
|
|
11
10
|
|
|
@@ -16,7 +15,7 @@ let intlRef;
|
|
|
16
15
|
* @returns
|
|
17
16
|
*/
|
|
18
17
|
export const dateNodeSpec = () => {
|
|
19
|
-
if (isSSR()
|
|
18
|
+
if (isSSR()) {
|
|
20
19
|
return date;
|
|
21
20
|
}
|
|
22
21
|
return {
|
|
@@ -8,7 +8,6 @@ import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
|
8
8
|
import { timestampToString } from '@atlaskit/editor-common/utils';
|
|
9
9
|
import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
|
|
10
10
|
import { N30A, N800 } from '@atlaskit/theme/colors';
|
|
11
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
12
11
|
import { getDateInformation } from './utils';
|
|
13
12
|
var intlRef;
|
|
14
13
|
|
|
@@ -19,7 +18,7 @@ var intlRef;
|
|
|
19
18
|
* @returns
|
|
20
19
|
*/
|
|
21
20
|
export var dateNodeSpec = function dateNodeSpec() {
|
|
22
|
-
if (isSSR()
|
|
21
|
+
if (isSSR()) {
|
|
23
22
|
return date;
|
|
24
23
|
}
|
|
25
24
|
return _objectSpread(_objectSpread({}, date), {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-date",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "Date plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/calendar": "^17.1.0",
|
|
38
38
|
"@atlaskit/css": "^0.10.0",
|
|
39
39
|
"@atlaskit/date": "^2.0.0",
|
|
40
|
-
"@atlaskit/editor-common": "^
|
|
40
|
+
"@atlaskit/editor-common": "^104.0.0",
|
|
41
41
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
42
42
|
"@atlaskit/editor-plugin-annotation": "^2.7.0",
|
|
43
43
|
"@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
51
|
"@atlaskit/textfield": "^8.0.0",
|
|
52
52
|
"@atlaskit/theme": "^18.0.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^4.16.0",
|
|
54
54
|
"@atlaskit/tokens": "^4.8.0",
|
|
55
55
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|