@burdenoff/microfe-coolandlovely 2026.1107.2 → 2026.1108.1

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 (124) hide show
  1. package/dist/coolandlovely/CoolAndLovelyRoot.d.ts +0 -1
  2. package/dist/coolandlovely/CoolAndLovelyRoutes.d.ts +0 -1
  3. package/dist/coolandlovely/components/ActivityTrail.d.ts +0 -1
  4. package/dist/coolandlovely/components/ActorName.d.ts +0 -1
  5. package/dist/coolandlovely/components/AddToCartPanel.d.ts +0 -1
  6. package/dist/coolandlovely/components/AddToLookbookButton.d.ts +0 -1
  7. package/dist/coolandlovely/components/BrandCard.d.ts +0 -1
  8. package/dist/coolandlovely/components/BrandCover.d.ts +0 -1
  9. package/dist/coolandlovely/components/BrandCreatorAvatars.d.ts +0 -1
  10. package/dist/coolandlovely/components/CollaborationFeeCard.d.ts +0 -1
  11. package/dist/coolandlovely/components/CollectionCard.d.ts +0 -1
  12. package/dist/coolandlovely/components/ColourSwatchRow.d.ts +0 -1
  13. package/dist/coolandlovely/components/Comments.d.ts +0 -1
  14. package/dist/coolandlovely/components/EmptyState.d.ts +0 -1
  15. package/dist/coolandlovely/components/FeedbackWidget.d.ts +0 -1
  16. package/dist/coolandlovely/components/Field.d.ts +0 -1
  17. package/dist/coolandlovely/components/FileImage.d.ts +0 -1
  18. package/dist/coolandlovely/components/FollowButton.d.ts +0 -1
  19. package/dist/coolandlovely/components/FulfilmentTimeline.d.ts +1 -2
  20. package/dist/coolandlovely/components/ImageUploadField.d.ts +0 -1
  21. package/dist/coolandlovely/components/LookCard.d.ts +0 -1
  22. package/dist/coolandlovely/components/LookbookCard.d.ts +0 -1
  23. package/dist/coolandlovely/components/MetricsCard.d.ts +0 -1
  24. package/dist/coolandlovely/components/PageLayout.d.ts +0 -1
  25. package/dist/coolandlovely/components/PayForOrder.d.ts +0 -1
  26. package/dist/coolandlovely/components/RefundPanel.d.ts +1 -2
  27. package/dist/coolandlovely/components/ReturnRequests.d.ts +2 -3
  28. package/dist/coolandlovely/components/ShopItemCard.d.ts +0 -1
  29. package/dist/coolandlovely/components/StateViews.d.ts +0 -1
  30. package/dist/coolandlovely/components/StatusBadge.d.ts +0 -1
  31. package/dist/coolandlovely/components/StepTracker.d.ts +0 -1
  32. package/dist/coolandlovely/components/StockEditor.d.ts +0 -1
  33. package/dist/coolandlovely/components/StoreListingCard.d.ts +0 -1
  34. package/dist/coolandlovely/components/TagList.d.ts +0 -1
  35. package/dist/coolandlovely/components/Thumbnail.d.ts +0 -1
  36. package/dist/coolandlovely/components/VisibilityChip.d.ts +0 -1
  37. package/dist/coolandlovely/components/WardrobeItemCard.d.ts +0 -1
  38. package/dist/coolandlovely/components/prices/BestPriceBadge.d.ts +1 -2
  39. package/dist/coolandlovely/components/prices/LookbookPriceBoard.d.ts +1 -2
  40. package/dist/coolandlovely/components/prices/LookbookPriceBoard.js +14 -15
  41. package/dist/coolandlovely/components/prices/LookbookPriceBoard.js.map +1 -1
  42. package/dist/coolandlovely/components/prices/PriceComparison.d.ts +1 -1
  43. package/dist/coolandlovely/components/prices/PriceCurrencySelect.d.ts +1 -1
  44. package/dist/coolandlovely/components/prices/PricePanel.d.ts +1 -1
  45. package/dist/coolandlovely/components/prices/PriceWatchDisclosure.d.ts +1 -1
  46. package/dist/coolandlovely/components/prices/PriceWatchForm.d.ts +1 -1
  47. package/dist/coolandlovely/components/prices/PriceWatches.d.ts +1 -1
  48. package/dist/coolandlovely/components/prices/RetailerOfferLink.d.ts +1 -1
  49. package/dist/coolandlovely/context/CoolAndLovelyContext.d.ts +0 -1
  50. package/dist/coolandlovely/context/QueryScope.d.ts +0 -1
  51. package/dist/coolandlovely/context/queryScopeKey.d.ts +0 -1
  52. package/dist/coolandlovely/hooks/useBrandOrdersApi.d.ts +0 -1
  53. package/dist/coolandlovely/hooks/useCatalogImport.d.ts +0 -1
  54. package/dist/coolandlovely/hooks/useCommerceApi.d.ts +0 -1
  55. package/dist/coolandlovely/hooks/useCoolAndLovelyApi.d.ts +0 -1
  56. package/dist/coolandlovely/hooks/useCreatorMarketplace.d.ts +0 -1
  57. package/dist/coolandlovely/hooks/useInventoryApi.d.ts +0 -1
  58. package/dist/coolandlovely/hooks/usePriceApi.d.ts +0 -1
  59. package/dist/coolandlovely/pages/HomePage.d.ts +1 -1
  60. package/dist/coolandlovely/pages/admin/AdminBrandsPage.d.ts +1 -1
  61. package/dist/coolandlovely/pages/admin/AdminCollaborationsPage.d.ts +1 -1
  62. package/dist/coolandlovely/pages/admin/AdminFeaturedItemsPage.d.ts +1 -1
  63. package/dist/coolandlovely/pages/brands/BrandDetailPage.d.ts +1 -1
  64. package/dist/coolandlovely/pages/brands/BrandFormPage.d.ts +1 -1
  65. package/dist/coolandlovely/pages/brands/BrandsListPage.d.ts +1 -1
  66. package/dist/coolandlovely/pages/brands/ImportCatalogPage.d.ts +1 -1
  67. package/dist/coolandlovely/pages/collaborations/CollaborationDetailPage.d.ts +1 -1
  68. package/dist/coolandlovely/pages/collaborations/CollaborationFormPage.d.ts +1 -1
  69. package/dist/coolandlovely/pages/collaborations/CollaborationsListPage.d.ts +1 -1
  70. package/dist/coolandlovely/pages/collections/CollectionDetailPage.d.ts +1 -1
  71. package/dist/coolandlovely/pages/collections/CollectionFormPage.d.ts +1 -1
  72. package/dist/coolandlovely/pages/collections/CollectionsListPage.d.ts +1 -1
  73. package/dist/coolandlovely/pages/commerce/BrandOrdersPage.d.ts +2 -2
  74. package/dist/coolandlovely/pages/commerce/CartPage.d.ts +1 -1
  75. package/dist/coolandlovely/pages/commerce/CreatorAnalyticsSection.d.ts +1 -1
  76. package/dist/coolandlovely/pages/commerce/CreatorEarningsPage.d.ts +1 -1
  77. package/dist/coolandlovely/pages/commerce/OrdersPage.d.ts +2 -2
  78. package/dist/coolandlovely/pages/discover/DiscoverPage.d.ts +1 -1
  79. package/dist/coolandlovely/pages/editorial/EditorialPage.d.ts +1 -1
  80. package/dist/coolandlovely/pages/items/StoreListedPieceView.d.ts +0 -1
  81. package/dist/coolandlovely/pages/items/StyleItemDetailPage.d.ts +1 -1
  82. package/dist/coolandlovely/pages/items/StyleItemFormPage.d.ts +1 -1
  83. package/dist/coolandlovely/pages/items/StyleItemsListPage.d.ts +1 -1
  84. package/dist/coolandlovely/pages/lookbooks/LookbookDetailPage.d.ts +1 -1
  85. package/dist/coolandlovely/pages/lookbooks/LookbooksListPage.d.ts +1 -1
  86. package/dist/coolandlovely/pages/looks/LookDetailPage.d.ts +1 -1
  87. package/dist/coolandlovely/pages/looks/LookFormPage.d.ts +1 -1
  88. package/dist/coolandlovely/pages/looks/LooksListPage.d.ts +1 -1
  89. package/dist/coolandlovely/pages/marketplace/CreatorMarketplacePage.d.ts +1 -1
  90. package/dist/coolandlovely/pages/profile/StyleProfilePage.d.ts +1 -1
  91. package/dist/coolandlovely/pages/trends/TrendsPage.d.ts +1 -1
  92. package/dist/coolandlovely/pages/wardrobe/WardrobeFormPage.d.ts +1 -1
  93. package/dist/coolandlovely/pages/wardrobe/WardrobeListPage.d.ts +1 -1
  94. package/dist/coolandlovely/pages/wardrobe/WardrobeListPage.js +28 -28
  95. package/dist/coolandlovely/pages/wardrobe/WardrobeListPage.js.map +1 -1
  96. package/dist/coolandlovely/store/coolandlovelyStore.d.ts +0 -1
  97. package/dist/coolandlovely/types/commerce.d.ts +0 -1
  98. package/dist/coolandlovely/types/index.d.ts +0 -1
  99. package/dist/coolandlovely/utils/cn.d.ts +0 -1
  100. package/dist/coolandlovely/utils/icons.d.ts +0 -1
  101. package/dist/stories/BrandCard.stories.d.ts +1 -2
  102. package/dist/stories/BrandCard.stories.d.ts.map +1 -1
  103. package/dist/stories/CollectionCard.stories.d.ts +1 -2
  104. package/dist/stories/CollectionCard.stories.d.ts.map +1 -1
  105. package/dist/stories/DiscoverPage.stories.d.ts +1 -2
  106. package/dist/stories/DiscoverPage.stories.d.ts.map +1 -1
  107. package/dist/stories/FeedbackWidget.stories.d.ts +1 -2
  108. package/dist/stories/FeedbackWidget.stories.d.ts.map +1 -1
  109. package/dist/stories/LookCard.stories.d.ts +1 -2
  110. package/dist/stories/LookCard.stories.d.ts.map +1 -1
  111. package/dist/stories/LookbookCard.stories.d.ts +1 -2
  112. package/dist/stories/LookbookCard.stories.d.ts.map +1 -1
  113. package/dist/stories/MetricsCard.stories.d.ts +1 -2
  114. package/dist/stories/MetricsCard.stories.d.ts.map +1 -1
  115. package/dist/stories/ShopItemCard.stories.d.ts +1 -2
  116. package/dist/stories/ShopItemCard.stories.d.ts.map +1 -1
  117. package/dist/stories/StatusBadge.stories.d.ts +1 -2
  118. package/dist/stories/StatusBadge.stories.d.ts.map +1 -1
  119. package/dist/stories/VisibilityChip.stories.d.ts +1 -2
  120. package/dist/stories/VisibilityChip.stories.d.ts.map +1 -1
  121. package/dist/stories/WardrobeItemCard.stories.d.ts +1 -2
  122. package/dist/stories/WardrobeItemCard.stories.d.ts.map +1 -1
  123. package/dist/stories/__fixtures__/coolandlovely.d.ts +0 -1
  124. package/package.json +12 -11
@@ -5,5 +5,5 @@
5
5
  * Curation surface for featured style items. Lists the catalogue and lets admins
6
6
  * feature or unfeature individual items for curated discovery surfaces.
7
7
  */
8
- export declare function AdminFeaturedItemsPage(): import("react").JSX.Element;
8
+ export declare function AdminFeaturedItemsPage(): import('react').JSX.Element;
9
9
  //# sourceMappingURL=AdminFeaturedItemsPage.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * Renders a single brand storefront (`cooBrand`) with its publish-lifecycle
6
6
  * transitions (`cooTransitionBrand`), collections and style items.
7
7
  */
8
- export declare function BrandDetailPage(): import("react").JSX.Element;
8
+ export declare function BrandDetailPage(): import('react').JSX.Element;
9
9
  //# sourceMappingURL=BrandDetailPage.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * Drives `cooCreateBrand` (new) and `cooUpdateBrand` (edit). The route param
6
6
  * `brandId` distinguishes the two modes.
7
7
  */
8
- export declare function BrandFormPage(): import("react").JSX.Element;
8
+ export declare function BrandFormPage(): import('react').JSX.Element;
9
9
  //# sourceMappingURL=BrandFormPage.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * Lists brand storefronts (cursor-paginated `cooListBrands`) with status &
6
6
  * featured filters. Each card links to the brand detail page.
7
7
  */
8
- export declare function BrandsListPage(): import("react").JSX.Element;
8
+ export declare function BrandsListPage(): import('react').JSX.Element;
9
9
  //# sourceMappingURL=BrandsListPage.d.ts.map
@@ -13,5 +13,5 @@
13
13
  * 3. Import — product images are copied into wspace-files and everything is
14
14
  * created in one transaction with `cooBulkImportCatalog`.
15
15
  */
16
- export declare function ImportCatalogPage(): import("react").JSX.Element;
16
+ export declare function ImportCatalogPage(): import('react').JSX.Element;
17
17
  //# sourceMappingURL=ImportCatalogPage.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * Single collaboration (`cooCollaboration`) with validated lifecycle
6
6
  * transitions (`cooTransitionCollaboration`), its brand and attributed looks.
7
7
  */
8
- export declare function CollaborationDetailPage(): import("react").JSX.Element;
8
+ export declare function CollaborationDetailPage(): import('react').JSX.Element;
9
9
  //# sourceMappingURL=CollaborationDetailPage.d.ts.map
@@ -7,5 +7,5 @@
7
7
  * identity (brand/creator) and status are immutable there, so those fields
8
8
  * render read-only and status transitions stay on CollaborationDetailPage.
9
9
  */
10
- export declare function CollaborationFormPage(): import("react").JSX.Element;
10
+ export declare function CollaborationFormPage(): import('react').JSX.Element;
11
11
  //# sourceMappingURL=CollaborationFormPage.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * Lists brand × creator partnerships (`cooListCollaborations`) with status
6
6
  * filter.
7
7
  */
8
- export declare function CollaborationsListPage(): import("react").JSX.Element;
8
+ export declare function CollaborationsListPage(): import('react').JSX.Element;
9
9
  //# sourceMappingURL=CollaborationsListPage.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * Single collection (`cooCollection`) with publish (`cooPublishCollection`),
6
6
  * edit, its brand link and member items.
7
7
  */
8
- export declare function CollectionDetailPage(): import("react").JSX.Element;
8
+ export declare function CollectionDetailPage(): import('react').JSX.Element;
9
9
  //# sourceMappingURL=CollectionDetailPage.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * Drives `cooCreateCollection` (new) and `cooUpdateCollection` (edit).
6
6
  * Brand selection is required on create and locked on edit.
7
7
  */
8
- export declare function CollectionFormPage(): import("react").JSX.Element;
8
+ export declare function CollectionFormPage(): import('react').JSX.Element;
9
9
  //# sourceMappingURL=CollectionFormPage.d.ts.map
@@ -4,5 +4,5 @@
4
4
  *
5
5
  * Lists seasonal collections (`cooListCollections`) with status filter.
6
6
  */
7
- export declare function CollectionsListPage(): import("react").JSX.Element;
7
+ export declare function CollectionsListPage(): import('react').JSX.Element;
8
8
  //# sourceMappingURL=CollectionsListPage.d.ts.map
@@ -11,6 +11,6 @@
11
11
  * requests (BOFF-9900) are listed while pending, and the brand approves (which refunds) or
12
12
  * declines each one on the order detail.
13
13
  */
14
- export declare function BrandOrdersPage(): import("react").JSX.Element;
15
- export declare function BrandOrderDetailPage(): import("react").JSX.Element;
14
+ export declare function BrandOrdersPage(): import('react').JSX.Element;
15
+ export declare function BrandOrderDetailPage(): import('react').JSX.Element;
16
16
  //# sourceMappingURL=BrandOrdersPage.d.ts.map
@@ -6,5 +6,5 @@
6
6
  * into an order (`cooCheckout`), then the shopper pays through the provider global-billing
7
7
  * chose; the order is only marked paid once the backend re-reads billing's record.
8
8
  */
9
- export declare function CartPage(): import("react").JSX.Element;
9
+ export declare function CartPage(): import('react').JSX.Element;
10
10
  //# sourceMappingURL=CartPage.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function CreatorAnalyticsSection(): import("react").JSX.Element;
1
+ export declare function CreatorAnalyticsSection(): import('react').JSX.Element;
2
2
  //# sourceMappingURL=CreatorAnalyticsSection.d.ts.map
@@ -10,5 +10,5 @@
10
10
  * Collaboration fees (BOFF-9637): when a brand pays the agreed fee of a published collaboration,
11
11
  * it lands here too (`cooMyCollaborationPayouts`) and counts towards the same payable balance.
12
12
  */
13
- export declare function CreatorEarningsPage(): import("react").JSX.Element;
13
+ export declare function CreatorEarningsPage(): import('react').JSX.Element;
14
14
  //# sourceMappingURL=CreatorEarningsPage.d.ts.map
@@ -8,6 +8,6 @@
8
8
  * the order with their amount and reason. Inside the return window the shopper can ask a brand to
9
9
  * take back its pieces (`cooRequestReturn`, BOFF-9900) and sees the brand's decision.
10
10
  */
11
- export declare function OrdersPage(): import("react").JSX.Element;
12
- export declare function OrderDetailPage(): import("react").JSX.Element;
11
+ export declare function OrdersPage(): import('react').JSX.Element;
12
+ export declare function OrderDetailPage(): import('react').JSX.Element;
13
13
  //# sourceMappingURL=OrdersPage.d.ts.map
@@ -10,5 +10,5 @@
10
10
  * (that is roadmap). The "Items" / "Looks" tabs drive server-side search with
11
11
  * filters and pagination.
12
12
  */
13
- export declare function DiscoverPage(): import("react").JSX.Element;
13
+ export declare function DiscoverPage(): import('react').JSX.Element;
14
14
  //# sourceMappingURL=DiscoverPage.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function EditorialPage(): import("react").JSX.Element;
1
+ export declare function EditorialPage(): import('react').JSX.Element;
2
2
  //# sourceMappingURL=EditorialPage.d.ts.map
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
-
3
2
  /**
4
3
  * The fallback piece page for a store shopper. Renders "Item not found" when the store does not
5
4
  * list the piece either (drafts, retired pieces, pieces of unpublished brands).
@@ -9,5 +9,5 @@
9
9
  * workspace finds no such piece in the workspace catalogue; the page then
10
10
  * falls back to the store-listed piece view, where they can buy it (BOFF-10017).
11
11
  */
12
- export declare function StyleItemDetailPage(): import("react").JSX.Element;
12
+ export declare function StyleItemDetailPage(): import('react').JSX.Element;
13
13
  //# sourceMappingURL=StyleItemDetailPage.d.ts.map
@@ -6,5 +6,5 @@
6
6
  * Brand selection is required on create (and locked on edit). The collection
7
7
  * select is scoped to the chosen brand.
8
8
  */
9
- export declare function StyleItemFormPage(): import("react").JSX.Element;
9
+ export declare function StyleItemFormPage(): import('react').JSX.Element;
10
10
  //# sourceMappingURL=StyleItemFormPage.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * Cursor-paginated catalogue (`cooListStyleItems`) with category & status
6
6
  * filters. Cards link to the item detail page.
7
7
  */
8
- export declare function StyleItemsListPage(): import("react").JSX.Element;
8
+ export declare function StyleItemsListPage(): import('react').JSX.Element;
9
9
  //# sourceMappingURL=StyleItemsListPage.d.ts.map
@@ -8,5 +8,5 @@
8
8
  * note badge and a hover X-remove (`cooRemoveLookbookEntry`). New entries are
9
9
  * added inline (`cooAddLookbookEntry`).
10
10
  */
11
- export declare function LookbookDetailPage(): import("react").JSX.Element;
11
+ export declare function LookbookDetailPage(): import('react').JSX.Element;
12
12
  //# sourceMappingURL=LookbookDetailPage.d.ts.map
@@ -6,5 +6,5 @@
6
6
  * cover, a visibility chip and (when the list selection carries entries) an
7
7
  * item count — and supports creating one inline (`cooCreateLookbook`).
8
8
  */
9
- export declare function LookbooksListPage(): import("react").JSX.Element;
9
+ export declare function LookbooksListPage(): import('react').JSX.Element;
10
10
  //# sourceMappingURL=LookbooksListPage.d.ts.map
@@ -7,5 +7,5 @@
7
7
  * `cooUnsaveLook`), publish (`cooPublishLook`) and delete (`cooDeleteLook`)
8
8
  * actions.
9
9
  */
10
- export declare function LookDetailPage(): import("react").JSX.Element;
10
+ export declare function LookDetailPage(): import('react').JSX.Element;
11
11
  //# sourceMappingURL=LookDetailPage.d.ts.map
@@ -6,5 +6,5 @@
6
6
  * and an inline list of look items (catalogue pieces + styling notes), matching
7
7
  * the `CooCreateLookInput` shape exactly.
8
8
  */
9
- export declare function LookFormPage(): import("react").JSX.Element;
9
+ export declare function LookFormPage(): import('react').JSX.Element;
10
10
  //# sourceMappingURL=LookFormPage.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * Cursor-paginated feed of published looks (`cooListLooks`) with occasion &
6
6
  * featured filters.
7
7
  */
8
- export declare function LooksListPage(): import("react").JSX.Element;
8
+ export declare function LooksListPage(): import('react').JSX.Element;
9
9
  //# sourceMappingURL=LooksListPage.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function CreatorMarketplacePage(): import("react").JSX.Element;
1
+ export declare function CreatorMarketplacePage(): import('react').JSX.Element;
2
2
  //# sourceMappingURL=CreatorMarketplacePage.d.ts.map
@@ -13,5 +13,5 @@
13
13
  * Follow button instead. Server-side CooVisibility (PRIVATE/FOLLOWERS)
14
14
  * gates whether the profile resolves at all.
15
15
  */
16
- export declare function StyleProfilePage(): import("react").JSX.Element;
16
+ export declare function StyleProfilePage(): import('react').JSX.Element;
17
17
  //# sourceMappingURL=StyleProfilePage.d.ts.map
@@ -7,5 +7,5 @@
7
7
  * it only counts and ranks what is actually on the platform. No fabricated
8
8
  * metrics. Header labels it "Signals from platform activity."
9
9
  */
10
- export declare function TrendsPage(): import("react").JSX.Element;
10
+ export declare function TrendsPage(): import('react').JSX.Element;
11
11
  //# sourceMappingURL=TrendsPage.d.ts.map
@@ -6,5 +6,5 @@
6
6
  * piece can optionally be linked to a catalogue style item (`styleItemId`), and
7
7
  * its source is chosen with a segmented control.
8
8
  */
9
- export declare function WardrobeFormPage(): import("react").JSX.Element;
9
+ export declare function WardrobeFormPage(): import('react').JSX.Element;
10
10
  //# sourceMappingURL=WardrobeFormPage.d.ts.map
@@ -8,5 +8,5 @@
8
8
  * `cooLogWardrobeWear`, removal via `cooRemoveWardrobeItem`), with category &
9
9
  * source filters.
10
10
  */
11
- export declare function WardrobeListPage(): import("react").JSX.Element;
11
+ export declare function WardrobeListPage(): import('react').JSX.Element;
12
12
  //# sourceMappingURL=WardrobeListPage.d.ts.map
@@ -1,14 +1,14 @@
1
- import { useCoolAndLovely as e } from "../../context/CoolAndLovelyContext.js";
2
- import { cn as t } from "../../utils/cn.js";
3
- import { PageLayout as n } from "../../components/PageLayout.js";
4
- import { useLogWardrobeWear as r, useRemoveWardrobeItem as i, useWardrobeItems as a } from "../../hooks/useCoolAndLovelyApi.js";
5
- import { useTr as o } from "../../hooks/useTr.js";
1
+ import { cn as e } from "../../utils/cn.js";
2
+ import { PageLayout as t } from "../../components/PageLayout.js";
3
+ import { useLogWardrobeWear as n, useRemoveWardrobeItem as r, useWardrobeItems as i } from "../../hooks/useCoolAndLovelyApi.js";
4
+ import { useTr as a } from "../../hooks/useTr.js";
6
5
  import "../../hooks/index.js";
7
- import { ErrorView as s, LoadingView as c } from "../../components/StateViews.js";
8
- import { titleCase as l } from "../../utils/formatters.js";
9
- import { STYLE_CATEGORIES as u, categoryIcon as d } from "../../utils/icons.js";
10
- import { EmptyState as f } from "../../components/EmptyState.js";
11
- import { WardrobeItemCard as p } from "../../components/WardrobeItemCard.js";
6
+ import { ErrorView as o, LoadingView as s } from "../../components/StateViews.js";
7
+ import { titleCase as c } from "../../utils/formatters.js";
8
+ import { STYLE_CATEGORIES as l, categoryIcon as u } from "../../utils/icons.js";
9
+ import { EmptyState as d } from "../../components/EmptyState.js";
10
+ import { WardrobeItemCard as f } from "../../components/WardrobeItemCard.js";
11
+ import { useContextNavigation as p } from "../../hooks/useContextNavigation.js";
12
12
  import { useBestPrices as m } from "../../hooks/usePriceApi.js";
13
13
  import { BestPriceBadge as h } from "../../components/prices/BestPriceBadge.js";
14
14
  import { PriceCurrencySelect as g } from "../../components/prices/PriceCurrencySelect.js";
@@ -26,17 +26,17 @@ function w(e) {
26
26
  return e.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase());
27
27
  }
28
28
  function T() {
29
- let { navigateTo: T } = e(), E = o(), [D, O] = v("ALL"), [k, A] = v("ALL"), [j, M] = v("USD"), N = _(() => [{
29
+ let T = p(), E = a(), [D, O] = v("ALL"), [k, A] = v("ALL"), [j, M] = v("USD"), N = _(() => [{
30
30
  value: "ALL",
31
31
  label: E("coolandlovely.filters.all", "All")
32
32
  }, ...C.map((e) => ({
33
33
  value: e,
34
34
  label: E(`coolandlovely.source.${e.toLowerCase()}`, w(e))
35
- }))], [E]), P = a({
35
+ }))], [E]), P = i({
36
36
  category: D === "ALL" ? void 0 : D,
37
37
  source: k === "ALL" ? void 0 : k
38
- }), F = r(), I = i(), L = _(() => P.data ?? [], [P.data]), R = _(() => [...new Set(L.map((e) => e.styleItemId).filter((e) => !!e))], [L]), z = m(R.slice(0, 100), j), B = _(() => new Map(z.data?.map((e) => [e.styleItemId, e])), [z.data]);
39
- return /* @__PURE__ */ S(n, {
38
+ }), F = n(), I = r(), L = _(() => P.data ?? [], [P.data]), R = _(() => [...new Set(L.map((e) => e.styleItemId).filter((e) => !!e))], [L]), z = m(R.slice(0, 100), j), B = _(() => new Map(z.data?.map((e) => [e.styleItemId, e])), [z.data]);
39
+ return /* @__PURE__ */ S(t, {
40
40
  title: E("coolandlovely.page.wardrobeTitle", "My Wardrobe"),
41
41
  description: E("coolandlovely.page.wardrobeSubtitle", "A private catalogue of what you own — with a wear log"),
42
42
  actions: /* @__PURE__ */ S("button", {
@@ -79,32 +79,32 @@ function T() {
79
79
  }),
80
80
  /* @__PURE__ */ x("div", {
81
81
  className: "mb-3 flex flex-wrap items-center gap-2",
82
- children: N.map((e) => /* @__PURE__ */ x("button", {
82
+ children: N.map((t) => /* @__PURE__ */ x("button", {
83
83
  type: "button",
84
- onClick: () => A(e.value),
85
- className: t("rounded-full px-3 py-1.5 text-sm font-medium transition-colors", k === e.value ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
86
- children: e.label
87
- }, e.value))
84
+ onClick: () => A(t.value),
85
+ className: e("rounded-full px-3 py-1.5 text-sm font-medium transition-colors", k === t.value ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
86
+ children: t.label
87
+ }, t.value))
88
88
  }),
89
89
  /* @__PURE__ */ S("div", {
90
90
  className: "mb-6 flex flex-wrap items-center gap-2",
91
91
  children: [/* @__PURE__ */ x("button", {
92
92
  type: "button",
93
93
  onClick: () => O("ALL"),
94
- className: t("rounded-full px-3 py-1.5 text-xs font-medium transition-colors", D === "ALL" ? "bg-accent-purple-subtle text-text-primary" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
94
+ className: e("rounded-full px-3 py-1.5 text-xs font-medium transition-colors", D === "ALL" ? "bg-accent-purple-subtle text-text-primary" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
95
95
  children: E("coolandlovely.filters.allCategories", "All categories")
96
- }), u.map((e) => /* @__PURE__ */ S("button", {
96
+ }), l.map((t) => /* @__PURE__ */ S("button", {
97
97
  type: "button",
98
- onClick: () => O(e),
99
- className: t("inline-flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs font-medium transition-colors", D === e ? "bg-accent-purple-subtle text-text-primary" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
98
+ onClick: () => O(t),
99
+ className: e("inline-flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs font-medium transition-colors", D === t ? "bg-accent-purple-subtle text-text-primary" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
100
100
  children: [
101
- d(e, 14),
101
+ u(t, 14),
102
102
  " ",
103
- E(`coolandlovely.category.${e.toLowerCase()}`, l(e))
103
+ E(`coolandlovely.category.${t.toLowerCase()}`, c(t))
104
104
  ]
105
- }, e))]
105
+ }, t))]
106
106
  }),
107
- P.isLoading ? /* @__PURE__ */ x(c, { label: E("coolandlovely.loading.wardrobe", "Loading your wardrobe…") }) : P.isError ? /* @__PURE__ */ x(s, { onRetry: () => void P.refetch() }) : L.length === 0 ? /* @__PURE__ */ x(f, {
107
+ P.isLoading ? /* @__PURE__ */ x(s, { label: E("coolandlovely.loading.wardrobe", "Loading your wardrobe…") }) : P.isError ? /* @__PURE__ */ x(o, { onRetry: () => void P.refetch() }) : L.length === 0 ? /* @__PURE__ */ x(d, {
108
108
  illustration: "empty-data",
109
109
  icon: /* @__PURE__ */ x(y, { className: "h-10 w-10" }),
110
110
  title: E("coolandlovely.empty.wardrobeTitle", "Your wardrobe is empty"),
@@ -121,7 +121,7 @@ function T() {
121
121
  })
122
122
  }) : /* @__PURE__ */ x("div", {
123
123
  className: "grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
124
- children: L.map((e) => /* @__PURE__ */ x(p, {
124
+ children: L.map((e) => /* @__PURE__ */ x(f, {
125
125
  item: e,
126
126
  retailerPrice: e.styleItemId ? /* @__PURE__ */ x(h, {
127
127
  summary: B.get(e.styleItemId),
@@ -1 +1 @@
1
- {"version":3,"file":"WardrobeListPage.js","names":[],"sources":["../../../../src/coolandlovely/pages/wardrobe/WardrobeListPage.tsx"],"sourcesContent":["/**\n * Wardrobe List Page (self-scoped)\n * @module coolandlovely/pages/wardrobe\n *\n * The shopper's digital wardrobe (`cooListWardrobeItems`, self-scoped) rendered\n * as an image-forward gallery — each card is a large piece photo with a circular\n * \"Worn N×\" badge and a hover-revealed action bar (wear log via\n * `cooLogWardrobeWear`, removal via `cooRemoveWardrobeItem`), with category &\n * source filters.\n */\n\nimport { useBestPrices } from '../../hooks/usePriceApi';\nimport { BestPriceBadge } from '../../components/prices/BestPriceBadge';\nimport { PriceCurrencySelect } from '../../components/prices/PriceCurrencySelect';\nimport { useMemo, useState } from 'react';\nimport { Plus, Heart } from 'lucide-react';\nimport { PageLayout } from '../../components/PageLayout';\nimport { WardrobeItemCard } from '../../components/WardrobeItemCard';\nimport { EmptyState } from '../../components/EmptyState';\nimport { LoadingView, ErrorView } from '../../components/StateViews';\nimport { useCoolAndLovely } from '../../context/CoolAndLovelyContext';\nimport { useWardrobeItems, useLogWardrobeWear, useRemoveWardrobeItem, useTr } from '../../hooks';\nimport { categoryIcon, STYLE_CATEGORIES } from '../../utils/icons';\nimport { titleCase } from '../../utils/formatters';\nimport { cn } from '../../utils/cn';\nimport type { CooStyleCategory, CooWardrobeSource } from '../../types';\n\nconst SOURCE_ORDER: CooWardrobeSource[] = ['OWNED', 'WISHLIST', 'PURCHASED_ON_PLATFORM', 'GIFTED'];\n\nfunction formatSourceLabel(source: string): string {\n return source.replace(/_/g, ' ').replace(/\\b\\w/g, (c) => c.toUpperCase());\n}\n\nexport function WardrobeListPage() {\n const { navigateTo } = useCoolAndLovely();\n const tr = useTr();\n const [category, setCategory] = useState<CooStyleCategory | 'ALL'>('ALL');\n const [source, setSource] = useState<CooWardrobeSource | 'ALL'>('ALL');\n const [priceCurrency, setPriceCurrency] = useState('USD');\n\n const sourceOptions = useMemo(\n () => [\n { value: 'ALL' as const, label: tr('coolandlovely.filters.all', 'All') },\n ...SOURCE_ORDER.map((value) => ({\n value,\n label: tr(`coolandlovely.source.${value.toLowerCase()}`, formatSourceLabel(value)),\n })),\n ],\n [tr]\n );\n\n const query = useWardrobeItems({\n category: category === 'ALL' ? undefined : category,\n source: source === 'ALL' ? undefined : source,\n });\n const logWear = useLogWardrobeWear();\n const remove = useRemoveWardrobeItem();\n\n const items = useMemo(() => query.data ?? [], [query.data]);\n const priceIds = useMemo(\n () => [\n ...new Set(items.map((item) => item.styleItemId).filter((id): id is string => Boolean(id))),\n ],\n [items]\n );\n const bestPrices = useBestPrices(priceIds.slice(0, 100), priceCurrency);\n const priceByItem = useMemo(\n () => new Map(bestPrices.data?.map((entry) => [entry.styleItemId, entry])),\n [bestPrices.data]\n );\n\n return (\n <PageLayout\n title={tr('coolandlovely.page.wardrobeTitle', 'My Wardrobe')}\n description={tr(\n 'coolandlovely.page.wardrobeSubtitle',\n 'A private catalogue of what you own — with a wear log'\n )}\n actions={\n <button\n type=\"button\"\n onClick={() => navigateTo('/wardrobe/new')}\n className=\"inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text transition-colors hover:bg-action-primary-bg/90\"\n >\n <Plus className=\"h-4 w-4\" /> {tr('coolandlovely.actions.addPiece', 'Add piece')}\n </button>\n }\n >\n <PriceCurrencySelect value={priceCurrency} onChange={setPriceCurrency} />\n <p className=\"mb-3 text-xs text-text-secondary\">\n Retailer quotes use {priceCurrency} without currency conversion.\n {priceIds.length > 100 ? ' Pricing covers the first 100 linked pieces on this page.' : ''}\n </p>\n {bestPrices.isError && (\n <p role=\"alert\" className=\"mb-3 text-sm text-status-error-text\">\n Retailer prices could not be loaded.{' '}\n <button type=\"button\" className=\"underline\" onClick={() => void bestPrices.refetch()}>\n Retry prices\n </button>\n </p>\n )}\n {/* Source filter */}\n <div className=\"mb-3 flex flex-wrap items-center gap-2\">\n {sourceOptions.map((opt) => (\n <button\n key={opt.value}\n type=\"button\"\n onClick={() => setSource(opt.value)}\n className={cn(\n 'rounded-full px-3 py-1.5 text-sm font-medium transition-colors',\n source === opt.value\n ? 'bg-action-primary-bg text-action-primary-text'\n : 'bg-bg-sunken text-text-secondary hover:text-text-primary'\n )}\n >\n {opt.label}\n </button>\n ))}\n </div>\n\n {/* Category filter */}\n <div className=\"mb-6 flex flex-wrap items-center gap-2\">\n <button\n type=\"button\"\n onClick={() => setCategory('ALL')}\n className={cn(\n 'rounded-full px-3 py-1.5 text-xs font-medium transition-colors',\n category === 'ALL'\n ? 'bg-accent-purple-subtle text-text-primary'\n : 'bg-bg-sunken text-text-secondary hover:text-text-primary'\n )}\n >\n {tr('coolandlovely.filters.allCategories', 'All categories')}\n </button>\n {STYLE_CATEGORIES.map((c) => (\n <button\n key={c}\n type=\"button\"\n onClick={() => setCategory(c)}\n className={cn(\n 'inline-flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs font-medium transition-colors',\n category === c\n ? 'bg-accent-purple-subtle text-text-primary'\n : 'bg-bg-sunken text-text-secondary hover:text-text-primary'\n )}\n >\n {categoryIcon(c, 14)} {tr(`coolandlovely.category.${c.toLowerCase()}`, titleCase(c))}\n </button>\n ))}\n </div>\n\n {query.isLoading ? (\n <LoadingView label={tr('coolandlovely.loading.wardrobe', 'Loading your wardrobe…')} />\n ) : query.isError ? (\n <ErrorView onRetry={() => void query.refetch()} />\n ) : items.length === 0 ? (\n <EmptyState\n illustration=\"empty-data\"\n icon={<Heart className=\"h-10 w-10\" />}\n title={tr('coolandlovely.empty.wardrobeTitle', 'Your wardrobe is empty')}\n description={tr(\n 'coolandlovely.empty.wardrobeDescription',\n 'Add the pieces you already own (or want) to start your digital closet.'\n )}\n action={\n <button\n type=\"button\"\n onClick={() => navigateTo('/wardrobe/new')}\n className=\"inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text\"\n >\n <Plus className=\"h-4 w-4\" /> {tr('coolandlovely.actions.addPiece', 'Add piece')}\n </button>\n }\n />\n ) : (\n <div className=\"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4\">\n {items.map((item) => (\n <WardrobeItemCard\n key={item.id}\n item={item}\n retailerPrice={\n item.styleItemId ? (\n <BestPriceBadge\n summary={priceByItem.get(item.styleItemId)}\n onOpen={() => navigateTo(`/items/${item.styleItemId}`)}\n />\n ) : undefined\n }\n onLogWear={() => logWear.mutate(item.id)}\n onRemove={() => remove.mutate(item.id)}\n isLoggingWear={logWear.isPending && logWear.variables === item.id}\n isRemoving={remove.isPending && remove.variables === item.id}\n />\n ))}\n </div>\n )}\n </PageLayout>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AA2BA,IAAM,IAAoC;CAAC;CAAS;CAAY;CAAyB;AAAQ;AAEjG,SAAS,EAAkB,GAAwB;CACjD,OAAO,EAAO,QAAQ,MAAM,GAAG,CAAC,CAAC,QAAQ,UAAU,MAAM,EAAE,YAAY,CAAC;AAC1E;AAEA,SAAgB,IAAmB;CACjC,IAAM,EAAE,kBAAe,EAAiB,GAClC,IAAK,EAAM,GACX,CAAC,GAAU,KAAe,EAAmC,KAAK,GAClE,CAAC,GAAQ,KAAa,EAAoC,KAAK,GAC/D,CAAC,GAAe,KAAoB,EAAS,KAAK,GAElD,IAAgB,QACd,CACJ;EAAE,OAAO;EAAgB,OAAO,EAAG,6BAA6B,KAAK;CAAE,GACvE,GAAG,EAAa,KAAK,OAAW;EAC9B;EACA,OAAO,EAAG,wBAAwB,EAAM,YAAY,KAAK,EAAkB,CAAK,CAAC;C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C,KAAA;KAEN,iBAAiB,EAAQ,OAAO,EAAK,EAAE;KACvC,gBAAgB,EAAO,OAAO,EAAK,EAAE;KACrC,eAAe,EAAQ,aAAa,EAAQ,cAAc,EAAK;KAC/D,YAAY,EAAO,aAAa,EAAO,cAAc,EAAK;IAC3D,GAdM,EAAK,EAcX,CACF;GACE,CAAA;EAEG;;AAEhB"}
1
+ {"version":3,"file":"WardrobeListPage.js","names":[],"sources":["../../../../src/coolandlovely/pages/wardrobe/WardrobeListPage.tsx"],"sourcesContent":["/**\n * Wardrobe List Page (self-scoped)\n * @module coolandlovely/pages/wardrobe\n *\n * The shopper's digital wardrobe (`cooListWardrobeItems`, self-scoped) rendered\n * as an image-forward gallery — each card is a large piece photo with a circular\n * \"Worn N×\" badge and a hover-revealed action bar (wear log via\n * `cooLogWardrobeWear`, removal via `cooRemoveWardrobeItem`), with category &\n * source filters.\n */\n\nimport { useBestPrices } from '../../hooks/usePriceApi';\nimport { BestPriceBadge } from '../../components/prices/BestPriceBadge';\nimport { PriceCurrencySelect } from '../../components/prices/PriceCurrencySelect';\nimport { useMemo, useState } from 'react';\nimport { Plus, Heart } from 'lucide-react';\nimport { PageLayout } from '../../components/PageLayout';\nimport { WardrobeItemCard } from '../../components/WardrobeItemCard';\nimport { EmptyState } from '../../components/EmptyState';\nimport { LoadingView, ErrorView } from '../../components/StateViews';\nimport { useContextNavigation } from '../../hooks/useContextNavigation';\nimport { useWardrobeItems, useLogWardrobeWear, useRemoveWardrobeItem, useTr } from '../../hooks';\nimport { categoryIcon, STYLE_CATEGORIES } from '../../utils/icons';\nimport { titleCase } from '../../utils/formatters';\nimport { cn } from '../../utils/cn';\nimport type { CooStyleCategory, CooWardrobeSource } from '../../types';\n\nconst SOURCE_ORDER: CooWardrobeSource[] = ['OWNED', 'WISHLIST', 'PURCHASED_ON_PLATFORM', 'GIFTED'];\n\nfunction formatSourceLabel(source: string): string {\n return source.replace(/_/g, ' ').replace(/\\b\\w/g, (c) => c.toUpperCase());\n}\n\nexport function WardrobeListPage() {\n const navigateTo = useContextNavigation();\n const tr = useTr();\n const [category, setCategory] = useState<CooStyleCategory | 'ALL'>('ALL');\n const [source, setSource] = useState<CooWardrobeSource | 'ALL'>('ALL');\n const [priceCurrency, setPriceCurrency] = useState('USD');\n\n const sourceOptions = useMemo(\n () => [\n { value: 'ALL' as const, label: tr('coolandlovely.filters.all', 'All') },\n ...SOURCE_ORDER.map((value) => ({\n value,\n label: tr(`coolandlovely.source.${value.toLowerCase()}`, formatSourceLabel(value)),\n })),\n ],\n [tr]\n );\n\n const query = useWardrobeItems({\n category: category === 'ALL' ? undefined : category,\n source: source === 'ALL' ? undefined : source,\n });\n const logWear = useLogWardrobeWear();\n const remove = useRemoveWardrobeItem();\n\n const items = useMemo(() => query.data ?? [], [query.data]);\n const priceIds = useMemo(\n () => [\n ...new Set(items.map((item) => item.styleItemId).filter((id): id is string => Boolean(id))),\n ],\n [items]\n );\n const bestPrices = useBestPrices(priceIds.slice(0, 100), priceCurrency);\n const priceByItem = useMemo(\n () => new Map(bestPrices.data?.map((entry) => [entry.styleItemId, entry])),\n [bestPrices.data]\n );\n\n return (\n <PageLayout\n title={tr('coolandlovely.page.wardrobeTitle', 'My Wardrobe')}\n description={tr(\n 'coolandlovely.page.wardrobeSubtitle',\n 'A private catalogue of what you own — with a wear log'\n )}\n actions={\n <button\n type=\"button\"\n onClick={() => navigateTo('/wardrobe/new')}\n className=\"inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text transition-colors hover:bg-action-primary-bg/90\"\n >\n <Plus className=\"h-4 w-4\" /> {tr('coolandlovely.actions.addPiece', 'Add piece')}\n </button>\n }\n >\n <PriceCurrencySelect value={priceCurrency} onChange={setPriceCurrency} />\n <p className=\"mb-3 text-xs text-text-secondary\">\n Retailer quotes use {priceCurrency} without currency conversion.\n {priceIds.length > 100 ? ' Pricing covers the first 100 linked pieces on this page.' : ''}\n </p>\n {bestPrices.isError && (\n <p role=\"alert\" className=\"mb-3 text-sm text-status-error-text\">\n Retailer prices could not be loaded.{' '}\n <button type=\"button\" className=\"underline\" onClick={() => void bestPrices.refetch()}>\n Retry prices\n </button>\n </p>\n )}\n {/* Source filter */}\n <div className=\"mb-3 flex flex-wrap items-center gap-2\">\n {sourceOptions.map((opt) => (\n <button\n key={opt.value}\n type=\"button\"\n onClick={() => setSource(opt.value)}\n className={cn(\n 'rounded-full px-3 py-1.5 text-sm font-medium transition-colors',\n source === opt.value\n ? 'bg-action-primary-bg text-action-primary-text'\n : 'bg-bg-sunken text-text-secondary hover:text-text-primary'\n )}\n >\n {opt.label}\n </button>\n ))}\n </div>\n\n {/* Category filter */}\n <div className=\"mb-6 flex flex-wrap items-center gap-2\">\n <button\n type=\"button\"\n onClick={() => setCategory('ALL')}\n className={cn(\n 'rounded-full px-3 py-1.5 text-xs font-medium transition-colors',\n category === 'ALL'\n ? 'bg-accent-purple-subtle text-text-primary'\n : 'bg-bg-sunken text-text-secondary hover:text-text-primary'\n )}\n >\n {tr('coolandlovely.filters.allCategories', 'All categories')}\n </button>\n {STYLE_CATEGORIES.map((c) => (\n <button\n key={c}\n type=\"button\"\n onClick={() => setCategory(c)}\n className={cn(\n 'inline-flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs font-medium transition-colors',\n category === c\n ? 'bg-accent-purple-subtle text-text-primary'\n : 'bg-bg-sunken text-text-secondary hover:text-text-primary'\n )}\n >\n {categoryIcon(c, 14)} {tr(`coolandlovely.category.${c.toLowerCase()}`, titleCase(c))}\n </button>\n ))}\n </div>\n\n {query.isLoading ? (\n <LoadingView label={tr('coolandlovely.loading.wardrobe', 'Loading your wardrobe…')} />\n ) : query.isError ? (\n <ErrorView onRetry={() => void query.refetch()} />\n ) : items.length === 0 ? (\n <EmptyState\n illustration=\"empty-data\"\n icon={<Heart className=\"h-10 w-10\" />}\n title={tr('coolandlovely.empty.wardrobeTitle', 'Your wardrobe is empty')}\n description={tr(\n 'coolandlovely.empty.wardrobeDescription',\n 'Add the pieces you already own (or want) to start your digital closet.'\n )}\n action={\n <button\n type=\"button\"\n onClick={() => navigateTo('/wardrobe/new')}\n className=\"inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text\"\n >\n <Plus className=\"h-4 w-4\" /> {tr('coolandlovely.actions.addPiece', 'Add piece')}\n </button>\n }\n />\n ) : (\n <div className=\"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4\">\n {items.map((item) => (\n <WardrobeItemCard\n key={item.id}\n item={item}\n retailerPrice={\n item.styleItemId ? (\n <BestPriceBadge\n summary={priceByItem.get(item.styleItemId)}\n onOpen={() => navigateTo(`/items/${item.styleItemId}`)}\n />\n ) : undefined\n }\n onLogWear={() => logWear.mutate(item.id)}\n onRemove={() => remove.mutate(item.id)}\n isLoggingWear={logWear.isPending && logWear.variables === item.id}\n isRemoving={remove.isPending && remove.variables === item.id}\n />\n ))}\n </div>\n )}\n </PageLayout>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AA2BA,IAAM,IAAoC;CAAC;CAAS;CAAY;CAAyB;AAAQ;AAEjG,SAAS,EAAkB,GAAwB;CACjD,OAAO,EAAO,QAAQ,MAAM,GAAG,CAAC,CAAC,QAAQ,UAAU,MAAM,EAAE,YAAY,CAAC;AAC1E;AAEA,SAAgB,IAAmB;CACjC,IAAM,IAAa,EAAqB,GAClC,IAAK,EAAM,GACX,CAAC,GAAU,KAAe,EAAmC,KAAK,GAClE,CAAC,GAAQ,KAAa,EAAoC,KAAK,GAC/D,CAAC,GAAe,KAAoB,EAAS,KAAK,GAElD,IAAgB,QACd,CACJ;EAAE,OAAO;EAAgB,OAAO,EAAG,6BAA6B,KAAK;CAAE,GACvE,GAAG,EAAa,KAAK,OAAW;EAC9B;EACA,OAAO,EAAG,wBAAwB,EAAM,YAAY,KAAK,EAAkB,CAAK,CAAC;CACnF,EAAE,CACJ,GACA,CAAC,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,OAAO,EAAK,EAAE;KACvC,gBAAgB,EAAO,OAAO,EAAK,EAAE;KACrC,eAAe,EAAQ,aAAa,EAAQ,cAAc,EAAK;KAC/D,YAAY,EAAO,aAAa,EAAO,cAAc,EAAK;IAC3D,GAdM,EAAK,EAcX,CACF;GACE,CAAA;EAEG;;AAEhB"}
@@ -1,5 +1,4 @@
1
1
  import { ViewMode } from '../types';
2
-
3
2
  interface CoolAndLovelyState {
4
3
  viewMode: ViewMode;
5
4
  activeSection: string;
@@ -1,5 +1,4 @@
1
1
  import { CooFileRef, CooStyleCategory, CooStyleItem } from './index';
2
-
3
2
  export type CooOrderStatus = 'PENDING_PAYMENT' | 'PAID' | 'PARTIALLY_REFUNDED' | 'REFUNDED' | 'CANCELLED';
4
3
  /** A brand's refund of its pieces of an order (BOFF-9702). */
5
4
  export type CooRefundStatus = 'PENDING' | 'COMPLETED' | 'FAILED';
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { CooCollaborationPayout } from './commerce';
3
-
4
3
  /** Navigation item for shell integration */
5
4
  export interface NavItem {
6
5
  id: string;
@@ -1,4 +1,3 @@
1
1
  import { ClassValue } from 'clsx';
2
-
3
2
  export declare function cn(...inputs: ClassValue[]): string;
4
3
  //# sourceMappingURL=cn.d.ts.map
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { CooStyleCategory } from '../types';
3
-
4
3
  export declare function categoryIcon(category: CooStyleCategory, size?: number): ReactNode;
5
4
  export declare const STYLE_CATEGORIES: CooStyleCategory[];
6
5
  //# sourceMappingURL=icons.d.ts.map
@@ -1,6 +1,5 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { BrandCard } from '../coolandlovely/components/BrandCard';
3
-
4
3
  declare const meta: Meta<typeof BrandCard>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"BrandCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/BrandCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAGlE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAShC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KASnB,CAAC"}
1
+ {"version":3,"file":"BrandCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/BrandCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAGlE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAShC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KASnB,CAAC"}
@@ -1,6 +1,5 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { CollectionCard } from '../coolandlovely/components/CollectionCard';
3
-
4
3
  declare const meta: Meta<typeof CollectionCard>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"CollectionCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/CollectionCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAG5E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CASrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAe5B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC"}
1
+ {"version":3,"file":"CollectionCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/CollectionCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAG5E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CASrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAe5B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC"}
@@ -1,6 +1,5 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { DiscoverPage } from '../coolandlovely/pages/discover/DiscoverPage';
3
-
4
3
  declare const meta: Meta<typeof DiscoverPage>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof DiscoverPage>;
@@ -1 +1 @@
1
- {"version":3,"file":"DiscoverPage.stories.d.ts","sourceRoot":"","sources":["../../src/stories/DiscoverPage.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAQ5E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAInC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AA2C3C,eAAO,MAAM,MAAM,EAAE,KAoCpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAezB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAezB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
1
+ {"version":3,"file":"DiscoverPage.stories.d.ts","sourceRoot":"","sources":["../../src/stories/DiscoverPage.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAQ5E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAInC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AA2C3C,eAAO,MAAM,MAAM,EAAE,KAoCpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAezB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAezB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
@@ -1,6 +1,5 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { FeedbackWidget } from '../coolandlovely/components/FeedbackWidget';
3
-
4
3
  declare const meta: Meta<typeof FeedbackWidget>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"FeedbackWidget.stories.d.ts","sourceRoot":"","sources":["../../src/stories/FeedbackWidget.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAE5E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAMrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,eAAe,EAAE,KAoB7B,CAAC"}
1
+ {"version":3,"file":"FeedbackWidget.stories.d.ts","sourceRoot":"","sources":["../../src/stories/FeedbackWidget.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAE5E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAMrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,eAAe,EAAE,KAoB7B,CAAC"}
@@ -1,6 +1,5 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { LookCard } from '../coolandlovely/components/LookCard';
3
-
4
3
  declare const meta: Meta<typeof LookCard>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"LookCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/LookCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAU/B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA4BzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAiB3B,CAAC"}
1
+ {"version":3,"file":"LookCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/LookCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAU/B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA4BzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAiB3B,CAAC"}
@@ -1,6 +1,5 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { LookbookCard } from '../coolandlovely/components/LookbookCard';
3
-
4
3
  declare const meta: Meta<typeof LookbookCard>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"LookbookCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/LookbookCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAGxE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CASnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAC"}
1
+ {"version":3,"file":"LookbookCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/LookbookCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAGxE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CASnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAC"}
@@ -1,6 +1,5 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { MetricsCard } from '../coolandlovely/components/MetricsCard';
3
-
4
3
  declare const meta: Meta<typeof MetricsCard>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"MetricsCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/MetricsCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAMlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC"}
1
+ {"version":3,"file":"MetricsCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/MetricsCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAMlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC"}
@@ -1,6 +1,5 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { ShopItemCard } from '../coolandlovely/components/ShopItemCard';
3
-
4
3
  declare const meta: Meta<typeof ShopItemCard>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"ShopItemCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/ShopItemCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAExE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CASnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
1
+ {"version":3,"file":"ShopItemCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/ShopItemCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAExE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CASnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
@@ -1,6 +1,5 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { StatusBadge } from '../coolandlovely/components/StatusBadge';
3
-
4
3
  declare const meta: Meta<typeof StatusBadge>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;