@solfacil/girassol 0.17.1 → 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
+ }
@@ -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';
@@ -4948,6 +4949,50 @@ export declare const components: {
4948
4949
  downloadMenu: import("./components/file-upload/types").DownloadMenu[];
4949
4950
  }>;
4950
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
+ }>;
4951
4996
  };
4952
4997
  export declare function install(App: App): void;
4953
- 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.1",
4
+ "version": "0.18.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {