@stencil/angular-output-target 0.0.1-dev.11725543716.1fa90560 → 0.0.1-dev.11727393647.1ae5e0bd
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/dist/generate-angular-component.js +2 -2
- package/dist/index.cjs.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
|
@@ -149,8 +149,8 @@ export const createComponentTypeDefinition = (outputType, tagNameAsPascal, event
|
|
|
149
149
|
const eventTypes = publicEvents.map((event) => {
|
|
150
150
|
const comment = createDocComment(event.docs);
|
|
151
151
|
let eventName = event.name;
|
|
152
|
-
if (event.name
|
|
153
|
-
// If an event name includes a dash, we need to wrap it in quotes.
|
|
152
|
+
if (/[-/]/.test(event.name)) {
|
|
153
|
+
// If an event name includes a dash or a forward slash, we need to wrap it in quotes.
|
|
154
154
|
// https://github.com/ionic-team/stencil-ds-output-targets/issues/212
|
|
155
155
|
eventName = `'${event.name}'`;
|
|
156
156
|
}
|
package/dist/index.cjs.js
CHANGED
|
@@ -294,8 +294,8 @@ const createComponentTypeDefinition = (outputType, tagNameAsPascal, events, comp
|
|
|
294
294
|
const eventTypes = publicEvents.map((event) => {
|
|
295
295
|
const comment = createDocComment(event.docs);
|
|
296
296
|
let eventName = event.name;
|
|
297
|
-
if (event.name
|
|
298
|
-
// If an event name includes a dash, we need to wrap it in quotes.
|
|
297
|
+
if (/[-/]/.test(event.name)) {
|
|
298
|
+
// If an event name includes a dash or a forward slash, we need to wrap it in quotes.
|
|
299
299
|
// https://github.com/ionic-team/stencil-ds-output-targets/issues/212
|
|
300
300
|
eventName = `'${event.name}'`;
|
|
301
301
|
}
|
package/dist/index.js
CHANGED
|
@@ -286,8 +286,8 @@ const createComponentTypeDefinition = (outputType, tagNameAsPascal, events, comp
|
|
|
286
286
|
const eventTypes = publicEvents.map((event) => {
|
|
287
287
|
const comment = createDocComment(event.docs);
|
|
288
288
|
let eventName = event.name;
|
|
289
|
-
if (event.name
|
|
290
|
-
// If an event name includes a dash, we need to wrap it in quotes.
|
|
289
|
+
if (/[-/]/.test(event.name)) {
|
|
290
|
+
// If an event name includes a dash or a forward slash, we need to wrap it in quotes.
|
|
291
291
|
// https://github.com/ionic-team/stencil-ds-output-targets/issues/212
|
|
292
292
|
eventName = `'${event.name}'`;
|
|
293
293
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/angular-output-target",
|
|
3
|
-
"version": "0.0.1-dev.
|
|
3
|
+
"version": "0.0.1-dev.11727393647.1ae5e0bd",
|
|
4
4
|
"description": "Angular output target for @stencil/core components.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
],
|
|
65
65
|
"testURL": "http://localhost"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "ae5e0bd181da0ed53cde60a7ee5190a62f4b5f6b"
|
|
68
68
|
}
|