@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 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'` | 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 |
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