@salesql/sql_components_vue3 3.8.0 → 3.8.2
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/dist/composables/useInputModality.d.ts +6 -0
- package/dist/constants/pickers.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +1741 -1629
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsAddToSequence/DsAddToSequence.types.d.ts +1 -1
- package/dist/ui/DsAddToSequence/DsAddToSequence.vue.d.ts +1 -1
- package/dist/ui/DsContactCell/DsContactCell.types.d.ts +2 -2
- package/dist/ui/DsContactCell/DsContactCell.vue.d.ts +2 -2
- package/dist/ui/DsContactList/DsContactList.types.d.ts +1 -1
- package/dist/ui/DsContactList/DsContactList.vue.d.ts +1 -1
- package/dist/ui/DsContactPlaceholder/DsContactPlaceholder.types.d.ts +1 -1
- package/dist/ui/DsContactPlaceholder/DsContactPlaceholder.vue.d.ts +1 -1
- package/dist/ui/DsDeliverabilityBadge/DsDeliverabilityBadge.types.d.ts +1 -1
- package/dist/ui/DsDeliverabilityBadge/DsDeliverabilityBadge.vue.d.ts +1 -1
- package/dist/ui/DsMaskedValue/DsMaskedValue.types.d.ts +1 -1
- package/dist/ui/DsMaskedValue/DsMaskedValue.vue.d.ts +1 -1
- package/dist/ui/DsPopover/DsPopover.vue.d.ts +1 -1
- package/dist/ui/DsSavedButton/DsSavedButton.types.d.ts +1 -1
- package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +1 -1
- package/dist/ui/DsTagPicker/DsTagPicker.types.d.ts +1 -1
- package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +1 -1
- package/dist/ui/DsTooltip/DsTooltip.vue.d.ts +13 -2
- package/llms-full.txt +25 -9
- package/package.json +4 -5
package/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @salesql/sql_components_vue3 — SalesQL Design System (v3.8.
|
|
1
|
+
# @salesql/sql_components_vue3 — SalesQL Design System (v3.8.2)
|
|
2
2
|
|
|
3
3
|
> Librería de componentes Vue 3 (SalesQL) Presentational-only Vue 3 components (props in, events out; the consuming app owns state, i18n and data). This file is auto-generated from the component stories for LLM/agent consumption — do not edit by hand.
|
|
4
4
|
|
|
@@ -1775,13 +1775,14 @@ events.
|
|
|
1775
1775
|
|
|
1776
1776
|
### Props
|
|
1777
1777
|
|
|
1778
|
-
| Prop
|
|
1779
|
-
|
|
|
1780
|
-
| `content`
|
|
1781
|
-
| `placement`
|
|
1782
|
-
| `delay`
|
|
1783
|
-
| `block`
|
|
1784
|
-
| `disabled`
|
|
1778
|
+
| Prop | Type | Default | Description |
|
|
1779
|
+
| ------------ | ---------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1780
|
+
| `content` | `string` | `''` | Bubble text. Use the `content` slot instead for rich content. |
|
|
1781
|
+
| `placement` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` | Side of the trigger the bubble anchors to. |
|
|
1782
|
+
| `delay` | `number` | `300` | Hover delay before showing, in ms. Keyboard focus always shows immediately. |
|
|
1783
|
+
| `block` | `boolean` | `false` | Wrap a full-width/block trigger (e.g. `DsInput`) instead of the default `inline-flex`, so it doesn't get squashed. |
|
|
1784
|
+
| `disabled` | `boolean` | `false` | Force the tooltip off regardless of `content`/slot — lets a consumer show it only under a condition (e.g. only when truncated). |
|
|
1785
|
+
| `teleported` | `boolean` | `false` | Render the bubble in `<body>` instead of inside the trigger's wrapper, so a clipping ancestor (a `DsDrawer` body, a table cell) can't cut it. Still viewport-clamped; repositioned on scroll/resize. No behavior change when `false`. |
|
|
1785
1786
|
|
|
1786
1787
|
### Slots
|
|
1787
1788
|
|
|
@@ -1792,13 +1793,28 @@ events.
|
|
|
1792
1793
|
|
|
1793
1794
|
### Accessibility
|
|
1794
1795
|
|
|
1795
|
-
- The bubble has `role="tooltip"`; the focused
|
|
1796
|
+
- The bubble has `role="tooltip"`; the keyboard-focused trigger gets `aria-describedby`
|
|
1796
1797
|
pointing at it (any pre-existing `aria-describedby` value is preserved and restored on hide).
|
|
1798
|
+
- Focus opens it only when the focus comes from the **keyboard**: Tab, or a script moving
|
|
1799
|
+
focus right after a key press — the same heuristic browsers use for `:focus-visible`. Focus
|
|
1800
|
+
after a click or tap, or a script's `el.focus()` after one (e.g. `DsDrawer`'s focus trap
|
|
1801
|
+
autofocusing its first control on open), is left to hover: the bubble shows after `delay`
|
|
1802
|
+
and hides on mouse leave, even while the trigger keeps focus.
|
|
1797
1803
|
- Hover and keyboard focus are tracked independently — the tooltip stays open as long as
|
|
1798
1804
|
either is active, so moving the mouse away while still focused (or vice versa) doesn't hide it.
|
|
1799
1805
|
- Escape hides an open tooltip.
|
|
1800
1806
|
- Respects `prefers-reduced-motion` (the fade transition is skipped).
|
|
1801
1807
|
|
|
1808
|
+
### Testing in a consumer (jsdom / happy-dom)
|
|
1809
|
+
|
|
1810
|
+
- The focus modality comes from one shared `keydown` / `pointerdown` / `mousedown` listener on
|
|
1811
|
+
`document`, attached while any `DsTooltip` is mounted. To test keyboard focus, dispatch a
|
|
1812
|
+
`keydown` on `document` before focusing. To test a click followed by a scripted focus,
|
|
1813
|
+
dispatch a `pointerdown` (or `mousedown`) on `document` after the tooltip has mounted and
|
|
1814
|
+
before the focus runs.
|
|
1815
|
+
- With no such event seen yet, it falls back to `el.matches(':focus-visible')`, which jsdom and
|
|
1816
|
+
happy-dom treat like `:focus`: a real `el.focus()` then counts as keyboard focus.
|
|
1817
|
+
|
|
1802
1818
|
### When to use
|
|
1803
1819
|
|
|
1804
1820
|
- Short, supplementary hints on icon-only controls or truncated text — icon-only triggers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesql/sql_components_vue3",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.2",
|
|
4
4
|
"description": "Librería de componentes Vue 3 (SalesQL)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"jsdom": "^26.1.0",
|
|
39
39
|
"sass": "^1.93.2",
|
|
40
40
|
"shiki": "^3.13.0",
|
|
41
|
+
"tsc-alias": "1.8.17",
|
|
41
42
|
"vite": "7.3.2",
|
|
42
43
|
"vitest": "^3.2.0",
|
|
43
44
|
"vscode-oniguruma": "^2.0.1",
|
|
@@ -50,9 +51,6 @@
|
|
|
50
51
|
"registry": "https://registry.npmjs.org",
|
|
51
52
|
"provenance": false
|
|
52
53
|
},
|
|
53
|
-
"engines": {
|
|
54
|
-
"node": "^24.0.0"
|
|
55
|
-
},
|
|
56
54
|
"repository": {
|
|
57
55
|
"type": "git",
|
|
58
56
|
"url": "git+https://github.com/salesql/salesql-components-library-vue3.git"
|
|
@@ -62,7 +60,8 @@
|
|
|
62
60
|
},
|
|
63
61
|
"homepage": "https://github.com/salesql/salesql-components-library-vue3#readme",
|
|
64
62
|
"scripts": {
|
|
65
|
-
"build": "pnpm docs:generate && vite build && vue-tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
63
|
+
"build": "pnpm docs:generate && vite build && vue-tsc -p tsconfig.build.json --emitDeclarationOnly && tsc-alias -p tsconfig.build.json",
|
|
64
|
+
"check:dts": "node build/checkNoAliasInDts.mjs",
|
|
66
65
|
"docs:generate": "node scripts/generate-llms-docs.mjs",
|
|
67
66
|
"dev:link": "vite build --watch",
|
|
68
67
|
"stories": "histoire dev",
|