@toptal/picasso-menu 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 { Menu } from '../Menu';
2
- import { MenuItem } from '../MenuItem';
3
- declare type MenuCompoundType = typeof Menu & {
4
- Item: typeof MenuItem;
1
+ /// <reference types="react" />
2
+ export declare const MenuCompound: import("react").ForwardRefExoticComponent<import("../Menu/Menu").Props & import("react").RefAttributes<HTMLUListElement>> & {
3
+ Item: import("packages/shared/dist-package/src").OverridableComponent<import("../MenuItem/MenuItem").Props>;
5
4
  };
6
- export declare const MenuCompound: MenuCompoundType;
7
- export {};
8
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/MenuCompound/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/MenuCompound/index.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,YAAY;;CAA0C,CAAA"}
@@ -1,6 +1,4 @@
1
1
  import { Menu } from '../Menu';
2
2
  import { MenuItem } from '../MenuItem';
3
- export const MenuCompound = Object.assign(Menu, {
4
- Item: MenuItem,
5
- });
3
+ export const MenuCompound = Object.assign(Menu, { Item: MenuItem });
6
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/MenuCompound/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/MenuCompound/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-menu",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Toptal UI components library - Menu",
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-avatar": "1.0.3",
25
+ "@toptal/picasso-avatar": "1.0.4",
26
26
  "@toptal/picasso-container": "1.0.2",
27
27
  "@toptal/picasso-icons": "1.0.2",
28
28
  "@toptal/picasso-link": "1.0.2",
@@ -1,10 +1,4 @@
1
1
  import { Menu } from '../Menu'
2
2
  import { MenuItem } from '../MenuItem'
3
3
 
4
- type MenuCompoundType = typeof Menu & {
5
- Item: typeof MenuItem
6
- }
7
-
8
- export const MenuCompound: MenuCompoundType = Object.assign(Menu, {
9
- Item: MenuItem,
10
- })
4
+ export const MenuCompound = Object.assign(Menu, { Item: MenuItem })