diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 40dc4c0..9691cb5 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Cache the node_modules dir uses: actions/cache@v4 with: diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2565629..e2854e4 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,9 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup Nodejs - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: '24' registry-url: 'https://registry.npmjs.org' diff --git a/src/components/AnnotationTimestamps.tsx b/src/components/AnnotationTimestamps.tsx index 79ce3a5..cc1dc3a 100644 --- a/src/components/AnnotationTimestamps.tsx +++ b/src/components/AnnotationTimestamps.tsx @@ -10,8 +10,9 @@ import { useEffect, useMemo, useState } from 'preact/hooks'; /** * `subtle`: Small text with inherited font weight. * `prominent`: Bold text with inherited font size. + * `highlighted`: Brand red text with inherited font size. */ -export type EditedTimestampVariant = 'subtle' | 'prominent'; +export type EditedTimestampVariant = 'subtle' | 'prominent' | 'highlighted'; export type AnnotationTimestampsProps = { annotationCreated: string; @@ -94,7 +95,9 @@ export default function AnnotationTimestamps({