@mittwald/mstudio-ext-react-components 0.2.0-alpha.781 → 0.2.0-alpha.783
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/js/components/Actions/Actions.mjs +19 -6
- package/dist/js/components/Actions/Actions.mjs.map +1 -1
- package/dist/js/components/Actions/index.mjs +1 -0
- package/dist/js/components/Breadcrumb/Breadcrumb.mjs +19 -6
- package/dist/js/components/Breadcrumb/Breadcrumb.mjs.map +1 -1
- package/dist/js/components/Breadcrumb/index.mjs +1 -0
- package/dist/js/components/Title/Title.mjs +16 -6
- package/dist/js/components/Title/Title.mjs.map +1 -1
- package/dist/js/components/Title/index.mjs +1 -0
- package/dist/js/components/index.mjs +8 -0
- package/dist/js/index.mjs +5 -5
- package/package.json +5 -5
- package/dist/js/index.mjs.map +0 -1
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { TunnelEntry } from "@mittwald/flow-remote-react-components";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/Actions/Actions.tsx
|
|
6
|
+
/**
|
|
7
|
+
* Use <MenuItem> children to add items to the actions menu.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* <Actions>
|
|
11
|
+
* <MenuItem onAction={onRename}>Rename</MenuItem>
|
|
12
|
+
* <MenuItem onAction={onDelete}>Delete</MenuItem>
|
|
13
|
+
* </Actions>;
|
|
14
|
+
*/
|
|
15
|
+
var Actions = (props) => /* @__PURE__ */ jsx(TunnelEntry, {
|
|
16
|
+
id: "@mstudio-ext/actions",
|
|
17
|
+
children: props.children
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { Actions as default };
|
|
5
21
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export { Actions };
|
|
9
|
-
//# sourceMappingURL=Actions.mjs.map
|
|
22
|
+
//# sourceMappingURL=Actions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Actions.mjs","sources":["../../../../src/components/Actions/Actions.tsx"],"sourcesContent":["import { TunnelEntry } from \"@mittwald/flow-remote-react-components\";\nimport type { FC, PropsWithChildren } from \"react\";\n\n/**\n * Use <MenuItem> children to add items to the actions menu.\n *\n * @example\n * <Actions>\n * <MenuItem onAction={onRename}>Rename</MenuItem>\n * <MenuItem onAction={onDelete}>Delete</MenuItem>\n * </Actions>;\n */\nexport const Actions: FC<PropsWithChildren> = (props) => (\n <TunnelEntry id=\"@mstudio-ext/actions\">{props.children}</TunnelEntry>\n);\n\nexport default Actions;\n"],"
|
|
1
|
+
{"version":3,"file":"Actions.mjs","names":[],"sources":["../../../../src/components/Actions/Actions.tsx"],"sourcesContent":["import { TunnelEntry } from \"@mittwald/flow-remote-react-components\";\nimport type { FC, PropsWithChildren } from \"react\";\n\n/**\n * Use <MenuItem> children to add items to the actions menu.\n *\n * @example\n * <Actions>\n * <MenuItem onAction={onRename}>Rename</MenuItem>\n * <MenuItem onAction={onDelete}>Delete</MenuItem>\n * </Actions>;\n */\nexport const Actions: FC<PropsWithChildren> = (props) => (\n <TunnelEntry id=\"@mstudio-ext/actions\">{props.children}</TunnelEntry>\n);\n\nexport default Actions;\n"],"mappings":";;;;;;;;;;;;AAYA,IAAa,WAAkC,UAC7C,oBAAC,aAAD;CAAa,IAAG;WAAwB,MAAM;CAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./Actions.mjs";
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { TunnelEntry } from "@mittwald/flow-remote-react-components";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/Breadcrumb/Breadcrumb.tsx
|
|
6
|
+
/**
|
|
7
|
+
* Use <Link> children to add items to the breadcrumb.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* <Breadcrumb>
|
|
11
|
+
* <Link href="/profiles">Profiles</Link>
|
|
12
|
+
* <Link href="/profiles/5">Profile</Link>
|
|
13
|
+
* </Breadcrumb>;
|
|
14
|
+
*/
|
|
15
|
+
var Breadcrumb = (props) => /* @__PURE__ */ jsx(TunnelEntry, {
|
|
16
|
+
id: "@mstudio-ext/breadcrumb",
|
|
17
|
+
children: props.children
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { Breadcrumb as default };
|
|
5
21
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export { Breadcrumb };
|
|
9
|
-
//# sourceMappingURL=Breadcrumb.mjs.map
|
|
22
|
+
//# sourceMappingURL=Breadcrumb.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.mjs","sources":["../../../../src/components/Breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import { TunnelEntry } from \"@mittwald/flow-remote-react-components\";\nimport type { FC, PropsWithChildren } from \"react\";\n\n/**\n * Use <Link> children to add items to the breadcrumb.\n *\n * @example\n * <Breadcrumb>\n * <Link href=\"/profiles\">Profiles</Link>\n * <Link href=\"/profiles/5\">Profile</Link>\n * </Breadcrumb>;\n */\nexport const Breadcrumb: FC<PropsWithChildren> = (props) => (\n <TunnelEntry id=\"@mstudio-ext/breadcrumb\">{props.children}</TunnelEntry>\n);\n\nexport default Breadcrumb;\n"],"
|
|
1
|
+
{"version":3,"file":"Breadcrumb.mjs","names":[],"sources":["../../../../src/components/Breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import { TunnelEntry } from \"@mittwald/flow-remote-react-components\";\nimport type { FC, PropsWithChildren } from \"react\";\n\n/**\n * Use <Link> children to add items to the breadcrumb.\n *\n * @example\n * <Breadcrumb>\n * <Link href=\"/profiles\">Profiles</Link>\n * <Link href=\"/profiles/5\">Profile</Link>\n * </Breadcrumb>;\n */\nexport const Breadcrumb: FC<PropsWithChildren> = (props) => (\n <TunnelEntry id=\"@mstudio-ext/breadcrumb\">{props.children}</TunnelEntry>\n);\n\nexport default Breadcrumb;\n"],"mappings":";;;;;;;;;;;;AAYA,IAAa,cAAqC,UAChD,oBAAC,aAAD;CAAa,IAAG;WAA2B,MAAM;CAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./Breadcrumb.mjs";
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { TunnelEntry } from "@mittwald/flow-remote-react-components";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/Title/Title.tsx
|
|
6
|
+
/**
|
|
7
|
+
* Overwrite the title of the current page.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* <Title>My title</Title>;
|
|
11
|
+
*/
|
|
12
|
+
var Title = (props) => /* @__PURE__ */ jsx(TunnelEntry, {
|
|
13
|
+
id: "@mstudio-ext/title",
|
|
14
|
+
children: props.children
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { Title as default };
|
|
5
18
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export { Title };
|
|
9
|
-
//# sourceMappingURL=Title.mjs.map
|
|
19
|
+
//# sourceMappingURL=Title.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.mjs","sources":["../../../../src/components/Title/Title.tsx"],"sourcesContent":["import { TunnelEntry } from \"@mittwald/flow-remote-react-components\";\nimport type { FC, PropsWithChildren } from \"react\";\n\n/**\n * Overwrite the title of the current page.\n *\n * @example\n * <Title>My title</Title>;\n */\nexport const Title: FC<PropsWithChildren> = (props) => (\n <TunnelEntry id=\"@mstudio-ext/title\">{props.children}</TunnelEntry>\n);\n\nexport default Title;\n"],"
|
|
1
|
+
{"version":3,"file":"Title.mjs","names":[],"sources":["../../../../src/components/Title/Title.tsx"],"sourcesContent":["import { TunnelEntry } from \"@mittwald/flow-remote-react-components\";\nimport type { FC, PropsWithChildren } from \"react\";\n\n/**\n * Overwrite the title of the current page.\n *\n * @example\n * <Title>My title</Title>;\n */\nexport const Title: FC<PropsWithChildren> = (props) => (\n <TunnelEntry id=\"@mstudio-ext/title\">{props.children}</TunnelEntry>\n);\n\nexport default Title;\n"],"mappings":";;;;;;;;;AASA,IAAa,SAAgC,UAC3C,oBAAC,aAAD;CAAa,IAAG;WAAsB,MAAM;CAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./Title.mjs";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./Title/Title.mjs";
|
|
2
|
+
import "./Title/index.mjs";
|
|
3
|
+
import "./Actions/Actions.mjs";
|
|
4
|
+
import "./Actions/index.mjs";
|
|
5
|
+
import "./Breadcrumb/Breadcrumb.mjs";
|
|
6
|
+
import "./Breadcrumb/index.mjs";
|
|
7
|
+
import { LoadingFallbackTrigger as LoadingIndicator } from "@mittwald/flow-remote-react-components";
|
|
8
|
+
export { LoadingIndicator };
|
package/dist/js/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import Title from "./components/Title/Title.mjs";
|
|
2
|
+
import Actions from "./components/Actions/Actions.mjs";
|
|
3
|
+
import Breadcrumb from "./components/Breadcrumb/Breadcrumb.mjs";
|
|
4
|
+
import { LoadingIndicator } from "./components/index.mjs";
|
|
5
|
+
export { Actions, Breadcrumb, LoadingIndicator, Title };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/mstudio-ext-react-components",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.783",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React components that can be used by mStudio extension developers",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@types/react": "^19.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@mittwald/flow-remote-react-components": "0.2.0-alpha.
|
|
29
|
+
"@mittwald/flow-remote-react-components": "0.2.0-alpha.783",
|
|
30
30
|
"@mittwald/typescript-config": "",
|
|
31
31
|
"@types/node": "^24.10.9",
|
|
32
32
|
"nx": "^22.4.4",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"rollup-plugin-auto-named-exports": "1.0.0-beta.3",
|
|
37
37
|
"rollup-preserve-directives": "^1.1.3",
|
|
38
38
|
"typescript": "^5.9.3",
|
|
39
|
-
"vite": "^
|
|
39
|
+
"vite": "^8.0.8",
|
|
40
40
|
"vite-plugin-banner": "^0.8.1",
|
|
41
41
|
"vite-plugin-checker": "^0.12.0",
|
|
42
42
|
"vite-plugin-dts": "^4.5.4",
|
|
43
43
|
"vite-plugin-externalize-deps": "^0.10.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@mittwald/flow-remote-react-components": "0.2.0-alpha.
|
|
46
|
+
"@mittwald/flow-remote-react-components": "0.2.0-alpha.782",
|
|
47
47
|
"react": "^19.2.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "433184ac008344ac57082a1505fa6041b82e1bcc"
|
|
50
50
|
}
|
package/dist/js/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|