@energie360/ui-library 0.1.35 → 0.1.36

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,4 +1,5 @@
1
1
  .card-cta-bar {
2
2
  display: flex;
3
3
  gap: var(--e-space-2);
4
+ flex-wrap: wrap;
4
5
  }
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { Image, Cta } from '../../elements/types'
3
+ import { hasSlotContent } from '../../utils/vue/helpers'
3
4
 
4
5
  interface Props {
5
6
  title?: string
@@ -30,7 +31,7 @@ defineProps<Props>()
30
31
  </slot>
31
32
  </div>
32
33
 
33
- <div v-if="$slots.text || text" class="text-wrapper">
34
+ <div v-if="hasSlotContent($slots.text) || text" class="text-wrapper">
34
35
  <slot name="text">
35
36
  <p>{{ text }}</p>
36
37
  </slot>
@@ -8,6 +8,7 @@
8
8
  .card-price-list__row {
9
9
  display: flex;
10
10
  column-gap: var(--e-space-1);
11
+ align-items: center;
11
12
  justify-content: space-between;
12
13
  }
13
14
 
@@ -23,6 +23,8 @@
23
23
  .tooltip__content {
24
24
  @include a.type(100);
25
25
 
26
+ text-align: center;
27
+
26
28
  // This nesting here is only to make the new sass compiler happy.
27
29
  & {
28
30
  z-index: 0;
@@ -77,9 +77,7 @@ function updatePositions(resetPositions = false) {
77
77
  v-bind="$attrs"
78
78
  @transitionend="onTransitionend"
79
79
  >
80
- <div class="tooltip__content">
81
- {{ title }}
82
- </div>
80
+ <div class="tooltip__content" v-html="title" />
83
81
  <span ref="pointer" class="tooltip__pointer" />
84
82
  </div>
85
83
  </Teleport>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energie360/ui-library",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -6,6 +6,10 @@
6
6
  display: flex;
7
7
  justify-content: space-between;
8
8
  align-items: center;
9
+
10
+ @include a.bp(lg) {
11
+ height: a.rem(56);
12
+ }
9
13
  }
10
14
 
11
15
  .wizard-top-bar__logo {