@dust-tt/sparkle 0.2.146-rc → 0.2.146-rc1

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/cjs/index.js CHANGED
@@ -39794,7 +39794,7 @@ function getEmojiAndBackgroundFromUrl(url) {
39794
39794
  }
39795
39795
  function createEmojiAndBackgroundUrlSuffix(_a) {
39796
39796
  var backgroundColor = _a.backgroundColor, id = _a.id, unified = _a.unified;
39797
- return "/emojis/".concat(backgroundColor, "/").concat(id, "/").concat(unified);
39797
+ return "emojis/".concat(backgroundColor, "/").concat(id, "/").concat(unified);
39798
39798
  }
39799
39799
 
39800
39800
  var utils = /*#__PURE__*/Object.freeze({
@@ -74751,7 +74751,7 @@ var ItemVariantContent = function (_a) {
74751
74751
  var actions = _a.actions, description = _a.description, title = _a.title, pictureUrl = _a.pictureUrl, subtitle = _a.subtitle;
74752
74752
  return (React.createElement(React.Fragment, null,
74753
74753
  React.createElement("div", { className: "s-flex s-items-center s-gap-2" },
74754
- React.createElement(Avatar, { visual: React.createElement("img", { src: pictureUrl, alt: "Avatar of ".concat(title) }), size: "sm" }),
74754
+ React.createElement(Avatar, { name: "Avatar of ".concat(title), visual: pictureUrl, size: "sm" }),
74755
74755
  React.createElement("div", { className: "s-flex s-w-full s-min-w-0 s-flex-col s-items-start s-gap-2" },
74756
74756
  React.createElement("div", { className: "s-flex s-w-full s-min-w-0 s-flex-row s-gap-3" },
74757
74757
  React.createElement("div", { className: "s-flex s-w-full s-min-w-0 s-flex-col s-items-start s-gap-0" },
@@ -74767,7 +74767,7 @@ var ItemVariantContent = function (_a) {
74767
74767
  var ListVariantContent = function (_a) {
74768
74768
  var description = _a.description, title = _a.title, pictureUrl = _a.pictureUrl, subtitle = _a.subtitle;
74769
74769
  return (React.createElement("div", { className: "s-flex s-gap-2" },
74770
- React.createElement(Avatar, { visual: React.createElement("img", { src: pictureUrl, alt: "Avatar of ".concat(title) }), size: "lg" }),
74770
+ React.createElement(Avatar, { name: "Avatar of ".concat(title), visual: pictureUrl, size: "lg" }),
74771
74771
  React.createElement("div", { className: "s-flex s-w-full s-min-w-0 s-flex-col s-items-start s-gap-2" },
74772
74772
  React.createElement("div", { className: "s-flex s-w-full s-min-w-0 s-flex-row s-gap-3" },
74773
74773
  React.createElement("div", { className: "s-flex s-w-full s-min-w-0 s-flex-col s-items-start s-gap-0" },
@@ -74782,7 +74782,7 @@ var ListVariantContent = function (_a) {
74782
74782
  var GalleryVariantContent = function (_a) {
74783
74783
  var renderActions = _a.renderActions, description = _a.description, onPlayClick = _a.onPlayClick, title = _a.title, pictureUrl = _a.pictureUrl, subtitle = _a.subtitle, isHovered = _a.isHovered;
74784
74784
  return (React.createElement("div", { className: "s-flex s-gap-2" },
74785
- React.createElement(Avatar, { visual: React.createElement("img", { src: pictureUrl, alt: "Avatar of ".concat(title) }), size: "lg" }),
74785
+ React.createElement(Avatar, { name: "Avatar of ".concat(title), visual: pictureUrl, size: "lg" }),
74786
74786
  React.createElement("div", { className: "s-flex s-w-full s-min-w-0 s-flex-col s-items-start s-gap-2" },
74787
74787
  React.createElement("div", { className: "s-flex s-w-full s-min-w-0 s-flex-row s-gap-3" },
74788
74788
  React.createElement("div", { className: "s-flex s-w-full s-min-w-0 s-flex-col s-items-start s-gap-0" },