@absolutejs/beacon 0.6.54 → 0.6.55

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/index.d.ts CHANGED
@@ -107,7 +107,7 @@ export declare const BEACON_ATTRIBUTE: {
107
107
  /** Response header used to correlate a browser signal with its server request. */
108
108
  export declare const BEACON_TRACE_HEADER = "x-absolute-trace-id";
109
109
  /** Beacon package version retained with every captured event. */
110
- export declare const BEACON_SDK_VERSION = "0.6.54";
110
+ export declare const BEACON_SDK_VERSION = "0.6.55";
111
111
  /** Arbitrary event tags, with Beacon's reserved `signal` tag type-checked. */
112
112
  export type BeaconTags = Record<string, string> & {
113
113
  signal?: BeaconSignal;
package/dist/index.js CHANGED
@@ -76,7 +76,7 @@ var BEACON_ATTRIBUTE = {
76
76
  THEME: "data-beacon-theme"
77
77
  };
78
78
  var BEACON_TRACE_HEADER = "x-absolute-trace-id";
79
- var BEACON_SDK_VERSION = "0.6.54";
79
+ var BEACON_SDK_VERSION = "0.6.55";
80
80
  var inBrowser = () => typeof window !== "undefined";
81
81
  var newId = () => {
82
82
  if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
@@ -2163,6 +2163,8 @@ var createBeacon = (options) => {
2163
2163
  if (overflowX === "auto" || overflowX === "scroll")
2164
2164
  return;
2165
2165
  if (overflowX === "hidden" || overflowX === "clip") {
2166
+ if (isMaterialIconGlyph(element))
2167
+ return;
2166
2168
  const horizontalContentWidth = Math.max(element.clientWidth, rect.width);
2167
2169
  const clipPx = element.scrollWidth - horizontalContentWidth;
2168
2170
  if (clipPx > LAYOUT_OVERFLOW_CONTAINER_TOLERANCE_PX && style.textOverflow !== "ellipsis") {
@@ -4515,5 +4517,5 @@ export {
4515
4517
  BEACON_ATTRIBUTE
4516
4518
  };
4517
4519
 
4518
- //# debugId=AF2331F2AE3F654164756E2164756E21
4520
+ //# debugId=11D74B10F3D1902364756E2164756E21
4519
4521
  //# sourceMappingURL=index.js.map