@salesql/sql_components_vue3 3.35.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 +9 -5
- package/dist/index.es.js +4540 -3967
- 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/DsConfirmDialog/DsConfirmDialog.types.d.ts +13 -2
- package/dist/ui/DsConfirmDialog/DsConfirmDialog.vue.d.ts +16 -3
- 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 +281 -77
- package/llms.txt +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
/** What `capture` remembers of the focused control before a re-render. */
|
|
3
|
+
export interface FocusHandoffBefore {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Keeps keyboard focus inside a component when one of its own focused controls leaves on a
|
|
8
|
+
* re-render: focus goes to the first `candidates` entry that takes it, else to `root` (give it
|
|
9
|
+
* tabindex -1). Focus the app moved elsewhere, or that was never inside, is not touched.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useFocusHandoff<T extends FocusHandoffBefore>(root: Ref<HTMLElement | null>, capture: (active: Element | null) => T | null, candidates?: (before: T) => HTMLElement[]): void;
|
|
@@ -16,6 +16,10 @@ export declare const COPY: "copy";
|
|
|
16
16
|
export type CopyEventName = typeof COPY;
|
|
17
17
|
export declare const REVEAL: "reveal";
|
|
18
18
|
export type RevealEventName = typeof REVEAL;
|
|
19
|
+
export declare const REVEAL_EMAILS: "reveal-emails";
|
|
20
|
+
export type RevealEmailsEventName = typeof REVEAL_EMAILS;
|
|
21
|
+
export declare const REVEAL_PHONES: "reveal-phones";
|
|
22
|
+
export type RevealPhonesEventName = typeof REVEAL_PHONES;
|
|
19
23
|
export declare const CORRECT: "correct";
|
|
20
24
|
export type CorrectEventName = typeof CORRECT;
|
|
21
25
|
export declare const INCORRECT: "incorrect";
|