@ulu/frontend-vue 0.1.3-beta.7 → 0.1.3-beta.8

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.
@@ -3407,8 +3407,8 @@ const bh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
3407
3407
  listStyleType: String
3408
3408
  },
3409
3409
  setup(e) {
3410
- const s = e, t = S(() => s.ordered || s.forceOrdered ? "ol" : "ul");
3411
- return (n, l) => (c(), _(F(t.value), {
3410
+ const s = e, t = S(() => s.ordered || s.forceOrdered), n = S(() => t.value ? "ol" : "ul");
3411
+ return (l, o) => (c(), _(F(n.value), {
3412
3412
  class: m([
3413
3413
  {
3414
3414
  "list-ordered": e.ordered,
@@ -3421,19 +3421,19 @@ const bh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
3421
3421
  style: X({
3422
3422
  listStyleType: e.listStyleType
3423
3423
  }),
3424
- reversed: e.reversed,
3424
+ reversed: t.value ? e.reversed : null,
3425
3425
  start: e.start
3426
3426
  }, {
3427
3427
  default: k(() => [
3428
- (c(!0), f(x, null, B(e.items, (o, r) => (c(), f("li", {
3429
- key: r,
3428
+ (c(!0), f(x, null, B(e.items, (r, a) => (c(), f("li", {
3429
+ key: a,
3430
3430
  class: m(e.classes.listItem)
3431
3431
  }, [
3432
- g(n.$slots, "default", {
3433
- item: o,
3434
- index: r
3432
+ g(l.$slots, "default", {
3433
+ item: r,
3434
+ index: a
3435
3435
  }, () => [
3436
- C(b(o), 1)
3436
+ C(b(r), 1)
3437
3437
  ])
3438
3438
  ], 2))), 128))
3439
3439
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"UluList.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/elements/UluList.vue"],"names":[],"mappings":"wBA0OqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AARzB;YAGmB,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;2OAErC;;;;;;;AAjJD;;;;;;;;;;;EA8CG"}
1
+ {"version":3,"file":"UluList.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/elements/UluList.vue"],"names":[],"mappings":"wBAyOqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AARzB;YAGmB,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;2OAErC;;;;;;;AAjJD;;;;;;;;;;;EA8CG"}
@@ -13,7 +13,7 @@
13
13
  :style="{
14
14
  listStyleType: listStyleType
15
15
  }"
16
- :reversed="reversed"
16
+ :reversed="isOrdered ? reversed : null"
17
17
  :start="start"
18
18
  >
19
19
  <li
@@ -79,7 +79,6 @@
79
79
  listStyleType: String,
80
80
  });
81
81
 
82
- const listElement = computed(() => {
83
- return props.ordered || props.forceOrdered ? "ol" : "ul";
84
- });
82
+ const isOrdered = computed(() => props.ordered || props.forceOrdered);
83
+ const listElement = computed(() => isOrdered.value ? "ol" : "ul");
85
84
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend-vue",
3
- "version": "0.1.3-beta.7",
3
+ "version": "0.1.3-beta.8",
4
4
  "description": "A modular and tree-shakeable Vue 3 component library for the Ulu frontend",
5
5
  "type": "module",
6
6
  "files": [