diff --git a/.build/markup-classes-baseline.txt b/.build/markup-classes-baseline.txt index 45a70f396..092507a37 100644 --- a/.build/markup-classes-baseline.txt +++ b/.build/markup-classes-baseline.txt @@ -1,7 +1,6 @@ # Classes used in the rendered html that no stylesheet defines on purpose: # JavaScript hooks and demo-only markers. One per line; delete a line when the hook goes. callout-note -checkbox-wrapper-mail datagrid-content datagrid-item datatable @@ -11,17 +10,7 @@ docs-search docs-theme-toggle dropzone-msg-desc dropzone-msg-title -email-action-icons -email-action-icons-item -email-border -email-content -email-date -email-list -email-sender-info -email-subject -email-title fallback -file-offcanvas github-dark icon-tabler icon-tabler-pencil @@ -47,7 +36,6 @@ sort-score sort-status sort-tags sort-type -star-toggle table-tbody tblr-illustrations-computer-fix-a tblr-illustrations-computer-fix-b diff --git a/.changeset/fix-email-inbox-list.md b/.changeset/fix-email-inbox-list.md new file mode 100644 index 000000000..b64cb2ce3 --- /dev/null +++ b/.changeset/fix-email-inbox-list.md @@ -0,0 +1,5 @@ +--- +"@tabler/preview": patch +--- + +Fixed the unstyled message list on the `email-inbox` page: a hoverable list group with label dots, dates and row actions. diff --git a/preview/pages/email-inbox.astro b/preview/pages/email-inbox.astro index f84f11d33..b834eb70b 100644 --- a/preview/pages/email-inbox.astro +++ b/preview/pages/email-inbox.astro @@ -10,27 +10,33 @@ import Progress from '@ui/Progress.astro' import Modal from '@shared/components/modals/Modal.astro' import CaptureModal from '@shared/components/CaptureModal.astro' import NewEmailModalContent from '@shared/components/modals/NewEmailModalContent.astro' +import ListGroup from '@ui/ListGroup.astro' +import ListGroupItem from '@ui/ListGroupItem.astro' +import { formatShortDate } from '@shared/lib/date-format' import mails from '@data/mails.json' + +// Label colors shared by the folder sidebar and the dots in the message list. +const labelColors: Record = { Updates: 'info', Friends: 'warning', Family: 'success', Social: 'primary', Important: 'danger', Promotions: 'purple' } ---
-