@admin-layout/tailwind-design-pro 10.0.9-alpha.8 → 10.1.1-alpha.0

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 (273) hide show
  1. package/README.md +345 -1
  2. package/lib/cdm-locales/en/settings.json +35 -1
  3. package/lib/cdm-locales/es/settings.json +37 -3
  4. package/lib/components/Layout/BasicLayout/index.d.ts +1 -2
  5. package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
  6. package/lib/components/Layout/BasicLayout/index.js +145 -45
  7. package/lib/components/Layout/BasicLayout/index.js.map +1 -1
  8. package/lib/components/Layout/BasicLayout/utils.d.ts.map +1 -1
  9. package/lib/components/Layout/BasicLayout/utils.js +1 -1
  10. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts +1 -8
  11. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts.map +1 -1
  12. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
  13. package/lib/components/Layout/GlobalFooter/Copyright.d.ts.map +1 -1
  14. package/lib/components/Layout/GlobalFooter/Footer.d.ts.map +1 -1
  15. package/lib/components/Layout/GlobalHeader/Header.d.ts +2 -15
  16. package/lib/components/Layout/GlobalHeader/Header.d.ts.map +1 -1
  17. package/lib/components/Layout/GlobalHeader/Header.js +70 -38
  18. package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
  19. package/lib/components/Layout/GlobalHeader/Logo.d.ts +4 -0
  20. package/lib/components/Layout/GlobalHeader/Logo.d.ts.map +1 -0
  21. package/lib/components/Layout/GlobalHeader/Logo.js +141 -0
  22. package/lib/components/Layout/GlobalHeader/Logo.js.map +1 -0
  23. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts +6 -0
  24. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts.map +1 -0
  25. package/lib/components/Layout/GlobalHeader/MainHeader.js +230 -0
  26. package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -0
  27. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts +1 -12
  28. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts.map +1 -1
  29. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
  30. package/lib/components/Layout/GlobalHeader/RightContent.d.ts +1 -13
  31. package/lib/components/Layout/GlobalHeader/RightContent.d.ts.map +1 -1
  32. package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -1
  33. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts +4 -0
  34. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts.map +1 -0
  35. package/lib/components/Layout/GlobalHeader/RightMenu.js +290 -0
  36. package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -0
  37. package/lib/components/Layout/GlobalHeader/SearchBar.d.ts +9 -0
  38. package/lib/components/Layout/GlobalHeader/SearchBar.d.ts.map +1 -0
  39. package/lib/components/Layout/GlobalHeader/SearchBar.js +118 -0
  40. package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -0
  41. package/lib/components/Layout/GlobalHeader/index.d.ts +4 -0
  42. package/lib/components/Layout/GlobalHeader/index.d.ts.map +1 -0
  43. package/lib/components/Layout/ProTailwindLayout.d.ts.map +1 -1
  44. package/lib/components/Layout/ProTailwindLayout.js +1 -2
  45. package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
  46. package/lib/components/Layout/Sidebar/Divider.d.ts +1 -31
  47. package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -1
  48. package/lib/components/Layout/Sidebar/Divider.js.map +1 -1
  49. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts +5 -0
  50. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -0
  51. package/lib/components/Layout/Sidebar/DynamicIcon.js +51 -0
  52. package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -0
  53. package/lib/components/Layout/Sidebar/Sidebar.d.ts +1 -12
  54. package/lib/components/Layout/Sidebar/Sidebar.d.ts.map +1 -1
  55. package/lib/components/Layout/Sidebar/Sidebar.js +108 -92
  56. package/lib/components/Layout/Sidebar/Sidebar.js.map +1 -1
  57. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts.map +1 -1
  58. package/lib/components/Layout/Sidebar/SidebarMenu.js +110 -20
  59. package/lib/components/Layout/Sidebar/SidebarMenu.js.map +1 -1
  60. package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
  61. package/lib/components/Layout/TailwindLayout.js +29 -19
  62. package/lib/components/Layout/TailwindLayout.js.map +1 -1
  63. package/lib/components/Layout/getPageTitle.d.ts +1 -16
  64. package/lib/components/Layout/getPageTitle.d.ts.map +1 -1
  65. package/lib/components/Layout/getPageTitle.js +1 -1
  66. package/lib/components/Layout/getPageTitle.js.map +1 -1
  67. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -1
  68. package/lib/components/Layout/slot-fill/Footer.d.ts +1 -1
  69. package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -1
  70. package/lib/components/Layout/slot-fill/Footer.js +6 -6
  71. package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
  72. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -1
  73. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +3 -0
  74. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -0
  75. package/lib/components/Layout/slot-fill/HeaderSearchBar.js +6 -0
  76. package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -0
  77. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +3 -0
  78. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -0
  79. package/lib/components/Layout/slot-fill/HeaderSearchButton.js +6 -0
  80. package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -0
  81. package/lib/components/Layout/slot-fill/RightContent.d.ts +3 -0
  82. package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -0
  83. package/lib/components/Layout/slot-fill/RightContent.js +6 -0
  84. package/lib/components/Layout/slot-fill/RightContent.js.map +1 -0
  85. package/lib/components/Layout/slot-fill/index.d.ts +3 -0
  86. package/lib/components/Layout/slot-fill/index.d.ts.map +1 -1
  87. package/lib/components/Layout/util.d.ts.map +1 -1
  88. package/lib/components/Layout/util.js +12 -0
  89. package/lib/components/Layout/util.js.map +1 -0
  90. package/lib/components/SettingDrawer/CheckBoxTheme.js +1 -1
  91. package/lib/components/SettingDrawer/LayoutChange.d.ts +1 -1
  92. package/lib/components/SettingDrawer/LayoutChange.d.ts.map +1 -1
  93. package/lib/components/SettingDrawer/LayoutChange.js +75 -17
  94. package/lib/components/SettingDrawer/LayoutChange.js.map +1 -1
  95. package/lib/components/SettingDrawer/NavigationsModes.d.ts +1 -1
  96. package/lib/components/SettingDrawer/NavigationsModes.d.ts.map +1 -1
  97. package/lib/components/SettingDrawer/NavigationsModes.js +18 -10
  98. package/lib/components/SettingDrawer/NavigationsModes.js.map +1 -1
  99. package/lib/components/SettingDrawer/RegionalSettings.d.ts.map +1 -1
  100. package/lib/components/SettingDrawer/RegionalSettings.js +685 -33
  101. package/lib/components/SettingDrawer/RegionalSettings.js.map +1 -1
  102. package/lib/components/SettingDrawer/SettingDrawer.d.ts +1 -1
  103. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
  104. package/lib/components/SettingDrawer/SettingDrawer.js +164 -39
  105. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
  106. package/lib/components/SettingDrawer/WebFontsSelector.d.ts +3 -0
  107. package/lib/components/SettingDrawer/WebFontsSelector.d.ts.map +1 -0
  108. package/lib/components/SettingDrawer/WebFontsSelector.js +24 -0
  109. package/lib/components/SettingDrawer/WebFontsSelector.js.map +1 -0
  110. package/lib/components/SettingDrawer/types.d.ts +23 -2
  111. package/lib/components/SettingDrawer/types.d.ts.map +1 -1
  112. package/lib/components/ThemeProvider/ThemeProvider.d.ts +6 -16
  113. package/lib/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  114. package/lib/components/ThemeProvider/ThemeProvider.js +26 -29
  115. package/lib/components/ThemeProvider/ThemeProvider.js.map +1 -1
  116. package/lib/components/ThemeProvider/ThemeToggle.js +50 -0
  117. package/lib/components/ThemeProvider/ThemeToggle.js.map +1 -0
  118. package/lib/components/ThemeProvider/index.d.ts +2 -5
  119. package/lib/components/ThemeProvider/index.d.ts.map +1 -1
  120. package/lib/components/ThemeProvider/themes/airbnb.d.ts +3 -0
  121. package/lib/components/ThemeProvider/themes/airbnb.d.ts.map +1 -0
  122. package/lib/components/ThemeProvider/themes/airbnb.js +186 -0
  123. package/lib/components/ThemeProvider/themes/airbnb.js.map +1 -0
  124. package/lib/components/ThemeProvider/themes/default.d.ts +3 -0
  125. package/lib/components/ThemeProvider/themes/default.d.ts.map +1 -0
  126. package/lib/components/ThemeProvider/themes/default.js +183 -0
  127. package/lib/components/ThemeProvider/themes/default.js.map +1 -0
  128. package/lib/components/ThemeProvider/themes/github.d.ts +3 -0
  129. package/lib/components/ThemeProvider/themes/github.d.ts.map +1 -0
  130. package/lib/components/ThemeProvider/themes/github.js +190 -0
  131. package/lib/components/ThemeProvider/themes/github.js.map +1 -0
  132. package/lib/components/ThemeProvider/themes/index.d.ts +15 -0
  133. package/lib/components/ThemeProvider/themes/index.d.ts.map +1 -0
  134. package/lib/components/ThemeProvider/themes/index.js +7 -0
  135. package/lib/components/ThemeProvider/themes/index.js.map +1 -0
  136. package/lib/components/ThemeProvider/themes/slack.d.ts +3 -0
  137. package/lib/components/ThemeProvider/themes/slack.d.ts.map +1 -0
  138. package/lib/components/ThemeProvider/themes/slack.js +188 -0
  139. package/lib/components/ThemeProvider/themes/slack.js.map +1 -0
  140. package/lib/components/ThemeProvider/themes/spotify.d.ts +3 -0
  141. package/lib/components/ThemeProvider/themes/spotify.d.ts.map +1 -0
  142. package/lib/components/ThemeProvider/themes/spotify.js +189 -0
  143. package/lib/components/ThemeProvider/themes/spotify.js.map +1 -0
  144. package/lib/components/ThemeProvider/types.d.ts +106 -106
  145. package/lib/components/ThemeProvider/types.d.ts.map +1 -1
  146. package/lib/components/UI/CategoriesTypeList.d.ts +29 -0
  147. package/lib/components/UI/CategoriesTypeList.d.ts.map +1 -0
  148. package/lib/components/UI/CategoriesTypeList.js +140 -0
  149. package/lib/components/UI/CategoriesTypeList.js.map +1 -0
  150. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts +83 -0
  151. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts.map +1 -0
  152. package/lib/components/UI/LazyLoadingGoogleMarker.js +107 -0
  153. package/lib/components/UI/LazyLoadingGoogleMarker.js.map +1 -0
  154. package/lib/components/UI/Pagination.d.ts +6 -0
  155. package/lib/components/UI/Pagination.d.ts.map +1 -0
  156. package/lib/components/UI/Pagination.js +59 -0
  157. package/lib/components/UI/Pagination.js.map +1 -0
  158. package/lib/components/UI/ParamSearchResultContainer.d.ts +90 -0
  159. package/lib/components/UI/ParamSearchResultContainer.d.ts.map +1 -0
  160. package/lib/components/UI/ParamSearchResultContainer.js +80 -0
  161. package/lib/components/UI/ParamSearchResultContainer.js.map +1 -0
  162. package/lib/components/UI/PropertyCard.d.ts +24 -0
  163. package/lib/components/UI/PropertyCard.d.ts.map +1 -0
  164. package/lib/components/UI/PropertyCard.js +375 -0
  165. package/lib/components/UI/PropertyCard.js.map +1 -0
  166. package/lib/components/UI/PropertyCardList.d.ts +93 -0
  167. package/lib/components/UI/PropertyCardList.d.ts.map +1 -0
  168. package/lib/components/UI/PropertyCardList.js +41 -0
  169. package/lib/components/UI/PropertyCardList.js.map +1 -0
  170. package/lib/components/UI/PropertyCardOnMap.d.ts +10 -0
  171. package/lib/components/UI/PropertyCardOnMap.d.ts.map +1 -0
  172. package/lib/components/UI/PropertyCardOnMap.js +108 -0
  173. package/lib/components/UI/PropertyCardOnMap.js.map +1 -0
  174. package/lib/components/UI/icons/LocationIcon.d.ts +7 -0
  175. package/lib/components/UI/icons/LocationIcon.d.ts.map +1 -0
  176. package/lib/components/UI/icons/LocationIcon.js +18 -0
  177. package/lib/components/UI/icons/LocationIcon.js.map +1 -0
  178. package/lib/components/UI/icons/index.d.ts +2 -0
  179. package/lib/components/UI/icons/index.d.ts.map +1 -0
  180. package/lib/components/UI/index.d.ts +8 -0
  181. package/lib/components/UI/index.d.ts.map +1 -0
  182. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +1 -1
  183. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
  184. package/lib/components/index.d.ts +4 -0
  185. package/lib/components/index.d.ts.map +1 -0
  186. package/lib/components/index.js +1 -0
  187. package/lib/components/index.js.map +1 -0
  188. package/lib/components/typings.d.ts +128 -51
  189. package/lib/components/typings.d.ts.map +1 -1
  190. package/lib/config/constants.d.ts +8 -0
  191. package/lib/config/constants.d.ts.map +1 -0
  192. package/lib/config/constants.js +32 -0
  193. package/lib/config/constants.js.map +1 -0
  194. package/lib/config/env-config.d.ts +3 -0
  195. package/lib/config/env-config.d.ts.map +1 -1
  196. package/lib/config/env-config.js +19 -1
  197. package/lib/config/env-config.js.map +1 -1
  198. package/lib/helpers/DynamicIcon.d.ts +7 -4
  199. package/lib/helpers/DynamicIcon.d.ts.map +1 -1
  200. package/lib/helpers/DynamicIcon.js +51 -0
  201. package/lib/helpers/DynamicIcon.js.map +1 -0
  202. package/lib/hooks/index.d.ts +6 -0
  203. package/lib/hooks/index.d.ts.map +1 -0
  204. package/lib/hooks/use-get-current-lat-long.d.ts +18 -0
  205. package/lib/hooks/use-get-current-lat-long.d.ts.map +1 -0
  206. package/lib/hooks/use-get-current-lat-long.js +29 -0
  207. package/lib/hooks/use-get-current-lat-long.js.map +1 -0
  208. package/lib/hooks/useMediaQuery.d.ts +14 -0
  209. package/lib/hooks/useMediaQuery.d.ts.map +1 -0
  210. package/lib/hooks/useMediaQuery.js +48 -0
  211. package/lib/hooks/useMediaQuery.js.map +1 -0
  212. package/lib/hooks/useScrollThreshold.d.ts +12 -0
  213. package/lib/hooks/useScrollThreshold.d.ts.map +1 -0
  214. package/lib/hooks/useScrollThreshold.js +60 -0
  215. package/lib/hooks/useScrollThreshold.js.map +1 -0
  216. package/lib/hooks/useTailwindTheme.d.ts +34 -0
  217. package/lib/hooks/useTailwindTheme.d.ts.map +1 -0
  218. package/lib/hooks/useTailwindTheme.js +82 -0
  219. package/lib/hooks/useTailwindTheme.js.map +1 -0
  220. package/lib/hooks/useWindowSize.d.ts +6 -0
  221. package/lib/hooks/useWindowSize.d.ts.map +1 -0
  222. package/lib/hooks/useWindowSize.js +20 -0
  223. package/lib/hooks/useWindowSize.js.map +1 -0
  224. package/lib/icons.d.ts +2 -0
  225. package/lib/icons.d.ts.map +1 -1
  226. package/lib/icons.js +3 -4
  227. package/lib/icons.js.map +1 -1
  228. package/lib/index.d.ts +3 -0
  229. package/lib/index.d.ts.map +1 -1
  230. package/lib/index.js +1 -1
  231. package/lib/index.js.map +1 -1
  232. package/lib/machines/settingsMachine.d.ts +4 -1
  233. package/lib/machines/settingsMachine.d.ts.map +1 -1
  234. package/lib/machines/settingsMachine.js +171 -120
  235. package/lib/machines/settingsMachine.js.map +1 -1
  236. package/lib/machines/types.d.ts +124 -17
  237. package/lib/machines/types.d.ts.map +1 -1
  238. package/lib/machines/types.js +5 -0
  239. package/lib/machines/types.js.map +1 -0
  240. package/lib/module.d.ts +0 -1
  241. package/lib/module.d.ts.map +1 -1
  242. package/lib/module.js +14 -15
  243. package/lib/module.js.map +1 -1
  244. package/lib/redux/index.d.ts +2 -0
  245. package/lib/redux/index.d.ts.map +1 -0
  246. package/lib/redux/searchReducer.d.ts +42 -0
  247. package/lib/redux/searchReducer.d.ts.map +1 -0
  248. package/lib/redux/searchReducer.js +64 -0
  249. package/lib/redux/searchReducer.js.map +1 -0
  250. package/lib/tailwindConfig.d.ts +42 -0
  251. package/lib/tailwindConfig.d.ts.map +1 -0
  252. package/lib/tailwindConfig.js +23 -0
  253. package/lib/tailwindConfig.js.map +1 -0
  254. package/lib/utils/menu.d.ts.map +1 -1
  255. package/lib/utils/test-utils.d.ts.map +1 -1
  256. package/lib/utils/utils/index.d.ts.map +1 -1
  257. package/package.json +6 -6
  258. package/lib/components/Layout/GlobalFooter/Copyright.js +0 -8
  259. package/lib/components/Layout/GlobalFooter/Copyright.js.map +0 -1
  260. package/lib/components/Layout/GlobalFooter/Footer.js +0 -22
  261. package/lib/components/Layout/GlobalFooter/Footer.js.map +0 -1
  262. package/lib/components/ThemeProvider/themeRegistry.d.ts +0 -3
  263. package/lib/components/ThemeProvider/themeRegistry.d.ts.map +0 -1
  264. package/lib/components/ThemeProvider/themeRegistry.js +0 -388
  265. package/lib/components/ThemeProvider/themeRegistry.js.map +0 -1
  266. package/lib/components/ThemeProvider/themeUtils.d.ts +0 -26
  267. package/lib/components/ThemeProvider/themeUtils.d.ts.map +0 -1
  268. package/lib/components/ThemeProvider/themeUtils.js +0 -135
  269. package/lib/components/ThemeProvider/themeUtils.js.map +0 -1
  270. package/lib/components/defaultSettings.d.ts +0 -4
  271. package/lib/components/defaultSettings.d.ts.map +0 -1
  272. package/lib/components/defaultSettings.js +0 -14
  273. package/lib/components/defaultSettings.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ export * from './searchReducer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/redux/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,42 @@
1
+ export declare const SEARCH_ACTIONS: {
2
+ readonly SET_SEARCH_QUERY: "search/SET_SEARCH_QUERY";
3
+ readonly SET_SEARCH_RESULT: "search/SET_SEARCH_RESULT";
4
+ readonly SET_SEARCH_ERROR: "search/SET_SEARCH_ERROR";
5
+ readonly CLEAR_SEARCH: "search/CLEAR_SEARCH";
6
+ readonly SET_OPEN: "search/SET_OPEN";
7
+ readonly SET_SELECTED_INDEX: "search/SET_SELECTED_INDEX";
8
+ readonly SELECT_NEXT: "search/SELECT_NEXT";
9
+ readonly SELECT_PREVIOUS: "search/SELECT_PREVIOUS";
10
+ };
11
+ export type SearchActionType = typeof SEARCH_ACTIONS[keyof typeof SEARCH_ACTIONS];
12
+ export declare const setSearchQuery: (query: string) => {
13
+ readonly type: "search/SET_SEARCH_QUERY";
14
+ readonly payload: string;
15
+ };
16
+ export declare const setSearchResult: (results: SearchResult[]) => {
17
+ readonly type: "search/SET_SEARCH_RESULT";
18
+ readonly payload: SearchResult[];
19
+ };
20
+ export declare const setSearchError: (error: string) => {
21
+ readonly type: "search/SET_SEARCH_ERROR";
22
+ readonly payload: string;
23
+ };
24
+ export declare const clearSearch: () => {
25
+ readonly type: "search/CLEAR_SEARCH";
26
+ };
27
+ export interface SearchResult {
28
+ id: string | number;
29
+ title: string;
30
+ description?: string;
31
+ type?: string;
32
+ url?: string;
33
+ }
34
+ export interface SearchState {
35
+ searchQuery: string;
36
+ searchResults: SearchResult[];
37
+ isSearching: boolean;
38
+ searchError: string | null;
39
+ }
40
+ export type SearchAction = ReturnType<typeof setSearchQuery> | ReturnType<typeof setSearchResult> | ReturnType<typeof setSearchError> | ReturnType<typeof clearSearch>;
41
+ export declare function searchReducer(state: SearchState, action: SearchAction): SearchState;
42
+ //# sourceMappingURL=searchReducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchReducer.d.ts","sourceRoot":"","sources":["../../src/redux/searchReducer.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc;;;;;;;;;CASjB,CAAC;AAGX,MAAM,MAAM,gBAAgB,GAAG,OAAO,cAAc,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAGlF,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM;;;CAGjC,CAAC;AAEZ,eAAO,MAAM,eAAe,GAAI,SAAS,YAAY,EAAE;;;CAG5C,CAAC;AAEZ,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM;;;CAGjC,CAAC;AAEZ,eAAO,MAAM,WAAW;;CAEb,CAAC;AAGZ,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAGD,MAAM,MAAM,YAAY,GAClB,UAAU,CAAC,OAAO,cAAc,CAAC,GACjC,UAAU,CAAC,OAAO,eAAe,CAAC,GAClC,UAAU,CAAC,OAAO,cAAc,CAAC,GACjC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAWrC,wBAAgB,aAAa,CAAC,KAAK,aAAe,EAAE,MAAM,EAAE,YAAY,GAAG,WAAW,CA4BrF"}
@@ -0,0 +1,64 @@
1
+ // Action Types
2
+ const SEARCH_ACTIONS = {
3
+ SET_SEARCH_QUERY: 'search/SET_SEARCH_QUERY',
4
+ SET_SEARCH_RESULT: 'search/SET_SEARCH_RESULT',
5
+ SET_SEARCH_ERROR: 'search/SET_SEARCH_ERROR',
6
+ CLEAR_SEARCH: 'search/CLEAR_SEARCH',
7
+ SET_OPEN: 'search/SET_OPEN',
8
+ SET_SELECTED_INDEX: 'search/SET_SELECTED_INDEX',
9
+ SELECT_NEXT: 'search/SELECT_NEXT',
10
+ SELECT_PREVIOUS: 'search/SELECT_PREVIOUS'
11
+ };
12
+ // Action Creators
13
+ const setSearchQuery = query => ({
14
+ type: SEARCH_ACTIONS.SET_SEARCH_QUERY,
15
+ payload: query
16
+ });
17
+ const setSearchResult = results => ({
18
+ type: SEARCH_ACTIONS.SET_SEARCH_RESULT,
19
+ payload: results
20
+ });
21
+ const setSearchError = error => ({
22
+ type: SEARCH_ACTIONS.SET_SEARCH_ERROR,
23
+ payload: error
24
+ });
25
+ const clearSearch = () => ({
26
+ type: SEARCH_ACTIONS.CLEAR_SEARCH
27
+ });
28
+ // Initial state
29
+ const initialState = {
30
+ searchQuery: '',
31
+ searchResults: [],
32
+ isSearching: false,
33
+ searchError: null
34
+ };
35
+ // Reducer
36
+ function searchReducer(state = initialState, action) {
37
+ switch (action.type) {
38
+ case SEARCH_ACTIONS.SET_SEARCH_QUERY:
39
+ return {
40
+ ...state,
41
+ searchQuery: action.payload,
42
+ isSearching: action.payload.length > 0
43
+ };
44
+ case SEARCH_ACTIONS.SET_SEARCH_RESULT:
45
+ return {
46
+ ...state,
47
+ searchResults: action.payload,
48
+ isSearching: false,
49
+ searchError: null
50
+ };
51
+ case SEARCH_ACTIONS.SET_SEARCH_ERROR:
52
+ return {
53
+ ...state,
54
+ searchError: action.payload,
55
+ isSearching: false
56
+ };
57
+ case SEARCH_ACTIONS.CLEAR_SEARCH:
58
+ return {
59
+ ...initialState
60
+ };
61
+ default:
62
+ return state;
63
+ }
64
+ }export{SEARCH_ACTIONS,clearSearch,searchReducer,setSearchError,setSearchQuery,setSearchResult};//# sourceMappingURL=searchReducer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchReducer.js","sources":["../../src/redux/searchReducer.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACa,MAAA,cAAc,GAAG;AAC1B,EAAA,gBAAA,EAAgB,yBAA2B;AAC3C,EAAA,iBAAA,EAAiB,0BAA4B;AAC7C,EAAA,gBAAA,EAAgB,yBAA2B;AAC3C,EAAA,YAAA,EAAY,qBAAuB;AACnC,EAAA,QAAA,EAAQ,iBAAmB;AAC3B,EAAA,kBAAA,EAAkB,2BAA6B;AAC/C,EAAA,WAAA,EAAW,oBAAsB;AACjC,EAAA,eAAA,EAAe;;AAMnB;MACa,cAAc,GAAG,KAAc,KAAI;MACxC,EAAA,cAAgB,CAAA,gBAAiB;AACrC,EAAA,OAAA,EAAO;AACA,CAAA;MAEE,eAAe,GAAG,OAAwB,KAAI;MACnD,EAAA,cAAgB,CAAA,iBAAkB;AACtC,EAAA,OAAA,EAAO;AACA,CAAA;MAEE,cAAc,GAAG,KAAc,KAAI;MACxC,EAAA,cAAgB,CAAA,gBAAiB;AACrC,EAAA,OAAA,EAAO;AACA,CAAA;AAEE,MAAA,WAAW,GAAG,OAAO;MAC1B,EAAA,cAAgB,CAAA;AACb,CAAA;AAyBX;AACA,MAAM,YAAY,GAAgB;AAC9B,EAAA,WAAA,EAAW,EAAE;AACb,EAAA,aAAA,EAAa,EAAE;AACf,EAAA,WAAA,EAAW,KAAO;AAClB,EAAA,WAAA,EAAW;CACd;AAED;SACgB,aAAa,CAAC,KAAK,GAAG,YAAY,EAAE,MAAoB,EAAA;AACpE,EAAA,QAAA,MAAc,CAAA,IAAK;SACV,cAAA,CAAA,gBAA+B;aACzB;AACH,QAAA,GAAA,KAAA;mBACW,EAAA,MAAA,CAAA,OAAQ;AACnB,QAAA,WAAA,EAAA,MAAW,QAAQ,CAAC,SAAQ;;SAE/B,cAAA,CAAA,iBAAgC;aAC1B;AACH,QAAA,GAAA,KAAA;qBACa,EAAA,MAAA,CAAA,OAAQ;AACrB,QAAA,WAAA,EAAA,KAAA;AACA,QAAA,WAAA,EAAA;;SAEH,cAAA,CAAA,gBAA+B;aACzB;AACH,QAAA,GAAA,KAAA;mBACW,EAAA,MAAA,CAAA,OAAQ;AACnB,QAAA,WAAA,EAAA;;SAEH,cAAA,CAAA,YAA2B;aACrB;AACH,QAAA,GAAA;;AAER,IAAA;AACI,MAAA,OAAA,KAAA;;AAEZ"}
@@ -0,0 +1,42 @@
1
+ export declare const themeConfig: {
2
+ colors: {
3
+ primary: import("./components/ThemeProvider/types").ColorRamp;
4
+ secondary: import("./components/ThemeProvider/types").ColorRamp;
5
+ accent: import("./components/ThemeProvider/types").ColorRamp;
6
+ success: import("./components/ThemeProvider/types").ColorRamp;
7
+ warning: import("./components/ThemeProvider/types").ColorRamp;
8
+ error: import("./components/ThemeProvider/types").ColorRamp;
9
+ neutral: import("./components/ThemeProvider/types").ColorRamp;
10
+ background: {
11
+ light: string;
12
+ dark: string;
13
+ };
14
+ };
15
+ textColor: {
16
+ primary: string;
17
+ secondary: string;
18
+ tertiary: string;
19
+ };
20
+ borderRadius: {
21
+ sm: string;
22
+ DEFAULT: string;
23
+ md: string;
24
+ lg: string;
25
+ xl: string;
26
+ '2xl': string;
27
+ full: string;
28
+ };
29
+ fontFamily: {
30
+ sans: string[];
31
+ serif: string[];
32
+ mono: string[];
33
+ };
34
+ boxShadow: {
35
+ sm: string;
36
+ DEFAULT: string;
37
+ md: string;
38
+ lg: string;
39
+ xl: string;
40
+ };
41
+ };
42
+ //# sourceMappingURL=tailwindConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tailwindConfig.d.ts","sourceRoot":"","sources":["../src/tailwindConfig.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBvB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import {themes}from'./components/ThemeProvider/themes/index.js';// Get active theme - can be replaced with dynamic theme selection from your app state
2
+ const activeTheme = themes.spotify;
3
+ // Default spacing and theme from Tailwind
4
+ const themeConfig = {
5
+ colors: {
6
+ primary: activeTheme.colors.primary,
7
+ secondary: activeTheme.colors.secondary,
8
+ accent: activeTheme.colors.accent,
9
+ success: activeTheme.colors.success,
10
+ warning: activeTheme.colors.warning,
11
+ error: activeTheme.colors.error,
12
+ neutral: activeTheme.colors.neutral,
13
+ background: activeTheme.colors.background
14
+ },
15
+ textColor: {
16
+ primary: activeTheme.colors.text.light.primary,
17
+ secondary: activeTheme.colors.text.light.secondary,
18
+ tertiary: activeTheme.colors.text.light.tertiary
19
+ },
20
+ borderRadius: activeTheme.borderRadius,
21
+ fontFamily: activeTheme.fontFamily,
22
+ boxShadow: activeTheme.boxShadow
23
+ };export{themeConfig};//# sourceMappingURL=tailwindConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tailwindConfig.js","sources":["../src/tailwindConfig.ts"],"sourcesContent":[null],"names":[],"mappings":"gEAEA;AACA,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO;AAClC;AAEa,MAAA,WAAW,GAAG;AACvB,EAAA,MAAA,EAAM;AACF,IAAA,OAAA,EAAA,WAAS,CAAA,MAAY,CAAA,OAAc;AACnC,IAAA,SAAA,EAAA,WAAW,CAAA,MAAY,CAAA,SAAgB;AACvC,IAAA,MAAA,EAAA,WAAQ,CAAA,MAAY,CAAA,MAAa;AACjC,IAAA,OAAA,EAAA,WAAS,CAAA,MAAY,CAAA,OAAc;AACnC,IAAA,OAAA,EAAA,WAAS,CAAA,MAAY,CAAA,OAAc;AACnC,IAAA,KAAA,EAAA,WAAO,CAAA,MAAY,CAAA,KAAY;AAC/B,IAAA,OAAA,EAAA,WAAS,CAAA,MAAY,CAAA,OAAc;AACnC,IAAA,UAAA,EAAA,WAAY,CAAA,MAAY,CAAA;AAC3B,GAAA;AACD,EAAA,SAAA,EAAS;WACE,EAAA,kBAAc,CAAA,IAAO,CAAI,KAAM,CAAA,OAAQ;aACrC,EAAA,kBAAc,CAAA,IAAO,CAAI,KAAM,CAAA,SAAU;YAC1C,EAAA,kBAAc,CAAA,IAAO,CAAI,KAAM,CAAA;AAC1C,GAAA;cACW,EAAA,WAAa,CAAA,YAAa;YAC5B,EAAA,WAAa,CAAA,UAAW;WACzB,EAAA,WAAa,CAAA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../src/utils/menu.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,mDAUI,CAAC;AAElC,eAAO,MAAM,iBAAiB,qDAWG,CAAC;AAElC,eAAO,MAAM,eAAe,mDAQK,CAAC"}
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../src/utils/menu.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,GAAI,qBAAgB,EAAE,iBAAY,QAU9B,CAAC;AAElC,eAAO,MAAM,iBAAiB,GAAI,qBAAgB,EAAE,mBAAc,QAWjC,CAAC;AAElC,eAAO,MAAM,eAAe,GAAI,qBAAgB,EAAE,iBAAY,QAQ7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/utils/test-utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,YAAmB,GAAG,iCAMzD,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAU,MAAM,qBAMpC,CAAC;AAEF,eAAO,MAAM,YAAY,MAAO,MAAM,KAAK,MAAM,SAMhD,CAAC;AAIF,wBAAgB,oBAAoB,CAChC,OAAO,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,EAC3C,UAAU,EAAE;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE;;EAmDrD"}
1
+ {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/utils/test-utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,GAAU,SAAS,GAAG,EAAE,aAAS,kBAMpE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAM,MAAY,qBAM1C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,SAMhD,CAAC;AAIF,wBAAgB,oBAAoB,CAChC,OAAO,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,EAC3C,UAAU,EAAE;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE;;EAmDrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C,eAAO,MAAM,uBAAuB,YAAmB,GAAG,iCAMzD,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAU,MAAM,qBAMpC,CAAC;AAEF,eAAO,MAAM,YAAY,MAAO,MAAM,KAAK,MAAM,SAMhD,CAAC;AAIF,wBAAgB,oBAAoB,CAChC,OAAO,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,EAC3C,UAAU,EAAE;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE;;EAmDrD;AAED,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C,eAAO,MAAM,uBAAuB,GAAU,SAAS,GAAG,EAAE,aAAS,kBAMpE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAM,MAAY,qBAM1C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,SAMhD,CAAC;AAIF,wBAAgB,oBAAoB,CAChC,OAAO,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,EAC3C,UAAU,EAAE;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE;;EAmDrD;AAED,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/tailwind-design-pro",
3
- "version": "10.0.9-alpha.8",
3
+ "version": "10.1.1-alpha.0",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -21,8 +21,8 @@
21
21
  "watch": "yarn build:lib:watch"
22
22
  },
23
23
  "dependencies": {
24
- "@admin-layout/assets": "10.0.9-alpha.4",
25
- "@admin-layout/client": "10.0.9-alpha.4",
24
+ "@admin-layout/assets": "10.1.1-alpha.0",
25
+ "@admin-layout/client": "10.1.1-alpha.0",
26
26
  "@types/react-copy-to-clipboard": "^4.3.0",
27
27
  "base-64": "^0.1.0",
28
28
  "identicon.js": "^2.3.1",
@@ -37,7 +37,7 @@
37
37
  "use-merge-value": "^1.0.2"
38
38
  },
39
39
  "devDependencies": {
40
- "@adminide-stack/extension-api": "^10.3.1-alpha.11",
40
+ "@adminide-stack/extension-api": "^10.5.1-alpha.33",
41
41
  "@tailwindcss/aspect-ratio": "^0.4.2",
42
42
  "@tailwindcss/forms": "^0.5.4",
43
43
  "@tailwindcss/typography": "^0.5.9",
@@ -58,8 +58,8 @@
58
58
  }
59
59
  }
60
60
  },
61
- "gitHead": "772201f422e000889aaa696993e9894217deaef9",
62
61
  "typescript": {
63
62
  "definition": "lib/index.d.ts"
64
- }
63
+ },
64
+ "gitHead": "98971c95912aaacc173916358a488b412f513d52"
65
65
  }
@@ -1,8 +0,0 @@
1
- import {jsxs}from'react/jsx-runtime';const Copyright = ({
2
- title
3
- }) => jsxs("div", {
4
- style: {
5
- color: '#555353'
6
- },
7
- children: ["Copyright \u00A9 ", new Date().getFullYear(), " ", title, " All rights reserved."]
8
- });export{Copyright as default};//# sourceMappingURL=Copyright.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Copyright.js","sources":["../../../../src/components/Layout/GlobalFooter/Copyright.tsx"],"sourcesContent":[null],"names":[],"mappings":"qCAEA,MAAM,SAAS,GAAG,CAAC;AAMnB,EAAA;;;;;;"}
@@ -1,22 +0,0 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';import {Link}from'@remix-run/react';import Copyright from'./Copyright.js';const GlobalFooter = ({
2
- settings,
3
- active
4
- }) => {
5
- const {
6
- title
7
- } = settings;
8
- if (!active) return null;
9
- return jsxs("footer", {
10
- className: "py-6 text-center",
11
- children: [jsx("div", {
12
- className: "my-8",
13
- children: jsx(Link, {
14
- to: "#",
15
- className: "text-gray-600 hover:text-gray-800 transition-colors",
16
- children: "Privacy Policy"
17
- })
18
- }), jsx(Copyright, {
19
- title: title
20
- })]
21
- });
22
- };export{GlobalFooter};//# sourceMappingURL=Footer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Footer.js","sources":["../../../../src/components/Layout/GlobalFooter/Footer.tsx"],"sourcesContent":[null],"names":[],"mappings":"mHAIa,MAAA,YAAY,GAAG,CAAC;AACzB,EAAA,QAAM;AAEN,EAAA;AAAa,CAAA,KAAA;AAEb,EAAA,MAAA;AAUJ,IAAE;;;;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- import { Theme } from './types';
2
- export declare const themeRegistry: Record<string, Theme>;
3
- //# sourceMappingURL=themeRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"themeRegistry.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeProvider/themeRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAiY/C,CAAC"}