@zgfe/business-lib 1.0.22-bugfix.0 → 1.0.22-bugfix.1

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.
@@ -129,8 +129,6 @@
129
129
 
130
130
  // 下拉框常用样式
131
131
  .__select-normal-secondary {
132
- height: @height-base;
133
- line-height: @height-base;
134
132
  background-color: @white;
135
133
  border: 1px solid @border-color-base;
136
134
  border-radius: @border-radius-small;
@@ -131,6 +131,7 @@ var BizAttributeSelector = function BizAttributeSelector(props) {
131
131
  ref: boxRef,
132
132
  theme: theme,
133
133
  border: false,
134
+ size: props.size,
134
135
  label: currentAttr === null || currentAttr === void 0 ? void 0 : currentAttr.label,
135
136
  placeholder: placeholder
136
137
  }))), enableDelete && /*#__PURE__*/React.createElement(Tooltip, {
@@ -148,6 +149,7 @@ BizAttributeSelector.defaultProps = {
148
149
  enableDelete: false,
149
150
  placeholder: '请选择',
150
151
  theme: 'secondary',
152
+ size: 'middle',
151
153
  propSymbol: '*',
152
154
  optionsHeaderTip: '带*的属性每日凌晨更新',
153
155
  destroyPopupOnHide: false
@@ -1,3 +1,4 @@
1
+ import { SizeType } from 'antd/es/config-provider/SizeContext';
1
2
  import { ReactNode } from 'react';
2
3
  export declare enum PropType {
3
4
  STRING = 1,
@@ -79,6 +80,7 @@ export declare namespace AttributeSelect {
79
80
  onDelete?: (value?: Value) => void;
80
81
  theme?: string;
81
82
  destroyPopupOnHide?: boolean;
83
+ size?: SizeType;
82
84
  }
83
85
  interface Option {
84
86
  groupName: string;
@@ -0,0 +1,2 @@
1
+ declare const _default: () => JSX.Element;
2
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export default (function () {
3
+ return /*#__PURE__*/React.createElement("div", null, "dnd demo");
4
+ });
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const BizDnd: React.FC;
3
+ export default BizDnd;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ var BizDnd = function BizDnd() {
4
+ return /*#__PURE__*/React.createElement("div", null, "dnd");
5
+ };
6
+
7
+ export default BizDnd;
@@ -0,0 +1,8 @@
1
+ export declare namespace DndTypes {
2
+ interface Props {
3
+ className?: string;
4
+ itemClassName?: string;
5
+ draddingClassName?: string;
6
+ tempClassName?: string;
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.0.22-bugfix.0",
3
+ "version": "1.0.22-bugfix.1",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -58,5 +58,5 @@
58
58
  "react": "^16.12.0 || ^17.0.0",
59
59
  "yorkie": "^2.0.0"
60
60
  },
61
- "gitHead": "47740794ce3b30901c4da95c522bfdccb70561ea"
61
+ "gitHead": "a0e0068687254340c1ecb1300c479995fbe12770"
62
62
  }