@m4l/components 0.0.7 → 0.0.8

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.
@@ -1,4 +1,4 @@
1
- import { PagerProps } from '@mui_extended/Pager/types';
1
+ import type { PagerProps } from '../../../mui_extended/Pager/types';
2
2
  import { SettingsProps } from './components/Settings/types';
3
3
  export interface ActionsProps {
4
4
  withSettings?: boolean;
@@ -1,4 +1,4 @@
1
- import { MenuAction } from '@mui_extended/MenuActions/types';
1
+ import { MenuAction } from '../../../mui_extended/MenuActions/types';
2
2
  import { ReactNode } from 'react';
3
3
  import { Column } from 'react-data-grid';
4
4
  import { Maybe } from '@m4l/core';
@@ -6,11 +6,13 @@ import { HTML5Backend } from "react-dnd-html5-backend";
6
6
  import { SvgIcon, Checkbox, InputBase, Skeleton } from "@mui/material";
7
7
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
8
8
  import { voidFunction, useModuleDictionary, useEnvironment } from "@m4l/core";
9
- import { MenuActions } from "@mui_extended";
9
+ import "@mui/material/Box";
10
+ import "../mui_extended/MenuPopover/index.js";
11
+ import "react-router-dom";
12
+ import { M as MenuActions } from "../mui_extended/MenuActions/index.js";
10
13
  import { P as Pager, g as getPagerComponentsDictionary, d as defaultPagerDictionary } from "../mui_extended/Pager/index.js";
11
14
  import { I as IconButton } from "../mui_extended/IconButton/index.js";
12
15
  import { u as useModal } from "../../hooks/useModal/index.js";
13
- import { M as MenuActions$1 } from "../mui_extended/MenuActions/index.js";
14
16
  import { u as useResponsiveDesktop } from "../../vendor.js";
15
17
  import { g as getModalDialogComponentsDictionary, d as defaultModalDialogDictionary } from "../ModalDialog/index.js";
16
18
  import { format } from "date-fns";
@@ -1478,7 +1480,7 @@ function Density() {
1478
1480
  }
1479
1481
  return /* @__PURE__ */ jsx(WrapperDensity, {
1480
1482
  id: "WrapperDensity",
1481
- children: /* @__PURE__ */ jsx(MenuActions$1, {
1483
+ children: /* @__PURE__ */ jsx(MenuActions, {
1482
1484
  arrow: "right-top",
1483
1485
  anchorOrigin: {
1484
1486
  vertical: "top",
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { MenuAction } from '@mui_extended/MenuActions/types';
3
2
  import { Column } from 'react-data-grid';
3
+ import { MenuAction } from '../mui_extended';
4
4
  import { ActionsProps } from './components/Actions/types';
5
5
  export declare type ColumnType = 'text' | 'date' | 'number' | 'boolean' | 'custom';
6
6
  export declare type ColumnAlign = 'left' | 'center' | 'right';
@@ -1,4 +1,4 @@
1
- import { ModalOpenOptions } from "src/contexts/ModalContext/types";
1
+ import { ModalOpenOptions } from "../../contexts/ModalContext/types";
2
2
  declare type ImodalOpt = Pick<ModalOpenOptions, 'actionComponents' | 'standardActions'>;
3
3
  export interface ActionsProps extends ImodalOpt {
4
4
  variant?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { VariantModal } from 'src/contexts/ModalContext/types';
2
+ import { VariantModal } from '../../../../contexts/ModalContext/types';
3
3
  export interface HeaderProps {
4
4
  variant?: VariantModal;
5
5
  title: string;
package/dist/index.js CHANGED
@@ -24,7 +24,6 @@ import "./react-data-grid.js";
24
24
  import "clsx";
25
25
  import "react-dnd";
26
26
  import "react-dnd-html5-backend";
27
- import "@mui_extended";
28
27
  import "./vendor.js";
29
28
  import "@mui/material/useMediaQuery";
30
29
  import "@mui/x-date-pickers";
package/dist/vendor.js CHANGED
@@ -12,7 +12,6 @@ import useMediaQuery from "@mui/material/useMediaQuery";
12
12
  import { i as initialPagerState } from "./components/DataGrid/index.js";
13
13
  import "react-dnd";
14
14
  import "react-dnd-html5-backend";
15
- import "@mui_extended";
16
15
  import "./contexts/ModalContext/index.js";
17
16
  import "@mui/x-date-pickers";
18
17
  import "@mui/lab/AdapterDateFns";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
3
  "private": false,
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "license": "UNLICENSED",
6
6
  "scripts": {
7
7
  "dev": "vite",