@burdenoff/microfe-planmagnet 2026.930.7 → 2026.930.8

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.
@@ -0,0 +1,27 @@
1
+ import { MilestoneOption } from '../milestones/MilestoneControls';
2
+ import { BoardCardField, BoardGroupBy, BoardSortField, SortDirection, SprintOption } from './boardViewConfig';
3
+
4
+ /**
5
+ * Board views (PDM-N04): a view bar above the board — pick a saved view (or "All cards"), tune its filter, sort,
6
+ * group-by and visible fields, and save/update/rename/share/delete it. Every field it shows is passed to the
7
+ * board's own card queries as `filter`/`sort` (server-side), so this bar never filters a page in the browser.
8
+ */
9
+ export interface AppliedBoardState {
10
+ filter: Record<string, unknown> | undefined;
11
+ sort: {
12
+ field: BoardSortField;
13
+ direction: SortDirection;
14
+ };
15
+ groupBy: BoardGroupBy;
16
+ visibleFields: readonly BoardCardField[];
17
+ filterActive: boolean;
18
+ }
19
+ export declare function BoardViewBar({ projectId, boardId, onSelectBoard, sprintOptions, milestoneOptions, onStateChange, }: {
20
+ projectId: string;
21
+ boardId: string;
22
+ onSelectBoard: (boardId: string) => void;
23
+ sprintOptions: SprintOption[];
24
+ milestoneOptions: MilestoneOption[];
25
+ onStateChange: (state: AppliedBoardState) => void;
26
+ }): import("react/jsx-runtime").JSX.Element;
27
+ //# sourceMappingURL=BoardViewBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoardViewBar.d.ts","sourceRoot":"","sources":["../../../src/planmagnet/board/BoardViewBar.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAqBL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,cAAc,EAInB,KAAK,aAAa,EAClB,KAAK,YAAY,EAClB,MAAM,mBAAmB,CAAC;AAE3B;;;;GAIG;AAEH,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;IAC5C,IAAI,EAAE;QAAE,KAAK,EAAE,cAAc,CAAC;QAAC,SAAS,EAAE,aAAa,CAAA;KAAE,CAAC;IAC1D,OAAO,EAAE,YAAY,CAAC;IACtB,aAAa,EAAE,SAAS,cAAc,EAAE,CAAC;IACzC,YAAY,EAAE,OAAO,CAAC;CACvB;AAoBD,wBAAgB,YAAY,CAAC,EAC3B,SAAS,EACT,OAAO,EACP,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,aAAa,GACd,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,gBAAgB,EAAE,eAAe,EAAE,CAAC;IACpC,aAAa,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACnD,2CAihBA"}