@propeller-commerce/propeller-v2-react-ui 0.19.1 → 0.20.0

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.cts CHANGED
@@ -2598,6 +2598,8 @@ interface AccountIconAndMenuProps {
2598
2598
  iconClassName?: string;
2599
2599
  /** Additional class name for the dropdown menu. */
2600
2600
  menuClassName?: string;
2601
+ /** Additional class name for each sidebar menu link. */
2602
+ linkClassName?: string;
2601
2603
  /**
2602
2604
  * Component variant.
2603
2605
  * - 'dropdown' (default): Header icon with popup menu
@@ -3168,7 +3170,7 @@ interface CartCarriersProps {
3168
3170
  * Renders the cart's available delivery carriers as a selectable grid,
3169
3171
  * showing each carrier's logo, price and delivery deadline.
3170
3172
  */
3171
- declare function CartCarriers(props: CartCarriersProps): React$1.JSX.Element;
3173
+ declare function CartCarriers(rawProps: CartCarriersProps): React$1.JSX.Element;
3172
3174
 
3173
3175
  interface CartItemProps {
3174
3176
  /** GraphQL client for the Propeller SDK. Resolved from PropellerProvider when omitted. */
@@ -4287,10 +4289,14 @@ declare function DeliveryDate(rawProps: DeliveryDateProps): React$1.JSX.Element;
4287
4289
 
4288
4290
  interface GridPaginationProps {
4289
4291
  /**
4290
- * A ProductsResponse object for populating the pagination component.
4291
- * Reads `page` (current page), `pages` (total pages) from the response.
4292
+ * Pagination state: `page` (current page) and `pages` (total pages).
4293
+ * Structural, so a `ProductsResponse` fits as-is and callers holding the two
4294
+ * numbers on their own — `useSpareParts`, `FavoriteListDetails` — need no cast.
4292
4295
  */
4293
- products: ProductsResponse;
4296
+ products: Pick<ProductsResponse, 'page' | 'pages'> | {
4297
+ page?: number;
4298
+ pages?: number;
4299
+ };
4294
4300
  /**
4295
4301
  * Called when the user navigates to a different page.
4296
4302
  * Receives the newly selected page number (1-based).
@@ -4455,6 +4461,11 @@ interface FavoriteListDetailsProps {
4455
4461
  graphqlClient?: GraphQLClient;
4456
4462
  /** The logged in user for which the favorite list is going to be displayed. Resolved from PropellerProvider when omitted. */
4457
4463
  user?: Contact | Customer;
4464
+ /**
4465
+ * Active company ID from the company switcher.
4466
+ * Overrides the user's default company for price calculation.
4467
+ * Triggers a re-fetch when changed. */
4468
+ companyId?: number;
4458
4469
  /** The favorite list ID to display */
4459
4470
  favoriteListId: string;
4460
4471
  /** Action method for deleting a single favorite list item. If not provided, delete button is hidden */
@@ -4864,7 +4875,7 @@ interface GridToolbarProps {
4864
4875
  * Controls which icon the view-toggle button shows.
4865
4876
  * Defaults to 'grid'.
4866
4877
  */
4867
- viewMode?: string;
4878
+ viewMode?: 'grid' | 'list';
4868
4879
  /**
4869
4880
  * Available page-size options shown in the per-page dropdown.
4870
4881
  * Defaults to [12, 24, 48].
@@ -4889,7 +4900,7 @@ interface GridToolbarProps {
4889
4900
  * Called when the user clicks the view-mode toggle button.
4890
4901
  * Receives the new mode: 'grid' or 'list'.
4891
4902
  */
4892
- onViewChange?: (mode: string) => void;
4903
+ onViewChange?: (mode: 'grid' | 'list') => void;
4893
4904
  /**
4894
4905
  * Total products found — displayed as a result count on the left side.
4895
4906
  * Pass 0 or undefined to hide the count.
@@ -5684,11 +5695,19 @@ interface OrderSummaryProps {
5684
5695
  /** Currency symbol used by the default formatter. Default: `'€'`. */
5685
5696
  currency?: string;
5686
5697
  }
5698
+
5687
5699
  /**
5688
- * Renders a read-only summary of an order: meta fields (number, date, status,
5689
- * total), invoice/delivery addresses, delivery info and remarks.
5700
+ * Client wrapper around the pure `OrderSummary` component. Resolves
5701
+ * `language`, `currency`, `user` and `portalMode` from `<PropellerProvider>`
5702
+ * when the caller doesn't pass them explicitly. The pure version stays
5703
+ * exported from `/pure` for RSC use.
5704
+ *
5705
+ * Without this, every client host had to remember to pass `language` or the
5706
+ * order's money silently formatted at the `nl-NL` default — right glyph,
5707
+ * Dutch separators — on a shop reading in any other language.
5690
5708
  */
5691
- declare function OrderSummary(props: OrderSummaryProps): React$1.JSX.Element;
5709
+
5710
+ declare function OrderSummaryWithProvider(rawProps: OrderSummaryProps): React$1.JSX.Element;
5692
5711
 
5693
5712
  /**
5694
5713
  * @rsc-safe — Pure display component. No React hooks, no event handlers, no
@@ -5727,11 +5746,19 @@ interface OrderTotalsProps {
5727
5746
  /** Currency symbol used by the default formatter. Default: `'€'`. */
5728
5747
  currency?: string;
5729
5748
  }
5749
+
5730
5750
  /**
5731
- * Renders the price breakdown for an order or quote: subtotal, discount,
5732
- * transaction and shipping costs, per-rate VAT lines and the grand total.
5751
+ * Client wrapper around the pure `OrderTotals` component. Resolves
5752
+ * `language`, `currency` and `includeTax` from `<PropellerProvider>` when the
5753
+ * caller doesn't pass them explicitly. The pure version stays exported from
5754
+ * `/pure` for RSC use.
5755
+ *
5756
+ * Without this, every client host had to remember to pass `language` or the
5757
+ * totals silently formatted at the `nl-NL` default — right glyph, Dutch
5758
+ * separators — on a shop reading in any other language.
5733
5759
  */
5734
- declare function OrderTotals(props: OrderTotalsProps): React$1.JSX.Element;
5760
+
5761
+ declare function OrderTotalsWithProvider(rawProps: OrderTotalsProps): React$1.JSX.Element;
5735
5762
 
5736
5763
  /**
5737
5764
  * @rsc-blocked — Client-only component: interactive state (useState).
@@ -6289,9 +6316,10 @@ declare function ProductDescription(props: ProductDescriptionProps): React$1.JSX
6289
6316
  interface ProductDownloadsProps {
6290
6317
  /**
6291
6318
  * Media documents for the product.
6292
- * Obtain from `product.media.documents`.
6319
+ * Obtain from `product.media?.documents`. The API answers `null` rather than
6320
+ * an empty page when a product has none, so this may be absent.
6293
6321
  */
6294
- downloads: PaginatedMediaDocumentResponse;
6322
+ downloads?: PaginatedMediaDocumentResponse | null;
6295
6323
  /**
6296
6324
  * Language code used to resolve the correct localised document URL and label.
6297
6325
  */
@@ -6398,16 +6426,6 @@ interface ProductGridProps {
6398
6426
  * of this prop. Defaults to false.
6399
6427
  */
6400
6428
  isLoading?: boolean;
6401
- /**
6402
- * Provide a custom product card renderer.
6403
- * Falls back to the built-in `<ProductCard>` when not set.
6404
- */
6405
- renderProductCard?: (product: Product) => any;
6406
- /**
6407
- * Provide a custom cluster card renderer.
6408
- * Falls back to the built-in `<ClusterCard>` when not set.
6409
- */
6410
- renderClusterCard?: (cluster: Cluster) => any;
6411
6429
  /**
6412
6430
  * Controls portal visibility mode.
6413
6431
  * 'open' — full e-commerce; AddToCart is visible in product cards.
@@ -7064,9 +7082,10 @@ declare function ProductSpecifications(rawProps: ProductSpecificationsProps): Re
7064
7082
  interface ProductVideosProps {
7065
7083
  /**
7066
7084
  * Media videos for the product.
7067
- * Obtain from `product.media.videos`.
7085
+ * Obtain from `product.media?.videos`. The API answers `null` rather than an
7086
+ * empty page when a product has none, so this may be absent.
7068
7087
  */
7069
- videos: PaginatedMediaVideoResponse;
7088
+ videos?: PaginatedMediaVideoResponse | null;
7070
7089
  /**
7071
7090
  * Language code used to resolve the correct localised video URI.
7072
7091
  */
@@ -7669,4 +7688,4 @@ declare function DefaultProductBadges(props: BadgesComponentProps): React__defau
7669
7688
  */
7670
7689
  declare function DefaultProductSurcharges(props: ProductSurchargesComponentProps): React__default.JSX.Element | null;
7671
7690
 
7672
- export { AccountIconAndMenu, type AccountIconAndMenuProps, ActionCode, type ActionCodeProps, type AddContactFormState, type AddItemOptions, _default$1 as AddToCart, type AddToCartProps, AddToFavorite, type AddToFavoriteProps, AddressCardExport as AddressCard, type AddressCardProps, type AddressInput, AddressSelector, type AddressSelectorProps, type AttributeDisplayItem, type AttributeGroup, BreadcrumbsWithProvider as Breadcrumbs, type BreadcrumbsProps, CartBonusItems, type CartBonusItemsProps, CartCarriers, type CartCarriersProps, CartIconAndSidebar, type CartIconAndSidebarProps, type CartInitConfig, CartItemExport as CartItem, type CartItemProps, CartOverview, type CartOverviewProps, CartPaymethods, type CartPaymethodsProps, CartSummary, type CartSummaryProps, CategoryDescription, type CategoryDescriptionProps, CategoryShortDescriptionWithProvider as CategoryShortDescription, type CategoryShortDescriptionProps, ClusterCardExport as ClusterCard, type ClusterCardProps, ClusterConfigurator, type ClusterConfiguratorProps, ClusterInfo, type ClusterInfoProps, ClusterOptions, type ClusterOptionsProps, CompanySwitcher, type CompanySwitcherProps, type ConfiguredSetting, _default$1 as DefaultAddToCart, AddToFavorite as DefaultAddToFavorite, _default as DefaultItemStock, DefaultProductBadges, ProductBulkPrices as DefaultProductBulkPrices, ProductBundles as DefaultProductBundles, DefaultProductImage, ProductPriceDisplay as DefaultProductPrice, DefaultProductSurcharges, DeliveryDate, type DeliveryDateProps, FavoriteListDetails, type FavoriteListDetailsProps, type FavoriteListFormData, FavoriteListItemExport as FavoriteListItem, type FavoriteListItemProps, FavoriteLists, type FavoriteListsProps, type FetchActiveCartConfig, type FetchCrossupsellsInput, ForgotPassword, type ForgotPasswordProps, type GetCrossupsellsOptions, GridFilters, GridFiltersPanel, type GridFiltersPanelProps, type GridFiltersProps, GridPagination, type GridPaginationProps, GridTitleWithProvider as GridTitle, type GridTitleProps, GridToolbar, type GridToolbarProps, _default as ItemStock, type ItemStockProps, ItemsOverview, type ItemsOverviewProps, LoginFormExport as LoginForm, type LoginFormProps, LoginToOrderButton, type LoginToOrderButtonProps, MachineCard, type MachineCardProps, MachineGrid, type MachineGridProps, type MachineListingState, Menu, type MenuCategory, type MenuProps, type MenuRenderContext, type MenuStyle, OrderActions, type OrderActionsProps, OrderBonusItems, type OrderBonusItemsProps, OrderItemCard, type OrderItemCardProps, OrderList, type OrderListProps, type OrderSearchForm, OrderShipments, type OrderShipmentsProps, OrderSummary, type OrderSummaryProps, OrderTotals, type OrderTotalsProps, type PlaceOrderOptions, PriceToggle, type PriceToggleProps, ProductBulkPricesWithProvider as ProductBulkPrices, type ProductBulkPricesProps, ProductBundles, type ProductBundlesProps, ProductCard, type ProductCardProps, ProductDescription, type ProductDescriptionProps, ProductDownloads, type ProductDownloadsProps, ProductGallery, type ProductGalleryProps, ProductGridCompound as ProductGrid, type ProductGridConfig, ProductGridConfigProvider, type ProductGridProps, ProductInfoExport as ProductInfo, type ProductInfoProps, ProductPriceWithProvider as ProductPrice, type ProductPriceProps, ProductShortDescriptionWithProvider as ProductShortDescription, type ProductShortDescriptionProps, ProductSlider, type ProductSliderProps, ProductSpecifications, type ProductSpecificationsProps, ProductTabs, type ProductTabsProps, ProductVideos, type ProductVideosProps, type PropellerDeps, PropellerDepsProvider, type PropellerDepsProviderProps, type PropellerInfra, PropellerProvider, type PropellerProviderProps, type PropellerScope, PurchaseAuthorizationConfigurator, type PurchaseAuthorizationConfiguratorProps, PurchaseAuthorizationRequests, type PurchaseAuthorizationRequestsProps, QuickOrder, type QuickOrderLine, type QuickOrderMatch, type QuickOrderProps, type QuickOrderSubmitResult, type QuickOrderUploadLine, QuoteActions, type QuoteActionsProps, RegisterForm, type RegisterFormProps, type ResolveSpec, type RowEdit, SearchBar, type SearchBarProps, type UseAddressOptions, type UseAddressReturn, type LoginResult as UseAuthLoginResult, type UseAuthOptions, type RegisterContactInput as UseAuthRegisterContactInput, type RegisterCustomerInput as UseAuthRegisterCustomerInput, type UseAuthReturn, type UseCartOptions, type UseCartReturn, type UseCheckoutOptions, type UseCheckoutReturn, type UseClusterConfiguratorOptions, type UseClusterConfiguratorReturn, type UseCompanyOptions, type UseCompanyReturn, type UseFavoritesOptions, type UseFavoritesReturn, type UseMachinesOptions, type UseMachinesReturn, type UseMenuOptions, type UseMenuReturn, type UseOrdersOptions, type UseOrdersReturn, type BundleItem as UseProductBundlesBundleItem, type UseProductBundlesOptions, type UseProductBundlesReturn, type UseProductInfoOptions, type UseProductInfoReturn, type UseProductSearchOptions, type UseProductSearchReturn, type UseProductSliderOptions, type UseProductSliderReturn, type UseProductSpecsOptions, type UseProductSpecsReturn, type UsePurchaseAuthorizationConfiguratorOptions, type UsePurchaseAuthorizationConfiguratorReturn, type UsePurchaseAuthorizationRequestsOptions, type UsePurchaseAuthorizationRequestsReturn, type UseQuickOrderOptions, type UseQuickOrderReturn, type UseSparePartsOptions, type UseSparePartsReturn, UserDetails, type UserDetailsProps, buildRootMachinesQuery, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMachines, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useQuickOrder, useRequiredPropellerDeps, useResolvedProps, useServices, useSpareParts, useUserMode };
7691
+ export { AccountIconAndMenu, type AccountIconAndMenuProps, ActionCode, type ActionCodeProps, type AddContactFormState, type AddItemOptions, _default$1 as AddToCart, type AddToCartProps, AddToFavorite, type AddToFavoriteProps, AddressCardExport as AddressCard, type AddressCardProps, type AddressInput, AddressSelector, type AddressSelectorProps, type AttributeDisplayItem, type AttributeGroup, BreadcrumbsWithProvider as Breadcrumbs, type BreadcrumbsProps, CartBonusItems, type CartBonusItemsProps, CartCarriers, type CartCarriersProps, CartIconAndSidebar, type CartIconAndSidebarProps, type CartInitConfig, CartItemExport as CartItem, type CartItemProps, CartOverview, type CartOverviewProps, CartPaymethods, type CartPaymethodsProps, CartSummary, type CartSummaryProps, CategoryDescription, type CategoryDescriptionProps, CategoryShortDescriptionWithProvider as CategoryShortDescription, type CategoryShortDescriptionProps, ClusterCardExport as ClusterCard, type ClusterCardProps, ClusterConfigurator, type ClusterConfiguratorProps, ClusterInfo, type ClusterInfoProps, ClusterOptions, type ClusterOptionsProps, CompanySwitcher, type CompanySwitcherProps, type ConfiguredSetting, _default$1 as DefaultAddToCart, AddToFavorite as DefaultAddToFavorite, _default as DefaultItemStock, DefaultProductBadges, ProductBulkPrices as DefaultProductBulkPrices, ProductBundles as DefaultProductBundles, DefaultProductImage, ProductPriceDisplay as DefaultProductPrice, DefaultProductSurcharges, DeliveryDate, type DeliveryDateProps, FavoriteListDetails, type FavoriteListDetailsProps, type FavoriteListFormData, FavoriteListItemExport as FavoriteListItem, type FavoriteListItemProps, FavoriteLists, type FavoriteListsProps, type FetchActiveCartConfig, type FetchCrossupsellsInput, ForgotPassword, type ForgotPasswordProps, type GetCrossupsellsOptions, GridFilters, GridFiltersPanel, type GridFiltersPanelProps, type GridFiltersProps, GridPagination, type GridPaginationProps, GridTitleWithProvider as GridTitle, type GridTitleProps, GridToolbar, type GridToolbarProps, _default as ItemStock, type ItemStockProps, ItemsOverview, type ItemsOverviewProps, LoginFormExport as LoginForm, type LoginFormProps, LoginToOrderButton, type LoginToOrderButtonProps, MachineCard, type MachineCardProps, MachineGrid, type MachineGridProps, type MachineListingState, Menu, type MenuCategory, type MenuProps, type MenuRenderContext, type MenuStyle, OrderActions, type OrderActionsProps, OrderBonusItems, type OrderBonusItemsProps, OrderItemCard, type OrderItemCardProps, OrderList, type OrderListProps, type OrderSearchForm, OrderShipments, type OrderShipmentsProps, OrderSummaryWithProvider as OrderSummary, type OrderSummaryProps, OrderTotalsWithProvider as OrderTotals, type OrderTotalsProps, type PlaceOrderOptions, PriceToggle, type PriceToggleProps, ProductBulkPricesWithProvider as ProductBulkPrices, type ProductBulkPricesProps, ProductBundles, type ProductBundlesProps, ProductCard, type ProductCardProps, ProductDescription, type ProductDescriptionProps, ProductDownloads, type ProductDownloadsProps, ProductGallery, type ProductGalleryProps, ProductGridCompound as ProductGrid, type ProductGridConfig, ProductGridConfigProvider, type ProductGridProps, ProductInfoExport as ProductInfo, type ProductInfoProps, ProductPriceWithProvider as ProductPrice, type ProductPriceProps, ProductShortDescriptionWithProvider as ProductShortDescription, type ProductShortDescriptionProps, ProductSlider, type ProductSliderProps, ProductSpecifications, type ProductSpecificationsProps, ProductTabs, type ProductTabsProps, ProductVideos, type ProductVideosProps, type PropellerDeps, PropellerDepsProvider, type PropellerDepsProviderProps, type PropellerInfra, PropellerProvider, type PropellerProviderProps, type PropellerScope, PurchaseAuthorizationConfigurator, type PurchaseAuthorizationConfiguratorProps, PurchaseAuthorizationRequests, type PurchaseAuthorizationRequestsProps, QuickOrder, type QuickOrderLine, type QuickOrderMatch, type QuickOrderProps, type QuickOrderSubmitResult, type QuickOrderUploadLine, QuoteActions, type QuoteActionsProps, RegisterForm, type RegisterFormProps, type ResolveSpec, type RowEdit, SearchBar, type SearchBarProps, type UseAddressOptions, type UseAddressReturn, type LoginResult as UseAuthLoginResult, type UseAuthOptions, type RegisterContactInput as UseAuthRegisterContactInput, type RegisterCustomerInput as UseAuthRegisterCustomerInput, type UseAuthReturn, type UseCartOptions, type UseCartReturn, type UseCheckoutOptions, type UseCheckoutReturn, type UseClusterConfiguratorOptions, type UseClusterConfiguratorReturn, type UseCompanyOptions, type UseCompanyReturn, type UseFavoritesOptions, type UseFavoritesReturn, type UseMachinesOptions, type UseMachinesReturn, type UseMenuOptions, type UseMenuReturn, type UseOrdersOptions, type UseOrdersReturn, type BundleItem as UseProductBundlesBundleItem, type UseProductBundlesOptions, type UseProductBundlesReturn, type UseProductInfoOptions, type UseProductInfoReturn, type UseProductSearchOptions, type UseProductSearchReturn, type UseProductSliderOptions, type UseProductSliderReturn, type UseProductSpecsOptions, type UseProductSpecsReturn, type UsePurchaseAuthorizationConfiguratorOptions, type UsePurchaseAuthorizationConfiguratorReturn, type UsePurchaseAuthorizationRequestsOptions, type UsePurchaseAuthorizationRequestsReturn, type UseQuickOrderOptions, type UseQuickOrderReturn, type UseSparePartsOptions, type UseSparePartsReturn, UserDetails, type UserDetailsProps, buildRootMachinesQuery, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMachines, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useQuickOrder, useRequiredPropellerDeps, useResolvedProps, useServices, useSpareParts, useUserMode };
package/dist/index.d.ts CHANGED
@@ -2598,6 +2598,8 @@ interface AccountIconAndMenuProps {
2598
2598
  iconClassName?: string;
2599
2599
  /** Additional class name for the dropdown menu. */
2600
2600
  menuClassName?: string;
2601
+ /** Additional class name for each sidebar menu link. */
2602
+ linkClassName?: string;
2601
2603
  /**
2602
2604
  * Component variant.
2603
2605
  * - 'dropdown' (default): Header icon with popup menu
@@ -3168,7 +3170,7 @@ interface CartCarriersProps {
3168
3170
  * Renders the cart's available delivery carriers as a selectable grid,
3169
3171
  * showing each carrier's logo, price and delivery deadline.
3170
3172
  */
3171
- declare function CartCarriers(props: CartCarriersProps): React$1.JSX.Element;
3173
+ declare function CartCarriers(rawProps: CartCarriersProps): React$1.JSX.Element;
3172
3174
 
3173
3175
  interface CartItemProps {
3174
3176
  /** GraphQL client for the Propeller SDK. Resolved from PropellerProvider when omitted. */
@@ -4287,10 +4289,14 @@ declare function DeliveryDate(rawProps: DeliveryDateProps): React$1.JSX.Element;
4287
4289
 
4288
4290
  interface GridPaginationProps {
4289
4291
  /**
4290
- * A ProductsResponse object for populating the pagination component.
4291
- * Reads `page` (current page), `pages` (total pages) from the response.
4292
+ * Pagination state: `page` (current page) and `pages` (total pages).
4293
+ * Structural, so a `ProductsResponse` fits as-is and callers holding the two
4294
+ * numbers on their own — `useSpareParts`, `FavoriteListDetails` — need no cast.
4292
4295
  */
4293
- products: ProductsResponse;
4296
+ products: Pick<ProductsResponse, 'page' | 'pages'> | {
4297
+ page?: number;
4298
+ pages?: number;
4299
+ };
4294
4300
  /**
4295
4301
  * Called when the user navigates to a different page.
4296
4302
  * Receives the newly selected page number (1-based).
@@ -4455,6 +4461,11 @@ interface FavoriteListDetailsProps {
4455
4461
  graphqlClient?: GraphQLClient;
4456
4462
  /** The logged in user for which the favorite list is going to be displayed. Resolved from PropellerProvider when omitted. */
4457
4463
  user?: Contact | Customer;
4464
+ /**
4465
+ * Active company ID from the company switcher.
4466
+ * Overrides the user's default company for price calculation.
4467
+ * Triggers a re-fetch when changed. */
4468
+ companyId?: number;
4458
4469
  /** The favorite list ID to display */
4459
4470
  favoriteListId: string;
4460
4471
  /** Action method for deleting a single favorite list item. If not provided, delete button is hidden */
@@ -4864,7 +4875,7 @@ interface GridToolbarProps {
4864
4875
  * Controls which icon the view-toggle button shows.
4865
4876
  * Defaults to 'grid'.
4866
4877
  */
4867
- viewMode?: string;
4878
+ viewMode?: 'grid' | 'list';
4868
4879
  /**
4869
4880
  * Available page-size options shown in the per-page dropdown.
4870
4881
  * Defaults to [12, 24, 48].
@@ -4889,7 +4900,7 @@ interface GridToolbarProps {
4889
4900
  * Called when the user clicks the view-mode toggle button.
4890
4901
  * Receives the new mode: 'grid' or 'list'.
4891
4902
  */
4892
- onViewChange?: (mode: string) => void;
4903
+ onViewChange?: (mode: 'grid' | 'list') => void;
4893
4904
  /**
4894
4905
  * Total products found — displayed as a result count on the left side.
4895
4906
  * Pass 0 or undefined to hide the count.
@@ -5684,11 +5695,19 @@ interface OrderSummaryProps {
5684
5695
  /** Currency symbol used by the default formatter. Default: `'€'`. */
5685
5696
  currency?: string;
5686
5697
  }
5698
+
5687
5699
  /**
5688
- * Renders a read-only summary of an order: meta fields (number, date, status,
5689
- * total), invoice/delivery addresses, delivery info and remarks.
5700
+ * Client wrapper around the pure `OrderSummary` component. Resolves
5701
+ * `language`, `currency`, `user` and `portalMode` from `<PropellerProvider>`
5702
+ * when the caller doesn't pass them explicitly. The pure version stays
5703
+ * exported from `/pure` for RSC use.
5704
+ *
5705
+ * Without this, every client host had to remember to pass `language` or the
5706
+ * order's money silently formatted at the `nl-NL` default — right glyph,
5707
+ * Dutch separators — on a shop reading in any other language.
5690
5708
  */
5691
- declare function OrderSummary(props: OrderSummaryProps): React$1.JSX.Element;
5709
+
5710
+ declare function OrderSummaryWithProvider(rawProps: OrderSummaryProps): React$1.JSX.Element;
5692
5711
 
5693
5712
  /**
5694
5713
  * @rsc-safe — Pure display component. No React hooks, no event handlers, no
@@ -5727,11 +5746,19 @@ interface OrderTotalsProps {
5727
5746
  /** Currency symbol used by the default formatter. Default: `'€'`. */
5728
5747
  currency?: string;
5729
5748
  }
5749
+
5730
5750
  /**
5731
- * Renders the price breakdown for an order or quote: subtotal, discount,
5732
- * transaction and shipping costs, per-rate VAT lines and the grand total.
5751
+ * Client wrapper around the pure `OrderTotals` component. Resolves
5752
+ * `language`, `currency` and `includeTax` from `<PropellerProvider>` when the
5753
+ * caller doesn't pass them explicitly. The pure version stays exported from
5754
+ * `/pure` for RSC use.
5755
+ *
5756
+ * Without this, every client host had to remember to pass `language` or the
5757
+ * totals silently formatted at the `nl-NL` default — right glyph, Dutch
5758
+ * separators — on a shop reading in any other language.
5733
5759
  */
5734
- declare function OrderTotals(props: OrderTotalsProps): React$1.JSX.Element;
5760
+
5761
+ declare function OrderTotalsWithProvider(rawProps: OrderTotalsProps): React$1.JSX.Element;
5735
5762
 
5736
5763
  /**
5737
5764
  * @rsc-blocked — Client-only component: interactive state (useState).
@@ -6289,9 +6316,10 @@ declare function ProductDescription(props: ProductDescriptionProps): React$1.JSX
6289
6316
  interface ProductDownloadsProps {
6290
6317
  /**
6291
6318
  * Media documents for the product.
6292
- * Obtain from `product.media.documents`.
6319
+ * Obtain from `product.media?.documents`. The API answers `null` rather than
6320
+ * an empty page when a product has none, so this may be absent.
6293
6321
  */
6294
- downloads: PaginatedMediaDocumentResponse;
6322
+ downloads?: PaginatedMediaDocumentResponse | null;
6295
6323
  /**
6296
6324
  * Language code used to resolve the correct localised document URL and label.
6297
6325
  */
@@ -6398,16 +6426,6 @@ interface ProductGridProps {
6398
6426
  * of this prop. Defaults to false.
6399
6427
  */
6400
6428
  isLoading?: boolean;
6401
- /**
6402
- * Provide a custom product card renderer.
6403
- * Falls back to the built-in `<ProductCard>` when not set.
6404
- */
6405
- renderProductCard?: (product: Product) => any;
6406
- /**
6407
- * Provide a custom cluster card renderer.
6408
- * Falls back to the built-in `<ClusterCard>` when not set.
6409
- */
6410
- renderClusterCard?: (cluster: Cluster) => any;
6411
6429
  /**
6412
6430
  * Controls portal visibility mode.
6413
6431
  * 'open' — full e-commerce; AddToCart is visible in product cards.
@@ -7064,9 +7082,10 @@ declare function ProductSpecifications(rawProps: ProductSpecificationsProps): Re
7064
7082
  interface ProductVideosProps {
7065
7083
  /**
7066
7084
  * Media videos for the product.
7067
- * Obtain from `product.media.videos`.
7085
+ * Obtain from `product.media?.videos`. The API answers `null` rather than an
7086
+ * empty page when a product has none, so this may be absent.
7068
7087
  */
7069
- videos: PaginatedMediaVideoResponse;
7088
+ videos?: PaginatedMediaVideoResponse | null;
7070
7089
  /**
7071
7090
  * Language code used to resolve the correct localised video URI.
7072
7091
  */
@@ -7669,4 +7688,4 @@ declare function DefaultProductBadges(props: BadgesComponentProps): React__defau
7669
7688
  */
7670
7689
  declare function DefaultProductSurcharges(props: ProductSurchargesComponentProps): React__default.JSX.Element | null;
7671
7690
 
7672
- export { AccountIconAndMenu, type AccountIconAndMenuProps, ActionCode, type ActionCodeProps, type AddContactFormState, type AddItemOptions, _default$1 as AddToCart, type AddToCartProps, AddToFavorite, type AddToFavoriteProps, AddressCardExport as AddressCard, type AddressCardProps, type AddressInput, AddressSelector, type AddressSelectorProps, type AttributeDisplayItem, type AttributeGroup, BreadcrumbsWithProvider as Breadcrumbs, type BreadcrumbsProps, CartBonusItems, type CartBonusItemsProps, CartCarriers, type CartCarriersProps, CartIconAndSidebar, type CartIconAndSidebarProps, type CartInitConfig, CartItemExport as CartItem, type CartItemProps, CartOverview, type CartOverviewProps, CartPaymethods, type CartPaymethodsProps, CartSummary, type CartSummaryProps, CategoryDescription, type CategoryDescriptionProps, CategoryShortDescriptionWithProvider as CategoryShortDescription, type CategoryShortDescriptionProps, ClusterCardExport as ClusterCard, type ClusterCardProps, ClusterConfigurator, type ClusterConfiguratorProps, ClusterInfo, type ClusterInfoProps, ClusterOptions, type ClusterOptionsProps, CompanySwitcher, type CompanySwitcherProps, type ConfiguredSetting, _default$1 as DefaultAddToCart, AddToFavorite as DefaultAddToFavorite, _default as DefaultItemStock, DefaultProductBadges, ProductBulkPrices as DefaultProductBulkPrices, ProductBundles as DefaultProductBundles, DefaultProductImage, ProductPriceDisplay as DefaultProductPrice, DefaultProductSurcharges, DeliveryDate, type DeliveryDateProps, FavoriteListDetails, type FavoriteListDetailsProps, type FavoriteListFormData, FavoriteListItemExport as FavoriteListItem, type FavoriteListItemProps, FavoriteLists, type FavoriteListsProps, type FetchActiveCartConfig, type FetchCrossupsellsInput, ForgotPassword, type ForgotPasswordProps, type GetCrossupsellsOptions, GridFilters, GridFiltersPanel, type GridFiltersPanelProps, type GridFiltersProps, GridPagination, type GridPaginationProps, GridTitleWithProvider as GridTitle, type GridTitleProps, GridToolbar, type GridToolbarProps, _default as ItemStock, type ItemStockProps, ItemsOverview, type ItemsOverviewProps, LoginFormExport as LoginForm, type LoginFormProps, LoginToOrderButton, type LoginToOrderButtonProps, MachineCard, type MachineCardProps, MachineGrid, type MachineGridProps, type MachineListingState, Menu, type MenuCategory, type MenuProps, type MenuRenderContext, type MenuStyle, OrderActions, type OrderActionsProps, OrderBonusItems, type OrderBonusItemsProps, OrderItemCard, type OrderItemCardProps, OrderList, type OrderListProps, type OrderSearchForm, OrderShipments, type OrderShipmentsProps, OrderSummary, type OrderSummaryProps, OrderTotals, type OrderTotalsProps, type PlaceOrderOptions, PriceToggle, type PriceToggleProps, ProductBulkPricesWithProvider as ProductBulkPrices, type ProductBulkPricesProps, ProductBundles, type ProductBundlesProps, ProductCard, type ProductCardProps, ProductDescription, type ProductDescriptionProps, ProductDownloads, type ProductDownloadsProps, ProductGallery, type ProductGalleryProps, ProductGridCompound as ProductGrid, type ProductGridConfig, ProductGridConfigProvider, type ProductGridProps, ProductInfoExport as ProductInfo, type ProductInfoProps, ProductPriceWithProvider as ProductPrice, type ProductPriceProps, ProductShortDescriptionWithProvider as ProductShortDescription, type ProductShortDescriptionProps, ProductSlider, type ProductSliderProps, ProductSpecifications, type ProductSpecificationsProps, ProductTabs, type ProductTabsProps, ProductVideos, type ProductVideosProps, type PropellerDeps, PropellerDepsProvider, type PropellerDepsProviderProps, type PropellerInfra, PropellerProvider, type PropellerProviderProps, type PropellerScope, PurchaseAuthorizationConfigurator, type PurchaseAuthorizationConfiguratorProps, PurchaseAuthorizationRequests, type PurchaseAuthorizationRequestsProps, QuickOrder, type QuickOrderLine, type QuickOrderMatch, type QuickOrderProps, type QuickOrderSubmitResult, type QuickOrderUploadLine, QuoteActions, type QuoteActionsProps, RegisterForm, type RegisterFormProps, type ResolveSpec, type RowEdit, SearchBar, type SearchBarProps, type UseAddressOptions, type UseAddressReturn, type LoginResult as UseAuthLoginResult, type UseAuthOptions, type RegisterContactInput as UseAuthRegisterContactInput, type RegisterCustomerInput as UseAuthRegisterCustomerInput, type UseAuthReturn, type UseCartOptions, type UseCartReturn, type UseCheckoutOptions, type UseCheckoutReturn, type UseClusterConfiguratorOptions, type UseClusterConfiguratorReturn, type UseCompanyOptions, type UseCompanyReturn, type UseFavoritesOptions, type UseFavoritesReturn, type UseMachinesOptions, type UseMachinesReturn, type UseMenuOptions, type UseMenuReturn, type UseOrdersOptions, type UseOrdersReturn, type BundleItem as UseProductBundlesBundleItem, type UseProductBundlesOptions, type UseProductBundlesReturn, type UseProductInfoOptions, type UseProductInfoReturn, type UseProductSearchOptions, type UseProductSearchReturn, type UseProductSliderOptions, type UseProductSliderReturn, type UseProductSpecsOptions, type UseProductSpecsReturn, type UsePurchaseAuthorizationConfiguratorOptions, type UsePurchaseAuthorizationConfiguratorReturn, type UsePurchaseAuthorizationRequestsOptions, type UsePurchaseAuthorizationRequestsReturn, type UseQuickOrderOptions, type UseQuickOrderReturn, type UseSparePartsOptions, type UseSparePartsReturn, UserDetails, type UserDetailsProps, buildRootMachinesQuery, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMachines, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useQuickOrder, useRequiredPropellerDeps, useResolvedProps, useServices, useSpareParts, useUserMode };
7691
+ export { AccountIconAndMenu, type AccountIconAndMenuProps, ActionCode, type ActionCodeProps, type AddContactFormState, type AddItemOptions, _default$1 as AddToCart, type AddToCartProps, AddToFavorite, type AddToFavoriteProps, AddressCardExport as AddressCard, type AddressCardProps, type AddressInput, AddressSelector, type AddressSelectorProps, type AttributeDisplayItem, type AttributeGroup, BreadcrumbsWithProvider as Breadcrumbs, type BreadcrumbsProps, CartBonusItems, type CartBonusItemsProps, CartCarriers, type CartCarriersProps, CartIconAndSidebar, type CartIconAndSidebarProps, type CartInitConfig, CartItemExport as CartItem, type CartItemProps, CartOverview, type CartOverviewProps, CartPaymethods, type CartPaymethodsProps, CartSummary, type CartSummaryProps, CategoryDescription, type CategoryDescriptionProps, CategoryShortDescriptionWithProvider as CategoryShortDescription, type CategoryShortDescriptionProps, ClusterCardExport as ClusterCard, type ClusterCardProps, ClusterConfigurator, type ClusterConfiguratorProps, ClusterInfo, type ClusterInfoProps, ClusterOptions, type ClusterOptionsProps, CompanySwitcher, type CompanySwitcherProps, type ConfiguredSetting, _default$1 as DefaultAddToCart, AddToFavorite as DefaultAddToFavorite, _default as DefaultItemStock, DefaultProductBadges, ProductBulkPrices as DefaultProductBulkPrices, ProductBundles as DefaultProductBundles, DefaultProductImage, ProductPriceDisplay as DefaultProductPrice, DefaultProductSurcharges, DeliveryDate, type DeliveryDateProps, FavoriteListDetails, type FavoriteListDetailsProps, type FavoriteListFormData, FavoriteListItemExport as FavoriteListItem, type FavoriteListItemProps, FavoriteLists, type FavoriteListsProps, type FetchActiveCartConfig, type FetchCrossupsellsInput, ForgotPassword, type ForgotPasswordProps, type GetCrossupsellsOptions, GridFilters, GridFiltersPanel, type GridFiltersPanelProps, type GridFiltersProps, GridPagination, type GridPaginationProps, GridTitleWithProvider as GridTitle, type GridTitleProps, GridToolbar, type GridToolbarProps, _default as ItemStock, type ItemStockProps, ItemsOverview, type ItemsOverviewProps, LoginFormExport as LoginForm, type LoginFormProps, LoginToOrderButton, type LoginToOrderButtonProps, MachineCard, type MachineCardProps, MachineGrid, type MachineGridProps, type MachineListingState, Menu, type MenuCategory, type MenuProps, type MenuRenderContext, type MenuStyle, OrderActions, type OrderActionsProps, OrderBonusItems, type OrderBonusItemsProps, OrderItemCard, type OrderItemCardProps, OrderList, type OrderListProps, type OrderSearchForm, OrderShipments, type OrderShipmentsProps, OrderSummaryWithProvider as OrderSummary, type OrderSummaryProps, OrderTotalsWithProvider as OrderTotals, type OrderTotalsProps, type PlaceOrderOptions, PriceToggle, type PriceToggleProps, ProductBulkPricesWithProvider as ProductBulkPrices, type ProductBulkPricesProps, ProductBundles, type ProductBundlesProps, ProductCard, type ProductCardProps, ProductDescription, type ProductDescriptionProps, ProductDownloads, type ProductDownloadsProps, ProductGallery, type ProductGalleryProps, ProductGridCompound as ProductGrid, type ProductGridConfig, ProductGridConfigProvider, type ProductGridProps, ProductInfoExport as ProductInfo, type ProductInfoProps, ProductPriceWithProvider as ProductPrice, type ProductPriceProps, ProductShortDescriptionWithProvider as ProductShortDescription, type ProductShortDescriptionProps, ProductSlider, type ProductSliderProps, ProductSpecifications, type ProductSpecificationsProps, ProductTabs, type ProductTabsProps, ProductVideos, type ProductVideosProps, type PropellerDeps, PropellerDepsProvider, type PropellerDepsProviderProps, type PropellerInfra, PropellerProvider, type PropellerProviderProps, type PropellerScope, PurchaseAuthorizationConfigurator, type PurchaseAuthorizationConfiguratorProps, PurchaseAuthorizationRequests, type PurchaseAuthorizationRequestsProps, QuickOrder, type QuickOrderLine, type QuickOrderMatch, type QuickOrderProps, type QuickOrderSubmitResult, type QuickOrderUploadLine, QuoteActions, type QuoteActionsProps, RegisterForm, type RegisterFormProps, type ResolveSpec, type RowEdit, SearchBar, type SearchBarProps, type UseAddressOptions, type UseAddressReturn, type LoginResult as UseAuthLoginResult, type UseAuthOptions, type RegisterContactInput as UseAuthRegisterContactInput, type RegisterCustomerInput as UseAuthRegisterCustomerInput, type UseAuthReturn, type UseCartOptions, type UseCartReturn, type UseCheckoutOptions, type UseCheckoutReturn, type UseClusterConfiguratorOptions, type UseClusterConfiguratorReturn, type UseCompanyOptions, type UseCompanyReturn, type UseFavoritesOptions, type UseFavoritesReturn, type UseMachinesOptions, type UseMachinesReturn, type UseMenuOptions, type UseMenuReturn, type UseOrdersOptions, type UseOrdersReturn, type BundleItem as UseProductBundlesBundleItem, type UseProductBundlesOptions, type UseProductBundlesReturn, type UseProductInfoOptions, type UseProductInfoReturn, type UseProductSearchOptions, type UseProductSearchReturn, type UseProductSliderOptions, type UseProductSliderReturn, type UseProductSpecsOptions, type UseProductSpecsReturn, type UsePurchaseAuthorizationConfiguratorOptions, type UsePurchaseAuthorizationConfiguratorReturn, type UsePurchaseAuthorizationRequestsOptions, type UsePurchaseAuthorizationRequestsReturn, type UseQuickOrderOptions, type UseQuickOrderReturn, type UseSparePartsOptions, type UseSparePartsReturn, UserDetails, type UserDetailsProps, buildRootMachinesQuery, fetchActiveCart, initCart, mergeAnonymousCart, useAddress, useAuth, useCart, useCheckout, useClusterConfigurator, useCompany, useFavorites, useInfraProps, useMachines, useMenu, useOrders, useProductBundles, useProductGridConfig, useProductInfo, useProductSearch, useProductSlider, useProductSpecs, usePropellerContext, usePropellerDeps, usePropellerScope, usePurchaseAuthorizationConfigurator, usePurchaseAuthorizationRequests, useQuickOrder, useRequiredPropellerDeps, useResolvedProps, useServices, useSpareParts, useUserMode };