@salesql/sql_components_vue3 3.28.0 → 3.29.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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +2833 -2734
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsContactRow/DsContactRow.vue.d.ts +1 -1
- package/dist/ui/DsProfileHero/DsProfileHero.types.d.ts +8 -0
- package/dist/ui/DsProfileHero/DsProfileHero.vue.d.ts +20 -2
- package/llms-full.txt +23 -5
- package/package.json +1 -1
package/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @salesql/sql_components_vue3 — SalesQL Design System (v3.
|
|
1
|
+
# @salesql/sql_components_vue3 — SalesQL Design System (v3.29.0)
|
|
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
|
|
|
@@ -4143,6 +4143,8 @@ prospector, full-profile and contact-list drawers, and in the extension.
|
|
|
4143
4143
|
| `firstName` | `string` | `''` | Used for the name and, without a photo, the avatar's initials. |
|
|
4144
4144
|
| `lastName` | `string` | `''` | See `firstName`. |
|
|
4145
4145
|
| `headline` | `string` | `''` | Job title / one-line summary. Empty → the headline row is not rendered. |
|
|
4146
|
+
| `company` | `string` | `''` | Second column, first line (name's style). With `jobTitle`, see below. |
|
|
4147
|
+
| `jobTitle` | `string` | `''` | Second column, second line (headline's style). |
|
|
4146
4148
|
| `linkedinUrl` | `string` | `''` | Header LinkedIn badge target. Empty → no badge, no links row. |
|
|
4147
4149
|
| `linkedinLabel` | `string` | `''` | Accessible name and tooltip content of the LinkedIn badge. |
|
|
4148
4150
|
| `alt` | `string` | `undefined` | Passthrough to DsAvatar's `alt` (accessible label for the photo). |
|
|
@@ -4165,15 +4167,31 @@ prospector, full-profile and contact-list drawers, and in the extension.
|
|
|
4165
4167
|
- **Headline:** single line, ellipsized. Hidden entirely when empty (no empty row, no
|
|
4166
4168
|
empty tooltip wrapper).
|
|
4167
4169
|
|
|
4170
|
+
### Second column (company / job title)
|
|
4171
|
+
|
|
4172
|
+
Passing `company` and/or `jobTitle` splits the body (the avatar is not counted) into two
|
|
4173
|
+
columns, **60% / 40%**. Column 1 is what the hero always had: name, headline, LinkedIn
|
|
4174
|
+
badge. Column 2 is top-aligned with the name and left-aligned: `company` in the name's text
|
|
4175
|
+
style, `jobTitle` below it in the headline's. Only one of them → column 2 shows just that
|
|
4176
|
+
line. Neither → no second column and the hero renders as before (name wraps, no name
|
|
4177
|
+
tooltip).
|
|
4178
|
+
|
|
4179
|
+
In the two-column layout **every text ellipsizes** (name, headline, company, job title).
|
|
4180
|
+
The 14px gutter between the columns lives inside column 1's 60%, so the split is exact.
|
|
4181
|
+
|
|
4182
|
+
**With `#actions`:** the icon sits over column 2's top-right corner, so the 24px
|
|
4183
|
+
`padding-right` that the name carries in the single-column hero moves to column 2's first
|
|
4184
|
+
line (the company, or the job title when there is no company). The name no longer needs it.
|
|
4185
|
+
|
|
4168
4186
|
### Tooltip: only when actually truncated
|
|
4169
4187
|
|
|
4170
|
-
The headline is wrapped in a `DsTooltip`, but **a tooltip that repeats the fully visible
|
|
4188
|
+
The headline (and, in the two-column layout, the name, company and job title) is wrapped in a `DsTooltip`, but **a tooltip that repeats the fully visible
|
|
4171
4189
|
text is noise** (Diego's rule) — so it only activates when the text is genuinely cut off.
|
|
4172
|
-
On `mouseenter` / `focus` the component compares
|
|
4190
|
+
On `mouseenter` / `focus` the component compares each text `<span>`'s `scrollWidth` to
|
|
4173
4191
|
its `clientWidth`; DsTooltip's own `disabled` prop is driven by that result (mirroring
|
|
4174
4192
|
how `DsSavedButton` gates its tooltip with `:disabled="!tooltip || open"`), so the
|
|
4175
|
-
`content` prop stays the full
|
|
4176
|
-
re-measured on mount and whenever
|
|
4193
|
+
`content` prop stays the full text throughout — only `disabled` changes. It's also
|
|
4194
|
+
re-measured on mount and whenever its text (or the column layout) changes, so the very first hover isn't the
|
|
4177
4195
|
only path to a correct state.
|
|
4178
4196
|
|
|
4179
4197
|
### Accessibility
|