@admin-layout/tailwind-design-pro 10.1.1-alpha.9 → 11.2.1-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 (443) hide show
  1. package/README.md +376 -250
  2. package/lib/cdm-locales/en/menu.json +2 -1
  3. package/lib/cdm-locales/en/settings.json +6 -1
  4. package/lib/cdm-locales/es/menu.json +2 -1
  5. package/lib/cdm-locales/es/settings.json +6 -1
  6. package/lib/cdm-locales/index.d.ts +2 -0
  7. package/lib/cdm-locales/index.d.ts.map +1 -0
  8. package/lib/cdm-locales/index.ts +1 -0
  9. package/lib/components/LanguageMenu/LanguageMenu.d.ts +2 -1
  10. package/lib/components/LanguageMenu/LanguageMenu.d.ts.map +1 -1
  11. package/lib/components/LanguageMenu/LanguageMenu.js +40 -61
  12. package/lib/components/LanguageMenu/LanguageMenu.js.map +1 -1
  13. package/lib/components/Layout/BasicLayout/index.d.ts +6 -5
  14. package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
  15. package/lib/components/Layout/BasicLayout/index.js +255 -175
  16. package/lib/components/Layout/BasicLayout/index.js.map +1 -1
  17. package/lib/components/Layout/BasicLayout/utils.d.ts +4 -2
  18. package/lib/components/Layout/BasicLayout/utils.d.ts.map +1 -1
  19. package/lib/components/Layout/BasicLayout/utils.js +80 -109
  20. package/lib/components/Layout/BasicLayout/utils.js.map +1 -1
  21. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts.map +1 -1
  22. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js +28 -38
  23. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
  24. package/lib/components/Layout/GlobalFooter/Copyright.d.ts +2 -1
  25. package/lib/components/Layout/GlobalFooter/Copyright.d.ts.map +1 -1
  26. package/lib/components/Layout/GlobalFooter/Footer.d.ts +2 -1
  27. package/lib/components/Layout/GlobalFooter/Footer.d.ts.map +1 -1
  28. package/lib/components/Layout/GlobalHeader/Header.d.ts +0 -1
  29. package/lib/components/Layout/GlobalHeader/Header.d.ts.map +1 -1
  30. package/lib/components/Layout/GlobalHeader/Header.js +82 -66
  31. package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
  32. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts +0 -2
  33. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts.map +1 -1
  34. package/lib/components/Layout/GlobalHeader/MainHeader.js +119 -162
  35. package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -1
  36. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts.map +1 -1
  37. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js +26 -30
  38. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
  39. package/lib/components/Layout/GlobalHeader/RightContent.d.ts +1 -0
  40. package/lib/components/Layout/GlobalHeader/RightContent.d.ts.map +1 -1
  41. package/lib/components/Layout/GlobalHeader/RightContent.js +82 -19
  42. package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -1
  43. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts.map +1 -1
  44. package/lib/components/Layout/GlobalHeader/RightMenu.js +116 -158
  45. package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -1
  46. package/lib/components/Layout/GlobalHeader/SearchBar.d.ts.map +1 -1
  47. package/lib/components/Layout/GlobalHeader/SearchBar.js +36 -45
  48. package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -1
  49. package/lib/components/Layout/GlobalHeader/index.d.ts +0 -1
  50. package/lib/components/Layout/GlobalHeader/index.d.ts.map +1 -1
  51. package/lib/components/Layout/ProTailwindLayout.d.ts +2 -2
  52. package/lib/components/Layout/ProTailwindLayout.d.ts.map +1 -1
  53. package/lib/components/Layout/ProTailwindLayout.js +70 -9
  54. package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
  55. package/lib/components/Layout/Sidebar/BottomMenu.d.ts +4 -0
  56. package/lib/components/Layout/Sidebar/BottomMenu.d.ts.map +1 -0
  57. package/lib/components/Layout/Sidebar/BottomMenu.js +294 -0
  58. package/lib/components/Layout/Sidebar/BottomMenu.js.map +1 -0
  59. package/lib/components/Layout/Sidebar/Divider.d.ts +2 -1
  60. package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -1
  61. package/lib/components/Layout/Sidebar/Divider.js +26 -28
  62. package/lib/components/Layout/Sidebar/Divider.js.map +1 -1
  63. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts +1 -1
  64. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -1
  65. package/lib/components/Layout/Sidebar/DynamicIcon.js +10 -11
  66. package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -1
  67. package/lib/components/Layout/Sidebar/MainSidebar.d.ts +5 -0
  68. package/lib/components/Layout/Sidebar/MainSidebar.d.ts.map +1 -0
  69. package/lib/components/Layout/Sidebar/MainSidebar.js +224 -0
  70. package/lib/components/Layout/Sidebar/MainSidebar.js.map +1 -0
  71. package/lib/components/Layout/Sidebar/MainSidebarMenu.d.ts +6 -0
  72. package/lib/components/Layout/Sidebar/MainSidebarMenu.d.ts.map +1 -0
  73. package/lib/components/Layout/Sidebar/MainSidebarMenu.js +451 -0
  74. package/lib/components/Layout/Sidebar/MainSidebarMenu.js.map +1 -0
  75. package/lib/components/Layout/Sidebar/PerplexSidebar.d.ts +4 -0
  76. package/lib/components/Layout/Sidebar/PerplexSidebar.d.ts.map +1 -0
  77. package/lib/components/Layout/Sidebar/PerplexSidebar.js +254 -0
  78. package/lib/components/Layout/Sidebar/PerplexSidebar.js.map +1 -0
  79. package/lib/components/Layout/Sidebar/PerplexSidebarMenu.d.ts +4 -0
  80. package/lib/components/Layout/Sidebar/PerplexSidebarMenu.d.ts.map +1 -0
  81. package/lib/components/Layout/Sidebar/PerplexSidebarMenu.js +318 -0
  82. package/lib/components/Layout/Sidebar/PerplexSidebarMenu.js.map +1 -0
  83. package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
  84. package/lib/components/Layout/TailwindLayout.js +37 -20
  85. package/lib/components/Layout/TailwindLayout.js.map +1 -1
  86. package/lib/components/Layout/getPageTitle.js.map +1 -1
  87. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts +3 -2
  88. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -1
  89. package/lib/components/Layout/slot-fill/AdditionalSettings.js +2 -2
  90. package/lib/components/Layout/slot-fill/AdditionalSettings.js.map +1 -1
  91. package/lib/components/Layout/slot-fill/Footer.d.ts +3 -2
  92. package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -1
  93. package/lib/components/Layout/slot-fill/Footer.js +2 -2
  94. package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
  95. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts +3 -2
  96. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -1
  97. package/lib/components/Layout/slot-fill/HeaderNotice.js +7 -0
  98. package/lib/components/Layout/slot-fill/HeaderNotice.js.map +1 -0
  99. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +2 -1
  100. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -1
  101. package/lib/components/Layout/slot-fill/HeaderSearchBar.js +2 -2
  102. package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -1
  103. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +2 -1
  104. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -1
  105. package/lib/components/Layout/slot-fill/HeaderSearchButton.js +2 -2
  106. package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -1
  107. package/lib/components/Layout/slot-fill/Logo.d.ts +5 -0
  108. package/lib/components/Layout/slot-fill/Logo.d.ts.map +1 -0
  109. package/lib/components/Layout/slot-fill/Logo.js +7 -0
  110. package/lib/components/Layout/slot-fill/Logo.js.map +1 -0
  111. package/lib/components/Layout/slot-fill/RightContent.d.ts +2 -1
  112. package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -1
  113. package/lib/components/Layout/slot-fill/RightContent.js +2 -2
  114. package/lib/components/Layout/slot-fill/RightContent.js.map +1 -1
  115. package/lib/components/Layout/slot-fill/SideMenuLogo.d.ts +5 -0
  116. package/lib/components/Layout/slot-fill/SideMenuLogo.d.ts.map +1 -0
  117. package/lib/components/Layout/slot-fill/SideMenuLogo.js +7 -0
  118. package/lib/components/Layout/slot-fill/SideMenuLogo.js.map +1 -0
  119. package/lib/components/Layout/slot-fill/index.d.ts +2 -0
  120. package/lib/components/Layout/slot-fill/index.d.ts.map +1 -1
  121. package/lib/components/Layout/util.js +1 -1
  122. package/lib/components/Layout/util.js.map +1 -1
  123. package/lib/components/SettingDrawer/SettingDrawer.d.ts +2 -2
  124. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
  125. package/lib/components/SettingDrawer/SettingDrawer.js +190 -499
  126. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
  127. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts +8 -0
  128. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.d.ts.map +1 -0
  129. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js +21 -0
  130. package/lib/components/SettingDrawer/components/ApplyToAllRoutesToggle.js.map +1 -0
  131. package/lib/components/SettingDrawer/components/CheckBoxTheme.d.ts +4 -0
  132. package/lib/components/SettingDrawer/components/CheckBoxTheme.d.ts.map +1 -0
  133. package/lib/components/SettingDrawer/components/CheckBoxTheme.js +119 -0
  134. package/lib/components/SettingDrawer/components/CheckBoxTheme.js.map +1 -0
  135. package/lib/components/SettingDrawer/components/DeviceTabs.d.ts +8 -0
  136. package/lib/components/SettingDrawer/components/DeviceTabs.d.ts.map +1 -0
  137. package/lib/components/SettingDrawer/components/DeviceTabs.js +74 -0
  138. package/lib/components/SettingDrawer/components/DeviceTabs.js.map +1 -0
  139. package/lib/components/SettingDrawer/components/InvitationSettings.d.ts +4 -0
  140. package/lib/components/SettingDrawer/components/InvitationSettings.d.ts.map +1 -0
  141. package/lib/components/SettingDrawer/components/InvitationSettings.js +72 -0
  142. package/lib/components/SettingDrawer/components/InvitationSettings.js.map +1 -0
  143. package/lib/components/SettingDrawer/components/LayoutChange.d.ts +4 -0
  144. package/lib/components/SettingDrawer/components/LayoutChange.d.ts.map +1 -0
  145. package/lib/components/SettingDrawer/components/LayoutChange.js +111 -0
  146. package/lib/components/SettingDrawer/components/LayoutChange.js.map +1 -0
  147. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.d.ts +21 -0
  148. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.d.ts.map +1 -0
  149. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js +106 -0
  150. package/lib/components/SettingDrawer/components/MenuVisibilitySettings.js.map +1 -0
  151. package/lib/components/SettingDrawer/components/NavigationsModes.d.ts +4 -0
  152. package/lib/components/SettingDrawer/components/NavigationsModes.d.ts.map +1 -0
  153. package/lib/components/SettingDrawer/components/NavigationsModes.js +322 -0
  154. package/lib/components/SettingDrawer/components/NavigationsModes.js.map +1 -0
  155. package/lib/components/SettingDrawer/components/RegionalSettings.d.ts +4 -0
  156. package/lib/components/SettingDrawer/components/RegionalSettings.d.ts.map +1 -0
  157. package/lib/components/SettingDrawer/components/RegionalSettings.js +519 -0
  158. package/lib/components/SettingDrawer/components/RegionalSettings.js.map +1 -0
  159. package/lib/components/SettingDrawer/components/SettingsActions.d.ts +13 -0
  160. package/lib/components/SettingDrawer/components/SettingsActions.d.ts.map +1 -0
  161. package/lib/components/SettingDrawer/components/SettingsActions.js +42 -0
  162. package/lib/components/SettingDrawer/components/SettingsActions.js.map +1 -0
  163. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts +5 -0
  164. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.d.ts.map +1 -0
  165. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js +22 -0
  166. package/lib/components/SettingDrawer/components/SettingsDrawerHeader.js.map +1 -0
  167. package/lib/components/SettingDrawer/components/Switch.d.ts +4 -0
  168. package/lib/components/SettingDrawer/components/Switch.d.ts.map +1 -0
  169. package/lib/components/SettingDrawer/components/Switch.js +20 -0
  170. package/lib/components/SettingDrawer/components/Switch.js.map +1 -0
  171. package/lib/components/SettingDrawer/components/ThemeColor.d.ts +4 -0
  172. package/lib/components/SettingDrawer/components/ThemeColor.d.ts.map +1 -0
  173. package/lib/components/SettingDrawer/components/ThemeColor.js +45 -0
  174. package/lib/components/SettingDrawer/components/ThemeColor.js.map +1 -0
  175. package/lib/components/SettingDrawer/components/ThemeSelector.d.ts +4 -0
  176. package/lib/components/SettingDrawer/components/ThemeSelector.d.ts.map +1 -0
  177. package/lib/components/SettingDrawer/components/ThemeSelector.js +16 -0
  178. package/lib/components/SettingDrawer/components/ThemeSelector.js.map +1 -0
  179. package/lib/components/SettingDrawer/components/WebFontsSelector.d.ts +4 -0
  180. package/lib/components/SettingDrawer/components/WebFontsSelector.d.ts.map +1 -0
  181. package/lib/components/SettingDrawer/components/WebFontsSelector.js +22 -0
  182. package/lib/components/SettingDrawer/components/WebFontsSelector.js.map +1 -0
  183. package/lib/components/SettingDrawer/hooks/useSettingsOperations.d.ts +18 -0
  184. package/lib/components/SettingDrawer/hooks/useSettingsOperations.d.ts.map +1 -0
  185. package/lib/components/SettingDrawer/hooks/useSettingsOperations.js +115 -0
  186. package/lib/components/SettingDrawer/hooks/useSettingsOperations.js.map +1 -0
  187. package/lib/components/SettingDrawer/utils/constants.d.ts +11 -0
  188. package/lib/components/SettingDrawer/utils/constants.d.ts.map +1 -0
  189. package/lib/components/SettingDrawer/utils/constants.js +77 -0
  190. package/lib/components/SettingDrawer/utils/constants.js.map +1 -0
  191. package/lib/components/SettingDrawer/utils/helper.d.ts +37 -0
  192. package/lib/components/SettingDrawer/utils/helper.d.ts.map +1 -0
  193. package/lib/components/SettingDrawer/utils/helper.js +154 -0
  194. package/lib/components/SettingDrawer/utils/helper.js.map +1 -0
  195. package/lib/components/SettingDrawer/utils/transformers.d.ts +15 -0
  196. package/lib/components/SettingDrawer/utils/transformers.d.ts.map +1 -0
  197. package/lib/components/SettingDrawer/utils/transformers.js +73 -0
  198. package/lib/components/SettingDrawer/utils/transformers.js.map +1 -0
  199. package/lib/components/SettingDrawer/{types.d.ts → utils/types.d.ts} +14 -0
  200. package/lib/components/SettingDrawer/utils/types.d.ts.map +1 -0
  201. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +13 -4
  202. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
  203. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.js +97 -4
  204. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.js.map +1 -1
  205. package/lib/components/index.d.ts +0 -2
  206. package/lib/components/index.d.ts.map +1 -1
  207. package/lib/components/index.js +1 -1
  208. package/lib/components/typings.d.ts +20 -6
  209. package/lib/components/typings.d.ts.map +1 -1
  210. package/lib/compute.d.ts.map +1 -1
  211. package/lib/compute.js +10 -2
  212. package/lib/compute.js.map +1 -1
  213. package/lib/config/analytics-config.d.ts +59 -0
  214. package/lib/config/analytics-config.d.ts.map +1 -0
  215. package/lib/config/constants.js.map +1 -1
  216. package/lib/config/env-config.d.ts +6 -0
  217. package/lib/config/env-config.d.ts.map +1 -1
  218. package/lib/config/env-config.js +21 -1
  219. package/lib/config/env-config.js.map +1 -1
  220. package/lib/config/index.d.ts +3 -0
  221. package/lib/config/index.d.ts.map +1 -0
  222. package/lib/helpers/DynamicIcon.d.ts +1 -1
  223. package/lib/helpers/DynamicIcon.d.ts.map +1 -1
  224. package/lib/helpers/DynamicIcon.js +16 -17
  225. package/lib/helpers/DynamicIcon.js.map +1 -1
  226. package/lib/hooks/index.d.ts +0 -3
  227. package/lib/hooks/index.d.ts.map +1 -1
  228. package/lib/hooks/useMediaQuery.js.map +1 -1
  229. package/lib/hooks/useScrollThreshold.js.map +1 -1
  230. package/lib/hooks/useTailwindTheme.js.map +1 -1
  231. package/lib/icons.d.ts +2 -0
  232. package/lib/icons.d.ts.map +1 -1
  233. package/lib/icons.js +4 -2
  234. package/lib/icons.js.map +1 -1
  235. package/lib/index.d.ts +1 -1
  236. package/lib/index.d.ts.map +1 -1
  237. package/lib/index.js +1 -1
  238. package/lib/index.js.map +1 -1
  239. package/lib/machines/selectors.d.ts +118 -0
  240. package/lib/machines/selectors.d.ts.map +1 -0
  241. package/lib/machines/settingsMachine.d.ts +25 -2
  242. package/lib/machines/settingsMachine.d.ts.map +1 -1
  243. package/lib/machines/settingsMachine.js +133 -168
  244. package/lib/machines/settingsMachine.js.map +1 -1
  245. package/lib/machines/types.d.ts +107 -9
  246. package/lib/machines/types.d.ts.map +1 -1
  247. package/lib/machines/types.js.map +1 -1
  248. package/lib/module.js.map +1 -1
  249. package/lib/redux/searchReducer.d.ts +1 -1
  250. package/lib/redux/searchReducer.d.ts.map +1 -1
  251. package/lib/redux/searchReducer.js.map +1 -1
  252. package/lib/routes.json +9 -1
  253. package/lib/styles/index.css +602 -372
  254. package/lib/tailwindConfig.d.ts +85 -27
  255. package/lib/tailwindConfig.d.ts.map +1 -1
  256. package/lib/tailwindConfig.js +96 -18
  257. package/lib/tailwindConfig.js.map +1 -1
  258. package/lib/utils/__tests__/analytics-utils.test.d.ts +2 -0
  259. package/lib/utils/__tests__/analytics-utils.test.d.ts.map +1 -0
  260. package/lib/utils/__tests__/configOverrides.test.d.ts +2 -0
  261. package/lib/utils/__tests__/configOverrides.test.d.ts.map +1 -0
  262. package/lib/utils/__tests__/menu.test.d.ts +2 -0
  263. package/lib/utils/__tests__/menu.test.d.ts.map +1 -0
  264. package/lib/utils/__tests__/selectors.test.d.ts +2 -0
  265. package/lib/utils/__tests__/selectors.test.d.ts.map +1 -0
  266. package/lib/utils/__tests__/settingsMachine.test.d.ts +2 -0
  267. package/lib/utils/__tests__/settingsMachine.test.d.ts.map +1 -0
  268. package/lib/utils/__tests__/settingsUtils.test.d.ts +2 -0
  269. package/lib/utils/__tests__/settingsUtils.test.d.ts.map +1 -0
  270. package/lib/utils/analytics-utils.d.ts +43 -0
  271. package/lib/utils/analytics-utils.d.ts.map +1 -0
  272. package/lib/utils/analytics.d.ts +48 -0
  273. package/lib/utils/analytics.d.ts.map +1 -0
  274. package/lib/utils/configOverrides.d.ts +213 -0
  275. package/lib/utils/configOverrides.d.ts.map +1 -0
  276. package/lib/utils/configOverrides.js +91 -0
  277. package/lib/utils/configOverrides.js.map +1 -0
  278. package/lib/utils/isBrowser/index.js.map +1 -1
  279. package/lib/utils/settingsUtils.d.ts +20 -0
  280. package/lib/utils/settingsUtils.d.ts.map +1 -0
  281. package/lib/utils/settingsUtils.js +74 -0
  282. package/lib/utils/settingsUtils.js.map +1 -0
  283. package/lib/utils/utils/index.js.map +1 -1
  284. package/package.json +7 -15
  285. package/lib/components/Layout/GlobalHeader/Logo.d.ts +0 -4
  286. package/lib/components/Layout/GlobalHeader/Logo.d.ts.map +0 -1
  287. package/lib/components/Layout/GlobalHeader/Logo.js +0 -141
  288. package/lib/components/Layout/GlobalHeader/Logo.js.map +0 -1
  289. package/lib/components/Layout/Sidebar/Sidebar.d.ts +0 -5
  290. package/lib/components/Layout/Sidebar/Sidebar.d.ts.map +0 -1
  291. package/lib/components/Layout/Sidebar/Sidebar.js +0 -186
  292. package/lib/components/Layout/Sidebar/Sidebar.js.map +0 -1
  293. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts +0 -4
  294. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts.map +0 -1
  295. package/lib/components/Layout/Sidebar/SidebarMenu.js +0 -183
  296. package/lib/components/Layout/Sidebar/SidebarMenu.js.map +0 -1
  297. package/lib/components/SettingDrawer/CheckBoxTheme.d.ts +0 -3
  298. package/lib/components/SettingDrawer/CheckBoxTheme.d.ts.map +0 -1
  299. package/lib/components/SettingDrawer/CheckBoxTheme.js +0 -123
  300. package/lib/components/SettingDrawer/CheckBoxTheme.js.map +0 -1
  301. package/lib/components/SettingDrawer/LayoutChange.d.ts +0 -3
  302. package/lib/components/SettingDrawer/LayoutChange.d.ts.map +0 -1
  303. package/lib/components/SettingDrawer/LayoutChange.js +0 -123
  304. package/lib/components/SettingDrawer/LayoutChange.js.map +0 -1
  305. package/lib/components/SettingDrawer/NavigationsModes.d.ts +0 -3
  306. package/lib/components/SettingDrawer/NavigationsModes.d.ts.map +0 -1
  307. package/lib/components/SettingDrawer/NavigationsModes.js +0 -289
  308. package/lib/components/SettingDrawer/NavigationsModes.js.map +0 -1
  309. package/lib/components/SettingDrawer/RegionalSettings.d.ts +0 -3
  310. package/lib/components/SettingDrawer/RegionalSettings.d.ts.map +0 -1
  311. package/lib/components/SettingDrawer/RegionalSettings.js +0 -740
  312. package/lib/components/SettingDrawer/RegionalSettings.js.map +0 -1
  313. package/lib/components/SettingDrawer/Switch/index.d.ts +0 -3
  314. package/lib/components/SettingDrawer/Switch/index.d.ts.map +0 -1
  315. package/lib/components/SettingDrawer/Switch/index.js +0 -22
  316. package/lib/components/SettingDrawer/Switch/index.js.map +0 -1
  317. package/lib/components/SettingDrawer/ThemeColor.d.ts +0 -3
  318. package/lib/components/SettingDrawer/ThemeColor.d.ts.map +0 -1
  319. package/lib/components/SettingDrawer/ThemeColor.js +0 -35
  320. package/lib/components/SettingDrawer/ThemeColor.js.map +0 -1
  321. package/lib/components/SettingDrawer/ThemeSelector.d.ts +0 -3
  322. package/lib/components/SettingDrawer/ThemeSelector.d.ts.map +0 -1
  323. package/lib/components/SettingDrawer/ThemeSelector.js +0 -18
  324. package/lib/components/SettingDrawer/ThemeSelector.js.map +0 -1
  325. package/lib/components/SettingDrawer/WebFontsSelector.d.ts +0 -3
  326. package/lib/components/SettingDrawer/WebFontsSelector.d.ts.map +0 -1
  327. package/lib/components/SettingDrawer/WebFontsSelector.js +0 -24
  328. package/lib/components/SettingDrawer/WebFontsSelector.js.map +0 -1
  329. package/lib/components/SettingDrawer/types.d.ts.map +0 -1
  330. package/lib/components/ThemeProvider/ThemeProvider.d.ts +0 -8
  331. package/lib/components/ThemeProvider/ThemeProvider.d.ts.map +0 -1
  332. package/lib/components/ThemeProvider/ThemeProvider.js +0 -60
  333. package/lib/components/ThemeProvider/ThemeProvider.js.map +0 -1
  334. package/lib/components/ThemeProvider/ThemeToggle.d.ts +0 -7
  335. package/lib/components/ThemeProvider/ThemeToggle.d.ts.map +0 -1
  336. package/lib/components/ThemeProvider/ThemeToggle.js +0 -50
  337. package/lib/components/ThemeProvider/ThemeToggle.js.map +0 -1
  338. package/lib/components/ThemeProvider/index.d.ts +0 -4
  339. package/lib/components/ThemeProvider/index.d.ts.map +0 -1
  340. package/lib/components/ThemeProvider/themes/airbnb.d.ts +0 -3
  341. package/lib/components/ThemeProvider/themes/airbnb.d.ts.map +0 -1
  342. package/lib/components/ThemeProvider/themes/airbnb.js +0 -186
  343. package/lib/components/ThemeProvider/themes/airbnb.js.map +0 -1
  344. package/lib/components/ThemeProvider/themes/default.d.ts +0 -3
  345. package/lib/components/ThemeProvider/themes/default.d.ts.map +0 -1
  346. package/lib/components/ThemeProvider/themes/default.js +0 -183
  347. package/lib/components/ThemeProvider/themes/default.js.map +0 -1
  348. package/lib/components/ThemeProvider/themes/github.d.ts +0 -3
  349. package/lib/components/ThemeProvider/themes/github.d.ts.map +0 -1
  350. package/lib/components/ThemeProvider/themes/github.js +0 -190
  351. package/lib/components/ThemeProvider/themes/github.js.map +0 -1
  352. package/lib/components/ThemeProvider/themes/index.d.ts +0 -15
  353. package/lib/components/ThemeProvider/themes/index.d.ts.map +0 -1
  354. package/lib/components/ThemeProvider/themes/index.js +0 -7
  355. package/lib/components/ThemeProvider/themes/index.js.map +0 -1
  356. package/lib/components/ThemeProvider/themes/slack.d.ts +0 -3
  357. package/lib/components/ThemeProvider/themes/slack.d.ts.map +0 -1
  358. package/lib/components/ThemeProvider/themes/slack.js +0 -188
  359. package/lib/components/ThemeProvider/themes/slack.js.map +0 -1
  360. package/lib/components/ThemeProvider/themes/spotify.d.ts +0 -3
  361. package/lib/components/ThemeProvider/themes/spotify.d.ts.map +0 -1
  362. package/lib/components/ThemeProvider/themes/spotify.js +0 -189
  363. package/lib/components/ThemeProvider/themes/spotify.js.map +0 -1
  364. package/lib/components/ThemeProvider/types.d.ts +0 -112
  365. package/lib/components/ThemeProvider/types.d.ts.map +0 -1
  366. package/lib/components/UI/CardList.d.ts +0 -61
  367. package/lib/components/UI/CardList.d.ts.map +0 -1
  368. package/lib/components/UI/CardList.js +0 -43
  369. package/lib/components/UI/CardList.js.map +0 -1
  370. package/lib/components/UI/CategoriesTypeList.d.ts +0 -29
  371. package/lib/components/UI/CategoriesTypeList.d.ts.map +0 -1
  372. package/lib/components/UI/CategoriesTypeList.js +0 -140
  373. package/lib/components/UI/CategoriesTypeList.js.map +0 -1
  374. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts +0 -83
  375. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts.map +0 -1
  376. package/lib/components/UI/LazyLoadingGoogleMarker.js +0 -107
  377. package/lib/components/UI/LazyLoadingGoogleMarker.js.map +0 -1
  378. package/lib/components/UI/Pagination.d.ts +0 -6
  379. package/lib/components/UI/Pagination.d.ts.map +0 -1
  380. package/lib/components/UI/Pagination.js +0 -59
  381. package/lib/components/UI/Pagination.js.map +0 -1
  382. package/lib/components/UI/ParamSearchResultContainer.d.ts +0 -99
  383. package/lib/components/UI/ParamSearchResultContainer.d.ts.map +0 -1
  384. package/lib/components/UI/ParamSearchResultContainer.js +0 -120
  385. package/lib/components/UI/ParamSearchResultContainer.js.map +0 -1
  386. package/lib/components/UI/PropertyCard.d.ts +0 -24
  387. package/lib/components/UI/PropertyCard.d.ts.map +0 -1
  388. package/lib/components/UI/PropertyCard.js +0 -375
  389. package/lib/components/UI/PropertyCard.js.map +0 -1
  390. package/lib/components/UI/PropertyCardOnMap.d.ts +0 -10
  391. package/lib/components/UI/PropertyCardOnMap.d.ts.map +0 -1
  392. package/lib/components/UI/PropertyCardOnMap.js +0 -108
  393. package/lib/components/UI/PropertyCardOnMap.js.map +0 -1
  394. package/lib/components/UI/VehicleCard/PricePopover.d.ts +0 -8
  395. package/lib/components/UI/VehicleCard/PricePopover.d.ts.map +0 -1
  396. package/lib/components/UI/VehicleCard/PricePopover.js +0 -98
  397. package/lib/components/UI/VehicleCard/PricePopover.js.map +0 -1
  398. package/lib/components/UI/VehicleCard/VehicleBadge.d.ts +0 -7
  399. package/lib/components/UI/VehicleCard/VehicleBadge.d.ts.map +0 -1
  400. package/lib/components/UI/VehicleCard/VehicleFeature.d.ts +0 -9
  401. package/lib/components/UI/VehicleCard/VehicleFeature.d.ts.map +0 -1
  402. package/lib/components/UI/VehicleCard/VehicleFeature.js +0 -23
  403. package/lib/components/UI/VehicleCard/VehicleFeature.js.map +0 -1
  404. package/lib/components/UI/VehicleCard/types.d.ts +0 -59
  405. package/lib/components/UI/VehicleCard/types.d.ts.map +0 -1
  406. package/lib/components/UI/VehicleCard.d.ts +0 -15
  407. package/lib/components/UI/VehicleCard.d.ts.map +0 -1
  408. package/lib/components/UI/VehicleCard.js +0 -166
  409. package/lib/components/UI/VehicleCard.js.map +0 -1
  410. package/lib/components/UI/VehicleCardList.d.ts +0 -14
  411. package/lib/components/UI/VehicleCardList.d.ts.map +0 -1
  412. package/lib/components/UI/VehicleCardList.js +0 -38
  413. package/lib/components/UI/VehicleCardList.js.map +0 -1
  414. package/lib/components/UI/VehicleParamSearchResultContainer.d.ts +0 -90
  415. package/lib/components/UI/VehicleParamSearchResultContainer.d.ts.map +0 -1
  416. package/lib/components/UI/icons/LocationIcon.d.ts +0 -7
  417. package/lib/components/UI/icons/LocationIcon.d.ts.map +0 -1
  418. package/lib/components/UI/icons/LocationIcon.js +0 -18
  419. package/lib/components/UI/icons/LocationIcon.js.map +0 -1
  420. package/lib/components/UI/icons/index.d.ts +0 -2
  421. package/lib/components/UI/icons/index.d.ts.map +0 -1
  422. package/lib/components/UI/index.d.ts +0 -10
  423. package/lib/components/UI/index.d.ts.map +0 -1
  424. package/lib/components/typings.js +0 -6
  425. package/lib/components/typings.js.map +0 -1
  426. package/lib/hooks/use-get-current-lat-long.d.ts +0 -18
  427. package/lib/hooks/use-get-current-lat-long.d.ts.map +0 -1
  428. package/lib/hooks/use-get-current-lat-long.js +0 -29
  429. package/lib/hooks/use-get-current-lat-long.js.map +0 -1
  430. package/lib/hooks/useWindowSize.d.ts +0 -6
  431. package/lib/hooks/useWindowSize.d.ts.map +0 -1
  432. package/lib/hooks/useWindowSize.js +0 -20
  433. package/lib/hooks/useWindowSize.js.map +0 -1
  434. package/lib/middlewares/airbnbDatasourcesMiddleware.d.ts +0 -6
  435. package/lib/middlewares/airbnbDatasourcesMiddleware.d.ts.map +0 -1
  436. package/lib/middlewares/bookingCarRentalMiddleware.d.ts +0 -6
  437. package/lib/middlewares/bookingCarRentalMiddleware.d.ts.map +0 -1
  438. package/lib/middlewares/bookingDatasourcesMiddleware.d.ts +0 -7
  439. package/lib/middlewares/bookingDatasourcesMiddleware.d.ts.map +0 -1
  440. package/lib/middlewares/datasourcesMiddleware.d.ts +0 -6
  441. package/lib/middlewares/datasourcesMiddleware.d.ts.map +0 -1
  442. package/lib/middlewares/pricelineDatasourcesMiddleware.d.ts +0 -7
  443. package/lib/middlewares/pricelineDatasourcesMiddleware.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"RegionalSettings.js","sources":["../../../src/components/SettingDrawer/RegionalSettings.tsx"],"sourcesContent":[null],"names":["_jsxs","_Fragment","_jsx"],"mappings":"wcAQwB,SAAA,gBAAgB,CAAC,KAA6B,EAAA;QAC5D;IACN;AACA,GAAA,GAAA,cAAgB,CAAA,UAAa,CAAA;AAC7B,EAAA,MAAA;AACA,IAAA,QAAQ;AACR,IAAA,aAAO;AACP,IAAA;AACA,GAAA,GAAA,KAAO;AACP,EAAA,MAAA;AACA,IAAA;MACM,QAAA,IAAA,EAAA;QACA,YAAU,GAAG,QAAQ,EAAE,QAAC,IAAW,G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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- import { SwitchProps } from '../types';
2
- export declare function Switch({ value, onChange, className }: SwitchProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/Switch/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,wBAAgB,MAAM,CAAC,EAAE,KAAa,EAAE,QAAQ,EAAE,SAAc,EAAE,EAAE,WAAW,2CAuB9E"}
@@ -1,22 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';function Switch({
2
- value = false,
3
- onChange,
4
- className = ''
5
- }) {
6
- const handleClick = () => {
7
- onChange?.(!value);
8
- };
9
- return jsxs("button", {
10
- type: "button",
11
- role: "switch",
12
- "aria-checked": value,
13
- className: `relative inline-flex h-6 w-11 items-center rounded-full transition-colors focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 ${value ? 'bg-indigo-600' : 'bg-gray-200'} ${className}`,
14
- onClick: handleClick,
15
- children: [jsx("span", {
16
- className: "sr-only",
17
- children: "Toggle switch"
18
- }), jsx("span", {
19
- className: `inline-block h-4 w-4 transform rounded-full bg-white transition-transform ${value ? 'translate-x-6' : 'translate-x-1'}`
20
- })]
21
- });
22
- }export{Switch};//# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/SettingDrawer/Switch/index.tsx"],"sourcesContent":[null],"names":[],"mappings":"yCAGgB,SAAA,MAAM,CAAC;OACb,GAAA,KAAA;AACF,EAAA,QAAA;AACJ,EAAA,SAAE,GAAA;;AAoBN,EAAC,MAAA,WAAA,GAAA,MAAA;;;;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- import { IThemeColorProps } from './types';
2
- export default function ThemeColor(props: IThemeColorProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=ThemeColor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeColor.d.ts","sourceRoot":"","sources":["../../../src/components/SettingDrawer/ThemeColor.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,gBAAgB,2CAwCzD"}
@@ -1,35 +0,0 @@
1
- import {jsx}from'react/jsx-runtime';function ThemeColor(props) {
2
- const {
3
- color,
4
- changeSetting,
5
- settings
6
- } = props;
7
- if (!color || color.length < 1) {
8
- return null;
9
- }
10
- return jsx("div", {
11
- className: "flex flex-row space-x-2",
12
- children: color.map((item, index) => {
13
- return jsx("div", {
14
- className: "w-5 h-5 rounded cursor-pointer shadow-sm pl-1 flex items-center justify-center",
15
- style: {
16
- backgroundColor: item.color
17
- },
18
- onClick: () => {
19
- changeSetting('primaryColor', item.color);
20
- },
21
- children: settings?.primaryColor === item.color ? jsx("svg", {
22
- xmlns: "http://www.w3.org/2000/svg",
23
- className: "h-4 w-4 text-white mb-1",
24
- viewBox: "0 0 20 20",
25
- fill: "currentColor",
26
- children: jsx("path", {
27
- fillRule: "evenodd",
28
- d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
29
- clipRule: "evenodd"
30
- })
31
- }) : ''
32
- }, index);
33
- })
34
- });
35
- }export{ThemeColor as default};//# sourceMappingURL=ThemeColor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeColor.js","sources":["../../../src/components/SettingDrawer/ThemeColor.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"oCAGwB,SAAA,UAAU,CAAC,KAAuB,EAAA;QAChD;IAEN,KAAK;AACD,IAAA;IACJ;AAEA,GAAA,GAAA,KAAO;AAGK,EAAA,IAAA,CAAA,KAAA,IAAA,KAGQ,CAAA,MAAA,GAAA,CAAA,EAAA;AAGI,IAAA,OAAA,IAAA;;SAqBfA,GACC,CACT,KAAC,EAAA;AACN,IAAC,SAAA,EAAA,yBAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- import { ThemeSelectorProps } from './types';
2
- export declare function ThemeSelector({ value, onChange, options }: ThemeSelectorProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=ThemeSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeSelector.d.ts","sourceRoot":"","sources":["../../../src/components/SettingDrawer/ThemeSelector.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,kBAAkB,2CAgB7E"}
@@ -1,18 +0,0 @@
1
- import {jsx}from'react/jsx-runtime';function ThemeSelector({
2
- value,
3
- onChange,
4
- options
5
- }) {
6
- return jsx("div", {
7
- className: "relative",
8
- children: jsx("select", {
9
- value: value,
10
- onChange: e => onChange(e.target.value),
11
- className: "w-full rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-200",
12
- children: options.map(option => jsx("option", {
13
- value: option.key,
14
- children: option.title
15
- }, option.key))
16
- })
17
- });
18
- }export{ThemeSelector};//# sourceMappingURL=ThemeSelector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeSelector.js","sources":["../../../src/components/SettingDrawer/ThemeSelector.tsx"],"sourcesContent":[null],"names":[],"mappings":"oCAGM,SAAU,aAAa,CAAC;AAC1B,EAAA,KAAA;AAeJ,EAAC,QAAA;;;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- import { WebFontsSelectorProps } from './types';
2
- export declare const WebFontsSelector: React.FC<WebFontsSelectorProps>;
3
- //# sourceMappingURL=WebFontsSelector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebFontsSelector.d.ts","sourceRoot":"","sources":["../../../src/components/SettingDrawer/WebFontsSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAiB5D,CAAC"}
@@ -1,24 +0,0 @@
1
- import {jsx}from'react/jsx-runtime';const WebFontsSelector = ({
2
- value,
3
- onChange,
4
- options
5
- }) => {
6
- return jsx("div", {
7
- className: "relative",
8
- children: jsx("select", {
9
- value: value,
10
- onChange: e => onChange(e.target.value),
11
- className: "w-full rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-200",
12
- style: {
13
- fontFamily: value
14
- },
15
- children: options.map(option => jsx("option", {
16
- value: option.key,
17
- style: {
18
- fontFamily: option.key
19
- },
20
- children: option.title
21
- }, option.key))
22
- })
23
- });
24
- };export{WebFontsSelector};//# sourceMappingURL=WebFontsSelector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebFontsSelector.js","sources":["../../../src/components/SettingDrawer/WebFontsSelector.tsx"],"sourcesContent":[null],"names":[],"mappings":"oCAEO,MAAM,gBAAgB,GAAoC,CAAC;AAC9D,EAAA,KAAA;AAgBJ,EAAE,QAAA;;;;;;;;;;;;;;;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MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC7D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACrC;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC;QACV,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC,CAAC;IACH,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,GAAG,KAAK,IAAI,CAAC;IACrE,QAAQ,CAAC,EAAE,GAAG,CAAC;CAClB,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,KAAK,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC;CACN;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,EAAE,KAAK,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC;CACN"}
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { ThemeContextProps } from './types';
3
- export declare const ThemeProviderTailwind: React.FC<{
4
- settings: any;
5
- children: React.ReactNode;
6
- }>;
7
- export declare const useTheme: () => ThemeContextProps;
8
- //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeProvider/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAEvF,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAS5C,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAuDxF,CAAC;AAEF,eAAO,MAAM,QAAQ,yBAAiC,CAAC"}
@@ -1,60 +0,0 @@
1
- import {jsx}from'react/jsx-runtime';import {useState,useEffect,useMemo,createContext,useContext}from'react';import {themes}from'./themes/index.js';const ThemeContext = createContext({
2
- themeName: 'default',
3
- theme: themes.default,
4
- isDarkMode: false,
5
- toggleDarkMode: () => {}
6
- });
7
- const ThemeProviderTailwind = ({
8
- settings,
9
- children
10
- }) => {
11
- const {
12
- theme,
13
- themeType,
14
- primaryColor,
15
- fontFamily
16
- } = settings;
17
- const [isDarkMode, setIsDarkMode] = useState(false);
18
- // Toggle dark mode
19
- const toggleDarkMode = () => {
20
- setIsDarkMode(!isDarkMode);
21
- localStorage.setItem('darkMode', (!isDarkMode).toString());
22
- };
23
- // Toggle dark mode class on document
24
- useEffect(() => {
25
- if (settings?.navTheme === 'light') {
26
- setIsDarkMode(false);
27
- document.documentElement.classList.remove('dark');
28
- } else if (settings?.navTheme === 'dark') {
29
- document.documentElement.classList.add('dark');
30
- setIsDarkMode(true);
31
- } else {
32
- setIsDarkMode(false);
33
- document.documentElement.classList.remove('dark');
34
- }
35
- }, [settings?.navTheme]);
36
- // Apply theme effects when component mounts and when theme settings change
37
- useEffect(() => {
38
- const selectedTheme = themes[theme] || themes.default;
39
- // Apply font family to document
40
- document.documentElement.style.setProperty('--font-family', fontFamily);
41
- document.body.className = `font-sans ${isDarkMode ? 'dark' : ''}`;
42
- // Apply theme-specific classes
43
- document.body.dataset.theme = theme;
44
- // Apply radius to all appropriate elements via CSS
45
- const radius = selectedTheme.borderRadius.DEFAULT;
46
- document.documentElement.style.setProperty('--radius', radius);
47
- }, [theme, themeType, primaryColor, fontFamily, isDarkMode]);
48
- // Memoize the context value to prevent unnecessary re-renders
49
- const contextValue = useMemo(() => ({
50
- themeName: theme,
51
- theme: themes[theme] || themes.default,
52
- isDarkMode,
53
- toggleDarkMode
54
- }), [theme, isDarkMode]);
55
- return jsx(ThemeContext.Provider, {
56
- value: contextValue,
57
- children: children
58
- });
59
- };
60
- const useTheme = () => useContext(ThemeContext);export{ThemeProviderTailwind,useTheme};//# sourceMappingURL=ThemeProvider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeProvider.js","sources":["../../../src/components/ThemeProvider/ThemeProvider.tsx"],"sourcesContent":[null],"names":[],"mappings":"mJAIA,MAAM,YAAY,GAAG,aAAa,CAAoB;AAClD,EAAA,SAAA,EAAS,SAAW;OACf,EAAA,MAAQ,CAAA,OAAQ;AACrB,EAAA,UAAA,EAAU,KAAO;AACjB,EAAA,cAAA,EAAc,MAAO;AACxB,CAAA,CAAC;AAEW,MAAA,qBAAqB,GAA2D,CAAC;UAIpF;;MAGa;QACb;AACF,IAAA,KAAA;AACA,IAAA,SAAA;AACJ,IAAA,YAAE;IAEF;MACS,QAAC;AACN,EAAA,MAAA,CAAA,YAAc,aAAa,CAAA,GAAA,QAAU,CAAA,KAAA,CAAA;;;iBAGpC,CAAA,CAAA,UAAA,CAAA;AAAM,IAAA,YAAA,CAAI,QAAQ,UAAU,EAAK,CAAA,CAAA,UAAS,EAAA,QAAA,EAAA,CAAA;;;WAG1C,CAAA,MAAA;gBAAO,EAAA,QAAA,KAAA,OAAA,EAAA;mBACS,CAAA,KAAA,CAAC;cACN,CAAA,yBAAiB,CAAA,MAAU,CAAM,MAAC,CAAM;WACnD,IAAA,QAAA,EAAA,QAAA,KAAA,MAAA,EAAA;AACL,cAAI,CAAA,eAAqB,CAAA,SAAA,CAAA,GAAA,CAAA,MAAA,CAAA;MAEkD,aAAA,CAAA,IAAA,CAAA;KAClE,MAAA;mBACC,CAAA,KAAA,CAAA;cAE0B,CAAA,eAAA,CAAA,SAAA,CAAA,MAAA,CAAA,MAAA,CAAA;;AAEhC,GAAA,EAAA,CAAA,QAAA,EAAQ,QAAe,CAAA,CAAA;;WAGf,CAAA;UAE2C,aAAA,GAAA,MAAA,CAAA,KAAA,CAAA,IAAA,MAAA,CAAA,OAAA;AACnD;YACQ,CAAA,eAAgB,CAAA,KAAM,CAAA,WAAY,CAAA,eAAW,EAAQ,UAAE,CAAA;AACnE,IAAA,QAAS,CAAA,IAAW,CAAA,SAAc,GAAA,CAAA,UAAY,EAAA,UAAY,GAAA,MAAA,GAAG,EAAA,CAAA,CAAA;;AAG7D,IAAA,qBAAqB,CAAA,KAAA,GACd,KAAG;AACF;UACK,sBAAmB,CAAA,YAAc,CAAA,OAAA;YAC5B,CAAA,eAAA,CAAA,KAAA,CAAA,WAAA,CAAA,UAAA,EAAA,MAAA,CAAA;WACI,EAAA,SAAA,EAAA,YAAA,EAAA,UAAA,EAAA,UAAA,CAAA,CAAA;AACjB;QAIE,YAAa,GAAA,OAAS,CAAA,OAAA;AACjC,IAAE,SAAA,EAAA,KAAA;AAEF,IAAM,KAAO,EAAA,MAAA,CAAA,KAAW,CAAA,IAAK,MAAW,CAAA,OAAa;;;;;;;;;"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface ThemeToggleProps {
3
- className?: string;
4
- }
5
- export declare const ThemeToggle: React.FC<ThemeToggleProps>;
6
- export {};
7
- //# sourceMappingURL=ThemeToggle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeToggle.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeProvider/ThemeToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,gBAAgB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAYlD,CAAC"}
@@ -1,50 +0,0 @@
1
- import {jsx}from'react/jsx-runtime';import {useTheme}from'./ThemeProvider.js';const ThemeToggle = ({
2
- className = ''
3
- }) => {
4
- const {
5
- isDarkMode,
6
- toggleDarkMode
7
- } = useTheme();
8
- return jsx("button", {
9
- onClick: toggleDarkMode,
10
- className: `rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition-colors ${className}`,
11
- "aria-label": "Toggle dark mode",
12
- children: isDarkMode ? jsx(SunIcon, {
13
- className: "w-5 h-5"
14
- }) : jsx(MoonIcon, {
15
- className: "w-5 h-5"
16
- })
17
- });
18
- };
19
- // Simple Sun icon component
20
- const SunIcon = ({
21
- className
22
- }) => jsx("svg", {
23
- xmlns: "http://www.w3.org/2000/svg",
24
- className: className,
25
- fill: "none",
26
- viewBox: "0 0 24 24",
27
- stroke: "currentColor",
28
- children: jsx("path", {
29
- strokeLinecap: "round",
30
- strokeLinejoin: "round",
31
- strokeWidth: 2,
32
- d: "M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"
33
- })
34
- });
35
- // Simple Moon icon component
36
- const MoonIcon = ({
37
- className
38
- }) => jsx("svg", {
39
- xmlns: "http://www.w3.org/2000/svg",
40
- className: className,
41
- fill: "none",
42
- viewBox: "0 0 24 24",
43
- stroke: "currentColor",
44
- children: jsx("path", {
45
- strokeLinecap: "round",
46
- strokeLinejoin: "round",
47
- strokeWidth: 2,
48
- d: "M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"
49
- })
50
- });export{ThemeToggle};//# sourceMappingURL=ThemeToggle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeToggle.js","sources":["../../../src/components/ThemeProvider/ThemeToggle.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"8EAOa,MAAA,WAAW,GAA+B,CAAC;WAC9C;AAEN,CAAA,KAAA;AASJ,EAAE,MAAA;AAEF,IAA4B,UAAA;AAC5B,IAAM;AAWN,GAA6B,GAAA,QAAA,EAAA;AAC7B,EAAM,OAAAA,GAAA,CAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +0,0 @@
1
- export { ThemeProviderTailwind, useTheme } from './ThemeProvider';
2
- export { ThemeToggle } from './ThemeToggle';
3
- export type { ThemeContextProps } from './types';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeProvider/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAGlE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,3 +0,0 @@
1
- import { DefaultTheme } from '../types';
2
- export declare const airbnbTheme: DefaultTheme;
3
- //# sourceMappingURL=airbnb.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"airbnb.d.ts","sourceRoot":"","sources":["../../../../src/components/ThemeProvider/themes/airbnb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,eAAO,MAAM,WAAW,EAAE,YAsLzB,CAAC"}
@@ -1,186 +0,0 @@
1
- // Airbnb-inspired theme
2
- const airbnbTheme = {
3
- name: 'airbnb',
4
- colors: {
5
- primary: {
6
- 50: '#fff5f5',
7
- 100: '#ffe0e0',
8
- 200: '#ffc2c2',
9
- 300: '#ff9b9b',
10
- 400: '#ff6b6b',
11
- 500: '#ff5a5f',
12
- // Airbnb primary red
13
- 600: '#e63e3e',
14
- 700: '#c53030',
15
- 800: '#9b2c2c',
16
- 900: '#742a28',
17
- 950: '#451312'
18
- },
19
- secondary: {
20
- 50: '#f8fafc',
21
- 100: '#f1f5f9',
22
- 200: '#e2e8f0',
23
- 300: '#cbd5e1',
24
- 400: '#94a3b8',
25
- 500: '#64748b',
26
- 600: '#475569',
27
- 700: '#334155',
28
- 800: '#1e293b',
29
- 900: '#0f172a',
30
- 950: '#020617'
31
- },
32
- accent: {
33
- 50: '#eefbf3',
34
- 100: '#d6f5e3',
35
- 200: '#b0eaca',
36
- 300: '#7dd8a8',
37
- 400: '#4ac282',
38
- 500: '#00A699',
39
- // Airbnb teal
40
- 600: '#17866c',
41
- 700: '#156b58',
42
- 800: '#155545',
43
- 900: '#134639',
44
- 950: '#07271f'
45
- },
46
- success: {
47
- 50: '#f0fdf4',
48
- 100: '#dcfce7',
49
- 200: '#bbf7d0',
50
- 300: '#86efac',
51
- 400: '#4ade80',
52
- 500: '#22c55e',
53
- 600: '#16a34a',
54
- 700: '#15803d',
55
- 800: '#166534',
56
- 900: '#14532d',
57
- 950: '#052e16'
58
- },
59
- warning: {
60
- 50: '#fffbeb',
61
- 100: '#fef3c7',
62
- 200: '#fde68a',
63
- 300: '#fcd34d',
64
- 400: '#fbbf24',
65
- 500: '#f59e0b',
66
- 600: '#d97706',
67
- 700: '#b45309',
68
- 800: '#92400e',
69
- 900: '#78350f',
70
- 950: '#451a03'
71
- },
72
- error: {
73
- 50: '#fef2f2',
74
- 100: '#fee2e2',
75
- 200: '#fecaca',
76
- 300: '#fca5a5',
77
- 400: '#f87171',
78
- 500: '#ef4444',
79
- 600: '#dc2626',
80
- 700: '#b91c1c',
81
- 800: '#991b1b',
82
- 900: '#7f1d1d',
83
- 950: '#450a0a'
84
- },
85
- neutral: {
86
- 50: '#fafafa',
87
- 100: '#f5f5f5',
88
- 200: '#e5e5e5',
89
- 300: '#d4d4d4',
90
- 400: '#a3a3a3',
91
- 500: '#737373',
92
- 600: '#525252',
93
- 700: '#404040',
94
- 800: '#262626',
95
- 900: '#171717',
96
- 950: '#0a0a0a'
97
- },
98
- background: {
99
- light: '#ffffff',
100
- dark: '#1e1e1e'
101
- },
102
- text: {
103
- light: {
104
- primary: '#222222',
105
- secondary: '#717171',
106
- tertiary: '#999999'
107
- },
108
- dark: {
109
- primary: '#ffffff',
110
- secondary: '#e0e0e0',
111
- tertiary: '#a0a0a0'
112
- }
113
- }
114
- },
115
- borderRadius: {
116
- sm: '4px',
117
- DEFAULT: '8px',
118
- md: '12px',
119
- lg: '16px',
120
- xl: '24px',
121
- '2xl': '32px',
122
- full: '9999px'
123
- },
124
- fontFamily: {
125
- sans: ['Circular', '-apple-system', 'BlinkMacSystemFont', 'Roboto', 'Helvetica Neue', 'sans-serif'],
126
- serif: ['Georgia', 'Cambria', 'Times New Roman', 'Times', 'serif'],
127
- mono: ['SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'monospace']
128
- },
129
- boxShadow: {
130
- sm: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
131
- DEFAULT: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
132
- md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
133
- lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
134
- xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)'
135
- },
136
- typography: {
137
- headings: {
138
- fontWeight: '700',
139
- lineHeight: '1.2',
140
- letterSpacing: '-0.025em'
141
- },
142
- body: {
143
- fontWeight: '400',
144
- lineHeight: '1.5',
145
- letterSpacing: '0'
146
- }
147
- },
148
- // Component specific styling
149
- components: {
150
- buttons: {
151
- primary: {
152
- background: '#FF5A5F',
153
- text: '#FFFFFF',
154
- hoverBackground: '#FF7E82',
155
- hoverText: '#FFFFFF',
156
- borderRadius: '8px',
157
- padding: '12px 24px',
158
- fontWeight: '600'
159
- },
160
- secondary: {
161
- background: '#FFFFFF',
162
- text: '#222222',
163
- border: '1px solid #DDDDDD',
164
- hoverBackground: '#F7F7F7',
165
- hoverText: '#222222',
166
- borderRadius: '8px',
167
- padding: '12px 24px',
168
- fontWeight: '600'
169
- }
170
- },
171
- cards: {
172
- borderRadius: '12px',
173
- padding: '24px',
174
- shadow: '0 6px 16px rgba(0, 0, 0, 0.12)',
175
- border: '1px solid #DDDDDD'
176
- },
177
- inputs: {
178
- borderRadius: '8px',
179
- borderColor: '#DDDDDD',
180
- focusBorderColor: '#FF5A5F',
181
- padding: '12px 16px',
182
- fontSize: '16px',
183
- lineHeight: '1.5'
184
- }
185
- }
186
- };export{airbnbTheme};//# sourceMappingURL=airbnb.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"airbnb.js","sources":["../../../../src/components/ThemeProvider/themes/airbnb.ts"],"sourcesContent":[null],"names":[],"mappings":"AAEA;AACa,MAAA,WAAW,GAAiB;AACrC,EAAA,IAAA,EAAI,QAAU;AACd,EAAA,MAAA,EAAM;AACF,IAAA,OAAA,EAAA;AACI,MAAA,EAAA,EAAA,SAAa;AACb,MAAA,GAAA,EAAA,SAAc;AACd,MAAA,GAAA,EAAA,SAAc;AACd,MAAA,GAAA,EAAA,SAAc;AACd,MAAA,GAAA,EAAA,SAAc;oBACA;AACd;AACA,MAAA,GAAA,EAAA,SAAc;AACd,MAAA,GAAA,EAAA,SAAc;AACd,MAAA,GAAA,EAAA,SAAc;AACd,MAAA,GAAA,EAAA,SAAc;AACjB,MAAA,GAAA,EAAA;AACD,KAAA;AACI,IAAA,SAAA;AACA,MAAA,EAAA,EAAA,SAAc;AACd,MAAA,GAAA,EAAA,SAAc;AACd,MAAA,GAAA,E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,SAAoB;AACpB,QAAA,YAAA,EAAA;AACH,QAAA,OAAA,EAAA,WAAA;AACJ,QAAA,UAAA,EAAA;AACD;AACI,KAAA;AACA,IAAA,KAAA,EAAA;AACA,MAAA,YAAM,EAAE,MAAgC;AACxC,MAAA,OAAA,EAAA,MAA2B;AAC9B,MAAA,MAAA,EAAA,gCAAA;AACD,MAAA,MAAA,EAAM;AACF,KAAA;AACA,IAAA,MAAA,EAAA;AACA,MAAA,YAAA,EAAA,KAAA;AACA,MAAA,WAAA,EAAO,SAAa;AACpB,MAAA,gBAAU,EAAM,SAAA;AAChB,MAAA,OAAA,EAAA,WAAiB;AACpB,MAAA,QAAA,EAAA,MAAA;AACJ,MAAA,UAAA,EAAA;;;"}
@@ -1,3 +0,0 @@
1
- import { DefaultTheme } from '../types';
2
- export declare const defaultTheme: DefaultTheme;
3
- //# sourceMappingURL=default.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/components/ThemeProvider/themes/default.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,eAAO,MAAM,YAAY,EAAE,YA8L1B,CAAC"}