@atlaskit/datetime-picker 17.1.1 → 17.1.3

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,17 @@
1
1
  # @atlaskit/datetime-picker
2
2
 
3
+ ## 17.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 17.1.1
4
16
 
5
17
  ### Patch Changes
@@ -628,7 +640,6 @@
628
640
  These two props that were removed on 14.0.0 and no longer impacted the functionality of the
629
641
  `DateTimePicker` were misrepresented in the type interface as options and have been fully removed
630
642
  now.
631
-
632
643
  - `timeIsEditable`
633
644
  - `times`
634
645
 
@@ -1759,14 +1770,12 @@
1759
1770
 
1760
1771
  Three props were added to `@atlaskit/calendar` and `@atlaskit/datetime-picker` to make disabling
1761
1772
  dates more practical, performant and expressive:
1762
-
1763
1773
  - `minDate` for the minimum valid date
1764
1774
  - `maxDate` for the maximum valid date
1765
1775
  - `disabledDateFilter`, a function that takes a date string, and returns whether or not it should
1766
1776
  be disabled.
1767
1777
 
1768
1778
  #### Bugs
1769
-
1770
1779
  - DatePicker: Disabled dates that lie outside of the currently selected month now have correct
1771
1780
  hover styles
1772
1781
 
@@ -1855,7 +1864,6 @@
1855
1864
  injected package name and version for analytics instead of version.json.
1856
1865
  - [`c20be966f07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c20be966f07) -
1857
1866
  **Internal change**
1858
-
1859
1867
  - Change `@atlaskit/calendar` ref type import name from `CalendarInternalRef` to `CalendarRef`.
1860
1868
  - Change prop name which is being passed to `@atlaskit/calendar` from `internalRef` to
1861
1869
  `calendarRef`.
@@ -1869,7 +1877,6 @@
1869
1877
  - [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
1870
1878
  [`9c020a0e05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c020a0e05f) - Replaced
1871
1879
  `@atlaskit/calendar` exported types to access its `navigate()` api
1872
-
1873
1880
  - Replaced `CalendarClassType` & `ArrowKeys` types with `CalendarInternalRef` type.
1874
1881
  - Also replaced `ref` prop with `internalRef` prop for accessing `navigate()` api.
1875
1882
 
@@ -2166,7 +2173,6 @@
2166
2173
 
2167
2174
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
2168
2175
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
2169
-
2170
2176
  - @atlaskit/docs@8.3.2
2171
2177
  - @atlaskit/visual-regression@0.1.9
2172
2178
  - @atlaskit/analytics-next@6.3.5
@@ -2240,7 +2246,6 @@
2240
2246
  Make PopupSelect correctly pass props. Forcing update of @atlaskit/select for all other packages-
2241
2247
  Updated dependencies
2242
2248
  [3a20e9a596](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3a20e9a596):
2243
-
2244
2249
  - @atlaskit/select@11.0.2
2245
2250
  - @atlaskit/locale@1.0.3
2246
2251
 
@@ -2309,7 +2314,6 @@
2309
2314
  - [minor][e3d466543f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e3d466543f):
2310
2315
 
2311
2316
  Add locale support for Calendar/DateTimePicker/DatePicker/TimePicker:
2312
-
2313
2317
  - New prop `locale` enables localization for date/time format in `DatePicker`, `TimePicker` and
2314
2318
  `DateTimePicker`, and months/days in `Calendar`.
2315
2319
  - Deprecated `dateFormat`, `timeFormat` and `formatDisplayLabel` props. Please use `locale`
@@ -2454,19 +2458,16 @@
2454
2458
  ## 8.0.2
2455
2459
 
2456
2460
  - [patch][06819642ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06819642ba):
2457
-
2458
2461
  - Internal refactor and clean up
2459
2462
 
2460
2463
  ## 8.0.1
2461
2464
 
2462
2465
  - [patch][21854842b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21854842b5):
2463
-
2464
2466
  - Clean couple of TODO's that were already done
2465
2467
 
2466
2468
  ## 8.0.0
2467
2469
 
2468
2470
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
2469
-
2470
2471
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
2471
2472
  this package, please ensure you use at least this version of react and react-dom.
2472
2473
 
@@ -2511,7 +2512,6 @@
2511
2512
  ## 7.0.2
2512
2513
 
2513
2514
  - [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
2514
-
2515
2515
  - Removes duplicate babel-runtime dependency
2516
2516
 
2517
2517
  ## 7.0.1
@@ -2533,7 +2533,6 @@
2533
2533
  ## 7.0.0
2534
2534
 
2535
2535
  - [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
2536
-
2537
2536
  - Drop ES5 from all the flow modules
2538
2537
 
2539
2538
  ### Dropping CJS support in all @atlaskit packages
@@ -2585,25 +2584,21 @@
2585
2584
  ## 6.5.0
2586
2585
 
2587
2586
  - [minor][a48dddb43c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a48dddb43c):
2588
-
2589
2587
  - onChange will only be fired when a complete datetime is supplied by the user
2590
2588
 
2591
2589
  ## 6.4.2
2592
2590
 
2593
2591
  - [patch][0cd7f505b3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0cd7f505b3):
2594
-
2595
2592
  - Iso date parsing on IE11 and Edge is now consistent with other browsers
2596
2593
 
2597
2594
  ## 6.4.1
2598
2595
 
2599
2596
  - [patch][348d3aed19](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/348d3aed19):
2600
-
2601
2597
  - Datepicker will now reset the focused date on the calendar every time it is opened
2602
2598
 
2603
2599
  ## 6.4.0
2604
2600
 
2605
2601
  - [minor][52827feffb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/52827feffb):
2606
-
2607
2602
  - onChange is now called only when the user selects or clears a value. The date passed to onChange
2608
2603
  will always be a valid date
2609
2604
 
@@ -2623,28 +2618,23 @@
2623
2618
  ## 6.3.24
2624
2619
 
2625
2620
  - [patch][55e0a3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/55e0a3a):
2626
-
2627
2621
  - Fixes keyboard entry bug
2628
2622
 
2629
2623
  - [patch][075dfa2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/075dfa2):
2630
-
2631
2624
  - Allowing control of input value in datetime-picker
2632
2625
 
2633
2626
  ## 6.3.23
2634
2627
 
2635
2628
  - [patch][4c4bdc5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4c4bdc5):
2636
-
2637
2629
  - AK-5672 - Refactor parseTime by separating logic and concerns into smaller, testable functions.
2638
2630
  Fixes meridiem issues.
2639
2631
 
2640
2632
  - [patch][58a40bf](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58a40bf):
2641
-
2642
2633
  - Factoring in meridiem for 24hr time in editable
2643
2634
 
2644
2635
  ## 6.3.22
2645
2636
 
2646
2637
  - [patch][5c548ea](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5c548ea):
2647
-
2648
2638
  - Removing extraneous wrapping span around icons which was causing an accessibility error
2649
2639
 
2650
2640
  ## 6.3.21
@@ -2707,7 +2697,6 @@
2707
2697
  ## 6.3.17
2708
2698
 
2709
2699
  - [patch][b332c91](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b332c91):
2710
-
2711
2700
  - upgrades verison of react-scrolllock to SSR safe version
2712
2701
 
2713
2702
  ## 6.3.16
@@ -40,7 +40,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
40
40
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
41
41
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /// <reference types="node" />
42
42
  var packageName = "@atlaskit/datetime-picker";
43
- var packageVersion = "17.1.0";
43
+ var packageVersion = "17.1.2";
44
44
  var datePickerDefaultProps = {
45
45
  defaultIsOpen: false,
46
46
  defaultValue: '',
@@ -37,7 +37,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
37
37
  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; }
38
38
  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; }
39
39
  var packageName = "@atlaskit/datetime-picker";
40
- var packageVersion = "17.1.0";
40
+ var packageVersion = "17.1.2";
41
41
  var styles = {
42
42
  pickerContainerStyle: "_kqswh2mm",
43
43
  dropdownIndicatorStyles: "_1ul91k8s _1tke1k8s _1e0c1txw _4cvr1h6o _1bah1h6o",
@@ -35,7 +35,7 @@ var DatePicker = (0, _ffComponent.componentWithCondition)(function () {
35
35
  return (0, _platformFeatureFlags.fg)('dst-date-picker-use-functional-component');
36
36
  }, _datePickerFc.default, _datePickerClass.default);
37
37
  var packageName = "@atlaskit/datetime-picker";
38
- var packageVersion = "17.1.0";
38
+ var packageVersion = "17.1.2";
39
39
  var compiledStyles = {
40
40
  datePickerContainerStyles: "_i0dl1ssb _16jlkb7n _1o9zidpf",
41
41
  timePickerContainerStyles: "_i0dl1ssb _16jlkb7n",
@@ -38,7 +38,7 @@ var DatePicker = (0, _ffComponent.componentWithCondition)(function () {
38
38
  return (0, _platformFeatureFlags.fg)('dst-date-picker-use-functional-component');
39
39
  }, _datePickerFc.default, _datePickerClass.default);
40
40
  var packageName = "@atlaskit/datetime-picker";
41
- var packageVersion = "17.1.0";
41
+ var packageVersion = "17.1.2";
42
42
  var analyticsAttributes = {
43
43
  componentName: 'dateTimePicker',
44
44
  packageName: packageName,
@@ -26,7 +26,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
26
26
  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; }
27
27
  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; }
28
28
  var packageName = "@atlaskit/datetime-picker";
29
- var packageVersion = "17.1.0";
29
+ var packageVersion = "17.1.2";
30
30
  var menuStyles = {
31
31
  /* Need to remove default absolute positioning as that causes issues with position fixed */
32
32
  position: 'static',
@@ -23,7 +23,7 @@ import { Menu } from '../internal/menu';
23
23
  import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
24
24
  import { makeSingleValue } from '../internal/single-value';
25
25
  const packageName = "@atlaskit/datetime-picker";
26
- const packageVersion = "17.1.0";
26
+ const packageVersion = "17.1.2";
27
27
  const datePickerDefaultProps = {
28
28
  defaultIsOpen: false,
29
29
  defaultValue: '',
@@ -23,7 +23,7 @@ import { Menu } from '../internal/menu';
23
23
  import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
24
24
  import { makeSingleValue } from '../internal/single-value';
25
25
  const packageName = "@atlaskit/datetime-picker";
26
- const packageVersion = "17.1.0";
26
+ const packageVersion = "17.1.2";
27
27
  const styles = {
28
28
  pickerContainerStyle: "_kqswh2mm",
29
29
  dropdownIndicatorStyles: "_1ul91k8s _1tke1k8s _1e0c1txw _4cvr1h6o _1bah1h6o",
@@ -19,7 +19,7 @@ import DatePickerNew from './date-picker-fc';
19
19
  import TimePicker from './time-picker';
20
20
  const DatePicker = componentWithCondition(() => fg('dst-date-picker-use-functional-component'), DatePickerNew, DatePickerOld);
21
21
  const packageName = "@atlaskit/datetime-picker";
22
- const packageVersion = "17.1.0";
22
+ const packageVersion = "17.1.2";
23
23
  const compiledStyles = {
24
24
  datePickerContainerStyles: "_i0dl1ssb _16jlkb7n _1o9zidpf",
25
25
  timePickerContainerStyles: "_i0dl1ssb _16jlkb7n",
@@ -22,7 +22,7 @@ import DatePickerNew from './date-picker-fc';
22
22
  import TimePicker from './time-picker';
23
23
  const DatePicker = componentWithCondition(() => fg('dst-date-picker-use-functional-component'), DatePickerNew, DatePickerOld);
24
24
  const packageName = "@atlaskit/datetime-picker";
25
- const packageVersion = "17.1.0";
25
+ const packageVersion = "17.1.2";
26
26
  const analyticsAttributes = {
27
27
  componentName: 'dateTimePicker',
28
28
  packageName,
@@ -11,7 +11,7 @@ import parseTime from '../internal/parse-time';
11
11
  import { convertTokens } from '../internal/parse-tokens';
12
12
  import { makeSingleValue } from '../internal/single-value';
13
13
  const packageName = "@atlaskit/datetime-picker";
14
- const packageVersion = "17.1.0";
14
+ const packageVersion = "17.1.2";
15
15
  const menuStyles = {
16
16
  /* Need to remove default absolute positioning as that causes issues with position fixed */
17
17
  position: 'static',
@@ -32,7 +32,7 @@ import { Menu } from '../internal/menu';
32
32
  import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
33
33
  import { makeSingleValue } from '../internal/single-value';
34
34
  var packageName = "@atlaskit/datetime-picker";
35
- var packageVersion = "17.1.0";
35
+ var packageVersion = "17.1.2";
36
36
  var datePickerDefaultProps = {
37
37
  defaultIsOpen: false,
38
38
  defaultValue: '',
@@ -29,7 +29,7 @@ import { Menu } from '../internal/menu';
29
29
  import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
30
30
  import { makeSingleValue } from '../internal/single-value';
31
31
  var packageName = "@atlaskit/datetime-picker";
32
- var packageVersion = "17.1.0";
32
+ var packageVersion = "17.1.2";
33
33
  var styles = {
34
34
  pickerContainerStyle: "_kqswh2mm",
35
35
  dropdownIndicatorStyles: "_1ul91k8s _1tke1k8s _1e0c1txw _4cvr1h6o _1bah1h6o",
@@ -30,7 +30,7 @@ var DatePicker = componentWithCondition(function () {
30
30
  return fg('dst-date-picker-use-functional-component');
31
31
  }, DatePickerNew, DatePickerOld);
32
32
  var packageName = "@atlaskit/datetime-picker";
33
- var packageVersion = "17.1.0";
33
+ var packageVersion = "17.1.2";
34
34
  var compiledStyles = {
35
35
  datePickerContainerStyles: "_i0dl1ssb _16jlkb7n _1o9zidpf",
36
36
  timePickerContainerStyles: "_i0dl1ssb _16jlkb7n",
@@ -31,7 +31,7 @@ var DatePicker = componentWithCondition(function () {
31
31
  return fg('dst-date-picker-use-functional-component');
32
32
  }, DatePickerNew, DatePickerOld);
33
33
  var packageName = "@atlaskit/datetime-picker";
34
- var packageVersion = "17.1.0";
34
+ var packageVersion = "17.1.2";
35
35
  var analyticsAttributes = {
36
36
  componentName: 'dateTimePicker',
37
37
  packageName: packageName,
@@ -17,7 +17,7 @@ import parseTime from '../internal/parse-time';
17
17
  import { convertTokens } from '../internal/parse-tokens';
18
18
  import { makeSingleValue } from '../internal/single-value';
19
19
  var packageName = "@atlaskit/datetime-picker";
20
- var packageVersion = "17.1.0";
20
+ var packageVersion = "17.1.2";
21
21
  var menuStyles = {
22
22
  /* Need to remove default absolute positioning as that causes issues with position fixed */
23
23
  position: 'static',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/datetime-picker",
3
- "version": "17.1.1",
3
+ "version": "17.1.3",
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/"
@@ -42,12 +42,12 @@
42
42
  "@atlaskit/locale": "^3.0.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
44
  "@atlaskit/popper": "^7.1.0",
45
- "@atlaskit/primitives": "^15.0.0",
45
+ "@atlaskit/primitives": "^16.0.0",
46
46
  "@atlaskit/select": "^21.3.0",
47
- "@atlaskit/tokens": "^6.5.0",
47
+ "@atlaskit/tokens": "^7.0.0",
48
48
  "@atlaskit/visually-hidden": "^3.0.0",
49
49
  "@babel/runtime": "^7.0.0",
50
- "@compiled/react": "^0.18.3",
50
+ "@compiled/react": "^0.18.6",
51
51
  "date-fns": "^2.17.0"
52
52
  },
53
53
  "peerDependencies": {
@@ -59,7 +59,7 @@
59
59
  "@af/visual-regression": "workspace:^",
60
60
  "@atlaskit/code": "^17.2.0",
61
61
  "@atlaskit/codemod-utils": "^4.2.0",
62
- "@atlaskit/docs": "^11.1.0",
62
+ "@atlaskit/docs": "^11.2.0",
63
63
  "@atlaskit/form": "^14.2.0",
64
64
  "@atlaskit/heading": "^5.2.0",
65
65
  "@atlaskit/link": "^3.2.0",