helppeople-ui 1.10.4 → 1.11.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.
- package/dist/components/CustomButton/CustomButton.d.ts +2 -0
- package/dist/components/CustomCarousel/CustomCarousel.d.ts +33 -0
- package/dist/components/CustomCarousel/index.d.ts +1 -0
- package/dist/examples/CustomCarouselExample/CustomCarouselExample.d.ts +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/my-library.cjs.js +7 -7
- package/dist/my-library.es.js +458 -462
- package/package.json +1 -1
|
@@ -30,6 +30,8 @@ interface CustomButtonProps {
|
|
|
30
30
|
htmlType?: "submit" | "button" | "reset";
|
|
31
31
|
/** Configuración del badge (opcional) */
|
|
32
32
|
badge?: CustomButtonBadgeConfig;
|
|
33
|
+
/** Texto o contenido a mostrar en el tooltip al hacer hover (opcional) */
|
|
34
|
+
tooltip?: React.ReactNode;
|
|
33
35
|
}
|
|
34
36
|
declare const CustomButton: React.FC<CustomButtonProps>;
|
|
35
37
|
export default CustomButton;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CarouselProps } from 'antd';
|
|
3
|
+
export interface CustomCarouselProps extends CarouselProps {
|
|
4
|
+
/**
|
|
5
|
+
* Optional custom class name for additional styling
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Position of the dots
|
|
10
|
+
*/
|
|
11
|
+
dotPlacement?: "top" | "bottom" | "left" | "right";
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* CustomCarousel - A styled wrapper around Ant Design's Carousel component.
|
|
15
|
+
* Provides consistent styling with the helppeople-ui design system.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // Basic usage
|
|
19
|
+
* <CustomCarousel>
|
|
20
|
+
* <div><img src="slide1.jpg" /></div>
|
|
21
|
+
* <div><img src="slide2.jpg" /></div>
|
|
22
|
+
* <div><img src="slide3.jpg" /></div>
|
|
23
|
+
* </CustomCarousel>
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* // With arrows and autoplay
|
|
27
|
+
* <CustomCarousel arrows autoplay autoplaySpeed={5000}>
|
|
28
|
+
* <div><img src="slide1.jpg" /></div>
|
|
29
|
+
* <div><img src="slide2.jpg" /></div>
|
|
30
|
+
* </CustomCarousel>
|
|
31
|
+
*/
|
|
32
|
+
declare const CustomCarousel: React.FC<CustomCarouselProps>;
|
|
33
|
+
export default CustomCarousel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomCarousel';
|
package/dist/index.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export { default as RelationSelector } from './components/CustomRelationSelector
|
|
|
53
53
|
export { default as NotificationBadge } from './components/CustomNotificationBadge/CustomNotificationBadge';
|
|
54
54
|
export { default as NotificationDropdown } from './components/CustomNotificationDropdown/CustomNotificationDropdown';
|
|
55
55
|
export { default as Timeline, TimelineWithDefaults, } from './components/CustomTimeline/CustomTimeline';
|
|
56
|
+
export { default as Carousel } from './components/CustomCarousel/CustomCarousel';
|
|
56
57
|
export type { AccordionItem, CustomAccordionProps, } from './components/CustomAccordion/CustomAccordion';
|
|
57
58
|
export type { TransferDataItem, CustomTransferProps, } from './components/CustomTransfer/CustomTransfer';
|
|
58
59
|
export type { CustomTableTransferProps, RemotePaginationConfig, PagerState, PagerPosition, } from './components/CustomTableTransfer/CustomTableTransfer';
|