@atlaskit/editor-plugin-date 8.1.17 → 9.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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/editor-plugin-date
2
2
 
3
+ ## 9.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`c4d3ca353b93a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c4d3ca353b93a) -
8
+ [https://hello.jira.atlassian.cloud/browse/EDITOR-4326](EDITOR-4326) - clean up
9
+ editor_a11y_announce_date_picker_open
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 9.0.0
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 8.1.17
4
22
 
5
23
  ### Patch Changes
@@ -22,7 +22,6 @@ var _messages = require("@atlaskit/editor-common/messages");
22
22
  var _ui = require("@atlaskit/editor-common/ui");
23
23
  var _utils = require("@atlaskit/editor-common/utils");
24
24
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
25
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
26
25
  var _colors = require("@atlaskit/theme/colors");
27
26
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
28
27
  var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
@@ -150,7 +149,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
150
149
  boundariesElement: boundariesElement,
151
150
  scrollableElement: scrollableElement,
152
151
  preventOverflow: true
153
- }, (0, _platformFeatureFlags.fg)('editor_a11y_announce_date_picker_open') && /*#__PURE__*/_react.default.createElement(_visuallyHidden.default, {
152
+ }, /*#__PURE__*/_react.default.createElement(_visuallyHidden.default, {
154
153
  "aria-atomic": true,
155
154
  role: "alert"
156
155
  }, intl.formatMessage(_messages.dateMessages.datePickerOpenedAlert)), /*#__PURE__*/_react.default.createElement(_ui.PlainOutsideClickTargetRefContext.Consumer, null, function (setOutsideClickTargetRef) {
@@ -10,7 +10,6 @@ import { dateMessages as messages } from '@atlaskit/editor-common/messages';
10
10
  import { PlainOutsideClickTargetRefContext, Popup, withOuterListeners } from '@atlaskit/editor-common/ui';
11
11
  import { timestampToIsoFormat, timestampToUTCDate } from '@atlaskit/editor-common/utils';
12
12
  import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
13
- import { fg } from '@atlaskit/platform-feature-flags';
14
13
  import { N0, N60A } from '@atlaskit/theme/colors';
15
14
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
15
  import VisuallyHidden from '@atlaskit/visually-hidden';
@@ -136,7 +135,7 @@ class DatePicker extends React.Component {
136
135
  boundariesElement: boundariesElement,
137
136
  scrollableElement: scrollableElement,
138
137
  preventOverflow: true
139
- }, fg('editor_a11y_announce_date_picker_open') && /*#__PURE__*/React.createElement(VisuallyHidden, {
138
+ }, /*#__PURE__*/React.createElement(VisuallyHidden, {
140
139
  "aria-atomic": true,
141
140
  role: "alert"
142
141
  }, intl.formatMessage(messages.datePickerOpenedAlert)), /*#__PURE__*/React.createElement(PlainOutsideClickTargetRefContext.Consumer, null, setOutsideClickTargetRef => /*#__PURE__*/React.createElement("div", {
@@ -17,7 +17,6 @@ import { dateMessages as messages } from '@atlaskit/editor-common/messages';
17
17
  import { PlainOutsideClickTargetRefContext, Popup, withOuterListeners } from '@atlaskit/editor-common/ui';
18
18
  import { timestampToIsoFormat, timestampToUTCDate } from '@atlaskit/editor-common/utils';
19
19
  import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
20
- import { fg } from '@atlaskit/platform-feature-flags';
21
20
  import { N0, N60A } from '@atlaskit/theme/colors';
22
21
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
23
22
  import VisuallyHidden from '@atlaskit/visually-hidden';
@@ -144,7 +143,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
144
143
  boundariesElement: boundariesElement,
145
144
  scrollableElement: scrollableElement,
146
145
  preventOverflow: true
147
- }, fg('editor_a11y_announce_date_picker_open') && /*#__PURE__*/React.createElement(VisuallyHidden, {
146
+ }, /*#__PURE__*/React.createElement(VisuallyHidden, {
148
147
  "aria-atomic": true,
149
148
  role: "alert"
150
149
  }, intl.formatMessage(messages.datePickerOpenedAlert)), /*#__PURE__*/React.createElement(PlainOutsideClickTargetRefContext.Consumer, null, function (setOutsideClickTargetRef) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-date",
3
- "version": "8.1.17",
3
+ "version": "9.1.0",
4
4
  "description": "Date plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,20 +32,20 @@
32
32
  "@atlaskit/adf-schema": "^51.5.0",
33
33
  "@atlaskit/calendar": "^17.2.0",
34
34
  "@atlaskit/css": "^0.19.0",
35
- "@atlaskit/editor-plugin-analytics": "^6.2.0",
36
- "@atlaskit/editor-plugin-annotation": "^6.3.0",
37
- "@atlaskit/editor-plugin-editor-disabled": "^6.1.0",
38
- "@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
35
+ "@atlaskit/editor-plugin-analytics": "^7.0.0",
36
+ "@atlaskit/editor-plugin-annotation": "^7.0.0",
37
+ "@atlaskit/editor-plugin-editor-disabled": "^7.0.0",
38
+ "@atlaskit/editor-plugin-editor-viewmode": "^9.0.0",
39
39
  "@atlaskit/editor-prosemirror": "^7.2.0",
40
40
  "@atlaskit/editor-shared-styles": "^3.10.0",
41
- "@atlaskit/form": "^15.1.0",
42
- "@atlaskit/icon": "^29.3.0",
41
+ "@atlaskit/form": "^15.3.0",
42
+ "@atlaskit/icon": "^29.4.0",
43
43
  "@atlaskit/locale": "^3.0.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/textfield": "^8.2.0",
46
46
  "@atlaskit/theme": "^21.0.0",
47
- "@atlaskit/tmp-editor-statsig": "^16.0.0",
48
- "@atlaskit/tokens": "^9.0.0",
47
+ "@atlaskit/tmp-editor-statsig": "^16.12.0",
48
+ "@atlaskit/tokens": "^9.1.0",
49
49
  "@atlaskit/visually-hidden": "^3.0.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "bind-event-listener": "^3.0.0",
@@ -57,7 +57,7 @@
57
57
  "@testing-library/react": "^16.3.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@atlaskit/editor-common": "^110.46.0",
60
+ "@atlaskit/editor-common": "^111.7.0",
61
61
  "react": "^18.2.0",
62
62
  "react-dom": "^18.2.0"
63
63
  },
@@ -97,9 +97,6 @@
97
97
  }
98
98
  },
99
99
  "platform-feature-flags": {
100
- "editor_a11y_announce_date_picker_open": {
101
- "type": "boolean"
102
- },
103
100
  "platform_editor_adf_with_localid": {
104
101
  "type": "boolean"
105
102
  }