forstok-ui-lib 5.6.1 → 5.6.3
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.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/select/index.tsx +1 -0
- package/src/components/select/typed.ts +4 -2
package/package.json
CHANGED
|
@@ -320,6 +320,7 @@ const SelectComponent = ({ type, isError=false, mode, customOption, customLabel,
|
|
|
320
320
|
{...isMulti && { isMulti: true }}
|
|
321
321
|
{...customOption && { components: { Option: customOption } }}
|
|
322
322
|
{...mode === 'paymentReceiveStore' && { components: { Option: customOption, SingleValue: customLabel } }}
|
|
323
|
+
{...customLabel && { components: { SingleValue: customLabel } }}
|
|
323
324
|
{...MenuList && { components: { MenuList, Option: customOption } }}
|
|
324
325
|
{...selectKey && { key: selectKey }}
|
|
325
326
|
{...disabled && { isDisabled: disabled }}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionMeta, OnChangeValue } from 'react-select';
|
|
1
|
+
import type { ActionMeta, OnChangeValue, SingleValueProps } from 'react-select';
|
|
2
2
|
import type { OptionProps, GroupBase, StylesConfig, CSSObjectWithLabel, ControlProps } from 'react-select';
|
|
3
3
|
import { CSSObject } from '@emotion/serialize'
|
|
4
4
|
import type { TChannel } from '../../typeds/shares.typed';
|
|
@@ -69,4 +69,6 @@ export type TControlProps = ControlProps<TOption, boolean>
|
|
|
69
69
|
|
|
70
70
|
export type TOptionProps = OptionProps<TOption, boolean>
|
|
71
71
|
|
|
72
|
-
export type TGroupBase = GroupBase<TOption>
|
|
72
|
+
export type TGroupBase = GroupBase<TOption>
|
|
73
|
+
|
|
74
|
+
export type TSingleValueProps = SingleValueProps
|