@zohodesk/components 1.0.0-alpha-238 → 1.0.0-alpha-241

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 (282) hide show
  1. package/README.md +21 -6
  2. package/assets/Appearance/dark/mode/darkMode.module.css +0 -2
  3. package/assets/Appearance/default/mode/defaultMode.module.css +1 -3
  4. package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +10 -12
  5. package/assets/Appearance/pureDark/themes/blue/bluePureDarkComponentTheme.module.css +2 -2
  6. package/assets/Appearance/pureDark/themes/green/greenPureDarkComponentTheme.module.css +2 -2
  7. package/assets/Appearance/pureDark/themes/orange/orangePureDarkComponentTheme.module.css +2 -2
  8. package/assets/Appearance/pureDark/themes/red/redPureDarkComponentTheme.module.css +2 -2
  9. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkComponentTheme.module.css +2 -2
  10. package/docs/external/active-line.js +72 -0
  11. package/docs/external/autorefresh.js +47 -0
  12. package/docs/external/codemirror.js +9681 -0
  13. package/docs/external/css/hopscotch.css +576 -0
  14. package/docs/external/css/styleGuide.css +1100 -0
  15. package/docs/external/css.js +466 -0
  16. package/docs/external/designTokens.js +1 -0
  17. package/docs/external/foldcode.js +152 -0
  18. package/docs/external/format.js +129 -0
  19. package/docs/external/htmlmixed.js +84 -0
  20. package/docs/external/images/bottom.png +0 -0
  21. package/docs/external/images/bottombg.jpg +0 -0
  22. package/docs/external/images/desk.png +0 -0
  23. package/docs/external/images/desklogo.png +0 -0
  24. package/docs/external/images/menu.png +0 -0
  25. package/docs/external/index.html +127 -0
  26. package/docs/external/javascript.js +422 -0
  27. package/docs/external/jsx.js +148 -0
  28. package/docs/external/matchbrackets.js +145 -0
  29. package/docs/external/xml.js +322 -0
  30. package/docs/package.json +41 -0
  31. package/docs/src/index.js +1311 -0
  32. package/es/Accordion/docs/Accordion__Demo.docs.js +80 -0
  33. package/es/Animation/docs/Animation__default.docs.js +34 -0
  34. package/es/Animation/docs/Animation__fadeIn.docs.js +34 -0
  35. package/es/Animation/docs/Animation__scaleIn.docs.js +34 -0
  36. package/es/Animation/docs/Animation__skewIn.docs.js +34 -0
  37. package/es/Animation/docs/Animation__slideDown.docs.js +34 -0
  38. package/es/Animation/docs/Animation__slideLeft.docs.js +34 -0
  39. package/es/Animation/docs/Animation__zoomIn.docs.js +34 -0
  40. package/es/AppContainer/docs/AppContainer__default.docs.js +20 -0
  41. package/es/Avatar/docs/Avatar__custom.docs.js +29 -0
  42. package/es/Avatar/docs/Avatar__default.docs.js +29 -0
  43. package/es/Avatar/docs/Avatar__palette.docs.js +49 -0
  44. package/es/Avatar/docs/Avatar__text.docs.js +28 -0
  45. package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +73 -0
  46. package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +31 -0
  47. package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +50 -0
  48. package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +49 -0
  49. package/es/Button/docs/Button__custom.docs.js +771 -0
  50. package/es/Button/docs/Button__default.docs.js +536 -0
  51. package/es/Buttongroup/docs/Buttongroup__custom.docs.js +37 -0
  52. package/es/Buttongroup/docs/Buttongroup__footer.docs.js +33 -0
  53. package/es/Buttongroup/docs/Buttongroup__header.docs.js +42 -0
  54. package/es/Card/docs/Card__Custom.docs.js +34 -0
  55. package/es/Card/docs/Card__Default.docs.js +37 -0
  56. package/es/Card/docs/Card__Scroll.docs.js +59 -0
  57. package/es/CheckBox/docs/CheckBox__custom.docs.js +293 -0
  58. package/es/CheckBox/docs/CheckBox__default.docs.js +219 -0
  59. package/es/DateTime/DateTime.js +46 -19
  60. package/es/DateTime/DateWidget.js +10 -2
  61. package/es/DateTime/DateWidget.module.css +0 -4
  62. package/es/DateTime/docs/DateTime__default.docs.js +91 -0
  63. package/es/DateTime/docs/DateWidget__default.docs.js +183 -0
  64. package/es/DateTime/docs/timezonedata.json +1 -0
  65. package/es/DropBox/docs/DropBox__custom.docs.js +66 -0
  66. package/es/DropBox/docs/DropBox__customOrder.docs.js +92 -0
  67. package/es/DropBox/docs/DropBox__fixedPosition.docs.js +91 -0
  68. package/es/DropBox/docs/DropBox__position.docs.js +87 -0
  69. package/es/DropBox/docs/DropBox__size.docs.js +61 -0
  70. package/es/DropDown/docs/DropDownHeading__custom.docs.js +23 -0
  71. package/es/DropDown/docs/DropDownHeading__default.docs.js +21 -0
  72. package/es/Label/docs/Label__clipped.docs.js +27 -0
  73. package/es/Label/docs/Label__custom.docs.js +30 -0
  74. package/es/Label/docs/Label__palette.docs.js +42 -0
  75. package/es/Label/docs/Label__size.docs.js +29 -0
  76. package/es/Label/docs/Label__type.docs.js +37 -0
  77. package/es/Layout/docs/Layout__Hidden.docs.js +77 -0
  78. package/es/Layout/docs/Layout__default.docs.js +49 -0
  79. package/es/Layout/docs/Layout__four_Column.docs.js +85 -0
  80. package/es/Layout/docs/Layout__three_Column.docs.js +76 -0
  81. package/es/Layout/docs/Layout__two_Column.docs.js +69 -0
  82. package/es/LightNightMode/docs/AlternativeColors.docs.js +74 -0
  83. package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +155 -0
  84. package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +112 -0
  85. package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +91 -0
  86. package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +65 -0
  87. package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +68 -0
  88. package/es/ListItem/docs/ListItemWithIcon__default.docs.js +62 -0
  89. package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +91 -0
  90. package/es/ListItem/docs/ListItemWithRadio__default.docs.js +65 -0
  91. package/es/ListItem/docs/ListItem__custom.docs.js +114 -0
  92. package/es/ListItem/docs/ListItem__default.docs.js +82 -0
  93. package/es/MultiSelect/AdvancedGroupMultiSelect.js +100 -75
  94. package/es/MultiSelect/AdvancedMultiSelect.js +75 -49
  95. package/es/MultiSelect/MultiSelect.js +80 -55
  96. package/es/MultiSelect/MultiSelect.module.css +6 -1
  97. package/es/MultiSelect/MultiSelectWithAvatar.js +77 -52
  98. package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +125 -0
  99. package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +114 -0
  100. package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +141 -0
  101. package/es/MultiSelect/docs/MultiSelect__default.docs.js +161 -0
  102. package/es/PopOver/PopOver.js +10 -4
  103. package/es/PopOver/docs/PopOver__default.docs.js +32 -0
  104. package/es/Provider/docs/Provider_Id__Class.docs.js +29 -0
  105. package/es/Provider/docs/Provider_Id__Function.docs.js +18 -0
  106. package/es/Provider/docs/Provider_Zindex__Class.docs.js +32 -0
  107. package/es/Provider/docs/Provider_Zindex__Function.docs.js +23 -0
  108. package/es/Provider.js +5 -105
  109. package/es/Radio/docs/Radio__custom.docs.js +245 -0
  110. package/es/Radio/docs/Radio__default.docs.js +169 -0
  111. package/es/Responsive/docs/Responsive__Custom.docs.js +206 -0
  112. package/es/Responsive/docs/Responsive__default.docs.js +97 -0
  113. package/es/Responsive/docs/style.module.css +56 -0
  114. package/es/ResponsiveDropBox/ResponsiveDropBox.js +74 -0
  115. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
  116. package/es/Ribbon/docs/Ribbon__custom.docs.js +386 -0
  117. package/es/Ribbon/docs/Ribbon__default.docs.js +342 -0
  118. package/es/RippleEffect/docs/RippleEffect__default.docs.js +435 -0
  119. package/es/Select/GroupSelect.js +99 -74
  120. package/es/Select/Select.js +95 -68
  121. package/es/Select/Select.module.css +6 -0
  122. package/es/Select/SelectWithAvatar.js +91 -66
  123. package/es/Select/SelectWithIcon.js +99 -74
  124. package/es/Select/docs/GroupSelect__default.docs.js +149 -0
  125. package/es/Select/docs/SelectWithAvatar__default.docs.js +97 -0
  126. package/es/Select/docs/SelectWithIcon__default.docs.js +138 -0
  127. package/es/Select/docs/Select__default.docs.js +288 -0
  128. package/es/Stencils/docs/Stencils__custom.docs.js +45 -0
  129. package/es/Stencils/docs/Stencils__default.docs.js +50 -0
  130. package/es/Switch/docs/Switch__custom.docs.js +153 -0
  131. package/es/Switch/docs/Switch__default.docs.js +107 -0
  132. package/es/Tab/Tabs.js +68 -43
  133. package/es/Tab/Tabs.module.css +2 -1
  134. package/es/Tab/docs/Tab__default.docs.js +258 -0
  135. package/es/Tab/docs/tabdocs.module.css +29 -0
  136. package/es/Tag/docs/Tag__custom.docs.js +368 -0
  137. package/es/Tag/docs/Tag__default.docs.js +323 -0
  138. package/es/TextBox/docs/TextBox__custom.docs.js +43 -0
  139. package/es/TextBox/docs/TextBox__default.docs.js +40 -0
  140. package/es/TextBox/docs/TextBox__size.docs.js +38 -0
  141. package/es/TextBox/docs/TextBox__variant.docs.js +38 -0
  142. package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +89 -0
  143. package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +61 -0
  144. package/es/Textarea/docs/Textarea__animated.docs.js +41 -0
  145. package/es/Textarea/docs/Textarea__custom.docs.js +82 -0
  146. package/es/Textarea/docs/Textarea__default.docs.js +76 -0
  147. package/es/Textarea/docs/Textarea__disabled.docs.js +29 -0
  148. package/es/Tooltip/Tooltip.js +1 -1
  149. package/es/Tooltip/docs/Tooltip__default.docs.js +371 -0
  150. package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +97 -0
  151. package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +150 -0
  152. package/es/a11y/FocusScope/docs/FocusScope__default.docs.js +139 -0
  153. package/es/beta/FocusRing/docs/FocusRing__default.docs.js +48 -0
  154. package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +72 -0
  155. package/es/index.js +2 -1
  156. package/es/semantic/Button/docs/Button__default.docs.js +20 -0
  157. package/lib/Accordion/docs/Accordion__Demo.docs.js +126 -0
  158. package/lib/Animation/docs/Animation__default.docs.js +85 -0
  159. package/lib/Animation/docs/Animation__fadeIn.docs.js +85 -0
  160. package/lib/Animation/docs/Animation__scaleIn.docs.js +85 -0
  161. package/lib/Animation/docs/Animation__skewIn.docs.js +85 -0
  162. package/lib/Animation/docs/Animation__slideDown.docs.js +85 -0
  163. package/lib/Animation/docs/Animation__slideLeft.docs.js +85 -0
  164. package/lib/Animation/docs/Animation__zoomIn.docs.js +85 -0
  165. package/lib/AppContainer/docs/AppContainer__default.docs.js +70 -0
  166. package/lib/Avatar/docs/Avatar__custom.docs.js +87 -0
  167. package/lib/Avatar/docs/Avatar__default.docs.js +83 -0
  168. package/lib/Avatar/docs/Avatar__palette.docs.js +107 -0
  169. package/lib/Avatar/docs/Avatar__text.docs.js +86 -0
  170. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +124 -0
  171. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +82 -0
  172. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +101 -0
  173. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +100 -0
  174. package/lib/Button/docs/Button__custom.docs.js +826 -0
  175. package/lib/Button/docs/Button__default.docs.js +590 -0
  176. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +89 -0
  177. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +85 -0
  178. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +98 -0
  179. package/lib/Card/docs/Card__Custom.docs.js +90 -0
  180. package/lib/Card/docs/Card__Default.docs.js +92 -0
  181. package/lib/Card/docs/Card__Scroll.docs.js +114 -0
  182. package/lib/CheckBox/docs/CheckBox__custom.docs.js +348 -0
  183. package/lib/CheckBox/docs/CheckBox__default.docs.js +273 -0
  184. package/lib/DateTime/DateTime.js +46 -20
  185. package/lib/DateTime/DateWidget.js +10 -2
  186. package/lib/DateTime/DateWidget.module.css +0 -4
  187. package/lib/DateTime/docs/DateTime__default.docs.js +142 -0
  188. package/lib/DateTime/docs/DateWidget__default.docs.js +240 -0
  189. package/lib/DateTime/docs/timezonedata.json +1 -0
  190. package/lib/DropBox/docs/DropBox__custom.docs.js +122 -0
  191. package/lib/DropBox/docs/DropBox__customOrder.docs.js +141 -0
  192. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +140 -0
  193. package/lib/DropBox/docs/DropBox__position.docs.js +142 -0
  194. package/lib/DropBox/docs/DropBox__size.docs.js +116 -0
  195. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +73 -0
  196. package/lib/DropDown/docs/DropDownHeading__default.docs.js +70 -0
  197. package/lib/Label/docs/Label__clipped.docs.js +81 -0
  198. package/lib/Label/docs/Label__custom.docs.js +85 -0
  199. package/lib/Label/docs/Label__palette.docs.js +96 -0
  200. package/lib/Label/docs/Label__size.docs.js +83 -0
  201. package/lib/Label/docs/Label__type.docs.js +91 -0
  202. package/lib/Layout/docs/Layout__Hidden.docs.js +127 -0
  203. package/lib/Layout/docs/Layout__default.docs.js +98 -0
  204. package/lib/Layout/docs/Layout__four_Column.docs.js +135 -0
  205. package/lib/Layout/docs/Layout__three_Column.docs.js +126 -0
  206. package/lib/Layout/docs/Layout__two_Column.docs.js +119 -0
  207. package/lib/LightNightMode/docs/AlternativeColors.docs.js +131 -0
  208. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +206 -0
  209. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +162 -0
  210. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +142 -0
  211. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +115 -0
  212. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +119 -0
  213. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +112 -0
  214. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +142 -0
  215. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +115 -0
  216. package/lib/ListItem/docs/ListItem__custom.docs.js +164 -0
  217. package/lib/ListItem/docs/ListItem__default.docs.js +131 -0
  218. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +99 -77
  219. package/lib/MultiSelect/AdvancedMultiSelect.js +76 -50
  220. package/lib/MultiSelect/MultiSelect.js +81 -56
  221. package/lib/MultiSelect/MultiSelect.module.css +6 -1
  222. package/lib/MultiSelect/MultiSelectWithAvatar.js +78 -53
  223. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +177 -0
  224. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +165 -0
  225. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +191 -0
  226. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +214 -0
  227. package/lib/PopOver/PopOver.js +11 -4
  228. package/lib/PopOver/docs/PopOver__default.docs.js +86 -0
  229. package/lib/Provider/docs/Provider_Id__Class.docs.js +77 -0
  230. package/lib/Provider/docs/Provider_Id__Function.docs.js +29 -0
  231. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +80 -0
  232. package/lib/Provider/docs/Provider_Zindex__Function.docs.js +34 -0
  233. package/lib/Provider.js +6 -123
  234. package/lib/Radio/docs/Radio__custom.docs.js +299 -0
  235. package/lib/Radio/docs/Radio__default.docs.js +222 -0
  236. package/lib/Responsive/docs/Responsive__Custom.docs.js +272 -0
  237. package/lib/Responsive/docs/Responsive__default.docs.js +142 -0
  238. package/lib/Responsive/docs/style.module.css +56 -0
  239. package/lib/ResponsiveDropBox/ResponsiveDropBox.js +130 -0
  240. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
  241. package/lib/Ribbon/docs/Ribbon__custom.docs.js +437 -0
  242. package/lib/Ribbon/docs/Ribbon__default.docs.js +392 -0
  243. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +484 -0
  244. package/lib/Select/GroupSelect.js +99 -76
  245. package/lib/Select/Select.js +102 -75
  246. package/lib/Select/Select.module.css +6 -0
  247. package/lib/Select/SelectWithAvatar.js +96 -71
  248. package/lib/Select/SelectWithIcon.js +97 -74
  249. package/lib/Select/docs/GroupSelect__default.docs.js +199 -0
  250. package/lib/Select/docs/SelectWithAvatar__default.docs.js +152 -0
  251. package/lib/Select/docs/SelectWithIcon__default.docs.js +190 -0
  252. package/lib/Select/docs/Select__default.docs.js +340 -0
  253. package/lib/Stencils/docs/Stencils__custom.docs.js +96 -0
  254. package/lib/Stencils/docs/Stencils__default.docs.js +101 -0
  255. package/lib/Switch/docs/Switch__custom.docs.js +203 -0
  256. package/lib/Switch/docs/Switch__default.docs.js +156 -0
  257. package/lib/Tab/Tabs.js +67 -44
  258. package/lib/Tab/Tabs.module.css +2 -1
  259. package/lib/Tab/docs/Tab__default.docs.js +308 -0
  260. package/lib/Tab/docs/tabdocs.module.css +29 -0
  261. package/lib/Tag/docs/Tag__custom.docs.js +423 -0
  262. package/lib/Tag/docs/Tag__default.docs.js +377 -0
  263. package/lib/TextBox/docs/TextBox__custom.docs.js +98 -0
  264. package/lib/TextBox/docs/TextBox__default.docs.js +95 -0
  265. package/lib/TextBox/docs/TextBox__size.docs.js +93 -0
  266. package/lib/TextBox/docs/TextBox__variant.docs.js +93 -0
  267. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +145 -0
  268. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +117 -0
  269. package/lib/Textarea/docs/Textarea__animated.docs.js +95 -0
  270. package/lib/Textarea/docs/Textarea__custom.docs.js +137 -0
  271. package/lib/Textarea/docs/Textarea__default.docs.js +130 -0
  272. package/lib/Textarea/docs/Textarea__disabled.docs.js +83 -0
  273. package/lib/Tooltip/Tooltip.js +1 -1
  274. package/lib/Tooltip/docs/Tooltip__default.docs.js +430 -0
  275. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +150 -0
  276. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +206 -0
  277. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +191 -0
  278. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +101 -0
  279. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +145 -0
  280. package/lib/index.js +10 -1
  281. package/lib/semantic/Button/docs/Button__default.docs.js +66 -0
  282. package/package.json +3 -3
@@ -15,8 +15,6 @@ var _datetimejs = _interopRequireDefault(require("@zohodesk/datetimejs"));
15
15
 
16
16
  var _CalendarView = _interopRequireDefault(require("./CalendarView"));
17
17
 
18
- var _DropBox = _interopRequireDefault(require("../DropBox/DropBox"));
19
-
20
18
  var _YearView = _interopRequireDefault(require("./YearView"));
21
19
 
22
20
  var _DateTimePopupHeader = _interopRequireDefault(require("./DateTimePopupHeader"));
@@ -33,6 +31,12 @@ var _Common = require("../utils/Common");
33
31
 
34
32
  var _constants = require("./constants");
35
33
 
34
+ var _ResponsiveDropBox = _interopRequireDefault(require("../ResponsiveDropBox/ResponsiveDropBox"));
35
+
36
+ var _CustomResponsive = require("../Responsive/CustomResponsive");
37
+
38
+ var _Layout = require("../Layout");
39
+
36
40
  var _dateFormatUtils = require("./dateFormatUtils");
37
41
 
38
42
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -688,6 +692,16 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
688
692
  isMonthOpen: false
689
693
  });
690
694
  }
695
+ }, {
696
+ key: "responsiveFunc",
697
+ value: function responsiveFunc(_ref3) {
698
+ var mediaQueryOR = _ref3.mediaQueryOR;
699
+ return {
700
+ tabletMode: mediaQueryOR([{
701
+ maxWidth: 700
702
+ }])
703
+ };
704
+ }
691
705
  }, {
692
706
  key: "render",
693
707
  value: function render() {
@@ -718,7 +732,10 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
718
732
  isPadding = _this$props7.isPadding,
719
733
  i18nKeys = _this$props7.i18nKeys,
720
734
  is24Hour = _this$props7.is24Hour,
721
- isDefaultPosition = _this$props7.isDefaultPosition;
735
+ isDefaultPosition = _this$props7.isDefaultPosition,
736
+ positionsOffset = _this$props7.positionsOffset,
737
+ targetOffset = _this$props7.targetOffset,
738
+ isRestrictScroll = _this$props7.isRestrictScroll;
722
739
  var _i18nKeys$timeText = i18nKeys.timeText,
723
740
  timeText = _i18nKeys$timeText === void 0 ? 'Time' : _i18nKeys$timeText,
724
741
  _i18nKeys$submitText = i18nKeys.submitText,
@@ -802,23 +819,32 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
802
819
  return isDefaultPosition ? /*#__PURE__*/_react["default"].createElement("div", {
803
820
  className: "".concat(_DateTimeModule["default"].dropBox, " ").concat(className),
804
821
  "data-id": "".concat(dataId, "_dateBoxContainer")
805
- }, childEle) : isReady ? /*#__PURE__*/_react["default"].createElement(_DropBox["default"], {
806
- size: boxSize,
807
- boxPosition: position,
808
- isActive: isActive,
809
- isArrow: false,
810
- isAnimate: isAnimate,
811
- animationStyle: "bounce",
812
- getRef: getRef,
813
- onClick: onClick,
814
- dataId: "".concat(dataId, "_dateBoxContainer"),
815
- needResponsive: needResponsive,
816
- isAbsolutePositioningNeeded: isAbsolute,
817
- customClass: {
818
- customDropBoxWrap: className
819
- },
820
- isPadding: isPadding
821
- }, childEle) : null;
822
+ }, childEle) : isReady ? /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
823
+ query: this.responsiveFunc,
824
+ responsiveId: "Helmet"
825
+ }, function (_ref4) {
826
+ var tabletMode = _ref4.tabletMode;
827
+ return /*#__PURE__*/_react["default"].createElement(_ResponsiveDropBox["default"], {
828
+ size: boxSize,
829
+ boxPosition: position,
830
+ isActive: isActive,
831
+ isArrow: false,
832
+ isAnimate: isAnimate,
833
+ animationStyle: "bounce",
834
+ getRef: getRef,
835
+ onClick: onClick,
836
+ dataId: "".concat(dataId, "_dateBoxContainer"),
837
+ needResponsive: needResponsive,
838
+ isAbsolutePositioningNeeded: isAbsolute,
839
+ customClass: {
840
+ customDropBoxWrap: className
841
+ },
842
+ isPadding: isPadding,
843
+ positionsOffset: positionsOffset,
844
+ targetOffset: targetOffset,
845
+ isRestrictScroll: isRestrictScroll
846
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, childEle));
847
+ }) : null;
822
848
  }
823
849
  }]);
824
850
 
@@ -1002,7 +1002,11 @@ var DateWidgetComponent = /*#__PURE__*/function (_React$Component) {
1002
1002
  needErrorOnBlur = _this$props11.needErrorOnBlur,
1003
1003
  htmlId = _this$props11.htmlId,
1004
1004
  iconOnHover = _this$props11.iconOnHover,
1005
- is24Hour = _this$props11.is24Hour;
1005
+ is24Hour = _this$props11.is24Hour,
1006
+ isAbsolutePositioningNeeded = _this$props11.isAbsolutePositioningNeeded,
1007
+ positionsOffset = _this$props11.positionsOffset,
1008
+ targetOffset = _this$props11.targetOffset,
1009
+ isRestrictScroll = _this$props11.isRestrictScroll;
1006
1010
  var _this$state5 = this.state,
1007
1011
  _this$state5$selected = _this$state5.selected,
1008
1012
  value = _this$state5$selected === void 0 ? '' : _this$state5$selected,
@@ -1081,7 +1085,11 @@ var DateWidgetComponent = /*#__PURE__*/function (_React$Component) {
1081
1085
  needAction: isDateTime,
1082
1086
  onDateSelect: !isDateTime ? this.handleSelect : null,
1083
1087
  i18nKeys: i18nKeys,
1084
- is24Hour: is24Hour
1088
+ is24Hour: is24Hour,
1089
+ isAbsolute: isAbsolutePositioningNeeded,
1090
+ positionsOffset: positionsOffset,
1091
+ targetOffset: targetOffset,
1092
+ isRestrictScroll: isRestrictScroll
1085
1093
  }));
1086
1094
  }
1087
1095
  }]);
@@ -36,7 +36,3 @@
36
36
  .placeHolder input {
37
37
  color: var(--zdt_datewidget_placeholder_text);
38
38
  }
39
- .placeHolder input::selection {
40
- color: var(--zdt_datewidget_placeholder_selection_text);
41
- background: var(--zdt_datewidget_placeholder_selection_bg);
42
- }
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _DateTime = _interopRequireDefault(require("../DateTime"));
13
+
14
+ var _datetimejs = _interopRequireDefault(require("@zohodesk/datetimejs"));
15
+
16
+ var _timezonedata = _interopRequireDefault(require("./timezonedata.json"));
17
+
18
+ var _CodeExtractor = _interopRequireDefault(require("@zohodesk/docstool/lib/CodeExtractor/CodeExtractor"));
19
+
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
+
22
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
+
24
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
25
+
26
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
+
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
+
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
+
32
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
33
+
34
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
35
+
36
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
+
38
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
39
+
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
+
42
+ var DateTime__default = /*#__PURE__*/function (_React$Component) {
43
+ _inherits(DateTime__default, _React$Component);
44
+
45
+ var _super = _createSuper(DateTime__default);
46
+
47
+ function DateTime__default(props) {
48
+ var _this;
49
+
50
+ _classCallCheck(this, DateTime__default);
51
+
52
+ _this = _super.call(this, props);
53
+ _this.state = {
54
+ dateTime: '2019-01-01T00:00:00.000',
55
+ date: '2019-01-01',
56
+ dateTimeformattedValue: '',
57
+ dateFormattedValue: ''
58
+ };
59
+ _this.handleDateTimeChange = _this.handleDateTimeChange.bind(_assertThisInitialized(_this));
60
+ _this.handleGetMethods = _this.handleGetMethods.bind(_assertThisInitialized(_this));
61
+ _this.handleDateChange = _this.handleDateChange.bind(_assertThisInitialized(_this));
62
+ return _this;
63
+ }
64
+
65
+ _createClass(DateTime__default, [{
66
+ key: "handleDateTimeChange",
67
+ value: function handleDateTimeChange(dateTime, dateTimeformattedValue) {
68
+ this.setState({
69
+ dateTime: dateTime,
70
+ dateTimeformattedValue: dateTimeformattedValue
71
+ });
72
+ }
73
+ }, {
74
+ key: "handleDateChange",
75
+ value: function handleDateChange(date, dateFormattedValue) {
76
+ this.setState({
77
+ date: date,
78
+ dateFormattedValue: dateFormattedValue
79
+ });
80
+ }
81
+ }, {
82
+ key: "handleGetMethods",
83
+ value: function handleGetMethods(methods) {
84
+ var resetLocalDate = methods.resetLocalDate;
85
+ this.resetLocalDate = resetLocalDate;
86
+ }
87
+ }, {
88
+ key: "render",
89
+ value: function render() {
90
+ var _this$state = this.state,
91
+ dateTime = _this$state.dateTime,
92
+ date = _this$state.date,
93
+ dateFormattedValue = _this$state.dateFormattedValue,
94
+ dateTimeformattedValue = _this$state.dateTimeformattedValue;
95
+ return /*#__PURE__*/_react["default"].createElement("div", {
96
+ style: {
97
+ width: '370px',
98
+ height: '1000px',
99
+ padding: '30px'
100
+ }
101
+ }, /*#__PURE__*/_react["default"].createElement("div", null, dateFormattedValue), /*#__PURE__*/_react["default"].createElement(_CodeExtractor["default"], null, /*#__PURE__*/_react["default"].createElement(_DateTime["default"], {
102
+ value: date,
103
+ onChange: this.handleDateChange,
104
+ dateFormat: "MM.DD.YYYY",
105
+ timeZone: _datetimejs["default"].tz.unpack(_timezonedata["default"].timezone),
106
+ isAbsolute: false,
107
+ needAction: false,
108
+ isDateTimeField: false // onSelect={this.handleDateTimeChange}
109
+ ,
110
+ getMethods: this.handleGetMethods // onError={() => {
111
+ // this.resetLocalDate();
112
+ // }}
113
+ ,
114
+ isDefaultPosition: true
115
+ })), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("div", null, dateTimeformattedValue), /*#__PURE__*/_react["default"].createElement(_CodeExtractor["default"], null, /*#__PURE__*/_react["default"].createElement(_DateTime["default"], {
116
+ value: dateTime,
117
+ onChange: this.handleDateTimeChange,
118
+ dateFormat: "MM.DD.YYYY",
119
+ timeZone: _datetimejs["default"].tz.unpack(_timezonedata["default"].timezone),
120
+ isAbsolute: false,
121
+ needAction: false,
122
+ getMethods: this.handleGetMethods,
123
+ isDateTimeField: true // onError={() => {
124
+ // this.resetLocalDate();
125
+ // }}
126
+ ,
127
+ isDefaultPosition: true
128
+ })));
129
+ }
130
+ }]);
131
+
132
+ return DateTime__default;
133
+ }(_react["default"].Component);
134
+
135
+ exports["default"] = DateTime__default;
136
+
137
+ if (false) {
138
+ DateTime__default.docs = {
139
+ componentGroup: 'Form Elements',
140
+ folderName: 'Style Guide'
141
+ };
142
+ }
@@ -0,0 +1,240 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _DateWidget = _interopRequireDefault(require("../DateWidget"));
13
+
14
+ var _CodeExtractor = _interopRequireDefault(require("@zohodesk/docstool/lib/CodeExtractor/CodeExtractor"));
15
+
16
+ var _timezonedata = _interopRequireDefault(require("./timezonedata.json"));
17
+
18
+ var _datetimejs = _interopRequireDefault(require("@zohodesk/datetimejs"));
19
+
20
+ var _Layout = require("../../Layout");
21
+
22
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
+
24
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
25
+
26
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
27
+
28
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
29
+
30
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
+
32
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
+
34
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
35
+
36
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
37
+
38
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
39
+
40
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
41
+
42
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
43
+
44
+ var DateWidget__default = /*#__PURE__*/function (_React$Component) {
45
+ _inherits(DateWidget__default, _React$Component);
46
+
47
+ var _super = _createSuper(DateWidget__default);
48
+
49
+ function DateWidget__default(props) {
50
+ var _this;
51
+
52
+ _classCallCheck(this, DateWidget__default);
53
+
54
+ _this = _super.call(this, props);
55
+ _this.state = {
56
+ dateTime: '2021-08-13T20:00:00.000Z',
57
+ date: '1999-04-03'
58
+ };
59
+ _this.handleDateChange = _this.handleDateChange.bind(_assertThisInitialized(_this));
60
+ _this.handleDateTimeChange = _this.handleDateTimeChange.bind(_assertThisInitialized(_this));
61
+ return _this;
62
+ }
63
+
64
+ _createClass(DateWidget__default, [{
65
+ key: "handleDateChange",
66
+ value: function handleDateChange(date) {
67
+ this.setState({
68
+ date: date
69
+ });
70
+ }
71
+ }, {
72
+ key: "handleDateTimeChange",
73
+ value: function handleDateTimeChange(dateTime) {
74
+ this.setState({
75
+ dateTime: dateTime
76
+ });
77
+ }
78
+ }, {
79
+ key: "render",
80
+ value: function render() {
81
+ var _this2 = this;
82
+
83
+ var i18nKey = {
84
+ submitText: 'OK',
85
+ cancelText: 'Close',
86
+ timeText: 'Choose Time',
87
+ nextMonthTitleText: 'Go Next',
88
+ prevMonthTitleText: 'Go Prev',
89
+ monthNames: ['ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', 'டிசம்பர்'],
90
+ monthNamesShort: ['ஜன', 'பிப்', 'மார்', 'ஏப்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக', 'செப்', 'அக்', 'நவ', 'டிச'],
91
+ dayNames: ['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'],
92
+ dayNamesShort: ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'],
93
+ ampmText: ['மு.ப', 'பி.ப']
94
+ };
95
+ var dataFormats = ['YYYY/MM/DD', 'YYYY-MM-DD', 'YYYY.MM.DD', 'YYYY MM DD', 'MM/DD/YYYY', 'MM-DD-YYYY', 'MM.DD.YYYY', 'MM DD YYYY', 'DD/MM/YYYY', 'DD-MM-YYYY', 'DD.MM.YYYY', 'DD MM YYYY', 'YYYY/MMM/DD', 'YYYY-MMM-DD', 'YYYY.MMM.DD', 'YYYY MMM DD', 'MMM/DD/YYYY', 'MMM-DD-YYYY', 'MMM.DD.YYYY', 'MMM DD YYYY', 'DD/MMM/YYYY', 'DD-MMM-YYYY', 'DD.MMM.YYYY', 'DD MMM YYYY', 'DD/MMMM/YYYY', 'DD-MMMM-YYYY', 'DD-MMMM-YYYY', 'DD MMMM YYYY', 'MMMM/DD/YYYY', 'MMMM-DD-YYYY', 'MMMM.DD.YYYY', 'MMMM DD YYYY', 'YYYY/MMMM/DD', 'YYYY-MMMM-DD', 'YYYY.MMMM.DD', 'YYYY MMMM DD', 'DD/MM/YY', 'DD-MM-YY', 'DD.MM.YY', 'DD MM YY', 'MM/DD/YY', 'MM-DD-YY', 'MM.DD.YY', 'MM DD YY', 'YY/MM/DD', 'YY-MM-DD', 'YY.MM.DD', 'YY MM DD', 'DD/MMM/YY', 'DD-MMM-YY', 'DD.MMM.YY', 'DD MMM YY', 'MMM/DD/YY', 'MMM-DD-YY', 'MMM.DD.YY', 'MMM DD YY', 'YY/MMM/DD', 'YY-MMM-DD', 'YY.MMM.DD', 'YY MMM DD', 'DD/MMMM/YY', 'DD-MMMM-YY', 'DD.MMMM.YY', 'DD MMMM YY', 'MMMM/DD/YY', 'MMMM-DD-YY', 'MMMM.DD.YY', 'MMMM DD YY', 'YY/MMMM/DD', 'YY-MMMM-DD', 'YY.MMMM.DD', 'YY MMMM DD'];
96
+ var _this$state = this.state,
97
+ date = _this$state.date,
98
+ dateTime = _this$state.dateTime;
99
+ var boxStyle = {
100
+ padding: '10px',
101
+ border: '1px solid #000',
102
+ margin: '5px',
103
+ minWidth: '300px'
104
+ };
105
+ var headingStyle = {
106
+ fontSize: '14px',
107
+ textDecoration: 'underline',
108
+ marginBottom: '10px'
109
+ };
110
+ return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
111
+ alignBox: "row",
112
+ wrap: "wrap"
113
+ }, /*#__PURE__*/_react["default"].createElement(_CodeExtractor["default"], null, dataFormats.map(function (format) {
114
+ return /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
115
+ flexible: true,
116
+ style: boxStyle
117
+ }, /*#__PURE__*/_react["default"].createElement("div", {
118
+ style: headingStyle
119
+ }, format), /*#__PURE__*/_react["default"].createElement(_DateWidget["default"], {
120
+ textBoxSize: "xmedium",
121
+ textBoxVariant: "primary",
122
+ value: dateTime,
123
+ onSelect: _this2.handleDateTimeChange,
124
+ isDateTime: true,
125
+ position: "bottomLeft",
126
+ dateFormat: format,
127
+ timeZone: _datetimejs["default"].tz.unpack(_timezonedata["default"].timezone),
128
+ isEditable: true,
129
+ is24Hour: false,
130
+ i18nKeys: i18nKey
131
+ }));
132
+ }), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
133
+ flexible: true,
134
+ style: boxStyle
135
+ }, /*#__PURE__*/_react["default"].createElement("div", {
136
+ style: headingStyle
137
+ }, "24 Hours"), /*#__PURE__*/_react["default"].createElement(_DateWidget["default"], {
138
+ textBoxSize: "xmedium",
139
+ textBoxVariant: "primary",
140
+ value: dateTime,
141
+ onSelect: this.handleDateTimeChange,
142
+ isDateTime: true,
143
+ position: "bottomLeft",
144
+ dateFormat: "MMM-dd-yyyy",
145
+ timeZone: _datetimejs["default"].tz.unpack(_timezonedata["default"].timezone),
146
+ needDefaultTime: true,
147
+ is24Hour: true
148
+ })), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
149
+ flexible: true,
150
+ style: boxStyle
151
+ }, /*#__PURE__*/_react["default"].createElement("div", {
152
+ style: headingStyle
153
+ }, "Default Time"), /*#__PURE__*/_react["default"].createElement(_DateWidget["default"], {
154
+ textBoxSize: "xmedium",
155
+ textBoxVariant: "primary",
156
+ value: dateTime,
157
+ onSelect: this.handleDateTimeChange,
158
+ isDateTime: true,
159
+ position: "bottomLeft",
160
+ dateFormat: "MMM-dd-yyyy",
161
+ timeZone: _datetimejs["default"].tz.unpack(_timezonedata["default"].timezone),
162
+ needDefaultTime: true
163
+ })), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
164
+ flexible: true,
165
+ style: boxStyle
166
+ }, /*#__PURE__*/_react["default"].createElement("div", {
167
+ style: headingStyle
168
+ }, "ReadOnly"), /*#__PURE__*/_react["default"].createElement(_DateWidget["default"], {
169
+ textBoxSize: "xmedium",
170
+ textBoxVariant: "primary",
171
+ value: dateTime,
172
+ onSelect: this.handleDateTimeChange,
173
+ isDateTime: true,
174
+ position: "bottomLeft",
175
+ dateFormat: "yyyy.MM.dd",
176
+ timeZone: _datetimejs["default"].tz.unpack(_timezonedata["default"].timezone),
177
+ needDefaultTime: false,
178
+ isReadOnly: true
179
+ })), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
180
+ flexible: true,
181
+ style: boxStyle
182
+ }, /*#__PURE__*/_react["default"].createElement("div", {
183
+ style: headingStyle
184
+ }, "Without Time"), /*#__PURE__*/_react["default"].createElement(_DateWidget["default"], {
185
+ textBoxSize: "xmedium",
186
+ textBoxVariant: "primary",
187
+ value: date,
188
+ onSelect: this.handleDateChange,
189
+ isDateTime: false,
190
+ position: "bottomLeft",
191
+ dateFormat: "yyyy.MM.dd",
192
+ timeZone: _datetimejs["default"].tz.unpack(_timezonedata["default"].timezone)
193
+ })), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
194
+ flexible: true,
195
+ style: boxStyle
196
+ }, /*#__PURE__*/_react["default"].createElement("div", {
197
+ style: headingStyle
198
+ }, "Disabled"), /*#__PURE__*/_react["default"].createElement(_DateWidget["default"], {
199
+ textBoxSize: "xmedium",
200
+ textBoxVariant: "primary",
201
+ value: date,
202
+ onSelect: this.handleDateChange,
203
+ isDateTime: false,
204
+ position: "bottomLeft",
205
+ dateFormat: "MM-dd-yyyy",
206
+ isDisabled: true,
207
+ timeZone: _datetimejs["default"].tz.unpack(_timezonedata["default"].timezone)
208
+ })), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
209
+ flexible: true,
210
+ style: boxStyle
211
+ }, /*#__PURE__*/_react["default"].createElement("div", {
212
+ style: headingStyle
213
+ }, "Hide Current Year"), /*#__PURE__*/_react["default"].createElement(_DateWidget["default"], {
214
+ textBoxSize: "xmedium",
215
+ textBoxVariant: "primary",
216
+ value: dateTime,
217
+ onSelect: this.handleDateTimeChange,
218
+ isDateTime: true,
219
+ position: "bottomLeft",
220
+ dateFormat: "MMM-dd-yyyy",
221
+ timeZone: _datetimejs["default"].tz.unpack(_timezonedata["default"].timezone),
222
+ needDefaultTime: true,
223
+ is24Hour: true,
224
+ isEditable: true,
225
+ isHideCurrentYear: true
226
+ })))));
227
+ }
228
+ }]);
229
+
230
+ return DateWidget__default;
231
+ }(_react["default"].Component);
232
+
233
+ exports["default"] = DateWidget__default;
234
+
235
+ if (false) {
236
+ DateWidget__default.docs = {
237
+ componentGroup: 'Form Elements',
238
+ folderName: 'Style Guide'
239
+ };
240
+ }
@@ -0,0 +1 @@
1
+ { "timezone": "7Q.W 80 70 70 70|0121213412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFE0 1nEe0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA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== typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _DropBox = _interopRequireDefault(require("../DropBox"));
13
+
14
+ var _docStyleModule = _interopRequireDefault(require("../../common/docStyle.module.css"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+
18
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
+
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+
22
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
+
24
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
25
+
26
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
+
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
+
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
+
32
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
33
+
34
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
35
+
36
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
+
38
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
39
+
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
+
42
+ var DropBox__custom = /*#__PURE__*/function (_Component) {
43
+ _inherits(DropBox__custom, _Component);
44
+
45
+ var _super = _createSuper(DropBox__custom);
46
+
47
+ function DropBox__custom() {
48
+ _classCallCheck(this, DropBox__custom);
49
+
50
+ return _super.apply(this, arguments);
51
+ }
52
+
53
+ _createClass(DropBox__custom, [{
54
+ key: "render",
55
+ value: function render() {
56
+ var style = {
57
+ height: '80px',
58
+ width: '100px',
59
+ position: 'relative',
60
+ display: 'inline-block',
61
+ background: '#e6e5e5',
62
+ fontSize: '14px'
63
+ },
64
+ boxstyle = {
65
+ height: '100px',
66
+ textAlign: 'center',
67
+ fontSize: 'var(--zd_size20)'
68
+ },
69
+ containerStyle = {
70
+ display: 'inline-block',
71
+ verticalAlign: 'top',
72
+ width: 'calc(33.3333333% - 300px)',
73
+ marginBottom: '150px',
74
+ marginLeft: '275px'
75
+ },
76
+ dropBoxStyle = {
77
+ display: 'flex',
78
+ flexWrap: 'wrap',
79
+ flexDirection: 'row',
80
+ justifyContent: 'right'
81
+ };
82
+ var sizes = ['mini', 'xmini', 'xsmall', 'small', 'medium', 'large', 'mlarge', 'xlarge', 'xxlarge', 'default'];
83
+ return /*#__PURE__*/_react["default"].createElement("div", {
84
+ style: {
85
+ dropBoxStyle: dropBoxStyle
86
+ }
87
+ }, sizes.map(function (size, i) {
88
+ return /*#__PURE__*/_react["default"].createElement("div", {
89
+ style: containerStyle,
90
+ key: i
91
+ }, /*#__PURE__*/_react["default"].createElement("div", {
92
+ style: style
93
+ }, /*#__PURE__*/_react["default"].createElement(_DropBox["default"], {
94
+ size: size,
95
+ isActive: true,
96
+ isModel: false,
97
+ customClass: {
98
+ customDropBox: _docStyleModule["default"].customDropbox,
99
+ customDropBoxWrap: _docStyleModule["default"].dropboxSize,
100
+ customMobileDropBox: _docStyleModule["default"].mobDropbox,
101
+ customMobileDropBoxWrap: _docStyleModule["default"].mobBg
102
+ }
103
+ }, /*#__PURE__*/_react["default"].createElement("div", {
104
+ style: boxstyle
105
+ }, /*#__PURE__*/_react["default"].createElement("li", null, "DropBox"), /*#__PURE__*/_react["default"].createElement("li", null, "Size - ", size)))));
106
+ }));
107
+ }
108
+ }]);
109
+
110
+ return DropBox__custom;
111
+ }(_react.Component);
112
+
113
+ exports["default"] = DropBox__custom;
114
+
115
+ if (false) {
116
+ DropBox__custom.docs = {
117
+ componentGroup: 'Atom',
118
+ folderName: 'Style Guide',
119
+ external: true,
120
+ description: ' '
121
+ };
122
+ }