@lanaco/lnc-react-ui 3.11.12 → 3.11.13
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 +4 -4
- package/lib/index.js +4 -4
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -70837,7 +70837,7 @@ var StyledContent$1 = newStyled(motion.div)(_templateObject$K || (_templateObjec
|
|
|
70837
70837
|
}, function (props) {
|
|
70838
70838
|
return getComponentPropValue(props.theme, "Popover", props.color, "enabled", "boxShadow");
|
|
70839
70839
|
}, function (props) {
|
|
70840
|
-
return getBorderRadiusValueWithUnits(props.theme, props
|
|
70840
|
+
return getBorderRadiusValueWithUnits(props.theme, props.$borderRadius);
|
|
70841
70841
|
}, function (props) {
|
|
70842
70842
|
return getColorRgbaValue(props.theme, "Popover", "default", "enabled", "bg");
|
|
70843
70843
|
});
|
|
@@ -70993,7 +70993,7 @@ var PopoverContent = /*#__PURE__*/React.forwardRef(function PopoverContent(_ref4
|
|
|
70993
70993
|
"aria-describedby": state.descriptionId
|
|
70994
70994
|
}, state.getFloatingProps(props)), /*#__PURE__*/React.createElement(StyledContent$1, {
|
|
70995
70995
|
theme: theme,
|
|
70996
|
-
borderRadius: borderRadius,
|
|
70996
|
+
$borderRadius: borderRadius,
|
|
70997
70997
|
className: className,
|
|
70998
70998
|
style: style
|
|
70999
70999
|
}, props.children))));
|
|
@@ -71044,7 +71044,7 @@ var _excluded$M = ["control", "offsetValue", "placement", "widthFitContent", "cl
|
|
|
71044
71044
|
var _templateObject$J, _templateObject2$f;
|
|
71045
71045
|
var StyledDropDown = newStyled.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteral([""])));
|
|
71046
71046
|
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) {
|
|
71047
|
-
return props
|
|
71047
|
+
return props.$widthFitContent == false && "min-width: 12.5rem";
|
|
71048
71048
|
}, function (props) {
|
|
71049
71049
|
return getColorRgbaValue(props.theme, "Dropdown", props.color, "enabled", "background");
|
|
71050
71050
|
});
|
|
@@ -71154,7 +71154,7 @@ var DropdownMenu = /*#__PURE__*/React__default.forwardRef(function (props, ref)
|
|
|
71154
71154
|
zIndex: zIndex
|
|
71155
71155
|
}, /*#__PURE__*/React__default.createElement(StyledContent, {
|
|
71156
71156
|
ref: menuContentRef,
|
|
71157
|
-
widthFitContent: widthFitContent,
|
|
71157
|
+
$widthFitContent: widthFitContent,
|
|
71158
71158
|
color: color,
|
|
71159
71159
|
theme: theme
|
|
71160
71160
|
}, clonedChildren))));
|
package/lib/index.js
CHANGED
|
@@ -70886,7 +70886,7 @@ var StyledContent$1 = newStyled(motion.div)(_templateObject$K || (_templateObjec
|
|
|
70886
70886
|
}, function (props) {
|
|
70887
70887
|
return getComponentPropValue(props.theme, "Popover", props.color, "enabled", "boxShadow");
|
|
70888
70888
|
}, function (props) {
|
|
70889
|
-
return getBorderRadiusValueWithUnits(props.theme, props
|
|
70889
|
+
return getBorderRadiusValueWithUnits(props.theme, props.$borderRadius);
|
|
70890
70890
|
}, function (props) {
|
|
70891
70891
|
return getColorRgbaValue(props.theme, "Popover", "default", "enabled", "bg");
|
|
70892
70892
|
});
|
|
@@ -71042,7 +71042,7 @@ var PopoverContent = /*#__PURE__*/React__namespace.forwardRef(function PopoverCo
|
|
|
71042
71042
|
"aria-describedby": state.descriptionId
|
|
71043
71043
|
}, state.getFloatingProps(props)), /*#__PURE__*/React__namespace.createElement(StyledContent$1, {
|
|
71044
71044
|
theme: theme,
|
|
71045
|
-
borderRadius: borderRadius,
|
|
71045
|
+
$borderRadius: borderRadius,
|
|
71046
71046
|
className: className,
|
|
71047
71047
|
style: style
|
|
71048
71048
|
}, props.children))));
|
|
@@ -71093,7 +71093,7 @@ var _excluded$M = ["control", "offsetValue", "placement", "widthFitContent", "cl
|
|
|
71093
71093
|
var _templateObject$J, _templateObject2$f;
|
|
71094
71094
|
var StyledDropDown = newStyled.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteral__default["default"]([""])));
|
|
71095
71095
|
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) {
|
|
71096
|
-
return props
|
|
71096
|
+
return props.$widthFitContent == false && "min-width: 12.5rem";
|
|
71097
71097
|
}, function (props) {
|
|
71098
71098
|
return getColorRgbaValue(props.theme, "Dropdown", props.color, "enabled", "background");
|
|
71099
71099
|
});
|
|
@@ -71203,7 +71203,7 @@ var DropdownMenu = /*#__PURE__*/React__default["default"].forwardRef(function (p
|
|
|
71203
71203
|
zIndex: zIndex
|
|
71204
71204
|
}, /*#__PURE__*/React__default["default"].createElement(StyledContent, {
|
|
71205
71205
|
ref: menuContentRef,
|
|
71206
|
-
widthFitContent: widthFitContent,
|
|
71206
|
+
$widthFitContent: widthFitContent,
|
|
71207
71207
|
color: color,
|
|
71208
71208
|
theme: theme
|
|
71209
71209
|
}, clonedChildren))));
|