@toptal/picasso-note 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,12 +1,7 @@
1
- import { Note } from '../Note';
2
- import { NoteContent } from '../NoteContent';
3
- import { NoteSubtitle } from '../NoteSubtitle';
4
- import { NoteTitle } from '../NoteTitle';
5
- declare type NoteCompoundType = typeof Note & {
6
- Title: typeof NoteTitle;
7
- Subtitle: typeof NoteSubtitle;
8
- Content: typeof NoteContent;
1
+ /// <reference types="react" />
2
+ export declare const NoteCompound: import("react").ForwardRefExoticComponent<import("../Note/Note").Props & import("react").RefAttributes<HTMLDivElement>> & {
3
+ Title: import("react").ForwardRefExoticComponent<import("../NoteTitle/NoteTitle").Props & import("react").RefAttributes<HTMLDivElement>>;
4
+ Subtitle: import("react").ForwardRefExoticComponent<import("../NoteSubtitle/NoteSubtitle").Props & import("react").RefAttributes<HTMLDivElement>>;
5
+ Content: import("react").ForwardRefExoticComponent<import("../NoteContent/NoteContent").Props & import("react").RefAttributes<HTMLDivElement>>;
9
6
  };
10
- export declare const NoteCompound: NoteCompoundType;
11
- export {};
12
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/NoteCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,aAAK,gBAAgB,GAAG,OAAO,IAAI,GAAG;IACpC,KAAK,EAAE,OAAO,SAAS,CAAA;IACvB,QAAQ,EAAE,OAAO,YAAY,CAAA;IAC7B,OAAO,EAAE,OAAO,WAAW,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,gBAIzB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/NoteCompound/index.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,YAAY;;;;CAIvB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/NoteCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAQxC,MAAM,CAAC,MAAM,YAAY,GAAqB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE;IAChE,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,YAAY;IACtB,OAAO,EAAE,WAAW;CACrB,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/NoteCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE;IAC9C,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,YAAY;IACtB,OAAO,EAAE,WAAW;CACrB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-note",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Toptal UI components library - Note",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -3,13 +3,7 @@ import { NoteContent } from '../NoteContent'
3
3
  import { NoteSubtitle } from '../NoteSubtitle'
4
4
  import { NoteTitle } from '../NoteTitle'
5
5
 
6
- type NoteCompoundType = typeof Note & {
7
- Title: typeof NoteTitle
8
- Subtitle: typeof NoteSubtitle
9
- Content: typeof NoteContent
10
- }
11
-
12
- export const NoteCompound: NoteCompoundType = Object.assign(Note, {
6
+ export const NoteCompound = Object.assign(Note, {
13
7
  Title: NoteTitle,
14
8
  Subtitle: NoteSubtitle,
15
9
  Content: NoteContent,