@solfacil/girassol 0.45.1 → 0.46.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.
@@ -1,7 +1,8 @@
1
- import type { Items } from './types';
1
+ import type { Items, Link } from './types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  isCollapsedMenu?: boolean | undefined;
4
4
  items: Items[];
5
+ links?: Link[] | undefined;
5
6
  white: boolean;
6
7
  }>, {
7
8
  isCollapsedMenu: boolean;
@@ -10,6 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
10
11
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
12
  isCollapsedMenu?: boolean | undefined;
12
13
  items: Items[];
14
+ links?: Link[] | undefined;
13
15
  white: boolean;
14
16
  }>, {
15
17
  isCollapsedMenu: boolean;
@@ -1,14 +1,17 @@
1
- import type { Items, Product } from './types';
1
+ import type { Items, Link, Product } from './types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  isOpenMobileSidebar?: boolean | undefined;
4
4
  onlyMobile?: boolean | undefined;
5
5
  white?: boolean | undefined;
6
6
  items: Items[];
7
+ links?: Link[] | undefined;
7
8
  product: Product;
9
+ block: boolean;
8
10
  }>, {
9
11
  onlyMobile: boolean;
10
12
  white: boolean;
11
13
  isOpenMobileSidebar: boolean;
14
+ block: boolean;
12
15
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
16
  clickProduct: (product: string) => void;
14
17
  } & {
@@ -18,11 +21,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
18
21
  onlyMobile?: boolean | undefined;
19
22
  white?: boolean | undefined;
20
23
  items: Items[];
24
+ links?: Link[] | undefined;
21
25
  product: Product;
26
+ block: boolean;
22
27
  }>, {
23
28
  onlyMobile: boolean;
24
29
  white: boolean;
25
30
  isOpenMobileSidebar: boolean;
31
+ block: boolean;
26
32
  }>>> & {
27
33
  onClickProduct?: ((product: string) => any) | undefined;
28
34
  onClickMenu?: (() => any) | undefined;
@@ -30,6 +36,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
30
36
  white: boolean;
31
37
  isOpenMobileSidebar: boolean;
32
38
  onlyMobile: boolean;
39
+ block: boolean;
33
40
  }>;
34
41
  export default _default;
35
42
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,4 +1,13 @@
1
- import type { FunctionalComponent, SVGAttributes } from "vue";
1
+ import type { FunctionalComponent, SVGAttributes, resolveComponent } from "vue";
2
+ export type NuxtLinkResolved = Exclude<ReturnType<typeof resolveComponent>, string>;
3
+ export interface Link {
4
+ icon?: FunctionalComponent<SVGAttributes, {}>;
5
+ name: string;
6
+ href: string;
7
+ hrefProp: 'to' | 'href';
8
+ linkTag: 'a' | 'router-link' | NuxtLinkResolved;
9
+ target?: '_blank' | '_self' | '_parent' | '_top';
10
+ }
2
11
  export interface Items {
3
12
  icon?: FunctionalComponent<SVGAttributes, {}>;
4
13
  name: string;
@@ -6394,6 +6394,9 @@ export declare const components: {
6394
6394
  } & {
6395
6395
  default: boolean;
6396
6396
  };
6397
+ links: {
6398
+ type: import("vue").PropType<import("./components/sidebar/types").Link[]>;
6399
+ };
6397
6400
  isOpenMobileSidebar: {
6398
6401
  type: import("vue").PropType<boolean>;
6399
6402
  } & {
@@ -6404,6 +6407,12 @@ export declare const components: {
6404
6407
  } & {
6405
6408
  default: boolean;
6406
6409
  };
6410
+ block: {
6411
+ type: import("vue").PropType<boolean>;
6412
+ required: true;
6413
+ } & {
6414
+ default: boolean;
6415
+ };
6407
6416
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6408
6417
  clickProduct: (product: string) => void;
6409
6418
  } & {
@@ -6422,6 +6431,9 @@ export declare const components: {
6422
6431
  } & {
6423
6432
  default: boolean;
6424
6433
  };
6434
+ links: {
6435
+ type: import("vue").PropType<import("./components/sidebar/types").Link[]>;
6436
+ };
6425
6437
  isOpenMobileSidebar: {
6426
6438
  type: import("vue").PropType<boolean>;
6427
6439
  } & {
@@ -6432,6 +6444,12 @@ export declare const components: {
6432
6444
  } & {
6433
6445
  default: boolean;
6434
6446
  };
6447
+ block: {
6448
+ type: import("vue").PropType<boolean>;
6449
+ required: true;
6450
+ } & {
6451
+ default: boolean;
6452
+ };
6435
6453
  }>> & {
6436
6454
  onClickProduct?: ((product: string) => any) | undefined;
6437
6455
  onClickMenu?: (() => any) | undefined;
@@ -6439,6 +6457,7 @@ export declare const components: {
6439
6457
  white: boolean;
6440
6458
  isOpenMobileSidebar: boolean;
6441
6459
  onlyMobile: boolean;
6460
+ block: boolean;
6442
6461
  }>;
6443
6462
  };
6444
6463
  export declare function install(App: App): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.45.1",
4
+ "version": "0.46.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {