xmlui 0.11.12 → 0.11.13

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.
@@ -8391,8 +8391,6 @@ const NavLinkMd = createMetadata({
8391
8391
  [`fontFamily-${COMP$1t}`]: "$fontFamily",
8392
8392
  [`textColor-${COMP$1t}`]: "$textColor-primary",
8393
8393
  [`textColor-${COMP$1t}--active`]: "$color-primary-500",
8394
- [`fontWeight-${COMP$1t}--active`]: "$fontWeight-bold",
8395
- [`fontWeight-${COMP$1t}--pressed`]: "$fontWeight-bold",
8396
8394
  [`thickness-indicator-${COMP$1t}`]: "$space-0_5",
8397
8395
  [`outlineColor-${COMP$1t}--focus`]: "$outlineColor--focus",
8398
8396
  [`outlineWidth-${COMP$1t}--focus`]: "$outlineWidth--focus",
@@ -20088,7 +20086,7 @@ const TextBox = forwardRef(function TextBox2({
20088
20086
  required: required2
20089
20087
  }
20090
20088
  ),
20091
- !readOnly2 && enabled2 && localValue.length > 0 && type == "search" && /* @__PURE__ */ jsx(
20089
+ !readOnly2 && enabled2 && type == "search" && localValue?.length > 0 && /* @__PURE__ */ jsx(
20092
20090
  Adornment,
20093
20091
  {
20094
20092
  "data-part-id": PART_END_ADORNMENT,
@@ -24525,7 +24523,7 @@ function ApiInterceptorProvider({
24525
24523
  return;
24526
24524
  }
24527
24525
  void (async () => {
24528
- const { initMock } = await import("./initMock-BYfY6ibT.js");
24526
+ const { initMock } = await import("./initMock-BuPNXouY.js");
24529
24527
  const apiInstance2 = await initMock(interceptor);
24530
24528
  setApiInstance(apiInstance2);
24531
24529
  setInitialized(true);
@@ -24542,7 +24540,7 @@ function ApiInterceptorProvider({
24542
24540
  if (process.env.VITE_MOCK_ENABLED) {
24543
24541
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
24544
24542
  useWorker ? import("./apiInterceptorWorker-dwrAyq6l.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
24545
- import("./initMock-BYfY6ibT.js")
24543
+ import("./initMock-BuPNXouY.js")
24546
24544
  ]);
24547
24545
  if (interceptor || forceInitialize) {
24548
24546
  const apiInstance2 = await initMock(interceptor || {});
@@ -24579,7 +24577,7 @@ function ApiInterceptorProvider({
24579
24577
  void (async () => {
24580
24578
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
24581
24579
  import("./apiInterceptorWorker-dwrAyq6l.js"),
24582
- import("./initMock-BYfY6ibT.js")
24580
+ import("./initMock-BuPNXouY.js")
24583
24581
  ]);
24584
24582
  const apiInstance2 = await initMock(interceptor);
24585
24583
  await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
@@ -32045,6 +32043,7 @@ const XmlUiThemeDefinition = {
32045
32043
  resources: {
32046
32044
  // "font.inter": "https://rsms.me/inter/inter.css",
32047
32045
  },
32046
+ color: "$color-primary-500",
32048
32047
  themeVars: {
32049
32048
  "font-size": "15px",
32050
32049
  "boxShadow-Input": "$boxShadow-sm"
@@ -32066,46 +32065,55 @@ const XmlUiThemeDefinition = {
32066
32065
  const XmlUiGreenThemeDefinition = {
32067
32066
  id: "xmlui-green",
32068
32067
  extends: "xmlui",
32068
+ color: "$color-primary-500",
32069
32069
  themeVars: { ...greenThemeColors }
32070
32070
  };
32071
32071
  const XmlUiGrayThemeDefinition = {
32072
32072
  id: "xmlui-gray",
32073
32073
  extends: "xmlui",
32074
+ color: "$color-primary-500",
32074
32075
  themeVars: { ...grayThemeColors }
32075
32076
  };
32076
32077
  const XmlUiOrangeThemeDefinition = {
32077
32078
  id: "xmlui-orange",
32078
32079
  extends: "xmlui",
32080
+ color: "$color-primary-500",
32079
32081
  themeVars: { ...orangeThemeColors }
32080
32082
  };
32081
32083
  const XmlUiPurpleThemeDefinition = {
32082
32084
  id: "xmlui-purple",
32083
32085
  extends: "xmlui",
32086
+ color: "$color-primary-500",
32084
32087
  themeVars: { ...purpleThemeColors }
32085
32088
  };
32086
32089
  const XmlUiCyanThemeDefinition = {
32087
32090
  id: "xmlui-cyan",
32088
32091
  extends: "xmlui",
32092
+ color: "$color-primary-500",
32089
32093
  themeVars: { ...cyanThemeColors }
32090
32094
  };
32091
32095
  const XmlUiRedThemeDefinition = {
32092
32096
  id: "xmlui-red",
32093
32097
  extends: "xmlui",
32098
+ color: "$color-primary-500",
32094
32099
  themeVars: { ...redThemeColors }
32095
32100
  };
32096
32101
  const XmlUiDocsThemeDefinition = {
32097
32102
  id: "xmlui-docs",
32098
32103
  extends: "xmlui",
32104
+ color: "$color-primary-500",
32099
32105
  themeVars: {}
32100
32106
  };
32101
32107
  const XmlUiBlogThemeDefinition = {
32102
32108
  id: "xmlui-blog",
32103
32109
  extends: "xmlui",
32110
+ color: "$color-primary-500",
32104
32111
  themeVars: {}
32105
32112
  };
32106
32113
  const XmlUiWebThemeDefinition = {
32107
32114
  id: "xmlui-web",
32108
32115
  extends: "xmlui",
32116
+ color: "$color-primary-500",
32109
32117
  themeVars: {
32110
32118
  // --- Fundamental colors & typography
32111
32119
  "maxWidth-content-AppHeader": "1280px",
@@ -46471,7 +46479,7 @@ function IconProvider({ children }) {
46471
46479
  /* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
46472
46480
  ] });
46473
46481
  }
46474
- const version = "0.11.12";
46482
+ const version = "0.11.13";
46475
46483
  const miscellaneousUtils = {
46476
46484
  capitalize,
46477
46485
  pluralize: pluralize$1,
@@ -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-C_siLDTF.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-BGwgKjPl.js";
4
4
  import Dexie from "dexie";
5
5
  var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
6
6
  HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
@@ -1384,6 +1384,7 @@ declare interface ThemeDefinition extends ThemeDefinitionDetails {
1384
1384
  name?: string;
1385
1385
  extends?: string | Array<string>;
1386
1386
  tones?: Record<string | ThemeTone, ThemeDefinitionDetails>;
1387
+ color?: string;
1387
1388
  }
1388
1389
 
1389
1390
  declare interface ThemeDefinitionDetails {
@@ -1251,6 +1251,7 @@ declare interface ThemeDefinition extends ThemeDefinitionDetails {
1251
1251
  name?: string;
1252
1252
  extends?: string | Array<string>;
1253
1253
  tones?: Record<string | ThemeTone, ThemeDefinitionDetails>;
1254
+ color?: string;
1254
1255
  }
1255
1256
 
1256
1257
  declare interface ThemeDefinitionDetails {
@@ -1801,6 +1801,7 @@ export declare interface ThemeDefinition extends ThemeDefinitionDetails {
1801
1801
  name?: string;
1802
1802
  extends?: string | Array<string>;
1803
1803
  tones?: Record<string | ThemeTone, ThemeDefinitionDetails>;
1804
+ color?: string;
1804
1805
  }
1805
1806
 
1806
1807
  declare interface ThemeDefinitionDetails {
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-C_siLDTF.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-BGwgKjPl.js";
2
2
  import { e as e2, x as x2 } from "./xmlui-parser-CW8YmGjO.js";
3
3
  import { X as X2 } from "./xmlui-serializer-CeCcgdVR.js";
4
4
  export {
@@ -4633,7 +4633,7 @@ const TextBox = forwardRef(function TextBox2({
4633
4633
  required: required2
4634
4634
  }
4635
4635
  ),
4636
- !readOnly2 && enabled2 && localValue.length > 0 && type == "search" && /* @__PURE__ */ jsx(
4636
+ !readOnly2 && enabled2 && type == "search" && localValue?.length > 0 && /* @__PURE__ */ jsx(
4637
4637
  Adornment,
4638
4638
  {
4639
4639
  "data-part-id": PART_END_ADORNMENT,
@@ -6776,6 +6776,7 @@ const XmlUiThemeDefinition = {
6776
6776
  resources: {
6777
6777
  // "font.inter": "https://rsms.me/inter/inter.css",
6778
6778
  },
6779
+ color: "$color-primary-500",
6779
6780
  themeVars: {
6780
6781
  "font-size": "15px",
6781
6782
  "boxShadow-Input": "$boxShadow-sm"
@@ -6797,46 +6798,55 @@ const XmlUiThemeDefinition = {
6797
6798
  const XmlUiGreenThemeDefinition = {
6798
6799
  id: "xmlui-green",
6799
6800
  extends: "xmlui",
6801
+ color: "$color-primary-500",
6800
6802
  themeVars: { ...greenThemeColors }
6801
6803
  };
6802
6804
  const XmlUiGrayThemeDefinition = {
6803
6805
  id: "xmlui-gray",
6804
6806
  extends: "xmlui",
6807
+ color: "$color-primary-500",
6805
6808
  themeVars: { ...grayThemeColors }
6806
6809
  };
6807
6810
  const XmlUiOrangeThemeDefinition = {
6808
6811
  id: "xmlui-orange",
6809
6812
  extends: "xmlui",
6813
+ color: "$color-primary-500",
6810
6814
  themeVars: { ...orangeThemeColors }
6811
6815
  };
6812
6816
  const XmlUiPurpleThemeDefinition = {
6813
6817
  id: "xmlui-purple",
6814
6818
  extends: "xmlui",
6819
+ color: "$color-primary-500",
6815
6820
  themeVars: { ...purpleThemeColors }
6816
6821
  };
6817
6822
  const XmlUiCyanThemeDefinition = {
6818
6823
  id: "xmlui-cyan",
6819
6824
  extends: "xmlui",
6825
+ color: "$color-primary-500",
6820
6826
  themeVars: { ...cyanThemeColors }
6821
6827
  };
6822
6828
  const XmlUiRedThemeDefinition = {
6823
6829
  id: "xmlui-red",
6824
6830
  extends: "xmlui",
6831
+ color: "$color-primary-500",
6825
6832
  themeVars: { ...redThemeColors }
6826
6833
  };
6827
6834
  const XmlUiDocsThemeDefinition = {
6828
6835
  id: "xmlui-docs",
6829
6836
  extends: "xmlui",
6837
+ color: "$color-primary-500",
6830
6838
  themeVars: {}
6831
6839
  };
6832
6840
  const XmlUiBlogThemeDefinition = {
6833
6841
  id: "xmlui-blog",
6834
6842
  extends: "xmlui",
6843
+ color: "$color-primary-500",
6835
6844
  themeVars: {}
6836
6845
  };
6837
6846
  const XmlUiWebThemeDefinition = {
6838
6847
  id: "xmlui-web",
6839
6848
  extends: "xmlui",
6849
+ color: "$color-primary-500",
6840
6850
  themeVars: {
6841
6851
  // --- Fundamental colors & typography
6842
6852
  "maxWidth-content-AppHeader": "1280px",
@@ -25783,8 +25793,6 @@ const NavLinkMd = createMetadata({
25783
25793
  [`fontFamily-${COMP$19}`]: "$fontFamily",
25784
25794
  [`textColor-${COMP$19}`]: "$textColor-primary",
25785
25795
  [`textColor-${COMP$19}--active`]: "$color-primary-500",
25786
- [`fontWeight-${COMP$19}--active`]: "$fontWeight-bold",
25787
- [`fontWeight-${COMP$19}--pressed`]: "$fontWeight-bold",
25788
25796
  [`thickness-indicator-${COMP$19}`]: "$space-0_5",
25789
25797
  [`outlineColor-${COMP$19}--focus`]: "$outlineColor--focus",
25790
25798
  [`outlineWidth-${COMP$19}--focus`]: "$outlineWidth--focus",
@@ -48080,7 +48088,7 @@ function IconProvider({ children }) {
48080
48088
  /* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
48081
48089
  ] });
48082
48090
  }
48083
- const version = "0.11.12";
48091
+ const version = "0.11.13";
48084
48092
  const miscellaneousUtils = {
48085
48093
  capitalize,
48086
48094
  pluralize: pluralize$1,
@@ -55730,7 +55738,7 @@ function ApiInterceptorProvider({
55730
55738
  return;
55731
55739
  }
55732
55740
  void (async () => {
55733
- const { initMock } = await import("./initMock-Dm6pyFPh.js");
55741
+ const { initMock } = await import("./initMock-B1fL_SOf.js");
55734
55742
  const apiInstance2 = await initMock(interceptor);
55735
55743
  setApiInstance(apiInstance2);
55736
55744
  setInitialized(true);
@@ -55747,7 +55755,7 @@ function ApiInterceptorProvider({
55747
55755
  if (define_process_env_default.VITE_MOCK_ENABLED) {
55748
55756
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
55749
55757
  useWorker ? import("./apiInterceptorWorker-Wgm2_zjg.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
55750
- import("./initMock-Dm6pyFPh.js")
55758
+ import("./initMock-B1fL_SOf.js")
55751
55759
  ]);
55752
55760
  if (interceptor || forceInitialize) {
55753
55761
  const apiInstance2 = await initMock(interceptor || {});
@@ -55784,7 +55792,7 @@ function ApiInterceptorProvider({
55784
55792
  void (async () => {
55785
55793
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
55786
55794
  import("./apiInterceptorWorker-Wgm2_zjg.js"),
55787
- import("./initMock-Dm6pyFPh.js")
55795
+ import("./initMock-B1fL_SOf.js")
55788
55796
  ]);
55789
55797
  const apiInstance2 = await initMock(interceptor);
55790
55798
  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-CCJh2wtR.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-vckMPeLq.js";
4
4
  import Dexie from "dexie";
5
5
  var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
6
6
  HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
@@ -1,4 +1,4 @@
1
- import { c, b } from "./collectedComponentMetadata-CCJh2wtR.js";
1
+ import { c, b } from "./collectedComponentMetadata-vckMPeLq.js";
2
2
  export {
3
3
  c as collectedComponentMetadata,
4
4
  b as collectedThemes