@salesql/sql_components_vue3 4.0.0 → 4.2.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 (v4.0.0)
1
+ # @salesql/sql_components_vue3 — SalesQL Design System (v4.2.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 (93)
51
+ ## Components (96)
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
@@ -92,15 +92,18 @@ Browsers ignore `@font-face` declared inside a shadow root: register the fonts o
92
92
  - **DsAccountMenu** (Extension panel) — The avatar at the right end of the side panel header and the account menu it opens. Goes in
93
93
  - **DsAddToBar** (Extension panel) — The «Add to:» bar of the extension's LinkedIn panel (export `AddToRow`), in `DsPanelFrame`'s
94
94
  - **DsBulkBar** (Extension panel) — The selection bar above a list: a **select-all checkbox** with its count text, a flexible
95
+ - **DsBulkNotice** (Extension panel) — The notice under the selection bar once every row on the page is selected: a text line and a
95
96
  - **DsContactRow** (Extension panel) — One row of the extension panel's search-results list: a checkbox, the contact's photo, name and
96
97
  - **DsCreditsChip** (Extension panel) — The credits button of the side panel header: `toll` + the available balance (`en-US`, never
97
98
  - **DsCreditsNotice** (Extension panel) — A short `role="status"` notice inside the credits popover.
98
99
  - **DsCreditsPopover** (Extension panel) — The credits chip of the side panel header and the popover it opens. Goes in `DsPanelHeader`'s
99
100
  - **DsCreditsSummary** (Extension panel) — The credits block shared by `DsAccountMenu` (row) and `DsCreditsPopover` (`prominent`).
101
+ - **DsListNote** (Extension panel) — A muted one-line note at the end of a list: «3 people outside your network aren't listed».
100
102
  - **DsListSkeleton** (Extension panel) — The panel's contact list while it reads SalesQL. A selection bar (checkbox and «Select all»),
101
103
  - **DsPanelFrame** (Extension panel) — The floating card that holds the extension's panel: a white column with a hairline border, a
102
104
  - **DsPanelHeader** (Extension panel) — The top bar of the extension's **side panel**: the SalesQL imagotype on the left and, on the
103
105
  - **DsPanelLauncher** (Extension panel) — The minimized panel: a round white button with the SalesQL isotype that brings the panel back.
106
+ - **DsRowStatus** (Extension panel) — The state a list row shows in its action column while a queue owns it. Presentational: the app
104
107
  - **DsAlert** (Feedback) — Inline banner for status/confirmation messages (success, info, warning, error). It
105
108
  - **DsModal** (Feedback) — Dialog with an optional header (title + close button) and footer action row, vertically
106
109
  - **DsNotification** (Feedback) — Fixed-position toast card for transient feedback (saved, updated, failed…). It renders
@@ -382,7 +385,7 @@ value is the `row` slot.
382
385
  ### API
383
386
 
384
387
  `firstName` · `lastName` · `jobTitle` · `image` · `uid` · `selectable` (the checkbox is opt-in) ·
385
- `selected` (v-model:selected) · `selectLabel` · `openLabel` · `rows: { id, label }[]`.
388
+ `selected` (v-model:selected) · `selectDisabled` (disables only the checkbox) · `selectLabel` · `openLabel` · `rows: { id, label }[]`.
386
389
  Slot `row` receives `{ row }`. Events: `open`, `update:selected` (boolean).
387
390
 
388
391
  ### Not DsContactRow
@@ -664,6 +667,10 @@ button of its own: in the list row, «Show details» / «Saved» is the row's ac
664
667
  | `maskedLabel` | `string` | `DsContactList`'s | Spoken once per masked value. |
665
668
  | `copyLabel`, `copiedLabel` | `string` | `DsContactList`'s | The copy action's accessible names. |
666
669
  | `correctLabel`, `incorrectLabel` | `string` | `DsContactList`'s | The rate actions' accessible names. |
670
+ | `collapseAfter` | `number` | `0` | Rows per band before «+N more»; `0` shows them all. |
671
+ | `moreLabel` | `string` | `DsContactList`'s | Closed toggle copy; `{count}` = hidden rows («+{count} more»). |
672
+ | `lessLabel` | `string` | `DsContactList`'s | Open toggle copy («Show less»). |
673
+ | `expanded` (`v-model`) | `boolean` | `false` | The whole row's «+N more» state; local when not bound. |
667
674
 
668
675
  `DsContactGroup`: `key` (stable), `kind` (`email` / `phone`), `sections` (`DsContactSection[]`,
669
676
  one per type: `{ type, label, items }`; the band reads «label (n)»), `placeholder` (`skeleton` /
@@ -677,11 +684,17 @@ one per type: `{ type, label, items }`; the band reads «label (n)»), `placehol
677
684
  | `correct` | `DsContactItem` | A row was rated correct (`showRate`). |
678
685
  | `incorrect` | `DsContactItem` | A row was rated incorrect. |
679
686
 
687
+ `update:expanded` (`boolean`) when any band's toggle flips the row (`v-model:expanded`).
688
+
680
689
  ### Accessibility
681
690
 
682
691
  - Each type's rows are a list named by its band (`DsContactList`).
683
692
  - A masked value is spoken once as `maskedLabel`, not as its circles.
684
693
  - A «Revealing…» placeholder is a `status` live region; a skeleton reads its label to screen readers only.
694
+ - With `collapseAfter`, each band's toggle is a native button with `aria-expanded` and
695
+ `aria-controls` on its list; any toggle opens or closes every band of the row (board `Lista`),
696
+ and keeps focus on it. The band's «(n)» is always
697
+ the full total.
685
698
 
686
699
  ### When to use
687
700
 
@@ -713,26 +726,30 @@ quiet uppercase band per type («WORK (2)»), its rows under it, and one total i
713
726
 
714
727
  ### Props
715
728
 
716
- | Prop | Type | Default | Description |
717
- | ------------------ | -------------------- | ------------- | -------------------------------------------------------------------------------------------------------------- |
718
- | `items` | `DsContactItem[]` | `[]` | The group, primary first, as the view model delivers it. Never reordered. Omit when `sections` drive the rows. |
719
- | `sections` | `DsContactSection[]` | `[]` | Unified variants: `{ type, label, items }` per type → a band + its rows; empty types are skipped. |
720
- | `kind` | `'email' \| 'phone'` | — | Masked split rule, and whether a badge may ever render (required). |
721
- | `type` | `DsContactType` | `''` | `work` · `direct` · `mobile` · `hq` · `other` → the left glyph. Omit for none. |
722
- | `title` | `string` | `''` | Variant name in the header ("Work emails"). The total `(N)` is appended. App copy. |
723
- | `badgeLabel` | `string` | — | `A_PLUS_BADGE` — rendered only on valid emails (required). |
724
- | `badgeTooltip` | `string` | — | `A_PLUS_TOOLTIP` (required). |
725
- | `verifyingLabel` | `string` | `''` | Text of the «Verifying» pill (`status: 'verifying'`). The pill renders only when this is non-empty. |
726
- | `verifyingTooltip` | `string` | `''` | The pill's meaning and accessible name. |
727
- | `invalidLabel` | `string` | `''` | Text of the «Invalid» pill (`status: 'invalid'`). Same opt-in. |
728
- | `invalidTooltip` | `string` | `''` | The pill's meaning and accessible name. |
729
- | `showRate` | `boolean` | `false` | Adds thumbs up / down to unmasked rows (except those with `rateable: false`). |
730
- | `emptyLabel` | `string` | `''` | Shown when `items` is empty. Omit to render nothing. |
731
- | `listLabelledby` | `string` | `''` | `id` of an outside label (a band) that names the `items` list (`aria-labelledby`). Sections name their own. |
732
- | `copyLabel` | `string` | `'Copy'` | Accessible label / title of the copy button. |
733
- | `copiedLabel` | `string` | `'Copied!'` | Shown for ~1.2 s after a copy. |
734
- | `correctLabel` | `string` | `'Correct'` | Accessible label of thumbs-up. |
735
- | `incorrectLabel` | `string` | `'Incorrect'` | Accessible label of thumbs-down. |
729
+ | Prop | Type | Default | Description |
730
+ | ------------------ | -------------------- | ----------------- | -------------------------------------------------------------------------------------------------------------- |
731
+ | `items` | `DsContactItem[]` | `[]` | The group, primary first, as the view model delivers it. Never reordered. Omit when `sections` drive the rows. |
732
+ | `sections` | `DsContactSection[]` | `[]` | Unified variants: `{ type, label, items }` per type → a band + its rows; empty types are skipped. |
733
+ | `kind` | `'email' \| 'phone'` | — | Masked split rule, and whether a badge may ever render (required). |
734
+ | `type` | `DsContactType` | `''` | `work` · `direct` · `mobile` · `hq` · `other` → the left glyph. Omit for none. |
735
+ | `title` | `string` | `''` | Variant name in the header ("Work emails"). The total `(N)` is appended. App copy. |
736
+ | `badgeLabel` | `string` | — | `A_PLUS_BADGE` — rendered only on valid emails (required). |
737
+ | `badgeTooltip` | `string` | — | `A_PLUS_TOOLTIP` (required). |
738
+ | `verifyingLabel` | `string` | `''` | Text of the «Verifying» pill (`status: 'verifying'`). The pill renders only when this is non-empty. |
739
+ | `verifyingTooltip` | `string` | `''` | The pill's meaning and accessible name. |
740
+ | `invalidLabel` | `string` | `''` | Text of the «Invalid» pill (`status: 'invalid'`). Same opt-in. |
741
+ | `invalidTooltip` | `string` | `''` | The pill's meaning and accessible name. |
742
+ | `showRate` | `boolean` | `false` | Adds thumbs up / down to unmasked rows (except those with `rateable: false`). |
743
+ | `emptyLabel` | `string` | `''` | Shown when `items` is empty. Omit to render nothing. |
744
+ | `listLabelledby` | `string` | `''` | `id` of an outside label (a band) that names the `items` list (`aria-labelledby`). Sections name their own. |
745
+ | `copyLabel` | `string` | `'Copy'` | Accessible label / title of the copy button. |
746
+ | `copiedLabel` | `string` | `'Copied!'` | Shown for ~1.2 s after a copy. |
747
+ | `correctLabel` | `string` | `'Correct'` | Accessible label of thumbs-up. |
748
+ | `incorrectLabel` | `string` | `'Incorrect'` | Accessible label of thumbs-down. |
749
+ | `collapseAfter` | `number` | `0` | Rows per band (or flat list) before a «+N more» toggle; `0` shows them all. Counts stay the full total. |
750
+ | `moreLabel` | `string` | `'+{count} more'` | Closed toggle copy; `{count}` = the hidden rows. |
751
+ | `lessLabel` | `string` | `'Show less'` | Open toggle copy. |
752
+ | `expanded` | `boolean` | unset | `v-model:expanded`: every band follows it and a toggle emits `update:expanded`. Unset = each band on its own. |
736
753
 
737
754
  `DsContactItem` is `{ id, value, masked, valid, primary, rating?, status?, rateable? }` — see
738
755
  `DsContactCell` for the mapping from the app's view model.
@@ -745,6 +762,8 @@ quiet uppercase band per type («WORK (2)»), its rows under it, and one total i
745
762
  | `correct` | `DsContactItem` | Thumbs-up clicked (`showRate`). |
746
763
  | `incorrect` | `DsContactItem` | Thumbs-down clicked (`showRate`). |
747
764
 
765
+ `update:expanded` (`boolean`) when a toggle flips while `expanded` is bound.
766
+
748
767
  ### Slots
749
768
 
750
769
  | Slot | Where | Use |
@@ -767,6 +786,8 @@ quiet uppercase band per type («WORK (2)»), its rows under it, and one total i
767
786
  expose `aria-pressed` from `item.rating`.
768
787
  - The overlay is visible on `:hover` **and** `:focus-within`, so keyboard users reach copy /
769
788
  rate too. The type glyph is `aria-hidden` (the header names the type).
789
+ - The «+N more» / «Show less» toggle is a native button with `aria-expanded` and
790
+ `aria-controls` on its list; it stays in place when it opens or closes, so focus stays on it.
770
791
 
771
792
  ### Design parity (export `PopItem` / `DataPopover`)
772
793
 
@@ -2932,6 +2953,48 @@ Colors are exactly the DS tokens (`accentBg` #F2F2FF, `tint` #E7E9EA, `slate` #4
2932
2953
 
2933
2954
  ---
2934
2955
 
2956
+ <!-- DsBulkNotice · Extension panel -->
2957
+
2958
+ ## DsBulkNotice
2959
+
2960
+ The notice under the selection bar once every row on the page is selected: a text line and a
2961
+ link-button that acts on every result (it opens the bulk sheet). Presentational: the app passes
2962
+ the copy and decides what the link opens.
2963
+
2964
+ | Prop | Type | Default | Description |
2965
+ | ------------- | --------- | ---------- | ------------------------------------------------------------------------------------------------------ |
2966
+ | `text` | `string` | — | App copy, counts included: «All 25 on this page are selected.» |
2967
+ | `actionLabel` | `string` | `''` | The link's text and accessible name: «Show details for all 1,234 results». Empty = text only, no link. |
2968
+ | `tooltip` | `string` | `''` | Teleported bubble on the link (hover and keyboard focus). Empty = none. |
2969
+ | `icon` | `string` | `done_all` | Glyph in the round badge (a built-in or registered icon; the board's phase 1 uses `bookmark_add`). |
2970
+ | `opensDialog` | `boolean` | `false` | The link opens a dialog: `aria-haspopup="dialog"`. |
2971
+
2972
+ | Event | Payload | When |
2973
+ | ------- | ------------ | ----------------------- |
2974
+ | `click` | `MouseEvent` | The link was activated. |
2975
+
2976
+ ### Accessibility
2977
+
2978
+ - A visually hidden `role="status"` region (`aria-live="polite"`) exists from mount and gets the
2979
+ text a beat later (100ms), so the notice is announced the first time it appears, and again when
2980
+ the text changes. The visible text is then hidden from screen readers so it is not read twice.
2981
+ - The link is a `<button>`; its text is its accessible name and the arrow is decorative.
2982
+
2983
+ ### Layout
2984
+
2985
+ Place it right under `DsBulkBar`: its band (accent-bg, 0 16 12, hairline below) continues the
2986
+ selected bar. The board drops the bar's own hairline while the notice shows; `DsBulkBar` keeps
2987
+ it, so a 1px line separates them (logged delta).
2988
+
2989
+ ### Design parity (board `Lista` L148-157)
2990
+
2991
+ Card 10/12, radius 8, `accent-mid` border; 32px badge in `accent-bg` with a 20px glyph (board 18 →
2992
+ scale step 20); text `font-size('label')` 12.5 semibold. Logged deltas: card gap 11 → 12; the
2993
+ board's accent-tinted `0 1px 3px` shadow → `$shadow-thumb`; link `accent-main` → `accent-shadow`
2994
+ (AA for 13px text), underline on hover instead of the colour change.
2995
+
2996
+ ---
2997
+
2935
2998
  <!-- DsContactRow · Extension panel -->
2936
2999
 
2937
3000
  ## DsContactRow
@@ -3191,6 +3254,39 @@ header and to the meter; meter-to-foot 7 → 8px.
3191
3254
 
3192
3255
  ---
3193
3256
 
3257
+ <!-- DsListNote · Extension panel -->
3258
+
3259
+ ## DsListNote
3260
+
3261
+ A muted one-line note at the end of a list: «3 people outside your network aren't listed».
3262
+ Presentational: the app passes the copy, counts included.
3263
+
3264
+ | Prop | Type | Default | Description |
3265
+ | ------ | --------- | ------- | --------------------------------------------------------------- |
3266
+ | `text` | `string` | — | App copy. |
3267
+ | `icon` | `string` | `''` | Decorative 16px glyph before the text (built-in or registered). |
3268
+ | `live` | `boolean` | `false` | Announce the note and its changes through a polite live region. |
3269
+
3270
+ ### Accessibility
3271
+
3272
+ - A plain `<p>` by default: read in place, never announced. A note that only restates what the
3273
+ list already shows should not interrupt.
3274
+ - With `live`, a visually hidden `role="status"` region exists from mount and gets the text a beat
3275
+ later (100ms), so the first appearance is announced too; the visible text is then hidden from
3276
+ screen readers so it is not read twice.
3277
+
3278
+ ### Layout
3279
+
3280
+ Last child of the list, after the rows: `12px 16px` matches the rows' gutter. The text wraps at
3281
+ narrow widths instead of ellipsizing, so no count is lost.
3282
+
3283
+ ### Design parity
3284
+
3285
+ No board design (decision D5). DS tokens only: `font-size('small')` 13 regular in `slate-soft`
3286
+ (the DS AA secondary text), the same line `DsMenuEmpty` uses in menus.
3287
+
3288
+ ---
3289
+
3194
3290
  <!-- DsListSkeleton · Extension panel -->
3195
3291
 
3196
3292
  ## DsListSkeleton
@@ -3386,6 +3482,45 @@ Logged deltas:
3386
3482
 
3387
3483
  ---
3388
3484
 
3485
+ <!-- DsRowStatus · Extension panel -->
3486
+
3487
+ ## DsRowStatus
3488
+
3489
+ The state a list row shows in its action column while a queue owns it. Presentational: the app
3490
+ decides the state from its queue and passes the translated label and tooltip.
3491
+
3492
+ | Prop | Type | Default | Description |
3493
+ | -------------- | -------------------------------- | ------- | ------------------------------------------------------------------------- |
3494
+ | `state` | `'queued' \| 'busy' \| 'paused'` | — | `DS_ROW_STATUS_STATES`. Picks the glyph and the look. |
3495
+ | `label` | `string` | — | App copy: «Queued», «Revealing…», «Saving…», «Searching…», «Paused». |
3496
+ | `tooltip` | `string` | `''` | Teleported bubble on hover and focus. Empty = no bubble, no tab stop. |
3497
+ | `announcement` | `string` | `''` | Live-region text naming the row («Revealing… Jane Doe»). Empty = `label`. |
3498
+
3499
+ - **queued**: a quiet line, `schedule` in the mask grey, no box.
3500
+ - **busy**: a 32px chip with `autorenew` turning once a second (still under reduced motion).
3501
+ - **paused**: the same chip with a still `pause` in `slate-muted`.
3502
+
3503
+ ### Accessibility
3504
+
3505
+ - A visually hidden `role="status"` region exists from mount and gets the label a beat later
3506
+ (100ms), so a row that mounts already busy is announced, and so is every change after it. No
3507
+ `aria-busy` anywhere: it would mute the region.
3508
+ - Pass `announcement` with the row's identity («Revealing… Jane Doe»): in a bulk several rows
3509
+ change at once, and the label alone does not say which person each one is. The visible text
3510
+ stays the short `label`.
3511
+ - Queued is never announced: a bulk queues every selected row at once.
3512
+ - Any state with a tooltip is a tab stop (`tabindex="0"`, `role="img"` named by the label) so the
3513
+ keyboard reaches the bubble, which describes it through `aria-describedby`. Without a tooltip
3514
+ there is no tab stop. Cursor stays default: nothing to click.
3515
+
3516
+ ### Design parity (boards `Lista` L191-194, `Bulk show` L174-177)
3517
+
3518
+ 32px (`control-height('medium')`), radius 6, `font-size('label')` 12.5 bold. Logged deltas: text
3519
+ `#888f97` → `slate-soft` (AA); chip fill `#fafafb` → the row hover `#f9f9f9` (no token, as
3520
+ DsProfileGroupBar); queued gap 5 → 6.
3521
+
3522
+ ---
3523
+
3389
3524
  <!-- DsAlert · Feedback -->
3390
3525
 
3391
3526
  ## DsAlert
package/llms.txt CHANGED
@@ -46,15 +46,18 @@
46
46
  - DsAccountMenu (Extension panel): The avatar at the right end of the side panel header and the account menu it opens. Goes in
47
47
  - DsAddToBar (Extension panel): The «Add to:» bar of the extension's LinkedIn panel (export `AddToRow`), in `DsPanelFrame`'s
48
48
  - DsBulkBar (Extension panel): The selection bar above a list: a **select-all checkbox** with its count text, a flexible
49
+ - DsBulkNotice (Extension panel): The notice under the selection bar once every row on the page is selected: a text line and a
49
50
  - DsContactRow (Extension panel): One row of the extension panel's search-results list: a checkbox, the contact's photo, name and
50
51
  - DsCreditsChip (Extension panel): The credits button of the side panel header: `toll` + the available balance (`en-US`, never
51
52
  - DsCreditsNotice (Extension panel): A short `role="status"` notice inside the credits popover.
52
53
  - DsCreditsPopover (Extension panel): The credits chip of the side panel header and the popover it opens. Goes in `DsPanelHeader`'s
53
54
  - DsCreditsSummary (Extension panel): The credits block shared by `DsAccountMenu` (row) and `DsCreditsPopover` (`prominent`).
55
+ - DsListNote (Extension panel): A muted one-line note at the end of a list: «3 people outside your network aren't listed».
54
56
  - DsListSkeleton (Extension panel): The panel's contact list while it reads SalesQL. A selection bar (checkbox and «Select all»),
55
57
  - DsPanelFrame (Extension panel): The floating card that holds the extension's panel: a white column with a hairline border, a
56
58
  - DsPanelHeader (Extension panel): The top bar of the extension's **side panel**: the SalesQL imagotype on the left and, on the
57
59
  - DsPanelLauncher (Extension panel): The minimized panel: a round white button with the SalesQL isotype that brings the panel back.
60
+ - DsRowStatus (Extension panel): The state a list row shows in its action column while a queue owns it. Presentational: the app
58
61
  - DsAlert (Feedback): Inline banner for status/confirmation messages (success, info, warning, error). It
59
62
  - DsModal (Feedback): Dialog with an optional header (title + close button) and footer action row, vertically
60
63
  - DsNotification (Feedback): Fixed-position toast card for transient feedback (saved, updated, failed…). It renders
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesql/sql_components_vue3",
3
- "version": "4.0.0",
3
+ "version": "4.2.0",
4
4
  "description": "Librería de componentes Vue 3 (SalesQL)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -20,6 +20,9 @@
20
20
  "arrow_back": {
21
21
  "families": ["outlined", "rounded"]
22
22
  },
23
+ "arrow_forward": {
24
+ "families": ["outlined", "rounded"]
25
+ },
23
26
  "article": {
24
27
  "families": ["outlined", "rounded"]
25
28
  },
@@ -68,6 +71,9 @@
68
71
  "do_not_disturb_on": {
69
72
  "families": ["outlined", "rounded"]
70
73
  },
74
+ "done_all": {
75
+ "families": ["outlined", "rounded"]
76
+ },
71
77
  "download": {
72
78
  "families": ["outlined", "rounded"]
73
79
  },
@@ -140,12 +146,18 @@
140
146
  "open_in_new": {
141
147
  "families": ["outlined", "rounded"]
142
148
  },
149
+ "pause": {
150
+ "families": ["outlined", "rounded"]
151
+ },
143
152
  "remove": {
144
153
  "families": ["outlined", "rounded"]
145
154
  },
146
155
  "rocket_launch": {
147
156
  "families": ["outlined", "rounded"]
148
157
  },
158
+ "schedule": {
159
+ "families": ["outlined", "rounded"]
160
+ },
149
161
  "school": {
150
162
  "families": ["outlined", "rounded"]
151
163
  },