@pajohns/flowbite-svelte 0.1.2 → 0.1.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.
@@ -50,7 +50,7 @@
50
50
  <Dialog
51
51
  bind:open
52
52
  {transition}
53
- dismissable={dismissable && !title && !permanent}
53
+ dismissable={dismissable && !title && !header && !permanent}
54
54
  transitionParams={paramsOptions}
55
55
  {classes}
56
56
  {permanent}
@@ -61,12 +61,12 @@
61
61
  <div class={headerCls({ class: clsx(theme?.header, styling.header) })}>
62
62
  {#if title}
63
63
  <h3>{title}</h3>
64
- {#if dismissable && !permanent}
65
- <CloseButton type="submit" formnovalidate class={clsx(styling.close)} />
66
- {/if}
67
64
  {:else if header}
68
65
  {@render header()}
69
66
  {/if}
67
+ {#if dismissable && !permanent}
68
+ <CloseButton type="submit" formnovalidate class={clsx(styling.close)} />
69
+ {/if}
70
70
  </div>
71
71
  {/if}
72
72
  <div class={body({ class: clsx(theme?.body, styling.body) })}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pajohns/flowbite-svelte",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Webapps global fork of flow-bite-svelte with customisation changes",
5
5
  "main": "dist/index.js",
6
6
  "author": {