indicator-ui 0.0.38 → 0.0.39

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.
@@ -11,7 +11,7 @@
11
11
  .modalWindow {
12
12
  width: 100%;
13
13
  position: absolute;
14
- z-index: 5;
14
+ z-index: 1;
15
15
 
16
16
  .selectModalWindow {
17
17
  width: 100%;
@@ -0,0 +1 @@
1
+ export declare function SlideTransitionPage(): import("react/jsx-runtime").JSX.Element;
@@ -10,3 +10,4 @@ export * from './ToggleBasePage';
10
10
  export * from './TogglePage';
11
11
  export * from './CascadeSelectorPage';
12
12
  export * from './TagPage';
13
+ export * from './SlideTransitionPage';
@@ -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) => (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>>)[];
3
+ declare const formBuilder: (schema: FORM_BUILDER_SCHEMA, additionProps: AdditionPropsType) => import("react").ReactNode[];
4
4
  export default formBuilder;
@@ -0,0 +1 @@
1
+ export * from "./ui/ModalWindowWrapper";
@@ -0,0 +1,10 @@
1
+ import { CSSProperties, ReactNode } from "react";
2
+ export declare function ModalWindowWrapper({ children, isShow, setIsShow, additionElements, onClose, className, style, }: {
3
+ isShow: boolean;
4
+ setIsShow: (isShow: boolean) => void;
5
+ additionElements?: (HTMLElement | null | undefined)[];
6
+ children?: ReactNode;
7
+ onClose?: () => void;
8
+ className?: string;
9
+ style?: CSSProperties;
10
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./ui";
@@ -0,0 +1 @@
1
+ export { default as SlideTransitionStyle } from './SlideTransition.module.scss';
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from "react";
2
+ export type SlideTransitionAnimationOptionsType = KeyframeAnimationOptions | {
3
+ enterDown?: KeyframeAnimationOptions;
4
+ enterUp?: KeyframeAnimationOptions;
5
+ exitDown?: KeyframeAnimationOptions;
6
+ exitUp?: KeyframeAnimationOptions;
7
+ };
8
+ export type SlideTransitionAnimationType = 'enter-down' | 'enter-up' | 'exit-down' | 'exit-up' | undefined;
9
+ export type SlideTransitionPropsType = {
10
+ children?: ReactNode;
11
+ animation?: SlideTransitionAnimationType;
12
+ animationOptions?: SlideTransitionAnimationOptionsType;
13
+ };
@@ -0,0 +1 @@
1
+ export * from './AnimateDropTypes';
@@ -0,0 +1,19 @@
1
+ import { SlideTransitionPropsType } from '../types';
2
+ /**
3
+ * ##### Компонент для анимации прокрутки вверх и вниз.
4
+ * Для контроля анимации используйте пропс ```animation```.
5
+ *
6
+ * ---
7
+ * ```'enter-down'``` - производит анимацию появления снизу.
8
+ *
9
+ * ```'enter-up'``` - производит анимацию появления сверху.
10
+ *
11
+ * ```'exit-down'``` - производит анимацию скрытия снизу.
12
+ *
13
+ * ```'exit-up'``` - производит анимацию скрытия сверху.
14
+ *
15
+ * ---
16
+ * Учтите, что анимации **"снизу"** сужают компонент, поэтому он будет деформироваться.
17
+ * При высокой (автор проводил тесты на 300ms) скорости анимации это незаметно (если вы не Флеш).
18
+ * */
19
+ export declare function SlideTransition({ children, animation, animationOptions }: SlideTransitionPropsType): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './SlideTransition';
@@ -9,3 +9,5 @@ export * from './ToggleBase';
9
9
  export * from './Toggle';
10
10
  export * from './CascadeSelector';
11
11
  export * from './Tag';
12
+ export * from './SlideTransition';
13
+ export * from './ModalWindowWrapper';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indicator-ui",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/src/index.d.ts",
6
6
  "style": "dist/index.css",