@turnipxenon/pineapple 5.3.0 → 5.3.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.
@@ -25,5 +25,6 @@
25
25
  max-height: min(50vh, 24lh);
26
26
  margin: auto;
27
27
  object-fit: contain;
28
+ border-radius: var(--radius-sm);
28
29
  }
29
30
  </style>
@@ -56,7 +56,6 @@
56
56
  img {
57
57
  aspect-ratio: auto;
58
58
  display: block;
59
- width: unset;
60
59
  border-radius: var(--radius-sm);
61
60
  max-height: min(50vh, 24lh);
62
61
  margin: auto;
@@ -107,10 +107,8 @@
107
107
  return priorityDiff;
108
108
  }
109
109
 
110
- // Entries without dateFinished go to the bottom
111
- if (!a.dateFinished) return 1;
112
- if (!b.dateFinished) return -1;
113
- return new Date(b.dateFinished).getTime() - new Date(a.dateFinished).getTime();
110
+ // follow original index
111
+ return list.findIndex(l => l.key === a.key) - list.findIndex(l => l.key === b.key);
114
112
  });
115
113
  }
116
114
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EntryGroup.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/SeaweedLayout/EntryGroup.svelte.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,iCAAiC,CAAC;AAwLjF,QAAA,MAAM,UAAU,kDAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"EntryGroup.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/SeaweedLayout/EntryGroup.svelte.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,iCAAiC,CAAC;AAsLjF,QAAA,MAAM,UAAU,kDAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@turnipxenon/pineapple",
3
3
  "description": "personal package for base styling for other personal projects",
4
- "version": "5.3.0",
4
+ "version": "5.3.2",
5
5
  "devDependencies": {
6
6
  "@commitlint/cli": "^19.8.1",
7
7
  "@commitlint/config-conventional": "^19.8.1",