@mittwald/flow-react-components 0.1.0-alpha.142 → 0.1.0-alpha.143

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.
Files changed (2) hide show
  1. package/dist/List.js +3 -5
  2. package/package.json +4 -4
package/dist/List.js CHANGED
@@ -521,16 +521,14 @@ class k {
521
521
  }
522
522
  getBatchDataAsyncResource(t) {
523
523
  const e = this.dataSource, a = this.getDataLoaderOptions(t);
524
- if ("staticData" in e) {
525
- const i = e.staticData;
524
+ if ("staticData" in e)
526
525
  return V(
527
- async () => ({
526
+ async (i) => ({
528
527
  data: i,
529
528
  itemTotalCount: i.length
530
529
  }),
531
- []
530
+ [e.staticData]
532
531
  );
533
- }
534
532
  if ("asyncLoader" in e) {
535
533
  const i = e.asyncLoader;
536
534
  return V(i, [a]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.1.0-alpha.142",
3
+ "version": "0.1.0-alpha.143",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -276,7 +276,7 @@
276
276
  "dependencies": {
277
277
  "@chakra-ui/live-region": "^2.1.0",
278
278
  "@internationalized/string-compiler": "^3.2.4",
279
- "@mittwald/react-tunnel": "^0.1.0-alpha.142",
279
+ "@mittwald/react-tunnel": "^0.1.0-alpha.143",
280
280
  "@mittwald/react-use-promise": "^2.3.13",
281
281
  "@react-aria/utils": "^3.24.1",
282
282
  "@react-types/shared": "^3.23.1",
@@ -303,7 +303,7 @@
303
303
  },
304
304
  "devDependencies": {
305
305
  "@faker-js/faker": "^8.4.1",
306
- "@mittwald/flow-design-tokens": "^0.1.0-alpha.142",
306
+ "@mittwald/flow-design-tokens": "^0.1.0-alpha.143",
307
307
  "@mittwald/react-use-promise": "^2.3.13",
308
308
  "@nx/storybook": "^19.2.3",
309
309
  "@storybook/addon-a11y": "^8.1.6",
@@ -379,5 +379,5 @@
379
379
  "optional": true
380
380
  }
381
381
  },
382
- "gitHead": "75513ce9e761cb187633810c14e9b4793f345aff"
382
+ "gitHead": "077459e6e38dda5725ab2364681ff974d1c30280"
383
383
  }