@trii/components 3.1.15 → 3.1.16

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.
@@ -4,6 +4,7 @@ interface Props {
4
4
  messageId: string;
5
5
  templateFileType?: MessageHeaderType;
6
6
  timestamp: Date;
7
+ timeOnly?: boolean;
7
8
  }
8
- declare const Document: ({ documents, messageId, templateFileType, timestamp }: Props) => import("react/jsx-runtime").JSX.Element;
9
+ declare const Document: ({ documents, messageId, templateFileType, timestamp, timeOnly }: Props) => import("react/jsx-runtime").JSX.Element;
9
10
  export default Document;
@@ -0,0 +1,15 @@
1
+ import type { MediaEntry } from './mediaEntries';
2
+ export type MediaRow = {
3
+ key: string;
4
+ kind: 'date';
5
+ timestamp: MediaEntry['timestamp'];
6
+ } | {
7
+ key: string;
8
+ kind: 'items';
9
+ entries: {
10
+ entry: MediaEntry;
11
+ index: number;
12
+ }[];
13
+ };
14
+ /** Group the loaded pages only; keep API order and original gallery indices. */
15
+ export declare function mediaRows(entries: MediaEntry[], columns: number): MediaRow[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/components",
3
- "version": "3.1.15",
3
+ "version": "3.1.16",
4
4
  "description": "Trii components package",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",