@trackunit/react-date-and-time-components 0.0.53 → 0.0.54
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/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { ButtonVariant, CommonProps, PopoverPlacement, Size } from "@trackunit/r
|
|
|
3
3
|
import { Matcher } from "react-day-picker";
|
|
4
4
|
import { IDateRange, ShowQuickOption } from "./DayRangePicker";
|
|
5
5
|
import { TimeZone } from "./index";
|
|
6
|
-
interface DayRangePickerPopoverProps extends CommonProps {
|
|
6
|
+
export interface DayRangePickerPopoverProps extends CommonProps {
|
|
7
7
|
interval: IDateRange;
|
|
8
8
|
showQuickOptions?: ShowQuickOption;
|
|
9
9
|
disabledDays?: Matcher | Matcher[];
|
|
@@ -43,4 +43,3 @@ interface DayRangePickerPopoverProps extends CommonProps {
|
|
|
43
43
|
* @param props.disabled disabling popover button
|
|
44
44
|
*/
|
|
45
45
|
export declare const DayRangePickerPopover: ({ interval, showQuickOptions, disabledDays, className, dataTestId, onRangeSelect, variant, size, placement, timezone, fullwidth, bindTo, buttonContent, max, disabled, }: DayRangePickerPopoverProps) => JSX.Element;
|
|
46
|
-
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
import { DayRangePickerPopover } from "./DayRangePickerPopover";
|
|
4
|
+
type Story = StoryObj<typeof DayRangePickerPopover>;
|
|
5
|
+
declare const meta: Meta<typeof DayRangePickerPopover>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const packageName: () => JSX.Element;
|
|
9
|
+
export declare const VariantWithMax: () => JSX.Element;
|
|
10
|
+
export declare const VariantWithDisabledDays: () => JSX.Element;
|
|
11
|
+
export declare const VariantWithQuickButtons: () => JSX.Element;
|