@cloudron/pankow 4.4.6 → 4.4.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.
@@ -46,12 +46,16 @@ function onMenu(event) {
46
46
  class="pankow-list-item"
47
47
  :class="{ 'pankow-list-item-link': href }"
48
48
  >
49
- <div class="pankow-list-item-left">
49
+ <div v-if="$slots.left" class="pankow-list-item-left">
50
50
  <slot name="left" />
51
51
  </div>
52
52
  <div class="pankow-list-item-center">
53
- <div class="pankow-list-item-label">{{ label }}</div>
54
- <div v-if="subtext" class="pankow-list-item-subtext">{{ subtext }}</div>
53
+ <div v-if="$slots.label || label" class="pankow-list-item-label">
54
+ <slot name="label">{{ label }}</slot>
55
+ </div>
56
+ <div v-if="$slots.subtext || subtext" class="pankow-list-item-subtext">
57
+ <slot name="subtext">{{ subtext }}</slot>
58
+ </div>
55
59
  </div>
56
60
  <div class="pankow-list-item-right">
57
61
  <Icon v-if="href" icon="fa-solid fa-chevron-right" class="pankow-list-item-chevron" />
@@ -111,8 +115,6 @@ function onMenu(event) {
111
115
  .pankow-list-item-subtext {
112
116
  font-size: 13px;
113
117
  color: var(--pankow-color-text-secondary);
114
- overflow: hidden;
115
- text-overflow: ellipsis;
116
118
  }
117
119
 
118
120
  .pankow-list-item-right {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudron/pankow",
3
3
  "private": false,
4
- "version": "4.4.6",
4
+ "version": "4.4.8",
5
5
  "description": "Vue 3 UI component library for Cloudron apps",
6
6
  "main": "index.js",
7
7
  "types": "types/index.d.ts",