@streamscloud/kit 0.76.0 → 0.76.2

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.
@@ -13,7 +13,7 @@ export class FileHelper {
13
13
  return '';
14
14
  }
15
15
  const dotIndex = fileName.lastIndexOf('.');
16
- return dotIndex > 0 ? fileName.slice(0, dotIndex) : fileName;
16
+ return dotIndex > 0 && dotIndex < fileName.length - 1 ? fileName.slice(0, dotIndex) : fileName;
17
17
  }
18
18
  static truncateFileName(fileName, maxNameLength) {
19
19
  if (!maxNameLength) {
@@ -20,7 +20,6 @@ A placeholder image stub showing a generic image icon, used as a fallback when n
20
20
  --_image-stub--color: var(--sc-kit--image-stub--color, var(--sc-kit--color--text--on-accent));
21
21
  width: 100%;
22
22
  height: 100%;
23
- z-index: 2;
24
23
  display: flex;
25
24
  justify-content: center;
26
25
  align-items: center;
@@ -73,7 +73,6 @@ Displays an image with loading states: shows the image on success, an error icon
73
73
  .image__img {
74
74
  position: absolute;
75
75
  inset: 0;
76
- z-index: 2;
77
76
  width: 100%;
78
77
  height: 100%;
79
78
  margin: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/kit",
3
- "version": "0.76.0",
3
+ "version": "0.76.2",
4
4
  "author": "StreamsCloud",
5
5
  "repository": {
6
6
  "type": "git",