@sveltejs/pancake
Advanced tools
+4
-0
| # @sveltejs/pancake changelog | ||
| ## 0.0.11 | ||
| * Use `<div class="pancake-whatever">` instead of `<pancake-whatever>` so AMP stops whinging | ||
| ## 0.0.10 | ||
@@ -4,0 +8,0 @@ |
@@ -30,10 +30,10 @@ <script> | ||
| <pancake-box style={style}> | ||
| <div class="pancake-box" style={style}> | ||
| <slot></slot> | ||
| </pancake-box> | ||
| </div> | ||
| <style> | ||
| pancake-box { | ||
| .pancake-box { | ||
| position: absolute; | ||
| } | ||
| </style> |
@@ -76,8 +76,8 @@ <script context="module"> | ||
| <pancake-chart bind:this={chart} on:mousemove={handle_mousemove} class:clip> | ||
| <div class="pancake-chart" bind:this={chart} on:mousemove={handle_mousemove} class:clip> | ||
| <slot></slot> | ||
| </pancake-chart> | ||
| </div> | ||
| <style> | ||
| pancake-chart { | ||
| .pancake-chart { | ||
| position: relative; | ||
@@ -84,0 +84,0 @@ display: block; |
@@ -30,12 +30,12 @@ <script> | ||
| <pancake-grid> | ||
| <div class="pancake-grid"> | ||
| {#each _ticks as tick, i} | ||
| <pancake-grid-item style={style(tick)}> | ||
| <div class="pancake-grid-item" style={style(tick)}> | ||
| <slot value={tick} first={i === 0} last={i === _ticks.length - 1}></slot> | ||
| </pancake-grid-item> | ||
| </div> | ||
| {/each} | ||
| </pancake-grid> | ||
| </div> | ||
| <style> | ||
| pancake-grid-item { | ||
| .pancake-grid-item { | ||
| position: absolute; | ||
@@ -42,0 +42,0 @@ left: 0; |
@@ -10,8 +10,8 @@ <script> | ||
| <pancake-point style="left: {$x_scale(x)}%; top: {$y_scale(y)}%"> | ||
| <div class="pancake-point" style="left: {$x_scale(x)}%; top: {$y_scale(y)}%"> | ||
| <slot></slot> | ||
| </pancake-point> | ||
| </div> | ||
| <style> | ||
| pancake-point { | ||
| .pancake-point { | ||
| position: absolute; | ||
@@ -18,0 +18,0 @@ width: 0; |
+1
-1
| { | ||
| "name": "@sveltejs/pancake", | ||
| "version": "0.0.10", | ||
| "version": "0.0.11", | ||
| "description": "Experimental charting library for Svelte", | ||
@@ -5,0 +5,0 @@ "module": "index.mjs", |
17107
0.69%