personalize-connect-sdk 1.4.0 → 1.4.1

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.js CHANGED
@@ -760,7 +760,7 @@ var BAR_STYLE = {
760
760
  fontSize: "12px",
761
761
  fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
762
762
  fontWeight: 500,
763
- borderRadius: "0 0 6px 6px",
763
+ borderRadius: "6px 6px 0 0",
764
764
  flexWrap: "wrap",
765
765
  position: "relative",
766
766
  zIndex: 1
@@ -961,7 +961,6 @@ function withPersonalizeConnect(WrappedComponent, getConfig = DEFAULT_GET_CONFIG
961
961
  const isPreviewing = previewKey !== null && previewFields !== null;
962
962
  const editingProps = isPreviewing ? { ...props, fields: previewFields } : props;
963
963
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react2.Fragment, { children: [
964
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(WrappedComponent, { ...editingProps }),
965
964
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
966
965
  PreviewBar,
967
966
  {
@@ -970,7 +969,8 @@ function withPersonalizeConnect(WrappedComponent, getConfig = DEFAULT_GET_CONFIG
970
969
  isLoading: previewLoading,
971
970
  onSelect: handlePreviewSelect
972
971
  }
973
- )
972
+ ),
973
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(WrappedComponent, { ...editingProps })
974
974
  ] });
975
975
  }
976
976
  const mergedProps = resolvedFields ? { ...props, fields: resolvedFields } : props;
package/dist/index.mjs CHANGED
@@ -719,7 +719,7 @@ var BAR_STYLE = {
719
719
  fontSize: "12px",
720
720
  fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
721
721
  fontWeight: 500,
722
- borderRadius: "0 0 6px 6px",
722
+ borderRadius: "6px 6px 0 0",
723
723
  flexWrap: "wrap",
724
724
  position: "relative",
725
725
  zIndex: 1
@@ -920,7 +920,6 @@ function withPersonalizeConnect(WrappedComponent, getConfig = DEFAULT_GET_CONFIG
920
920
  const isPreviewing = previewKey !== null && previewFields !== null;
921
921
  const editingProps = isPreviewing ? { ...props, fields: previewFields } : props;
922
922
  return /* @__PURE__ */ jsxs(Fragment, { children: [
923
- /* @__PURE__ */ jsx2(WrappedComponent, { ...editingProps }),
924
923
  /* @__PURE__ */ jsx2(
925
924
  PreviewBar,
926
925
  {
@@ -929,7 +928,8 @@ function withPersonalizeConnect(WrappedComponent, getConfig = DEFAULT_GET_CONFIG
929
928
  isLoading: previewLoading,
930
929
  onSelect: handlePreviewSelect
931
930
  }
932
- )
931
+ ),
932
+ /* @__PURE__ */ jsx2(WrappedComponent, { ...editingProps })
933
933
  ] });
934
934
  }
935
935
  const mergedProps = resolvedFields ? { ...props, fields: resolvedFields } : props;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "personalize-connect-sdk",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Runtime SDK for Personalize Connect - resolves active experience outcomes and datasources in your rendering host",
5
5
  "author": "Dylan Young",
6
6
  "keywords": [