@solfacil/girassol 0.10.0 → 0.11.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.
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,9 @@
1
+ export declare type Variants = 'button-primary' | 'button-secondary' | 'button-icon';
2
+ export interface Search {
3
+ id: string;
4
+ ariaLabel: string;
5
+ placeholder?: string;
6
+ variant?: Variants;
7
+ modelValue?: string;
8
+ size?: 'small' | 'medium';
9
+ }
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  label?: string | undefined;
9
9
  disabled?: TabItem['disabled'];
10
10
  active?: TabItem['active'];
11
+ gtmId?: TabItem['gtmId'];
11
12
  }>, {}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
12
13
  $attrs: {
13
14
  [x: string]: unknown;
@@ -27,6 +28,7 @@ declare const _default: {
27
28
  label?: string | undefined;
28
29
  disabled?: TabItem['disabled'];
29
30
  active?: TabItem['active'];
31
+ gtmId?: TabItem['gtmId'];
30
32
  }>, {}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
31
33
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
32
34
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -52,6 +54,7 @@ declare const _default: {
52
54
  label?: string | undefined;
53
55
  disabled?: TabItem['disabled'];
54
56
  active?: TabItem['active'];
57
+ gtmId?: TabItem['gtmId'];
55
58
  }>, {}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
56
59
  __isFragment?: undefined;
57
60
  __isTeleport?: undefined;
@@ -61,6 +64,7 @@ declare const _default: {
61
64
  label?: string | undefined;
62
65
  disabled?: TabItem['disabled'];
63
66
  active?: TabItem['active'];
67
+ gtmId?: TabItem['gtmId'];
64
68
  }>, {}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
65
69
  $slots: {
66
70
  icon: (_: {}) => any;
@@ -13,10 +13,12 @@ declare const _default: {
13
13
  tabList: () => ({
14
14
  label: string;
15
15
  disabled: boolean;
16
+ key: string;
16
17
  active?: undefined;
17
18
  } | {
18
19
  label: string;
19
20
  active: boolean;
21
+ key: string;
20
22
  disabled?: undefined;
21
23
  })[];
22
24
  }>>> & {
@@ -43,10 +45,12 @@ declare const _default: {
43
45
  tabList: () => ({
44
46
  label: string;
45
47
  disabled: boolean;
48
+ key: string;
46
49
  active?: undefined;
47
50
  } | {
48
51
  label: string;
49
52
  active: boolean;
53
+ key: string;
50
54
  disabled?: undefined;
51
55
  })[];
52
56
  }>>> & {
@@ -83,10 +87,12 @@ declare const _default: {
83
87
  tabList: () => ({
84
88
  label: string;
85
89
  disabled: boolean;
90
+ key: string;
86
91
  active?: undefined;
87
92
  } | {
88
93
  label: string;
89
94
  active: boolean;
95
+ key: string;
90
96
  disabled?: undefined;
91
97
  })[];
92
98
  }>>> & {
@@ -103,10 +109,12 @@ declare const _default: {
103
109
  tabList: () => ({
104
110
  label: string;
105
111
  disabled: boolean;
112
+ key: string;
106
113
  active?: undefined;
107
114
  } | {
108
115
  label: string;
109
116
  active: boolean;
117
+ key: string;
110
118
  disabled?: undefined;
111
119
  })[];
112
120
  }>>> & {
@@ -2,12 +2,14 @@ export declare type TabList = {
2
2
  label: string;
3
3
  disabled?: boolean;
4
4
  active?: boolean;
5
- key?: unknown;
5
+ key: string;
6
+ gtmId?: string;
6
7
  };
7
8
  export interface Tabs {
8
9
  id: string;
9
10
  tabList: TabList[];
10
11
  onlyLine?: boolean;
12
+ gtmId?: string;
11
13
  }
12
14
  export interface TabItem extends TabList {
13
15
  id: string;
@@ -19,6 +19,7 @@ import { SolMenuNavigationLinks } from './components/menus/menu-navigation-links
19
19
  import { SolModal } from './components/modal';
20
20
  import { SolPagination } from './components/pagination';
21
21
  import { SolEmptyState } from './components/empty-state';
22
+ import { SolSearch } from './components/search';
22
23
  import 'virtual:windi-base.css';
23
24
  import 'virtual:windi-components.css';
24
25
  import 'virtual:windi-utilities.css';
@@ -3859,10 +3860,12 @@ export declare const components: {
3859
3860
  default: () => ({
3860
3861
  label: string;
3861
3862
  disabled: boolean;
3863
+ key: string;
3862
3864
  active?: undefined;
3863
3865
  } | {
3864
3866
  label: string;
3865
3867
  active: boolean;
3868
+ key: string;
3866
3869
  disabled?: undefined;
3867
3870
  })[];
3868
3871
  };
@@ -3896,10 +3899,12 @@ export declare const components: {
3896
3899
  default: () => ({
3897
3900
  label: string;
3898
3901
  disabled: boolean;
3902
+ key: string;
3899
3903
  active?: undefined;
3900
3904
  } | {
3901
3905
  label: string;
3902
3906
  active: boolean;
3907
+ key: string;
3903
3908
  disabled?: undefined;
3904
3909
  })[];
3905
3910
  };
@@ -3943,10 +3948,12 @@ export declare const components: {
3943
3948
  default: () => ({
3944
3949
  label: string;
3945
3950
  disabled: boolean;
3951
+ key: string;
3946
3952
  active?: undefined;
3947
3953
  } | {
3948
3954
  label: string;
3949
3955
  active: boolean;
3956
+ key: string;
3950
3957
  disabled?: undefined;
3951
3958
  })[];
3952
3959
  };
@@ -3970,10 +3977,12 @@ export declare const components: {
3970
3977
  default: () => ({
3971
3978
  label: string;
3972
3979
  disabled: boolean;
3980
+ key: string;
3973
3981
  active?: undefined;
3974
3982
  } | {
3975
3983
  label: string;
3976
3984
  active: boolean;
3985
+ key: string;
3977
3986
  disabled?: undefined;
3978
3987
  })[];
3979
3988
  };
@@ -5111,6 +5120,211 @@ export declare const components: {
5111
5120
  button: (_: {}) => any;
5112
5121
  };
5113
5122
  });
5123
+ SolSearch: {
5124
+ new (...args: any[]): {
5125
+ $: import("vue").ComponentInternalInstance;
5126
+ $data: {};
5127
+ $props: Partial<{
5128
+ variant: import("./components/search/types").Variants;
5129
+ placeholder: string;
5130
+ size: "small" | "medium";
5131
+ modelValue: string;
5132
+ ariaLabel: string;
5133
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
5134
+ id: {
5135
+ type: import("vue").PropType<string>;
5136
+ required: true;
5137
+ };
5138
+ variant: {
5139
+ type: import("vue").PropType<import("./components/search/types").Variants>;
5140
+ } & {
5141
+ default: string;
5142
+ };
5143
+ placeholder: {
5144
+ type: import("vue").PropType<string>;
5145
+ } & {
5146
+ default: string;
5147
+ };
5148
+ size: {
5149
+ type: import("vue").PropType<"small" | "medium">;
5150
+ } & {
5151
+ default: string;
5152
+ };
5153
+ modelValue: {
5154
+ type: import("vue").PropType<string>;
5155
+ } & {
5156
+ default: string;
5157
+ };
5158
+ ariaLabel: {
5159
+ type: import("vue").PropType<string>;
5160
+ required: true;
5161
+ } & {
5162
+ default: string;
5163
+ };
5164
+ }>> & {
5165
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
5166
+ onSearch?: ((value: string) => any) | undefined;
5167
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "placeholder" | "size" | "modelValue" | "ariaLabel">;
5168
+ $attrs: {
5169
+ [x: string]: unknown;
5170
+ };
5171
+ $refs: {
5172
+ [x: string]: unknown;
5173
+ };
5174
+ $slots: Readonly<{
5175
+ [name: string]: import("vue").Slot | undefined;
5176
+ }>;
5177
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
5178
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
5179
+ $emit: ((event: "search", value: string) => void) & ((event: "update:modelValue", value: string) => void);
5180
+ $el: any;
5181
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
5182
+ id: {
5183
+ type: import("vue").PropType<string>;
5184
+ required: true;
5185
+ };
5186
+ variant: {
5187
+ type: import("vue").PropType<import("./components/search/types").Variants>;
5188
+ } & {
5189
+ default: string;
5190
+ };
5191
+ placeholder: {
5192
+ type: import("vue").PropType<string>;
5193
+ } & {
5194
+ default: string;
5195
+ };
5196
+ size: {
5197
+ type: import("vue").PropType<"small" | "medium">;
5198
+ } & {
5199
+ default: string;
5200
+ };
5201
+ modelValue: {
5202
+ type: import("vue").PropType<string>;
5203
+ } & {
5204
+ default: string;
5205
+ };
5206
+ ariaLabel: {
5207
+ type: import("vue").PropType<string>;
5208
+ required: true;
5209
+ } & {
5210
+ default: string;
5211
+ };
5212
+ }>> & {
5213
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
5214
+ onSearch?: ((value: string) => any) | undefined;
5215
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5216
+ search: (value: string) => void;
5217
+ } & {
5218
+ "update:modelValue": (value: string) => void;
5219
+ }, string, {
5220
+ variant: import("./components/search/types").Variants;
5221
+ placeholder: string;
5222
+ size: "small" | "medium";
5223
+ modelValue: string;
5224
+ ariaLabel: string;
5225
+ }> & {
5226
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
5227
+ created?: ((() => void) | (() => void)[]) | undefined;
5228
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
5229
+ mounted?: ((() => void) | (() => void)[]) | undefined;
5230
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
5231
+ updated?: ((() => void) | (() => void)[]) | undefined;
5232
+ activated?: ((() => void) | (() => void)[]) | undefined;
5233
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
5234
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
5235
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
5236
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
5237
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
5238
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
5239
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
5240
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
5241
+ };
5242
+ $forceUpdate: () => void;
5243
+ $nextTick: typeof import("vue").nextTick;
5244
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
5245
+ } & Readonly<import("vue").ExtractPropTypes<{
5246
+ id: {
5247
+ type: import("vue").PropType<string>;
5248
+ required: true;
5249
+ };
5250
+ variant: {
5251
+ type: import("vue").PropType<import("./components/search/types").Variants>;
5252
+ } & {
5253
+ default: string;
5254
+ };
5255
+ placeholder: {
5256
+ type: import("vue").PropType<string>;
5257
+ } & {
5258
+ default: string;
5259
+ };
5260
+ size: {
5261
+ type: import("vue").PropType<"small" | "medium">;
5262
+ } & {
5263
+ default: string;
5264
+ };
5265
+ modelValue: {
5266
+ type: import("vue").PropType<string>;
5267
+ } & {
5268
+ default: string;
5269
+ };
5270
+ ariaLabel: {
5271
+ type: import("vue").PropType<string>;
5272
+ required: true;
5273
+ } & {
5274
+ default: string;
5275
+ };
5276
+ }>> & {
5277
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
5278
+ onSearch?: ((value: string) => any) | undefined;
5279
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
5280
+ __isFragment?: undefined;
5281
+ __isTeleport?: undefined;
5282
+ __isSuspense?: undefined;
5283
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
5284
+ id: {
5285
+ type: import("vue").PropType<string>;
5286
+ required: true;
5287
+ };
5288
+ variant: {
5289
+ type: import("vue").PropType<import("./components/search/types").Variants>;
5290
+ } & {
5291
+ default: string;
5292
+ };
5293
+ placeholder: {
5294
+ type: import("vue").PropType<string>;
5295
+ } & {
5296
+ default: string;
5297
+ };
5298
+ size: {
5299
+ type: import("vue").PropType<"small" | "medium">;
5300
+ } & {
5301
+ default: string;
5302
+ };
5303
+ modelValue: {
5304
+ type: import("vue").PropType<string>;
5305
+ } & {
5306
+ default: string;
5307
+ };
5308
+ ariaLabel: {
5309
+ type: import("vue").PropType<string>;
5310
+ required: true;
5311
+ } & {
5312
+ default: string;
5313
+ };
5314
+ }>> & {
5315
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
5316
+ onSearch?: ((value: string) => any) | undefined;
5317
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5318
+ search: (value: string) => void;
5319
+ } & {
5320
+ "update:modelValue": (value: string) => void;
5321
+ }, string, {
5322
+ variant: import("./components/search/types").Variants;
5323
+ placeholder: string;
5324
+ size: "small" | "medium";
5325
+ modelValue: string;
5326
+ ariaLabel: string;
5327
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
5114
5328
  };
5115
5329
  export declare function install(App: App): void;
5116
- export { SolButton, SolButtonDestructive, SolInputTextarea, SolInputText, SolInputTextPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolSelect, SolRemovableChip, SolSelectableChip, SolTag, SolAlert, SolAccordion, SolList, SolTabs, SolMenu, SolMenuItem, SolMenuItemLink, SolMenuNavigationLinks, SolModal, SolPagination, SolEmptyState, };
5330
+ export { SolButton, SolButtonDestructive, SolInputTextarea, SolInputText, SolInputTextPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolSelect, SolRemovableChip, SolSelectableChip, SolTag, SolAlert, SolAccordion, SolList, SolTabs, SolMenu, SolMenuItem, SolMenuItemLink, SolMenuNavigationLinks, SolModal, SolPagination, SolEmptyState, SolSearch, };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.10.0",
4
+ "version": "0.11.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {
@@ -98,6 +98,7 @@
98
98
  "c8": "^7.12.0",
99
99
  "cli-spinner": "^0.2.10",
100
100
  "commitizen": "^4.2.5",
101
+ "conventional-changelog-conventionalcommits": "^5.0.0",
101
102
  "copyfiles": "^2.4.1",
102
103
  "critters": "^0.0.16",
103
104
  "eslint": "^8.25.0",