@wizleap-inc/wiz-ui-next 0.7.4 → 0.7.5

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.
Files changed (40) hide show
  1. package/dist/components/base/anchor/anchor.vue.d.ts +4 -3
  2. package/dist/components/base/buttons/text/text.vue.d.ts +4 -3
  3. package/dist/components/base/buttons/tiny/tiny.vue.d.ts +4 -3
  4. package/dist/components/base/buttons/toggle/toggle.vue.d.ts +4 -3
  5. package/dist/components/base/calendar/calendar.vue.d.ts +22 -13
  6. package/dist/components/base/calendar/types.d.ts +5 -0
  7. package/dist/components/base/dropdown/dropdown-item.vue.d.ts +4 -3
  8. package/dist/components/base/icon/icon.vue.d.ts +4 -3
  9. package/dist/components/base/inputs/{datepicker → date-picker}/date-picker.vue.d.ts +161 -133
  10. package/dist/components/base/inputs/date-range-picker/date-range-picker.vue.d.ts +1067 -0
  11. package/dist/components/base/inputs/date-range-picker/index.d.ts +1 -0
  12. package/dist/components/base/inputs/date-range-picker/types.d.ts +8 -0
  13. package/dist/components/base/inputs/index.d.ts +2 -1
  14. package/dist/components/base/inputs/password/password.vue.d.ts +7 -2
  15. package/dist/components/base/inputs/search/search-popup.vue.d.ts +4 -3
  16. package/dist/components/base/inputs/search/search.vue.d.ts +8 -6
  17. package/dist/components/base/inputs/search-selector/search-selector.vue.d.ts +4 -3
  18. package/dist/components/base/inputs/timepicker/time-picker.vue.d.ts +4 -3
  19. package/dist/components/base/menu/menu-item.vue.d.ts +4 -3
  20. package/dist/components/base/navigation/item.vue.d.ts +61 -1
  21. package/dist/components/base/progress-bar/progress-bar.vue.d.ts +12 -0
  22. package/dist/components/base/snackbar/snackbar-controller.vue.d.ts +16 -3
  23. package/dist/components/base/snackbar/snackbar.vue.d.ts +16 -3
  24. package/dist/components/base/tables/card/table.vue.d.ts +25 -2
  25. package/dist/components/base/tables/flat/table.vue.d.ts +25 -2
  26. package/dist/components/base/tables/unstyled/table.vue.d.ts +20 -0
  27. package/dist/components/base/tag/tag.vue.d.ts +4 -3
  28. package/dist/components/base/text/text.vue.d.ts +12 -0
  29. package/dist/components/custom/chat/card/chat-card.vue.d.ts +36 -9
  30. package/dist/components/custom/chat/item/chat-item.vue.d.ts +16 -3
  31. package/dist/components/custom/form/control.vue.d.ts +16 -3
  32. package/dist/components/custom/notification/list/list.vue.d.ts +28 -3
  33. package/dist/components/custom/notification/notification.vue.d.ts +28 -3
  34. package/dist/components/custom/notification/panel/panel.vue.d.ts +16 -3
  35. package/dist/index.d.ts +1 -1
  36. package/dist/style.css +1 -1
  37. package/dist/wiz-ui.es.js +2953 -2602
  38. package/dist/wiz-ui.umd.js +10 -10
  39. package/package.json +2 -1
  40. /package/dist/components/base/inputs/{datepicker → date-picker}/index.d.ts +0 -0
@@ -55,7 +55,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
55
55
  required: true;
56
56
  };
57
57
  color: {
58
- type: PropType<ColorKeys>;
58
+ type: PropType<ColorKeys | "inherit">;
59
59
  required: false;
60
60
  default: string;
61
61
  };
@@ -67,6 +67,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
67
67
  }, {
68
68
  readonly iconStyle: string;
69
69
  readonly iconSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
70
+ readonly iconDefaultStyle: string;
70
71
  readonly fillStyle: Record<ColorKeys, string>;
71
72
  readonly fontSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
72
73
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -75,7 +76,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
75
76
  required: true;
76
77
  };
77
78
  color: {
78
- type: PropType<ColorKeys>;
79
+ type: PropType<ColorKeys | "inherit">;
79
80
  required: false;
80
81
  default: string;
81
82
  };
@@ -85,7 +86,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
85
86
  default: string;
86
87
  };
87
88
  }>>, {
88
- color: ColorKeys;
89
+ color: ColorKeys | "inherit";
89
90
  size: "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6";
90
91
  }>;
91
92
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -519,7 +519,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
519
519
  required: true;
520
520
  };
521
521
  color: {
522
- type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys>;
522
+ type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit">;
523
523
  required: false;
524
524
  default: string;
525
525
  };
@@ -531,6 +531,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
531
531
  }, {
532
532
  readonly iconStyle: string;
533
533
  readonly iconSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
534
+ readonly iconDefaultStyle: string;
534
535
  readonly fillStyle: Record<import("@wizleap-inc/wiz-ui-constants").ColorKeys, string>;
535
536
  readonly fontSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
536
537
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -539,7 +540,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
539
540
  required: true;
540
541
  };
541
542
  color: {
542
- type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys>;
543
+ type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit">;
543
544
  required: false;
544
545
  default: string;
545
546
  };
@@ -549,7 +550,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
549
550
  default: string;
550
551
  };
551
552
  }>>, {
552
- color: import("@wizleap-inc/wiz-ui-constants").ColorKeys;
553
+ color: import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit";
553
554
  size: "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6";
554
555
  }>;
555
556
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -523,7 +523,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
523
523
  required: true;
524
524
  };
525
525
  color: {
526
- type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys>;
526
+ type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit">;
527
527
  required: false;
528
528
  default: string;
529
529
  };
@@ -535,6 +535,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
535
535
  }, {
536
536
  readonly iconStyle: string;
537
537
  readonly iconSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
538
+ readonly iconDefaultStyle: string;
538
539
  readonly fillStyle: Record<import("@wizleap-inc/wiz-ui-constants").ColorKeys, string>;
539
540
  readonly fontSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
540
541
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -543,7 +544,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
543
544
  required: true;
544
545
  };
545
546
  color: {
546
- type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys>;
547
+ type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit">;
547
548
  required: false;
548
549
  default: string;
549
550
  };
@@ -553,7 +554,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
553
554
  default: string;
554
555
  };
555
556
  }>>, {
556
- color: import("@wizleap-inc/wiz-ui-constants").ColorKeys;
557
+ color: import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit";
557
558
  size: "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6";
558
559
  }>;
559
560
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -45,7 +45,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
45
45
  required: true;
46
46
  };
47
47
  color: {
48
- type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys>;
48
+ type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit">;
49
49
  required: false;
50
50
  default: string;
51
51
  };
@@ -57,6 +57,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
57
57
  }, {
58
58
  readonly iconStyle: string;
59
59
  readonly iconSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
60
+ readonly iconDefaultStyle: string;
60
61
  readonly fillStyle: Record<import("@wizleap-inc/wiz-ui-constants").ColorKeys, string>;
61
62
  readonly fontSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
62
63
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -65,7 +66,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
65
66
  required: true;
66
67
  };
67
68
  color: {
68
- type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys>;
69
+ type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit">;
69
70
  required: false;
70
71
  default: string;
71
72
  };
@@ -75,7 +76,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
75
76
  default: string;
76
77
  };
77
78
  }>>, {
78
- color: import("@wizleap-inc/wiz-ui-constants").ColorKeys;
79
+ color: import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit";
79
80
  size: "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6";
80
81
  }>;
81
82
  WizHStack: import("vue").DefineComponent<{
@@ -1,12 +1,15 @@
1
1
  import { PropType } from "vue";
2
+ import { DateStatus } from "./types";
2
3
  declare const _sfc_main: import("vue").DefineComponent<{
3
4
  currentMonth: {
4
5
  type: PropType<Date>;
5
- required: true;
6
+ required: false;
7
+ default: Date;
6
8
  };
7
- modelValue: {
8
- type: DateConstructor;
9
- required: true;
9
+ activeDates: {
10
+ type: PropType<DateStatus[]>;
11
+ required: false;
12
+ default: () => never[];
10
13
  };
11
14
  filledWeeks: {
12
15
  type: BooleanConstructor;
@@ -14,23 +17,27 @@ declare const _sfc_main: import("vue").DefineComponent<{
14
17
  default: boolean;
15
18
  };
16
19
  }, {
17
- emits: (e: "update:modelValue", value: Date) => void;
20
+ emits: (e: "click", value: Date) => void;
18
21
  props: any;
19
22
  calendars: import("vue").ComputedRef<string[][]>;
20
23
  isCurrentMonth: (row: number, col: number) => boolean;
21
- getDateState: import("vue").ComputedRef<(row: number, col: number) => "selected" | "outOfCurrentMonth" | "inCurrentMonth">;
24
+ getDateState: import("vue").ComputedRef<(row: number, col: number) => "outOfCurrentMonth" | import("./types").DateState | "inCurrentMonth">;
22
25
  updateSelectedDate: (row: number, col: number, day: string) => void;
23
26
  readonly WEEK_LIST_JP: string[];
24
27
  readonly calendarStyle: string;
25
- readonly calendarItemStyle: Record<"selected" | "dayOfWeek" | "inCurrentMonth" | "outOfCurrentMonth", string>;
26
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
+ readonly calendarCellStyle: string;
29
+ readonly calendarItemStyle: Record<"primary" | "secondary" | "dayOfWeek" | "inCurrentMonth" | "outOfCurrentMonth", string>;
30
+ readonly calendarItemCommonStyle: string;
31
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
32
  currentMonth: {
28
33
  type: PropType<Date>;
29
- required: true;
34
+ required: false;
35
+ default: Date;
30
36
  };
31
- modelValue: {
32
- type: DateConstructor;
33
- required: true;
37
+ activeDates: {
38
+ type: PropType<DateStatus[]>;
39
+ required: false;
40
+ default: () => never[];
34
41
  };
35
42
  filledWeeks: {
36
43
  type: BooleanConstructor;
@@ -38,8 +45,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
38
45
  default: boolean;
39
46
  };
40
47
  }>> & {
41
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
+ onClick?: ((...args: any[]) => any) | undefined;
42
49
  }, {
50
+ currentMonth: Date;
51
+ activeDates: DateStatus[];
43
52
  filledWeeks: boolean;
44
53
  }>;
45
54
  export default _sfc_main;
@@ -0,0 +1,5 @@
1
+ export declare type DateState = "primary" | "secondary";
2
+ export interface DateStatus {
3
+ state: DateState;
4
+ date: Date;
5
+ }
@@ -22,7 +22,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
22
22
  required: true;
23
23
  };
24
24
  color: {
25
- type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys>;
25
+ type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit">;
26
26
  required: false;
27
27
  default: string;
28
28
  };
@@ -34,6 +34,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
34
34
  }, {
35
35
  readonly iconStyle: string;
36
36
  readonly iconSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
37
+ readonly iconDefaultStyle: string;
37
38
  readonly fillStyle: Record<import("@wizleap-inc/wiz-ui-constants").ColorKeys, string>;
38
39
  readonly fontSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
39
40
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -42,7 +43,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
42
43
  required: true;
43
44
  };
44
45
  color: {
45
- type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys>;
46
+ type: PropType<import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit">;
46
47
  required: false;
47
48
  default: string;
48
49
  };
@@ -52,7 +53,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
52
53
  default: string;
53
54
  };
54
55
  }>>, {
55
- color: import("@wizleap-inc/wiz-ui-constants").ColorKeys;
56
+ color: import("@wizleap-inc/wiz-ui-constants").ColorKeys | "inherit";
56
57
  size: "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6";
57
58
  }>;
58
59
  readonly WizHStack: import("vue").DefineComponent<{
@@ -7,7 +7,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
7
7
  required: true;
8
8
  };
9
9
  color: {
10
- type: PropType<ColorKeys>;
10
+ type: PropType<ColorKeys | "inherit">;
11
11
  required: false;
12
12
  default: string;
13
13
  };
@@ -19,6 +19,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
19
19
  }, {
20
20
  readonly iconStyle: string;
21
21
  readonly iconSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
22
+ readonly iconDefaultStyle: string;
22
23
  readonly fillStyle: Record<ColorKeys, string>;
23
24
  readonly fontSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
24
25
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -27,7 +28,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
27
28
  required: true;
28
29
  };
29
30
  color: {
30
- type: PropType<ColorKeys>;
31
+ type: PropType<ColorKeys | "inherit">;
31
32
  required: false;
32
33
  default: string;
33
34
  };
@@ -37,7 +38,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
37
38
  default: string;
38
39
  };
39
40
  }>>, {
40
- color: ColorKeys;
41
+ color: ColorKeys | "inherit";
41
42
  size: "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6";
42
43
  }>;
43
44
  export default _sfc_main;