sag_components 2.0.0-beta270 → 2.0.0-beta271
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/dist/index.d.ts
CHANGED
|
@@ -1578,7 +1578,7 @@ declare function ModalDrawer({ open, height, onClose, children, widthPercent }:
|
|
|
1578
1578
|
widthPercent?: number;
|
|
1579
1579
|
}): react_jsx_runtime.JSX.Element;
|
|
1580
1580
|
|
|
1581
|
-
declare function OverlayDropdown({ data, value, onSelectClick, disabled, isDarkerBackground, required, selectedColor, hoverColor, dropdownMaxHeight, width, height, label, labelEmptyValue, showLabelOnTop, placeHolder, labelColor, placeHolderColor, margin, dropdownWidth, editableDigitalCoupon, ...props }: {
|
|
1581
|
+
declare function OverlayDropdown({ data, value, onSelectClick, disabled, isDarkerBackground, required, selectedColor, hoverColor, dropdownMaxHeight, width, minWidth, height, label, labelEmptyValue, showLabelOnTop, placeHolder, labelColor, placeHolderColor, margin, dropdownWidth, editableDigitalCoupon, ...props }: {
|
|
1582
1582
|
[x: string]: any;
|
|
1583
1583
|
data?: any[];
|
|
1584
1584
|
value: any;
|
|
@@ -1590,6 +1590,7 @@ declare function OverlayDropdown({ data, value, onSelectClick, disabled, isDarke
|
|
|
1590
1590
|
hoverColor?: string;
|
|
1591
1591
|
dropdownMaxHeight?: string;
|
|
1592
1592
|
width?: string;
|
|
1593
|
+
minWidth: any;
|
|
1593
1594
|
height?: string;
|
|
1594
1595
|
label: any;
|
|
1595
1596
|
labelEmptyValue: any;
|
package/dist/index.esm.js
CHANGED
|
@@ -57333,7 +57333,7 @@ const scrollableStyles = `
|
|
|
57333
57333
|
const DropdownContainer = styled.div`
|
|
57334
57334
|
position: relative;
|
|
57335
57335
|
width: ${props => props.width || '100%'};
|
|
57336
|
-
|
|
57336
|
+
min-width: ${props => props.minWidth || 'unset'};
|
|
57337
57337
|
font-family: "Poppins", sans-serif;
|
|
57338
57338
|
`;
|
|
57339
57339
|
const DropdownButton = styled.button`
|
|
@@ -57772,6 +57772,7 @@ const OverlayDropdown = _ref => {
|
|
|
57772
57772
|
hoverColor = "#E6F0F0",
|
|
57773
57773
|
dropdownMaxHeight = "600px",
|
|
57774
57774
|
width = "100%",
|
|
57775
|
+
minWidth,
|
|
57775
57776
|
height = "auto",
|
|
57776
57777
|
label,
|
|
57777
57778
|
labelEmptyValue,
|
|
@@ -57986,6 +57987,7 @@ const OverlayDropdown = _ref => {
|
|
|
57986
57987
|
};
|
|
57987
57988
|
return /*#__PURE__*/React$1.createElement(DropdownContainer, {
|
|
57988
57989
|
width: width,
|
|
57990
|
+
minWidth: minWidth,
|
|
57989
57991
|
ref: containerRef
|
|
57990
57992
|
}, /*#__PURE__*/React$1.createElement(Label$1, {
|
|
57991
57993
|
className: "Label",
|