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 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.23/dist/kitzo.umd.min.js"></script>
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.
@@ -809,13 +809,13 @@ function Tooltip({
809
809
  position = 'top',
810
810
  offset = 8,
811
811
  hideOnTouch = true,
812
- arrow = true,
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 : true,
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
  };
@@ -29,9 +29,9 @@ type TooltipOptions = {
29
29
  */
30
30
  smartHover?: boolean;
31
31
  /**
32
- * @default true
32
+ * @default false
33
33
  */
34
- arrow: boolean;
34
+ arrow?: boolean;
35
35
  /**
36
36
  * @default true
37
37
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kitzo",
3
- "version": "2.1.23",
3
+ "version": "2.1.25",
4
4
  "description": "A lightweight JavaScript & React UI micro-library.",
5
5
  "type": "module",
6
6
  "main": "./dist/vanilla/vanilla.umd.js",