@ptlm-azulejo/tooltip 1.1.1-alpha.318 → 1.1.2-alpha.317
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 +6 -0
- package/README.md +10 -10
- package/dist/index.js +833 -1776
- package/dist/index.umd.cjs +1 -1
- package/dist/src/index.vue.d.ts +1 -3
- package/dist/src/index.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 158a7da: Fix tooltip text wrapping to break on word boundaries instead of mid-word. The text now uses `overflow-wrap: break-word` (previously `word-break: break-all`), so labels like "Adicione artigos para alterar esta opção" wrap between words and a word is only split when it alone exceeds the bubble width.
|
|
8
|
+
|
|
3
9
|
## 1.1.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
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'` | Position relative to the trigger |
|
|
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
|
|