nwl-components 1.3.0 → 1.3.2
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/dist/nwl-components.es.js +10 -8
- package/dist/nwl-components.umd.js +24 -24
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -353,7 +353,7 @@ const _sfc_main$y = {
|
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
355
|
var Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__scopeId", "data-v-f63b8f34"]]);
|
|
356
|
-
var Tabs_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "ul[data-v-
|
|
356
|
+
var Tabs_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "ul[data-v-38d8f756]{list-style:none;display:flex;padding:0;margin:0}li[data-v-38d8f756]{padding-right:12px;padding-left:12px;padding-bottom:4px;cursor:pointer;height:20px}.selected[data-v-38d8f756]{background:#333}\n")();
|
|
357
357
|
const _hoisted_1$p = { class: "tabs" };
|
|
358
358
|
const _hoisted_2$i = ["onClick"];
|
|
359
359
|
const _sfc_main$x = {
|
|
@@ -372,12 +372,14 @@ const _sfc_main$x = {
|
|
|
372
372
|
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
373
373
|
createElementVNode("ul", null, [
|
|
374
374
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(children), (tab, index) => {
|
|
375
|
-
return openBlock(), createElementBlock(
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
375
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
376
|
+
tab ? (openBlock(), createElementBlock("li", {
|
|
377
|
+
key: tab.props.title,
|
|
378
|
+
onClick: ($event) => selectTab(index),
|
|
379
|
+
class: normalizeClass({ "selected": index == selectedIndex.value })
|
|
380
|
+
}, toDisplayString(tab.props.title), 11, _hoisted_2$i)) : createCommentVNode("", true)
|
|
381
|
+
], 64);
|
|
382
|
+
}), 256))
|
|
381
383
|
]),
|
|
382
384
|
createCommentVNode("", true),
|
|
383
385
|
(openBlock(), createBlock(CurrentTab, { key: selectedIndex.value }))
|
|
@@ -385,7 +387,7 @@ const _sfc_main$x = {
|
|
|
385
387
|
};
|
|
386
388
|
}
|
|
387
389
|
};
|
|
388
|
-
var Tabs = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["__scopeId", "data-v-
|
|
390
|
+
var Tabs = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["__scopeId", "data-v-38d8f756"]]);
|
|
389
391
|
var Tab_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".content[data-v-33e54edc]{min-height:400px;background:rgb(51,51,51);padding:20px}\n")();
|
|
390
392
|
const _hoisted_1$o = { class: "content" };
|
|
391
393
|
const _sfc_main$w = {
|