@idea-fragments/react-components-zendesk 0.1.23 → 0.1.25
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.
- package/dist/layouts.js +3 -3
- package/dist/layouts.js.map +1 -1
- package/dist/navigation.js +4 -4
- package/dist/navigation.js.map +1 -1
- package/dist/types/components/layout/IconAppBar.d.ts.map +1 -1
- package/dist/types/components/layout/IconAppBar.stories.d.ts.map +1 -1
- package/dist/types/components/layout/NavigationAction.d.ts +2 -2
- package/dist/types/components/layout/NavigationAction.d.ts.map +1 -1
- package/dist/types/components/layout/SectionHeader.d.ts +2 -1
- package/dist/types/components/layout/SectionHeader.d.ts.map +1 -1
- package/dist/types/components/layout/SectionHeader.stories.d.ts +1 -1
- package/dist/types/components/layout/Sidebar.d.ts.map +1 -1
- package/dist/types/components/navigation/ButtonLink.d.ts +7 -21
- package/dist/types/components/navigation/ButtonLink.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconAppBar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/IconAppBar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAGrE,OAAc,EAAE,EAAE,EAAE,MAAa,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"IconAppBar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/IconAppBar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAGrE,OAAc,EAAE,EAAE,EAAE,MAAa,OAAO,CAAA;AAOxC,aAAK,eAAe,GAAG;IACrB,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AAED,eAAO,IAAI,UAAU,EAAE,EAAE,CAAC,eAAe,CA0CxC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconAppBar.stories.d.ts","sourceRoot":"","sources":["../../../src/components/layout/IconAppBar.stories.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAe,OAAO,CAAA;;;;;;;;;;AAGlC,wBAIC;
|
|
1
|
+
{"version":3,"file":"IconAppBar.stories.d.ts","sourceRoot":"","sources":["../../../src/components/layout/IconAppBar.stories.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAe,OAAO,CAAA;;;;;;;;;;AAGlC,wBAIC;AAeD,eAAO,MAAM,OAAO,mBAAiB,CAAA"}
|
|
@@ -6,13 +6,13 @@ export declare type NavigationAction = {
|
|
|
6
6
|
href?: string;
|
|
7
7
|
icon?: any | ComponentType;
|
|
8
8
|
label: string;
|
|
9
|
-
onClick?: () =>
|
|
9
|
+
onClick?: () => void;
|
|
10
10
|
} & (NavigationLinkProps | NavigationButtonProps);
|
|
11
11
|
declare type NavigationLinkProps = {
|
|
12
12
|
href: string;
|
|
13
13
|
};
|
|
14
14
|
declare type NavigationButtonProps = {
|
|
15
|
-
onClick: () =>
|
|
15
|
+
onClick: () => void;
|
|
16
16
|
};
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=NavigationAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationAction.d.ts","sourceRoot":"","sources":["../../../src/components/layout/NavigationAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAErC,oBAAY,gBAAgB,GAAG;IACE,EAAE,CAAC,EAAE,aAAa,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,GAAG,GAAG,aAAa,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NavigationAction.d.ts","sourceRoot":"","sources":["../../../src/components/layout/NavigationAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAErC,oBAAY,gBAAgB,GAAG;IACE,EAAE,CAAC,EAAE,aAAa,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,GAAG,GAAG,aAAa,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,CAAC,mBAAmB,GAAG,qBAAqB,CAAC,CAAA;AAEhF,aAAK,mBAAmB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAC3C,aAAK,qBAAqB,GAAG;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,CAAA"}
|
|
@@ -2,6 +2,7 @@ import { PropsWithChildren, ReactNode } from "react";
|
|
|
2
2
|
export declare type SectionHeaderProps = PropsWithChildren<{
|
|
3
3
|
actions?: ReactNode;
|
|
4
4
|
caption?: ReactNode;
|
|
5
|
+
title?: ReactNode;
|
|
5
6
|
}>;
|
|
6
|
-
export declare const SectionHeader: import("styled-components").StyledComponent<({ actions, children
|
|
7
|
+
export declare const SectionHeader: import("styled-components").StyledComponent<({ actions, children, caption, title, }: SectionHeaderProps) => JSX.Element, any, {}, never>;
|
|
7
8
|
//# sourceMappingURL=SectionHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/SectionHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/SectionHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACV,MAAoC,OAAO,CAAA;AAG5C,oBAAY,kBAAkB,GAAG,iBAAiB,CAAC;IACjD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC,CAAA;AAEF,eAAO,MAAM,aAAa,uFAKc,kBAAkB,KAAG,WAAW,iBAWpE,CAAA"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { SectionHeaderProps } from "components/layout/SectionHeader";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import("styled-components").StyledComponent<({ actions, children
|
|
5
|
+
component: import("styled-components").StyledComponent<({ actions, children, caption, title, }: SectionHeaderProps) => JSX.Element, any, {}, never>;
|
|
6
6
|
argTypes: {};
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Sidebar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Sidebar.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAGrE,OAAO,EACL,EAAE,EACF,SAAS,EACV,MAAgC,OAAO,CAAA;AAMxC,aAAK,MAAM,GAAG,gBAAgB,CAAA;AAE9B,oBAAY,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAmCpC,CAAA"}
|
|
@@ -1,25 +1,11 @@
|
|
|
1
|
-
import { ComponentType } from "react";
|
|
2
1
|
import { Props as ButtonProps } from "components/forms/Button";
|
|
2
|
+
import React from "react";
|
|
3
3
|
import { ColorProps, ContainerProps } from "styles/types";
|
|
4
|
-
declare
|
|
4
|
+
export declare const ButtonLink: React.ForwardRefExoticComponent<{
|
|
5
5
|
to?: any;
|
|
6
|
-
href?: string;
|
|
7
|
-
external?: boolean;
|
|
8
|
-
LinkComponent?: string | ComponentType<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} & any>;
|
|
12
|
-
} & ButtonProps & ColorProps & ContainerProps;
|
|
13
|
-
export declare const ButtonLink: {
|
|
14
|
-
({ LinkComponent, external, flat, icon, iconPosition, iconSize, children, ...otherProps }: Props): JSX.Element;
|
|
15
|
-
COMPONENT_NAME: string;
|
|
16
|
-
defaultProps: {
|
|
17
|
-
primary: boolean;
|
|
18
|
-
onClick: (...args: any) => void;
|
|
19
|
-
LinkComponent: string;
|
|
20
|
-
external: boolean;
|
|
21
|
-
iconPosition: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export {};
|
|
6
|
+
href?: string | undefined;
|
|
7
|
+
external?: boolean | undefined;
|
|
8
|
+
LinkComponent?: string | React.ComponentType<any> | undefined;
|
|
9
|
+
onClick?: ((() => void) & (() => void)) | ((() => void) & import("../../utils/function.types").PromiseFunc<any, any>) | undefined;
|
|
10
|
+
} & Omit<ButtonProps, "onClick"> & ColorProps & ContainerProps & React.RefAttributes<any>>;
|
|
25
11
|
//# sourceMappingURL=ButtonLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/ButtonLink.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/ButtonLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,IAAI,WAAW,EACrB,MAA0B,yBAAyB,CAAA;AACpD,OAAO,KAIN,MAA0B,OAAO,CAAA;AAClC,OAAO,EACL,UAAU,EACV,cAAc,EACf,MAA0B,cAAc,CAAA;AAezC,eAAO,MAAM,UAAU;SAPH,GAAG;;;;;0FAyBrB,CAAA"}
|