Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@boostxyz/boost-ui

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boostxyz/boost-ui - npm Package Compare versions

Comparing version 0.11.2 to 0.12.0

# @boostxyz/boost-ui
## 0.12.0
### Minor Changes
- d927988: Include enhanced Table component
## 0.11.2

@@ -4,0 +10,0 @@

@@ -31,3 +31,3 @@ export { a as Drawer, d as DrawerClose, f as DrawerContent, j as DrawerDescription, h as DrawerFooter, g as DrawerHeader, e as DrawerOverlay, c as DrawerPortal, i as DrawerTitle, b as DrawerTrigger } from '../../chunk-6C6BWAFF.js';

import '../../chunk-VP7DRJUZ.js';
import '../../chunk-YQAF67DM.js';
import '../../chunk-YBE5OTSA.js';
import '../../chunk-3MVZNS6D.js';

@@ -34,0 +34,0 @@ import '../../chunk-JLAKWJO2.js';

@@ -31,3 +31,3 @@ export { a as Drawer, d as DrawerClose, f as DrawerContent, j as DrawerDescription, h as DrawerFooter, g as DrawerHeader, e as DrawerOverlay, c as DrawerPortal, i as DrawerTitle, b as DrawerTrigger } from '../../chunk-6C6BWAFF.js';

import '../../chunk-VP7DRJUZ.js';
import '../../chunk-YQAF67DM.js';
import '../../chunk-YBE5OTSA.js';
import '../../chunk-3MVZNS6D.js';

@@ -34,0 +34,0 @@ import '../../chunk-JLAKWJO2.js';

@@ -1,3 +0,3 @@

export { ColumnConfig, Table, TableProps } from './Table.js';
export { ClassNameConfig, ColumnConfig, Table, TableProps } from './Table.js';
export { TableBody, TableCell, TableHead, TableHeader, TableRow } from './BaseTable.js';
import 'react';
import '../../chunk-VP7DRJUZ.js';
export { a as Table } from '../../chunk-YQAF67DM.js';
export { a as Table } from '../../chunk-YBE5OTSA.js';
export { c as TableBody, g as TableCell, f as TableHead, b as TableHeader, e as TableRow } from '../../chunk-3MVZNS6D.js';

@@ -4,0 +4,0 @@ import '../../chunk-JLAKWJO2.js';

@@ -10,9 +10,20 @@ import React__default, { ReactNode } from 'react';

};
type ClassNameConfig = {
table?: string;
header?: {
header?: string;
cell?: string;
row?: string;
};
body?: string;
row?: string;
cell?: string;
};
type TableProps<T> = {
data: T[];
columns: ColumnConfig<T>[];
className?: string;
classNames?: ClassNameConfig;
};
declare function Table<T extends Record<string, unknown>>({ data, columns, className, }: TableProps<T>): React__default.JSX.Element;
declare function Table<T extends Record<string, unknown>>({ data, columns, classNames, }: TableProps<T>): React__default.JSX.Element;
export { type ColumnConfig, Table, type TableProps };
export { type ClassNameConfig, type ColumnConfig, Table, type TableProps };

@@ -1,2 +0,2 @@

export { a as Table } from '../../chunk-YQAF67DM.js';
export { a as Table } from '../../chunk-YBE5OTSA.js';
export { c as TableBody, g as TableCell, f as TableHead, b as TableHeader, e as TableRow } from '../../chunk-3MVZNS6D.js';

@@ -3,0 +3,0 @@ import '../../chunk-JLAKWJO2.js';

@@ -13,3 +13,3 @@ import * as class_variance_authority_types from 'class-variance-authority/types';

variant?: "default" | "outline" | null | undefined;
size?: "default" | "sm" | "md" | "lg" | null | undefined;
size?: "default" | "sm" | "lg" | "md" | null | undefined;
} & class_variance_authority_types.ClassProp) | undefined) => string;

@@ -16,0 +16,0 @@ type ToggleProps = React.ComponentProps<typeof Toggle$1> & VariantProps<typeof toggleVariants> & {};

{
"name": "@boostxyz/boost-ui",
"version": "0.11.2",
"version": "0.12.0",
"type": "module",

@@ -36,4 +36,4 @@ "license": "MIT",

"@types/css-modules": "^1.0.5",
"@types/react": "catalog:react18",
"@types/react-dom": "catalog:react18",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.0",
"autoprefixer": "10.4.20",

@@ -50,7 +50,7 @@ "class-variance-authority": "^0.7.0",

"tsup": "8.2.4",
"typescript": "catalog:",
"typescript": "5.5.4",
"typescript-plugin-css-modules": "^5.1.0",
"vite-plugin-inline-css-modules": "^0.0.8",
"@boostxyz/config-tailwind": "^0.11.2",
"@boostxyz/config-typescript": "^0.11.2"
"@boostxyz/config-tailwind": "^0.12.0",
"@boostxyz/config-typescript": "^0.12.0"
},

@@ -73,3 +73,3 @@ "dependencies": {

"@tanstack/react-table": "^8.20.5",
"react": "catalog:react18",
"react": "18.3.1",
"sonner": "^1.5.0",

@@ -80,4 +80,4 @@ "tailwindcss": "^3.4.13",

"peerDependencies": {
"react": "catalog:react18",
"zod": "catalog:"
"react": "18.3.1",
"zod": "3.23.8"
},

@@ -84,0 +84,0 @@ "repository": "boostxyz/boost-ui",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet