@dust-tt/sparkle 0.2.255 → 0.2.256

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.
Files changed (41) hide show
  1. package/dist/cjs/index.js +11 -2
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/esm/components/Tree.js +1 -1
  4. package/dist/esm/components/Tree.js.map +1 -1
  5. package/dist/esm/icons/solid/Dot.d.ts +5 -0
  6. package/dist/esm/icons/solid/Dot.d.ts.map +1 -0
  7. package/dist/esm/icons/solid/Dot.js +6 -0
  8. package/dist/esm/icons/solid/Dot.js.map +1 -0
  9. package/dist/esm/icons/solid/MagnifyingGlass.d.ts.map +1 -1
  10. package/dist/esm/icons/solid/MagnifyingGlass.js +2 -1
  11. package/dist/esm/icons/solid/MagnifyingGlass.js.map +1 -1
  12. package/dist/esm/icons/solid/index.d.ts +1 -0
  13. package/dist/esm/icons/solid/index.d.ts.map +1 -1
  14. package/dist/esm/icons/solid/index.js +1 -0
  15. package/dist/esm/icons/solid/index.js.map +1 -1
  16. package/dist/esm/icons/src/solid/dot.svg +3 -0
  17. package/dist/esm/icons/src/solid/magnifying-glass.svg +2 -1
  18. package/dist/esm/icons/src/stroke/dot.svg +3 -0
  19. package/dist/esm/icons/stroke/Dot.d.ts +5 -0
  20. package/dist/esm/icons/stroke/Dot.d.ts.map +1 -0
  21. package/dist/esm/icons/stroke/Dot.js +6 -0
  22. package/dist/esm/icons/stroke/Dot.js.map +1 -0
  23. package/dist/esm/icons/stroke/index.d.ts +1 -0
  24. package/dist/esm/icons/stroke/index.d.ts.map +1 -1
  25. package/dist/esm/icons/stroke/index.js +1 -0
  26. package/dist/esm/icons/stroke/index.js.map +1 -1
  27. package/dist/esm/stories/Tree.stories.d.ts.map +1 -1
  28. package/dist/esm/stories/Tree.stories.js +4 -3
  29. package/dist/esm/stories/Tree.stories.js.map +1 -1
  30. package/dist/sparkle.css +98 -0
  31. package/package.json +2 -1
  32. package/src/components/Tree.tsx +5 -1
  33. package/src/icons/solid/Dot.tsx +15 -0
  34. package/src/icons/solid/MagnifyingGlass.tsx +7 -1
  35. package/src/icons/solid/index.ts +1 -0
  36. package/src/icons/src/solid/dot.svg +3 -0
  37. package/src/icons/src/solid/magnifying-glass.svg +2 -1
  38. package/src/icons/src/stroke/dot.svg +3 -0
  39. package/src/icons/stroke/Dot.tsx +20 -0
  40. package/src/icons/stroke/index.ts +1 -0
  41. package/src/stories/Tree.stories.tsx +12 -2
package/dist/cjs/index.js CHANGED
@@ -295,6 +295,9 @@ var SvgDocumentText$1 = function (props) { return (React__namespace.createElemen
295
295
  React__namespace.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M20 9v13H4V2h9v7h7ZM8 7v2h3V7H8Zm0 4v2h8v-2H8Zm0 4v2h8v-2H8Z", clipRule: "evenodd" }),
296
296
  React__namespace.createElement("path", { fill: "currentColor", d: "M20 7h-5V2.003L20 7Z" }))); };
297
297
 
298
+ var SvgDot$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
299
+ React__namespace.createElement("path", { fill: "currentColor", d: "M12 16a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z" }))); };
300
+
298
301
  var SvgDust$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
299
302
  React__namespace.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12 7a5 5 0 0 0-5-5H2v10h4.998A2.5 2.5 0 0 0 7 17H2v5h5a2.5 2.5 0 0 0 0-5h5v5h5v-5h5v-5h-5a5 5 0 0 0 5-5V2H12v5Zm-5 3a3 3 0 0 0 0-6v6Zm7-3a3 3 0 1 0 6 0h-6Zm-2 0a5 5 0 0 0 5 5H7a5 5 0 0 0 5-5Z", clipRule: "evenodd" }))); };
300
303
 
@@ -410,7 +413,8 @@ var SvgMagic$1 = function (props) { return (React__namespace.createElement("svg"
410
413
  React__namespace.createElement("path", { fill: "currentColor", d: "m16.02 17.435 1.415-1.414 4.242 4.242-1.414 1.415-4.242-4.243ZM4.364 4.657l4.984 1.058a2 2 0 0 0 1.394-.213l4.61-2.586.354 5.028a2 2 0 0 0 .677 1.363l4.019 3.522-4.83 1.912a2 2 0 0 0-1.123 1.123l-1.913 4.83-3.522-4.018a2 2 0 0 0-1.363-.677l-5.028-.355 2.586-4.61a2 2 0 0 0 .213-1.393L4.364 4.657Z" }))); };
411
414
 
412
415
  var SvgMagnifyingGlass$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
413
- React__namespace.createElement("path", { fill: "currentColor", d: "M11 2c4.968 0 9 4.032 9 9s-4.032 9-9 9-9-4.032-9-9 4.032-9 9-9Zm8.485 16.071 2.829 2.828-1.415 1.415-2.828-2.829 1.414-1.414Z" }))); };
416
+ React__namespace.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M17.364 17.364A9 9 0 1 1 4.636 4.636a9 9 0 0 1 12.728 12.728Zm-2.121-2.121a6 6 0 1 1-8.486-8.485 6 6 0 0 1 8.486 8.485Z", clipRule: "evenodd" }),
417
+ React__namespace.createElement("path", { fill: "currentColor", d: "m22.374 20.253-3.535-3.535-2.121 2.12 3.535 3.536 2.121-2.121Z" }))); };
414
418
 
415
419
  var SvgMarkPen$1 = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
416
420
  React__namespace.createElement("path", { fill: "currentColor", d: "m15.95 2.39 5.657 5.657a1 1 0 0 1 0 1.414l-7.778 7.778-2.122.707-1.414 1.415a1 1 0 0 1-1.414 0l-4.243-4.243a1 1 0 0 1 0-1.414L6.05 12.29l.707-2.122 7.779-7.778a1 1 0 0 1 1.414 0Zm.707 3.536-6.364 6.364 1.414 1.414 6.364-6.364-1.414-1.414ZM4.283 16.886l2.828 2.828-1.414 1.415-4.243-1.415 2.829-2.828Z" }))); };
@@ -75745,6 +75749,9 @@ var SvgDocumentText = function (props) { return (React__namespace.createElement(
75745
75749
  React__namespace.createElement("path", { fill: "currentColor", d: "M8 7h3v2H8V7ZM8 11h8v2H8v-2ZM8 15h8v2H8v-2Z" }),
75746
75750
  React__namespace.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M20 8v14H4V2h9.997L20 8Zm-2 1h-5V4H6v16h12V9Z", clipRule: "evenodd" }))); };
75747
75751
 
75752
+ var SvgDot = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
75753
+ React__namespace.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm4-2a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z", clipRule: "evenodd" }))); };
75754
+
75748
75755
  var SvgDust = function (props) { return (React__namespace.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),
75749
75756
  React__namespace.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M7 2a5 5 0 0 1 0 10h15v5h-5v5h-5v-5H7a2.5 2.5 0 0 1-.002-5H2V2h5Zm3 5a3 3 0 0 1-3 3H4V4h3a3 3 0 0 1 3 3Zm-3 7a.5.5 0 0 0 0 1h7v6h1v-6h5v-1H7Z", clipRule: "evenodd" }),
75750
75757
  React__namespace.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M7 17a2.5 2.5 0 0 1 0 5H2v-5h5Zm-3 2h3a.5.5 0 0 1 0 1H4v-1ZM17 12a5 5 0 0 0 5-5V2H12v5a5 5 0 0 0 5 5Zm-3-5a3 3 0 1 0 6 0V4h-6v3Z", clipRule: "evenodd" }))); };
@@ -132694,7 +132701,7 @@ Tree.Item = function (_a) {
132694
132701
  };
132695
132702
  Tree.Empty = function (_a) {
132696
132703
  var label = _a.label;
132697
- return React.createElement("div", { className: "s-pl-4 s-text-sm s-text-element-600" }, label);
132704
+ return (React.createElement("div", { className: "s-py-1 s-pl-6 s-text-sm s-font-medium s-text-element-700" }, label));
132698
132705
  };
132699
132706
 
132700
132707
  function ZoomableImageCitationWrapper(_a) {
@@ -133029,6 +133036,8 @@ exports.DocumentPlusStrokeIcon = SvgDocumentPlus;
133029
133036
  exports.DocumentStrokeIcon = SvgDocument;
133030
133037
  exports.DocumentTextIcon = SvgDocumentText$1;
133031
133038
  exports.DocumentTextStrokeIcon = SvgDocumentText;
133039
+ exports.DotIcon = SvgDot$1;
133040
+ exports.DotStrokeIcon = SvgDot;
133032
133041
  exports.DriveLogo = SvgDrive;
133033
133042
  exports.DropdownMenu = DropdownMenu;
133034
133043
  exports.DropzoneOverlay = DropzoneOverlay;