Skip to content
Snippets Groups Projects
Commit 146171f6 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

person-select: integrate into lerna

parent dfc4dcdc
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,8 @@
"@rollup/plugin-node-resolve": "^8.1.0",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/plugin-url": "^5.0.1",
"vpu-auth": "file:./vendor/auth",
"vpu-common": "file:./vendor/common"
"vpu-auth": "^1.0.0",
"vpu-common": "^1.0.0"
},
"dependencies": {
"@open-wc/scoped-elements": "^1.0.9",
......
import glob from 'glob';
import path from 'path';
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import copy from 'rollup-plugin-copy';
......@@ -36,15 +35,8 @@ export default {
consts({
environment: build,
}),
resolve({
customResolveOptions: {
// ignore node_modules from vendored packages
moduleDirectory: path.join(process.cwd(), 'node_modules')
}
}),
commonjs({
include: 'node_modules/**'
}),
resolve(),
commonjs(),
url({
limit: 0,
include: [
......
......@@ -301,14 +301,13 @@ export class PersonSelect extends ScopedElementsMixin(LitElement) {
}
static get styles() {
// language=css
return css`
${commonStyles.getThemeCSS()}
${commonStyles.getGeneralCSS()}
${commonStyles.getButtonCSS()}
${commonStyles.getFormAddonsCSS()}
${commonStyles.getSelect2CSS()}
return [
commonStyles.getThemeCSS(),
commonStyles.getGeneralCSS(),
commonStyles.getButtonCSS(),
commonStyles.getFormAddonsCSS(),
commonStyles.getSelect2CSS(),
css`
.select2-control.control {
width: 100%;
}
......@@ -326,7 +325,8 @@ export class PersonSelect extends ScopedElementsMixin(LitElement) {
.field .button.control vpu-icon {
top: 0;
}
`;
`
];
}
render() {
......
......@@ -38,13 +38,14 @@ class PersonSelectDemo extends ScopedElementsMixin(LitElement) {
static get styles() {
// language=css
return css`
${commonStyles.getThemeCSS()}
${commonStyles.getGeneralCSS()}
return [
commonStyles.getThemeCSS(),
commonStyles.getGeneralCSS(),
css`
h1.title {margin-bottom: 1em;}
div.container {margin-bottom: 1.5em;}
`;
`
];
}
getAuthComponentHtml() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment