@getflip/swirl-ai 0.535.0 → 0.536.0

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.
@@ -55,6 +55,13 @@ The component follows the
55
55
  | -------------- | ---------------------- |
56
56
  | <kbd>ESC</kbd> | Dismisses the tooltip. |
57
57
 
58
+ ### Focus
59
+
60
+ With the `focus` trigger, the tooltip only opens on keyboard focus
61
+ (`:focus-visible`). Focus caused by a mouse click, or moved by a script after a
62
+ mouse interaction (e.g. a popover returning focus to its trigger), does not open
63
+ the tooltip. Use the `show()` method to open it programmatically.
64
+
58
65
  ## Minimal example
59
66
 
60
67
  ```html
@@ -65807,7 +65807,7 @@
65807
65807
  "name": "tooltip__bubble"
65808
65808
  }
65809
65809
  ],
65810
- "description": "The SwirlTooltip component is used to display a popup with information related to an element.\n\nAccessibility\n\n### ARIA\n\nThe component follows the\n[WAI-ARIA Tooltip Widget Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/)\n(WIP).\n\n| ARIA | Usage |\n| ------------------ | ------------------------------------------------------------------------------------------------------------ |\n| `role=\"tooltip\"` | The tooltip container has the `tooltip` role. |\n| `aria-describedby` | The element that triggers the tooltip gets the `aria-describedby` attribute referencing the tooltip element. |\n\n### Keyboard\n\n| Key | Action |\n| -------------- | ---------------------- |\n| <kbd>ESC</kbd> | Dismisses the tooltip. |"
65810
+ "description": "The SwirlTooltip component is used to display a popup with information related to an element.\n\nAccessibility\n\n### ARIA\n\nThe component follows the\n[WAI-ARIA Tooltip Widget Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/)\n(WIP).\n\n| ARIA | Usage |\n| ------------------ | ------------------------------------------------------------------------------------------------------------ |\n| `role=\"tooltip\"` | The tooltip container has the `tooltip` role. |\n| `aria-describedby` | The element that triggers the tooltip gets the `aria-describedby` attribute referencing the tooltip element. |\n\n### Keyboard\n\n| Key | Action |\n| -------------- | ---------------------- |\n| <kbd>ESC</kbd> | Dismisses the tooltip. |\n\n### Focus\n\nWith the `focus` trigger, the tooltip only opens on keyboard focus\n(`:focus-visible`). Focus caused by a mouse click, or moved by a script after a\nmouse interaction (e.g. a popover returning focus to its trigger), does not open\nthe tooltip. Use the `show()` method to open it programmatically."
65811
65811
  }
65812
65812
  ],
65813
65813
  "exports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-ai",
3
- "version": "0.535.0",
3
+ "version": "0.536.0",
4
4
  "description": "Swirl Design System AI package with artifacts for AI agents",
5
5
  "author": "Flip GmbH",
6
6
  "repository": {
@@ -26,7 +26,7 @@
26
26
  "lint": "tsc --noEmit"
27
27
  },
28
28
  "devDependencies": {
29
- "@getflip/swirl-components": "0.535.0",
29
+ "@getflip/swirl-components": "0.536.0",
30
30
  "@getflip/swirl-tokens": "2.14.3",
31
31
  "@types/node": "25.3.0",
32
32
  "tsx": "^4.7.0",