@para-ui/core 3.0.29 → 3.0.31

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/Selector/index.js CHANGED
@@ -593,6 +593,7 @@ var SelectorMainContent = function SelectorMainContent(props) {
593
593
  }));
594
594
  };
595
595
  }
596
+ if (item.detail !== undefined) json.detail = item.detail;
596
597
  return json;
597
598
  };
598
599
  /** 渲染list节点 */
@@ -1018,6 +1019,7 @@ var SelectorData = function SelectorData(props) {
1018
1019
  }));
1019
1020
  };
1020
1021
  }
1022
+ if (item.detail !== undefined) json.detail = item.detail;
1021
1023
  /** 是否具有删除 */
1022
1024
  if (item.close !== undefined) json.close = item.close;
1023
1025
  return json;
@@ -190,7 +190,7 @@ var SingleBox = function SingleBox(props) {
190
190
  fetchSuggestions: fetchSuggestions,
191
191
  onSelect: selectValue(index)
192
192
  }))
193
- })), jsx("div", Object.assign({
193
+ })), !disabled && jsx("div", Object.assign({
194
194
  className: "opera-box"
195
195
  }, {
196
196
  children: jsx("span", Object.assign({
package/Styles/form.scss CHANGED
@@ -1,5 +1,5 @@
1
- .#{$prefixCls}-form {
2
- .#{$prefixCls}-helper-text {
3
- min-height: 20px;
4
- }
5
- }
1
+ .#{$prefixCls}-form {
2
+ .#{$prefixCls}-helper-text {
3
+ min-height: 20px;
4
+ }
5
+ }
package/Styles/index.scss CHANGED
@@ -1,37 +1,37 @@
1
- @import "normalize";
2
- @import "theme";
3
- @import "scrollbar";
4
- @import "form";
5
-
6
- * {
7
- font-family: $font-family;
8
- margin: 0;
9
- padding: 0;
10
- box-sizing: border-box;
11
- outline: none;
12
- -webkit-tap-highlight-color: transparent;
13
- }
14
-
15
- html, body {
16
- width: 100%;
17
- height: 100%;
18
- overflow: hidden;
19
- }
20
-
21
- ol, ul {
22
- list-style: none;
23
- }
24
-
25
- a,
26
- h1,
27
- h2,
28
- h3,
29
- h4,
30
- h5,
31
- h6,
32
- input,
33
- select,
34
- button,
35
- textarea {
36
- outline: none;
37
- }
1
+ @import "normalize";
2
+ @import "theme";
3
+ @import "scrollbar";
4
+ @import "form";
5
+
6
+ * {
7
+ font-family: $font-family;
8
+ margin: 0;
9
+ padding: 0;
10
+ box-sizing: border-box;
11
+ outline: none;
12
+ -webkit-tap-highlight-color: transparent;
13
+ }
14
+
15
+ html, body {
16
+ width: 100%;
17
+ height: 100%;
18
+ overflow: hidden;
19
+ }
20
+
21
+ ol, ul {
22
+ list-style: none;
23
+ }
24
+
25
+ a,
26
+ h1,
27
+ h2,
28
+ h3,
29
+ h4,
30
+ h5,
31
+ h6,
32
+ input,
33
+ select,
34
+ button,
35
+ textarea {
36
+ outline: none;
37
+ }