@mittwald/flow-react-components 0.1.0-alpha.394 → 0.1.0-alpha.396
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/CHANGELOG.md +41 -0
- package/dist/css/ActionGroup.css +1 -1
- package/dist/css/CheckboxButton.css +1 -1
- package/dist/css/Table.css +1 -1
- package/dist/css/Text.css +1 -1
- package/dist/css/globals.css +1 -1
- package/dist/js/ActionGroup-cpOWMaBi.js +52 -0
- package/dist/js/ActionGroup.js +1 -1
- package/dist/js/Icons.js +121 -116
- package/dist/js/List.js +10 -9
- package/dist/js/Markdown.js +17 -16
- package/dist/js/all.css +1 -1
- package/dist/js/types/components/ActionGroup/stories/Default.stories.d.ts +1 -0
- package/dist/js/types/components/Icon/components/icons/IconCertificate.d.ts +4 -0
- package/dist/js/types/components/Icon/components/icons/IconDirectory.d.ts +4 -0
- package/dist/js/types/components/Icon/components/icons/IconMove.d.ts +4 -0
- package/dist/js/types/components/Icon/components/icons/IconSparkles.d.ts +4 -0
- package/dist/js/types/components/Icon/components/icons/IconVhost.d.ts +4 -0
- package/dist/js/types/components/Icon/components/icons/index.d.ts +5 -0
- package/dist/js/types/components/List/model/ReactTable.d.ts +2 -2
- package/package.json +4 -4
- package/dist/js/ActionGroup-Bd0aZvbX.js +0 -48
|
@@ -4,6 +4,7 @@ export { IconBackLink } from './IconBackLink';
|
|
|
4
4
|
export { IconBackup } from './IconBackup';
|
|
5
5
|
export { IconCamera } from './IconCamera';
|
|
6
6
|
export { IconChangelog } from './IconChangelog';
|
|
7
|
+
export { IconCertificate } from './IconCertificate';
|
|
7
8
|
export { IconCheck } from './IconCheck';
|
|
8
9
|
export { IconCheckboxChecked } from './IconCheckboxChecked';
|
|
9
10
|
export { IconCheckboxEmpty } from './IconCheckboxEmpty';
|
|
@@ -25,6 +26,7 @@ export { IconCustomer } from './IconCustomer';
|
|
|
25
26
|
export { IconDanger } from './IconDanger';
|
|
26
27
|
export { IconDashboard } from './IconDashboard';
|
|
27
28
|
export { IconDatabase } from './IconDatabase';
|
|
29
|
+
export { IconDirectory } from './IconDirectory';
|
|
28
30
|
export { IconCalendar } from './IconCalendar';
|
|
29
31
|
export { IconDelete } from './IconDelete';
|
|
30
32
|
export { IconDeliveryBox } from './IconDeliveryBox';
|
|
@@ -51,6 +53,7 @@ export { IconMaximize } from './IconMaximize';
|
|
|
51
53
|
export { IconMember } from './IconMember';
|
|
52
54
|
export { IconMenu } from './IconMenu';
|
|
53
55
|
export { IconMinimize } from './IconMinimize';
|
|
56
|
+
export { IconMove } from './IconMove';
|
|
54
57
|
export { IconMinus } from './IconMinus';
|
|
55
58
|
export { IconNotification } from './IconNotification';
|
|
56
59
|
export { IconNumber } from './IconNumber';
|
|
@@ -76,6 +79,7 @@ export { IconShow } from './IconShow';
|
|
|
76
79
|
export { IconSorting } from './IconSorting';
|
|
77
80
|
export { IconSpamProtectionOff } from './IconSpamProtectionOff';
|
|
78
81
|
export { IconSpamProtectionOn } from './IconSpamProtectionOn';
|
|
82
|
+
export { IconSparkles } from './IconSparkles';
|
|
79
83
|
export { IconSshKey } from './IconSshKey';
|
|
80
84
|
export { IconSshSftp } from './IconSshSftp';
|
|
81
85
|
export { IconStar } from './IconStar';
|
|
@@ -89,5 +93,6 @@ export { IconTicket } from './IconTicket';
|
|
|
89
93
|
export { IconUndo } from './IconUndo';
|
|
90
94
|
export { IconUser } from './IconUser';
|
|
91
95
|
export { IconView } from './IconView';
|
|
96
|
+
export { IconVhost } from './IconVhost';
|
|
92
97
|
export { IconWarning } from './IconWarning';
|
|
93
98
|
export { IconMittwald } from './IconMittwald';
|
|
@@ -9,11 +9,11 @@ export declare class ReactTable<T> {
|
|
|
9
9
|
readonly sortingState: ColumnSort[];
|
|
10
10
|
readonly updateSortingState: Dispatch<SetStateAction<ColumnSort[]>>;
|
|
11
11
|
private constructor();
|
|
12
|
+
get searchString(): SearchValue;
|
|
12
13
|
static useNew<T>(list: List<T>, onChange?: OnListChanged<T>, tableOptions?: Partial<TableOptions<T>>): ReactTable<T>;
|
|
14
|
+
getTableColumn(property: PropertyName<T>): Column<T>;
|
|
13
15
|
private useReactTable;
|
|
14
16
|
private handleSortingStateUpdate;
|
|
15
|
-
get searchString(): SearchValue;
|
|
16
|
-
getTableColumn(property: PropertyName<T>): Column<T>;
|
|
17
17
|
private getTableColumnDefs;
|
|
18
18
|
}
|
|
19
19
|
export default ReactTable;
|
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.396",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"@chakra-ui/live-region": "^2.1.0",
|
|
426
426
|
"@internationalized/date": "^3.6.0",
|
|
427
427
|
"@internationalized/string-compiler": "^3.2.6",
|
|
428
|
-
"@mittwald/react-tunnel": "^0.1.0-alpha.
|
|
428
|
+
"@mittwald/react-tunnel": "^0.1.0-alpha.396",
|
|
429
429
|
"@mittwald/react-use-promise": "^2.6.0",
|
|
430
430
|
"@react-aria/form": "^3.0.11",
|
|
431
431
|
"@react-aria/utils": "^3.26.0",
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
},
|
|
457
457
|
"devDependencies": {
|
|
458
458
|
"@faker-js/faker": "^9.2.0",
|
|
459
|
-
"@mittwald/flow-design-tokens": "^0.1.0-alpha.
|
|
459
|
+
"@mittwald/flow-design-tokens": "^0.1.0-alpha.396",
|
|
460
460
|
"@mittwald/react-use-promise": "^2.6.0",
|
|
461
461
|
"@nx/storybook": "^20.1.3",
|
|
462
462
|
"@storybook/addon-a11y": "^8.4.5",
|
|
@@ -551,5 +551,5 @@
|
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
},
|
|
554
|
-
"gitHead": "
|
|
554
|
+
"gitHead": "2eb33186923e76f65970b1d5790555df90b753ef"
|
|
555
555
|
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
import o from "react";
|
|
4
|
-
import "./propsContext-DzAKlmhS.js";
|
|
5
|
-
import { PropsContextProvider as w } from "./PropsContextProvider.js";
|
|
6
|
-
import "@react-aria/utils";
|
|
7
|
-
import "remeda";
|
|
8
|
-
import { d as n } from "./dynamic-ClpUSmEt.js";
|
|
9
|
-
import e from "clsx";
|
|
10
|
-
import { f as C } from "./flowComponent-BQs9wMX_.js";
|
|
11
|
-
import { TunnelProvider as G } from "@mittwald/react-tunnel";
|
|
12
|
-
import { A as y, g as a } from "./getActionGroupSlot-BHzMGEA7.js";
|
|
13
|
-
const x = "flow--action-group", A = "flow--action-group--primary", N = "flow--action-group--secondary", P = "flow--action-group--abort", k = "flow--action-group--action-group-container", v = "flow--action-group--ignore-breakpoint", B = "flow--action-group--s", E = "flow--action-group--m", t = {
|
|
14
|
-
actionGroup: x,
|
|
15
|
-
primary: A,
|
|
16
|
-
secondary: N,
|
|
17
|
-
abort: P,
|
|
18
|
-
actionGroupContainer: k,
|
|
19
|
-
ignoreBreakpoint: v,
|
|
20
|
-
s: B,
|
|
21
|
-
m: E
|
|
22
|
-
}, F = C("ActionGroup", (i) => {
|
|
23
|
-
const {
|
|
24
|
-
children: c,
|
|
25
|
-
className: s,
|
|
26
|
-
refProp: p,
|
|
27
|
-
ignoreBreakpoint: m,
|
|
28
|
-
spacing: l = "s",
|
|
29
|
-
...u
|
|
30
|
-
} = i, f = e(
|
|
31
|
-
t.actionGroupContainer,
|
|
32
|
-
s,
|
|
33
|
-
m && t.ignoreBreakpoint,
|
|
34
|
-
t[l]
|
|
35
|
-
), g = {
|
|
36
|
-
Button: {
|
|
37
|
-
slot: n((r) => a(r)),
|
|
38
|
-
className: n((r) => {
|
|
39
|
-
const d = a(r);
|
|
40
|
-
return e(r.className, t[d]);
|
|
41
|
-
})
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
return /* @__PURE__ */ o.createElement(y, null, /* @__PURE__ */ o.createElement(w, { props: g, mergeInParentContext: !0 }, /* @__PURE__ */ o.createElement(G, null, /* @__PURE__ */ o.createElement("div", { ...u, className: f, ref: p }, /* @__PURE__ */ o.createElement("div", { className: t.actionGroup, role: "group" }, c)))));
|
|
45
|
-
});
|
|
46
|
-
export {
|
|
47
|
-
F as A
|
|
48
|
-
};
|