@texturehq/edges 1.30.6 → 1.31.0

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.
@@ -883,6 +883,12 @@ interface BaseLayerSpec {
883
883
  trigger: "hover" | "click";
884
884
  /** Tooltip content - can be a function or static ReactNode */
885
885
  content: ((feature: LayerFeature) => React.ReactNode) | React.ReactNode;
886
+ /**
887
+ * Render the tooltip content directly without the default popup chrome
888
+ * (padding / background / border / shadow / tip arrow). Use this when
889
+ * the content brings its own card styling. Default `false`.
890
+ */
891
+ bare?: boolean;
886
892
  };
887
893
  }
888
894
  /**
@@ -1007,6 +1013,13 @@ interface ClusteredVectorLayerSpec extends Omit<BaseLayerSpec, "tooltip"> {
1007
1013
  cluster?: (count: number, feature: LayerFeature) => React.ReactNode;
1008
1014
  /** Tooltip content for individual points */
1009
1015
  point?: (feature: LayerFeature) => React.ReactNode;
1016
+ /**
1017
+ * Render the tooltip content directly without the default popup chrome
1018
+ * (padding / background / border / shadow / tip arrow). Use this when
1019
+ * the content brings its own card styling. Default `false` preserves
1020
+ * existing dashboards.
1021
+ */
1022
+ bare?: boolean;
1010
1023
  };
1011
1024
  /** Style overrides for cluster circles (optional, uses design system defaults) */
1012
1025
  clusterStyle?: {
@@ -883,6 +883,12 @@ interface BaseLayerSpec {
883
883
  trigger: "hover" | "click";
884
884
  /** Tooltip content - can be a function or static ReactNode */
885
885
  content: ((feature: LayerFeature) => React.ReactNode) | React.ReactNode;
886
+ /**
887
+ * Render the tooltip content directly without the default popup chrome
888
+ * (padding / background / border / shadow / tip arrow). Use this when
889
+ * the content brings its own card styling. Default `false`.
890
+ */
891
+ bare?: boolean;
886
892
  };
887
893
  }
888
894
  /**
@@ -1007,6 +1013,13 @@ interface ClusteredVectorLayerSpec extends Omit<BaseLayerSpec, "tooltip"> {
1007
1013
  cluster?: (count: number, feature: LayerFeature) => React.ReactNode;
1008
1014
  /** Tooltip content for individual points */
1009
1015
  point?: (feature: LayerFeature) => React.ReactNode;
1016
+ /**
1017
+ * Render the tooltip content directly without the default popup chrome
1018
+ * (padding / background / border / shadow / tip arrow). Use this when
1019
+ * the content brings its own card styling. Default `false` preserves
1020
+ * existing dashboards.
1021
+ */
1022
+ bare?: boolean;
1010
1023
  };
1011
1024
  /** Style overrides for cluster circles (optional, uses design system defaults) */
1012
1025
  clusterStyle?: {