@srcroot/ui 0.0.40 → 0.0.42
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/index.js +3 -3
- package/package.json +1 -1
- package/src/registry/ui/chart.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -641,13 +641,13 @@ var REGISTRY = {
|
|
|
641
641
|
file: "ui/combobox.tsx",
|
|
642
642
|
description: "Searchable select with autocomplete",
|
|
643
643
|
category: "Forms",
|
|
644
|
-
dependencies: ["popover"]
|
|
644
|
+
dependencies: ["popover", "command", "button", "badge"]
|
|
645
645
|
},
|
|
646
646
|
command: {
|
|
647
647
|
file: "ui/command.tsx",
|
|
648
648
|
description: "Command palette / search menu",
|
|
649
649
|
category: "Navigation",
|
|
650
|
-
dependencies: []
|
|
650
|
+
dependencies: ["dialog"]
|
|
651
651
|
},
|
|
652
652
|
"context-menu": {
|
|
653
653
|
file: "ui/context-menu.tsx",
|
|
@@ -671,7 +671,7 @@ var REGISTRY = {
|
|
|
671
671
|
file: "ui/file-upload.tsx",
|
|
672
672
|
description: "Drag-and-drop file upload",
|
|
673
673
|
category: "Forms",
|
|
674
|
-
dependencies: []
|
|
674
|
+
dependencies: ["button"]
|
|
675
675
|
},
|
|
676
676
|
"hover-card": {
|
|
677
677
|
file: "ui/hover-card.tsx",
|
package/package.json
CHANGED
|
@@ -188,7 +188,7 @@ const ChartTooltipContent = React.forwardRef<
|
|
|
188
188
|
|
|
189
189
|
return (
|
|
190
190
|
<div
|
|
191
|
-
key={item.dataKey}
|
|
191
|
+
key={item.dataKey || item.name || index}
|
|
192
192
|
className={cn(
|
|
193
193
|
"flex items-center gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
|
|
194
194
|
indicator === "dot" && "items-center"
|