xmlui 0.11.16 → 0.11.17

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-ontex45U.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-DDJqM9b9.js";
4
4
  import Dexie from "dexie";
5
5
  var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
6
6
  HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
package/dist/lib/xmlui.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aa, Z, al, a1, ax, av, _, $, ai, ak, 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-ontex45U.js";
1
+ import { aa, Z, al, a1, ax, av, _, $, ai, ak, 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-DDJqM9b9.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 {
@@ -6828,7 +6828,16 @@ const XmlUiBlogThemeDefinition = {
6828
6828
  id: "xmlui-blog",
6829
6829
  extends: "xmlui",
6830
6830
  color: "$color-primary-500",
6831
- themeVars: {}
6831
+ themeVars: {
6832
+ // --- App layout
6833
+ "maxWidth-content-App": "800px",
6834
+ // --- Fundamental colors & typography
6835
+ backgroundColor: "$color-surface-0",
6836
+ "fontWeight-Text": "400",
6837
+ "fontWeight-bold": "700",
6838
+ "textColor-primary": "$color-surface-800",
6839
+ "textColor-NavLink--active": "$color-primary"
6840
+ }
6832
6841
  };
6833
6842
  const XmlUiWebThemeDefinition = {
6834
6843
  id: "xmlui-web",
@@ -18406,15 +18415,15 @@ const datePickerComponentRenderer = createComponentRenderer(
18406
18415
  }
18407
18416
  );
18408
18417
  const themeVars$I = `'{"backgroundColor-DropdownMenu": "var(--xmlui-backgroundColor-DropdownMenu)", "borderRadius-DropdownMenu": "var(--xmlui-borderRadius-DropdownMenu)", "boxShadow-DropdownMenu": "var(--xmlui-boxShadow-DropdownMenu)", "borderColor-DropdownMenu-content": "var(--xmlui-borderColor-DropdownMenu-content)", "borderWidth-DropdownMenu-content": "var(--xmlui-borderWidth-DropdownMenu-content)", "borderStyle-DropdownMenu-content": "var(--xmlui-borderStyle-DropdownMenu-content)", "minWidth-DropdownMenu": "var(--xmlui-minWidth-DropdownMenu)", "backgroundColor-MenuItem": "var(--xmlui-backgroundColor-MenuItem)", "color-MenuItem": "var(--xmlui-color-MenuItem)", "fontFamily-MenuItem": "var(--xmlui-fontFamily-MenuItem)", "gap-MenuItem": "var(--xmlui-gap-MenuItem)", "fontSize-MenuItem": "var(--xmlui-fontSize-MenuItem)", "paddingVertical-MenuItem": "var(--xmlui-paddingVertical-MenuItem)", "paddingHorizontal-MenuItem": "var(--xmlui-paddingHorizontal-MenuItem)", "backgroundColor-MenuItem--hover": "var(--xmlui-backgroundColor-MenuItem--hover)", "backgroundColor-MenuItem--active": "var(--xmlui-backgroundColor-MenuItem--active)", "backgroundColor-MenuItem--active--hover": "var(--xmlui-backgroundColor-MenuItem--active--hover)", "color-MenuItem--hover": "var(--xmlui-color-MenuItem--hover)", "color-MenuItem--active": "var(--xmlui-color-MenuItem--active)", "color-MenuItem--active--hover": "var(--xmlui-color-MenuItem--active--hover)", "color-MenuItem--disabled": "var(--xmlui-color-MenuItem--disabled)", "marginTop-MenuSeparator": "var(--xmlui-marginTop-MenuSeparator)", "marginBottom-MenuSeparator": "var(--xmlui-marginBottom-MenuSeparator)", "width-MenuSeparator": "var(--xmlui-width-MenuSeparator)", "height-MenuSeparator": "var(--xmlui-height-MenuSeparator)", "color-MenuSeparator": "var(--xmlui-color-MenuSeparator)"}'`;
18409
- const DropdownMenuContent = "_DropdownMenuContent_tklrk_14";
18410
- const compact = "_compact_tklrk_18";
18411
- const DropdownMenuSubContent = "_DropdownMenuSubContent_tklrk_22";
18412
- const DropdownMenuItem = "_DropdownMenuItem_tklrk_32";
18413
- const DropdownMenuSubTrigger = "_DropdownMenuSubTrigger_tklrk_33";
18414
- const active$2 = "_active_tklrk_56";
18415
- const disabled$8 = "_disabled_tklrk_66";
18416
- const wrapper$h = "_wrapper_tklrk_81";
18417
- const DropdownMenuSeparator = "_DropdownMenuSeparator_tklrk_85";
18418
+ const DropdownMenuContent = "_DropdownMenuContent_wsn5i_14";
18419
+ const compact = "_compact_wsn5i_19";
18420
+ const DropdownMenuSubContent = "_DropdownMenuSubContent_wsn5i_23";
18421
+ const DropdownMenuItem = "_DropdownMenuItem_wsn5i_33";
18422
+ const DropdownMenuSubTrigger = "_DropdownMenuSubTrigger_wsn5i_34";
18423
+ const active$2 = "_active_wsn5i_57";
18424
+ const disabled$8 = "_disabled_wsn5i_67";
18425
+ const wrapper$h = "_wrapper_wsn5i_82";
18426
+ const DropdownMenuSeparator = "_DropdownMenuSeparator_wsn5i_86";
18418
18427
  const styles$Z = {
18419
18428
  themeVars: themeVars$I,
18420
18429
  DropdownMenuContent,
@@ -18559,7 +18568,9 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
18559
18568
  ref: contentRef,
18560
18569
  align: alignment,
18561
18570
  style: style2,
18562
- className: classnames(styles$Z.DropdownMenuContent, className, { [styles$Z.compact]: compact2 }),
18571
+ className: classnames(styles$Z.DropdownMenuContent, className, {
18572
+ [styles$Z.compact]: compact2
18573
+ }),
18563
18574
  onOpenAutoFocus: (e) => {
18564
18575
  e.preventDefault();
18565
18576
  contentRef.current?.focus();
@@ -48283,7 +48294,7 @@ function IconProvider({ children }) {
48283
48294
  /* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
48284
48295
  ] });
48285
48296
  }
48286
- const version = "0.11.16";
48297
+ const version = "0.11.17";
48287
48298
  const miscellaneousUtils = {
48288
48299
  capitalize,
48289
48300
  pluralize: pluralize$1,
@@ -55923,7 +55934,7 @@ function ApiInterceptorProvider({
55923
55934
  return;
55924
55935
  }
55925
55936
  void (async () => {
55926
- const { initMock } = await import("./initMock-RhX6qMsS.js");
55937
+ const { initMock } = await import("./initMock-CLejPJkl.js");
55927
55938
  const apiInstance2 = await initMock(interceptor);
55928
55939
  setApiInstance(apiInstance2);
55929
55940
  setInitialized(true);
@@ -55940,7 +55951,7 @@ function ApiInterceptorProvider({
55940
55951
  if (define_process_env_default.VITE_MOCK_ENABLED) {
55941
55952
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
55942
55953
  useWorker ? import("./apiInterceptorWorker-Wgm2_zjg.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
55943
- import("./initMock-RhX6qMsS.js")
55954
+ import("./initMock-CLejPJkl.js")
55944
55955
  ]);
55945
55956
  if (interceptor || forceInitialize) {
55946
55957
  const apiInstance2 = await initMock(interceptor || {});
@@ -55977,7 +55988,7 @@ function ApiInterceptorProvider({
55977
55988
  void (async () => {
55978
55989
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
55979
55990
  import("./apiInterceptorWorker-Wgm2_zjg.js"),
55980
- import("./initMock-RhX6qMsS.js")
55991
+ import("./initMock-CLejPJkl.js")
55981
55992
  ]);
55982
55993
  const apiInstance2 = await initMock(interceptor);
55983
55994
  await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
@@ -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 "./collectedComponentMetadata-BL0tS7Su.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 "./collectedComponentMetadata-DGQY08ZB.js";
4
4
  import Dexie from "dexie";
5
5
  var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
6
6
  HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";