@solfacil/girassol 0.26.2 → 0.27.1
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 +387 -357
- 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 +17 -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,14 @@ 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>;
|
|
5321
|
+
};
|
|
5314
5322
|
direction: {
|
|
5315
5323
|
type: import("vue").PropType<"row" | "column">;
|
|
5316
5324
|
} & {
|
|
@@ -5331,6 +5339,14 @@ export declare const components: {
|
|
|
5331
5339
|
type: import("vue").PropType<string>;
|
|
5332
5340
|
required: true;
|
|
5333
5341
|
};
|
|
5342
|
+
linkTag: {
|
|
5343
|
+
type: import("vue").PropType<"a" | "router-link" | import("./components/steps/types").NuxtLinkResolved>;
|
|
5344
|
+
} & {
|
|
5345
|
+
default: string;
|
|
5346
|
+
};
|
|
5347
|
+
gtmId: {
|
|
5348
|
+
type: import("vue").PropType<string>;
|
|
5349
|
+
};
|
|
5334
5350
|
direction: {
|
|
5335
5351
|
type: import("vue").PropType<"row" | "column">;
|
|
5336
5352
|
} & {
|
|
@@ -5347,6 +5363,7 @@ export declare const components: {
|
|
|
5347
5363
|
}[];
|
|
5348
5364
|
};
|
|
5349
5365
|
}>>, {
|
|
5366
|
+
linkTag: "a" | "router-link" | import("./components/steps/types").NuxtLinkResolved;
|
|
5350
5367
|
direction: "row" | "column";
|
|
5351
5368
|
steps: import("./components/steps/types").Step[] | undefined;
|
|
5352
5369
|
}>;
|
package/package.json
CHANGED
package/theme/solfacil/miscs.ts
CHANGED