@mittwald/flow-react-components 0.1.0-alpha.279 → 0.1.0-alpha.280
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/IconView-CelEa7lf.js +13 -0
- package/dist/Icons.js +108 -108
- package/dist/List.js +351 -334
- package/dist/Table.js +2 -2
- package/dist/{TableRow-DNTJVTkO.js → TableRow-C2VaotTp.js} +23 -18
- package/dist/styles.css +1 -1
- package/dist/types/components/List/model/List.d.ts +1 -0
- package/dist/types/components/List/model/filter/Filter.d.ts +1 -0
- package/dist/types/components/List/typedList.d.ts +1 -0
- package/dist/types/components/Table/Table.d.ts +3 -1
- package/dist/types/components/Table/stories/Default.stories.d.ts +1 -0
- package/package.json +4 -4
- package/dist/IconView-D_nWltIo.js +0 -12
|
@@ -37,6 +37,7 @@ export declare class Filter<T, TProp extends PropertyName<T>, TMatchValue> {
|
|
|
37
37
|
hasChanged(): boolean;
|
|
38
38
|
private getInitialValues;
|
|
39
39
|
resetValues(): void;
|
|
40
|
+
clear(): void;
|
|
40
41
|
toggleValue(newValue: FilterValue): void;
|
|
41
42
|
onFilterUpdated(cb: () => unknown): void;
|
|
42
43
|
}
|
|
@@ -78,6 +78,7 @@ export declare const typedList: <T>() => {
|
|
|
78
78
|
dragAndDropHooks?: import('react-aria-components').DragAndDropHooks | undefined;
|
|
79
79
|
sortDescriptor?: import('react-stately').SortDescriptor | undefined;
|
|
80
80
|
onSortChange?: ((descriptor: import('react-stately').SortDescriptor) => any) | undefined;
|
|
81
|
+
verticalAlign?: ("top" | "middle") | undefined;
|
|
81
82
|
disabledBehavior?: import('react-stately').DisabledBehavior | undefined;
|
|
82
83
|
onRowAction?: ((key: import('react-aria').Key) => void) | undefined;
|
|
83
84
|
}) => null;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import * as Aria from "react-aria-components";
|
|
3
|
-
export type TableProps = Aria.TableProps
|
|
3
|
+
export type TableProps = Aria.TableProps & {
|
|
4
|
+
verticalAlign?: "top" | "middle";
|
|
5
|
+
};
|
|
4
6
|
export declare const Table: FC<TableProps>;
|
|
5
7
|
export default Table;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.280",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
"@chakra-ui/live-region": "^2.1.0",
|
|
314
314
|
"@internationalized/date": "^3.5.6",
|
|
315
315
|
"@internationalized/string-compiler": "^3.2.5",
|
|
316
|
-
"@mittwald/react-tunnel": "^0.1.0-alpha.
|
|
316
|
+
"@mittwald/react-tunnel": "^0.1.0-alpha.280",
|
|
317
317
|
"@mittwald/react-use-promise": "^2.5.0",
|
|
318
318
|
"@react-aria/utils": "^3.25.3",
|
|
319
319
|
"@react-types/shared": "^3.25.0",
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
},
|
|
341
341
|
"devDependencies": {
|
|
342
342
|
"@faker-js/faker": "^9.0.3",
|
|
343
|
-
"@mittwald/flow-design-tokens": "^0.1.0-alpha.
|
|
343
|
+
"@mittwald/flow-design-tokens": "^0.1.0-alpha.280",
|
|
344
344
|
"@mittwald/react-use-promise": "^2.5.0",
|
|
345
345
|
"@nx/storybook": "^20.0.0",
|
|
346
346
|
"@storybook/addon-a11y": "^8.3.5",
|
|
@@ -417,5 +417,5 @@
|
|
|
417
417
|
"optional": true
|
|
418
418
|
}
|
|
419
419
|
},
|
|
420
|
-
"gitHead": "
|
|
420
|
+
"gitHead": "e10935303d472237c2c72b575460ea1286ae3c5c"
|
|
421
421
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
import e from "react";
|
|
4
|
-
import { IconFilter as c, IconDeviceFloppy as o, IconArrowsUpDown as r, IconList as l } from "@tabler/icons-react";
|
|
5
|
-
import { I as n } from "./Icon-C5gtbUkg.js";
|
|
6
|
-
const I = (t) => /* @__PURE__ */ e.createElement(n, { ...t }, /* @__PURE__ */ e.createElement(c, null)), i = (t) => /* @__PURE__ */ e.createElement(n, { ...t }, /* @__PURE__ */ e.createElement(o, null)), E = (t) => /* @__PURE__ */ e.createElement(n, { ...t }, /* @__PURE__ */ e.createElement(r, null)), p = (t) => /* @__PURE__ */ e.createElement(n, { ...t }, /* @__PURE__ */ e.createElement(l, null));
|
|
7
|
-
export {
|
|
8
|
-
I,
|
|
9
|
-
i as a,
|
|
10
|
-
E as b,
|
|
11
|
-
p as c
|
|
12
|
-
};
|