forstok-ui-lib 7.2.3 → 7.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "7.2.3",
3
+ "version": "7.3.2",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -43,8 +43,10 @@ export * from './date/typed';
43
43
 
44
44
  export * from './form/styles';
45
45
  export * from './dropdown/styles';
46
+ export * from './select/styles';
46
47
 
47
48
  export * from './select/components';
49
+ export * from './select/asynCreatableSelect';
48
50
  export * from './select/function';
49
51
 
50
52
  export * from './loader';
@@ -0,0 +1,3 @@
1
+ import AsyncCreatableSelect from 'react-select/async-creatable'
2
+
3
+ export { AsyncCreatableSelect };
@@ -1,5 +1,5 @@
1
1
  import type { ActionMeta, OnChangeValue, SingleValueProps } from 'react-select';
2
- import type { OptionProps, GroupBase, StylesConfig, CSSObjectWithLabel, ControlProps } from 'react-select';
2
+ import type { OptionProps, GroupBase, StylesConfig, CSSObjectWithLabel, ControlProps, ValueContainerProps, MultiValueProps, MultiValue, OptionsOrGroups, MenuListProps } from 'react-select';
3
3
  import { CSSObject } from '@emotion/serialize'
4
4
  import type { TChannel } from '../../typeds/shares.typed';
5
5
  import type { TState } from '../../typeds';
@@ -97,4 +97,14 @@ export type TGroupBaseWithVariable = GroupBase<TOption>
97
97
 
98
98
  export type TSingleValueProps = SingleValueProps
99
99
 
100
- export type TOptionProps = OptionProps
100
+ export type TOptionProps = OptionProps
101
+
102
+ export type TValueContainerPropsWithVariable = ValueContainerProps<TOption, boolean>
103
+
104
+ export type TMultiValuePropsWithVariable = MultiValueProps<TOption, boolean>
105
+
106
+ export type TMultiValue = MultiValue<TOption[]>
107
+
108
+ export type TOptionsOrGroupsWithVariable = OptionsOrGroups<TOption, GroupBase<TOption>>
109
+
110
+ export type TMenuListProps = MenuListProps