@zohodesk/dot 1.7.25 → 1.8.1

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.
Files changed (70) hide show
  1. package/README.md +9 -0
  2. package/es/ActionButton/ActionButton.module.css +1 -1
  3. package/es/AlphabeticList/AlphabeticList.module.css +1 -1
  4. package/es/AudioPlayer/AudioPlayer.module.css +1 -1
  5. package/es/DotProvider/hooks/useDotProvider.js +1 -0
  6. package/es/Drawer/Drawer.module.css +1 -1
  7. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +1 -1
  8. package/es/emptystate/EditionPage/EditionPage.css +2 -2
  9. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
  10. package/es/form/fields/CurrencyField/__tests__/__snapshots__/CurrencyField.spec.js.snap +1 -6
  11. package/es/form/fields/DateField/__tests__/__snapshots__/DateField.spec.js.snap +1 -6
  12. package/es/form/fields/MultiSelectField/__tests__/__snapshots__/MultiSelectField.spec.js.snap +1 -3
  13. package/es/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -6
  14. package/es/form/fields/SelectField/__tests__/__snapshots__/SelectField.spec.js.snap +1 -6
  15. package/es/form/fields/TagsMultiSelect/__tests__/__snapshots__/TagsMultiSelect.spec.js.snap +1 -3
  16. package/es/form/fields/TagsMultiSelectField/__tests__/__snapshots__/TagsMultiSelectField.spec.js.snap +1 -3
  17. package/es/form/fields/TextBoxField/__tests__/__snapshots__/TextBoxField.spec.js.snap +1 -6
  18. package/es/form/fields/TextEditor/TextEditor.js +2 -1
  19. package/es/form/fields/TextEditor/TextEditor.module.css +2 -2
  20. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +1 -1
  21. package/es/list/SecondaryText/PhoneNumber.js +2 -2
  22. package/es/list/SecondaryText/SecondaryText.module.css +11 -7
  23. package/es/list/SecondaryText/__tests__/__snapshots__/PhoneNumber.spec.js.snap +1 -1
  24. package/es/list/Subject/Subject.module.css +3 -3
  25. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +4 -2
  26. package/es/lookup/header/Search/__tests__/__snapshots__/Search.spec.js.snap +6 -18
  27. package/es/lookup/header/Title/LookupTitle.module.css +7 -3
  28. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +13 -2
  29. package/es/setup/header/Search/Search.module.css +1 -1
  30. package/es/v1/form/fields/TextEditor/TextEditor.js +2 -1
  31. package/es/version2/GlobalNotification/GlobalNotification.module.css +3 -2
  32. package/es/version2/errorstate/V2_ErrorStates.module.css +1 -1
  33. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +9 -3
  34. package/es/version2/lookup/alertLookupCommonNew.module.css +1 -1
  35. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
  36. package/lib/ActionButton/ActionButton.module.css +1 -1
  37. package/lib/AlphabeticList/AlphabeticList.module.css +1 -1
  38. package/lib/AudioPlayer/AudioPlayer.module.css +1 -1
  39. package/lib/DotProvider/hooks/useDotProvider.js +2 -0
  40. package/lib/Drawer/Drawer.module.css +1 -1
  41. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +1 -1
  42. package/lib/emptystate/EditionPage/EditionPage.css +2 -2
  43. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
  44. package/lib/form/fields/CurrencyField/__tests__/__snapshots__/CurrencyField.spec.js.snap +1 -6
  45. package/lib/form/fields/DateField/__tests__/__snapshots__/DateField.spec.js.snap +1 -6
  46. package/lib/form/fields/MultiSelectField/__tests__/__snapshots__/MultiSelectField.spec.js.snap +1 -3
  47. package/lib/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -6
  48. package/lib/form/fields/SelectField/__tests__/__snapshots__/SelectField.spec.js.snap +1 -6
  49. package/lib/form/fields/TagsMultiSelect/__tests__/__snapshots__/TagsMultiSelect.spec.js.snap +1 -3
  50. package/lib/form/fields/TagsMultiSelectField/__tests__/__snapshots__/TagsMultiSelectField.spec.js.snap +1 -3
  51. package/lib/form/fields/TextBoxField/__tests__/__snapshots__/TextBoxField.spec.js.snap +1 -6
  52. package/lib/form/fields/TextEditor/TextEditor.js +1 -1
  53. package/lib/form/fields/TextEditor/TextEditor.module.css +2 -2
  54. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +1 -1
  55. package/lib/list/SecondaryText/PhoneNumber.js +2 -2
  56. package/lib/list/SecondaryText/SecondaryText.module.css +11 -7
  57. package/lib/list/SecondaryText/__tests__/__snapshots__/PhoneNumber.spec.js.snap +1 -1
  58. package/lib/list/Subject/Subject.module.css +3 -3
  59. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +4 -2
  60. package/lib/lookup/header/Search/__tests__/__snapshots__/Search.spec.js.snap +6 -18
  61. package/lib/lookup/header/Title/LookupTitle.module.css +7 -3
  62. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +13 -2
  63. package/lib/setup/header/Search/Search.module.css +1 -1
  64. package/lib/v1/form/fields/TextEditor/TextEditor.js +1 -1
  65. package/lib/version2/GlobalNotification/GlobalNotification.module.css +3 -2
  66. package/lib/version2/errorstate/V2_ErrorStates.module.css +1 -1
  67. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +9 -3
  68. package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -1
  69. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
  70. package/package.json +11 -11
@@ -290,7 +290,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
290
290
  var customStyleTag = document.createElement('style');
291
291
  customStyleTag.type = 'text/css';
292
292
  var customizedCSS = "pre {white-space: pre-wrap} ".concat(customCSS);
293
- var fontCSS = "@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')}";
293
+ var fontCSS = "@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: 400;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: swap;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}\n @font-face {font-family: 'ZohoPuvi';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/4.0/Zoho_Puvi_Regular.woff2') format('woff2');font-style: normal;font-weight: 400;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: ZDLato;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: 'Roboto';font-weight: 400;font-style: normal;font-display: swap;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}";
294
294
  customStyleTag.textContent = "".concat(customizedCSS, " ").concat(fontCSS);
295
295
  iframeHead.appendChild(customStyleTag);
296
296
  }
@@ -126,7 +126,8 @@
126
126
  --globalnotification_text_color: var(--zdt_globalnotification_info_text);
127
127
  }
128
128
 
129
- .danger,.error {
129
+ .danger,
130
+ .error {
130
131
  --commonalert_border_color: var(--zdt_commonalert_danger_border);
131
132
  --globalnotification_bg_color: var(--zdt_globalnotification_danger_bg);
132
133
  --globalnotification_text_color: var(--zdt_globalnotification_danger_text);
@@ -148,7 +149,7 @@
148
149
 
149
150
  .text {
150
151
  font-size: var(--zd_font_size14) ;
151
- font-family: var(--zd_semibold);
152
+ font-weight: var(--zd-fw-semibold);
152
153
  composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
153
154
  line-height: 1.4286;
154
155
  overflow: hidden;
@@ -5,7 +5,7 @@
5
5
  margin-top: var(--zd_size15) ;
6
6
  }
7
7
  .title {
8
- font-family: var(--zd_bold);
8
+ font-weight: var(--zd-fw-bold);
9
9
  }
10
10
  .desc {
11
11
  line-height: 1.5714;
@@ -1,6 +1,7 @@
1
1
  .varClass {
2
2
  --commonalert_border_color: var(--zdt_commonalert_default_border);
3
3
  }
4
+
4
5
  .container {
5
6
  composes: varClass;
6
7
  position: relative;
@@ -9,12 +10,15 @@
9
10
  border-color: var(--commonalert_border_color);
10
11
  border-width: 2px 0 0 0;
11
12
  }
13
+
12
14
  .headerLayout {
13
15
  min-height: var(--zd_size54) ;
14
16
  }
17
+
15
18
  [dir=ltr] .headerLayout {
16
19
  padding: var(--zd_size15) var(--zd_size45) 0 var(--zd_size20) ;
17
20
  }
21
+
18
22
  [dir=rtl] .headerLayout {
19
23
  padding: var(--zd_size15) var(--zd_size20) 0 var(--zd_size45) ;
20
24
  }
@@ -23,11 +27,13 @@
23
27
  --commonalert_border_color: var(--zdt_commonalert_success_border);
24
28
  }
25
29
 
26
- .info,.notification {
30
+ .info,
31
+ .notification {
27
32
  --commonalert_border_color: var(--zdt_commonalert_info_border);
28
33
  }
29
34
 
30
- .danger,.error {
35
+ .danger,
36
+ .error {
31
37
  --commonalert_border_color: var(--zdt_commonalert_danger_border);
32
38
  }
33
39
 
@@ -52,7 +58,7 @@
52
58
  color: var(--zdt_alertlookupnew_text);
53
59
  font-size: var(--zd_font_size18) ;
54
60
  line-height: 1.2222;
55
- font-family: var(--zd_bold);
61
+ font-weight: var(--zd-fw-bold);
56
62
  composes: ftsmooth wbreak from '~@zohodesk/components/es/common/common.module.css';
57
63
  vertical-align: middle;
58
64
  cursor: default;
@@ -14,7 +14,7 @@
14
14
 
15
15
  .noteTitle {
16
16
  font-size: var(--zd_font_size13) ;
17
- font-family: var(--zd_semibold);
17
+ font-weight: var(--zd-fw-semibold);
18
18
  composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
19
19
  }
20
20
 
@@ -36,7 +36,8 @@
36
36
  .large {
37
37
  width: var(--zd_size580) ;
38
38
  }
39
- .tapWidth{
39
+
40
+ .tapWidth {
40
41
  max-width: 100% ;
41
42
  min-width: 100% ;
42
43
  }
@@ -109,7 +110,7 @@
109
110
  .subTitle {
110
111
  font-size: var(--zd_font_size15) ;
111
112
  line-height: 1.3333;
112
- font-family: var(--zd_semibold);
113
+ font-weight: var(--zd-fw-semibold);
113
114
  composes: ftsmooth wbreak from '~@zohodesk/components/es/common/common.module.css';
114
115
  }
115
116
 
@@ -130,4 +131,4 @@
130
131
  .footer {
131
132
  overflow: hidden;
132
133
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
133
- }
134
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.7.25",
3
+ "version": "1.8.1",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -73,13 +73,13 @@
73
73
  "@zohodesk-private/node-plugins": "1.1.13",
74
74
  "@zohodesk-private/react-prop-validator": "1.2.3",
75
75
  "@zohodesk/a11y": "2.3.8",
76
- "@zohodesk/components": "1.4.19",
77
- "@zohodesk/hooks": "2.0.5",
78
- "@zohodesk/icons": "1.1.0",
76
+ "@zohodesk/components": "1.5.1",
77
+ "@zohodesk/hooks": "2.0.6",
78
+ "@zohodesk/icons": "1.1.3",
79
79
  "@zohodesk/layout": "^3.1.0",
80
- "@zohodesk/svg": "1.2.2",
80
+ "@zohodesk/svg": "1.2.3",
81
81
  "@zohodesk/utils": "1.3.15",
82
- "@zohodesk/variables": "1.1.0",
82
+ "@zohodesk/variables": "1.2.0",
83
83
  "@zohodesk/virtualizer": "1.0.13",
84
84
  "react-sortable-hoc": "^0.8.3",
85
85
  "velocity-react": "1.4.3",
@@ -88,13 +88,13 @@
88
88
  },
89
89
  "peerDependencies": {
90
90
  "velocity-react": "1.4.3",
91
- "@zohodesk/variables": "1.1.0",
92
- "@zohodesk/components": "1.4.19",
93
- "@zohodesk/icons": "1.1.0",
94
- "@zohodesk/svg": "1.2.2",
91
+ "@zohodesk/variables": "1.2.0",
92
+ "@zohodesk/components": "1.5.1",
93
+ "@zohodesk/icons": "1.1.3",
94
+ "@zohodesk/svg": "1.2.3",
95
95
  "@zohodesk/virtualizer": "1.0.13",
96
96
  "react-sortable-hoc": "^0.8.3",
97
- "@zohodesk/hooks": "2.0.5",
97
+ "@zohodesk/hooks": "2.0.6",
98
98
  "@zohodesk/utils": "1.3.15",
99
99
  "@zohodesk/a11y": "2.3.8",
100
100
  "@zohodesk/layout": "3.1.0"