@faasjs/ant-design 1.7.0 → 1.7.2

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/dist/index.js CHANGED
@@ -1537,7 +1537,8 @@ function FaasDataTable({
1537
1537
  columns,
1538
1538
  data,
1539
1539
  params,
1540
- reload
1540
+ reload,
1541
+ loading
1541
1542
  }) {
1542
1543
  const [currentColumns, setCurrentColumns] = react$1.useState(columns);
1543
1544
  react$1.useEffect(() => {
@@ -1581,7 +1582,7 @@ function FaasDataTable({
1581
1582
  antd.Table,
1582
1583
  {
1583
1584
  ...props,
1584
- loading: props.loading,
1585
+ loading,
1585
1586
  rowKey: props.rowKey || "id",
1586
1587
  columns: currentColumns,
1587
1588
  dataSource: []
@@ -1592,7 +1593,7 @@ function FaasDataTable({
1592
1593
  antd.Table,
1593
1594
  {
1594
1595
  ...props,
1595
- loading: props.loading,
1596
+ loading,
1596
1597
  rowKey: props.rowKey || "id",
1597
1598
  columns: currentColumns,
1598
1599
  dataSource: data
@@ -1602,7 +1603,7 @@ function FaasDataTable({
1602
1603
  antd.Table,
1603
1604
  {
1604
1605
  ...props,
1605
- loading: props.loading,
1606
+ loading,
1606
1607
  rowKey: props.rowKey || "id",
1607
1608
  columns: currentColumns,
1608
1609
  dataSource: data.rows,
package/dist/index.mjs CHANGED
@@ -1533,7 +1533,8 @@ function FaasDataTable({
1533
1533
  columns,
1534
1534
  data,
1535
1535
  params,
1536
- reload
1536
+ reload,
1537
+ loading
1537
1538
  }) {
1538
1539
  const [currentColumns, setCurrentColumns] = useState(columns);
1539
1540
  useEffect(() => {
@@ -1577,7 +1578,7 @@ function FaasDataTable({
1577
1578
  Table$1,
1578
1579
  {
1579
1580
  ...props,
1580
- loading: props.loading,
1581
+ loading,
1581
1582
  rowKey: props.rowKey || "id",
1582
1583
  columns: currentColumns,
1583
1584
  dataSource: []
@@ -1588,7 +1589,7 @@ function FaasDataTable({
1588
1589
  Table$1,
1589
1590
  {
1590
1591
  ...props,
1591
- loading: props.loading,
1592
+ loading,
1592
1593
  rowKey: props.rowKey || "id",
1593
1594
  columns: currentColumns,
1594
1595
  dataSource: data
@@ -1598,7 +1599,7 @@ function FaasDataTable({
1598
1599
  Table$1,
1599
1600
  {
1600
1601
  ...props,
1601
- loading: props.loading,
1602
+ loading,
1602
1603
  rowKey: props.rowKey || "id",
1603
1604
  columns: currentColumns,
1604
1605
  dataSource: data.rows,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/ant-design",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -26,7 +26,7 @@
26
26
  "lodash-es": "*"
27
27
  },
28
28
  "peerDependencies": {
29
- "@faasjs/react": "1.7.0",
29
+ "@faasjs/react": "1.7.2",
30
30
  "antd": "*",
31
31
  "react": "*",
32
32
  "react-dom": "*",
@@ -38,7 +38,7 @@
38
38
  "@testing-library/react": "*",
39
39
  "@testing-library/user-event": "*",
40
40
  "@welldone-software/why-did-you-render": "*",
41
- "@faasjs/react": "1.7.0",
41
+ "@faasjs/react": "1.7.2",
42
42
  "antd": "*",
43
43
  "react": "*",
44
44
  "react-dom": "*",