forstok-ui-lib 8.6.0 → 8.6.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/dist/index.d.ts +6 -3
- package/dist/index.js +21 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -22
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/emoji/index.tsx +34 -17
- 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 = {
|
|
@@ -813,9 +815,10 @@ declare function ReactPortalComponent({ children, wrapperId }: {
|
|
|
813
815
|
wrapperId?: string;
|
|
814
816
|
}): react_jsx_runtime.JSX.Element;
|
|
815
817
|
|
|
816
|
-
declare const EmojiComponent: ({ $mode, evChange }: {
|
|
818
|
+
declare const EmojiComponent: ({ $mode, evChange, $emojiStyles, }: {
|
|
817
819
|
$mode?: "textarea";
|
|
818
820
|
evChange: (emoji: string) => void;
|
|
821
|
+
$emojiStyles?: CSSProperties;
|
|
819
822
|
}) => react_jsx_runtime.JSX.Element;
|
|
820
823
|
|
|
821
824
|
type TableMode = 'widersmall' | 'custom';
|