@salla.sa/twilight-theme-engine 1.0.34 → 1.0.35

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 (121) hide show
  1. package/dist/{AddToCartForm-RERJJKYN.js → AddToCartForm-PNZBIPJU.js} +3 -3
  2. package/dist/{AddToCartForm-RERJJKYN.js.map → AddToCartForm-PNZBIPJU.js.map} +1 -1
  3. package/dist/{BlogAuthorPage-XNTLCH6M.js → BlogAuthorPage-FTVPPHHS.js} +6 -6
  4. package/dist/{BlogAuthorPage-XNTLCH6M.js.map → BlogAuthorPage-FTVPPHHS.js.map} +1 -1
  5. package/dist/{BlogCategoryPage-Y5HHX6Q4.js → BlogCategoryPage-TJFW7DDI.js} +6 -6
  6. package/dist/{BlogCategoryPage-Y5HHX6Q4.js.map → BlogCategoryPage-TJFW7DDI.js.map} +1 -1
  7. package/dist/{BlogPage-ND3KMAYL.js → BlogPage-RD4JUGKY.js} +5 -5
  8. package/dist/{BlogPage-ND3KMAYL.js.map → BlogPage-RD4JUGKY.js.map} +1 -1
  9. package/dist/{BlogSinglePage-OXMFEM3G.js → BlogSinglePage-DVZX3WVW.js} +5 -5
  10. package/dist/{BlogSinglePage-OXMFEM3G.js.map → BlogSinglePage-DVZX3WVW.js.map} +1 -1
  11. package/dist/{BlogTagPage-LOR275LH.js → BlogTagPage-UON2ASKW.js} +6 -6
  12. package/dist/{BlogTagPage-LOR275LH.js.map → BlogTagPage-UON2ASKW.js.map} +1 -1
  13. package/dist/{BrandsPage-BX3SWD23.js → BrandsPage-R4KTDEG3.js} +5 -5
  14. package/dist/{BrandsPage-BX3SWD23.js.map → BrandsPage-R4KTDEG3.js.map} +1 -1
  15. package/dist/{Breadcrumb-L33QVTUA.js → Breadcrumb-YNVX6ZXO.js} +5 -5
  16. package/dist/{Breadcrumb-L33QVTUA.js.map → Breadcrumb-YNVX6ZXO.js.map} +1 -1
  17. package/dist/{CartItem-ZNM7LS6N.js → CartItem-6P4AB6LQ.js} +5 -5
  18. package/dist/{CartItem-ZNM7LS6N.js.map → CartItem-6P4AB6LQ.js.map} +1 -1
  19. package/dist/{CartSummary-GA7VKMOQ.js → CartSummary-A25PNJSY.js} +5 -5
  20. package/dist/{CartSummary-GA7VKMOQ.js.map → CartSummary-A25PNJSY.js.map} +1 -1
  21. package/dist/{Copyright-SULJLAOX.js → Copyright-J6O4JUG7.js} +3 -3
  22. package/dist/{Copyright-SULJLAOX.js.map → Copyright-J6O4JUG7.js.map} +1 -1
  23. package/dist/{CustomerLayout-DPASUJXG.js → CustomerLayout-JNUTNHBA.js} +5 -5
  24. package/dist/{CustomerLayout-DPASUJXG.js.map → CustomerLayout-JNUTNHBA.js.map} +1 -1
  25. package/dist/{Footer-5LUYTER2.js → Footer-GR7WW7UA.js} +5 -5
  26. package/dist/{Footer-5LUYTER2.js.map → Footer-GR7WW7UA.js.map} +1 -1
  27. package/dist/{Header-V2QY52KP.js → Header-2CTHBDYE.js} +4 -4
  28. package/dist/{Header-V2QY52KP.js.map → Header-2CTHBDYE.js.map} +1 -1
  29. package/dist/{LoyaltyPage-WGBJSWMT.js → LoyaltyPage-EHRGBXF6.js} +5 -5
  30. package/dist/{LoyaltyPage-WGBJSWMT.js.map → LoyaltyPage-EHRGBXF6.js.map} +1 -1
  31. package/dist/{MainMenu-53YP6MTU.js → MainMenu-TFUVK4W7.js} +3 -3
  32. package/dist/{MainMenu-53YP6MTU.js.map → MainMenu-TFUVK4W7.js.map} +1 -1
  33. package/dist/{MasterLayout-GIYKSI2D.js → MasterLayout-ODH7CFAU.js} +5 -5
  34. package/dist/{MasterLayout-GIYKSI2D.js.map → MasterLayout-ODH7CFAU.js.map} +1 -1
  35. package/dist/{MobileMenu-FGHDWUS3.js → MobileMenu-5OJEI2CQ.js} +5 -5
  36. package/dist/{MobileMenu-FGHDWUS3.js.map → MobileMenu-5OJEI2CQ.js.map} +1 -1
  37. package/dist/{NotificationsPage-YUPDZQMH.js → NotificationsPage-U4ULROLR.js} +5 -5
  38. package/dist/{NotificationsPage-YUPDZQMH.js.map → NotificationsPage-U4ULROLR.js.map} +1 -1
  39. package/dist/{OrderSinglePage-NG45IOTR.js → OrderSinglePage-O2ODTG33.js} +5 -5
  40. package/dist/{OrderSinglePage-NG45IOTR.js.map → OrderSinglePage-O2ODTG33.js.map} +1 -1
  41. package/dist/{OrdersPage-X753G6LK.js → OrdersPage-72RXJGSH.js} +5 -5
  42. package/dist/{OrdersPage-X753G6LK.js.map → OrdersPage-72RXJGSH.js.map} +1 -1
  43. package/dist/{PageSingle-3IHQP3WO.js → PageSingle-7Y4WJAA6.js} +3 -3
  44. package/dist/{PageSingle-3IHQP3WO.js.map → PageSingle-7Y4WJAA6.js.map} +1 -1
  45. package/dist/{ProductDetails-3WTGYULJ.js → ProductDetails-GYCTNAWE.js} +3 -3
  46. package/dist/{ProductDetails-3WTGYULJ.js.map → ProductDetails-GYCTNAWE.js.map} +1 -1
  47. package/dist/{ProfilePage-DSDDUN5Y.js → ProfilePage-GVYL5NVL.js} +5 -5
  48. package/dist/{ProfilePage-DSDDUN5Y.js.map → ProfilePage-GVYL5NVL.js.map} +1 -1
  49. package/dist/{RenderWhenVisible-2BRWQDOQ.js → RenderWhenVisible-F44J5MMG.js} +4 -4
  50. package/dist/RenderWhenVisible-F44J5MMG.js.map +1 -0
  51. package/dist/{SeoCartWidget-M43SKEQJ.js → SeoCartWidget-KHDAMXBG.js} +5 -5
  52. package/dist/{SeoCartWidget-M43SKEQJ.js.map → SeoCartWidget-KHDAMXBG.js.map} +1 -1
  53. package/dist/{SettingsPage-JBT73EJP.js → SettingsPage-ZCLDJNHY.js} +5 -5
  54. package/dist/{SettingsPage-JBT73EJP.js.map → SettingsPage-ZCLDJNHY.js.map} +1 -1
  55. package/dist/{StoreClosedNotification-FCF2NBZR.js → StoreClosedNotification-6O34WQJV.js} +6 -6
  56. package/dist/{StoreClosedNotification-FCF2NBZR.js.map → StoreClosedNotification-6O34WQJV.js.map} +1 -1
  57. package/dist/{TestimonialsPage-4ZXBWLEW.js → TestimonialsPage-Y3DCS2RB.js} +3 -3
  58. package/dist/{TestimonialsPage-4ZXBWLEW.js.map → TestimonialsPage-Y3DCS2RB.js.map} +1 -1
  59. package/dist/{ThankYouPage-IDR5ZWIB.js → ThankYouPage-MPF4V5T3.js} +5 -5
  60. package/dist/{ThankYouPage-IDR5ZWIB.js.map → ThankYouPage-MPF4V5T3.js.map} +1 -1
  61. package/dist/{WalletPage-WTDVBQ4Z.js → WalletPage-XVEZKUCP.js} +5 -5
  62. package/dist/{WalletPage-WTDVBQ4Z.js.map → WalletPage-XVEZKUCP.js.map} +1 -1
  63. package/dist/{WishlistPage-Q4PLJ6VV.js → WishlistPage-MALKVYV4.js} +5 -5
  64. package/dist/{WishlistPage-Q4PLJ6VV.js.map → WishlistPage-MALKVYV4.js.map} +1 -1
  65. package/dist/{chunk-6RGZYVQT.js → chunk-6EBQ27KE.js} +7 -7
  66. package/dist/{chunk-6RGZYVQT.js.map → chunk-6EBQ27KE.js.map} +1 -1
  67. package/dist/{chunk-LYY3EOAO.js → chunk-B4SPJFNB.js} +4 -4
  68. package/dist/{chunk-LYY3EOAO.js.map → chunk-B4SPJFNB.js.map} +1 -1
  69. package/dist/{chunk-KRB2TZAY.js → chunk-BOOOVZS4.js} +3 -3
  70. package/dist/{chunk-KRB2TZAY.js.map → chunk-BOOOVZS4.js.map} +1 -1
  71. package/dist/{chunk-PZCHYB7O.js → chunk-DLDDKPRN.js} +3 -3
  72. package/dist/{chunk-PZCHYB7O.js.map → chunk-DLDDKPRN.js.map} +1 -1
  73. package/dist/chunk-IN5RFJF2.js +14 -0
  74. package/dist/{chunk-3ABM2IWU.js.map → chunk-IN5RFJF2.js.map} +1 -1
  75. package/dist/{chunk-J2TTL3AA.js → chunk-MY3ZH5BA.js} +6 -6
  76. package/dist/{chunk-J2TTL3AA.js.map → chunk-MY3ZH5BA.js.map} +1 -1
  77. package/dist/{chunk-LCSALUZ2.js → chunk-Q56S25OH.js} +5 -5
  78. package/dist/{chunk-LCSALUZ2.js.map → chunk-Q56S25OH.js.map} +1 -1
  79. package/dist/{chunk-6RIKW3YV.js → chunk-RQHOAA7U.js} +4 -4
  80. package/dist/{chunk-6RIKW3YV.js.map → chunk-RQHOAA7U.js.map} +1 -1
  81. package/dist/{chunk-UPFFOL37.js → chunk-T3I4T3XB.js} +4 -4
  82. package/dist/{chunk-UPFFOL37.js.map → chunk-T3I4T3XB.js.map} +1 -1
  83. package/dist/{chunk-U6BFS4JR.js → chunk-VBXAGCNI.js} +3 -3
  84. package/dist/{chunk-U6BFS4JR.js.map → chunk-VBXAGCNI.js.map} +1 -1
  85. package/dist/{chunk-IXXPO4LJ.js → chunk-XBLA5RFR.js} +4 -4
  86. package/dist/{chunk-IXXPO4LJ.js.map → chunk-XBLA5RFR.js.map} +1 -1
  87. package/dist/components/cart/index.js +1 -1
  88. package/dist/components/common/RenderWhenVisible.d.ts.map +1 -1
  89. package/dist/components/common/index.js +1 -1
  90. package/dist/components/drawer/index.js +3 -3
  91. package/dist/components/home/index.js +5 -5
  92. package/dist/components/layout/index.js +5 -5
  93. package/dist/components/product/index.js +4 -4
  94. package/dist/components/store/index.js +5 -5
  95. package/dist/{document-class-HFVPENQI.js → document-class-BQBALA53.js} +3 -3
  96. package/dist/{document-class-HFVPENQI.js.map → document-class-BQBALA53.js.map} +1 -1
  97. package/dist/hooks/index.js +3 -3
  98. package/dist/hooks/useGtm.js +3 -3
  99. package/dist/hooks/useMoney.js +3 -3
  100. package/dist/hooks/useStore.js +3 -3
  101. package/dist/index.js +3 -3
  102. package/dist/{not-found-XD534NFT.js → not-found-OPY73PW5.js} +5 -5
  103. package/dist/{not-found-XD534NFT.js.map → not-found-OPY73PW5.js.map} +1 -1
  104. package/dist/providers/index.js +3 -3
  105. package/dist/routes/account/orders.js +1 -1
  106. package/dist/routes/account.js +6 -6
  107. package/dist/routes/blog.js +5 -5
  108. package/dist/routes/brands.js +1 -1
  109. package/dist/routes/cart.js +7 -7
  110. package/dist/routes/home.js +6 -6
  111. package/dist/routes/loyalty.js +1 -1
  112. package/dist/routes/page.js +1 -1
  113. package/dist/routes/product-listing.js +5 -5
  114. package/dist/routes/product.js +5 -5
  115. package/dist/routes/testimonials.js +1 -1
  116. package/dist/routes/thank-you.js +1 -1
  117. package/dist/skeleton.js +6 -6
  118. package/dist/tanstack.js +2 -2
  119. package/package.json +1 -1
  120. package/dist/RenderWhenVisible-2BRWQDOQ.js.map +0 -1
  121. package/dist/chunk-3ABM2IWU.js +0 -14
@@ -1,5 +1,5 @@
1
- import './chunk-6RGZYVQT.js';
2
- import './chunk-LCSALUZ2.js';
1
+ import './chunk-6EBQ27KE.js';
2
+ import './chunk-Q56S25OH.js';
3
3
  import './chunk-JKIRRMBU.js';
4
4
  import './chunk-2JV6WZ6O.js';
5
5
  import './chunk-TXYT42AU.js';
@@ -28,7 +28,7 @@ import './chunk-YMVLYYLU.js';
28
28
  import './chunk-RJPPO3ET.js';
29
29
  import { HookSlot } from './chunk-Q7VWURUR.js';
30
30
  import './chunk-GU2KUQVD.js';
31
- import { LazyErrorPage } from './chunk-6RIKW3YV.js';
31
+ import { LazyErrorPage } from './chunk-RQHOAA7U.js';
32
32
  import './chunk-AXW67SY7.js';
33
33
  import './chunk-BYMOPN2S.js';
34
34
  import './chunk-6BZ5TKEV.js';
@@ -68,5 +68,5 @@ function NotFoundPage(props = {}) {
68
68
  }
69
69
 
70
70
  export { NotFoundPage };
71
- //# sourceMappingURL=not-found-XD534NFT.js.map
72
- //# sourceMappingURL=not-found-XD534NFT.js.map
71
+ //# sourceMappingURL=not-found-OPY73PW5.js.map
72
+ //# sourceMappingURL=not-found-OPY73PW5.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/routes/not-found.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,SAAS,YAAA,CAAa,KAAA,GAA2B,EAAC,EAAG;AAC1D,EAAA,MAAM,EAAE,CAAA,EAAE,GAAI,cAAA,EAAe;AAE7B,EAAA,MAAM;AAAA,IACJ,KAAA,GAAQ,CAAA,CAAE,mBAAmB,CAAA,IAAK,gBAAA;AAAA,IAClC,OAAA,GAAU,CAAA,CAAE,8BAA8B,CAAA,IACxC,gEAAA;AAAA,IACF,YAAA,GAAe,IAAA;AAAA,IACf,YAAA,GAAe,CAAA,CAAE,2BAA2B,CAAA,IAAK,cAAA;AAAA,IACjD;AAAA,GACF,GAAI,KAAA;AAEJ,EAAA,uBACE,IAAA;AAAA,IAAC,aAAA;AAAA,IAAA;AAAA,MACC,IAAA,EAAM,GAAA;AAAA,MACN,KAAA;AAAA,MACA,OAAA;AAAA,MACA,UAAA,EAAY,YAAA;AAAA,MACZ,UAAA,EAAY,YAAA;AAAA,MACZ,aAAA;AAAA,MAEA,QAAA,EAAA;AAAA,wBAAA,GAAA,CAAC,QAAA,EAAA,EAAS,MAAK,gBAAA,EAAiB,CAAA;AAAA,wBAChC,GAAA,CAAC,QAAA,EAAA,EAAS,IAAA,EAAK,kBAAA,EAAmB,CAAA;AAAA,wBAClC,GAAA,CAAC,QAAA,EAAA,EAAS,IAAA,EAAK,cAAA,EAAe;AAAA;AAAA;AAAA,GAChC;AAEJ","file":"not-found-XD534NFT.js","sourcesContent":["import type { ComponentType, ReactNode } from 'react';\nimport { HookSlot } from '../hooks';\nimport { useTranslation } from '../providers/I18nProvider';\nimport { ErrorPage } from '../components/common';\n\nexport interface NotFoundPageProps {\n title?: string;\n message?: string;\n showHomeLink?: boolean;\n homeLinkText?: string;\n LinkComponent?: ComponentType<{\n to: string;\n className?: string;\n style?: React.CSSProperties;\n children: ReactNode;\n }>;\n}\n\nexport function NotFoundPage(props: NotFoundPageProps = {}) {\n const { t } = useTranslation();\n\n const {\n title = t('common.errors.404') || 'Page Not Found',\n message = t('common.errors.error_occurred') ||\n 'The page you are looking for does not exist or has been moved.',\n showHomeLink = true,\n homeLinkText = t('common.elements.back_home') || 'Back to Home',\n LinkComponent,\n } = props;\n\n return (\n <ErrorPage\n code={404}\n title={title}\n message={message}\n showAction={showHomeLink}\n actionText={homeLinkText}\n LinkComponent={LinkComponent}\n >\n <HookSlot name=\"notfound:start\" />\n <HookSlot name=\"notfound:content\" />\n <HookSlot name=\"notfound:end\" />\n </ErrorPage>\n );\n}\n"]}
1
+ {"version":3,"sources":["../src/routes/not-found.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,SAAS,YAAA,CAAa,KAAA,GAA2B,EAAC,EAAG;AAC1D,EAAA,MAAM,EAAE,CAAA,EAAE,GAAI,cAAA,EAAe;AAE7B,EAAA,MAAM;AAAA,IACJ,KAAA,GAAQ,CAAA,CAAE,mBAAmB,CAAA,IAAK,gBAAA;AAAA,IAClC,OAAA,GAAU,CAAA,CAAE,8BAA8B,CAAA,IACxC,gEAAA;AAAA,IACF,YAAA,GAAe,IAAA;AAAA,IACf,YAAA,GAAe,CAAA,CAAE,2BAA2B,CAAA,IAAK,cAAA;AAAA,IACjD;AAAA,GACF,GAAI,KAAA;AAEJ,EAAA,uBACE,IAAA;AAAA,IAAC,aAAA;AAAA,IAAA;AAAA,MACC,IAAA,EAAM,GAAA;AAAA,MACN,KAAA;AAAA,MACA,OAAA;AAAA,MACA,UAAA,EAAY,YAAA;AAAA,MACZ,UAAA,EAAY,YAAA;AAAA,MACZ,aAAA;AAAA,MAEA,QAAA,EAAA;AAAA,wBAAA,GAAA,CAAC,QAAA,EAAA,EAAS,MAAK,gBAAA,EAAiB,CAAA;AAAA,wBAChC,GAAA,CAAC,QAAA,EAAA,EAAS,IAAA,EAAK,kBAAA,EAAmB,CAAA;AAAA,wBAClC,GAAA,CAAC,QAAA,EAAA,EAAS,IAAA,EAAK,cAAA,EAAe;AAAA;AAAA;AAAA,GAChC;AAEJ","file":"not-found-OPY73PW5.js","sourcesContent":["import type { ComponentType, ReactNode } from 'react';\nimport { HookSlot } from '../hooks';\nimport { useTranslation } from '../providers/I18nProvider';\nimport { ErrorPage } from '../components/common';\n\nexport interface NotFoundPageProps {\n title?: string;\n message?: string;\n showHomeLink?: boolean;\n homeLinkText?: string;\n LinkComponent?: ComponentType<{\n to: string;\n className?: string;\n style?: React.CSSProperties;\n children: ReactNode;\n }>;\n}\n\nexport function NotFoundPage(props: NotFoundPageProps = {}) {\n const { t } = useTranslation();\n\n const {\n title = t('common.errors.404') || 'Page Not Found',\n message = t('common.errors.error_occurred') ||\n 'The page you are looking for does not exist or has been moved.',\n showHomeLink = true,\n homeLinkText = t('common.elements.back_home') || 'Back to Home',\n LinkComponent,\n } = props;\n\n return (\n <ErrorPage\n code={404}\n title={title}\n message={message}\n showAction={showHomeLink}\n actionText={homeLinkText}\n LinkComponent={LinkComponent}\n >\n <HookSlot name=\"notfound:start\" />\n <HookSlot name=\"notfound:content\" />\n <HookSlot name=\"notfound:end\" />\n </ErrorPage>\n );\n}\n"]}
@@ -1,5 +1,5 @@
1
- export { TwilightProvider, registerDocumentSync, routeDocumentSyncs } from '../chunk-6RGZYVQT.js';
2
- import '../chunk-LCSALUZ2.js';
1
+ export { TwilightProvider, registerDocumentSync, routeDocumentSyncs } from '../chunk-6EBQ27KE.js';
2
+ import '../chunk-Q56S25OH.js';
3
3
  import '../chunk-JKIRRMBU.js';
4
4
  import '../chunk-2JV6WZ6O.js';
5
5
  import '../chunk-TXYT42AU.js';
@@ -28,7 +28,7 @@ import '../chunk-YMVLYYLU.js';
28
28
  import '../chunk-RJPPO3ET.js';
29
29
  import '../chunk-Q7VWURUR.js';
30
30
  import '../chunk-GU2KUQVD.js';
31
- import '../chunk-6RIKW3YV.js';
31
+ import '../chunk-RQHOAA7U.js';
32
32
  import '../chunk-AXW67SY7.js';
33
33
  export { LinkProvider, LinkProviderError, createLinkWithAdapter, useLinkAdapter } from '../chunk-BYMOPN2S.js';
34
34
  import '../chunk-6BZ5TKEV.js';
@@ -1,4 +1,4 @@
1
- export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../../chunk-UPFFOL37.js';
1
+ export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../../chunk-T3I4T3XB.js';
2
2
  import '../../chunk-6JLVUQWD.js';
3
3
  import '../../chunk-TZ3E5BN4.js';
4
4
  import '../../chunk-E3J2RXBS.js';
@@ -1,5 +1,5 @@
1
1
  import { wallet } from '../chunk-FPQAYFHZ.js';
2
- export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../chunk-UPFFOL37.js';
2
+ export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../chunk-T3I4T3XB.js';
3
3
  import '../chunk-6JLVUQWD.js';
4
4
  import { notification } from '../chunk-Z2P4M6T6.js';
5
5
  import { wishlist } from '../chunk-LXIEAZZJ.js';
@@ -28,7 +28,7 @@ async function profileLoader(_ctx) {
28
28
 
29
29
  // src/routes/account/profile/index.tsx
30
30
  var LazyProfilePage = lazy(
31
- () => import('../ProfilePage-DSDDUN5Y.js').then((m) => ({ default: m.ProfilePage }))
31
+ () => import('../ProfilePage-GVYL5NVL.js').then((m) => ({ default: m.ProfilePage }))
32
32
  );
33
33
  var ProfilePage = LazyProfilePage;
34
34
  var Profile = {
@@ -69,7 +69,7 @@ async function wishlistLoader(ctx) {
69
69
 
70
70
  // src/routes/account/wishlist/index.tsx
71
71
  var LazyWishlistPage = lazy(
72
- () => import('../WishlistPage-Q4PLJ6VV.js').then((m) => ({ default: m.WishlistPage }))
72
+ () => import('../WishlistPage-MALKVYV4.js').then((m) => ({ default: m.WishlistPage }))
73
73
  );
74
74
  var WishlistPage = LazyWishlistPage;
75
75
  var Wishlist = {
@@ -110,7 +110,7 @@ async function walletLoader(ctx) {
110
110
  }
111
111
 
112
112
  // src/routes/account/wallet/index.tsx
113
- var LazyWalletPage = lazy(() => import('../WalletPage-WTDVBQ4Z.js').then((m) => ({ default: m.WalletPage })));
113
+ var LazyWalletPage = lazy(() => import('../WalletPage-XVEZKUCP.js').then((m) => ({ default: m.WalletPage })));
114
114
  var WalletPage = LazyWalletPage;
115
115
  var Wallet = {
116
116
  id: RouteId.CUSTOMER_WALLET,
@@ -145,7 +145,7 @@ async function notificationsLoader(_ctx) {
145
145
 
146
146
  // src/routes/account/notifications/index.tsx
147
147
  var LazyNotificationsPage = lazy(
148
- () => import('../NotificationsPage-YUPDZQMH.js').then((m) => ({ default: m.NotificationsPage }))
148
+ () => import('../NotificationsPage-U4ULROLR.js').then((m) => ({ default: m.NotificationsPage }))
149
149
  );
150
150
  var NotificationsPage = LazyNotificationsPage;
151
151
  var Notifications = {
@@ -177,7 +177,7 @@ async function settingsLoader(_ctx) {
177
177
 
178
178
  // src/routes/account/settings/index.tsx
179
179
  var LazySettingsPage = lazy(
180
- () => import('../SettingsPage-JBT73EJP.js').then((m) => ({ default: m.SettingsPage }))
180
+ () => import('../SettingsPage-ZCLDJNHY.js').then((m) => ({ default: m.SettingsPage }))
181
181
  );
182
182
  var SettingsPage = LazySettingsPage;
183
183
  var Settings = {
@@ -133,18 +133,18 @@ async function blogTagLoader({
133
133
  }
134
134
 
135
135
  // src/routes/blog/index.tsx
136
- var LazyBlogPage = lazy(() => import('../BlogPage-ND3KMAYL.js').then((m) => ({ default: m.BlogPage })));
136
+ var LazyBlogPage = lazy(() => import('../BlogPage-RD4JUGKY.js').then((m) => ({ default: m.BlogPage })));
137
137
  var LazyBlogSinglePage = lazy(
138
- () => import('../BlogSinglePage-OXMFEM3G.js').then((m) => ({ default: m.BlogSinglePage }))
138
+ () => import('../BlogSinglePage-DVZX3WVW.js').then((m) => ({ default: m.BlogSinglePage }))
139
139
  );
140
140
  var LazyBlogAuthorPage = lazy(
141
- () => import('../BlogAuthorPage-XNTLCH6M.js').then((m) => ({ default: m.BlogAuthorPage }))
141
+ () => import('../BlogAuthorPage-FTVPPHHS.js').then((m) => ({ default: m.BlogAuthorPage }))
142
142
  );
143
143
  var LazyBlogCategoryPage = lazy(
144
- () => import('../BlogCategoryPage-Y5HHX6Q4.js').then((m) => ({ default: m.BlogCategoryPage }))
144
+ () => import('../BlogCategoryPage-TJFW7DDI.js').then((m) => ({ default: m.BlogCategoryPage }))
145
145
  );
146
146
  var LazyBlogTagPage = lazy(
147
- () => import('../BlogTagPage-LOR275LH.js').then((m) => ({ default: m.BlogTagPage }))
147
+ () => import('../BlogTagPage-UON2ASKW.js').then((m) => ({ default: m.BlogTagPage }))
148
148
  );
149
149
  var BlogPage = LazyBlogPage;
150
150
  var BlogSinglePage = LazyBlogSinglePage;
@@ -33,7 +33,7 @@ async function brandsLoader() {
33
33
  }
34
34
 
35
35
  // src/routes/brands/index.tsx
36
- var LazyBrandsPage = lazy(() => import('../BrandsPage-BX3SWD23.js').then((m) => ({ default: m.BrandsPage })));
36
+ var LazyBrandsPage = lazy(() => import('../BrandsPage-R4KTDEG3.js').then((m) => ({ default: m.BrandsPage })));
37
37
  var BrandsPage = LazyBrandsPage;
38
38
  async function brandsLoaderWithExtend(_ctx, extend) {
39
39
  const data = await brandsLoader();
@@ -1,16 +1,16 @@
1
1
  import { cart } from '../chunk-OOYJHQLQ.js';
2
2
  import { loyalty } from '../chunk-HYESKIWZ.js';
3
3
  import { CartSkeleton } from '../chunk-N7CCSGZF.js';
4
- import '../chunk-U6BFS4JR.js';
4
+ import '../chunk-VBXAGCNI.js';
5
5
  import '../chunk-STHBBSK2.js';
6
6
  import { buildHreflangAlternates } from '../chunk-TZ3E5BN4.js';
7
- import '../chunk-IXXPO4LJ.js';
7
+ import '../chunk-XBLA5RFR.js';
8
8
  import '../chunk-6BVPVYLN.js';
9
- import { LazySeoCartWidget, LazyCartItem, LazyCartSummary } from '../chunk-3ABM2IWU.js';
10
- import '../chunk-J2TTL3AA.js';
9
+ import { LazySeoCartWidget, LazyCartItem, LazyCartSummary } from '../chunk-IN5RFJF2.js';
10
+ import '../chunk-MY3ZH5BA.js';
11
11
  import '../chunk-342EPVXN.js';
12
- import '../chunk-6RGZYVQT.js';
13
- import '../chunk-LCSALUZ2.js';
12
+ import '../chunk-6EBQ27KE.js';
13
+ import '../chunk-Q56S25OH.js';
14
14
  import '../chunk-JKIRRMBU.js';
15
15
  import '../chunk-2JV6WZ6O.js';
16
16
  import '../chunk-TXYT42AU.js';
@@ -39,7 +39,7 @@ import '../chunk-YMVLYYLU.js';
39
39
  import '../chunk-RJPPO3ET.js';
40
40
  import { HookSlot } from '../chunk-Q7VWURUR.js';
41
41
  import '../chunk-GU2KUQVD.js';
42
- import { LazyBreadcrumb, LazyNoContent } from '../chunk-6RIKW3YV.js';
42
+ import { LazyBreadcrumb, LazyNoContent } from '../chunk-RQHOAA7U.js';
43
43
  import '../chunk-AXW67SY7.js';
44
44
  import '../chunk-BYMOPN2S.js';
45
45
  import '../chunk-6BZ5TKEV.js';
@@ -1,12 +1,12 @@
1
- export { Home, HomeSkeleton, homeLoader } from '../chunk-U6BFS4JR.js';
1
+ export { Home, HomeSkeleton, homeLoader } from '../chunk-VBXAGCNI.js';
2
2
  import '../chunk-STHBBSK2.js';
3
3
  import '../chunk-TZ3E5BN4.js';
4
- export { DefaultHomeComponents, registerHomeComponentConfig, registerHomeComponents } from '../chunk-IXXPO4LJ.js';
4
+ export { DefaultHomeComponents, registerHomeComponentConfig, registerHomeComponents } from '../chunk-XBLA5RFR.js';
5
5
  import '../chunk-6BVPVYLN.js';
6
- import '../chunk-J2TTL3AA.js';
6
+ import '../chunk-MY3ZH5BA.js';
7
7
  import '../chunk-342EPVXN.js';
8
- import '../chunk-6RGZYVQT.js';
9
- import '../chunk-LCSALUZ2.js';
8
+ import '../chunk-6EBQ27KE.js';
9
+ import '../chunk-Q56S25OH.js';
10
10
  import '../chunk-JKIRRMBU.js';
11
11
  import '../chunk-2JV6WZ6O.js';
12
12
  import '../chunk-TXYT42AU.js';
@@ -35,7 +35,7 @@ import '../chunk-YMVLYYLU.js';
35
35
  import '../chunk-RJPPO3ET.js';
36
36
  import '../chunk-Q7VWURUR.js';
37
37
  import '../chunk-GU2KUQVD.js';
38
- import '../chunk-6RIKW3YV.js';
38
+ import '../chunk-RQHOAA7U.js';
39
39
  import '../chunk-AXW67SY7.js';
40
40
  import '../chunk-BYMOPN2S.js';
41
41
  import '../chunk-6BZ5TKEV.js';
@@ -18,7 +18,7 @@ async function loyaltyLoader() {
18
18
 
19
19
  // src/routes/loyalty/index.tsx
20
20
  var LazyLoyaltyPage = lazy(
21
- () => import('../LoyaltyPage-WGBJSWMT.js').then((m) => ({ default: m.LoyaltyPage }))
21
+ () => import('../LoyaltyPage-EHRGBXF6.js').then((m) => ({ default: m.LoyaltyPage }))
22
22
  );
23
23
  var LoyaltyPage = LazyLoyaltyPage;
24
24
  async function loader(_ctx, extend) {
@@ -27,7 +27,7 @@ async function pageSingleLoader({ params }) {
27
27
  }
28
28
 
29
29
  // src/routes/page/index.tsx
30
- var LazyPageSingle = lazy(() => import('../PageSingle-3IHQP3WO.js').then((m) => ({ default: m.PageSingle })));
30
+ var LazyPageSingle = lazy(() => import('../PageSingle-7Y4WJAA6.js').then((m) => ({ default: m.PageSingle })));
31
31
  var PageSingleLazy = LazyPageSingle;
32
32
  async function loader(ctx, extend) {
33
33
  const data = await pageSingleLoader({ params: ctx.params });
@@ -2,13 +2,13 @@ import { sortOptions } from '../chunk-6Z4MOC4S.js';
2
2
  import { category } from '../chunk-5IEQLAAY.js';
3
3
  import { brand } from '../chunk-QOK3ANNB.js';
4
4
  import { buildHreflangAlternates } from '../chunk-TZ3E5BN4.js';
5
- import { LazyTestimonials } from '../chunk-IXXPO4LJ.js';
5
+ import { LazyTestimonials } from '../chunk-XBLA5RFR.js';
6
6
  import { product } from '../chunk-6BVPVYLN.js';
7
7
  import { Drawer } from '../chunk-6TKIUG5C.js';
8
- import { ProductCard } from '../chunk-J2TTL3AA.js';
8
+ import { ProductCard } from '../chunk-MY3ZH5BA.js';
9
9
  import '../chunk-342EPVXN.js';
10
- import { useStore } from '../chunk-6RGZYVQT.js';
11
- import '../chunk-LCSALUZ2.js';
10
+ import { useStore } from '../chunk-6EBQ27KE.js';
11
+ import '../chunk-Q56S25OH.js';
12
12
  import '../chunk-JKIRRMBU.js';
13
13
  import '../chunk-2JV6WZ6O.js';
14
14
  import '../chunk-TXYT42AU.js';
@@ -37,7 +37,7 @@ import '../chunk-YMVLYYLU.js';
37
37
  import '../chunk-RJPPO3ET.js';
38
38
  import { HookSlot } from '../chunk-Q7VWURUR.js';
39
39
  import '../chunk-GU2KUQVD.js';
40
- import { LazyBreadcrumb, Image, LazyNoContent, ProductCardSkeleton, LazyRenderWhenVisible } from '../chunk-6RIKW3YV.js';
40
+ import { LazyBreadcrumb, Image, LazyNoContent, ProductCardSkeleton, LazyRenderWhenVisible } from '../chunk-RQHOAA7U.js';
41
41
  import '../chunk-AXW67SY7.js';
42
42
  import '../chunk-BYMOPN2S.js';
43
43
  import '../chunk-6BZ5TKEV.js';
@@ -1,10 +1,10 @@
1
1
  import { buildHreflangAlternates } from '../chunk-TZ3E5BN4.js';
2
- import { ProductsSlider, LazyTestimonials } from '../chunk-IXXPO4LJ.js';
2
+ import { ProductsSlider, LazyTestimonials } from '../chunk-XBLA5RFR.js';
3
3
  import { product } from '../chunk-6BVPVYLN.js';
4
- import { ProductGallery, LazyProductDetails, LazyAddToCartForm } from '../chunk-J2TTL3AA.js';
4
+ import { ProductGallery, LazyProductDetails, LazyAddToCartForm } from '../chunk-MY3ZH5BA.js';
5
5
  import '../chunk-342EPVXN.js';
6
- import '../chunk-6RGZYVQT.js';
7
- import '../chunk-LCSALUZ2.js';
6
+ import '../chunk-6EBQ27KE.js';
7
+ import '../chunk-Q56S25OH.js';
8
8
  import '../chunk-JKIRRMBU.js';
9
9
  import '../chunk-2JV6WZ6O.js';
10
10
  import '../chunk-TXYT42AU.js';
@@ -33,7 +33,7 @@ import { useComments } from '../chunk-YMVLYYLU.js';
33
33
  import '../chunk-RJPPO3ET.js';
34
34
  import { HookSlot } from '../chunk-Q7VWURUR.js';
35
35
  import '../chunk-GU2KUQVD.js';
36
- import { LazyBreadcrumb, LazyRenderWhenVisible } from '../chunk-6RIKW3YV.js';
36
+ import { LazyBreadcrumb, LazyRenderWhenVisible } from '../chunk-RQHOAA7U.js';
37
37
  import '../chunk-AXW67SY7.js';
38
38
  import '../chunk-BYMOPN2S.js';
39
39
  import '../chunk-6BZ5TKEV.js';
@@ -18,7 +18,7 @@ async function testimonialsLoader(_ctx) {
18
18
 
19
19
  // src/routes/testimonials/index.tsx
20
20
  var LazyTestimonialsPage = lazy(
21
- () => import('../TestimonialsPage-4ZXBWLEW.js').then((m) => ({ default: m.TestimonialsPage }))
21
+ () => import('../TestimonialsPage-Y3DCS2RB.js').then((m) => ({ default: m.TestimonialsPage }))
22
22
  );
23
23
  var TestimonialsPage = LazyTestimonialsPage;
24
24
  async function loader(ctx, extend) {
@@ -38,7 +38,7 @@ async function thankYouLoader({
38
38
 
39
39
  // src/routes/thank-you/index.tsx
40
40
  var LazyThankYouPage = lazy(
41
- () => import('../ThankYouPage-IDR5ZWIB.js').then((m) => ({ default: m.ThankYouPage }))
41
+ () => import('../ThankYouPage-MPF4V5T3.js').then((m) => ({ default: m.ThankYouPage }))
42
42
  );
43
43
  var ThankYouPage = LazyThankYouPage;
44
44
  async function loader(ctx, extend) {
package/dist/skeleton.js CHANGED
@@ -1,13 +1,13 @@
1
1
  export { BlogSkeleton, BreadcrumbSkeleton, CartSkeleton, CustomerLayoutSkeleton, CustomerPageSkeleton, PageSkeleton, ProductCardSkeleton, ProductDetailSkeleton, ProductGridSkeleton, SkeletonPulse } from './chunk-N7CCSGZF.js';
2
- export { HomeSkeleton } from './chunk-U6BFS4JR.js';
2
+ export { HomeSkeleton } from './chunk-VBXAGCNI.js';
3
3
  import './chunk-STHBBSK2.js';
4
4
  import './chunk-TZ3E5BN4.js';
5
- import './chunk-IXXPO4LJ.js';
5
+ import './chunk-XBLA5RFR.js';
6
6
  import './chunk-6BVPVYLN.js';
7
- import './chunk-J2TTL3AA.js';
7
+ import './chunk-MY3ZH5BA.js';
8
8
  import './chunk-342EPVXN.js';
9
- import './chunk-6RGZYVQT.js';
10
- import './chunk-LCSALUZ2.js';
9
+ import './chunk-6EBQ27KE.js';
10
+ import './chunk-Q56S25OH.js';
11
11
  import './chunk-JKIRRMBU.js';
12
12
  import './chunk-2JV6WZ6O.js';
13
13
  import './chunk-TXYT42AU.js';
@@ -36,7 +36,7 @@ import './chunk-YMVLYYLU.js';
36
36
  import './chunk-RJPPO3ET.js';
37
37
  import './chunk-Q7VWURUR.js';
38
38
  import './chunk-GU2KUQVD.js';
39
- import './chunk-6RIKW3YV.js';
39
+ import './chunk-RQHOAA7U.js';
40
40
  import './chunk-AXW67SY7.js';
41
41
  import './chunk-BYMOPN2S.js';
42
42
  import './chunk-6BZ5TKEV.js';
package/dist/tanstack.js CHANGED
@@ -1,5 +1,5 @@
1
- import { rootHead } from './chunk-PZCHYB7O.js';
2
- export { tanstackDocumentAdapter as attrs, createRouter, createTwilightRootRoute, useTanstackDocumentAttrs as useAttrs } from './chunk-PZCHYB7O.js';
1
+ import { rootHead } from './chunk-DLDDKPRN.js';
2
+ export { tanstackDocumentAdapter as attrs, createRouter, createTwilightRootRoute, useTanstackDocumentAttrs as useAttrs } from './chunk-DLDDKPRN.js';
3
3
  export { TanStackLinkAdapter, TanStackNavigationProvider, createTanStackLinkAdapter } from './chunk-L6UGY2OB.js';
4
4
  import './chunk-Z4Y55HWX.js';
5
5
  export { tanstackHeadAdapter as head, withHead } from './chunk-FQGCCV4T.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salla.sa/twilight-theme-engine",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/common/RenderWhenVisible.tsx"],"names":["RenderWhenVisible"],"mappings":";;;;AAEA,SAAS,eAAA,CAAgB,EAAE,MAAA,EAAO,EAAuB;AACvD,EAAA,uBAAO,GAAA,CAAC,SAAI,KAAA,EAAO,EAAE,WAAW,MAAA,EAAO,EAAG,WAAU,mCAAA,EAAoC,CAAA;AAC1F;AAGA,SAAS,WAAA,CAAY,EAAE,OAAA,EAAQ,EAA4C;AACzE,EAAA,SAAA,CAAU,MAAM,OAAA,CAAQ,IAAI,CAAA,EAAG,CAAC,OAAO,CAAC,CAAA;AACxC,EAAA,OAAO,IAAA;AACT;AA0BO,IAAM,iBAAA,GAAoB,IAAA,CAAK,SAASA,kBAAAA,CAAkB;AAAA,EAC/D,QAAA;AAAA,EACA,UAAA,GAAa,MAAA;AAAA,EACb,WAAA;AAAA,EACA,SAAA;AAAA,EACA,EAAA;AAAA,EACA,eAAA,GAAkB,OAAA;AAAA,EAClB,aAAA,GAAgB;AAClB,CAAA,EAA2B;AACzB,EAAA,MAAM,GAAA,GAAM,OAAoB,IAAI,CAAA;AACpC,EAAA,MAAM,CAAC,OAAA,EAAS,UAAU,CAAA,GAAI,SAAS,aAAa,CAAA;AACpD,EAAA,MAAM,CAAC,OAAA,EAAS,UAAU,CAAA,GAAI,SAAS,KAAK,CAAA;AAE5C,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,IAAI,iBAAiB,OAAA,EAAS;AAC9B,IAAA,MAAM,KAAK,GAAA,CAAI,OAAA;AACf,IAAA,IAAI,CAAC,EAAA,EAAI;AAET,IAAA,MAAM,WAAW,IAAI,oBAAA;AAAA,MACnB,CAAC,CAAC,KAAK,CAAA,KAAM;AACX,QAAA,IAAI,MAAM,cAAA,EAAgB;AACxB,UAAA,UAAA,CAAW,IAAI,CAAA;AACf,UAAA,QAAA,CAAS,UAAA,EAAW;AAAA,QACtB;AAAA,MACF,CAAA;AAAA,MACA,EAAE,UAAA;AAAW,KACf;AAEA,IAAA,QAAA,CAAS,QAAQ,EAAE,CAAA;AAEnB,IAAA,OAAO,MAAM,SAAS,UAAA,EAAW;AAAA,EACnC,CAAA,EAAG,CAAC,aAAA,EAAe,OAAA,EAAS,UAAU,CAAC,CAAA;AAEvC,EAAA,MAAM,QAAA,GAAW,WAAA,oBAAe,GAAA,CAAC,eAAA,EAAA,EAAgB,QAAQ,eAAA,EAAiB,CAAA;AAE1E,EAAA,uBACE,GAAA;AAAA,IAAC,SAAA;AAAA,IAAA;AAAA,MACC,GAAA,EAAK,CAAC,OAAA,GAAU,GAAA,GAAM,MAAA;AAAA,MACtB,SAAA;AAAA,MACA,EAAA;AAAA,MACA,KAAA,EAAO,EAAE,SAAA,EAAW,OAAA,GAAU,SAAY,eAAA,EAAgB;AAAA,MAEzD,QAAA,EAAA,OAAA,mBACC,IAAA,CAAC,QAAA,EAAA,EAAS,QAAA,EACP,QAAA,EAAA;AAAA,QAAA,QAAA;AAAA,wBACD,GAAA,CAAC,WAAA,EAAA,EAAY,OAAA,EAAS,UAAA,EAAY;AAAA,OAAA,EACpC,CAAA,GAEA;AAAA;AAAA,GAEJ;AAEJ,CAAC","file":"RenderWhenVisible-2BRWQDOQ.js","sourcesContent":["import { memo, useState, useEffect, useRef, Suspense, type ReactNode } from 'react';\n\nfunction DefaultSkeleton({ height }: { height: string }) {\n return <div style={{ minHeight: height }} className=\"animate-pulse rounded bg-gray-100\" />;\n}\n\n/** Sibling of the children inside Suspense: its effect only runs once the boundary resolves. */\nfunction MarkMounted({ onMount }: { onMount: (mounted: boolean) => void }) {\n useEffect(() => onMount(true), [onMount]);\n return null;\n}\n\nexport interface RenderWhenVisibleProps {\n children: ReactNode;\n rootMargin?: string;\n placeholder?: ReactNode;\n className?: string;\n id?: string;\n estimatedHeight?: string;\n renderOnMount?: boolean;\n}\n\n/**\n * RenderWhenVisible — defers mounting children until the container enters the viewport.\n *\n * Children are NOT in the React tree at all until the Intersection Observer fires,\n * so no effects, API calls, or renders happen for off-screen sections.\n * Once rendered, children stay mounted permanently (no re-unmount on scroll away).\n *\n * The `estimatedHeight` prop prevents the zero-height collapse problem: without it\n * every unrendered section stacks at the top with 0px height, causing all observers\n * to fire at once on mount. It applies as a min-height until the children have\n * actually committed — through the Suspense window too, since a custom placeholder\n * may be shorter than the estimate. After that the section's height is owned by its\n * content, so shorter blocks don't leave reserved dead space below them.\n */\nexport const RenderWhenVisible = memo(function RenderWhenVisible({\n children,\n rootMargin = '50px',\n placeholder,\n className,\n id,\n estimatedHeight = '400px',\n renderOnMount = false,\n}: RenderWhenVisibleProps) {\n const ref = useRef<HTMLElement>(null);\n const [visible, setVisible] = useState(renderOnMount);\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n if (renderOnMount || visible) return;\n const el = ref.current;\n if (!el) return;\n\n const observer = new IntersectionObserver(\n ([entry]) => {\n if (entry.isIntersecting) {\n setVisible(true);\n observer.disconnect();\n }\n },\n { rootMargin }\n );\n\n observer.observe(el);\n\n return () => observer.disconnect();\n }, [renderOnMount, visible, rootMargin]);\n\n const fallback = placeholder ?? <DefaultSkeleton height={estimatedHeight} />;\n\n return (\n <section\n ref={!visible ? ref : undefined}\n className={className}\n id={id}\n style={{ minHeight: mounted ? undefined : estimatedHeight }}\n >\n {visible ? (\n <Suspense fallback={fallback}>\n {children}\n <MarkMounted onMount={setMounted} />\n </Suspense>\n ) : (\n fallback\n )}\n </section>\n );\n});\n"]}
@@ -1,14 +0,0 @@
1
- import { lazy } from 'react';
2
-
3
- // src/components/cart/lazy.ts
4
- var LazyCartItem = lazy(() => import('./CartItem-ZNM7LS6N.js').then((m) => ({ default: m.CartItem })));
5
- var LazyCartSummary = lazy(
6
- () => import('./CartSummary-GA7VKMOQ.js').then((m) => ({ default: m.CartSummary }))
7
- );
8
- var LazySeoCartWidget = lazy(
9
- () => import('./SeoCartWidget-M43SKEQJ.js').then((m) => ({ default: m.SeoCartWidget }))
10
- );
11
-
12
- export { LazyCartItem, LazyCartSummary, LazySeoCartWidget };
13
- //# sourceMappingURL=chunk-3ABM2IWU.js.map
14
- //# sourceMappingURL=chunk-3ABM2IWU.js.map