@salesql/sql_components_vue3 3.10.1 → 3.11.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/README.md CHANGED
@@ -83,9 +83,7 @@ pnpm build # build de la librería (regenera también los docs LLM)
83
83
  pnpm dev:stories # arranca Histoire
84
84
  pnpm docs:generate # regenera llms.txt + llms-full.txt (docs para agentes)
85
85
  pnpm typecheck # chequeo estricto de tipos
86
- pnpm changeset # crear un changeset
87
- pnpm release:version # aplicar changeset y subir versión
88
- pnpm release:publish # publicar a npm
86
+ pnpm changeset # crear un changeset (la release la hace CI: ver PUBLISHING.md del repo)
89
87
  pnpm reset # limpiar node_modules + reinstalar + aprobar builds
90
88
  ```
91
89
 
@@ -310,18 +308,9 @@ pnpm typecheck
310
308
  pnpm build
311
309
  ```
312
310
 
313
- ### 6. Versionado
311
+ ### 6. Versionado y publicación
314
312
 
315
- ```bash
316
- pnpm changeset
317
- pnpm release:version
318
- ```
319
-
320
- ### 7. Publicación
321
-
322
- ```bash
323
- pnpm release:publish
324
- ```
313
+ Los cambios se registran con `pnpm changeset`; la versión y la publicación las hace CI (ver `PUBLISHING.md` del repo).
325
314
 
326
315
  ---
327
316
 
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Writes to the system clipboard. `copy` resolves `true` only once the text is on the
3
+ * clipboard and the component is still mounted; it never rejects. Internal.
4
+ */
5
+ export declare function useClipboardCopy(): {
6
+ copy: (text: string) => Promise<boolean>;
7
+ };
@@ -0,0 +1,9 @@
1
+ import { type CSSProperties, type Ref } from 'vue';
2
+ export interface TeleportAnchorOptions {
3
+ onTriggerHidden?: () => void;
4
+ }
5
+ export declare function useTeleportAnchor(rootRef: Ref<HTMLElement | null>, { onTriggerHidden }?: TeleportAnchorOptions): {
6
+ anchorStyle: import("vue").ComputedRef<CSSProperties>;
7
+ track: () => void;
8
+ untrack: () => void;
9
+ };
@@ -13,11 +13,12 @@ export type ClampSide = 'top' | 'bottom' | 'left' | 'right' | 'over';
13
13
  */
14
14
  export type ClampPlacement = ClampSide | `${ClampSide}-start` | `${ClampSide}-end`;
15
15
  /**
16
- * Turns the main-axis FLIP on for `useViewportClamp` (DsPopover only — see the module
17
- * header). `trigger` is the element the floating panel is placed against: DsPopover's root,
18
- * whose rect a `teleported` anchor mirrors, so this is the same ref either way. `gap` mirrors
19
- * the CSS gap between panel and trigger, so the free-space math matches what the CSS
20
- * actually renders (DsPopover's `PANEL_GAP`, next to the `calc(100% + 6px)` it repeats).
16
+ * Turns the main-axis FLIP on for `useViewportClamp` (DsPopover and DsTooltip pass it — see
17
+ * the module header). `trigger` is the element the floating panel is placed against: the
18
+ * component's root, whose rect a `teleported` anchor mirrors, so this is the same ref either
19
+ * way. `gap` mirrors the CSS gap between panel and trigger, so the free-space math matches
20
+ * what the CSS actually renders (`PANEL_GAP` in DsPopover, `BUBBLE_GAP` in DsTooltip, each
21
+ * next to the `calc(100% + 6px)` it repeats).
21
22
  */
22
23
  export interface ClampFlipOptions {
23
24
  trigger: Ref<HTMLElement | null>;
@@ -35,8 +35,8 @@ export declare function contactTypeIcon(type: DsContactType, kind?: DsContactKin
35
35
  *
36
36
  * legacy view model (§3.8) typed `contact_data` block (§3.11)
37
37
  * id: item.id item.uid
38
- * value: item.value item.is_revealed ? item.value : item.preview
39
- * masked: item.isMasked !item.is_revealed
38
+ * value: item.value masked ? item.preview : item.value
39
+ * masked: item.isMasked !item.is_revealed || item.value === null
40
40
  * valid: item.status === 'valid' item.verification === 'valid'
41
41
  * primary: item.isPrimary item.is_primary
42
42
  *