@zohodesk/dot 1.0.0-beta.194 → 1.0.0-beta.198

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/README.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  In this Library we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.0.0-beta.198
6
+
7
+ - TextEditor => default font changed to Lato
8
+
9
+ # 1.0.0-beta.196, 197
10
+
11
+ - TextEditor => default font changed to Arial
12
+
13
+ # 1.0.0-beta.195
14
+
15
+ - Messagebanner => FontSize Fixed
16
+ - TextEditor => PuviFont Version Updated
5
17
  # 1.0.0-beta.194
6
18
 
7
19
  - CommonEmptyState missing dark palette variables moved under Themes folder files
@@ -6,7 +6,6 @@
6
6
  .message {
7
7
  color: var(--zdt_messagebanner_text);
8
8
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
9
- font-size: var(--zd_font_size14);
10
9
  padding: var(--zd_size10) 0;
11
10
  }
12
11
  [dir=ltr] .message {
@@ -24,6 +23,7 @@
24
23
  [dir=rtl] .link {
25
24
  margin-right: var(--zd_size5);
26
25
  }
26
+ .message,.link{font-size: var(--zd_font_size14);}
27
27
  .close {
28
28
  color: var(--zdt_messagebanner_close_text);
29
29
  cursor: pointer;
@@ -238,7 +238,7 @@ export default class TextEditor extends Component {
238
238
  }
239
239
 
240
240
  let customFonts = document.createElement('style');
241
- customFonts.innerText = `@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/3.5/zoho_puvi_regular.woff2') format('woff2');font-style: normal;font-weight: normal;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: Regular;src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap}@font-face {font-family: 'RobotoRegular';font-weight: 400;font-style: normal;font-display: swa;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}`;
241
+ customFonts.innerText = `@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/4.0/Zoho_Puvi_Regular.woff2') format('woff2');font-style: normal;font-weight: normal;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: Regular;src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap}@font-face {font-family: 'RobotoRegular';font-weight: 400;font-style: normal;font-display: swa;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}`;
242
242
  iframeHead.appendChild(customFonts);
243
243
  }
244
244
  }
@@ -6,7 +6,6 @@
6
6
  .message {
7
7
  color: var(--zdt_messagebanner_text);
8
8
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
9
- font-size: var(--zd_font_size14);
10
9
  padding: var(--zd_size10) 0;
11
10
  }
12
11
  [dir=ltr] .message {
@@ -24,6 +23,7 @@
24
23
  [dir=rtl] .link {
25
24
  margin-right: var(--zd_size5);
26
25
  }
26
+ .message,.link{font-size: var(--zd_font_size14);}
27
27
  .close {
28
28
  color: var(--zdt_messagebanner_close_text);
29
29
  cursor: pointer;
@@ -285,7 +285,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
285
285
  }
286
286
 
287
287
  var customFonts = document.createElement('style');
288
- customFonts.innerText = "@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/3.5/zoho_puvi_regular.woff2') format('woff2');font-style: normal;font-weight: normal;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: Regular;src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap}@font-face {font-family: 'RobotoRegular';font-weight: 400;font-style: normal;font-display: swa;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}";
288
+ customFonts.innerText = "@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/4.0/Zoho_Puvi_Regular.woff2') format('woff2');font-style: normal;font-weight: normal;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: Regular;src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap}@font-face {font-family: 'RobotoRegular';font-weight: 400;font-style: normal;font-display: swa;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}";
289
289
  iframeHead.appendChild(customFonts);
290
290
  }
291
291
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-beta.194",
3
+ "version": "1.0.0-beta.198",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",
@@ -10,12 +10,12 @@
10
10
  color: var(--zdt_messagebanner_text);
11
11
  margin-left: var(--zd_size10);
12
12
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
13
- font-size: var(--zd_font_size14);
14
13
  }
15
14
  .link {
16
15
  color: var(--zdt_messagebanner_link_text);
17
16
  margin-left: var(--zd_size5);
18
17
  }
18
+ .message,.link{font-size: var(--zd_font_size14);}
19
19
  .close {
20
20
  color: var(--zdt_messagebanner_close_text);
21
21
  cursor: pointer;
@@ -228,7 +228,7 @@ export default class TextEditor extends Component {
228
228
  }
229
229
 
230
230
  let customFonts= document.createElement('style');
231
- customFonts.innerText= `@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/3.5/zoho_puvi_regular.woff2') format('woff2');font-style: normal;font-weight: normal;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: Regular;src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap}@font-face {font-family: 'RobotoRegular';font-weight: 400;font-style: normal;font-display: swa;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}`
231
+ customFonts.innerText= `@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/4.0/Zoho_Puvi_Regular.woff2') format('woff2');font-style: normal;font-weight: normal;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: Regular;src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap}@font-face {font-family: 'RobotoRegular';font-weight: 400;font-style: normal;font-display: swa;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}`
232
232
  iframeHead.appendChild(customFonts);
233
233
  }
234
234
  }