@toptal/picasso-tabs 1.0.4 → 1.0.5

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 { Tab } from '../Tab';
2
- import { Tabs } from '../Tabs';
3
- declare type TabsCompoundType = typeof Tabs & {
4
- Tab: typeof Tab;
1
+ /// <reference types="react" />
2
+ export declare const TabsCompound: import("react").ForwardRefExoticComponent<import("../Tabs/Tabs").Props & import("react").RefAttributes<HTMLButtonElement>> & {
3
+ Tab: import("react").ForwardRefExoticComponent<import("../Tab/Tab").Props & import("react").RefAttributes<HTMLDivElement>>;
5
4
  };
6
- export declare const TabsCompound: TabsCompoundType;
7
- export {};
8
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/TabsCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,aAAK,gBAAgB,GAAG,OAAO,IAAI,GAAG;IACpC,GAAG,EAAE,OAAO,GAAG,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,gBAEzB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/TabsCompound/index.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,YAAY;;CAEvB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/TabsCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAM9B,MAAM,CAAC,MAAM,YAAY,GAAqB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE;IAChE,GAAG;CACJ,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/TabsCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE;IAC9C,GAAG;CACJ,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-tabs",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Toptal UI components library - Tabs",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -27,7 +27,7 @@
27
27
  "@toptal/picasso-shared": "14.0.1",
28
28
  "@toptal/picasso-typography": "1.0.2",
29
29
  "@toptal/picasso-typography-overflow": "1.0.3",
30
- "@toptal/picasso-user-badge": "1.0.3",
30
+ "@toptal/picasso-user-badge": "1.0.4",
31
31
  "@toptal/picasso-utils": "1.0.2",
32
32
  "ap-style-title-case": "^1.1.2",
33
33
  "classnames": "^2.5.1"
@@ -1,10 +1,6 @@
1
1
  import { Tab } from '../Tab'
2
2
  import { Tabs } from '../Tabs'
3
3
 
4
- type TabsCompoundType = typeof Tabs & {
5
- Tab: typeof Tab
6
- }
7
-
8
- export const TabsCompound: TabsCompoundType = Object.assign(Tabs, {
4
+ export const TabsCompound = Object.assign(Tabs, {
9
5
  Tab,
10
6
  })