@zohodesk/components 1.0.0-alpha-225 → 1.0.0-alpha-226

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 (234) hide show
  1. package/README.md +4 -0
  2. package/es/ListItem/ListContainer.js +123 -0
  3. package/es/ListItem/ListItem.js +23 -31
  4. package/es/ListItem/ListItemWithAvatar.js +21 -27
  5. package/es/ListItem/ListItemWithCheckBox.js +23 -29
  6. package/es/ListItem/ListItemWithIcon.js +26 -26
  7. package/es/ListItem/ListItemWithRadio.js +24 -31
  8. package/lib/ListItem/ListContainer.js +132 -0
  9. package/lib/ListItem/ListItem.js +25 -32
  10. package/lib/ListItem/ListItemWithAvatar.js +23 -28
  11. package/lib/ListItem/ListItemWithCheckBox.js +24 -27
  12. package/lib/ListItem/ListItemWithIcon.js +27 -26
  13. package/lib/ListItem/ListItemWithRadio.js +26 -27
  14. package/package.json +3 -3
  15. package/README_Beta.md +0 -2
  16. package/__testUtils__/globals.js +0 -46
  17. package/__testUtils__/moduleMapKey.json +0 -138
  18. package/dubFinder.js +0 -96
  19. package/es/Accordion/docs/Accordion__Demo.docs.js +0 -80
  20. package/es/Animation/docs/Animation__default.docs.js +0 -34
  21. package/es/Animation/docs/Animation__fadeIn.docs.js +0 -34
  22. package/es/Animation/docs/Animation__scaleIn.docs.js +0 -34
  23. package/es/Animation/docs/Animation__skewIn.docs.js +0 -34
  24. package/es/Animation/docs/Animation__slideDown.docs.js +0 -34
  25. package/es/Animation/docs/Animation__slideLeft.docs.js +0 -34
  26. package/es/Animation/docs/Animation__zoomIn.docs.js +0 -34
  27. package/es/AppContainer/docs/AppContainer__default.docs.js +0 -20
  28. package/es/Avatar/docs/Avatar__custom.docs.js +0 -29
  29. package/es/Avatar/docs/Avatar__default.docs.js +0 -29
  30. package/es/Avatar/docs/Avatar__palette.docs.js +0 -49
  31. package/es/Avatar/docs/Avatar__text.docs.js +0 -28
  32. package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -73
  33. package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -31
  34. package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -50
  35. package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -49
  36. package/es/Button/docs/Button__custom.docs.js +0 -771
  37. package/es/Button/docs/Button__default.docs.js +0 -536
  38. package/es/Buttongroup/docs/Buttongroup__custom.docs.js +0 -37
  39. package/es/Buttongroup/docs/Buttongroup__footer.docs.js +0 -33
  40. package/es/Buttongroup/docs/Buttongroup__header.docs.js +0 -42
  41. package/es/Card/docs/Card__Custom.docs.js +0 -34
  42. package/es/Card/docs/Card__Default.docs.js +0 -37
  43. package/es/Card/docs/Card__Scroll.docs.js +0 -59
  44. package/es/CheckBox/docs/CheckBox__custom.docs.js +0 -293
  45. package/es/CheckBox/docs/CheckBox__default.docs.js +0 -219
  46. package/es/DateTime/docs/DateTime__default.docs.js +0 -91
  47. package/es/DateTime/docs/DateWidget__default.docs.js +0 -183
  48. package/es/DateTime/docs/timezonedata.json +0 -1
  49. package/es/DropBox/docs/DropBox__custom.docs.js +0 -66
  50. package/es/DropBox/docs/DropBox__customOrder.docs.js +0 -92
  51. package/es/DropBox/docs/DropBox__fixedPosition.docs.js +0 -91
  52. package/es/DropBox/docs/DropBox__position.docs.js +0 -87
  53. package/es/DropBox/docs/DropBox__size.docs.js +0 -61
  54. package/es/DropDown/docs/DropDownHeading__custom.docs.js +0 -23
  55. package/es/DropDown/docs/DropDownHeading__default.docs.js +0 -21
  56. package/es/Label/docs/Label__clipped.docs.js +0 -27
  57. package/es/Label/docs/Label__custom.docs.js +0 -30
  58. package/es/Label/docs/Label__palette.docs.js +0 -42
  59. package/es/Label/docs/Label__size.docs.js +0 -29
  60. package/es/Label/docs/Label__type.docs.js +0 -37
  61. package/es/Layout/docs/Layout__Hidden.docs.js +0 -77
  62. package/es/Layout/docs/Layout__default.docs.js +0 -49
  63. package/es/Layout/docs/Layout__four_Column.docs.js +0 -85
  64. package/es/Layout/docs/Layout__three_Column.docs.js +0 -76
  65. package/es/Layout/docs/Layout__two_Column.docs.js +0 -69
  66. package/es/LightNightMode/docs/AlternativeColors.docs.js +0 -74
  67. package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -155
  68. package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -112
  69. package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -91
  70. package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -65
  71. package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -68
  72. package/es/ListItem/docs/ListItemWithIcon__default.docs.js +0 -62
  73. package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -91
  74. package/es/ListItem/docs/ListItemWithRadio__default.docs.js +0 -65
  75. package/es/ListItem/docs/ListItem__custom.docs.js +0 -114
  76. package/es/ListItem/docs/ListItem__default.docs.js +0 -82
  77. package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -125
  78. package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -114
  79. package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -141
  80. package/es/MultiSelect/docs/MultiSelect__default.docs.js +0 -161
  81. package/es/PopOver/docs/PopOver__default.docs.js +0 -32
  82. package/es/Provider/docs/Provider_Id__Class.docs.js +0 -29
  83. package/es/Provider/docs/Provider_Id__Function.docs.js +0 -18
  84. package/es/Provider/docs/Provider_Zindex__Class.docs.js +0 -32
  85. package/es/Provider/docs/Provider_Zindex__Function.docs.js +0 -23
  86. package/es/Radio/docs/Radio__custom.docs.js +0 -245
  87. package/es/Radio/docs/Radio__default.docs.js +0 -169
  88. package/es/Responsive/docs/Responsive__Custom.docs.js +0 -206
  89. package/es/Responsive/docs/Responsive__default.docs.js +0 -97
  90. package/es/Responsive/docs/style.module.css +0 -56
  91. package/es/Ribbon/docs/Ribbon__custom.docs.js +0 -386
  92. package/es/Ribbon/docs/Ribbon__default.docs.js +0 -342
  93. package/es/RippleEffect/docs/RippleEffect__default.docs.js +0 -435
  94. package/es/Select/docs/GroupSelect__default.docs.js +0 -149
  95. package/es/Select/docs/SelectWithAvatar__default.docs.js +0 -97
  96. package/es/Select/docs/SelectWithIcon__default.docs.js +0 -138
  97. package/es/Select/docs/Select__default.docs.js +0 -288
  98. package/es/Stencils/docs/Stencils__custom.docs.js +0 -45
  99. package/es/Stencils/docs/Stencils__default.docs.js +0 -50
  100. package/es/Switch/docs/Switch__custom.docs.js +0 -153
  101. package/es/Switch/docs/Switch__default.docs.js +0 -107
  102. package/es/Tab/docs/Tab__default.docs.js +0 -258
  103. package/es/Tab/docs/tabdocs.module.css +0 -29
  104. package/es/Tag/docs/Tag__custom.docs.js +0 -368
  105. package/es/Tag/docs/Tag__default.docs.js +0 -253
  106. package/es/TextBox/docs/TextBox__custom.docs.js +0 -43
  107. package/es/TextBox/docs/TextBox__default.docs.js +0 -40
  108. package/es/TextBox/docs/TextBox__size.docs.js +0 -38
  109. package/es/TextBox/docs/TextBox__variant.docs.js +0 -38
  110. package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -89
  111. package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -61
  112. package/es/Textarea/docs/Textarea__animated.docs.js +0 -41
  113. package/es/Textarea/docs/Textarea__custom.docs.js +0 -82
  114. package/es/Textarea/docs/Textarea__default.docs.js +0 -76
  115. package/es/Textarea/docs/Textarea__disabled.docs.js +0 -29
  116. package/es/Tooltip/docs/Tooltip__default.docs.js +0 -332
  117. package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -97
  118. package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -150
  119. package/es/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -139
  120. package/es/beta/FocusRing/docs/FocusRing__default.docs.js +0 -48
  121. package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -72
  122. package/es/semantic/Button/docs/Button__default.docs.js +0 -20
  123. package/externalDocsBuild.js +0 -21
  124. package/lib/Accordion/docs/Accordion__Demo.docs.js +0 -126
  125. package/lib/Animation/docs/Animation__default.docs.js +0 -85
  126. package/lib/Animation/docs/Animation__fadeIn.docs.js +0 -85
  127. package/lib/Animation/docs/Animation__scaleIn.docs.js +0 -85
  128. package/lib/Animation/docs/Animation__skewIn.docs.js +0 -85
  129. package/lib/Animation/docs/Animation__slideDown.docs.js +0 -85
  130. package/lib/Animation/docs/Animation__slideLeft.docs.js +0 -85
  131. package/lib/Animation/docs/Animation__zoomIn.docs.js +0 -85
  132. package/lib/AppContainer/docs/AppContainer__default.docs.js +0 -70
  133. package/lib/Avatar/docs/Avatar__custom.docs.js +0 -87
  134. package/lib/Avatar/docs/Avatar__default.docs.js +0 -83
  135. package/lib/Avatar/docs/Avatar__palette.docs.js +0 -107
  136. package/lib/Avatar/docs/Avatar__text.docs.js +0 -86
  137. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -124
  138. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -82
  139. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -101
  140. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -100
  141. package/lib/Button/docs/Button__custom.docs.js +0 -826
  142. package/lib/Button/docs/Button__default.docs.js +0 -590
  143. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +0 -89
  144. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +0 -85
  145. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +0 -98
  146. package/lib/Card/docs/Card__Custom.docs.js +0 -90
  147. package/lib/Card/docs/Card__Default.docs.js +0 -92
  148. package/lib/Card/docs/Card__Scroll.docs.js +0 -114
  149. package/lib/CheckBox/docs/CheckBox__custom.docs.js +0 -348
  150. package/lib/CheckBox/docs/CheckBox__default.docs.js +0 -273
  151. package/lib/DateTime/docs/DateTime__default.docs.js +0 -142
  152. package/lib/DateTime/docs/DateWidget__default.docs.js +0 -240
  153. package/lib/DateTime/docs/timezonedata.json +0 -1
  154. package/lib/DropBox/docs/DropBox__custom.docs.js +0 -122
  155. package/lib/DropBox/docs/DropBox__customOrder.docs.js +0 -141
  156. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +0 -140
  157. package/lib/DropBox/docs/DropBox__position.docs.js +0 -142
  158. package/lib/DropBox/docs/DropBox__size.docs.js +0 -116
  159. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +0 -73
  160. package/lib/DropDown/docs/DropDownHeading__default.docs.js +0 -70
  161. package/lib/Label/docs/Label__clipped.docs.js +0 -81
  162. package/lib/Label/docs/Label__custom.docs.js +0 -85
  163. package/lib/Label/docs/Label__palette.docs.js +0 -96
  164. package/lib/Label/docs/Label__size.docs.js +0 -83
  165. package/lib/Label/docs/Label__type.docs.js +0 -91
  166. package/lib/Layout/docs/Layout__Hidden.docs.js +0 -127
  167. package/lib/Layout/docs/Layout__default.docs.js +0 -98
  168. package/lib/Layout/docs/Layout__four_Column.docs.js +0 -135
  169. package/lib/Layout/docs/Layout__three_Column.docs.js +0 -126
  170. package/lib/Layout/docs/Layout__two_Column.docs.js +0 -119
  171. package/lib/LightNightMode/docs/AlternativeColors.docs.js +0 -131
  172. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -206
  173. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -162
  174. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -142
  175. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -115
  176. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -119
  177. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +0 -112
  178. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -142
  179. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +0 -115
  180. package/lib/ListItem/docs/ListItem__custom.docs.js +0 -164
  181. package/lib/ListItem/docs/ListItem__default.docs.js +0 -131
  182. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -177
  183. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -165
  184. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -191
  185. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +0 -214
  186. package/lib/PopOver/docs/PopOver__default.docs.js +0 -86
  187. package/lib/Provider/docs/Provider_Id__Class.docs.js +0 -77
  188. package/lib/Provider/docs/Provider_Id__Function.docs.js +0 -29
  189. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +0 -80
  190. package/lib/Provider/docs/Provider_Zindex__Function.docs.js +0 -34
  191. package/lib/Radio/docs/Radio__custom.docs.js +0 -299
  192. package/lib/Radio/docs/Radio__default.docs.js +0 -222
  193. package/lib/Responsive/docs/Responsive__Custom.docs.js +0 -272
  194. package/lib/Responsive/docs/Responsive__default.docs.js +0 -142
  195. package/lib/Responsive/docs/style.module.css +0 -56
  196. package/lib/Ribbon/docs/Ribbon__custom.docs.js +0 -437
  197. package/lib/Ribbon/docs/Ribbon__default.docs.js +0 -392
  198. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +0 -484
  199. package/lib/Select/docs/GroupSelect__default.docs.js +0 -199
  200. package/lib/Select/docs/SelectWithAvatar__default.docs.js +0 -152
  201. package/lib/Select/docs/SelectWithIcon__default.docs.js +0 -190
  202. package/lib/Select/docs/Select__default.docs.js +0 -340
  203. package/lib/Stencils/docs/Stencils__custom.docs.js +0 -96
  204. package/lib/Stencils/docs/Stencils__default.docs.js +0 -101
  205. package/lib/Switch/docs/Switch__custom.docs.js +0 -203
  206. package/lib/Switch/docs/Switch__default.docs.js +0 -156
  207. package/lib/Tab/docs/Tab__default.docs.js +0 -308
  208. package/lib/Tab/docs/tabdocs.module.css +0 -29
  209. package/lib/Tag/docs/Tag__custom.docs.js +0 -423
  210. package/lib/Tag/docs/Tag__default.docs.js +0 -307
  211. package/lib/TextBox/docs/TextBox__custom.docs.js +0 -98
  212. package/lib/TextBox/docs/TextBox__default.docs.js +0 -95
  213. package/lib/TextBox/docs/TextBox__size.docs.js +0 -93
  214. package/lib/TextBox/docs/TextBox__variant.docs.js +0 -93
  215. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -145
  216. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -117
  217. package/lib/Textarea/docs/Textarea__animated.docs.js +0 -95
  218. package/lib/Textarea/docs/Textarea__custom.docs.js +0 -137
  219. package/lib/Textarea/docs/Textarea__default.docs.js +0 -130
  220. package/lib/Textarea/docs/Textarea__disabled.docs.js +0 -83
  221. package/lib/Tooltip/docs/Tooltip__default.docs.js +0 -391
  222. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -150
  223. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -206
  224. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -191
  225. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +0 -101
  226. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -145
  227. package/lib/semantic/Button/docs/Button__default.docs.js +0 -66
  228. package/preprocess/componentAppearanceColors.js +0 -67
  229. package/preprocess/componentThemeColors.js +0 -123
  230. package/preprocess/ctaThemeColors.js +0 -101
  231. package/preprocess/index.js +0 -3
  232. package/preprocess/json/componentAppearanceVariableJson.js +0 -1346
  233. package/preprocess/json/componentThemeVariableJson.js +0 -242
  234. package/preprocess/json/ctaThemeVariableJson.js +0 -203
package/dubFinder.js DELETED
@@ -1,96 +0,0 @@
1
- let fs = require('fs');
2
- let path = require('path');
3
- let result = {};
4
- let filesArray = 0;
5
- function listFiles(newPath) {
6
- let cwd = newPath ? newPath : process.cwd();
7
- try {
8
- let files = fs.readdirSync(cwd, { withFileTypes: true });
9
- files.map(file => {
10
- let fileName = file.name,
11
- filePath = file;
12
- if (!file.isDirectory) {
13
- filePath = fs.statSync(path.resolve(cwd, file));
14
- fileName = file;
15
- }
16
- if (filePath.isDirectory()) {
17
- if (
18
- fileName != 'node_modules' &&
19
- fileName != 'deskapp' &&
20
- fileName != '__testUtils__' &&
21
- fileName != 'efc-tutorial' &&
22
- fileName != 'mockapi' &&
23
- fileName != 'es' &&
24
- fileName != 'lib'
25
- ) {
26
- listFiles(path.resolve(cwd, fileName));
27
- }
28
- } else {
29
- if (fileName.substr(fileName.lastIndexOf('.') + 1) == 'css') {
30
- let lastIndex =
31
- fileName.indexOf('.module.css') != -1
32
- ? fileName.lastIndexOf('.module.css')
33
- : fileName.lastIndexOf('.css');
34
- let keyName = fileName.substring(0, lastIndex).toLowerCase();
35
- result[keyName] = result[keyName] ? result[keyName] : [];
36
- result[keyName].push(path.resolve(cwd, fileName));
37
- }
38
- }
39
- });
40
- } catch (e) {
41
- console.log('The error exception : ==>', e);
42
- }
43
- }
44
- // function listFiles(newPath) {
45
- // let cwd = newPath ? newPath : process.cwd();
46
- // fs.readdir(cwd, { withFileTypes: true }, (err, files) => {
47
- // files.map(file => {
48
-
49
- // // if (file.isDirectory()) {
50
- // // if (
51
- // // file.name != 'node_modules' &&
52
- // // file.name != 'deskapp' &&
53
- // // file.name != '__testUtils__' &&
54
- // // file.name != 'efc-tutorial' &&
55
- // // file.name != 'mockapi'
56
- // // ) {
57
- // // listFiles(path.resolve(cwd, file.name));
58
- // // }
59
- // // } else {
60
- // // if (file.name.substr(file.name.lastIndexOf('.') + 1) == 'css') {
61
- // // result[file.name] = result[file.name] ? result[file.name] : [];
62
- // // result[file.name].push(path.resolve(cwd, file.name));
63
- // // }
64
- // // }
65
- // });
66
- // });
67
- // }
68
- listFiles(process.cwd());
69
- let [, , ...extraPaths] = process.argv;
70
- extraPaths.map(pathWay => {
71
- listFiles(path.resolve(process.cwd(), pathWay));
72
- });
73
- console.log(
74
- '\x1b[33m%s\x1b[0m',
75
- '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \n '
76
- );
77
-
78
- console.log(
79
- '\x1b[5m\x1b[44m%s\x1b[0m',
80
- 'Finding Duplicate CSS Files Please Wait ...'
81
- );
82
-
83
- let print = false;
84
- Object.keys(result).map(val => {
85
- if (result[val].length > 1) {
86
- print = true;
87
- console.log('\x1b[31m', val, ' ==> ', result[val]);
88
- }
89
- });
90
- if (!print) {
91
- console.log('\x1b[31m', 'No Dublicates Found');
92
- }
93
- console.log(
94
- '\x1b[33m%s\x1b[0m',
95
- '\n \n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \n'
96
- );
@@ -1,80 +0,0 @@
1
- import React from 'react';
2
- import { Accordion, AccordionItem } from '../';
3
- import CodeExtract from '@zohodesk/docstool/lib/CodeExtractor/CodeExtractor';
4
- export default class Accordion__Demo extends React.Component {
5
- constructor(props) {
6
- super(props);
7
- }
8
-
9
- render() {
10
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(Accordion, {
11
- selectedItem: "1",
12
- onSelect: id => {
13
- 'selected id', id;
14
- },
15
- unMount: false
16
- }, /*#__PURE__*/React.createElement(AccordionItem, {
17
- id: "1"
18
- }, /*#__PURE__*/React.createElement("div", {
19
- key: "title",
20
- style: {
21
- padding: '10px',
22
- backgroundColor: '#ddd'
23
- }
24
- }, "Acc-1"), /*#__PURE__*/React.createElement("div", {
25
- key: "content",
26
- style: {
27
- padding: '80px 10px',
28
- backgroundColor: '#ddffee'
29
- }
30
- }, "Data1")), /*#__PURE__*/React.createElement(AccordionItem, {
31
- id: "2"
32
- }, /*#__PURE__*/React.createElement("div", {
33
- key: "title",
34
- style: {
35
- padding: '10px',
36
- backgroundColor: '#ddd'
37
- }
38
- }, "Acc-2"), /*#__PURE__*/React.createElement("div", {
39
- key: "content",
40
- style: {
41
- padding: '80px 10px',
42
- backgroundColor: '#ddffee'
43
- }
44
- }, "Data2")), /*#__PURE__*/React.createElement(AccordionItem, {
45
- id: "3",
46
- unMountItem: true
47
- }, /*#__PURE__*/React.createElement("div", {
48
- key: "title",
49
- style: {
50
- padding: '10px',
51
- backgroundColor: '#ddd'
52
- }
53
- }, "Acc-3"), /*#__PURE__*/React.createElement("div", {
54
- key: "content",
55
- style: {
56
- padding: '80px 10px',
57
- backgroundColor: '#ddffee'
58
- }
59
- }, "Data3")), /*#__PURE__*/React.createElement(AccordionItem, {
60
- id: "4"
61
- }, /*#__PURE__*/React.createElement("div", {
62
- key: "title",
63
- style: {
64
- padding: '10px',
65
- backgroundColor: '#ddd'
66
- }
67
- }, "Acc-4"), /*#__PURE__*/React.createElement("div", {
68
- key: "content",
69
- style: {
70
- padding: '80px 10px',
71
- backgroundColor: '#ddffee'
72
- }
73
- }, "Data4")))));
74
- }
75
-
76
- }
77
- Accordion__Demo.docs = {
78
- componentGroup: 'Animation',
79
- folderName: 'Style Guide'
80
- };
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import Animation from '../Animation';
3
- import { Container } from '../../Layout';
4
- import CodeExtract from '@zohodesk/docstool/lib/CodeExtractor/CodeExtractor';
5
- export default class Animation__default extends React.Component {
6
- render() {
7
- let styles = {
8
- width: '200px',
9
- height: '100px',
10
- background: 'var(--dot_black)',
11
- textAlign: 'center',
12
- color: 'var(--dot_white)',
13
- lineHeight: '100px'
14
- };
15
- return /*#__PURE__*/React.createElement(Container, {
16
- align: "both"
17
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(Animation, {
18
- name: "default",
19
- isActive: true
20
- }, /*#__PURE__*/React.createElement("div", {
21
- style: styles
22
- }, "Animation - Default"))));
23
- }
24
-
25
- }
26
-
27
- if (false) {
28
- Animation__default.docs = {
29
- componentGroup: 'Animation',
30
- folderName: 'Style Guide',
31
- external: true,
32
- description: ' '
33
- };
34
- }
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import Animation from '../Animation';
3
- import { Container } from '../../Layout';
4
- import CodeExtract from '@zohodesk/docstool/lib/CodeExtractor/CodeExtractor';
5
- export default class Animation__fadeIn extends React.Component {
6
- render() {
7
- let style = {
8
- width: '200px',
9
- height: '100px',
10
- background: 'var(--dot_black)',
11
- textAlign: 'center',
12
- color: 'var(--dot_white)',
13
- lineHeight: '100px'
14
- };
15
- return /*#__PURE__*/React.createElement(Container, {
16
- align: "both"
17
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(Animation, {
18
- name: "fadeIn",
19
- isActive: true
20
- }, /*#__PURE__*/React.createElement("div", {
21
- style: style
22
- }, "Animation - fadeIn"))));
23
- }
24
-
25
- }
26
-
27
- if (false) {
28
- Animation__fadeIn.docs = {
29
- componentGroup: 'Animation',
30
- folderName: 'Style Guide',
31
- external: true,
32
- description: ' '
33
- };
34
- }
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import Animation from '../Animation';
3
- import { Container } from '../../Layout';
4
- import CodeExtract from '@zohodesk/docstool/lib/CodeExtractor/CodeExtractor';
5
- export default class Animation__scaleIn extends React.Component {
6
- render() {
7
- let style = {
8
- width: '200px',
9
- height: '100px',
10
- background: 'var(--dot_black)',
11
- textAlign: 'center',
12
- color: 'var(--dot_white)',
13
- lineHeight: '100px'
14
- };
15
- return /*#__PURE__*/React.createElement(Container, {
16
- align: "both"
17
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(Animation, {
18
- name: "scaleIn",
19
- isActive: true
20
- }, /*#__PURE__*/React.createElement("div", {
21
- style: style
22
- }, "Animation - scaleIn"))));
23
- }
24
-
25
- }
26
-
27
- if (false) {
28
- Animation__scaleIn.docs = {
29
- componentGroup: 'Animation',
30
- folderName: 'Style Guide',
31
- external: true,
32
- description: ' '
33
- };
34
- }
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import Animation from '../Animation';
3
- import { Container } from '../../Layout';
4
- import CodeExtract from '@zohodesk/docstool/lib/CodeExtractor/CodeExtractor';
5
- export default class Animation__skewIn extends React.Component {
6
- render() {
7
- let style = {
8
- width: '200px',
9
- height: '100px',
10
- background: 'var(--dot_black)',
11
- textAlign: 'center',
12
- color: 'var(--dot_white)',
13
- lineHeight: '100px'
14
- };
15
- return /*#__PURE__*/React.createElement(Container, {
16
- align: "both"
17
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(Animation, {
18
- name: "skewIn",
19
- isActive: true
20
- }, /*#__PURE__*/React.createElement("div", {
21
- style: style
22
- }, "Animation - zoomIn "))));
23
- }
24
-
25
- }
26
-
27
- if (false) {
28
- Animation__skewIn.docs = {
29
- componentGroup: 'Animation',
30
- folderName: 'Style Guide',
31
- external: true,
32
- description: ' '
33
- };
34
- }
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import Animation from '../Animation';
3
- import { Container } from '../../Layout';
4
- import CodeExtract from '@zohodesk/docstool/lib/CodeExtractor/CodeExtractor';
5
- export default class Animation__slideDown extends React.Component {
6
- render() {
7
- let style = {
8
- width: '200px',
9
- height: '100px',
10
- background: 'var(--dot_black)',
11
- textAlign: 'center',
12
- color: 'var(--dot_white)',
13
- lineHeight: '100px'
14
- };
15
- return /*#__PURE__*/React.createElement(Container, {
16
- align: "both"
17
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(Animation, {
18
- name: "slideDown",
19
- isActive: true
20
- }, /*#__PURE__*/React.createElement("div", {
21
- style: style
22
- }, "Animation - slideDown"))));
23
- }
24
-
25
- }
26
-
27
- if (false) {
28
- Animation__slideDown.docs = {
29
- componentGroup: 'Animation',
30
- folderName: 'Style Guide',
31
- external: true,
32
- description: ' '
33
- };
34
- }
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import Animation from '../Animation';
3
- import { Container } from '../../Layout';
4
- import CodeExtract from '@zohodesk/docstool/lib/CodeExtractor/CodeExtractor';
5
- export default class Animation__slideLeft extends React.Component {
6
- render() {
7
- let style = {
8
- width: '200px',
9
- height: '100px',
10
- background: 'var(--dot_black)',
11
- textAlign: 'center',
12
- color: 'var(--dot_white)',
13
- lineHeight: '100px'
14
- };
15
- return /*#__PURE__*/React.createElement(Container, {
16
- align: "both"
17
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(Animation, {
18
- name: "slideLeft",
19
- isActive: true
20
- }, /*#__PURE__*/React.createElement("div", {
21
- style: style
22
- }, "Animation - slideLeft"))));
23
- }
24
-
25
- }
26
-
27
- if (false) {
28
- Animation__slideLeft.docs = {
29
- componentGroup: 'Animation',
30
- folderName: 'Style Guide',
31
- external: true,
32
- description: ' '
33
- };
34
- }
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import Animation from '../Animation';
3
- import { Container } from '../../Layout';
4
- import CodeExtract from '@zohodesk/docstool/lib/CodeExtractor/CodeExtractor';
5
- export default class Animation__zoomIn extends React.Component {
6
- render() {
7
- let style = {
8
- width: '200px',
9
- height: '100px',
10
- background: 'var(--dot_black)',
11
- textAlign: 'center',
12
- color: 'var(--dot_white)',
13
- lineHeight: '100px'
14
- };
15
- return /*#__PURE__*/React.createElement(Container, {
16
- align: "both"
17
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(Animation, {
18
- name: "zoomIn",
19
- isActive: true
20
- }, /*#__PURE__*/React.createElement("div", {
21
- style: style
22
- }, "Animation - zoomIn "))));
23
- }
24
-
25
- }
26
-
27
- if (false) {
28
- Animation__zoomIn.docs = {
29
- componentGroup: 'Animation',
30
- folderName: 'Style Guide',
31
- external: true,
32
- description: ' '
33
- };
34
- }
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import AppContainer from '../AppContainer';
3
- import CodeExtract from '@zohodesk/docstool/lib/CodeExtractor/CodeExtractor';
4
- export default class AppContainer__default extends React.Component {
5
- render() {
6
- return /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(AppContainer, {
7
- tagName: "app"
8
- }, /*#__PURE__*/React.createElement("span", {
9
- "data-title": "appcontainer"
10
- }, "Application Container")));
11
- }
12
-
13
- }
14
-
15
- if (false) {
16
- AppContainer__default.docs = {
17
- componentGroup: 'Template',
18
- folderName: 'Style Guide'
19
- };
20
- }
@@ -1,29 +0,0 @@
1
- import React, { Component } from 'react';
2
- import Avatar from '../Avatar';
3
- import style from '../../common/docStyle.module.css';
4
- export default class Avatar__custom extends Component {
5
- render() {
6
- let sizes = ['small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge'],
7
- shapes = ['circle'];
8
- return /*#__PURE__*/React.createElement("div", null, shapes.map(shape => /*#__PURE__*/React.createElement("div", {
9
- key: shape
10
- }, sizes.map(size => /*#__PURE__*/React.createElement("span", {
11
- className: `${style.docspan} ${style.vtop}`,
12
- key: size
13
- }, /*#__PURE__*/React.createElement(Avatar, {
14
- name: "Bharathikannan",
15
- size: size,
16
- shape: shape,
17
- customClass: style.customAvatar
18
- }))))));
19
- }
20
-
21
- }
22
-
23
- if (false) {
24
- Avatar__custom.docs = {
25
- componentGroup: 'Avatar Group',
26
- folderName: 'Style Guide',
27
- description: ' '
28
- };
29
- }
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import Avatar from '../Avatar';
3
- import style from '../../common/docStyle.module.css';
4
- export default class Avatar__default extends React.Component {
5
- render() {
6
- let sizes = ['small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge'],
7
- shapes = ['circle', 'square'];
8
- return /*#__PURE__*/React.createElement("div", null, shapes.map(shape => /*#__PURE__*/React.createElement("div", {
9
- key: shape
10
- }, sizes.map(size => /*#__PURE__*/React.createElement("span", {
11
- className: `${style.docspan} ${style.vtop}`,
12
- key: size
13
- }, /*#__PURE__*/React.createElement(Avatar, {
14
- name: "Avatar",
15
- src: "https://hjemly.dk/wp-content/uploads/2016/05/facebook-default-no-profile-pic.jpg",
16
- size: size,
17
- shape: shape
18
- }))))));
19
- }
20
-
21
- }
22
-
23
- if (false) {
24
- Avatar__default.docs = {
25
- componentGroup: 'Avatar Group',
26
- folderName: 'Style Guide',
27
- description: ' '
28
- };
29
- }
@@ -1,49 +0,0 @@
1
- import React, { Component } from 'react';
2
- import Avatar from '../Avatar';
3
- import style from '../../common/docStyle.module.css';
4
- export default class Avatar__palette extends Component {
5
- render() {
6
- let shapes = ['circle', 'square'],
7
- palettes = ['primary', 'secondary', 'info'];
8
- return /*#__PURE__*/React.createElement("div", null, palettes.map(palette => /*#__PURE__*/React.createElement("div", {
9
- key: palette
10
- }, shapes.map(shape => /*#__PURE__*/React.createElement("span", {
11
- className: `${style.docspan} ${style.vtop}`,
12
- key: shape
13
- }, /*#__PURE__*/React.createElement(Avatar, {
14
- name: "Bharathikannan",
15
- size: "medium",
16
- palette: palette,
17
- shape: shape
18
- }))))), /*#__PURE__*/React.createElement("span", {
19
- style: {
20
- background: '#2C334D',
21
- padding: '10px'
22
- }
23
- }, /*#__PURE__*/React.createElement(Avatar, {
24
- name: "Bharathikannan",
25
- size: "medium",
26
- palette: "info",
27
- textPalette: "white"
28
- })), /*#__PURE__*/React.createElement("span", {
29
- style: {
30
- background: '#C8CBDC',
31
- padding: '10px'
32
- }
33
- }, /*#__PURE__*/React.createElement(Avatar, {
34
- name: "Bharathikannan",
35
- size: "medium",
36
- palette: "info",
37
- textPalette: "black"
38
- })));
39
- }
40
-
41
- }
42
-
43
- if (false) {
44
- Avatar__palette.docs = {
45
- componentGroup: 'Avatar Group',
46
- folderName: 'Style Guide',
47
- description: ' '
48
- };
49
- }
@@ -1,28 +0,0 @@
1
- import React, { Component } from 'react';
2
- import Avatar from '../Avatar';
3
- import style from '../../common/docStyle.module.css';
4
- export default class Avatar__text extends Component {
5
- render() {
6
- let sizes = ['small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge'],
7
- shapes = ['circle', 'square'];
8
- return /*#__PURE__*/React.createElement("div", null, shapes.map(shape => /*#__PURE__*/React.createElement("div", {
9
- key: shape
10
- }, sizes.map(size => /*#__PURE__*/React.createElement("span", {
11
- className: `${style.docspan} ${style.vtop}`,
12
- key: size
13
- }, /*#__PURE__*/React.createElement(Avatar, {
14
- name: "Bharathikannan",
15
- size: size,
16
- shape: shape
17
- }))))));
18
- }
19
-
20
- }
21
-
22
- if (false) {
23
- Avatar__text.docs = {
24
- componentGroup: 'Avatar Group',
25
- folderName: 'Style Guide',
26
- description: ' '
27
- };
28
- }
@@ -1,73 +0,0 @@
1
- import React from 'react';
2
- import AvatarTeam from '../AvatarTeam';
3
- import style from '../../common/docStyle.module.css';
4
- import CodeExtract from '@zohodesk/docstool/lib/CodeExtractor/CodeExtractor';
5
- export default class AvatarTeam__custom extends React.Component {
6
- render() {
7
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
8
- className: `${style.docspan} ${style.vtop}`
9
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(AvatarTeam, {
10
- name: "Bharathikannan",
11
- size: "small",
12
- customClass: {
13
- customAvatar: style.avatar,
14
- customAvatarTeam: style.avatarTeam
15
- }
16
- }))), /*#__PURE__*/React.createElement("span", {
17
- className: `${style.docspan} ${style.vtop}`
18
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(AvatarTeam, {
19
- name: "Bharathikannan",
20
- size: "xsmall",
21
- customClass: {
22
- customAvatar: style.avatar,
23
- customAvatarTeam: style.avatarTeam
24
- }
25
- }))), /*#__PURE__*/React.createElement("span", {
26
- className: `${style.docspan} ${style.vtop}`
27
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(AvatarTeam, {
28
- name: "Bharathikannan",
29
- size: "medium",
30
- customClass: {
31
- customAvatar: style.avatar,
32
- customAvatarTeam: style.avatarTeam
33
- }
34
- }))), /*#__PURE__*/React.createElement("span", {
35
- className: `${style.docspan} ${style.vtop}`
36
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(AvatarTeam, {
37
- name: "Bharathikannan",
38
- size: "xmedium",
39
- customClass: {
40
- customAvatar: style.avatar,
41
- customAvatarTeam: style.avatarTeam
42
- }
43
- }))), /*#__PURE__*/React.createElement("span", {
44
- className: `${style.docspan} ${style.vtop}`
45
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(AvatarTeam, {
46
- name: "Bharathikannan",
47
- size: "large",
48
- customClass: {
49
- customAvatar: style.avatar,
50
- customAvatarTeam: style.avatarTeam
51
- }
52
- }))), /*#__PURE__*/React.createElement("span", {
53
- className: `${style.docspan} ${style.vtop}`
54
- }, /*#__PURE__*/React.createElement(CodeExtract, null, /*#__PURE__*/React.createElement(AvatarTeam, {
55
- name: "Bharathikannan",
56
- size: "xlarge",
57
- customClass: {
58
- customAvatar: style.avatar,
59
- customAvatarTeam: style.avatarTeam
60
- }
61
- })))));
62
- }
63
-
64
- }
65
-
66
- if (false) {
67
- AvatarTeam__custom.docs = {
68
- componentGroup: 'Avatar Group',
69
- folderName: 'Style Guide',
70
- external: true,
71
- description: ' '
72
- };
73
- }