@beweco/aurora-ui 0.1.6 → 0.1.8
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/assets/css/styles.css +1 -1
- package/dist/index.cjs.js +2077 -1440
- package/dist/index.esm.js +2074 -1445
- package/dist/types/components/analytics-card/AnalyticsCard.d.ts +10 -0
- package/dist/types/components/analytics-card/AnalyticsCard.d.ts.map +1 -0
- package/dist/types/components/analytics-card/AnalyticsCard.types.d.ts +65 -0
- package/dist/types/components/analytics-card/AnalyticsCard.types.d.ts.map +1 -0
- package/dist/types/components/analytics-card/index.d.ts +3 -0
- package/dist/types/components/analytics-card/index.d.ts.map +1 -0
- package/dist/types/components/autocomplete/index.d.ts +1 -1
- package/dist/types/components/autocomplete/index.d.ts.map +1 -1
- package/dist/types/components/button/index.d.ts +2 -2
- package/dist/types/components/button/index.d.ts.map +1 -1
- package/dist/types/components/copy-text/CopyText.d.ts +12 -0
- package/dist/types/components/copy-text/CopyText.d.ts.map +1 -0
- package/dist/types/components/copy-text/CopyText.types.d.ts +8 -0
- package/dist/types/components/copy-text/CopyText.types.d.ts.map +1 -0
- package/dist/types/components/copy-text/index.d.ts +3 -0
- package/dist/types/components/copy-text/index.d.ts.map +1 -0
- package/dist/types/components/date-selector/DateSelector.d.ts +9 -0
- package/dist/types/components/date-selector/DateSelector.d.ts.map +1 -0
- package/dist/types/components/date-selector/DateSelector.types.d.ts +37 -0
- package/dist/types/components/date-selector/DateSelector.types.d.ts.map +1 -0
- package/dist/types/components/date-selector/index.d.ts +3 -0
- package/dist/types/components/date-selector/index.d.ts.map +1 -0
- package/dist/types/components/datepicker/index.d.ts +2 -2
- package/dist/types/components/datepicker/index.d.ts.map +1 -1
- package/dist/types/components/daterangepicker/index.d.ts +2 -2
- package/dist/types/components/daterangepicker/index.d.ts.map +1 -1
- package/dist/types/components/h1/H1.d.ts +3 -0
- package/dist/types/components/h1/H1.d.ts.map +1 -0
- package/dist/types/components/h1/index.d.ts +2 -0
- package/dist/types/components/h1/index.d.ts.map +1 -0
- package/dist/types/components/input/Input.d.ts.map +1 -1
- package/dist/types/components/multi-step-wizard/MultiStepWizard.d.ts +3 -0
- package/dist/types/components/multi-step-wizard/MultiStepWizard.d.ts.map +1 -0
- package/dist/types/components/multi-step-wizard/MultiStepWizard.types.d.ts +25 -0
- package/dist/types/components/multi-step-wizard/MultiStepWizard.types.d.ts.map +1 -0
- package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.d.ts +4 -0
- package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.d.ts.map +1 -0
- package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.types.d.ts +13 -0
- package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.types.d.ts.map +1 -0
- package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.d.ts +4 -0
- package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.d.ts.map +1 -0
- package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.types.d.ts +8 -0
- package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.types.d.ts.map +1 -0
- package/dist/types/components/multi-step-wizard/_internal/index.d.ts +3 -0
- package/dist/types/components/multi-step-wizard/_internal/index.d.ts.map +1 -0
- package/dist/types/components/multi-step-wizard/index.d.ts +3 -0
- package/dist/types/components/multi-step-wizard/index.d.ts.map +1 -0
- package/dist/types/components/p/P.d.ts.map +1 -1
- package/dist/types/components/phone/Phone.d.ts.map +1 -1
- package/dist/types/components/promotional-banner/PromotionalBanner.d.ts +7 -0
- package/dist/types/components/promotional-banner/PromotionalBanner.d.ts.map +1 -0
- package/dist/types/components/promotional-banner/PromotionalBanner.types.d.ts +69 -0
- package/dist/types/components/promotional-banner/PromotionalBanner.types.d.ts.map +1 -0
- package/dist/types/components/promotional-banner/index.d.ts +3 -0
- package/dist/types/components/promotional-banner/index.d.ts.map +1 -0
- package/dist/types/components/row-steps/RowSteps.d.ts +4 -0
- package/dist/types/components/row-steps/RowSteps.d.ts.map +1 -0
- package/dist/types/components/row-steps/RowSteps.types.d.ts +21 -0
- package/dist/types/components/row-steps/RowSteps.types.d.ts.map +1 -0
- package/dist/types/components/row-steps/index.d.ts +3 -0
- package/dist/types/components/row-steps/index.d.ts.map +1 -0
- package/dist/types/components/step-indicator/StepIndicator.d.ts +4 -0
- package/dist/types/components/step-indicator/StepIndicator.d.ts.map +1 -0
- package/dist/types/components/step-indicator/StepIndicator.types.d.ts +14 -0
- package/dist/types/components/step-indicator/StepIndicator.types.d.ts.map +1 -0
- package/dist/types/components/step-indicator/index.d.ts +3 -0
- package/dist/types/components/step-indicator/index.d.ts.map +1 -0
- package/dist/types/components/vertical-steps/VerticalSteps.d.ts +4 -0
- package/dist/types/components/vertical-steps/VerticalSteps.d.ts.map +1 -0
- package/dist/types/components/vertical-steps/VerticalSteps.types.d.ts +57 -0
- package/dist/types/components/vertical-steps/VerticalSteps.types.d.ts.map +1 -0
- package/dist/types/components/vertical-steps/index.d.ts +3 -0
- package/dist/types/components/vertical-steps/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +19 -11
- package/dist/types/index.d.ts.map +1 -1
- 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 @@
|
|
|
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 +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,
|
|
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
|
|
2
|
-
export type { ButtonProps } from "./Button.types
|
|
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,
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { DateSelectorProps } from "./DateSelector.types";
|
|
3
|
+
/**
|
|
4
|
+
* DateSelector - Componente para seleccionar fechas individuales o rangos de fechas
|
|
5
|
+
* basado en HeroUI siguiendo las reglas de diseño BeweOS.
|
|
6
|
+
* Maneja su propio estado interno de manera autónoma.
|
|
7
|
+
*/
|
|
8
|
+
export declare const DateSelector: React.FC<DateSelectorProps>;
|
|
9
|
+
//# sourceMappingURL=DateSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/date-selector/DateSelector.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAU9D;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmGpD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { HolidayType } from "@/types/calendar.types";
|
|
2
|
+
import type { DatePickerProps, DateValue, RadioProps } from "@heroui/react";
|
|
3
|
+
import type { DateRangePickerProps, RangeValue } from "@heroui/react";
|
|
4
|
+
import type { RadioGroupProps } from "@heroui/react";
|
|
5
|
+
export interface DateSelectorTranslations {
|
|
6
|
+
dayOption?: string;
|
|
7
|
+
dateRangeOption?: string;
|
|
8
|
+
selectDateAriaLabel?: string;
|
|
9
|
+
selectDateRangeAriaLabel?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface DateSelectorProps {
|
|
12
|
+
/** Tipo de selección de fecha inicial */
|
|
13
|
+
initialType?: HolidayType;
|
|
14
|
+
/** Fecha única inicial */
|
|
15
|
+
initialDate?: DateValue;
|
|
16
|
+
/** Rango de fechas inicial */
|
|
17
|
+
initialDateRange?: RangeValue<DateValue>;
|
|
18
|
+
/** Callback cuando cambia cualquier valor (tipo, fecha o rango) */
|
|
19
|
+
onChange?: (value: {
|
|
20
|
+
type: HolidayType;
|
|
21
|
+
date: DateValue | null;
|
|
22
|
+
dateRange: RangeValue<DateValue> | null;
|
|
23
|
+
}) => void;
|
|
24
|
+
/** Traducciones para los textos del componente */
|
|
25
|
+
translations?: DateSelectorTranslations;
|
|
26
|
+
/** Props adicionales para el RadioGroup */
|
|
27
|
+
radioGroupProps?: Partial<RadioGroupProps>;
|
|
28
|
+
/** Props adicionales para el Radio */
|
|
29
|
+
radioItemProps?: Partial<RadioProps>;
|
|
30
|
+
/** Props adicionales para el DatePicker */
|
|
31
|
+
datePickerProps?: Partial<DatePickerProps>;
|
|
32
|
+
/** Props adicionales para el DateRangePicker */
|
|
33
|
+
dateRangePickerProps?: Partial<DateRangePickerProps>;
|
|
34
|
+
/** Clase CSS adicional */
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=DateSelector.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateSelector.types.d.ts","sourceRoot":"","sources":["../../../../src/components/date-selector/DateSelector.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,wBAAwB;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,wBAAwB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,MAAM,WAAW,iBAAiB;IACjC,yCAAyC;IACzC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,0BAA0B;IAC1B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,8BAA8B;IAC9B,gBAAgB,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IACzC,mEAAmE;IACnE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAClB,IAAI,EAAE,WAAW,CAAC;QAClB,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;QACvB,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;KACxC,KAAK,IAAI,CAAC;IACX,kDAAkD;IAClD,YAAY,CAAC,EAAE,wBAAwB,CAAC;IACxC,2CAA2C;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAC3C,sCAAsC;IACtC,cAAc,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACrC,2CAA2C;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAC3C,gDAAgD;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACrD,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/date-selector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DatePicker } from "./DatePicker
|
|
2
|
-
export type { DatePickerProps } from "./DatePicker.types
|
|
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,
|
|
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
|
|
2
|
-
export type { DateRangePickerProps } from "./DateRangePicker.types
|
|
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,
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/h1/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA8BtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { MultiStepWizardProps } from "./MultiStepWizard.types";
|
|
2
|
+
export declare const MultiStepWizard: ({ isOpen, steps, translations, onClose, onComplete, completeButtonText, }: 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,2EAO7B,oBAAoB,mDA6JtB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
export interface Step {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
content: React.ReactNode;
|
|
6
|
+
isStepValid?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface MultiStepWizardProps {
|
|
9
|
+
isOpen?: boolean;
|
|
10
|
+
steps: Step[];
|
|
11
|
+
translations?: MultiStepWizardTranslations;
|
|
12
|
+
onClose: () => void;
|
|
13
|
+
/** Callback cuando se completa el último paso */
|
|
14
|
+
onComplete?: () => void;
|
|
15
|
+
/** Texto del botón en el último paso */
|
|
16
|
+
completeButtonText?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface MultiStepWizardTranslations {
|
|
19
|
+
continue?: string;
|
|
20
|
+
goBack?: string;
|
|
21
|
+
cancel?: string;
|
|
22
|
+
next?: string;
|
|
23
|
+
complete?: string;
|
|
24
|
+
}
|
|
25
|
+
//# 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;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,YAAY,CAAC,EAAE,2BAA2B,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,wCAAwC;IACxC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,2BAA2B;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -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,8FAiF5B,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"}
|
package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.types.d.ts
ADDED
|
@@ -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
|
package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.types.d.ts.map
ADDED
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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,2BAA2B,GAC3B,MAAM,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"P.d.ts","sourceRoot":"","sources":["../../../../src/components/p/P.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,eAAO,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"P.d.ts","sourceRoot":"","sources":["../../../../src/components/p/P.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,eAAO,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAS9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Phone.d.ts","sourceRoot":"","sources":["../../../../src/components/phone/Phone.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"Phone.d.ts","sourceRoot":"","sources":["../../../../src/components/phone/Phone.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoN3C,CAAC;AAEF,eAAe,KAAK,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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|