@brushes/component-core 1.0.8 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brushes/component-core",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "main": "src/index.ts",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -100,7 +100,6 @@ export const IsShowContainer = ({
100
100
  return isRevert ? !condition : condition;
101
101
  }, [routerIsShow, routerIsShowValue, isRevert, store, storeKey, moduleShowValue, moduleIsShow, nValue, rootKey, rootStore, rnValue]);
102
102
 
103
- console.log('103===>', store, !isEmpty(store), storeKey && !moduleShowValue && !moduleIsShow && !isUndefined(store) && !isEmpty(store));
104
103
  if (conditionType || enabled) {
105
104
  return (
106
105
  <div
@@ -156,7 +155,7 @@ export const Container = ({ width, text, children, background, margin = {}, posi
156
155
  ...props,
157
156
  ...positionNewValue,
158
157
  background: backgroundImage ? `url(${fullpath(backgroundImage)}) repeat-x center 0` : background,
159
- width: (width + '').includes('%') ? width : `${width}px`
158
+ width
160
159
  }}
161
160
  >
162
161
  <Inner text={text} enabled={enabled}>