@brijbyte/agentic-ui 0.0.2 → 0.0.3
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/accordion.d.ts +1 -1
- package/dist/accordion/accordion.js +1 -1
- package/dist/accordion/parts.d.ts +1 -1
- package/dist/accordion/parts.js +2 -2
- package/dist/alert-dialog/alert-dialog.d.ts +1 -1
- package/dist/alert-dialog/alert-dialog.js +1 -1
- package/dist/alert-dialog/parts.d.ts +1 -1
- package/dist/alert-dialog/parts.js +2 -2
- package/dist/badge/badge.d.ts +1 -1
- package/dist/button/button.css +22 -8
- package/dist/button/button.d.ts +7 -7
- package/dist/button/button.js +1 -1
- package/dist/button/button.js.map +1 -1
- package/dist/button/button.module.js.map +1 -1
- package/dist/card/card.d.ts +1 -1
- package/dist/checkbox/checkbox.d.ts +1 -1
- package/dist/checkbox/checkbox.js +1 -1
- package/dist/checkbox/parts.js +1 -1
- package/dist/collapsible/collapsible.d.ts +1 -1
- package/dist/collapsible/parts.js +1 -1
- package/dist/context-menu/context-menu.d.ts +1 -1
- package/dist/context-menu/parts.js +1 -1
- package/dist/dialog/dialog.d.ts +1 -1
- package/dist/dialog/parts.js +1 -1
- package/dist/drawer/drawer.d.ts +1 -1
- package/dist/drawer/parts.d.ts +1 -1
- package/dist/drawer/parts.js +1 -1
- package/dist/index.css +1290 -1263
- package/dist/index.d.ts +18 -18
- package/dist/index.js +37 -37
- package/dist/input/input.js +1 -1
- package/dist/menu/menu.d.ts +1 -1
- package/dist/menu/menuitemshortcut.js +1 -1
- package/dist/menu/parts.js +1 -1
- package/dist/number-field/number-field.d.ts +1 -1
- package/dist/number-field/number-field.js +1 -1
- package/dist/number-field/parts.js +1 -1
- package/dist/progress/parts.js +1 -1
- package/dist/select/parts.js +1 -1
- package/dist/select/select.d.ts +1 -1
- package/dist/select/select.js +1 -1
- package/dist/separator/separator.js +1 -1
- package/dist/slider/parts.js +1 -1
- package/dist/slider/slider.d.ts +1 -1
- package/dist/styles/tokens.css +21 -8
- package/dist/switch/parts.js +1 -1
- package/dist/switch/switch.d.ts +1 -1
- package/dist/switch/switch.js +1 -1
- package/dist/tabs/parts.js +1 -1
- package/dist/tabs/tabs.d.ts +1 -1
- package/dist/toast/parts.js +1 -1
- package/dist/toast/toast.d.ts +1 -1
- package/dist/tokens.css +23 -11
- package/dist/tooltip/parts.js +1 -1
- package/dist/tooltip/tooltip.d.ts +1 -1
- package/package.json +2 -1
- package/src/button/button.module.css +29 -13
- package/src/button/button.tsx +7 -7
- package/src/index.ts +21 -233
- package/src/styles/tokens.css +23 -11
package/dist/index.d.ts
CHANGED
|
@@ -3,37 +3,37 @@ import { AccordionHeader, AccordionHeaderProps, AccordionItem as AccordionItem$1
|
|
|
3
3
|
import { AlertAction, AlertDialog, AlertDialogProps, styles as styles$1 } from "./alert-dialog/alert-dialog.js";
|
|
4
4
|
import { AlertDialogBackdrop, AlertDialogBackdropProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogPopup, AlertDialogPopupProps, AlertDialogTitle, AlertDialogTitleProps } from "./alert-dialog/parts.js";
|
|
5
5
|
import { Badge, BadgeProps, BadgeVariant, styles as styles$2 } from "./badge/badge.js";
|
|
6
|
-
import { Button, ButtonProps, ButtonSize, ButtonVariant, styles as styles$3 } from "./button/button.js";
|
|
6
|
+
import { Button, ButtonProps, ButtonSize, ButtonTone, ButtonVariant, styles as styles$3 } from "./button/button.js";
|
|
7
7
|
import { Card, CardBody, CardFooter, CardHeader, CardHeaderProps, CardProps, styles as styles$4 } from "./card/card.js";
|
|
8
8
|
import { Checkbox, CheckboxProps, styles as styles$5 } from "./checkbox/checkbox.js";
|
|
9
9
|
import { CheckboxIndicator, CheckboxIndicatorProps, CheckboxRoot, CheckboxRootProps } from "./checkbox/parts.js";
|
|
10
10
|
import { Collapsible, CollapsibleProps, styles as styles$6 } from "./collapsible/collapsible.js";
|
|
11
11
|
import { CollapsiblePanel, CollapsiblePanelProps, CollapsibleRoot, CollapsibleRootProps, CollapsibleTrigger, CollapsibleTriggerProps } from "./collapsible/parts.js";
|
|
12
12
|
import { ContextMenu, ContextMenuEntry, ContextMenuGroupDef, ContextMenuItemDef, ContextMenuProps, ContextMenuSeparatorDef, styles as styles$7 } from "./context-menu/context-menu.js";
|
|
13
|
-
import { ContextMenuGroup, ContextMenuGroupLabel, ContextMenuGroupLabelProps, ContextMenuGroupProps, ContextMenuItem, ContextMenuItemProps, ContextMenuPopup, ContextMenuPopupProps, ContextMenuSeparator, ContextMenuSeparatorProps } from "./context-menu/parts.js";
|
|
13
|
+
import { ContextMenuGroup, ContextMenuGroupLabel, ContextMenuGroupLabelProps, ContextMenuGroupProps, ContextMenuItem, ContextMenuItemProps, ContextMenuPopup, ContextMenuPopupProps, ContextMenuSeparator, ContextMenuSeparatorProps, ContextMenuSubmenuTrigger, ContextMenuSubmenuTriggerProps } from "./context-menu/parts.js";
|
|
14
14
|
import { Dialog, DialogProps, styles as styles$8 } from "./dialog/dialog.js";
|
|
15
15
|
import { DialogBackdrop, DialogBackdropProps, DialogClose, DialogCloseProps, DialogDescription, DialogDescriptionProps, DialogPopup, DialogPopupProps, DialogTitle, DialogTitleProps, DialogViewport, DialogViewportProps } from "./dialog/parts.js";
|
|
16
16
|
import { Drawer, DrawerProps, DrawerSide, styles as styles$9 } from "./drawer/drawer.js";
|
|
17
17
|
import { DrawerBackdrop, DrawerBackdropProps, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerHandleBar, DrawerPopup, DrawerPopupProps, DrawerTitle, DrawerTitleProps, DrawerViewport, DrawerViewportProps } from "./drawer/parts.js";
|
|
18
18
|
import { Input, InputProps, InputSize, styles as styles$10 } from "./input/input.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { TooltipArrow, TooltipArrowProps, TooltipPopup, TooltipPopupProps, TooltipPositioner, TooltipPositionerProps } from "./tooltip/parts.js";
|
|
25
|
-
import { TabItem, Tabs, TabsProps, styles as styles$18 } from "./tabs/tabs.js";
|
|
26
|
-
import { TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsTab, TabsTabProps } from "./tabs/parts.js";
|
|
19
|
+
import { Menu, MenuEntry, MenuGroupDef, MenuItemDef, MenuProps, MenuSeparatorDef, styles as styles$11 } from "./menu/menu.js";
|
|
20
|
+
import { MenuItemShortcut, MenuItemShortcutProps } from "./menu/menuitemshortcut.js";
|
|
21
|
+
import { MenuArrow, MenuArrowProps, MenuGroupLabel, MenuGroupLabelProps, MenuItem, MenuItemProps, MenuPopup, MenuPopupProps, MenuPositioner, MenuPositionerProps, MenuSeparator, MenuSeparatorProps } from "./menu/parts.js";
|
|
22
|
+
import { NumberField, NumberFieldProps, styles as styles$12 } from "./number-field/number-field.js";
|
|
23
|
+
import { NumberFieldDecrement, NumberFieldDecrementProps, NumberFieldGroup, NumberFieldGroupProps, NumberFieldIncrement, NumberFieldIncrementProps, NumberFieldInput, NumberFieldInputProps, NumberFieldScrubArea, NumberFieldScrubAreaCursor, NumberFieldScrubAreaCursorProps, NumberFieldScrubAreaProps } from "./number-field/parts.js";
|
|
27
24
|
import { Progress, ProgressProps, ProgressSize, ProgressStatus, styles as styles$13 } from "./progress/progress.js";
|
|
28
25
|
import { ProgressIndicator, ProgressIndicatorProps, ProgressTrack, ProgressTrackProps } from "./progress/parts.js";
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
26
|
+
import { Select, SelectGroup, SelectOption, SelectProps, styles as styles$14 } from "./select/select.js";
|
|
27
|
+
import { SelectGroup as SelectGroup$1, SelectGroupLabel, SelectGroupLabelProps, SelectGroupProps, SelectItem, SelectItemIndicator, SelectItemIndicatorProps, SelectItemProps, SelectItemText, SelectItemTextProps, SelectList, SelectListProps, SelectPopup, SelectPopupProps, SelectPositioner, SelectPositionerProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps } from "./select/parts.js";
|
|
31
28
|
import { Separator, SeparatorProps, styles as styles$15 } from "./separator/separator.js";
|
|
32
29
|
import { Slider, SliderProps, styles as styles$16 } from "./slider/slider.js";
|
|
33
30
|
import { SliderControl, SliderControlProps, SliderIndicator, SliderIndicatorProps, SliderLabel, SliderLabelProps, SliderThumb, SliderThumbProps, SliderTrack, SliderTrackProps, SliderValue, SliderValueProps } from "./slider/parts.js";
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
|
|
31
|
+
import { Switch, SwitchProps, styles as styles$17 } from "./switch/switch.js";
|
|
32
|
+
import { SwitchRoot, SwitchRootProps, SwitchThumb, SwitchThumbProps } from "./switch/parts.js";
|
|
33
|
+
import { TabItem, Tabs, TabsProps, styles as styles$18 } from "./tabs/tabs.js";
|
|
34
|
+
import { TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsTab, TabsTabProps } from "./tabs/parts.js";
|
|
35
|
+
import { ToastProvider, ToastProviderProps, ToastType, ToastViewport, ToastViewportProps, styles as styles$19, useToastManager } from "./toast/toast.js";
|
|
36
|
+
import { ToastClose, ToastCloseProps, ToastDescription, ToastDescriptionProps, ToastRoot, ToastRootProps, ToastTitle, ToastTitleProps, ToastViewportPart, ToastViewportPartProps } from "./toast/parts.js";
|
|
37
|
+
import { Tooltip, TooltipProps, styles as styles$20 } from "./tooltip/tooltip.js";
|
|
38
|
+
import { TooltipArrow, TooltipArrowProps, TooltipPopup, TooltipPopupProps, TooltipPositioner, TooltipPositionerProps } from "./tooltip/parts.js";
|
|
39
|
+
export { Accordion, AccordionHeader, AccordionHeaderProps, AccordionItem, AccordionItem$1 as AccordionItemPart, AccordionItemProps, AccordionPanel, AccordionPanelProps, AccordionProps, styles as AccordionStyles, AccordionTrigger, AccordionTriggerProps, AlertAction, AlertDialog, AlertDialogBackdrop, AlertDialogBackdropProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogPopup, AlertDialogPopupProps, AlertDialogProps, styles$1 as AlertDialogStyles, AlertDialogTitle, AlertDialogTitleProps, Badge, BadgeProps, styles$2 as BadgeStyles, BadgeVariant, Button, ButtonProps, ButtonSize, styles$3 as ButtonStyles, ButtonTone, ButtonVariant, Card, CardBody, CardFooter, CardHeader, CardHeaderProps, CardProps, styles$4 as CardStyles, Checkbox, CheckboxIndicator, CheckboxIndicatorProps, CheckboxProps, CheckboxRoot, CheckboxRootProps, styles$5 as CheckboxStyles, Collapsible, CollapsiblePanel, CollapsiblePanelProps, CollapsibleProps, CollapsibleRoot, CollapsibleRootProps, styles$6 as CollapsibleStyles, CollapsibleTrigger, CollapsibleTriggerProps, ContextMenu, ContextMenuEntry, ContextMenuGroup, ContextMenuGroupDef, ContextMenuGroupLabel, ContextMenuGroupLabelProps, ContextMenuGroupProps, ContextMenuItem, ContextMenuItemDef, ContextMenuItemProps, ContextMenuPopup, ContextMenuPopupProps, ContextMenuProps, ContextMenuSeparator, ContextMenuSeparatorDef, ContextMenuSeparatorProps, styles$7 as ContextMenuStyles, ContextMenuSubmenuTrigger, ContextMenuSubmenuTriggerProps, Dialog, DialogBackdrop, DialogBackdropProps, DialogClose, DialogCloseProps, DialogDescription, DialogDescriptionProps, DialogPopup, DialogPopupProps, DialogProps, styles$8 as DialogStyles, DialogTitle, DialogTitleProps, DialogViewport, DialogViewportProps, Drawer, DrawerBackdrop, DrawerBackdropProps, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerHandleBar, DrawerPopup, DrawerPopupProps, DrawerProps, DrawerSide, styles$9 as DrawerStyles, DrawerTitle, DrawerTitleProps, DrawerViewport, DrawerViewportProps, Input, InputProps, InputSize, styles$10 as InputStyles, Menu, MenuArrow, MenuArrowProps, MenuEntry, MenuGroupDef, MenuGroupLabel, MenuGroupLabelProps, MenuItem, MenuItemDef, MenuItemProps, MenuItemShortcut, MenuItemShortcutProps, MenuPopup, MenuPopupProps, MenuPositioner, MenuPositionerProps, MenuProps, MenuSeparator, MenuSeparatorDef, MenuSeparatorProps, styles$11 as MenuStyles, NumberField, NumberFieldDecrement, NumberFieldDecrementProps, NumberFieldGroup, NumberFieldGroupProps, NumberFieldIncrement, NumberFieldIncrementProps, NumberFieldInput, NumberFieldInputProps, NumberFieldProps, NumberFieldScrubArea, NumberFieldScrubAreaCursor, NumberFieldScrubAreaCursorProps, NumberFieldScrubAreaProps, styles$12 as NumberFieldStyles, Progress, ProgressIndicator, ProgressIndicatorProps, ProgressProps, ProgressSize, ProgressStatus, styles$13 as ProgressStyles, ProgressTrack, ProgressTrackProps, Select, SelectGroup, SelectGroup$1 as SelectGroupContainer, SelectGroupLabel, SelectGroupLabelProps, SelectGroupProps, SelectItem, SelectItemIndicator, SelectItemIndicatorProps, SelectItemProps, SelectItemText, SelectItemTextProps, SelectList, SelectListProps, SelectOption, SelectPopup, SelectPopupProps, SelectPositioner, SelectPositionerProps, SelectProps, SelectSeparator, SelectSeparatorProps, styles$14 as SelectStyles, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, Separator, SeparatorProps, styles$15 as SeparatorStyles, Slider, SliderControl, SliderControlProps, SliderIndicator, SliderIndicatorProps, SliderLabel, SliderLabelProps, SliderProps, styles$16 as SliderStyles, SliderThumb, SliderThumbProps, SliderTrack, SliderTrackProps, SliderValue, SliderValueProps, Switch, SwitchProps, SwitchRoot, SwitchRootProps, styles$17 as SwitchStyles, SwitchThumb, SwitchThumbProps, TabItem, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, styles$18 as TabsStyles, TabsTab, TabsTabProps, ToastClose, ToastCloseProps, ToastDescription, ToastDescriptionProps, ToastProvider, ToastProviderProps, ToastRoot, ToastRootProps, styles$19 as ToastStyles, ToastTitle, ToastTitleProps, ToastType, ToastViewport, ToastViewportPart, ToastViewportPartProps, ToastViewportProps, Tooltip, TooltipArrow, TooltipArrowProps, TooltipPopup, TooltipPopupProps, TooltipPositioner, TooltipPositionerProps, TooltipProps, styles$20 as TooltipStyles, useToastManager };
|
package/dist/index.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
+
import accordion_module_default from "./accordion/accordion.module.js";
|
|
4
|
+
import { Accordion } from "./accordion/accordion.js";
|
|
5
|
+
import { AccordionHeader, AccordionItem, AccordionPanel, AccordionTrigger } from "./accordion/parts.js";
|
|
3
6
|
import button_module_default from "./button/button.module.js";
|
|
4
7
|
import { Button } from "./button/button.js";
|
|
5
8
|
import alert_dialog_module_default from "./alert-dialog/alert-dialog.module.js";
|
|
6
9
|
import { AlertDialog } from "./alert-dialog/alert-dialog.js";
|
|
7
10
|
import { AlertDialogBackdrop, AlertDialogDescription, AlertDialogPopup, AlertDialogTitle } from "./alert-dialog/parts.js";
|
|
8
|
-
import context_menu_module_default from "./context-menu/context-menu.module.js";
|
|
9
|
-
import { ContextMenu } from "./context-menu/context-menu.js";
|
|
10
|
-
import { ContextMenuGroup, ContextMenuGroupLabel, ContextMenuItem, ContextMenuPopup, ContextMenuSeparator } from "./context-menu/parts.js";
|
|
11
11
|
import badge_module_default from "./badge/badge.module.js";
|
|
12
12
|
import { Badge } from "./badge/badge.js";
|
|
13
13
|
import card_module_default from "./card/card.module.js";
|
|
14
14
|
import { Card, CardBody, CardFooter, CardHeader } from "./card/card.js";
|
|
15
|
-
import input_module_default from "./input/input.module.js";
|
|
16
|
-
import { Input } from "./input/input.js";
|
|
17
15
|
import checkbox_module_default from "./checkbox/checkbox.module.js";
|
|
18
16
|
import { Checkbox } from "./checkbox/checkbox.js";
|
|
19
17
|
import { CheckboxIndicator, CheckboxRoot } from "./checkbox/parts.js";
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
18
|
+
import collapsible_module_default from "./collapsible/collapsible.module.js";
|
|
19
|
+
import { Collapsible } from "./collapsible/collapsible.js";
|
|
20
|
+
import { CollapsiblePanel, CollapsibleRoot, CollapsibleTrigger } from "./collapsible/parts.js";
|
|
21
|
+
import context_menu_module_default from "./context-menu/context-menu.module.js";
|
|
22
|
+
import { ContextMenu } from "./context-menu/context-menu.js";
|
|
23
|
+
import { ContextMenuGroup, ContextMenuGroupLabel, ContextMenuItem, ContextMenuPopup, ContextMenuSeparator, ContextMenuSubmenuTrigger } from "./context-menu/parts.js";
|
|
26
24
|
import dialog_module_default from "./dialog/dialog.module.js";
|
|
27
25
|
import { Dialog } from "./dialog/dialog.js";
|
|
28
26
|
import { DialogBackdrop, DialogClose, DialogDescription, DialogPopup, DialogTitle, DialogViewport } from "./dialog/parts.js";
|
|
29
|
-
import tooltip_module_default from "./tooltip/tooltip.module.js";
|
|
30
|
-
import { Tooltip } from "./tooltip/tooltip.js";
|
|
31
|
-
import { TooltipArrow, TooltipPopup, TooltipPositioner } from "./tooltip/parts.js";
|
|
32
|
-
import tabs_module_default from "./tabs/tabs.module.js";
|
|
33
|
-
import { Tabs } from "./tabs/tabs.js";
|
|
34
|
-
import { TabsList, TabsPanel, TabsTab } from "./tabs/parts.js";
|
|
35
|
-
import accordion_module_default from "./accordion/accordion.module.js";
|
|
36
|
-
import { Accordion } from "./accordion/accordion.js";
|
|
37
|
-
import { AccordionHeader, AccordionItem, AccordionPanel, AccordionTrigger } from "./accordion/parts.js";
|
|
38
|
-
import progress_module_default from "./progress/progress.module.js";
|
|
39
|
-
import { Progress } from "./progress/progress.js";
|
|
40
|
-
import { ProgressIndicator, ProgressTrack } from "./progress/parts.js";
|
|
41
|
-
import toast_module_default from "./toast/toast.module.js";
|
|
42
|
-
import { ToastViewport, useToastManager } from "./toast/toast.js";
|
|
43
|
-
import { ToastClose, ToastDescription, ToastRoot, ToastTitle, ToastViewportPart } from "./toast/parts.js";
|
|
44
27
|
import drawer_module_default from "./drawer/drawer.module.js";
|
|
45
28
|
import { Drawer } from "./drawer/drawer.js";
|
|
46
29
|
import { DrawerBackdrop, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHandleBar, DrawerPopup, DrawerTitle, DrawerViewport } from "./drawer/parts.js";
|
|
30
|
+
import input_module_default from "./input/input.module.js";
|
|
31
|
+
import { Input } from "./input/input.js";
|
|
32
|
+
import menu_module_default from "./menu/menu.module.js";
|
|
33
|
+
import { Menu } from "./menu/menu.js";
|
|
34
|
+
import { MenuItemShortcut } from "./menu/menuitemshortcut.js";
|
|
35
|
+
import { MenuArrow, MenuGroupLabel, MenuItem, MenuPopup, MenuPositioner, MenuSeparator } from "./menu/parts.js";
|
|
36
|
+
import number_field_module_default from "./number-field/number-field.module.js";
|
|
37
|
+
import { NumberField } from "./number-field/number-field.js";
|
|
38
|
+
import { NumberFieldDecrement, NumberFieldGroup, NumberFieldIncrement, NumberFieldInput, NumberFieldScrubArea, NumberFieldScrubAreaCursor } from "./number-field/parts.js";
|
|
39
|
+
import progress_module_default from "./progress/progress.module.js";
|
|
40
|
+
import { Progress } from "./progress/progress.js";
|
|
41
|
+
import { ProgressIndicator, ProgressTrack } from "./progress/parts.js";
|
|
42
|
+
import select_module_default from "./select/select.module.js";
|
|
43
|
+
import { Select } from "./select/select.js";
|
|
44
|
+
import { SelectGroup, SelectGroupLabel, SelectItem, SelectItemIndicator, SelectItemText, SelectList, SelectPopup, SelectPositioner, SelectSeparator, SelectTrigger, SelectValue } from "./select/parts.js";
|
|
47
45
|
import separator_module_default from "./separator/separator.module.js";
|
|
48
46
|
import { Separator } from "./separator/separator.js";
|
|
49
47
|
import slider_module_default from "./slider/slider.module.js";
|
|
50
48
|
import { Slider } from "./slider/slider.js";
|
|
51
49
|
import { SliderControl, SliderIndicator, SliderLabel, SliderThumb, SliderTrack, SliderValue } from "./slider/parts.js";
|
|
52
|
-
import
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import
|
|
62
|
-
|
|
50
|
+
import switch_module_default from "./switch/switch.module.js";
|
|
51
|
+
import { Switch } from "./switch/switch.js";
|
|
52
|
+
import { SwitchRoot, SwitchThumb } from "./switch/parts.js";
|
|
53
|
+
import tabs_module_default from "./tabs/tabs.module.js";
|
|
54
|
+
import { Tabs } from "./tabs/tabs.js";
|
|
55
|
+
import { TabsList, TabsPanel, TabsTab } from "./tabs/parts.js";
|
|
56
|
+
import toast_module_default from "./toast/toast.module.js";
|
|
57
|
+
import { ToastProvider, ToastViewport, useToastManager } from "./toast/toast.js";
|
|
58
|
+
import { ToastClose, ToastDescription, ToastRoot, ToastTitle, ToastViewportPart } from "./toast/parts.js";
|
|
59
|
+
import tooltip_module_default from "./tooltip/tooltip.module.js";
|
|
60
|
+
import { Tooltip } from "./tooltip/tooltip.js";
|
|
61
|
+
import { TooltipArrow, TooltipPopup, TooltipPositioner } from "./tooltip/parts.js";
|
|
62
|
+
export { Accordion, AccordionHeader, AccordionItem as AccordionItemPart, AccordionPanel, accordion_module_default as AccordionStyles, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogDescription, AlertDialogPopup, alert_dialog_module_default as AlertDialogStyles, AlertDialogTitle, Badge, badge_module_default as BadgeStyles, Button, button_module_default as ButtonStyles, Card, CardBody, CardFooter, CardHeader, card_module_default as CardStyles, Checkbox, CheckboxIndicator, CheckboxRoot, checkbox_module_default as CheckboxStyles, Collapsible, CollapsiblePanel, CollapsibleRoot, collapsible_module_default as CollapsibleStyles, CollapsibleTrigger, ContextMenu, ContextMenuGroup, ContextMenuGroupLabel, ContextMenuItem, ContextMenuPopup, ContextMenuSeparator, context_menu_module_default as ContextMenuStyles, ContextMenuSubmenuTrigger, Dialog, DialogBackdrop, DialogClose, DialogDescription, DialogPopup, dialog_module_default as DialogStyles, DialogTitle, DialogViewport, Drawer, DrawerBackdrop, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHandleBar, DrawerPopup, drawer_module_default as DrawerStyles, DrawerTitle, DrawerViewport, Input, input_module_default as InputStyles, Menu, MenuArrow, MenuGroupLabel, MenuItem, MenuItemShortcut, MenuPopup, MenuPositioner, MenuSeparator, menu_module_default as MenuStyles, NumberField, NumberFieldDecrement, NumberFieldGroup, NumberFieldIncrement, NumberFieldInput, NumberFieldScrubArea, NumberFieldScrubAreaCursor, number_field_module_default as NumberFieldStyles, Progress, ProgressIndicator, progress_module_default as ProgressStyles, ProgressTrack, Select, SelectGroup as SelectGroupContainer, SelectGroupLabel, SelectItem, SelectItemIndicator, SelectItemText, SelectList, SelectPopup, SelectPositioner, SelectSeparator, select_module_default as SelectStyles, SelectTrigger, SelectValue, Separator, separator_module_default as SeparatorStyles, Slider, SliderControl, SliderIndicator, SliderLabel, slider_module_default as SliderStyles, SliderThumb, SliderTrack, SliderValue, Switch, SwitchRoot, switch_module_default as SwitchStyles, SwitchThumb, Tabs, TabsList, TabsPanel, tabs_module_default as TabsStyles, TabsTab, ToastClose, ToastDescription, ToastProvider, ToastRoot, toast_module_default as ToastStyles, ToastTitle, ToastViewport, ToastViewportPart, Tooltip, TooltipArrow, TooltipPopup, TooltipPositioner, tooltip_module_default as TooltipStyles, useToastManager };
|
package/dist/input/input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import input_module_default from "./input.module.js";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
4
|
import { Input } from "@base-ui/react/input";
|
|
5
5
|
//#region src/input/input.tsx
|
|
6
6
|
const Input$1 = forwardRef(function Input$2({ size = "md", leftAdornment, rightAdornment, invalid, className, ...props }, ref) {
|
package/dist/menu/menu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import menu_module_default from "./menu.module.js";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
4
|
//#region src/menu/menuitemshortcut.tsx
|
|
5
5
|
const MenuItemShortcut = forwardRef(function MenuItemShortcut({ className, ...props }, ref) {
|
|
6
6
|
return /* @__PURE__ */ jsx("span", {
|
package/dist/menu/parts.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import menu_module_default from "./menu.module.js";
|
|
2
2
|
import "./menuitemshortcut.js";
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { forwardRef } from "react";
|
|
5
5
|
import { Menu } from "@base-ui/react/menu";
|
|
6
6
|
//#region src/menu/parts.tsx
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import number_field_module_default from "./number-field.module.js";
|
|
2
|
-
import { useId } from "react";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useId } from "react";
|
|
4
4
|
import { NumberField } from "@base-ui/react/number-field";
|
|
5
5
|
//#region src/number-field/number-field.tsx
|
|
6
6
|
function MinusIcon() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import number_field_module_default from "./number-field.module.js";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
4
|
import { NumberField } from "@base-ui/react/number-field";
|
|
5
5
|
//#region src/number-field/parts.tsx
|
|
6
6
|
/**
|
package/dist/progress/parts.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import progress_module_default from "./progress.module.js";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
4
|
import { Progress } from "@base-ui/react/progress";
|
|
5
5
|
//#region src/progress/parts.tsx
|
|
6
6
|
/**
|
package/dist/select/parts.js
CHANGED
package/dist/select/select.d.ts
CHANGED
package/dist/select/select.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import select_module_default from "./select.module.js";
|
|
2
|
-
import { useMemo } from "react";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
4
|
import { Select } from "@base-ui/react/select";
|
|
5
5
|
//#region src/select/select.tsx
|
|
6
6
|
function ChevronIcon() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import separator_module_default from "./separator.module.js";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
4
|
import { Separator } from "@base-ui/react/separator";
|
|
5
5
|
//#region src/separator/separator.tsx
|
|
6
6
|
const Separator$1 = forwardRef(function Separator$2({ className, orientation = "horizontal", ...props }, ref) {
|
package/dist/slider/parts.js
CHANGED
package/dist/slider/slider.d.ts
CHANGED
package/dist/styles/tokens.css
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
--color-active: #00000012;
|
|
89
89
|
--color-selected: #0078d41a;
|
|
90
90
|
--color-primary: #000000e0;
|
|
91
|
-
--color-secondary: #
|
|
91
|
+
--color-secondary: #0009;
|
|
92
92
|
--color-tertiary: #0000005c;
|
|
93
93
|
--color-disabled: #0000003d;
|
|
94
94
|
--color-inverse: #fffffff2;
|
|
@@ -101,6 +101,8 @@
|
|
|
101
101
|
--color-accent: #0078d4;
|
|
102
102
|
--color-accent-hover: #006bbf;
|
|
103
103
|
--color-accent-pressed: #005ea8;
|
|
104
|
+
--color-accent-solid: #0078d4;
|
|
105
|
+
--color-accent-text: #005ea8;
|
|
104
106
|
--color-accent-tint: #0078d41a;
|
|
105
107
|
--color-accent-tint-hover: #0078d429;
|
|
106
108
|
--color-focus-ring: #0078d4cc;
|
|
@@ -115,16 +117,19 @@
|
|
|
115
117
|
--shadow-focus: 0 0 0 2px var(--color-canvas), 0 0 0 4px var(--color-focus-ring);
|
|
116
118
|
--color-success-bg: #f0fdf4;
|
|
117
119
|
--color-success-border: #bbf7d0;
|
|
118
|
-
--color-success-text: #
|
|
119
|
-
--color-success-solid: #
|
|
120
|
+
--color-success-text: #147a39;
|
|
121
|
+
--color-success-solid: #15803d;
|
|
122
|
+
--color-success-on-solid: #fff;
|
|
120
123
|
--color-warning-bg: #fffbeb;
|
|
121
124
|
--color-warning-border: #fde68a;
|
|
122
125
|
--color-warning-text: #92400e;
|
|
123
|
-
--color-warning-solid: #
|
|
126
|
+
--color-warning-solid: #b45309;
|
|
127
|
+
--color-warning-on-solid: #fff;
|
|
124
128
|
--color-error-bg: #fef2f2;
|
|
125
129
|
--color-error-border: #fecaca;
|
|
126
130
|
--color-error-text: #991b1b;
|
|
127
131
|
--color-error-solid: #dc2626;
|
|
132
|
+
--color-error-on-solid: #fff;
|
|
128
133
|
--color-info-bg: #eff6ff;
|
|
129
134
|
--color-info-border: #bfdbfe;
|
|
130
135
|
--color-info-text: #1d4ed8;
|
|
@@ -167,6 +172,8 @@
|
|
|
167
172
|
--color-accent: #0a84ff;
|
|
168
173
|
--color-accent-hover: #0071e3;
|
|
169
174
|
--color-accent-pressed: #005bb5;
|
|
175
|
+
--color-accent-solid: #0071e3;
|
|
176
|
+
--color-accent-text: #60a5fa;
|
|
170
177
|
--color-accent-tint: #0a84ff1f;
|
|
171
178
|
--color-accent-tint-hover: #0a84ff33;
|
|
172
179
|
--color-focus-ring: #0a84ffe6;
|
|
@@ -183,14 +190,17 @@
|
|
|
183
190
|
--color-success-border: #16a34a4d;
|
|
184
191
|
--color-success-text: #4ade80;
|
|
185
192
|
--color-success-solid: #22c55e;
|
|
193
|
+
--color-success-on-solid: #000;
|
|
186
194
|
--color-warning-bg: #d977061f;
|
|
187
195
|
--color-warning-border: #d977064d;
|
|
188
196
|
--color-warning-text: #fbbf24;
|
|
189
197
|
--color-warning-solid: #f59e0b;
|
|
198
|
+
--color-warning-on-solid: #000;
|
|
190
199
|
--color-error-bg: #dc26261f;
|
|
191
200
|
--color-error-border: #dc26264d;
|
|
192
201
|
--color-error-text: #f87171;
|
|
193
|
-
--color-error-solid: #
|
|
202
|
+
--color-error-solid: #dc2626;
|
|
203
|
+
--color-error-on-solid: #fff;
|
|
194
204
|
--color-info-bg: #2563eb1f;
|
|
195
205
|
--color-info-border: #2563eb4d;
|
|
196
206
|
--color-info-text: #60a5fa;
|
|
@@ -233,6 +243,8 @@
|
|
|
233
243
|
--color-accent: #0a84ff;
|
|
234
244
|
--color-accent-hover: #0071e3;
|
|
235
245
|
--color-accent-pressed: #005bb5;
|
|
246
|
+
--color-accent-solid: #0071e3;
|
|
247
|
+
--color-accent-text: #60a5fa;
|
|
236
248
|
--color-accent-tint: #0a84ff1f;
|
|
237
249
|
--color-accent-tint-hover: #0a84ff33;
|
|
238
250
|
--color-focus-ring: #0a84ffe6;
|
|
@@ -249,14 +261,17 @@
|
|
|
249
261
|
--color-success-border: #16a34a4d;
|
|
250
262
|
--color-success-text: #4ade80;
|
|
251
263
|
--color-success-solid: #22c55e;
|
|
264
|
+
--color-success-on-solid: #000;
|
|
252
265
|
--color-warning-bg: #d977061f;
|
|
253
266
|
--color-warning-border: #d977064d;
|
|
254
267
|
--color-warning-text: #fbbf24;
|
|
255
268
|
--color-warning-solid: #f59e0b;
|
|
269
|
+
--color-warning-on-solid: #000;
|
|
256
270
|
--color-error-bg: #dc26261f;
|
|
257
271
|
--color-error-border: #dc26264d;
|
|
258
272
|
--color-error-text: #f87171;
|
|
259
|
-
--color-error-solid: #
|
|
273
|
+
--color-error-solid: #dc2626;
|
|
274
|
+
--color-error-on-solid: #fff;
|
|
260
275
|
--color-info-bg: #2563eb1f;
|
|
261
276
|
--color-info-border: #2563eb4d;
|
|
262
277
|
--color-info-text: #60a5fa;
|
|
@@ -272,5 +287,3 @@
|
|
|
272
287
|
--color-track: transparent;
|
|
273
288
|
}
|
|
274
289
|
}
|
|
275
|
-
|
|
276
|
-
@layer base, components, utilities;
|
package/dist/switch/parts.js
CHANGED
package/dist/switch/switch.d.ts
CHANGED
package/dist/switch/switch.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import switch_module_default from "./switch.module.js";
|
|
2
|
-
import { useId } from "react";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useId } from "react";
|
|
4
4
|
import { Switch } from "@base-ui/react/switch";
|
|
5
5
|
//#region src/switch/switch.tsx
|
|
6
6
|
function Switch$1({ children, id, className, onCheckedChange, ...props }) {
|
package/dist/tabs/parts.js
CHANGED
package/dist/tabs/tabs.d.ts
CHANGED
package/dist/toast/parts.js
CHANGED
package/dist/toast/toast.d.ts
CHANGED
package/dist/tokens.css
CHANGED
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
* Monospace-first, semantic color tokens, supports light & dark modes.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
/* Establish layer order — must come before any @layer usage */
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
|
-
|
|
11
8
|
@layer theme {
|
|
12
9
|
:root {
|
|
13
10
|
/* ─── Typography ──────────────────────────────────────────────── */
|
|
@@ -146,7 +143,7 @@
|
|
|
146
143
|
|
|
147
144
|
/* Text */
|
|
148
145
|
--color-primary: rgba(0, 0, 0, 0.88);
|
|
149
|
-
--color-secondary: rgba(0, 0, 0, 0.
|
|
146
|
+
--color-secondary: rgba(0, 0, 0, 0.6); /* raised from 0.55 — AA 5.01:1 on hover bg */
|
|
150
147
|
--color-tertiary: rgba(0, 0, 0, 0.36);
|
|
151
148
|
--color-disabled: rgba(0, 0, 0, 0.24);
|
|
152
149
|
--color-inverse: rgba(255, 255, 255, 0.95);
|
|
@@ -170,6 +167,8 @@
|
|
|
170
167
|
--color-accent: #0078d4;
|
|
171
168
|
--color-accent-hover: #006bbf;
|
|
172
169
|
--color-accent-pressed: #005ea8;
|
|
170
|
+
--color-accent-solid: #0078d4; /* solid button bg — same as accent in light (4.83:1 vs white) */
|
|
171
|
+
--color-accent-text: #005ea8; /* text/icon on tinted surfaces — AA 5.09:1 on accent-tint bg */
|
|
173
172
|
--color-accent-tint: rgba(0, 120, 212, 0.1);
|
|
174
173
|
--color-accent-tint-hover: rgba(0, 120, 212, 0.16);
|
|
175
174
|
|
|
@@ -190,20 +189,23 @@
|
|
|
190
189
|
/* Status — Success */
|
|
191
190
|
--color-success-bg: #f0fdf4;
|
|
192
191
|
--color-success-border: #bbf7d0;
|
|
193
|
-
--color-success-text: #15803d
|
|
194
|
-
--color-success-solid: #16a34a
|
|
192
|
+
--color-success-text: #147a39; /* darkened from #15803d — AA 4.73:1 on canvas */
|
|
193
|
+
--color-success-solid: #15803d; /* darkened from #16a34a — AA 5.02:1 vs white */
|
|
194
|
+
--color-success-on-solid: #ffffff;
|
|
195
195
|
|
|
196
196
|
/* Status — Warning */
|
|
197
197
|
--color-warning-bg: #fffbeb;
|
|
198
198
|
--color-warning-border: #fde68a;
|
|
199
199
|
--color-warning-text: #92400e;
|
|
200
|
-
--color-warning-solid: #d97706
|
|
200
|
+
--color-warning-solid: #b45309; /* darkened from #d97706 — AA 5.02:1 vs white */
|
|
201
|
+
--color-warning-on-solid: #ffffff;
|
|
201
202
|
|
|
202
203
|
/* Status — Error */
|
|
203
204
|
--color-error-bg: #fef2f2;
|
|
204
205
|
--color-error-border: #fecaca;
|
|
205
206
|
--color-error-text: #991b1b;
|
|
206
207
|
--color-error-solid: #dc2626;
|
|
208
|
+
--color-error-on-solid: #ffffff;
|
|
207
209
|
|
|
208
210
|
/* Status — Info */
|
|
209
211
|
--color-info-bg: #eff6ff;
|
|
@@ -268,6 +270,8 @@
|
|
|
268
270
|
--color-accent: #0a84ff;
|
|
269
271
|
--color-accent-hover: #0071e3;
|
|
270
272
|
--color-accent-pressed: #005bb5;
|
|
273
|
+
--color-accent-solid: #0071e3; /* solid button bg — darkened from #0a84ff — AA 4.70:1 vs white */
|
|
274
|
+
--color-accent-text: #60a5fa; /* text/icon on tinted surfaces — AA 5.87:1 on accent-tint bg */
|
|
271
275
|
--color-accent-tint: rgba(10, 132, 255, 0.12);
|
|
272
276
|
--color-accent-tint-hover: rgba(10, 132, 255, 0.2);
|
|
273
277
|
|
|
@@ -289,19 +293,22 @@
|
|
|
289
293
|
--color-success-bg: rgba(22, 163, 74, 0.12);
|
|
290
294
|
--color-success-border: rgba(22, 163, 74, 0.3);
|
|
291
295
|
--color-success-text: #4ade80;
|
|
292
|
-
--color-success-solid: #22c55e;
|
|
296
|
+
--color-success-solid: #22c55e; /* vivid — AA 9.22:1 vs black text */
|
|
297
|
+
--color-success-on-solid: #000000; /* dark text preserves vibrancy */
|
|
293
298
|
|
|
294
299
|
/* Status — Warning */
|
|
295
300
|
--color-warning-bg: rgba(217, 119, 6, 0.12);
|
|
296
301
|
--color-warning-border: rgba(217, 119, 6, 0.3);
|
|
297
302
|
--color-warning-text: #fbbf24;
|
|
298
|
-
--color-warning-solid: #f59e0b;
|
|
303
|
+
--color-warning-solid: #f59e0b; /* vivid — AA 9.78:1 vs black text */
|
|
304
|
+
--color-warning-on-solid: #000000; /* dark text preserves vibrancy */
|
|
299
305
|
|
|
300
306
|
/* Status — Error */
|
|
301
307
|
--color-error-bg: rgba(220, 38, 38, 0.12);
|
|
302
308
|
--color-error-border: rgba(220, 38, 38, 0.3);
|
|
303
309
|
--color-error-text: #f87171;
|
|
304
|
-
--color-error-solid: #ef4444
|
|
310
|
+
--color-error-solid: #dc2626; /* darkened from #ef4444 — AA 4.83:1 vs white */
|
|
311
|
+
--color-error-on-solid: #ffffff;
|
|
305
312
|
|
|
306
313
|
/* Status — Info */
|
|
307
314
|
--color-info-bg: rgba(37, 99, 235, 0.12);
|
|
@@ -355,6 +362,8 @@
|
|
|
355
362
|
--color-accent: #0a84ff;
|
|
356
363
|
--color-accent-hover: #0071e3;
|
|
357
364
|
--color-accent-pressed: #005bb5;
|
|
365
|
+
--color-accent-solid: #0071e3;
|
|
366
|
+
--color-accent-text: #60a5fa;
|
|
358
367
|
--color-accent-tint: rgba(10, 132, 255, 0.12);
|
|
359
368
|
--color-accent-tint-hover: rgba(10, 132, 255, 0.2);
|
|
360
369
|
|
|
@@ -374,16 +383,19 @@
|
|
|
374
383
|
--color-success-border: rgba(22, 163, 74, 0.3);
|
|
375
384
|
--color-success-text: #4ade80;
|
|
376
385
|
--color-success-solid: #22c55e;
|
|
386
|
+
--color-success-on-solid: #000000;
|
|
377
387
|
|
|
378
388
|
--color-warning-bg: rgba(217, 119, 6, 0.12);
|
|
379
389
|
--color-warning-border: rgba(217, 119, 6, 0.3);
|
|
380
390
|
--color-warning-text: #fbbf24;
|
|
381
391
|
--color-warning-solid: #f59e0b;
|
|
392
|
+
--color-warning-on-solid: #000000;
|
|
382
393
|
|
|
383
394
|
--color-error-bg: rgba(220, 38, 38, 0.12);
|
|
384
395
|
--color-error-border: rgba(220, 38, 38, 0.3);
|
|
385
396
|
--color-error-text: #f87171;
|
|
386
|
-
--color-error-solid: #
|
|
397
|
+
--color-error-solid: #dc2626;
|
|
398
|
+
--color-error-on-solid: #ffffff;
|
|
387
399
|
|
|
388
400
|
--color-info-bg: rgba(37, 99, 235, 0.12);
|
|
389
401
|
--color-info-border: rgba(37, 99, 235, 0.3);
|
package/dist/tooltip/parts.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import tooltip_module_default from "./tooltip.module.js";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
4
|
import { Tooltip } from "@base-ui/react/tooltip";
|
|
5
5
|
//#region src/tooltip/parts.tsx
|
|
6
6
|
/**
|