@lglab/compose-ui 0.27.0 → 0.28.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/badge.d.ts +42 -0
- package/dist/badge.js +203 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +271 -267
- package/dist/styles/default.css +12 -0
- package/package.json +5 -1
package/dist/badge.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Badge: {
|
|
5
|
+
({ className, variant, appearance, size, shape, ...props }: BadgeProps): JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export declare type BadgeAppearance = 'default' | 'outline' | 'light' | 'ghost';
|
|
10
|
+
|
|
11
|
+
export declare const BadgeButton: {
|
|
12
|
+
({ className, ...props }: BadgeButtonProps): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export declare type BadgeButtonProps = React_2.ComponentProps<'button'>;
|
|
17
|
+
|
|
18
|
+
export declare const BadgeDot: {
|
|
19
|
+
({ className, ...props }: BadgeDotProps): JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export declare type BadgeDotProps = React_2.ComponentProps<'span'>;
|
|
24
|
+
|
|
25
|
+
export declare type BadgeProps = React_2.ComponentProps<'span'> & {
|
|
26
|
+
/** Visual style variant */
|
|
27
|
+
variant?: BadgeVariant;
|
|
28
|
+
/** Appearance style */
|
|
29
|
+
appearance?: BadgeAppearance;
|
|
30
|
+
/** Size of the badge */
|
|
31
|
+
size?: BadgeSize;
|
|
32
|
+
/** Shape of the badge */
|
|
33
|
+
shape?: BadgeShape;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export declare type BadgeShape = 'pill' | 'rounded';
|
|
37
|
+
|
|
38
|
+
export declare type BadgeSize = 'sm' | 'md' | 'lg';
|
|
39
|
+
|
|
40
|
+
export declare type BadgeVariant = 'default' | 'secondary' | 'destructive' | 'success' | 'warning' | 'info';
|
|
41
|
+
|
|
42
|
+
export { }
|
package/dist/badge.js
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { cva as o } from "class-variance-authority";
|
|
4
|
+
import { c as s } from "./utils-B6yFEsav.js";
|
|
5
|
+
const p = o(
|
|
6
|
+
[
|
|
7
|
+
"inline-flex items-center gap-1.5 whitespace-nowrap font-medium transition-colors",
|
|
8
|
+
"[&_svg]:pointer-events-none [&_svg]:shrink-0"
|
|
9
|
+
],
|
|
10
|
+
{
|
|
11
|
+
variants: {
|
|
12
|
+
variant: {
|
|
13
|
+
default: "",
|
|
14
|
+
secondary: "",
|
|
15
|
+
destructive: "",
|
|
16
|
+
success: "",
|
|
17
|
+
warning: "",
|
|
18
|
+
info: ""
|
|
19
|
+
},
|
|
20
|
+
appearance: {
|
|
21
|
+
default: "",
|
|
22
|
+
outline: "border",
|
|
23
|
+
light: "",
|
|
24
|
+
ghost: ""
|
|
25
|
+
},
|
|
26
|
+
size: {
|
|
27
|
+
sm: "text-xs px-2 h-5 min-w-5 [&_svg]:size-3",
|
|
28
|
+
md: "text-xs px-2.5 h-6 min-w-6 [&_svg]:size-3.5",
|
|
29
|
+
lg: "text-sm px-3 h-7 min-w-7 [&_svg]:size-4"
|
|
30
|
+
},
|
|
31
|
+
shape: {
|
|
32
|
+
pill: "rounded-full",
|
|
33
|
+
rounded: "rounded-md"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
compoundVariants: [
|
|
37
|
+
// Default appearance (solid) - full color bg, white text
|
|
38
|
+
{
|
|
39
|
+
variant: "default",
|
|
40
|
+
appearance: "default",
|
|
41
|
+
class: "bg-primary text-primary-foreground"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
variant: "secondary",
|
|
45
|
+
appearance: "default",
|
|
46
|
+
class: "bg-secondary text-secondary-foreground"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
variant: "destructive",
|
|
50
|
+
appearance: "default",
|
|
51
|
+
class: "bg-destructive text-white"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
variant: "success",
|
|
55
|
+
appearance: "default",
|
|
56
|
+
class: "bg-success text-white"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
variant: "warning",
|
|
60
|
+
appearance: "default",
|
|
61
|
+
class: "bg-warning text-white"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
variant: "info",
|
|
65
|
+
appearance: "default",
|
|
66
|
+
class: "bg-info text-white"
|
|
67
|
+
},
|
|
68
|
+
// Light appearance - 10% bg, colored text
|
|
69
|
+
{
|
|
70
|
+
variant: "default",
|
|
71
|
+
appearance: "light",
|
|
72
|
+
class: "bg-primary/10 text-primary"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
variant: "secondary",
|
|
76
|
+
appearance: "light",
|
|
77
|
+
class: "bg-secondary text-secondary-foreground"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
variant: "destructive",
|
|
81
|
+
appearance: "light",
|
|
82
|
+
class: "bg-destructive/10 text-destructive"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
variant: "success",
|
|
86
|
+
appearance: "light",
|
|
87
|
+
class: "bg-success/10 text-success"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
variant: "warning",
|
|
91
|
+
appearance: "light",
|
|
92
|
+
class: "bg-warning/10 text-warning"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
variant: "info",
|
|
96
|
+
appearance: "light",
|
|
97
|
+
class: "bg-info/10 text-info"
|
|
98
|
+
},
|
|
99
|
+
// Outline appearance - border + 10% bg, colored text
|
|
100
|
+
{
|
|
101
|
+
variant: "default",
|
|
102
|
+
appearance: "outline",
|
|
103
|
+
class: "border-primary bg-primary/10 text-primary"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
variant: "secondary",
|
|
107
|
+
appearance: "outline",
|
|
108
|
+
class: "bg-secondary border-border text-foreground"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
variant: "destructive",
|
|
112
|
+
appearance: "outline",
|
|
113
|
+
class: "border-destructive bg-destructive/10 text-destructive"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
variant: "success",
|
|
117
|
+
appearance: "outline",
|
|
118
|
+
class: "border-success bg-success/10 text-success"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
variant: "warning",
|
|
122
|
+
appearance: "outline",
|
|
123
|
+
class: "border-warning bg-warning/10 text-warning"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
variant: "info",
|
|
127
|
+
appearance: "outline",
|
|
128
|
+
class: "border-info bg-info/10 text-info"
|
|
129
|
+
},
|
|
130
|
+
// Ghost appearance - just colored text
|
|
131
|
+
{
|
|
132
|
+
variant: "default",
|
|
133
|
+
appearance: "ghost",
|
|
134
|
+
class: "text-primary"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
variant: "secondary",
|
|
138
|
+
appearance: "ghost",
|
|
139
|
+
class: "text-secondary-foreground"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
variant: "destructive",
|
|
143
|
+
appearance: "ghost",
|
|
144
|
+
class: "text-destructive"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
variant: "success",
|
|
148
|
+
appearance: "ghost",
|
|
149
|
+
class: "text-success"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
variant: "warning",
|
|
153
|
+
appearance: "ghost",
|
|
154
|
+
class: "text-warning"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
variant: "info",
|
|
158
|
+
appearance: "ghost",
|
|
159
|
+
class: "text-info"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
defaultVariants: {
|
|
163
|
+
variant: "default",
|
|
164
|
+
appearance: "default",
|
|
165
|
+
size: "md",
|
|
166
|
+
shape: "rounded"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
), d = ({ className: a, variant: e, appearance: r, size: n, shape: i, ...c }) => /* @__PURE__ */ t(
|
|
170
|
+
"span",
|
|
171
|
+
{
|
|
172
|
+
className: s(p({ variant: e, appearance: r, size: n, shape: i }), a),
|
|
173
|
+
...c
|
|
174
|
+
}
|
|
175
|
+
);
|
|
176
|
+
d.displayName = "Badge";
|
|
177
|
+
const l = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
178
|
+
"span",
|
|
179
|
+
{
|
|
180
|
+
"data-slot": "badge-dot",
|
|
181
|
+
className: s("size-2 rounded-full bg-[currentColor]", a),
|
|
182
|
+
...e
|
|
183
|
+
}
|
|
184
|
+
);
|
|
185
|
+
l.displayName = "BadgeDot";
|
|
186
|
+
const u = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
187
|
+
"button",
|
|
188
|
+
{
|
|
189
|
+
"data-slot": "badge-button",
|
|
190
|
+
type: "button",
|
|
191
|
+
className: s(
|
|
192
|
+
"cursor-pointer transition-all inline-flex items-center justify-center leading-none size-3.5 [&>svg]:opacity-100! [&>svg]:size-3.5! p-0 rounded-md -me-0.5 opacity-60 hover:opacity-100",
|
|
193
|
+
a
|
|
194
|
+
),
|
|
195
|
+
...e
|
|
196
|
+
}
|
|
197
|
+
);
|
|
198
|
+
u.displayName = "BadgeButton";
|
|
199
|
+
export {
|
|
200
|
+
d as Badge,
|
|
201
|
+
u as BadgeButton,
|
|
202
|
+
l as BadgeDot
|
|
203
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -251,6 +251,44 @@ export declare type AvatarStackProps = {
|
|
|
251
251
|
children: React_2.ReactNode;
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
+
export declare const Badge: {
|
|
255
|
+
({ className, variant, appearance, size, shape, ...props }: BadgeProps): JSX.Element;
|
|
256
|
+
displayName: string;
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
declare type BadgeAppearance = 'default' | 'outline' | 'light' | 'ghost';
|
|
260
|
+
|
|
261
|
+
export declare const BadgeButton: {
|
|
262
|
+
({ className, ...props }: BadgeButtonProps): JSX.Element;
|
|
263
|
+
displayName: string;
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
export declare type BadgeButtonProps = React_2.ComponentProps<'button'>;
|
|
267
|
+
|
|
268
|
+
export declare const BadgeDot: {
|
|
269
|
+
({ className, ...props }: BadgeDotProps): JSX.Element;
|
|
270
|
+
displayName: string;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
export declare type BadgeDotProps = React_2.ComponentProps<'span'>;
|
|
274
|
+
|
|
275
|
+
export declare type BadgeProps = React_2.ComponentProps<'span'> & {
|
|
276
|
+
/** Visual style variant */
|
|
277
|
+
variant?: BadgeVariant;
|
|
278
|
+
/** Appearance style */
|
|
279
|
+
appearance?: BadgeAppearance;
|
|
280
|
+
/** Size of the badge */
|
|
281
|
+
size?: BadgeSize;
|
|
282
|
+
/** Shape of the badge */
|
|
283
|
+
shape?: BadgeShape;
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
declare type BadgeShape = 'pill' | 'rounded';
|
|
287
|
+
|
|
288
|
+
declare type BadgeSize = 'sm' | 'md' | 'lg';
|
|
289
|
+
|
|
290
|
+
declare type BadgeVariant = 'default' | 'secondary' | 'destructive' | 'success' | 'warning' | 'info';
|
|
291
|
+
|
|
254
292
|
export declare const Button: {
|
|
255
293
|
({ className, variant, size, disabled, children, ...props }: ButtonProps): JSX.Element;
|
|
256
294
|
displayName: string;
|
package/dist/index.js
CHANGED
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
import { Button as r } from "./button.js";
|
|
2
2
|
import { CheckboxIndicator as a, CheckboxRoot as i } from "./checkbox.js";
|
|
3
3
|
import { CheckboxGroupRoot as l } from "./checkbox-group.js";
|
|
4
|
-
import { CollapsiblePanel as u, CollapsibleRoot as
|
|
5
|
-
import { ComboboxArrow as x, ComboboxBackdrop as
|
|
4
|
+
import { CollapsiblePanel as u, CollapsibleRoot as m, CollapsibleTrigger as b } from "./collapsible.js";
|
|
5
|
+
import { ComboboxArrow as x, ComboboxBackdrop as d, ComboboxChip as C, ComboboxChipRemove as g, ComboboxChips as M, ComboboxClear as P, ComboboxControl as T, ComboboxEmpty as s, ComboboxGroup as I, ComboboxGroupLabel as R, ComboboxIcon as S, ComboboxInput as A, ComboboxItem as f, ComboboxItemIndicator as D, ComboboxItemText as v, ComboboxList as w, ComboboxPopup as k, ComboboxPortal as L, ComboboxPositioner as F, ComboboxRoot as h, ComboboxSeparator as N, ComboboxTrigger as G, ComboboxValue as B } from "./combobox.js";
|
|
6
6
|
import { AlertDialogBackdrop as H, AlertDialogClose as y, AlertDialogDescription as E, AlertDialogPopup as U, AlertDialogPortal as j, AlertDialogRoot as q, AlertDialogTitle as z, AlertDialogTrigger as J, AlertDialogViewport as K } from "./alert-dialog.js";
|
|
7
7
|
import { AlertDialog as Q } from "@base-ui/react/alert-dialog";
|
|
8
8
|
import { AvatarFallback as X, AvatarImage as Y, AvatarRoot as Z, AvatarStack as _ } from "./avatar.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
9
|
+
import { Badge as oo, BadgeButton as eo, BadgeDot as ro } from "./badge.js";
|
|
10
|
+
import { ScrollAreaContent as ao, ScrollAreaCorner as io, ScrollAreaRoot as no, ScrollAreaScrollbar as lo, ScrollAreaThumb as po, ScrollAreaViewport as uo } from "./scroll-area.js";
|
|
11
|
+
import { SelectArrow as bo, SelectBackdrop as co, SelectGroup as xo, SelectGroupLabel as Co, SelectIcon as go, SelectItem as Mo, SelectItemIndicator as Po, SelectItemText as To, SelectList as so, SelectPopup as Io, SelectPortal as Ro, SelectPositioner as So, SelectRoot as Ao, SelectScrollDownArrow as fo, SelectScrollUpArrow as Do, SelectSeparator as vo, SelectTrigger as wo, SelectValue as ko } from "./select.js";
|
|
12
|
+
import { Separator as Fo } from "./separator.js";
|
|
13
|
+
import { SwitchRoot as No, SwitchThumb as Go } from "./switch.js";
|
|
14
|
+
import { Toggle as Vo } from "./toggle.js";
|
|
15
|
+
import { TabsIndicator as yo, TabsList as Eo, TabsPanel as Uo, TabsRoot as jo, TabsTab as qo } from "./tabs.js";
|
|
16
|
+
import { ToastAction as Jo, ToastClose as Ko, ToastContent as Oo, ToastDescription as Qo, ToastPositioner as Wo, ToastProvider as Xo, ToastRoot as Yo, ToastTitle as Zo, ToastViewport as _o } from "./toast.js";
|
|
17
|
+
import { DialogBackdrop as oe, DialogClose as ee, DialogDescription as re, DialogFooter as te, DialogHeader as ae, DialogPopup as ie, DialogPortal as ne, DialogRoot as le, DialogTitle as pe, DialogTrigger as ue } from "./dialog.js";
|
|
18
|
+
import { DrawerBackdrop as be, DrawerClose as ce, DrawerContent as xe, DrawerDescription as de, DrawerFooter as Ce, DrawerHeader as ge, DrawerPopup as Me, DrawerPortal as Pe, DrawerRoot as Te, DrawerTitle as se, DrawerTrigger as Ie } from "./drawer.js";
|
|
19
|
+
import { Input as Se } from "./input.js";
|
|
20
|
+
import { Textarea as fe } from "./textarea.js";
|
|
21
|
+
import { FieldControl as ve, FieldDescription as we, FieldError as ke, FieldItem as Le, FieldLabel as Fe, FieldRoot as he, FieldValidity as Ne } from "./field.js";
|
|
22
|
+
import { FieldsetLegend as Be, FieldsetRoot as Ve } from "./fieldset.js";
|
|
23
|
+
import { FormRoot as ye } from "./form.js";
|
|
24
|
+
import { AccordionHeader as Ue, AccordionItem as je, AccordionPanel as qe, AccordionRoot as ze, AccordionTrigger as Je } from "./accordion.js";
|
|
25
|
+
import { AutocompleteEmpty as Oe, AutocompleteInput as Qe, AutocompleteItem as We, AutocompleteList as Xe, AutocompletePopup as Ye, AutocompletePortal as Ze, AutocompletePositioner as _e, AutocompleteRoot as $e } from "./autocomplete.js";
|
|
26
|
+
import { MeterIndicator as er, MeterLabel as rr, MeterRoot as tr, MeterTrack as ar, MeterValue as ir } from "./meter.js";
|
|
27
|
+
import { NavigationMenuArrow as lr, NavigationMenuBackdrop as pr, NavigationMenuContent as ur, NavigationMenuIcon as mr, NavigationMenuItem as br, NavigationMenuLink as cr, NavigationMenuList as xr, NavigationMenuPopup as dr, NavigationMenuPortal as Cr, NavigationMenuPositioner as gr, NavigationMenuRoot as Mr, NavigationMenuTrigger as Pr, NavigationMenuViewport as Tr } from "./navigation-menu.js";
|
|
28
|
+
import { MenuArrow as Ir, MenuCheckboxItem as Rr, MenuCheckboxItemIndicator as Sr, MenuCheckboxItemLabel as Ar, MenuGroup as fr, MenuGroupLabel as Dr, MenuItem as vr, MenuPopup as wr, MenuPortal as kr, MenuPositioner as Lr, MenuRadioGroup as Fr, MenuRadioItem as hr, MenuRadioItemIndicator as Nr, MenuRadioItemLabel as Gr, MenuRoot as Br, MenuSeparator as Vr, MenuSubmenuRoot as Hr, MenuSubmenuTrigger as yr, MenuTrigger as Er } from "./menu.js";
|
|
29
|
+
import { NumberFieldDecrement as jr, NumberFieldGroup as qr, NumberFieldIncrement as zr, NumberFieldInput as Jr, NumberFieldRoot as Kr, NumberFieldScrubArea as Or, NumberFieldScrubAreaCursor as Qr } from "./number-field.js";
|
|
30
|
+
import { PopoverArrow as Xr, PopoverBackdrop as Yr, PopoverClose as Zr, PopoverDescription as _r, PopoverPopup as $r, PopoverPortal as ot, PopoverPositioner as et, PopoverRoot as rt, PopoverTitle as tt, PopoverTrigger as at, PopoverViewport as it } from "./popover.js";
|
|
31
|
+
import { ProgressIndicator as lt, ProgressLabel as pt, ProgressRoot as ut, ProgressTrack as mt, ProgressValue as bt } from "./progress.js";
|
|
32
|
+
import { RadioIndicator as xt, RadioRoot as dt } from "./radio.js";
|
|
33
|
+
import { RadioGroupRoot as gt } from "./radio-group.js";
|
|
34
|
+
import { ToggleGroupItem as Pt, ToggleGroupRoot as Tt } from "./toggle-group.js";
|
|
35
|
+
import { ToolbarButton as It, ToolbarGroup as Rt, ToolbarInput as St, ToolbarLink as At, ToolbarRoot as ft, ToolbarSeparator as Dt } from "./toolbar.js";
|
|
36
|
+
import { CardContent as wt, CardDescription as kt, CardFooter as Lt, CardHeader as Ft, CardMedia as ht, CardRoot as Nt, CardSection as Gt, CardTitle as Bt } from "./card.js";
|
|
37
|
+
import { ContextMenuArrow as Ht, ContextMenuCheckboxItem as yt, ContextMenuCheckboxItemIndicator as Et, ContextMenuCheckboxItemLabel as Ut, ContextMenuGroup as jt, ContextMenuGroupLabel as qt, ContextMenuItem as zt, ContextMenuPopup as Jt, ContextMenuPortal as Kt, ContextMenuPositioner as Ot, ContextMenuRadioGroup as Qt, ContextMenuRadioItem as Wt, ContextMenuRadioItemIndicator as Xt, ContextMenuRadioItemLabel as Yt, ContextMenuRoot as Zt, ContextMenuSeparator as _t, ContextMenuSubmenuRoot as $t, ContextMenuSubmenuTrigger as oa, ContextMenuTrigger as ea } from "./context-menu.js";
|
|
38
|
+
import { MenubarArrow as ta, MenubarCheckboxItem as aa, MenubarCheckboxItemIndicator as ia, MenubarCheckboxItemLabel as na, MenubarGroup as la, MenubarGroupLabel as pa, MenubarItem as ua, MenubarMenu as ma, MenubarPopup as ba, MenubarPortal as ca, MenubarPositioner as xa, MenubarRadioGroup as da, MenubarRadioItem as Ca, MenubarRadioItemIndicator as ga, MenubarRadioItemLabel as Ma, MenubarRoot as Pa, MenubarSeparator as Ta, MenubarSubmenuRoot as sa, MenubarSubmenuTrigger as Ia, MenubarTrigger as Ra } from "./menubar.js";
|
|
39
|
+
import { SliderControl as Aa, SliderIndicator as fa, SliderRoot as Da, SliderThumb as va, SliderTrack as wa, SliderValue as ka } from "./slider.js";
|
|
40
|
+
import { TooltipArrow as Fa, TooltipPopup as ha, TooltipPortal as Na, TooltipPositioner as Ga, TooltipProvider as Ba, TooltipRoot as Va, TooltipTrigger as Ha } from "./tooltip.js";
|
|
41
|
+
import { PreviewCardArrow as Ea, PreviewCardBackdrop as Ua, PreviewCardPopup as ja, PreviewCardPortal as qa, PreviewCardPositioner as za, PreviewCardRoot as Ja, PreviewCardTrigger as Ka } from "./preview-card.js";
|
|
42
|
+
import { Toast as Qa } from "@base-ui/react/toast";
|
|
42
43
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
Ue as AccordionHeader,
|
|
45
|
+
je as AccordionItem,
|
|
46
|
+
qe as AccordionPanel,
|
|
47
|
+
ze as AccordionRoot,
|
|
48
|
+
Je as AccordionTrigger,
|
|
48
49
|
Q as AlertDialog,
|
|
49
50
|
H as AlertDialogBackdrop,
|
|
50
51
|
y as AlertDialogClose,
|
|
@@ -55,36 +56,39 @@ export {
|
|
|
55
56
|
z as AlertDialogTitle,
|
|
56
57
|
J as AlertDialogTrigger,
|
|
57
58
|
K as AlertDialogViewport,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
Oe as AutocompleteEmpty,
|
|
60
|
+
Qe as AutocompleteInput,
|
|
61
|
+
We as AutocompleteItem,
|
|
62
|
+
Xe as AutocompleteList,
|
|
63
|
+
Ye as AutocompletePopup,
|
|
64
|
+
Ze as AutocompletePortal,
|
|
65
|
+
_e as AutocompletePositioner,
|
|
66
|
+
$e as AutocompleteRoot,
|
|
66
67
|
X as AvatarFallback,
|
|
67
68
|
Y as AvatarImage,
|
|
68
69
|
Z as AvatarRoot,
|
|
69
70
|
_ as AvatarStack,
|
|
71
|
+
oo as Badge,
|
|
72
|
+
eo as BadgeButton,
|
|
73
|
+
ro as BadgeDot,
|
|
70
74
|
r as Button,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
wt as CardContent,
|
|
76
|
+
kt as CardDescription,
|
|
77
|
+
Lt as CardFooter,
|
|
78
|
+
Ft as CardHeader,
|
|
79
|
+
ht as CardMedia,
|
|
80
|
+
Nt as CardRoot,
|
|
81
|
+
Gt as CardSection,
|
|
82
|
+
Bt as CardTitle,
|
|
79
83
|
l as CheckboxGroupRoot,
|
|
80
84
|
a as CheckboxIndicator,
|
|
81
85
|
i as CheckboxRoot,
|
|
82
86
|
u as CollapsiblePanel,
|
|
83
|
-
|
|
84
|
-
|
|
87
|
+
m as CollapsibleRoot,
|
|
88
|
+
b as CollapsibleTrigger,
|
|
85
89
|
x as ComboboxArrow,
|
|
86
|
-
|
|
87
|
-
|
|
90
|
+
d as ComboboxBackdrop,
|
|
91
|
+
C as ComboboxChip,
|
|
88
92
|
g as ComboboxChipRemove,
|
|
89
93
|
M as ComboboxChips,
|
|
90
94
|
P as ComboboxClear,
|
|
@@ -104,211 +108,211 @@ export {
|
|
|
104
108
|
h as ComboboxRoot,
|
|
105
109
|
N as ComboboxSeparator,
|
|
106
110
|
G as ComboboxTrigger,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
111
|
+
B as ComboboxValue,
|
|
112
|
+
Ht as ContextMenuArrow,
|
|
113
|
+
yt as ContextMenuCheckboxItem,
|
|
114
|
+
Et as ContextMenuCheckboxItemIndicator,
|
|
115
|
+
Ut as ContextMenuCheckboxItemLabel,
|
|
116
|
+
jt as ContextMenuGroup,
|
|
117
|
+
qt as ContextMenuGroupLabel,
|
|
118
|
+
zt as ContextMenuItem,
|
|
119
|
+
Jt as ContextMenuPopup,
|
|
120
|
+
Kt as ContextMenuPortal,
|
|
121
|
+
Ot as ContextMenuPositioner,
|
|
122
|
+
Qt as ContextMenuRadioGroup,
|
|
123
|
+
Wt as ContextMenuRadioItem,
|
|
124
|
+
Xt as ContextMenuRadioItemIndicator,
|
|
125
|
+
Yt as ContextMenuRadioItemLabel,
|
|
126
|
+
Zt as ContextMenuRoot,
|
|
127
|
+
_t as ContextMenuSeparator,
|
|
128
|
+
$t as ContextMenuSubmenuRoot,
|
|
129
|
+
oa as ContextMenuSubmenuTrigger,
|
|
130
|
+
ea as ContextMenuTrigger,
|
|
131
|
+
oe as DialogBackdrop,
|
|
132
|
+
ee as DialogClose,
|
|
133
|
+
re as DialogDescription,
|
|
134
|
+
te as DialogFooter,
|
|
135
|
+
ae as DialogHeader,
|
|
136
|
+
ie as DialogPopup,
|
|
137
|
+
ne as DialogPortal,
|
|
138
|
+
le as DialogRoot,
|
|
139
|
+
pe as DialogTitle,
|
|
140
|
+
ue as DialogTrigger,
|
|
141
|
+
be as DrawerBackdrop,
|
|
142
|
+
ce as DrawerClose,
|
|
143
|
+
xe as DrawerContent,
|
|
144
|
+
de as DrawerDescription,
|
|
145
|
+
Ce as DrawerFooter,
|
|
146
|
+
ge as DrawerHeader,
|
|
147
|
+
Me as DrawerPopup,
|
|
148
|
+
Pe as DrawerPortal,
|
|
149
|
+
Te as DrawerRoot,
|
|
150
|
+
se as DrawerTitle,
|
|
151
|
+
Ie as DrawerTrigger,
|
|
152
|
+
ve as FieldControl,
|
|
153
|
+
we as FieldDescription,
|
|
154
|
+
ke as FieldError,
|
|
155
|
+
Le as FieldItem,
|
|
156
|
+
Fe as FieldLabel,
|
|
157
|
+
he as FieldRoot,
|
|
158
|
+
Ne as FieldValidity,
|
|
159
|
+
Be as FieldsetLegend,
|
|
160
|
+
Ve as FieldsetRoot,
|
|
161
|
+
ye as FormRoot,
|
|
162
|
+
Se as Input,
|
|
163
|
+
Ir as MenuArrow,
|
|
164
|
+
Rr as MenuCheckboxItem,
|
|
165
|
+
Sr as MenuCheckboxItemIndicator,
|
|
166
|
+
Ar as MenuCheckboxItemLabel,
|
|
167
|
+
fr as MenuGroup,
|
|
168
|
+
Dr as MenuGroupLabel,
|
|
169
|
+
vr as MenuItem,
|
|
170
|
+
wr as MenuPopup,
|
|
171
|
+
kr as MenuPortal,
|
|
172
|
+
Lr as MenuPositioner,
|
|
173
|
+
Fr as MenuRadioGroup,
|
|
174
|
+
hr as MenuRadioItem,
|
|
175
|
+
Nr as MenuRadioItemIndicator,
|
|
176
|
+
Gr as MenuRadioItemLabel,
|
|
177
|
+
Br as MenuRoot,
|
|
178
|
+
Vr as MenuSeparator,
|
|
179
|
+
Hr as MenuSubmenuRoot,
|
|
180
|
+
yr as MenuSubmenuTrigger,
|
|
181
|
+
Er as MenuTrigger,
|
|
182
|
+
ta as MenubarArrow,
|
|
183
|
+
aa as MenubarCheckboxItem,
|
|
184
|
+
ia as MenubarCheckboxItemIndicator,
|
|
185
|
+
na as MenubarCheckboxItemLabel,
|
|
186
|
+
la as MenubarGroup,
|
|
187
|
+
pa as MenubarGroupLabel,
|
|
188
|
+
ua as MenubarItem,
|
|
189
|
+
ma as MenubarMenu,
|
|
190
|
+
ba as MenubarPopup,
|
|
191
|
+
ca as MenubarPortal,
|
|
192
|
+
xa as MenubarPositioner,
|
|
193
|
+
da as MenubarRadioGroup,
|
|
194
|
+
Ca as MenubarRadioItem,
|
|
195
|
+
ga as MenubarRadioItemIndicator,
|
|
196
|
+
Ma as MenubarRadioItemLabel,
|
|
197
|
+
Pa as MenubarRoot,
|
|
198
|
+
Ta as MenubarSeparator,
|
|
199
|
+
sa as MenubarSubmenuRoot,
|
|
200
|
+
Ia as MenubarSubmenuTrigger,
|
|
201
|
+
Ra as MenubarTrigger,
|
|
202
|
+
er as MeterIndicator,
|
|
203
|
+
rr as MeterLabel,
|
|
204
|
+
tr as MeterRoot,
|
|
205
|
+
ar as MeterTrack,
|
|
206
|
+
ir as MeterValue,
|
|
207
|
+
lr as NavigationMenuArrow,
|
|
208
|
+
pr as NavigationMenuBackdrop,
|
|
209
|
+
ur as NavigationMenuContent,
|
|
210
|
+
mr as NavigationMenuIcon,
|
|
211
|
+
br as NavigationMenuItem,
|
|
212
|
+
cr as NavigationMenuLink,
|
|
213
|
+
xr as NavigationMenuList,
|
|
214
|
+
dr as NavigationMenuPopup,
|
|
215
|
+
Cr as NavigationMenuPortal,
|
|
216
|
+
gr as NavigationMenuPositioner,
|
|
217
|
+
Mr as NavigationMenuRoot,
|
|
218
|
+
Pr as NavigationMenuTrigger,
|
|
219
|
+
Tr as NavigationMenuViewport,
|
|
220
|
+
jr as NumberFieldDecrement,
|
|
221
|
+
qr as NumberFieldGroup,
|
|
222
|
+
zr as NumberFieldIncrement,
|
|
223
|
+
Jr as NumberFieldInput,
|
|
224
|
+
Kr as NumberFieldRoot,
|
|
225
|
+
Or as NumberFieldScrubArea,
|
|
226
|
+
Qr as NumberFieldScrubAreaCursor,
|
|
227
|
+
Xr as PopoverArrow,
|
|
228
|
+
Yr as PopoverBackdrop,
|
|
229
|
+
Zr as PopoverClose,
|
|
230
|
+
_r as PopoverDescription,
|
|
231
|
+
$r as PopoverPopup,
|
|
232
|
+
ot as PopoverPortal,
|
|
233
|
+
et as PopoverPositioner,
|
|
234
|
+
rt as PopoverRoot,
|
|
235
|
+
tt as PopoverTitle,
|
|
236
|
+
at as PopoverTrigger,
|
|
237
|
+
it as PopoverViewport,
|
|
238
|
+
Ea as PreviewCardArrow,
|
|
239
|
+
Ua as PreviewCardBackdrop,
|
|
240
|
+
ja as PreviewCardPopup,
|
|
241
|
+
qa as PreviewCardPortal,
|
|
242
|
+
za as PreviewCardPositioner,
|
|
243
|
+
Ja as PreviewCardRoot,
|
|
244
|
+
Ka as PreviewCardTrigger,
|
|
245
|
+
lt as ProgressIndicator,
|
|
246
|
+
pt as ProgressLabel,
|
|
247
|
+
ut as ProgressRoot,
|
|
248
|
+
mt as ProgressTrack,
|
|
249
|
+
bt as ProgressValue,
|
|
250
|
+
gt as RadioGroupRoot,
|
|
251
|
+
xt as RadioIndicator,
|
|
252
|
+
dt as RadioRoot,
|
|
253
|
+
ao as ScrollAreaContent,
|
|
254
|
+
io as ScrollAreaCorner,
|
|
255
|
+
no as ScrollAreaRoot,
|
|
256
|
+
lo as ScrollAreaScrollbar,
|
|
257
|
+
po as ScrollAreaThumb,
|
|
258
|
+
uo as ScrollAreaViewport,
|
|
259
|
+
bo as SelectArrow,
|
|
260
|
+
co as SelectBackdrop,
|
|
261
|
+
xo as SelectGroup,
|
|
262
|
+
Co as SelectGroupLabel,
|
|
263
|
+
go as SelectIcon,
|
|
264
|
+
Mo as SelectItem,
|
|
265
|
+
Po as SelectItemIndicator,
|
|
266
|
+
To as SelectItemText,
|
|
267
|
+
so as SelectList,
|
|
268
|
+
Io as SelectPopup,
|
|
269
|
+
Ro as SelectPortal,
|
|
270
|
+
So as SelectPositioner,
|
|
271
|
+
Ao as SelectRoot,
|
|
272
|
+
fo as SelectScrollDownArrow,
|
|
273
|
+
Do as SelectScrollUpArrow,
|
|
274
|
+
vo as SelectSeparator,
|
|
275
|
+
wo as SelectTrigger,
|
|
276
|
+
ko as SelectValue,
|
|
277
|
+
Fo as Separator,
|
|
278
|
+
Aa as SliderControl,
|
|
279
|
+
fa as SliderIndicator,
|
|
280
|
+
Da as SliderRoot,
|
|
281
|
+
va as SliderThumb,
|
|
282
|
+
wa as SliderTrack,
|
|
283
|
+
ka as SliderValue,
|
|
284
|
+
No as SwitchRoot,
|
|
285
|
+
Go as SwitchThumb,
|
|
286
|
+
yo as TabsIndicator,
|
|
287
|
+
Eo as TabsList,
|
|
288
|
+
Uo as TabsPanel,
|
|
289
|
+
jo as TabsRoot,
|
|
290
|
+
qo as TabsTab,
|
|
291
|
+
fe as Textarea,
|
|
292
|
+
Qa as Toast,
|
|
293
|
+
Jo as ToastAction,
|
|
294
|
+
Ko as ToastClose,
|
|
295
|
+
Oo as ToastContent,
|
|
296
|
+
Qo as ToastDescription,
|
|
297
|
+
Wo as ToastPositioner,
|
|
298
|
+
Xo as ToastProvider,
|
|
299
|
+
Yo as ToastRoot,
|
|
300
|
+
Zo as ToastTitle,
|
|
301
|
+
_o as ToastViewport,
|
|
302
|
+
Vo as Toggle,
|
|
303
|
+
Pt as ToggleGroupItem,
|
|
304
|
+
Tt as ToggleGroupRoot,
|
|
305
|
+
It as ToolbarButton,
|
|
306
|
+
Rt as ToolbarGroup,
|
|
307
|
+
St as ToolbarInput,
|
|
308
|
+
At as ToolbarLink,
|
|
309
|
+
ft as ToolbarRoot,
|
|
310
|
+
Dt as ToolbarSeparator,
|
|
311
|
+
Fa as TooltipArrow,
|
|
312
|
+
ha as TooltipPopup,
|
|
313
|
+
Na as TooltipPortal,
|
|
314
|
+
Ga as TooltipPositioner,
|
|
315
|
+
Ba as TooltipProvider,
|
|
316
|
+
Va as TooltipRoot,
|
|
317
|
+
Ha as TooltipTrigger
|
|
314
318
|
};
|
package/dist/styles/default.css
CHANGED
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
--color-accent: var(--accent);
|
|
18
18
|
--color-accent-foreground: var(--accent-foreground);
|
|
19
19
|
--color-destructive: var(--destructive);
|
|
20
|
+
--color-success: var(--success);
|
|
21
|
+
--color-warning: var(--warning);
|
|
22
|
+
--color-info: var(--info);
|
|
20
23
|
--color-input: var(--input);
|
|
21
24
|
--color-border: var(--border);
|
|
22
25
|
--color-ring: var(--ring);
|
|
@@ -37,6 +40,9 @@
|
|
|
37
40
|
--accent: oklch(0.97 0 0);
|
|
38
41
|
--accent-foreground: oklch(0.205 0 0);
|
|
39
42
|
--destructive: oklch(0.577 0.245 27.325);
|
|
43
|
+
--success: oklch(0.59 0.2 145);
|
|
44
|
+
--warning: oklch(0.75 0.18 85);
|
|
45
|
+
--info: oklch(0.55 0.2 255);
|
|
40
46
|
--border: oklch(0.922 0 0);
|
|
41
47
|
--input: oklch(0.922 0 0);
|
|
42
48
|
--ring: oklch(0.708 0 0);
|
|
@@ -56,6 +62,9 @@
|
|
|
56
62
|
--accent: oklch(0.269 0 0);
|
|
57
63
|
--accent-foreground: oklch(0.985 0 0);
|
|
58
64
|
--destructive: oklch(0.704 0.191 22.216);
|
|
65
|
+
--success: oklch(0.65 0.2 145);
|
|
66
|
+
--warning: oklch(0.795 0.184 86.047);
|
|
67
|
+
--info: oklch(0.65 0.2 255);
|
|
59
68
|
--border: oklch(1 0 0 / 10%);
|
|
60
69
|
--input: oklch(1 0 0 / 15%);
|
|
61
70
|
--ring: oklch(0.556 0 0);
|
|
@@ -76,6 +85,9 @@
|
|
|
76
85
|
--accent: oklch(0.269 0 0);
|
|
77
86
|
--accent-foreground: oklch(0.985 0 0);
|
|
78
87
|
--destructive: oklch(0.704 0.191 22.216);
|
|
88
|
+
--success: oklch(0.65 0.2 145);
|
|
89
|
+
--warning: oklch(0.795 0.184 86.047);
|
|
90
|
+
--info: oklch(0.65 0.2 255);
|
|
79
91
|
--input: oklch(1 0 0 / 15%);
|
|
80
92
|
--border: oklch(1 0 0 / 10%);
|
|
81
93
|
--ring: oklch(0.556 0 0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lglab/compose-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "A collection of components built with Base UI & Tailwind CSS",
|
|
5
5
|
"author": "LGLab",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,6 +42,10 @@
|
|
|
42
42
|
"import": "./dist/avatar.js",
|
|
43
43
|
"types": "./dist/avatar.d.ts"
|
|
44
44
|
},
|
|
45
|
+
"./badge": {
|
|
46
|
+
"import": "./dist/badge.js",
|
|
47
|
+
"types": "./dist/badge.d.ts"
|
|
48
|
+
},
|
|
45
49
|
"./button": {
|
|
46
50
|
"import": "./dist/button.js",
|
|
47
51
|
"types": "./dist/button.d.ts"
|