@dcodegroup-au/dsg-vue 0.1.36 → 0.1.38

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.
@@ -6,10 +6,15 @@ import { Placement as FloatingVuePlacement, TriggerEvent as FloatingVueTriggerEv
6
6
  */
7
7
  export type DsgTooltipTrigger = FloatingVueTriggerEvent;
8
8
  export type DsgTooltipPosition = FloatingVuePlacement;
9
- export type DsgTooltipTheme = 'light' | 'dark';
9
+ export type DsgTooltipTheme = "light" | "dark";
10
10
  export interface DsgTooltipProps {
11
11
  label?: string;
12
12
  supportingText?: string;
13
+ supportingTextHtml?: boolean;
14
+ width?: string;
15
+ maxWidth?: string;
16
+ titleClass?: string;
17
+ supportingTextClass?: string;
13
18
  position?: DsgTooltipPosition;
14
19
  triggers?: DsgTooltipTrigger[];
15
20
  autoHide?: boolean;
@@ -30,7 +35,7 @@ export interface DsgTooltipProps {
30
35
  theme?: DsgTooltipTheme;
31
36
  boundary?: HTMLElement | null | undefined;
32
37
  container?: HTMLElement | null | undefined;
33
- strategy?: 'fixed' | 'absolute';
38
+ strategy?: "fixed" | "absolute";
34
39
  }
35
40
  declare function __VLS_template(): {
36
41
  attrs: Partial<{}>;
@@ -1,4 +1,5 @@
1
1
  import { DsgBadgeProps } from '../Elements/DsgBadge.vue';
2
+ import { DsgTooltipProps } from '../Elements/DsgTooltip.vue';
2
3
  /**
3
4
  * -------------------------------------------------
4
5
  * # Setup: Props/Variables/Models
@@ -10,7 +11,8 @@ export interface DsgTabLink {
10
11
  href?: string;
11
12
  current: boolean;
12
13
  badge?: DsgBadgeProps;
13
- [key: string]: any;
14
+ tooltip?: DsgTooltipProps | null;
15
+ [key: string]: unknown;
14
16
  }
15
17
  export interface DsgTabProps {
16
18
  tabs: DsgTabLink[];
@@ -242,10 +242,34 @@ declare function __VLS_template(): {
242
242
  };
243
243
  } | {
244
244
  methods: {
245
- show(...args: any[]): any;
246
- hide(...args: any[]): any;
247
- dispose(...args: any[]): any;
248
- onResize(...args: any[]): any;
245
+ show(
246
+ /**
247
+ * ------------------------------------------------
248
+ * # Import: Dependencies
249
+ * ------------------------------------------------
250
+ */
251
+ ...args: any[]): any;
252
+ hide(
253
+ /**
254
+ * ------------------------------------------------
255
+ * # Import: Dependencies
256
+ * ------------------------------------------------
257
+ */
258
+ ...args: any[]): any;
259
+ dispose(
260
+ /**
261
+ * ------------------------------------------------
262
+ * # Import: Dependencies
263
+ * ------------------------------------------------
264
+ */
265
+ ...args: any[]): any;
266
+ onResize(
267
+ /**
268
+ * ------------------------------------------------
269
+ * # Import: Dependencies
270
+ * ------------------------------------------------
271
+ */
272
+ ...args: any[]): any;
249
273
  };
250
274
  }, import('vue').ComponentOptionsMixin, {
251
275
  show: () => true;
@@ -741,10 +765,34 @@ declare const __VLS_component: import('vue').DefineComponent<DsgTableFilterProps
741
765
  };
742
766
  } | {
743
767
  methods: {
744
- show(...args: any[]): any;
745
- hide(...args: any[]): any;
746
- dispose(...args: any[]): any;
747
- onResize(...args: any[]): any;
768
+ show(
769
+ /**
770
+ * ------------------------------------------------
771
+ * # Import: Dependencies
772
+ * ------------------------------------------------
773
+ */
774
+ ...args: any[]): any;
775
+ hide(
776
+ /**
777
+ * ------------------------------------------------
778
+ * # Import: Dependencies
779
+ * ------------------------------------------------
780
+ */
781
+ ...args: any[]): any;
782
+ dispose(
783
+ /**
784
+ * ------------------------------------------------
785
+ * # Import: Dependencies
786
+ * ------------------------------------------------
787
+ */
788
+ ...args: any[]): any;
789
+ onResize(
790
+ /**
791
+ * ------------------------------------------------
792
+ * # Import: Dependencies
793
+ * ------------------------------------------------
794
+ */
795
+ ...args: any[]): any;
748
796
  };
749
797
  }, import('vue').ComponentOptionsMixin, {
750
798
  show: () => true;