@solfacil/girassol 0.11.0 → 0.12.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,4 +1,4 @@
1
- import type { Tabs } from './types';
1
+ import type { TabList, Tabs } from './types';
2
2
  declare const _default: {
3
3
  new (...args: any[]): {
4
4
  $: import("vue").ComponentInternalInstance;
@@ -7,7 +7,7 @@ declare const _default: {
7
7
  tabList: Tabs['tabList'];
8
8
  }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
9
  id: Tabs['id'];
10
- tabList?: import("./types").TabList[] | undefined;
10
+ tabList?: TabList[] | undefined;
11
11
  onlyLine?: Tabs['onlyLine'];
12
12
  }>, {
13
13
  tabList: () => ({
@@ -22,7 +22,8 @@ declare const _default: {
22
22
  disabled?: undefined;
23
23
  })[];
24
24
  }>>> & {
25
- "onUpdate:tabList"?: ((tab: import("./types").TabList[]) => any) | undefined;
25
+ "onUpdate:tabList"?: ((tab: TabList[]) => any) | undefined;
26
+ "onTabitem:active"?: ((tab: TabList) => any) | undefined;
26
27
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tabList">;
27
28
  $attrs: {
28
29
  [x: string]: unknown;
@@ -35,11 +36,11 @@ declare const _default: {
35
36
  }>;
36
37
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
37
38
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
38
- $emit: (event: "update:tabList", tab: import("./types").TabList[]) => void;
39
+ $emit: ((event: "update:tabList", tab: TabList[]) => void) & ((event: "tabitem:active", tab: TabList) => void);
39
40
  $el: any;
40
41
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
41
42
  id: Tabs['id'];
42
- tabList?: import("./types").TabList[] | undefined;
43
+ tabList?: TabList[] | undefined;
43
44
  onlyLine?: Tabs['onlyLine'];
44
45
  }>, {
45
46
  tabList: () => ({
@@ -54,9 +55,12 @@ declare const _default: {
54
55
  disabled?: undefined;
55
56
  })[];
56
57
  }>>> & {
57
- "onUpdate:tabList"?: ((tab: import("./types").TabList[]) => any) | undefined;
58
+ "onUpdate:tabList"?: ((tab: TabList[]) => any) | undefined;
59
+ "onTabitem:active"?: ((tab: TabList) => any) | undefined;
58
60
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
- "update:tabList": (tab: import("./types").TabList[]) => void;
61
+ "update:tabList": (tab: TabList[]) => void;
62
+ } & {
63
+ "tabitem:active": (tab: TabList) => void;
60
64
  }, string, {
61
65
  tabList: Tabs['tabList'];
62
66
  }> & {
@@ -81,7 +85,7 @@ declare const _default: {
81
85
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
82
86
  } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
83
87
  id: Tabs['id'];
84
- tabList?: import("./types").TabList[] | undefined;
88
+ tabList?: TabList[] | undefined;
85
89
  onlyLine?: Tabs['onlyLine'];
86
90
  }>, {
87
91
  tabList: () => ({
@@ -96,14 +100,15 @@ declare const _default: {
96
100
  disabled?: undefined;
97
101
  })[];
98
102
  }>>> & {
99
- "onUpdate:tabList"?: ((tab: import("./types").TabList[]) => any) | undefined;
103
+ "onUpdate:tabList"?: ((tab: TabList[]) => any) | undefined;
104
+ "onTabitem:active"?: ((tab: TabList) => any) | undefined;
100
105
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
101
106
  __isFragment?: undefined;
102
107
  __isTeleport?: undefined;
103
108
  __isSuspense?: undefined;
104
109
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
105
110
  id: Tabs['id'];
106
- tabList?: import("./types").TabList[] | undefined;
111
+ tabList?: TabList[] | undefined;
107
112
  onlyLine?: Tabs['onlyLine'];
108
113
  }>, {
109
114
  tabList: () => ({
@@ -118,9 +123,12 @@ declare const _default: {
118
123
  disabled?: undefined;
119
124
  })[];
120
125
  }>>> & {
121
- "onUpdate:tabList"?: ((tab: import("./types").TabList[]) => any) | undefined;
126
+ "onUpdate:tabList"?: ((tab: TabList[]) => any) | undefined;
127
+ "onTabitem:active"?: ((tab: TabList) => any) | undefined;
122
128
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
123
- "update:tabList": (tab: import("./types").TabList[]) => void;
129
+ "update:tabList": (tab: TabList[]) => void;
130
+ } & {
131
+ "tabitem:active": (tab: TabList) => void;
124
132
  }, string, {
125
133
  tabList: Tabs['tabList'];
126
134
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -3874,6 +3874,7 @@ export declare const components: {
3874
3874
  };
3875
3875
  }>> & {
3876
3876
  "onUpdate:tabList"?: ((tab: import("./components/tabs/types").TabList[]) => any) | undefined;
3877
+ "onTabitem:active"?: ((tab: import("./components/tabs/types").TabList) => any) | undefined;
3877
3878
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tabList">;
3878
3879
  $attrs: {
3879
3880
  [x: string]: unknown;
@@ -3886,7 +3887,7 @@ export declare const components: {
3886
3887
  }>;
3887
3888
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
3888
3889
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
3889
- $emit: (event: "update:tabList", tab: import("./components/tabs/types").TabList[]) => void;
3890
+ $emit: ((event: "update:tabList", tab: import("./components/tabs/types").TabList[]) => void) & ((event: "tabitem:active", tab: import("./components/tabs/types").TabList) => void);
3890
3891
  $el: any;
3891
3892
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
3892
3893
  id: {
@@ -3913,8 +3914,11 @@ export declare const components: {
3913
3914
  };
3914
3915
  }>> & {
3915
3916
  "onUpdate:tabList"?: ((tab: import("./components/tabs/types").TabList[]) => any) | undefined;
3917
+ "onTabitem:active"?: ((tab: import("./components/tabs/types").TabList) => any) | undefined;
3916
3918
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3917
3919
  "update:tabList": (tab: import("./components/tabs/types").TabList[]) => void;
3920
+ } & {
3921
+ "tabitem:active": (tab: import("./components/tabs/types").TabList) => void;
3918
3922
  }, string, {
3919
3923
  tabList: import("./components/tabs/types").TabList[];
3920
3924
  }> & {
@@ -3962,6 +3966,7 @@ export declare const components: {
3962
3966
  };
3963
3967
  }>> & {
3964
3968
  "onUpdate:tabList"?: ((tab: import("./components/tabs/types").TabList[]) => any) | undefined;
3969
+ "onTabitem:active"?: ((tab: import("./components/tabs/types").TabList) => any) | undefined;
3965
3970
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
3966
3971
  __isFragment?: undefined;
3967
3972
  __isTeleport?: undefined;
@@ -3991,8 +3996,11 @@ export declare const components: {
3991
3996
  };
3992
3997
  }>> & {
3993
3998
  "onUpdate:tabList"?: ((tab: import("./components/tabs/types").TabList[]) => any) | undefined;
3999
+ "onTabitem:active"?: ((tab: import("./components/tabs/types").TabList) => any) | undefined;
3994
4000
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3995
4001
  "update:tabList": (tab: import("./components/tabs/types").TabList[]) => void;
4002
+ } & {
4003
+ "tabitem:active": (tab: import("./components/tabs/types").TabList) => void;
3996
4004
  }, string, {
3997
4005
  tabList: import("./components/tabs/types").TabList[];
3998
4006
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.11.0",
4
+ "version": "0.12.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {