@krak-stack/registry 0.10.4 → 0.10.5
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/CHANGELOG.md
CHANGED
|
@@ -3605,8 +3605,8 @@ var GalleryCard = ({
|
|
|
3605
3605
|
/* @__PURE__ */ jsxs9(CardHeader, {
|
|
3606
3606
|
className: cn("relative", hasRowActionMenu(store) && "pr-12"),
|
|
3607
3607
|
children: [
|
|
3608
|
-
selection || draggable
|
|
3609
|
-
className: "flex
|
|
3608
|
+
selection || draggable ? /* @__PURE__ */ jsxs9("div", {
|
|
3609
|
+
className: "flex items-center gap-2",
|
|
3610
3610
|
children: [
|
|
3611
3611
|
selection ? /* @__PURE__ */ jsx15(Checkbox, {
|
|
3612
3612
|
"aria-label": store.config.labels.selectRow,
|
|
@@ -3617,22 +3617,25 @@ var GalleryCard = ({
|
|
|
3617
3617
|
}) : null,
|
|
3618
3618
|
draggable ? /* @__PURE__ */ jsx15(DragHandle, {
|
|
3619
3619
|
tableAtom
|
|
3620
|
-
}) : null
|
|
3621
|
-
tagIds.map((id) => {
|
|
3622
|
-
const column = find(id);
|
|
3623
|
-
return column ? /* @__PURE__ */ jsx15(GalleryTag, {
|
|
3624
|
-
row,
|
|
3625
|
-
column,
|
|
3626
|
-
locale: store.config.locale,
|
|
3627
|
-
labels: store.config.labels,
|
|
3628
|
-
icon: id === gallery.tag ? gallery.tagIcon : undefined
|
|
3629
|
-
}, id) : null;
|
|
3630
|
-
})
|
|
3620
|
+
}) : null
|
|
3631
3621
|
]
|
|
3632
3622
|
}) : null,
|
|
3633
3623
|
/* @__PURE__ */ jsx15(CardTitle, {
|
|
3634
3624
|
children: name ? renderCell(row, name, store.config.locale, store.config.labels) : row.id
|
|
3635
3625
|
}),
|
|
3626
|
+
tagIds.length ? /* @__PURE__ */ jsx15("div", {
|
|
3627
|
+
className: "flex flex-wrap items-center gap-2",
|
|
3628
|
+
children: tagIds.map((id) => {
|
|
3629
|
+
const column = find(id);
|
|
3630
|
+
return column ? /* @__PURE__ */ jsx15(GalleryTag, {
|
|
3631
|
+
row,
|
|
3632
|
+
column,
|
|
3633
|
+
locale: store.config.locale,
|
|
3634
|
+
labels: store.config.labels,
|
|
3635
|
+
icon: id === gallery.tag ? gallery.tagIcon : undefined
|
|
3636
|
+
}, id) : null;
|
|
3637
|
+
})
|
|
3638
|
+
}) : null,
|
|
3636
3639
|
description ? /* @__PURE__ */ jsx15("div", {
|
|
3637
3640
|
className: "text-muted-foreground line-clamp-3 text-sm",
|
|
3638
3641
|
children: renderCell(row, description, store.config.locale, store.config.labels)
|
|
@@ -3605,8 +3605,8 @@ var GalleryCard = ({
|
|
|
3605
3605
|
/* @__PURE__ */ jsxs9(CardHeader, {
|
|
3606
3606
|
className: cn("relative", hasRowActionMenu(store) && "pr-12"),
|
|
3607
3607
|
children: [
|
|
3608
|
-
selection || draggable
|
|
3609
|
-
className: "flex
|
|
3608
|
+
selection || draggable ? /* @__PURE__ */ jsxs9("div", {
|
|
3609
|
+
className: "flex items-center gap-2",
|
|
3610
3610
|
children: [
|
|
3611
3611
|
selection ? /* @__PURE__ */ jsx15(Checkbox, {
|
|
3612
3612
|
"aria-label": store.config.labels.selectRow,
|
|
@@ -3617,22 +3617,25 @@ var GalleryCard = ({
|
|
|
3617
3617
|
}) : null,
|
|
3618
3618
|
draggable ? /* @__PURE__ */ jsx15(DragHandle, {
|
|
3619
3619
|
tableAtom
|
|
3620
|
-
}) : null
|
|
3621
|
-
tagIds.map((id) => {
|
|
3622
|
-
const column = find(id);
|
|
3623
|
-
return column ? /* @__PURE__ */ jsx15(GalleryTag, {
|
|
3624
|
-
row,
|
|
3625
|
-
column,
|
|
3626
|
-
locale: store.config.locale,
|
|
3627
|
-
labels: store.config.labels,
|
|
3628
|
-
icon: id === gallery.tag ? gallery.tagIcon : undefined
|
|
3629
|
-
}, id) : null;
|
|
3630
|
-
})
|
|
3620
|
+
}) : null
|
|
3631
3621
|
]
|
|
3632
3622
|
}) : null,
|
|
3633
3623
|
/* @__PURE__ */ jsx15(CardTitle, {
|
|
3634
3624
|
children: name ? renderCell(row, name, store.config.locale, store.config.labels) : row.id
|
|
3635
3625
|
}),
|
|
3626
|
+
tagIds.length ? /* @__PURE__ */ jsx15("div", {
|
|
3627
|
+
className: "flex flex-wrap items-center gap-2",
|
|
3628
|
+
children: tagIds.map((id) => {
|
|
3629
|
+
const column = find(id);
|
|
3630
|
+
return column ? /* @__PURE__ */ jsx15(GalleryTag, {
|
|
3631
|
+
row,
|
|
3632
|
+
column,
|
|
3633
|
+
locale: store.config.locale,
|
|
3634
|
+
labels: store.config.labels,
|
|
3635
|
+
icon: id === gallery.tag ? gallery.tagIcon : undefined
|
|
3636
|
+
}, id) : null;
|
|
3637
|
+
})
|
|
3638
|
+
}) : null,
|
|
3636
3639
|
description ? /* @__PURE__ */ jsx15("div", {
|
|
3637
3640
|
className: "text-muted-foreground line-clamp-3 text-sm",
|
|
3638
3641
|
children: renderCell(row, description, store.config.locale, store.config.labels)
|
|
@@ -3609,8 +3609,8 @@ var GalleryCard = ({
|
|
|
3609
3609
|
/* @__PURE__ */ jsxs9(CardHeader, {
|
|
3610
3610
|
className: cn("relative", hasRowActionMenu(store) && "pr-12"),
|
|
3611
3611
|
children: [
|
|
3612
|
-
selection || draggable
|
|
3613
|
-
className: "flex
|
|
3612
|
+
selection || draggable ? /* @__PURE__ */ jsxs9("div", {
|
|
3613
|
+
className: "flex items-center gap-2",
|
|
3614
3614
|
children: [
|
|
3615
3615
|
selection ? /* @__PURE__ */ jsx15(Checkbox, {
|
|
3616
3616
|
"aria-label": store.config.labels.selectRow,
|
|
@@ -3621,22 +3621,25 @@ var GalleryCard = ({
|
|
|
3621
3621
|
}) : null,
|
|
3622
3622
|
draggable ? /* @__PURE__ */ jsx15(DragHandle, {
|
|
3623
3623
|
tableAtom
|
|
3624
|
-
}) : null
|
|
3625
|
-
tagIds.map((id) => {
|
|
3626
|
-
const column = find(id);
|
|
3627
|
-
return column ? /* @__PURE__ */ jsx15(GalleryTag, {
|
|
3628
|
-
row,
|
|
3629
|
-
column,
|
|
3630
|
-
locale: store.config.locale,
|
|
3631
|
-
labels: store.config.labels,
|
|
3632
|
-
icon: id === gallery.tag ? gallery.tagIcon : undefined
|
|
3633
|
-
}, id) : null;
|
|
3634
|
-
})
|
|
3624
|
+
}) : null
|
|
3635
3625
|
]
|
|
3636
3626
|
}) : null,
|
|
3637
3627
|
/* @__PURE__ */ jsx15(CardTitle, {
|
|
3638
3628
|
children: name ? renderCell(row, name, store.config.locale, store.config.labels) : row.id
|
|
3639
3629
|
}),
|
|
3630
|
+
tagIds.length ? /* @__PURE__ */ jsx15("div", {
|
|
3631
|
+
className: "flex flex-wrap items-center gap-2",
|
|
3632
|
+
children: tagIds.map((id) => {
|
|
3633
|
+
const column = find(id);
|
|
3634
|
+
return column ? /* @__PURE__ */ jsx15(GalleryTag, {
|
|
3635
|
+
row,
|
|
3636
|
+
column,
|
|
3637
|
+
locale: store.config.locale,
|
|
3638
|
+
labels: store.config.labels,
|
|
3639
|
+
icon: id === gallery.tag ? gallery.tagIcon : undefined
|
|
3640
|
+
}, id) : null;
|
|
3641
|
+
})
|
|
3642
|
+
}) : null,
|
|
3640
3643
|
description ? /* @__PURE__ */ jsx15("div", {
|
|
3641
3644
|
className: "text-muted-foreground line-clamp-3 text-sm",
|
|
3642
3645
|
children: renderCell(row, description, store.config.locale, store.config.labels)
|