@zohodesk/components 1.0.0-alpha-260 → 1.0.0-alpha-262

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 (92) hide show
  1. package/README.md +16 -0
  2. package/es/DateTime/DateTimePopupHeader.js +1 -1
  3. package/es/DateTime/DateWidget.js +1 -1
  4. package/es/DateTime/YearView.js +1 -1
  5. package/es/DateTime/index.js +1 -1
  6. package/es/DropBox/DropBox.module.css +0 -1
  7. package/es/DropDown/index.js +7 -0
  8. package/es/Layout/index.js +9 -9
  9. package/es/ListItem/ListItem.js +4 -3
  10. package/es/ListItem/ListItem.module.css +5 -0
  11. package/es/ListItem/ListItemWithAvatar.js +4 -3
  12. package/es/ListItem/ListItemWithCheckBox.js +3 -2
  13. package/es/ListItem/ListItemWithIcon.js +4 -3
  14. package/es/ListItem/ListItemWithRadio.js +3 -2
  15. package/es/ListItem/index.js +6 -0
  16. package/es/ListItem/props/defaultProps.js +12 -6
  17. package/es/ListItem/props/propTypes.js +7 -1
  18. package/es/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
  19. package/es/MultiSelect/AdvancedMultiSelect.js +1 -1
  20. package/es/MultiSelect/MultiSelect.js +19 -6
  21. package/es/MultiSelect/MultiSelectWithAvatar.js +19 -6
  22. package/es/MultiSelect/index.js +4 -0
  23. package/es/MultiSelect/props/defaultProps.js +5 -2
  24. package/es/MultiSelect/props/propTypes.js +7 -1
  25. package/es/PopOver/index.js +3 -0
  26. package/es/Provider/IdProvider.js +8 -7
  27. package/es/Provider/index.js +4 -0
  28. package/es/Responsive/index.js +11 -8
  29. package/es/Select/GroupSelect.js +1 -1
  30. package/es/Select/Select.js +1 -1
  31. package/es/Select/SelectWithIcon.js +1 -1
  32. package/es/Select/index.js +4 -0
  33. package/es/Tab/Tab.module.css +0 -1
  34. package/es/Tab/Tabs.js +1 -1
  35. package/es/Tab/Tabs.module.css +0 -1
  36. package/es/Tag/Tag.js +1 -1
  37. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  38. package/es/VelocityAnimation/index.js +2 -0
  39. package/es/index.js +30 -146
  40. package/es/semantic/index.js +1 -0
  41. package/es/utils/Common.js +0 -1
  42. package/es/utils/css/compileClassNames.js +23 -0
  43. package/es/utils/css/mergeStyle.js +42 -0
  44. package/es/utils/css/utils.js +23 -0
  45. package/es/utils/dropDownUtils.js +3 -2
  46. package/es/utils/index.js +3 -0
  47. package/lib/DateTime/DateTimePopupHeader.js +4 -4
  48. package/lib/DateTime/DateWidget.js +2 -2
  49. package/lib/DateTime/YearView.js +2 -2
  50. package/lib/DateTime/index.js +1 -1
  51. package/lib/DropBox/DropBox.module.css +0 -1
  52. package/lib/DropDown/index.js +56 -0
  53. package/lib/Layout/index.js +1 -11
  54. package/lib/ListItem/ListItem.js +5 -4
  55. package/lib/ListItem/ListItem.module.css +5 -0
  56. package/lib/ListItem/ListItemWithAvatar.js +5 -4
  57. package/lib/ListItem/ListItemWithCheckBox.js +3 -2
  58. package/lib/ListItem/ListItemWithIcon.js +6 -5
  59. package/lib/ListItem/ListItemWithRadio.js +3 -2
  60. package/lib/ListItem/index.js +48 -0
  61. package/lib/ListItem/props/defaultProps.js +12 -6
  62. package/lib/ListItem/props/propTypes.js +7 -2
  63. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +2 -2
  64. package/lib/MultiSelect/AdvancedMultiSelect.js +2 -2
  65. package/lib/MultiSelect/MultiSelect.js +20 -7
  66. package/lib/MultiSelect/MultiSelectWithAvatar.js +20 -7
  67. package/lib/MultiSelect/index.js +34 -0
  68. package/lib/MultiSelect/props/defaultProps.js +5 -2
  69. package/lib/MultiSelect/props/propTypes.js +7 -1
  70. package/lib/PopOver/index.js +27 -0
  71. package/lib/Provider/IdProvider.js +8 -8
  72. package/lib/Provider/index.js +76 -0
  73. package/lib/Responsive/index.js +45 -22
  74. package/lib/Select/GroupSelect.js +2 -2
  75. package/lib/Select/Select.js +2 -2
  76. package/lib/Select/SelectWithIcon.js +3 -3
  77. package/lib/Select/index.js +34 -0
  78. package/lib/Tab/Tab.module.css +0 -1
  79. package/lib/Tab/Tabs.js +2 -2
  80. package/lib/Tab/Tabs.module.css +0 -1
  81. package/lib/Tag/Tag.js +3 -3
  82. package/lib/TextBoxIcon/TextBoxIcon.js +2 -2
  83. package/lib/VelocityAnimation/index.js +20 -0
  84. package/lib/index.js +157 -210
  85. package/lib/semantic/index.js +13 -0
  86. package/lib/utils/Common.js +0 -1
  87. package/lib/utils/css/compileClassNames.js +31 -0
  88. package/lib/utils/css/mergeStyle.js +52 -0
  89. package/lib/utils/css/utils.js +33 -0
  90. package/lib/utils/dropDownUtils.js +5 -2
  91. package/lib/utils/index.js +117 -0
  92. package/package.json +7 -7
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "bytesToSize", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _Common.bytesToSize;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "capitalize", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _Common.capitalize;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "checkIsImageFile", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _Common.checkIsImageFile;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "compileClassNames", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _compileClassNames["default"];
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "debounce", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _Common.debounce;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "doAfterScrollEnd", {
37
+ enumerable: true,
38
+ get: function get() {
39
+ return _Common.doAfterScrollEnd;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "findScrollEnd", {
43
+ enumerable: true,
44
+ get: function get() {
45
+ return _Common.findScrollEnd;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "format12Hour", {
49
+ enumerable: true,
50
+ get: function get() {
51
+ return _Common.format12Hour;
52
+ }
53
+ });
54
+ Object.defineProperty(exports, "getDateOnly", {
55
+ enumerable: true,
56
+ get: function get() {
57
+ return _Common.getDateOnly;
58
+ }
59
+ });
60
+ Object.defineProperty(exports, "getElementSpace", {
61
+ enumerable: true,
62
+ get: function get() {
63
+ return _Common.getElementSpace;
64
+ }
65
+ });
66
+ Object.defineProperty(exports, "getFullDateString", {
67
+ enumerable: true,
68
+ get: function get() {
69
+ return _Common.getFullDateString;
70
+ }
71
+ });
72
+ Object.defineProperty(exports, "getFullName", {
73
+ enumerable: true,
74
+ get: function get() {
75
+ return _Common.getFullName;
76
+ }
77
+ });
78
+ Object.defineProperty(exports, "getMemSize", {
79
+ enumerable: true,
80
+ get: function get() {
81
+ return _Common.getMemSize;
82
+ }
83
+ });
84
+ Object.defineProperty(exports, "getSearchString", {
85
+ enumerable: true,
86
+ get: function get() {
87
+ return _Common.getSearchString;
88
+ }
89
+ });
90
+ Object.defineProperty(exports, "isTextSelected", {
91
+ enumerable: true,
92
+ get: function get() {
93
+ return _Common.isTextSelected;
94
+ }
95
+ });
96
+ Object.defineProperty(exports, "mergeStyle", {
97
+ enumerable: true,
98
+ get: function get() {
99
+ return _mergeStyle["default"];
100
+ }
101
+ });
102
+ Object.defineProperty(exports, "stopAllEventPropagation", {
103
+ enumerable: true,
104
+ get: function get() {
105
+ return _Common.stopAllEventPropagation;
106
+ }
107
+ });
108
+ Object.defineProperty(exports, "throttle", {
109
+ enumerable: true,
110
+ get: function get() {
111
+ return _Common.throttle;
112
+ }
113
+ });
114
+ var _compileClassNames = _interopRequireDefault(require("./css/compileClassNames"));
115
+ var _mergeStyle = _interopRequireDefault(require("./css/mergeStyle"));
116
+ var _Common = require("./Common");
117
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.0.0-alpha-260",
3
+ "version": "1.0.0-alpha-262",
4
4
  "main": "es/index.js",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -47,12 +47,12 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@zohodesk/docstool": "1.0.0-alpha-2",
50
- "@zohodesk/variables": "1.0.0-beta.29",
51
- "@zohodesk/icons": "1.0.0-beta.116",
50
+ "@zohodesk/variables": "1.0.0-beta.30",
51
+ "@zohodesk/icons": "1.0.0-beta.119",
52
52
  "@zohodesk/virtualizer": "1.0.3",
53
53
  "velocity-react": "1.4.3",
54
54
  "react-sortable-hoc": "^0.8.3",
55
- "@zohodesk/svg": "1.0.0-beta.48",
55
+ "@zohodesk/svg": "1.0.0-beta.54",
56
56
  "@zohodesk/a11y": "1.3.7"
57
57
  },
58
58
  "dependencies": {
@@ -62,9 +62,9 @@
62
62
  "selectn": "1.1.2"
63
63
  },
64
64
  "peerDependencies": {
65
- "@zohodesk/icons": "1.0.0-beta.116",
66
- "@zohodesk/variables": "1.0.0-beta.29",
67
- "@zohodesk/svg": "1.0.0-beta.49",
65
+ "@zohodesk/icons": "1.0.0-beta.119",
66
+ "@zohodesk/variables": "1.0.0-beta.30",
67
+ "@zohodesk/svg": "1.0.0-beta.54",
68
68
  "@zohodesk/virtualizer": "1.0.3",
69
69
  "velocity-react": "1.4.3",
70
70
  "react-sortable-hoc": "^0.8.3",