@actabldesign/bellhop-react 0.0.4 → 0.0.6
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/components/table/DataTable.d.ts +1 -1
- package/dist/components/table/DataTable.js +1 -1
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -2
- package/llms.txt +3551 -0
- package/package.json +3 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* BhDataTable - Dynamic Table with TanStack Table
|
|
3
3
|
*
|
|
4
|
-
* A composable data table component that combines
|
|
4
|
+
* A composable data table component that combines Bellhop table primitives
|
|
5
5
|
* with TanStack Table for sorting, filtering, pagination, selection,
|
|
6
6
|
* expansion, grouping, and editing.
|
|
7
7
|
* Uses existing Bellhop components where possible.
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
/**
|
|
3
3
|
* BhDataTable - Dynamic Table with TanStack Table
|
|
4
4
|
*
|
|
5
|
-
* A composable data table component that combines
|
|
5
|
+
* A composable data table component that combines Bellhop table primitives
|
|
6
6
|
* with TanStack Table for sorting, filtering, pagination, selection,
|
|
7
7
|
* expansion, grouping, and editing.
|
|
8
8
|
* Uses existing Bellhop components where possible.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Bellhop Table Primitives
|
|
4
4
|
*
|
|
5
5
|
* Composable table components for building static and dynamic tables.
|
|
6
6
|
* These primitives can be used standalone or combined with TanStack Table
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Bellhop React Components
|
|
3
3
|
*
|
|
4
4
|
* This package provides:
|
|
5
5
|
* 1. React wrapper components for BellhopOS Stencil web components (auto-generated)
|
|
6
|
-
* 2. Native React table primitives
|
|
6
|
+
* 2. Native React table primitives with TanStack Table integration
|
|
7
7
|
*
|
|
8
8
|
* NOTE: For feature-rich data grids, use <BhDataGrid> from the Stencil components.
|
|
9
9
|
* The table primitives below are for building custom table layouts.
|
|
@@ -12,4 +12,6 @@ export * from './components/stencil-generated';
|
|
|
12
12
|
export type { ButtonHierarchy, ButtonIconPosition, ButtonSize, } from '@actabldesign/bellhop-core';
|
|
13
13
|
export { Table, TableWrapper, TableCaption, TableHead, TableBody, TableFooter, TableRow, TableHeaderCell, TableCell, TableEmpty, TableActionBar, TablePagination, ExpandIcon, BhTable, BhTableWrapper, BhTableCaption, BhThead, BhTbody, BhTfoot, BhTr, BhTh, BhTd, BhTableEmpty, BhTableActionBar, BhTablePagination, BhExpandIcon, } from './components/table';
|
|
14
14
|
export type { TableProps, TableWrapperProps, TableCaptionProps, TableHeadProps, TableBodyProps, TableFooterProps, TableRowProps, TableHeaderCellProps, TableCellProps, TableEmptyProps, TableActionBarProps, TablePaginationProps, ExpandIconProps, TableSize, TableVariant, CellAlign, } from './components/table';
|
|
15
|
+
export { DataTable, BhDataTable, useDataTable, createSelectColumn, createExpandColumn, createEditActionsColumn, } from './components/table/DataTable';
|
|
16
|
+
export type { DataTableProps, UseDataTableOptions, ColumnDef, SortingState, ColumnFiltersState, RowSelectionState, EditMode, EditState, EditingValues, RowChanges, DataTableColumnMeta, } from './components/table/DataTable';
|
|
15
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,cAAc,gCAAgC,CAAC;AAG/C,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,UAAU,GACX,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAEL,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,SAAS,EACT,WAAW,EACX,QAAQ,EACR,eAAe,EACf,SAAS,EACT,UAAU,EACV,cAAc,EACd,eAAe,EACf,UAAU,EAEV,OAAO,EACP,cAAc,EACd,cAAc,EACd,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,GACb,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EACV,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,SAAS,EACT,YAAY,EACZ,SAAS,GACV,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,cAAc,gCAAgC,CAAC;AAG/C,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,UAAU,GACX,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAEL,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,SAAS,EACT,WAAW,EACX,QAAQ,EACR,eAAe,EACf,SAAS,EACT,UAAU,EACV,cAAc,EACd,eAAe,EACf,UAAU,EAEV,OAAO,EACP,cAAc,EACd,cAAc,EACd,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,GACb,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EACV,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,SAAS,EACT,YAAY,EACZ,SAAS,GACV,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EACL,SAAS,EACT,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EACV,cAAc,EACd,mBAAmB,EACnB,SAAS,EACT,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,aAAa,EACb,UAAU,EACV,mBAAmB,GACpB,MAAM,8BAA8B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Bellhop React Components
|
|
3
3
|
*
|
|
4
4
|
* This package provides:
|
|
5
5
|
* 1. React wrapper components for BellhopOS Stencil web components (auto-generated)
|
|
6
|
-
* 2. Native React table primitives
|
|
6
|
+
* 2. Native React table primitives with TanStack Table integration
|
|
7
7
|
*
|
|
8
8
|
* NOTE: For feature-rich data grids, use <BhDataGrid> from the Stencil components.
|
|
9
9
|
* The table primitives below are for building custom table layouts.
|
|
@@ -18,3 +18,7 @@ export {
|
|
|
18
18
|
Table, TableWrapper, TableCaption, TableHead, TableBody, TableFooter, TableRow, TableHeaderCell, TableCell, TableEmpty, TableActionBar, TablePagination, ExpandIcon,
|
|
19
19
|
// Aliased exports (Bh prefix)
|
|
20
20
|
BhTable, BhTableWrapper, BhTableCaption, BhThead, BhTbody, BhTfoot, BhTr, BhTh, BhTd, BhTableEmpty, BhTableActionBar, BhTablePagination, BhExpandIcon, } from './components/table';
|
|
21
|
+
// =============================================================================
|
|
22
|
+
// DataTable (TanStack Table integration)
|
|
23
|
+
// =============================================================================
|
|
24
|
+
export { DataTable, BhDataTable, useDataTable, createSelectColumn, createExpandColumn, createEditActionsColumn, } from './components/table/DataTable';
|