@responsive-ui/bottom-bar
Advanced tools
Comparing version 1.0.7-alpha.0 to 1.0.9-alpha.1
@@ -74,2 +74,17 @@ 'use strict'; | ||
} | ||
function exclude_internal_props(props) { | ||
const result = {}; | ||
for (const k in props) | ||
if (k[0] !== '$') | ||
result[k] = props[k]; | ||
return result; | ||
} | ||
function compute_rest_props(props, keys) { | ||
const rest = {}; | ||
keys = new Set(keys); | ||
for (const k in props) | ||
if (!keys.has(k) && k[0] !== '$') | ||
rest[k] = props[k]; | ||
return rest; | ||
} | ||
function append(target, node) { | ||
@@ -93,2 +108,23 @@ target.appendChild(node); | ||
} | ||
function set_attributes(node, attributes) { | ||
// @ts-ignore | ||
const descriptors = Object.getOwnPropertyDescriptors(node.__proto__); | ||
for (const key in attributes) { | ||
if (attributes[key] == null) { | ||
node.removeAttribute(key); | ||
} | ||
else if (key === 'style') { | ||
node.style.cssText = attributes[key]; | ||
} | ||
else if (key === '__value') { | ||
node.value = node[key] = attributes[key]; | ||
} | ||
else if (descriptors[key] && descriptors[key].set) { | ||
node[key] = attributes[key]; | ||
} | ||
else { | ||
attr(node, key, attributes[key]); | ||
} | ||
} | ||
} | ||
function children(element) { | ||
@@ -118,13 +154,30 @@ return Array.from(element.childNodes); | ||
} | ||
let flushing = false; | ||
// flush() calls callbacks in this order: | ||
// 1. All beforeUpdate callbacks, in order: parents before children | ||
// 2. All bind:this callbacks, in reverse order: children before parents. | ||
// 3. All afterUpdate callbacks, in order: parents before children. EXCEPT | ||
// for afterUpdates called during the initial onMount, which are called in | ||
// reverse order: children before parents. | ||
// Since callbacks might update component values, which could trigger another | ||
// call to flush(), the following steps guard against this: | ||
// 1. During beforeUpdate, any updated components will be added to the | ||
// dirty_components array and will cause a reentrant call to flush(). Because | ||
// the flush index is kept outside the function, the reentrant call will pick | ||
// up where the earlier call left off and go through all dirty components. The | ||
// current_component value is saved and restored so that the reentrant call will | ||
// not interfere with the "parent" flush() call. | ||
// 2. bind:this callbacks cannot trigger new flush() calls. | ||
// 3. During afterUpdate, any updated components will NOT have their afterUpdate | ||
// callback called a second time; the seen_callbacks set, outside the flush() | ||
// function, guarantees this behavior. | ||
const seen_callbacks = new Set(); | ||
let flushidx = 0; // Do *not* move this inside the flush() function | ||
function flush() { | ||
if (flushing) | ||
return; | ||
flushing = true; | ||
const saved_component = current_component; | ||
do { | ||
// first, call beforeUpdate functions | ||
// and update components | ||
for (let i = 0; i < dirty_components.length; i += 1) { | ||
const component = dirty_components[i]; | ||
while (flushidx < dirty_components.length) { | ||
const component = dirty_components[flushidx]; | ||
flushidx++; | ||
set_current_component(component); | ||
@@ -135,2 +188,3 @@ update(component.$$); | ||
dirty_components.length = 0; | ||
flushidx = 0; | ||
while (binding_callbacks.length) | ||
@@ -155,4 +209,4 @@ binding_callbacks.pop()(); | ||
update_scheduled = false; | ||
flushing = false; | ||
seen_callbacks.clear(); | ||
set_current_component(saved_component); | ||
} | ||
@@ -193,2 +247,36 @@ function update($$) { | ||
} | ||
function get_spread_update(levels, updates) { | ||
const update = {}; | ||
const to_null_out = {}; | ||
const accounted_for = { $$scope: 1 }; | ||
let i = levels.length; | ||
while (i--) { | ||
const o = levels[i]; | ||
const n = updates[i]; | ||
if (n) { | ||
for (const key in o) { | ||
if (!(key in n)) | ||
to_null_out[key] = 1; | ||
} | ||
for (const key in n) { | ||
if (!accounted_for[key]) { | ||
update[key] = n[key]; | ||
accounted_for[key] = 1; | ||
} | ||
} | ||
levels[i] = n; | ||
} | ||
else { | ||
for (const key in o) { | ||
accounted_for[key] = 1; | ||
} | ||
} | ||
} | ||
for (const key in to_null_out) { | ||
if (!(key in update)) | ||
update[key] = undefined; | ||
} | ||
return update; | ||
} | ||
function mount_component(component, target, anchor, customElement) { | ||
@@ -320,3 +408,3 @@ const { fragment, on_mount, on_destroy, after_update } = component.$$; | ||
/* components/bottom-bar/src/BottomBar.svelte generated by Svelte v3.44.0 */ | ||
/* components/bottom-bar/src/BottomBar.svelte generated by Svelte v3.44.3 */ | ||
@@ -331,2 +419,15 @@ function create_fragment(ctx) { | ||
let div1_levels = [ | ||
{ | ||
class: div1_class_value = "resp-bottom-bar " + /*className*/ ctx[0] | ||
}, | ||
/*$$restProps*/ ctx[1] | ||
]; | ||
let div1_data = {}; | ||
for (let i = 0; i < div1_levels.length; i += 1) { | ||
div1_data = assign(div1_data, div1_levels[i]); | ||
} | ||
return { | ||
@@ -337,5 +438,4 @@ c() { | ||
if (default_slot) default_slot.c(); | ||
attr(div0, "class", "responsive-ui-bottom-bar__wrapper svelte-1sqdf4m"); | ||
attr(div1, "class", div1_class_value = "responsive-ui-bottom-bar " + /*className*/ ctx[0] + " svelte-1sqdf4m"); | ||
attr(div1, "style", /*style*/ ctx[1]); | ||
attr(div0, "class", "resp-bottom-bar__box"); | ||
set_attributes(div1, div1_data); | ||
}, | ||
@@ -368,9 +468,6 @@ m(target, anchor) { | ||
if (!current || dirty & /*className*/ 1 && div1_class_value !== (div1_class_value = "responsive-ui-bottom-bar " + /*className*/ ctx[0] + " svelte-1sqdf4m")) { | ||
attr(div1, "class", div1_class_value); | ||
} | ||
if (!current || dirty & /*style*/ 2) { | ||
attr(div1, "style", /*style*/ ctx[1]); | ||
} | ||
set_attributes(div1, div1_data = get_spread_update(div1_levels, [ | ||
(!current || dirty & /*className*/ 1 && div1_class_value !== (div1_class_value = "resp-bottom-bar " + /*className*/ ctx[0])) && { class: div1_class_value }, | ||
dirty & /*$$restProps*/ 2 && /*$$restProps*/ ctx[1] | ||
])); | ||
}, | ||
@@ -394,13 +491,15 @@ i(local) { | ||
function instance($$self, $$props, $$invalidate) { | ||
const omit_props_names = ["class"]; | ||
let $$restProps = compute_rest_props($$props, omit_props_names); | ||
let { $$slots: slots = {}, $$scope } = $$props; | ||
let { class: className = "" } = $$props; | ||
let { style = "" } = $$props; | ||
$$self.$$set = $$props => { | ||
if ('class' in $$props) $$invalidate(0, className = $$props.class); | ||
if ('style' in $$props) $$invalidate(1, style = $$props.style); | ||
if ('$$scope' in $$props) $$invalidate(2, $$scope = $$props.$$scope); | ||
$$self.$$set = $$new_props => { | ||
$$props = assign(assign({}, $$props), exclude_internal_props($$new_props)); | ||
$$invalidate(1, $$restProps = compute_rest_props($$props, omit_props_names)); | ||
if ('class' in $$new_props) $$invalidate(0, className = $$new_props.class); | ||
if ('$$scope' in $$new_props) $$invalidate(2, $$scope = $$new_props.$$scope); | ||
}; | ||
return [className, style, $$scope, slots]; | ||
return [className, $$restProps, $$scope, slots]; | ||
} | ||
@@ -411,3 +510,3 @@ | ||
super(); | ||
init(this, options, instance, create_fragment, safe_not_equal, { class: 0, style: 1 }); | ||
init(this, options, instance, create_fragment, safe_not_equal, { class: 0 }); | ||
} | ||
@@ -414,0 +513,0 @@ } |
@@ -72,2 +72,17 @@ function noop() { } | ||
} | ||
function exclude_internal_props(props) { | ||
const result = {}; | ||
for (const k in props) | ||
if (k[0] !== '$') | ||
result[k] = props[k]; | ||
return result; | ||
} | ||
function compute_rest_props(props, keys) { | ||
const rest = {}; | ||
keys = new Set(keys); | ||
for (const k in props) | ||
if (!keys.has(k) && k[0] !== '$') | ||
rest[k] = props[k]; | ||
return rest; | ||
} | ||
function append(target, node) { | ||
@@ -91,2 +106,23 @@ target.appendChild(node); | ||
} | ||
function set_attributes(node, attributes) { | ||
// @ts-ignore | ||
const descriptors = Object.getOwnPropertyDescriptors(node.__proto__); | ||
for (const key in attributes) { | ||
if (attributes[key] == null) { | ||
node.removeAttribute(key); | ||
} | ||
else if (key === 'style') { | ||
node.style.cssText = attributes[key]; | ||
} | ||
else if (key === '__value') { | ||
node.value = node[key] = attributes[key]; | ||
} | ||
else if (descriptors[key] && descriptors[key].set) { | ||
node[key] = attributes[key]; | ||
} | ||
else { | ||
attr(node, key, attributes[key]); | ||
} | ||
} | ||
} | ||
function children(element) { | ||
@@ -116,13 +152,30 @@ return Array.from(element.childNodes); | ||
} | ||
let flushing = false; | ||
// flush() calls callbacks in this order: | ||
// 1. All beforeUpdate callbacks, in order: parents before children | ||
// 2. All bind:this callbacks, in reverse order: children before parents. | ||
// 3. All afterUpdate callbacks, in order: parents before children. EXCEPT | ||
// for afterUpdates called during the initial onMount, which are called in | ||
// reverse order: children before parents. | ||
// Since callbacks might update component values, which could trigger another | ||
// call to flush(), the following steps guard against this: | ||
// 1. During beforeUpdate, any updated components will be added to the | ||
// dirty_components array and will cause a reentrant call to flush(). Because | ||
// the flush index is kept outside the function, the reentrant call will pick | ||
// up where the earlier call left off and go through all dirty components. The | ||
// current_component value is saved and restored so that the reentrant call will | ||
// not interfere with the "parent" flush() call. | ||
// 2. bind:this callbacks cannot trigger new flush() calls. | ||
// 3. During afterUpdate, any updated components will NOT have their afterUpdate | ||
// callback called a second time; the seen_callbacks set, outside the flush() | ||
// function, guarantees this behavior. | ||
const seen_callbacks = new Set(); | ||
let flushidx = 0; // Do *not* move this inside the flush() function | ||
function flush() { | ||
if (flushing) | ||
return; | ||
flushing = true; | ||
const saved_component = current_component; | ||
do { | ||
// first, call beforeUpdate functions | ||
// and update components | ||
for (let i = 0; i < dirty_components.length; i += 1) { | ||
const component = dirty_components[i]; | ||
while (flushidx < dirty_components.length) { | ||
const component = dirty_components[flushidx]; | ||
flushidx++; | ||
set_current_component(component); | ||
@@ -133,2 +186,3 @@ update(component.$$); | ||
dirty_components.length = 0; | ||
flushidx = 0; | ||
while (binding_callbacks.length) | ||
@@ -153,4 +207,4 @@ binding_callbacks.pop()(); | ||
update_scheduled = false; | ||
flushing = false; | ||
seen_callbacks.clear(); | ||
set_current_component(saved_component); | ||
} | ||
@@ -191,2 +245,36 @@ function update($$) { | ||
} | ||
function get_spread_update(levels, updates) { | ||
const update = {}; | ||
const to_null_out = {}; | ||
const accounted_for = { $$scope: 1 }; | ||
let i = levels.length; | ||
while (i--) { | ||
const o = levels[i]; | ||
const n = updates[i]; | ||
if (n) { | ||
for (const key in o) { | ||
if (!(key in n)) | ||
to_null_out[key] = 1; | ||
} | ||
for (const key in n) { | ||
if (!accounted_for[key]) { | ||
update[key] = n[key]; | ||
accounted_for[key] = 1; | ||
} | ||
} | ||
levels[i] = n; | ||
} | ||
else { | ||
for (const key in o) { | ||
accounted_for[key] = 1; | ||
} | ||
} | ||
} | ||
for (const key in to_null_out) { | ||
if (!(key in update)) | ||
update[key] = undefined; | ||
} | ||
return update; | ||
} | ||
function mount_component(component, target, anchor, customElement) { | ||
@@ -318,3 +406,3 @@ const { fragment, on_mount, on_destroy, after_update } = component.$$; | ||
/* components/bottom-bar/src/BottomBar.svelte generated by Svelte v3.44.0 */ | ||
/* components/bottom-bar/src/BottomBar.svelte generated by Svelte v3.44.3 */ | ||
@@ -329,2 +417,15 @@ function create_fragment(ctx) { | ||
let div1_levels = [ | ||
{ | ||
class: div1_class_value = "resp-bottom-bar " + /*className*/ ctx[0] | ||
}, | ||
/*$$restProps*/ ctx[1] | ||
]; | ||
let div1_data = {}; | ||
for (let i = 0; i < div1_levels.length; i += 1) { | ||
div1_data = assign(div1_data, div1_levels[i]); | ||
} | ||
return { | ||
@@ -335,5 +436,4 @@ c() { | ||
if (default_slot) default_slot.c(); | ||
attr(div0, "class", "responsive-ui-bottom-bar__wrapper svelte-1sqdf4m"); | ||
attr(div1, "class", div1_class_value = "responsive-ui-bottom-bar " + /*className*/ ctx[0] + " svelte-1sqdf4m"); | ||
attr(div1, "style", /*style*/ ctx[1]); | ||
attr(div0, "class", "resp-bottom-bar__box"); | ||
set_attributes(div1, div1_data); | ||
}, | ||
@@ -366,9 +466,6 @@ m(target, anchor) { | ||
if (!current || dirty & /*className*/ 1 && div1_class_value !== (div1_class_value = "responsive-ui-bottom-bar " + /*className*/ ctx[0] + " svelte-1sqdf4m")) { | ||
attr(div1, "class", div1_class_value); | ||
} | ||
if (!current || dirty & /*style*/ 2) { | ||
attr(div1, "style", /*style*/ ctx[1]); | ||
} | ||
set_attributes(div1, div1_data = get_spread_update(div1_levels, [ | ||
(!current || dirty & /*className*/ 1 && div1_class_value !== (div1_class_value = "resp-bottom-bar " + /*className*/ ctx[0])) && { class: div1_class_value }, | ||
dirty & /*$$restProps*/ 2 && /*$$restProps*/ ctx[1] | ||
])); | ||
}, | ||
@@ -392,13 +489,15 @@ i(local) { | ||
function instance($$self, $$props, $$invalidate) { | ||
const omit_props_names = ["class"]; | ||
let $$restProps = compute_rest_props($$props, omit_props_names); | ||
let { $$slots: slots = {}, $$scope } = $$props; | ||
let { class: className = "" } = $$props; | ||
let { style = "" } = $$props; | ||
$$self.$$set = $$props => { | ||
if ('class' in $$props) $$invalidate(0, className = $$props.class); | ||
if ('style' in $$props) $$invalidate(1, style = $$props.style); | ||
if ('$$scope' in $$props) $$invalidate(2, $$scope = $$props.$$scope); | ||
$$self.$$set = $$new_props => { | ||
$$props = assign(assign({}, $$props), exclude_internal_props($$new_props)); | ||
$$invalidate(1, $$restProps = compute_rest_props($$props, omit_props_names)); | ||
if ('class' in $$new_props) $$invalidate(0, className = $$new_props.class); | ||
if ('$$scope' in $$new_props) $$invalidate(2, $$scope = $$new_props.$$scope); | ||
}; | ||
return [className, style, $$scope, slots]; | ||
return [className, $$restProps, $$scope, slots]; | ||
} | ||
@@ -409,3 +508,3 @@ | ||
super(); | ||
init(this, options, instance, create_fragment, safe_not_equal, { class: 0, style: 1 }); | ||
init(this, options, instance, create_fragment, safe_not_equal, { class: 0 }); | ||
} | ||
@@ -412,0 +511,0 @@ } |
149
lib/index.js
@@ -75,2 +75,17 @@ var BottomBar = (function () { | ||
} | ||
function exclude_internal_props(props) { | ||
const result = {}; | ||
for (const k in props) | ||
if (k[0] !== '$') | ||
result[k] = props[k]; | ||
return result; | ||
} | ||
function compute_rest_props(props, keys) { | ||
const rest = {}; | ||
keys = new Set(keys); | ||
for (const k in props) | ||
if (!keys.has(k) && k[0] !== '$') | ||
rest[k] = props[k]; | ||
return rest; | ||
} | ||
function append(target, node) { | ||
@@ -94,2 +109,23 @@ target.appendChild(node); | ||
} | ||
function set_attributes(node, attributes) { | ||
// @ts-ignore | ||
const descriptors = Object.getOwnPropertyDescriptors(node.__proto__); | ||
for (const key in attributes) { | ||
if (attributes[key] == null) { | ||
node.removeAttribute(key); | ||
} | ||
else if (key === 'style') { | ||
node.style.cssText = attributes[key]; | ||
} | ||
else if (key === '__value') { | ||
node.value = node[key] = attributes[key]; | ||
} | ||
else if (descriptors[key] && descriptors[key].set) { | ||
node[key] = attributes[key]; | ||
} | ||
else { | ||
attr(node, key, attributes[key]); | ||
} | ||
} | ||
} | ||
function children(element) { | ||
@@ -119,13 +155,30 @@ return Array.from(element.childNodes); | ||
} | ||
let flushing = false; | ||
// flush() calls callbacks in this order: | ||
// 1. All beforeUpdate callbacks, in order: parents before children | ||
// 2. All bind:this callbacks, in reverse order: children before parents. | ||
// 3. All afterUpdate callbacks, in order: parents before children. EXCEPT | ||
// for afterUpdates called during the initial onMount, which are called in | ||
// reverse order: children before parents. | ||
// Since callbacks might update component values, which could trigger another | ||
// call to flush(), the following steps guard against this: | ||
// 1. During beforeUpdate, any updated components will be added to the | ||
// dirty_components array and will cause a reentrant call to flush(). Because | ||
// the flush index is kept outside the function, the reentrant call will pick | ||
// up where the earlier call left off and go through all dirty components. The | ||
// current_component value is saved and restored so that the reentrant call will | ||
// not interfere with the "parent" flush() call. | ||
// 2. bind:this callbacks cannot trigger new flush() calls. | ||
// 3. During afterUpdate, any updated components will NOT have their afterUpdate | ||
// callback called a second time; the seen_callbacks set, outside the flush() | ||
// function, guarantees this behavior. | ||
const seen_callbacks = new Set(); | ||
let flushidx = 0; // Do *not* move this inside the flush() function | ||
function flush() { | ||
if (flushing) | ||
return; | ||
flushing = true; | ||
const saved_component = current_component; | ||
do { | ||
// first, call beforeUpdate functions | ||
// and update components | ||
for (let i = 0; i < dirty_components.length; i += 1) { | ||
const component = dirty_components[i]; | ||
while (flushidx < dirty_components.length) { | ||
const component = dirty_components[flushidx]; | ||
flushidx++; | ||
set_current_component(component); | ||
@@ -136,2 +189,3 @@ update(component.$$); | ||
dirty_components.length = 0; | ||
flushidx = 0; | ||
while (binding_callbacks.length) | ||
@@ -156,4 +210,4 @@ binding_callbacks.pop()(); | ||
update_scheduled = false; | ||
flushing = false; | ||
seen_callbacks.clear(); | ||
set_current_component(saved_component); | ||
} | ||
@@ -194,2 +248,36 @@ function update($$) { | ||
} | ||
function get_spread_update(levels, updates) { | ||
const update = {}; | ||
const to_null_out = {}; | ||
const accounted_for = { $$scope: 1 }; | ||
let i = levels.length; | ||
while (i--) { | ||
const o = levels[i]; | ||
const n = updates[i]; | ||
if (n) { | ||
for (const key in o) { | ||
if (!(key in n)) | ||
to_null_out[key] = 1; | ||
} | ||
for (const key in n) { | ||
if (!accounted_for[key]) { | ||
update[key] = n[key]; | ||
accounted_for[key] = 1; | ||
} | ||
} | ||
levels[i] = n; | ||
} | ||
else { | ||
for (const key in o) { | ||
accounted_for[key] = 1; | ||
} | ||
} | ||
} | ||
for (const key in to_null_out) { | ||
if (!(key in update)) | ||
update[key] = undefined; | ||
} | ||
return update; | ||
} | ||
function mount_component(component, target, anchor, customElement) { | ||
@@ -321,3 +409,3 @@ const { fragment, on_mount, on_destroy, after_update } = component.$$; | ||
/* components/bottom-bar/src/BottomBar.svelte generated by Svelte v3.44.0 */ | ||
/* components/bottom-bar/src/BottomBar.svelte generated by Svelte v3.44.3 */ | ||
@@ -332,2 +420,15 @@ function create_fragment(ctx) { | ||
let div1_levels = [ | ||
{ | ||
class: div1_class_value = "resp-bottom-bar " + /*className*/ ctx[0] | ||
}, | ||
/*$$restProps*/ ctx[1] | ||
]; | ||
let div1_data = {}; | ||
for (let i = 0; i < div1_levels.length; i += 1) { | ||
div1_data = assign(div1_data, div1_levels[i]); | ||
} | ||
return { | ||
@@ -338,5 +439,4 @@ c() { | ||
if (default_slot) default_slot.c(); | ||
attr(div0, "class", "responsive-ui-bottom-bar__wrapper svelte-1sqdf4m"); | ||
attr(div1, "class", div1_class_value = "responsive-ui-bottom-bar " + /*className*/ ctx[0] + " svelte-1sqdf4m"); | ||
attr(div1, "style", /*style*/ ctx[1]); | ||
attr(div0, "class", "resp-bottom-bar__box"); | ||
set_attributes(div1, div1_data); | ||
}, | ||
@@ -369,9 +469,6 @@ m(target, anchor) { | ||
if (!current || dirty & /*className*/ 1 && div1_class_value !== (div1_class_value = "responsive-ui-bottom-bar " + /*className*/ ctx[0] + " svelte-1sqdf4m")) { | ||
attr(div1, "class", div1_class_value); | ||
} | ||
if (!current || dirty & /*style*/ 2) { | ||
attr(div1, "style", /*style*/ ctx[1]); | ||
} | ||
set_attributes(div1, div1_data = get_spread_update(div1_levels, [ | ||
(!current || dirty & /*className*/ 1 && div1_class_value !== (div1_class_value = "resp-bottom-bar " + /*className*/ ctx[0])) && { class: div1_class_value }, | ||
dirty & /*$$restProps*/ 2 && /*$$restProps*/ ctx[1] | ||
])); | ||
}, | ||
@@ -395,13 +492,15 @@ i(local) { | ||
function instance($$self, $$props, $$invalidate) { | ||
const omit_props_names = ["class"]; | ||
let $$restProps = compute_rest_props($$props, omit_props_names); | ||
let { $$slots: slots = {}, $$scope } = $$props; | ||
let { class: className = "" } = $$props; | ||
let { style = "" } = $$props; | ||
$$self.$$set = $$props => { | ||
if ('class' in $$props) $$invalidate(0, className = $$props.class); | ||
if ('style' in $$props) $$invalidate(1, style = $$props.style); | ||
if ('$$scope' in $$props) $$invalidate(2, $$scope = $$props.$$scope); | ||
$$self.$$set = $$new_props => { | ||
$$props = assign(assign({}, $$props), exclude_internal_props($$new_props)); | ||
$$invalidate(1, $$restProps = compute_rest_props($$props, omit_props_names)); | ||
if ('class' in $$new_props) $$invalidate(0, className = $$new_props.class); | ||
if ('$$scope' in $$new_props) $$invalidate(2, $$scope = $$new_props.$$scope); | ||
}; | ||
return [className, style, $$scope, slots]; | ||
return [className, $$restProps, $$scope, slots]; | ||
} | ||
@@ -412,3 +511,3 @@ | ||
super(); | ||
init(this, options, instance, create_fragment, safe_not_equal, { class: 0, style: 1 }); | ||
init(this, options, instance, create_fragment, safe_not_equal, { class: 0 }); | ||
} | ||
@@ -415,0 +514,0 @@ } |
{ | ||
"name": "@responsive-ui/bottom-bar", | ||
"version": "1.0.7-alpha.0", | ||
"version": "1.0.9-alpha.1", | ||
"description": "A bottom bar component of responsive-ui.", | ||
@@ -8,2 +8,3 @@ "author": "Si3nLoong <sianloong90@gmail.com> (https://github.com/si3nloong)", | ||
"license": "MIT", | ||
"type": "module", | ||
"main": "lib/cjs/index.js", | ||
@@ -41,3 +42,4 @@ "browser": "lib/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/wetix/responsive-ui.git" | ||
"url": "https://github.com/wetix/responsive-ui", | ||
"directory": "components/bottom-bar" | ||
}, | ||
@@ -50,3 +52,3 @@ "scripts": { | ||
}, | ||
"gitHead": "3fde8242766d6298122a874e2415ced21cd78f27" | ||
"gitHead": "50c6059183e704685646087a37edcd430b875948" | ||
} |
@@ -34,3 +34,3 @@ | ||
[@responsive-ui/accordion](https://github.com/wetix/responsive-ui/tree/main/components/accordion) is 100% free and open-source, under the [MIT license](https://github.com/wetix/responsive-ui/blob/main/LICENSE). | ||
[@responsive-ui/bottom-bar](https://github.com/wetix/responsive-ui/tree/main/components/bottom-bar) is 100% free and open-source, under the [MIT license](https://github.com/wetix/responsive-ui/blob/main/LICENSE). | ||
@@ -37,0 +37,0 @@ ## 🎉 Big Thanks To |
import type { SvelteComponentTyped } from "svelte/internal"; | ||
export interface BottomBarProps { | ||
id?: string; | ||
title?: string; | ||
class?: string; | ||
@@ -5,0 +7,0 @@ style?: string; |
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
53918
1465
Yes
9