flowbite-svelte 0.26.24 → 0.26.25

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.26.25](https://github.com/themesberg/flowbite-svelte/compare/v0.26.24...v0.26.25) (2022-09-19)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * tooltips/popovers ([d18721c](https://github.com/themesberg/flowbite-svelte/commit/d18721cc4229f5eb1f4dccbbd34dda65f6a07aac))
11
+
5
12
  ### [0.26.24](https://github.com/themesberg/flowbite-svelte/compare/v0.26.23...v0.26.24) (2022-09-19)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.26.24",
3
+ "version": "0.26.25",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "index.js",
6
6
  "author": {
@@ -3,7 +3,7 @@ export let title = '';
3
3
  export let defaultClass = 'py-2 px-3';
4
4
  </script>
5
5
 
6
- <Popper activeContent border shadow rounded {...$$restProps} class={$$props.class} on:show>
6
+ <Popper data-popover activeContent border shadow rounded {...$$restProps} class={$$props.class} on:show>
7
7
  {#if $$slots.title || title}
8
8
  <div
9
9
  class="py-2 px-3 bg-gray-100 rounded-t-lg border-b border-gray-200 dark:border-gray-600 dark:bg-gray-700">
@@ -9,10 +9,12 @@ const colors = {
9
9
  auto: 'border-gray-200 bg-white text-gray-900 dark:bg-gray-700 dark:text-white dark:border-gray-600 '
10
10
  };
11
11
  let toolTipClass;
12
- $: toolTipClass = classNames(tipClass, colors[style], $$props.class);
12
+ $: toolTipClass = classNames("tooltip", tipClass, colors[style], $$props.class);
13
13
  </script>
14
14
 
15
15
  <Popper
16
+ data-tooltip
17
+ activeContent
16
18
  rounded
17
19
  border
18
20
  shadow
@@ -131,6 +131,6 @@ onMount(() => {
131
131
  {...$$restProps}
132
132
  class={classNames('z-10', $$props.class)}>
133
133
  <slot />
134
- {#if arrow}<div data-popper-arrow />{/if}
134
+ {#if arrow}<div data-popper-arrow class="tooltip-arrow"/>{/if}
135
135
  </Frame>
136
136
  {/if}