@toptal/picasso-overview-block 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,10 +1,19 @@
1
- import { OverviewBlock } from '../OverviewBlock';
2
- import { OverviewBlockGroup } from '../OverviewBlockGroup';
3
- import { OverviewBlockRow } from '../OverviewBlockRow';
4
- declare type OverviewBlockCompoundType = typeof OverviewBlock & {
5
- Group: typeof OverviewBlockGroup;
6
- Row: typeof OverviewBlockRow;
1
+ /// <reference types="react" />
2
+ export declare const OverviewBlockCompound: import("packages/shared/dist-package/src").OverridableComponent<import("../OverviewBlock/OverviewBlock").Props> & {
3
+ Group: {
4
+ (props: import("react").HTMLAttributes<HTMLDivElement> & {
5
+ align?: import("../OverviewBlockGroup/settings").Alignment | undefined;
6
+ blockWidth?: import("../OverviewBlockGroup/settings").BlockWidth | undefined;
7
+ }): JSX.Element;
8
+ displayName: string;
9
+ defaultProps: {
10
+ align: string;
11
+ blockWidth: string;
12
+ };
13
+ };
14
+ Row: {
15
+ (props: import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
16
+ displayName: string;
17
+ };
7
18
  };
8
- export declare const OverviewBlockCompound: OverviewBlockCompoundType;
9
- export {};
10
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/OverviewBlockCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,aAAK,yBAAyB,GAAG,OAAO,aAAa,GAAG;IACtD,KAAK,EAAE,OAAO,kBAAkB,CAAA;IAChC,GAAG,EAAE,OAAO,gBAAgB,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,yBAMnC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/OverviewBlockCompound/index.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;CAGhC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/OverviewBlockCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAOtD,MAAM,CAAC,MAAM,qBAAqB,GAA8B,MAAM,CAAC,MAAM,CAC3E,aAAa,EACb;IACE,KAAK,EAAE,kBAAkB;IACzB,GAAG,EAAE,gBAAgB;CACtB,CACF,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/OverviewBlockCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE;IAChE,KAAK,EAAE,kBAAkB;IACzB,GAAG,EAAE,gBAAgB;CACtB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-overview-block",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Toptal UI components library - OverviewBlock",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -2,15 +2,7 @@ import { OverviewBlock } from '../OverviewBlock'
2
2
  import { OverviewBlockGroup } from '../OverviewBlockGroup'
3
3
  import { OverviewBlockRow } from '../OverviewBlockRow'
4
4
 
5
- type OverviewBlockCompoundType = typeof OverviewBlock & {
6
- Group: typeof OverviewBlockGroup
7
- Row: typeof OverviewBlockRow
8
- }
9
-
10
- export const OverviewBlockCompound: OverviewBlockCompoundType = Object.assign(
11
- OverviewBlock,
12
- {
13
- Group: OverviewBlockGroup,
14
- Row: OverviewBlockRow,
15
- }
16
- )
5
+ export const OverviewBlockCompound = Object.assign(OverviewBlock, {
6
+ Group: OverviewBlockGroup,
7
+ Row: OverviewBlockRow,
8
+ })