@responsive-ui/tab
Advanced tools
Comparing version 0.4.4 to 0.5.0
@@ -378,3 +378,3 @@ var Tab = (function () { | ||
// (62:4) {#each items as item, i} | ||
// (31:4) {#each items as item, i} | ||
function create_each_block_1(ctx) { | ||
@@ -426,3 +426,3 @@ let span; | ||
// (78:0) {:else} | ||
// (48:0) {:else} | ||
function create_else_block(ctx) { | ||
@@ -511,3 +511,3 @@ let each_1_anchor; | ||
// (76:0) {#if hasSlots} | ||
// (46:0) {#if hasSlots} | ||
function create_if_block(ctx) { | ||
@@ -551,3 +551,3 @@ let current; | ||
// (80:4) {#if item && item.component} | ||
// (50:4) {#if item && item.component} | ||
function create_if_block_1(ctx) { | ||
@@ -619,3 +619,3 @@ let switch_instance; | ||
// (79:2) {#each items as item} | ||
// (49:2) {#each items as item} | ||
function create_each_block(ctx) { | ||
@@ -810,4 +810,5 @@ let if_block_anchor; | ||
if (childNodes[selected]) { | ||
const rect = childNodes[selected].getBoundingClientRect(); | ||
$$invalidate(4, left = rect.x - 15); | ||
const el = childNodes[selected]; | ||
const rect = el.getBoundingClientRect(); | ||
$$invalidate(4, left = el.offsetLeft); | ||
$$invalidate(5, width = rect.width); | ||
@@ -814,0 +815,0 @@ } |
{ | ||
"name": "@responsive-ui/tab", | ||
"version": "0.4.4", | ||
"version": "0.5.0", | ||
"description": "> TODO: description", | ||
@@ -38,3 +38,3 @@ "author": "Si3nLoong <sianloong90@gmail.com>", | ||
}, | ||
"gitHead": "2d4d7be4a2431a0a5db1694f74204d7d56223793" | ||
"gitHead": "e740bd4aded5d1d82f70f790742b463b46be5297" | ||
} |
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
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
75667
2384