@codemonster-ru/vueforge 0.17.0 → 0.18.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 @@
1
+ export {};
@@ -0,0 +1,42 @@
1
+ type AlertSeverity = 'neutral' | 'info' | 'success' | 'warn' | 'danger';
2
+ interface Props {
3
+ modelValue?: boolean;
4
+ title?: string;
5
+ message?: string;
6
+ severity?: AlertSeverity;
7
+ closable?: boolean;
8
+ icon?: string;
9
+ }
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ icon?(_: {}): any;
14
+ title?(_: {}): any;
15
+ default?(_: {}): any;
16
+ actions?(_: {}): any;
17
+ close?(_: {}): any;
18
+ };
19
+ refs: {};
20
+ rootEl: HTMLDivElement;
21
+ };
22
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ close: (...args: any[]) => void;
25
+ "update:modelValue": (...args: any[]) => void;
26
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
27
+ onClose?: ((...args: any[]) => any) | undefined;
28
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
+ }>, {
30
+ title: string;
31
+ icon: string;
32
+ severity: AlertSeverity;
33
+ message: string;
34
+ closable: boolean;
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
37
+ export default _default;
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -393,6 +393,45 @@ export type ToastTokens = {
393
393
  textColor?: string;
394
394
  };
395
395
  };
396
+ export type AlertTokens = {
397
+ gap?: string;
398
+ padding?: string;
399
+ borderRadius?: string;
400
+ borderColor?: string;
401
+ backgroundColor?: string;
402
+ textColor?: string;
403
+ iconColor?: string;
404
+ fontSize?: string;
405
+ lineHeight?: string;
406
+ bodyGap?: string;
407
+ titleFontSize?: string;
408
+ titleFontWeight?: string;
409
+ actionsGap?: string;
410
+ closeSize?: string;
411
+ closeRadius?: string;
412
+ closeFontSize?: string;
413
+ closeHoverBackgroundColor?: string;
414
+ info?: {
415
+ backgroundColor?: string;
416
+ borderColor?: string;
417
+ textColor?: string;
418
+ };
419
+ success?: {
420
+ backgroundColor?: string;
421
+ borderColor?: string;
422
+ textColor?: string;
423
+ };
424
+ warn?: {
425
+ backgroundColor?: string;
426
+ borderColor?: string;
427
+ textColor?: string;
428
+ };
429
+ danger?: {
430
+ backgroundColor?: string;
431
+ borderColor?: string;
432
+ textColor?: string;
433
+ };
434
+ };
396
435
  export type ThemeComponentTokens = {
397
436
  button?: ButtonTokens;
398
437
  card?: CardTokens;
@@ -412,6 +451,7 @@ export type ThemeComponentTokens = {
412
451
  switch?: SwitchTokens;
413
452
  tooltip?: TooltipTokens;
414
453
  toast?: ToastTokens;
454
+ alert?: AlertTokens;
415
455
  [key: string]: unknown;
416
456
  };
417
457
  export type ThemeTokens = {
@@ -0,0 +1,40 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ padding: string;
4
+ borderRadius: string;
5
+ borderColor: string;
6
+ backgroundColor: string;
7
+ textColor: string;
8
+ iconColor: string;
9
+ fontSize: string;
10
+ lineHeight: string;
11
+ bodyGap: string;
12
+ titleFontSize: string;
13
+ titleFontWeight: string;
14
+ actionsGap: string;
15
+ closeSize: string;
16
+ closeRadius: string;
17
+ closeFontSize: string;
18
+ closeHoverBackgroundColor: string;
19
+ info: {
20
+ backgroundColor: string;
21
+ borderColor: string;
22
+ textColor: string;
23
+ };
24
+ success: {
25
+ backgroundColor: string;
26
+ borderColor: string;
27
+ textColor: string;
28
+ };
29
+ warn: {
30
+ backgroundColor: string;
31
+ borderColor: string;
32
+ textColor: string;
33
+ };
34
+ danger: {
35
+ backgroundColor: string;
36
+ borderColor: string;
37
+ textColor: string;
38
+ };
39
+ };
40
+ export default _default;
@@ -575,6 +575,45 @@ declare const _default: {
575
575
  textColor: string;
576
576
  };
577
577
  };
578
+ alert: {
579
+ gap: string;
580
+ padding: string;
581
+ borderRadius: string;
582
+ borderColor: string;
583
+ backgroundColor: string;
584
+ textColor: string;
585
+ iconColor: string;
586
+ fontSize: string;
587
+ lineHeight: string;
588
+ bodyGap: string;
589
+ titleFontSize: string;
590
+ titleFontWeight: string;
591
+ actionsGap: string;
592
+ closeSize: string;
593
+ closeRadius: string;
594
+ closeFontSize: string;
595
+ closeHoverBackgroundColor: string;
596
+ info: {
597
+ backgroundColor: string;
598
+ borderColor: string;
599
+ textColor: string;
600
+ };
601
+ success: {
602
+ backgroundColor: string;
603
+ borderColor: string;
604
+ textColor: string;
605
+ };
606
+ warn: {
607
+ backgroundColor: string;
608
+ borderColor: string;
609
+ textColor: string;
610
+ };
611
+ danger: {
612
+ backgroundColor: string;
613
+ borderColor: string;
614
+ textColor: string;
615
+ };
616
+ };
578
617
  };
579
618
  colors: {
580
619
  white: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",