@beweco/aurora-ui 1.0.0-beta.121 → 1.0.0-beta.124
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 +239 -55
- package/dist/index.esm.js +246 -56
- package/dist/types/__smoke__/field-ref-surface.d.ts +34 -0
- package/dist/types/__smoke__/field-ref-surface.d.ts.map +1 -0
- package/dist/types/__smoke__/v2-api-surface.d.ts +12 -1
- package/dist/types/__smoke__/v2-api-surface.d.ts.map +1 -1
- package/dist/types/components/autocomplete/AutoComplete.d.ts.map +1 -1
- package/dist/types/components/datepicker/DatePicker.d.ts +1 -1
- package/dist/types/components/datepicker/DatePicker.d.ts.map +1 -1
- package/dist/types/components/datepicker/DatePicker.types.d.ts +38 -0
- package/dist/types/components/datepicker/DatePicker.types.d.ts.map +1 -1
- package/dist/types/components/daterangepicker/DateRangePicker.d.ts +1 -1
- package/dist/types/components/daterangepicker/DateRangePicker.d.ts.map +1 -1
- package/dist/types/components/daterangepicker/DateRangePicker.types.d.ts +42 -0
- package/dist/types/components/daterangepicker/DateRangePicker.types.d.ts.map +1 -1
- package/dist/types/components/dropdown/Dropdown.d.ts +56 -0
- package/dist/types/components/dropdown/Dropdown.d.ts.map +1 -0
- package/dist/types/components/dropdown/Dropdown.types.d.ts +54 -0
- package/dist/types/components/dropdown/Dropdown.types.d.ts.map +1 -0
- package/dist/types/components/dropdown/index.d.ts +3 -0
- package/dist/types/components/dropdown/index.d.ts.map +1 -0
- package/dist/types/components/input/Input.d.ts +12 -1
- package/dist/types/components/input/Input.d.ts.map +1 -1
- package/dist/types/components/input-password/InputPassword.d.ts +10 -1
- package/dist/types/components/input-password/InputPassword.d.ts.map +1 -1
- package/dist/types/components/select/Select.d.ts.map +1 -1
- package/dist/types/components/textarea/Textarea.d.ts +12 -1
- package/dist/types/components/textarea/Textarea.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -17,6 +17,44 @@ export interface DatePickerProps<T extends DateValue = DateValue> extends Omit<D
|
|
|
17
17
|
* prop reemplaza ese icono por defecto, igual que hacía `endContent` en v2.
|
|
18
18
|
*/
|
|
19
19
|
endContent?: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Contenido libre DENTRO del popover, bajo el calendario: el sitio de los presets
|
|
22
|
+
* ("Último mes cerrado", "Últimos 3 meses", "Año en curso"…) y de cualquier acción propia del
|
|
23
|
+
* desplegable.
|
|
24
|
+
*
|
|
25
|
+
* **Sustituye a `CalendarBottomContent` de HeroUI v2** — busca por ese nombre si vienes de v2.
|
|
26
|
+
* En v2 era `CalendarProps["bottomContent"]`; el nombre cambia a la convención `…Content` en
|
|
27
|
+
* camelCase del resto de la librería (`startContent`, `endContent`, `extraContent`).
|
|
28
|
+
*
|
|
29
|
+
* Lo medido en el navegador (Storybook, `custom-components-datepicker--with-calendar-bottom-content`):
|
|
30
|
+
*
|
|
31
|
+
* - Se pinta dentro del popover y 9px por debajo de la rejilla, alineado con ella: el popover
|
|
32
|
+
* mide 276px (los 252px del calendario + su `p-3`) y el contenido a lo ancho llega a esos
|
|
33
|
+
* 252px sin pedirlo. Contenido MÁS ancho que 252px ensancha el popover, que es `w-fit`.
|
|
34
|
+
* - **Pulsar algo aquí no cierra el popover** — comprobado con 9 casos (ratón y Enter, botón
|
|
35
|
+
* inerte y botón que escribe el valor, en `DatePicker` y en `DateRangePicker`): el popover
|
|
36
|
+
* sigue abierto y el valor llega al campo. Se cierra por las vías de siempre (elegir en la
|
|
37
|
+
* rejilla, `Escape`, clic fuera). Si quieres cerrarlo desde un preset, hazlo tú.
|
|
38
|
+
* - Es alcanzable por teclado: un `Tab` desde la celda del calendario.
|
|
39
|
+
* - Sigue visible y pulsable con el selector de año abierto (la rejilla de años de v3 se
|
|
40
|
+
* posiciona en absoluto sobre la de días, no sobre el resto del popover).
|
|
41
|
+
* - Si el contenido es alto y el popover no tiene sitio, React Aria le pone un `max-height`
|
|
42
|
+
* según el hueco disponible y el popover hace scroll (medido: 405px de contenido en un
|
|
43
|
+
* techo de 380px al abrirse hacia arriba). Con sitio suficiente no se recorta nada.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```tsx
|
|
47
|
+
* <DatePicker
|
|
48
|
+
* label="Fecha"
|
|
49
|
+
* calendarBottomContent={
|
|
50
|
+
* <Button size="sm" fullWidth onPress={() => setDate(today(getLocalTimeZone()))}>
|
|
51
|
+
* Hoy
|
|
52
|
+
* </Button>
|
|
53
|
+
* }
|
|
54
|
+
* />
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
calendarBottomContent?: ReactNode;
|
|
20
58
|
isInvalid?: boolean;
|
|
21
59
|
isRequired?: boolean;
|
|
22
60
|
isDisabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.types.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/DatePicker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,wFAAwF;AACxF,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;AAC7E,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AASpE,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,CAC/D,SAAQ,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IAC9D,mDAAmD;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iFAAiF;IACjF,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,sCAAsC;IACtC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,oCAAoC;IACpC,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
1
|
+
{"version":3,"file":"DatePicker.types.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/DatePicker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,wFAAwF;AACxF,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;AAC7E,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AASpE,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,CAC/D,SAAQ,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IAC9D,mDAAmD;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iFAAiF;IACjF,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,sCAAsC;IACtC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,oCAAoC;IACpC,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -5,6 +5,6 @@ import type { DateRangePickerProps } from "./DateRangePicker.types";
|
|
|
5
5
|
* `DatePicker`, migrado en tándem. Compone `DateRangePicker.Root/Trigger/TriggerIndicator/
|
|
6
6
|
* RangeSeparator/Popover` + `DateField` (dos segmentos, start/end) + `RangeCalendar`.
|
|
7
7
|
*/
|
|
8
|
-
export declare function DateRangePicker<T extends DateValue = DateValue>({ label, description, errorMessage, id, size, variant, radius, isInvalid, isRequired, isDisabled, fullWidth, endContent, className, "aria-label": ariaLabel, ...props }: DateRangePickerProps<T>): import("react").JSX.Element;
|
|
8
|
+
export declare function DateRangePicker<T extends DateValue = DateValue>({ label, description, errorMessage, id, size, variant, radius, isInvalid, isRequired, isDisabled, fullWidth, endContent, calendarBottomContent, className, "aria-label": ariaLabel, ...props }: DateRangePickerProps<T>): import("react").JSX.Element;
|
|
9
9
|
export default DateRangePicker;
|
|
10
10
|
//# sourceMappingURL=DateRangePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/daterangepicker/DateRangePicker.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,KAAK,EACX,oBAAoB,EAIpB,MAAM,yBAAyB,CAAC;AAgFjC;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAAE,EAChE,KAAK,EACL,WAAW,EACX,YAAY,EACZ,EAAE,EACF,IAAW,EACX,OAAoB,EACpB,MAAa,EACb,SAAiB,EACjB,UAAkB,EAClB,UAAkB,EAClB,SAAS,EACT,UAAU,EACV,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACR,EAAE,oBAAoB,CAAC,CAAC,CAAC,+
|
|
1
|
+
{"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/daterangepicker/DateRangePicker.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,KAAK,EACX,oBAAoB,EAIpB,MAAM,yBAAyB,CAAC;AAgFjC;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAAE,EAChE,KAAK,EACL,WAAW,EACX,YAAY,EACZ,EAAE,EACF,IAAW,EACX,OAAoB,EACpB,MAAa,EACb,SAAiB,EACjB,UAAkB,EAClB,UAAkB,EAClB,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,GAAG,KAAK,EACR,EAAE,oBAAoB,CAAC,CAAC,CAAC,+BAkFzB;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -13,6 +13,48 @@ export interface DateRangePickerProps<T extends DateValue = DateValue> extends O
|
|
|
13
13
|
errorMessage?: ReactNode;
|
|
14
14
|
/** Icono al final del campo — ver DatePicker.types.ts (mismo mecanismo). */
|
|
15
15
|
endContent?: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Contenido libre DENTRO del popover, bajo el calendario: el sitio de los presets de rango
|
|
18
|
+
* ("Último mes cerrado", "Últimos 3 meses", "Año en curso"…) y de cualquier acción propia del
|
|
19
|
+
* desplegable. Es la ranura que le faltaba al filtro global de fechas de beweanalytics, que
|
|
20
|
+
* tuvo que sacar sus presets a una fila bajo el campo.
|
|
21
|
+
*
|
|
22
|
+
* **Sustituye a `CalendarBottomContent` de HeroUI v2** — busca por ese nombre si vienes de v2.
|
|
23
|
+
* En v2 era `CalendarProps["bottomContent"]`; el nombre cambia a la convención `…Content` en
|
|
24
|
+
* camelCase del resto de la librería (`startContent`, `endContent`, `extraContent`).
|
|
25
|
+
*
|
|
26
|
+
* Lo medido en el navegador (Storybook,
|
|
27
|
+
* `custom-components-daterangepicker--with-calendar-bottom-content`):
|
|
28
|
+
*
|
|
29
|
+
* - Se pinta dentro del popover y 9px por debajo de la rejilla, alineado con ella: el popover
|
|
30
|
+
* mide 276px (los 252px del calendario + su `p-3`) y el contenido a lo ancho llega a esos
|
|
31
|
+
* 252px sin pedirlo. Contenido MÁS ancho que 252px ensancha el popover, que es `w-fit`.
|
|
32
|
+
* - **Pulsar algo aquí no cierra el popover** — comprobado con 9 casos (ratón y Enter, botón
|
|
33
|
+
* inerte y presets que escriben el rango): el popover sigue abierto y el rango llega al
|
|
34
|
+
* campo (`8/1/2026 - 8/31/2026` con "Último mes cerrado"). Se cierra por las vías de siempre
|
|
35
|
+
* (elegir en la rejilla, `Escape`, clic fuera). Si quieres cerrarlo desde un preset, hazlo tú.
|
|
36
|
+
* - Es alcanzable por teclado: un `Tab` desde la celda del calendario.
|
|
37
|
+
* - Sigue visible y pulsable con el selector de año abierto (la rejilla de años de v3 se
|
|
38
|
+
* posiciona en absoluto sobre la de días, no sobre el resto del popover).
|
|
39
|
+
* - Si el contenido es alto y el popover no tiene sitio, React Aria le pone un `max-height`
|
|
40
|
+
* según el hueco disponible y el popover hace scroll (medido: 405px de contenido en un
|
|
41
|
+
* techo de 380px al abrirse hacia arriba). Con sitio suficiente no se recorta nada.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* <DateRangePicker
|
|
46
|
+
* label="Periodo"
|
|
47
|
+
* calendarBottomContent={
|
|
48
|
+
* <div className="flex flex-col gap-1 border-default-200 border-t pt-2">
|
|
49
|
+
* <Button size="sm" variant="flat" fullWidth onPress={() => setRange(lastClosedMonth())}>
|
|
50
|
+
* Último mes cerrado
|
|
51
|
+
* </Button>
|
|
52
|
+
* </div>
|
|
53
|
+
* }
|
|
54
|
+
* />
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
calendarBottomContent?: ReactNode;
|
|
16
58
|
isInvalid?: boolean;
|
|
17
59
|
isRequired?: boolean;
|
|
18
60
|
isDisabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRangePicker.types.d.ts","sourceRoot":"","sources":["../../../../src/components/daterangepicker/DateRangePicker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACrD,wFAAwF;AACxF,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;AAClF,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAOzE,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,CACpE,SAAQ,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IACnE,mDAAmD;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iFAAiF;IACjF,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,sCAAsC;IACtC,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,oCAAoC;IACpC,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
1
|
+
{"version":3,"file":"DateRangePicker.types.d.ts","sourceRoot":"","sources":["../../../../src/components/daterangepicker/DateRangePicker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACrD,wFAAwF;AACxF,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;AAClF,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAOzE,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,CACpE,SAAQ,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IACnE,mDAAmD;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iFAAiF;IACjF,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,sCAAsC;IACtC,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,oCAAoC;IACpC,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { DropdownProps, DropdownSectionProps } from "./Dropdown.types";
|
|
3
|
+
/**
|
|
4
|
+
* `DropdownSection` de Aurora: la sección de v3 con el `title` de v2, más el `Header` de v3 como
|
|
5
|
+
* estático — la vía idiomática de v3 para quien escriba marcado nuevo:
|
|
6
|
+
*
|
|
7
|
+
* ```tsx
|
|
8
|
+
* <DropdownSection title="Gestionar columnas">…</DropdownSection> // API v2
|
|
9
|
+
* <DropdownSection><DropdownSection.Header>…</DropdownSection.Header>…</DropdownSection> // v3
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* `Header` es el objeto EXACTO que exporta `@heroui/react`, así que la pieza se comporta igual
|
|
13
|
+
* que importándola de HeroUI (lo que las apps no pueden hacer).
|
|
14
|
+
*/
|
|
15
|
+
export declare const DropdownSection: {
|
|
16
|
+
({ title, classNames, className, children, ...props }: DropdownSectionProps): React.JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
} & {
|
|
19
|
+
Header: ({ children, className, ...rest }: import("@heroui/react").HeaderRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* `Dropdown` de Aurora: el root de v3 **más el `Dropdown.Popover` que faltaba**, con el compound
|
|
23
|
+
* completo colgado como estáticos y `Dropdown.Section` apuntando a la FACHADA de la sección.
|
|
24
|
+
*
|
|
25
|
+
* Dos defectos de la migración en una pieza:
|
|
26
|
+
* 1. **El popover que v3 exige** y v2 no pedía: sin él el menú se pinta en línea (ver el bloque
|
|
27
|
+
* de comentarios de arriba). La fachada lo inserta si falta y respeta el del consumidor si ya
|
|
28
|
+
* está.
|
|
29
|
+
* 2. **La cabecera de sección**: si solo se pisara el `DropdownSection` plano,
|
|
30
|
+
* `Dropdown.Section` seguiría siendo el crudo de v3 y la misma pieza aceptaría `title` o no
|
|
31
|
+
* según por qué nombre se llegue — el "falso amigo" que ya costó rondas en
|
|
32
|
+
* Alert/Checkbox/Switch (el tipo v2 compilaba pero el componente era el de v3).
|
|
33
|
+
*
|
|
34
|
+
* `Dropdown.Root` queda deliberadamente crudo (el `MenuTrigger` pelado de v3, sin popover),
|
|
35
|
+
* igual que en `Table`: vía de escape para montar la anatomía a mano.
|
|
36
|
+
*/
|
|
37
|
+
export declare const Dropdown: {
|
|
38
|
+
({ children, ...props }: DropdownProps): React.JSX.Element;
|
|
39
|
+
displayName: string;
|
|
40
|
+
} & {
|
|
41
|
+
Item: (props: import("@heroui/react").DropdownItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
ItemIndicator: (props: import("@heroui/react").DropdownItemIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
Menu: typeof import("@heroui/react").DropdownMenu;
|
|
44
|
+
Popover: ({ children, className, placement, ...props }: import("@heroui/react").DropdownPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
Root: ({ children, ...props }: import("@heroui/react").DropdownRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
Section: {
|
|
47
|
+
({ title, classNames, className, children, ...props }: DropdownSectionProps): React.JSX.Element;
|
|
48
|
+
displayName: string;
|
|
49
|
+
} & {
|
|
50
|
+
Header: ({ children, className, ...rest }: import("@heroui/react").HeaderRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
};
|
|
52
|
+
SubmenuIndicator: (props: import("@heroui/react").DropdownSubmenuIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
SubmenuTrigger: ({ children, ...props }: import("@heroui/react").DropdownSubmenuTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
Trigger: ({ children, className, ...props }: import("@heroui/react").DropdownTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/Dropdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AA0G5E;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe;2DA9BzB,oBAAoB;;;;CAgCrB,CAAC;AAuFH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ;6BArD2B,aAAa;;;;;;;;;+DAlF1D,oBAAoB;;;;;;;;CAiJrB,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { DropdownRootProps, DropdownSectionProps as HeroUIDropdownSectionProps } from "@heroui/react";
|
|
2
|
+
import type React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Props del root del Dropdown. Son EXACTAMENTE las de v3 (`DropdownRootProps`): la fachada del
|
|
5
|
+
* root no añade ni quita nada — existe solo para colgar los estáticos del compound con
|
|
6
|
+
* `Dropdown.Section` apuntando a la fachada de la sección (ver `Dropdown.tsx`).
|
|
7
|
+
*/
|
|
8
|
+
export type DropdownProps = DropdownRootProps;
|
|
9
|
+
/**
|
|
10
|
+
* Clases por slot de la sección, subconjunto REAL del `classNames` de v2
|
|
11
|
+
* (`SlotsToClasses<"base" | "heading" | "group" | "divider">`).
|
|
12
|
+
*
|
|
13
|
+
* Solo están los dos slots que existen en la anatomía de v3:
|
|
14
|
+
* - `base` → el `<section>` (slot `base` de v2).
|
|
15
|
+
* - `heading` → la cabecera (slot `heading` de v2).
|
|
16
|
+
*
|
|
17
|
+
* `group` y `divider` NO se admiten a propósito: v3 no envuelve los ítems en un `<ul>` (van como
|
|
18
|
+
* hijos directos del `<section>`, `@heroui/styles/dist/components/menu-section.css`) y el
|
|
19
|
+
* separador dejó de ser parte de la sección (`showDivider` desapareció; se compone un
|
|
20
|
+
* `Separator`/`Divider` entre secciones, ver `header/_internal/config-menu/ConfigMenu.tsx`).
|
|
21
|
+
* Pasarlos es error de tipos, no un silencio.
|
|
22
|
+
*/
|
|
23
|
+
export type DropdownSectionClassNames = {
|
|
24
|
+
/** Clases para el `<section>` raíz (slot `base` de v2). */
|
|
25
|
+
base?: string;
|
|
26
|
+
/** Clases para la cabecera (slot `heading` de v2). */
|
|
27
|
+
heading?: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Props de la sección: las de v3 más el `title` y el `classNames` de v2.
|
|
31
|
+
*
|
|
32
|
+
* `children` se estrecha a `React.ReactNode`: el tipo de v3 admite además una función
|
|
33
|
+
* `(item) => ReactElement`, forma que en una sección de v3 no tiene de dónde iterar (v3 quitó la
|
|
34
|
+
* prop `items` de las secciones; la colección dinámica se compone con `<Collection items>`
|
|
35
|
+
* dentro). Si se admitiera, un `title` junto a una función quedaría descartado en silencio.
|
|
36
|
+
*/
|
|
37
|
+
export type DropdownSectionProps = Omit<HeroUIDropdownSectionProps, "children"> & {
|
|
38
|
+
/**
|
|
39
|
+
* Cabecera visible de la sección — **sustituye al `title` de `DropdownSection` de v2**.
|
|
40
|
+
*
|
|
41
|
+
* v3 quitó la prop (`DropdownSectionProps extends ComponentPropsWithRef<typeof
|
|
42
|
+
* MenuSectionRoot>`, y `SectionProps` de react-aria omite `title` explícitamente) y pasó la
|
|
43
|
+
* cabecera a un componente, el `Header` de react-aria. La fachada lo compone por dentro, así
|
|
44
|
+
* que el JSX de v2 (`<DropdownSection title="…">`) sigue funcionando sin cambios.
|
|
45
|
+
*
|
|
46
|
+
* Vacío (`undefined`/`null`/`""`/`false`) = sin cabecera, igual que en v2.
|
|
47
|
+
*/
|
|
48
|
+
title?: React.ReactNode;
|
|
49
|
+
/** Clases por slot (subconjunto de v2 que existe en v3). Ver `DropdownSectionClassNames`. */
|
|
50
|
+
classNames?: DropdownSectionClassNames;
|
|
51
|
+
/** Contenido de la sección: ítems (`DropdownItem`) y, si hace falta, una `<Collection>`. */
|
|
52
|
+
children?: React.ReactNode;
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=Dropdown.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dropdown.types.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/Dropdown.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,iBAAiB,EACjB,oBAAoB,IAAI,0BAA0B,EAClD,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAE9C;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACvC,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACtC,0BAA0B,EAC1B,UAAU,CACV,GAAG;IACH;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,6FAA6F;IAC7F,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,4FAA4F;IAC5F,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACvD,YAAY,EACX,aAAa,EACb,yBAAyB,EACzB,oBAAoB,GACpB,MAAM,kBAAkB,CAAC"}
|
|
@@ -13,7 +13,18 @@ import type { InputProps } from "./Input.types";
|
|
|
13
13
|
* - Radius configurable (v3 no tiene la prop).
|
|
14
14
|
* - `startContent`/`endContent` → `InputGroup.Prefix`/`InputGroup.Suffix`.
|
|
15
15
|
* - `isClearable` → botón de limpiar propio (`CloseButton`); solo en modo controlado (`value`).
|
|
16
|
+
*
|
|
17
|
+
* `ref` apunta al `<input>` REAL (`HTMLInputElement`), no al `InputGroup` ni al `TextField` que lo
|
|
18
|
+
* envuelven: el consumidor que necesita el nodo —insertar texto en la posición del cursor con
|
|
19
|
+
* `selectionStart`/`setSelectionRange`, enfocar, leer `validity`— lo alcanza directamente.
|
|
20
|
+
*
|
|
21
|
+
* ⚠️ Se reenvía con `forwardRef` (patrón de las 8 fachadas del repo que ya lo hacen) y NO
|
|
22
|
+
* confiando en que React 19 pase `ref` dentro de `...rest`: medido, en React 19 eso ya funcionaba
|
|
23
|
+
* de rebote —el `ref` viajaba en el spread hasta `InputGroup.Input`, que también hace spread— pero
|
|
24
|
+
* (a) el tipo público lo rechazaba, así que el consumidor no podía escribirlo sin un `as any`, y
|
|
25
|
+
* (b) era accidental: cualquier prop que se añadiese al destructuring lo habría cortado en
|
|
26
|
+
* silencio.
|
|
16
27
|
*/
|
|
17
|
-
export declare const Input: React.
|
|
28
|
+
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
18
29
|
export default Input;
|
|
19
30
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,UAAU,EAA0B,MAAM,eAAe,CAAC;AAsRxE
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,UAAU,EAA0B,MAAM,eAAe,CAAC;AAsRxE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,KAAK,qFAwLjB,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import type { InputPasswordProps } from "./InputPassword.types";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Campo de contraseña: la fachada `Input` con un botón de mostrar/ocultar y, opcionalmente, la
|
|
4
|
+
* lista de criterios.
|
|
5
|
+
*
|
|
6
|
+
* `ref` apunta al `<input>` REAL (`HTMLInputElement`) — el mismo contrato que `Input`, no el `<div>`
|
|
7
|
+
* que envuelve campo y criterios. Estaba afectado por el mismo defecto de tipos que `Input` y
|
|
8
|
+
* `Textarea`: el `ref` llegaba al `<input>` en runtime (React 19 lo pasaba dentro de
|
|
9
|
+
* `...inputProps`) pero `InputPasswordProps` no lo declaraba, así que TypeScript lo rechazaba.
|
|
10
|
+
*/
|
|
11
|
+
export declare const InputPassword: import("react").ForwardRefExoticComponent<InputPasswordProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
3
12
|
//# sourceMappingURL=InputPassword.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputPassword.d.ts","sourceRoot":"","sources":["../../../../src/components/input-password/InputPassword.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"InputPassword.d.ts","sourceRoot":"","sources":["../../../../src/components/input-password/InputPassword.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,iHAyFzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/select/Select.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EACX,WAAW,EAIX,MAAM,gBAAgB,CAAC;AA0SxB;;;;;;;;;GASG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/select/Select.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EACX,WAAW,EAIX,MAAM,gBAAgB,CAAC;AA0SxB;;;;;;;;;GASG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA0OxC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -4,7 +4,18 @@ import type { TextareaProps } from "./Textarea.types";
|
|
|
4
4
|
* Textarea genérico reutilizable basado en HeroUI v3 (TextField + TextArea) siguiendo las reglas
|
|
5
5
|
* de diseño BeweOS (TECH-2459 · F3 · G1-forms). La API pública v2 (label, description,
|
|
6
6
|
* errorMessage, variant, size, radius, isClearable-less) se conserva sin cambios.
|
|
7
|
+
*
|
|
8
|
+
* `ref` apunta al `<textarea>` REAL (`HTMLTextAreaElement`), no al contenedor: el consumidor que
|
|
9
|
+
* necesita el nodo —insertar texto en la posición del cursor con `selectionStart`/
|
|
10
|
+
* `setSelectionRange`, enfocar, medir— lo alcanza directamente.
|
|
11
|
+
*
|
|
12
|
+
* ⚠️ Se reenvía con `forwardRef` (patrón de las 8 fachadas del repo que ya lo hacen) y NO
|
|
13
|
+
* confiando en que React 19 pase `ref` dentro de `...rest`: medido, en React 19 eso ya funcionaba
|
|
14
|
+
* de rebote —el `ref` viajaba en el spread hasta el `TextAreaRoot` de v3, que también hace spread—
|
|
15
|
+
* pero (a) el tipo público lo rechazaba, así que el consumidor no podía escribirlo sin un `as any`
|
|
16
|
+
* y acababa colgando el ref del contenedor y buscando el `<textarea>` con una query, y (b) era
|
|
17
|
+
* accidental: cualquier prop que se añadiese al destructuring lo habría cortado en silencio.
|
|
7
18
|
*/
|
|
8
|
-
export declare const Textarea: React.
|
|
19
|
+
export declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
9
20
|
export default Textarea;
|
|
10
21
|
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../src/components/textarea/Textarea.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EACX,aAAa,EAIb,MAAM,kBAAkB,CAAC;AAiH1B
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../src/components/textarea/Textarea.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EACX,aAAa,EAIb,MAAM,kBAAkB,CAAC;AAiH1B;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ,2FA+GpB,CAAC;AAIF,eAAe,QAAQ,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./styles/globals.css";
|
|
2
2
|
import "./styles/linda-aura.css";
|
|
3
|
-
export { Accordion, AccordionItem, Avatar, Breadcrumbs, CardFooter, CardHeader, CheckboxGroup, CloseButton, cn, type DateValue, Drawer, DrawerBody, DrawerContent, DrawerFooter, DrawerHeader,
|
|
3
|
+
export { Accordion, AccordionItem, Avatar, Breadcrumbs, CardFooter, CardHeader, CheckboxGroup, CloseButton, cn, type DateValue, Drawer, DrawerBody, DrawerContent, DrawerFooter, DrawerHeader, DropdownItem, DropdownMenu, DropdownTrigger, Link, Popover, PopoverContent, PopoverTrigger, Radio, RadioGroup, type RangeValue, Skeleton, Slider, Spinner, Tab, TableBody, TableCell, TableColumn, TableHeader, TableRow, Tabs, } from "@heroui/react";
|
|
4
4
|
export { AutocompleteItem, BreadcrumbItem, CardBody, Divider, HeroUIProvider, Image, Progress, SelectItem, SelectSection, useDisclosure, type Selection, type SortDescriptor, type TextAreaProps, } from "./compat/heroui-v2-shims";
|
|
5
5
|
export * from "./components/accordion-list";
|
|
6
6
|
export * from "./components/add-holiday-form";
|
|
@@ -75,6 +75,7 @@ export { Input, type InputProps } from "./components/input";
|
|
|
75
75
|
export { SearchInput, type SearchInputProps } from "./components/search-input";
|
|
76
76
|
export { Select, type SelectProps } from "./components/select";
|
|
77
77
|
export { Table, type TableProps } from "./components/table";
|
|
78
|
+
export { Dropdown, DropdownSection, type DropdownProps, type DropdownSectionClassNames, type DropdownSectionProps, } from "./components/dropdown";
|
|
78
79
|
export { Textarea, type TextareaProps } from "./components/textarea";
|
|
79
80
|
export { DatePicker, type DatePickerProps, } from "./components/datepicker";
|
|
80
81
|
export { DateRangePicker, type DateRangePickerProps, } from "./components/daterangepicker";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,yBAAyB,CAAC;AAsCjC,OAAO,EACN,SAAS,EACT,aAAa,EACb,MAAM,EACN,WAAW,EACX,UAAU,EACV,UAAU,EACV,aAAa,EACb,WAAW,EACX,EAAE,EACF,KAAK,SAAS,EACd,MAAM,EACN,UAAU,EACV,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,IAAI,EACJ,OAAO,EACP,cAAc,EACd,cAAc,EACd,KAAK,EACL,UAAU,EACV,KAAK,UAAU,EACf,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,EACH,SAAS,EACT,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,IAAI,GACJ,MAAM,eAAe,CAAC;AAUvB,OAAO,EACN,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,OAAO,EACP,cAAc,EACd,KAAK,EACL,QAAQ,EACR,UAAU,EACV,aAAa,EACb,aAAa,EACb,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,aAAa,GAClB,MAAM,0BAA0B,CAAC;AAIlC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAI1C,OAAO,EACN,WAAW,EACX,yBAAyB,EACzB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,GACpB,MAAM,2BAA2B,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB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AK,eAAe,EACpB,KAAK,oBAAoB,GACzB,MAAM,mCAAmC,CAAC;AAG3C,cAAc,wBAAwB,CAAC;AAGvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAI9C,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGlE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beweco/aurora-ui",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.124",
|
|
4
4
|
"description": "Bewe Aurora UI Component Library",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"framer-motion": "^12.41.0",
|
|
91
91
|
"http-server": "^14.1.1",
|
|
92
92
|
"husky": "^9.1.7",
|
|
93
|
+
"jsdom": "26.1.0",
|
|
93
94
|
"postcss": "^8.5.5",
|
|
94
95
|
"postcss-loader": "^8.1.1",
|
|
95
96
|
"react": ">=18.0.0",
|