@atlaskit/calendar 13.0.10 → 13.0.11
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 +7 -0
- package/dist/cjs/calendar.js +1 -1
- package/dist/cjs/internal/components/header.js +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/calendar.js +1 -1
- package/dist/es2019/internal/components/header.js +3 -3
- package/dist/es2019/version.json +1 -1
- package/dist/esm/calendar.js +1 -1
- package/dist/esm/internal/components/header.js +3 -3
- package/dist/esm/version.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/calendar
|
|
2
2
|
|
|
3
|
+
## 13.0.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`70922a6fcea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70922a6fcea) - [ux] style(calendar): update icon fallback color from N70 to N700 to match tokens and fix color contrast issue
|
|
8
|
+
- [`c0fb88b3af6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0fb88b3af6) - [ux] style(calendar): update icon color token from text.subtlest to color.icon
|
|
9
|
+
|
|
3
10
|
## 13.0.10
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/cjs/calendar.js
CHANGED
|
@@ -33,7 +33,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
33
33
|
var analyticsAttributes = {
|
|
34
34
|
componentName: 'calendar',
|
|
35
35
|
packageName: "@atlaskit/calendar",
|
|
36
|
-
packageVersion: "13.0.
|
|
36
|
+
packageVersion: "13.0.11"
|
|
37
37
|
};
|
|
38
38
|
var CalendarWithMode = /*#__PURE__*/(0, _react.forwardRef)(function Calendar(_ref, ref) {
|
|
39
39
|
var day = _ref.day,
|
|
@@ -43,7 +43,7 @@ var Header = /*#__PURE__*/(0, _react.memo)(function Header(_ref) {
|
|
|
43
43
|
iconBefore: (0, _react2.jsx)(_chevronLeftLarge.default, {
|
|
44
44
|
label: previousMonthLabel,
|
|
45
45
|
size: "medium",
|
|
46
|
-
primaryColor: "var(--ds-
|
|
46
|
+
primaryColor: "var(--ds-icon, ".concat(_colors.N700, ")"),
|
|
47
47
|
testId: testId && "".concat(testId, "--previous-month-icon")
|
|
48
48
|
})
|
|
49
49
|
}), (0, _react2.jsx)(_heading.default, {
|
|
@@ -59,7 +59,7 @@ var Header = /*#__PURE__*/(0, _react.memo)(function Header(_ref) {
|
|
|
59
59
|
iconBefore: (0, _react2.jsx)(_chevronRightLarge.default, {
|
|
60
60
|
label: nextMonthLabel,
|
|
61
61
|
size: "medium",
|
|
62
|
-
primaryColor: "var(--ds-
|
|
62
|
+
primaryColor: "var(--ds-icon, ".concat(_colors.N700, ")"),
|
|
63
63
|
testId: testId && "".concat(testId, "--next-month-icon")
|
|
64
64
|
})
|
|
65
65
|
})));
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/calendar.js
CHANGED
|
@@ -23,7 +23,7 @@ import useUniqueId from './internal/hooks/use-unique-id';
|
|
|
23
23
|
const analyticsAttributes = {
|
|
24
24
|
componentName: 'calendar',
|
|
25
25
|
packageName: "@atlaskit/calendar",
|
|
26
|
-
packageVersion: "13.0.
|
|
26
|
+
packageVersion: "13.0.11"
|
|
27
27
|
};
|
|
28
28
|
const CalendarWithMode = /*#__PURE__*/forwardRef(function Calendar({
|
|
29
29
|
day,
|
|
@@ -7,7 +7,7 @@ import Heading from '@atlaskit/heading';
|
|
|
7
7
|
import ArrowleftIcon from '@atlaskit/icon/glyph/chevron-left-large';
|
|
8
8
|
import ArrowrightIcon from '@atlaskit/icon/glyph/chevron-right-large';
|
|
9
9
|
import Inline from '@atlaskit/primitives/inline';
|
|
10
|
-
import {
|
|
10
|
+
import { N700 } from '@atlaskit/theme/colors';
|
|
11
11
|
const Header = /*#__PURE__*/memo(function Header({
|
|
12
12
|
monthLongTitle,
|
|
13
13
|
year,
|
|
@@ -34,7 +34,7 @@ const Header = /*#__PURE__*/memo(function Header({
|
|
|
34
34
|
iconBefore: jsx(ArrowleftIcon, {
|
|
35
35
|
label: previousMonthLabel,
|
|
36
36
|
size: "medium",
|
|
37
|
-
primaryColor: `var(--ds-
|
|
37
|
+
primaryColor: `var(--ds-icon, ${N700})`,
|
|
38
38
|
testId: testId && `${testId}--previous-month-icon`
|
|
39
39
|
})
|
|
40
40
|
}), jsx(Heading, {
|
|
@@ -50,7 +50,7 @@ const Header = /*#__PURE__*/memo(function Header({
|
|
|
50
50
|
iconBefore: jsx(ArrowrightIcon, {
|
|
51
51
|
label: nextMonthLabel,
|
|
52
52
|
size: "medium",
|
|
53
|
-
primaryColor: `var(--ds-
|
|
53
|
+
primaryColor: `var(--ds-icon, ${N700})`,
|
|
54
54
|
testId: testId && `${testId}--next-month-icon`
|
|
55
55
|
})
|
|
56
56
|
})));
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/calendar.js
CHANGED
|
@@ -27,7 +27,7 @@ import useUniqueId from './internal/hooks/use-unique-id';
|
|
|
27
27
|
var analyticsAttributes = {
|
|
28
28
|
componentName: 'calendar',
|
|
29
29
|
packageName: "@atlaskit/calendar",
|
|
30
|
-
packageVersion: "13.0.
|
|
30
|
+
packageVersion: "13.0.11"
|
|
31
31
|
};
|
|
32
32
|
var CalendarWithMode = /*#__PURE__*/forwardRef(function Calendar(_ref, ref) {
|
|
33
33
|
var day = _ref.day,
|
|
@@ -7,7 +7,7 @@ import Heading from '@atlaskit/heading';
|
|
|
7
7
|
import ArrowleftIcon from '@atlaskit/icon/glyph/chevron-left-large';
|
|
8
8
|
import ArrowrightIcon from '@atlaskit/icon/glyph/chevron-right-large';
|
|
9
9
|
import Inline from '@atlaskit/primitives/inline';
|
|
10
|
-
import {
|
|
10
|
+
import { N700 } from '@atlaskit/theme/colors';
|
|
11
11
|
var Header = /*#__PURE__*/memo(function Header(_ref) {
|
|
12
12
|
var monthLongTitle = _ref.monthLongTitle,
|
|
13
13
|
year = _ref.year,
|
|
@@ -35,7 +35,7 @@ var Header = /*#__PURE__*/memo(function Header(_ref) {
|
|
|
35
35
|
iconBefore: jsx(ArrowleftIcon, {
|
|
36
36
|
label: previousMonthLabel,
|
|
37
37
|
size: "medium",
|
|
38
|
-
primaryColor: "var(--ds-
|
|
38
|
+
primaryColor: "var(--ds-icon, ".concat(N700, ")"),
|
|
39
39
|
testId: testId && "".concat(testId, "--previous-month-icon")
|
|
40
40
|
})
|
|
41
41
|
}), jsx(Heading, {
|
|
@@ -51,7 +51,7 @@ var Header = /*#__PURE__*/memo(function Header(_ref) {
|
|
|
51
51
|
iconBefore: jsx(ArrowrightIcon, {
|
|
52
52
|
label: nextMonthLabel,
|
|
53
53
|
size: "medium",
|
|
54
|
-
primaryColor: "var(--ds-
|
|
54
|
+
primaryColor: "var(--ds-icon, ".concat(N700, ")"),
|
|
55
55
|
testId: testId && "".concat(testId, "--next-month-icon")
|
|
56
56
|
})
|
|
57
57
|
})));
|
package/dist/esm/version.json
CHANGED