@brightspace-ui/core 3.120.0 → 3.121.0
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.
@@ -192,7 +192,13 @@ class DemoSnippet extends LitElement {
|
|
192
192
|
text = text.replace(/^[\t]*<template>[\n]*/, '').replace(/[\n]*[\t]*<\/template>$/, '');
|
193
193
|
|
194
194
|
// fix script whitespace (for some reason brower keeps <script> indent but not the rest)
|
195
|
-
let lines = text
|
195
|
+
let lines = text
|
196
|
+
.replace(/\t/g, ' ')
|
197
|
+
.replace(/<\/script>/g, '\n</script>')
|
198
|
+
.replace(/<script>/g, '<script>\n')
|
199
|
+
.replace(/<script type="module">/g, '<script type="module">\n')
|
200
|
+
.replace(/<script data-demo-hide(.+?)<\/script>/gis, '')
|
201
|
+
.split('\n');
|
196
202
|
let scriptIndent = 0;
|
197
203
|
lines = lines.map((l) => {
|
198
204
|
if (l.indexOf('<script') > -1) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.121.0",
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
5
5
|
"type": "module",
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|