ronds-metadata 1.2.67 → 1.2.69

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.
@@ -2,7 +2,7 @@
2
2
  .drag-item {
3
3
  position: relative;
4
4
  border: 1px dashed var(--ronds-metadata-color-border-1);
5
- background: var(--ronds-metadata-color-bg-4);
5
+ background: var(--ronds-metadata-color-bg-2);
6
6
  margin-bottom: 8px;
7
7
  }
8
8
 
@@ -5,7 +5,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
5
5
  /*
6
6
  * @Author: wangxian
7
7
  * @Date: 2021-09-18 14:15:04
8
- * @LastEditTime: 2023-06-02 10:55:33
8
+ * @LastEditTime: 2023-06-14 09:27:20
9
9
  */
10
10
  import React from 'react';
11
11
  import { deepClone } from '../../../utils';
@@ -20,6 +20,7 @@ export function withAddOnAfter(WrappedComponent) {
20
20
  isShowTypeInfo = props.isShowTypeInfo,
21
21
  fields = props.fields,
22
22
  colSpan = props.colSpan,
23
+ disabled = props.disabled,
23
24
  field = props.field,
24
25
  id = props.id,
25
26
  _props$name = props.name,
@@ -100,7 +101,7 @@ export function withAddOnAfter(WrappedComponent) {
100
101
  labelSpan: labelSpan,
101
102
  isObj: isObj,
102
103
  notRequire: depend === null || depend === void 0 ? void 0 : depend.notRequire,
103
- disabled: (depend === null || depend === void 0 ? void 0 : depend.disabled) || false
104
+ disabled: (depend === null || depend === void 0 ? void 0 : depend.disabled) || disabled
104
105
  })), isShowTypeInfo && !field && type !== 'number' && type !== 'bool' && /*#__PURE__*/React.createElement("div", {
105
106
  className: "with-add-on-after-extra"
106
107
  }, help !== null && help !== void 0 ? help : type))), fields && ((_fields$5 = fields[0]) === null || _fields$5 === void 0 ? void 0 : (_fields$5$value = _fields$5.value) === null || _fields$5$value === void 0 ? void 0 : (_fields$5$value$commo = _fields$5$value.common) === null || _fields$5$value$commo === void 0 ? void 0 : _fields$5$value$commo.br) && /*#__PURE__*/React.createElement(_Col, {
package/es/theme.less CHANGED
@@ -9,6 +9,8 @@
9
9
  --ronds-metadata-color-text-2: #ffffff;
10
10
  --ronds-metadata-color-text-3: #ffffff;
11
11
 
12
+
13
+
12
14
  ::-webkit-scrollbar {
13
15
  width: 6px;
14
16
  height: 6px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.2.67",
4
+ "version": "1.2.69",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",