flowbite-svelte
Advanced tools
Comparing version 0.15.12 to 0.15.13
@@ -5,2 +5,14 @@ # Changelog | ||
### [0.15.13](https://github.com/themesberg/flowbite-svelte/compare/v0.15.12...v0.15.13) (2022-05-05) | ||
### Features | ||
* add Checkbox, CheckboxInline, and checkbox page ([baab944](https://github.com/themesberg/flowbite-svelte/commit/baab944e588645bb2fbe751fd5a2beb00b8f6e77)) | ||
### Bug Fixes | ||
* update RadioItem props ([fd2f9a0](https://github.com/themesberg/flowbite-svelte/commit/fd2f9a0c4b3854c3a644710a4cb1df238e1a6af2)) | ||
### [0.15.12](https://github.com/themesberg/flowbite-svelte/compare/v0.15.11...v0.15.12) (2022-05-05) | ||
@@ -7,0 +19,0 @@ |
import { SvelteComponentTyped } from "svelte"; | ||
import type { CheckboxType } from '../types'; | ||
import type { FormColorType } from '../types'; | ||
declare const __propDef: { | ||
props: { | ||
legend?: string; | ||
[x: string]: any; | ||
divClass?: string; | ||
inputClass?: string; | ||
labelClass?: string; | ||
helperLabelClass?: string; | ||
options: CheckboxType[]; | ||
disabled?: boolean; | ||
name?: string; | ||
divHelperClass?: string; | ||
labelHelperClass?: string; | ||
helperClass?: string; | ||
color?: FormColorType; | ||
helper: string; | ||
id: string; | ||
value: string; | ||
label: string; | ||
}; | ||
@@ -12,0 +20,0 @@ events: { |
@@ -0,1 +1,13 @@ | ||
/** @typedef {typeof __propDef.props} RadioInlineProps */ | ||
/** @typedef {typeof __propDef.events} RadioInlineEvents */ | ||
/** @typedef {typeof __propDef.slots} RadioInlineSlots */ | ||
export default class RadioInline extends SvelteComponentTyped<{}, { | ||
[evt: string]: CustomEvent<any>; | ||
}, { | ||
default: {}; | ||
}> { | ||
} | ||
export type RadioInlineProps = typeof __propDef.props; | ||
export type RadioInlineEvents = typeof __propDef.events; | ||
export type RadioInlineSlots = typeof __propDef.slots; | ||
import { SvelteComponentTyped } from "svelte"; | ||
@@ -11,7 +23,2 @@ declare const __propDef: { | ||
}; | ||
export declare type RadioInlineProps = typeof __propDef.props; | ||
export declare type RadioInlineEvents = typeof __propDef.events; | ||
export declare type RadioInlineSlots = typeof __propDef.slots; | ||
export default class RadioInline extends SvelteComponentTyped<RadioInlineProps, RadioInlineEvents, RadioInlineSlots> { | ||
} | ||
export {}; |
@@ -61,2 +61,3 @@ // Accordion | ||
export { default as Checkbox } from './forms/Checkbox.svelte' | ||
export { default as CheckboxInline } from './forms/CheckboxInline.svelte' | ||
export { default as Fileupload } from './forms/Fileupload.svelte' | ||
@@ -67,5 +68,4 @@ export { default as FloatingLabelInput } from './forms/FloatingLabelInput.svelte' | ||
export { default as RadioInline } from './forms/RadioInline.svelte' | ||
export { default as RadioItem } from './forms/RadioItem.svelte' | ||
export { default as Radio } from './forms/Radio.svelte' | ||
export { default as Range } from './forms/Range.svelte' | ||
export { default as SingleCheckbox } from './forms/SingleCheckbox.svelte' | ||
export { default as Search } from './forms/Search.svelte' | ||
@@ -72,0 +72,0 @@ export { default as Select } from './forms/Select.svelte' |
{ | ||
"name": "flowbite-svelte", | ||
"version": "0.15.12", | ||
"version": "0.15.13", | ||
"description": "Flowbite components for Svelte", | ||
@@ -127,2 +127,3 @@ "main": "./package/index.js", | ||
"./forms/Checkbox.svelte": "./forms/Checkbox.svelte", | ||
"./forms/CheckboxInline.svelte": "./forms/CheckboxInline.svelte", | ||
"./forms/Fileupload.svelte": "./forms/Fileupload.svelte", | ||
@@ -132,8 +133,7 @@ "./forms/FloatingLabelInput.svelte": "./forms/FloatingLabelInput.svelte", | ||
"./forms/Input.svelte": "./forms/Input.svelte", | ||
"./forms/Radio.svelte": "./forms/Radio.svelte", | ||
"./forms/RadioInline.svelte": "./forms/RadioInline.svelte", | ||
"./forms/RadioItem.svelte": "./forms/RadioItem.svelte", | ||
"./forms/Range.svelte": "./forms/Range.svelte", | ||
"./forms/Search.svelte": "./forms/Search.svelte", | ||
"./forms/Select.svelte": "./forms/Select.svelte", | ||
"./forms/SingleCheckbox.svelte": "./forms/SingleCheckbox.svelte", | ||
"./forms/Textarea.svelte": "./forms/Textarea.svelte", | ||
@@ -140,0 +140,0 @@ "./forms/Toggle.svelte": "./forms/Toggle.svelte", |
@@ -67,2 +67,3 @@ import type { SvelteComponent } from 'svelte'; | ||
} | ||
export declare type FormColorType = 'blue' | 'red' | 'green' | 'purple' | 'teal' | 'yellow' | 'orange'; | ||
export declare type Gradientduotones = 'purple2blue' | 'cyan2blue' | 'green2blue' | 'purple2pink' | 'pink2orange' | 'teal2lime' | 'red2yellow'; | ||
@@ -121,13 +122,2 @@ export interface GroupTimelineType { | ||
} | ||
export declare type RadioColorType = 'blue' | 'red' | 'green' | 'purple' | 'teal' | 'yellow' | 'orange'; | ||
export interface RadioType { | ||
id: string; | ||
name: string; | ||
label: string | HTMLElement; | ||
value: string; | ||
checked?: boolean; | ||
disabled?: boolean; | ||
helper?: string; | ||
color?: RadioColorType; | ||
} | ||
export declare type SelectOptionType = { | ||
@@ -134,0 +124,0 @@ name: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
360582
2605