@dust-tt/sparkle 0.2.164-rc1 → 0.2.164

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.
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  import { CitationType } from "@sparkle/components/Citation";
3
3
  interface CitationItem {
4
+ description?: string;
4
5
  title: string;
5
6
  type: CitationType;
6
7
  href: string;
package/dist/esm/index.js CHANGED
@@ -74872,7 +74872,7 @@ function PaginatedCitationsGrid(_a) {
74872
74872
  var totalPages = Math.ceil(items.length / maxItemsPerPage);
74873
74873
  return (React__default.createElement("div", { className: "s-flex s-w-full s-flex-col" },
74874
74874
  React__default.createElement("div", { className: classNames("s-grid s-w-full s-gap-2 s-overflow-x-hidden s-py-1", "s-grid-cols-".concat(cols), "s-grid-rows-".concat(rows)) }, paginatedItems.map(function (d, idx) {
74875
- return (React__default.createElement(Citation, { size: "xs", sizing: "fluid", key: idx, title: d.title, type: d.type, href: d.href }));
74875
+ return (React__default.createElement(Citation, { size: "xs", sizing: "fluid", key: idx, description: d.description, href: d.href, title: d.title, type: d.type }));
74876
74876
  })),
74877
74877
  React__default.createElement("div", { className: "s-mt-4 s-flex s-justify-end" },
74878
74878
  React__default.createElement("span", null,