bsm-design-system 1.13.0 → 1.13.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 +29 -3
- package/index.d.ts +29 -3
- package/index.js +14 -14
- package/index.mjs +14 -14
- package/package.json +1 -1
- package/styles.css +1 -1
package/index.d.mts
CHANGED
|
@@ -755,7 +755,7 @@ declare const tagVariants: tailwind_variants.TVReturnType<{
|
|
|
755
755
|
borderLess: {
|
|
756
756
|
true: string;
|
|
757
757
|
};
|
|
758
|
-
}, undefined, "inline-flex items-center justify-center gap-1 h-6 px-2 rounded-sm border text-xs [&_svg:not([class*='size-'])]:size-3 outline-none select-none", {
|
|
758
|
+
}, undefined, "inline-flex items-center justify-center gap-1 h-6 min-w-11 px-2 rounded-sm border text-xs [&_svg:not([class*='size-'])]:size-3 outline-none select-none", {
|
|
759
759
|
variant: {
|
|
760
760
|
default: string;
|
|
761
761
|
secondary: string;
|
|
@@ -797,7 +797,7 @@ declare const tagVariants: tailwind_variants.TVReturnType<{
|
|
|
797
797
|
borderLess: {
|
|
798
798
|
true: string;
|
|
799
799
|
};
|
|
800
|
-
}, undefined, "inline-flex items-center justify-center gap-1 h-6 px-2 rounded-sm border text-xs [&_svg:not([class*='size-'])]:size-3 outline-none select-none", unknown, unknown, undefined>>;
|
|
800
|
+
}, undefined, "inline-flex items-center justify-center gap-1 h-6 min-w-11 px-2 rounded-sm border text-xs [&_svg:not([class*='size-'])]:size-3 outline-none select-none", unknown, unknown, undefined>>;
|
|
801
801
|
|
|
802
802
|
type variant = keyof typeof tagVariants.variants.variant;
|
|
803
803
|
|
|
@@ -812,4 +812,30 @@ interface TagType {
|
|
|
812
812
|
|
|
813
813
|
declare function Tag({ label, icon, className, rounded, variant, borderLess, }: TagType): react_jsx_runtime.JSX.Element;
|
|
814
814
|
|
|
815
|
-
|
|
815
|
+
declare const Table: {
|
|
816
|
+
({ children, className, }: {
|
|
817
|
+
children: React.ReactNode;
|
|
818
|
+
className?: string;
|
|
819
|
+
}): react_jsx_runtime.JSX.Element;
|
|
820
|
+
Head: ({ children, className, }: {
|
|
821
|
+
children: React.ReactNode;
|
|
822
|
+
className?: string;
|
|
823
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
824
|
+
Body: ({ children }: {
|
|
825
|
+
children: React.ReactNode;
|
|
826
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
827
|
+
Row: typeof Row;
|
|
828
|
+
TableHead: typeof TableHead;
|
|
829
|
+
TableCell: typeof TableCell;
|
|
830
|
+
TableCaption: typeof TableCaption;
|
|
831
|
+
Footer: ({ children, className, }: {
|
|
832
|
+
children: React.ReactNode;
|
|
833
|
+
className?: string;
|
|
834
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
835
|
+
};
|
|
836
|
+
declare function Row({ className, ...props }: React.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
837
|
+
declare function TableHead({ className, ...props }: React.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
838
|
+
declare function TableCell({ className, ...props }: React.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
839
|
+
declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
840
|
+
|
|
841
|
+
export { Accordion, Button, Card, Checkbox, Badge as Chips, SmartDialog as Dialog, SmartSheet as Drawer, Input, Pagination, Popover, RadioGroup, SegmentButton, Select, Switch, Table, Tag, Tooltip };
|
package/index.d.ts
CHANGED
|
@@ -755,7 +755,7 @@ declare const tagVariants: tailwind_variants.TVReturnType<{
|
|
|
755
755
|
borderLess: {
|
|
756
756
|
true: string;
|
|
757
757
|
};
|
|
758
|
-
}, undefined, "inline-flex items-center justify-center gap-1 h-6 px-2 rounded-sm border text-xs [&_svg:not([class*='size-'])]:size-3 outline-none select-none", {
|
|
758
|
+
}, undefined, "inline-flex items-center justify-center gap-1 h-6 min-w-11 px-2 rounded-sm border text-xs [&_svg:not([class*='size-'])]:size-3 outline-none select-none", {
|
|
759
759
|
variant: {
|
|
760
760
|
default: string;
|
|
761
761
|
secondary: string;
|
|
@@ -797,7 +797,7 @@ declare const tagVariants: tailwind_variants.TVReturnType<{
|
|
|
797
797
|
borderLess: {
|
|
798
798
|
true: string;
|
|
799
799
|
};
|
|
800
|
-
}, undefined, "inline-flex items-center justify-center gap-1 h-6 px-2 rounded-sm border text-xs [&_svg:not([class*='size-'])]:size-3 outline-none select-none", unknown, unknown, undefined>>;
|
|
800
|
+
}, undefined, "inline-flex items-center justify-center gap-1 h-6 min-w-11 px-2 rounded-sm border text-xs [&_svg:not([class*='size-'])]:size-3 outline-none select-none", unknown, unknown, undefined>>;
|
|
801
801
|
|
|
802
802
|
type variant = keyof typeof tagVariants.variants.variant;
|
|
803
803
|
|
|
@@ -812,4 +812,30 @@ interface TagType {
|
|
|
812
812
|
|
|
813
813
|
declare function Tag({ label, icon, className, rounded, variant, borderLess, }: TagType): react_jsx_runtime.JSX.Element;
|
|
814
814
|
|
|
815
|
-
|
|
815
|
+
declare const Table: {
|
|
816
|
+
({ children, className, }: {
|
|
817
|
+
children: React.ReactNode;
|
|
818
|
+
className?: string;
|
|
819
|
+
}): react_jsx_runtime.JSX.Element;
|
|
820
|
+
Head: ({ children, className, }: {
|
|
821
|
+
children: React.ReactNode;
|
|
822
|
+
className?: string;
|
|
823
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
824
|
+
Body: ({ children }: {
|
|
825
|
+
children: React.ReactNode;
|
|
826
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
827
|
+
Row: typeof Row;
|
|
828
|
+
TableHead: typeof TableHead;
|
|
829
|
+
TableCell: typeof TableCell;
|
|
830
|
+
TableCaption: typeof TableCaption;
|
|
831
|
+
Footer: ({ children, className, }: {
|
|
832
|
+
children: React.ReactNode;
|
|
833
|
+
className?: string;
|
|
834
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
835
|
+
};
|
|
836
|
+
declare function Row({ className, ...props }: React.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
837
|
+
declare function TableHead({ className, ...props }: React.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
838
|
+
declare function TableCell({ className, ...props }: React.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
839
|
+
declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
840
|
+
|
|
841
|
+
export { Accordion, Button, Card, Checkbox, Badge as Chips, SmartDialog as Dialog, SmartSheet as Drawer, Input, Pagination, Popover, RadioGroup, SegmentButton, Select, Switch, Table, Tag, Tooltip };
|