@lglab/compose-ui 0.33.0 → 0.34.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/dist/accordion.d.ts +6 -6
- package/dist/alert-dialog.d.ts +10 -10
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.js +2 -2
- package/dist/alert.d.ts +76 -0
- package/dist/alert.d.ts.map +1 -0
- package/dist/alert.js +176 -0
- package/dist/alert.js.map +1 -0
- package/dist/autocomplete.d.ts +13 -13
- package/dist/autocomplete.d.ts.map +1 -1
- package/dist/avatar.d.ts +5 -5
- package/dist/avatar.js +1 -1
- package/dist/badge.d.ts +4 -4
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.d.ts +3 -3
- package/dist/button.js +2 -2
- package/dist/calendar.js +1 -1
- package/dist/card.d.ts +9 -9
- package/dist/card.d.ts.map +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox-group.d.ts +2 -2
- package/dist/checkbox.d.ts +3 -3
- package/dist/collapsible.d.ts +4 -4
- package/dist/combobox.d.ts +25 -25
- package/dist/combobox.d.ts.map +1 -1
- package/dist/components/chart/context.d.ts +2 -2
- package/dist/components/chart/legend.d.ts +2 -2
- package/dist/components/chart/tooltip.d.ts +2 -2
- package/dist/components/table/primitives.d.ts +10 -10
- package/dist/components/table/primitives.js +1 -1
- package/dist/context-menu.d.ts +20 -20
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/dialog.d.ts +11 -11
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.js +2 -2
- package/dist/drawer.d.ts +12 -12
- package/dist/drawer.js +2 -2
- package/dist/field.d.ts +8 -8
- package/dist/field.d.ts.map +1 -1
- package/dist/fieldset.d.ts +3 -3
- package/dist/form.d.ts +2 -2
- package/dist/form.d.ts.map +1 -1
- package/dist/group.d.ts +3 -3
- package/dist/group.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/input.d.ts +2 -2
- package/dist/menu.d.ts +20 -20
- package/dist/menu.js +1 -1
- package/dist/menubar.d.ts +21 -21
- package/dist/menubar.js +1 -1
- package/dist/meter.d.ts +6 -6
- package/dist/navigation-menu.d.ts +14 -14
- package/dist/number-field.d.ts +8 -8
- package/dist/pagination.d.ts +10 -10
- package/dist/pagination.d.ts.map +1 -1
- package/dist/popover.d.ts +12 -12
- package/dist/popover.d.ts.map +1 -1
- package/dist/preview-card.d.ts +8 -8
- package/dist/progress.d.ts +6 -6
- package/dist/radio-group.d.ts +2 -2
- package/dist/radio-group.d.ts.map +1 -1
- package/dist/radio.d.ts +3 -3
- package/dist/scroll-area.d.ts +7 -7
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/select.d.ts +19 -19
- package/dist/select.d.ts.map +1 -1
- package/dist/separator.d.ts +2 -2
- package/dist/separator.d.ts.map +1 -1
- package/dist/skeleton.d.ts +2 -2
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/slider.d.ts +7 -7
- package/dist/slider.d.ts.map +1 -1
- package/dist/switch.d.ts +3 -3
- package/dist/switch.d.ts.map +1 -1
- package/dist/tabs.d.ts +6 -6
- package/dist/tabs.js +1 -1
- package/dist/textarea.d.ts +2 -2
- package/dist/textarea.d.ts.map +1 -1
- package/dist/toast.d.ts +10 -10
- package/dist/toast.d.ts.map +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle-group.d.ts +3 -3
- package/dist/toggle-group.d.ts.map +1 -1
- package/dist/toggle.d.ts +2 -2
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toolbar.d.ts +7 -7
- package/dist/toolbar.d.ts.map +1 -1
- package/dist/tooltip.d.ts +8 -8
- package/package.json +11 -7
package/dist/accordion.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { Accordion } from "@base-ui/react/accordion";
|
|
4
4
|
|
|
5
5
|
//#region src/components/accordion.d.ts
|
|
@@ -8,7 +8,7 @@ declare const AccordionRoot: {
|
|
|
8
8
|
({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: AccordionRootProps):
|
|
11
|
+
}: AccordionRootProps): react_jsx_runtime0.JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
type AccordionItemProps = React.ComponentProps<typeof Accordion.Item>;
|
|
@@ -16,7 +16,7 @@ declare const AccordionItem: {
|
|
|
16
16
|
({
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: AccordionItemProps):
|
|
19
|
+
}: AccordionItemProps): react_jsx_runtime0.JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
type AccordionHeaderProps = React.ComponentProps<typeof Accordion.Header>;
|
|
@@ -24,7 +24,7 @@ declare const AccordionHeader: {
|
|
|
24
24
|
({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: AccordionHeaderProps):
|
|
27
|
+
}: AccordionHeaderProps): react_jsx_runtime0.JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
type AccordionTriggerProps = React.ComponentProps<typeof Accordion.Trigger>;
|
|
@@ -33,7 +33,7 @@ declare const AccordionTrigger: {
|
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
...props
|
|
36
|
-
}: AccordionTriggerProps):
|
|
36
|
+
}: AccordionTriggerProps): react_jsx_runtime0.JSX.Element;
|
|
37
37
|
displayName: string;
|
|
38
38
|
};
|
|
39
39
|
type AccordionPanelProps = React.ComponentProps<typeof Accordion.Panel>;
|
|
@@ -41,7 +41,7 @@ declare const AccordionPanel: {
|
|
|
41
41
|
({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: AccordionPanelProps):
|
|
44
|
+
}: AccordionPanelProps): react_jsx_runtime0.JSX.Element;
|
|
45
45
|
displayName: string;
|
|
46
46
|
};
|
|
47
47
|
//#endregion
|
package/dist/alert-dialog.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ButtonSize, ButtonVariant } from "./lib/button-variants.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime121 from "react/jsx-runtime";
|
|
4
4
|
import { AlertDialog, AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
|
|
5
5
|
|
|
6
6
|
//#region src/components/alert-dialog.d.ts
|
|
7
7
|
type AlertDialogRootProps = React.ComponentProps<typeof AlertDialog$1.Root>;
|
|
8
8
|
declare const AlertDialogRoot: {
|
|
9
|
-
(props: AlertDialogRootProps):
|
|
9
|
+
(props: AlertDialogRootProps): react_jsx_runtime121.JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
type AlertDialogTriggerProps = React.ComponentProps<typeof AlertDialog$1.Trigger> & {
|
|
@@ -21,12 +21,12 @@ declare const AlertDialogTrigger: {
|
|
|
21
21
|
variant,
|
|
22
22
|
size,
|
|
23
23
|
...props
|
|
24
|
-
}: AlertDialogTriggerProps):
|
|
24
|
+
}: AlertDialogTriggerProps): react_jsx_runtime121.JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
};
|
|
27
27
|
type AlertDialogPortalProps = React.ComponentProps<typeof AlertDialog$1.Portal>;
|
|
28
28
|
declare const AlertDialogPortal: {
|
|
29
|
-
(props: AlertDialogPortalProps):
|
|
29
|
+
(props: AlertDialogPortalProps): react_jsx_runtime121.JSX.Element;
|
|
30
30
|
displayName: string;
|
|
31
31
|
};
|
|
32
32
|
type AlertDialogBackdropProps = React.ComponentProps<typeof AlertDialog$1.Backdrop>;
|
|
@@ -34,7 +34,7 @@ declare const AlertDialogBackdrop: {
|
|
|
34
34
|
({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: AlertDialogBackdropProps):
|
|
37
|
+
}: AlertDialogBackdropProps): react_jsx_runtime121.JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
};
|
|
40
40
|
type AlertDialogViewportProps = React.ComponentProps<typeof AlertDialog$1.Viewport>;
|
|
@@ -42,7 +42,7 @@ declare const AlertDialogViewport: {
|
|
|
42
42
|
({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: AlertDialogViewportProps):
|
|
45
|
+
}: AlertDialogViewportProps): react_jsx_runtime121.JSX.Element;
|
|
46
46
|
displayName: string;
|
|
47
47
|
};
|
|
48
48
|
type AlertDialogPopupProps = React.ComponentProps<typeof AlertDialog$1.Popup> & {
|
|
@@ -54,7 +54,7 @@ declare const AlertDialogPopup: {
|
|
|
54
54
|
className,
|
|
55
55
|
size,
|
|
56
56
|
...props
|
|
57
|
-
}: AlertDialogPopupProps):
|
|
57
|
+
}: AlertDialogPopupProps): react_jsx_runtime121.JSX.Element;
|
|
58
58
|
displayName: string;
|
|
59
59
|
};
|
|
60
60
|
type AlertDialogTitleProps = React.ComponentProps<typeof AlertDialog$1.Title>;
|
|
@@ -62,7 +62,7 @@ declare const AlertDialogTitle: {
|
|
|
62
62
|
({
|
|
63
63
|
className,
|
|
64
64
|
...props
|
|
65
|
-
}: AlertDialogTitleProps):
|
|
65
|
+
}: AlertDialogTitleProps): react_jsx_runtime121.JSX.Element;
|
|
66
66
|
displayName: string;
|
|
67
67
|
};
|
|
68
68
|
type AlertDialogDescriptionProps = React.ComponentProps<typeof AlertDialog$1.Description>;
|
|
@@ -70,7 +70,7 @@ declare const AlertDialogDescription: {
|
|
|
70
70
|
({
|
|
71
71
|
className,
|
|
72
72
|
...props
|
|
73
|
-
}: AlertDialogDescriptionProps):
|
|
73
|
+
}: AlertDialogDescriptionProps): react_jsx_runtime121.JSX.Element;
|
|
74
74
|
displayName: string;
|
|
75
75
|
};
|
|
76
76
|
type AlertDialogCloseProps = React.ComponentProps<typeof AlertDialog$1.Close> & {
|
|
@@ -85,7 +85,7 @@ declare const AlertDialogClose: {
|
|
|
85
85
|
variant,
|
|
86
86
|
size,
|
|
87
87
|
...props
|
|
88
|
-
}: AlertDialogCloseProps):
|
|
88
|
+
}: AlertDialogCloseProps): react_jsx_runtime121.JSX.Element;
|
|
89
89
|
displayName: string;
|
|
90
90
|
};
|
|
91
91
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.d.ts","names":[],"sources":["../src/components/alert-dialog.tsx"],"sourcesContent":[],"mappings":";;;;;;KAiBK,oBAAA,GAAuB,KAAA,CAAM,sBAAsB,aAAA,CAAgB;cAElE;UAA0B,uBAAoB,
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","names":[],"sources":["../src/components/alert-dialog.tsx"],"sourcesContent":[],"mappings":";;;;;;KAiBK,oBAAA,GAAuB,KAAA,CAAM,sBAAsB,aAAA,CAAgB;cAElE;UAA0B,uBAAoB,oBAAA,CAAA,GAAA,CAAA;EAF/C,WAAA,EAAA,MAAA;CAAoB;KAYpB,uBAAA,GAA0B,KAAA,CAAM,cAZmC,CAAA,OAYb,aAAA,CAAgB,OAZH,CAAA,GAAA;;EAAxB,OAAA,CAAA,EAcpC,aAdoC;EAE1C;EAEL,IAAA,CAAA,EAYQ,UAZR;;cAeK,kBAjB8C,EAAA;EAAA,CAAA;IAAA,SAAA;IAAA,OAAA;IAAA,IAAA;IAAA,GAAA;EAAA,CAAA,EAsBjD,uBAtBiD,CAAA,EAsB1B,oBAAA,CAAA,GAAA,CAAA,OAtB0B;EAU/C,WAAA,EAAA,MAAA;CAAuB;KA2BvB,sBAAA,GAAyB,KAAA,CAAM,cA3BuC,CAAA,OA2BjB,aAAA,CAAgB,MA3BC,CAAA;cA6BrE,iBA7B+B,EAAA;QAEzB,EA2BsB,sBA3BtB,CAAA,EA2B4C,oBAAA,CAAA,GAAA,CAAA,OA3B5C;aAEH,EAAA,MAAA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CAAA,OAkHrB,aAAA,CAAgB,KAlHK,CAAA,GAAA;EAoBzE;EAAwB,OAAA,CAAA,EAgGjB,aAhGiB;;MAAG,CAAA,EAkGvB,UAlG6B;CAAc;AAAA,cAqG9C,gBA5FL,EAAA;EAAA,CAAA;IAAA,SAAA;IAAA,OAAA;IAAA,IAAA;IAAA,GAAA;EAAA,CAAA,EAiGE,qBAjGF,CAAA,EAiGuB,oBAAA,CAAA,GAAA,CAAA,OAjGvB"}
|
package/dist/alert-dialog.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { buttonVariants } from "./lib/button-variants.js";
|
|
4
3
|
import { cn } from "./lib/utils.js";
|
|
5
|
-
import "
|
|
4
|
+
import { buttonVariants } from "./lib/button-variants.js";
|
|
6
5
|
import { cva } from "class-variance-authority";
|
|
6
|
+
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import { AlertDialog, AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
|
|
9
9
|
|
package/dist/alert.d.ts
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime114 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/alert.d.ts
|
|
5
|
+
type AlertVariant = 'default' | 'destructive' | 'success' | 'warning' | 'info';
|
|
6
|
+
type AlertAppearance = 'default' | 'outline' | 'filled';
|
|
7
|
+
type AlertSize = 'sm' | 'md' | 'lg';
|
|
8
|
+
type AlertProps = React.ComponentProps<'div'> & {
|
|
9
|
+
/** Color variant */
|
|
10
|
+
variant?: AlertVariant;
|
|
11
|
+
/** Visual appearance style */
|
|
12
|
+
appearance?: AlertAppearance;
|
|
13
|
+
/** Size of the alert */
|
|
14
|
+
size?: AlertSize;
|
|
15
|
+
};
|
|
16
|
+
declare const Alert: {
|
|
17
|
+
({
|
|
18
|
+
className,
|
|
19
|
+
variant,
|
|
20
|
+
appearance,
|
|
21
|
+
size,
|
|
22
|
+
...props
|
|
23
|
+
}: AlertProps): react_jsx_runtime114.JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
26
|
+
type AlertIconProps = React.ComponentProps<'span'>;
|
|
27
|
+
declare const AlertIcon: {
|
|
28
|
+
({
|
|
29
|
+
className,
|
|
30
|
+
...props
|
|
31
|
+
}: AlertIconProps): react_jsx_runtime114.JSX.Element;
|
|
32
|
+
displayName: string;
|
|
33
|
+
};
|
|
34
|
+
type AlertContentProps = React.ComponentProps<'div'>;
|
|
35
|
+
declare const AlertContent: {
|
|
36
|
+
({
|
|
37
|
+
className,
|
|
38
|
+
...props
|
|
39
|
+
}: AlertContentProps): react_jsx_runtime114.JSX.Element;
|
|
40
|
+
displayName: string;
|
|
41
|
+
};
|
|
42
|
+
type AlertTitleProps = React.ComponentProps<'h5'>;
|
|
43
|
+
declare const AlertTitle: {
|
|
44
|
+
({
|
|
45
|
+
className,
|
|
46
|
+
...props
|
|
47
|
+
}: AlertTitleProps): react_jsx_runtime114.JSX.Element;
|
|
48
|
+
displayName: string;
|
|
49
|
+
};
|
|
50
|
+
type AlertDescriptionProps = React.ComponentProps<'div'>;
|
|
51
|
+
declare const AlertDescription: {
|
|
52
|
+
({
|
|
53
|
+
className,
|
|
54
|
+
...props
|
|
55
|
+
}: AlertDescriptionProps): react_jsx_runtime114.JSX.Element;
|
|
56
|
+
displayName: string;
|
|
57
|
+
};
|
|
58
|
+
type AlertActionProps = React.ComponentProps<'div'>;
|
|
59
|
+
declare const AlertAction: {
|
|
60
|
+
({
|
|
61
|
+
className,
|
|
62
|
+
...props
|
|
63
|
+
}: AlertActionProps): react_jsx_runtime114.JSX.Element;
|
|
64
|
+
displayName: string;
|
|
65
|
+
};
|
|
66
|
+
type AlertCloseProps = React.ComponentProps<'button'>;
|
|
67
|
+
declare const AlertClose: {
|
|
68
|
+
({
|
|
69
|
+
className,
|
|
70
|
+
...props
|
|
71
|
+
}: AlertCloseProps): react_jsx_runtime114.JSX.Element;
|
|
72
|
+
displayName: string;
|
|
73
|
+
};
|
|
74
|
+
//#endregion
|
|
75
|
+
export { Alert, AlertAction, type AlertActionProps, AlertAppearance, AlertClose, type AlertCloseProps, AlertContent, type AlertContentProps, AlertDescription, type AlertDescriptionProps, AlertIcon, type AlertIconProps, type AlertProps, AlertSize, AlertTitle, type AlertTitleProps, AlertVariant };
|
|
76
|
+
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.d.ts","names":[],"sources":["../src/components/alert.tsx"],"sourcesContent":[],"mappings":";;;;KAyHY,YAAA;KAEA,eAAA;KAEA,SAAA;AAJZ,KAUK,UAAA,GAAa,KAAA,CAAM,cAVA,CAAA,KAAA,CAAA,GAAA;EAEZ;EAEA,OAAA,CAAA,EAQA,YARS;EAMhB;EAAU,UAAA,CAAA,EAIA,eAJA;;MAEH,CAAA,EAIH,SAJG;;cAON,KAHG,EAAA;EAAS,CAAA;IAAA,SAAA;IAAA,OAAA;IAAA,UAAA;IAAA,IAAA;IAAA,GAAA;EAAA,CAAA,EAGiD,UAHjD,CAAA,EAG2D,oBAAA,CAAA,GAAA,CAAA,OAH3D;EAGZ,WAQL,EAAA,MAAA;CAAA;KAQI,cAAA,GAAiB,KAAA,CAAM;cAEtB;;;;KAAsC,iBAAc,oBAAA,CAAA,GAAA,CAAA;;;KAgBrD,iBAAA,GAAoB,KAAA,CAAM,cAlC8C,CAAA,KAAA,CAAA;cAoCvE,YApCuE,EAAA;EAgBxE,CAAA;IAAA,SAAA;IAAA,GAAc;EAAS,CAAT,EAoB4B,iBApBnB,CAAA,EAoBoC,oBAAA,CAAA,GAAA,CAAA,OApBtB;EAEpC,WAAA,EAQL,MAAA;CAAA;KA0BI,eAAA,GAAkB,KAAA,CAAM;cAEvB,UApCsC,EAAA;;IAAc,SAAA;IAAA,GAAA;EAAA,CAAA,EAoCb,eApCa,CAAA,EAoCE,oBAAA,CAAA,GAAA,CAAA,OApCF;EAAA,WAAA,EAAA,MAAA;AAAA,CAAA;AAgBb,KAoCxC,qBAAA,GAAwB,KAAA,CAAM,cA1BlC,CAAA,KAAA,CAAA;cA4BK,gBA5BL,EAAA;;;;KA4BkD,wBAAqB,oBAAA,CAAA,GAAA,CAAA;aApCzB,EAAA,MAAA;;KAoD1C,gBAAA,GAAmB,KAAA,CAAM,cApDkC,CAAA,KAAA,CAAA;AAAA,cAsD1D,WAtCc,EAAA;EAEd,CAAA;IAAA,SAAA;IAQL,GAAA;EAAA,CAAA,EA4B6C,gBA5B7C,CAAA,EA4B6D,oBAAA,CAAA,GAAA,CAAA,OA5B7D;EAAA,WAAA,EAAA,MAAA;;KA4CI,eAAA,GAAkB,KAAA,CAAM,cApDgB,CAAA,QAAA,CAAA;cAsDvC,UAtDsD,EAAA;EAAA,CAAA;IAAA,SAAA;IAAA,GAAA;EAAA,CAAA,EAsDf,eAtDe,CAAA,EAsDA,oBAAA,CAAA,GAAA,CAAA,OAtDA;EAgBvD,WAAA,EAAA,MAAA;AAA4C,CAAA"}
|
package/dist/alert.js
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/alert.tsx
|
|
9
|
+
const alertVariants = cva(["relative flex w-full gap-3 rounded-lg p-4", "[&_svg]:shrink-0"], {
|
|
10
|
+
variants: {
|
|
11
|
+
variant: {
|
|
12
|
+
default: "",
|
|
13
|
+
destructive: "",
|
|
14
|
+
success: "",
|
|
15
|
+
warning: "",
|
|
16
|
+
info: ""
|
|
17
|
+
},
|
|
18
|
+
appearance: {
|
|
19
|
+
default: "",
|
|
20
|
+
outline: "border",
|
|
21
|
+
filled: ""
|
|
22
|
+
},
|
|
23
|
+
size: {
|
|
24
|
+
sm: "gap-2 p-3 text-xs [&_svg]:size-4",
|
|
25
|
+
md: "gap-3 p-4 text-sm [&_svg]:size-5",
|
|
26
|
+
lg: "gap-4 p-5 text-base [&_svg]:size-6"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
compoundVariants: [
|
|
30
|
+
{
|
|
31
|
+
variant: "default",
|
|
32
|
+
appearance: "default",
|
|
33
|
+
class: "bg-primary/10 text-primary"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
variant: "destructive",
|
|
37
|
+
appearance: "default",
|
|
38
|
+
class: "bg-destructive/10 text-destructive"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
variant: "success",
|
|
42
|
+
appearance: "default",
|
|
43
|
+
class: "bg-success/10 text-success"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
variant: "warning",
|
|
47
|
+
appearance: "default",
|
|
48
|
+
class: "bg-warning/10 text-warning"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
variant: "info",
|
|
52
|
+
appearance: "default",
|
|
53
|
+
class: "bg-info/10 text-info"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
variant: "default",
|
|
57
|
+
appearance: "outline",
|
|
58
|
+
class: "border-primary/50 bg-primary/10 text-primary"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
variant: "destructive",
|
|
62
|
+
appearance: "outline",
|
|
63
|
+
class: "border-destructive/50 bg-destructive/10 text-destructive"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
variant: "success",
|
|
67
|
+
appearance: "outline",
|
|
68
|
+
class: "border-success/50 bg-success/10 text-success"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
variant: "warning",
|
|
72
|
+
appearance: "outline",
|
|
73
|
+
class: "border-warning/50 bg-warning/10 text-warning"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
variant: "info",
|
|
77
|
+
appearance: "outline",
|
|
78
|
+
class: "border-info/50 bg-info/10 text-info"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
variant: "default",
|
|
82
|
+
appearance: "filled",
|
|
83
|
+
class: "bg-primary text-primary-foreground"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
variant: "destructive",
|
|
87
|
+
appearance: "filled",
|
|
88
|
+
class: "bg-destructive text-white"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
variant: "success",
|
|
92
|
+
appearance: "filled",
|
|
93
|
+
class: "bg-success text-white"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
variant: "warning",
|
|
97
|
+
appearance: "filled",
|
|
98
|
+
class: "bg-warning text-white"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
variant: "info",
|
|
102
|
+
appearance: "filled",
|
|
103
|
+
class: "bg-info text-white"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
defaultVariants: {
|
|
107
|
+
variant: "default",
|
|
108
|
+
appearance: "default",
|
|
109
|
+
size: "md"
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
const Alert = ({ className, variant, appearance, size, ...props }) => {
|
|
113
|
+
return /* @__PURE__ */ jsx("div", {
|
|
114
|
+
role: "alert",
|
|
115
|
+
className: cn(alertVariants({
|
|
116
|
+
variant,
|
|
117
|
+
appearance,
|
|
118
|
+
size
|
|
119
|
+
}), className),
|
|
120
|
+
...props
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
Alert.displayName = "Alert";
|
|
124
|
+
const AlertIcon = ({ className, ...props }) => {
|
|
125
|
+
return /* @__PURE__ */ jsx("span", {
|
|
126
|
+
"data-slot": "alert-icon",
|
|
127
|
+
className: cn("flex shrink-0 items-center", className),
|
|
128
|
+
...props
|
|
129
|
+
});
|
|
130
|
+
};
|
|
131
|
+
AlertIcon.displayName = "AlertIcon";
|
|
132
|
+
const AlertContent = ({ className, ...props }) => {
|
|
133
|
+
return /* @__PURE__ */ jsx("div", {
|
|
134
|
+
"data-slot": "alert-content",
|
|
135
|
+
className: cn("flex-1 space-y-1", className),
|
|
136
|
+
...props
|
|
137
|
+
});
|
|
138
|
+
};
|
|
139
|
+
AlertContent.displayName = "AlertContent";
|
|
140
|
+
const AlertTitle = ({ className, ...props }) => {
|
|
141
|
+
return /* @__PURE__ */ jsx("h5", {
|
|
142
|
+
"data-slot": "alert-title",
|
|
143
|
+
className: cn("font-semibold leading-tight tracking-tight", className),
|
|
144
|
+
...props
|
|
145
|
+
});
|
|
146
|
+
};
|
|
147
|
+
AlertTitle.displayName = "AlertTitle";
|
|
148
|
+
const AlertDescription = ({ className, ...props }) => {
|
|
149
|
+
return /* @__PURE__ */ jsx("div", {
|
|
150
|
+
"data-slot": "alert-description",
|
|
151
|
+
className: cn("text-sm opacity-90 [&_p]:leading-relaxed", className),
|
|
152
|
+
...props
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
AlertDescription.displayName = "AlertDescription";
|
|
156
|
+
const AlertAction = ({ className, ...props }) => {
|
|
157
|
+
return /* @__PURE__ */ jsx("div", {
|
|
158
|
+
"data-slot": "alert-action",
|
|
159
|
+
className: cn("ms-auto flex shrink-0 items-center gap-2", className),
|
|
160
|
+
...props
|
|
161
|
+
});
|
|
162
|
+
};
|
|
163
|
+
AlertAction.displayName = "AlertAction";
|
|
164
|
+
const AlertClose = ({ className, ...props }) => {
|
|
165
|
+
return /* @__PURE__ */ jsx("button", {
|
|
166
|
+
"data-slot": "alert-close",
|
|
167
|
+
type: "button",
|
|
168
|
+
className: cn("ms-auto inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md p-1 opacity-60 transition-opacity hover:opacity-100", className),
|
|
169
|
+
...props
|
|
170
|
+
});
|
|
171
|
+
};
|
|
172
|
+
AlertClose.displayName = "AlertClose";
|
|
173
|
+
|
|
174
|
+
//#endregion
|
|
175
|
+
export { Alert, AlertAction, AlertClose, AlertContent, AlertDescription, AlertIcon, AlertTitle };
|
|
176
|
+
//# sourceMappingURL=alert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.js","names":[],"sources":["../src/components/alert.tsx"],"sourcesContent":["'use client'\n\nimport { cva } from 'class-variance-authority'\nimport * as React from 'react'\n\nimport { cn } from '../lib/utils'\n\n// ============================================================================\n// Alert Variants\n// ============================================================================\n\nconst alertVariants = cva(\n ['relative flex w-full gap-3 rounded-lg p-4', '[&_svg]:shrink-0'],\n {\n variants: {\n variant: {\n default: '',\n destructive: '',\n success: '',\n warning: '',\n info: '',\n },\n appearance: {\n default: '',\n outline: 'border',\n filled: '',\n },\n size: {\n sm: 'gap-2 p-3 text-xs [&_svg]:size-4',\n md: 'gap-3 p-4 text-sm [&_svg]:size-5',\n lg: 'gap-4 p-5 text-base [&_svg]:size-6',\n },\n },\n compoundVariants: [\n // Default appearance - light bg + colored text\n {\n variant: 'default',\n appearance: 'default',\n class: 'bg-primary/10 text-primary',\n },\n {\n variant: 'destructive',\n appearance: 'default',\n class: 'bg-destructive/10 text-destructive',\n },\n {\n variant: 'success',\n appearance: 'default',\n class: 'bg-success/10 text-success',\n },\n {\n variant: 'warning',\n appearance: 'default',\n class: 'bg-warning/10 text-warning',\n },\n {\n variant: 'info',\n appearance: 'default',\n class: 'bg-info/10 text-info',\n },\n // Outline appearance - variant-colored border at 50% + light bg\n {\n variant: 'default',\n appearance: 'outline',\n class: 'border-primary/50 bg-primary/10 text-primary',\n },\n {\n variant: 'destructive',\n appearance: 'outline',\n class: 'border-destructive/50 bg-destructive/10 text-destructive',\n },\n {\n variant: 'success',\n appearance: 'outline',\n class: 'border-success/50 bg-success/10 text-success',\n },\n {\n variant: 'warning',\n appearance: 'outline',\n class: 'border-warning/50 bg-warning/10 text-warning',\n },\n {\n variant: 'info',\n appearance: 'outline',\n class: 'border-info/50 bg-info/10 text-info',\n },\n // Filled appearance - solid bg + white text\n {\n variant: 'default',\n appearance: 'filled',\n class: 'bg-primary text-primary-foreground',\n },\n {\n variant: 'destructive',\n appearance: 'filled',\n class: 'bg-destructive text-white',\n },\n {\n variant: 'success',\n appearance: 'filled',\n class: 'bg-success text-white',\n },\n {\n variant: 'warning',\n appearance: 'filled',\n class: 'bg-warning text-white',\n },\n {\n variant: 'info',\n appearance: 'filled',\n class: 'bg-info text-white',\n },\n ],\n defaultVariants: {\n variant: 'default',\n appearance: 'default',\n size: 'md',\n },\n },\n)\n\nexport type AlertVariant = 'default' | 'destructive' | 'success' | 'warning' | 'info'\n\nexport type AlertAppearance = 'default' | 'outline' | 'filled'\n\nexport type AlertSize = 'sm' | 'md' | 'lg'\n\n// ============================================================================\n// Alert\n// ============================================================================\n\ntype AlertProps = React.ComponentProps<'div'> & {\n /** Color variant */\n variant?: AlertVariant\n /** Visual appearance style */\n appearance?: AlertAppearance\n /** Size of the alert */\n size?: AlertSize\n}\n\nconst Alert = ({ className, variant, appearance, size, ...props }: AlertProps) => {\n return (\n <div\n role='alert'\n className={cn(alertVariants({ variant, appearance, size }), className)}\n {...props}\n />\n )\n}\n\nAlert.displayName = 'Alert'\n\n// ============================================================================\n// AlertIcon\n// ============================================================================\n\ntype AlertIconProps = React.ComponentProps<'span'>\n\nconst AlertIcon = ({ className, ...props }: AlertIconProps) => {\n return (\n <span\n data-slot='alert-icon'\n className={cn('flex shrink-0 items-center', className)}\n {...props}\n />\n )\n}\n\nAlertIcon.displayName = 'AlertIcon'\n\n// ============================================================================\n// AlertContent\n// ============================================================================\n\ntype AlertContentProps = React.ComponentProps<'div'>\n\nconst AlertContent = ({ className, ...props }: AlertContentProps) => {\n return (\n <div\n data-slot='alert-content'\n className={cn('flex-1 space-y-1', className)}\n {...props}\n />\n )\n}\n\nAlertContent.displayName = 'AlertContent'\n\n// ============================================================================\n// AlertTitle\n// ============================================================================\n\ntype AlertTitleProps = React.ComponentProps<'h5'>\n\nconst AlertTitle = ({ className, ...props }: AlertTitleProps) => {\n return (\n <h5\n data-slot='alert-title'\n className={cn('font-semibold leading-tight tracking-tight', className)}\n {...props}\n />\n )\n}\n\nAlertTitle.displayName = 'AlertTitle'\n\n// ============================================================================\n// AlertDescription\n// ============================================================================\n\ntype AlertDescriptionProps = React.ComponentProps<'div'>\n\nconst AlertDescription = ({ className, ...props }: AlertDescriptionProps) => {\n return (\n <div\n data-slot='alert-description'\n className={cn('text-sm opacity-90 [&_p]:leading-relaxed', className)}\n {...props}\n />\n )\n}\n\nAlertDescription.displayName = 'AlertDescription'\n\n// ============================================================================\n// AlertAction\n// ============================================================================\n\ntype AlertActionProps = React.ComponentProps<'div'>\n\nconst AlertAction = ({ className, ...props }: AlertActionProps) => {\n return (\n <div\n data-slot='alert-action'\n className={cn('ms-auto flex shrink-0 items-center gap-2', className)}\n {...props}\n />\n )\n}\n\nAlertAction.displayName = 'AlertAction'\n\n// ============================================================================\n// AlertClose\n// ============================================================================\n\ntype AlertCloseProps = React.ComponentProps<'button'>\n\nconst AlertClose = ({ className, ...props }: AlertCloseProps) => {\n return (\n <button\n data-slot='alert-close'\n type='button'\n className={cn(\n 'ms-auto inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md p-1 opacity-60 transition-opacity hover:opacity-100',\n className,\n )}\n {...props}\n />\n )\n}\n\nAlertClose.displayName = 'AlertClose'\n\n// ============================================================================\n// Exports\n// ============================================================================\n\nexport {\n Alert,\n AlertIcon,\n AlertContent,\n AlertTitle,\n AlertDescription,\n AlertAction,\n AlertClose,\n}\n\nexport type {\n AlertProps,\n AlertIconProps,\n AlertContentProps,\n AlertTitleProps,\n AlertDescriptionProps,\n AlertActionProps,\n AlertCloseProps,\n}\n"],"mappings":";;;;;;;;AAWA,MAAM,gBAAgB,IACpB,CAAC,6CAA6C,mBAAmB,EACjE;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,aAAa;GACb,SAAS;GACT,SAAS;GACT,MAAM;GACP;EACD,YAAY;GACV,SAAS;GACT,SAAS;GACT,QAAQ;GACT;EACD,MAAM;GACJ,IAAI;GACJ,IAAI;GACJ,IA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3B,MAAM,cAAc,EAAE,WAAW,GAAG,YAA6B;AAC/D,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,8CAA8C,UAAU;EACtE,GAAI;GACJ;;AAIN,WAAW,cAAc;AAQzB,MAAM,oBAAoB,EAAE,WAAW,GAAG,YAAmC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,4CAA4C,UAAU;EACpE,GAAI;GACJ;;AAIN,iBAAiB,cAAc;AAQ/B,MAAM,eAAe,EAAE,WAAW,GAAG,YAA8B;AACjE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,4CAA4C,UAAU;EACpE,GAAI;GACJ;;AAIN,YAAY,cAAc;AAQ1B,MAAM,cAAc,EAAE,WAAW,GAAG,YAA6B;AAC/D,QACE,oBAAC;EACC,aAAU;EACV,MAAK;EACL,WAAW,GACT,0IACA,UACD;EACD,GAAI;GACJ;;AAIN,WAAW,cAAc"}
|
package/dist/autocomplete.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime102 from "react/jsx-runtime";
|
|
3
3
|
import { Autocomplete as BaseAutocomplete, AutocompleteRootProps } from "@base-ui/react/autocomplete";
|
|
4
4
|
|
|
5
5
|
//#region src/components/autocomplete.d.ts
|
|
@@ -9,12 +9,12 @@ declare const AutocompleteInput: {
|
|
|
9
9
|
({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: AutocompleteInputProps):
|
|
12
|
+
}: AutocompleteInputProps): react_jsx_runtime102.JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
type AutocompletePortalProps = React.ComponentProps<typeof BaseAutocomplete.Portal>;
|
|
16
16
|
declare const AutocompletePortal: {
|
|
17
|
-
(props: AutocompletePortalProps):
|
|
17
|
+
(props: AutocompletePortalProps): react_jsx_runtime102.JSX.Element;
|
|
18
18
|
displayName: string;
|
|
19
19
|
};
|
|
20
20
|
type AutocompletePositionerProps = React.ComponentProps<typeof BaseAutocomplete.Positioner>;
|
|
@@ -22,7 +22,7 @@ declare const AutocompletePositioner: {
|
|
|
22
22
|
({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: AutocompletePositionerProps):
|
|
25
|
+
}: AutocompletePositionerProps): react_jsx_runtime102.JSX.Element;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
28
|
type AutocompletePopupProps = React.ComponentProps<typeof BaseAutocomplete.Popup>;
|
|
@@ -30,7 +30,7 @@ declare const AutocompletePopup: {
|
|
|
30
30
|
({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: AutocompletePopupProps):
|
|
33
|
+
}: AutocompletePopupProps): react_jsx_runtime102.JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
type AutocompleteEmptyProps = React.ComponentProps<typeof BaseAutocomplete.Empty>;
|
|
@@ -38,7 +38,7 @@ declare const AutocompleteEmpty: {
|
|
|
38
38
|
({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: AutocompleteEmptyProps):
|
|
41
|
+
}: AutocompleteEmptyProps): react_jsx_runtime102.JSX.Element;
|
|
42
42
|
displayName: string;
|
|
43
43
|
};
|
|
44
44
|
type AutocompleteListProps = React.ComponentProps<typeof BaseAutocomplete.List>;
|
|
@@ -46,7 +46,7 @@ declare const AutocompleteList: {
|
|
|
46
46
|
({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: AutocompleteListProps):
|
|
49
|
+
}: AutocompleteListProps): react_jsx_runtime102.JSX.Element;
|
|
50
50
|
displayName: string;
|
|
51
51
|
};
|
|
52
52
|
type AutocompleteItemProps = React.ComponentProps<typeof BaseAutocomplete.Item>;
|
|
@@ -54,7 +54,7 @@ declare const AutocompleteItem: {
|
|
|
54
54
|
({
|
|
55
55
|
className,
|
|
56
56
|
...props
|
|
57
|
-
}: AutocompleteItemProps):
|
|
57
|
+
}: AutocompleteItemProps): react_jsx_runtime102.JSX.Element;
|
|
58
58
|
displayName: string;
|
|
59
59
|
};
|
|
60
60
|
type AutocompleteStatusProps = React.ComponentProps<typeof BaseAutocomplete.Status>;
|
|
@@ -62,7 +62,7 @@ declare const AutocompleteStatus: {
|
|
|
62
62
|
({
|
|
63
63
|
className,
|
|
64
64
|
...props
|
|
65
|
-
}: AutocompleteStatusProps):
|
|
65
|
+
}: AutocompleteStatusProps): react_jsx_runtime102.JSX.Element;
|
|
66
66
|
displayName: string;
|
|
67
67
|
};
|
|
68
68
|
type AutocompleteGroupProps = React.ComponentProps<typeof BaseAutocomplete.Group>;
|
|
@@ -70,7 +70,7 @@ declare const AutocompleteGroup: {
|
|
|
70
70
|
({
|
|
71
71
|
className,
|
|
72
72
|
...props
|
|
73
|
-
}: AutocompleteGroupProps):
|
|
73
|
+
}: AutocompleteGroupProps): react_jsx_runtime102.JSX.Element;
|
|
74
74
|
displayName: string;
|
|
75
75
|
};
|
|
76
76
|
type AutocompleteGroupLabelProps = React.ComponentProps<typeof BaseAutocomplete.GroupLabel>;
|
|
@@ -78,12 +78,12 @@ declare const AutocompleteGroupLabel: {
|
|
|
78
78
|
({
|
|
79
79
|
className,
|
|
80
80
|
...props
|
|
81
|
-
}: AutocompleteGroupLabelProps):
|
|
81
|
+
}: AutocompleteGroupLabelProps): react_jsx_runtime102.JSX.Element;
|
|
82
82
|
displayName: string;
|
|
83
83
|
};
|
|
84
84
|
type AutocompleteCollectionProps = React.ComponentProps<typeof BaseAutocomplete.Collection>;
|
|
85
85
|
declare const AutocompleteCollection: {
|
|
86
|
-
(props: AutocompleteCollectionProps):
|
|
86
|
+
(props: AutocompleteCollectionProps): react_jsx_runtime102.JSX.Element;
|
|
87
87
|
displayName: string;
|
|
88
88
|
};
|
|
89
89
|
type AutocompleteSeparatorProps = React.ComponentProps<typeof BaseAutocomplete.Separator>;
|
|
@@ -91,7 +91,7 @@ declare const AutocompleteSeparator: {
|
|
|
91
91
|
({
|
|
92
92
|
className,
|
|
93
93
|
...props
|
|
94
|
-
}: AutocompleteSeparatorProps):
|
|
94
|
+
}: AutocompleteSeparatorProps): react_jsx_runtime102.JSX.Element;
|
|
95
95
|
displayName: string;
|
|
96
96
|
};
|
|
97
97
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.d.ts","names":[],"sources":["../src/components/autocomplete.tsx"],"sourcesContent":[],"mappings":";;;;;cAeM,yBAAgB,gBAAA,CAAA;KAMjB,sBAAA,GAAyB,KAAA,CAAM,sBAAsB,gBAAA,CAAiB;cAErE;EARA,CAAA;IAAA,SAAA;IAAA,GAAA;EAAgB,CAAwB,EAQM,sBAR9B,CAAA,EAQoD,
|
|
1
|
+
{"version":3,"file":"autocomplete.d.ts","names":[],"sources":["../src/components/autocomplete.tsx"],"sourcesContent":[],"mappings":";;;;;cAeM,yBAAgB,gBAAA,CAAA;KAMjB,sBAAA,GAAyB,KAAA,CAAM,sBAAsB,gBAAA,CAAiB;cAErE;EARA,CAAA;IAAA,SAAA;IAAA,GAAA;EAAgB,CAAwB,EAQM,sBAR9B,CAAA,EAQoD,oBAAA,CAAA,GAAA,CAAA,OAR5B;EAMzC,WAAA,EAAA,MAAA;CAAsB;KAYtB,uBAAA,GAA0B,KAAA,CAAM,cAZsC,CAAA,OAYhB,gBAAA,CAAiB,MAZD,CAAA;cAcrE,kBAd8B,EAAA;EAAc,CAAA,KAAA,EAcf,uBAde,CAAA,EAcQ,oBAAA,CAAA,GAAA,CAAA,OAdR;EAE5C,WAAA,EAAA,MAAA;CAEL;KAoBI,2BAAA,GAA8B,KAAA,CAAM,sBAChC,gBAAA,CAAiB;cAGpB,sBA1B8C,EAAA;;IAAsB,SAAA;IAAA,GAAA;EAAA,CAAA,EA0BjB,2BA1BiB,CAAA,EA0BU,oBAAA,CAAA,GAAA,CAAA,OA1BV;EAAA,WAAA,EAAA,MAAA;AAAA,CAAA;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AA,CAAM,cAzFnC,CAAA,OAyFyD,gBAAA,CAAiB,KAzF1E,CAAA;cA2FK,iBA3FL,EAAA;;;;KA2FmD,yBAAsB,oBAAA,CAAA,GAAA,CAAA;aAxGtB,EAAA,MAAA;;KAkH/C,2BAAA,GAA8B,KAAA,CAAM,cAlHiC,CAAA,OAmHjE,gBAAA,CAAiB,UAnHgD,CAAA;AAAA,cAsHpE,sBAjGqB,EAAA;EAAA,CAAA;IAAA,SAAA;IAAA,GAAA;EAAA,CAAA,EAiG8B,2BAjG9B,CAAA,EAiGyD,oBAAA,CAAA,GAAA,CAAA,OAjGzD;aAA+B,EAAA,MAAA;;KAmHrD,2BAAA,GAA8B,KAAA,CAAM,cAnHS,CAAA,OAoHzC,gBAAA,CAAiB,UApHwB,CAAA;AAAA,cAuH5C,sBA3GL,EAAA;EAAA,CAAA,KAAA,EA2GsC,2BA3GtC,CAAA,EA2GiE,oBAAA,CAAA,GAAA,CAAA,OA3GjE;;;KAqHI,0BAAA,GAA6B,KAAA,CAAM,cA/HkC,CAAA,OA+HZ,gBAAA,CAAiB,SA/HL,CAAA;cAiIpE,qBAjIoE,EAAA;EAkBrE,CAAA;IAAA,SAAA;IAAA,GAAA;EAAqB,CAAA,EA+G8B,0BA/G9B,CAAA,EA+GwD,oBAAA,CAAA,GAAA,CAAA,OA/GxD;EAAA,WAAA,EAAA,MAAA"}
|
package/dist/avatar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime284 from "react/jsx-runtime";
|
|
3
3
|
import { Avatar } from "@base-ui/react/avatar";
|
|
4
4
|
|
|
5
5
|
//#region src/components/avatar.d.ts
|
|
@@ -13,7 +13,7 @@ declare const AvatarRoot: {
|
|
|
13
13
|
className,
|
|
14
14
|
size,
|
|
15
15
|
...props
|
|
16
|
-
}: AvatarRootProps):
|
|
16
|
+
}: AvatarRootProps): react_jsx_runtime284.JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
type AvatarImageProps = React.ComponentProps<typeof Avatar.Image>;
|
|
@@ -21,7 +21,7 @@ declare const AvatarImage: {
|
|
|
21
21
|
({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: AvatarImageProps):
|
|
24
|
+
}: AvatarImageProps): react_jsx_runtime284.JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
};
|
|
27
27
|
type AvatarFallbackProps = React.ComponentProps<typeof Avatar.Fallback>;
|
|
@@ -29,7 +29,7 @@ declare const AvatarFallback: {
|
|
|
29
29
|
({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: AvatarFallbackProps):
|
|
32
|
+
}: AvatarFallbackProps): react_jsx_runtime284.JSX.Element;
|
|
33
33
|
displayName: string;
|
|
34
34
|
};
|
|
35
35
|
type AvatarStackProps = {
|
|
@@ -48,7 +48,7 @@ declare const AvatarStack: {
|
|
|
48
48
|
maxVisible,
|
|
49
49
|
className,
|
|
50
50
|
children
|
|
51
|
-
}: AvatarStackProps):
|
|
51
|
+
}: AvatarStackProps): react_jsx_runtime284.JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
//#endregion
|
package/dist/avatar.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import { cn } from "./lib/utils.js";
|
|
4
|
-
import * as React from "react";
|
|
5
4
|
import { cva } from "class-variance-authority";
|
|
5
|
+
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { Avatar } from "@base-ui/react/avatar";
|
|
8
8
|
|
package/dist/badge.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime210 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/badge.d.ts
|
|
5
5
|
type BadgeVariant = 'default' | 'secondary' | 'destructive' | 'success' | 'warning' | 'info';
|
|
@@ -24,7 +24,7 @@ declare const Badge: {
|
|
|
24
24
|
size,
|
|
25
25
|
shape,
|
|
26
26
|
...props
|
|
27
|
-
}: BadgeProps):
|
|
27
|
+
}: BadgeProps): react_jsx_runtime210.JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
type BadgeDotProps = React.ComponentProps<'span'>;
|
|
@@ -32,7 +32,7 @@ declare const BadgeDot: {
|
|
|
32
32
|
({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: BadgeDotProps):
|
|
35
|
+
}: BadgeDotProps): react_jsx_runtime210.JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
type BadgeButtonProps = React.ComponentProps<'button'>;
|
|
@@ -40,7 +40,7 @@ declare const BadgeButton: {
|
|
|
40
40
|
({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: BadgeButtonProps):
|
|
43
|
+
}: BadgeButtonProps): react_jsx_runtime210.JSX.Element;
|
|
44
44
|
displayName: string;
|
|
45
45
|
};
|
|
46
46
|
//#endregion
|
package/dist/badge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","names":[],"sources":["../src/components/badge.tsx"],"sourcesContent":[],"mappings":";;;;KAiLY,YAAA;KAQA,eAAA;KAEA,SAAA;AAVA,KAYA,UAAA,GAZY,MAAA,GAAA,SAAA;AAQxB,KAUK,UAAA,GAAa,KAAA,CAAM,cAVG,CAAA,MAAA,CAAA,GAAA;EAEf;EAEA,OAAA,CAAA,EAQA,YARU;EAMjB;EAAU,UAAA,CAAA,EAIA,eAJA;;MAEH,CAAA,EAIH,SAJG;;OAIH,CAAA,EAEC,UAFD;;cAKH,KAHc,EAAA;EAGd,CAAA;IAAA,SAOL;IAAA,OAAA;IAAA,UAAA;I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