@wasto/cms-components 1.5.16 → 1.5.19

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/dist/index.d.mts CHANGED
@@ -95,9 +95,11 @@ type AppHeaderLogoElement = {
95
95
  id: string;
96
96
  type: "logo";
97
97
  slot: AppHeaderSlot;
98
- sourceType: "url" | "media";
98
+ sourceType: "url" | "media" | "bundled";
99
99
  url?: string;
100
100
  mediaId?: string;
101
+ /** `require(...)` d’un asset embarqué à l’export (ImageSource). */
102
+ module?: number;
101
103
  };
102
104
  type AppHeaderTitleElement = {
103
105
  id: string;
@@ -141,12 +143,17 @@ type HeaderProps = {
141
143
  */
142
144
  readonly headerConfig?: AppHeaderConfig | null;
143
145
  /**
144
- * Force le padding safe-area top. Par défaut : uniquement en `overlay`
145
- * (le header React Navigation est déjà placé sous la status bar).
146
+ * Padding safe-area top. Défaut `true` (header custom RN = edge-to-edge,
147
+ * il faut l’inset). Passer `false` seulement si le parent inset déjà.
146
148
  */
147
149
  readonly safeTop?: boolean;
150
+ /**
151
+ * Logo + titre de la collectivité. Défaut : masqué sur les écrans
152
+ * notifications et profil.
153
+ */
154
+ readonly showCityIdentity?: boolean;
148
155
  };
149
- declare function Header({ options, route, navigation, overlay, headerConfig, safeTop, }: HeaderProps): ReactNode;
156
+ declare function Header({ options, route, navigation, overlay, headerConfig, safeTop, showCityIdentity, }: HeaderProps): ReactNode;
150
157
 
151
158
  type LocationsMapProps = {
152
159
  fullScreen?: boolean;
package/dist/index.d.ts CHANGED
@@ -95,9 +95,11 @@ type AppHeaderLogoElement = {
95
95
  id: string;
96
96
  type: "logo";
97
97
  slot: AppHeaderSlot;
98
- sourceType: "url" | "media";
98
+ sourceType: "url" | "media" | "bundled";
99
99
  url?: string;
100
100
  mediaId?: string;
101
+ /** `require(...)` d’un asset embarqué à l’export (ImageSource). */
102
+ module?: number;
101
103
  };
102
104
  type AppHeaderTitleElement = {
103
105
  id: string;
@@ -141,12 +143,17 @@ type HeaderProps = {
141
143
  */
142
144
  readonly headerConfig?: AppHeaderConfig | null;
143
145
  /**
144
- * Force le padding safe-area top. Par défaut : uniquement en `overlay`
145
- * (le header React Navigation est déjà placé sous la status bar).
146
+ * Padding safe-area top. Défaut `true` (header custom RN = edge-to-edge,
147
+ * il faut l’inset). Passer `false` seulement si le parent inset déjà.
146
148
  */
147
149
  readonly safeTop?: boolean;
150
+ /**
151
+ * Logo + titre de la collectivité. Défaut : masqué sur les écrans
152
+ * notifications et profil.
153
+ */
154
+ readonly showCityIdentity?: boolean;
148
155
  };
149
- declare function Header({ options, route, navigation, overlay, headerConfig, safeTop, }: HeaderProps): ReactNode;
156
+ declare function Header({ options, route, navigation, overlay, headerConfig, safeTop, showCityIdentity, }: HeaderProps): ReactNode;
150
157
 
151
158
  type LocationsMapProps = {
152
159
  fullScreen?: boolean;