@als-tp/als-react-ts-ui 0.5.3 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +134 -11
- package/dist/aicomponents/ALSAIConversation/ALSAIConversation.d.ts +52 -0
- package/dist/aicomponents/ALSAIConversation/ALSAIConversation.d.ts.map +1 -0
- package/dist/aicomponents/ALSAIConversation/index.d.ts +8 -0
- package/dist/aicomponents/ALSAIConversation/index.d.ts.map +1 -0
- package/dist/aicomponents/ALSAIMessage/ALSAIMessage.d.ts +102 -0
- package/dist/aicomponents/ALSAIMessage/ALSAIMessage.d.ts.map +1 -0
- package/dist/aicomponents/ALSAIMessage/index.d.ts +7 -0
- package/dist/aicomponents/ALSAIMessage/index.d.ts.map +1 -0
- package/dist/aicomponents/ALSAIPromptInput/ALSAIPromptInput.d.ts +242 -0
- package/dist/aicomponents/ALSAIPromptInput/ALSAIPromptInput.d.ts.map +1 -0
- package/dist/aicomponents/ALSAIPromptInput/index.d.ts +19 -0
- package/dist/aicomponents/ALSAIPromptInput/index.d.ts.map +1 -0
- package/dist/aicomponents/ALSAIResponse/ALSAIResponse.d.ts +12 -0
- package/dist/aicomponents/ALSAIResponse/ALSAIResponse.d.ts.map +1 -0
- package/dist/aicomponents/ALSAIResponse/index.d.ts +5 -0
- package/dist/aicomponents/ALSAIResponse/index.d.ts.map +1 -0
- package/dist/als-react-ts-ui.js +11466 -10635
- package/dist/components/ALSAccordion/ALSAccordion.d.ts +65 -0
- package/dist/components/ALSAccordion/ALSAccordion.d.ts.map +1 -0
- package/dist/components/ALSAccordion/index.d.ts +6 -63
- package/dist/components/ALSAccordion/index.d.ts.map +1 -1
- package/dist/components/ALSAlertDialog/ALSAlertDialog.d.ts +1 -1
- package/dist/components/ALSAlertDialog/ALSAlertDialog.d.ts.map +1 -1
- package/dist/components/ALSAlertDialog/index.d.ts +1 -1
- package/dist/components/ALSAutocomplete/ALSAutocomplete.d.ts +16 -16
- package/dist/components/ALSAutocomplete/ALSAutocomplete.d.ts.map +1 -1
- package/dist/components/ALSAutocomplete/index.d.ts +16 -16
- package/dist/components/ALSCheckbox/ALSCheckbox.d.ts +1 -1
- package/dist/components/ALSCheckbox/ALSCheckbox.d.ts.map +1 -1
- package/dist/components/ALSCheckboxGroup/ALSCheckboxGroup.d.ts +1 -1
- package/dist/components/ALSCheckboxGroup/ALSCheckboxGroup.d.ts.map +1 -1
- package/dist/components/ALSCombobox/ALSCombobox.d.ts +4 -4
- package/dist/components/ALSCombobox/ALSCombobox.d.ts.map +1 -1
- package/dist/components/ALSCombobox/index.d.ts +3 -3
- package/dist/components/ALSContextMenu/ALSContextMenu.d.ts +3 -3
- package/dist/components/ALSContextMenu/ALSContextMenu.d.ts.map +1 -1
- package/dist/components/ALSContextMenu/index.d.ts +2 -2
- package/dist/components/ALSDialog/ALSDialog.d.ts +79 -0
- package/dist/components/ALSDialog/ALSDialog.d.ts.map +1 -0
- package/dist/components/ALSDialog/index.d.ts +9 -75
- package/dist/components/ALSDialog/index.d.ts.map +1 -1
- package/dist/components/ALSField/ALSField.d.ts +1 -1
- package/dist/components/ALSField/ALSField.d.ts.map +1 -1
- package/dist/components/ALSFieldset/ALSFieldset.d.ts +1 -1
- package/dist/components/ALSFieldset/ALSFieldset.d.ts.map +1 -1
- package/dist/components/ALSLoader/ALSLoader.d.ts +54 -0
- package/dist/components/ALSLoader/ALSLoader.d.ts.map +1 -0
- package/dist/components/ALSLoader/index.d.ts +5 -0
- package/dist/components/ALSLoader/index.d.ts.map +1 -0
- package/dist/components/ALSNavigationMenu/ALSNavigationMenu.d.ts +1 -1
- package/dist/components/ALSNavigationMenu/ALSNavigationMenu.d.ts.map +1 -1
- package/dist/components/ALSPopover/ALSPopover.d.ts +25 -0
- package/dist/components/ALSPopover/ALSPopover.d.ts.map +1 -0
- package/dist/components/ALSPopover/index.d.ts +16 -40
- package/dist/components/ALSPopover/index.d.ts.map +1 -1
- package/dist/components/ALSProgress/ALSProgress.d.ts +6 -7
- package/dist/components/ALSProgress/ALSProgress.d.ts.map +1 -1
- package/dist/components/ALSProgress/index.d.ts +4 -4
- package/dist/components/ALSRadio/ALSRadio.d.ts +1 -1
- package/dist/components/ALSRadio/index.d.ts +1 -1
- package/dist/components/ALSSelect/ALSSelect.d.ts +30 -0
- package/dist/components/ALSSelect/ALSSelect.d.ts.map +1 -0
- package/dist/components/ALSSelect/index.d.ts +9 -35
- package/dist/components/ALSSelect/index.d.ts.map +1 -1
- package/dist/components/ALSToast/ALSToast.d.ts +91 -0
- package/dist/components/ALSToast/ALSToast.d.ts.map +1 -0
- package/dist/components/ALSToast/index.d.ts +11 -88
- package/dist/components/ALSToast/index.d.ts.map +1 -1
- package/dist/components/ALSToolbar/ALSToolbar.d.ts +7 -8
- package/dist/components/ALSToolbar/ALSToolbar.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/layout/MainLayout/index.d.ts +0 -12
- package/dist/layout/MainLayout/index.d.ts.map +1 -1
- package/dist/layout/MainLayout/useLayout.d.ts +15 -0
- package/dist/layout/MainLayout/useLayout.d.ts.map +1 -0
- package/package.json +29 -25
|
@@ -1,79 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
type DialogVariant = "default" | "centered";
|
|
3
|
-
type DialogSize = "sm" | "md" | "lg";
|
|
4
|
-
interface ALSDialogRootProps {
|
|
5
|
-
/** Whether the dialog is open (controlled) */
|
|
6
|
-
open?: boolean;
|
|
7
|
-
/** Default open state (uncontrolled) */
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
|
-
/** Callback when open state changes */
|
|
10
|
-
onOpenChange?: (open: boolean) => void;
|
|
11
|
-
/** Whether the dialog is modal (blocks interaction with the rest of the page) */
|
|
12
|
-
modal?: boolean;
|
|
13
|
-
/** Visual variant of the dialog */
|
|
14
|
-
variant?: DialogVariant;
|
|
15
|
-
/** Size variant */
|
|
16
|
-
size?: DialogSize;
|
|
17
|
-
/** Additional class name */
|
|
18
|
-
className?: string;
|
|
19
|
-
/** Children */
|
|
20
|
-
children: React.ReactNode;
|
|
21
|
-
}
|
|
22
|
-
interface ALSDialogTriggerProps {
|
|
23
|
-
/** Additional class name */
|
|
24
|
-
className?: string;
|
|
25
|
-
/** Children */
|
|
26
|
-
children: React.ReactNode;
|
|
27
|
-
/** Whether to render as child element */
|
|
28
|
-
asChild?: boolean;
|
|
29
|
-
}
|
|
30
|
-
interface ALSDialogBackdropProps {
|
|
31
|
-
/** Additional class name */
|
|
32
|
-
className?: string;
|
|
33
|
-
/** Whether to keep the backdrop mounted when closed */
|
|
34
|
-
keepMounted?: boolean;
|
|
35
|
-
}
|
|
36
|
-
interface ALSDialogPortalProps {
|
|
37
|
-
/** Container element to portal into */
|
|
38
|
-
container?: HTMLElement | null;
|
|
39
|
-
/** Whether to keep the portal mounted when closed */
|
|
40
|
-
keepMounted?: boolean;
|
|
41
|
-
/** Children */
|
|
42
|
-
children: React.ReactNode;
|
|
43
|
-
}
|
|
44
|
-
interface ALSDialogPopupProps {
|
|
45
|
-
/** Additional class name */
|
|
46
|
-
className?: string;
|
|
47
|
-
/** Children */
|
|
48
|
-
children: React.ReactNode;
|
|
49
|
-
}
|
|
50
|
-
interface ALSDialogTitleProps {
|
|
51
|
-
/** Additional class name */
|
|
52
|
-
className?: string;
|
|
53
|
-
/** Children */
|
|
54
|
-
children: React.ReactNode;
|
|
55
|
-
}
|
|
56
|
-
interface ALSDialogDescriptionProps {
|
|
57
|
-
/** Additional class name */
|
|
58
|
-
className?: string;
|
|
59
|
-
/** Children */
|
|
60
|
-
children: React.ReactNode;
|
|
61
|
-
}
|
|
62
|
-
interface ALSDialogCloseProps {
|
|
63
|
-
/** Additional class name */
|
|
64
|
-
className?: string;
|
|
65
|
-
/** Children (optional, defaults to X icon) */
|
|
66
|
-
children?: React.ReactNode;
|
|
67
|
-
}
|
|
1
|
+
import type { ALSDialogRootProps, ALSDialogTriggerProps, ALSDialogBackdropProps, ALSDialogPortalProps, ALSDialogPopupProps, ALSDialogTitleProps, ALSDialogDescriptionProps, ALSDialogCloseProps, DialogVariant, DialogSize } from "./ALSDialog";
|
|
68
2
|
export declare const ALSDialog: {
|
|
69
|
-
Root:
|
|
70
|
-
Trigger:
|
|
71
|
-
Backdrop:
|
|
72
|
-
Portal:
|
|
73
|
-
Popup:
|
|
74
|
-
Title:
|
|
75
|
-
Description:
|
|
76
|
-
Close:
|
|
3
|
+
Root: import("react").FC<ALSDialogRootProps>;
|
|
4
|
+
Trigger: import("react").ForwardRefExoticComponent<ALSDialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
Backdrop: import("react").ForwardRefExoticComponent<ALSDialogBackdropProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
Portal: import("react").FC<ALSDialogPortalProps>;
|
|
7
|
+
Popup: import("react").ForwardRefExoticComponent<ALSDialogPopupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
Title: import("react").ForwardRefExoticComponent<ALSDialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
9
|
+
Description: import("react").ForwardRefExoticComponent<ALSDialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
10
|
+
Close: import("react").ForwardRefExoticComponent<ALSDialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
77
11
|
};
|
|
78
12
|
export type { ALSDialogRootProps, ALSDialogTriggerProps, ALSDialogBackdropProps, ALSDialogPortalProps, ALSDialogPopupProps, ALSDialogTitleProps, ALSDialogDescriptionProps, ALSDialogCloseProps, DialogVariant, DialogSize, };
|
|
79
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSDialog/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSDialog/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACR,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,aAAa,EACb,UAAU,EACb,MAAM,aAAa,CAAC;AAMrB,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC;AAEF,YAAY,EACR,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,aAAa,EACb,UAAU,GACb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ALSField.d.ts","sourceRoot":"","sources":["../../../src/components/ALSField/ALSField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ALSField.d.ts","sourceRoot":"","sources":["../../../src/components/ALSField/ALSField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAM7C,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,IAAI,CAAC,KAAK;IACvD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,KAAK,CAAC,KAAK;IACzD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,OAAO,CAAC,KAAK;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,WAAW,CAAC,KAAK;IACpE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,KAAK,CAAC,KAAK;IACzD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAID,eAAO,MAAM,YAAY,0FAcxB,CAAC;AAIF,eAAO,MAAM,aAAa,6FAexB,CAAC;AAIH,eAAO,MAAM,eAAe,+FAa1B,CAAC;AAIH,eAAO,MAAM,kBAAkB,sGAe7B,CAAC;AAIH,eAAO,MAAM,aAAa,2FAexB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ALSFieldset.d.ts","sourceRoot":"","sources":["../../../src/components/ALSFieldset/ALSFieldset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ALSFieldset.d.ts","sourceRoot":"","sources":["../../../src/components/ALSFieldset/ALSFieldset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAMnD,MAAM,WAAW,oBAAqB,SAAQ,QAAQ,CAAC,IAAI,CAAC,KAAK;IAC7D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,sBAAuB,SAAQ,QAAQ,CAAC,MAAM,CAAC,KAAK;IACjE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAID,eAAO,MAAM,eAAe,kGAe1B,CAAC;AAIH,eAAO,MAAM,iBAAiB,+FAe5B,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Tamaños disponibles para ALSLoader.
|
|
4
|
+
*/
|
|
5
|
+
export type ALSLoaderSize = "sm" | "md" | "lg";
|
|
6
|
+
/**
|
|
7
|
+
* Variantes visuales para ALSLoader.
|
|
8
|
+
*/
|
|
9
|
+
export type ALSLoaderVariant = "primary" | "secondary" | "inherit";
|
|
10
|
+
/**
|
|
11
|
+
* Tipos de loader.
|
|
12
|
+
*/
|
|
13
|
+
export type ALSLoaderType = "dots" | "spinner" | "pulse" | "bars" | "wave" | "thinking" | "thiking";
|
|
14
|
+
/**
|
|
15
|
+
* Velocidad del loader (controla duración de animaciones).
|
|
16
|
+
*/
|
|
17
|
+
export type ALSLoaderSpeed = "slow" | "md" | "fast";
|
|
18
|
+
/**
|
|
19
|
+
* Props para ALSLoader.
|
|
20
|
+
*/
|
|
21
|
+
export interface ALSLoaderProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
22
|
+
/**
|
|
23
|
+
* Tipo de animación.
|
|
24
|
+
* @default 'spinner'
|
|
25
|
+
*/
|
|
26
|
+
type?: ALSLoaderType;
|
|
27
|
+
/**
|
|
28
|
+
* Tamaño del loader.
|
|
29
|
+
* @default 'md'
|
|
30
|
+
*/
|
|
31
|
+
size?: ALSLoaderSize;
|
|
32
|
+
/**
|
|
33
|
+
* Variante de color.
|
|
34
|
+
* @default 'primary'
|
|
35
|
+
*/
|
|
36
|
+
variant?: ALSLoaderVariant;
|
|
37
|
+
/**
|
|
38
|
+
* Velocidad de animación.
|
|
39
|
+
* @default 'md'
|
|
40
|
+
*/
|
|
41
|
+
speed?: ALSLoaderSpeed;
|
|
42
|
+
/**
|
|
43
|
+
* Texto accesible para lectores de pantalla.
|
|
44
|
+
* @default 'Loading'
|
|
45
|
+
*/
|
|
46
|
+
label?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Si es true, detiene la animación.
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
paused?: boolean;
|
|
52
|
+
}
|
|
53
|
+
export declare const ALSLoader: React.ForwardRefExoticComponent<ALSLoaderProps & React.RefAttributes<HTMLSpanElement>>;
|
|
54
|
+
//# sourceMappingURL=ALSLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ALSLoader.d.ts","sourceRoot":"","sources":["../../../src/components/ALSLoader/ALSLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,aAAa,GACnB,MAAM,GACN,SAAS,GACT,OAAO,GACP,MAAM,GACN,MAAM,GACN,UAAU,GACV,SAAS,CAAC;AAEhB;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IACzE;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;;OAGG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAkBD,eAAO,MAAM,SAAS,wFA+CrB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ALSLoader } from "./ALSLoader";
|
|
2
|
+
import type { ALSLoaderProps, ALSLoaderSize, ALSLoaderVariant, ALSLoaderType, ALSLoaderSpeed } from "./ALSLoader";
|
|
3
|
+
export { ALSLoader };
|
|
4
|
+
export type { ALSLoaderProps, ALSLoaderSize, ALSLoaderVariant, ALSLoaderType, ALSLoaderSpeed, };
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSLoader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EACR,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,cAAc,EACjB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,YAAY,EACR,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,cAAc,GACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ALSNavigationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ALSNavigationMenu/ALSNavigationMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ALSNavigationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ALSNavigationMenu/ALSNavigationMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAQhE;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,YAAY,GAAG,UAAU,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AAExE;;GAEG;AACH,MAAM,W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CACxB;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,0GAmBpC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Popover } from "@base-ui/react/popover";
|
|
3
|
+
export declare const ALSPopoverRoot: typeof Popover.Root;
|
|
4
|
+
export declare const ALSPopoverTrigger: React.ForwardRefExoticComponent<import("node_modules/@base-ui/react/esm/utils/types").NativeButtonProps & Omit<import("node_modules/@base-ui/react/esm/utils/types").WithBaseUIEvent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">>, "className" | "color" | "defaultValue" | "defaultChecked"> & {
|
|
5
|
+
className?: string | ((state: import("@base-ui/react/popover").PopoverTriggerState) => string | undefined) | undefined;
|
|
6
|
+
render?: React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | import("node_modules/@base-ui/react/esm/utils/types").ComponentRenderFn<import("node_modules/@base-ui/react/esm/utils/types").HTMLProps<any>, import("@base-ui/react/popover").PopoverTriggerState> | undefined;
|
|
7
|
+
style?: React.CSSProperties | ((state: import("@base-ui/react/popover").PopoverTriggerState) => React.CSSProperties | undefined) | undefined;
|
|
8
|
+
} & {
|
|
9
|
+
nativeButton?: boolean;
|
|
10
|
+
handle?: Popover.Handle<unknown> | undefined;
|
|
11
|
+
payload?: unknown;
|
|
12
|
+
id?: string;
|
|
13
|
+
openOnHover?: boolean;
|
|
14
|
+
delay?: number;
|
|
15
|
+
closeDelay?: number;
|
|
16
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
17
|
+
export declare const ALSPopoverPortal: React.ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverPortalProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export declare const ALSPopoverPositioner: React.ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverPositionerProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export declare const ALSPopoverPopup: React.ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export declare const ALSPopoverArrow: React.ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverArrowProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export declare const ALSPopoverTitle: React.ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
22
|
+
export declare const ALSPopoverDescription: React.ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
23
|
+
export declare const ALSPopoverClose: React.ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
24
|
+
export declare const ALSPopoverBackdrop: React.ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverBackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
//# sourceMappingURL=ALSPopover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ALSPopover.d.ts","sourceRoot":"","sources":["../../../src/components/ALSPopover/ALSPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAGjD,eAAO,MAAM,cAAc,qBAAe,CAAC;AAE3C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;2CAc5B,CAAC;AAEH,eAAO,MAAM,gBAAgB,4HAAiB,CAAC;AAE/C,eAAO,MAAM,oBAAoB,gIAK/B,CAAC;AAEH,eAAO,MAAM,eAAe,2HAW1B,CAAC;AAEH,eAAO,MAAM,eAAe,2HAW1B,CAAC;AAEH,eAAO,MAAM,eAAe,+HAW1B,CAAC;AAEH,eAAO,MAAM,qBAAqB,uIAWhC,CAAC;AAEH,eAAO,MAAM,eAAe,8HAW1B,CAAC;AAEH,eAAO,MAAM,kBAAkB,8HAW7B,CAAC"}
|
|
@@ -1,50 +1,26 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Popover } from "@base-ui-components/react/popover";
|
|
3
|
-
export declare const ALSPopoverRoot: typeof Popover.Root;
|
|
4
|
-
export declare const ALSPopoverTrigger: React.ForwardRefExoticComponent<import("node_modules/@base-ui-components/react/esm/utils/types").NativeButtonProps & Omit<import("node_modules/@base-ui-components/react/esm/utils/types").WithBaseUIEvent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">>, "className" | "color" | "defaultValue" | "defaultChecked"> & {
|
|
5
|
-
className?: string | ((state: import("@base-ui-components/react/popover").PopoverTriggerState) => string | undefined) | undefined;
|
|
6
|
-
render?: React.ReactElement<Record<string, unknown>, string | React.JSXElementConstructor<any>> | import("node_modules/@base-ui-components/react/esm/utils/types").ComponentRenderFn<import("node_modules/@base-ui-components/react/esm/utils/types").HTMLProps<any>, import("@base-ui-components/react/popover").PopoverTriggerState> | undefined;
|
|
7
|
-
style?: React.CSSProperties | ((state: import("@base-ui-components/react/popover").PopoverTriggerState) => React.CSSProperties | undefined) | undefined;
|
|
8
|
-
} & {
|
|
9
|
-
nativeButton?: boolean;
|
|
10
|
-
handle?: Popover.Handle<unknown> | undefined;
|
|
11
|
-
payload?: unknown;
|
|
12
|
-
id?: string;
|
|
13
|
-
openOnHover?: boolean;
|
|
14
|
-
delay?: number;
|
|
15
|
-
closeDelay?: number;
|
|
16
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
17
|
-
export declare const ALSPopoverPortal: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverPortalProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export declare const ALSPopoverPositioner: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverPositionerProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
export declare const ALSPopoverPopup: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
-
export declare const ALSPopoverArrow: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverArrowProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
export declare const ALSPopoverTitle: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
22
|
-
export declare const ALSPopoverDescription: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
23
|
-
export declare const ALSPopoverClose: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
24
|
-
export declare const ALSPopoverBackdrop: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverBackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
1
|
export declare const ALSPopover: {
|
|
26
|
-
Root: typeof
|
|
27
|
-
Trigger:
|
|
28
|
-
className?: string | ((state: import("@base-ui
|
|
29
|
-
render?:
|
|
30
|
-
style?:
|
|
2
|
+
Root: typeof import("@base-ui/react/popover").PopoverRoot;
|
|
3
|
+
Trigger: import("react").ForwardRefExoticComponent<import("node_modules/@base-ui/react/esm/utils/types").NativeButtonProps & Omit<import("node_modules/@base-ui/react/esm/utils/types").WithBaseUIEvent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">>, "className" | "color" | "defaultValue" | "defaultChecked"> & {
|
|
4
|
+
className?: string | ((state: import("@base-ui/react/popover").PopoverTriggerState) => string | undefined) | undefined;
|
|
5
|
+
render?: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("node_modules/@base-ui/react/esm/utils/types").ComponentRenderFn<import("node_modules/@base-ui/react/esm/utils/types").HTMLProps<any>, import("@base-ui/react/popover").PopoverTriggerState> | undefined;
|
|
6
|
+
style?: import("react").CSSProperties | ((state: import("@base-ui/react/popover").PopoverTriggerState) => React.CSSProperties | undefined) | undefined;
|
|
31
7
|
} & {
|
|
32
8
|
nativeButton?: boolean;
|
|
33
|
-
handle?:
|
|
9
|
+
handle?: import("node_modules/@base-ui/react/esm/popover/index.parts").Handle<unknown> | undefined;
|
|
34
10
|
payload?: unknown;
|
|
35
11
|
id?: string;
|
|
36
12
|
openOnHover?: boolean;
|
|
37
13
|
delay?: number;
|
|
38
14
|
closeDelay?: number;
|
|
39
|
-
} &
|
|
40
|
-
Portal:
|
|
41
|
-
Positioner:
|
|
42
|
-
Popup:
|
|
43
|
-
Arrow:
|
|
44
|
-
Title:
|
|
45
|
-
Description:
|
|
46
|
-
Close:
|
|
47
|
-
Backdrop:
|
|
15
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
Portal: import("react").ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverPortalProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
+
Positioner: import("react").ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverPositionerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
|
+
Popup: import("react").ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverPopupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
+
Arrow: import("react").ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverArrowProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
+
Title: import("react").ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
21
|
+
Description: import("react").ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
22
|
+
Close: import("react").ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
23
|
+
Backdrop: import("react").ForwardRefExoticComponent<import("@base-ui/react/popover").PopoverBackdropProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
48
24
|
};
|
|
49
|
-
export type { PopoverRootProps as ALSPopoverRootProps, PopoverTriggerProps as ALSPopoverTriggerProps, PopoverPortalProps as ALSPopoverPortalProps, PopoverPositionerProps as ALSPopoverPositionerProps, PopoverPopupProps as ALSPopoverPopupProps, PopoverArrowProps as ALSPopoverArrowProps, PopoverTitleProps as ALSPopoverTitleProps, PopoverDescriptionProps as ALSPopoverDescriptionProps, PopoverCloseProps as ALSPopoverCloseProps, PopoverBackdropProps as ALSPopoverBackdropProps, } from "@base-ui
|
|
25
|
+
export type { PopoverRootProps as ALSPopoverRootProps, PopoverTriggerProps as ALSPopoverTriggerProps, PopoverPortalProps as ALSPopoverPortalProps, PopoverPositionerProps as ALSPopoverPositionerProps, PopoverPopupProps as ALSPopoverPopupProps, PopoverArrowProps as ALSPopoverArrowProps, PopoverTitleProps as ALSPopoverTitleProps, PopoverDescriptionProps as ALSPopoverDescriptionProps, PopoverCloseProps as ALSPopoverCloseProps, PopoverBackdropProps as ALSPopoverBackdropProps, } from "@base-ui/react/popover";
|
|
50
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSPopover/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSPopover/index.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;CAWtB,CAAC;AAEF,YAAY,EACR,gBAAgB,IAAI,mBAAmB,EACvC,mBAAmB,IAAI,sBAAsB,EAC7C,kBAAkB,IAAI,qBAAqB,EAC3C,sBAAsB,IAAI,yBAAyB,EACnD,iBAAiB,IAAI,oBAAoB,EACzC,iBAAiB,IAAI,oBAAoB,EACzC,iBAAiB,IAAI,oBAAoB,EACzC,uBAAuB,IAAI,0BAA0B,EACrD,iBAAiB,IAAI,oBAAoB,EACzC,oBAAoB,IAAI,uBAAuB,GAClD,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Progress } from "@base-ui
|
|
2
|
-
import type React from "react";
|
|
1
|
+
import { Progress } from "@base-ui/react/progress";
|
|
3
2
|
/**
|
|
4
3
|
* Progress variant types
|
|
5
4
|
*/
|
|
@@ -34,22 +33,22 @@ export type ALSProgressValueProps = React.ComponentPropsWithoutRef<typeof Progre
|
|
|
34
33
|
/**
|
|
35
34
|
* Root component that provides progress state context
|
|
36
35
|
*/
|
|
37
|
-
declare const ALSProgressRoot:
|
|
36
|
+
declare const ALSProgressRoot: import("react").ForwardRefExoticComponent<ALSProgressRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
38
37
|
/**
|
|
39
38
|
* Container for the progress indicator
|
|
40
39
|
*/
|
|
41
|
-
declare const ALSProgressTrack:
|
|
40
|
+
declare const ALSProgressTrack: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react/progress").ProgressTrackProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
42
41
|
/**
|
|
43
42
|
* Visual indicator showing progress completion
|
|
44
43
|
*/
|
|
45
|
-
declare const ALSProgressIndicator:
|
|
44
|
+
declare const ALSProgressIndicator: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react/progress").ProgressIndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
46
45
|
/**
|
|
47
46
|
* Optional label for the progress bar
|
|
48
47
|
*/
|
|
49
|
-
declare const ALSProgressLabel:
|
|
48
|
+
declare const ALSProgressLabel: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react/progress").ProgressLabelProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
50
49
|
/**
|
|
51
50
|
* Optional value display (e.g., "75%")
|
|
52
51
|
*/
|
|
53
|
-
declare const ALSProgressValue:
|
|
52
|
+
declare const ALSProgressValue: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react/progress").ProgressValueProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
54
53
|
export { ALSProgressRoot, ALSProgressTrack, ALSProgressIndicator, ALSProgressLabel, ALSProgressValue, };
|
|
55
54
|
//# sourceMappingURL=ALSProgress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ALSProgress.d.ts","sourceRoot":"","sources":["../../../src/components/ALSProgress/ALSProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ALSProgress.d.ts","sourceRoot":"","sources":["../../../src/components/ALSProgress/ALSProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAMnD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAE1E;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,oBACb,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,QAAQ,CAAC,IAAI,CAAC;IAC5D,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,IAAI,CAAC,EAAE,YAAY,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAC9D,OAAO,QAAQ,CAAC,KAAK,CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,wBAAwB,CAClE,OAAO,QAAQ,CAAC,SAAS,CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAC9D,OAAO,QAAQ,CAAC,KAAK,CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAC9D,OAAO,QAAQ,CAAC,KAAK,CACxB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,eAAe,iHAepB,CAAC;AAGF;;GAEG;AACH,QAAA,MAAM,gBAAgB,8MAUrB,CAAC;AAGF;;GAEG;AACH,QAAA,MAAM,oBAAoB,kNAWxB,CAAC;AAGH;;GAEG;AACH,QAAA,MAAM,gBAAgB,gNAUrB,CAAC;AAGF;;GAEG;AACH,QAAA,MAAM,gBAAgB,gNAUrB,CAAC;AAGF,OAAO,EACH,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,GACnB,CAAC"}
|
|
@@ -4,10 +4,10 @@ import type { ALSProgressRootProps, ALSProgressTrackProps, ALSProgressIndicatorP
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const ALSProgress: {
|
|
6
6
|
Root: import("react").ForwardRefExoticComponent<ALSProgressRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
Track: import("react").ForwardRefExoticComponent<Omit<import("@base-ui
|
|
8
|
-
Indicator: import("react").ForwardRefExoticComponent<Omit<import("@base-ui
|
|
9
|
-
Label: import("react").ForwardRefExoticComponent<Omit<import("@base-ui
|
|
10
|
-
Value: import("react").ForwardRefExoticComponent<Omit<import("@base-ui
|
|
7
|
+
Track: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react/progress").ProgressTrackProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
Indicator: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react/progress").ProgressIndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
+
Label: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react/progress").ProgressLabelProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
10
|
+
Value: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react/progress").ProgressValueProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
11
11
|
};
|
|
12
12
|
export type { ALSProgressRootProps, ALSProgressTrackProps, ALSProgressIndicatorProps, ALSProgressLabelProps, ALSProgressValueProps, };
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -123,7 +123,7 @@ export declare const ALSRadioGroupRoot: React.FC<ALSRadioGroupProps>;
|
|
|
123
123
|
/**
|
|
124
124
|
* ALSRadioRoot - Wrapper around RadioGroup from Base UI for custom composition
|
|
125
125
|
*/
|
|
126
|
-
export declare const ALSRadioRoot: React.ForwardRefExoticComponent<Omit<import("@base-ui
|
|
126
|
+
export declare const ALSRadioRoot: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/radio-group").RadioGroupProps & React.RefAttributes<HTMLDivElement> & {
|
|
127
127
|
size?: ALSRadioSize;
|
|
128
128
|
variant?: ALSRadioVariant;
|
|
129
129
|
orientation?: ALSRadioOrientation;
|
|
@@ -27,7 +27,7 @@ export declare const ALSRadio: {
|
|
|
27
27
|
/** Complete RadioGroup with options array - simplest usage */
|
|
28
28
|
Group: import("react").FC<ALSRadioGroupProps>;
|
|
29
29
|
/** Base RadioGroup for custom composition */
|
|
30
|
-
Root: import("react").ForwardRefExoticComponent<Omit<import("@base-ui
|
|
30
|
+
Root: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react/radio-group").RadioGroupProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
31
31
|
size?: ALSRadioSize;
|
|
32
32
|
variant?: ALSRadioVariant;
|
|
33
33
|
orientation?: ALSRadioOrientation;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Select } from "@base-ui/react/select";
|
|
3
|
+
type ALSSelectRootProps<Value, Multiple extends boolean = boolean> = Select.Root.Props<Value, Multiple>;
|
|
4
|
+
declare function ALSSelectRoot<Value>(props: ALSSelectRootProps<Value>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
interface ALSSelectTriggerProps extends Select.Trigger.Props {
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Custom render function for the selected value(s).
|
|
9
|
+
* Useful for formatting multiple selections or object values.
|
|
10
|
+
*/
|
|
11
|
+
renderValue?: Select.Value.Props["render"];
|
|
12
|
+
}
|
|
13
|
+
declare const ALSSelectTrigger: React.ForwardRefExoticComponent<ALSSelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
type ALSSelectPortalProps = Select.Portal.Props;
|
|
15
|
+
declare function ALSSelectPortal(props: ALSSelectPortalProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
type ALSSelectPositionerProps = Select.Positioner.Props;
|
|
17
|
+
declare const ALSSelectPositioner: React.ForwardRefExoticComponent<import("@base-ui/react/select").SelectPositionerProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
type ALSSelectPopupProps = Select.Popup.Props;
|
|
19
|
+
declare const ALSSelectPopup: React.ForwardRefExoticComponent<import("@base-ui/react/select").SelectPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
type ALSSelectItemProps = Select.Item.Props;
|
|
21
|
+
declare const ALSSelectItem: React.ForwardRefExoticComponent<import("@base-ui/react/select").SelectItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
type ALSSelectGroupProps = Select.Group.Props;
|
|
23
|
+
declare const ALSSelectGroup: React.ForwardRefExoticComponent<import("@base-ui/react/select").SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
type ALSSelectLabelProps = Select.GroupLabel.Props;
|
|
25
|
+
declare const ALSSelectLabel: React.ForwardRefExoticComponent<import("@base-ui/react/select").SelectGroupLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
type ALSSelectSeparatorProps = Select.Separator.Props;
|
|
27
|
+
declare const ALSSelectSeparator: React.ForwardRefExoticComponent<import("@base-ui/react/separator").SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
export { ALSSelectRoot, ALSSelectTrigger, ALSSelectPortal, ALSSelectPositioner, ALSSelectPopup, ALSSelectItem, ALSSelectGroup, ALSSelectLabel, ALSSelectSeparator, };
|
|
29
|
+
export type { ALSSelectRootProps, ALSSelectTriggerProps, ALSSelectPortalProps, ALSSelectPositionerProps, ALSSelectPopupProps, ALSSelectItemProps, ALSSelectGroupProps, ALSSelectLabelProps, ALSSelectSeparatorProps, };
|
|
30
|
+
//# sourceMappingURL=ALSSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ALSSelect.d.ts","sourceRoot":"","sources":["../../../src/components/ALSSelect/ALSSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAS/C,KAAK,kBAAkB,CACnB,KAAK,EACL,QAAQ,SAAS,OAAO,GAAG,OAAO,IAClC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;AAEvC,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,kBAAkB,CAAC,KAAK,CAAC,2CAG7D;AAMD,UAAU,qBAAsB,SAAQ,MAAM,CAAC,OAAO,CAAC,KAAK;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;CAC9C;AAED,QAAA,MAAM,gBAAgB,iGAgCpB,CAAC;AAQH,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;AAEhD,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAEnD;AAKD,KAAK,wBAAwB,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC;AAExD,QAAA,MAAM,mBAAmB,8HAYvB,CAAC;AAOH,KAAK,mBAAmB,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC;AAE9C,QAAA,MAAM,cAAc,yHAUnB,CAAC;AAOF,KAAK,kBAAkB,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;AAE5C,QAAA,MAAM,aAAa,wHAelB,CAAC;AAOF,KAAK,mBAAmB,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC;AAE9C,QAAA,MAAM,cAAc,yHAUnB,CAAC;AAOF,KAAK,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC;AAEnD,QAAA,MAAM,cAAc,8HAUnB,CAAC;AAOF,KAAK,uBAAuB,GAAG,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC;AAEtD,QAAA,MAAM,kBAAkB,0HAWtB,CAAC;AAIH,OAAO,EACH,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,cAAc,EACd,cAAc,EACd,kBAAkB,GACrB,CAAC;AAEF,YAAY,EACR,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,GAC1B,CAAC"}
|
|
@@ -1,41 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
interface ALSSelectRootProps<Value> extends Select.Root.Props<Value> {
|
|
4
|
-
}
|
|
5
|
-
declare function ALSSelectRoot<Value>(props: ALSSelectRootProps<Value>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
interface ALSSelectTriggerProps extends Select.Trigger.Props {
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Custom render function for the selected value(s).
|
|
10
|
-
* Useful for formatting multiple selections or object values.
|
|
11
|
-
*/
|
|
12
|
-
renderValue?: Select.Value.Props["render"];
|
|
13
|
-
}
|
|
14
|
-
interface ALSSelectPortalProps extends Select.Portal.Props {
|
|
15
|
-
}
|
|
16
|
-
declare function ALSSelectPortal(props: ALSSelectPortalProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
interface ALSSelectPositionerProps extends Select.Positioner.Props {
|
|
18
|
-
}
|
|
19
|
-
interface ALSSelectPopupProps extends Select.Popup.Props {
|
|
20
|
-
}
|
|
21
|
-
interface ALSSelectItemProps extends Select.Item.Props {
|
|
22
|
-
}
|
|
23
|
-
interface ALSSelectGroupProps extends Select.Group.Props {
|
|
24
|
-
}
|
|
25
|
-
interface ALSSelectLabelProps extends Select.GroupLabel.Props {
|
|
26
|
-
}
|
|
27
|
-
interface ALSSelectSeparatorProps extends Select.Separator.Props {
|
|
28
|
-
}
|
|
1
|
+
import { ALSSelectRoot, ALSSelectPortal } from "./ALSSelect";
|
|
2
|
+
import type { ALSSelectRootProps, ALSSelectTriggerProps, ALSSelectPortalProps, ALSSelectPositionerProps, ALSSelectPopupProps, ALSSelectItemProps, ALSSelectGroupProps, ALSSelectLabelProps, ALSSelectSeparatorProps } from "./ALSSelect";
|
|
29
3
|
export declare const ALSSelect: {
|
|
30
4
|
Root: typeof ALSSelectRoot;
|
|
31
|
-
Trigger:
|
|
5
|
+
Trigger: import("react").ForwardRefExoticComponent<ALSSelectTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
32
6
|
Portal: typeof ALSSelectPortal;
|
|
33
|
-
Positioner:
|
|
34
|
-
Popup:
|
|
35
|
-
Item:
|
|
36
|
-
Group:
|
|
37
|
-
Label:
|
|
38
|
-
Separator:
|
|
7
|
+
Positioner: import("react").ForwardRefExoticComponent<import("@base-ui/react/select").SelectPositionerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
Popup: import("react").ForwardRefExoticComponent<import("@base-ui/react/select").SelectPopupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
+
Item: import("react").ForwardRefExoticComponent<import("@base-ui/react/select").SelectItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
Group: import("react").ForwardRefExoticComponent<import("@base-ui/react/select").SelectGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Label: import("react").ForwardRefExoticComponent<import("@base-ui/react/select").SelectGroupLabelProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
+
Separator: import("react").ForwardRefExoticComponent<import("@base-ui/react/separator").SeparatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
39
13
|
};
|
|
40
14
|
export type { ALSSelectRootProps, ALSSelectTriggerProps, ALSSelectPortalProps, ALSSelectPositionerProps, ALSSelectPopupProps, ALSSelectItemProps, ALSSelectGroupProps, ALSSelectLabelProps, ALSSelectSeparatorProps, };
|
|
41
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,aAAa,EAEb,eAAe,EAOlB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACR,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EAC1B,MAAM,aAAa,CAAC;AAOrB,eAAO,MAAM,SAAS;;;;;;;;;;CAUrB,CAAC;AAEF,YAAY,EACR,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,GAC1B,CAAC"}
|