@appquality/unguess-design-system 2.10.52 → 2.10.55

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.
@@ -0,0 +1,10 @@
1
+ import React, { HTMLAttributes } from "react";
2
+ export interface PageHeaderProps extends HTMLAttributes<HTMLDivElement> {
3
+ }
4
+ export interface PageHeaderMainProps extends HTMLAttributes<HTMLDivElement> {
5
+ infoTitle: string;
6
+ infoOverline?: string;
7
+ infoDescription?: string;
8
+ infoCounters?: Array<React.ReactNode>;
9
+ metaImage?: string;
10
+ }
@@ -0,0 +1,17 @@
1
+ import { PageHeaderProps } from "./_types";
2
+ import { BreadcrumbArgs } from "../../breadcrumbs/_types";
3
+ import { PropsWithChildren } from "react";
4
+ /**
5
+ * A PageHeader is a modular container used for pages with an opinionated set of default spaces and subcomponents order.
6
+ * <hr>
7
+ * Used for this:
8
+ - Display page informations and meta data
9
+ - As a container for the top part of the page
10
+ */
11
+ declare const PageHeader: {
12
+ (props: PageHeaderProps): JSX.Element;
13
+ Breadcrumb: (props: BreadcrumbArgs) => JSX.Element;
14
+ Main: (props: import("./_types").PageHeaderMainProps) => JSX.Element;
15
+ Buttons: (props: PropsWithChildren<{}>) => JSX.Element;
16
+ };
17
+ export { PageHeader };
@@ -0,0 +1,19 @@
1
+ import { ComponentMeta, Story } from "@storybook/react";
2
+ import { PageHeaderMainProps } from "./_types";
3
+ import React from "react";
4
+ interface PageHeaderStoryProps {
5
+ pageHeaderArgs: {
6
+ buttons: Array<React.ReactNode>;
7
+ };
8
+ pageHeaderMainArgs: PageHeaderMainProps;
9
+ }
10
+ export declare const Default: Story<PageHeaderStoryProps>;
11
+ declare const _default: ComponentMeta<{
12
+ (props: import("./_types").PageHeaderProps): JSX.Element;
13
+ Breadcrumb: (props: import("../../breadcrumbs/_types").BreadcrumbArgs) => JSX.Element;
14
+ Main: (props: PageHeaderMainProps) => JSX.Element;
15
+ Buttons: (props: {
16
+ children?: React.ReactNode;
17
+ }) => JSX.Element;
18
+ }>;
19
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { PageHeaderMainProps } from "../_types";
2
+ export declare const Main: (props: PageHeaderMainProps) => JSX.Element;
@@ -1,4 +1,7 @@
1
1
  export declare const components: {
2
2
  chrome: any;
3
3
  notification: any;
4
+ pageHeader: {
5
+ imgMaxHeight: string;
6
+ };
4
7
  };
@@ -189,6 +189,9 @@ declare const theme: {
189
189
  components: {
190
190
  chrome: any;
191
191
  notification: any;
192
+ pageHeader: {
193
+ imgMaxHeight: string;
194
+ };
192
195
  };
193
196
  shadows: {
194
197
  boxShadow: (theme: import("@zendeskgarden/react-theming").IGardenTheme) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "2.10.52",
3
+ "version": "2.10.55",
4
4
  "dependencies": {
5
5
  "@zendeskgarden/css-bedrock": "^9.0.0",
6
6
  "@zendeskgarden/react-accordions": "^8.49.0",