Skip to content

Commit

Permalink
Use ScopedElementsMixin from common
Browse files Browse the repository at this point in the history
And remove the direct dependency on @open-wc/scoped-elements.
The mixin is now provided by common.
  • Loading branch information
lazka committed Jan 16, 2025
1 parent 3f0eef5 commit 3d009da
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
},
"cloneSubmodules": true,
"packageRules": [
{
"matchPackageNames": ["@open-wc/scoped-elements"],
"allowedVersions": "<3"
},
{
"matchPackageNames": ["pdfjs-dist"],
"allowedVersions": "<4.6"
Expand Down
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"@digital-blueprint/dispatch-app": "^1.2.7",
"@digital-blueprint/esign-app": "^2.1.5",
"@fontsource/nunito-sans": "^5.0.0",
"@open-wc/scoped-elements": "^2.1.0",
"@tugraz/font-source-sans-pro": "^0.2.4",
"@tugraz/web-components": "^0.3.6",
"@webcomponents/scoped-custom-element-registry": "^0.0.9",
Expand Down
2 changes: 1 addition & 1 deletion src/baseObject.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DBPLitElement from '@dbp-toolkit/common/dbp-lit-element';
import {ScopedElementsMixin} from '@open-wc/scoped-elements';
import {ScopedElementsMixin} from '@dbp-toolkit/common';
import {css, html, unsafeCSS} from 'lit';
import {createInstance} from './i18n';
import * as commonStyles from '@dbp-toolkit/common/styles';
Expand Down
2 changes: 1 addition & 1 deletion src/components/dbp-cabinet-facets.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// noinspection CssUnusedSymbol,JSUnresolvedReference

import {ScopedElementsMixin} from '@open-wc/scoped-elements';
import {ScopedElementsMixin} from '@dbp-toolkit/common';
import {css, html, render, unsafeCSS} from 'lit';
import * as commonStyles from '@dbp-toolkit/common/styles';
import DBPCabinetLitElement from '../dbp-cabinet-lit-element.js';
Expand Down
2 changes: 1 addition & 1 deletion src/components/dbp-cabinet-file.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {css, html, unsafeCSS} from 'lit';
import {html as staticHtml, unsafeStatic} from 'lit/static-html.js';
import {createRef, ref} from 'lit/directives/ref.js';
import {ScopedElementsMixin} from '@open-wc/scoped-elements';
import {ScopedElementsMixin} from '@dbp-toolkit/common';
import DBPCabinetLitElement from '../dbp-cabinet-lit-element';
import * as commonStyles from '@dbp-toolkit/common/styles';
import {Button, combineURLs, Icon, Modal} from '@dbp-toolkit/common';
Expand Down
2 changes: 1 addition & 1 deletion src/components/dbp-cabinet-view-person.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {css, html, unsafeCSS} from 'lit';
import {html as staticHtml, unsafeStatic} from 'lit/static-html.js';
import {ref, createRef} from 'lit/directives/ref.js';
import {ScopedElementsMixin} from '@open-wc/scoped-elements';
import {ScopedElementsMixin} from '@dbp-toolkit/common';
import DBPCabinetLitElement from "../dbp-cabinet-lit-element";
import * as commonStyles from '@dbp-toolkit/common/styles';
import {Button, Icon, Modal} from '@dbp-toolkit/common';
Expand Down
2 changes: 1 addition & 1 deletion src/dbp-cabinet-search.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {css, html} from 'lit';
import {html as staticHtml} from 'lit/static-html.js';
import {ref, createRef} from 'lit/directives/ref.js';
import {ScopedElementsMixin} from '@open-wc/scoped-elements';
import {ScopedElementsMixin} from '@dbp-toolkit/common';
import DBPCabinetLitElement from "./dbp-cabinet-lit-element";
import * as commonUtils from '@dbp-toolkit/common/utils';
import * as commonStyles from '@dbp-toolkit/common/styles';
Expand Down

0 comments on commit 3d009da

Please sign in to comment.