@uniformdev/mesh-sdk-react 19.190.1-alpha.3 → 19.191.0

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 CHANGED
@@ -6498,7 +6498,8 @@ var ObjectListItemHeadingGroup = css32`
6498
6498
  `;
6499
6499
  var ObjectListItemThumbnail = css32`
6500
6500
  width: 30px;
6501
- object-fit: contain;
6501
+ height: 30px;
6502
+ object-fit: cover;
6502
6503
  `;
6503
6504
  var ObjectListItemTitle = css32`
6504
6505
  color: var(--typography-base);
@@ -6569,7 +6570,15 @@ var ObjectSearchListItem = ({
6569
6570
  css: ObjectListItemControlledContent,
6570
6571
  "aria-disabled": disabled,
6571
6572
  children: [
6572
- !imageUrl ? null : /* @__PURE__ */ jsx60("img", { src: imageUrl, alt: `Thumbnail for ${title}`, css: ObjectListItemThumbnail }),
6573
+ !imageUrl ? null : /* @__PURE__ */ jsx60(
6574
+ "img",
6575
+ {
6576
+ src: imageUrl,
6577
+ alt: `Thumbnail for ${title}`,
6578
+ css: ObjectListItemThumbnail,
6579
+ loading: "lazy"
6580
+ }
6581
+ ),
6573
6582
  !image || imageUrl ? null : /* @__PURE__ */ jsx60("img", { ...image, loading: (image == null ? void 0 : image.width) && image.height ? "lazy" : "eager" }),
6574
6583
  /* @__PURE__ */ jsxs34("div", { role: "heading", css: ObjectListItemHeadingGroup, children: [
6575
6584
  !contentType ? null : /* @__PURE__ */ jsx60("span", { css: ObjectListItemSubtitle, children: formatedContentType }),
@@ -6898,7 +6907,8 @@ var ObjectSearchContentContainer = css36`
6898
6907
  `;
6899
6908
  var ObjectSearchImage = css36`
6900
6909
  width: 56px;
6901
- object-fit: contain;
6910
+ height: 56px;
6911
+ object-fit: cover;
6902
6912
  `;
6903
6913
 
6904
6914
  // src/components/ObjectSearch/ObjectSearchResultItem.tsx
@@ -6929,7 +6939,15 @@ var ObjectSearchResultItem = ({
6929
6939
  return /* @__PURE__ */ jsxs39("div", { css: ObjectSearchResultItemContainer, "data-testid": "search-result-item", children: [
6930
6940
  disableDnD ? null : /* @__PURE__ */ jsx65("div", { role: "presentation", className: "drag-handle", css: ObjectSearchDragHandle }),
6931
6941
  /* @__PURE__ */ jsx65("div", { children: /* @__PURE__ */ jsxs39("div", { css: ObjectSearchContentContainer, children: [
6932
- !imageUrl ? null : /* @__PURE__ */ jsx65("img", { src: imageUrl, alt: `Thumbnail for ${title}`, css: ObjectSearchImage }),
6942
+ !imageUrl ? null : /* @__PURE__ */ jsx65(
6943
+ "img",
6944
+ {
6945
+ src: imageUrl,
6946
+ alt: `Thumbnail for ${title}`,
6947
+ css: ObjectSearchImage,
6948
+ loading: "lazy"
6949
+ }
6950
+ ),
6933
6951
  /* @__PURE__ */ jsxs39("div", { children: [
6934
6952
  /* @__PURE__ */ jsx65("span", { css: ObjectSearchResultItemSubtitle, "data-testid": "sub-title", children: formatedContentType }),
6935
6953
  /* @__PURE__ */ jsxs39("span", { role: "heading", css: ObjectSearchResultItemTitle, "data-testid": "title", children: [
package/dist/index.js CHANGED
@@ -6656,7 +6656,8 @@ var ObjectListItemHeadingGroup = import_react67.css`
6656
6656
  `;
6657
6657
  var ObjectListItemThumbnail = import_react67.css`
6658
6658
  width: 30px;
6659
- object-fit: contain;
6659
+ height: 30px;
6660
+ object-fit: cover;
6660
6661
  `;
6661
6662
  var ObjectListItemTitle = import_react67.css`
6662
6663
  color: var(--typography-base);
@@ -6727,7 +6728,15 @@ var ObjectSearchListItem = ({
6727
6728
  css: ObjectListItemControlledContent,
6728
6729
  "aria-disabled": disabled,
6729
6730
  children: [
6730
- !imageUrl ? null : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("img", { src: imageUrl, alt: `Thumbnail for ${title}`, css: ObjectListItemThumbnail }),
6731
+ !imageUrl ? null : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6732
+ "img",
6733
+ {
6734
+ src: imageUrl,
6735
+ alt: `Thumbnail for ${title}`,
6736
+ css: ObjectListItemThumbnail,
6737
+ loading: "lazy"
6738
+ }
6739
+ ),
6731
6740
  !image || imageUrl ? null : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("img", { ...image, loading: (image == null ? void 0 : image.width) && image.height ? "lazy" : "eager" }),
6732
6741
  /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { role: "heading", css: ObjectListItemHeadingGroup, children: [
6733
6742
  !contentType ? null : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { css: ObjectListItemSubtitle, children: formatedContentType }),
@@ -7056,7 +7065,8 @@ var ObjectSearchContentContainer = import_react72.css`
7056
7065
  `;
7057
7066
  var ObjectSearchImage = import_react72.css`
7058
7067
  width: 56px;
7059
- object-fit: contain;
7068
+ height: 56px;
7069
+ object-fit: cover;
7060
7070
  `;
7061
7071
 
7062
7072
  // src/components/ObjectSearch/ObjectSearchResultItem.tsx
@@ -7087,7 +7097,15 @@ var ObjectSearchResultItem = ({
7087
7097
  return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { css: ObjectSearchResultItemContainer, "data-testid": "search-result-item", children: [
7088
7098
  disableDnD ? null : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { role: "presentation", className: "drag-handle", css: ObjectSearchDragHandle }),
7089
7099
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { css: ObjectSearchContentContainer, children: [
7090
- !imageUrl ? null : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("img", { src: imageUrl, alt: `Thumbnail for ${title}`, css: ObjectSearchImage }),
7100
+ !imageUrl ? null : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
7101
+ "img",
7102
+ {
7103
+ src: imageUrl,
7104
+ alt: `Thumbnail for ${title}`,
7105
+ css: ObjectSearchImage,
7106
+ loading: "lazy"
7107
+ }
7108
+ ),
7091
7109
  /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { children: [
7092
7110
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { css: ObjectSearchResultItemSubtitle, "data-testid": "sub-title", children: formatedContentType }),
7093
7111
  /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("span", { role: "heading", css: ObjectSearchResultItemTitle, "data-testid": "title", children: [
package/dist/index.mjs CHANGED
@@ -6498,7 +6498,8 @@ var ObjectListItemHeadingGroup = css32`
6498
6498
  `;
6499
6499
  var ObjectListItemThumbnail = css32`
6500
6500
  width: 30px;
6501
- object-fit: contain;
6501
+ height: 30px;
6502
+ object-fit: cover;
6502
6503
  `;
6503
6504
  var ObjectListItemTitle = css32`
6504
6505
  color: var(--typography-base);
@@ -6569,7 +6570,15 @@ var ObjectSearchListItem = ({
6569
6570
  css: ObjectListItemControlledContent,
6570
6571
  "aria-disabled": disabled,
6571
6572
  children: [
6572
- !imageUrl ? null : /* @__PURE__ */ jsx60("img", { src: imageUrl, alt: `Thumbnail for ${title}`, css: ObjectListItemThumbnail }),
6573
+ !imageUrl ? null : /* @__PURE__ */ jsx60(
6574
+ "img",
6575
+ {
6576
+ src: imageUrl,
6577
+ alt: `Thumbnail for ${title}`,
6578
+ css: ObjectListItemThumbnail,
6579
+ loading: "lazy"
6580
+ }
6581
+ ),
6573
6582
  !image || imageUrl ? null : /* @__PURE__ */ jsx60("img", { ...image, loading: (image == null ? void 0 : image.width) && image.height ? "lazy" : "eager" }),
6574
6583
  /* @__PURE__ */ jsxs34("div", { role: "heading", css: ObjectListItemHeadingGroup, children: [
6575
6584
  !contentType ? null : /* @__PURE__ */ jsx60("span", { css: ObjectListItemSubtitle, children: formatedContentType }),
@@ -6898,7 +6907,8 @@ var ObjectSearchContentContainer = css36`
6898
6907
  `;
6899
6908
  var ObjectSearchImage = css36`
6900
6909
  width: 56px;
6901
- object-fit: contain;
6910
+ height: 56px;
6911
+ object-fit: cover;
6902
6912
  `;
6903
6913
 
6904
6914
  // src/components/ObjectSearch/ObjectSearchResultItem.tsx
@@ -6929,7 +6939,15 @@ var ObjectSearchResultItem = ({
6929
6939
  return /* @__PURE__ */ jsxs39("div", { css: ObjectSearchResultItemContainer, "data-testid": "search-result-item", children: [
6930
6940
  disableDnD ? null : /* @__PURE__ */ jsx65("div", { role: "presentation", className: "drag-handle", css: ObjectSearchDragHandle }),
6931
6941
  /* @__PURE__ */ jsx65("div", { children: /* @__PURE__ */ jsxs39("div", { css: ObjectSearchContentContainer, children: [
6932
- !imageUrl ? null : /* @__PURE__ */ jsx65("img", { src: imageUrl, alt: `Thumbnail for ${title}`, css: ObjectSearchImage }),
6942
+ !imageUrl ? null : /* @__PURE__ */ jsx65(
6943
+ "img",
6944
+ {
6945
+ src: imageUrl,
6946
+ alt: `Thumbnail for ${title}`,
6947
+ css: ObjectSearchImage,
6948
+ loading: "lazy"
6949
+ }
6950
+ ),
6933
6951
  /* @__PURE__ */ jsxs39("div", { children: [
6934
6952
  /* @__PURE__ */ jsx65("span", { css: ObjectSearchResultItemSubtitle, "data-testid": "sub-title", children: formatedContentType }),
6935
6953
  /* @__PURE__ */ jsxs39("span", { role: "heading", css: ObjectSearchResultItemTitle, "data-testid": "title", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.190.1-alpha.3+0f998ae81e",
3
+ "version": "19.191.0",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -50,10 +50,10 @@
50
50
  "@lexical/selection": "0.17.1",
51
51
  "@lexical/utils": "0.17.1",
52
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.2.1/react-icons-all-files-5.2.1.tgz",
53
- "@uniformdev/canvas": "19.190.1-alpha.3+0f998ae81e",
54
- "@uniformdev/design-system": "19.190.1-alpha.3+0f998ae81e",
55
- "@uniformdev/mesh-sdk": "19.190.1-alpha.3+0f998ae81e",
56
- "@uniformdev/richtext": "19.190.1-alpha.3+0f998ae81e",
53
+ "@uniformdev/canvas": "19.191.0",
54
+ "@uniformdev/design-system": "19.191.0",
55
+ "@uniformdev/mesh-sdk": "19.191.0",
56
+ "@uniformdev/richtext": "19.191.0",
57
57
  "dequal": "^2.0.3",
58
58
  "lexical": "0.17.1",
59
59
  "mitt": "3.0.1",
@@ -87,5 +87,5 @@
87
87
  "publishConfig": {
88
88
  "access": "public"
89
89
  },
90
- "gitHead": "0f998ae81e331076b7d2c7339cdfaf5e82e75bd9"
90
+ "gitHead": "5af19bc55804e29fda14eb6f0b4b7bd90be0610f"
91
91
  }