@toptal/picasso-table 1.1.2 → 1.1.3

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,20 +1,11 @@
1
- import { Table } from '../Table';
2
- import { TableCell } from '../TableCell';
3
- import { TableBody } from '../TableBody';
4
- import { TableRow } from '../TableRow';
5
- import { TableHead } from '../TableHead';
6
- import { TableSectionHead } from '../TableSectionHead';
7
- import { TableFooter } from '../TableFooter';
8
- import { TableExpandableRow } from '../TableExpandableRow';
9
- declare type TableCompoundType = typeof Table & {
10
- Cell: typeof TableCell;
11
- Body: typeof TableBody;
12
- Row: typeof TableRow;
13
- Head: typeof TableHead;
14
- SectionHead: typeof TableSectionHead;
15
- Footer: typeof TableFooter;
16
- ExpandableRow: typeof TableExpandableRow;
1
+ /// <reference types="react" />
2
+ export declare const TableCompound: import("react").ForwardRefExoticComponent<import("../Table/Table").Props & import("react").RefAttributes<HTMLTableElement>> & {
3
+ Cell: import("react").ForwardRefExoticComponent<import("../TableCell/TableCell").Props & import("react").RefAttributes<HTMLTableCellElement>>;
4
+ Body: import("react").ForwardRefExoticComponent<import("../TableBody/TableBody").Props & import("react").RefAttributes<HTMLTableSectionElement>>;
5
+ Head: import("react").ForwardRefExoticComponent<import("../TableHead/TableHead").Props & import("react").RefAttributes<HTMLTableSectionElement>>;
6
+ SectionHead: import("react").FunctionComponent<import("../TableSectionHead/TableSectionHead").Props>;
7
+ Row: import("react").ForwardRefExoticComponent<import("../TableRow/TableRow").Props & import("react").RefAttributes<HTMLTableRowElement>>;
8
+ ExpandableRow: import("react").ForwardRefExoticComponent<import("../TableExpandableRow/TableExpandableRow").Props & import("react").RefAttributes<HTMLTableRowElement>>;
9
+ Footer: import("react").ForwardRefExoticComponent<import("../TableFooter/TableFooter").Props & import("react").RefAttributes<HTMLTableSectionElement>>;
17
10
  };
18
- export declare const TableCompound: TableCompoundType;
19
- export {};
20
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/TableCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,aAAK,iBAAiB,GAAG,OAAO,KAAK,GAAG;IACtC,IAAI,EAAE,OAAO,SAAS,CAAA;IACtB,IAAI,EAAE,OAAO,SAAS,CAAA;IACtB,GAAG,EAAE,OAAO,QAAQ,CAAA;IACpB,IAAI,EAAE,OAAO,SAAS,CAAA;IACtB,WAAW,EAAE,OAAO,gBAAgB,CAAA;IACpC,MAAM,EAAE,OAAO,WAAW,CAAA;IAC1B,aAAa,EAAE,OAAO,kBAAkB,CAAA;CACzC,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,iBAQ1B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/TableCompound/index.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,aAAa;;;;;;;;CAQxB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/TableCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAY1D,MAAM,CAAC,MAAM,aAAa,GAAsB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;IACnE,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,gBAAgB;IAC7B,GAAG,EAAE,QAAQ;IACb,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE,WAAW;CACpB,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/TableCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;IAChD,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,gBAAgB;IAC7B,GAAG,EAAE,QAAQ;IACb,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE,WAAW;CACpB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-table",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Toptal UI components library - Table",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@toptal/picasso-shared": "14.0.1",
26
26
  "@toptal/picasso-typography": "1.0.2",
27
- "@toptal/picasso-button": "1.0.5",
27
+ "@toptal/picasso-button": "1.0.6",
28
28
  "@toptal/picasso-icons": "1.0.2",
29
29
  "@toptal/picasso-utils": "1.0.2",
30
30
  "ap-style-title-case": "^1.1.2",
@@ -7,17 +7,7 @@ import { TableSectionHead } from '../TableSectionHead'
7
7
  import { TableFooter } from '../TableFooter'
8
8
  import { TableExpandableRow } from '../TableExpandableRow'
9
9
 
10
- type TableCompoundType = typeof Table & {
11
- Cell: typeof TableCell
12
- Body: typeof TableBody
13
- Row: typeof TableRow
14
- Head: typeof TableHead
15
- SectionHead: typeof TableSectionHead
16
- Footer: typeof TableFooter
17
- ExpandableRow: typeof TableExpandableRow
18
- }
19
-
20
- export const TableCompound: TableCompoundType = Object.assign(Table, {
10
+ export const TableCompound = Object.assign(Table, {
21
11
  Cell: TableCell,
22
12
  Body: TableBody,
23
13
  Head: TableHead,