@mittwald/flow-react-components 0.1.0-alpha.86 → 0.1.0-alpha.87
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/Action-Bu-hapYW.js +176 -0
- package/dist/Action.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Breadcrumb.js +16 -18
- package/dist/Button-DJcL25jy.js +116 -0
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +14 -12
- package/dist/{Checkbox-PPWtxoYH.js → Checkbox-C8yHXTDv.js} +4 -4
- package/dist/Checkbox.js +1 -1
- package/dist/{CheckboxButton-B5OAcIK5.js → CheckboxButton-DaoWw8LD.js} +2 -2
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +3 -3
- package/dist/Content.js +1 -1
- package/dist/{ContextMenu-BeySGa4K.js → ContextMenu-B3m9vxOe.js} +1 -1
- package/dist/ContextMenu.js +2 -2
- package/dist/CopyButton.js +12 -12
- package/dist/FieldDescription.js +2 -2
- package/dist/{FieldError-b6CAH0ya.js → FieldError-CDPZJvma.js} +3 -3
- package/dist/FieldError.js +1 -1
- package/dist/Header.js +1 -1
- package/dist/HeaderNavigation.js +23 -21
- package/dist/Heading.js +1 -1
- package/dist/{Icon-DwHDa4pA.js → Icon-DpcNiaNb.js} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-CubzEVji.js → IconCheck-DDbrMURX.js} +1 -1
- package/dist/{IconCheckboxEmpty-BlU9hQOh.js → IconCheckboxEmpty-0Lz4T3u4.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-B-p8FuLS.js → IconCheckboxIndeterminate-p6GmeDnv.js} +1 -1
- package/dist/{IconChevronDown-C205topB.js → IconChevronDown-CbK0gKMB.js} +1 -1
- package/dist/{IconChevronRight-CFcrQPos.js → IconChevronRight-CJv9kuRZ.js} +1 -1
- package/dist/{IconClose-7gyfEXz1.js → IconClose-CwV3QUi2.js} +1 -1
- package/dist/{IconContextMenu-DYOFg7qU.js → IconContextMenu-DD5RGOEW.js} +1 -1
- package/dist/{IconCopy-CHksIqDs.js → IconCopy-BOSbNCO3.js} +1 -1
- package/dist/{IconDanger-MdCt1mDP.js → IconDanger-BCQl3s0h.js} +1 -1
- package/dist/{IconPending-CyQhZCfI.js → IconPending-i0n-9-8z.js} +1 -1
- package/dist/{IconPlus-Bz-UoRuD.js → IconPlus-DS099is1.js} +1 -1
- package/dist/{IconRadioOn-ghpksMxd.js → IconRadioOn-D5xbBFYA.js} +1 -1
- package/dist/{IconSucceeded-CHjiCCzR.js → IconSucceeded-Cje6NH8R.js} +1 -1
- package/dist/{IconWarning-Dbq3oj5j.js → IconWarning-3thkYnBz.js} +1 -1
- package/dist/Icons.js +15 -15
- package/dist/Image.js +1 -1
- package/dist/Initials.js +1 -1
- package/dist/InlineAlert.js +2 -2
- package/dist/{Label-DlBFElQ_.js → Label-Dq1cgQyP.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/LayoutCard.js +1 -1
- package/dist/{Link-D3oOwbIe.js → Link-0b3GsopL.js} +1 -1
- package/dist/Link.js +1 -1
- package/dist/List.js +18 -19
- package/dist/{LoadingSpinner-BOBbSYun.js → LoadingSpinner-BoW4g33T.js} +2 -2
- package/dist/LoadingSpinner.js +1 -1
- package/dist/{MenuItem-Bi8sYht4.js → MenuItem-B5kgO_0u.js} +5 -5
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +42 -40
- package/dist/Navigation.js +20 -22
- package/dist/NumberField.js +6 -6
- package/dist/RadioGroup.js +5 -5
- package/dist/Select.js +4 -4
- package/dist/StatusBadge.js +3 -3
- package/dist/{StatusIcon-BMyHmLNg.js → StatusIcon-BRm5TIe9.js} +3 -3
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +5 -5
- package/dist/Tabs.js +7 -7
- package/dist/{Text-CKd46eHq.js → Text-DlBpZns-.js} +1 -1
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +2 -2
- package/dist/TextField.js +2 -2
- package/dist/{TextFieldBase-BGZpjGL8.js → TextFieldBase-Dk8UVEZz.js} +1 -1
- package/dist/controller.js +3 -3
- package/dist/flowComponent-C4FfRbD8.js +36 -0
- package/dist/hooks.js +2 -2
- package/dist/{index-ViVxK7d1.js → index-Cb88QILt.js} +9 -7
- package/dist/react-hook-form.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/Action/Action.d.ts +6 -5
- package/dist/types/components/Action/{ariaLive.d.ts → lib/ariaLive.d.ts} +1 -1
- package/dist/types/components/Action/lib/execution/ActionExecution.d.ts +24 -0
- package/dist/types/components/Action/lib/execution/ActionExecution.test.d.ts +1 -0
- package/dist/types/components/Action/lib/execution/ActionState.d.ts +8 -0
- package/dist/types/components/Action/lib/execution/breakAction.d.ts +2 -0
- package/dist/types/components/Action/lib/execution/context.d.ts +4 -0
- package/dist/types/components/Action/lib/execution/useActionController.d.ts +10 -0
- package/dist/types/components/Action/lib/execution/useActionController.test.d.ts +1 -0
- package/dist/types/components/Action/lib/execution/useActionFunction.d.ts +4 -0
- package/dist/types/components/Action/stories/Default.stories.d.ts +1 -0
- package/dist/types/components/Action/types.d.ts +0 -21
- package/dist/types/components/Avatar/Avatar.d.ts +2 -2
- package/dist/types/components/Button/Button.d.ts +2 -1
- package/dist/types/components/Button/stories/Default.stories.d.ts +1 -0
- package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +4 -3
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +2 -2
- package/dist/types/components/CopyButton/CopyButton.d.ts +1 -1
- package/dist/types/components/Modal/Modal.d.ts +7 -5
- package/dist/types/components/Modal/hooks/useSyncTriggerState.d.ts +2 -2
- package/dist/types/components/propTypes/index.d.ts +2 -0
- package/dist/types/lib/childProps/ChildPropsStore.d.ts +3 -1
- package/dist/types/lib/componentFactory/flowComponent.d.ts +5 -4
- package/dist/types/lib/controller/overlay/{OverlayState.d.ts → OverlayController.d.ts} +2 -2
- package/dist/types/lib/controller/overlay/context.d.ts +3 -3
- package/dist/types/lib/controller/overlay/index.d.ts +2 -2
- package/dist/types/lib/controller/overlay/useOverlayController.d.ts +8 -0
- package/dist/types/lib/hooks/index.d.ts +1 -1
- package/dist/types/lib/promises/callAndReact.d.ts +9 -0
- package/dist/types/lib/promises/callAndReact.test.d.ts +1 -0
- package/dist/types/lib/promises/callFunctionsInOrder.d.ts +3 -0
- package/dist/types/lib/promises/callFunctionsInOrder.test.d.ts +1 -0
- package/dist/types/lib/propsContext/propsContext.d.ts +1 -0
- package/dist/types/lib/types/props.d.ts +3 -2
- package/dist/{useProps-DfMs_ElR.js → useProps-CIrrudrV.js} +1 -0
- package/package.json +39 -39
- package/dist/Action-XlqKlkaB.js +0 -153
- package/dist/Button-CZjBV5AM.js +0 -113
- package/dist/flowComponent-dvQga3NG.js +0 -22
- package/dist/types/components/Action/ActionState.d.ts +0 -21
- package/dist/types/components/Action/actionFactory.d.ts +0 -11
- package/dist/types/components/Action/hooks/useCallAction.d.ts +0 -13
- package/dist/types/components/Action/hooks/useMakeCallableAction.d.ts +0 -3
- package/dist/types/components/Action/lib/callActionsInOrder.d.ts +0 -3
- package/dist/types/lib/controller/overlay/useOverlayState.d.ts +0 -8
package/dist/HeaderNavigation.js
CHANGED
|
@@ -2,38 +2,40 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import "./propsContext-CauylOgH.js";
|
|
5
|
-
import { P as
|
|
5
|
+
import { P as d } from "./PropsContextProvider-DZvwqHLP.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "remeda";
|
|
8
|
-
import { d } from "./dynamic-ClpUSmEt.js";
|
|
9
8
|
import v from "clsx";
|
|
10
|
-
import { E as
|
|
11
|
-
const
|
|
12
|
-
headerNavigation:
|
|
13
|
-
link:
|
|
9
|
+
import { E as u } from "./EmulatedBoldText-Dtox8Wd1.js";
|
|
10
|
+
const p = "flow--header-navigation", E = "flow--header-navigation--link", f = "flow--header-navigation--button", g = "flow--header-navigation--inverse", n = {
|
|
11
|
+
headerNavigation: p,
|
|
12
|
+
link: E,
|
|
14
13
|
button: f,
|
|
15
14
|
inverse: g
|
|
16
|
-
},
|
|
17
|
-
const { children:
|
|
15
|
+
}, C = (o) => {
|
|
16
|
+
const { children: l, className: i, inverse: r, ...s } = o, c = v(
|
|
18
17
|
n.headerNavigation,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
),
|
|
18
|
+
r && n.inverse,
|
|
19
|
+
i
|
|
20
|
+
), m = {
|
|
22
21
|
Link: {
|
|
23
|
-
|
|
24
|
-
className: n.link,
|
|
25
|
-
unstyled: !0,
|
|
26
|
-
children: d((t) => /* @__PURE__ */ e.createElement(p, null, t.children))
|
|
22
|
+
render: (a, t) => /* @__PURE__ */ e.createElement("li", null, /* @__PURE__ */ e.createElement(a, { ...t, className: n.link, unstyled: !0 }, /* @__PURE__ */ e.createElement(u, null, t.children)))
|
|
27
23
|
},
|
|
28
24
|
Button: {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
render: (a, t) => /* @__PURE__ */ e.createElement("li", null, /* @__PURE__ */ e.createElement(
|
|
26
|
+
a,
|
|
27
|
+
{
|
|
28
|
+
...t,
|
|
29
|
+
className: n.button,
|
|
30
|
+
style: "plain",
|
|
31
|
+
inverse: r
|
|
32
|
+
}
|
|
33
|
+
))
|
|
32
34
|
}
|
|
33
35
|
};
|
|
34
|
-
return /* @__PURE__ */ e.createElement("nav", { className:
|
|
36
|
+
return /* @__PURE__ */ e.createElement("nav", { className: c, role: "navigation", ...s }, /* @__PURE__ */ e.createElement("ul", null, /* @__PURE__ */ e.createElement(d, { props: m }, l)));
|
|
35
37
|
};
|
|
36
38
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
+
C as HeaderNavigation,
|
|
40
|
+
C as default
|
|
39
41
|
};
|
package/dist/Heading.js
CHANGED
|
@@ -7,7 +7,7 @@ import { P as f } from "./PropsContextProvider-DZvwqHLP.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "./propsContext-CauylOgH.js";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { f as p } from "./flowComponent-
|
|
10
|
+
import { f as p } from "./flowComponent-C4FfRbD8.js";
|
|
11
11
|
import * as g from "react-aria-components";
|
|
12
12
|
const w = "flow--heading", C = "flow--heading--icon", u = "flow--heading--h1", x = "flow--heading--h2", N = "flow--heading--h3", P = "flow--heading--h4", v = "flow--heading--h5", E = "flow--heading--h6", e = {
|
|
13
13
|
heading: w,
|
|
@@ -8,7 +8,7 @@ import "./propsContext-CauylOgH.js";
|
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "dot-prop";
|
|
11
|
-
import { f as z } from "./flowComponent-
|
|
11
|
+
import { f as z } from "./flowComponent-C4FfRbD8.js";
|
|
12
12
|
const b = "flow--icon", c = {
|
|
13
13
|
icon: b,
|
|
14
14
|
"size-m": "flow--icon--size-m",
|
package/dist/Icon.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconCheck as c } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(c, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconSquareCheckFilled as t, IconSquare as n } from "@tabler/icons-react";
|
|
5
|
-
import { I as o } from "./Icon-
|
|
5
|
+
import { I as o } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const l = (c) => /* @__PURE__ */ e.createElement(o, { ...c }, /* @__PURE__ */ e.createElement(t, null)), I = (c) => /* @__PURE__ */ e.createElement(o, { ...c }, /* @__PURE__ */ e.createElement(n, null));
|
|
7
7
|
export {
|
|
8
8
|
l as I,
|
package/dist/{IconCheckboxIndeterminate-B-p8FuLS.js → IconCheckboxIndeterminate-p6GmeDnv.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconSquareMinusFilled as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(r, { ...o }, /* @__PURE__ */ e.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconChevronDown as e } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const a = (n) => /* @__PURE__ */ o.createElement(r, { ...n }, /* @__PURE__ */ o.createElement(e, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconChevronRight as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const a = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconX as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const a = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconDots as e } from "@tabler/icons-react";
|
|
5
|
-
import { I as n } from "./Icon-
|
|
5
|
+
import { I as n } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const a = (t) => /* @__PURE__ */ o.createElement(n, { ...t }, /* @__PURE__ */ o.createElement(e, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconCopy as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const p = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
p as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconAlertTriangle as o } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const c = (r) => /* @__PURE__ */ e.createElement(t, { ...r }, /* @__PURE__ */ e.createElement(o, null));
|
|
7
7
|
export {
|
|
8
8
|
c as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconLoader2 as r } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(r, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconChevronUp as c, IconMinus as t, IconPlus as r } from "@tabler/icons-react";
|
|
5
|
-
import { I as o } from "./Icon-
|
|
5
|
+
import { I as o } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const m = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(c, null)), I = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(t, null)), u = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(r, null));
|
|
7
7
|
export {
|
|
8
8
|
I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconCircle as c, IconCircleDotFilled as n } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const m = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(c, null)), i = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(n, null));
|
|
7
7
|
export {
|
|
8
8
|
i as I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconX as o, IconCheck as n } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const l = (c) => /* @__PURE__ */ e.createElement(t, { ...c }, /* @__PURE__ */ e.createElement(o, null)), I = (c) => /* @__PURE__ */ e.createElement(t, { ...c }, /* @__PURE__ */ e.createElement(n, null));
|
|
7
7
|
export {
|
|
8
8
|
I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconInfoCircle as t, IconCircleCheck as o, IconAlertCircle as r } from "@tabler/icons-react";
|
|
5
|
-
import { I as n } from "./Icon-
|
|
5
|
+
import { I as n } from "./Icon-DpcNiaNb.js";
|
|
6
6
|
const I = (c) => /* @__PURE__ */ e.createElement(n, { ...c }, /* @__PURE__ */ e.createElement(t, null)), s = (c) => /* @__PURE__ */ e.createElement(n, { ...c }, /* @__PURE__ */ e.createElement(o, null)), i = (c) => /* @__PURE__ */ e.createElement(n, { ...c }, /* @__PURE__ */ e.createElement(r, null));
|
|
7
7
|
export {
|
|
8
8
|
I,
|
package/dist/Icons.js
CHANGED
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import n from "react";
|
|
4
4
|
import { IconAppWindow as o, IconArrowLeft as l, IconClock as c, IconChevronLeft as a, IconCode as r, IconCalendarCheck as I, IconBuilding as m, IconLayoutBoard as s, IconDatabase as E, IconCalendar as u, IconTrash as i, IconWorld as p, IconMail as h, IconExternalLink as d, IconFilter as f, IconEyeCancel as C, IconHome as x, IconInbox as S, IconList as v, IconPower as b, IconUsersGroup as g, IconBell as k, IconArchive as L, IconDice3 as w, IconDeviceFloppy as D, IconSearch as $, IconListSearch as y, IconServer as F, IconSettings as M, IconShare3 as B, IconEye as H, IconAdjustmentsHorizontal as P, IconShield as A, IconShieldCheckFilled as R, IconDoor as V, IconSubtask as O, IconHeadset as T, IconFileX as j, IconLayoutGrid as z } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
6
|
-
import { I as Pe } from "./IconCheck-
|
|
7
|
-
import { I as Re, a as Ve } from "./IconCheckboxEmpty-
|
|
8
|
-
import { I as Te } from "./IconCheckboxIndeterminate-
|
|
9
|
-
import { I as ze } from "./IconChevronDown-
|
|
10
|
-
import { I as Ge } from "./IconChevronRight-
|
|
11
|
-
import { a as Ne, I as Xe, b as qe } from "./IconPlus-
|
|
12
|
-
import { I as Ke } from "./IconClose-
|
|
13
|
-
import { I as Ye } from "./IconContextMenu-
|
|
14
|
-
import { I as _e } from "./IconCopy-
|
|
15
|
-
import { I as nn } from "./IconDanger-
|
|
16
|
-
import { a as cn, I as on } from "./IconSucceeded-
|
|
17
|
-
import { I as an, a as rn, b as In } from "./IconWarning-
|
|
18
|
-
import { I as sn } from "./IconPending-
|
|
19
|
-
import { a as un, I as pn } from "./IconRadioOn-
|
|
5
|
+
import { I as t } from "./Icon-DpcNiaNb.js";
|
|
6
|
+
import { I as Pe } from "./IconCheck-DDbrMURX.js";
|
|
7
|
+
import { I as Re, a as Ve } from "./IconCheckboxEmpty-0Lz4T3u4.js";
|
|
8
|
+
import { I as Te } from "./IconCheckboxIndeterminate-p6GmeDnv.js";
|
|
9
|
+
import { I as ze } from "./IconChevronDown-CbK0gKMB.js";
|
|
10
|
+
import { I as Ge } from "./IconChevronRight-CJv9kuRZ.js";
|
|
11
|
+
import { a as Ne, I as Xe, b as qe } from "./IconPlus-DS099is1.js";
|
|
12
|
+
import { I as Ke } from "./IconClose-CwV3QUi2.js";
|
|
13
|
+
import { I as Ye } from "./IconContextMenu-DD5RGOEW.js";
|
|
14
|
+
import { I as _e } from "./IconCopy-BOSbNCO3.js";
|
|
15
|
+
import { I as nn } from "./IconDanger-BCQl3s0h.js";
|
|
16
|
+
import { a as cn, I as on } from "./IconSucceeded-Cje6NH8R.js";
|
|
17
|
+
import { I as an, a as rn, b as In } from "./IconWarning-3thkYnBz.js";
|
|
18
|
+
import { I as sn } from "./IconPending-i0n-9-8z.js";
|
|
19
|
+
import { a as un, I as pn } from "./IconRadioOn-D5xbBFYA.js";
|
|
20
20
|
const N = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(o, null)), X = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(l, null)), q = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(c, null)), J = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(a, null)), K = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(r, null)), Q = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(I, null)), Y = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(m, null)), Z = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(s, null)), _ = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(E, null)), ee = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(u, null)), ne = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(i, null)), te = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(p, null)), ce = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(h, null)), oe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(d, null)), le = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(f, null)), ae = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(C, null)), re = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(x, null)), Ie = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(S, null)), me = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(v, null)), se = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(b, null)), Ee = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(g, null)), ue = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(k, null)), ie = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(L, null)), pe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(w, null)), he = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(D, null)), de = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement($, null)), fe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(y, null)), Ce = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(F, null)), xe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(M, null)), Se = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(B, null)), ve = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(H, null)), be = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(P, null)), ge = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(A, null)), ke = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(R, null)), Le = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(V, null)), we = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(O, null)), De = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(T, null)), $e = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(j, null)), ye = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(z, null)), Fe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(c, null)), Me = (e) => /* @__PURE__ */ n.createElement(
|
|
21
21
|
t,
|
|
22
22
|
{
|
package/dist/Image.js
CHANGED
|
@@ -6,7 +6,7 @@ import "./propsContext-CauylOgH.js";
|
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "remeda";
|
|
8
8
|
import "dot-prop";
|
|
9
|
-
import { f as a } from "./flowComponent-
|
|
9
|
+
import { f as a } from "./flowComponent-C4FfRbD8.js";
|
|
10
10
|
const C = a("Image", (e) => {
|
|
11
11
|
const { ref: r, ...o } = e;
|
|
12
12
|
return /* @__PURE__ */ t.createElement(m, null, /* @__PURE__ */ t.createElement("img", { ...o, ref: r }));
|
package/dist/Initials.js
CHANGED
|
@@ -8,7 +8,7 @@ import "@react-aria/utils";
|
|
|
8
8
|
import "remeda";
|
|
9
9
|
import "dot-prop";
|
|
10
10
|
import { onlyText as C } from "react-children-utilities";
|
|
11
|
-
import { f as u } from "./flowComponent-
|
|
11
|
+
import { f as u } from "./flowComponent-C4FfRbD8.js";
|
|
12
12
|
const x = (i) => i.replace(/[^\p{L}\s]/giu, "").split(" ").map((t) => t.trim()[0]).filter((t) => t !== void 0).map((t) => t.toUpperCase()).slice(0, 2), d = "flow--initials", E = {
|
|
13
13
|
initials: d
|
|
14
14
|
}, F = u("Initials", (i) => {
|
package/dist/InlineAlert.js
CHANGED
|
@@ -7,8 +7,8 @@ import "@react-aria/utils";
|
|
|
7
7
|
import "./propsContext-CauylOgH.js";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import p from "clsx";
|
|
10
|
-
import { S as u } from "./StatusIcon-
|
|
11
|
-
import { f as d } from "./flowComponent-
|
|
10
|
+
import { S as u } from "./StatusIcon-BRm5TIe9.js";
|
|
11
|
+
import { f as d } from "./flowComponent-C4FfRbD8.js";
|
|
12
12
|
const w = "flow--inline-alert", g = "flow--inline-alert--status-icon", C = "flow--inline-alert--heading", I = "flow--inline-alert--content", N = "flow--inline-alert--info", h = "flow--inline-alert--warning", x = "flow--inline-alert--danger", A = "flow--inline-alert--success", n = {
|
|
13
13
|
inlineAlert: w,
|
|
14
14
|
statusIcon: g,
|
|
@@ -9,7 +9,7 @@ import "@react-aria/utils";
|
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "dot-prop";
|
|
11
11
|
import { useLocalizedStringFormatter as C } from "react-aria";
|
|
12
|
-
import { f as L } from "./flowComponent-
|
|
12
|
+
import { f as L } from "./flowComponent-C4FfRbD8.js";
|
|
13
13
|
const d = "flow--label", u = {
|
|
14
14
|
label: d
|
|
15
15
|
}, E = {
|
package/dist/Label.js
CHANGED
package/dist/LayoutCard.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import t from "react";
|
|
4
4
|
import d from "clsx";
|
|
5
|
-
import { f } from "./flowComponent-
|
|
5
|
+
import { f } from "./flowComponent-C4FfRbD8.js";
|
|
6
6
|
import "./propsContext-CauylOgH.js";
|
|
7
7
|
import { P as i } from "./PropsContextProvider-DZvwqHLP.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
@@ -8,7 +8,7 @@ import "@react-aria/utils";
|
|
|
8
8
|
import "./propsContext-CauylOgH.js";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import w from "clsx";
|
|
11
|
-
import { f as N } from "./flowComponent-
|
|
11
|
+
import { f as N } from "./flowComponent-C4FfRbD8.js";
|
|
12
12
|
import { l as y } from "./context-BlNV7smK.js";
|
|
13
13
|
const E = "flow--link", F = "flow--link--inline", g = "flow--link--icon", o = {
|
|
14
14
|
link: E,
|
package/dist/Link.js
CHANGED
package/dist/List.js
CHANGED
|
@@ -4,18 +4,18 @@ var Q = Object.defineProperty;
|
|
|
4
4
|
var X = (i, t, e) => t in i ? Q(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
5
5
|
var o = (i, t, e) => (X(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
6
6
|
import r, { createContext as Y, useContext as Z, createElement as _, useEffect as C, useState as tt, Suspense as et } from "react";
|
|
7
|
-
import { C as x } from "./ContextMenu-
|
|
8
|
-
import { M as U, d as at } from "./MenuItem-
|
|
7
|
+
import { C as x } from "./ContextMenu-B3m9vxOe.js";
|
|
8
|
+
import { M as U, d as at } from "./MenuItem-B5kgO_0u.js";
|
|
9
9
|
import * as O from "react-aria-components";
|
|
10
10
|
import { MenuTrigger as st } from "react-aria-components";
|
|
11
|
-
import { T as b } from "./Text-
|
|
11
|
+
import { T as b } from "./Text-DlBpZns-.js";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as $ } from "./IconChevronDown-
|
|
15
|
-
import { B as h } from "./Button-
|
|
13
|
+
import "./Icon-DpcNiaNb.js";
|
|
14
|
+
import { I as $ } from "./IconChevronDown-CbK0gKMB.js";
|
|
15
|
+
import { B as h } from "./Button-DJcL25jy.js";
|
|
16
16
|
import { useMessageFormatter as H, useLocalizedStringFormatter as q } from "react-aria";
|
|
17
17
|
import K from "clsx";
|
|
18
|
-
import { I as rt } from "./IconClose-
|
|
18
|
+
import { I as rt } from "./IconClose-CwV3QUi2.js";
|
|
19
19
|
import { getProperty as nt } from "dot-prop";
|
|
20
20
|
import { useReactTable as it, getCoreRowModel as ot, getSortedRowModel as lt, getFilteredRowModel as ct, getPaginationRowModel as ut, getFacetedUniqueValues as mt } from "@tanstack/react-table";
|
|
21
21
|
import j from "invariant";
|
|
@@ -28,12 +28,12 @@ import "./propsContext-CauylOgH.js";
|
|
|
28
28
|
import { P as bt } from "./PropsContextProvider-DZvwqHLP.js";
|
|
29
29
|
import "@react-aria/utils";
|
|
30
30
|
import { W as St } from "./Wrap-DGT1h1o3.js";
|
|
31
|
-
import { L as yt } from "./Link-
|
|
32
|
-
import { I as Ct } from "./IconContextMenu-
|
|
31
|
+
import { L as yt } from "./Link-0b3GsopL.js";
|
|
32
|
+
import { I as Ct } from "./IconContextMenu-DD5RGOEW.js";
|
|
33
33
|
import { d as f, a as M } from "./deepFindOfType-6pG0fH7S.js";
|
|
34
34
|
import { I as vt } from "./InlineCode-BV2i5uN0.js";
|
|
35
35
|
import { ListLoaderAsyncResource as Ft } from "./List/ListLoaderAsyncResource.js";
|
|
36
|
-
const J = Y({}), m = () => Z(J).list,
|
|
36
|
+
const J = Y({}), m = () => Z(J).list, Et = (i) => /* @__PURE__ */ r.createElement(r.Fragment, null, i.children()), Tt = () => m().loader.getLoaderInvocationHooks().map((t, e) => /* @__PURE__ */ r.createElement(Et, { key: e }, () => {
|
|
37
37
|
t();
|
|
38
38
|
})), wt = (i) => {
|
|
39
39
|
const { sorting: t } = i;
|
|
@@ -319,7 +319,7 @@ class Ot {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
const $t = (i) => C(ht(i));
|
|
322
|
-
class
|
|
322
|
+
class E {
|
|
323
323
|
constructor(t, e = {}) {
|
|
324
324
|
o(this, "list");
|
|
325
325
|
o(this, "table");
|
|
@@ -336,7 +336,7 @@ class T {
|
|
|
336
336
|
this.list = t, this.tableState = dt(() => ({ value: void 0 })), this.table = this.useReactTable(e);
|
|
337
337
|
}
|
|
338
338
|
static useNew(t, e = {}) {
|
|
339
|
-
return new
|
|
339
|
+
return new E(t, e);
|
|
340
340
|
}
|
|
341
341
|
useReactTable(t = {}) {
|
|
342
342
|
const e = this.list.loader.useData(), a = this.list.sorting.filter((n) => n.defaultEnabled), s = it({
|
|
@@ -397,7 +397,7 @@ class T {
|
|
|
397
397
|
), Array.from(t.values());
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
class
|
|
400
|
+
class T {
|
|
401
401
|
constructor() {
|
|
402
402
|
o(this, "dataBatches", []);
|
|
403
403
|
o(this, "prevDataBatches", []);
|
|
@@ -413,7 +413,7 @@ class E {
|
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
static useNew() {
|
|
416
|
-
return tt(new
|
|
416
|
+
return tt(new T())[0];
|
|
417
417
|
}
|
|
418
418
|
reset() {
|
|
419
419
|
this.batchLoadingStates = [], this.dataBatches = [];
|
|
@@ -449,7 +449,7 @@ class w {
|
|
|
449
449
|
const { source: a } = e;
|
|
450
450
|
this.dataSource = a ?? { staticData: Ht };
|
|
451
451
|
const s = "manualPagination" in this.dataSource ? this.dataSource.manualPagination : void 0, n = "manualFiltering" in this.dataSource ? this.dataSource.manualFiltering : void 0, l = "manualSorting" in this.dataSource ? this.dataSource.manualSorting : void 0;
|
|
452
|
-
this.list = t, this.loaderState =
|
|
452
|
+
this.list = t, this.loaderState = T.useNew(), this.manualPagination = s ?? !1, this.manualFiltering = n ?? this.manualPagination, this.manualSorting = l ?? this.manualPagination, this.list.filters.forEach((d) => d.onFilterUpdated(() => this.reset()));
|
|
453
453
|
}
|
|
454
454
|
static useNew(t, e = {}) {
|
|
455
455
|
return new w(t, e);
|
|
@@ -534,7 +534,7 @@ let qt = class W {
|
|
|
534
534
|
o(this, "batches");
|
|
535
535
|
o(this, "loader");
|
|
536
536
|
const { render: e, filters: a = [], sorting: s = [], batchesController: n } = t;
|
|
537
|
-
this.render = e, this.items = F.useNew(this), this.filters = a.map((l) => new Ut(this, l)), this.sorting = s.map((l) => new Ot(this, l)), this.batches = new zt(this, n), this.loader = w.useNew(this, t.loader), this.reactTable =
|
|
537
|
+
this.render = e, this.items = F.useNew(this), this.filters = a.map((l) => new Ut(this, l)), this.sorting = s.map((l) => new Ot(this, l)), this.batches = new zt(this, n), this.loader = w.useNew(this, t.loader), this.reactTable = E.useNew(this, {
|
|
538
538
|
manualFiltering: this.loader.manualFiltering,
|
|
539
539
|
manualPagination: this.loader.manualPagination,
|
|
540
540
|
manualSorting: this.loader.manualSorting
|
|
@@ -598,8 +598,7 @@ const Kt = "flow--list--items--item-list", jt = "flow--list--items--is-loading",
|
|
|
598
598
|
className: c.content
|
|
599
599
|
},
|
|
600
600
|
ContextMenu: {
|
|
601
|
-
placement: "bottom end"
|
|
602
|
-
hoc: (n) => /* @__PURE__ */ r.createElement(_t, { className: c.optionsButton }, n)
|
|
601
|
+
render: (n, l) => /* @__PURE__ */ r.createElement(_t, { className: c.optionsButton }, /* @__PURE__ */ r.createElement(n, { ...l, placement: "bottom end" }))
|
|
603
602
|
}
|
|
604
603
|
}, s = {
|
|
605
604
|
...a,
|
|
@@ -695,7 +694,7 @@ function qe(i) {
|
|
|
695
694
|
list: G
|
|
696
695
|
}
|
|
697
696
|
},
|
|
698
|
-
/* @__PURE__ */ r.createElement(
|
|
697
|
+
/* @__PURE__ */ r.createElement(Tt, null),
|
|
699
698
|
/* @__PURE__ */ r.createElement("div", { className: Nt.list }, /* @__PURE__ */ r.createElement(Vt, null), /* @__PURE__ */ r.createElement(ae, null), /* @__PURE__ */ r.createElement(de, null))
|
|
700
699
|
);
|
|
701
700
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import r from "react";
|
|
4
4
|
import "@tabler/icons-react";
|
|
5
|
-
import "./Icon-
|
|
6
|
-
import { I as e } from "./IconPending-
|
|
5
|
+
import "./Icon-DpcNiaNb.js";
|
|
6
|
+
import { I as e } from "./IconPending-i0n-9-8z.js";
|
|
7
7
|
import t from "clsx";
|
|
8
8
|
const a = "flow--loading-spinner", p = "flow--loading-spinner--spin", l = {
|
|
9
9
|
loadingSpinner: a,
|
package/dist/LoadingSpinner.js
CHANGED
|
@@ -8,13 +8,13 @@ import { P as a } from "./PropsContextProvider-DZvwqHLP.js";
|
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "@tabler/icons-react";
|
|
11
|
-
import "./Icon-
|
|
12
|
-
import { I as x, a as d } from "./IconCheckboxEmpty-
|
|
13
|
-
import { I as E, a as C } from "./IconRadioOn-
|
|
14
|
-
import { T as i } from "./Text-
|
|
11
|
+
import "./Icon-DpcNiaNb.js";
|
|
12
|
+
import { I as x, a as d } from "./IconCheckboxEmpty-0Lz4T3u4.js";
|
|
13
|
+
import { I as E, a as C } from "./IconRadioOn-D5xbBFYA.js";
|
|
14
|
+
import { T as i } from "./Text-DlBpZns-.js";
|
|
15
15
|
import { d as h } from "./deepFindOfType-6pG0fH7S.js";
|
|
16
16
|
import { W as M } from "./Wrap-DGT1h1o3.js";
|
|
17
|
-
import { f as N } from "./flowComponent-
|
|
17
|
+
import { f as N } from "./flowComponent-C4FfRbD8.js";
|
|
18
18
|
const w = "flow--menu-item", T = "flow--menu-item--icon", g = "flow--menu-item--text", P = "flow--menu-item--control-icon", c = {
|
|
19
19
|
menuItem: w,
|
|
20
20
|
icon: T,
|