@bigbinary/neeto-themes-frontend 4.1.3 → 4.2.0
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/README.md +3 -0
- package/dist/.ready +1 -1
- package/dist/NeetoThemesBuilder.js +3 -4
- package/dist/NeetoThemesBuilder.js.map +1 -1
- package/dist/cjs/NeetoThemesBuilder.js +3 -4
- package/dist/cjs/NeetoThemesBuilder.js.map +1 -1
- package/dist/cjs/v2/NeetoThemesBuilder.js +3 -4
- package/dist/cjs/v2/NeetoThemesBuilder.js.map +1 -1
- package/dist/v2/NeetoThemesBuilder.js +3 -4
- package/dist/v2/NeetoThemesBuilder.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -117,6 +117,9 @@ and `neeto-themes-engine` Rails engine.
|
|
|
117
117
|
ImageUploader component. Should be an object with `width` and `height`
|
|
118
118
|
properties.
|
|
119
119
|
|
|
120
|
+
- `max_image_size_in_mb`: Maximum size of the uploaded image in MB for an
|
|
121
|
+
`image` kind property. Accepts decimals, eg: `0.1`. Defaults to `1`.
|
|
122
|
+
|
|
120
123
|
3. **Provide a css variable prefix**
|
|
121
124
|
|
|
122
125
|
This value will be used to prefix all CSS variables. Eg:
|
package/dist/.ready
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Built at 2026-10-
|
|
1
|
+
Built at 2026-10-31T12:34:56.878Z
|
|
@@ -1222,10 +1222,6 @@ var ImageBlock = function ImageBlock(_ref) {
|
|
|
1222
1222
|
name = _ref.name,
|
|
1223
1223
|
_ref$imageData = _ref.imageData,
|
|
1224
1224
|
imageData = _ref$imageData === void 0 ? {} : _ref$imageData,
|
|
1225
|
-
_ref$uploadConfig = _ref.uploadConfig,
|
|
1226
|
-
uploadConfig = _ref$uploadConfig === void 0 ? {
|
|
1227
|
-
maxImageSize: ONE_MEGABYTE
|
|
1228
|
-
} : _ref$uploadConfig,
|
|
1229
1225
|
attribute = _ref.attribute,
|
|
1230
1226
|
defaultImageSize = _ref.defaultImageSize,
|
|
1231
1227
|
useDefaultImageSize = _ref.useDefaultImageSize,
|
|
@@ -1246,6 +1242,9 @@ var ImageBlock = function ImageBlock(_ref) {
|
|
|
1246
1242
|
}, themePropertiesSchema);
|
|
1247
1243
|
var enablePositionChanger = (propertySchema === null || propertySchema === void 0 ? void 0 : propertySchema.enablePositionChanger) || false;
|
|
1248
1244
|
var options = propertySchema === null || propertySchema === void 0 ? void 0 : propertySchema.options;
|
|
1245
|
+
var uploadConfig = {
|
|
1246
|
+
maxImageSize: (propertySchema === null || propertySchema === void 0 ? void 0 : propertySchema.maxImageSizeInMb) || ONE_MEGABYTE
|
|
1247
|
+
};
|
|
1249
1248
|
var positionKeyInSchema = findBy({
|
|
1250
1249
|
key: "".concat(name, "_position")
|
|
1251
1250
|
}, themePropertiesSchema);
|