@toptal/picasso-notification 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,8 +1,5 @@
1
- import { Notification } from '../Notification';
2
- import { NotificationActions } from '../NotificationActions';
3
- declare type NotificationCompoundType = typeof Notification & {
4
- Actions: typeof NotificationActions;
1
+ /// <reference types="react" />
2
+ export declare const NotificationCompound: import("react").ForwardRefExoticComponent<import("../Notification").PrivateProps & import("react").RefAttributes<HTMLElement>> & {
3
+ Actions: import("react").ForwardRefExoticComponent<import("../NotificationActions/NotificationActions").Props & import("react").RefAttributes<HTMLDivElement>>;
5
4
  };
6
- export declare const NotificationCompound: NotificationCompoundType;
7
- export {};
8
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/NotificationCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAE5D,aAAK,wBAAwB,GAAG,OAAO,YAAY,GAAG;IACpD,OAAO,EAAE,OAAO,mBAAmB,CAAA;CACpC,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,wBAKlC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/NotificationCompound/index.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,oBAAoB;;CAE/B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/NotificationCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAM5D,MAAM,CAAC,MAAM,oBAAoB,GAA6B,MAAM,CAAC,MAAM,CACzE,YAAY,EACZ;IACE,OAAO,EAAE,mBAAmB;CAC7B,CACF,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/NotificationCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAE5D,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE;IAC9D,OAAO,EAAE,mBAAmB;CAC7B,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-notification",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Toptal UI components library - Notification",
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-container": "1.0.2",
27
27
  "@toptal/picasso-icons": "1.0.2",
28
28
  "@toptal/picasso-shared": "14.0.1",
@@ -1,13 +1,6 @@
1
1
  import { Notification } from '../Notification'
2
2
  import { NotificationActions } from '../NotificationActions'
3
3
 
4
- type NotificationCompoundType = typeof Notification & {
5
- Actions: typeof NotificationActions
6
- }
7
-
8
- export const NotificationCompound: NotificationCompoundType = Object.assign(
9
- Notification,
10
- {
11
- Actions: NotificationActions,
12
- }
13
- )
4
+ export const NotificationCompound = Object.assign(Notification, {
5
+ Actions: NotificationActions,
6
+ })