@solfacil/girassol 0.2.4 → 0.2.7
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.
- package/dist/components.d.ts +3 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +1083 -808
- package/dist/girassol.umd.js +6 -6
- package/dist/style.css +1 -1
- package/dist/theme/solfacil/index.d.ts +2 -1
- package/dist/theme/solfacil/miscs.d.ts +124 -0
- package/dist/theme/solfacil/screens.d.ts +11 -0
- package/dist/theme/solfacil/spacing.d.ts +28 -18
- package/dist/types/components/informations/chip/Chip.vue.d.ts +1 -1
- package/dist/types/components/menus/menu/Menu.vue.d.ts +114 -0
- package/dist/types/components/menus/menu/index.d.ts +2 -0
- package/dist/types/components/menus/menu/menu.spec.d.ts +1 -0
- package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +88 -0
- package/dist/types/components/menus/menu-item/menu-item-link/index.d.ts +2 -0
- package/dist/types/components/menus/menu-item/menu-item-link/types.d.ts +6 -0
- package/dist/types/components/menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts +83 -0
- package/dist/types/components/menus/menu-navigation-links/index.d.ts +2 -0
- package/dist/types/composables/use-navigate/index.d.ts +20 -0
- package/dist/types/composables/use-navigate/types.d.ts +19 -0
- package/dist/types/composables/use-toast/Toast.vue.d.ts +4 -4
- package/dist/types/index.d.ts +385 -26
- package/package.json +11 -11
- package/theme/safelist.ts +2 -0
- package/theme/solfacil/index.ts +3 -1
- package/theme/solfacil/miscs.ts +12 -1
- package/theme/solfacil/screens.ts +5 -0
- package/theme/solfacil/spacing.ts +27 -50
- package/theme/solfacil/utilities.ts +11 -0
- package/vite.config.ts +2 -1
- package/windi.config.ts +5 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ import { SolDropdown } from './components/dropdown/';
|
|
|
10
10
|
import { SolSelect } from './components/forms/select';
|
|
11
11
|
import { SolChip } from './components/informations/chip';
|
|
12
12
|
import { SolAccordion } from './components/accordion/';
|
|
13
|
+
import { SolMenu } from './components/menus/menu';
|
|
14
|
+
import { SolMenuItemLink } from './components/menus/menu-item/menu-item-link/';
|
|
15
|
+
import { SolMenuNavigationLinks } from './components/menus/menu-navigation-links';
|
|
13
16
|
import 'virtual:windi-base.css';
|
|
14
17
|
import 'virtual:windi-components.css';
|
|
15
18
|
import 'virtual:windi-utilities.css';
|
|
@@ -413,9 +416,6 @@ export declare const components: {
|
|
|
413
416
|
} & {
|
|
414
417
|
default: string;
|
|
415
418
|
};
|
|
416
|
-
class: {
|
|
417
|
-
type: import("vue").PropType<string>;
|
|
418
|
-
};
|
|
419
419
|
id: {
|
|
420
420
|
type: import("vue").PropType<string>;
|
|
421
421
|
required: true;
|
|
@@ -423,6 +423,9 @@ export declare const components: {
|
|
|
423
423
|
invert: {
|
|
424
424
|
type: import("vue").PropType<boolean>;
|
|
425
425
|
};
|
|
426
|
+
class: {
|
|
427
|
+
type: import("vue").PropType<string>;
|
|
428
|
+
};
|
|
426
429
|
modelValue: {
|
|
427
430
|
type: import("vue").PropType<string>;
|
|
428
431
|
} & {
|
|
@@ -461,9 +464,6 @@ export declare const components: {
|
|
|
461
464
|
} & {
|
|
462
465
|
default: string;
|
|
463
466
|
};
|
|
464
|
-
class: {
|
|
465
|
-
type: import("vue").PropType<string>;
|
|
466
|
-
};
|
|
467
467
|
id: {
|
|
468
468
|
type: import("vue").PropType<string>;
|
|
469
469
|
required: true;
|
|
@@ -471,6 +471,9 @@ export declare const components: {
|
|
|
471
471
|
invert: {
|
|
472
472
|
type: import("vue").PropType<boolean>;
|
|
473
473
|
};
|
|
474
|
+
class: {
|
|
475
|
+
type: import("vue").PropType<string>;
|
|
476
|
+
};
|
|
474
477
|
modelValue: {
|
|
475
478
|
type: import("vue").PropType<string>;
|
|
476
479
|
} & {
|
|
@@ -521,9 +524,6 @@ export declare const components: {
|
|
|
521
524
|
} & {
|
|
522
525
|
default: string;
|
|
523
526
|
};
|
|
524
|
-
class: {
|
|
525
|
-
type: import("vue").PropType<string>;
|
|
526
|
-
};
|
|
527
527
|
id: {
|
|
528
528
|
type: import("vue").PropType<string>;
|
|
529
529
|
required: true;
|
|
@@ -531,6 +531,9 @@ export declare const components: {
|
|
|
531
531
|
invert: {
|
|
532
532
|
type: import("vue").PropType<boolean>;
|
|
533
533
|
};
|
|
534
|
+
class: {
|
|
535
|
+
type: import("vue").PropType<string>;
|
|
536
|
+
};
|
|
534
537
|
modelValue: {
|
|
535
538
|
type: import("vue").PropType<string>;
|
|
536
539
|
} & {
|
|
@@ -559,9 +562,6 @@ export declare const components: {
|
|
|
559
562
|
} & {
|
|
560
563
|
default: string;
|
|
561
564
|
};
|
|
562
|
-
class: {
|
|
563
|
-
type: import("vue").PropType<string>;
|
|
564
|
-
};
|
|
565
565
|
id: {
|
|
566
566
|
type: import("vue").PropType<string>;
|
|
567
567
|
required: true;
|
|
@@ -569,6 +569,9 @@ export declare const components: {
|
|
|
569
569
|
invert: {
|
|
570
570
|
type: import("vue").PropType<boolean>;
|
|
571
571
|
};
|
|
572
|
+
class: {
|
|
573
|
+
type: import("vue").PropType<string>;
|
|
574
|
+
};
|
|
572
575
|
modelValue: {
|
|
573
576
|
type: import("vue").PropType<string>;
|
|
574
577
|
} & {
|
|
@@ -612,9 +615,6 @@ export declare const components: {
|
|
|
612
615
|
} & {
|
|
613
616
|
default: string;
|
|
614
617
|
};
|
|
615
|
-
class: {
|
|
616
|
-
type: import("vue").PropType<string>;
|
|
617
|
-
};
|
|
618
618
|
id: {
|
|
619
619
|
type: import("vue").PropType<string>;
|
|
620
620
|
required: true;
|
|
@@ -622,6 +622,9 @@ export declare const components: {
|
|
|
622
622
|
invert: {
|
|
623
623
|
type: import("vue").PropType<boolean>;
|
|
624
624
|
};
|
|
625
|
+
class: {
|
|
626
|
+
type: import("vue").PropType<string>;
|
|
627
|
+
};
|
|
625
628
|
modelValue: {
|
|
626
629
|
type: import("vue").PropType<string | number>;
|
|
627
630
|
} & {
|
|
@@ -655,9 +658,6 @@ export declare const components: {
|
|
|
655
658
|
} & {
|
|
656
659
|
default: string;
|
|
657
660
|
};
|
|
658
|
-
class: {
|
|
659
|
-
type: import("vue").PropType<string>;
|
|
660
|
-
};
|
|
661
661
|
id: {
|
|
662
662
|
type: import("vue").PropType<string>;
|
|
663
663
|
required: true;
|
|
@@ -665,6 +665,9 @@ export declare const components: {
|
|
|
665
665
|
invert: {
|
|
666
666
|
type: import("vue").PropType<boolean>;
|
|
667
667
|
};
|
|
668
|
+
class: {
|
|
669
|
+
type: import("vue").PropType<string>;
|
|
670
|
+
};
|
|
668
671
|
modelValue: {
|
|
669
672
|
type: import("vue").PropType<string | number>;
|
|
670
673
|
} & {
|
|
@@ -709,9 +712,6 @@ export declare const components: {
|
|
|
709
712
|
} & {
|
|
710
713
|
default: string;
|
|
711
714
|
};
|
|
712
|
-
class: {
|
|
713
|
-
type: import("vue").PropType<string>;
|
|
714
|
-
};
|
|
715
715
|
id: {
|
|
716
716
|
type: import("vue").PropType<string>;
|
|
717
717
|
required: true;
|
|
@@ -719,6 +719,9 @@ export declare const components: {
|
|
|
719
719
|
invert: {
|
|
720
720
|
type: import("vue").PropType<boolean>;
|
|
721
721
|
};
|
|
722
|
+
class: {
|
|
723
|
+
type: import("vue").PropType<string>;
|
|
724
|
+
};
|
|
722
725
|
modelValue: {
|
|
723
726
|
type: import("vue").PropType<string | number>;
|
|
724
727
|
} & {
|
|
@@ -742,9 +745,6 @@ export declare const components: {
|
|
|
742
745
|
} & {
|
|
743
746
|
default: string;
|
|
744
747
|
};
|
|
745
|
-
class: {
|
|
746
|
-
type: import("vue").PropType<string>;
|
|
747
|
-
};
|
|
748
748
|
id: {
|
|
749
749
|
type: import("vue").PropType<string>;
|
|
750
750
|
required: true;
|
|
@@ -752,6 +752,9 @@ export declare const components: {
|
|
|
752
752
|
invert: {
|
|
753
753
|
type: import("vue").PropType<boolean>;
|
|
754
754
|
};
|
|
755
|
+
class: {
|
|
756
|
+
type: import("vue").PropType<string>;
|
|
757
|
+
};
|
|
755
758
|
modelValue: {
|
|
756
759
|
type: import("vue").PropType<string | number>;
|
|
757
760
|
} & {
|
|
@@ -2627,7 +2630,7 @@ export declare const components: {
|
|
|
2627
2630
|
}>;
|
|
2628
2631
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
2629
2632
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
2630
|
-
$emit: ((event: "
|
|
2633
|
+
$emit: ((event: "update:selected") => void) & ((event: "close") => void);
|
|
2631
2634
|
$el: any;
|
|
2632
2635
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
2633
2636
|
label: {
|
|
@@ -2854,6 +2857,362 @@ export declare const components: {
|
|
|
2854
2857
|
default: (_: {}) => any;
|
|
2855
2858
|
};
|
|
2856
2859
|
});
|
|
2860
|
+
SolMenu: {
|
|
2861
|
+
new (...args: any[]): {
|
|
2862
|
+
$: import("vue").ComponentInternalInstance;
|
|
2863
|
+
$data: {};
|
|
2864
|
+
$props: Partial<{
|
|
2865
|
+
label: string;
|
|
2866
|
+
position: ("bottom" | "top") | ("right" | "left");
|
|
2867
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
2868
|
+
label: {
|
|
2869
|
+
type: import("vue").PropType<string>;
|
|
2870
|
+
} & {
|
|
2871
|
+
default: string;
|
|
2872
|
+
};
|
|
2873
|
+
id: {
|
|
2874
|
+
type: import("vue").PropType<string>;
|
|
2875
|
+
required: true;
|
|
2876
|
+
};
|
|
2877
|
+
position: {
|
|
2878
|
+
type: import("vue").PropType<("bottom" | "top") | ("right" | "left")>;
|
|
2879
|
+
} & {
|
|
2880
|
+
default: string;
|
|
2881
|
+
};
|
|
2882
|
+
}>> & {
|
|
2883
|
+
onChange?: ((value: string) => any) | undefined;
|
|
2884
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "position">;
|
|
2885
|
+
$attrs: {
|
|
2886
|
+
[x: string]: unknown;
|
|
2887
|
+
};
|
|
2888
|
+
$refs: {
|
|
2889
|
+
[x: string]: unknown;
|
|
2890
|
+
};
|
|
2891
|
+
$slots: Readonly<{
|
|
2892
|
+
[name: string]: import("vue").Slot | undefined;
|
|
2893
|
+
}>;
|
|
2894
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
2895
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
2896
|
+
$emit: (event: "change", value: string) => void;
|
|
2897
|
+
$el: any;
|
|
2898
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
2899
|
+
label: {
|
|
2900
|
+
type: import("vue").PropType<string>;
|
|
2901
|
+
} & {
|
|
2902
|
+
default: string;
|
|
2903
|
+
};
|
|
2904
|
+
id: {
|
|
2905
|
+
type: import("vue").PropType<string>;
|
|
2906
|
+
required: true;
|
|
2907
|
+
};
|
|
2908
|
+
position: {
|
|
2909
|
+
type: import("vue").PropType<("bottom" | "top") | ("right" | "left")>;
|
|
2910
|
+
} & {
|
|
2911
|
+
default: string;
|
|
2912
|
+
};
|
|
2913
|
+
}>> & {
|
|
2914
|
+
onChange?: ((value: string) => any) | undefined;
|
|
2915
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2916
|
+
change: (value: string) => void;
|
|
2917
|
+
}, string, {
|
|
2918
|
+
label: string;
|
|
2919
|
+
position: ("bottom" | "top") | ("right" | "left");
|
|
2920
|
+
}> & {
|
|
2921
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2922
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
2923
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
2924
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
2925
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
2926
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
2927
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
2928
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
2929
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
2930
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
2931
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
2932
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
2933
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
2934
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
2935
|
+
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;
|
|
2936
|
+
};
|
|
2937
|
+
$forceUpdate: () => void;
|
|
2938
|
+
$nextTick: typeof import("vue").nextTick;
|
|
2939
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
2940
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
2941
|
+
label: {
|
|
2942
|
+
type: import("vue").PropType<string>;
|
|
2943
|
+
} & {
|
|
2944
|
+
default: string;
|
|
2945
|
+
};
|
|
2946
|
+
id: {
|
|
2947
|
+
type: import("vue").PropType<string>;
|
|
2948
|
+
required: true;
|
|
2949
|
+
};
|
|
2950
|
+
position: {
|
|
2951
|
+
type: import("vue").PropType<("bottom" | "top") | ("right" | "left")>;
|
|
2952
|
+
} & {
|
|
2953
|
+
default: string;
|
|
2954
|
+
};
|
|
2955
|
+
}>> & {
|
|
2956
|
+
onChange?: ((value: string) => any) | undefined;
|
|
2957
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
2958
|
+
__isFragment?: undefined;
|
|
2959
|
+
__isTeleport?: undefined;
|
|
2960
|
+
__isSuspense?: undefined;
|
|
2961
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
2962
|
+
label: {
|
|
2963
|
+
type: import("vue").PropType<string>;
|
|
2964
|
+
} & {
|
|
2965
|
+
default: string;
|
|
2966
|
+
};
|
|
2967
|
+
id: {
|
|
2968
|
+
type: import("vue").PropType<string>;
|
|
2969
|
+
required: true;
|
|
2970
|
+
};
|
|
2971
|
+
position: {
|
|
2972
|
+
type: import("vue").PropType<("bottom" | "top") | ("right" | "left")>;
|
|
2973
|
+
} & {
|
|
2974
|
+
default: string;
|
|
2975
|
+
};
|
|
2976
|
+
}>> & {
|
|
2977
|
+
onChange?: ((value: string) => any) | undefined;
|
|
2978
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2979
|
+
change: (value: string) => void;
|
|
2980
|
+
}, string, {
|
|
2981
|
+
label: string;
|
|
2982
|
+
position: ("bottom" | "top") | ("right" | "left");
|
|
2983
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
2984
|
+
$slots: {
|
|
2985
|
+
label: (_: {
|
|
2986
|
+
isOpen: boolean;
|
|
2987
|
+
}) => any;
|
|
2988
|
+
default: (_: {}) => any;
|
|
2989
|
+
};
|
|
2990
|
+
});
|
|
2991
|
+
SolMenuItemLink: {
|
|
2992
|
+
new (...args: any[]): {
|
|
2993
|
+
$: import("vue").ComponentInternalInstance;
|
|
2994
|
+
$data: {};
|
|
2995
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
2996
|
+
id: {
|
|
2997
|
+
type: import("vue").PropType<string>;
|
|
2998
|
+
required: true;
|
|
2999
|
+
};
|
|
3000
|
+
text: {
|
|
3001
|
+
type: import("vue").PropType<string>;
|
|
3002
|
+
};
|
|
3003
|
+
link: {
|
|
3004
|
+
type: import("vue").PropType<string>;
|
|
3005
|
+
};
|
|
3006
|
+
active: {
|
|
3007
|
+
type: import("vue").PropType<boolean>;
|
|
3008
|
+
};
|
|
3009
|
+
external: {
|
|
3010
|
+
type: import("vue").PropType<boolean>;
|
|
3011
|
+
};
|
|
3012
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
3013
|
+
$attrs: {
|
|
3014
|
+
[x: string]: unknown;
|
|
3015
|
+
};
|
|
3016
|
+
$refs: {
|
|
3017
|
+
[x: string]: unknown;
|
|
3018
|
+
};
|
|
3019
|
+
$slots: Readonly<{
|
|
3020
|
+
[name: string]: import("vue").Slot | undefined;
|
|
3021
|
+
}>;
|
|
3022
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
3023
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
3024
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
3025
|
+
$el: any;
|
|
3026
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
3027
|
+
id: {
|
|
3028
|
+
type: import("vue").PropType<string>;
|
|
3029
|
+
required: true;
|
|
3030
|
+
};
|
|
3031
|
+
text: {
|
|
3032
|
+
type: import("vue").PropType<string>;
|
|
3033
|
+
};
|
|
3034
|
+
link: {
|
|
3035
|
+
type: import("vue").PropType<string>;
|
|
3036
|
+
};
|
|
3037
|
+
active: {
|
|
3038
|
+
type: import("vue").PropType<boolean>;
|
|
3039
|
+
};
|
|
3040
|
+
external: {
|
|
3041
|
+
type: import("vue").PropType<boolean>;
|
|
3042
|
+
};
|
|
3043
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
3044
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
3045
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
3046
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
3047
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
3048
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
3049
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
3050
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
3051
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
3052
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
3053
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
3054
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
3055
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
3056
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
3057
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
3058
|
+
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;
|
|
3059
|
+
};
|
|
3060
|
+
$forceUpdate: () => void;
|
|
3061
|
+
$nextTick: typeof import("vue").nextTick;
|
|
3062
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
3063
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
3064
|
+
id: {
|
|
3065
|
+
type: import("vue").PropType<string>;
|
|
3066
|
+
required: true;
|
|
3067
|
+
};
|
|
3068
|
+
text: {
|
|
3069
|
+
type: import("vue").PropType<string>;
|
|
3070
|
+
};
|
|
3071
|
+
link: {
|
|
3072
|
+
type: import("vue").PropType<string>;
|
|
3073
|
+
};
|
|
3074
|
+
active: {
|
|
3075
|
+
type: import("vue").PropType<boolean>;
|
|
3076
|
+
};
|
|
3077
|
+
external: {
|
|
3078
|
+
type: import("vue").PropType<boolean>;
|
|
3079
|
+
};
|
|
3080
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
3081
|
+
__isFragment?: undefined;
|
|
3082
|
+
__isTeleport?: undefined;
|
|
3083
|
+
__isSuspense?: undefined;
|
|
3084
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
3085
|
+
id: {
|
|
3086
|
+
type: import("vue").PropType<string>;
|
|
3087
|
+
required: true;
|
|
3088
|
+
};
|
|
3089
|
+
text: {
|
|
3090
|
+
type: import("vue").PropType<string>;
|
|
3091
|
+
};
|
|
3092
|
+
link: {
|
|
3093
|
+
type: import("vue").PropType<string>;
|
|
3094
|
+
};
|
|
3095
|
+
active: {
|
|
3096
|
+
type: import("vue").PropType<boolean>;
|
|
3097
|
+
};
|
|
3098
|
+
external: {
|
|
3099
|
+
type: import("vue").PropType<boolean>;
|
|
3100
|
+
};
|
|
3101
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
3102
|
+
$slots: {
|
|
3103
|
+
default: (_: {
|
|
3104
|
+
id: string;
|
|
3105
|
+
active: boolean | undefined;
|
|
3106
|
+
link: string | undefined;
|
|
3107
|
+
text: string | undefined;
|
|
3108
|
+
external: boolean | undefined;
|
|
3109
|
+
}) => any;
|
|
3110
|
+
};
|
|
3111
|
+
});
|
|
3112
|
+
SolMenuNavigationLinks: {
|
|
3113
|
+
new (...args: any[]): {
|
|
3114
|
+
$: import("vue").ComponentInternalInstance;
|
|
3115
|
+
$data: {};
|
|
3116
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
3117
|
+
id: {
|
|
3118
|
+
type: import("vue").PropType<string>;
|
|
3119
|
+
required: true;
|
|
3120
|
+
};
|
|
3121
|
+
label: {
|
|
3122
|
+
type: import("vue").PropType<string>;
|
|
3123
|
+
};
|
|
3124
|
+
linkItems: {
|
|
3125
|
+
type: import("vue").PropType<import("./components/menus/menu-item/menu-item-link/types").LinkData[]>;
|
|
3126
|
+
required: true;
|
|
3127
|
+
};
|
|
3128
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
3129
|
+
$attrs: {
|
|
3130
|
+
[x: string]: unknown;
|
|
3131
|
+
};
|
|
3132
|
+
$refs: {
|
|
3133
|
+
[x: string]: unknown;
|
|
3134
|
+
};
|
|
3135
|
+
$slots: Readonly<{
|
|
3136
|
+
[name: string]: import("vue").Slot | undefined;
|
|
3137
|
+
}>;
|
|
3138
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
3139
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
3140
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
3141
|
+
$el: any;
|
|
3142
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
3143
|
+
id: {
|
|
3144
|
+
type: import("vue").PropType<string>;
|
|
3145
|
+
required: true;
|
|
3146
|
+
};
|
|
3147
|
+
label: {
|
|
3148
|
+
type: import("vue").PropType<string>;
|
|
3149
|
+
};
|
|
3150
|
+
linkItems: {
|
|
3151
|
+
type: import("vue").PropType<import("./components/menus/menu-item/menu-item-link/types").LinkData[]>;
|
|
3152
|
+
required: true;
|
|
3153
|
+
};
|
|
3154
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
3155
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
3156
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
3157
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
3158
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
3159
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
3160
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
3161
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
3162
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
3163
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
3164
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
3165
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
3166
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
3167
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
3168
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
3169
|
+
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;
|
|
3170
|
+
};
|
|
3171
|
+
$forceUpdate: () => void;
|
|
3172
|
+
$nextTick: typeof import("vue").nextTick;
|
|
3173
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
3174
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
3175
|
+
id: {
|
|
3176
|
+
type: import("vue").PropType<string>;
|
|
3177
|
+
required: true;
|
|
3178
|
+
};
|
|
3179
|
+
label: {
|
|
3180
|
+
type: import("vue").PropType<string>;
|
|
3181
|
+
};
|
|
3182
|
+
linkItems: {
|
|
3183
|
+
type: import("vue").PropType<import("./components/menus/menu-item/menu-item-link/types").LinkData[]>;
|
|
3184
|
+
required: true;
|
|
3185
|
+
};
|
|
3186
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
3187
|
+
__isFragment?: undefined;
|
|
3188
|
+
__isTeleport?: undefined;
|
|
3189
|
+
__isSuspense?: undefined;
|
|
3190
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
3191
|
+
id: {
|
|
3192
|
+
type: import("vue").PropType<string>;
|
|
3193
|
+
required: true;
|
|
3194
|
+
};
|
|
3195
|
+
label: {
|
|
3196
|
+
type: import("vue").PropType<string>;
|
|
3197
|
+
};
|
|
3198
|
+
linkItems: {
|
|
3199
|
+
type: import("vue").PropType<import("./components/menus/menu-item/menu-item-link/types").LinkData[]>;
|
|
3200
|
+
required: true;
|
|
3201
|
+
};
|
|
3202
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
3203
|
+
$slots: {
|
|
3204
|
+
label: (_: {
|
|
3205
|
+
isOpen: boolean;
|
|
3206
|
+
}) => any;
|
|
3207
|
+
default: (_: {
|
|
3208
|
+
id: string;
|
|
3209
|
+
active: boolean | undefined;
|
|
3210
|
+
link: string | undefined;
|
|
3211
|
+
text: string | undefined;
|
|
3212
|
+
external: boolean | undefined;
|
|
3213
|
+
}) => any;
|
|
3214
|
+
};
|
|
3215
|
+
});
|
|
2857
3216
|
};
|
|
2858
3217
|
export declare function install(App: App): void;
|
|
2859
|
-
export { SolButton, SolButtonDestructive, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, SolAccordion, };
|
|
3218
|
+
export { SolButton, SolButtonDestructive, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, SolAccordion, SolMenu, SolMenuItemLink, SolMenuNavigationLinks, };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solfacil/girassol",
|
|
3
3
|
"description": "Girassol design system",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.7",
|
|
5
5
|
"authors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Kevin Martin",
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"pre-commit": "./.husky/run-staged-tests.js"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@vueuse/core": "^9.
|
|
60
|
+
"@vueuse/core": "^9.1.0",
|
|
61
61
|
"gluegun": "latest",
|
|
62
62
|
"vue": "^3.2.37"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@antfu/eslint-config": "^0.
|
|
66
|
-
"@babel/core": "^7.18.
|
|
67
|
-
"@babel/preset-env": "^7.18.
|
|
65
|
+
"@antfu/eslint-config": "^0.26.1",
|
|
66
|
+
"@babel/core": "^7.18.10",
|
|
67
|
+
"@babel/preset-env": "^7.18.10",
|
|
68
68
|
"@commitlint/cli": "^17.0.3",
|
|
69
69
|
"@commitlint/config-conventional": "^17.0.3",
|
|
70
|
-
"@iconify/json": "^2.1.
|
|
70
|
+
"@iconify/json": "^2.1.89",
|
|
71
71
|
"@storybook/addon-a11y": "^6.5.9",
|
|
72
72
|
"@storybook/addon-actions": "^6.5.9",
|
|
73
73
|
"@storybook/addon-essentials": "^6.5.9",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"@storybook/vue3": "^6.5.9",
|
|
78
78
|
"@testing-library/jest-dom": "^5.16.4",
|
|
79
79
|
"@testing-library/user-event": "^14.2.1",
|
|
80
|
-
"@testing-library/vue": "^6.6.
|
|
80
|
+
"@testing-library/vue": "^6.6.1",
|
|
81
81
|
"@types/jest-axe": "^3.5.4",
|
|
82
82
|
"@types/node": "^17.0.41",
|
|
83
83
|
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
|
84
84
|
"@typescript-eslint/parser": "^5.30.0",
|
|
85
85
|
"@vitejs/plugin-vue": "^3.0.1",
|
|
86
86
|
"babel-loader": "^8.2.5",
|
|
87
|
-
"c8": "^7.
|
|
87
|
+
"c8": "^7.12.0",
|
|
88
88
|
"cli-spinner": "^0.2.10",
|
|
89
89
|
"commitizen": "^4.2.4",
|
|
90
90
|
"copyfiles": "^2.4.1",
|
|
@@ -107,12 +107,12 @@
|
|
|
107
107
|
"ts-node": "^10.8.1",
|
|
108
108
|
"typescript": "^4.7.4",
|
|
109
109
|
"unplugin-icons": "^0.14.7",
|
|
110
|
-
"vite": "^3.0.
|
|
110
|
+
"vite": "^3.0.5",
|
|
111
111
|
"vite-plugin-inspect": "^0.5.1",
|
|
112
112
|
"vite-plugin-windicss": "^1.8.7",
|
|
113
|
-
"vitest": "^0.
|
|
113
|
+
"vitest": "^0.21.1",
|
|
114
114
|
"vue-loader": "^17.0.0",
|
|
115
|
-
"vue-tsc": "^0.
|
|
115
|
+
"vue-tsc": "^0.40.0",
|
|
116
116
|
"windicss": "^3.5.6"
|
|
117
117
|
},
|
|
118
118
|
"repository": {
|
package/theme/safelist.ts
CHANGED
package/theme/solfacil/index.ts
CHANGED
|
@@ -5,7 +5,8 @@ import spacing from './spacing'
|
|
|
5
5
|
import effects from './effects'
|
|
6
6
|
import misc from './miscs'
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { screens } from './screens'
|
|
9
|
+
import { componentTypos, debug, maxLines, outlinesForFocus, placeholder } from './utilities'
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
export {
|
|
@@ -15,6 +16,7 @@ export {
|
|
|
15
16
|
borders,
|
|
16
17
|
effects,
|
|
17
18
|
misc,
|
|
19
|
+
screens,
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export const utilities = {
|
package/theme/solfacil/miscs.ts
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
import { sizings } from './spacing'
|
|
2
|
+
|
|
1
3
|
export default {
|
|
2
4
|
width: {
|
|
3
5
|
'fit-content': 'fit-content',
|
|
6
|
+
...sizings,
|
|
4
7
|
},
|
|
5
|
-
|
|
8
|
+
|
|
9
|
+
height: sizings,
|
|
10
|
+
minHeight: sizings,
|
|
11
|
+
maxHeight: sizings,
|
|
12
|
+
minWidth: sizings,
|
|
13
|
+
maxWidth: sizings,
|
|
14
|
+
|
|
15
|
+
spacing: sizings,
|
|
16
|
+
|
|
6
17
|
colors: {
|
|
7
18
|
transparent: 'transparent',
|
|
8
19
|
},
|