Mealz components Changelog
1.3.20 [29/09/2026]
Fixed
- store-locator:
- Leaflet basemap tiles no longer show Carto’s “API KEY REQUIRED” watermark; map uses OpenStreetMap tiles (no Carto API key).
1.3.15 - [04/12/2025]
Fixed
- recipe-priging
- Fix hidden display overrided by retailer
1.3.14 - [03/12/2025]
Updated
- recipe-card-cta, recipe-pricing, like-button
- Update these components to be called individually in dedicated routes
1.3.11 [06/08/2025]
Fixed:
- recipe-pricing
- Reduce flickering price when re-render component
- recipe-card
- Fix multiple event on recipe.show when re-render Component
1.3.10 [04/08/2025]
Fixed:
- recipe-pricing:
- Fix pricing flickering with loading
1.3.9 [04/08/2025]
Fixed:
- recipe-pricing:
- Show pricing correctly
1.3.8 [31/07/2025]
Updated:
- like-button:
- Added like data fetching from client-side
- Removed async calls, simplified subscription management
- recipe-card:
- Added client-side guests retrieval from localStorage preferences
- Optimized guests handling with fallback to default value
- recipe-pricing:
- Refactored pricing logic to fetch data client-side
- Simplified basket data subscription and price recalculation
1.3.7 [24/06/2025]
Fixed:
- recipe-card-cta
- Fix displaying CTA when shouldRemovePersonalization is true
1.3.6 [23/06/2025]
Updated:
- recipe-pricing:
- Reorder some logic as some variables were not set properly
- recipe-card:
- Now listens on recipe to fetch the updated number of guests
Deleted:
- pricebook
- Remove deprecated pricebook parameters
1.3.5 [16/06/2025]
Fixed:
- catalog-favorites
- Fixed 'pageView' event not sended if user has no favorites
1.3.4 [10/06/2025]
Fixed:
- recipe-pricing:
- Revert previous changes
1.3.3 [10/06/2025]
Fixed:
- recipe-pricing:
- If render is called and price is defined, update the view
1.3.2 [06/06/2025]
Updated:
- recipe-card-cta:
- Style for new hidden class & remove hidden class after the basket data has been fetched & the CTA can be displayed when personalization is disabled
- like-button:
- When personalization is disabled, fetch the like & update the DOM manually
Fixed:
- catalog-history:
- Empty view was inconsistent with the ones from the other pages
- Added missing pageview event
1.3.1 [23/05/2025]
Fixed:
- history-order-expanded:
- card width was inconsistent
1.3.0 [23/05/2025]
Added:
- basket-preview:
- Added component with interactions
- Added component noSupplier mode
- Added products view which can be hidden through supplierToken
- product views has number of recipes badge and clicking on it shows a modal with the recipe name list
- counter:
- Created component
- basket-preview-product:
- Created component
- mealz-modal:
- Created component
- recipe-details
- Added component
- skeleton:
- Added CSS class mealz-skeleton-loader that can be imported when needed
- store-locator-drawer
- Added component with interactions
- history-order-expanded:
- Added new component for the new history display in list mode
Updated:
- CSS:
- Replaced every color fallbacks occurrence with new colors from miam-ds
- drawer:
- Component is now called through HTML tags and content is now passed through HTML slots
- no-shadow-element:
- updated styleURL to be an array of URLs or a single URL and update boilerplate to handle it
- config:
- Added styles folder to the build input
- basket-preview-product:
- Replace basketEntryId property with basketEntry preventing stale data
- slider-tabs:
- Slider now updates visually when selectedTabIndex is changed from parent
Internal:
- history-drawer:
- The component now uses
drawer-view-swapper
- The component now uses
- recipe-addon:
- Added component with interactions
- store-indicator:
- Added component with interactions
- slider-tabs:
- Added component with inputs / outputs
- sponsor-block:
- Added component
- utils:
- Add round, capitalize and stopPropagation functions
- models:
- Add BasketEntry model
- product-addition:
- Added component with interactions
- no-shadow-element:
- Add
addStylesandremoveStylesboilerplate
- Add
- price:
- Created component
- lang-to-currency:
- Created a map to assign a currency to a language
- miam-ds
- Turned miam colors into design system colors
- types:
- Add Recipe definition
- Add Ingredient definition
- vite.config
- Exclude files from build to minimize calls
Fixed:
- history-order:
- Fixed orders were overlapping
- Fixed gap between "Ordered on" and the date
1.2.8 [25/04/2025]
Fixed:
- my-meals-button:
- The arrow could come out of the button of mobile resolutions
- Removed remaning occurences of miam-ds links as to not have conflicts with the version served by SSR-API
1.2.7 [18/04/2025]
Fixed:
- catalog-toolbar:
- Remove "navigate back" on back button as already set in HTML and was triggering navigate back twice
1.2.6 [18/04/2025]
Updated:
- catalog-favorites:
- Now if unliking a recipe on the page or on the recipe-details view, the recipe will be removed from the list
Fixed:
- load-more:
- Fixed issue where load-more was based on the user scroll position from the bottom of the window and not from the list element
1.2.5 [28/03/2025]
Fixed:
- catalog-favorites:
- Fixed init state was incorrectly set, now the hidden state of the elements are set on prerender and only updated on render
- Removed unused loader on start
1.2.4 [21/03/2025]
Fixed:
- Recipe-cards CSS was lacking the rules to remove margins on p tags that are in the catalog CSS
- catalog-load-more
- The auto-load more recipes on scroll was triggered even when no more recipes were available
- catalog-history:
- The history-order cards now use a CSS variable for their width that uses the same base value as the recipe-cards by default
- catalog-toolbar:
- Back button now does a native back action instead of redirecting to the home page
- recipe-pricing:
- Prevent price displaying
NaNWhen price starting data is null
- Prevent price displaying
1.2.3 [31/01/2025]
Internal
- catalog-category
- Added pageview event
- catalog-favorites
- Added pageview event
- catalog-home
- Added pageview event
- Added category.show event, triggered when category is 80% in viewport for 1s
- catalog-toolbar
- Added search event
1.2.2 [10/01/2025]
Added:
- catalog:
- Added category.display event on click on "See all" / the title of a category
Updated:
- headers:
- requests for
load-moreanddrawernow uses authlessId if needed in authorization header
- requests for
Fixed:
- catalog-load-more
- Fixed the auto-load more recipes on scroll for unconnected users
- toolbar:
- Added CSS class for toolbar to do full width on Firefox
- store-locator:
- In getByCoordinates, lat and lng parameters were inverted
Internal:
- Synchronize the session id with SDK during initialization for the following components:
- catalog-category
- catalog-favorites
- catalog-history
- catalog-home
- catalog-list
- recipe-card
1.2.1 [20/12/2024]
Added:
- catalog
- Added support for store-locator
- recipe-promotion
- Added css for component
- promotions-banner
- Added css for component, is hidden by default and must be displayed manually
- catalog-history
- Added component
- Open drawer of the clicked order
- Added "no history" view
- catalog-tabs
- Added component
- drawer
- Added component
- history-order
- Added component
- recipe-card
- Added style for a new variant
Updated:
- recipe-card
- Updated some css to match mock ups
- viewport-listener:
- Handle unsubscription to prevent memory leaks
Fixed:
- catalog-favorites
- Fixed an infinite loader issue when the user hadn't marked any recipes as favorites
1.2.0 [13/12/2024]
Updated:
- Removed the
starting-dataattribute from HTML after it has been successfully read for the following components:- catalog-category
- catalog-favorites
- catalog-home
- catalog-list
- catalog-toolbar
- recipe-card-cta
- recipe-pricing
Fixed:
- Fixed margins & selectors after semantic tags were added in SSR-API
- catalog-load-more
- Catch failed requests and log to console instead of displaying in HTML
Internal
- recipe-card
- Handle
pathandcategoryIdin starting data for analytics - New recipe.show event sent when recipe-card is 80% in viewport for 1s
- Handle
- catalog-toolbar
- Handle
pathin starting data for analytics
- Handle
- my-meals-button
- Handle starting data with
pathfor analytics
- Handle starting data with
- viewport-listener:
- Create class
1.1.2 [29/11/2024]
Fixed:
- catalog
- Fix only the home page had a padding at the bottom
1.1.1 [25/11/2024]
Fixed:
- catalog-favorites
- Fix infinite loader
1.1.0 [22/11/2024]
Added:
- catalog-favorites
- Added auto-load more recipes on scroll
- catalog-list
- Added auto-load more recipes on scroll
- catalog-toolbar
- Added preferences loader
Updated:
- catalog-toolbar
- Reset stickyObserver when new value is given using mealz.setStickyHeaderHeight(...)
Internal:
- catalog-load-more
- Added component to group load more functionality
1.0.2 [15/11/2024]
Added:
- catalog
- Added support for preferences
Updated:
- catalog-toolbar
- Removed unused filters
Fixed
- catalog-home:
- Added back arrow to "See All" button
- Fixed gap issue in category header for smaller screens
- like-button:
- Corrected icon color on hover
- recipe-card
- Fixed recipe-card width for smaller screens
- recipe-pricing:
- Encapsulated hidden and active classes
1.0.1 [31/10/2024]
merged 0.6.1 into 1.0. See 0.6.1 for changes
1.0.0 [24/10/2024]
Breaking changes:
- window.miam:
- Renamed to window.mealz
0.7.0 [10/01/2025]
Added:
- store-locator:
- Added 3 new events: filterChange with supplierName as detail, mapSelected, listSelected
0.6.1 [31/10/2024]
0.6.0 has been unpublished an thus could not be republished.
0.6.0 [31/10/2024]
Removed:
-store-locator:
- Removed radius selector and changed default radius to 50km
- Removed radiusOption attribute
Updated:
-store-locator:
- Now opens the list of stores directly in webmobile after searching by address or geolocation
- Now shows the home delivery stores in first position
0.6.0 [31/10/2024]
Updated:
- catalog:
- created catalog.css for shared styles between catalog components
Fixed:
- like-button:
- State of button was not updated properly
0.5.0 [03/10/2024]
Added:
- store-locator:
- Added loaders on the POS select buttons after selecting a POS
- Added searchChange output
- catalog-category
- Added component
- catalog-favorites
- Added component
- catalog-breadcrumbs
- Added component
- catalog-toolbar
- Added component
Fixed:
- like-button
- now listens to recipe-like changes
0.4.0 [20/09/2024]
Added:
- catalog-category-home:
- Added component with its hydration and lifecycle
- recipe-pricing
- Added fetch on scroll
Fixed:
- recipe-card-cta
- Fixed state didn't update correctly
0.3.0 [20/09/2024]
All components except store-locator are now the hydration & lifecycle of the corresponding HTML returned by the routes from Mealz SSR API The components lifecycle use webc-miam@9.0 via the interface window.mealzInternal
Added:
- store-locator:
- Added supplierName property to posIdChange event
- recipe-card:
- Added component with its hydration and lifecycle
- recipe-card-cta:
- Added component with its hydration and lifecycle
- recipe-pricing:
- Added component with its hydration and lifecycle
- like-button:
- Added component with its hydration and lifecycle
0.3.0-alpha.1 - [17/07/2024]
Fixed:
- put "vite-plugin-static-copy" package at right place
Updated:
- gitlab-ci now build like-button and recipe-card
0.3.0-alpha.0 - [17/07/2024]
Added:
- like-button:
- component first commit
- recipe-card:
- component first commit
0.2.1 - [16/07/2024]
Fixed:
- store-locator:
- Fixed nested CSS doesn't work for tag names
0.2.0 - [16/07/2024]
Added:
- store-locator:
- When loading POS, displays a loader in the pos list
- No POS found indicator
- New radius selector for POS search
- New supplier selector to filter results
- Can now submit search using keyboard (Android / iOS / Web)
Fixed:
- store-locator:
- Updated the search radius default value from 10 km to 25 km.
- geolocationCoordinates input type changed to GeolocationPosition (was a custom Coordinates interface before)
- Map initialization now waits for Leaflet to be fully loaded
- Adjusted CSS for store-locator mobile view
0.1.2
Added
- store-locator:
- Geolocation
0.1.1
Added
- store-locator:
- Added some css classes to scope on elements
- Added miam-ds to component
0.1.0
Added
- store-locator component
Internal
- Added a demo page to display the store-locator