forstok-ui-lib 8.5.29 → 8.6.1
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 +4 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/select/all.tsx +6 -1
- package/src/components/select/asyncPaginate.tsx +10 -4
- package/src/components/select/index.tsx +25 -10
- package/src/components/textarea/index.tsx +80 -49
- package/src/components/textarea/ref.tsx +8 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { HTMLAttributes, ReactNode, AnchorHTMLAttributes, MouseEvent, Dispatch, SetStateAction, KeyboardEvent, FocusEvent, ChangeEvent, DragEvent, ClipboardEvent, FormEvent, InputHTMLAttributes, JSX, PropsWithChildren, ButtonHTMLAttributes, RefObject, ImgHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
3
|
+
import { HTMLAttributes, ReactNode, AnchorHTMLAttributes, MouseEvent, Dispatch, SetStateAction, KeyboardEvent, FocusEvent, ChangeEvent, DragEvent, ClipboardEvent, FormEvent, InputHTMLAttributes, JSX, PropsWithChildren, ButtonHTMLAttributes, RefObject, ImgHTMLAttributes, TextareaHTMLAttributes, CSSProperties } from 'react';
|
|
4
4
|
import { Moment } from 'moment';
|
|
5
5
|
import { OnChangeValue, ActionMeta, OptionProps, StylesConfig, CSSObjectWithLabel, ControlProps, GroupBase, SingleValueProps, ValueContainerProps, MultiValueProps, MultiValue, OptionsOrGroups, MenuListProps, MultiValueRemoveProps } from 'react-select';
|
|
6
6
|
export { components } from 'react-select';
|
|
@@ -698,12 +698,14 @@ type TTextArea = TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
|
698
698
|
isField?: boolean;
|
|
699
699
|
evChangeCustom?: (name: string, value: any) => void;
|
|
700
700
|
$isEmoji?: boolean;
|
|
701
|
+
$emojiStyles?: CSSProperties;
|
|
701
702
|
};
|
|
702
|
-
declare const TextAreaComponent: ({ $isError, reset, setReset, isForceUpdate, setForceUpdate, evChange, evBlur, isField, evChangeCustom, $isEmoji, ...props }: TTextArea) => react_jsx_runtime.JSX.Element;
|
|
703
|
+
declare const TextAreaComponent: ({ $isError, reset, setReset, isForceUpdate, setForceUpdate, evChange, evBlur, isField, evChangeCustom, $isEmoji, $emojiStyles, ...props }: TTextArea) => react_jsx_runtime.JSX.Element;
|
|
703
704
|
|
|
704
705
|
declare const TextAreaRefComponent: react.ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
705
706
|
$isError?: boolean;
|
|
706
707
|
$isEmoji?: boolean;
|
|
708
|
+
$emojiStyles?: CSSProperties;
|
|
707
709
|
} & react.RefAttributes<HTMLTextAreaElement>>;
|
|
708
710
|
|
|
709
711
|
type TDate$1 = {
|