@admin-layout/tailwind-design-pro 10.1.1-alpha.9 → 12.0.16-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 (114) hide show
  1. package/README.md +306 -250
  2. package/lib/cdm-locales/en/settings.json +6 -1
  3. package/lib/cdm-locales/es/settings.json +6 -1
  4. package/lib/components/LanguageMenu/LanguageMenu.d.ts.map +1 -1
  5. package/lib/components/LanguageMenu/LanguageMenu.js +8 -18
  6. package/lib/components/LanguageMenu/LanguageMenu.js.map +1 -1
  7. package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -1
  8. package/lib/components/Layout/BasicLayout/index.js +18 -28
  9. package/lib/components/Layout/BasicLayout/index.js.map +1 -1
  10. package/lib/components/Layout/BasicLayout/utils.js +1 -14
  11. package/lib/components/Layout/BasicLayout/utils.js.map +1 -1
  12. package/lib/components/Layout/GlobalHeader/Header.d.ts.map +1 -1
  13. package/lib/components/Layout/GlobalHeader/Header.js +30 -31
  14. package/lib/components/Layout/GlobalHeader/Header.js.map +1 -1
  15. package/lib/components/Layout/GlobalHeader/MainHeader.d.ts.map +1 -1
  16. package/lib/components/Layout/GlobalHeader/MainHeader.js +25 -27
  17. package/lib/components/Layout/GlobalHeader/MainHeader.js.map +1 -1
  18. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts.map +1 -1
  19. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js +4 -4
  20. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -1
  21. package/lib/components/Layout/GlobalHeader/RightMenu.d.ts.map +1 -1
  22. package/lib/components/Layout/GlobalHeader/RightMenu.js +13 -29
  23. package/lib/components/Layout/GlobalHeader/RightMenu.js.map +1 -1
  24. package/lib/components/Layout/GlobalHeader/SearchBar.d.ts.map +1 -1
  25. package/lib/components/Layout/GlobalHeader/SearchBar.js +7 -7
  26. package/lib/components/Layout/GlobalHeader/SearchBar.js.map +1 -1
  27. package/lib/components/Layout/Sidebar/Sidebar.d.ts.map +1 -1
  28. package/lib/components/Layout/Sidebar/Sidebar.js +32 -38
  29. package/lib/components/Layout/Sidebar/Sidebar.js.map +1 -1
  30. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts.map +1 -1
  31. package/lib/components/Layout/Sidebar/SidebarMenu.js +25 -32
  32. package/lib/components/Layout/Sidebar/SidebarMenu.js.map +1 -1
  33. package/lib/components/Layout/TailwindLayout.d.ts.map +1 -1
  34. package/lib/components/Layout/TailwindLayout.js +7 -3
  35. package/lib/components/Layout/TailwindLayout.js.map +1 -1
  36. package/lib/components/SettingDrawer/InvitationSettings.d.ts +3 -0
  37. package/lib/components/SettingDrawer/InvitationSettings.d.ts.map +1 -0
  38. package/lib/components/SettingDrawer/InvitationSettings.js +79 -0
  39. package/lib/components/SettingDrawer/InvitationSettings.js.map +1 -0
  40. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -1
  41. package/lib/components/SettingDrawer/SettingDrawer.js +8 -2
  42. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -1
  43. package/lib/components/UI/PropertyCard.d.ts.map +1 -1
  44. package/lib/components/UI/PropertyCard.js +73 -31
  45. package/lib/components/UI/PropertyCard.js.map +1 -1
  46. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +7 -3
  47. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -1
  48. package/lib/components/index.d.ts +0 -1
  49. package/lib/components/index.d.ts.map +1 -1
  50. package/lib/components/index.js +1 -1
  51. package/lib/compute.d.ts.map +1 -1
  52. package/lib/compute.js.map +1 -1
  53. package/lib/config/analytics-config.d.ts +59 -0
  54. package/lib/config/analytics-config.d.ts.map +1 -0
  55. package/lib/config/env-config.d.ts +3 -0
  56. package/lib/config/env-config.d.ts.map +1 -1
  57. package/lib/config/env-config.js +11 -1
  58. package/lib/config/env-config.js.map +1 -1
  59. package/lib/config/index.d.ts +3 -0
  60. package/lib/config/index.d.ts.map +1 -0
  61. package/lib/index.d.ts +0 -1
  62. package/lib/index.d.ts.map +1 -1
  63. package/lib/index.js +1 -1
  64. package/lib/index.js.map +1 -1
  65. package/lib/redux/searchReducer.d.ts +1 -1
  66. package/lib/redux/searchReducer.d.ts.map +1 -1
  67. package/lib/redux/searchReducer.js.map +1 -1
  68. package/lib/styles/index-bk.css +443 -0
  69. package/lib/styles/index.css +602 -372
  70. package/lib/tailwindConfig.d.ts +85 -27
  71. package/lib/tailwindConfig.d.ts.map +1 -1
  72. package/lib/tailwindConfig.js +96 -18
  73. package/lib/tailwindConfig.js.map +1 -1
  74. package/lib/utils/analytics-utils.d.ts +43 -0
  75. package/lib/utils/analytics-utils.d.ts.map +1 -0
  76. package/lib/utils/analytics.d.ts +48 -0
  77. package/lib/utils/analytics.d.ts.map +1 -0
  78. package/package.json +6 -4
  79. package/lib/components/ThemeProvider/ThemeProvider.d.ts +0 -8
  80. package/lib/components/ThemeProvider/ThemeProvider.d.ts.map +0 -1
  81. package/lib/components/ThemeProvider/ThemeProvider.js +0 -60
  82. package/lib/components/ThemeProvider/ThemeProvider.js.map +0 -1
  83. package/lib/components/ThemeProvider/ThemeToggle.d.ts +0 -7
  84. package/lib/components/ThemeProvider/ThemeToggle.d.ts.map +0 -1
  85. package/lib/components/ThemeProvider/ThemeToggle.js +0 -50
  86. package/lib/components/ThemeProvider/ThemeToggle.js.map +0 -1
  87. package/lib/components/ThemeProvider/index.d.ts +0 -4
  88. package/lib/components/ThemeProvider/index.d.ts.map +0 -1
  89. package/lib/components/ThemeProvider/themes/airbnb.d.ts +0 -3
  90. package/lib/components/ThemeProvider/themes/airbnb.d.ts.map +0 -1
  91. package/lib/components/ThemeProvider/themes/airbnb.js +0 -186
  92. package/lib/components/ThemeProvider/themes/airbnb.js.map +0 -1
  93. package/lib/components/ThemeProvider/themes/default.d.ts +0 -3
  94. package/lib/components/ThemeProvider/themes/default.d.ts.map +0 -1
  95. package/lib/components/ThemeProvider/themes/default.js +0 -183
  96. package/lib/components/ThemeProvider/themes/default.js.map +0 -1
  97. package/lib/components/ThemeProvider/themes/github.d.ts +0 -3
  98. package/lib/components/ThemeProvider/themes/github.d.ts.map +0 -1
  99. package/lib/components/ThemeProvider/themes/github.js +0 -190
  100. package/lib/components/ThemeProvider/themes/github.js.map +0 -1
  101. package/lib/components/ThemeProvider/themes/index.d.ts +0 -15
  102. package/lib/components/ThemeProvider/themes/index.d.ts.map +0 -1
  103. package/lib/components/ThemeProvider/themes/index.js +0 -7
  104. package/lib/components/ThemeProvider/themes/index.js.map +0 -1
  105. package/lib/components/ThemeProvider/themes/slack.d.ts +0 -3
  106. package/lib/components/ThemeProvider/themes/slack.d.ts.map +0 -1
  107. package/lib/components/ThemeProvider/themes/slack.js +0 -188
  108. package/lib/components/ThemeProvider/themes/slack.js.map +0 -1
  109. package/lib/components/ThemeProvider/themes/spotify.d.ts +0 -3
  110. package/lib/components/ThemeProvider/themes/spotify.d.ts.map +0 -1
  111. package/lib/components/ThemeProvider/themes/spotify.js +0 -189
  112. package/lib/components/ThemeProvider/themes/spotify.js.map +0 -1
  113. package/lib/components/ThemeProvider/types.d.ts +0 -112
  114. package/lib/components/ThemeProvider/types.d.ts.map +0 -1
@@ -0,0 +1,443 @@
1
+
2
+ @tailwind base;
3
+ @tailwind components;
4
+ @tailwind utilities;
5
+
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
+ }