@atlaskit/calendar 13.1.8 → 13.1.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 +13 -0
- package/dist/cjs/calendar.js +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/calendar.js +2 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/calendar.js +2 -2
- package/dist/esm/version.json +1 -1
- package/dist/types/types.d.ts +6 -6
- package/dist/types-ts4.5/types.d.ts +6 -6
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/calendar
|
|
2
2
|
|
|
3
|
+
## 13.1.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`76d4d797a2d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76d4d797a2d) - Updates calendar for primitives bump.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 13.1.9
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 13.1.8
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/cjs/calendar.js
CHANGED
|
@@ -32,13 +32,13 @@ var _useUniqueId = _interopRequireDefault(require("./internal/hooks/use-unique-i
|
|
|
32
32
|
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; }
|
|
33
33
|
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; } /** @jsx jsx */
|
|
34
34
|
var boxStyles = (0, _primitives.xcss)({
|
|
35
|
-
display: '
|
|
35
|
+
display: 'inline-block',
|
|
36
36
|
userSelect: 'none'
|
|
37
37
|
});
|
|
38
38
|
var analyticsAttributes = {
|
|
39
39
|
componentName: 'calendar',
|
|
40
40
|
packageName: "@atlaskit/calendar",
|
|
41
|
-
packageVersion: "13.1.
|
|
41
|
+
packageVersion: "13.1.10"
|
|
42
42
|
};
|
|
43
43
|
var CalendarWithMode = /*#__PURE__*/(0, _react.forwardRef)(function Calendar(_ref, ref) {
|
|
44
44
|
var day = _ref.day,
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/calendar.js
CHANGED
|
@@ -22,13 +22,13 @@ import useHandleDateSelect from './internal/hooks/use-handle-date-select';
|
|
|
22
22
|
import useLocale from './internal/hooks/use-locale';
|
|
23
23
|
import useUniqueId from './internal/hooks/use-unique-id';
|
|
24
24
|
const boxStyles = xcss({
|
|
25
|
-
display: '
|
|
25
|
+
display: 'inline-block',
|
|
26
26
|
userSelect: 'none'
|
|
27
27
|
});
|
|
28
28
|
const analyticsAttributes = {
|
|
29
29
|
componentName: 'calendar',
|
|
30
30
|
packageName: "@atlaskit/calendar",
|
|
31
|
-
packageVersion: "13.1.
|
|
31
|
+
packageVersion: "13.1.10"
|
|
32
32
|
};
|
|
33
33
|
const CalendarWithMode = /*#__PURE__*/forwardRef(function Calendar({
|
|
34
34
|
day,
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/calendar.js
CHANGED
|
@@ -26,13 +26,13 @@ import useHandleDateSelect from './internal/hooks/use-handle-date-select';
|
|
|
26
26
|
import useLocale from './internal/hooks/use-locale';
|
|
27
27
|
import useUniqueId from './internal/hooks/use-unique-id';
|
|
28
28
|
var boxStyles = xcss({
|
|
29
|
-
display: '
|
|
29
|
+
display: 'inline-block',
|
|
30
30
|
userSelect: 'none'
|
|
31
31
|
});
|
|
32
32
|
var analyticsAttributes = {
|
|
33
33
|
componentName: 'calendar',
|
|
34
34
|
packageName: "@atlaskit/calendar",
|
|
35
|
-
packageVersion: "13.1.
|
|
35
|
+
packageVersion: "13.1.10"
|
|
36
36
|
};
|
|
37
37
|
var CalendarWithMode = /*#__PURE__*/forwardRef(function Calendar(_ref, ref) {
|
|
38
38
|
var day = _ref.day,
|
package/dist/esm/version.json
CHANGED
package/dist/types/types.d.ts
CHANGED
|
@@ -124,12 +124,12 @@ export interface CalendarProps extends WithAnalyticsEventsProps {
|
|
|
124
124
|
/**
|
|
125
125
|
* A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests
|
|
126
126
|
*
|
|
127
|
-
* testId--container - Outermost container containing everything inside calendar
|
|
128
|
-
* testId--month - Container containing all available days for the month
|
|
129
|
-
* testId--previous-month - Button to show next month
|
|
130
|
-
* testId--next-month - Button to show previous month
|
|
131
|
-
* testId--current-month-year - Text containing the current month and year
|
|
132
|
-
* testId--selected-day - The currently selected day (may be missing if a date isn’t selected)
|
|
127
|
+
* - testId--container - Outermost container containing everything inside calendar
|
|
128
|
+
* - testId--month - Container containing all available days for the month
|
|
129
|
+
* - testId--previous-month - Button to show next month
|
|
130
|
+
* - testId--next-month - Button to show previous month
|
|
131
|
+
* - testId--current-month-year - Text containing the current month and year
|
|
132
|
+
* - testId--selected-day - The currently selected day (may be missing if a date isn’t selected)
|
|
133
133
|
*/
|
|
134
134
|
testId?: string;
|
|
135
135
|
/**
|
|
@@ -124,12 +124,12 @@ export interface CalendarProps extends WithAnalyticsEventsProps {
|
|
|
124
124
|
/**
|
|
125
125
|
* A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests
|
|
126
126
|
*
|
|
127
|
-
* testId--container - Outermost container containing everything inside calendar
|
|
128
|
-
* testId--month - Container containing all available days for the month
|
|
129
|
-
* testId--previous-month - Button to show next month
|
|
130
|
-
* testId--next-month - Button to show previous month
|
|
131
|
-
* testId--current-month-year - Text containing the current month and year
|
|
132
|
-
* testId--selected-day - The currently selected day (may be missing if a date isn’t selected)
|
|
127
|
+
* - testId--container - Outermost container containing everything inside calendar
|
|
128
|
+
* - testId--month - Container containing all available days for the month
|
|
129
|
+
* - testId--previous-month - Button to show next month
|
|
130
|
+
* - testId--next-month - Button to show previous month
|
|
131
|
+
* - testId--current-month-year - Text containing the current month and year
|
|
132
|
+
* - testId--selected-day - The currently selected day (may be missing if a date isn’t selected)
|
|
133
133
|
*/
|
|
134
134
|
testId?: string;
|
|
135
135
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/calendar",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.10",
|
|
4
4
|
"description": "An interactive calendar for date selection experiences.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
35
|
-
"@atlaskit/button": "^16.
|
|
35
|
+
"@atlaskit/button": "^16.8.0",
|
|
36
36
|
"@atlaskit/ds-explorations": "^2.2.0",
|
|
37
37
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
38
38
|
"@atlaskit/heading": "^1.3.0",
|
|
39
39
|
"@atlaskit/icon": "^21.12.0",
|
|
40
40
|
"@atlaskit/locale": "^2.5.0",
|
|
41
|
-
"@atlaskit/primitives": "~0.
|
|
41
|
+
"@atlaskit/primitives": "~0.14.0",
|
|
42
42
|
"@atlaskit/theme": "^12.5.0",
|
|
43
|
-
"@atlaskit/tokens": "^1.
|
|
43
|
+
"@atlaskit/tokens": "^1.9.0",
|
|
44
44
|
"@atlaskit/visually-hidden": "^1.2.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|