mirror of
https://github.com/modernweb-dev/rocket.git
synced 2026-03-21 15:54:57 +00:00
Compare commits
16 Commits
@rocket/cl
...
@rocket/cl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a5fc08f35 | ||
|
|
43a7ca10c3 | ||
|
|
da39fa72f3 | ||
|
|
a0e8edfbb9 | ||
|
|
50434293bb | ||
|
|
f08f92615b | ||
|
|
1949b1e1cb | ||
|
|
340bf8e653 | ||
|
|
eae200708d | ||
|
|
f707f636fa | ||
|
|
814b5d29ad | ||
|
|
e1e96acceb | ||
|
|
7543a129cf | ||
|
|
60e85a17a7 | ||
|
|
fd8f97859a | ||
|
|
56fdb0cbd4 |
@@ -1,5 +1,11 @@
|
|||||||
# Markdown JavaScript >> Overview || 10
|
# Markdown JavaScript >> Overview || 10
|
||||||
|
|
||||||
|
```js script
|
||||||
|
import '@mdjs/mdjs-story/define';
|
||||||
|
import '@mdjs/mdjs-preview/define';
|
||||||
|
import { html } from '@mdjs/mdjs-story';
|
||||||
|
```
|
||||||
|
|
||||||
Markdown JavaScript (mdjs) is a format that allows you to use JavaScript with Markdown, to create interactive demos. It does so by "annotating" JavaScript that should be executed in Markdown.
|
Markdown JavaScript (mdjs) is a format that allows you to use JavaScript with Markdown, to create interactive demos. It does so by "annotating" JavaScript that should be executed in Markdown.
|
||||||
|
|
||||||
To annotate we use a code block with `js script`.
|
To annotate we use a code block with `js script`.
|
||||||
@@ -63,13 +69,6 @@ import '@mdjs/mdjs-preview/define';
|
|||||||
|
|
||||||
Once loaded you can use them like so:
|
Once loaded you can use them like so:
|
||||||
|
|
||||||
````md
|
|
||||||
```js script
|
|
||||||
import '@mdjs/mdjs-story/define';
|
|
||||||
import '@mdjs/mdjs-preview/define';
|
|
||||||
```
|
|
||||||
````
|
|
||||||
|
|
||||||
### Story
|
### Story
|
||||||
|
|
||||||
The code snippet will actually get executed at that place and you will have a live demo
|
The code snippet will actually get executed at that place and you will have a live demo
|
||||||
@@ -117,12 +116,6 @@ export const JsPreviewStory = () => html` <demo-wc-card>JS Preview Story</demo-w
|
|||||||
|
|
||||||
Here is a live example from [demo-wc-card](https://www.npmjs.com/package/demo-wc-card).
|
Here is a live example from [demo-wc-card](https://www.npmjs.com/package/demo-wc-card).
|
||||||
|
|
||||||
```js script
|
|
||||||
import '@mdjs/mdjs-story/define';
|
|
||||||
import '@mdjs/mdjs-preview/define';
|
|
||||||
import { html } from 'lit-html';
|
|
||||||
```
|
|
||||||
|
|
||||||
```js preview-story
|
```js preview-story
|
||||||
import 'demo-wc-card/demo-wc-card.js';
|
import 'demo-wc-card/demo-wc-card.js';
|
||||||
export const header = () => {
|
export const header = () => {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ You can showcase live running code by annotating a code block with `js preview-s
|
|||||||
- Settings can be remembered for other pages / return visits
|
- Settings can be remembered for other pages / return visits
|
||||||
|
|
||||||
```js script
|
```js script
|
||||||
import { html } from 'lit-html';
|
import { html } from '@mdjs/mdjs-preview';
|
||||||
import './assets/demo-element.js';
|
import './assets/demo-element.js';
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ import './assets/demo-element.js';
|
|||||||
|
|
||||||
````md
|
````md
|
||||||
```js script
|
```js script
|
||||||
import { html } from 'lit-html';
|
import { html } from '@mdjs/mdjs-preview';
|
||||||
import './assets/demo-element.js';
|
import './assets/demo-element.js';
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
You can showcase live running code by annotating a code block with `js story`.
|
You can showcase live running code by annotating a code block with `js story`.
|
||||||
|
|
||||||
```js script
|
```js script
|
||||||
import { html } from 'lit-html';
|
import { html } from '@mdjs/mdjs-story';
|
||||||
```
|
```
|
||||||
|
|
||||||
````md
|
````md
|
||||||
```js script
|
```js script
|
||||||
import { html } from 'lit-html';
|
import { html } from '@mdjs/mdjs-story';
|
||||||
```
|
```
|
||||||
|
|
||||||
```js story
|
```js story
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@changesets/cli": "^2.12.0",
|
"@changesets/cli": "^2.12.0",
|
||||||
"@open-wc/testing": "^2.5.32",
|
"@open-wc/testing": "^3.0.0-next.1",
|
||||||
"@rollup/plugin-commonjs": "^17.0.0",
|
"@rollup/plugin-commonjs": "^17.0.0",
|
||||||
"@rollup/plugin-json": "^4.1.0",
|
"@rollup/plugin-json": "^4.1.0",
|
||||||
"@rollup/plugin-typescript": "^8.1.0",
|
"@rollup/plugin-typescript": "^8.1.0",
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"sinon": "^9.2.3",
|
"sinon": "^9.2.3",
|
||||||
"ts-node": "^9.1.1",
|
"ts-node": "^9.1.1",
|
||||||
"typescript": "^4.1.3"
|
"typescript": "^4.3.2"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
|
|||||||
@@ -38,6 +38,6 @@
|
|||||||
"testing"
|
"testing"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"plugins-manager": "^0.2.1"
|
"plugins-manager": "^0.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @rocket/building-rollup
|
# @rocket/building-rollup
|
||||||
|
|
||||||
|
## 0.3.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 60e85a1: Support `picture` tags by handling `source` tags with `srcset` attributes in the rollup asset gathering build phase.
|
||||||
|
|
||||||
## 0.3.0
|
## 0.3.0
|
||||||
|
|
||||||
### Minor Changes
|
### Minor Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rocket/building-rollup",
|
"name": "@rocket/building-rollup",
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
"@rollup/plugin-babel": "^5.2.2",
|
"@rollup/plugin-babel": "^5.2.2",
|
||||||
"@rollup/plugin-node-resolve": "^11.0.1",
|
"@rollup/plugin-node-resolve": "^11.0.1",
|
||||||
"@rollup/plugin-replace": "^2.4.2",
|
"@rollup/plugin-replace": "^2.4.2",
|
||||||
"@web/rollup-plugin-html": "^1.6.0",
|
"@web/rollup-plugin-html": "^1.8.0",
|
||||||
"@web/rollup-plugin-import-meta-assets": "^1.0.4",
|
"@web/rollup-plugin-import-meta-assets": "^1.0.4",
|
||||||
"@web/rollup-plugin-polyfills-loader": "^1.1.0",
|
"@web/rollup-plugin-polyfills-loader": "^1.1.0",
|
||||||
"browserslist": "^4.16.1",
|
"browserslist": "^4.16.1",
|
||||||
|
|||||||
@@ -1,5 +1,31 @@
|
|||||||
# check-html-links
|
# check-html-links
|
||||||
|
|
||||||
|
## 0.2.3
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 5043429: Ignore `<a href="tel:9999">` links
|
||||||
|
- f08f926: Add missing `slash` dependency
|
||||||
|
- a0e8edf: Ignore links containing not http schema urls like `sketch://`, `vscode://`, ...
|
||||||
|
|
||||||
|
```html
|
||||||
|
<a href="sketch://add-library?url=https%3A%2F%2Fmyexample.com%2Fdesign%2Fui-kit.xml"></a>
|
||||||
|
<a href="vscode://file/c:/myProject/package.json:5:10"></a>
|
||||||
|
```
|
||||||
|
|
||||||
|
- 1949b1e: Ignore plain and html encoded mailto links
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!-- source -->
|
||||||
|
<a href="mailto:address@example.com">contact</a>
|
||||||
|
|
||||||
|
<!-- html encoded -->
|
||||||
|
<a
|
||||||
|
href="mailto:address@example.com"
|
||||||
|
>contact</a
|
||||||
|
>
|
||||||
|
```
|
||||||
|
|
||||||
## 0.2.2
|
## 0.2.2
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "check-html-links",
|
"name": "check-html-links",
|
||||||
"version": "0.2.2",
|
"version": "0.2.3",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
@@ -37,7 +37,8 @@
|
|||||||
"command-line-args": "^5.1.1",
|
"command-line-args": "^5.1.1",
|
||||||
"glob": "^7.0.0",
|
"glob": "^7.0.0",
|
||||||
"minimatch": "^3.0.4",
|
"minimatch": "^3.0.4",
|
||||||
"sax-wasm": "^2.0.0"
|
"sax-wasm": "^2.0.0",
|
||||||
|
"slash": "^3.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/glob": "^7.0.0"
|
"@types/glob": "^7.0.0"
|
||||||
|
|||||||
@@ -182,6 +182,18 @@ function getValueAndAnchor(inValue) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {string} url
|
||||||
|
* @returns {boolean}
|
||||||
|
*/
|
||||||
|
function isNonHttpSchema(url) {
|
||||||
|
const found = url.match(/([a-z]+):/);
|
||||||
|
if (found) {
|
||||||
|
return found.length > 0;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Link[]} links
|
* @param {Link[]} links
|
||||||
@@ -207,8 +219,13 @@ async function resolveLinks(links, { htmlFilePath, rootDir, ignoreUsage }) {
|
|||||||
|
|
||||||
if (ignoreUsage(value)) {
|
if (ignoreUsage(value)) {
|
||||||
// ignore
|
// ignore
|
||||||
} else if (value.includes('mailto:')) {
|
} else if (
|
||||||
|
value.startsWith('mailto:') ||
|
||||||
|
value.startsWith('mailto:') // = "mailto:" but html encoded
|
||||||
|
) {
|
||||||
// ignore for now - could add a check to validate if the email address is valid
|
// ignore for now - could add a check to validate if the email address is valid
|
||||||
|
} else if (value.startsWith('tel:')) {
|
||||||
|
// ignore for now - could add a check to validate if the phone number is valid
|
||||||
} else if (valueFile === '' && anchor !== '') {
|
} else if (valueFile === '' && anchor !== '') {
|
||||||
addLocalFile(htmlFilePath, anchor, usageObj);
|
addLocalFile(htmlFilePath, anchor, usageObj);
|
||||||
} else if (value.startsWith('//') || value.startsWith('http')) {
|
} else if (value.startsWith('//') || value.startsWith('http')) {
|
||||||
@@ -219,6 +236,8 @@ async function resolveLinks(links, { htmlFilePath, rootDir, ignoreUsage }) {
|
|||||||
addLocalFile(filePath, anchor, usageObj);
|
addLocalFile(filePath, anchor, usageObj);
|
||||||
} else if (value === '' && anchor === '') {
|
} else if (value === '' && anchor === '') {
|
||||||
// no need to check it
|
// no need to check it
|
||||||
|
} else if (isNonHttpSchema(value)) {
|
||||||
|
// not a schema we handle
|
||||||
} else {
|
} else {
|
||||||
const filePath = path.join(path.dirname(htmlFilePath), valueFile);
|
const filePath = path.join(path.dirname(htmlFilePath), valueFile);
|
||||||
addLocalFile(filePath, anchor, usageObj);
|
addLocalFile(filePath, anchor, usageObj);
|
||||||
|
|||||||
@@ -1 +1,3 @@
|
|||||||
<a href="mailto:foo@bar.com"></a>
|
<a href="mailto:foo@bar.com"></a>
|
||||||
|
<!-- encoded mailto links -->
|
||||||
|
<a href="mailto:address@example.com"></a>
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<a href="sketch://add-library?url=https%3A%2F%2Fmyexample.com%2Fdesign%2Fui-kit.xml"></a>
|
||||||
|
<a href="vscode://file/c:/myProject/package.json:5:10"></a>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<a href="tel:99999"></a>
|
||||||
@@ -183,6 +183,16 @@ describe('validateFolder', () => {
|
|||||||
expect(cleanup(errors)).to.deep.equal([]);
|
expect(cleanup(errors)).to.deep.equal([]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('ignores tel links', async () => {
|
||||||
|
const { errors, cleanup } = await execute('fixtures/tel');
|
||||||
|
expect(cleanup(errors)).to.deep.equal([]);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('ignore not http schema urls', async () => {
|
||||||
|
const { errors, cleanup } = await execute('fixtures/not-http-schema');
|
||||||
|
expect(cleanup(errors)).to.deep.equal([]);
|
||||||
|
});
|
||||||
|
|
||||||
it('ignoring a folder', async () => {
|
it('ignoring a folder', async () => {
|
||||||
const { errors, cleanup } = await execute('fixtures/internal-link-ignore', {
|
const { errors, cleanup } = await execute('fixtures/internal-link-ignore', {
|
||||||
ignoreLinkPatterns: ['./relative/*', './relative/**/*'],
|
ignoreLinkPatterns: ['./relative/*', './relative/**/*'],
|
||||||
|
|||||||
@@ -1,5 +1,30 @@
|
|||||||
# @rocket/cli
|
# @rocket/cli
|
||||||
|
|
||||||
|
## 0.9.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 43a7ca1: Responsive images need to respect a set pathPrefix
|
||||||
|
|
||||||
|
## 0.9.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- eae2007: Update to mdjs version that uses lit 2 and renders stories to light dom
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [eae2007]
|
||||||
|
- @rocket/eleventy-plugin-mdjs-unified@0.5.0
|
||||||
|
|
||||||
|
## 0.8.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 60e85a1: Support `picture` tags by handling `source` tags with `srcset` attributes in the rollup asset gathering build phase.
|
||||||
|
- Updated dependencies [60e85a1]
|
||||||
|
- @rocket/building-rollup@0.3.1
|
||||||
|
|
||||||
## 0.8.1
|
## 0.8.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rocket/cli",
|
"name": "@rocket/cli",
|
||||||
"version": "0.8.1",
|
"version": "0.9.1",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
@@ -57,9 +57,9 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@11ty/eleventy": "^0.11.1",
|
"@11ty/eleventy": "^0.11.1",
|
||||||
"@11ty/eleventy-img": "^0.9.0",
|
"@11ty/eleventy-img": "^0.9.0",
|
||||||
"@rocket/building-rollup": "^0.3.0",
|
"@rocket/building-rollup": "^0.3.1",
|
||||||
"@rocket/core": "^0.1.2",
|
"@rocket/core": "^0.1.2",
|
||||||
"@rocket/eleventy-plugin-mdjs-unified": "^0.4.1",
|
"@rocket/eleventy-plugin-mdjs-unified": "^0.5.0",
|
||||||
"@rocket/eleventy-rocket-nav": "^0.3.0",
|
"@rocket/eleventy-rocket-nav": "^0.3.0",
|
||||||
"@rollup/plugin-babel": "^5.2.2",
|
"@rollup/plugin-babel": "^5.2.2",
|
||||||
"@rollup/plugin-node-resolve": "^11.0.1",
|
"@rollup/plugin-node-resolve": "^11.0.1",
|
||||||
@@ -67,12 +67,12 @@
|
|||||||
"@web/dev-server": "^0.1.4",
|
"@web/dev-server": "^0.1.4",
|
||||||
"@web/dev-server-rollup": "^0.3.2",
|
"@web/dev-server-rollup": "^0.3.2",
|
||||||
"@web/rollup-plugin-copy": "^0.2.0",
|
"@web/rollup-plugin-copy": "^0.2.0",
|
||||||
"check-html-links": "^0.2.2",
|
"check-html-links": "^0.2.3",
|
||||||
"command-line-args": "^5.1.1",
|
"command-line-args": "^5.1.1",
|
||||||
"command-line-usage": "^6.1.1",
|
"command-line-usage": "^6.1.1",
|
||||||
"fs-extra": "^9.0.1",
|
"fs-extra": "^9.0.1",
|
||||||
"micromatch": "^4.0.2",
|
"micromatch": "^4.0.2",
|
||||||
"plugins-manager": "^0.2.1",
|
"plugins-manager": "^0.2.2",
|
||||||
"slash": "^3.0.0",
|
"slash": "^3.0.0",
|
||||||
"utf8": "^3.0.0",
|
"utf8": "^3.0.0",
|
||||||
"workbox-window": "^6.1.5"
|
"workbox-window": "^6.1.5"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { render } from 'lit-html';
|
import { render } from '@mdjs/mdjs-story';
|
||||||
|
|
||||||
async function onHashChange() {
|
async function onHashChange() {
|
||||||
const urlParts = new URLSearchParams(document.location.hash.substr(1));
|
const urlParts = new URLSearchParams(document.location.hash.substr(1));
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const EleventyImage = require('@11ty/eleventy-img');
|
const EleventyImage = require('@11ty/eleventy-img');
|
||||||
|
const urlFilter = require('@11ty/eleventy/src/Filters/Url.js');
|
||||||
const { SaxEventType, SAXParser } = require('sax-wasm');
|
const { SaxEventType, SAXParser } = require('sax-wasm');
|
||||||
const { getComputedConfig } = require('../public/computedConfig.cjs');
|
const { getComputedConfig } = require('../public/computedConfig.cjs');
|
||||||
|
|
||||||
@@ -140,7 +141,7 @@ async function responsiveImages(images, { inputPath, outputDir, imagePresets = {
|
|||||||
|
|
||||||
const metadata = await EleventyImage(filePath, {
|
const metadata = await EleventyImage(filePath, {
|
||||||
outputDir: path.join(outputDir, 'images'),
|
outputDir: path.join(outputDir, 'images'),
|
||||||
urlPath: '/images/',
|
urlPath: urlFilter('/images/'),
|
||||||
...presetSettings,
|
...presetSettings,
|
||||||
});
|
});
|
||||||
const lowsrc = metadata.jpeg[0];
|
const lowsrc = metadata.jpeg[0];
|
||||||
|
|||||||
@@ -102,6 +102,30 @@ describe('RocketCli e2e', () => {
|
|||||||
);
|
);
|
||||||
const assetHtml = await readStartOutput(cli, 'use-assets/index.html');
|
const assetHtml = await readStartOutput(cli, 'use-assets/index.html');
|
||||||
expect(assetHtml).to.equal('<link rel="stylesheet" href="/_merged_assets/some.css">');
|
expect(assetHtml).to.equal('<link rel="stylesheet" href="/_merged_assets/some.css">');
|
||||||
|
const imageHtml = await readStartOutput(cli, 'image/index.html');
|
||||||
|
expect(imageHtml).to.equal(
|
||||||
|
[
|
||||||
|
'<p>',
|
||||||
|
' <figure>',
|
||||||
|
' <picture>',
|
||||||
|
'<source type="image/avif" srcset="/images/dd502010-600.avif 600w, /images/dd502010-900.avif 900w" sizes="100vw">',
|
||||||
|
'<source type="image/jpeg" srcset="/images/dd502010-600.jpeg 600w, /images/dd502010-900.jpeg 900w" sizes="100vw">',
|
||||||
|
' <img',
|
||||||
|
' alt="My Image Alternative Text" rocket-image="responsive"',
|
||||||
|
' src="/images/dd502010-600.jpeg"',
|
||||||
|
' ',
|
||||||
|
' ',
|
||||||
|
' width="600"',
|
||||||
|
' height="316"',
|
||||||
|
' loading="lazy"',
|
||||||
|
' decoding="async"',
|
||||||
|
' />',
|
||||||
|
' </picture>',
|
||||||
|
' <figcaption>My Image Description</figcaption>',
|
||||||
|
'</figure>',
|
||||||
|
' </p>',
|
||||||
|
].join('\n'),
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can add a pathPrefix that will be used in the build command', async () => {
|
it('can add a pathPrefix that will be used in the build command', async () => {
|
||||||
@@ -119,6 +143,25 @@ describe('RocketCli e2e', () => {
|
|||||||
expect(assetHtml).to.equal(
|
expect(assetHtml).to.equal(
|
||||||
'<html><head><link rel="stylesheet" href="../41297ffa.css">\n\n</head><body>\n\n</body></html>',
|
'<html><head><link rel="stylesheet" href="../41297ffa.css">\n\n</head><body>\n\n</body></html>',
|
||||||
);
|
);
|
||||||
|
const imageHtml = await readBuildOutput(cli, 'image/index.html');
|
||||||
|
expect(imageHtml).to.equal(
|
||||||
|
[
|
||||||
|
'<html><head>',
|
||||||
|
'</head><body><p>',
|
||||||
|
' </p><figure>',
|
||||||
|
' <picture>',
|
||||||
|
'<source type="image/avif" srcset="../e64e2277.avif 600w, ../37453c88.avif 900w" sizes="100vw">',
|
||||||
|
'<source type="image/jpeg" srcset="../d0f18b5a.jpeg 600w, ../81998598.jpeg 900w" sizes="100vw">',
|
||||||
|
' <img alt="My Image Alternative Text" rocket-image="responsive" src="../d0f18b5a.jpeg" width="600" height="316" loading="lazy" decoding="async">',
|
||||||
|
' </picture>',
|
||||||
|
' <figcaption>My Image Description</figcaption>',
|
||||||
|
'</figure>',
|
||||||
|
' <p></p>',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'</body></html>',
|
||||||
|
].join('\n'),
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('smoke test for link checking', async () => {
|
it('smoke test for link checking', async () => {
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 51 KiB |
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
layout: layout-raw
|
||||||
|
---
|
||||||
|
|
||||||
|

|
||||||
@@ -1,5 +1,11 @@
|
|||||||
# @rocket/eleventy-plugin-mdjs-unified
|
# @rocket/eleventy-plugin-mdjs-unified
|
||||||
|
|
||||||
|
## 0.5.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- eae2007: Update to mdjs version that uses lit 2 and renders stories to light dom
|
||||||
|
|
||||||
## 0.4.1
|
## 0.4.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rocket/eleventy-plugin-mdjs-unified",
|
"name": "@rocket/eleventy-plugin-mdjs-unified",
|
||||||
"version": "0.4.1",
|
"version": "0.5.0",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
"mdjs"
|
"mdjs"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mdjs/core": "^0.7.1",
|
"@mdjs/core": "^0.8.0",
|
||||||
"es-module-lexer": "^0.3.26",
|
"es-module-lexer": "^0.3.26",
|
||||||
"unist-util-visit": "^2.0.3"
|
"unist-util-visit": "^2.0.3"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,5 +1,56 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 0.8.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- 814b5d2: **BREAKING CHANGE** Stories of `story` and `preview-story` are now rendered to light dom instead of shadow dom to allow usage of a scoped registry for the internal dom
|
||||||
|
|
||||||
|
```js
|
||||||
|
export const story = html`
|
||||||
|
<p>my story</p>
|
||||||
|
`;
|
||||||
|
```
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!-- before -->
|
||||||
|
<mdjs-story>
|
||||||
|
#shadow-root (open)
|
||||||
|
<p>my story</p>
|
||||||
|
</mdjs-story>
|
||||||
|
|
||||||
|
<!-- after -->
|
||||||
|
<mdjs-story>
|
||||||
|
<p>my story</p>
|
||||||
|
</mdjs-story>
|
||||||
|
```
|
||||||
|
|
||||||
|
- e1e96ac: **BREAKING CHANGE** The default renderer for `story` and `preview-story` updated to [lit](https://lit.dev/) 2
|
||||||
|
|
||||||
|
If your main lit-html version is 1.x be sure to import html for your story rendering from `@mdjs/mdjs-preview`.
|
||||||
|
|
||||||
|
````md
|
||||||
|
```js script
|
||||||
|
import { html } from '@mdjs/mdjs-preview';
|
||||||
|
```
|
||||||
|
|
||||||
|
```js preview-story
|
||||||
|
export const foo = () =>
|
||||||
|
html`
|
||||||
|
<demo-element></demo-element>
|
||||||
|
`;
|
||||||
|
```
|
||||||
|
````
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [e1e96ac]
|
||||||
|
- Updated dependencies [814b5d2]
|
||||||
|
- Updated dependencies [814b5d2]
|
||||||
|
- Updated dependencies [e1e96ac]
|
||||||
|
- @mdjs/mdjs-preview@0.5.0
|
||||||
|
- @mdjs/mdjs-story@0.3.0
|
||||||
|
|
||||||
## 0.7.2
|
## 0.7.2
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mdjs/core",
|
"name": "@mdjs/core",
|
||||||
"version": "0.7.2",
|
"version": "0.8.0",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
@@ -44,12 +44,12 @@
|
|||||||
"remark"
|
"remark"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mdjs/mdjs-preview": "^0.4.2",
|
"@mdjs/mdjs-preview": "^0.5.0",
|
||||||
"@mdjs/mdjs-story": "^0.2.0",
|
"@mdjs/mdjs-story": "^0.3.0",
|
||||||
"@types/unist": "^2.0.3",
|
"@types/unist": "^2.0.3",
|
||||||
"es-module-lexer": "^0.3.26",
|
"es-module-lexer": "^0.3.26",
|
||||||
"github-markdown-css": "^4.0.0",
|
"github-markdown-css": "^4.0.0",
|
||||||
"plugins-manager": "^0.2.1",
|
"plugins-manager": "^0.2.2",
|
||||||
"rehype-autolink-headings": "^5.0.1",
|
"rehype-autolink-headings": "^5.0.1",
|
||||||
"rehype-prism-template": "^0.4.1",
|
"rehype-prism-template": "^0.4.1",
|
||||||
"rehype-raw": "^5.0.0",
|
"rehype-raw": "^5.0.0",
|
||||||
|
|||||||
@@ -1,5 +1,61 @@
|
|||||||
# @mdjs/mdjs-preview
|
# @mdjs/mdjs-preview
|
||||||
|
|
||||||
|
## 0.5.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- e1e96ac: **BREAKING CHANGE** Update to [lit](https://lit.dev/) 2
|
||||||
|
|
||||||
|
If your main lit-html version is 1.x be sure to import html for your story rendering from `@mdjs/mdjs-preview`.
|
||||||
|
|
||||||
|
````md
|
||||||
|
```js script
|
||||||
|
import { html } from '@mdjs/mdjs-preview';
|
||||||
|
```
|
||||||
|
|
||||||
|
```js preview-story
|
||||||
|
export const foo = () =>
|
||||||
|
html`
|
||||||
|
<demo-element></demo-element>
|
||||||
|
`;
|
||||||
|
```
|
||||||
|
````
|
||||||
|
|
||||||
|
- 814b5d2: **BREAKING CHANGE** Render stories to light dom
|
||||||
|
|
||||||
|
```js
|
||||||
|
export const story = html`
|
||||||
|
<p>my story</p>
|
||||||
|
`;
|
||||||
|
```
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!-- before -->
|
||||||
|
<mdjs-preview>
|
||||||
|
#shadow-root (open)
|
||||||
|
<div id="wrapper">
|
||||||
|
<div>
|
||||||
|
<p>my story</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- more internal dom -->
|
||||||
|
|
||||||
|
<code><!-- ... --></code>
|
||||||
|
</mdjs-preview>
|
||||||
|
|
||||||
|
<!-- after -->
|
||||||
|
<mdjs-preview>
|
||||||
|
#shadow-root (open)
|
||||||
|
<div id="wrapper">
|
||||||
|
<!-- more internal dom -->
|
||||||
|
|
||||||
|
<code><!-- ... --></code>
|
||||||
|
<div slot="story">
|
||||||
|
<p>my story</p>
|
||||||
|
</div>
|
||||||
|
</mdjs-preview>
|
||||||
|
```
|
||||||
|
|
||||||
## 0.4.2
|
## 0.4.2
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1 +1,62 @@
|
|||||||
export { MdJsPreview } from './src/MdJsPreview.js';
|
export { MdJsPreview } from './src/MdJsPreview.js';
|
||||||
|
|
||||||
|
// reexport used lit to ensure users can sync html & rendering
|
||||||
|
export {
|
||||||
|
html,
|
||||||
|
CSSResult,
|
||||||
|
adoptStyles,
|
||||||
|
css,
|
||||||
|
getCompatibleStyle,
|
||||||
|
supportsAdoptingStyleSheets,
|
||||||
|
unsafeCSS,
|
||||||
|
UpdatingElement,
|
||||||
|
notEqual,
|
||||||
|
ReactiveElement,
|
||||||
|
svg,
|
||||||
|
noChange,
|
||||||
|
nothing,
|
||||||
|
render,
|
||||||
|
LitElement,
|
||||||
|
defaultConverter,
|
||||||
|
} from 'lit';
|
||||||
|
|
||||||
|
export {
|
||||||
|
customElement,
|
||||||
|
property,
|
||||||
|
state,
|
||||||
|
eventOptions,
|
||||||
|
query,
|
||||||
|
queryAll,
|
||||||
|
queryAsync,
|
||||||
|
queryAssignedNodes,
|
||||||
|
} from 'lit/decorators.js';
|
||||||
|
|
||||||
|
export { directive, Directive } from 'lit/directive.js';
|
||||||
|
|
||||||
|
export { AsyncDirective } from 'lit/async-directive.js';
|
||||||
|
|
||||||
|
export {
|
||||||
|
isPrimitive,
|
||||||
|
TemplateResultType,
|
||||||
|
isTemplateResult,
|
||||||
|
isDirectiveResult,
|
||||||
|
getDirectiveClass,
|
||||||
|
isSingleExpression,
|
||||||
|
insertPart,
|
||||||
|
setChildPartValue,
|
||||||
|
setCommittedValue,
|
||||||
|
getCommittedValue,
|
||||||
|
removePart,
|
||||||
|
clearPart,
|
||||||
|
} from 'lit/directive-helpers.js';
|
||||||
|
|
||||||
|
export { asyncAppend } from 'lit/directives/async-append.js';
|
||||||
|
export { asyncReplace } from 'lit/directives/async-replace.js';
|
||||||
|
export { cache } from 'lit/directives/cache.js';
|
||||||
|
export { classMap } from 'lit/directives/class-map.js';
|
||||||
|
export { guard } from 'lit/directives/guard.js';
|
||||||
|
export { ifDefined } from 'lit/directives/if-defined.js';
|
||||||
|
export { repeat } from 'lit/directives/repeat.js';
|
||||||
|
export { styleMap } from 'lit/directives/style-map.js';
|
||||||
|
export { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
||||||
|
export { until } from 'lit/directives/until.js';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mdjs/mdjs-preview",
|
"name": "@mdjs/mdjs-preview",
|
||||||
"version": "0.4.2",
|
"version": "0.5.0",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
@@ -22,7 +22,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"debug": "cd ../../ && npm run debug -- --group mdjs-preview",
|
"debug": "cd ../../ && npm run debug -- --group mdjs-preview",
|
||||||
"test": "npm run test:web",
|
"test": "npm run test:web",
|
||||||
"test:watch": "onchange 'src/**/*.{js,cjs}' 'test-node/**/*.js' -- npm run test:node",
|
|
||||||
"test:web": "cd ../../ && npm run test:web -- --group mdjs-preview"
|
"test:web": "cd ../../ && npm run test:web -- --group mdjs-preview"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
@@ -33,7 +32,7 @@
|
|||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lion/accordion": "^0.4.2",
|
"@lion/accordion": "^0.4.2",
|
||||||
"lit-element": "^2.4.0"
|
"lit": "^2.0.0-rc.2"
|
||||||
},
|
},
|
||||||
"types": "dist-types/index.d.ts"
|
"types": "dist-types/index.d.ts"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { LitElement, html, css } from 'lit-element';
|
import { LitElement, html, css, nothing, render } from 'lit';
|
||||||
import '@lion/accordion/define';
|
import '@lion/accordion/define';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -11,7 +11,7 @@ import { addResizeHandler } from './resizeHandler.js';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {object} StoryOptions
|
* @typedef {object} StoryOptions
|
||||||
* @property {ShadowRoot | null} StoryOptions.shadowRoot
|
* @property {HTMLElement | null} StoryOptions.shadowRoot
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** @typedef {(options?: StoryOptions) => ReturnType<LitElement['render']>} LitHtmlStoryFn */
|
/** @typedef {(options?: StoryOptions) => ReturnType<LitElement['render']>} LitHtmlStoryFn */
|
||||||
@@ -172,6 +172,11 @@ export class MdJsPreview extends LitElement {
|
|||||||
|
|
||||||
connectedCallback() {
|
connectedCallback() {
|
||||||
super.connectedCallback();
|
super.connectedCallback();
|
||||||
|
if (!this.lightDomRenderTarget) {
|
||||||
|
this.lightDomRenderTarget = document.createElement('div');
|
||||||
|
this.lightDomRenderTarget.setAttribute('slot', 'story');
|
||||||
|
this.appendChild(this.lightDomRenderTarget);
|
||||||
|
}
|
||||||
if (this.sameSettings) {
|
if (this.sameSettings) {
|
||||||
applySharedStates(this);
|
applySharedStates(this);
|
||||||
}
|
}
|
||||||
@@ -225,6 +230,10 @@ export class MdJsPreview extends LitElement {
|
|||||||
unSubscribe(this.onSubscribe);
|
unSubscribe(this.onSubscribe);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.lightDomRenderTarget && changeProps.has('story')) {
|
||||||
|
render(this.story({ shadowRoot: this }), this.lightDomRenderTarget);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
disconnectedCallback() {
|
disconnectedCallback() {
|
||||||
@@ -549,9 +558,9 @@ export class MdJsPreview extends LitElement {
|
|||||||
render() {
|
render() {
|
||||||
return html`
|
return html`
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
${this.deviceMode === false
|
<slot name="story"></slot>
|
||||||
? html`<div>${this.story({ shadowRoot: this.shadowRoot })}</div>`
|
${this.deviceMode === true
|
||||||
: html`
|
? html`
|
||||||
<iframe
|
<iframe
|
||||||
part="iframe"
|
part="iframe"
|
||||||
csp=${`script-src ${document.location.origin} 'unsafe-inline'; connect-src ws://${document.location.host}/`}
|
csp=${`script-src ${document.location.origin} 'unsafe-inline'; connect-src ws://${document.location.host}/`}
|
||||||
@@ -561,7 +570,8 @@ export class MdJsPreview extends LitElement {
|
|||||||
<p part="frame-description" style=${`width: ${this.sizeData.width + 4}px;`}>
|
<p part="frame-description" style=${`width: ${this.sizeData.width + 4}px;`}>
|
||||||
${this.sizeData.name} - ${this.deviceHeight}x${this.sizeData.width}
|
${this.sizeData.name} - ${this.deviceHeight}x${this.sizeData.width}
|
||||||
</p>
|
</p>
|
||||||
`}
|
`
|
||||||
|
: nothing}
|
||||||
</div>
|
</div>
|
||||||
<lion-accordion class="options">
|
<lion-accordion class="options">
|
||||||
${this.deviceMode
|
${this.deviceMode
|
||||||
@@ -610,6 +620,10 @@ export class MdJsPreview extends LitElement {
|
|||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host([device-mode]) slot[name='story'] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
border: 2px solid #4caf50;
|
border: 2px solid #4caf50;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { expect, fixture, html } from '@open-wc/testing';
|
import { expect, fixture, html } from '@open-wc/testing';
|
||||||
|
import { html as storyHtml } from '@mdjs/mdjs-preview';
|
||||||
import '@mdjs/mdjs-preview/define';
|
import '@mdjs/mdjs-preview/define';
|
||||||
|
|
||||||
/** @typedef {import('@mdjs/mdjs-preview').MdJsPreview} MdJsPreview */
|
/** @typedef {import('@mdjs/mdjs-preview').MdJsPreview} MdJsPreview */
|
||||||
@@ -6,16 +7,16 @@ import '@mdjs/mdjs-preview/define';
|
|||||||
describe('mdjs-preview', () => {
|
describe('mdjs-preview', () => {
|
||||||
it('will render the element into the shadow root by default', async () => {
|
it('will render the element into the shadow root by default', async () => {
|
||||||
const el = await fixture(html`
|
const el = await fixture(html`
|
||||||
<mdjs-preview .story=${() => html`<p id="testing"></p>`}></mdjs-preview>
|
<mdjs-preview .story=${() => storyHtml`<p id="testing"></p>`}></mdjs-preview>
|
||||||
`);
|
`);
|
||||||
expect(el.shadowRoot.querySelectorAll('#testing').length).to.equal(1);
|
expect(el.querySelectorAll('#testing').length).to.equal(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('sync simulator states between instances', async () => {
|
it('sync simulator states between instances', async () => {
|
||||||
const el = await fixture(html`
|
const el = await fixture(html`
|
||||||
<div>
|
<div>
|
||||||
<mdjs-preview .story=${() => html`<p></p>`}></mdjs-preview>
|
<mdjs-preview .story=${() => storyHtml`<p></p>`}></mdjs-preview>
|
||||||
<mdjs-preview .story=${() => html`<p></p>`}></mdjs-preview>
|
<mdjs-preview .story=${() => storyHtml`<p></p>`}></mdjs-preview>
|
||||||
</div>
|
</div>
|
||||||
`);
|
`);
|
||||||
const [preview1, preview2] = /** @type {MdJsPreview[]} */ (el.children);
|
const [preview1, preview2] = /** @type {MdJsPreview[]} */ (el.children);
|
||||||
|
|||||||
@@ -1,5 +1,47 @@
|
|||||||
# @mdjs/mdjs-story
|
# @mdjs/mdjs-story
|
||||||
|
|
||||||
|
## 0.3.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- 814b5d2: **BREAKING CHANGE** Render stories to light dom
|
||||||
|
|
||||||
|
```js
|
||||||
|
export const story = html`
|
||||||
|
<p>my story</p>
|
||||||
|
`;
|
||||||
|
```
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!-- before -->
|
||||||
|
<mdjs-story>
|
||||||
|
#shadow-root (open)
|
||||||
|
<p>my story</p>
|
||||||
|
</mdjs-story>
|
||||||
|
|
||||||
|
<!-- after -->
|
||||||
|
<mdjs-story>
|
||||||
|
<p>my story</p>
|
||||||
|
</mdjs-story>
|
||||||
|
```
|
||||||
|
|
||||||
|
- e1e96ac: **BREAKING CHANGE** Update to [lit](https://lit.dev/) 2
|
||||||
|
|
||||||
|
If your main lit-html version is 1.x be sure to import html for your story rendering from `@mdjs/mdjs-story`.
|
||||||
|
|
||||||
|
````md
|
||||||
|
```js script
|
||||||
|
import { html } from '@mdjs/mdjs-story';
|
||||||
|
```
|
||||||
|
|
||||||
|
```js story
|
||||||
|
export const foo = () =>
|
||||||
|
html`
|
||||||
|
<demo-element></demo-element>
|
||||||
|
`;
|
||||||
|
```
|
||||||
|
````
|
||||||
|
|
||||||
## 0.2.0
|
## 0.2.0
|
||||||
|
|
||||||
### Minor Changes
|
### Minor Changes
|
||||||
|
|||||||
@@ -1 +1,62 @@
|
|||||||
export { MdJsStory } from './src/MdJsStory.js';
|
export { MdJsStory } from './src/MdJsStory.js';
|
||||||
|
|
||||||
|
// reexport used lit to ensure users can sync html & rendering
|
||||||
|
export {
|
||||||
|
html,
|
||||||
|
CSSResult,
|
||||||
|
adoptStyles,
|
||||||
|
css,
|
||||||
|
getCompatibleStyle,
|
||||||
|
supportsAdoptingStyleSheets,
|
||||||
|
unsafeCSS,
|
||||||
|
UpdatingElement,
|
||||||
|
notEqual,
|
||||||
|
ReactiveElement,
|
||||||
|
svg,
|
||||||
|
noChange,
|
||||||
|
nothing,
|
||||||
|
render,
|
||||||
|
LitElement,
|
||||||
|
defaultConverter,
|
||||||
|
} from 'lit';
|
||||||
|
|
||||||
|
export {
|
||||||
|
customElement,
|
||||||
|
property,
|
||||||
|
state,
|
||||||
|
eventOptions,
|
||||||
|
query,
|
||||||
|
queryAll,
|
||||||
|
queryAsync,
|
||||||
|
queryAssignedNodes,
|
||||||
|
} from 'lit/decorators.js';
|
||||||
|
|
||||||
|
export { directive, Directive } from 'lit/directive.js';
|
||||||
|
|
||||||
|
export { AsyncDirective } from 'lit/async-directive.js';
|
||||||
|
|
||||||
|
export {
|
||||||
|
isPrimitive,
|
||||||
|
TemplateResultType,
|
||||||
|
isTemplateResult,
|
||||||
|
isDirectiveResult,
|
||||||
|
getDirectiveClass,
|
||||||
|
isSingleExpression,
|
||||||
|
insertPart,
|
||||||
|
setChildPartValue,
|
||||||
|
setCommittedValue,
|
||||||
|
getCommittedValue,
|
||||||
|
removePart,
|
||||||
|
clearPart,
|
||||||
|
} from 'lit/directive-helpers.js';
|
||||||
|
|
||||||
|
export { asyncAppend } from 'lit/directives/async-append.js';
|
||||||
|
export { asyncReplace } from 'lit/directives/async-replace.js';
|
||||||
|
export { cache } from 'lit/directives/cache.js';
|
||||||
|
export { classMap } from 'lit/directives/class-map.js';
|
||||||
|
export { guard } from 'lit/directives/guard.js';
|
||||||
|
export { ifDefined } from 'lit/directives/if-defined.js';
|
||||||
|
export { repeat } from 'lit/directives/repeat.js';
|
||||||
|
export { styleMap } from 'lit/directives/style-map.js';
|
||||||
|
export { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
||||||
|
export { until } from 'lit/directives/until.js';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mdjs/mdjs-story",
|
"name": "@mdjs/mdjs-story",
|
||||||
"version": "0.2.0",
|
"version": "0.3.0",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
@@ -22,7 +22,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"debug": "cd ../../ && npm run debug -- --group mdjs-story",
|
"debug": "cd ../../ && npm run debug -- --group mdjs-story",
|
||||||
"test": "npm run test:web",
|
"test": "npm run test:web",
|
||||||
"test:watch": "onchange 'src/**/*.{js,cjs}' 'test-node/**/*.js' -- npm run test:node",
|
|
||||||
"test:web": "cd ../../ && npm run test:web -- --group mdjs-story"
|
"test:web": "cd ../../ && npm run test:web -- --group mdjs-story"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
@@ -32,7 +31,7 @@
|
|||||||
"src"
|
"src"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lit-element": "^2.4.0"
|
"lit": "^2.0.0-rc.2"
|
||||||
},
|
},
|
||||||
"types": "dist-types/index.d.ts"
|
"types": "dist-types/index.d.ts"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { LitElement, html } from 'lit-element';
|
import { LitElement, html } from 'lit';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {object} StoryOptions
|
* @typedef {object} StoryOptions
|
||||||
* @property {ShadowRoot | null} StoryOptions.shadowRoot
|
* @property {HTMLElement | null} StoryOptions.shadowRoot
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** @typedef {(options?: StoryOptions) => ReturnType<LitElement['render']>} LitHtmlStoryFn */
|
/** @typedef {(options?: StoryOptions) => ReturnType<LitElement['render']>} LitHtmlStoryFn */
|
||||||
@@ -28,7 +28,11 @@ export class MdJsStory extends LitElement {
|
|||||||
this.story = () => html`<p>Loading...</p>`;
|
this.story = () => html`<p>Loading...</p>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
createRenderRoot() {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return this.story({ shadowRoot: this.shadowRoot });
|
return this.story({ shadowRoot: this });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
15
packages/mdjs-story/test-web/mdjs-story.test.js
Normal file
15
packages/mdjs-story/test-web/mdjs-story.test.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import { expect, fixture, html } from '@open-wc/testing';
|
||||||
|
import { html as storyHtml } from '@mdjs/mdjs-story';
|
||||||
|
|
||||||
|
import '@mdjs/mdjs-story/define';
|
||||||
|
|
||||||
|
/** @typedef {import('@mdjs/mdjs-preview').MdJsPreview} MdJsPreview */
|
||||||
|
|
||||||
|
describe('mdjs-story', () => {
|
||||||
|
it('will render the element into the light dom by default', async () => {
|
||||||
|
const el = await fixture(html`
|
||||||
|
<mdjs-story .story=${() => storyHtml`<p id="testing"></p>`}></mdjs-story>
|
||||||
|
`);
|
||||||
|
expect(el.querySelectorAll('#testing').length).to.equal(1);
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
# plugins-manager
|
# plugins-manager
|
||||||
|
|
||||||
|
## 0.2.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- 56fdb0c: Optional parameters are now also define as optional in types
|
||||||
|
|
||||||
## 0.2.1
|
## 0.2.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "plugins-manager",
|
"name": "plugins-manager",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
"@open-wc/scoped-elements": "^1.3.2",
|
"@open-wc/scoped-elements": "^1.3.2",
|
||||||
"chalk": "^4.0.0",
|
"chalk": "^4.0.0",
|
||||||
"minisearch": "^3.0.2",
|
"minisearch": "^3.0.2",
|
||||||
"plugins-manager": "^0.2.1",
|
"plugins-manager": "^0.2.2",
|
||||||
"sax-wasm": "^2.0.0"
|
"sax-wasm": "^2.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ const config = {
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
// serviceWorkerName: 'sw.js',
|
// serviceWorkerName: 'sw.js',
|
||||||
|
// pathPrefix: '/_site/',
|
||||||
|
|
||||||
// emptyOutputDir: false,
|
// emptyOutputDir: false,
|
||||||
};
|
};
|
||||||
|
|||||||
214
yarn.lock
214
yarn.lock
@@ -1096,6 +1096,13 @@
|
|||||||
minimatch "^3.0.4"
|
minimatch "^3.0.4"
|
||||||
strip-json-comments "^3.1.1"
|
strip-json-comments "^3.1.1"
|
||||||
|
|
||||||
|
"@esm-bundle/chai@^4.3.4":
|
||||||
|
version "4.3.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/@esm-bundle/chai/-/chai-4.3.4.tgz#74ed4a0794b3a9f9517ff235744ac6f4be0d34dc"
|
||||||
|
integrity sha512-6Tx35wWiNw7X0nLY9RMx8v3EL8SacCFW+eEZOE9Hc+XxmU5HFE2AFEg+GehUZpiyDGwVvPH75ckGlqC7coIPnA==
|
||||||
|
dependencies:
|
||||||
|
"@types/chai" "^4.2.12"
|
||||||
|
|
||||||
"@lion/accordion@^0.4.2":
|
"@lion/accordion@^0.4.2":
|
||||||
version "0.4.2"
|
version "0.4.2"
|
||||||
resolved "https://registry.yarnpkg.com/@lion/accordion/-/accordion-0.4.2.tgz#efeb56360113a2b68e182ff29ef0932edd17df8c"
|
resolved "https://registry.yarnpkg.com/@lion/accordion/-/accordion-0.4.2.tgz#efeb56360113a2b68e182ff29ef0932edd17df8c"
|
||||||
@@ -1157,6 +1164,11 @@
|
|||||||
"@popperjs/core" "^2.5.4"
|
"@popperjs/core" "^2.5.4"
|
||||||
singleton-manager "1.4.1"
|
singleton-manager "1.4.1"
|
||||||
|
|
||||||
|
"@lit/reactive-element@^1.0.0-rc.1", "@lit/reactive-element@^1.0.0-rc.2":
|
||||||
|
version "1.0.0-rc.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-1.0.0-rc.2.tgz#f24dba16ea571a08dca70f1783bd2ca5ec8de3ee"
|
||||||
|
integrity sha512-cujeIl5Ei8FC7UHf4/4Q3bRJOtdTe1vpJV/JEBYCggedmQ+2P8A2oz7eE+Vxi6OJ4nc0X+KZxXnBoH4QrEbmEQ==
|
||||||
|
|
||||||
"@manypkg/find-root@^1.1.0":
|
"@manypkg/find-root@^1.1.0":
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/@manypkg/find-root/-/find-root-1.1.0.tgz#a62d8ed1cd7e7d4c11d9d52a8397460b5d4ad29f"
|
resolved "https://registry.yarnpkg.com/@manypkg/find-root/-/find-root-1.1.0.tgz#a62d8ed1cd7e7d4c11d9d52a8397460b5d4ad29f"
|
||||||
@@ -1212,7 +1224,7 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@open-wc/dedupe-mixin/-/dedupe-mixin-1.3.0.tgz#0df5d438285fc3482838786ee81895318f0ff778"
|
resolved "https://registry.yarnpkg.com/@open-wc/dedupe-mixin/-/dedupe-mixin-1.3.0.tgz#0df5d438285fc3482838786ee81895318f0ff778"
|
||||||
integrity sha512-UfdK1MPnR6T7f3svzzYBfu3qBkkZ/KsPhcpc3JYhsUY4hbpwNF9wEQtD4Z+/mRqMTJrKg++YSxIxE0FBhY3RIw==
|
integrity sha512-UfdK1MPnR6T7f3svzzYBfu3qBkkZ/KsPhcpc3JYhsUY4hbpwNF9wEQtD4Z+/mRqMTJrKg++YSxIxE0FBhY3RIw==
|
||||||
|
|
||||||
"@open-wc/scoped-elements@^1.2.4", "@open-wc/scoped-elements@^1.3.2":
|
"@open-wc/scoped-elements@^1.3.2":
|
||||||
version "1.3.2"
|
version "1.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/@open-wc/scoped-elements/-/scoped-elements-1.3.2.tgz#6ae54c49731bbe8c3e0b5383c989f983dcdfacf5"
|
resolved "https://registry.yarnpkg.com/@open-wc/scoped-elements/-/scoped-elements-1.3.2.tgz#6ae54c49731bbe8c3e0b5383c989f983dcdfacf5"
|
||||||
integrity sha512-DoP3XA8r03tGx+IrlJwP/voLuDFkyS56kvwhmXIhpESo7M5jMt5e0zScNrawj7EMe4b5gDaJjorx2Jza8FLaLw==
|
integrity sha512-DoP3XA8r03tGx+IrlJwP/voLuDFkyS56kvwhmXIhpESo7M5jMt5e0zScNrawj7EMe4b5gDaJjorx2Jza8FLaLw==
|
||||||
@@ -1228,6 +1240,15 @@
|
|||||||
"@open-wc/dedupe-mixin" "^1.3.0"
|
"@open-wc/dedupe-mixin" "^1.3.0"
|
||||||
lit-html "^1.0.0"
|
lit-html "^1.0.0"
|
||||||
|
|
||||||
|
"@open-wc/scoped-elements@^2.0.0-next.0":
|
||||||
|
version "2.0.0-next.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@open-wc/scoped-elements/-/scoped-elements-2.0.0-next.3.tgz#adbd9d6fddc67158fd11ffe78c5e11aefdaaf8af"
|
||||||
|
integrity sha512-9dT+0ea/RKO3s2m5H+U8gwG7m1jE89JhgWKI6FnkG4pE9xMx8KACoLZZcUfogVjb6/vKaIeoCj6Mqm+2HiqCeQ==
|
||||||
|
dependencies:
|
||||||
|
"@lit/reactive-element" "^1.0.0-rc.1"
|
||||||
|
"@open-wc/dedupe-mixin" "^1.3.0"
|
||||||
|
"@webcomponents/scoped-custom-element-registry" "0.0.1"
|
||||||
|
|
||||||
"@open-wc/semantic-dom-diff@^0.13.16":
|
"@open-wc/semantic-dom-diff@^0.13.16":
|
||||||
version "0.13.21"
|
version "0.13.21"
|
||||||
resolved "https://registry.yarnpkg.com/@open-wc/semantic-dom-diff/-/semantic-dom-diff-0.13.21.tgz#718b9ec5f9a98935fc775e577ad094ae8d8b7dea"
|
resolved "https://registry.yarnpkg.com/@open-wc/semantic-dom-diff/-/semantic-dom-diff-0.13.21.tgz#718b9ec5f9a98935fc775e577ad094ae8d8b7dea"
|
||||||
@@ -1240,32 +1261,29 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/chai" "^4.2.11"
|
"@types/chai" "^4.2.11"
|
||||||
|
|
||||||
"@open-wc/testing-helpers@^1.8.12":
|
"@open-wc/testing-helpers@^2.0.0-next.0":
|
||||||
version "1.8.12"
|
version "2.0.0-next.0"
|
||||||
resolved "https://registry.yarnpkg.com/@open-wc/testing-helpers/-/testing-helpers-1.8.12.tgz#449865689b0283c117326c1e0975834406bb0855"
|
resolved "https://registry.yarnpkg.com/@open-wc/testing-helpers/-/testing-helpers-2.0.0-next.0.tgz#ece19e1c22ff91ae5f6ff2fae199719b7a7bfce7"
|
||||||
integrity sha512-+4exEHYvnFqI1RGDDIKFHPZ7Ws5NK1epvEku3zLaOYN3zc+huX19SndNc5+X++v8A+quN/iXbHlh80ROyNaYDA==
|
integrity sha512-94TL8IK05w1JyN8xt7t+vQBQYPdPy/JSJbWJ/ytvStou085SoDN6p1xCPh1PNhjm9LALc60nWM8qb2J2YRT8QA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@open-wc/scoped-elements" "^1.2.4"
|
"@open-wc/scoped-elements" "^2.0.0-next.0"
|
||||||
lit-element "^2.2.1"
|
lit "^2.0.0-rc.1"
|
||||||
lit-html "^1.0.0"
|
|
||||||
|
|
||||||
"@open-wc/testing@^2.5.32":
|
"@open-wc/testing@^3.0.0-next.1":
|
||||||
version "2.5.32"
|
version "3.0.0-next.1"
|
||||||
resolved "https://registry.yarnpkg.com/@open-wc/testing/-/testing-2.5.32.tgz#8bbb65773f650deff06b06277df8cdacd4d6806f"
|
resolved "https://registry.yarnpkg.com/@open-wc/testing/-/testing-3.0.0-next.1.tgz#c5c08093439450ed2c871ad18a7ccef787ea15f4"
|
||||||
integrity sha512-vl8VwTG3CVLwLcd1mpts8D9xPptc6xPL/9AHEbQxX1IQsFBEiFQdARSp1+V/i7gK2+peXeotqrZ5NvoHxl/lLw==
|
integrity sha512-dDgbqIgNTizSugrya6iSh9s3VS2xsZ3HURFpRVTlKGbEE7OYrRHcBBe73DiSWLRPeYyagVZsOshTUPfTBGamwQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@esm-bundle/chai" "^4.3.4"
|
||||||
"@open-wc/chai-dom-equals" "^0.12.36"
|
"@open-wc/chai-dom-equals" "^0.12.36"
|
||||||
"@open-wc/semantic-dom-diff" "^0.19.3"
|
"@open-wc/semantic-dom-diff" "^0.19.3"
|
||||||
"@open-wc/testing-helpers" "^1.8.12"
|
"@open-wc/testing-helpers" "^2.0.0-next.0"
|
||||||
"@types/chai" "^4.2.11"
|
"@types/chai" "^4.2.11"
|
||||||
"@types/chai-dom" "^0.0.9"
|
"@types/chai-dom" "^0.0.9"
|
||||||
"@types/mocha" "^5.0.0"
|
"@types/mocha" "^5.2.7"
|
||||||
"@types/sinon-chai" "^3.2.3"
|
"@types/sinon-chai" "^3.2.3"
|
||||||
chai "^4.2.0"
|
|
||||||
chai-a11y-axe "^1.3.1"
|
chai-a11y-axe "^1.3.1"
|
||||||
chai-dom "^1.8.1"
|
|
||||||
mocha "^6.2.2"
|
mocha "^6.2.2"
|
||||||
sinon-chai "^3.3.0"
|
|
||||||
|
|
||||||
"@popperjs/core@^2.5.4":
|
"@popperjs/core@^2.5.4":
|
||||||
version "2.6.0"
|
version "2.6.0"
|
||||||
@@ -1404,6 +1422,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.14.tgz#44d2dd0b5de6185089375d976b4ec5caf6861193"
|
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.14.tgz#44d2dd0b5de6185089375d976b4ec5caf6861193"
|
||||||
integrity sha512-G+ITQPXkwTrslfG5L/BksmbLUA0M1iybEsmCWPqzSxsRRhJZimBKJkoMi8fr/CPygPTj4zO5pJH7I2/cm9M7SQ==
|
integrity sha512-G+ITQPXkwTrslfG5L/BksmbLUA0M1iybEsmCWPqzSxsRRhJZimBKJkoMi8fr/CPygPTj4zO5pJH7I2/cm9M7SQ==
|
||||||
|
|
||||||
|
"@types/chai@^4.2.12":
|
||||||
|
version "4.2.18"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.18.tgz#0c8e298dbff8205e2266606c1ea5fbdba29b46e4"
|
||||||
|
integrity sha512-rS27+EkB/RE1Iz3u0XtVL5q36MGDWbgYe7zWiodyKNUnthxY0rukK5V36eiUCtCisB7NN8zKYH6DO2M37qxFEQ==
|
||||||
|
|
||||||
"@types/command-line-args@^5.0.0":
|
"@types/command-line-args@^5.0.0":
|
||||||
version "5.0.0"
|
version "5.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/command-line-args/-/command-line-args-5.0.0.tgz#484e704d20dbb8754a8f091eee45cdd22bcff28c"
|
resolved "https://registry.yarnpkg.com/@types/command-line-args/-/command-line-args-5.0.0.tgz#484e704d20dbb8754a8f091eee45cdd22bcff28c"
|
||||||
@@ -1550,7 +1573,7 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.1.tgz#283f669ff76d7b8260df8ab7a4262cc83d988256"
|
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.1.tgz#283f669ff76d7b8260df8ab7a4262cc83d988256"
|
||||||
integrity sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==
|
integrity sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==
|
||||||
|
|
||||||
"@types/mocha@^5.0.0":
|
"@types/mocha@^5.2.7":
|
||||||
version "5.2.7"
|
version "5.2.7"
|
||||||
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-5.2.7.tgz#315d570ccb56c53452ff8638738df60726d5b6ea"
|
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-5.2.7.tgz#315d570ccb56c53452ff8638738df60726d5b6ea"
|
||||||
integrity sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==
|
integrity sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==
|
||||||
@@ -1640,6 +1663,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.2.tgz#3a84cf5ec3249439015e14049bd3161419bf9eae"
|
resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.2.tgz#3a84cf5ec3249439015e14049bd3161419bf9eae"
|
||||||
integrity sha512-dIPoZ3g5gcx9zZEszaxLSVTvMReD3xxyyDnQUjA6IYDG9Ba2AV0otMPs+77sG9ojB4Qr2N2Vk5RnKeuA0X/0bg==
|
integrity sha512-dIPoZ3g5gcx9zZEszaxLSVTvMReD3xxyyDnQUjA6IYDG9Ba2AV0otMPs+77sG9ojB4Qr2N2Vk5RnKeuA0X/0bg==
|
||||||
|
|
||||||
|
"@types/trusted-types@^1.0.1":
|
||||||
|
version "1.0.6"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-1.0.6.tgz#569b8a08121d3203398290d602d84d73c8dcf5da"
|
||||||
|
integrity sha512-230RC8sFeHoT6sSUlRO6a8cAnclO06eeiq1QDfiv2FGCLWFvvERWgwIQD4FWqD9A69BN7Lzee4OXwoMVnnsWDw==
|
||||||
|
|
||||||
"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2", "@types/unist@^2.0.3":
|
"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2", "@types/unist@^2.0.3":
|
||||||
version "2.0.3"
|
version "2.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e"
|
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e"
|
||||||
@@ -1847,13 +1875,14 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
glob "^7.0.0"
|
glob "^7.0.0"
|
||||||
|
|
||||||
"@web/rollup-plugin-html@^1.6.0":
|
"@web/rollup-plugin-html@^1.8.0":
|
||||||
version "1.6.0"
|
version "1.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/@web/rollup-plugin-html/-/rollup-plugin-html-1.6.0.tgz#fd3f406fd6d74a0cded581953a3146fe9f0454ad"
|
resolved "https://registry.yarnpkg.com/@web/rollup-plugin-html/-/rollup-plugin-html-1.8.0.tgz#6be12acca2158f7aa105f1d6767ac8a95d5f02fc"
|
||||||
integrity sha512-m5xDI6ZhdAI2nfHwU3NXJ/dcDWghR+g/RrlAtIWYlj8NvXk/ZNqVVK1NbJrI/e5RlgDQ/+OycjmKgyAP9W1tWA==
|
integrity sha512-aVOPpbnpXsIt0G3vVvtUz2ioKP9zUKmbE6wcTcFD/ncxM72JzTsUmIQAITGaoZMFjAwhKBEPYBbySDJJF/MvAg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@web/parse5-utils" "^1.2.2"
|
"@web/parse5-utils" "^1.2.2"
|
||||||
glob "^7.1.6"
|
glob "^7.1.6"
|
||||||
|
html-minifier-terser "^5.1.1"
|
||||||
parse5 "^6.0.1"
|
parse5 "^6.0.1"
|
||||||
|
|
||||||
"@web/rollup-plugin-import-meta-assets@^1.0.4":
|
"@web/rollup-plugin-import-meta-assets@^1.0.4":
|
||||||
@@ -1959,6 +1988,11 @@
|
|||||||
portfinder "^1.0.28"
|
portfinder "^1.0.28"
|
||||||
source-map "^0.7.3"
|
source-map "^0.7.3"
|
||||||
|
|
||||||
|
"@webcomponents/scoped-custom-element-registry@0.0.1":
|
||||||
|
version "0.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@webcomponents/scoped-custom-element-registry/-/scoped-custom-element-registry-0.0.1.tgz#196365260a019f87bddbded154ab09faf0e666fc"
|
||||||
|
integrity sha512-ef5/v4U2vCxrnSMpo41LSWTjBOXCQ4JOt4+Y6PaSd8ympYioPhOP6E1tKmIk2ppwLSjCKbTyYf7ocHvwDat7bA==
|
||||||
|
|
||||||
"@webcomponents/webcomponentsjs@^2.5.0":
|
"@webcomponents/webcomponentsjs@^2.5.0":
|
||||||
version "2.5.0"
|
version "2.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/@webcomponents/webcomponentsjs/-/webcomponentsjs-2.5.0.tgz#61b27785a6ad5bfd68fa018201fe418b118cb38d"
|
resolved "https://registry.yarnpkg.com/@webcomponents/webcomponentsjs/-/webcomponentsjs-2.5.0.tgz#61b27785a6ad5bfd68fa018201fe418b118cb38d"
|
||||||
@@ -2558,6 +2592,14 @@ callsites@^3.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
|
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
|
||||||
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
|
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
|
||||||
|
|
||||||
|
camel-case@^4.1.1:
|
||||||
|
version "4.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a"
|
||||||
|
integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==
|
||||||
|
dependencies:
|
||||||
|
pascal-case "^3.1.2"
|
||||||
|
tslib "^2.0.3"
|
||||||
|
|
||||||
camelcase-keys@^6.2.2:
|
camelcase-keys@^6.2.2:
|
||||||
version "6.2.2"
|
version "6.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0"
|
resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0"
|
||||||
@@ -2617,11 +2659,6 @@ chai-a11y-axe@^1.3.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
axe-core "^4.0.2"
|
axe-core "^4.0.2"
|
||||||
|
|
||||||
chai-dom@^1.8.1:
|
|
||||||
version "1.8.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/chai-dom/-/chai-dom-1.8.2.tgz#e06353baeafa8fddaaabda96a67f859c111a3c7c"
|
|
||||||
integrity sha512-kk2SnCuJliouO5M58OjA7M8VXN338WAxHOm+LbpjeL09pJgRpXugSC5aj8uwFm/6Lmpcdtq7hf+DldTdBm5/Sw==
|
|
||||||
|
|
||||||
chai@^4.2.0:
|
chai@^4.2.0:
|
||||||
version "4.2.0"
|
version "4.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/chai/-/chai-4.2.0.tgz#760aa72cf20e3795e84b12877ce0e83737aa29e5"
|
resolved "https://registry.yarnpkg.com/chai/-/chai-4.2.0.tgz#760aa72cf20e3795e84b12877ce0e83737aa29e5"
|
||||||
@@ -2753,7 +2790,7 @@ ci-info@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
|
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
|
||||||
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
|
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
|
||||||
|
|
||||||
clean-css@^4.1.11:
|
clean-css@^4.1.11, clean-css@^4.2.3:
|
||||||
version "4.2.3"
|
version "4.2.3"
|
||||||
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.3.tgz#507b5de7d97b48ee53d84adb0160ff6216380f78"
|
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.3.tgz#507b5de7d97b48ee53d84adb0160ff6216380f78"
|
||||||
integrity sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==
|
integrity sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==
|
||||||
@@ -2935,6 +2972,11 @@ commander@^2.19.0, commander@^2.2.0, commander@^2.20.0:
|
|||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
|
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
|
||||||
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
|
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
|
||||||
|
|
||||||
|
commander@^4.1.1:
|
||||||
|
version "4.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
|
||||||
|
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
|
||||||
|
|
||||||
commander@^5.1.0:
|
commander@^5.1.0:
|
||||||
version "5.1.0"
|
version "5.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae"
|
resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae"
|
||||||
@@ -3434,6 +3476,14 @@ doctypes@^1.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/doctypes/-/doctypes-1.1.0.tgz#ea80b106a87538774e8a3a4a5afe293de489e0a9"
|
resolved "https://registry.yarnpkg.com/doctypes/-/doctypes-1.1.0.tgz#ea80b106a87538774e8a3a4a5afe293de489e0a9"
|
||||||
integrity sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk=
|
integrity sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk=
|
||||||
|
|
||||||
|
dot-case@^3.0.4:
|
||||||
|
version "3.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751"
|
||||||
|
integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==
|
||||||
|
dependencies:
|
||||||
|
no-case "^3.0.4"
|
||||||
|
tslib "^2.0.3"
|
||||||
|
|
||||||
dynamic-import-polyfill@^0.1.1:
|
dynamic-import-polyfill@^0.1.1:
|
||||||
version "0.1.1"
|
version "0.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/dynamic-import-polyfill/-/dynamic-import-polyfill-0.1.1.tgz#e1f9eb1876ee242bd56572f8ed4df768e143083f"
|
resolved "https://registry.yarnpkg.com/dynamic-import-polyfill/-/dynamic-import-polyfill-0.1.1.tgz#e1f9eb1876ee242bd56572f8ed4df768e143083f"
|
||||||
@@ -4491,7 +4541,7 @@ hastscript@^6.0.0:
|
|||||||
property-information "^5.0.0"
|
property-information "^5.0.0"
|
||||||
space-separated-tokens "^1.0.0"
|
space-separated-tokens "^1.0.0"
|
||||||
|
|
||||||
he@1.2.0:
|
he@1.2.0, he@^1.2.0:
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
|
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
|
||||||
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
|
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
|
||||||
@@ -4506,6 +4556,19 @@ html-escaper@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453"
|
resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453"
|
||||||
integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==
|
integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==
|
||||||
|
|
||||||
|
html-minifier-terser@^5.1.1:
|
||||||
|
version "5.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz#922e96f1f3bb60832c2634b79884096389b1f054"
|
||||||
|
integrity sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg==
|
||||||
|
dependencies:
|
||||||
|
camel-case "^4.1.1"
|
||||||
|
clean-css "^4.2.3"
|
||||||
|
commander "^4.1.1"
|
||||||
|
he "^1.2.0"
|
||||||
|
param-case "^3.0.3"
|
||||||
|
relateurl "^0.2.7"
|
||||||
|
terser "^4.6.3"
|
||||||
|
|
||||||
html-void-elements@^1.0.0:
|
html-void-elements@^1.0.0:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.5.tgz#ce9159494e86d95e45795b166c2021c2cfca4483"
|
resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.5.tgz#ce9159494e86d95e45795b166c2021c2cfca4483"
|
||||||
@@ -5335,18 +5398,42 @@ listr2@^3.2.2:
|
|||||||
rxjs "^6.6.3"
|
rxjs "^6.6.3"
|
||||||
through "^2.3.8"
|
through "^2.3.8"
|
||||||
|
|
||||||
lit-element@^2.0.1, lit-element@^2.2.1, lit-element@^2.4.0, lit-element@~2.4.0:
|
lit-element@^2.0.1, lit-element@^2.4.0, lit-element@~2.4.0:
|
||||||
version "2.4.0"
|
version "2.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.4.0.tgz#b22607a037a8fc08f5a80736dddf7f3f5d401452"
|
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.4.0.tgz#b22607a037a8fc08f5a80736dddf7f3f5d401452"
|
||||||
integrity sha512-pBGLglxyhq/Prk2H91nA0KByq/hx/wssJBQFiYqXhGDvEnY31PRGYf1RglVzyLeRysu0IHm2K0P196uLLWmwFg==
|
integrity sha512-pBGLglxyhq/Prk2H91nA0KByq/hx/wssJBQFiYqXhGDvEnY31PRGYf1RglVzyLeRysu0IHm2K0P196uLLWmwFg==
|
||||||
dependencies:
|
dependencies:
|
||||||
lit-html "^1.1.1"
|
lit-html "^1.1.1"
|
||||||
|
|
||||||
|
lit-element@^3.0.0-rc.2:
|
||||||
|
version "3.0.0-rc.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-3.0.0-rc.2.tgz#883d0b6fd7b846226d360699d1b713da5fc7e1b7"
|
||||||
|
integrity sha512-2Z7DabJ3b5K+p5073vFjMODoaWqy5PIaI4y6ADKm+fCGc8OnX9fU9dMoUEBZjFpd/bEFR9PBp050tUtBnT9XTQ==
|
||||||
|
dependencies:
|
||||||
|
"@lit/reactive-element" "^1.0.0-rc.2"
|
||||||
|
lit-html "^2.0.0-rc.3"
|
||||||
|
|
||||||
lit-html@^1.0.0, lit-html@^1.1.1, lit-html@^1.3.0:
|
lit-html@^1.0.0, lit-html@^1.1.1, lit-html@^1.3.0:
|
||||||
version "1.3.0"
|
version "1.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.3.0.tgz#c80f3cc5793a6dea6c07172be90a70ab20e56034"
|
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.3.0.tgz#c80f3cc5793a6dea6c07172be90a70ab20e56034"
|
||||||
integrity sha512-0Q1bwmaFH9O14vycPHw8C/IeHMk/uSDldVLIefu/kfbTBGIc44KGH6A8p1bDfxUfHdc8q6Ct7kQklWoHgr4t1Q==
|
integrity sha512-0Q1bwmaFH9O14vycPHw8C/IeHMk/uSDldVLIefu/kfbTBGIc44KGH6A8p1bDfxUfHdc8q6Ct7kQklWoHgr4t1Q==
|
||||||
|
|
||||||
|
lit-html@^2.0.0-rc.3:
|
||||||
|
version "2.0.0-rc.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.0.0-rc.3.tgz#1c216e548630e18d3093d97f4e29563abce659af"
|
||||||
|
integrity sha512-Y6P8LlAyQuqvzq6l/Nc4z5/P5M/rVLYKQIRxcNwSuGajK0g4kbcBFQqZmgvqKG+ak+dHZjfm2HUw9TF5N/pkCw==
|
||||||
|
dependencies:
|
||||||
|
"@types/trusted-types" "^1.0.1"
|
||||||
|
|
||||||
|
lit@^2.0.0-rc.1, lit@^2.0.0-rc.2:
|
||||||
|
version "2.0.0-rc.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/lit/-/lit-2.0.0-rc.2.tgz#724a2d621aa098001d73bf7106f3a72b7b5948ef"
|
||||||
|
integrity sha512-BOCuoJR04WaTV8UqTKk09cNcQA10Aq2LCcBOiHuF7TzWH5RNDsbCBP5QM9sLBSotGTXbDug/gFO08jq6TbyEtw==
|
||||||
|
dependencies:
|
||||||
|
"@lit/reactive-element" "^1.0.0-rc.2"
|
||||||
|
lit-element "^3.0.0-rc.2"
|
||||||
|
lit-html "^2.0.0-rc.3"
|
||||||
|
|
||||||
load-json-file@^4.0.0:
|
load-json-file@^4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
|
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
|
||||||
@@ -5468,6 +5555,13 @@ longest@^1.0.1:
|
|||||||
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
|
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
|
||||||
integrity sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=
|
integrity sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=
|
||||||
|
|
||||||
|
lower-case@^2.0.2:
|
||||||
|
version "2.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28"
|
||||||
|
integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==
|
||||||
|
dependencies:
|
||||||
|
tslib "^2.0.3"
|
||||||
|
|
||||||
lru-cache@^4.0.1, lru-cache@^4.1.5:
|
lru-cache@^4.0.1, lru-cache@^4.1.5:
|
||||||
version "4.1.5"
|
version "4.1.5"
|
||||||
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"
|
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"
|
||||||
@@ -5989,6 +6083,14 @@ nise@^4.0.4:
|
|||||||
just-extend "^4.0.2"
|
just-extend "^4.0.2"
|
||||||
path-to-regexp "^1.7.0"
|
path-to-regexp "^1.7.0"
|
||||||
|
|
||||||
|
no-case@^3.0.4:
|
||||||
|
version "3.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d"
|
||||||
|
integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==
|
||||||
|
dependencies:
|
||||||
|
lower-case "^2.0.2"
|
||||||
|
tslib "^2.0.3"
|
||||||
|
|
||||||
node-abi@^2.21.0:
|
node-abi@^2.21.0:
|
||||||
version "2.26.0"
|
version "2.26.0"
|
||||||
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.26.0.tgz#355d5d4bc603e856f74197adbf3f5117a396ba40"
|
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.26.0.tgz#355d5d4bc603e856f74197adbf3f5117a396ba40"
|
||||||
@@ -6335,6 +6437,14 @@ p-try@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
|
resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
|
||||||
integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==
|
integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==
|
||||||
|
|
||||||
|
param-case@^3.0.3:
|
||||||
|
version "3.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5"
|
||||||
|
integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==
|
||||||
|
dependencies:
|
||||||
|
dot-case "^3.0.4"
|
||||||
|
tslib "^2.0.3"
|
||||||
|
|
||||||
parent-module@^1.0.0:
|
parent-module@^1.0.0:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
|
resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
|
||||||
@@ -6432,6 +6542,14 @@ parseurl@^1.3.2, parseurl@~1.3.2:
|
|||||||
resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
|
resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
|
||||||
integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==
|
integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==
|
||||||
|
|
||||||
|
pascal-case@^3.1.2:
|
||||||
|
version "3.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-3.1.2.tgz#b48e0ef2b98e205e7c1dae747d0b1508237660eb"
|
||||||
|
integrity sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==
|
||||||
|
dependencies:
|
||||||
|
no-case "^3.0.4"
|
||||||
|
tslib "^2.0.3"
|
||||||
|
|
||||||
path-exists@^3.0.0:
|
path-exists@^3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
|
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
|
||||||
@@ -7166,6 +7284,11 @@ rehype-stringify@^8.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
hast-util-to-html "^7.1.1"
|
hast-util-to-html "^7.1.1"
|
||||||
|
|
||||||
|
relateurl@^0.2.7:
|
||||||
|
version "0.2.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
|
||||||
|
integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=
|
||||||
|
|
||||||
remark-autolink-headings@^6.0.1:
|
remark-autolink-headings@^6.0.1:
|
||||||
version "6.0.1"
|
version "6.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/remark-autolink-headings/-/remark-autolink-headings-6.0.1.tgz#074470b8ec7714a0f06fa151e293152bf9723df9"
|
resolved "https://registry.yarnpkg.com/remark-autolink-headings/-/remark-autolink-headings-6.0.1.tgz#074470b8ec7714a0f06fa151e293152bf9723df9"
|
||||||
@@ -7624,11 +7747,6 @@ singleton-manager@1.4.1:
|
|||||||
resolved "https://registry.yarnpkg.com/singleton-manager/-/singleton-manager-1.4.1.tgz#0a9cd1db2b26e5cbc4ecdc20d5a16f284b36aabb"
|
resolved "https://registry.yarnpkg.com/singleton-manager/-/singleton-manager-1.4.1.tgz#0a9cd1db2b26e5cbc4ecdc20d5a16f284b36aabb"
|
||||||
integrity sha512-HOvKT/WcHvl2cLYGqmO6MaC2J4wAA82LntGwtLn6avnTq15UDLCnSRVXedmglVooLbQGVsQJ+dQz2sKz+2GUZA==
|
integrity sha512-HOvKT/WcHvl2cLYGqmO6MaC2J4wAA82LntGwtLn6avnTq15UDLCnSRVXedmglVooLbQGVsQJ+dQz2sKz+2GUZA==
|
||||||
|
|
||||||
sinon-chai@^3.3.0:
|
|
||||||
version "3.5.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/sinon-chai/-/sinon-chai-3.5.0.tgz#c9a78304b0e15befe57ef68e8a85a00553f5c60e"
|
|
||||||
integrity sha512-IifbusYiQBpUxxFJkR3wTU68xzBN0+bxCScEaKMjBvAQERg6FnTTc1F17rseLb1tjmkJ23730AXpFI0c47FgAg==
|
|
||||||
|
|
||||||
sinon@^9.2.3:
|
sinon@^9.2.3:
|
||||||
version "9.2.3"
|
version "9.2.3"
|
||||||
resolved "https://registry.yarnpkg.com/sinon/-/sinon-9.2.3.tgz#f68ce414e843e2fd638703043c97f260697caa52"
|
resolved "https://registry.yarnpkg.com/sinon/-/sinon-9.2.3.tgz#f68ce414e843e2fd638703043c97f260697caa52"
|
||||||
@@ -7757,7 +7875,7 @@ socket.io@2.1.1:
|
|||||||
socket.io-client "2.1.1"
|
socket.io-client "2.1.1"
|
||||||
socket.io-parser "~3.2.0"
|
socket.io-parser "~3.2.0"
|
||||||
|
|
||||||
source-map-support@^0.5.17, source-map-support@~0.5.19:
|
source-map-support@^0.5.17, source-map-support@~0.5.12, source-map-support@~0.5.19:
|
||||||
version "0.5.19"
|
version "0.5.19"
|
||||||
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
|
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
|
||||||
integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
|
integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
|
||||||
@@ -7770,7 +7888,7 @@ source-map@^0.5.0, source-map@~0.5.1:
|
|||||||
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
|
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
|
||||||
integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
|
integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
|
||||||
|
|
||||||
source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0:
|
source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1:
|
||||||
version "0.6.1"
|
version "0.6.1"
|
||||||
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
|
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
|
||||||
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
|
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
|
||||||
@@ -8139,6 +8257,15 @@ term-size@^2.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/term-size/-/term-size-2.2.1.tgz#2a6a54840432c2fb6320fea0f415531e90189f54"
|
resolved "https://registry.yarnpkg.com/term-size/-/term-size-2.2.1.tgz#2a6a54840432c2fb6320fea0f415531e90189f54"
|
||||||
integrity sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==
|
integrity sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==
|
||||||
|
|
||||||
|
terser@^4.6.3:
|
||||||
|
version "4.8.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz#63056343d7c70bb29f3af665865a46fe03a0df17"
|
||||||
|
integrity sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==
|
||||||
|
dependencies:
|
||||||
|
commander "^2.20.0"
|
||||||
|
source-map "~0.6.1"
|
||||||
|
source-map-support "~0.5.12"
|
||||||
|
|
||||||
terser@^5.0.0:
|
terser@^5.0.0:
|
||||||
version "5.5.1"
|
version "5.5.1"
|
||||||
resolved "https://registry.yarnpkg.com/terser/-/terser-5.5.1.tgz#540caa25139d6f496fdea056e414284886fb2289"
|
resolved "https://registry.yarnpkg.com/terser/-/terser-5.5.1.tgz#540caa25139d6f496fdea056e414284886fb2289"
|
||||||
@@ -8276,6 +8403,11 @@ tslib@^1.8.1, tslib@^1.9.0:
|
|||||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
|
||||||
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
|
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
|
||||||
|
|
||||||
|
tslib@^2.0.3:
|
||||||
|
version "2.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.2.0.tgz#fb2c475977e35e241311ede2693cee1ec6698f5c"
|
||||||
|
integrity sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==
|
||||||
|
|
||||||
tsscmp@1.0.6:
|
tsscmp@1.0.6:
|
||||||
version "1.0.6"
|
version "1.0.6"
|
||||||
resolved "https://registry.yarnpkg.com/tsscmp/-/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb"
|
resolved "https://registry.yarnpkg.com/tsscmp/-/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb"
|
||||||
@@ -8347,10 +8479,10 @@ type-is@^1.6.16:
|
|||||||
media-typer "0.3.0"
|
media-typer "0.3.0"
|
||||||
mime-types "~2.1.24"
|
mime-types "~2.1.24"
|
||||||
|
|
||||||
typescript@^4.1.3:
|
typescript@^4.3.2:
|
||||||
version "4.1.3"
|
version "4.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7"
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.2.tgz#399ab18aac45802d6f2498de5054fcbbe716a805"
|
||||||
integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==
|
integrity sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==
|
||||||
|
|
||||||
typical@^4.0.0:
|
typical@^4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user