@moontra/moonui-pro 2.5.13 → 2.6.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.
- package/dist/index.d.ts +2061 -0
- package/dist/index.mjs +4259 -1229
- package/package.json +1 -1
- package/src/components/dashboard/demo.tsx +116 -2
- package/src/components/dashboard/index.tsx +318 -22
- package/src/components/dashboard/time-range-picker.tsx +317 -250
- package/src/components/sidebar/index.tsx +161 -2
- package/src/components/ui/calendar.tsx +376 -54
- package/src/components/ui/hover-card.tsx +29 -0
- package/src/components/ui/index.ts +4 -0
- package/src/styles/calendar.css +35 -0
- package/src/styles/index.css +1 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* Calendar Component Styles - Custom Implementation */
|
|
2
|
+
.moonui-calendar {
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/* Mobile adjustments */
|
|
7
|
+
@media (max-width: 640px) {
|
|
8
|
+
.moonui-calendar {
|
|
9
|
+
font-size: 0.875rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.moonui-calendar button {
|
|
13
|
+
font-size: 0.8125rem;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Popover responsive */
|
|
18
|
+
@media (max-width: 640px) {
|
|
19
|
+
.time-range-popover {
|
|
20
|
+
max-width: calc(100vw - 2rem) !important;
|
|
21
|
+
margin: 0 auto;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Make calendar months stack vertically on mobile */
|
|
25
|
+
.moonui-calendar .grid-cols-7 {
|
|
26
|
+
font-size: 0.75rem;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Ensure proper layout on desktop */
|
|
31
|
+
@media (min-width: 641px) {
|
|
32
|
+
.time-range-popover {
|
|
33
|
+
min-width: 640px;
|
|
34
|
+
}
|
|
35
|
+
}
|
package/src/styles/index.css
CHANGED