@box-kite/react 2.3.0 → 2.3.1
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/.claude/rules/box-kite-rules.md +3 -1
- package/.claude/skills/box-kite/SKILL.md +16 -14
- package/.claude/skills/box-kite/references/styling.md +2 -2
- package/.cursor/rules/box-kite.mdc +4 -2
- package/AGENTS.md +4 -2
- package/BOX_AI_CONTEXT.md +43 -40
- package/BOX_KITE_AI_CONTEXT.md +43 -40
- package/README.md +13 -7
- package/catalog.cjs +1 -1
- package/catalog.mjs +3 -0
- package/components/dataGrid/components/dataGridFooter.d.ts +6 -2
- package/components/dataGrid/models/gridModel.d.ts +21 -2
- package/components/dataGrid/models/groupRowModel.d.ts +1 -1
- package/components/dataGrid/models/rowModel.d.ts +1 -1
- package/components/dataGrid/models/sourceGroupRowModel.d.ts +5 -1
- package/components/dataGrid/models/sourceRowModel.d.ts +5 -1
- package/components/dataGrid.cjs +3 -3
- package/components/dataGrid.mjs +815 -765
- package/components/sortableList.cjs +1 -1
- package/components/sortableList.mjs +1 -1
- package/components/svg.d.ts +2 -2
- package/components/swipeItem.cjs +1 -1
- package/components/swipeItem.mjs +1 -1
- package/dataGridList.cjs +1 -1
- package/dataGridList.mjs +3 -5
- package/docs/props.md +43 -19
- package/package.json +5 -5
|
@@ -14,7 +14,11 @@ import { default as SourceLevel } from './sourceLevel';
|
|
|
14
14
|
*/
|
|
15
15
|
export default class SourceGroupRowModel<TRow> extends GroupRowModel<TRow> {
|
|
16
16
|
private readonly level;
|
|
17
|
-
|
|
17
|
+
/** Where it sits in that level's block cache; `rowIndex` is where it sits on screen (bug #327). */
|
|
18
|
+
private readonly levelIndex;
|
|
19
|
+
constructor(grid: GridModel<TRow>, level: SourceLevel<TRow>, groupColumn: ColumnModel<TRow>,
|
|
20
|
+
/** Where it sits in that level's block cache; `rowIndex` is where it sits on screen (bug #327). */
|
|
21
|
+
levelIndex: number, display?: number);
|
|
18
22
|
private get row();
|
|
19
23
|
/** The row the server sent for this group: its value, and whatever totals came with it. */
|
|
20
24
|
get data(): TRow | undefined;
|
|
@@ -15,9 +15,13 @@ import { default as SourceLevel } from './sourceLevel';
|
|
|
15
15
|
export default class SourceRowModel<TRow> extends RowModel<TRow> {
|
|
16
16
|
/** The level it belongs to: the top one, or the group or tree row somebody opened. */
|
|
17
17
|
protected readonly sourceLevel: SourceLevel<TRow>;
|
|
18
|
+
/** Where it sits in that level's block cache; `rowIndex` is where it sits on screen (bug #327). */
|
|
19
|
+
protected readonly levelIndex: number;
|
|
18
20
|
constructor(grid: GridModel<TRow>,
|
|
19
21
|
/** The level it belongs to: the top one, or the group or tree row somebody opened. */
|
|
20
|
-
sourceLevel: SourceLevel<TRow>,
|
|
22
|
+
sourceLevel: SourceLevel<TRow>,
|
|
23
|
+
/** Where it sits in that level's block cache; `rowIndex` is where it sits on screen (bug #327). */
|
|
24
|
+
levelIndex: number, display?: number);
|
|
21
25
|
private get row();
|
|
22
26
|
get data(): TRow;
|
|
23
27
|
get placeholder(): boolean;
|