indicator-ui 0.0.33 → 0.0.35
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 +3 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/scss/ui/Buttons/styles/mixins/baseButton.scss +2 -0
- package/dist/scss/ui/Buttons/styles/mixins/button.scss +0 -1
- package/dist/scss/ui/MicroButton/styles/mixins/base-button.scss +2 -0
- package/dist/scss/ui/MicroButton/styles/mixins/micro-button.scss +0 -1
- package/dist/types/src/ui/InputFields/SelectField/types/SelectFieldTypes.d.ts +6 -2
- package/dist/types/src/ui/InputFields/SelectField/types/SelectModalWindowTypes.d.ts +2 -0
- package/dist/types/src/ui/InputFields/SelectField/ui/SelectField.d.ts +1 -1
- package/dist/types/src/ui/InputFields/SelectField/ui/SelectModalWindow.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement } from "react";
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
2
|
import { FlexFieldClassNameType } from '../../FlexField';
|
|
3
3
|
import { SelectModalWindowClassNameType } from './SelectModalWindowTypes';
|
|
4
4
|
import { SelectFieldOptionsOwnerItemPropsType } from "./SelectFieldOptionsItemTypes";
|
|
@@ -23,7 +23,9 @@ export type SelectFieldPropsType = {
|
|
|
23
23
|
multiple?: boolean;
|
|
24
24
|
disabled?: boolean;
|
|
25
25
|
/**
|
|
26
|
-
* Опция для синхронизации внешних **options**,
|
|
26
|
+
* Опция для синхронизации внешних **options**,
|
|
27
|
+
* не включайте, если передаете **options** без постоянного указателя.
|
|
28
|
+
* Синхронизирует внешний массив **options** с внутренним.
|
|
27
29
|
* */
|
|
28
30
|
offOptionsSyncing?: boolean;
|
|
29
31
|
placeholder?: string;
|
|
@@ -31,5 +33,7 @@ export type SelectFieldPropsType = {
|
|
|
31
33
|
options?: SelectFieldOptionsType;
|
|
32
34
|
autoClose?: boolean;
|
|
33
35
|
loadMoreOptions?: SelectFieldLoadMoreOptionsType;
|
|
36
|
+
/** Элемент **(ReactNode)** в конце окна выбора **Select**. */
|
|
37
|
+
selectModalWindowAfterElement?: React.ReactNode;
|
|
34
38
|
className?: SelectFieldClassNameType;
|
|
35
39
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SelectFieldOptionsType, SelectFieldValueType } from './SelectFieldTypes';
|
|
2
2
|
import { SelectFieldOptionsItemClassNameType } from "./SelectFieldOptionsItemTypes";
|
|
3
|
+
import React from "react";
|
|
3
4
|
export type SelectModalWindowClassNameType = SelectFieldOptionsItemClassNameType & {
|
|
4
5
|
selectModalWindow?: string;
|
|
5
6
|
};
|
|
@@ -8,5 +9,6 @@ export type SelectModalWindowPropsType = {
|
|
|
8
9
|
onChange: (value: any[]) => void;
|
|
9
10
|
options: SelectFieldOptionsType;
|
|
10
11
|
onScrollToBottom?: () => void;
|
|
12
|
+
afterElement?: React.ReactNode;
|
|
11
13
|
className?: SelectModalWindowClassNameType;
|
|
12
14
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SelectFieldPropsType } from '../types';
|
|
3
|
-
export default function SelectField({ value, onChange, options, placeholder, isError, isSearching, required, multiple, disabled, offOptionsSyncing, autoClose, onBlur, loadMoreOptions, className, }: SelectFieldPropsType): React.JSX.Element;
|
|
3
|
+
export default function SelectField({ value, onChange, options, placeholder, isError, isSearching, required, multiple, disabled, offOptionsSyncing, autoClose, onBlur, selectModalWindowAfterElement, loadMoreOptions, className, }: SelectFieldPropsType): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SelectModalWindowPropsType } from "../types";
|
|
3
|
-
export default function SelectModalWindow({ value, onChange, options, onScrollToBottom, className, }: SelectModalWindowPropsType): React.JSX.Element;
|
|
3
|
+
export default function SelectModalWindow({ value, onChange, options, onScrollToBottom, afterElement, className, }: SelectModalWindowPropsType): React.JSX.Element;
|