@salesql/sql_components_vue3 4.2.0 → 4.4.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.
@@ -47,4 +47,6 @@ export interface DsAddToSequenceProps {
47
47
  pill?: boolean;
48
48
  align?: DsPickerAlign;
49
49
  disabled?: boolean;
50
+ /** Fills its box (the consumer sets the root's flex) and truncates the label with an ellipsis. */
51
+ block?: boolean;
50
52
  }
@@ -82,6 +82,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
82
82
  type: BooleanConstructor;
83
83
  default: boolean;
84
84
  };
85
+ block: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
85
89
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
86
90
  search: (...args: any[]) => void;
87
91
  "update:open": (...args: any[]) => void;
@@ -168,6 +172,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
168
172
  type: BooleanConstructor;
169
173
  default: boolean;
170
174
  };
175
+ block: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ };
171
179
  }>> & Readonly<{
172
180
  onSearch?: ((...args: any[]) => any) | undefined;
173
181
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
@@ -179,6 +187,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
179
187
  disabled: boolean;
180
188
  loading: boolean;
181
189
  pill: boolean;
190
+ block: boolean;
182
191
  loadingLabel: string;
183
192
  tooltip: string;
184
193
  teleported: boolean;
@@ -5,6 +5,6 @@ export interface DsHighlightSegment {
5
5
  }
6
6
  export interface DsHighlightTextProps {
7
7
  text: string;
8
- /** Case- and accent-insensitive plain text; blank ones ignored. Empty → nothing marked. */
8
+ /** Whole words, case- and accent-insensitive plain text; blank ones ignored. Empty → nothing marked. */
9
9
  terms?: string[];
10
10
  }
@@ -1,6 +1,7 @@
1
1
  import type { DsHighlightSegment } from './DsHighlightText.types';
2
2
  /**
3
- * Splits `text` into marked and unmarked runs, ignoring case and accents; overlapping or
4
- * touching matches merge into one run. Terms are plain text, never patterns.
3
+ * Splits `text` into marked and unmarked runs, ignoring case and accents; a term marks
4
+ * whole words only. Overlapping or touching matches merge into one run. Terms are plain
5
+ * text, never patterns.
5
6
  */
6
7
  export declare function splitHighlights(text: string, terms: readonly string[]): DsHighlightSegment[];
package/llms-full.txt CHANGED
@@ -1,4 +1,4 @@
1
- # @salesql/sql_components_vue3 — SalesQL Design System (v4.2.0)
1
+ # @salesql/sql_components_vue3 — SalesQL Design System (v4.4.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
 
@@ -332,6 +332,7 @@ so Add never sends a campaign the user cannot see. One still listed keeps its pl
332
332
  | `align` | `'start' \| 'end'` | `'end'` | Which trigger edge the 288px panel hangs from. |
333
333
  | `disabled` | `boolean` | `false` | |
334
334
  | `teleported` | `boolean` | `false` | Render the picker panel in `<body>` (or the app's `DS_TELEPORT_TARGET`), so a scroll container doesn't clip it. |
335
+ | `block` | `boolean` | `false` | Fill the box: the trigger takes the root's width (set its `flex`), centres icon + label and truncates the label with an ellipsis. |
335
336
 
336
337
  ### Events
337
338
 
@@ -5171,7 +5172,7 @@ prospector, full-profile and contact-list drawers, and in the extension.
5171
5172
  | `jobTitle` | `string` | `''` | Job title of the primary position, bold, first part of the title line. Empty → no title line. |
5172
5173
  | `company` | `string` | `''` | Company of the primary position, after `atLabel`. |
5173
5174
  | `atLabel` | `string` | `''` | The connector («at»), translated by the app. Empty → the company is left out. |
5174
- | `highlightTerms` | `string[]` | `[]` | Terms marked in the job title and the headline (`DsHighlightText`). |
5175
+ | `highlightTerms` | `string[]` | `[]` | Terms marked as whole words in the job title and the headline (`DsHighlightText`). |
5175
5176
  | `headlineMatched` | `boolean` | `false` | The title matched only through the headline → shows the match badge. |
5176
5177
  | `headlineMatchedLabel` | `string` | `''` | The badge's text («Matched in headline»). Empty → no badge. |
5177
5178
  | `details` | `string[]` | `[]` | Small line under the headline, joined with « · »; empty items dropped. |
@@ -5518,10 +5519,14 @@ Using the same component in both places keeps the highlight identical.
5518
5519
 
5519
5520
  ### Props
5520
5521
 
5521
- | Prop | Type | Default | Description |
5522
- | ------- | ---------- | ------- | --------------------------------------------------------------------------------- |
5523
- | `text` | `string` | — | The text. Rendered as text nodes, never as HTML. |
5524
- | `terms` | `string[]` | `[]` | Ignores case and accents; trimmed; blank ones ignored; overlapping matches merge. |
5522
+ | Prop | Type | Default | Description |
5523
+ | ------- | ---------- | ------- | --------------------------------------------------------------------------------------------------- |
5524
+ | `text` | `string` | — | The text. Rendered as text nodes, never as HTML. |
5525
+ | `terms` | `string[]` | `[]` | Whole words only; ignores case and accents; trimmed; blank ones ignored; overlapping matches merge. |
5526
+
5527
+ A term marks only where its letter or digit edges meet a non-word character or the end of
5528
+ the text: «cto» marks «CTO / …» but never «Director», and «data engineer» never marks «data
5529
+ engineering». Accented letters count as letters, so «dato» does not mark «Datos».
5525
5530
 
5526
5531
  `splitHighlights(text, terms)` is exported too, for a consumer that needs the runs
5527
5532
  (`{ text, match }[]`) without the component.
@@ -5547,7 +5552,7 @@ Every string is app copy.
5547
5552
 
5548
5553
  ### Events
5549
5554
 
5550
- `toggle` (column id) · `reorder` (the **full** list of ids in the new order, hidden columns included).
5555
+ `toggle` (column id) · `reorder` (the **full** list of ids in the new order, hidden columns included, then the id of the column that moved).
5551
5556
 
5552
5557
  ### Behaviour
5553
5558
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesql/sql_components_vue3",
3
- "version": "4.2.0",
3
+ "version": "4.4.0",
4
4
  "description": "Librería de componentes Vue 3 (SalesQL)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",