quicksnack 3.65.0 → 3.65.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.
@@ -1,7 +1,25 @@
1
1
  import React, { PropsWithChildren } from "react";
2
- declare const StyledTableRow: React.ForwardRefExoticComponent<React.RefAttributes<HTMLTableRowElement>>;
3
- declare const StyledTableCell: React.ForwardRefExoticComponent<React.RefAttributes<HTMLTableCellElement>>;
4
- declare const StyledTableHeadCell: React.ForwardRefExoticComponent<React.RefAttributes<HTMLTableCellElement>>;
2
+ interface RowProps extends React.HTMLAttributes<HTMLTableRowElement> {
3
+ disableHover?: boolean;
4
+ }
5
+ declare const StyledTableRow: React.ForwardRefExoticComponent<RowProps & {
6
+ children?: React.ReactNode;
7
+ } & React.RefAttributes<HTMLTableRowElement>>;
8
+ interface CellProps extends React.HTMLAttributes<HTMLTableCellElement> {
9
+ variant?: "positive" | "negative" | "info" | "warning" | "basic" | "emphasized";
10
+ width?: number | string;
11
+ }
12
+ declare const StyledTableCell: React.ForwardRefExoticComponent<CellProps & {
13
+ children?: React.ReactNode;
14
+ } & React.RefAttributes<HTMLTableCellElement>>;
15
+ interface HeadCellProps extends React.HTMLAttributes<HTMLTableCellElement> {
16
+ sortable?: boolean;
17
+ sortDirection?: "asc" | "desc";
18
+ width?: number | string;
19
+ }
20
+ declare const StyledTableHeadCell: React.ForwardRefExoticComponent<HeadCellProps & {
21
+ children?: React.ReactNode;
22
+ } & React.RefAttributes<HTMLTableCellElement>>;
5
23
  export declare const Table: React.FC<PropsWithChildren<React.HTMLAttributes<HTMLTableElement>>> & {
6
24
  Row: typeof StyledTableRow;
7
25
  Cell: typeof StyledTableCell;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quicksnack",
3
3
  "description": "Quickly create beautiful admin layouts using react",
4
- "version": "3.65.0",
4
+ "version": "3.65.1",
5
5
  "private": false,
6
6
  "files": [
7
7
  "dist/**"