@api-components/api-navigation 4.3.4 → 4.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/ApiNavigation.js +8 -11
- package/src/Styles.js +1 -0
package/package.json
CHANGED
package/src/ApiNavigation.js
CHANGED
|
@@ -3,7 +3,7 @@ import { LitElement, html } from 'lit-element';
|
|
|
3
3
|
import { AmfHelperMixin } from '@api-components/amf-helper-mixin/amf-helper-mixin.js';
|
|
4
4
|
import '@api-components/raml-aware/raml-aware.js';
|
|
5
5
|
import '@anypoint-web-components/anypoint-button/anypoint-icon-button.js';
|
|
6
|
-
import '@advanced-rest-client/icons/
|
|
6
|
+
import { keyboardArrowDown, codegenie, openInNew } from '@advanced-rest-client/icons/ArcIcons.js';
|
|
7
7
|
import '@anypoint-web-components/anypoint-collapse/anypoint-collapse.js';
|
|
8
8
|
import httpMethodStyles from '@api-components/http-method-label/http-method-label-common-styles.js';
|
|
9
9
|
import navStyles from './Styles.js';
|
|
@@ -1873,7 +1873,7 @@ export class ApiNavigation extends AmfHelperMixin(LitElement) {
|
|
|
1873
1873
|
data-toggle="endpoints"
|
|
1874
1874
|
>
|
|
1875
1875
|
<span class="icon" aria-label="${toggleState}"
|
|
1876
|
-
|
|
1876
|
+
>${keyboardArrowDown}</span
|
|
1877
1877
|
>
|
|
1878
1878
|
</anypoint-icon-button>
|
|
1879
1879
|
</div>
|
|
@@ -1960,7 +1960,7 @@ export class ApiNavigation extends AmfHelperMixin(LitElement) {
|
|
|
1960
1960
|
tabindex="-1"
|
|
1961
1961
|
@click="${this._toggleEndpointButton}"
|
|
1962
1962
|
>
|
|
1963
|
-
<span class="icon" aria-label="${ariaLabel}"
|
|
1963
|
+
<span class="icon" aria-label="${ariaLabel}">${keyboardArrowDown}</span>
|
|
1964
1964
|
</anypoint-icon-button>
|
|
1965
1965
|
</div>
|
|
1966
1966
|
<anypoint-collapse
|
|
@@ -2006,10 +2006,7 @@ export class ApiNavigation extends AmfHelperMixin(LitElement) {
|
|
|
2006
2006
|
data-method="${methodItem.method}"
|
|
2007
2007
|
>${methodItem.method}
|
|
2008
2008
|
${methodItem.hasAgent
|
|
2009
|
-
? html`<
|
|
2010
|
-
icon="codegenie"
|
|
2011
|
-
class="method-icon"
|
|
2012
|
-
></arc-icon>`
|
|
2009
|
+
? html`<span class="method-icon">${codegenie}</span>`
|
|
2013
2010
|
: ''}</span
|
|
2014
2011
|
>
|
|
2015
2012
|
${methodItem.label}
|
|
@@ -2051,7 +2048,7 @@ export class ApiNavigation extends AmfHelperMixin(LitElement) {
|
|
|
2051
2048
|
tabindex="-1"
|
|
2052
2049
|
>
|
|
2053
2050
|
<span class="icon" aria-label="${toggleState}"
|
|
2054
|
-
|
|
2051
|
+
>${keyboardArrowDown}</span
|
|
2055
2052
|
>
|
|
2056
2053
|
</anypoint-icon-button>
|
|
2057
2054
|
</div>
|
|
@@ -2081,7 +2078,7 @@ export class ApiNavigation extends AmfHelperMixin(LitElement) {
|
|
|
2081
2078
|
>
|
|
2082
2079
|
${item.label}
|
|
2083
2080
|
<span class="icon new-tab" title="Opens in a new tab"
|
|
2084
|
-
|
|
2081
|
+
>${openInNew}</span
|
|
2085
2082
|
>
|
|
2086
2083
|
</a>`;
|
|
2087
2084
|
}
|
|
@@ -2131,7 +2128,7 @@ export class ApiNavigation extends AmfHelperMixin(LitElement) {
|
|
|
2131
2128
|
data-toggle="types"
|
|
2132
2129
|
>
|
|
2133
2130
|
<span class="icon" aria-label="${toggleState}"
|
|
2134
|
-
|
|
2131
|
+
>${keyboardArrowDown}</span
|
|
2135
2132
|
>
|
|
2136
2133
|
</anypoint-icon-button>
|
|
2137
2134
|
</div>
|
|
@@ -2192,7 +2189,7 @@ export class ApiNavigation extends AmfHelperMixin(LitElement) {
|
|
|
2192
2189
|
data-toggle="security"
|
|
2193
2190
|
>
|
|
2194
2191
|
<span class="icon" aria-label="${toggleState}"
|
|
2195
|
-
|
|
2192
|
+
>${keyboardArrowDown}</span
|
|
2196
2193
|
>
|
|
2197
2194
|
</anypoint-icon-button>
|
|
2198
2195
|
</div>
|