jitz-sharepoint-utilities 2.0.20 → 2.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -445,9 +445,9 @@ export class JitzGrid<T extends IModel> extends React.Component<
445
445
  this.state.showingItems.length > 0) && (
446
446
  <div className="ms-Grid-row">
447
447
  <div className="ms-Grid-col ms-sm12 ms-md12 ms-lg12">
448
- <div className={this.props.outerGridClass || ""}>
449
- <div className={this.props.fixedGridWidthCss || ""}>
450
- {this.state.displayMode === DisplayMode.Grid && (
448
+ {this.state.displayMode === DisplayMode.Grid && (
449
+ <div className={this.props.outerGridClass || ""}>
450
+ <div className={this.props.fixedGridWidthCss || ""}>
451
451
  <DetailsList
452
452
  items={
453
453
  this.state.showingItems != undefined
@@ -471,9 +471,9 @@ export class JitzGrid<T extends IModel> extends React.Component<
471
471
  }
472
472
  selection={this._selection}
473
473
  />
474
- )}
474
+ </div>
475
475
  </div>
476
- </div>
476
+ )}
477
477
  {this.state.displayMode === DisplayMode.Tile &&
478
478
  this.state.showingItems != undefined &&
479
479
  this.state.showingItems.length > 0 &&
@@ -567,12 +567,13 @@ var JitzGrid = /** @class */ (function (_super) {
567
567
  (this.state.showingItems == undefined ||
568
568
  this.state.showingItems.length > 0) && (React.createElement("div", { className: "ms-Grid-row" },
569
569
  React.createElement("div", { className: "ms-Grid-col ms-sm12 ms-md12 ms-lg12" },
570
- React.createElement("div", { className: this.props.outerGridClass || "" },
571
- React.createElement("div", { className: this.props.fixedGridWidthCss || "" }, this.state.displayMode === DisplayMode.Grid && (React.createElement(react_1.DetailsList, { items: this.state.showingItems != undefined
572
- ? this.state.showingItems
573
- : [], setKey: "Id", columns: this.state.columns, onRenderItemColumn: this._renderItemColumn, onColumnHeaderClick: this._onColumnClick, onItemInvoked: this._onItemInvoked, onShouldVirtualize: function () { return false; }, onColumnHeaderContextMenu: this._onColumnHeaderContextMenu, onActiveItemChanged: function (item, index) {
574
- _this.itemSelected(item, index);
575
- }, selectionMode: this.props.selectionMode || react_1.SelectionMode.none, selection: this._selection })))),
570
+ this.state.displayMode === DisplayMode.Grid && (React.createElement("div", { className: this.props.outerGridClass || "" },
571
+ React.createElement("div", { className: this.props.fixedGridWidthCss || "" },
572
+ React.createElement(react_1.DetailsList, { items: this.state.showingItems != undefined
573
+ ? this.state.showingItems
574
+ : [], setKey: "Id", columns: this.state.columns, onRenderItemColumn: this._renderItemColumn, onColumnHeaderClick: this._onColumnClick, onItemInvoked: this._onItemInvoked, onShouldVirtualize: function () { return false; }, onColumnHeaderContextMenu: this._onColumnHeaderContextMenu, onActiveItemChanged: function (item, index) {
575
+ _this.itemSelected(item, index);
576
+ }, selectionMode: this.props.selectionMode || react_1.SelectionMode.none, selection: this._selection })))),
576
577
  this.state.displayMode === DisplayMode.Tile &&
577
578
  this.state.showingItems != undefined &&
578
579
  this.state.showingItems.length > 0 &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jitz-sharepoint-utilities",
3
- "version": "2.0.20",
3
+ "version": "2.0.21",
4
4
  "description": "Essential SharePoint utilities for SharePoint Add-in and SPFx development",
5
5
  "author": "Jithendra Mani",
6
6
  "license": "ISC",