@salesql/sql_components_vue3 3.36.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.
- package/dist/composables/useFocusHandoff.d.ts +11 -0
- package/dist/constants/events.d.ts +4 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.es.js +4801 -4243
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
- package/dist/ui/DsContactList/DsContactList.types.d.ts +2 -0
- package/dist/ui/DsContactList/DsContactList.vue.d.ts +9 -0
- package/dist/ui/DsInput/DsInput.vue.d.ts +1 -1
- package/dist/ui/DsListSkeleton/DsListSkeleton.types.d.ts +10 -0
- package/dist/ui/DsListSkeleton/DsListSkeleton.vue.d.ts +23 -0
- package/dist/ui/DsListSkeleton/index.d.ts +2 -0
- package/dist/ui/DsOrganizerForm/DsOrganizerForm.vue.d.ts +1 -1
- package/dist/ui/DsProfileActionBar/DsProfileActionBar.defaults.d.ts +2 -0
- package/dist/ui/DsProfileActionBar/DsProfileActionBar.types.d.ts +35 -4
- package/dist/ui/DsProfileActionBar/DsProfileActionBar.vue.d.ts +63 -3
- package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.types.d.ts +23 -1
- package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.vue.d.ts +19 -8
- package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.types.d.ts +12 -0
- package/dist/ui/DsProfileGroupBar/DsProfileGroupBar.vue.d.ts +61 -2
- package/dist/ui/DsProfileHero/DsProfileHero.vue.d.ts +1 -1
- package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.types.d.ts +5 -0
- package/dist/ui/DsProfileLockedCard/DsProfileLockedCard.vue.d.ts +20 -0
- package/dist/ui/DsProfileRichSections/DsProfileRichSections.types.d.ts +11 -0
- package/dist/ui/DsProfileRichSections/DsProfileRichSections.vue.d.ts +46 -0
- package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.types.d.ts +6 -0
- package/dist/ui/DsProfileSkeleton/DsProfileSkeleton.vue.d.ts +24 -0
- package/dist/ui/DsProfileSkeleton/index.d.ts +2 -0
- package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +1 -1
- package/dist/ui/DsTable/DsTable.vue.d.ts +2 -2
- package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +1 -1
- package/dist/ui/DsTextarea/DsTextarea.vue.d.ts +2 -2
- package/llms-full.txt +264 -66
- package/llms.txt +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
label: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
actionRows: {
|
|
8
|
+
type: PropType<1 | 2>;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
label: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
actionRows: {
|
|
17
|
+
type: PropType<1 | 2>;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{}>, {
|
|
21
|
+
label: string;
|
|
22
|
+
actionRows: 1 | 2;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -343,6 +343,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
343
343
|
create: DsPickerCreateMode;
|
|
344
344
|
disabled: boolean;
|
|
345
345
|
pill: boolean;
|
|
346
|
+
backLabel: string;
|
|
346
347
|
folder: DsPickerOption | null;
|
|
347
348
|
icon: string;
|
|
348
349
|
tooltip: string;
|
|
@@ -354,7 +355,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
354
355
|
colors: readonly string[];
|
|
355
356
|
createLabel: string;
|
|
356
357
|
setColorLabel: string;
|
|
357
|
-
backLabel: string;
|
|
358
358
|
errorMissingName: string;
|
|
359
359
|
errorTooLongName: string;
|
|
360
360
|
actionsLabel: string;
|
|
@@ -135,8 +135,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
135
135
|
}>, {
|
|
136
136
|
height: string | number | null;
|
|
137
137
|
loading: boolean;
|
|
138
|
-
|
|
138
|
+
loadingLabel: string;
|
|
139
139
|
rows: DsTableRow[];
|
|
140
|
+
columns: DsTableColumn[];
|
|
140
141
|
emptyMessage: string;
|
|
141
142
|
highlightRowId: string | number | null;
|
|
142
143
|
rowHeight: string | number | null;
|
|
@@ -146,7 +147,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
146
147
|
allSelected: boolean;
|
|
147
148
|
someSelected: boolean;
|
|
148
149
|
selectAllLabel: string;
|
|
149
|
-
loadingLabel: string;
|
|
150
150
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
151
151
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
152
152
|
export default _default;
|
|
@@ -336,6 +336,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
336
336
|
create: DsPickerCreateMode;
|
|
337
337
|
disabled: boolean;
|
|
338
338
|
pill: boolean;
|
|
339
|
+
backLabel: string;
|
|
339
340
|
teleported: boolean;
|
|
340
341
|
editLabel: string;
|
|
341
342
|
emptyLabel: string;
|
|
@@ -345,7 +346,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
345
346
|
colors: readonly string[];
|
|
346
347
|
createLabel: string;
|
|
347
348
|
setColorLabel: string;
|
|
348
|
-
backLabel: string;
|
|
349
349
|
errorMissingName: string;
|
|
350
350
|
errorTooLongName: string;
|
|
351
351
|
actionsLabel: string;
|
|
@@ -105,10 +105,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
105
105
|
variant: DsTextareaVariant;
|
|
106
106
|
disabled: boolean;
|
|
107
107
|
error: boolean;
|
|
108
|
+
placeholder: string;
|
|
109
|
+
rows: number;
|
|
108
110
|
name: string;
|
|
109
111
|
id: string;
|
|
110
|
-
rows: number;
|
|
111
|
-
placeholder: string;
|
|
112
112
|
errorMessage: string;
|
|
113
113
|
readonly: boolean;
|
|
114
114
|
autoGrow: boolean;
|
package/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @salesql/sql_components_vue3 — SalesQL Design System (v3.
|
|
1
|
+
# @salesql/sql_components_vue3 — SalesQL Design System (v3.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 (
|
|
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
|
|
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
|
|
1265
|
-
|
|
|
1266
|
-
| `label`
|
|
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 |
|
|
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
|
|
1797
|
-
|
|
|
1798
|
-
| `variant`
|
|
1799
|
-
| `size`
|
|
1800
|
-
| `nativeType`
|
|
1801
|
-
| `leftIcon`
|
|
1802
|
-
| `rightIcon`
|
|
1803
|
-
| `ariaLabel`
|
|
1804
|
-
| `disabled`
|
|
1805
|
-
| `loading`
|
|
1806
|
-
| `circle`
|
|
1807
|
-
| `square`
|
|
1808
|
-
| `noPadding`
|
|
1809
|
-
| `block`
|
|
1810
|
-
| `selected`
|
|
1811
|
-
| `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
|
|
@@ -4772,24 +4834,52 @@ The action area of a full profile — the design export's `ActionBar`.
|
|
|
4772
4834
|
|
|
4773
4835
|
The default slot is only rendered once `revealed`: before it, the app's actions do not exist.
|
|
4774
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
|
+
|
|
4775
4853
|
### Props
|
|
4776
4854
|
|
|
4777
|
-
| Prop
|
|
4778
|
-
|
|
|
4779
|
-
| `
|
|
4780
|
-
| `
|
|
4781
|
-
| `
|
|
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. |
|
|
4782
4866
|
|
|
4783
4867
|
### Copy
|
|
4784
4868
|
|
|
4785
4869
|
`DS_PROFILE_ACTION_BAR_COPY`: `reveal` «Show details», `revealTooltip` (empty: no tooltip, the
|
|
4786
|
-
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.
|
|
4787
4874
|
|
|
4788
4875
|
### Events
|
|
4789
4876
|
|
|
4790
|
-
| Event
|
|
4791
|
-
|
|
|
4792
|
-
| `reveal`
|
|
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`. |
|
|
4793
4883
|
|
|
4794
4884
|
### Slots
|
|
4795
4885
|
|
|
@@ -4802,6 +4892,32 @@ cost is the app's), `revealing` «Revealing…».
|
|
|
4802
4892
|
While `revealing`, the button's text is hidden behind the spinner, so its `aria-label` is
|
|
4803
4893
|
`copy.revealing`. The button is a native `<button>`, reachable by keyboard.
|
|
4804
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
|
+
|
|
4805
4921
|
---
|
|
4806
4922
|
|
|
4807
4923
|
<!-- DsProfileContactDataCard · Profile -->
|
|
@@ -4828,26 +4944,28 @@ incorrect marks. The app toasts, calls its rating endpoint, opens its feedback m
|
|
|
4828
4944
|
|
|
4829
4945
|
### Props
|
|
4830
4946
|
|
|
4831
|
-
| Prop | Type
|
|
4832
|
-
| ------------------------------------- |
|
|
4833
|
-
| `title` | `string`
|
|
4834
|
-
| `groups` | `
|
|
4835
|
-
| `
|
|
4836
|
-
| `
|
|
4837
|
-
| `
|
|
4838
|
-
| `
|
|
4839
|
-
| `
|
|
4840
|
-
| `
|
|
4841
|
-
| `
|
|
4842
|
-
| `
|
|
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. |
|
|
4843
4960
|
|
|
4844
4961
|
### Events
|
|
4845
4962
|
|
|
4846
|
-
| Event | Payload | When
|
|
4847
|
-
| ----------- | --------------- |
|
|
4848
|
-
| `
|
|
4849
|
-
| `
|
|
4850
|
-
| `
|
|
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. |
|
|
4851
4969
|
|
|
4852
4970
|
### Slots
|
|
4853
4971
|
|
|
@@ -4857,6 +4975,38 @@ incorrect marks. The app toasts, calls its rating endpoint, opens its feedback m
|
|
|
4857
4975
|
| `editor` | First in the body, no inset | The open email editor. |
|
|
4858
4976
|
| `notice` | After the groups, inset | An upgrade notice, a hint. |
|
|
4859
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
|
+
|
|
4860
5010
|
### What `DsContactGroups` does and does not do here
|
|
4861
5011
|
|
|
4862
5012
|
- The band over each type is `DsContactList`'s own («Work email (2)»), with the count; a
|
|
@@ -5017,11 +5167,13 @@ L1395), SALESQL-3298.
|
|
|
5017
5167
|
|
|
5018
5168
|
### Props
|
|
5019
5169
|
|
|
5020
|
-
| Prop
|
|
5021
|
-
|
|
|
5022
|
-
| `icon`
|
|
5023
|
-
| `title`
|
|
5024
|
-
| `hint`
|
|
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. |
|
|
5025
5177
|
|
|
5026
5178
|
### Accessibility
|
|
5027
5179
|
|
|
@@ -5043,8 +5195,13 @@ export draws it that way to read as **disabled**, not merely quiet.
|
|
|
5043
5195
|
### Design parity (export `ProfileLockedCard`)
|
|
5044
5196
|
|
|
5045
5197
|
Leading icon `17px`, muted. Title `11px / 700`, letter-spacing `.6px`, uppercase, muted.
|
|
5046
|
-
Trailing `lock` glyph `15px`, muted. Tooltip: `hint`, placement left, block
|
|
5047
|
-
|
|
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.
|
|
5048
5205
|
|
|
5049
5206
|
---
|
|
5050
5207
|
|
|
@@ -5070,14 +5227,22 @@ The sections of a full profile that come from the person's own record: **Details
|
|
|
5070
5227
|
|
|
5071
5228
|
### Props
|
|
5072
5229
|
|
|
5073
|
-
| Prop
|
|
5074
|
-
|
|
|
5075
|
-
| `unlocked`
|
|
5076
|
-
| `details`
|
|
5077
|
-
| `about`
|
|
5078
|
-
| `experience`
|
|
5079
|
-
| `education`
|
|
5080
|
-
| `copy`
|
|
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».
|
|
5081
5246
|
|
|
5082
5247
|
### Copy
|
|
5083
5248
|
|
|
@@ -5094,6 +5259,39 @@ hint on focus.
|
|
|
5094
5259
|
|
|
5095
5260
|
---
|
|
5096
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
|
+
|
|
5097
5295
|
<!-- DsProfileTimelineRow · Profile -->
|
|
5098
5296
|
|
|
5099
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
|