@onesy/ui-react 1.0.41 → 1.0.42
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/Medias/Medias.js +4 -1
- package/esm/Medias/Medias.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +1 -1
package/Medias/Medias.js
CHANGED
@@ -259,7 +259,10 @@ const Medias = react_1.default.forwardRef((props_, ref) => {
|
|
259
259
|
return ((0, jsx_runtime_1.jsx)(Link, Object.assign({}, otherProps, { href: item === null || item === void 0 ? void 0 : item.urlEmbed, target: 'blank' }, { children: item.name || item.urlEmbed })));
|
260
260
|
}
|
261
261
|
// custom embed code
|
262
|
-
return ((0, jsx_runtime_1.jsx)(Line, Object.assign({}, otherProps, { className:
|
262
|
+
return ((0, jsx_runtime_1.jsx)(Line, Object.assign({}, otherProps, { className: (0, style_react_1.classNames)([
|
263
|
+
otherProps === null || otherProps === void 0 ? void 0 : otherProps.className,
|
264
|
+
classes.customEmbed
|
265
|
+
]), fullWidth: true, dangerouslySetInnerHTML: {
|
263
266
|
__html: urlEmbed
|
264
267
|
} })));
|
265
268
|
}, [EmbedProps]);
|
package/esm/Medias/Medias.js
CHANGED
@@ -272,7 +272,7 @@ const Medias = /*#__PURE__*/React.forwardRef((props_, ref) => {
|
|
272
272
|
|
273
273
|
// custom embed code
|
274
274
|
return /*#__PURE__*/React.createElement(Line, _extends({}, otherProps, {
|
275
|
-
className: classes.customEmbed,
|
275
|
+
className: classNames([otherProps?.className, classes.customEmbed]),
|
276
276
|
fullWidth: true,
|
277
277
|
dangerouslySetInnerHTML: {
|
278
278
|
__html: urlEmbed
|
package/esm/index.js
CHANGED