@lemon-fe/components 0.0.17 → 0.0.20

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.
@@ -16,6 +16,7 @@ export interface PopupProps<ValueType> extends ModalProps {
16
16
  showLabel?: boolean;
17
17
  placeholder?: string;
18
18
  disabledTip?: string;
19
+ bordered?: boolean;
19
20
  onClick?: () => void;
20
21
  }
21
22
  interface ValuedPopupProps<ValueType> extends Omit<PopupProps<ValueType>, 'value' | 'onChange'> {
package/es/Popup/index.js CHANGED
@@ -1,4 +1,4 @@
1
- var _excluded = ["value", "onChange", "component", "children", "formatLabel", "disabled", "allowClear", "autoFocus", "showLabel", "beforeOk", "placeholder", "onClick", "disabledTip"];
1
+ var _excluded = ["value", "onChange", "component", "children", "formatLabel", "disabled", "allowClear", "autoFocus", "showLabel", "beforeOk", "placeholder", "onClick", "disabledTip", "bordered"];
2
2
 
3
3
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
4
 
@@ -49,6 +49,8 @@ function Popup(props) {
49
49
  placeholder = props.placeholder,
50
50
  onClick = props.onClick,
51
51
  disabledTip = props.disabledTip,
52
+ _props$bordered = props.bordered,
53
+ bordered = _props$bordered === void 0 ? true : _props$bordered,
52
54
  restProps = _objectWithoutProperties(props, _excluded);
53
55
 
54
56
  var prefixCls = "".concat(PREFIX_CLS, "-popup");
@@ -160,6 +162,7 @@ function Popup(props) {
160
162
  disabled: disabled,
161
163
  autoFocus: autoFocus,
162
164
  placeholder: placeholder,
165
+ bordered: bordered,
163
166
  suffix: /*#__PURE__*/React.createElement(React.Fragment, null, !disabled && allowClear && label && /*#__PURE__*/React.createElement(CloseCircleFilled, {
164
167
  className: "ant-input-clear-icon",
165
168
  onClick: handleClear
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "0.0.17",
3
+ "version": "0.0.20",
4
4
  "description": "> TODO: description",
5
5
  "author": "鲁盛杰 <lusj@cnlemon.net>",
6
6
  "homepage": "",
@@ -16,7 +16,7 @@
16
16
  "registry": "https://registry.npmjs.org"
17
17
  },
18
18
  "dependencies": {
19
- "@lemon-fe/hooks": "^0.0.17",
19
+ "@lemon-fe/hooks": "^0.0.20",
20
20
  "antd": "^4.17.0",
21
21
  "classnames": "^2.2.6",
22
22
  "lodash": "^4.17.21",
@@ -39,5 +39,5 @@
39
39
  "@types/lodash": "^4.14.179",
40
40
  "@types/react-resizable": "^1.7.4"
41
41
  },
42
- "gitHead": "fc8e8d101d44aef4f8c4f7121ac80f8feb1e35e6"
42
+ "gitHead": "74a29e43bf5b94819763c3bd2ab188ee4f3dc8f1"
43
43
  }