@solfacil/girassol 0.47.0 → 0.47.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.
@@ -8,7 +8,7 @@ export interface Download {
8
8
  id: string;
9
9
  downloadSrc?: string;
10
10
  downloadMenu: DownloadMenu[];
11
- fileIcon: (file: string) => FunctionalComponent<SVGAttributes, {}>;
11
+ fileIcon: (file: string) => FunctionalComponent<SVGAttributes>;
12
12
  }
13
13
  export interface Upload {
14
14
  id: string;
@@ -19,7 +19,7 @@ export interface Upload {
19
19
  multiple?: boolean;
20
20
  placeholder?: string;
21
21
  hasError?: boolean;
22
- fileIcon: (file: string) => FunctionalComponent<SVGAttributes, {}>;
22
+ fileIcon: (file: string) => FunctionalComponent<SVGAttributes>;
23
23
  }
24
24
  export interface FileUpload extends Omit<Upload, 'fileIcon' | 'hasError'>, Omit<Download, 'fileIcon'> {
25
25
  id: string;
@@ -3,7 +3,7 @@ import type { NuxtLinkResolved } from "@/types";
3
3
  export type ApplicationBackofficeMenuOption = {
4
4
  id: string;
5
5
  label: string;
6
- icon?: FunctionalComponent<SVGAttributes, {}>;
6
+ icon?: FunctionalComponent<SVGAttributes>;
7
7
  tag?: 'a' | 'router-link' | NuxtLinkResolved;
8
8
  linkProp?: 'href' | 'to';
9
9
  link?: string;
@@ -2,7 +2,7 @@ import type { FunctionalComponent, SVGAttributes } from "vue";
2
2
  export type UserInfoMenuOption = {
3
3
  id: string;
4
4
  label: string;
5
- icon: FunctionalComponent<SVGAttributes, {}>;
5
+ icon: FunctionalComponent<SVGAttributes>;
6
6
  action?: () => void;
7
7
  };
8
8
  export type UserInfoMenu = {
@@ -46,7 +46,7 @@ export interface NotificationsList {
46
46
  }
47
47
  export interface Product {
48
48
  id: 'portal' | 'shop' | 'financing' | 'ampera';
49
- icon?: FunctionalComponent<SVGAttributes, {}>;
49
+ icon?: FunctionalComponent<SVGAttributes>;
50
50
  title: string;
51
51
  action?: Function;
52
52
  }
@@ -1,7 +1,7 @@
1
1
  import type { FunctionalComponent, SVGAttributes } from "vue";
2
2
  import type { NuxtLinkResolved } from "@/types";
3
3
  export interface Link {
4
- icon?: FunctionalComponent<SVGAttributes, {}>;
4
+ icon?: FunctionalComponent<SVGAttributes>;
5
5
  name: string;
6
6
  href: string;
7
7
  hrefProp: 'to' | 'href';
@@ -9,14 +9,14 @@ export interface Link {
9
9
  target?: '_blank' | '_self' | '_parent' | '_top';
10
10
  }
11
11
  export interface Items {
12
- icon?: FunctionalComponent<SVGAttributes, {}>;
12
+ icon?: FunctionalComponent<SVGAttributes>;
13
13
  name: string;
14
14
  isActive: boolean;
15
15
  action: Function;
16
16
  }
17
17
  export interface Product {
18
18
  id: 'portal' | 'shop' | 'financing' | 'ampera';
19
- icon?: FunctionalComponent<SVGAttributes, {}>;
19
+ icon?: FunctionalComponent<SVGAttributes>;
20
20
  title: string;
21
21
  action?: Function;
22
22
  }
@@ -2,7 +2,7 @@ import type { FunctionalComponent, SVGAttributes } from "vue";
2
2
  import type { NuxtLinkResolved } from "@/types";
3
3
  export type SidebarBackofficeItemMenu = {
4
4
  id: string;
5
- icon: FunctionalComponent<SVGAttributes, {}>;
5
+ icon: FunctionalComponent<SVGAttributes>;
6
6
  label: string;
7
7
  tag: 'a' | 'router-link' | NuxtLinkResolved;
8
8
  linkProp: 'href' | 'to';
@@ -5,17 +5,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
5
5
  actions?: PageBackoffice['actions'];
6
6
  }>, {
7
7
  title: string;
8
- subtitle: string;
9
8
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
9
  title: PageBackoffice['title'];
11
10
  subtitle?: PageBackoffice['subtitle'];
12
11
  actions?: PageBackoffice['actions'];
13
12
  }>, {
14
13
  title: string;
15
- subtitle: string;
16
14
  }>>>, {
17
15
  title: PageBackoffice['title'];
18
- subtitle: string;
19
16
  }>, Record<NonNullable<string | number>, (_: {}) => any> & {
20
17
  actions: (_: {}) => any;
21
18
  default: (_: {}) => any;
@@ -2,7 +2,7 @@ import type { FunctionalComponent, SVGAttributes } from "vue";
2
2
  export type PageBackofficeAction = {
3
3
  id: string;
4
4
  label: string;
5
- icon?: FunctionalComponent<SVGAttributes, {}>;
5
+ icon?: FunctionalComponent<SVGAttributes>;
6
6
  variant?: 'primary' | 'secondary' | 'tertiary';
7
7
  onClick: () => void;
8
8
  };
@@ -6485,7 +6485,6 @@ export declare const components: {
6485
6485
  $data: {};
6486
6486
  $props: Partial<{
6487
6487
  title: string;
6488
- subtitle: string;
6489
6488
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
6490
6489
  title: {
6491
6490
  type: import("vue").PropType<string>;
@@ -6495,13 +6494,11 @@ export declare const components: {
6495
6494
  };
6496
6495
  subtitle: {
6497
6496
  type: import("vue").PropType<string>;
6498
- } & {
6499
- default: string;
6500
6497
  };
6501
6498
  actions: {
6502
6499
  type: import("vue").PropType<import("./components/templates/backoffice/page/types").PageBackofficeAction[]>;
6503
6500
  };
6504
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "subtitle">;
6501
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title">;
6505
6502
  $attrs: {
6506
6503
  [x: string]: unknown;
6507
6504
  };
@@ -6524,15 +6521,12 @@ export declare const components: {
6524
6521
  };
6525
6522
  subtitle: {
6526
6523
  type: import("vue").PropType<string>;
6527
- } & {
6528
- default: string;
6529
6524
  };
6530
6525
  actions: {
6531
6526
  type: import("vue").PropType<import("./components/templates/backoffice/page/types").PageBackofficeAction[]>;
6532
6527
  };
6533
6528
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
6534
6529
  title: string;
6535
- subtitle: string;
6536
6530
  }, {}, string> & {
6537
6531
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
6538
6532
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -6562,8 +6556,6 @@ export declare const components: {
6562
6556
  };
6563
6557
  subtitle: {
6564
6558
  type: import("vue").PropType<string>;
6565
- } & {
6566
- default: string;
6567
6559
  };
6568
6560
  actions: {
6569
6561
  type: import("vue").PropType<import("./components/templates/backoffice/page/types").PageBackofficeAction[]>;
@@ -6581,15 +6573,12 @@ export declare const components: {
6581
6573
  };
6582
6574
  subtitle: {
6583
6575
  type: import("vue").PropType<string>;
6584
- } & {
6585
- default: string;
6586
6576
  };
6587
6577
  actions: {
6588
6578
  type: import("vue").PropType<import("./components/templates/backoffice/page/types").PageBackofficeAction[]>;
6589
6579
  };
6590
6580
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
6591
6581
  title: string;
6592
- subtitle: string;
6593
6582
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
6594
6583
  $slots: Record<NonNullable<string | number>, (_: {}) => any> & {
6595
6584
  actions: (_: {}) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.47.0",
4
+ "version": "0.47.1",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {