New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mezzanine-ui/core

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mezzanine-ui/core - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

card/_card-styles.scss

2

package.json
{
"name": "@mezzanine-ui/core",
"version": "0.3.0",
"version": "0.3.1",
"description": "Core for mezzanine-ui",

@@ -5,0 +5,0 @@ "author": "Mezzanine",

@@ -26,10 +26,14 @@ export declare const tablePrefix = "mzn-table";

};
export declare type TableRecord = Record<string, unknown>;
export interface TableDataSource extends TableRecord {
key: string;
export declare type TableRecord<T> = Record<string, T>;
export interface TableDataSourceWithKey extends TableRecord<unknown> {
key: string | number;
}
export declare type TableColumn = {
export interface TableDataSourceWithID extends TableRecord<unknown> {
id: string | number;
}
export declare type TableDataSource = TableDataSourceWithKey | TableDataSourceWithID;
export declare type TableColumn<SourceType> = {
dataIndex: string;
title?: string;
render?(column: TableColumn, source: TableDataSource, index: number): any;
render?(column: TableColumn<SourceType>, source: SourceType, index: number): any;
renderTitle?(classes: typeof tableClasses): any;

@@ -41,5 +45,5 @@ align?: 'start' | 'center' | 'end';

sorter?(a: any, b: any): number;
onSorted?(sortedDataSource: TableDataSource[]): void;
onSorted?(sortedDataSource: SourceType[]): void;
editable?: boolean;
setCellProps?(record: TableDataSource): Record<string, unknown>;
setCellProps?(record: SourceType): TableRecord<unknown>;
/** @default true */

@@ -66,6 +70,6 @@ ellipsis?: boolean;

/** === Feature Expandable */
export interface TableExpandable {
export interface TableExpandable<SourceType> {
className?: string;
expandedRowRender(record: TableDataSource): any;
rowExpandable?(record: TableDataSource): boolean;
expandedRowRender(record: SourceType): any;
rowExpandable?(record: SourceType): boolean;
}

@@ -72,0 +76,0 @@ /** === Feature Pagination */

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