api-viewer-element
Advanced tools
Comparing version 0.3.9 to 0.3.10
@@ -19,2 +19,12 @@ # Change Log | ||
## [0.3.10] - 2020-02-04 | ||
### Added | ||
- Added `demo-parts` CSS shadow part for styling | ||
### Fixed | ||
- Docs: apply font styles to lists in markdown | ||
## [0.3.9] - 2020-02-04 | ||
@@ -21,0 +31,0 @@ |
@@ -65,3 +65,3 @@ import { __decorate } from "tslib"; | ||
</div> | ||
<api-viewer-tabs class="demo-tabs"> | ||
<api-viewer-tabs part="demo-tabs"> | ||
<api-viewer-tab heading="Source" slot="tab" part="tab"></api-viewer-tab> | ||
@@ -68,0 +68,0 @@ <api-viewer-panel slot="panel" part="tab-panel"> |
@@ -34,3 +34,5 @@ import { css } from 'lit-element'; | ||
p { | ||
p, | ||
ul, | ||
ol { | ||
margin: 1rem 0; | ||
@@ -159,3 +161,5 @@ font-size: 0.9375rem; | ||
[part='docs-markdown'] p { | ||
[part='docs-markdown'] p, | ||
[part='docs-markdown'] ul, | ||
[part='docs-markdown'] ol { | ||
margin: 0.5rem 0; | ||
@@ -170,3 +174,3 @@ } | ||
[part='docs-item']:not(:first-of-type), | ||
.demo-tabs, | ||
[part='demo-tabs'], | ||
[part='demo-output'] { | ||
@@ -176,3 +180,3 @@ border-top: solid 1px var(--ave-border-color); | ||
.demo-tabs [part='tab-panel'] { | ||
[part='demo-tabs'] [part='tab-panel'] { | ||
box-sizing: border-box; | ||
@@ -179,0 +183,0 @@ position: relative; |
{ | ||
"name": "api-viewer-element", | ||
"version": "0.3.9", | ||
"version": "0.3.10", | ||
"description": "Web Components API viewer element", | ||
@@ -5,0 +5,0 @@ "author": "Serhii Kulykov <iamkulykov@gmail.com>", |
@@ -237,2 +237,3 @@ # <api-viewer> | ||
| `demo-output` | Wrapper of the rendered component in the live demo | | ||
| `demo-tabs` | Tabs component used to switch panels in the live demo | | ||
| `event-log` | Wrapper of the event log tab content | | ||
@@ -239,0 +240,0 @@ | `event-record` | `<p>` used as a record in the event log | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
196090
2154
294