sixseconds-modules 1.6.194 → 2.0.1

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.
@@ -2,9 +2,12 @@ import { IHeaderProps } from './type';
2
2
  /**
3
3
  * Public Header export.
4
4
  *
5
- * Wraps HeaderInner with MuiProvider so that:
6
- * 1. The Emotion cache is created synchronously SSR-safe, no `dynamic({ ssr: false })` needed.
7
- * 2. All MUI class names are prefixed with `sixseconds-modules-` preventing conflicts.
8
- * 3. Emotion styles are injected into a scoped cache, isolating them from the host app.
5
+ * Wraps HeaderInner in a Shadow DOM boundary (`ShadowIsland`) so that:
6
+ * 1. The host application's CSS physically cannot cross into the header it
7
+ * always renders with only its own styling, in every app it is embedded in.
8
+ * 2. The header's own styles (Emotion + stylesheet) stay inside the shadow root
9
+ * and never leak out into the host document.
10
+ * 3. MUI overlays (dialogs, tooltips) are portalled back into the shadow root,
11
+ * so they are isolated too.
9
12
  */
10
13
  export declare const Header: (props: IHeaderProps) => import("react/jsx-runtime").JSX.Element;