@titaui/pc 1.7.15 → 1.7.16

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.
@@ -23,6 +23,10 @@ var _textarea = _interopRequireDefault(require("./form-fields/textarea"));
23
23
 
24
24
  var _radios = _interopRequireDefault(require("./form-fields/radios"));
25
25
 
26
+ var _dropdown = _interopRequireDefault(require("./form-fields/dropdown"));
27
+
28
+ var _group = _interopRequireDefault(require("./form-fields/group"));
29
+
26
30
  var _layout = require("./layout");
27
31
 
28
32
  require("./index.css");
@@ -120,7 +124,9 @@ var FormFields = {
120
124
  User: _user["default"],
121
125
  Duties: _duties["default"],
122
126
  Textarea: _textarea["default"],
123
- Radios: _radios["default"]
127
+ Radios: _radios["default"],
128
+ DropDown: _dropdown["default"],
129
+ GroupFields: _group["default"]
124
130
  }; //@ts-ignore
125
131
 
126
132
  Form.Fields = FormFields;
@@ -39,13 +39,15 @@
39
39
  }
40
40
 
41
41
  .rc-select-multiple .rc-select-selector {
42
- padding: 0 12px;
42
+ height: unset;
43
+ padding: 7px 12px 0;
43
44
  border: 1px solid #DFE3EA;
44
45
  }
45
46
 
46
47
  .rc-select-multiple .rc-select-selector .rc-select-selection-overflow-item {
47
48
  display: flex;
48
49
  align-items: center;
50
+ margin-bottom: 7px;
49
51
  }
50
52
 
51
53
  .rc-select-selection-item-content {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.7.15",
3
+ "version": "1.7.16",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "src/index.js",
@@ -98,6 +98,8 @@ const FormFields = {
98
98
  Duties: _FormFieldDuties,
99
99
  Textarea: _FormFieldTextarea,
100
100
  Radios: _FormFieldRadios,
101
+ DropDown:_FormFieldDropDown,
102
+ GroupFields:_FormFieldGroup,
101
103
  };
102
104
  //@ts-ignore
103
105
  Form.Fields = FormFields
@@ -38,12 +38,14 @@
38
38
  box-sizing: border-box;
39
39
  }
40
40
  .rc-select-multiple .rc-select-selector {
41
- padding: 0 12px;
41
+ height: unset;
42
+ padding: 7px 12px 0;
42
43
  border: 1px solid #DFE3EA;
43
44
  }
44
45
  .rc-select-multiple .rc-select-selector .rc-select-selection-overflow-item {
45
46
  display: flex;
46
47
  align-items: center;
48
+ margin-bottom: 7px;
47
49
  }
48
50
 
49
51
  .rc-select-selection-item-content{