flowbite-svelte
Advanced tools
Comparing version 0.46.9 to 0.46.10
import { SvelteComponentTyped } from "svelte"; | ||
import type { FormColorType } from '../types'; | ||
import type { CheckboxItem } from '../types'; | ||
declare const __propDef: { | ||
props: { | ||
[x: string]: any; | ||
name: string; | ||
name?: string | undefined; | ||
color?: FormColorType; | ||
custom?: boolean; | ||
inline?: boolean; | ||
group: { | ||
value: string; | ||
label: string; | ||
isChecked?: boolean; | ||
}[]; | ||
choices: { | ||
value: string; | ||
label: string; | ||
isChecked?: boolean; | ||
}[]; | ||
group?: string[]; | ||
choices?: CheckboxItem[]; | ||
value?: string | number; | ||
checked?: boolean | undefined; | ||
spacing?: string; | ||
groupLabelClass?: string; | ||
groupInputClass?: any; | ||
}; | ||
@@ -49,11 +44,13 @@ events: { | ||
* ## Props | ||
* @prop export let name: string; | ||
* @prop export let name: string | undefined = undefined; | ||
* @prop export let color: FormColorType = 'primary'; | ||
* @prop export let custom: boolean = false; | ||
* @prop export let inline: boolean = false; | ||
* @prop export let group: CheckboxItem[]; | ||
* @prop export let choices: CheckboxItem[]; | ||
* @prop export let group: string[] = []; | ||
* @prop export let choices: CheckboxItem[] = []; | ||
* @prop export let value: string | number = 'on'; | ||
* @prop export let checked: boolean | undefined = undefined; | ||
* @prop export let spacing: string = $$slots.default ? 'me-2' : ''; | ||
* @prop export let groupLabelClass: string = ''; | ||
* @prop export let groupInputClass: strixng = ''; | ||
*/ | ||
@@ -60,0 +57,0 @@ export default class Checkbox extends SvelteComponentTyped<CheckboxProps, CheckboxEvents, CheckboxSlots> { |
@@ -5,2 +5,7 @@ import type { HTMLAnchorAttributes, HTMLButtonAttributes } from 'svelte/elements'; | ||
export type ButtonColorType = 'alternative' | 'blue' | 'dark' | 'green' | 'light' | 'primary' | 'purple' | 'red' | 'yellow' | 'none'; | ||
export type CheckboxItem = { | ||
value: string; | ||
label?: string; | ||
isChecked?: boolean; | ||
}; | ||
export type ColorVariant = 'dark' | 'red' | 'yellow' | 'green' | 'indigo' | 'purple' | 'pink' | 'blue' | 'primary' | 'none'; | ||
@@ -7,0 +12,0 @@ export type Colors = 'blue' | 'gray' | 'red' | 'yellow' | 'purple' | 'green' | 'indigo' | 'pink' | 'white' | 'custom' | 'primary' | 'secondary'; |
{ | ||
"name": "flowbite-svelte", | ||
"version": "0.46.9", | ||
"version": "0.46.10", | ||
"description": "Flowbite components for Svelte", | ||
@@ -31,3 +31,3 @@ "main": "dist/index.js", | ||
"eslint-plugin-svelte": "^2.41.0", | ||
"flowbite-svelte": "^0.46.9", | ||
"flowbite-svelte": "^0.46.10", | ||
"flowbite-svelte-blocks": "^1.1.3", | ||
@@ -43,7 +43,7 @@ "flowbite-svelte-icons": "^1.6.1", | ||
"svelte": "^4.2.18", | ||
"svelte-check": "^3.8.2", | ||
"svelte-check": "^3.8.3", | ||
"svelte-lib-helpers": "^0.4.6", | ||
"svelte-meta-tags": "^3.1.2", | ||
"svelte-preprocess": "^6.0.1", | ||
"svelte2tsx": "^0.7.11", | ||
"svelte2tsx": "^0.7.13", | ||
"tailwind-merge": "^1.13.1", | ||
@@ -105,3 +105,3 @@ "tailwindcss": "^3.4.4", | ||
"@floating-ui/dom": "^1.6.6", | ||
"apexcharts": "^3.49.1", | ||
"apexcharts": "^3.49.2", | ||
"flowbite": "^2.3.0", | ||
@@ -108,0 +108,0 @@ "tailwind-merge": "^2.3.0" |
Sorry, the diff of this file is not supported yet
535026
6185
Updatedapexcharts@^3.49.2