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.
@@ -45,7 +45,7 @@ function onChange() {
45
45
  }
46
46
  </script>
47
47
 
48
- <Label class={labelClass(inline, $$props.class)} show={!!$$slots.default}>
48
+ <Label class={labelClass(inline, $$props.classLabel)} show={!!$$slots.default}>
49
49
  <input
50
50
  use:init={group}
51
51
  type="checkbox"
@@ -27,7 +27,7 @@ export let value = '';
27
27
  let background = getContext('background');
28
28
  </script>
29
29
 
30
- <Label class={labelClass(inline, $$props.class)} show={$$slots.default}>
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 { getContext } from 'svelte';
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,6 +1,7 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
+ [x: string]: any;
4
5
  divClass?: string | undefined;
5
6
  };
6
7
  events: {
@@ -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;AAqBD,QAAA,MAAM,SAAS;;;;;;;;;;CAAwC,CAAC;AACxD,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"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.38.3",
3
+ "version": "0.38.4",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "dist/index.js",
6
6
  "author": {