@solfacil/girassol 0.17.0 → 0.18.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,42 @@
1
+ import type { Breadcrumb } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ id?: string | undefined;
4
+ items?: Breadcrumb['items'];
5
+ linkTag?: Breadcrumb['linkTag'];
6
+ gtmId?: Breadcrumb['gtmId'];
7
+ }>, {
8
+ linkTag: string;
9
+ items: () => {
10
+ text: string;
11
+ href: string;
12
+ }[];
13
+ }>, {}, 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<{
14
+ id?: string | undefined;
15
+ items?: Breadcrumb['items'];
16
+ linkTag?: Breadcrumb['linkTag'];
17
+ gtmId?: Breadcrumb['gtmId'];
18
+ }>, {
19
+ linkTag: string;
20
+ items: () => {
21
+ text: string;
22
+ href: string;
23
+ }[];
24
+ }>>>, {
25
+ items: import("./types").Item[];
26
+ linkTag: "a" | "router-link" | "nuxt-link";
27
+ }>;
28
+ export default _default;
29
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
+ type __VLS_TypePropsToRuntimeProps<T> = {
31
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ } : {
34
+ type: import('vue').PropType<T[K]>;
35
+ required: true;
36
+ };
37
+ };
38
+ type __VLS_WithDefaults<P, D> = {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
40
+ default: D[K];
41
+ } : P[K];
42
+ };
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,2 @@
1
+ import SolBreadcrumb from './Breadcrumb.vue';
2
+ export { SolBreadcrumb, };
@@ -0,0 +1,12 @@
1
+ export type Item = {
2
+ href: string;
3
+ text: string;
4
+ target?: '_blank' | '_self' | '_parent' | '_top';
5
+ rel?: string;
6
+ };
7
+ export interface Breadcrumb {
8
+ id: string;
9
+ items?: Item[];
10
+ gtmId?: string;
11
+ linkTag?: 'a' | 'router-link' | 'nuxt-link';
12
+ }
@@ -13,6 +13,7 @@ declare const _default: {
13
13
  title?: string | undefined;
14
14
  isOpen?: Modal['isOpen'];
15
15
  target?: Modal['target'];
16
+ class?: Modal['class'];
16
17
  actionPrimaryText?: Modal['actionPrimaryText'];
17
18
  actionSecondaryText?: Modal['actionSecondaryText'];
18
19
  actionTertiaryText?: Modal['actionTertiaryText'];
@@ -50,6 +51,7 @@ declare const _default: {
50
51
  title?: string | undefined;
51
52
  isOpen?: Modal['isOpen'];
52
53
  target?: Modal['target'];
54
+ class?: Modal['class'];
53
55
  actionPrimaryText?: Modal['actionPrimaryText'];
54
56
  actionSecondaryText?: Modal['actionSecondaryText'];
55
57
  actionTertiaryText?: Modal['actionTertiaryText'];
@@ -112,6 +114,7 @@ declare const _default: {
112
114
  title?: string | undefined;
113
115
  isOpen?: Modal['isOpen'];
114
116
  target?: Modal['target'];
117
+ class?: Modal['class'];
115
118
  actionPrimaryText?: Modal['actionPrimaryText'];
116
119
  actionSecondaryText?: Modal['actionSecondaryText'];
117
120
  actionTertiaryText?: Modal['actionTertiaryText'];
@@ -142,6 +145,7 @@ declare const _default: {
142
145
  title?: string | undefined;
143
146
  isOpen?: Modal['isOpen'];
144
147
  target?: Modal['target'];
148
+ class?: Modal['class'];
145
149
  actionPrimaryText?: Modal['actionPrimaryText'];
146
150
  actionSecondaryText?: Modal['actionSecondaryText'];
147
151
  actionTertiaryText?: Modal['actionTertiaryText'];
@@ -10,6 +10,7 @@ export interface Modal {
10
10
  title: string;
11
11
  isOpen?: boolean;
12
12
  target?: string;
13
+ class?: string | Record<string, any>;
13
14
  actionPrimaryText?: string;
14
15
  actionSecondaryText?: string;
15
16
  actionTertiaryText?: string;
@@ -4,6 +4,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
4
4
  sliders: Onboarding['sliders'];
5
5
  isOpen?: Onboarding['isOpen'];
6
6
  target?: Onboarding['target'];
7
+ class?: Onboarding['class'];
7
8
  finalButtonText?: Onboarding['finalButtonText'];
8
9
  }>, {
9
10
  sliders: () => never[];
@@ -33,6 +34,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
33
34
  sliders: Onboarding['sliders'];
34
35
  isOpen?: Onboarding['isOpen'];
35
36
  target?: Onboarding['target'];
37
+ class?: Onboarding['class'];
36
38
  finalButtonText?: Onboarding['finalButtonText'];
37
39
  }>, {
38
40
  sliders: () => never[];
@@ -7,6 +7,7 @@ export interface Onboarding {
7
7
  id: string;
8
8
  isOpen?: boolean;
9
9
  target?: string;
10
+ class?: string | Record<string, any>;
10
11
  finalButtonText?: string;
11
12
  sliders: Slider[];
12
13
  }
@@ -27,6 +27,7 @@ import { SolSearch } from './components/search';
27
27
  import { SolDatePicker } from './components/date-picker';
28
28
  import { SolCollapsible } from './components/collapsible';
29
29
  import { SolFileUpload } from './components/file-upload';
30
+ import { SolBreadcrumb } from './components/breadcrumb';
30
31
  import 'virtual:windi-base.css';
31
32
  import 'virtual:windi-components.css';
32
33
  import 'virtual:windi-utilities.css';
@@ -3759,6 +3760,9 @@ export declare const components: {
3759
3760
  } & {
3760
3761
  default: string;
3761
3762
  };
3763
+ class: {
3764
+ type: import("vue").PropType<string | Record<string, any>>;
3765
+ };
3762
3766
  isOpen: {
3763
3767
  type: import("vue").PropType<boolean>;
3764
3768
  };
@@ -3815,6 +3819,9 @@ export declare const components: {
3815
3819
  } & {
3816
3820
  default: string;
3817
3821
  };
3822
+ class: {
3823
+ type: import("vue").PropType<string | Record<string, any>>;
3824
+ };
3818
3825
  isOpen: {
3819
3826
  type: import("vue").PropType<boolean>;
3820
3827
  };
@@ -3896,6 +3903,9 @@ export declare const components: {
3896
3903
  } & {
3897
3904
  default: string;
3898
3905
  };
3906
+ class: {
3907
+ type: import("vue").PropType<string | Record<string, any>>;
3908
+ };
3899
3909
  isOpen: {
3900
3910
  type: import("vue").PropType<boolean>;
3901
3911
  };
@@ -3945,6 +3955,9 @@ export declare const components: {
3945
3955
  } & {
3946
3956
  default: string;
3947
3957
  };
3958
+ class: {
3959
+ type: import("vue").PropType<string | Record<string, any>>;
3960
+ };
3948
3961
  isOpen: {
3949
3962
  type: import("vue").PropType<boolean>;
3950
3963
  };
@@ -4015,6 +4028,9 @@ export declare const components: {
4015
4028
  type: import("vue").PropType<string>;
4016
4029
  required: true;
4017
4030
  };
4031
+ class: {
4032
+ type: import("vue").PropType<string | Record<string, any>>;
4033
+ };
4018
4034
  isOpen: {
4019
4035
  type: import("vue").PropType<boolean>;
4020
4036
  };
@@ -4058,6 +4074,9 @@ export declare const components: {
4058
4074
  type: import("vue").PropType<string>;
4059
4075
  required: true;
4060
4076
  };
4077
+ class: {
4078
+ type: import("vue").PropType<string | Record<string, any>>;
4079
+ };
4061
4080
  isOpen: {
4062
4081
  type: import("vue").PropType<boolean>;
4063
4082
  };
@@ -4930,6 +4949,50 @@ export declare const components: {
4930
4949
  downloadMenu: import("./components/file-upload/types").DownloadMenu[];
4931
4950
  }>;
4932
4951
  SolMenuItemSeparator: any;
4952
+ SolBreadcrumb: import("vue").DefineComponent<{
4953
+ id: {
4954
+ type: import("vue").PropType<string>;
4955
+ };
4956
+ items: {
4957
+ type: import("vue").PropType<import("./components/breadcrumb/types").Item[]>;
4958
+ } & {
4959
+ default: () => {
4960
+ text: string;
4961
+ href: string;
4962
+ }[];
4963
+ };
4964
+ linkTag: {
4965
+ type: import("vue").PropType<"a" | "router-link" | "nuxt-link">;
4966
+ } & {
4967
+ default: string;
4968
+ };
4969
+ gtmId: {
4970
+ type: import("vue").PropType<string>;
4971
+ };
4972
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
4973
+ id: {
4974
+ type: import("vue").PropType<string>;
4975
+ };
4976
+ items: {
4977
+ type: import("vue").PropType<import("./components/breadcrumb/types").Item[]>;
4978
+ } & {
4979
+ default: () => {
4980
+ text: string;
4981
+ href: string;
4982
+ }[];
4983
+ };
4984
+ linkTag: {
4985
+ type: import("vue").PropType<"a" | "router-link" | "nuxt-link">;
4986
+ } & {
4987
+ default: string;
4988
+ };
4989
+ gtmId: {
4990
+ type: import("vue").PropType<string>;
4991
+ };
4992
+ }>>, {
4993
+ items: import("./components/breadcrumb/types").Item[];
4994
+ linkTag: "a" | "router-link" | "nuxt-link";
4995
+ }>;
4933
4996
  };
4934
4997
  export declare function install(App: App): void;
4935
- export { SolButton, SolButtonDestructive, SolInputTextarea, SolInputText, SolInputTextPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolSelect, SolRemovableChip, SolSelectableChip, SolTag, SolAlert, SolAccordion, SolList, SolTabs, SolMenu, SolMenuItem, SolMenuItemLink, SolMenuNavigationLinks, SolModal, SolOnboarding, SolPagination, SolEmptyState, SolSearch, SolDatePicker, SolCollapsible, SolSteps, SolTextValue, SolFileUpload, SolMenuItemSeparator, };
4998
+ export { SolButton, SolButtonDestructive, SolInputTextarea, SolInputText, SolInputTextPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolSelect, SolRemovableChip, SolSelectableChip, SolTag, SolAlert, SolAccordion, SolList, SolTabs, SolMenu, SolMenuItem, SolMenuItemLink, SolMenuNavigationLinks, SolModal, SolOnboarding, SolPagination, SolEmptyState, SolSearch, SolDatePicker, SolCollapsible, SolSteps, SolTextValue, SolFileUpload, SolMenuItemSeparator, SolBreadcrumb, };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.17.0",
4
+ "version": "0.18.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {