revdev-components 0.129.0 → 0.131.0

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,6 +1,6 @@
1
1
  import React from "react";
2
2
  interface Props {
3
- children: React.ReactNode;
3
+ children?: React.ReactNode;
4
4
  className?: string;
5
5
  }
6
6
  export declare const CentralDivision: React.FC<Props>;
@@ -1,9 +1,7 @@
1
1
  import React from "react";
2
- import { FrontFooterProps } from "src/frontFooter";
3
2
  import { FrontHeaderProps } from "src/frontHeader";
4
3
  export interface FrontLayoutProps {
5
4
  header: FrontHeaderProps;
6
- footer: FrontFooterProps;
7
5
  children?: React.ReactNode;
8
6
  }
9
7
  export declare const FrontLayout: React.FC<FrontLayoutProps>;
@@ -1,2 +1,3 @@
1
1
  export declare const SocialIconNameList: ("facebook" | "google" | "instagram" | "telegram" | "viber" | "whatsapp" | "youtube")[];
2
2
  export type SocialIconName = (typeof SocialIconNameList)[number];
3
+ export declare const isSocialIconName: (name?: string) => name is "facebook" | "google" | "instagram" | "telegram" | "viber" | "whatsapp" | "youtube";
@@ -1,9 +1,10 @@
1
1
  import React from "react";
2
2
  import { TooltipPlacement } from "antd/es/tooltip";
3
3
  import { RegularIconName } from "src/icon/regular";
4
+ import { SocialIconName } from "src/icon/social";
4
5
  export interface IconDivisionProps {
5
- icon?: RegularIconName;
6
- rightIcon?: RegularIconName;
6
+ icon?: RegularIconName | SocialIconName;
7
+ rightIcon?: RegularIconName | SocialIconName;
7
8
  className?: string;
8
9
  contentClassName?: string;
9
10
  onClick?: (e: React.MouseEvent<HTMLElement>) => void;
package/build/index.d.ts CHANGED
@@ -17,7 +17,6 @@ export * from "./link";
17
17
  export * from "./backSidebar";
18
18
  export * from "./backLayout";
19
19
  export * from "./frontHeader";
20
- export * from "./frontFooter";
21
20
  export * from "./frontLayout";
22
21
  export * from "./headerActionPanel";
23
22
  export * from "./iconDivision";