@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/cjs/index.js CHANGED
@@ -74892,7 +74892,7 @@ function PaginatedCitationsGrid(_a) {
74892
74892
  var totalPages = Math.ceil(items.length / maxItemsPerPage);
74893
74893
  return (React.createElement("div", { className: "s-flex s-w-full s-flex-col" },
74894
74894
  React.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) {
74895
- return (React.createElement(Citation, { size: "xs", sizing: "fluid", key: idx, title: d.title, type: d.type, href: d.href }));
74895
+ return (React.createElement(Citation, { size: "xs", sizing: "fluid", key: idx, description: d.description, href: d.href, title: d.title, type: d.type }));
74896
74896
  })),
74897
74897
  React.createElement("div", { className: "s-mt-4 s-flex s-justify-end" },
74898
74898
  React.createElement("span", null,