@atlaskit/calendar 17.2.6 → 17.2.8

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,19 @@
1
1
  # @atlaskit/calendar
2
2
 
3
+ ## 17.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5db9e3f21a52f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5db9e3f21a52f) -
8
+ Internal refactoring
9
+ - Updated dependencies
10
+
11
+ ## 17.2.7
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 17.2.6
4
18
 
5
19
  ### Patch Changes
@@ -205,9 +205,7 @@ var InnerCalendar = /*#__PURE__*/(0, _react.forwardRef)(function Calendar(_ref,
205
205
  var headerId = (0, _useId.useId)();
206
206
  return /*#__PURE__*/React.createElement("div", {
207
207
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
208
- className: className
209
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
210
- ,
208
+ className: className,
211
209
  style: style,
212
210
  onBlur: handleContainerBlur,
213
211
  onFocus: handleContainerFocus,
@@ -173,9 +173,7 @@ const InnerCalendar = /*#__PURE__*/forwardRef(function Calendar({
173
173
  const headerId = useId();
174
174
  return /*#__PURE__*/React.createElement("div", {
175
175
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
176
- className: className
177
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
178
- ,
176
+ className: className,
179
177
  style: style,
180
178
  onBlur: handleContainerBlur,
181
179
  onFocus: handleContainerFocus,
@@ -196,9 +196,7 @@ var InnerCalendar = /*#__PURE__*/forwardRef(function Calendar(_ref, ref) {
196
196
  var headerId = useId();
197
197
  return /*#__PURE__*/React.createElement("div", {
198
198
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
199
- className: className
200
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
201
- ,
199
+ className: className,
202
200
  style: style,
203
201
  onBlur: handleContainerBlur,
204
202
  onFocus: handleContainerFocus,
@@ -8,5 +8,5 @@ import type { CalendarProps } from './types';
8
8
  * - [Code](https://atlassian.design/components/calendar/code)
9
9
  * - [Usage](https://atlassian.design/components/calendar/usage)
10
10
  */
11
- declare const Calendar: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<CalendarProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
11
+ declare const Calendar: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<CalendarProps, 'ref'> & import('react').RefAttributes<HTMLDivElement>>>;
12
12
  export default Calendar;
@@ -17,5 +17,5 @@ interface DateProps {
17
17
  tabIndex: TabIndex;
18
18
  testId?: string;
19
19
  }
20
- declare const Date: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<DateProps & import("react").RefAttributes<HTMLButtonElement>>>;
20
+ declare const Date: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<DateProps & import('react').RefAttributes<HTMLButtonElement>>>;
21
21
  export default Date;
@@ -2,5 +2,5 @@ interface WeekHeaderProps {
2
2
  daysShort: string[];
3
3
  testId?: string;
4
4
  }
5
- declare const WeekHeader: import("react").NamedExoticComponent<WeekHeaderProps>;
5
+ declare const WeekHeader: import('react').NamedExoticComponent<WeekHeaderProps>;
6
6
  export default WeekHeader;
@@ -11,27 +11,10 @@ export default function useControlledDateState({ day, defaultDay, month, default
11
11
  previouslySelected?: Array<string>;
12
12
  defaultPreviouslySelected: Array<string>;
13
13
  }): {
14
- readonly day: readonly [
15
- number,
16
- (newValue: number) => void
17
- ];
18
- readonly month: readonly [
19
- number,
20
- (newValue: number) => void
21
- ];
22
- readonly year: readonly [
23
- number,
24
- (newValue: number) => void
25
- ];
26
- readonly today: readonly [
27
- string
28
- ];
29
- readonly selected: readonly [
30
- string[],
31
- (newValue: string[]) => void
32
- ];
33
- readonly previous: readonly [
34
- string[],
35
- (newValue: string[]) => void
36
- ];
14
+ readonly day: readonly [number, (newValue: number) => void];
15
+ readonly month: readonly [number, (newValue: number) => void];
16
+ readonly year: readonly [number, (newValue: number) => void];
17
+ readonly today: readonly [string];
18
+ readonly selected: readonly [string[], (newValue: string[]) => void];
19
+ readonly previous: readonly [string[], (newValue: string[]) => void];
37
20
  };
@@ -8,5 +8,5 @@ import type { CalendarProps } from './types';
8
8
  * - [Code](https://atlassian.design/components/calendar/code)
9
9
  * - [Usage](https://atlassian.design/components/calendar/usage)
10
10
  */
11
- declare const Calendar: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<CalendarProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
11
+ declare const Calendar: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<CalendarProps, 'ref'> & import('react').RefAttributes<HTMLDivElement>>>;
12
12
  export default Calendar;
@@ -17,5 +17,5 @@ interface DateProps {
17
17
  tabIndex: TabIndex;
18
18
  testId?: string;
19
19
  }
20
- declare const Date: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<DateProps & import("react").RefAttributes<HTMLButtonElement>>>;
20
+ declare const Date: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<DateProps & import('react').RefAttributes<HTMLButtonElement>>>;
21
21
  export default Date;
@@ -2,5 +2,5 @@ interface WeekHeaderProps {
2
2
  daysShort: string[];
3
3
  testId?: string;
4
4
  }
5
- declare const WeekHeader: import("react").NamedExoticComponent<WeekHeaderProps>;
5
+ declare const WeekHeader: import('react').NamedExoticComponent<WeekHeaderProps>;
6
6
  export default WeekHeader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/calendar",
3
- "version": "17.2.6",
3
+ "version": "17.2.8",
4
4
  "description": "An interactive calendar for date selection experiences.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,8 +28,8 @@
28
28
  "@atlaskit/button": "^23.9.0",
29
29
  "@atlaskit/css": "^0.19.0",
30
30
  "@atlaskit/ds-lib": "^5.3.0",
31
- "@atlaskit/heading": "^5.2.0",
32
- "@atlaskit/icon": "^30.0.0",
31
+ "@atlaskit/heading": "^5.3.0",
32
+ "@atlaskit/icon": "^31.0.0",
33
33
  "@atlaskit/locale": "^3.0.0",
34
34
  "@atlaskit/platform-feature-flags": "^1.1.0",
35
35
  "@atlaskit/primitives": "^18.0.0",
@@ -46,7 +46,7 @@
46
46
  "@af/accessibility-testing": "workspace:^",
47
47
  "@af/integration-testing": "workspace:^",
48
48
  "@af/visual-regression": "workspace:^",
49
- "@atlaskit/docs": "^11.3.0",
49
+ "@atlaskit/docs": "^11.4.0",
50
50
  "@atlaskit/form": "^15.3.0",
51
51
  "@atlaskit/link": "^3.3.0",
52
52
  "@atlaskit/section-message": "^8.12.0",