@moontra/moonui-pro 2.20.2 → 2.20.3

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 (153) hide show
  1. package/package.json +8 -3
  2. package/plugin/index.d.ts +86 -0
  3. package/plugin/index.js +308 -0
  4. package/scripts/postinstall.js +176 -23
  5. package/src/components/advanced-chart/index.tsx +0 -1246
  6. package/src/components/advanced-forms/index.tsx +0 -585
  7. package/src/components/animated-button/index.tsx +0 -385
  8. package/src/components/calendar/event-dialog.tsx +0 -377
  9. package/src/components/calendar/index.tsx +0 -1220
  10. package/src/components/calendar-pro/index.tsx +0 -1697
  11. package/src/components/color-picker/index.tsx +0 -432
  12. package/src/components/credit-card-input/index.tsx +0 -406
  13. package/src/components/dashboard/dashboard-grid.tsx +0 -480
  14. package/src/components/dashboard/demo.tsx +0 -425
  15. package/src/components/dashboard/index.tsx +0 -1046
  16. package/src/components/dashboard/time-range-picker.tsx +0 -336
  17. package/src/components/dashboard/types.ts +0 -225
  18. package/src/components/dashboard/widgets/activity-feed.tsx +0 -349
  19. package/src/components/dashboard/widgets/chart-widget.tsx +0 -418
  20. package/src/components/dashboard/widgets/comparison-widget.tsx +0 -177
  21. package/src/components/dashboard/widgets/index.ts +0 -5
  22. package/src/components/dashboard/widgets/metric-card.tsx +0 -363
  23. package/src/components/dashboard/widgets/progress-widget.tsx +0 -113
  24. package/src/components/data-table/data-table-bulk-actions.tsx +0 -204
  25. package/src/components/data-table/data-table-column-toggle.tsx +0 -169
  26. package/src/components/data-table/data-table-export.ts +0 -156
  27. package/src/components/data-table/data-table-filter-drawer.tsx +0 -448
  28. package/src/components/data-table/index.tsx +0 -845
  29. package/src/components/draggable-list/index.tsx +0 -100
  30. package/src/components/error-boundary/index.tsx +0 -232
  31. package/src/components/file-upload/index.tsx +0 -1660
  32. package/src/components/floating-action-button/index.tsx +0 -206
  33. package/src/components/form-wizard/form-wizard-context.tsx +0 -335
  34. package/src/components/form-wizard/form-wizard-navigation.tsx +0 -118
  35. package/src/components/form-wizard/form-wizard-progress.tsx +0 -329
  36. package/src/components/form-wizard/form-wizard-step.tsx +0 -111
  37. package/src/components/form-wizard/index.tsx +0 -102
  38. package/src/components/form-wizard/types.ts +0 -77
  39. package/src/components/gesture-drawer/index.tsx +0 -551
  40. package/src/components/github-stars/github-api.ts +0 -426
  41. package/src/components/github-stars/hooks.ts +0 -517
  42. package/src/components/github-stars/index.tsx +0 -375
  43. package/src/components/github-stars/types.ts +0 -148
  44. package/src/components/github-stars/variants.tsx +0 -515
  45. package/src/components/health-check/index.tsx +0 -439
  46. package/src/components/hover-card-3d/index.tsx +0 -529
  47. package/src/components/index.ts +0 -130
  48. package/src/components/internal/index.ts +0 -78
  49. package/src/components/kanban/add-card-modal.tsx +0 -502
  50. package/src/components/kanban/card-detail-modal.tsx +0 -761
  51. package/src/components/kanban/index.ts +0 -13
  52. package/src/components/kanban/kanban.tsx +0 -1689
  53. package/src/components/kanban/types.ts +0 -168
  54. package/src/components/lazy-component/index.tsx +0 -823
  55. package/src/components/license-error/index.tsx +0 -31
  56. package/src/components/magnetic-button/index.tsx +0 -216
  57. package/src/components/memory-efficient-data/index.tsx +0 -1018
  58. package/src/components/moonui-quiz-form/index.tsx +0 -817
  59. package/src/components/navbar/index.tsx +0 -781
  60. package/src/components/optimized-image/index.tsx +0 -425
  61. package/src/components/performance-debugger/index.tsx +0 -613
  62. package/src/components/performance-monitor/index.tsx +0 -808
  63. package/src/components/phone-number-input/index.tsx +0 -343
  64. package/src/components/phone-number-input/phone-number-input-simple.tsx +0 -167
  65. package/src/components/pinch-zoom/index.tsx +0 -566
  66. package/src/components/quiz-form/index.tsx +0 -479
  67. package/src/components/rich-text-editor/index.tsx +0 -2322
  68. package/src/components/rich-text-editor/slash-commands-extension.ts +0 -230
  69. package/src/components/rich-text-editor/slash-commands.css +0 -35
  70. package/src/components/rich-text-editor/table-styles.css +0 -65
  71. package/src/components/sidebar/index.tsx +0 -884
  72. package/src/components/spotlight-card/index.tsx +0 -191
  73. package/src/components/swipeable-card/index.tsx +0 -100
  74. package/src/components/timeline/index.tsx +0 -1183
  75. package/src/components/ui/accordion.tsx +0 -581
  76. package/src/components/ui/alert-dialog.tsx +0 -141
  77. package/src/components/ui/alert.tsx +0 -141
  78. package/src/components/ui/aspect-ratio.tsx +0 -245
  79. package/src/components/ui/avatar.tsx +0 -155
  80. package/src/components/ui/badge.tsx +0 -230
  81. package/src/components/ui/breadcrumb.tsx +0 -216
  82. package/src/components/ui/button.tsx +0 -228
  83. package/src/components/ui/calendar.tsx +0 -387
  84. package/src/components/ui/card.tsx +0 -216
  85. package/src/components/ui/checkbox.tsx +0 -259
  86. package/src/components/ui/collapsible.tsx +0 -631
  87. package/src/components/ui/color-picker.tsx +0 -97
  88. package/src/components/ui/command.tsx +0 -948
  89. package/src/components/ui/dialog.tsx +0 -752
  90. package/src/components/ui/dropdown-menu.tsx +0 -706
  91. package/src/components/ui/gesture-drawer.tsx +0 -11
  92. package/src/components/ui/hover-card.tsx +0 -29
  93. package/src/components/ui/index.ts +0 -222
  94. package/src/components/ui/input.tsx +0 -224
  95. package/src/components/ui/label.tsx +0 -29
  96. package/src/components/ui/lightbox.tsx +0 -606
  97. package/src/components/ui/magnetic-button.tsx +0 -129
  98. package/src/components/ui/media-gallery.tsx +0 -611
  99. package/src/components/ui/navigation-menu.tsx +0 -130
  100. package/src/components/ui/pagination.tsx +0 -125
  101. package/src/components/ui/popover.tsx +0 -185
  102. package/src/components/ui/progress.tsx +0 -30
  103. package/src/components/ui/radio-group.tsx +0 -257
  104. package/src/components/ui/scroll-area.tsx +0 -47
  105. package/src/components/ui/select.tsx +0 -378
  106. package/src/components/ui/separator.tsx +0 -145
  107. package/src/components/ui/sheet.tsx +0 -139
  108. package/src/components/ui/skeleton.tsx +0 -20
  109. package/src/components/ui/slider.tsx +0 -354
  110. package/src/components/ui/spotlight-card.tsx +0 -119
  111. package/src/components/ui/switch.tsx +0 -86
  112. package/src/components/ui/table.tsx +0 -331
  113. package/src/components/ui/tabs-pro.tsx +0 -542
  114. package/src/components/ui/tabs.tsx +0 -54
  115. package/src/components/ui/textarea.tsx +0 -28
  116. package/src/components/ui/toast.tsx +0 -317
  117. package/src/components/ui/toggle.tsx +0 -119
  118. package/src/components/ui/tooltip.tsx +0 -151
  119. package/src/components/virtual-list/index.tsx +0 -668
  120. package/src/hooks/use-chart.ts +0 -205
  121. package/src/hooks/use-data-table.ts +0 -182
  122. package/src/hooks/use-docs-pro-access.ts +0 -13
  123. package/src/hooks/use-license-check.ts +0 -65
  124. package/src/hooks/use-subscription.ts +0 -19
  125. package/src/hooks/use-toast.ts +0 -15
  126. package/src/index.ts +0 -22
  127. package/src/lib/ai-providers.ts +0 -377
  128. package/src/lib/component-metadata.ts +0 -18
  129. package/src/lib/micro-interactions.ts +0 -255
  130. package/src/lib/paddle.ts +0 -17
  131. package/src/lib/utils.ts +0 -6
  132. package/src/patterns/login-form/index.tsx +0 -276
  133. package/src/patterns/login-form/types.ts +0 -67
  134. package/src/setupTests.ts +0 -41
  135. package/src/styles/advanced-chart.css +0 -239
  136. package/src/styles/calendar.css +0 -35
  137. package/src/styles/design-system.css +0 -363
  138. package/src/styles/index.css +0 -681
  139. package/src/styles/tailwind.css +0 -7
  140. package/src/styles/tokens.css +0 -455
  141. package/src/types/next-auth.d.ts +0 -21
  142. package/src/use-intersection-observer.tsx +0 -154
  143. package/src/use-local-storage.tsx +0 -71
  144. package/src/use-paddle.ts +0 -138
  145. package/src/use-performance-optimizer.ts +0 -389
  146. package/src/use-pro-access.ts +0 -141
  147. package/src/use-scroll-animation.ts +0 -219
  148. package/src/use-subscription.ts +0 -37
  149. package/src/use-toast.ts +0 -32
  150. package/src/utils/chart-helpers.ts +0 -357
  151. package/src/utils/cn.ts +0 -6
  152. package/src/utils/data-processing.ts +0 -151
  153. package/src/utils/license-validator.tsx +0 -183
@@ -1,681 +0,0 @@
1
- /* MoonUI Pro - Complete CSS System */
2
- @tailwind base;
3
- @tailwind components;
4
- @tailwind utilities;
5
-
6
- @import "./advanced-chart.css";
7
- @import "./calendar.css";
8
-
9
- /* React Grid Layout - Required for Dashboard component */
10
- @import "react-grid-layout/css/styles.css";
11
- @import "react-resizable/css/styles.css";
12
-
13
- /* Global Keyframes */
14
- @keyframes spin {
15
- from {
16
- transform: rotate(0deg);
17
- }
18
- to {
19
- transform: rotate(360deg);
20
- }
21
- }
22
-
23
- /* Dialog Animation Keyframes */
24
- @keyframes bounce-in {
25
- 0% {
26
- transform: scale(0.8);
27
- opacity: 0;
28
- }
29
- 50% {
30
- transform: scale(1.1);
31
- }
32
- 100% {
33
- transform: scale(1);
34
- opacity: 1;
35
- }
36
- }
37
-
38
- @keyframes bounce-out {
39
- 0% {
40
- transform: scale(1);
41
- opacity: 1;
42
- }
43
- 100% {
44
- transform: scale(0.8);
45
- opacity: 0;
46
- }
47
- }
48
-
49
- @keyframes rotate-in-90 {
50
- from {
51
- transform: rotate(-90deg) scale(0.9);
52
- opacity: 0;
53
- }
54
- to {
55
- transform: rotate(0) scale(1);
56
- opacity: 1;
57
- }
58
- }
59
-
60
- @keyframes rotate-out-90 {
61
- from {
62
- transform: rotate(0) scale(1);
63
- opacity: 1;
64
- }
65
- to {
66
- transform: rotate(90deg) scale(0.9);
67
- opacity: 0;
68
- }
69
- }
70
-
71
- @keyframes rotate-x-90 {
72
- from {
73
- transform: perspective(800px) rotateX(-90deg);
74
- opacity: 0;
75
- }
76
- to {
77
- transform: perspective(800px) rotateX(0);
78
- opacity: 1;
79
- }
80
- }
81
-
82
- @keyframes spin-in-180 {
83
- from {
84
- transform: rotate(-540deg) scale(0);
85
- opacity: 0;
86
- }
87
- to {
88
- transform: rotate(0) scale(1);
89
- opacity: 1;
90
- }
91
- }
92
-
93
- @keyframes spin-out-180 {
94
- from {
95
- transform: rotate(0) scale(1);
96
- opacity: 1;
97
- }
98
- to {
99
- transform: rotate(540deg) scale(0);
100
- opacity: 0;
101
- }
102
- }
103
-
104
- @keyframes zoom-in-110 {
105
- from {
106
- transform: scale(0);
107
- opacity: 0;
108
- }
109
- 50% {
110
- transform: scale(1.1);
111
- }
112
- to {
113
- transform: scale(1);
114
- opacity: 1;
115
- }
116
- }
117
-
118
- @keyframes elastic-in {
119
- 0% {
120
- transform: scale(0.3);
121
- opacity: 0;
122
- }
123
- 50% {
124
- transform: scale(1.15);
125
- }
126
- 75% {
127
- transform: scale(0.95);
128
- }
129
- 100% {
130
- transform: scale(1);
131
- opacity: 1;
132
- }
133
- }
134
-
135
- @keyframes elastic-out {
136
- 0% {
137
- transform: scale(1);
138
- opacity: 1;
139
- }
140
- 100% {
141
- transform: scale(0.3);
142
- opacity: 0;
143
- }
144
- }
145
-
146
- @keyframes spring-in {
147
- 0% {
148
- transform: scale(0.9) translateY(20px);
149
- opacity: 0;
150
- }
151
- 50% {
152
- transform: scale(1.05) translateY(-10px);
153
- }
154
- 100% {
155
- transform: scale(1) translateY(0);
156
- opacity: 1;
157
- }
158
- }
159
-
160
- @keyframes spring-out {
161
- 0% {
162
- transform: scale(1) translateY(0);
163
- opacity: 1;
164
- }
165
- 100% {
166
- transform: scale(0.9) translateY(20px);
167
- opacity: 0;
168
- }
169
- }
170
-
171
- /* MoonUI Pro Component Styles - Standalone with Theming Support */
172
- @layer components {
173
- /* ======================
174
- TOGGLE COMPONENT
175
- ====================== */
176
- .moonui-toggle-base {
177
- @apply inline-flex items-center justify-center rounded-md text-sm font-medium;
178
- @apply ring-offset-background transition-all duration-200;
179
- @apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2;
180
- @apply disabled:pointer-events-none disabled:opacity-50;
181
- color: hsl(var(--foreground));
182
- }
183
-
184
- .dark .moonui-toggle-base {
185
- color: hsl(var(--foreground));
186
- }
187
-
188
- .dark .moonui-toggle-default:hover {
189
- background-color: hsl(var(--muted));
190
- color: hsl(var(--muted-foreground));
191
- }
192
-
193
- .dark .moonui-toggle-default[data-state="on"] {
194
- background-color: hsl(var(--accent));
195
- color: hsl(var(--accent-foreground));
196
- }
197
-
198
- .dark .moonui-toggle-secondary:hover {
199
- background-color: hsl(var(--accent) / 0.2);
200
- color: hsl(var(--accent-foreground));
201
- }
202
-
203
- .dark .moonui-toggle-secondary[data-state="on"] {
204
- background-color: hsl(var(--accent));
205
- color: hsl(var(--accent-foreground));
206
- }
207
-
208
- /* ======================
209
- BUTTON COMPONENT
210
- ====================== */
211
- .moonui-button-base {
212
- @apply inline-flex items-center justify-center rounded-md text-sm font-medium;
213
- @apply ring-offset-background transition-colors duration-200;
214
- @apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2;
215
- @apply disabled:pointer-events-none disabled:opacity-50;
216
- }
217
-
218
- /* ======================
219
- CARD COMPONENT
220
- ====================== */
221
- .moonui-card-base {
222
- @apply rounded-lg border bg-card text-card-foreground shadow-sm;
223
- }
224
-
225
- .moonui-card-header {
226
- @apply flex flex-col space-y-1.5 p-6;
227
- }
228
-
229
- .moonui-card-title {
230
- @apply text-2xl font-semibold leading-none tracking-tight;
231
- }
232
-
233
- .moonui-card-description {
234
- @apply text-sm text-muted-foreground;
235
- }
236
-
237
- .moonui-card-content {
238
- @apply p-6 pt-0;
239
- }
240
-
241
- .moonui-card-footer {
242
- @apply flex items-center p-6 pt-0;
243
- }
244
-
245
- /* ======================
246
- INPUT COMPONENT
247
- ====================== */
248
- .moonui-input-base {
249
- @apply flex h-10 w-full rounded-md border border-input bg-background px-3 py-2;
250
- @apply text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium;
251
- @apply placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2;
252
- @apply focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50;
253
- }
254
-
255
- /* ======================
256
- LABEL COMPONENT
257
- ====================== */
258
- .moonui-label-base {
259
- @apply text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70;
260
- }
261
-
262
- /* ======================
263
- DIALOG COMPONENT
264
- ====================== */
265
- .moonui-dialog-overlay {
266
- @apply fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out;
267
- @apply data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0;
268
- }
269
-
270
- .moonui-dialog-content {
271
- @apply fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%];
272
- @apply gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in;
273
- @apply data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0;
274
- @apply data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2;
275
- @apply data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2;
276
- @apply data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg;
277
- }
278
-
279
- /* ======================
280
- ALERT COMPONENT
281
- ====================== */
282
- .moonui-alert-base {
283
- @apply relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute;
284
- @apply [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground;
285
- }
286
-
287
- .moonui-alert-destructive {
288
- @apply border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive;
289
- }
290
-
291
- /* ======================
292
- BADGE COMPONENT
293
- ====================== */
294
- .moonui-badge-base {
295
- @apply inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold;
296
- @apply transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2;
297
- }
298
-
299
- .moonui-badge-default {
300
- @apply border-transparent bg-primary text-primary-foreground hover:bg-primary/80;
301
- }
302
-
303
- .moonui-badge-secondary {
304
- @apply border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80;
305
- }
306
-
307
- .moonui-badge-destructive {
308
- @apply border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80;
309
- }
310
-
311
- .moonui-badge-outline {
312
- @apply text-foreground;
313
- }
314
-
315
- /* ======================
316
- TABLE COMPONENT
317
- ====================== */
318
- .moonui-table-base {
319
- @apply w-full caption-bottom text-sm;
320
- }
321
-
322
- .moonui-table-header {
323
- @apply [&_tr]:border-b;
324
- }
325
-
326
- .moonui-table-body {
327
- @apply [&_tr:last-child]:border-0;
328
- }
329
-
330
- .moonui-table-footer {
331
- @apply border-t bg-muted/50 font-medium [&>tr]:last:border-b-0;
332
- }
333
-
334
- .moonui-table-row {
335
- @apply border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted;
336
- }
337
-
338
- .moonui-table-head {
339
- @apply h-12 px-4 text-left align-middle font-medium text-muted-foreground;
340
- @apply [&:has([role=checkbox])]:pr-0;
341
- }
342
-
343
- .moonui-table-cell {
344
- @apply p-4 align-middle [&:has([role=checkbox])]:pr-0;
345
- }
346
-
347
- /* ======================
348
- SHEET COMPONENT
349
- ====================== */
350
- .moonui-sheet-overlay {
351
- @apply fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out;
352
- @apply data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0;
353
- }
354
-
355
- .moonui-sheet-content {
356
- @apply fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out;
357
- @apply data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300;
358
- @apply data-[state=open]:duration-500;
359
- }
360
-
361
- /* ======================
362
- TOOLTIP COMPONENT
363
- ====================== */
364
- .moonui-tooltip-content {
365
- @apply z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground;
366
- @apply shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out;
367
- @apply data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95;
368
- @apply data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2;
369
- @apply data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2;
370
- }
371
-
372
- /* ======================
373
- SCROLL AREA COMPONENT
374
- ====================== */
375
- .moonui-scrollbar {
376
- @apply flex touch-none select-none transition-colors;
377
- }
378
-
379
- .moonui-scrollbar-vertical {
380
- @apply h-full w-2.5 border-l border-l-transparent p-[1px];
381
- }
382
-
383
- .moonui-scrollbar-horizontal {
384
- @apply h-2.5 w-full border-t border-t-transparent p-[1px];
385
- }
386
-
387
- .moonui-scrollbar-thumb {
388
- @apply relative flex-1 rounded-full bg-border;
389
- }
390
-
391
- /* ======================
392
- PROGRESS COMPONENT
393
- ====================== */
394
- .moonui-progress-base {
395
- @apply relative h-4 w-full overflow-hidden rounded-full bg-secondary;
396
- }
397
-
398
- .moonui-progress-indicator {
399
- @apply h-full w-full flex-1 bg-primary transition-all;
400
- }
401
-
402
- /* ======================
403
- SWITCH COMPONENT
404
- ====================== */
405
- .moonui-switch-base {
406
- @apply peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2;
407
- @apply border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2;
408
- @apply focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background;
409
- @apply disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary;
410
- @apply data-[state=unchecked]:bg-input;
411
- }
412
-
413
- .moonui-switch-thumb {
414
- @apply pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0;
415
- @apply transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0;
416
- }
417
-
418
- /* ======================
419
- PRO COMPONENTS
420
- ====================== */
421
-
422
- /* File Upload Component */
423
- .moonui-file-upload-base {
424
- @apply relative flex w-full cursor-pointer flex-col items-center justify-center rounded-lg border-2;
425
- @apply border-dashed border-muted-foreground/25 p-6 text-center transition-colors;
426
- @apply hover:border-muted-foreground/50 hover:bg-muted/25;
427
- }
428
-
429
- .moonui-file-upload-active {
430
- @apply border-primary bg-primary/5;
431
- }
432
-
433
- /* Data Table Component */
434
- .moonui-data-table-base {
435
- @apply relative w-full overflow-auto;
436
- }
437
-
438
- .moonui-data-table-header {
439
- @apply border-b bg-muted/50;
440
- }
441
-
442
- .moonui-data-table-row {
443
- @apply border-b transition-colors hover:bg-muted/50;
444
- }
445
-
446
- .moonui-data-table-cell {
447
- @apply p-4 align-middle;
448
- }
449
-
450
- /* Calendar Pro Component */
451
- .moonui-calendar-pro-base {
452
- @apply flex h-full w-full bg-background;
453
- }
454
-
455
- .moonui-calendar-sidebar {
456
- @apply border-r bg-muted/30 flex flex-col flex-shrink-0;
457
- }
458
-
459
- .moonui-calendar-event {
460
- @apply absolute left-0 right-0 rounded px-2 py-1 text-xs;
461
- @apply cursor-pointer transition-colors hover:opacity-80;
462
- }
463
-
464
- /* Chart Components */
465
- .moonui-chart-container {
466
- @apply relative w-full;
467
- }
468
-
469
- .moonui-chart-tooltip {
470
- @apply rounded-lg border bg-background px-3 py-2 text-sm shadow-md;
471
- }
472
-
473
- .moonui-chart-legend {
474
- @apply flex items-center justify-center gap-4 text-sm;
475
- }
476
-
477
- /* Gesture Drawer Component */
478
- .moonui-gesture-drawer-base {
479
- @apply fixed bg-background shadow-2xl overflow-hidden;
480
- }
481
-
482
- .moonui-gesture-drawer-handle {
483
- @apply absolute bg-muted-foreground/20 transition-all duration-200;
484
- @apply cursor-grab active:cursor-grabbing;
485
- }
486
-
487
- .moonui-gesture-drawer-backdrop {
488
- @apply fixed inset-0 bg-black/50 backdrop-blur-sm;
489
- }
490
-
491
- /* Hover Card 3D Component */
492
- .moonui-hover-card-3d-base {
493
- @apply relative rounded-lg border bg-card text-card-foreground shadow-sm;
494
- @apply transition-all duration-200 will-change-transform;
495
- }
496
-
497
- /* Media Gallery Component */
498
- .moonui-media-gallery-base {
499
- @apply grid gap-4;
500
- }
501
-
502
- .moonui-media-gallery-item {
503
- @apply relative overflow-hidden rounded-lg bg-muted;
504
- @apply cursor-pointer transition-transform hover:scale-105;
505
- }
506
-
507
- .moonui-media-gallery-overlay {
508
- @apply absolute inset-0 bg-black/60 opacity-0 transition-opacity;
509
- @apply flex items-center justify-center hover:opacity-100;
510
- }
511
-
512
- /* Tags Input Component */
513
- .moonui-tags-input-base {
514
- @apply min-h-10 w-full rounded-md border border-input bg-background px-3 py-2;
515
- @apply text-sm ring-offset-background focus-within:ring-2 focus-within:ring-ring;
516
- @apply focus-within:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50;
517
- }
518
-
519
- .moonui-tags-input-tag {
520
- @apply inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold;
521
- @apply transition-colors bg-secondary text-secondary-foreground hover:bg-secondary/80;
522
- }
523
-
524
- .moonui-tags-input-remove {
525
- @apply ml-1 h-3 w-3 rounded-full outline-none ring-offset-background;
526
- @apply focus:ring-2 focus:ring-ring focus:ring-offset-2 hover:bg-destructive hover:text-destructive-foreground;
527
- }
528
-
529
- /* Advanced Chart Components */
530
- .moonui-advanced-chart-base {
531
- @apply w-full rounded-lg border bg-card p-6;
532
- }
533
-
534
- .moonui-advanced-chart-header {
535
- @apply mb-4 flex items-center justify-between;
536
- }
537
-
538
- .moonui-advanced-chart-title {
539
- @apply text-lg font-semibold;
540
- }
541
-
542
- .moonui-advanced-chart-controls {
543
- @apply flex items-center gap-2;
544
- }
545
-
546
- /* Pro Access Control */
547
- .moonui-pro-upgrade-card {
548
- @apply w-fit mx-auto rounded-lg border bg-card text-card-foreground shadow-sm;
549
- }
550
-
551
- .moonui-pro-upgrade-content {
552
- @apply py-6 text-center;
553
- }
554
-
555
- .moonui-pro-upgrade-icon {
556
- @apply rounded-full bg-purple-100 dark:bg-purple-900/30 p-3 w-fit mx-auto;
557
- }
558
-
559
- .moonui-pro-upgrade-title {
560
- @apply font-semibold text-sm mb-2;
561
- }
562
-
563
- .moonui-pro-upgrade-description {
564
- @apply text-muted-foreground text-xs mb-4;
565
- }
566
-
567
- /* Loading States */
568
- .moonui-loading-spinner {
569
- @apply h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent;
570
- }
571
-
572
- .moonui-loading-skeleton {
573
- @apply animate-pulse rounded-md bg-muted;
574
- }
575
-
576
- /* Form Components */
577
- .moonui-form-field {
578
- @apply space-y-2;
579
- }
580
-
581
- .moonui-form-label {
582
- @apply text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70;
583
- }
584
-
585
- .moonui-form-description {
586
- @apply text-sm text-muted-foreground;
587
- }
588
-
589
- .moonui-form-message {
590
- @apply text-sm font-medium text-destructive;
591
- }
592
-
593
- /* Animation Utilities */
594
- .moonui-fade-in {
595
- @apply animate-in fade-in-0 duration-200;
596
- }
597
-
598
- .moonui-fade-out {
599
- @apply animate-out fade-out-0 duration-200;
600
- }
601
-
602
- .moonui-slide-in-bottom {
603
- @apply animate-in slide-in-from-bottom-2 duration-200;
604
- }
605
-
606
- .moonui-slide-out-bottom {
607
- @apply animate-out slide-out-to-bottom-2 duration-200;
608
- }
609
-
610
- .moonui-zoom-in {
611
- @apply animate-in zoom-in-95 duration-200;
612
- }
613
-
614
- .moonui-zoom-out {
615
- @apply animate-out zoom-out-95 duration-200;
616
- }
617
- }
618
-
619
- /* Dashboard Grid Layout Overrides */
620
- .react-grid-layout {
621
- position: relative !important;
622
- transition: height 200ms ease;
623
- }
624
-
625
- .react-grid-item {
626
- transition: all 200ms ease;
627
- transition-property: left, top, width, height;
628
- }
629
-
630
- .react-grid-item > div {
631
- height: 100%;
632
- display: flex;
633
- flex-direction: column;
634
- }
635
-
636
- .react-grid-item.cssTransforms {
637
- transition-property: transform, width, height;
638
- }
639
-
640
- .react-grid-item.resizing {
641
- transition: none;
642
- z-index: 1;
643
- will-change: width, height;
644
- }
645
-
646
- .react-grid-item.react-draggable-dragging {
647
- transition: none;
648
- z-index: 3;
649
- will-change: transform;
650
- }
651
-
652
- /* Prevent overflow on small screens */
653
- @media (max-width: 768px) {
654
- .react-grid-layout {
655
- overflow-x: hidden !important;
656
- height: auto !important;
657
- }
658
-
659
- .react-grid-item {
660
- position: relative !important;
661
- transform: none !important;
662
- margin-bottom: 24px !important;
663
- width: 100% !important;
664
- left: 0 !important;
665
- right: 0 !important;
666
- }
667
-
668
- .react-grid-item:last-child {
669
- margin-bottom: 0 !important;
670
- }
671
-
672
- /* React grid layout'u mobilde devre dışı bırak */
673
- .react-grid-item.cssTransforms {
674
- position: relative !important;
675
- transform: none !important;
676
- }
677
-
678
- .react-grid-placeholder {
679
- display: none !important;
680
- }
681
- }
@@ -1,7 +0,0 @@
1
- /*
2
- * Tailwind direktifleri ana projede zaten yüklü olduğu için
3
- * çakışmayı önlemek amacıyla buradan kaldırıldı.
4
- * Sadece component-specific stiller eklenmelidir.
5
- */
6
-
7
- /* MoonUI Pro component-specific styles */