@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/.rollup.cache/Users/ravisankar/aquera/nile/packages/nile-elements/dist/src/nile-option/nile-option.js +7 -4
- package/.rollup.cache/Users/ravisankar/aquera/nile/packages/nile-elements/dist/src/nile-option/nile-option.js.map +1 -1
- package/.rollup.cache/Users/ravisankar/aquera/nile/packages/nile-elements/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/nile-option/nile-option.cjs.js +1 -1
- package/dist/nile-option/nile-option.cjs.js.map +1 -1
- package/dist/nile-option/nile-option.esm.js +1 -1
- package/dist/src/nile-option/nile-option.js +7 -4
- package/dist/src/nile-option/nile-option.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-option/nile-option.ts +7 -7
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.
|
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
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
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. */
|