@onesy/ui-react 1.0.189 → 1.0.190
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/Surface/Surface.js +1 -1
- package/esm/Surface/Surface.js +1 -1
- package/esm/index.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/Surface/Surface.js
CHANGED
|
@@ -829,7 +829,7 @@ const Surface = props_ => {
|
|
|
829
829
|
}
|
|
830
830
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, _objectSpread(_objectSpread(_objectSpread({}, AdditionalProps), {}, {
|
|
831
831
|
className: (0, _styleReact.classNames)([(0, _utils2.staticClassName)("Surface", theme) && ["onesy-Surface-root"], AdditionalProps === null || AdditionalProps === void 0 ? void 0 : AdditionalProps.className, className, classes.root, classes[`version_${version}`], classes[`version_${version}_color_${color}`], classes[`elevation_${elevation}`], tonal && classes[`version_${version}_tonal_${(0, _utils.is)("string", tonal) ? `${tonal}_` : ""}color_${color}`], noBackground && classes.noBackground, noOutline && classes.noOutline]),
|
|
832
|
-
style: _objectSpread(_objectSpread({},
|
|
832
|
+
style: _objectSpread(_objectSpread({}, styles.root), style)
|
|
833
833
|
}, other), {}, {
|
|
834
834
|
children: children && _react.default.Children.toArray(children).filter(Boolean).map(_temp)
|
|
835
835
|
}));
|
package/esm/Surface/Surface.js
CHANGED
|
@@ -821,7 +821,7 @@ const Surface = props_ => {
|
|
|
821
821
|
}
|
|
822
822
|
return /*#__PURE__*/_jsx(Component, _objectSpread(_objectSpread(_objectSpread({}, AdditionalProps), {}, {
|
|
823
823
|
className: classNames([staticClassName("Surface", theme) && ["onesy-Surface-root"], AdditionalProps?.className, className, classes.root, classes[`version_${version}`], classes[`version_${version}_color_${color}`], classes[`elevation_${elevation}`], tonal && classes[`version_${version}_tonal_${is("string", tonal) ? `${tonal}_` : ""}color_${color}`], noBackground && classes.noBackground, noOutline && classes.noOutline]),
|
|
824
|
-
style: _objectSpread(_objectSpread({},
|
|
824
|
+
style: _objectSpread(_objectSpread({}, styles.root), style)
|
|
825
825
|
}, other), {}, {
|
|
826
826
|
children: children && React.Children.toArray(children).filter(Boolean).map(_temp)
|
|
827
827
|
}));
|
package/esm/index.js
CHANGED
package/index.js
CHANGED