labellife-design-tool 2.1.9 → 2.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/dist/cjs/index.js CHANGED
@@ -8870,7 +8870,7 @@ var Toolbar = mobxReactLite.observer(function (_ref11) {
8870
8870
  children: [/*#__PURE__*/jsxRuntime.jsxs(material.Box, {
8871
8871
  sx: _objectSpread2(_objectSpread2({}, rowSx), {}, {
8872
8872
  minHeight: 52,
8873
- borderBottom: element ? '1px solid #f0f0f0' : 'none'
8873
+ borderBottom: '1px solid #f0f0f0'
8874
8874
  }),
8875
8875
  children: [/*#__PURE__*/jsxRuntime.jsx(material.Tooltip, {
8876
8876
  title: t('toolbar.undo', 'Undo'),
@@ -8983,12 +8983,13 @@ var Toolbar = mobxReactLite.observer(function (_ref11) {
8983
8983
  }), DownloadButton && /*#__PURE__*/jsxRuntime.jsx(DownloadButton, {
8984
8984
  store: store
8985
8985
  })]
8986
- }), element && /*#__PURE__*/jsxRuntime.jsx(material.Box, {
8986
+ }), /*#__PURE__*/jsxRuntime.jsx(material.Box, {
8987
8987
  sx: _objectSpread2(_objectSpread2({}, rowSx), {}, {
8988
8988
  minHeight: 44,
8989
- backgroundColor: '#fafafa'
8989
+ backgroundColor: '#fafafa',
8990
+ visibility: element ? 'visible' : 'hidden'
8990
8991
  }),
8991
- children: /*#__PURE__*/jsxRuntime.jsx(CommonControls, {
8992
+ children: element && /*#__PURE__*/jsxRuntime.jsx(CommonControls, {
8992
8993
  element: element,
8993
8994
  store: store
8994
8995
  })