sprintify-ui 0.0.54 → 0.0.55

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,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -3,7 +3,7 @@
3
3
  <img
4
4
  :src="user.avatar_url"
5
5
  :class="[sizeClass, detailsPosition == 'left' ? 'order-2' : 'order-1']"
6
- class="shrink-0 overflow-hidden rounded-full"
6
+ class="shrink-0 overflow-hidden rounded-full object-cover object-center"
7
7
  />
8
8
  <div
9
9
  v-if="showDetails"
@@ -15,7 +15,7 @@ const breadcrumbs = [
15
15
  to: '/users/1',
16
16
  },
17
17
  {
18
- label: 'Settings',
18
+ label: 'Very long title this is a very long title that will be truncated',
19
19
  to: '/users/1/settings',
20
20
  },
21
21
  ];
@@ -34,7 +34,7 @@
34
34
  <BaseIcon :icon="breadcrumb.icon" />
35
35
  </span>
36
36
  <span v-else>
37
- {{ breadcrumb.label }}
37
+ {{ truncate(breadcrumb.label) }}
38
38
  </span>
39
39
  </a>
40
40
  </RouterLink>
@@ -61,6 +61,7 @@
61
61
  <script lang="ts" setup>
62
62
  import { PropType } from 'vue';
63
63
  import { Breadcrumb } from '@/types';
64
+ import { truncate } from 'lodash';
64
65
 
65
66
  const props = defineProps({
66
67
  breadcrumbs: {