@pisell/materials 1.0.85 → 1.0.86

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.
@@ -15,6 +15,7 @@ export default [
15
15
  schema: {
16
16
  componentName: 'Radio.Group',
17
17
  props: {
18
+ direction: "horizontal",
18
19
  options: [
19
20
  {
20
21
  label: 'A',
@@ -88,7 +88,7 @@ export default {
88
88
  {
89
89
  name: 'label',
90
90
  title: '选项名',
91
- setter: 'StringSetter',
91
+ setter: 'PisellI18nSetter',
92
92
  isRequired: true
93
93
  },
94
94
  {
@@ -116,6 +116,11 @@ export default {
116
116
  },
117
117
  },
118
118
  },
119
+ {
120
+ name: 'direction',
121
+ title: { label: '排布方向', tip: '排布方向' },
122
+ propType: { type: 'oneOf', value: ['vertical', 'horizontal'] },
123
+ },
119
124
  {
120
125
  name: 'optionType',
121
126
  title: { label: '类型', tip: '类型' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.85",
3
+ "version": "1.0.86",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",