@weni/unnnic-system 3.12.7-alpha-teleports.0 → 3.12.8-alpha-teleports.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.
- package/dist/{es-95214495.mjs → es-2f6793d2.mjs} +1 -1
- package/dist/{index-edacc4d7.mjs → index-799af668.mjs} +3278 -3258
- package/dist/index.d.ts +27 -18
- package/dist/{pt-br-fb80e803.mjs → pt-br-f5121b47.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +1 -1
- package/dist/unnnic.umd.js +30 -30
- package/package.json +1 -1
- package/src/components/DatePicker/DatePicker.vue +11 -1
- package/src/components/InputDatePicker/InputDatePicker.vue +68 -73
- package/src/components/InputDatePicker/__test__/InputDatePicker.spec.js +31 -24
- package/src/components/ModalDialog/ModalDialog.vue +3 -3
- package/src/components/ModalDialog/__tests__/ModalDialog.spec.js +31 -1
- package/src/components/ui/popover/PopoverContent.vue +27 -9
- package/src/components/ui/popover/PopoverOption.vue +1 -1
- package/src/stories/ModalDialog.stories.js +95 -0
- package/src/stories/Popover.stories.js +5 -0
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ declare interface DatePickerProps {
|
|
|
91
91
|
disableClear?: boolean;
|
|
92
92
|
locale?: string;
|
|
93
93
|
translations?: Record<string, unknown>;
|
|
94
|
+
variant?: 'card' | 'popover';
|
|
94
95
|
}
|
|
95
96
|
|
|
96
97
|
declare interface DisclaimerProps {
|
|
@@ -11306,6 +11307,7 @@ name: string;
|
|
|
11306
11307
|
}[];
|
|
11307
11308
|
disableClear: boolean;
|
|
11308
11309
|
translations: Record<string, unknown>;
|
|
11310
|
+
variant: "card" | "popover";
|
|
11309
11311
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11310
11312
|
|
|
11311
11313
|
export declare const unnnicDatePicker: DefineComponent<DatePickerProps, {
|
|
@@ -11364,6 +11366,7 @@ name: string;
|
|
|
11364
11366
|
}[];
|
|
11365
11367
|
disableClear: boolean;
|
|
11366
11368
|
translations: Record<string, unknown>;
|
|
11369
|
+
variant: "card" | "popover";
|
|
11367
11370
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11368
11371
|
|
|
11369
11372
|
export declare const UnnnicDialog: {
|
|
@@ -18783,7 +18786,8 @@ export declare const unnnicPopover: {
|
|
|
18783
18786
|
|
|
18784
18787
|
export declare const UnnnicPopoverContent: DefineComponent<PopoverContentProps & {
|
|
18785
18788
|
class?: HTMLAttributes["class"];
|
|
18786
|
-
size?:
|
|
18789
|
+
size?: string;
|
|
18790
|
+
width?: string;
|
|
18787
18791
|
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18788
18792
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
18789
18793
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
@@ -18793,7 +18797,8 @@ openAutoFocus: (event: Event) => any;
|
|
|
18793
18797
|
closeAutoFocus: (event: Event) => any;
|
|
18794
18798
|
}, string, PublicProps, Readonly<PopoverContentProps & {
|
|
18795
18799
|
class?: HTMLAttributes["class"];
|
|
18796
|
-
size?:
|
|
18800
|
+
size?: string;
|
|
18801
|
+
width?: string;
|
|
18797
18802
|
}> & Readonly<{
|
|
18798
18803
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
18799
18804
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
@@ -18805,12 +18810,14 @@ onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
|
18805
18810
|
class: HTMLAttributes["class"];
|
|
18806
18811
|
sideOffset: number;
|
|
18807
18812
|
align: "center" | "start" | "end";
|
|
18808
|
-
size:
|
|
18813
|
+
size: string;
|
|
18814
|
+
width: string;
|
|
18809
18815
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18810
18816
|
|
|
18811
18817
|
export declare const unnnicPopoverContent: DefineComponent<PopoverContentProps & {
|
|
18812
18818
|
class?: HTMLAttributes["class"];
|
|
18813
|
-
size?:
|
|
18819
|
+
size?: string;
|
|
18820
|
+
width?: string;
|
|
18814
18821
|
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18815
18822
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
18816
18823
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
@@ -18820,7 +18827,8 @@ openAutoFocus: (event: Event) => any;
|
|
|
18820
18827
|
closeAutoFocus: (event: Event) => any;
|
|
18821
18828
|
}, string, PublicProps, Readonly<PopoverContentProps & {
|
|
18822
18829
|
class?: HTMLAttributes["class"];
|
|
18823
|
-
size?:
|
|
18830
|
+
size?: string;
|
|
18831
|
+
width?: string;
|
|
18824
18832
|
}> & Readonly<{
|
|
18825
18833
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
18826
18834
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
@@ -18832,7 +18840,8 @@ onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
|
18832
18840
|
class: HTMLAttributes["class"];
|
|
18833
18841
|
sideOffset: number;
|
|
18834
18842
|
align: "center" | "start" | "end";
|
|
18835
|
-
size:
|
|
18843
|
+
size: string;
|
|
18844
|
+
width: string;
|
|
18836
18845
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18837
18846
|
|
|
18838
18847
|
export declare const UnnnicPopoverFooter: {
|
|
@@ -19657,14 +19666,14 @@ export declare const UnnnicSidebar: {
|
|
|
19657
19666
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
19658
19667
|
$emit: (event: "navigate", ...args: any[]) => void;
|
|
19659
19668
|
width: string;
|
|
19660
|
-
position: string;
|
|
19661
19669
|
active: Record<string, any>;
|
|
19670
|
+
position: string;
|
|
19662
19671
|
autoNavigateFirstChild: boolean;
|
|
19663
19672
|
items: unknown[];
|
|
19664
19673
|
$props: {
|
|
19665
19674
|
readonly width?: string | undefined;
|
|
19666
|
-
readonly position?: string | undefined;
|
|
19667
19675
|
readonly active?: Record<string, any> | undefined;
|
|
19676
|
+
readonly position?: string | undefined;
|
|
19668
19677
|
readonly autoNavigateFirstChild?: boolean | undefined;
|
|
19669
19678
|
readonly items?: unknown[] | undefined;
|
|
19670
19679
|
};
|
|
@@ -19678,14 +19687,14 @@ export declare const UnnnicSidebar: {
|
|
|
19678
19687
|
}, Readonly<{}> & Readonly<{}>, {
|
|
19679
19688
|
$emit: (event: "navigate", ...args: any[]) => void;
|
|
19680
19689
|
width: string;
|
|
19681
|
-
position: string;
|
|
19682
19690
|
active: Record<string, any>;
|
|
19691
|
+
position: string;
|
|
19683
19692
|
autoNavigateFirstChild: boolean;
|
|
19684
19693
|
items: unknown[];
|
|
19685
19694
|
$props: {
|
|
19686
19695
|
readonly width?: string | undefined;
|
|
19687
|
-
readonly position?: string | undefined;
|
|
19688
19696
|
readonly active?: Record<string, any> | undefined;
|
|
19697
|
+
readonly position?: string | undefined;
|
|
19689
19698
|
readonly autoNavigateFirstChild?: boolean | undefined;
|
|
19690
19699
|
readonly items?: unknown[] | undefined;
|
|
19691
19700
|
};
|
|
@@ -19696,14 +19705,14 @@ export declare const UnnnicSidebar: {
|
|
|
19696
19705
|
} & ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
19697
19706
|
$emit: (event: "navigate", ...args: any[]) => void;
|
|
19698
19707
|
width: string;
|
|
19699
|
-
position: string;
|
|
19700
19708
|
active: Record<string, any>;
|
|
19709
|
+
position: string;
|
|
19701
19710
|
autoNavigateFirstChild: boolean;
|
|
19702
19711
|
items: unknown[];
|
|
19703
19712
|
$props: {
|
|
19704
19713
|
readonly width?: string | undefined;
|
|
19705
|
-
readonly position?: string | undefined;
|
|
19706
19714
|
readonly active?: Record<string, any> | undefined;
|
|
19715
|
+
readonly position?: string | undefined;
|
|
19707
19716
|
readonly autoNavigateFirstChild?: boolean | undefined;
|
|
19708
19717
|
readonly items?: unknown[] | undefined;
|
|
19709
19718
|
};
|
|
@@ -19722,14 +19731,14 @@ export declare const unnnicSidebar: {
|
|
|
19722
19731
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
19723
19732
|
$emit: (event: "navigate", ...args: any[]) => void;
|
|
19724
19733
|
width: string;
|
|
19725
|
-
position: string;
|
|
19726
19734
|
active: Record<string, any>;
|
|
19735
|
+
position: string;
|
|
19727
19736
|
autoNavigateFirstChild: boolean;
|
|
19728
19737
|
items: unknown[];
|
|
19729
19738
|
$props: {
|
|
19730
19739
|
readonly width?: string | undefined;
|
|
19731
|
-
readonly position?: string | undefined;
|
|
19732
19740
|
readonly active?: Record<string, any> | undefined;
|
|
19741
|
+
readonly position?: string | undefined;
|
|
19733
19742
|
readonly autoNavigateFirstChild?: boolean | undefined;
|
|
19734
19743
|
readonly items?: unknown[] | undefined;
|
|
19735
19744
|
};
|
|
@@ -19743,14 +19752,14 @@ export declare const unnnicSidebar: {
|
|
|
19743
19752
|
}, Readonly<{}> & Readonly<{}>, {
|
|
19744
19753
|
$emit: (event: "navigate", ...args: any[]) => void;
|
|
19745
19754
|
width: string;
|
|
19746
|
-
position: string;
|
|
19747
19755
|
active: Record<string, any>;
|
|
19756
|
+
position: string;
|
|
19748
19757
|
autoNavigateFirstChild: boolean;
|
|
19749
19758
|
items: unknown[];
|
|
19750
19759
|
$props: {
|
|
19751
19760
|
readonly width?: string | undefined;
|
|
19752
|
-
readonly position?: string | undefined;
|
|
19753
19761
|
readonly active?: Record<string, any> | undefined;
|
|
19762
|
+
readonly position?: string | undefined;
|
|
19754
19763
|
readonly autoNavigateFirstChild?: boolean | undefined;
|
|
19755
19764
|
readonly items?: unknown[] | undefined;
|
|
19756
19765
|
};
|
|
@@ -19761,14 +19770,14 @@ export declare const unnnicSidebar: {
|
|
|
19761
19770
|
} & ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
19762
19771
|
$emit: (event: "navigate", ...args: any[]) => void;
|
|
19763
19772
|
width: string;
|
|
19764
|
-
position: string;
|
|
19765
19773
|
active: Record<string, any>;
|
|
19774
|
+
position: string;
|
|
19766
19775
|
autoNavigateFirstChild: boolean;
|
|
19767
19776
|
items: unknown[];
|
|
19768
19777
|
$props: {
|
|
19769
19778
|
readonly width?: string | undefined;
|
|
19770
|
-
readonly position?: string | undefined;
|
|
19771
19779
|
readonly active?: Record<string, any> | undefined;
|
|
19780
|
+
readonly position?: string | undefined;
|
|
19772
19781
|
readonly autoNavigateFirstChild?: boolean | undefined;
|
|
19773
19782
|
readonly items?: unknown[] | undefined;
|
|
19774
19783
|
};
|