Socket
Socket
Sign inDemoInstall

@blueprintjs/table

Package Overview
Dependencies
5
Maintainers
1
Versions
257
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.20.0 to 1.21.0

1

dist/cell/cell.d.ts

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

/// <reference types="react" />
import * as React from "react";

@@ -2,0 +3,0 @@ import { IIntentProps, IProps } from "@blueprintjs/core";

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
import * as React from "react";

@@ -2,0 +3,0 @@ import { ITruncatedFormatProps } from "./truncatedFormat";

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
import * as React from "react";

@@ -2,0 +3,0 @@ import { IProps } from "@blueprintjs/core";

@@ -61,2 +61,3 @@ export declare const TABLE_BODY = "bp-table-body";

export declare const TABLE_TH_MENU_CONTAINER_BACKGROUND = "bp-table-th-menu-container-background";
export declare const TABLE_TH_MENU_OPEN = "bp-table-th-menu-open";
export declare const TABLE_THEAD = "bp-table-thead";

@@ -63,0 +64,0 @@ export declare const TABLE_TOP_CONTAINER = "bp-table-top-container";

@@ -69,2 +69,3 @@ /*

exports.TABLE_TH_MENU_CONTAINER_BACKGROUND = "bp-table-th-menu-container-background";
exports.TABLE_TH_MENU_OPEN = "bp-table-th-menu-open";
exports.TABLE_THEAD = "bp-table-thead";

@@ -71,0 +72,0 @@ exports.TABLE_TOP_CONTAINER = "bp-table-top-container";

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2017 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
import * as React from "react";

@@ -2,0 +3,0 @@ export interface ILoadableContentProps {

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
import * as React from "react";

@@ -2,0 +3,0 @@ import { IColumnIndices } from "../common/grid";

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

/// <reference types="react" />
import * as React from "react";

@@ -49,4 +50,7 @@ import { AbstractComponent, IProps } from "@blueprintjs/core";

}
export interface IColumnHeaderCellState {
isActive?: boolean;
}
export declare function HorizontalCellDivider(): JSX.Element;
export declare class ColumnHeaderCell extends AbstractComponent<IColumnHeaderCellProps, {}> {
export declare class ColumnHeaderCell extends AbstractComponent<IColumnHeaderCellProps, IColumnHeaderCellState> {
static defaultProps: IColumnHeaderCellProps;

@@ -61,2 +65,5 @@ /**

static isHeaderMouseTarget(target: HTMLElement): boolean;
state: {
isActive: boolean;
};
render(): JSX.Element;

@@ -63,0 +70,0 @@ protected validateProps(nextProps: IColumnHeaderCellProps): void;

@@ -25,2 +25,5 @@ /**

var _this = _super !== null && _super.apply(this, arguments) || this;
_this.state = {
isActive: false,
};
_this.handlePopoverDidOpen = function () {

@@ -104,2 +107,5 @@ _this.setState({ isActive: true });

}];
var classes = classNames(Classes.TABLE_TH_MENU_CONTAINER, (_b = {},
_b[Classes.TABLE_TH_MENU_OPEN] = this.state.isActive,
_b));
// prefer renderMenu if it's defined

@@ -109,6 +115,7 @@ var content = core_1.Utils.isFunction(renderMenu)

: menu;
return (React.createElement("div", { className: Classes.TABLE_TH_MENU_CONTAINER },
return (React.createElement("div", { className: classes },
React.createElement("div", { className: Classes.TABLE_TH_MENU_CONTAINER_BACKGROUND }),
React.createElement(core_1.Popover, { tetherOptions: { constraints: constraints }, content: content, position: core_1.Position.BOTTOM, className: Classes.TABLE_TH_MENU, popoverDidOpen: this.handlePopoverDidOpen, popoverWillClose: this.handlePopoverWillClose, useSmartArrowPositioning: true },
React.createElement("span", { className: popoverTargetClasses }))));
var _b;
};

@@ -115,0 +122,0 @@ return ColumnHeaderCell;

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
import * as React from "react";

@@ -2,0 +3,0 @@ import { Grid, Rect } from "../common";

12

dist/headers/header.js

@@ -15,3 +15,3 @@ /**

var Classes = require("../common/classes");
var index_1 = require("../index");
var utils_1 = require("../common/utils");
var reorderable_1 = require("../interactions/reorderable");

@@ -141,4 +141,4 @@ var resizable_1 = require("../interactions/resizable");

var resetKeysBlacklist = { exclude: RESET_CELL_KEYS_BLACKLIST };
var shouldResetBatcher = !index_1.Utils.shallowCompareKeys(this.props, nextProps, resetKeysBlacklist);
shouldResetBatcher = shouldResetBatcher || !index_1.Utils.shallowCompareKeys(this.state, nextState);
var shouldResetBatcher = !utils_1.Utils.shallowCompareKeys(this.props, nextProps, resetKeysBlacklist);
shouldResetBatcher = shouldResetBatcher || !utils_1.Utils.shallowCompareKeys(this.state, nextState);
if (shouldResetBatcher) {

@@ -160,3 +160,3 @@ this.batcher.reset();

React.createElement("div", { className: Classes.TABLE_REORDER_HANDLE },
React.createElement("span", { className: core_1.Classes.iconClass("drag-handle-vertical") }))));
React.createElement("span", { className: classNames(core_1.Classes.ICON_STANDARD, core_1.IconClasses.DRAG_HANDLE_VERTICAL) }))));
};

@@ -184,3 +184,3 @@ Header.prototype.isColumnHeader = function () {

function shouldHeaderComponentUpdate(props, nextProps, isSelectedRegionRelevant) {
if (!index_1.Utils.shallowCompareKeys(props, nextProps, { exclude: ["selectedRegions"] })) {
if (!utils_1.Utils.shallowCompareKeys(props, nextProps, { exclude: ["selectedRegions"] })) {
return true;

@@ -193,3 +193,3 @@ }

if (relevantSelectedRegions.length > 0 || nextRelevantSelectedRegions.length > 0) {
return !index_1.Utils.deepCompareKeys(relevantSelectedRegions, nextRelevantSelectedRegions);
return !utils_1.Utils.deepCompareKeys(relevantSelectedRegions, nextRelevantSelectedRegions);
}

@@ -196,0 +196,0 @@ return false;

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

/// <reference types="react" />
import * as React from "react";

@@ -2,0 +3,0 @@ import { IProps } from "@blueprintjs/core";

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

/// <reference types="react" />
import * as React from "react";

@@ -2,0 +3,0 @@ import { IRowIndices } from "../common/grid";

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

/// <reference types="react" />
import { AbstractComponent, IProps } from "@blueprintjs/core";

@@ -2,0 +3,0 @@ import { IHeaderCellProps } from "./headerCell";

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
import * as React from "react";

@@ -2,0 +3,0 @@ import { ICoordinateData } from "../interactions/draggable";

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
import * as React from "react";

@@ -2,0 +3,0 @@ import { IFocusedCellCoordinates } from "../common/cell";

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

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

/// <reference types="react" />
/**

@@ -2,0 +3,0 @@ * Copyright 2016 Palantir Technologies, Inc. All rights reserved.

{
"name": "@blueprintjs/table",
"version": "1.20.0",
"version": "1.21.0",
"description": "Scalable interactive table component",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -68,2 +68,3 @@ /*

export const TABLE_TH_MENU_CONTAINER_BACKGROUND = "bp-table-th-menu-container-background";
export const TABLE_TH_MENU_OPEN = "bp-table-th-menu-open";
export const TABLE_THEAD = "bp-table-thead";

@@ -70,0 +71,0 @@ export const TABLE_TOP_CONTAINER = "bp-table-top-container";

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 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 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 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 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 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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc