@monolith-forensics/monolith-ui 2.0.0 → 2.1.0

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.
@@ -5,6 +5,7 @@ declare enum Fonts {
5
5
  TIMES_NEW_ROMAN = "Times New Roman",
6
6
  SEGOE_UI = "Segoe UI",
7
7
  ROBOTO = "Roboto",
8
- VERANDA = "Veranda"
8
+ VERDANA = "Verdana",
9
+ CAMBRIA = "Cambria"
9
10
  }
10
11
  export default Fonts;
@@ -6,6 +6,7 @@ var Fonts;
6
6
  Fonts["TIMES_NEW_ROMAN"] = "Times New Roman";
7
7
  Fonts["SEGOE_UI"] = "Segoe UI";
8
8
  Fonts["ROBOTO"] = "Roboto";
9
- Fonts["VERANDA"] = "Veranda";
9
+ Fonts["VERDANA"] = "Verdana";
10
+ Fonts["CAMBRIA"] = "Cambria";
10
11
  })(Fonts || (Fonts = {}));
11
12
  export default Fonts;
@@ -324,6 +324,10 @@ const StyledContent = styled.div `
324
324
  font-family: Roboto, sans-serif;
325
325
  }
326
326
 
327
+ .editor-content[data-font="Cambria"] {
328
+ font-family: Cambria, Georgia, "Times New Roman", serif;
329
+ }
330
+
327
331
  .ProseMirror {
328
332
  font-size: 14px;
329
333
  font-weight: 400;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",