zebpay-ui 0.0.67 → 0.0.68

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.
Files changed (33) hide show
  1. package/dist/cjs/components/Accordion/index.d.ts +2 -1
  2. package/dist/cjs/components/Avatar/typings.d.ts +2 -0
  3. package/dist/cjs/components/Button/typings.d.ts +2 -0
  4. package/dist/cjs/components/Card/index.d.ts +1 -0
  5. package/dist/cjs/components/InputDropDown/typings.d.ts +1 -1
  6. package/dist/cjs/components/Popper/typings.d.ts +1 -0
  7. package/dist/cjs/components/SidePanel/index.d.ts +2 -0
  8. package/dist/cjs/components/Tags/index.d.ts +1 -0
  9. package/dist/cjs/components/Tooltip/typings.d.ts +1 -0
  10. package/dist/cjs/index.js +3 -3
  11. package/dist/cjs/index.js.map +1 -1
  12. package/dist/cjs/styles/utils.d.ts +10 -0
  13. package/dist/esm/components/Accordion/index.d.ts +2 -1
  14. package/dist/esm/components/Avatar/typings.d.ts +2 -0
  15. package/dist/esm/components/Button/typings.d.ts +2 -0
  16. package/dist/esm/components/Card/index.d.ts +1 -0
  17. package/dist/esm/components/InputDropDown/typings.d.ts +1 -1
  18. package/dist/esm/components/Popper/typings.d.ts +1 -0
  19. package/dist/esm/components/SidePanel/index.d.ts +2 -0
  20. package/dist/esm/components/Tags/index.d.ts +1 -0
  21. package/dist/esm/components/Tooltip/typings.d.ts +1 -0
  22. package/dist/esm/index.js +3 -3
  23. package/dist/esm/index.js.map +1 -1
  24. package/dist/esm/styles/utils.d.ts +10 -0
  25. package/dist/icons/icons.css +220 -199
  26. package/dist/icons/icons.eot +0 -0
  27. package/dist/icons/icons.html +63 -0
  28. package/dist/icons/icons.json +203 -196
  29. package/dist/icons/icons.ts +224 -196
  30. package/dist/icons/icons.woff +0 -0
  31. package/dist/icons/icons.woff2 +0 -0
  32. package/package.json +1 -1
  33. package/yarn-error.log +12172 -0
@@ -1,12 +1,13 @@
1
1
  /** @jsxImportSource @emotion/react */
2
2
  import { SerializedStyles } from "@emotion/react";
3
- import React, { FC } from "react";
3
+ import React, { FC, ReactNode } from "react";
4
4
  import "./../../../dist/icons/icons.css";
5
5
  interface AccordionProps {
6
6
  title: React.ReactNode;
7
7
  isOpen: boolean;
8
8
  onToggle: (value: boolean) => void;
9
9
  style?: SerializedStyles;
10
+ children?: ReactNode;
10
11
  }
11
12
  declare const Accordion: FC<AccordionProps>;
12
13
  export default Accordion;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Interpolation, Theme } from "@emotion/react";
2
3
  import { AvatarSpacing } from "../AvatarGroup/typings";
3
4
  export declare type AvatareSize = "small" | "medium" | "large";
@@ -11,6 +12,7 @@ export interface AvatarProps {
11
12
  loading?: boolean;
12
13
  style?: Interpolation<Theme>;
13
14
  spacing: AvatarSpacing;
15
+ children?: React.ReactNode;
14
16
  }
15
17
  export interface SizingProps {
16
18
  width: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Interpolation, Theme } from "@emotion/react";
2
3
  export declare type ButtonSize = "small" | "medium" | "large" | "full-width";
3
4
  export declare type ButtonTypeAttribute = "button" | "reset" | "submit";
@@ -12,4 +13,5 @@ export interface ButtonProps {
12
13
  typeAttribute?: ButtonTypeAttribute;
13
14
  dataTestId?: string;
14
15
  width?: number;
16
+ children?: React.ReactNode;
15
17
  }
@@ -2,6 +2,7 @@ import React from "react";
2
2
  export interface CardProps {
3
3
  title: string;
4
4
  headerNav?: React.ReactNode;
5
+ children?: React.ReactNode;
5
6
  }
6
7
  declare const Card: React.FC<CardProps>;
7
8
  export default Card;
@@ -10,7 +10,7 @@ export interface InputDropDownProps<T> {
10
10
  search: {
11
11
  placeholder: string;
12
12
  value: string;
13
- onChange(value: string): void;
13
+ onChange: (value: string) => void;
14
14
  onClear?: () => void;
15
15
  };
16
16
  placeholder: string | React.ReactNode;
@@ -8,4 +8,5 @@ export interface PopperProps {
8
8
  contentContainerStyles?: SerializedStyles;
9
9
  style?: SerializedStyles;
10
10
  position?: Position;
11
+ children?: React.ReactNode;
11
12
  }
@@ -11,6 +11,8 @@ interface SidePanelProps {
11
11
  style?: SerializedStyles;
12
12
  overlayStyle?: SerializedStyles;
13
13
  hideClose?: boolean;
14
+ children?: React.ReactNode;
15
+ closeStyle?: SerializedStyles;
14
16
  }
15
17
  declare const SidePanel: FC<SidePanelProps>;
16
18
  export default SidePanel;
@@ -11,6 +11,7 @@ export interface TagProps {
11
11
  animate?: boolean;
12
12
  dataTestId?: string;
13
13
  icon?: string;
14
+ children?: React.ReactNode;
14
15
  }
15
16
  declare const Tags: React.FC<TagProps>;
16
17
  export default Tags;
@@ -9,4 +9,5 @@ export interface TooltipProps {
9
9
  contentStyle?: SerializedStyles;
10
10
  contentContainerStyles?: SerializedStyles;
11
11
  isStroke?: boolean;
12
+ children?: React.ReactNode;
12
13
  }