@sonic-equipment/ui 203.0.0 → 204.0.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.
Files changed (163) hide show
  1. package/dist/address-info-display/address-info-display.js +1 -0
  2. package/dist/algolia/filter-section.js +1 -0
  3. package/dist/badges/badge/icon-with-badge/icon-with-badge.js +1 -0
  4. package/dist/badges/tag/tag.js +1 -0
  5. package/dist/cards/data-card/data-card.js +1 -0
  6. package/dist/cards/orderline-card/orderline-card.js +1 -0
  7. package/dist/carousel/category-carousel/category-carousel.js +1 -0
  8. package/dist/carousel/usp-carousel/product-usp-carousel-slide.js +1 -0
  9. package/dist/carousel/usp-carousel/product-usp-carousel.js +1 -0
  10. package/dist/cart-totals/cart-totals-summary.js +1 -0
  11. package/dist/collapsables/accordion/accordion.js +1 -0
  12. package/dist/country-select/hooks/use-countries.js +1 -0
  13. package/dist/display/info-display/info-display.js +1 -0
  14. package/dist/display/product-sku/product-sku.js +1 -0
  15. package/dist/forms/layout/form/form-segment-group.js +1 -0
  16. package/dist/forms/layout/form/form-segment.js +1 -0
  17. package/dist/forms/partials/password-validation/password-validation.js +1 -0
  18. package/dist/global-search/plugins/categories-plugin.js +1 -0
  19. package/dist/global-search/plugins/popular-categories-plugin.js +1 -0
  20. package/dist/global-search/plugins/popular-searches-plugin.js +1 -0
  21. package/dist/global-search/plugins/query-suggestions-plugin.js +1 -0
  22. package/dist/global-search/plugins/quick-access-plugin.js +1 -0
  23. package/dist/global-search/plugins/recent-searches-plugin.js +1 -0
  24. package/dist/global-search/search-highlight/highlight.js +1 -0
  25. package/dist/global-search/search-result-panel/sections/section-container.js +1 -0
  26. package/dist/global-search/search-section/search-list.js +1 -0
  27. package/dist/global-search/search-section/search-section.js +1 -0
  28. package/dist/header/drawers/search-drawer.js +1 -0
  29. package/dist/header/header-layout/header-layout.js +1 -0
  30. package/dist/icons/glyph/glyphs-arrow-blackcaps-right-icon.js +1 -0
  31. package/dist/icons/glyph/glyphs-arrow-boldcaps-left-icon.js +1 -0
  32. package/dist/icons/glyph/glyphs-arrow-boldcaps-right-icon.js +1 -0
  33. package/dist/icons/glyph/glyphs-arrow-semibold-right-icon.js +1 -0
  34. package/dist/icons/glyph/glyphs-chevrons-bold-down-icon.js +1 -0
  35. package/dist/icons/glyph/glyphs-chevrons-bold-up-icon.js +1 -0
  36. package/dist/icons/glyph/glyphs-chevrons-slim-down-icon.js +1 -0
  37. package/dist/icons/glyph/glyphs-chevrons-slim-left-icon.js +1 -0
  38. package/dist/icons/glyph/glyphs-chevrons-slim-right-icon.js +1 -0
  39. package/dist/icons/solid/solid-attention-icon.js +1 -0
  40. package/dist/icons/solid/solid-cart-icon.js +1 -0
  41. package/dist/icons/solid/solid-close-icon.js +1 -0
  42. package/dist/icons/solid/solid-favorite-icon.js +1 -0
  43. package/dist/icons/solid/solid-home-icon.js +1 -0
  44. package/dist/icons/solid/solid-information-icon.js +1 -0
  45. package/dist/icons/solid/solid-login-icon.js +1 -0
  46. package/dist/icons/solid/solid-logout-icon.js +1 -0
  47. package/dist/icons/solid/solid-news-icon.js +1 -0
  48. package/dist/icons/solid/solid-notice-icon.js +1 -0
  49. package/dist/icons/solid/solid-okay-icon.js +1 -0
  50. package/dist/icons/solid/solid-rating-icon.js +1 -0
  51. package/dist/icons/solid/solid-salecategory-icon.js +1 -0
  52. package/dist/icons/solid/solid-tag-icon.js +1 -0
  53. package/dist/icons/stroke/stroke-categories-icon.js +1 -0
  54. package/dist/icons/stroke/stroke-checkmark-icon.js +1 -0
  55. package/dist/icons/stroke/stroke-closebox-icon.js +1 -0
  56. package/dist/icons/stroke/stroke-dehashed-icon.js +1 -0
  57. package/dist/icons/stroke/stroke-download-icon.js +1 -0
  58. package/dist/icons/stroke/stroke-event-icon.js +1 -0
  59. package/dist/icons/stroke/stroke-favorite-icon.js +1 -0
  60. package/dist/icons/stroke/stroke-filter-icon.js +1 -0
  61. package/dist/icons/stroke/stroke-hashed-icon.js +1 -0
  62. package/dist/icons/stroke/stroke-information-icon.js +1 -0
  63. package/dist/icons/stroke/stroke-minus-icon.js +1 -0
  64. package/dist/icons/stroke/stroke-plus-icon.js +1 -0
  65. package/dist/icons/stroke/stroke-recent-icon.js +1 -0
  66. package/dist/icons/stroke/stroke-search-icon.js +1 -0
  67. package/dist/icons/stroke/stroke-trash-icon.js +1 -0
  68. package/dist/intl/use-formatted-date.js +1 -0
  69. package/dist/layout/center.js +1 -0
  70. package/dist/lists/download-document-list/download-document-list.js +1 -0
  71. package/dist/lists/feature-list/feature-list.js +1 -0
  72. package/dist/lists/icon-list/icon-list.js +1 -0
  73. package/dist/lists/menu-list/menu-list-header.js +1 -0
  74. package/dist/lists/menu-list/use-menu-list-item.js +1 -0
  75. package/dist/lists/menu-list/use-menu-list.js +1 -0
  76. package/dist/lists/product-overview-grid/product-overview-grid.js +1 -0
  77. package/dist/loading/blank-page-spacer.js +1 -0
  78. package/dist/loading/dynamic-loading-overlay.js +1 -0
  79. package/dist/loading/loading-overlay.js +1 -0
  80. package/dist/loading/progress-circle.js +1 -0
  81. package/dist/message/message.js +1 -0
  82. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-content.js +1 -0
  83. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-header.js +1 -0
  84. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section-link.js +1 -0
  85. package/dist/pages/checkout/layouts/checkout-page-layout/components/checkout-page-section.js +1 -0
  86. package/dist/pages/checkout/payment-page/hooks/use-has-returned-from-adyen.js +1 -0
  87. package/dist/pages/checkout/shipping-page/hooks/use-patch-shipping-details.js +1 -0
  88. package/dist/pages/components/page-container/page-container.js +1 -0
  89. package/dist/pages/components/page-meta-data/page-meta-data.js +1 -0
  90. package/dist/pages/loading-page/loading-page.js +1 -0
  91. package/dist/pages/my-sonic/actions/change-password/change-password-dialog.js +1 -0
  92. package/dist/pages/my-sonic/actions/change-password/change-password.js +1 -0
  93. package/dist/pages/my-sonic/actions/change-password/connected-change-password-dialog.js +1 -0
  94. package/dist/pages/my-sonic/navigation/my-sonic-desktop-navigation.js +1 -0
  95. package/dist/pages/my-sonic/navigation/my-sonic-navigation-items.js +1 -0
  96. package/dist/pages/product/layouts/product-details-page-layout/product-details-page-layout.js +1 -0
  97. package/dist/promos/promo-banner/promo-banner.js +1 -0
  98. package/dist/shared/api/bff/hooks/use-fetch-announcements.js +1 -0
  99. package/dist/shared/api/bff/hooks/use-fetch-navigation-links.js +1 -0
  100. package/dist/shared/api/bff/hooks/use-fetch-product-details-page-data.js +1 -0
  101. package/dist/shared/api/bff/hooks/use-fetch-product-listing-page-data.js +1 -0
  102. package/dist/shared/api/bff/hooks/use-fetch-recently-viewed-products.js +1 -0
  103. package/dist/shared/api/storefront/hooks/authentication/use-fetch-session.js +1 -0
  104. package/dist/shared/api/storefront/hooks/authentication/use-invalidate-session.js +1 -0
  105. package/dist/shared/api/storefront/hooks/authentication/use-is-authenticated.js +1 -0
  106. package/dist/shared/api/storefront/hooks/authentication/use-patch-session.js +1 -0
  107. package/dist/shared/api/storefront/hooks/authentication/use-recover-password.js +1 -0
  108. package/dist/shared/api/storefront/hooks/authentication/use-sign-in.js +1 -0
  109. package/dist/shared/api/storefront/hooks/authentication/use-sign-out.js +1 -0
  110. package/dist/shared/api/storefront/hooks/cart/use-add-product-to-current-cart.js +1 -0
  111. package/dist/shared/api/storefront/hooks/cart/use-delete-cart-line-by-id.js +1 -0
  112. package/dist/shared/api/storefront/hooks/cart/use-delete-current-cart.js +1 -0
  113. package/dist/shared/api/storefront/hooks/cart/use-fetch-cart-by-id.js +1 -0
  114. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-checkout-atp.js +1 -0
  115. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-count.js +1 -0
  116. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines-with-atp.js +1 -0
  117. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-lines.js +1 -0
  118. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-product-atp.js +1 -0
  119. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-promotions.js +1 -0
  120. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart-with-atp.js +1 -0
  121. package/dist/shared/api/storefront/hooks/cart/use-fetch-current-cart.js +1 -0
  122. package/dist/shared/api/storefront/hooks/cart/use-invalidate-current-cart.js +1 -0
  123. package/dist/shared/api/storefront/hooks/cart/use-patch-cart-line-by-id.js +1 -0
  124. package/dist/shared/api/storefront/hooks/cart/use-patch-cart.js +1 -0
  125. package/dist/shared/api/storefront/hooks/cart/use-place-order.js +1 -0
  126. package/dist/shared/api/storefront/hooks/cart/use-save-cart-for-later.js +1 -0
  127. package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-address.js +1 -0
  128. package/dist/shared/api/storefront/hooks/customer/use-fetch-bill-to-addresses.js +1 -0
  129. package/dist/shared/api/storefront/hooks/customer/use-fetch-current-bill-to-address.js +1 -0
  130. package/dist/shared/api/storefront/hooks/customer/use-fetch-current-ship-to-address.js +1 -0
  131. package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-by-customer-id.js +1 -0
  132. package/dist/shared/api/storefront/hooks/customer/use-fetch-fulfillment-methods-for-current-cart.js +1 -0
  133. package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-address.js +1 -0
  134. package/dist/shared/api/storefront/hooks/customer/use-fetch-ship-to-addresses.js +1 -0
  135. package/dist/shared/api/storefront/hooks/customer/use-patch-bill-to-address.js +1 -0
  136. package/dist/shared/api/storefront/hooks/customer/use-patch-ship-to-address.js +1 -0
  137. package/dist/shared/api/storefront/hooks/customer/use-post-ship-to-address.js +1 -0
  138. package/dist/shared/api/storefront/hooks/orders/use-fetch-orders.js +1 -0
  139. package/dist/shared/api/storefront/hooks/payment/use-create-adyen-session.js +1 -0
  140. package/dist/shared/api/storefront/hooks/payment/use-fetch-adyen-config.js +1 -0
  141. package/dist/shared/api/storefront/hooks/payment/use-invalidate-adyen.js +1 -0
  142. package/dist/shared/api/storefront/hooks/product/use-mark-product-as-viewed.js +1 -0
  143. package/dist/shared/api/storefront/hooks/translation/use-fetch-translations.js +1 -0
  144. package/dist/shared/api/storefront/hooks/website/use-fetch-countries-languages.js +1 -0
  145. package/dist/shared/api/storefront/hooks/website/use-fetch-countries-with-languages.js +1 -0
  146. package/dist/shared/api/storefront/hooks/website/use-fetch-country-models.js +1 -0
  147. package/dist/shared/api/storefront/hooks/website/use-fetch-settings.js +1 -0
  148. package/dist/shared/api/storefront/hooks/website/use-update-locale.js +1 -0
  149. package/dist/shared/api/storefront/hooks/wishlist/use-add-wishlist-item-to-current-wishlist.js +1 -0
  150. package/dist/shared/api/storefront/hooks/wishlist/use-add-wishlist-item-to-wishlist.js +1 -1
  151. package/dist/shared/api/storefront/hooks/wishlist/use-create-wishlist.js +1 -0
  152. package/dist/shared/api/storefront/hooks/wishlist/use-delete-wishlist-item-from-wishlist.js +1 -0
  153. package/dist/shared/api/storefront/hooks/wishlist/use-fetch-all-wishlists-items.js +1 -1
  154. package/dist/shared/api/storefront/hooks/wishlist/use-fetch-wishlists.js +1 -0
  155. package/dist/shared/feature-flags/use-feature-flags.js +1 -0
  156. package/dist/table/elements/col.js +1 -0
  157. package/dist/table/elements/use-table-row.js +1 -0
  158. package/dist/table/elements/use-table.js +1 -0
  159. package/dist/table/elements/use-td.js +1 -0
  160. package/dist/table/elements/use-th.js +1 -0
  161. package/dist/text/highlight-text/highlight-text.js +1 -0
  162. package/dist/text/truncated/truncated.js +1 -0
  163. package/package.json +3 -3
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../utils/time.js';
3
4
  import { fetchAnnouncements } from '../services/bff-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../utils/time.js';
3
4
  import { fetchNavigationLinks } from '../services/bff-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../utils/time.js';
3
4
  import { fetchProductDetailsPageData } from '../services/bff-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../utils/time.js';
3
4
  import { fetchProductListingPageData } from '../services/bff-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../utils/time.js';
3
4
  import { fetchRecentlyViewedProducts } from '../services/bff-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { fetchSession } from '../../services/authentication-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCallback } from 'react';
2
3
  import { useQueryClient } from '@tanstack/react-query';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useFetchSession } from './use-fetch-session.js';
2
3
 
3
4
  function useIsAuthenticated() {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient } from '@tanstack/react-query';
2
3
  import { patchSession } from '../../services/authentication-service.js';
3
4
  import { useAwaitableMutation } from '../../../shared/hooks/use-awaitable-mutation.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { recoverPassword } from '../../services/authentication-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { isRequestError } from '../../../../fetch/request.js';
3
4
  import { signIn, createSession } from '../../services/authentication-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { UnauthorizedRequestError } from '../../../../fetch/request.js';
3
4
  import { signOut } from '../../services/authentication-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { addProductToCurrentCart } from '../../services/cart-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { deleteCartLineById } from '../../services/cart-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { deleteCurrentCart, fetchCurrentCart } from '../../services/cart-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { fetchCart } from '../../services/cart-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { fetchCurrentCheckoutAtp } from '../../services/cart-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useFetchCurrentCart } from './use-fetch-current-cart.js';
2
3
 
3
4
  function useFetchCurrentCartCount() {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useFetchCurrentCartWithAtp } from './use-fetch-current-cart-with-atp.js';
2
3
 
3
4
  function useFetchCurrentCartLinesWithAtp() {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useFetchCurrentCart } from './use-fetch-current-cart.js';
2
3
 
3
4
  function useFetchCurrentCartLines() {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { fetchCurrentCartProductAtp } from '../../services/cart-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { fetchCurrentCartPromotions } from '../../services/cart-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useFetchCurrentCart } from './use-fetch-current-cart.js';
2
3
  import { useFetchCurrentCartProductAtp } from './use-fetch-current-cart-product-atp.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useFetchCartById } from './use-fetch-cart-by-id.js';
2
3
 
3
4
  function useFetchCurrentCart(args) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCallback } from 'react';
2
3
  import { useQueryClient } from '@tanstack/react-query';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { patchCartLineById } from '../../services/cart-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCallback } from 'react';
2
3
  import { useAwaitableMutation } from '../../../shared/hooks/use-awaitable-mutation.js';
3
4
  import { patchCart } from '../../services/cart-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCallback } from 'react';
2
3
  import { useAwaitableMutation } from '../../../shared/hooks/use-awaitable-mutation.js';
3
4
  import { placeOrder } from '../../services/cart-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { saveCartForLater } from '../../services/cart-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { fetchBillToAddress } from '../../services/customer-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { fetchBillToAddresses } from '../../services/customer-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useFetchBillToAddress } from './use-fetch-bill-to-address.js';
2
3
 
3
4
  function useFetchCurrentBillToAddress({ includeValidation = false, } = {}) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useFetchShipToAddress } from './use-fetch-ship-to-address.js';
2
3
 
3
4
  function useFetchCurrentShipToAddress({ includeValidation = false, } = {}) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { fetchFulfillmentMethods } from '../../services/customer-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useFetchCurrentCart } from '../cart/use-fetch-current-cart.js';
2
3
  import { useFetchFulfillmentMethodsByCustomerId } from './use-fetch-fulfillment-methods-by-customer-id.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { fetchShipToAddress } from '../../services/customer-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { fetchShipToAddresses } from '../../services/customer-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { patchBillToAddress } from '../../services/customer-service.js';
2
3
  import { useAwaitableMutation } from '../../../shared/hooks/use-awaitable-mutation.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { patchShipToAddress } from '../../services/customer-service.js';
2
3
  import { useAwaitableMutation } from '../../../shared/hooks/use-awaitable-mutation.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { postShipToAddress } from '../../services/customer-service.js';
2
3
  import { useAwaitableMutation } from '../../../shared/hooks/use-awaitable-mutation.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { fetchOrders } from '../../services/order-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useMutation } from '@tanstack/react-query';
2
3
  import { createAdyenSession } from '../../services/payment-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { useIsAuthenticated } from '../authentication/use-is-authenticated.js';
3
4
  import { fetchAdyenConfig } from '../../services/payment-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCallback } from 'react';
2
3
  import { useQueryClient } from '@tanstack/react-query';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { markProductAsRecentlyViewed } from '../../services/product-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { fetchTranslations } from '../../services/translation-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { fetchCountriesLanguages } from '../../services/website-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { fetchCountriesWithLanguages } from '../../services/website-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { fetchCountriesLanguages } from '../../services/website-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { fetchSettings } from '../../services/website-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useMutation } from '@tanstack/react-query';
2
3
  import { updateLocale } from '../../services/website-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { createWishList, addWishListItemToWishList } from '../../services/wishlist-service.js';
3
4
 
@@ -1,7 +1,7 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { getWishLists, addWishListItemToWishList } from '../../services/wishlist-service.js';
3
4
 
4
- /* eslint-disable unicorn/no-await-expression-member */
5
5
  function useAddWishListItemToWishList() {
6
6
  const queryClient = useQueryClient();
7
7
  return useMutation({
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { createWishList } from '../../services/wishlist-service.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQueryClient, useMutation } from '@tanstack/react-query';
2
3
  import { deleteWishListItemFromWishList } from '../../services/wishlist-service.js';
3
4
 
@@ -1,8 +1,8 @@
1
+ "use client";
1
2
  import { useQueryClient, useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { getWishLists, getWishListItemsByWishListId } from '../../services/wishlist-service.js';
4
5
 
5
- /* eslint-disable unicorn/no-await-expression-member */
6
6
  function useFetchAllWishListsItems({ enabled = true } = { enabled: true }) {
7
7
  const queryClient = useQueryClient();
8
8
  return useQuery({
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useQuery } from '@tanstack/react-query';
2
3
  import { TIME } from '../../../../utils/time.js';
3
4
  import { getWishLists } from '../../services/wishlist-service.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useMemo } from 'react';
2
3
  import qs from 'query-string';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import clsx from 'clsx';
3
4
  import styles from './table.module.css.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useContext } from 'react';
2
3
  import { TableRowContext } from './table-row-context.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useContext } from 'react';
2
3
  import { TableContext } from './table-context.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState, useCallback, useEffect } from 'react';
2
3
  import { useTableRow } from './use-table-row.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState, useEffect } from 'react';
2
3
  import { useTableRow } from './use-table-row.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from 'react/jsx-runtime';
2
3
  import { Fragment } from 'react';
3
4
  import styles from './highlight-text.module.css.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import clsx from 'clsx';
3
4
  import styles from './truncated.module.css.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-equipment/ui",
3
- "version": "203.0.0",
3
+ "version": "204.0.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -46,8 +46,8 @@
46
46
  "update-packages": "npx npm-check-updates -u"
47
47
  },
48
48
  "peerDependencies": {
49
- "react": "^18",
50
- "react-dom": "^18"
49
+ "react": "^18.0.0 || ^19.0.0",
50
+ "react-dom": "^18.0.0 || ^19.0.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@chromatic-com/storybook": "^3.2.6",