@admin-layout/tailwind-design-pro 10.0.9-alpha.4 → 10.0.9-alpha.42

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 (235) hide show
  1. package/README.md +88 -1
  2. package/lib/cdm-locales/en/settings.json +6 -1
  3. package/lib/cdm-locales/es/settings.json +5 -2
  4. package/lib/components/Layout/BasicLayout/index.d.ts +3 -1
  5. package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
  6. package/lib/components/Layout/BasicLayout/index.js +114 -62
  7. package/lib/components/Layout/BasicLayout/index.js.map +1 -1
  8. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts +1 -8
  9. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts.map +1 -1
  10. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -1
  11. package/lib/components/Layout/GlobalHeader/Header.d.ts +1 -14
  12. package/lib/components/Layout/GlobalHeader/Header.d.ts.map +1 -1
  13. package/lib/components/Layout/GlobalHeader/Header.js +1 -1
  14. package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
  15. package/lib/components/Layout/GlobalHeader/Logo.d.ts +4 -0
  16. package/lib/components/Layout/GlobalHeader/Logo.d.ts.map +1 -0
  17. package/lib/components/Layout/GlobalHeader/Logo.js +141 -0
  18. package/lib/components/Layout/GlobalHeader/Logo.js.map +1 -0
  19. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts +6 -0
  20. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts.map +1 -0
  21. package/lib/components/Layout/GlobalHeader/MainHeader.js +203 -0
  22. package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -0
  23. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts +1 -12
  24. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts.map +1 -1
  25. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
  26. package/lib/components/Layout/GlobalHeader/RightContent.d.ts +1 -13
  27. package/lib/components/Layout/GlobalHeader/RightContent.d.ts.map +1 -1
  28. package/lib/components/Layout/GlobalHeader/RightContent.js.map +1 -1
  29. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts +4 -0
  30. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts.map +1 -0
  31. package/lib/components/Layout/GlobalHeader/RightMenu.js +287 -0
  32. package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -0
  33. package/lib/components/Layout/GlobalHeader/index.d.ts +4 -0
  34. package/lib/components/Layout/GlobalHeader/index.d.ts.map +1 -0
  35. package/lib/components/Layout/ProTailwindLayout.d.ts +2 -0
  36. package/lib/components/Layout/ProTailwindLayout.d.ts.map +1 -1
  37. package/lib/components/Layout/ProTailwindLayout.js +19 -4
  38. package/lib/components/Layout/ProTailwindLayout.js.map +1 -1
  39. package/lib/components/Layout/Sidebar/Divider.d.ts +1 -31
  40. package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -1
  41. package/lib/components/Layout/Sidebar/Divider.js.map +1 -1
  42. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts +5 -0
  43. package/lib/components/Layout/Sidebar/DynamicIcon.d.ts.map +1 -0
  44. package/lib/components/Layout/Sidebar/DynamicIcon.js +51 -0
  45. package/lib/components/Layout/Sidebar/DynamicIcon.js.map +1 -0
  46. package/lib/components/Layout/Sidebar/Sidebar.d.ts +1 -12
  47. package/lib/components/Layout/Sidebar/Sidebar.d.ts.map +1 -1
  48. package/lib/components/Layout/Sidebar/Sidebar.js +10 -3
  49. package/lib/components/Layout/Sidebar/Sidebar.js.map +1 -1
  50. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts.map +1 -1
  51. package/lib/components/Layout/Sidebar/SidebarMenu.js +89 -13
  52. package/lib/components/Layout/Sidebar/SidebarMenu.js.map +1 -1
  53. package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
  54. package/lib/components/Layout/TailwindLayout.js +12 -9
  55. package/lib/components/Layout/TailwindLayout.js.map +1 -1
  56. package/lib/components/Layout/getPageTitle.d.ts +1 -16
  57. package/lib/components/Layout/getPageTitle.d.ts.map +1 -1
  58. package/lib/components/Layout/getPageTitle.js +2 -2
  59. package/lib/components/Layout/getPageTitle.js.map +1 -1
  60. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts +4 -0
  61. package/lib/components/Layout/slot-fill/AdditionalSettings.d.ts.map +1 -0
  62. package/lib/components/Layout/slot-fill/AdditionalSettings.js +7 -0
  63. package/lib/components/Layout/slot-fill/AdditionalSettings.js.map +1 -0
  64. package/lib/components/Layout/slot-fill/Footer.js +6 -6
  65. package/lib/components/Layout/slot-fill/Footer.js.map +1 -1
  66. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts +3 -0
  67. package/lib/components/Layout/slot-fill/HeaderSearchBar.d.ts.map +1 -0
  68. package/lib/components/Layout/slot-fill/HeaderSearchBar.js +6 -0
  69. package/lib/components/Layout/slot-fill/HeaderSearchBar.js.map +1 -0
  70. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts +3 -0
  71. package/lib/components/Layout/slot-fill/HeaderSearchButton.d.ts.map +1 -0
  72. package/lib/components/Layout/slot-fill/HeaderSearchButton.js +6 -0
  73. package/lib/components/Layout/slot-fill/HeaderSearchButton.js.map +1 -0
  74. package/lib/components/Layout/slot-fill/RightContent.d.ts +3 -0
  75. package/lib/components/Layout/slot-fill/RightContent.d.ts.map +1 -0
  76. package/lib/components/Layout/slot-fill/RightContent.js +6 -0
  77. package/lib/components/Layout/slot-fill/RightContent.js.map +1 -0
  78. package/lib/components/Layout/slot-fill/index.d.ts +4 -0
  79. package/lib/components/Layout/slot-fill/index.d.ts.map +1 -1
  80. package/lib/components/Layout/util.js +12 -0
  81. package/lib/components/Layout/util.js.map +1 -0
  82. package/lib/components/SettingDrawer/RegionalSettings.d.ts.map +1 -1
  83. package/lib/components/SettingDrawer/RegionalSettings.js +79 -1
  84. package/lib/components/SettingDrawer/RegionalSettings.js.map +1 -1
  85. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
  86. package/lib/components/SettingDrawer/SettingDrawer.js +101 -12
  87. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
  88. package/lib/components/SettingDrawer/ThemeColor.d.ts.map +1 -1
  89. package/lib/components/SettingDrawer/ThemeColor.js +3 -0
  90. package/lib/components/SettingDrawer/ThemeColor.js.map +1 -1
  91. package/lib/components/SettingDrawer/WebFontsSelector.d.ts +3 -0
  92. package/lib/components/SettingDrawer/WebFontsSelector.d.ts.map +1 -0
  93. package/lib/components/SettingDrawer/WebFontsSelector.js +24 -0
  94. package/lib/components/SettingDrawer/WebFontsSelector.js.map +1 -0
  95. package/lib/components/SettingDrawer/types.d.ts +19 -1
  96. package/lib/components/SettingDrawer/types.d.ts.map +1 -1
  97. package/lib/components/ThemeProvider/ThemeProvider.d.ts +8 -0
  98. package/lib/components/ThemeProvider/ThemeProvider.d.ts.map +1 -0
  99. package/lib/components/ThemeProvider/ThemeProvider.js +64 -0
  100. package/lib/components/ThemeProvider/ThemeProvider.js.map +1 -0
  101. package/lib/components/ThemeProvider/ThemeToggle.d.ts +7 -0
  102. package/lib/components/ThemeProvider/ThemeToggle.d.ts.map +1 -0
  103. package/lib/components/ThemeProvider/ThemeToggle.js +50 -0
  104. package/lib/components/ThemeProvider/ThemeToggle.js.map +1 -0
  105. package/lib/components/ThemeProvider/index.d.ts +4 -0
  106. package/lib/components/ThemeProvider/index.d.ts.map +1 -0
  107. package/lib/components/ThemeProvider/themes/airbnb.d.ts +3 -0
  108. package/lib/components/ThemeProvider/themes/airbnb.d.ts.map +1 -0
  109. package/lib/components/ThemeProvider/themes/airbnb.js +186 -0
  110. package/lib/components/ThemeProvider/themes/airbnb.js.map +1 -0
  111. package/lib/components/ThemeProvider/themes/default.d.ts +3 -0
  112. package/lib/components/ThemeProvider/themes/default.d.ts.map +1 -0
  113. package/lib/components/ThemeProvider/themes/default.js +183 -0
  114. package/lib/components/ThemeProvider/themes/default.js.map +1 -0
  115. package/lib/components/ThemeProvider/themes/github.d.ts +3 -0
  116. package/lib/components/ThemeProvider/themes/github.d.ts.map +1 -0
  117. package/lib/components/ThemeProvider/themes/github.js +190 -0
  118. package/lib/components/ThemeProvider/themes/github.js.map +1 -0
  119. package/lib/components/ThemeProvider/themes/index.d.ts +15 -0
  120. package/lib/components/ThemeProvider/themes/index.d.ts.map +1 -0
  121. package/lib/components/ThemeProvider/themes/index.js +7 -0
  122. package/lib/components/ThemeProvider/themes/index.js.map +1 -0
  123. package/lib/components/ThemeProvider/themes/slack.d.ts +3 -0
  124. package/lib/components/ThemeProvider/themes/slack.d.ts.map +1 -0
  125. package/lib/components/ThemeProvider/themes/slack.js +188 -0
  126. package/lib/components/ThemeProvider/themes/slack.js.map +1 -0
  127. package/lib/components/ThemeProvider/themes/spotify.d.ts +3 -0
  128. package/lib/components/ThemeProvider/themes/spotify.d.ts.map +1 -0
  129. package/lib/components/ThemeProvider/themes/spotify.js +189 -0
  130. package/lib/components/ThemeProvider/themes/spotify.js.map +1 -0
  131. package/lib/components/ThemeProvider/types.d.ts +112 -0
  132. package/lib/components/ThemeProvider/types.d.ts.map +1 -0
  133. package/lib/components/UI/CategoriesTypeList.d.ts +29 -0
  134. package/lib/components/UI/CategoriesTypeList.d.ts.map +1 -0
  135. package/lib/components/UI/CategoriesTypeList.js +140 -0
  136. package/lib/components/UI/CategoriesTypeList.js.map +1 -0
  137. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts +83 -0
  138. package/lib/components/UI/LazyLoadingGoogleMarker.d.ts.map +1 -0
  139. package/lib/components/UI/LazyLoadingGoogleMarker.js +107 -0
  140. package/lib/components/UI/LazyLoadingGoogleMarker.js.map +1 -0
  141. package/lib/components/UI/Pagination.d.ts +6 -0
  142. package/lib/components/UI/Pagination.d.ts.map +1 -0
  143. package/lib/components/UI/Pagination.js +59 -0
  144. package/lib/components/UI/Pagination.js.map +1 -0
  145. package/lib/components/UI/ParamSearchResultContainer.d.ts +90 -0
  146. package/lib/components/UI/ParamSearchResultContainer.d.ts.map +1 -0
  147. package/lib/components/UI/ParamSearchResultContainer.js +80 -0
  148. package/lib/components/UI/ParamSearchResultContainer.js.map +1 -0
  149. package/lib/components/UI/PropertyCard.d.ts +24 -0
  150. package/lib/components/UI/PropertyCard.d.ts.map +1 -0
  151. package/lib/components/UI/PropertyCard.js +377 -0
  152. package/lib/components/UI/PropertyCard.js.map +1 -0
  153. package/lib/components/UI/PropertyCardList.d.ts +93 -0
  154. package/lib/components/UI/PropertyCardList.d.ts.map +1 -0
  155. package/lib/components/UI/PropertyCardList.js +41 -0
  156. package/lib/components/UI/PropertyCardList.js.map +1 -0
  157. package/lib/components/UI/PropertyCardOnMap.d.ts +10 -0
  158. package/lib/components/UI/PropertyCardOnMap.d.ts.map +1 -0
  159. package/lib/components/UI/PropertyCardOnMap.js +108 -0
  160. package/lib/components/UI/PropertyCardOnMap.js.map +1 -0
  161. package/lib/components/UI/icons/LocationIcon.d.ts +7 -0
  162. package/lib/components/UI/icons/LocationIcon.d.ts.map +1 -0
  163. package/lib/components/UI/icons/LocationIcon.js +18 -0
  164. package/lib/components/UI/icons/LocationIcon.js.map +1 -0
  165. package/lib/components/UI/icons/index.d.ts +2 -0
  166. package/lib/components/UI/icons/index.d.ts.map +1 -0
  167. package/lib/components/UI/index.d.ts +8 -0
  168. package/lib/components/UI/index.d.ts.map +1 -0
  169. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +1 -1
  170. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
  171. package/lib/components/index.d.ts +4 -0
  172. package/lib/components/index.d.ts.map +1 -0
  173. package/lib/components/index.js +1 -0
  174. package/lib/components/index.js.map +1 -0
  175. package/lib/components/typings.d.ts +123 -51
  176. package/lib/components/typings.d.ts.map +1 -1
  177. package/lib/compute.d.ts.map +1 -1
  178. package/lib/compute.js +24 -8
  179. package/lib/compute.js.map +1 -1
  180. package/lib/config/constants.d.ts +7 -0
  181. package/lib/config/constants.d.ts.map +1 -0
  182. package/lib/config/constants.js +6 -0
  183. package/lib/config/constants.js.map +1 -0
  184. package/lib/config/env-config.d.ts +2 -0
  185. package/lib/config/env-config.d.ts.map +1 -1
  186. package/lib/config/env-config.js +15 -1
  187. package/lib/config/env-config.js.map +1 -1
  188. package/lib/helpers/DynamicIcon.d.ts +7 -4
  189. package/lib/helpers/DynamicIcon.d.ts.map +1 -1
  190. package/lib/helpers/DynamicIcon.js +51 -0
  191. package/lib/helpers/DynamicIcon.js.map +1 -0
  192. package/lib/hooks/index.d.ts +5 -0
  193. package/lib/hooks/index.d.ts.map +1 -0
  194. package/lib/hooks/use-get-current-lat-long.d.ts +18 -0
  195. package/lib/hooks/use-get-current-lat-long.d.ts.map +1 -0
  196. package/lib/hooks/use-get-current-lat-long.js +29 -0
  197. package/lib/hooks/use-get-current-lat-long.js.map +1 -0
  198. package/lib/hooks/useScrollThreshold.d.ts +12 -0
  199. package/lib/hooks/useScrollThreshold.d.ts.map +1 -0
  200. package/lib/hooks/useScrollThreshold.js +60 -0
  201. package/lib/hooks/useScrollThreshold.js.map +1 -0
  202. package/lib/hooks/useTailwindTheme.d.ts +34 -0
  203. package/lib/hooks/useTailwindTheme.d.ts.map +1 -0
  204. package/lib/hooks/useTailwindTheme.js +82 -0
  205. package/lib/hooks/useTailwindTheme.js.map +1 -0
  206. package/lib/hooks/useWindowSize.d.ts +6 -0
  207. package/lib/hooks/useWindowSize.d.ts.map +1 -0
  208. package/lib/hooks/useWindowSize.js +20 -0
  209. package/lib/hooks/useWindowSize.js.map +1 -0
  210. package/lib/index.d.ts +2 -0
  211. package/lib/index.d.ts.map +1 -1
  212. package/lib/index.js +1 -1
  213. package/lib/index.js.map +1 -1
  214. package/lib/machines/settingsMachine.d.ts.map +1 -1
  215. package/lib/machines/settingsMachine.js +23 -3
  216. package/lib/machines/settingsMachine.js.map +1 -1
  217. package/lib/machines/types.d.ts +14 -0
  218. package/lib/machines/types.d.ts.map +1 -1
  219. package/lib/machines/types.js +5 -0
  220. package/lib/machines/types.js.map +1 -0
  221. package/lib/module.d.ts +0 -1
  222. package/lib/module.d.ts.map +1 -1
  223. package/lib/module.js +12 -14
  224. package/lib/module.js.map +1 -1
  225. package/lib/routes.json +42 -0
  226. package/lib/styles/index.css +438 -46
  227. package/lib/tailwindConfig.d.ts +42 -0
  228. package/lib/tailwindConfig.d.ts.map +1 -0
  229. package/lib/tailwindConfig.js +23 -0
  230. package/lib/tailwindConfig.js.map +1 -0
  231. package/package.json +4 -4
  232. package/lib/components/Layout/GlobalFooter/Copyright.js +0 -8
  233. package/lib/components/Layout/GlobalFooter/Copyright.js.map +0 -1
  234. package/lib/components/Layout/GlobalFooter/Footer.js +0 -22
  235. package/lib/components/Layout/GlobalFooter/Footer.js.map +0 -1
@@ -3,49 +3,441 @@
3
3
  @tailwind components;
4
4
  @tailwind utilities;
5
5
 
6
- @layer base {
7
- :root {
8
- --background: 0 0% 100%;
9
- --foreground: 222.2 84% 4.9%;
10
- --card: 0 0% 100%;
11
- --card-foreground: 222.2 84% 4.9%;
12
- --popover: 0 0% 100%;
13
- --popover-foreground: 222.2 84% 4.9%;
14
- --primary: 221.2 83.2% 53.3%;
15
- --primary-foreground: 210 40% 98%;
16
- --secondary: 210 40% 96.1%;
17
- --secondary-foreground: 222.2 47.4% 11.2%;
18
- --muted: 210 40% 96.1%;
19
- --muted-foreground: 215.4 16.3% 46.9%;
20
- --accent: 210 40% 96.1%;
21
- --accent-foreground: 222.2 47.4% 11.2%;
22
- --destructive: 0 84.2% 60.2%;
23
- --destructive-foreground: 210 40% 98%;
24
- --border: 214.3 31.8% 91.4%;
25
- --input: 214.3 31.8% 91.4%;
26
- --ring: 221.2 83.2% 53.3%;
27
- --radius: 0.5rem;
28
- }
29
-
30
- .dark {
31
- --background: 222.2 84% 4.9%;
32
- --foreground: 210 40% 98%;
33
- --card: 222.2 84% 4.9%;
34
- --card-foreground: 210 40% 98%;
35
- --popover: 222.2 84% 4.9%;
36
- --popover-foreground: 210 40% 98%;
37
- --primary: 217.2 91.2% 59.8%;
38
- --primary-foreground: 222.2 47.4% 11.2%;
39
- --secondary: 217.2 32.6% 17.5%;
40
- --secondary-foreground: 210 40% 98%;
41
- --muted: 217.2 32.6% 17.5%;
42
- --muted-foreground: 215 20.2% 65.1%;
43
- --accent: 217.2 32.6% 17.5%;
44
- --accent-foreground: 210 40% 98%;
45
- --destructive: 0 62.8% 30.6%;
46
- --destructive-foreground: 210 40% 98%;
47
- --border: 217.2 32.6% 17.5%;
48
- --input: 217.2 32.6% 17.5%;
49
- --ring: 224.3 76.3% 48%;
50
- }
51
- }
6
+ /* Base theme variables */
7
+ :root {
8
+ /* Theme colors */
9
+ --background: 0 0% 100%;
10
+ --foreground: 222.2 84% 4.9%;
11
+ --card: 0 0% 100%;
12
+ --card-foreground: 222.2 84% 4.9%;
13
+ --popover: 0 0% 100%;
14
+ --popover-foreground: 222.2 84% 4.9%;
15
+ --primary: 221.2 83.2% 53.3%;
16
+ --primary-foreground: 210 40% 98%;
17
+ --secondary: 210 40% 96.1%;
18
+ --secondary-foreground: 222.2 47.4% 11.2%;
19
+ --muted: 210 40% 96.1%;
20
+ --muted-foreground: 215.4 16.3% 46.9%;
21
+ --accent: 210 40% 96.1%;
22
+ --accent-foreground: 222.2 47.4% 11.2%;
23
+ --destructive: 0 84.2% 60.2%;
24
+ --destructive-foreground: 210 40% 98%;
25
+ --border: 214.3 31.8% 91.4%;
26
+ --input: 214.3 31.8% 91.4%;
27
+ --ring: 221.2 83.2% 53.3%;
28
+ --radius: 0.5rem;
29
+
30
+ /* Fonts */
31
+ --font-family: 'Inter', sans-serif;
32
+
33
+ /* Font sizes */
34
+ --font-size-xs: 0.75rem;
35
+ --font-size-sm: 0.875rem;
36
+ --font-size-base: 1rem;
37
+ --font-size-lg: 1.125rem;
38
+ --font-size-xl: 1.25rem;
39
+ --font-size-2xl: 1.5rem;
40
+ --font-size-3xl: 1.875rem;
41
+ --font-size-4xl: 2.25rem;
42
+ --font-size-5xl: 3rem;
43
+
44
+ /* Spacing */
45
+ --spacing-px: 1px;
46
+ --spacing-0: 0;
47
+ --spacing-0_5: 0.125rem;
48
+ --spacing-1: 0.25rem;
49
+ --spacing-1_5: 0.375rem;
50
+ --spacing-2: 0.5rem;
51
+ --spacing-2_5: 0.625rem;
52
+ --spacing-3: 0.75rem;
53
+ --spacing-3_5: 0.875rem;
54
+ --spacing-4: 1rem;
55
+ --spacing-5: 1.25rem;
56
+ --spacing-6: 1.5rem;
57
+ --spacing-8: 2rem;
58
+ --spacing-10: 2.5rem;
59
+ --spacing-12: 3rem;
60
+ --spacing-16: 4rem;
61
+ --spacing-20: 5rem;
62
+ --spacing-24: 6rem;
63
+ --spacing-32: 8rem;
64
+ --spacing-40: 10rem;
65
+ --spacing-48: 12rem;
66
+ --spacing-56: 14rem;
67
+ --spacing-64: 16rem;
68
+
69
+ /* Border radius */
70
+ --radius-none: 0;
71
+ --radius-sm: 0.125rem;
72
+ --radius-default: 0.25rem;
73
+ --radius-md: 0.375rem;
74
+ --radius-lg: 0.5rem;
75
+ --radius-xl: 0.75rem;
76
+ --radius-2xl: 1rem;
77
+ --radius-3xl: 1.5rem;
78
+ --radius-full: 9999px;
79
+ }
80
+
81
+ /* Dark mode theme variables */
82
+ .dark {
83
+ --background: 222.2 84% 4.9%;
84
+ --foreground: 210 40% 98%;
85
+ --card: 222.2 84% 4.9%;
86
+ --card-foreground: 210 40% 98%;
87
+ --popover: 222.2 84% 4.9%;
88
+ --popover-foreground: 210 40% 98%;
89
+ --primary: 217.2 91.2% 59.8%;
90
+ --primary-foreground: 222.2 47.4% 11.2%;
91
+ --secondary: 217.2 32.6% 17.5%;
92
+ --secondary-foreground: 210 40% 98%;
93
+ --muted: 217.2 32.6% 17.5%;
94
+ --muted-foreground: 215 20.2% 65.1%;
95
+ --accent: 217.2 32.6% 17.5%;
96
+ --accent-foreground: 210 40% 98%;
97
+ --destructive: 0 62.8% 30.6%;
98
+ --destructive-foreground: 210 40% 98%;
99
+ --border: 217.2 32.6% 17.5%;
100
+ --input: 217.2 32.6% 17.5%;
101
+ --ring: 224.3 76.3% 48%;
102
+ }
103
+
104
+ /* Theme color utilities */
105
+ .bg-background {
106
+ background-color: hsl(var(--background)) !important;
107
+ }
108
+
109
+ .text-foreground {
110
+ color: hsl(var(--foreground)) !important;
111
+ }
112
+
113
+ .bg-card {
114
+ background-color: hsl(var(--card)) !important;
115
+ }
116
+
117
+ .text-card-foreground {
118
+ color: hsl(var(--card-foreground)) !important;
119
+ }
120
+
121
+ .bg-popover {
122
+ background-color: hsl(var(--popover)) !important;
123
+ }
124
+
125
+ .text-popover-foreground {
126
+ color: hsl(var(--popover-foreground)) !important;
127
+ }
128
+
129
+ .bg-primary {
130
+ background-color: hsl(var(--primary)) !important;
131
+ }
132
+
133
+ .text-primary {
134
+ color: hsl(var(--primary)) !important;
135
+ }
136
+
137
+ .border-primary {
138
+ border-color: hsl(var(--primary)) !important;
139
+ }
140
+
141
+ .ring-primary {
142
+ --tw-ring-color: hsl(var(--primary)) !important;
143
+ }
144
+
145
+ .hover\:bg-primary:hover {
146
+ background-color: hsl(var(--primary)) !important;
147
+ }
148
+
149
+ .hover\:text-primary:hover {
150
+ color: hsl(var(--primary)) !important;
151
+ }
152
+
153
+ .text-primary-foreground {
154
+ color: hsl(var(--primary-foreground)) !important;
155
+ }
156
+
157
+ .bg-secondary {
158
+ background-color: hsl(var(--secondary)) !important;
159
+ }
160
+
161
+ .text-secondary {
162
+ color: hsl(var(--secondary)) !important;
163
+ }
164
+
165
+ .border-secondary {
166
+ border-color: hsl(var(--secondary)) !important;
167
+ }
168
+
169
+ .text-secondary-foreground {
170
+ color: hsl(var(--secondary-foreground)) !important;
171
+ }
172
+
173
+ .bg-muted {
174
+ background-color: hsl(var(--muted)) !important;
175
+ }
176
+
177
+ .text-muted {
178
+ color: hsl(var(--muted)) !important;
179
+ }
180
+
181
+ .text-muted-foreground {
182
+ color: hsl(var(--muted-foreground)) !important;
183
+ }
184
+
185
+ .bg-accent {
186
+ background-color: hsl(var(--accent)) !important;
187
+ }
188
+
189
+ .text-accent {
190
+ color: hsl(var(--accent)) !important;
191
+ }
192
+
193
+ .text-accent-foreground {
194
+ color: hsl(var(--accent-foreground)) !important;
195
+ }
196
+
197
+ .bg-destructive {
198
+ background-color: hsl(var(--destructive)) !important;
199
+ }
200
+
201
+ .text-destructive {
202
+ color: hsl(var(--destructive)) !important;
203
+ }
204
+
205
+ .text-destructive-foreground {
206
+ color: hsl(var(--destructive-foreground)) !important;
207
+ }
208
+
209
+ .border-border {
210
+ border-color: hsl(var(--border)) !important;
211
+ }
212
+
213
+ .border-input {
214
+ border-color: hsl(var(--input)) !important;
215
+ }
216
+
217
+ .focus-ring {
218
+ outline: 2px solid hsl(var(--ring));
219
+ outline-offset: 2px;
220
+ }
221
+
222
+ /* Font family utility */
223
+ .font-sans {
224
+ font-family: var(--font-family) !important;
225
+ }
226
+
227
+ /* Border radius utilities */
228
+ .rounded-none {
229
+ border-radius: var(--radius-none) !important;
230
+ }
231
+
232
+ .rounded-sm {
233
+ border-radius: var(--radius-sm) !important;
234
+ }
235
+
236
+ .rounded {
237
+ border-radius: var(--radius-default) !important;
238
+ }
239
+
240
+ .rounded-md {
241
+ border-radius: var(--radius-md) !important;
242
+ }
243
+
244
+ .rounded-lg {
245
+ border-radius: var(--radius-lg) !important;
246
+ }
247
+
248
+ .rounded-xl {
249
+ border-radius: var(--radius-xl) !important;
250
+ }
251
+
252
+ .rounded-2xl {
253
+ border-radius: var(--radius-2xl) !important;
254
+ }
255
+
256
+ .rounded-3xl {
257
+ border-radius: var(--radius-3xl) !important;
258
+ }
259
+
260
+ .rounded-full {
261
+ border-radius: var(--radius-full) !important;
262
+ }
263
+
264
+ /* Font size utilities */
265
+ .text-xs {
266
+ font-size: var(--font-size-xs) !important;
267
+ }
268
+
269
+ .text-sm {
270
+ font-size: var(--font-size-sm) !important;
271
+ }
272
+
273
+ .text-base {
274
+ font-size: var(--font-size-base) !important;
275
+ }
276
+
277
+ .text-lg {
278
+ font-size: var(--font-size-lg) !important;
279
+ }
280
+
281
+ .text-xl {
282
+ font-size: var(--font-size-xl) !important;
283
+ }
284
+
285
+ .text-2xl {
286
+ font-size: var(--font-size-2xl) !important;
287
+ }
288
+
289
+ .text-3xl {
290
+ font-size: var(--font-size-3xl) !important;
291
+ }
292
+
293
+ .text-4xl {
294
+ font-size: var(--font-size-4xl) !important;
295
+ }
296
+
297
+ .text-5xl {
298
+ font-size: var(--font-size-5xl) !important;
299
+ }
300
+
301
+ /* Button styles */
302
+ .btn {
303
+ display: inline-flex;
304
+ align-items: center;
305
+ justify-content: center;
306
+ border-radius: var(--radius-md);
307
+ font-weight: 500;
308
+ transition-property: color, background-color, border-color;
309
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
310
+ transition-duration: 150ms;
311
+ padding: 0.5rem 1rem;
312
+ font-family: var(--font-family);
313
+ }
314
+
315
+ .btn-primary {
316
+ background-color: hsl(var(--primary));
317
+ color: hsl(var(--primary-foreground));
318
+ }
319
+
320
+ .btn-primary:hover {
321
+ background-color: hsl(var(--primary) / 0.9);
322
+ }
323
+
324
+ .btn-secondary {
325
+ background-color: hsl(var(--secondary));
326
+ color: hsl(var(--secondary-foreground));
327
+ }
328
+
329
+ .btn-secondary:hover {
330
+ background-color: hsl(var(--secondary) / 0.9);
331
+ }
332
+
333
+ .btn-accent {
334
+ background-color: hsl(var(--accent));
335
+ color: hsl(var(--accent-foreground));
336
+ }
337
+
338
+ .btn-accent:hover {
339
+ background-color: hsl(var(--accent) / 0.9);
340
+ }
341
+
342
+ .btn-destructive {
343
+ background-color: hsl(var(--destructive));
344
+ color: hsl(var(--destructive-foreground));
345
+ }
346
+
347
+ .btn-destructive:hover {
348
+ background-color: hsl(var(--destructive) / 0.9);
349
+ }
350
+
351
+ .btn-outline {
352
+ border: 1px solid hsl(var(--input));
353
+ background-color: transparent;
354
+ color: hsl(var(--foreground));
355
+ }
356
+
357
+ .btn-outline:hover {
358
+ background-color: hsl(var(--accent));
359
+ color: hsl(var(--accent-foreground));
360
+ }
361
+
362
+ /* Card styles */
363
+ .card {
364
+ background-color: hsl(var(--card));
365
+ color: hsl(var(--card-foreground));
366
+ border-radius: var(--radius-lg);
367
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
368
+ }
369
+
370
+ /* Form input styles */
371
+ .input {
372
+ display: block;
373
+ width: 100%;
374
+ padding: 0.5rem;
375
+ border-radius: var(--radius-md);
376
+ border: 1px solid hsl(var(--input));
377
+ background-color: transparent;
378
+ color: hsl(var(--foreground));
379
+ font-family: var(--font-family);
380
+ font-size: var(--font-size-base);
381
+ }
382
+
383
+ .input:focus {
384
+ outline: 2px solid hsl(var(--ring));
385
+ outline-offset: 2px;
386
+ }
387
+
388
+ /* Menu and navbar styles */
389
+ .menu {
390
+ list-style: none;
391
+ padding: 0;
392
+ margin: 0;
393
+ font-family: var(--font-family);
394
+ }
395
+
396
+ .menu-item {
397
+ padding: 0.5rem 1rem;
398
+ border-radius: var(--radius-md);
399
+ color: hsl(var(--foreground));
400
+ transition-property: color, background-color;
401
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
402
+ transition-duration: 150ms;
403
+ }
404
+
405
+ .menu-item:hover {
406
+ background-color: hsl(var(--accent));
407
+ color: hsl(var(--accent-foreground));
408
+ }
409
+
410
+ .menu-item.active {
411
+ background-color: hsl(var(--primary));
412
+ color: hsl(var(--primary-foreground));
413
+ }
414
+
415
+ /* Navbar styles */
416
+ .navbar {
417
+ background-color: hsl(var(--background));
418
+ border-bottom: 1px solid hsl(var(--border));
419
+ padding: 0.75rem 1rem;
420
+ display: flex;
421
+ align-items: center;
422
+ font-family: var(--font-family);
423
+ }
424
+
425
+ /* Sidebar styles */
426
+ .sidebar {
427
+ background-color: hsl(var(--card));
428
+ border-right: 1px solid hsl(var(--border));
429
+ font-family: var(--font-family);
430
+ }
431
+
432
+ /* Utility for transitions */
433
+ .transition-colors {
434
+ transition-property: color, background-color, border-color;
435
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
436
+ transition-duration: 150ms;
437
+ }
438
+
439
+ .transition-all {
440
+ transition-property: all;
441
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
442
+ transition-duration: 150ms;
443
+ }
@@ -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;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/tailwind-design-pro",
3
- "version": "10.0.9-alpha.4",
3
+ "version": "10.0.9-alpha.42",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@admin-layout/assets": "10.0.9-alpha.4",
25
- "@admin-layout/client": "10.0.9-alpha.4",
25
+ "@admin-layout/client": "10.0.9-alpha.42",
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.7",
41
41
  "@tailwindcss/aspect-ratio": "^0.4.2",
42
42
  "@tailwindcss/forms": "^0.5.4",
43
43
  "@tailwindcss/typography": "^0.5.9",
@@ -58,7 +58,7 @@
58
58
  }
59
59
  }
60
60
  },
61
- "gitHead": "6d3f67b63bdf37a197375c0e78e0d650088f7c40",
61
+ "gitHead": "b09941b42df7f01e61709f28c23626ecbbc2c105",
62
62
  "typescript": {
63
63
  "definition": "lib/index.d.ts"
64
64
  }
@@ -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;;;;;;;;;;;;;;;;"}