@tmagic/tdesign-vue-next-adapter 1.3.16 → 1.4.0-beta.2

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.
@@ -558,7 +558,8 @@ const adapter = {
558
558
  radio: {
559
559
  component: Radio,
560
560
  props: (props) => ({
561
- label: props.label
561
+ label: props.label,
562
+ value: props.value
562
563
  })
563
564
  },
564
565
  radioButton: {
@@ -561,7 +561,8 @@
561
561
  radio: {
562
562
  component: tdesignVueNext.Radio,
563
563
  props: (props) => ({
564
- label: props.label
564
+ label: props.label,
565
+ value: props.value
565
566
  })
566
567
  },
567
568
  radioButton: {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.16",
2
+ "version": "1.4.0-beta.2",
3
3
  "name": "@tmagic/tdesign-vue-next-adapter",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -32,26 +32,28 @@
32
32
  "typescript"
33
33
  ],
34
34
  "dependencies": {
35
- "@tmagic/design": "1.3.16",
35
+ "@tmagic/design": "1.4.0-beta.2",
36
36
  "tdesign-vue-next": "^1.8.1",
37
- "vue": "^3.3.8"
37
+ "vue": "^3.4.21"
38
38
  },
39
39
  "peerDependencies": {
40
- "@tmagic/design": "1.3.16",
40
+ "@tmagic/design": "1.4.0-beta.2",
41
41
  "tdesign-vue-next": "^1.8.1",
42
- "vue": "^3.3.8"
42
+ "vue": "^3.4.21"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@vitejs/plugin-vue": "^4.5.2",
46
- "@vue/compiler-sfc": "^3.3.8",
46
+ "@vue/compiler-sfc": "^3.4.21",
47
47
  "@types/node": "^18.19.0",
48
48
  "rimraf": "^3.0.2",
49
- "typescript": "^5.0.4",
50
- "vite": "^5.0.7"
49
+ "typescript": "^5.4.2",
50
+ "vite": "^5.1.6",
51
+ "vue-tsc": "^2.0.6"
51
52
  },
52
53
  "scripts": {
53
54
  "build": "npm run build:type && vite build",
54
55
  "build:type": "npm run clear:type && tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
55
- "clear:type": "rimraf ./types"
56
+ "clear:type": "rimraf ./types",
57
+ "type:check": "vue-tsc --noEmit"
56
58
  }
57
59
  }
package/src/index.ts CHANGED
@@ -358,6 +358,7 @@ const adapter: any = {
358
358
  component: TRadio,
359
359
  props: (props: RadioProps) => ({
360
360
  label: props.label,
361
+ value: props.value,
361
362
  }),
362
363
  },
363
364