xmlui 0.9.3 → 0.9.4

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.
@@ -33,7 +33,7 @@ const AppHeaderNative_1 = require("../../components/AppHeader/AppHeaderNative");
33
33
  const AppLayoutContext_1 = require("./AppLayoutContext");
34
34
  function App({ children, style, layout, loggedInUser, scrollWholePage, noScrollbarGutters = false, onReady = lodash_es_1.noop, header, navPanel, footer, navPanelDef, logoContentDef, logo, logoDark, logoLight, defaultTone, defaultTheme, renderChild, name, }) {
35
35
  const { getThemeVar } = (0, ThemeContext_1.useTheme)();
36
- const { setActiveThemeTone, setActiveThemeId } = (0, ThemeContext_1.useThemes)();
36
+ const { setActiveThemeTone, setActiveThemeId, themes } = (0, ThemeContext_1.useThemes)();
37
37
  const mounted = (0, react_1.useRef)(false);
38
38
  const layoutWithDefaultValue = layout || getThemeVar("layout-App") || "condensed-sticky";
39
39
  const safeLayout = layoutWithDefaultValue === null || layoutWithDefaultValue === void 0 ? void 0 : layoutWithDefaultValue.trim().replace(/[\u2013\u2014\u2011]/g, "-"); //It replaces all – (–) and — (—) and non-breaking hyphen '‑' symbols with simple dashes (-).
@@ -60,7 +60,7 @@ function App({ children, style, layout, loggedInUser, scrollWholePage, noScrollb
60
60
  return () => {
61
61
  mounted.current = false;
62
62
  };
63
- }, [defaultTone, defaultTheme, setActiveThemeTone, setActiveThemeId]);
63
+ }, [defaultTone, defaultTheme, setActiveThemeTone, setActiveThemeId, themes]);
64
64
  (0, react_1.useEffect)(() => {
65
65
  onReady();
66
66
  }, [onReady]);
@@ -16005,7 +16005,7 @@ li ._htmlOl_1wzn5_205 {
16005
16005
  });
16006
16006
  }
16007
16007
  }
16008
- var define_process_env_default$9 = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.3 (built 4/3/2025)" };
16008
+ var define_process_env_default$9 = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.4 (built 4/3/2025)" };
16009
16009
  class Mutation extends Removable {
16010
16010
  constructor(config2) {
16011
16011
  super();
@@ -35651,7 +35651,7 @@ ${error2.errorObject}`;
35651
35651
  name: name2
35652
35652
  }) {
35653
35653
  const { getThemeVar } = useTheme();
35654
- const { setActiveThemeTone, setActiveThemeId } = useThemes();
35654
+ const { setActiveThemeTone, setActiveThemeId, themes } = useThemes();
35655
35655
  const mounted = reactExports.useRef(false);
35656
35656
  const layoutWithDefaultValue = layout || getThemeVar("layout-App") || "condensed-sticky";
35657
35657
  const safeLayout = layoutWithDefaultValue == null ? void 0 : layoutWithDefaultValue.trim().replace(/[\u2013\u2014\u2011]/g, "-");
@@ -35683,7 +35683,7 @@ ${error2.errorObject}`;
35683
35683
  return () => {
35684
35684
  mounted.current = false;
35685
35685
  };
35686
- }, [defaultTone, defaultTheme, setActiveThemeTone, setActiveThemeId]);
35686
+ }, [defaultTone, defaultTheme, setActiveThemeTone, setActiveThemeId, themes]);
35687
35687
  reactExports.useEffect(() => {
35688
35688
  onReady();
35689
35689
  }, [onReady]);
@@ -144724,7 +144724,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
144724
144724
  /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
144725
144725
  ] });
144726
144726
  }
144727
- const version = "0.9.3";
144727
+ const version = "0.9.4";
144728
144728
  const ApiInterceptorContext = reactExports.createContext(null);
144729
144729
  function useApiInterceptorContext() {
144730
144730
  return reactExports.useContext(ApiInterceptorContext);
@@ -149479,7 +149479,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
149479
149479
  ToneChangerButton: ToneChangerButtonMd,
149480
149480
  Tree: TreeMd
149481
149481
  };
149482
- var define_process_env_default$2 = { VITE_XMLUI_VERSION: "0.9.3 (built 4/3/2025)" };
149482
+ var define_process_env_default$2 = { VITE_XMLUI_VERSION: "0.9.4 (built 4/3/2025)" };
149483
149483
  const MAIN_FILE = "Main." + componentFileExtension;
149484
149484
  const MAIN_CODE_BEHIND_FILE = "Main." + codeBehindFileExtension;
149485
149485
  const CONFIG_FILE = "config.json";
@@ -153801,7 +153801,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
153801
153801
  function isResponseWithoutBody(status) {
153802
153802
  return RESPONSE_STATUS_CODES_WITHOUT_BODY.has(status);
153803
153803
  }
153804
- var define_process_env_default$1 = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.3 (built 4/3/2025)" };
153804
+ var define_process_env_default$1 = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.4 (built 4/3/2025)" };
153805
153805
  var __defProp$7 = Object.defineProperty;
153806
153806
  var __export = (target2, all2) => {
153807
153807
  for (var name2 in all2)
package/dist/xmlui.mjs CHANGED
@@ -1,20 +1,20 @@
1
- import { A, B, E, I, l, k, S, c, e, f, i, n, p, j, t, q, u } from "./index-DHAz4bv_.mjs";
1
+ import { A, B, E, I, i, h, S, b, c, e, f, j, p, s, t, k, u } from "./index-KP1TDy9n.mjs";
2
2
  export {
3
3
  A as AppRoot,
4
4
  B as Button,
5
5
  E as ErrorBoundary,
6
6
  I as Icon,
7
- l as Splitter,
8
- k as Stack,
7
+ i as Splitter,
8
+ h as Stack,
9
9
  S as StandaloneApp,
10
- c as StandaloneExtensionManager,
11
- e as createComponentRenderer,
12
- f as createMetadata,
13
- i as d,
14
- n as getColor,
10
+ b as StandaloneExtensionManager,
11
+ c as createComponentRenderer,
12
+ e as createMetadata,
13
+ f as d,
14
+ j as getColor,
15
15
  p as parseScssVar,
16
- j as startApp,
16
+ s as startApp,
17
17
  t as toCssVar,
18
- q as useColors,
18
+ k as useColors,
19
19
  u as useTheme
20
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmlui",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "sideEffects": false,
5
5
  "scripts": {
6
6
  "start-test-bed": "cd src/testing/infrastructure && xmlui start",
@@ -91,6 +91,7 @@
91
91
  "react-virtualized-auto-sizer": "1.0.24",
92
92
  "react-window": "1.8.10",
93
93
  "recharts": "^2.15.1",
94
+ "rehype-raw": "^7.0.0",
94
95
  "remark-gfm": "^4.0.1",
95
96
  "sass": "1.55.0",
96
97
  "scroll-into-view-if-needed": "^3.1.0",