@elliemae/ds-uploader 2.3.0-alpha.7 → 2.3.0-next.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.
@@ -0,0 +1,136 @@
1
+ /// <reference path="../../../../shared/typings/react-desc.d.ts" />
2
+ /// <reference types="react" />
3
+ import type { DSUploaderPropsT } from './index.d';
4
+ declare const DSUploader: {
5
+ ({ containerProps, label, icon: UploadFileIcon, defaultActionLabel, dragActiveInstructionalText, dragActiveIcon: DragActiveIcon, altActionLabel, acceptedTypesText, disabledDefault, disabledAlt, onDefaultHandlerClick, onAltHandlerClick, actions, showAltAction, defaultActionTooltipText, altActionTooltipText, ...dropzoneProps }: DSUploaderPropsT): JSX.Element;
6
+ actions: {
7
+ defaultAction: string;
8
+ altAction: string;
9
+ };
10
+ propTypes: {
11
+ containerProps: {
12
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
13
+ deprecated: import("react-desc").PropTypesDescValidator;
14
+ };
15
+ isRequired: import("react-desc").PropTypesDescValue;
16
+ };
17
+ validator: {
18
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
19
+ deprecated: import("react-desc").PropTypesDescValidator;
20
+ };
21
+ isRequired: import("react-desc").PropTypesDescValue;
22
+ };
23
+ maxFiles: {
24
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
25
+ deprecated: import("react-desc").PropTypesDescValidator;
26
+ };
27
+ isRequired: import("react-desc").PropTypesDescValue;
28
+ };
29
+ minSize: {
30
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
31
+ deprecated: import("react-desc").PropTypesDescValidator;
32
+ };
33
+ isRequired: import("react-desc").PropTypesDescValue;
34
+ };
35
+ maxSize: {
36
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
37
+ deprecated: import("react-desc").PropTypesDescValidator;
38
+ };
39
+ isRequired: import("react-desc").PropTypesDescValue;
40
+ };
41
+ onDropRejected: {
42
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
43
+ deprecated: import("react-desc").PropTypesDescValidator;
44
+ };
45
+ isRequired: import("react-desc").PropTypesDescValue;
46
+ };
47
+ disabled: {
48
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
49
+ deprecated: import("react-desc").PropTypesDescValidator;
50
+ };
51
+ isRequired: import("react-desc").PropTypesDescValue;
52
+ };
53
+ multiple: {
54
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
55
+ deprecated: import("react-desc").PropTypesDescValidator;
56
+ };
57
+ isRequired: import("react-desc").PropTypesDescValue;
58
+ };
59
+ accept: {
60
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
61
+ deprecated: import("react-desc").PropTypesDescValidator;
62
+ };
63
+ isRequired: import("react-desc").PropTypesDescValue;
64
+ };
65
+ label: {
66
+ deprecated: import("react-desc").PropTypesDescValidator;
67
+ };
68
+ icon: {
69
+ deprecated: import("react-desc").PropTypesDescValidator;
70
+ };
71
+ actions: {
72
+ deprecated: import("react-desc").PropTypesDescValidator;
73
+ };
74
+ defaultActionLabel: {
75
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
76
+ deprecated: import("react-desc").PropTypesDescValidator;
77
+ };
78
+ isRequired: import("react-desc").PropTypesDescValue;
79
+ };
80
+ showAltAction: {
81
+ deprecated: import("react-desc").PropTypesDescValidator;
82
+ };
83
+ altActionLabel: {
84
+ deprecated: import("react-desc").PropTypesDescValidator;
85
+ };
86
+ dragActiveInstructionalText: {
87
+ deprecated: import("react-desc").PropTypesDescValidator;
88
+ };
89
+ dragActiveIcon: {
90
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
91
+ deprecated: import("react-desc").PropTypesDescValidator;
92
+ };
93
+ isRequired: import("react-desc").PropTypesDescValue;
94
+ };
95
+ acceptedTypesText: {
96
+ deprecated: import("react-desc").PropTypesDescValidator;
97
+ };
98
+ disabledDefault: {
99
+ deprecated: import("react-desc").PropTypesDescValidator;
100
+ };
101
+ disabledAlt: {
102
+ deprecated: import("react-desc").PropTypesDescValidator;
103
+ };
104
+ onDefaultHandlerClick: {
105
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
106
+ deprecated: import("react-desc").PropTypesDescValidator;
107
+ };
108
+ isRequired: import("react-desc").PropTypesDescValue;
109
+ };
110
+ onAltHandlerClick: {
111
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
112
+ deprecated: import("react-desc").PropTypesDescValidator;
113
+ };
114
+ isRequired: import("react-desc").PropTypesDescValue;
115
+ };
116
+ defaultActionTooltipText: {
117
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
118
+ deprecated: import("react-desc").PropTypesDescValidator;
119
+ };
120
+ isRequired: import("react-desc").PropTypesDescValue;
121
+ };
122
+ altActionTooltipText: {
123
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
124
+ deprecated: import("react-desc").PropTypesDescValidator;
125
+ };
126
+ isRequired: import("react-desc").PropTypesDescValue;
127
+ };
128
+ };
129
+ };
130
+ declare const UploaderWithSchema: {
131
+ (props?: unknown): JSX.Element;
132
+ propTypes: unknown;
133
+ toTypescript: () => import("react-desc").TypescriptSchema;
134
+ };
135
+ export { UploaderWithSchema };
136
+ export default DSUploader;
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ export interface DSUploaderPropsT {
3
+ containerProps?: Record<string, unknown>;
4
+ label?: string;
5
+ icon?: React.FC<{
6
+ size: string;
7
+ }>;
8
+ defaultActionLabel?: string;
9
+ dragActiveInstructionalText?: string;
10
+ dragActiveIcon?: React.FC;
11
+ altActionLabel?: string;
12
+ acceptedTypesText?: string;
13
+ disabledDefault?: boolean;
14
+ disabledAlt?: boolean;
15
+ onDefaultHandlerClick?: () => void | null;
16
+ onAltHandlerClick?: () => void | null;
17
+ actions?: Record<string, unknown>;
18
+ showAltAction?: boolean;
19
+ defaultActionTooltipText: string;
20
+ altActionTooltipText: string;
21
+ }
22
+ export interface ActionButtonPropsT {
23
+ labelText: string;
24
+ variant: undefined | 'variant-disabled';
25
+ onClick: () => void | null;
26
+ }
@@ -0,0 +1 @@
1
+ export { default, UploaderWithSchema } from './DSUploader';
@@ -0,0 +1,121 @@
1
+ /// <reference path="../../../../shared/typings/react-desc.d.ts" />
2
+ /** Inherits the props of react-dropzone https://react-dropzone.netlify.com/ */
3
+ export declare const propTypes: {
4
+ containerProps: {
5
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
6
+ deprecated: import("react-desc").PropTypesDescValidator;
7
+ };
8
+ isRequired: import("react-desc").PropTypesDescValue;
9
+ };
10
+ validator: {
11
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
12
+ deprecated: import("react-desc").PropTypesDescValidator;
13
+ };
14
+ isRequired: import("react-desc").PropTypesDescValue;
15
+ };
16
+ maxFiles: {
17
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
18
+ deprecated: import("react-desc").PropTypesDescValidator;
19
+ };
20
+ isRequired: import("react-desc").PropTypesDescValue;
21
+ };
22
+ minSize: {
23
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
24
+ deprecated: import("react-desc").PropTypesDescValidator;
25
+ };
26
+ isRequired: import("react-desc").PropTypesDescValue;
27
+ };
28
+ maxSize: {
29
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
30
+ deprecated: import("react-desc").PropTypesDescValidator;
31
+ };
32
+ isRequired: import("react-desc").PropTypesDescValue;
33
+ };
34
+ onDropRejected: {
35
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
36
+ deprecated: import("react-desc").PropTypesDescValidator;
37
+ };
38
+ isRequired: import("react-desc").PropTypesDescValue;
39
+ };
40
+ disabled: {
41
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
42
+ deprecated: import("react-desc").PropTypesDescValidator;
43
+ };
44
+ isRequired: import("react-desc").PropTypesDescValue;
45
+ };
46
+ multiple: {
47
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
48
+ deprecated: import("react-desc").PropTypesDescValidator;
49
+ };
50
+ isRequired: import("react-desc").PropTypesDescValue;
51
+ };
52
+ accept: {
53
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
54
+ deprecated: import("react-desc").PropTypesDescValidator;
55
+ };
56
+ isRequired: import("react-desc").PropTypesDescValue;
57
+ };
58
+ label: {
59
+ deprecated: import("react-desc").PropTypesDescValidator;
60
+ };
61
+ icon: {
62
+ deprecated: import("react-desc").PropTypesDescValidator;
63
+ };
64
+ actions: {
65
+ deprecated: import("react-desc").PropTypesDescValidator;
66
+ };
67
+ defaultActionLabel: {
68
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
69
+ deprecated: import("react-desc").PropTypesDescValidator;
70
+ };
71
+ isRequired: import("react-desc").PropTypesDescValue;
72
+ };
73
+ showAltAction: {
74
+ deprecated: import("react-desc").PropTypesDescValidator;
75
+ };
76
+ altActionLabel: {
77
+ deprecated: import("react-desc").PropTypesDescValidator;
78
+ };
79
+ dragActiveInstructionalText: {
80
+ deprecated: import("react-desc").PropTypesDescValidator;
81
+ };
82
+ dragActiveIcon: {
83
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
84
+ deprecated: import("react-desc").PropTypesDescValidator;
85
+ };
86
+ isRequired: import("react-desc").PropTypesDescValue;
87
+ };
88
+ acceptedTypesText: {
89
+ deprecated: import("react-desc").PropTypesDescValidator;
90
+ };
91
+ disabledDefault: {
92
+ deprecated: import("react-desc").PropTypesDescValidator;
93
+ };
94
+ disabledAlt: {
95
+ deprecated: import("react-desc").PropTypesDescValidator;
96
+ };
97
+ onDefaultHandlerClick: {
98
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
99
+ deprecated: import("react-desc").PropTypesDescValidator;
100
+ };
101
+ isRequired: import("react-desc").PropTypesDescValue;
102
+ };
103
+ onAltHandlerClick: {
104
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
105
+ deprecated: import("react-desc").PropTypesDescValidator;
106
+ };
107
+ isRequired: import("react-desc").PropTypesDescValue;
108
+ };
109
+ defaultActionTooltipText: {
110
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
111
+ deprecated: import("react-desc").PropTypesDescValidator;
112
+ };
113
+ isRequired: import("react-desc").PropTypesDescValue;
114
+ };
115
+ altActionTooltipText: {
116
+ defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
117
+ deprecated: import("react-desc").PropTypesDescValidator;
118
+ };
119
+ isRequired: import("react-desc").PropTypesDescValue;
120
+ };
121
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,135 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
17
- }
18
- return target;
19
- };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
- var DSUploader_exports = {};
29
- __export(DSUploader_exports, {
30
- UploaderWithSchema: () => UploaderWithSchema,
31
- default: () => DSUploader_default
32
- });
33
- var React = __toESM(require("react"));
34
- var import_react = __toESM(require("react"));
35
- var import_react_desc = require("react-desc");
36
- var import_ds_classnames = require("@elliemae/ds-classnames");
37
- var import_ds_utilities = require("@elliemae/ds-utilities");
38
- var import_ds_icons = require("@elliemae/ds-icons");
39
- var import_ds_button = __toESM(require("@elliemae/ds-button"));
40
- var import_react_dropzone = require("react-dropzone");
41
- var import_ds_tooltip = __toESM(require("@elliemae/ds-tooltip"));
42
- var import_propTypes = require("./propTypes");
43
- const blockName = "uploader";
44
- const blockNameInfo = `${blockName}-info`;
45
- const blockNameDragActive = `${blockName}-drag-active`;
46
- const blockNameWrapper = `${blockName}-wrapper`;
47
- const UploaderWrapper = (0, import_ds_classnames.aggregatedClasses)("div")(blockNameWrapper, null, ({ disabled }) => ({ disabled }));
48
- const Uploader = (0, import_ds_classnames.aggregatedClasses)("div")(blockName, null, ({ isDragActive }) => ({ "drag-active": isDragActive }));
49
- const UploaderDragActive = (0, import_ds_classnames.aggregatedClasses)("div")(blockNameDragActive);
50
- const UploaderIconArea = (0, import_ds_classnames.aggregatedClasses)("div")(`${blockName}-icon-wrapper`);
51
- const UploaderInfo = (0, import_ds_classnames.aggregatedClasses)("div")(blockNameInfo);
52
- const InfoText = (0, import_ds_classnames.aggregatedClasses)("span")(blockNameInfo, "text");
53
- const UploaderActions = (0, import_ds_classnames.aggregatedClasses)("div")(blockNameInfo, "actions");
54
- const AcceptedTypes = (0, import_ds_classnames.aggregatedClasses)("div")(blockNameWrapper, "accepted-types");
55
- const DividerVertical = (0, import_ds_classnames.aggregatedClasses)("div")("divider", null, ({ vertical }) => ({ vertical }));
56
- function ActionButton({ labelText, ...otherProps }) {
57
- return /* @__PURE__ */ import_react.default.createElement(import_ds_button.default, {
58
- ...otherProps,
59
- buttonType: "text",
60
- labelText
61
- });
62
- }
63
- const noop = () => null;
64
- const DSUploader = ({
65
- containerProps = {},
66
- label = "Browse",
67
- icon: UploadFileIcon = import_ds_icons.UploadFile,
68
- defaultActionLabel = "LOCAL DRIVE",
69
- dragActiveInstructionalText = "DROP FILES HERE",
70
- dragActiveIcon: DragActiveIcon = import_ds_icons.UploadFile,
71
- altActionLabel = "DOCUMENTS",
72
- acceptedTypesText = "JPG, JPEG, PNG, PDF",
73
- disabledDefault = false,
74
- disabledAlt = false,
75
- onDefaultHandlerClick = noop,
76
- onAltHandlerClick = noop,
77
- actions = { defaultAction: "LOCAL DRIVE", altAction: "DOCUMENTS" },
78
- showAltAction = false,
79
- defaultActionTooltipText,
80
- altActionTooltipText,
81
- ...dropzoneProps
82
- }) => {
83
- const { getRootProps, getInputProps, isDragActive } = (0, import_react_dropzone.useDropzone)(dropzoneProps);
84
- const { onClick: onOpenFile, ...rootProps } = getRootProps();
85
- const disabledAll = disabledDefault && disabledAlt;
86
- const delfaultActionButton = /* @__PURE__ */ import_react.default.createElement(ActionButton, {
87
- variant: disabledDefault && import_ds_button.BUTTON_VARIANT.DISABLED,
88
- labelText: actions.defaultAction ? actions.defaultAction : defaultActionLabel,
89
- onClick: (...args) => {
90
- if (!disabledDefault)
91
- (0, import_ds_utilities.runAll)(onDefaultHandlerClick, onOpenFile)(...args);
92
- }
93
- });
94
- const altActionButton = /* @__PURE__ */ import_react.default.createElement(ActionButton, {
95
- variant: disabledAlt && import_ds_button.BUTTON_VARIANT.DISABLED,
96
- labelText: actions.altAction ? actions.altAction : altActionLabel,
97
- onClick: (...args) => {
98
- if (!disabledAlt)
99
- onAltHandlerClick(...args);
100
- }
101
- });
102
- const defaultAction = !defaultActionTooltipText ? delfaultActionButton : /* @__PURE__ */ import_react.default.createElement(import_ds_tooltip.default, {
103
- containerProps: { id: "default-action-tooltip" },
104
- interactionType: "hover",
105
- title: defaultActionTooltipText,
106
- triggerComponent: delfaultActionButton
107
- });
108
- const altAction = !altActionTooltipText ? altActionButton : /* @__PURE__ */ import_react.default.createElement(import_ds_tooltip.default, {
109
- containerProps: { id: "alt-action-tooltip" },
110
- interactionType: "hover",
111
- title: altActionTooltipText,
112
- triggerComponent: altActionButton
113
- });
114
- return /* @__PURE__ */ import_react.default.createElement(UploaderWrapper, {
115
- ...containerProps,
116
- classProps: { disabled: disabledAll }
117
- }, /* @__PURE__ */ import_react.default.createElement(Uploader, {
118
- ...rootProps,
119
- classProps: { isDragActive }
120
- }, /* @__PURE__ */ import_react.default.createElement(UploaderIconArea, null, /* @__PURE__ */ import_react.default.createElement(UploadFileIcon, {
121
- size: "l"
122
- })), /* @__PURE__ */ import_react.default.createElement(DividerVertical, null), /* @__PURE__ */ import_react.default.createElement(UploaderInfo, null, /* @__PURE__ */ import_react.default.createElement(InfoText, null, label), /* @__PURE__ */ import_react.default.createElement(UploaderActions, null, actions.defaultAction && defaultAction, (actions.altAction || showAltAction) && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, actions.defaultAction && /* @__PURE__ */ import_react.default.createElement(DividerVertical, null), altAction))), !disabledAll && /* @__PURE__ */ import_react.default.createElement(UploaderDragActive, null, /* @__PURE__ */ import_react.default.createElement(DragActiveIcon, null), dragActiveInstructionalText), !disabledAll && /* @__PURE__ */ import_react.default.createElement("input", {
123
- ...getInputProps()
124
- })), typeof acceptedTypesText === "string" && /* @__PURE__ */ import_react.default.createElement(AcceptedTypes, null, acceptedTypesText.toUpperCase()));
125
- };
126
- DSUploader.actions = {
127
- defaultAction: "LOCAL DRIVE",
128
- altAction: "DOCUMENTS"
129
- };
130
- DSUploader.propTypes = import_propTypes.propTypes;
131
- const UploaderWithSchema = (0, import_react_desc.describe)(DSUploader);
132
- UploaderWithSchema.propTypes = import_propTypes.propTypes;
133
- var DSUploader_default = DSUploader;
134
- module.exports = __toCommonJS(DSUploader_exports);
135
- //# sourceMappingURL=DSUploader.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/DSUploader.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable max-lines */\n/* eslint-disable complexity */\nimport React from 'react';\nimport { describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { runAll } from '@elliemae/ds-utilities';\nimport { UploadFile } from '@elliemae/ds-icons';\nimport DSButton, { BUTTON_VARIANT } from '@elliemae/ds-button';\nimport { useDropzone } from 'react-dropzone';\nimport DSTooltip from '@elliemae/ds-tooltip';\nimport { propTypes } from './propTypes';\nimport type { DSUploaderPropsT, ActionButtonPropsT } from './index.d';\n\nconst blockName = 'uploader';\nconst blockNameInfo = `${blockName}-info`;\nconst blockNameDragActive = `${blockName}-drag-active`;\nconst blockNameWrapper = `${blockName}-wrapper`;\n\nconst UploaderWrapper = aggregatedClasses('div')(blockNameWrapper, null, ({ disabled }) => ({ disabled }));\nconst Uploader = aggregatedClasses('div')(blockName, null, ({ isDragActive }) => ({ 'drag-active': isDragActive }));\nconst UploaderDragActive = aggregatedClasses('div')(blockNameDragActive);\nconst UploaderIconArea = aggregatedClasses('div')(`${blockName}-icon-wrapper`);\nconst UploaderInfo = aggregatedClasses('div')(blockNameInfo);\nconst InfoText = aggregatedClasses('span')(blockNameInfo, 'text');\nconst UploaderActions = aggregatedClasses('div')(blockNameInfo, 'actions');\nconst AcceptedTypes = aggregatedClasses('div')(blockNameWrapper, 'accepted-types');\n\nconst DividerVertical = aggregatedClasses('div')('divider', null, ({ vertical }) => ({ vertical }));\n\nfunction ActionButton({ labelText, ...otherProps }: ActionButtonPropsT): React.ReactElement {\n return <DSButton {...otherProps} buttonType=\"text\" labelText={labelText} />;\n}\n\nconst noop = () => null;\n\nconst DSUploader = ({\n containerProps = {},\n label = 'Browse', // todo: i18n\n icon: UploadFileIcon = UploadFile,\n defaultActionLabel = 'LOCAL DRIVE', // todo: i18n\n dragActiveInstructionalText = 'DROP FILES HERE',\n dragActiveIcon: DragActiveIcon = UploadFile,\n altActionLabel = 'DOCUMENTS', // todo: i18n\n acceptedTypesText = 'JPG, JPEG, PNG, PDF',\n disabledDefault = false,\n disabledAlt = false,\n onDefaultHandlerClick = noop,\n onAltHandlerClick = noop,\n actions = { defaultAction: 'LOCAL DRIVE', altAction: 'DOCUMENTS' },\n showAltAction = false,\n defaultActionTooltipText,\n altActionTooltipText,\n ...dropzoneProps\n}: DSUploaderPropsT): JSX.Element => {\n const { getRootProps, getInputProps, isDragActive } = useDropzone(dropzoneProps);\n const { onClick: onOpenFile, ...rootProps } = getRootProps();\n const disabledAll = disabledDefault && disabledAlt;\n\n const delfaultActionButton = (\n <ActionButton\n variant={disabledDefault && BUTTON_VARIANT.DISABLED}\n labelText={actions.defaultAction ? (actions.defaultAction as string) : defaultActionLabel}\n onClick={(...args) => {\n if (!disabledDefault) runAll(onDefaultHandlerClick, onOpenFile)(...args);\n }}\n />\n );\n\n const altActionButton = (\n <ActionButton\n variant={disabledAlt && BUTTON_VARIANT.DISABLED}\n labelText={actions.altAction ? (actions.altAction as string) : altActionLabel}\n onClick={(...args) => {\n if (!disabledAlt) onAltHandlerClick(...args);\n }}\n />\n );\n\n const defaultAction = !defaultActionTooltipText ? (\n delfaultActionButton\n ) : (\n <DSTooltip\n containerProps={{ id: 'default-action-tooltip' }}\n interactionType=\"hover\"\n title={defaultActionTooltipText}\n triggerComponent={delfaultActionButton}\n />\n );\n\n const altAction = !altActionTooltipText ? (\n altActionButton\n ) : (\n <DSTooltip\n containerProps={{ id: 'alt-action-tooltip' }}\n interactionType=\"hover\"\n title={altActionTooltipText}\n triggerComponent={altActionButton}\n />\n );\n\n return (\n <UploaderWrapper {...containerProps} classProps={{ disabled: disabledAll }}>\n <Uploader {...rootProps} classProps={{ isDragActive }}>\n <UploaderIconArea>\n <UploadFileIcon size=\"l\" />\n </UploaderIconArea>\n <DividerVertical />\n <UploaderInfo>\n <InfoText>{label}</InfoText>\n <UploaderActions>\n {actions.defaultAction && defaultAction}\n {(actions.altAction || showAltAction) && (\n <>\n {actions.defaultAction && <DividerVertical />}\n {altAction}\n </>\n )}\n </UploaderActions>\n </UploaderInfo>\n {!disabledAll && (\n <UploaderDragActive>\n <DragActiveIcon />\n {dragActiveInstructionalText}\n </UploaderDragActive>\n )}\n {!disabledAll && <input {...getInputProps()} />}\n </Uploader>\n {typeof acceptedTypesText === 'string' && <AcceptedTypes>{acceptedTypesText.toUpperCase()}</AcceptedTypes>}\n </UploaderWrapper>\n );\n};\n\nDSUploader.actions = {\n defaultAction: 'LOCAL DRIVE',\n altAction: 'DOCUMENTS',\n};\n\nDSUploader.propTypes = propTypes;\n\nconst UploaderWithSchema = describe(DSUploader);\nUploaderWithSchema.propTypes = propTypes;\n\nexport { UploaderWithSchema };\nexport default DSUploader;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": "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",
6
- "names": []
7
- }
@@ -1,27 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
- var __reExport = (target, module2, copyDefault, desc) => {
9
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
10
- for (let key of __getOwnPropNames(module2))
11
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
12
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
13
- }
14
- return target;
15
- };
16
- var __toESM = (module2, isNodeMode) => {
17
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
18
- };
19
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
20
- return (module2, temp) => {
21
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
22
- };
23
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
24
- var index_d_exports = {};
25
- var React = __toESM(require("react"));
26
- module.exports = __toCommonJS(index_d_exports);
27
- //# sourceMappingURL=index.d.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.d.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export interface DSUploaderPropsT {\n containerProps?: Record<string, unknown>;\n label?: string;\n icon?: React.FC<{ size: string }>;\n defaultActionLabel?: string;\n dragActiveInstructionalText?: string;\n dragActiveIcon?: React.FC;\n altActionLabel?: string;\n acceptedTypesText?: string;\n disabledDefault?: boolean;\n disabledAlt?: boolean;\n onDefaultHandlerClick?: () => void | null;\n onAltHandlerClick?: () => void | null;\n actions?: Record<string, unknown>;\n showAltAction?: boolean;\n defaultActionTooltipText: string;\n altActionTooltipText: string;\n}\n\nexport interface ActionButtonPropsT {\n labelText: string;\n variant: undefined | 'variant-disabled';\n onClick: () => void | null;\n}\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;ACAA,YAAuB;",
6
- "names": []
7
- }
package/dist/cjs/index.js DELETED
@@ -1,36 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
17
- }
18
- return target;
19
- };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
- var src_exports = {};
29
- __export(src_exports, {
30
- UploaderWithSchema: () => import_DSUploader.UploaderWithSchema,
31
- default: () => import_DSUploader.default
32
- });
33
- var React = __toESM(require("react"));
34
- var import_DSUploader = __toESM(require("./DSUploader"));
35
- module.exports = __toCommonJS(src_exports);
36
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export { default, UploaderWithSchema } from './DSUploader';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAA4C;",
6
- "names": []
7
- }
@@ -1,65 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
17
- }
18
- return target;
19
- };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
- var propTypes_exports = {};
29
- __export(propTypes_exports, {
30
- propTypes: () => propTypes
31
- });
32
- var React = __toESM(require("react"));
33
- var import_react_desc = require("react-desc");
34
- var import_ds_icons = require("@elliemae/ds-icons");
35
- const propTypes = {
36
- containerProps: import_react_desc.PropTypes.object.description("Set of Properties attached to the main container."),
37
- validator: import_react_desc.PropTypes.func.description("Custom validator. It must return null if it's valid or an object `{ code: string, message: string }` if it's not."),
38
- maxFiles: import_react_desc.PropTypes.number.description("Number of files accepted."),
39
- minSize: import_react_desc.PropTypes.number.description("Minimun file size accepted in bytes."),
40
- maxSize: import_react_desc.PropTypes.number.description("Maximum file size accepted in bytes."),
41
- onDropRejected: import_react_desc.PropTypes.func.description("Cb called when files are rejected using maxFiles, minSize or maxSize properties."),
42
- disabled: import_react_desc.PropTypes.bool.description("Disables the DSUploader."),
43
- multiple: import_react_desc.PropTypes.bool.description("Set to false to restrict multiple files selection/upload."),
44
- accept: import_react_desc.PropTypes.string.description("String containing the accepted MIME type for the DSUploader"),
45
- label: import_react_desc.PropTypes.string.description("Uploader label.").defaultValue("Browse"),
46
- icon: import_react_desc.PropTypes.element.description("Uploader left icon.").defaultValue(import_ds_icons.UploadFile),
47
- actions: import_react_desc.PropTypes.shape({
48
- defaultAction: import_react_desc.PropTypes.string,
49
- altAction: import_react_desc.PropTypes.string
50
- }).description("Uploader actions.").defaultValue({ defaultAction: "LOCAL DRIVE" }),
51
- defaultActionLabel: import_react_desc.PropTypes.string.description("First action button label."),
52
- showAltAction: import_react_desc.PropTypes.bool.description("whether to show alternate action button or not.").defaultValue(true),
53
- altActionLabel: import_react_desc.PropTypes.string.description("Second action button label.").defaultValue("LOCAL DRIVE"),
54
- dragActiveInstructionalText: import_react_desc.PropTypes.string.description("informative text when user drags a file over the uploader zone.").defaultValue("DROP FILES HERE"),
55
- dragActiveIcon: import_react_desc.PropTypes.string.description("Icon when user drags a file over the uploader zone."),
56
- acceptedTypesText: import_react_desc.PropTypes.string.description("Information text to show what types are supported.").defaultValue("JPG, JPEG, PNG, PDF"),
57
- disabledDefault: import_react_desc.PropTypes.bool.description("Whether the default uploader is disabled or not.").defaultValue(false),
58
- disabledAlt: import_react_desc.PropTypes.bool.description("Whether the alternative uploader is disabled or not.").defaultValue(false),
59
- onDefaultHandlerClick: import_react_desc.PropTypes.func.description("First action button click handler."),
60
- onAltHandlerClick: import_react_desc.PropTypes.func.description("Second action button click handler."),
61
- defaultActionTooltipText: import_react_desc.PropTypes.string.description("shows tooltip in default action button."),
62
- altActionTooltipText: import_react_desc.PropTypes.string.description("Shows tooltip in alternate action button.")
63
- };
64
- module.exports = __toCommonJS(propTypes_exports);
65
- //# sourceMappingURL=propTypes.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/propTypes.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { PropTypes } from 'react-desc';\nimport { UploadFile } from '@elliemae/ds-icons';\n/** Inherits the props of react-dropzone https://react-dropzone.netlify.com/ */\n\nexport const propTypes = {\n containerProps: PropTypes.object.description('Set of Properties attached to the main container.'),\n validator: PropTypes.func.description(\n \"Custom validator. It must return null if it's valid or an object `{ code: string, message: string }` if it's not.\",\n ),\n maxFiles: PropTypes.number.description('Number of files accepted.'),\n minSize: PropTypes.number.description('Minimun file size accepted in bytes.'),\n maxSize: PropTypes.number.description('Maximum file size accepted in bytes.'),\n onDropRejected: PropTypes.func.description(\n 'Cb called when files are rejected using maxFiles, minSize or maxSize properties.',\n ),\n disabled: PropTypes.bool.description('Disables the DSUploader.'),\n multiple: PropTypes.bool.description('Set to false to restrict multiple files selection/upload.'),\n accept: PropTypes.string.description('String containing the accepted MIME type for the DSUploader'),\n\n label: PropTypes.string.description('Uploader label.').defaultValue('Browse'),\n icon: PropTypes.element.description('Uploader left icon.').defaultValue(UploadFile),\n actions: PropTypes.shape({\n defaultAction: PropTypes.string,\n altAction: PropTypes.string,\n })\n .description('Uploader actions.')\n .defaultValue({ defaultAction: 'LOCAL DRIVE' }),\n defaultActionLabel: PropTypes.string.description('First action button label.'),\n showAltAction: PropTypes.bool.description('whether to show alternate action button or not.').defaultValue(true),\n altActionLabel: PropTypes.string.description('Second action button label.').defaultValue('LOCAL DRIVE'),\n dragActiveInstructionalText: PropTypes.string\n .description('informative text when user drags a file over the uploader zone.')\n .defaultValue('DROP FILES HERE'),\n dragActiveIcon: PropTypes.string.description('Icon when user drags a file over the uploader zone.'),\n acceptedTypesText: PropTypes.string\n .description('Information text to show what types are supported.')\n .defaultValue('JPG, JPEG, PNG, PDF'),\n disabledDefault: PropTypes.bool.description('Whether the default uploader is disabled or not.').defaultValue(false),\n disabledAlt: PropTypes.bool.description('Whether the alternative uploader is disabled or not.').defaultValue(false),\n onDefaultHandlerClick: PropTypes.func.description('First action button click handler.'),\n onAltHandlerClick: PropTypes.func.description('Second action button click handler.'),\n defaultActionTooltipText: PropTypes.string.description('shows tooltip in default action button.'),\n altActionTooltipText: PropTypes.string.description('Shows tooltip in alternate action button.'),\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAA0B;AAC1B,sBAA2B;AAGpB,MAAM,YAAY;AAAA,EACvB,gBAAgB,4BAAU,OAAO,YAAY;AAAA,EAC7C,WAAW,4BAAU,KAAK,YACxB;AAAA,EAEF,UAAU,4BAAU,OAAO,YAAY;AAAA,EACvC,SAAS,4BAAU,OAAO,YAAY;AAAA,EACtC,SAAS,4BAAU,OAAO,YAAY;AAAA,EACtC,gBAAgB,4BAAU,KAAK,YAC7B;AAAA,EAEF,UAAU,4BAAU,KAAK,YAAY;AAAA,EACrC,UAAU,4BAAU,KAAK,YAAY;AAAA,EACrC,QAAQ,4BAAU,OAAO,YAAY;AAAA,EAErC,OAAO,4BAAU,OAAO,YAAY,mBAAmB,aAAa;AAAA,EACpE,MAAM,4BAAU,QAAQ,YAAY,uBAAuB,aAAa;AAAA,EACxE,SAAS,4BAAU,MAAM;AAAA,IACvB,eAAe,4BAAU;AAAA,IACzB,WAAW,4BAAU;AAAA,KAEpB,YAAY,qBACZ,aAAa,EAAE,eAAe;AAAA,EACjC,oBAAoB,4BAAU,OAAO,YAAY;AAAA,EACjD,eAAe,4BAAU,KAAK,YAAY,mDAAmD,aAAa;AAAA,EAC1G,gBAAgB,4BAAU,OAAO,YAAY,+BAA+B,aAAa;AAAA,EACzF,6BAA6B,4BAAU,OACpC,YAAY,mEACZ,aAAa;AAAA,EAChB,gBAAgB,4BAAU,OAAO,YAAY;AAAA,EAC7C,mBAAmB,4BAAU,OAC1B,YAAY,sDACZ,aAAa;AAAA,EAChB,iBAAiB,4BAAU,KAAK,YAAY,oDAAoD,aAAa;AAAA,EAC7G,aAAa,4BAAU,KAAK,YAAY,wDAAwD,aAAa;AAAA,EAC7G,uBAAuB,4BAAU,KAAK,YAAY;AAAA,EAClD,mBAAmB,4BAAU,KAAK,YAAY;AAAA,EAC9C,0BAA0B,4BAAU,OAAO,YAAY;AAAA,EACvD,sBAAsB,4BAAU,OAAO,YAAY;AAAA;",
6
- "names": []
7
- }