quicksnack 3.25.0 → 3.25.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.
|
@@ -34,7 +34,7 @@ exports.Details = void 0;
|
|
|
34
34
|
var react_1 = __importDefault(require("react"));
|
|
35
35
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
36
36
|
var Table_1 = require("../Table/Table");
|
|
37
|
-
var StyledCell = (0, styled_components_1.default)(Table_1.Table.Cell)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (props) { return props.firstRow && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject([" border-top: 0px !important;"], [" border-top: 0px !important;"]))); }, function (props) { return props.width && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject([" width: ", ";"], [" width: ", ";"])), props.width); });
|
|
37
|
+
var StyledCell = (0, styled_components_1.default)(Table_1.Table.Cell)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n vertical-align: top;\n"], ["\n ", "\n ", "\n vertical-align: top;\n"])), function (props) { return props.firstRow && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject([" border-top: 0px !important;"], [" border-top: 0px !important;"]))); }, function (props) { return props.width && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject([" width: ", ";"], [" width: ", ";"])), props.width); });
|
|
38
38
|
var Details = function (_a) {
|
|
39
39
|
var details = _a.details, firstColumnWidth = _a.firstColumnWidth;
|
|
40
40
|
return (react_1.default.createElement(Table_1.Table, null,
|
|
@@ -95,7 +95,7 @@ var Dropzone = function (_a) {
|
|
|
95
95
|
return (react_1.default.createElement(StyledDropZone, __assign({ ref: dropzone, onDragOver: handleDragOver, onDragLeave: handleDragLeave, onDrop: handleDrop, onClick: handleClick, isReadyToDrop: isReadyToDrop }, rest),
|
|
96
96
|
react_1.default.createElement(HiddenInput, { "data-testid": "dropzone-file-input", type: "file", ref: fileInput, onChange: handleInputChange, multiple: true }),
|
|
97
97
|
react_1.default.createElement(Box_1.Box, null,
|
|
98
|
-
react_1.default.createElement(Button_1.Button, { variant: "text", color: "secondary", icon: icon }, label))));
|
|
98
|
+
react_1.default.createElement(Button_1.Button, { variant: "text", color: "secondary", type: "button", icon: icon }, label))));
|
|
99
99
|
};
|
|
100
100
|
exports.Dropzone = Dropzone;
|
|
101
101
|
var templateObject_1, templateObject_2, templateObject_3;
|