@imj_media/ui 1.6.12 → 1.6.14

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 (71) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.esm.js +9022 -8500
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/index.js +165 -9
  7. package/dist/index.js.map +1 -1
  8. package/dist/modules/CardsGenericas/components/organisms/CardsGenericas.d.ts +19 -0
  9. package/dist/modules/CardsGenericas/components/organisms/CardsGenericas.d.ts.map +1 -0
  10. package/dist/modules/CardsGenericas/index.d.ts +3 -0
  11. package/dist/modules/CardsGenericas/index.d.ts.map +1 -0
  12. package/dist/modules/CardsGenericas/stories/CardsGenericas.stories.d.ts +14 -0
  13. package/dist/modules/CardsGenericas/stories/CardsGenericas.stories.d.ts.map +1 -0
  14. package/dist/modules/CardsGenericas/types.d.ts +43 -0
  15. package/dist/modules/CardsGenericas/types.d.ts.map +1 -0
  16. package/dist/modules/DatePicker/DatePicker.d.ts.map +1 -1
  17. package/dist/modules/DatePicker/hooks/useDatePicker.d.ts.map +1 -1
  18. package/dist/modules/DatePicker/stories/DatePicker.stories.d.ts +7 -0
  19. package/dist/modules/DatePicker/stories/DatePicker.stories.d.ts.map +1 -1
  20. package/dist/modules/Drawer/index.d.ts.map +1 -1
  21. package/dist/modules/Drawer/stories/Drawer.stories.d.ts +3 -0
  22. package/dist/modules/Drawer/stories/Drawer.stories.d.ts.map +1 -1
  23. package/dist/modules/Dropdown/components/Dropdown.d.ts.map +1 -1
  24. package/dist/modules/Dropdown/stories/DropdownListVariants.stories.d.ts.map +1 -1
  25. package/dist/modules/Input/components/Input.d.ts.map +1 -1
  26. package/dist/modules/Input/hooks/useInputStyles.d.ts.map +1 -1
  27. package/dist/modules/Modal/Modal.d.ts.map +1 -1
  28. package/dist/modules/Modal/components/molecules/ModalHeader.d.ts +1 -1
  29. package/dist/modules/Modal/components/molecules/ModalHeader.d.ts.map +1 -1
  30. package/dist/modules/Modal/context/ModalContext.d.ts.map +1 -1
  31. package/dist/modules/Modal/stories/Modal.stories.d.ts +1 -0
  32. package/dist/modules/Modal/stories/Modal.stories.d.ts.map +1 -1
  33. package/dist/modules/Popup/components/organisms/Popup.d.ts +5 -0
  34. package/dist/modules/Popup/components/organisms/Popup.d.ts.map +1 -1
  35. package/dist/modules/Popup/hooks/usePopup.d.ts +10 -5
  36. package/dist/modules/Popup/hooks/usePopup.d.ts.map +1 -1
  37. package/dist/modules/Popup/hooks/usePopupExternalTrigger.d.ts +4 -1
  38. package/dist/modules/Popup/hooks/usePopupExternalTrigger.d.ts.map +1 -1
  39. package/dist/modules/Popup/stories/popup.stories.d.ts +11 -0
  40. package/dist/modules/Popup/stories/popup.stories.d.ts.map +1 -1
  41. package/dist/modules/Popup/utils/popupPosition.d.ts +9 -0
  42. package/dist/modules/Popup/utils/popupPosition.d.ts.map +1 -1
  43. package/dist/modules/RangeBar/components/molecules/RangeBar.d.ts +6 -0
  44. package/dist/modules/RangeBar/components/molecules/RangeBar.d.ts.map +1 -1
  45. package/dist/modules/RangeBar/components/organisms/RangeSelector.d.ts +3 -1
  46. package/dist/modules/RangeBar/components/organisms/RangeSelector.d.ts.map +1 -1
  47. package/dist/modules/Table/components/atoms/ImagePreviewCell.d.ts +16 -0
  48. package/dist/modules/Table/components/atoms/ImagePreviewCell.d.ts.map +1 -0
  49. package/dist/modules/Table/components/atoms/ImagePreviewCell.test.d.ts +2 -0
  50. package/dist/modules/Table/components/atoms/ImagePreviewCell.test.d.ts.map +1 -0
  51. package/dist/modules/Table/components/atoms/StatusCell.d.ts.map +1 -1
  52. package/dist/modules/Table/components/atoms/index.d.ts +1 -0
  53. package/dist/modules/Table/components/atoms/index.d.ts.map +1 -1
  54. package/dist/modules/Table/components/molecules/CellRenderer.d.ts.map +1 -1
  55. package/dist/modules/Table/components/molecules/FilterCard.d.ts.map +1 -1
  56. package/dist/modules/Table/components/organisms/FilterPopup.d.ts.map +1 -1
  57. package/dist/modules/Table/stories/Table.stories.d.ts +5 -1
  58. package/dist/modules/Table/stories/Table.stories.d.ts.map +1 -1
  59. package/dist/modules/index.d.ts +1 -0
  60. package/dist/modules/index.d.ts.map +1 -1
  61. package/dist/shared/types/datepicker.d.ts +2 -0
  62. package/dist/shared/types/datepicker.d.ts.map +1 -1
  63. package/dist/shared/types/drawer.d.ts +6 -0
  64. package/dist/shared/types/drawer.d.ts.map +1 -1
  65. package/dist/shared/types/modal.d.ts +21 -2
  66. package/dist/shared/types/modal.d.ts.map +1 -1
  67. package/dist/shared/types/popup.d.ts +12 -0
  68. package/dist/shared/types/popup.d.ts.map +1 -1
  69. package/dist/shared/types/table.d.ts +28 -1
  70. package/dist/shared/types/table.d.ts.map +1 -1
  71. package/package.json +21 -19
package/CHANGELOG.md CHANGED
@@ -11,6 +11,34 @@ y este proyecto adhiere a [Semantic Versioning](https://semver.org/lang/es/).
11
11
 
12
12
  - **RangeBar** / **RangeSelector** (**breaking**): API con props agrupadas — `range`, `events`, `appearance`, `accessibility` en la pista; organismo con `labels` (`title` en lugar de `label` en raíz), `formatting` y `appearance.compact`. Tipos exportados: `RangeBarRangeProps`, `RangeBarEventsProps`, `RangeBarAppearanceProps`, `RangeBarAccessibilityProps`, `RangeSelectorLabelsProps`, `RangeSelectorFormattingProps`, `RangeSelectorAppearanceProps`.
13
13
 
14
+ ## [1.6.14] - 2026-04-17
15
+
16
+ ### Added
17
+
18
+ - **CardsGenericas**: componente con pestañas personalizables y estilos.
19
+ - **Modal** / **Drawer**: tooltip opcional en el botón de cerrar (DEV-806).
20
+ - **Table**: icono de estado en la celda de tipo **status** (DEV-808); actualización de la celda de tipo status (DEV-809).
21
+
22
+ ### Changed
23
+
24
+ - **Dropdown**: acepta valor por defecto (DEV-805).
25
+ - **RangeBar**: espaciados cuando **`compact`** es `true` (DEV-807).
26
+ - **ModalHeader** / **Drawer**: posicionamiento y manejo del tooltip del botón de cerrar.
27
+
28
+ ## [1.6.13] - 2026-04-16
29
+
30
+ ### Added
31
+
32
+ - **Table**: tipo de celda **`imagePreview`** (`ImagePreviewCell`): miniatura 16:9, contenedor `rounded-control-xs` (imágenes sin radio), borde brand al hover, altura máx. `calc(100% - 16px)` en la celda; misma imagen a 300×300 en `Popup` al hover (`hoverAnchorFollowPointer`), alternativa al lightbox de `IconCell` al clic. Valor: **`ImagePreviewCellValue`** (`src`, `title?`, `alt?`).
33
+ - **Popup**: prop **`openOnHoverAllowPanelPointer`** (por defecto `true`). Si es `false`, al salir del trigger el popup se cierra aunque el puntero pase al panel (sin “puente” hover). `ImagePreviewCell` la usa en `false` para que la vista ampliada no quede fija al mover el ratón al panel.
34
+
35
+ ### Changed
36
+
37
+ - **DatePicker**: prop **`disabled`** (`false` por defecto): impide abrir el calendario, cierra el portal si pasa a deshabilitado y reenvía **`disabled`** al **Input** interno.
38
+ - **Input**: ajustes en **`useInputStyles`**.
39
+ - **Popup**: posicionamiento (**`popupPosition`**), triggers externos y refinamiento del hover; tipos en **`@/shared/types/popup`**; tests y stories.
40
+ - **Table**: **`FilterCard`**, **`FilterPopup`** y tests asociados; tipos en **`@/shared/types/table`**; stories de **Table**.
41
+
14
42
  ## [1.6.12] - 2026-04-16
15
43
 
16
44
  ### Added
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Biblioteca de componentes UI moderna y accesible para React, construida con TypeScript y Tailwind CSS.
6
6
 
7
- > **Versión publicada:** `1.6.12` — actualizar este número y `CHANGELOG.md` antes de cada release (orden y scripts: regla **`imj-ui-obligations-release`**; atajo `npm run publish:patch|minor|major` o pasos `bump:*` → `release:git` → `release:publish`).
7
+ > **Versión publicada:** `1.6.14` — actualizar este número y `CHANGELOG.md` antes de cada release (orden y scripts: regla **`imj-ui-obligations-release`**; atajo `npm run publish:patch|minor|major` o pasos `bump:*` → `release:git` → `release:publish`).
8
8
 
9
9
  ## 📦 Instalación
10
10