@conboai/storybook.components 0.5.58 → 0.5.59

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.
@@ -39,6 +39,6 @@ interface IMetroMap {
39
39
  disabledSectors?: string[];
40
40
  activeSectors?: string[];
41
41
  }
42
- declare function MetroMap({ elements, onSelect, selectedCluster, minor, major, disabled, isMultiSelect, onHover, svgAttributes, showFullNames, isMap, pollutions, timing, disabledSectors, activeSectors }: IMetroMap): React.JSX.Element | null;
42
+ declare function MetroMap({ elements, onSelect, selectedCluster, minor, major, disabled, isMultiSelect, onHover, svgAttributes, showFullNames, isMap, pollutions, timing, disabledSectors, activeSectors, }: IMetroMap): React.JSX.Element | null;
43
43
  declare const _default: React.MemoExoticComponent<typeof MetroMap>;
44
44
  export default _default;
@@ -67481,7 +67481,7 @@ function qce({
67481
67481
  if (typeof E == "string") return E;
67482
67482
  E.tag === "text" && ((X = E.attributes.id) != null && X.endsWith("_pollution_text")) && h && y(E, h, "_pollution_text"), E.tag === "text" && ((Z = E.attributes.id) != null && Z.endsWith("_time_text")) && f && y(E, f, "_time_text");
67483
67483
  const { tag: M, attributes: O, children: F, text: D } = E, { id: A, fill: P, stroke: L } = O, x = g(A, P), k = m(A, L), R = C(A, O == null ? void 0 : O.fillOpacity), I = v(A), H = T(O, M), B = Uce(O), N = {};
67484
- b && A && (qm(A, b, "_fill") ? N.className = "fill-disabled" : b && A && qm(A, b, "hover") ? N.className = "hover-hidden" : b && A && qm(A, b, "_index") && (N.style = {
67484
+ A && A.startsWith("menu_") && (B["data-testid"] = A), b && A && (qm(A, b, "_fill") ? N.className = "fill-disabled" : b && A && qm(A, b, "hover") ? N.className = "hover-hidden" : b && A && qm(A, b, "_index") && (N.style = {
67485
67485
  display: "none"
67486
67486
  }));
67487
67487
  const U = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/storybook.components",
3
- "version": "0.5.58",
3
+ "version": "0.5.59",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [