@flamingo-stack/openframe-frontend-core 0.0.170 → 0.0.171
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/{chunk-IVGXZQUL.cjs → chunk-BO3HQNKL.cjs} +20 -18
- package/dist/chunk-BO3HQNKL.cjs.map +1 -0
- package/dist/{chunk-M7DP7XDQ.js → chunk-HVQIP5MH.js} +10 -8
- package/dist/{chunk-M7DP7XDQ.js.map → chunk-HVQIP5MH.js.map} +1 -1
- package/dist/components/features/board/board.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/features/board/board-column-header.tsx +3 -3
- package/src/components/features/board/board.tsx +4 -2
- package/src/components/ui/assignee-dropdown.tsx +2 -1
- package/dist/chunk-IVGXZQUL.cjs.map +0 -1
|
@@ -26355,14 +26355,15 @@ function CompactAssigneeDropdown({
|
|
|
26355
26355
|
"data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2"
|
|
26356
26356
|
),
|
|
26357
26357
|
children: [
|
|
26358
|
-
/* @__PURE__ */ jsx235("div", { className: "
|
|
26358
|
+
/* @__PURE__ */ jsx235("div", { className: "border-b border-ods-border", children: /* @__PURE__ */ jsx235(
|
|
26359
26359
|
Input,
|
|
26360
26360
|
{
|
|
26361
26361
|
autoFocus: true,
|
|
26362
26362
|
value: search,
|
|
26363
26363
|
onChange: (e) => setSearch(e.target.value),
|
|
26364
26364
|
placeholder: "Search users...",
|
|
26365
|
-
startAdornment: /* @__PURE__ */ jsx235(SearchIcon, { className: "size-4 text-ods-text-secondary" })
|
|
26365
|
+
startAdornment: /* @__PURE__ */ jsx235(SearchIcon, { className: "size-4 text-ods-text-secondary" }),
|
|
26366
|
+
className: "rounded-none border-0"
|
|
26366
26367
|
}
|
|
26367
26368
|
) }),
|
|
26368
26369
|
/* @__PURE__ */ jsx235("div", { className: "max-h-80 overflow-y-auto py-[var(--spacing-system-xs)]", role: "listbox", children: isLoading ? /* @__PURE__ */ jsx235("div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "Loading\u2026" }) : orderedOptions.length === 0 ? /* @__PURE__ */ jsx235("div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "No users found" }) : orderedOptions.map((opt) => {
|
|
@@ -32504,7 +32505,7 @@ function BoardColumnHeader({
|
|
|
32504
32505
|
{
|
|
32505
32506
|
variant: "transparent",
|
|
32506
32507
|
size: "icon",
|
|
32507
|
-
className: "h-8 w-8 p-0",
|
|
32508
|
+
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
32508
32509
|
onClick: onToggleCollapse,
|
|
32509
32510
|
"aria-label": "Expand column",
|
|
32510
32511
|
children: /* @__PURE__ */ jsx291(Arrow02RightIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
@@ -32546,7 +32547,7 @@ function BoardColumnHeader({
|
|
|
32546
32547
|
{
|
|
32547
32548
|
variant: "transparent",
|
|
32548
32549
|
size: "icon",
|
|
32549
|
-
className: "h-8 w-8 p-0",
|
|
32550
|
+
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
32550
32551
|
onClick: onToggleCollapse,
|
|
32551
32552
|
"aria-label": "Collapse column",
|
|
32552
32553
|
children: /* @__PURE__ */ jsx291(Arrow02LeftIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
@@ -32557,7 +32558,7 @@ function BoardColumnHeader({
|
|
|
32557
32558
|
{
|
|
32558
32559
|
variant: "transparent",
|
|
32559
32560
|
size: "icon",
|
|
32560
|
-
className: "h-8 w-8 p-0",
|
|
32561
|
+
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
32561
32562
|
onClick: onAddTicket,
|
|
32562
32563
|
"aria-label": "Add ticket",
|
|
32563
32564
|
children: /* @__PURE__ */ jsx291(PlusIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
@@ -32946,9 +32947,10 @@ function Board({
|
|
|
32946
32947
|
const fromColumnId = locate(items, activeId)?.columnId;
|
|
32947
32948
|
const toColumnId = overData?.columnId;
|
|
32948
32949
|
if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
|
|
32949
|
-
const
|
|
32950
|
+
const origin = dragOriginRef.current;
|
|
32951
|
+
const isReturnToOrigin = origin?.fromColumnId === toColumnId;
|
|
32950
32952
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
32951
|
-
const blockedBySource = !isReturnToOrigin && !!targetCol?.allowedFromColumns && !targetCol.allowedFromColumns.includes(fromColumnId);
|
|
32953
|
+
const blockedBySource = !isReturnToOrigin && !!targetCol?.allowedFromColumns && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
|
|
32952
32954
|
if (targetCol?.dropDisabled && !isReturnToOrigin || blockedBySource) return;
|
|
32953
32955
|
setItems((prev) => {
|
|
32954
32956
|
const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
|
|
@@ -33736,4 +33738,4 @@ export {
|
|
|
33736
33738
|
TMCG_SOCIAL_PLATFORMS,
|
|
33737
33739
|
assets
|
|
33738
33740
|
};
|
|
33739
|
-
//# sourceMappingURL=chunk-
|
|
33741
|
+
//# sourceMappingURL=chunk-HVQIP5MH.js.map
|