@atlaskit/calendar 17.1.21 → 17.1.22

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/calendar
2
2
 
3
+ ## 17.1.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 17.1.21
4
10
 
5
11
  ### Patch Changes
@@ -875,11 +881,9 @@
875
881
  - [#28165](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28165)
876
882
  [`642298a54dc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/642298a54dc) - Major
877
883
  changes:
878
-
879
884
  - Removing support for legacy dark mode.
880
885
 
881
886
  Minor changes:
882
-
883
887
  - Removal of row containers in day of month grid.
884
888
  - Vertically center heading inside the calendar.
885
889
  - Minor changes to visual layout to conform to design system tokens.
@@ -1137,14 +1141,12 @@
1137
1141
 
1138
1142
  Adds three props to make disabling dates more practical, performant and expressive in
1139
1143
  `@atlaskit/calendar`. These features are also available for DatePicker:
1140
-
1141
1144
  - `minDate` for the minimum valid date
1142
1145
  - `maxDate` for the maximum valid date
1143
1146
  - `disabledDateFilter`, a function that takes a date string, and returns whether or not it should
1144
1147
  be disabled.
1145
1148
 
1146
1149
  ### Bugs
1147
-
1148
1150
  - Disabled dates that lie outside of the currently selected month now have correct hover styles
1149
1151
 
1150
1152
  ### Patch Changes
@@ -1187,7 +1189,6 @@
1187
1189
  - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
1188
1190
  [`8ed4c2efc42`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ed4c2efc42) - In this
1189
1191
  version we made calendar dramatically faster and lighter 🤩
1190
-
1191
1192
  - General performance improvements
1192
1193
  - Moved from using tables to CSS grid to display the days
1193
1194
  - Removed unnecessary DOM elements
@@ -1249,7 +1250,6 @@
1249
1250
  injected package name and version for analytics instead of version.json.
1250
1251
  - [`42785088a12`](https://bitbucket.org/atlassian/atlassian-frontend/commits/42785088a12) - -
1251
1252
  Migrate old entry points to new one. Calendar now has only following exports:
1252
-
1253
1253
  - **default export**. Can be imported like:
1254
1254
  - `import Calendar from '@atlaskit/calendar'`
1255
1255
  - **named type exports** (`CalendarProps`, `ChangeEvent`, `SelectEvent`). Can be imported like:
@@ -1257,7 +1257,6 @@
1257
1257
  - `import { CalendarProps, ChangeEvent, SelectEvent } from '@atlaskit/calendar/types'`.
1258
1258
 
1259
1259
  **Internal change**
1260
-
1261
1260
  - Remove reference of private types and props from the documentation. Right now private type is
1262
1261
  `CalendarInternalRef` and private prop is `calendarRef`.
1263
1262
  - Rename calendar exported private ref type from `CalendarInternalRef` to `CalendarRef`.
@@ -1265,7 +1264,6 @@
1265
1264
 
1266
1265
  - [`f74ba30c53c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f74ba30c53c) -
1267
1266
  **Internal change**
1268
-
1269
1267
  - We have improved re-rendering quite a bit by memoizing components, loops and rendered elements.
1270
1268
  - Duplicate "pad-to-two" util has been removed.
1271
1269
  - Refactored few variables/functions/types.
@@ -1281,7 +1279,6 @@
1281
1279
  [`d069f7834ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d069f7834ef) - Calendar
1282
1280
  now accepts a `weekStartDay` prop that controls which day of the week should be used at the start.
1283
1281
  This prop accepts the following values:
1284
-
1285
1282
  - `0` sunday (default value)
1286
1283
  - `1` monday
1287
1284
  - `2` tuesday
@@ -1298,7 +1295,6 @@
1298
1295
  Improvement in internal analytics performance
1299
1296
 
1300
1297
  **Dev changes**
1301
-
1302
1298
  - Migrated from `@atlaskit/analytics-next` React HOC to React hooks. This improved re-rendering
1303
1299
  quite a bit.
1304
1300
 
@@ -1321,7 +1317,6 @@
1321
1317
  [`4dae77b2678`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4dae77b2678) - Calendar
1322
1318
  now accepts a `weekStartDay` prop that controls which day of the week should be used at the start.
1323
1319
  This prop accepts the following values:
1324
-
1325
1320
  - `0` sunday (default value)
1326
1321
  - `1` monday
1327
1322
  - `2` tuesday
@@ -1341,7 +1336,6 @@
1341
1336
  - [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
1342
1337
  [`985961ce983`](https://bitbucket.org/atlassian/atlassian-frontend/commits/985961ce983) - Internal
1343
1338
  change from class to function components
1344
-
1345
1339
  - We have converted all the components from class to functional. This improved performance quite a
1346
1340
  bit. Initial rendering, hydration, interaction, bundlesize and re-rendering; all have been
1347
1341
  improved.
@@ -1546,7 +1540,6 @@
1546
1540
 
1547
1541
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
1548
1542
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1549
-
1550
1543
  - @atlaskit/docs@8.3.2
1551
1544
  - @atlaskit/analytics-next@6.3.5
1552
1545
  - @atlaskit/button@13.3.7
@@ -1632,7 +1625,6 @@
1632
1625
  - [minor][e3d466543f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e3d466543f):
1633
1626
 
1634
1627
  Add locale support for Calendar/DateTimePicker/DatePicker/TimePicker:
1635
-
1636
1628
  - New prop `locale` enables localization for date/time format in `DatePicker`, `TimePicker` and
1637
1629
  `DateTimePicker`, and months/days in `Calendar`.
1638
1630
  - Deprecated `dateFormat`, `timeFormat` and `formatDisplayLabel` props. Please use `locale`
@@ -1725,7 +1717,6 @@
1725
1717
  ## 8.0.0
1726
1718
 
1727
1719
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1728
-
1729
1720
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
1730
1721
  this package, please ensure you use at least this version of react and react-dom.
1731
1722
 
@@ -1761,7 +1752,6 @@
1761
1752
  ## 7.0.19
1762
1753
 
1763
1754
  - [patch][f8cf9e271e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f8cf9e271e):
1764
-
1765
1755
  - Internal changes only. Calendar is now ssr-friendly.
1766
1756
 
1767
1757
  ## 7.0.18
@@ -1818,13 +1808,11 @@
1818
1808
  ## 7.0.12
1819
1809
 
1820
1810
  - [patch][21f5216](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21f5216):
1821
-
1822
1811
  - Remove enzyme-to-json as it is used in our jestFrameworkSetup.js
1823
1812
 
1824
1813
  ## 7.0.11
1825
1814
 
1826
1815
  - [patch][a637f5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a637f5e):
1827
-
1828
1816
  - Refine and fix some flow type errors found by fixing @atlaskit/analytics-next HOCs to allow flow
1829
1817
  to type check properly
1830
1818
 
@@ -37,7 +37,7 @@ var styles = {
37
37
  var analyticsAttributes = {
38
38
  componentName: 'calendar',
39
39
  packageName: "@atlaskit/calendar",
40
- packageVersion: "0.0.0-development"
40
+ packageVersion: "17.1.21"
41
41
  };
42
42
  var InnerCalendar = /*#__PURE__*/(0, _react.forwardRef)(function Calendar(_ref, ref) {
43
43
  var day = _ref.day,
@@ -24,7 +24,7 @@ const styles = {
24
24
  const analyticsAttributes = {
25
25
  componentName: 'calendar',
26
26
  packageName: "@atlaskit/calendar",
27
- packageVersion: "0.0.0-development"
27
+ packageVersion: "17.1.21"
28
28
  };
29
29
  const InnerCalendar = /*#__PURE__*/forwardRef(function Calendar({
30
30
  day,
@@ -28,7 +28,7 @@ var styles = {
28
28
  var analyticsAttributes = {
29
29
  componentName: 'calendar',
30
30
  packageName: "@atlaskit/calendar",
31
- packageVersion: "0.0.0-development"
31
+ packageVersion: "17.1.21"
32
32
  };
33
33
  var InnerCalendar = /*#__PURE__*/forwardRef(function Calendar(_ref, ref) {
34
34
  var day = _ref.day,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/calendar",
3
- "version": "17.1.21",
3
+ "version": "17.1.22",
4
4
  "description": "An interactive calendar for date selection experiences.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,9 +33,9 @@
33
33
  "@atlaskit/locale": "^3.0.0",
34
34
  "@atlaskit/primitives": "^15.0.0",
35
35
  "@atlaskit/theme": "^21.0.0",
36
- "@atlaskit/tokens": "^6.5.0",
36
+ "@atlaskit/tokens": "^7.0.0",
37
37
  "@babel/runtime": "^7.0.0",
38
- "@compiled/react": "^0.18.3",
38
+ "@compiled/react": "^0.18.6",
39
39
  "date-fns": "^2.17.0"
40
40
  },
41
41
  "peerDependencies": {
@@ -45,7 +45,7 @@
45
45
  "@af/accessibility-testing": "workspace:^",
46
46
  "@af/integration-testing": "workspace:^",
47
47
  "@af/visual-regression": "workspace:^",
48
- "@atlaskit/docs": "^11.1.0",
48
+ "@atlaskit/docs": "^11.2.0",
49
49
  "@atlaskit/form": "^14.2.0",
50
50
  "@atlaskit/link": "^3.2.0",
51
51
  "@atlaskit/section-message": "^8.7.0",