@toptal/picasso-grid 1.0.3 → 1.0.4

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,8 +1,5 @@
1
- import { Grid } from '../Grid';
2
- import { GridItem } from '../GridItem';
3
- declare type GridCompoundType = typeof Grid & {
4
- Item: typeof GridItem;
1
+ /// <reference types="react" />
2
+ export declare const GridCompound: import("react").ForwardRefExoticComponent<import("../Grid/Grid").Props & import("react").RefAttributes<HTMLDivElement>> & {
3
+ Item: import("react").ForwardRefExoticComponent<import("../GridItem/GridItem").Props & import("react").RefAttributes<HTMLDivElement>>;
5
4
  };
6
- export declare const GridCompound: GridCompoundType;
7
- export {};
8
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/GridCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,aAAK,gBAAgB,GAAG,OAAO,IAAI,GAAG;IACpC,IAAI,EAAE,OAAO,QAAQ,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,gBAEzB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/GridCompound/index.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,YAAY;;CAA0C,CAAA"}
@@ -1,6 +1,4 @@
1
1
  import { Grid } from '../Grid';
2
2
  import { GridItem } from '../GridItem';
3
- export const GridCompound = Object.assign(Grid, {
4
- Item: GridItem,
5
- });
3
+ export const GridCompound = Object.assign(Grid, { Item: GridItem });
6
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/GridCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAMtC,MAAM,CAAC,MAAM,YAAY,GAAqB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE;IAChE,IAAI,EAAE,QAAQ;CACf,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/GridCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-grid",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Toptal UI components library - Grid",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,10 +1,4 @@
1
1
  import { Grid } from '../Grid'
2
2
  import { GridItem } from '../GridItem'
3
3
 
4
- type GridCompoundType = typeof Grid & {
5
- Item: typeof GridItem
6
- }
7
-
8
- export const GridCompound: GridCompoundType = Object.assign(Grid, {
9
- Item: GridItem,
10
- })
4
+ export const GridCompound = Object.assign(Grid, { Item: GridItem })