@admin-layout/tailwind-design-pro 11.0.4-alpha.4 → 12.0.16-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/README.md +401 -1
  2. package/lib/cdm-locales/en/settings.json +40 -1
  3. package/lib/cdm-locales/es/settings.json +42 -3
  4. package/lib/components/LanguageMenu/LanguageMenu.d.ts.map +1 -1
  5. package/lib/components/LanguageMenu/LanguageMenu.js +8 -18
  6. package/lib/components/LanguageMenu/LanguageMenu.js.map +1 -1
  7. package/lib/components/Layout/BasicLayout/index.d.ts +1 -8
  8. package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
  9. package/lib/components/Layout/BasicLayout/index.js +141 -64
  10. package/lib/components/Layout/BasicLayout/index.js.map +1 -1
  11. package/lib/components/Layout/BasicLayout/utils.d.ts.map +1 -1
  12. package/lib/components/Layout/BasicLayout/utils.js +1 -14
  13. package/lib/components/Layout/BasicLayout/utils.js.map +1 -1
  14. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts +1 -8
  15. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts.map +1 -1
  16. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
  17. package/lib/components/Layout/GlobalFooter/Copyright.d.ts.map +1 -1
  18. package/lib/components/Layout/GlobalFooter/Footer.d.ts.map +1 -1
  19. package/lib/components/Layout/GlobalHeader/Header.d.ts +1 -14
  20. package/lib/components/Layout/GlobalHeader/Header.d.ts.map +1 -1
  21. package/lib/components/Layout/GlobalHeader/Header.js +78 -53
  22. package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
  23. package/lib/components/Layout/GlobalHeader/Logo.d.ts +4 -0
  24. package/lib/components/Layout/GlobalHeader/Logo.d.ts.map +1 -0
  25. package/lib/components/Layout/GlobalHeader/Logo.js +141 -0
  26. package/lib/components/Layout/GlobalHeader/Logo.js.map +1 -0
  27. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts +6 -0
  28. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts.map +1 -0
  29. package/lib/components/Layout/GlobalHeader/MainHeader.js +228 -0
  30. package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -0
  31. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts +1 -12
  32. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts.map +1 -1
  33. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js +4 -4
  34. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
  35. package/lib/components/Layout/GlobalHeader/RightContent.d.ts +2 -16
  36. package/lib/components/Layout/GlobalHeader/RightContent.d.ts.map +1 -1
  37. package/lib/components/Layout/GlobalHeader/RightContent.js +23 -0
  38. package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -0
  39. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts +4 -0
  40. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts.map +1 -0
  41. package/lib/components/Layout/GlobalHeader/RightMenu.js +274 -0
  42. package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -0
  43. package/lib/components/Layout/GlobalHeader/SearchBar.d.ts +9 -0
  44. package/lib/components/Layout/GlobalHeader/SearchBar.d.ts.map +1 -0
  45. package/lib/components/Layout/GlobalHeader/SearchBar.js +118 -0
  46. package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -0
  47. package/lib/components/Layout/GlobalHeader/index.d.ts +4 -0
  48. package/lib/components/Layout/GlobalHeader/index.d.ts.map +1 -0
  49. package/lib/components/Layout/ProTailwindLayout.d.ts +2 -0
  50. package/lib/components/Layout/ProTailwindLayout.d.ts.map +1 -1
  51. package/lib/components/Layout/ProTailwindLayout.js +7 -3
  52. package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
  53. package/lib/components/Layout/Sidebar/Divider.d.ts +1 -31
  54. package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -1
  55. package/lib/components/Layout/Sidebar/Divider.js.map +1 -1
  56. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts +5 -0
  57. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -0
  58. package/lib/components/Layout/Sidebar/DynamicIcon.js +51 -0
  59. package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -0
  60. package/lib/components/Layout/Sidebar/Sidebar.d.ts +1 -11
  61. package/lib/components/Layout/Sidebar/Sidebar.d.ts.map +1 -1
  62. package/lib/components/Layout/Sidebar/Sidebar.js +117 -78
  63. package/lib/components/Layout/Sidebar/Sidebar.js.map +1 -1
  64. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts +3 -5
  65. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts.map +1 -1
  66. package/lib/components/Layout/Sidebar/SidebarMenu.js +132 -45
  67. package/lib/components/Layout/Sidebar/SidebarMenu.js.map +1 -1
  68. package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
  69. package/lib/components/Layout/TailwindLayout.js +34 -14
  70. package/lib/components/Layout/TailwindLayout.js.map +1 -1
  71. package/lib/components/Layout/getPageTitle.d.ts +1 -16
  72. package/lib/components/Layout/getPageTitle.d.ts.map +1 -1
  73. package/lib/components/Layout/getPageTitle.js +1 -1
  74. package/lib/components/Layout/getPageTitle.js.map +1 -1
  75. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts +4 -0
  76. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -0
  77. package/lib/components/Layout/slot-fill/AdditionalSettings.js +7 -0
  78. package/lib/components/Layout/slot-fill/AdditionalSettings.js.map +1 -0
  79. package/lib/components/Layout/slot-fill/Footer.d.ts +1 -1
  80. package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -1
  81. package/lib/components/Layout/slot-fill/Footer.js +6 -6
  82. package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
  83. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -1
  84. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +3 -0
  85. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -0
  86. package/lib/components/Layout/slot-fill/HeaderSearchBar.js +6 -0
  87. package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -0
  88. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +3 -0
  89. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -0
  90. package/lib/components/Layout/slot-fill/HeaderSearchButton.js +6 -0
  91. package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -0
  92. package/lib/components/Layout/slot-fill/RightContent.d.ts +3 -0
  93. package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -0
  94. package/lib/components/Layout/slot-fill/RightContent.js +6 -0
  95. package/lib/components/Layout/slot-fill/RightContent.js.map +1 -0
  96. package/lib/components/Layout/slot-fill/index.d.ts +4 -0
  97. package/lib/components/Layout/slot-fill/index.d.ts.map +1 -1
  98. package/lib/components/Layout/util.d.ts.map +1 -1
  99. package/lib/components/Layout/util.js +12 -0
  100. package/lib/components/Layout/util.js.map +1 -0
  101. package/lib/components/SettingDrawer/CheckBoxTheme.d.ts +1 -6
  102. package/lib/components/SettingDrawer/CheckBoxTheme.d.ts.map +1 -1
  103. package/lib/components/SettingDrawer/CheckBoxTheme.js +106 -31
  104. package/lib/components/SettingDrawer/CheckBoxTheme.js.map +1 -1
  105. package/lib/components/SettingDrawer/InvitationSettings.d.ts +3 -0
  106. package/lib/components/SettingDrawer/InvitationSettings.d.ts.map +1 -0
  107. package/lib/components/SettingDrawer/InvitationSettings.js +79 -0
  108. package/lib/components/SettingDrawer/InvitationSettings.js.map +1 -0
  109. package/lib/components/SettingDrawer/LayoutChange.d.ts +2 -6
  110. package/lib/components/SettingDrawer/LayoutChange.d.ts.map +1 -1
  111. package/lib/components/SettingDrawer/LayoutChange.js +84 -30
  112. package/lib/components/SettingDrawer/LayoutChange.js.map +1 -1
  113. package/lib/components/SettingDrawer/NavigationsModes.d.ts +3 -0
  114. package/lib/components/SettingDrawer/NavigationsModes.d.ts.map +1 -0
  115. package/lib/components/SettingDrawer/NavigationsModes.js +289 -0
  116. package/lib/components/SettingDrawer/NavigationsModes.js.map +1 -0
  117. package/lib/components/SettingDrawer/RegionalSettings.d.ts +1 -6
  118. package/lib/components/SettingDrawer/RegionalSettings.d.ts.map +1 -1
  119. package/lib/components/SettingDrawer/RegionalSettings.js +696 -51
  120. package/lib/components/SettingDrawer/RegionalSettings.js.map +1 -1
  121. package/lib/components/SettingDrawer/SettingDrawer.d.ts +2 -25
  122. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
  123. package/lib/components/SettingDrawer/SettingDrawer.js +249 -113
  124. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
  125. package/lib/components/SettingDrawer/Switch/index.d.ts +2 -8
  126. package/lib/components/SettingDrawer/Switch/index.d.ts.map +1 -1
  127. package/lib/components/SettingDrawer/Switch/index.js +17 -34
  128. package/lib/components/SettingDrawer/Switch/index.js.map +1 -1
  129. package/lib/components/SettingDrawer/ThemeColor.d.ts +1 -6
  130. package/lib/components/SettingDrawer/ThemeColor.d.ts.map +1 -1
  131. package/lib/components/SettingDrawer/ThemeColor.js +3 -0
  132. package/lib/components/SettingDrawer/ThemeColor.js.map +1 -1
  133. package/lib/components/SettingDrawer/ThemeSelector.d.ts +3 -0
  134. package/lib/components/SettingDrawer/ThemeSelector.d.ts.map +1 -0
  135. package/lib/components/SettingDrawer/ThemeSelector.js +18 -0
  136. package/lib/components/SettingDrawer/ThemeSelector.js.map +1 -0
  137. package/lib/components/SettingDrawer/WebFontsSelector.d.ts +3 -0
  138. package/lib/components/SettingDrawer/WebFontsSelector.d.ts.map +1 -0
  139. package/lib/components/SettingDrawer/WebFontsSelector.js +24 -0
  140. package/lib/components/SettingDrawer/WebFontsSelector.js.map +1 -0
  141. package/lib/components/SettingDrawer/types.d.ts +91 -0
  142. package/lib/components/SettingDrawer/types.d.ts.map +1 -0
  143. package/lib/components/UI/CardList.d.ts +61 -0
  144. package/lib/components/UI/CardList.d.ts.map +1 -0
  145. package/lib/components/UI/CardList.js +43 -0
  146. package/lib/components/UI/CardList.js.map +1 -0
  147. package/lib/components/UI/CategoriesTypeList.d.ts +29 -0
  148. package/lib/components/UI/CategoriesTypeList.d.ts.map +1 -0
  149. package/lib/components/UI/CategoriesTypeList.js +139 -0
  150. package/lib/components/UI/CategoriesTypeList.js.map +1 -0
  151. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts +83 -0
  152. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts.map +1 -0
  153. package/lib/components/UI/LazyLoadingGoogleMarker.js +107 -0
  154. package/lib/components/UI/LazyLoadingGoogleMarker.js.map +1 -0
  155. package/lib/components/UI/Pagination.d.ts +6 -0
  156. package/lib/components/UI/Pagination.d.ts.map +1 -0
  157. package/lib/components/UI/Pagination.js +56 -0
  158. package/lib/components/UI/Pagination.js.map +1 -0
  159. package/lib/components/UI/ParamSearchResultContainer.d.ts +99 -0
  160. package/lib/components/UI/ParamSearchResultContainer.d.ts.map +1 -0
  161. package/lib/components/UI/ParamSearchResultContainer.js +120 -0
  162. package/lib/components/UI/ParamSearchResultContainer.js.map +1 -0
  163. package/lib/components/UI/PropertyCard.d.ts +24 -0
  164. package/lib/components/UI/PropertyCard.d.ts.map +1 -0
  165. package/lib/components/UI/PropertyCard.js +420 -0
  166. package/lib/components/UI/PropertyCard.js.map +1 -0
  167. package/lib/components/UI/PropertyCardOnMap.d.ts +10 -0
  168. package/lib/components/UI/PropertyCardOnMap.d.ts.map +1 -0
  169. package/lib/components/UI/PropertyCardOnMap.js +108 -0
  170. package/lib/components/UI/PropertyCardOnMap.js.map +1 -0
  171. package/lib/components/UI/VehicleCard/PricePopover.d.ts +8 -0
  172. package/lib/components/UI/VehicleCard/PricePopover.d.ts.map +1 -0
  173. package/lib/components/UI/VehicleCard/PricePopover.js +98 -0
  174. package/lib/components/UI/VehicleCard/PricePopover.js.map +1 -0
  175. package/lib/components/UI/VehicleCard/VehicleBadge.d.ts +7 -0
  176. package/lib/components/UI/VehicleCard/VehicleBadge.d.ts.map +1 -0
  177. package/lib/components/UI/VehicleCard/VehicleFeature.d.ts +9 -0
  178. package/lib/components/UI/VehicleCard/VehicleFeature.d.ts.map +1 -0
  179. package/lib/components/UI/VehicleCard/VehicleFeature.js +22 -0
  180. package/lib/components/UI/VehicleCard/VehicleFeature.js.map +1 -0
  181. package/lib/components/UI/VehicleCard/types.d.ts +59 -0
  182. package/lib/components/UI/VehicleCard/types.d.ts.map +1 -0
  183. package/lib/components/UI/VehicleCard.d.ts +15 -0
  184. package/lib/components/UI/VehicleCard.d.ts.map +1 -0
  185. package/lib/components/UI/VehicleCard.js +166 -0
  186. package/lib/components/UI/VehicleCard.js.map +1 -0
  187. package/lib/components/UI/VehicleCardList.d.ts +14 -0
  188. package/lib/components/UI/VehicleCardList.d.ts.map +1 -0
  189. package/lib/components/UI/VehicleCardList.js +38 -0
  190. package/lib/components/UI/VehicleCardList.js.map +1 -0
  191. package/lib/components/UI/VehicleParamSearchResultContainer.d.ts +90 -0
  192. package/lib/components/UI/VehicleParamSearchResultContainer.d.ts.map +1 -0
  193. package/lib/components/UI/icons/LocationIcon.d.ts +7 -0
  194. package/lib/components/UI/icons/LocationIcon.d.ts.map +1 -0
  195. package/lib/components/UI/icons/LocationIcon.js +18 -0
  196. package/lib/components/UI/icons/LocationIcon.js.map +1 -0
  197. package/lib/components/UI/icons/index.d.ts +2 -0
  198. package/lib/components/UI/icons/index.d.ts.map +1 -0
  199. package/lib/components/UI/index.d.ts +10 -0
  200. package/lib/components/UI/index.d.ts.map +1 -0
  201. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +11 -1
  202. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
  203. package/lib/components/index.d.ts +3 -0
  204. package/lib/components/index.d.ts.map +1 -0
  205. package/lib/components/index.js +1 -0
  206. package/lib/components/index.js.map +1 -0
  207. package/lib/components/typings.d.ts +139 -49
  208. package/lib/components/typings.d.ts.map +1 -1
  209. package/lib/components/typings.js +6 -0
  210. package/lib/components/typings.js.map +1 -0
  211. package/lib/compute.d.ts.map +1 -1
  212. package/lib/compute.js +6 -4
  213. package/lib/compute.js.map +1 -1
  214. package/lib/config/analytics-config.d.ts +59 -0
  215. package/lib/config/analytics-config.d.ts.map +1 -0
  216. package/lib/config/constants.d.ts +8 -0
  217. package/lib/config/constants.d.ts.map +1 -0
  218. package/lib/config/constants.js +32 -0
  219. package/lib/config/constants.js.map +1 -0
  220. package/lib/config/env-config.d.ts +18 -0
  221. package/lib/config/env-config.d.ts.map +1 -1
  222. package/lib/config/env-config.js +76 -1
  223. package/lib/config/env-config.js.map +1 -1
  224. package/lib/config/index.d.ts +3 -0
  225. package/lib/config/index.d.ts.map +1 -0
  226. package/lib/helpers/DynamicIcon.d.ts +7 -4
  227. package/lib/helpers/DynamicIcon.d.ts.map +1 -1
  228. package/lib/helpers/DynamicIcon.js +51 -0
  229. package/lib/helpers/DynamicIcon.js.map +1 -0
  230. package/lib/hooks/index.d.ts +6 -0
  231. package/lib/hooks/index.d.ts.map +1 -0
  232. package/lib/hooks/use-get-current-lat-long.d.ts +18 -0
  233. package/lib/hooks/use-get-current-lat-long.d.ts.map +1 -0
  234. package/lib/hooks/use-get-current-lat-long.js +29 -0
  235. package/lib/hooks/use-get-current-lat-long.js.map +1 -0
  236. package/lib/hooks/useMediaQuery.d.ts +14 -0
  237. package/lib/hooks/useMediaQuery.d.ts.map +1 -0
  238. package/lib/hooks/useMediaQuery.js +48 -0
  239. package/lib/hooks/useMediaQuery.js.map +1 -0
  240. package/lib/hooks/useScrollThreshold.d.ts +12 -0
  241. package/lib/hooks/useScrollThreshold.d.ts.map +1 -0
  242. package/lib/hooks/useScrollThreshold.js +60 -0
  243. package/lib/hooks/useScrollThreshold.js.map +1 -0
  244. package/lib/hooks/useTailwindTheme.d.ts +34 -0
  245. package/lib/hooks/useTailwindTheme.d.ts.map +1 -0
  246. package/lib/hooks/useTailwindTheme.js +82 -0
  247. package/lib/hooks/useTailwindTheme.js.map +1 -0
  248. package/lib/hooks/useWindowSize.d.ts +6 -0
  249. package/lib/hooks/useWindowSize.d.ts.map +1 -0
  250. package/lib/hooks/useWindowSize.js +20 -0
  251. package/lib/hooks/useWindowSize.js.map +1 -0
  252. package/lib/icons.d.ts +16 -0
  253. package/lib/icons.d.ts.map +1 -0
  254. package/lib/icons.js +12 -0
  255. package/lib/icons.js.map +1 -0
  256. package/lib/index.d.ts +2 -3
  257. package/lib/index.d.ts.map +1 -1
  258. package/lib/index.js +1 -1
  259. package/lib/index.js.map +1 -1
  260. package/lib/machines/settingsMachine.d.ts +6 -0
  261. package/lib/machines/settingsMachine.d.ts.map +1 -0
  262. package/lib/machines/settingsMachine.js +206 -0
  263. package/lib/machines/settingsMachine.js.map +1 -0
  264. package/lib/machines/types.d.ts +174 -0
  265. package/lib/machines/types.d.ts.map +1 -0
  266. package/lib/machines/types.js +5 -0
  267. package/lib/machines/types.js.map +1 -0
  268. package/lib/middlewares/airbnbDatasourcesMiddleware.d.ts +6 -0
  269. package/lib/middlewares/airbnbDatasourcesMiddleware.d.ts.map +1 -0
  270. package/lib/middlewares/bookingCarRentalMiddleware.d.ts +6 -0
  271. package/lib/middlewares/bookingCarRentalMiddleware.d.ts.map +1 -0
  272. package/lib/middlewares/bookingDatasourcesMiddleware.d.ts +7 -0
  273. package/lib/middlewares/bookingDatasourcesMiddleware.d.ts.map +1 -0
  274. package/lib/middlewares/datasourcesMiddleware.d.ts +6 -0
  275. package/lib/middlewares/datasourcesMiddleware.d.ts.map +1 -0
  276. package/lib/middlewares/pricelineDatasourcesMiddleware.d.ts +7 -0
  277. package/lib/middlewares/pricelineDatasourcesMiddleware.d.ts.map +1 -0
  278. package/lib/module.d.ts +0 -1
  279. package/lib/module.d.ts.map +1 -1
  280. package/lib/module.js +14 -15
  281. package/lib/module.js.map +1 -1
  282. package/lib/redux/index.d.ts +2 -0
  283. package/lib/redux/index.d.ts.map +1 -0
  284. package/lib/redux/searchReducer.d.ts +42 -0
  285. package/lib/redux/searchReducer.d.ts.map +1 -0
  286. package/lib/redux/searchReducer.js +64 -0
  287. package/lib/redux/searchReducer.js.map +1 -0
  288. package/lib/routes.json +1 -0
  289. package/lib/styles/index.css +667 -45
  290. package/lib/tailwindConfig.d.ts +100 -0
  291. package/lib/tailwindConfig.d.ts.map +1 -0
  292. package/lib/tailwindConfig.js +101 -0
  293. package/lib/tailwindConfig.js.map +1 -0
  294. package/lib/utils/analytics-utils.d.ts +43 -0
  295. package/lib/utils/analytics-utils.d.ts.map +1 -0
  296. package/lib/utils/analytics.d.ts +48 -0
  297. package/lib/utils/analytics.d.ts.map +1 -0
  298. package/lib/utils/formateCarData.d.ts +2 -0
  299. package/lib/utils/formateCarData.d.ts.map +1 -0
  300. package/lib/utils/menu.d.ts.map +1 -1
  301. package/lib/utils/test-utils.d.ts.map +1 -1
  302. package/lib/utils/utils/index.d.ts.map +1 -1
  303. package/package.json +7 -5
  304. package/lib/components/Layout/GlobalFooter/Copyright.js +0 -8
  305. package/lib/components/Layout/GlobalFooter/Copyright.js.map +0 -1
  306. package/lib/components/Layout/GlobalFooter/Footer.js +0 -22
  307. package/lib/components/Layout/GlobalFooter/Footer.js.map +0 -1
  308. package/lib/components/defaultSettings.d.ts +0 -4
  309. package/lib/components/defaultSettings.d.ts.map +0 -1
  310. package/lib/components/defaultSettings.js +0 -14
  311. package/lib/components/defaultSettings.js.map +0 -1
  312. package/lib/utils/index.d.ts +0 -2
  313. package/lib/utils/index.d.ts.map +0 -1
  314. package/lib/utils/index.js +0 -13
  315. package/lib/utils/index.js.map +0 -1
package/README.md CHANGED
@@ -1 +1,401 @@
1
- # Tailwind UI
1
+ # Tailwind Design Pro
2
+
3
+ A universal tailwind design system with multi-theme support and CSS custom properties for seamless theme switching.
4
+
5
+ ## Features
6
+
7
+ - **Multi-Theme System**: 5 pre-built themes (Default, Airbnb, Slack, GitHub, Spotify)
8
+ - **CSS Custom Properties**: Theme-aware styling with CSS variables
9
+ - **Dark/Light Mode**: Automatic theme switching with persistent preferences
10
+ - **Component Library**: Pre-built UI components with theme integration
11
+ - **Responsive Design**: Mobile-first approach with consistent breakpoints
12
+ - **Accessibility**: WCAG compliant color contrasts and focus states
13
+
14
+ ## Quick Start
15
+
16
+ ### 1. Install the package
17
+
18
+ ```bash
19
+ npm install @admin-layout/tailwind-design-pro
20
+ ```
21
+
22
+ ### 2. Import the CSS
23
+
24
+ ```typescript
25
+ // In your main CSS file or entry point
26
+ import '@admin-layout/tailwind-design-pro/src/styles/index.css';
27
+ ```
28
+
29
+ ### 3. Configure Tailwind
30
+
31
+ ```typescript
32
+ // tailwind.config.ts
33
+ import { themeConfig } from '@admin-layout/tailwind-design-pro';
34
+
35
+ export default {
36
+ content: ['./src/**/*.{js,jsx,ts,tsx}', '../../packages/**/*.{js,jsx,ts,tsx}'],
37
+ theme: {
38
+ extend: themeConfig,
39
+ },
40
+ darkMode: 'class',
41
+ plugins: [],
42
+ };
43
+ ```
44
+
45
+ ### 4. Set up Theme Provider
46
+
47
+ ```tsx
48
+ import { ThemeProviderTailwind } from '@admin-layout/tailwind-ui';
49
+
50
+ const App = () => {
51
+ const settings = {
52
+ theme: 'default', // 'default', 'airbnb', 'slack', 'github', 'spotify'
53
+ navTheme: 'light', // 'light' or 'dark'
54
+ primaryColor: '#000000',
55
+ fontFamily: 'Inter, sans-serif',
56
+ };
57
+
58
+ return (
59
+ <ThemeProviderTailwind settings={settings} actor={actor}>
60
+ <YourApp />
61
+ </ThemeProviderTailwind>
62
+ );
63
+ };
64
+ ```
65
+
66
+ ## Available Themes
67
+
68
+ ### 1. Default Theme
69
+
70
+ - Clean, professional design
71
+ - Neutral color palette
72
+ - Perfect for business applications
73
+
74
+ ### 2. Airbnb Theme
75
+
76
+ - Warm, welcoming colors
77
+ - Red accent colors
78
+ - Great for hospitality and travel apps
79
+
80
+ ### 3. Slack Theme
81
+
82
+ - Purple-based design
83
+ - Modern, collaborative feel
84
+ - Ideal for team communication tools
85
+
86
+ ### 4. GitHub Theme
87
+
88
+ - Dark, developer-friendly
89
+ - High contrast design
90
+ - Perfect for developer tools
91
+
92
+ ### 5. Spotify Theme
93
+
94
+ - Green accent colors
95
+ - Music and entertainment focused
96
+ - Great for media applications
97
+
98
+ ## Theme-Aware CSS Classes
99
+
100
+ The design system provides theme-aware CSS classes that automatically adapt to the current theme:
101
+
102
+ ### Background Colors
103
+
104
+ ```css
105
+ .bg-background /* Main background */
106
+ /* Main background */
107
+ .bg-card /* Card background */
108
+ .bg-popover /* Popover background */
109
+ .bg-muted /* Muted background */
110
+ .bg-accent; /* Accent background */
111
+ ```
112
+
113
+ ### Text Colors
114
+
115
+ ```css
116
+ .text-foreground /* Primary text */
117
+ /* Primary text */
118
+ .text-muted-foreground /* Secondary text */
119
+ .text-primary /* Primary brand color */
120
+ .text-secondary /* Secondary brand color */
121
+ .text-accent; /* Accent color */
122
+ ```
123
+
124
+ ### Semantic Colors
125
+
126
+ ```css
127
+ .text-success /* Success text */
128
+ /* Success text */
129
+ .text-warning /* Warning text */
130
+ .text-error /* Error text */
131
+ .text-info /* Info text */
132
+ .bg-success /* Success background */
133
+ .bg-warning /* Warning background */
134
+ .bg-error /* Error background */
135
+ .bg-info; /* Info background */
136
+ ```
137
+
138
+ ### Component Classes
139
+
140
+ ```css
141
+ .themed-button /* Theme-aware button */
142
+ /* Theme-aware button */
143
+ .themed-card /* Theme-aware card */
144
+ .themed-input /* Theme-aware input */
145
+ .themed-modal /* Theme-aware modal */
146
+ .themed-dropdown /* Theme-aware dropdown */
147
+ .themed-sidebar; /* Theme-aware sidebar */
148
+ ```
149
+
150
+ ### Interactive Classes
151
+
152
+ ```css
153
+ .interactive-hover /* Hover effects */
154
+ /* Hover effects */
155
+ .focus-themed /* Focus states */
156
+ .rounded-themed /* Theme-aware border radius */
157
+ .shadow-themed-sm /* Theme-aware shadows */
158
+ .shadow-themed-md
159
+ .shadow-themed-lg
160
+ .shadow-themed-xl;
161
+ ```
162
+
163
+ ## Using Theme-Aware Components
164
+
165
+ ### Basic Usage
166
+
167
+ ```tsx
168
+ import { Button, Card, CardContent, CardHeader, CardTitle } from '@admin-layout/tailwind-ui';
169
+
170
+ const MyComponent = () => {
171
+ return (
172
+ <div className="bg-background text-foreground p-6">
173
+ <Card className="themed-card">
174
+ <CardHeader>
175
+ <CardTitle className="text-foreground">Card Title</CardTitle>
176
+ </CardHeader>
177
+ <CardContent>
178
+ <p className="text-muted-foreground">Card content</p>
179
+ <Button className="themed-button interactive-hover">Click Me</Button>
180
+ </CardContent>
181
+ </Card>
182
+ </div>
183
+ );
184
+ };
185
+ ```
186
+
187
+ ### Form Components
188
+
189
+ ```tsx
190
+ const FormExample = () => {
191
+ return (
192
+ <form className="space-y-4">
193
+ <div>
194
+ <label className="text-foreground font-medium">Email</label>
195
+ <input type="email" className="w-full themed-input focus-themed" placeholder="Enter your email" />
196
+ </div>
197
+ <Button type="submit" className="themed-button">
198
+ Submit
199
+ </Button>
200
+ </form>
201
+ );
202
+ };
203
+ ```
204
+
205
+ ### Theme Switching
206
+
207
+ ```tsx
208
+ import { useTheme } from '@admin-layout/tailwind-ui';
209
+
210
+ const ThemeSwitcher = () => {
211
+ const { theme, mode, toggleMode, setTheme, setMode } = useTheme();
212
+
213
+ return (
214
+ <div className="space-x-2">
215
+ <Button
216
+ onClick={() => setTheme('airbnb')}
217
+ className={theme === 'airbnb' ? 'themed-button' : 'bg-muted text-foreground'}
218
+ >
219
+ Airbnb
220
+ </Button>
221
+ <Button
222
+ onClick={() => setTheme('slack')}
223
+ className={theme === 'slack' ? 'themed-button' : 'bg-muted text-foreground'}
224
+ >
225
+ Slack
226
+ </Button>
227
+ <Button onClick={toggleDarkMode}>{mode === 'dark' ? 'Light' : 'Dark'} Mode</Button>
228
+ </div>
229
+ );
230
+ };
231
+ ```
232
+
233
+ ## CSS Custom Properties
234
+
235
+ The design system uses CSS custom properties for dynamic theming:
236
+
237
+ ### Color Variables
238
+
239
+ ```css
240
+ :root {
241
+ --background: 0 0% 100%;
242
+ --foreground: 222.2 84% 4.9%;
243
+ --primary: 222.2 47.4% 11.2%;
244
+ --primary-foreground: 210 40% 98%;
245
+ --secondary: 210 40% 96.1%;
246
+ --secondary-foreground: 222.2 47.4% 11.2%;
247
+ --muted: 210 40% 96.1%;
248
+ --muted-foreground: 215.4 16.3% 46.9%;
249
+ --accent: 210 40% 96.1%;
250
+ --accent-foreground: 222.2 47.4% 11.2%;
251
+ --destructive: 0 84.2% 60.2%;
252
+ --destructive-foreground: 210 40% 98%;
253
+ --border: 214.3 31.8% 91.4%;
254
+ --input: 214.3 31.8% 91.4%;
255
+ --ring: 222.2 84% 4.9%;
256
+ --radius: 0.5rem;
257
+ }
258
+ ```
259
+
260
+ ### Theme-Specific Variables
261
+
262
+ Each theme has its own set of variables:
263
+
264
+ ```css
265
+ [data-theme='airbnb'] {
266
+ --primary: 0 100% 60%;
267
+ --background: 0 0% 100%;
268
+ /* ... other theme-specific variables */
269
+ }
270
+ ```
271
+
272
+ ## Best Practices
273
+
274
+ ### 1. Use Theme-Aware Classes
275
+
276
+ ```tsx
277
+ // ✅ Good - Theme-aware
278
+ <div className="bg-background text-foreground">
279
+ <Button className="themed-button">Click</Button>
280
+ </div>
281
+
282
+ // ❌ Avoid - Hardcoded colors
283
+ <div className="bg-white text-black">
284
+ <Button className="bg-blue-500 text-white">Click</Button>
285
+ </div>
286
+ ```
287
+
288
+ ### 2. Leverage Semantic Colors
289
+
290
+ ```tsx
291
+ // ✅ Good - Semantic meaning
292
+ <div className="text-success">Success message</div>
293
+ <div className="text-error">Error message</div>
294
+
295
+ // ❌ Avoid - Hardcoded colors
296
+ <div className="text-green-500">Success message</div>
297
+ <div className="text-red-500">Error message</div>
298
+ ```
299
+
300
+ ### 3. Use Interactive Classes
301
+
302
+ ```tsx
303
+ // ✅ Good - Built-in interactions
304
+ <Button className="themed-button interactive-hover">
305
+ Hover me
306
+ </Button>
307
+
308
+ // ❌ Avoid - Custom hover states
309
+ <Button className="themed-button hover:scale-105 hover:shadow-lg">
310
+ Hover me
311
+ </Button>
312
+ ```
313
+
314
+ ### 4. Responsive Design
315
+
316
+ ```tsx
317
+ // ✅ Good - Responsive with theme
318
+ <div className="bg-background p-4 md:p-6 lg:p-8">
319
+ <Card className="themed-card">
320
+ <CardContent className="p-4 md:p-6">Content</CardContent>
321
+ </Card>
322
+ </div>
323
+ ```
324
+
325
+ ## Migration Guide
326
+
327
+ ### From Inline Styles to CSS Classes
328
+
329
+ **Before:**
330
+
331
+ ```tsx
332
+ const { theme, isDarkMode } = useTheme();
333
+ const textColor = isDarkMode ? theme.colors.text.dark.primary : theme.colors.text.light.primary;
334
+
335
+ <div style={{ color: textColor, backgroundColor: theme.colors.background.light }}>Content</div>;
336
+ ```
337
+
338
+ **After:**
339
+
340
+ ```tsx
341
+ <div className="bg-background text-foreground">Content</div>
342
+ ```
343
+
344
+ ### From Custom Components to Theme-Aware Components
345
+
346
+ **Before:**
347
+
348
+ ```tsx
349
+ <button
350
+ style={{
351
+ backgroundColor: theme.components.buttons.primary.background,
352
+ color: theme.components.buttons.primary.text,
353
+ borderRadius: theme.components.buttons.primary.borderRadius,
354
+ }}
355
+ >
356
+ Button
357
+ </button>
358
+ ```
359
+
360
+ **After:**
361
+
362
+ ```tsx
363
+ <Button className="themed-button">Button</Button>
364
+ ```
365
+
366
+ ## Troubleshooting
367
+
368
+ ### Theme Not Applying
369
+
370
+ 1. Ensure CSS is imported: `import '@admin-layout/tailwind-design-pro/src/styles/index.css'`
371
+ 2. Check that `ThemeProviderTailwind` wraps your app
372
+ 3. Verify theme name is valid: `'default'`, `'airbnb'`, `'slack'`, `'github'`, `'spotify'`
373
+
374
+ ### Dark Mode Not Working
375
+
376
+ 1. Check `navTheme` setting: `'light'` or `'dark'`
377
+ 2. Ensure `darkMode: 'class'` in Tailwind config
378
+ 3. Verify CSS custom properties are being applied
379
+
380
+ ### Components Not Styled
381
+
382
+ 1. Use theme-aware classes: `themed-button`, `themed-card`, etc.
383
+ 2. Import components from `@admin-layout/tailwind-ui`
384
+ 3. Check that CSS custom properties are loaded
385
+
386
+ ## Contributing
387
+
388
+ When contributing to the theme system:
389
+
390
+ 1. **Follow the CSS Custom Properties pattern**
391
+ 2. **Use semantic color names**
392
+ 3. **Test across all themes**
393
+ 4. **Ensure accessibility compliance**
394
+ 5. **Update documentation for new features**
395
+
396
+ ## Examples
397
+
398
+ See the demo applications for complete examples:
399
+
400
+ - `packages-modules/demo/tailwind-browser` - Tailwind examples
401
+ - `packages-modules/demo/chakra-browser` - Chakra UI examples
@@ -5,6 +5,8 @@
5
5
  "header": "Header",
6
6
  "footer": "Footer",
7
7
  "search_bar": "Search Bar",
8
+ "search_bar_on_scroll": "Show Search Bar on Scroll",
9
+ "search_bar_overlay": "Show Overlay on Search",
8
10
  "menu": "Menu",
9
11
  "menu_header": "Menu Header",
10
12
  "setting": "Setting",
@@ -15,5 +17,42 @@
15
17
  "other_setting": "Other Setting",
16
18
  "weak_mode": "Weak Mode",
17
19
  "light": "Light",
18
- "dark": "Dark"
20
+ "dark": "Dark",
21
+ "font_family": "Font Family",
22
+ "select_theme": "Select Theme",
23
+ "scroll_threshold": "Searchbar Scroll Threshold",
24
+ "menu_divider_names": "Menu Divider Names",
25
+ "upper_menu_divider": "Upper Menu Divider",
26
+ "middle_menu_divider": "Middle Menu Divider",
27
+ "lower_menu_divider": "Lower Menu Divider",
28
+ "header_elements": "Header Elements",
29
+ "show_logo": "Show Logo",
30
+ "show_search_slot": "Show Search Slot",
31
+ "show_right_content": "Show Right Content",
32
+ "desktop_settings": "Desktop Settings",
33
+ "mobile_settings": "Mobile Settings",
34
+ "show_menu_toggle": "Show Menu Toggle",
35
+ "show_back_button": "Show Back Button",
36
+ "show_page_title": "Show Page Title",
37
+ "show_action_buttons": "Show Action Buttons",
38
+ "show_header": "Show Header",
39
+ "background_color": "Background Color",
40
+ "background_type": "Background Type",
41
+ "background": "Background",
42
+ "color": "Color",
43
+ "image": "Image",
44
+ "video": "Video",
45
+ "image_url": "Image URL",
46
+ "video_url": "Video URL",
47
+ "video_thumbnail": "Video Thumbnail URL",
48
+ "desktop_background": "Desktop Background",
49
+ "mobile_background": "Mobile Background",
50
+ "device_settings": "Device Settings",
51
+ "desktop_tab": "Desktop",
52
+ "mobile_tab": "Mobile",
53
+ "invitation_settings": "Invitation Settings",
54
+ "show_email_invite": "Show Email Invite",
55
+ "show_sms_invite": "Show SMS Invite",
56
+ "show_qr_code_invite": "Show QR Code Invite",
57
+ "show_invite_link": "Show Invite Link"
19
58
  }
@@ -5,15 +5,54 @@
5
5
  "header": "Encabezado",
6
6
  "footer": "Pie de Página",
7
7
  "search_bar": "Barra de Búsqueda",
8
+ "search_bar_on_scroll": "Mostrar Barra de Búsqueda al Desplazar",
9
+ "search_bar_overlay": "Mostrar Superposición en Búsqueda",
8
10
  "menu": "Menú",
9
11
  "menu_header": "Encabezado del Menú",
10
12
  "setting": "Configuración",
11
- "page_style_settings": "Configuraciones de Estilo de Página",
13
+ "page_style_settings": "Configuración de Estilo de Página",
12
14
  "theme_color": "Color del Tema",
13
15
  "navigation_mode": "Modo de Navegación",
14
- "regional_rettings": "Configuraciones Regionales",
16
+ "regional_rettings": "Configuración Regional",
15
17
  "other_setting": "Otra Configuración",
16
18
  "weak_mode": "Modo Débil",
17
19
  "light": "Claro",
18
- "dark": "Oscuro"
20
+ "dark": "Oscuro",
21
+ "font_family": "Familia de Fuente",
22
+ "select_theme": "Seleccionar Tema",
23
+ "scroll_threshold": "Umbral de Desplazamiento de la Barra de Búsqueda",
24
+ "menu_divider_names": "Nombres de Divisores de Menú",
25
+ "upper_menu_divider": "Divisor Superior del Menú",
26
+ "middle_menu_divider": "Divisor Medio del Menú",
27
+ "lower_menu_divider": "Divisor Inferior del Menú",
28
+ "header_elements": "Elementos del Encabezado",
29
+ "show_logo": "Mostrar Logo",
30
+ "show_search_slot": "Mostrar Espacio de Búsqueda",
31
+ "show_right_content": "Mostrar Contenido Derecho",
32
+ "desktop_settings": "Configuración de Escritorio",
33
+ "mobile_settings": "Configuración Móvil",
34
+ "show_menu_toggle": "Mostrar Alternador de Menú",
35
+ "show_back_button": "Mostrar Botón Atrás",
36
+ "show_page_title": "Mostrar Título de Página",
37
+ "show_action_buttons": "Mostrar Botones de Acción",
38
+ "show_header": "Mostrar Encabezado",
39
+ "background_color": "Color de Fondo",
40
+ "background_type": "Tipo de Fondo",
41
+ "background": "Fondo",
42
+ "color": "Color",
43
+ "image": "Imagen",
44
+ "video": "Video",
45
+ "image_url": "URL de Imagen",
46
+ "video_url": "URL de Video",
47
+ "video_thumbnail": "URL de Miniatura de Video",
48
+ "desktop_background": "Fondo de Escritorio",
49
+ "mobile_background": "Fondo Móvil",
50
+ "device_settings": "Configuración de Dispositivo",
51
+ "desktop_tab": "Escritorio",
52
+ "mobile_tab": "Móvil",
53
+ "invitation_settings": "Configuración de Invitaciones",
54
+ "show_email_invite": "Mostrar Invitación por Correo Electrónico",
55
+ "show_sms_invite": "Mostrar Invitación por SMS",
56
+ "show_qr_code_invite": "Mostrar Invitación por Código QR",
57
+ "show_invite_link": "Mostrar Enlace de Invitación"
19
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LanguageMenu.d.ts","sourceRoot":"","sources":["../../../src/components/LanguageMenu/LanguageMenu.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,+CA6FxB,CAAC"}
1
+ {"version":3,"file":"LanguageMenu.d.ts","sourceRoot":"","sources":["../../../src/components/LanguageMenu/LanguageMenu.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY,+CAyFxB,CAAC"}
@@ -1,4 +1,4 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect}from'react';import {useTranslation}from'react-i18next';import {useMediaQuery}from'react-responsive';import {useAppDispatch,languages,CHANGE_LANGUAGE}from'@admin-layout/client';import config from'@app/cde-webconfig.json';const LanguageMenu = () => {
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect}from'react';import {useTranslation}from'react-i18next';import {useMediaQuery}from'react-responsive';import {useAppDispatch,languages,CHANGE_LANGUAGE}from'@admin-layout/client';import {Globe}from'lucide-react';import config from'@app/cde-webconfig.json';const LanguageMenu = () => {
2
2
  const isMobile = useMediaQuery({
3
3
  maxWidth: 767
4
4
  });
@@ -55,14 +55,9 @@ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect}from'
55
55
  ref: dropdownRef,
56
56
  children: [jsxs("button", {
57
57
  onClick: toggleDropdown,
58
- className: "flex items-center gap-1 px-3 py-1 border border-gray-500 rounded-full h-9 hover:bg-gray-100 transition-colors duration-200",
59
- children: [currentLang.global ? jsx("svg", {
60
- className: "w-5 h-5",
61
- fill: "currentColor",
62
- viewBox: "0 0 24 24",
63
- children: jsx("path", {
64
- d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"
65
- })
58
+ className: "flex items-center gap-1 px-3 py-1 border border-border rounded-full h-9 hover:bg-muted transition-colors duration-200 bg-background text-foreground",
59
+ children: [currentLang.global ? jsx(Globe, {
60
+ className: "w-5 h-5"
66
61
  }) : jsx("span", {
67
62
  className: "text-lg",
68
63
  children: currentLang.flag
@@ -71,17 +66,12 @@ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect}from'
71
66
  children: isMobile ? currentLang.key.toUpperCase() : currentLang.label
72
67
  })]
73
68
  }), isOpen && jsx("div", {
74
- className: "absolute right-0 mt-1 bg-white border border-gray-200 rounded-md shadow-lg z-10 w-40 max-h-60 overflow-y-auto",
69
+ className: "absolute right-0 mt-1 themed-dropdown w-40 max-h-60 overflow-y-auto",
75
70
  children: filteredLanguages.map(language => jsxs("div", {
76
- className: "px-4 py-2 flex items-center gap-2 hover:bg-gray-100 cursor-pointer",
71
+ className: "px-4 py-2 flex items-center gap-2 hover:bg-muted cursor-pointer text-foreground",
77
72
  onClick: () => handleLanguageChange(language),
78
- children: [language.global ? jsx("svg", {
79
- className: "w-4 h-4",
80
- fill: "currentColor",
81
- viewBox: "0 0 24 24",
82
- children: jsx("path", {
83
- d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"
84
- })
73
+ children: [language.global ? jsx(Globe, {
74
+ className: "w-4 h-4"
85
75
  }) : jsx("span", {
86
76
  className: "text-base",
87
77
  children: language.flag
@@ -1 +1 @@
1
- {"version":3,"file":"LanguageMenu.js","sources":["../../../src/components/LanguageMenu/LanguageMenu.tsx"],"sourcesContent":[null],"names":[],"mappings":"uSAOO,MAAM,YAAY,GAAG,MAAK;QACvB,QAAA,GAAW,aAAA,CAAA;IACjB,QAAa,EAAA;AACb,GAAA,CAAA;AACA,EAAA,MAAA,CAAA,MAAY,EAAA,SAAK,CAAA,GAAA,QAAiB,CAAA,IAAA,CAAA;AAClC,EAAA,MAAA,QAAY,iBAAiB,EAAE;AAC/B,EAAA,MAAA;AACI,IAAA;AACA,GAAA,GAAA,cAAgB,EAAA;AAChB,EAAA,MAAA;AACA,IAAA,IAAA,EAAA;AACH,GAAA,GAAC,MAAC;QACG,CAAA,WAAkB,EAAA,cAAY,CAAA,GAAA,QAAQ,CAAA;AAC5C,IAAA,GAAA,EAAA;IAEA,KAAM,EAAA,SAAA;IAEN,IAAS,EAAA;AACL,IAAA,MAAA,EAAA;AACI,GAAA,CAAA;AACA,EAAA,MAAA,CAAA,MAAA,EAAA,SAAe,CAAA,GAAA,QAAA,CAAA,KAAA,CAAA;AAClB,EAAA,MAAA,WAAE,GAAA,MAAA,CAAA,IAAA,CAAA;AACP,EAAA,MAAI,iBAAiB,GAAE,SAAA,CAAA,MAAA,CAAA,QAAA,IAAA,eAAA,CAAA,aAAA,CAAA,QAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA;WAEd,CAAA,MAAM;AACX,IAAA,QAAA,CAAA;AACI,MAAA,IAAA,EAAA,eAAe;;;AAGnB,GAAA,EAAA,CAAA,MAAE,EAAA,QAAA,CAAA,CAAA;AAEF,EAAA,SAAA,CAAA,MAAyB;AACzB,IAAA,MAAA,kBAAY,GAAA,KAAA,IAAA;AACR,MAAA,IAAA,WAAS,CAAmB,OAAA,IAAA,CAAA,mBAAc,CAAA,QAAA,CAAA,KAAA,CAAA,MAAoB,CAAA,EAAA;AAClE,QAAA,SAAE,CAAA,KAAA,CAAA;;AAGN,KAAA;AACI,IAAA,QAAA,CAAA,gBAAe,CAAA,WAAA,EAAA,kBAAA,CAAA;iBACN;cACA,CAAA,mBAAgB,CAAA,WAAA,EAAA,kBAAA,CAAA;;;AAGxB,EAAA,MAAA,oBAAE,GAAA,QAAA,IAAA;AACH,IAAA,cAAmB,CAAA;AACnB,MAAA,GAAA,EAAA,QAAU,CAAA,GAAA;WACD,EAAA,QAAM,CAAA,KAAE;AACrB,MAAE,IAAA,EAAA,QAAA,CAAA,IAAA;MAEI,MAAA,EAAA,QAAA,CAAA;AACF,KAAA,CAAA;AACJ,IAAA,IAAE,CAAA,cAAA,CAAA,QAAA,CAAA,GAAA,CAAA;IAEF,uBACS;AAuCb,IAAE,SAAA,CAAA,KAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"LanguageMenu.js","sources":["../../../src/components/LanguageMenu/LanguageMenu.tsx"],"sourcesContent":[null],"names":[],"mappings":"wUAQO,MAAM,YAAY,GAAG,MAAK;QACvB,QAAA,GAAW,aAAA,CAAA;IACjB,QAAa,EAAA;AACb,GAAA,CAAA;AACA,EAAA,MAAA,CAAA,MAAY,EAAA,SAAK,CAAA,GAAA,QAAiB,CAAA,IAAA,CAAA;AAClC,EAAA,MAAA,QAAY,iBAAiB,EAAE;AAC/B,EAAA,MAAA;AACI,IAAA;AACA,GAAA,GAAA,cAAgB,EAAA;AAChB,EAAA,MAAA;AACA,IAAA,IAAA,EAAA;AACH,GAAA,GAAC,MAAC;QACG,CAAA,WAAkB,EAAA,cAAY,CAAA,GAAA,QAAQ,CAAA;AAC5C,IAAA,GAAA,EAAA;IAEA,KAAM,EAAA,SAAA;IAEN,IAAS,EAAA;AACL,IAAA,MAAA,EAAA;AACI,GAAA,CAAA;AACA,EAAA,MAAA,CAAA,MAAA,EAAA,SAAe,CAAA,GAAA,QAAA,CAAA,KAAA,CAAA;AAClB,EAAA,MAAA,WAAE,GAAA,MAAA,CAAA,IAAA,CAAA;AACP,EAAA,MAAI,iBAAiB,GAAE,SAAA,CAAA,MAAA,CAAA,QAAA,IAAA,eAAA,CAAA,aAAA,CAAA,QAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA;WAEd,CAAA,MAAM;AACX,IAAA,QAAA,CAAA;AACI,MAAA,IAAA,EAAA,eAAe;;;AAGnB,GAAA,EAAA,CAAA,MAAE,EAAA,QAAA,CAAA,CAAA;AAEF,EAAA,SAAA,CAAA,MAAyB;AACzB,IAAA,MAAA,kBAAY,GAAA,KAAA,IAAA;AACR,MAAA,IAAA,WAAS,CAAmB,OAAA,IAAA,CAAA,mBAAc,CAAA,QAAA,CAAA,KAAA,CAAA,MAAoB,CAAA,EAAA;AAClE,QAAA,SAAE,CAAA,KAAA,CAAA;;AAGN,KAAA;AACI,IAAA,QAAA,CAAA,gBAAe,CAAA,WAAA,EAAA,kBAAA,CAAA;iBACN;cACA,CAAA,mBAAgB,CAAA,WAAA,EAAA,kBAAA,CAAA;;;AAGxB,EAAA,MAAA,oBAAE,GAAA,QAAA,IAAA;AACH,IAAA,cAAmB,CAAA;AACnB,MAAA,GAAA,EAAA,QAAU,CAAA,GAAA;WACD,EAAA,QAAM,CAAA,KAAE;AACrB,MAAE,IAAA,EAAA,QAAA,CAAA,IAAA;MAEI,MAAA,EAAA,QAAA,CAAA;AACF,KAAA,CAAA;AACJ,IAAA,IAAE,CAAA,cAAA,CAAA,QAAA,CAAA,GAAA,CAAA;AAEF,IAAA,SACS,CAAA,QAAA,CAAA,GAAA,CAAA;AAmCb,IAAE,SAAA,CAAA,KAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,12 +1,6 @@
1
1
  import React from 'react';
2
2
  import { BasicLayoutProps, GlobalHeaderProps } from '@admin-layout/client';
3
- interface ThemeContextType {
4
- isDarkMode: boolean;
5
- toggleTheme: () => void;
6
- }
7
- export declare const useTheme: () => ThemeContextType;
8
- export declare const useHorizontalScroll: ({ scrolled, setScrolled, setSearchOptionsShown, onScrollReachEnd }: {
9
- scrolled: any;
3
+ export declare const useHorizontalScroll: ({ setScrolled, setSearchOptionsShown, onScrollReachEnd }: {
10
4
  setScrolled: any;
11
5
  setSearchOptionsShown: any;
12
6
  onScrollReachEnd: any;
@@ -15,5 +9,4 @@ export declare const BasicLayout: React.FC<BasicLayoutProps & GlobalHeaderProps
15
9
  routeParams?: any;
16
10
  children?: React.ReactNode;
17
11
  }>;
18
- export {};
19
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/BasicLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAOtF,OAAO,EACH,gBAAgB,EAGhB,iBAAiB,EAEpB,MAAM,sBAAsB,CAAC;AAK9B,UAAU,gBAAgB;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,IAAI,CAAC;CAC3B;AAID,eAAO,MAAM,QAAQ,wBAIpB,CAAC;AACF,eAAO,MAAM,mBAAmB;;;;;uCA6B/B,CAAC;AAgCF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAC9B,gBAAgB,GAAG,iBAAiB,GAAG;IAAE,WAAW,CAAC,EAAE,GAAG,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CA4I3F,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/BasicLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAOtF,OAAO,EACH,gBAAgB,EAGhB,iBAAiB,EAIpB,MAAM,sBAAsB,CAAC;AAS9B,eAAO,MAAM,mBAAmB,GAAI;;;;CAAwD,sCAkC3F,CAAC;AAgCF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAC9B,gBAAgB,GAAG,iBAAiB,GAAG;IAAE,WAAW,CAAC,EAAE,GAAG,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAgR3F,CAAC"}