flowbite-svelte 0.38.3 → 0.38.4
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.
package/dist/forms/Radio.svelte
CHANGED
|
@@ -27,7 +27,7 @@ export let value = '';
|
|
|
27
27
|
let background = getContext('background');
|
|
28
28
|
</script>
|
|
29
29
|
|
|
30
|
-
<Label class={labelClass(inline, $$props.
|
|
30
|
+
<Label class={labelClass(inline, $$props.classLabel)} show={$$slots.default}>
|
|
31
31
|
<input
|
|
32
32
|
type="radio"
|
|
33
33
|
bind:group
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
<script>import {
|
|
1
|
+
<script>import { twMerge } from 'tailwind-merge';
|
|
2
|
+
import { getContext } from 'svelte';
|
|
2
3
|
export let divClass = 'flex items-center space-x-1 sm:pr-4 sm:pl-4 first:sm:pl-0 last:sm:pr-0';
|
|
3
4
|
const options = getContext('toolbar');
|
|
4
5
|
if (options)
|
|
5
6
|
$options = true;
|
|
6
7
|
</script>
|
|
7
8
|
|
|
8
|
-
<div class={divClass}>
|
|
9
|
+
<div class={twMerge(divClass, $$props.class)}>
|
|
9
10
|
<slot />
|
|
10
11
|
</div>
|
|
11
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarGroup.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/toolbar/ToolbarGroup.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;
|
|
1
|
+
{"version":3,"file":"ToolbarGroup.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/toolbar/ToolbarGroup.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAuBD,QAAA,MAAM,SAAS;;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACvD,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACzD,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,oBAAoB,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC;CACvH"}
|