@vchasno/ui-kit 0.2.10 → 0.2.11
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/CHANGELOG.md +11 -0
- package/dist/Datepicker/types/components/BubbleBox/index.d.ts +1 -0
- package/dist/Datepicker/types/components/Select/Select.d.ts +27 -0
- package/dist/Datepicker/types/components/Select/index.d.ts +1 -3
- package/dist/Datepicker/types/components/SvgBorder/SvgBorder.d.ts +18 -0
- package/dist/Datepicker/types/components/SvgBorder/index.d.ts +3 -0
- package/dist/Datepicker/types/components/SvgBorder/utils.d.ts +1 -0
- package/dist/Datepicker/types/components/index.d.ts +3 -1
- package/dist/Datepicker/types/index.d.ts +1 -0
- package/dist/Select/index.cjs.js +5 -1
- package/dist/Select/index.cjs.js.map +1 -1
- package/dist/Select/index.d.ts +34 -2
- package/dist/Select/index.js +2 -1
- package/dist/Select/index.js.map +1 -1
- package/dist/Select/types/components/BubbleBox/index.d.ts +1 -0
- package/dist/Select/types/components/Select/Select.d.ts +27 -0
- package/dist/Select/types/components/Select/index.d.ts +1 -3
- package/dist/Select/types/components/SvgBorder/SvgBorder.d.ts +18 -0
- package/dist/Select/types/components/SvgBorder/index.d.ts +3 -0
- package/dist/Select/types/components/SvgBorder/utils.d.ts +1 -0
- package/dist/Select/types/components/index.d.ts +3 -1
- package/dist/Select/types/index.d.ts +1 -0
- package/dist/SelectCreatable/types/components/BubbleBox/index.d.ts +1 -0
- package/dist/SelectCreatable/types/components/Select/Select.d.ts +27 -0
- package/dist/SelectCreatable/types/components/Select/index.d.ts +1 -3
- package/dist/SelectCreatable/types/components/SvgBorder/SvgBorder.d.ts +18 -0
- package/dist/SelectCreatable/types/components/SvgBorder/index.d.ts +3 -0
- package/dist/SelectCreatable/types/components/SvgBorder/utils.d.ts +1 -0
- package/dist/SelectCreatable/types/components/index.d.ts +3 -1
- package/dist/SelectCreatable/types/index.d.ts +1 -0
- package/dist/index.d.ts +26 -1
- package/dist/index.js +82 -39
- package/dist/index.js.map +1 -1
- package/dist/types/components/BubbleBox/index.d.ts +1 -0
- package/dist/types/components/Select/Select.d.ts +27 -0
- package/dist/types/components/Select/index.d.ts +1 -3
- package/dist/types/components/SvgBorder/SvgBorder.d.ts +18 -0
- package/dist/types/components/SvgBorder/index.d.ts +3 -0
- package/dist/types/components/SvgBorder/utils.d.ts +1 -0
- package/dist/types/components/index.d.ts +3 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/Datepicker/types/{components/BubbleBox → hooks}/useClientRect.d.ts +0 -0
- /package/dist/Select/types/{components/BubbleBox → hooks}/useClientRect.d.ts +0 -0
- /package/dist/SelectCreatable/types/{components/BubbleBox → hooks}/useClientRect.d.ts +0 -0
- /package/dist/types/{components/BubbleBox → hooks}/useClientRect.d.ts +0 -0
package/dist/Select/index.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as react_select_dist_declarations_src_components_MultiValue from 'react-select/dist/declarations/src/components/MultiValue';
|
|
2
|
+
import * as react_select_dist_declarations_src_components_Menu from 'react-select/dist/declarations/src/components/Menu';
|
|
3
|
+
import * as react_select_dist_declarations_src_components_indicators from 'react-select/dist/declarations/src/components/indicators';
|
|
4
|
+
import * as _emotion_react from '@emotion/react';
|
|
5
|
+
import * as react_select from 'react-select';
|
|
2
6
|
import { Props } from 'react-select';
|
|
7
|
+
import React from 'react';
|
|
3
8
|
|
|
4
9
|
interface LoadingFeedback {
|
|
5
10
|
/** індикатор процесу */
|
|
@@ -29,5 +34,32 @@ interface SelectProps extends Props, Partial<WithLabel & WithHint & LoadingFeedb
|
|
|
29
34
|
dataQa?: string;
|
|
30
35
|
}
|
|
31
36
|
declare const Select: React.FC<SelectProps>;
|
|
37
|
+
declare const SelectComponents: {
|
|
38
|
+
ClearIndicator: <Option_1, IsMulti extends boolean, Group extends react_select.GroupBase<Option_1>>(props: react_select.ClearIndicatorProps<Option_1, IsMulti, Group>) => _emotion_react.jsx.JSX.Element;
|
|
39
|
+
Control: <Option_1, IsMulti_1 extends boolean, Group_1 extends react_select.GroupBase<Option_1>>(props: react_select.ControlProps<Option_1, IsMulti_1, Group_1>) => _emotion_react.jsx.JSX.Element;
|
|
40
|
+
DropdownIndicator: <Option_2, IsMulti_2 extends boolean, Group_2 extends react_select.GroupBase<Option_2>>(props: react_select.DropdownIndicatorProps<Option_2, IsMulti_2, Group_2>) => _emotion_react.jsx.JSX.Element;
|
|
41
|
+
DownChevron: (props: react_select_dist_declarations_src_components_indicators.DownChevronProps) => _emotion_react.jsx.JSX.Element;
|
|
42
|
+
CrossIcon: (props: react_select_dist_declarations_src_components_indicators.CrossIconProps) => _emotion_react.jsx.JSX.Element;
|
|
43
|
+
Group: <Option_3, IsMulti_3 extends boolean, Group_3 extends react_select.GroupBase<Option_3>>(props: react_select.GroupProps<Option_3, IsMulti_3, Group_3>) => _emotion_react.jsx.JSX.Element;
|
|
44
|
+
GroupHeading: <Option_4, IsMulti_4 extends boolean, Group_4 extends react_select.GroupBase<Option_4>>(props: react_select.GroupHeadingProps<Option_4, IsMulti_4, Group_4>) => _emotion_react.jsx.JSX.Element;
|
|
45
|
+
IndicatorsContainer: <Option_5, IsMulti_5 extends boolean, Group_5 extends react_select.GroupBase<Option_5>>(props: react_select.IndicatorsContainerProps<Option_5, IsMulti_5, Group_5>) => _emotion_react.jsx.JSX.Element;
|
|
46
|
+
IndicatorSeparator: <Option_6, IsMulti_6 extends boolean, Group_6 extends react_select.GroupBase<Option_6>>(props: react_select.IndicatorSeparatorProps<Option_6, IsMulti_6, Group_6>) => _emotion_react.jsx.JSX.Element;
|
|
47
|
+
Input: <Option_7, IsMulti_7 extends boolean, Group_7 extends react_select.GroupBase<Option_7>>(props: react_select.InputProps<Option_7, IsMulti_7, Group_7>) => _emotion_react.jsx.JSX.Element;
|
|
48
|
+
LoadingIndicator: <Option_8, IsMulti_8 extends boolean, Group_8 extends react_select.GroupBase<Option_8>>({ innerProps, isRtl, size, ...restProps }: react_select.LoadingIndicatorProps<Option_8, IsMulti_8, Group_8>) => _emotion_react.jsx.JSX.Element;
|
|
49
|
+
Menu: <Option_9, IsMulti_9 extends boolean, Group_9 extends react_select.GroupBase<Option_9>>(props: react_select.MenuProps<Option_9, IsMulti_9, Group_9>) => _emotion_react.jsx.JSX.Element;
|
|
50
|
+
MenuList: <Option_10, IsMulti_10 extends boolean, Group_10 extends react_select.GroupBase<Option_10>>(props: react_select.MenuListProps<Option_10, IsMulti_10, Group_10>) => _emotion_react.jsx.JSX.Element;
|
|
51
|
+
MenuPortal: <Option_11, IsMulti_11 extends boolean, Group_11 extends react_select.GroupBase<Option_11>>(props: react_select_dist_declarations_src_components_Menu.MenuPortalProps<Option_11, IsMulti_11, Group_11>) => _emotion_react.jsx.JSX.Element | null;
|
|
52
|
+
LoadingMessage: <Option_12, IsMulti_12 extends boolean, Group_12 extends react_select.GroupBase<Option_12>>({ children, innerProps, ...restProps }: react_select.NoticeProps<Option_12, IsMulti_12, Group_12>) => _emotion_react.jsx.JSX.Element;
|
|
53
|
+
NoOptionsMessage: <Option_13, IsMulti_13 extends boolean, Group_13 extends react_select.GroupBase<Option_13>>({ children, innerProps, ...restProps }: react_select.NoticeProps<Option_13, IsMulti_13, Group_13>) => _emotion_react.jsx.JSX.Element;
|
|
54
|
+
MultiValue: <Option_14, IsMulti_14 extends boolean, Group_14 extends react_select.GroupBase<Option_14>>(props: react_select.MultiValueProps<Option_14, IsMulti_14, Group_14>) => _emotion_react.jsx.JSX.Element;
|
|
55
|
+
MultiValueContainer: <Option_15, IsMulti_15 extends boolean, Group_15 extends react_select.GroupBase<Option_15>>({ children, innerProps, }: react_select.MultiValueGenericProps<Option_15, IsMulti_15, Group_15>) => _emotion_react.jsx.JSX.Element;
|
|
56
|
+
MultiValueLabel: <Option_15_1, IsMulti_15_1 extends boolean, Group_15_1 extends react_select.GroupBase<Option_15_1>>({ children, innerProps, }: react_select.MultiValueGenericProps<Option_15_1, IsMulti_15_1, Group_15_1>) => _emotion_react.jsx.JSX.Element;
|
|
57
|
+
MultiValueRemove: typeof react_select_dist_declarations_src_components_MultiValue.MultiValueRemove;
|
|
58
|
+
Option: <Option_16, IsMulti_16 extends boolean, Group_16 extends react_select.GroupBase<Option_16>>(props: react_select.OptionProps<Option_16, IsMulti_16, Group_16>) => _emotion_react.jsx.JSX.Element;
|
|
59
|
+
Placeholder: <Option_17, IsMulti_17 extends boolean, Group_17 extends react_select.GroupBase<Option_17>>(props: react_select.PlaceholderProps<Option_17, IsMulti_17, Group_17>) => _emotion_react.jsx.JSX.Element;
|
|
60
|
+
SelectContainer: <Option_18, IsMulti_18 extends boolean, Group_18 extends react_select.GroupBase<Option_18>>(props: react_select.ContainerProps<Option_18, IsMulti_18, Group_18>) => _emotion_react.jsx.JSX.Element;
|
|
61
|
+
SingleValue: <Option_19, IsMulti_19 extends boolean, Group_19 extends react_select.GroupBase<Option_19>>(props: react_select.SingleValueProps<Option_19, IsMulti_19, Group_19>) => _emotion_react.jsx.JSX.Element;
|
|
62
|
+
ValueContainer: <Option_20, IsMulti_20 extends boolean, Group_20 extends react_select.GroupBase<Option_20>>(props: react_select.ValueContainerProps<Option_20, IsMulti_20, Group_20>) => _emotion_react.jsx.JSX.Element;
|
|
63
|
+
};
|
|
32
64
|
|
|
33
|
-
export { type SelectOption, type SelectProps, Select as default };
|
|
65
|
+
export { SelectComponents, type SelectOption, type SelectProps, Select as default };
|
package/dist/Select/index.js
CHANGED
|
@@ -7721,6 +7721,7 @@ var Select = function (_a) {
|
|
|
7721
7721
|
React__default.createElement(StateManagedSelect$1, __assign({ required: required, isLoading: loading, components: __assign(__assign({}, customComponents), components), classNamePrefix: "vchasno-ui-select", menuPlacement: menuPlacement, isDisabled: isDisabled, noOptionsMessage: noOptionsMessage, loadingMessage: loadingMessage, placeholder: placeholder }, rest)),
|
|
7722
7722
|
React__default.createElement(InputMeta, { hint: hint, error: error })));
|
|
7723
7723
|
};
|
|
7724
|
+
var SelectComponents = components;
|
|
7724
7725
|
|
|
7725
|
-
export { Select as default };
|
|
7726
|
+
export { SelectComponents, Select as default };
|
|
7726
7727
|
//# sourceMappingURL=index.js.map
|