@m4l/components 0.0.3 → 0.0.4

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.
@@ -0,0 +1,3 @@
1
+ import type { Dictionary } from '@m4l/core';
2
+ export declare function getActionnsComponentsDictionary(): string[];
3
+ export declare const defaultActionsDictionary: Dictionary;
@@ -38,4 +38,7 @@ const FormActions = (props) => {
38
38
  })]
39
39
  });
40
40
  };
41
- export { FormActions as F };
41
+ function getActionnsComponentsDictionary() {
42
+ return ["actions"];
43
+ }
44
+ export { FormActions as F, getActionnsComponentsDictionary as g };
@@ -0,0 +1,3 @@
1
+ import { Dictionary } from "@m4l/core";
2
+ export declare function getModalDialogComponentsDictionary(): string[];
3
+ export declare const defaultModalDialogDictionary: Dictionary;
@@ -11,7 +11,7 @@ import "react";
11
11
  import "react-router-dom";
12
12
  import { jsxs, jsx } from "react/jsx-runtime";
13
13
  import "../mui_extended/MenuActions/index.js";
14
- import { F as FormActions } from "../FormActions/index.js";
14
+ import { F as FormActions, g as getActionnsComponentsDictionary } from "../FormActions/index.js";
15
15
  const WrapperDialog = styled(Dialog)(() => ({}));
16
16
  const Container = styled("div")(({ theme }) => ({
17
17
  display: "flex",
@@ -171,4 +171,10 @@ const ModalDialog = () => {
171
171
  }), !isDesktop && contentComnponent]
172
172
  });
173
173
  };
174
- export { ModalDialog as M };
174
+ function getModalDialogComponentsDictionary() {
175
+ return ["modal_dialog"].concat(getActionnsComponentsDictionary());
176
+ }
177
+ const defaultModalDialogDictionary = {
178
+ modal_dialog: {}
179
+ };
180
+ export { ModalDialog as M, defaultModalDialogDictionary as d, getModalDialogComponentsDictionary as g };
@@ -1,5 +1,7 @@
1
1
  export * from '../components/mui_extended';
2
2
  export * from '../components/FormActions';
3
3
  export * from '../components/ModalDialog';
4
+ export * from '../components/ModalDialog/dictionary';
4
5
  export * from '../components/Resizeable';
5
6
  export * from '../components/SplitLayout';
7
+ export type { SplitPosition } from '../components/SplitLayout/types';
@@ -3,7 +3,7 @@ export { default as MenuPopover } from './MenuPopover';
3
3
  export { default as Breadcrumbs } from './Breadcrumbs';
4
4
  export type { TLink } from './Breadcrumbs/types';
5
5
  export { default as MenuActions } from './MenuActions';
6
- export type { MenuAction } from './MenuActions/types';
6
+ export type { MenuAction, ComponentActionProps } from './MenuActions/types';
7
7
  declare module '@mui/material/styles/createPalette' {
8
8
  interface TypeBackground {
9
9
  neutral: string;
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ export { M as MenuPopover } from "./components/mui_extended/MenuPopover/index.js
3
3
  export { B as Breadcrumbs } from "./components/mui_extended/Breadcrumbs/index.js";
4
4
  export { M as MenuActions } from "./components/mui_extended/MenuActions/index.js";
5
5
  export { F as FormActions } from "./components/FormActions/index.js";
6
- export { M as ModalDialog } from "./components/ModalDialog/index.js";
6
+ export { M as ModalDialog, d as defaultModalDialogDictionary, g as getModalDialogComponentsDictionary } from "./components/ModalDialog/index.js";
7
7
  export { R as Resizeable } from "./components/Resizeable/index.js";
8
8
  export { S as SplitLayout } from "./components/SplitLayout/index.js";
9
9
  export { M as ModalContext, a as ModalProvider } from "./contexts/ModalContext/index.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
3
  "private": false,
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "license": "UNLICENSED",
6
6
  "scripts": {
7
7
  "dev": "vite",