bsm-design-system 1.17.2 → 1.18.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
@@ -865,7 +865,9 @@ declare function Head({ className, ...props }: React.ComponentProps<"th">): reac
865
865
  declare function Cell({ className, ...props }: React.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
866
866
  declare function Caption({ className, ...props }: React.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
867
867
 
868
- declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
868
+ declare function DropdownMenu({ trigger, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root> & {
869
+ trigger?: any;
870
+ }): react_jsx_runtime.JSX.Element;
869
871
  declare namespace DropdownMenu {
870
872
  var Portal: typeof DropdownMenuPortal;
871
873
  var Trigger: typeof DropdownMenuTrigger;
@@ -997,8 +999,11 @@ type Props = {
997
999
  items: MenuItem[];
998
1000
  activeKey?: string;
999
1001
  level?: number;
1002
+ className?: string;
1000
1003
  };
1001
- declare function NestedAccordionMenu({ items, activeKey, level, }: Props): react_jsx_runtime.JSX.Element;
1004
+ declare function NestedAccordionMenu({ items, activeKey, level, className, }: Props): react_jsx_runtime.JSX.Element;
1005
+
1006
+ declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1002
1007
 
1003
1008
  type PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;
1004
1009
  type PopoverTrigger = React.ComponentProps<
@@ -1011,4 +1016,4 @@ type PopoverContent = React.ComponentProps<
1011
1016
 
1012
1017
  type IconType = React.ComponentType<React.SVGProps<SVGSVGElement>>;
1013
1018
 
1014
- export { Accordion, type AccordionProps, type AccordionVariant, Button, type ButtonColors, type ButtonProps, type ButtonSize, type ButtonVariant, Card, Checkbox, type CheckboxProps, type CheckboxSize, Badge as Chips, type ChipsType, type ChipsVariantType, SmartDialog as Dialog, type DialogHeaderBarProps, type SmartDialogProps as DialogProps, type DialogSize, SmartSheet as Drawer, type DrawerHeader, type DrawerProps, type DrawerSide, DropdownMenu, type IconType, Input, InputOTP, type InputProps, type InputSize, NestedAccordionMenu as ListMenu, type MultiSelectProps, type MultiSelectValueType, type OTPProps, Pagination, type PaginationProps, Popover, type PopoverContent, type PopoverProps, type PopoverTrigger, RadioGroup, type RadioItemProps, type RadioProps, type RadioSize, SegmentButton, type SegmentButtonSize, type SegmentButtonType, Select, type SelectOptionType, type SelectProps, type SingleSelectProps, type SingleSelectValueType, Switch, type SwitchProps, type SwitchSize, Table, Tabs, type TabsContentProps, type TabsListProps, type TabsProps, type TabsSize, type TabsTriggerProps, type TabsVariants, Tag, type TagType, type TagVariantsType, Tooltip };
1019
+ export { Accordion, type AccordionProps, type AccordionVariant, Button, type ButtonColors, type ButtonProps, type ButtonSize, type ButtonVariant, Card, Checkbox, type CheckboxProps, type CheckboxSize, Badge as Chips, type ChipsType, type ChipsVariantType, SmartDialog as Dialog, type DialogHeaderBarProps, type SmartDialogProps as DialogProps, type DialogSize, SmartSheet as Drawer, type DrawerHeader, type DrawerProps, type DrawerSide, DropdownMenu, type IconType, Input, InputOTP, type InputProps, type InputSize, NestedAccordionMenu as ListMenu, type MultiSelectProps, type MultiSelectValueType, type OTPProps, Pagination, type PaginationProps, Popover, type PopoverContent, type PopoverProps, type PopoverTrigger, RadioGroup, type RadioItemProps, type RadioProps, type RadioSize, SegmentButton, type SegmentButtonSize, type SegmentButtonType, Select, type SelectOptionType, type SelectProps, type SingleSelectProps, type SingleSelectValueType, Skeleton, Switch, type SwitchProps, type SwitchSize, Table, Tabs, type TabsContentProps, type TabsListProps, type TabsProps, type TabsSize, type TabsTriggerProps, type TabsVariants, Tag, type TagType, type TagVariantsType, Tooltip };
package/index.d.ts CHANGED
@@ -865,7 +865,9 @@ declare function Head({ className, ...props }: React.ComponentProps<"th">): reac
865
865
  declare function Cell({ className, ...props }: React.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
866
866
  declare function Caption({ className, ...props }: React.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
867
867
 
868
- declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
868
+ declare function DropdownMenu({ trigger, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root> & {
869
+ trigger?: any;
870
+ }): react_jsx_runtime.JSX.Element;
869
871
  declare namespace DropdownMenu {
870
872
  var Portal: typeof DropdownMenuPortal;
871
873
  var Trigger: typeof DropdownMenuTrigger;
@@ -997,8 +999,11 @@ type Props = {
997
999
  items: MenuItem[];
998
1000
  activeKey?: string;
999
1001
  level?: number;
1002
+ className?: string;
1000
1003
  };
1001
- declare function NestedAccordionMenu({ items, activeKey, level, }: Props): react_jsx_runtime.JSX.Element;
1004
+ declare function NestedAccordionMenu({ items, activeKey, level, className, }: Props): react_jsx_runtime.JSX.Element;
1005
+
1006
+ declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1002
1007
 
1003
1008
  type PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;
1004
1009
  type PopoverTrigger = React.ComponentProps<
@@ -1011,4 +1016,4 @@ type PopoverContent = React.ComponentProps<
1011
1016
 
1012
1017
  type IconType = React.ComponentType<React.SVGProps<SVGSVGElement>>;
1013
1018
 
1014
- export { Accordion, type AccordionProps, type AccordionVariant, Button, type ButtonColors, type ButtonProps, type ButtonSize, type ButtonVariant, Card, Checkbox, type CheckboxProps, type CheckboxSize, Badge as Chips, type ChipsType, type ChipsVariantType, SmartDialog as Dialog, type DialogHeaderBarProps, type SmartDialogProps as DialogProps, type DialogSize, SmartSheet as Drawer, type DrawerHeader, type DrawerProps, type DrawerSide, DropdownMenu, type IconType, Input, InputOTP, type InputProps, type InputSize, NestedAccordionMenu as ListMenu, type MultiSelectProps, type MultiSelectValueType, type OTPProps, Pagination, type PaginationProps, Popover, type PopoverContent, type PopoverProps, type PopoverTrigger, RadioGroup, type RadioItemProps, type RadioProps, type RadioSize, SegmentButton, type SegmentButtonSize, type SegmentButtonType, Select, type SelectOptionType, type SelectProps, type SingleSelectProps, type SingleSelectValueType, Switch, type SwitchProps, type SwitchSize, Table, Tabs, type TabsContentProps, type TabsListProps, type TabsProps, type TabsSize, type TabsTriggerProps, type TabsVariants, Tag, type TagType, type TagVariantsType, Tooltip };
1019
+ export { Accordion, type AccordionProps, type AccordionVariant, Button, type ButtonColors, type ButtonProps, type ButtonSize, type ButtonVariant, Card, Checkbox, type CheckboxProps, type CheckboxSize, Badge as Chips, type ChipsType, type ChipsVariantType, SmartDialog as Dialog, type DialogHeaderBarProps, type SmartDialogProps as DialogProps, type DialogSize, SmartSheet as Drawer, type DrawerHeader, type DrawerProps, type DrawerSide, DropdownMenu, type IconType, Input, InputOTP, type InputProps, type InputSize, NestedAccordionMenu as ListMenu, type MultiSelectProps, type MultiSelectValueType, type OTPProps, Pagination, type PaginationProps, Popover, type PopoverContent, type PopoverProps, type PopoverTrigger, RadioGroup, type RadioItemProps, type RadioProps, type RadioSize, SegmentButton, type SegmentButtonSize, type SegmentButtonType, Select, type SelectOptionType, type SelectProps, type SingleSelectProps, type SingleSelectValueType, Skeleton, Switch, type SwitchProps, type SwitchSize, Table, Tabs, type TabsContentProps, type TabsListProps, type TabsProps, type TabsSize, type TabsTriggerProps, type TabsVariants, Tag, type TagType, type TagVariantsType, Tooltip };