@uxland/primary-shell 7.2.0-rc.1 → 7.2.0-rc.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxland/primary-shell",
3
- "version": "7.2.0-rc.1",
3
+ "version": "7.2.0-rc.2",
4
4
  "description": "Primaria Shell",
5
5
  "author": "UXLand <dev@uxland.es>",
6
6
  "homepage": "https://github.com/uxland/harmonix/tree/app#readme",
package/src/index.ts CHANGED
@@ -1,5 +1,13 @@
1
1
  import "reflect-metadata";
2
- import "./styles.css";
2
+ import fontsCSS from "./UI/fonts/fonts.css?inline";
3
+ import dssCSS from "@salut/design-system-salut/css/main.css?inline";
4
+
5
+ // Inject CSS automatically
6
+ if (typeof document !== 'undefined') {
7
+ const style = document.createElement('style');
8
+ style.textContent = fontsCSS + '\n' + dssCSS;
9
+ document.head.appendChild(style);
10
+ }
3
11
  export * from "./bootstrapper";
4
12
  export * from "./disposer";
5
13
  export * from "./api/region-manager/regions";
package/src/styles.css CHANGED
@@ -2,7 +2,4 @@
2
2
  /* This file imports all global styles for the shell */
3
3
 
4
4
  /* Import fonts */
5
- @import './UI/fonts/fonts.css';
6
-
7
- /* Import design system main CSS */
8
- @import '@salut/design-system-salut/css/main.css';
5
+ @import './UI/fonts/fonts.css';