@brijbyte/agentic-ui 0.0.1-beta → 0.0.1
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/README.md +736 -0
- package/dist/accordion/accordion.css +89 -0
- package/dist/accordion/accordion.d.ts +28 -0
- package/dist/accordion/accordion.d.ts.map +1 -0
- package/dist/accordion/accordion.js +51 -0
- package/dist/accordion/accordion.js.map +1 -0
- package/dist/accordion/accordion.module.css.d.ts +2 -0
- package/dist/accordion/accordion.module.js +14 -0
- package/dist/accordion/accordion.module.js.map +1 -0
- package/dist/accordion/index.d.ts +3 -0
- package/dist/accordion/index.js +4 -0
- package/dist/accordion/parts.d.ts +28 -0
- package/dist/accordion/parts.d.ts.map +1 -0
- package/dist/accordion/parts.js +55 -0
- package/dist/accordion/parts.js.map +1 -0
- package/dist/badge/badge.css +70 -0
- package/dist/badge/badge.d.ts +20 -0
- package/dist/badge/badge.d.ts.map +1 -0
- package/dist/badge/badge.js +21 -0
- package/dist/badge/badge.js.map +1 -0
- package/dist/badge/badge.module.css.d.ts +2 -0
- package/dist/badge/badge.module.js +16 -0
- package/dist/badge/badge.module.js.map +1 -0
- package/dist/badge/index.d.ts +2 -0
- package/dist/badge/index.js +3 -0
- package/dist/button/button.css +242 -0
- package/dist/button/button.d.ts +28 -0
- package/dist/button/button.d.ts.map +1 -0
- package/dist/button/button.js +34 -0
- package/dist/button/button.js.map +1 -0
- package/dist/button/button.module.css.d.ts +2 -0
- package/dist/button/button.module.js +27 -0
- package/dist/button/button.module.js.map +1 -0
- package/dist/button/index.d.ts +2 -0
- package/dist/button/index.js +3 -0
- package/dist/card/card.css +68 -0
- package/dist/card/card.d.ts +41 -0
- package/dist/card/card.d.ts.map +1 -0
- package/dist/card/card.js +50 -0
- package/dist/card/card.js.map +1 -0
- package/dist/card/card.module.css.d.ts +2 -0
- package/dist/card/card.module.js +15 -0
- package/dist/card/card.module.js.map +1 -0
- package/dist/card/index.d.ts +2 -0
- package/dist/card/index.js +3 -0
- package/dist/checkbox/checkbox.css +76 -0
- package/dist/checkbox/checkbox.d.ts +29 -0
- package/dist/checkbox/checkbox.d.ts.map +1 -0
- package/dist/checkbox/checkbox.js +40 -0
- package/dist/checkbox/checkbox.js.map +1 -0
- package/dist/checkbox/checkbox.module.css.d.ts +2 -0
- package/dist/checkbox/checkbox.module.js +11 -0
- package/dist/checkbox/checkbox.module.js.map +1 -0
- package/dist/checkbox/index.d.ts +3 -0
- package/dist/checkbox/index.js +4 -0
- package/dist/checkbox/parts.d.ts +20 -0
- package/dist/checkbox/parts.d.ts.map +1 -0
- package/dist/checkbox/parts.js +51 -0
- package/dist/checkbox/parts.js.map +1 -0
- package/dist/collapsible/collapsible.css +92 -0
- package/dist/collapsible/collapsible.d.ts +24 -0
- package/dist/collapsible/collapsible.d.ts.map +1 -0
- package/dist/collapsible/collapsible.js +44 -0
- package/dist/collapsible/collapsible.js.map +1 -0
- package/dist/collapsible/collapsible.module.css.d.ts +2 -0
- package/dist/collapsible/collapsible.module.js +12 -0
- package/dist/collapsible/collapsible.module.js.map +1 -0
- package/dist/collapsible/index.d.ts +3 -0
- package/dist/collapsible/index.js +4 -0
- package/dist/collapsible/parts.d.ts +23 -0
- package/dist/collapsible/parts.d.ts.map +1 -0
- package/dist/collapsible/parts.js +44 -0
- package/dist/collapsible/parts.js.map +1 -0
- package/dist/dialog/dialog.css +120 -0
- package/dist/dialog/dialog.d.ts +32 -0
- package/dist/dialog/dialog.d.ts.map +1 -0
- package/dist/dialog/dialog.js +54 -0
- package/dist/dialog/dialog.js.map +1 -0
- package/dist/dialog/dialog.module.css.d.ts +2 -0
- package/dist/dialog/dialog.module.js +15 -0
- package/dist/dialog/dialog.module.js.map +1 -0
- package/dist/dialog/index.d.ts +3 -0
- package/dist/dialog/index.js +4 -0
- package/dist/dialog/parts.d.ts +38 -0
- package/dist/dialog/parts.d.ts.map +1 -0
- package/dist/dialog/parts.js +75 -0
- package/dist/dialog/parts.js.map +1 -0
- package/dist/drawer/drawer.css +257 -0
- package/dist/drawer/drawer.d.ts +38 -0
- package/dist/drawer/drawer.d.ts.map +1 -0
- package/dist/drawer/drawer.js +87 -0
- package/dist/drawer/drawer.js.map +1 -0
- package/dist/drawer/drawer.module.css.d.ts +2 -0
- package/dist/drawer/drawer.module.js +20 -0
- package/dist/drawer/drawer.module.js.map +1 -0
- package/dist/drawer/index.d.ts +3 -0
- package/dist/drawer/index.js +4 -0
- package/dist/drawer/parts.d.ts +58 -0
- package/dist/drawer/parts.d.ts.map +1 -0
- package/dist/drawer/parts.js +107 -0
- package/dist/drawer/parts.js.map +1 -0
- package/dist/index.css +2424 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +53 -0
- package/dist/input/index.d.ts +2 -0
- package/dist/input/index.js +3 -0
- package/dist/input/input.css +107 -0
- package/dist/input/input.d.ts +17 -0
- package/dist/input/input.d.ts.map +1 -0
- package/dist/input/input.js +37 -0
- package/dist/input/input.js.map +1 -0
- package/dist/input/input.module.css.d.ts +2 -0
- package/dist/input/input.module.js +18 -0
- package/dist/input/input.module.js.map +1 -0
- package/dist/menu/index.d.ts +4 -0
- package/dist/menu/index.js +5 -0
- package/dist/menu/menu.css +158 -0
- package/dist/menu/menu.d.ts +50 -0
- package/dist/menu/menu.d.ts.map +1 -0
- package/dist/menu/menu.js +69 -0
- package/dist/menu/menu.js.map +1 -0
- package/dist/menu/menu.module.css.d.ts +2 -0
- package/dist/menu/menu.module.js +19 -0
- package/dist/menu/menu.module.js.map +1 -0
- package/dist/menu/menuitemshortcut.d.ts +9 -0
- package/dist/menu/menuitemshortcut.d.ts.map +1 -0
- package/dist/menu/menuitemshortcut.js +15 -0
- package/dist/menu/menuitemshortcut.js.map +1 -0
- package/dist/menu/parts.d.ts +39 -0
- package/dist/menu/parts.d.ts.map +1 -0
- package/dist/menu/parts.js +76 -0
- package/dist/menu/parts.js.map +1 -0
- package/dist/number-field/index.d.ts +3 -0
- package/dist/number-field/index.js +4 -0
- package/dist/number-field/number-field.css +115 -0
- package/dist/number-field/number-field.d.ts +31 -0
- package/dist/number-field/number-field.d.ts.map +1 -0
- package/dist/number-field/number-field.js +78 -0
- package/dist/number-field/number-field.js.map +1 -0
- package/dist/number-field/number-field.module.css.d.ts +2 -0
- package/dist/number-field/number-field.module.js +16 -0
- package/dist/number-field/number-field.module.js.map +1 -0
- package/dist/number-field/parts.d.ts +38 -0
- package/dist/number-field/parts.d.ts.map +1 -0
- package/dist/number-field/parts.js +74 -0
- package/dist/number-field/parts.js.map +1 -0
- package/dist/progress/index.d.ts +3 -0
- package/dist/progress/index.js +4 -0
- package/dist/progress/parts.d.ts +20 -0
- package/dist/progress/parts.d.ts.map +1 -0
- package/dist/progress/parts.js +42 -0
- package/dist/progress/parts.js.map +1 -0
- package/dist/progress/progress.css +75 -0
- package/dist/progress/progress.d.ts +27 -0
- package/dist/progress/progress.d.ts.map +1 -0
- package/dist/progress/progress.js +27 -0
- package/dist/progress/progress.js.map +1 -0
- package/dist/progress/progress.module.css.d.ts +2 -0
- package/dist/progress/progress.module.js +19 -0
- package/dist/progress/progress.module.js.map +1 -0
- package/dist/reset.css +91 -0
- package/dist/select/index.d.ts +3 -0
- package/dist/select/index.js +4 -0
- package/dist/select/parts.d.ts +65 -0
- package/dist/select/parts.d.ts.map +1 -0
- package/dist/select/parts.js +134 -0
- package/dist/select/parts.js.map +1 -0
- package/dist/select/select.css +159 -0
- package/dist/select/select.d.ts +38 -0
- package/dist/select/select.d.ts.map +1 -0
- package/dist/select/select.js +80 -0
- package/dist/select/select.js.map +1 -0
- package/dist/select/select.module.css.d.ts +2 -0
- package/dist/select/select.module.js +17 -0
- package/dist/select/select.module.js.map +1 -0
- package/dist/separator/index.d.ts +2 -0
- package/dist/separator/index.js +3 -0
- package/dist/separator/separator.css +20 -0
- package/dist/separator/separator.d.ts +16 -0
- package/dist/separator/separator.d.ts.map +1 -0
- package/dist/separator/separator.js +17 -0
- package/dist/separator/separator.js.map +1 -0
- package/dist/separator/separator.module.css.d.ts +2 -0
- package/dist/separator/separator.module.js +6 -0
- package/dist/separator/separator.module.js.map +1 -0
- package/dist/styles/reset.css +69 -0
- package/dist/styles/tokens.css +274 -0
- package/dist/switch/index.d.ts +3 -0
- package/dist/switch/index.js +4 -0
- package/dist/switch/parts.d.ts +18 -0
- package/dist/switch/parts.d.ts.map +1 -0
- package/dist/switch/parts.js +39 -0
- package/dist/switch/parts.js.map +1 -0
- package/dist/switch/switch.css +68 -0
- package/dist/switch/switch.d.ts +28 -0
- package/dist/switch/switch.d.ts.map +1 -0
- package/dist/switch/switch.js +26 -0
- package/dist/switch/switch.js.map +1 -0
- package/dist/switch/switch.module.css.d.ts +2 -0
- package/dist/switch/switch.module.js +11 -0
- package/dist/switch/switch.module.js.map +1 -0
- package/dist/tabs/index.d.ts +3 -0
- package/dist/tabs/index.js +4 -0
- package/dist/tabs/parts.d.ts +23 -0
- package/dist/tabs/parts.d.ts.map +1 -0
- package/dist/tabs/parts.js +48 -0
- package/dist/tabs/parts.js.map +1 -0
- package/dist/tabs/tabs.css +90 -0
- package/dist/tabs/tabs.d.ts +28 -0
- package/dist/tabs/tabs.d.ts.map +1 -0
- package/dist/tabs/tabs.js +30 -0
- package/dist/tabs/tabs.js.map +1 -0
- package/dist/tabs/tabs.module.css.d.ts +2 -0
- package/dist/tabs/tabs.module.js +11 -0
- package/dist/tabs/tabs.module.js.map +1 -0
- package/dist/tailwind-theme.css +142 -0
- package/dist/toast/index.d.ts +3 -0
- package/dist/toast/index.js +4 -0
- package/dist/toast/parts.d.ts +33 -0
- package/dist/toast/parts.d.ts.map +1 -0
- package/dist/toast/parts.js +62 -0
- package/dist/toast/parts.js.map +1 -0
- package/dist/toast/toast.css +211 -0
- package/dist/toast/toast.d.ts +43 -0
- package/dist/toast/toast.d.ts.map +1 -0
- package/dist/toast/toast.js +156 -0
- package/dist/toast/toast.js.map +1 -0
- package/dist/toast/toast.module.css.d.ts +2 -0
- package/dist/toast/toast.module.js +25 -0
- package/dist/toast/toast.module.js.map +1 -0
- package/dist/tokens.css +400 -0
- package/dist/tooltip/index.d.ts +3 -0
- package/dist/tooltip/index.js +4 -0
- package/dist/tooltip/parts.d.ts +23 -0
- package/dist/tooltip/parts.d.ts.map +1 -0
- package/dist/tooltip/parts.js +53 -0
- package/dist/tooltip/parts.js.map +1 -0
- package/dist/tooltip/tooltip.css +64 -0
- package/dist/tooltip/tooltip.d.ts +22 -0
- package/dist/tooltip/tooltip.d.ts.map +1 -0
- package/dist/tooltip/tooltip.js +23 -0
- package/dist/tooltip/tooltip.js.map +1 -0
- package/dist/tooltip/tooltip.module.css.d.ts +2 -0
- package/dist/tooltip/tooltip.module.js +10 -0
- package/dist/tooltip/tooltip.module.js.map +1 -0
- package/package.json +137 -4
- package/src/accordion/accordion.module.css +89 -0
- package/src/accordion/accordion.tsx +50 -0
- package/src/accordion/index.ts +6 -0
- package/src/accordion/parts.tsx +68 -0
- package/src/badge/badge.module.css +70 -0
- package/src/badge/badge.tsx +19 -0
- package/src/badge/index.ts +3 -0
- package/src/button/button.module.css +265 -0
- package/src/button/button.tsx +67 -0
- package/src/button/index.ts +3 -0
- package/src/card/card.module.css +67 -0
- package/src/card/card.tsx +54 -0
- package/src/card/index.ts +3 -0
- package/src/checkbox/checkbox.module.css +80 -0
- package/src/checkbox/checkbox.tsx +38 -0
- package/src/checkbox/index.ts +6 -0
- package/src/checkbox/parts.tsx +54 -0
- package/src/collapsible/collapsible.module.css +94 -0
- package/src/collapsible/collapsible.tsx +38 -0
- package/src/collapsible/index.ts +6 -0
- package/src/collapsible/parts.tsx +52 -0
- package/src/css.d.ts +8 -0
- package/src/dialog/dialog.module.css +123 -0
- package/src/dialog/dialog.tsx +60 -0
- package/src/dialog/index.ts +13 -0
- package/src/dialog/parts.tsx +96 -0
- package/src/drawer/drawer.module.css +289 -0
- package/src/drawer/drawer.tsx +96 -0
- package/src/drawer/index.ts +24 -0
- package/src/drawer/parts.tsx +122 -0
- package/src/index.ts +189 -0
- package/src/input/index.ts +3 -0
- package/src/input/input.module.css +109 -0
- package/src/input/input.tsx +39 -0
- package/src/menu/index.ts +7 -0
- package/src/menu/menu.module.css +172 -0
- package/src/menu/menu.tsx +108 -0
- package/src/menu/menuitemshortcut.tsx +9 -0
- package/src/menu/parts.tsx +90 -0
- package/src/number-field/index.ts +20 -0
- package/src/number-field/number-field.module.css +114 -0
- package/src/number-field/number-field.tsx +75 -0
- package/src/number-field/parts.tsx +91 -0
- package/src/progress/index.ts +6 -0
- package/src/progress/parts.tsx +51 -0
- package/src/progress/progress.module.css +70 -0
- package/src/progress/progress.tsx +42 -0
- package/src/select/index.ts +30 -0
- package/src/select/parts.tsx +171 -0
- package/src/select/select.module.css +167 -0
- package/src/select/select.tsx +89 -0
- package/src/separator/index.ts +3 -0
- package/src/separator/separator.module.css +18 -0
- package/src/separator/separator.tsx +20 -0
- package/src/styles/reset.css +91 -0
- package/src/styles/tailwind-theme.css +142 -0
- package/src/styles/tokens.css +400 -0
- package/src/switch/index.ts +6 -0
- package/src/switch/parts.tsx +44 -0
- package/src/switch/switch.module.css +67 -0
- package/src/switch/switch.tsx +33 -0
- package/src/tabs/index.ts +6 -0
- package/src/tabs/parts.tsx +48 -0
- package/src/tabs/tabs.module.css +92 -0
- package/src/tabs/tabs.tsx +48 -0
- package/src/toast/index.ts +6 -0
- package/src/toast/parts.tsx +76 -0
- package/src/toast/toast.module.css +252 -0
- package/src/toast/toast.tsx +129 -0
- package/src/tooltip/index.ts +6 -0
- package/src/tooltip/parts.tsx +62 -0
- package/src/tooltip/tooltip.module.css +67 -0
- package/src/tooltip/tooltip.tsx +30 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styled primitives for Menu.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```tsx
|
|
6
|
+
* import { Menu } from '@base-ui/react/menu';
|
|
7
|
+
* import {
|
|
8
|
+
* MenuPositioner, MenuPopup, MenuItem, MenuSeparator, MenuGroupLabel,
|
|
9
|
+
* } from '@brijbyte/agentic-ui/menu';
|
|
10
|
+
*
|
|
11
|
+
* <Menu.Root>
|
|
12
|
+
* <Menu.Trigger render={<button>Open</button>} />
|
|
13
|
+
* <Menu.Portal>
|
|
14
|
+
* <MenuPositioner sideOffset={4}>
|
|
15
|
+
* <MenuPopup>
|
|
16
|
+
* <MenuItem>Action</MenuItem>
|
|
17
|
+
* <MenuSeparator />
|
|
18
|
+
* <MenuItem>Another</MenuItem>
|
|
19
|
+
* </MenuPopup>
|
|
20
|
+
* </MenuPositioner>
|
|
21
|
+
* </Menu.Portal>
|
|
22
|
+
* </Menu.Root>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
import { forwardRef } from "react";
|
|
26
|
+
import type { ComponentRef, ComponentPropsWithoutRef } from "react";
|
|
27
|
+
import { Menu as BaseMenu } from "@base-ui/react/menu";
|
|
28
|
+
import styles from "./menu.module.css";
|
|
29
|
+
|
|
30
|
+
type BasePositionerProps = ComponentPropsWithoutRef<typeof BaseMenu.Positioner>;
|
|
31
|
+
type BasePopupProps = ComponentPropsWithoutRef<typeof BaseMenu.Popup>;
|
|
32
|
+
type BaseItemProps = ComponentPropsWithoutRef<typeof BaseMenu.Item>;
|
|
33
|
+
type BaseSeparatorProps = ComponentPropsWithoutRef<typeof BaseMenu.Separator>;
|
|
34
|
+
type BaseGroupLabelProps = ComponentPropsWithoutRef<typeof BaseMenu.GroupLabel>;
|
|
35
|
+
type BaseArrowProps = ComponentPropsWithoutRef<typeof BaseMenu.Arrow>;
|
|
36
|
+
|
|
37
|
+
export interface MenuPositionerProps extends Omit<BasePositionerProps, "className"> {
|
|
38
|
+
className?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface MenuPopupProps extends Omit<BasePopupProps, "className"> {
|
|
41
|
+
className?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface MenuItemProps extends Omit<BaseItemProps, "className"> {
|
|
44
|
+
className?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface MenuSeparatorProps extends Omit<BaseSeparatorProps, "className"> {
|
|
47
|
+
className?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface MenuGroupLabelProps extends Omit<BaseGroupLabelProps, "className"> {
|
|
50
|
+
className?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface MenuArrowProps extends Omit<BaseArrowProps, "className"> {
|
|
53
|
+
className?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export const MenuPositioner = forwardRef<ComponentRef<typeof BaseMenu.Positioner>, MenuPositionerProps>(function MenuPositioner(
|
|
57
|
+
{ className, ...props },
|
|
58
|
+
ref,
|
|
59
|
+
) {
|
|
60
|
+
return <BaseMenu.Positioner ref={ref} className={`${styles.positioner} ${className ?? ""}`} {...props} />;
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export const MenuPopup = forwardRef<ComponentRef<typeof BaseMenu.Popup>, MenuPopupProps>(function MenuPopup({ className, ...props }, ref) {
|
|
64
|
+
return <BaseMenu.Popup ref={ref} className={`${styles.popup} ${className ?? ""}`} {...props} />;
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
export const MenuItem = forwardRef<ComponentRef<typeof BaseMenu.Item>, MenuItemProps>(function MenuItem({ className, ...props }, ref) {
|
|
68
|
+
return <BaseMenu.Item ref={ref} className={`${styles.item} ${className ?? ""}`} {...props} />;
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export const MenuSeparator = forwardRef<ComponentRef<typeof BaseMenu.Separator>, MenuSeparatorProps>(function MenuSeparator(
|
|
72
|
+
{ className, ...props },
|
|
73
|
+
ref,
|
|
74
|
+
) {
|
|
75
|
+
return <BaseMenu.Separator ref={ref} className={`${styles.separator} ${className ?? ""}`} {...props} />;
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
export const MenuGroupLabel = forwardRef<ComponentRef<typeof BaseMenu.GroupLabel>, MenuGroupLabelProps>(function MenuGroupLabel(
|
|
79
|
+
{ className, ...props },
|
|
80
|
+
ref,
|
|
81
|
+
) {
|
|
82
|
+
return <BaseMenu.GroupLabel ref={ref} className={`${styles["group-label"]} ${className ?? ""}`} {...props} />;
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
export const MenuArrow = forwardRef<ComponentRef<typeof BaseMenu.Arrow>, MenuArrowProps>(function MenuArrow({ className, ...props }, ref) {
|
|
86
|
+
return <BaseMenu.Arrow ref={ref} className={`${styles.arrow} ${className ?? ""}`} {...props} />;
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
/** Convenience class for keyboard shortcut hints inside a MenuItem. */
|
|
90
|
+
export { MenuItemShortcut } from "./menuitemshortcut";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { NumberField } from "./number-field";
|
|
2
|
+
export type { NumberFieldProps } from "./number-field";
|
|
3
|
+
|
|
4
|
+
export {
|
|
5
|
+
NumberFieldGroup,
|
|
6
|
+
NumberFieldInput,
|
|
7
|
+
NumberFieldDecrement,
|
|
8
|
+
NumberFieldIncrement,
|
|
9
|
+
NumberFieldScrubArea,
|
|
10
|
+
NumberFieldScrubAreaCursor,
|
|
11
|
+
} from "./parts";
|
|
12
|
+
export type {
|
|
13
|
+
NumberFieldGroupProps,
|
|
14
|
+
NumberFieldInputProps,
|
|
15
|
+
NumberFieldDecrementProps,
|
|
16
|
+
NumberFieldIncrementProps,
|
|
17
|
+
NumberFieldScrubAreaProps,
|
|
18
|
+
NumberFieldScrubAreaCursorProps,
|
|
19
|
+
} from "./parts";
|
|
20
|
+
export { NumberFieldStyles } from "./number-field";
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
@layer theme, base, components, utilities;
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.root {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
gap: var(--space-1);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.scrub-area {
|
|
12
|
+
cursor: ew-resize;
|
|
13
|
+
user-select: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.scrub-area-cursor {
|
|
17
|
+
filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.label {
|
|
21
|
+
cursor: ew-resize;
|
|
22
|
+
font-family: var(--font-mono);
|
|
23
|
+
font-size: var(--font-size-xs);
|
|
24
|
+
font-weight: var(--font-weight-medium);
|
|
25
|
+
color: var(--color-text-secondary);
|
|
26
|
+
letter-spacing: var(--letter-spacing-wide);
|
|
27
|
+
text-transform: uppercase;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.group {
|
|
31
|
+
display: flex;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.input {
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
margin: 0;
|
|
37
|
+
padding: 0;
|
|
38
|
+
width: 6rem;
|
|
39
|
+
height: 2rem;
|
|
40
|
+
font-family: var(--font-mono);
|
|
41
|
+
font-size: var(--font-size-sm);
|
|
42
|
+
font-weight: normal;
|
|
43
|
+
text-align: center;
|
|
44
|
+
font-variant-numeric: tabular-nums;
|
|
45
|
+
color: var(--color-text-primary);
|
|
46
|
+
background-color: var(--color-bg-elevated);
|
|
47
|
+
border-top: var(--border-width-base) solid var(--color-border-base);
|
|
48
|
+
border-bottom: var(--border-width-base) solid var(--color-border-base);
|
|
49
|
+
border-left: none;
|
|
50
|
+
border-right: none;
|
|
51
|
+
border-radius: 0;
|
|
52
|
+
outline: none;
|
|
53
|
+
transition: box-shadow var(--duration-fast) var(--easing-standard);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.input:focus {
|
|
57
|
+
z-index: 1;
|
|
58
|
+
box-shadow: inset var(--shadow-focus);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.input[data-disabled] {
|
|
62
|
+
opacity: 0.44;
|
|
63
|
+
cursor: not-allowed;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.step-button {
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
width: 2rem;
|
|
72
|
+
height: 2rem;
|
|
73
|
+
margin: 0;
|
|
74
|
+
padding: 0;
|
|
75
|
+
border: var(--border-width-base) solid var(--color-border-base);
|
|
76
|
+
background-color: var(--color-surface-1);
|
|
77
|
+
color: var(--color-text-secondary);
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
outline: none;
|
|
80
|
+
user-select: none;
|
|
81
|
+
transition:
|
|
82
|
+
background-color var(--duration-fast) var(--easing-standard),
|
|
83
|
+
color var(--duration-fast) var(--easing-standard),
|
|
84
|
+
transform 100ms var(--easing-ease-out);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.step-button:hover {
|
|
88
|
+
background-color: var(--color-surface-hover);
|
|
89
|
+
color: var(--color-text-primary);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.step-button:active:not([data-disabled]) {
|
|
93
|
+
background-color: var(--color-surface-active);
|
|
94
|
+
transform: scale(0.93);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.step-button:focus-visible {
|
|
98
|
+
z-index: 1;
|
|
99
|
+
box-shadow: inset var(--shadow-focus);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.step-button[data-disabled] {
|
|
103
|
+
opacity: 0.44;
|
|
104
|
+
cursor: not-allowed;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.decrement {
|
|
108
|
+
border-radius: var(--radius-md) 0 0 var(--radius-md);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.increment {
|
|
112
|
+
border-radius: 0 var(--radius-md) var(--radius-md) 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { useId } from "react";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
import { NumberField as BaseNumberField } from "@base-ui/react/number-field";
|
|
4
|
+
import styles from "./number-field.module.css";
|
|
5
|
+
|
|
6
|
+
export interface NumberFieldProps {
|
|
7
|
+
/** Visible label text. When present a scrub-area is also rendered. */
|
|
8
|
+
label?: ReactNode;
|
|
9
|
+
defaultValue?: number;
|
|
10
|
+
value?: number | null;
|
|
11
|
+
onValueChange?: (value: number | null) => void;
|
|
12
|
+
min?: number;
|
|
13
|
+
max?: number;
|
|
14
|
+
step?: number;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
name?: string;
|
|
19
|
+
format?: Intl.NumberFormatOptions;
|
|
20
|
+
allowWheelScrub?: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function MinusIcon() {
|
|
25
|
+
return (
|
|
26
|
+
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" stroke="currentColor" strokeWidth="1.6" aria-hidden>
|
|
27
|
+
<path d="M0 5H10" />
|
|
28
|
+
</svg>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function PlusIcon() {
|
|
33
|
+
return (
|
|
34
|
+
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" stroke="currentColor" strokeWidth="1.6" aria-hidden>
|
|
35
|
+
<path d="M0 5H5M10 5H5M5 5V0M5 5V10" />
|
|
36
|
+
</svg>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function ScrubCursorIcon() {
|
|
41
|
+
return (
|
|
42
|
+
<svg width="24" height="12" viewBox="0 0 24 14" fill="currentColor" stroke="white" strokeWidth="0.5" aria-hidden>
|
|
43
|
+
<path d="M19.5 5.5L6.49737 5.51844V2L1 6.9999L6.5 12L6.49737 8.5L19.5 8.5V12L25 6.9999L19.5 2V5.5Z" />
|
|
44
|
+
</svg>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function NumberField({ label, className, onValueChange, ...props }: NumberFieldProps) {
|
|
49
|
+
const id = useId();
|
|
50
|
+
|
|
51
|
+
return (
|
|
52
|
+
<BaseNumberField.Root id={id} className={`${styles.root} ${className ?? ""}`} onValueChange={onValueChange as never} {...props}>
|
|
53
|
+
{label && (
|
|
54
|
+
<BaseNumberField.ScrubArea className={styles["scrub-area"]}>
|
|
55
|
+
<label htmlFor={id} className={styles.label}>
|
|
56
|
+
{label}
|
|
57
|
+
</label>
|
|
58
|
+
<BaseNumberField.ScrubAreaCursor className={styles["scrub-area-cursor"]}>
|
|
59
|
+
<ScrubCursorIcon />
|
|
60
|
+
</BaseNumberField.ScrubAreaCursor>
|
|
61
|
+
</BaseNumberField.ScrubArea>
|
|
62
|
+
)}
|
|
63
|
+
<BaseNumberField.Group className={styles.group}>
|
|
64
|
+
<BaseNumberField.Decrement className={`${styles["step-button"]} ${styles.decrement}`}>
|
|
65
|
+
<MinusIcon />
|
|
66
|
+
</BaseNumberField.Decrement>
|
|
67
|
+
<BaseNumberField.Input className={styles.input} />
|
|
68
|
+
<BaseNumberField.Increment className={`${styles["step-button"]} ${styles.increment}`}>
|
|
69
|
+
<PlusIcon />
|
|
70
|
+
</BaseNumberField.Increment>
|
|
71
|
+
</BaseNumberField.Group>
|
|
72
|
+
</BaseNumberField.Root>
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
export { styles as NumberFieldStyles };
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styled primitives for NumberField.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```tsx
|
|
6
|
+
* import { NumberField } from '@base-ui/react/number-field';
|
|
7
|
+
* import {
|
|
8
|
+
* NumberFieldGroup,
|
|
9
|
+
* NumberFieldInput,
|
|
10
|
+
* NumberFieldDecrement,
|
|
11
|
+
* NumberFieldIncrement,
|
|
12
|
+
* } from '@brijbyte/agentic-ui/number-field';
|
|
13
|
+
*
|
|
14
|
+
* <NumberField.Root>
|
|
15
|
+
* <NumberField.ScrubArea>...</NumberField.ScrubArea>
|
|
16
|
+
* <NumberFieldGroup>
|
|
17
|
+
* <NumberFieldDecrement />
|
|
18
|
+
* <NumberFieldInput />
|
|
19
|
+
* <NumberFieldIncrement />
|
|
20
|
+
* </NumberFieldGroup>
|
|
21
|
+
* </NumberField.Root>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
import { forwardRef } from "react";
|
|
25
|
+
import type { ComponentRef, ComponentPropsWithoutRef } from "react";
|
|
26
|
+
import { NumberField as BaseNumberField } from "@base-ui/react/number-field";
|
|
27
|
+
import styles from "./number-field.module.css";
|
|
28
|
+
|
|
29
|
+
type BaseGroupProps = ComponentPropsWithoutRef<typeof BaseNumberField.Group>;
|
|
30
|
+
type BaseInputProps = ComponentPropsWithoutRef<typeof BaseNumberField.Input>;
|
|
31
|
+
type BaseDecrementProps = ComponentPropsWithoutRef<typeof BaseNumberField.Decrement>;
|
|
32
|
+
type BaseIncrementProps = ComponentPropsWithoutRef<typeof BaseNumberField.Increment>;
|
|
33
|
+
type BaseScrubAreaProps = ComponentPropsWithoutRef<typeof BaseNumberField.ScrubArea>;
|
|
34
|
+
type BaseScrubAreaCursorProps = ComponentPropsWithoutRef<typeof BaseNumberField.ScrubAreaCursor>;
|
|
35
|
+
|
|
36
|
+
export interface NumberFieldGroupProps extends Omit<BaseGroupProps, "className"> {
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface NumberFieldInputProps extends Omit<BaseInputProps, "className"> {
|
|
40
|
+
className?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface NumberFieldDecrementProps extends Omit<BaseDecrementProps, "className"> {
|
|
43
|
+
className?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface NumberFieldIncrementProps extends Omit<BaseIncrementProps, "className"> {
|
|
46
|
+
className?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface NumberFieldScrubAreaProps extends Omit<BaseScrubAreaProps, "className"> {
|
|
49
|
+
className?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface NumberFieldScrubAreaCursorProps extends Omit<BaseScrubAreaCursorProps, "className"> {
|
|
52
|
+
className?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const NumberFieldGroup = forwardRef<ComponentRef<typeof BaseNumberField.Group>, NumberFieldGroupProps>(function NumberFieldGroup(
|
|
56
|
+
{ className, ...props },
|
|
57
|
+
ref,
|
|
58
|
+
) {
|
|
59
|
+
return <BaseNumberField.Group ref={ref} className={`${styles.group} ${className ?? ""}`} {...props} />;
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export const NumberFieldInput = forwardRef<ComponentRef<typeof BaseNumberField.Input>, NumberFieldInputProps>(function NumberFieldInput(
|
|
63
|
+
{ className, ...props },
|
|
64
|
+
ref,
|
|
65
|
+
) {
|
|
66
|
+
return <BaseNumberField.Input ref={ref} className={`${styles.input} ${className ?? ""}`} {...props} />;
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export const NumberFieldDecrement = forwardRef<ComponentRef<typeof BaseNumberField.Decrement>, NumberFieldDecrementProps>(
|
|
70
|
+
function NumberFieldDecrement({ className, ...props }, ref) {
|
|
71
|
+
return <BaseNumberField.Decrement ref={ref} className={`${styles["step-button"]} ${styles.decrement} ${className ?? ""}`} {...props} />;
|
|
72
|
+
},
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
export const NumberFieldIncrement = forwardRef<ComponentRef<typeof BaseNumberField.Increment>, NumberFieldIncrementProps>(
|
|
76
|
+
function NumberFieldIncrement({ className, ...props }, ref) {
|
|
77
|
+
return <BaseNumberField.Increment ref={ref} className={`${styles["step-button"]} ${styles.increment} ${className ?? ""}`} {...props} />;
|
|
78
|
+
},
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
export const NumberFieldScrubArea = forwardRef<ComponentRef<typeof BaseNumberField.ScrubArea>, NumberFieldScrubAreaProps>(
|
|
82
|
+
function NumberFieldScrubArea({ className, ...props }, ref) {
|
|
83
|
+
return <BaseNumberField.ScrubArea ref={ref} className={`${styles["scrub-area"]} ${className ?? ""}`} {...props} />;
|
|
84
|
+
},
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
export const NumberFieldScrubAreaCursor = forwardRef<ComponentRef<typeof BaseNumberField.ScrubAreaCursor>, NumberFieldScrubAreaCursorProps>(
|
|
88
|
+
function NumberFieldScrubAreaCursor({ className, ...props }, ref) {
|
|
89
|
+
return <BaseNumberField.ScrubAreaCursor ref={ref} className={`${styles["scrub-area-cursor"]} ${className ?? ""}`} {...props} />;
|
|
90
|
+
},
|
|
91
|
+
);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Progress } from "./progress";
|
|
2
|
+
export type { ProgressProps, ProgressStatus, ProgressSize } from "./progress";
|
|
3
|
+
|
|
4
|
+
export { ProgressTrack, ProgressIndicator } from "./parts";
|
|
5
|
+
export type { ProgressTrackProps, ProgressIndicatorProps } from "./parts";
|
|
6
|
+
export { ProgressStyles } from "./progress";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styled primitives for Progress.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```tsx
|
|
6
|
+
* import { Progress } from '@base-ui/react/progress';
|
|
7
|
+
* import { ProgressTrack, ProgressIndicator } from '@brijbyte/agentic-ui/progress';
|
|
8
|
+
*
|
|
9
|
+
* <Progress.Root value={60} max={100}>
|
|
10
|
+
* <ProgressTrack>
|
|
11
|
+
* <ProgressIndicator />
|
|
12
|
+
* </ProgressTrack>
|
|
13
|
+
* </Progress.Root>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
import { forwardRef } from "react";
|
|
17
|
+
import type { ComponentRef, ComponentPropsWithoutRef } from "react";
|
|
18
|
+
import { Progress as BaseProgress } from "@base-ui/react/progress";
|
|
19
|
+
import styles from "./progress.module.css";
|
|
20
|
+
|
|
21
|
+
type BaseTrackProps = ComponentPropsWithoutRef<typeof BaseProgress.Track>;
|
|
22
|
+
type BaseIndicatorProps = ComponentPropsWithoutRef<typeof BaseProgress.Indicator>;
|
|
23
|
+
|
|
24
|
+
export interface ProgressTrackProps extends Omit<BaseTrackProps, "className"> {
|
|
25
|
+
className?: string;
|
|
26
|
+
size?: "sm" | "md" | "lg";
|
|
27
|
+
}
|
|
28
|
+
export interface ProgressIndicatorProps extends Omit<BaseIndicatorProps, "className"> {
|
|
29
|
+
className?: string;
|
|
30
|
+
status?: "default" | "success" | "warning" | "error";
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export const ProgressTrack = forwardRef<ComponentRef<typeof BaseProgress.Track>, ProgressTrackProps>(function ProgressTrack(
|
|
34
|
+
{ className, size = "md", ...props },
|
|
35
|
+
ref,
|
|
36
|
+
) {
|
|
37
|
+
return <BaseProgress.Track ref={ref} className={`${styles.track} ${styles[`track-${size}`]} ${className ?? ""}`} {...props} />;
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
export const ProgressIndicator = forwardRef<ComponentRef<typeof BaseProgress.Indicator>, ProgressIndicatorProps>(function ProgressIndicator(
|
|
41
|
+
{ className, status = "default", ...props },
|
|
42
|
+
ref,
|
|
43
|
+
) {
|
|
44
|
+
return (
|
|
45
|
+
<BaseProgress.Indicator
|
|
46
|
+
ref={ref}
|
|
47
|
+
className={[styles.indicator, status !== "default" ? styles[`indicator-${status}`] : "", className ?? ""].filter(Boolean).join(" ")}
|
|
48
|
+
{...props}
|
|
49
|
+
/>
|
|
50
|
+
);
|
|
51
|
+
});
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@layer theme, base, components, utilities;
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.root {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: var(--space-1-5);
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.label-row {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
font-family: var(--font-mono);
|
|
16
|
+
font-size: var(--font-size-xs);
|
|
17
|
+
color: var(--color-text-secondary);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.track {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 6px;
|
|
23
|
+
background-color: var(--color-surface-3);
|
|
24
|
+
border-radius: var(--radius-full);
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.track-sm {
|
|
29
|
+
height: 4px;
|
|
30
|
+
}
|
|
31
|
+
.track-md {
|
|
32
|
+
height: 6px;
|
|
33
|
+
}
|
|
34
|
+
.track-lg {
|
|
35
|
+
height: 8px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.indicator {
|
|
39
|
+
height: 100%;
|
|
40
|
+
border-radius: var(--radius-full);
|
|
41
|
+
background-color: var(--color-accent);
|
|
42
|
+
transition: width var(--duration-slower) var(--easing-standard);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.indicator-success {
|
|
46
|
+
background-color: var(--color-success-solid);
|
|
47
|
+
}
|
|
48
|
+
.indicator-warning {
|
|
49
|
+
background-color: var(--color-warning-solid);
|
|
50
|
+
}
|
|
51
|
+
.indicator-error {
|
|
52
|
+
background-color: var(--color-error-solid);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Indeterminate */
|
|
56
|
+
@keyframes progress-indeterminate {
|
|
57
|
+
0% {
|
|
58
|
+
transform: translateX(-100%);
|
|
59
|
+
}
|
|
60
|
+
100% {
|
|
61
|
+
transform: translateX(400%);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.indicator[data-value="null"],
|
|
66
|
+
.indicator-indeterminate {
|
|
67
|
+
width: 30% !important;
|
|
68
|
+
animation: progress-indeterminate 1.4s linear infinite;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Progress as BaseProgress } from "@base-ui/react/progress";
|
|
2
|
+
import styles from "./progress.module.css";
|
|
3
|
+
|
|
4
|
+
export type ProgressStatus = "default" | "success" | "warning" | "error";
|
|
5
|
+
export type ProgressSize = "sm" | "md" | "lg";
|
|
6
|
+
|
|
7
|
+
export interface ProgressProps {
|
|
8
|
+
value?: number | null;
|
|
9
|
+
max?: number;
|
|
10
|
+
label?: string;
|
|
11
|
+
showValue?: boolean;
|
|
12
|
+
status?: ProgressStatus;
|
|
13
|
+
size?: ProgressSize;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function Progress({ value = null, max = 100, label, showValue = false, status = "default", size = "md", className }: ProgressProps) {
|
|
18
|
+
const percentage = value != null ? Math.round((value / max) * 100) : null;
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<BaseProgress.Root className={`${styles.root} ${className ?? ""}`} value={value} max={max}>
|
|
22
|
+
{(label ?? showValue) && (
|
|
23
|
+
<div className={styles["label-row"]}>
|
|
24
|
+
{label && <span>{label}</span>}
|
|
25
|
+
{showValue && percentage != null && <span>{percentage}%</span>}
|
|
26
|
+
</div>
|
|
27
|
+
)}
|
|
28
|
+
<BaseProgress.Track className={`${styles.track} ${styles[`track-${size}`]}`}>
|
|
29
|
+
<BaseProgress.Indicator
|
|
30
|
+
className={[
|
|
31
|
+
styles.indicator,
|
|
32
|
+
status !== "default" ? styles[`indicator-${status}`] : "",
|
|
33
|
+
value == null ? styles["indicator-indeterminate"] : "",
|
|
34
|
+
]
|
|
35
|
+
.filter(Boolean)
|
|
36
|
+
.join(" ")}
|
|
37
|
+
/>
|
|
38
|
+
</BaseProgress.Track>
|
|
39
|
+
</BaseProgress.Root>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export { styles as ProgressStyles };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export { Select } from "./select";
|
|
2
|
+
export type { SelectProps, SelectOption, SelectGroup } from "./select";
|
|
3
|
+
|
|
4
|
+
export {
|
|
5
|
+
SelectTrigger,
|
|
6
|
+
SelectValue,
|
|
7
|
+
SelectPositioner,
|
|
8
|
+
SelectPopup,
|
|
9
|
+
SelectList,
|
|
10
|
+
SelectItem,
|
|
11
|
+
SelectItemText,
|
|
12
|
+
SelectItemIndicator,
|
|
13
|
+
SelectGroup as SelectGroupContainer,
|
|
14
|
+
SelectGroupLabel,
|
|
15
|
+
SelectSeparator,
|
|
16
|
+
} from "./parts";
|
|
17
|
+
export type {
|
|
18
|
+
SelectTriggerProps,
|
|
19
|
+
SelectValueProps,
|
|
20
|
+
SelectPositionerProps,
|
|
21
|
+
SelectPopupProps,
|
|
22
|
+
SelectListProps,
|
|
23
|
+
SelectItemProps,
|
|
24
|
+
SelectItemTextProps,
|
|
25
|
+
SelectItemIndicatorProps,
|
|
26
|
+
SelectGroupProps,
|
|
27
|
+
SelectGroupLabelProps,
|
|
28
|
+
SelectSeparatorProps,
|
|
29
|
+
} from "./parts";
|
|
30
|
+
export { SelectStyles } from "./select";
|