UNPKG

@htmlbricks/hb-animated-container

Version:

Svelte-Bootstrap animated-container

61 lines (56 loc) 1.58 kB
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "wc-js-utils/main"; import type { Component } from "../app/types/webcomponent.type"; export const storybookArgs = { data: { control: { type: "object" } }, params: { control: { type: "object" } }, // boolean: { control: { type: "object" } }, // event: { action: "eventEvent" }, }; const cssVars: CssVar[] = [ { name: "--hb-animated-container-background", defaultValue: "#30336b", valueType: "color", }, { name: "--hb-animated-container-lines", defaultValue: "rgba(255, 255, 255, 0.6)", valueType: "color", }, ]; export const cssParts: CssPart[] = []; export const htmlSlots: HtmlSlot[] = []; export const i18nLanguages: i18nLang[] = []; export const styleSetup: StyleSetup = { vars: cssVars, parts: cssParts, }; const examples: { name: string; description?: string; data: Component }[] = [ { name: "default", data: { animation: "rain", }, }, ]; export const componentSetup: ComponentSetup & { examples: { name: string; description?: string; data: Component }[] } = { definitions: null as any, storybookArgs, styleSetup, author: null as any, contributors: [], owner: null as any, htmlSlots, i18n: i18nLanguages, examples, screenshots: [], licenses: [{ type: "Apache-2.0", path: "LICENSE.md", cost: 0, currency: "EUR" }], readmePath: "README.md", name: "hb-animated-container", category: "components", tags: ["components"], size: {}, iifePath: "release/release.js", repoName: "@htmlbricks/hb-animated-container", version: null as any, };