@ptlm-azulejo/tooltip 1.1.1-alpha.304 → 1.1.1-alpha.318
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 +10 -10
- package/dist/index.js +1777 -834
- package/dist/index.umd.cjs +1 -1
- package/dist/src/index.vue.d.ts +3 -1
- package/dist/src/index.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -95,16 +95,16 @@ only the active brand's file is ever downloaded.
|
|
|
95
95
|
|
|
96
96
|
## Props
|
|
97
97
|
|
|
98
|
-
| Name | Type | Default | Description
|
|
99
|
-
| ------------ | ---------------------------------------- | ------- |
|
|
100
|
-
| `id` | `string` | — | Unique id for `aria-describedby` / content `id` (required)
|
|
101
|
-
| `text` | `string` | — | Tooltip content; keep concise (required)
|
|
102
|
-
| `position` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` |
|
|
103
|
-
| `pointer` | `boolean` | `true` | Show the origin arrow pointing at the trigger
|
|
104
|
-
| `helpCursor` | `boolean` | `false` | Show the help cursor (`?`) on hover / focus
|
|
105
|
-
| `radius` | `'none' \| 'sm' \| 'md' \| 'lg'` | `'md'` | Bubble border radius (`none` or `--border-radius-s/m/l`)
|
|
106
|
-
| `standalone` | `boolean` | `false` | Always visible, in normal flow (no hover gate)
|
|
107
|
-
| `ui` | `TooltipUi` | `{}` | Per-part Tailwind class overrides
|
|
98
|
+
| Name | Type | Default | Description |
|
|
99
|
+
| ------------ | ---------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
|
|
100
|
+
| `id` | `string` | — | Unique id for `aria-describedby` / content `id` (required) |
|
|
101
|
+
| `text` | `string` | — | Tooltip content; keep concise (required) |
|
|
102
|
+
| `position` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` | Preferred side. Another side is used when this one would clip the bubble. The label wraps when the viewport is narrower than the text. |
|
|
103
|
+
| `pointer` | `boolean` | `true` | Show the origin arrow pointing at the trigger |
|
|
104
|
+
| `helpCursor` | `boolean` | `false` | Show the help cursor (`?`) on hover / focus |
|
|
105
|
+
| `radius` | `'none' \| 'sm' \| 'md' \| 'lg'` | `'md'` | Bubble border radius (`none` or `--border-radius-s/m/l`) |
|
|
106
|
+
| `standalone` | `boolean` | `false` | Always visible, in normal flow (no hover gate) |
|
|
107
|
+
| `ui` | `TooltipUi` | `{}` | Per-part Tailwind class overrides |
|
|
108
108
|
|
|
109
109
|
### `:ui` keys
|
|
110
110
|
|