indicator-ui 0.0.107 → 0.0.108
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 +36 -5
- package/dist/index.css.map +1 -1
- package/dist/index.js +490 -7
- package/dist/index.js.map +1 -1
- package/dist/scss/ui/InputFields/TextareaField/styles/mixin/textareaField.scss +5 -3
- package/dist/types/src/lib/index.d.ts +1 -0
- package/dist/types/src/lib/time/index.d.ts +2 -0
- package/dist/types/src/lib/time/saveFormatDate.d.ts +20 -0
- package/dist/types/src/lib/time/saveParseDate.d.ts +14 -0
- package/dist/types/src/ui/Buttons/types/ButtonTypes.d.ts +2 -2
- package/dist/types/src/ui/FormBuilder/lib/formBuilder.d.ts +1 -1
- package/dist/types/src/ui/FormBuilder/types/FormBuilderTypes.d.ts +2 -2
- package/dist/types/src/ui/InputFields/DateTimeField/index.d.ts +2 -0
- package/dist/types/src/ui/InputFields/DateTimeField/styles/index.d.ts +1 -0
- package/dist/types/src/ui/InputFields/DateTimeField/types/DateFieldTypes.d.ts +17 -0
- package/dist/types/src/ui/InputFields/DateTimeField/types/DateTimeFieldTypes.d.ts +36 -0
- package/dist/types/src/ui/InputFields/DateTimeField/types/TimeFieldTypes.d.ts +6 -0
- package/dist/types/src/ui/InputFields/DateTimeField/types/index.d.ts +3 -0
- package/dist/types/src/ui/InputFields/DateTimeField/ui/DateField.d.ts +2 -0
- package/dist/types/src/ui/InputFields/DateTimeField/ui/DateTimeField.d.ts +2 -0
- package/dist/types/src/ui/InputFields/DateTimeField/ui/TimeField.d.ts +2 -0
- package/dist/types/src/ui/InputFields/DateTimeField/ui/index.d.ts +1 -0
- package/dist/types/src/ui/InputFields/FieldsBase/index.d.ts +1 -0
- package/dist/types/src/ui/InputFields/FieldsBase/types/FieldsBaseTypes.d.ts +9 -0
- package/dist/types/src/ui/InputFields/FieldsBase/types/index.d.ts +1 -0
- package/dist/types/src/ui/InputFields/FlexField/types/FlexFieldTypes.d.ts +2 -29
- package/dist/types/src/ui/InputFields/FlexField/ui/FlexField.d.ts +21 -2
- package/dist/types/src/ui/InputFields/InputField/types/InputFieldTypes.d.ts +6 -7
- package/dist/types/src/ui/InputFields/RadioField/types/RadioFieldTypes.d.ts +3 -9
- package/dist/types/src/ui/InputFields/SelectField/types/SelectFieldTypes.d.ts +3 -10
- package/dist/types/src/ui/InputFields/SwitcherField/types/SwitcherFieldTypes.d.ts +3 -9
- package/dist/types/src/ui/InputFields/TextareaField/types/TextareaFieldTypes.d.ts +2 -11
- package/dist/types/src/ui/InputFields/index.d.ts +2 -0
- package/dist/types/src/ui/MicroButton/types/MicroButtonTypes.d.ts +2 -2
- package/package.json +2 -1
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
border: 1px solid var(--gray-300);
|
|
16
16
|
box-shadow: 0 1px 2px 0 #1018280D;
|
|
17
17
|
|
|
18
|
+
transition: all ease-out 200ms;
|
|
19
|
+
|
|
18
20
|
@include fnt($size: 16, $line-height: 24, $weight: 400, $color: var(--gray-900));
|
|
19
21
|
|
|
20
22
|
&::placeholder {
|
|
@@ -22,11 +24,11 @@
|
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
&:focus {
|
|
25
|
-
|
|
27
|
+
border: 1px solid var(--gray-400);
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
&.offFocus {
|
|
29
|
-
|
|
31
|
+
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
&:disabled {
|
|
@@ -38,7 +40,7 @@
|
|
|
38
40
|
border: 1px solid var(--error-300);
|
|
39
41
|
|
|
40
42
|
&:focus {
|
|
41
|
-
|
|
43
|
+
border: 1px solid var(--error-400);
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Locale } from "date-fns";
|
|
2
|
+
type SaveFormatDateOptionsType = {
|
|
3
|
+
/**
|
|
4
|
+
* Стартовый формат.
|
|
5
|
+
* */
|
|
6
|
+
from?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Конечный формат.
|
|
9
|
+
* */
|
|
10
|
+
to: string;
|
|
11
|
+
/**
|
|
12
|
+
* Возвращать ли null при неудачном форматирование.
|
|
13
|
+
*
|
|
14
|
+
* ```default: false```
|
|
15
|
+
* */
|
|
16
|
+
errorNull?: boolean;
|
|
17
|
+
locale?: Pick<Locale, "options" | "localize" | "formatLong">;
|
|
18
|
+
};
|
|
19
|
+
export declare function saveFormatDate(date: string | Date, { from, to, errorNull, locale }: SaveFormatDateOptionsType): string | Date;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type SaveParseDateOptionsType = {
|
|
2
|
+
/**
|
|
3
|
+
* Стартовый формат.
|
|
4
|
+
* */
|
|
5
|
+
from?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Возвращать ли null при неудачном форматирование.
|
|
8
|
+
*
|
|
9
|
+
* ```default: false```
|
|
10
|
+
* */
|
|
11
|
+
errorNull?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare function saveParseDate(date: string, { from }: SaveParseDateOptionsType): Date;
|
|
14
|
+
export {};
|
|
@@ -48,8 +48,6 @@ export type ButtonPropsType = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
48
48
|
width?: 'fill' | 'hug';
|
|
49
49
|
/** Тип высоты, fill --- заполнит, hug --- подгонит под контент */
|
|
50
50
|
height?: 'fill' | 'hug';
|
|
51
|
-
/** Дополнительные имена стилей */
|
|
52
|
-
additionStyles?: string | string[];
|
|
53
51
|
/** Кастомный компонент с обязательным пропсом children, в него будут вставлены элементы кнопки и накинуты стили */
|
|
54
52
|
customComponent?: ReactElement<{
|
|
55
53
|
children?: ReactNode;
|
|
@@ -58,4 +56,6 @@ export type ButtonPropsType = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
58
56
|
[key: string]: any;
|
|
59
57
|
}>;
|
|
60
58
|
className?: ButtonClassNameType;
|
|
59
|
+
/** Дополнительные имена стилей */
|
|
60
|
+
additionStyles?: string | string[];
|
|
61
61
|
};
|
|
@@ -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) =>
|
|
3
|
+
declare const formBuilder: (schema: FORM_BUILDER_SCHEMA, additionProps: AdditionPropsType) => import("react").ReactNode[];
|
|
4
4
|
export default formBuilder;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InputFieldClassNameType } from "../../../ui";
|
|
2
1
|
import { DictDeepActionKeyWayType } from "../../../../../types";
|
|
3
2
|
import { UseFormDataDeleteArrayItemType, UseFormDataGetValueType, UseFormDataSetValueType, UseIsErrorFieldAddErrorFieldType, UseIsErrorFieldGetErrorMessageType, UseIsErrorFieldIsErrorFieldType, UseIsErrorFieldIsErrorType, UseIsErrorFieldRemoveErrorFieldType } from "../../../hooks";
|
|
4
3
|
import { FORM_BUILDER_SCHEMA } from "../schemes";
|
|
4
|
+
export type InputFieldClassNameType = Record<string, string>;
|
|
5
5
|
export type FormBuilderPropsType<T> = {
|
|
6
6
|
schema: FORM_BUILDER_SCHEMA;
|
|
7
7
|
formDataDefault?: T;
|
|
@@ -46,7 +46,7 @@ export type AdditionPropsType = {
|
|
|
46
46
|
removeErrorField: UseIsErrorFieldRemoveErrorFieldType;
|
|
47
47
|
addOnChangeErrorField: UseIsErrorFieldAddErrorFieldType;
|
|
48
48
|
removeOnChangeErrorField: UseIsErrorFieldRemoveErrorFieldType;
|
|
49
|
-
inputFieldClassName?:
|
|
49
|
+
inputFieldClassName?: Record<string, string>;
|
|
50
50
|
standardCompAdditionProps?: StandardCompAdditionPropsType;
|
|
51
51
|
customCompAdditionProps?: CustomCompAdditionPropsType;
|
|
52
52
|
inputFieldAdditionProps?: InputFieldAdditionPropsType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DateTimeFieldStyle } from './DateTimeField.module.scss';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FieldsBasePropsType } from "../../FieldsBase";
|
|
2
|
+
export type DateFieldPropsType = FieldsBasePropsType<string> & {
|
|
3
|
+
/**
|
|
4
|
+
* Формат даты.
|
|
5
|
+
* */
|
|
6
|
+
dateFormat?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Максимально допустимый год.
|
|
9
|
+
* */
|
|
10
|
+
maxYear?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Минимально допустимый год.
|
|
13
|
+
* */
|
|
14
|
+
minYear?: number;
|
|
15
|
+
/** Дополнительные имена стилей */
|
|
16
|
+
additionStyles?: string | string[];
|
|
17
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FieldsBasePropsType } from "../../FieldsBase";
|
|
2
|
+
export type DateTimeFieldValueType = string;
|
|
3
|
+
/**
|
|
4
|
+
* Конфигурация поля. Соответственно *одна дата*, *одно время* или *и то и другое*.
|
|
5
|
+
* */
|
|
6
|
+
export type DateTimeFieldFieldConfigType = 'date' | 'time' | 'datetime';
|
|
7
|
+
export type DateTimeFieldPropsType = FieldsBasePropsType<DateTimeFieldValueType> & {
|
|
8
|
+
/**
|
|
9
|
+
* Тип поля.
|
|
10
|
+
*
|
|
11
|
+
* `'datetime'` - время и дата.
|
|
12
|
+
*
|
|
13
|
+
* `'date'` - только дата.
|
|
14
|
+
*
|
|
15
|
+
* `'time'` - только время.
|
|
16
|
+
* */
|
|
17
|
+
fieldConfig?: DateTimeFieldFieldConfigType;
|
|
18
|
+
/**
|
|
19
|
+
* Визуальны формат времени, то как время будет показывать в поле.
|
|
20
|
+
* */
|
|
21
|
+
timeFormat?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Визуальны формат даты, то как дата будет показывать в поле.
|
|
24
|
+
* */
|
|
25
|
+
dateFormat?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Выходной формат.
|
|
28
|
+
*
|
|
29
|
+
* _Следите, чтобы в выходном формате было достаточно переменных, для визуальных (`timeFormat` и `dateFormat`)._
|
|
30
|
+
* */
|
|
31
|
+
outFormat?: string | 'iso-8601';
|
|
32
|
+
/**
|
|
33
|
+
* Добавочные имена стилей. ```className="main-style addition-style-1 addition-style-2..."```
|
|
34
|
+
* */
|
|
35
|
+
additionStyle?: string | string[];
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DateTimeField';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FieldsBaseTypes';
|
|
@@ -1,31 +1,9 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
|
-
|
|
3
|
-
flexField?: string;
|
|
4
|
-
inputField?: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
isError?: string;
|
|
7
|
-
disabled?: string;
|
|
8
|
-
focus?: string;
|
|
9
|
-
pointer?: string;
|
|
10
|
-
icon?: string;
|
|
11
|
-
textSupport?: string;
|
|
12
|
-
userPic?: string;
|
|
13
|
-
help?: string;
|
|
14
|
-
dropdown?: string;
|
|
15
|
-
dropdownReverse?: string;
|
|
16
|
-
button?: string;
|
|
17
|
-
gray?: string;
|
|
18
|
-
red?: string;
|
|
19
|
-
};
|
|
2
|
+
import { FieldsBasePropsType } from "../../FieldsBase";
|
|
20
3
|
export type BlocksType = any;
|
|
21
4
|
export type PatternType = any;
|
|
22
|
-
export type FlexFieldPropsType = {
|
|
23
|
-
value?: any;
|
|
24
|
-
/**
|
|
25
|
-
* unmask="typed" // Возвращает данные без маски
|
|
26
|
-
* */
|
|
5
|
+
export type FlexFieldPropsType = FieldsBasePropsType<string> & {
|
|
27
6
|
type?: string;
|
|
28
|
-
onChange?: (value: any) => void;
|
|
29
7
|
/**
|
|
30
8
|
* Маска imask, можно засунуть, как строку (к примеру 000-000-000),
|
|
31
9
|
* так и регулярное выражение. Важно!!!: не ставить маску undefined,
|
|
@@ -46,11 +24,6 @@ export type FlexFieldPropsType = {
|
|
|
46
24
|
* */
|
|
47
25
|
pattern?: PatternType;
|
|
48
26
|
placeholder?: string;
|
|
49
|
-
required?: boolean;
|
|
50
|
-
disabled?: boolean;
|
|
51
|
-
isError?: boolean;
|
|
52
|
-
onFocus?: (e: any) => void;
|
|
53
|
-
onBlur?: (e: any) => void;
|
|
54
27
|
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
55
28
|
/**
|
|
56
29
|
* Выключает стиль фокуса.
|
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
declare const FlexField: React.ForwardRefExoticComponent<import("../..").FieldsBasePropsType<string> & {
|
|
3
|
+
type?: string;
|
|
4
|
+
mask?: any;
|
|
5
|
+
unmask?: any;
|
|
6
|
+
blocks?: import("../types").BlocksType;
|
|
7
|
+
pattern?: import("../types").PatternType;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
10
|
+
offFocus?: boolean;
|
|
11
|
+
notInput?: boolean;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
textSupport?: boolean | string | React.ReactNode;
|
|
14
|
+
userPic?: string | React.ReactNode;
|
|
15
|
+
help?: boolean | React.ReactNode;
|
|
16
|
+
dropdown?: boolean | React.ReactNode;
|
|
17
|
+
onDropdownClick?: (e: any) => void;
|
|
18
|
+
button?: boolean | React.ReactNode;
|
|
19
|
+
dropdownState?: boolean | string;
|
|
20
|
+
buttonState?: "gray" | "red" | string;
|
|
21
|
+
onButtonClick?: () => void;
|
|
22
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
4
23
|
export default FlexField;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { SwitcherFieldPropsType } from '../../SwitcherField';
|
|
2
|
+
import { FlexFieldPropsType } from '../../FlexField';
|
|
3
|
+
import { RadioFieldPropsType } from '../../RadioField';
|
|
4
|
+
import { SelectFieldPropsType } from '../../SelectField';
|
|
5
|
+
import { TextareaFieldPropsType } from '../../TextareaField';
|
|
6
|
+
import { InputFieldWrapperPropsType } from "../../InputFieldWrapper";
|
|
7
7
|
export type InputFieldTypes = 'switcher' | 'select' | 'radio' | 'textarea' | string;
|
|
8
|
-
export type InputFieldClassNameType = SwitcherFieldClassNameType & FlexFieldClassNameType & RadioFieldClassNameType & SelectFieldClassNameType & TextareaFieldClassNameType & InputFieldWrapperClassNameType & {};
|
|
9
8
|
export type InputFieldPropsType = Omit<(({
|
|
10
9
|
type?: 'switcher';
|
|
11
10
|
} & SwitcherFieldPropsType) & ({
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { RadioFieldItemClassNameType, RadioFieldOwnerItemPropsType } from './RadioFieldItemTypes';
|
|
2
1
|
import { ReactElement } from "react";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
2
|
+
import { RadioFieldOwnerItemPropsType } from './RadioFieldItemTypes';
|
|
3
|
+
import { FieldsBasePropsType } from '../../FieldsBase';
|
|
6
4
|
export type RadioFieldOptionsItemType = {
|
|
7
5
|
value: any;
|
|
8
6
|
label?: string;
|
|
@@ -10,11 +8,7 @@ export type RadioFieldOptionsItemType = {
|
|
|
10
8
|
};
|
|
11
9
|
export type RadioFieldOptionsType = RadioFieldOptionsItemType[];
|
|
12
10
|
export type RadioFieldValueType = any | any[];
|
|
13
|
-
export type RadioFieldPropsType = {
|
|
14
|
-
value?: RadioFieldValueType;
|
|
15
|
-
onChange?: (value: any) => void;
|
|
11
|
+
export type RadioFieldPropsType = FieldsBasePropsType<RadioFieldValueType> & {
|
|
16
12
|
options?: RadioFieldOptionsType;
|
|
17
|
-
required?: boolean;
|
|
18
13
|
multiple?: boolean;
|
|
19
|
-
disabled?: boolean;
|
|
20
14
|
};
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import React, { ReactElement } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { SelectModalWindowClassNameType } from './SelectModalWindowTypes';
|
|
2
|
+
import { FieldsBasePropsType } from '../../FieldsBase';
|
|
4
3
|
import { SelectFieldOptionsOwnerItemPropsType } from "./SelectFieldOptionsItemTypes";
|
|
5
|
-
export type SelectFieldClassNameType = FlexFieldClassNameType & SelectModalWindowClassNameType & {
|
|
6
|
-
selectField?: string;
|
|
7
|
-
modalWindow?: string;
|
|
8
|
-
show?: string;
|
|
9
|
-
};
|
|
10
4
|
export type SelectFieldOptionsItemType = {
|
|
11
5
|
value: any;
|
|
12
6
|
label?: string;
|
|
@@ -16,9 +10,8 @@ export type SelectFieldOptionsType = SelectFieldOptionsItemType[];
|
|
|
16
10
|
export type SelectFieldValueType = any[] | any;
|
|
17
11
|
export type SelectFieldLoadMoreOptionsType = (optionsCount: number, searchString?: string) => Promise<SelectFieldOptionsType | undefined>;
|
|
18
12
|
export type SelectFiledSearchOptionsType = (searchString: string, curOptions: SelectFieldOptionsType) => Promise<SelectFieldOptionsType | undefined>;
|
|
19
|
-
export type SelectFieldPropsType =
|
|
20
|
-
|
|
21
|
-
onChange?: (value: any) => void;
|
|
13
|
+
export type SelectFieldPropsType = FieldsBasePropsType<SelectFieldValueType> & {
|
|
14
|
+
placeholder?: string;
|
|
22
15
|
/**
|
|
23
16
|
* Функция поиска. Передает текущую строку поиска и текущие **options**.
|
|
24
17
|
* Ожидает промис новых **options**, которы будут поставлены на место старых.
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
active?: string;
|
|
5
|
-
};
|
|
6
|
-
export type SwitcherFieldPropsType = {
|
|
7
|
-
value?: boolean;
|
|
8
|
-
onChange?: (value: any) => void;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
switcherWrapper?: ReactElement<any>;
|
|
2
|
+
import { FieldsBasePropsType } from "../../FieldsBase";
|
|
3
|
+
export type SwitcherFieldPropsType = FieldsBasePropsType<boolean> & {
|
|
11
4
|
children?: ReactNode;
|
|
5
|
+
switcherWrapper?: ReactElement<any>;
|
|
12
6
|
};
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
isError?: string;
|
|
4
|
-
offFocus?: string;
|
|
5
|
-
};
|
|
6
|
-
export type TextareaFieldPropsType = {
|
|
7
|
-
value?: string;
|
|
1
|
+
import { FieldsBasePropsType } from '../../FieldsBase';
|
|
2
|
+
export type TextareaFieldPropsType = FieldsBasePropsType<string> & {
|
|
8
3
|
name?: string;
|
|
9
4
|
placeholder?: string;
|
|
10
|
-
onChange?: (value: any) => void;
|
|
11
|
-
isError?: boolean;
|
|
12
|
-
required?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
5
|
/**
|
|
15
6
|
* Выключает стиль фокуса.
|
|
16
7
|
* */
|
|
@@ -31,8 +31,6 @@ export type MicroButtonPropsType = Omit<React.ButtonHTMLAttributes<HTMLButtonEle
|
|
|
31
31
|
size?: MicroButtonSizeType;
|
|
32
32
|
/** Цвет иконки (Color в дизайне) */
|
|
33
33
|
color?: MicroButtonColorsType;
|
|
34
|
-
/** Дополнительные имена стилей */
|
|
35
|
-
additionStyles?: string | string[];
|
|
36
34
|
/** Кастомный компонент с обязательным пропсом children, в него будут вставлены элементы кнопки и накинуты стили */
|
|
37
35
|
customComponent?: ReactElement<{
|
|
38
36
|
children?: ReactNode;
|
|
@@ -41,4 +39,6 @@ export type MicroButtonPropsType = Omit<React.ButtonHTMLAttributes<HTMLButtonEle
|
|
|
41
39
|
[key: string]: any;
|
|
42
40
|
}>;
|
|
43
41
|
className?: MicroButtonClassNameType;
|
|
42
|
+
/** Дополнительные имена стилей */
|
|
43
|
+
additionStyles?: string | string[];
|
|
44
44
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "indicator-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.108",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/types/src/index.d.ts",
|
|
6
6
|
"style": "dist/index.css",
|
|
7
7
|
"sass": "dist/scss/index.scss",
|
|
8
|
+
"sideEffects": true,
|
|
8
9
|
"scripts": {
|
|
9
10
|
"dev:dev": "webpack serve --mode=development",
|
|
10
11
|
"dev:build": "webpack --mode=production && tsc --project tsconfig.json --outDir webpack",
|