oolib 2.168.0 → 2.168.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.
|
@@ -69,7 +69,7 @@ var GalleryThumbnails = function (_a) {
|
|
|
69
69
|
var imageThumbnailsData = __spreadArray(__spreadArray([], ((0, makeArrayFromLength_1.makeArrayFromLength)(noOfImagesUploading).map(function (d) { return undefined; })), true), (value || []), true);
|
|
70
70
|
return (react_1.default.createElement("div", { ref: totThumbsSpaceRef, style: { display: 'flex', gap: '1rem' } },
|
|
71
71
|
!readOnly && (react_1.default.createElement(styled_1.StyledAddMoreThumbnail, { ref: addMoreThumbnailRef, disabled: isLoading, noBorder: true, invert: invert },
|
|
72
|
-
react_1.default.createElement(FileUploadShell_1.FileUploadShell, { disabled: isLoading, multiple: true, handleUpload: handleUpload, onChange: onChange, value: value, id: id },
|
|
72
|
+
react_1.default.createElement(FileUploadShell_1.FileUploadShell, { disabled: isLoading, multiple: true, mediaType: 'image', handleUpload: handleUpload, onChange: onChange, value: value, id: id },
|
|
73
73
|
react_1.default.createElement("div", { style: {
|
|
74
74
|
display: "grid",
|
|
75
75
|
placeItems: "center",
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* - Should run a function that converts rich text to plain text and sends that out in onChange. (like how we do for TitleInput)
|
|
5
5
|
* - for backwards compatibility, in the initValueSetting function, we should convert all plain text values to lexical shape & all draftjs shaped values also to lexical shape
|
|
6
6
|
* - memoization of cell comps maybe? there is some commented code for the same below..
|
|
7
|
+
* - KNOWN ISSUE: when the number input block is used, the component is lagging like mad. might have something to
|
|
8
|
+
* do with the memoization issue
|
|
7
9
|
*/
|
|
8
10
|
export function SimpleTable({ id, readOnly, config, value: _value, onChange, defaultColWidth, }: {
|
|
9
11
|
id: any;
|
|
@@ -75,6 +75,8 @@ var greyColor100 = themes_1.colors.greyColor100;
|
|
|
75
75
|
* - Should run a function that converts rich text to plain text and sends that out in onChange. (like how we do for TitleInput)
|
|
76
76
|
* - for backwards compatibility, in the initValueSetting function, we should convert all plain text values to lexical shape & all draftjs shaped values also to lexical shape
|
|
77
77
|
* - memoization of cell comps maybe? there is some commented code for the same below..
|
|
78
|
+
* - KNOWN ISSUE: when the number input block is used, the component is lagging like mad. might have something to
|
|
79
|
+
* do with the memoization issue
|
|
78
80
|
*/
|
|
79
81
|
function SimpleTable(_a) {
|
|
80
82
|
var id = _a.id, readOnly = _a.readOnly, _b = _a.config, config = _b === void 0 ? {
|