@natoora-libs/core 0.2.1 → 0.2.2
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.
package/dist/components/index.js
CHANGED
|
@@ -6262,7 +6262,7 @@ import { makeStyles as makeStyles35 } from "tss-react/mui";
|
|
|
6262
6262
|
|
|
6263
6263
|
// src/utils/useGetActiveSection.ts
|
|
6264
6264
|
import { useEffect as useEffect6, useState as useState10 } from "react";
|
|
6265
|
-
var transformNameToID = (name) => name.replaceAll(" ", "
|
|
6265
|
+
var transformNameToID = (name) => name.replaceAll(" ", "_").toLocaleLowerCase();
|
|
6266
6266
|
|
|
6267
6267
|
// src/components/RenderContentList/RenderContentList.tsx
|
|
6268
6268
|
import { jsx as jsx105, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
@@ -6345,7 +6345,7 @@ var RenderContentList = ({
|
|
|
6345
6345
|
},
|
|
6346
6346
|
children: [
|
|
6347
6347
|
/* @__PURE__ */ jsx105(ListItemText4, { primary: item }),
|
|
6348
|
-
warningItems?.includes(item) && /* @__PURE__ */ jsx105(Tooltip8, { title: warningMessage, children: /* @__PURE__ */ jsx105(WarningAmber, { color: "warning" }) })
|
|
6348
|
+
(warningItems?.includes(item) || warningItems?.includes(id)) && /* @__PURE__ */ jsx105(Tooltip8, { title: warningMessage, children: /* @__PURE__ */ jsx105(WarningAmber, { color: "warning" }) })
|
|
6349
6349
|
]
|
|
6350
6350
|
},
|
|
6351
6351
|
id
|