@ulu/frontend-vue 0.6.27 → 0.6.28

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.
@@ -1 +1 @@
1
- {"version":3,"file":"UluTourContent.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/tour/UluTourContent.vue"],"names":[],"mappings":"AAkBA;"}
1
+ {"version":3,"file":"UluTourContent.vue.d.ts","sourceRoot":"","sources":["../../../lib/plugins/tour/UluTourContent.vue"],"names":[],"mappings":"AAeA;"}
@@ -20,14 +20,11 @@ const v = { class: "tour-content crop-margins" }, y = { key: 1 }, M = {
20
20
  }
21
21
  },
22
22
  setup(e) {
23
- const { state: s } = h(), t = e, n = c(() => t.step.titleClass ? t.step.titleClass : t.isModal ? s.active?.modalTitleClass || "h3" : s.active?.popoverTitleClass || "h4");
23
+ const { state: s } = h(), t = e, n = c(() => t.step.titleClass ? t.step.titleClass : t.isModal ? s.active?.modalTitleClass || ["h3", "no-margin"] : s.active?.popoverTitleClass || ["h4", "display-block", "no-margin"]);
24
24
  return (k, T) => (o(), a("div", v, [
25
25
  e.step?.title ? (o(), i(m(e.isModal ? "h2" : "strong"), {
26
26
  key: 0,
27
- class: d([
28
- "display-block no-margin",
29
- n.value
30
- ])
27
+ class: d(n.value)
31
28
  }, {
32
29
  default: p(() => [
33
30
  f(r(e.step.title), 1)
@@ -3,10 +3,7 @@
3
3
  <component
4
4
  v-if="step?.title"
5
5
  :is="isModal ? 'h2' : 'strong'"
6
- :class="[
7
- 'display-block no-margin',
8
- resolvedTitleClass
9
- ]"
6
+ :class="resolvedTitleClass"
10
7
  >
11
8
  {{ step.title }}
12
9
  </component>
@@ -45,9 +42,9 @@
45
42
  if (props.step.titleClass) return props.step.titleClass;
46
43
 
47
44
  if (props.isModal) {
48
- return tourState.active?.modalTitleClass || 'h3';
45
+ return tourState.active?.modalTitleClass || ['h3', 'no-margin'];
49
46
  } else {
50
- return tourState.active?.popoverTitleClass || 'h4';
47
+ return tourState.active?.popoverTitleClass || ['h4', 'display-block', 'no-margin'];
51
48
  }
52
49
  });
53
50
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend-vue",
3
- "version": "0.6.27",
3
+ "version": "0.6.28",
4
4
  "description": "A modular, tree-shakeable Vue 3 component library for the Ulu Frontend theming system, plus general utilities for Vue development",
5
5
  "type": "module",
6
6
  "files": [