@optifye/dashboard-core 3.0.0 → 3.0.1

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/README.md CHANGED
@@ -196,6 +196,40 @@ This CSS file includes:
196
196
 
197
197
  **Note:** You do NOT need to separately import `react-day-picker/dist/style.css` as these styles are already included in the package's global CSS.
198
198
 
199
+ ## Mobile Responsiveness
200
+
201
+ All dashboard components are designed to be fully responsive and mobile-friendly:
202
+
203
+ ### Responsive Features
204
+
205
+ - **Adaptive Grid Layouts**: Workspace video grids automatically adjust to show 2x2 layout on mobile screens
206
+ - **Responsive Text Sizes**: Text sizes scale appropriately across different screen sizes
207
+ - **Touch-Optimized Controls**: Buttons and interactive elements are sized for touch interaction
208
+ - **Flexible KPI Cards**: KPI cards stack vertically on mobile screens for better readability
209
+ - **Mobile-First Navigation**: Compact headers and navigation elements on smaller screens
210
+
211
+ ### Breakpoint System
212
+
213
+ The dashboard uses Tailwind CSS breakpoints:
214
+ - Mobile: < 640px (default)
215
+ - Small (sm): ≥ 640px
216
+ - Medium (md): ≥ 768px
217
+ - Large (lg): ≥ 1024px
218
+ - Extra Large (xl): ≥ 1280px
219
+
220
+ ### Usage Example for Mobile View
221
+
222
+ ```tsx
223
+ // The dashboard automatically adapts to mobile screens
224
+ <HomeView
225
+ defaultLineId={defaultLineId}
226
+ factoryViewId={factoryViewId}
227
+ // ... other props
228
+ />
229
+ ```
230
+
231
+ Components handle responsive behavior internally, no additional configuration needed.
232
+
199
233
  ## Troubleshooting
200
234
 
201
235
  ### Next.js Module Resolution Error