@7shifts/sous-chef 3.87.1 → 3.87.2-beta.1

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.
@@ -0,0 +1,15 @@
1
+ import React, { MutableRefObject } from 'react';
2
+ import { CalendarPlacement } from '../Calendar/types';
3
+ type Props = {
4
+ /** Note that if the calendar is not able to fit in the selected position,
5
+ * it will override this selection and select the one that fits in the window. */
6
+ position?: CalendarPlacement;
7
+ selected?: Date;
8
+ initialMonth?: Date;
9
+ onSelect: (selected: Date) => void;
10
+ onClickOutside: () => void;
11
+ anchorRef: MutableRefObject<HTMLElement | null>;
12
+ testId?: string;
13
+ };
14
+ declare const CalendarMonth: ({ position, anchorRef, onClickOutside, testId, selected, initialMonth, onSelect }: Props) => React.JSX.Element | null;
15
+ export default CalendarMonth;
@@ -0,0 +1 @@
1
+ export { default } from './CalendarMonth';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7shifts/sous-chef",
3
- "version": "3.87.1",
3
+ "version": "3.87.2-beta.1",
4
4
  "description": "7shifts component library",
5
5
  "author": "7shifts",
6
6
  "license": "MIT",