xmlui 0.4.2-beta.2 → 0.4.3

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 (44) hide show
  1. package/dist/{Pdf-Cw4rsLlC.mjs → Pdf-DTuZ_aBK.mjs} +1 -1
  2. package/dist/{Pdf-DTxKB72g.mjs → Pdf-GNhynVZK.mjs} +1 -1
  3. package/dist/{apiInterceptorWorker-Cwqldrsi.mjs → apiInterceptorWorker-BsYA33M3.mjs} +1 -1
  4. package/dist/{apiInterceptorWorker-DXlNa2pZ.mjs → apiInterceptorWorker-jZ0ZDQqP.mjs} +1 -1
  5. package/dist/{grammar.tmLanguage-BELR-62I.mjs → grammar.tmLanguage-7HXwRarI.mjs} +21 -1
  6. package/dist/{index-DNI2rMij.mjs → index-CsOjUQnK.mjs} +7612 -7243
  7. package/dist/{index-standalone-CjgKrRur.mjs → index-standalone-Cn89JdlG.mjs} +25148 -24756
  8. package/dist/index-standalone.css +1 -1
  9. package/dist/index.css +1 -1
  10. package/dist/{nivo-bar.es-ksaRLFWg.mjs → nivo-bar.es-Bxk3Dn8A.mjs} +2 -2
  11. package/dist/{nivo-geo.es-CKScMd6z.mjs → nivo-geo.es-CpGxXa45.mjs} +2 -2
  12. package/dist/{nivo-legends.es-COxD-HVb.mjs → nivo-legends.es-Dx4X21-T.mjs} +1 -1
  13. package/dist/{nivo-pie.es-O_e-F1XQ.mjs → nivo-pie.es-BQqtQwEz.mjs} +2 -2
  14. package/dist/{react-apexcharts.min-CUpL1QAf.mjs → react-apexcharts.min-CDn4NFvp.mjs} +1 -1
  15. package/dist/scripts/docs/syntax/grammar.tmLanguage.json +16 -26
  16. package/dist/scripts/docs/syntax/textMate/xmlui.json +8 -0
  17. package/dist/scripts/xmlui/src/components/Accordion/Accordion.js +57 -0
  18. package/dist/scripts/xmlui/src/components/Alert/Alert.js +31 -0
  19. package/dist/scripts/xmlui/src/components/App/App.js +4 -4
  20. package/dist/scripts/xmlui/src/components/Badge/Badge.js +1 -1
  21. package/dist/scripts/xmlui/src/components/Bookmark/Bookmark.js +22 -2
  22. package/dist/scripts/xmlui/src/components/ComponentProvider.js +9 -0
  23. package/dist/scripts/xmlui/src/components/Heading/Heading.js +27 -2
  24. package/dist/scripts/xmlui/src/components/OffCanvas/OffCanvas.js +34 -0
  25. package/dist/scripts/xmlui/src/components/Pages/Pages.js +2 -1
  26. package/dist/scripts/xmlui/src/components/Spinner/Spinner.js +5 -1
  27. package/dist/scripts/xmlui/src/components/Table/Table.js +26 -8
  28. package/dist/scripts/xmlui/src/components/TableOfContents/TableOfContents.js +93 -0
  29. package/dist/scripts/xmlui/src/components-core/Component.js +10 -6
  30. package/dist/scripts/xmlui/src/components-core/CompoundComponent.js +12 -1
  31. package/dist/scripts/xmlui/src/components-core/RootComponent.js +74 -11
  32. package/dist/scripts/xmlui/src/components-core/TableOfContentsContext.js +77 -0
  33. package/dist/scripts/xmlui/src/components-core/container/Container.js +14 -14
  34. package/dist/scripts/xmlui/src/components-core/theming/themes/root.js +5 -2
  35. package/dist/scripts/xmlui/src/parsers/style-parser/style-compiler.js +169 -142
  36. package/dist/scripts/xmlui/src/parsers/xmlui-parser/ParserError.js +1 -0
  37. package/dist/scripts/xmlui/src/parsers/xmlui-parser/transform.js +46 -41
  38. package/dist/{xmlui-C8fXVsN3.mjs → xmlui-BYWyXi2x.mjs} +8 -0
  39. package/dist/xmlui-standalone.es.js +1 -1
  40. package/dist/xmlui-standalone.umd.js +142 -142
  41. package/dist/xmlui.es.d.ts +19 -9
  42. package/dist/xmlui.es.js +1 -1
  43. package/dist/xmlui.umd.js +94 -94
  44. package/package.json +4 -2
@@ -1,5 +1,5 @@
1
1
  import "./Pdf.css";
2
- import { h as getAugmentedNamespace, j as commonjsGlobal, _ as _objectWithoutPropertiesLoose, k as reactExports, l as m, R as React, n as _createClass, p as _classCallCheck, q as _unsupportedIterableToArray, s as _arrayLikeToArray, t as _typeof, u as _defineProperty, v as _inherits, w as _getPrototypeOf, x as _possibleConstructorReturn, y as _assertThisInitialized, z as _extends, A as jsxRuntimeExports } from "./index-standalone-CjgKrRur.mjs";
2
+ import { h as getAugmentedNamespace, j as commonjsGlobal, _ as _objectWithoutPropertiesLoose, k as reactExports, l as m, R as React, n as _createClass, p as _classCallCheck, q as _unsupportedIterableToArray, s as _arrayLikeToArray, t as _typeof, u as _defineProperty, v as _inherits, w as _getPrototypeOf, x as _possibleConstructorReturn, y as _assertThisInitialized, z as _extends, A as jsxRuntimeExports } from "./index-standalone-Cn89JdlG.mjs";
3
3
  const wrapper = "_wrapper_1ppjw_13", page = "_page_1ppjw_22", styles = {
4
4
  wrapper,
5
5
  page
@@ -1,5 +1,5 @@
1
1
  import "./Pdf.css";
2
- import { j as I } from "./index-DNI2rMij.mjs";
2
+ import { j as I } from "./index-CsOjUQnK.mjs";
3
3
  import { useState as d } from "react";
4
4
  import { pdfjs as i, Document as c, Page as m } from "react-pdf";
5
5
  const W = "_wrapper_1ppjw_13", w = "_page_1ppjw_22", A = {
@@ -10,7 +10,7 @@ var rt = (e, t, r) => (hr(e, t, "read from private field"), r ? r.call(e) : t.ge
10
10
  t instanceof WeakSet ? t.add(e) : t.set(e, r);
11
11
  }, kn = (e, t, r, n) => (hr(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r);
12
12
  var At = (e, t, r) => (hr(e, t, "access private method"), r);
13
- import { b as ao, a as co, c as lo, r as uo, i as Ts, d as ks, e as ho, m as fo, f as po, g as mo, o as fr, T as yo } from "./index-standalone-CjgKrRur.mjs";
13
+ import { b as ao, a as co, c as lo, r as uo, i as Ts, d as ks, e as ho, m as fo, f as po, g as mo, o as fr, T as yo } from "./index-standalone-Cn89JdlG.mjs";
14
14
  function go(e, t) {
15
15
  var r = {};
16
16
  return t = ao(t), co(e, function(n, s, i) {
@@ -12,7 +12,7 @@ var z = (e, t, r) => (ye(e, t, "read from private field"), r ? r.call(e) : t.get
12
12
  var re = (e, t, r) => (ye(e, t, "access private method"), r);
13
13
  import { isArray as Ot, isObject as At, mapValues as Nr } from "lodash-es";
14
14
  import { delay as kr, HttpResponse as Y, http as Pr } from "msw";
15
- import { r as Lr, d as Sr, m as Dr, a as Cr, g as qr, o as ve, T as Mr } from "./index-DNI2rMij.mjs";
15
+ import { r as Lr, d as Sr, m as Dr, a as Cr, g as qr, o as ve, T as Mr } from "./index-CsOjUQnK.mjs";
16
16
  import Fe from "dexie";
17
17
  var $r = /(%?)(%([sdijo]))/g;
18
18
  function Ur(e, t) {
@@ -1,4 +1,4 @@
1
- const e = "xmlui", n = "source.ueml", t = [
1
+ const e = "xmlui", n = "source.xmlui", t = [
2
2
  {
3
3
  include: "#root"
4
4
  }
@@ -11,6 +11,9 @@ const e = "xmlui", n = "source.ueml", t = [
11
11
  {
12
12
  include: "#helperTag"
13
13
  },
14
+ {
15
+ include: "#slotTag"
16
+ },
14
17
  {
15
18
  include: "#componentTag"
16
19
  },
@@ -293,6 +296,23 @@ const e = "xmlui", n = "source.ueml", t = [
293
296
  ],
294
297
  end: ">"
295
298
  },
299
+ slotTag: {
300
+ match: "(</?)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)([a-z][-\\w\\.$]*)(\\s*/?>)",
301
+ captures: {
302
+ 1: {
303
+ name: "punctuation.definition.tag.xmlui"
304
+ },
305
+ 2: {
306
+ name: "keyword.operator.namespace.xmlui"
307
+ },
308
+ 3: {
309
+ name: "support.variable.xmlui"
310
+ },
311
+ 4: {
312
+ name: "punctuation.definition.tag.xmlui"
313
+ }
314
+ }
315
+ },
296
316
  bindingExpr: {
297
317
  contentName: "meta.embedded.block.javascript",
298
318
  begin: "\\{",