@beweco/aurora-ui 0.1.6 → 0.1.7

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 (70) hide show
  1. package/dist/assets/css/styles.css +1 -1
  2. package/dist/index.cjs.js +2002 -1441
  3. package/dist/index.esm.js +2018 -1464
  4. package/dist/types/components/analytics-card/AnalyticsCard.d.ts +10 -0
  5. package/dist/types/components/analytics-card/AnalyticsCard.d.ts.map +1 -0
  6. package/dist/types/components/analytics-card/AnalyticsCard.types.d.ts +65 -0
  7. package/dist/types/components/analytics-card/AnalyticsCard.types.d.ts.map +1 -0
  8. package/dist/types/components/analytics-card/index.d.ts +3 -0
  9. package/dist/types/components/analytics-card/index.d.ts.map +1 -0
  10. package/dist/types/components/autocomplete/index.d.ts +1 -1
  11. package/dist/types/components/autocomplete/index.d.ts.map +1 -1
  12. package/dist/types/components/button/index.d.ts +2 -2
  13. package/dist/types/components/button/index.d.ts.map +1 -1
  14. package/dist/types/components/copy-text/CopyText.d.ts +12 -0
  15. package/dist/types/components/copy-text/CopyText.d.ts.map +1 -0
  16. package/dist/types/components/copy-text/CopyText.types.d.ts +8 -0
  17. package/dist/types/components/copy-text/CopyText.types.d.ts.map +1 -0
  18. package/dist/types/components/copy-text/index.d.ts +3 -0
  19. package/dist/types/components/copy-text/index.d.ts.map +1 -0
  20. package/dist/types/components/datepicker/index.d.ts +2 -2
  21. package/dist/types/components/datepicker/index.d.ts.map +1 -1
  22. package/dist/types/components/daterangepicker/index.d.ts +2 -2
  23. package/dist/types/components/daterangepicker/index.d.ts.map +1 -1
  24. package/dist/types/components/h1/H1.d.ts +3 -0
  25. package/dist/types/components/h1/H1.d.ts.map +1 -0
  26. package/dist/types/components/h1/index.d.ts +2 -0
  27. package/dist/types/components/h1/index.d.ts.map +1 -0
  28. package/dist/types/components/multi-step-wizard/MultiStepWizard.d.ts +3 -0
  29. package/dist/types/components/multi-step-wizard/MultiStepWizard.d.ts.map +1 -0
  30. package/dist/types/components/multi-step-wizard/MultiStepWizard.types.d.ts +20 -0
  31. package/dist/types/components/multi-step-wizard/MultiStepWizard.types.d.ts.map +1 -0
  32. package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.d.ts +4 -0
  33. package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.d.ts.map +1 -0
  34. package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.types.d.ts +13 -0
  35. package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.types.d.ts.map +1 -0
  36. package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.d.ts +4 -0
  37. package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.d.ts.map +1 -0
  38. package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.types.d.ts +8 -0
  39. package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.types.d.ts.map +1 -0
  40. package/dist/types/components/multi-step-wizard/_internal/index.d.ts +3 -0
  41. package/dist/types/components/multi-step-wizard/_internal/index.d.ts.map +1 -0
  42. package/dist/types/components/multi-step-wizard/index.d.ts +3 -0
  43. package/dist/types/components/multi-step-wizard/index.d.ts.map +1 -0
  44. package/dist/types/components/promotional-banner/PromotionalBanner.d.ts +7 -0
  45. package/dist/types/components/promotional-banner/PromotionalBanner.d.ts.map +1 -0
  46. package/dist/types/components/promotional-banner/PromotionalBanner.types.d.ts +69 -0
  47. package/dist/types/components/promotional-banner/PromotionalBanner.types.d.ts.map +1 -0
  48. package/dist/types/components/promotional-banner/index.d.ts +3 -0
  49. package/dist/types/components/promotional-banner/index.d.ts.map +1 -0
  50. package/dist/types/components/row-steps/RowSteps.d.ts +4 -0
  51. package/dist/types/components/row-steps/RowSteps.d.ts.map +1 -0
  52. package/dist/types/components/row-steps/RowSteps.types.d.ts +21 -0
  53. package/dist/types/components/row-steps/RowSteps.types.d.ts.map +1 -0
  54. package/dist/types/components/row-steps/index.d.ts +3 -0
  55. package/dist/types/components/row-steps/index.d.ts.map +1 -0
  56. package/dist/types/components/step-indicator/StepIndicator.d.ts +4 -0
  57. package/dist/types/components/step-indicator/StepIndicator.d.ts.map +1 -0
  58. package/dist/types/components/step-indicator/StepIndicator.types.d.ts +14 -0
  59. package/dist/types/components/step-indicator/StepIndicator.types.d.ts.map +1 -0
  60. package/dist/types/components/step-indicator/index.d.ts +3 -0
  61. package/dist/types/components/step-indicator/index.d.ts.map +1 -0
  62. package/dist/types/components/vertical-steps/VerticalSteps.d.ts +4 -0
  63. package/dist/types/components/vertical-steps/VerticalSteps.d.ts.map +1 -0
  64. package/dist/types/components/vertical-steps/VerticalSteps.types.d.ts +57 -0
  65. package/dist/types/components/vertical-steps/VerticalSteps.types.d.ts.map +1 -0
  66. package/dist/types/components/vertical-steps/index.d.ts +3 -0
  67. package/dist/types/components/vertical-steps/index.d.ts.map +1 -0
  68. package/dist/types/index.d.ts +18 -11
  69. package/dist/types/index.d.ts.map +1 -1
  70. package/package.json +4 -2
@@ -0,0 +1,10 @@
1
+ import type React from "react";
2
+ import type { AnalyticsCardProps } from "./AnalyticsCard.types";
3
+ /**
4
+ * AnalyticsCard genérico reutilizable basado en HeroUI siguiendo las reglas de diseño BeweOS.
5
+ *
6
+ * 🚨 This component requires installing the `recharts` package:
7
+ * `npm install recharts`
8
+ */
9
+ export declare const AnalyticsCard: React.FC<AnalyticsCardProps>;
10
+ //# sourceMappingURL=AnalyticsCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnalyticsCard.d.ts","sourceRoot":"","sources":["../../../../src/components/analytics-card/AnalyticsCard.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,OAAO,KAAK,EACX,kBAAkB,EAGlB,MAAM,uBAAuB,CAAC;AAuD/B;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsRtD,CAAC"}
@@ -0,0 +1,65 @@
1
+ import type { CardProps } from "@heroui/react";
2
+ export type ChartData = {
3
+ month: string;
4
+ value: number;
5
+ };
6
+ export type Chart = {
7
+ key: string;
8
+ title: string;
9
+ value: number;
10
+ suffix: string;
11
+ type: string;
12
+ change: string;
13
+ changeType: "positive" | "negative" | "neutral";
14
+ chartData: ChartData[];
15
+ };
16
+ export interface AnalyticsCardTranslations {
17
+ title?: string;
18
+ description?: string;
19
+ viewDetails?: string;
20
+ exportData?: string;
21
+ setAlert?: string;
22
+ months6?: string;
23
+ months3?: string;
24
+ days30?: string;
25
+ days7?: string;
26
+ hours24?: string;
27
+ }
28
+ export interface AnalyticsCardProps extends Omit<CardProps, "children"> {
29
+ /**
30
+ * Data for the analytics charts
31
+ */
32
+ data: Chart[];
33
+ /**
34
+ * Whether to show the time period tabs
35
+ * @default true
36
+ */
37
+ showTimePeriods?: boolean;
38
+ /**
39
+ * Whether to show the dropdown menu
40
+ * @default true
41
+ */
42
+ showDropdownMenu?: boolean;
43
+ /**
44
+ * Whether to show the metric cards/buttons
45
+ * @default true
46
+ */
47
+ showMetricCards?: boolean;
48
+ /**
49
+ * Callback when a chart is selected
50
+ */
51
+ onChartChange?: (chartKey: string) => void;
52
+ /**
53
+ * Callback when a dropdown menu item is clicked
54
+ */
55
+ onMenuAction?: (action: string) => void;
56
+ /**
57
+ * Callback when a time period is selected
58
+ */
59
+ onTimePeriodChange?: (period: string) => void;
60
+ /**
61
+ * Translations for internationalization
62
+ */
63
+ translations?: AnalyticsCardTranslations;
64
+ }
65
+ //# sourceMappingURL=AnalyticsCard.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnalyticsCard.types.d.ts","sourceRoot":"","sources":["../../../../src/components/analytics-card/AnalyticsCard.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;IAChD,SAAS,EAAE,SAAS,EAAE,CAAC;CACvB,CAAC;AAEF,MAAM,WAAW,yBAAyB;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IACtE;;OAEG;IACH,IAAI,EAAE,KAAK,EAAE,CAAC;IACd;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C;;OAEG;IACH,YAAY,CAAC,EAAE,yBAAyB,CAAC;CACzC"}
@@ -0,0 +1,3 @@
1
+ export { AnalyticsCard } from "./AnalyticsCard.js";
2
+ export type { AnalyticsCardProps, AnalyticsCardTranslations, Chart, ChartData, } from "./AnalyticsCard.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/analytics-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,YAAY,EACX,kBAAkB,EAClB,yBAAyB,EACzB,KAAK,EACL,SAAS,GACT,MAAM,uBAAuB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { AutoComplete } from "./AutoComplete.js";
2
- export type { AutoCompleteProps } from "./AutoComplete.types.js";
2
+ export type { AutoCompleteProps } from "./AutoComplete.types";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/autocomplete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/autocomplete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Button } from "./Button.js";
2
- export type { ButtonProps } from "./Button.types.js";
1
+ export { Button } from "./Button";
2
+ export type { ButtonProps } from "./Button.types";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { CopyTextProps } from "./CopyText.types";
2
+ /**
3
+ * Componente para copiar texto al portapapeles con feedback visual.
4
+ *
5
+ * Características:
6
+ * - Copia texto al portapapeles al hacer clic
7
+ * - Muestra feedback visual con iconos
8
+ * - Tooltip con texto personalizable
9
+ * - Timeout automático para resetear el estado
10
+ */
11
+ export declare const CopyText: import("react").NamedExoticComponent<CopyTextProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ //# sourceMappingURL=CopyText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CopyText.d.ts","sourceRoot":"","sources":["../../../../src/components/copy-text/CopyText.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,qGA2DpB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type React from "react";
2
+ export interface CopyTextProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ className?: string;
4
+ textClassName?: string;
5
+ copyText?: string;
6
+ children: string;
7
+ }
8
+ //# sourceMappingURL=CopyText.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CopyText.types.d.ts","sourceRoot":"","sources":["../../../../src/components/copy-text/CopyText.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ export { CopyText } from "./CopyText";
2
+ export type { CopyTextProps } from "./CopyText.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/copy-text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,3 +1,3 @@
1
- export { DatePicker } from "./DatePicker.js";
2
- export type { DatePickerProps } from "./DatePicker.types.js";
1
+ export { DatePicker } from "./DatePicker";
2
+ export type { DatePickerProps } from "./DatePicker.types";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,3 +1,3 @@
1
- export { DateRangePicker } from "./DateRangePicker.js";
2
- export type { DateRangePickerProps } from "./DateRangePicker.types.js";
1
+ export { DateRangePicker } from "./DateRangePicker";
2
+ export type { DateRangePickerProps } from "./DateRangePicker.types";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/daterangepicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/daterangepicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type React from "react";
2
+ export declare const H1: React.FC<React.HTMLAttributes<HTMLHeadingElement>>;
3
+ //# sourceMappingURL=H1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"H1.d.ts","sourceRoot":"","sources":["../../../../src/components/h1/H1.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAUjE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { H1 } from "./H1";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/h1/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { MultiStepWizardProps } from "./MultiStepWizard.types";
2
+ export declare const MultiStepWizard: ({ isOpen, steps, translations, onClose, }: MultiStepWizardProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ //# sourceMappingURL=MultiStepWizard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiStepWizard.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-step-wizard/MultiStepWizard.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAqBpE,eAAO,MAAM,eAAe,GAAI,2CAK7B,oBAAoB,mDAyItB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type React from "react";
2
+ export interface Step {
3
+ title: string;
4
+ description: string;
5
+ content: React.ReactNode;
6
+ }
7
+ export interface Translations {
8
+ continue?: string;
9
+ goBack?: string;
10
+ cancel?: string;
11
+ signUp?: string;
12
+ goToPayment?: string;
13
+ }
14
+ export interface MultiStepWizardProps {
15
+ isOpen?: boolean;
16
+ steps: Step[];
17
+ translations?: Translations;
18
+ onClose: () => void;
19
+ }
20
+ //# sourceMappingURL=MultiStepWizard.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiStepWizard.types.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-step-wizard/MultiStepWizard.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,IAAI;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,YAAY;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { MultiStepSidebarProps } from "./MultiStepSidebar.types";
3
+ export declare const MultiStepSidebar: React.ForwardRefExoticComponent<MultiStepSidebarProps & React.RefAttributes<HTMLDivElement>>;
4
+ //# sourceMappingURL=MultiStepSidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiStepSidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/multi-step-wizard/_internal/MultiStepSidebar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAkBtE,eAAO,MAAM,gBAAgB,8FAgF5B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type React from "react";
2
+ import type { Step } from "../MultiStepWizard.types";
3
+ export interface MultiStepSidebarProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ children?: React.ReactNode;
5
+ currentPage: number;
6
+ onBack?: () => void;
7
+ onNext?: () => void;
8
+ onClose?: () => void;
9
+ onChangePage?: (page: number) => void;
10
+ steps: Step[];
11
+ goBackTranslation?: string;
12
+ }
13
+ //# sourceMappingURL=MultiStepSidebar.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiStepSidebar.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/multi-step-wizard/_internal/MultiStepSidebar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAErD,MAAM,WAAW,qBAChB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
@@ -0,0 +1,4 @@
1
+ import type React from "react";
2
+ import type { MultistepNavigationButtonsProps } from "./MultistepNavigationButtons.types";
3
+ export declare const MultistepNavigationButtons: React.FC<MultistepNavigationButtonsProps>;
4
+ //# sourceMappingURL=MultistepNavigationButtons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultistepNavigationButtons.d.ts","sourceRoot":"","sources":["../../../../../src/components/multi-step-wizard/_internal/MultistepNavigationButtons.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AAE1F,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAChD,+BAA+B,CAoD/B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { ButtonProps } from "@heroui/react";
2
+ export interface MultistepNavigationButtonsProps {
3
+ backButtonProps?: ButtonProps;
4
+ nextButtonProps?: ButtonProps;
5
+ cancelButtonProps?: ButtonProps;
6
+ className?: string;
7
+ }
8
+ //# sourceMappingURL=MultistepNavigationButtons.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultistepNavigationButtons.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/multi-step-wizard/_internal/MultistepNavigationButtons.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,+BAA+B;IAC/C,eAAe,CAAC,EAAE,WAAW,CAAC;IAC9B,eAAe,CAAC,EAAE,WAAW,CAAC;IAC9B,iBAAiB,CAAC,EAAE,WAAW,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ export * from "./MultiStepSidebar";
2
+ export * from "./MultistepNavigationButtons";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/multi-step-wizard/_internal/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./MultiStepWizard";
2
+ export type { MultiStepWizardProps, Step, Translations, } from "./MultiStepWizard.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-step-wizard/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,YAAY,EACX,oBAAoB,EACpB,IAAI,EACJ,YAAY,GACZ,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type React from "react";
2
+ import type { PromotionalBannerProps } from "./PromotionalBanner.types";
3
+ /**
4
+ * PromotionalBanner genérico reutilizable basado en HeroUI siguiendo las reglas de diseño BeweOS.
5
+ */
6
+ export declare const PromotionalBanner: React.FC<PromotionalBannerProps>;
7
+ //# sourceMappingURL=PromotionalBanner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PromotionalBanner.d.ts","sourceRoot":"","sources":["../../../../src/components/promotional-banner/PromotionalBanner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EACX,sBAAsB,EAEtB,MAAM,2BAA2B,CAAC;AASnC;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAkG9D,CAAC"}
@@ -0,0 +1,69 @@
1
+ import type { ButtonProps, LinkProps } from "@heroui/react";
2
+ export interface PromotionalBannerTranslations {
3
+ message?: string;
4
+ buttonText?: string;
5
+ closeButtonLabel?: string;
6
+ }
7
+ export interface PromotionalBannerProps {
8
+ /**
9
+ * The main message text to display
10
+ */
11
+ message?: string;
12
+ /**
13
+ * Text for the action button
14
+ */
15
+ buttonText?: string;
16
+ /**
17
+ * URL for the message link
18
+ */
19
+ messageHref?: string;
20
+ /**
21
+ * URL for the action button
22
+ */
23
+ buttonHref?: string;
24
+ /**
25
+ * Whether to show the close button
26
+ * @default true
27
+ */
28
+ showCloseButton?: boolean;
29
+ /**
30
+ * Whether the banner is visible
31
+ * @default true
32
+ */
33
+ isVisible?: boolean;
34
+ /**
35
+ * Background gradient colors (from, via, to)
36
+ * @default ["default-100", "danger-100", "secondary-100"]
37
+ */
38
+ gradientColors?: [string, string, string];
39
+ /**
40
+ * Button gradient colors for border
41
+ * @default ["#F871A0", "#9353D3"]
42
+ */
43
+ buttonGradientColors?: [string, string];
44
+ /**
45
+ * Callback when the banner is closed
46
+ */
47
+ onClose?: () => void;
48
+ /**
49
+ * Callback when the message link is clicked
50
+ */
51
+ onMessageClick?: () => void;
52
+ /**
53
+ * Callback when the action button is clicked
54
+ */
55
+ onButtonClick?: () => void;
56
+ /**
57
+ * Additional props for the message link
58
+ */
59
+ messageLinkProps?: Partial<LinkProps>;
60
+ /**
61
+ * Additional props for the action button
62
+ */
63
+ buttonProps?: Partial<ButtonProps>;
64
+ /**
65
+ * Translations for internationalization
66
+ */
67
+ translations?: PromotionalBannerTranslations;
68
+ }
69
+ //# sourceMappingURL=PromotionalBanner.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PromotionalBanner.types.d.ts","sourceRoot":"","sources":["../../../../src/components/promotional-banner/PromotionalBanner.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE5D,MAAM,WAAW,6BAA6B;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,sBAAsB;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C;;;OAGG;IACH,oBAAoB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,6BAA6B,CAAC;CAC7C"}
@@ -0,0 +1,3 @@
1
+ export { PromotionalBanner } from "./PromotionalBanner";
2
+ export type { PromotionalBannerProps, PromotionalBannerTranslations, } from "./PromotionalBanner.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/promotional-banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EACX,sBAAsB,EACtB,6BAA6B,GAC7B,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { RowStepsProps } from "./RowSteps.types";
3
+ export declare const RowSteps: React.ForwardRefExoticComponent<RowStepsProps & React.RefAttributes<HTMLButtonElement>>;
4
+ //# sourceMappingURL=RowSteps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RowSteps.d.ts","sourceRoot":"","sources":["../../../../src/components/row-steps/RowSteps.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAgB,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEpE,eAAO,MAAM,QAAQ,yFA+MpB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { ButtonProps } from "@heroui/react";
2
+ import type React from "react";
3
+ export interface RowStepsTranslations {
4
+ checkIconTitle?: string;
5
+ }
6
+ export type RowStepProps = {
7
+ title?: React.ReactNode;
8
+ className?: string;
9
+ };
10
+ export interface RowStepsProps extends React.HTMLAttributes<HTMLButtonElement> {
11
+ steps: number | RowStepProps[];
12
+ color?: ButtonProps["color"];
13
+ currentStep?: number;
14
+ defaultStep?: number;
15
+ hideProgressBars?: boolean;
16
+ className?: string;
17
+ stepClassName?: string;
18
+ onStepChange?: (stepIndex: number) => void;
19
+ translations?: RowStepsTranslations;
20
+ }
21
+ //# sourceMappingURL=RowSteps.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RowSteps.types.d.ts","sourceRoot":"","sources":["../../../../src/components/row-steps/RowSteps.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,oBAAoB;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,MAAM,YAAY,GAAG;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IAC7E,KAAK,EAAE,MAAM,GAAG,YAAY,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,YAAY,CAAC,EAAE,oBAAoB,CAAC;CACpC"}
@@ -0,0 +1,3 @@
1
+ export { RowSteps } from "./RowSteps";
2
+ export type { RowStepsProps, RowStepProps } from "./RowSteps.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/row-steps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type React from "react";
2
+ import type { StepIndicatorProps } from "./StepIndicator.types";
3
+ export declare const StepIndicator: React.FC<StepIndicatorProps>;
4
+ //# sourceMappingURL=StepIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/step-indicator/StepIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA4CtD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type React from "react";
2
+ export interface StepIndicatorProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ /** Current step (1-based) */
4
+ currentStep: number;
5
+ /** Total number of steps */
6
+ totalSteps: number;
7
+ /** Color theme for the progress bar */
8
+ color?: "primary" | "secondary" | "success" | "warning" | "danger";
9
+ /** Show step numbers text */
10
+ showStepText?: boolean;
11
+ /** Custom step text format function */
12
+ stepTextFormatter?: (current: number, total: number) => string;
13
+ }
14
+ //# sourceMappingURL=StepIndicator.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepIndicator.types.d.ts","sourceRoot":"","sources":["../../../../src/components/step-indicator/StepIndicator.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,kBAChB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,6BAA6B;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACnE,6BAA6B;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uCAAuC;IACvC,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/D"}
@@ -0,0 +1,3 @@
1
+ export { StepIndicator } from "./StepIndicator";
2
+ export * from "./StepIndicator.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/step-indicator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { VerticalStepsProps } from "./VerticalSteps.types";
3
+ export declare const VerticalSteps: React.ForwardRefExoticComponent<VerticalStepsProps & React.RefAttributes<HTMLButtonElement>>;
4
+ //# sourceMappingURL=VerticalSteps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerticalSteps.d.ts","sourceRoot":"","sources":["../../../../src/components/vertical-steps/VerticalSteps.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAEX,kBAAkB,EAElB,MAAM,uBAAuB,CAAC;AAM/B,eAAO,MAAM,aAAa,8FA6NzB,CAAC"}
@@ -0,0 +1,57 @@
1
+ import type { ButtonProps } from "@heroui/react";
2
+ import type React from "react";
3
+ export interface VerticalStepsTranslations {
4
+ checkIconTitle?: string;
5
+ }
6
+ export type Step = {
7
+ className?: string;
8
+ description?: React.ReactNode;
9
+ title?: React.ReactNode;
10
+ };
11
+ export interface VerticalStepsProps extends React.HTMLAttributes<HTMLButtonElement> {
12
+ /**
13
+ * The steps to display. It can be a number or an array of steps.
14
+ *
15
+ * @default []
16
+ */
17
+ steps: number | Step[];
18
+ /**
19
+ * The color of the steps.
20
+ *
21
+ * @default "primary"
22
+ */
23
+ color?: ButtonProps["color"];
24
+ /**
25
+ * The current step index.
26
+ */
27
+ currentStep?: number;
28
+ /**
29
+ * The default step index.
30
+ *
31
+ * @default 0
32
+ */
33
+ defaultStep?: number;
34
+ /**
35
+ * Whether to hide the progress bars.
36
+ *
37
+ * @default false
38
+ */
39
+ hideProgressBars?: boolean;
40
+ /**
41
+ * The custom class for the steps wrapper.
42
+ */
43
+ className?: string;
44
+ /**
45
+ * The custom class for the step.
46
+ */
47
+ stepClassName?: string;
48
+ /**
49
+ * Callback function when the step index changes.
50
+ */
51
+ onStepChange?: (stepIndex: number) => void;
52
+ /**
53
+ * The translations for the component.
54
+ */
55
+ translations?: VerticalStepsTranslations;
56
+ }
57
+ //# sourceMappingURL=VerticalSteps.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerticalSteps.types.d.ts","sourceRoot":"","sources":["../../../../src/components/vertical-steps/VerticalSteps.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,yBAAyB;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,MAAM,IAAI,GAAG;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAEF,MAAM,WAAW,kBAChB,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IAC/C;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,CAAC;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C;;OAEG;IACH,YAAY,CAAC,EAAE,yBAAyB,CAAC;CACzC"}
@@ -0,0 +1,3 @@
1
+ export { VerticalSteps } from "./VerticalSteps";
2
+ export type { VerticalStepsProps } from "./VerticalSteps.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/vertical-steps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC"}