@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
package/dist/Table.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import { T as a, a as t } from "./TableRow-
|
|
4
|
-
import { b as m, c as f, d as c, e as d } from "./TableRow-
|
|
3
|
+
import { T as a, a as t } from "./TableRow-C2VaotTp.js";
|
|
4
|
+
import { b as m, c as f, d as c, e as d } from "./TableRow-C2VaotTp.js";
|
|
5
5
|
import o from "react";
|
|
6
6
|
const b = (e) => /* @__PURE__ */ o.createElement(a, { ...e, footer: !0 });
|
|
7
7
|
export {
|
|
@@ -3,31 +3,36 @@
|
|
|
3
3
|
import s, { Suspense as b } from "react";
|
|
4
4
|
import * as r from "react-aria-components";
|
|
5
5
|
import n from "clsx";
|
|
6
|
-
import { S as
|
|
7
|
-
const
|
|
8
|
-
tableContainer:
|
|
9
|
-
table:
|
|
6
|
+
import { S as i } from "./SkeletonText-B5ZghZhO.js";
|
|
7
|
+
const d = "flow--table--table-container", f = "flow--table", N = "flow--table--header", u = "flow--table--body", w = "flow--table--footer", C = "flow--table--cell", h = "flow--table--column", c = {
|
|
8
|
+
tableContainer: d,
|
|
9
|
+
table: f,
|
|
10
10
|
header: N,
|
|
11
11
|
body: u,
|
|
12
12
|
footer: w,
|
|
13
13
|
cell: C,
|
|
14
|
-
column: h
|
|
14
|
+
column: h,
|
|
15
|
+
"vertical-align-middle": "flow--table--vertical-align-middle"
|
|
15
16
|
}, y = (t) => {
|
|
16
|
-
const { children: a, className: e,
|
|
17
|
-
|
|
18
|
-
},
|
|
17
|
+
const { children: a, className: e, verticalAlign: l = "top", ...o } = t, m = n(
|
|
18
|
+
c.table,
|
|
19
|
+
c[`vertical-align-${l}`],
|
|
20
|
+
e
|
|
21
|
+
);
|
|
22
|
+
return /* @__PURE__ */ s.createElement("div", { className: c.tableContainer }, /* @__PURE__ */ s.createElement(r.Table, { className: m, ...o }, a));
|
|
23
|
+
}, v = (t) => {
|
|
19
24
|
const { children: a, className: e, ...l } = t, o = n(c.body, e);
|
|
20
25
|
return /* @__PURE__ */ s.createElement(r.TableBody, { className: o, ...l }, a);
|
|
21
|
-
},
|
|
26
|
+
}, g = (t) => {
|
|
22
27
|
const { children: a, className: e, ...l } = t, o = n(c.cell, e);
|
|
23
|
-
return /* @__PURE__ */ s.createElement(r.Cell, { className: o, ...l }, /* @__PURE__ */ s.createElement(b, { fallback: /* @__PURE__ */ s.createElement(
|
|
24
|
-
},
|
|
28
|
+
return /* @__PURE__ */ s.createElement(r.Cell, { className: o, ...l }, /* @__PURE__ */ s.createElement(b, { fallback: /* @__PURE__ */ s.createElement(i, { width: "100px" }) }, a));
|
|
29
|
+
}, x = (t) => {
|
|
25
30
|
const { children: a, className: e, ...l } = t, o = n(c.column, e);
|
|
26
31
|
return /* @__PURE__ */ s.createElement(r.Column, { isRowHeader: !0, className: o, ...l }, a);
|
|
27
|
-
},
|
|
32
|
+
}, R = (t) => {
|
|
28
33
|
const { children: a, className: e, ...l } = t, o = n(c.header, e);
|
|
29
34
|
return /* @__PURE__ */ s.createElement(r.TableHeader, { className: o, ...l }, a);
|
|
30
|
-
},
|
|
35
|
+
}, H = (t) => {
|
|
31
36
|
const { children: a, className: e, footer: l, ...o } = t;
|
|
32
37
|
return /* @__PURE__ */ s.createElement(
|
|
33
38
|
r.Row,
|
|
@@ -43,10 +48,10 @@ const f = "flow--table--table-container", i = "flow--table", N = "flow--table--h
|
|
|
43
48
|
);
|
|
44
49
|
};
|
|
45
50
|
export {
|
|
46
|
-
|
|
51
|
+
H as T,
|
|
47
52
|
y as a,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
53
|
+
v as b,
|
|
54
|
+
g as c,
|
|
55
|
+
x as d,
|
|
56
|
+
R as e
|
|
52
57
|
};
|