@atlaskit/datetime-picker 17.1.1 → 17.1.2

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
+ ## 17.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 17.1.1
4
10
 
5
11
  ### Patch Changes
@@ -628,7 +634,6 @@
628
634
  These two props that were removed on 14.0.0 and no longer impacted the functionality of the
629
635
  `DateTimePicker` were misrepresented in the type interface as options and have been fully removed
630
636
  now.
631
-
632
637
  - `timeIsEditable`
633
638
  - `times`
634
639
 
@@ -1759,14 +1764,12 @@
1759
1764
 
1760
1765
  Three props were added to `@atlaskit/calendar` and `@atlaskit/datetime-picker` to make disabling
1761
1766
  dates more practical, performant and expressive:
1762
-
1763
1767
  - `minDate` for the minimum valid date
1764
1768
  - `maxDate` for the maximum valid date
1765
1769
  - `disabledDateFilter`, a function that takes a date string, and returns whether or not it should
1766
1770
  be disabled.
1767
1771
 
1768
1772
  #### Bugs
1769
-
1770
1773
  - DatePicker: Disabled dates that lie outside of the currently selected month now have correct
1771
1774
  hover styles
1772
1775
 
@@ -1855,7 +1858,6 @@
1855
1858
  injected package name and version for analytics instead of version.json.
1856
1859
  - [`c20be966f07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c20be966f07) -
1857
1860
  **Internal change**
1858
-
1859
1861
  - Change `@atlaskit/calendar` ref type import name from `CalendarInternalRef` to `CalendarRef`.
1860
1862
  - Change prop name which is being passed to `@atlaskit/calendar` from `internalRef` to
1861
1863
  `calendarRef`.
@@ -1869,7 +1871,6 @@
1869
1871
  - [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
1870
1872
  [`9c020a0e05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c020a0e05f) - Replaced
1871
1873
  `@atlaskit/calendar` exported types to access its `navigate()` api
1872
-
1873
1874
  - Replaced `CalendarClassType` & `ArrowKeys` types with `CalendarInternalRef` type.
1874
1875
  - Also replaced `ref` prop with `internalRef` prop for accessing `navigate()` api.
1875
1876
 
@@ -2166,7 +2167,6 @@
2166
2167
 
2167
2168
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
2168
2169
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
2169
-
2170
2170
  - @atlaskit/docs@8.3.2
2171
2171
  - @atlaskit/visual-regression@0.1.9
2172
2172
  - @atlaskit/analytics-next@6.3.5
@@ -2240,7 +2240,6 @@
2240
2240
  Make PopupSelect correctly pass props. Forcing update of @atlaskit/select for all other packages-
2241
2241
  Updated dependencies
2242
2242
  [3a20e9a596](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3a20e9a596):
2243
-
2244
2243
  - @atlaskit/select@11.0.2
2245
2244
  - @atlaskit/locale@1.0.3
2246
2245
 
@@ -2309,7 +2308,6 @@
2309
2308
  - [minor][e3d466543f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e3d466543f):
2310
2309
 
2311
2310
  Add locale support for Calendar/DateTimePicker/DatePicker/TimePicker:
2312
-
2313
2311
  - New prop `locale` enables localization for date/time format in `DatePicker`, `TimePicker` and
2314
2312
  `DateTimePicker`, and months/days in `Calendar`.
2315
2313
  - Deprecated `dateFormat`, `timeFormat` and `formatDisplayLabel` props. Please use `locale`
@@ -2454,19 +2452,16 @@
2454
2452
  ## 8.0.2
2455
2453
 
2456
2454
  - [patch][06819642ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06819642ba):
2457
-
2458
2455
  - Internal refactor and clean up
2459
2456
 
2460
2457
  ## 8.0.1
2461
2458
 
2462
2459
  - [patch][21854842b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21854842b5):
2463
-
2464
2460
  - Clean couple of TODO's that were already done
2465
2461
 
2466
2462
  ## 8.0.0
2467
2463
 
2468
2464
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
2469
-
2470
2465
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
2471
2466
  this package, please ensure you use at least this version of react and react-dom.
2472
2467
 
@@ -2511,7 +2506,6 @@
2511
2506
  ## 7.0.2
2512
2507
 
2513
2508
  - [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
2514
-
2515
2509
  - Removes duplicate babel-runtime dependency
2516
2510
 
2517
2511
  ## 7.0.1
@@ -2533,7 +2527,6 @@
2533
2527
  ## 7.0.0
2534
2528
 
2535
2529
  - [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
2536
-
2537
2530
  - Drop ES5 from all the flow modules
2538
2531
 
2539
2532
  ### Dropping CJS support in all @atlaskit packages
@@ -2585,25 +2578,21 @@
2585
2578
  ## 6.5.0
2586
2579
 
2587
2580
  - [minor][a48dddb43c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a48dddb43c):
2588
-
2589
2581
  - onChange will only be fired when a complete datetime is supplied by the user
2590
2582
 
2591
2583
  ## 6.4.2
2592
2584
 
2593
2585
  - [patch][0cd7f505b3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0cd7f505b3):
2594
-
2595
2586
  - Iso date parsing on IE11 and Edge is now consistent with other browsers
2596
2587
 
2597
2588
  ## 6.4.1
2598
2589
 
2599
2590
  - [patch][348d3aed19](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/348d3aed19):
2600
-
2601
2591
  - Datepicker will now reset the focused date on the calendar every time it is opened
2602
2592
 
2603
2593
  ## 6.4.0
2604
2594
 
2605
2595
  - [minor][52827feffb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/52827feffb):
2606
-
2607
2596
  - onChange is now called only when the user selects or clears a value. The date passed to onChange
2608
2597
  will always be a valid date
2609
2598
 
@@ -2623,28 +2612,23 @@
2623
2612
  ## 6.3.24
2624
2613
 
2625
2614
  - [patch][55e0a3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/55e0a3a):
2626
-
2627
2615
  - Fixes keyboard entry bug
2628
2616
 
2629
2617
  - [patch][075dfa2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/075dfa2):
2630
-
2631
2618
  - Allowing control of input value in datetime-picker
2632
2619
 
2633
2620
  ## 6.3.23
2634
2621
 
2635
2622
  - [patch][4c4bdc5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4c4bdc5):
2636
-
2637
2623
  - AK-5672 - Refactor parseTime by separating logic and concerns into smaller, testable functions.
2638
2624
  Fixes meridiem issues.
2639
2625
 
2640
2626
  - [patch][58a40bf](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58a40bf):
2641
-
2642
2627
  - Factoring in meridiem for 24hr time in editable
2643
2628
 
2644
2629
  ## 6.3.22
2645
2630
 
2646
2631
  - [patch][5c548ea](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5c548ea):
2647
-
2648
2632
  - Removing extraneous wrapping span around icons which was causing an accessibility error
2649
2633
 
2650
2634
  ## 6.3.21
@@ -2707,7 +2691,6 @@
2707
2691
  ## 6.3.17
2708
2692
 
2709
2693
  - [patch][b332c91](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b332c91):
2710
-
2711
2694
  - upgrades verison of react-scrolllock to SSR safe version
2712
2695
 
2713
2696
  ## 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.1";
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.1";
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.1";
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.1";
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.1";
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.1";
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.1";
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.1";
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.1";
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.1";
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.1";
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.1";
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.1";
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.1";
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.1";
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.2",
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/"
@@ -44,10 +44,10 @@
44
44
  "@atlaskit/popper": "^7.1.0",
45
45
  "@atlaskit/primitives": "^15.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",