@atlaskit/editor-plugin-date 5.1.7 → 5.1.9

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,18 @@
1
1
  # @atlaskit/editor-plugin-date
2
2
 
3
+ ## 5.1.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.1.8
10
+
11
+ ### Patch Changes
12
+
13
+ - [`d40e5ebace12b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d40e5ebace12b) -
14
+ [I18N-2877] gate i18n locale for datepicker
15
+
3
16
  ## 5.1.7
4
17
 
5
18
  ### Patch Changes
@@ -182,7 +182,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
182
182
  ref: _this2.handleRef,
183
183
  weekStartDay: weekStartDay !== null && weekStartDay !== void 0 ? weekStartDay : defaultWeekStartDay,
184
184
  testId: 'datepicker',
185
- locale: intl.locale
185
+ locale: (0, _expValEquals.expValEquals)('platform_editor_locale_datepicker', 'isEnabled', true) ? intl.locale : undefined
186
186
  }));
187
187
  }));
188
188
  }
@@ -161,7 +161,7 @@ class DatePicker extends React.Component {
161
161
  ref: this.handleRef,
162
162
  weekStartDay: weekStartDay !== null && weekStartDay !== void 0 ? weekStartDay : defaultWeekStartDay,
163
163
  testId: 'datepicker',
164
- locale: intl.locale
164
+ locale: expValEquals('platform_editor_locale_datepicker', 'isEnabled', true) ? intl.locale : undefined
165
165
  }))));
166
166
  }
167
167
  }
@@ -176,7 +176,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
176
176
  ref: _this2.handleRef,
177
177
  weekStartDay: weekStartDay !== null && weekStartDay !== void 0 ? weekStartDay : defaultWeekStartDay,
178
178
  testId: 'datepicker',
179
- locale: intl.locale
179
+ locale: expValEquals('platform_editor_locale_datepicker', 'isEnabled', true) ? intl.locale : undefined
180
180
  }));
181
181
  }));
182
182
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-date",
3
- "version": "5.1.7",
3
+ "version": "5.1.9",
4
4
  "description": "Date plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/editor-prosemirror": "7.0.0",
44
44
  "@atlaskit/editor-shared-styles": "^3.6.0",
45
45
  "@atlaskit/form": "^12.1.0",
46
- "@atlaskit/icon": "^27.12.0",
46
+ "@atlaskit/icon": "^28.0.0",
47
47
  "@atlaskit/locale": "^3.0.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
49
  "@atlaskit/textfield": "^8.0.0",
@@ -66,7 +66,7 @@
66
66
  "@atlaskit/editor-plugin-quick-insert": "^3.0.0",
67
67
  "@atlaskit/editor-plugin-selection": "^3.1.0",
68
68
  "@atlaskit/editor-plugin-table": "^12.2.0",
69
- "@atlaskit/editor-plugin-tasks-and-decisions": "^6.3.0",
69
+ "@atlaskit/editor-plugin-tasks-and-decisions": "^6.4.0",
70
70
  "@atlaskit/editor-plugin-type-ahead": "^3.1.0",
71
71
  "@atlaskit/editor-plugin-width": "^4.0.0",
72
72
  "@testing-library/react": "^13.4.0"