@aquera/nile-elements 0.0.1-beta.8 → 0.0.1-beta.9

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
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.0.1-beta.8",
6
+ "version": "0.0.1-beta.9",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -114,13 +114,13 @@ export class NileOption extends NileElement {
114
114
  this.value = String(this.value);
115
115
  }
116
116
 
117
- if (this.value.includes(' ')) {
118
- console.error(
119
- `Option values cannot include a space. All spaces have been replaced with underscores.`,
120
- this
121
- );
122
- this.value = this.value.replace(/ /g, '_');
123
- }
117
+ // if (this.value.includes(' ')) {
118
+ // console.error(
119
+ // `Option values cannot include a space. All spaces have been replaced with underscores.`,
120
+ // this
121
+ // );
122
+ // this.value = this.value.replace(/ /g, '_');
123
+ // }
124
124
  }
125
125
 
126
126
  /** Returns a plain text label based on the option's content. */