indicator-ui 0.0.179 → 0.0.181

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,4 +1,4 @@
1
1
  import { FORM_BUILDER_SCHEMA } from "../schemes";
2
2
  import { AdditionPropsType } from "../types";
3
- declare const formBuilder: (schema: FORM_BUILDER_SCHEMA, additionProps: AdditionPropsType) => import("react").ReactNode[];
3
+ declare const formBuilder: (schema: FORM_BUILDER_SCHEMA, additionProps: AdditionPropsType) => (string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>>)[];
4
4
  export default formBuilder;
@@ -10,7 +10,7 @@ export type MediaViewerMediaItemType = MediaViewerImageType | MediaViewerVideoTy
10
10
  export type MediaViewerMediaType = Array<MediaViewerMediaItemType>;
11
11
  export type MediaViewerPropsType = {
12
12
  media?: MediaViewerMediaType;
13
- initMediaIndex?: number;
13
+ mediaIndex?: number;
14
14
  onClose?: () => void;
15
15
  /**
16
16
  * Не показывает элементы, которые находятся не рядом с текущим (curIndex +- 1).
@@ -1,2 +1,2 @@
1
1
  import { MediaViewerPropsType } from "../types";
2
- export declare function MediaViewer({ media, initMediaIndex, nearestElementsOnly, onClose }: MediaViewerPropsType): import("react/jsx-runtime").JSX.Element;
2
+ export declare function MediaViewer({ media, mediaIndex, nearestElementsOnly, onClose }: MediaViewerPropsType): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indicator-ui",
3
- "version": "0.0.179",
3
+ "version": "0.0.181",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/src/index.d.ts",
6
6
  "style": "dist/index.css",