xmlui 0.11.17 → 0.11.19
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/dist/lib/{index-DDJqM9b9.js → index-CtiJg1j6.js} +3775 -2563
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-CnArkQw6.js → initMock-B4QMy8Go.js} +1 -1
- package/dist/lib/xmlui.d.ts +15 -0
- package/dist/lib/xmlui.js +2 -1
- package/dist/metadata/{collectedComponentMetadata-DGQY08ZB.js → collectedComponentMetadata-_5XPZQ5U.js} +3706 -2495
- package/dist/metadata/{initMock-CLejPJkl.js → initMock-DhLoHW95.js} +1 -1
- package/dist/metadata/xmlui-metadata.css +1 -1
- package/dist/metadata/xmlui-metadata.js +1 -1
- package/dist/metadata/xmlui-metadata.umd.cjs +3 -3
- package/dist/standalone/xmlui-standalone.es.d.ts +30 -1
- package/dist/standalone/xmlui-standalone.umd.js +36 -36
- package/package.json +12 -12
|
@@ -15,6 +15,8 @@ import { ForwardRefExoticComponent } from 'react';
|
|
|
15
15
|
import { IconBaseProps as IconBaseProps_2 } from './components/Icon/IconNative';
|
|
16
16
|
import { IconPosition as IconPosition_2 } from './components/abstractions';
|
|
17
17
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
18
|
+
import { LayoutContext as LayoutContext_2 } from './abstractions/RendererDefs';
|
|
19
|
+
import { MemoExoticComponent } from 'react';
|
|
18
20
|
import { NavigateOptions } from 'react-router-dom';
|
|
19
21
|
import { OrientationOptions as OrientationOptions_2 } from './components/abstractions';
|
|
20
22
|
import { OverflowMode as OverflowMode_2 } from './components/abstractions';
|
|
@@ -24,6 +26,7 @@ import { ReactNode } from 'react';
|
|
|
24
26
|
import { RefAttributes } from 'react';
|
|
25
27
|
import { RefObject } from 'react';
|
|
26
28
|
import { Renderable } from 'react-hot-toast';
|
|
29
|
+
import { RenderChildFn as RenderChildFn_2 } from './abstractions/RendererDefs';
|
|
27
30
|
import { Root } from 'react-dom/client';
|
|
28
31
|
import { SetStateAction } from 'react';
|
|
29
32
|
import { SetupWorker } from 'msw/browser';
|
|
@@ -745,6 +748,7 @@ declare type DropdownMenuProps = {
|
|
|
745
748
|
triggerButtonIcon?: string;
|
|
746
749
|
triggerButtonIconPosition?: IconPosition;
|
|
747
750
|
compact?: boolean;
|
|
751
|
+
modal?: boolean;
|
|
748
752
|
};
|
|
749
753
|
|
|
750
754
|
declare function dSetValueApi(): ComponentPropertyMetadata;
|
|
@@ -1132,6 +1136,19 @@ declare interface MemberAccessExpression extends ExpressionBase {
|
|
|
1132
1136
|
opt?: boolean;
|
|
1133
1137
|
}
|
|
1134
1138
|
|
|
1139
|
+
declare const MemoizedItem: MemoExoticComponent<({ node, item, context, renderChild, layoutContext, contextVars, itemKey, contextKey, }: MemoizedItemProps) => JSX_2.Element>;
|
|
1140
|
+
|
|
1141
|
+
declare type MemoizedItemProps = {
|
|
1142
|
+
node: ComponentDef | Array<ComponentDef>;
|
|
1143
|
+
item?: any;
|
|
1144
|
+
context?: any;
|
|
1145
|
+
renderChild: RenderChildFn;
|
|
1146
|
+
layoutContext?: LayoutContext;
|
|
1147
|
+
contextVars?: Record<string, any>;
|
|
1148
|
+
itemKey?: string;
|
|
1149
|
+
contextKey?: string;
|
|
1150
|
+
};
|
|
1151
|
+
|
|
1135
1152
|
declare const MenuItem: ForwardRefExoticComponent<MenuItemProps & RefAttributes<unknown>>;
|
|
1136
1153
|
|
|
1137
1154
|
declare type MenuItemProps = {
|
|
@@ -1787,6 +1804,7 @@ declare const standaloneExports: {
|
|
|
1787
1804
|
triggerButtonIcon?: string;
|
|
1788
1805
|
triggerButtonIconPosition?: IconPosition_2;
|
|
1789
1806
|
compact?: boolean;
|
|
1807
|
+
modal?: boolean;
|
|
1790
1808
|
} & default_2.RefAttributes<unknown>>;
|
|
1791
1809
|
MenuItem: default_2.ForwardRefExoticComponent<{
|
|
1792
1810
|
icon?: default_2.ReactNode;
|
|
@@ -1809,6 +1827,16 @@ declare const standaloneExports: {
|
|
|
1809
1827
|
style?: default_2.CSSProperties;
|
|
1810
1828
|
className?: string;
|
|
1811
1829
|
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
1830
|
+
MemoizedItem: default_2.MemoExoticComponent<({ node, item, context, renderChild, layoutContext, contextVars, itemKey, contextKey, }: {
|
|
1831
|
+
node: xmluiExports.ComponentDef | Array<xmluiExports.ComponentDef>;
|
|
1832
|
+
item?: any;
|
|
1833
|
+
context?: any;
|
|
1834
|
+
renderChild: RenderChildFn_2;
|
|
1835
|
+
layoutContext?: LayoutContext_2;
|
|
1836
|
+
contextVars?: Record<string, any>;
|
|
1837
|
+
itemKey?: string;
|
|
1838
|
+
contextKey?: string;
|
|
1839
|
+
}) => default_3.JSX.Element>;
|
|
1812
1840
|
};
|
|
1813
1841
|
export default standaloneExports;
|
|
1814
1842
|
|
|
@@ -2559,7 +2587,8 @@ declare namespace xmluiExports {
|
|
|
2559
2587
|
Tooltip,
|
|
2560
2588
|
DropdownMenu,
|
|
2561
2589
|
MenuItem,
|
|
2562
|
-
ContentSeparator
|
|
2590
|
+
ContentSeparator,
|
|
2591
|
+
MemoizedItem
|
|
2563
2592
|
}
|
|
2564
2593
|
}
|
|
2565
2594
|
|