@lglab/compose-ui 0.33.0 → 0.35.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.
Files changed (96) hide show
  1. package/dist/accordion.d.ts +6 -6
  2. package/dist/alert-dialog.d.ts +10 -10
  3. package/dist/alert-dialog.d.ts.map +1 -1
  4. package/dist/alert-dialog.js +2 -2
  5. package/dist/alert.d.ts +76 -0
  6. package/dist/alert.d.ts.map +1 -0
  7. package/dist/alert.js +176 -0
  8. package/dist/alert.js.map +1 -0
  9. package/dist/autocomplete.d.ts +13 -13
  10. package/dist/avatar.d.ts +5 -5
  11. package/dist/avatar.d.ts.map +1 -1
  12. package/dist/avatar.js +1 -1
  13. package/dist/badge.d.ts +4 -4
  14. package/dist/badge.d.ts.map +1 -1
  15. package/dist/badge.js +1 -1
  16. package/dist/breadcrumb.d.ts +60 -0
  17. package/dist/breadcrumb.d.ts.map +1 -0
  18. package/dist/breadcrumb.js +68 -0
  19. package/dist/breadcrumb.js.map +1 -0
  20. package/dist/button.d.ts +3 -3
  21. package/dist/button.js +2 -2
  22. package/dist/calendar.d.ts +2 -2
  23. package/dist/calendar.js +1 -1
  24. package/dist/card.d.ts +9 -9
  25. package/dist/card.js +1 -1
  26. package/dist/checkbox-group.d.ts +2 -2
  27. package/dist/checkbox.d.ts +3 -3
  28. package/dist/collapsible.d.ts +4 -4
  29. package/dist/collapsible.d.ts.map +1 -1
  30. package/dist/combobox.d.ts +25 -25
  31. package/dist/combobox.d.ts.map +1 -1
  32. package/dist/components/chart/context.d.ts +2 -2
  33. package/dist/components/chart/legend.d.ts +2 -2
  34. package/dist/components/chart/tooltip.d.ts +2 -2
  35. package/dist/components/table/primitives.d.ts +10 -10
  36. package/dist/components/table/primitives.js +1 -1
  37. package/dist/context-menu.d.ts +20 -20
  38. package/dist/context-menu.js +1 -1
  39. package/dist/dialog.d.ts +11 -11
  40. package/dist/dialog.d.ts.map +1 -1
  41. package/dist/dialog.js +2 -2
  42. package/dist/drawer.d.ts +12 -12
  43. package/dist/drawer.js +2 -2
  44. package/dist/field.d.ts +8 -8
  45. package/dist/fieldset.d.ts +3 -3
  46. package/dist/fieldset.d.ts.map +1 -1
  47. package/dist/form.d.ts +2 -2
  48. package/dist/group.d.ts +3 -3
  49. package/dist/group.js +1 -1
  50. package/dist/index.d.ts +3 -1
  51. package/dist/index.js +3 -1
  52. package/dist/input.d.ts +2 -2
  53. package/dist/menu.d.ts +20 -20
  54. package/dist/menu.js +1 -1
  55. package/dist/menubar.d.ts +21 -21
  56. package/dist/menubar.js +1 -1
  57. package/dist/meter.d.ts +6 -6
  58. package/dist/navigation-menu.d.ts +14 -14
  59. package/dist/number-field.d.ts +8 -8
  60. package/dist/pagination.d.ts +10 -10
  61. package/dist/popover.d.ts +12 -12
  62. package/dist/preview-card.d.ts +8 -8
  63. package/dist/preview-card.d.ts.map +1 -1
  64. package/dist/progress.d.ts +6 -6
  65. package/dist/radio-group.d.ts +2 -2
  66. package/dist/radio.d.ts +3 -3
  67. package/dist/radio.d.ts.map +1 -1
  68. package/dist/scroll-area.d.ts +7 -7
  69. package/dist/scroll-area.d.ts.map +1 -1
  70. package/dist/select.d.ts +19 -19
  71. package/dist/select.d.ts.map +1 -1
  72. package/dist/separator.d.ts +2 -2
  73. package/dist/separator.d.ts.map +1 -1
  74. package/dist/skeleton.d.ts +2 -2
  75. package/dist/skeleton.d.ts.map +1 -1
  76. package/dist/skeleton.js +1 -1
  77. package/dist/slider.d.ts +7 -7
  78. package/dist/slider.d.ts.map +1 -1
  79. package/dist/styles/default.css +1 -1
  80. package/dist/switch.d.ts +3 -3
  81. package/dist/switch.d.ts.map +1 -1
  82. package/dist/tabs.d.ts +6 -6
  83. package/dist/tabs.js +1 -1
  84. package/dist/textarea.d.ts +2 -2
  85. package/dist/textarea.d.ts.map +1 -1
  86. package/dist/toast.d.ts +10 -10
  87. package/dist/toast.d.ts.map +1 -1
  88. package/dist/toast.js +1 -1
  89. package/dist/toggle-group.d.ts +3 -3
  90. package/dist/toggle-group.d.ts.map +1 -1
  91. package/dist/toggle.d.ts +2 -2
  92. package/dist/toggle.d.ts.map +1 -1
  93. package/dist/toolbar.d.ts +7 -7
  94. package/dist/toolbar.d.ts.map +1 -1
  95. package/dist/tooltip.d.ts +8 -8
  96. package/package.json +15 -7
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime8 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 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): react_jsx_runtime8.JSX.Element;
11
+ }: AccordionRootProps): react_jsx_runtime2.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): react_jsx_runtime8.JSX.Element;
19
+ }: AccordionItemProps): react_jsx_runtime2.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): react_jsx_runtime8.JSX.Element;
27
+ }: AccordionHeaderProps): react_jsx_runtime2.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): react_jsx_runtime8.JSX.Element;
36
+ }: AccordionTriggerProps): react_jsx_runtime2.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): react_jsx_runtime8.JSX.Element;
44
+ }: AccordionPanelProps): react_jsx_runtime2.JSX.Element;
45
45
  displayName: string;
46
46
  };
47
47
  //#endregion
@@ -1,12 +1,12 @@
1
1
  import { ButtonSize, ButtonVariant } from "./lib/button-variants.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime39 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): react_jsx_runtime0.JSX.Element;
9
+ (props: AlertDialogRootProps): react_jsx_runtime39.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): react_jsx_runtime0.JSX.Element;
24
+ }: AlertDialogTriggerProps): react_jsx_runtime39.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): react_jsx_runtime0.JSX.Element;
29
+ (props: AlertDialogPortalProps): react_jsx_runtime39.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): react_jsx_runtime0.JSX.Element;
37
+ }: AlertDialogBackdropProps): react_jsx_runtime39.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): react_jsx_runtime0.JSX.Element;
45
+ }: AlertDialogViewportProps): react_jsx_runtime39.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): react_jsx_runtime0.JSX.Element;
57
+ }: AlertDialogPopupProps): react_jsx_runtime39.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): react_jsx_runtime0.JSX.Element;
65
+ }: AlertDialogTitleProps): react_jsx_runtime39.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): react_jsx_runtime0.JSX.Element;
73
+ }: AlertDialogDescriptionProps): react_jsx_runtime39.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): react_jsx_runtime0.JSX.Element;
88
+ }: AlertDialogCloseProps): react_jsx_runtime39.JSX.Element;
89
89
  displayName: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AA;AAAA,CAAA;cAkF5C,gBA9EL,EAAA;;IAFiC,SAAA;IAAA,IAAA;IAAA,GAAA;EAAA,CAAA,EAgFuB,qBAhFvB,CAAA,EAgF4C,mBAAA,CAAA,GAAA,CAAA,OAhF5C;aAAsB,EAAA,MAAA;CAAA;AAAA,KA+FnD,qBAAA,GAAwB,KAAA,CAAM,cArFN,CAAA,OAqF4B,aAAA,CAAgB,KArF5C,CAAA;cAuFvB,gBAvFuB,EAAA;;IAA+B,SAAA;IAAA,GAAgB;EAAA,CAAA,EAuFzB,qBAvFyB,CAAA,EAuFJ,mBAAA,CAAA,GAAA,CAAA,OAvFI;aAAtC,EAAA,MAAA;CAAc;AAAA,KAsG/C,2BAAA,GAA8B,KAAA,CAAM,cAxFxC,CAAA,OAyFQ,aAAA,CAAgB,WAzFxB,CAAA;cA4FK,sBA5FL,EAAA;;;;KA4FwD,8BAA2B,mBAAA,CAAA,GAAA,CAAA;aAxG9B,EAAA,MAAA;;KAkHjD,qBAAA,GAAwB,KAAA,CAAM,cAlH2C,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,mBAAA,CAAA,GAAA,CAAA,OAjGvB"}
@@ -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 "react";
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
 
@@ -0,0 +1,76 @@
1
+ import * as React from "react";
2
+ import * as react_jsx_runtime16 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_runtime16.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_runtime16.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_runtime16.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_runtime16.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_runtime16.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_runtime16.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_runtime16.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,mBAAA,CAAA,GAAA,CAAA,OAH3D;EAGZ,WAQL,EAAA,MAAA;CAAA;KAQI,cAAA,GAAiB,KAAA,CAAM;cAEtB;;;;KAAsC,iBAAc,mBAAA,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,mBAAA,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,mBAAA,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,mBAAA,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,mBAAA,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,mBAAA,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,IAAI;GACL;EACF;CACD,kBAAkB;EAEhB;GACE,SAAS;GACT,YAAY;GACZ,OAAO;GACR;EACD;GAC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W,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"}
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime14 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime27 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): react_jsx_runtime14.JSX.Element;
12
+ }: AutocompleteInputProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
17
+ (props: AutocompletePortalProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
25
+ }: AutocompletePositionerProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
33
+ }: AutocompletePopupProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
41
+ }: AutocompleteEmptyProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
49
+ }: AutocompleteListProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
57
+ }: AutocompleteItemProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
65
+ }: AutocompleteStatusProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
73
+ }: AutocompleteGroupProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
81
+ }: AutocompleteGroupLabelProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
86
+ (props: AutocompleteCollectionProps): react_jsx_runtime27.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): react_jsx_runtime14.JSX.Element;
94
+ }: AutocompleteSeparatorProps): react_jsx_runtime27.JSX.Element;
95
95
  displayName: string;
96
96
  };
97
97
  //#endregion
package/dist/avatar.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime104 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime23 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): react_jsx_runtime104.JSX.Element;
16
+ }: AvatarRootProps): react_jsx_runtime23.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): react_jsx_runtime104.JSX.Element;
24
+ }: AvatarImageProps): react_jsx_runtime23.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): react_jsx_runtime104.JSX.Element;
32
+ }: AvatarFallbackProps): react_jsx_runtime23.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): react_jsx_runtime104.JSX.Element;
51
+ }: AvatarStackProps): react_jsx_runtime23.JSX.Element;
52
52
  displayName: string;
53
53
  };
54
54
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.d.ts","names":[],"sources":["../src/components/avatar.tsx"],"sourcesContent":[],"mappings":";;;;;KAgCK,UAAA;KAMA,eAAA,GAAkB,KAAA,CAAM,sBAAsB,MAAA,CAAW;;EANzD,IAAA,CAAA,EAQI,UARM;AAAA,CAAA;cAWT,UALc,EAAA;;IAA+B,SAAW;IAAA,IAAA;IAAA,GAAA;EAAA,CAAA,EAKX,eALW,CAAA,EAKI,oBAAA,CAAA,GAAA,CAAA,OALJ;aAAjC,EAAA,MAAA;;KAiBxB,gBAAA,GAAmB,KAAA,CAAM,cAfX,CAAA,OAeiC,MAAA,CAAW,KAf5C,CAAA;AAAA,cAiBb,WAVL,EAAA;EAAA,CAAA;IAAA,SAAA;IAAA,GAAA;EAAA,CAAA,EAU6C,gBAV7C,CAAA,EAU6D,oBAAA,CAAA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Bf,CAAA;cA+B7C,cA/B4D,EAAA;EAAA,CAAA;IAAA,SAAA;IAAA,GAAA;EAAA,CAAA,EA+BjB,mBA/BiB,CAAA,EA+BE,mBAAA,CAAA,GAAA,CAAA,OA/BF;EAY7D,WAAA,EAAA,MAAgB;CAAA;KAqChB,gBAAA,GArC0D;;EAAnB,YAAA,EAAA,MAAA;EAEtC;EAOL,UAAA,CAAA,EAAA,MAAA;;WAP6C,CAAA,EAAA,MAAA;;EAAgB,QAAA,EA2ClD,KAAA,CAAM,SA3C4C;AAAA,CAAA;cA8CxD,WA/BkB,EAAA;;IAA+B,YAAW,WAAA;IAAA,UAAA;IAAA,SAAA;IAAA;EAAA,CAAA,EAoC/D,gBApC+D,CAAA,EAoC/C,mBAAA,CAAA,GAAA,CAAA,OApC+C;aAAjC,EAAA,MAAA;CAAc"}
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 react_jsx_runtime35 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime7 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): react_jsx_runtime35.JSX.Element;
27
+ }: BadgeProps): react_jsx_runtime7.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): react_jsx_runtime35.JSX.Element;
35
+ }: BadgeDotProps): react_jsx_runtime7.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): react_jsx_runtime35.JSX.Element;
43
+ }: BadgeButtonProps): react_jsx_runtime7.JSX.Element;
44
44
  displayName: string;
45
45
  };
46
46
  //#endregion
@@ -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;IAAA,IAAA;IAAA,KAAA;IAAA,GAAA;EAAA,CAAA,EAPyE,UAOzE,CAAA,EAPmF,mBAAA,CAAA,GAAA,CAAA,OAOnF;EAAA,WAAA,EAAA,MAAA;;KAQI,aAAA,GAAgB,KAAA,CAAM;cAErB;;;;KAAqC,gBAAa,mBAAA,CAAA,GAAA,CAAA;;;KAgBnD,gBAAA,GAAmB,KAAA,CAAM,cAjCsD,CAAA,QAAA,CAAA;cAmC9E,WAnC8E,EAAA;EAe/E,CAAA;IAAA,SAAA;IAAA,GAAa;EAAS,CAAT,EAoB4B,gBApBnB,CAAA,EAoBmC,mBAAA,CAAA,GAAA,CAAA,OApBrB;EAEnC,WAQL,EAAA,MAAA;CAAA"}
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;IAAA,IAAA;IAAA,KAAA;IAAA,GAAA;EAAA,CAAA,EAPyE,UAOzE,CAAA,EAPmF,kBAAA,CAAA,GAAA,CAAA,OAOnF;EAAA,WAAA,EAAA,MAAA;;KAQI,aAAA,GAAgB,KAAA,CAAM;cAErB;;;;KAAqC,gBAAa,kBAAA,CAAA,GAAA,CAAA;;;KAgBnD,gBAAA,GAAmB,KAAA,CAAM,cAjCsD,CAAA,QAAA,CAAA;cAmC9E,WAnC8E,EAAA;EAe/E,CAAA;IAAA,SAAA;IAAA,GAAa;EAAS,CAAT,EAoB4B,gBApBnB,CAAA,EAoBmC,kBAAA,CAAA,GAAA,CAAA,OApBrB;EAEnC,WAQL,EAAA,MAAA;CAAA"}
package/dist/badge.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
  import { cn } from "./lib/utils.js";
4
- import "react";
5
4
  import { cva } from "class-variance-authority";
5
+ import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
 
8
8
  //#region src/components/badge.tsx