bsm-design-system 1.11.2 → 1.12.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
@@ -683,4 +683,54 @@ type PaginationProps = {
683
683
 
684
684
  declare function Pagination({ totalItems, initialPage, pageSize, pageSizeOptions, siblings, onPageChange, className, showPageSizeSelector, showPageInfo, }: PaginationProps): react_jsx_runtime.JSX.Element;
685
685
 
686
- export { Accordion, Button, Card, Checkbox, SmartDialog as Dialog, SmartSheet as Drawer, Input, Pagination, Popover, RadioGroup, SegmentButton, Select, Switch, Tooltip };
686
+ declare const chipsVariants: tailwind_variants.TVReturnType<{
687
+ variant: {
688
+ default: string;
689
+ secondary: string;
690
+ };
691
+ isClickable: {
692
+ true: string;
693
+ };
694
+ rounded: {
695
+ true: string;
696
+ };
697
+ }, undefined, "inline-flex items-center gap-1 disabled:shadow-none rounded-lg border disabled:border-disabled-border disabled:bg-disabled-tertiary disabled:text-disabled min-w-12 px-2 h-8 text-xs [&_svg:not([class*='size-'])]:size-3 outline-none disabled:pointer-events-none select-none focus-visible:ring-offset-ring-offset focus-visible:ring-offset-3 focus-visible:ring-2 focus-visible:ring-ring", {
698
+ variant: {
699
+ default: string;
700
+ secondary: string;
701
+ };
702
+ isClickable: {
703
+ true: string;
704
+ };
705
+ rounded: {
706
+ true: string;
707
+ };
708
+ }, undefined, tailwind_variants.TVReturnType<{
709
+ variant: {
710
+ default: string;
711
+ secondary: string;
712
+ };
713
+ isClickable: {
714
+ true: string;
715
+ };
716
+ rounded: {
717
+ true: string;
718
+ };
719
+ }, undefined, "inline-flex items-center gap-1 disabled:shadow-none rounded-lg border disabled:border-disabled-border disabled:bg-disabled-tertiary disabled:text-disabled min-w-12 px-2 h-8 text-xs [&_svg:not([class*='size-'])]:size-3 outline-none disabled:pointer-events-none select-none focus-visible:ring-offset-ring-offset focus-visible:ring-offset-3 focus-visible:ring-2 focus-visible:ring-ring", unknown, unknown, undefined>>;
720
+
721
+ type variant = keyof typeof chipsVariants.variants.variant;
722
+
723
+ interface ChipsType {
724
+ className?: string;
725
+ label?: string;
726
+ rounded?: boolean;
727
+ disabled?: boolean;
728
+ icon?: React.ReactNode;
729
+ variant?: variant;
730
+ onClose?: () => void;
731
+ onClick?: () => void;
732
+ }
733
+
734
+ declare function Badge({ label, icon, className, rounded, variant, disabled, onClose, onClick, }: ChipsType): react_jsx_runtime.JSX.Element;
735
+
736
+ export { Accordion, Button, Card, Checkbox, Badge as Chips, SmartDialog as Dialog, SmartSheet as Drawer, Input, Pagination, Popover, RadioGroup, SegmentButton, Select, Switch, Tooltip };
package/index.d.ts CHANGED
@@ -683,4 +683,54 @@ type PaginationProps = {
683
683
 
684
684
  declare function Pagination({ totalItems, initialPage, pageSize, pageSizeOptions, siblings, onPageChange, className, showPageSizeSelector, showPageInfo, }: PaginationProps): react_jsx_runtime.JSX.Element;
685
685
 
686
- export { Accordion, Button, Card, Checkbox, SmartDialog as Dialog, SmartSheet as Drawer, Input, Pagination, Popover, RadioGroup, SegmentButton, Select, Switch, Tooltip };
686
+ declare const chipsVariants: tailwind_variants.TVReturnType<{
687
+ variant: {
688
+ default: string;
689
+ secondary: string;
690
+ };
691
+ isClickable: {
692
+ true: string;
693
+ };
694
+ rounded: {
695
+ true: string;
696
+ };
697
+ }, undefined, "inline-flex items-center gap-1 disabled:shadow-none rounded-lg border disabled:border-disabled-border disabled:bg-disabled-tertiary disabled:text-disabled min-w-12 px-2 h-8 text-xs [&_svg:not([class*='size-'])]:size-3 outline-none disabled:pointer-events-none select-none focus-visible:ring-offset-ring-offset focus-visible:ring-offset-3 focus-visible:ring-2 focus-visible:ring-ring", {
698
+ variant: {
699
+ default: string;
700
+ secondary: string;
701
+ };
702
+ isClickable: {
703
+ true: string;
704
+ };
705
+ rounded: {
706
+ true: string;
707
+ };
708
+ }, undefined, tailwind_variants.TVReturnType<{
709
+ variant: {
710
+ default: string;
711
+ secondary: string;
712
+ };
713
+ isClickable: {
714
+ true: string;
715
+ };
716
+ rounded: {
717
+ true: string;
718
+ };
719
+ }, undefined, "inline-flex items-center gap-1 disabled:shadow-none rounded-lg border disabled:border-disabled-border disabled:bg-disabled-tertiary disabled:text-disabled min-w-12 px-2 h-8 text-xs [&_svg:not([class*='size-'])]:size-3 outline-none disabled:pointer-events-none select-none focus-visible:ring-offset-ring-offset focus-visible:ring-offset-3 focus-visible:ring-2 focus-visible:ring-ring", unknown, unknown, undefined>>;
720
+
721
+ type variant = keyof typeof chipsVariants.variants.variant;
722
+
723
+ interface ChipsType {
724
+ className?: string;
725
+ label?: string;
726
+ rounded?: boolean;
727
+ disabled?: boolean;
728
+ icon?: React.ReactNode;
729
+ variant?: variant;
730
+ onClose?: () => void;
731
+ onClick?: () => void;
732
+ }
733
+
734
+ declare function Badge({ label, icon, className, rounded, variant, disabled, onClose, onClick, }: ChipsType): react_jsx_runtime.JSX.Element;
735
+
736
+ export { Accordion, Button, Card, Checkbox, Badge as Chips, SmartDialog as Dialog, SmartSheet as Drawer, Input, Pagination, Popover, RadioGroup, SegmentButton, Select, Switch, Tooltip };