@mittwald/flow-react-components 0.1.0-alpha.297 → 0.1.0-alpha.299
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 +21 -0
- package/dist/js/IconExternalLink-D3Jne1hg.js +9 -0
- package/dist/js/Icons.js +91 -90
- package/dist/js/Link-BIdVI7SK.js +64 -0
- package/dist/js/Link.js +1 -1
- package/dist/js/Notification.js +1 -1
- package/dist/js/types/components/Link/stories/Default.stories.d.ts +1 -0
- package/package.json +4 -4
- package/dist/js/Link-BKu-Koyw.js +0 -51
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,27 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.1.0-alpha.299](https://github.com/mittwald/flow/compare/0.1.0-alpha.298...0.1.0-alpha.299) (2024-10-23)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **Link:** add external link icon to target blank links
|
|
11
|
+
([917f0a6](https://github.com/mittwald/flow/commit/917f0a638a41c6dcf969a1b658bef6a0e90c6d91))
|
|
12
|
+
|
|
13
|
+
# Change Log
|
|
14
|
+
|
|
15
|
+
All notable changes to this project will be documented in this file. See
|
|
16
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
17
|
+
|
|
18
|
+
# [0.1.0-alpha.298](https://github.com/mittwald/flow/compare/0.1.0-alpha.297...0.1.0-alpha.298) (2024-10-23)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
21
|
+
|
|
22
|
+
# Change Log
|
|
23
|
+
|
|
24
|
+
All notable changes to this project will be documented in this file. See
|
|
25
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
26
|
+
|
|
6
27
|
# [0.1.0-alpha.297](https://github.com/mittwald/flow/compare/0.1.0-alpha.296...0.1.0-alpha.297) (2024-10-22)
|
|
7
28
|
|
|
8
29
|
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import n from "react";
|
|
4
|
+
import { IconExternalLink as t } from "@tabler/icons-react";
|
|
5
|
+
import { I as o } from "./Icon-COqUQ8Af.js";
|
|
6
|
+
const m = (e) => /* @__PURE__ */ n.createElement(o, { ...e }, /* @__PURE__ */ n.createElement(t, null));
|
|
7
|
+
export {
|
|
8
|
+
m as I
|
|
9
|
+
};
|
package/dist/js/Icons.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import n from "react";
|
|
4
|
-
import { IconAppWindow as o, IconArrowLeft as l, IconHistory as a, IconCamera as r, IconClipboardList as I, IconClock as m, IconCode as s, IconFileDescription as E, IconFileInfo as i, IconCalendarCheck as u, IconBuilding as p, IconBorderAll as d, IconDatabase as f, IconInbox as t, IconWorld as h, IconDownload as C, IconEdit as x, IconMail as S, IconPuzzle as k,
|
|
4
|
+
import { IconAppWindow as o, IconArrowLeft as l, IconHistory as a, IconCamera as r, IconClipboardList as I, IconClock as m, IconCode as s, IconFileDescription as E, IconFileInfo as i, IconCalendarCheck as u, IconBuilding as p, IconBorderAll as d, IconDatabase as f, IconInbox as t, IconWorld as h, IconDownload as C, IconEdit as x, IconMail as S, IconPuzzle as k, IconEyeOff as g, IconHome as $, IconFileEuro as b, IconLock as w, IconLockOpen as v, IconPower as L, IconMaximize as M, IconUsersGroup as D, IconMenu2 as F, IconMinimize as P, IconBell as y, IconHash as z, IconShoppingCart as O, IconCreditCard as B, IconChartHistogram as H, IconArchive as R, IconArrowForwardUp as U, IconRefresh as A, IconListSearch as T, IconShieldLock as V, IconServer as W, IconSettings as j, IconShare3 as K, IconEye as N, IconShield as G, IconShieldCheckFilled as X, IconKey as q, IconDoor as J, IconStar as Q, IconStarFilled as Y, IconSubtask as Z, IconHeadset as _, IconFileX as ee, IconTicket as ne, IconArrowBackUp as ce, IconUser as te } from "@tabler/icons-react";
|
|
5
5
|
import { I as c } from "./Icon-COqUQ8Af.js";
|
|
6
|
-
import { I as
|
|
7
|
-
import { I as
|
|
8
|
-
import { I as
|
|
9
|
-
import { I as
|
|
10
|
-
import { a as
|
|
11
|
-
import { I as
|
|
12
|
-
import { I as
|
|
13
|
-
import { I as
|
|
14
|
-
import { I as
|
|
15
|
-
import { I as
|
|
16
|
-
import { I as
|
|
17
|
-
import { I as
|
|
6
|
+
import { I as un } from "./IconCheck-D-UNQ-2Z.js";
|
|
7
|
+
import { I as dn, a as fn } from "./IconCheckboxEmpty-LEvEhMea.js";
|
|
8
|
+
import { I as Cn } from "./IconCheckboxIndeterminate-BbILYVGl.js";
|
|
9
|
+
import { I as Sn } from "./IconChevronDown-Cs4gzBPk.js";
|
|
10
|
+
import { a as gn, I as $n } from "./IconCalendar-9aQBibiV.js";
|
|
11
|
+
import { I as wn } from "./IconChevronRight-bLHwOzgA.js";
|
|
12
|
+
import { I as Ln } from "./IconChevronUp-ZykxFQAx.js";
|
|
13
|
+
import { I as Dn } from "./IconClose-DJWkLbQs.js";
|
|
14
|
+
import { I as Pn } from "./IconContextMenu-CzXLrZcd.js";
|
|
15
|
+
import { I as zn } from "./IconCopy-DjisJX3k.js";
|
|
16
|
+
import { I as Bn } from "./IconDanger-DAFJtHxf.js";
|
|
17
|
+
import { I as Rn, a as Un, b as An, c as Tn, d as Vn } from "./IconView-D30bALOR.js";
|
|
18
|
+
import { I as jn } from "./IconExternalLink-D3Jne1hg.js";
|
|
18
19
|
import { a as Nn, I as Gn } from "./IconSucceeded-C2OB1x7I.js";
|
|
19
20
|
import { I as qn } from "./IconInfo-XinzhLlf.js";
|
|
20
21
|
import { I as Qn, a as Yn } from "./IconPlus-C-ZCBY15.js";
|
|
@@ -22,7 +23,7 @@ import { I as _n } from "./IconPending-DWfBE4V7.js";
|
|
|
22
23
|
import { a as nc, I as cc } from "./IconRadioOn-BSlpvXXO.js";
|
|
23
24
|
import { I as oc } from "./IconSearch-Bufq0n5e.js";
|
|
24
25
|
import { I as ac, a as rc } from "./IconWarning-4wo_W_cB.js";
|
|
25
|
-
const
|
|
26
|
+
const re = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(o, null)), Ie = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(l, null)), me = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(a, null)), se = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(r, null)), Ee = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(I, null)), ie = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(m, null)), ue = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(s, null)), pe = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(E, null)), de = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(i, null)), fe = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(u, null)), he = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(p, null)), Ce = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(d, null)), xe = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(f, null)), Se = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(t, null)), ke = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(h, null)), ge = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(C, null)), $e = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(x, null)), be = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(S, null)), we = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(k, null)), ve = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(g, null)), Le = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement($, null)), Me = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(t, null)), De = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(b, null)), Fe = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(w, null)), Pe = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(v, null)), ye = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(L, null)), ze = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(M, null)), Oe = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(D, null)), Be = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(F, null)), He = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(P, null)), Re = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(y, null)), Ue = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(z, null)), Ae = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(O, null)), Te = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(B, null)), Ve = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(H, null)), We = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(R, null)), je = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(U, null)), Ke = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(A, null)), Ne = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(T, null)), Ge = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(V, null)), Xe = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(W, null)), qe = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(j, null)), Je = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(K, null)), Qe = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(N, null)), Ye = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(G, null)), Ze = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(X, null)), _e = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(q, null)), en = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(J, null)), nn = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(Q, null)), cn = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(Y, null)), tn = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(Z, null)), on = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(_, null)), ln = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(ee, null)), an = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(ne, null)), rn = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(ce, null)), In = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n.createElement(te, null)), mn = (e) => /* @__PURE__ */ n.createElement(
|
|
26
27
|
c,
|
|
27
28
|
{
|
|
28
29
|
...e
|
|
@@ -34,91 +35,91 @@ const Ie = (e) => /* @__PURE__ */ n.createElement(c, { ...e }, /* @__PURE__ */ n
|
|
|
34
35
|
`
|
|
35
36
|
);
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
38
|
+
re as IconApp,
|
|
39
|
+
Ie as IconBackLink,
|
|
40
|
+
me as IconBackup,
|
|
41
|
+
gn as IconCalendar,
|
|
42
|
+
se as IconCamera,
|
|
43
|
+
Ee as IconChangelog,
|
|
44
|
+
un as IconCheck,
|
|
45
|
+
dn as IconCheckboxChecked,
|
|
46
|
+
fn as IconCheckboxEmpty,
|
|
47
|
+
Cn as IconCheckboxIndeterminate,
|
|
48
|
+
Sn as IconChevronDown,
|
|
49
|
+
$n as IconChevronLeft,
|
|
50
|
+
wn as IconChevronRight,
|
|
51
|
+
Ln as IconChevronUp,
|
|
52
|
+
ie as IconClock,
|
|
53
|
+
Dn as IconClose,
|
|
54
|
+
ue as IconCode,
|
|
55
|
+
Pn as IconContextMenu,
|
|
56
|
+
pe as IconContractPartner,
|
|
57
|
+
de as IconContractPosition,
|
|
58
|
+
zn as IconCopy,
|
|
59
|
+
fe as IconCronjob,
|
|
60
|
+
he as IconCustomer,
|
|
61
|
+
Bn as IconDanger,
|
|
62
|
+
Ce as IconDashboard,
|
|
63
|
+
xe as IconDatabase,
|
|
64
|
+
Rn as IconDelete,
|
|
65
|
+
Se as IconDeliveryBox,
|
|
66
|
+
ke as IconDomain,
|
|
67
|
+
ge as IconDownload,
|
|
68
|
+
$e as IconEdit,
|
|
69
|
+
be as IconEmail,
|
|
70
|
+
we as IconExtension,
|
|
71
|
+
jn as IconExternalLink,
|
|
71
72
|
Nn as IconFailed,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
Un as IconFilter,
|
|
74
|
+
ve as IconHide,
|
|
75
|
+
Le as IconHome,
|
|
76
|
+
Me as IconInbox,
|
|
76
77
|
qn as IconInfo,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
De as IconInvoice,
|
|
79
|
+
Fe as IconLock,
|
|
80
|
+
Pe as IconLockOpen,
|
|
81
|
+
ye as IconLogout,
|
|
82
|
+
ze as IconMaximize,
|
|
83
|
+
Oe as IconMember,
|
|
84
|
+
Be as IconMenu,
|
|
85
|
+
He as IconMinimize,
|
|
85
86
|
Qn as IconMinus,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
mn as IconMittwald,
|
|
88
|
+
Re as IconNotification,
|
|
89
|
+
Ue as IconNumber,
|
|
90
|
+
Ae as IconOrder,
|
|
91
|
+
Te as IconPayment,
|
|
91
92
|
_n as IconPending,
|
|
92
|
-
|
|
93
|
+
Ve as IconPerformance,
|
|
93
94
|
Yn as IconPlus,
|
|
94
|
-
|
|
95
|
+
We as IconProject,
|
|
95
96
|
nc as IconRadioOff,
|
|
96
97
|
cc as IconRadioOn,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
je as IconRedo,
|
|
99
|
+
Ke as IconRefresh,
|
|
100
|
+
An as IconSave,
|
|
100
101
|
oc as IconSearch,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
102
|
+
Ne as IconSearchEngine,
|
|
103
|
+
Ge as IconSecurity,
|
|
104
|
+
Xe as IconServer,
|
|
105
|
+
qe as IconSettings,
|
|
106
|
+
Je as IconShare,
|
|
107
|
+
Qe as IconShow,
|
|
108
|
+
Tn as IconSorting,
|
|
109
|
+
Ye as IconSpamProtectionOff,
|
|
110
|
+
Ze as IconSpamProtectionOn,
|
|
111
|
+
_e as IconSshKey,
|
|
112
|
+
en as IconSshSftp,
|
|
113
|
+
nn as IconStar,
|
|
114
|
+
cn as IconStarFilled,
|
|
115
|
+
tn as IconSubdomain,
|
|
115
116
|
Gn as IconSucceeded,
|
|
116
117
|
ac as IconSuccess,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
on as IconSupport,
|
|
119
|
+
ln as IconTerminate,
|
|
120
|
+
an as IconTicket,
|
|
121
|
+
rn as IconUndo,
|
|
122
|
+
In as IconUser,
|
|
123
|
+
Vn as IconView,
|
|
123
124
|
rc as IconWarning
|
|
124
125
|
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import n, { useContext as E } from "react";
|
|
4
|
+
import * as L from "react-aria-components";
|
|
5
|
+
import { C as g } from "./ClearPropsContext-CUvsbMn8.js";
|
|
6
|
+
import { P } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
|
+
import "@react-aria/utils";
|
|
8
|
+
import "./propsContext-DzAKlmhS.js";
|
|
9
|
+
import "remeda";
|
|
10
|
+
import w from "clsx";
|
|
11
|
+
import { f as h } from "./flowComponent-uZXy7sF4.js";
|
|
12
|
+
import { l as N } from "./context-BlNV7smK.js";
|
|
13
|
+
import "@tabler/icons-react";
|
|
14
|
+
import "./Icon-COqUQ8Af.js";
|
|
15
|
+
import { I as y } from "./IconExternalLink-D3Jne1hg.js";
|
|
16
|
+
import { useLocalizedStringFormatter as F } from "react-aria";
|
|
17
|
+
const I = "flow--link", b = "flow--link--inline", z = "flow--link--icon", v = "flow--link--dark", A = "flow--link--light", o = {
|
|
18
|
+
link: I,
|
|
19
|
+
inline: b,
|
|
20
|
+
icon: z,
|
|
21
|
+
dark: v,
|
|
22
|
+
light: A
|
|
23
|
+
}, D = { "de-DE": {
|
|
24
|
+
"link.external": "Externer Link"
|
|
25
|
+
}, "en-EN": {
|
|
26
|
+
"link.external": "External link"
|
|
27
|
+
} }, Q = h("Link", (t) => {
|
|
28
|
+
const {
|
|
29
|
+
children: l,
|
|
30
|
+
className: r,
|
|
31
|
+
inline: a,
|
|
32
|
+
linkComponent: e,
|
|
33
|
+
color: s = "primary",
|
|
34
|
+
unstyled: m = !1,
|
|
35
|
+
"aria-current": c,
|
|
36
|
+
refProp: p,
|
|
37
|
+
...k
|
|
38
|
+
} = t, { linkComponent: i } = E(N), f = e || (t.href && i ? i : L.Link), C = m ? r : w(o.link, a && o.inline, o[s], r), x = {
|
|
39
|
+
Icon: {
|
|
40
|
+
className: o.icon,
|
|
41
|
+
size: "s"
|
|
42
|
+
}
|
|
43
|
+
}, u = {
|
|
44
|
+
"aria-current": c
|
|
45
|
+
}, d = F(D);
|
|
46
|
+
return /* @__PURE__ */ n.createElement(g, null, /* @__PURE__ */ n.createElement(
|
|
47
|
+
f,
|
|
48
|
+
{
|
|
49
|
+
...k,
|
|
50
|
+
...u,
|
|
51
|
+
className: C,
|
|
52
|
+
ref: p
|
|
53
|
+
},
|
|
54
|
+
/* @__PURE__ */ n.createElement(P, { props: x }, l, t.target === "_blank" && /* @__PURE__ */ n.createElement(
|
|
55
|
+
y,
|
|
56
|
+
{
|
|
57
|
+
"aria-label": d.format("link.external")
|
|
58
|
+
}
|
|
59
|
+
))
|
|
60
|
+
));
|
|
61
|
+
});
|
|
62
|
+
export {
|
|
63
|
+
Q as L
|
|
64
|
+
};
|
package/dist/js/Link.js
CHANGED
package/dist/js/Notification.js
CHANGED
|
@@ -8,7 +8,7 @@ import "@react-aria/utils";
|
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { d as h } from "./dynamic-ClpUSmEt.js";
|
|
10
10
|
import { A as k } from "./AlertIcon-BvaKmEPH.js";
|
|
11
|
-
import { L as x } from "./Link-
|
|
11
|
+
import { L as x } from "./Link-BIdVI7SK.js";
|
|
12
12
|
import { B as C } from "./Button-Da1fC2tj.js";
|
|
13
13
|
import "@tabler/icons-react";
|
|
14
14
|
import "./Icon-COqUQ8Af.js";
|
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.299",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
"@chakra-ui/live-region": "^2.1.0",
|
|
385
385
|
"@internationalized/date": "^3.5.6",
|
|
386
386
|
"@internationalized/string-compiler": "^3.2.5",
|
|
387
|
-
"@mittwald/react-tunnel": "^0.1.0-alpha.
|
|
387
|
+
"@mittwald/react-tunnel": "^0.1.0-alpha.299",
|
|
388
388
|
"@mittwald/react-use-promise": "^2.5.0",
|
|
389
389
|
"@react-aria/utils": "^3.25.3",
|
|
390
390
|
"@react-types/shared": "^3.25.0",
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
},
|
|
413
413
|
"devDependencies": {
|
|
414
414
|
"@faker-js/faker": "^9.0.3",
|
|
415
|
-
"@mittwald/flow-design-tokens": "^0.1.0-alpha.
|
|
415
|
+
"@mittwald/flow-design-tokens": "^0.1.0-alpha.299",
|
|
416
416
|
"@mittwald/react-use-promise": "^2.5.0",
|
|
417
417
|
"@nx/storybook": "^20.0.0",
|
|
418
418
|
"@storybook/addon-a11y": "^8.3.5",
|
|
@@ -491,5 +491,5 @@
|
|
|
491
491
|
"optional": true
|
|
492
492
|
}
|
|
493
493
|
},
|
|
494
|
-
"gitHead": "
|
|
494
|
+
"gitHead": "ed79ea17178cfad3bece26fc6f561da913518232"
|
|
495
495
|
}
|
package/dist/js/Link-BKu-Koyw.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
import o, { useContext as d } from "react";
|
|
4
|
-
import * as P from "react-aria-components";
|
|
5
|
-
import { C as w } from "./ClearPropsContext-CUvsbMn8.js";
|
|
6
|
-
import { P as L } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
|
-
import "@react-aria/utils";
|
|
8
|
-
import "./propsContext-DzAKlmhS.js";
|
|
9
|
-
import "remeda";
|
|
10
|
-
import h from "clsx";
|
|
11
|
-
import { f as g } from "./flowComponent-uZXy7sF4.js";
|
|
12
|
-
import { l as y } from "./context-BlNV7smK.js";
|
|
13
|
-
const N = "flow--link", E = "flow--link--inline", F = "flow--link--icon", v = "flow--link--dark", z = "flow--link--light", n = {
|
|
14
|
-
link: N,
|
|
15
|
-
inline: E,
|
|
16
|
-
icon: F,
|
|
17
|
-
dark: v,
|
|
18
|
-
light: z
|
|
19
|
-
}, G = g("Link", (t) => {
|
|
20
|
-
const {
|
|
21
|
-
children: l,
|
|
22
|
-
className: r,
|
|
23
|
-
inline: s,
|
|
24
|
-
linkComponent: i,
|
|
25
|
-
color: m = "primary",
|
|
26
|
-
unstyled: a = !1,
|
|
27
|
-
"aria-current": c,
|
|
28
|
-
refProp: p,
|
|
29
|
-
...k
|
|
30
|
-
} = t, { linkComponent: e } = d(y), f = i || (t.href && e ? e : P.Link), C = a ? r : h(n.link, s && n.inline, n[m], r), u = {
|
|
31
|
-
Icon: {
|
|
32
|
-
className: n.icon,
|
|
33
|
-
size: "s"
|
|
34
|
-
}
|
|
35
|
-
}, x = {
|
|
36
|
-
"aria-current": c
|
|
37
|
-
};
|
|
38
|
-
return /* @__PURE__ */ o.createElement(w, null, /* @__PURE__ */ o.createElement(
|
|
39
|
-
f,
|
|
40
|
-
{
|
|
41
|
-
...k,
|
|
42
|
-
...x,
|
|
43
|
-
className: C,
|
|
44
|
-
ref: p
|
|
45
|
-
},
|
|
46
|
-
/* @__PURE__ */ o.createElement(L, { props: u }, l)
|
|
47
|
-
));
|
|
48
|
-
});
|
|
49
|
-
export {
|
|
50
|
-
G as L
|
|
51
|
-
};
|