import { jsx as _jsx } from "react/jsx-runtime";
import { ConnectTooltipProvider } from "../../tooltip/tooltip.js";
import { HDivider } from "./h-divider.js";
// Get a timestamp from the past (3 months ago)
const getPastTimestamp = () => {
    const date = new Date();
    date.setMonth(date.getMonth() - 3);
    return date.toISOString();
};
const meta = {
    title: "Connect/Components/DocumentTimeline/Components/HDivider",
    component: HDivider,
    decorators: [
        (Story) => (_jsx(ConnectTooltipProvider, { delayDuration: 0, skipDelayDuration: 0, children: _jsx(Story, {}) })),
    ],
};
export default meta;
export const Default = {
    args: {},
};
export const WithCustomClass = {
    args: {
        className: "bg-gray-100",
    },
};
export const WithTimestamp = {
    args: {
        timestampUtcMs: getPastTimestamp(),
    },
};
export const WithAtlasDocumentTitle = {
    args: {
        title: "Atlas Document",
        subtitle: "Created",
        timestampUtcMs: getPastTimestamp(),
    },
};
export const WithRatifiedDocumentTitle = {
    args: {
        title: "Ratified Atlas Document",
        subtitle: "Created",
        timestampUtcMs: getPastTimestamp(),
    },
};
export const Selected = {
    args: {
        isSelected: true,
        title: "Atlas Document",
        subtitle: "Created",
        timestampUtcMs: getPastTimestamp(),
    },
};
export const SelectedWithRatified = {
    args: {
        isSelected: true,
        title: "Ratified Atlas Document",
        subtitle: "Created",
        timestampUtcMs: getPastTimestamp(),
    },
};
//# sourceMappingURL=h-divider.stories.js.map