@api-components/api-annotation-document
Advanced tools
Comparing version 4.0.3 to 4.1.0
@@ -206,3 +206,3 @@ import { LitElement, html, css } from 'lit-element'; | ||
_computeName(item) { | ||
return this._getValue(item, this.ns.aml.vocabularies.document.name); | ||
return this._getValue(item, this.ns.aml.vocabularies.core.extensionName); | ||
} | ||
@@ -305,5 +305,2 @@ /** | ||
const value = hasValue ? this._renderItemValue(item) : ''; | ||
if (!name && !value) { | ||
return ''; | ||
} | ||
return html`<style>${this.styles}</style> | ||
@@ -313,3 +310,3 @@ <div class="custom-property"> | ||
<div class="info-value"> | ||
${name ? html`<span class="name">${name}</span>` : ''} | ||
<span class="name">${name}</span> | ||
${value} | ||
@@ -316,0 +313,0 @@ </div> |
@@ -201,1 +201,15 @@ <a name="2.0.3"></a> | ||
<a name="4.1.0"></a> | ||
## [4.1.0](https://github.com/advanced-rest-client/api-annotation-document/compare/4.0.2...4.1.0) (2020-11-25) | ||
### Update | ||
* [ci skip] automated merge master->stage. syncing main branches [e5db535](https://github.com/advanced-rest-client/api-annotation-document/commit/e5db535d3dcc2f1916506fb1ef3d287e106df7c8) by Ci agent | ||
* [ci skip] automated merge master->stage. syncing main branches [417d10f](https://github.com/advanced-rest-client/api-annotation-document/commit/417d10fc4e7536ad26a2f1df008c9732d702b589) by Ci agent | ||
### Bug Fixes | ||
* lookup values in array customDomainProperties (#3) [bump-version] [db47105](https://github.com/advanced-rest-client/api-annotation-document/commit/db4710527e2623492baeab38820d48674c0226ce) by Nicolas Schejtman | ||
{ | ||
"name": "@api-components/api-annotation-document", | ||
"description": "An element to render RAML annotations based on AMF data model", | ||
"version": "4.0.3", | ||
"version": "4.1.0", | ||
"license": "Apache-2.0", | ||
@@ -38,8 +38,7 @@ "main": "api-annotation-document.js", | ||
"@advanced-rest-client/prettier-config": "^0.1.0", | ||
"@advanced-rest-client/testing-karma-sl": "^1.1.0", | ||
"@api-components/api-console-default-theme": "^3.0.0-preview.2", | ||
"@api-components/api-model-generator": "^0.2.3", | ||
"@api-components/api-navigation": "^4.0.2", | ||
"@commitlint/cli": "^8.3.4", | ||
"@commitlint/config-conventional": "^8.3.4", | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@open-wc/testing": "^2.4.2", | ||
@@ -51,2 +50,4 @@ "@open-wc/testing-karma": "^3.2.25", | ||
"@polymer/paper-listbox": "^3.0.0", | ||
"@web/test-runner": "^0.9.11", | ||
"@web/test-runner-playwright": "^0.6.6", | ||
"@webcomponents/webcomponentsjs": "^2.4.0", | ||
@@ -61,3 +62,2 @@ "deepmerge": "^4.2.2", | ||
"scripts": { | ||
"test": "karma start --coverage", | ||
"update-types": "gen-typescript-declarations --deleteExisting --outDir .", | ||
@@ -72,6 +72,8 @@ "start": "es-dev-server --app-index demo/index.html --node-resolve --open --watch", | ||
"format": "npm run format:eslint && npm run format:prettier", | ||
"test:watch": "karma start --auto-watch=true --single-run=false", | ||
"test:legacy": "karma start --compatibility all --coverage", | ||
"test:legacy:watch": "karma start --compatibility all --auto-watch=true --single-run=false", | ||
"test:sl": "karma start karma.sl.config.js --compatibility all --coverage", | ||
"test": "web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit", | ||
"test:watch": "web-test-runner test/**/*.test.js --node-resolve --watch", | ||
"test:update-snapshots": "web-test-runner test/**/*.test.js --update-snapshots", | ||
"test:prune-snapshots": "web-test-runner test/**/*.test.js --prune-snapshots", | ||
"test:compatibility": "web-test-runner test/**/*.test.js --compatibility auto --coverage", | ||
"test:compatibility:watch": "web-test-runner test/**/*.test.js --compatibility auto --auto-watch=true --single-run=false", | ||
"generate-model": "node demo/model.js" | ||
@@ -78,0 +80,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27631
23
408