@salesql/sql_components_vue3 3.27.0 → 3.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- declare var __VLS_10: {};
1
+ declare var __VLS_19: {};
2
2
  type __VLS_Slots = {} & {
3
- actions?: (props: typeof __VLS_10) => any;
3
+ actions?: (props: typeof __VLS_19) => any;
4
4
  };
5
5
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  image: {
@@ -19,6 +19,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
+ company: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ jobTitle: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
22
30
  linkedinUrl: {
23
31
  type: StringConstructor;
24
32
  default: string;
@@ -48,6 +56,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
48
56
  type: StringConstructor;
49
57
  default: string;
50
58
  };
59
+ company: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ jobTitle: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
51
67
  linkedinUrl: {
52
68
  type: StringConstructor;
53
69
  default: string;
@@ -68,6 +84,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
68
84
  linkedinUrl: string;
69
85
  linkedinLabel: string;
70
86
  headline: string;
87
+ company: string;
88
+ jobTitle: string;
71
89
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
72
90
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
73
91
  export default _default;
@@ -14,6 +14,7 @@ export declare function createSavedStoryState(): {
14
14
  hint: string;
15
15
  tooltip?: string | undefined;
16
16
  } | undefined;
17
+ deleting?: boolean | undefined;
17
18
  }[], DsPickerOption[] | {
18
19
  id: string | number;
19
20
  name: string;
@@ -22,6 +23,7 @@ export declare function createSavedStoryState(): {
22
23
  hint: string;
23
24
  tooltip?: string | undefined;
24
25
  } | undefined;
26
+ deleting?: boolean | undefined;
25
27
  }[]>;
26
28
  demoFolders: import("vue").Ref<{
27
29
  id: string | number;
@@ -31,6 +33,7 @@ export declare function createSavedStoryState(): {
31
33
  hint: string;
32
34
  tooltip?: string | undefined;
33
35
  } | undefined;
36
+ deleting?: boolean | undefined;
34
37
  }[], DsPickerOption[] | {
35
38
  id: string | number;
36
39
  name: string;
@@ -39,6 +42,7 @@ export declare function createSavedStoryState(): {
39
42
  hint: string;
40
43
  tooltip?: string | undefined;
41
44
  } | undefined;
45
+ deleting?: boolean | undefined;
42
46
  }[]>;
43
47
  demoCurrentId: import("vue").Ref<string | number | null, string | number | null>;
44
48
  };
@@ -0,0 +1,28 @@
1
+ export declare const DS_SKELETON_SHAPES: {
2
+ /** A line of text: full width, 10px high, fully rounded. */
3
+ readonly TEXT: "text";
4
+ /** A box (avatar, logo, button, card): full width, 40px high, `control` radius. */
5
+ readonly RECT: "rect";
6
+ /** A round avatar or dot: 40px, always square and fully rounded. */
7
+ readonly CIRCLE: "circle";
8
+ };
9
+ export type DsSkeletonShape = (typeof DS_SKELETON_SHAPES)[keyof typeof DS_SKELETON_SHAPES];
10
+ /** The DS radius tokens a skeleton can take (`radius.scss`). */
11
+ export declare const DS_SKELETON_RADII: {
12
+ readonly CONTROL: "control";
13
+ readonly CARD: "card";
14
+ readonly CARD_LG: "card-lg";
15
+ readonly FULL: "full";
16
+ };
17
+ export type DsSkeletonRadius = (typeof DS_SKELETON_RADII)[keyof typeof DS_SKELETON_RADII];
18
+ export interface DsSkeletonProps {
19
+ shape?: DsSkeletonShape;
20
+ /** A number is px; a string is any CSS length (`'45%'`, `'8rem'`). */
21
+ width?: number | string;
22
+ /** A number is px; a string is any CSS length. A circle with only one side uses it for both. */
23
+ height?: number | string;
24
+ /** Overrides the shape's radius. Ignored on a circle. */
25
+ radius?: DsSkeletonRadius;
26
+ /** Pulses while mounted (never under reduced motion). */
27
+ animated?: boolean;
28
+ }
@@ -0,0 +1,53 @@
1
+ import { type PropType } from 'vue';
2
+ import { type DsSkeletonRadius, type DsSkeletonShape } from './DsSkeleton.types';
3
+ type Length = number | string;
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ shape: {
6
+ type: PropType<DsSkeletonShape>;
7
+ default: "text";
8
+ };
9
+ width: {
10
+ type: PropType<Length>;
11
+ default: undefined;
12
+ };
13
+ height: {
14
+ type: PropType<Length>;
15
+ default: undefined;
16
+ };
17
+ radius: {
18
+ type: PropType<DsSkeletonRadius>;
19
+ default: undefined;
20
+ };
21
+ animated: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
+ shape: {
27
+ type: PropType<DsSkeletonShape>;
28
+ default: "text";
29
+ };
30
+ width: {
31
+ type: PropType<Length>;
32
+ default: undefined;
33
+ };
34
+ height: {
35
+ type: PropType<Length>;
36
+ default: undefined;
37
+ };
38
+ radius: {
39
+ type: PropType<DsSkeletonRadius>;
40
+ default: undefined;
41
+ };
42
+ animated: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ }>> & Readonly<{}>, {
47
+ width: Length;
48
+ height: Length;
49
+ shape: DsSkeletonShape;
50
+ radius: DsSkeletonRadius;
51
+ animated: boolean;
52
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DsSkeleton } from './DsSkeleton.vue';
2
+ export * from './DsSkeleton.types';
@@ -0,0 +1,4 @@
1
+ export interface DsSkeletonGroupProps {
2
+ /** What is loading («Loading profile»), already translated. Read to screen readers only. */
3
+ label?: string;
4
+ }
@@ -0,0 +1,24 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ label: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ label: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ label: string;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,2 @@
1
+ export { default as DsSkeletonGroup } from './DsSkeletonGroup.vue';
2
+ export * from './DsSkeletonGroup.types';
package/llms-full.txt CHANGED
@@ -1,4 +1,4 @@
1
- # @salesql/sql_components_vue3 — SalesQL Design System (v3.27.0)
1
+ # @salesql/sql_components_vue3 — SalesQL Design System (v3.29.0)
2
2
 
3
3
  > Librería de componentes Vue 3 (SalesQL) Presentational-only Vue 3 components (props in, events out; the consuming app owns state, i18n and data). This file is auto-generated from the component stories for LLM/agent consumption — do not edit by hand.
4
4
 
@@ -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 (68)
51
+ ## Components (70)
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
@@ -96,6 +96,8 @@ Browsers ignore `@font-face` declared inside a shadow root: register the fonts o
96
96
  - **DsAlert** (Feedback) — Inline banner for status/confirmation messages (success, info, warning, error). It
97
97
  - **DsModal** (Feedback) — Dialog with an optional header (title + close button) and footer action row, vertically
98
98
  - **DsNotification** (Feedback) — Fixed-position toast card for transient feedback (saved, updated, failed…). It renders
99
+ - **DsSkeleton** (Feedback) — One grey block that stands in for content that is still loading: a text line, a box or a
100
+ - **DsSkeletonGroup** (Feedback) — Wraps a loading layout built from `DsSkeleton` blocks so it is announced **once**: the
99
101
  - **DsTooltip** (Feedback) — Dark bubble that describes a wrapped trigger on hover or keyboard focus, with 4-way
100
102
  - **DsCheckbox** (Forms) — Checked / unchecked / indeterminate selection control. **Presentational only**.
101
103
  - **DsInput** (Forms) — Single-line text field — the DS "Input". **Presentational only**: it drives its own
@@ -1238,12 +1240,14 @@ The component never persists anything and never guesses that a save worked: it e
1238
1240
  `DsSavedButtonCopy` keys (English defaults): `searchPlaceholder` (`'Search folders'`), `empty`
1239
1241
  (`'No folders found'`, empty string = nothing), `create` (`'New Folder'`, the footer button),
1240
1242
  `actions` (`'Actions'`, the ⋮ `aria-label`), `edit` (`'Edit'`), `delete` (`'Delete'`),
1243
+ `deleteConfirm` (`'Are you sure?'`) and `deleteConfirmAction` (`'Yes, delete'`), the row after the
1244
+ first click on Delete,
1241
1245
  `createFormTitle` (`'New Folder'`), `editFormTitle` (`'Edit Folder'`), `createSubmit`
1242
1246
  (`'Create & Select'`), `editSubmit` (`'Save'`), `namePlaceholder` (`'Folder name'`), `setColor`
1243
1247
  (`'Set Color'`), `back` (`'Back'`), `errorMissingName` / `errorTooLongName` (the form's own
1244
1248
  defaults when unset).
1245
1249
 
1246
- `DsPickerOption` is `{ id, name, color? }` — map frontend-app's `Folder` with
1250
+ `DsPickerOption` is `{ id, name, color?, deleteDisabled?, deleting? }` — map frontend-app's `Folder` with
1247
1251
  `{ id: f.uuid, name: f.name, color: f.color }`.
1248
1252
 
1249
1253
  #### Deprecated props (removed in 4.0)
@@ -1262,18 +1266,18 @@ or a `footer` slot) with `colors` = `'form'`, without = `'event'`, no footer = `
1262
1266
 
1263
1267
  ### Events
1264
1268
 
1265
- | Event | Payload | When |
1266
- | ------------------ | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1267
- | `pick` | `DsPickerOption` | A folder was chosen. The panel closes. PATCH `folder_ids` here. |
1268
- | `create` | `string` | The footer was clicked with `create="event"`; payload is the search text typed so far. The panel closes. |
1269
- | `edit` | `DsPickerOption` | Edit chosen in a row's ⋮ menu (with `rowActions="form"` the form opens too). |
1270
- | `delete` | `DsPickerOption` | Delete chosen in a row's ⋮ menu. Confirm and delete in the app; the panel does not change. |
1271
- | `create-option` | `{ name, color }` | The create form was submitted (name trimmed). The form stays open until `closeForm()`. |
1272
- | `update-option` | `{ id, name, color }` | The edit form was submitted. Same: stays open until `closeForm()`. |
1273
- | `form-close` | — | The form was dismissed (back, `closeForm()` or the panel closing). Clear `formError` here. |
1274
- | `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). |
1275
- | `search` | `string` | The search text changed (filtering is local). |
1276
- | `update:open` | `boolean` | The panel opened or closed. |
1269
+ | Event | Payload | When |
1270
+ | ------------------ | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1271
+ | `pick` | `DsPickerOption` | A folder was chosen. The panel closes. PATCH `folder_ids` here. |
1272
+ | `create` | `string` | The footer was clicked with `create="event"`; payload is the search text typed so far. The panel closes. |
1273
+ | `edit` | `DsPickerOption` | Edit chosen in a row's ⋮ menu (with `rowActions="form"` the form opens too). |
1274
+ | `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. |
1275
+ | `create-option` | `{ name, color }` | The create form was submitted (name trimmed). The form stays open until `closeForm()`. |
1276
+ | `update-option` | `{ id, name, color }` | The edit form was submitted. Same: stays open until `closeForm()`. |
1277
+ | `form-close` | — | The form was dismissed (back, `closeForm()` or the panel closing). Clear `formError` here. |
1278
+ | `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). |
1279
+ | `search` | `string` | The search text changed (filtering is local). |
1280
+ | `update:open` | `boolean` | The panel opened or closed. |
1277
1281
 
1278
1282
  ### Exposed
1279
1283
 
@@ -1326,6 +1330,11 @@ or a `footer` slot) with `colors` = `'form'`, without = `'event'`, no footer = `
1326
1330
  hover — the DS has no `#FFF7F7`, so the hover is `error-tint` (a touch stronger); the shadow
1327
1331
  is the DS `shadow-dropdown`, not the export's `0 8px 28px`. Each item also carries its glyph
1328
1332
  (`edit` / `delete`), as in production.
1333
+ - Delete confirms in place, as the Contact List prototype's `FolderRowMenu`: the first click turns
1334
+ the row into «Are you sure? · Yes, delete» (700, `error-shadow` on `error-tint`) and the menu
1335
+ grows to fit it on one line; the second emits `delete`. While the app deletes, the glyph is a
1336
+ 16px `DsSpinner` (the prototype has no loading state). Escape, a click outside or another ⋮
1337
+ cancel the confirmation, never the loading.
1329
1338
 
1330
1339
  ---
1331
1340
 
@@ -1404,6 +1413,8 @@ what Delete needs and update the option while the menu is open.
1404
1413
  `searchPlaceholder` (`'Search tags'`), `empty` (`'No tags found'`, empty string = nothing), `more`
1405
1414
  (`''`, the `+N` chip's accessible name), `createRow` (`'Create'`), `newButton` (`'New Tag'`),
1406
1415
  `actions` (`'Actions'`, the ⋮ `aria-label`), `edit` (`'Edit'`), `delete` (`'Delete'`),
1416
+ `deleteConfirm` (`'Are you sure?'`) and `deleteConfirmAction` (`'Yes, delete'`), the row after the
1417
+ first click on Delete,
1407
1418
  `createFormTitle` (`'New Tag'`), `editFormTitle` (`'Edit Tag'`), `createSubmit` (`'Create'`),
1408
1419
  `editSubmit` (`'Save'`), `namePlaceholder` (`'Tag name'`), `setColor` (`'Set Color'`), `back`
1409
1420
  (`'Back'`), `removeTag` (`'Remove tag'`, only with `selection="single"`), `errorMissingName` /
@@ -1430,18 +1441,18 @@ always wins over its alias. When `create` is not set it is inferred as before: `
1430
1441
 
1431
1442
  ### Events
1432
1443
 
1433
- | Event | Payload | When |
1434
- | ------------------ | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
1435
- | `apply` | `DsPickerOption[]` | Apply clicked: the full new selection, in `options` order. Panel closes. With `selection="single"`: `[picked]` on pick, `[]` on «Remove tag». |
1436
- | `create` | `string` | The create row was clicked with `create="event"`; payload is the typed text. |
1437
- | `edit` | `DsPickerOption` | Edit chosen in a row's ⋮ menu (with `rowActions="form"` the form opens too). |
1438
- | `delete` | `DsPickerOption` | Delete chosen in a row's ⋮ menu. Confirm and delete in the app; the panel does not change. |
1439
- | `create-option` | `{ name, color }` | The create form was submitted (name trimmed). The form stays open until `closeForm()`. |
1440
- | `update-option` | `{ id, name, color }` | The edit form was submitted. Same: stays open until `closeForm()`. |
1441
- | `form-close` | — | The form was dismissed (back, `closeForm()` or the panel closing). Clear `formError` here. |
1442
- | `row-actions-open` | `DsPickerOption` | A row's ⋮ menu opened. Update that option's `deleteDisabled` if Delete should be blocked. |
1443
- | `search` | `string` | The search text changed (filtering is local). |
1444
- | `update:open` | `boolean` | The panel opened or closed. |
1444
+ | Event | Payload | When |
1445
+ | ------------------ | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1446
+ | `apply` | `DsPickerOption[]` | Apply clicked: the full new selection, in `options` order. Panel closes. With `selection="single"`: `[picked]` on pick, `[]` on «Remove tag». |
1447
+ | `create` | `string` | The create row was clicked with `create="event"`; payload is the typed text. |
1448
+ | `edit` | `DsPickerOption` | Edit chosen in a row's ⋮ menu (with `rowActions="form"` the form opens too). |
1449
+ | `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. |
1450
+ | `create-option` | `{ name, color }` | The create form was submitted (name trimmed). The form stays open until `closeForm()`. |
1451
+ | `update-option` | `{ id, name, color }` | The edit form was submitted. Same: stays open until `closeForm()`. |
1452
+ | `form-close` | — | The form was dismissed (back, `closeForm()` or the panel closing). Clear `formError` here. |
1453
+ | `row-actions-open` | `DsPickerOption` | A row's ⋮ menu opened. Update that option's `deleteDisabled` if Delete should be blocked. |
1454
+ | `search` | `string` | The search text changed (filtering is local). |
1455
+ | `update:open` | `boolean` | The panel opened or closed. |
1445
1456
 
1446
1457
  ### Exposed
1447
1458
 
@@ -1489,6 +1500,11 @@ aria-expanded>`), so it never toggles the tag. It appears on row hover, on keybo
1489
1500
  hover — the DS has no `#FFF7F7`, so the hover is `error-tint` (a touch stronger); the shadow
1490
1501
  is the DS `shadow-dropdown`, not the export's `0 8px 28px`. Each item also carries its glyph
1491
1502
  (`edit` / `delete`), as in production.
1503
+ - Delete confirms in place, as the Contact List prototype's `FolderRowMenu`: the first click turns
1504
+ the row into «Are you sure? · Yes, delete» (700, `error-shadow` on `error-tint`) and the menu
1505
+ grows to fit it on one line; the second emits `delete`. While the app deletes, the glyph is a
1506
+ 16px `DsSpinner` (the prototype has no loading state). Escape, a click outside or another ⋮
1507
+ cancel the confirmation, never the loading.
1492
1508
  - Footer with `create="form"`: «+ New …» is a `DsButton` tertiary (text) with the `add` glyph on the left,
1493
1509
  Apply on the right; the panel stays 240px in the form view, which drops its padding to bring
1494
1510
  its own rows.
@@ -3052,6 +3068,88 @@ their behaviour (one toast per corner, teleported straight to `<body>`).
3052
3068
 
3053
3069
  ---
3054
3070
 
3071
+ <!-- DsSkeleton · Feedback -->
3072
+
3073
+ ## DsSkeleton
3074
+
3075
+ One grey block that stands in for content that is still loading: a text line, a box or a
3076
+ circle. **A primitive**: the app composes the blocks into its own layout (the profile, a list
3077
+ row…) and wraps the layout in `DsSkeletonGroup` so it is announced once. The examples at the
3078
+ end of this story are compositions an app would write; the library ships none.
3079
+
3080
+ - **Example · extension profile panel**: the extension's panel chrome, no folder picked yet,
3081
+ around the skeleton of a found profile before the reveal: the hero, the actions, the contact
3082
+ data card (one band and one masked row per type: work email, direct email, mobile phone) and the
3083
+ company card with its four rows. Each block is sized from the component it stands in for.
3084
+ - **Example · extension list panel**: the same chrome around the bulk bar and six contact rows
3085
+ of people SalesQL has no contact data for.
3086
+ - **Example · loaded vs loading**: the real pages next to their skeletons, to compare position
3087
+ and size at a glance.
3088
+
3089
+ In the extension these skeletons would replace the spinner the panel shows while the search
3090
+ runs; an unrevealed profile renders no rich sections, so neither does its skeleton.
3091
+
3092
+ ### Props
3093
+
3094
+ | Prop | Type | Default | Description |
3095
+ | ---------- | -------------------------------------------- | --------------- | ------------------------------------------------------------ |
3096
+ | `shape` | `'text' \| 'rect' \| 'circle'` | `'text'` | `DS_SKELETON_SHAPES`. |
3097
+ | `width` | `number \| string` | see below | Number = px; string = any CSS length (`'45%'`). |
3098
+ | `height` | `number \| string` | see below | Same. A circle with only one side uses it for both. |
3099
+ | `radius` | `'control' \| 'card' \| 'card-lg' \| 'full'` | shape's default | `DS_SKELETON_RADII` (DS radius tokens). Ignored on a circle. |
3100
+ | `animated` | `boolean` | `true` | Pulses while mounted. Never under `prefers-reduced-motion`. |
3101
+
3102
+ | Shape | Width | Height | Radius |
3103
+ | -------- | ------ | ------- | --------------- |
3104
+ | `text` | `100%` | 10px | `full` |
3105
+ | `rect` | `100%` | 40px | `control` |
3106
+ | `circle` | 40px | = width | `full` (always) |
3107
+
3108
+ ### Accessibility
3109
+
3110
+ - Every block is `aria-hidden`: it has nothing to say.
3111
+ - Wrap the layout in `DsSkeletonGroup` with the app's `label` («Loading profile»): it is
3112
+ `role="status"` and reads the label to screen readers only.
3113
+
3114
+ ### Design parity
3115
+
3116
+ The extension export has no page-level skeleton. The look comes from the table skeleton of the
3117
+ Prospector AI Search export and from `DsContactPlaceholder`'s bar:
3118
+
3119
+ - Fill `slate-tint` (export `--primary-tint` `#e7e9ea`), lines 10px fully rounded (export
3120
+ 10px / radius 5), boxes radius 4 (`control`), avatar box 40.
3121
+ - Motion: the export's `cd-pulse`, opacity 1 → 0.45 → 1, 1.4s ease-in-out, looped
3122
+ (`motion.$duration-pulse`, `motion.$easing-pulse`). Off under reduced motion.
3123
+
3124
+ **Logged delta:** the export draws the secondary line in `--grey-2` (`#e4e7eb`); every block
3125
+ here uses `slate-tint`, the two differ by a hair and one fill keeps the primitive simple.
3126
+
3127
+ ---
3128
+
3129
+ <!-- DsSkeletonGroup · Feedback -->
3130
+
3131
+ ## DsSkeletonGroup
3132
+
3133
+ Wraps a loading layout built from `DsSkeleton` blocks so it is announced **once**: the
3134
+ wrapper is `role="status"` and reads the app's `label` to screen readers only, while every
3135
+ block stays `aria-hidden`. The label lands 100ms after the wrapper mounts: screen readers skip a
3136
+ live region that is born with its text, so `v-if` on the group is safe. It draws nothing of its own (no layout, no spacing): the app lays
3137
+ out the blocks inside it. See `DsSkeleton` for composed examples (profile, list row).
3138
+
3139
+ ### Props
3140
+
3141
+ | Prop | Type | Default | Description |
3142
+ | ------- | -------- | ------- | ------------------------------------------------------------------- |
3143
+ | `label` | `string` | `''` | What is loading («Loading profile»), already translated by the app. |
3144
+
3145
+ ### Slots
3146
+
3147
+ | Slot | Description |
3148
+ | --------- | --------------------------------- |
3149
+ | `default` | The app's layout of `DsSkeleton`. |
3150
+
3151
+ ---
3152
+
3055
3153
  <!-- DsTooltip · Feedback -->
3056
3154
 
3057
3155
  ## DsTooltip
@@ -4045,6 +4143,8 @@ prospector, full-profile and contact-list drawers, and in the extension.
4045
4143
  | `firstName` | `string` | `''` | Used for the name and, without a photo, the avatar's initials. |
4046
4144
  | `lastName` | `string` | `''` | See `firstName`. |
4047
4145
  | `headline` | `string` | `''` | Job title / one-line summary. Empty → the headline row is not rendered. |
4146
+ | `company` | `string` | `''` | Second column, first line (name's style). With `jobTitle`, see below. |
4147
+ | `jobTitle` | `string` | `''` | Second column, second line (headline's style). |
4048
4148
  | `linkedinUrl` | `string` | `''` | Header LinkedIn badge target. Empty → no badge, no links row. |
4049
4149
  | `linkedinLabel` | `string` | `''` | Accessible name and tooltip content of the LinkedIn badge. |
4050
4150
  | `alt` | `string` | `undefined` | Passthrough to DsAvatar's `alt` (accessible label for the photo). |
@@ -4067,15 +4167,31 @@ prospector, full-profile and contact-list drawers, and in the extension.
4067
4167
  - **Headline:** single line, ellipsized. Hidden entirely when empty (no empty row, no
4068
4168
  empty tooltip wrapper).
4069
4169
 
4170
+ ### Second column (company / job title)
4171
+
4172
+ Passing `company` and/or `jobTitle` splits the body (the avatar is not counted) into two
4173
+ columns, **60% / 40%**. Column 1 is what the hero always had: name, headline, LinkedIn
4174
+ badge. Column 2 is top-aligned with the name and left-aligned: `company` in the name's text
4175
+ style, `jobTitle` below it in the headline's. Only one of them → column 2 shows just that
4176
+ line. Neither → no second column and the hero renders as before (name wraps, no name
4177
+ tooltip).
4178
+
4179
+ In the two-column layout **every text ellipsizes** (name, headline, company, job title).
4180
+ The 14px gutter between the columns lives inside column 1's 60%, so the split is exact.
4181
+
4182
+ **With `#actions`:** the icon sits over column 2's top-right corner, so the 24px
4183
+ `padding-right` that the name carries in the single-column hero moves to column 2's first
4184
+ line (the company, or the job title when there is no company). The name no longer needs it.
4185
+
4070
4186
  ### Tooltip: only when actually truncated
4071
4187
 
4072
- The headline is wrapped in a `DsTooltip`, but **a tooltip that repeats the fully visible
4188
+ The headline (and, in the two-column layout, the name, company and job title) is wrapped in a `DsTooltip`, but **a tooltip that repeats the fully visible
4073
4189
  text is noise** (Diego's rule) — so it only activates when the text is genuinely cut off.
4074
- On `mouseenter` / `focus` the component compares the headline `<span>`'s `scrollWidth` to
4190
+ On `mouseenter` / `focus` the component compares each text `<span>`'s `scrollWidth` to
4075
4191
  its `clientWidth`; DsTooltip's own `disabled` prop is driven by that result (mirroring
4076
4192
  how `DsSavedButton` gates its tooltip with `:disabled="!tooltip || open"`), so the
4077
- `content` prop stays the full headline throughout — only `disabled` changes. It's also
4078
- re-measured on mount and whenever `headline` changes, so the very first hover isn't the
4193
+ `content` prop stays the full text throughout — only `disabled` changes. It's also
4194
+ re-measured on mount and whenever its text (or the column layout) changes, so the very first hover isn't the
4079
4195
  only path to a correct state.
4080
4196
 
4081
4197
  ### Accessibility
package/llms.txt CHANGED
@@ -50,6 +50,8 @@
50
50
  - DsAlert (Feedback): Inline banner for status/confirmation messages (success, info, warning, error). It
51
51
  - DsModal (Feedback): Dialog with an optional header (title + close button) and footer action row, vertically
52
52
  - DsNotification (Feedback): Fixed-position toast card for transient feedback (saved, updated, failed…). It renders
53
+ - DsSkeleton (Feedback): One grey block that stands in for content that is still loading: a text line, a box or a
54
+ - DsSkeletonGroup (Feedback): Wraps a loading layout built from `DsSkeleton` blocks so it is announced **once**: the
53
55
  - DsTooltip (Feedback): Dark bubble that describes a wrapped trigger on hover or keyboard focus, with 4-way
54
56
  - DsCheckbox (Forms): Checked / unchecked / indeterminate selection control. **Presentational only**.
55
57
  - DsInput (Forms): Single-line text field — the DS "Input". **Presentational only**: it drives its own
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesql/sql_components_vue3",
3
- "version": "3.27.0",
3
+ "version": "3.29.0",
4
4
  "description": "Librería de componentes Vue 3 (SalesQL)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",