@smart-factor/gem-ui-components 0.0.107 → 0.0.108

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 { D as e } from "../../Drawer-Q3D0v6B2.js";
1
+ import { D as e } from "../../Drawer-CR1frcWF.js";
2
2
  export {
3
3
  e as Drawer
4
4
  };
@@ -0,0 +1,5 @@
1
+ import { FC, ReactNode } from 'react';
2
+ export type ErrorBoundaryProps = {
3
+ children: ReactNode | ReactNode[];
4
+ };
5
+ export declare const ErrorBoundary: FC<ErrorBoundaryProps>;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { ErrorBoundary } from './ErrorBoundary';
3
+ declare const meta: Meta<typeof ErrorBoundary>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Docs: Story;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ type ErrorBoundaryFallbackProps = {
3
+ error: Error;
4
+ };
5
+ export declare const ErrorBoundaryFallback: FC<ErrorBoundaryFallbackProps>;
6
+ export {};
@@ -0,0 +1 @@
1
+ export declare const StyledAlert: import('@emotion/styled').StyledComponent<import('@mui/material').AlertProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ export type LoginModalProps = {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ /**
6
+ * Called after successful login.
7
+ * Receives the login and token extracted from the API response.
8
+ */
9
+ onSubmit: (login: string, token: string) => Promise<void> | void;
10
+ };
11
+ export declare const LoginModal: React.FC<LoginModalProps>;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { LoginModal } from './LoginModal';
3
+ declare const meta: Meta<typeof LoginModal>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Docs: Story;
@@ -1,4 +1,4 @@
1
- import { T as o } from "../../Tree-xeWEfulP.js";
1
+ import { T as o } from "../../Tree-6R0L5vqg.js";
2
2
  export {
3
3
  o as Tree
4
4
  };
package/dist/licenses.txt CHANGED
@@ -68,20 +68,20 @@ SOFTWARE.
68
68
 
69
69
  ---
70
70
 
71
- Name: @mui/x-internals
72
- Version: 7.29.0
71
+ Name: @mui/icons-material
72
+ Version: 7.0.2
73
73
  License: MIT
74
74
  Private: false
75
- Description: Utility functions for the MUI X packages (internal use only).
76
- Repository: git+https://github.com/mui/mui-x.git
77
- Homepage: https://mui.com/x/
75
+ Description: Material Design icons distributed as SVG React components.
76
+ Repository: git+https://github.com/mui/material-ui.git
77
+ Homepage: https://mui.com/material-ui/material-icons/
78
78
  Author: MUI Team
79
79
  License Copyright:
80
80
  ===
81
81
 
82
- MIT License
82
+ The MIT License (MIT)
83
83
 
84
- Copyright (c) 2020 Material-UI SAS
84
+ Copyright (c) 2014 Call-Em-All
85
85
 
86
86
  Permission is hereby granted, free of charge, to any person obtaining a copy
87
87
  of this software and associated documentation files (the "Software"), to deal
@@ -103,20 +103,20 @@ SOFTWARE.
103
103
 
104
104
  ---
105
105
 
106
- Name: @mui/icons-material
107
- Version: 7.0.2
106
+ Name: @mui/x-internals
107
+ Version: 7.29.0
108
108
  License: MIT
109
109
  Private: false
110
- Description: Material Design icons distributed as SVG React components.
111
- Repository: git+https://github.com/mui/material-ui.git
112
- Homepage: https://mui.com/material-ui/material-icons/
110
+ Description: Utility functions for the MUI X packages (internal use only).
111
+ Repository: git+https://github.com/mui/mui-x.git
112
+ Homepage: https://mui.com/x/
113
113
  Author: MUI Team
114
114
  License Copyright:
115
115
  ===
116
116
 
117
- The MIT License (MIT)
117
+ MIT License
118
118
 
119
- Copyright (c) 2014 Call-Em-All
119
+ Copyright (c) 2020 Material-UI SAS
120
120
 
121
121
  Permission is hereby granted, free of charge, to any person obtaining a copy
122
122
  of this software and associated documentation files (the "Software"), to deal
@@ -243,41 +243,6 @@ SOFTWARE.
243
243
 
244
244
  ---
245
245
 
246
- Name: @hookform/resolvers
247
- Version: 4.1.3
248
- License: MIT
249
- Private: false
250
- Description: React Hook Form validation resolvers: Yup, Joi, Superstruct, Zod, Vest, Class Validator, io-ts, Nope, computed-types, TypeBox, arktype, Typanion, Effect-TS and VineJS
251
- Repository: git+https://github.com/react-hook-form/resolvers.git
252
- Homepage: https://react-hook-form.com
253
- Author: bluebill1049 <bluebill1049@hotmail.com>
254
- License Copyright:
255
- ===
256
-
257
- MIT License
258
-
259
- Copyright (c) 2019-present Beier(Bill) Luo
260
-
261
- Permission is hereby granted, free of charge, to any person obtaining a copy
262
- of this software and associated documentation files (the "Software"), to deal
263
- in the Software without restriction, including without limitation the rights
264
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
265
- copies of the Software, and to permit persons to whom the Software is
266
- furnished to do so, subject to the following conditions:
267
-
268
- The above copyright notice and this permission notice shall be included in all
269
- copies or substantial portions of the Software.
270
-
271
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
272
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
273
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
274
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
275
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
276
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
277
- SOFTWARE.
278
-
279
- ---
280
-
281
246
  Name: js-base64
282
247
  Version: 3.7.7
283
248
  License: BSD-3-Clause
@@ -1206,6 +1171,39 @@ terms above.
1206
1171
 
1207
1172
  ---
1208
1173
 
1174
+ Name: react-error-boundary
1175
+ Version: 6.0.0
1176
+ License: MIT
1177
+ Private: false
1178
+ Description: Simple reusable React error boundary component
1179
+ Repository: https://github.com/bvaughn/react-error-boundary
1180
+ Author: Brian Vaughn <brian.david.vaughn@gmail.com>
1181
+ License Copyright:
1182
+ ===
1183
+
1184
+ The MIT License (MIT)
1185
+ Copyright (c) 2020 Brian Vaughn
1186
+
1187
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1188
+ of this software and associated documentation files (the "Software"), to deal
1189
+ in the Software without restriction, including without limitation the rights
1190
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1191
+ copies of the Software, and to permit persons to whom the Software is
1192
+ furnished to do so, subject to the following conditions:
1193
+
1194
+ The above copyright notice and this permission notice shall be included in all
1195
+ copies or substantial portions of the Software.
1196
+
1197
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1198
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1199
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1200
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1201
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1202
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1203
+ SOFTWARE.
1204
+
1205
+ ---
1206
+
1209
1207
  Name: react-intersection-observer
1210
1208
  Version: 9.16.0
1211
1209
  License: MIT
@@ -2428,6 +2426,41 @@ SOFTWARE.
2428
2426
 
2429
2427
  ---
2430
2428
 
2429
+ Name: @hookform/resolvers
2430
+ Version: 4.1.3
2431
+ License: MIT
2432
+ Private: false
2433
+ Description: React Hook Form validation resolvers: Yup, Joi, Superstruct, Zod, Vest, Class Validator, io-ts, Nope, computed-types, TypeBox, arktype, Typanion, Effect-TS and VineJS
2434
+ Repository: git+https://github.com/react-hook-form/resolvers.git
2435
+ Homepage: https://react-hook-form.com
2436
+ Author: bluebill1049 <bluebill1049@hotmail.com>
2437
+ License Copyright:
2438
+ ===
2439
+
2440
+ MIT License
2441
+
2442
+ Copyright (c) 2019-present Beier(Bill) Luo
2443
+
2444
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2445
+ of this software and associated documentation files (the "Software"), to deal
2446
+ in the Software without restriction, including without limitation the rights
2447
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2448
+ copies of the Software, and to permit persons to whom the Software is
2449
+ furnished to do so, subject to the following conditions:
2450
+
2451
+ The above copyright notice and this permission notice shall be included in all
2452
+ copies or substantial portions of the Software.
2453
+
2454
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2455
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2456
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2457
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2458
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2459
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2460
+ SOFTWARE.
2461
+
2462
+ ---
2463
+
2431
2464
  Name: goober
2432
2465
  Version: 2.1.16
2433
2466
  License: MIT
package/dist/main.d.ts CHANGED
@@ -7,10 +7,12 @@ export { Dialog } from './components/Dialog/Dialog';
7
7
  export { Drawer } from './components/Drawer/Drawer';
8
8
  export * from './components/Dropzone';
9
9
  export * from './components/ElementsPicker';
10
+ export { ErrorBoundary } from './components/ErrorBoundary/ErrorBoundary';
10
11
  export { FixedActionsBottomPanel } from './components/FixedActionsBottomPanel/FixedActionsBottomPanel';
11
12
  export * from './components/FormComponents';
12
13
  export { Grid, GridInitialState } from './components/Grid';
13
14
  export { LoadingBackdrop } from './components/LoadingBackdrop/LoadingBackdrop';
15
+ export { LoginModal } from './components/LoginModal/LoginModal';
14
16
  export { MuiLikeWrapper } from './components/MuiLikeWrapper';
15
17
  export { PaginatedPopover } from './components/PaginatedPopover/PaginatedPopover';
16
18
  export { ResizableWrapper } from './components/ResizableWrapper/ResizableWrapper';