import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
import { ClearStorageSettingsRow } from "./clear-storage-row.js";
import { DependencyVersions } from "./dependency-versions/dependency-versions.js";
// @ts-expect-error - json file needs { with: "json" } but storybook doesn't support it
import mockPackageJson from "./dependency-versions/mock-package-json.json";
import { DocumentSelectSettingsRow } from "./document-select-row.js";
import { SettingsModalOld } from "./settings-modal.js";
const meta = {
    title: "Connect/Components/Modal/SettingsModal",
    component: SettingsModalOld,
};
export default meta;
export const Primary = {
    args: {
        open: true,
        title: "Settings",
        body: "These settings will apply to all drives.",
        cancelLabel: "Cancel",
        saveLabel: "Save",
        children: (_jsxs(_Fragment, { children: [_jsx(DocumentSelectSettingsRow, { description: "Documents enabled", onChange: () => { }, options: [
                        { label: "Apple", value: "apple" },
                        { label: "Orange", value: "orange" },
                        { label: "Banana", value: "banana" },
                        { label: "Grape", value: "grape" },
                        { label: "Pear", value: "pear" },
                        { label: "Peach", value: "peach" },
                    ], selectProps: {
                        labelledBy: "Select",
                        className: "w-[200px]",
                    }, selected: [], title: "Document Models" }), _jsx(ClearStorageSettingsRow, { buttonLabel: "Clear Storage", description: "Delete previous session data", onClearStorage: () => { } }), _jsx(DependencyVersions, { packageJson: mockPackageJson })] })),
    },
};
//# sourceMappingURL=settings-modal.stories.js.map