unifyedx-storybook-new 0.1.55 → 0.1.56
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.
|
@@ -45190,12 +45190,8 @@ li.e-separator.e-menu-item.e-excel-separator {
|
|
|
45190
45190
|
}
|
|
45191
45191
|
|
|
45192
45192
|
.native-radiogroup-container {
|
|
45193
|
-
|
|
45194
|
-
border: 1px solid #e5e7eb;
|
|
45195
|
-
border-radius: .5rem;
|
|
45196
|
-
flex-direction: column;
|
|
45193
|
+
flex-direction: row;
|
|
45197
45194
|
gap: 1rem;
|
|
45198
|
-
padding: 1rem;
|
|
45199
45195
|
display: flex;
|
|
45200
45196
|
}
|
|
45201
45197
|
|
|
@@ -49435,12 +49431,8 @@ body.toast-backdrop #ui-toast-backdrop {
|
|
|
49435
49431
|
/* --- ✅ NEW: Native Radio Group Story Styles --- */
|
|
49436
49432
|
.native-radiogroup-container {
|
|
49437
49433
|
display: flex;
|
|
49438
|
-
flex-direction:
|
|
49434
|
+
flex-direction: row;
|
|
49439
49435
|
gap: 1rem;
|
|
49440
|
-
padding: 1rem;
|
|
49441
|
-
border: 1px solid #e5e7eb; /* gray-200 */
|
|
49442
|
-
border-radius: 0.5rem;
|
|
49443
|
-
background-color: #f9fafb; /* gray-50 */
|
|
49444
49436
|
}
|
|
49445
49437
|
|
|
49446
49438
|
.native-radio-option {
|
|
@@ -76556,35 +76556,29 @@ const ManageCollectionList = ({
|
|
|
76556
76556
|
(item) => item.categoryName?.toLowerCase().includes(searchValue.toLowerCase())
|
|
76557
76557
|
) : [];
|
|
76558
76558
|
return /* @__PURE__ */ jsxs("div", { className: `manage-collection-list ${className}`, children: [
|
|
76559
|
-
/* @__PURE__ */ jsxs("div", { className: "flex", children: [
|
|
76560
|
-
/* @__PURE__ */
|
|
76561
|
-
|
|
76562
|
-
|
|
76563
|
-
|
|
76564
|
-
|
|
76565
|
-
|
|
76566
|
-
|
|
76567
|
-
|
|
76568
|
-
|
|
76569
|
-
|
|
76570
|
-
|
|
76571
|
-
|
|
76572
|
-
|
|
76573
|
-
|
|
76574
|
-
|
|
76575
|
-
"
|
|
76576
|
-
|
|
76577
|
-
|
|
76578
|
-
|
|
76579
|
-
|
|
76580
|
-
|
|
76581
|
-
|
|
76582
|
-
disabled: editingId !== null,
|
|
76583
|
-
children: "Add a Collection"
|
|
76584
|
-
}
|
|
76585
|
-
)
|
|
76586
|
-
] })
|
|
76587
|
-
] }),
|
|
76559
|
+
/* @__PURE__ */ jsx("div", { className: "flex", children: /* @__PURE__ */ jsxs("div", { className: "w-1/2 flex justify-end", children: [
|
|
76560
|
+
showSearch && /* @__PURE__ */ jsx(
|
|
76561
|
+
SearchBar,
|
|
76562
|
+
{
|
|
76563
|
+
value: searchValue,
|
|
76564
|
+
onDebouncedChange: setSearchValue,
|
|
76565
|
+
placeholder: "Search Collection",
|
|
76566
|
+
customClass: "mr-4"
|
|
76567
|
+
}
|
|
76568
|
+
),
|
|
76569
|
+
allowAdd && /* @__PURE__ */ jsx(
|
|
76570
|
+
"button",
|
|
76571
|
+
{
|
|
76572
|
+
className: [
|
|
76573
|
+
"px-4 py-3 bg-black text-white rounded-2xl ml-4",
|
|
76574
|
+
editingId !== null ? "opacity-60 cursor-not-allowed" : "cursor-pointer"
|
|
76575
|
+
].join(" "),
|
|
76576
|
+
onClick: startAdd,
|
|
76577
|
+
disabled: editingId !== null,
|
|
76578
|
+
children: "Add a Collection"
|
|
76579
|
+
}
|
|
76580
|
+
)
|
|
76581
|
+
] }) }),
|
|
76588
76582
|
/* @__PURE__ */ jsx("div", { className: "mt-5 flex flex-col", children: filteredData.map((item) => {
|
|
76589
76583
|
const isEditing = editingId === item.id;
|
|
76590
76584
|
const linkCount = item?.links?.length ?? 0;
|
|
@@ -76691,7 +76685,7 @@ const ManageCollectionList = ({
|
|
|
76691
76685
|
const ManageCollectionListRenderer = ({ item, data, updateHandler }) => {
|
|
76692
76686
|
const {
|
|
76693
76687
|
label = "Manage Collections",
|
|
76694
|
-
description = "
|
|
76688
|
+
description = "",
|
|
76695
76689
|
endpoints = {},
|
|
76696
76690
|
initialData = null,
|
|
76697
76691
|
showSearch = true,
|