@weni/unnnic-system 3.28.2-alpha.0 → 3.28.2-alpha.2
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/index.d.ts +162 -30
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +5821 -5804
- package/dist/unnnic.umd.js +25 -25
- package/package.json +1 -1
- package/src/components/Disclaimer/Disclaimer.vue +10 -8
- package/src/components/IconLoading/IconLoading.vue +6 -1
- package/src/components/ui/popover/PopoverContent.vue +9 -45
- package/src/components/ui/popover/PopoverFooter.vue +20 -1
- package/src/components/ui/popover/__tests__/PopoverFooter.spec.js +116 -0
- package/src/components/ui/popover/context.ts +4 -0
- package/src/stories/Disclaimer.stories.js +16 -0
- package/src/stories/IconLoading.stories.js +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -9176,6 +9176,7 @@ description: string;
|
|
|
9176
9176
|
iconColor: SchemeColor_2;
|
|
9177
9177
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
9178
9178
|
$slots: {
|
|
9179
|
+
icon?(_: {}): any;
|
|
9179
9180
|
description?(_: {}): any;
|
|
9180
9181
|
};
|
|
9181
9182
|
});
|
|
@@ -9212,6 +9213,7 @@ description: string;
|
|
|
9212
9213
|
iconColor: SchemeColor_2;
|
|
9213
9214
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
9214
9215
|
$slots: {
|
|
9216
|
+
icon?(_: {}): any;
|
|
9215
9217
|
description?(_: {}): any;
|
|
9216
9218
|
};
|
|
9217
9219
|
});
|
|
@@ -10357,6 +10359,10 @@ size: {
|
|
|
10357
10359
|
type: StringConstructor;
|
|
10358
10360
|
default: string;
|
|
10359
10361
|
};
|
|
10362
|
+
strokeWidth: {
|
|
10363
|
+
type: NumberConstructor;
|
|
10364
|
+
default: number;
|
|
10365
|
+
};
|
|
10360
10366
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
10361
10367
|
scheme: {
|
|
10362
10368
|
type: StringConstructor;
|
|
@@ -10366,9 +10372,14 @@ size: {
|
|
|
10366
10372
|
type: StringConstructor;
|
|
10367
10373
|
default: string;
|
|
10368
10374
|
};
|
|
10375
|
+
strokeWidth: {
|
|
10376
|
+
type: NumberConstructor;
|
|
10377
|
+
default: number;
|
|
10378
|
+
};
|
|
10369
10379
|
}>> & Readonly<{}>, {
|
|
10370
10380
|
size: string;
|
|
10371
10381
|
scheme: string;
|
|
10382
|
+
strokeWidth: number;
|
|
10372
10383
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
10373
10384
|
|
|
10374
10385
|
export declare const unnnicIconLoading: DefineComponent<ExtractPropTypes< {
|
|
@@ -10380,6 +10391,10 @@ size: {
|
|
|
10380
10391
|
type: StringConstructor;
|
|
10381
10392
|
default: string;
|
|
10382
10393
|
};
|
|
10394
|
+
strokeWidth: {
|
|
10395
|
+
type: NumberConstructor;
|
|
10396
|
+
default: number;
|
|
10397
|
+
};
|
|
10383
10398
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
10384
10399
|
scheme: {
|
|
10385
10400
|
type: StringConstructor;
|
|
@@ -10389,9 +10404,14 @@ size: {
|
|
|
10389
10404
|
type: StringConstructor;
|
|
10390
10405
|
default: string;
|
|
10391
10406
|
};
|
|
10407
|
+
strokeWidth: {
|
|
10408
|
+
type: NumberConstructor;
|
|
10409
|
+
default: number;
|
|
10410
|
+
};
|
|
10392
10411
|
}>> & Readonly<{}>, {
|
|
10393
10412
|
size: string;
|
|
10394
10413
|
scheme: string;
|
|
10414
|
+
strokeWidth: number;
|
|
10395
10415
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
10396
10416
|
|
|
10397
10417
|
export declare const UnnnicIconSvg: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -16239,18 +16259,62 @@ export declare const unnnicPopover: {
|
|
|
16239
16259
|
};
|
|
16240
16260
|
});
|
|
16241
16261
|
|
|
16242
|
-
export declare const UnnnicPopoverContent:
|
|
16243
|
-
|
|
16244
|
-
|
|
16245
|
-
|
|
16246
|
-
|
|
16247
|
-
|
|
16248
|
-
|
|
16249
|
-
|
|
16250
|
-
|
|
16251
|
-
|
|
16252
|
-
|
|
16253
|
-
|
|
16262
|
+
export declare const UnnnicPopoverContent: {
|
|
16263
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<PopoverContentProps & {
|
|
16264
|
+
class?: HTMLAttributes["class"];
|
|
16265
|
+
size?: string;
|
|
16266
|
+
width?: string;
|
|
16267
|
+
}> & Readonly<{
|
|
16268
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
16269
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
16270
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
16271
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
16272
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
16273
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
16274
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16275
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
16276
|
+
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
16277
|
+
focusOutside: (event: FocusOutsideEvent) => any;
|
|
16278
|
+
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16279
|
+
openAutoFocus: (event: Event) => any;
|
|
16280
|
+
closeAutoFocus: (event: Event) => any;
|
|
16281
|
+
}, PublicProps, {
|
|
16282
|
+
class: HTMLAttributes["class"];
|
|
16283
|
+
sideOffset: number;
|
|
16284
|
+
align: "center" | "start" | "end";
|
|
16285
|
+
size: string;
|
|
16286
|
+
width: string;
|
|
16287
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
16288
|
+
footerContainer: HTMLDivElement;
|
|
16289
|
+
}, any, ComponentProvideOptions, {
|
|
16290
|
+
P: {};
|
|
16291
|
+
B: {};
|
|
16292
|
+
D: {};
|
|
16293
|
+
C: {};
|
|
16294
|
+
M: {};
|
|
16295
|
+
Defaults: {};
|
|
16296
|
+
}, Readonly<PopoverContentProps & {
|
|
16297
|
+
class?: HTMLAttributes["class"];
|
|
16298
|
+
size?: string;
|
|
16299
|
+
width?: string;
|
|
16300
|
+
}> & Readonly<{
|
|
16301
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
16302
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
16303
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
16304
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
16305
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
16306
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
16307
|
+
}>, {}, {}, {}, {}, {
|
|
16308
|
+
class: HTMLAttributes["class"];
|
|
16309
|
+
sideOffset: number;
|
|
16310
|
+
align: "center" | "start" | "end";
|
|
16311
|
+
size: string;
|
|
16312
|
+
width: string;
|
|
16313
|
+
}>;
|
|
16314
|
+
__isFragment?: never;
|
|
16315
|
+
__isTeleport?: never;
|
|
16316
|
+
__isSuspense?: never;
|
|
16317
|
+
} & ComponentOptionsBase<Readonly<PopoverContentProps & {
|
|
16254
16318
|
class?: HTMLAttributes["class"];
|
|
16255
16319
|
size?: string;
|
|
16256
16320
|
width?: string;
|
|
@@ -16261,26 +16325,81 @@ onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
|
16261
16325
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
16262
16326
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
16263
16327
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
16264
|
-
}>, {
|
|
16265
|
-
class: HTMLAttributes["class"];
|
|
16266
|
-
sideOffset: number;
|
|
16267
|
-
align: "center" | "start" | "end";
|
|
16268
|
-
size: string;
|
|
16269
|
-
width: string;
|
|
16270
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
16271
|
-
|
|
16272
|
-
export declare const unnnicPopoverContent: DefineComponent<PopoverContentProps & {
|
|
16273
|
-
class?: HTMLAttributes["class"];
|
|
16274
|
-
size?: string;
|
|
16275
|
-
width?: string;
|
|
16276
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16328
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16277
16329
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
16278
16330
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
16279
16331
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
16280
16332
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16281
16333
|
openAutoFocus: (event: Event) => any;
|
|
16282
16334
|
closeAutoFocus: (event: Event) => any;
|
|
16283
|
-
}, string,
|
|
16335
|
+
}, string, {
|
|
16336
|
+
class: HTMLAttributes["class"];
|
|
16337
|
+
sideOffset: number;
|
|
16338
|
+
align: "center" | "start" | "end";
|
|
16339
|
+
size: string;
|
|
16340
|
+
width: string;
|
|
16341
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
16342
|
+
$slots: {
|
|
16343
|
+
default?(_: {}): any;
|
|
16344
|
+
};
|
|
16345
|
+
});
|
|
16346
|
+
|
|
16347
|
+
export declare const unnnicPopoverContent: {
|
|
16348
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<PopoverContentProps & {
|
|
16349
|
+
class?: HTMLAttributes["class"];
|
|
16350
|
+
size?: string;
|
|
16351
|
+
width?: string;
|
|
16352
|
+
}> & Readonly<{
|
|
16353
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
16354
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
16355
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
16356
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
16357
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
16358
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
16359
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16360
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
16361
|
+
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
16362
|
+
focusOutside: (event: FocusOutsideEvent) => any;
|
|
16363
|
+
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16364
|
+
openAutoFocus: (event: Event) => any;
|
|
16365
|
+
closeAutoFocus: (event: Event) => any;
|
|
16366
|
+
}, PublicProps, {
|
|
16367
|
+
class: HTMLAttributes["class"];
|
|
16368
|
+
sideOffset: number;
|
|
16369
|
+
align: "center" | "start" | "end";
|
|
16370
|
+
size: string;
|
|
16371
|
+
width: string;
|
|
16372
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
16373
|
+
footerContainer: HTMLDivElement;
|
|
16374
|
+
}, any, ComponentProvideOptions, {
|
|
16375
|
+
P: {};
|
|
16376
|
+
B: {};
|
|
16377
|
+
D: {};
|
|
16378
|
+
C: {};
|
|
16379
|
+
M: {};
|
|
16380
|
+
Defaults: {};
|
|
16381
|
+
}, Readonly<PopoverContentProps & {
|
|
16382
|
+
class?: HTMLAttributes["class"];
|
|
16383
|
+
size?: string;
|
|
16384
|
+
width?: string;
|
|
16385
|
+
}> & Readonly<{
|
|
16386
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
16387
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
16388
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
16389
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
16390
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
16391
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
16392
|
+
}>, {}, {}, {}, {}, {
|
|
16393
|
+
class: HTMLAttributes["class"];
|
|
16394
|
+
sideOffset: number;
|
|
16395
|
+
align: "center" | "start" | "end";
|
|
16396
|
+
size: string;
|
|
16397
|
+
width: string;
|
|
16398
|
+
}>;
|
|
16399
|
+
__isFragment?: never;
|
|
16400
|
+
__isTeleport?: never;
|
|
16401
|
+
__isSuspense?: never;
|
|
16402
|
+
} & ComponentOptionsBase<Readonly<PopoverContentProps & {
|
|
16284
16403
|
class?: HTMLAttributes["class"];
|
|
16285
16404
|
size?: string;
|
|
16286
16405
|
width?: string;
|
|
@@ -16291,16 +16410,27 @@ onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
|
16291
16410
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
16292
16411
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
16293
16412
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
16294
|
-
}>, {
|
|
16413
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16414
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
16415
|
+
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
16416
|
+
focusOutside: (event: FocusOutsideEvent) => any;
|
|
16417
|
+
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16418
|
+
openAutoFocus: (event: Event) => any;
|
|
16419
|
+
closeAutoFocus: (event: Event) => any;
|
|
16420
|
+
}, string, {
|
|
16295
16421
|
class: HTMLAttributes["class"];
|
|
16296
16422
|
sideOffset: number;
|
|
16297
16423
|
align: "center" | "start" | "end";
|
|
16298
16424
|
size: string;
|
|
16299
16425
|
width: string;
|
|
16300
|
-
}, {},
|
|
16426
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
16427
|
+
$slots: {
|
|
16428
|
+
default?(_: {}): any;
|
|
16429
|
+
};
|
|
16430
|
+
});
|
|
16301
16431
|
|
|
16302
16432
|
export declare const UnnnicPopoverFooter: {
|
|
16303
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {},
|
|
16433
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
16304
16434
|
P: {};
|
|
16305
16435
|
B: {};
|
|
16306
16436
|
D: {};
|
|
@@ -16314,11 +16444,12 @@ export declare const UnnnicPopoverFooter: {
|
|
|
16314
16444
|
} & ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
16315
16445
|
$slots: {
|
|
16316
16446
|
default?(_: {}): any;
|
|
16447
|
+
default?(_: {}): any;
|
|
16317
16448
|
};
|
|
16318
16449
|
});
|
|
16319
16450
|
|
|
16320
16451
|
export declare const unnnicPopoverFooter: {
|
|
16321
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {},
|
|
16452
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
16322
16453
|
P: {};
|
|
16323
16454
|
B: {};
|
|
16324
16455
|
D: {};
|
|
@@ -16332,6 +16463,7 @@ export declare const unnnicPopoverFooter: {
|
|
|
16332
16463
|
} & ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
16333
16464
|
$slots: {
|
|
16334
16465
|
default?(_: {}): any;
|
|
16466
|
+
default?(_: {}): any;
|
|
16335
16467
|
};
|
|
16336
16468
|
});
|
|
16337
16469
|
|