@sheetxl/utils-mui 0.8.0-beta.10 → 0.8.0-beta.11
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.
- package/browser/esm/{Cijezc4MPpSmVgKY.mjs → BfHjPJF6LKjMxxHM.mjs} +1 -1
- package/browser/esm/{C9y4YEtSjLoI4eoI.mjs → C-5x5uhaeRkhCSzY.mjs} +2 -2
- package/browser/esm/index.mjs +140 -134
- package/node/esm/index.mjs +584 -578
- package/node/esm/{CDbyr3-seMLR2Y_3.mjs → nxST0XJIy9Y6DTRo.mjs} +1 -1
- package/package.json +3 -3
- package/types/src/components/index.d.ts +1 -0
- package/types/src/components/lazyPanel.d.ts +23 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.8.0-beta.11
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/utils-mui",
|
|
3
3
|
"description": "Utilities MUI - Utilities for MUI Components needed for all SheetXL components.",
|
|
4
|
-
"version": "0.8.0-beta.
|
|
4
|
+
"version": "0.8.0-beta.11",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"ui"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@sheetxl/utils": "^0.8.0-beta.
|
|
47
|
-
"@sheetxl/utils-react": "^0.8.0-beta.
|
|
46
|
+
"@sheetxl/utils": "^0.8.0-beta.11",
|
|
47
|
+
"@sheetxl/utils-react": "^0.8.0-beta.11",
|
|
48
48
|
"clsx": "^2.1.1",
|
|
49
49
|
"detect-it": "^4.0.1",
|
|
50
50
|
"mui-modal-provider": "2.4.6",
|
|
@@ -3,6 +3,7 @@ export * from './ExhibitDivider';
|
|
|
3
3
|
export * from './AnimatedLoadingPanel';
|
|
4
4
|
export * from './StackTraceErrorPanel';
|
|
5
5
|
export * from './LazyLoadErrorPanel';
|
|
6
|
+
export * from './lazyPanel';
|
|
6
7
|
export * from './StackTrace';
|
|
7
8
|
export * from './ChipStrip';
|
|
8
9
|
export * from './NestingPopupButton';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a lazily loaded panel component: a loading panel while its module loads, and a
|
|
4
|
+
* {@link LazyLoadErrorPanel} with a Retry button if the load fails.
|
|
5
|
+
*
|
|
6
|
+
* @param loader Loads a module whose default export is the panel component.
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* The panel carries its own `Suspense` boundary, so a host can render it like any other component.
|
|
10
|
+
* Intended for content that is shown on demand (a task pane, a tab of a dialog), so that its code
|
|
11
|
+
* is not part of the startup bundle.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const FormatTaskPane = lazyPanel(
|
|
16
|
+
* defineLazyModule('studio:formatTaskPane', () => import('./FormatTaskPane')).load
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function lazyPanel<C extends React.ComponentType<any>>(loader: () => Promise<{
|
|
21
|
+
default: C;
|
|
22
|
+
}>): React.FC<React.ComponentProps<C>>;
|
|
23
|
+
//# sourceMappingURL=lazyPanel.d.ts.map
|