@lls/typings 24.16.0-e10d609b → 24.16.0-e1791aef

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-e10d609b",
3
+ "version": "24.16.0-e1791aef",
4
4
  "description": "types custom du monorepo",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -1,5 +1,5 @@
1
+ import type { DocJson, LayoutItem } from '@lls/store'
1
2
  import type { ReactSetState } from '@typings/react'
2
-
3
3
  type ZoomPropsType = {
4
4
  zoomStep?: number
5
5
  zoom: number
@@ -55,6 +55,9 @@ export type PresentationPropsType = {
55
55
  setIsLaserCursor?: ReactSetState<boolean>
56
56
  boardId?: string | undefined
57
57
  showHomo?: boolean
58
+ forceHomoSinglePage?: boolean
59
+ showHomoSinglePage?: boolean
60
+ docsUuidWithFullscreenEnabled?: { groups: Record<LayoutItem['id'] | 'root', NonNullable<DocJson['uuid']>[]> }
58
61
  setShowHomo?: (homo: boolean) => void
59
62
  openProjectorView?: () => void
60
63
  extendSplitView?: (view: ProjectorViewPosition) => void
@@ -68,6 +71,7 @@ export type PresentationPropsType = {
68
71
  initZoomModal?: (docUuid?: string) => void
69
72
  deleteZoomModal?: (docUuid?: string) => void
70
73
  getNbDocs?: (tabId?: string | undefined) => number
71
- getFirstDocWithFullscreen?: (tabId?: string) => string
74
+ getFirstDocWithFullscreen?: (tabId?: string) => string | undefined
72
75
  resetLeftDocZoomViewerStep?: () => void
76
+ setForceHomoSinglePage?: (force: boolean) => void
73
77
  }