@atlaskit/calendar 17.1.18 → 17.1.20

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,20 @@
1
1
  # @atlaskit/calendar
2
2
 
3
+ ## 17.1.20
4
+
5
+ ### Patch Changes
6
+
7
+ - [`39e543109ec09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) -
8
+ add type info to forwardRef components
9
+ - Updated dependencies
10
+
11
+ ## 17.1.19
12
+
13
+ ### Patch Changes
14
+
15
+ - [`f3494b0a49dbc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f3494b0a49dbc) -
16
+ Internal changes to use new shape tokens. No visual changes.
17
+
3
18
  ## 17.1.18
4
19
 
5
20
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* calendar.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* calendar.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -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.19"
41
41
  };
42
42
  var InnerCalendar = /*#__PURE__*/(0, _react.forwardRef)(function Calendar(_ref, ref) {
43
43
  var day = _ref.day,
@@ -1,7 +1,7 @@
1
1
 
2
2
  ._kkk2n7od{all:unset}
3
3
  ._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
4
- ._2rko1l7b{border-radius:3px}
4
+ ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
5
5
  ._189e1dm9{border-width:var(--ds-border-width-selected,2px)}
6
6
  ._1dqonqa1{border-style:solid}
7
7
  ._1h6d1j28{border-color:transparent}
@@ -1,4 +1,4 @@
1
- /* date.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* date.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -97,7 +97,7 @@ var Date = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef)(fu
97
97
  "data-sibling": isSibling || undefined,
98
98
  "data-today": isToday || undefined,
99
99
  "data-testid": testId && (isSelected ? "".concat(testId, "--selected-day") : "".concat(testId, "--day")),
100
- className: (0, _runtime.ax)(["_kkk2n7od _2rko1l7b _11c82smr _1h6d1j28 _1dqonqa1 _189e1dm9 _1e0c1ule _kqswh2mm _16jlkb7n _bfhk1j28 _syazovqm _80omtlke _85i51b66 _1q511b66 _y4tirdoj _bozgrdoj _y3gn1h6o _pojj3zdg _10knnqa1 _1wysdkaa _irr32tgk _30l3ovqm _1di618xb _9h8hovqm", isSibling && "_syazpsu8 _30l3psu8", isToday && "_syazln51 _k48p1igg _1ywu1ule _1qdgyh40 _18postnw _1hfk1r31 _aetrb3bt _1gufv77o _1czdv77o _g0nfv77o", isPreviouslySelected && "_bfhk1kxl _syaz1a5u _30l31a5u", isSelected && "_bfhky9dz _syaz11g7 _irr3j4m7 _30l3dgff", isDisabled && "_syazf50w _80om13gf _irr31j28 _30l3f50w"]),
100
+ className: (0, _runtime.ax)(["_kkk2n7od _2rkofajl _11c82smr _1h6d1j28 _1dqonqa1 _189e1dm9 _1e0c1ule _kqswh2mm _16jlkb7n _bfhk1j28 _syazovqm _80omtlke _85i51b66 _1q511b66 _y4tirdoj _bozgrdoj _y3gn1h6o _pojj3zdg _10knnqa1 _1wysdkaa _irr32tgk _30l3ovqm _1di618xb _9h8hovqm", isSibling && "_syazpsu8 _30l3psu8", isToday && "_syazln51 _k48p1igg _1ywu1ule _1qdgyh40 _18postnw _1hfk1r31 _aetrb3bt _1gufv77o _1czdv77o _g0nfv77o", isPreviouslySelected && "_bfhk1kxl _syaz1a5u _30l31a5u", isSelected && "_bfhky9dz _syaz11g7 _irr3j4m7 _30l3dgff", isDisabled && "_syazf50w _80om13gf _irr31j28 _30l3f50w"]),
101
101
  style: {
102
102
  "--_5xk3r4": (0, _runtime.ix)("var(--ds-text, ".concat(_colors.N900, ")")),
103
103
  "--_xjqa3d": (0, _runtime.ix)("var(--ds-border-focused, ".concat(_colors.B200, ")")),
@@ -1,4 +1,4 @@
1
- /* week-day-grid.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* week-day-grid.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* week-header.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* week-header.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* calendar.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* calendar.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./calendar.compiled.css";
4
4
  import * as React from 'react';
@@ -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.19"
28
28
  };
29
29
  const InnerCalendar = /*#__PURE__*/forwardRef(function Calendar({
30
30
  day,
@@ -1,7 +1,7 @@
1
1
 
2
2
  ._kkk2n7od{all:unset}
3
3
  ._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
4
- ._2rko1l7b{border-radius:3px}
4
+ ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
5
5
  ._189e1dm9{border-width:var(--ds-border-width-selected,2px)}
6
6
  ._1dqonqa1{border-style:solid}
7
7
  ._1h6d1j28{border-color:transparent}
@@ -1,4 +1,4 @@
1
- /* date.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* date.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./date.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -83,7 +83,7 @@ const Date = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Date({
83
83
  "data-sibling": isSibling || undefined,
84
84
  "data-today": isToday || undefined,
85
85
  "data-testid": testId && (isSelected ? `${testId}--selected-day` : `${testId}--day`),
86
- className: ax(["_kkk2n7od _2rko1l7b _11c82smr _1h6d1j28 _1dqonqa1 _189e1dm9 _1e0c1ule _kqswh2mm _16jlkb7n _bfhk1j28 _syazj3m3 _80omtlke _85i51b66 _1q511b66 _y4tirdoj _bozgrdoj _y3gn1h6o _pojj194a _10knnqa1 _1wysdkaa _irr314ae _30l3j3m3 _1di61l7b _9h8hj3m3", isSibling && "_syaz1wmz _30l31wmz", isToday && "_syaz1ldt _k48p1igg _1ywu1ule _1qdgyh40 _18postnw _1hfk1r31 _aetrb3bt _1gufv77o _1czdv77o _g0nfv77o", isPreviouslySelected && "_bfhk29zg _syazc8hx _30l3c8hx", isSelected && "_bfhk1p4p _syazqueg _irr3quvt _30l31uqy", isDisabled && "_syaz7dlb _80om13gf _irr31j28 _30l37dlb"])
86
+ className: ax(["_kkk2n7od _2rkofajl _11c82smr _1h6d1j28 _1dqonqa1 _189e1dm9 _1e0c1ule _kqswh2mm _16jlkb7n _bfhk1j28 _syazj3m3 _80omtlke _85i51b66 _1q511b66 _y4tirdoj _bozgrdoj _y3gn1h6o _pojj194a _10knnqa1 _1wysdkaa _irr314ae _30l3j3m3 _1di61l7b _9h8hj3m3", isSibling && "_syaz1wmz _30l31wmz", isToday && "_syaz1ldt _k48p1igg _1ywu1ule _1qdgyh40 _18postnw _1hfk1r31 _aetrb3bt _1gufv77o _1czdv77o _g0nfv77o", isPreviouslySelected && "_bfhk29zg _syazc8hx _30l3c8hx", isSelected && "_bfhk1p4p _syazqueg _irr3quvt _30l31uqy", isDisabled && "_syaz7dlb _80om13gf _irr31j28 _30l37dlb"])
87
87
  }, day));
88
88
  }));
89
89
  Date.displayName = 'Date';
@@ -1,4 +1,4 @@
1
- /* week-day-grid.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* week-day-grid.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./week-day-grid.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* week-header.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* week-header.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./week-header.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* calendar.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* calendar.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
@@ -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.19"
32
32
  };
33
33
  var InnerCalendar = /*#__PURE__*/forwardRef(function Calendar(_ref, ref) {
34
34
  var day = _ref.day,
@@ -1,7 +1,7 @@
1
1
 
2
2
  ._kkk2n7od{all:unset}
3
3
  ._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
4
- ._2rko1l7b{border-radius:3px}
4
+ ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
5
5
  ._189e1dm9{border-width:var(--ds-border-width-selected,2px)}
6
6
  ._1dqonqa1{border-style:solid}
7
7
  ._1h6d1j28{border-color:transparent}
@@ -1,4 +1,4 @@
1
- /* date.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* date.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./date.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -88,7 +88,7 @@ var Date = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Date(_ref2, _ref)
88
88
  "data-sibling": isSibling || undefined,
89
89
  "data-today": isToday || undefined,
90
90
  "data-testid": testId && (isSelected ? "".concat(testId, "--selected-day") : "".concat(testId, "--day")),
91
- className: ax(["_kkk2n7od _2rko1l7b _11c82smr _1h6d1j28 _1dqonqa1 _189e1dm9 _1e0c1ule _kqswh2mm _16jlkb7n _bfhk1j28 _syazovqm _80omtlke _85i51b66 _1q511b66 _y4tirdoj _bozgrdoj _y3gn1h6o _pojj3zdg _10knnqa1 _1wysdkaa _irr32tgk _30l3ovqm _1di618xb _9h8hovqm", isSibling && "_syazpsu8 _30l3psu8", isToday && "_syazln51 _k48p1igg _1ywu1ule _1qdgyh40 _18postnw _1hfk1r31 _aetrb3bt _1gufv77o _1czdv77o _g0nfv77o", isPreviouslySelected && "_bfhk1kxl _syaz1a5u _30l31a5u", isSelected && "_bfhky9dz _syaz11g7 _irr3j4m7 _30l3dgff", isDisabled && "_syazf50w _80om13gf _irr31j28 _30l3f50w"]),
91
+ className: ax(["_kkk2n7od _2rkofajl _11c82smr _1h6d1j28 _1dqonqa1 _189e1dm9 _1e0c1ule _kqswh2mm _16jlkb7n _bfhk1j28 _syazovqm _80omtlke _85i51b66 _1q511b66 _y4tirdoj _bozgrdoj _y3gn1h6o _pojj3zdg _10knnqa1 _1wysdkaa _irr32tgk _30l3ovqm _1di618xb _9h8hovqm", isSibling && "_syazpsu8 _30l3psu8", isToday && "_syazln51 _k48p1igg _1ywu1ule _1qdgyh40 _18postnw _1hfk1r31 _aetrb3bt _1gufv77o _1czdv77o _g0nfv77o", isPreviouslySelected && "_bfhk1kxl _syaz1a5u _30l31a5u", isSelected && "_bfhky9dz _syaz11g7 _irr3j4m7 _30l3dgff", isDisabled && "_syazf50w _80om13gf _irr31j28 _30l3f50w"]),
92
92
  style: {
93
93
  "--_5xk3r4": ix("var(--ds-text, ".concat(N900, ")")),
94
94
  "--_xjqa3d": ix("var(--ds-border-focused, ".concat(B200, ")")),
@@ -1,4 +1,4 @@
1
- /* week-day-grid.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* week-day-grid.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./week-day-grid.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* week-header.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* week-header.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./week-header.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
package/offerings.json ADDED
@@ -0,0 +1,34 @@
1
+ [
2
+ {
3
+ "name": "Calendar",
4
+ "package": "@atlaskit/calendar",
5
+ "import": {
6
+ "name": "Calendar",
7
+ "package": "@atlaskit/calendar",
8
+ "type": "default"
9
+ },
10
+ "keywords": ["calendar", "date", "picker", "selection", "month", "year", "beta"],
11
+ "categories": ["form"],
12
+ "shortDescription": "A calendar component for date selection and display. This component is in Beta phase, meaning it's stable at version 1.0+ but may receive improvements based on customer feedback.",
13
+ "status": "general-availability",
14
+ "accessibilityGuidelines": [
15
+ "Provide clear date selection feedback",
16
+ "Ensure keyboard navigation between dates",
17
+ "Use appropriate ARIA labels for dates",
18
+ "Support screen reader announcements for date changes"
19
+ ],
20
+ "usageGuidelines": [
21
+ "Use for date selection interfaces",
22
+ "Consider date range limitations",
23
+ "Provide clear visual feedback for selected dates",
24
+ "Handle disabled dates appropriately"
25
+ ],
26
+ "contentGuidelines": [
27
+ "Use clear date formatting",
28
+ "Provide helpful date labels",
29
+ "Consider localization for date display",
30
+ "Use consistent date terminology"
31
+ ],
32
+ "examples": ["./examples/ai/calendar.tsx"]
33
+ }
34
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/calendar",
3
- "version": "17.1.18",
3
+ "version": "17.1.20",
4
4
  "description": "An interactive calendar for date selection experiences.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,13 +27,13 @@
27
27
  "@atlaskit/analytics-next": "^11.1.0",
28
28
  "@atlaskit/button": "^23.4.0",
29
29
  "@atlaskit/css": "^0.14.0",
30
- "@atlaskit/ds-lib": "^5.0.0",
30
+ "@atlaskit/ds-lib": "^5.1.0",
31
31
  "@atlaskit/heading": "^5.2.0",
32
- "@atlaskit/icon": "^28.1.0",
32
+ "@atlaskit/icon": "^28.3.0",
33
33
  "@atlaskit/locale": "^3.0.0",
34
- "@atlaskit/primitives": "^14.14.0",
34
+ "@atlaskit/primitives": "^14.15.0",
35
35
  "@atlaskit/theme": "^21.0.0",
36
- "@atlaskit/tokens": "^6.3.0",
36
+ "@atlaskit/tokens": "^6.4.0",
37
37
  "@babel/runtime": "^7.0.0",
38
38
  "@compiled/react": "^0.18.3",
39
39
  "date-fns": "^2.17.0"
@@ -45,11 +45,11 @@
45
45
  "@af/accessibility-testing": "workspace:^",
46
46
  "@af/integration-testing": "workspace:^",
47
47
  "@af/visual-regression": "workspace:^",
48
- "@atlaskit/docs": "^11.0.0",
49
- "@atlaskit/form": "^12.5.0",
48
+ "@atlaskit/docs": "^11.1.0",
49
+ "@atlaskit/form": "^14.2.0",
50
50
  "@atlaskit/link": "^3.2.0",
51
51
  "@atlaskit/section-message": "^8.7.0",
52
- "@atlaskit/select": "^21.2.0",
52
+ "@atlaskit/select": "^21.3.0",
53
53
  "@atlaskit/ssr": "workspace:^",
54
54
  "@atlassian/feature-flags-test-utils": "^0.3.0",
55
55
  "@atlassian/ssr-tests": "^0.3.0",