@wasto/cms-components 1.5.18 → 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 +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +1748 -1270
- package/dist/index.mjs +1479 -1000
- package/package.json +2 -2
- package/src/components/announcement-modal/AnnouncementModal.tsx +46 -7
- package/src/components/collection-calendar/CollectionCalendar.tsx +32 -4
- package/src/components/collection-calendar/CollectionDayModal.tsx +286 -0
- package/src/components/header/Header.tsx +22 -3
- package/src/components/locations-map/LocationsMapShell.tsx +1 -1
- package/src/components/push/PushNotificationNavigator.tsx +133 -0
- package/src/components/push/PushTokenRegistrar.tsx +5 -3
- package/src/contexts/AnnouncementsContext.tsx +72 -8
- package/src/contexts/LocalContext.tsx +9 -5
- package/src/contexts/WastoContext.tsx +4 -2
- package/src/hooks/useCityAnnouncements.ts +4 -4
- package/src/hooks/useCollectionCalendar.ts +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -147,8 +147,13 @@ type HeaderProps = {
|
|
|
147
147
|
* il faut l’inset). Passer `false` seulement si le parent inset déjà.
|
|
148
148
|
*/
|
|
149
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;
|
|
150
155
|
};
|
|
151
|
-
declare function Header({ options, route, navigation, overlay, headerConfig, safeTop, }: HeaderProps): ReactNode;
|
|
156
|
+
declare function Header({ options, route, navigation, overlay, headerConfig, safeTop, showCityIdentity, }: HeaderProps): ReactNode;
|
|
152
157
|
|
|
153
158
|
type LocationsMapProps = {
|
|
154
159
|
fullScreen?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -147,8 +147,13 @@ type HeaderProps = {
|
|
|
147
147
|
* il faut l’inset). Passer `false` seulement si le parent inset déjà.
|
|
148
148
|
*/
|
|
149
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;
|
|
150
155
|
};
|
|
151
|
-
declare function Header({ options, route, navigation, overlay, headerConfig, safeTop, }: HeaderProps): ReactNode;
|
|
156
|
+
declare function Header({ options, route, navigation, overlay, headerConfig, safeTop, showCityIdentity, }: HeaderProps): ReactNode;
|
|
152
157
|
|
|
153
158
|
type LocationsMapProps = {
|
|
154
159
|
fullScreen?: boolean;
|