forstok-ui-lib 5.1.4 → 5.1.6
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 +17 -2
- package/dist/index.js +126 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +128 -37
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/icons/arrow-red-upload.svg +48 -0
- package/src/assets/javascripts/function.ts +12 -1
- package/src/components/index.ts +2 -0
- package/src/components/select/typed.ts +1 -1
- package/src/components/upload/drag_drop.tsx +85 -0
- package/src/components/upload/index.tsx +31 -0
- package/src/components/upload/styles.tsx +127 -0
package/dist/index.d.ts
CHANGED
|
@@ -299,7 +299,7 @@ type TOption = {
|
|
|
299
299
|
readonly channel?: Omit<TChannel, 'stores'>;
|
|
300
300
|
postalCode?: string;
|
|
301
301
|
localId?: string;
|
|
302
|
-
isDisabled?: boolean;
|
|
302
|
+
isDisabled?: boolean | null;
|
|
303
303
|
option?: {
|
|
304
304
|
readonly value: any;
|
|
305
305
|
readonly label: string;
|
|
@@ -346,6 +346,21 @@ declare const ErrorComponent: ({ children, $mode, ...props }: {
|
|
|
346
346
|
$mode?: string;
|
|
347
347
|
}) => react_jsx_runtime.JSX.Element;
|
|
348
348
|
|
|
349
|
+
type TUpload$1 = InputHTMLAttributes<HTMLInputElement> & {
|
|
350
|
+
children?: ReactNode;
|
|
351
|
+
mode?: string;
|
|
352
|
+
'data-idx'?: number;
|
|
353
|
+
'data-detail'?: any;
|
|
354
|
+
};
|
|
355
|
+
declare const UploadComponent: ({ children, mode, ...props }: TUpload$1) => react_jsx_runtime.JSX.Element;
|
|
356
|
+
|
|
357
|
+
type TUpload = InputHTMLAttributes<HTMLInputElement> & {
|
|
358
|
+
children?: ReactNode;
|
|
359
|
+
evChange?: (arg0: FileList) => void;
|
|
360
|
+
evCreateMessage?: TMessageFunction;
|
|
361
|
+
};
|
|
362
|
+
declare const UploadDragDropComponent: ({ children, id, name, evChange, evCreateMessage, ...props }: TUpload) => react_jsx_runtime.JSX.Element;
|
|
363
|
+
|
|
349
364
|
declare const FormContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<styled_components.FastOmit<styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, react.DetailedHTMLProps<react.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>>, never>, {
|
|
350
365
|
name?: string;
|
|
351
366
|
}>> & string;
|
|
@@ -379,4 +394,4 @@ declare const TabsContent: styled_components_dist_types.IStyledComponentBase<"we
|
|
|
379
394
|
declare const FoContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
380
395
|
declare const InfoGroup: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
381
396
|
|
|
382
|
-
export { ButtonComponent, CheckboxComponent, DropDownComponent as DropdownComponent, ErrorComponent, FoContainer, FormContainer, HeaderContainer, IconComponent, ImageComponent, InfoGroup, InputComponent, InputWithRefComponent as InputRefComponent, type KeysToSnakeCase, LabelComponent, LinkComponent, ListContainer, LoadingComponent, MessageComponent, MessageQuestionComponent, PanelContainer, PanelWrapper, type PartialBy, PopupComponent, ReactPortalComponent, SelectComponent, SingleFormContainer, type TChangeEvent, type TChannel, type TCloseDropdownFunction, type TDragEvent, type TDropdown, type TEnterEvent, type TFile, type TFileImage, type THierarchy, type TIdNum, type TIdStr, type TKeyboadEvent, type TMessage, type TMessageFunction, type TMessageQuestion, type TMessageQuestionFunction, type TMouseEvent, type TObject, type TOnChangeValue, type TOption, type TPage, type TPopup, type TPopupContainer, type TPopupFunction, type TPopupFunctionGroup, type TPopupFunctionParam, type TPopupOpenFunction, type TState, type TUser, TabsContainer, TabsContent, TextComponent, Title, type WithRequired, boxBase, clearList, dropBase, elipsis, formLabel, headTable, multiElipsis, responseWidth, thirdElipsis };
|
|
397
|
+
export { ButtonComponent, CheckboxComponent, DropDownComponent as DropdownComponent, ErrorComponent, FoContainer, FormContainer, HeaderContainer, IconComponent, ImageComponent, InfoGroup, InputComponent, InputWithRefComponent as InputRefComponent, type KeysToSnakeCase, LabelComponent, LinkComponent, ListContainer, LoadingComponent, MessageComponent, MessageQuestionComponent, PanelContainer, PanelWrapper, type PartialBy, PopupComponent, ReactPortalComponent, SelectComponent, SingleFormContainer, type TChangeEvent, type TChannel, type TCloseDropdownFunction, type TDragEvent, type TDropdown, type TEnterEvent, type TFile, type TFileImage, type THierarchy, type TIdNum, type TIdStr, type TKeyboadEvent, type TMessage, type TMessageFunction, type TMessageQuestion, type TMessageQuestionFunction, type TMouseEvent, type TObject, type TOnChangeValue, type TOption, type TPage, type TPopup, type TPopupContainer, type TPopupFunction, type TPopupFunctionGroup, type TPopupFunctionParam, type TPopupOpenFunction, type TState, type TUser, TabsContainer, TabsContent, TextComponent, Title, UploadComponent, UploadDragDropComponent, type WithRequired, boxBase, clearList, dropBase, elipsis, formLabel, headTable, multiElipsis, responseWidth, thirdElipsis };
|