indicator-ui 0.0.52 → 0.0.54
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.css +156 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +261 -6
- package/dist/index.js.map +1 -1
- package/dist/types/src/ui/FormBuilder/lib/formBuilder.d.ts +1 -1
- package/dist/types/src/ui/InputFields/FlexField/types/FlexFieldTypes.d.ts +4 -0
- package/dist/types/src/ui/MicroButton/types/MicroButtonTypes.d.ts +8 -1
- package/dist/types/src/ui/MicroButton/ui/MicroButton.d.ts +1 -1
- package/dist/types/src/ui/TabButtons/index.d.ts +2 -0
- package/dist/types/src/ui/TabButtons/styles/index.d.ts +1 -0
- package/dist/types/src/ui/TabButtons/types/TabButtonsTypes.d.ts +23 -0
- package/dist/types/src/ui/TabButtons/types/index.d.ts +1 -0
- package/dist/types/src/ui/TabButtons/ui/TabButtons.d.ts +2 -0
- package/dist/types/src/ui/TabButtons/ui/index.d.ts +1 -0
- package/dist/types/src/ui/TabFrame/index.d.ts +1 -0
- package/dist/types/src/ui/TabFrame/styles/index.d.ts +1 -0
- package/dist/types/src/ui/TabFrame/types/TabFrameTypes.d.ts +7 -0
- package/dist/types/src/ui/TabFrame/types/index.d.ts +1 -0
- package/dist/types/src/ui/TabFrame/ui/TabFrame.d.ts +2 -0
- package/dist/types/src/ui/TabFrame/ui/index.d.ts +1 -0
- package/dist/types/src/ui/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { ReactElement, ReactNode } from "react";
|
|
2
2
|
export type MicroButtonSizeType = '14' | '16' | '20' | '24' | '28';
|
|
3
3
|
export type MicroButtonColorsType = 'light' | 'dark' | 'gray' | 'color' | 'color-hover' | 'red-hover' | 'color-fill' | 'gray-fill' | 'red-fill' | 'blue-light';
|
|
4
4
|
export type MicroButtonClassNameType = {
|
|
@@ -33,5 +33,12 @@ export type MicroButtonPropsType = Omit<React.ButtonHTMLAttributes<HTMLButtonEle
|
|
|
33
33
|
color?: MicroButtonColorsType;
|
|
34
34
|
/** Дополнительные имена стилей */
|
|
35
35
|
additionStyles?: string | string[];
|
|
36
|
+
/** Кастомный компонент с обязательным пропсом children, в него будут вставлены элементы кнопки и накинуты стили */
|
|
37
|
+
customComponent?: ReactElement<{
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
className?: string;
|
|
40
|
+
} & {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>;
|
|
36
43
|
className?: MicroButtonClassNameType;
|
|
37
44
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MicroButtonPropsType } from '../types';
|
|
2
|
-
export declare function MicroButton({ children, icon, size, color, additionStyles, className, ...props }: MicroButtonPropsType): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function MicroButton({ children, icon, size, color, additionStyles, customComponent, disabled, className, ...props }: MicroButtonPropsType): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TabButtonsStyle } from './TabButtons.module.scss';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { ReactElement, ReactNode } from "react";
|
|
2
|
+
export type DimensionType = 'fill' | 'hug';
|
|
3
|
+
export type TabButtonsPropsType = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'className'> & {
|
|
4
|
+
active?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
iconLeft?: React.ReactNode;
|
|
7
|
+
iconRight?: React.ReactNode;
|
|
8
|
+
text?: React.ReactNode;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
/** Кастомный компонент с обязательным пропсом children, в него будут вставлены элементы кнопки и накинуты стили */
|
|
11
|
+
customComponent?: ReactElement<{
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
} & {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}>;
|
|
17
|
+
/** Тип длины, fill --- заполнит, hug --- подгонит под контент */
|
|
18
|
+
width?: DimensionType;
|
|
19
|
+
/** Тип высоты, fill --- заполнит, hug --- подгонит под контент */
|
|
20
|
+
height?: DimensionType;
|
|
21
|
+
/** Дополнительные имена стилей */
|
|
22
|
+
additionStyles?: string | string[];
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TabButtonsTypes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TabButtons';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TabFrameStyle } from './TabFrame.module.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TabFrameTypes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TabFrame';
|