@lglab/compose-ui 0.29.0 → 0.30.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/autocomplete.d.ts +13 -13
- package/dist/autocomplete.d.ts.map +1 -1
- package/dist/avatar.d.ts +5 -5
- package/dist/avatar.d.ts.map +1 -1
- package/dist/badge.d.ts +4 -4
- package/dist/badge.js +5 -5
- package/dist/badge.js.map +1 -1
- package/dist/button.d.ts +2 -2
- package/dist/button.d.ts.map +1 -1
- package/dist/card.d.ts +8 -8
- package/dist/checkbox-group.d.ts +2 -2
- package/dist/checkbox.d.ts +3 -3
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/collapsible.d.ts +4 -4
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/combobox.d.ts +25 -25
- package/dist/components/table/filters.d.ts +29 -0
- package/dist/components/table/filters.d.ts.map +1 -0
- package/dist/components/table/filters.js +47 -0
- package/dist/components/table/filters.js.map +1 -0
- package/dist/components/table/primitives.d.ts +93 -0
- package/dist/components/table/primitives.d.ts.map +1 -0
- package/dist/components/table/primitives.js +129 -0
- package/dist/components/table/primitives.js.map +1 -0
- package/dist/components/table/sort.js +17 -0
- package/dist/components/table/sort.js.map +1 -0
- package/dist/components/table/types.d.ts +101 -0
- package/dist/components/table/types.d.ts.map +1 -0
- package/dist/context-menu.d.ts +20 -20
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/dialog.d.ts +11 -11
- package/dist/drawer.d.ts +12 -12
- package/dist/field.d.ts +8 -8
- package/dist/fieldset.d.ts +3 -3
- package/dist/fieldset.d.ts.map +1 -1
- package/dist/form.d.ts +2 -2
- package/dist/form.d.ts.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +4 -1
- package/dist/input.d.ts +2 -2
- package/dist/input.d.ts.map +1 -1
- package/dist/lib/control-variants.js +3 -2
- package/dist/lib/control-variants.js.map +1 -1
- package/dist/menu.d.ts +20 -20
- package/dist/menubar.d.ts +21 -21
- 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/number-field.d.ts.map +1 -1
- package/dist/pagination.d.ts +184 -0
- package/dist/pagination.d.ts.map +1 -0
- package/dist/pagination.js +164 -0
- package/dist/pagination.js.map +1 -0
- package/dist/popover.d.ts +12 -12
- package/dist/preview-card.d.ts +8 -8
- package/dist/progress.d.ts +6 -6
- package/dist/progress.d.ts.map +1 -1
- 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/radio.d.ts.map +1 -1
- 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/select.js +1 -1
- package/dist/select.js.map +1 -1
- package/dist/separator.d.ts +2 -2
- package/dist/skeleton.d.ts +2 -2
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/slider.d.ts +7 -7
- package/dist/slider.d.ts.map +1 -1
- package/dist/styles/default.css +1 -1
- package/dist/switch.d.ts +3 -3
- package/dist/table/index.d.ts +5 -0
- package/dist/table/index.js +5 -0
- package/dist/table/use-table.d.ts +9 -0
- package/dist/table/use-table.d.ts.map +1 -0
- package/dist/table/use-table.js +256 -0
- package/dist/table/use-table.js.map +1 -0
- package/dist/tabs.d.ts +6 -6
- package/dist/textarea.d.ts +2 -2
- package/dist/toast.d.ts +10 -10
- package/dist/toggle-group.d.ts +3 -3
- package/dist/toggle.d.ts +2 -2
- package/dist/toolbar.d.ts +7 -7
- package/dist/tooltip.d.ts +8 -8
- package/package.json +20 -8
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_runtime150 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_runtime150.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_runtime150.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_runtime150.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_runtime150.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_runtime150.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_runtime0 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_runtime0.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_runtime0.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_runtime0.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_runtime0.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_runtime0.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_runtime0.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_runtime0.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_runtime0.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_runtime0.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,kBAAA,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,kBAAA,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,kBAAA,CAAA,GAAA,CAAA,OA3B5C;a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,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,kBAAA,CAAA,GAAA,CAAA,OAjGvB"}
|
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_runtime180 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_runtime180.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_runtime180.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_runtime180.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_runtime180.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_runtime180.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_runtime180.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_runtime180.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_runtime180.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_runtime180.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_runtime180.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_runtime180.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_runtime180.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;KA0CrE,sBAAA,GAAyB,KAAA,CAAM,cAhCR,CAAA,OAgC8B,gBAAA,CAAiB,KAhC/C,CAAA;cAkCtB,iBAlCsE,EAAA;;IAA7C,SAAM;IAAA,GAAA;EAAA,CAAA,EAkCe,sBAlCf,CAAA,EAkCqC,oBAAA,CAAA,GAAA,CAAA,OAlCrC;EAAc,WAAA,EAAA,MAAA;AAAA,CAAA;KAuD9C,sBAAA,GAAyB,K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,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_runtime192 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_runtime192.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_runtime192.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_runtime192.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_runtime192.JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
//#endregion
|
package/dist/avatar.d.ts.map
CHANGED
|
@@ -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,
|
|
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,GAAA,CAAA,OAV7D;;;KAyBI,mBAAA,GAAsB,KAAA,CAAM,cA7BkB,CAAA,OA6BI,MAAA,CAAW,QA7Bf,CAAA;cA+B7C,cA/B4D,EAAA;EAAA,CAAA;IAAA,SAAA;IAAA,GAAA;EAAA,CAAA,EA+BjB,mBA/BiB,CAAA,EA+BE,oBAAA,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,oBAAA,CAAA,GAAA,CAAA,OApC+C;aAAjC,EAAA,MAAA;CAAc"}
|
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_runtime204 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_runtime204.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_runtime204.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_runtime204.JSX.Element;
|
|
44
44
|
displayName: string;
|
|
45
45
|
};
|
|
46
46
|
//#endregion
|
package/dist/badge.js
CHANGED
|
@@ -6,7 +6,7 @@ import { cva } from "class-variance-authority";
|
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/badge.tsx
|
|
9
|
-
const badgeVariants = cva(["inline-flex items-center gap-1.5 whitespace-nowrap font-medium transition-colors", "[&_svg]:pointer-events-none [&_svg]:shrink-0"], {
|
|
9
|
+
const badgeVariants = cva(["inline-flex items-center gap-1.5 whitespace-nowrap font-medium leading-none transition-colors", "[&_svg]:pointer-events-none [&_svg]:shrink-0"], {
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
12
12
|
default: "",
|
|
@@ -106,22 +106,22 @@ const badgeVariants = cva(["inline-flex items-center gap-1.5 whitespace-nowrap f
|
|
|
106
106
|
{
|
|
107
107
|
variant: "destructive",
|
|
108
108
|
appearance: "outline",
|
|
109
|
-
class: "border-destructive bg-destructive/10 text-destructive"
|
|
109
|
+
class: "border-destructive/50 bg-destructive/10 text-destructive"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
variant: "success",
|
|
113
113
|
appearance: "outline",
|
|
114
|
-
class: "border-success bg-success/10 text-success"
|
|
114
|
+
class: "border-success/50 bg-success/10 text-success"
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
variant: "warning",
|
|
118
118
|
appearance: "outline",
|
|
119
|
-
class: "border-warning bg-warning/10 text-warning"
|
|
119
|
+
class: "border-warning/50 bg-warning/10 text-warning"
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
variant: "info",
|
|
123
123
|
appearance: "outline",
|
|
124
|
-
class: "border-info bg-info/10 text-info"
|
|
124
|
+
class: "border-info/50 bg-info/10 text-info"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
variant: "default",
|
package/dist/badge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","names":[],"sources":["../src/components/badge.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// Badge Variants\n// ============================================================================\n\nconst badgeVariants = cva(\n [\n 'inline-flex items-center gap-1.5 whitespace-nowrap font-medium transition-colors',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n ],\n {\n variants: {\n variant: {\n default: '',\n secondary: '',\n destructive: '',\n success: '',\n warning: '',\n info: '',\n },\n appearance: {\n default: '',\n outline: 'border',\n light: '',\n ghost: '',\n },\n size: {\n sm: 'text-xs px-2 h-5 min-w-5 [&_svg]:size-3',\n md: 'text-xs px-2.5 h-6 min-w-6 [&_svg]:size-3.5',\n lg: 'text-sm px-3 h-7 min-w-7 [&_svg]:size-4',\n },\n shape: {\n pill: 'rounded-full',\n rounded: 'rounded-md',\n },\n },\n compoundVariants: [\n // Default appearance (solid) - full color bg, white text\n {\n variant: 'default',\n appearance: 'default',\n class: 'bg-primary text-primary-foreground',\n },\n {\n variant: 'secondary',\n appearance: 'default',\n class: 'bg-secondary text-secondary-foreground',\n },\n {\n variant: 'destructive',\n appearance: 'default',\n class: 'bg-destructive text-white',\n },\n {\n variant: 'success',\n appearance: 'default',\n class: 'bg-success text-white',\n },\n {\n variant: 'warning',\n appearance: 'default',\n class: 'bg-warning text-white',\n },\n {\n variant: 'info',\n appearance: 'default',\n class: 'bg-info text-white',\n },\n // Light appearance - 10% bg, colored text\n {\n variant: 'default',\n appearance: 'light',\n class: 'bg-primary/10 text-primary',\n },\n {\n variant: 'secondary',\n appearance: 'light',\n class: 'bg-secondary text-secondary-foreground',\n },\n {\n variant: 'destructive',\n appearance: 'light',\n class: 'bg-destructive/10 text-destructive',\n },\n {\n variant: 'success',\n appearance: 'light',\n class: 'bg-success/10 text-success',\n },\n {\n variant: 'warning',\n appearance: 'light',\n class: 'bg-warning/10 text-warning',\n },\n {\n variant: 'info',\n appearance: 'light',\n class: 'bg-info/10 text-info',\n },\n // Outline appearance - border + 10% bg, colored text\n {\n variant: 'default',\n appearance: 'outline',\n class: 'border-primary bg-primary/10 text-primary',\n },\n {\n variant: 'secondary',\n appearance: 'outline',\n class: 'bg-secondary border-border text-foreground',\n },\n {\n variant: 'destructive',\n appearance: 'outline',\n class: 'border-destructive bg-destructive/10 text-destructive',\n },\n {\n variant: 'success',\n appearance: 'outline',\n class: 'border-success bg-success/10 text-success',\n },\n {\n variant: 'warning',\n appearance: 'outline',\n class: 'border-warning bg-warning/10 text-warning',\n },\n {\n variant: 'info',\n appearance: 'outline',\n class: 'border-info bg-info/10 text-info',\n },\n // Ghost appearance - just colored text\n {\n variant: 'default',\n appearance: 'ghost',\n class: 'text-primary',\n },\n {\n variant: 'secondary',\n appearance: 'ghost',\n class: 'text-secondary-foreground',\n },\n {\n variant: 'destructive',\n appearance: 'ghost',\n class: 'text-destructive',\n },\n {\n variant: 'success',\n appearance: 'ghost',\n class: 'text-success',\n },\n {\n variant: 'warning',\n appearance: 'ghost',\n class: 'text-warning',\n },\n {\n variant: 'info',\n appearance: 'ghost',\n class: 'text-info',\n },\n ],\n defaultVariants: {\n variant: 'default',\n appearance: 'default',\n size: 'md',\n shape: 'rounded',\n },\n },\n)\n\nexport type BadgeVariant =\n | 'default'\n | 'secondary'\n | 'destructive'\n | 'success'\n | 'warning'\n | 'info'\n\nexport type BadgeAppearance = 'default' | 'outline' | 'light' | 'ghost'\n\nexport type BadgeSize = 'sm' | 'md' | 'lg'\n\nexport type BadgeShape = 'pill' | 'rounded'\n\n// ============================================================================\n// Badge\n// ============================================================================\n\ntype BadgeProps = React.ComponentProps<'span'> & {\n /** Visual style variant */\n variant?: BadgeVariant\n /** Appearance style */\n appearance?: BadgeAppearance\n /** Size of the badge */\n size?: BadgeSize\n /** Shape of the badge */\n shape?: BadgeShape\n}\n\nconst Badge = ({ className, variant, appearance, size, shape, ...props }: BadgeProps) => {\n return (\n <span\n className={cn(badgeVariants({ variant, appearance, size, shape }), className)}\n {...props}\n />\n )\n}\n\nBadge.displayName = 'Badge'\n\n// ============================================================================\n// BadgeDot\n// ============================================================================\n\ntype BadgeDotProps = React.ComponentProps<'span'>\n\nconst BadgeDot = ({ className, ...props }: BadgeDotProps) => {\n return (\n <span\n data-slot='badge-dot'\n className={cn('size-2 rounded-full bg-[currentColor]', className)}\n {...props}\n />\n )\n}\n\nBadgeDot.displayName = 'BadgeDot'\n\n// ============================================================================\n// BadgeButton\n// ============================================================================\n\ntype BadgeButtonProps = React.ComponentProps<'button'>\n\nconst BadgeButton = ({ className, ...props }: BadgeButtonProps) => {\n return (\n <button\n data-slot='badge-button'\n type='button'\n className={cn(\n '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',\n className,\n )}\n {...props}\n />\n )\n}\n\nBadgeButton.displayName = 'BadgeButton'\n\n// ============================================================================\n// Exports\n// ============================================================================\n\nexport { Badge, BadgeDot, BadgeButton }\n\nexport type { BadgeProps, BadgeDotProps, BadgeButtonProps }\n"],"mappings":";;;;;;;;AAWA,MAAM,gBAAgB,IACpB,CACE,
|
|
1
|
+
{"version":3,"file":"badge.js","names":[],"sources":["../src/components/badge.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// Badge Variants\n// ============================================================================\n\nconst badgeVariants = cva(\n [\n 'inline-flex items-center gap-1.5 whitespace-nowrap font-medium leading-none transition-colors',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n ],\n {\n variants: {\n variant: {\n default: '',\n secondary: '',\n destructive: '',\n success: '',\n warning: '',\n info: '',\n },\n appearance: {\n default: '',\n outline: 'border',\n light: '',\n ghost: '',\n },\n size: {\n sm: 'text-xs px-2 h-5 min-w-5 [&_svg]:size-3',\n md: 'text-xs px-2.5 h-6 min-w-6 [&_svg]:size-3.5',\n lg: 'text-sm px-3 h-7 min-w-7 [&_svg]:size-4',\n },\n shape: {\n pill: 'rounded-full',\n rounded: 'rounded-md',\n },\n },\n compoundVariants: [\n // Default appearance (solid) - full color bg, white text\n {\n variant: 'default',\n appearance: 'default',\n class: 'bg-primary text-primary-foreground',\n },\n {\n variant: 'secondary',\n appearance: 'default',\n class: 'bg-secondary text-secondary-foreground',\n },\n {\n variant: 'destructive',\n appearance: 'default',\n class: 'bg-destructive text-white',\n },\n {\n variant: 'success',\n appearance: 'default',\n class: 'bg-success text-white',\n },\n {\n variant: 'warning',\n appearance: 'default',\n class: 'bg-warning text-white',\n },\n {\n variant: 'info',\n appearance: 'default',\n class: 'bg-info text-white',\n },\n // Light appearance - 10% bg, colored text\n {\n variant: 'default',\n appearance: 'light',\n class: 'bg-primary/10 text-primary',\n },\n {\n variant: 'secondary',\n appearance: 'light',\n class: 'bg-secondary text-secondary-foreground',\n },\n {\n variant: 'destructive',\n appearance: 'light',\n class: 'bg-destructive/10 text-destructive',\n },\n {\n variant: 'success',\n appearance: 'light',\n class: 'bg-success/10 text-success',\n },\n {\n variant: 'warning',\n appearance: 'light',\n class: 'bg-warning/10 text-warning',\n },\n {\n variant: 'info',\n appearance: 'light',\n class: 'bg-info/10 text-info',\n },\n // Outline appearance - border + 10% bg, colored text\n {\n variant: 'default',\n appearance: 'outline',\n class: 'border-primary bg-primary/10 text-primary',\n },\n {\n variant: 'secondary',\n appearance: 'outline',\n class: 'bg-secondary border-border text-foreground',\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 // Ghost appearance - just colored text\n {\n variant: 'default',\n appearance: 'ghost',\n class: 'text-primary',\n },\n {\n variant: 'secondary',\n appearance: 'ghost',\n class: 'text-secondary-foreground',\n },\n {\n variant: 'destructive',\n appearance: 'ghost',\n class: 'text-destructive',\n },\n {\n variant: 'success',\n appearance: 'ghost',\n class: 'text-success',\n },\n {\n variant: 'warning',\n appearance: 'ghost',\n class: 'text-warning',\n },\n {\n variant: 'info',\n appearance: 'ghost',\n class: 'text-info',\n },\n ],\n defaultVariants: {\n variant: 'default',\n appearance: 'default',\n size: 'md',\n shape: 'rounded',\n },\n },\n)\n\nexport type BadgeVariant =\n | 'default'\n | 'secondary'\n | 'destructive'\n | 'success'\n | 'warning'\n | 'info'\n\nexport type BadgeAppearance = 'default' | 'outline' | 'light' | 'ghost'\n\nexport type BadgeSize = 'sm' | 'md' | 'lg'\n\nexport type BadgeShape = 'pill' | 'rounded'\n\n// ============================================================================\n// Badge\n// ============================================================================\n\ntype BadgeProps = React.ComponentProps<'span'> & {\n /** Visual style variant */\n variant?: BadgeVariant\n /** Appearance style */\n appearance?: BadgeAppearance\n /** Size of the badge */\n size?: BadgeSize\n /** Shape of the badge */\n shape?: BadgeShape\n}\n\nconst Badge = ({ className, variant, appearance, size, shape, ...props }: BadgeProps) => {\n return (\n <span\n className={cn(badgeVariants({ variant, appearance, size, shape }), className)}\n {...props}\n />\n )\n}\n\nBadge.displayName = 'Badge'\n\n// ============================================================================\n// BadgeDot\n// ============================================================================\n\ntype BadgeDotProps = React.ComponentProps<'span'>\n\nconst BadgeDot = ({ className, ...props }: BadgeDotProps) => {\n return (\n <span\n data-slot='badge-dot'\n className={cn('size-2 rounded-full bg-[currentColor]', className)}\n {...props}\n />\n )\n}\n\nBadgeDot.displayName = 'BadgeDot'\n\n// ============================================================================\n// BadgeButton\n// ============================================================================\n\ntype BadgeButtonProps = React.ComponentProps<'button'>\n\nconst BadgeButton = ({ className, ...props }: BadgeButtonProps) => {\n return (\n <button\n data-slot='badge-button'\n type='button'\n className={cn(\n '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',\n className,\n )}\n {...props}\n />\n )\n}\n\nBadgeButton.displayName = 'BadgeButton'\n\n// ============================================================================\n// Exports\n// ============================================================================\n\nexport { Badge, BadgeDot, BadgeButton }\n\nexport type { BadgeProps, BadgeDotProps, BadgeButtonProps }\n"],"mappings":";;;;;;;;AAWA,MAAM,gBAAgB,IACpB,CACE,iGACA,+CACD,EACD;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,WAAW;GACX,aAAa;GACb,SAAS;GACT,SAAS;GACT,MAAM;GACP;EACD,YAAY;GACV,SAAS;GACT,SAAS;GACT,OAAO;GACP,OAAO;GACR;EACD,MAAM;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACL;EACD,OAAO;GACL,MAAM;GACN,SAAS;GACV;EACF;CACD,kBAAkB;EAEhB;GACE,SAAS;GACT,YAAY;GACZ,OAAO;GACR;EACD;GACE,SAAS;GACT,YAAY;GACZ,OAAO;GACR;EACD;GACE,SAAS;GACT,YAAY;GACZ,OAAO;GACR;EACD;GACE,SAAS;GACT,YAAY;GACZ,OAAO;GACR;EACD;GACE,SAAS;GACT,YAAY;GACZ,OAAO;GACR;EACD;GACE,SAAS;GACT,YAAY;GAC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AE,WAAW,GAAG,YAA8B;AACjE,QACE,oBAAC;EACC,aAAU;EACV,MAAK;EACL,WAAW,GACT,0LACA,UACD;EACD,GAAI;GACJ;;AAIN,YAAY,cAAc"}
|
package/dist/button.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonSize, ButtonVariant } from "./lib/button-variants.js";
|
|
2
2
|
import { Button as Button$1 } from "@base-ui/react/button";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime196 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/button.d.ts
|
|
7
7
|
type ButtonProps = React.ComponentProps<typeof Button$1> & {
|
|
@@ -18,7 +18,7 @@ declare const Button: {
|
|
|
18
18
|
disabled,
|
|
19
19
|
children,
|
|
20
20
|
...props
|
|
21
|
-
}: ButtonProps):
|
|
21
|
+
}: ButtonProps): react_jsx_runtime196.JSX.Element;
|
|
22
22
|
displayName: string;
|
|
23
23
|
};
|
|
24
24
|
//#endregion
|
package/dist/button.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","names":[],"sources":["../src/components/button.tsx"],"sourcesContent":[],"mappings":";;;;;;KAYK,WAAA,GAAc,KAAA,CAAM,sBAAsB;;YAEnC;EAFP;EAAW,IAAA,CAAA,EAIP,UAJO;;cAOV,MAPmB,EAAA;;IAEb,SAAA;IAAA,OAAA;IAAA,IAAA;IAAA,QAAA;IAAA,QAAA;IAAA,GAAA;EAAA,CAAA,EAYT,WAZS,CAAA,EAYE,
|
|
1
|
+
{"version":3,"file":"button.d.ts","names":[],"sources":["../src/components/button.tsx"],"sourcesContent":[],"mappings":";;;;;;KAYK,WAAA,GAAc,KAAA,CAAM,sBAAsB;;YAEnC;EAFP;EAAW,IAAA,CAAA,EAIP,UAJO;;cAOV,MAPmB,EAAA;;IAEb,SAAA;IAAA,OAAA;IAAA,IAAA;IAAA,QAAA;IAAA,QAAA;IAAA,GAAA;EAAA,CAAA,EAYT,WAZS,CAAA,EAYE,oBAAA,CAAA,GAAA,CAAA,OAZF;aAEH,EAAA,MAAA;CAAU"}
|
package/dist/card.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime197 from "react/jsx-runtime";
|
|
4
4
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/card.d.ts
|
|
@@ -23,7 +23,7 @@ declare const CardMedia: {
|
|
|
23
23
|
({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: CardMediaProps):
|
|
26
|
+
}: CardMediaProps): react_jsx_runtime197.JSX.Element;
|
|
27
27
|
displayName: string;
|
|
28
28
|
};
|
|
29
29
|
type CardHeaderProps = React.ComponentProps<'header'>;
|
|
@@ -34,7 +34,7 @@ declare const CardHeader: {
|
|
|
34
34
|
({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: CardHeaderProps):
|
|
37
|
+
}: CardHeaderProps): react_jsx_runtime197.JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
};
|
|
40
40
|
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
@@ -51,7 +51,7 @@ declare const CardTitle: {
|
|
|
51
51
|
as: Component,
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: CardTitleProps):
|
|
54
|
+
}: CardTitleProps): react_jsx_runtime197.JSX.Element;
|
|
55
55
|
displayName: string;
|
|
56
56
|
};
|
|
57
57
|
type CardDescriptionProps = React.ComponentProps<'p'>;
|
|
@@ -62,7 +62,7 @@ declare const CardDescription: {
|
|
|
62
62
|
({
|
|
63
63
|
className,
|
|
64
64
|
...props
|
|
65
|
-
}: CardDescriptionProps):
|
|
65
|
+
}: CardDescriptionProps): react_jsx_runtime197.JSX.Element;
|
|
66
66
|
displayName: string;
|
|
67
67
|
};
|
|
68
68
|
type CardContentProps = React.ComponentProps<'div'>;
|
|
@@ -73,7 +73,7 @@ declare const CardContent: {
|
|
|
73
73
|
({
|
|
74
74
|
className,
|
|
75
75
|
...props
|
|
76
|
-
}: CardContentProps):
|
|
76
|
+
}: CardContentProps): react_jsx_runtime197.JSX.Element;
|
|
77
77
|
displayName: string;
|
|
78
78
|
};
|
|
79
79
|
type CardSectionProps = React.ComponentProps<'section'>;
|
|
@@ -85,7 +85,7 @@ declare const CardSection: {
|
|
|
85
85
|
({
|
|
86
86
|
className,
|
|
87
87
|
...props
|
|
88
|
-
}: CardSectionProps):
|
|
88
|
+
}: CardSectionProps): react_jsx_runtime197.JSX.Element;
|
|
89
89
|
displayName: string;
|
|
90
90
|
};
|
|
91
91
|
type CardFooterProps = React.ComponentProps<'footer'>;
|
|
@@ -97,7 +97,7 @@ declare const CardFooter: {
|
|
|
97
97
|
({
|
|
98
98
|
className,
|
|
99
99
|
...props
|
|
100
|
-
}: CardFooterProps):
|
|
100
|
+
}: CardFooterProps): react_jsx_runtime197.JSX.Element;
|
|
101
101
|
displayName: string;
|
|
102
102
|
};
|
|
103
103
|
//#endregion
|
package/dist/checkbox-group.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime207 from "react/jsx-runtime";
|
|
3
3
|
import { CheckboxGroup } from "@base-ui/react/checkbox-group";
|
|
4
4
|
|
|
5
5
|
//#region src/components/checkbox-group.d.ts
|
|
@@ -8,7 +8,7 @@ declare const CheckboxGroupRoot: {
|
|
|
8
8
|
({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: CheckboxGroupRootProps):
|
|
11
|
+
}: CheckboxGroupRootProps): react_jsx_runtime207.JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
//#endregion
|
package/dist/checkbox.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
3
|
import { Checkbox } from "@base-ui/react/checkbox";
|
|
4
4
|
|
|
5
5
|
//#region src/components/checkbox.d.ts
|
|
@@ -8,7 +8,7 @@ declare const CheckboxRoot: {
|
|
|
8
8
|
({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: CheckboxRootProps):
|
|
11
|
+
}: CheckboxRootProps): react_jsx_runtime9.JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
type CheckboxIndicatorProps = React.ComponentProps<typeof Checkbox.Indicator>;
|
|
@@ -17,7 +17,7 @@ declare const CheckboxIndicator: {
|
|
|
17
17
|
className,
|
|
18
18
|
children,
|
|
19
19
|
...props
|
|
20
|
-
}: CheckboxIndicatorProps):
|
|
20
|
+
}: CheckboxIndicatorProps): react_jsx_runtime9.JSX.Element;
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
23
|
//#endregion
|
package/dist/checkbox.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","names":[],"sources":["../src/components/checkbox.tsx"],"sourcesContent":[],"mappings":";;;;;KAWK,iBAAA,GAAoB,KAAA,CAAM,sBAAsB,QAAA,CAAa;cAE5D;;;;KAAyC,oBAAiB,
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","names":[],"sources":["../src/components/checkbox.tsx"],"sourcesContent":[],"mappings":";;;;;KAWK,iBAAA,GAAoB,KAAA,CAAM,sBAAsB,QAAA,CAAa;cAE5D;;;;KAAyC,oBAAiB,kBAAA,CAAA,GAAA,CAAA;EAF3D,WAAA,EAAA,MAAA;CAAiB;KAyBjB,sBAAA,GAAyB,KAAA,CAAM,cAzB8B,CAAA,OAyBR,QAAA,CAAa,SAzBL,CAAA;cA2B5D,iBA3ByB,EAAA;EAAc,CAAA;IAAA,SAAA;IAAA,QAAA;IAAA,GAAA;EAAA,CAAA,EA2BiB,sBA3BjB,CAAA,EA2BuC,kBAAA,CAAA,GAAA,CAAA,OA3BvC;EAEvC,WAAA,EAAA,MAeL;CAAA"}
|
package/dist/collapsible.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime208 from "react/jsx-runtime";
|
|
3
3
|
import { Collapsible } from "@base-ui/react/collapsible";
|
|
4
4
|
|
|
5
5
|
//#region src/components/collapsible.d.ts
|
|
@@ -8,7 +8,7 @@ declare const CollapsibleRoot: {
|
|
|
8
8
|
({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: CollapsibleRootProps):
|
|
11
|
+
}: CollapsibleRootProps): react_jsx_runtime208.JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
type CollapsibleTriggerProps = React.ComponentProps<typeof Collapsible.Trigger>;
|
|
@@ -16,7 +16,7 @@ declare const CollapsibleTrigger: {
|
|
|
16
16
|
({
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: CollapsibleTriggerProps):
|
|
19
|
+
}: CollapsibleTriggerProps): react_jsx_runtime208.JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
type CollapsiblePanelProps = React.ComponentProps<typeof Collapsible.Panel>;
|
|
@@ -24,7 +24,7 @@ declare const CollapsiblePanel: {
|
|
|
24
24
|
({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: CollapsiblePanelProps):
|
|
27
|
+
}: CollapsiblePanelProps): react_jsx_runtime208.JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collapsible.d.ts","names":[],"sources":["../src/components/collapsible.tsx"],"sourcesContent":[],"mappings":";;;;;KAWK,oBAAA,GAAuB,KAAA,CAAM,sBAAsB,WAAA,CAAgB;cAElE;;;;KAA4C,uBAAoB,
|
|
1
|
+
{"version":3,"file":"collapsible.d.ts","names":[],"sources":["../src/components/collapsible.tsx"],"sourcesContent":[],"mappings":";;;;;KAWK,oBAAA,GAAuB,KAAA,CAAM,sBAAsB,WAAA,CAAgB;cAElE;;;;KAA4C,uBAAoB,oBAAA,CAAA,GAAA,CAAA;EAFjE,WAAA,EAAA,MAAA;CAAoB;KAYpB,uBAAA,GAA0B,KAAA,CAAM,cAZmC,CAAA,OAYb,WAAA,CAAgB,OAZH,CAAA;cAclE,kBAd4B,EAAA;EAAc,CAAA;IAAA,SAAA;IAAA,GAAA;EAAA,CAAA,EAcK,uBAdL,CAAA,EAc4B,oBAAA,CAAA,GAAA,CAAA,OAd5B;EAE1C,WAAA,EAAA,MAEL;CAAA;KAyBI,qBAAA,GAAwB,KAAA,CAAM,sBAAsB,WAAA,CAAgB;cAEnE,gBA7B4C,EAAA;;IAAoB,SAAA;IAAA,GAAA;EAAA,CAAA,EA6BnB,qBA7BmB,CAAA,EA6BE,oBAAA,CAAA,GAAA,CAAA,OA7BF;EAAA,WAAA,EAAA,MAAA;AAAA,CAAA"}
|