@m4l/graphics 0.0.36 → 0.0.39

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,2 +1 @@
1
1
  export { ProgressBarStyle } from './ProgressBarStyle';
2
- export { Page } from './Page';
@@ -1,4 +1,3 @@
1
1
  import "@mui/material/styles";
2
2
  import "@mui/material";
3
3
  import "react/jsx-runtime";
4
- import "./Page/index.js";
@@ -1,3 +1,2 @@
1
1
  export * from './LocalesContext';
2
2
  export * from './HostThemeContext';
3
- export { HelmetProvider } from 'react-helmet-async';
@@ -1,3 +1,2 @@
1
1
  import "./LocalesContext/index.js";
2
2
  import "./HostThemeContext/index.js";
3
- import "react-helmet-async";
package/dist/index.js CHANGED
@@ -1,8 +1,6 @@
1
1
  export { P as ProgressBarStyle } from "./components/ProgressBarStyle/index.js";
2
- export { P as Page } from "./components/Page/index.js";
3
2
  export { L as LocalesContext, a as LocalesProvider } from "./contexts/LocalesContext/index.js";
4
3
  export { H as HostThemeContext, a as HostThemeProvider } from "./contexts/HostThemeContext/index.js";
5
- export { HelmetProvider } from "react-helmet-async";
6
4
  export { u as useResponsive, a as useResponsiveDesktop } from "./hooks/useResponsive/index.js";
7
5
  export { u as useIsMountedRef, a as useOffSetTop } from "./hooks/index.js";
8
6
  export { u as useLocales } from "./hooks/useLocales/index.js";
@@ -84,8 +84,8 @@ function IconButton(theme) {
84
84
  styleOverrides: {
85
85
  root: {
86
86
  "&.MuiIconButton-sizeSmall": {
87
- height: theme.spacing(3.75),
88
- width: theme.spacing(3.75),
87
+ height: theme.spacing(3),
88
+ width: theme.spacing(3),
89
89
  margin: 0,
90
90
  padding: 0,
91
91
  " > svg": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@m4l/graphics",
3
3
  "private": false,
4
- "version": "0.0.36",
4
+ "version": "0.0.39",
5
5
  "license": "UNLICENSED",
6
6
  "author": "M4L Team",
7
7
  "scripts": {
@@ -15,7 +15,7 @@
15
15
  "format": "npm run prettier:fix && npm run lint:fix"
16
16
  },
17
17
  "dependencies": {
18
- "@m4l/core": "^0.0.41",
18
+ "@m4l/core": "^0.0.42",
19
19
  "@mui/material": "^5.8.6",
20
20
  "@mui/x-date-pickers": "^5.0.0-beta.3",
21
21
  "date-fns": "^2.29.1",
@@ -23,7 +23,6 @@
23
23
  "react": ">=18",
24
24
  "react-dom": "^18.0.0",
25
25
  "react-dropzone": "^14.2.1",
26
- "react-helmet-async": "^1.3.0",
27
26
  "react-hook-form": "^7.31.3",
28
27
  "react-intersection-observer": "^9.2.2",
29
28
  "react-router-dom": "^6.3.0",
@@ -38,6 +37,7 @@
38
37
  "@emotion/styled": "^11.9.3",
39
38
  "@hookform/resolvers": "^2.9.3",
40
39
  "@mui/icons-material": "^5.8.4",
40
+ "@types/mkcert": "^1.2.0",
41
41
  "@types/node": "^17.0.40",
42
42
  "@types/nprogress": "^0.2.0",
43
43
  "@types/react": "^18.0.0",
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { PageProps } from './types';
3
- export declare const Page: import("react").ForwardRefExoticComponent<Pick<PageProps, "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "lineHeight" | "letterSpacing" | "textTransform" | "className" | "style" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "fontStyle" | "textAlign" | "translate" | "meta" | "slot" | "title" | "children" | "component" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,31 +0,0 @@
1
- import { forwardRef } from "react";
2
- import { Helmet } from "react-helmet-async";
3
- import { Box } from "@mui/material";
4
- import { u as useLocales } from "../../hooks/useLocales/index.js";
5
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
6
- const Page = forwardRef((props, ref) => {
7
- const {
8
- children,
9
- title = "",
10
- meta,
11
- ...other
12
- } = props;
13
- const {
14
- currentLang
15
- } = useLocales();
16
- return /* @__PURE__ */ jsxs(Fragment, {
17
- children: [/* @__PURE__ */ jsxs(Helmet, {
18
- children: [/* @__PURE__ */ jsx("title", {
19
- children: `${title} | Made4Labs`
20
- }), /* @__PURE__ */ jsx("html", {
21
- lang: currentLang.value
22
- }), meta]
23
- }), /* @__PURE__ */ jsx(Box, {
24
- ref,
25
- ...other,
26
- children
27
- })]
28
- });
29
- });
30
- Page.displayName = "Page";
31
- export { Page as P };
@@ -1,7 +0,0 @@
1
- import type { BoxProps } from '@mui/material';
2
- import type { ReactNode } from 'react';
3
- export interface PageProps extends BoxProps {
4
- children: ReactNode;
5
- meta?: ReactNode;
6
- title: string;
7
- }