@imj_media/ui 1.2.32 → 1.2.33
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 +55 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +7320 -6474
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/modules/Accordion/components/molecules/AccordionContent.d.ts +3 -1
- package/dist/modules/Accordion/components/molecules/AccordionContent.d.ts.map +1 -1
- package/dist/modules/Accordion/components/molecules/AccordionContent.test.d.ts +2 -0
- package/dist/modules/Accordion/components/molecules/AccordionContent.test.d.ts.map +1 -0
- package/dist/modules/Accordion/components/molecules/AccordionHeader.d.ts +3 -1
- package/dist/modules/Accordion/components/molecules/AccordionHeader.d.ts.map +1 -1
- package/dist/modules/Accordion/components/molecules/AccordionHeader.test.d.ts +2 -0
- package/dist/modules/Accordion/components/molecules/AccordionHeader.test.d.ts.map +1 -0
- package/dist/modules/Accordion/components/organisms/Accordion.test.d.ts +2 -0
- package/dist/modules/Accordion/components/organisms/Accordion.test.d.ts.map +1 -0
- package/dist/modules/Accordion/components/organisms/AccordionContainer.d.ts.map +1 -1
- package/dist/modules/Accordion/components/organisms/AccordionContainer.test.d.ts +2 -0
- package/dist/modules/Accordion/components/organisms/AccordionContainer.test.d.ts.map +1 -0
- package/dist/modules/Alert/components/atoms/AlertFooter.d.ts +2 -1
- package/dist/modules/Alert/components/atoms/AlertFooter.d.ts.map +1 -1
- package/dist/modules/Alert/components/atoms/AlertFooter.test.d.ts +2 -0
- package/dist/modules/Alert/components/atoms/AlertFooter.test.d.ts.map +1 -0
- package/dist/modules/Alert/components/atoms/AlertHeader.d.ts +2 -1
- package/dist/modules/Alert/components/atoms/AlertHeader.d.ts.map +1 -1
- package/dist/modules/Alert/components/atoms/AlertHeader.test.d.ts +2 -0
- package/dist/modules/Alert/components/atoms/AlertHeader.test.d.ts.map +1 -0
- package/dist/modules/Alert/hooks/useAlert.d.ts.map +1 -1
- package/dist/modules/Alert/hooks/useAlert.test.d.ts +2 -0
- package/dist/modules/Alert/hooks/useAlert.test.d.ts.map +1 -0
- package/dist/modules/Alert/hooks/useAlertStyles.test.d.ts +2 -0
- package/dist/modules/Alert/hooks/useAlertStyles.test.d.ts.map +1 -0
- package/dist/modules/Alert/index.d.ts.map +1 -1
- package/dist/modules/Alert/index.test.d.ts +2 -0
- package/dist/modules/Alert/index.test.d.ts.map +1 -0
- package/dist/modules/Alert/utils/alert.d.ts.map +1 -1
- package/dist/modules/Alert/utils/alert.test.d.ts +2 -0
- package/dist/modules/Alert/utils/alert.test.d.ts.map +1 -0
- package/dist/modules/CardsWithAside/components/organisms/CardsWithAside.d.ts +10 -0
- package/dist/modules/CardsWithAside/components/organisms/CardsWithAside.d.ts.map +1 -0
- package/dist/modules/CardsWithAside/components/organisms/CardsWithAside.test.d.ts +2 -0
- package/dist/modules/CardsWithAside/components/organisms/CardsWithAside.test.d.ts.map +1 -0
- package/dist/modules/CardsWithAside/index.d.ts +3 -0
- package/dist/modules/CardsWithAside/index.d.ts.map +1 -0
- package/dist/modules/CardsWithAside/stories/CardsWithAside.stories.d.ts +17 -0
- package/dist/modules/CardsWithAside/stories/CardsWithAside.stories.d.ts.map +1 -0
- package/dist/modules/CardsWithAside/types/index.d.ts +54 -0
- package/dist/modules/CardsWithAside/types/index.d.ts.map +1 -0
- package/dist/modules/DatePicker/hooks/index.d.ts +0 -1
- package/dist/modules/DatePicker/hooks/index.d.ts.map +1 -1
- package/dist/modules/Drawer/index.d.ts.map +1 -1
- package/dist/modules/Drawer/stories/Drawer.stories.d.ts +178 -3
- package/dist/modules/Drawer/stories/Drawer.stories.d.ts.map +1 -1
- package/dist/modules/InnerButton/index.d.ts.map +1 -1
- package/dist/modules/InnerButton/index.test.d.ts +2 -0
- package/dist/modules/InnerButton/index.test.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/components/atoms/LinearGraphicSegment.d.ts +33 -0
- package/dist/modules/LinearGraphic/components/atoms/LinearGraphicSegment.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/components/atoms/LinearGraphicSegment.test.d.ts +2 -0
- package/dist/modules/LinearGraphic/components/atoms/LinearGraphicSegment.test.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/components/atoms/index.d.ts +3 -0
- package/dist/modules/LinearGraphic/components/atoms/index.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/components/index.d.ts +3 -0
- package/dist/modules/LinearGraphic/components/index.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/components/molecules/LinearGraphicLegend.d.ts +28 -0
- package/dist/modules/LinearGraphic/components/molecules/LinearGraphicLegend.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/components/molecules/index.d.ts +3 -0
- package/dist/modules/LinearGraphic/components/molecules/index.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/components/organisms/LinearGraphic.d.ts +37 -0
- package/dist/modules/LinearGraphic/components/organisms/LinearGraphic.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/components/organisms/LinearGraphic.test.d.ts +2 -0
- package/dist/modules/LinearGraphic/components/organisms/LinearGraphic.test.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/components/organisms/index.d.ts +2 -0
- package/dist/modules/LinearGraphic/components/organisms/index.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/index.d.ts +47 -0
- package/dist/modules/LinearGraphic/index.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/stories/LinearGraphic.stories.d.ts +19 -0
- package/dist/modules/LinearGraphic/stories/LinearGraphic.stories.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/types/index.d.ts +46 -0
- package/dist/modules/LinearGraphic/types/index.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/utils/colors.d.ts +18 -0
- package/dist/modules/LinearGraphic/utils/colors.d.ts.map +1 -0
- package/dist/modules/LinearGraphic/utils/index.d.ts +2 -0
- package/dist/modules/LinearGraphic/utils/index.d.ts.map +1 -0
- package/dist/modules/ListWithDataInHover/components/index.d.ts +3 -0
- package/dist/modules/ListWithDataInHover/components/index.d.ts.map +1 -0
- package/dist/modules/ListWithDataInHover/components/molecules/ListWithDataInHoverItem.d.ts +31 -0
- package/dist/modules/ListWithDataInHover/components/molecules/ListWithDataInHoverItem.d.ts.map +1 -0
- package/dist/modules/ListWithDataInHover/components/molecules/index.d.ts +3 -0
- package/dist/modules/ListWithDataInHover/components/molecules/index.d.ts.map +1 -0
- package/dist/modules/ListWithDataInHover/components/organisms/ListWithDataInHover.d.ts +41 -0
- package/dist/modules/ListWithDataInHover/components/organisms/ListWithDataInHover.d.ts.map +1 -0
- package/dist/modules/ListWithDataInHover/components/organisms/ListWithDataInHover.test.d.ts +2 -0
- package/dist/modules/ListWithDataInHover/components/organisms/ListWithDataInHover.test.d.ts.map +1 -0
- package/dist/modules/ListWithDataInHover/components/organisms/index.d.ts +2 -0
- package/dist/modules/ListWithDataInHover/components/organisms/index.d.ts.map +1 -0
- package/dist/modules/ListWithDataInHover/index.d.ts +46 -0
- package/dist/modules/ListWithDataInHover/index.d.ts.map +1 -0
- package/dist/modules/ListWithDataInHover/stories/ListWithDataInHover.stories.d.ts +13 -0
- package/dist/modules/ListWithDataInHover/stories/ListWithDataInHover.stories.d.ts.map +1 -0
- package/dist/modules/ListWithDataInHover/types/index.d.ts +42 -0
- package/dist/modules/ListWithDataInHover/types/index.d.ts.map +1 -0
- package/dist/modules/ListWithDataInHover/utils/colors.d.ts +18 -0
- package/dist/modules/ListWithDataInHover/utils/colors.d.ts.map +1 -0
- package/dist/modules/Message/components/molecules/MessageItem.d.ts +2 -1
- package/dist/modules/Message/components/molecules/MessageItem.d.ts.map +1 -1
- package/dist/modules/Message/components/molecules/MessageItem.test.d.ts +2 -0
- package/dist/modules/Message/components/molecules/MessageItem.test.d.ts.map +1 -0
- package/dist/modules/Message/components/molecules/MessagePositions.d.ts +2 -1
- package/dist/modules/Message/components/molecules/MessagePositions.d.ts.map +1 -1
- package/dist/modules/Message/components/molecules/MessagePositions.test.d.ts +2 -0
- package/dist/modules/Message/components/molecules/MessagePositions.test.d.ts.map +1 -0
- package/dist/modules/Message/components/molecules/NotificationItem.d.ts +2 -1
- package/dist/modules/Message/components/molecules/NotificationItem.d.ts.map +1 -1
- package/dist/modules/Message/components/molecules/NotificationItem.test.d.ts +2 -0
- package/dist/modules/Message/components/molecules/NotificationItem.test.d.ts.map +1 -0
- package/dist/modules/Message/components/molecules/NotificationPositions.d.ts +2 -1
- package/dist/modules/Message/components/molecules/NotificationPositions.d.ts.map +1 -1
- package/dist/modules/Message/components/molecules/NotificationPositions.test.d.ts +2 -0
- package/dist/modules/Message/components/molecules/NotificationPositions.test.d.ts.map +1 -0
- package/dist/modules/Message/hooks/useMessage.d.ts.map +1 -1
- package/dist/modules/Message/hooks/useMessage.test.d.ts +2 -0
- package/dist/modules/Message/hooks/useMessage.test.d.ts.map +1 -0
- package/dist/modules/Message/hooks/useMessageStyles.d.ts.map +1 -1
- package/dist/modules/Message/hooks/useMessageStyles.test.d.ts +2 -0
- package/dist/modules/Message/hooks/useMessageStyles.test.d.ts.map +1 -0
- package/dist/modules/Message/hooks/useNotification.d.ts.map +1 -1
- package/dist/modules/Message/hooks/useNotification.test.d.ts +2 -0
- package/dist/modules/Message/hooks/useNotification.test.d.ts.map +1 -0
- package/dist/modules/Message/services/MessageService.d.ts.map +1 -1
- package/dist/modules/Message/services/NotificationService.d.ts +1 -0
- package/dist/modules/Message/services/NotificationService.d.ts.map +1 -1
- package/dist/modules/Text/stories/Text.stories.d.ts +1 -0
- package/dist/modules/Text/stories/Text.stories.d.ts.map +1 -1
- package/dist/modules/TextListWithData/components/atoms/TextListIndicator.d.ts +15 -0
- package/dist/modules/TextListWithData/components/atoms/TextListIndicator.d.ts.map +1 -0
- package/dist/modules/TextListWithData/components/atoms/index.d.ts +3 -0
- package/dist/modules/TextListWithData/components/atoms/index.d.ts.map +1 -0
- package/dist/modules/TextListWithData/components/index.d.ts +3 -0
- package/dist/modules/TextListWithData/components/index.d.ts.map +1 -0
- package/dist/modules/TextListWithData/components/organisms/TextListWithData.d.ts +29 -0
- package/dist/modules/TextListWithData/components/organisms/TextListWithData.d.ts.map +1 -0
- package/dist/modules/TextListWithData/components/organisms/TextListWithData.test.d.ts +2 -0
- package/dist/modules/TextListWithData/components/organisms/TextListWithData.test.d.ts.map +1 -0
- package/dist/modules/TextListWithData/components/organisms/index.d.ts +2 -0
- package/dist/modules/TextListWithData/components/organisms/index.d.ts.map +1 -0
- package/dist/modules/TextListWithData/index.d.ts +44 -0
- package/dist/modules/TextListWithData/index.d.ts.map +1 -0
- package/dist/modules/TextListWithData/stories/TextListWithData.stories.d.ts +13 -0
- package/dist/modules/TextListWithData/stories/TextListWithData.stories.d.ts.map +1 -0
- package/dist/modules/TextListWithData/types/index.d.ts +27 -0
- package/dist/modules/TextListWithData/types/index.d.ts.map +1 -0
- package/dist/modules/TextListWithData/utils/colors.d.ts +10 -0
- package/dist/modules/TextListWithData/utils/colors.d.ts.map +1 -0
- package/dist/modules/Tooltip/components/atoms/InlineTooltip.d.ts +28 -0
- package/dist/modules/Tooltip/components/atoms/InlineTooltip.d.ts.map +1 -0
- package/dist/modules/Tooltip/components/organisms/Tooltip.d.ts +2 -1
- package/dist/modules/Tooltip/components/organisms/Tooltip.d.ts.map +1 -1
- package/dist/modules/Tooltip/index.d.ts +2 -0
- package/dist/modules/Tooltip/index.d.ts.map +1 -1
- package/dist/modules/index.d.ts +4 -0
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/shared/hooks/index.d.ts +1 -0
- package/dist/shared/hooks/index.d.ts.map +1 -1
- package/dist/shared/hooks/useGetElementOnClick.d.ts +16 -0
- package/dist/shared/hooks/useGetElementOnClick.d.ts.map +1 -0
- package/dist/shared/types/drawer.d.ts +17 -0
- package/dist/shared/types/drawer.d.ts.map +1 -1
- package/dist/shared/types/tooltip.d.ts +1 -0
- package/dist/shared/types/tooltip.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,61 @@ Todos los cambios notables de este proyecto serán documentados en este archivo.
|
|
|
5
5
|
El formato está basado en [Keep a Changelog](https://keepachangelog.com/es-ES/1.0.0/),
|
|
6
6
|
y este proyecto adhiere a [Semantic Versioning](https://semver.org/lang/es/).
|
|
7
7
|
|
|
8
|
+
## [1.2.33] - 2026-02-04
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **LinearGraphic - Nuevo Componente**: Componente de gráfica lineal para visualización de datos proporcionales
|
|
12
|
+
- Segmentos visuales con colores semánticos configurables: `brand`, `success`, `warning`, `danger`, `info`, `neutral`, `yellow`
|
|
13
|
+
- Sistema de tooltips integrado con posicionamiento automático
|
|
14
|
+
- Prop `showLegend` para mostrar leyenda con indicadores de color
|
|
15
|
+
- Prop `showLegendPercent` para controlar la visualización del porcentaje en la leyenda (por defecto: `false`)
|
|
16
|
+
- Prop `legendGap` para ajustar el espaciado de la leyenda
|
|
17
|
+
- Animaciones de transición configurables con `transitionDuration`
|
|
18
|
+
- Soporte para estados `disabled`
|
|
19
|
+
- Eventos `onSegmentHover` y `onSegmentLeave` para interactividad
|
|
20
|
+
- Stories completas en Storybook incluyendo `AllColors` con los 7 colores disponibles
|
|
21
|
+
- **ListWithDataInHover - Nuevo Componente**: Componente de lista con datos en hover
|
|
22
|
+
- Indicadores de color con colores semánticos: `brand`, `success`, `warning`, `danger`, `info`, `neutral`, `yellow`
|
|
23
|
+
- Tooltips integrados con posicionamiento configurable (`top`, `bottom`, `left`, `right`, `over`)
|
|
24
|
+
- Prop `showPercent` para mostrar/ocultar el porcentaje junto al nombre (por defecto: `true`)
|
|
25
|
+
- Prop `tooltipPosition` para controlar la posición del tooltip (por defecto: `over`)
|
|
26
|
+
- Integración con el sistema de leyenda de `LinearGraphic`
|
|
27
|
+
- **TextListWithData - Nuevo Componente**: Componente de lista de texto con datos
|
|
28
|
+
- Colores semánticos unificados con `LinearGraphic` y `ListWithDataInHover`
|
|
29
|
+
- Indicadores de color configurables con `indicatorSize` y `showIndicator`
|
|
30
|
+
- **InlineTooltip - Nuevo Componente**: Tooltip inline reutilizable para uso dentro de otros componentes
|
|
31
|
+
- Posiciones disponibles: `top`, `bottom`, `left`, `right`, `over`
|
|
32
|
+
- Estilo visual consistente con el componente `Tooltip` existente
|
|
33
|
+
- Z-index alto (99999) para garantizar visibilidad sobre otros elementos
|
|
34
|
+
- Flecha con diseño de cuadrado rotado como el tooltip original
|
|
35
|
+
- **Drawer - Soporte para Tabs**: El componente Drawer ahora soporta tabs internos
|
|
36
|
+
- Props `tabs`, `onChangeTab`, `defaultTab` para configuración de tabs
|
|
37
|
+
- Ancho personalizable con prop `width` (sm, md, lg, xl, 2xl, full)
|
|
38
|
+
- **CardsWithAside - Nuevo Componente**: Componente de tarjetas con panel lateral
|
|
39
|
+
- Funcionalidad de tabs integrada para navegación entre secciones
|
|
40
|
+
- Layout responsivo con aside configurable
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
- **Message & Notification**: Mejora en rendimiento y validación de componentes
|
|
44
|
+
- Optimización de re-renders con memoización mejorada
|
|
45
|
+
- Validación de props más robusta
|
|
46
|
+
- **InnerButton**: Mejora en lógica de validación y cobertura de pruebas unitarias
|
|
47
|
+
- **Alert**: Mejora en accesibilidad y cobertura de pruebas unitarias
|
|
48
|
+
- **Accordion**: Documentación completa y pruebas unitarias exhaustivas
|
|
49
|
+
- **Text - Tamaño por defecto**: El componente Body ahora usa tamaño `xs` por defecto en lugar de `md`
|
|
50
|
+
- Mejora en la consistencia visual para textos de cuerpo
|
|
51
|
+
- **Text - Historia de colores**: Nueva historia `AllSystemColors` que muestra los 42 colores del sistema
|
|
52
|
+
- Colores base: primary, secondary, tertiary, disabled, on-color, on-canvas-inverse
|
|
53
|
+
- Colores semánticos: brand, success, warning, danger, info con variantes hover/pressed/selected
|
|
54
|
+
- Colores de link: link, link-hover, link-pressed, link-visited
|
|
55
|
+
- Paleta de colores: all-colors-red, all-colors-orange, all-colors-yellow, etc.
|
|
56
|
+
|
|
57
|
+
### Fixed
|
|
58
|
+
- **Tooltip - Z-index**: Actualización de clase z-index para mejor posicionamiento sobre modales
|
|
59
|
+
- **Tailwind - Safelist de colores**: Agregadas 42 clases de colores de texto al safelist de Tailwind
|
|
60
|
+
- Resuelve problema de clases dinámicas no generadas con `ui-text-${color}`
|
|
61
|
+
- Incluye todos los colores del sistema de diseño para el componente Text
|
|
62
|
+
|
|
8
63
|
## [1.2.32] - 2026-02-03
|
|
9
64
|
|
|
10
65
|
### Changed
|