bsm-design-system 1.8.0 → 1.9.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/index.d.mts CHANGED
@@ -8,6 +8,8 @@ import { Root as Root$1 } from '@radix-ui/react-radio-group';
8
8
  import { Root as Root$2 } from '@radix-ui/react-checkbox';
9
9
  import * as TabsPrimitive from '@radix-ui/react-tabs';
10
10
  import * as DialogPrimitive from '@radix-ui/react-dialog';
11
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
11
13
 
12
14
  declare const buttonVariants: tailwind_variants.TVReturnType<{
13
15
  variant: {
@@ -589,4 +591,20 @@ interface SelectProps {
589
591
 
590
592
  declare function Select({ mode, options, value, onChange, onSearch, searchable, loading, label, hint, helperText, error, disabled, readOnly, size, asyncSearch, placeholder, emptyText, }: SelectProps): react_jsx_runtime.JSX.Element;
591
593
 
592
- export { Button, Card, Checkbox, SmartDialog as Dialog, SmartSheet as Drawer, Test as Input, RadioGroup, SegmentButton, Select, Switch };
594
+ declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
595
+ declare namespace Tooltip {
596
+ var Trigger: typeof TooltipTrigger;
597
+ var Content: typeof TooltipContent;
598
+ }
599
+ declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
600
+ declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
601
+
602
+ declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
603
+ declare namespace Popover {
604
+ var Trigger: typeof PopoverTrigger;
605
+ var Content: typeof PopoverContent;
606
+ }
607
+ declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
608
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
609
+
610
+ export { Button, Card, Checkbox, SmartDialog as Dialog, SmartSheet as Drawer, Test as Input, Popover, RadioGroup, SegmentButton, Select, Switch, Tooltip };
package/index.d.ts CHANGED
@@ -8,6 +8,8 @@ import { Root as Root$1 } from '@radix-ui/react-radio-group';
8
8
  import { Root as Root$2 } from '@radix-ui/react-checkbox';
9
9
  import * as TabsPrimitive from '@radix-ui/react-tabs';
10
10
  import * as DialogPrimitive from '@radix-ui/react-dialog';
11
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
11
13
 
12
14
  declare const buttonVariants: tailwind_variants.TVReturnType<{
13
15
  variant: {
@@ -589,4 +591,20 @@ interface SelectProps {
589
591
 
590
592
  declare function Select({ mode, options, value, onChange, onSearch, searchable, loading, label, hint, helperText, error, disabled, readOnly, size, asyncSearch, placeholder, emptyText, }: SelectProps): react_jsx_runtime.JSX.Element;
591
593
 
592
- export { Button, Card, Checkbox, SmartDialog as Dialog, SmartSheet as Drawer, Test as Input, RadioGroup, SegmentButton, Select, Switch };
594
+ declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
595
+ declare namespace Tooltip {
596
+ var Trigger: typeof TooltipTrigger;
597
+ var Content: typeof TooltipContent;
598
+ }
599
+ declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
600
+ declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
601
+
602
+ declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
603
+ declare namespace Popover {
604
+ var Trigger: typeof PopoverTrigger;
605
+ var Content: typeof PopoverContent;
606
+ }
607
+ declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
608
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
609
+
610
+ export { Button, Card, Checkbox, SmartDialog as Dialog, SmartSheet as Drawer, Test as Input, Popover, RadioGroup, SegmentButton, Select, Switch, Tooltip };