@arquimedes.co/eureka-forms 3.0.44-mui9 → 3.0.45-mui9

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.
@@ -9,6 +9,8 @@ import { StoreContext } from '../../Utils/StoreContext';
9
9
  import { IdFormContext } from '../../Contexts/FormContext';
10
10
  import FormContext from '../../Contexts/FormContext';
11
11
  import SectionContext from '../../Contexts/SectionContext';
12
+ import MaterialProviders from '../../Utils/MaterialProviders';
13
+ import InternalFormStyle from '../../constants/InternalFormStyle';
12
14
  const STORY_FORM_ID = 'STORY_FORM';
13
15
  /** Minimal form object shared across FormStep stories */
14
16
  export const storyForm = {
@@ -80,5 +82,5 @@ export function withFormStepProviders(Story) {
80
82
  const methods = useForm({ mode: 'onChange' });
81
83
  return _jsx(FormProvider, { ...methods, children: children });
82
84
  }
83
- return (_jsx(Provider, { store: store, context: StoreContext, children: _jsx(IdFormContext.Provider, { value: STORY_FORM_ID, children: _jsx(FormContext.Provider, { value: storyForm, children: _jsx(SectionContext.Provider, { value: "SECTION_1", children: _jsx(FormStepWrapper, { children: _jsx(Story, {}) }) }) }) }) }));
85
+ return (_jsx(MaterialProviders, { formStyle: InternalFormStyle, children: _jsx(Provider, { store: store, context: StoreContext, children: _jsx(IdFormContext.Provider, { value: STORY_FORM_ID, children: _jsx(FormContext.Provider, { value: storyForm, children: _jsx(SectionContext.Provider, { value: "SECTION_1", children: _jsx(FormStepWrapper, { children: _jsx(Story, {}) }) }) }) }) }) }));
84
86
  }
@@ -1,2 +1,2 @@
1
- declare const Styled: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, keyof import("@mui/material").MenuItemOwnProps> & Omit<import("@mui/material").ButtonBaseOwnProps, "children" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | keyof import("@mui/material").MenuItemOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "children" | "className" | "style" | "classes" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
1
+ declare const Styled: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, keyof import("@mui/material").MenuItemOwnProps> & Omit<import("@mui/material").ButtonBaseOwnProps, "type" | "children" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | keyof import("@mui/material").MenuItemOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "type" | "children" | "className" | "style" | "classes" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
2
2
  export default Styled;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version":"3.0.44-mui9",
4
+ "version":"3.0.45-mui9",
5
5
  "scripts": {
6
6
  "watch": "tsgo --noEmit --watch --project tsconfig.app.json",
7
7
  "start": "vite",
@@ -49,10 +49,10 @@
49
49
  "@eslint/eslintrc": "3.3.3",
50
50
  "@eslint/js": "9.39.1",
51
51
  "@faker-js/faker": "10.1.0",
52
- "@mui/material": "9.0.0",
53
- "@mui/x-data-grid-pro": "9.0.4",
54
- "@mui/x-date-pickers": "9.0.4",
55
- "@mui/x-date-pickers-pro": "9.0.4",
52
+ "@mui/material": "9.0.1",
53
+ "@mui/x-data-grid-pro": "9.3.0",
54
+ "@mui/x-date-pickers": "9.3.0",
55
+ "@mui/x-date-pickers-pro": "9.3.0",
56
56
  "@storybook/addon-docs": "^10.4.0",
57
57
  "@storybook/addon-onboarding": "^10.4.0",
58
58
  "@storybook/addon-themes": "^10.4.0",