@salesql/sql_components_vue3 3.23.0 → 3.25.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.
Files changed (72) hide show
  1. package/dist/composables/shadowDom.d.ts +4 -0
  2. package/dist/composables/useTeleportTarget.d.ts +11 -0
  3. package/dist/constants/events.d.ts +6 -0
  4. package/dist/constants/pickers.d.ts +5 -0
  5. package/dist/index.cjs +1 -1
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.ts +31 -3
  8. package/dist/index.es.js +4204 -3040
  9. package/dist/index.es.js.map +1 -1
  10. package/dist/sql_components_vue3.css +1 -1
  11. package/dist/stories/ShadowRootStage.vue.d.ts +12 -0
  12. package/dist/ui/DsActionMenu/DsActionMenu.vue.d.ts +1 -1
  13. package/dist/ui/DsAddToBar/DsAddToBar.types.d.ts +4 -0
  14. package/dist/ui/DsAddToBar/DsAddToBar.vue.d.ts +22 -0
  15. package/dist/ui/DsAddToBar/index.d.ts +2 -0
  16. package/dist/ui/DsAddToSequence/DsAddToSequence.vue.d.ts +10 -1
  17. package/dist/ui/DsBrandLogo/DsBrandLogo.types.d.ts +13 -0
  18. package/dist/ui/DsBrandLogo/DsBrandLogo.vue.d.ts +34 -0
  19. package/dist/ui/DsBrandLogo/index.d.ts +2 -0
  20. package/dist/ui/DsBulkBar/DsBulkBar.types.d.ts +21 -0
  21. package/dist/ui/DsBulkBar/DsBulkBar.vue.d.ts +65 -0
  22. package/dist/ui/DsBulkBar/index.d.ts +2 -0
  23. package/dist/ui/DsButton/DsButton.vue.d.ts +3 -0
  24. package/dist/ui/DsContactGroups/DsContactGroups.types.d.ts +31 -0
  25. package/dist/ui/DsContactGroups/DsContactGroups.vue.d.ts +138 -0
  26. package/dist/ui/DsContactGroups/index.d.ts +2 -0
  27. package/dist/ui/DsContactRow/DsContactRow.types.d.ts +20 -0
  28. package/dist/ui/DsContactRow/DsContactRow.vue.d.ts +94 -0
  29. package/dist/ui/DsContactRow/index.d.ts +2 -0
  30. package/dist/ui/DsDrawer/DsDrawer.vue.d.ts +1 -1
  31. package/dist/ui/DsFullProfile/DsFullProfile.types.d.ts +11 -0
  32. package/dist/ui/DsFullProfile/DsFullProfile.vue.d.ts +56 -0
  33. package/dist/ui/DsFullProfile/index.d.ts +2 -0
  34. package/dist/ui/DsInput/DsInput.vue.d.ts +1 -1
  35. package/dist/ui/DsItemSelectorButton/DsItemSelectorButton.types.d.ts +2 -0
  36. package/dist/ui/DsItemSelectorButton/DsItemSelectorButton.vue.d.ts +9 -0
  37. package/dist/ui/DsModal/DsModal.vue.d.ts +1 -1
  38. package/dist/ui/DsNotification/DsNotification.vue.d.ts +27 -1
  39. package/dist/ui/DsNotification/notificationStack.d.ts +2 -1
  40. package/dist/ui/DsOrganizerForm/DsOrganizerForm.types.d.ts +1 -1
  41. package/dist/ui/DsOrganizerForm/DsOrganizerForm.vue.d.ts +2 -2
  42. package/dist/ui/DsPanelFrame/DsPanelFrame.types.d.ts +8 -0
  43. package/dist/ui/DsPanelFrame/DsPanelFrame.vue.d.ts +38 -0
  44. package/dist/ui/DsPanelFrame/index.d.ts +2 -0
  45. package/dist/ui/DsPanelHeader/DsPanelHeader.types.d.ts +8 -0
  46. package/dist/ui/DsPanelHeader/DsPanelHeader.vue.d.ts +36 -0
  47. package/dist/ui/DsPanelHeader/index.d.ts +2 -0
  48. package/dist/ui/DsPanelLauncher/DsPanelLauncher.types.d.ts +7 -0
  49. package/dist/ui/DsPanelLauncher/DsPanelLauncher.vue.d.ts +28 -0
  50. package/dist/ui/DsPanelLauncher/index.d.ts +2 -0
  51. package/dist/ui/DsPopover/DsPopover.vue.d.ts +2 -2
  52. package/dist/ui/DsProfileActionBar/DsProfileActionBar.types.d.ts +17 -0
  53. package/dist/ui/DsProfileActionBar/DsProfileActionBar.vue.d.ts +48 -0
  54. package/dist/ui/DsProfileActionBar/index.d.ts +2 -0
  55. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.types.d.ts +28 -0
  56. package/dist/ui/DsProfileContactDataCard/DsProfileContactDataCard.vue.d.ts +158 -0
  57. package/dist/ui/DsProfileContactDataCard/index.d.ts +2 -0
  58. package/dist/ui/DsProfileRichSections/DsProfileRichSections.types.d.ts +44 -0
  59. package/dist/ui/DsProfileRichSections/DsProfileRichSections.vue.d.ts +62 -0
  60. package/dist/ui/DsProfileRichSections/index.d.ts +2 -0
  61. package/dist/ui/DsSavedButton/DsSavedButton.types.d.ts +1 -1
  62. package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +12 -5
  63. package/dist/ui/DsTagPicker/DsTagPicker.types.d.ts +15 -2
  64. package/dist/ui/DsTagPicker/DsTagPicker.vue.d.ts +38 -5
  65. package/dist/ui/DsTooltip/DsTooltip.vue.d.ts +1 -1
  66. package/dist/ui/DsUpgradeNotice/DsUpgradeNotice.types.d.ts +13 -0
  67. package/dist/ui/DsUpgradeNotice/DsUpgradeNotice.vue.d.ts +43 -0
  68. package/dist/ui/DsUpgradeNotice/index.d.ts +2 -0
  69. package/llms-full.txt +802 -41
  70. package/llms.txt +13 -0
  71. package/package.json +1 -1
  72. package/src/icons/manifest.json +27 -0
@@ -0,0 +1,4 @@
1
+ /** The focused element, looking through open shadow roots. */
2
+ export declare function deepActiveElement(root?: Document | ShadowRoot): Element | null;
3
+ /** The node an event started on, even after it crossed a shadow boundary. */
4
+ export declare function eventOrigin(event: Event): EventTarget | null;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Where teleported overlays mount (modal, drawer, notification, `teleported` popover and tooltip).
3
+ * An app that lives inside a shadow root (a browser extension's content script) provides an
4
+ * element inside it; without it they mount in `<body>`, as always.
5
+ */
6
+ export declare const DS_TELEPORT_TARGET = "TeleportTarget";
7
+ export type DsTeleportTarget = string | HTMLElement;
8
+ export declare function useTeleportTarget(): DsTeleportTarget;
9
+ export declare function resolveTeleportTarget(target: DsTeleportTarget): HTMLElement | null;
10
+ /** Only an overlay that mounts in the page's own `<body>` may lock the page's scroll. */
11
+ export declare function targetsDocumentBody(target: DsTeleportTarget): boolean;
@@ -80,3 +80,9 @@ export declare const CANCEL: "cancel";
80
80
  export type CancelEventName = typeof CANCEL;
81
81
  export declare const SAVE: "save";
82
82
  export type SaveEventName = typeof SAVE;
83
+ export declare const OPEN: "open";
84
+ export type OpenEventName = typeof OPEN;
85
+ export declare const MINIMIZE: "minimize";
86
+ export type MinimizeEventName = typeof MINIMIZE;
87
+ export declare const UPDATE_SELECTED: "update:selected";
88
+ export type UpdateSelectedEventName = typeof UPDATE_SELECTED;
@@ -70,6 +70,11 @@ export declare function filterOptions<T extends {
70
70
  }>(options: readonly T[], query: string): T[];
71
71
  /** The panel opens below the trigger, aligned to the edge the consumer asked for. */
72
72
  export declare function pickerPlacement(align: DsPickerAlign): DsPopoverPlacement;
73
+ /**
74
+ * The swatches of the folder and tag form (`colors` of DsSavedButton / DsTagPicker), row by row,
75
+ * so every app offers the same palette.
76
+ */
77
+ export declare const DS_ORGANIZER_COLORS: readonly string[];
73
78
  /** Defaults under partials; a key a partial leaves `undefined` does not override. */
74
79
  export declare function mergeCopy<T extends object>(defaults: T, ...partials: ReadonlyArray<Partial<T> | undefined>): T;
75
80
  type ModeValidatorProps = Readonly<Record<string, unknown>>;