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.
@@ -1,6 +1,6 @@
1
1
  import { delay as delay$1, HttpResponse, matchRequestUrl } from "msw";
2
2
  import { isArray, isObject, mapValues } from "lodash-es";
3
- import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-CtiJg1j6.js";
3
+ import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-BQKYtkKU.js";
4
4
  import Dexie from "dexie";
5
5
  var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
6
6
  HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
@@ -1291,6 +1291,7 @@ export declare const test: TestType<PlaywrightTestArgs & PlaywrightTestOptions &
1291
1291
  declare type TestBedDescription = Omit<Partial<StandaloneAppDescription>, "entryPoint" | "components"> & {
1292
1292
  testThemeVars?: Record<string, string>;
1293
1293
  components?: string[];
1294
+ appGlobals?: Record<string, any>;
1294
1295
  };
1295
1296
 
1296
1297
  declare type TestDriverExtenderProps = {
@@ -711,7 +711,7 @@ export declare function dReadonly(readOnly?: boolean): ComponentPropertyMetadata
711
711
 
712
712
  export declare function dRequired(): ComponentPropertyMetadata;
713
713
 
714
- export declare const DropdownMenu: ForwardRefExoticComponent<DropdownMenuProps & RefAttributes<unknown>>;
714
+ export declare const DropdownMenu: ForwardRefExoticComponent<DropdownMenuProps & RefAttributes<HTMLButtonElement>>;
715
715
 
716
716
  declare type DropdownMenuProps = {
717
717
  triggerTemplate?: ReactNode;
@@ -1116,17 +1116,13 @@ declare interface MemberAccessExpression extends ExpressionBase {
1116
1116
  opt?: boolean;
1117
1117
  }
1118
1118
 
1119
- export declare const MemoizedItem: MemoExoticComponent<({ node, item, context, renderChild, layoutContext, contextVars, itemKey, contextKey, }: MemoizedItemProps) => JSX_2.Element>;
1119
+ export declare const MemoizedItem: MemoExoticComponent<({ node, renderChild, layoutContext, contextVars, }: MemoizedItemProps) => JSX_2.Element>;
1120
1120
 
1121
1121
  declare type MemoizedItemProps = {
1122
1122
  node: ComponentDef | Array<ComponentDef>;
1123
- item?: any;
1124
- context?: any;
1125
1123
  renderChild: RenderChildFn;
1126
1124
  layoutContext?: LayoutContext;
1127
1125
  contextVars?: Record<string, any>;
1128
- itemKey?: string;
1129
- contextKey?: string;
1130
1126
  };
1131
1127
 
1132
1128
  export declare const MenuItem: ForwardRefExoticComponent<MenuItemProps & RefAttributes<unknown>>;
@@ -1353,13 +1349,14 @@ declare type Props_5 = {
1353
1349
 
1354
1350
  declare type Props_6 = {
1355
1351
  children?: ReactNode;
1356
- style?: React.CSSProperties;
1352
+ style?: CSSProperties;
1357
1353
  };
1358
1354
 
1359
1355
  declare type Props_7 = {
1360
1356
  id?: string;
1361
1357
  isRoot?: boolean;
1362
1358
  applyIf?: boolean;
1359
+ disableInlineStyle?: boolean;
1363
1360
  layoutContext?: LayoutContext;
1364
1361
  renderChild?: RenderChildFn;
1365
1362
  node?: ComponentDef;
@@ -1812,7 +1809,7 @@ declare type TextVariant = (typeof TextVariantKeys)[number];
1812
1809
 
1813
1810
  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"];
1814
1811
 
1815
- export declare function Theme({ id, isRoot, applyIf, renderChild, node, tone, toastDuration, themeVars, layoutContext, children, }: Props_7): string | number | boolean | Iterable<ReactNode> | JSX_2.Element;
1812
+ export declare function Theme({ id, isRoot, applyIf, disableInlineStyle, renderChild, node, tone, toastDuration, themeVars, layoutContext, children, }: Props_7): string | number | boolean | Iterable<ReactNode> | JSX_2.Element;
1816
1813
 
1817
1814
  export declare interface ThemeDefinition extends ThemeDefinitionDetails {
1818
1815
  id: string;
@@ -1842,6 +1839,7 @@ declare type ThemeScope = {
1842
1839
  themeVars: Record<string, string>;
1843
1840
  getResourceUrl: (resourceString?: string) => string | undefined;
1844
1841
  getThemeVar: (themeVar: string) => string | undefined;
1842
+ disableInlineStyle?: boolean;
1845
1843
  };
1846
1844
 
1847
1845
  export declare type ThemeTone = "light" | "dark";
package/dist/lib/xmlui.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aa, Z, al, a1, ax, av, _, $, ai, ak, ay, aw, ag, ab, a2, a0, S, ar, b, ao, ap, a4, a5, ae, af, as, aj, at, au, ah, ad, c, f, e, h, j, k, l, i, n, p, q, s, u, v, x, w, t, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, P, N, O, Q, R, U, V, a3, W, X, a7, an, a6, a8, aq, a9, am, Y, ac } from "./index-CtiJg1j6.js";
1
+ import { aa, Z, al, a1, ax, av, _, $, ai, ak, ay, aw, ag, ab, a2, a0, S, ar, b, ao, ap, a4, a5, ae, af, as, aj, at, au, ah, ad, c, f, e, h, j, k, l, i, n, p, q, s, u, v, x, w, t, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, P, N, O, Q, R, U, V, a3, W, X, a7, an, a6, a8, aq, a9, am, Y, ac } from "./index-BQKYtkKU.js";
2
2
  import { f as f2, x as x2 } from "./xmlui-parser-9Yk-asFP.js";
3
3
  import { X as X2 } from "./xmlui-serializer-CeCcgdVR.js";
4
4
  export {