@toptal/picasso-modal 1.0.5 → 1.0.6

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,12 +1,7 @@
1
- import { Modal } from '../Modal';
2
- import { ModalActions } from '../ModalActions';
3
- import { ModalContent } from '../ModalContent';
4
- import { ModalTitle } from '../ModalTitle';
5
- declare type ModalCompoundType = typeof Modal & {
6
- Content: typeof ModalContent;
7
- Actions: typeof ModalActions;
8
- Title: typeof ModalTitle;
1
+ /// <reference types="react" />
2
+ export declare const ModalCompound: import("react").ForwardRefExoticComponent<import("../Modal").Props & import("react").RefAttributes<HTMLElement>> & {
3
+ Content: import("react").ForwardRefExoticComponent<import("../ModalContent/ModalContent").Props & import("react").RefAttributes<HTMLDivElement>>;
4
+ Actions: import("react").ForwardRefExoticComponent<import("../ModalActions/ModalActions").Props & import("react").RefAttributes<HTMLDivElement>>;
5
+ Title: import("react").ForwardRefExoticComponent<import("../ModalTitle/ModalTitle").Props & import("react").RefAttributes<HTMLDivElement>>;
9
6
  };
10
- export declare const ModalCompound: ModalCompoundType;
11
- export {};
12
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ModalCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,aAAK,iBAAiB,GAAG,OAAO,KAAK,GAAG;IACtC,OAAO,EAAE,OAAO,YAAY,CAAA;IAC5B,OAAO,EAAE,OAAO,YAAY,CAAA;IAC5B,KAAK,EAAE,OAAO,UAAU,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,iBAI1B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ModalCompound/index.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,aAAa;;;;CAIxB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ModalCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAQ1C,MAAM,CAAC,MAAM,aAAa,GAAsB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;IACnE,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,UAAU;CAClB,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ModalCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;IAChD,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,UAAU;CAClB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-modal",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Toptal UI components library - Modal",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
24
24
  "dependencies": {
25
- "@toptal/picasso-button": "1.0.5",
25
+ "@toptal/picasso-button": "1.0.6",
26
26
  "@toptal/picasso-icons": "1.0.2",
27
27
  "@toptal/picasso-typography": "1.0.2",
28
28
  "@toptal/picasso-utils": "1.0.2",
@@ -3,13 +3,7 @@ import { ModalActions } from '../ModalActions'
3
3
  import { ModalContent } from '../ModalContent'
4
4
  import { ModalTitle } from '../ModalTitle'
5
5
 
6
- type ModalCompoundType = typeof Modal & {
7
- Content: typeof ModalContent
8
- Actions: typeof ModalActions
9
- Title: typeof ModalTitle
10
- }
11
-
12
- export const ModalCompound: ModalCompoundType = Object.assign(Modal, {
6
+ export const ModalCompound = Object.assign(Modal, {
13
7
  Content: ModalContent,
14
8
  Actions: ModalActions,
15
9
  Title: ModalTitle,