@als-tp/als-react-ts-ui 0.1.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/LICENSE +21 -0
- package/README.md +172 -0
- package/dist/als-react-ts-ui.cjs +21 -0
- package/dist/als-react-ts-ui.cjs.map +1 -0
- package/dist/als-react-ts-ui.css +1 -0
- package/dist/als-react-ts-ui.js +11369 -0
- package/dist/als-react-ts-ui.js.map +1 -0
- package/dist/components/ALSAccordion/index.d.ts +67 -0
- package/dist/components/ALSAccordion/index.d.ts.map +1 -0
- package/dist/components/ALSAlertDialog/index.d.ts +5 -0
- package/dist/components/ALSAlertDialog/index.d.ts.map +1 -0
- package/dist/components/ALSAutocomplete/index.d.ts +5 -0
- package/dist/components/ALSAutocomplete/index.d.ts.map +1 -0
- package/dist/components/ALSAvatar/index.d.ts +5 -0
- package/dist/components/ALSAvatar/index.d.ts.map +1 -0
- package/dist/components/ALSButton/index.d.ts +14 -0
- package/dist/components/ALSButton/index.d.ts.map +1 -0
- package/dist/components/ALSCheckbox/index.d.ts +5 -0
- package/dist/components/ALSCheckbox/index.d.ts.map +1 -0
- package/dist/components/ALSCheckboxGroup/index.d.ts +5 -0
- package/dist/components/ALSCheckboxGroup/index.d.ts.map +1 -0
- package/dist/components/ALSCollapsible/index.d.ts +5 -0
- package/dist/components/ALSCollapsible/index.d.ts.map +1 -0
- package/dist/components/ALSCombobox/index.d.ts +5 -0
- package/dist/components/ALSCombobox/index.d.ts.map +1 -0
- package/dist/components/ALSContextMenu/index.d.ts +5 -0
- package/dist/components/ALSContextMenu/index.d.ts.map +1 -0
- package/dist/components/ALSDialog/index.d.ts +79 -0
- package/dist/components/ALSDialog/index.d.ts.map +1 -0
- package/dist/components/ALSField/index.d.ts +5 -0
- package/dist/components/ALSField/index.d.ts.map +1 -0
- package/dist/components/ALSFieldset/index.d.ts +5 -0
- package/dist/components/ALSFieldset/index.d.ts.map +1 -0
- package/dist/components/ALSForm/index.d.ts +5 -0
- package/dist/components/ALSForm/index.d.ts.map +1 -0
- package/dist/components/ALSInput/index.d.ts +51 -0
- package/dist/components/ALSInput/index.d.ts.map +1 -0
- package/dist/components/ALSMenu/index.d.ts +5 -0
- package/dist/components/ALSMenu/index.d.ts.map +1 -0
- package/dist/components/ALSMenubar/index.d.ts +5 -0
- package/dist/components/ALSMenubar/index.d.ts.map +1 -0
- package/dist/components/ALSMeter/index.d.ts +5 -0
- package/dist/components/ALSMeter/index.d.ts.map +1 -0
- package/dist/components/ALSNavigationMenu/index.d.ts +5 -0
- package/dist/components/ALSNavigationMenu/index.d.ts.map +1 -0
- package/dist/components/ALSNumberField/index.d.ts +5 -0
- package/dist/components/ALSNumberField/index.d.ts.map +1 -0
- package/dist/components/ALSPopover/index.d.ts +50 -0
- package/dist/components/ALSPopover/index.d.ts.map +1 -0
- package/dist/components/ALSPreviewCard/index.d.ts +5 -0
- package/dist/components/ALSPreviewCard/index.d.ts.map +1 -0
- package/dist/components/ALSProgress/index.d.ts +5 -0
- package/dist/components/ALSProgress/index.d.ts.map +1 -0
- package/dist/components/ALSRadio/index.d.ts +5 -0
- package/dist/components/ALSRadio/index.d.ts.map +1 -0
- package/dist/components/ALSScrollArea/index.d.ts +5 -0
- package/dist/components/ALSScrollArea/index.d.ts.map +1 -0
- package/dist/components/ALSSelect/index.d.ts +41 -0
- package/dist/components/ALSSelect/index.d.ts.map +1 -0
- package/dist/components/ALSSeparator/index.d.ts +5 -0
- package/dist/components/ALSSeparator/index.d.ts.map +1 -0
- package/dist/components/ALSSlider/index.d.ts +5 -0
- package/dist/components/ALSSlider/index.d.ts.map +1 -0
- package/dist/components/ALSSwitch/index.d.ts +5 -0
- package/dist/components/ALSSwitch/index.d.ts.map +1 -0
- package/dist/components/ALSTabs/index.d.ts +5 -0
- package/dist/components/ALSTabs/index.d.ts.map +1 -0
- package/dist/components/ALSToast/index.d.ts +94 -0
- package/dist/components/ALSToast/index.d.ts.map +1 -0
- package/dist/components/ALSToggle/index.d.ts +5 -0
- package/dist/components/ALSToggle/index.d.ts.map +1 -0
- package/dist/components/ALSToggleGroup/index.d.ts +5 -0
- package/dist/components/ALSToggleGroup/index.d.ts.map +1 -0
- package/dist/components/ALSToolbar/index.d.ts +5 -0
- package/dist/components/ALSToolbar/index.d.ts.map +1 -0
- package/dist/components/ALSTooltip/index.d.ts +5 -0
- package/dist/components/ALSTooltip/index.d.ts.map +1 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/layout/MainLayout/index.d.ts +68 -0
- package/dist/layout/MainLayout/index.d.ts.map +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +89 -0
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
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
|
+
}
|
|
59
|
+
export declare const ALSAccordion: {
|
|
60
|
+
Root: React.ForwardRefExoticComponent<ALSAccordionRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
61
|
+
Item: React.ForwardRefExoticComponent<ALSAccordionItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
62
|
+
Header: React.ForwardRefExoticComponent<ALSAccordionHeaderProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
63
|
+
Trigger: React.ForwardRefExoticComponent<ALSAccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
64
|
+
Panel: React.ForwardRefExoticComponent<ALSAccordionPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
};
|
|
66
|
+
export type { ALSAccordionRootProps, ALSAccordionItemProps, ALSAccordionHeaderProps, ALSAccordionTriggerProps, ALSAccordionPanelProps, AccordionVariant, AccordionSize, };
|
|
67
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSAccordion/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAOhE,KAAK,gBAAgB,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC;AACzE,KAAK,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAsBxC,UAAU,qBAAqB;IAC3B,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,2CAA2C;IAC3C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAChC,OAAO,SAAS,CAAC,IAAI,CACxB,CAAC,eAAe,CAAC,CAAC;IACnB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,sCAAsC;IACtC,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,mBAAmB;IACnB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAqDD,UAAU,qBAAqB;IAC3B,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAmCD,UAAU,uBAAuB;IAC7B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AA8BD,UAAU,wBAAwB;IAC9B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAiCD,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;AAwDD,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,YAAY,EACR,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,GAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSAlertDialog/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;CAEnC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAMxD;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSAutocomplete/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;CAEpC;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAM1D;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSAvatar/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;CAE9B;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAM9C;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes } from "react";
|
|
2
|
+
export type ButtonVariant = "primary" | "secondary" | "success" | "danger" | "warning";
|
|
3
|
+
export type ButtonStyle = "full" | "outline" | "ghost" | "empty";
|
|
4
|
+
export type ButtonSize = "sm" | "md" | "lg" | "full";
|
|
5
|
+
export interface ALSButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
|
+
variant?: ButtonVariant;
|
|
7
|
+
buttonStyle?: ButtonStyle;
|
|
8
|
+
size?: ButtonSize;
|
|
9
|
+
block?: boolean;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const ALSButton: import("react").ForwardRefExoticComponent<ALSButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
export default ALSButton;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAG9D,MAAM,MAAM,aAAa,GACnB,SAAS,GACT,WAAW,GACX,SAAS,GACT,QAAQ,GACR,SAAS,CAAC;AAChB,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AACjE,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAErD,MAAM,WAAW,cACb,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC/C,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,SAAS,8GAuCrB,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSCheckbox/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;CAEhC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAMlD;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSCheckboxGroup/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,qBAAqB;CAErC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CAM5D;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSCollapsible/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;CAEnC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAMxD;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSCombobox/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;CAEhC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAMlD;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSContextMenu/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;CAEnC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAMxD;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -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
|
+
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
|
+
}
|
|
68
|
+
export declare const ALSDialog: {
|
|
69
|
+
Root: React.ForwardRefExoticComponent<ALSDialogRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
70
|
+
Trigger: React.ForwardRefExoticComponent<ALSDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
71
|
+
Backdrop: React.ForwardRefExoticComponent<ALSDialogBackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
72
|
+
Portal: React.FC<ALSDialogPortalProps>;
|
|
73
|
+
Popup: React.ForwardRefExoticComponent<ALSDialogPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
74
|
+
Title: React.ForwardRefExoticComponent<ALSDialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
75
|
+
Description: React.ForwardRefExoticComponent<ALSDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
76
|
+
Close: React.ForwardRefExoticComponent<ALSDialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
77
|
+
};
|
|
78
|
+
export type { ALSDialogRootProps, ALSDialogTriggerProps, ALSDialogBackdropProps, ALSDialogPortalProps, ALSDialogPopupProps, ALSDialogTitleProps, ALSDialogDescriptionProps, ALSDialogCloseProps, DialogVariant, DialogSize, };
|
|
79
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAWf,KAAK,aAAa,GAAG,SAAS,GAAG,UAAU,CAAA;AAC3C,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAsBrC,UAAU,kBAAkB;IACxB,8CAA8C;IAC9C,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,iFAAiF;IACjF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,mCAAmC;IACnC,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,mBAAmB;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAqCD,UAAU,qBAAqB;IAC3B,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;AA2BD,UAAU,sBAAsB;IAC5B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAkBD,UAAU,oBAAoB;IAC1B,uCAAuC;IACvC,SAAS,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC/B,qDAAqD;IACrD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAoBD,UAAU,mBAAmB;IACzB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AA6BD,UAAU,mBAAmB;IACzB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAsBD,UAAU,yBAAyB;IAC/B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAuBD,UAAU,mBAAmB;IACzB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AA6CD,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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSField/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;CAE7B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAM5C;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSFieldset/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;CAEhC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAMlD;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSForm/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;CAE5B;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,2CAM1C;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type InputVariant = "outlined" | "filled";
|
|
3
|
+
export type InputSize = "sm" | "md" | "lg";
|
|
4
|
+
export type InputStatus = "default" | "success" | "warning" | "error";
|
|
5
|
+
export interface ALSInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
6
|
+
/** Visual variant of the input */
|
|
7
|
+
variant?: InputVariant;
|
|
8
|
+
/** Size variant */
|
|
9
|
+
size?: InputSize;
|
|
10
|
+
/** Status/validation state */
|
|
11
|
+
status?: InputStatus;
|
|
12
|
+
/** Additional class name */
|
|
13
|
+
className?: string;
|
|
14
|
+
/** Controlled value */
|
|
15
|
+
value?: string;
|
|
16
|
+
/** Default value (uncontrolled) */
|
|
17
|
+
defaultValue?: string;
|
|
18
|
+
/** Callback when value changes */
|
|
19
|
+
onValueChange?: (value: string, eventDetails: {
|
|
20
|
+
reason: "none";
|
|
21
|
+
event: Event;
|
|
22
|
+
cancel: () => void;
|
|
23
|
+
allowPropagation: () => void;
|
|
24
|
+
isCanceled: boolean;
|
|
25
|
+
isPropagationAllowed: boolean;
|
|
26
|
+
trigger: Element | undefined;
|
|
27
|
+
}) => void;
|
|
28
|
+
/** Whether the input is disabled */
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
/** Whether the input is required */
|
|
31
|
+
required?: boolean;
|
|
32
|
+
/** Placeholder text */
|
|
33
|
+
placeholder?: string;
|
|
34
|
+
/** Input type */
|
|
35
|
+
type?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* ALSInput - A styled input component based on Base UI Input
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* <ALSInput
|
|
43
|
+
* variant="outlined"
|
|
44
|
+
* size="md"
|
|
45
|
+
* placeholder="Enter text..."
|
|
46
|
+
* onValueChange={(value) => console.log(value)}
|
|
47
|
+
* />
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare const ALSInput: React.ForwardRefExoticComponent<ALSInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
51
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAQ1C,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,QAAQ,CAAC;AACjD,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC3C,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAEtE,MAAM,WAAW,aACb,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACjE,kCAAkC;IAClC,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,mBAAmB;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kCAAkC;IAClC,aAAa,CAAC,EAAE,CACZ,KAAK,EAAE,MAAM,EACb,YAAY,EAAE;QACV,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,KAAK,CAAC;QACb,MAAM,EAAE,MAAM,IAAI,CAAC;QACnB,gBAAgB,EAAE,MAAM,IAAI,CAAC;QAC7B,UAAU,EAAE,OAAO,CAAC;QACpB,oBAAoB,EAAE,OAAO,CAAC;QAC9B,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;KAChC,KACA,IAAI,CAAC;IACV,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAMD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,wFA+BpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSMenu/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;CAE5B;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,2CAM1C;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSMenubar/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe;CAE/B;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAMhD;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSMeter/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;CAE7B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAM5C;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSNavigationMenu/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,sBAAsB;CAEtC;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAM9D;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSNumberField/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;CAEnC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAMxD;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
export declare const ALSPopover: {
|
|
26
|
+
Root: typeof Popover.Root;
|
|
27
|
+
Trigger: 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"> & {
|
|
28
|
+
className?: string | ((state: import("@base-ui-components/react/popover").PopoverTriggerState) => string | undefined) | undefined;
|
|
29
|
+
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;
|
|
30
|
+
style?: React.CSSProperties | ((state: import("@base-ui-components/react/popover").PopoverTriggerState) => React.CSSProperties | undefined) | undefined;
|
|
31
|
+
} & {
|
|
32
|
+
nativeButton?: boolean;
|
|
33
|
+
handle?: Popover.Handle<unknown> | undefined;
|
|
34
|
+
payload?: unknown;
|
|
35
|
+
id?: string;
|
|
36
|
+
openOnHover?: boolean;
|
|
37
|
+
delay?: number;
|
|
38
|
+
closeDelay?: number;
|
|
39
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
40
|
+
Portal: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverPortalProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
Positioner: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverPositionerProps & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
Popup: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
Arrow: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverArrowProps & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
Title: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
45
|
+
Description: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
46
|
+
Close: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
47
|
+
Backdrop: React.ForwardRefExoticComponent<import("@base-ui-components/react/popover").PopoverBackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
48
|
+
};
|
|
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-components/react/popover";
|
|
50
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSPopover/index.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;AAEH,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSPreviewCard/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;CAEnC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAMxD;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSProgress/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;CAEhC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAMlD;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSRadio/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;CAE7B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAM5C;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSScrollArea/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;CAElC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAMtD;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Select } from "@base-ui-components/react/select";
|
|
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
|
+
}
|
|
29
|
+
export declare const ALSSelect: {
|
|
30
|
+
Root: typeof ALSSelectRoot;
|
|
31
|
+
Trigger: React.ForwardRefExoticComponent<ALSSelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
32
|
+
Portal: typeof ALSSelectPortal;
|
|
33
|
+
Positioner: React.ForwardRefExoticComponent<ALSSelectPositionerProps & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
Popup: React.ForwardRefExoticComponent<ALSSelectPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
Item: React.ForwardRefExoticComponent<ALSSelectItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
Group: React.ForwardRefExoticComponent<ALSSelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
+
Label: React.ForwardRefExoticComponent<ALSSelectLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
Separator: React.ForwardRefExoticComponent<ALSSelectSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
};
|
|
40
|
+
export type { ALSSelectRootProps, ALSSelectTriggerProps, ALSSelectPortalProps, ALSSelectPositionerProps, ALSSelectPopupProps, ALSSelectItemProps, ALSSelectGroupProps, ALSSelectLabelProps, ALSSelectSeparatorProps, };
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAS1D,UAAU,kBAAkB,CAAC,KAAK,CAAE,SAAQ,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;CAAG;AAEvE,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,kBAAkB,CAAC,KAAK,CAAC,2CAE7D;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;AA0CD,UAAU,oBAAqB,SAAQ,MAAM,CAAC,MAAM,CAAC,KAAK;CAAG;AAE7D,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAEnD;AAKD,UAAU,wBAAyB,SAAQ,MAAM,CAAC,UAAU,CAAC,KAAK;CAAG;AAsBrE,UAAU,mBAAoB,SAAQ,MAAM,CAAC,KAAK,CAAC,KAAK;CAAG;AAoB3D,UAAU,kBAAmB,SAAQ,MAAM,CAAC,IAAI,CAAC,KAAK;CAAG;AAyBzD,UAAU,mBAAoB,SAAQ,MAAM,CAAC,KAAK,CAAC,KAAK;CAAG;AAmB3D,UAAU,mBAAoB,SAAQ,MAAM,CAAC,UAAU,CAAC,KAAK;CAAG;AAmBhE,UAAU,uBAAwB,SAAQ,MAAM,CAAC,SAAS,CAAC,KAAK;CAAG;AAqBnE,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSSeparator/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;CAEjC;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAMpD;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSSlider/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;CAE9B;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAM9C;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSSwitch/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;CAE9B;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAM9C;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSTabs/index.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;CAE5B;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,2CAM1C;AAED,eAAe,OAAO,CAAC"}
|