@wizleap-inc/wiz-ui-next 2.19.0 → 2.20.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.
@@ -1,5 +1,5 @@
1
- import { PropType } from "vue";
2
- type messageType = {
1
+ import { PropType, VNode } from "vue";
2
+ type TextMessage = {
3
3
  text: string;
4
4
  type: "default" | "error";
5
5
  };
@@ -8,8 +8,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
8
8
  type: BooleanConstructor;
9
9
  required: true;
10
10
  };
11
+ /**
12
+ * typeによって表示するメッセージをカスタマイズします。
13
+ * リンクを表示する場合は、`type=anchor`とし、`anchorProps`に`WizAnchor`のpropsを渡してください。
14
+ */
11
15
  messages: {
12
- type: PropType<messageType[]>;
16
+ type: PropType<(VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
+ [key: string]: any;
18
+ }> | TextMessage)[]>;
13
19
  required: true;
14
20
  };
15
21
  width: {
@@ -24,6 +30,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
24
30
  }, {
25
31
  props: any;
26
32
  emit: (e: "update:modelValue", value: boolean) => void;
33
+ isTextMessage: (message: TextMessage | VNode) => message is TextMessage;
27
34
  visible: import("vue").WritableComputedRef<boolean>;
28
35
  close: () => void;
29
36
  readonly ARIA_LABELS: {
@@ -65,10 +72,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
65
72
  readonly CLOSE: "モーダルを閉じる";
66
73
  };
67
74
  };
68
- readonly informationPanelStyle: string;
69
75
  readonly informationPanelBorderStyle: string;
70
76
  readonly informationPanelFontStyle: Record<"default" | "error", string>;
71
77
  readonly informationPanelIconStyle: string;
78
+ readonly informationPanelStyle: string;
79
+ readonly WizIClose: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
72
80
  readonly WizIconButton: import("vue").DefineComponent<{
73
81
  icon: {
74
82
  type: PropType<import('../../../components').TIcon>;
@@ -141,7 +149,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
141
149
  disabled: boolean;
142
150
  variant: "transparent" | "link" | "sub" | "primary";
143
151
  }>;
144
- readonly WizIClose: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
145
152
  readonly WizVStack: import("vue").DefineComponent<{
146
153
  align: {
147
154
  type: PropType<"stretch" | "center" | "end" | "start">;
@@ -614,8 +621,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
614
621
  type: BooleanConstructor;
615
622
  required: true;
616
623
  };
624
+ /**
625
+ * typeによって表示するメッセージをカスタマイズします。
626
+ * リンクを表示する場合は、`type=anchor`とし、`anchorProps`に`WizAnchor`のpropsを渡してください。
627
+ */
617
628
  messages: {
618
- type: PropType<messageType[]>;
629
+ type: PropType<(VNode<import("vue").RendererNode, import("vue").RendererElement, {
630
+ [key: string]: any;
631
+ }> | TextMessage)[]>;
619
632
  required: true;
620
633
  };
621
634
  width: {