Skip to content

Commit

Permalink
feat(blockquote-base-embedded-webview): update exports
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarmarina committed Nov 8, 2024
1 parent b57f4ac commit a396f9f
Show file tree
Hide file tree
Showing 15 changed files with 124 additions and 124 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@
**/*.d.ts
**/package-lock.json
**/*.min.js
**/*-styles.*
**/*-styles*.js
**/*-styles*.ts
**/CHANGELOG.md
64 changes: 32 additions & 32 deletions packages/base/blockquote-base-embedded-webview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,38 @@ It will create a `select` tag with the provided demo HTML files and add the `[da
| `js` | `BlockquoteBaseEmbeddedWebviewResize` | BlockquoteBaseEmbeddedWebviewResize | ./BlockquoteBaseEmbeddedWebviewResize.js | |
| `js` | `BlockquoteBaseEmbeddedWebviewElement` | BlockquoteBaseEmbeddedWebviewElement | ./BlockquoteBaseEmbeddedWebviewElement.js | |

### `src/define/blockquote-base-embedded-webview-element.js`:

#### Exports

| Kind | Name | Declaration | Module | Package |
| --------------------------- | ------------------------------------------ | ------------------------------------ | -------------------------------------------- | ------- |
| `custom-element-definition` | `blockquote-base-embedded-webview-element` | BlockquoteBaseEmbeddedWebviewElement | /src/BlockquoteBaseEmbeddedWebviewElement.js | |

### `src/define/blockquote-base-embedded-webview-resize.js`:

#### Exports

| Kind | Name | Declaration | Module | Package |
| --------------------------- | ----------------------------------------- | ----------------------------------- | ------------------------------------------- | ------- |
| `custom-element-definition` | `blockquote-base-embedded-webview-resize` | BlockquoteBaseEmbeddedWebviewResize | /src/BlockquoteBaseEmbeddedWebviewResize.js | |

### `src/define/blockquote-base-embedded-webview-size.js`:

#### Exports

| Kind | Name | Declaration | Module | Package |
| --------------------------- | --------------------------------------- | --------------------------------- | ----------------------------------------- | ------- |
| `custom-element-definition` | `blockquote-base-embedded-webview-size` | BlockquoteBaseEmbeddedWebviewSize | /src/BlockquoteBaseEmbeddedWebviewSize.js | |

### `src/define/blockquote-base-embedded-webview.js`:

#### Exports

| Kind | Name | Declaration | Module | Package |
| --------------------------- | ---------------------------------- | ----------------------------- | -------------------------------------- | ------- |
| `custom-element-definition` | `blockquote-base-embedded-webview` | BlockquoteBaseEmbeddedWebview | /src/BlockquoteBaseEmbeddedWebview\.js | |

### `src/styles/blockquote-base-embedded-webview-element-styles.css.js`:

#### Variables
Expand Down Expand Up @@ -332,35 +364,3 @@ It will create a `select` tag with the provided demo HTML files and add the `[da
| Kind | Name | Declaration | Module | Package |
| ---- | -------- | ----------- | --------------------------------------------------------- | ------- |
| `js` | `styles` | styles | src/styles/blockquote-base-embedded-webview-styles.css.js | |

### `define/blockquote-base-embedded-webview-element.js`:

#### Exports

| Kind | Name | Declaration | Module | Package |
| --------------------------- | ------------------------------------------ | ------------------------------------ | -------------------------------------------- | ------- |
| `custom-element-definition` | `blockquote-base-embedded-webview-element` | BlockquoteBaseEmbeddedWebviewElement | /src/BlockquoteBaseEmbeddedWebviewElement.js | |

### `define/blockquote-base-embedded-webview-resize.js`:

#### Exports

| Kind | Name | Declaration | Module | Package |
| --------------------------- | ----------------------------------------- | ----------------------------------- | ------------------------------------------- | ------- |
| `custom-element-definition` | `blockquote-base-embedded-webview-resize` | BlockquoteBaseEmbeddedWebviewResize | /src/BlockquoteBaseEmbeddedWebviewResize.js | |

### `define/blockquote-base-embedded-webview-size.js`:

#### Exports

| Kind | Name | Declaration | Module | Package |
| --------------------------- | --------------------------------------- | --------------------------------- | ----------------------------------------- | ------- |
| `custom-element-definition` | `blockquote-base-embedded-webview-size` | BlockquoteBaseEmbeddedWebviewSize | /src/BlockquoteBaseEmbeddedWebviewSize.js | |

### `define/blockquote-base-embedded-webview.js`:

#### Exports

| Kind | Name | Declaration | Module | Package |
| --------------------------- | ---------------------------------- | ----------------------------- | -------------------------------------- | ------- |
| `custom-element-definition` | `blockquote-base-embedded-webview` | BlockquoteBaseEmbeddedWebview | /src/BlockquoteBaseEmbeddedWebview\.js | |
120 changes: 60 additions & 60 deletions packages/base/blockquote-base-embedded-webview/custom-elements.json
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,66 @@
}
]
},
{
"kind": "javascript-module",
"path": "src/define/blockquote-base-embedded-webview-element.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "blockquote-base-embedded-webview-element",
"declaration": {
"name": "BlockquoteBaseEmbeddedWebviewElement",
"module": "/src/BlockquoteBaseEmbeddedWebviewElement.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/define/blockquote-base-embedded-webview-resize.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "blockquote-base-embedded-webview-resize",
"declaration": {
"name": "BlockquoteBaseEmbeddedWebviewResize",
"module": "/src/BlockquoteBaseEmbeddedWebviewResize.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/define/blockquote-base-embedded-webview-size.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "blockquote-base-embedded-webview-size",
"declaration": {
"name": "BlockquoteBaseEmbeddedWebviewSize",
"module": "/src/BlockquoteBaseEmbeddedWebviewSize.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/define/blockquote-base-embedded-webview.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "blockquote-base-embedded-webview",
"declaration": {
"name": "BlockquoteBaseEmbeddedWebview",
"module": "/src/BlockquoteBaseEmbeddedWebview.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/styles/blockquote-base-embedded-webview-element-styles.css.js",
Expand Down Expand Up @@ -790,66 +850,6 @@
}
}
]
},
{
"kind": "javascript-module",
"path": "define/blockquote-base-embedded-webview-element.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "blockquote-base-embedded-webview-element",
"declaration": {
"name": "BlockquoteBaseEmbeddedWebviewElement",
"module": "/src/BlockquoteBaseEmbeddedWebviewElement.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "define/blockquote-base-embedded-webview-resize.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "blockquote-base-embedded-webview-resize",
"declaration": {
"name": "BlockquoteBaseEmbeddedWebviewResize",
"module": "/src/BlockquoteBaseEmbeddedWebviewResize.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "define/blockquote-base-embedded-webview-size.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "blockquote-base-embedded-webview-size",
"declaration": {
"name": "BlockquoteBaseEmbeddedWebviewSize",
"module": "/src/BlockquoteBaseEmbeddedWebviewSize.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "define/blockquote-base-embedded-webview.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "blockquote-base-embedded-webview",
"declaration": {
"name": "BlockquoteBaseEmbeddedWebview",
"module": "/src/BlockquoteBaseEmbeddedWebview.js"
}
}
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
data-description="other - description"></template>
</blockquote-base-embedded-webview>

<script type="module" src="../define/blockquote-base-embedded-webview.js"></script>
<script type="module" src="../src/define/blockquote-base-embedded-webview.js"></script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ export default [
'**/*.config.*',
'**/*.d.ts',
'**/*.min.js',
'**/*-styles.*',
'**/*-styles*.js',
'**/*-styles*.ts',
'**/*.workspace.*',
],
},
Expand Down
34 changes: 16 additions & 18 deletions packages/base/blockquote-base-embedded-webview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,52 +17,50 @@
"./package.json": {
"default": "./package.json"
},
"./src/BlockquoteBaseEmbeddedWebview.js": {
"./BlockquoteBaseEmbeddedWebview.js": {
"default": "./src/BlockquoteBaseEmbeddedWebview.js"
},
"./src/BlockquoteBaseEmbeddedWebviewElement.js": {
"./BlockquoteBaseEmbeddedWebviewElement.js": {
"default": "./src/BlockquoteBaseEmbeddedWebviewElement.js"
},
"./src/BlockquoteBaseEmbeddedWebviewResize.js": {
"./BlockquoteBaseEmbeddedWebviewResize.js": {
"default": "./src/BlockquoteBaseEmbeddedWebviewResize.js"
},
"./src/BlockquoteBaseEmbeddedWebviewSize.js": {
"./BlockquoteBaseEmbeddedWebviewSize.js": {
"default": "./src/BlockquoteBaseEmbeddedWebviewSize.js"
},
"./define/blockquote-base-embedded-webview-element.js": {
"default": "./define/blockquote-base-embedded-webview-element.js"
"./blockquote-base-embedded-webview-element.js": {
"default": "./src/define/blockquote-base-embedded-webview-element.js"
},
"./define/blockquote-base-embedded-webview-resize.js": {
"default": "./define/blockquote-base-embedded-webview-resize.js"
"./blockquote-base-embedded-webview-resize.js": {
"default": "./src/define/blockquote-base-embedded-webview-resize.js"
},
"./define/blockquote-base-embedded-webview-size.js": {
"default": "./define/blockquote-base-embedded-webview-size.js"
"./blockquote-base-embedded-webview-size.js": {
"default": "./src/define/blockquote-base-embedded-webview-size.js"
},
"./define/blockquote-base-embedded-webview.js": {
"default": "./define/blockquote-base-embedded-webview.js"
"./blockquote-base-embedded-webview.js": {
"default": "./src/define/blockquote-base-embedded-webview.js"
},
"./index.js": {
"default": "./src/index.js"
},
"./src/styles/blockquote-base-embedded-webview-styles.css.js": {
"./blockquote-base-embedded-webview-styles.css.js": {
"default": "./src/styles/blockquote-base-embedded-webview-styles.css.js"
},
"./src/styles/blockquote-base-embedded-webview-element-styles.css.js": {
"./blockquote-base-embedded-webview-element-styles.css.js": {
"default": "./src/styles/blockquote-base-embedded-webview-element-styles.css.js"
},
"./src/styles/blockquote-base-embedded-webview-resize-styles.css.js": {
"./blockquote-base-embedded-webview-resize-styles.css.js": {
"default": "./src/styles/blockquote-base-embedded-webview-resize-styles.css.js"
},
"./src/styles/blockquote-base-embedded-webview-size-styles.css.js": {
"./blockquote-base-embedded-webview-size-styles.css.js": {
"default": "./src/styles/blockquote-base-embedded-webview-size-styles.css.js"
}
},
"main": "src/index.js",
"module": "src/index.js",
"files": [
"/define/",
"/src/",
"index.js",
"!/**/*.scss"
],
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {html, LitElement, render as LitHtmlRender} from 'lit';
import {ref, createRef} from 'lit/directives/ref.js';
import '../define/blockquote-base-embedded-webview-size.js';
import '../define/blockquote-base-embedded-webview-resize.js';
import '../define/blockquote-base-embedded-webview-element.js';
import './define/blockquote-base-embedded-webview-size.js';
import './define/blockquote-base-embedded-webview-resize.js';
import './define/blockquote-base-embedded-webview-element.js';
import {styles} from './styles/blockquote-base-embedded-webview-styles.css.js';

const chevronDownIcon = html`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {BlockquoteBaseEmbeddedWebviewElement} from '../src/BlockquoteBaseEmbeddedWebviewElement.js';
import {BlockquoteBaseEmbeddedWebviewElement} from '../BlockquoteBaseEmbeddedWebviewElement.js';

window.customElements.define(
'blockquote-base-embedded-webview-element',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {BlockquoteBaseEmbeddedWebviewResize} from '../src/BlockquoteBaseEmbeddedWebviewResize.js';
import {BlockquoteBaseEmbeddedWebviewResize} from '../BlockquoteBaseEmbeddedWebviewResize.js';

window.customElements.define(
'blockquote-base-embedded-webview-resize',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {BlockquoteBaseEmbeddedWebviewSize} from '../src/BlockquoteBaseEmbeddedWebviewSize.js';
import {BlockquoteBaseEmbeddedWebviewSize} from '../BlockquoteBaseEmbeddedWebviewSize.js';

window.customElements.define(
'blockquote-base-embedded-webview-size',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import {BlockquoteBaseEmbeddedWebview} from '../src/BlockquoteBaseEmbeddedWebview.js';
import {BlockquoteBaseEmbeddedWebview} from '../BlockquoteBaseEmbeddedWebview.js';

window.customElements.define('blockquote-base-embedded-webview', BlockquoteBaseEmbeddedWebview);
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable import/no-extraneous-dependencies */
import {html, fixture, assert, fixtureCleanup, oneEvent} from '@open-wc/testing';
import '../define/blockquote-base-embedded-webview-element.js';
import '../src/define/blockquote-base-embedded-webview-element.js';

suite('BlockquoteBaseEmbeddedWebviewElement', () => {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable import/no-extraneous-dependencies */
import {html, fixture, assert, fixtureCleanup} from '@open-wc/testing';
import '../define/blockquote-base-embedded-webview-resize.js';
import '../src/define/blockquote-base-embedded-webview-resize.js';

/**
* @param {string} type The type of event
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable import/no-extraneous-dependencies */
import {html, fixture, assert, fixtureCleanup} from '@open-wc/testing';
import {spy} from 'sinon';
import '../define/blockquote-base-embedded-webview-size.js';
import '../src/define/blockquote-base-embedded-webview-size.js';

suite('BlockquoteBaseEmbeddedWebviewSize', () => {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable import/no-extraneous-dependencies */
import {html, fixture, assert, fixtureCleanup, oneEvent} from '@open-wc/testing';

import '../define/blockquote-base-embedded-webview.js';
import '../src/define/blockquote-base-embedded-webview.js';

suite('BlockquoteBaseEmbeddedWebview', () => {
/**
Expand Down

0 comments on commit a396f9f

Please sign in to comment.