@lls/typings 24.16.0-bcf46133 → 24.16.0-c08b38de

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.
@@ -0,0 +1,27 @@
1
+ import type { Page } from '@lls/store'
2
+
3
+ export type HistoryItem = {
4
+ template: Page
5
+ touchedId: string | null
6
+ }
7
+
8
+ export type LightEditorHistory = {
9
+ items: HistoryItem[]
10
+ index: number
11
+ }
12
+
13
+ export type LightTouchedIds = Record<string, number>
14
+
15
+ export type useViewerHistoryProps = {
16
+ template: Page
17
+ onChange?: (template: Page, context: string) => void
18
+ }
19
+
20
+ export type HistoryProps = {
21
+ lightTouchedIds: LightTouchedIds
22
+ addEntry: (template: Page, id: string) => void
23
+ hasPreviousEntry: boolean
24
+ hasNextEntry: boolean
25
+ onGoBack: () => void
26
+ onGoForward: () => void
27
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.16.0-bcf46133",
3
+ "version": "24.16.0-c08b38de",
4
4
  "description": "types custom du monorepo",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -55,6 +55,8 @@ export type PresentationPropsType = {
55
55
  setIsLaserCursor?: ReactSetState<boolean>
56
56
  boardId?: string | undefined
57
57
  showHomo?: boolean
58
+ forceHomoSinglePage?: boolean
59
+ showHomoSinglePage?: boolean
58
60
  docsUuidWithFullscreenEnabled?: { groups: Record<LayoutItem['id'] | 'root', NonNullable<DocJson['uuid']>[]> }
59
61
  setShowHomo?: (homo: boolean) => void
60
62
  openProjectorView?: () => void
@@ -71,4 +73,5 @@ export type PresentationPropsType = {
71
73
  getNbDocs?: (tabId?: string | undefined) => number
72
74
  getFirstDocWithFullscreen?: (tabId?: string) => string | undefined
73
75
  resetLeftDocZoomViewerStep?: () => void
76
+ setForceHomoSinglePage?: (force: boolean) => void
74
77
  }