flowbite-svelte
Advanced tools
Comparing version 0.46.5 to 0.46.6
import { SvelteComponentTyped } from "svelte"; | ||
import type { ColorVariant } from '../types'; | ||
import { fade } from 'svelte/transition'; | ||
declare const __propDef: { | ||
props: Omit<import("svelte/elements").HTMLAnchorAttributes & { | ||
tag?: string; | ||
color?: "gray" | "red" | "yellow" | "green" | "indigo" | "purple" | "pink" | "blue" | "light" | "dark" | "default" | "dropdown" | "navbar" | "navbarUl" | "form" | "primary" | "orange" | "none"; | ||
props: { | ||
[x: string]: any; | ||
color?: ColorVariant; | ||
large?: boolean; | ||
dismissable?: boolean; | ||
border?: boolean; | ||
href?: string; | ||
rounded?: boolean; | ||
border?: boolean; | ||
shadow?: boolean; | ||
node?: HTMLElement | undefined; | ||
use?: import("svelte/action").Action<HTMLElement, any>; | ||
options?: object; | ||
class?: string; | ||
role?: string; | ||
open?: boolean; | ||
transition?: (node: HTMLElement, params: any) => import("svelte/transition").TransitionConfig; | ||
params?: any; | ||
} & import("..").Dismissable, "color"> & { | ||
color?: "primary" | "blue" | "dark" | "red" | "green" | "yellow" | "indigo" | "purple" | "pink" | "none"; | ||
large?: boolean; | ||
transition?: typeof fade; | ||
params?: {}; | ||
}; | ||
@@ -29,3 +24,3 @@ events: { | ||
'close-button': { | ||
close: (ev: MouseEvent | undefined) => void; | ||
close: () => void; | ||
}; | ||
@@ -40,5 +35,12 @@ }; | ||
* ## Props | ||
* @prop export let color: 'primary' | 'blue' | 'dark' | 'red' | 'green' | 'yellow' | 'indigo' | 'purple' | 'pink' | 'none' = 'primary'; | ||
* @prop export let large: boolean = false; | ||
* @prop export let dismissable: boolean = false; | ||
* @prop export let color: ColorVariant = 'primary' | ||
* export let large: boolean = false | ||
* export let dismissable: boolean = false | ||
* export let border: boolean = false | ||
* export let href: string = '' | ||
* export let rounded: boolean = false | ||
* export let transition = fade | ||
* export let params = {} | ||
* | ||
* let badgeStatus: boolean = true; | ||
*/ | ||
@@ -45,0 +47,0 @@ export default class Badge extends SvelteComponentTyped<BadgeProps, BadgeEvents, BadgeSlots> { |
@@ -5,2 +5,3 @@ import type { HTMLAnchorAttributes, HTMLButtonAttributes } from 'svelte/elements'; | ||
export type ButtonColorType = 'alternative' | 'blue' | 'dark' | 'green' | 'light' | 'primary' | 'purple' | 'red' | 'yellow' | 'none'; | ||
export type ColorVariant = 'dark' | 'red' | 'yellow' | 'green' | 'indigo' | 'purple' | 'pink' | 'blue' | 'primary' | 'none'; | ||
export type Colors = 'blue' | 'gray' | 'red' | 'yellow' | 'purple' | 'green' | 'indigo' | 'pink' | 'white' | 'custom' | 'primary' | 'secondary'; | ||
@@ -7,0 +8,0 @@ export type ImgType = { |
{ | ||
"name": "flowbite-svelte", | ||
"version": "0.46.5", | ||
"version": "0.46.6", | ||
"description": "Flowbite components for Svelte", | ||
@@ -15,6 +15,6 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@changesets/cli": "^2.27.5", | ||
"@changesets/cli": "^2.27.6", | ||
"@docsearch/css": "^3.6.0", | ||
"@docsearch/js": "^3.6.0", | ||
"@playwright/test": "^1.44.1", | ||
"@playwright/test": "^1.45.0", | ||
"@sveltejs/adapter-vercel": "^5.3.2", | ||
@@ -31,4 +31,4 @@ "@sveltejs/kit": "^2.5.17", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-svelte": "^2.40.0", | ||
"flowbite-svelte": "^0.46.5", | ||
"eslint-plugin-svelte": "^2.41.0", | ||
"flowbite-svelte": "^0.46.6", | ||
"flowbite-svelte-blocks": "^1.1.3", | ||
@@ -44,7 +44,7 @@ "flowbite-svelte-icons": "^1.6.1", | ||
"svelte": "^4.2.18", | ||
"svelte-check": "^3.8.1", | ||
"svelte-check": "^3.8.2", | ||
"svelte-lib-helpers": "^0.4.6", | ||
"svelte-meta-tags": "^3.1.2", | ||
"svelte-preprocess": "^6.0.1", | ||
"svelte2tsx": "^0.7.10", | ||
"svelte2tsx": "^0.7.11", | ||
"tailwind-merge": "^1.13.1", | ||
@@ -105,3 +105,3 @@ "tailwindcss": "^3.4.4", | ||
"dependencies": { | ||
"@floating-ui/dom": "^1.6.5", | ||
"@floating-ui/dom": "^1.6.6", | ||
"apexcharts": "^3.49.1", | ||
@@ -108,0 +108,0 @@ "flowbite": "^2.3.0", |
Sorry, the diff of this file is not supported yet
6173
534454
Updated@floating-ui/dom@^1.6.6