@lls/typings 24.20.0-e6fe4f56 → 24.20.0-e7afd1cb

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/typings",
3
- "version": "24.20.0-e6fe4f56",
3
+ "version": "24.20.0-e7afd1cb",
4
4
  "description": "types custom du monorepo",
5
5
  "main": "index.js",
6
6
  "keywords": [],
package/page.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import type { Page } from '@lls/store'
2
+
3
+ export type GetRelatedPagesType = (element: Page | undefined) => { relatedPage?: Page; relatedPages: Page[] }
@@ -51,6 +51,17 @@ export type NavigationPropsType = {
51
51
  rightPageLink?: { visible: boolean; href?: string; onClick: (e: React.MouseEvent) => void }
52
52
  }
53
53
 
54
+ export type ArchipelParamsType = {
55
+ isArchipelHidden: boolean
56
+ setShouldKeepArchipel: (value: boolean) => void
57
+ archipelHiddenStyle: {
58
+ top: React.CSSProperties
59
+ right: React.CSSProperties
60
+ bottom: React.CSSProperties
61
+ left: React.CSSProperties
62
+ }
63
+ }
64
+
54
65
  export type PresentationPropsType = {
55
66
  projectorView?: ProjectorView
56
67
  isPresentationMode?: boolean
@@ -68,6 +79,7 @@ export type PresentationPropsType = {
68
79
  docsUuidWithFullscreenEnabled?: { groups: Record<LayoutItem['id'] | 'root', NonNullable<DocJson['uuid']>[]> }
69
80
  isArchipel?: boolean // TODO a supprimer
70
81
  isInFullscreen?: boolean
82
+ archipelParams?: ArchipelParamsType
71
83
  setShowHomo?: (homo: boolean) => void
72
84
  openProjectorView?: () => void
73
85
  extendSplitView?: (view: ProjectorViewPosition) => void