@chassis-ui/react 0.3.0 → 0.4.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/README.md +2 -2
- package/dist/alert.d.ts +1 -1
- package/dist/alert.js +1 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/avatar.js +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/card.d.ts +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.d.ts +2 -2
- package/dist/checkbox.js +1 -1
- package/dist/chip.d.ts +1 -1
- package/dist/chunks/{Button-Cptd4Yk7.d.ts → Button-BuZ_GOHS.d.ts} +2 -2
- package/dist/chunks/{Link-nrd0JWlO.d.ts → Link-CKymd2ru.d.ts} +2 -2
- package/dist/chunks/Link-DyZyAQFj.js +2 -0
- package/dist/chunks/Link-DyZyAQFj.js.map +1 -0
- package/dist/chunks/{MenuToggle-BdQtF7FV.js → MenuToggle-7RQ0dmtZ.js} +2 -2
- package/dist/chunks/{MenuToggle-BdQtF7FV.js.map → MenuToggle-7RQ0dmtZ.js.map} +1 -1
- package/dist/chunks/alert-3kTBfWFw.js +2 -0
- package/dist/chunks/{alert-BXI-_qlt.js.map → alert-3kTBfWFw.js.map} +1 -1
- package/dist/chunks/{avatar-S3dGy6Qc.js → avatar-MklqAKcz.js} +2 -2
- package/dist/chunks/{avatar-S3dGy6Qc.js.map → avatar-MklqAKcz.js.map} +1 -1
- package/dist/chunks/{breadcrumb-s6J9itez.js → breadcrumb-CHxTiZLt.js} +2 -2
- package/dist/chunks/{breadcrumb-s6J9itez.js.map → breadcrumb-CHxTiZLt.js.map} +1 -1
- package/dist/chunks/breakpoints-CGk8szzR.js +2 -0
- package/dist/chunks/breakpoints-CGk8szzR.js.map +1 -0
- package/dist/chunks/breakpoints-ECy4lKQT.d.ts +6 -0
- package/dist/chunks/card-CTP9K8xG.js +2 -0
- package/dist/chunks/card-CTP9K8xG.js.map +1 -0
- package/dist/chunks/{checkbox-ChACalAw.js → checkbox-ZyQn5Ku5.js} +2 -2
- package/dist/chunks/{checkbox-ChACalAw.js.map → checkbox-ZyQn5Ku5.js.map} +1 -1
- package/dist/chunks/colorClassNames-CEh5Yzfp.js +2 -0
- package/dist/chunks/colorClassNames-CEh5Yzfp.js.map +1 -0
- package/dist/chunks/datagrid-DOYxx0sF.js +3 -0
- package/dist/chunks/datagrid-DOYxx0sF.js.map +1 -0
- package/dist/chunks/flex-B52oLCCC.js +2 -0
- package/dist/chunks/flex-B52oLCCC.js.map +1 -0
- package/dist/chunks/grid-C7tO-ppc.js +2 -0
- package/dist/chunks/grid-C7tO-ppc.js.map +1 -0
- package/dist/chunks/{index-Bm2NpgND.d.ts → index-0jbACjYQ.d.ts} +2 -2
- package/dist/chunks/{index-D9PZHY_I.d.ts → index-B19ZH3fm.d.ts} +2 -2
- package/dist/chunks/{index-COsIPd8L.d.ts → index-B1kw0jzM.d.ts} +2 -2
- package/dist/chunks/{index-e7SJkI_m.d.ts → index-BLS1jhSJ.d.ts} +2 -2
- package/dist/chunks/{index-DjrEvKd-.d.ts → index-BMkbJVHg.d.ts} +2 -2
- package/dist/chunks/{index-t_x6jj7l.d.ts → index-BOx8v-oT.d.ts} +2 -2
- package/dist/chunks/index-BSLneLYu.d.ts +79 -0
- package/dist/chunks/{index-BnR7wjax.d.ts → index-BfEJYF4c.d.ts} +2 -2
- package/dist/chunks/{index-CRfm7W6C.d.ts → index-C9gzVqwX.d.ts} +2 -2
- package/dist/chunks/{index-DjXRq-n3.d.ts → index-CHQR8x8_.d.ts} +6 -12
- package/dist/chunks/{index-BTTeKpiE.d.ts → index-CIwzgZJi.d.ts} +2 -2
- package/dist/chunks/{index-I-H3VJ-L.d.ts → index-CYvVmTPR.d.ts} +4 -4
- package/dist/chunks/{index-qMq_-GY2.d.ts → index-CjT_4IZx.d.ts} +3 -3
- package/dist/chunks/index-CxjNw4ss.d.ts +216 -0
- package/dist/chunks/{index-DgHvXzVh.d.ts → index-DHcztR18.d.ts} +3 -3
- package/dist/chunks/{index-DXjbI7Yv.d.ts → index-DM01FX3a.d.ts} +3 -3
- package/dist/chunks/{index-CYgBmZ8w.d.ts → index-DP5xugE-.d.ts} +2 -2
- package/dist/chunks/{index-FKh7iFQE.d.ts → index-DPCwFiJL.d.ts} +2 -2
- package/dist/chunks/{index-DJr_ZK4b.d.ts → index-DQImhbhy.d.ts} +2 -2
- package/dist/chunks/{index-CJXKl97l.d.ts → index-DtvHH_Mb.d.ts} +2 -2
- package/dist/chunks/{index-CJzKu7QI.d.ts → index-Dzga1f4w.d.ts} +3 -3
- package/dist/chunks/{index-CKx1KHED.d.ts → index-NGgDkhyn.d.ts} +18 -25
- package/dist/chunks/{index-Dfy1YW5j.d.ts → index-U27Ar174.d.ts} +2 -2
- package/dist/chunks/{index-CsMIgBsd.d.ts → index-YJ9QdBuq.d.ts} +9 -10
- package/dist/chunks/{index-Dh5CaHTP.d.ts → index-aRdgpeRb.d.ts} +2 -2
- package/dist/chunks/{index-BO9jLOIb.d.ts → index-lSPcxiii.d.ts} +2 -2
- package/dist/chunks/{index-DceCODH9.d.ts → index-x0vZRyoU.d.ts} +2 -2
- package/dist/chunks/{list-BQCkwWjF.js → list-07e2a1Ym.js} +2 -2
- package/dist/chunks/{list-BQCkwWjF.js.map → list-07e2a1Ym.js.map} +1 -1
- package/dist/chunks/{menu-98EAD9nj.js → menu-Upf6P-2P.js} +2 -2
- package/dist/chunks/{menu-98EAD9nj.js.map → menu-Upf6P-2P.js.map} +1 -1
- package/dist/chunks/{nav-TiZuTHC6.js → nav-DI6oEULI.js} +2 -2
- package/dist/chunks/{nav-TiZuTHC6.js.map → nav-DI6oEULI.js.map} +1 -1
- package/dist/chunks/{nav-overflow-Ay5mM5Gc.js → nav-overflow-DlLer6EK.js} +2 -2
- package/dist/chunks/{nav-overflow-Ay5mM5Gc.js.map → nav-overflow-DlLer6EK.js.map} +1 -1
- package/dist/chunks/{notification-Ds24wnPq.js → notification-Dbci5Ka3.js} +2 -2
- package/dist/chunks/{notification-Ds24wnPq.js.map → notification-Dbci5Ka3.js.map} +1 -1
- package/dist/chunks/pagination-BREQp-ZC.js +2 -0
- package/dist/chunks/{pagination-BkOquk-x.js.map → pagination-BREQp-ZC.js.map} +1 -1
- package/dist/chunks/placeholder-DhNpUJqv.js +2 -0
- package/dist/chunks/placeholder-DhNpUJqv.js.map +1 -0
- package/dist/chunks/progress-BqgWezdG.js +2 -0
- package/dist/chunks/progress-BqgWezdG.js.map +1 -0
- package/dist/chunks/{radio-DOFYCfJi.js → radio-B6gJdtoN.js} +2 -2
- package/dist/chunks/{radio-DOFYCfJi.js.map → radio-B6gJdtoN.js.map} +1 -1
- package/dist/chunks/{renderFormCheck-DZh_5Df8.d.ts → renderFormCheck-nKgpa_a3.d.ts} +2 -2
- package/dist/chunks/skeleton-Bjv9gGd3.js +2 -0
- package/dist/chunks/skeleton-Bjv9gGd3.js.map +1 -0
- package/dist/chunks/spacingClassName-DVhk8m3P.js.map +1 -1
- package/dist/chunks/spinner-DBuvQvMR.js +2 -0
- package/dist/chunks/spinner-DBuvQvMR.js.map +1 -0
- package/dist/chunks/stack-DK5F53VT.js +2 -0
- package/dist/chunks/stack-DK5F53VT.js.map +1 -0
- package/dist/chunks/static-table-uu297Liz.js +2 -0
- package/dist/chunks/{static-table-D0M4oc_t.js.map → static-table-uu297Liz.js.map} +1 -1
- package/dist/chunks/{table-Cy6uEuEP.js → table-DPLOygg0.js} +2 -2
- package/dist/chunks/{table-Cy6uEuEP.js.map → table-DPLOygg0.js.map} +1 -1
- package/dist/chunks/tableClassName-DleBjOj2.js +2 -0
- package/dist/chunks/tableClassName-DleBjOj2.js.map +1 -0
- package/dist/chunks/{types-CS_40Txv.d.ts → types-D6FM7bYR.d.ts} +16 -2
- package/dist/close-button.d.ts +1 -1
- package/dist/datagrid.d.ts +1 -1
- package/dist/datagrid.js +1 -1
- package/dist/flex.d.ts +1 -1
- package/dist/flex.js +1 -1
- package/dist/grid.d.ts +2 -2
- package/dist/grid.js +1 -1
- package/dist/index.d.ts +32 -32
- package/dist/index.js +1 -1
- package/dist/link.d.ts +1 -1
- package/dist/link.js +1 -1
- package/dist/list.d.ts +1 -1
- package/dist/list.js +1 -1
- package/dist/menu.d.ts +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-overflow.d.ts +1 -1
- package/dist/nav-overflow.js +1 -1
- package/dist/nav.d.ts +1 -1
- package/dist/nav.js +1 -1
- package/dist/navbar.d.ts +1 -1
- package/dist/notification.d.ts +1 -1
- package/dist/notification.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/placeholder.d.ts +1 -1
- package/dist/placeholder.js +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/progress.js +1 -1
- package/dist/radio.d.ts +1 -1
- package/dist/radio.js +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.js +1 -1
- package/dist/stack.d.ts +1 -1
- package/dist/stack.js +1 -1
- package/dist/static-table.d.ts +1 -1
- package/dist/static-table.js +1 -1
- package/dist/stepper.d.ts +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/table.d.ts +1 -1
- package/dist/table.js +1 -1
- package/dist/toast.d.ts +1 -1
- package/package.json +4 -4
- package/dist/chunks/Link-CZsWCnQb.js +0 -2
- package/dist/chunks/Link-CZsWCnQb.js.map +0 -1
- package/dist/chunks/alert-BXI-_qlt.js +0 -2
- package/dist/chunks/breakpoints-CJ-498B7.d.ts +0 -7
- package/dist/chunks/breakpoints-o_2Ev7ir.js +0 -2
- package/dist/chunks/breakpoints-o_2Ev7ir.js.map +0 -1
- package/dist/chunks/card-YXn3bj_d.js +0 -2
- package/dist/chunks/card-YXn3bj_d.js.map +0 -1
- package/dist/chunks/datagrid-CH3Cy-q7.js +0 -3
- package/dist/chunks/datagrid-CH3Cy-q7.js.map +0 -1
- package/dist/chunks/flex-CmlJbKVj.js +0 -2
- package/dist/chunks/flex-CmlJbKVj.js.map +0 -1
- package/dist/chunks/grid-DK_vxz-4.js +0 -2
- package/dist/chunks/grid-DK_vxz-4.js.map +0 -1
- package/dist/chunks/index-CVUMS0x7.d.ts +0 -74
- package/dist/chunks/index-RHJhkSY-.d.ts +0 -273
- package/dist/chunks/pagination-BkOquk-x.js +0 -2
- package/dist/chunks/placeholder-BCr83sUn.js +0 -2
- package/dist/chunks/placeholder-BCr83sUn.js.map +0 -1
- package/dist/chunks/progress-zWkTltor.js +0 -2
- package/dist/chunks/progress-zWkTltor.js.map +0 -1
- package/dist/chunks/skeleton-BrD2JwNx.js +0 -2
- package/dist/chunks/skeleton-BrD2JwNx.js.map +0 -1
- package/dist/chunks/spinner-DblhvrHL.js +0 -2
- package/dist/chunks/spinner-DblhvrHL.js.map +0 -1
- package/dist/chunks/stack-CsMiQbpq.js +0 -2
- package/dist/chunks/stack-CsMiQbpq.js.map +0 -1
- package/dist/chunks/static-table-D0M4oc_t.js +0 -2
- package/dist/chunks/tableClassName-CZA2Bse8.js +0 -2
- package/dist/chunks/tableClassName-CZA2Bse8.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-Cy6uEuEP.js","names":["TableRow","TableCell","TableBody","StatelyTableBody","TableHeader","StatelyTableHeader"],"sources":["../../src/components/table/Table.tsx","../../src/components/table/TableBody.tsx","../../src/components/table/TableCell.tsx","../../src/components/table/TableColumn.tsx","../../src/components/table/TableHeader.tsx","../../src/components/table/TableRow.tsx"],"sourcesContent":["import React, { ReactElement, ReactNode, Ref, forwardRef, useRef } from 'react'\nimport classNames from 'classnames'\nimport {\n AriaCheckboxProps,\n Key,\n useCheckbox,\n useTable,\n useTableCell,\n useTableColumnHeader,\n useTableHeaderRow,\n useTableRow,\n useTableRowGroup,\n useTableSelectAllCheckbox,\n useTableSelectionCheckbox\n} from 'react-aria'\nimport {\n Selection,\n SortDescriptor,\n TableBodyProps,\n TableHeaderProps,\n TableState,\n useTableState,\n useToggleState\n} from 'react-stately'\n\nimport { useForkedRef } from '../../hooks/useForkedRef'\nimport { ContextColor } from '../../types'\nimport { tableClassName, tableWrapperClassName } from '../../utils/tableClassName'\nimport './Table.css'\n\n// `GridNode<T>` (from `@react-types/shared`) isn't re-exported by either package's public\n// surface — derived from the hooks' own parameter types instead of adding an undeclared\n// dependency on react-aria/react-stately's shared internals package.\ntype ColumnNode<T> = Parameters<typeof useTableColumnHeader<T>>[0]['node']\ntype RowNode<T> = Parameters<typeof useTableRow<T>>[0]['node']\ntype CellNode<T> = Parameters<typeof useTableCell<T>>[0]['node']\n\nexport interface TableProps<T extends object> {\n /**\n * An accessible label for the table, used when there's no visible heading.\n */\n 'aria-label'?: string\n /**\n * Identifies a visible heading element for the table.\n */\n 'aria-labelledby'?: string\n /**\n * Set the vertical alignment of cell content.\n */\n align?: 'bottom' | 'middle' | 'top'\n /**\n * Add borders on all sides of the table and cells.\n */\n bordered?: boolean\n /**\n * Remove borders on all sides of the table and cells.\n */\n borderless?: boolean\n /**\n * Content shown above the table, functioning as a heading for it.\n */\n caption?: ReactNode\n /**\n * A `TableHeader` and a `TableBody`, each built from `TableColumn`/`TableRow`/\n * `TableCell` — read as data to build the table's collection. Not rendered directly.\n */\n children: [\n ReactElement<TableHeaderProps<T> & { className?: string }>,\n ReactElement<TableBodyProps<T> & { className?: string }>\n ]\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color of the component.\n */\n color?: ContextColor\n /**\n * A list of row keys to disable. Disabled rows cannot be selected, focused, or interacted with.\n */\n disabledKeys?: Iterable<Key>\n /**\n * Content shown below the table in a `<tfoot>`, e.g. a totals row. Rendered as plain markup —\n * not part of the keyboard-navigable grid.\n */\n footer?: ReactNode\n /**\n * Enable a hover state on table rows.\n */\n hover?: boolean\n /**\n * `id` forwarded to the table element.\n */\n id?: string\n /**\n * Handler that is called when the selection changes.\n */\n onSelectionChange?: (keys: Selection) => void\n /**\n * Handler that is called when a column is sorted.\n */\n onSortChange?: (descriptor: SortDescriptor) => void\n /**\n * Make any table responsive across all viewports or pick a maximum breakpoint.\n */\n responsive?: boolean | 'sm' | 'md' | 'lg' | 'xl' | '2xl'\n /**\n * The currently selected row keys (controlled).\n */\n selectedKeys?: Selection\n /**\n * The type of selection that is allowed.\n */\n selectionMode?: 'none' | 'single' | 'multiple'\n /**\n * Make table more compact by cutting all cell padding.\n */\n sm?: boolean\n /**\n * The current sort column and direction.\n */\n sortDescriptor?: SortDescriptor\n /**\n * Convert rows into stacked label/value blocks below a container width, for tables with too\n * many columns to read comfortably even with horizontal scrolling. `true` always stacks; a\n * breakpoint name stacks only below it. Implies `responsive` when `responsive` isn't set\n * separately, since stacking needs the same `.table-responsive` container-query ancestor.\n * Labels come from each `TableColumn`'s text (or its `textValue`, for non-text headers).\n */\n stacked?: boolean | 'sm' | 'md' | 'lg' | 'xl' | '2xl'\n /**\n * Add zebra-striping to table rows.\n */\n striped?: boolean\n}\n\nconst TableInner = <T extends object>(\n {\n align,\n bordered,\n borderless,\n caption,\n children,\n className,\n color,\n disabledKeys,\n footer,\n hover,\n id,\n onSelectionChange,\n onSortChange,\n responsive,\n selectedKeys,\n selectionMode = 'none',\n sm,\n sortDescriptor,\n stacked,\n striped,\n ...rest\n }: TableProps<T>,\n forwardedRef: Ref<HTMLTableElement>\n) => {\n const state = useTableState<T>({\n children,\n disabledKeys,\n onSelectionChange,\n onSortChange,\n selectedKeys,\n selectionMode,\n showSelectionCheckboxes: selectionMode === 'multiple',\n sortDescriptor\n })\n\n const internalRef = useRef<HTMLTableElement>(null)\n const ref = useForkedRef(internalRef, forwardedRef)\n const { gridProps } = useTable(\n { 'aria-label': rest['aria-label'], 'aria-labelledby': rest['aria-labelledby'], id },\n state,\n internalRef\n )\n\n const _className = tableClassName({\n align,\n bordered,\n borderless,\n className,\n color,\n hover,\n sm,\n stacked,\n striped\n })\n\n const tableEl = (\n // react-aria joins the table's descriptions without dropping an empty result, so a table\n // with none had `aria-describedby=\"\"`.\n <table\n {...gridProps}\n aria-describedby={gridProps['aria-describedby'] || undefined}\n className={_className}\n ref={ref}\n >\n {caption && <caption>{caption}</caption>}\n <TableRowGroup className={children[0].props.className} type=\"thead\">\n {state.collection.headerRows.map((headerRow) => (\n <TableHeaderRow key={headerRow.key} item={headerRow} state={state}>\n {[...(state.collection.getChildren?.(headerRow.key) ?? [])].map((column) =>\n column.props?.isSelectionCell ? (\n <TableSelectAllCell key={column.key} column={column} state={state} />\n ) : (\n <TableColumnHeader key={column.key} column={column} state={state} />\n )\n )}\n </TableHeaderRow>\n ))}\n </TableRowGroup>\n <TableRowGroup className={children[1].props.className} type=\"tbody\">\n {[...state.collection.body.childNodes].map((row) => (\n <TableRow key={row.key} item={row} state={state}>\n {[...(state.collection.getChildren?.(row.key) ?? [])].map((cell) =>\n cell.props?.isSelectionCell ? (\n <TableSelectionCell key={cell.key} cell={cell} state={state} />\n ) : (\n <TableCell key={cell.key} cell={cell} stacked={!!stacked} state={state} />\n )\n )}\n </TableRow>\n ))}\n </TableRowGroup>\n {footer && <tfoot>{footer}</tfoot>}\n </table>\n )\n\n const wrapperClassName = tableWrapperClassName({ responsive, stacked })\n if (!wrapperClassName) return tableEl\n\n return <div className={wrapperClassName}>{tableEl}</div>\n}\n\n// `forwardRef` erases type parameters, so the generic component is cast back to a generic\n// signature for callers — same reasoning as `TableHeader`/`TableBody`'s casts above.\nexport const Table = forwardRef(TableInner) as <T extends object>(\n props: TableProps<T> & { ref?: Ref<HTMLTableElement> }\n) => ReactElement\n\n;(Table as { displayName?: string }).displayName = 'Table'\n\nconst TableRowGroup = ({\n className,\n type: Element,\n children\n}: {\n children: ReactNode\n className?: string\n type: 'thead' | 'tbody'\n}) => {\n const { rowGroupProps } = useTableRowGroup()\n return (\n <Element {...rowGroupProps} className={className || undefined}>\n {children}\n </Element>\n )\n}\n\ninterface TableHeaderRowProps<T> {\n children: ReactNode\n item: RowNode<T>\n state: TableState<T>\n}\n\nconst TableHeaderRow = <T extends object>({ children, item, state }: TableHeaderRowProps<T>) => {\n const ref = useRef<HTMLTableRowElement>(null)\n const { rowProps } = useTableHeaderRow({ node: item }, state, ref)\n return (\n <tr {...rowProps} ref={ref}>\n {children}\n </tr>\n )\n}\n\ninterface TableColumnHeaderProps<T> {\n column: ColumnNode<T>\n state: TableState<T>\n}\n\nconst TableColumnHeader = <T extends object>({ column, state }: TableColumnHeaderProps<T>) => {\n const ref = useRef<HTMLTableCellElement>(null)\n const { columnHeaderProps } = useTableColumnHeader({ node: column }, state, ref)\n const sortActive = state.sortDescriptor?.column === column.key\n const sortIcon = state.sortDescriptor?.direction === 'ascending' ? '▲' : '▼'\n\n return (\n <th\n {...columnHeaderProps}\n className={column.props?.className || undefined}\n colSpan={column.colSpan ?? undefined}\n // react-aria's `useTableColumnHeader` supplies `role=\"columnheader\"` for the ARIA grid\n // pattern but no `scope`, so the native table semantics were left ambiguous — a `<th>` with\n // no `scope` fails WCAG H63, and assistive technology reading the table natively (rather\n // than through the grid roles) has to guess whether the header applies to its column or its\n // row. These are always column headers; the row-header case doesn't exist in this API.\n scope=\"col\"\n ref={ref}\n >\n {column.rendered}\n {column.props?.allowsSorting && (\n <span aria-hidden=\"true\" className=\"table-sort-icon\">\n {sortActive ? sortIcon : '⇅'}\n </span>\n )}\n </th>\n )\n}\n\ninterface TableSelectAllCellProps<T> {\n column: ColumnNode<T>\n state: TableState<T>\n}\n\nconst TableSelectAllCell = <T extends object>({ column, state }: TableSelectAllCellProps<T>) => {\n const ref = useRef<HTMLTableCellElement>(null)\n const { columnHeaderProps } = useTableColumnHeader({ node: column }, state, ref)\n const { checkboxProps } = useTableSelectAllCheckbox(state)\n\n return (\n <th\n {...columnHeaderProps}\n className=\"table-selection-cell\"\n scope=\"col\"\n // react-stately's internal \"select all\" column key is a module-scoped\n // `'row-header-column-' + Math.random()` constant (@react-stately/table's TableCollection),\n // computed once per JS environment rather than per render. Under SSR this makes `id`/\n // `data-key` here differ between the server module instance and the browser's, on every\n // request — a real react-stately bug, not something this component can influence (the key\n // never reaches a public prop) — see README.md's Table/DataGrid known-issue section for the\n // upstream write-up. The mismatch is confined to this internal bookkeeping attribute (no\n // visible content, nothing else references this id), so suppressing the warning is safe\n // rather than papering over a real functional break.\n suppressHydrationWarning\n ref={ref}\n >\n <TableCheckbox checkboxProps={checkboxProps} />\n </th>\n )\n}\n\ninterface TableRowProps<T> {\n children: ReactNode\n item: RowNode<T>\n state: TableState<T>\n}\n\nconst TableRow = <T extends object>({ children, item, state }: TableRowProps<T>) => {\n const ref = useRef<HTMLTableRowElement>(null)\n const { rowProps } = useTableRow({ node: item }, state, ref)\n const isSelected = state.selectionManager.isSelected(item.key)\n\n return (\n <tr\n {...rowProps}\n className={classNames({ active: isSelected }, item.props?.className)}\n ref={ref}\n >\n {children}\n </tr>\n )\n}\n\ninterface TableCellProps<T> {\n cell: CellNode<T>\n stacked?: boolean\n state: TableState<T>\n}\n\nconst TableCell = <T extends object>({ cell, stacked, state }: TableCellProps<T>) => {\n const ref = useRef<HTMLTableCellElement>(null)\n const { gridCellProps } = useTableCell({ node: cell }, state, ref)\n\n return (\n <td\n {...gridCellProps}\n className={cell.props?.className || undefined}\n data-cell={stacked ? cell.column?.textValue || undefined : undefined}\n ref={ref}\n >\n {cell.rendered}\n </td>\n )\n}\n\nconst TableSelectionCell = <T extends object>({ cell, state }: TableCellProps<T>) => {\n const ref = useRef<HTMLTableCellElement>(null)\n const { gridCellProps } = useTableCell({ node: cell }, state, ref)\n const { checkboxProps } = useTableSelectionCheckbox({ key: cell.parentKey! }, state)\n\n return (\n // See `TableSelectAllCell`'s comment: this cell's `id`/`data-key` derive from the same\n // module-scoped random column key and mismatch between server and client under SSR.\n <td {...gridCellProps} className=\"table-selection-cell\" suppressHydrationWarning ref={ref}>\n <TableCheckbox checkboxProps={checkboxProps} />\n </td>\n )\n}\n\nconst TableCheckbox = ({ checkboxProps }: { checkboxProps: AriaCheckboxProps }) => {\n const toggleState = useToggleState(checkboxProps)\n const ref = useRef<HTMLInputElement>(null)\n const { inputProps } = useCheckbox(checkboxProps, toggleState, ref)\n\n // `aria-describedby` after the spread: react-aria's own adds ids it never renders (FORMS.md,\n // gotcha 6).\n return <input {...inputProps} aria-describedby={undefined} className=\"check-input\" ref={ref} />\n}\n","import { ReactElement } from 'react'\nimport { TableBody as StatelyTableBody } from 'react-stately'\n\nexport interface TableBodyProps<T> {\n /**\n * `TableRow` elements, or a render function paired with `items` for dynamic row generation.\n */\n children: ReactElement | ReactElement[] | ((item: T) => ReactElement)\n /**\n * A string of all className you want applied to the `<tbody>` element.\n */\n className?: string\n /**\n * A list of row data objects, rendered via the function form of `children`.\n */\n items?: Iterable<T>\n}\n\n/**\n * Collection node, data-only — read by `Table` to build the table's row collection. Never\n * rendered directly.\n */\nexport const TableBody = StatelyTableBody as unknown as <T>(\n props: TableBodyProps<T>\n) => ReactElement\n","import { ReactElement, ReactNode } from 'react'\nimport { Cell } from 'react-stately'\n\nexport interface TableCellProps {\n /**\n * The contents of the cell.\n */\n children: ReactNode\n /**\n * A string of all className you want applied to the cell.\n */\n className?: string\n /**\n * Indicates how many columns the cell spans.\n */\n colSpan?: number\n /**\n * A string representation of the cell's contents, used for typeahead.\n */\n textValue?: string\n}\n\n/**\n * Collection node, data-only — see `TableHeader`. Read by `Table` to build a cell in the\n * table's collection; never rendered directly.\n */\nexport const TableCell = Cell as unknown as (props: TableCellProps) => ReactElement\n","import { ReactElement, ReactNode } from 'react'\nimport { Column } from 'react-stately'\n\nexport interface TableColumnProps {\n /**\n * Whether the column allows sorting. Adds a sort indicator and makes the header\n * clickable/keyboard-activatable.\n */\n allowsSorting?: boolean\n /**\n * Rendered contents of the column header.\n */\n children: ReactNode\n /**\n * A string of all className you want applied to the column header.\n */\n className?: string\n /**\n * A string representation of the column header, used for accessibility announcements and,\n * when `Table`'s `stacked` prop is set, as the label shown before each row's value for this\n * column. Defaults to `children` when it's a plain string — set this explicitly when the\n * header contains anything else (an icon, a `Tooltip`, etc.).\n */\n textValue?: string\n}\n\n/**\n * Collection node, data-only — see `TableHeader`. Read by `Table` to build a column in the\n * table's collection; never rendered directly.\n */\nexport const TableColumn = Column as unknown as (props: TableColumnProps) => ReactElement\n","import { ReactElement } from 'react'\nimport { TableHeader as StatelyTableHeader } from 'react-stately'\n\nexport interface TableHeaderProps<T> {\n /**\n * `TableColumn` elements, or a render function paired with `columns` for dynamic column\n * generation.\n */\n children: ReactElement | ReactElement[] | ((column: T) => ReactElement)\n /**\n * A string of all className you want applied to the `<thead>` element.\n */\n className?: string\n /**\n * A list of column data objects, rendered via the function form of `children`.\n */\n columns?: readonly T[]\n}\n\n/**\n * Collection node, data-only — read by `Table` to build the table's column collection. Never\n * rendered directly.\n */\nexport const TableHeader = StatelyTableHeader as unknown as <T>(\n props: TableHeaderProps<T>\n) => ReactElement\n","import { Key, ReactElement } from 'react'\nimport { Row } from 'react-stately'\n\nexport interface TableRowProps {\n /**\n * `TableCell` elements, or a render function called once per column with that column's key —\n * required when the row's parent `TableBody` uses the `items`/render-function form.\n */\n children: ReactElement | ReactElement[] | ((columnKey: Key) => ReactElement)\n /**\n * A string of all className you want applied to the row.\n */\n className?: string\n /**\n * A string representation of the row's contents, used for typeahead.\n */\n textValue?: string\n}\n\n/**\n * Collection node, data-only — see `TableHeader`. Read by `Table` to build a row in the\n * table's collection; never rendered directly.\n */\nexport const TableRow = Row as unknown as (props: TableRowProps) => ReactElement\n"],"mappings":"ojBAkPA,MAAa,EAAQ,GAxGnB,CACE,QACA,WACA,aACA,UACA,WACA,YACA,QACA,eACA,SACA,QACA,KACA,oBACA,eACA,aACA,eACA,gBAAgB,OAChB,KACA,iBACA,UACA,UACA,GAAG,GAEL,IACG,CACH,IAAM,EAAQ,EAAiB,CAC7B,WACA,eACA,oBACA,eACA,eACA,gBACA,wBAAyB,IAAkB,WAC3C,gBACF,CAAC,EAEK,EAAc,EAAyB,IAAI,EAC3C,EAAM,EAAa,EAAa,CAAY,EAC5C,CAAE,aAAc,EACpB,CAAE,aAAc,EAAK,cAAe,kBAAmB,EAAK,mBAAoB,IAAG,EACnF,EACA,CACF,EAEM,EAAa,EAAe,CAChC,QACA,WACA,aACA,YACA,QACA,QACA,KACA,UACA,SACF,CAAC,EAEK,EAGJ,EAAA,cAAC,QAAD,CACE,GAAI,EACJ,mBAAkB,EAAU,qBAAuB,IAAA,GACnD,UAAW,EACN,KA8BA,EA5BJ,GAAW,EAAA,cAAC,UAAA,KAAS,CAAiB,EACvC,EAAA,cAAC,EAAD,CAAe,UAAW,EAAS,EAAE,CAAC,MAAM,UAAW,KAAK,OAY7C,EAXZ,EAAM,WAAW,WAAW,IAAK,GAChC,EAAA,cAAC,EAAD,CAAgB,IAAK,EAAU,IAAK,KAAM,EAAkB,OAQ5C,EAPb,CAAC,GAAI,EAAM,WAAW,cAAc,EAAU,GAAG,GAAK,CAAC,CAAE,CAAC,CAAC,IAAK,GAC/D,EAAO,OAAO,gBACZ,EAAA,cAAC,EAAD,CAAoB,IAAK,EAAO,IAAa,SAAe,OAAQ,CAAA,EAEpE,EAAA,cAAC,EAAD,CAAmB,IAAK,EAAO,IAAa,SAAe,OAAQ,CAAA,CAEvE,CACc,CACjB,CACY,EACf,EAAA,cAAC,EAAD,CAAe,UAAW,EAAS,EAAE,CAAC,MAAM,UAAW,KAAK,OAY7C,EAXZ,CAAC,GAAG,EAAM,WAAW,KAAK,UAAU,CAAC,CAAC,IAAK,GAC1C,EAAA,cAACA,EAAD,CAAU,IAAK,EAAI,IAAK,KAAM,EAAY,OAQhC,EAPP,CAAC,GAAI,EAAM,WAAW,cAAc,EAAI,GAAG,GAAK,CAAC,CAAE,CAAC,CAAC,IAAK,GACzD,EAAK,OAAO,gBACV,EAAA,cAAC,EAAD,CAAoB,IAAK,EAAK,IAAW,OAAa,OAAQ,CAAA,EAE9D,EAAA,cAACC,EAAD,CAAW,IAAK,EAAK,IAAW,OAAM,QAAS,CAAC,CAAC,EAAgB,OAAQ,CAAA,CAE7E,CACQ,CACX,CACY,EACd,GAAU,EAAA,cAAC,QAAA,KAAO,CAAc,CAC5B,EAGH,EAAmB,EAAsB,CAAE,aAAY,SAAQ,CAAC,EAGtE,OAFK,EAEE,EAAA,cAAC,MAAD,CAAK,UAAW,CAAgC,EAAb,CAAa,EAFzB,CAGhC,CAI0C,EAIzC,EAAoC,YAAc,QAEnD,MAAM,GAAiB,CACrB,YACA,KAAM,EACN,cAKI,CACJ,GAAM,CAAE,iBAAkB,EAAiB,EAC3C,OACE,EAAA,cAAC,EAAD,CAAS,GAAI,EAAe,UAAW,GAAa,IAAA,EAE3C,EADN,CACM,CAEb,EAQM,GAAoC,CAAE,WAAU,OAAM,WAAoC,CAC9F,IAAM,EAAM,EAA4B,IAAI,EACtC,CAAE,YAAa,EAAkB,CAAE,KAAM,CAAK,EAAG,EAAO,CAAG,EACjE,OACE,EAAA,cAAC,KAAD,CAAI,GAAI,EAAe,KAEnB,EADD,CACC,CAER,EAOM,GAAuC,CAAE,SAAQ,WAAuC,CAC5F,IAAM,EAAM,EAA6B,IAAI,EACvC,CAAE,qBAAsB,EAAqB,CAAE,KAAM,CAAO,EAAG,EAAO,CAAG,EACzE,EAAa,EAAM,gBAAgB,SAAW,EAAO,IACrD,EAAW,EAAM,gBAAgB,YAAc,YAAc,IAAM,IAEzE,OACE,EAAA,cAAC,KAAD,CACE,GAAI,EACJ,UAAW,EAAO,OAAO,WAAa,IAAA,GACtC,QAAS,EAAO,SAAW,IAAA,GAM3B,MAAM,MACD,KAQH,EAND,EAAO,SACP,EAAO,OAAO,eACb,EAAA,cAAC,OAAD,CAAM,cAAY,OAAO,UAAU,iBAE7B,EADH,EAAa,EAAW,GACrB,CAEN,CAER,EAOM,GAAwC,CAAE,SAAQ,WAAwC,CAC9F,IAAM,EAAM,EAA6B,IAAI,EACvC,CAAE,qBAAsB,EAAqB,CAAE,KAAM,CAAO,EAAG,EAAO,CAAG,EACzE,CAAE,iBAAkB,EAA0B,CAAK,EAEzD,OACE,EAAA,cAAC,KAAD,CACE,GAAI,EACJ,UAAU,uBACV,MAAM,MAUN,yBAAA,GACK,KAGH,EADF,EAAA,cAAC,EAAD,CAA8B,eAAgB,CAAA,CAC5C,CAER,EAQMD,GAA8B,CAAE,WAAU,OAAM,WAA8B,CAClF,IAAM,EAAM,EAA4B,IAAI,EACtC,CAAE,YAAa,EAAY,CAAE,KAAM,CAAK,EAAG,EAAO,CAAG,EACrD,EAAa,EAAM,iBAAiB,WAAW,EAAK,GAAG,EAE7D,OACE,EAAA,cAAC,KAAD,CACE,GAAI,EACJ,UAAW,EAAW,CAAE,OAAQ,CAAW,EAAG,EAAK,OAAO,SAAS,EAC9D,KAGH,EADD,CACC,CAER,EAQMC,GAA+B,CAAE,OAAM,UAAS,WAA+B,CACnF,IAAM,EAAM,EAA6B,IAAI,EACvC,CAAE,iBAAkB,EAAa,CAAE,KAAM,CAAK,EAAG,EAAO,CAAG,EAEjE,OACE,EAAA,cAAC,KAAD,CACE,GAAI,EACJ,UAAW,EAAK,OAAO,WAAa,IAAA,GACpC,YAAW,GAAU,EAAK,QAAQ,WAAyB,IAAA,GACtD,KAGH,EADD,EAAK,QACJ,CAER,EAEM,GAAwC,CAAE,OAAM,WAA+B,CACnF,IAAM,EAAM,EAA6B,IAAI,EACvC,CAAE,iBAAkB,EAAa,CAAE,KAAM,CAAK,EAAG,EAAO,CAAG,EAC3D,CAAE,iBAAkB,EAA0B,CAAE,IAAK,EAAK,SAAW,EAAG,CAAK,EAEnF,OAGE,EAAA,cAAC,KAAD,CAAI,GAAI,EAAe,UAAU,uBAAuB,yBAAA,GAA8B,KAElF,EADF,EAAA,cAAC,EAAD,CAA8B,eAAgB,CAAA,CAC5C,CAER,EAEM,GAAiB,CAAE,mBAA0D,CACjF,IAAM,EAAc,EAAe,CAAa,EAC1C,EAAM,EAAyB,IAAI,EACnC,CAAE,cAAe,EAAY,EAAe,EAAa,CAAG,EAIlE,OAAO,EAAA,cAAC,QAAD,CAAO,GAAI,EAAY,mBAAkB,IAAA,GAAW,UAAU,cAAmB,KAAM,CAAA,CAChG,ECvYaC,EAAYC,ECIZ,EAAY,ECIZ,EAAc,ECPdC,EAAcC,ECAd,EAAW"}
|
|
1
|
+
{"version":3,"file":"table-DPLOygg0.js","names":["TableRow","TableCell","TableBody","StatelyTableBody","TableHeader","StatelyTableHeader"],"sources":["../../src/components/table/Table.tsx","../../src/components/table/TableBody.tsx","../../src/components/table/TableCell.tsx","../../src/components/table/TableColumn.tsx","../../src/components/table/TableHeader.tsx","../../src/components/table/TableRow.tsx"],"sourcesContent":["import React, { ReactElement, ReactNode, Ref, forwardRef, useRef } from 'react'\nimport classNames from 'classnames'\nimport {\n AriaCheckboxProps,\n Key,\n useCheckbox,\n useTable,\n useTableCell,\n useTableColumnHeader,\n useTableHeaderRow,\n useTableRow,\n useTableRowGroup,\n useTableSelectAllCheckbox,\n useTableSelectionCheckbox\n} from 'react-aria'\nimport {\n Selection,\n SortDescriptor,\n TableBodyProps,\n TableHeaderProps,\n TableState,\n useTableState,\n useToggleState\n} from 'react-stately'\n\nimport { useForkedRef } from '../../hooks/useForkedRef'\nimport { ContextColor } from '../../types'\nimport { tableClassName, tableWrapperClassName } from '../../utils/tableClassName'\nimport './Table.css'\n\n// `GridNode<T>` (from `@react-types/shared`) isn't re-exported by either package's public\n// surface — derived from the hooks' own parameter types instead of adding an undeclared\n// dependency on react-aria/react-stately's shared internals package.\ntype ColumnNode<T> = Parameters<typeof useTableColumnHeader<T>>[0]['node']\ntype RowNode<T> = Parameters<typeof useTableRow<T>>[0]['node']\ntype CellNode<T> = Parameters<typeof useTableCell<T>>[0]['node']\n\nexport interface TableProps<T extends object> {\n /**\n * An accessible label for the table, used when there's no visible heading.\n */\n 'aria-label'?: string\n /**\n * Identifies a visible heading element for the table.\n */\n 'aria-labelledby'?: string\n /**\n * Set the vertical alignment of cell content.\n */\n align?: 'bottom' | 'middle' | 'top'\n /**\n * Add borders on all sides of the table and cells.\n */\n bordered?: boolean\n /**\n * Remove borders on all sides of the table and cells.\n */\n borderless?: boolean\n /**\n * Content shown above the table, functioning as a heading for it.\n */\n caption?: ReactNode\n /**\n * A `TableHeader` and a `TableBody`, each built from `TableColumn`/`TableRow`/\n * `TableCell` — read as data to build the table's collection. Not rendered directly.\n */\n children: [\n ReactElement<TableHeaderProps<T> & { className?: string }>,\n ReactElement<TableBodyProps<T> & { className?: string }>\n ]\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color of the component.\n */\n color?: ContextColor\n /**\n * A list of row keys to disable. Disabled rows cannot be selected, focused, or interacted with.\n */\n disabledKeys?: Iterable<Key>\n /**\n * Content shown below the table in a `<tfoot>`, e.g. a totals row. Rendered as plain markup —\n * not part of the keyboard-navigable grid.\n */\n footer?: ReactNode\n /**\n * Enable a hover state on table rows.\n */\n hover?: boolean\n /**\n * `id` forwarded to the table element.\n */\n id?: string\n /**\n * Handler that is called when the selection changes.\n */\n onSelectionChange?: (keys: Selection) => void\n /**\n * Handler that is called when a column is sorted.\n */\n onSortChange?: (descriptor: SortDescriptor) => void\n /**\n * Make any table responsive across all viewports or pick a maximum breakpoint.\n */\n responsive?: boolean | 'sm' | 'md' | 'lg' | 'xl' | '2xl'\n /**\n * The currently selected row keys (controlled).\n */\n selectedKeys?: Selection\n /**\n * The type of selection that is allowed.\n */\n selectionMode?: 'none' | 'single' | 'multiple'\n /**\n * Make table more compact by cutting all cell padding.\n */\n sm?: boolean\n /**\n * The current sort column and direction.\n */\n sortDescriptor?: SortDescriptor\n /**\n * Convert rows into stacked label/value blocks below a container width, for tables with too\n * many columns to read comfortably even with horizontal scrolling. `true` always stacks; a\n * breakpoint name stacks only below it. Implies `responsive` when `responsive` isn't set\n * separately, since stacking needs the same `.table-responsive` container-query ancestor.\n * Labels come from each `TableColumn`'s text (or its `textValue`, for non-text headers).\n */\n stacked?: boolean | 'sm' | 'md' | 'lg' | 'xl' | '2xl'\n /**\n * Add zebra-striping to table rows.\n */\n striped?: boolean\n}\n\nconst TableInner = <T extends object>(\n {\n align,\n bordered,\n borderless,\n caption,\n children,\n className,\n color,\n disabledKeys,\n footer,\n hover,\n id,\n onSelectionChange,\n onSortChange,\n responsive,\n selectedKeys,\n selectionMode = 'none',\n sm,\n sortDescriptor,\n stacked,\n striped,\n ...rest\n }: TableProps<T>,\n forwardedRef: Ref<HTMLTableElement>\n) => {\n const state = useTableState<T>({\n children,\n disabledKeys,\n onSelectionChange,\n onSortChange,\n selectedKeys,\n selectionMode,\n showSelectionCheckboxes: selectionMode === 'multiple',\n sortDescriptor\n })\n\n const internalRef = useRef<HTMLTableElement>(null)\n const ref = useForkedRef(internalRef, forwardedRef)\n const { gridProps } = useTable(\n { 'aria-label': rest['aria-label'], 'aria-labelledby': rest['aria-labelledby'], id },\n state,\n internalRef\n )\n\n const _className = tableClassName({\n align,\n bordered,\n borderless,\n className,\n color,\n hover,\n sm,\n stacked,\n striped\n })\n\n const tableEl = (\n // react-aria joins the table's descriptions without dropping an empty result, so a table\n // with none had `aria-describedby=\"\"`.\n <table\n {...gridProps}\n aria-describedby={gridProps['aria-describedby'] || undefined}\n className={_className}\n ref={ref}\n >\n {caption && <caption>{caption}</caption>}\n <TableRowGroup className={children[0].props.className} type=\"thead\">\n {state.collection.headerRows.map((headerRow) => (\n <TableHeaderRow key={headerRow.key} item={headerRow} state={state}>\n {[...(state.collection.getChildren?.(headerRow.key) ?? [])].map((column) =>\n column.props?.isSelectionCell ? (\n <TableSelectAllCell key={column.key} column={column} state={state} />\n ) : (\n <TableColumnHeader key={column.key} column={column} state={state} />\n )\n )}\n </TableHeaderRow>\n ))}\n </TableRowGroup>\n <TableRowGroup className={children[1].props.className} type=\"tbody\">\n {[...state.collection.body.childNodes].map((row) => (\n <TableRow key={row.key} item={row} state={state}>\n {[...(state.collection.getChildren?.(row.key) ?? [])].map((cell) =>\n cell.props?.isSelectionCell ? (\n <TableSelectionCell key={cell.key} cell={cell} state={state} />\n ) : (\n <TableCell key={cell.key} cell={cell} stacked={!!stacked} state={state} />\n )\n )}\n </TableRow>\n ))}\n </TableRowGroup>\n {footer && <tfoot>{footer}</tfoot>}\n </table>\n )\n\n const wrapperClassName = tableWrapperClassName({ responsive, stacked })\n if (!wrapperClassName) return tableEl\n\n return <div className={wrapperClassName}>{tableEl}</div>\n}\n\n// `forwardRef` erases type parameters, so the generic component is cast back to a generic\n// signature for callers — same reasoning as `TableHeader`/`TableBody`'s casts above.\nexport const Table = forwardRef(TableInner) as <T extends object>(\n props: TableProps<T> & { ref?: Ref<HTMLTableElement> }\n) => ReactElement\n\n;(Table as { displayName?: string }).displayName = 'Table'\n\nconst TableRowGroup = ({\n className,\n type: Element,\n children\n}: {\n children: ReactNode\n className?: string\n type: 'thead' | 'tbody'\n}) => {\n const { rowGroupProps } = useTableRowGroup()\n return (\n <Element {...rowGroupProps} className={className || undefined}>\n {children}\n </Element>\n )\n}\n\ninterface TableHeaderRowProps<T> {\n children: ReactNode\n item: RowNode<T>\n state: TableState<T>\n}\n\nconst TableHeaderRow = <T extends object>({ children, item, state }: TableHeaderRowProps<T>) => {\n const ref = useRef<HTMLTableRowElement>(null)\n const { rowProps } = useTableHeaderRow({ node: item }, state, ref)\n return (\n <tr {...rowProps} ref={ref}>\n {children}\n </tr>\n )\n}\n\ninterface TableColumnHeaderProps<T> {\n column: ColumnNode<T>\n state: TableState<T>\n}\n\nconst TableColumnHeader = <T extends object>({ column, state }: TableColumnHeaderProps<T>) => {\n const ref = useRef<HTMLTableCellElement>(null)\n const { columnHeaderProps } = useTableColumnHeader({ node: column }, state, ref)\n const sortActive = state.sortDescriptor?.column === column.key\n const sortIcon = state.sortDescriptor?.direction === 'ascending' ? '▲' : '▼'\n\n return (\n <th\n {...columnHeaderProps}\n className={column.props?.className || undefined}\n colSpan={column.colSpan ?? undefined}\n // react-aria's `useTableColumnHeader` supplies `role=\"columnheader\"` for the ARIA grid\n // pattern but no `scope`, so the native table semantics were left ambiguous — a `<th>` with\n // no `scope` fails WCAG H63, and assistive technology reading the table natively (rather\n // than through the grid roles) has to guess whether the header applies to its column or its\n // row. These are always column headers; the row-header case doesn't exist in this API.\n scope=\"col\"\n ref={ref}\n >\n {column.rendered}\n {column.props?.allowsSorting && (\n <span aria-hidden=\"true\" className=\"table-sort-icon\">\n {sortActive ? sortIcon : '⇅'}\n </span>\n )}\n </th>\n )\n}\n\ninterface TableSelectAllCellProps<T> {\n column: ColumnNode<T>\n state: TableState<T>\n}\n\nconst TableSelectAllCell = <T extends object>({ column, state }: TableSelectAllCellProps<T>) => {\n const ref = useRef<HTMLTableCellElement>(null)\n const { columnHeaderProps } = useTableColumnHeader({ node: column }, state, ref)\n const { checkboxProps } = useTableSelectAllCheckbox(state)\n\n return (\n <th\n {...columnHeaderProps}\n className=\"table-selection-cell\"\n scope=\"col\"\n // react-stately's internal \"select all\" column key is a module-scoped\n // `'row-header-column-' + Math.random()` constant (@react-stately/table's TableCollection),\n // computed once per JS environment rather than per render. Under SSR this makes `id`/\n // `data-key` here differ between the server module instance and the browser's, on every\n // request — a real react-stately bug, not something this component can influence (the key\n // never reaches a public prop) — see README.md's Table/DataGrid known-issue section for the\n // upstream write-up. The mismatch is confined to this internal bookkeeping attribute (no\n // visible content, nothing else references this id), so suppressing the warning is safe\n // rather than papering over a real functional break.\n suppressHydrationWarning\n ref={ref}\n >\n <TableCheckbox checkboxProps={checkboxProps} />\n </th>\n )\n}\n\ninterface TableRowProps<T> {\n children: ReactNode\n item: RowNode<T>\n state: TableState<T>\n}\n\nconst TableRow = <T extends object>({ children, item, state }: TableRowProps<T>) => {\n const ref = useRef<HTMLTableRowElement>(null)\n const { rowProps } = useTableRow({ node: item }, state, ref)\n const isSelected = state.selectionManager.isSelected(item.key)\n\n return (\n <tr\n {...rowProps}\n className={classNames({ active: isSelected }, item.props?.className)}\n ref={ref}\n >\n {children}\n </tr>\n )\n}\n\ninterface TableCellProps<T> {\n cell: CellNode<T>\n stacked?: boolean\n state: TableState<T>\n}\n\nconst TableCell = <T extends object>({ cell, stacked, state }: TableCellProps<T>) => {\n const ref = useRef<HTMLTableCellElement>(null)\n const { gridCellProps } = useTableCell({ node: cell }, state, ref)\n\n return (\n <td\n {...gridCellProps}\n className={cell.props?.className || undefined}\n data-cell={stacked ? cell.column?.textValue || undefined : undefined}\n ref={ref}\n >\n {cell.rendered}\n </td>\n )\n}\n\nconst TableSelectionCell = <T extends object>({ cell, state }: TableCellProps<T>) => {\n const ref = useRef<HTMLTableCellElement>(null)\n const { gridCellProps } = useTableCell({ node: cell }, state, ref)\n const { checkboxProps } = useTableSelectionCheckbox({ key: cell.parentKey! }, state)\n\n return (\n // See `TableSelectAllCell`'s comment: this cell's `id`/`data-key` derive from the same\n // module-scoped random column key and mismatch between server and client under SSR.\n <td {...gridCellProps} className=\"table-selection-cell\" suppressHydrationWarning ref={ref}>\n <TableCheckbox checkboxProps={checkboxProps} />\n </td>\n )\n}\n\nconst TableCheckbox = ({ checkboxProps }: { checkboxProps: AriaCheckboxProps }) => {\n const toggleState = useToggleState(checkboxProps)\n const ref = useRef<HTMLInputElement>(null)\n const { inputProps } = useCheckbox(checkboxProps, toggleState, ref)\n\n // `aria-describedby` after the spread: react-aria's own adds ids it never renders (FORMS.md,\n // gotcha 6).\n return <input {...inputProps} aria-describedby={undefined} className=\"check-input\" ref={ref} />\n}\n","import { ReactElement } from 'react'\nimport { TableBody as StatelyTableBody } from 'react-stately'\n\nexport interface TableBodyProps<T> {\n /**\n * `TableRow` elements, or a render function paired with `items` for dynamic row generation.\n */\n children: ReactElement | ReactElement[] | ((item: T) => ReactElement)\n /**\n * A string of all className you want applied to the `<tbody>` element.\n */\n className?: string\n /**\n * A list of row data objects, rendered via the function form of `children`.\n */\n items?: Iterable<T>\n}\n\n/**\n * Collection node, data-only — read by `Table` to build the table's row collection. Never\n * rendered directly.\n */\nexport const TableBody = StatelyTableBody as unknown as <T>(\n props: TableBodyProps<T>\n) => ReactElement\n","import { ReactElement, ReactNode } from 'react'\nimport { Cell } from 'react-stately'\n\nexport interface TableCellProps {\n /**\n * The contents of the cell.\n */\n children: ReactNode\n /**\n * A string of all className you want applied to the cell.\n */\n className?: string\n /**\n * Indicates how many columns the cell spans.\n */\n colSpan?: number\n /**\n * A string representation of the cell's contents, used for typeahead.\n */\n textValue?: string\n}\n\n/**\n * Collection node, data-only — see `TableHeader`. Read by `Table` to build a cell in the\n * table's collection; never rendered directly.\n */\nexport const TableCell = Cell as unknown as (props: TableCellProps) => ReactElement\n","import { ReactElement, ReactNode } from 'react'\nimport { Column } from 'react-stately'\n\nexport interface TableColumnProps {\n /**\n * Whether the column allows sorting. Adds a sort indicator and makes the header\n * clickable/keyboard-activatable.\n */\n allowsSorting?: boolean\n /**\n * Rendered contents of the column header.\n */\n children: ReactNode\n /**\n * A string of all className you want applied to the column header.\n */\n className?: string\n /**\n * A string representation of the column header, used for accessibility announcements and,\n * when `Table`'s `stacked` prop is set, as the label shown before each row's value for this\n * column. Defaults to `children` when it's a plain string — set this explicitly when the\n * header contains anything else (an icon, a `Tooltip`, etc.).\n */\n textValue?: string\n}\n\n/**\n * Collection node, data-only — see `TableHeader`. Read by `Table` to build a column in the\n * table's collection; never rendered directly.\n */\nexport const TableColumn = Column as unknown as (props: TableColumnProps) => ReactElement\n","import { ReactElement } from 'react'\nimport { TableHeader as StatelyTableHeader } from 'react-stately'\n\nexport interface TableHeaderProps<T> {\n /**\n * `TableColumn` elements, or a render function paired with `columns` for dynamic column\n * generation.\n */\n children: ReactElement | ReactElement[] | ((column: T) => ReactElement)\n /**\n * A string of all className you want applied to the `<thead>` element.\n */\n className?: string\n /**\n * A list of column data objects, rendered via the function form of `children`.\n */\n columns?: readonly T[]\n}\n\n/**\n * Collection node, data-only — read by `Table` to build the table's column collection. Never\n * rendered directly.\n */\nexport const TableHeader = StatelyTableHeader as unknown as <T>(\n props: TableHeaderProps<T>\n) => ReactElement\n","import { Key, ReactElement } from 'react'\nimport { Row } from 'react-stately'\n\nexport interface TableRowProps {\n /**\n * `TableCell` elements, or a render function called once per column with that column's key —\n * required when the row's parent `TableBody` uses the `items`/render-function form.\n */\n children: ReactElement | ReactElement[] | ((columnKey: Key) => ReactElement)\n /**\n * A string of all className you want applied to the row.\n */\n className?: string\n /**\n * A string representation of the row's contents, used for typeahead.\n */\n textValue?: string\n}\n\n/**\n * Collection node, data-only — see `TableHeader`. Read by `Table` to build a row in the\n * table's collection; never rendered directly.\n */\nexport const TableRow = Row as unknown as (props: TableRowProps) => ReactElement\n"],"mappings":"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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"classnames";const t={bottom:`align-bottom`,middle:`align-middle`,top:`align-top`};function n({align:n,bordered:r,borderless:i,className:a,color:o,hover:s,sm:c,stacked:l,striped:u}){return e(`table`,o,n&&t[n],{bordered:r,borderless:i,hoverable:s,sm:c,stacked:l===!0,striped:u},typeof l==`string`?`max-${l}:stacked`:void 0,a)||void 0}function r({responsive:e,stacked:t}){if(e||t)return!e||e===!0?`table-responsive`:`max-${e}:table-responsive`}export{n,r,t};
|
|
2
|
+
//# sourceMappingURL=tableClassName-DleBjOj2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableClassName-DleBjOj2.js","names":[],"sources":["../../src/utils/tableClassName.ts"],"sourcesContent":["import classNames from 'classnames'\n\nimport { Breakpoint, ContextColor } from '../types'\n\n// The styling props `Table` and `StaticTable` share. Kept in one place so the two can't drift into\n// applying different chassis-css classes for the same prop — `StaticTable` exists to be the\n// zero-JS twin of `Table`'s look, so a prop meaning something different on each would defeat it.\nexport interface TableStyleProps {\n /**\n * Set the vertical alignment of cell content.\n */\n align?: 'bottom' | 'middle' | 'top'\n /**\n * Add borders on all sides of the table and cells.\n */\n bordered?: boolean\n /**\n * Remove borders on all sides of the table and cells.\n */\n borderless?: boolean\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color of the component.\n */\n color?: ContextColor\n /**\n * Enable a hover state on table rows.\n */\n hover?: boolean\n /**\n * Make any table responsive across all viewports or pick a maximum breakpoint.\n */\n responsive?: boolean | Breakpoint\n /**\n * Make table more compact by cutting all cell padding.\n */\n sm?: boolean\n /**\n * Convert rows into stacked label/value blocks below a container width, for tables with too\n * many columns to read comfortably even with horizontal scrolling. `true` always stacks; a\n * breakpoint name stacks only below it. Implies `responsive` when `responsive` isn't set\n * separately, since stacking needs the same `.table-responsive` container-query ancestor.\n */\n stacked?: boolean | Breakpoint\n /**\n * Add zebra-striping to table rows.\n */\n striped?: boolean\n}\n\n// Whole class names, not `align-${align}`: see `utils/colorClassNames.ts`.\nexport const TABLE_ALIGN_CLASS_NAMES: Record<NonNullable<TableStyleProps['align']>, string> = {\n bottom: 'align-bottom',\n middle: 'align-middle',\n top: 'align-top'\n}\n\nexport function tableClassName({\n align,\n bordered,\n borderless,\n className,\n color,\n hover,\n sm,\n stacked,\n striped\n}: TableStyleProps): string | undefined {\n return (\n classNames(\n 'table',\n color,\n align && TABLE_ALIGN_CLASS_NAMES[align],\n {\n bordered,\n borderless,\n hoverable: hover,\n sm,\n stacked: stacked === true,\n striped\n },\n typeof stacked === 'string' ? `max-${stacked}:stacked` : undefined,\n className\n ) || undefined\n )\n}\n\n// `undefined` when the table needs no wrapper at all. Stacking needs the same `.table-responsive`\n// container-query ancestor as horizontal scrolling, so `stacked` alone still gets one.\nexport function tableWrapperClassName({\n responsive,\n stacked\n}: Pick<TableStyleProps, 'responsive' | 'stacked'>): string | undefined {\n if (!responsive && !stacked) return undefined\n if (!responsive || responsive === true) return 'table-responsive'\n return `max-${responsive}:table-responsive`\n}\n"],"mappings":"0BAsDA,MAAa,EAAiF,CAC5F,OAAQ,eACR,OAAQ,eACR,IAAK,WACP,EAEA,SAAgB,EAAe,CAC7B,QACA,WACA,aACA,YACA,QACA,QACA,KACA,UACA,WACsC,CACtC,OACE,EACE,QACA,EACA,GAAS,EAAwB,GACjC,CACE,WACA,aACA,UAAW,EACX,KACA,QAAS,IAAY,GACrB,SACF,EACA,OAAO,GAAY,SAAW,OAAO,EAAQ,UAAY,IAAA,GACzD,CACF,GAAK,IAAA,EAET,CAIA,SAAgB,EAAsB,CACpC,aACA,WACsE,CAClE,GAAC,GAAe,EAEpB,MADI,CAAC,GAAc,IAAe,GAAa,mBACxC,OAAO,EAAW,kBAC3B"}
|
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
* Breakpoints
|
|
4
4
|
*/
|
|
5
5
|
type Breakpoint = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
6
|
+
/**
|
|
7
|
+
* Container breakpoints: the same widths, measured on the nearest query container instead of the
|
|
8
|
+
* viewport. chassis-css's `@md:` classes.
|
|
9
|
+
*/
|
|
10
|
+
type ContainerBreakpoint = '@sm' | '@md' | '@lg' | '@xl' | '@2xl';
|
|
11
|
+
/**
|
|
12
|
+
* A prop value that can change with the width. A plain value applies at every width. An object
|
|
13
|
+
* holds one value per width: `base` from the narrowest, each breakpoint key from that breakpoint
|
|
14
|
+
* up, as in `{ base: 'column', md: 'row' }`. `K` is the keys the prop reads: the viewport
|
|
15
|
+
* breakpoints unless the component also takes the container ones.
|
|
16
|
+
*/
|
|
17
|
+
type Responsive<T, K extends string = Breakpoint> = T | ({
|
|
18
|
+
base?: T;
|
|
19
|
+
} & Partial<Record<K, T>>);
|
|
6
20
|
/**
|
|
7
21
|
* Context colors
|
|
8
22
|
*/
|
|
@@ -31,5 +45,5 @@ type Spacing = (typeof SPACING)[number];
|
|
|
31
45
|
*/
|
|
32
46
|
type Shapes = 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3';
|
|
33
47
|
//#endregion
|
|
34
|
-
export {
|
|
35
|
-
//# sourceMappingURL=types-
|
|
48
|
+
export { ExtendedSizing as a, Sizing as c, ContextStyle as i, Spacing as l, ContainerBreakpoint as n, Responsive as o, ContextColor as r, Shapes as s, Breakpoint as t };
|
|
49
|
+
//# sourceMappingURL=types-D6FM7bYR.d.ts.map
|
package/dist/close-button.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as CloseButtonProps, t as CloseButton } from "./chunks/index-
|
|
1
|
+
import { n as CloseButtonProps, t as CloseButton } from "./chunks/index-BfEJYF4c.js";
|
|
2
2
|
export { CloseButton, type CloseButtonProps };
|
package/dist/datagrid.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DataGridRowProps, c as DataGridCell, d as DataGridProps, f as DataGridHeader, h as DataGridBodyProps, i as DataGridRow, l as DataGridCellProps, m as DataGridBody, n as DataGridSelectionCell, o as DataGridColumn, p as DataGridHeaderProps, r as DataGridSelectionCellProps, s as DataGridColumnProps, t as DataGridSelectAllCell, u as DataGrid } from "./chunks/index-
|
|
1
|
+
import { a as DataGridRowProps, c as DataGridCell, d as DataGridProps, f as DataGridHeader, h as DataGridBodyProps, i as DataGridRow, l as DataGridCellProps, m as DataGridBody, n as DataGridSelectionCell, o as DataGridColumn, p as DataGridHeaderProps, r as DataGridSelectionCellProps, s as DataGridColumnProps, t as DataGridSelectAllCell, u as DataGrid } from "./chunks/index-CIwzgZJi.js";
|
|
2
2
|
export { DataGrid, DataGridBody, type DataGridBodyProps, DataGridCell, type DataGridCellProps, DataGridColumn, type DataGridColumnProps, DataGridHeader, type DataGridHeaderProps, type DataGridProps, DataGridRow, type DataGridRowProps, DataGridSelectAllCell, DataGridSelectionCell, type DataGridSelectionCellProps };
|
package/dist/datagrid.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"./chunks/datagrid-
|
|
1
|
+
"use client";import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"./chunks/datagrid-DOYxx0sF.js";export{t as DataGrid,o as DataGridBody,i as DataGridCell,e as DataGridColumn,n as DataGridHeader,a as DataGridRow,s as DataGridSelectAllCell,r as DataGridSelectionCell};
|
package/dist/flex.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FlexProps, t as Flex } from "./chunks/index-
|
|
1
|
+
import { n as FlexProps, t as Flex } from "./chunks/index-BSLneLYu.js";
|
|
2
2
|
export { Flex, type FlexProps };
|
package/dist/flex.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{t as e}from"./chunks/flex-
|
|
1
|
+
"use client";import{t as e}from"./chunks/flex-B52oLCCC.js";export{e as Flex};
|
package/dist/grid.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export {
|
|
1
|
+
import { a as GridProps, i as GridFlow, n as GridItemProps, o as Container, r as Grid, s as ContainerProps, t as GridItem } from "./chunks/index-CxjNw4ss.js";
|
|
2
|
+
export { Container, type ContainerProps, Grid, type GridFlow, GridItem, type GridItemProps, type GridProps };
|
package/dist/grid.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{n as e,r as t,t as n}from"./chunks/grid-C7tO-ppc.js";export{t as Container,e as Grid,n as GridItem};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
import "./chunks/focus-ring-SR_LwaN7.js";
|
|
2
2
|
import { a as AccordionBody, c as AccordionItemDef, i as AccordionHeaderProps, l as AccordionProps, n as AccordionItemProps, o as AccordionBodyProps, r as AccordionHeader, s as Accordion, t as AccordionItem } from "./chunks/index-Dcc_W6Kv.js";
|
|
3
|
-
import { a as AlertIcon, c as AlertFooterProps, d as AlertCancel, f as AlertCancelProps, g as AlertProps, h as Alert, i as AlertTextProps, l as AlertCode, m as AlertBodyProps, n as AlertTitleProps, o as AlertIconProps, p as AlertBody, r as AlertText, s as AlertFooter, t as AlertTitle, u as AlertCodeProps } from "./chunks/index-
|
|
4
|
-
import { a as
|
|
5
|
-
import { n as ButtonProps, t as Button } from "./chunks/Button-
|
|
3
|
+
import { a as AlertIcon, c as AlertFooterProps, d as AlertCancel, f as AlertCancelProps, g as AlertProps, h as Alert, i as AlertTextProps, l as AlertCode, m as AlertBodyProps, n as AlertTitleProps, o as AlertIconProps, p as AlertBody, r as AlertText, s as AlertFooter, t as AlertTitle, u as AlertCodeProps } from "./chunks/index-DHcztR18.js";
|
|
4
|
+
import { a as ExtendedSizing, c as Sizing, i as ContextStyle, l as Spacing, n as ContainerBreakpoint, o as Responsive, r as ContextColor, s as Shapes, t as Breakpoint } from "./chunks/types-D6FM7bYR.js";
|
|
5
|
+
import { n as ButtonProps, t as Button } from "./chunks/Button-BuZ_GOHS.js";
|
|
6
6
|
import { n as IconProps, t as Icon } from "./chunks/Icon-CioraWLF.js";
|
|
7
7
|
import { i as MenuItemsDef, n as MenuHeaderDef, r as MenuItemDef, t as MenuDividerDef } from "./chunks/MenuItemDef-D0VDtYIQ.js";
|
|
8
8
|
import { a as Autocomplete, i as AutocompleteGroupProps, n as AutocompleteItemProps, o as AutocompleteProps, r as AutocompleteGroup, t as AutocompleteItem } from "./chunks/index-91YA-jkp.js";
|
|
9
9
|
import { i as ComboboxGroupProps, n as ComboboxItemProps, r as ComboboxGroup, t as ComboboxItem } from "./chunks/ComboboxItem-C9TpoJOI.js";
|
|
10
|
-
import { a as AvatarImageProps, i as AvatarImage, n as AvatarStackItemDef, o as Avatar, r as AvatarStackProps, s as AvatarProps, t as AvatarStack } from "./chunks/index-
|
|
11
|
-
import { n as BadgeProps, t as Badge } from "./chunks/index-
|
|
10
|
+
import { a as AvatarImageProps, i as AvatarImage, n as AvatarStackItemDef, o as Avatar, r as AvatarStackProps, s as AvatarProps, t as AvatarStack } from "./chunks/index-B19ZH3fm.js";
|
|
11
|
+
import { n as BadgeProps, t as Badge } from "./chunks/index-aRdgpeRb.js";
|
|
12
12
|
import { a as BreadcrumbProps, i as BreadcrumbItemDef, n as BreadcrumbItemProps, r as Breadcrumb, t as BreadcrumbItem } from "./chunks/index-DtbUXxjz.js";
|
|
13
13
|
import { i as ButtonGroupProps, n as ButtonToolbarProps, r as ButtonGroup, t as ButtonToolbar } from "./chunks/index-BAsbRx5n.js";
|
|
14
14
|
import "./button.js";
|
|
15
15
|
import { n as CalendarLabels, t as DateRangePreset } from "./chunks/dateRangePresets-R1FtA1zp.js";
|
|
16
16
|
import { a as CalendarProps, i as CalendarMultipleProps, n as RangeCalendarProps, o as CalendarSingleProps, r as Calendar, t as RangeCalendar } from "./chunks/index-BNf0jIIL.js";
|
|
17
|
-
import { S as CardProps, _ as CardFooter, a as CardSubtitle, b as CardBodyProps, c as CardLinkProps, d as CardImage, f as CardImageProps, g as CardGroupProps, h as CardGroup, i as CardTextProps, l as CardImageOverlay, m as CardHeaderProps, n as CardTitleProps, o as CardSubtitleProps, p as CardHeader, r as CardText, s as CardLink, t as CardTitle, u as CardImageOverlayProps, v as CardFooterProps, x as Card, y as CardBody } from "./chunks/index-
|
|
18
|
-
import { n as LinkProps, t as Link } from "./chunks/Link-
|
|
17
|
+
import { S as CardProps, _ as CardFooter, a as CardSubtitle, b as CardBodyProps, c as CardLinkProps, d as CardImage, f as CardImageProps, g as CardGroupProps, h as CardGroup, i as CardTextProps, l as CardImageOverlay, m as CardHeaderProps, n as CardTitleProps, o as CardSubtitleProps, p as CardHeader, r as CardText, s as CardLink, t as CardTitle, u as CardImageOverlayProps, v as CardFooterProps, x as Card, y as CardBody } from "./chunks/index-NGgDkhyn.js";
|
|
18
|
+
import { n as LinkProps, t as Link } from "./chunks/Link-CKymd2ru.js";
|
|
19
19
|
import { _ as CarouselSlideDetail, a as CarouselItem, c as CarouselInnerProps, d as CarouselControlPrev, f as CarouselControlPrevProps, g as CarouselProps, h as Carousel, i as CarouselOverlayProps, l as CarouselIndicators, m as CarouselControlNextProps, n as CarouselPlayPauseProps, o as CarouselItemProps, p as CarouselControlNext, r as CarouselOverlay, s as CarouselInner, t as CarouselPlayPause, u as CarouselIndicatorsProps, v as CarouselTransition, y as CarouselEnds } from "./chunks/index-CTpwB1yR.js";
|
|
20
20
|
import { i as IconValue, r as IconKey, t as IconComponentProps } from "./chunks/iconConfig-C6gbYhsD.js";
|
|
21
|
-
import { t as ButtonObject } from "./chunks/renderFormCheck-
|
|
22
|
-
import { i as CheckboxProps, n as CheckboxGroupProps, r as Checkbox, t as CheckboxGroup } from "./chunks/index-
|
|
21
|
+
import { t as ButtonObject } from "./chunks/renderFormCheck-nKgpa_a3.js";
|
|
22
|
+
import { i as CheckboxProps, n as CheckboxGroupProps, r as Checkbox, t as CheckboxGroup } from "./chunks/index-DM01FX3a.js";
|
|
23
23
|
import { n as ChipInputProps, t as ChipInput } from "./chunks/index-B8uaSJA9.js";
|
|
24
|
-
import { n as ChipProps, t as Chip } from "./chunks/index-
|
|
25
|
-
import { n as CloseButtonProps, t as CloseButton } from "./chunks/index-
|
|
24
|
+
import { n as ChipProps, t as Chip } from "./chunks/index-B1kw0jzM.js";
|
|
25
|
+
import { n as CloseButtonProps, t as CloseButton } from "./chunks/index-BfEJYF4c.js";
|
|
26
26
|
import { n as CollapseProps, t as Collapse } from "./chunks/index-BA-raEMm.js";
|
|
27
27
|
import { n as ColorInputProps, t as ColorInput } from "./chunks/index-DHGgezXU.js";
|
|
28
28
|
import { n as ComboboxProps, t as Combobox } from "./chunks/index-Bi8FFadV.js";
|
|
29
29
|
import { t as Placement } from "./chunks/overlayPlacement-CIsLpycT.js";
|
|
30
30
|
import { i as MenuProps, n as MenuAutoClose, r as MenuFocusStrategy, t as Menu } from "./chunks/Menu-QeYOzrUL.js";
|
|
31
31
|
import { n as ContextMenuProps, t as ContextMenu } from "./chunks/index-BF3OWUVc.js";
|
|
32
|
-
import { a as DataGridRowProps, c as DataGridCell, d as DataGridProps, f as DataGridHeader, h as DataGridBodyProps, i as DataGridRow, l as DataGridCellProps, m as DataGridBody, n as DataGridSelectionCell, o as DataGridColumn, p as DataGridHeaderProps, r as DataGridSelectionCellProps, s as DataGridColumnProps, t as DataGridSelectAllCell, u as DataGrid } from "./chunks/index-
|
|
32
|
+
import { a as DataGridRowProps, c as DataGridCell, d as DataGridProps, f as DataGridHeader, h as DataGridBodyProps, i as DataGridRow, l as DataGridCellProps, m as DataGridBody, n as DataGridSelectionCell, o as DataGridColumn, p as DataGridHeaderProps, r as DataGridSelectionCellProps, s as DataGridColumnProps, t as DataGridSelectAllCell, u as DataGrid } from "./chunks/index-CIwzgZJi.js";
|
|
33
33
|
import { a as DatePickerProps, i as DatePickerMultipleProps, n as DateRangePickerProps, o as DatePickerSingleProps, r as DatePicker, t as DateRangePicker } from "./chunks/index-CqZ68Z8R.js";
|
|
34
34
|
import { n as DividerProps, t as Divider } from "./chunks/index-9rQeMqVI.js";
|
|
35
35
|
import { a as DrawerHeader, c as DrawerFooterProps, d as Drawer, f as DrawerProps, i as DrawerTitleProps, l as DrawerBody, n as useDrawer, o as DrawerHeaderProps, r as DrawerTitle, s as DrawerFooter, t as UseDrawerResult, u as DrawerBodyProps } from "./chunks/index-Cc4SSslb.js";
|
|
36
36
|
import { n as FileInputProps, t as FileInput } from "./chunks/index-CCXJXToc.js";
|
|
37
|
-
import { n as FlexProps, t as Flex } from "./chunks/index-
|
|
37
|
+
import { n as FlexProps, t as Flex } from "./chunks/index-BSLneLYu.js";
|
|
38
38
|
import { n as FloatingInputProps, t as FloatingInput } from "./chunks/index-CsARGAzD.js";
|
|
39
39
|
import { n as FormFieldProps, t as FormField } from "./chunks/index-Ci7AEgEc.js";
|
|
40
40
|
import { a as FormLabel, c as FormProps, i as FormHelpProps, n as FormFeedbackProps, o as FormLabelProps, r as FormHelp, s as Form, t as FormFeedback } from "./chunks/index-DAoPg59I.js";
|
|
41
|
-
import { a as
|
|
41
|
+
import { a as GridProps, i as GridFlow, n as GridItemProps, o as Container, r as Grid, s as ContainerProps, t as GridItem } from "./chunks/index-CxjNw4ss.js";
|
|
42
42
|
import { n as IconProviderProps, t as IconProvider } from "./chunks/index-BxROljJI.js";
|
|
43
43
|
import { n as InputAdornProps, t as InputAdorn } from "./chunks/index-CftERHnE.js";
|
|
44
44
|
import { i as InputGroupProps, n as InputGroupAddonProps, r as InputGroup, t as InputGroupAddon } from "./chunks/index-Bkj17NEQ.js";
|
|
45
45
|
import "./link.js";
|
|
46
|
-
import { a as ListProps, i as ListItemDef, n as ListItemProps, r as List, t as ListItem } from "./chunks/index-
|
|
47
|
-
import { a as MenuToggle, c as MenuTextProps, d as MenuItem, f as MenuItemProps, g as MenuDividerProps, h as MenuDivider, i as MenuSubmenuProps, l as MenuList, m as MenuHeaderProps, n as MenuSubmenuBackProps, o as MenuToggleProps, p as MenuHeader, r as MenuSubmenu, s as MenuText, t as MenuSubmenuBack, u as MenuListProps } from "./chunks/index-
|
|
46
|
+
import { a as ListProps, i as ListItemDef, n as ListItemProps, r as List, t as ListItem } from "./chunks/index-DtvHH_Mb.js";
|
|
47
|
+
import { a as MenuToggle, c as MenuTextProps, d as MenuItem, f as MenuItemProps, g as MenuDividerProps, h as MenuDivider, i as MenuSubmenuProps, l as MenuList, m as MenuHeaderProps, n as MenuSubmenuBackProps, o as MenuToggleProps, p as MenuHeader, r as MenuSubmenu, s as MenuText, t as MenuSubmenuBack, u as MenuListProps } from "./chunks/index-CYvVmTPR.js";
|
|
48
48
|
import { a as ModalHeader, c as ModalFooterProps, d as Modal, f as ModalProps, i as ModalTitleProps, l as ModalBody, n as useModal, o as ModalHeaderProps, r as ModalTitle, s as ModalFooter, t as UseModalResult, u as ModalBodyProps } from "./chunks/index-B_UzbGOa.js";
|
|
49
|
-
import { n as NavOverflowDetail, r as NavOverflowProps, t as NavOverflow } from "./chunks/index-
|
|
50
|
-
import { a as NavLink, c as NavItemDef, i as NavItemProps, l as NavProps, n as NavTitleProps, o as NavLinkProps, r as NavItem, s as Nav, t as NavTitle } from "./chunks/index-
|
|
51
|
-
import { a as NavbarNav, c as NavbarBrandProps, i as NavbarTextProps, l as Navbar, n as NavbarTogglerProps, o as NavbarNavProps, r as NavbarText, s as NavbarBrand, t as NavbarToggler, u as NavbarProps } from "./chunks/index-
|
|
52
|
-
import { a as closeNotification, c as NotificationStackProps, d as NotificationIcon, f as NotificationIconProps, g as NotificationProps, h as Notification, i as addNotification, l as NotificationText, m as NotificationTitleProps, n as useNotification, o as notificationQueue, p as NotificationTitle, r as NotificationContent, s as NotificationStack, t as UseNotificationResult, u as NotificationTextProps } from "./chunks/index-
|
|
49
|
+
import { n as NavOverflowDetail, r as NavOverflowProps, t as NavOverflow } from "./chunks/index-DPCwFiJL.js";
|
|
50
|
+
import { a as NavLink, c as NavItemDef, i as NavItemProps, l as NavProps, n as NavTitleProps, o as NavLinkProps, r as NavItem, s as Nav, t as NavTitle } from "./chunks/index-DQImhbhy.js";
|
|
51
|
+
import { a as NavbarNav, c as NavbarBrandProps, i as NavbarTextProps, l as Navbar, n as NavbarTogglerProps, o as NavbarNavProps, r as NavbarText, s as NavbarBrand, t as NavbarToggler, u as NavbarProps } from "./chunks/index-x0vZRyoU.js";
|
|
52
|
+
import { a as closeNotification, c as NotificationStackProps, d as NotificationIcon, f as NotificationIconProps, g as NotificationProps, h as Notification, i as addNotification, l as NotificationText, m as NotificationTitleProps, n as useNotification, o as notificationQueue, p as NotificationTitle, r as NotificationContent, s as NotificationStack, t as UseNotificationResult, u as NotificationTextProps } from "./chunks/index-BMkbJVHg.js";
|
|
53
53
|
import { n as NumberFieldProps, t as NumberField } from "./chunks/index-DHOG_rjE.js";
|
|
54
54
|
import { n as OtpInputProps, t as OtpInput } from "./chunks/index-B0-8n-Gs.js";
|
|
55
55
|
import { a as Pagination, i as PaginationItemProps, n as usePagination, o as PaginationProps, r as PaginationItem, t as UsePaginationResult } from "./chunks/index-C4Dks__B.js";
|
|
56
56
|
import { n as PasswordStrengthProps, t as PasswordStrength } from "./chunks/index-4cKG9KWB.js";
|
|
57
|
-
import { n as PlaceholderProps, t as Placeholder } from "./chunks/index-
|
|
57
|
+
import { n as PlaceholderProps, t as Placeholder } from "./chunks/index-0jbACjYQ.js";
|
|
58
58
|
import { n as PopoverProps, t as Popover } from "./chunks/index-Du9fBqkT.js";
|
|
59
59
|
import { n as PortalProps, r as useHydrated, t as Portal } from "./chunks/index-g74gO0pc.js";
|
|
60
|
-
import { i as ProgressProps, n as ProgressBarProps, r as Progress, t as ProgressBar } from "./chunks/index-
|
|
61
|
-
import { i as RadioProps, n as RadioGroupProps, r as Radio, t as RadioGroup } from "./chunks/index-
|
|
60
|
+
import { i as ProgressProps, n as ProgressBarProps, r as Progress, t as ProgressBar } from "./chunks/index-BOx8v-oT.js";
|
|
61
|
+
import { i as RadioProps, n as RadioGroupProps, r as Radio, t as RadioGroup } from "./chunks/index-CjT_4IZx.js";
|
|
62
62
|
import { n as RangeInputProps, t as RangeInput } from "./chunks/index-HrKN6s8z.js";
|
|
63
63
|
import { i as useScrollspy, n as ScrollspyProps, r as UseScrollspyOptions, t as Scrollspy } from "./chunks/index-B2K-O9kl.js";
|
|
64
64
|
import { n as SearchFieldProps, t as SearchField } from "./chunks/index-Bz8MDq0H.js";
|
|
65
65
|
import { n as SelectOptionDef, r as SelectProps, t as Select } from "./chunks/index-BVGGIaPX.js";
|
|
66
|
-
import { i as SkeletonProps, n as SkeletonLoaderProps, r as Skeleton, t as SkeletonLoader } from "./chunks/index-
|
|
67
|
-
import { n as SpinnerProps, t as Spinner } from "./chunks/index-
|
|
68
|
-
import { n as StackProps, t as Stack } from "./chunks/index-
|
|
69
|
-
import { n as StaticTableProps, t as StaticTable } from "./chunks/index-
|
|
70
|
-
import { a as StepperProps, i as StepperItemDef, n as StepperItemProps, r as Stepper, t as StepperItem } from "./chunks/index-
|
|
71
|
-
import { n as SwitchProps, t as Switch } from "./chunks/index-
|
|
72
|
-
import { a as TableColumn, c as TableCellProps, d as Table, f as TableProps, i as TableHeaderProps, l as TableBody, n as TableRowProps, o as TableColumnProps, r as TableHeader, s as TableCell, t as TableRow, u as TableBodyProps } from "./chunks/index-
|
|
66
|
+
import { i as SkeletonProps, n as SkeletonLoaderProps, r as Skeleton, t as SkeletonLoader } from "./chunks/index-CHQR8x8_.js";
|
|
67
|
+
import { n as SpinnerProps, t as Spinner } from "./chunks/index-Dzga1f4w.js";
|
|
68
|
+
import { n as StackProps, t as Stack } from "./chunks/index-YJ9QdBuq.js";
|
|
69
|
+
import { n as StaticTableProps, t as StaticTable } from "./chunks/index-U27Ar174.js";
|
|
70
|
+
import { a as StepperProps, i as StepperItemDef, n as StepperItemProps, r as Stepper, t as StepperItem } from "./chunks/index-BLS1jhSJ.js";
|
|
71
|
+
import { n as SwitchProps, t as Switch } from "./chunks/index-lSPcxiii.js";
|
|
72
|
+
import { a as TableColumn, c as TableCellProps, d as Table, f as TableProps, i as TableHeaderProps, l as TableBody, n as TableRowProps, o as TableColumnProps, r as TableHeader, s as TableCell, t as TableRow, u as TableBodyProps } from "./chunks/index-C9gzVqwX.js";
|
|
73
73
|
import { a as Tab, c as TabsProps, i as TabListProps, n as TabPanelProps, o as TabProps, r as TabList, s as Tabs, t as TabPanel } from "./chunks/index-CFnQubsV.js";
|
|
74
74
|
import { n as TextInputProps, t as TextInput } from "./chunks/index-6uob77s9.js";
|
|
75
75
|
import { n as TextareaProps, t as Textarea } from "./chunks/index-Dfg4Ftb8.js";
|
|
76
76
|
import { n as TimeFieldProps, t as TimeField } from "./chunks/index-DMbdEm__.js";
|
|
77
|
-
import { _ as Toast, a as closeToast, c as ToasterProps, d as ToastHeader, f as ToastHeaderProps, g as ToastBodyProps, h as ToastBody, i as addToast, l as ToastIcon, m as ToastFooterProps, n as useToast, o as toastQueue, p as ToastFooter, r as ToastContent, s as Toaster, t as UseToastResult, u as ToastIconProps, v as ToastProps } from "./chunks/index-
|
|
77
|
+
import { _ as Toast, a as closeToast, c as ToasterProps, d as ToastHeader, f as ToastHeaderProps, g as ToastBodyProps, h as ToastBody, i as addToast, l as ToastIcon, m as ToastFooterProps, n as useToast, o as toastQueue, p as ToastFooter, r as ToastContent, s as Toaster, t as UseToastResult, u as ToastIconProps, v as ToastProps } from "./chunks/index-DP5xugE-.js";
|
|
78
78
|
import { n as TooltipProps, t as Tooltip } from "./chunks/index-DJfga0Ce.js";
|
|
79
79
|
import { i as TreeProps, n as TreeItemProps, r as Tree, t as TreeItem } from "./chunks/index-DaHQdNul.js";
|
|
80
80
|
import { n as VisuallyHiddenProps, t as VisuallyHidden } from "./chunks/index-Ddd7iWfm.js";
|
|
81
81
|
import { CSSProperties, HTMLAttributes, MouseEvent, MouseEventHandler, ReactNode, Ref, RefObject, useEffect } from "react";
|
|
82
82
|
import { I18nProvider } from "react-aria";
|
|
83
83
|
import { ToastQueue } from "react-stately";
|
|
84
|
-
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, AccordionItem, type AccordionItemDef, type AccordionItemProps, type AccordionProps, Alert, AlertBody, type AlertBodyProps, AlertCancel, type AlertCancelProps, AlertCode, type AlertCodeProps, AlertFooter, type AlertFooterProps, AlertIcon, type AlertIconProps, type AlertProps, AlertText, type AlertTextProps, AlertTitle, type AlertTitleProps, Autocomplete, AutocompleteGroup, type AutocompleteGroupProps, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, Avatar, AvatarImage, type AvatarImageProps, type AvatarProps, AvatarStack, type AvatarStackItemDef, type AvatarStackProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemDef, type BreadcrumbItemProps, type BreadcrumbProps, type Breakpoint, Button, ButtonGroup, type ButtonGroupProps, type ButtonObject, type ButtonProps, ButtonToolbar, type ButtonToolbarProps, Calendar, type CalendarLabels, type CalendarMultipleProps, type CalendarProps, type CalendarSingleProps, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardGroup, type CardGroupProps, CardHeader, type CardHeaderProps, CardImage, CardImageOverlay, type CardImageOverlayProps, type CardImageProps, CardLink, type CardLinkProps, type CardProps, CardSubtitle, type CardSubtitleProps, CardText, type CardTextProps, CardTitle, type CardTitleProps, Carousel, CarouselControlNext, type CarouselControlNextProps, CarouselControlPrev, type CarouselControlPrevProps, type CarouselEnds, CarouselIndicators, type CarouselIndicatorsProps, CarouselInner, type CarouselInnerProps, CarouselItem, type CarouselItemProps, CarouselOverlay, type CarouselOverlayProps, CarouselPlayPause, type CarouselPlayPauseProps, type CarouselProps, type CarouselSlideDetail, type CarouselTransition, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, ChipInput, type ChipInputProps, type ChipProps, CloseButton, type CloseButtonProps,
|
|
84
|
+
export { Accordion, AccordionBody, type AccordionBodyProps, AccordionHeader, type AccordionHeaderProps, AccordionItem, type AccordionItemDef, type AccordionItemProps, type AccordionProps, Alert, AlertBody, type AlertBodyProps, AlertCancel, type AlertCancelProps, AlertCode, type AlertCodeProps, AlertFooter, type AlertFooterProps, AlertIcon, type AlertIconProps, type AlertProps, AlertText, type AlertTextProps, AlertTitle, type AlertTitleProps, Autocomplete, AutocompleteGroup, type AutocompleteGroupProps, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, Avatar, AvatarImage, type AvatarImageProps, type AvatarProps, AvatarStack, type AvatarStackItemDef, type AvatarStackProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemDef, type BreadcrumbItemProps, type BreadcrumbProps, type Breakpoint, Button, ButtonGroup, type ButtonGroupProps, type ButtonObject, type ButtonProps, ButtonToolbar, type ButtonToolbarProps, Calendar, type CalendarLabels, type CalendarMultipleProps, type CalendarProps, type CalendarSingleProps, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardGroup, type CardGroupProps, CardHeader, type CardHeaderProps, CardImage, CardImageOverlay, type CardImageOverlayProps, type CardImageProps, CardLink, type CardLinkProps, type CardProps, CardSubtitle, type CardSubtitleProps, CardText, type CardTextProps, CardTitle, type CardTitleProps, Carousel, CarouselControlNext, type CarouselControlNextProps, CarouselControlPrev, type CarouselControlPrevProps, type CarouselEnds, CarouselIndicators, type CarouselIndicatorsProps, CarouselInner, type CarouselInnerProps, CarouselItem, type CarouselItemProps, CarouselOverlay, type CarouselOverlayProps, CarouselPlayPause, type CarouselPlayPauseProps, type CarouselProps, type CarouselSlideDetail, type CarouselTransition, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, ChipInput, type ChipInputProps, type ChipProps, CloseButton, type CloseButtonProps, Collapse, type CollapseProps, ColorInput, type ColorInputProps, Combobox, ComboboxGroup, type ComboboxGroupProps, ComboboxItem, type ComboboxItemProps, type ComboboxProps, Container, type ContainerBreakpoint, type ContainerProps, type ContextColor, ContextMenu, type ContextMenuProps, type ContextStyle, DataGrid, DataGridBody, type DataGridBodyProps, DataGridCell, type DataGridCellProps, DataGridColumn, type DataGridColumnProps, DataGridHeader, type DataGridHeaderProps, type DataGridProps, DataGridRow, type DataGridRowProps, DataGridSelectAllCell, DataGridSelectionCell, type DataGridSelectionCellProps, DatePicker, type DatePickerMultipleProps, type DatePickerProps, type DatePickerSingleProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, Divider, type DividerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, type ExtendedSizing, FileInput, type FileInputProps, Flex, type FlexProps, FloatingInput, type FloatingInputProps, Form, FormFeedback, type FormFeedbackProps, FormField, type FormFieldProps, FormHelp, type FormHelpProps, FormLabel, type FormLabelProps, type FormProps, Grid, type GridFlow, GridItem, type GridItemProps, type GridProps, I18nProvider, Icon, type IconComponentProps, type IconKey, type IconProps, IconProvider, type IconProviderProps, type IconValue, InputAdorn, type InputAdornProps, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupProps, Link, type LinkProps, List, ListItem, type ListItemDef, type ListItemProps, type ListProps, Menu, type MenuAutoClose, MenuDivider, type MenuDividerDef, type MenuDividerProps, type MenuFocusStrategy, MenuHeader, type MenuHeaderDef, type MenuHeaderProps, MenuItem, type MenuItemDef, type MenuItemProps, type MenuItemsDef, MenuList, type MenuListProps, type MenuProps, MenuSubmenu, MenuSubmenuBack, type MenuSubmenuBackProps, type MenuSubmenuProps, MenuText, type MenuTextProps, MenuToggle, type MenuToggleProps, Modal, ModalBody, type ModalBodyProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, ModalTitle, type ModalTitleProps, Nav, NavItem, type NavItemDef, type NavItemProps, NavLink, type NavLinkProps, NavOverflow, type NavOverflowDetail, type NavOverflowProps, type NavProps, NavTitle, type NavTitleProps, Navbar, NavbarBrand, type NavbarBrandProps, NavbarNav, type NavbarNavProps, type NavbarProps, NavbarText, type NavbarTextProps, NavbarToggler, type NavbarTogglerProps, Notification, type NotificationContent, NotificationIcon, type NotificationIconProps, type NotificationProps, NotificationStack, type NotificationStackProps, NotificationText, type NotificationTextProps, NotificationTitle, type NotificationTitleProps, NumberField, type NumberFieldProps, OtpInput, type OtpInputProps, Pagination, PaginationItem, type PaginationItemProps, type PaginationProps, PasswordStrength, type PasswordStrengthProps, Placeholder, type PlaceholderProps, type Placement, Popover, type PopoverProps, Portal, type PortalProps, Progress, ProgressBar, type ProgressBarProps, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, RangeCalendar, type RangeCalendarProps, RangeInput, type RangeInputProps, type Responsive, Scrollspy, type ScrollspyProps, SearchField, type SearchFieldProps, Select, type SelectOptionDef, type SelectProps, type Shapes, type Sizing, Skeleton, SkeletonLoader, type SkeletonLoaderProps, type SkeletonProps, type Spacing, Spinner, type SpinnerProps, Stack, type StackProps, StaticTable, type StaticTableProps, Stepper, StepperItem, type StepperItemDef, type StepperItemProps, type StepperProps, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TextInput, type TextInputProps, Textarea, type TextareaProps, TimeField, type TimeFieldProps, Toast, ToastBody, type ToastBodyProps, type ToastContent, ToastFooter, type ToastFooterProps, ToastHeader, type ToastHeaderProps, ToastIcon, type ToastIconProps, type ToastProps, Toaster, type ToasterProps, Tooltip, type TooltipProps, Tree, TreeItem, type TreeItemProps, type TreeProps, type UseDrawerResult, type UseModalResult, type UseNotificationResult, type UsePaginationResult, type UseScrollspyOptions, type UseToastResult, VisuallyHidden, type VisuallyHiddenProps, addNotification, addToast, closeNotification, closeToast, notificationQueue, toastQueue, useDrawer, useHydrated, useModal, useNotification, usePagination, useScrollspy, useToast };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"./chunks/focus-ring-SR_LwaN7.js";import{i as e,n as t,r as n,t as r}from"./chunks/accordion-B8UWyvQB.js";import{n as i,t as a}from"./chunks/Portal-CgeR1WXV.js";import{a as o,i as s,n as c,o as l,r as u,t as d}from"./chunks/drawer-C7Tz4XU_.js";import{a as f,i as p,n as m,o as h,r as g,t as _}from"./chunks/modal-bgDR29Jh.js";import{a as v,c as y,i as b,l as x,n as S,o as C,r as w,s as T,t as E}from"./chunks/notification-
|
|
1
|
+
"use client";import"./chunks/focus-ring-SR_LwaN7.js";import{i as e,n as t,r as n,t as r}from"./chunks/accordion-B8UWyvQB.js";import{n as i,t as a}from"./chunks/Portal-CgeR1WXV.js";import{a as o,i as s,n as c,o as l,r as u,t as d}from"./chunks/drawer-C7Tz4XU_.js";import{a as f,i as p,n as m,o as h,r as g,t as _}from"./chunks/modal-bgDR29Jh.js";import{a as v,c as y,i as b,l as x,n as S,o as C,r as w,s as T,t as E}from"./chunks/notification-Dbci5Ka3.js";import{n as D,t as O}from"./chunks/datepicker-bOiM_zhJ.js";import{n as k,r as A,t as j}from"./chunks/pagination-BREQp-ZC.js";import{a as M,c as N,i as P,l as F,n as I,o as L,r as R,s as z,t as B,u as V}from"./chunks/toast-CGHl3-oU.js";import{o as H}from"./chunks/ComboboxListBox-Cm3L1ULl.js";import{t as U}from"./chunks/Icon-DLB1f88W.js";import{n as W,t as G}from"./chunks/FormHelp-AE6_iSLJ.js";import{t as K}from"./chunks/FormLabel-CYcQiFUI.js";import{n as q,r as J,t as Y}from"./chunks/autocomplete-Baf9VSHN.js";import{t as X}from"./chunks/Link-DyZyAQFj.js";import{t as Z}from"./chunks/badge-D2oztCvs.js";import{n as Q,r as $,t as ee}from"./chunks/avatar-MklqAKcz.js";import{t as te}from"./chunks/VisuallyHidden-C2dM7HhC.js";import{t as ne}from"./chunks/CloseButton-DPgQztE0.js";import{t as re}from"./chunks/stack-DK5F53VT.js";import{n as ie,t as ae}from"./chunks/breadcrumb-CHxTiZLt.js";import{t as oe}from"./chunks/Button-BoymWE-L.js";import"./button.js";import{n as se,t as ce}from"./chunks/button-group-BGppPrIv.js";import{n as le,t as ue}from"./chunks/RangeCalendar-BJl-j4W2.js";import"./calendar.js";import{a as de,c as fe,i as pe,n as me,o as he,r as ge,s as _e,t as ve}from"./chunks/datagrid-DOYxx0sF.js";import{a as ye,c as be,d as xe,i as Se,l as Ce,n as we,o as Te,r as Ee,s as De,t as Oe,u as ke}from"./chunks/card-CTP9K8xG.js";import{a as Ae,c as je,i as Me,n as Ne,o as Pe,r as Fe,s as Ie,t as Le}from"./chunks/carousel-fTVPqnSV.js";import{t as Re}from"./chunks/collapse--Go2Y73B.js";import{t as ze}from"./chunks/Chip-DCaWaBqo.js";import{t as Be}from"./chunks/chip-input-BpVDRERg.js";import"./close-button.js";import{t as Ve}from"./chunks/color-input-Bwl5ef5B.js";import{t as He}from"./chunks/file-input-CDM6qrmV.js";import{n as Ue,t as We}from"./chunks/combobox-Bp1tIaiW.js";import{t as Ge}from"./chunks/otp-input-ws393uPB.js";import{t as Ke}from"./chunks/password-strength-DDK8pHRq.js";import{t as qe}from"./chunks/Menu-CSBg2Zmc.js";import{d as Je,l as Ye,n as Xe,t as Ze,u as Qe}from"./chunks/MenuToggle-7RQ0dmtZ.js";import{n as $e,r as et,t as tt}from"./chunks/menu-Upf6P-2P.js";import{n as nt,r as rt,t as it}from"./chunks/grid-C7tO-ppc.js";import{n as at,t as ot}from"./chunks/checkbox-ZyQn5Ku5.js";import{t as st}from"./chunks/flex-B52oLCCC.js";import{t as ct}from"./chunks/form-GpdAyWWi.js";import{t as lt}from"./chunks/floating-input-DmSZZc27.js";import{t as ut}from"./chunks/form-field-CNPGTMiW.js";import{n as dt,t as ft}from"./chunks/input-group-Cuiuf4Dl.js";import{t as pt}from"./chunks/input-adorn-DwdX-jxA.js";import{n as mt,t as ht}from"./chunks/radio-B6gJdtoN.js";import{t as gt}from"./chunks/range-input-CT_8TKL7.js";import{t as _t}from"./chunks/select-BwJIfv9f.js";import{t as vt}from"./chunks/switch-C6s3LxEv.js";import{t as yt}from"./chunks/text-input-B4pTv6SU.js";import{t as bt}from"./chunks/textarea-1A1nABQE.js";import{t as xt}from"./chunks/icon-BQsT6YtE.js";import{t as St}from"./chunks/placeholder-DhNpUJqv.js";import"./link.js";import{n as Ct,t as wt}from"./chunks/list-07e2a1Ym.js";import{i as Tt,n as Et,r as Dt,t as Ot}from"./chunks/nav-DI6oEULI.js";import{a as kt,i as At,n as jt,r as Mt,t as Nt}from"./chunks/navbar-DxIwt0sc.js";import{t as Pt}from"./chunks/popover-Bdg8D4sm.js";import{n as Ft,t as It}from"./chunks/progress-BqgWezdG.js";import{n as Lt,t as Rt}from"./chunks/skeleton-Bjv9gGd3.js";import{t as zt}from"./chunks/spinner-DBuvQvMR.js";import{t as Bt}from"./chunks/static-table-uu297Liz.js";import{n as Vt,t as Ht}from"./chunks/stepper-CVXMJ2yg.js";import{a as Ut,i as Wt,n as Gt,o as Kt,r as qt,t as Jt}from"./chunks/table-DPLOygg0.js";import{i as Yt,n as Xt,r as Zt,t as Qt}from"./chunks/tabs-91T7-8qq.js";import{t as $t}from"./chunks/tooltip-Bc-u6nIW.js";import"./chip.js";import"./portal.js";import"./visually-hidden.js";import{a as en,c as tn,i as nn,n as rn,o as an,r as on,s as sn,t as cn}from"./chunks/alert-3kTBfWFw.js";import{t as ln}from"./chunks/nav-overflow-DlLer6EK.js";import{n as un,t as dn}from"./chunks/scrollspy-C2HmrnZ4.js";import{t as fn}from"./chunks/divider-CjbF4OfA.js";import{t as pn}from"./chunks/number-field-IBIX2IWH.js";import{t as mn}from"./chunks/time-field-B3MA7ED_.js";import{t as hn}from"./chunks/search-field--nDoCI_E.js";import{t as gn}from"./chunks/context-menu-B4a0tS-h.js";import{n as _n,t as vn}from"./chunks/tree-Cql1veeZ.js";import{I18nProvider as yn}from"react-aria";export{r as Accordion,e as AccordionBody,n as AccordionHeader,t as AccordionItem,tn as Alert,sn as AlertBody,an as AlertCancel,en as AlertCode,nn as AlertFooter,on as AlertIcon,rn as AlertText,cn as AlertTitle,Y as Autocomplete,J as AutocompleteGroup,q as AutocompleteItem,Q as Avatar,$ as AvatarImage,ee as AvatarStack,Z as Badge,ae as Breadcrumb,ie as BreadcrumbItem,oe as Button,se as ButtonGroup,ce as ButtonToolbar,le as Calendar,ye as Card,xe as CardBody,ke as CardFooter,Se as CardGroup,Ee as CardHeader,Ce as CardImage,we as CardImageOverlay,Oe as CardLink,be as CardSubtitle,De as CardText,Te as CardTitle,Pe as Carousel,Ae as CarouselControlNext,Me as CarouselControlPrev,Fe as CarouselIndicators,Ie as CarouselInner,je as CarouselItem,Ne as CarouselOverlay,Le as CarouselPlayPause,at as Checkbox,ot as CheckboxGroup,ze as Chip,Be as ChipInput,ne as CloseButton,Re as Collapse,Ve as ColorInput,We as Combobox,Ue as ComboboxGroup,H as ComboboxItem,rt as Container,gn as ContextMenu,fe as DataGrid,_e as DataGridBody,he as DataGridCell,de as DataGridColumn,pe as DataGridHeader,ge as DataGridRow,ve as DataGridSelectAllCell,me as DataGridSelectionCell,D as DatePicker,O as DateRangePicker,fn as Divider,l as Drawer,s as DrawerBody,u as DrawerFooter,c as DrawerHeader,d as DrawerTitle,He as FileInput,st as Flex,lt as FloatingInput,ct as Form,W as FormFeedback,ut as FormField,G as FormHelp,K as FormLabel,nt as Grid,it as GridItem,yn as I18nProvider,U as Icon,xt as IconProvider,pt as InputAdorn,dt as InputGroup,ft as InputGroupAddon,X as Link,wt as List,Ct as ListItem,qe as Menu,Je as MenuDivider,Qe as MenuHeader,Ye as MenuItem,Xe as MenuList,$e as MenuSubmenu,tt as MenuSubmenuBack,et as MenuText,Ze as MenuToggle,h as Modal,p as ModalBody,g as ModalFooter,m as ModalHeader,_ as ModalTitle,Et as Nav,Dt as NavItem,Tt as NavLink,ln as NavOverflow,Ot as NavTitle,kt as Navbar,At as NavbarBrand,Mt as NavbarNav,jt as NavbarText,Nt as NavbarToggler,C as Notification,v as NotificationIcon,E as NotificationStack,y as NotificationText,T as NotificationTitle,pn as NumberField,Ge as OtpInput,j as Pagination,k as PaginationItem,Ke as PasswordStrength,St as Placeholder,Pt as Popover,a as Portal,It as Progress,Ft as ProgressBar,mt as Radio,ht as RadioGroup,ue as RangeCalendar,gt as RangeInput,dn as Scrollspy,hn as SearchField,_t as Select,Lt as Skeleton,Rt as SkeletonLoader,zt as Spinner,re as Stack,Bt as StaticTable,Ht as Stepper,Vt as StepperItem,vt as Switch,Qt as Tab,Yt as TabList,Zt as TabPanel,Kt as Table,Ut as TableBody,Wt as TableCell,qt as TableColumn,Gt as TableHeader,Jt as TableRow,Xt as Tabs,yt as TextInput,bt as Textarea,mn as TimeField,L as Toast,F as ToastBody,N as ToastFooter,z as ToastHeader,M as ToastIcon,B as Toaster,$t as Tooltip,_n as Tree,vn as TreeItem,te as VisuallyHidden,S as addNotification,I as addToast,w as closeNotification,R as closeToast,b as notificationQueue,P as toastQueue,o as useDrawer,i as useHydrated,f as useModal,x as useNotification,A as usePagination,un as useScrollspy,V as useToast};
|
package/dist/link.d.ts
CHANGED
package/dist/link.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"./chunks/focus-ring-SR_LwaN7.js";import{t as e}from"./chunks/Link-
|
|
1
|
+
"use client";import"./chunks/focus-ring-SR_LwaN7.js";import{t as e}from"./chunks/Link-DyZyAQFj.js";export{e as Link};
|
package/dist/list.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ListProps, i as ListItemDef, n as ListItemProps, r as List, t as ListItem } from "./chunks/index-
|
|
1
|
+
import { a as ListProps, i as ListItemDef, n as ListItemProps, r as List, t as ListItem } from "./chunks/index-DtvHH_Mb.js";
|
|
2
2
|
export { List, ListItem, type ListItemDef, type ListItemProps, type ListProps };
|
package/dist/list.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"./chunks/list-
|
|
1
|
+
"use client";import{n as e,t}from"./chunks/list-07e2a1Ym.js";export{t as List,e as ListItem};
|
package/dist/menu.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { i as MenuItemsDef, n as MenuHeaderDef, r as MenuItemDef, t as MenuDividerDef } from "./chunks/MenuItemDef-D0VDtYIQ.js";
|
|
2
2
|
import { i as MenuProps, n as MenuAutoClose, r as MenuFocusStrategy, t as Menu } from "./chunks/Menu-QeYOzrUL.js";
|
|
3
|
-
import { a as MenuToggle, c as MenuTextProps, d as MenuItem, f as MenuItemProps, g as MenuDividerProps, h as MenuDivider, i as MenuSubmenuProps, l as MenuList, m as MenuHeaderProps, n as MenuSubmenuBackProps, o as MenuToggleProps, p as MenuHeader, r as MenuSubmenu, s as MenuText, t as MenuSubmenuBack, u as MenuListProps } from "./chunks/index-
|
|
3
|
+
import { a as MenuToggle, c as MenuTextProps, d as MenuItem, f as MenuItemProps, g as MenuDividerProps, h as MenuDivider, i as MenuSubmenuProps, l as MenuList, m as MenuHeaderProps, n as MenuSubmenuBackProps, o as MenuToggleProps, p as MenuHeader, r as MenuSubmenu, s as MenuText, t as MenuSubmenuBack, u as MenuListProps } from "./chunks/index-CYvVmTPR.js";
|
|
4
4
|
export { Menu, type MenuAutoClose, MenuDivider, type MenuDividerDef, type MenuDividerProps, type MenuFocusStrategy, MenuHeader, type MenuHeaderDef, type MenuHeaderProps, MenuItem, type MenuItemDef, type MenuItemProps, type MenuItemsDef, MenuList, type MenuListProps, type MenuProps, MenuSubmenu, MenuSubmenuBack, type MenuSubmenuBackProps, type MenuSubmenuProps, MenuText, type MenuTextProps, MenuToggle, type MenuToggleProps };
|
package/dist/menu.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{t as e}from"./chunks/Menu-CSBg2Zmc.js";import{d as t,l as n,n as r,t as i,u as a}from"./chunks/MenuToggle-
|
|
1
|
+
"use client";import{t as e}from"./chunks/Menu-CSBg2Zmc.js";import{d as t,l as n,n as r,t as i,u as a}from"./chunks/MenuToggle-7RQ0dmtZ.js";import{n as o,r as s,t as c}from"./chunks/menu-Upf6P-2P.js";export{e as Menu,t as MenuDivider,a as MenuHeader,n as MenuItem,r as MenuList,o as MenuSubmenu,c as MenuSubmenuBack,s as MenuText,i as MenuToggle};
|
package/dist/nav-overflow.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as NavOverflowDetail, r as NavOverflowProps, t as NavOverflow } from "./chunks/index-
|
|
1
|
+
import { n as NavOverflowDetail, r as NavOverflowProps, t as NavOverflow } from "./chunks/index-DPCwFiJL.js";
|
|
2
2
|
export { NavOverflow, type NavOverflowDetail, type NavOverflowProps };
|
package/dist/nav-overflow.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{t as e}from"./chunks/nav-overflow-
|
|
1
|
+
"use client";import{t as e}from"./chunks/nav-overflow-DlLer6EK.js";export{e as NavOverflow};
|
package/dist/nav.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NavLink, c as NavItemDef, i as NavItemProps, l as NavProps, n as NavTitleProps, o as NavLinkProps, r as NavItem, s as Nav, t as NavTitle } from "./chunks/index-
|
|
1
|
+
import { a as NavLink, c as NavItemDef, i as NavItemProps, l as NavProps, n as NavTitleProps, o as NavLinkProps, r as NavItem, s as Nav, t as NavTitle } from "./chunks/index-DQImhbhy.js";
|
|
2
2
|
export { Nav, NavItem, type NavItemDef, type NavItemProps, NavLink, type NavLinkProps, type NavProps, NavTitle, type NavTitleProps };
|
package/dist/nav.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{i as e,n as t,r as n,t as r}from"./chunks/nav-
|
|
1
|
+
"use client";import{i as e,n as t,r as n,t as r}from"./chunks/nav-DI6oEULI.js";export{t as Nav,n as NavItem,e as NavLink,r as NavTitle};
|
package/dist/navbar.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NavbarNav, c as NavbarBrandProps, i as NavbarTextProps, l as Navbar, n as NavbarTogglerProps, o as NavbarNavProps, r as NavbarText, s as NavbarBrand, t as NavbarToggler, u as NavbarProps } from "./chunks/index-
|
|
1
|
+
import { a as NavbarNav, c as NavbarBrandProps, i as NavbarTextProps, l as Navbar, n as NavbarTogglerProps, o as NavbarNavProps, r as NavbarText, s as NavbarBrand, t as NavbarToggler, u as NavbarProps } from "./chunks/index-x0vZRyoU.js";
|
|
2
2
|
export { Navbar, NavbarBrand, type NavbarBrandProps, NavbarNav, type NavbarNavProps, type NavbarProps, NavbarText, type NavbarTextProps, NavbarToggler, type NavbarTogglerProps };
|
package/dist/notification.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as closeNotification, c as NotificationStackProps, d as NotificationIcon, f as NotificationIconProps, g as NotificationProps, h as Notification, i as addNotification, l as NotificationText, m as NotificationTitleProps, n as useNotification, o as notificationQueue, p as NotificationTitle, r as NotificationContent, s as NotificationStack, t as UseNotificationResult, u as NotificationTextProps } from "./chunks/index-
|
|
1
|
+
import { a as closeNotification, c as NotificationStackProps, d as NotificationIcon, f as NotificationIconProps, g as NotificationProps, h as Notification, i as addNotification, l as NotificationText, m as NotificationTitleProps, n as useNotification, o as notificationQueue, p as NotificationTitle, r as NotificationContent, s as NotificationStack, t as UseNotificationResult, u as NotificationTextProps } from "./chunks/index-BMkbJVHg.js";
|
|
2
2
|
export { Notification, type NotificationContent, NotificationIcon, type NotificationIconProps, type NotificationProps, NotificationStack, type NotificationStackProps, NotificationText, type NotificationTextProps, NotificationTitle, type NotificationTitleProps, type UseNotificationResult, addNotification, closeNotification, notificationQueue, useNotification };
|
package/dist/notification.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c}from"./chunks/notification-
|
|
1
|
+
"use client";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c}from"./chunks/notification-Dbci5Ka3.js";export{a as Notification,e as NotificationIcon,c as NotificationStack,t as NotificationText,s as NotificationTitle,i as addNotification,o as closeNotification,n as notificationQueue,r as useNotification};
|
package/dist/pagination.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,r as t,t as n}from"./chunks/pagination-
|
|
1
|
+
"use client";import{n as e,r as t,t as n}from"./chunks/pagination-BREQp-ZC.js";export{n as Pagination,e as PaginationItem,t as usePagination};
|
package/dist/placeholder.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PlaceholderProps, t as Placeholder } from "./chunks/index-
|
|
1
|
+
import { n as PlaceholderProps, t as Placeholder } from "./chunks/index-0jbACjYQ.js";
|
|
2
2
|
export { Placeholder, type PlaceholderProps };
|
package/dist/placeholder.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{t as e}from"./chunks/placeholder-
|
|
1
|
+
"use client";import{t as e}from"./chunks/placeholder-DhNpUJqv.js";export{e as Placeholder};
|
package/dist/progress.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as ProgressProps, n as ProgressBarProps, r as Progress, t as ProgressBar } from "./chunks/index-
|
|
1
|
+
import { i as ProgressProps, n as ProgressBarProps, r as Progress, t as ProgressBar } from "./chunks/index-BOx8v-oT.js";
|
|
2
2
|
export { Progress, ProgressBar, type ProgressBarProps, type ProgressProps };
|
package/dist/progress.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"./chunks/progress-
|
|
1
|
+
"use client";import{n as e,t}from"./chunks/progress-BqgWezdG.js";export{t as Progress,e as ProgressBar};
|
package/dist/radio.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as RadioProps, n as RadioGroupProps, r as Radio, t as RadioGroup } from "./chunks/index-
|
|
1
|
+
import { i as RadioProps, n as RadioGroupProps, r as Radio, t as RadioGroup } from "./chunks/index-CjT_4IZx.js";
|
|
2
2
|
export { Radio, RadioGroup, type RadioGroupProps, type RadioProps };
|
package/dist/radio.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"./chunks/radio-
|
|
1
|
+
"use client";import{n as e,t}from"./chunks/radio-B6gJdtoN.js";export{e as Radio,t as RadioGroup};
|
package/dist/skeleton.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as SkeletonProps, n as SkeletonLoaderProps, r as Skeleton, t as SkeletonLoader } from "./chunks/index-
|
|
1
|
+
import { i as SkeletonProps, n as SkeletonLoaderProps, r as Skeleton, t as SkeletonLoader } from "./chunks/index-CHQR8x8_.js";
|
|
2
2
|
export { Skeleton, SkeletonLoader, type SkeletonLoaderProps, type SkeletonProps };
|
package/dist/skeleton.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"./chunks/skeleton-
|
|
1
|
+
"use client";import{n as e,t}from"./chunks/skeleton-Bjv9gGd3.js";export{e as Skeleton,t as SkeletonLoader};
|
package/dist/spinner.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SpinnerProps, t as Spinner } from "./chunks/index-
|
|
1
|
+
import { n as SpinnerProps, t as Spinner } from "./chunks/index-Dzga1f4w.js";
|
|
2
2
|
export { Spinner, type SpinnerProps };
|
package/dist/spinner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{t as e}from"./chunks/spinner-
|
|
1
|
+
"use client";import{t as e}from"./chunks/spinner-DBuvQvMR.js";export{e as Spinner};
|
package/dist/stack.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as StackProps, t as Stack } from "./chunks/index-
|
|
1
|
+
import { n as StackProps, t as Stack } from "./chunks/index-YJ9QdBuq.js";
|
|
2
2
|
export { Stack, type StackProps };
|
package/dist/stack.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{t as e}from"./chunks/stack-
|
|
1
|
+
"use client";import{t as e}from"./chunks/stack-DK5F53VT.js";export{e as Stack};
|
package/dist/static-table.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as StaticTableProps, t as StaticTable } from "./chunks/index-
|
|
1
|
+
import { n as StaticTableProps, t as StaticTable } from "./chunks/index-U27Ar174.js";
|
|
2
2
|
export { StaticTable, type StaticTableProps };
|
package/dist/static-table.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./chunks/static-table-
|
|
1
|
+
import{t as e}from"./chunks/static-table-uu297Liz.js";export{e as StaticTable};
|
package/dist/stepper.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as StepperProps, i as StepperItemDef, n as StepperItemProps, r as Stepper, t as StepperItem } from "./chunks/index-
|
|
1
|
+
import { a as StepperProps, i as StepperItemDef, n as StepperItemProps, r as Stepper, t as StepperItem } from "./chunks/index-BLS1jhSJ.js";
|
|
2
2
|
export { Stepper, StepperItem, type StepperItemDef, type StepperItemProps, type StepperProps };
|