@atlaskit/calendar 17.1.21 → 17.1.23

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/calendar
2
2
 
3
+ ## 17.1.23
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.1.22
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 17.1.21
4
16
 
5
17
  ### Patch Changes
@@ -875,11 +887,9 @@
875
887
  - [#28165](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28165)
876
888
  [`642298a54dc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/642298a54dc) - Major
877
889
  changes:
878
-
879
890
  - Removing support for legacy dark mode.
880
891
 
881
892
  Minor changes:
882
-
883
893
  - Removal of row containers in day of month grid.
884
894
  - Vertically center heading inside the calendar.
885
895
  - Minor changes to visual layout to conform to design system tokens.
@@ -1137,14 +1147,12 @@
1137
1147
 
1138
1148
  Adds three props to make disabling dates more practical, performant and expressive in
1139
1149
  `@atlaskit/calendar`. These features are also available for DatePicker:
1140
-
1141
1150
  - `minDate` for the minimum valid date
1142
1151
  - `maxDate` for the maximum valid date
1143
1152
  - `disabledDateFilter`, a function that takes a date string, and returns whether or not it should
1144
1153
  be disabled.
1145
1154
 
1146
1155
  ### Bugs
1147
-
1148
1156
  - Disabled dates that lie outside of the currently selected month now have correct hover styles
1149
1157
 
1150
1158
  ### Patch Changes
@@ -1187,7 +1195,6 @@
1187
1195
  - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
1188
1196
  [`8ed4c2efc42`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ed4c2efc42) - In this
1189
1197
  version we made calendar dramatically faster and lighter 🤩
1190
-
1191
1198
  - General performance improvements
1192
1199
  - Moved from using tables to CSS grid to display the days
1193
1200
  - Removed unnecessary DOM elements
@@ -1249,7 +1256,6 @@
1249
1256
  injected package name and version for analytics instead of version.json.
1250
1257
  - [`42785088a12`](https://bitbucket.org/atlassian/atlassian-frontend/commits/42785088a12) - -
1251
1258
  Migrate old entry points to new one. Calendar now has only following exports:
1252
-
1253
1259
  - **default export**. Can be imported like:
1254
1260
  - `import Calendar from '@atlaskit/calendar'`
1255
1261
  - **named type exports** (`CalendarProps`, `ChangeEvent`, `SelectEvent`). Can be imported like:
@@ -1257,7 +1263,6 @@
1257
1263
  - `import { CalendarProps, ChangeEvent, SelectEvent } from '@atlaskit/calendar/types'`.
1258
1264
 
1259
1265
  **Internal change**
1260
-
1261
1266
  - Remove reference of private types and props from the documentation. Right now private type is
1262
1267
  `CalendarInternalRef` and private prop is `calendarRef`.
1263
1268
  - Rename calendar exported private ref type from `CalendarInternalRef` to `CalendarRef`.
@@ -1265,7 +1270,6 @@
1265
1270
 
1266
1271
  - [`f74ba30c53c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f74ba30c53c) -
1267
1272
  **Internal change**
1268
-
1269
1273
  - We have improved re-rendering quite a bit by memoizing components, loops and rendered elements.
1270
1274
  - Duplicate "pad-to-two" util has been removed.
1271
1275
  - Refactored few variables/functions/types.
@@ -1281,7 +1285,6 @@
1281
1285
  [`d069f7834ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d069f7834ef) - Calendar
1282
1286
  now accepts a `weekStartDay` prop that controls which day of the week should be used at the start.
1283
1287
  This prop accepts the following values:
1284
-
1285
1288
  - `0` sunday (default value)
1286
1289
  - `1` monday
1287
1290
  - `2` tuesday
@@ -1298,7 +1301,6 @@
1298
1301
  Improvement in internal analytics performance
1299
1302
 
1300
1303
  **Dev changes**
1301
-
1302
1304
  - Migrated from `@atlaskit/analytics-next` React HOC to React hooks. This improved re-rendering
1303
1305
  quite a bit.
1304
1306
 
@@ -1321,7 +1323,6 @@
1321
1323
  [`4dae77b2678`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4dae77b2678) - Calendar
1322
1324
  now accepts a `weekStartDay` prop that controls which day of the week should be used at the start.
1323
1325
  This prop accepts the following values:
1324
-
1325
1326
  - `0` sunday (default value)
1326
1327
  - `1` monday
1327
1328
  - `2` tuesday
@@ -1341,7 +1342,6 @@
1341
1342
  - [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
1342
1343
  [`985961ce983`](https://bitbucket.org/atlassian/atlassian-frontend/commits/985961ce983) - Internal
1343
1344
  change from class to function components
1344
-
1345
1345
  - We have converted all the components from class to functional. This improved performance quite a
1346
1346
  bit. Initial rendering, hydration, interaction, bundlesize and re-rendering; all have been
1347
1347
  improved.
@@ -1546,7 +1546,6 @@
1546
1546
 
1547
1547
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
1548
1548
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1549
-
1550
1549
  - @atlaskit/docs@8.3.2
1551
1550
  - @atlaskit/analytics-next@6.3.5
1552
1551
  - @atlaskit/button@13.3.7
@@ -1632,7 +1631,6 @@
1632
1631
  - [minor][e3d466543f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e3d466543f):
1633
1632
 
1634
1633
  Add locale support for Calendar/DateTimePicker/DatePicker/TimePicker:
1635
-
1636
1634
  - New prop `locale` enables localization for date/time format in `DatePicker`, `TimePicker` and
1637
1635
  `DateTimePicker`, and months/days in `Calendar`.
1638
1636
  - Deprecated `dateFormat`, `timeFormat` and `formatDisplayLabel` props. Please use `locale`
@@ -1725,7 +1723,6 @@
1725
1723
  ## 8.0.0
1726
1724
 
1727
1725
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1728
-
1729
1726
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
1730
1727
  this package, please ensure you use at least this version of react and react-dom.
1731
1728
 
@@ -1761,7 +1758,6 @@
1761
1758
  ## 7.0.19
1762
1759
 
1763
1760
  - [patch][f8cf9e271e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f8cf9e271e):
1764
-
1765
1761
  - Internal changes only. Calendar is now ssr-friendly.
1766
1762
 
1767
1763
  ## 7.0.18
@@ -1818,13 +1814,11 @@
1818
1814
  ## 7.0.12
1819
1815
 
1820
1816
  - [patch][21f5216](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21f5216):
1821
-
1822
1817
  - Remove enzyme-to-json as it is used in our jestFrameworkSetup.js
1823
1818
 
1824
1819
  ## 7.0.11
1825
1820
 
1826
1821
  - [patch][a637f5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a637f5e):
1827
-
1828
1822
  - Refine and fix some flow type errors found by fixing @atlaskit/analytics-next HOCs to allow flow
1829
1823
  to type check properly
1830
1824
 
@@ -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.22"
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.22"
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.22"
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.23",
4
4
  "description": "An interactive calendar for date selection experiences.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,11 +31,11 @@
31
31
  "@atlaskit/heading": "^5.2.0",
32
32
  "@atlaskit/icon": "^28.5.0",
33
33
  "@atlaskit/locale": "^3.0.0",
34
- "@atlaskit/primitives": "^15.0.0",
34
+ "@atlaskit/primitives": "^16.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",