@mittwald/flow-react-components 1.2.0-next.54 → 1.2.0-next.56
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/AGENTS.md +8 -0
- package/USAGE.md +29 -0
- package/dist/assets/component-index.json +1 -1
- package/dist/assets/doc-properties.json +1 -1
- package/dist/js/tunnel.mjs +6 -0
- package/dist/types/index/tunnel.d.ts +12 -0
- package/package.json +13 -9
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import { getTunnelProviderId } from "./packages/components/src/components/UiComponentTunnel/lib.mjs";
|
|
4
|
+
import { TunnelEntry } from "./packages/components/src/components/TunnelEntry/TunnelEntry.mjs";
|
|
5
|
+
import { TunnelExit, TunnelProvider } from "@mittwald/react-tunnel";
|
|
6
|
+
export { TunnelEntry, TunnelExit, TunnelProvider, getTunnelProviderId };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `@mittwald/react-tunnel` API, re-exported so consumers render through the
|
|
3
|
+
* very module instance Flow uses. Its context is module-level, so a second copy
|
|
4
|
+
* of the package — which a consumer's own dependency on it produces as soon as
|
|
5
|
+
* the versions diverge — is a second context, and entries no longer find Flow's
|
|
6
|
+
* providers.
|
|
7
|
+
*/
|
|
8
|
+
export { TunnelProvider, type TunnelProviderProps, TunnelExit, type TunnelExitProps, type TunnelExitChildren, type TunnelEntryChildren, } from '@mittwald/react-tunnel';
|
|
9
|
+
/** The same `TunnelEntry` the main entry point exports, not react-tunnel's. */
|
|
10
|
+
export { TunnelEntry, type TunnelEntryProps } from '../components/TunnelEntry';
|
|
11
|
+
export { getTunnelProviderId } from '../components/UiComponentTunnel/lib';
|
|
12
|
+
export type { FlowComponentName } from '../components/propTypes/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "1.2.0-next.
|
|
3
|
+
"version": "1.2.0-next.56",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://flow.mittwald.de",
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
"types": "./dist/types/index/flr-universal.d.ts",
|
|
25
25
|
"import": "./dist/js/flr-universal.mjs"
|
|
26
26
|
},
|
|
27
|
+
"./tunnel": {
|
|
28
|
+
"types": "./dist/types/index/tunnel.d.ts",
|
|
29
|
+
"import": "./dist/js/tunnel.mjs"
|
|
30
|
+
},
|
|
27
31
|
"./nextjs": {
|
|
28
32
|
"types": "./dist/types/integrations/nextjs/index.d.ts",
|
|
29
33
|
"import": "./dist/js/nextjs.mjs"
|
|
@@ -79,9 +83,9 @@
|
|
|
79
83
|
"@internationalized/string-compiler": "^3.4.1",
|
|
80
84
|
"@lezer/common": "^1.5.2",
|
|
81
85
|
"@lezer/highlight": "^1.2.3",
|
|
82
|
-
"@mittwald/flow-icons": "1.2.0-next.
|
|
86
|
+
"@mittwald/flow-icons": "^1.2.0-next.56",
|
|
83
87
|
"@mittwald/password-tools-js": "^3.0.0",
|
|
84
|
-
"@mittwald/react-tunnel": "1.2.0-next.
|
|
88
|
+
"@mittwald/react-tunnel": "^1.2.0-next.56",
|
|
85
89
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
86
90
|
"@react-aria/form": "^3.2.1",
|
|
87
91
|
"@react-aria/i18n": "^3.13.1",
|
|
@@ -134,12 +138,12 @@
|
|
|
134
138
|
"@internationalized/date": "^3.12.3",
|
|
135
139
|
"@lezer/generator": "^1.8.0",
|
|
136
140
|
"@lezer/lr": "^1.4.10",
|
|
137
|
-
"@mittwald/flow-core": "1.2.0-next.
|
|
138
|
-
"@mittwald/flow-design-tokens": "1.2.0-next.
|
|
139
|
-
"@mittwald/flow-icons-base": "1.2.0-next.
|
|
141
|
+
"@mittwald/flow-core": "1.2.0-next.56",
|
|
142
|
+
"@mittwald/flow-design-tokens": "1.2.0-next.56",
|
|
143
|
+
"@mittwald/flow-icons-base": "1.2.0-next.56",
|
|
140
144
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
141
145
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.10",
|
|
142
|
-
"@mittwald/typescript-config": "1.2.0-next.
|
|
146
|
+
"@mittwald/typescript-config": "1.2.0-next.56",
|
|
143
147
|
"@nx/storybook": "^22.7.6",
|
|
144
148
|
"@storybook/addon-a11y": "^10.5.10",
|
|
145
149
|
"@storybook/addon-actions": "^9.0.8",
|
|
@@ -191,7 +195,7 @@
|
|
|
191
195
|
},
|
|
192
196
|
"peerDependencies": {
|
|
193
197
|
"@internationalized/date": "^3.12.2",
|
|
194
|
-
"@mittwald/flow-icons-pro": "1.2.0-next.
|
|
198
|
+
"@mittwald/flow-icons-pro": "1.2.0-next.56",
|
|
195
199
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
196
200
|
"next": "^16.2.3",
|
|
197
201
|
"react": "^19.2.0",
|
|
@@ -215,5 +219,5 @@
|
|
|
215
219
|
"browserslist": [
|
|
216
220
|
"baseline widely available"
|
|
217
221
|
],
|
|
218
|
-
"gitHead": "
|
|
222
|
+
"gitHead": "d01f3493968e4df1e1387c9ab617d19c45dc9cb2"
|
|
219
223
|
}
|