@teselagen/ui 0.5.23-beta.20 → 0.5.23-beta.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.
package/index.cjs.js CHANGED
@@ -50266,7 +50266,7 @@ const DataTable = /* @__PURE__ */ __name((_G) => {
50266
50266
  },
50267
50267
  className: classNames(
50268
50268
  "with-row-data",
50269
- getRowClassName && getRowClassName(rowInfo, state, props),
50269
+ getRowClassName && getRowClassName(rowInfo, state),
50270
50270
  {
50271
50271
  disabled: rowDisabled,
50272
50272
  selected: rowSelected && !withCheckboxes,
@@ -50300,7 +50300,6 @@ const DataTable = /* @__PURE__ */ __name((_G) => {
50300
50300
  onRowClick,
50301
50301
  onRowSelect,
50302
50302
  onSingleRowSelect,
50303
- props,
50304
50303
  reduxFormSelectedEntityIdMap,
50305
50304
  selectedCells,
50306
50305
  showContextMenu2,
@@ -50694,7 +50693,14 @@ const DataTable = /* @__PURE__ */ __name((_G) => {
50694
50693
  getTrGroupProps: getTableRowProps,
50695
50694
  getTdProps: getTableCellProps,
50696
50695
  NoDataComponent: ({ children: children2 }) => isLoading ? null : /* @__PURE__ */ React$1.createElement("div", { className: "rt-noData" }, noRowsFoundMessage || children2),
50697
- LoadingComponent: (props2) => /* @__PURE__ */ React$1.createElement(DisabledLoadingComponent, __spreadProps(__spreadValues({}, props2), { disabled })),
50696
+ LoadingComponent: ({ loadingText, loading }) => /* @__PURE__ */ React$1.createElement(
50697
+ DisabledLoadingComponent,
50698
+ {
50699
+ loading,
50700
+ loadingText,
50701
+ disabled
50702
+ }
50703
+ ),
50698
50704
  style: __spreadValues({
50699
50705
  maxHeight,
50700
50706
  minHeight: 150
package/index.es.js CHANGED
@@ -50248,7 +50248,7 @@ const DataTable = /* @__PURE__ */ __name((_G) => {
50248
50248
  },
50249
50249
  className: classNames(
50250
50250
  "with-row-data",
50251
- getRowClassName && getRowClassName(rowInfo, state, props),
50251
+ getRowClassName && getRowClassName(rowInfo, state),
50252
50252
  {
50253
50253
  disabled: rowDisabled,
50254
50254
  selected: rowSelected && !withCheckboxes,
@@ -50282,7 +50282,6 @@ const DataTable = /* @__PURE__ */ __name((_G) => {
50282
50282
  onRowClick,
50283
50283
  onRowSelect,
50284
50284
  onSingleRowSelect,
50285
- props,
50286
50285
  reduxFormSelectedEntityIdMap,
50287
50286
  selectedCells,
50288
50287
  showContextMenu2,
@@ -50676,7 +50675,14 @@ const DataTable = /* @__PURE__ */ __name((_G) => {
50676
50675
  getTrGroupProps: getTableRowProps,
50677
50676
  getTdProps: getTableCellProps,
50678
50677
  NoDataComponent: ({ children: children2 }) => isLoading ? null : /* @__PURE__ */ React__default.createElement("div", { className: "rt-noData" }, noRowsFoundMessage || children2),
50679
- LoadingComponent: (props2) => /* @__PURE__ */ React__default.createElement(DisabledLoadingComponent, __spreadProps(__spreadValues({}, props2), { disabled })),
50678
+ LoadingComponent: ({ loadingText, loading }) => /* @__PURE__ */ React__default.createElement(
50679
+ DisabledLoadingComponent,
50680
+ {
50681
+ loading,
50682
+ loadingText,
50683
+ disabled
50684
+ }
50685
+ ),
50680
50686
  style: __spreadValues({
50681
50687
  maxHeight,
50682
50688
  minHeight: 150
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ui",
3
- "version": "0.5.23-beta.20",
3
+ "version": "0.5.23-beta.21",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -2315,7 +2315,7 @@ const DataTable = ({
2315
2315
  },
2316
2316
  className: classNames(
2317
2317
  "with-row-data",
2318
- getRowClassName && getRowClassName(rowInfo, state, props),
2318
+ getRowClassName && getRowClassName(rowInfo, state),
2319
2319
  {
2320
2320
  disabled: rowDisabled,
2321
2321
  selected: rowSelected && !withCheckboxes,
@@ -2349,7 +2349,6 @@ const DataTable = ({
2349
2349
  onRowClick,
2350
2350
  onRowSelect,
2351
2351
  onSingleRowSelect,
2352
- props,
2353
2352
  reduxFormSelectedEntityIdMap,
2354
2353
  selectedCells,
2355
2354
  showContextMenu,
@@ -2804,8 +2803,12 @@ const DataTable = ({
2804
2803
  <div className="rt-noData">{noRowsFoundMessage || children}</div>
2805
2804
  )
2806
2805
  }
2807
- LoadingComponent={props => (
2808
- <DisabledLoadingComponent {...props} disabled={disabled} />
2806
+ LoadingComponent={({ loadingText, loading }) => (
2807
+ <DisabledLoadingComponent
2808
+ loading={loading}
2809
+ loadingText={loadingText}
2810
+ disabled={disabled}
2811
+ />
2809
2812
  )}
2810
2813
  style={{
2811
2814
  maxHeight,