bsm-design-system 1.17.0 → 1.17.2
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 +17 -4
- package/index.d.ts +17 -4
- package/index.js +27 -27
- package/index.mjs +27 -27
- package/package.json +1 -1
- package/styles.css +1 -1
package/index.d.mts
CHANGED
|
@@ -832,9 +832,8 @@ declare function Tag({ label, icon, className, rounded, variant, borderLess, }:
|
|
|
832
832
|
|
|
833
833
|
declare function Panel({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
834
834
|
declare const Table: {
|
|
835
|
-
({ children,
|
|
835
|
+
({ children, align, separated, bordered, heigthClassName, }: {
|
|
836
836
|
children: React.ReactNode;
|
|
837
|
-
className?: string;
|
|
838
837
|
align?: "right" | "left" | "center";
|
|
839
838
|
separated?: boolean;
|
|
840
839
|
bordered?: boolean;
|
|
@@ -881,7 +880,7 @@ declare namespace DropdownMenu {
|
|
|
881
880
|
var SubContent: typeof DropdownMenuSubContent;
|
|
882
881
|
}
|
|
883
882
|
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
884
|
-
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
883
|
+
declare function DropdownMenuTrigger({ asChild, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
885
884
|
declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
886
885
|
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
887
886
|
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
@@ -987,6 +986,20 @@ type OTPProps = Omit<
|
|
|
987
986
|
|
|
988
987
|
declare function InputOTP({ className, containerClassName, separate, withPlaceholder, placeholderChar, group, format, maxLength, pattern, ...props }: OTPProps): react_jsx_runtime.JSX.Element;
|
|
989
988
|
|
|
989
|
+
type MenuItem = {
|
|
990
|
+
key: string;
|
|
991
|
+
label: string;
|
|
992
|
+
icon?: React.ReactNode;
|
|
993
|
+
onClick?: () => void;
|
|
994
|
+
children?: MenuItem[];
|
|
995
|
+
};
|
|
996
|
+
type Props = {
|
|
997
|
+
items: MenuItem[];
|
|
998
|
+
activeKey?: string;
|
|
999
|
+
level?: number;
|
|
1000
|
+
};
|
|
1001
|
+
declare function NestedAccordionMenu({ items, activeKey, level, }: Props): react_jsx_runtime.JSX.Element;
|
|
1002
|
+
|
|
990
1003
|
type PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;
|
|
991
1004
|
type PopoverTrigger = React.ComponentProps<
|
|
992
1005
|
typeof PopoverPrimitive.Trigger
|
|
@@ -998,4 +1011,4 @@ type PopoverContent = React.ComponentProps<
|
|
|
998
1011
|
|
|
999
1012
|
type IconType = React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
|
1000
1013
|
|
|
1001
|
-
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, 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 };
|
|
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 };
|
package/index.d.ts
CHANGED
|
@@ -832,9 +832,8 @@ declare function Tag({ label, icon, className, rounded, variant, borderLess, }:
|
|
|
832
832
|
|
|
833
833
|
declare function Panel({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
834
834
|
declare const Table: {
|
|
835
|
-
({ children,
|
|
835
|
+
({ children, align, separated, bordered, heigthClassName, }: {
|
|
836
836
|
children: React.ReactNode;
|
|
837
|
-
className?: string;
|
|
838
837
|
align?: "right" | "left" | "center";
|
|
839
838
|
separated?: boolean;
|
|
840
839
|
bordered?: boolean;
|
|
@@ -881,7 +880,7 @@ declare namespace DropdownMenu {
|
|
|
881
880
|
var SubContent: typeof DropdownMenuSubContent;
|
|
882
881
|
}
|
|
883
882
|
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
884
|
-
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
883
|
+
declare function DropdownMenuTrigger({ asChild, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
885
884
|
declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
886
885
|
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
887
886
|
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
@@ -987,6 +986,20 @@ type OTPProps = Omit<
|
|
|
987
986
|
|
|
988
987
|
declare function InputOTP({ className, containerClassName, separate, withPlaceholder, placeholderChar, group, format, maxLength, pattern, ...props }: OTPProps): react_jsx_runtime.JSX.Element;
|
|
989
988
|
|
|
989
|
+
type MenuItem = {
|
|
990
|
+
key: string;
|
|
991
|
+
label: string;
|
|
992
|
+
icon?: React.ReactNode;
|
|
993
|
+
onClick?: () => void;
|
|
994
|
+
children?: MenuItem[];
|
|
995
|
+
};
|
|
996
|
+
type Props = {
|
|
997
|
+
items: MenuItem[];
|
|
998
|
+
activeKey?: string;
|
|
999
|
+
level?: number;
|
|
1000
|
+
};
|
|
1001
|
+
declare function NestedAccordionMenu({ items, activeKey, level, }: Props): react_jsx_runtime.JSX.Element;
|
|
1002
|
+
|
|
990
1003
|
type PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;
|
|
991
1004
|
type PopoverTrigger = React.ComponentProps<
|
|
992
1005
|
typeof PopoverPrimitive.Trigger
|
|
@@ -998,4 +1011,4 @@ type PopoverContent = React.ComponentProps<
|
|
|
998
1011
|
|
|
999
1012
|
type IconType = React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
|
1000
1013
|
|
|
1001
|
-
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, 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 };
|
|
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 };
|