xmlui 0.11.19 → 0.11.20
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-CtiJg1j6.js → index-BQKYtkKU.js} +288 -293
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-B4QMy8Go.js → initMock-DoewYSkg.js} +1 -1
- package/dist/lib/testing.d.ts +1 -0
- package/dist/lib/xmlui.d.ts +6 -8
- package/dist/lib/xmlui.js +1 -1
- package/dist/metadata/{collectedComponentMetadata-_5XPZQ5U.js → collectedComponentMetadata-Ul5p46oY.js} +285 -290
- package/dist/metadata/{initMock-DhLoHW95.js → initMock-CYmQLPJo.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 +8 -14
- package/dist/standalone/xmlui-standalone.umd.js +36 -36
- package/package.json +1 -1
|
@@ -731,7 +731,7 @@ declare function dReadonly(readOnly?: boolean): ComponentPropertyMetadata;
|
|
|
731
731
|
|
|
732
732
|
declare function dRequired(): ComponentPropertyMetadata;
|
|
733
733
|
|
|
734
|
-
declare const DropdownMenu: ForwardRefExoticComponent<DropdownMenuProps & RefAttributes<
|
|
734
|
+
declare const DropdownMenu: ForwardRefExoticComponent<DropdownMenuProps & RefAttributes<HTMLButtonElement>>;
|
|
735
735
|
|
|
736
736
|
declare type DropdownMenuProps = {
|
|
737
737
|
triggerTemplate?: ReactNode;
|
|
@@ -1136,17 +1136,13 @@ declare interface MemberAccessExpression extends ExpressionBase {
|
|
|
1136
1136
|
opt?: boolean;
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
|
-
declare const MemoizedItem: MemoExoticComponent<({ node,
|
|
1139
|
+
declare const MemoizedItem: MemoExoticComponent<({ node, renderChild, layoutContext, contextVars, }: MemoizedItemProps) => JSX_2.Element>;
|
|
1140
1140
|
|
|
1141
1141
|
declare type MemoizedItemProps = {
|
|
1142
1142
|
node: ComponentDef | Array<ComponentDef>;
|
|
1143
|
-
item?: any;
|
|
1144
|
-
context?: any;
|
|
1145
1143
|
renderChild: RenderChildFn;
|
|
1146
1144
|
layoutContext?: LayoutContext;
|
|
1147
1145
|
contextVars?: Record<string, any>;
|
|
1148
|
-
itemKey?: string;
|
|
1149
|
-
contextKey?: string;
|
|
1150
1146
|
};
|
|
1151
1147
|
|
|
1152
1148
|
declare const MenuItem: ForwardRefExoticComponent<MenuItemProps & RefAttributes<unknown>>;
|
|
@@ -1373,13 +1369,14 @@ declare type Props_5 = {
|
|
|
1373
1369
|
|
|
1374
1370
|
declare type Props_6 = {
|
|
1375
1371
|
children?: ReactNode;
|
|
1376
|
-
style?:
|
|
1372
|
+
style?: CSSProperties;
|
|
1377
1373
|
};
|
|
1378
1374
|
|
|
1379
1375
|
declare type Props_7 = {
|
|
1380
1376
|
id?: string;
|
|
1381
1377
|
isRoot?: boolean;
|
|
1382
1378
|
applyIf?: boolean;
|
|
1379
|
+
disableInlineStyle?: boolean;
|
|
1383
1380
|
layoutContext?: LayoutContext;
|
|
1384
1381
|
renderChild?: RenderChildFn;
|
|
1385
1382
|
node?: ComponentDef;
|
|
@@ -1805,7 +1802,7 @@ declare const standaloneExports: {
|
|
|
1805
1802
|
triggerButtonIconPosition?: IconPosition_2;
|
|
1806
1803
|
compact?: boolean;
|
|
1807
1804
|
modal?: boolean;
|
|
1808
|
-
} & default_2.RefAttributes<
|
|
1805
|
+
} & default_2.RefAttributes<HTMLButtonElement>>;
|
|
1809
1806
|
MenuItem: default_2.ForwardRefExoticComponent<{
|
|
1810
1807
|
icon?: default_2.ReactNode;
|
|
1811
1808
|
iconPosition?: IconPosition_2;
|
|
@@ -1827,15 +1824,11 @@ declare const standaloneExports: {
|
|
|
1827
1824
|
style?: default_2.CSSProperties;
|
|
1828
1825
|
className?: string;
|
|
1829
1826
|
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
1830
|
-
MemoizedItem: default_2.MemoExoticComponent<({ node,
|
|
1827
|
+
MemoizedItem: default_2.MemoExoticComponent<({ node, renderChild, layoutContext, contextVars, }: {
|
|
1831
1828
|
node: xmluiExports.ComponentDef | Array<xmluiExports.ComponentDef>;
|
|
1832
|
-
item?: any;
|
|
1833
|
-
context?: any;
|
|
1834
1829
|
renderChild: RenderChildFn_2;
|
|
1835
1830
|
layoutContext?: LayoutContext_2;
|
|
1836
1831
|
contextVars?: Record<string, any>;
|
|
1837
|
-
itemKey?: string;
|
|
1838
|
-
contextKey?: string;
|
|
1839
1832
|
}) => default_3.JSX.Element>;
|
|
1840
1833
|
};
|
|
1841
1834
|
export default standaloneExports;
|
|
@@ -2111,7 +2104,7 @@ declare type TextVariant = (typeof TextVariantKeys)[number];
|
|
|
2111
2104
|
|
|
2112
2105
|
declare const TextVariantKeys: readonly ["abbr", "cite", "code", "deleted", "inherit", "inserted", "keyboard", "marked", "sample", "sub", "sup", "var", "strong", "em", "mono", "title", "subtitle", "small", "caption", "placeholder", "paragraph", "subheading", "tableheading", "secondary"];
|
|
2113
2106
|
|
|
2114
|
-
declare function Theme({ id, isRoot, applyIf, renderChild, node, tone, toastDuration, themeVars, layoutContext, children, }: Props_7): string | number | boolean | Iterable<ReactNode> | JSX_2.Element;
|
|
2107
|
+
declare function Theme({ id, isRoot, applyIf, disableInlineStyle, renderChild, node, tone, toastDuration, themeVars, layoutContext, children, }: Props_7): string | number | boolean | Iterable<ReactNode> | JSX_2.Element;
|
|
2115
2108
|
|
|
2116
2109
|
declare interface ThemeDefinition extends ThemeDefinitionDetails {
|
|
2117
2110
|
id: string;
|
|
@@ -2141,6 +2134,7 @@ declare type ThemeScope = {
|
|
|
2141
2134
|
themeVars: Record<string, string>;
|
|
2142
2135
|
getResourceUrl: (resourceString?: string) => string | undefined;
|
|
2143
2136
|
getThemeVar: (themeVar: string) => string | undefined;
|
|
2137
|
+
disableInlineStyle?: boolean;
|
|
2144
2138
|
};
|
|
2145
2139
|
|
|
2146
2140
|
declare type ThemeTone = "light" | "dark";
|