@api-components/api-navigation
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -25,3 +25,3 @@ import { LitElement, html, css } from 'lit-element'; | ||
* | ||
* AMF model can be passed directly by setting `amfModel` property or by | ||
* AMF model can be passed directly by setting `amf` property or by | ||
* setting `aware` property and by use `raml-aware` element. It allows | ||
@@ -460,8 +460,8 @@ * to communicate AMF data without having access to the element due to | ||
get amfModel() { | ||
return this._amfModel; | ||
get amf() { | ||
return this._amf; | ||
} | ||
set amfModel(value) { | ||
this._setProperty('amfModel', value); | ||
set amf(value) { | ||
this._setProperty('amf', value); | ||
this._amfChanged(value); | ||
@@ -601,3 +601,3 @@ } | ||
/** | ||
* Called by the Polymer change observer when `amfModel` property change. | ||
* Called by the Polymer change observer when `amf` property change. | ||
* @param {Array|Object} model AMF model | ||
@@ -1404,7 +1404,7 @@ */ | ||
/** | ||
* Updates value of `amfModel` from `raml-aware`'s api property change. | ||
* Updates value of `amf` from `raml-aware`'s api property change. | ||
* @param {CustomEvent} e | ||
*/ | ||
_awareApiChanged(e) { | ||
this.amfModel = e.detail.value; | ||
this.amf = e.detail.value; | ||
} | ||
@@ -1411,0 +1411,0 @@ /** |
@@ -416,1 +416,28 @@ <a name="2.0.14"></a> | ||
# [3.0.0](https://github.com/advanced-rest-client/api-navigation/compare/2.0.8...3.0.0) (2019-06-14) | ||
### Breaking | ||
* Adding `allowPaths` property to render paths. ([06bab1cb015a57b635b773813982992f7862e10d](https://github.com/advanced-rest-client/api-navigation/commit/06bab1cb015a57b635b773813982992f7862e10d)) | ||
### Docs | ||
* Updating Polymer docs ([c82c0b9f772eada87945f51382a2588e246a7c1b](https://github.com/advanced-rest-client/api-navigation/commit/c82c0b9f772eada87945f51382a2588e246a7c1b)) | ||
### Fix | ||
* Fixes #1 - add `data-endpoint-path` attribute ([491f46d1e992d4930bad1ca7794d2016201fbf1c](https://github.com/advanced-rest-client/api-navigation/commit/491f46d1e992d4930bad1ca7794d2016201fbf1c)), closes [#1](https://github.com/advanced-rest-client/api-navigation/issues/1) | ||
* Fixes #2 - correct endpoint rendering ([77a21f8d777c768fd0b4d7faa4e0a3b1905761b0](https://github.com/advanced-rest-client/api-navigation/commit/77a21f8d777c768fd0b4d7faa4e0a3b1905761b0)), closes [#2](https://github.com/advanced-rest-client/api-navigation/issues/2) | ||
### New | ||
* Adding support for Type, Security, Documentation, and Library fragments ([b2294a422f83fa824bf1373d75f0eff4a072b891](https://github.com/advanced-rest-client/api-navigation/commit/b2294a422f83fa824bf1373d75f0eff4a072b891)) | ||
### Update | ||
* Adding support for common method label styles ([4321efb5a171f5b7f79c2b8d1e6f67d374685cd4](https://github.com/advanced-rest-client/api-navigation/commit/4321efb5a171f5b7f79c2b8d1e6f67d374685cd4)) | ||
* Updating AMF model ([f6c4fd5f07e1b00209711f80b972613443320f15](https://github.com/advanced-rest-client/api-navigation/commit/f6c4fd5f07e1b00209711f80b972613443320f15)) | ||
@@ -14,3 +14,3 @@ { | ||
"name": "@api-components/api-navigation", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"license": "Apache-2.0", | ||
@@ -26,3 +26,3 @@ "authors": [ | ||
"@open-wc/testing": "^0.11.1", | ||
"@open-wc/testing-karma": "^2.0.4", | ||
"@open-wc/testing-karma": "^2.0.5", | ||
"@polymer/gen-typescript-declarations": "^1.6.1", | ||
@@ -35,6 +35,6 @@ "@polymer/iron-test-helpers": "^3.0.0", | ||
"@webcomponents/webcomponentsjs": "^2.2.10", | ||
"owc-dev-server": "^0.3.0", | ||
"sinon": "^7.3.2", | ||
"owc-dev-server": "^0.3.0", | ||
"webpack-merge": "^4.1.5", | ||
"web-animations-js": "^2.3.1" | ||
"web-animations-js": "^2.3.1", | ||
"webpack-merge": "^4.1.5" | ||
}, | ||
@@ -61,3 +61,3 @@ "main": "api-navigation.js", | ||
"@advanced-rest-client/arc-icons": "^3.0.0", | ||
"@api-components/amf-helper-mixin": "^3.0.0", | ||
"@api-components/amf-helper-mixin": "^3.0.1", | ||
"@api-components/http-method-label": "^3.0.0", | ||
@@ -64,0 +64,0 @@ "@api-components/raml-aware": "^3.0.0", |
[![Published on NPM](https://img.shields.io/npm/v/@api-components/api-navigation.svg)](https://www.npmjs.com/package/@api-components/api-navigation) | ||
[![Build Status](https://travis-ci.org/api-components/api-navigation.svg?branch=stage)](https://travis-ci.org/api-components/api-navigation) | ||
[![Build Status](https://travis-ci.org/api-components/advanced-rest-client.svg?branch=stage)](https://travis-ci.org/advanced-rest-client/api-navigation) | ||
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/api-components/api-navigation) | ||
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/advanced-rest-client/api-navigation) | ||
@@ -56,3 +56,3 @@ ## <api-navigation> | ||
```sh | ||
git clone https://github.com/api-components/api-navigation | ||
git clone https://github.com/advanced-rest-client/api-navigation | ||
cd api-navigation | ||
@@ -59,0 +59,0 @@ npm install |
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
104016