@toptal/picasso-page 1.0.8 → 1.0.9

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,24 +1,31 @@
1
- import { PageTopBarCompound as PageTopBar } from '../PageTopBarCompound';
2
- import { PageTopBarMenu } from '../PageTopBarMenu';
3
- import { PageSidebar } from '../PageSidebar';
4
- import Page from '../Page';
5
- import { PageHelmet } from '../PageHelmet';
6
- import { PageFooter } from '../PageFooter';
7
- import { PageContent } from '../PageContent';
8
- import { PageBanner } from '../PageBanner';
9
- import { PageAutocomplete } from '../PageAutocomplete';
10
- import { PageArticle } from '../PageArticle';
11
- declare type PageCompoundType = typeof Page & {
12
- TopBar: typeof PageTopBar;
13
- TopBarMenu: typeof PageTopBarMenu;
14
- Content: typeof PageContent;
15
- Footer: typeof PageFooter;
16
- Sidebar: typeof PageSidebar;
17
- Banner: typeof PageBanner;
18
- Helmet: typeof PageHelmet;
19
- Autocomplete: typeof PageAutocomplete;
20
- Article: typeof PageArticle;
1
+ /// <reference types="react" />
2
+ export declare const PageCompound: import("react").ForwardRefExoticComponent<import("../Page/Page").Props & import("react").RefAttributes<HTMLDivElement>> & {
3
+ TopBar: import("react").ForwardRefExoticComponent<import("../PageTopBar/PageTopBar").Props & import("react").RefAttributes<HTMLElement>> & {
4
+ Menu: import("react").ForwardRefExoticComponent<import("..").TopBarMenuProps & import("react").RefAttributes<HTMLUListElement>>;
5
+ Item: import("packages/shared/dist-package/src").OverridableComponent<import("../TopBarItem/TopBarItem").Props>;
6
+ };
7
+ TopBarMenu: import("react").ForwardRefExoticComponent<import("../PageTopBarMenu/PageTopBarMenu").Props & import("react").RefAttributes<HTMLDivElement>>;
8
+ Content: import("react").ForwardRefExoticComponent<import("../PageContent/PageContent").Props & import("react").RefAttributes<HTMLDivElement>>;
9
+ Footer: import("react").ForwardRefExoticComponent<import("../PageFooter/PageFooter").Props & import("react").RefAttributes<HTMLElement>>;
10
+ Sidebar: import("react").ForwardRefExoticComponent<import("../PageSidebar/PageSidebar").Props & import("react").RefAttributes<HTMLDivElement>> & {
11
+ Menu: import("react").ForwardRefExoticComponent<import("../SidebarMenu/SidebarMenu").Props & import("react").RefAttributes<HTMLUListElement>>;
12
+ Item: import("packages/shared/dist-package/src").OverridableComponent<import("../SidebarItem/types").Props>;
13
+ Logo: import("react").ForwardRefExoticComponent<import("../SidebarLogo/SidebarLogo").Props & import("react").RefAttributes<HTMLDivElement>>;
14
+ };
15
+ Banner: import("react").ForwardRefExoticComponent<import("../PageBanner/PageBanner").Props & import("react").RefAttributes<HTMLDivElement>> & {
16
+ Actions: import("react").ForwardRefExoticComponent<import("packages/base/Notification/dist-package/src/NotificationActions/NotificationActions").Props & import("react").RefAttributes<HTMLDivElement>>;
17
+ };
18
+ Helmet: {
19
+ (props: import("../PageHelmet").Props): JSX.Element;
20
+ displayName: string;
21
+ };
22
+ Autocomplete: {
23
+ ({ variant, testIds, ...rest }: import("../PageAutocomplete/PageAutocomplete").Props): JSX.Element;
24
+ displayName: string;
25
+ defaultProps: {
26
+ variant: string;
27
+ };
28
+ };
29
+ Article: import("packages/shared/dist-package/src").OverridableComponent<import("../PageArticle/PageArticle").Props>;
21
30
  };
22
- export declare const PageCompound: PageCompoundType;
23
- export {};
24
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/PageCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,IAAI,MAAM,SAAS,CAAA;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,aAAK,gBAAgB,GAAG,OAAO,IAAI,GAAG;IACpC,MAAM,EAAE,OAAO,UAAU,CAAA;IACzB,UAAU,EAAE,OAAO,cAAc,CAAA;IACjC,OAAO,EAAE,OAAO,WAAW,CAAA;IAC3B,MAAM,EAAE,OAAO,UAAU,CAAA;IACzB,OAAO,EAAE,OAAO,WAAW,CAAA;IAC3B,MAAM,EAAE,OAAO,UAAU,CAAA;IACzB,MAAM,EAAE,OAAO,UAAU,CAAA;IACzB,YAAY,EAAE,OAAO,gBAAgB,CAAA;IACrC,OAAO,EAAE,OAAO,WAAW,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,gBAUzB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/PageCompound/index.ts"],"names":[],"mappings":";AAWA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUvB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/PageCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,IAAI,MAAM,SAAS,CAAA;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,UAAU,E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AAE,UAAU;IAClB,MAAM,EAAE,UAAU;IAClB,YAAY,EAAE,gBAAgB;IAC9B,OAAO,EAAE,WAAW;CACrB,CAAC,CAAA"}
@@ -1,10 +1,6 @@
1
- import { PageTopBar } from '../PageTopBar';
2
- import { TopBarMenu } from '../TopBarMenu';
3
- import { TopBarItem } from '../TopBarItem';
4
- declare type PageTopBarCompoundType = typeof PageTopBar & {
5
- Menu: typeof TopBarMenu;
6
- Item: typeof TopBarItem;
1
+ /// <reference types="react" />
2
+ export declare const PageTopBarCompound: import("react").ForwardRefExoticComponent<import("../PageTopBar/PageTopBar").Props & import("react").RefAttributes<HTMLElement>> & {
3
+ Menu: import("react").ForwardRefExoticComponent<import("../TopBarMenu").TopBarMenuProps & import("react").RefAttributes<HTMLUListElement>>;
4
+ Item: import("packages/shared/dist-package/src").OverridableComponent<import("../TopBarItem/TopBarItem").Props>;
7
5
  };
8
- export declare const PageTopBarCompound: PageTopBarCompoundType;
9
- export {};
10
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/PageTopBarCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,aAAK,sBAAsB,GAAG,OAAO,UAAU,GAAG;IAChD,IAAI,EAAE,OAAO,UAAU,CAAA;IACvB,IAAI,EAAE,OAAO,UAAU,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,sBAMhC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/PageTopBarCompound/index.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,kBAAkB;;;CAG7B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/PageTopBarCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAO1C,MAAM,CAAC,MAAM,kBAAkB,GAA2B,MAAM,CAAC,MAAM,CACrE,UAAU,EACV;IACE,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;CACjB,CACF,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/PageTopBarCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE;IAC1D,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;CACjB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-page",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Toptal UI components library - Page",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -22,22 +22,22 @@
22
22
  },
23
23
  "homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
24
24
  "dependencies": {
25
- "@toptal/picasso-accordion": "1.0.5",
26
- "@toptal/picasso-autocomplete": "1.0.6",
27
- "@toptal/picasso-avatar": "1.0.3",
25
+ "@toptal/picasso-accordion": "1.0.6",
26
+ "@toptal/picasso-autocomplete": "1.0.7",
27
+ "@toptal/picasso-avatar": "1.0.4",
28
28
  "@toptal/picasso-badge": "1.0.2",
29
- "@toptal/picasso-button": "1.0.5",
29
+ "@toptal/picasso-button": "1.0.6",
30
30
  "@toptal/picasso-container": "1.0.2",
31
31
  "@toptal/picasso-dropdown": "1.0.3",
32
32
  "@toptal/picasso-icons": "1.0.2",
33
33
  "@toptal/picasso-logo": "1.0.2",
34
- "@toptal/picasso-menu": "1.0.5",
35
- "@toptal/picasso-notification": "1.0.5",
34
+ "@toptal/picasso-menu": "1.0.6",
35
+ "@toptal/picasso-notification": "1.0.6",
36
36
  "@toptal/picasso-shared": "14.0.1",
37
- "@toptal/picasso-tag": "1.0.3",
37
+ "@toptal/picasso-tag": "1.0.4",
38
38
  "@toptal/picasso-tooltip": "1.1.0",
39
39
  "@toptal/picasso-typography": "1.0.2",
40
- "@toptal/picasso-user-badge": "1.0.3",
40
+ "@toptal/picasso-user-badge": "1.0.4",
41
41
  "@toptal/picasso-utils": "1.0.2",
42
42
  "react-dom": "^18.2.0",
43
43
  "classnames": "^2.5.1"
@@ -9,19 +9,7 @@ import { PageBanner } from '../PageBanner'
9
9
  import { PageAutocomplete } from '../PageAutocomplete'
10
10
  import { PageArticle } from '../PageArticle'
11
11
 
12
- type PageCompoundType = typeof Page & {
13
- TopBar: typeof PageTopBar
14
- TopBarMenu: typeof PageTopBarMenu
15
- Content: typeof PageContent
16
- Footer: typeof PageFooter
17
- Sidebar: typeof PageSidebar
18
- Banner: typeof PageBanner
19
- Helmet: typeof PageHelmet
20
- Autocomplete: typeof PageAutocomplete
21
- Article: typeof PageArticle
22
- }
23
-
24
- export const PageCompound: PageCompoundType = Object.assign(Page, {
12
+ export const PageCompound = Object.assign(Page, {
25
13
  TopBar: PageTopBar,
26
14
  TopBarMenu: PageTopBarMenu,
27
15
  Content: PageContent,
@@ -2,15 +2,7 @@ import { PageTopBar } from '../PageTopBar'
2
2
  import { TopBarMenu } from '../TopBarMenu'
3
3
  import { TopBarItem } from '../TopBarItem'
4
4
 
5
- type PageTopBarCompoundType = typeof PageTopBar & {
6
- Menu: typeof TopBarMenu
7
- Item: typeof TopBarItem
8
- }
9
-
10
- export const PageTopBarCompound: PageTopBarCompoundType = Object.assign(
11
- PageTopBar,
12
- {
13
- Menu: TopBarMenu,
14
- Item: TopBarItem,
15
- }
16
- )
5
+ export const PageTopBarCompound = Object.assign(PageTopBar, {
6
+ Menu: TopBarMenu,
7
+ Item: TopBarItem,
8
+ })