@wizleap-inc/wiz-ui-next 2.20.0 → 2.20.1

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,4 +1,4 @@
1
- import { PropType, VNode } from "vue";
1
+ import { PropType, Component as ComponentType } from "vue";
2
2
  type TextMessage = {
3
3
  text: string;
4
4
  type: "default" | "error";
@@ -8,14 +8,8 @@ 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
- */
15
11
  messages: {
16
- type: PropType<(VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
- [key: string]: any;
18
- }> | TextMessage)[]>;
12
+ type: PropType<(ComponentType<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | TextMessage)[]>;
19
13
  required: true;
20
14
  };
21
15
  width: {
@@ -30,7 +24,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
30
24
  }, {
31
25
  props: any;
32
26
  emit: (e: "update:modelValue", value: boolean) => void;
33
- isTextMessage: (message: TextMessage | VNode) => message is TextMessage;
27
+ isTextMessage: (message: TextMessage | ComponentType) => message is TextMessage;
34
28
  visible: import("vue").WritableComputedRef<boolean>;
35
29
  close: () => void;
36
30
  readonly ARIA_LABELS: {
@@ -621,14 +615,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
621
615
  type: BooleanConstructor;
622
616
  required: true;
623
617
  };
624
- /**
625
- * typeによって表示するメッセージをカスタマイズします。
626
- * リンクを表示する場合は、`type=anchor`とし、`anchorProps`に`WizAnchor`のpropsを渡してください。
627
- */
628
618
  messages: {
629
- type: PropType<(VNode<import("vue").RendererNode, import("vue").RendererElement, {
630
- [key: string]: any;
631
- }> | TextMessage)[]>;
619
+ type: PropType<(ComponentType<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | TextMessage)[]>;
632
620
  required: true;
633
621
  };
634
622
  width: {
package/dist/wiz-ui.es.js CHANGED
@@ -8861,10 +8861,6 @@ const jh = r({
8861
8861
  type: Boolean,
8862
8862
  required: !0
8863
8863
  },
8864
- /**
8865
- * typeによって表示するメッセージをカスタマイズします。
8866
- * リンクを表示する場合は、`type=anchor`とし、`anchorProps`に`WizAnchor`のpropsを渡してください。
8867
- */
8868
8864
  messages: {
8869
8865
  type: Array,
8870
8866
  required: !0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizleap-inc/wiz-ui-next",
3
- "version": "2.20.0",
3
+ "version": "2.20.1",
4
4
  "description": "A Vue3 UI Framework for Wizleap Inc.",
5
5
  "devDependencies": {
6
6
  "@vitejs/plugin-vue": "^4.1.0",
@@ -24,9 +24,9 @@
24
24
  "dependencies": {
25
25
  "vue": "^3.2.45",
26
26
  "vue-router": "^4.1.6",
27
- "@wizleap-inc/wiz-ui-constants": "0.18.0",
27
+ "@wizleap-inc/wiz-ui-utils": "0.3.0",
28
28
  "@wizleap-inc/wiz-ui-styles": "0.26.0",
29
- "@wizleap-inc/wiz-ui-utils": "0.3.0"
29
+ "@wizleap-inc/wiz-ui-constants": "0.18.0"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "vue-tsc --noEmit && vite build",