@imj_media/ui 1.2.31 → 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.
Files changed (173) hide show
  1. package/CHANGELOG.md +125 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.esm.js +7556 -6684
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.js +12 -12
  8. package/dist/index.js.map +1 -1
  9. package/dist/modules/Accordion/components/molecules/AccordionContent.d.ts +3 -1
  10. package/dist/modules/Accordion/components/molecules/AccordionContent.d.ts.map +1 -1
  11. package/dist/modules/Accordion/components/molecules/AccordionContent.test.d.ts +2 -0
  12. package/dist/modules/Accordion/components/molecules/AccordionContent.test.d.ts.map +1 -0
  13. package/dist/modules/Accordion/components/molecules/AccordionHeader.d.ts +3 -1
  14. package/dist/modules/Accordion/components/molecules/AccordionHeader.d.ts.map +1 -1
  15. package/dist/modules/Accordion/components/molecules/AccordionHeader.test.d.ts +2 -0
  16. package/dist/modules/Accordion/components/molecules/AccordionHeader.test.d.ts.map +1 -0
  17. package/dist/modules/Accordion/components/organisms/Accordion.test.d.ts +2 -0
  18. package/dist/modules/Accordion/components/organisms/Accordion.test.d.ts.map +1 -0
  19. package/dist/modules/Accordion/components/organisms/AccordionContainer.d.ts.map +1 -1
  20. package/dist/modules/Accordion/components/organisms/AccordionContainer.test.d.ts +2 -0
  21. package/dist/modules/Accordion/components/organisms/AccordionContainer.test.d.ts.map +1 -0
  22. package/dist/modules/Alert/components/atoms/AlertFooter.d.ts +2 -1
  23. package/dist/modules/Alert/components/atoms/AlertFooter.d.ts.map +1 -1
  24. package/dist/modules/Alert/components/atoms/AlertFooter.test.d.ts +2 -0
  25. package/dist/modules/Alert/components/atoms/AlertFooter.test.d.ts.map +1 -0
  26. package/dist/modules/Alert/components/atoms/AlertHeader.d.ts +2 -1
  27. package/dist/modules/Alert/components/atoms/AlertHeader.d.ts.map +1 -1
  28. package/dist/modules/Alert/components/atoms/AlertHeader.test.d.ts +2 -0
  29. package/dist/modules/Alert/components/atoms/AlertHeader.test.d.ts.map +1 -0
  30. package/dist/modules/Alert/hooks/useAlert.d.ts.map +1 -1
  31. package/dist/modules/Alert/hooks/useAlert.test.d.ts +2 -0
  32. package/dist/modules/Alert/hooks/useAlert.test.d.ts.map +1 -0
  33. package/dist/modules/Alert/hooks/useAlertStyles.test.d.ts +2 -0
  34. package/dist/modules/Alert/hooks/useAlertStyles.test.d.ts.map +1 -0
  35. package/dist/modules/Alert/index.d.ts.map +1 -1
  36. package/dist/modules/Alert/index.test.d.ts +2 -0
  37. package/dist/modules/Alert/index.test.d.ts.map +1 -0
  38. package/dist/modules/Alert/utils/alert.d.ts.map +1 -1
  39. package/dist/modules/Alert/utils/alert.test.d.ts +2 -0
  40. package/dist/modules/Alert/utils/alert.test.d.ts.map +1 -0
  41. package/dist/modules/CardsWithAside/components/organisms/CardsWithAside.d.ts +10 -0
  42. package/dist/modules/CardsWithAside/components/organisms/CardsWithAside.d.ts.map +1 -0
  43. package/dist/modules/CardsWithAside/components/organisms/CardsWithAside.test.d.ts +2 -0
  44. package/dist/modules/CardsWithAside/components/organisms/CardsWithAside.test.d.ts.map +1 -0
  45. package/dist/modules/CardsWithAside/index.d.ts +3 -0
  46. package/dist/modules/CardsWithAside/index.d.ts.map +1 -0
  47. package/dist/modules/CardsWithAside/stories/CardsWithAside.stories.d.ts +17 -0
  48. package/dist/modules/CardsWithAside/stories/CardsWithAside.stories.d.ts.map +1 -0
  49. package/dist/modules/CardsWithAside/types/index.d.ts +54 -0
  50. package/dist/modules/CardsWithAside/types/index.d.ts.map +1 -0
  51. package/dist/modules/DatePicker/hooks/index.d.ts +0 -1
  52. package/dist/modules/DatePicker/hooks/index.d.ts.map +1 -1
  53. package/dist/modules/Drawer/index.d.ts.map +1 -1
  54. package/dist/modules/Drawer/stories/Drawer.stories.d.ts +178 -3
  55. package/dist/modules/Drawer/stories/Drawer.stories.d.ts.map +1 -1
  56. package/dist/modules/InnerButton/index.d.ts.map +1 -1
  57. package/dist/modules/InnerButton/index.test.d.ts +2 -0
  58. package/dist/modules/InnerButton/index.test.d.ts.map +1 -0
  59. package/dist/modules/LinearGraphic/components/atoms/LinearGraphicSegment.d.ts +33 -0
  60. package/dist/modules/LinearGraphic/components/atoms/LinearGraphicSegment.d.ts.map +1 -0
  61. package/dist/modules/LinearGraphic/components/atoms/LinearGraphicSegment.test.d.ts +2 -0
  62. package/dist/modules/LinearGraphic/components/atoms/LinearGraphicSegment.test.d.ts.map +1 -0
  63. package/dist/modules/LinearGraphic/components/atoms/index.d.ts +3 -0
  64. package/dist/modules/LinearGraphic/components/atoms/index.d.ts.map +1 -0
  65. package/dist/modules/LinearGraphic/components/index.d.ts +3 -0
  66. package/dist/modules/LinearGraphic/components/index.d.ts.map +1 -0
  67. package/dist/modules/LinearGraphic/components/molecules/LinearGraphicLegend.d.ts +28 -0
  68. package/dist/modules/LinearGraphic/components/molecules/LinearGraphicLegend.d.ts.map +1 -0
  69. package/dist/modules/LinearGraphic/components/molecules/index.d.ts +3 -0
  70. package/dist/modules/LinearGraphic/components/molecules/index.d.ts.map +1 -0
  71. package/dist/modules/LinearGraphic/components/organisms/LinearGraphic.d.ts +37 -0
  72. package/dist/modules/LinearGraphic/components/organisms/LinearGraphic.d.ts.map +1 -0
  73. package/dist/modules/LinearGraphic/components/organisms/LinearGraphic.test.d.ts +2 -0
  74. package/dist/modules/LinearGraphic/components/organisms/LinearGraphic.test.d.ts.map +1 -0
  75. package/dist/modules/LinearGraphic/components/organisms/index.d.ts +2 -0
  76. package/dist/modules/LinearGraphic/components/organisms/index.d.ts.map +1 -0
  77. package/dist/modules/LinearGraphic/index.d.ts +47 -0
  78. package/dist/modules/LinearGraphic/index.d.ts.map +1 -0
  79. package/dist/modules/LinearGraphic/stories/LinearGraphic.stories.d.ts +19 -0
  80. package/dist/modules/LinearGraphic/stories/LinearGraphic.stories.d.ts.map +1 -0
  81. package/dist/modules/LinearGraphic/types/index.d.ts +46 -0
  82. package/dist/modules/LinearGraphic/types/index.d.ts.map +1 -0
  83. package/dist/modules/LinearGraphic/utils/colors.d.ts +18 -0
  84. package/dist/modules/LinearGraphic/utils/colors.d.ts.map +1 -0
  85. package/dist/modules/LinearGraphic/utils/index.d.ts +2 -0
  86. package/dist/modules/LinearGraphic/utils/index.d.ts.map +1 -0
  87. package/dist/modules/ListWithDataInHover/components/index.d.ts +3 -0
  88. package/dist/modules/ListWithDataInHover/components/index.d.ts.map +1 -0
  89. package/dist/modules/ListWithDataInHover/components/molecules/ListWithDataInHoverItem.d.ts +31 -0
  90. package/dist/modules/ListWithDataInHover/components/molecules/ListWithDataInHoverItem.d.ts.map +1 -0
  91. package/dist/modules/ListWithDataInHover/components/molecules/index.d.ts +3 -0
  92. package/dist/modules/ListWithDataInHover/components/molecules/index.d.ts.map +1 -0
  93. package/dist/modules/ListWithDataInHover/components/organisms/ListWithDataInHover.d.ts +41 -0
  94. package/dist/modules/ListWithDataInHover/components/organisms/ListWithDataInHover.d.ts.map +1 -0
  95. package/dist/modules/ListWithDataInHover/components/organisms/ListWithDataInHover.test.d.ts +2 -0
  96. package/dist/modules/ListWithDataInHover/components/organisms/ListWithDataInHover.test.d.ts.map +1 -0
  97. package/dist/modules/ListWithDataInHover/components/organisms/index.d.ts +2 -0
  98. package/dist/modules/ListWithDataInHover/components/organisms/index.d.ts.map +1 -0
  99. package/dist/modules/ListWithDataInHover/index.d.ts +46 -0
  100. package/dist/modules/ListWithDataInHover/index.d.ts.map +1 -0
  101. package/dist/modules/ListWithDataInHover/stories/ListWithDataInHover.stories.d.ts +13 -0
  102. package/dist/modules/ListWithDataInHover/stories/ListWithDataInHover.stories.d.ts.map +1 -0
  103. package/dist/modules/ListWithDataInHover/types/index.d.ts +42 -0
  104. package/dist/modules/ListWithDataInHover/types/index.d.ts.map +1 -0
  105. package/dist/modules/ListWithDataInHover/utils/colors.d.ts +18 -0
  106. package/dist/modules/ListWithDataInHover/utils/colors.d.ts.map +1 -0
  107. package/dist/modules/Message/components/molecules/MessageItem.d.ts +2 -1
  108. package/dist/modules/Message/components/molecules/MessageItem.d.ts.map +1 -1
  109. package/dist/modules/Message/components/molecules/MessageItem.test.d.ts +2 -0
  110. package/dist/modules/Message/components/molecules/MessageItem.test.d.ts.map +1 -0
  111. package/dist/modules/Message/components/molecules/MessagePositions.d.ts +2 -1
  112. package/dist/modules/Message/components/molecules/MessagePositions.d.ts.map +1 -1
  113. package/dist/modules/Message/components/molecules/MessagePositions.test.d.ts +2 -0
  114. package/dist/modules/Message/components/molecules/MessagePositions.test.d.ts.map +1 -0
  115. package/dist/modules/Message/components/molecules/NotificationItem.d.ts +2 -1
  116. package/dist/modules/Message/components/molecules/NotificationItem.d.ts.map +1 -1
  117. package/dist/modules/Message/components/molecules/NotificationItem.test.d.ts +2 -0
  118. package/dist/modules/Message/components/molecules/NotificationItem.test.d.ts.map +1 -0
  119. package/dist/modules/Message/components/molecules/NotificationPositions.d.ts +2 -1
  120. package/dist/modules/Message/components/molecules/NotificationPositions.d.ts.map +1 -1
  121. package/dist/modules/Message/components/molecules/NotificationPositions.test.d.ts +2 -0
  122. package/dist/modules/Message/components/molecules/NotificationPositions.test.d.ts.map +1 -0
  123. package/dist/modules/Message/hooks/useMessage.d.ts.map +1 -1
  124. package/dist/modules/Message/hooks/useMessage.test.d.ts +2 -0
  125. package/dist/modules/Message/hooks/useMessage.test.d.ts.map +1 -0
  126. package/dist/modules/Message/hooks/useMessageStyles.d.ts.map +1 -1
  127. package/dist/modules/Message/hooks/useMessageStyles.test.d.ts +2 -0
  128. package/dist/modules/Message/hooks/useMessageStyles.test.d.ts.map +1 -0
  129. package/dist/modules/Message/hooks/useNotification.d.ts.map +1 -1
  130. package/dist/modules/Message/hooks/useNotification.test.d.ts +2 -0
  131. package/dist/modules/Message/hooks/useNotification.test.d.ts.map +1 -0
  132. package/dist/modules/Message/services/MessageService.d.ts.map +1 -1
  133. package/dist/modules/Message/services/NotificationService.d.ts +1 -0
  134. package/dist/modules/Message/services/NotificationService.d.ts.map +1 -1
  135. package/dist/modules/Text/stories/Text.stories.d.ts +1 -0
  136. package/dist/modules/Text/stories/Text.stories.d.ts.map +1 -1
  137. package/dist/modules/TextListWithData/components/atoms/TextListIndicator.d.ts +15 -0
  138. package/dist/modules/TextListWithData/components/atoms/TextListIndicator.d.ts.map +1 -0
  139. package/dist/modules/TextListWithData/components/atoms/index.d.ts +3 -0
  140. package/dist/modules/TextListWithData/components/atoms/index.d.ts.map +1 -0
  141. package/dist/modules/TextListWithData/components/index.d.ts +3 -0
  142. package/dist/modules/TextListWithData/components/index.d.ts.map +1 -0
  143. package/dist/modules/TextListWithData/components/organisms/TextListWithData.d.ts +29 -0
  144. package/dist/modules/TextListWithData/components/organisms/TextListWithData.d.ts.map +1 -0
  145. package/dist/modules/TextListWithData/components/organisms/TextListWithData.test.d.ts +2 -0
  146. package/dist/modules/TextListWithData/components/organisms/TextListWithData.test.d.ts.map +1 -0
  147. package/dist/modules/TextListWithData/components/organisms/index.d.ts +2 -0
  148. package/dist/modules/TextListWithData/components/organisms/index.d.ts.map +1 -0
  149. package/dist/modules/TextListWithData/index.d.ts +44 -0
  150. package/dist/modules/TextListWithData/index.d.ts.map +1 -0
  151. package/dist/modules/TextListWithData/stories/TextListWithData.stories.d.ts +13 -0
  152. package/dist/modules/TextListWithData/stories/TextListWithData.stories.d.ts.map +1 -0
  153. package/dist/modules/TextListWithData/types/index.d.ts +27 -0
  154. package/dist/modules/TextListWithData/types/index.d.ts.map +1 -0
  155. package/dist/modules/TextListWithData/utils/colors.d.ts +10 -0
  156. package/dist/modules/TextListWithData/utils/colors.d.ts.map +1 -0
  157. package/dist/modules/Tooltip/components/atoms/InlineTooltip.d.ts +28 -0
  158. package/dist/modules/Tooltip/components/atoms/InlineTooltip.d.ts.map +1 -0
  159. package/dist/modules/Tooltip/components/organisms/Tooltip.d.ts +2 -1
  160. package/dist/modules/Tooltip/components/organisms/Tooltip.d.ts.map +1 -1
  161. package/dist/modules/Tooltip/index.d.ts +2 -0
  162. package/dist/modules/Tooltip/index.d.ts.map +1 -1
  163. package/dist/modules/index.d.ts +4 -0
  164. package/dist/modules/index.d.ts.map +1 -1
  165. package/dist/shared/hooks/index.d.ts +1 -0
  166. package/dist/shared/hooks/index.d.ts.map +1 -1
  167. package/dist/shared/hooks/useGetElementOnClick.d.ts +16 -0
  168. package/dist/shared/hooks/useGetElementOnClick.d.ts.map +1 -0
  169. package/dist/shared/types/drawer.d.ts +17 -0
  170. package/dist/shared/types/drawer.d.ts.map +1 -1
  171. package/dist/shared/types/tooltip.d.ts +1 -0
  172. package/dist/shared/types/tooltip.d.ts.map +1 -1
  173. package/package.json +1 -1
@@ -0,0 +1,28 @@
1
+ import { default as React } from 'react';
2
+ import { LinearGraphicData, LinearGraphicColor } from '../../types';
3
+ export interface LinearGraphicLegendItemProps {
4
+ /** Datos del item */
5
+ data: LinearGraphicData;
6
+ /** Color semántico */
7
+ color: LinearGraphicColor;
8
+ /** Tamaño del indicador en píxeles */
9
+ indicatorSize?: number;
10
+ }
11
+ export interface LinearGraphicLegendProps {
12
+ /** Datos de todos los segmentos */
13
+ data: LinearGraphicData[];
14
+ /** Colores de todos los segmentos */
15
+ colors: LinearGraphicColor[];
16
+ /** Espacio entre items en píxeles */
17
+ gap?: number;
18
+ /** Tamaño del indicador en píxeles */
19
+ indicatorSize?: number;
20
+ /** Clase CSS adicional */
21
+ className?: string;
22
+ }
23
+ /**
24
+ * Leyenda del LinearGraphic
25
+ * Muestra indicadores de color con nombres y tooltip con porcentaje
26
+ */
27
+ export declare const LinearGraphicLegend: React.MemoExoticComponent<({ data, colors, gap, indicatorSize, className, }: LinearGraphicLegendProps) => import("react/jsx-runtime").JSX.Element | null>;
28
+ //# sourceMappingURL=LinearGraphicLegend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinearGraphicLegend.d.ts","sourceRoot":"","sources":["../../../../../src/modules/LinearGraphic/components/molecules/LinearGraphicLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAA;AAG7C,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAGnE,MAAM,WAAW,4BAA4B;IAC3C,qBAAqB;IACrB,IAAI,EAAE,iBAAiB,CAAA;IACvB,sBAAsB;IACtB,KAAK,EAAE,kBAAkB,CAAA;IACzB,sCAAsC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AA4CD,MAAM,WAAW,wBAAwB;IACvC,mCAAmC;IACnC,IAAI,EAAE,iBAAiB,EAAE,CAAA;IACzB,qCAAqC;IACrC,MAAM,EAAE,kBAAkB,EAAE,CAAA;IAC5B,qCAAqC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,sCAAsC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,+EAM7B,wBAAwB,oDAuBzB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { LinearGraphicLegend } from './LinearGraphicLegend';
2
+ export type { LinearGraphicLegendProps, LinearGraphicLegendItemProps } from './LinearGraphicLegend';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/LinearGraphic/components/molecules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,YAAY,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAA"}
@@ -0,0 +1,37 @@
1
+ import { default as React } from 'react';
2
+ import { LinearGraphicProps } from '../../types';
3
+ /**
4
+ * LinearGraphic - Gráfica lineal de barras de progreso múltiples
5
+ *
6
+ * Muestra una barra de progreso con múltiples segmentos, cada uno con su propio
7
+ * color y porcentaje. Soporta tooltips en hover para mostrar información detallada.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <LinearGraphic
12
+ * data={[
13
+ * { name: 'Completado', percent: 60 },
14
+ * { name: 'En progreso', percent: 30 },
15
+ * { name: 'Pendiente', percent: 10 }
16
+ * ]}
17
+ * colors={['success', 'warning', 'neutral']}
18
+ * />
19
+ * ```
20
+ *
21
+ * @example
22
+ * ```tsx
23
+ * // Con colores semánticos del sistema
24
+ * <LinearGraphic
25
+ * data={[
26
+ * { name: 'Éxito', percent: 70 },
27
+ * { name: 'Advertencia', percent: 20 },
28
+ * { name: 'Error', percent: 10 }
29
+ * ]}
30
+ * colors={['success', 'warning', 'danger']}
31
+ * height={12}
32
+ * showTooltips={true}
33
+ * />
34
+ * ```
35
+ */
36
+ export declare const LinearGraphic: React.MemoExoticComponent<({ data, colors, className, height, showTooltips, showLegend, showLegendPercent, legendGap, transitionDuration, disabled, onSegmentHover, onSegmentLeave, }: LinearGraphicProps) => import("react/jsx-runtime").JSX.Element>;
37
+ //# sourceMappingURL=LinearGraphic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinearGraphic.d.ts","sourceRoot":"","sources":["../../../../../src/modules/LinearGraphic/components/organisms/LinearGraphic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAE5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAMhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,aAAa,yLAavB,kBAAkB,6CA6HnB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=LinearGraphic.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinearGraphic.test.d.ts","sourceRoot":"","sources":["../../../../../src/modules/LinearGraphic/components/organisms/LinearGraphic.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { LinearGraphic } from './LinearGraphic';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/LinearGraphic/components/organisms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA"}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * ============================================
3
+ * LINEAR GRAPHIC MODULE - ATOMIC DESIGN
4
+ * ============================================
5
+ *
6
+ * Componente de gráfica lineal modular que sigue principios de:
7
+ * - Screaming Architecture: La estructura de carpetas refleja el dominio
8
+ * - Atomic Design: Atoms → Molecules → Organisms
9
+ * - DRY: Reutilización de componentes y tipos
10
+ *
11
+ * ## Estructura
12
+ *
13
+ * ```
14
+ * LinearGraphic/
15
+ * ├── components/
16
+ * │ ├── atoms/ # Componentes básicos
17
+ * │ │ └── LinearGraphicSegment
18
+ * │ └── organisms/ # Componente completo
19
+ * │ └── LinearGraphic
20
+ * ├── types/
21
+ * │ └── index.ts # Definición de tipos
22
+ * ├── stories/
23
+ * │ └── linearGraphic.stories.tsx
24
+ * └── index.ts # Exports públicos
25
+ * ```
26
+ *
27
+ * ## Uso Básico
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * import { LinearGraphic } from '@imjmedia/ui'
32
+ *
33
+ * <LinearGraphic
34
+ * data={[
35
+ * { name: 'Completado', percent: 60 },
36
+ * { name: 'En progreso', percent: 30 },
37
+ * { name: 'Pendiente', percent: 10 }
38
+ * ]}
39
+ * colors={['#039B59', '#DC8921', '#D9D9D9']}
40
+ * />
41
+ * ```
42
+ */
43
+ export { LinearGraphic } from './components';
44
+ export { LinearGraphicSegment } from './components';
45
+ export type { LinearGraphicProps, LinearGraphicData, } from './types';
46
+ export type { LinearGraphicSegmentProps, } from './components';
47
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/LinearGraphic/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAG5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAGnD,YAAY,EACV,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,SAAS,CAAA;AAEhB,YAAY,EACV,yBAAyB,GAC1B,MAAM,cAAc,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { LinearGraphic } from '../index';
3
+ declare const meta: Meta<typeof LinearGraphic>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof LinearGraphic>;
6
+ export declare const Default: Story;
7
+ export declare const WithSemanticColors: Story;
8
+ export declare const MultipleSegments: Story;
9
+ export declare const TallHeight: Story;
10
+ export declare const WithoutTooltips: Story;
11
+ export declare const Disabled: Story;
12
+ export declare const FastTransition: Story;
13
+ export declare const SingleSegment: Story;
14
+ export declare const WithCallbacks: Story;
15
+ /**
16
+ * Todos los colores semánticos disponibles
17
+ */
18
+ export declare const AllColors: Story;
19
+ //# sourceMappingURL=LinearGraphic.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinearGraphic.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/LinearGraphic/stories/LinearGraphic.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAkDpC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAA;AAE3C,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAiBhC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAgB9B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAexB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAe7B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAe5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAY3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAuB3B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAuBvB,CAAA"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Tipos para el módulo LinearGraphic
3
+ */
4
+ /**
5
+ * Colores semánticos disponibles para la gráfica lineal
6
+ */
7
+ export type LinearGraphicColor = 'brand' | 'success' | 'warning' | 'danger' | 'info' | 'neutral' | 'yellow';
8
+ /**
9
+ * Datos de un segmento de la gráfica lineal
10
+ */
11
+ export interface LinearGraphicData {
12
+ /** Nombre del segmento */
13
+ name: string;
14
+ /** Porcentaje del segmento (0-100) */
15
+ percent: number;
16
+ }
17
+ /**
18
+ * Props del componente LinearGraphic
19
+ */
20
+ export interface LinearGraphicProps {
21
+ /** Array de datos para cada segmento */
22
+ data: LinearGraphicData[];
23
+ /** Array de colores semánticos para cada segmento */
24
+ colors: LinearGraphicColor[];
25
+ /** Clase CSS adicional */
26
+ className?: string;
27
+ /** Altura de la barra en píxeles (por defecto: 8px) */
28
+ height?: number;
29
+ /** Si mostrar tooltips en hover (por defecto: true) */
30
+ showTooltips?: boolean;
31
+ /** Si mostrar la leyenda debajo de la gráfica (por defecto: false) */
32
+ showLegend?: boolean;
33
+ /** Si mostrar el porcentaje en la leyenda (por defecto: false) */
34
+ showLegendPercent?: boolean;
35
+ /** Espacio entre leyendas en píxeles (por defecto: 8) */
36
+ legendGap?: number;
37
+ /** Duración de la transición en ms (por defecto: 500) */
38
+ transitionDuration?: number;
39
+ /** Si deshabilitar la gráfica */
40
+ disabled?: boolean;
41
+ /** Callback cuando se hace hover sobre un segmento */
42
+ onSegmentHover?: (data: LinearGraphicData, index: number) => void;
43
+ /** Callback cuando se sale del hover de un segmento */
44
+ onSegmentLeave?: (data: LinearGraphicData, index: number) => void;
45
+ }
46
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/LinearGraphic/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,OAAO,GACP,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,SAAS,GACT,QAAQ,CAAA;AAEZ;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,sCAAsC;IACtC,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,wCAAwC;IACxC,IAAI,EAAE,iBAAiB,EAAE,CAAA;IACzB,qDAAqD;IACrD,MAAM,EAAE,kBAAkB,EAAE,CAAA;IAC5B,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,uDAAuD;IACvD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,sEAAsE;IACtE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yDAAyD;IACzD,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sDAAsD;IACtD,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjE,uDAAuD;IACvD,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClE"}
@@ -0,0 +1,18 @@
1
+ import { LinearGraphicColor } from '../types';
2
+ /**
3
+ * Mapeo de colores semánticos a variables CSS del sistema de diseño
4
+ */
5
+ export declare const SEMANTIC_COLOR_MAP: Record<LinearGraphicColor, string>;
6
+ /**
7
+ * Colores por defecto si no se proporcionan
8
+ */
9
+ export declare const DEFAULT_COLORS: LinearGraphicColor[];
10
+ /**
11
+ * Obtiene el valor CSS del color semántico
12
+ */
13
+ export declare const getColorValue: (color: LinearGraphicColor) => string;
14
+ /**
15
+ * Valida y normaliza un color semántico
16
+ */
17
+ export declare const normalizeColor: (color: unknown) => LinearGraphicColor;
18
+ //# sourceMappingURL=colors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/modules/LinearGraphic/utils/colors.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAE7C;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAQxD,CAAA;AAEV;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,kBAAkB,EAM9C,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,KAAG,MAEzD,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,KAAG,kBAK/C,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './colors';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/LinearGraphic/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './organisms';
2
+ export * from './molecules';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/ListWithDataInHover/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,31 @@
1
+ import { default as React } from 'react';
2
+ import { InlineTooltipPosition } from '../../../Tooltip';
3
+ import { ListWithDataInHoverItem as ListItem, ListWithDataInHoverColor } from '../../types';
4
+ export interface ListWithDataInHoverItemProps {
5
+ /** Datos del elemento */
6
+ item: ListItem;
7
+ /** Índice del elemento */
8
+ index: number;
9
+ /** Color semántico del indicador */
10
+ color: ListWithDataInHoverColor;
11
+ /** Tamaño del indicador */
12
+ indicatorSize: number;
13
+ /** Gap entre elementos */
14
+ gap: number;
15
+ /** Si mostrar tooltip */
16
+ showTooltip: boolean;
17
+ /** Si mostrar el porcentaje junto al nombre */
18
+ showPercent: boolean;
19
+ /** Posición del tooltip */
20
+ tooltipPosition: InlineTooltipPosition;
21
+ /** Callback cuando se hace hover */
22
+ onHover?: (item: ListItem, index: number) => void;
23
+ /** Callback cuando se sale del hover */
24
+ onLeave?: (item: ListItem, index: number) => void;
25
+ }
26
+ /**
27
+ * Elemento individual de la lista con datos en hover
28
+ * Molécula que combina indicador de color, texto y tooltip
29
+ */
30
+ export declare const ListWithDataInHoverItem: React.MemoExoticComponent<({ item, index, color, indicatorSize, gap, showTooltip, showPercent, tooltipPosition, onHover, onLeave, }: ListWithDataInHoverItemProps) => import("react/jsx-runtime").JSX.Element>;
31
+ //# sourceMappingURL=ListWithDataInHoverItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListWithDataInHoverItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/ListWithDataInHover/components/molecules/ListWithDataInHoverItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAiB,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AACxE,OAAO,EAAE,uBAAuB,IAAI,QAAQ,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AAG3F,MAAM,WAAW,4BAA4B;IAC3C,yBAAyB;IACzB,IAAI,EAAE,QAAQ,CAAA;IACd,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,oCAAoC;IACpC,KAAK,EAAE,wBAAwB,CAAA;IAC/B,2BAA2B;IAC3B,aAAa,EAAE,MAAM,CAAA;IACrB,0BAA0B;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,yBAAyB;IACzB,WAAW,EAAE,OAAO,CAAA;IACpB,+CAA+C;IAC/C,WAAW,EAAE,OAAO,CAAA;IACpB,2BAA2B;IAC3B,eAAe,EAAE,qBAAqB,CAAA;IACtC,oCAAoC;IACpC,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,wCAAwC;IACxC,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClD;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,uIAWjC,4BAA4B,6CAuD7B,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { ListWithDataInHoverItem } from './ListWithDataInHoverItem';
2
+ export type { ListWithDataInHoverItemProps } from './ListWithDataInHoverItem';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/ListWithDataInHover/components/molecules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,YAAY,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAA"}
@@ -0,0 +1,41 @@
1
+ import { default as React } from 'react';
2
+ import { ListWithDataInHoverProps } from '../../types';
3
+ /**
4
+ * ListWithDataInHover - Lista de elementos con tooltips que muestran datos
5
+ *
6
+ * Muestra una lista de elementos, cada uno con un indicador de color y un nombre.
7
+ * Al hacer hover sobre un elemento, se muestra un tooltip con el porcentaje asociado.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <ListWithDataInHover
12
+ * data={[
13
+ * { name: 'Completado', percent: 60 },
14
+ * { name: 'En progreso', percent: 30 },
15
+ * { name: 'Pendiente', percent: 10 }
16
+ * ]}
17
+ * colors={['#039B59', '#DC8921', '#D9D9D9']}
18
+ * />
19
+ * ```
20
+ *
21
+ * @example
22
+ * ```tsx
23
+ * // Con colores semánticos del sistema
24
+ * <ListWithDataInHover
25
+ * data={[
26
+ * { name: 'Éxito', percent: 70 },
27
+ * { name: 'Advertencia', percent: 20 },
28
+ * { name: 'Error', percent: 10 }
29
+ * ]}
30
+ * colors={[
31
+ * 'var(--ui-color-green-500)',
32
+ * 'var(--ui-color-orange-500)',
33
+ * 'var(--ui-color-red-500)'
34
+ * ]}
35
+ * indicatorSize={12}
36
+ * gap={8}
37
+ * />
38
+ * ```
39
+ */
40
+ export declare const ListWithDataInHover: React.MemoExoticComponent<({ data, colors, className, disabled, indicatorSize, gap, showTooltips, showPercent, tooltipPosition, onItemHover, onItemLeave, }: ListWithDataInHoverProps) => import("react/jsx-runtime").JSX.Element>;
41
+ //# sourceMappingURL=ListWithDataInHover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListWithDataInHover.d.ts","sourceRoot":"","sources":["../../../../../src/modules/ListWithDataInHover/components/organisms/ListWithDataInHover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAA;AAE5C,OAAO,EAAE,wBAAwB,EAA4B,MAAM,aAAa,CAAA;AAIhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,mBAAmB,+JAY7B,wBAAwB,6CAiFzB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ListWithDataInHover.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListWithDataInHover.test.d.ts","sourceRoot":"","sources":["../../../../../src/modules/ListWithDataInHover/components/organisms/ListWithDataInHover.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { ListWithDataInHover } from './ListWithDataInHover';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/ListWithDataInHover/components/organisms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * ============================================
3
+ * LIST WITH DATA IN HOVER MODULE - ATOMIC DESIGN
4
+ * ============================================
5
+ *
6
+ * Componente de lista con tooltips modular que sigue principios de:
7
+ * - Screaming Architecture: La estructura de carpetas refleja el dominio
8
+ * - Atomic Design: Atoms → Molecules → Organisms
9
+ * - DRY: Reutilización de componentes y tipos
10
+ *
11
+ * ## Estructura
12
+ *
13
+ * ```
14
+ * ListWithDataInHover/
15
+ * ├── components/
16
+ * │ ├── molecules/ # Componentes moleculares
17
+ * │ │ └── ListWithDataInHoverItem
18
+ * │ └── organisms/ # Componente completo
19
+ * │ └── ListWithDataInHover
20
+ * ├── types/
21
+ * │ └── index.ts # Definición de tipos
22
+ * ├── stories/
23
+ * │ └── listWithDataInHover.stories.tsx
24
+ * └── index.ts # Exports públicos
25
+ * ```
26
+ *
27
+ * ## Uso Básico
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * import { ListWithDataInHover } from '@imjmedia/ui'
32
+ *
33
+ * <ListWithDataInHover
34
+ * data={[
35
+ * { name: 'Completado', percent: 60 },
36
+ * { name: 'En progreso', percent: 30 },
37
+ * { name: 'Pendiente', percent: 10 }
38
+ * ]}
39
+ * colors={['#039B59', '#DC8921', '#D9D9D9']}
40
+ * />
41
+ * ```
42
+ */
43
+ export { ListWithDataInHover } from './components';
44
+ export type { ListWithDataInHoverProps, ListWithDataInHoverItem, ListWithDataInHoverColor, } from './types';
45
+ export type { ListWithDataInHoverItemProps, } from './components';
46
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/ListWithDataInHover/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAGH,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAGlD,YAAY,EACV,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,SAAS,CAAA;AAEhB,YAAY,EACV,4BAA4B,GAC7B,MAAM,cAAc,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { ListWithDataInHover } from '../index';
3
+ declare const meta: Meta<typeof ListWithDataInHover>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ListWithDataInHover>;
6
+ export declare const Default: Story;
7
+ export declare const WithSemanticColors: Story;
8
+ export declare const LargeIndicators: Story;
9
+ export declare const WithoutTooltips: Story;
10
+ export declare const Disabled: Story;
11
+ export declare const MultipleItems: Story;
12
+ export declare const WithCallbacks: Story;
13
+ //# sourceMappingURL=ListWithDataInHover.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListWithDataInHover.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/ListWithDataInHover/stories/ListWithDataInHover.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAG9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,CAkD1C,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAEjD,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAchC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAe7B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAe7B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAiB3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAuB3B,CAAA"}
@@ -0,0 +1,42 @@
1
+ import { InlineTooltipPosition } from '../../Tooltip';
2
+ /**
3
+ * Colores semánticos disponibles
4
+ */
5
+ export type ListWithDataInHoverColor = 'brand' | 'success' | 'warning' | 'danger' | 'info' | 'neutral' | 'yellow';
6
+ /**
7
+ * Datos de un elemento de la lista
8
+ */
9
+ export interface ListWithDataInHoverItem {
10
+ /** Nombre del elemento */
11
+ name: string;
12
+ /** Porcentaje del elemento */
13
+ percent: number;
14
+ }
15
+ /**
16
+ * Props del componente ListWithDataInHover
17
+ */
18
+ export interface ListWithDataInHoverProps {
19
+ /** Array de datos para cada elemento */
20
+ data: ListWithDataInHoverItem[];
21
+ /** Array de colores semánticos para cada elemento */
22
+ colors: ListWithDataInHoverColor[];
23
+ /** Clase CSS adicional */
24
+ className?: string;
25
+ /** Si deshabilitar la lista */
26
+ disabled?: boolean;
27
+ /** Tamaño del indicador circular en píxeles (por defecto: 8px) */
28
+ indicatorSize?: number;
29
+ /** Gap entre elementos en píxeles (por defecto: 4px) */
30
+ gap?: number;
31
+ /** Si mostrar tooltips (por defecto: true) */
32
+ showTooltips?: boolean;
33
+ /** Si mostrar el porcentaje junto al nombre (por defecto: true) */
34
+ showPercent?: boolean;
35
+ /** Posición del tooltip (por defecto: 'over') */
36
+ tooltipPosition?: InlineTooltipPosition;
37
+ /** Callback cuando se hace hover sobre un elemento */
38
+ onItemHover?: (item: ListWithDataInHoverItem, index: number) => void;
39
+ /** Callback cuando se sale del hover de un elemento */
40
+ onItemLeave?: (item: ListWithDataInHoverItem, index: number) => void;
41
+ }
42
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/ListWithDataInHover/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAChC,OAAO,GACP,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,SAAS,GACT,QAAQ,CAAA;AAEZ;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,wCAAwC;IACxC,IAAI,EAAE,uBAAuB,EAAE,CAAA;IAC/B,qDAAqD;IACrD,MAAM,EAAE,wBAAwB,EAAE,CAAA;IAClC,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kEAAkE;IAClE,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wDAAwD;IACxD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,8CAA8C;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,mEAAmE;IACnE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,iDAAiD;IACjD,eAAe,CAAC,EAAE,qBAAqB,CAAA;IACvC,sDAAsD;IACtD,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACpE,uDAAuD;IACvD,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACrE"}
@@ -0,0 +1,18 @@
1
+ import { ListWithDataInHoverColor } from '../types';
2
+ /**
3
+ * Mapeo de colores semánticos a variables CSS del sistema de diseño
4
+ */
5
+ export declare const SEMANTIC_COLOR_MAP: Record<ListWithDataInHoverColor, string>;
6
+ /**
7
+ * Colores por defecto si no se proporcionan
8
+ */
9
+ export declare const DEFAULT_COLORS: ListWithDataInHoverColor[];
10
+ /**
11
+ * Obtiene el valor CSS del color semántico
12
+ */
13
+ export declare const getColorValue: (color: ListWithDataInHoverColor) => string;
14
+ /**
15
+ * Valida y normaliza un color semántico
16
+ */
17
+ export declare const normalizeColor: (color: unknown) => ListWithDataInHoverColor;
18
+ //# sourceMappingURL=colors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/modules/ListWithDataInHover/utils/colors.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAEnD;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAQ9D,CAAA;AAEV;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,wBAAwB,EAMpD,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,wBAAwB,KAAG,MAE/D,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,KAAG,wBAK/C,CAAA"}
@@ -1,7 +1,8 @@
1
1
  import { BaseMessageProps } from '../../../../shared/types/message';
2
+ import { default as React } from 'react';
2
3
  interface MessageItemProps {
3
4
  message: BaseMessageProps;
4
5
  }
5
- export declare const MessageItem: ({ message }: MessageItemProps) => import("react/jsx-runtime").JSX.Element | null;
6
+ export declare const MessageItem: React.MemoExoticComponent<({ message }: MessageItemProps) => import("react/jsx-runtime").JSX.Element | null>;
6
7
  export {};
7
8
  //# sourceMappingURL=MessageItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/MessageItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAMzD,UAAU,gBAAgB;IACxB,OAAO,EAAE,gBAAgB,CAAA;CAC1B;AAED,eAAO,MAAM,WAAW,GAAI,aAAa,gBAAgB,mDAkDxD,CAAA"}
1
+ {"version":3,"file":"MessageItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/MessageItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAKzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,gBAAgB;IACxB,OAAO,EAAE,gBAAgB,CAAA;CAC1B;AAED,eAAO,MAAM,WAAW,0CAA4B,gBAAgB,oDAqElE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=MessageItem.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageItem.test.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/MessageItem.test.tsx"],"names":[],"mappings":""}
@@ -1,7 +1,8 @@
1
1
  import { MessagesByPosition } from '../../../../shared/types/message';
2
+ import { default as React } from 'react';
2
3
  interface MessagePositionsProps {
3
4
  messages: MessagesByPosition;
4
5
  }
5
- export declare const MessagePositions: ({ messages }: MessagePositionsProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const MessagePositions: React.MemoExoticComponent<({ messages }: MessagePositionsProps) => import("react/jsx-runtime").JSX.Element | null>;
6
7
  export {};
7
8
  //# sourceMappingURL=MessagePositions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessagePositions.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/MessagePositions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAI5E,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;CAC7B;AAED,eAAO,MAAM,gBAAgB,GAAI,cAAc,qBAAqB,4CAiBnE,CAAA"}
1
+ {"version":3,"file":"MessagePositions.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/MessagePositions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAG5E,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;CAC7B;AAED,eAAO,MAAM,gBAAgB,2CAA6B,qBAAqB,oDAuC7E,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=MessagePositions.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessagePositions.test.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/MessagePositions.test.tsx"],"names":[],"mappings":""}
@@ -1,7 +1,8 @@
1
1
  import { NotificationGroup } from '../../../../shared/types/message';
2
+ import { default as React } from 'react';
2
3
  interface NotificationItemProps {
3
4
  group: NotificationGroup;
4
5
  }
5
- export declare const NotificationItem: ({ group }: NotificationItemProps) => import("react/jsx-runtime").JSX.Element | null;
6
+ export declare const NotificationItem: React.MemoExoticComponent<({ group }: NotificationItemProps) => import("react/jsx-runtime").JSX.Element | null>;
6
7
  export {};
7
8
  //# sourceMappingURL=NotificationItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/NotificationItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAqB,MAAM,wBAAwB,CAAA;AAS7E,UAAU,qBAAqB;IAC7B,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,eAAO,MAAM,gBAAgB,GAAI,WAAW,qBAAqB,mDA+DhE,CAAA"}
1
+ {"version":3,"file":"NotificationItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/NotificationItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAqB,MAAM,wBAAwB,CAAA;AAQ7E,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,qBAAqB;IAC7B,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,eAAO,MAAM,gBAAgB,wCAA0B,qBAAqB,oDAuE1E,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=NotificationItem.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationItem.test.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/NotificationItem.test.tsx"],"names":[],"mappings":""}
@@ -1,7 +1,8 @@
1
1
  import { NotificationGroup, NotificationColor } from '../../../../shared/types/message';
2
+ import { default as React } from 'react';
2
3
  interface NotificationPositionsProps {
3
4
  groups: Record<NotificationColor, NotificationGroup | null>;
4
5
  }
5
- export declare const NotificationPositions: ({ groups }: NotificationPositionsProps) => import("react/jsx-runtime").JSX.Element | null;
6
+ export declare const NotificationPositions: React.MemoExoticComponent<({ groups }: NotificationPositionsProps) => import("react/jsx-runtime").JSX.Element | null>;
6
7
  export {};
7
8
  //# sourceMappingURL=NotificationPositions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationPositions.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/NotificationPositions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAK7E,UAAU,0BAA0B;IAClC,MAAM,EAAE,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CAAC,CAAA;CAC5D;AAED,eAAO,MAAM,qBAAqB,GAAI,YAAY,0BAA0B,mDAwB3E,CAAA"}
1
+ {"version":3,"file":"NotificationPositions.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/NotificationPositions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAI7E,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,0BAA0B;IAClC,MAAM,EAAE,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CAAC,CAAA;CAC5D;AAED,eAAO,MAAM,qBAAqB,yCAA2B,0BAA0B,oDAoCrF,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=NotificationPositions.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationPositions.test.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Message/components/molecules/NotificationPositions.test.tsx"],"names":[],"mappings":""}