@visns-studio/visns-components 6.1.5 → 6.1.6

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/package.json CHANGED
@@ -91,7 +91,7 @@
91
91
  "react-dom": "^17.0.0 || ^18.0.0"
92
92
  },
93
93
  "name": "@visns-studio/visns-components",
94
- "version": "6.1.5",
94
+ "version": "6.1.6",
95
95
  "description": "Various packages to assist in the development of our Custom Applications.",
96
96
  "main": "src/index.js",
97
97
  "files": [
@@ -1828,18 +1828,19 @@ select:not(:placeholder-shown) + .fi__span {
1828
1828
  }
1829
1829
  }
1830
1830
 
1831
- /* Tooltip positioning fixes */
1832
- [data-tooltip-id] {
1831
+ /* Tooltip anchors inside the builder need a positioning context and a
1832
+ z-index below the header. Scoped to the builder's own controls — a bare
1833
+ `[data-tooltip-id]` here is GLOBAL (css-modules does not hash attribute
1834
+ selectors), and until 6.1.6 it leaked `position: relative` onto every
1835
+ tooltip-carrying element in every consuming app, breaking any anchor
1836
+ that relied on `position: absolute` (e.g. copy-to-clipboard icons). */
1837
+ .dragHandle[data-tooltip-id],
1838
+ .editIcon[data-tooltip-id],
1839
+ .deleteIcon[data-tooltip-id],
1840
+ .moveIcon[data-tooltip-id],
1841
+ .collapseToggle[data-tooltip-id] {
1833
1842
  position: relative;
1834
- z-index: 50; /* Reduced further to stay below header */
1835
- }
1836
-
1837
- /* React Tooltip specific z-index override */
1838
- :global([data-tooltip-id="field-tooltip"]),
1839
- :global([data-tooltip-id="action-tooltip"]),
1840
- :global([data-tooltip-id="system-tooltip"]) {
1841
- position: relative;
1842
- z-index: 50 !important;
1843
+ z-index: 50;
1843
1844
  }
1844
1845
 
1845
1846
  /* Ensure action tooltips take priority over field tooltips */