@svelte-plugins/tooltips
Advanced tools
Comparing version
{ | ||
"name": "@svelte-plugins/tooltips", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"license": "MIT", | ||
@@ -30,6 +30,2 @@ "description": "A simple tooltip action and component designed for Svelte.", | ||
], | ||
"exports": { | ||
"require": "./lib/index.js", | ||
"import": "./src/index.js" | ||
}, | ||
"scripts": { | ||
@@ -36,0 +32,0 @@ "prepack": "husky install", |
@@ -46,5 +46,5 @@ # @svelte-plugins/tooltips | ||
| content | The string or object containing componentref and props | `string` | `object` component (default: ``) | | ||
| showArrow | If `false`, the tooltip arrow will not be shown. | `boolean` (default: `true`) | | ||
| arrow | If `false`, the tooltip arrow will not be shown. | `boolean` (default: `true`) | | ||
| animation | The animation to apply to the tooltip | `string` (default: ``) | | ||
| maxWidth | Size of the obstruction grid | `number` (default: `200`) | | ||
| maxWidth | The max allowable width of the tooltip content | `number` (default: `200`) | | ||
| position | The position where the tooltip should appear relative to its parent | `string` (default: `top`) | | ||
@@ -51,0 +51,0 @@ | autoPosition | Adjust tooltip position if viewport clipping occurs | `string` (default: `false`) | |
141140
-0.06%