@fluid-app/portal-sdk 0.1.340 → 0.1.341

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 (151) hide show
  1. package/dist/{AddressAutocompleteInput-4OS-oYis.mjs → AddressAutocompleteInput-BQ7HCDqS.mjs} +17 -17
  2. package/dist/AddressAutocompleteInput-BQ7HCDqS.mjs.map +1 -0
  3. package/dist/{AddressAutocompleteInput-CZITNL-n.cjs → AddressAutocompleteInput-C0ns8N-l.cjs} +17 -17
  4. package/dist/AddressAutocompleteInput-C0ns8N-l.cjs.map +1 -0
  5. package/dist/{AppDownloadScreen-BYjlFEVq.cjs → AppDownloadScreen-DqqUBpS-.cjs} +5 -5
  6. package/dist/AppDownloadScreen-DqqUBpS-.cjs.map +1 -0
  7. package/dist/{AppDownloadScreen-BkPXQ6HD.mjs → AppDownloadScreen-ZUoc8X2D.mjs} +5 -5
  8. package/dist/AppDownloadScreen-ZUoc8X2D.mjs.map +1 -0
  9. package/dist/{CardWidget-Jv6HiiK-.cjs → CardWidget--S5FBquC.cjs} +2 -2
  10. package/dist/{CardWidget-Jv6HiiK-.cjs.map → CardWidget--S5FBquC.cjs.map} +1 -1
  11. package/dist/{CardWidget-C9UbLrzZ.mjs → CardWidget-ChfurL_z.mjs} +2 -2
  12. package/dist/{CardWidget-C9UbLrzZ.mjs.map → CardWidget-ChfurL_z.mjs.map} +1 -1
  13. package/dist/{CardWidget-Wj7aNAAe.cjs → CardWidget-DsfLoyup.cjs} +2 -2
  14. package/dist/{ContactsScreen-BDOyYGyR.cjs → ContactsScreen-B3Ena0O7.cjs} +2 -2
  15. package/dist/{ContactsScreen-6x_Y2HBg.cjs → ContactsScreen-CiegGc50.cjs} +18 -18
  16. package/dist/ContactsScreen-CiegGc50.cjs.map +1 -0
  17. package/dist/{ContactsScreen-CU5_SYVK.mjs → ContactsScreen-Cwyt5qIf.mjs} +18 -18
  18. package/dist/ContactsScreen-Cwyt5qIf.mjs.map +1 -0
  19. package/dist/{ContainerWidget-B0WqVKej.mjs → ContainerWidget-BHWPtBmF.mjs} +2 -2
  20. package/dist/{ContainerWidget-B0WqVKej.mjs.map → ContainerWidget-BHWPtBmF.mjs.map} +1 -1
  21. package/dist/{ContainerWidget-BJys0vji.cjs → ContainerWidget-Cf_D4TAi.cjs} +2 -2
  22. package/dist/{ContainerWidget-BJys0vji.cjs.map → ContainerWidget-Cf_D4TAi.cjs.map} +1 -1
  23. package/dist/{ContainerWidget-BPoDy9wl.cjs → ContainerWidget-CyDVJu83.cjs} +3 -3
  24. package/dist/{EmbedWidget-BjLKHqCD.cjs → EmbedWidget-B1gWxgsn.cjs} +2 -2
  25. package/dist/EmbedWidget-B1gWxgsn.cjs.map +1 -0
  26. package/dist/{EmbedWidget-DwYcDOSr.mjs → EmbedWidget-JVbp9wAL.mjs} +2 -2
  27. package/dist/EmbedWidget-JVbp9wAL.mjs.map +1 -0
  28. package/dist/{FluidProvider-CYgSHMUd.cjs → FluidProvider-BFU7ermL.cjs} +23 -23
  29. package/dist/{FluidProvider-CYgSHMUd.cjs.map → FluidProvider-BFU7ermL.cjs.map} +1 -1
  30. package/dist/{FluidProvider-rLNjrHI9.mjs → FluidProvider-BqJ-t2bW.mjs} +23 -23
  31. package/dist/{FluidProvider-rLNjrHI9.mjs.map → FluidProvider-BqJ-t2bW.mjs.map} +1 -1
  32. package/dist/{LayoutWidget-COFyne-B.cjs → LayoutWidget-3G-w-YLz.cjs} +2 -2
  33. package/dist/{LayoutWidget-_f70Meea.cjs → LayoutWidget-CG-dWz_c.cjs} +2 -2
  34. package/dist/{LayoutWidget-_f70Meea.cjs.map → LayoutWidget-CG-dWz_c.cjs.map} +1 -1
  35. package/dist/{LayoutWidget-CUG5HXPH.mjs → LayoutWidget-CrZG6Ipw.mjs} +2 -2
  36. package/dist/{LayoutWidget-CUG5HXPH.mjs.map → LayoutWidget-CrZG6Ipw.mjs.map} +1 -1
  37. package/dist/{MessagingScreen-CKPKnmdA.cjs → MessagingScreen-7BBNidBx.cjs} +15 -15
  38. package/dist/{MessagingScreen-DEKQhSxk.mjs → MessagingScreen-BIWRCS3T.mjs} +15 -15
  39. package/dist/{MessagingScreen-C_VnN2yj.cjs → MessagingScreen-D_wVko-i.cjs} +2 -2
  40. package/dist/{MessagingScreen-C_VnN2yj.cjs.map → MessagingScreen-D_wVko-i.cjs.map} +1 -1
  41. package/dist/{MessagingScreen-Bn1jNjdF.mjs → MessagingScreen-ZwSPp6zu.mjs} +2 -2
  42. package/dist/{MessagingScreen-Bn1jNjdF.mjs.map → MessagingScreen-ZwSPp6zu.mjs.map} +1 -1
  43. package/dist/{MySiteScreen-BLI39L5d.cjs → MySiteScreen-17KRkcj7.cjs} +29 -29
  44. package/dist/MySiteScreen-17KRkcj7.cjs.map +1 -0
  45. package/dist/{MySiteScreen-h7lBk3gC.cjs → MySiteScreen-BdBnDI6s.cjs} +1 -1
  46. package/dist/{MySiteScreen-B5jblKuW.mjs → MySiteScreen-BlTSt7a0.mjs} +29 -29
  47. package/dist/MySiteScreen-BlTSt7a0.mjs.map +1 -0
  48. package/dist/{MySiteWidget-CAj-6hXM.cjs → MySiteWidget-23lGcDO1.cjs} +3 -3
  49. package/dist/MySiteWidget-23lGcDO1.cjs.map +1 -0
  50. package/dist/{MySiteWidget-D0ZQpY-e.mjs → MySiteWidget-BXO8rmnf.mjs} +3 -3
  51. package/dist/{MySiteWidget-D0ZQpY-e.mjs.map → MySiteWidget-BXO8rmnf.mjs.map} +1 -1
  52. package/dist/{NestedWidget-D1iDgWh8.cjs → NestedWidget-CZGOZbpZ.cjs} +5 -5
  53. package/dist/NestedWidget-CZGOZbpZ.cjs.map +1 -0
  54. package/dist/{NestedWidget-BISpn0HM.cjs → NestedWidget-Cv8h-u5K.cjs} +1 -1
  55. package/dist/{NestedWidget-DPC6Y52o.mjs → NestedWidget-DuNuNaeT.mjs} +5 -5
  56. package/dist/NestedWidget-DuNuNaeT.mjs.map +1 -0
  57. package/dist/{OrdersScreen-BOu-b93J.mjs → OrdersScreen-BkUvISL0.mjs} +15 -15
  58. package/dist/{OrdersScreen-BX3Tp0W6.mjs → OrdersScreen-DgriwQBo.mjs} +4 -4
  59. package/dist/OrdersScreen-DgriwQBo.mjs.map +1 -0
  60. package/dist/{OrdersScreen-C0-X_pGG.cjs → OrdersScreen-TGNvFpjj.cjs} +4 -4
  61. package/dist/OrdersScreen-TGNvFpjj.cjs.map +1 -0
  62. package/dist/{OrdersScreen-CyT1TpjL.cjs → OrdersScreen-t1EwXPZx.cjs} +15 -15
  63. package/dist/{ProfileScreen-B1OMNJrQ.mjs → ProfileScreen-Bw8W8nxK.mjs} +4 -4
  64. package/dist/{ProfileScreen-B1OMNJrQ.mjs.map → ProfileScreen-Bw8W8nxK.mjs.map} +1 -1
  65. package/dist/{ProfileScreen-DEYfahoM.mjs → ProfileScreen-CArZ7TAm.mjs} +16 -16
  66. package/dist/{ProfileScreen-Dshb7RM2.cjs → ProfileScreen-CP5ijd_t.cjs} +4 -4
  67. package/dist/{ProfileScreen-Dshb7RM2.cjs.map → ProfileScreen-CP5ijd_t.cjs.map} +1 -1
  68. package/dist/{ProfileScreen-BRbz69S3.cjs → ProfileScreen-DXlKK4gO.cjs} +16 -16
  69. package/dist/{RecentActivityWidget-CVQpo1jC.mjs → RecentActivityWidget-ClgOlTXl.mjs} +3 -3
  70. package/dist/RecentActivityWidget-ClgOlTXl.mjs.map +1 -0
  71. package/dist/{RecentActivityWidget-DnGybdc3.cjs → RecentActivityWidget-DZGKRR5x.cjs} +3 -3
  72. package/dist/RecentActivityWidget-DZGKRR5x.cjs.map +1 -0
  73. package/dist/{ScreenRenderer-BYiZunHL.cjs → ScreenRenderer-CLDJUinO.cjs} +2 -2
  74. package/dist/{ScreenRenderer-BYiZunHL.cjs.map → ScreenRenderer-CLDJUinO.cjs.map} +1 -1
  75. package/dist/{ScreenRenderer-1ZCNOyIb.mjs → ScreenRenderer-TobkTBMC.mjs} +2 -2
  76. package/dist/{ScreenRenderer-1ZCNOyIb.mjs.map → ScreenRenderer-TobkTBMC.mjs.map} +1 -1
  77. package/dist/{SearchSort-K0-ffUoD.cjs → SearchSort-CDuQPacI.cjs} +2 -2
  78. package/dist/{SearchSort-K0-ffUoD.cjs.map → SearchSort-CDuQPacI.cjs.map} +1 -1
  79. package/dist/{SearchSort-CObUt78n.mjs → SearchSort-CMUL0qt3.mjs} +2 -2
  80. package/dist/{SearchSort-CObUt78n.mjs.map → SearchSort-CMUL0qt3.mjs.map} +1 -1
  81. package/dist/{ShareablesScreen-aafzr3Vs.mjs → ShareablesScreen-B6Qs0xXn.mjs} +116 -116
  82. package/dist/ShareablesScreen-B6Qs0xXn.mjs.map +1 -0
  83. package/dist/{ShareablesScreen-COVW0ikb.cjs → ShareablesScreen-BAOW6RIK.cjs} +116 -116
  84. package/dist/ShareablesScreen-BAOW6RIK.cjs.map +1 -0
  85. package/dist/{ShareablesScreen-CNAem5rt.mjs → ShareablesScreen-C3K5ed-X.mjs} +2 -2
  86. package/dist/{ShareablesScreen-BZv1NXJV.cjs → ShareablesScreen-C3juoUMG.cjs} +2 -2
  87. package/dist/{ShopScreen-fcy9uJ3Z.cjs → ShopScreen-BjuLPVrk.cjs} +13 -13
  88. package/dist/ShopScreen-BjuLPVrk.cjs.map +1 -0
  89. package/dist/{ShopScreen-Bhn_bZ8O.mjs → ShopScreen-CtqHSaUW.mjs} +15 -15
  90. package/dist/{ShopScreen-CaEKFEGZ.cjs → ShopScreen-CwGh-q7J.cjs} +15 -15
  91. package/dist/{ShopScreen-dvruZcuz.mjs → ShopScreen-DNJ4Geoq.mjs} +13 -13
  92. package/dist/ShopScreen-DNJ4Geoq.mjs.map +1 -0
  93. package/dist/{ShopWidget-BZ48BUxp.cjs → ShopWidget-BAi2p8DP.cjs} +8 -8
  94. package/dist/ShopWidget-BAi2p8DP.cjs.map +1 -0
  95. package/dist/{ShopWidget-ZmhMoVmK.mjs → ShopWidget-D9-DhKP4.mjs} +8 -8
  96. package/dist/ShopWidget-D9-DhKP4.mjs.map +1 -0
  97. package/dist/{ShopWidget-DmlseAqM.cjs → ShopWidget-_T-ycRq1.cjs} +2 -2
  98. package/dist/{SubscriptionsScreen-BYQrZ2aR.mjs → SubscriptionsScreen-B55dK8Qb.mjs} +16 -16
  99. package/dist/{SubscriptionsScreen-CfxeuHVV.mjs → SubscriptionsScreen-CVKyyzbR.mjs} +23 -23
  100. package/dist/SubscriptionsScreen-CVKyyzbR.mjs.map +1 -0
  101. package/dist/{SubscriptionsScreen-Bupuf-0D.cjs → SubscriptionsScreen-Dz1PGO2z.cjs} +23 -23
  102. package/dist/SubscriptionsScreen-Dz1PGO2z.cjs.map +1 -0
  103. package/dist/{SubscriptionsScreen-BoSpOiOm.cjs → SubscriptionsScreen-TAXj2UXa.cjs} +16 -16
  104. package/dist/{TableWidget-Dyq8JXbd.cjs → TableWidget-C4F1IEKt.cjs} +1 -1
  105. package/dist/{TableWidget-fbsVsyqZ.mjs → TableWidget-CpHI9CGQ.mjs} +3 -3
  106. package/dist/TableWidget-CpHI9CGQ.mjs.map +1 -0
  107. package/dist/{TableWidget-wQkzw7Jg.cjs → TableWidget-RK0B52qT.cjs} +3 -3
  108. package/dist/TableWidget-RK0B52qT.cjs.map +1 -0
  109. package/dist/{ToDoWidget-BPh5ZLCT.cjs → ToDoWidget-B1uzfuI5.cjs} +2 -2
  110. package/dist/{ToDoWidget-1_JCx9X7.mjs → ToDoWidget-BaWksZpJ.mjs} +5 -5
  111. package/dist/{ToDoWidget-1_JCx9X7.mjs.map → ToDoWidget-BaWksZpJ.mjs.map} +1 -1
  112. package/dist/{ToDoWidget-1ZaXZTi4.cjs → ToDoWidget-C03kvBE-.cjs} +5 -5
  113. package/dist/{ToDoWidget-1ZaXZTi4.cjs.map → ToDoWidget-C03kvBE-.cjs.map} +1 -1
  114. package/dist/index.cjs +50 -50
  115. package/dist/index.cjs.map +1 -1
  116. package/dist/index.d.cts.map +1 -1
  117. package/dist/index.d.mts.map +1 -1
  118. package/dist/index.mjs +50 -50
  119. package/dist/index.mjs.map +1 -1
  120. package/dist/{task-composer-form-2z5Qk6US.cjs → task-composer-form-BEZGTBBZ.cjs} +2 -2
  121. package/dist/{task-composer-form-2z5Qk6US.cjs.map → task-composer-form-BEZGTBBZ.cjs.map} +1 -1
  122. package/dist/{task-composer-form-B3eR9kfb.mjs → task-composer-form-D_Pbl6qk.mjs} +2 -2
  123. package/dist/{task-composer-form-B3eR9kfb.mjs.map → task-composer-form-D_Pbl6qk.mjs.map} +1 -1
  124. package/package.json +15 -15
  125. package/dist/AddressAutocompleteInput-4OS-oYis.mjs.map +0 -1
  126. package/dist/AddressAutocompleteInput-CZITNL-n.cjs.map +0 -1
  127. package/dist/AppDownloadScreen-BYjlFEVq.cjs.map +0 -1
  128. package/dist/AppDownloadScreen-BkPXQ6HD.mjs.map +0 -1
  129. package/dist/ContactsScreen-6x_Y2HBg.cjs.map +0 -1
  130. package/dist/ContactsScreen-CU5_SYVK.mjs.map +0 -1
  131. package/dist/EmbedWidget-BjLKHqCD.cjs.map +0 -1
  132. package/dist/EmbedWidget-DwYcDOSr.mjs.map +0 -1
  133. package/dist/MySiteScreen-B5jblKuW.mjs.map +0 -1
  134. package/dist/MySiteScreen-BLI39L5d.cjs.map +0 -1
  135. package/dist/MySiteWidget-CAj-6hXM.cjs.map +0 -1
  136. package/dist/NestedWidget-D1iDgWh8.cjs.map +0 -1
  137. package/dist/NestedWidget-DPC6Y52o.mjs.map +0 -1
  138. package/dist/OrdersScreen-BX3Tp0W6.mjs.map +0 -1
  139. package/dist/OrdersScreen-C0-X_pGG.cjs.map +0 -1
  140. package/dist/RecentActivityWidget-CVQpo1jC.mjs.map +0 -1
  141. package/dist/RecentActivityWidget-DnGybdc3.cjs.map +0 -1
  142. package/dist/ShareablesScreen-COVW0ikb.cjs.map +0 -1
  143. package/dist/ShareablesScreen-aafzr3Vs.mjs.map +0 -1
  144. package/dist/ShopScreen-dvruZcuz.mjs.map +0 -1
  145. package/dist/ShopScreen-fcy9uJ3Z.cjs.map +0 -1
  146. package/dist/ShopWidget-BZ48BUxp.cjs.map +0 -1
  147. package/dist/ShopWidget-ZmhMoVmK.mjs.map +0 -1
  148. package/dist/SubscriptionsScreen-Bupuf-0D.cjs.map +0 -1
  149. package/dist/SubscriptionsScreen-CfxeuHVV.mjs.map +0 -1
  150. package/dist/TableWidget-fbsVsyqZ.mjs.map +0 -1
  151. package/dist/TableWidget-wQkzw7Jg.cjs.map +0 -1
@@ -2,7 +2,7 @@ import { A as playlists_items_remove, C as media_update, D as playlists_destroy,
2
2
  import { a as useActiveLocale, n as createDomainTranslations, r as useDomainDict, t as createStaticDictAdapter } from "./static-dict-adapter-DjCpubZc.mjs";
3
3
  import { t as createTranslationContext } from "./translation-api-context-factory-CJrVq_EB.mjs";
4
4
  import { $ as DialogDescription, B as DropdownMenuContent, C as SelectContent, Cn as AlertDialogTitle, E as SelectValue, F as FormItem, G as DropdownMenuSeparator, I as FormLabel, J as DropdownMenuSubTrigger, K as DropdownMenuSub, L as FormMessage, M as Form, N as FormControl, On as useZodForm, P as FormField, Q as DialogContent, R as Label, S as Select, Sn as AlertDialogHeader, St as Card, T as SelectTrigger, Tn as Content, V as DropdownMenuItem, X as Dialog, Y as DropdownMenuTrigger, _n as AlertDialogAction, a as Textarea, at as Popover, bn as AlertDialogDescription, c as TabsTrigger, ct as PopoverTrigger, d as Spinner, dn as BreadcrumbLink, f as fluidToast, fn as BreadcrumbList, gn as AlertDialog, h as Skeleton, hn as Badge, i as TooltipTrigger, it as DialogTitle, k as Input, kn as cn, kt as Checkbox, l as Switch, ln as Breadcrumb, m as Slider, mn as BreadcrumbSeparator, n as TooltipContent, nt as DialogOverlay, o as Tabs, pn as BreadcrumbPage, q as DropdownMenuSubContent, r as TooltipProvider, rt as DialogPortal, s as TabsList, st as PopoverContent, t as Tooltip, tt as DialogHeader, un as BreadcrumbItem, vn as AlertDialogCancel, w as SelectItem, wn as Button, wt as CardContent, x as Separator, xn as AlertDialogFooter, yn as AlertDialogContent, z as DropdownMenu } from "./src-CJw6JbdS.mjs";
5
- import { s as usePortalProductsApi, t as SearchSort } from "./SearchSort-CObUt78n.mjs";
5
+ import { s as usePortalProductsApi, t as SearchSort } from "./SearchSort-CMUL0qt3.mjs";
6
6
  import { n as ScreenHeaderBreadcrumbs, t as ScreenHeaderActions } from "./ScreenHeaderContext-Dn12BZyj.mjs";
7
7
  import { t as useStore } from "./use-store-fLSf5hUc.mjs";
8
8
  import { t as useAccount } from "./use-account-DtQOpv3N.mjs";
@@ -530,8 +530,8 @@ function ShareItemCard({ title, imageUrl, href, badge, isVideo = false, subtitle
530
530
  isVideo && /* @__PURE__ */ jsx("div", {
531
531
  className: "absolute inset-0 flex items-center justify-center",
532
532
  children: /* @__PURE__ */ jsx("div", {
533
- className: "bg-foreground/50 flex h-16 w-16 items-center justify-center rounded-full backdrop-blur-sm",
534
- children: /* @__PURE__ */ jsx(CirclePlay, { className: "text-background h-12 w-12" })
533
+ className: "bg-foreground/50 flex size-16 items-center justify-center rounded-full backdrop-blur-sm",
534
+ children: /* @__PURE__ */ jsx(CirclePlay, { className: "text-background size-12" })
535
535
  })
536
536
  }),
537
537
  badge && !isVideo && !badge.isLoading && /* @__PURE__ */ jsx(Badge, {
@@ -539,7 +539,7 @@ function ShareItemCard({ title, imageUrl, href, badge, isVideo = false, subtitle
539
539
  variant: "default",
540
540
  children: badge.text
541
541
  }),
542
- badge?.isLoading && !isVideo && /* @__PURE__ */ jsx("div", { className: "bg-muted-foreground absolute top-2 right-2 h-6 w-6 animate-pulse rounded-full" })
542
+ badge?.isLoading && !isVideo && /* @__PURE__ */ jsx("div", { className: "bg-muted-foreground absolute top-2 right-2 size-6 animate-pulse rounded-full" })
543
543
  ]
544
544
  }), /* @__PURE__ */ jsxs("div", {
545
545
  className: "px-2 pt-2 pb-4",
@@ -557,7 +557,7 @@ function ShareItemCard({ title, imageUrl, href, badge, isVideo = false, subtitle
557
557
  //#region ../../shareables/ui/src/components/MediaShare/products/ShareProductCard.tsx
558
558
  function getProductImageUrl(product) {
559
559
  if (Array.isArray(product.images) && product.images.length > 0) {
560
- const primaryImage = [...product.images].sort((a, b) => (a.position ?? 0) - (b.position ?? 0))[0];
560
+ const primaryImage = product.images.toSorted((a, b) => (a.position ?? 0) - (b.position ?? 0))[0];
561
561
  if (primaryImage?.image_url) return primaryImage.image_url;
562
562
  }
563
563
  return product.image_url ?? null;
@@ -603,7 +603,7 @@ function ShareableListLayout({ filters, children, isLoading, error, errorMessage
603
603
  className: "flex items-center gap-3",
604
604
  children: [
605
605
  /* @__PURE__ */ jsx(Skeleton, { className: "h-10 flex-1" }),
606
- loadingFilterShape === "search-view" && /* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-10" }),
606
+ loadingFilterShape === "search-view" && /* @__PURE__ */ jsx(Skeleton, { className: "size-10" }),
607
607
  loadingFilterShape === "search-action" && /* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-24" })
608
608
  ]
609
609
  }), /* @__PURE__ */ jsx("div", {
@@ -668,7 +668,7 @@ function ShareableListRow({ imageUrl, imageAlt, title, subtitle, onClick, leadin
668
668
  onClick,
669
669
  className: "flex min-w-0 flex-1 items-center gap-4 text-left",
670
670
  children: [/* @__PURE__ */ jsx("div", {
671
- className: "bg-muted h-12 w-12 shrink-0 overflow-hidden rounded-md",
671
+ className: "bg-muted size-12 shrink-0 overflow-hidden rounded-md",
672
672
  children: imageUrl ? /* @__PURE__ */ jsx("img", {
673
673
  src: imageUrl,
674
674
  alt: imageAlt ?? title,
@@ -703,12 +703,12 @@ function ViewModeToggle({ value, onChange }) {
703
703
  active: value === "list",
704
704
  label: t("common_list_view"),
705
705
  onClick: () => onChange("list"),
706
- children: /* @__PURE__ */ jsx(List, { className: "h-4 w-4" })
706
+ children: /* @__PURE__ */ jsx(List, { className: "size-4" })
707
707
  }), /* @__PURE__ */ jsx(ToggleButton, {
708
708
  active: value === "grid",
709
709
  label: t("common_grid_view"),
710
710
  onClick: () => onChange("grid"),
711
- children: /* @__PURE__ */ jsx(LayoutGrid, { className: "h-4 w-4" })
711
+ children: /* @__PURE__ */ jsx(LayoutGrid, { className: "size-4" })
712
712
  })]
713
713
  });
714
714
  }
@@ -862,7 +862,7 @@ function ProductsScreen({ countryCode, fetchProducts: fetchPortalProducts, onNav
862
862
  }, [data, usePortal]);
863
863
  const footer = /* @__PURE__ */ jsxs(Fragment$1, { children: [isFetchingNextPage && /* @__PURE__ */ jsx("div", {
864
864
  className: "flex justify-center py-4",
865
- children: /* @__PURE__ */ jsx("div", { className: "border-primary h-6 w-6 animate-spin rounded-full border-2 border-t-transparent" })
865
+ children: /* @__PURE__ */ jsx("div", { className: "border-primary size-6 animate-spin rounded-full border-2 border-t-transparent" })
866
866
  }), error && /* @__PURE__ */ jsx("p", {
867
867
  className: "bg-destructive/10 text-destructive rounded-lg px-3 py-2",
868
868
  children: t("products_load_error")
@@ -961,9 +961,9 @@ function SharePageImageDisplay({ displayImage, displayTitle, displayVideo, displ
961
961
  disabled: currentPage <= 1,
962
962
  variant: "outline",
963
963
  size: "sm",
964
- className: "h-8 w-8 p-0",
964
+ className: "size-8 p-0",
965
965
  "aria-label": "Previous page",
966
- children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
966
+ children: /* @__PURE__ */ jsx(ChevronLeft, { className: "size-4" })
967
967
  }),
968
968
  /* @__PURE__ */ jsx("div", {
969
969
  className: "flex items-center gap-2",
@@ -982,9 +982,9 @@ function SharePageImageDisplay({ displayImage, displayTitle, displayVideo, displ
982
982
  onClick: handleNextPage,
983
983
  variant: "outline",
984
984
  size: "sm",
985
- className: "h-8 w-8 p-0",
985
+ className: "size-8 p-0",
986
986
  "aria-label": "Next page",
987
- children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" })
987
+ children: /* @__PURE__ */ jsx(ChevronRight, { className: "size-4" })
988
988
  })
989
989
  ]
990
990
  })] }) : renderImage({
@@ -1000,20 +1000,20 @@ function SharePageImageDisplay({ displayImage, displayTitle, displayVideo, displ
1000
1000
  }),
1001
1001
  (isVideo || displayPdf) && /* @__PURE__ */ jsx(Button, {
1002
1002
  onClick: () => setIsPreviewOpen(true),
1003
- className: "absolute top-3 left-3 z-0 flex h-8 w-8 items-center justify-center rounded-full bg-white/90 text-gray-700 backdrop-blur-sm transition-colors hover:bg-white",
1003
+ className: "absolute top-3 left-3 z-0 flex size-8 items-center justify-center rounded-full bg-white/90 text-gray-700 backdrop-blur-sm transition-colors hover:bg-white",
1004
1004
  variant: "ghost",
1005
1005
  size: "sm",
1006
- children: /* @__PURE__ */ jsx(Maximize, { className: "h-4 w-4" })
1006
+ children: /* @__PURE__ */ jsx(Maximize, { className: "size-4" })
1007
1007
  }),
1008
1008
  isPreviewOpen && isVideo && /* @__PURE__ */ jsxs("div", {
1009
1009
  className: "fixed inset-0 z-9999 flex items-center justify-center bg-black",
1010
1010
  onClick: () => setIsPreviewOpen(false),
1011
1011
  children: [/* @__PURE__ */ jsx(Button, {
1012
1012
  onClick: () => setIsPreviewOpen(false),
1013
- className: "absolute top-4 right-4 z-10000 flex h-10 w-10 items-center justify-center rounded-full bg-white/90 text-gray-900 backdrop-blur-sm transition-colors hover:bg-white",
1013
+ className: "absolute top-4 right-4 z-10000 flex size-10 items-center justify-center rounded-full bg-white/90 text-gray-900 backdrop-blur-sm transition-colors hover:bg-white",
1014
1014
  variant: "ghost",
1015
1015
  size: "sm",
1016
- children: /* @__PURE__ */ jsx(X, { className: "h-5 w-5" })
1016
+ children: /* @__PURE__ */ jsx(X, { className: "size-5" })
1017
1017
  }), /* @__PURE__ */ jsx("video", {
1018
1018
  src: displayVideo || "",
1019
1019
  className: "max-h-screen max-w-full",
@@ -1030,10 +1030,10 @@ function SharePageImageDisplay({ displayImage, displayTitle, displayVideo, displ
1030
1030
  e.stopPropagation();
1031
1031
  setIsPreviewOpen(false);
1032
1032
  },
1033
- className: "absolute top-4 right-4 z-10000 flex h-10 w-10 items-center justify-center rounded-full bg-white/90 text-gray-900 backdrop-blur-sm transition-colors hover:bg-white",
1033
+ className: "absolute top-4 right-4 z-10000 flex size-10 items-center justify-center rounded-full bg-white/90 text-gray-900 backdrop-blur-sm transition-colors hover:bg-white",
1034
1034
  variant: "ghost",
1035
1035
  size: "sm",
1036
- children: /* @__PURE__ */ jsx(X, { className: "h-5 w-5" })
1036
+ children: /* @__PURE__ */ jsx(X, { className: "size-5" })
1037
1037
  }), /* @__PURE__ */ jsx("div", {
1038
1038
  className: "relative",
1039
1039
  onClick: (e) => e.stopPropagation(),
@@ -1247,21 +1247,21 @@ function ShareLinkSection({ shareLink, loading, displayTitle, isVideo, relateabl
1247
1247
  variant: "secondary",
1248
1248
  size: "sm",
1249
1249
  className: "border-foreground bg-background text-foreground hover:bg-muted h-8 rounded-md border px-3 text-xs font-semibold transition-colors",
1250
- children: [/* @__PURE__ */ jsx(Menu, { className: "mr-1 h-3 w-3" }), t("share_button")]
1250
+ children: [/* @__PURE__ */ jsx(Menu, { className: "mr-1 size-3" }), t("share_button")]
1251
1251
  })
1252
1252
  }), /* @__PURE__ */ jsx(DropdownMenuContent, {
1253
1253
  className: "w-48",
1254
1254
  children: socialPlatforms.map((platform) => /* @__PURE__ */ jsxs(DropdownMenuItem, {
1255
1255
  onClick: () => handlePlatformShare(platform.name),
1256
1256
  className: "flex cursor-pointer items-center gap-2",
1257
- children: [/* @__PURE__ */ jsx(platform.Icon, { className: "h-4 w-4" }), platform.name]
1257
+ children: [/* @__PURE__ */ jsx(platform.Icon, { className: "size-4" }), platform.name]
1258
1258
  }, platform.name))
1259
1259
  })] }) : socialPlatforms.map((platform) => /* @__PURE__ */ jsxs(Button, {
1260
1260
  onClick: () => handlePlatformShare(platform.name),
1261
1261
  variant: "secondary",
1262
1262
  size: "sm",
1263
1263
  className: "border-foreground bg-background text-foreground hover:bg-muted h-8 rounded-md border px-3 text-xs font-semibold transition-colors",
1264
- children: [/* @__PURE__ */ jsx(platform.Icon, { className: "mr-1.5 h-3 w-3" }), platform.name]
1264
+ children: [/* @__PURE__ */ jsx(platform.Icon, { className: "mr-1.5 size-3" }), platform.name]
1265
1265
  }, platform.name))]
1266
1266
  }), /* @__PURE__ */ jsxs("div", {
1267
1267
  className: "flex h-10 items-center gap-2 rounded-lg px-3",
@@ -1273,9 +1273,9 @@ function ShareLinkSection({ shareLink, loading, displayTitle, isVideo, relateabl
1273
1273
  onClick: handleCopyLink,
1274
1274
  variant: "ghost",
1275
1275
  size: "sm",
1276
- className: "h-6 w-6 shrink-0 p-0 hover:bg-transparent",
1276
+ className: "size-6 shrink-0 p-0 hover:bg-transparent",
1277
1277
  disabled: !shareLink,
1278
- children: /* @__PURE__ */ jsx(Copy, { className: "h-4 w-4 text-[#344054]" })
1278
+ children: /* @__PURE__ */ jsx(Copy, { className: "size-4 text-[#344054]" })
1279
1279
  })]
1280
1280
  })]
1281
1281
  })]
@@ -1328,7 +1328,7 @@ function AssetActions({ downloadUrl, displayTitle, shareLink, shareLinkLoading,
1328
1328
  children: [/* @__PURE__ */ jsx("span", {
1329
1329
  className: "text-sm font-medium",
1330
1330
  children: t("share_download_asset")
1331
- }), /* @__PURE__ */ jsx(Download, { className: "h-4 w-4" })]
1331
+ }), /* @__PURE__ */ jsx(Download, { className: "size-4" })]
1332
1332
  }), /* @__PURE__ */ jsx(ShareLinkSection, {
1333
1333
  shareLink,
1334
1334
  loading: shareLinkLoading,
@@ -1372,8 +1372,8 @@ const MediaCard = React.memo(function MediaCard({ mediaItem, onClick }) {
1372
1372
  }), /* @__PURE__ */ jsx("div", {
1373
1373
  className: "absolute top-2 right-2",
1374
1374
  children: /* @__PURE__ */ jsx("div", {
1375
- className: "bg-background/90 flex h-8 w-8 items-center justify-center rounded-full shadow-md backdrop-blur-sm",
1376
- children: /* @__PURE__ */ jsx(MediaIcon, { className: "h-4 w-4 text-gray-900" })
1375
+ className: "bg-background/90 flex size-8 items-center justify-center rounded-full shadow-md backdrop-blur-sm",
1376
+ children: /* @__PURE__ */ jsx(MediaIcon, { className: "size-4 text-gray-900" })
1377
1377
  })
1378
1378
  })]
1379
1379
  }), /* @__PURE__ */ jsx("h3", {
@@ -1453,7 +1453,7 @@ const NoAssetsState = React.memo(function NoAssetsState({ relateable_type }) {
1453
1453
  children: [
1454
1454
  /* @__PURE__ */ jsx("div", {
1455
1455
  className: "mb-2 text-gray-400",
1456
- children: /* @__PURE__ */ jsx(Image, { className: "mx-auto h-12 w-12" })
1456
+ children: /* @__PURE__ */ jsx(Image, { className: "mx-auto size-12" })
1457
1457
  }),
1458
1458
  /* @__PURE__ */ jsx("div", {
1459
1459
  className: "mb-1 text-sm text-gray-500",
@@ -1706,7 +1706,7 @@ function ProductDetailScreen({ productId, countryCode, fetchProduct: fetchPortal
1706
1706
  children: [
1707
1707
  /* @__PURE__ */ jsx("div", {
1708
1708
  className: "mb-2 text-gray-400",
1709
- children: /* @__PURE__ */ jsx(Image, { className: "mx-auto h-12 w-12" })
1709
+ children: /* @__PURE__ */ jsx(Image, { className: "mx-auto size-12" })
1710
1710
  }),
1711
1711
  /* @__PURE__ */ jsx("div", {
1712
1712
  className: "mb-1 text-sm text-gray-500",
@@ -1819,12 +1819,12 @@ function MediaRowActionsMenu({ onDelete }) {
1819
1819
  children: /* @__PURE__ */ jsx(Button, {
1820
1820
  variant: "ghost",
1821
1821
  size: "sm",
1822
- className: "bg-background/80 hover:bg-background h-8 w-8 p-0 backdrop-blur-sm",
1822
+ className: "bg-background/80 hover:bg-background size-8 p-0 backdrop-blur-sm",
1823
1823
  onClick: (e) => {
1824
1824
  e.stopPropagation();
1825
1825
  },
1826
1826
  "aria-label": t("media_actions_aria"),
1827
- children: /* @__PURE__ */ jsx(MoreVertical, { className: "h-4 w-4" })
1827
+ children: /* @__PURE__ */ jsx(MoreVertical, { className: "size-4" })
1828
1828
  })
1829
1829
  }), /* @__PURE__ */ jsx(DropdownMenuContent, {
1830
1830
  align: "end",
@@ -1832,7 +1832,7 @@ function MediaRowActionsMenu({ onDelete }) {
1832
1832
  children: /* @__PURE__ */ jsxs(DropdownMenuItem, {
1833
1833
  onClick: onDelete,
1834
1834
  className: "text-destructive focus:text-destructive",
1835
- children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 h-4 w-4" }), t("common_delete")]
1835
+ children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 size-4" }), t("common_delete")]
1836
1836
  })
1837
1837
  })] });
1838
1838
  }
@@ -1985,7 +1985,7 @@ function MediaListingScreen(_props) {
1985
1985
  });
1986
1986
  const footer = /* @__PURE__ */ jsxs(Fragment$1, { children: [isFetchingNextPage && /* @__PURE__ */ jsx("div", {
1987
1987
  className: "flex justify-center py-4",
1988
- children: /* @__PURE__ */ jsx("div", { className: "border-primary h-6 w-6 animate-spin rounded-full border-2 border-t-transparent" })
1988
+ children: /* @__PURE__ */ jsx("div", { className: "border-primary size-6 animate-spin rounded-full border-2 border-t-transparent" })
1989
1989
  }), error && /* @__PURE__ */ jsxs("p", {
1990
1990
  className: "bg-destructive/10 text-destructive rounded-lg px-3 py-2",
1991
1991
  children: [t("common_error_prefix"), error.message]
@@ -1994,7 +1994,7 @@ function MediaListingScreen(_props) {
1994
1994
  /* @__PURE__ */ jsx(ScreenHeaderActions, { children: readOnly ? null : /* @__PURE__ */ jsxs(Button, {
1995
1995
  onClick: () => navigate("media/new"),
1996
1996
  size: "sm",
1997
- children: [/* @__PURE__ */ jsx(Plus, { className: "mr-1 h-4 w-4" }), t("media_add_button")]
1997
+ children: [/* @__PURE__ */ jsx(Plus, { className: "mr-1 size-4" }), t("media_add_button")]
1998
1998
  }) }),
1999
1999
  /* @__PURE__ */ jsx(ScreenHeaderBreadcrumbs, { children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, {
2000
2000
  className: "text-lg",
@@ -2142,7 +2142,7 @@ function TaggedProductsList({ products, onProductClick }) {
2142
2142
  children: [
2143
2143
  /* @__PURE__ */ jsx("div", {
2144
2144
  className: "text-muted-foreground mb-2",
2145
- children: /* @__PURE__ */ jsx(ShoppingBag, { className: "mx-auto h-12 w-12" })
2145
+ children: /* @__PURE__ */ jsx(ShoppingBag, { className: "mx-auto size-12" })
2146
2146
  }),
2147
2147
  /* @__PURE__ */ jsx("div", {
2148
2148
  className: "text-foreground mb-1 text-sm",
@@ -2190,7 +2190,7 @@ function TaggedProductsList({ products, onProductClick }) {
2190
2190
  children: [/* @__PURE__ */ jsx("span", {
2191
2191
  className: "line-clamp-2",
2192
2192
  children: title
2193
- }), /* @__PURE__ */ jsx(ArrowUpRight, { className: "text-foreground mt-0.5 h-3 w-3 shrink-0 opacity-0 transition-opacity group-hover:opacity-100" })]
2193
+ }), /* @__PURE__ */ jsx(ArrowUpRight, { className: "text-foreground mt-0.5 size-3 shrink-0 opacity-0 transition-opacity group-hover:opacity-100" })]
2194
2194
  }), displayPrice && /* @__PURE__ */ jsx("div", {
2195
2195
  className: "text-foreground text-[15px] leading-[1.4] font-normal",
2196
2196
  children: displayPrice
@@ -2274,7 +2274,7 @@ function MediaDetailScreen({ mediaId, onNavigate, onBack }) {
2274
2274
  variant: "outline",
2275
2275
  onClick: () => navigate(`media/${mediaId}/edit`),
2276
2276
  className: "flex items-center gap-1.5",
2277
- children: [/* @__PURE__ */ jsx(Pencil, { className: "h-3.5 w-3.5" }), t("common_edit")]
2277
+ children: [/* @__PURE__ */ jsx(Pencil, { className: "size-3.5" }), t("common_edit")]
2278
2278
  }) }),
2279
2279
  /* @__PURE__ */ jsx(ShareableDetailLayout, {
2280
2280
  isLoading,
@@ -7853,28 +7853,28 @@ function RichTextEditor({ value, onChange, placeholder, className, editorClassNa
7853
7853
  onClick: () => editor?.chain().focus().setTextAlign("left").run(),
7854
7854
  className: cn(buttonBase, editor?.isActive({ textAlign: "left" }) ? buttonActive : buttonInactive),
7855
7855
  title: t("editor_align_left"),
7856
- children: /* @__PURE__ */ jsx(AlignLeft, { className: "h-3.5 w-3.5" })
7856
+ children: /* @__PURE__ */ jsx(AlignLeft, { className: "size-3.5" })
7857
7857
  }),
7858
7858
  /* @__PURE__ */ jsx("button", {
7859
7859
  type: "button",
7860
7860
  onClick: () => editor?.chain().focus().setTextAlign("center").run(),
7861
7861
  className: cn(buttonBase, editor?.isActive({ textAlign: "center" }) ? buttonActive : buttonInactive),
7862
7862
  title: t("editor_align_center"),
7863
- children: /* @__PURE__ */ jsx(AlignCenter, { className: "h-3.5 w-3.5" })
7863
+ children: /* @__PURE__ */ jsx(AlignCenter, { className: "size-3.5" })
7864
7864
  }),
7865
7865
  /* @__PURE__ */ jsx("button", {
7866
7866
  type: "button",
7867
7867
  onClick: () => editor?.chain().focus().setTextAlign("right").run(),
7868
7868
  className: cn(buttonBase, editor?.isActive({ textAlign: "right" }) ? buttonActive : buttonInactive),
7869
7869
  title: t("editor_align_right"),
7870
- children: /* @__PURE__ */ jsx(AlignRight, { className: "h-3.5 w-3.5" })
7870
+ children: /* @__PURE__ */ jsx(AlignRight, { className: "size-3.5" })
7871
7871
  }),
7872
7872
  /* @__PURE__ */ jsx("button", {
7873
7873
  type: "button",
7874
7874
  onClick: () => editor?.chain().focus().setTextAlign("justify").run(),
7875
7875
  className: cn(buttonBase, editor?.isActive({ textAlign: "justify" }) ? buttonActive : buttonInactive),
7876
7876
  title: t("editor_justify"),
7877
- children: /* @__PURE__ */ jsx(AlignJustify, { className: "h-3.5 w-3.5" })
7877
+ children: /* @__PURE__ */ jsx(AlignJustify, { className: "size-3.5" })
7878
7878
  }),
7879
7879
  separator,
7880
7880
  /* @__PURE__ */ jsx("button", {
@@ -7882,14 +7882,14 @@ function RichTextEditor({ value, onChange, placeholder, className, editorClassNa
7882
7882
  onClick: () => editor?.chain().focus().toggleBulletList().run(),
7883
7883
  className: cn(buttonBase, editor?.isActive("bulletList") ? buttonActive : buttonInactive),
7884
7884
  title: t("editor_bullet_list"),
7885
- children: /* @__PURE__ */ jsx(List, { className: "h-3.5 w-3.5" })
7885
+ children: /* @__PURE__ */ jsx(List, { className: "size-3.5" })
7886
7886
  }),
7887
7887
  /* @__PURE__ */ jsx("button", {
7888
7888
  type: "button",
7889
7889
  onClick: () => editor?.chain().focus().toggleOrderedList().run(),
7890
7890
  className: cn(buttonBase, editor?.isActive("orderedList") ? buttonActive : buttonInactive),
7891
7891
  title: t("editor_ordered_list"),
7892
- children: /* @__PURE__ */ jsx(ListOrdered, { className: "h-3.5 w-3.5" })
7892
+ children: /* @__PURE__ */ jsx(ListOrdered, { className: "size-3.5" })
7893
7893
  })
7894
7894
  ]
7895
7895
  }),
@@ -7940,12 +7940,12 @@ function ProductImage({ imageUrl, name }) {
7940
7940
  alt: name ?? t("common_product"),
7941
7941
  width: 40,
7942
7942
  height: 40,
7943
- className: "h-10 w-10 shrink-0 rounded object-cover",
7943
+ className: "size-10 shrink-0 rounded object-cover",
7944
7944
  onError: () => setErrored(true)
7945
7945
  });
7946
7946
  return /* @__PURE__ */ jsx("div", {
7947
- className: "flex h-10 w-10 shrink-0 items-center justify-center rounded bg-gray-100",
7948
- children: /* @__PURE__ */ jsx(Package, { className: "h-5 w-5 text-gray-400" })
7947
+ className: "flex size-10 shrink-0 items-center justify-center rounded bg-gray-100",
7948
+ children: /* @__PURE__ */ jsx(Package, { className: "size-5 text-gray-400" })
7949
7949
  });
7950
7950
  }
7951
7951
  function MediaProductTagging({ products, onAddProduct, onRemoveProduct, onSearchProducts, disabled = false, maxProducts = 100 }) {
@@ -8095,7 +8095,7 @@ function MediaProductTagging({ products, onAddProduct, onRemoveProduct, onSearch
8095
8095
  onClick: handleOpenModal,
8096
8096
  size: "sm",
8097
8097
  className: "gap-1.5",
8098
- children: [/* @__PURE__ */ jsx(Plus, { className: "h-3 w-3" }), t("media_add_product_button")]
8098
+ children: [/* @__PURE__ */ jsx(Plus, { className: "size-3" }), t("media_add_product_button")]
8099
8099
  })]
8100
8100
  }) : /* @__PURE__ */ jsxs("div", {
8101
8101
  className: "relative space-y-4",
@@ -8114,7 +8114,7 @@ function MediaProductTagging({ products, onAddProduct, onRemoveProduct, onSearch
8114
8114
  variant: "outline",
8115
8115
  size: "sm",
8116
8116
  className: "gap-1.5 text-xs",
8117
- children: [/* @__PURE__ */ jsx(Plus, { className: "h-3 w-3" }), t("media_add_products_button")]
8117
+ children: [/* @__PURE__ */ jsx(Plus, { className: "size-3" }), t("media_add_products_button")]
8118
8118
  })]
8119
8119
  }),
8120
8120
  /* @__PURE__ */ jsx("p", {
@@ -8255,22 +8255,22 @@ function CtaModal({ open, onOpenChange, ctaEnabled, ctaType, ctaButtonText, ctaU
8255
8255
  {
8256
8256
  value: "link",
8257
8257
  label: t("cta_type_page"),
8258
- icon: /* @__PURE__ */ jsx(Globe, { className: "h-3.5 w-3.5 text-gray-500" })
8258
+ icon: /* @__PURE__ */ jsx(Globe, { className: "size-3.5 text-gray-500" })
8259
8259
  },
8260
8260
  {
8261
8261
  value: "cart",
8262
8262
  label: t("cta_type_cart"),
8263
- icon: /* @__PURE__ */ jsx(ShoppingCart, { className: "h-3.5 w-3.5 text-gray-500" })
8263
+ icon: /* @__PURE__ */ jsx(ShoppingCart, { className: "size-3.5 text-gray-500" })
8264
8264
  },
8265
8265
  {
8266
8266
  value: "email",
8267
8267
  label: t("cta_type_email"),
8268
- icon: /* @__PURE__ */ jsx(Mail, { className: "h-3.5 w-3.5 text-gray-500" })
8268
+ icon: /* @__PURE__ */ jsx(Mail, { className: "size-3.5 text-gray-500" })
8269
8269
  },
8270
8270
  {
8271
8271
  value: "phone",
8272
8272
  label: t("cta_type_phone"),
8273
- icon: /* @__PURE__ */ jsx(Phone, { className: "h-3.5 w-3.5 text-gray-500" })
8273
+ icon: /* @__PURE__ */ jsx(Phone, { className: "size-3.5 text-gray-500" })
8274
8274
  }
8275
8275
  ], [t]);
8276
8276
  const [enabled, setEnabled] = useState(ctaEnabled);
@@ -8361,7 +8361,7 @@ function CtaModal({ open, onOpenChange, ctaEnabled, ctaType, ctaButtonText, ctaU
8361
8361
  children: [/* @__PURE__ */ jsx(Label, {
8362
8362
  className: fieldsDisabled ? "text-gray-400" : "text-gray-700",
8363
8363
  children: t("cta_button_label")
8364
- }), /* @__PURE__ */ jsx(HelpCircle, { className: "h-3.5 w-3.5 text-gray-400" })]
8364
+ }), /* @__PURE__ */ jsx(HelpCircle, { className: "size-3.5 text-gray-400" })]
8365
8365
  }), /* @__PURE__ */ jsx(Input, {
8366
8366
  value: buttonText,
8367
8367
  onChange: (e) => setButtonText(e.target.value),
@@ -8378,7 +8378,7 @@ function CtaModal({ open, onOpenChange, ctaEnabled, ctaType, ctaButtonText, ctaU
8378
8378
  children: [/* @__PURE__ */ jsx(Label, {
8379
8379
  className: fieldsDisabled ? "text-gray-400" : "text-gray-700",
8380
8380
  children: t("cta_url_label")
8381
- }), /* @__PURE__ */ jsx(HelpCircle, { className: "h-3.5 w-3.5 text-gray-400" })]
8381
+ }), /* @__PURE__ */ jsx(HelpCircle, { className: "size-3.5 text-gray-400" })]
8382
8382
  }), /* @__PURE__ */ jsx(Input, {
8383
8383
  value: url,
8384
8384
  onChange: (e) => setUrl(e.target.value),
@@ -8505,7 +8505,7 @@ function VideoThumbnailSelector({ videoUrl, thumbnailUrl, onThumbnailCaptured, o
8505
8505
  className: "flex items-start gap-4",
8506
8506
  children: [imgLoadError ? /* @__PURE__ */ jsx("div", {
8507
8507
  className: "bg-muted flex h-28 w-48 shrink-0 items-center justify-center rounded-md border",
8508
- children: /* @__PURE__ */ jsx(ImageIcon, { className: "text-muted-foreground h-8 w-8" })
8508
+ children: /* @__PURE__ */ jsx(ImageIcon, { className: "text-muted-foreground size-8" })
8509
8509
  }) : /* @__PURE__ */ jsx("img", {
8510
8510
  src: thumbnailUrl,
8511
8511
  alt: t("media_video_thumbnail_alt"),
@@ -8539,13 +8539,13 @@ function VideoThumbnailSelector({ videoUrl, thumbnailUrl, onThumbnailCaptured, o
8539
8539
  size: "sm",
8540
8540
  onClick: handleOpenDialog,
8541
8541
  className: "gap-1.5",
8542
- children: [/* @__PURE__ */ jsx(Camera, { className: "h-3.5 w-3.5" }), t("media_select_from_video_frame")]
8542
+ children: [/* @__PURE__ */ jsx(Camera, { className: "size-3.5" }), t("media_select_from_video_frame")]
8543
8543
  }), onThumbnailSelected && /* @__PURE__ */ jsxs(Button, {
8544
8544
  variant: "outline",
8545
8545
  size: "sm",
8546
8546
  onClick: onThumbnailSelected,
8547
8547
  className: "gap-1.5",
8548
- children: [/* @__PURE__ */ jsx(ImageIcon, { className: "h-3.5 w-3.5" }), t("media_select_new_image")]
8548
+ children: [/* @__PURE__ */ jsx(ImageIcon, { className: "size-3.5" }), t("media_select_new_image")]
8549
8549
  })]
8550
8550
  })
8551
8551
  ]
@@ -8554,7 +8554,7 @@ function VideoThumbnailSelector({ videoUrl, thumbnailUrl, onThumbnailCaptured, o
8554
8554
  className: "flex items-center gap-4",
8555
8555
  children: [/* @__PURE__ */ jsx("div", {
8556
8556
  className: "bg-muted flex h-28 w-48 shrink-0 items-center justify-center rounded-md border",
8557
- children: /* @__PURE__ */ jsx(Camera, { className: "text-muted-foreground h-8 w-8" })
8557
+ children: /* @__PURE__ */ jsx(Camera, { className: "text-muted-foreground size-8" })
8558
8558
  }), /* @__PURE__ */ jsxs("div", {
8559
8559
  className: "min-w-0 flex-1",
8560
8560
  children: [/* @__PURE__ */ jsx("p", {
@@ -8567,7 +8567,7 @@ function VideoThumbnailSelector({ videoUrl, thumbnailUrl, onThumbnailCaptured, o
8567
8567
  size: "sm",
8568
8568
  onClick: handleOpenDialog,
8569
8569
  className: "gap-1.5",
8570
- children: [/* @__PURE__ */ jsx(Camera, { className: "h-3.5 w-3.5" }), t("media_select_video_frame")]
8570
+ children: [/* @__PURE__ */ jsx(Camera, { className: "size-3.5" }), t("media_select_video_frame")]
8571
8571
  })
8572
8572
  })]
8573
8573
  })]
@@ -8599,7 +8599,7 @@ function VideoThumbnailSelector({ videoUrl, thumbnailUrl, onThumbnailCaptured, o
8599
8599
  onClick: handlePlayPause,
8600
8600
  disabled: !isMetadataLoaded,
8601
8601
  className: "absolute inset-0 flex items-center justify-center bg-black/20 opacity-0 transition-opacity hover:opacity-100",
8602
- children: isPlaying ? /* @__PURE__ */ jsx(Pause, { className: "h-12 w-12 text-white" }) : /* @__PURE__ */ jsx(Play, { className: "h-12 w-12 text-white" })
8602
+ children: isPlaying ? /* @__PURE__ */ jsx(Pause, { className: "size-12 text-white" }) : /* @__PURE__ */ jsx(Play, { className: "size-12 text-white" })
8603
8603
  })]
8604
8604
  }),
8605
8605
  /* @__PURE__ */ jsxs("div", {
@@ -8629,7 +8629,7 @@ function VideoThumbnailSelector({ videoUrl, thumbnailUrl, onThumbnailCaptured, o
8629
8629
  onClick: handleCapture,
8630
8630
  disabled: !isMetadataLoaded || capturing,
8631
8631
  className: "w-full gap-2",
8632
- children: [capturing ? /* @__PURE__ */ jsx(Spinner, { className: "size-4" }) : /* @__PURE__ */ jsx(Camera, { className: "h-4 w-4" }), t("media_capture_frame")]
8632
+ children: [capturing ? /* @__PURE__ */ jsx(Spinner, { className: "size-4" }) : /* @__PURE__ */ jsx(Camera, { className: "size-4" }), t("media_capture_frame")]
8633
8633
  })
8634
8634
  ]
8635
8635
  }),
@@ -8683,7 +8683,7 @@ function ThumbnailWithMeta({ src, onReplace }) {
8683
8683
  className: "flex items-start gap-4",
8684
8684
  children: [loadError ? /* @__PURE__ */ jsx("div", {
8685
8685
  className: "bg-muted flex h-28 w-48 shrink-0 items-center justify-center rounded-md border",
8686
- children: /* @__PURE__ */ jsx(ImageIcon, { className: "text-muted-foreground h-8 w-8" })
8686
+ children: /* @__PURE__ */ jsx(ImageIcon, { className: "text-muted-foreground size-8" })
8687
8687
  }) : /* @__PURE__ */ jsx("img", {
8688
8688
  src,
8689
8689
  alt: t("media_thumbnail_alt"),
@@ -8717,7 +8717,7 @@ function ThumbnailWithMeta({ src, onReplace }) {
8717
8717
  size: "sm",
8718
8718
  onClick: onReplace,
8719
8719
  className: "gap-1.5",
8720
- children: [/* @__PURE__ */ jsx(ImageIcon, { className: "h-3.5 w-3.5" }), t("media_select_new_image")]
8720
+ children: [/* @__PURE__ */ jsx(ImageIcon, { className: "size-3.5" }), t("media_select_new_image")]
8721
8721
  })
8722
8722
  })
8723
8723
  ]
@@ -8760,7 +8760,7 @@ function CurrentMediaPreview({ mediaItem, pendingFileUrl, pendingKind }) {
8760
8760
  });
8761
8761
  return /* @__PURE__ */ jsxs("div", {
8762
8762
  className: "border-border text-muted-foreground flex h-40 w-full flex-col items-center justify-center gap-2 rounded-lg border",
8763
- children: [/* @__PURE__ */ jsx(ImageIcon, { className: "h-6 w-6" }), /* @__PURE__ */ jsx("span", {
8763
+ children: [/* @__PURE__ */ jsx(ImageIcon, { className: "size-6" }), /* @__PURE__ */ jsx("span", {
8764
8764
  className: "text-sm",
8765
8765
  children: t("media_no_media_available")
8766
8766
  })]
@@ -8956,15 +8956,15 @@ function MediaEditScreen({ mediaId, onNavigate: _onNavigate, onBack }) {
8956
8956
  children: /* @__PURE__ */ jsx(Button, {
8957
8957
  variant: "outline",
8958
8958
  size: "sm",
8959
- className: "h-8 w-8 p-0",
8960
- children: /* @__PURE__ */ jsx(MoreVertical, { className: "h-4 w-4" })
8959
+ className: "size-8 p-0",
8960
+ children: /* @__PURE__ */ jsx(MoreVertical, { className: "size-4" })
8961
8961
  })
8962
8962
  }), /* @__PURE__ */ jsx(DropdownMenuContent, {
8963
8963
  align: "end",
8964
8964
  children: /* @__PURE__ */ jsxs(DropdownMenuItem, {
8965
8965
  onClick: () => setIsDeleteOpen(true),
8966
8966
  className: "text-destructive focus:text-destructive",
8967
- children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 h-4 w-4" }), t("common_delete")]
8967
+ children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 size-4" }), t("common_delete")]
8968
8968
  })
8969
8969
  })] }), /* @__PURE__ */ jsx(Button, {
8970
8970
  onClick: handleSave,
@@ -9068,7 +9068,7 @@ function MediaEditScreen({ mediaId, onNavigate: _onNavigate, onBack }) {
9068
9068
  className: "flex items-center gap-4",
9069
9069
  children: [/* @__PURE__ */ jsx("div", {
9070
9070
  className: "bg-muted flex h-28 w-48 shrink-0 items-center justify-center rounded-md border",
9071
- children: /* @__PURE__ */ jsx(ImageIcon, { className: "text-muted-foreground h-8 w-8" })
9071
+ children: /* @__PURE__ */ jsx(ImageIcon, { className: "text-muted-foreground size-8" })
9072
9072
  }), /* @__PURE__ */ jsxs("div", {
9073
9073
  className: "min-w-0 flex-1",
9074
9074
  children: [/* @__PURE__ */ jsx("p", {
@@ -9079,7 +9079,7 @@ function MediaEditScreen({ mediaId, onNavigate: _onNavigate, onBack }) {
9079
9079
  size: "sm",
9080
9080
  onClick: () => setIsThumbnailPickerOpen(true),
9081
9081
  className: "gap-1.5",
9082
- children: [/* @__PURE__ */ jsx(ImageIcon, { className: "h-3.5 w-3.5" }), t("media_select_new_image")]
9082
+ children: [/* @__PURE__ */ jsx(ImageIcon, { className: "size-3.5" }), t("media_select_new_image")]
9083
9083
  })]
9084
9084
  })]
9085
9085
  })]
@@ -9201,10 +9201,10 @@ function MediaEditScreen({ mediaId, onNavigate: _onNavigate, onBack }) {
9201
9201
  children: [seoThumbnailUrl ? /* @__PURE__ */ jsx("img", {
9202
9202
  src: seoThumbnailUrl,
9203
9203
  alt: "SEO preview",
9204
- className: "h-8 w-8 shrink-0 rounded object-cover"
9204
+ className: "size-8 shrink-0 rounded object-cover"
9205
9205
  }) : /* @__PURE__ */ jsx("div", {
9206
- className: "bg-muted flex h-8 w-8 items-center justify-center rounded",
9207
- children: /* @__PURE__ */ jsx(ImageIcon, { className: "text-muted-foreground h-4 w-4" })
9206
+ className: "bg-muted flex size-8 items-center justify-center rounded",
9207
+ children: /* @__PURE__ */ jsx(ImageIcon, { className: "text-muted-foreground size-4" })
9208
9208
  }), /* @__PURE__ */ jsxs("div", {
9209
9209
  className: "min-w-0 flex-1",
9210
9210
  children: [/* @__PURE__ */ jsx("p", {
@@ -9377,7 +9377,7 @@ function FilePreview({ result, mediaType }) {
9377
9377
  className: "absolute inset-0 h-full w-full object-cover"
9378
9378
  }), Icon && /* @__PURE__ */ jsxs("div", {
9379
9379
  className: "absolute bottom-2 left-2 flex items-center gap-1.5 rounded-md bg-black/60 px-2 py-1 text-white",
9380
- children: [/* @__PURE__ */ jsx(Icon, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ jsx("span", {
9380
+ children: [/* @__PURE__ */ jsx(Icon, { className: "size-3.5" }), /* @__PURE__ */ jsx("span", {
9381
9381
  className: "text-xs font-medium",
9382
9382
  children: mediaType === "video" ? t("media_type_video") : t("media_type_pdf")
9383
9383
  })]
@@ -9386,7 +9386,7 @@ function FilePreview({ result, mediaType }) {
9386
9386
  }
9387
9387
  return /* @__PURE__ */ jsxs("div", {
9388
9388
  className: "flex items-center gap-3 rounded-lg border p-4",
9389
- children: [/* @__PURE__ */ jsx(mediaType === "video" ? Video : FileText, { className: "text-muted-foreground h-8 w-8 shrink-0" }), /* @__PURE__ */ jsxs("div", {
9389
+ children: [/* @__PURE__ */ jsx(mediaType === "video" ? Video : FileText, { className: "text-muted-foreground size-8 shrink-0" }), /* @__PURE__ */ jsxs("div", {
9390
9390
  className: "min-w-0 flex-1",
9391
9391
  children: [/* @__PURE__ */ jsx("p", {
9392
9392
  className: "text-foreground truncate text-sm font-medium",
@@ -9590,7 +9590,7 @@ function MediaCreateScreen({ onNavigate, onBack }) {
9590
9590
  onClick: () => setIsPickerOpen(true),
9591
9591
  disabled: !filePickerApi,
9592
9592
  className: "border-border text-muted-foreground hover:bg-muted/30 flex h-40 w-full flex-col items-center justify-center gap-2 rounded-lg border border-dashed transition-colors disabled:cursor-not-allowed disabled:opacity-50",
9593
- children: [/* @__PURE__ */ jsx(Upload, { className: "h-6 w-6" }), /* @__PURE__ */ jsx("span", {
9593
+ children: [/* @__PURE__ */ jsx(Upload, { className: "size-6" }), /* @__PURE__ */ jsx("span", {
9594
9594
  className: "text-sm",
9595
9595
  children: t("media_upload_placeholder")
9596
9596
  })]
@@ -9653,8 +9653,8 @@ function MediaCreateScreen({ onNavigate, onBack }) {
9653
9653
  children: [/* @__PURE__ */ jsxs("div", {
9654
9654
  className: "mb-2 flex items-center gap-2",
9655
9655
  children: [/* @__PURE__ */ jsx("div", {
9656
- className: "bg-muted flex h-8 w-8 items-center justify-center rounded",
9657
- children: /* @__PURE__ */ jsx(ImageIcon, { className: "text-muted-foreground h-4 w-4" })
9656
+ className: "bg-muted flex size-8 items-center justify-center rounded",
9657
+ children: /* @__PURE__ */ jsx(ImageIcon, { className: "text-muted-foreground size-4" })
9658
9658
  }), /* @__PURE__ */ jsxs("div", {
9659
9659
  className: "min-w-0 flex-1",
9660
9660
  children: [/* @__PURE__ */ jsx("p", {
@@ -9809,9 +9809,9 @@ function PlaylistCard({ title, imageUrl, href, itemCount, isFavorited = false, i
9809
9809
  children: /* @__PURE__ */ jsx("button", {
9810
9810
  type: "button",
9811
9811
  onClick: (e) => e.stopPropagation(),
9812
- className: "bg-background/90 hover:bg-background flex h-8 w-8 items-center justify-center rounded-lg shadow-md backdrop-blur-sm transition-all",
9812
+ className: "bg-background/90 hover:bg-background flex size-8 items-center justify-center rounded-lg shadow-md backdrop-blur-sm transition-all",
9813
9813
  "aria-label": t("common_more_options_aria"),
9814
- children: /* @__PURE__ */ jsx(MoreVertical, { className: "text-foreground h-4 w-4" })
9814
+ children: /* @__PURE__ */ jsx(MoreVertical, { className: "text-foreground size-4" })
9815
9815
  })
9816
9816
  }), /* @__PURE__ */ jsxs(DropdownMenuContent, {
9817
9817
  align: "end",
@@ -9823,17 +9823,17 @@ function PlaylistCard({ title, imageUrl, href, itemCount, isFavorited = false, i
9823
9823
  }),
9824
9824
  canEdit && onEdit && /* @__PURE__ */ jsxs(DropdownMenuItem, {
9825
9825
  onClick: onEdit,
9826
- children: [/* @__PURE__ */ jsx(Pencil, { className: "mr-2 h-4 w-4" }), t("common_edit")]
9826
+ children: [/* @__PURE__ */ jsx(Pencil, { className: "mr-2 size-4" }), t("common_edit")]
9827
9827
  }),
9828
9828
  canEdit && onDelete && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(DropdownMenuSeparator, {}), /* @__PURE__ */ jsxs(DropdownMenuItem, {
9829
9829
  variant: "destructive",
9830
9830
  onClick: onDelete,
9831
- children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 h-4 w-4" }), t("common_delete")]
9831
+ children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 size-4" }), t("common_delete")]
9832
9832
  })] })
9833
9833
  ]
9834
9834
  })] })
9835
9835
  }),
9836
- onToggleFavorite && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute -bottom-8 -left-8 z-9 h-24 w-24 rounded-full bg-[#00000020] blur-xl" }),
9836
+ onToggleFavorite && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute -bottom-8 -left-8 z-9 size-24 rounded-full bg-[#00000020] blur-xl" }),
9837
9837
  onToggleFavorite && /* @__PURE__ */ jsx("button", {
9838
9838
  type: "button",
9839
9839
  className: "absolute bottom-3 left-3 z-10 cursor-pointer transition-transform hover:scale-110",
@@ -9895,7 +9895,7 @@ function BulkSelectionBar({ selectedCount, totalCount, onSelectAll, onClearSelec
9895
9895
  onClick: onClearSelection,
9896
9896
  className: "text-background hover:text-background/80",
9897
9897
  "aria-label": t("common_cancel_selection_aria"),
9898
- children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
9898
+ children: /* @__PURE__ */ jsx(X, { className: "size-4" })
9899
9899
  })]
9900
9900
  })]
9901
9901
  });
@@ -10109,7 +10109,7 @@ function PlaylistsListingScreen(_props) {
10109
10109
  });
10110
10110
  const footer = /* @__PURE__ */ jsxs(Fragment$1, { children: [isFetchingNextPage && /* @__PURE__ */ jsx("div", {
10111
10111
  className: "flex justify-center py-4",
10112
- children: /* @__PURE__ */ jsx("div", { className: "border-primary h-6 w-6 animate-spin rounded-full border-2 border-t-transparent" })
10112
+ children: /* @__PURE__ */ jsx("div", { className: "border-primary size-6 animate-spin rounded-full border-2 border-t-transparent" })
10113
10113
  }), error && /* @__PURE__ */ jsxs("p", {
10114
10114
  className: "bg-destructive/10 text-destructive rounded-lg px-3 py-2",
10115
10115
  children: ["Error: ", error.message]
@@ -10119,7 +10119,7 @@ function PlaylistsListingScreen(_props) {
10119
10119
  /* @__PURE__ */ jsx(ScreenHeaderActions, { children: readOnly ? null : /* @__PURE__ */ jsxs(Button, {
10120
10120
  onClick: () => navigate("playlists/new"),
10121
10121
  size: "sm",
10122
- children: [/* @__PURE__ */ jsx(Plus, { className: "mr-1 h-4 w-4" }), t("playlist_create_button")]
10122
+ children: [/* @__PURE__ */ jsx(Plus, { className: "mr-1 size-4" }), t("playlist_create_button")]
10123
10123
  }) }),
10124
10124
  /* @__PURE__ */ jsx(ScreenHeaderBreadcrumbs, { children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, {
10125
10125
  className: "text-lg",
@@ -10201,26 +10201,26 @@ function PlaylistsListingScreen(_props) {
10201
10201
  type: "button",
10202
10202
  onClick: () => handleFavorite(playlist.id),
10203
10203
  "aria-label": playlist.is_favorited ? t("common_unfavorite") : t("common_favorite"),
10204
- className: "hover:bg-muted-foreground/10 flex h-8 w-8 items-center justify-center rounded-md transition-colors",
10204
+ className: "hover:bg-muted-foreground/10 flex size-8 items-center justify-center rounded-md transition-colors",
10205
10205
  children: /* @__PURE__ */ jsx(Heart, { className: cn("h-4 w-4 transition-colors", playlist.is_favorited ? "fill-destructive text-destructive" : "text-muted-foreground") })
10206
10206
  }), canEdit && /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
10207
10207
  asChild: true,
10208
10208
  children: /* @__PURE__ */ jsx(Button, {
10209
10209
  variant: "ghost",
10210
10210
  size: "sm",
10211
- className: "h-8 w-8 p-0",
10211
+ className: "size-8 p-0",
10212
10212
  "aria-label": t("playlist_actions_aria"),
10213
- children: /* @__PURE__ */ jsx(MoreVertical, { className: "h-4 w-4" })
10213
+ children: /* @__PURE__ */ jsx(MoreVertical, { className: "size-4" })
10214
10214
  })
10215
10215
  }), /* @__PURE__ */ jsxs(DropdownMenuContent, {
10216
10216
  align: "end",
10217
10217
  children: [/* @__PURE__ */ jsxs(DropdownMenuItem, {
10218
10218
  onClick: () => handleEdit(playlist.id),
10219
- children: [/* @__PURE__ */ jsx(Pencil, { className: "mr-2 h-4 w-4" }), t("common_edit")]
10219
+ children: [/* @__PURE__ */ jsx(Pencil, { className: "mr-2 size-4" }), t("common_edit")]
10220
10220
  }), onDeletePlaylist && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(DropdownMenuSeparator, {}), /* @__PURE__ */ jsxs(DropdownMenuItem, {
10221
10221
  variant: "destructive",
10222
10222
  onClick: () => setPendingDeleteId(playlist.id),
10223
- children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 h-4 w-4" }), t("common_delete")]
10223
+ children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 size-4" }), t("common_delete")]
10224
10224
  })] })]
10225
10225
  })] })] })
10226
10226
  }, playlist.id);
@@ -10298,7 +10298,7 @@ function PlaylistItemsList({ items, onSelectItem, selectedItemIndex = 0, onNavig
10298
10298
  children: [
10299
10299
  /* @__PURE__ */ jsx("div", {
10300
10300
  className: "mb-2 text-gray-400",
10301
- children: /* @__PURE__ */ jsx(ListMusic, { className: "mx-auto h-12 w-12" })
10301
+ children: /* @__PURE__ */ jsx(ListMusic, { className: "mx-auto size-12" })
10302
10302
  }),
10303
10303
  /* @__PURE__ */ jsx("div", {
10304
10304
  className: "mb-1 text-sm text-gray-500",
@@ -10347,8 +10347,8 @@ function PlaylistItemsList({ items, onSelectItem, selectedItemIndex = 0, onNavig
10347
10347
  }), isVideo && /* @__PURE__ */ jsx("div", {
10348
10348
  className: "absolute inset-0 flex items-center justify-center",
10349
10349
  children: /* @__PURE__ */ jsx("div", {
10350
- className: "bg-background/90 flex h-10 w-10 items-center justify-center rounded-full shadow-md",
10351
- children: /* @__PURE__ */ jsx(Play, { className: "text-foreground ml-0.5 h-4 w-4" })
10350
+ className: "bg-background/90 flex size-10 items-center justify-center rounded-full shadow-md",
10351
+ children: /* @__PURE__ */ jsx(Play, { className: "text-foreground ml-0.5 size-4" })
10352
10352
  })
10353
10353
  })]
10354
10354
  }), /* @__PURE__ */ jsxs("div", {
@@ -10360,7 +10360,7 @@ function PlaylistItemsList({ items, onSelectItem, selectedItemIndex = 0, onNavig
10360
10360
  children: [/* @__PURE__ */ jsx("span", {
10361
10361
  className: "line-clamp-2",
10362
10362
  children: title
10363
- }), /* @__PURE__ */ jsx(ArrowUpRight, { className: "text-foreground mt-0.5 h-3 w-3 shrink-0 opacity-0 transition-opacity group-hover:opacity-100" })]
10363
+ }), /* @__PURE__ */ jsx(ArrowUpRight, { className: "text-foreground mt-0.5 size-3 shrink-0 opacity-0 transition-opacity group-hover:opacity-100" })]
10364
10364
  }) : /* @__PURE__ */ jsx("div", {
10365
10365
  className: "text-foreground text-[15px] leading-[1.4] font-semibold",
10366
10366
  children: /* @__PURE__ */ jsx("span", {
@@ -10438,7 +10438,7 @@ function PlaylistDetailScreen({ playlistId, onNavigate }) {
10438
10438
  variant: "outline",
10439
10439
  size: "sm",
10440
10440
  onClick: () => navigate(`playlists/${playlistId}/edit`),
10441
- children: [/* @__PURE__ */ jsx(Pencil, { className: "mr-1 h-3.5 w-3.5" }), t("common_edit")]
10441
+ children: [/* @__PURE__ */ jsx(Pencil, { className: "mr-1 size-3.5" }), t("common_edit")]
10442
10442
  })
10443
10443
  }) : null }),
10444
10444
  /* @__PURE__ */ jsx(ScreenHeaderBreadcrumbs, { children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsxs(BreadcrumbList, {
@@ -10708,17 +10708,17 @@ function PlaylistFormHeader({ playlistId, isEditMode, onSubmit, isSaving }) {
10708
10708
  children: /* @__PURE__ */ jsx(Button, {
10709
10709
  variant: "outline",
10710
10710
  size: "sm",
10711
- className: "h-8 w-8 p-0",
10711
+ className: "size-8 p-0",
10712
10712
  "aria-label": t("playlist_actions_aria"),
10713
10713
  disabled: isMutating,
10714
- children: /* @__PURE__ */ jsx(MoreVertical, { className: "h-4 w-4" })
10714
+ children: /* @__PURE__ */ jsx(MoreVertical, { className: "size-4" })
10715
10715
  })
10716
10716
  }), /* @__PURE__ */ jsx(DropdownMenuContent, {
10717
10717
  align: "end",
10718
10718
  children: /* @__PURE__ */ jsxs(DropdownMenuItem, {
10719
10719
  onClick: () => setIsDeleteOpen(true),
10720
10720
  className: "text-destructive focus:text-destructive",
10721
- children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 h-4 w-4" }), t("common_delete")]
10721
+ children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 size-4" }), t("common_delete")]
10722
10722
  })
10723
10723
  })] }), /* @__PURE__ */ jsx(Button, {
10724
10724
  onClick: () => {
@@ -10874,11 +10874,11 @@ function getTypeDisplay(relateableType, relateableKind, t) {
10874
10874
  }
10875
10875
  function getItemIcon(relateableType) {
10876
10876
  switch (relateableType) {
10877
- case "Medium": return /* @__PURE__ */ jsx(Image, { className: "text-muted-foreground h-4 w-4" });
10878
- case "Page": return /* @__PURE__ */ jsx(FileText, { className: "text-muted-foreground h-4 w-4" });
10879
- case "Product": return /* @__PURE__ */ jsx(ShoppingBag, { className: "text-muted-foreground h-4 w-4" });
10880
- case "EnrollmentPack": return /* @__PURE__ */ jsx(Package, { className: "text-muted-foreground h-4 w-4" });
10881
- default: return /* @__PURE__ */ jsx(Image, { className: "text-muted-foreground h-4 w-4" });
10877
+ case "Medium": return /* @__PURE__ */ jsx(Image, { className: "text-muted-foreground size-4" });
10878
+ case "Page": return /* @__PURE__ */ jsx(FileText, { className: "text-muted-foreground size-4" });
10879
+ case "Product": return /* @__PURE__ */ jsx(ShoppingBag, { className: "text-muted-foreground size-4" });
10880
+ case "EnrollmentPack": return /* @__PURE__ */ jsx(Package, { className: "text-muted-foreground size-4" });
10881
+ default: return /* @__PURE__ */ jsx(Image, { className: "text-muted-foreground size-4" });
10882
10882
  }
10883
10883
  }
10884
10884
  function SortableTable({ items, setItems, onDeleteItem, isDeletePending, enableReordering = true }) {
@@ -10946,7 +10946,7 @@ function SortableTable({ items, setItems, onDeleteItem, isDeletePending, enableR
10946
10946
  children: /* @__PURE__ */ jsxs("div", {
10947
10947
  className: "flex min-w-0 items-center gap-3",
10948
10948
  children: [/* @__PURE__ */ jsx("div", {
10949
- className: "bg-muted flex h-8 w-8 shrink-0 items-center justify-center overflow-hidden rounded",
10949
+ className: "bg-muted flex size-8 shrink-0 items-center justify-center overflow-hidden rounded",
10950
10950
  children: row.image_url ? /* @__PURE__ */ jsx("img", {
10951
10951
  src: String(row.image_url),
10952
10952
  alt: String(row.title),
@@ -10965,7 +10965,7 @@ function SortableTable({ items, setItems, onDeleteItem, isDeletePending, enableR
10965
10965
  className: "px-6 py-4 whitespace-nowrap",
10966
10966
  children: /* @__PURE__ */ jsx("div", {
10967
10967
  className: "bg-muted text-foreground inline-flex items-center gap-1 rounded-full px-2 py-1 text-xs",
10968
- children: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(typeBadgeIcon(row.relateable_type || "", row.kind || ""), { className: "h-3 w-3 shrink-0" }), getTypeDisplay(row.relateable_type || "", row.kind || "", t)] })
10968
+ children: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(typeBadgeIcon(row.relateable_type || "", row.kind || ""), { className: "size-3 shrink-0" }), getTypeDisplay(row.relateable_type || "", row.kind || "", t)] })
10969
10969
  })
10970
10970
  }),
10971
10971
  /* @__PURE__ */ jsx("td", {
@@ -10975,9 +10975,9 @@ function SortableTable({ items, setItems, onDeleteItem, isDeletePending, enableR
10975
10975
  children: /* @__PURE__ */ jsx(Button, {
10976
10976
  variant: "ghost",
10977
10977
  size: "sm",
10978
- className: "flex h-8 w-8 items-center justify-center p-0",
10978
+ className: "flex size-8 items-center justify-center p-0",
10979
10979
  disabled: isDeletePending,
10980
- children: /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" })
10980
+ children: /* @__PURE__ */ jsx(MoreHorizontal, { className: "size-4" })
10981
10981
  })
10982
10982
  }), /* @__PURE__ */ jsx(DropdownMenuContent, {
10983
10983
  align: "end",
@@ -10986,7 +10986,7 @@ function SortableTable({ items, setItems, onDeleteItem, isDeletePending, enableR
10986
10986
  onDeleteItem(typeof row.id === "number" ? row.id : parseInt(String(row.id).replace("item-", "")));
10987
10987
  },
10988
10988
  variant: "destructive",
10989
- children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 h-4 w-4" }), t("playlist_delete_item")]
10989
+ children: [/* @__PURE__ */ jsx(Trash2, { className: "mr-2 size-4" }), t("playlist_delete_item")]
10990
10990
  })
10991
10991
  })] })
10992
10992
  })
@@ -11341,7 +11341,7 @@ function PlaylistItemsSubsection({ section, items, onAdd, onReorder, onDeleteIte
11341
11341
  size: "sm",
11342
11342
  className: "flex min-w-25 items-center gap-2",
11343
11343
  onClick: onAdd,
11344
- children: [/* @__PURE__ */ jsx(Plus, { className: "h-4 w-4" }), t("playlist_add_item_button")]
11344
+ children: [/* @__PURE__ */ jsx(Plus, { className: "size-4" }), t("playlist_add_item_button")]
11345
11345
  })
11346
11346
  })]
11347
11347
  }), /* @__PURE__ */ jsx(SortableTable, {
@@ -11371,7 +11371,7 @@ function getImageFromRelateable(item) {
11371
11371
  function getFirstOrderedContentItem(items) {
11372
11372
  const content = items.filter((item) => item.relateable_type && PLAYLIST_PREVIEW_CONTENT_TYPES.has(item.relateable_type));
11373
11373
  if (content.length === 0) return void 0;
11374
- return [...content].sort((a, b) => (a.order ?? Number.POSITIVE_INFINITY) - (b.order ?? Number.POSITIVE_INFINITY))[0];
11374
+ return content.toSorted((a, b) => (a.order ?? Number.POSITIVE_INFINITY) - (b.order ?? Number.POSITIVE_INFINITY))[0];
11375
11375
  }
11376
11376
  function stripHtml(html) {
11377
11377
  if (!html) return "";
@@ -11725,7 +11725,7 @@ function FilesListingScreen({ onNavigate }) {
11725
11725
  });
11726
11726
  const footer = /* @__PURE__ */ jsxs(Fragment$1, { children: [isFetchingNextPage && /* @__PURE__ */ jsx("div", {
11727
11727
  className: "flex justify-center py-4",
11728
- children: /* @__PURE__ */ jsx("div", { className: "border-primary h-6 w-6 animate-spin rounded-full border-2 border-t-transparent" })
11728
+ children: /* @__PURE__ */ jsx("div", { className: "border-primary size-6 animate-spin rounded-full border-2 border-t-transparent" })
11729
11729
  }), error && /* @__PURE__ */ jsx("p", {
11730
11730
  className: "bg-destructive/10 text-destructive rounded-lg px-3 py-2",
11731
11731
  children: t("files_load_error")
@@ -11781,8 +11781,8 @@ function FilesListingScreen({ onNavigate }) {
11781
11781
  isVideo && /* @__PURE__ */ jsx("div", {
11782
11782
  className: "absolute inset-0 flex items-center justify-center",
11783
11783
  children: /* @__PURE__ */ jsx("div", {
11784
- className: "bg-foreground/50 flex h-16 w-16 items-center justify-center rounded-full backdrop-blur-sm",
11785
- children: /* @__PURE__ */ jsx(CirclePlay, { className: "text-background h-12 w-12" })
11784
+ className: "bg-foreground/50 flex size-16 items-center justify-center rounded-full backdrop-blur-sm",
11785
+ children: /* @__PURE__ */ jsx(CirclePlay, { className: "text-background size-12" })
11786
11786
  })
11787
11787
  }),
11788
11788
  !isVideo && /* @__PURE__ */ jsx(Badge, {
@@ -11907,7 +11907,7 @@ function PagesListingScreen({ onNavigate }) {
11907
11907
  }),
11908
11908
  footer: isFetchingNextPage && /* @__PURE__ */ jsx("div", {
11909
11909
  className: "flex justify-center py-4",
11910
- children: /* @__PURE__ */ jsx("div", { className: "border-primary h-6 w-6 animate-spin rounded-full border-2 border-t-transparent" })
11910
+ children: /* @__PURE__ */ jsx("div", { className: "border-primary size-6 animate-spin rounded-full border-2 border-t-transparent" })
11911
11911
  }),
11912
11912
  sentinelRef: observerTarget,
11913
11913
  children: /* @__PURE__ */ jsx("div", {
@@ -13979,4 +13979,4 @@ const shareablesScreenPropertySchema = {
13979
13979
  //#endregion
13980
13980
  export { shareablesScreenPropertySchema as n, ShareablesScreen as t };
13981
13981
 
13982
- //# sourceMappingURL=ShareablesScreen-aafzr3Vs.mjs.map
13982
+ //# sourceMappingURL=ShareablesScreen-B6Qs0xXn.mjs.map