@nethru/ui 2.1.51 → 2.1.52

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/base/Snackbar.js CHANGED
@@ -9,6 +9,7 @@ const Snackbar = /*#__PURE__*/forwardRef(({
9
9
  subcontent,
10
10
  slideDirection = 'down',
11
11
  children,
12
+ alertProps,
12
13
  ...props
13
14
  }, ref) => {
14
15
  const Transition = useCallback(props => {
@@ -26,6 +27,7 @@ const Snackbar = /*#__PURE__*/forwardRef(({
26
27
  severity: severity,
27
28
  icon: icon,
28
29
  subcontent: subcontent,
30
+ ...alertProps,
29
31
  children: children
30
32
  })
31
33
  });
@@ -222,7 +222,8 @@ function makeEslinter(format, eslintRules, onEslintUpdate, customVariables, read
222
222
  let hints = [];
223
223
  const config = {
224
224
  env: {
225
- es6: true
225
+ es6: true,
226
+ browser: true
226
227
  },
227
228
  parserOptions: {
228
229
  ecmaVersion: 6
@@ -231,6 +232,7 @@ function makeEslinter(format, eslintRules, onEslintUpdate, customVariables, read
231
232
  "semi": ["error", "always"],
232
233
  "func-names": "off",
233
234
  "no-unused-expressions": "off",
235
+ "no-undef": "error",
234
236
  ...eslintRules
235
237
  }
236
238
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nethru/ui",
3
- "version": "2.1.51",
3
+ "version": "2.1.52",
4
4
  "main": "base/index.js",
5
5
  "files": [
6
6
  "/base"