sit-onyx 1.0.0-beta.136 → 1.0.0-beta.138

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 (32) hide show
  1. package/dist/components/OnyxButton/OnyxButton.vue.d.ts +1 -1
  2. package/dist/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue.d.ts +2 -2
  3. package/dist/components/OnyxExternalLinkIcon/types.d.ts +2 -5
  4. package/dist/components/OnyxLink/OnyxLink.vue.d.ts +1 -1
  5. package/dist/components/OnyxLink/types.d.ts +3 -10
  6. package/dist/components/OnyxMiniSearch/OnyxMiniSearch.vue.d.ts +1 -1
  7. package/dist/components/OnyxNavBar/OnyxNavBar.vue.d.ts +2 -2
  8. package/dist/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue.d.ts +1 -3
  9. package/dist/components/OnyxNavBar/modules/OnyxMenuItem/types.d.ts +2 -7
  10. package/dist/components/OnyxNavBar/modules/OnyxNavButton/NavButtonTrigger.vue.d.ts +26 -0
  11. package/dist/components/OnyxNavBar/modules/OnyxNavButton/OnyxNavButton.vue.d.ts +10 -9
  12. package/dist/components/OnyxNavBar/modules/OnyxNavButton/types.d.ts +2 -2
  13. package/dist/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.vue.d.ts +1 -3
  14. package/dist/components/OnyxRipple/OnyxRipple.vue.d.ts +1 -1
  15. package/dist/components/OnyxRouterLink/OnyxRouterLink.vue.d.ts +21 -0
  16. package/dist/components/OnyxRouterLink/types.d.ts +22 -0
  17. package/dist/components/OnyxTabs/types.d.ts +2 -2
  18. package/dist/components/OnyxTooltip/OnyxTooltip.vue.d.ts +5 -5
  19. package/dist/composables/useLink.d.ts +15 -0
  20. package/dist/composables/useLink.spec-d.d.ts +1 -0
  21. package/dist/composables/useOpenDirection.d.ts +2 -2
  22. package/dist/composables/useRipple.d.ts +4 -4
  23. package/dist/composables/useWedgePosition.d.ts +2 -2
  24. package/dist/i18n/locales/en-US.json +1 -1
  25. package/dist/index.cjs +4 -4
  26. package/dist/index.d.ts +4 -0
  27. package/dist/index.js +1481 -1438
  28. package/dist/style.css +1 -1
  29. package/dist/utils/plugin.d.ts +8 -0
  30. package/dist/utils/router.d.ts +5 -0
  31. package/package.json +2 -1
  32. package/src/i18n/locales/en-US.json +1 -1
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<OnyxButtonProps, {}, {}, {
10
10
  rippleRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
11
11
  events: import("vue").Ref<Record<string, (event: MouseEvent) => void>, Record<string, (event: MouseEvent) => void>>;
12
12
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {
13
- rippleTrigger: HTMLSpanElement;
13
+ rippleTriggerRef: HTMLSpanElement;
14
14
  }, HTMLSpanElement, import("vue").ComponentProvideOptions, {
15
15
  P: {};
16
16
  B: {};
@@ -1,5 +1,5 @@
1
- import type { OnyxExternalLinkIcon } from "./types";
2
- declare const _default: import("vue").DefineComponent<OnyxExternalLinkIcon, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxExternalLinkIcon> & Readonly<{}>, {
1
+ import type { OnyxExternalLinkIconProps } from "./types";
2
+ declare const _default: import("vue").DefineComponent<OnyxExternalLinkIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxExternalLinkIconProps> & Readonly<{}>, {
3
3
  withExternalIcon: boolean | "auto";
4
4
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
5
  export default _default;
@@ -1,8 +1,5 @@
1
- export type OnyxExternalLinkIcon = {
2
- /**
3
- * The URL/link to point to.
4
- */
5
- href?: string;
1
+ import type { SharedLinkProps } from "../OnyxRouterLink/types";
2
+ export type OnyxExternalLinkIconProps = Partial<Pick<SharedLinkProps, "href">> & {
6
3
  /**
7
4
  * Whether to show the external link icon.
8
5
  * If set to `auto`, it will be shown when the `href` leads to another website
@@ -17,7 +17,7 @@ declare function __VLS_template(): {
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import("vue").DefineComponent<OnyxLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxLinkProps> & Readonly<{}>, {
20
- target: import("./types").LinkTarget;
20
+ target: import("../OnyxRouterLink/types.ts").LinkTarget;
21
21
  withExternalIcon: boolean | "auto";
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLAnchorElement>;
23
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,10 +1,3 @@
1
- import type { OnyxExternalLinkIcon } from "../OnyxExternalLinkIcon/types";
2
- export type OnyxLinkProps = OnyxExternalLinkIcon & {
3
- /**
4
- * Where to display the linked URL (same tab, new tab etc.).
5
- * For `_blank`, the `rel="noreferrer"` will be set automatically.
6
- */
7
- target?: LinkTarget;
8
- };
9
- export declare const LINK_TARGETS: readonly ["_self", "_blank", "_parent", "_top"];
10
- export type LinkTarget = (typeof LINK_TARGETS)[number];
1
+ import type { OnyxExternalLinkIconProps } from "../OnyxExternalLinkIcon/types";
2
+ import type { SharedLinkProps } from "../OnyxRouterLink/types";
3
+ export type OnyxLinkProps = OnyxExternalLinkIconProps & SharedLinkProps;
@@ -15,6 +15,6 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
15
15
  onClear?: (() => any) | undefined;
16
16
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
17
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
18
- input: HTMLInputElement;
18
+ inputRef: HTMLInputElement;
19
19
  }, any>;
20
20
  export default _default;
@@ -67,9 +67,9 @@ declare const __VLS_component: import("vue").DefineComponent<OnyxNavBarProps, {
67
67
  *
68
68
  * ```ts
69
69
  * const route = useRoute();
70
- * const navBarRef = ref<ComponentInstance<typeof OnyxNavBar>>();
70
+ * const navBar = useTemplateRef("navBarRef");
71
71
  *
72
- * watch(() => route.path, () => navBarRef.value?.closeMobileMenus());
72
+ * watch(() => route.path, () => navBar.value?.closeMobileMenus());
73
73
  * ```
74
74
  */
75
75
  closeMobileMenus: () => void;
@@ -16,9 +16,7 @@ declare function __VLS_template(): {
16
16
  rootEl: HTMLLIElement;
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import("vue").DefineComponent<OnyxMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxMenuItemProps> & Readonly<{}>, {
20
- target: import("../../../OnyxLink/types.ts").LinkTarget;
21
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
19
+ declare const __VLS_component: import("vue").DefineComponent<OnyxMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
22
20
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
21
  export default _default;
24
22
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,11 +1,6 @@
1
1
  import type { OnyxColor } from "../../../../types";
2
- import type { OnyxLinkProps } from "../../../OnyxLink/types";
3
- export type OnyxMenuItemProps = Pick<OnyxLinkProps, "target"> & {
4
- /**
5
- * URL that the menu item points to.
6
- * If the property is set the menuitem will act as an anchor, otherwise it will act as an button.
7
- */
8
- href?: string;
2
+ import type { WithLinkProp } from "../../../OnyxRouterLink/types";
3
+ export type OnyxMenuItemProps = WithLinkProp & {
9
4
  /**
10
5
  * Whether the menu item is currently active.
11
6
  * This is the case if the given link is currently opened.
@@ -0,0 +1,26 @@
1
+ import type { OnyxNavButtonProps } from "./types";
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: Readonly<{
5
+ /**
6
+ * Trigger of the nav button (e.g. a native button or link component).
7
+ */
8
+ default(): unknown;
9
+ }> & {
10
+ /**
11
+ * Trigger of the nav button (e.g. a native button or link component).
12
+ */
13
+ default(): unknown;
14
+ };
15
+ refs: {};
16
+ rootEl: any;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import("vue").DefineComponent<OnyxNavButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxNavButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -30,8 +30,9 @@ declare function __VLS_template(): {
30
30
  $data: {};
31
31
  $props: {
32
32
  readonly mobileChildrenOpen?: boolean | undefined;
33
- readonly href?: string | undefined;
34
- readonly withExternalIcon?: (boolean | "auto") | undefined;
33
+ readonly link?: string | (import("../../../OnyxRouterLink/types.ts").SharedLinkProps & Partial<Pick<import("../../../OnyxRouterLink/types.ts").SharedLinkProps, "href">> & {
34
+ withExternalIcon?: boolean | "auto";
35
+ }) | undefined;
35
36
  readonly label: string;
36
37
  readonly active?: boolean | undefined;
37
38
  readonly isMobile: boolean;
@@ -53,7 +54,7 @@ declare function __VLS_template(): {
53
54
  $el: HTMLLIElement;
54
55
  $options: import("vue").ComponentOptionsBase<Readonly<{
55
56
  mobileChildrenOpen?: boolean;
56
- } & import("../../../OnyxExternalLinkIcon/types.ts").OnyxExternalLinkIcon & {
57
+ } & import("../../../OnyxRouterLink/types.ts").WithLinkProp<true> & {
57
58
  label: string;
58
59
  active?: boolean;
59
60
  } & {
@@ -84,7 +85,7 @@ declare function __VLS_template(): {
84
85
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
85
86
  } & Readonly<{}> & Omit<Readonly<{
86
87
  mobileChildrenOpen?: boolean;
87
- } & import("../../../OnyxExternalLinkIcon/types.ts").OnyxExternalLinkIcon & {
88
+ } & import("../../../OnyxRouterLink/types.ts").WithLinkProp<true> & {
88
89
  label: string;
89
90
  active?: boolean;
90
91
  } & {
@@ -116,15 +117,15 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
116
117
  "onUpdate:mobileChildrenOpen"?: ((value: boolean) => any) | undefined;
117
118
  }>, {
118
119
  active: boolean;
119
- withExternalIcon: boolean | "auto";
120
120
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
121
121
  componentRef: ({
122
122
  $: import("vue").ComponentInternalInstance;
123
123
  $data: {};
124
124
  $props: {
125
125
  readonly mobileChildrenOpen?: boolean | undefined;
126
- readonly href?: string | undefined;
127
- readonly withExternalIcon?: (boolean | "auto") | undefined;
126
+ readonly link?: string | (import("../../../OnyxRouterLink/types.ts").SharedLinkProps & Partial<Pick<import("../../../OnyxRouterLink/types.ts").SharedLinkProps, "href">> & {
127
+ withExternalIcon?: boolean | "auto";
128
+ }) | undefined;
128
129
  readonly label: string;
129
130
  readonly active?: boolean | undefined;
130
131
  readonly isMobile: boolean;
@@ -146,7 +147,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
146
147
  $el: HTMLLIElement;
147
148
  $options: import("vue").ComponentOptionsBase<Readonly<{
148
149
  mobileChildrenOpen?: boolean;
149
- } & import("../../../OnyxExternalLinkIcon/types.ts").OnyxExternalLinkIcon & {
150
+ } & import("../../../OnyxRouterLink/types.ts").WithLinkProp<true> & {
150
151
  label: string;
151
152
  active?: boolean;
152
153
  } & {
@@ -177,7 +178,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
177
178
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
178
179
  } & Readonly<{}> & Omit<Readonly<{
179
180
  mobileChildrenOpen?: boolean;
180
- } & import("../../../OnyxExternalLinkIcon/types.ts").OnyxExternalLinkIcon & {
181
+ } & import("../../../OnyxRouterLink/types.ts").WithLinkProp<true> & {
181
182
  label: string;
182
183
  active?: boolean;
183
184
  } & {
@@ -1,5 +1,5 @@
1
- import type { OnyxExternalLinkIcon } from "../../../OnyxExternalLinkIcon/types";
2
- export type OnyxNavButtonProps = OnyxExternalLinkIcon & {
1
+ import type { WithLinkProp } from "../../../OnyxRouterLink/types";
2
+ export type OnyxNavButtonProps = WithLinkProp<true> & {
3
3
  /**
4
4
  * Label to show inside the Nav item.
5
5
  * You can use the `default` slot to display custom content.
@@ -19,9 +19,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("../index.ts
19
19
  navigate: (href: string, event: MouseEvent) => any;
20
20
  }, string, import("vue").PublicProps, Readonly<import("../index.ts").OnyxNavButtonProps> & Readonly<{
21
21
  onNavigate?: ((href: string, event: MouseEvent) => any) | undefined;
22
- }>, {
23
- withExternalIcon: boolean | "auto";
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
25
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
24
  export default _default;
27
25
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  events: import("vue").Ref<Record<string, (event: MouseEvent) => void>, Record<string, (event: MouseEvent) => void>>;
3
3
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
4
- rippleTrigger: HTMLSpanElement;
4
+ rippleTriggerRef: HTMLSpanElement;
5
5
  }, HTMLSpanElement>;
6
6
  export default _default;
@@ -0,0 +1,21 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: Readonly<{
4
+ default(): unknown;
5
+ }> & {
6
+ default(): unknown;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLAnchorElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import("vue").DefineComponent<import("./types").SharedLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./types").SharedLinkProps> & Readonly<{}>, {
13
+ target: import("./types").LinkTarget;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLAnchorElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,22 @@
1
+ import type { OnyxExternalLinkIconProps } from "../OnyxExternalLinkIcon/types";
2
+ export type OnyxRouterLinkProps = SharedLinkProps;
3
+ export type SharedLinkProps = {
4
+ /**
5
+ * The URL/link to point to.
6
+ * Will use the projects router for internal links if provided, see [OnyxRouterLink](https://storybook.onyx.schwarz/?path=/docs/support-routerlink--docs) for further details.
7
+ */
8
+ href: string;
9
+ /**
10
+ * Where to display the linked URL (same tab, new tab etc.).
11
+ * For `_blank`, the `rel="noreferrer"` will be set automatically.
12
+ */
13
+ target?: LinkTarget;
14
+ };
15
+ export declare const LINK_TARGETS: readonly ["_self", "_blank", "_parent", "_top"];
16
+ export type LinkTarget = (typeof LINK_TARGETS)[number];
17
+ export type WithLinkProp<TExternalLink extends boolean = false> = {
18
+ /**
19
+ * If set, the component will be rendered as link instead of a button.
20
+ */
21
+ link?: string | (TExternalLink extends true ? SharedLinkProps & OnyxExternalLinkIconProps : SharedLinkProps);
22
+ };
@@ -1,5 +1,5 @@
1
1
  import type { createTabs } from "@sit-onyx/headless";
2
- import type { InjectionKey, Ref } from "vue";
2
+ import type { InjectionKey, Ref, ShallowRef } from "vue";
3
3
  import type { DensityProp } from "../../composables/density";
4
4
  import type { SkeletonProvidedProp } from "../../composables/useSkeletonState";
5
5
  import type { HeadlineType } from "../OnyxHeadline/types";
@@ -31,7 +31,7 @@ export type TabsInjectionKey<TValue extends PropertyKey = PropertyKey> = Injecti
31
31
  * Ref to the parent tabs element where the child tabs should be teleported to
32
32
  * to maintain the correct HTML structure.
33
33
  */
34
- panelRef: Ref<HTMLElement | undefined>;
34
+ panel: Readonly<ShallowRef<HTMLElement | null>>;
35
35
  /**
36
36
  * Tab size passed down from the parent so it can be set once for all tabs.
37
37
  */
@@ -1,4 +1,4 @@
1
- import type { AriaAttributes, VNode } from "vue";
1
+ import { type AriaAttributes, type VNode } from "vue";
2
2
  import type { OnyxTooltipProps } from "./types";
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -34,8 +34,8 @@ declare function __VLS_template(): {
34
34
  tooltip?(): unknown;
35
35
  };
36
36
  refs: {
37
- tooltipWrapperRef: HTMLDivElement;
38
- tooltipRef: HTMLDivElement;
37
+ tooltipWrapperRefEl: HTMLDivElement;
38
+ tooltipRefEl: HTMLDivElement;
39
39
  };
40
40
  rootEl: HTMLDivElement;
41
41
  };
@@ -48,8 +48,8 @@ declare const __VLS_component: import("vue").DefineComponent<OnyxTooltipProps, {
48
48
  fitParent: boolean;
49
49
  alignsWithEdge: boolean;
50
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
51
- tooltipWrapperRef: HTMLDivElement;
52
- tooltipRef: HTMLDivElement;
51
+ tooltipWrapperRefEl: HTMLDivElement;
52
+ tooltipRefEl: HTMLDivElement;
53
53
  }, HTMLDivElement>;
54
54
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
55
55
  export default _default;
@@ -0,0 +1,15 @@
1
+ import { type InjectionKey } from "vue";
2
+ /**
3
+ * Internal behavior of the `OnyxRouterLink`. Should be used for navigation. Considers the user provided router.
4
+ */
5
+ export declare const useLink: () => {
6
+ navigate: (e: MouseEvent, href: string) => void;
7
+ };
8
+ export type ProvideRouterOptions = {
9
+ /**
10
+ * Programmatically navigate to a new URL.
11
+ * @see https://router.vuejs.org/api/interfaces/Router.html#push-
12
+ */
13
+ push: (to: string) => void;
14
+ };
15
+ export declare const ROUTER_INJECTION_KEY: InjectionKey<ProvideRouterOptions>;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,6 @@
1
- import { type MaybeRef } from "vue";
1
+ import { type ShallowRef } from "vue";
2
2
  export type OpenDirection = "top" | "bottom";
3
- export declare const useOpenDirection: (element: MaybeRef<Element | undefined>, defaultDirection?: OpenDirection) => {
3
+ export declare const useOpenDirection: (element: Readonly<ShallowRef<Element | null | undefined>>, defaultDirection?: OpenDirection) => {
4
4
  /**
5
5
  * Direction in which the flyout etc. should open to.
6
6
  */
@@ -1,15 +1,15 @@
1
- import { type Ref } from "vue";
1
+ import { type ShallowRef } from "vue";
2
2
  export type RippleInstance = {
3
3
  id: string;
4
4
  left: string;
5
5
  top: string;
6
6
  animationEnded: boolean;
7
7
  };
8
- export declare const useRipple: (container: Ref<Pick<HTMLElement, "getBoundingClientRect"> | undefined>) => {
9
- isPointerDown: Ref<boolean, boolean>;
8
+ export declare const useRipple: (container: Readonly<ShallowRef<Pick<HTMLElement, "getBoundingClientRect"> | null>>) => {
9
+ isPointerDown: import("vue").Ref<boolean, boolean>;
10
10
  ripples: import("vue").Reactive<Map<string, RippleInstance>>;
11
11
  startRipple: (event: MouseEvent) => string | undefined;
12
12
  hideRipples: () => void;
13
13
  hideRipple: (el: Pick<HTMLElement, "dataset">) => void;
14
- events: Ref<Record<string, (event: MouseEvent) => void>, Record<string, (event: MouseEvent) => void>>;
14
+ events: import("vue").Ref<Record<string, (event: MouseEvent) => void>, Record<string, (event: MouseEvent) => void>>;
15
15
  };
@@ -1,6 +1,6 @@
1
- import { type MaybeRef } from "vue";
1
+ import { type ShallowRef } from "vue";
2
2
  export type WedgePosition = "center" | "left" | "right";
3
- export declare const useWedgePosition: (element: MaybeRef<Element | undefined>, tooltipElement: MaybeRef<Element | undefined>) => {
3
+ export declare const useWedgePosition: (element: Readonly<ShallowRef<Element | null>>, tooltipElement: Readonly<ShallowRef<Element | null>>) => {
4
4
  /**
5
5
  * Direction in which the flyout etc. should open to.
6
6
  */
@@ -96,7 +96,7 @@
96
96
  "empty": "This table is empty."
97
97
  },
98
98
  "link": {
99
- "opensExternally": "Opens in a new tab."
99
+ "opensExternally": "(opens in a new tab)"
100
100
  },
101
101
  "navItemOptionsLabel": "Subpages of {label}",
102
102
  "navigation": {