@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.
- package/CHANGELOG.md +28 -0
- package/README.md +1 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.js +9022 -8500
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +165 -9
- package/dist/index.js.map +1 -1
- package/dist/modules/CardsGenericas/components/organisms/CardsGenericas.d.ts +19 -0
- package/dist/modules/CardsGenericas/components/organisms/CardsGenericas.d.ts.map +1 -0
- package/dist/modules/CardsGenericas/index.d.ts +3 -0
- package/dist/modules/CardsGenericas/index.d.ts.map +1 -0
- package/dist/modules/CardsGenericas/stories/CardsGenericas.stories.d.ts +14 -0
- package/dist/modules/CardsGenericas/stories/CardsGenericas.stories.d.ts.map +1 -0
- package/dist/modules/CardsGenericas/types.d.ts +43 -0
- package/dist/modules/CardsGenericas/types.d.ts.map +1 -0
- package/dist/modules/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/modules/DatePicker/hooks/useDatePicker.d.ts.map +1 -1
- package/dist/modules/DatePicker/stories/DatePicker.stories.d.ts +7 -0
- package/dist/modules/DatePicker/stories/DatePicker.stories.d.ts.map +1 -1
- package/dist/modules/Drawer/index.d.ts.map +1 -1
- package/dist/modules/Drawer/stories/Drawer.stories.d.ts +3 -0
- package/dist/modules/Drawer/stories/Drawer.stories.d.ts.map +1 -1
- package/dist/modules/Dropdown/components/Dropdown.d.ts.map +1 -1
- package/dist/modules/Dropdown/stories/DropdownListVariants.stories.d.ts.map +1 -1
- package/dist/modules/Input/components/Input.d.ts.map +1 -1
- package/dist/modules/Input/hooks/useInputStyles.d.ts.map +1 -1
- package/dist/modules/Modal/Modal.d.ts.map +1 -1
- package/dist/modules/Modal/components/molecules/ModalHeader.d.ts +1 -1
- package/dist/modules/Modal/components/molecules/ModalHeader.d.ts.map +1 -1
- package/dist/modules/Modal/context/ModalContext.d.ts.map +1 -1
- package/dist/modules/Modal/stories/Modal.stories.d.ts +1 -0
- package/dist/modules/Modal/stories/Modal.stories.d.ts.map +1 -1
- package/dist/modules/Popup/components/organisms/Popup.d.ts +5 -0
- package/dist/modules/Popup/components/organisms/Popup.d.ts.map +1 -1
- package/dist/modules/Popup/hooks/usePopup.d.ts +10 -5
- package/dist/modules/Popup/hooks/usePopup.d.ts.map +1 -1
- package/dist/modules/Popup/hooks/usePopupExternalTrigger.d.ts +4 -1
- package/dist/modules/Popup/hooks/usePopupExternalTrigger.d.ts.map +1 -1
- package/dist/modules/Popup/stories/popup.stories.d.ts +11 -0
- package/dist/modules/Popup/stories/popup.stories.d.ts.map +1 -1
- package/dist/modules/Popup/utils/popupPosition.d.ts +9 -0
- package/dist/modules/Popup/utils/popupPosition.d.ts.map +1 -1
- package/dist/modules/RangeBar/components/molecules/RangeBar.d.ts +6 -0
- package/dist/modules/RangeBar/components/molecules/RangeBar.d.ts.map +1 -1
- package/dist/modules/RangeBar/components/organisms/RangeSelector.d.ts +3 -1
- package/dist/modules/RangeBar/components/organisms/RangeSelector.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/ImagePreviewCell.d.ts +16 -0
- package/dist/modules/Table/components/atoms/ImagePreviewCell.d.ts.map +1 -0
- package/dist/modules/Table/components/atoms/ImagePreviewCell.test.d.ts +2 -0
- package/dist/modules/Table/components/atoms/ImagePreviewCell.test.d.ts.map +1 -0
- package/dist/modules/Table/components/atoms/StatusCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/index.d.ts +1 -0
- package/dist/modules/Table/components/atoms/index.d.ts.map +1 -1
- package/dist/modules/Table/components/molecules/CellRenderer.d.ts.map +1 -1
- package/dist/modules/Table/components/molecules/FilterCard.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/FilterPopup.d.ts.map +1 -1
- package/dist/modules/Table/stories/Table.stories.d.ts +5 -1
- package/dist/modules/Table/stories/Table.stories.d.ts.map +1 -1
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/shared/types/datepicker.d.ts +2 -0
- package/dist/shared/types/datepicker.d.ts.map +1 -1
- package/dist/shared/types/drawer.d.ts +6 -0
- package/dist/shared/types/drawer.d.ts.map +1 -1
- package/dist/shared/types/modal.d.ts +21 -2
- package/dist/shared/types/modal.d.ts.map +1 -1
- package/dist/shared/types/popup.d.ts +12 -0
- package/dist/shared/types/popup.d.ts.map +1 -1
- package/dist/shared/types/table.d.ts +28 -1
- package/dist/shared/types/table.d.ts.map +1 -1
- 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.
|
|
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
|
|