@conboai/storybook.components 0.4.89 → 0.4.90

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.
@@ -67963,13 +67963,17 @@ function Wce({
67963
67963
  })));
67964
67964
  }, v = (x, T) => {
67965
67965
  const { id: w, clusterid: k } = x, I = {};
67966
- return k && (I.className = "svg-clickable", I.onClick = () => {
67967
- var _;
67968
- const F = ((_ = k.match(/a2_(x\d+)/)) == null ? void 0 : _[1]) || "";
67969
- t && t(k, F);
67970
- }, I.onMouseEnter = () => {
67971
- w && s && s(w.split("_")[0]);
67972
- }), (T === "svg" && u || w != null && w.endsWith("_bubble")) && (I.style = { ...I.style, textAnchor: "middle" }), w === "fullname" && (I.style = { ...I.style, textAnchor: "start" }), w != null && w.endsWith("_fullname_right_to_left") && (I.style = { ...I.style, textAnchor: "end" }), w != null && w.endsWith("_hover") && (I.className = "svg_hover_area"), I;
67966
+ if (k) {
67967
+ const F = f && f.includes(k);
67968
+ I.className = F ? "sector-disabled" : "svg-clickable", I.onClick = () => {
67969
+ var D;
67970
+ const _ = ((D = k.match(/a2_(x\d+)/)) == null ? void 0 : D[1]) || "";
67971
+ t && t(k, _);
67972
+ }, I.onMouseEnter = () => {
67973
+ w && s && s(w.split("_")[0]);
67974
+ };
67975
+ }
67976
+ return (T === "svg" && u || w != null && w.endsWith("_bubble")) && (I.style = { ...I.style, textAnchor: "middle" }), w === "fullname" && (I.style = { ...I.style, textAnchor: "start" }), w != null && w.endsWith("_fullname_right_to_left") && (I.style = { ...I.style, textAnchor: "end" }), w != null && w.endsWith("_hover") && (I.className = "svg_hover_area"), I;
67973
67977
  }, y = (x) => {
67974
67978
  var j, N;
67975
67979
  if (!x) return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/storybook.components",
3
- "version": "0.4.89",
3
+ "version": "0.4.90",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [