@bbki.ng/components 1.5.26 → 1.5.27
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 +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -264,7 +264,7 @@ interface GalleryProps extends Omit<RandomRowsLayoutProps, "classNames" | "cells
|
|
|
264
264
|
declare const Gallery: (props: GalleryProps) => JSX.Element;
|
|
265
265
|
|
|
266
266
|
interface ISettings {
|
|
267
|
-
canvas
|
|
267
|
+
canvas?: HTMLCanvasElement;
|
|
268
268
|
step?: number;
|
|
269
269
|
}
|
|
270
270
|
|
|
@@ -278,6 +278,6 @@ interface IOpt {
|
|
|
278
278
|
interface LoadingSpiralProps extends IOpt, ISettings {
|
|
279
279
|
className?: "string";
|
|
280
280
|
}
|
|
281
|
-
declare const LoadingSpiral: (props
|
|
281
|
+
declare const LoadingSpiral: (props?: LoadingSpiralProps | undefined) => JSX.Element;
|
|
282
282
|
|
|
283
283
|
export { Article, ArticleProps, ArticleSkeleton, ArticleSkeletonProps, BLinkDotProps, BlinkDot, Breadcrumb, BreadcrumbProps, Button, ButtonProps, ButtonType, DropImage, Error, ErrorBoundary, Gallery, GalleryProps, ImageDropProps, ImagePreviewerProps, ImageRenderer, Img, Link, LinkColor, LinkList, LinkListProps, LinkListSkeleton, LinkListSkeletonProps, LinkProps, List, LoadingSpiral, LoadingSpiralProps, 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 };
|
package/dist/index.js
CHANGED
|
@@ -1171,7 +1171,7 @@ var useResizedCanvasRef = () => {
|
|
|
1171
1171
|
// src/loading-spiral/LoadingSpiral.tsx
|
|
1172
1172
|
var LoadingSpiral = (props) => {
|
|
1173
1173
|
const { canvasRef, containerRef } = useResizedCanvasRef();
|
|
1174
|
-
const _a = props, { className, canvas, step } = _a, rest = __objRest(_a, ["className", "canvas", "step"]);
|
|
1174
|
+
const _a = props || {}, { className, canvas, step } = _a, rest = __objRest(_a, ["className", "canvas", "step"]);
|
|
1175
1175
|
(0, import_react23.useEffect)(() => {
|
|
1176
1176
|
if (!canvasRef.current) {
|
|
1177
1177
|
return;
|
package/dist/index.mjs
CHANGED
|
@@ -1113,7 +1113,7 @@ var useResizedCanvasRef = () => {
|
|
|
1113
1113
|
// src/loading-spiral/LoadingSpiral.tsx
|
|
1114
1114
|
var LoadingSpiral = (props) => {
|
|
1115
1115
|
const { canvasRef, containerRef } = useResizedCanvasRef();
|
|
1116
|
-
const _a = props, { className, canvas, step } = _a, rest = __objRest(_a, ["className", "canvas", "step"]);
|
|
1116
|
+
const _a = props || {}, { className, canvas, step } = _a, rest = __objRest(_a, ["className", "canvas", "step"]);
|
|
1117
1117
|
useEffect4(() => {
|
|
1118
1118
|
if (!canvasRef.current) {
|
|
1119
1119
|
return;
|