xmlui 0.9.46 → 0.9.47

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 (31) hide show
  1. package/dist/lib/{apiInterceptorWorker-D_OwtjcQ.mjs → apiInterceptorWorker-BY933b9G.mjs} +1 -1
  2. package/dist/lib/{index-_koqcHz7.mjs → index-DLZaCu6v.mjs} +10860 -10615
  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-Cf8v_9Lr.mjs → metadata-utils-DiiTyP_-.mjs} +12 -7
  7. package/dist/lib/{server-common-kMTAr-QU.mjs → server-common-DJ9dCJkg.mjs} +4201 -4231
  8. package/dist/lib/xmlui.d.ts +1 -1
  9. package/dist/lib/xmlui.mjs +1 -1
  10. package/dist/metadata/style.css +1 -1
  11. package/dist/metadata/xmlui-metadata.mjs +3333 -3307
  12. package/dist/metadata/xmlui-metadata.umd.js +10 -10
  13. package/dist/scripts/package.json +1 -1
  14. package/dist/scripts/src/components/App/AppNative.js +1 -1
  15. package/dist/scripts/src/components/ComponentProvider.js +240 -121
  16. package/dist/scripts/src/components/Markdown/Markdown.js +9 -0
  17. package/dist/scripts/src/components/Markdown/MarkdownNative.js +10 -0
  18. package/dist/scripts/src/components/Markdown/utils.js +38 -0
  19. package/dist/scripts/src/components/NavGroup/NavGroupContext.js +12 -0
  20. package/dist/scripts/src/components/NavGroup/NavGroupNative.js +19 -26
  21. package/dist/scripts/src/components/NavLink/NavLinkNative.js +11 -5
  22. package/dist/scripts/src/components/NestedApp/NestedAppNative.js +1 -1
  23. package/dist/scripts/src/components/Text/Text.js +1 -0
  24. package/dist/scripts/src/components/TreeDisplay/TreeDisplay.js +47 -0
  25. package/dist/scripts/src/components/TreeDisplay/TreeDisplayNative.js +102 -0
  26. package/dist/scripts/src/components/abstractions.js +6 -0
  27. package/dist/scripts/src/components-core/theming/ThemeProvider.js +1 -1
  28. package/dist/scripts/src/components-core/theming/transformThemeVars.js +27 -0
  29. package/dist/standalone/xmlui-standalone.es.d.ts +2 -2
  30. package/dist/standalone/xmlui-standalone.umd.js +209 -205
  31. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { m as o, s as n } from "./server-common-kMTAr-QU.mjs";
1
+ import { m as o, s as n } from "./server-common-DJ9dCJkg.mjs";
2
2
  var e = o;
3
3
  const s = new e.BrowserMessageReader(self);
4
4
  s.listen((r) => {
@@ -1,4 +1,4 @@
1
- import { m as n, s as a } from "./server-common-kMTAr-QU.mjs";
1
+ import { m as n, s as a } from "./server-common-DJ9dCJkg.mjs";
2
2
  var o = n;
3
3
  function r() {
4
4
  const t = o.createConnection(o.ProposedFeatures.all);
@@ -30,13 +30,13 @@ const P = [
30
30
  { value: "lg", description: "Large devices (e.g., a laptop)" },
31
31
  { value: "xl", description: 'Extra large devices (e.g., a standard 20" monitor)' },
32
32
  { value: "xxl", description: 'Extra extra large devices (e.g., a large 29" monitor)' }
33
- ], A = Object.keys(u), g = [
33
+ ], A = Object.keys(u), v = [
34
34
  { value: "xs", description: "Extra small button" },
35
35
  { value: "sm", description: "Small button" },
36
36
  { value: "md", description: "Medium button" },
37
37
  { value: "lg", description: "Large button" }
38
- ], v = Object.keys(g);
39
- [...v];
38
+ ], g = Object.keys(v);
39
+ [...g];
40
40
  const b = ["attention", "primary", "secondary"], O = [...b], z = [
41
41
  { value: "attention", description: "Attention state theme color" },
42
42
  { value: "primary", description: "Primary theme color" },
@@ -112,6 +112,7 @@ const B = {
112
112
  code: "code",
113
113
  codefence: "pre",
114
114
  deleted: "del",
115
+ inherit: "span",
115
116
  inserted: "ins",
116
117
  keyboard: "kbd",
117
118
  marked: "mark",
@@ -142,6 +143,10 @@ const B = {
142
143
  },
143
144
  { value: "deleted", description: "Represents text that has been deleted" },
144
145
  { value: "em", description: "Marks text to stress emphasis" },
146
+ {
147
+ value: "inherit",
148
+ description: "Represents text that inherits the style from its parent element"
149
+ },
145
150
  {
146
151
  value: "inserted",
147
152
  description: "Represents a range of text that has been added to a document"
@@ -174,7 +179,7 @@ const B = {
174
179
  { value: "tableheading", description: "Indicates that the text is a table heading" },
175
180
  { value: "title", description: "Indicates that the text is the title of some other content" },
176
181
  { value: "var", description: "Represents the name of a variable in a mathematical expression" }
177
- ], V = ["title"], M = ["cite", "dateTime"], U = [...V, ...M], F = [
182
+ ], R = ["title"], V = ["cite", "dateTime"], U = [...R, ...V], F = [
178
183
  "get",
179
184
  "post",
180
185
  "put",
@@ -275,10 +280,10 @@ class q {
275
280
  }
276
281
  getComponent(t) {
277
282
  const e = this.metadataCollection[t];
278
- return e ? new R(e) : null;
283
+ return e ? new M(e) : null;
279
284
  }
280
285
  }
281
- class R {
286
+ class M {
282
287
  constructor(t) {
283
288
  this.metadata = t;
284
289
  }
@@ -417,7 +422,7 @@ export {
417
422
  I as o,
418
423
  s as p,
419
424
  A as q,
420
- g as s,
425
+ v as s,
421
426
  H as t,
422
427
  _ as v
423
428
  };