@atlaskit/datetime-picker 12.3.9 → 12.3.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/datetime-picker
2
2
 
3
+ ## 12.3.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1fc7949b336`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1fc7949b336) - [ux] Fixes a bug where the background for the calendar element was incorrectly set to 'elevation.surface'
8
+
3
9
  ## 12.3.9
4
10
 
5
11
  ### Patch Changes
@@ -36,7 +36,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
36
36
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
37
37
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
38
38
  var packageName = "@atlaskit/datetime-picker";
39
- var packageVersion = "12.3.9";
39
+ var packageVersion = "12.3.10";
40
40
 
41
41
  /* eslint-disable react/no-unused-prop-types */
42
42
 
@@ -53,7 +53,7 @@ function getShortISOString(date) {
53
53
  }
54
54
  var menuStyles = (0, _react2.css)({
55
55
  zIndex: _constants.layers.dialog(),
56
- backgroundColor: "var(--ds-surface-overlay, ".concat(_colors.N20, ")"),
56
+ backgroundColor: "var(--ds-surface-overlay, ".concat(_colors.N0, ")"),
57
57
  borderRadius: "".concat((0, _constants.borderRadius)(), "px"),
58
58
  boxShadow: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"),
59
59
  overflow: 'hidden'
@@ -31,7 +31,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
31
31
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
32
32
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
33
33
  var packageName = "@atlaskit/datetime-picker";
34
- var packageVersion = "12.3.9";
34
+ var packageVersion = "12.3.10";
35
35
 
36
36
  /* eslint-disable react/no-unused-prop-types */
37
37
 
@@ -35,7 +35,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
35
35
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
36
36
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
37
  var packageName = "@atlaskit/datetime-picker";
38
- var packageVersion = "12.3.9";
38
+ var packageVersion = "12.3.10";
39
39
  var menuStyles = {
40
40
  /* Need to remove default absolute positioning as that causes issues with position fixed */
41
41
  position: 'static',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/datetime-picker",
3
- "version": "12.3.9",
3
+ "version": "12.3.10",
4
4
  "sideEffects": false
5
5
  }
@@ -12,13 +12,13 @@ import Calendar from '@atlaskit/calendar';
12
12
  import CalendarIcon from '@atlaskit/icon/glyph/calendar';
13
13
  import { createLocalizationProvider } from '@atlaskit/locale';
14
14
  import Select, { mergeStyles } from '@atlaskit/select';
15
- import { N20, N50A, N60A } from '@atlaskit/theme/colors';
15
+ import { N0, N50A, N60A } from '@atlaskit/theme/colors';
16
16
  import { borderRadius, gridSize, layers } from '@atlaskit/theme/constants';
17
17
  import { defaultDateFormat, EmptyComponent, padToTwo, placeholderDatetime } from '../internal';
18
18
  import FixedLayer from '../internal/fixed-layer';
19
19
  import { convertTokens } from './utils';
20
20
  const packageName = "@atlaskit/datetime-picker";
21
- const packageVersion = "12.3.9";
21
+ const packageVersion = "12.3.10";
22
22
 
23
23
  /* eslint-disable react/no-unused-prop-types */
24
24
 
@@ -35,7 +35,7 @@ function getShortISOString(date) {
35
35
  }
36
36
  const menuStyles = css({
37
37
  zIndex: layers.dialog(),
38
- backgroundColor: `var(--ds-surface-overlay, ${N20})`,
38
+ backgroundColor: `var(--ds-surface-overlay, ${N0})`,
39
39
  borderRadius: `${borderRadius()}px`,
40
40
  boxShadow: `var(--ds-shadow-overlay, ${`0 4px 8px -2px ${N50A}, 0 0 1px ${N60A}`})`,
41
41
  overflow: 'hidden'
@@ -17,7 +17,7 @@ import DatePicker from './date-picker';
17
17
  import TimePicker from './time-picker';
18
18
  import { convertTokens } from './utils';
19
19
  const packageName = "@atlaskit/datetime-picker";
20
- const packageVersion = "12.3.9";
20
+ const packageVersion = "12.3.10";
21
21
 
22
22
  /* eslint-disable react/no-unused-prop-types */
23
23
 
@@ -15,7 +15,7 @@ import FixedLayer from '../internal/fixed-layer';
15
15
  import parseTime from '../internal/parse-time';
16
16
  import { convertTokens } from './utils';
17
17
  const packageName = "@atlaskit/datetime-picker";
18
- const packageVersion = "12.3.9";
18
+ const packageVersion = "12.3.10";
19
19
  const menuStyles = {
20
20
  /* Need to remove default absolute positioning as that causes issues with position fixed */
21
21
  position: 'static',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/datetime-picker",
3
- "version": "12.3.9",
3
+ "version": "12.3.10",
4
4
  "sideEffects": false
5
5
  }
@@ -23,13 +23,13 @@ import Calendar from '@atlaskit/calendar';
23
23
  import CalendarIcon from '@atlaskit/icon/glyph/calendar';
24
24
  import { createLocalizationProvider } from '@atlaskit/locale';
25
25
  import Select, { mergeStyles } from '@atlaskit/select';
26
- import { N20, N50A, N60A } from '@atlaskit/theme/colors';
26
+ import { N0, N50A, N60A } from '@atlaskit/theme/colors';
27
27
  import { borderRadius, gridSize, layers } from '@atlaskit/theme/constants';
28
28
  import { defaultDateFormat, EmptyComponent, padToTwo, placeholderDatetime } from '../internal';
29
29
  import FixedLayer from '../internal/fixed-layer';
30
30
  import { convertTokens } from './utils';
31
31
  var packageName = "@atlaskit/datetime-picker";
32
- var packageVersion = "12.3.9";
32
+ var packageVersion = "12.3.10";
33
33
 
34
34
  /* eslint-disable react/no-unused-prop-types */
35
35
 
@@ -46,7 +46,7 @@ function getShortISOString(date) {
46
46
  }
47
47
  var menuStyles = css({
48
48
  zIndex: layers.dialog(),
49
- backgroundColor: "var(--ds-surface-overlay, ".concat(N20, ")"),
49
+ backgroundColor: "var(--ds-surface-overlay, ".concat(N0, ")"),
50
50
  borderRadius: "".concat(borderRadius(), "px"),
51
51
  boxShadow: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"),
52
52
  overflow: 'hidden'
@@ -27,7 +27,7 @@ import DatePicker from './date-picker';
27
27
  import TimePicker from './time-picker';
28
28
  import { convertTokens } from './utils';
29
29
  var packageName = "@atlaskit/datetime-picker";
30
- var packageVersion = "12.3.9";
30
+ var packageVersion = "12.3.10";
31
31
 
32
32
  /* eslint-disable react/no-unused-prop-types */
33
33
 
@@ -28,7 +28,7 @@ import FixedLayer from '../internal/fixed-layer';
28
28
  import parseTime from '../internal/parse-time';
29
29
  import { convertTokens } from './utils';
30
30
  var packageName = "@atlaskit/datetime-picker";
31
- var packageVersion = "12.3.9";
31
+ var packageVersion = "12.3.10";
32
32
  var menuStyles = {
33
33
  /* Need to remove default absolute positioning as that causes issues with position fixed */
34
34
  position: 'static',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/datetime-picker",
3
- "version": "12.3.9",
3
+ "version": "12.3.10",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/datetime-picker",
3
- "version": "12.3.9",
3
+ "version": "12.3.10",
4
4
  "description": "A date time picker allows the user to select an associated date and time.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -15,7 +15,6 @@
15
15
  "sideEffects": false,
16
16
  "atlaskit:src": "src/index.tsx",
17
17
  "atlassian": {
18
- "disableProductCI": true,
19
18
  "team": "Design System Team",
20
19
  "deprecatedAutoEntryPoints": true,
21
20
  "releaseModel": "scheduled",