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

ka-table

Package Overview
Dependencies
Maintainers
1
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ka-table - npm Package Compare versions

Comparing version 7.14.1 to 7.15.0

Components/GroupExpandButton/GroupExpandButton.d.ts

8

Components/EmptyCell/EmptyCell.js

@@ -44,3 +44,3 @@ "use strict";

var EmptyCell = function (props) {
var index = props.index, isTh = props.isTh, isColGroup = props.isColGroup, childComponents = props.childComponents;
var isTh = props.isTh, isColGroup = props.isColGroup, childComponents = props.childComponents;
var elementAttributes = (0, ComponentUtils_1.getElementCustomization)({

@@ -50,7 +50,7 @@ className: 'ka-empty-cell' + (isTh ? " ".concat(defaultOptions_1.default.css.theadBackground, " ").concat(defaultOptions_1.default.css.theadFixed) : ''),

return isColGroup
? React.createElement("col", { key: index })
? React.createElement("col", null)
: isTh
? React.createElement("th", __assign({ key: index }, elementAttributes))
: React.createElement("td", __assign({ key: index }, elementAttributes));
? React.createElement("th", __assign({}, elementAttributes))
: React.createElement("td", __assign({}, elementAttributes));
};
exports.default = EmptyCell;

@@ -52,4 +52,4 @@ "use strict";

var EmptyCells = function (props) {
return (React.createElement(React.Fragment, null, __spreadArray([], Array(props.count), true).map(function (item, index) { return React.createElement(EmptyCell_1.default, __assign({}, props, { index: index })); })));
return (React.createElement(React.Fragment, null, __spreadArray([], Array(props.count), true).map(function (item, index) { return React.createElement(EmptyCell_1.default, __assign({ key: index, index: index }, props)); })));
};
exports.default = EmptyCells;

@@ -18,8 +18,8 @@ "use strict";

var EmptyCells_1 = __importDefault(require("../EmptyCells/EmptyCells"));
var GroupExpandButton_1 = __importDefault(require("../GroupExpandButton/GroupExpandButton"));
var react_1 = __importDefault(require("react"));
var defaultOptions_1 = __importDefault(require("../../defaultOptions"));
var ComponentUtils_1 = require("../../Utils/ComponentUtils");
var actionCreators_1 = require("../../actionCreators");
var GroupRowContent = function (props) {
var childComponents = props.childComponents, contentColSpan = props.contentColSpan, dispatch = props.dispatch, groupIndex = props.groupIndex, groupKey = props.groupKey, isExpanded = props.isExpanded, text = props.text;
var childComponents = props.childComponents, contentColSpan = props.contentColSpan, groupIndex = props.groupIndex, text = props.text;
var _a = (0, ComponentUtils_1.getElementCustomization)({

@@ -33,8 +33,5 @@ className: defaultOptions_1.default.css.groupCell,

react_1.default.createElement("div", { className: 'ka-group-cell-content' },
react_1.default.createElement("div", { onClick: function () {
dispatch((0, actionCreators_1.updateGroupsExpanded)(groupKey));
}, className: isExpanded
? defaultOptions_1.default.css.iconGroupArrowExpanded : defaultOptions_1.default.css.iconGroupArrowCollapsed }),
react_1.default.createElement(GroupExpandButton_1.default, __assign({}, props)),
content || react_1.default.createElement("div", { className: 'ka-group-text' }, text)))));
};
exports.default = GroupRowContent;

@@ -16,2 +16,3 @@ import { ICellEditorProps, ICellProps, ICellTextProps, IDataRowProps, IEmptyCellProps, IFilterRowEditorProps, IGroupPanelCellProps, IGroupPanelProps, IGroupRowProps, IGroupSummaryCellProps, IGroupSummaryRowProps, IHeadCellProps, IHeadCellResizeProps, IHeadRowProps, IHeaderFilterButtonProps, ILoadingProps, INoDataRowProps, IPagingIndexProps, IPagingProps, IPagingSizeProps, IPopupContentItemProps, IPopupContentProps, ISortIconProps, ISummaryCellProps, ISummaryRowProps, ITableBodyProps, ITableFootProps, ITableHeadProps } from '../props';

groupPanelCell?: ChildComponent<IGroupPanelCellProps>;
groupExpandButton?: ChildComponent<IGroupRowProps>;
groupCell?: ChildComponent<IGroupRowProps>;

@@ -18,0 +19,0 @@ groupRow?: ChildComponent<IGroupRowProps>;

{
"name": "ka-table",
"version": "7.14.1",
"version": "7.15.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": "github:komarovalexander/ka-table",

@@ -225,3 +225,3 @@ import { ChildComponents, Column, EditableCell, Group, VirtualScrolling } from './models';

export interface IEmptyCellProps {
index: number;
index?: number;
isTh?: boolean;

@@ -228,0 +228,0 @@ isColGroup?: boolean;

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