@sfperusacdev/sf-ui 0.2.9 → 0.3.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 (222) hide show
  1. package/dist/sf-ui.css +1 -1
  2. package/dist/sf-ui.js +3345 -2649
  3. package/dist/sf-ui.js.map +1 -1
  4. package/dist/sf-ui.umd.cjs +7 -7
  5. package/dist/sf-ui.umd.cjs.map +1 -1
  6. package/dist/theme/dark.css +13 -0
  7. package/dist/theme/sf-tokens.css +18 -0
  8. package/dist/types/src/components/advanced-inputs/CodeEditor.d.ts +1 -1
  9. package/dist/types/src/components/advanced-inputs/MapGeocoderBar.d.ts +1 -1
  10. package/dist/types/src/components/advanced-inputs/MapPicker.d.ts +1 -1
  11. package/dist/types/src/components/advanced-inputs/MapPickerMap.d.ts +1 -1
  12. package/dist/types/src/components/advanced-inputs/PhotoInput.d.ts +1 -1
  13. package/dist/types/src/components/advanced-inputs/RichTextEditor.d.ts +1 -1
  14. package/dist/types/src/components/advanced-inputs/SignaturePad.d.ts +1 -1
  15. package/dist/types/src/components/buttons/ActionButton.d.ts +1 -1
  16. package/dist/types/src/components/buttons/Button.d.ts +1 -1
  17. package/dist/types/src/components/buttons/ButtonGroup.d.ts +1 -1
  18. package/dist/types/src/components/buttons/FormActions.d.ts +1 -1
  19. package/dist/types/src/components/buttons/RowActions.d.ts +1 -1
  20. package/dist/types/src/components/buttons/ToolbarButton.d.ts +1 -1
  21. package/dist/types/src/components/cards/Badge.d.ts +1 -1
  22. package/dist/types/src/components/cards/EntityCard.d.ts +2 -2
  23. package/dist/types/src/components/cards/KPICard.d.ts +2 -2
  24. package/dist/types/src/components/cards/MetricBar.d.ts +2 -2
  25. package/dist/types/src/components/cards/ModuleCard.d.ts +2 -2
  26. package/dist/types/src/components/cards/QuickActionTile.d.ts +2 -2
  27. package/dist/types/src/components/cards/RecommendationCard.d.ts +1 -1
  28. package/dist/types/src/components/cards/SplitBar.d.ts +1 -1
  29. package/dist/types/src/components/charts/Chart.d.ts +1 -1
  30. package/dist/types/src/components/charts/ChartLegend.d.ts +1 -1
  31. package/dist/types/src/components/charts/DeviationBand.d.ts +1 -1
  32. package/dist/types/src/components/charts/DiagnosticRadar.d.ts +1 -1
  33. package/dist/types/src/components/charts/Sparkline.d.ts +1 -1
  34. package/dist/types/src/components/charts/chartUtils.d.ts +6 -0
  35. package/dist/types/src/components/charts/index.d.ts +1 -1
  36. package/dist/types/src/components/dashboard/AlertSummaryList.d.ts +1 -1
  37. package/dist/types/src/components/dashboard/Calendar.d.ts +1 -1
  38. package/dist/types/src/components/dashboard/CardNote.d.ts +1 -1
  39. package/dist/types/src/components/dashboard/ComparisonTable.d.ts +1 -1
  40. package/dist/types/src/components/dashboard/DashboardBoard.d.ts +2 -2
  41. package/dist/types/src/components/dashboard/DashboardCard.d.ts +5 -5
  42. package/dist/types/src/components/dashboard/DashboardPageFrame.d.ts +1 -1
  43. package/dist/types/src/components/dashboard/DashboardPlaceholder.d.ts +1 -1
  44. package/dist/types/src/components/dashboard/DetailPanel.d.ts +1 -1
  45. package/dist/types/src/components/dashboard/DetailSection.d.ts +1 -1
  46. package/dist/types/src/components/dashboard/DetailSidePanel.d.ts +1 -1
  47. package/dist/types/src/components/dashboard/DonutBreakdown.d.ts +1 -1
  48. package/dist/types/src/components/dashboard/DonutGauge.d.ts +2 -2
  49. package/dist/types/src/components/dashboard/DrilldownCards.d.ts +3 -3
  50. package/dist/types/src/components/dashboard/EventLog.d.ts +3 -3
  51. package/dist/types/src/components/dashboard/EvidenceFootnote.d.ts +1 -1
  52. package/dist/types/src/components/dashboard/StatCard.d.ts +1 -1
  53. package/dist/types/src/components/dashboard/Stepper.d.ts +1 -1
  54. package/dist/types/src/components/dashboard/TramoCard.d.ts +1 -1
  55. package/dist/types/src/components/display/AuditTimeline.d.ts +1 -1
  56. package/dist/types/src/components/display/Avatar.d.ts +2 -2
  57. package/dist/types/src/components/display/Carousel.d.ts +1 -1
  58. package/dist/types/src/components/display/LiveChip.d.ts +1 -1
  59. package/dist/types/src/components/display/LiveStatusBar.d.ts +1 -1
  60. package/dist/types/src/components/display/MediaPanel.d.ts +1 -1
  61. package/dist/types/src/components/display/PassengerBoardCard.d.ts +1 -1
  62. package/dist/types/src/components/display/RecordList.d.ts +2 -2
  63. package/dist/types/src/components/display/Timeline.d.ts +1 -1
  64. package/dist/types/src/components/document-inputs/CurrencyInput.d.ts +1 -1
  65. package/dist/types/src/components/document-inputs/DniInput.d.ts +1 -1
  66. package/dist/types/src/components/document-inputs/OtpInput.d.ts +1 -1
  67. package/dist/types/src/components/document-inputs/PhoneInput.d.ts +1 -1
  68. package/dist/types/src/components/document-inputs/RucInput.d.ts +1 -1
  69. package/dist/types/src/components/feedback/AccessDenied.d.ts +1 -1
  70. package/dist/types/src/components/feedback/Alert.d.ts +1 -1
  71. package/dist/types/src/components/feedback/EmptyState.d.ts +1 -1
  72. package/dist/types/src/components/feedback/ErrorView.d.ts +1 -1
  73. package/dist/types/src/components/feedback/LoadingView.d.ts +1 -1
  74. package/dist/types/src/components/feedback/RetryBlock.d.ts +1 -1
  75. package/dist/types/src/components/feedback/Skeleton.d.ts +1 -1
  76. package/dist/types/src/components/feedback/Spinner.d.ts +1 -1
  77. package/dist/types/src/components/feedback/Toast.d.ts +1 -1
  78. package/dist/types/src/components/icons/AppsGridIcon.d.ts +1 -1
  79. package/dist/types/src/components/icons/SyncIcon.d.ts +1 -1
  80. package/dist/types/src/components/inputs/AsyncCardSelect.d.ts +1 -1
  81. package/dist/types/src/components/inputs/AsyncSearchSelect.d.ts +1 -1
  82. package/dist/types/src/components/inputs/AsyncSearchTableSelect.d.ts +1 -1
  83. package/dist/types/src/components/inputs/BooleanCheckbox.d.ts +1 -1
  84. package/dist/types/src/components/inputs/CardSelect.d.ts +1 -1
  85. package/dist/types/src/components/inputs/Checkbox.d.ts +1 -1
  86. package/dist/types/src/components/inputs/CheckboxGroup.d.ts +1 -1
  87. package/dist/types/src/components/inputs/DateInput.d.ts +1 -1
  88. package/dist/types/src/components/inputs/DatePicker.d.ts +1 -1
  89. package/dist/types/src/components/inputs/DisplayField.d.ts +1 -1
  90. package/dist/types/src/components/inputs/FieldLeadingIcon.d.ts +1 -1
  91. package/dist/types/src/components/inputs/FileInput.d.ts +1 -1
  92. package/dist/types/src/components/inputs/NumberInput.d.ts +1 -1
  93. package/dist/types/src/components/inputs/PasswordInput.d.ts +1 -1
  94. package/dist/types/src/components/inputs/RadioGroup.d.ts +1 -1
  95. package/dist/types/src/components/inputs/SearchSelect.d.ts +1 -1
  96. package/dist/types/src/components/inputs/SearchTableSelect.bloqueadas.test.d.ts +1 -0
  97. package/dist/types/src/components/inputs/SearchTableSelect.caracterizacion.test.d.ts +1 -0
  98. package/dist/types/src/components/inputs/SearchTableSelect.d.ts +19 -1
  99. package/dist/types/src/components/inputs/SearchTableSelect.seleccionPagina.test.d.ts +1 -0
  100. package/dist/types/src/components/inputs/SearchTableSelect.soloSeleccionados.test.d.ts +1 -0
  101. package/dist/types/src/components/inputs/Select.d.ts +1 -1
  102. package/dist/types/src/components/inputs/SmartDateInput.d.ts +1 -1
  103. package/dist/types/src/components/inputs/SmartSelect.d.ts +1 -1
  104. package/dist/types/src/components/inputs/TextArea.d.ts +1 -1
  105. package/dist/types/src/components/inputs/Toggle.d.ts +1 -1
  106. package/dist/types/src/components/inputs/ToggleCard.d.ts +1 -1
  107. package/dist/types/src/components/inputs/Transfer.d.ts +1 -1
  108. package/dist/types/src/components/inputs/TreeSelect.d.ts +1 -1
  109. package/dist/types/src/components/inputs/YesNoSelect.d.ts +1 -1
  110. package/dist/types/src/components/inputs/booleanControls.test.d.ts +1 -0
  111. package/dist/types/src/components/inputs/useBooleanField.d.ts +10 -0
  112. package/dist/types/src/components/interactive-inputs/AllocationBar.d.ts +1 -1
  113. package/dist/types/src/components/interactive-inputs/CardRadioGroup.d.ts +1 -1
  114. package/dist/types/src/components/interactive-inputs/ColorInput.d.ts +1 -1
  115. package/dist/types/src/components/interactive-inputs/KeyValueInput.d.ts +1 -1
  116. package/dist/types/src/components/interactive-inputs/NumberStepper.d.ts +1 -1
  117. package/dist/types/src/components/interactive-inputs/ProgressBar.d.ts +1 -1
  118. package/dist/types/src/components/interactive-inputs/ProgressBarReadonly.d.ts +1 -1
  119. package/dist/types/src/components/interactive-inputs/RangeSliderInput.d.ts +1 -1
  120. package/dist/types/src/components/interactive-inputs/RatingInput.d.ts +1 -1
  121. package/dist/types/src/components/interactive-inputs/SemanticSlider.d.ts +1 -1
  122. package/dist/types/src/components/interactive-inputs/SliderInput.d.ts +1 -1
  123. package/dist/types/src/components/interactive-inputs/SortableList.d.ts +1 -1
  124. package/dist/types/src/components/interactive-inputs/TagsInput.d.ts +1 -1
  125. package/dist/types/src/components/interactive-inputs/TemporalScrub.d.ts +1 -1
  126. package/dist/types/src/components/layout/Accordion.d.ts +1 -1
  127. package/dist/types/src/components/layout/AppShell.d.ts +2 -2
  128. package/dist/types/src/components/layout/Breadcrumb.d.ts +1 -1
  129. package/dist/types/src/components/layout/DateWeekStrip.d.ts +1 -1
  130. package/dist/types/src/components/layout/FilterBar.d.ts +5 -5
  131. package/dist/types/src/components/layout/FormWizard.d.ts +1 -1
  132. package/dist/types/src/components/layout/HeightProvider.d.ts +1 -1
  133. package/dist/types/src/components/layout/ItineraryEditor.d.ts +1 -1
  134. package/dist/types/src/components/layout/LiveRouteBoard.d.ts +1 -1
  135. package/dist/types/src/components/layout/MaestroLayout.d.ts +1 -1
  136. package/dist/types/src/components/layout/MasterDetailLayout.d.ts +2 -2
  137. package/dist/types/src/components/layout/PageContainer.d.ts +1 -1
  138. package/dist/types/src/components/layout/PageHeader.d.ts +1 -1
  139. package/dist/types/src/components/layout/ScrollArea.d.ts +1 -1
  140. package/dist/types/src/components/layout/Separator.d.ts +1 -1
  141. package/dist/types/src/components/layout/SidePanel.d.ts +1 -1
  142. package/dist/types/src/components/layout/SidePanelContainer.d.ts +1 -1
  143. package/dist/types/src/components/layout/SummaryItem.d.ts +1 -1
  144. package/dist/types/src/components/layout/TablePageLayout.d.ts +1 -1
  145. package/dist/types/src/components/layout/Tabs.d.ts +1 -1
  146. package/dist/types/src/components/layout/UnitSelector.d.ts +1 -1
  147. package/dist/types/src/components/layout/Visibility.d.ts +2 -2
  148. package/dist/types/src/components/layout/WeekdayToggleStrip.d.ts +1 -1
  149. package/dist/types/src/components/maps/base/MapFrame.d.ts +1 -1
  150. package/dist/types/src/components/maps/base/MapLegend.d.ts +1 -1
  151. package/dist/types/src/components/maps/base/MapPointCard.d.ts +1 -1
  152. package/dist/types/src/components/maps/base/MapStatus.d.ts +1 -1
  153. package/dist/types/src/components/maps/base/MapToolbar.d.ts +1 -1
  154. package/dist/types/src/components/maps/base/MapVehiclePopup.d.ts +1 -1
  155. package/dist/types/src/components/maps/forms/AddressSearchInput.d.ts +1 -1
  156. package/dist/types/src/components/maps/forms/AreaInput.d.ts +1 -1
  157. package/dist/types/src/components/maps/forms/CoordinatesInput.d.ts +1 -1
  158. package/dist/types/src/components/maps/forms/LocationPicker.d.ts +1 -1
  159. package/dist/types/src/components/maps/forms/RouteInput.d.ts +1 -1
  160. package/dist/types/src/components/maps/forms/ShapeInput.d.ts +1 -1
  161. package/dist/types/src/components/maps/forms/SmartMapInput.d.ts +1 -1
  162. package/dist/types/src/components/maps/renderers/google/GoogleMapRenderer.d.ts +1 -1
  163. package/dist/types/src/components/maps/renderers/leaflet/LeafletMapRenderer.d.ts +1 -1
  164. package/dist/types/src/components/maps/views/MapView.d.ts +1 -1
  165. package/dist/types/src/components/media-inputs/FileDropInput.d.ts +1 -1
  166. package/dist/types/src/components/media-inputs/MultiPhotoInput.d.ts +1 -1
  167. package/dist/types/src/components/media-inputs/PhotoCropEditor.d.ts +1 -1
  168. package/dist/types/src/components/media-inputs/PhotoCropInput.d.ts +1 -1
  169. package/dist/types/src/components/media-inputs/SmartMediaInput.d.ts +1 -1
  170. package/dist/types/src/components/overlays/ConfirmDialog.d.ts +1 -1
  171. package/dist/types/src/components/overlays/ContextMenu.caracterizacion.test.d.ts +1 -0
  172. package/dist/types/src/components/overlays/ContextMenu.d.ts +26 -0
  173. package/dist/types/src/components/overlays/DropdownMenu.d.ts +1 -1
  174. package/dist/types/src/components/overlays/DropdownMenu.estilos.test.d.ts +1 -0
  175. package/dist/types/src/components/overlays/MessageDialog.d.ts +1 -1
  176. package/dist/types/src/components/overlays/NotificationBell.d.ts +1 -1
  177. package/dist/types/src/components/overlays/OptionItem.d.ts +1 -1
  178. package/dist/types/src/components/overlays/Overlay.anidados.test.d.ts +1 -0
  179. package/dist/types/src/components/overlays/QRView.d.ts +1 -1
  180. package/dist/types/src/components/overlays/TabMenuOption.d.ts +1 -1
  181. package/dist/types/src/components/overlays/Tooltip.d.ts +1 -1
  182. package/dist/types/src/components/overlays/useOverlayStack.d.ts +3 -0
  183. package/dist/types/src/components/range-inputs/DateRangeFields.d.ts +1 -1
  184. package/dist/types/src/components/range-inputs/DateRangeInput.d.ts +1 -1
  185. package/dist/types/src/components/range-inputs/DateRangeUtcInput.d.ts +1 -1
  186. package/dist/types/src/components/range-inputs/TimeRangeInput.d.ts +1 -1
  187. package/dist/types/src/components/table/ActiveFiltersBar.d.ts +1 -1
  188. package/dist/types/src/components/table/AsyncCustomTable.d.ts +1 -1
  189. package/dist/types/src/components/table/CustomTable.ajuste.test.d.ts +1 -0
  190. package/dist/types/src/components/table/CustomTable.caracterizacion.test.d.ts +1 -0
  191. package/dist/types/src/components/table/CustomTable.clavesHeredadas.test.d.ts +1 -0
  192. package/dist/types/src/components/table/CustomTable.columnasOcultas.test.d.ts +1 -0
  193. package/dist/types/src/components/table/CustomTable.d.ts +144 -1
  194. package/dist/types/src/components/table/CustomTable.defectosPublicados.test.d.ts +1 -0
  195. package/dist/types/src/components/table/CustomTable.dobleClic.test.d.ts +1 -0
  196. package/dist/types/src/components/table/CustomTable.estadoPorClave.test.d.ts +1 -0
  197. package/dist/types/src/components/table/CustomTable.exportacion.test.d.ts +1 -0
  198. package/dist/types/src/components/table/CustomTable.identidadRemoto.test.d.ts +1 -0
  199. package/dist/types/src/components/table/CustomTable.l3Regresiones.test.d.ts +1 -0
  200. package/dist/types/src/components/table/CustomTable.menuContextual.test.d.ts +1 -0
  201. package/dist/types/src/components/table/CustomTable.numeracion.test.d.ts +1 -0
  202. package/dist/types/src/components/table/CustomTable.paginador.test.d.ts +1 -0
  203. package/dist/types/src/components/table/CustomTable.pie.test.d.ts +1 -0
  204. package/dist/types/src/components/table/EditableDataGrid.d.ts +1 -1
  205. package/dist/types/src/components/table/ExpandableTableSection.d.ts +1 -1
  206. package/dist/types/src/components/table/Pagination.d.ts +2 -0
  207. package/dist/types/src/components/table/RowActionsMenu.d.ts +1 -1
  208. package/dist/types/src/components/table/TableFiltersPanel.d.ts +1 -1
  209. package/dist/types/src/components/table/TableSortingPanel.d.ts +1 -1
  210. package/dist/types/src/components/table/customTableController.d.ts +20 -1
  211. package/dist/types/src/components/table/index.d.ts +2 -2
  212. package/dist/types/src/components/table/tableDevWarning.d.ts +2 -0
  213. package/dist/types/src/components/table/tableRowNumbers.d.ts +8 -0
  214. package/dist/types/src/components/visualization/DnaHelix.d.ts +33 -0
  215. package/dist/types/src/components/visualization/DnaHelix.test.d.ts +1 -0
  216. package/dist/types/src/components/visualization/NetworkLegend.d.ts +1 -1
  217. package/dist/types/src/components/visualization/NetworkMap.d.ts +1 -1
  218. package/dist/types/src/components/visualization/OrgTree.d.ts +1 -1
  219. package/dist/types/src/components/visualization/index.d.ts +2 -0
  220. package/dist/types/src/providers/SfProvider.d.ts +1 -1
  221. package/dist/types/src/theme/paletaCategorias.test.d.ts +1 -0
  222. package/package.json +4 -4
@@ -194,4 +194,17 @@
194
194
  --sf-ring-width: 2px;
195
195
  --sf-success: #16a34a;
196
196
  --sf-warning: #d97706;
197
+
198
+ /* Paleta de categorías sobre fondo oscuro: los mismos 10 tonos de sf-tokens.css, aclarados para dar al menos
199
+ * 3:1 sobre la tarjeta (#1e293b) y sobre la superficie alterna (#0f172a). */
200
+ --sf-cat-1: #7aa2f0;
201
+ --sf-cat-2: #ff9248;
202
+ --sf-cat-3: #9cc25e;
203
+ --sf-cat-4: #ec7a88;
204
+ --sf-cat-5: #4fc4ba;
205
+ --sf-cat-6: #e0ba4a;
206
+ --sf-cat-7: #b197e8;
207
+ --sf-cat-8: #d3966a;
208
+ --sf-cat-9: #56cdeb;
209
+ --sf-cat-10: #e58bc4;
197
210
  }
@@ -457,6 +457,24 @@
457
457
  --sf-chart-tooltip-text: var(--sf-text);
458
458
  --sf-chart-reference: var(--sf-text-subtle);
459
459
 
460
+ /* Paleta de categorías: 10 colores para distinguir cosas que NO son un estado (dominios, etapas, dimensiones,
461
+ * series). Los --sf-chart-* son alias de los colores de estado y pintar una categoría con ellos comunica
462
+ * "éxito" o "peligro" donde no lo hay. El orden alterna tonos para que dos vecinas no se parezcan; cada color
463
+ * da al menos 3:1 sobre la tarjeta (paletaCategorias.test.ts lo mide). dark.css trae su versión clara. */
464
+ --sf-cat-1: #1f4e79;
465
+ --sf-cat-2: #ee6209;
466
+ --sf-cat-3: #668b37;
467
+ --sf-cat-4: #b23a48;
468
+ --sf-cat-5: #1f7f78;
469
+ --sf-cat-6: #b08a1e;
470
+ --sf-cat-7: #6d4c9f;
471
+ --sf-cat-8: #9a5b2b;
472
+ --sf-cat-9: #2e86c1;
473
+ --sf-cat-10: #b8478f;
474
+
475
+ /* Acento de marca SF Perú (naranja), disponible en cualquier tema sin cambiar --sf-accent. */
476
+ --sf-brand-accent: #f96810;
477
+
460
478
  /* Network map (Fase 13 / 25) */
461
479
  --sf-network-panel-bg: rgb(255 255 255 / 0.95);
462
480
  --sf-network-marker-label-text: var(--sf-btn-primary-text);
@@ -16,5 +16,5 @@ type CodeEditorProps<TFormValues extends FieldValues> = {
16
16
  onChange?: (value: string) => void;
17
17
  onRefresh?: () => Promise<void> | void;
18
18
  };
19
- export declare const CodeEditor: <TFormValues extends FieldValues>({ form, name, label, info, required, language, highlighted, readOnly, disabled, rows, small, className, onChange, onRefresh, }: CodeEditorProps<TFormValues>) => import("react").JSX.Element;
19
+ export declare const CodeEditor: <TFormValues extends FieldValues>({ form, name, label, info, required, language, highlighted, readOnly, disabled, rows, small, className, onChange, onRefresh, }: CodeEditorProps<TFormValues>) => import('react').JSX.Element;
20
20
  export {};
@@ -5,4 +5,4 @@ export type MapGeocoderBarProps = {
5
5
  className?: string;
6
6
  disabled?: boolean;
7
7
  };
8
- export declare const MapGeocoderBar: ({ onSelect, placeholder, className, disabled, }: MapGeocoderBarProps) => import("react").JSX.Element;
8
+ export declare const MapGeocoderBar: ({ onSelect, placeholder, className, disabled, }: MapGeocoderBarProps) => import('react').JSX.Element;
@@ -18,5 +18,5 @@ type MapPickerProps<TFormValues extends FieldValues> = {
18
18
  * @deprecated Use `LocationPicker` or `SmartMapInput kind="coordinates"` from `components/maps/forms`.
19
19
  * This component remains for compatibility during migration.
20
20
  */
21
- export declare const MapPicker: <TFormValues extends FieldValues>({ form, name, label, info, required, zoom, readOnly, disabled, showGeocoder, className, onChange, onRefresh, }: MapPickerProps<TFormValues>) => import("react").JSX.Element;
21
+ export declare const MapPicker: <TFormValues extends FieldValues>({ form, name, label, info, required, zoom, readOnly, disabled, showGeocoder, className, onChange, onRefresh, }: MapPickerProps<TFormValues>) => import('react').JSX.Element;
22
22
  export {};
@@ -6,5 +6,5 @@ type MapPickerMapProps = {
6
6
  showGeocoder?: boolean;
7
7
  onPick: (lat: string, lng: string) => void;
8
8
  };
9
- export declare const MapPickerMap: ({ lat, lng, zoom, readOnly, showGeocoder, onPick, }: MapPickerMapProps) => import("react").JSX.Element;
9
+ export declare const MapPickerMap: ({ lat, lng, zoom, readOnly, showGeocoder, onPick, }: MapPickerMapProps) => import('react').JSX.Element;
10
10
  export {};
@@ -14,5 +14,5 @@ type PhotoInputProps<TFormValues extends FieldValues> = {
14
14
  onChange?: (file: File | null) => void;
15
15
  onRefresh?: () => Promise<void> | void;
16
16
  };
17
- export declare const PhotoInput: <TFormValues extends FieldValues>({ form, name, label, info, required, capture, maxSizeMb, readOnly, disabled, small, className, onChange, onRefresh, }: PhotoInputProps<TFormValues>) => import("react").JSX.Element;
17
+ export declare const PhotoInput: <TFormValues extends FieldValues>({ form, name, label, info, required, capture, maxSizeMb, readOnly, disabled, small, className, onChange, onRefresh, }: PhotoInputProps<TFormValues>) => import('react').JSX.Element;
18
18
  export {};
@@ -12,5 +12,5 @@ type RichTextEditorProps<TFormValues extends FieldValues> = {
12
12
  onChange?: (html: string) => void;
13
13
  onRefresh?: () => Promise<void> | void;
14
14
  };
15
- export declare const RichTextEditor: <TFormValues extends FieldValues>({ form, name, label, info, required, readOnly, disabled, height, className, onChange, onRefresh, }: RichTextEditorProps<TFormValues>) => import("react").JSX.Element;
15
+ export declare const RichTextEditor: <TFormValues extends FieldValues>({ form, name, label, info, required, readOnly, disabled, height, className, onChange, onRefresh, }: RichTextEditorProps<TFormValues>) => import('react').JSX.Element;
16
16
  export {};
@@ -13,5 +13,5 @@ type SignaturePadProps<TFormValues extends FieldValues> = {
13
13
  onChange?: (dataUrl: string) => void;
14
14
  onRefresh?: () => Promise<void> | void;
15
15
  };
16
- export declare const SignaturePad: <TFormValues extends FieldValues>({ form, name, label, info, required, width, height, readOnly, disabled, className, onChange, onRefresh, }: SignaturePadProps<TFormValues>) => import("react").JSX.Element;
16
+ export declare const SignaturePad: <TFormValues extends FieldValues>({ form, name, label, info, required, width, height, readOnly, disabled, className, onChange, onRefresh, }: SignaturePadProps<TFormValues>) => import('react').JSX.Element;
17
17
  export {};
@@ -7,5 +7,5 @@ type ActionButtonProps = {
7
7
  icon?: ReactNode;
8
8
  variant?: ActionButtonVariant;
9
9
  } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children">;
10
- export declare const ActionButton: ({ children, loading, disabled, icon, variant, className, type, ...rest }: ActionButtonProps) => import("react").JSX.Element;
10
+ export declare const ActionButton: ({ children, loading, disabled, icon, variant, className, type, ...rest }: ActionButtonProps) => import('react').JSX.Element;
11
11
  export {};
@@ -8,5 +8,5 @@ type ButtonProps = {
8
8
  iconPosition?: "start" | "end";
9
9
  children: ReactNode;
10
10
  } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children">;
11
- export declare const Button: ({ variant, size, loading, disabled, icon, iconPosition, children, className, type, ...rest }: ButtonProps) => import("react").JSX.Element;
11
+ export declare const Button: ({ variant, size, loading, disabled, icon, iconPosition, children, className, type, ...rest }: ButtonProps) => import('react').JSX.Element;
12
12
  export {};
@@ -3,5 +3,5 @@ type ButtonGroupProps = {
3
3
  children: ReactNode;
4
4
  className?: string;
5
5
  };
6
- export declare const ButtonGroup: ({ children, className }: ButtonGroupProps) => import("react").JSX.Element;
6
+ export declare const ButtonGroup: ({ children, className }: ButtonGroupProps) => import('react').JSX.Element;
7
7
  export {};
@@ -8,5 +8,5 @@ type FormActionsProps = {
8
8
  hideSave?: boolean;
9
9
  className?: string;
10
10
  };
11
- export declare const FormActions: import('react').MemoExoticComponent<({ cancelLabel, saveLabel, onCancel, onSave, cancelLoading, saveLoading, hideSave, className, }: FormActionsProps) => import("react").JSX.Element>;
11
+ export declare const FormActions: import('react').MemoExoticComponent<({ cancelLabel, saveLabel, onCancel, onSave, cancelLoading, saveLoading, hideSave, className, }: FormActionsProps) => import('react').JSX.Element>;
12
12
  export {};
@@ -6,5 +6,5 @@ type RowActionsProps = {
6
6
  deleteLabel?: string;
7
7
  className?: string;
8
8
  };
9
- export declare const RowActions: ({ onEdit, onDelete, disabled, editLabel, deleteLabel, className, }: RowActionsProps) => import("react").JSX.Element;
9
+ export declare const RowActions: ({ onEdit, onDelete, disabled, editLabel, deleteLabel, className, }: RowActionsProps) => import('react').JSX.Element;
10
10
  export {};
@@ -6,5 +6,5 @@ type ToolbarButtonProps = {
6
6
  label?: string;
7
7
  loading?: boolean;
8
8
  } & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children">;
9
- export declare const ToolbarButton: ({ selected, small, icon, label, loading, disabled, className, type, ...rest }: ToolbarButtonProps) => import("react").JSX.Element;
9
+ export declare const ToolbarButton: ({ selected, small, icon, label, loading, disabled, className, type, ...rest }: ToolbarButtonProps) => import('react').JSX.Element;
10
10
  export {};
@@ -11,4 +11,4 @@ export type BadgeProps = {
11
11
  * luego el icono. Solo aplica a `shape="pill"` (el círculo es de un solo carácter). */
12
12
  icon?: ReactNode;
13
13
  };
14
- export declare const Badge: ({ label, variant, dot, size, shape, className, icon, }: BadgeProps) => import("react").JSX.Element;
14
+ export declare const Badge: ({ label, variant, dot, size, shape, className, icon, }: BadgeProps) => import('react').JSX.Element;
@@ -18,11 +18,11 @@ export type EntityCardProps = {
18
18
  onClick?: () => void;
19
19
  className?: string;
20
20
  };
21
- export declare const EntityCard: (props: EntityCardProps) => import("react").JSX.Element;
21
+ export declare const EntityCard: (props: EntityCardProps) => import('react').JSX.Element;
22
22
  type EntityCardGridProps = {
23
23
  children: ReactNode;
24
24
  cols?: 2 | 3 | 4 | 5;
25
25
  className?: string;
26
26
  };
27
- export declare const EntityCardGrid: ({ children, cols, className }: EntityCardGridProps) => import("react").JSX.Element;
27
+ export declare const EntityCardGrid: ({ children, cols, className }: EntityCardGridProps) => import('react').JSX.Element;
28
28
  export {};
@@ -85,11 +85,11 @@ export type KPICardProps = {
85
85
  * afordance de "clickeable" ya lo da `selected`/el borde, no un chevron de navegación. */
86
86
  showChevron?: boolean;
87
87
  };
88
- export declare const KPICard: ({ label, value, sublabel, icon, iconClassName, trend, trendLabel, trendDirection, accentTone, progress, valueFormat, formatOptions, sparkline, layout, variant, size, density, accentBar, iconStyle, labelWrap, className, onClick, selected, showChevron, }: KPICardProps) => import("react").JSX.Element;
88
+ export declare const KPICard: ({ label, value, sublabel, icon, iconClassName, trend, trendLabel, trendDirection, accentTone, progress, valueFormat, formatOptions, sparkline, layout, variant, size, density, accentBar, iconStyle, labelWrap, className, onClick, selected, showChevron, }: KPICardProps) => import('react').JSX.Element;
89
89
  type KPIGridProps = {
90
90
  children: ReactNode;
91
91
  cols?: 2 | 3 | 4 | 5;
92
92
  className?: string;
93
93
  };
94
- export declare const KPIGrid: ({ children, cols, className }: KPIGridProps) => import("react").JSX.Element;
94
+ export declare const KPIGrid: ({ children, cols, className }: KPIGridProps) => import('react').JSX.Element;
95
95
  export {};
@@ -3,7 +3,7 @@ type MetricBarRowProps = {
3
3
  item: MetricBarItem;
4
4
  small?: boolean;
5
5
  };
6
- export declare const MetricBarRow: ({ item, small }: MetricBarRowProps) => import("react").JSX.Element;
6
+ export declare const MetricBarRow: ({ item, small }: MetricBarRowProps) => import('react').JSX.Element;
7
7
  type MetricBarListProps = {
8
8
  metrics: MetricBarItem[];
9
9
  small?: boolean;
@@ -13,5 +13,5 @@ type MetricBarListProps = {
13
13
  * responsabilidad de quien arma los datos. */
14
14
  footnote?: MetricBarFootnote;
15
15
  };
16
- export declare const MetricBarList: ({ metrics, small, className, footnote }: MetricBarListProps) => import("react").JSX.Element;
16
+ export declare const MetricBarList: ({ metrics, small, className, footnote }: MetricBarListProps) => import('react').JSX.Element;
17
17
  export {};
@@ -23,12 +23,12 @@ export type ModuleCardProps = {
23
23
  className?: string;
24
24
  "aria-label"?: string;
25
25
  };
26
- export declare const ModuleCard: ({ title, subtitle, icon, logoUrl, iconAccent, badge, isNew, favorite, onFavoriteToggle, onClick, variant, density, enterAnimation, enterAnimationOnce, enterDelay, className, "aria-label": ariaLabel, }: ModuleCardProps) => import("react").JSX.Element;
26
+ export declare const ModuleCard: ({ title, subtitle, icon, logoUrl, iconAccent, badge, isNew, favorite, onFavoriteToggle, onClick, variant, density, enterAnimation, enterAnimationOnce, enterDelay, className, "aria-label": ariaLabel, }: ModuleCardProps) => import('react').JSX.Element;
27
27
  type ModuleCardGridProps = {
28
28
  children: ReactNode;
29
29
  variant?: ModuleCardVariant;
30
30
  density?: ModuleCardDensity;
31
31
  className?: string;
32
32
  };
33
- export declare const ModuleCardGrid: ({ children, variant, density, className, }: ModuleCardGridProps) => import("react").JSX.Element;
33
+ export declare const ModuleCardGrid: ({ children, variant, density, className, }: ModuleCardGridProps) => import('react').JSX.Element;
34
34
  export {};
@@ -6,10 +6,10 @@ export type QuickActionTileProps = {
6
6
  disabled?: boolean;
7
7
  className?: string;
8
8
  };
9
- export declare const QuickActionTile: ({ label, icon, onClick, disabled, className }: QuickActionTileProps) => import("react").JSX.Element;
9
+ export declare const QuickActionTile: ({ label, icon, onClick, disabled, className }: QuickActionTileProps) => import('react').JSX.Element;
10
10
  export type QuickActionGridProps = {
11
11
  children: ReactNode;
12
12
  cols?: 2 | 3 | 4;
13
13
  className?: string;
14
14
  };
15
- export declare const QuickActionGrid: ({ children, cols, className }: QuickActionGridProps) => import("react").JSX.Element;
15
+ export declare const QuickActionGrid: ({ children, cols, className }: QuickActionGridProps) => import('react').JSX.Element;
@@ -10,4 +10,4 @@ export type RecommendationCardProps = {
10
10
  onAction?: () => void;
11
11
  className?: string;
12
12
  };
13
- export declare const RecommendationCard: ({ title, description, tags, priority, impact, confidence, actionLabel, onAction, className, }: RecommendationCardProps) => import("react").JSX.Element;
13
+ export declare const RecommendationCard: ({ title, description, tags, priority, impact, confidence, actionLabel, onAction, className, }: RecommendationCardProps) => import('react').JSX.Element;
@@ -13,5 +13,5 @@ type SplitBarProps = {
13
13
  * Una sola barra dividida en 2+ segmentos proporcionales (ej. sexo M/F, o una distribución con más
14
14
  * categorías), con labels debajo. Distinto de `MetricBarList`, que apila una barra por fila.
15
15
  */
16
- export declare const SplitBar: ({ segments, size, className }: SplitBarProps) => import("react").JSX.Element;
16
+ export declare const SplitBar: ({ segments, size, className }: SplitBarProps) => import('react').JSX.Element;
17
17
  export {};
@@ -1,3 +1,3 @@
1
1
  import { ChartProps } from './types';
2
2
  export type { ChartProps } from './types';
3
- export declare const Chart: ({ type, data, xKey, series, height, ariaLabel, emptyMessage, className, showGrid, showTooltip, showLegend, orientation, stacking, unit, yDomain, xAxisFormat, yAxisFormat, tooltipFormat, valueLabelFormat, showValueLabels, referenceLines, onDataPointClick, }: ChartProps) => import("react").JSX.Element;
3
+ export declare const Chart: ({ type, data, xKey, series, height, ariaLabel, emptyMessage, className, showGrid, showTooltip, showLegend, orientation, stacking, unit, yDomain, xAxisFormat, yAxisFormat, tooltipFormat, valueLabelFormat, showValueLabels, referenceLines, onDataPointClick, }: ChartProps) => import('react').JSX.Element;
@@ -11,4 +11,4 @@ export type ChartLegendProps = {
11
11
  * Leyenda compacta en una línea, para la cabecera de una tarjeta (`DashboardCard.headerAction`) cuando el gráfico va
12
12
  * con `showLegend={false}`: deja el alto del gráfico para los datos.
13
13
  */
14
- export declare const ChartLegend: ({ items, className }: ChartLegendProps) => import("react").JSX.Element;
14
+ export declare const ChartLegend: ({ items, className }: ChartLegendProps) => import('react').JSX.Element;
@@ -4,4 +4,4 @@ import { DeviationBandProps } from './types';
4
4
  * "producción -27% respecto al promedio del lote". Distinto de `MetricBar` (que dimensiona 0-100
5
5
  * contra un `max`, no contra un promedio) y de `Chart` (que es una serie, no un punto).
6
6
  */
7
- export declare const DeviationBand: ({ value, average, min, max, unit, label, valueFormat, direction, className, }: DeviationBandProps) => import("react").JSX.Element;
7
+ export declare const DeviationBand: ({ value, average, min, max, unit, label, valueFormat, direction, className, }: DeviationBandProps) => import('react').JSX.Element;
@@ -9,4 +9,4 @@ export type { DiagnosticRadarProps, RadarMetric } from './types';
9
9
  * Reutiliza los mismos tokens/formatters que `Chart` (`chartAxisTick`, `chartTooltipStyle`,
10
10
  * `buildDefaultFormatter`) para que se vea como parte del mismo sistema, no como un componente aparte.
11
11
  */
12
- export declare const DiagnosticRadar: ({ data, max, color, height, ariaLabel, emptyMessage, className, showTooltip, showLegend, showValues, valueFormat, }: DiagnosticRadarProps) => import("react").JSX.Element;
12
+ export declare const DiagnosticRadar: ({ data, max, color, height, ariaLabel, emptyMessage, className, showTooltip, showLegend, showValues, valueFormat, }: DiagnosticRadarProps) => import('react').JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { SparklineProps } from './types';
2
- export declare const Sparkline: ({ data, dataKey, type, height, width, color, ariaLabel, emptyMessage, className, }: SparklineProps) => import("react").JSX.Element;
2
+ export declare const Sparkline: ({ data, dataKey, type, height, width, color, ariaLabel, emptyMessage, className, }: SparklineProps) => import('react').JSX.Element;
@@ -1,6 +1,12 @@
1
1
  import { CSSProperties } from 'react';
2
2
  import { ChartDataPoint, ChartSeries, ChartValueFormatter } from './types';
3
3
  export declare const CHART_SERIES_COLORS: readonly ["var(--sf-chart-1)", "var(--sf-chart-2)", "var(--sf-chart-3)", "var(--sf-chart-4)", "var(--sf-chart-5)"];
4
+ /** Paleta de categorías (`--sf-cat-1` … `--sf-cat-10`): para distinguir dominios, etapas o dimensiones, que no
5
+ * son un estado. Se pasa como `color` de una serie, de un ítem de leyenda o de un acento; el valor lo decide el
6
+ * tema. No cambia el color por defecto de `Chart`, que sigue siendo `CHART_SERIES_COLORS`. */
7
+ export declare const CATEGORY_COLORS: readonly ["var(--sf-cat-1)", "var(--sf-cat-2)", "var(--sf-cat-3)", "var(--sf-cat-4)", "var(--sf-cat-5)", "var(--sf-cat-6)", "var(--sf-cat-7)", "var(--sf-cat-8)", "var(--sf-cat-9)", "var(--sf-cat-10)"];
8
+ /** Color de la categoría en la posición `index` (0-based); pasada la décima, la paleta vuelve a empezar. */
9
+ export declare const categoryColor: (index: number) => "var(--sf-cat-1)" | "var(--sf-cat-2)" | "var(--sf-cat-3)" | "var(--sf-cat-4)" | "var(--sf-cat-5)" | "var(--sf-cat-6)" | "var(--sf-cat-7)" | "var(--sf-cat-8)" | "var(--sf-cat-9)" | "var(--sf-cat-10)";
4
10
  export declare const resolveSeriesColor: (series: {
5
11
  color?: string;
6
12
  }, index: number) => string;
@@ -5,5 +5,5 @@ export type { ChartLegendItem, ChartLegendProps } from './ChartLegend';
5
5
  export { Sparkline } from './Sparkline';
6
6
  export { DiagnosticRadar } from './DiagnosticRadar';
7
7
  export { DeviationBand } from './DeviationBand';
8
- export { CHART_SERIES_COLORS, resolveSeriesColor, buildDefaultFormatter, toStacked100Data, rawValueKey } from './chartUtils';
8
+ export { CHART_SERIES_COLORS, CATEGORY_COLORS, categoryColor, resolveSeriesColor, buildDefaultFormatter, toStacked100Data, rawValueKey } from './chartUtils';
9
9
  export type { BaseChartProps, ChartDataPoint, ChartOrientation, ChartReferenceLine, ChartSeries, ChartStacking, ChartType, ChartValueFormatter, DiagnosticRadarProps, DeviationBandDirection, DeviationBandProps, RadarMetric, SparklineProps, } from './types';
@@ -38,5 +38,5 @@ type AlertSummaryListProps = {
38
38
  * Distinto de `AlertRowList`: esa es una bitácora de eventos (icono + hora + meta);
39
39
  * esta es un resumen de conteos/alertas con el número como protagonista.
40
40
  */
41
- export declare const AlertSummaryList: ({ items, className, density, emptyMessage, showIcon, showChevron, }: AlertSummaryListProps) => import("react").JSX.Element;
41
+ export declare const AlertSummaryList: ({ items, className, density, emptyMessage, showIcon, showChevron, }: AlertSummaryListProps) => import('react').JSX.Element;
42
42
  export {};
@@ -6,5 +6,5 @@ type CalendarProps = {
6
6
  compact?: boolean;
7
7
  className?: string;
8
8
  };
9
- export declare const Calendar: ({ value, onChange, badges, compact, className }: CalendarProps) => import("react").JSX.Element;
9
+ export declare const Calendar: ({ value, onChange, badges, compact, className }: CalendarProps) => import('react').JSX.Element;
10
10
  export {};
@@ -10,4 +10,4 @@ export type CardNoteProps = {
10
10
  * Nota al pie de una tarjeta o de un panel: explica cómo leer el dato con el mismo tintado que el pie de
11
11
  * `MetricBarList`. Para procedencia de datos (período, fuentes, confianza) está `EvidenceFootnote`.
12
12
  */
13
- export declare const CardNote: ({ text, tone, className }: CardNoteProps) => import("react").JSX.Element;
13
+ export declare const CardNote: ({ text, tone, className }: CardNoteProps) => import('react').JSX.Element;
@@ -21,4 +21,4 @@ export type ComparisonTableProps = {
21
21
  * Distinto de una tabla genérica: la columna de desviación es siempre calculada, nunca un dato que el
22
22
  * consumidor tenga que traer aparte.
23
23
  */
24
- export declare const ComparisonTable: ({ rows, planLabel, realLabel, className }: ComparisonTableProps) => import("react").JSX.Element;
24
+ export declare const ComparisonTable: ({ rows, planLabel, realLabel, className }: ComparisonTableProps) => import('react').JSX.Element;
@@ -27,11 +27,11 @@ export type DashboardBoardProps = {
27
27
  * (principal y secundario) con la proporción 2/3 · 1/3 cuando la fila tiene dos bloques. Va dentro de
28
28
  * `DashboardLayout` o de `DashboardPageFrame`, que ponen el espacio vertical entre piezas.
29
29
  */
30
- export declare const DashboardBoard: ({ kpis, notes, hidden, hiddenTitle, detail, primary, secondary, }: DashboardBoardProps) => import("react").JSX.Element;
30
+ export declare const DashboardBoard: ({ kpis, notes, hidden, hiddenTitle, detail, primary, secondary, }: DashboardBoardProps) => import('react').JSX.Element;
31
31
  export type DashboardCardRowProps = {
32
32
  /** Tarjetas de la fila; los `null`/`false` se descartan. Con tres o más van a 3 columnas, si no a 2. */
33
33
  children: ReactNode[];
34
34
  className?: string;
35
35
  };
36
36
  /** Tarjetas del mismo alto dentro de una sección (p. ej. Sexo · Edad · Antigüedad). */
37
- export declare const DashboardCardRow: ({ children, className }: DashboardCardRowProps) => import("react").JSX.Element;
37
+ export declare const DashboardCardRow: ({ children, className }: DashboardCardRowProps) => import('react').JSX.Element;
@@ -39,7 +39,7 @@ export type DashboardCardProps = {
39
39
  className?: string;
40
40
  children?: ReactNode;
41
41
  };
42
- export declare const DashboardCard: ({ title, subtitle, icon, headerAction, variant, span, padding, look, headerSize, headerWrap, headerDivider, footer, state, loadingMessage, errorMessage, emptyMessage, onRetry, retryLabel, minHeight, bodyOverflow, className, children, }: DashboardCardProps) => import("react").JSX.Element;
42
+ export declare const DashboardCard: ({ title, subtitle, icon, headerAction, variant, span, padding, look, headerSize, headerWrap, headerDivider, footer, state, loadingMessage, errorMessage, emptyMessage, onRetry, retryLabel, minHeight, bodyOverflow, className, children, }: DashboardCardProps) => import('react').JSX.Element;
43
43
  type DashboardGridProps = {
44
44
  cols?: 2 | 3 | 4 | 5 | 6;
45
45
  gap?: "sm" | "md" | "lg";
@@ -53,7 +53,7 @@ type DashboardGridProps = {
53
53
  className?: string;
54
54
  children?: ReactNode;
55
55
  };
56
- export declare const DashboardGrid: ({ cols, gap, alignItems, minColWidth, className, children }: DashboardGridProps) => import("react").JSX.Element;
56
+ export declare const DashboardGrid: ({ cols, gap, alignItems, minColWidth, className, children }: DashboardGridProps) => import('react').JSX.Element;
57
57
  type DashboardSectionProps = {
58
58
  title: string;
59
59
  subtitle?: string;
@@ -69,12 +69,12 @@ type DashboardSectionProps = {
69
69
  className?: string;
70
70
  children?: ReactNode;
71
71
  };
72
- export declare const DashboardSection: ({ title, subtitle, action, icon, iconSize, variant, className, children, }: DashboardSectionProps) => import("react").JSX.Element;
72
+ export declare const DashboardSection: ({ title, subtitle, action, icon, iconSize, variant, className, children, }: DashboardSectionProps) => import('react').JSX.Element;
73
73
  type DashboardStatBarProps = {
74
74
  items: StatBarItem[];
75
75
  className?: string;
76
76
  };
77
- export declare const DashboardStatBar: ({ items, className }: DashboardStatBarProps) => import("react").JSX.Element;
77
+ export declare const DashboardStatBar: ({ items, className }: DashboardStatBarProps) => import('react').JSX.Element;
78
78
  type DashboardLayoutProps = {
79
79
  header?: ReactNode;
80
80
  sidebar?: ReactNode;
@@ -82,5 +82,5 @@ type DashboardLayoutProps = {
82
82
  className?: string;
83
83
  children?: ReactNode;
84
84
  };
85
- export declare const DashboardLayout: ({ header, sidebar, statBar, className, children }: DashboardLayoutProps) => import("react").JSX.Element;
85
+ export declare const DashboardLayout: ({ header, sidebar, statBar, className, children }: DashboardLayoutProps) => import('react').JSX.Element;
86
86
  export {};
@@ -58,4 +58,4 @@ export type DashboardPageFrameProps = {
58
58
  * botón de actualizar y el filtro de rango de fechas con borrador y validación. Los hijos van dentro de
59
59
  * `DashboardLayout`, así que `DashboardBoard` encaja directamente.
60
60
  */
61
- export declare const DashboardPageFrame: ({ title, subtitle, mode, range, onApply, fromLabel, toLabel, dayLabel, compareFieldLabel, validate, error, loading, stale, updatedAt, live, cutoffLabel, onRefresh, refreshLabel, compareLabel, pendingLabel, applyLabel, filterAriaLabel, slowAfterSeconds, className, children, }: DashboardPageFrameProps) => import("react").JSX.Element;
61
+ export declare const DashboardPageFrame: ({ title, subtitle, mode, range, onApply, fromLabel, toLabel, dayLabel, compareFieldLabel, validate, error, loading, stale, updatedAt, live, cutoffLabel, onRefresh, refreshLabel, compareLabel, pendingLabel, applyLabel, filterAriaLabel, slowAfterSeconds, className, children, }: DashboardPageFrameProps) => import('react').JSX.Element;
@@ -15,4 +15,4 @@ export type DashboardPlaceholderProps = {
15
15
  * pieza (la de `shape="kpi"` mide lo mismo que `KPICard size="lg"`); en error muestra el mensaje y el botón de
16
16
  * reintento de `DashboardCard`.
17
17
  */
18
- export declare const DashboardPlaceholder: ({ title, shape, state, errorMessage, onRetry, className, }: DashboardPlaceholderProps) => import("react").JSX.Element;
18
+ export declare const DashboardPlaceholder: ({ title, shape, state, errorMessage, onRetry, className, }: DashboardPlaceholderProps) => import('react').JSX.Element;
@@ -35,4 +35,4 @@ export type DetailPanelProps<Row> = {
35
35
  * con su acción, las primeras filas en una `CustomTable` y la exportación completa a Excel. Se abre desde
36
36
  * `DrilldownKPICard`, `DrilldownAlertList` o cualquier pieza que llame a `detail.toggle(spec)`.
37
37
  */
38
- export declare const DetailPanel: <Row>({ detail, rowMapper, subtitle, countLabel, previewRows, previewNote, totalNote, emptyMessage, closeLabel, exportLabel, exportFilename, actions, }: DetailPanelProps<Row>) => import("react").JSX.Element | null;
38
+ export declare const DetailPanel: <Row>({ detail, rowMapper, subtitle, countLabel, previewRows, previewNote, totalNote, emptyMessage, closeLabel, exportLabel, exportFilename, actions, }: DetailPanelProps<Row>) => import('react').JSX.Element | null;
@@ -23,4 +23,4 @@ export type DetailSectionProps = {
23
23
  /** "md" (por defecto) o "sm" = padding y fuente menores para paneles laterales de 380px. */
24
24
  density?: DetailSectionDensity;
25
25
  };
26
- export declare const DetailSection: ({ title, icon, tone, rows, children, className, density }: DetailSectionProps) => import("react").JSX.Element;
26
+ export declare const DetailSection: ({ title, icon, tone, rows, children, className, density }: DetailSectionProps) => import('react').JSX.Element;
@@ -35,4 +35,4 @@ export type DetailSidePanelProps = {
35
35
  width?: number | string;
36
36
  className?: string;
37
37
  };
38
- export declare const DetailSidePanel: ({ title, onClose, headerAction, icon, iconSize, heading, badge, rows, align, actions, sectionTitle, items, width, className, }: DetailSidePanelProps) => import("react").JSX.Element;
38
+ export declare const DetailSidePanel: ({ title, onClose, headerAction, icon, iconSize, heading, badge, rows, align, actions, sectionTitle, items, width, className, }: DetailSidePanelProps) => import('react').JSX.Element;
@@ -31,4 +31,4 @@ export type DonutBreakdownProps = {
31
31
  * cómo se reparte un total entre categorías. SVG puro, mismo patrón de arcos que `DonutGauge`,
32
32
  * sin dependencia nueva.
33
33
  */
34
- export declare const DonutBreakdown: ({ segments, centerValue, centerLabel, size, strokeWidth, showLegend, legendVariant, formatPct, className, }: DonutBreakdownProps) => import("react").JSX.Element;
34
+ export declare const DonutBreakdown: ({ segments, centerValue, centerLabel, size, strokeWidth, showLegend, legendVariant, formatPct, className, }: DonutBreakdownProps) => import('react').JSX.Element;
@@ -16,12 +16,12 @@ export type DonutGaugeProps = {
16
16
  strokeWidth?: number;
17
17
  className?: string;
18
18
  };
19
- export declare const DonutGauge: ({ value, label, sublabel, size, color, thresholds, inverse, showValue, strokeWidth, className, }: DonutGaugeProps) => import("react").JSX.Element;
19
+ export declare const DonutGauge: ({ value, label, sublabel, size, color, thresholds, inverse, showValue, strokeWidth, className, }: DonutGaugeProps) => import('react').JSX.Element;
20
20
  export type DonutGaugeRowItem = Omit<DonutGaugeProps, "className">;
21
21
  type DonutGaugeRowProps = {
22
22
  gauges: DonutGaugeRowItem[];
23
23
  size?: DonutGaugeSize;
24
24
  className?: string;
25
25
  };
26
- export declare const DonutGaugeRow: ({ gauges, size, className }: DonutGaugeRowProps) => import("react").JSX.Element;
26
+ export declare const DonutGaugeRow: ({ gauges, size, className }: DonutGaugeRowProps) => import('react').JSX.Element;
27
27
  export {};
@@ -22,7 +22,7 @@ export type DrilldownKPICardProps<Row> = {
22
22
  spec?: DetailSpec<Row> | null;
23
23
  };
24
24
  /** `KPICard` de tablero que abre su detalle en el `DetailPanel` compartido y se marca cuando está abierto. */
25
- export declare const DrilldownKPICard: <Row>({ label, value, sublabel, icon, accentTone, primary, trend, trendDirection, trendLabel, detail, spec, }: DrilldownKPICardProps<Row>) => import("react").JSX.Element;
25
+ export declare const DrilldownKPICard: <Row>({ label, value, sublabel, icon, accentTone, primary, trend, trendDirection, trendLabel, detail, spec, }: DrilldownKPICardProps<Row>) => import('react').JSX.Element;
26
26
  export type DrilldownAlertItem<Row> = {
27
27
  label: string;
28
28
  /** Valor ya formateado; con `count` en 0 la fila toma `zeroTone`. */
@@ -40,7 +40,7 @@ export type DrilldownAlertListProps<Row> = {
40
40
  emptyMessage?: ReactNode;
41
41
  };
42
42
  /** Lista de pendientes en una tarjeta: cada fila abre su detalle en el `DetailPanel` compartido. */
43
- export declare const DrilldownAlertList: <Row>({ items, detail, zeroTone, emptyMessage, }: DrilldownAlertListProps<Row>) => import("react").JSX.Element;
43
+ export declare const DrilldownAlertList: <Row>({ items, detail, zeroTone, emptyMessage, }: DrilldownAlertListProps<Row>) => import('react').JSX.Element;
44
44
  export type DetailPreviewItem = {
45
45
  key: string;
46
46
  /** Código o documento, en monoespaciada delante del texto principal. */
@@ -65,4 +65,4 @@ export type DetailPreviewListProps = {
65
65
  openLabel?: string;
66
66
  };
67
67
  /** Las primeras filas de una lista con su total y el acceso al detalle completo. */
68
- export declare const DetailPreviewList: ({ items, total, totalLabel, unit, previewCount, emptyText, onOpen, openLabel, }: DetailPreviewListProps) => import("react").JSX.Element;
68
+ export declare const DetailPreviewList: ({ items, total, totalLabel, unit, previewCount, emptyText, onOpen, openLabel, }: DetailPreviewListProps) => import('react').JSX.Element;
@@ -10,7 +10,7 @@ type EventLogProps = {
10
10
  onViewAll?: () => void;
11
11
  className?: string;
12
12
  };
13
- export declare const EventLog: ({ events, title, maxHeight, compact, showTimeline, viewAllLabel, onViewAll, className, }: EventLogProps) => import("react").JSX.Element;
13
+ export declare const EventLog: ({ events, title, maxHeight, compact, showTimeline, viewAllLabel, onViewAll, className, }: EventLogProps) => import('react').JSX.Element;
14
14
  type AlertRowListProps = {
15
15
  items: AlertRowItem[];
16
16
  maxHeight?: number;
@@ -25,7 +25,7 @@ type AlertRowListProps = {
25
25
  /** Contenido cuando `items` está vacío. Por defecto "Sin alertas" (acabado actual). */
26
26
  emptyMessage?: ReactNode;
27
27
  };
28
- export declare const AlertRowList: ({ items, maxHeight, className, columns, headerLabels, density, emptyMessage, }: AlertRowListProps) => import("react").JSX.Element;
28
+ export declare const AlertRowList: ({ items, maxHeight, className, columns, headerLabels, density, emptyMessage, }: AlertRowListProps) => import('react').JSX.Element;
29
29
  export type AlertLaneItem = {
30
30
  id?: string;
31
31
  title: ReactNode;
@@ -42,5 +42,5 @@ type AlertLaneProps = {
42
42
  className?: string;
43
43
  };
44
44
  /** Alertas como tarjetas horizontales con ícono + CTA (diseño torre/mockup). */
45
- export declare const AlertLane: ({ items, className }: AlertLaneProps) => import("react").JSX.Element;
45
+ export declare const AlertLane: ({ items, className }: AlertLaneProps) => import('react').JSX.Element;
46
46
  export {};
@@ -16,4 +16,4 @@ export type EvidenceFootnoteProps = {
16
16
  * fuentes, confianza, última actualización). Pensado como `footer` de `DashboardCard`/`KPICard` o
17
17
  * suelto al pie de cualquier tarjeta analítica, para no improvisar este patrón cada vez.
18
18
  */
19
- export declare const EvidenceFootnote: ({ items, confidence, updatedAt, className }: EvidenceFootnoteProps) => import("react").JSX.Element;
19
+ export declare const EvidenceFootnote: ({ items, confidence, updatedAt, className }: EvidenceFootnoteProps) => import('react').JSX.Element;
@@ -17,5 +17,5 @@ type StatCardProps = {
17
17
  * icono con halo, valor grande y label. El halo se deriva del acento con
18
18
  * color-mix para no pedir dos colores.
19
19
  */
20
- export declare const StatCard: ({ value, label, accent, icon, size, className }: StatCardProps) => import("react").JSX.Element;
20
+ export declare const StatCard: ({ value, label, accent, icon, size, className }: StatCardProps) => import('react').JSX.Element;
21
21
  export {};
@@ -10,5 +10,5 @@ type StepperProps = {
10
10
  onStepClick?: (key: string) => void;
11
11
  className?: string;
12
12
  };
13
- export declare const Stepper: ({ steps, activeKey, orientation, size, variant, onStepClick, className, }: StepperProps) => import("react").JSX.Element;
13
+ export declare const Stepper: ({ steps, activeKey, orientation, size, variant, onStepClick, className, }: StepperProps) => import('react').JSX.Element;
14
14
  export {};
@@ -17,5 +17,5 @@ type TramoCardProps = {
17
17
  * header gris con icono direccional, título, hora y cupos; cuerpo libre.
18
18
  * Estilos en sf-dashboard.css — sin clases arbitrarias de Tailwind.
19
19
  */
20
- export declare const TramoCard: ({ tipo, hora, cupos, apto, aptoLabel, children, }: TramoCardProps) => import("react").JSX.Element;
20
+ export declare const TramoCard: ({ tipo, hora, cupos, apto, aptoLabel, children, }: TramoCardProps) => import('react').JSX.Element;
21
21
  export {};
@@ -17,4 +17,4 @@ export type AuditTimelineProps = {
17
17
  emptyMessage?: string;
18
18
  className?: string;
19
19
  };
20
- export declare const AuditTimeline: ({ items, sectionTitle, eventCountLabel, ariaLabel, emptyMessage, className, }: AuditTimelineProps) => import("react").JSX.Element;
20
+ export declare const AuditTimeline: ({ items, sectionTitle, eventCountLabel, ariaLabel, emptyMessage, className, }: AuditTimelineProps) => import('react').JSX.Element;
@@ -12,11 +12,11 @@ export type AvatarProps = {
12
12
  className?: string;
13
13
  imgProps?: Omit<ImgHTMLAttributes<HTMLImageElement>, "src" | "alt">;
14
14
  };
15
- export declare const Avatar: ({ src, alt, fallback, size, variant, shape, className, imgProps, }: AvatarProps) => import("react").JSX.Element;
15
+ export declare const Avatar: ({ src, alt, fallback, size, variant, shape, className, imgProps, }: AvatarProps) => import('react').JSX.Element;
16
16
  export type AvatarGroupProps = {
17
17
  children: ReactNode;
18
18
  max?: number;
19
19
  size?: AvatarSize;
20
20
  className?: string;
21
21
  };
22
- export declare const AvatarGroup: ({ children, max, size, className }: AvatarGroupProps) => import("react").JSX.Element;
22
+ export declare const AvatarGroup: ({ children, max, size, className }: AvatarGroupProps) => import('react').JSX.Element;
@@ -7,4 +7,4 @@ export type CarouselProps = {
7
7
  showArrows?: boolean;
8
8
  className?: string;
9
9
  };
10
- export declare const Carousel: ({ items, autoPlay, intervalMs, showDots, showArrows, className, }: CarouselProps) => import("react").JSX.Element | null;
10
+ export declare const Carousel: ({ items, autoPlay, intervalMs, showDots, showArrows, className, }: CarouselProps) => import('react').JSX.Element | null;
@@ -3,4 +3,4 @@ export type LiveChipProps = {
3
3
  pulse?: boolean;
4
4
  className?: string;
5
5
  };
6
- export declare const LiveChip: ({ label, pulse, className }: LiveChipProps) => import("react").JSX.Element;
6
+ export declare const LiveChip: ({ label, pulse, className }: LiveChipProps) => import('react').JSX.Element;
@@ -20,4 +20,4 @@ export type LiveStatusBarProps = {
20
20
  className?: string;
21
21
  ariaLabel?: string;
22
22
  };
23
- export declare const LiveStatusBar: ({ liveLabel, metrics, nextDeparture, className, ariaLabel, }: LiveStatusBarProps) => import("react").JSX.Element;
23
+ export declare const LiveStatusBar: ({ liveLabel, metrics, nextDeparture, className, ariaLabel, }: LiveStatusBarProps) => import('react').JSX.Element;