@als-tp/als-react-ts-ui 0.5.3 → 0.5.4
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 +133 -10
- package/dist/als-react-ts-ui.js +9474 -9410
- package/dist/components/ALSAccordion/ALSAccordion.d.ts +66 -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/ALSCombobox/ALSCombobox.d.ts +2 -2
- package/dist/components/ALSCombobox/ALSCombobox.d.ts.map +1 -1
- package/dist/components/ALSCombobox/index.d.ts +2 -2
- package/dist/components/ALSContextMenu/ALSContextMenu.d.ts +2 -2
- 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/ALSPopover/ALSPopover.d.ts +25 -0
- package/dist/components/ALSPopover/ALSPopover.d.ts.map +1 -0
- package/dist/components/ALSPopover/index.d.ts +14 -38
- package/dist/components/ALSPopover/index.d.ts.map +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 +10 -87
- package/dist/components/ALSToast/index.d.ts.map +1 -1
- package/dist/index.css +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 +3 -3
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Accordion } from "@base-ui-components/react/accordion";
|
|
3
|
+
type AccordionVariant = "default" | "bordered" | "separated" | "minimal";
|
|
4
|
+
type AccordionSize = "sm" | "md" | "lg";
|
|
5
|
+
interface ALSAccordionRootProps {
|
|
6
|
+
/** The controlled value of the item(s) that should be expanded */
|
|
7
|
+
value?: string[];
|
|
8
|
+
/** The default value of items that should be expanded (uncontrolled) */
|
|
9
|
+
defaultValue?: string[];
|
|
10
|
+
/** Callback when accordion items change */
|
|
11
|
+
onValueChange?: React.ComponentProps<typeof Accordion.Root>["onValueChange"];
|
|
12
|
+
/** Whether multiple items can be open at the same time */
|
|
13
|
+
openMultiple?: boolean;
|
|
14
|
+
/** Whether the accordion is disabled */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** The visual orientation of the accordion */
|
|
17
|
+
orientation?: "horizontal" | "vertical";
|
|
18
|
+
/** Visual variant of the accordion */
|
|
19
|
+
variant?: AccordionVariant;
|
|
20
|
+
/** Size variant */
|
|
21
|
+
size?: AccordionSize;
|
|
22
|
+
/** Additional class name */
|
|
23
|
+
className?: string;
|
|
24
|
+
/** Children */
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
}
|
|
27
|
+
declare const ALSAccordionRoot: React.ForwardRefExoticComponent<ALSAccordionRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
interface ALSAccordionItemProps {
|
|
29
|
+
/** Unique value for this item */
|
|
30
|
+
value: string;
|
|
31
|
+
/** Whether this item is disabled */
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
/** Callback when this item opens or closes */
|
|
34
|
+
onOpenChange?: (open: boolean) => void;
|
|
35
|
+
/** Additional class name */
|
|
36
|
+
className?: string;
|
|
37
|
+
/** Children */
|
|
38
|
+
children: React.ReactNode;
|
|
39
|
+
}
|
|
40
|
+
declare const ALSAccordionItem: React.ForwardRefExoticComponent<ALSAccordionItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
interface ALSAccordionHeaderProps {
|
|
42
|
+
/** Additional class name */
|
|
43
|
+
className?: string;
|
|
44
|
+
/** Children */
|
|
45
|
+
children: React.ReactNode;
|
|
46
|
+
}
|
|
47
|
+
declare const ALSAccordionHeader: React.ForwardRefExoticComponent<ALSAccordionHeaderProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
48
|
+
interface ALSAccordionTriggerProps {
|
|
49
|
+
/** Additional class name */
|
|
50
|
+
className?: string;
|
|
51
|
+
/** Children */
|
|
52
|
+
children: React.ReactNode;
|
|
53
|
+
}
|
|
54
|
+
declare const ALSAccordionTrigger: React.ForwardRefExoticComponent<ALSAccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
55
|
+
interface ALSAccordionPanelProps {
|
|
56
|
+
/** Whether to keep the panel in DOM when closed */
|
|
57
|
+
keepMounted?: boolean;
|
|
58
|
+
/** Additional class name */
|
|
59
|
+
className?: string;
|
|
60
|
+
/** Children */
|
|
61
|
+
children: React.ReactNode;
|
|
62
|
+
}
|
|
63
|
+
declare const ALSAccordionPanel: React.ForwardRefExoticComponent<ALSAccordionPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
64
|
+
export { ALSAccordionRoot, ALSAccordionItem, ALSAccordionHeader, ALSAccordionTrigger, ALSAccordionPanel, };
|
|
65
|
+
export type { ALSAccordionRootProps, ALSAccordionItemProps, ALSAccordionHeaderProps, ALSAccordionTriggerProps, ALSAccordionPanelProps, AccordionVariant, AccordionSize, };
|
|
66
|
+
//# sourceMappingURL=ALSAccordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|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,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,gBAAgB,8FAyBrB,CAAC;AAQF,UAAU,uBAAuB;IAC7B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,kBAAkB,oGAoBtB,CAAC;AAQH,UAAU,wBAAwB;IAC9B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,mBAAmB,oGAuBvB,CAAC;AAQH,UAAU,sBAAsB;IAC5B,mDAAmD;IACnD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,iBAAiB,+FAuBtB,CAAC;AA2BF,OAAO,EACH,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,GACpB,CAAA;AAED,YAAY,EACR,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,GAChB,CAAA"}
|
|
@@ -1,67 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Accordion } from "@base-ui-components/react/accordion";
|
|
3
|
-
type AccordionVariant = "default" | "bordered" | "separated" | "minimal";
|
|
4
|
-
type AccordionSize = "sm" | "md" | "lg";
|
|
5
|
-
interface ALSAccordionRootProps {
|
|
6
|
-
/** The controlled value of the item(s) that should be expanded */
|
|
7
|
-
value?: string[];
|
|
8
|
-
/** The default value of items that should be expanded (uncontrolled) */
|
|
9
|
-
defaultValue?: string[];
|
|
10
|
-
/** Callback when accordion items change */
|
|
11
|
-
onValueChange?: React.ComponentProps<typeof Accordion.Root>["onValueChange"];
|
|
12
|
-
/** Whether multiple items can be open at the same time */
|
|
13
|
-
openMultiple?: boolean;
|
|
14
|
-
/** Whether the accordion is disabled */
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
/** The visual orientation of the accordion */
|
|
17
|
-
orientation?: "horizontal" | "vertical";
|
|
18
|
-
/** Visual variant of the accordion */
|
|
19
|
-
variant?: AccordionVariant;
|
|
20
|
-
/** Size variant */
|
|
21
|
-
size?: AccordionSize;
|
|
22
|
-
/** Additional class name */
|
|
23
|
-
className?: string;
|
|
24
|
-
/** Children */
|
|
25
|
-
children: React.ReactNode;
|
|
26
|
-
}
|
|
27
|
-
interface ALSAccordionItemProps {
|
|
28
|
-
/** Unique value for this item */
|
|
29
|
-
value: string;
|
|
30
|
-
/** Whether this item is disabled */
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
/** Callback when this item opens or closes */
|
|
33
|
-
onOpenChange?: (open: boolean) => void;
|
|
34
|
-
/** Additional class name */
|
|
35
|
-
className?: string;
|
|
36
|
-
/** Children */
|
|
37
|
-
children: React.ReactNode;
|
|
38
|
-
}
|
|
39
|
-
interface ALSAccordionHeaderProps {
|
|
40
|
-
/** Additional class name */
|
|
41
|
-
className?: string;
|
|
42
|
-
/** Children */
|
|
43
|
-
children: React.ReactNode;
|
|
44
|
-
}
|
|
45
|
-
interface ALSAccordionTriggerProps {
|
|
46
|
-
/** Additional class name */
|
|
47
|
-
className?: string;
|
|
48
|
-
/** Children */
|
|
49
|
-
children: React.ReactNode;
|
|
50
|
-
}
|
|
51
|
-
interface ALSAccordionPanelProps {
|
|
52
|
-
/** Whether to keep the panel in DOM when closed */
|
|
53
|
-
keepMounted?: boolean;
|
|
54
|
-
/** Additional class name */
|
|
55
|
-
className?: string;
|
|
56
|
-
/** Children */
|
|
57
|
-
children: React.ReactNode;
|
|
58
|
-
}
|
|
1
|
+
import type { ALSAccordionRootProps, ALSAccordionItemProps, ALSAccordionHeaderProps, ALSAccordionTriggerProps, ALSAccordionPanelProps, AccordionVariant, AccordionSize } from "./ALSAccordion";
|
|
59
2
|
export declare const ALSAccordion: {
|
|
60
|
-
Root:
|
|
61
|
-
Item:
|
|
62
|
-
Header:
|
|
63
|
-
Trigger:
|
|
64
|
-
Panel:
|
|
3
|
+
Root: import("react").ForwardRefExoticComponent<ALSAccordionRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
Item: import("react").ForwardRefExoticComponent<ALSAccordionItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
Header: import("react").ForwardRefExoticComponent<ALSAccordionHeaderProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
6
|
+
Trigger: import("react").ForwardRefExoticComponent<ALSAccordionTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
Panel: import("react").ForwardRefExoticComponent<ALSAccordionPanelProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
65
8
|
};
|
|
66
9
|
export type { ALSAccordionRootProps, ALSAccordionItemProps, ALSAccordionHeaderProps, ALSAccordionTriggerProps, ALSAccordionPanelProps, AccordionVariant, AccordionSize, };
|
|
67
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSAccordion/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSAccordion/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACR,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,EAChB,MAAM,gBAAgB,CAAC;AAMxB,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,YAAY,EACR,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,GAChB,CAAC"}
|
|
@@ -17,7 +17,7 @@ interface ALSAlertDialogRootProps {
|
|
|
17
17
|
/** Children */
|
|
18
18
|
children: React.ReactNode;
|
|
19
19
|
}
|
|
20
|
-
declare const ALSAlertDialogRoot: React.
|
|
20
|
+
declare const ALSAlertDialogRoot: React.FC<ALSAlertDialogRootProps>;
|
|
21
21
|
interface ALSAlertDialogTriggerProps {
|
|
22
22
|
/** Additional class name */
|
|
23
23
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ALSAlertDialog.d.ts","sourceRoot":"","sources":["../../../src/components/ALSAlertDialog/ALSAlertDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAQrE,KAAK,kBAAkB,GAAG,SAAS,GAAG,UAAU,CAAC;AACjD,KAAK,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAsB1C,UAAU,uBAAuB;IAC7B,oDAAoD;IACpD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,wCAAwC;IACxC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uCAAuC;IACvC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,yCAAyC;IACzC,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,mBAAmB;IACnB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"ALSAlertDialog.d.ts","sourceRoot":"","sources":["../../../src/components/ALSAlertDialog/ALSAlertDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO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AO,CAAC;CACrB;AAED,QAAA,MAAM,oBAAoB,qGA0BxB,CAAC;AAQH,UAAU,yBAAyB;IAC/B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,yCAAyC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,oBAAoB,qGA0BxB,CAAC;AAQH,OAAO,EACH,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,GACvB,CAAC;AAEF,YAAY,EACR,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAClB,eAAe,GAClB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ALSAlertDialogRootProps, ALSAlertDialogTriggerProps, ALSAlertDialogBackdropProps, ALSAlertDialogPortalProps, ALSAlertDialogViewportProps, ALSAlertDialogPopupProps, ALSAlertDialogTitleProps, ALSAlertDialogDescriptionProps, ALSAlertDialogCloseProps, ALSAlertDialogFooterProps, ALSAlertDialogCancelProps, ALSAlertDialogActionProps, AlertDialogVariant, AlertDialogSize } from "./ALSAlertDialog";
|
|
2
2
|
export type { ALSAlertDialogRootProps, ALSAlertDialogTriggerProps, ALSAlertDialogBackdropProps, ALSAlertDialogPortalProps, ALSAlertDialogViewportProps, ALSAlertDialogPopupProps, ALSAlertDialogTitleProps, ALSAlertDialogDescriptionProps, ALSAlertDialogCloseProps, ALSAlertDialogFooterProps, ALSAlertDialogCancelProps, ALSAlertDialogActionProps, AlertDialogVariant, AlertDialogSize, };
|
|
3
3
|
export declare const ALSAlertDialog: {
|
|
4
|
-
Root: import("react").
|
|
4
|
+
Root: import("react").FC<ALSAlertDialogRootProps>;
|
|
5
5
|
Trigger: import("react").ForwardRefExoticComponent<ALSAlertDialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6
6
|
Backdrop: import("react").ForwardRefExoticComponent<ALSAlertDialogBackdropProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
7
|
Portal: import("react").FC<ALSAlertDialogPortalProps>;
|
|
@@ -134,7 +134,7 @@ export type ALSComboboxSize = "sm" | "md" | "lg";
|
|
|
134
134
|
/**
|
|
135
135
|
* Root component that provides context for all combobox subcomponents
|
|
136
136
|
*/
|
|
137
|
-
export declare const ALSComboboxRoot: React.
|
|
137
|
+
export declare const ALSComboboxRoot: React.FC<ALSComboboxRootProps>;
|
|
138
138
|
/**
|
|
139
139
|
* Label for the combobox input
|
|
140
140
|
*/
|
|
@@ -169,5 +169,5 @@ export declare const ALSComboboxEmpty: React.ForwardRefExoticComponent<ALSCombob
|
|
|
169
169
|
/**
|
|
170
170
|
* Displays the selected value in the input
|
|
171
171
|
*/
|
|
172
|
-
export declare const ALSComboboxValue: React.
|
|
172
|
+
export declare const ALSComboboxValue: React.FC<ALSComboboxValueProps>;
|
|
173
173
|
//# sourceMappingURL=ALSCombobox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ALSCombobox.d.ts","sourceRoot":"","sources":["../../../src/components/ALSCombobox/ALSCombobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAM9D,MAAM,WAAW,oBAAoB;IACjC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC5C;;;OAGG;IACH,IAAI,CAAC,EAAE,IA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SComboboxPopupProps, ALSComboboxItemProps, ALSComboboxEmptyProps, ALSComboboxValueProps, ALSComboboxVariant, ALSComboboxSize } from "./ALSCombobox";
|
|
2
2
|
export declare const ALSCombobox: {
|
|
3
|
-
Root: import("react").
|
|
3
|
+
Root: import("react").FC<ALSComboboxRootProps>;
|
|
4
4
|
Label: import("react").ForwardRefExoticComponent<ALSComboboxLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
|
|
5
5
|
Input: import("react").ForwardRefExoticComponent<ALSComboboxInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6
6
|
Icon: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/combobox").ComboboxIconProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -11,7 +11,7 @@ export declare const ALSCombobox: {
|
|
|
11
11
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
12
|
Item: import("react").ForwardRefExoticComponent<ALSComboboxItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
13
|
Empty: import("react").ForwardRefExoticComponent<ALSComboboxEmptyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
-
Value: import("react").
|
|
14
|
+
Value: import("react").FC<import("@base-ui-components/react/combobox").ComboboxValueProps>;
|
|
15
15
|
};
|
|
16
16
|
export type { ALSComboboxRootProps, ALSComboboxLabelProps, ALSComboboxInputProps, ALSComboboxIconProps, ALSComboboxPopupProps, ALSComboboxItemProps, ALSComboboxEmptyProps, ALSComboboxValueProps, ALSComboboxVariant, ALSComboboxSize, };
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -73,8 +73,8 @@ export interface ALSContextMenuSubmenuTriggerProps extends ContextMenu.SubmenuTr
|
|
|
73
73
|
className?: string;
|
|
74
74
|
children?: React.ReactNode;
|
|
75
75
|
}
|
|
76
|
-
export declare const ALSContextMenuRoot: React.
|
|
77
|
-
export declare const ALSContextMenuTrigger: React.
|
|
76
|
+
export declare const ALSContextMenuRoot: React.FC<ALSContextMenuRootProps>;
|
|
77
|
+
export declare const ALSContextMenuTrigger: React.FC<ALSContextMenuTriggerProps>;
|
|
78
78
|
export declare const ALSContextMenuPortal: React.FC<ALSContextMenuPortalProps>;
|
|
79
79
|
export declare const ALSContextMenuBackdrop: React.ForwardRefExoticComponent<ALSContextMenuBackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
80
80
|
export declare const ALSContextMenuPositioner: React.ForwardRefExoticComponent<ALSContextMenuPositionerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ALSContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ALSContextMenu/ALSContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAMrE,MAAM,WAAW,uBAAwB,SAAQ,WAAW,CAAC,IAAI,CAAC,KAAK;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,0BAA2B,SAAQ,WAAW,CAAC,OAAO,CAAC,KAAK;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,yBAA0B,SAAQ,WAAW,CAAC,MAAM,CAAC,KAAK;IACvE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,2BACb,SAAQ,WAAW,CAAC,QAAQ,CAAC,KAAK;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,6BACb,SAAQ,WAAW,CAAC,UAAU,CAAC,KAAK;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,MAAM,W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ps, ALSContextMenuPositionerProps, ALSContextMenuPopupProps, ALSContextMenuArrowProps, ALSContextMenuItemProps, ALSContextMenuSeparatorProps, ALSContextMenuGroupProps, ALSContextMenuGroupLabelProps, ALSContextMenuRadioGroupProps, ALSContextMenuRadioItemProps, ALSContextMenuRadioItemIndicatorProps, ALSContextMenuCheckboxItemProps, ALSContextMenuCheckboxItemIndicatorProps, ALSContextMenuSubmenuRootProps, ALSContextMenuSubmenuTriggerProps } from "./ALSContextMenu";
|
|
2
2
|
export declare const ALSContextMenu: {
|
|
3
|
-
Root: import("react").
|
|
4
|
-
Trigger: import("react").
|
|
3
|
+
Root: import("react").FC<ALSContextMenuRootProps>;
|
|
4
|
+
Trigger: import("react").FC<ALSContextMenuTriggerProps>;
|
|
5
5
|
Portal: import("react").FC<ALSContextMenuPortalProps>;
|
|
6
6
|
Backdrop: import("react").ForwardRefExoticComponent<ALSContextMenuBackdropProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
7
|
Positioner: import("react").ForwardRefExoticComponent<ALSContextMenuPositionerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import React from "react";
|
|
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
|
+
declare const ALSDialogRoot: React.FC<ALSDialogRootProps>;
|
|
23
|
+
interface ALSDialogTriggerProps {
|
|
24
|
+
/** Additional class name */
|
|
25
|
+
className?: string;
|
|
26
|
+
/** Children */
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
/** Whether to render as child element */
|
|
29
|
+
asChild?: boolean;
|
|
30
|
+
}
|
|
31
|
+
declare const ALSDialogTrigger: React.ForwardRefExoticComponent<ALSDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
32
|
+
interface ALSDialogBackdropProps {
|
|
33
|
+
/** Additional class name */
|
|
34
|
+
className?: string;
|
|
35
|
+
/** Whether to keep the backdrop mounted when closed */
|
|
36
|
+
keepMounted?: boolean;
|
|
37
|
+
}
|
|
38
|
+
declare const ALSDialogBackdrop: React.ForwardRefExoticComponent<ALSDialogBackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
interface ALSDialogPortalProps {
|
|
40
|
+
/** Container element to portal into */
|
|
41
|
+
container?: HTMLElement | null;
|
|
42
|
+
/** Whether to keep the portal mounted when closed */
|
|
43
|
+
keepMounted?: boolean;
|
|
44
|
+
/** Children */
|
|
45
|
+
children: React.ReactNode;
|
|
46
|
+
}
|
|
47
|
+
declare const ALSDialogPortal: React.FC<ALSDialogPortalProps>;
|
|
48
|
+
interface ALSDialogPopupProps {
|
|
49
|
+
/** Additional class name */
|
|
50
|
+
className?: string;
|
|
51
|
+
/** Children */
|
|
52
|
+
children: React.ReactNode;
|
|
53
|
+
}
|
|
54
|
+
declare const ALSDialogPopup: React.ForwardRefExoticComponent<ALSDialogPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
+
interface ALSDialogTitleProps {
|
|
56
|
+
/** Additional class name */
|
|
57
|
+
className?: string;
|
|
58
|
+
/** Children */
|
|
59
|
+
children: React.ReactNode;
|
|
60
|
+
}
|
|
61
|
+
declare const ALSDialogTitle: React.ForwardRefExoticComponent<ALSDialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
62
|
+
interface ALSDialogDescriptionProps {
|
|
63
|
+
/** Additional class name */
|
|
64
|
+
className?: string;
|
|
65
|
+
/** Children */
|
|
66
|
+
children: React.ReactNode;
|
|
67
|
+
}
|
|
68
|
+
declare const ALSDialogDescription: React.ForwardRefExoticComponent<ALSDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
69
|
+
interface ALSDialogCloseProps {
|
|
70
|
+
/** Additional class name */
|
|
71
|
+
className?: string;
|
|
72
|
+
/** Children (optional, defaults to X icon) */
|
|
73
|
+
children?: React.ReactNode;
|
|
74
|
+
}
|
|
75
|
+
declare const ALSDialogClose: React.ForwardRefExoticComponent<ALSDialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
76
|
+
declare const CloseIcon: React.FC;
|
|
77
|
+
export { ALSDialogRoot, ALSDialogTrigger, ALSDialogBackdrop, ALSDialogPortal, ALSDialogPopup, ALSDialogTitle, ALSDialogDescription, ALSDialogClose, CloseIcon, };
|
|
78
|
+
export type { ALSDialogRootProps, ALSDialogTriggerProps, ALSDialogBackdropProps, ALSDialogPortalProps, ALSDialogPopupProps, ALSDialogTitleProps, ALSDialogDescriptionProps, ALSDialogCloseProps, DialogVariant, DialogSize, };
|
|
79
|
+
//# sourceMappingURL=ALSDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ALSDialog.d.ts","sourceRoot":"","sources":["../../../src/components/ALSDialog/ALSDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAQrE,KAAK,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAC5C,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAsBrC,UAAU,kBAAkB;IACxB,8CAA8C;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,wCAAwC;IACxC,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,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,cAAc,4FAmBnB,CAAC;AAQF,UAAU,mBAAmB;IACzB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,cAAc,gGAYnB,CAAC;AAQF,UAAU,yBAAyB;IAC/B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,oBAAoB,wGAaxB,CAAC;AAQH,UAAU,mBAAmB;IACzB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,QAAA,MAAM,cAAc,+FAYnB,CAAC;AAQF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAiBtB,CAAC;AAEF,OAAO,EACH,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,SAAS,GACZ,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,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"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
//# 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,mCAAmC,CAAC;AAG5D,eAAO,MAAM,cAAc,qBAAe,CAAC;AAE3C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;2CAc5B,CAAC;AAEH,eAAO,MAAM,gBAAgB,uIAAiB,CAAC;AAE/C,eAAO,MAAM,oBAAoB,2IAK/B,CAAC;AAEH,eAAO,MAAM,eAAe,sIAW1B,CAAC;AAEH,eAAO,MAAM,eAAe,sIAW1B,CAAC;AAEH,eAAO,MAAM,eAAe,0IAW1B,CAAC;AAEH,eAAO,MAAM,qBAAqB,kJAWhC,CAAC;AAEH,eAAO,MAAM,eAAe,yIAW1B,CAAC;AAEH,eAAO,MAAM,kBAAkB,yIAW7B,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:
|
|
2
|
+
Root: typeof import("@base-ui-components/react/popover").PopoverRoot;
|
|
3
|
+
Trigger: import("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<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">>, "className" | "color" | "defaultValue" | "defaultChecked"> & {
|
|
28
4
|
className?: string | ((state: import("@base-ui-components/react/popover").PopoverTriggerState) => string | undefined) | undefined;
|
|
29
|
-
render?:
|
|
30
|
-
style?:
|
|
5
|
+
render?: import("react").ReactElement<Record<string, unknown>, string | import("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;
|
|
6
|
+
style?: import("react").CSSProperties | ((state: import("@base-ui-components/react/popover").PopoverTriggerState) => React.CSSProperties | undefined) | undefined;
|
|
31
7
|
} & {
|
|
32
8
|
nativeButton?: boolean;
|
|
33
|
-
handle?:
|
|
9
|
+
handle?: import("node_modules/@base-ui-components/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-components/react/popover").PopoverPortalProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
+
Positioner: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverPositionerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
|
+
Popup: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverPopupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
+
Arrow: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverArrowProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
+
Title: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
21
|
+
Description: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
22
|
+
Close: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
23
|
+
Backdrop: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverBackdropProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
48
24
|
};
|
|
49
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-components/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,mCAAmC,CAAC"}
|