@solfacil/girassol 0.48.0 → 0.49.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,9 +1,9 @@
1
1
  import type { Checkbox } from '@forms/checkbox/type';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  id: Checkbox['id'];
4
4
  name: Checkbox['name'];
5
5
  value: Checkbox['value'];
6
- label: Checkbox['label'];
6
+ label?: Checkbox['label'];
7
7
  hideLabel?: Checkbox['hideLabel'];
8
8
  checked?: Checkbox['checked'];
9
9
  class?: Checkbox['class'];
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
15
15
  id: Checkbox['id'];
16
16
  name: Checkbox['name'];
17
17
  value: Checkbox['value'];
18
- label: Checkbox['label'];
18
+ label?: Checkbox['label'];
19
19
  hideLabel?: Checkbox['hideLabel'];
20
20
  checked?: Checkbox['checked'];
21
21
  class?: Checkbox['class'];
@@ -23,7 +23,9 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
23
23
  labelHtml?: boolean | undefined;
24
24
  }>>> & {
25
25
  onChange?: ((value: import("@forms/checkbox/type").CheckboxValue) => any) | undefined;
26
- }, {}>;
26
+ }, {}>, {
27
+ default: (_: {}) => any;
28
+ }>;
27
29
  export default _default;
28
30
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
31
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -34,3 +36,8 @@ type __VLS_TypePropsToRuntimeProps<T> = {
34
36
  required: true;
35
37
  };
36
38
  };
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -3,7 +3,7 @@ export interface Checkbox {
3
3
  id?: string;
4
4
  name: string;
5
5
  value: CheckboxValue;
6
- label: string;
6
+ label?: string;
7
7
  checked?: boolean;
8
8
  hideLabel?: boolean;
9
9
  class?: string | Record<string, boolean>;
@@ -1656,7 +1656,150 @@ export declare const components: {
1656
1656
  }) => any;
1657
1657
  };
1658
1658
  });
1659
- SolCheckbox: import("vue").DefineComponent<{
1659
+ SolCheckbox: {
1660
+ new (...args: any[]): {
1661
+ $: import("vue").ComponentInternalInstance;
1662
+ $data: {};
1663
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
1664
+ id: {
1665
+ type: import("vue").PropType<string | undefined>;
1666
+ required: true;
1667
+ };
1668
+ name: {
1669
+ type: import("vue").PropType<string>;
1670
+ required: true;
1671
+ };
1672
+ value: {
1673
+ type: import("vue").PropType<import("./components/forms/checkbox/type").CheckboxValue>;
1674
+ required: true;
1675
+ };
1676
+ label: {
1677
+ type: import("vue").PropType<string>;
1678
+ };
1679
+ hideLabel: {
1680
+ type: import("vue").PropType<boolean>;
1681
+ };
1682
+ checked: {
1683
+ type: import("vue").PropType<boolean>;
1684
+ };
1685
+ class: {
1686
+ type: import("vue").PropType<string | Record<string, boolean>>;
1687
+ };
1688
+ indeterminate: {
1689
+ type: import("vue").PropType<boolean>;
1690
+ };
1691
+ labelHtml: {
1692
+ type: import("vue").PropType<boolean>;
1693
+ };
1694
+ }>> & {
1695
+ onChange?: ((value: import("./components/forms/checkbox/type").CheckboxValue) => any) | undefined;
1696
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
1697
+ $attrs: {
1698
+ [x: string]: unknown;
1699
+ };
1700
+ $refs: {
1701
+ [x: string]: unknown;
1702
+ };
1703
+ $slots: Readonly<{
1704
+ [name: string]: import("vue").Slot | undefined;
1705
+ }>;
1706
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
1707
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
1708
+ $emit: (event: "change", value: import("./components/forms/checkbox/type").CheckboxValue) => void;
1709
+ $el: any;
1710
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
1711
+ id: {
1712
+ type: import("vue").PropType<string | undefined>;
1713
+ required: true;
1714
+ };
1715
+ name: {
1716
+ type: import("vue").PropType<string>;
1717
+ required: true;
1718
+ };
1719
+ value: {
1720
+ type: import("vue").PropType<import("./components/forms/checkbox/type").CheckboxValue>;
1721
+ required: true;
1722
+ };
1723
+ label: {
1724
+ type: import("vue").PropType<string>;
1725
+ };
1726
+ hideLabel: {
1727
+ type: import("vue").PropType<boolean>;
1728
+ };
1729
+ checked: {
1730
+ type: import("vue").PropType<boolean>;
1731
+ };
1732
+ class: {
1733
+ type: import("vue").PropType<string | Record<string, boolean>>;
1734
+ };
1735
+ indeterminate: {
1736
+ type: import("vue").PropType<boolean>;
1737
+ };
1738
+ labelHtml: {
1739
+ type: import("vue").PropType<boolean>;
1740
+ };
1741
+ }>> & {
1742
+ onChange?: ((value: import("./components/forms/checkbox/type").CheckboxValue) => any) | undefined;
1743
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1744
+ change: (value: import("./components/forms/checkbox/type").CheckboxValue) => void;
1745
+ }, string, {}, {}, string> & {
1746
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
1747
+ created?: ((() => void) | (() => void)[]) | undefined;
1748
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
1749
+ mounted?: ((() => void) | (() => void)[]) | undefined;
1750
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
1751
+ updated?: ((() => void) | (() => void)[]) | undefined;
1752
+ activated?: ((() => void) | (() => void)[]) | undefined;
1753
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
1754
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
1755
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
1756
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
1757
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
1758
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
1759
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
1760
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
1761
+ };
1762
+ $forceUpdate: () => void;
1763
+ $nextTick: typeof import("vue").nextTick;
1764
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
1765
+ } & Readonly<import("vue").ExtractPropTypes<{
1766
+ id: {
1767
+ type: import("vue").PropType<string | undefined>;
1768
+ required: true;
1769
+ };
1770
+ name: {
1771
+ type: import("vue").PropType<string>;
1772
+ required: true;
1773
+ };
1774
+ value: {
1775
+ type: import("vue").PropType<import("./components/forms/checkbox/type").CheckboxValue>;
1776
+ required: true;
1777
+ };
1778
+ label: {
1779
+ type: import("vue").PropType<string>;
1780
+ };
1781
+ hideLabel: {
1782
+ type: import("vue").PropType<boolean>;
1783
+ };
1784
+ checked: {
1785
+ type: import("vue").PropType<boolean>;
1786
+ };
1787
+ class: {
1788
+ type: import("vue").PropType<string | Record<string, boolean>>;
1789
+ };
1790
+ indeterminate: {
1791
+ type: import("vue").PropType<boolean>;
1792
+ };
1793
+ labelHtml: {
1794
+ type: import("vue").PropType<boolean>;
1795
+ };
1796
+ }>> & {
1797
+ onChange?: ((value: import("./components/forms/checkbox/type").CheckboxValue) => any) | undefined;
1798
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
1799
+ __isFragment?: undefined;
1800
+ __isTeleport?: undefined;
1801
+ __isSuspense?: undefined;
1802
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
1660
1803
  id: {
1661
1804
  type: import("vue").PropType<string | undefined>;
1662
1805
  required: true;
@@ -1671,7 +1814,6 @@ export declare const components: {
1671
1814
  };
1672
1815
  label: {
1673
1816
  type: import("vue").PropType<string>;
1674
- required: true;
1675
1817
  };
1676
1818
  hideLabel: {
1677
1819
  type: import("vue").PropType<boolean>;
@@ -1688,43 +1830,15 @@ export declare const components: {
1688
1830
  labelHtml: {
1689
1831
  type: import("vue").PropType<boolean>;
1690
1832
  };
1833
+ }>> & {
1834
+ onChange?: ((value: import("./components/forms/checkbox/type").CheckboxValue) => any) | undefined;
1691
1835
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1692
1836
  change: (value: import("./components/forms/checkbox/type").CheckboxValue) => void;
1693
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1694
- id: {
1695
- type: import("vue").PropType<string | undefined>;
1696
- required: true;
1697
- };
1698
- name: {
1699
- type: import("vue").PropType<string>;
1700
- required: true;
1701
- };
1702
- value: {
1703
- type: import("vue").PropType<import("./components/forms/checkbox/type").CheckboxValue>;
1704
- required: true;
1705
- };
1706
- label: {
1707
- type: import("vue").PropType<string>;
1708
- required: true;
1709
- };
1710
- hideLabel: {
1711
- type: import("vue").PropType<boolean>;
1712
- };
1713
- checked: {
1714
- type: import("vue").PropType<boolean>;
1715
- };
1716
- class: {
1717
- type: import("vue").PropType<string | Record<string, boolean>>;
1718
- };
1719
- indeterminate: {
1720
- type: import("vue").PropType<boolean>;
1721
- };
1722
- labelHtml: {
1723
- type: import("vue").PropType<boolean>;
1837
+ }, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
1838
+ $slots: {
1839
+ default: (_: {}) => any;
1724
1840
  };
1725
- }>> & {
1726
- onChange?: ((value: import("./components/forms/checkbox/type").CheckboxValue) => any) | undefined;
1727
- }, {}>;
1841
+ });
1728
1842
  SolCheckboxGroup: {
1729
1843
  new (...args: any[]): {
1730
1844
  $: import("vue").ComponentInternalInstance;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.48.0",
4
+ "version": "0.49.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {