@dust-tt/sparkle 0.2.472 → 0.2.473

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.
@@ -67,7 +67,7 @@ export function Tree({
67
67
  className={cn(
68
68
  "s-flex s-flex-col s-gap-0.5 s-overflow-hidden",
69
69
  isBoxed &&
70
- "s-rounded-xl s-border s-border-border s-bg-muted-background s-p-4 dark:s-border-border-night dark:s-bg-muted-background-night",
70
+ "s-rounded-xl s-border s-border-border s-bg-muted-background s-px-3 s-py-2 dark:s-border-border-night dark:s-bg-muted-background-night",
71
71
  className
72
72
  )}
73
73
  >
@@ -235,7 +235,7 @@ Tree.Item = React.forwardRef<
235
235
  {type === "node" && (
236
236
  <Button
237
237
  icon={isExpanded ? ArrowDownSIcon : ArrowRightSIcon}
238
- size="xs"
238
+ size="xmini"
239
239
  variant="ghost-secondary"
240
240
  disabled={!effectiveOnChevronClick}
241
241
  onClick={(e) => {
@@ -313,7 +313,7 @@ Tree.Empty = function ({ label, onItemClick }: TreeEmptyProps) {
313
313
  return (
314
314
  <div
315
315
  className={cn(
316
- "s-font-regular s-py-1.5 s-pl-6 s-text-sm",
316
+ "s-copy-sm s-py-1.5 s-pl-6 s-italic",
317
317
  "s-text-muted-foreground dark:s-text-muted-foreground-night",
318
318
  onItemClick ? "s-cursor-pointer" : ""
319
319
  )}