flowbite-svelte 0.10.7 → 0.10.8

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/cards/Card.svelte CHANGED
@@ -4,6 +4,8 @@ export let alt = '';
4
4
  export let img = '';
5
5
  export let btnLabel = 'Read more';
6
6
  export let btnColor = 'blue';
7
+ export let textdivClass = 'p-5';
8
+ export let paragraphClass = 'mb-3 font-normal text-gray-700 dark:text-gray-400';
7
9
  export let headerClass = 'mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white';
8
10
  export let header = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.';
9
11
  export let divClass = 'max-w-sm bg-white rounded-lg border border-gray-200 shadow-md dark:bg-gray-800 dark:border-gray-700';
@@ -52,7 +54,7 @@ else {
52
54
  <img class="rounded-t-lg" src={img} {alt} />
53
55
  </a>
54
56
  {/if}
55
- <div class="p-5">
57
+ <div class={textdivClass}>
56
58
  {#if link}
57
59
  <a href={link} {rel}>
58
60
  <h3 class={headerClass}>
@@ -65,7 +67,7 @@ else {
65
67
  </h3>
66
68
  {/if}
67
69
  {#if $$slots.paragraph}
68
- <p class="mb-3 font-normal text-gray-700 dark:text-gray-400">
70
+ <p class={paragraphClass}>
69
71
  <slot name="paragraph" />
70
72
  </p>
71
73
  {/if}
@@ -8,6 +8,8 @@ declare const __propDef: {
8
8
  img?: string;
9
9
  btnLabel?: string;
10
10
  btnColor?: Colors;
11
+ textdivClass?: string;
12
+ paragraphClass?: string;
11
13
  headerClass?: string;
12
14
  header?: string;
13
15
  divClass?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.10.7",
3
+ "version": "0.10.8",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "author": {
6
6
  "name": "Shinichi Okada",