@kyro-cms/admin 0.11.0 → 0.11.1

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": "@kyro-cms/admin",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },
@@ -120,7 +120,7 @@
120
120
  "vitest": "^4.1.4"
121
121
  },
122
122
  "peerDependencies": {
123
- "@kyro-cms/core": "^0.11.0",
123
+ "@kyro-cms/core": "^0.11.1",
124
124
  "react": "^19.0.0",
125
125
  "react-dom": "^19.0.0"
126
126
  },
@@ -611,6 +611,9 @@ export function ListView({
611
611
  {collection.timestamps ? (
612
612
  <th className="px-4 py-4">Created</th>
613
613
  ) : null}
614
+ {collection.timestamps ? (
615
+ <th className="px-4 py-4">Last Modified</th>
616
+ ) : null}
614
617
  <th className="px-4 py-4 text-right">Actions</th>
615
618
  </tr>
616
619
  </thead>
@@ -662,6 +665,20 @@ export function ListView({
662
665
  : "—"}
663
666
  </td>
664
667
  ) : null}
668
+ {collection.timestamps ? (
669
+ <td className="px-4 py-3 text-sm text-[var(--kyro-text-secondary)]">
670
+ {doc.updatedAt
671
+ ? new Date(doc.updatedAt as string).toLocaleDateString(
672
+ "en-US",
673
+ {
674
+ month: "short",
675
+ day: "numeric",
676
+ year: "numeric",
677
+ },
678
+ )
679
+ : "—"}
680
+ </td>
681
+ ) : null}
665
682
  <td
666
683
  className="px-4 py-3 text-right"
667
684
  onClick={(e) => e.stopPropagation()}
@@ -6,7 +6,7 @@ export function Toaster() {
6
6
  const removeToast = useToastStore((state) => state.removeToast);
7
7
 
8
8
  return (
9
- <div className="kyro-toasts-container" style={{ position: "fixed", bottom: "24px", right: "24px", display: "flex", flexDirection: "column", gap: "12px", zIndex: 9999, pointerEvents: "none" }}>
9
+ <div className="kyro-toasts-container" style={{ position: "fixed", bottom: "24px", right: "24px", display: "flex", flexDirection: "column", gap: "12px", zIndex: 100000, pointerEvents: "none" }}>
10
10
  {toasts.map((t) => (
11
11
  <div key={t.id} style={{ pointerEvents: "auto" }}>
12
12
  <Toast type={t.type} message={t.message} onClose={() => removeToast(t.id)} />