@atlaskit/calendar 13.1.3 → 13.1.4

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
+ ## 13.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`774ed69ecef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/774ed69ecef) - Internal changes to use space tokens for spacing values. There is no visual change.
8
+
3
9
  ## 13.1.3
4
10
 
5
11
  ### Patch Changes
@@ -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.1.3"
36
+ packageVersion: "13.1.4"
37
37
  };
38
38
  var CalendarWithMode = /*#__PURE__*/(0, _react.forwardRef)(function Calendar(_ref, ref) {
39
39
  var day = _ref.day,
@@ -35,7 +35,7 @@ var dateCellStyles = function dateCellStyles() {
35
35
  return {
36
36
  all: 'unset',
37
37
  display: 'block',
38
- padding: '4px 9px',
38
+ padding: "var(--ds-space-050, 4px)".concat(" 9px"),
39
39
  position: 'relative',
40
40
  backgroundColor: 'transparent',
41
41
  border: '2px solid transparent',
@@ -55,9 +55,9 @@ var dateCellStyles = function dateCellStyles() {
55
55
  display: 'block',
56
56
  height: 2,
57
57
  position: 'absolute',
58
- right: 2,
59
- bottom: 2,
60
- left: 2,
58
+ right: "var(--ds-space-025, 2px)",
59
+ bottom: "var(--ds-space-025, 2px)",
60
+ left: "var(--ds-space-025, 2px)",
61
61
  backgroundColor: 'currentColor',
62
62
  content: '""'
63
63
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/calendar",
3
- "version": "13.1.3",
3
+ "version": "13.1.4",
4
4
  "sideEffects": false
5
5
  }
@@ -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.1.3"
26
+ packageVersion: "13.1.4"
27
27
  };
28
28
  const CalendarWithMode = /*#__PURE__*/forwardRef(function Calendar({
29
29
  day,
@@ -27,7 +27,7 @@ const borderColorFocused = {
27
27
  export const dateCellStyles = (mode = 'light') => ({
28
28
  all: 'unset',
29
29
  display: 'block',
30
- padding: '4px 9px',
30
+ padding: `${"var(--ds-space-050, 4px)"} 9px`,
31
31
  position: 'relative',
32
32
  backgroundColor: 'transparent',
33
33
  border: '2px solid transparent',
@@ -47,9 +47,9 @@ export const dateCellStyles = (mode = 'light') => ({
47
47
  display: 'block',
48
48
  height: 2,
49
49
  position: 'absolute',
50
- right: 2,
51
- bottom: 2,
52
- left: 2,
50
+ right: "var(--ds-space-025, 2px)",
51
+ bottom: "var(--ds-space-025, 2px)",
52
+ left: "var(--ds-space-025, 2px)",
53
53
  backgroundColor: 'currentColor',
54
54
  content: '""'
55
55
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/calendar",
3
- "version": "13.1.3",
3
+ "version": "13.1.4",
4
4
  "sideEffects": false
5
5
  }
@@ -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.1.3"
30
+ packageVersion: "13.1.4"
31
31
  };
32
32
  var CalendarWithMode = /*#__PURE__*/forwardRef(function Calendar(_ref, ref) {
33
33
  var day = _ref.day,
@@ -29,7 +29,7 @@ export var dateCellStyles = function dateCellStyles() {
29
29
  return {
30
30
  all: 'unset',
31
31
  display: 'block',
32
- padding: '4px 9px',
32
+ padding: "var(--ds-space-050, 4px)".concat(" 9px"),
33
33
  position: 'relative',
34
34
  backgroundColor: 'transparent',
35
35
  border: '2px solid transparent',
@@ -49,9 +49,9 @@ export var dateCellStyles = function dateCellStyles() {
49
49
  display: 'block',
50
50
  height: 2,
51
51
  position: 'absolute',
52
- right: 2,
53
- bottom: 2,
54
- left: 2,
52
+ right: "var(--ds-space-025, 2px)",
53
+ bottom: "var(--ds-space-025, 2px)",
54
+ left: "var(--ds-space-025, 2px)",
55
55
  backgroundColor: 'currentColor',
56
56
  content: '""'
57
57
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/calendar",
3
- "version": "13.1.3",
3
+ "version": "13.1.4",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/calendar",
3
- "version": "13.1.3",
3
+ "version": "13.1.4",
4
4
  "description": "An interactive calendar for date selection experiences.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"