Socket
Socket
Sign inDemoInstall

@owlui/table

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@owlui/table - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

dist/index.js

8

package.json
{
"name": "@owlui/table",
"version": "0.0.16",
"version": "0.0.17",
"description": "",
"homepage": "https://github.com/EEBOS/owl-ui/tree/main/packages/table#readme",
"license": "MIT",
"type": "module",
"type": "commonjs",
"source": "src/index.ts",

@@ -36,5 +36,5 @@ "main": "dist/owl.table.js",

"@owlui/typings": "^0.0.1",
"@owlui/utils": "^0.0.16"
"@owlui/utils": "^0.0.17"
},
"gitHead": "6e79b186348dcc122b04d10958dda11767f29fd7"
"gitHead": "3d79b9fccee0b26c802d2b39b989d356c4c63ded"
}
import React from 'react';
export type TableRowItem = {
export interface TableRowItem {
[key: string]: string | number | boolean;
};
}
export type TableItems = Array<TableRowItem> | [];
export type TableColumnItem = {
export interface TableColumnItem {
label: string;
field: string;
};
}
export type TableColumns = Array<TableColumnItem> | [];
export type TableHeaderProps =
React.TableHTMLAttributes<HTMLTableCellElement> & {
columns: TableColumns;
};
export interface TableHeaderProps
extends React.TableHTMLAttributes<HTMLTableCellElement> {
columns: TableColumns;
}
export type TableBodyProps = React.TableHTMLAttributes<HTMLTableElement> & {
export interface TableBodyProps
extends React.TableHTMLAttributes<HTMLTableElement> {
items: TableItems;
columns: TableColumns;
};
}
export type TableRowProps = React.TableHTMLAttributes<HTMLTableRowElement> & {
export interface TableRowProps
extends React.TableHTMLAttributes<HTMLTableRowElement> {
item: TableRowItem;
columns: TableColumns;
};
}
export type TableCellProps = React.TableHTMLAttributes<HTMLTableCellElement> & {
export interface TableCellProps
extends React.TableHTMLAttributes<HTMLTableCellElement> {
children: React.ReactNode;
};
}
export type TableDefaultCommons = {
export interface TableDefaultCommons {
appearance?: 'Default' | 'Primary' | 'Secondary';

@@ -43,5 +46,5 @@ children: React.ReactNode;

theme?: 'Default' | 'Dark';
};
}
export type TableDefaultProps = Partial<TableDefaultCommons> &
React.TableHTMLAttributes<HTMLTableElement>;

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc