@jamsrui/table 0.0.11 → 0.0.13
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-BHSFC5BI.mjs → chunk-3P4MZ6BH.mjs} +1 -1
- package/dist/chunk-DIUOKLAM.mjs +1 -0
- package/dist/{chunk-IPKE7YHM.mjs → chunk-E66GNLTH.mjs} +1 -1
- package/dist/chunk-EEYWNGAV.mjs +1 -0
- package/dist/chunk-FWCSKJXK.mjs +1 -0
- package/dist/chunk-HUU4QJ56.mjs +1 -0
- package/dist/chunk-JDEQKMB2.mjs +1 -0
- package/dist/chunk-K3XNFLMX.mjs +1 -0
- package/dist/chunk-NMZ5Y6UJ.mjs +1 -0
- package/dist/chunk-SLHAMQVJ.mjs +1 -0
- package/dist/{chunk-2UOENW6T.mjs → chunk-USYDSKXB.mjs} +1 -1
- package/dist/{chunk-RJDA7IF5.mjs → chunk-WKT355RZ.mjs} +1 -1
- package/dist/chunk-ZE4OK6RY.mjs +1 -0
- package/dist/index.d.mts +31 -13
- package/dist/index.mjs +1 -1
- package/dist/styles.mjs +1 -0
- package/dist/{table-COowFxBr.d.mts → table-YS-M_mfN.d.mts} +9 -9
- package/dist/table-body.mjs +1 -0
- package/dist/table-cell.mjs +1 -0
- package/dist/table-column.mjs +1 -0
- package/dist/table-config.d.mts +11 -12
- package/dist/table-config.mjs +1 -1
- package/dist/{primitive/table-context.d.mts → table-context.d.mts} +1 -1
- package/dist/table-context.mjs +1 -0
- package/dist/table-empty-state.mjs +1 -0
- package/dist/table-footer.mjs +1 -0
- package/dist/table-header.mjs +1 -0
- package/dist/table-root.mjs +1 -0
- package/dist/table-row.mjs +1 -0
- package/dist/table-table.mjs +1 -0
- package/dist/table-wrapper.mjs +1 -0
- package/dist/table.d.mts +11 -19
- package/dist/table.mjs +1 -1
- package/dist/{primitive/table.d.mts → use-table.d.mts} +3 -3
- package/dist/use-table.mjs +1 -0
- package/package.json +4 -4
- package/dist/chunk-6TH4QLR4.mjs +0 -1
- package/dist/chunk-EALHLWMO.mjs +0 -1
- package/dist/chunk-F5AMPC53.mjs +0 -1
- package/dist/chunk-G56JYZMX.mjs +0 -1
- package/dist/chunk-GSDCBY3X.mjs +0 -1
- package/dist/chunk-HZMKIGNF.mjs +0 -0
- package/dist/chunk-J4ZX6AQY.mjs +0 -1
- package/dist/chunk-NO7Q6M3H.mjs +0 -1
- package/dist/chunk-VJMTZ2OI.mjs +0 -1
- package/dist/chunk-VV6AJGJT.mjs +0 -1
- package/dist/chunk-XPEMMX4W.mjs +0 -1
- package/dist/chunk-YJQDUGSR.mjs +0 -1
- package/dist/primitive/index.d.mts +0 -18
- package/dist/primitive/index.mjs +0 -1
- package/dist/primitive/styles.mjs +0 -1
- package/dist/primitive/table-body.mjs +0 -1
- package/dist/primitive/table-cell.mjs +0 -1
- package/dist/primitive/table-column.mjs +0 -1
- package/dist/primitive/table-config.d.mts +0 -26
- package/dist/primitive/table-config.mjs +0 -1
- package/dist/primitive/table-context.mjs +0 -1
- package/dist/primitive/table-empty-state.mjs +0 -1
- package/dist/primitive/table-footer.mjs +0 -1
- package/dist/primitive/table-header.mjs +0 -1
- package/dist/primitive/table-root.mjs +0 -1
- package/dist/primitive/table-row.mjs +0 -1
- package/dist/primitive/table-table.mjs +0 -1
- package/dist/primitive/table-wrapper.mjs +0 -1
- package/dist/primitive/table.mjs +0 -1
- package/dist/primitive/use-table.d.mts +0 -13
- package/dist/primitive/use-table.mjs +0 -1
- /package/dist/{chunk-64OJE7BG.mjs → chunk-KWUDOLAU.mjs} +0 -0
- /package/dist/{chunk-2F5JM5AO.mjs → chunk-TYYVDMZS.mjs} +0 -0
- /package/dist/{primitive/styles.d.mts → styles.d.mts} +0 -0
- /package/dist/{primitive/table-body.d.mts → table-body.d.mts} +0 -0
- /package/dist/{primitive/table-cell.d.mts → table-cell.d.mts} +0 -0
- /package/dist/{primitive/table-column.d.mts → table-column.d.mts} +0 -0
- /package/dist/{primitive/table-empty-state.d.mts → table-empty-state.d.mts} +0 -0
- /package/dist/{primitive/table-footer.d.mts → table-footer.d.mts} +0 -0
- /package/dist/{primitive/table-header.d.mts → table-header.d.mts} +0 -0
- /package/dist/{primitive/table-root.d.mts → table-root.d.mts} +0 -0
- /package/dist/{primitive/table-row.d.mts → table-row.d.mts} +0 -0
- /package/dist/{primitive/table-table.d.mts → table-table.d.mts} +0 -0
- /package/dist/{primitive/table-wrapper.d.mts → table-wrapper.d.mts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-KWUDOLAU.mjs";import{useCallback as s,useMemo as g}from"react";import{cn as r,dataAttrDev as o,mapPropsVariants as w,mergeProps as G}from"@jamsrui/utils";var x=y=>{let[f,u]=w(y,m.variantKeys),{classNames:a,...l}=f,t=m(u),p=s(e=>({...e,"data-slot":o("root"),"data-component":o("table"),className:t.root({className:r(a?.root,e.className)})}),[a?.root,t]),c=s(e=>({...e,"data-slot":o("wrapper"),className:t.wrapper({className:r(a?.wrapper,e.className)})}),[a?.wrapper,t]),b=s(e=>({...G(l,e),"data-slot":o("table"),className:t.table({className:r(l.className,a?.table,e.className)})}),[a?.table,l,t]),P=s(e=>({...e,"data-slot":o("header"),className:t.thead({className:r(a?.thead,e.className)})}),[a?.thead,t]),n=s(e=>({...e,"data-slot":o("column"),className:t.th({className:r(a?.th,e.className)})}),[a?.th,t]),N=s(e=>({...e,"data-slot":o("body"),className:t.tbody({className:r(a?.tbody,e.className)})}),[a?.tbody,t]),d=s(e=>({...e,"data-slot":o("row"),className:t.tr({className:r(a?.tr,e.className)})}),[a?.tr,t]),T=s(e=>({...e,"data-slot":o("cell"),className:t.td({className:r(a?.td,e.className)})}),[a?.td,t]),i=s(e=>({...e,"data-slot":o("footer"),className:t.tfoot({className:r(a?.tfoot,e.className)})}),[a?.tfoot,t]);return g(()=>({getRootProps:p,getTableProps:b,getHeaderProps:P,getColumnProps:n,getBodyProps:N,getRowProps:d,getCellProps:T,getFooterProps:i,getWrapperProps:c}),[N,T,n,i,P,p,d,b,c])};export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createConfigContext as e}from"@jamsrui/utils";var[r,a]=e({displayName:"TableConfig"});export{r as a,a as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as e}from"./chunk-
|
|
1
|
+
import{b as e}from"./chunk-TYYVDMZS.mjs";import{useRenderElement as t}from"@jamsrui/hooks";var m=r=>{let{getRowProps:o}=e();return t("tr",{props:[o(r)]})};export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-TYYVDMZS.mjs";import{useRenderElement as t}from"@jamsrui/hooks";var p=r=>{let{getColumnProps:o}=e();return t("th",{props:[o(r)]})};export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-TYYVDMZS.mjs";import{useRenderElement as r}from"@jamsrui/hooks";var m=o=>{let{getFooterProps:t}=e();return r("tfoot",{props:[t(o)]})};export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-TYYVDMZS.mjs";import{useRenderElement as r}from"@jamsrui/hooks";var m=o=>{let{getRootProps:t}=e();return r("div",{props:[t(o)]})};export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunk-HUU4QJ56.mjs";import{a as p}from"./chunk-ZE4OK6RY.mjs";import{a as b}from"./chunk-WKT355RZ.mjs";import{a as m}from"./chunk-3P4MZ6BH.mjs";import{b as t}from"./chunk-DIUOKLAM.mjs";import{a}from"./chunk-TYYVDMZS.mjs";import{mergeConfigProps as i}from"@jamsrui/utils";import{jsx as e}from"react/jsx-runtime";var d=o=>{let{children:T}=o,r=t(),n=i(r,r,o),s=m(n);return e(a,{value:s,children:e(l,{children:e(b,{children:e(p,{children:T})})})})};export{d as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-TYYVDMZS.mjs";import{useRenderElement as o}from"@jamsrui/hooks";var p=r=>{let{getCellProps:t}=e();return o("td",{props:[t(r)]})};export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunk-E66GNLTH.mjs";import{a as e}from"./chunk-K3XNFLMX.mjs";import{jsx as o}from"react/jsx-runtime";var p=()=>o(l,{children:o(e,{className:"text-center py-12",colSpan:100,children:"No data found"})});export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-TYYVDMZS.mjs";import{useRenderElement as o}from"@jamsrui/hooks";var a=r=>{let{getHeaderProps:t}=e();return o("thead",{props:[t(r)]})};export{a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-NMZ5Y6UJ.mjs";import{b as e}from"./chunk-TYYVDMZS.mjs";import{useRenderElement as d}from"@jamsrui/hooks";import{jsx as l}from"react/jsx-runtime";var b=t=>{let{children:r,emptySlot:p=l(o,{}),...s}=t,{getBodyProps:n}=e(),m=r??p;return d("tbody",{props:[n(s),{children:m}]})};export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as e}from"./chunk-
|
|
1
|
+
import{b as e}from"./chunk-TYYVDMZS.mjs";import{useRenderElement as t}from"@jamsrui/hooks";var a=r=>{let{getWrapperProps:p}=e();return t("div",{props:[p(r)]})};export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-TYYVDMZS.mjs";import{useRenderElement as o}from"@jamsrui/hooks";var p=r=>{let{getTableProps:t}=e();return o("table",{props:[t(r)]})};export{p as a};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,16 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { T as Table$1 } from './table-YS-M_mfN.mjs';
|
|
4
|
+
import { TableBody } from './table-body.mjs';
|
|
5
|
+
import { TableCell } from './table-cell.mjs';
|
|
6
|
+
import { TableColumn } from './table-column.mjs';
|
|
7
|
+
import { TableFooter } from './table-footer.mjs';
|
|
8
|
+
import { TableHeader } from './table-header.mjs';
|
|
9
|
+
import { TableRow } from './table-row.mjs';
|
|
10
|
+
import { TableTable } from './table-table.mjs';
|
|
11
|
+
import { TableWrapper } from './table-wrapper.mjs';
|
|
8
12
|
export { TableConfig, useTableConfig } from './table-config.mjs';
|
|
9
|
-
import 'react';
|
|
10
13
|
import '@jamsrui/utils';
|
|
11
|
-
import '
|
|
12
|
-
import './table-
|
|
13
|
-
import './primitive/styles.mjs';
|
|
14
|
-
import './primitive/table-root.mjs';
|
|
15
|
-
import './primitive/table-wrapper.mjs';
|
|
14
|
+
import './styles.mjs';
|
|
15
|
+
import './table-root.mjs';
|
|
16
16
|
import '@jamsrui/core';
|
|
17
|
+
|
|
18
|
+
declare const Table: ((props: Table$1.Props) => react_jsx_runtime.JSX.Element) & {
|
|
19
|
+
Root: (props: Table$1.Props) => react_jsx_runtime.JSX.Element;
|
|
20
|
+
Body: (props: TableBody.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
21
|
+
Cell: (props: TableCell.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
22
|
+
Footer: (props: TableFooter.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
23
|
+
Header: (props: TableHeader.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
24
|
+
Row: (props: TableRow.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
25
|
+
Table: (props: TableTable.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
26
|
+
Wrapper: (props: TableWrapper.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
27
|
+
Column: (props: TableColumn.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
28
|
+
};
|
|
29
|
+
declare namespace Table {
|
|
30
|
+
interface Props extends Table$1.Props {
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { Table, TableBody, TableCell, TableColumn, TableFooter, TableHeader, TableRow, TableTable, TableWrapper };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{a as p}from"./chunk-FWCSKJXK.mjs";import{a as b}from"./chunk-SLHAMQVJ.mjs";import{a as o}from"./chunk-JDEQKMB2.mjs";import"./chunk-HUU4QJ56.mjs";import{a as e}from"./chunk-ZE4OK6RY.mjs";import{a as r}from"./chunk-WKT355RZ.mjs";import"./chunk-3P4MZ6BH.mjs";import"./chunk-KWUDOLAU.mjs";import{a as t}from"./chunk-USYDSKXB.mjs";import{a as m}from"./chunk-EEYWNGAV.mjs";import{a as T,b as f}from"./chunk-DIUOKLAM.mjs";import"./chunk-NMZ5Y6UJ.mjs";import{a as l}from"./chunk-E66GNLTH.mjs";import{a}from"./chunk-K3XNFLMX.mjs";import"./chunk-TYYVDMZS.mjs";var u=Object.assign(o,{Root:o,Body:t,Cell:a,Footer:p,Header:b,Row:l,Table:e,Wrapper:r,Column:m});export{u as Table,t as TableBody,a as TableCell,m as TableColumn,T as TableConfig,p as TableFooter,b as TableHeader,l as TableRow,e as TableTable,r as TableWrapper,f as useTableConfig};
|
package/dist/styles.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-KWUDOLAU.mjs";export{a as tableVariants};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { PropGetter, UIProps, SlotsToClassNames } from '@jamsrui/utils';
|
|
3
|
-
import { TableVariantProps, TableSlots } from './
|
|
4
|
-
import { TableBody } from './
|
|
5
|
-
import { TableCell } from './
|
|
6
|
-
import { TableColumn } from './
|
|
7
|
-
import { TableFooter } from './
|
|
8
|
-
import { TableHeader } from './
|
|
9
|
-
import { TableRoot } from './
|
|
10
|
-
import { TableRow } from './
|
|
11
|
-
import { TableWrapper } from './
|
|
3
|
+
import { TableVariantProps, TableSlots } from './styles.mjs';
|
|
4
|
+
import { TableBody } from './table-body.mjs';
|
|
5
|
+
import { TableCell } from './table-cell.mjs';
|
|
6
|
+
import { TableColumn } from './table-column.mjs';
|
|
7
|
+
import { TableFooter } from './table-footer.mjs';
|
|
8
|
+
import { TableHeader } from './table-header.mjs';
|
|
9
|
+
import { TableRoot } from './table-root.mjs';
|
|
10
|
+
import { TableRow } from './table-row.mjs';
|
|
11
|
+
import { TableWrapper } from './table-wrapper.mjs';
|
|
12
12
|
|
|
13
13
|
declare const useTable: (props: useTable.Props) => {
|
|
14
14
|
getRootProps: PropGetter<TableRoot.Props>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-USYDSKXB.mjs";import"./chunk-NMZ5Y6UJ.mjs";import"./chunk-E66GNLTH.mjs";import"./chunk-K3XNFLMX.mjs";import"./chunk-TYYVDMZS.mjs";export{a as TableBody};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-K3XNFLMX.mjs";import"./chunk-TYYVDMZS.mjs";export{a as TableCell};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-EEYWNGAV.mjs";import"./chunk-TYYVDMZS.mjs";export{a as TableColumn};
|
package/dist/table-config.d.mts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import './primitive/table-body.mjs';
|
|
2
|
-
import './primitive/table-cell.mjs';
|
|
3
|
-
import './primitive/table-column.mjs';
|
|
4
|
-
import './primitive/table-footer.mjs';
|
|
5
|
-
import './primitive/table-header.mjs';
|
|
6
|
-
import './primitive/table-row.mjs';
|
|
7
|
-
import { Table } from './table.mjs';
|
|
8
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
2
|
import { GlobalConfigProps } from '@jamsrui/core';
|
|
10
|
-
import '
|
|
3
|
+
import { T as Table } from './table-YS-M_mfN.mjs';
|
|
11
4
|
import '@jamsrui/utils';
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import '
|
|
15
|
-
import './
|
|
5
|
+
import './styles.mjs';
|
|
6
|
+
import './table-body.mjs';
|
|
7
|
+
import 'react';
|
|
8
|
+
import './table-cell.mjs';
|
|
9
|
+
import './table-column.mjs';
|
|
10
|
+
import './table-footer.mjs';
|
|
11
|
+
import './table-header.mjs';
|
|
12
|
+
import './table-root.mjs';
|
|
13
|
+
import './table-row.mjs';
|
|
14
|
+
import './table-wrapper.mjs';
|
|
16
15
|
|
|
17
16
|
declare const useTableConfig: () => TableConfig.Props;
|
|
18
17
|
declare const TableConfig: (props: Omit<Partial<TableConfig.Props>, "children"> & {
|
package/dist/table-config.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"./chunk-
|
|
1
|
+
"use client";import{a,b}from"./chunk-DIUOKLAM.mjs";export{a as TableConfig,b as useTableConfig};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"./chunk-TYYVDMZS.mjs";export{a as TableContext,b as useTableContext};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-NMZ5Y6UJ.mjs";import"./chunk-E66GNLTH.mjs";import"./chunk-K3XNFLMX.mjs";import"./chunk-TYYVDMZS.mjs";export{a as TableEmptyState};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-FWCSKJXK.mjs";import"./chunk-TYYVDMZS.mjs";export{a as TableFooter};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-SLHAMQVJ.mjs";import"./chunk-TYYVDMZS.mjs";export{a as TableHeader};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-HUU4QJ56.mjs";import"./chunk-TYYVDMZS.mjs";export{a as TableRoot};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-E66GNLTH.mjs";import"./chunk-TYYVDMZS.mjs";export{a as TableRow};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-ZE4OK6RY.mjs";import"./chunk-TYYVDMZS.mjs";export{a as TableTable};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-WKT355RZ.mjs";import"./chunk-TYYVDMZS.mjs";export{a as TableWrapper};
|
package/dist/table.d.mts
CHANGED
|
@@ -1,21 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import 'react/jsx-runtime';
|
|
2
|
+
export { T as Table } from './table-YS-M_mfN.mjs';
|
|
3
3
|
import '@jamsrui/utils';
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
4
|
+
import './styles.mjs';
|
|
5
|
+
import './table-body.mjs';
|
|
6
6
|
import 'react';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
|
|
15
|
-
declare const Table: (props: Table.Props) => react_jsx_runtime.JSX.Element;
|
|
16
|
-
declare namespace Table {
|
|
17
|
-
interface Props extends useTable.Props {
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { Table };
|
|
7
|
+
import './table-cell.mjs';
|
|
8
|
+
import './table-column.mjs';
|
|
9
|
+
import './table-footer.mjs';
|
|
10
|
+
import './table-header.mjs';
|
|
11
|
+
import './table-root.mjs';
|
|
12
|
+
import './table-row.mjs';
|
|
13
|
+
import './table-wrapper.mjs';
|
package/dist/table.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
"use client";import{a}from"./chunk-JDEQKMB2.mjs";import"./chunk-HUU4QJ56.mjs";import"./chunk-ZE4OK6RY.mjs";import"./chunk-WKT355RZ.mjs";import"./chunk-3P4MZ6BH.mjs";import"./chunk-KWUDOLAU.mjs";import"./chunk-DIUOKLAM.mjs";import"./chunk-TYYVDMZS.mjs";export{a as Table};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import 'react/jsx-runtime';
|
|
2
|
-
export { T as Table } from '../table-COowFxBr.mjs';
|
|
3
1
|
import '@jamsrui/utils';
|
|
4
2
|
import './styles.mjs';
|
|
3
|
+
export { u as useTable } from './table-YS-M_mfN.mjs';
|
|
5
4
|
import './table-body.mjs';
|
|
6
|
-
import 'react';
|
|
7
5
|
import './table-cell.mjs';
|
|
8
6
|
import './table-column.mjs';
|
|
9
7
|
import './table-footer.mjs';
|
|
@@ -11,3 +9,5 @@ import './table-header.mjs';
|
|
|
11
9
|
import './table-root.mjs';
|
|
12
10
|
import './table-row.mjs';
|
|
13
11
|
import './table-wrapper.mjs';
|
|
12
|
+
import 'react/jsx-runtime';
|
|
13
|
+
import 'react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-3P4MZ6BH.mjs";import"./chunk-KWUDOLAU.mjs";export{a as useTable};
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/table",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/hooks": "^0.0.
|
|
9
|
-
"@jamsrui/core": "^0.0.
|
|
10
|
-
"@jamsrui/utils": "^0.0.
|
|
8
|
+
"@jamsrui/hooks": "^0.0.13",
|
|
9
|
+
"@jamsrui/core": "^0.0.11",
|
|
10
|
+
"@jamsrui/utils": "^0.0.13"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
package/dist/chunk-6TH4QLR4.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createConfigContext as o}from"@jamsrui/utils";var[r,a]=o({displayName:"TableConfig"});export{r as a,a as b};
|
package/dist/chunk-EALHLWMO.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as l}from"./chunk-IPKE7YHM.mjs";import{a as e}from"./chunk-VJMTZ2OI.mjs";import{jsx as o}from"react/jsx-runtime";var p=()=>o(l,{children:o(e,{className:"text-center py-12",colSpan:100,children:"No data found"})});export{p as a};
|
package/dist/chunk-F5AMPC53.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-2F5JM5AO.mjs";import{useRenderElement as o}from"@jamsrui/hooks";var n=r=>{let{getHeaderProps:t}=e();return o("thead",{props:[t(r)]})};export{n as a};
|
package/dist/chunk-G56JYZMX.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createConfigContext as o}from"@jamsrui/utils";var[r,a]=o({displayName:"TableConfig"});export{r as a,a as b};
|
package/dist/chunk-GSDCBY3X.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as b}from"./chunk-RJDA7IF5.mjs";import{a as m}from"./chunk-BHSFC5BI.mjs";import{b as t}from"./chunk-6TH4QLR4.mjs";import{a as l}from"./chunk-NO7Q6M3H.mjs";import{a as p}from"./chunk-VV6AJGJT.mjs";import{a}from"./chunk-2F5JM5AO.mjs";import{mergeConfigProps as f}from"@jamsrui/utils";import{jsx as e}from"react/jsx-runtime";var d=o=>{let{children:T}=o,r=t(),n=f(r,r,o),s=m(n);return e(a,{value:s,children:e(l,{children:e(b,{children:e(p,{children:T})})})})};export{d as a};
|
package/dist/chunk-HZMKIGNF.mjs
DELETED
|
File without changes
|
package/dist/chunk-J4ZX6AQY.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as n}from"./chunk-G56JYZMX.mjs";import{a as b}from"./chunk-RJDA7IF5.mjs";import{a as T}from"./chunk-BHSFC5BI.mjs";import{a as t}from"./chunk-NO7Q6M3H.mjs";import{a as l}from"./chunk-VV6AJGJT.mjs";import{a as r}from"./chunk-2F5JM5AO.mjs";import{mergeConfigProps as m}from"@jamsrui/utils";import{jsx as e}from"react/jsx-runtime";var g=o=>{let{children:p}=o,a=n(),s=m(a,a,o),c=T(s);return e(r,{value:c,children:e(t,{children:e(b,{children:e(l,{children:p})})})})};export{g as a};
|
package/dist/chunk-NO7Q6M3H.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-2F5JM5AO.mjs";import{useRenderElement as t}from"@jamsrui/hooks";var m=o=>{let{getRootProps:r}=e();return t("div",{props:[r(o)]})};export{m as a};
|
package/dist/chunk-VJMTZ2OI.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-2F5JM5AO.mjs";import{useRenderElement as o}from"@jamsrui/hooks";var n=r=>{let{getCellProps:t}=e();return o("td",{props:[t(r)]})};export{n as a};
|
package/dist/chunk-VV6AJGJT.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-2F5JM5AO.mjs";import{useRenderElement as o}from"@jamsrui/hooks";var l=r=>{let{getTableProps:t}=e();return o("table",{props:[t(r)]})};export{l as a};
|
package/dist/chunk-XPEMMX4W.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-2F5JM5AO.mjs";import{useRenderElement as t}from"@jamsrui/hooks";var s=r=>{let{getColumnProps:o}=e();return t("th",{props:[o(r)]})};export{s as a};
|
package/dist/chunk-YJQDUGSR.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-2F5JM5AO.mjs";import{useRenderElement as t}from"@jamsrui/hooks";var m=o=>{let{getFooterProps:r}=e();return t("tfoot",{props:[r(o)]})};export{m as a};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export { T as Table, u as useTable } from '../table-COowFxBr.mjs';
|
|
2
|
-
export { TableBody } from './table-body.mjs';
|
|
3
|
-
export { TableCell } from './table-cell.mjs';
|
|
4
|
-
export { TableColumn } from './table-column.mjs';
|
|
5
|
-
export { TableConfig, useTableConfig } from './table-config.mjs';
|
|
6
|
-
export { TableContext, useTableContext } from './table-context.mjs';
|
|
7
|
-
export { TableEmptyState } from './table-empty-state.mjs';
|
|
8
|
-
export { TableFooter } from './table-footer.mjs';
|
|
9
|
-
export { TableHeader } from './table-header.mjs';
|
|
10
|
-
export { TableRoot } from './table-root.mjs';
|
|
11
|
-
export { TableRow } from './table-row.mjs';
|
|
12
|
-
export { TableTable } from './table-table.mjs';
|
|
13
|
-
export { TableWrapper } from './table-wrapper.mjs';
|
|
14
|
-
export { TableSlots, TableVariantProps, tableVariants } from './styles.mjs';
|
|
15
|
-
import 'react/jsx-runtime';
|
|
16
|
-
import '@jamsrui/utils';
|
|
17
|
-
import 'react';
|
|
18
|
-
import '@jamsrui/core';
|
package/dist/primitive/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunk-HZMKIGNF.mjs";import{a as j}from"../chunk-GSDCBY3X.mjs";import{a as g}from"../chunk-RJDA7IF5.mjs";import{a as i}from"../chunk-BHSFC5BI.mjs";import{a,b}from"../chunk-6TH4QLR4.mjs";import{a as p}from"../chunk-YJQDUGSR.mjs";import{a as q}from"../chunk-F5AMPC53.mjs";import{a as e}from"../chunk-NO7Q6M3H.mjs";import{a as f}from"../chunk-VV6AJGJT.mjs";import{a as h}from"../chunk-64OJE7BG.mjs";import{a as n}from"../chunk-2UOENW6T.mjs";import{a as m}from"../chunk-EALHLWMO.mjs";import{a as l}from"../chunk-IPKE7YHM.mjs";import{a as k}from"../chunk-VJMTZ2OI.mjs";import{a as o}from"../chunk-XPEMMX4W.mjs";import{a as c,b as d}from"../chunk-2F5JM5AO.mjs";export{j as Table,n as TableBody,k as TableCell,o as TableColumn,a as TableConfig,c as TableContext,m as TableEmptyState,p as TableFooter,q as TableHeader,e as TableRoot,l as TableRow,f as TableTable,g as TableWrapper,h as tableVariants,i as useTable,b as useTableConfig,d as useTableContext};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-64OJE7BG.mjs";export{a as tableVariants};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-2UOENW6T.mjs";import"../chunk-EALHLWMO.mjs";import"../chunk-IPKE7YHM.mjs";import"../chunk-VJMTZ2OI.mjs";import"../chunk-2F5JM5AO.mjs";export{a as TableBody};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-VJMTZ2OI.mjs";import"../chunk-2F5JM5AO.mjs";export{a as TableCell};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-XPEMMX4W.mjs";import"../chunk-2F5JM5AO.mjs";export{a as TableColumn};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { GlobalConfigProps } from '@jamsrui/core';
|
|
3
|
-
import { T as Table } from '../table-COowFxBr.mjs';
|
|
4
|
-
import '@jamsrui/utils';
|
|
5
|
-
import './styles.mjs';
|
|
6
|
-
import './table-body.mjs';
|
|
7
|
-
import 'react';
|
|
8
|
-
import './table-cell.mjs';
|
|
9
|
-
import './table-column.mjs';
|
|
10
|
-
import './table-footer.mjs';
|
|
11
|
-
import './table-header.mjs';
|
|
12
|
-
import './table-root.mjs';
|
|
13
|
-
import './table-row.mjs';
|
|
14
|
-
import './table-wrapper.mjs';
|
|
15
|
-
|
|
16
|
-
declare const useTableConfig: () => TableConfig.Props;
|
|
17
|
-
declare const TableConfig: (props: Omit<Partial<TableConfig.Props>, "children"> & {
|
|
18
|
-
merge?: boolean;
|
|
19
|
-
children: React.ReactNode;
|
|
20
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
21
|
-
declare namespace TableConfig {
|
|
22
|
-
interface Props extends Table.Props, GlobalConfigProps<Table.Props> {
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { TableConfig, useTableConfig };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b}from"../chunk-6TH4QLR4.mjs";export{a as TableConfig,b as useTableConfig};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b}from"../chunk-2F5JM5AO.mjs";export{a as TableContext,b as useTableContext};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-EALHLWMO.mjs";import"../chunk-IPKE7YHM.mjs";import"../chunk-VJMTZ2OI.mjs";import"../chunk-2F5JM5AO.mjs";export{a as TableEmptyState};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-YJQDUGSR.mjs";import"../chunk-2F5JM5AO.mjs";export{a as TableFooter};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-F5AMPC53.mjs";import"../chunk-2F5JM5AO.mjs";export{a as TableHeader};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-NO7Q6M3H.mjs";import"../chunk-2F5JM5AO.mjs";export{a as TableRoot};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-IPKE7YHM.mjs";import"../chunk-2F5JM5AO.mjs";export{a as TableRow};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-VV6AJGJT.mjs";import"../chunk-2F5JM5AO.mjs";export{a as TableTable};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-RJDA7IF5.mjs";import"../chunk-2F5JM5AO.mjs";export{a as TableWrapper};
|
package/dist/primitive/table.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-GSDCBY3X.mjs";import"../chunk-RJDA7IF5.mjs";import"../chunk-BHSFC5BI.mjs";import"../chunk-6TH4QLR4.mjs";import"../chunk-NO7Q6M3H.mjs";import"../chunk-VV6AJGJT.mjs";import"../chunk-64OJE7BG.mjs";import"../chunk-2F5JM5AO.mjs";export{a as Table};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import '@jamsrui/utils';
|
|
2
|
-
import './styles.mjs';
|
|
3
|
-
export { u as useTable } from '../table-COowFxBr.mjs';
|
|
4
|
-
import './table-body.mjs';
|
|
5
|
-
import './table-cell.mjs';
|
|
6
|
-
import './table-column.mjs';
|
|
7
|
-
import './table-footer.mjs';
|
|
8
|
-
import './table-header.mjs';
|
|
9
|
-
import './table-root.mjs';
|
|
10
|
-
import './table-row.mjs';
|
|
11
|
-
import './table-wrapper.mjs';
|
|
12
|
-
import 'react/jsx-runtime';
|
|
13
|
-
import 'react';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-BHSFC5BI.mjs";import"../chunk-64OJE7BG.mjs";export{a as useTable};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|