material 1.0.0 → 1.0.1

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": "material",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A lightweight implementation of Material Design Components for the web - ES6",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -7,12 +7,13 @@ export default {
7
7
  options = options || {}
8
8
 
9
9
  // console.log('mode', this.mode)
10
+ const modeConfig = this.options[this.mode] || {}
10
11
  const method = options.method ||
11
- this.options[this.mode].method ||
12
+ modeConfig.method ||
12
13
  'PUT'
13
14
 
14
15
  const action = options.action ||
15
- this.options[this.mode].action ||
16
+ modeConfig.action ||
16
17
  this.options.action
17
18
 
18
19
  if (this.beforeCreate) {
@@ -7,7 +7,7 @@
7
7
  white-space: no-wrap;
8
8
  overflow: hidden;
9
9
  -webkit-touch-callout: none;
10
- -webkit-user-select: none;
10
+
11
11
  >.indicator {
12
12
  position: absolute;
13
13
  height: 2px;