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.cjs.js
CHANGED
|
@@ -103,6 +103,9 @@ var __defProp = Object.defineProperty;
|
|
|
103
103
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
104
104
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
105
105
|
var getCookie = (name) => {
|
|
106
|
+
if (!isClient()) {
|
|
107
|
+
return "";
|
|
108
|
+
}
|
|
106
109
|
if (typeof document === "undefined") {
|
|
107
110
|
return "";
|
|
108
111
|
}
|
|
@@ -1482,7 +1485,7 @@ const CustomerSearch = ({
|
|
|
1482
1485
|
InputBox$3,
|
|
1483
1486
|
{
|
|
1484
1487
|
...rootProps,
|
|
1485
|
-
endElement: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconMainUiSearch, {
|
|
1488
|
+
endElement: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconMainUiSearch, { onClick: search, style: { width: "20px", height: "20px" } }),
|
|
1486
1489
|
onClear: handleClear,
|
|
1487
1490
|
clearable: true,
|
|
1488
1491
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|