@pdg/react-form 1.0.108 → 1.0.109
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.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -10614,7 +10614,7 @@ SearchGroup.defaultProps = SearchGroupDefaultProps;var SearchButtonDefaultProps
|
|
|
10614
10614
|
* Memo
|
|
10615
10615
|
* ******************************************************************************************************************/
|
|
10616
10616
|
var children = _a.children, className = _a.className, initSx = _a.sx, startIcon = _a.startIcon, endIcon = _a.endIcon, icon = _a.icon, props = __rest(_a, ["children", "className", "sx", "startIcon", "endIcon", "icon"]);
|
|
10617
|
-
var sx = useMemo(function () { return (__assign({ minWidth: 0, px: "".concat(!
|
|
10617
|
+
var sx = useMemo(function () { return (__assign({ minWidth: 0, px: "".concat(!children ? 9 : 13, "px !important") }, initSx)); }, [children, initSx]);
|
|
10618
10618
|
/********************************************************************************************************************
|
|
10619
10619
|
* Render
|
|
10620
10620
|
* ******************************************************************************************************************/
|
|
@@ -10647,7 +10647,7 @@ SearchButton.defaultProps = SearchButtonDefaultProps;var SearchMenuButtonDefault
|
|
|
10647
10647
|
* Memo
|
|
10648
10648
|
* ******************************************************************************************************************/
|
|
10649
10649
|
var open = useMemo(function () { return !!anchorEl; }, [anchorEl]);
|
|
10650
|
-
var sx = useMemo(function () { return (__assign({ minWidth: 0, px: "".concat(!
|
|
10650
|
+
var sx = useMemo(function () { return (__assign({ minWidth: 0, px: "".concat(!children ? 9 : 13, "px !important") }, initSx)); }, [children, initSx]);
|
|
10651
10651
|
var anchorOrigin = useMemo(function () {
|
|
10652
10652
|
switch (placement || 'bottom') {
|
|
10653
10653
|
case 'bottom':
|
package/dist/index.js
CHANGED
|
@@ -10614,7 +10614,7 @@ SearchGroup.defaultProps = SearchGroupDefaultProps;var SearchButtonDefaultProps
|
|
|
10614
10614
|
* Memo
|
|
10615
10615
|
* ******************************************************************************************************************/
|
|
10616
10616
|
var children = _a.children, className = _a.className, initSx = _a.sx, startIcon = _a.startIcon, endIcon = _a.endIcon, icon = _a.icon, props = __rest(_a, ["children", "className", "sx", "startIcon", "endIcon", "icon"]);
|
|
10617
|
-
var sx = React.useMemo(function () { return (__assign({ minWidth: 0, px: "".concat(!
|
|
10617
|
+
var sx = React.useMemo(function () { return (__assign({ minWidth: 0, px: "".concat(!children ? 9 : 13, "px !important") }, initSx)); }, [children, initSx]);
|
|
10618
10618
|
/********************************************************************************************************************
|
|
10619
10619
|
* Render
|
|
10620
10620
|
* ******************************************************************************************************************/
|
|
@@ -10647,7 +10647,7 @@ SearchButton.defaultProps = SearchButtonDefaultProps;var SearchMenuButtonDefault
|
|
|
10647
10647
|
* Memo
|
|
10648
10648
|
* ******************************************************************************************************************/
|
|
10649
10649
|
var open = React.useMemo(function () { return !!anchorEl; }, [anchorEl]);
|
|
10650
|
-
var sx = React.useMemo(function () { return (__assign({ minWidth: 0, px: "".concat(!
|
|
10650
|
+
var sx = React.useMemo(function () { return (__assign({ minWidth: 0, px: "".concat(!children ? 9 : 13, "px !important") }, initSx)); }, [children, initSx]);
|
|
10651
10651
|
var anchorOrigin = React.useMemo(function () {
|
|
10652
10652
|
switch (placement || 'bottom') {
|
|
10653
10653
|
case 'bottom':
|