flowbite-svelte 0.46.8 → 0.46.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
<script>import {
|
|
2
|
-
import { getContext } from "svelte";
|
|
1
|
+
<script>import { getContext } from "svelte";
|
|
3
2
|
import { labelClass, inputClass } from "./Radio.svelte";
|
|
4
3
|
import Label from "./Label.svelte";
|
|
5
4
|
export let name;
|
|
6
5
|
export let color = "primary";
|
|
7
6
|
export let custom = false;
|
|
8
7
|
export let inline = false;
|
|
9
|
-
export let group
|
|
10
|
-
export let choices
|
|
8
|
+
export let group;
|
|
9
|
+
export let choices;
|
|
11
10
|
export let value = "on";
|
|
12
11
|
export let checked = void 0;
|
|
13
12
|
export let spacing = $$slots.default ? "me-2" : "";
|
|
@@ -33,8 +32,8 @@ let background = getContext("background");
|
|
|
33
32
|
@prop export let color: FormColorType = 'primary';
|
|
34
33
|
@prop export let custom: boolean = false;
|
|
35
34
|
@prop export let inline: boolean = false;
|
|
36
|
-
@prop export let group: CheckboxItem[]
|
|
37
|
-
@prop export let choices: CheckboxItem[]
|
|
35
|
+
@prop export let group: CheckboxItem[];
|
|
36
|
+
@prop export let choices: CheckboxItem[];
|
|
38
37
|
@prop export let value: string | number = 'on';
|
|
39
38
|
@prop export let checked: boolean | undefined = undefined;
|
|
40
39
|
@prop export let spacing: string = $$slots.default ? 'me-2' : '';
|
|
@@ -7,12 +7,12 @@ declare const __propDef: {
|
|
|
7
7
|
color?: FormColorType;
|
|
8
8
|
custom?: boolean;
|
|
9
9
|
inline?: boolean;
|
|
10
|
-
group
|
|
10
|
+
group: {
|
|
11
11
|
value: string;
|
|
12
12
|
label: string;
|
|
13
13
|
isChecked?: boolean;
|
|
14
14
|
}[];
|
|
15
|
-
choices
|
|
15
|
+
choices: {
|
|
16
16
|
value: string;
|
|
17
17
|
label: string;
|
|
18
18
|
isChecked?: boolean;
|
|
@@ -50,8 +50,8 @@ export type CheckboxSlots = typeof __propDef.slots;
|
|
|
50
50
|
* @prop export let color: FormColorType = 'primary';
|
|
51
51
|
* @prop export let custom: boolean = false;
|
|
52
52
|
* @prop export let inline: boolean = false;
|
|
53
|
-
* @prop export let group: CheckboxItem[]
|
|
54
|
-
* @prop export let choices: CheckboxItem[]
|
|
53
|
+
* @prop export let group: CheckboxItem[];
|
|
54
|
+
* @prop export let choices: CheckboxItem[];
|
|
55
55
|
* @prop export let value: string | number = 'on';
|
|
56
56
|
* @prop export let checked: boolean | undefined = undefined;
|
|
57
57
|
* @prop export let spacing: string = $$slots.default ? 'me-2' : '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flowbite-svelte",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.9",
|
|
4
4
|
"description": "Flowbite components for Svelte",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"eslint": "^9.5.0",
|
|
29
29
|
"eslint-config-prettier": "^9.1.0",
|
|
30
30
|
"eslint-plugin-svelte": "^2.41.0",
|
|
31
|
-
"flowbite-svelte": "^0.46.
|
|
31
|
+
"flowbite-svelte": "^0.46.9",
|
|
32
32
|
"flowbite-svelte-blocks": "^1.1.3",
|
|
33
33
|
"flowbite-svelte-icons": "^1.6.1",
|
|
34
34
|
"mdsvex": "^0.11.2",
|