@oub/fusion 0.2.29 → 0.2.31

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.
@@ -11,3 +11,5 @@ export interface FusionTextLinkStates extends FusionElementStates {
11
11
  showIcon: boolean;
12
12
  iconPlacement: keyof FusionTextLinkIconPlacement;
13
13
  }
14
+
15
+ export type FusionTextLinkElement = "a" | "button";
@@ -1,6 +1,6 @@
1
1
  import { type PropType } from "vue";
2
2
  import type { VariantTypes, Sizes } from '../../../../types/Global.d.ts';
3
- import type { FusionTextLinkIconPlacement } from './FusionTextLink';
3
+ import type { FusionTextLinkIconPlacement, FusionTextLinkElement } from './FusionTextLink';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  id: {
6
6
  type: StringConstructor;
@@ -13,7 +13,6 @@ declare const _default: import("vue").DefineComponent<{
13
13
  };
14
14
  href: {
15
15
  type: StringConstructor;
16
- required: false;
17
16
  default: string;
18
17
  };
19
18
  target: {
@@ -47,10 +46,16 @@ declare const _default: import("vue").DefineComponent<{
47
46
  type: StringConstructor;
48
47
  default: string;
49
48
  };
49
+ elementType: {
50
+ type: PropType<FusionTextLinkElement>;
51
+ default: string;
52
+ };
50
53
  }, unknown, unknown, {
51
54
  sizeClasses(): "fusion-text-link-small" | "fusion-text-link-regular";
52
55
  variationClasses(): "" | "fusion-text-link-primary" | "fusion-text-link-secondary";
53
56
  iconClasses(): "" | "fusion-text-link-icon-left" | "fusion-text-link-icon-right";
57
+ buttonClasses(): "" | "fusion-text-link-button";
58
+ isButton(): boolean;
54
59
  }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input:blur" | "input:focus")[], "input:blur" | "input:focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
55
60
  id: {
56
61
  type: StringConstructor;
@@ -63,7 +68,6 @@ declare const _default: import("vue").DefineComponent<{
63
68
  };
64
69
  href: {
65
70
  type: StringConstructor;
66
- required: false;
67
71
  default: string;
68
72
  };
69
73
  target: {
@@ -97,6 +101,10 @@ declare const _default: import("vue").DefineComponent<{
97
101
  type: StringConstructor;
98
102
  default: string;
99
103
  };
104
+ elementType: {
105
+ type: PropType<FusionTextLinkElement>;
106
+ default: string;
107
+ };
100
108
  }>> & {
101
109
  "onInput:blur"?: ((...args: any[]) => any) | undefined;
102
110
  "onInput:focus"?: ((...args: any[]) => any) | undefined;
@@ -110,5 +118,6 @@ declare const _default: import("vue").DefineComponent<{
110
118
  tabIndex: string;
111
119
  href: string;
112
120
  iconPlacement: keyof FusionTextLinkIconPlacement;
121
+ elementType: FusionTextLinkElement;
113
122
  }, {}>;
114
123
  export default _default;