@tmagic/element-plus-adapter 1.4.0-beta.2 → 1.4.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.
@@ -87,7 +87,7 @@ const adapter = {
87
87
  },
88
88
  icon: {
89
89
  component: ElIcon,
90
- props: () => ({})
90
+ props: (props) => props
91
91
  },
92
92
  input: {
93
93
  component: ElInput,
@@ -91,7 +91,7 @@
91
91
  },
92
92
  icon: {
93
93
  component: elementPlus.ElIcon,
94
- props: () => ({})
94
+ props: (props) => props
95
95
  },
96
96
  input: {
97
97
  component: elementPlus.ElInput,
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.0-beta.2",
2
+ "version": "1.4.1",
3
3
  "name": "@tmagic/element-plus-adapter",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -32,12 +32,12 @@
32
32
  "typescript"
33
33
  ],
34
34
  "dependencies": {
35
- "@tmagic/design": "1.4.0-beta.2",
35
+ "@tmagic/design": "1.4.1",
36
36
  "element-plus": "^2.6.1",
37
37
  "vue": "^3.4.21"
38
38
  },
39
39
  "peerDependencies": {
40
- "@tmagic/design": "1.4.0-beta.2",
40
+ "@tmagic/design": "1.4.1",
41
41
  "element-plus": "^2.6.1",
42
42
  "vue": "^3.4.21"
43
43
  },
package/src/index.ts CHANGED
@@ -69,6 +69,7 @@ import type {
69
69
  DropdownProps,
70
70
  FormItemProps,
71
71
  FormProps,
72
+ IconProps,
72
73
  InputNumberProps,
73
74
  InputProps,
74
75
  OptionGroupProps,
@@ -200,8 +201,8 @@ const adapter: PluginOptions = {
200
201
  },
201
202
 
202
203
  icon: {
203
- component: ElIcon,
204
- props: () => ({}),
204
+ component: ElIcon as any,
205
+ props: (props: IconProps) => props,
205
206
  },
206
207
 
207
208
  input: {