@bagelink/vue 1.15.5 → 1.15.9

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.15.5",
4
+ "version": "1.15.9",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Bagel Studio",
@@ -17,6 +17,7 @@ const props = withDefaults(defineProps<{
17
17
  flat?: boolean
18
18
  thin?: boolean
19
19
  centerTitle?: boolean
20
+ ellipsisTitle?: boolean
20
21
  closePlacement?: 'header-end' | 'header-start' | 'overlay-start' | 'overlay-end' | 'none'
21
22
  }>(), {
22
23
  width: 'm',
@@ -25,6 +26,7 @@ const props = withDefaults(defineProps<{
25
26
  flat: true,
26
27
  thin: false,
27
28
  centerTitle: false,
29
+ ellipsisTitle: false,
28
30
  closePlacement: 'header-end'
29
31
  })
30
32
 
@@ -122,8 +124,8 @@ defineExpose({ close })
122
124
  class="dialog-close" thin @click="close"
123
125
  />
124
126
  <h3
125
- v-if="title" class="dialog-title m-0 txt20 semi w-100p word-break-all"
126
- :class="{ 'txt-center': centerTitle }"
127
+ v-if="title" class="dialog-title m-0 txt20 semi w-100p"
128
+ :class="{ 'txt-center balance': centerTitle, 'word-break-all': !centerTitle, 'ellipsis-1': ellipsisTitle }"
127
129
  >
128
130
  {{ title }}
129
131
  </h3>