@solfacil/girassol 0.26.2 → 0.27.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/girassol.es.js +379 -355
- package/dist/girassol.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/steps/Steps.vue.d.ts +7 -0
- package/dist/types/components/steps/types.d.ts +7 -0
- package/dist/types/index.d.ts +19 -0
- package/package.json +1 -1
- package/theme/solfacil/miscs.ts +4 -2
|
@@ -3,8 +3,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
3
3
|
id: Steps['id'];
|
|
4
4
|
steps: Steps['steps'];
|
|
5
5
|
direction?: Steps['direction'];
|
|
6
|
+
linkTag?: Steps['linkTag'];
|
|
7
|
+
gtmId: Steps['gtmId'];
|
|
6
8
|
}>, {
|
|
7
9
|
direction: string;
|
|
10
|
+
linkTag: string;
|
|
8
11
|
steps: () => {
|
|
9
12
|
key: string;
|
|
10
13
|
text: string;
|
|
@@ -14,14 +17,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
17
|
id: Steps['id'];
|
|
15
18
|
steps: Steps['steps'];
|
|
16
19
|
direction?: Steps['direction'];
|
|
20
|
+
linkTag?: Steps['linkTag'];
|
|
21
|
+
gtmId: Steps['gtmId'];
|
|
17
22
|
}>, {
|
|
18
23
|
direction: string;
|
|
24
|
+
linkTag: string;
|
|
19
25
|
steps: () => {
|
|
20
26
|
key: string;
|
|
21
27
|
text: string;
|
|
22
28
|
subtitle: string;
|
|
23
29
|
}[];
|
|
24
30
|
}>>>, {
|
|
31
|
+
linkTag: "a" | "router-link" | import("./types").NuxtLinkResolved;
|
|
25
32
|
direction: "row" | "column";
|
|
26
33
|
steps: Steps['steps'];
|
|
27
34
|
}>;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import type { resolveComponent } from "vue";
|
|
2
|
+
export type NuxtLinkResolved = Exclude<ReturnType<typeof resolveComponent>, string>;
|
|
1
3
|
export interface Steps {
|
|
2
4
|
id: string;
|
|
3
5
|
steps?: Step[];
|
|
4
6
|
direction?: 'row' | 'column';
|
|
7
|
+
linkTag?: 'a' | 'router-link' | NuxtLinkResolved;
|
|
8
|
+
gtmId?: string;
|
|
5
9
|
}
|
|
6
10
|
export type Step = {
|
|
7
11
|
key: string;
|
|
@@ -9,4 +13,7 @@ export type Step = {
|
|
|
9
13
|
finished?: boolean;
|
|
10
14
|
subtitle?: string;
|
|
11
15
|
current?: boolean;
|
|
16
|
+
href?: string;
|
|
17
|
+
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
18
|
+
rel?: string;
|
|
12
19
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5311,6 +5311,15 @@ export declare const components: {
|
|
|
5311
5311
|
type: import("vue").PropType<string>;
|
|
5312
5312
|
required: true;
|
|
5313
5313
|
};
|
|
5314
|
+
linkTag: {
|
|
5315
|
+
type: import("vue").PropType<"a" | "router-link" | import("./components/steps/types").NuxtLinkResolved>;
|
|
5316
|
+
} & {
|
|
5317
|
+
default: string;
|
|
5318
|
+
};
|
|
5319
|
+
gtmId: {
|
|
5320
|
+
type: import("vue").PropType<string | undefined>;
|
|
5321
|
+
required: true;
|
|
5322
|
+
};
|
|
5314
5323
|
direction: {
|
|
5315
5324
|
type: import("vue").PropType<"row" | "column">;
|
|
5316
5325
|
} & {
|
|
@@ -5331,6 +5340,15 @@ export declare const components: {
|
|
|
5331
5340
|
type: import("vue").PropType<string>;
|
|
5332
5341
|
required: true;
|
|
5333
5342
|
};
|
|
5343
|
+
linkTag: {
|
|
5344
|
+
type: import("vue").PropType<"a" | "router-link" | import("./components/steps/types").NuxtLinkResolved>;
|
|
5345
|
+
} & {
|
|
5346
|
+
default: string;
|
|
5347
|
+
};
|
|
5348
|
+
gtmId: {
|
|
5349
|
+
type: import("vue").PropType<string | undefined>;
|
|
5350
|
+
required: true;
|
|
5351
|
+
};
|
|
5334
5352
|
direction: {
|
|
5335
5353
|
type: import("vue").PropType<"row" | "column">;
|
|
5336
5354
|
} & {
|
|
@@ -5347,6 +5365,7 @@ export declare const components: {
|
|
|
5347
5365
|
}[];
|
|
5348
5366
|
};
|
|
5349
5367
|
}>>, {
|
|
5368
|
+
linkTag: "a" | "router-link" | import("./components/steps/types").NuxtLinkResolved;
|
|
5350
5369
|
direction: "row" | "column";
|
|
5351
5370
|
steps: import("./components/steps/types").Step[] | undefined;
|
|
5352
5371
|
}>;
|
package/package.json
CHANGED
package/theme/solfacil/miscs.ts
CHANGED