@etsoo/materialui 1.0.30 → 1.0.31

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.
@@ -118,8 +118,7 @@ test('Prompt tests', async () => {
118
118
  act(() => {
119
119
  // Add the notification
120
120
  notifier.prompt<boolean>('Prompt message', handleClick, undefined, {
121
- type: 'switch',
122
- required: false
121
+ type: 'switch'
123
122
  });
124
123
  });
125
124
 
@@ -147,8 +146,7 @@ test('Prompt tests with form submit', async () => {
147
146
  act(() => {
148
147
  // Add the notification
149
148
  notifier.prompt<boolean>('Prompt message', handleClick, undefined, {
150
- type: 'switch',
151
- required: false
149
+ type: 'switch'
152
150
  });
153
151
  });
154
152
 
@@ -1,5 +1,5 @@
1
1
  import { CoreApp, IActionResult, IApp, IAppSettings, ICoreApp, IUser } from '@etsoo/appscript';
2
- import { NotificationRenderProps, NotificationReturn } from '@etsoo/notificationbase';
2
+ import { NotificationReturn } from '@etsoo/notificationbase';
3
3
  import { DataTypes } from '@etsoo/shared';
4
4
  import React from 'react';
5
5
  import { CultureAction, CultureState, INotificationReact, InputDialogProps, IPageData, IStateProps, NotificationReactCallProps, PageAction, PageState, UserAction, UserState } from '@etsoo/react';
@@ -90,7 +90,7 @@ export declare class ReactApp<S extends IAppSettings, D extends IUser, P extends
90
90
  /**
91
91
  * Get notifier provider
92
92
  */
93
- static get notifierProvider(): React.FunctionComponent<NotificationRenderProps>;
93
+ static get notifierProvider(): React.FunctionComponent<object>;
94
94
  private static createApi;
95
95
  private static createNotifier;
96
96
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -51,12 +51,12 @@
51
51
  "@emotion/css": "^11.10.0",
52
52
  "@emotion/react": "^11.10.4",
53
53
  "@emotion/styled": "^11.10.4",
54
- "@etsoo/appscript": "^1.2.97",
55
- "@etsoo/notificationbase": "^1.1.7",
56
- "@etsoo/react": "^1.6.3",
54
+ "@etsoo/appscript": "^1.2.98",
55
+ "@etsoo/notificationbase": "^1.1.8",
56
+ "@etsoo/react": "^1.6.4",
57
57
  "@etsoo/shared": "^1.1.58",
58
58
  "@mui/icons-material": "^5.10.6",
59
- "@mui/material": "^5.10.6",
59
+ "@mui/material": "^5.10.7",
60
60
  "@types/pica": "^9.0.1",
61
61
  "@types/pulltorefreshjs": "^0.1.5",
62
62
  "@types/react": "^18.0.21",