@hitachivantara/uikit-react-lab 2.6.18

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 (388) hide show
  1. package/CHANGELOG.md +2334 -0
  2. package/LICENSE.txt +201 -0
  3. package/README.md +11 -0
  4. package/dist/AppSwitcherPanel/Action/Action.d.ts +67 -0
  5. package/dist/AppSwitcherPanel/Action/Action.js +255 -0
  6. package/dist/AppSwitcherPanel/Action/Action.js.map +1 -0
  7. package/dist/AppSwitcherPanel/Action/index.d.ts +2 -0
  8. package/dist/AppSwitcherPanel/Action/index.js +21 -0
  9. package/dist/AppSwitcherPanel/Action/index.js.map +1 -0
  10. package/dist/AppSwitcherPanel/Action/styles.js +91 -0
  11. package/dist/AppSwitcherPanel/Action/styles.js.map +1 -0
  12. package/dist/AppSwitcherPanel/AppSwitcherPanel.d.ts +50 -0
  13. package/dist/AppSwitcherPanel/AppSwitcherPanel.js +230 -0
  14. package/dist/AppSwitcherPanel/AppSwitcherPanel.js.map +1 -0
  15. package/dist/AppSwitcherPanel/index.d.ts +2 -0
  16. package/dist/AppSwitcherPanel/index.js +21 -0
  17. package/dist/AppSwitcherPanel/index.js.map +1 -0
  18. package/dist/AppSwitcherPanel/styles.js +83 -0
  19. package/dist/AppSwitcherPanel/styles.js.map +1 -0
  20. package/dist/CodeEditor/CodeEditor.d.ts +14 -0
  21. package/dist/CodeEditor/CodeEditor.js +144 -0
  22. package/dist/CodeEditor/CodeEditor.js.map +1 -0
  23. package/dist/CodeEditor/index.d.ts +2 -0
  24. package/dist/CodeEditor/index.js +16 -0
  25. package/dist/CodeEditor/index.js.map +1 -0
  26. package/dist/CodeEditor/styles.js +53 -0
  27. package/dist/CodeEditor/styles.js.map +1 -0
  28. package/dist/Footer/Footer.d.ts +12 -0
  29. package/dist/Footer/Footer.js +67 -0
  30. package/dist/Footer/Footer.js.map +1 -0
  31. package/dist/Footer/index.d.ts +2 -0
  32. package/dist/Footer/index.js +16 -0
  33. package/dist/Footer/index.js.map +1 -0
  34. package/dist/Footer/styles.js +54 -0
  35. package/dist/Footer/styles.js.map +1 -0
  36. package/dist/FormComposer/FormComposer.d.ts +41 -0
  37. package/dist/FormComposer/FormComposer.js +258 -0
  38. package/dist/FormComposer/FormComposer.js.map +1 -0
  39. package/dist/FormComposer/index.d.ts +2 -0
  40. package/dist/FormComposer/index.js +16 -0
  41. package/dist/FormComposer/index.js.map +1 -0
  42. package/dist/FormComposer/styles.js +39 -0
  43. package/dist/FormComposer/styles.js.map +1 -0
  44. package/dist/Loading/Loading.d.ts +32 -0
  45. package/dist/Loading/Loading.js +89 -0
  46. package/dist/Loading/Loading.js.map +1 -0
  47. package/dist/Loading/LoadingWithDelay.d.ts +12 -0
  48. package/dist/Loading/LoadingWithDelay.js +135 -0
  49. package/dist/Loading/LoadingWithDelay.js.map +1 -0
  50. package/dist/Loading/index.d.ts +2 -0
  51. package/dist/Loading/index.js +16 -0
  52. package/dist/Loading/index.js.map +1 -0
  53. package/dist/Loading/styles.js +85 -0
  54. package/dist/Loading/styles.js.map +1 -0
  55. package/dist/NavigationAnchors/NavigationAnchors.d.ts +46 -0
  56. package/dist/NavigationAnchors/NavigationAnchors.js +297 -0
  57. package/dist/NavigationAnchors/NavigationAnchors.js.map +1 -0
  58. package/dist/NavigationAnchors/index.d.ts +2 -0
  59. package/dist/NavigationAnchors/index.js +16 -0
  60. package/dist/NavigationAnchors/index.js.map +1 -0
  61. package/dist/NavigationAnchors/styles.js +87 -0
  62. package/dist/NavigationAnchors/styles.js.map +1 -0
  63. package/dist/NotificationPanel/Notification/Notification.js +153 -0
  64. package/dist/NotificationPanel/Notification/Notification.js.map +1 -0
  65. package/dist/NotificationPanel/Notification/index.js +21 -0
  66. package/dist/NotificationPanel/Notification/index.js.map +1 -0
  67. package/dist/NotificationPanel/Notification/styles.js +73 -0
  68. package/dist/NotificationPanel/Notification/styles.js.map +1 -0
  69. package/dist/NotificationPanel/NotificationPanel.d.ts +49 -0
  70. package/dist/NotificationPanel/NotificationPanel.js +219 -0
  71. package/dist/NotificationPanel/NotificationPanel.js.map +1 -0
  72. package/dist/NotificationPanel/Panel/Panel.js +202 -0
  73. package/dist/NotificationPanel/Panel/Panel.js.map +1 -0
  74. package/dist/NotificationPanel/Panel/index.js +21 -0
  75. package/dist/NotificationPanel/Panel/index.js.map +1 -0
  76. package/dist/NotificationPanel/Panel/styles.js +84 -0
  77. package/dist/NotificationPanel/Panel/styles.js.map +1 -0
  78. package/dist/NotificationPanel/index.d.ts +2 -0
  79. package/dist/NotificationPanel/index.js +16 -0
  80. package/dist/NotificationPanel/index.js.map +1 -0
  81. package/dist/NotificationPanel/styles.js +16 -0
  82. package/dist/NotificationPanel/styles.js.map +1 -0
  83. package/dist/Slider/KnobRing/KnobRing.js +26 -0
  84. package/dist/Slider/KnobRing/KnobRing.js.map +1 -0
  85. package/dist/Slider/KnobRing/index.js +19 -0
  86. package/dist/Slider/KnobRing/index.js.map +1 -0
  87. package/dist/Slider/KnobRing/styles.js +40 -0
  88. package/dist/Slider/KnobRing/styles.js.map +1 -0
  89. package/dist/Slider/Slider.d.ts +133 -0
  90. package/dist/Slider/Slider.js +607 -0
  91. package/dist/Slider/Slider.js.map +1 -0
  92. package/dist/Slider/index.d.ts +2 -0
  93. package/dist/Slider/index.js +16 -0
  94. package/dist/Slider/index.js.map +1 -0
  95. package/dist/Slider/styles.js +125 -0
  96. package/dist/Slider/styles.js.map +1 -0
  97. package/dist/TimePicker/PeriodPicker/PeriodPicker.js +128 -0
  98. package/dist/TimePicker/PeriodPicker/PeriodPicker.js.map +1 -0
  99. package/dist/TimePicker/PeriodPicker/index.js +21 -0
  100. package/dist/TimePicker/PeriodPicker/index.js.map +1 -0
  101. package/dist/TimePicker/PeriodPicker/styles.js +63 -0
  102. package/dist/TimePicker/PeriodPicker/styles.js.map +1 -0
  103. package/dist/TimePicker/TimePicker.d.ts +77 -0
  104. package/dist/TimePicker/TimePicker.js +425 -0
  105. package/dist/TimePicker/TimePicker.js.map +1 -0
  106. package/dist/TimePicker/UnitTimePicker/UnitTimePicker.js +225 -0
  107. package/dist/TimePicker/UnitTimePicker/UnitTimePicker.js.map +1 -0
  108. package/dist/TimePicker/UnitTimePicker/index.js +21 -0
  109. package/dist/TimePicker/UnitTimePicker/index.js.map +1 -0
  110. package/dist/TimePicker/UnitTimePicker/styles.js +80 -0
  111. package/dist/TimePicker/UnitTimePicker/styles.js.map +1 -0
  112. package/dist/TimePicker/enums.js +40 -0
  113. package/dist/TimePicker/enums.js.map +1 -0
  114. package/dist/TimePicker/index.d.ts +2 -0
  115. package/dist/TimePicker/index.js +16 -0
  116. package/dist/TimePicker/index.js.map +1 -0
  117. package/dist/TimePicker/styles.js +113 -0
  118. package/dist/TimePicker/styles.js.map +1 -0
  119. package/dist/TimePicker/timePickerConverter.js +90 -0
  120. package/dist/TimePicker/timePickerConverter.js.map +1 -0
  121. package/dist/TimePicker/timePickerFormatter.js +77 -0
  122. package/dist/TimePicker/timePickerFormatter.js.map +1 -0
  123. package/dist/TimePicker/timePickerUtils.js +36 -0
  124. package/dist/TimePicker/timePickerUtils.js.map +1 -0
  125. package/dist/index.d.ts +26 -0
  126. package/dist/index.js +80 -0
  127. package/dist/index.js.map +1 -0
  128. package/dist/legacy/AppSwitcherPanel/Action/Action.d.ts +67 -0
  129. package/dist/legacy/AppSwitcherPanel/Action/Action.js +214 -0
  130. package/dist/legacy/AppSwitcherPanel/Action/Action.js.map +1 -0
  131. package/dist/legacy/AppSwitcherPanel/Action/index.d.ts +2 -0
  132. package/dist/legacy/AppSwitcherPanel/Action/index.js +7 -0
  133. package/dist/legacy/AppSwitcherPanel/Action/index.js.map +1 -0
  134. package/dist/legacy/AppSwitcherPanel/Action/styles.js +83 -0
  135. package/dist/legacy/AppSwitcherPanel/Action/styles.js.map +1 -0
  136. package/dist/legacy/AppSwitcherPanel/AppSwitcherPanel.d.ts +50 -0
  137. package/dist/legacy/AppSwitcherPanel/AppSwitcherPanel.js +195 -0
  138. package/dist/legacy/AppSwitcherPanel/AppSwitcherPanel.js.map +1 -0
  139. package/dist/legacy/AppSwitcherPanel/index.d.ts +2 -0
  140. package/dist/legacy/AppSwitcherPanel/index.js +7 -0
  141. package/dist/legacy/AppSwitcherPanel/index.js.map +1 -0
  142. package/dist/legacy/AppSwitcherPanel/styles.js +65 -0
  143. package/dist/legacy/AppSwitcherPanel/styles.js.map +1 -0
  144. package/dist/legacy/CodeEditor/CodeEditor.d.ts +14 -0
  145. package/dist/legacy/CodeEditor/CodeEditor.js +114 -0
  146. package/dist/legacy/CodeEditor/CodeEditor.js.map +1 -0
  147. package/dist/legacy/CodeEditor/index.d.ts +2 -0
  148. package/dist/legacy/CodeEditor/index.js +2 -0
  149. package/dist/legacy/CodeEditor/index.js.map +1 -0
  150. package/dist/legacy/CodeEditor/styles.js +45 -0
  151. package/dist/legacy/CodeEditor/styles.js.map +1 -0
  152. package/dist/legacy/Footer/Footer.d.ts +12 -0
  153. package/dist/legacy/Footer/Footer.js +51 -0
  154. package/dist/legacy/Footer/Footer.js.map +1 -0
  155. package/dist/legacy/Footer/index.d.ts +2 -0
  156. package/dist/legacy/Footer/index.js +2 -0
  157. package/dist/legacy/Footer/index.js.map +1 -0
  158. package/dist/legacy/Footer/styles.js +44 -0
  159. package/dist/legacy/Footer/styles.js.map +1 -0
  160. package/dist/legacy/FormComposer/FormComposer.d.ts +41 -0
  161. package/dist/legacy/FormComposer/FormComposer.js +218 -0
  162. package/dist/legacy/FormComposer/FormComposer.js.map +1 -0
  163. package/dist/legacy/FormComposer/index.d.ts +2 -0
  164. package/dist/legacy/FormComposer/index.js +2 -0
  165. package/dist/legacy/FormComposer/index.js.map +1 -0
  166. package/dist/legacy/FormComposer/styles.js +31 -0
  167. package/dist/legacy/FormComposer/styles.js.map +1 -0
  168. package/dist/legacy/Loading/Loading.d.ts +32 -0
  169. package/dist/legacy/Loading/Loading.js +71 -0
  170. package/dist/legacy/Loading/Loading.js.map +1 -0
  171. package/dist/legacy/Loading/LoadingWithDelay.d.ts +12 -0
  172. package/dist/legacy/Loading/LoadingWithDelay.js +97 -0
  173. package/dist/legacy/Loading/LoadingWithDelay.js.map +1 -0
  174. package/dist/legacy/Loading/index.d.ts +2 -0
  175. package/dist/legacy/Loading/index.js +2 -0
  176. package/dist/legacy/Loading/index.js.map +1 -0
  177. package/dist/legacy/Loading/styles.js +78 -0
  178. package/dist/legacy/Loading/styles.js.map +1 -0
  179. package/dist/legacy/NavigationAnchors/NavigationAnchors.d.ts +46 -0
  180. package/dist/legacy/NavigationAnchors/NavigationAnchors.js +275 -0
  181. package/dist/legacy/NavigationAnchors/NavigationAnchors.js.map +1 -0
  182. package/dist/legacy/NavigationAnchors/index.d.ts +2 -0
  183. package/dist/legacy/NavigationAnchors/index.js +2 -0
  184. package/dist/legacy/NavigationAnchors/index.js.map +1 -0
  185. package/dist/legacy/NavigationAnchors/styles.js +70 -0
  186. package/dist/legacy/NavigationAnchors/styles.js.map +1 -0
  187. package/dist/legacy/NotificationPanel/Notification/Notification.js +119 -0
  188. package/dist/legacy/NotificationPanel/Notification/Notification.js.map +1 -0
  189. package/dist/legacy/NotificationPanel/Notification/index.js +7 -0
  190. package/dist/legacy/NotificationPanel/Notification/index.js.map +1 -0
  191. package/dist/legacy/NotificationPanel/Notification/styles.js +56 -0
  192. package/dist/legacy/NotificationPanel/Notification/styles.js.map +1 -0
  193. package/dist/legacy/NotificationPanel/NotificationPanel.d.ts +49 -0
  194. package/dist/legacy/NotificationPanel/NotificationPanel.js +182 -0
  195. package/dist/legacy/NotificationPanel/NotificationPanel.js.map +1 -0
  196. package/dist/legacy/NotificationPanel/Panel/Panel.js +166 -0
  197. package/dist/legacy/NotificationPanel/Panel/Panel.js.map +1 -0
  198. package/dist/legacy/NotificationPanel/Panel/index.js +7 -0
  199. package/dist/legacy/NotificationPanel/Panel/index.js.map +1 -0
  200. package/dist/legacy/NotificationPanel/Panel/styles.js +66 -0
  201. package/dist/legacy/NotificationPanel/Panel/styles.js.map +1 -0
  202. package/dist/legacy/NotificationPanel/index.d.ts +2 -0
  203. package/dist/legacy/NotificationPanel/index.js +2 -0
  204. package/dist/legacy/NotificationPanel/index.js.map +1 -0
  205. package/dist/legacy/NotificationPanel/styles.js +9 -0
  206. package/dist/legacy/NotificationPanel/styles.js.map +1 -0
  207. package/dist/legacy/Slider/KnobRing/KnobRing.js +15 -0
  208. package/dist/legacy/Slider/KnobRing/KnobRing.js.map +1 -0
  209. package/dist/legacy/Slider/KnobRing/index.js +5 -0
  210. package/dist/legacy/Slider/KnobRing/index.js.map +1 -0
  211. package/dist/legacy/Slider/KnobRing/styles.js +32 -0
  212. package/dist/legacy/Slider/KnobRing/styles.js.map +1 -0
  213. package/dist/legacy/Slider/Slider.d.ts +133 -0
  214. package/dist/legacy/Slider/Slider.js +583 -0
  215. package/dist/legacy/Slider/Slider.js.map +1 -0
  216. package/dist/legacy/Slider/index.d.ts +2 -0
  217. package/dist/legacy/Slider/index.js +2 -0
  218. package/dist/legacy/Slider/index.js.map +1 -0
  219. package/dist/legacy/Slider/styles.js +108 -0
  220. package/dist/legacy/Slider/styles.js.map +1 -0
  221. package/dist/legacy/TimePicker/PeriodPicker/PeriodPicker.js +110 -0
  222. package/dist/legacy/TimePicker/PeriodPicker/PeriodPicker.js.map +1 -0
  223. package/dist/legacy/TimePicker/PeriodPicker/index.js +7 -0
  224. package/dist/legacy/TimePicker/PeriodPicker/index.js.map +1 -0
  225. package/dist/legacy/TimePicker/PeriodPicker/styles.js +46 -0
  226. package/dist/legacy/TimePicker/PeriodPicker/styles.js.map +1 -0
  227. package/dist/legacy/TimePicker/TimePicker.d.ts +77 -0
  228. package/dist/legacy/TimePicker/TimePicker.js +402 -0
  229. package/dist/legacy/TimePicker/TimePicker.js.map +1 -0
  230. package/dist/legacy/TimePicker/UnitTimePicker/UnitTimePicker.js +207 -0
  231. package/dist/legacy/TimePicker/UnitTimePicker/UnitTimePicker.js.map +1 -0
  232. package/dist/legacy/TimePicker/UnitTimePicker/index.js +7 -0
  233. package/dist/legacy/TimePicker/UnitTimePicker/index.js.map +1 -0
  234. package/dist/legacy/TimePicker/UnitTimePicker/styles.js +63 -0
  235. package/dist/legacy/TimePicker/UnitTimePicker/styles.js.map +1 -0
  236. package/dist/legacy/TimePicker/enums.js +32 -0
  237. package/dist/legacy/TimePicker/enums.js.map +1 -0
  238. package/dist/legacy/TimePicker/index.d.ts +2 -0
  239. package/dist/legacy/TimePicker/index.js +2 -0
  240. package/dist/legacy/TimePicker/index.js.map +1 -0
  241. package/dist/legacy/TimePicker/styles.js +96 -0
  242. package/dist/legacy/TimePicker/styles.js.map +1 -0
  243. package/dist/legacy/TimePicker/timePickerConverter.js +71 -0
  244. package/dist/legacy/TimePicker/timePickerConverter.js.map +1 -0
  245. package/dist/legacy/TimePicker/timePickerFormatter.js +63 -0
  246. package/dist/legacy/TimePicker/timePickerFormatter.js.map +1 -0
  247. package/dist/legacy/TimePicker/timePickerUtils.js +27 -0
  248. package/dist/legacy/TimePicker/timePickerUtils.js.map +1 -0
  249. package/dist/legacy/index.d.ts +26 -0
  250. package/dist/legacy/index.js +11 -0
  251. package/dist/legacy/index.js.map +1 -0
  252. package/dist/legacy/withStyleProps/WithStyleProps.js +14 -0
  253. package/dist/legacy/withStyleProps/WithStyleProps.js.map +1 -0
  254. package/dist/legacy/withStyleProps/index.js +2 -0
  255. package/dist/legacy/withStyleProps/index.js.map +1 -0
  256. package/dist/modern/AppSwitcherPanel/Action/Action.d.ts +67 -0
  257. package/dist/modern/AppSwitcherPanel/Action/Action.js +177 -0
  258. package/dist/modern/AppSwitcherPanel/Action/Action.js.map +1 -0
  259. package/dist/modern/AppSwitcherPanel/Action/index.d.ts +2 -0
  260. package/dist/modern/AppSwitcherPanel/Action/index.js +7 -0
  261. package/dist/modern/AppSwitcherPanel/Action/index.js.map +1 -0
  262. package/dist/modern/AppSwitcherPanel/Action/styles.js +77 -0
  263. package/dist/modern/AppSwitcherPanel/Action/styles.js.map +1 -0
  264. package/dist/modern/AppSwitcherPanel/AppSwitcherPanel.d.ts +50 -0
  265. package/dist/modern/AppSwitcherPanel/AppSwitcherPanel.js +167 -0
  266. package/dist/modern/AppSwitcherPanel/AppSwitcherPanel.js.map +1 -0
  267. package/dist/modern/AppSwitcherPanel/index.d.ts +2 -0
  268. package/dist/modern/AppSwitcherPanel/index.js +7 -0
  269. package/dist/modern/AppSwitcherPanel/index.js.map +1 -0
  270. package/dist/modern/AppSwitcherPanel/styles.js +55 -0
  271. package/dist/modern/AppSwitcherPanel/styles.js.map +1 -0
  272. package/dist/modern/CodeEditor/CodeEditor.d.ts +14 -0
  273. package/dist/modern/CodeEditor/CodeEditor.js +109 -0
  274. package/dist/modern/CodeEditor/CodeEditor.js.map +1 -0
  275. package/dist/modern/CodeEditor/index.d.ts +2 -0
  276. package/dist/modern/CodeEditor/index.js +2 -0
  277. package/dist/modern/CodeEditor/index.js.map +1 -0
  278. package/dist/modern/CodeEditor/styles.js +43 -0
  279. package/dist/modern/CodeEditor/styles.js.map +1 -0
  280. package/dist/modern/Footer/Footer.d.ts +12 -0
  281. package/dist/modern/Footer/Footer.js +51 -0
  282. package/dist/modern/Footer/Footer.js.map +1 -0
  283. package/dist/modern/Footer/index.d.ts +2 -0
  284. package/dist/modern/Footer/index.js +2 -0
  285. package/dist/modern/Footer/index.js.map +1 -0
  286. package/dist/modern/Footer/styles.js +43 -0
  287. package/dist/modern/Footer/styles.js.map +1 -0
  288. package/dist/modern/FormComposer/FormComposer.d.ts +41 -0
  289. package/dist/modern/FormComposer/FormComposer.js +183 -0
  290. package/dist/modern/FormComposer/FormComposer.js.map +1 -0
  291. package/dist/modern/FormComposer/index.d.ts +2 -0
  292. package/dist/modern/FormComposer/index.js +2 -0
  293. package/dist/modern/FormComposer/index.js.map +1 -0
  294. package/dist/modern/FormComposer/styles.js +29 -0
  295. package/dist/modern/FormComposer/styles.js.map +1 -0
  296. package/dist/modern/Loading/Loading.d.ts +32 -0
  297. package/dist/modern/Loading/Loading.js +72 -0
  298. package/dist/modern/Loading/Loading.js.map +1 -0
  299. package/dist/modern/Loading/LoadingWithDelay.d.ts +12 -0
  300. package/dist/modern/Loading/LoadingWithDelay.js +92 -0
  301. package/dist/modern/Loading/LoadingWithDelay.js.map +1 -0
  302. package/dist/modern/Loading/index.d.ts +2 -0
  303. package/dist/modern/Loading/index.js +2 -0
  304. package/dist/modern/Loading/index.js.map +1 -0
  305. package/dist/modern/Loading/styles.js +76 -0
  306. package/dist/modern/Loading/styles.js.map +1 -0
  307. package/dist/modern/NavigationAnchors/NavigationAnchors.d.ts +46 -0
  308. package/dist/modern/NavigationAnchors/NavigationAnchors.js +243 -0
  309. package/dist/modern/NavigationAnchors/NavigationAnchors.js.map +1 -0
  310. package/dist/modern/NavigationAnchors/index.d.ts +2 -0
  311. package/dist/modern/NavigationAnchors/index.js +2 -0
  312. package/dist/modern/NavigationAnchors/index.js.map +1 -0
  313. package/dist/modern/NavigationAnchors/styles.js +61 -0
  314. package/dist/modern/NavigationAnchors/styles.js.map +1 -0
  315. package/dist/modern/NotificationPanel/Notification/Notification.js +90 -0
  316. package/dist/modern/NotificationPanel/Notification/Notification.js.map +1 -0
  317. package/dist/modern/NotificationPanel/Notification/index.js +7 -0
  318. package/dist/modern/NotificationPanel/Notification/index.js.map +1 -0
  319. package/dist/modern/NotificationPanel/Notification/styles.js +45 -0
  320. package/dist/modern/NotificationPanel/Notification/styles.js.map +1 -0
  321. package/dist/modern/NotificationPanel/NotificationPanel.d.ts +49 -0
  322. package/dist/modern/NotificationPanel/NotificationPanel.js +153 -0
  323. package/dist/modern/NotificationPanel/NotificationPanel.js.map +1 -0
  324. package/dist/modern/NotificationPanel/Panel/Panel.js +133 -0
  325. package/dist/modern/NotificationPanel/Panel/Panel.js.map +1 -0
  326. package/dist/modern/NotificationPanel/Panel/index.js +7 -0
  327. package/dist/modern/NotificationPanel/Panel/index.js.map +1 -0
  328. package/dist/modern/NotificationPanel/Panel/styles.js +56 -0
  329. package/dist/modern/NotificationPanel/Panel/styles.js.map +1 -0
  330. package/dist/modern/NotificationPanel/index.d.ts +2 -0
  331. package/dist/modern/NotificationPanel/index.js +2 -0
  332. package/dist/modern/NotificationPanel/index.js.map +1 -0
  333. package/dist/modern/NotificationPanel/styles.js +9 -0
  334. package/dist/modern/NotificationPanel/styles.js.map +1 -0
  335. package/dist/modern/Slider/KnobRing/KnobRing.js +17 -0
  336. package/dist/modern/Slider/KnobRing/KnobRing.js.map +1 -0
  337. package/dist/modern/Slider/KnobRing/index.js +5 -0
  338. package/dist/modern/Slider/KnobRing/index.js.map +1 -0
  339. package/dist/modern/Slider/KnobRing/styles.js +34 -0
  340. package/dist/modern/Slider/KnobRing/styles.js.map +1 -0
  341. package/dist/modern/Slider/Slider.d.ts +133 -0
  342. package/dist/modern/Slider/Slider.js +542 -0
  343. package/dist/modern/Slider/Slider.js.map +1 -0
  344. package/dist/modern/Slider/index.d.ts +2 -0
  345. package/dist/modern/Slider/index.js +2 -0
  346. package/dist/modern/Slider/index.js.map +1 -0
  347. package/dist/modern/Slider/styles.js +99 -0
  348. package/dist/modern/Slider/styles.js.map +1 -0
  349. package/dist/modern/TimePicker/PeriodPicker/PeriodPicker.js +88 -0
  350. package/dist/modern/TimePicker/PeriodPicker/PeriodPicker.js.map +1 -0
  351. package/dist/modern/TimePicker/PeriodPicker/index.js +7 -0
  352. package/dist/modern/TimePicker/PeriodPicker/index.js.map +1 -0
  353. package/dist/modern/TimePicker/PeriodPicker/styles.js +37 -0
  354. package/dist/modern/TimePicker/PeriodPicker/styles.js.map +1 -0
  355. package/dist/modern/TimePicker/TimePicker.d.ts +77 -0
  356. package/dist/modern/TimePicker/TimePicker.js +394 -0
  357. package/dist/modern/TimePicker/TimePicker.js.map +1 -0
  358. package/dist/modern/TimePicker/UnitTimePicker/UnitTimePicker.js +186 -0
  359. package/dist/modern/TimePicker/UnitTimePicker/UnitTimePicker.js.map +1 -0
  360. package/dist/modern/TimePicker/UnitTimePicker/index.js +7 -0
  361. package/dist/modern/TimePicker/UnitTimePicker/index.js.map +1 -0
  362. package/dist/modern/TimePicker/UnitTimePicker/styles.js +54 -0
  363. package/dist/modern/TimePicker/UnitTimePicker/styles.js.map +1 -0
  364. package/dist/modern/TimePicker/enums.js +32 -0
  365. package/dist/modern/TimePicker/enums.js.map +1 -0
  366. package/dist/modern/TimePicker/index.d.ts +2 -0
  367. package/dist/modern/TimePicker/index.js +2 -0
  368. package/dist/modern/TimePicker/index.js.map +1 -0
  369. package/dist/modern/TimePicker/styles.js +87 -0
  370. package/dist/modern/TimePicker/styles.js.map +1 -0
  371. package/dist/modern/TimePicker/timePickerConverter.js +66 -0
  372. package/dist/modern/TimePicker/timePickerConverter.js.map +1 -0
  373. package/dist/modern/TimePicker/timePickerFormatter.js +62 -0
  374. package/dist/modern/TimePicker/timePickerFormatter.js.map +1 -0
  375. package/dist/modern/TimePicker/timePickerUtils.js +26 -0
  376. package/dist/modern/TimePicker/timePickerUtils.js.map +1 -0
  377. package/dist/modern/index.d.ts +26 -0
  378. package/dist/modern/index.js +11 -0
  379. package/dist/modern/index.js.map +1 -0
  380. package/dist/modern/withStyleProps/WithStyleProps.js +10 -0
  381. package/dist/modern/withStyleProps/WithStyleProps.js.map +1 -0
  382. package/dist/modern/withStyleProps/index.js +2 -0
  383. package/dist/modern/withStyleProps/index.js.map +1 -0
  384. package/dist/withStyleProps/WithStyleProps.js +25 -0
  385. package/dist/withStyleProps/WithStyleProps.js.map +1 -0
  386. package/dist/withStyleProps/index.js +16 -0
  387. package/dist/withStyleProps/index.js.map +1 -0
  388. package/package.json +72 -0
@@ -0,0 +1,54 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+
5
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
+
7
+ const icon = {
8
+ width: "32px",
9
+ height: "32px",
10
+ cursor: "pointer"
11
+ };
12
+
13
+ const styles = theme => ({
14
+ unitTimeContainer: {
15
+ display: "flex",
16
+ flexDirection: "column",
17
+ justifyContent: "center",
18
+ alignItems: "center"
19
+ },
20
+ unitTimeInput: _objectSpread(_objectSpread({}, theme.hv.typography.sTitle), {}, {
21
+ fontWeight: 600,
22
+ textAlign: "center",
23
+ height: "40px",
24
+ width: "40px",
25
+ padding: 0,
26
+ margin: 0,
27
+ "&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": {
28
+ "-webkit-appearance": "none",
29
+ "-moz-appearance": "none",
30
+ margin: 0
31
+ },
32
+ "&[type=number]": {
33
+ "-webkit-appearance": "textfield",
34
+ "-moz-appearance": "textfield"
35
+ }
36
+ }),
37
+ unitTimeInputRoot: {},
38
+ unitTimeInputRootInvalid: {
39
+ border: "1px red solid"
40
+ },
41
+ addIcon: _objectSpread(_objectSpread({}, icon), {}, {
42
+ marginTop: `${theme.hv.spacing.sm}px`
43
+ }),
44
+ subtractIcon: _objectSpread(_objectSpread({}, icon), {}, {
45
+ marginBottom: `${theme.hv.spacing.sm}px`
46
+ }),
47
+ inputContainer: {
48
+ minWidth: "40px",
49
+ maxWidth: "40px"
50
+ }
51
+ });
52
+
53
+ export default styles;
54
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","names":["icon","width","height","cursor","styles","theme","unitTimeContainer","display","flexDirection","justifyContent","alignItems","unitTimeInput","hv","typography","sTitle","fontWeight","textAlign","padding","margin","unitTimeInputRoot","unitTimeInputRootInvalid","border","addIcon","marginTop","spacing","sm","subtractIcon","marginBottom","inputContainer","minWidth","maxWidth"],"sources":["../../../../src/TimePicker/UnitTimePicker/styles.js"],"sourcesContent":["const icon = {\n width: \"32px\",\n height: \"32px\",\n cursor: \"pointer\",\n};\n\nconst styles = (theme) => ({\n unitTimeContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n unitTimeInput: {\n ...theme.hv.typography.sTitle,\n fontWeight: 600,\n textAlign: \"center\",\n height: \"40px\",\n width: \"40px\",\n padding: 0,\n margin: 0,\n \"&::-webkit-outer-spin-button, &::-webkit-inner-spin-button\": {\n \"-webkit-appearance\": \"none\",\n \"-moz-appearance\": \"none\",\n margin: 0,\n },\n \"&[type=number]\": {\n \"-webkit-appearance\": \"textfield\",\n \"-moz-appearance\": \"textfield\",\n },\n },\n unitTimeInputRoot: {},\n unitTimeInputRootInvalid: {\n border: \"1px red solid\",\n },\n addIcon: {\n ...icon,\n marginTop: `${theme.hv.spacing.sm}px`,\n },\n subtractIcon: {\n ...icon,\n marginBottom: `${theme.hv.spacing.sm}px`,\n },\n inputContainer: {\n minWidth: \"40px\",\n maxWidth: \"40px\",\n },\n});\n\nexport default styles;\n"],"mappings":";;;;;;AAAA,MAAMA,IAAI,GAAG;EACXC,KAAK,EAAE,MADI;EAEXC,MAAM,EAAE,MAFG;EAGXC,MAAM,EAAE;AAHG,CAAb;;AAMA,MAAMC,MAAM,GAAIC,KAAD,KAAY;EACzBC,iBAAiB,EAAE;IACjBC,OAAO,EAAE,MADQ;IAEjBC,aAAa,EAAE,QAFE;IAGjBC,cAAc,EAAE,QAHC;IAIjBC,UAAU,EAAE;EAJK,CADM;EAOzBC,aAAa,kCACRN,KAAK,CAACO,EAAN,CAASC,UAAT,CAAoBC,MADZ;IAEXC,UAAU,EAAE,GAFD;IAGXC,SAAS,EAAE,QAHA;IAIXd,MAAM,EAAE,MAJG;IAKXD,KAAK,EAAE,MALI;IAMXgB,OAAO,EAAE,CANE;IAOXC,MAAM,EAAE,CAPG;IAQX,8DAA8D;MAC5D,sBAAsB,MADsC;MAE5D,mBAAmB,MAFyC;MAG5DA,MAAM,EAAE;IAHoD,CARnD;IAaX,kBAAkB;MAChB,sBAAsB,WADN;MAEhB,mBAAmB;IAFH;EAbP,EAPY;EAyBzBC,iBAAiB,EAAE,EAzBM;EA0BzBC,wBAAwB,EAAE;IACxBC,MAAM,EAAE;EADgB,CA1BD;EA6BzBC,OAAO,kCACFtB,IADE;IAELuB,SAAS,EAAG,GAAElB,KAAK,CAACO,EAAN,CAASY,OAAT,CAAiBC,EAAG;EAF7B,EA7BkB;EAiCzBC,YAAY,kCACP1B,IADO;IAEV2B,YAAY,EAAG,GAAEtB,KAAK,CAACO,EAAN,CAASY,OAAT,CAAiBC,EAAG;EAF3B,EAjCa;EAqCzBG,cAAc,EAAE;IACdC,QAAQ,EAAE,MADI;IAEdC,QAAQ,EAAE;EAFI;AArCS,CAAZ,CAAf;;AA2CA,eAAe1B,MAAf"}
@@ -0,0 +1,32 @@
1
+ const TimePickerUnits = {
2
+ HOUR_24: {
3
+ type: "HOUR_24",
4
+ min: 0,
5
+ max: 23
6
+ },
7
+ HOUR_12: {
8
+ type: "HOUR_12",
9
+ min: 1,
10
+ max: 12
11
+ },
12
+ MINUTE: {
13
+ type: "MINUTE",
14
+ min: 0,
15
+ max: 59
16
+ },
17
+ SECOND: {
18
+ type: "SECOND",
19
+ min: 0,
20
+ max: 59
21
+ }
22
+ };
23
+ const PeriodPickerOptions = {
24
+ AM: "AM",
25
+ PM: "PM"
26
+ };
27
+ const TimeFormat = {
28
+ H12: 12,
29
+ H24: 24
30
+ };
31
+ export { TimePickerUnits, PeriodPickerOptions, TimeFormat };
32
+ //# sourceMappingURL=enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.js","names":["TimePickerUnits","HOUR_24","type","min","max","HOUR_12","MINUTE","SECOND","PeriodPickerOptions","AM","PM","TimeFormat","H12","H24"],"sources":["../../../src/TimePicker/enums.js"],"sourcesContent":["const TimePickerUnits = {\n HOUR_24: {\n type: \"HOUR_24\",\n min: 0,\n max: 23,\n },\n HOUR_12: {\n type: \"HOUR_12\",\n min: 1,\n max: 12,\n },\n MINUTE: {\n type: \"MINUTE\",\n min: 0,\n max: 59,\n },\n SECOND: {\n type: \"SECOND\",\n min: 0,\n max: 59,\n },\n};\n\nconst PeriodPickerOptions = {\n AM: \"AM\",\n PM: \"PM\",\n};\n\nconst TimeFormat = {\n H12: 12,\n H24: 24,\n};\n\nexport { TimePickerUnits, PeriodPickerOptions, TimeFormat };\n"],"mappings":"AAAA,MAAMA,eAAe,GAAG;EACtBC,OAAO,EAAE;IACPC,IAAI,EAAE,SADC;IAEPC,GAAG,EAAE,CAFE;IAGPC,GAAG,EAAE;EAHE,CADa;EAMtBC,OAAO,EAAE;IACPH,IAAI,EAAE,SADC;IAEPC,GAAG,EAAE,CAFE;IAGPC,GAAG,EAAE;EAHE,CANa;EAWtBE,MAAM,EAAE;IACNJ,IAAI,EAAE,QADA;IAENC,GAAG,EAAE,CAFC;IAGNC,GAAG,EAAE;EAHC,CAXc;EAgBtBG,MAAM,EAAE;IACNL,IAAI,EAAE,QADA;IAENC,GAAG,EAAE,CAFC;IAGNC,GAAG,EAAE;EAHC;AAhBc,CAAxB;AAuBA,MAAMI,mBAAmB,GAAG;EAC1BC,EAAE,EAAE,IADsB;EAE1BC,EAAE,EAAE;AAFsB,CAA5B;AAKA,MAAMC,UAAU,GAAG;EACjBC,GAAG,EAAE,EADY;EAEjBC,GAAG,EAAE;AAFY,CAAnB;AAKA,SAASb,eAAT,EAA0BQ,mBAA1B,EAA+CG,UAA/C"}
@@ -0,0 +1,2 @@
1
+ export { default } from "./TimePicker";
2
+ export * from "./TimePicker";
@@ -0,0 +1,2 @@
1
+ export { default } from "./TimePicker";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["default"],"sources":["../../../src/TimePicker/index.js"],"sourcesContent":["export { default } from \"./TimePicker\";\n"],"mappings":"AAAA,SAASA,OAAT,QAAwB,cAAxB"}
@@ -0,0 +1,87 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+
5
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
+
7
+ const icon = {
8
+ position: "absolute",
9
+ right: 0,
10
+ bottom: 0,
11
+ width: "30px",
12
+ height: "30px"
13
+ };
14
+
15
+ const styles = theme => ({
16
+ input: _objectSpread(_objectSpread({
17
+ border: "none",
18
+ height: "30px",
19
+ width: "100%",
20
+ background: "white",
21
+ fontFamily: theme.hv.typography.fontFamily
22
+ }, theme.hv.typography.normalText), {}, {
23
+ "&:focus": {
24
+ outline: "none"
25
+ },
26
+ "&::placeholder": _objectSpread({}, theme.hv.typography.placeholderText)
27
+ }),
28
+ inputPopperOpenedBelow: {
29
+ boxShadow: "0 10px 12px #fff"
30
+ },
31
+ inputPopperOpenedAbove: {
32
+ boxShadow: "0 -10px 12px #fff"
33
+ },
34
+ inputPopperClosed: {
35
+ border: `1px solid ${theme.hv.palette.atmosphere.atmo6}`
36
+ },
37
+ inputContainer: {
38
+ position: "relative",
39
+ background: theme.hv.palette.atmosphere.atmo1,
40
+ height: "32px",
41
+ paddingLeft: `${theme.hv.spacing.xs}px`,
42
+ paddingRight: `${theme.hv.spacing.md}px`
43
+ },
44
+ icon: _objectSpread(_objectSpread({}, icon), {}, {
45
+ cursor: "pointer"
46
+ }),
47
+ timePickerContainer: {
48
+ position: "relative",
49
+ minWidth: "200px"
50
+ },
51
+ label: {
52
+ marginBottom: `${theme.hv.spacing.xs}px`,
53
+ display: "block"
54
+ },
55
+ timePopperContainer: {
56
+ backgroundColor: `${theme.hv.palette.atmosphere.atmo1}`,
57
+ zIndex: "10",
58
+ display: "flex",
59
+ flexDirection: "row",
60
+ justifyContent: "center",
61
+ alignItems: "center",
62
+ paddingLeft: `${theme.hv.spacing.sm}px`,
63
+ paddingRight: `${theme.hv.spacing.sm}px`
64
+ },
65
+ popper: {
66
+ minWidth: "100%",
67
+ zIndex: "10"
68
+ },
69
+ popperBelow: {
70
+ marginTop: `${theme.hv.spacing.xs}px`,
71
+ boxShadow: "0 -2px 12px rgba(65,65,65,.12)"
72
+ },
73
+ popperAbove: {
74
+ marginBottom: `${theme.hv.spacing.xs}px`,
75
+ boxShadow: "0 2px 12px rgba(65,65,65,.12)"
76
+ },
77
+ separator: _objectSpread(_objectSpread({}, theme.hv.typography.sTitle), {}, {
78
+ marginLeft: "5px",
79
+ marginRight: "5px"
80
+ }),
81
+ periodContainer: {
82
+ marginLeft: `${theme.hv.spacing.xs}px`
83
+ }
84
+ });
85
+
86
+ export default styles;
87
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","names":["icon","position","right","bottom","width","height","styles","theme","input","border","background","fontFamily","hv","typography","normalText","outline","placeholderText","inputPopperOpenedBelow","boxShadow","inputPopperOpenedAbove","inputPopperClosed","palette","atmosphere","atmo6","inputContainer","atmo1","paddingLeft","spacing","xs","paddingRight","md","cursor","timePickerContainer","minWidth","label","marginBottom","display","timePopperContainer","backgroundColor","zIndex","flexDirection","justifyContent","alignItems","sm","popper","popperBelow","marginTop","popperAbove","separator","sTitle","marginLeft","marginRight","periodContainer"],"sources":["../../../src/TimePicker/styles.js"],"sourcesContent":["const icon = {\n position: \"absolute\",\n right: 0,\n bottom: 0,\n width: \"30px\",\n height: \"30px\",\n};\n\nconst styles = (theme) => ({\n input: {\n border: \"none\",\n height: \"30px\",\n width: \"100%\",\n background: \"white\",\n fontFamily: theme.hv.typography.fontFamily,\n ...theme.hv.typography.normalText,\n \"&:focus\": {\n outline: \"none\",\n },\n \"&::placeholder\": {\n ...theme.hv.typography.placeholderText,\n },\n },\n inputPopperOpenedBelow: {\n boxShadow: \"0 10px 12px #fff\",\n },\n inputPopperOpenedAbove: {\n boxShadow: \"0 -10px 12px #fff\",\n },\n inputPopperClosed: {\n border: `1px solid ${theme.hv.palette.atmosphere.atmo6}`,\n },\n inputContainer: {\n position: \"relative\",\n background: theme.hv.palette.atmosphere.atmo1,\n height: \"32px\",\n paddingLeft: `${theme.hv.spacing.xs}px`,\n paddingRight: `${theme.hv.spacing.md}px`,\n },\n icon: {\n ...icon,\n cursor: \"pointer\",\n },\n timePickerContainer: {\n position: \"relative\",\n minWidth: \"200px\",\n },\n label: {\n marginBottom: `${theme.hv.spacing.xs}px`,\n display: \"block\",\n },\n timePopperContainer: {\n backgroundColor: `${theme.hv.palette.atmosphere.atmo1}`,\n zIndex: \"10\",\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\",\n paddingLeft: `${theme.hv.spacing.sm}px`,\n paddingRight: `${theme.hv.spacing.sm}px`,\n },\n popper: {\n minWidth: \"100%\",\n zIndex: \"10\",\n },\n popperBelow: {\n marginTop: `${theme.hv.spacing.xs}px`,\n boxShadow: \"0 -2px 12px rgba(65,65,65,.12)\",\n },\n popperAbove: {\n marginBottom: `${theme.hv.spacing.xs}px`,\n boxShadow: \"0 2px 12px rgba(65,65,65,.12)\",\n },\n separator: {\n ...theme.hv.typography.sTitle,\n marginLeft: \"5px\",\n marginRight: \"5px\",\n },\n periodContainer: {\n marginLeft: `${theme.hv.spacing.xs}px`,\n },\n});\n\nexport default styles;\n"],"mappings":";;;;;;AAAA,MAAMA,IAAI,GAAG;EACXC,QAAQ,EAAE,UADC;EAEXC,KAAK,EAAE,CAFI;EAGXC,MAAM,EAAE,CAHG;EAIXC,KAAK,EAAE,MAJI;EAKXC,MAAM,EAAE;AALG,CAAb;;AAQA,MAAMC,MAAM,GAAIC,KAAD,KAAY;EACzBC,KAAK;IACHC,MAAM,EAAE,MADL;IAEHJ,MAAM,EAAE,MAFL;IAGHD,KAAK,EAAE,MAHJ;IAIHM,UAAU,EAAE,OAJT;IAKHC,UAAU,EAAEJ,KAAK,CAACK,EAAN,CAASC,UAAT,CAAoBF;EAL7B,GAMAJ,KAAK,CAACK,EAAN,CAASC,UAAT,CAAoBC,UANpB;IAOH,WAAW;MACTC,OAAO,EAAE;IADA,CAPR;IAUH,oCACKR,KAAK,CAACK,EAAN,CAASC,UAAT,CAAoBG,eADzB;EAVG,EADoB;EAezBC,sBAAsB,EAAE;IACtBC,SAAS,EAAE;EADW,CAfC;EAkBzBC,sBAAsB,EAAE;IACtBD,SAAS,EAAE;EADW,CAlBC;EAqBzBE,iBAAiB,EAAE;IACjBX,MAAM,EAAG,aAAYF,KAAK,CAACK,EAAN,CAASS,OAAT,CAAiBC,UAAjB,CAA4BC,KAAM;EADtC,CArBM;EAwBzBC,cAAc,EAAE;IACdvB,QAAQ,EAAE,UADI;IAEdS,UAAU,EAAEH,KAAK,CAACK,EAAN,CAASS,OAAT,CAAiBC,UAAjB,CAA4BG,KAF1B;IAGdpB,MAAM,EAAE,MAHM;IAIdqB,WAAW,EAAG,GAAEnB,KAAK,CAACK,EAAN,CAASe,OAAT,CAAiBC,EAAG,IAJtB;IAKdC,YAAY,EAAG,GAAEtB,KAAK,CAACK,EAAN,CAASe,OAAT,CAAiBG,EAAG;EALvB,CAxBS;EA+BzB9B,IAAI,kCACCA,IADD;IAEF+B,MAAM,EAAE;EAFN,EA/BqB;EAmCzBC,mBAAmB,EAAE;IACnB/B,QAAQ,EAAE,UADS;IAEnBgC,QAAQ,EAAE;EAFS,CAnCI;EAuCzBC,KAAK,EAAE;IACLC,YAAY,EAAG,GAAE5B,KAAK,CAACK,EAAN,CAASe,OAAT,CAAiBC,EAAG,IADhC;IAELQ,OAAO,EAAE;EAFJ,CAvCkB;EA2CzBC,mBAAmB,EAAE;IACnBC,eAAe,EAAG,GAAE/B,KAAK,CAACK,EAAN,CAASS,OAAT,CAAiBC,UAAjB,CAA4BG,KAAM,EADnC;IAEnBc,MAAM,EAAE,IAFW;IAGnBH,OAAO,EAAE,MAHU;IAInBI,aAAa,EAAE,KAJI;IAKnBC,cAAc,EAAE,QALG;IAMnBC,UAAU,EAAE,QANO;IAOnBhB,WAAW,EAAG,GAAEnB,KAAK,CAACK,EAAN,CAASe,OAAT,CAAiBgB,EAAG,IAPjB;IAQnBd,YAAY,EAAG,GAAEtB,KAAK,CAACK,EAAN,CAASe,OAAT,CAAiBgB,EAAG;EARlB,CA3CI;EAqDzBC,MAAM,EAAE;IACNX,QAAQ,EAAE,MADJ;IAENM,MAAM,EAAE;EAFF,CArDiB;EAyDzBM,WAAW,EAAE;IACXC,SAAS,EAAG,GAAEvC,KAAK,CAACK,EAAN,CAASe,OAAT,CAAiBC,EAAG,IADvB;IAEXV,SAAS,EAAE;EAFA,CAzDY;EA6DzB6B,WAAW,EAAE;IACXZ,YAAY,EAAG,GAAE5B,KAAK,CAACK,EAAN,CAASe,OAAT,CAAiBC,EAAG,IAD1B;IAEXV,SAAS,EAAE;EAFA,CA7DY;EAiEzB8B,SAAS,kCACJzC,KAAK,CAACK,EAAN,CAASC,UAAT,CAAoBoC,MADhB;IAEPC,UAAU,EAAE,KAFL;IAGPC,WAAW,EAAE;EAHN,EAjEgB;EAsEzBC,eAAe,EAAE;IACfF,UAAU,EAAG,GAAE3C,KAAK,CAACK,EAAN,CAASe,OAAT,CAAiBC,EAAG;EADpB;AAtEQ,CAAZ,CAAf;;AA2EA,eAAetB,MAAf"}
@@ -0,0 +1,66 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+
5
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
+
7
+ import { TimeFormat, PeriodPickerOptions, TimePickerUnits } from "./enums";
8
+ import { isUnitTimeInValidRange } from "./timePickerUtils";
9
+ /**
10
+ * Gets hours for the passed time format.
11
+ * e.g. 20hours in 12h format is set to 8
12
+ * @param {Number} hours - current hours
13
+ * @param {String} timeFormat - AM/PM
14
+ *
15
+ * @returns {Number} - hours in the correct format
16
+ */
17
+
18
+ const getHoursForTimeFormat = (hours, timeFormat) => {
19
+ if (timeFormat === TimeFormat.H12) {
20
+ if (hours === 0) {
21
+ return TimePickerUnits.HOUR_12.max;
22
+ }
23
+
24
+ if (isUnitTimeInValidRange(hours, TimePickerUnits.HOUR_12.type)) {
25
+ return hours;
26
+ }
27
+
28
+ if (isUnitTimeInValidRange(hours, TimePickerUnits.HOUR_24.type)) {
29
+ return hours - TimePickerUnits.HOUR_12.max;
30
+ }
31
+ }
32
+
33
+ return hours;
34
+ };
35
+ /**
36
+ * Gets the time in 24h format
37
+ * e.g. 08:00:00:PM in 12h format is set to 20:00:00
38
+ * @param {Object} time - object with hours, minutes, seconds and period
39
+ * @param {String} timeFormat - AM/PM
40
+ *
41
+ * @returns {Object} - time object (hours, minutes, seconds and period) with the hours set
42
+ * into the correct format
43
+ */
44
+
45
+
46
+ const getTimeWithFormat24 = (time, timeFormat) => {
47
+ const {
48
+ hours,
49
+ period
50
+ } = time;
51
+
52
+ const timeIn24Format = _objectSpread({}, time);
53
+
54
+ if (timeFormat === TimeFormat.H12) {
55
+ if (period === PeriodPickerOptions.AM && hours === TimePickerUnits.HOUR_12.max) {
56
+ timeIn24Format.hours = TimePickerUnits.HOUR_24.min;
57
+ } else if (period === PeriodPickerOptions.PM && hours < TimePickerUnits.HOUR_12.max) {
58
+ timeIn24Format.hours = hours + TimePickerUnits.HOUR_12.max;
59
+ }
60
+ }
61
+
62
+ return timeIn24Format;
63
+ };
64
+
65
+ export { getHoursForTimeFormat, getTimeWithFormat24 };
66
+ //# sourceMappingURL=timePickerConverter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timePickerConverter.js","names":["TimeFormat","PeriodPickerOptions","TimePickerUnits","isUnitTimeInValidRange","getHoursForTimeFormat","hours","timeFormat","H12","HOUR_12","max","type","HOUR_24","getTimeWithFormat24","time","period","timeIn24Format","AM","min","PM"],"sources":["../../../src/TimePicker/timePickerConverter.js"],"sourcesContent":["import { TimeFormat, PeriodPickerOptions, TimePickerUnits } from \"./enums\";\nimport { isUnitTimeInValidRange } from \"./timePickerUtils\";\n\n/**\n * Gets hours for the passed time format.\n * e.g. 20hours in 12h format is set to 8\n * @param {Number} hours - current hours\n * @param {String} timeFormat - AM/PM\n *\n * @returns {Number} - hours in the correct format\n */\nconst getHoursForTimeFormat = (hours, timeFormat) => {\n if (timeFormat === TimeFormat.H12) {\n if (hours === 0) {\n return TimePickerUnits.HOUR_12.max;\n }\n if (isUnitTimeInValidRange(hours, TimePickerUnits.HOUR_12.type)) {\n return hours;\n }\n if (isUnitTimeInValidRange(hours, TimePickerUnits.HOUR_24.type)) {\n return hours - TimePickerUnits.HOUR_12.max;\n }\n }\n return hours;\n};\n\n/**\n * Gets the time in 24h format\n * e.g. 08:00:00:PM in 12h format is set to 20:00:00\n * @param {Object} time - object with hours, minutes, seconds and period\n * @param {String} timeFormat - AM/PM\n *\n * @returns {Object} - time object (hours, minutes, seconds and period) with the hours set\n * into the correct format\n */\nconst getTimeWithFormat24 = (time, timeFormat) => {\n const { hours, period } = time;\n const timeIn24Format = { ...time };\n if (timeFormat === TimeFormat.H12) {\n if (period === PeriodPickerOptions.AM && hours === TimePickerUnits.HOUR_12.max) {\n timeIn24Format.hours = TimePickerUnits.HOUR_24.min;\n } else if (period === PeriodPickerOptions.PM && hours < TimePickerUnits.HOUR_12.max) {\n timeIn24Format.hours = hours + TimePickerUnits.HOUR_12.max;\n }\n }\n return timeIn24Format;\n};\n\nexport { getHoursForTimeFormat, getTimeWithFormat24 };\n"],"mappings":";;;;;;AAAA,SAASA,UAAT,EAAqBC,mBAArB,EAA0CC,eAA1C,QAAiE,SAAjE;AACA,SAASC,sBAAT,QAAuC,mBAAvC;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,MAAMC,qBAAqB,GAAG,CAACC,KAAD,EAAQC,UAAR,KAAuB;EACnD,IAAIA,UAAU,KAAKN,UAAU,CAACO,GAA9B,EAAmC;IACjC,IAAIF,KAAK,KAAK,CAAd,EAAiB;MACf,OAAOH,eAAe,CAACM,OAAhB,CAAwBC,GAA/B;IACD;;IACD,IAAIN,sBAAsB,CAACE,KAAD,EAAQH,eAAe,CAACM,OAAhB,CAAwBE,IAAhC,CAA1B,EAAiE;MAC/D,OAAOL,KAAP;IACD;;IACD,IAAIF,sBAAsB,CAACE,KAAD,EAAQH,eAAe,CAACS,OAAhB,CAAwBD,IAAhC,CAA1B,EAAiE;MAC/D,OAAOL,KAAK,GAAGH,eAAe,CAACM,OAAhB,CAAwBC,GAAvC;IACD;EACF;;EACD,OAAOJ,KAAP;AACD,CAbD;AAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,MAAMO,mBAAmB,GAAG,CAACC,IAAD,EAAOP,UAAP,KAAsB;EAChD,MAAM;IAAED,KAAF;IAASS;EAAT,IAAoBD,IAA1B;;EACA,MAAME,cAAc,qBAAQF,IAAR,CAApB;;EACA,IAAIP,UAAU,KAAKN,UAAU,CAACO,GAA9B,EAAmC;IACjC,IAAIO,MAAM,KAAKb,mBAAmB,CAACe,EAA/B,IAAqCX,KAAK,KAAKH,eAAe,CAACM,OAAhB,CAAwBC,GAA3E,EAAgF;MAC9EM,cAAc,CAACV,KAAf,GAAuBH,eAAe,CAACS,OAAhB,CAAwBM,GAA/C;IACD,CAFD,MAEO,IAAIH,MAAM,KAAKb,mBAAmB,CAACiB,EAA/B,IAAqCb,KAAK,GAAGH,eAAe,CAACM,OAAhB,CAAwBC,GAAzE,EAA8E;MACnFM,cAAc,CAACV,KAAf,GAAuBA,KAAK,GAAGH,eAAe,CAACM,OAAhB,CAAwBC,GAAvD;IACD;EACF;;EACD,OAAOM,cAAP;AACD,CAXD;;AAaA,SAASX,qBAAT,EAAgCQ,mBAAhC"}
@@ -0,0 +1,62 @@
1
+ import { TimeFormat } from "./enums";
2
+ /**
3
+ * Pads the unit time values so that they always have two digits
4
+ * @param {Number} value - unit time value
5
+ * @returns The unit time value with two digits
6
+ */
7
+
8
+ const padTime = value => {
9
+ if (!value || value < 0) {
10
+ return "00";
11
+ }
12
+
13
+ if (value < 10 && value.toString().length === 1) {
14
+ return `0${value.toString()}`;
15
+ }
16
+
17
+ return value;
18
+ };
19
+ /**
20
+ * Gets the time format for a given locale
21
+ * @param {String} locale - locale
22
+ * @returns {TimeFormat} the time format for the given locale (12 or 24)
23
+ */
24
+
25
+
26
+ const getTimeFormatForLocale = locale => {
27
+ const options = {
28
+ hour: "numeric"
29
+ };
30
+ const dateTimeFormat = new Intl.DateTimeFormat(locale, options);
31
+ const isInHour12Format = dateTimeFormat.resolvedOptions().hour12;
32
+ return isInHour12Format ? TimeFormat.H12 : TimeFormat.H24;
33
+ };
34
+ /**
35
+ * Formats the time to be rendered
36
+ * @param {Object} time - time object to be rendered
37
+ * @param {Number} time.hours - hours
38
+ * @param {Number} time.minutes - minutes
39
+ * @param {Number} time.seconds - seconds
40
+ * @param {String} time.period - period (am/pm). It is undefined when the time is to be shown in 24h format
41
+ *
42
+ * @returns {String} formatted time
43
+ */
44
+
45
+
46
+ const getFormattedTime = time => {
47
+ const {
48
+ hours,
49
+ minutes,
50
+ seconds
51
+ } = time;
52
+ let timeToRender = `${padTime(hours)}:${padTime(minutes)}:${padTime(seconds)}`;
53
+
54
+ if (time.period) {
55
+ timeToRender += ` ${time.period}`;
56
+ }
57
+
58
+ return timeToRender;
59
+ };
60
+
61
+ export { padTime, getFormattedTime, getTimeFormatForLocale };
62
+ //# sourceMappingURL=timePickerFormatter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timePickerFormatter.js","names":["TimeFormat","padTime","value","toString","length","getTimeFormatForLocale","locale","options","hour","dateTimeFormat","Intl","DateTimeFormat","isInHour12Format","resolvedOptions","hour12","H12","H24","getFormattedTime","time","hours","minutes","seconds","timeToRender","period"],"sources":["../../../src/TimePicker/timePickerFormatter.js"],"sourcesContent":["import { TimeFormat } from \"./enums\";\n\n/**\n * Pads the unit time values so that they always have two digits\n * @param {Number} value - unit time value\n * @returns The unit time value with two digits\n */\nconst padTime = (value) => {\n if (!value || value < 0) {\n return \"00\";\n }\n if (value < 10 && value.toString().length === 1) {\n return `0${value.toString()}`;\n }\n return value;\n};\n\n/**\n * Gets the time format for a given locale\n * @param {String} locale - locale\n * @returns {TimeFormat} the time format for the given locale (12 or 24)\n */\nconst getTimeFormatForLocale = (locale) => {\n const options = {\n hour: \"numeric\",\n };\n const dateTimeFormat = new Intl.DateTimeFormat(locale, options);\n const isInHour12Format = dateTimeFormat.resolvedOptions().hour12;\n return isInHour12Format ? TimeFormat.H12 : TimeFormat.H24;\n};\n\n/**\n * Formats the time to be rendered\n * @param {Object} time - time object to be rendered\n * @param {Number} time.hours - hours\n * @param {Number} time.minutes - minutes\n * @param {Number} time.seconds - seconds\n * @param {String} time.period - period (am/pm). It is undefined when the time is to be shown in 24h format\n *\n * @returns {String} formatted time\n */\nconst getFormattedTime = (time) => {\n const { hours, minutes, seconds } = time;\n\n let timeToRender = `${padTime(hours)}:${padTime(minutes)}:${padTime(seconds)}`;\n if (time.period) {\n timeToRender += ` ${time.period}`;\n }\n return timeToRender;\n};\n\nexport { padTime, getFormattedTime, getTimeFormatForLocale };\n"],"mappings":"AAAA,SAASA,UAAT,QAA2B,SAA3B;AAEA;AACA;AACA;AACA;AACA;;AACA,MAAMC,OAAO,GAAIC,KAAD,IAAW;EACzB,IAAI,CAACA,KAAD,IAAUA,KAAK,GAAG,CAAtB,EAAyB;IACvB,OAAO,IAAP;EACD;;EACD,IAAIA,KAAK,GAAG,EAAR,IAAcA,KAAK,CAACC,QAAN,GAAiBC,MAAjB,KAA4B,CAA9C,EAAiD;IAC/C,OAAQ,IAAGF,KAAK,CAACC,QAAN,EAAiB,EAA5B;EACD;;EACD,OAAOD,KAAP;AACD,CARD;AAUA;AACA;AACA;AACA;AACA;;;AACA,MAAMG,sBAAsB,GAAIC,MAAD,IAAY;EACzC,MAAMC,OAAO,GAAG;IACdC,IAAI,EAAE;EADQ,CAAhB;EAGA,MAAMC,cAAc,GAAG,IAAIC,IAAI,CAACC,cAAT,CAAwBL,MAAxB,EAAgCC,OAAhC,CAAvB;EACA,MAAMK,gBAAgB,GAAGH,cAAc,CAACI,eAAf,GAAiCC,MAA1D;EACA,OAAOF,gBAAgB,GAAGZ,UAAU,CAACe,GAAd,GAAoBf,UAAU,CAACgB,GAAtD;AACD,CAPD;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,MAAMC,gBAAgB,GAAIC,IAAD,IAAU;EACjC,MAAM;IAAEC,KAAF;IAASC,OAAT;IAAkBC;EAAlB,IAA8BH,IAApC;EAEA,IAAII,YAAY,GAAI,GAAErB,OAAO,CAACkB,KAAD,CAAQ,IAAGlB,OAAO,CAACmB,OAAD,CAAU,IAAGnB,OAAO,CAACoB,OAAD,CAAU,EAA7E;;EACA,IAAIH,IAAI,CAACK,MAAT,EAAiB;IACfD,YAAY,IAAK,IAAGJ,IAAI,CAACK,MAAO,EAAhC;EACD;;EACD,OAAOD,YAAP;AACD,CARD;;AAUA,SAASrB,OAAT,EAAkBgB,gBAAlB,EAAoCZ,sBAApC"}
@@ -0,0 +1,26 @@
1
+ import { PeriodPickerOptions, TimePickerUnits } from "./enums";
2
+ /**
3
+ * Gets the period(am/pm) for a given time
4
+ * @param {Date} date - Date to get the period from. The default date is the current one.
5
+ * @returns {String} - AM or PM
6
+ */
7
+
8
+ const getPeriodForDate = (date = new Date()) => {
9
+ const hours = date.getHours();
10
+ return hours < 12 ? PeriodPickerOptions.AM : PeriodPickerOptions.PM;
11
+ };
12
+ /**
13
+ * Checks if the unit time value is inside the acceptable range
14
+ *
15
+ * @param {Number} value - unit time value
16
+ * @param {String} type - unit time type. One of the TimePickerUnits types.
17
+ */
18
+
19
+
20
+ const isUnitTimeInValidRange = (value, type) => {
21
+ const timeUnit = TimePickerUnits[type];
22
+ return value >= timeUnit.min && value <= timeUnit.max;
23
+ };
24
+
25
+ export { getPeriodForDate, isUnitTimeInValidRange };
26
+ //# sourceMappingURL=timePickerUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timePickerUtils.js","names":["PeriodPickerOptions","TimePickerUnits","getPeriodForDate","date","Date","hours","getHours","AM","PM","isUnitTimeInValidRange","value","type","timeUnit","min","max"],"sources":["../../../src/TimePicker/timePickerUtils.js"],"sourcesContent":["import { PeriodPickerOptions, TimePickerUnits } from \"./enums\";\n\n/**\n * Gets the period(am/pm) for a given time\n * @param {Date} date - Date to get the period from. The default date is the current one.\n * @returns {String} - AM or PM\n */\nconst getPeriodForDate = (date = new Date()) => {\n const hours = date.getHours();\n return hours < 12 ? PeriodPickerOptions.AM : PeriodPickerOptions.PM;\n};\n\n/**\n * Checks if the unit time value is inside the acceptable range\n *\n * @param {Number} value - unit time value\n * @param {String} type - unit time type. One of the TimePickerUnits types.\n */\nconst isUnitTimeInValidRange = (value, type) => {\n const timeUnit = TimePickerUnits[type];\n return value >= timeUnit.min && value <= timeUnit.max;\n};\n\nexport { getPeriodForDate, isUnitTimeInValidRange };\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,eAA9B,QAAqD,SAArD;AAEA;AACA;AACA;AACA;AACA;;AACA,MAAMC,gBAAgB,GAAG,CAACC,IAAI,GAAG,IAAIC,IAAJ,EAAR,KAAuB;EAC9C,MAAMC,KAAK,GAAGF,IAAI,CAACG,QAAL,EAAd;EACA,OAAOD,KAAK,GAAG,EAAR,GAAaL,mBAAmB,CAACO,EAAjC,GAAsCP,mBAAmB,CAACQ,EAAjE;AACD,CAHD;AAKA;AACA;AACA;AACA;AACA;AACA;;;AACA,MAAMC,sBAAsB,GAAG,CAACC,KAAD,EAAQC,IAAR,KAAiB;EAC9C,MAAMC,QAAQ,GAAGX,eAAe,CAACU,IAAD,CAAhC;EACA,OAAOD,KAAK,IAAIE,QAAQ,CAACC,GAAlB,IAAyBH,KAAK,IAAIE,QAAQ,CAACE,GAAlD;AACD,CAHD;;AAKA,SAASZ,gBAAT,EAA2BO,sBAA3B"}
@@ -0,0 +1,26 @@
1
+ export { default as HvAppSwitcherPanel } from "./AppSwitcherPanel";
2
+ export * from "./AppSwitcherPanel";
3
+
4
+ export { default as HvCodeEditor } from "./CodeEditor";
5
+ export * from "./CodeEditor";
6
+
7
+ export { default as HvFooter } from "./Footer";
8
+ export * from "./Footer";
9
+
10
+ export { default as HvFormComposer } from "./FormComposer";
11
+ export * from "./FormComposer";
12
+
13
+ export { default as HvLoading } from "./Loading";
14
+ export * from "./Loading";
15
+
16
+ export { default as HvNavigationAnchors } from "./NavigationAnchors";
17
+ export * from "./NavigationAnchors";
18
+
19
+ export { default as HvNotificationPanel } from "./NotificationPanel";
20
+ export * from "./NotificationPanel";
21
+
22
+ export { default as HvSlider } from "./Slider";
23
+ export * from "./Slider";
24
+
25
+ export { default as HvTimePicker } from "./TimePicker";
26
+ export * from "./TimePicker";
@@ -0,0 +1,11 @@
1
+ // components
2
+ export { default as HvAppSwitcherPanel } from "./AppSwitcherPanel";
3
+ export { default as HvCodeEditor } from "./CodeEditor";
4
+ export { default as HvFooter } from "./Footer";
5
+ export { default as HvFormComposer } from "./FormComposer";
6
+ export { default as HvLoading } from "./Loading";
7
+ export { default as HvNavigationAnchors } from "./NavigationAnchors";
8
+ export { default as HvNotificationPanel } from "./NotificationPanel";
9
+ export { default as HvSlider } from "./Slider";
10
+ export { default as HvTimePicker } from "./TimePicker";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["default","HvAppSwitcherPanel","HvCodeEditor","HvFooter","HvFormComposer","HvLoading","HvNavigationAnchors","HvNotificationPanel","HvSlider","HvTimePicker"],"sources":["../../src/index.js"],"sourcesContent":["// components\nexport { default as HvAppSwitcherPanel } from \"./AppSwitcherPanel\";\nexport { default as HvCodeEditor } from \"./CodeEditor\";\nexport { default as HvFooter } from \"./Footer\";\nexport { default as HvFormComposer } from \"./FormComposer\";\nexport { default as HvLoading } from \"./Loading\";\nexport { default as HvNavigationAnchors } from \"./NavigationAnchors\";\nexport { default as HvNotificationPanel } from \"./NotificationPanel\";\nexport { default as HvSlider } from \"./Slider\";\nexport { default as HvTimePicker } from \"./TimePicker\";\n"],"mappings":"AAAA;AACA,SAASA,OAAO,IAAIC,kBAApB,QAA8C,oBAA9C;AACA,SAASD,OAAO,IAAIE,YAApB,QAAwC,cAAxC;AACA,SAASF,OAAO,IAAIG,QAApB,QAAoC,UAApC;AACA,SAASH,OAAO,IAAII,cAApB,QAA0C,gBAA1C;AACA,SAASJ,OAAO,IAAIK,SAApB,QAAqC,WAArC;AACA,SAASL,OAAO,IAAIM,mBAApB,QAA+C,qBAA/C;AACA,SAASN,OAAO,IAAIO,mBAApB,QAA+C,qBAA/C;AACA,SAASP,OAAO,IAAIQ,QAApB,QAAoC,UAApC;AACA,SAASR,OAAO,IAAIS,YAApB,QAAwC,cAAxC"}
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import withStyles from "@material-ui/core/styles/withStyles";
3
+
4
+ const withStylesProps = styles => Component => props => {
5
+ const Comp = withStyles(styles(props))(Component);
6
+ return /*#__PURE__*/React.createElement(Comp, props);
7
+ };
8
+
9
+ export default withStylesProps;
10
+ //# sourceMappingURL=WithStyleProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithStyleProps.js","names":["React","withStyles","withStylesProps","styles","Component","props","Comp"],"sources":["../../../src/withStyleProps/WithStyleProps.js"],"sourcesContent":["import React from \"react\";\nimport withStyles from \"@material-ui/core/styles/withStyles\";\n\nconst withStylesProps = (styles) => (Component) => (props) => {\n const Comp = withStyles(styles(props))(Component);\n return <Comp {...props} />;\n};\n\nexport default withStylesProps;\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,UAAP,MAAuB,qCAAvB;;AAEA,MAAMC,eAAe,GAAIC,MAAD,IAAaC,SAAD,IAAgBC,KAAD,IAAW;EAC5D,MAAMC,IAAI,GAAGL,UAAU,CAACE,MAAM,CAACE,KAAD,CAAP,CAAV,CAA0BD,SAA1B,CAAb;EACA,oBAAO,oBAAC,IAAD,EAAUC,KAAV,CAAP;AACD,CAHD;;AAKA,eAAeH,eAAf"}
@@ -0,0 +1,2 @@
1
+ export { default } from "./WithStyleProps";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["default"],"sources":["../../../src/withStyleProps/index.js"],"sourcesContent":["export { default } from \"./WithStyleProps\";\n"],"mappings":"AAAA,SAASA,OAAT,QAAwB,kBAAxB"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
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 _withStyles = _interopRequireDefault(require("@material-ui/core/styles/withStyles"));
13
+
14
+ var withStylesProps = function withStylesProps(styles) {
15
+ return function (Component) {
16
+ return function (props) {
17
+ var Comp = (0, _withStyles.default)(styles(props))(Component);
18
+ return /*#__PURE__*/_react.default.createElement(Comp, props);
19
+ };
20
+ };
21
+ };
22
+
23
+ var _default = withStylesProps;
24
+ exports.default = _default;
25
+ //# sourceMappingURL=WithStyleProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithStyleProps.js","names":["withStylesProps","styles","Component","props","Comp","withStyles"],"sources":["../../src/withStyleProps/WithStyleProps.js"],"sourcesContent":["import React from \"react\";\nimport withStyles from \"@material-ui/core/styles/withStyles\";\n\nconst withStylesProps = (styles) => (Component) => (props) => {\n const Comp = withStyles(styles(props))(Component);\n return <Comp {...props} />;\n};\n\nexport default withStylesProps;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA,IAAMA,eAAe,GAAG,SAAlBA,eAAkB,CAACC,MAAD;EAAA,OAAY,UAACC,SAAD;IAAA,OAAe,UAACC,KAAD,EAAW;MAC5D,IAAMC,IAAI,GAAG,IAAAC,mBAAA,EAAWJ,MAAM,CAACE,KAAD,CAAjB,EAA0BD,SAA1B,CAAb;MACA,oBAAO,6BAAC,IAAD,EAAUC,KAAV,CAAP;IACD,CAHmC;EAAA,CAAZ;AAAA,CAAxB;;eAKeH,e"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ Object.defineProperty(exports, "default", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _WithStyleProps.default;
12
+ }
13
+ });
14
+
15
+ var _WithStyleProps = _interopRequireDefault(require("./WithStyleProps"));
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/withStyleProps/index.js"],"sourcesContent":["export { default } from \"./WithStyleProps\";\n"],"mappings":";;;;;;;;;;;;;;AAAA"}
package/package.json ADDED
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@hitachivantara/uikit-react-lab",
3
+ "version": "2.6.18",
4
+ "description": "A collection of contributed React components for the Hitachi Vantara's Design System.",
5
+ "homepage": "https://github.com/pentaho/hv-uikit-react",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "Hitachi Vantara UI Kit Team"
9
+ },
10
+ "sideEffects": false,
11
+ "exports": {
12
+ ".": "./dist/modern/index.js",
13
+ "./dist/": "./dist/modern/"
14
+ },
15
+ "main": "./dist/index.js",
16
+ "module": "./dist/legacy/index.js",
17
+ "typings": "dist/index.d.ts",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/pentaho/hv-uikit-react.git"
21
+ },
22
+ "scripts": {
23
+ "build": "npx npm-run-all --npm-path npm --serial clean build:babel build:post:**",
24
+ "build:babel": "npx npm-run-all --npm-path npm --parallel build:babel:*",
25
+ "build:babel:node": "BABEL_ENV=commonjs npx babel --root-mode upward src -d dist --extensions '.js,.jsx' --source-maps --ignore '**/tests','**/stories' --copy-files --no-copy-ignored",
26
+ "build:babel:legacy": "BABEL_ENV=legacy npx babel --root-mode upward src -d dist/legacy --extensions '.js,.jsx' --source-maps --ignore '**/tests','**/stories' --copy-files --no-copy-ignored",
27
+ "build:babel:modern": "BABEL_ENV=modern npx babel --root-mode upward src -d dist/modern --extensions '.js,.jsx' --source-maps --ignore '**/tests','**/stories' --copy-files --no-copy-ignored",
28
+ "build:post:clean-snapshots": "npx rimraf **/dist/**/tests",
29
+ "dev": "npx npm-run-all --npm-path npm clean dev:babel:watch",
30
+ "dev:babel:watch": "npx babel --root-mode upward src -d dist --extensions '.js,.jsx' --source-maps --ignore '**/tests','**/stories' --copy-files --no-copy-ignored --watch",
31
+ "clean": "npx rimraf dist hv-uikit-react-lab-*.tgz",
32
+ "test": "jest --coverage",
33
+ "test:watch": "jest --watch",
34
+ "test:update": "jest --u",
35
+ "prepack": "npm run build",
36
+ "pack": "npm pack",
37
+ "link": "npm link",
38
+ "lint:prettier": "npx prettier --check \"src/**/*.js\"",
39
+ "license-check": "node ../../scripts/license-check.cjs ../../config/license-check.json",
40
+ "ts-check": "npx tsc -p ."
41
+ },
42
+ "peerDependencies": {
43
+ "@material-ui/core": "~4.8.0",
44
+ "monaco-editor": "0.20.0",
45
+ "react": "^16.8.6",
46
+ "react-dom": "^16.8.6",
47
+ "react-monaco-editor": "^0.36.0"
48
+ },
49
+ "dependencies": {
50
+ "@hitachivantara/uikit-react-core": "^2.23.2",
51
+ "@hitachivantara/uikit-react-icons": "^2.3.14",
52
+ "clsx": "^1.2.1",
53
+ "lodash": "^4.17.21",
54
+ "moment": "^2.29.4",
55
+ "moment-timezone": "^0.5.34",
56
+ "prop-types": "^15.8.1",
57
+ "rc-slider": "8.6.3",
58
+ "rc-tooltip": "^3.7.3"
59
+ },
60
+ "devDependencies": {
61
+ "jest": "^28.1.3",
62
+ "npm-run-all": "^4.1.5"
63
+ },
64
+ "files": [
65
+ "dist"
66
+ ],
67
+ "publishConfig": {
68
+ "access": "public",
69
+ "tag": "previous"
70
+ },
71
+ "gitHead": "b0d1b536309231126e0141f8119d28f500cd38d0"
72
+ }