@salesql/sql_components_vue3 3.33.0 → 3.34.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/llms-full.txt CHANGED
@@ -1,4 +1,4 @@
1
- # @salesql/sql_components_vue3 — SalesQL Design System (v3.33.0)
1
+ # @salesql/sql_components_vue3 — SalesQL Design System (v3.34.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 (89)
51
+ ## Components (90)
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
@@ -119,6 +119,7 @@ Browsers ignore `@font-face` declared inside a shadow root: register the fonts o
119
119
  - **DsMenuItem** (Navigation) — Sidebar navigation row: an icon with an optional label, usable full-width or collapsed to
120
120
  - **DsSidePanel** (Navigation) — A left side panel with three looks: **pinned** (a column of `width`, 248px), a **rail** (`railWidth`,
121
121
  - **DsWizardStepper** (Navigation) — Numbered multi-step flow: a row of step chips (completed / active / incomplete / neutral)
122
+ - **DsConfirmDialog** (Overlays) — A question before an action, on top of `DsModal`: a title, a text, an optional notice and two
122
123
  - **DsDrawer** (Overlays) — Side panel over a backdrop. Built **native** — no `element-plus` — so the Vue 2 twin
123
124
  - **DsOrganizerDialog** (Overlays) — The create / edit **dialog of an organizer**: a `DsModal` (440px) with a name field, a colour
124
125
  - **DsPopover** (Overlays) — Click-triggered card panel anchored to a trigger. Built **native** — no `element-plus`,
@@ -1309,7 +1310,15 @@ supplies the palette.
1309
1310
 
1310
1311
  The component never persists anything and never guesses that a save worked: it emits intent
1311
1312
  (`create-option`, `update-option`, `delete`), and the app saves, then calls the exposed
1312
- `closeForm()` (or sets `formError`). While it saves, `formLoading` blocks the submit.
1313
+ `closeForm(created?, session?)` (or sets `formError`). While it saves, `formLoading` blocks the
1314
+ submit. With `selectOnCreate` and the folder it just created, `closeForm(created)` emits `pick`
1315
+ with it and closes the panel («Create & select»); `closeForm()`, or `closeForm(created)` without
1316
+ `selectOnCreate`, only goes back to the list. It picks only on the save of the form still open:
1317
+ if the user closed the panel (Esc, outside click), went back or opened another form during the
1318
+ save, it returns `'not-taken'`, leaves the open form alone and the app selects the new folder
1319
+ itself. If a newer submit or pick came after that save, it returns `'stale'`: the app lists the
1320
+ folder but does not select it, so an older save never overwrites a newer choice. To tie each
1321
+ answer to its form, read `submitSession()` in the `create-option` handler and pass it back.
1313
1322
 
1314
1323
  ### Rules
1315
1324
 
@@ -1320,6 +1329,12 @@ The component never persists anything and never guesses that a save worked: it e
1320
1329
  - **`colors` gates nothing:** without `create` or `rowActions` it changes nothing visible.
1321
1330
  - **Footer slot:** it always renders when passed (in every `create` mode) and replaces the
1322
1331
  default button; it receives `openCreateForm(name?)` to open the form from the app's own control.
1332
+ - **Plan limit:** keep `create` at `'none'` and pass the `footer` slot with a `DsUpgradeNotice`
1333
+ (see «Folder limit (Free)»): the folders stay pickable and nothing offers to create.
1334
+ - **Re-pick:** the checked radio fires no `change`, so by default clicking the current folder
1335
+ emits nothing. With `repick` that click (or Space / Enter on it) emits `pick` with it and
1336
+ closes, for a picker whose checked option is a destination (the extension's bulk «Saved ▾»
1337
+ moves a selection into it).
1323
1338
  - **Copy:** `copy` is partial; the keys it carries override the English defaults
1324
1339
  (`DS_SAVED_BUTTON_COPY`), the rest stays.
1325
1340
 
@@ -1343,6 +1358,8 @@ The component never persists anything and never guesses that a save worked: it e
1343
1358
  | `colors` | `string[]` | `[]` | Swatches (hex) of the form. Only the palette; required by the `'form'` modes. |
1344
1359
  | `defaultColor` | `string` | `''` | Swatch the create form (and Edit of a folder without colour) starts at. Empty = the first of `colors`. |
1345
1360
  | `formLoading` | `boolean` | `false` | The app is saving: the form's submit shows the spinner and is blocked. |
1361
+ | `selectOnCreate` | `boolean` | `false` | `closeForm(created)` also picks the new folder (`pick`) and closes. Off = it only goes back to the list. |
1362
+ | `repick` | `boolean` | `false` | Clicking the checked folder (mouse, Space or Enter) also emits `pick` with it and closes. Off = the checked folder emits nothing. |
1346
1363
  | `formError` | `string` | `''` | A failed save, shown under the name field. Clear it on `form-close`: an error left over from a dismissed form is not shown when it reopens. |
1347
1364
  | `copy` | `Partial<DsSavedButtonCopy>` | `{}` | Every string, merged over `DS_SAVED_BUTTON_COPY`. See below. |
1348
1365
 
@@ -1352,7 +1369,7 @@ The component never persists anything and never guesses that a save worked: it e
1352
1369
  `deleteConfirm` (`'Are you sure?'`) and `deleteConfirmAction` (`'Yes, delete'`), the row after the
1353
1370
  first click on Delete,
1354
1371
  `createFormTitle` (`'New Folder'`), `editFormTitle` (`'Edit Folder'`), `createSubmit`
1355
- (`'Create & Select'`), `editSubmit` (`'Save'`), `namePlaceholder` (`'Folder name'`), `setColor`
1372
+ (`'Create & select'`), `editSubmit` (`'Save'`), `namePlaceholder` (`'Folder name'`), `setColor`
1356
1373
  (`'Set Color'`), `back` (`'Back'`), `errorMissingName` / `errorTooLongName` (the form's own
1357
1374
  defaults when unset).
1358
1375
 
@@ -1377,12 +1394,12 @@ or a `footer` slot) with `colors` = `'form'`, without = `'event'`, no footer = `
1377
1394
 
1378
1395
  | Event | Payload | When |
1379
1396
  | ------------------ | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1380
- | `pick` | `DsPickerOption` | A folder was chosen. The panel closes. PATCH `folder_ids` here. |
1397
+ | `pick` | `DsPickerOption` | A folder was chosen, or created and handed back with `closeForm(created)`. The panel closes. PATCH `folder_ids` here. With `repick`, also the checked folder. |
1381
1398
  | `create` | `string` | The footer was clicked with `create="event"`; payload is the search text typed so far. The panel closes. |
1382
1399
  | `edit` | `DsPickerOption` | Edit chosen in a row's ⋮ menu (with `rowActions="form"` the form opens too). |
1383
1400
  | `delete` | `DsPickerOption` | Delete confirmed in a row's ⋮ («Are you sure? · Yes, delete»). Set `deleting: true` on that folder in the handler: the ⋮ and the panel stay open with the row in loading until the app removes the folder (success) or clears `deleting` (error, the row is back to Delete). Without `deleting` the ⋮ closes. |
1384
- | `create-option` | `{ name, color }` | The create form was submitted (name trimmed). The form stays open until `closeForm()`. |
1385
- | `update-option` | `{ id, name, color }` | The edit form was submitted. Same: stays open until `closeForm()`. |
1401
+ | `create-option` | `{ name, color }` | The create form was submitted (name trimmed). The form stays open until `closeForm()`. Read `submitSession()` here for `closeForm(created, session)`. |
1402
+ | `update-option` | `{ id, name, color }` | The edit form was submitted. Same: stays open until `closeForm()`, and `submitSession()` too. |
1386
1403
  | `form-close` | — | The form was dismissed (back, `closeForm()` or the panel closing). Clear `formError` here. |
1387
1404
  | `row-actions-open` | `DsPickerOption` | A row's ⋮ menu opened. Update that option's `deleteDisabled` if Delete should be blocked (`{ hint, tooltip? }`: the item stays focusable, `aria-disabled`, with the hint after its label). |
1388
1405
  | `search` | `string` | The search text changed (filtering is local). |
@@ -1390,9 +1407,10 @@ or a `footer` slot) with `colors` = `'form'`, without = `'event'`, no footer = `
1390
1407
 
1391
1408
  ### Exposed
1392
1409
 
1393
- | Member | Description |
1394
- | ------------- | ------------------------------------------------------------------------------------------------------------- |
1395
- | `closeForm()` | Returns the panel to the list. Call it once the save succeeded. Closing the panel also resets it to the list. |
1410
+ | Member | Description |
1411
+ | ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1412
+ | `closeForm(created?, session?)` | Call it once the save succeeded. With `selectOnCreate` and the folder just created (create form open): emits `pick` with it, closes and returns `'taken'`. Without the argument or `selectOnCreate`, or after an edit, it returns to the list and `'not-taken'`. Once the panel closed, the form was left or another form opened, it leaves that form alone and returns `'not-taken'`: the app selects the folder itself. When a newer submit or pick superseded that save it returns `'stale'`: the app lists the folder but does not select it. `session` (from `submitSession()`) ties each answer to the form that sent it, also when two saves overlap. Closing the panel also resets it. |
1413
+ | `submitSession()` | The session of the last submit (`undefined` before any). Read it in the `create-option` / `update-option` handler and pass it to `closeForm`. |
1396
1414
 
1397
1415
  ### Slots
1398
1416
 
@@ -1478,7 +1496,15 @@ The component never persists anything and never guesses that a save worked: it e
1478
1496
  `closeForm()` (or sets `formError`). While it saves, `formLoading` blocks the submit. Going to the
1479
1497
  form and back keeps the search and the working-copy selection. A tag the app just created is
1480
1498
  checked only if the app says so: `closeForm(created)` adds it to the working copy, and Apply keeps
1481
- it even when `options` does not carry it yet.
1499
+ it even when `options` does not carry it yet. With `selection="single"` and `selectOnCreate`,
1500
+ `closeForm(created)` picks it instead: `apply [created]` and the panel closes, so the form's
1501
+ submit reads `copy.createSelectSubmit` («Create & select»; an app that only translated
1502
+ `createSubmit` keeps that text). Without `selectOnCreate`, single selection just goes back to the
1503
+ list. Either way it acts only on the save of the form still open: if the user closed the panel,
1504
+ went back or opened another form during the save, it returns `'not-taken'`, leaves the open form
1505
+ alone and the app applies the new tag itself. If a newer submit or selection came after that save,
1506
+ it returns `'stale'`: the app lists the tag but does not apply it. To tie each answer to its form,
1507
+ read `submitSession()` in the `create-option` handler and pass it back to `closeForm`.
1482
1508
 
1483
1509
  A row's Delete can be blocked with its reason: set `deleteDisabled: { hint, tooltip? }` on the
1484
1510
  option. The item stays focusable (`aria-disabled`), shows the `hint` after its label and the
@@ -1499,24 +1525,25 @@ what Delete needs and update the option while the menu is open.
1499
1525
 
1500
1526
  ### Props
1501
1527
 
1502
- | Prop | Type | Default | Description |
1503
- | -------------- | ----------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1504
- | `label` | `string` | — | Trigger label while untagged ("Tag") (required). |
1505
- | `tags` | `DsPickerOption[]` | `[]` | The tags applied to the contact. |
1506
- | `options` | `DsPickerOption[]` | — | Every tag the user can pick (required). |
1507
- | `size` | `'medium' \| 'large'` | `'medium'` | |
1508
- | `pill` | `boolean` | `false` | Fully round trigger (`DsButton pill`) for the bulk bar beside `DsItemSelectorButton` («Tag»). Off = the design's row / profile trigger. |
1509
- | `align` | `'start' \| 'end'` | `'start'` | Which trigger edge the 240px panel hangs from. |
1510
- | `disabled` | `boolean` | `false` | |
1511
- | `selection` | `'multiple' \| 'single'` | `'multiple'` | `single`: at most one tag (the extension's header). Radio rows; picking applies at once and closes (so does the `create="event"` row); «Remove tag» (`copy.removeTag`) applies `[]`. No Apply. A pick emits `[option]` alone: other applied tags are not kept. `DS_TAG_PICKER_SELECTIONS`. |
1512
- | `teleported` | `boolean` | `false` | Render the picker panel in `<body>` (or the app's `DS_TELEPORT_TARGET`), so a scroll container doesn't clip it. |
1513
- | `create` | `'none' \| 'event' \| 'form'` | `'none'` | What the create affordance does. `DS_PICKER_CREATE_MODES`. |
1514
- | `rowActions` | `'none' \| 'event' \| 'form'` | `'none'` | The ⋮ menu on each row. `DS_PICKER_ROW_ACTIONS`. |
1515
- | `colors` | `string[]` | `[]` | Swatches (hex) of the form. Only the palette; required by the `'form'` modes. |
1516
- | `defaultColor` | `string` | `''` | Swatch the create form (and Edit of a tag without colour) starts at. Empty = the first of `colors`. |
1517
- | `formLoading` | `boolean` | `false` | The app is saving: the form's submit shows the spinner and is blocked. |
1518
- | `formError` | `string` | `''` | A failed save, shown under the name field. Clear it on `form-close`: an error left over from a dismissed form is not shown on reopen. |
1519
- | `copy` | `Partial<DsTagPickerCopy>` | `{}` | Every string, merged over `DS_TAG_PICKER_COPY`. See below. |
1528
+ | Prop | Type | Default | Description |
1529
+ | ---------------- | ----------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1530
+ | `label` | `string` | — | Trigger label while untagged ("Tag") (required). |
1531
+ | `tags` | `DsPickerOption[]` | `[]` | The tags applied to the contact. |
1532
+ | `options` | `DsPickerOption[]` | — | Every tag the user can pick (required). |
1533
+ | `size` | `'medium' \| 'large'` | `'medium'` | |
1534
+ | `pill` | `boolean` | `false` | Fully round trigger (`DsButton pill`) for the bulk bar beside `DsItemSelectorButton` («Tag»). Off = the design's row / profile trigger. |
1535
+ | `align` | `'start' \| 'end'` | `'start'` | Which trigger edge the 240px panel hangs from. |
1536
+ | `disabled` | `boolean` | `false` | |
1537
+ | `selection` | `'multiple' \| 'single'` | `'multiple'` | `single`: at most one tag (the extension's header). Radio rows; picking applies at once and closes (so does the `create="event"` row); «Remove tag» (`copy.removeTag`) applies `[]`. No Apply. A pick emits `[option]` alone: other applied tags are not kept. `DS_TAG_PICKER_SELECTIONS`. |
1538
+ | `teleported` | `boolean` | `false` | Render the picker panel in `<body>` (or the app's `DS_TELEPORT_TARGET`), so a scroll container doesn't clip it. |
1539
+ | `create` | `'none' \| 'event' \| 'form'` | `'none'` | What the create affordance does. `DS_PICKER_CREATE_MODES`. |
1540
+ | `rowActions` | `'none' \| 'event' \| 'form'` | `'none'` | The ⋮ menu on each row. `DS_PICKER_ROW_ACTIONS`. |
1541
+ | `colors` | `string[]` | `[]` | Swatches (hex) of the form. Only the palette; required by the `'form'` modes. |
1542
+ | `defaultColor` | `string` | `''` | Swatch the create form (and Edit of a tag without colour) starts at. Empty = the first of `colors`. |
1543
+ | `formLoading` | `boolean` | `false` | The app is saving: the form's submit shows the spinner and is blocked. |
1544
+ | `selectOnCreate` | `boolean` | `false` | With `selection="single"`: `closeForm(created)` applies the new tag and closes («Create & select», `copy.createSelectSubmit`). Off = it only goes back to the list. |
1545
+ | `formError` | `string` | `''` | A failed save, shown under the name field. Clear it on `form-close`: an error left over from a dismissed form is not shown on reopen. |
1546
+ | `copy` | `Partial<DsTagPickerCopy>` | `{}` | Every string, merged over `DS_TAG_PICKER_COPY`. See below. |
1520
1547
 
1521
1548
  `DsTagPickerCopy` keys (English defaults): `taggedAs` (`'Tagged as'`), `apply` (`'Apply'`),
1522
1549
  `searchPlaceholder` (`'Search tags'`), `empty` (`'No tags found'`, empty string = nothing), `more`
@@ -1526,7 +1553,8 @@ what Delete needs and update the option while the menu is open.
1526
1553
  first click on Delete,
1527
1554
  `createFormTitle` (`'New Tag'`), `editFormTitle` (`'Edit Tag'`), `createSubmit` (`'Create'`),
1528
1555
  `editSubmit` (`'Save'`), `namePlaceholder` (`'Tag name'`), `setColor` (`'Set Color'`), `back`
1529
- (`'Back'`), `removeTag` (`'Remove tag'`, only with `selection="single"`), `errorMissingName` /
1556
+ (`'Back'`), `removeTag` (`'Remove tag'`, only with `selection="single"`), `createSelectSubmit`
1557
+ (`'Create & select'`, the create submit with `selection="single"` and `selectOnCreate`; falls back to an explicit `createSubmit`), `errorMissingName` /
1530
1558
  `errorTooLongName` (the form's own defaults when unset).
1531
1559
 
1532
1560
  Map frontend-app's `Tag` with `{ id: t.id, name: t.name, color: t.color }` — the API takes
@@ -1556,8 +1584,8 @@ always wins over its alias. When `create` is not set it is inferred as before: `
1556
1584
  | `create` | `string` | The create row was clicked with `create="event"`; payload is the typed text. |
1557
1585
  | `edit` | `DsPickerOption` | Edit chosen in a row's ⋮ menu (with `rowActions="form"` the form opens too). |
1558
1586
  | `delete` | `DsPickerOption` | Delete confirmed in a row's ⋮ («Are you sure? · Yes, delete»). Set `deleting: true` on that tag in the handler: the ⋮ and the panel stay open with the row in loading until the app removes the tag (success) or clears `deleting` (error, the row is back to Delete). Without `deleting` the ⋮ closes. |
1559
- | `create-option` | `{ name, color }` | The create form was submitted (name trimmed). The form stays open until `closeForm()`. |
1560
- | `update-option` | `{ id, name, color }` | The edit form was submitted. Same: stays open until `closeForm()`. |
1587
+ | `create-option` | `{ name, color }` | The create form was submitted (name trimmed). The form stays open until `closeForm()`. Read `submitSession()` here for `closeForm(created, session)`. |
1588
+ | `update-option` | `{ id, name, color }` | The edit form was submitted. Same: stays open until `closeForm()`, and `submitSession()` too. |
1561
1589
  | `form-close` | — | The form was dismissed (back, `closeForm()` or the panel closing). Clear `formError` here. |
1562
1590
  | `row-actions-open` | `DsPickerOption` | A row's ⋮ menu opened. Update that option's `deleteDisabled` if Delete should be blocked. |
1563
1591
  | `search` | `string` | The search text changed (filtering is local). |
@@ -1565,9 +1593,10 @@ always wins over its alias. When `create` is not set it is inferred as before: `
1565
1593
 
1566
1594
  ### Exposed
1567
1595
 
1568
- | Member | Description |
1569
- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1570
- | `closeForm(created?)` | Returns the panel to the list. Call it once the save succeeded. With the tag just created (create form, `selection="multiple"`) that tag enters the selection checked. Closing the panel also resets it to the list. |
1596
+ | Member | Description |
1597
+ | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1598
+ | `closeForm(created?, session?)` | Returns the panel to the list. Call it once the save succeeded. With the tag just created (create form): `selection="multiple"` checks it in the selection and stays open; `selection="single"` with `selectOnCreate` emits `apply [created]` and closes. Returns `'taken'` when it took the tag; `'not-taken'` otherwise (single without `selectOnCreate`, or the panel closed, the form was left or another form opened meanwhile: that form is left alone and the app applies the tag itself); `'stale'` when a newer submit or selection superseded that save (the app lists the tag but does not apply it). `session` (from `submitSession()`) ties each answer to the form that sent it, also when two saves overlap. Closing the panel also resets it to the list. |
1599
+ | `submitSession()` | The session of the last submit (`undefined` before any). Read it in the `create-option` / `update-option` handler and pass it to `closeForm`. |
1571
1600
 
1572
1601
  ### Slots
1573
1602
 
@@ -2635,20 +2664,21 @@ no dead buttons.
2635
2664
 
2636
2665
  ### Props
2637
2666
 
2638
- | Prop | Type | Default | Description |
2639
- | ---------------------- | -------------------------------- | ----------- | ---------------------------------------------------------------------------------------------- |
2640
- | `open` | `boolean` | `undefined` | `v-model:open`. Omitted = the menu manages itself. Bind it to keep one popover open at a time. |
2641
- | `user` | `DsAccountMenuUser` | — | `{ name, email, initials?, plan? }`. No `initials` = first letters of the name. |
2642
- | `credits` | `DsAccountMenuCredits \| null` | `null` | `{ used?, total?, available?, resetsOn? }`. See below. `null` = no block. |
2643
- | `mailboxes` | `DsAccountMenuMailbox[] \| null` | `null` | `null` = no campaigns access (no block). `[]` = «Connect a mailbox». See below. |
2644
- | `getStarted` | `{ done, total } \| null` | `null` | «Get started · n of total», while the onboarding checklist is hidden. |
2645
- | `showBulkSave` | `boolean` | `false` | «Bulk save from LinkedIn URLs». |
2646
- | `showLinkedinAccounts` | `boolean` | `false` | «LinkedIn accounts» (opens in a new tab: trailing `open_in_new`). |
2647
- | `language` | `string` | `''` | Current language's name; non-empty shows the Language row with it on the right. |
2648
- | `showHelp` | `boolean` | `false` | «Help & support». |
2649
- | `showWhatsNew` | `boolean` | `false` | «What's new». |
2650
- | `whatsNewUnread` | `number` | `0` | Above 0, an unread dot (accessible name from `copy.whatsNewUnread`). |
2651
- | `copy` | `Partial<DsAccountMenuCopy>` | English | Every string; a partial overrides only its keys (`DS_ACCOUNT_MENU_COPY`). |
2667
+ | Prop | Type | Default | Description |
2668
+ | ---------------------- | ---------------------------------- | ----------- | ---------------------------------------------------------------------------------------------- |
2669
+ | `open` | `boolean` | `undefined` | `v-model:open`. Omitted = the menu manages itself. Bind it to keep one popover open at a time. |
2670
+ | `user` | `DsAccountMenuUser` | — | `{ name, email, initials?, plan? }`. No `initials` = first letters of the name. |
2671
+ | `credits` | `DsAccountMenuCredits \| null` | `null` | `{ used?, total?, available?, resetsOn? }`. See below. `null` = no block. |
2672
+ | `mailboxes` | `DsAccountMenuMailbox[] \| null` | `null` | `null` = no campaigns access (no block). `[]` = «Connect a mailbox». See below. |
2673
+ | `mailboxesState` | `'ready' \| 'error' \| 'retrying'` | `'ready'` | The mailboxes read failed (`error`) or is being retried (`retrying`). See below. |
2674
+ | `getStarted` | `{ done, total } \| null` | `null` | «Get started · n of total», while the onboarding checklist is hidden. |
2675
+ | `showBulkSave` | `boolean` | `false` | «Bulk save from LinkedIn URLs». |
2676
+ | `showLinkedinAccounts` | `boolean` | `false` | «LinkedIn accounts» (opens in a new tab: trailing `open_in_new`). |
2677
+ | `language` | `string` | `''` | Current language's name; non-empty shows the Language row with it on the right. |
2678
+ | `showHelp` | `boolean` | `false` | «Help & support». |
2679
+ | `showWhatsNew` | `boolean` | `false` | «What's new». |
2680
+ | `whatsNewUnread` | `number` | `0` | Above 0, an unread dot (accessible name from `copy.whatsNewUnread`). |
2681
+ | `copy` | `Partial<DsAccountMenuCopy>` | English | Every string; a partial overrides only its keys (`DS_ACCOUNT_MENU_COPY`). |
2652
2682
 
2653
2683
  #### Credits
2654
2684
 
@@ -2669,11 +2699,25 @@ reads «Mailboxes · N connected», N = mailboxes without `needsReconnect`; with
2669
2699
  «Mailboxes». The provider logo is the brand mark only, no name; a provider without a logo falls
2670
2700
  back to the `mail` icon. No per-mailbox Disconnect.
2671
2701
 
2702
+ #### Mailboxes that failed to load
2703
+
2704
+ `mailboxesState` (`DS_ACCOUNT_MENU_MAILBOXES_STATES`) is `ready` by default. With `error` or
2705
+ `retrying` the group shows even when `mailboxes` is `null`, and ignores `mailboxes`: the title is
2706
+ only «Mailboxes» (no count), one row says «We couldn’t load your mailboxes» (`copy.mailboxesError`)
2707
+ with an amber «Retry» pill (`copy.retry`, `sync` icon, styled like «Reconnect» but with `amber-deep` text for AA), and
2708
+ there is no Connect row, since nothing says whether a mailbox exists. «Retry» emits `retry-mailboxes` and,
2709
+ unlike every other row, keeps the menu open so the user sees the outcome in place. While
2710
+ `retrying` the pill's icon spins (not with reduced motion), it is `aria-busy` and
2711
+ `aria-disabled`, and a click does nothing. Back to `ready`, the list replaces the row. Only
2712
+ `error` and `retrying` show the row: `null` silently behaves like `ready` (Vue skips the validator
2713
+ for `null`), and any other non-null value behaves like `ready` and warns in dev.
2714
+
2672
2715
  ### Events
2673
2716
 
2674
- `update:open` (boolean) · `connect` · `reconnect` (the mailbox) · `get-started` · `bulk-save` ·
2675
- `linkedin-accounts` · `language` · `help` · `whats-new` · `logout`. All but `update:open` and
2676
- `reconnect` carry no payload.
2717
+ `update:open` (boolean) · `connect` · `reconnect` (the mailbox) · `retry-mailboxes` ·
2718
+ `get-started` · `bulk-save` · `linkedin-accounts` · `language` · `help` · `whats-new` · `logout`.
2719
+ All but `update:open` and `reconnect` carry no payload. Every row action closes the menu except
2720
+ `retry-mailboxes`.
2677
2721
 
2678
2722
  ### Behaviour
2679
2723
 
@@ -2697,6 +2741,12 @@ back to the `mail` icon. No per-mailbox Disconnect.
2697
2741
  - Mailboxes are a `group` named «Mailboxes · N connected». A connected mailbox is an
2698
2742
  `aria-disabled` `menuitem` named «{email}, connected» (`copy.mailboxConnectedLabel`), so arrows
2699
2743
  and screen readers reach it; on a disconnected one the `menuitem` is «Reconnect {email}».
2744
+ - After a failed read, «Retry» is a `menuitem` named by its visible text (`copy.retry`, WCAG 2.5.3
2745
+ label in name) and described by the error message (`aria-describedby`). While retrying it keeps focus and
2746
+ stays in the arrow order (`aria-disabled`, not `disabled`); when the list replaces it, focus
2747
+ moves to the row now in its place. A retry that fails again (`retrying` → `error`) is announced
2748
+ by a visually hidden `role="status"` region outside the menu: «Still couldn’t load your
2749
+ mailboxes» (`copy.mailboxesRetryFailed`).
2700
2750
 
2701
2751
  ### Design parity (canvas «Header-menu-uso» L402-494, «Onboarding» L581-612)
2702
2752
 
@@ -2734,6 +2784,13 @@ The «Add to:» bar of the extension's LinkedIn panel (export `AddToRow`), in `D
2734
2784
  - **Default slot:** the selectors. The panel composes `DsSavedButton` and `DsTagPicker`
2735
2785
  (`selection="single"`), each with a `DsItemSelectorButton` trigger, as above.
2736
2786
  - **Where saves go is the app's:** the bar emits nothing and keeps no state.
2787
+ - **With create:** each picker takes `create="form"`, `colors` and `selectOnCreate`. In the
2788
+ `create-option` handler the app reads the picker's `submitSession()`; once it saved the new
2789
+ folder or tag it adds it to its list and calls `closeForm(created, session)`, which selects it
2790
+ and closes the menu («Create & select», `'taken'`). `'not-taken'`: the menu was closed or the
2791
+ form left during the save, so the app selects it itself. `'stale'`: a newer save or pick came
2792
+ after it, so the app leaves the selection alone. On a Free plan at its folder limit, see
2793
+ `DsSavedButton` «Folder limit (Free)».
2737
2794
  - **Spacing:** 12px vertical (DS); 20px horizontal, the panel header's inset (export chrome, no
2738
2795
  DS token), so the label lines up with the logo.
2739
2796
 
@@ -3316,19 +3373,22 @@ on `close`.
3316
3373
 
3317
3374
  ### Props
3318
3375
 
3319
- | Prop | Type | Default | Description |
3320
- | ----------------- | --------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
3321
- | `open` | `boolean` | `false` | Controls dialog visibility. |
3322
- | `title` | `string` | `''` | Optional heading text; shows the header row (with `showClose`). |
3323
- | `showClose` | `boolean` | `true` | Show the icon-only × close button in the header. |
3324
- | `width` | `string` | `'440px'` | Dialog width (any CSS length). |
3325
- | `height` | `string` | `''` | Explicit dialog height (any CSS length). Empty = content height. |
3326
- | `top` | `string` | `''` | Opt-in top offset (any CSS length, portal mode). Empty = vertically centered; set (e.g. `'15vh'`) = anchored at that offset. |
3327
- | `center` | `boolean` | `false` | Center-align the body **text** only. It does not affect the vertical placement (that is the default; use `top` to anchor). |
3328
- | `fixed` | `boolean` | `true` | `true` portals to `body` with a backdrop, focus trap, scroll lock and Escape-to-close. `false` renders in-flow with none of that, for specimen/embedded use. |
3329
- | `closeOnBackdrop` | `boolean` | `true` | Clicking the backdrop emits `close` (portal mode only). |
3330
- | `closeOnEscape` | `boolean` | `true` | Pressing Escape emits `close` (portal mode only). |
3331
- | `closeLabel` | `string` | `'Close'` | `aria-label` for the icon-only close button. |
3376
+ | Prop | Type | Default | Description |
3377
+ | ----------------- | --------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
3378
+ | `open` | `boolean` | `false` | Controls dialog visibility. |
3379
+ | `title` | `string` | `''` | Optional heading text; shows the header row (with `showClose`). |
3380
+ | `showClose` | `boolean` | `true` | Show the icon-only × close button in the header. |
3381
+ | `width` | `string` | `'440px'` | Dialog width (any CSS length). |
3382
+ | `height` | `string` | `''` | Explicit dialog height (any CSS length). Empty = content height. |
3383
+ | `top` | `string` | `''` | Opt-in top offset (any CSS length, portal mode). Empty = vertically centered; set (e.g. `'15vh'`) = anchored at that offset. |
3384
+ | `center` | `boolean` | `false` | Center-align the body **text** only. It does not affect the vertical placement (that is the default; use `top` to anchor). |
3385
+ | `fixed` | `boolean` | `true` | `true` portals to `body` with a backdrop, focus trap, scroll lock and Escape-to-close. `false` renders in-flow with none of that, for specimen/embedded use. |
3386
+ | `closeOnBackdrop` | `boolean` | `true` | Clicking the backdrop emits `close` (portal mode only). |
3387
+ | `closeOnEscape` | `boolean` | `true` | Pressing Escape emits `close` (portal mode only). |
3388
+ | `closeLabel` | `string` | `'Close'` | `aria-label` for the icon-only close button. |
3389
+ | `busy` | `boolean` | `false` | Work in flight: the × is disabled and the dialog is `aria-busy` (the app keeps it open). |
3390
+ | `describedby` | `string` | `''` | Id of the element that describes the dialog (`aria-describedby`). Empty = none. |
3391
+ | `role` | `'dialog' \| 'alertdialog'` | `'dialog'` | `alertdialog` for a question that interrupts the flow (`DsConfirmDialog`). |
3332
3392
 
3333
3393
  ### Slots
3334
3394
 
@@ -3350,9 +3410,13 @@ on `close`.
3350
3410
  - `role="dialog"` with `aria-modal="true"` in portal mode (`fixed`), `"false"` when in-flow.
3351
3411
  - `aria-labelledby` points at the title when set; falls back to `aria-label="dialog"` when
3352
3412
  there is no title.
3413
+ - `describedby` (an element id) becomes `aria-describedby`, so the question or message is read
3414
+ with the title. `role="alertdialog"` (prop `role`) for a question that interrupts the flow.
3353
3415
  - Focus trap (portal mode): Tab/Shift+Tab cycles within the dialog; focus moves to the
3354
3416
  first focusable element on open and restores to the previously focused element on close.
3355
3417
  - Escape closes the dialog when `closeOnEscape` is true (portal mode only).
3418
+ - Stacked modals: only the topmost one handles Escape and Tab (one Escape never closes both), and
3419
+ the page scroll stays locked until the last one closes.
3356
3420
  - Body scroll locks (`overflow: hidden`) while a fixed/open modal is mounted.
3357
3421
 
3358
3422
  ### When to use
@@ -3709,6 +3773,7 @@ only the current selection it's handed via `item`.
3709
3773
  | `ariaLabel` | `string` | `''` | Accessible name for the button. Required when the empty state has no `emptyTitle` (otherwise the button would have no name); when `item.name`/`emptyTitle` render, that visible text already names it. |
3710
3774
  | `disabled` | `boolean` | `false` | Disables the button (opacity 0.6) and blocks the click handler. |
3711
3775
  | `labelMaxWidth` | `number \| string \| null` | `null` | Max width of the label before it ellipsizes (CSS default 200px). A number is px; a string is any CSS length. |
3776
+ | `iconOnly` | `boolean` | `false` | Shows only the icon: no gap and symmetric padding (a 42px chip). The label stays visually hidden, so `item.name` (or `ariaLabel`) is still the accessible name; pair it with a tooltip with the name. |
3712
3777
 
3713
3778
  ### Events
3714
3779
 
@@ -3720,6 +3785,7 @@ only the current selection it's handed via `item`.
3720
3785
 
3721
3786
  - `aria-haspopup="listbox"` signals that activating the button opens a picker.
3722
3787
  - The label truncates with ellipsis at ~200px so long names stay legible; the full name is still the button's accessible name via the visible text node.
3788
+ - With `iconOnly` the label is visually hidden, not removed: the button keeps `item.name` (or `ariaLabel`) as its name and its focus border. Without an `icon` it has no effect, so the chip never renders blank.
3723
3789
  - Pass `ariaLabel` whenever the empty state has no `emptyTitle` — otherwise the button has no accessible name.
3724
3790
  - Native `<button>` gets Enter/Space activation for free; keyboard focus (`:focus-visible`) turns the border dark grey, with no ring.
3725
3791
 
@@ -4211,6 +4277,62 @@ the current step (`value`) and the button copy.
4211
4277
 
4212
4278
  ---
4213
4279
 
4280
+ <!-- DsConfirmDialog · Overlays -->
4281
+
4282
+ ## DsConfirmDialog
4283
+
4284
+ A question before an action, on top of `DsModal`: a title, a text, an optional notice and two
4285
+ actions, the safe one (secondary) and the primary one. Built for «Keep in current folder» /
4286
+ «Move to new folder» in the extension, mirroring the Prospector's `AlreadyAssignedFoldersModal`.
4287
+
4288
+ ### Rules
4289
+
4290
+ - **Controlled:** it never closes itself. The app sets `open` and closes it when it answers.
4291
+ - **Two ways to say no:** the secondary emits `cancel` with `'action'` (the user chose the safe
4292
+ option); Esc, the X and the backdrop emit `cancel` with `'dismiss'` (the user walked away).
4293
+ `DS_CONFIRM_DIALOG_CANCEL_REASONS`.
4294
+ - **Focus:** on open it lands on the safe action, never on the primary or the X.
4295
+ - **`loading`:** the primary spins, both actions are disabled and Esc, the X and the backdrop
4296
+ emit nothing until the app clears it. The focus waits on the dialog itself (not on a disabled
4297
+ action, nor on the X, which does nothing meanwhile), also when it opens already loading, and
4298
+ goes to the safe action when `loading` ends.
4299
+ - **Narrow screens:** the actions stack when they don't fit side by side, and a label longer
4300
+ than the dialog wraps inside its button (see «Narrow screen (long labels)» at 320px).
4301
+ - **Assistive tech:** `role="alertdialog"`, labelled by the title and described by the text (or
4302
+ the default slot) and the notice, so the question is read before the focused action.
4303
+ - **Copy:** every string is the app's (`closeLabel` defaults to `'Close'`, like `DsModal`).
4304
+
4305
+ ### Props
4306
+
4307
+ | Prop | Type | Default | Description |
4308
+ | -------------- | --------- | --------- | ----------------------------------------------------------- |
4309
+ | `open` | `boolean` | `false` | |
4310
+ | `title` | `string` | — | The header (required). |
4311
+ | `text` | `string` | `''` | The question. The default slot replaces it. |
4312
+ | `notice` | `string` | `''` | A secondary line under the text (stale data). Empty = none. |
4313
+ | `confirmLabel` | `string` | — | The primary action (required); emits `confirm`. |
4314
+ | `cancelLabel` | `string` | — | The safe action (required); emits `cancel` with `'action'`. |
4315
+ | `closeLabel` | `string` | `'Close'` | Accessible name of the X. |
4316
+ | `loading` | `boolean` | `false` | The app is acting on the answer: every path is blocked. |
4317
+
4318
+ ### Events
4319
+
4320
+ | Event | Payload | When |
4321
+ | --------- | ------------------------- | ---------------------------------------------------- |
4322
+ | `confirm` | — | The primary action was clicked. |
4323
+ | `cancel` | `'action'` \| `'dismiss'` | The secondary action, or Esc / the X / the backdrop. |
4324
+
4325
+ Both events are declared with validators, so listeners are typed: `onCancel` receives a
4326
+ `DsConfirmDialogCancelReason`.
4327
+
4328
+ ### Slots
4329
+
4330
+ | Slot | Use |
4331
+ | --------- | --------------------------------------------- |
4332
+ | `default` | Replaces the text paragraph (richer content). |
4333
+
4334
+ ---
4335
+
4214
4336
  <!-- DsDrawer · Overlays -->
4215
4337
 
4216
4338
  ## DsDrawer
package/llms.txt CHANGED
@@ -73,6 +73,7 @@
73
73
  - DsMenuItem (Navigation): Sidebar navigation row: an icon with an optional label, usable full-width or collapsed to
74
74
  - DsSidePanel (Navigation): A left side panel with three looks: **pinned** (a column of `width`, 248px), a **rail** (`railWidth`,
75
75
  - DsWizardStepper (Navigation): Numbered multi-step flow: a row of step chips (completed / active / incomplete / neutral)
76
+ - DsConfirmDialog (Overlays): A question before an action, on top of `DsModal`: a title, a text, an optional notice and two
76
77
  - DsDrawer (Overlays): Side panel over a backdrop. Built **native** — no `element-plus` — so the Vue 2 twin
77
78
  - DsOrganizerDialog (Overlays): The create / edit **dialog of an organizer**: a `DsModal` (440px) with a name field, a colour
78
79
  - DsPopover (Overlays): Click-triggered card panel anchored to a trigger. Built **native** — no `element-plus`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesql/sql_components_vue3",
3
- "version": "3.33.0",
3
+ "version": "3.34.0",
4
4
  "description": "Librería de componentes Vue 3 (SalesQL)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",