@gears-frontx/react 0.2.0-alpha.4 → 0.2.0-alpha.5

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.cts CHANGED
@@ -777,8 +777,17 @@ declare function useRegisteredPackages(): string[];
777
777
  * Styling strategy:
778
778
  * 1. adoptHostStylesIntoShadowRoot() clones all host <style> and <link> into the
779
779
  * front of the shadow root, bringing the full compiled Tailwind CSS (including
780
- * MFE utilities, since the host's content paths cover src/mfe_packages/**).
781
- * Front, not back, so the MFE's own stylesheets outrank them - see the method.
780
+ * MFE utilities, since the host's content paths cover src-app/mfe_packages/**) and
781
+ * the ui-kit component CSS (the host entry side-effect-imports
782
+ * @gears-frontx/ui-kit so that CSS exists in the host document; the kit's
783
+ * CSS-module class names are stable per kit version, so they match the
784
+ * classes MFE bundles reference only while host and MFE install the same
785
+ * kit version - the template-pin-drift policy check is what guarantees
786
+ * that; a drifted MFE renders its kit components unstyled with no error).
787
+ * Front, not back, so the MFE's own stylesheets
788
+ * outrank them - see the method. Design tokens must therefore be full CSS
789
+ * colors - both Tailwind utilities (var(--x)) and ui-kit component CSS
790
+ * consume them directly.
782
791
  * 2. injectBaseResets() adds box-model resets and :host defaults that aren't part
783
792
  * of Tailwind's compiled output but are needed for consistent rendering, and
784
793
  * positions them at the end of the shell-owned head - after the adopted block
package/dist/index.d.ts CHANGED
@@ -777,8 +777,17 @@ declare function useRegisteredPackages(): string[];
777
777
  * Styling strategy:
778
778
  * 1. adoptHostStylesIntoShadowRoot() clones all host <style> and <link> into the
779
779
  * front of the shadow root, bringing the full compiled Tailwind CSS (including
780
- * MFE utilities, since the host's content paths cover src/mfe_packages/**).
781
- * Front, not back, so the MFE's own stylesheets outrank them - see the method.
780
+ * MFE utilities, since the host's content paths cover src-app/mfe_packages/**) and
781
+ * the ui-kit component CSS (the host entry side-effect-imports
782
+ * @gears-frontx/ui-kit so that CSS exists in the host document; the kit's
783
+ * CSS-module class names are stable per kit version, so they match the
784
+ * classes MFE bundles reference only while host and MFE install the same
785
+ * kit version - the template-pin-drift policy check is what guarantees
786
+ * that; a drifted MFE renders its kit components unstyled with no error).
787
+ * Front, not back, so the MFE's own stylesheets
788
+ * outrank them - see the method. Design tokens must therefore be full CSS
789
+ * colors - both Tailwind utilities (var(--x)) and ui-kit component CSS
790
+ * consume them directly.
782
791
  * 2. injectBaseResets() adds box-model resets and :host defaults that aren't part
783
792
  * of Tailwind's compiled output but are needed for consistent rendering, and
784
793
  * positions them at the end of the shell-owned head - after the adopted block
package/dist/index.js CHANGED
@@ -1261,8 +1261,8 @@ var ThemeAwareReactLifecycle = class {
1261
1261
  line-height: 1.5;
1262
1262
  -webkit-font-smoothing: antialiased;
1263
1263
  -moz-osx-font-smoothing: grayscale;
1264
- color: hsl(var(--foreground));
1265
- background-color: hsl(var(--background));
1264
+ color: var(--foreground);
1265
+ background-color: var(--background);
1266
1266
  }
1267
1267
  `;
1268
1268
  const shellOwnedHead = container.querySelectorAll(