@lanaco/lnc-react-ui 3.11.24 → 3.11.25
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 +11 -10
- package/lib/index.js +11 -10
- package/package.json +1 -1
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", "
|
|
71060
|
+
var _excluded$M = ["control", "offsetValue", "placement", "widthFitContent", "closeOnItemSelect", "zIndex", "onFocus", "onBlur", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onItemSelected", "animation", "className", "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,9 @@ 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.
|
|
71085
|
-
var color = props.color,
|
|
71082
|
+
animation = props.animation,
|
|
71083
|
+
className = props.className,
|
|
71084
|
+
color = props.color,
|
|
71086
71085
|
size = props.size;
|
|
71087
71086
|
props.popoverProps;
|
|
71088
71087
|
var children = props.children,
|
|
@@ -71155,7 +71154,8 @@ var DropdownMenu = /*#__PURE__*/React__default.forwardRef(function (props, ref)
|
|
|
71155
71154
|
}
|
|
71156
71155
|
};
|
|
71157
71156
|
return /*#__PURE__*/React__default.createElement(StyledDropDown, _extends$4({
|
|
71158
|
-
ref: ref
|
|
71157
|
+
ref: ref,
|
|
71158
|
+
className: className
|
|
71159
71159
|
}, rest), /*#__PURE__*/React__default.createElement(Popover$1, {
|
|
71160
71160
|
open: openPopover,
|
|
71161
71161
|
onOpenChange: setOpenPopover,
|
|
@@ -71173,7 +71173,8 @@ var DropdownMenu = /*#__PURE__*/React__default.forwardRef(function (props, ref)
|
|
|
71173
71173
|
ref: menuContentRef,
|
|
71174
71174
|
widthfitcontent: widthFitContent,
|
|
71175
71175
|
color: color,
|
|
71176
|
-
theme: theme
|
|
71176
|
+
theme: theme,
|
|
71177
|
+
className: contentClassName
|
|
71177
71178
|
}, clonedChildren))));
|
|
71178
71179
|
});
|
|
71179
71180
|
DropdownMenu.defaultProps = {
|
|
@@ -71217,9 +71218,10 @@ DropdownMenu.defaultProps = {
|
|
|
71217
71218
|
}
|
|
71218
71219
|
}
|
|
71219
71220
|
},
|
|
71220
|
-
style: {},
|
|
71221
71221
|
color: "primary",
|
|
71222
|
-
size: "small"
|
|
71222
|
+
size: "small",
|
|
71223
|
+
className: "",
|
|
71224
|
+
contentClassName: ""
|
|
71223
71225
|
};
|
|
71224
71226
|
DropdownMenu.propTypes = {
|
|
71225
71227
|
control: PropTypes.oneOfType([PropTypes.string, PropTypes.element]).isRequired,
|
|
@@ -71251,7 +71253,6 @@ DropdownMenu.propTypes = {
|
|
|
71251
71253
|
//---------------------------------------------------------------
|
|
71252
71254
|
animation: PropTypes.object,
|
|
71253
71255
|
className: PropTypes.string,
|
|
71254
|
-
style: PropTypes.object,
|
|
71255
71256
|
color: PropTypes.oneOf(["primary", "secondary", "success", "warning", "danger", "information", "neutral", "gray"]),
|
|
71256
71257
|
size: PropTypes.oneOf(["small", "medium", "large"]),
|
|
71257
71258
|
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", "
|
|
71109
|
+
var _excluded$M = ["control", "offsetValue", "placement", "widthFitContent", "closeOnItemSelect", "zIndex", "onFocus", "onBlur", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onItemSelected", "animation", "className", "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,9 @@ 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.
|
|
71134
|
-
var color = props.color,
|
|
71131
|
+
animation = props.animation,
|
|
71132
|
+
className = props.className,
|
|
71133
|
+
color = props.color,
|
|
71135
71134
|
size = props.size;
|
|
71136
71135
|
props.popoverProps;
|
|
71137
71136
|
var children = props.children,
|
|
@@ -71204,7 +71203,8 @@ var DropdownMenu = /*#__PURE__*/React__default["default"].forwardRef(function (p
|
|
|
71204
71203
|
}
|
|
71205
71204
|
};
|
|
71206
71205
|
return /*#__PURE__*/React__default["default"].createElement(StyledDropDown, _extends__default$1["default"]({
|
|
71207
|
-
ref: ref
|
|
71206
|
+
ref: ref,
|
|
71207
|
+
className: className
|
|
71208
71208
|
}, rest), /*#__PURE__*/React__default["default"].createElement(Popover$1, {
|
|
71209
71209
|
open: openPopover,
|
|
71210
71210
|
onOpenChange: setOpenPopover,
|
|
@@ -71222,7 +71222,8 @@ var DropdownMenu = /*#__PURE__*/React__default["default"].forwardRef(function (p
|
|
|
71222
71222
|
ref: menuContentRef,
|
|
71223
71223
|
widthfitcontent: widthFitContent,
|
|
71224
71224
|
color: color,
|
|
71225
|
-
theme: theme
|
|
71225
|
+
theme: theme,
|
|
71226
|
+
className: contentClassName
|
|
71226
71227
|
}, clonedChildren))));
|
|
71227
71228
|
});
|
|
71228
71229
|
DropdownMenu.defaultProps = {
|
|
@@ -71266,9 +71267,10 @@ DropdownMenu.defaultProps = {
|
|
|
71266
71267
|
}
|
|
71267
71268
|
}
|
|
71268
71269
|
},
|
|
71269
|
-
style: {},
|
|
71270
71270
|
color: "primary",
|
|
71271
|
-
size: "small"
|
|
71271
|
+
size: "small",
|
|
71272
|
+
className: "",
|
|
71273
|
+
contentClassName: ""
|
|
71272
71274
|
};
|
|
71273
71275
|
DropdownMenu.propTypes = {
|
|
71274
71276
|
control: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].element]).isRequired,
|
|
@@ -71300,7 +71302,6 @@ DropdownMenu.propTypes = {
|
|
|
71300
71302
|
//---------------------------------------------------------------
|
|
71301
71303
|
animation: PropTypes__default["default"].object,
|
|
71302
71304
|
className: PropTypes__default["default"].string,
|
|
71303
|
-
style: PropTypes__default["default"].object,
|
|
71304
71305
|
color: PropTypes__default["default"].oneOf(["primary", "secondary", "success", "warning", "danger", "information", "neutral", "gray"]),
|
|
71305
71306
|
size: PropTypes__default["default"].oneOf(["small", "medium", "large"]),
|
|
71306
71307
|
popoverProps: PropTypes__default["default"].any
|