@namelivia/vue-components 2.0.2 → 2.1.0

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/index.esm.js CHANGED
@@ -344,7 +344,7 @@ const _hoisted_1$j = { class: "selector-container" };
344
344
  const _hoisted_2$c = ["for"];
345
345
  const _hoisted_3$8 = { class: "selector-relative-container" };
346
346
  const _hoisted_4$2 = ["id", "disabled"];
347
- const _hoisted_5$2 = ["value", "disabled"];
347
+ const _hoisted_5$1 = ["value", "disabled"];
348
348
 
349
349
  function render$l(_ctx, _cache, $props, $setup, $data, $options) {
350
350
  return (openBlock(), createElementBlock("div", _hoisted_1$j, [
@@ -365,7 +365,7 @@ function render$l(_ctx, _cache, $props, $setup, $data, $options) {
365
365
  key: option.value,
366
366
  value: option.value,
367
367
  disabled: option.disabled
368
- }, toDisplayString(option.text), 9 /* TEXT, PROPS */, _hoisted_5$2))
368
+ }, toDisplayString(option.text), 9 /* TEXT, PROPS */, _hoisted_5$1))
369
369
  }), 128 /* KEYED_FRAGMENT */))
370
370
  ], 40 /* PROPS, NEED_HYDRATION */, _hoisted_4$2), [
371
371
  [vModelSelect, _ctx.selected]
@@ -1018,7 +1018,7 @@ const _hoisted_1$6 = { class: "bg-gray-800" };
1018
1018
  const _hoisted_2$3 = { class: "max-w-7xl mx-auto px-2 sm:px-6 lg:px-8" };
1019
1019
  const _hoisted_3$2 = { class: "relative flex items-center justify-between h-16" };
1020
1020
  const _hoisted_4$1 = { class: "absolute inset-y-0 left-0 flex items-center sm:hidden" };
1021
- const _hoisted_5$1 = { class: "flex-1 flex items-center justify-center sm:items-stretch sm:justify-start" };
1021
+ const _hoisted_5 = { class: "flex-1 flex items-center justify-center sm:items-stretch sm:justify-start" };
1022
1022
 
1023
1023
  function render$7(_ctx, _cache, $props, $setup, $data, $options) {
1024
1024
  const _component_mobile_menu_button = resolveComponent("mobile-menu-button");
@@ -1036,7 +1036,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
1036
1036
  open: _ctx.mobileMenuOpen
1037
1037
  }, null, 8 /* PROPS */, ["onClick", "open"])
1038
1038
  ]),
1039
- createElementVNode("div", _hoisted_5$1, [
1039
+ createElementVNode("div", _hoisted_5, [
1040
1040
  createVNode(_component_navbar_title, {
1041
1041
  href: "/",
1042
1042
  title: _ctx.title,
@@ -4891,27 +4891,25 @@ const _hoisted_1 = { class: "ranges-editor" };
4891
4891
  const _hoisted_2 = { class: "labels" };
4892
4892
  const _hoisted_3 = { class: "label" };
4893
4893
  const _hoisted_4 = { class: "label" };
4894
- const _hoisted_5 = { class: "label" };
4895
4894
 
4896
4895
  function render(_ctx, _cache, $props, $setup, $data, $options) {
4897
4896
  return (openBlock(), createElementBlock("div", _hoisted_1, [
4898
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.ranges, (range) => {
4897
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.ranges, (range, index) => {
4899
4898
  return (openBlock(), createElementBlock("div", {
4900
4899
  class: "range",
4901
4900
  key: range.id
4902
4901
  }, [
4903
4902
  createElementVNode("div", _hoisted_2, [
4904
- createElementVNode("span", _hoisted_3, toDisplayString(range.start), 1 /* TEXT */),
4905
- createElementVNode("span", _hoisted_4, toDisplayString(range.end), 1 /* TEXT */)
4903
+ createElementVNode("span", _hoisted_3, toDisplayString(index < _ctx.ranges.length - 1 ? range.max : ' '), 1 /* TEXT */)
4906
4904
  ]),
4907
4905
  _cache[0] || (_cache[0] = createElementVNode("div", { class: "gap" }, null, -1 /* HOISTED */)),
4908
- createElementVNode("span", _hoisted_5, toDisplayString(range.label), 1 /* TEXT */)
4906
+ createElementVNode("span", _hoisted_4, toDisplayString(range.label), 1 /* TEXT */)
4909
4907
  ]))
4910
4908
  }), 128 /* KEYED_FRAGMENT */))
4911
4909
  ]))
4912
4910
  }
4913
4911
 
4914
- var css_248z = "\n.ranges-editor[data-v-3e589c2c] {\n display: flex;\n flex-direction: row;\n cursor: pointer;\n}\n.range[data-v-3e589c2c] {\n min-width: 50px;\n text-align: center;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n}\n.labels[data-v-3e589c2c] {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n.gap[data-v-3e589c2c] {\n height: 10px;\n width: auto;\n background-color: red;\n border: 1px solid black;\n}\n.label[data-v-3e589c2c] {\n margin-top: 5px;\n}\n";
4912
+ var css_248z = "\n.ranges-editor[data-v-3e589c2c] {\n display: flex;\n flex-direction: row;\n cursor: pointer;\n}\n.range[data-v-3e589c2c] {\n min-width: 50px;\n text-align: center;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n}\n.labels[data-v-3e589c2c] {\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n}\n.gap[data-v-3e589c2c] {\n height: 10px;\n width: auto;\n background-color: red;\n border: 1px solid black;\n}\n.label[data-v-3e589c2c] {\n margin-top: 5px;\n}\n";
4915
4913
  styleInject(css_248z);
4916
4914
 
4917
4915
  script.render = render;