sales-frontend-components 0.0.185 → 0.0.187
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.cjs.js +4 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +14 -14
package/dist/index.esm.js
CHANGED
|
@@ -101,6 +101,9 @@ var __defProp = Object.defineProperty;
|
|
|
101
101
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
102
102
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
103
103
|
var getCookie = (name) => {
|
|
104
|
+
if (!isClient()) {
|
|
105
|
+
return "";
|
|
106
|
+
}
|
|
104
107
|
if (typeof document === "undefined") {
|
|
105
108
|
return "";
|
|
106
109
|
}
|
|
@@ -1480,7 +1483,7 @@ const CustomerSearch = ({
|
|
|
1480
1483
|
InputBox$3,
|
|
1481
1484
|
{
|
|
1482
1485
|
...rootProps,
|
|
1483
|
-
endElement: /* @__PURE__ */ jsx(IconMainUiSearch, {
|
|
1486
|
+
endElement: /* @__PURE__ */ jsx(IconMainUiSearch, { onClick: search, style: { width: "20px", height: "20px" } }),
|
|
1484
1487
|
onClear: handleClear,
|
|
1485
1488
|
clearable: true,
|
|
1486
1489
|
children: /* @__PURE__ */ jsx(
|