@bbki.ng/components 1.5.17 → 1.5.20

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/index.d.ts CHANGED
@@ -43,6 +43,7 @@ declare const Breadcrumb: (props: BreadcrumbProps) => JSX.Element;
43
43
 
44
44
  declare type NavProps = {
45
45
  paths: PathObj[];
46
+ loading?: boolean;
46
47
  className?: string;
47
48
  };
48
49
  declare const Nav: (props: NavProps) => JSX.Element;
@@ -224,4 +225,27 @@ interface NoiseCoverProps {
224
225
  }
225
226
  declare const NoiseCover: (props: NoiseCoverProps) => JSX.Element;
226
227
 
227
- export { Article, ArticleProps, ArticleSkeleton, ArticleSkeletonProps, BLinkDotProps, BlinkDot, Breadcrumb, BreadcrumbProps, Button, ButtonProps, ButtonType, DropImage, Error, ErrorBoundary, ImageDropProps, ImagePreviewerProps, Link, LinkColor, LinkList, LinkListProps, LinkListSkeleton, LinkListSkeletonProps, LinkProps, List, Logo, LogoProps, Nav, NavProps, NoiseCover, NoiseCoverProps, NotFound, Page, Panel, PanelProps, PathObj, PopConfirm, PopConfirmProps, Skeleton, SkeletonColor, SkeletonProps, Table, TableProps, Tag, TagProps, Tags, ThreeColLayout, TitledList, TitledListProps, listProps, threeColLayoutProps };
228
+ declare enum ossProcessType {
229
+ THUMBNAIL = "thumbnail",
230
+ WEBP = "webp",
231
+ NULL = "null",
232
+ oWEBP = "owebp",
233
+ PROG = "prog"
234
+ }
235
+ interface Photo {
236
+ src: string;
237
+ width: number;
238
+ height: number;
239
+ processType?: ossProcessType;
240
+ avgColor?: string;
241
+ thumbnailSrc?: string;
242
+ renderedWidth?: number;
243
+ }
244
+
245
+ interface ImgProps extends Photo {
246
+ className?: string;
247
+ size?: "large" | "normal";
248
+ }
249
+ declare const Img: (props: ImgProps) => JSX.Element;
250
+
251
+ export { Article, ArticleProps, ArticleSkeleton, ArticleSkeletonProps, BLinkDotProps, BlinkDot, Breadcrumb, BreadcrumbProps, Button, ButtonProps, ButtonType, DropImage, Error, ErrorBoundary, ImageDropProps, ImagePreviewerProps, Img, ImgProps, Link, LinkColor, LinkList, LinkListProps, LinkListSkeleton, LinkListSkeletonProps, LinkProps, List, Logo, LogoProps, Nav, NavProps, NoiseCover, NoiseCoverProps, NotFound, Page, Panel, PanelProps, PathObj, PopConfirm, PopConfirmProps, Skeleton, SkeletonColor, SkeletonProps, Table, TableProps, Tag, TagProps, Tags, ThreeColLayout, TitledList, TitledListProps, listProps, threeColLayoutProps };