@red-hat-developer-hub/backstage-plugin-theme 0.4.5 → 0.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @red-hat-developer-hub/backstage-plugin-theme
2
2
 
3
+ ## 0.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 715c448: add workaround for `style-inject`(ion) issue with the published package
8
+
3
9
  ## 0.4.5
4
10
 
5
11
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.esm.js';
1
+ import styleInject from 'style-inject';
2
2
 
3
3
  var css_248z = "@font-face {\n font-family: 'RedHatDisplay';\n src: url('./RedHatDisplay/RedHatDisplayVF.woff2') format('woff2-variations');\n font-weight: 300 900;\n font-style: normal;\n font-display: fallback;\n}\n\n@font-face {\n font-family: 'RedHatDisplay';\n src: url('./RedHatDisplay/RedHatDisplayVF-Italic.woff2')\n format('woff2-variations');\n font-weight: 300 900;\n font-style: italic;\n font-display: fallback;\n}\n\n@font-face {\n font-family: 'RedHatText';\n src: url('./RedHatText/RedHatTextVF.woff2') format('woff2-variations');\n font-weight: 300 700;\n font-style: normal;\n font-display: fallback;\n}\n\n@font-face {\n font-family: 'RedHatText';\n src: url('./RedHatText/RedHatTextVF-Italic.woff2') format('woff2-variations');\n font-weight: 300 700;\n font-style: italic;\n font-display: fallback;\n}\n\n@font-face {\n font-family: 'RedHatMono';\n src: url('./RedHatMono/RedHatMonoVF.woff2') format('woff2-variations');\n font-weight: 300 700;\n font-style: normal;\n font-display: fallback;\n}\n\n@font-face {\n font-family: 'RedHatMono';\n src: url('./RedHatMono/RedHatMonoVF-Italic.woff2') format('woff2-variations');\n font-weight: 300 700;\n font-style: italic;\n font-display: fallback;\n}\n\npre,\ncode {\n font-family: 'RedHatMono', 'Liberation Mono', consolas, 'SFMono-Regular',\n menlo, monaco, 'Courier New', monospace;\n}\n";
4
4
  styleInject(css_248z);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@red-hat-developer-hub/backstage-plugin-theme",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Red Hat Developer Hub Theme",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,7 +28,8 @@
28
28
  "test": "backstage-cli package test",
29
29
  "clean": "backstage-cli package clean",
30
30
  "prepack": "backstage-cli package prepack",
31
- "postpack": "backstage-cli package postpack"
31
+ "postpack": "backstage-cli package postpack",
32
+ "prepublish": "./fix-style-inject-imports.sh"
32
33
  },
33
34
  "dependencies": {
34
35
  "@mui/material": "^5.0.0"