kitzo 2.1.23 → 2.1.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/README.md +1 -1
- package/dist/react/react.esm.js +2 -2
- package/dist/react/types/tooltip.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ npm i kitzo
|
|
|
26
26
|
or
|
|
27
27
|
|
|
28
28
|
```javascript
|
|
29
|
-
<script src="https://cdn.jsdelivr.net/npm/kitzo@2.1.
|
|
29
|
+
<script src="https://cdn.jsdelivr.net/npm/kitzo@2.1.25/dist/kitzo.umd.min.js"></script>
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
> Vanilla: Attach this script tag in the html head tag and you are good to go.
|
package/dist/react/react.esm.js
CHANGED
|
@@ -809,13 +809,13 @@ function Tooltip({
|
|
|
809
809
|
position = 'top',
|
|
810
810
|
offset = 8,
|
|
811
811
|
hideOnTouch = true,
|
|
812
|
-
arrow =
|
|
812
|
+
arrow = false,
|
|
813
813
|
smartHover = true
|
|
814
814
|
} = tooltipOptions ?? {};
|
|
815
815
|
const finalOptions = {
|
|
816
816
|
position: typeof position === 'string' ? position.trim().toLowerCase() : 'top',
|
|
817
817
|
offset: !isNaN(Number(offset)) ? Number(offset) : 8,
|
|
818
|
-
arrow: typeof arrow === 'boolean' ? arrow :
|
|
818
|
+
arrow: typeof arrow === 'boolean' ? arrow : false,
|
|
819
819
|
smartHover: typeof smartHover === 'boolean' ? smartHover : true,
|
|
820
820
|
hideOnTouch: typeof hideOnTouch === 'boolean' ? hideOnTouch : true
|
|
821
821
|
};
|