@salesql/sql_components_vue3 3.35.0 → 3.37.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.
Files changed (40) hide show
  1. package/dist/composables/useFocusHandoff.d.ts +11 -0
  2. package/dist/constants/events.d.ts +4 -0
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.ts +9 -5
  6. package/dist/index.es.js +4540 -3967
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/sql_components_vue3.css +1 -1
  9. package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
  10. package/dist/ui/DsConfirmDialog/DsConfirmDialog.types.d.ts +13 -2
  11. package/dist/ui/DsConfirmDialog/DsConfirmDialog.vue.d.ts +16 -3
  12. package/dist/ui/DsContactList/DsContactList.types.d.ts +2 -0
  13. package/dist/ui/DsContactList/DsContactList.vue.d.ts +9 -0
  14. package/dist/ui/DsInput/DsInput.vue.d.ts +1 -1
  15. package/dist/ui/DsListSkeleton/DsListSkeleton.types.d.ts +10 -0
  16. package/dist/ui/DsListSkeleton/DsListSkeleton.vue.d.ts +23 -0
  17. package/dist/ui/DsListSkeleton/index.d.ts +2 -0
  18. package/dist/ui/DsOrganizerForm/DsOrganizerForm.vue.d.ts +1 -1
  19. package/dist/ui/DsProfileActionBar/DsProfileActionBar.defaults.d.ts +2 -0
  20. package/dist/ui/DsProfileActionBar/DsProfileActionBar.types.d.ts +35 -4
  21. package/dist/ui/DsProfileActionBar/DsProfileActionBar.vue.d.ts +63 -3
  22. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.types.d.ts +23 -1
  23. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.vue.d.ts +19 -8
  24. package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.types.d.ts +12 -0
  25. package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.vue.d.ts +61 -2
  26. package/dist/ui/DsProfileHero/DsProfileHero.vue.d.ts +1 -1
  27. package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.types.d.ts +5 -0
  28. package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.vue.d.ts +20 -0
  29. package/dist/ui/DsProfileRichSections/DsProfileRichSections.types.d.ts +11 -0
  30. package/dist/ui/DsProfileRichSections/DsProfileRichSections.vue.d.ts +46 -0
  31. package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.types.d.ts +6 -0
  32. package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.vue.d.ts +24 -0
  33. package/dist/ui/DsProfileSkeleton/index.d.ts +2 -0
  34. package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +1 -1
  35. package/dist/ui/DsTable/DsTable.vue.d.ts +2 -2
  36. package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +1 -1
  37. package/dist/ui/DsTextarea/DsTextarea.vue.d.ts +2 -2
  38. package/llms-full.txt +281 -77
  39. package/llms.txt +2 -0
  40. package/package.json +1 -1
package/llms-full.txt CHANGED
@@ -1,4 +1,4 @@
1
- # @salesql/sql_components_vue3 — SalesQL Design System (v3.35.0)
1
+ # @salesql/sql_components_vue3 — SalesQL Design System (v3.37.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
 
@@ -48,7 +48,7 @@ app.provide(DS_TELEPORT_TARGET, overlayLayer); // an element inside the shadow r
48
48
 
49
49
  Browsers ignore `@font-face` declared inside a shadow root: register the fonts on the page document.
50
50
 
51
- ## Components (90)
51
+ ## Components (92)
52
52
 
53
53
  - **DsCompanyCard** (Company) — The card the prospector opens from its company cell — the design export's `CompanyDetails`
54
54
  - **DsCompanyLogo** (Company) — A company's logo in the DS hairline box: white, 1px `slate-tint` ring, 4px radius, the image
@@ -97,6 +97,7 @@ Browsers ignore `@font-face` declared inside a shadow root: register the fonts o
97
97
  - **DsCreditsNotice** (Extension panel) — A short `role="status"` notice inside the credits popover.
98
98
  - **DsCreditsPopover** (Extension panel) — The credits chip of the side panel header and the popover it opens. Goes in `DsPanelHeader`'s
99
99
  - **DsCreditsSummary** (Extension panel) — The credits block shared by `DsAccountMenu` (row) and `DsCreditsPopover` (`prominent`).
100
+ - **DsListSkeleton** (Extension panel) — The panel's contact list while it reads SalesQL. A selection bar (checkbox and «Select all»),
100
101
  - **DsPanelFrame** (Extension panel) — The floating card that holds the extension's panel: a white column with a hairline border, a
101
102
  - **DsPanelHeader** (Extension panel) — The top bar of the extension's **side panel**: the SalesQL imagotype on the left and, on the
102
103
  - **DsPanelLauncher** (Extension panel) — The minimized panel: a round white button with the SalesQL isotype that brings the panel back.
@@ -130,6 +131,7 @@ Browsers ignore `@font-face` declared inside a shadow root: register the fonts o
130
131
  - **DsProfileKvRow** (Profile) — One label / value row of the full-profile drawer — the design export's `ProfileKvRow`
131
132
  - **DsProfileLockedCard** (Profile) — The "locked" stub shown instead of Metadata / About / Experience / Education before a
132
133
  - **DsProfileRichSections** (Profile) — The sections of a full profile that come from the person's own record: **Details**
134
+ - **DsProfileSkeleton** (Profile) — The full profile while the panel reads SalesQL, in place of a spinner. Grey `DsSkeleton` blocks
133
135
  - **DsProfileTimelineRow** (Profile) — One entry of an Experience / Education list — the design export's `ProfileTimelineRow`
134
136
  - **DsUpgradeNotice** (Profile) — The box that tells the user what their plan does not allow and links to the upgrade: «To
135
137
  - **DsColumnList** (Toolbar) — The body of a table's «Columns» popover: one checkbox row per column in **table order, hidden ones
@@ -725,6 +727,7 @@ quiet uppercase band per type («WORK (2)»), its rows under it, and one total i
725
727
  | `invalidTooltip` | `string` | `''` | The pill's meaning and accessible name. |
726
728
  | `showRate` | `boolean` | `false` | Adds thumbs up / down to unmasked rows (except those with `rateable: false`). |
727
729
  | `emptyLabel` | `string` | `''` | Shown when `items` is empty. Omit to render nothing. |
730
+ | `listLabelledby` | `string` | `''` | `id` of an outside label (a band) that names the `items` list (`aria-labelledby`). Sections name their own. |
728
731
  | `copyLabel` | `string` | `'Copy'` | Accessible label / title of the copy button. |
729
732
  | `copiedLabel` | `string` | `'Copied!'` | Shown for ~1.2 s after a copy. |
730
733
  | `correctLabel` | `string` | `'Correct'` | Accessible label of thumbs-up. |
@@ -759,7 +762,7 @@ quiet uppercase band per type («WORK (2)»), its rows under it, and one total i
759
762
 
760
763
  ### Accessibility
761
764
 
762
- - `role="list"` on the rows; icon-only actions carry `aria-label` + `title`; rating buttons
765
+ - `role="list"` on the rows, named by the section label, or by `listLabelledby` for `items`; icon-only actions carry `aria-label` + `title`; rating buttons
763
766
  expose `aria-pressed` from `item.rating`.
764
767
  - The overlay is visible on `:hover` **and** `:focus-within`, so keyboard users reach copy /
765
768
  rate too. The type glyph is `aria-hidden` (the header names the type).
@@ -1261,15 +1264,32 @@ count («WORK (2)»); the profile band shows the name alone, as the export does.
1261
1264
 
1262
1265
  ### Props
1263
1266
 
1264
- | Prop | Type | Default | Description |
1265
- | ------- | -------- | ------- | ------------------------------------------------------------- |
1266
- | `label` | `string` | — | The type's name, translated by the app; uppercase (required). |
1267
+ | Prop | Type | Default | Description |
1268
+ | --------------- | --------- | ------------ | --------------------------------------------------------------- |
1269
+ | `label` | `string` | — | The type's name, translated by the app; uppercase (required). |
1270
+ | `labelId` | `string` | `''` | `id` on the label, so the list under it can use it as its name. |
1271
+ | `actionLabel` | `string` | `''` | The band's button («Show emails»). Empty → no button. |
1272
+ | `actionTooltip` | `string` | `''` | Its cost («Show emails · 1 credit»). Empty → no tooltip. |
1273
+ | `actionIcon` | `string` | `visibility` | The button's glyph. |
1274
+ | `actionBusy` | `boolean` | `false` | Spinner, `aria-busy`; keeps focus, clicks ignored. |
1275
+ | `compact` | `boolean` | `false` | The unrevealed profile's 24px band (see below). |
1276
+
1277
+ The action is the design's phase-1 per-band reveal: a small primary `DsButton` with the glyph
1278
+ on the left, inside a tooltip (below, teleported). It only emits `action`. With `actionBusy`
1279
+ it shows DsButton's spinner and stays focusable (`focusableWhenDisabled`): `aria-busy` /
1280
+ `aria-disabled`, no native `disabled`, the tooltip off and a click ignored.
1281
+
1282
+ ### Events
1283
+
1284
+ | Event | Payload | When |
1285
+ | -------- | ------- | ----------------------- |
1286
+ | `action` | — | The band's button used. |
1267
1287
 
1268
1288
  ### Slots
1269
1289
 
1270
- | Slot | Where | Use |
1271
- | --------- | --------- | --------------------------------------------------------- |
1272
- | `actions` | The right | The type's action (the export's «Show emails» in Fase 1). |
1290
+ | Slot | Where | Use |
1291
+ | --------- | --------- | ------------------------------------------------- |
1292
+ | `actions` | The right | Any other action; drawn before the `actionLabel`. |
1273
1293
 
1274
1294
  ### Design parity (export `ProfileGroupBar`)
1275
1295
 
@@ -1277,6 +1297,24 @@ count («WORK (2)»); the profile band shows the name alone, as the export does.
1277
1297
  padding and rules); label 10px / 700 / .7px uppercase in grey `#888f97`; 1px `slate-tint`
1278
1298
  rules above and below.
1279
1299
 
1300
+ **Compact** (`DsProfileContactDataCard` `banded`, the «Perfil sin revelar» board): 24px
1301
+ border-box (`control-height('small')`), as the board measures (24.5 with its rule). The label
1302
+ takes `$line-height-tight` (1.2 → a 12px line), so every band measures 24 exactly (12 + 2 × 5
1303
+ padding + 2 × 1 rule; `normal` gave 25), the skeleton's band height. A band with a button grows
1304
+ to the button's height. Every other consumer keeps the 36px band.
1305
+
1306
+ **AA colours — they differ from the design on purpose** (Diego, 2026-11-27):
1307
+
1308
+ - Compact only: label in `slate-soft` (`#5e666f`), 5.53:1 on the band (`#f9f9f9`). The
1309
+ design's `#888f97` is 3.11:1 there.
1310
+ - At any height: the built-in action fills `accent-shadow` (`#504fbf`) at rest and on hover:
1311
+ white on it is 6.54:1 (on `accent-main`, DsButton primary's rest, 4.14:1). No darker accent
1312
+ token exists, so hover keeps the fill. Keyboard focus keeps DsButton's 2px `accent-main` ring,
1313
+ 3.93:1 on the band. Scoped to this button (`ds-profile-group-bar__action`): buttons passed in
1314
+ the `actions` slot and every other DsButton keep their colours.
1315
+
1316
+ The 36px band's label keeps the export's grey, as frontend-app draws it today.
1317
+
1280
1318
  **Logged deltas:**
1281
1319
 
1282
1320
  - Background: the export's `grey1` (`#fafafb`) has no token; the nearest is the contract's
@@ -1284,6 +1322,8 @@ rules above and below.
1284
1322
  `DsContactList`'s popover band takes) was measured and rejected: it is the drawer's own
1285
1323
  panel colour, so the band merged with it and the card read as loose boxes. `#f9f9f9` stays,
1286
1324
  with no new token (Diego, 2026-09-25).
1325
+ - The action button is DsButton `small` (24px, 12px / 400). The design's is 11.5px / 700 with
1326
+ a 13px glyph: the DS button wins.
1287
1327
  - First in its card, the band drops its top rule: the card header already rules that edge
1288
1328
  (the export draws both, a 2px line). Same rule as `DsContactList`'s first row.
1289
1329
 
@@ -1793,22 +1833,23 @@ next.
1793
1833
 
1794
1834
  ### Props
1795
1835
 
1796
- | Prop | Type | Default | Description |
1797
- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1798
- | `variant` | `'default' \| 'primary' \| 'secondary' \| 'tertiary' \| 'quaternary' \| 'quinary' \| 'senary' \| 'outline' \| 'ai' \| 'dotted' \| 'danger' \| 'warning'` | `'default'` | Visual style. `ai` is the primary-like action (pink → orange gradient) action of the AI features. `warning` is a legacy solid-red alias of `danger` — prefer `danger`. |
1799
- | `size` | `'small' \| 'medium' \| 'large' \| 'xlarge'` | `'medium'` | Control height + padding. |
1800
- | `nativeType` | `'button' \| 'submit' \| 'reset'` | `'button'` | Native `<button type>`. |
1801
- | `leftIcon` | `string` | `''` | Material Icon name rendered before the label (or use the `#leading` slot). |
1802
- | `rightIcon` | `string` | `''` | Material Icon name rendered after the label (or use the `#trailing` slot). |
1803
- | `ariaLabel` | `string` | `''` | Accessible label — required for icon-only (`circle`/`square`) buttons. |
1804
- | `disabled` | `boolean` | `false` | Disables the button and blocks `click`. |
1805
- | `loading` | `boolean` | `false` | Shows a spinner overlay, natively disables the button, and blocks `click`. |
1806
- | `circle` | `boolean` | `false` | Round icon-only button (width === height). |
1807
- | `square` | `boolean` | `false` | Flat 4px-radius icon-only button (width === height). |
1808
- | `noPadding` | `boolean` | `false` | Zero the square padding for a tight glyph (only takes effect with `square`). |
1809
- | `block` | `boolean` | `false` | Full width of its container (the panel's «Show details» CTA). |
1810
- | `selected` | `boolean` | `false` | Toggle state — accent outline + fill, sets `aria-pressed`. |
1811
- | `autofocus` | `boolean` | `false` | Native `autofocus`. |
1836
+ | Prop | Type | Default | Description |
1837
+ | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1838
+ | `variant` | `'default' \| 'primary' \| 'secondary' \| 'tertiary' \| 'quaternary' \| 'quinary' \| 'senary' \| 'outline' \| 'ai' \| 'dotted' \| 'danger' \| 'warning'` | `'default'` | Visual style. `ai` is the primary-like action (pink → orange gradient) action of the AI features. `warning` is a legacy solid-red alias of `danger` — prefer `danger`. |
1839
+ | `size` | `'small' \| 'medium' \| 'large' \| 'xlarge'` | `'medium'` | Control height + padding. |
1840
+ | `nativeType` | `'button' \| 'submit' \| 'reset'` | `'button'` | Native `<button type>`. |
1841
+ | `leftIcon` | `string` | `''` | Material Icon name rendered before the label (or use the `#leading` slot). |
1842
+ | `rightIcon` | `string` | `''` | Material Icon name rendered after the label (or use the `#trailing` slot). |
1843
+ | `ariaLabel` | `string` | `''` | Accessible label — required for icon-only (`circle`/`square`) buttons. |
1844
+ | `disabled` | `boolean` | `false` | Disables the button and blocks `click`. |
1845
+ | `loading` | `boolean` | `false` | Shows a spinner overlay, natively disables the button, and blocks `click`. |
1846
+ | `circle` | `boolean` | `false` | Round icon-only button (width === height). |
1847
+ | `square` | `boolean` | `false` | Flat 4px-radius icon-only button (width === height). |
1848
+ | `noPadding` | `boolean` | `false` | Zero the square padding for a tight glyph (only takes effect with `square`). |
1849
+ | `block` | `boolean` | `false` | Full width of its container (the panel's «Show details» CTA). |
1850
+ | `selected` | `boolean` | `false` | Toggle state — accent outline + fill, sets `aria-pressed`. |
1851
+ | `autofocus` | `boolean` | `false` | Native `autofocus`. |
1852
+ | `focusableWhenDisabled` | `boolean` | `false` | `disabled` / `loading` set only `aria-disabled` (no native `disabled`), so the button keeps keyboard focus; `click` is still blocked. |
1812
1853
 
1813
1854
  ### Events
1814
1855
 
@@ -3149,6 +3190,27 @@ header and to the meter; meter-to-foot 7 → 8px.
3149
3190
 
3150
3191
  ---
3151
3192
 
3193
+ <!-- DsListSkeleton · Extension panel -->
3194
+
3195
+ ## DsListSkeleton
3196
+
3197
+ The panel's contact list while it reads SalesQL. A selection bar (checkbox and «Select all»),
3198
+ then `rows` rows laid out like `DsContactRow`: checkbox, 40px photo, name and title (widths vary
3199
+ row to row), the medium «Show details», and the email / phone box of two
3200
+ `DsContactPlaceholder` skeleton rows.
3201
+
3202
+ One `DsSkeletonGroup`: announced once, as a status with `label`; every block is decorative.
3203
+ Ported from the extension's hand-made `ListSkeleton` (SALESQL-4681), now on DS tokens only.
3204
+
3205
+ ### Props
3206
+
3207
+ | Prop | Type | Default | Description |
3208
+ | ------- | -------- | ------- | ------------------------------------------------------------------------------------------- |
3209
+ | `label` | `string` | `''` | What is loading, for screen readers. |
3210
+ | `rows` | `number` | `6` | Rows to draw: floored, 0 to `DS_LIST_SKELETON_MAX_ROWS` (50). NaN and ±Infinity draw the 6. |
3211
+
3212
+ ---
3213
+
3152
3214
  <!-- DsPanelFrame · Extension panel -->
3153
3215
 
3154
3216
  ## DsPanelFrame
@@ -4308,7 +4370,12 @@ actions, the safe one (secondary) and the primary one. Built for «Keep in curre
4308
4370
  - **Two ways to say no:** the secondary emits `cancel` with `'action'` (the user chose the safe
4309
4371
  option); Esc, the X and the backdrop emit `cancel` with `'dismiss'` (the user walked away).
4310
4372
  `DS_CONFIRM_DIALOG_CANCEL_REASONS`.
4311
- - **Focus:** on open it lands on the safe action, never on the primary or the X.
4373
+ - **Focus:** on open it lands on the safe action, never on the primary or the X. With no
4374
+ `cancelLabel` (a notice with one action) it lands on the primary.
4375
+ - **Destructive:** `confirmVariant: 'danger'` paints the primary as `DsButton` `danger`
4376
+ (`DS_CONFIRM_DIALOG_CONFIRM_VARIANTS`); the focus still starts on the safe action.
4377
+ - **One action:** without `cancelLabel` there is no secondary; Esc, the X and the backdrop
4378
+ still emit `cancel` with `'dismiss'`.
4312
4379
  - **`loading`:** the primary spins, both actions are disabled and Esc, the X and the backdrop
4313
4380
  emit nothing until the app clears it. The focus waits on the dialog itself (not on a disabled
4314
4381
  action, nor on the X, which does nothing meanwhile), also when it opens already loading, and
@@ -4321,16 +4388,17 @@ actions, the safe one (secondary) and the primary one. Built for «Keep in curre
4321
4388
 
4322
4389
  ### Props
4323
4390
 
4324
- | Prop | Type | Default | Description |
4325
- | -------------- | --------- | --------- | ----------------------------------------------------------- |
4326
- | `open` | `boolean` | `false` | |
4327
- | `title` | `string` | — | The header (required). |
4328
- | `text` | `string` | `''` | The question. The default slot replaces it. |
4329
- | `notice` | `string` | `''` | A secondary line under the text (stale data). Empty = none. |
4330
- | `confirmLabel` | `string` | — | The primary action (required); emits `confirm`. |
4331
- | `cancelLabel` | `string` | — | The safe action (required); emits `cancel` with `'action'`. |
4332
- | `closeLabel` | `string` | `'Close'` | Accessible name of the X. |
4333
- | `loading` | `boolean` | `false` | The app is acting on the answer: every path is blocked. |
4391
+ | Prop | Type | Default | Description |
4392
+ | ---------------- | ----------------------- | ----------- | ------------------------------------------------------------------- |
4393
+ | `open` | `boolean` | `false` | |
4394
+ | `title` | `string` | — | The header (required). |
4395
+ | `text` | `string` | `''` | The question. The default slot replaces it. |
4396
+ | `notice` | `string` | `''` | A secondary line under the text (stale data). Empty = none. |
4397
+ | `confirmLabel` | `string` | — | The primary action (required); emits `confirm`. |
4398
+ | `confirmVariant` | `'primary' \| 'danger'` | `'primary'` | The primary's look; `danger` for a destructive action. |
4399
+ | `cancelLabel` | `string` | `''` | The safe action; emits `cancel` with `'action'`. Empty = no button. |
4400
+ | `closeLabel` | `string` | `'Close'` | Accessible name of the X. |
4401
+ | `loading` | `boolean` | `false` | The app is acting on the answer: every path is blocked. |
4334
4402
 
4335
4403
  ### Events
4336
4404
 
@@ -4766,24 +4834,52 @@ The action area of a full profile — the design export's `ActionBar`.
4766
4834
 
4767
4835
  The default slot is only rendered once `revealed`: before it, the app's actions do not exist.
4768
4836
 
4837
+ ### Phase 1 (`phase="phase-1"`)
4838
+
4839
+ Per-kind reveal, from the design's «Perfil sin revelar» board. Two rows, 10px apart:
4840
+
4841
+ 1. **Reveal row** — «Show details» (stretches) plus a square accent button per kind still
4842
+ masked: `mail` («Show emails») and `call` («Show phones»). Each has its cost in its own
4843
+ tooltip (below, teleported). A kind's button leaves once `emailsRevealed` /
4844
+ `phonesRevealed`; the whole row leaves once both are (or `revealed`). While `revealing`
4845
+ (everything) the squares hide; while `revealingEmails` / `revealingPhones` only that
4846
+ square shows the spinner and ignores clicks.
4847
+ 2. **Save row** — until `saved`, a full-width outline «Save ▾» that emits `save` (saving is
4848
+ free), even once everything is revealed; once `saved`, the default slot's row.
4849
+
4850
+ Every button is the DS large height (36px), set in one place in the component (`ACTION_SIZE`).
4851
+ The design draws them at 40px, off the DS scale.
4852
+
4769
4853
  ### Props
4770
4854
 
4771
- | Prop | Type | Default | Description |
4772
- | ----------- | --------------------------------- | ------- | ------------------------------------------ |
4773
- | `revealed` | `boolean` | `false` | Show the slot's row instead of the button. |
4774
- | `revealing` | `boolean` | `false` | Button loading, tooltip off, no `reveal`. |
4775
- | `copy` | `Partial<DsProfileActionBarCopy>` | — | Overrides only the keys it names. |
4855
+ | Prop | Type | Default | Description |
4856
+ | ----------------- | --------------------------------- | ----------- | ---------------------------------------------- |
4857
+ | `phase` | `'phase-0' \| 'phase-1'` | `'phase-0'` | Reveal model (`DS_PROFILE_ACTION_BAR_PHASES`). |
4858
+ | `revealed` | `boolean` | `false` | Everything revealed: no reveal row. |
4859
+ | `revealing` | `boolean` | `false` | «Show details» loading, no `reveal`. |
4860
+ | `emailsRevealed` | `boolean` | `false` | Phase 1: hides the emails square. |
4861
+ | `phonesRevealed` | `boolean` | `false` | Phase 1: hides the phones square. |
4862
+ | `revealingEmails` | `boolean` | `false` | Phase 1: emails square busy, still focusable. |
4863
+ | `revealingPhones` | `boolean` | `false` | Phase 1: phones square busy, still focusable. |
4864
+ | `saved` | `boolean` | `false` | Phase 1: the slot's row replaces «Save». |
4865
+ | `copy` | `Partial<DsProfileActionBarCopy>` | — | Overrides only the keys it names. |
4776
4866
 
4777
4867
  ### Copy
4778
4868
 
4779
4869
  `DS_PROFILE_ACTION_BAR_COPY`: `reveal` «Show details», `revealTooltip` (empty: no tooltip, the
4780
- cost is the app's), `revealing` «Revealing…».
4870
+ cost is the app's), `revealing` «Revealing…», `emails` «Show emails», `phones` «Show phones»,
4871
+ `save` «Save», and `emailsTooltip` / `phonesTooltip` / `saveTooltip` (empty: the app's prices).
4872
+ The constant is typed `DsProfileActionBarCopy` (phase-1 keys optional), so a three-key phase-0
4873
+ object still fits `typeof DS_PROFILE_ACTION_BAR_COPY`; the bar resolves every key internally.
4781
4874
 
4782
4875
  ### Events
4783
4876
 
4784
- | Event | Payload | When |
4785
- | -------- | ------- | ---------------------------------------------------- |
4786
- | `reveal` | — | The button was used, and the bar is not `revealing`. |
4877
+ | Event | Payload | When |
4878
+ | --------------- | ------- | ----------------------------------------------------- |
4879
+ | `reveal` | — | The button was used, and the bar is not `revealing`. |
4880
+ | `reveal-emails` | — | Phase 1: the emails square, unless `revealingEmails`. |
4881
+ | `reveal-phones` | — | Phase 1: the phones square, unless `revealingPhones`. |
4882
+ | `save` | — | Phase 1: «Save», before `saved`. |
4787
4883
 
4788
4884
  ### Slots
4789
4885
 
@@ -4796,6 +4892,32 @@ cost is the app's), `revealing` «Revealing…».
4796
4892
  While `revealing`, the button's text is hidden behind the spinner, so its `aria-label` is
4797
4893
  `copy.revealing`. The button is a native `<button>`, reachable by keyboard.
4798
4894
 
4895
+ **Phase 0 changed too (not opt-in).** While `revealing`, «Show details» is now `aria-disabled` /
4896
+ `aria-busy` instead of natively disabled, so it stays focusable (a click or Enter is still
4897
+ ignored), and the focus handoff below also runs in phase 0: once `revealed`, focus moves from
4898
+ «Show details» to the slot's first focusable control, else the bar. An accessibility
4899
+ improvement, with no prop to switch it off.
4900
+
4901
+ **Keyboard focus through the phase-1 steps.** A revealing square is `aria-disabled` and
4902
+ `aria-busy` but not natively disabled, so it keeps focus while the app spends the credit (a
4903
+ click or Enter on it is ignored). «Show details» does the same while `revealing` or while a kind
4904
+ is busy (DsButton `focusableWhenDisabled`): a browser drops focus from a natively disabled button. When the focused control leaves — a revealed square, «Show
4905
+ details» once everything is revealed, «Save» once `saved` — focus moves to the nearest reveal
4906
+ control still there (the ones after it first), else «Save», else the first focusable control in
4907
+ the default slot, else the bar itself (`tabindex="-1"`). Focus outside the bar is never moved.
4908
+
4909
+ **Where the bar stops.** The bar keeps focus through its own busy states and hands it off only
4910
+ when one of its own controls disappears. After any other change of the app's data (a toast, a
4911
+ drawer, the next contact, a slot control the app swaps), the consuming app decides where focus
4912
+ goes.
4913
+
4914
+ **AA glyph on the phase-1 squares — differs from the design on purpose** (2026-11-27): the
4915
+ `mail` / `call` glyph is `accent-shadow` (`#504fbf`), at rest and on hover: 5.89:1 on the
4916
+ `accent-bg` fill and 4.06:1 on the `accent-mid` hover fill (the design's `accent-main` glyph is
4917
+ 3.73:1 and 2.57:1, under the 3:1 for non-text). Scoped to the squares
4918
+ (`ds-profile-action-bar__kind`). «Show details» is DsButton primary as in phase 0 and the
4919
+ Prospector: its white on `accent-main` (4.14:1) is a DS-wide token matter, not this bar's.
4920
+
4799
4921
  ---
4800
4922
 
4801
4923
  <!-- DsProfileContactDataCard · Profile -->
@@ -4822,26 +4944,28 @@ incorrect marks. The app toasts, calls its rating endpoint, opens its feedback m
4822
4944
 
4823
4945
  ### Props
4824
4946
 
4825
- | Prop | Type | Default | Description |
4826
- | ------------------------------------- | ------------------ | ------------ | ------------------------------------------------ |
4827
- | `title` | `string` | — | The card's name (required). |
4828
- | `groups` | `DsContactGroup[]` | — | Emails and phones (required). |
4829
- | `count` | `number \| null` | `null` | Total next to the title. |
4830
- | `badgeLabel` / `badgeTooltip` | `string` | — | The A+ badge on a valid email (required). |
4831
- | `verifyingLabel` / `verifyingTooltip` | `string` | — | The «Verifying» pill; shown only with its label. |
4832
- | `invalidLabel` / `invalidTooltip` | `string` | — | The «Invalid» pill; shown only with its label. |
4833
- | `showRate` | `boolean` | `false` | Thumbs up / down on the rows that can be rated. |
4834
- | `maskedLabel` | `string` | list default | Spoken once per masked value. |
4835
- | `copyLabel` / `copiedLabel` | `string` | list default | Accessible names of the copy action. |
4836
- | `correctLabel` / `incorrectLabel` | `string` | list default | Accessible names of the rating actions. |
4947
+ | Prop | Type | Default | Description |
4948
+ | ------------------------------------- | ----------------------------- | ------------ | ------------------------------------------------ |
4949
+ | `title` | `string` | — | The card's name (required). |
4950
+ | `groups` | `DsProfileContactDataGroup[]` | — | Emails and phones (required). |
4951
+ | `banded` | `boolean` | `false` | The design's profile bands (see below). |
4952
+ | `count` | `number \| null` | `null` | Total next to the title. |
4953
+ | `badgeLabel` / `badgeTooltip` | `string` | — | The A+ badge on a valid email (required). |
4954
+ | `verifyingLabel` / `verifyingTooltip` | `string` | — | The «Verifying» pill; shown only with its label. |
4955
+ | `invalidLabel` / `invalidTooltip` | `string` | — | The «Invalid» pill; shown only with its label. |
4956
+ | `showRate` | `boolean` | `false` | Thumbs up / down on the rows that can be rated. |
4957
+ | `maskedLabel` | `string` | list default | Spoken once per masked value. |
4958
+ | `copyLabel` / `copiedLabel` | `string` | list default | Accessible names of the copy action. |
4959
+ | `correctLabel` / `incorrectLabel` | `string` | list default | Accessible names of the rating actions. |
4837
4960
 
4838
4961
  ### Events
4839
4962
 
4840
- | Event | Payload | When |
4841
- | ----------- | --------------- | ------------------------ |
4842
- | `copy` | `DsContactItem` | A value was copied. |
4843
- | `correct` | `DsContactItem` | The thumb up was used. |
4844
- | `incorrect` | `DsContactItem` | The thumb down was used. |
4963
+ | Event | Payload | When |
4964
+ | ----------- | --------------- | ------------------------- |
4965
+ | `action` | `string` (key) | A band's button (banded). |
4966
+ | `copy` | `DsContactItem` | A value was copied. |
4967
+ | `correct` | `DsContactItem` | The thumb up was used. |
4968
+ | `incorrect` | `DsContactItem` | The thumb down was used. |
4845
4969
 
4846
4970
  ### Slots
4847
4971
 
@@ -4851,6 +4975,38 @@ incorrect marks. The app toasts, calls its rating endpoint, opens its feedback m
4851
4975
  | `editor` | First in the body, no inset | The open email editor. |
4852
4976
  | `notice` | After the groups, inset | An upgrade notice, a hint. |
4853
4977
 
4978
+ ### `banded`
4979
+
4980
+ The design's «Perfil sin revelar» card. Each type with rows gets a `DsProfileGroupBar` with its
4981
+ section `label` and no counter, then a `DsContactList` (no title, the type's glyph per row).
4982
+ Sections without rows are not drawn. A group without rows draws its placeholder, with
4983
+ `group.band` above it when set («Mobile» over «No phones found»; none while «Revealing…»).
4984
+ `group.action` (`{ label, tooltip?, icon?, busy? }`) puts the phase-1 button on the group's
4985
+ **first** band, and its click emits `action` with the group's `key`. While `busy`, the button
4986
+ shows a spinner and is `aria-busy` / `aria-disabled` but not natively disabled, so it keeps
4987
+ keyboard focus and a second click or Enter is ignored.
4988
+ Every band is `compact`: 24px as on the board, and a band with the button grows to fit it.
4989
+ Compact bands use AA colours on purpose (`slate-soft` label, `accent-shadow` button), not the
4990
+ design's: see `DsProfileGroupBar`.
4991
+ Each band's label names the list under it (`labelId` → `listLabelledby`, `aria-labelledby` with
4992
+ an id from `useId`), so a screen reader moving by lists hears «Work email» / «Direct email»
4993
+ with no second visible heading.
4994
+
4995
+ ### Keyboard focus — where the card stops
4996
+
4997
+ The card keeps focus through **its own** states and hands it off when **its own** control
4998
+ disappears:
4999
+
5000
+ - Mark the action `busy` while you reveal: the focused button stays focused.
5001
+ - When a focused band button leaves — its lead band unmounts (the group turns into the
5002
+ «Revealing…» placeholder) or you clear `action` once revealed — focus moves to the card itself
5003
+ (`tabindex="-1"`, the DS `accent-main` ring; the `<section>` is named by the title), not to
5004
+ `<body>`.
5005
+ - Focus you moved on purpose, or focus that was never on a band button, is never touched.
5006
+
5007
+ Anything else is the app's call: after other data of yours changes (a toast, a drawer, the next
5008
+ contact), **the consuming app decides where focus goes**.
5009
+
4854
5010
  ### What `DsContactGroups` does and does not do here
4855
5011
 
4856
5012
  - The band over each type is `DsContactList`'s own («Work email (2)»), with the count; a
@@ -5011,11 +5167,13 @@ L1395), SALESQL-3298.
5011
5167
 
5012
5168
  ### Props
5013
5169
 
5014
- | Prop | Type | Default | Description |
5015
- | ------- | -------- | ------- | ----------------------------------------------------------------------------------- |
5016
- | `icon` | `string` | — | Material Symbols glyph (filled family), e.g. `work` (required). |
5017
- | `title` | `string` | — | The section's name, already translated. Rendered uppercase (required). |
5018
- | `hint` | `string` | `''` | Tooltip explaining how to unlock. Empty → no tooltip, and the card isn't focusable. |
5170
+ | Prop | Type | Default | Description |
5171
+ | --------------- | -------------------- | -------- | ----------------------------------------------------------------------------------- |
5172
+ | `icon` | `string` | — | Material Symbols glyph (filled family), e.g. `work` (required). |
5173
+ | `title` | `string` | — | The section's name, already translated. Rendered uppercase (required). |
5174
+ | `hint` | `string` | `''` | Tooltip explaining how to unlock. Empty → no tooltip, and the card isn't focusable. |
5175
+ | `hintPlacement` | `DsTooltipPlacement` | `'left'` | Side of the card the hint opens on. A narrow panel passes `bottom`. |
5176
+ | `teleported` | `boolean` | `false` | The hint in the app's teleport target, so no ancestor's `overflow` clips it. |
5019
5177
 
5020
5178
  ### Accessibility
5021
5179
 
@@ -5037,8 +5195,13 @@ export draws it that way to read as **disabled**, not merely quiet.
5037
5195
  ### Design parity (export `ProfileLockedCard`)
5038
5196
 
5039
5197
  Leading icon `17px`, muted. Title `11px / 700`, letter-spacing `.6px`, uppercase, muted.
5040
- Trailing `lock` glyph `15px`, muted. Tooltip: `hint`, placement left, block. All values
5041
- match the export exactly — no reconciliation needed here.
5198
+ Trailing `lock` glyph `15px`, muted. Tooltip: `hint`, placement left, block — the export's
5199
+ default, unchanged.
5200
+
5201
+ **Narrow panel (opt-in, SALESQL-4793):** in the side panel (at the screen's right edge,
5202
+ 320–400px wide) a left bubble leaves the panel, so the panel passes `hint-placement="bottom"`
5203
+ and `teleported`: below a full-width card it is centred inside it, no `overflow` clips it, and
5204
+ the viewport clamp flips it above near the bottom of the screen.
5042
5205
 
5043
5206
  ---
5044
5207
 
@@ -5064,14 +5227,22 @@ The sections of a full profile that come from the person's own record: **Details
5064
5227
 
5065
5228
  ### Props
5066
5229
 
5067
- | Prop | Type | Default | Description |
5068
- | ------------ | ------------------------------------ | ------- | --------------------------------------------------- |
5069
- | `unlocked` | `boolean` | `false` | Revealed: show the content. Off: locked stubs. |
5070
- | `details` | `DsProfileField[]` | `[]` | `{ id, label, value, href? }`; empty value dropped. |
5071
- | `about` | `string` | `''` | The bio; its line breaks are kept. |
5072
- | `experience` | `DsProfileTimelineItem[]` | `[]` | `{ id, title, subtitle?, dates?, logo? }`. |
5073
- | `education` | `DsProfileTimelineItem[]` | `[]` | Same shape. |
5074
- | `copy` | `Partial<DsProfileRichSectionsCopy>` | — | Overrides only the keys it names. |
5230
+ | Prop | Type | Default | Description |
5231
+ | ----------------- | ------------------------------------ | -------- | -------------------------------------------------------------------- |
5232
+ | `unlocked` | `boolean` | `false` | Revealed: show the content. Off: locked stubs. |
5233
+ | `details` | `DsProfileField[]` | `[]` | `{ id, label, value, href? }`; empty value dropped. |
5234
+ | `about` | `string` | `''` | The bio; its line breaks are kept. |
5235
+ | `experience` | `DsProfileTimelineItem[]` | `[]` | `{ id, title, subtitle?, dates?, logo? }`. |
5236
+ | `education` | `DsProfileTimelineItem[]` | `[]` | Same shape. |
5237
+ | `copy` | `Partial<DsProfileRichSectionsCopy>` | — | Overrides only the keys it names. |
5238
+ | `showAllLocked` | `boolean` | `false` | Locked: About, Experience and Education even empty. |
5239
+ | `experienceCount` | `number \| null` | `null` | Locked: the page's count; null → `experience.length`, 0 → no number. |
5240
+ | `educationCount` | `number \| null` | `null` | Locked: the page's count; null → `education.length`, 0 → no number. |
5241
+ | `hintPlacement` | `DsTooltipPlacement` | `'left'` | Locked: side each stub's hint opens on; a narrow panel: `bottom`. |
5242
+ | `teleported` | `boolean` | `false` | Locked: the stubs' hints in the app's teleport target. |
5243
+
5244
+ A locked count of `0` or `null` (and no entries) draws the plain title («Experience»), never
5245
+ «Experience · 0».
5075
5246
 
5076
5247
  ### Copy
5077
5248
 
@@ -5088,6 +5259,39 @@ hint on focus.
5088
5259
 
5089
5260
  ---
5090
5261
 
5262
+ <!-- DsProfileSkeleton · Profile -->
5263
+
5264
+ ## DsProfileSkeleton
5265
+
5266
+ The full profile while the panel reads SalesQL, in place of a spinner. Grey `DsSkeleton` blocks
5267
+ inside a `DsFullProfile`, laid out like the real pieces so nothing jumps when the profile lands:
5268
+
5269
+ - **Hero** — the 64px photo (card radius), name, headline and the LinkedIn badge.
5270
+ - **Actions** — `actionRows` bars of DsButton large height (36px): 1 for phase 0, 2 for phase 1.
5271
+ - **Contact data** — the card header and the three profile bands («Work email», «Direct email»,
5272
+ «Mobile»), each over a `DsContactPlaceholder` skeleton row.
5273
+ - **Company** — the header, the logo and name, and four data rows.
5274
+
5275
+ It is one `DsSkeletonGroup`: announced once, as a status with `label`; every block is decorative.
5276
+
5277
+ Ported from the extension's hand-made `ProfileSkeleton` (SALESQL-4681), now on DS tokens only.
5278
+
5279
+ ### Props
5280
+
5281
+ | Prop | Type | Default | Description |
5282
+ | ------------ | -------- | ------- | --------------------------------------------------------------------------- |
5283
+ | `label` | `string` | `''` | What is loading, for screen readers. |
5284
+ | `actionRows` | `1 \| 2` | `1` | Bars under the hero: 1 (phase 0) or 2 (phase 1). Any other value renders 1. |
5285
+
5286
+ ### Design parity
5287
+
5288
+ Paddings and gaps are the DS steps nearest to the real pieces (the hero's 3px text gap is
5289
+ `spacing(1)`, the company rows' 7px is `spacing(1)`): a skeleton line is centred, not a text
5290
+ line box, so a pixel either way does not show. The band is a small control's height (24px),
5291
+ exactly the banded card's compact DsProfileGroupBar, so nothing jumps when the card lands.
5292
+
5293
+ ---
5294
+
5091
5295
  <!-- DsProfileTimelineRow · Profile -->
5092
5296
 
5093
5297
  ## DsProfileTimelineRow
package/llms.txt CHANGED
@@ -51,6 +51,7 @@
51
51
  - DsCreditsNotice (Extension panel): A short `role="status"` notice inside the credits popover.
52
52
  - DsCreditsPopover (Extension panel): The credits chip of the side panel header and the popover it opens. Goes in `DsPanelHeader`'s
53
53
  - DsCreditsSummary (Extension panel): The credits block shared by `DsAccountMenu` (row) and `DsCreditsPopover` (`prominent`).
54
+ - DsListSkeleton (Extension panel): The panel's contact list while it reads SalesQL. A selection bar (checkbox and «Select all»),
54
55
  - DsPanelFrame (Extension panel): The floating card that holds the extension's panel: a white column with a hairline border, a
55
56
  - DsPanelHeader (Extension panel): The top bar of the extension's **side panel**: the SalesQL imagotype on the left and, on the
56
57
  - DsPanelLauncher (Extension panel): The minimized panel: a round white button with the SalesQL isotype that brings the panel back.
@@ -84,6 +85,7 @@
84
85
  - DsProfileKvRow (Profile): One label / value row of the full-profile drawer — the design export's `ProfileKvRow`
85
86
  - DsProfileLockedCard (Profile): The "locked" stub shown instead of Metadata / About / Experience / Education before a
86
87
  - DsProfileRichSections (Profile): The sections of a full profile that come from the person's own record: **Details**
88
+ - DsProfileSkeleton (Profile): The full profile while the panel reads SalesQL, in place of a spinner. Grey `DsSkeleton` blocks
87
89
  - DsProfileTimelineRow (Profile): One entry of an Experience / Education list — the design export's `ProfileTimelineRow`
88
90
  - DsUpgradeNotice (Profile): The box that tells the user what their plan does not allow and links to the upgrade: «To
89
91
  - DsColumnList (Toolbar): The body of a table's «Columns» popover: one checkbox row per column in **table order, hidden ones
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesql/sql_components_vue3",
3
- "version": "3.35.0",
3
+ "version": "3.37.0",
4
4
  "description": "Librería de componentes Vue 3 (SalesQL)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",