@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.
@@ -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;AAMxC,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,CAsCxC,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;AAiBD,eAAO,MAAM,OAAO,mBAAiB,CAAA"}
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?: () => any;
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: () => any;
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,GAAG,CAAC;CACrB,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,GAAG,CAAA;CAAE,CAAA"}
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: title, caption, }: SectionHeaderProps) => JSX.Element, any, {}, never>;
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":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EACV,MAAwB,OAAO,CAAA;AAKhC,oBAAY,kBAAkB,GAAG,iBAAiB,CAAC;IACjD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC,CAAA;AAGF,eAAO,MAAM,aAAa,uFAIc,kBAAkB,KAAG,WAAW,iBAQpE,CAAA"}
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: title, caption, }: SectionHeaderProps) => JSX.Element, any, {}, never>;
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":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAU,oCAAoC,CAAA;AAGzE,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAa,OAAO,CAAA;AAK5C,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,CAkCpC,CAAA"}
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 type Props = {
4
+ export declare const ButtonLink: React.ForwardRefExoticComponent<{
5
5
  to?: any;
6
- href?: string;
7
- external?: boolean;
8
- LinkComponent?: string | ComponentType<{
9
- className: string;
10
- to: any;
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":"AAEA,OAAc,EAAE,aAAa,EAAE,MAAc,OAAO,CAAA;AACpD,OAAO,EAAU,KAAK,IAAI,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAEtE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAQ,cAAc,CAAA;AAG3D,aAAK,KAAK,GAAG;IACE,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,GAAG,CAAA;KAAE,GAAG,GAAG,CAAC,CAAA;CAC7E,GAAG,WAAW,GAAG,UAAU,GAAG,cAAc,CAAA;AAE1D,eAAO,MAAM,UAAU;+FASO,KAAK;;;;;;;;;CAuBlC,CAAA"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idea-fragments/react-components-zendesk",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist"