@opentinyvue/vue-breadcrumb 3.22.0 → 3.23.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.
package/lib/index.js CHANGED
@@ -38,7 +38,18 @@ var breadcrumbProps = _extends({}, $props, {
38
38
  type: String,
39
39
  default: "label"
40
40
  },
41
- size: String,
41
+ size: {
42
+ type: String,
43
+ default: "",
44
+ validator: function validator(val) {
45
+ return [
46
+ /* 'large', */
47
+ "medium",
48
+ /* 'small', 'mini', */
49
+ ""
50
+ ].includes(val);
51
+ }
52
+ },
42
53
  options: {
43
54
  type: Array,
44
55
  default: function _default2() {
@@ -57,7 +68,7 @@ var Breadcrumb = defineComponent({
57
68
  });
58
69
  }
59
70
  });
60
- var version = "3.22.0";
71
+ var version = "3.23.0";
61
72
  Breadcrumb.install = function(Vue) {
62
73
  Vue.component(Breadcrumb.name, Breadcrumb);
63
74
  };
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-breadcrumb",
3
- "version": "3.22.0",
3
+ "version": "3.23.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
8
  "type": "module",
9
9
  "dependencies": {
10
- "@opentinyvue/vue-renderless": "~3.22.0",
11
- "@opentinyvue/vue-common": "~3.22.0",
12
- "@opentinyvue/vue-theme": "~3.22.0",
13
- "@opentinyvue/vue-breadcrumb-item": "~3.22.0"
10
+ "@opentinyvue/vue-renderless": "~3.23.0",
11
+ "@opentinyvue/vue-common": "~3.23.0",
12
+ "@opentinyvue/vue-theme": "~3.23.0",
13
+ "@opentinyvue/vue-breadcrumb-item": "~3.23.0"
14
14
  },
15
15
  "license": "MIT",
16
16
  "types": "index.d.ts",
package/src/index.d.ts CHANGED
@@ -23,7 +23,11 @@ export declare const breadcrumbProps: {
23
23
  type: StringConstructor;
24
24
  default: string;
25
25
  };
26
- size: StringConstructor;
26
+ size: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ validator: (val: string) => boolean;
30
+ };
27
31
  options: {
28
32
  type: ArrayConstructor;
29
33
  default: () => never[];
@@ -55,7 +59,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
55
59
  type: StringConstructor;
56
60
  default: string;
57
61
  };
58
- size: StringConstructor;
62
+ size: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ validator: (val: string) => boolean;
66
+ };
59
67
  options: {
60
68
  type: ArrayConstructor;
61
69
  default: () => never[];
@@ -88,7 +96,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
88
96
  type: StringConstructor;
89
97
  default: string;
90
98
  };
91
- size: StringConstructor;
99
+ size: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ validator: (val: string) => boolean;
103
+ };
92
104
  options: {
93
105
  type: ArrayConstructor;
94
106
  default: () => never[];
@@ -100,6 +112,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
100
112
  tiny_theme: StringConstructor;
101
113
  tiny_chart_theme: ObjectConstructor;
102
114
  }>>, {
115
+ size: string;
103
116
  options: unknown[];
104
117
  tiny_mode_root: boolean;
105
118
  _constants: Record<string, any>;