@lglab/compose-ui 0.37.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.d.ts +6 -6
- package/dist/alert-dialog.d.ts +10 -10
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert.d.ts +8 -8
- package/dist/alert.d.ts.map +1 -1
- package/dist/autocomplete.d.ts +13 -13
- package/dist/avatar.d.ts +5 -5
- package/dist/avatar.d.ts.map +1 -1
- package/dist/badge.d.ts +4 -4
- package/dist/breadcrumb.d.ts +6 -6
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/button.d.ts +2 -2
- package/dist/button.d.ts.map +1 -1
- package/dist/calendar.d.ts +2 -2
- package/dist/card.d.ts +8 -8
- package/dist/card.d.ts.map +1 -1
- package/dist/checkbox-group.d.ts +2 -2
- package/dist/checkbox-group.d.ts.map +1 -1
- package/dist/checkbox.d.ts +3 -3
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/collapsible.d.ts +4 -4
- package/dist/combobox.d.ts +25 -25
- package/dist/components/chart/legend.d.ts +2 -2
- package/dist/components/chart/tooltip.d.ts +2 -2
- package/dist/components/table/primitives.d.ts +9 -9
- package/dist/context-menu.d.ts +20 -20
- package/dist/dialog.d.ts +11 -11
- package/dist/drawer.d.ts +12 -12
- package/dist/empty.d.ts +7 -7
- package/dist/field.d.ts +8 -8
- package/dist/field.d.ts.map +1 -1
- 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/group.d.ts +3 -3
- package/dist/group.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/input.d.ts +2 -2
- package/dist/input.d.ts.map +1 -1
- package/dist/menu.d.ts +20 -20
- package/dist/menu.d.ts.map +1 -1
- package/dist/menubar.d.ts +21 -21
- package/dist/menubar.d.ts.map +1 -1
- package/dist/meter.d.ts +6 -6
- package/dist/navigation-menu.d.ts +14 -14
- package/dist/navigation-menu.js +1 -1
- package/dist/navigation-menu.js.map +1 -1
- package/dist/number-field.d.ts +8 -8
- package/dist/pagination.d.ts +10 -10
- package/dist/popover.d.ts +12 -12
- package/dist/preview-card.d.ts +8 -8
- package/dist/progress.d.ts +30 -7
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.js +63 -3
- package/dist/progress.js.map +1 -1
- package/dist/radio-group.d.ts +2 -2
- package/dist/radio.d.ts +3 -3
- package/dist/scroll-area.d.ts +7 -7
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area.js +1 -1
- package/dist/scroll-area.js.map +1 -1
- package/dist/select.d.ts +19 -19
- package/dist/select.d.ts.map +1 -1
- package/dist/separator.d.ts +2 -2
- package/dist/skeleton.d.ts +2 -2
- package/dist/slider.d.ts +7 -7
- package/dist/switch.d.ts +3 -3
- package/dist/tabs.d.ts +6 -6
- package/dist/textarea.d.ts +2 -2
- package/dist/timeline.d.ts +11 -11
- 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 +1 -1
package/dist/menubar.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ControlSize, ControlVariant } from "./lib/control-variants.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime157 from "react/jsx-runtime";
|
|
4
4
|
import { Menu } from "@base-ui/react/menu";
|
|
5
5
|
import { Menubar } from "@base-ui/react/menubar";
|
|
6
6
|
|
|
@@ -10,12 +10,12 @@ declare const MenubarRoot: {
|
|
|
10
10
|
({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: MenubarRootProps):
|
|
13
|
+
}: MenubarRootProps): react_jsx_runtime157.JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
type MenubarMenuProps = React.ComponentProps<typeof Menu.Root>;
|
|
17
17
|
declare const MenubarMenu: {
|
|
18
|
-
(props: MenubarMenuProps):
|
|
18
|
+
(props: MenubarMenuProps): react_jsx_runtime157.JSX.Element;
|
|
19
19
|
displayName: string;
|
|
20
20
|
};
|
|
21
21
|
type MenubarTriggerProps = React.ComponentProps<typeof Menu.Trigger> & {
|
|
@@ -30,12 +30,12 @@ declare const MenubarTrigger: {
|
|
|
30
30
|
variant,
|
|
31
31
|
size,
|
|
32
32
|
...props
|
|
33
|
-
}: MenubarTriggerProps):
|
|
33
|
+
}: MenubarTriggerProps): react_jsx_runtime157.JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
type MenubarPortalProps = React.ComponentProps<typeof Menu.Portal>;
|
|
37
37
|
declare const MenubarPortal: {
|
|
38
|
-
(props: MenubarPortalProps):
|
|
38
|
+
(props: MenubarPortalProps): react_jsx_runtime157.JSX.Element;
|
|
39
39
|
displayName: string;
|
|
40
40
|
};
|
|
41
41
|
type MenubarPositionerProps = React.ComponentProps<typeof Menu.Positioner>;
|
|
@@ -43,7 +43,7 @@ declare const MenubarPositioner: {
|
|
|
43
43
|
({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: MenubarPositionerProps):
|
|
46
|
+
}: MenubarPositionerProps): react_jsx_runtime157.JSX.Element;
|
|
47
47
|
displayName: string;
|
|
48
48
|
};
|
|
49
49
|
type MenubarPopupProps = React.ComponentProps<typeof Menu.Popup>;
|
|
@@ -51,7 +51,7 @@ declare const MenubarPopup: {
|
|
|
51
51
|
({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: MenubarPopupProps):
|
|
54
|
+
}: MenubarPopupProps): react_jsx_runtime157.JSX.Element;
|
|
55
55
|
displayName: string;
|
|
56
56
|
};
|
|
57
57
|
type MenubarArrowProps = React.ComponentProps<typeof Menu.Arrow>;
|
|
@@ -59,7 +59,7 @@ declare const MenubarArrow: {
|
|
|
59
59
|
({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: MenubarArrowProps):
|
|
62
|
+
}: MenubarArrowProps): react_jsx_runtime157.JSX.Element;
|
|
63
63
|
displayName: string;
|
|
64
64
|
};
|
|
65
65
|
type MenubarItemProps = React.ComponentProps<typeof Menu.Item>;
|
|
@@ -67,7 +67,7 @@ declare const MenubarItem: {
|
|
|
67
67
|
({
|
|
68
68
|
className,
|
|
69
69
|
...props
|
|
70
|
-
}: MenubarItemProps):
|
|
70
|
+
}: MenubarItemProps): react_jsx_runtime157.JSX.Element;
|
|
71
71
|
displayName: string;
|
|
72
72
|
};
|
|
73
73
|
type MenubarSeparatorProps = React.ComponentProps<typeof Menu.Separator>;
|
|
@@ -75,7 +75,7 @@ declare const MenubarSeparator: {
|
|
|
75
75
|
({
|
|
76
76
|
className,
|
|
77
77
|
...props
|
|
78
|
-
}: MenubarSeparatorProps):
|
|
78
|
+
}: MenubarSeparatorProps): react_jsx_runtime157.JSX.Element;
|
|
79
79
|
displayName: string;
|
|
80
80
|
};
|
|
81
81
|
type MenubarGroupProps = React.ComponentProps<typeof Menu.Group>;
|
|
@@ -83,7 +83,7 @@ declare const MenubarGroup: {
|
|
|
83
83
|
({
|
|
84
84
|
className,
|
|
85
85
|
...props
|
|
86
|
-
}: MenubarGroupProps):
|
|
86
|
+
}: MenubarGroupProps): react_jsx_runtime157.JSX.Element;
|
|
87
87
|
displayName: string;
|
|
88
88
|
};
|
|
89
89
|
type MenubarGroupLabelProps = React.ComponentProps<typeof Menu.GroupLabel>;
|
|
@@ -91,7 +91,7 @@ declare const MenubarGroupLabel: {
|
|
|
91
91
|
({
|
|
92
92
|
className,
|
|
93
93
|
...props
|
|
94
|
-
}: MenubarGroupLabelProps):
|
|
94
|
+
}: MenubarGroupLabelProps): react_jsx_runtime157.JSX.Element;
|
|
95
95
|
displayName: string;
|
|
96
96
|
};
|
|
97
97
|
type MenubarRadioGroupProps = React.ComponentProps<typeof Menu.RadioGroup>;
|
|
@@ -99,7 +99,7 @@ declare const MenubarRadioGroup: {
|
|
|
99
99
|
({
|
|
100
100
|
className,
|
|
101
101
|
...props
|
|
102
|
-
}: MenubarRadioGroupProps):
|
|
102
|
+
}: MenubarRadioGroupProps): react_jsx_runtime157.JSX.Element;
|
|
103
103
|
displayName: string;
|
|
104
104
|
};
|
|
105
105
|
type MenubarRadioItemProps = React.ComponentProps<typeof Menu.RadioItem>;
|
|
@@ -107,7 +107,7 @@ declare const MenubarRadioItem: {
|
|
|
107
107
|
({
|
|
108
108
|
className,
|
|
109
109
|
...props
|
|
110
|
-
}: MenubarRadioItemProps):
|
|
110
|
+
}: MenubarRadioItemProps): react_jsx_runtime157.JSX.Element;
|
|
111
111
|
displayName: string;
|
|
112
112
|
};
|
|
113
113
|
type MenubarCheckboxItemProps = React.ComponentProps<typeof Menu.CheckboxItem>;
|
|
@@ -115,7 +115,7 @@ declare const MenubarCheckboxItem: {
|
|
|
115
115
|
({
|
|
116
116
|
className,
|
|
117
117
|
...props
|
|
118
|
-
}: MenubarCheckboxItemProps):
|
|
118
|
+
}: MenubarCheckboxItemProps): react_jsx_runtime157.JSX.Element;
|
|
119
119
|
displayName: string;
|
|
120
120
|
};
|
|
121
121
|
type MenubarRadioItemIndicatorProps = React.ComponentProps<typeof Menu.RadioItemIndicator>;
|
|
@@ -123,7 +123,7 @@ declare const MenubarRadioItemIndicator: {
|
|
|
123
123
|
({
|
|
124
124
|
className,
|
|
125
125
|
...props
|
|
126
|
-
}: MenubarRadioItemIndicatorProps):
|
|
126
|
+
}: MenubarRadioItemIndicatorProps): react_jsx_runtime157.JSX.Element;
|
|
127
127
|
displayName: string;
|
|
128
128
|
};
|
|
129
129
|
type MenubarCheckboxItemIndicatorProps = React.ComponentProps<typeof Menu.CheckboxItemIndicator>;
|
|
@@ -131,7 +131,7 @@ declare const MenubarCheckboxItemIndicator: {
|
|
|
131
131
|
({
|
|
132
132
|
className,
|
|
133
133
|
...props
|
|
134
|
-
}: MenubarCheckboxItemIndicatorProps):
|
|
134
|
+
}: MenubarCheckboxItemIndicatorProps): react_jsx_runtime157.JSX.Element;
|
|
135
135
|
displayName: string;
|
|
136
136
|
};
|
|
137
137
|
type MenubarCheckboxItemLabelProps = React.ComponentProps<'span'>;
|
|
@@ -139,7 +139,7 @@ declare const MenubarCheckboxItemLabel: {
|
|
|
139
139
|
({
|
|
140
140
|
className,
|
|
141
141
|
...props
|
|
142
|
-
}: MenubarCheckboxItemLabelProps):
|
|
142
|
+
}: MenubarCheckboxItemLabelProps): react_jsx_runtime157.JSX.Element;
|
|
143
143
|
displayName: string;
|
|
144
144
|
};
|
|
145
145
|
type MenubarRadioItemLabelProps = React.ComponentProps<'span'>;
|
|
@@ -147,7 +147,7 @@ declare const MenubarRadioItemLabel: {
|
|
|
147
147
|
({
|
|
148
148
|
className,
|
|
149
149
|
...props
|
|
150
|
-
}: MenubarRadioItemLabelProps):
|
|
150
|
+
}: MenubarRadioItemLabelProps): react_jsx_runtime157.JSX.Element;
|
|
151
151
|
displayName: string;
|
|
152
152
|
};
|
|
153
153
|
type MenubarSubmenuTriggerProps = React.ComponentProps<typeof Menu.SubmenuTrigger>;
|
|
@@ -155,12 +155,12 @@ declare const MenubarSubmenuTrigger: {
|
|
|
155
155
|
({
|
|
156
156
|
className,
|
|
157
157
|
...props
|
|
158
|
-
}: MenubarSubmenuTriggerProps):
|
|
158
|
+
}: MenubarSubmenuTriggerProps): react_jsx_runtime157.JSX.Element;
|
|
159
159
|
displayName: string;
|
|
160
160
|
};
|
|
161
161
|
type MenubarSubmenuRootProps = React.ComponentProps<typeof Menu.SubmenuRoot>;
|
|
162
162
|
declare const MenubarSubmenuRoot: {
|
|
163
|
-
(props: MenubarSubmenuRootProps):
|
|
163
|
+
(props: MenubarSubmenuRootProps): react_jsx_runtime157.JSX.Element;
|
|
164
164
|
displayName: string;
|
|
165
165
|
};
|
|
166
166
|
//#endregion
|
package/dist/menubar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menubar.d.ts","names":[],"sources":["../src/components/menubar.tsx"],"sourcesContent":[],"mappings":";;;;;;;KAmBK,gBAAA,GAAmB,KAAA,CAAM,sBAAsB;cAE9C;;;;KAAwC,mBAAgB,
|
|
1
|
+
{"version":3,"file":"menubar.d.ts","names":[],"sources":["../src/components/menubar.tsx"],"sourcesContent":[],"mappings":";;;;;;;KAmBK,gBAAA,GAAmB,KAAA,CAAM,sBAAsB;cAE9C;;;;KAAwC,mBAAgB,oBAAA,CAAA,GAAA,CAAA;EAFzD,WAAA,EAAA,MAAgB;CAAA;KAuBhB,gBAAA,GAAmB,KAAA,CAAM,cAvBsB,CAAA,OAuBA,IAAA,CAAK,IAvBL,CAAA;cAyB9C,WAzBwB,EAAA;EAAc,CAAA,KAAA,EAyBhB,gBAzBgB,CAAA,EAyBA,oBAAA,CAAA,GAAA,CAAA,OAzBA;EAEtC,WAAA,EAAA,MAaL;CAAA;KAoBI,mBAAA,GAAsB,KAAA,CAAM,sBAAsB,IAAA,CAAK;;SAjCE,CAAA,EAmClD,cAnCkD;EAAA;EAqBzD,IAAA,CAAA,EAgBI,WAhBJ;CAAgB;cAmBf,cAnBmD,EAAA;;IAAjC,SAAM;IAAA,OAAA;IAAA,IAAA;IAAA,GAAA;EAAA,CAAA,EAmBkC,mBAnBlC,CAAA,EAmBqD,oBAAA,CAAA,GAAA,CAAA,OAnBrD;EAAc,WAAA,EAAA,MAAA;AAAA,CAAA;KAkCvC,kBAAA,GAAqB,KAAA,CAAM,cA9B/B,CAAA,OA8BqD,IAAA,CAAK,MA9B1D,CAAA;cAgCK,aAlCsB,EAAA;QAAgB,EAkCd,kBAlCc,CAAA,EAkCI,oBAAA,CAAA,GAAA,CAAA,OAlCJ;EAAA,WAAA,EAAA,MAAA;AAAA,CAAA;KA4CvC,sBAAA,GAAyB,KAAA,CAAM,cAlCZ,CAAA,OAkCkC,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
import * as react_jsx_runtime233 from "react/jsx-runtime";
|
|
3
3
|
import { Meter } from "@base-ui/react/meter";
|
|
4
4
|
|
|
5
5
|
//#region src/components/meter.d.ts
|
|
@@ -13,7 +13,7 @@ declare const MeterRoot: {
|
|
|
13
13
|
animated,
|
|
14
14
|
value,
|
|
15
15
|
...props
|
|
16
|
-
}: MeterRootProps):
|
|
16
|
+
}: MeterRootProps): react_jsx_runtime233.JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
type MeterTrackProps = React.ComponentProps<typeof Meter.Track>;
|
|
@@ -21,7 +21,7 @@ declare const MeterTrack: {
|
|
|
21
21
|
({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: MeterTrackProps):
|
|
24
|
+
}: MeterTrackProps): react_jsx_runtime233.JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
};
|
|
27
27
|
type MeterIndicatorProps = React.ComponentProps<typeof Meter.Indicator>;
|
|
@@ -29,7 +29,7 @@ declare const MeterIndicator: {
|
|
|
29
29
|
({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: MeterIndicatorProps):
|
|
32
|
+
}: MeterIndicatorProps): react_jsx_runtime233.JSX.Element;
|
|
33
33
|
displayName: string;
|
|
34
34
|
};
|
|
35
35
|
type MeterValueProps = React.ComponentProps<typeof Meter.Value>;
|
|
@@ -37,7 +37,7 @@ declare const MeterValue: {
|
|
|
37
37
|
({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: MeterValueProps):
|
|
40
|
+
}: MeterValueProps): react_jsx_runtime233.JSX.Element;
|
|
41
41
|
displayName: string;
|
|
42
42
|
};
|
|
43
43
|
type MeterLabelProps = React.ComponentProps<typeof Meter.Label>;
|
|
@@ -45,7 +45,7 @@ declare const MeterLabel: {
|
|
|
45
45
|
({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: MeterLabelProps):
|
|
48
|
+
}: MeterLabelProps): react_jsx_runtime233.JSX.Element;
|
|
49
49
|
displayName: string;
|
|
50
50
|
};
|
|
51
51
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime196 from "react/jsx-runtime";
|
|
3
3
|
import { NavigationMenu } from "@base-ui/react/navigation-menu";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation-menu.d.ts
|
|
@@ -8,7 +8,7 @@ declare const NavigationMenuRoot: {
|
|
|
8
8
|
({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: NavigationMenuRootProps):
|
|
11
|
+
}: NavigationMenuRootProps): react_jsx_runtime196.JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
type NavigationMenuListProps = React.ComponentProps<typeof NavigationMenu.List>;
|
|
@@ -16,7 +16,7 @@ declare const NavigationMenuList: {
|
|
|
16
16
|
({
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: NavigationMenuListProps):
|
|
19
|
+
}: NavigationMenuListProps): react_jsx_runtime196.JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
type NavigationMenuItemProps = React.ComponentProps<typeof NavigationMenu.Item>;
|
|
@@ -24,7 +24,7 @@ declare const NavigationMenuItem: {
|
|
|
24
24
|
({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: NavigationMenuItemProps):
|
|
27
|
+
}: NavigationMenuItemProps): react_jsx_runtime196.JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
type NavigationMenuTriggerProps = React.ComponentProps<typeof NavigationMenu.Trigger>;
|
|
@@ -32,7 +32,7 @@ declare const NavigationMenuTrigger: {
|
|
|
32
32
|
({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: NavigationMenuTriggerProps):
|
|
35
|
+
}: NavigationMenuTriggerProps): react_jsx_runtime196.JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
type NavigationMenuIconProps = React.ComponentProps<typeof NavigationMenu.Icon>;
|
|
@@ -40,7 +40,7 @@ declare const NavigationMenuIcon: {
|
|
|
40
40
|
({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: NavigationMenuIconProps):
|
|
43
|
+
}: NavigationMenuIconProps): react_jsx_runtime196.JSX.Element;
|
|
44
44
|
displayName: string;
|
|
45
45
|
};
|
|
46
46
|
type NavigationMenuContentProps = React.ComponentProps<typeof NavigationMenu.Content>;
|
|
@@ -48,7 +48,7 @@ declare const NavigationMenuContent: {
|
|
|
48
48
|
({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: NavigationMenuContentProps):
|
|
51
|
+
}: NavigationMenuContentProps): react_jsx_runtime196.JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
type NavigationMenuLinkProps = React.ComponentProps<typeof NavigationMenu.Link>;
|
|
@@ -56,12 +56,12 @@ declare const NavigationMenuLink: {
|
|
|
56
56
|
({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: NavigationMenuLinkProps):
|
|
59
|
+
}: NavigationMenuLinkProps): react_jsx_runtime196.JSX.Element;
|
|
60
60
|
displayName: string;
|
|
61
61
|
};
|
|
62
62
|
type NavigationMenuPortalProps = React.ComponentProps<typeof NavigationMenu.Portal>;
|
|
63
63
|
declare const NavigationMenuPortal: {
|
|
64
|
-
(props: NavigationMenuPortalProps):
|
|
64
|
+
(props: NavigationMenuPortalProps): react_jsx_runtime196.JSX.Element;
|
|
65
65
|
displayName: string;
|
|
66
66
|
};
|
|
67
67
|
type NavigationMenuPositionerProps = React.ComponentProps<typeof NavigationMenu.Positioner>;
|
|
@@ -71,7 +71,7 @@ declare const NavigationMenuPositioner: {
|
|
|
71
71
|
sideOffset,
|
|
72
72
|
collisionPadding,
|
|
73
73
|
...props
|
|
74
|
-
}: NavigationMenuPositionerProps):
|
|
74
|
+
}: NavigationMenuPositionerProps): react_jsx_runtime196.JSX.Element;
|
|
75
75
|
displayName: string;
|
|
76
76
|
};
|
|
77
77
|
type NavigationMenuPopupProps = React.ComponentProps<typeof NavigationMenu.Popup>;
|
|
@@ -79,7 +79,7 @@ declare const NavigationMenuPopup: {
|
|
|
79
79
|
({
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: NavigationMenuPopupProps):
|
|
82
|
+
}: NavigationMenuPopupProps): react_jsx_runtime196.JSX.Element;
|
|
83
83
|
displayName: string;
|
|
84
84
|
};
|
|
85
85
|
type NavigationMenuViewportProps = React.ComponentProps<typeof NavigationMenu.Viewport>;
|
|
@@ -87,7 +87,7 @@ declare const NavigationMenuViewport: {
|
|
|
87
87
|
({
|
|
88
88
|
className,
|
|
89
89
|
...props
|
|
90
|
-
}: NavigationMenuViewportProps):
|
|
90
|
+
}: NavigationMenuViewportProps): react_jsx_runtime196.JSX.Element;
|
|
91
91
|
displayName: string;
|
|
92
92
|
};
|
|
93
93
|
type NavigationMenuArrowProps = React.ComponentProps<typeof NavigationMenu.Arrow>;
|
|
@@ -95,7 +95,7 @@ declare const NavigationMenuArrow: {
|
|
|
95
95
|
({
|
|
96
96
|
className,
|
|
97
97
|
...props
|
|
98
|
-
}: NavigationMenuArrowProps):
|
|
98
|
+
}: NavigationMenuArrowProps): react_jsx_runtime196.JSX.Element;
|
|
99
99
|
displayName: string;
|
|
100
100
|
};
|
|
101
101
|
type NavigationMenuBackdropProps = React.ComponentProps<typeof NavigationMenu.Backdrop>;
|
|
@@ -103,7 +103,7 @@ declare const NavigationMenuBackdrop: {
|
|
|
103
103
|
({
|
|
104
104
|
className,
|
|
105
105
|
...props
|
|
106
|
-
}: NavigationMenuBackdropProps):
|
|
106
|
+
}: NavigationMenuBackdropProps): react_jsx_runtime196.JSX.Element;
|
|
107
107
|
displayName: string;
|
|
108
108
|
};
|
|
109
109
|
//#endregion
|
package/dist/navigation-menu.js
CHANGED
|
@@ -9,7 +9,7 @@ import { NavigationMenu } from "@base-ui/react/navigation-menu";
|
|
|
9
9
|
//#region src/components/navigation-menu.tsx
|
|
10
10
|
const rootItemStyles = [
|
|
11
11
|
"inline-flex items-center justify-center rounded-md text-sm font-medium outline-none select-none",
|
|
12
|
-
"h-9 px-
|
|
12
|
+
"h-9 px-3 py-2",
|
|
13
13
|
"transition-colors",
|
|
14
14
|
"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
15
15
|
"focus:bg-accent focus:text-accent-foreground"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.js","names":["BaseNavigationMenu"],"sources":["../src/components/navigation-menu.tsx"],"sourcesContent":["'use client'\n\nimport { NavigationMenu as BaseNavigationMenu } from '@base-ui/react/navigation-menu'\nimport * as React from 'react'\n\nimport { ArrowSvg } from '../lib/arrow-svg'\nimport { cn } from '../lib/utils'\n\n// ============================================================================\n// Shared Styles\n// ============================================================================\n\nconst rootItemStyles = [\n 'inline-flex items-center justify-center rounded-md text-sm font-medium outline-none select-none',\n 'h-9 px-4 py-2',\n 'transition-colors',\n 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50',\n 'focus:bg-accent focus:text-accent-foreground',\n]\n\nconst submenuItemStyles = [\n 'group-data-content/content:block group-data-content/content:h-auto group-data-content/content:w-auto group-data-content/content:p-2',\n 'group-data-content/content:hover:bg-accent group-data-content/content:hover:text-accent-foreground',\n]\n\n// ============================================================================\n// NavigationMenuRoot\n// ============================================================================\n\ntype NavigationMenuRootProps = React.ComponentProps<typeof BaseNavigationMenu.Root>\n\nconst NavigationMenuRoot = ({ className, ...props }: NavigationMenuRootProps) => {\n return <BaseNavigationMenu.Root className={cn('min-w-max', className)} {...props} />\n}\n\nNavigationMenuRoot.displayName = 'NavigationMenuRoot'\n\n// ============================================================================\n// NavigationMenuList\n// ============================================================================\n\ntype NavigationMenuListProps = React.ComponentProps<typeof BaseNavigationMenu.List>\n\nconst NavigationMenuList = ({ className, ...props }: NavigationMenuListProps) => {\n return (\n <BaseNavigationMenu.List\n className={cn('flex items-center gap-1 relative', className)}\n {...props}\n />\n )\n}\n\nNavigationMenuList.displayName = 'NavigationMenuList'\n\n// ============================================================================\n// NavigationMenuItem\n// ============================================================================\n\ntype NavigationMenuItemProps = React.ComponentProps<typeof BaseNavigationMenu.Item>\n\nconst NavigationMenuItem = ({ className, ...props }: NavigationMenuItemProps) => {\n return <BaseNavigationMenu.Item className={cn(className)} {...props} />\n}\n\nNavigationMenuItem.displayName = 'NavigationMenuItem'\n\n// ============================================================================\n// NavigationMenuTrigger\n// ============================================================================\n\ntype NavigationMenuTriggerProps = React.ComponentProps<typeof BaseNavigationMenu.Trigger>\n\nconst NavigationMenuTrigger = ({ className, ...props }: NavigationMenuTriggerProps) => {\n return (\n <BaseNavigationMenu.Trigger\n className={cn(\n rootItemStyles,\n submenuItemStyles,\n 'group gap-1',\n 'group-data-content/content:inline-flex group-data-content/content:w-full group-data-content/content:justify-between',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuTrigger.displayName = 'NavigationMenuTrigger'\n\n// ============================================================================\n// NavigationMenuIcon\n// ============================================================================\n\ntype NavigationMenuIconProps = React.ComponentProps<typeof BaseNavigationMenu.Icon>\n\nconst NavigationMenuIcon = ({ className, ...props }: NavigationMenuIconProps) => {\n return (\n <BaseNavigationMenu.Icon\n className={cn(\n 'transition-transform duration-200 ease-in-out',\n 'group-data-popup-open:rotate-180',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuIcon.displayName = 'NavigationMenuIcon'\n\n// ============================================================================\n// NavigationMenuContent\n// ============================================================================\n\ntype NavigationMenuContentProps = React.ComponentProps<typeof BaseNavigationMenu.Content>\n\nconst NavigationMenuContent = ({ className, ...props }: NavigationMenuContentProps) => {\n return (\n <BaseNavigationMenu.Content\n data-content\n className={cn(\n 'group/content',\n 'w-[calc(100vw-40px)] h-full p-2 xs:w-max xs:min-w-[400px] xs:w-max',\n 'transition-[opacity,transform,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)]',\n 'data-starting-style:opacity-0 data-ending-style:opacity-0',\n 'data-starting-style:data-[activation-direction=left]:translate-x-[-50%] data-starting-style:data-[activation-direction=right]:translate-x-[50%]',\n 'data-ending-style:data-[activation-direction=left]:translate-x-[50%] data-ending-style:data-[activation-direction=right]:translate-x-[-50%]',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuContent.displayName = 'NavigationMenuContent'\n\n// ============================================================================\n// NavigationMenuLink\n// ============================================================================\n\ntype NavigationMenuLinkProps = React.ComponentProps<typeof BaseNavigationMenu.Link>\n\nconst NavigationMenuLink = ({ className, ...props }: NavigationMenuLinkProps) => {\n return (\n <BaseNavigationMenu.Link\n className={cn(\n rootItemStyles,\n submenuItemStyles,\n 'data-active:bg-accent data-active:text-accent-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuLink.displayName = 'NavigationMenuLink'\n\n// ============================================================================\n// NavigationMenuPortal\n// ============================================================================\n\ntype NavigationMenuPortalProps = React.ComponentProps<typeof BaseNavigationMenu.Portal>\n\nconst NavigationMenuPortal = (props: NavigationMenuPortalProps) => {\n return <BaseNavigationMenu.Portal {...props} />\n}\n\nNavigationMenuPortal.displayName = 'NavigationMenuPortal'\n\n// ============================================================================\n// NavigationMenuPositioner\n// ============================================================================\n\ntype NavigationMenuPositionerProps = React.ComponentProps<\n typeof BaseNavigationMenu.Positioner\n>\n\nconst NavigationMenuPositioner = ({\n className,\n sideOffset = 10,\n collisionPadding = { top: 5, bottom: 5, left: 20, right: 20 },\n ...props\n}: NavigationMenuPositionerProps) => {\n return (\n <BaseNavigationMenu.Positioner\n className={cn(\n 'z-50 box-border',\n 'h-(--positioner-height) w-(--positioner-width) max-w-(--available-width)',\n 'transition-[top,left,right,bottom] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)]',\n 'data-instant:transition-none',\n // Gap element to maintain hover when moving to popup\n \"before:absolute before:content-['']\",\n 'data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0 data-[side=bottom]:before:h-2.5',\n 'data-[side=top]:before:right-0 data-[side=top]:before:bottom-[-10px] data-[side=top]:before:left-0 data-[side=top]:before:h-2.5',\n 'data-[side=left]:before:top-0 data-[side=left]:before:right-[-10px] data-[side=left]:before:bottom-0 data-[side=left]:before:w-2.5',\n 'data-[side=right]:before:top-0 data-[side=right]:before:bottom-0 data-[side=right]:before:left-[-10px] data-[side=right]:before:w-2.5',\n className,\n )}\n sideOffset={sideOffset}\n collisionPadding={collisionPadding}\n {...props}\n />\n )\n}\n\nNavigationMenuPositioner.displayName = 'NavigationMenuPositioner'\n\n// ============================================================================\n// NavigationMenuPopup\n// ============================================================================\n\ntype NavigationMenuPopupProps = React.ComponentProps<typeof BaseNavigationMenu.Popup>\n\nconst NavigationMenuPopup = ({ className, ...props }: NavigationMenuPopupProps) => {\n return (\n <BaseNavigationMenu.Popup\n className={cn(\n 'relative rounded-lg border border-border bg-background shadow-lg',\n 'h-(--popup-height) w-(--popup-width)',\n 'origin-(--transform-origin)',\n 'transition-[opacity,transform,width,height,scale] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)]',\n 'data-starting-style:scale-90 data-starting-style:opacity-0',\n 'data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuPopup.displayName = 'NavigationMenuPopup'\n\n// ============================================================================\n// NavigationMenuViewport\n// ============================================================================\n\ntype NavigationMenuViewportProps = React.ComponentProps<\n typeof BaseNavigationMenu.Viewport\n>\n\nconst NavigationMenuViewport = ({ className, ...props }: NavigationMenuViewportProps) => {\n return (\n <BaseNavigationMenu.Viewport\n className={cn('relative h-full w-full overflow-hidden', className)}\n {...props}\n />\n )\n}\n\nNavigationMenuViewport.displayName = 'NavigationMenuViewport'\n\n// ============================================================================\n// NavigationMenuArrow\n// ============================================================================\n\ntype NavigationMenuArrowProps = React.ComponentProps<typeof BaseNavigationMenu.Arrow>\n\nconst NavigationMenuArrow = ({ className, ...props }: NavigationMenuArrowProps) => {\n return (\n <BaseNavigationMenu.Arrow\n className={cn(\n 'flex transition-[left] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)]',\n 'data-[side=bottom]:top-[-9px] data-[side=left]:right-[-14px] data-[side=left]:rotate-90 data-[side=right]:left-[-14px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-9px] data-[side=top]:rotate-180',\n className,\n )}\n {...props}\n >\n <ArrowSvg />\n </BaseNavigationMenu.Arrow>\n )\n}\n\nNavigationMenuArrow.displayName = 'NavigationMenuArrow'\n\n// ============================================================================\n// NavigationMenuBackdrop\n// ============================================================================\n\ntype NavigationMenuBackdropProps = React.ComponentProps<\n typeof BaseNavigationMenu.Backdrop\n>\n\nconst NavigationMenuBackdrop = ({ className, ...props }: NavigationMenuBackdropProps) => {\n return (\n <BaseNavigationMenu.Backdrop\n className={cn(\n 'fixed inset-0 z-40 bg-black/50 backdrop-blur-sm',\n 'transition-opacity duration-200',\n 'data-starting-style:opacity-0 data-ending-style:opacity-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuBackdrop.displayName = 'NavigationMenuBackdrop'\n\n// ============================================================================\n// Exports\n// ============================================================================\n\nexport {\n NavigationMenuRoot,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuTrigger,\n NavigationMenuIcon,\n NavigationMenuContent,\n NavigationMenuLink,\n NavigationMenuPortal,\n NavigationMenuPositioner,\n NavigationMenuPopup,\n NavigationMenuViewport,\n NavigationMenuArrow,\n NavigationMenuBackdrop,\n}\n\nexport type {\n NavigationMenuRootProps,\n NavigationMenuListProps,\n NavigationMenuItemProps,\n NavigationMenuTriggerProps,\n NavigationMenuIconProps,\n NavigationMenuContentProps,\n NavigationMenuLinkProps,\n NavigationMenuPortalProps,\n NavigationMenuPositionerProps,\n NavigationMenuPopupProps,\n NavigationMenuViewportProps,\n NavigationMenuArrowProps,\n NavigationMenuBackdropProps,\n}\n"],"mappings":";;;;;;;;;AAYA,MAAM,iBAAiB;CACrB;CACA;CACA;CACA;CACA;CACD;AAED,MAAM,oBAAoB,CACxB,uIACA,qGACD;AAQD,MAAM,sBAAsB,EAAE,WAAW,GAAG,YAAqC;AAC/E,QAAO,oBAACA,eAAmB;EAAK,WAAW,GAAG,aAAa,UAAU;EAAE,GAAI;GAAS;;AAGtF,mBAAmB,cAAc;AAQjC,MAAM,sBAAsB,EAAE,WAAW,GAAG,YAAqC;AAC/E,QACE,oBAACA,eAAmB;EAClB,WAAW,GAAG,oCAAoC,UAAU;EAC5D,GAAI;GACJ;;AAIN,mBAAmB,cAAc;AAQjC,MAAM,sBAAsB,EAAE,WAAW,GAAG,YAAqC;AAC/E,QAAO,oBAACA,eAAmB;EAAK,WAAW,GAAG,UAAU;EAAE,GAAI;GAAS;;AAGzE,mBAAmB,cAAc;AAQjC,MAAM,yBAAyB,EAAE,WAAW,GAAG,YAAwC;AACrF,QACE,oBAACA,eAAmB;EAClB,WAAW,GACT,gBACA,mBACA,eACA,uHACA,UACD;EACD,GAAI;GACJ;;AAIN,sBAAsB,cAAc;AAQpC,MAAM,sBAAsB,EAAE,WAAW,GAAG,YAAqC;AAC/E,QACE,oBAACA,eAAmB;EAClB,WAAW,GACT,iDACA,oCACA,UACD;EACD,GAAI;GACJ;;AAIN,mBAAmB,cAAc;AAQjC,MAAM,yBAAyB,EAAE,WAAW,GAAG,YAAwC;AACrF,QACE,oBAACA,eAAmB;EAClB;EACA,WAAW,GACT,iBACA,sEACA,gGACA,6DACA,mJACA,+IACA,UACD;EACD,GAAI;GACJ;;AAIN,sBAAsB,cAAc;AAQpC,MAAM,sBAAsB,EAAE,WAAW,GAAG,YAAqC;AAC/E,QACE,oBAACA,eAAmB;EAClB,WAAW,GACT,gBACA,mBACA,4DACA,UACD;EACD,GAAI;GACJ;;AAIN,mBAAmB,cAAc;AAQjC,MAAM,wBAAwB,UAAqC;AACjE,QAAO,oBAACA,eAAmB,UAAO,GAAI,QAAS;;AAGjD,qBAAqB,cAAc;AAUnC,MAAM,4BAA4B,EAChC,WACA,aAAa,IACb,mBAAmB;CAAE,KAAK;CAAG,QAAQ;CAAG,MAAM;CAAI,OAAO;CAAI,EAC7D,GAAG,YACgC;AACnC,QACE,oBAACA,eAAmB;EAClB,WAAW,GACT,mBACA,4EACA,0FACA,gCAEA,uCACA,4IACA,mIACA,sIACA,yIACA,UACD;EACW;EACM;EAClB,GAAI;GACJ;;AAIN,yBAAyB,cAAc;AAQvC,MAAM,uBAAuB,EAAE,WAAW,GAAG,YAAsC;AACjF,QACE,oBAACA,eAAmB;EAClB,WAAW,GACT,oEACA,wCACA,+BACA,yGACA,8DACA,yFACA,UACD;EACD,GAAI;GACJ;;AAIN,oBAAoB,cAAc;AAUlC,MAAM,0BAA0B,EAAE,WAAW,GAAG,YAAyC;AACvF,QACE,oBAACA,eAAmB;EAClB,WAAW,GAAG,0CAA0C,UAAU;EAClE,GAAI;GACJ;;AAIN,uBAAuB,cAAc;AAQrC,MAAM,uBAAuB,EAAE,WAAW,GAAG,YAAsC;AACjF,QACE,oBAACA,eAAmB;EAClB,WAAW,GACT,8EACA,gNACA,UACD;EACD,GAAI;YAEJ,oBAAC,aAAW;GACa;;AAI/B,oBAAoB,cAAc;AAUlC,MAAM,0BAA0B,EAAE,WAAW,GAAG,YAAyC;AACvF,QACE,oBAACA,eAAmB;EAClB,WAAW,GACT,mDACA,mCACA,6DACA,UACD;EACD,GAAI;GACJ;;AAIN,uBAAuB,cAAc"}
|
|
1
|
+
{"version":3,"file":"navigation-menu.js","names":["BaseNavigationMenu"],"sources":["../src/components/navigation-menu.tsx"],"sourcesContent":["'use client'\n\nimport { NavigationMenu as BaseNavigationMenu } from '@base-ui/react/navigation-menu'\nimport * as React from 'react'\n\nimport { ArrowSvg } from '../lib/arrow-svg'\nimport { cn } from '../lib/utils'\n\n// ============================================================================\n// Shared Styles\n// ============================================================================\n\nconst rootItemStyles = [\n 'inline-flex items-center justify-center rounded-md text-sm font-medium outline-none select-none',\n 'h-9 px-3 py-2',\n 'transition-colors',\n 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50',\n 'focus:bg-accent focus:text-accent-foreground',\n]\n\nconst submenuItemStyles = [\n 'group-data-content/content:block group-data-content/content:h-auto group-data-content/content:w-auto group-data-content/content:p-2',\n 'group-data-content/content:hover:bg-accent group-data-content/content:hover:text-accent-foreground',\n]\n\n// ============================================================================\n// NavigationMenuRoot\n// ============================================================================\n\ntype NavigationMenuRootProps = React.ComponentProps<typeof BaseNavigationMenu.Root>\n\nconst NavigationMenuRoot = ({ className, ...props }: NavigationMenuRootProps) => {\n return <BaseNavigationMenu.Root className={cn('min-w-max', className)} {...props} />\n}\n\nNavigationMenuRoot.displayName = 'NavigationMenuRoot'\n\n// ============================================================================\n// NavigationMenuList\n// ============================================================================\n\ntype NavigationMenuListProps = React.ComponentProps<typeof BaseNavigationMenu.List>\n\nconst NavigationMenuList = ({ className, ...props }: NavigationMenuListProps) => {\n return (\n <BaseNavigationMenu.List\n className={cn('flex items-center gap-1 relative', className)}\n {...props}\n />\n )\n}\n\nNavigationMenuList.displayName = 'NavigationMenuList'\n\n// ============================================================================\n// NavigationMenuItem\n// ============================================================================\n\ntype NavigationMenuItemProps = React.ComponentProps<typeof BaseNavigationMenu.Item>\n\nconst NavigationMenuItem = ({ className, ...props }: NavigationMenuItemProps) => {\n return <BaseNavigationMenu.Item className={cn(className)} {...props} />\n}\n\nNavigationMenuItem.displayName = 'NavigationMenuItem'\n\n// ============================================================================\n// NavigationMenuTrigger\n// ============================================================================\n\ntype NavigationMenuTriggerProps = React.ComponentProps<typeof BaseNavigationMenu.Trigger>\n\nconst NavigationMenuTrigger = ({ className, ...props }: NavigationMenuTriggerProps) => {\n return (\n <BaseNavigationMenu.Trigger\n className={cn(\n rootItemStyles,\n submenuItemStyles,\n 'group gap-1',\n 'group-data-content/content:inline-flex group-data-content/content:w-full group-data-content/content:justify-between',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuTrigger.displayName = 'NavigationMenuTrigger'\n\n// ============================================================================\n// NavigationMenuIcon\n// ============================================================================\n\ntype NavigationMenuIconProps = React.ComponentProps<typeof BaseNavigationMenu.Icon>\n\nconst NavigationMenuIcon = ({ className, ...props }: NavigationMenuIconProps) => {\n return (\n <BaseNavigationMenu.Icon\n className={cn(\n 'transition-transform duration-200 ease-in-out',\n 'group-data-popup-open:rotate-180',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuIcon.displayName = 'NavigationMenuIcon'\n\n// ============================================================================\n// NavigationMenuContent\n// ============================================================================\n\ntype NavigationMenuContentProps = React.ComponentProps<typeof BaseNavigationMenu.Content>\n\nconst NavigationMenuContent = ({ className, ...props }: NavigationMenuContentProps) => {\n return (\n <BaseNavigationMenu.Content\n data-content\n className={cn(\n 'group/content',\n 'w-[calc(100vw-40px)] h-full p-2 xs:w-max xs:min-w-[400px] xs:w-max',\n 'transition-[opacity,transform,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)]',\n 'data-starting-style:opacity-0 data-ending-style:opacity-0',\n 'data-starting-style:data-[activation-direction=left]:translate-x-[-50%] data-starting-style:data-[activation-direction=right]:translate-x-[50%]',\n 'data-ending-style:data-[activation-direction=left]:translate-x-[50%] data-ending-style:data-[activation-direction=right]:translate-x-[-50%]',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuContent.displayName = 'NavigationMenuContent'\n\n// ============================================================================\n// NavigationMenuLink\n// ============================================================================\n\ntype NavigationMenuLinkProps = React.ComponentProps<typeof BaseNavigationMenu.Link>\n\nconst NavigationMenuLink = ({ className, ...props }: NavigationMenuLinkProps) => {\n return (\n <BaseNavigationMenu.Link\n className={cn(\n rootItemStyles,\n submenuItemStyles,\n 'data-active:bg-accent data-active:text-accent-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuLink.displayName = 'NavigationMenuLink'\n\n// ============================================================================\n// NavigationMenuPortal\n// ============================================================================\n\ntype NavigationMenuPortalProps = React.ComponentProps<typeof BaseNavigationMenu.Portal>\n\nconst NavigationMenuPortal = (props: NavigationMenuPortalProps) => {\n return <BaseNavigationMenu.Portal {...props} />\n}\n\nNavigationMenuPortal.displayName = 'NavigationMenuPortal'\n\n// ============================================================================\n// NavigationMenuPositioner\n// ============================================================================\n\ntype NavigationMenuPositionerProps = React.ComponentProps<\n typeof BaseNavigationMenu.Positioner\n>\n\nconst NavigationMenuPositioner = ({\n className,\n sideOffset = 10,\n collisionPadding = { top: 5, bottom: 5, left: 20, right: 20 },\n ...props\n}: NavigationMenuPositionerProps) => {\n return (\n <BaseNavigationMenu.Positioner\n className={cn(\n 'z-50 box-border',\n 'h-(--positioner-height) w-(--positioner-width) max-w-(--available-width)',\n 'transition-[top,left,right,bottom] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)]',\n 'data-instant:transition-none',\n // Gap element to maintain hover when moving to popup\n \"before:absolute before:content-['']\",\n 'data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0 data-[side=bottom]:before:h-2.5',\n 'data-[side=top]:before:right-0 data-[side=top]:before:bottom-[-10px] data-[side=top]:before:left-0 data-[side=top]:before:h-2.5',\n 'data-[side=left]:before:top-0 data-[side=left]:before:right-[-10px] data-[side=left]:before:bottom-0 data-[side=left]:before:w-2.5',\n 'data-[side=right]:before:top-0 data-[side=right]:before:bottom-0 data-[side=right]:before:left-[-10px] data-[side=right]:before:w-2.5',\n className,\n )}\n sideOffset={sideOffset}\n collisionPadding={collisionPadding}\n {...props}\n />\n )\n}\n\nNavigationMenuPositioner.displayName = 'NavigationMenuPositioner'\n\n// ============================================================================\n// NavigationMenuPopup\n// ============================================================================\n\ntype NavigationMenuPopupProps = React.ComponentProps<typeof BaseNavigationMenu.Popup>\n\nconst NavigationMenuPopup = ({ className, ...props }: NavigationMenuPopupProps) => {\n return (\n <BaseNavigationMenu.Popup\n className={cn(\n 'relative rounded-lg border border-border bg-background shadow-lg',\n 'h-(--popup-height) w-(--popup-width)',\n 'origin-(--transform-origin)',\n 'transition-[opacity,transform,width,height,scale] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)]',\n 'data-starting-style:scale-90 data-starting-style:opacity-0',\n 'data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuPopup.displayName = 'NavigationMenuPopup'\n\n// ============================================================================\n// NavigationMenuViewport\n// ============================================================================\n\ntype NavigationMenuViewportProps = React.ComponentProps<\n typeof BaseNavigationMenu.Viewport\n>\n\nconst NavigationMenuViewport = ({ className, ...props }: NavigationMenuViewportProps) => {\n return (\n <BaseNavigationMenu.Viewport\n className={cn('relative h-full w-full overflow-hidden', className)}\n {...props}\n />\n )\n}\n\nNavigationMenuViewport.displayName = 'NavigationMenuViewport'\n\n// ============================================================================\n// NavigationMenuArrow\n// ============================================================================\n\ntype NavigationMenuArrowProps = React.ComponentProps<typeof BaseNavigationMenu.Arrow>\n\nconst NavigationMenuArrow = ({ className, ...props }: NavigationMenuArrowProps) => {\n return (\n <BaseNavigationMenu.Arrow\n className={cn(\n 'flex transition-[left] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)]',\n 'data-[side=bottom]:top-[-9px] data-[side=left]:right-[-14px] data-[side=left]:rotate-90 data-[side=right]:left-[-14px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-9px] data-[side=top]:rotate-180',\n className,\n )}\n {...props}\n >\n <ArrowSvg />\n </BaseNavigationMenu.Arrow>\n )\n}\n\nNavigationMenuArrow.displayName = 'NavigationMenuArrow'\n\n// ============================================================================\n// NavigationMenuBackdrop\n// ============================================================================\n\ntype NavigationMenuBackdropProps = React.ComponentProps<\n typeof BaseNavigationMenu.Backdrop\n>\n\nconst NavigationMenuBackdrop = ({ className, ...props }: NavigationMenuBackdropProps) => {\n return (\n <BaseNavigationMenu.Backdrop\n className={cn(\n 'fixed inset-0 z-40 bg-black/50 backdrop-blur-sm',\n 'transition-opacity duration-200',\n 'data-starting-style:opacity-0 data-ending-style:opacity-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nNavigationMenuBackdrop.displayName = 'NavigationMenuBackdrop'\n\n// ============================================================================\n// Exports\n// ============================================================================\n\nexport {\n NavigationMenuRoot,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuTrigger,\n NavigationMenuIcon,\n NavigationMenuContent,\n NavigationMenuLink,\n NavigationMenuPortal,\n NavigationMenuPositioner,\n NavigationMenuPopup,\n NavigationMenuViewport,\n NavigationMenuArrow,\n NavigationMenuBackdrop,\n}\n\nexport type {\n NavigationMenuRootProps,\n NavigationMenuListProps,\n NavigationMenuItemProps,\n NavigationMenuTriggerProps,\n NavigationMenuIconProps,\n NavigationMenuContentProps,\n NavigationMenuLinkProps,\n NavigationMenuPortalProps,\n NavigationMenuPositionerProps,\n NavigationMenuPopupProps,\n NavigationMenuViewportProps,\n NavigationMenuArrowProps,\n NavigationMenuBackdropProps,\n}\n"],"mappings":";;;;;;;;;AAYA,MAAM,iBAAiB;CACrB;CACA;CACA;CACA;CACA;CACD;AAED,MAAM,oBAAoB,CACxB,uIACA,qGACD;AAQD,MAAM,sBAAsB,EAAE,WAAW,GAAG,YAAqC;AAC/E,QAAO,oBAACA,eAAmB;EAAK,WAAW,GAAG,aAAa,UAAU;EAAE,GAAI;GAAS;;AAGtF,mBAAmB,cAAc;AAQjC,MAAM,sBAAsB,EAAE,WAAW,GAAG,YAAqC;AAC/E,QACE,oBAACA,eAAmB;EAClB,WAAW,GAAG,oCAAoC,UAAU;EAC5D,GAAI;GACJ;;AAIN,mBAAmB,cAAc;AAQjC,MAAM,sBAAsB,EAAE,WAAW,GAAG,YAAqC;AAC/E,QAAO,oBAACA,eAAmB;EAAK,WAAW,GAAG,UAAU;E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AE,WAAW,GAAG,YAAyC;AACvF,QACE,oBAACA,eAAmB;EAClB,WAAW,GAAG,0CAA0C,UAAU;EAClE,GAAI;GACJ;;AAIN,uBAAuB,cAAc;AAQrC,MAAM,uBAAuB,EAAE,WAAW,GAAG,YAAsC;AACjF,QACE,oBAACA,eAAmB;EAClB,WAAW,GACT,8EACA,gNACA,UACD;EACD,GAAI;YAEJ,oBAAC,aAAW;GACa;;AAI/B,oBAAoB,cAAc;AAUlC,MAAM,0BAA0B,EAAE,WAAW,GAAG,YAAyC;AACvF,QACE,oBAACA,eAAmB;EAClB,WAAW,GACT,mDACA,mCACA,6DACA,UACD;EACD,GAAI;GACJ;;AAIN,uBAAuB,cAAc"}
|
package/dist/number-field.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime238 from "react/jsx-runtime";
|
|
3
3
|
import { NumberField } from "@base-ui/react/number-field";
|
|
4
4
|
|
|
5
5
|
//#region src/components/number-field.d.ts
|
|
@@ -8,7 +8,7 @@ declare const NumberFieldRoot: {
|
|
|
8
8
|
({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: NumberFieldRootProps):
|
|
11
|
+
}: NumberFieldRootProps): react_jsx_runtime238.JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
type NumberFieldScrubAreaProps = React.ComponentProps<typeof NumberField.ScrubArea>;
|
|
@@ -16,7 +16,7 @@ declare const NumberFieldScrubArea: {
|
|
|
16
16
|
({
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: NumberFieldScrubAreaProps):
|
|
19
|
+
}: NumberFieldScrubAreaProps): react_jsx_runtime238.JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
type NumberFieldScrubAreaCursorProps = React.ComponentProps<typeof NumberField.ScrubAreaCursor>;
|
|
@@ -24,7 +24,7 @@ declare const NumberFieldScrubAreaCursor: {
|
|
|
24
24
|
({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: NumberFieldScrubAreaCursorProps):
|
|
27
|
+
}: NumberFieldScrubAreaCursorProps): react_jsx_runtime238.JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
type NumberFieldGroupProps = React.ComponentProps<typeof NumberField.Group>;
|
|
@@ -32,7 +32,7 @@ declare const NumberFieldGroup: {
|
|
|
32
32
|
({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: NumberFieldGroupProps):
|
|
35
|
+
}: NumberFieldGroupProps): react_jsx_runtime238.JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
type NumberFieldInputProps = React.ComponentProps<typeof NumberField.Input>;
|
|
@@ -40,7 +40,7 @@ declare const NumberFieldInput: {
|
|
|
40
40
|
({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: NumberFieldInputProps):
|
|
43
|
+
}: NumberFieldInputProps): react_jsx_runtime238.JSX.Element;
|
|
44
44
|
displayName: string;
|
|
45
45
|
};
|
|
46
46
|
type NumberFieldDecrementProps = React.ComponentProps<typeof NumberField.Decrement>;
|
|
@@ -48,7 +48,7 @@ declare const NumberFieldDecrement: {
|
|
|
48
48
|
({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: NumberFieldDecrementProps):
|
|
51
|
+
}: NumberFieldDecrementProps): react_jsx_runtime238.JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
type NumberFieldIncrementProps = React.ComponentProps<typeof NumberField.Increment>;
|
|
@@ -56,7 +56,7 @@ declare const NumberFieldIncrement: {
|
|
|
56
56
|
({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: NumberFieldIncrementProps):
|
|
59
|
+
}: NumberFieldIncrementProps): react_jsx_runtime238.JSX.Element;
|
|
60
60
|
displayName: string;
|
|
61
61
|
};
|
|
62
62
|
//#endregion
|
package/dist/pagination.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ControlSize, ControlVariant } from "./lib/control-variants.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime245 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/pagination.d.ts
|
|
6
6
|
type PaginationPage = number | 'ellipsis';
|
|
@@ -62,7 +62,7 @@ declare const PaginationRoot: {
|
|
|
62
62
|
({
|
|
63
63
|
className,
|
|
64
64
|
...props
|
|
65
|
-
}: PaginationRootProps):
|
|
65
|
+
}: PaginationRootProps): react_jsx_runtime245.JSX.Element;
|
|
66
66
|
displayName: string;
|
|
67
67
|
};
|
|
68
68
|
type PaginationContentProps = React.ComponentProps<'ul'>;
|
|
@@ -70,7 +70,7 @@ declare const PaginationContent: {
|
|
|
70
70
|
({
|
|
71
71
|
className,
|
|
72
72
|
...props
|
|
73
|
-
}: PaginationContentProps):
|
|
73
|
+
}: PaginationContentProps): react_jsx_runtime245.JSX.Element;
|
|
74
74
|
displayName: string;
|
|
75
75
|
};
|
|
76
76
|
type PaginationItemProps = React.ComponentProps<'li'>;
|
|
@@ -78,7 +78,7 @@ declare const PaginationItem: {
|
|
|
78
78
|
({
|
|
79
79
|
className,
|
|
80
80
|
...props
|
|
81
|
-
}: PaginationItemProps):
|
|
81
|
+
}: PaginationItemProps): react_jsx_runtime245.JSX.Element;
|
|
82
82
|
displayName: string;
|
|
83
83
|
};
|
|
84
84
|
type PaginationButtonProps = React.ComponentProps<'button'> & {
|
|
@@ -96,7 +96,7 @@ declare const PaginationButton: {
|
|
|
96
96
|
variant,
|
|
97
97
|
size,
|
|
98
98
|
...props
|
|
99
|
-
}: PaginationButtonProps):
|
|
99
|
+
}: PaginationButtonProps): react_jsx_runtime245.JSX.Element;
|
|
100
100
|
displayName: string;
|
|
101
101
|
};
|
|
102
102
|
type PaginationPreviousProps = React.ComponentProps<'button'> & {
|
|
@@ -113,7 +113,7 @@ declare const PaginationPrevious: {
|
|
|
113
113
|
size,
|
|
114
114
|
children,
|
|
115
115
|
...props
|
|
116
|
-
}: PaginationPreviousProps):
|
|
116
|
+
}: PaginationPreviousProps): react_jsx_runtime245.JSX.Element;
|
|
117
117
|
displayName: string;
|
|
118
118
|
};
|
|
119
119
|
type PaginationNextProps = React.ComponentProps<'button'> & {
|
|
@@ -130,7 +130,7 @@ declare const PaginationNext: {
|
|
|
130
130
|
size,
|
|
131
131
|
children,
|
|
132
132
|
...props
|
|
133
|
-
}: PaginationNextProps):
|
|
133
|
+
}: PaginationNextProps): react_jsx_runtime245.JSX.Element;
|
|
134
134
|
displayName: string;
|
|
135
135
|
};
|
|
136
136
|
type PaginationFirstProps = React.ComponentProps<'button'> & {
|
|
@@ -147,7 +147,7 @@ declare const PaginationFirst: {
|
|
|
147
147
|
size,
|
|
148
148
|
children,
|
|
149
149
|
...props
|
|
150
|
-
}: PaginationFirstProps):
|
|
150
|
+
}: PaginationFirstProps): react_jsx_runtime245.JSX.Element;
|
|
151
151
|
displayName: string;
|
|
152
152
|
};
|
|
153
153
|
type PaginationLastProps = React.ComponentProps<'button'> & {
|
|
@@ -164,7 +164,7 @@ declare const PaginationLast: {
|
|
|
164
164
|
size,
|
|
165
165
|
children,
|
|
166
166
|
...props
|
|
167
|
-
}: PaginationLastProps):
|
|
167
|
+
}: PaginationLastProps): react_jsx_runtime245.JSX.Element;
|
|
168
168
|
displayName: string;
|
|
169
169
|
};
|
|
170
170
|
type PaginationEllipsisProps = React.ComponentProps<'span'> & {
|
|
@@ -176,7 +176,7 @@ declare const PaginationEllipsis: {
|
|
|
176
176
|
className,
|
|
177
177
|
size,
|
|
178
178
|
...props
|
|
179
|
-
}: PaginationEllipsisProps):
|
|
179
|
+
}: PaginationEllipsisProps): react_jsx_runtime245.JSX.Element;
|
|
180
180
|
displayName: string;
|
|
181
181
|
};
|
|
182
182
|
//#endregion
|