@solfacil/girassol 0.19.3 → 0.20.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,32 @@
1
+ import type { Divider } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ orientation?: Divider['orientation'];
4
+ thickness?: Divider['thickness'];
5
+ }>, {
6
+ orientation: string;
7
+ thickness: string;
8
+ }>, {}, 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<{
9
+ orientation?: Divider['orientation'];
10
+ thickness?: Divider['thickness'];
11
+ }>, {
12
+ orientation: string;
13
+ thickness: string;
14
+ }>>>, {
15
+ orientation: "vertical" | "horizontal";
16
+ thickness: "small" | "large" | "medium" | "x-small";
17
+ }>;
18
+ export default _default;
19
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ type __VLS_TypePropsToRuntimeProps<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
28
+ type __VLS_WithDefaults<P, D> = {
29
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
30
+ default: D[K];
31
+ } : P[K];
32
+ };
@@ -0,0 +1,2 @@
1
+ import SolDivider from './Divider.vue';
2
+ export { SolDivider, };
@@ -0,0 +1,4 @@
1
+ export interface Divider {
2
+ orientation?: 'horizontal' | 'vertical';
3
+ thickness?: 'x-small' | 'small' | 'medium' | 'large';
4
+ }
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
5
5
  label?: string | undefined;
6
6
  required?: boolean | undefined;
7
7
  helperText?: string | undefined;
8
- resize?: "none" | "vertical" | "both" | "horizontal" | undefined;
8
+ resize?: "none" | "vertical" | "horizontal" | "both" | undefined;
9
9
  size?: "small" | "medium" | undefined;
10
10
  error?: string | null | undefined;
11
11
  placeholder?: string | undefined;
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
26
26
  label?: string | undefined;
27
27
  required?: boolean | undefined;
28
28
  helperText?: string | undefined;
29
- resize?: "none" | "vertical" | "both" | "horizontal" | undefined;
29
+ resize?: "none" | "vertical" | "horizontal" | "both" | undefined;
30
30
  size?: "small" | "medium" | undefined;
31
31
  error?: string | null | undefined;
32
32
  placeholder?: string | undefined;
@@ -1,30 +1,31 @@
1
+ import type { Tag } from './types';
1
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- id: string;
3
- text?: string | undefined;
4
- variant?: "fill" | "outline" | undefined;
5
- size?: "small" | "medium" | undefined;
6
- type?: "warning" | "informative" | "neutral" | "positive" | "negative" | undefined;
3
+ id: Tag['id'];
4
+ text?: Tag['text'];
5
+ variant?: Tag['variant'];
6
+ size?: Tag['size'];
7
+ type?: Tag['type'];
7
8
  }>, {
8
9
  text: string;
9
10
  variant: string;
10
11
  size: string;
11
12
  type: 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<{
13
- id: string;
14
- text?: string | undefined;
15
- variant?: "fill" | "outline" | undefined;
16
- size?: "small" | "medium" | undefined;
17
- type?: "warning" | "informative" | "neutral" | "positive" | "negative" | undefined;
14
+ id: Tag['id'];
15
+ text?: Tag['text'];
16
+ variant?: Tag['variant'];
17
+ size?: Tag['size'];
18
+ type?: Tag['type'];
18
19
  }>, {
19
20
  text: string;
20
21
  variant: string;
21
22
  size: string;
22
23
  type: string;
23
24
  }>>>, {
24
- type: 'positive' | 'warning' | 'negative' | 'informative' | 'neutral';
25
+ type: import("./types").Type;
25
26
  text: string;
26
- size: 'small' | 'medium';
27
- variant: 'fill' | 'outline';
27
+ size: import("./types").Size;
28
+ variant: "fill" | "outline";
28
29
  }>, {
29
30
  default: (_: {}) => any;
30
31
  }>;
@@ -0,0 +1,9 @@
1
+ export type Size = 'small' | 'medium';
2
+ export type Type = 'positive' | 'warning' | 'negative' | 'informative' | 'neutral';
3
+ export interface Tag {
4
+ id: string;
5
+ text?: string;
6
+ variant?: 'fill' | 'outline';
7
+ size?: Size;
8
+ type?: Type;
9
+ }
@@ -28,6 +28,7 @@ import { SolDatePicker } from './components/date-picker';
28
28
  import { SolCollapsible } from './components/collapsible';
29
29
  import { SolFileUpload } from './components/file-upload';
30
30
  import { SolBreadcrumb } from './components/breadcrumb';
31
+ import { SolDivider } from './components/divider';
31
32
  import 'virtual:windi-base.css';
32
33
  import 'virtual:windi-components.css';
33
34
  import 'virtual:windi-utilities.css';
@@ -376,7 +377,7 @@ export declare const components: {
376
377
  type: import("vue").PropType<Partial<import("vee-validate").FieldOptions<string>>>;
377
378
  };
378
379
  resize: {
379
- type: import("vue").PropType<"none" | "vertical" | "both" | "horizontal">;
380
+ type: import("vue").PropType<"none" | "vertical" | "horizontal" | "both">;
380
381
  } & {
381
382
  default: string;
382
383
  };
@@ -431,7 +432,7 @@ export declare const components: {
431
432
  type: import("vue").PropType<Partial<import("vee-validate").FieldOptions<string>>>;
432
433
  };
433
434
  resize: {
434
- type: import("vue").PropType<"none" | "vertical" | "both" | "horizontal">;
435
+ type: import("vue").PropType<"none" | "vertical" | "horizontal" | "both">;
435
436
  } & {
436
437
  default: string;
437
438
  };
@@ -440,7 +441,7 @@ export declare const components: {
440
441
  }, {
441
442
  size: "small" | "medium";
442
443
  error: string | null;
443
- resize: "none" | "vertical" | "both" | "horizontal";
444
+ resize: "none" | "vertical" | "horizontal" | "both";
444
445
  }>;
445
446
  SolInputText: {
446
447
  new (...args: any[]): {
@@ -2470,9 +2471,9 @@ export declare const components: {
2470
2471
  $: import("vue").ComponentInternalInstance;
2471
2472
  $data: {};
2472
2473
  $props: Partial<{
2473
- type: "warning" | "informative" | "neutral" | "positive" | "negative";
2474
+ type: import("./components/tag/types").Type;
2474
2475
  text: string;
2475
- size: "small" | "medium";
2476
+ size: import("./components/tag/types").Size;
2476
2477
  variant: "fill" | "outline";
2477
2478
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
2478
2479
  id: {
@@ -2480,7 +2481,7 @@ export declare const components: {
2480
2481
  required: true;
2481
2482
  };
2482
2483
  type: {
2483
- type: import("vue").PropType<"warning" | "informative" | "neutral" | "positive" | "negative">;
2484
+ type: import("vue").PropType<import("./components/tag/types").Type>;
2484
2485
  } & {
2485
2486
  default: string;
2486
2487
  };
@@ -2490,7 +2491,7 @@ export declare const components: {
2490
2491
  default: string;
2491
2492
  };
2492
2493
  size: {
2493
- type: import("vue").PropType<"small" | "medium">;
2494
+ type: import("vue").PropType<import("./components/tag/types").Size>;
2494
2495
  } & {
2495
2496
  default: string;
2496
2497
  };
@@ -2519,7 +2520,7 @@ export declare const components: {
2519
2520
  required: true;
2520
2521
  };
2521
2522
  type: {
2522
- type: import("vue").PropType<"warning" | "informative" | "neutral" | "positive" | "negative">;
2523
+ type: import("vue").PropType<import("./components/tag/types").Type>;
2523
2524
  } & {
2524
2525
  default: string;
2525
2526
  };
@@ -2529,7 +2530,7 @@ export declare const components: {
2529
2530
  default: string;
2530
2531
  };
2531
2532
  size: {
2532
- type: import("vue").PropType<"small" | "medium">;
2533
+ type: import("vue").PropType<import("./components/tag/types").Size>;
2533
2534
  } & {
2534
2535
  default: string;
2535
2536
  };
@@ -2539,9 +2540,9 @@ export declare const components: {
2539
2540
  default: string;
2540
2541
  };
2541
2542
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
2542
- type: "warning" | "informative" | "neutral" | "positive" | "negative";
2543
+ type: import("./components/tag/types").Type;
2543
2544
  text: string;
2544
- size: "small" | "medium";
2545
+ size: import("./components/tag/types").Size;
2545
2546
  variant: "fill" | "outline";
2546
2547
  }, {}, string> & {
2547
2548
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
@@ -2569,7 +2570,7 @@ export declare const components: {
2569
2570
  required: true;
2570
2571
  };
2571
2572
  type: {
2572
- type: import("vue").PropType<"warning" | "informative" | "neutral" | "positive" | "negative">;
2573
+ type: import("vue").PropType<import("./components/tag/types").Type>;
2573
2574
  } & {
2574
2575
  default: string;
2575
2576
  };
@@ -2579,7 +2580,7 @@ export declare const components: {
2579
2580
  default: string;
2580
2581
  };
2581
2582
  size: {
2582
- type: import("vue").PropType<"small" | "medium">;
2583
+ type: import("vue").PropType<import("./components/tag/types").Size>;
2583
2584
  } & {
2584
2585
  default: string;
2585
2586
  };
@@ -2598,7 +2599,7 @@ export declare const components: {
2598
2599
  required: true;
2599
2600
  };
2600
2601
  type: {
2601
- type: import("vue").PropType<"warning" | "informative" | "neutral" | "positive" | "negative">;
2602
+ type: import("vue").PropType<import("./components/tag/types").Type>;
2602
2603
  } & {
2603
2604
  default: string;
2604
2605
  };
@@ -2608,7 +2609,7 @@ export declare const components: {
2608
2609
  default: string;
2609
2610
  };
2610
2611
  size: {
2611
- type: import("vue").PropType<"small" | "medium">;
2612
+ type: import("vue").PropType<import("./components/tag/types").Size>;
2612
2613
  } & {
2613
2614
  default: string;
2614
2615
  };
@@ -2618,9 +2619,9 @@ export declare const components: {
2618
2619
  default: string;
2619
2620
  };
2620
2621
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
2621
- type: "warning" | "informative" | "neutral" | "positive" | "negative";
2622
+ type: import("./components/tag/types").Type;
2622
2623
  text: string;
2623
- size: "small" | "medium";
2624
+ size: import("./components/tag/types").Size;
2624
2625
  variant: "fill" | "outline";
2625
2626
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
2626
2627
  $slots: {
@@ -4993,6 +4994,32 @@ export declare const components: {
4993
4994
  items: import("./components/breadcrumb/types").Item[];
4994
4995
  linkTag: "a" | "router-link" | "nuxt-link";
4995
4996
  }>;
4997
+ SolDivider: import("vue").DefineComponent<{
4998
+ orientation: {
4999
+ type: import("vue").PropType<"vertical" | "horizontal">;
5000
+ } & {
5001
+ default: string;
5002
+ };
5003
+ thickness: {
5004
+ type: import("vue").PropType<"small" | "large" | "medium" | "x-small">;
5005
+ } & {
5006
+ default: string;
5007
+ };
5008
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5009
+ orientation: {
5010
+ type: import("vue").PropType<"vertical" | "horizontal">;
5011
+ } & {
5012
+ default: string;
5013
+ };
5014
+ thickness: {
5015
+ type: import("vue").PropType<"small" | "large" | "medium" | "x-small">;
5016
+ } & {
5017
+ default: string;
5018
+ };
5019
+ }>>, {
5020
+ orientation: "vertical" | "horizontal";
5021
+ thickness: "small" | "large" | "medium" | "x-small";
5022
+ }>;
4996
5023
  };
4997
5024
  export declare function install(App: App): void;
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, };
5025
+ 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, SolDivider, };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.19.3",
4
+ "version": "0.20.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {