UNPKG

svelte-settings

Version:

> [!WARNING] > This project is a work in progress. Do not use it in any of your projects yet.

37 lines (36 loc) 1.38 kB
import { Button } from './components/ui/button/index.js'; import Label from './components/ui/label/label.svelte'; import Input from './components/ui/input/input.svelte'; import Switch from './components/ui/switch/switch.svelte'; import LoaderPulsatingRing from './components/ui/LoaderPulsatingRing.svelte'; import { Checkbox } from './components/ui/checkbox/index.js'; import * as Popover from './components/ui/popover/index.js'; import * as Accordion from './components/ui/accordion/index.js'; import * as Select from './components/ui/select/index.js'; import * as Breadcrumb from './components/ui/breadcrumb/index.js'; import type { DeepPartial } from './utils.js'; export type Options = { components: { Accordion: typeof Accordion; Breadcrumb: typeof Breadcrumb; Button: typeof Button; Checkbox: typeof Checkbox; Input: typeof Input; Label: typeof Label; Popover: typeof Popover; Select: typeof Select; Switch: typeof Switch; LoaderPulsatingRing: typeof LoaderPulsatingRing; }; style: { button: { category: string; action: string; }; category: { classes: string; }; }; }; export declare const defaultOptions: Options; export declare function mergeOptions(userOptions: DeepPartial<Options> | undefined): Options;