Compare commits

..

No commits in common. "main" and "v1.1.0" have entirely different histories.
main ... v1.1.0

5 changed files with 656 additions and 738 deletions

View file

@ -1,4 +1,4 @@
import "@kernelui/core/lib/index.css";
import "@kernelui/core/lib/style.css";
import "../src/styles/smartable.less";
import React from "react";

View file

@ -1,5 +1,5 @@
{
"version": "1.1.2",
"version": "1.1.0",
"name": "@kernelui/smartable",
"description": "Kernel UI Smartable.",
"scripts": {
@ -17,22 +17,22 @@
"@kernelui:registry": "https://code.zeptotech.net/api/packages/UIKernel/npm/"
},
"devDependencies": {
"@kernelui/core": "^1.8.2",
"@kernelui/core": "^1.6.0",
"@phosphor-icons/react": "^2.1.7",
"@types/node": "^22.0.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.0",
"less": "^4.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^7.0.1",
"react-router-dom": "^6.26.2",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite-plugin-dts": "^4.3.0"
"vite": "^5.2.11",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
"@kernelui/core": "^1.8.2"
"@kernelui/core": "^1.1.2"
},
"packageManager": "yarn@4.5.0"
}

View file

@ -66,10 +66,10 @@ export function PaginatedInstance<CK extends ColumnKey>(props: InstancePropertie
/**
* Base component for a Smartable table.
*/
export function Table<CK extends ColumnKey>({className, columns, children}: React.PropsWithChildren<InstanceProperties<CK>>)
export function Table<CK extends ColumnKey>({columns, children}: React.PropsWithChildren<InstanceProperties<CK>>)
{
return (
<table className={classes("smartable", className)}>
<table className={"smartable"}>
<thead>
<ColumnsHeadings columns={columns} />
</thead>

View file

@ -15,11 +15,6 @@ export type SmartableData<CK extends ColumnKey> = Promisable<(Promisable<RowDefi
*/
export interface SmartableProperties<CK extends ColumnKey>
{
/**
* Table custom class name.
*/
className?: string;
/**
* Table data.
*/

1365
yarn.lock

File diff suppressed because it is too large Load diff