xmlui 0.9.48 → 0.9.50

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.
Files changed (39) hide show
  1. package/dist/lib/{apiInterceptorWorker-Ap4Sg3e9.mjs → apiInterceptorWorker-B6XqwxPF.mjs} +1 -1
  2. package/dist/lib/index-BpQ3DEFQ.mjs +35444 -0
  3. package/dist/lib/index.css +1 -1
  4. package/dist/lib/language-server-web-worker.mjs +1 -1
  5. package/dist/lib/language-server.mjs +1 -1
  6. package/dist/lib/{metadata-utils-DiiTyP_-.mjs → metadata-utils-QekhOD-W.mjs} +1 -1
  7. package/dist/lib/{server-common-COd84jF-.mjs → server-common-D4BcRpEl.mjs} +2 -2
  8. package/dist/lib/{transform-DU7v4c9h.mjs → transform-DXcw0gGl.mjs} +429 -428
  9. package/dist/lib/xmlui-parser.d.ts +2 -0
  10. package/dist/lib/xmlui-parser.mjs +2 -2
  11. package/dist/lib/{xmlui-serializer-B3OkRzrr.mjs → xmlui-serializer-CAZCkpXP.mjs} +1 -1
  12. package/dist/lib/xmlui.d.ts +2 -0
  13. package/dist/lib/xmlui.mjs +2 -2
  14. package/dist/metadata/style.css +1 -1
  15. package/dist/metadata/xmlui-metadata.mjs +1550 -1525
  16. package/dist/metadata/xmlui-metadata.umd.js +4 -4
  17. package/dist/scripts/package.json +1 -1
  18. package/dist/scripts/src/components/App/App.js +1 -0
  19. package/dist/scripts/src/components/Checkbox/Checkbox.js +1 -0
  20. package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +3 -0
  21. package/dist/scripts/src/components/Footer/Footer.js +1 -0
  22. package/dist/scripts/src/components/FormItem/FormItem.js +7 -0
  23. package/dist/scripts/src/components/Heading/Heading.js +1 -0
  24. package/dist/scripts/src/components/Link/Link.js +7 -7
  25. package/dist/scripts/src/components/Markdown/Markdown.js +4 -0
  26. package/dist/scripts/src/components/Markdown/MarkdownNative.js +2 -2
  27. package/dist/scripts/src/components/NavPanel/NavPanel.js +1 -0
  28. package/dist/scripts/src/components/Switch/Switch.js +1 -0
  29. package/dist/scripts/src/components/Text/Text.js +3 -0
  30. package/dist/scripts/src/components-core/XmluiCodeHighlighter.js +19 -22
  31. package/dist/scripts/src/parsers/xmlui-parser/transform.js +8 -0
  32. package/dist/scripts/src/syntax/textMate/xmlui-dark.json +631 -0
  33. package/dist/scripts/src/syntax/textMate/{xmlui.json → xmlui-light.json} +26 -25
  34. package/dist/standalone/xmlui-standalone.es.d.ts +2 -0
  35. package/dist/standalone/xmlui-standalone.umd.js +196 -196
  36. package/package.json +1 -1
  37. package/dist/lib/grammar.tmLanguage-CiYpNgdH.mjs +0 -600
  38. package/dist/lib/index-CSz52AVL.mjs +0 -30723
  39. package/dist/lib/xmlui-DMBgrXXb.mjs +0 -637
@@ -353,6 +353,7 @@ declare type ComponentMetadata<TProps extends Record<string, ComponentPropertyMe
353
353
  themeVarDescriptions?: Record<string, string>;
354
354
  defaultThemeVars?: DefaultThemeVars;
355
355
  toneSpecificThemeVars?: Record<string, Record<string, string>>;
356
+ limitThemeVarsToComponent?: boolean;
356
357
  allowArbitraryProps?: boolean;
357
358
  specializedFrom?: string;
358
359
  docFolder?: string;
@@ -466,6 +467,7 @@ declare interface CompoundComponentDef extends Scriptable {
466
467
  * belonging to the particular component definition.
467
468
  */
468
469
  debug?: Record<string, any>;
470
+ codeBehind?: string;
469
471
  }
470
472
 
471
473
  declare type CONDITIONAL_EXPRESSION = typeof T_CONDITIONAL_EXPRESSION;
@@ -1,5 +1,5 @@
1
- import { x as t, z as s, C as i, n, j as r, h as o, m as _, g as d, k as g, a as p, l as E, i as c, o as m, e as D, c as x, f as C, b as l, D as S, E as f, P as U, S as N, U as T, s as A, p as P, d as k, r as y, H as L, w as O, t as h, v as I, u as M, A as u, y as v, q as F, B as R, G as X, F as b } from "./transform-DU7v4c9h.mjs";
2
- import { b as q, L as B, X as H, a as V, c as j, g as w, e as z, l as G, d as W, m as J, p as Q } from "./xmlui-serializer-B3OkRzrr.mjs";
1
+ import { x as t, z as s, C as i, n, j as r, h as o, m as _, g as d, k as g, a as p, l as E, i as c, o as m, e as D, c as x, f as C, b as l, D as S, E as f, P as U, S as N, U as T, s as A, p as P, d as k, r as y, H as L, w as O, t as h, v as I, u as M, A as u, y as v, q as F, B as R, G as X, F as b } from "./transform-DXcw0gGl.mjs";
2
+ import { b as q, L as B, X as H, a as V, c as j, g as w, e as z, l as G, d as W, m as J, p as Q } from "./xmlui-serializer-CAZCkpXP.mjs";
3
3
  export {
4
4
  t as COMPOUND_COMP_ID,
5
5
  s as CORE_NAMESPACE_VALUE,
@@ -1,4 +1,4 @@
1
- import { z as A, x as j } from "./transform-DU7v4c9h.mjs";
1
+ import { z as A, x as j } from "./transform-DXcw0gGl.mjs";
2
2
  const k = "xmlui", P = "xmlui.xs", D = "xs";
3
3
  var x = /* @__PURE__ */ ((l) => (l[l.Skip = 0] = "Skip", l[l.Warning = 1] = "Warning", l[l.Error = 2] = "Error", l))(x || {}), V = /* @__PURE__ */ ((l) => (l[l.UnrecognisedProp = 0] = "UnrecognisedProp", l))(V || {});
4
4
  function z(l) {
@@ -624,6 +624,7 @@ export declare type ComponentMetadata<TProps extends Record<string, ComponentPro
624
624
  themeVarDescriptions?: Record<string, string>;
625
625
  defaultThemeVars?: DefaultThemeVars;
626
626
  toneSpecificThemeVars?: Record<string, Record<string, string>>;
627
+ limitThemeVarsToComponent?: boolean;
627
628
  allowArbitraryProps?: boolean;
628
629
  specializedFrom?: string;
629
630
  docFolder?: string;
@@ -745,6 +746,7 @@ export declare interface CompoundComponentDef extends Scriptable {
745
746
  * belonging to the particular component definition.
746
747
  */
747
748
  debug?: Record<string, any>;
749
+ codeBehind?: string;
748
750
  }
749
751
 
750
752
  declare type CONDITIONAL_EXPRESSION = typeof T_CONDITIONAL_EXPRESSION;
@@ -1,5 +1,5 @@
1
- import { y as e, A as t, B as o, E as r, I as n, L as p, H as u, N as i, z as l, i as C, h as d, S as m, b as x, k as T, l as c, D as S, F as A, G as g, V as h, C as B, c as I, e as L, f as b, w as k, j as v, p as y, s as V, t as f, K as E, n as H, q as M, v as N, J as R, u as D, x as U } from "./index-CSz52AVL.mjs";
2
- import { X as j } from "./xmlui-serializer-B3OkRzrr.mjs";
1
+ import { y as e, A as t, B as o, E as r, I as n, L as p, H as u, N as i, z as l, i as C, h as d, S as m, b as x, k as T, l as c, D as S, F as A, G as g, V as h, C as B, c as I, e as L, f as b, w as k, j as v, p as y, s as V, t as f, K as E, n as H, q as M, v as N, J as R, u as D, x as U } from "./index-BpQ3DEFQ.mjs";
2
+ import { X as j } from "./xmlui-serializer-CAZCkpXP.mjs";
3
3
  export {
4
4
  e as ApiInterceptorProvider,
5
5
  t as AppRoot,