@lanaco/lnc-react-ui 3.11.24 → 3.11.26

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/lib/index.esm.js CHANGED
@@ -71057,7 +71057,7 @@ var PopoverClose = /*#__PURE__*/React.forwardRef(function PopoverClose(_ref7, re
71057
71057
  }), children);
71058
71058
  });
71059
71059
 
71060
- var _excluded$M = ["control", "offsetValue", "placement", "widthFitContent", "closeOnItemSelect", "zIndex", "onFocus", "onBlur", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onItemSelected", "animation", "className", "style", "color", "size", "popoverProps", "children"];
71060
+ var _excluded$M = ["control", "offsetValue", "placement", "widthFitContent", "closeOnItemSelect", "zIndex", "onFocus", "onBlur", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onItemSelected", "animation", "className", "contentClassName", "color", "size", "popoverProps", "children"];
71061
71061
  var _templateObject$J, _templateObject2$f;
71062
71062
  var StyledDropDown = newStyled.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteral([""])));
71063
71063
  var StyledContent = newStyled(motion.div)(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteral(["\n gap: 0.25rem;\n display: flex;\n flex-direction: column;\n ", ";\n background-color: ", ";\n"])), function (props) {
@@ -71079,10 +71079,10 @@ var DropdownMenu = /*#__PURE__*/React__default.forwardRef(function (props, ref)
71079
71079
  onMouseEnter = props.onMouseEnter,
71080
71080
  onMouseLeave = props.onMouseLeave,
71081
71081
  onItemSelected = props.onItemSelected,
71082
- animation = props.animation;
71083
- props.className;
71084
- props.style;
71085
- var color = props.color,
71082
+ animation = props.animation,
71083
+ className = props.className,
71084
+ contentClassName = props.contentClassName,
71085
+ color = props.color,
71086
71086
  size = props.size;
71087
71087
  props.popoverProps;
71088
71088
  var children = props.children,
@@ -71155,7 +71155,8 @@ var DropdownMenu = /*#__PURE__*/React__default.forwardRef(function (props, ref)
71155
71155
  }
71156
71156
  };
71157
71157
  return /*#__PURE__*/React__default.createElement(StyledDropDown, _extends$4({
71158
- ref: ref
71158
+ ref: ref,
71159
+ className: className
71159
71160
  }, rest), /*#__PURE__*/React__default.createElement(Popover$1, {
71160
71161
  open: openPopover,
71161
71162
  onOpenChange: setOpenPopover,
@@ -71173,7 +71174,8 @@ var DropdownMenu = /*#__PURE__*/React__default.forwardRef(function (props, ref)
71173
71174
  ref: menuContentRef,
71174
71175
  widthfitcontent: widthFitContent,
71175
71176
  color: color,
71176
- theme: theme
71177
+ theme: theme,
71178
+ className: contentClassName
71177
71179
  }, clonedChildren))));
71178
71180
  });
71179
71181
  DropdownMenu.defaultProps = {
@@ -71217,9 +71219,10 @@ DropdownMenu.defaultProps = {
71217
71219
  }
71218
71220
  }
71219
71221
  },
71220
- style: {},
71221
71222
  color: "primary",
71222
- size: "small"
71223
+ size: "small",
71224
+ className: "",
71225
+ contentClassName: ""
71223
71226
  };
71224
71227
  DropdownMenu.propTypes = {
71225
71228
  control: PropTypes.oneOfType([PropTypes.string, PropTypes.element]).isRequired,
@@ -71251,7 +71254,6 @@ DropdownMenu.propTypes = {
71251
71254
  //---------------------------------------------------------------
71252
71255
  animation: PropTypes.object,
71253
71256
  className: PropTypes.string,
71254
- style: PropTypes.object,
71255
71257
  color: PropTypes.oneOf(["primary", "secondary", "success", "warning", "danger", "information", "neutral", "gray"]),
71256
71258
  size: PropTypes.oneOf(["small", "medium", "large"]),
71257
71259
  popoverProps: PropTypes.any
package/lib/index.js CHANGED
@@ -71106,7 +71106,7 @@ var PopoverClose = /*#__PURE__*/React__namespace.forwardRef(function PopoverClos
71106
71106
  }), children);
71107
71107
  });
71108
71108
 
71109
- var _excluded$M = ["control", "offsetValue", "placement", "widthFitContent", "closeOnItemSelect", "zIndex", "onFocus", "onBlur", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onItemSelected", "animation", "className", "style", "color", "size", "popoverProps", "children"];
71109
+ var _excluded$M = ["control", "offsetValue", "placement", "widthFitContent", "closeOnItemSelect", "zIndex", "onFocus", "onBlur", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onItemSelected", "animation", "className", "contentClassName", "color", "size", "popoverProps", "children"];
71110
71110
  var _templateObject$J, _templateObject2$f;
71111
71111
  var StyledDropDown = newStyled.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteral__default["default"]([""])));
71112
71112
  var StyledContent = newStyled(motion.div)(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteral__default["default"](["\n gap: 0.25rem;\n display: flex;\n flex-direction: column;\n ", ";\n background-color: ", ";\n"])), function (props) {
@@ -71128,10 +71128,10 @@ var DropdownMenu = /*#__PURE__*/React__default["default"].forwardRef(function (p
71128
71128
  onMouseEnter = props.onMouseEnter,
71129
71129
  onMouseLeave = props.onMouseLeave,
71130
71130
  onItemSelected = props.onItemSelected,
71131
- animation = props.animation;
71132
- props.className;
71133
- props.style;
71134
- var color = props.color,
71131
+ animation = props.animation,
71132
+ className = props.className,
71133
+ contentClassName = props.contentClassName,
71134
+ color = props.color,
71135
71135
  size = props.size;
71136
71136
  props.popoverProps;
71137
71137
  var children = props.children,
@@ -71204,7 +71204,8 @@ var DropdownMenu = /*#__PURE__*/React__default["default"].forwardRef(function (p
71204
71204
  }
71205
71205
  };
71206
71206
  return /*#__PURE__*/React__default["default"].createElement(StyledDropDown, _extends__default$1["default"]({
71207
- ref: ref
71207
+ ref: ref,
71208
+ className: className
71208
71209
  }, rest), /*#__PURE__*/React__default["default"].createElement(Popover$1, {
71209
71210
  open: openPopover,
71210
71211
  onOpenChange: setOpenPopover,
@@ -71222,7 +71223,8 @@ var DropdownMenu = /*#__PURE__*/React__default["default"].forwardRef(function (p
71222
71223
  ref: menuContentRef,
71223
71224
  widthfitcontent: widthFitContent,
71224
71225
  color: color,
71225
- theme: theme
71226
+ theme: theme,
71227
+ className: contentClassName
71226
71228
  }, clonedChildren))));
71227
71229
  });
71228
71230
  DropdownMenu.defaultProps = {
@@ -71266,9 +71268,10 @@ DropdownMenu.defaultProps = {
71266
71268
  }
71267
71269
  }
71268
71270
  },
71269
- style: {},
71270
71271
  color: "primary",
71271
- size: "small"
71272
+ size: "small",
71273
+ className: "",
71274
+ contentClassName: ""
71272
71275
  };
71273
71276
  DropdownMenu.propTypes = {
71274
71277
  control: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].element]).isRequired,
@@ -71300,7 +71303,6 @@ DropdownMenu.propTypes = {
71300
71303
  //---------------------------------------------------------------
71301
71304
  animation: PropTypes__default["default"].object,
71302
71305
  className: PropTypes__default["default"].string,
71303
- style: PropTypes__default["default"].object,
71304
71306
  color: PropTypes__default["default"].oneOf(["primary", "secondary", "success", "warning", "danger", "information", "neutral", "gray"]),
71305
71307
  size: PropTypes__default["default"].oneOf(["small", "medium", "large"]),
71306
71308
  popoverProps: PropTypes__default["default"].any
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lanaco/lnc-react-ui",
3
3
  "type": "module",
4
- "version": "3.11.24",
4
+ "version": "3.11.26",
5
5
  "description": "component library",
6
6
  "main": "lib/index.js",
7
7
  "module": "lib/index.esm.js",