@hitachivantara/uikit-react-lab 4.0.3 → 4.0.4

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 (420) hide show
  1. package/dist/ColorPicker/ColorPicker.js +25 -78
  2. package/dist/ColorPicker/ColorPicker.js.map +1 -1
  3. package/dist/ColorPicker/Fields/Fields.js +15 -47
  4. package/dist/ColorPicker/Fields/Fields.js.map +1 -1
  5. package/dist/ColorPicker/Fields/index.js +0 -2
  6. package/dist/ColorPicker/Fields/index.js.map +1 -1
  7. package/dist/ColorPicker/Fields/styles.js +0 -2
  8. package/dist/ColorPicker/Fields/styles.js.map +1 -1
  9. package/dist/ColorPicker/Picker/Picker.js +5 -23
  10. package/dist/ColorPicker/Picker/Picker.js.map +1 -1
  11. package/dist/ColorPicker/Picker/index.js +0 -2
  12. package/dist/ColorPicker/Picker/index.js.map +1 -1
  13. package/dist/ColorPicker/Picker/styles.js +0 -2
  14. package/dist/ColorPicker/Picker/styles.js.map +1 -1
  15. package/dist/ColorPicker/PresetColors/PresetColors.js +2 -24
  16. package/dist/ColorPicker/PresetColors/PresetColors.js.map +1 -1
  17. package/dist/ColorPicker/PresetColors/index.js +0 -2
  18. package/dist/ColorPicker/PresetColors/index.js.map +1 -1
  19. package/dist/ColorPicker/PresetColors/styles.js +0 -2
  20. package/dist/ColorPicker/PresetColors/styles.js.map +1 -1
  21. package/dist/ColorPicker/index.js +0 -2
  22. package/dist/ColorPicker/index.js.map +1 -1
  23. package/dist/ColorPicker/styles.js +0 -2
  24. package/dist/ColorPicker/styles.js.map +1 -1
  25. package/dist/Drawer/Drawer.js +10 -50
  26. package/dist/Drawer/Drawer.js.map +1 -1
  27. package/dist/Drawer/index.js +0 -2
  28. package/dist/Drawer/index.js.map +1 -1
  29. package/dist/Drawer/styles.js +0 -3
  30. package/dist/Drawer/styles.js.map +1 -1
  31. package/dist/ImageCarousel/ImageCarousel.js +46 -149
  32. package/dist/ImageCarousel/ImageCarousel.js.map +1 -1
  33. package/dist/ImageCarousel/index.js +0 -2
  34. package/dist/ImageCarousel/index.js.map +1 -1
  35. package/dist/ImageCarousel/styles.js +0 -5
  36. package/dist/ImageCarousel/styles.js.map +1 -1
  37. package/dist/InlineEditor/InlineEditor.js +25 -82
  38. package/dist/InlineEditor/InlineEditor.js.map +1 -1
  39. package/dist/InlineEditor/index.js +0 -2
  40. package/dist/InlineEditor/index.js.map +1 -1
  41. package/dist/InlineEditor/styles.js +0 -14
  42. package/dist/InlineEditor/styles.js.map +1 -1
  43. package/dist/NavigationAnchors/NavigationAnchors.js +44 -116
  44. package/dist/NavigationAnchors/NavigationAnchors.js.map +1 -1
  45. package/dist/NavigationAnchors/NavigationOption.js +0 -10
  46. package/dist/NavigationAnchors/NavigationOption.js.map +1 -1
  47. package/dist/NavigationAnchors/index.js +0 -2
  48. package/dist/NavigationAnchors/index.js.map +1 -1
  49. package/dist/NavigationAnchors/styles.js +0 -2
  50. package/dist/NavigationAnchors/styles.js.map +1 -1
  51. package/dist/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js +5 -26
  52. package/dist/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js.map +1 -1
  53. package/dist/NotificationPanel/EmptyStatePanel/index.js +0 -2
  54. package/dist/NotificationPanel/EmptyStatePanel/index.js.map +1 -1
  55. package/dist/NotificationPanel/EmptyStatePanel/styles.js +0 -2
  56. package/dist/NotificationPanel/EmptyStatePanel/styles.js.map +1 -1
  57. package/dist/NotificationPanel/Notification/Notification.js +12 -57
  58. package/dist/NotificationPanel/Notification/Notification.js.map +1 -1
  59. package/dist/NotificationPanel/Notification/index.js +0 -2
  60. package/dist/NotificationPanel/Notification/index.js.map +1 -1
  61. package/dist/NotificationPanel/Notification/styles.js +0 -14
  62. package/dist/NotificationPanel/Notification/styles.js.map +1 -1
  63. package/dist/NotificationPanel/NotificationPanel.js +23 -92
  64. package/dist/NotificationPanel/NotificationPanel.js.map +1 -1
  65. package/dist/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js +4 -35
  66. package/dist/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js.map +1 -1
  67. package/dist/NotificationPanel/NotificationsIndicator/index.js +0 -2
  68. package/dist/NotificationPanel/NotificationsIndicator/index.js.map +1 -1
  69. package/dist/NotificationPanel/NotificationsIndicator/styles.js +0 -2
  70. package/dist/NotificationPanel/NotificationsIndicator/styles.js.map +1 -1
  71. package/dist/NotificationPanel/index.js +0 -2
  72. package/dist/NotificationPanel/index.js.map +1 -1
  73. package/dist/NotificationPanel/styles.js +0 -2
  74. package/dist/NotificationPanel/styles.js.map +1 -1
  75. package/dist/StepNavigation/DefaultNavigation/DefaultNavigation.js +15 -44
  76. package/dist/StepNavigation/DefaultNavigation/DefaultNavigation.js.map +1 -1
  77. package/dist/StepNavigation/DefaultNavigation/Step/Step.js +9 -41
  78. package/dist/StepNavigation/DefaultNavigation/Step/Step.js.map +1 -1
  79. package/dist/StepNavigation/DefaultNavigation/Step/index.js +0 -2
  80. package/dist/StepNavigation/DefaultNavigation/Step/index.js.map +1 -1
  81. package/dist/StepNavigation/DefaultNavigation/Step/styles.js +0 -2
  82. package/dist/StepNavigation/DefaultNavigation/Step/styles.js.map +1 -1
  83. package/dist/StepNavigation/DefaultNavigation/index.js +0 -2
  84. package/dist/StepNavigation/DefaultNavigation/index.js.map +1 -1
  85. package/dist/StepNavigation/DefaultNavigation/styles.js +0 -2
  86. package/dist/StepNavigation/DefaultNavigation/styles.js.map +1 -1
  87. package/dist/StepNavigation/DefaultNavigation/utils.js +0 -3
  88. package/dist/StepNavigation/DefaultNavigation/utils.js.map +1 -1
  89. package/dist/StepNavigation/SimpleNavigation/Dot/Dot.js +6 -47
  90. package/dist/StepNavigation/SimpleNavigation/Dot/Dot.js.map +1 -1
  91. package/dist/StepNavigation/SimpleNavigation/Dot/index.js +0 -2
  92. package/dist/StepNavigation/SimpleNavigation/Dot/index.js.map +1 -1
  93. package/dist/StepNavigation/SimpleNavigation/Dot/styles.js.map +1 -1
  94. package/dist/StepNavigation/SimpleNavigation/SimpleNavigation.js +14 -44
  95. package/dist/StepNavigation/SimpleNavigation/SimpleNavigation.js.map +1 -1
  96. package/dist/StepNavigation/SimpleNavigation/index.js +0 -2
  97. package/dist/StepNavigation/SimpleNavigation/index.js.map +1 -1
  98. package/dist/StepNavigation/SimpleNavigation/styles.js +0 -2
  99. package/dist/StepNavigation/SimpleNavigation/styles.js.map +1 -1
  100. package/dist/StepNavigation/SimpleNavigation/utils.js +0 -6
  101. package/dist/StepNavigation/SimpleNavigation/utils.js.map +1 -1
  102. package/dist/StepNavigation/StepNavigation.js +39 -106
  103. package/dist/StepNavigation/StepNavigation.js.map +1 -1
  104. package/dist/StepNavigation/index.js +0 -2
  105. package/dist/StepNavigation/index.js.map +1 -1
  106. package/dist/StepNavigation/styles.js +0 -2
  107. package/dist/StepNavigation/styles.js.map +1 -1
  108. package/dist/StepNavigation/utils.js.map +1 -1
  109. package/dist/TimeAgo/TimeAgo.js +13 -44
  110. package/dist/TimeAgo/TimeAgo.js.map +1 -1
  111. package/dist/TimeAgo/formatUtils.js +15 -35
  112. package/dist/TimeAgo/formatUtils.js.map +1 -1
  113. package/dist/TimeAgo/index.js +0 -3
  114. package/dist/TimeAgo/index.js.map +1 -1
  115. package/dist/TimeAgo/styles.js.map +1 -1
  116. package/dist/TimeAgo/useTimeAgo.js +7 -16
  117. package/dist/TimeAgo/useTimeAgo.js.map +1 -1
  118. package/dist/TimeAgo/useTimeout.js +0 -2
  119. package/dist/TimeAgo/useTimeout.js.map +1 -1
  120. package/dist/Wizard/Wizard.js +30 -82
  121. package/dist/Wizard/Wizard.js.map +1 -1
  122. package/dist/Wizard/WizardActions/WizardActions.js +26 -81
  123. package/dist/Wizard/WizardActions/WizardActions.js.map +1 -1
  124. package/dist/Wizard/WizardActions/index.js +0 -2
  125. package/dist/Wizard/WizardActions/index.js.map +1 -1
  126. package/dist/Wizard/WizardActions/styles.js +0 -2
  127. package/dist/Wizard/WizardActions/styles.js.map +1 -1
  128. package/dist/Wizard/WizardContainer/WizardContainer.js +5 -35
  129. package/dist/Wizard/WizardContainer/WizardContainer.js.map +1 -1
  130. package/dist/Wizard/WizardContainer/index.js +0 -2
  131. package/dist/Wizard/WizardContainer/index.js.map +1 -1
  132. package/dist/Wizard/WizardContainer/styles.js +0 -2
  133. package/dist/Wizard/WizardContainer/styles.js.map +1 -1
  134. package/dist/Wizard/WizardContent/LoadingContainer.js +2 -25
  135. package/dist/Wizard/WizardContent/LoadingContainer.js.map +1 -1
  136. package/dist/Wizard/WizardContent/WizardContent.js +10 -53
  137. package/dist/Wizard/WizardContent/WizardContent.js.map +1 -1
  138. package/dist/Wizard/WizardContent/index.js +0 -2
  139. package/dist/Wizard/WizardContent/index.js.map +1 -1
  140. package/dist/Wizard/WizardContent/styles.js +0 -2
  141. package/dist/Wizard/WizardContent/styles.js.map +1 -1
  142. package/dist/Wizard/WizardContext/WizardContext.js +0 -4
  143. package/dist/Wizard/WizardContext/WizardContext.js.map +1 -1
  144. package/dist/Wizard/WizardContext/WizardContextProvider.js +1 -10
  145. package/dist/Wizard/WizardContext/WizardContextProvider.js.map +1 -1
  146. package/dist/Wizard/WizardContext/index.js +0 -3
  147. package/dist/Wizard/WizardContext/index.js.map +1 -1
  148. package/dist/Wizard/WizardTitle/WizardTitle.js +16 -57
  149. package/dist/Wizard/WizardTitle/WizardTitle.js.map +1 -1
  150. package/dist/Wizard/WizardTitle/index.js +0 -2
  151. package/dist/Wizard/WizardTitle/index.js.map +1 -1
  152. package/dist/Wizard/WizardTitle/styles.js +0 -2
  153. package/dist/Wizard/WizardTitle/styles.js.map +1 -1
  154. package/dist/Wizard/index.js +0 -8
  155. package/dist/Wizard/index.js.map +1 -1
  156. package/dist/Wizard/styles.js +0 -2
  157. package/dist/Wizard/styles.js.map +1 -1
  158. package/dist/index.js +0 -23
  159. package/dist/index.js.map +1 -1
  160. package/dist/legacy/ColorPicker/ColorPicker.js +26 -51
  161. package/dist/legacy/ColorPicker/ColorPicker.js.map +1 -1
  162. package/dist/legacy/ColorPicker/Fields/Fields.js +17 -27
  163. package/dist/legacy/ColorPicker/Fields/Fields.js.map +1 -1
  164. package/dist/legacy/ColorPicker/Fields/index.js.map +1 -1
  165. package/dist/legacy/ColorPicker/Fields/styles.js.map +1 -1
  166. package/dist/legacy/ColorPicker/Picker/Picker.js +7 -7
  167. package/dist/legacy/ColorPicker/Picker/Picker.js.map +1 -1
  168. package/dist/legacy/ColorPicker/Picker/index.js.map +1 -1
  169. package/dist/legacy/ColorPicker/Picker/styles.js.map +1 -1
  170. package/dist/legacy/ColorPicker/PresetColors/PresetColors.js +2 -7
  171. package/dist/legacy/ColorPicker/PresetColors/PresetColors.js.map +1 -1
  172. package/dist/legacy/ColorPicker/PresetColors/index.js.map +1 -1
  173. package/dist/legacy/ColorPicker/PresetColors/styles.js.map +1 -1
  174. package/dist/legacy/ColorPicker/index.js.map +1 -1
  175. package/dist/legacy/ColorPicker/styles.js +0 -1
  176. package/dist/legacy/ColorPicker/styles.js.map +1 -1
  177. package/dist/legacy/Drawer/Drawer.js +11 -30
  178. package/dist/legacy/Drawer/Drawer.js.map +1 -1
  179. package/dist/legacy/Drawer/index.js.map +1 -1
  180. package/dist/legacy/Drawer/styles.js +0 -2
  181. package/dist/legacy/Drawer/styles.js.map +1 -1
  182. package/dist/legacy/ImageCarousel/ImageCarousel.js +46 -120
  183. package/dist/legacy/ImageCarousel/ImageCarousel.js.map +1 -1
  184. package/dist/legacy/ImageCarousel/index.js.map +1 -1
  185. package/dist/legacy/ImageCarousel/styles.js +0 -3
  186. package/dist/legacy/ImageCarousel/styles.js.map +1 -1
  187. package/dist/legacy/InlineEditor/InlineEditor.js +26 -55
  188. package/dist/legacy/InlineEditor/InlineEditor.js.map +1 -1
  189. package/dist/legacy/InlineEditor/index.js.map +1 -1
  190. package/dist/legacy/InlineEditor/styles.js +0 -5
  191. package/dist/legacy/InlineEditor/styles.js.map +1 -1
  192. package/dist/legacy/NavigationAnchors/NavigationAnchors.js +44 -82
  193. package/dist/legacy/NavigationAnchors/NavigationAnchors.js.map +1 -1
  194. package/dist/legacy/NavigationAnchors/NavigationOption.js +0 -5
  195. package/dist/legacy/NavigationAnchors/NavigationOption.js.map +1 -1
  196. package/dist/legacy/NavigationAnchors/index.js.map +1 -1
  197. package/dist/legacy/NavigationAnchors/styles.js +0 -1
  198. package/dist/legacy/NavigationAnchors/styles.js.map +1 -1
  199. package/dist/legacy/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js +5 -16
  200. package/dist/legacy/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js.map +1 -1
  201. package/dist/legacy/NotificationPanel/EmptyStatePanel/index.js.map +1 -1
  202. package/dist/legacy/NotificationPanel/EmptyStatePanel/styles.js +0 -1
  203. package/dist/legacy/NotificationPanel/EmptyStatePanel/styles.js.map +1 -1
  204. package/dist/legacy/NotificationPanel/Notification/Notification.js +12 -44
  205. package/dist/legacy/NotificationPanel/Notification/Notification.js.map +1 -1
  206. package/dist/legacy/NotificationPanel/Notification/index.js.map +1 -1
  207. package/dist/legacy/NotificationPanel/Notification/styles.js +0 -5
  208. package/dist/legacy/NotificationPanel/Notification/styles.js.map +1 -1
  209. package/dist/legacy/NotificationPanel/NotificationPanel.js +23 -61
  210. package/dist/legacy/NotificationPanel/NotificationPanel.js.map +1 -1
  211. package/dist/legacy/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js +4 -17
  212. package/dist/legacy/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js.map +1 -1
  213. package/dist/legacy/NotificationPanel/NotificationsIndicator/index.js.map +1 -1
  214. package/dist/legacy/NotificationPanel/NotificationsIndicator/styles.js +0 -1
  215. package/dist/legacy/NotificationPanel/NotificationsIndicator/styles.js.map +1 -1
  216. package/dist/legacy/NotificationPanel/index.js.map +1 -1
  217. package/dist/legacy/NotificationPanel/styles.js +0 -1
  218. package/dist/legacy/NotificationPanel/styles.js.map +1 -1
  219. package/dist/legacy/StepNavigation/DefaultNavigation/DefaultNavigation.js +16 -27
  220. package/dist/legacy/StepNavigation/DefaultNavigation/DefaultNavigation.js.map +1 -1
  221. package/dist/legacy/StepNavigation/DefaultNavigation/Step/Step.js +10 -29
  222. package/dist/legacy/StepNavigation/DefaultNavigation/Step/Step.js.map +1 -1
  223. package/dist/legacy/StepNavigation/DefaultNavigation/Step/index.js.map +1 -1
  224. package/dist/legacy/StepNavigation/DefaultNavigation/Step/styles.js +0 -1
  225. package/dist/legacy/StepNavigation/DefaultNavigation/Step/styles.js.map +1 -1
  226. package/dist/legacy/StepNavigation/DefaultNavigation/index.js.map +1 -1
  227. package/dist/legacy/StepNavigation/DefaultNavigation/styles.js +0 -1
  228. package/dist/legacy/StepNavigation/DefaultNavigation/styles.js.map +1 -1
  229. package/dist/legacy/StepNavigation/DefaultNavigation/utils.js +0 -2
  230. package/dist/legacy/StepNavigation/DefaultNavigation/utils.js.map +1 -1
  231. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/Dot.js +7 -21
  232. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/Dot.js.map +1 -1
  233. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/index.js.map +1 -1
  234. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/styles.js.map +1 -1
  235. package/dist/legacy/StepNavigation/SimpleNavigation/SimpleNavigation.js +15 -26
  236. package/dist/legacy/StepNavigation/SimpleNavigation/SimpleNavigation.js.map +1 -1
  237. package/dist/legacy/StepNavigation/SimpleNavigation/index.js.map +1 -1
  238. package/dist/legacy/StepNavigation/SimpleNavigation/styles.js +0 -1
  239. package/dist/legacy/StepNavigation/SimpleNavigation/styles.js.map +1 -1
  240. package/dist/legacy/StepNavigation/SimpleNavigation/utils.js +0 -6
  241. package/dist/legacy/StepNavigation/SimpleNavigation/utils.js.map +1 -1
  242. package/dist/legacy/StepNavigation/StepNavigation.js +40 -78
  243. package/dist/legacy/StepNavigation/StepNavigation.js.map +1 -1
  244. package/dist/legacy/StepNavigation/index.js.map +1 -1
  245. package/dist/legacy/StepNavigation/styles.js +0 -1
  246. package/dist/legacy/StepNavigation/styles.js.map +1 -1
  247. package/dist/legacy/StepNavigation/utils.js.map +1 -1
  248. package/dist/legacy/TimeAgo/TimeAgo.js +14 -27
  249. package/dist/legacy/TimeAgo/TimeAgo.js.map +1 -1
  250. package/dist/legacy/TimeAgo/formatUtils.js +16 -18
  251. package/dist/legacy/TimeAgo/formatUtils.js.map +1 -1
  252. package/dist/legacy/TimeAgo/index.js.map +1 -1
  253. package/dist/legacy/TimeAgo/styles.js.map +1 -1
  254. package/dist/legacy/TimeAgo/useTimeAgo.js +8 -11
  255. package/dist/legacy/TimeAgo/useTimeAgo.js.map +1 -1
  256. package/dist/legacy/TimeAgo/useTimeout.js.map +1 -1
  257. package/dist/legacy/Wizard/Wizard.js +30 -56
  258. package/dist/legacy/Wizard/Wizard.js.map +1 -1
  259. package/dist/legacy/Wizard/WizardActions/WizardActions.js +26 -55
  260. package/dist/legacy/Wizard/WizardActions/WizardActions.js.map +1 -1
  261. package/dist/legacy/Wizard/WizardActions/index.js.map +1 -1
  262. package/dist/legacy/Wizard/WizardActions/styles.js +0 -1
  263. package/dist/legacy/Wizard/WizardActions/styles.js.map +1 -1
  264. package/dist/legacy/Wizard/WizardContainer/WizardContainer.js +5 -17
  265. package/dist/legacy/Wizard/WizardContainer/WizardContainer.js.map +1 -1
  266. package/dist/legacy/Wizard/WizardContainer/index.js.map +1 -1
  267. package/dist/legacy/Wizard/WizardContainer/styles.js +0 -1
  268. package/dist/legacy/Wizard/WizardContainer/styles.js.map +1 -1
  269. package/dist/legacy/Wizard/WizardContent/LoadingContainer.js +2 -8
  270. package/dist/legacy/Wizard/WizardContent/LoadingContainer.js.map +1 -1
  271. package/dist/legacy/Wizard/WizardContent/WizardContent.js +10 -26
  272. package/dist/legacy/Wizard/WizardContent/WizardContent.js.map +1 -1
  273. package/dist/legacy/Wizard/WizardContent/index.js.map +1 -1
  274. package/dist/legacy/Wizard/WizardContent/styles.js +0 -1
  275. package/dist/legacy/Wizard/WizardContent/styles.js.map +1 -1
  276. package/dist/legacy/Wizard/WizardContext/WizardContext.js +0 -2
  277. package/dist/legacy/Wizard/WizardContext/WizardContext.js.map +1 -1
  278. package/dist/legacy/Wizard/WizardContext/WizardContextProvider.js +1 -5
  279. package/dist/legacy/Wizard/WizardContext/WizardContextProvider.js.map +1 -1
  280. package/dist/legacy/Wizard/WizardContext/index.js.map +1 -1
  281. package/dist/legacy/Wizard/WizardTitle/WizardTitle.js +16 -41
  282. package/dist/legacy/Wizard/WizardTitle/WizardTitle.js.map +1 -1
  283. package/dist/legacy/Wizard/WizardTitle/index.js.map +1 -1
  284. package/dist/legacy/Wizard/WizardTitle/styles.js +0 -1
  285. package/dist/legacy/Wizard/WizardTitle/styles.js.map +1 -1
  286. package/dist/legacy/Wizard/index.js.map +1 -1
  287. package/dist/legacy/Wizard/styles.js +0 -1
  288. package/dist/legacy/Wizard/styles.js.map +1 -1
  289. package/dist/legacy/index.js.map +1 -1
  290. package/dist/modern/ColorPicker/ColorPicker.js +1 -25
  291. package/dist/modern/ColorPicker/ColorPicker.js.map +1 -1
  292. package/dist/modern/ColorPicker/Fields/Fields.js +3 -10
  293. package/dist/modern/ColorPicker/Fields/Fields.js.map +1 -1
  294. package/dist/modern/ColorPicker/Fields/index.js.map +1 -1
  295. package/dist/modern/ColorPicker/Fields/styles.js.map +1 -1
  296. package/dist/modern/ColorPicker/Picker/Picker.js +3 -3
  297. package/dist/modern/ColorPicker/Picker/Picker.js.map +1 -1
  298. package/dist/modern/ColorPicker/Picker/index.js.map +1 -1
  299. package/dist/modern/ColorPicker/Picker/styles.js.map +1 -1
  300. package/dist/modern/ColorPicker/PresetColors/PresetColors.js +0 -5
  301. package/dist/modern/ColorPicker/PresetColors/PresetColors.js.map +1 -1
  302. package/dist/modern/ColorPicker/PresetColors/index.js.map +1 -1
  303. package/dist/modern/ColorPicker/PresetColors/styles.js.map +1 -1
  304. package/dist/modern/ColorPicker/index.js.map +1 -1
  305. package/dist/modern/ColorPicker/styles.js +0 -1
  306. package/dist/modern/ColorPicker/styles.js.map +1 -1
  307. package/dist/modern/Drawer/Drawer.js +11 -30
  308. package/dist/modern/Drawer/Drawer.js.map +1 -1
  309. package/dist/modern/Drawer/index.js.map +1 -1
  310. package/dist/modern/Drawer/styles.js +0 -2
  311. package/dist/modern/Drawer/styles.js.map +1 -1
  312. package/dist/modern/ImageCarousel/ImageCarousel.js +18 -83
  313. package/dist/modern/ImageCarousel/ImageCarousel.js.map +1 -1
  314. package/dist/modern/ImageCarousel/index.js.map +1 -1
  315. package/dist/modern/ImageCarousel/styles.js +0 -1
  316. package/dist/modern/ImageCarousel/styles.js.map +1 -1
  317. package/dist/modern/InlineEditor/InlineEditor.js +16 -43
  318. package/dist/modern/InlineEditor/InlineEditor.js.map +1 -1
  319. package/dist/modern/InlineEditor/index.js.map +1 -1
  320. package/dist/modern/InlineEditor/styles.js +0 -5
  321. package/dist/modern/InlineEditor/styles.js.map +1 -1
  322. package/dist/modern/NavigationAnchors/NavigationAnchors.js +40 -74
  323. package/dist/modern/NavigationAnchors/NavigationAnchors.js.map +1 -1
  324. package/dist/modern/NavigationAnchors/NavigationOption.js +0 -6
  325. package/dist/modern/NavigationAnchors/NavigationOption.js.map +1 -1
  326. package/dist/modern/NavigationAnchors/index.js.map +1 -1
  327. package/dist/modern/NavigationAnchors/styles.js +0 -1
  328. package/dist/modern/NavigationAnchors/styles.js.map +1 -1
  329. package/dist/modern/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js +0 -11
  330. package/dist/modern/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js.map +1 -1
  331. package/dist/modern/NotificationPanel/EmptyStatePanel/index.js.map +1 -1
  332. package/dist/modern/NotificationPanel/EmptyStatePanel/styles.js +0 -1
  333. package/dist/modern/NotificationPanel/EmptyStatePanel/styles.js.map +1 -1
  334. package/dist/modern/NotificationPanel/Notification/Notification.js +2 -33
  335. package/dist/modern/NotificationPanel/Notification/Notification.js.map +1 -1
  336. package/dist/modern/NotificationPanel/Notification/index.js.map +1 -1
  337. package/dist/modern/NotificationPanel/Notification/styles.js +0 -5
  338. package/dist/modern/NotificationPanel/Notification/styles.js.map +1 -1
  339. package/dist/modern/NotificationPanel/NotificationPanel.js +16 -50
  340. package/dist/modern/NotificationPanel/NotificationPanel.js.map +1 -1
  341. package/dist/modern/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js +6 -19
  342. package/dist/modern/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js.map +1 -1
  343. package/dist/modern/NotificationPanel/NotificationsIndicator/index.js.map +1 -1
  344. package/dist/modern/NotificationPanel/NotificationsIndicator/styles.js +0 -1
  345. package/dist/modern/NotificationPanel/NotificationsIndicator/styles.js.map +1 -1
  346. package/dist/modern/NotificationPanel/index.js.map +1 -1
  347. package/dist/modern/NotificationPanel/styles.js +0 -1
  348. package/dist/modern/NotificationPanel/styles.js.map +1 -1
  349. package/dist/modern/StepNavigation/DefaultNavigation/DefaultNavigation.js +14 -23
  350. package/dist/modern/StepNavigation/DefaultNavigation/DefaultNavigation.js.map +1 -1
  351. package/dist/modern/StepNavigation/DefaultNavigation/Step/Step.js +1 -20
  352. package/dist/modern/StepNavigation/DefaultNavigation/Step/Step.js.map +1 -1
  353. package/dist/modern/StepNavigation/DefaultNavigation/Step/index.js.map +1 -1
  354. package/dist/modern/StepNavigation/DefaultNavigation/Step/styles.js +0 -1
  355. package/dist/modern/StepNavigation/DefaultNavigation/Step/styles.js.map +1 -1
  356. package/dist/modern/StepNavigation/DefaultNavigation/index.js.map +1 -1
  357. package/dist/modern/StepNavigation/DefaultNavigation/styles.js +0 -1
  358. package/dist/modern/StepNavigation/DefaultNavigation/styles.js.map +1 -1
  359. package/dist/modern/StepNavigation/DefaultNavigation/utils.js +0 -2
  360. package/dist/modern/StepNavigation/DefaultNavigation/utils.js.map +1 -1
  361. package/dist/modern/StepNavigation/SimpleNavigation/Dot/Dot.js +1 -15
  362. package/dist/modern/StepNavigation/SimpleNavigation/Dot/Dot.js.map +1 -1
  363. package/dist/modern/StepNavigation/SimpleNavigation/Dot/index.js.map +1 -1
  364. package/dist/modern/StepNavigation/SimpleNavigation/Dot/styles.js.map +1 -1
  365. package/dist/modern/StepNavigation/SimpleNavigation/SimpleNavigation.js +14 -23
  366. package/dist/modern/StepNavigation/SimpleNavigation/SimpleNavigation.js.map +1 -1
  367. package/dist/modern/StepNavigation/SimpleNavigation/index.js.map +1 -1
  368. package/dist/modern/StepNavigation/SimpleNavigation/styles.js +0 -1
  369. package/dist/modern/StepNavigation/SimpleNavigation/styles.js.map +1 -1
  370. package/dist/modern/StepNavigation/SimpleNavigation/utils.js +0 -6
  371. package/dist/modern/StepNavigation/SimpleNavigation/utils.js.map +1 -1
  372. package/dist/modern/StepNavigation/StepNavigation.js +25 -62
  373. package/dist/modern/StepNavigation/StepNavigation.js.map +1 -1
  374. package/dist/modern/StepNavigation/index.js.map +1 -1
  375. package/dist/modern/StepNavigation/styles.js +0 -1
  376. package/dist/modern/StepNavigation/styles.js.map +1 -1
  377. package/dist/modern/StepNavigation/utils.js.map +1 -1
  378. package/dist/modern/TimeAgo/TimeAgo.js +11 -24
  379. package/dist/modern/TimeAgo/TimeAgo.js.map +1 -1
  380. package/dist/modern/TimeAgo/formatUtils.js +16 -18
  381. package/dist/modern/TimeAgo/formatUtils.js.map +1 -1
  382. package/dist/modern/TimeAgo/index.js.map +1 -1
  383. package/dist/modern/TimeAgo/styles.js.map +1 -1
  384. package/dist/modern/TimeAgo/useTimeAgo.js +1 -3
  385. package/dist/modern/TimeAgo/useTimeAgo.js.map +1 -1
  386. package/dist/modern/TimeAgo/useTimeout.js.map +1 -1
  387. package/dist/modern/Wizard/Wizard.js +21 -46
  388. package/dist/modern/Wizard/Wizard.js.map +1 -1
  389. package/dist/modern/Wizard/WizardActions/WizardActions.js +0 -24
  390. package/dist/modern/Wizard/WizardActions/WizardActions.js.map +1 -1
  391. package/dist/modern/Wizard/WizardActions/index.js.map +1 -1
  392. package/dist/modern/Wizard/WizardActions/styles.js +0 -1
  393. package/dist/modern/Wizard/WizardActions/styles.js.map +1 -1
  394. package/dist/modern/Wizard/WizardContainer/WizardContainer.js +7 -19
  395. package/dist/modern/Wizard/WizardContainer/WizardContainer.js.map +1 -1
  396. package/dist/modern/Wizard/WizardContainer/index.js.map +1 -1
  397. package/dist/modern/Wizard/WizardContainer/styles.js +0 -1
  398. package/dist/modern/Wizard/WizardContainer/styles.js.map +1 -1
  399. package/dist/modern/Wizard/WizardContent/LoadingContainer.js +4 -10
  400. package/dist/modern/Wizard/WizardContent/LoadingContainer.js.map +1 -1
  401. package/dist/modern/Wizard/WizardContent/WizardContent.js +0 -14
  402. package/dist/modern/Wizard/WizardContent/WizardContent.js.map +1 -1
  403. package/dist/modern/Wizard/WizardContent/index.js.map +1 -1
  404. package/dist/modern/Wizard/WizardContent/styles.js +0 -1
  405. package/dist/modern/Wizard/WizardContent/styles.js.map +1 -1
  406. package/dist/modern/Wizard/WizardContext/WizardContext.js +0 -2
  407. package/dist/modern/Wizard/WizardContext/WizardContext.js.map +1 -1
  408. package/dist/modern/Wizard/WizardContext/WizardContextProvider.js +0 -4
  409. package/dist/modern/Wizard/WizardContext/WizardContextProvider.js.map +1 -1
  410. package/dist/modern/Wizard/WizardContext/index.js.map +1 -1
  411. package/dist/modern/Wizard/WizardTitle/WizardTitle.js +2 -23
  412. package/dist/modern/Wizard/WizardTitle/WizardTitle.js.map +1 -1
  413. package/dist/modern/Wizard/WizardTitle/index.js.map +1 -1
  414. package/dist/modern/Wizard/WizardTitle/styles.js +0 -1
  415. package/dist/modern/Wizard/WizardTitle/styles.js.map +1 -1
  416. package/dist/modern/Wizard/index.js.map +1 -1
  417. package/dist/modern/Wizard/styles.js +0 -1
  418. package/dist/modern/Wizard/styles.js.map +1 -1
  419. package/dist/modern/index.js.map +1 -1
  420. package/package.json +4 -4
@@ -1,78 +1,43 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.object.keys.js");
4
-
5
4
  require("core-js/modules/es.symbol.js");
6
-
7
5
  require("core-js/modules/es.array.filter.js");
8
-
9
6
  require("core-js/modules/es.object.get-own-property-descriptor.js");
10
-
11
7
  require("core-js/modules/web.dom-collections.for-each.js");
12
-
13
8
  require("core-js/modules/es.object.get-own-property-descriptors.js");
14
-
15
9
  require("core-js/modules/es.string.iterator.js");
16
-
17
10
  require("core-js/modules/es.weak-map.js");
18
-
19
11
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
20
-
21
12
  var _typeof = require("@babel/runtime/helpers/typeof");
22
-
23
13
  Object.defineProperty(exports, "__esModule", {
24
14
  value: true
25
15
  });
26
16
  exports.default = void 0;
27
-
28
17
  require("core-js/modules/es.array.iterator.js");
29
-
30
18
  require("core-js/modules/es.object.to-string.js");
31
-
32
19
  require("core-js/modules/web.dom-collections.iterator.js");
33
-
34
20
  require("core-js/modules/es.array.map.js");
35
-
36
21
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
37
-
38
22
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
39
-
40
23
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
41
-
42
24
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
43
-
44
25
  var _react = _interopRequireWildcard(require("react"));
45
-
46
26
  var _propTypes = _interopRequireDefault(require("prop-types"));
47
-
48
27
  var _clsx = _interopRequireDefault(require("clsx"));
49
-
50
28
  var _material = require("@mui/material");
51
-
52
29
  var _styles = require("@mui/styles");
53
-
54
30
  var _uikitReactCore = require("@hitachivantara/uikit-react-core");
55
-
56
31
  var _styles2 = _interopRequireDefault(require("./styles"));
57
-
58
32
  var _Notification = _interopRequireDefault(require("./Notification"));
59
-
60
33
  var _EmptyStatePanel = _interopRequireDefault(require("./EmptyStatePanel"));
61
-
62
34
  var _NotificationsIndicator = _interopRequireDefault(require("./NotificationsIndicator"));
63
-
64
35
  var _jsxRuntime = require("react/jsx-runtime");
65
-
66
36
  var _excluded = ["id", "className", "classes", "open", "footer", "notifications", "hasNewNotifications", "emptyStatePanelTitle", "emptyStatePanelMessage", "emptyStatePanelIcon", "labels", "newNotificationsButtonAction", "locale"];
67
-
68
37
  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); }
69
-
70
38
  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; }
71
-
72
39
  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; }
73
-
74
40
  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) { (0, _defineProperty2.default)(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; }
75
-
76
41
  var DEFAULT_LABELS = {
77
42
  notificationGroupHeader: {
78
43
  newNotifications: "New",
@@ -83,43 +48,39 @@ var DEFAULT_LABELS = {
83
48
  buttonLabel: "Update"
84
49
  }
85
50
  };
51
+
86
52
  /**
87
53
  * Notification Panel displays all of read and unread notifications. Still in development
88
54
  */
89
-
90
55
  var HvNotificationPanel = function HvNotificationPanel(_ref) {
91
56
  var id = _ref.id,
92
- className = _ref.className,
93
- classes = _ref.classes,
94
- open = _ref.open,
95
- footer = _ref.footer,
96
- notifications = _ref.notifications,
97
- _ref$hasNewNotificati = _ref.hasNewNotifications,
98
- hasNewNotifications = _ref$hasNewNotificati === void 0 ? false : _ref$hasNewNotificati,
99
- _ref$emptyStatePanelT = _ref.emptyStatePanelTitle,
100
- emptyStatePanelTitle = _ref$emptyStatePanelT === void 0 ? "No notifications" : _ref$emptyStatePanelT,
101
- _ref$emptyStatePanelM = _ref.emptyStatePanelMessage,
102
- emptyStatePanelMessage = _ref$emptyStatePanelM === void 0 ? "You currently have no notifications." : _ref$emptyStatePanelM,
103
- emptyStatePanelIcon = _ref.emptyStatePanelIcon,
104
- labelsProp = _ref.labels,
105
- newNotificationsButtonAction = _ref.newNotificationsButtonAction,
106
- localeProp = _ref.locale,
107
- others = (0, _objectWithoutProperties2.default)(_ref, _excluded);
57
+ className = _ref.className,
58
+ classes = _ref.classes,
59
+ open = _ref.open,
60
+ footer = _ref.footer,
61
+ notifications = _ref.notifications,
62
+ _ref$hasNewNotificati = _ref.hasNewNotifications,
63
+ hasNewNotifications = _ref$hasNewNotificati === void 0 ? false : _ref$hasNewNotificati,
64
+ _ref$emptyStatePanelT = _ref.emptyStatePanelTitle,
65
+ emptyStatePanelTitle = _ref$emptyStatePanelT === void 0 ? "No notifications" : _ref$emptyStatePanelT,
66
+ _ref$emptyStatePanelM = _ref.emptyStatePanelMessage,
67
+ emptyStatePanelMessage = _ref$emptyStatePanelM === void 0 ? "You currently have no notifications." : _ref$emptyStatePanelM,
68
+ emptyStatePanelIcon = _ref.emptyStatePanelIcon,
69
+ labelsProp = _ref.labels,
70
+ newNotificationsButtonAction = _ref.newNotificationsButtonAction,
71
+ localeProp = _ref.locale,
72
+ others = (0, _objectWithoutProperties2.default)(_ref, _excluded);
108
73
  var localeFromProvider = (0, _uikitReactCore.useLocale)();
109
74
  var locale = localeProp || localeFromProvider;
110
-
111
75
  var _useState = (0, _react.useState)(undefined),
112
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
113
- highlighted = _useState2[0],
114
- setHighlighted = _useState2[1];
115
-
76
+ _useState2 = (0, _slicedToArray2.default)(_useState, 2),
77
+ highlighted = _useState2[0],
78
+ setHighlighted = _useState2[1];
116
79
  var _useState3 = (0, _react.useState)(false),
117
- _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
118
- isExpanded = _useState4[0],
119
- setIsExpanded = _useState4[1];
120
-
80
+ _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
81
+ isExpanded = _useState4[0],
82
+ setIsExpanded = _useState4[1];
121
83
  var labels = (0, _uikitReactCore.useLabels)(DEFAULT_LABELS, labelsProp);
122
-
123
84
  var generateNotificationsActions = function generateNotificationsActions(notificationId, _onToggle, actions) {
124
85
  var expand = notificationId === highlighted;
125
86
  var dList = (0, _toConsumableArray2.default)(actions.values);
@@ -127,25 +88,21 @@ var HvNotificationPanel = function HvNotificationPanel(_ref) {
127
88
  expanded: expand,
128
89
  onClick: function onClick(event, item) {
129
90
  var _item$callback;
130
-
131
91
  setHighlighted(undefined);
132
92
  item === null || item === void 0 ? void 0 : (_item$callback = item.callback) === null || _item$callback === void 0 ? void 0 : _item$callback.call(item, event, notificationId);
133
93
  },
134
94
  dataList: dList,
135
95
  onToggle: function onToggle(event, s) {
136
96
  _onToggle === null || _onToggle === void 0 ? void 0 : _onToggle(event, s);
137
-
138
97
  if (s) {
139
98
  setHighlighted(notificationId);
140
99
  } else {
141
100
  setHighlighted(undefined);
142
101
  }
143
-
144
102
  setIsExpanded(!isExpanded);
145
103
  }
146
104
  }, actions.dropDownMenuProps));
147
105
  };
148
-
149
106
  var notificationElementGenerator = function notificationElementGenerator(notificationsToRender) {
150
107
  return notificationsToRender.map(function (notification) {
151
108
  var notificationIsHighlighted = highlighted === notification.id;
@@ -163,13 +120,10 @@ var HvNotificationPanel = function HvNotificationPanel(_ref) {
163
120
  }, notification.id);
164
121
  });
165
122
  };
166
-
167
123
  var hasNotifications = notifications.length > 0;
168
-
169
124
  var renderNotifications = function renderNotifications(notificationsToRender) {
170
125
  return notificationElementGenerator(notificationsToRender);
171
126
  };
172
-
173
127
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_uikitReactCore.HvPanel, _objectSpread(_objectSpread({
174
128
  id: id,
175
129
  className: (0, _clsx.default)(className, classes.root, open === false && classes.closed, open && classes.open)
@@ -196,25 +150,21 @@ var HvNotificationPanel = function HvNotificationPanel(_ref) {
196
150
  })]
197
151
  }));
198
152
  };
199
-
200
153
  process.env.NODE_ENV !== "production" ? HvNotificationPanel.propTypes = {
201
154
  /**
202
155
  * Id to be applied to the root node of the panel.
203
156
  */
204
157
  id: _propTypes.default.string,
205
-
206
158
  /**
207
159
  * Class names to be applied to the root element.
208
160
  */
209
161
  className: _propTypes.default.string,
210
-
211
162
  /**
212
163
  * 'true' if panel is open or 'false' if the panel is not open
213
164
  *
214
165
  * @deprecated This logic should be external, i.e. using the HvAppSwitcherPanel inside a Drawer component.
215
166
  */
216
167
  open: (0, _material.deprecatedPropType)(_propTypes.default.bool),
217
-
218
168
  /**
219
169
  * A Jss Object used to override or extend the styles applied.
220
170
  */
@@ -223,43 +173,35 @@ process.env.NODE_ENV !== "production" ? HvNotificationPanel.propTypes = {
223
173
  * styles object applied to the root
224
174
  */
225
175
  root: _propTypes.default.string,
226
-
227
176
  /**
228
177
  * styles object applied to the root when closed
229
178
  */
230
179
  closed: _propTypes.default.string,
231
-
232
180
  /**
233
181
  * styles object applied to the root when open
234
182
  */
235
183
  open: _propTypes.default.string,
236
-
237
184
  /**
238
185
  * styles object applied to the panel
239
186
  */
240
187
  panel: _propTypes.default.string,
241
-
242
188
  /**
243
189
  * styles object applied to the action bar
244
190
  */
245
191
  actionBar: _propTypes.default.string,
246
-
247
192
  /**
248
193
  * styles object applied to the root of the action bar
249
194
  */
250
195
  actionBarRoot: _propTypes.default.string,
251
-
252
196
  /**
253
197
  * styles object applied to the new notification indicator
254
198
  */
255
199
  notificationsIndicator: _propTypes.default.string,
256
-
257
200
  /**
258
201
  * styles object applied to the empty state panel
259
202
  */
260
203
  emptyState: _propTypes.default.string
261
204
  }).isRequired,
262
-
263
205
  /**
264
206
  * The properties of the notifications to be rendered in the Panel.
265
207
  */
@@ -279,32 +221,26 @@ process.env.NODE_ENV !== "production" ? HvNotificationPanel.propTypes = {
279
221
  dropDownMenuProps: _propTypes.default.instanceOf(Object)
280
222
  })
281
223
  })),
282
-
283
224
  /**
284
225
  * Whether to render the new notifications indicator
285
226
  */
286
227
  hasNewNotifications: _propTypes.default.bool,
287
-
288
228
  /**
289
229
  * Action buttons to render in footer
290
230
  */
291
231
  footer: _propTypes.default.node,
292
-
293
232
  /**
294
233
  * Title of the EmptyStatePanel
295
234
  */
296
235
  emptyStatePanelTitle: _propTypes.default.string,
297
-
298
236
  /**
299
237
  * Message of the EmptyStatePanel
300
238
  */
301
239
  emptyStatePanelMessage: _propTypes.default.string,
302
-
303
240
  /**
304
241
  * Empty Panel custom Icon
305
242
  */
306
243
  emptyStatePanelIcon: _propTypes.default.node,
307
-
308
244
  /**
309
245
  * Labels to apply to the Panel
310
246
  */
@@ -316,7 +252,6 @@ process.env.NODE_ENV !== "production" ? HvNotificationPanel.propTypes = {
316
252
  olderNotifications: _propTypes.default.string,
317
253
  newNotifications: _propTypes.default.string
318
254
  },
319
-
320
255
  /**
321
256
  * Labels to apply to the element of the New Notifications Indicator
322
257
  */
@@ -325,21 +260,17 @@ process.env.NODE_ENV !== "production" ? HvNotificationPanel.propTypes = {
325
260
  buttonLabel: _propTypes.default.string
326
261
  }
327
262
  }),
328
-
329
263
  /**
330
264
  * Function to be supplied to the notification update button
331
265
  */
332
266
  newNotificationsButtonAction: _propTypes.default.func,
333
-
334
267
  /**
335
268
  * The locale to be used on the notification date, if undefined it will use the one from the HvProvider
336
269
  */
337
270
  locale: _propTypes.default.string
338
271
  } : void 0;
339
-
340
272
  var _default = (0, _styles.withStyles)(_styles2.default, {
341
273
  name: "HvNotificationPanel"
342
274
  })(HvNotificationPanel);
343
-
344
275
  exports.default = _default;
345
276
  //# sourceMappingURL=NotificationPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationPanel.js","names":["DEFAULT_LABELS","notificationGroupHeader","newNotifications","olderNotifications","notificationIndicator","label","buttonLabel","HvNotificationPanel","id","className","classes","open","footer","notifications","hasNewNotifications","emptyStatePanelTitle","emptyStatePanelMessage","emptyStatePanelIcon","labelsProp","labels","newNotificationsButtonAction","localeProp","locale","others","localeFromProvider","useLocale","useState","undefined","highlighted","setHighlighted","isExpanded","setIsExpanded","useLabels","generateNotificationsActions","notificationId","onToggle","actions","expand","dList","values","event","item","callback","s","dropDownMenuProps","notificationElementGenerator","notificationsToRender","map","notification","notificationIsHighlighted","title","isRead","icon","date","onClick","onKeyPress","hasNotifications","length","renderNotifications","clsx","root","closed","panel","setId","emptyState","actionBarRoot","actionBar","propTypes","PropTypes","string","deprecatedPropType","bool","shape","notificationsIndicator","isRequired","arrayOf","oneOfType","number","object","element","func","action","instanceOf","Object","node","withStyles","styles","name"],"sources":["../../src/NotificationPanel/NotificationPanel.js"],"sourcesContent":["import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport { deprecatedPropType } from \"@mui/material\";\nimport { withStyles } from \"@mui/styles\";\n\nimport {\n HvPanel,\n HvActionBar,\n HvDropDownMenu,\n setId,\n useLabels,\n useLocale,\n} from \"@hitachivantara/uikit-react-core\";\n\nimport styles from \"./styles\";\n\nimport Notification from \"./Notification\";\nimport EmptyStatePanel from \"./EmptyStatePanel\";\nimport NotificationsIndicator from \"./NotificationsIndicator\";\n\nconst DEFAULT_LABELS = {\n notificationGroupHeader: {\n newNotifications: \"New\",\n olderNotifications: \"Earlier\",\n },\n notificationIndicator: {\n label: \"You have new notifications\",\n buttonLabel: \"Update\",\n },\n};\n\n/**\n * Notification Panel displays all of read and unread notifications. Still in development\n */\nconst HvNotificationPanel = ({\n id,\n className,\n classes,\n open,\n footer,\n notifications,\n hasNewNotifications = false,\n emptyStatePanelTitle = \"No notifications\",\n emptyStatePanelMessage = \"You currently have no notifications.\",\n emptyStatePanelIcon,\n labels: labelsProp,\n newNotificationsButtonAction,\n locale: localeProp,\n ...others\n}) => {\n const localeFromProvider = useLocale();\n\n const locale = localeProp || localeFromProvider;\n\n const [highlighted, setHighlighted] = useState(undefined);\n const [isExpanded, setIsExpanded] = useState(false);\n\n const labels = useLabels(DEFAULT_LABELS, labelsProp);\n\n const generateNotificationsActions = (notificationId, onToggle, actions) => {\n const expand = notificationId === highlighted;\n const dList = [...actions.values];\n return (\n <HvDropDownMenu\n expanded={expand}\n onClick={(event, item) => {\n setHighlighted(undefined);\n item?.callback?.(event, notificationId);\n }}\n dataList={dList}\n onToggle={(event, s) => {\n onToggle?.(event, s);\n if (s) {\n setHighlighted(notificationId);\n } else {\n setHighlighted(undefined);\n }\n setIsExpanded(!isExpanded);\n }}\n {...actions.dropDownMenuProps}\n />\n );\n };\n\n const notificationElementGenerator = (notificationsToRender) => {\n return notificationsToRender.map((notification) => {\n const notificationIsHighlighted = highlighted === notification.id;\n return (\n <Notification\n key={notification.id}\n notificationId={notification.id}\n title={notification.title}\n isRead={notification.isRead}\n icon={notification.icon}\n date={notification.date}\n onClick={notification.onClick}\n onKeyPress={notification.onKeyPress}\n rightContainer={generateNotificationsActions(\n notification.id,\n notification.onToggle,\n notification.actions\n )}\n isHighlighted={notificationIsHighlighted}\n locale={locale}\n />\n );\n });\n };\n\n const hasNotifications = notifications.length > 0;\n\n const renderNotifications = (notificationsToRender) =>\n notificationElementGenerator(notificationsToRender);\n\n return (\n <HvPanel\n id={id}\n className={clsx(className, classes.root, {\n [classes.closed]: open === false,\n [classes.open]: open,\n })}\n {...others}\n >\n {hasNewNotifications && (\n <NotificationsIndicator\n labels={labels.notificationIndicator}\n onClick={newNotificationsButtonAction}\n />\n )}\n {hasNotifications ? (\n <div className={classes.panel}>\n {notifications.length > 0 && renderNotifications(notifications)}\n </div>\n ) : (\n <EmptyStatePanel\n id={setId(id, \"empty-state\")}\n title={emptyStatePanelTitle}\n message={emptyStatePanelMessage}\n icon={emptyStatePanelIcon}\n className={classes.emptyState}\n />\n )}\n {footer && (\n <HvActionBar\n id={setId(id, \"action-bar\")}\n classes={{\n root: classes.actionBarRoot,\n }}\n className={classes.actionBar}\n >\n {footer}\n </HvActionBar>\n )}\n </HvPanel>\n );\n};\n\nHvNotificationPanel.propTypes = {\n /**\n * Id to be applied to the root node of the panel.\n */\n id: PropTypes.string,\n /**\n * Class names to be applied to the root element.\n */\n className: PropTypes.string,\n /**\n * 'true' if panel is open or 'false' if the panel is not open\n *\n * @deprecated This logic should be external, i.e. using the HvAppSwitcherPanel inside a Drawer component.\n */\n open: deprecatedPropType(PropTypes.bool),\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * styles object applied to the root\n */\n root: PropTypes.string,\n /**\n * styles object applied to the root when closed\n */\n closed: PropTypes.string,\n /**\n * styles object applied to the root when open\n */\n open: PropTypes.string,\n /**\n * styles object applied to the panel\n */\n panel: PropTypes.string,\n /**\n * styles object applied to the action bar\n */\n actionBar: PropTypes.string,\n /**\n * styles object applied to the root of the action bar\n */\n actionBarRoot: PropTypes.string,\n /**\n * styles object applied to the new notification indicator\n */\n notificationsIndicator: PropTypes.string,\n /**\n * styles object applied to the empty state panel\n */\n emptyState: PropTypes.string,\n }).isRequired,\n /**\n * The properties of the notifications to be rendered in the Panel.\n */\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n isRead: PropTypes.bool.isRequired,\n date: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object]).isRequired,\n icon: PropTypes.element,\n onClick: PropTypes.func,\n onKeyPress: PropTypes.func,\n onToggle: PropTypes.func,\n actions: PropTypes.shape({\n label: PropTypes.bool,\n action: PropTypes.string,\n callback: PropTypes.func,\n dropDownMenuProps: PropTypes.instanceOf(Object),\n }),\n })\n ),\n /**\n * Whether to render the new notifications indicator\n */\n hasNewNotifications: PropTypes.bool,\n /**\n * Action buttons to render in footer\n */\n footer: PropTypes.node,\n /**\n * Title of the EmptyStatePanel\n */\n emptyStatePanelTitle: PropTypes.string,\n /**\n * Message of the EmptyStatePanel\n */\n emptyStatePanelMessage: PropTypes.string,\n /**\n * Empty Panel custom Icon\n */\n emptyStatePanelIcon: PropTypes.node,\n /**\n * Labels to apply to the Panel\n */\n labels: PropTypes.shape({\n /**\n * Labels to apply to the groups separating newer and older notifications\n */\n notificationGroupHeader: {\n olderNotifications: PropTypes.string,\n newNotifications: PropTypes.string,\n },\n /**\n * Labels to apply to the element of the New Notifications Indicator\n */\n notificationIndicator: {\n label: PropTypes.string,\n buttonLabel: PropTypes.string,\n },\n }),\n /**\n * Function to be supplied to the notification update button\n */\n newNotificationsButtonAction: PropTypes.func,\n /**\n * The locale to be used on the notification date, if undefined it will use the one from the HvProvider\n */\n locale: PropTypes.string,\n};\n\nexport default withStyles(styles, { name: \"HvNotificationPanel\" })(HvNotificationPanel);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AASA;;AAEA;;AACA;;AACA;;;;;;;;;;;;;;AAEA,IAAMA,cAAc,GAAG;EACrBC,uBAAuB,EAAE;IACvBC,gBAAgB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AhB,CAhGsB;;EAgH9B;AACF;AACA;EACEjD,4BAA4B,EAAEgD,kBAAA,CAAUY,IAnHV;;EAoH9B;AACF;AACA;EACE1D,MAAM,EAAE8C,kBAAA,CAAUC;AAvHY,CAAhC;;eA0He,IAAAgB,kBAAA,EAAWC,gBAAX,EAAmB;EAAEC,IAAI,EAAE;AAAR,CAAnB,EAAoDhF,mBAApD,C"}
1
+ {"version":3,"file":"NotificationPanel.js","names":["DEFAULT_LABELS","notificationGroupHeader","newNotifications","olderNotifications","notificationIndicator","label","buttonLabel","HvNotificationPanel","id","className","classes","open","footer","notifications","hasNewNotifications","emptyStatePanelTitle","emptyStatePanelMessage","emptyStatePanelIcon","labelsProp","labels","newNotificationsButtonAction","localeProp","locale","others","localeFromProvider","useLocale","useState","undefined","highlighted","setHighlighted","isExpanded","setIsExpanded","useLabels","generateNotificationsActions","notificationId","onToggle","actions","expand","dList","values","event","item","callback","s","dropDownMenuProps","notificationElementGenerator","notificationsToRender","map","notification","notificationIsHighlighted","title","isRead","icon","date","onClick","onKeyPress","hasNotifications","length","renderNotifications","clsx","root","closed","panel","setId","emptyState","actionBarRoot","actionBar","propTypes","PropTypes","string","deprecatedPropType","bool","shape","notificationsIndicator","isRequired","arrayOf","oneOfType","number","object","element","func","action","instanceOf","Object","node","withStyles","styles","name"],"sources":["../../src/NotificationPanel/NotificationPanel.js"],"sourcesContent":["import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport { deprecatedPropType } from \"@mui/material\";\nimport { withStyles } from \"@mui/styles\";\n\nimport {\n HvPanel,\n HvActionBar,\n HvDropDownMenu,\n setId,\n useLabels,\n useLocale,\n} from \"@hitachivantara/uikit-react-core\";\n\nimport styles from \"./styles\";\n\nimport Notification from \"./Notification\";\nimport EmptyStatePanel from \"./EmptyStatePanel\";\nimport NotificationsIndicator from \"./NotificationsIndicator\";\n\nconst DEFAULT_LABELS = {\n notificationGroupHeader: {\n newNotifications: \"New\",\n olderNotifications: \"Earlier\",\n },\n notificationIndicator: {\n label: \"You have new notifications\",\n buttonLabel: \"Update\",\n },\n};\n\n/**\n * Notification Panel displays all of read and unread notifications. Still in development\n */\nconst HvNotificationPanel = ({\n id,\n className,\n classes,\n open,\n footer,\n notifications,\n hasNewNotifications = false,\n emptyStatePanelTitle = \"No notifications\",\n emptyStatePanelMessage = \"You currently have no notifications.\",\n emptyStatePanelIcon,\n labels: labelsProp,\n newNotificationsButtonAction,\n locale: localeProp,\n ...others\n}) => {\n const localeFromProvider = useLocale();\n\n const locale = localeProp || localeFromProvider;\n\n const [highlighted, setHighlighted] = useState(undefined);\n const [isExpanded, setIsExpanded] = useState(false);\n\n const labels = useLabels(DEFAULT_LABELS, labelsProp);\n\n const generateNotificationsActions = (notificationId, onToggle, actions) => {\n const expand = notificationId === highlighted;\n const dList = [...actions.values];\n return (\n <HvDropDownMenu\n expanded={expand}\n onClick={(event, item) => {\n setHighlighted(undefined);\n item?.callback?.(event, notificationId);\n }}\n dataList={dList}\n onToggle={(event, s) => {\n onToggle?.(event, s);\n if (s) {\n setHighlighted(notificationId);\n } else {\n setHighlighted(undefined);\n }\n setIsExpanded(!isExpanded);\n }}\n {...actions.dropDownMenuProps}\n />\n );\n };\n\n const notificationElementGenerator = (notificationsToRender) => {\n return notificationsToRender.map((notification) => {\n const notificationIsHighlighted = highlighted === notification.id;\n return (\n <Notification\n key={notification.id}\n notificationId={notification.id}\n title={notification.title}\n isRead={notification.isRead}\n icon={notification.icon}\n date={notification.date}\n onClick={notification.onClick}\n onKeyPress={notification.onKeyPress}\n rightContainer={generateNotificationsActions(\n notification.id,\n notification.onToggle,\n notification.actions\n )}\n isHighlighted={notificationIsHighlighted}\n locale={locale}\n />\n );\n });\n };\n\n const hasNotifications = notifications.length > 0;\n\n const renderNotifications = (notificationsToRender) =>\n notificationElementGenerator(notificationsToRender);\n\n return (\n <HvPanel\n id={id}\n className={clsx(className, classes.root, {\n [classes.closed]: open === false,\n [classes.open]: open,\n })}\n {...others}\n >\n {hasNewNotifications && (\n <NotificationsIndicator\n labels={labels.notificationIndicator}\n onClick={newNotificationsButtonAction}\n />\n )}\n {hasNotifications ? (\n <div className={classes.panel}>\n {notifications.length > 0 && renderNotifications(notifications)}\n </div>\n ) : (\n <EmptyStatePanel\n id={setId(id, \"empty-state\")}\n title={emptyStatePanelTitle}\n message={emptyStatePanelMessage}\n icon={emptyStatePanelIcon}\n className={classes.emptyState}\n />\n )}\n {footer && (\n <HvActionBar\n id={setId(id, \"action-bar\")}\n classes={{\n root: classes.actionBarRoot,\n }}\n className={classes.actionBar}\n >\n {footer}\n </HvActionBar>\n )}\n </HvPanel>\n );\n};\n\nHvNotificationPanel.propTypes = {\n /**\n * Id to be applied to the root node of the panel.\n */\n id: PropTypes.string,\n /**\n * Class names to be applied to the root element.\n */\n className: PropTypes.string,\n /**\n * 'true' if panel is open or 'false' if the panel is not open\n *\n * @deprecated This logic should be external, i.e. using the HvAppSwitcherPanel inside a Drawer component.\n */\n open: deprecatedPropType(PropTypes.bool),\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * styles object applied to the root\n */\n root: PropTypes.string,\n /**\n * styles object applied to the root when closed\n */\n closed: PropTypes.string,\n /**\n * styles object applied to the root when open\n */\n open: PropTypes.string,\n /**\n * styles object applied to the panel\n */\n panel: PropTypes.string,\n /**\n * styles object applied to the action bar\n */\n actionBar: PropTypes.string,\n /**\n * styles object applied to the root of the action bar\n */\n actionBarRoot: PropTypes.string,\n /**\n * styles object applied to the new notification indicator\n */\n notificationsIndicator: PropTypes.string,\n /**\n * styles object applied to the empty state panel\n */\n emptyState: PropTypes.string,\n }).isRequired,\n /**\n * The properties of the notifications to be rendered in the Panel.\n */\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n isRead: PropTypes.bool.isRequired,\n date: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object]).isRequired,\n icon: PropTypes.element,\n onClick: PropTypes.func,\n onKeyPress: PropTypes.func,\n onToggle: PropTypes.func,\n actions: PropTypes.shape({\n label: PropTypes.bool,\n action: PropTypes.string,\n callback: PropTypes.func,\n dropDownMenuProps: PropTypes.instanceOf(Object),\n }),\n })\n ),\n /**\n * Whether to render the new notifications indicator\n */\n hasNewNotifications: PropTypes.bool,\n /**\n * Action buttons to render in footer\n */\n footer: PropTypes.node,\n /**\n * Title of the EmptyStatePanel\n */\n emptyStatePanelTitle: PropTypes.string,\n /**\n * Message of the EmptyStatePanel\n */\n emptyStatePanelMessage: PropTypes.string,\n /**\n * Empty Panel custom Icon\n */\n emptyStatePanelIcon: PropTypes.node,\n /**\n * Labels to apply to the Panel\n */\n labels: PropTypes.shape({\n /**\n * Labels to apply to the groups separating newer and older notifications\n */\n notificationGroupHeader: {\n olderNotifications: PropTypes.string,\n newNotifications: PropTypes.string,\n },\n /**\n * Labels to apply to the element of the New Notifications Indicator\n */\n notificationIndicator: {\n label: PropTypes.string,\n buttonLabel: PropTypes.string,\n },\n }),\n /**\n * Function to be supplied to the notification update button\n */\n newNotificationsButtonAction: PropTypes.func,\n /**\n * The locale to be used on the notification date, if undefined it will use the one from the HvProvider\n */\n locale: PropTypes.string,\n};\n\nexport default withStyles(styles, { name: \"HvNotificationPanel\" })(HvNotificationPanel);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAEA;AASA;AAEA;AACA;AACA;AAA8D;AAAA;AAAA;AAAA;AAAA;AAAA;AAE9D,IAAMA,cAAc,GAAG;EACrBC,uBAAuB,EAAE;IACvBC,gBAAgB,EAAE,KAAK;IACvBC,kBAAkB,EAAE;EACtB,CAAC;EACDC,qBAAqB,EAAE;IACrBC,KAAK,EAAE,4BAA4B;IACnCC,WAAW,EAAE;EACf;AACF,CAAC;;AAED;AACA;AACA;AACA,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmB,OAenB;EAAA,IAdJC,EA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,MAAM;MACxB3B,QAAQ,EAAE0B,kBAAS,CAACY,IAAI;MACxBpC,iBAAiB,EAAEwB,kBAAS,CAACc,UAAU,CAACC,MAAM;IAChD,CAAC;EACH,CAAC,CAAC,CACH;EACD;AACF;AACA;EACErE,mBAAmB,EAAEsD,kBAAS,CAACG,IAAI;EACnC;AACF;AACA;EACE3D,MAAM,EAAEwD,kBAAS,CAACgB,IAAI;EACtB;AACF;AACA;EACErE,oBAAoB,EAAEqD,kBAAS,CAACC,MAAM;EACtC;AACF;AACA;EACErD,sBAAsB,EAAEoD,kBAAS,CAACC,MAAM;EACxC;AACF;AACA;EACEpD,mBAAmB,EAAEmD,kBAAS,CAACgB,IAAI;EACnC;AACF;AACA;EACEjE,MAAM,EAAEiD,kBAAS,CAACI,KAAK,CAAC;IACtB;AACJ;AACA;IACIvE,uBAAuB,EAAE;MACvBE,kBAAkB,EAAEiE,kBAAS,CAACC,MAAM;MACpCnE,gBAAgB,EAAEkE,kBAAS,CAACC;IAC9B,CAAC;IACD;AACJ;AACA;IACIjE,qBAAqB,EAAE;MACrBC,KAAK,EAAE+D,kBAAS,CAACC,MAAM;MACvB/D,WAAW,EAAE8D,kBAAS,CAACC;IACzB;EACF,CAAC,CAAC;EACF;AACF;AACA;EACEjD,4BAA4B,EAAEgD,kBAAS,CAACY,IAAI;EAC5C;AACF;AACA;EACE1D,MAAM,EAAE8C,kBAAS,CAACC;AACpB,CAAC;AAAC,eAEa,IAAAgB,kBAAU,EAACC,gBAAM,EAAE;EAAEC,IAAI,EAAE;AAAsB,CAAC,CAAC,CAAChF,mBAAmB,CAAC;AAAA"}
@@ -1,56 +1,35 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.object.keys.js");
4
-
5
4
  require("core-js/modules/es.symbol.js");
6
-
7
5
  require("core-js/modules/es.array.filter.js");
8
-
9
6
  require("core-js/modules/es.object.to-string.js");
10
-
11
7
  require("core-js/modules/es.object.get-own-property-descriptor.js");
12
-
13
8
  require("core-js/modules/web.dom-collections.for-each.js");
14
-
15
9
  require("core-js/modules/es.object.get-own-property-descriptors.js");
16
-
17
10
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
18
-
19
11
  Object.defineProperty(exports, "__esModule", {
20
12
  value: true
21
13
  });
22
14
  exports.default = void 0;
23
-
24
15
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
25
-
26
16
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
27
-
28
17
  var _react = _interopRequireDefault(require("react"));
29
-
30
18
  var _propTypes = _interopRequireDefault(require("prop-types"));
31
-
32
19
  var _clsx = _interopRequireDefault(require("clsx"));
33
-
34
20
  var _uikitReactCore = require("@hitachivantara/uikit-react-core");
35
-
36
21
  var _styles = require("@mui/styles");
37
-
38
22
  var _styles2 = _interopRequireDefault(require("./styles"));
39
-
40
23
  var _jsxRuntime = require("react/jsx-runtime");
41
-
42
24
  var _excluded = ["classes", "className", "labels", "onClick"];
43
-
44
25
  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; }
45
-
46
26
  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) { (0, _defineProperty2.default)(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; }
47
-
48
27
  var NotificationsIndicator = function NotificationsIndicator(_ref) {
49
28
  var classes = _ref.classes,
50
- className = _ref.className,
51
- labels = _ref.labels,
52
- onClick = _ref.onClick,
53
- others = (0, _objectWithoutProperties2.default)(_ref, _excluded);
29
+ className = _ref.className,
30
+ labels = _ref.labels,
31
+ onClick = _ref.onClick,
32
+ others = (0, _objectWithoutProperties2.default)(_ref, _excluded);
54
33
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", _objectSpread(_objectSpread({
55
34
  className: (0, _clsx.default)(className, classes.root, classes.notificationsIndicator)
56
35
  }, others), {}, {
@@ -70,7 +49,6 @@ var NotificationsIndicator = function NotificationsIndicator(_ref) {
70
49
  })]
71
50
  }));
72
51
  };
73
-
74
52
  process.env.NODE_ENV !== "production" ? NotificationsIndicator.propTypes = {
75
53
  /**
76
54
  * A Jss Object used to override or extend the component styles.
@@ -80,28 +58,23 @@ process.env.NODE_ENV !== "production" ? NotificationsIndicator.propTypes = {
80
58
  * Styles applied to the root of the element.
81
59
  */
82
60
  root: _propTypes.default.string,
83
-
84
61
  /**
85
62
  * Styles applied to the NotificationsIndicator container.
86
63
  */
87
64
  notificationsIndicator: _propTypes.default.string,
88
-
89
65
  /**
90
66
  * Styles applied to the notification focus
91
67
  */
92
68
  newNotificationsFocus: _propTypes.default.string,
93
-
94
69
  /**
95
70
  * Override to text color for usage over semantic background in wicked
96
71
  */
97
72
  semanticColoring: _propTypes.default.string
98
73
  }).isRequired,
99
-
100
74
  /**
101
75
  * Class names to be applied to the accordion.
102
76
  */
103
77
  className: _propTypes.default.string,
104
-
105
78
  /**
106
79
  * Labels to apply to component
107
80
  */
@@ -110,22 +83,18 @@ process.env.NODE_ENV !== "production" ? NotificationsIndicator.propTypes = {
110
83
  * Notification indicator label
111
84
  */
112
85
  label: _propTypes.default.string,
113
-
114
86
  /**
115
87
  * Label to apply to the button label
116
88
  */
117
89
  buttonLabel: _propTypes.default.string
118
90
  }).isRequired,
119
-
120
91
  /**
121
92
  * Function passed to the notification panel button
122
93
  */
123
94
  onClick: _propTypes.default.func
124
95
  } : void 0;
125
-
126
96
  var _default = (0, _styles.withStyles)(_styles2.default, {
127
97
  name: "HvNotificationsIndicator"
128
98
  })(NotificationsIndicator);
129
-
130
99
  exports.default = _default;
131
100
  //# sourceMappingURL=NotificationsIndicator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsIndicator.js","names":["NotificationsIndicator","classes","className","labels","onClick","others","clsx","root","notificationsIndicator","normalText","semanticColoring","label","newNotificationsFocus","focusVisible","buttonLabel","propTypes","PropTypes","shape","string","isRequired","func","withStyles","styles","name"],"sources":["../../../src/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport { HvButton, HvTypography } from \"@hitachivantara/uikit-react-core\";\n\nimport { withStyles } from \"@mui/styles\";\nimport styles from \"./styles\";\n\nconst NotificationsIndicator = ({ classes, className, labels, onClick, ...others }) => {\n return (\n <div className={clsx(className, classes.root, classes.notificationsIndicator)} {...others}>\n <HvTypography classes={{ normalText: classes.semanticColoring }}>{labels.label}</HvTypography>\n <HvButton\n category=\"semantic\"\n className={classes.newNotificationsFocus}\n classes={{\n focusVisible: classes.newNotificationsFocus,\n }}\n onClick={onClick}\n >\n {labels.buttonLabel}\n </HvButton>\n </div>\n );\n};\n\nNotificationsIndicator.propTypes = {\n /**\n * A Jss Object used to override or extend the component styles.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the root of the element.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the NotificationsIndicator container.\n */\n notificationsIndicator: PropTypes.string,\n\n /**\n * Styles applied to the notification focus\n */\n newNotificationsFocus: PropTypes.string,\n /**\n * Override to text color for usage over semantic background in wicked\n */\n semanticColoring: PropTypes.string,\n }).isRequired,\n\n /**\n * Class names to be applied to the accordion.\n */\n className: PropTypes.string,\n /**\n * Labels to apply to component\n */\n labels: PropTypes.shape({\n /**\n * Notification indicator label\n */\n label: PropTypes.string,\n /**\n * Label to apply to the button label\n */\n buttonLabel: PropTypes.string,\n }).isRequired,\n /**\n * Function passed to the notification panel button\n */\n onClick: PropTypes.func,\n};\n\nexport default withStyles(styles, { name: \"HvNotificationsIndicator\" })(NotificationsIndicator);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AAEA;;AACA;;;;;;;;;;AAEA,IAAMA,sBAAsB,GAAG,SAAzBA,sBAAyB,OAAwD;EAAA,IAArDC,OAAqD,QAArDA,OAAqD;EAAA,IAA5CC,SAA4C,QAA5CA,SAA4C;EAAA,IAAjCC,MAAiC,QAAjCA,MAAiC;EAAA,IAAzBC,OAAyB,QAAzBA,OAAyB;EAAA,IAAbC,MAAa;EACrF,oBACE;IAAK,SAAS,EAAE,IAAAC,aAAA,EAAKJ,SAAL,EAAgBD,OAAO,CAACM,IAAxB,EAA8BN,OAAO,CAACO,sBAAtC;EAAhB,GAAmFH,MAAnF;IAAA,wBACE,qBAAC,4BAAD;MAAc,OAAO,EAAE;QAAEI,UAAU,EAAER,OAAO,CAACS;MAAtB,CAAvB;MAAA,UAAkEP,MAAM,CAACQ;IAAzE,EADF,eAEE,qBAAC,wBAAD;MACE,QAAQ,EAAC,UADX;MAEE,SAAS,EAAEV,OAAO,CAACW,qBAFrB;MAGE,OAAO,EAAE;QACPC,YAAY,EAAEZ,OAAO,CAACW;MADf,CAHX;MAME,OAAO,EAAER,OANX;MAAA,UAQGD,MAAM,CAACW;IARV,EAFF;EAAA,GADF;AAeD,CAhBD;;AAkBA,wCAAAd,sBAAsB,CAACe,SAAvB,GAAmC;EACjC;AACF;AACA;EACEd,OAAO,EAAEe,kBAAA,CAAUC,KAAV,CAAgB;IACvB;AACJ;AACA;IACIV,IAAI,EAAES,kBAAA,CAAUE,MAJO;;IAKvB;AACJ;AACA;IACIV,sBAAsB,EAAEQ,kBAAA,CAAUE,MARX;;IAUvB;AACJ;AACA;IACIN,qBAAqB,EAAEI,kBAAA,CAAUE,MAbV;;IAcvB;AACJ;AACA;IACIR,gBAAgB,EAAEM,kBAAA,CAAUE;EAjBL,CAAhB,EAkBNC,UAtB8B;;EAwBjC;AACF;AACA;EACEjB,SAAS,EAAEc,kBAAA,CAAUE,MA3BY;;EA4BjC;AACF;AACA;EACEf,MAAM,EAAEa,kBAAA,CAAUC,KAAV,CAAgB;IACtB;AACJ;AACA;IACIN,KAAK,EAAEK,kBAAA,CAAUE,MAJK;;IAKtB;AACJ;AACA;IACIJ,WAAW,EAAEE,kBAAA,CAAUE;EARD,CAAhB,EASLC,UAxC8B;;EAyCjC;AACF;AACA;EACEf,OAAO,EAAEY,kBAAA,CAAUI;AA5Cc,CAAnC;;eA+Ce,IAAAC,kBAAA,EAAWC,gBAAX,EAAmB;EAAEC,IAAI,EAAE;AAAR,CAAnB,EAAyDvB,sBAAzD,C"}
1
+ {"version":3,"file":"NotificationsIndicator.js","names":["NotificationsIndicator","classes","className","labels","onClick","others","clsx","root","notificationsIndicator","normalText","semanticColoring","label","newNotificationsFocus","focusVisible","buttonLabel","propTypes","PropTypes","shape","string","isRequired","func","withStyles","styles","name"],"sources":["../../../src/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport { HvButton, HvTypography } from \"@hitachivantara/uikit-react-core\";\n\nimport { withStyles } from \"@mui/styles\";\nimport styles from \"./styles\";\n\nconst NotificationsIndicator = ({ classes, className, labels, onClick, ...others }) => {\n return (\n <div className={clsx(className, classes.root, classes.notificationsIndicator)} {...others}>\n <HvTypography classes={{ normalText: classes.semanticColoring }}>{labels.label}</HvTypography>\n <HvButton\n category=\"semantic\"\n className={classes.newNotificationsFocus}\n classes={{\n focusVisible: classes.newNotificationsFocus,\n }}\n onClick={onClick}\n >\n {labels.buttonLabel}\n </HvButton>\n </div>\n );\n};\n\nNotificationsIndicator.propTypes = {\n /**\n * A Jss Object used to override or extend the component styles.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the root of the element.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the NotificationsIndicator container.\n */\n notificationsIndicator: PropTypes.string,\n\n /**\n * Styles applied to the notification focus\n */\n newNotificationsFocus: PropTypes.string,\n /**\n * Override to text color for usage over semantic background in wicked\n */\n semanticColoring: PropTypes.string,\n }).isRequired,\n\n /**\n * Class names to be applied to the accordion.\n */\n className: PropTypes.string,\n /**\n * Labels to apply to component\n */\n labels: PropTypes.shape({\n /**\n * Notification indicator label\n */\n label: PropTypes.string,\n /**\n * Label to apply to the button label\n */\n buttonLabel: PropTypes.string,\n }).isRequired,\n /**\n * Function passed to the notification panel button\n */\n onClick: PropTypes.func,\n};\n\nexport default withStyles(styles, { name: \"HvNotificationsIndicator\" })(NotificationsIndicator);\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AAEA;AACA;AAA8B;AAAA;AAAA;AAAA;AAE9B,IAAMA,sBAAsB,GAAG,SAAzBA,sBAAsB,OAA2D;EAAA,IAArDC,OAAO,QAAPA,OAAO;IAAEC,SAAS,QAATA,SAAS;IAAEC,MAAM,QAANA,MAAM;IAAEC,OAAO,QAAPA,OAAO;IAAKC,MAAM;EAC9E,oBACE;IAAK,SAAS,EAAE,IAAAC,aAAI,EAACJ,SAAS,EAAED,OAAO,CAACM,IAAI,EAAEN,OAAO,CAACO,sBAAsB;EAAE,GAAKH,MAAM;IAAA,wBACvF,qBAAC,4BAAY;MAAC,OAAO,EAAE;QAAEI,UAAU,EAAER,OAAO,CAACS;MAAiB,CAAE;MAAA,UAAEP,MAAM,CAACQ;IAAK,EAAgB,eAC9F,qBAAC,wBAAQ;MACP,QAAQ,EAAC,UAAU;MACnB,SAAS,EAAEV,OAAO,CAACW,qBAAsB;MACzC,OAAO,EAAE;QACPC,YAAY,EAAEZ,OAAO,CAACW;MACxB,CAAE;MACF,OAAO,EAAER,OAAQ;MAAA,UAEhBD,MAAM,CAACW;IAAW,EACV;EAAA,GACP;AAEV,CAAC;AAED,wCAAAd,sBAAsB,CAACe,SAAS,GAAG;EACjC;AACF;AACA;EACEd,OAAO,EAAEe,kBAAS,CAACC,KAAK,CAAC;IACvB;AACJ;AACA;IACIV,IAAI,EAAES,kBAAS,CAACE,MAAM;IACtB;AACJ;AACA;IACIV,sBAAsB,EAAEQ,kBAAS,CAACE,MAAM;IAExC;AACJ;AACA;IACIN,qBAAqB,EAAEI,kBAAS,CAACE,MAAM;IACvC;AACJ;AACA;IACIR,gBAAgB,EAAEM,kBAAS,CAACE;EAC9B,CAAC,CAAC,CAACC,UAAU;EAEb;AACF;AACA;EACEjB,SAAS,EAAEc,kBAAS,CAACE,MAAM;EAC3B;AACF;AACA;EACEf,MAAM,EAAEa,kBAAS,CAACC,KAAK,CAAC;IACtB;AACJ;AACA;IACIN,KAAK,EAAEK,kBAAS,CAACE,MAAM;IACvB;AACJ;AACA;IACIJ,WAAW,EAAEE,kBAAS,CAACE;EACzB,CAAC,CAAC,CAACC,UAAU;EACb;AACF;AACA;EACEf,OAAO,EAAEY,kBAAS,CAACI;AACrB,CAAC;AAAC,eAEa,IAAAC,kBAAU,EAACC,gBAAM,EAAE;EAAEC,IAAI,EAAE;AAA2B,CAAC,CAAC,CAACvB,sBAAsB,CAAC;AAAA"}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
@@ -11,6 +10,5 @@ Object.defineProperty(exports, "default", {
11
10
  return _NotificationsIndicator.default;
12
11
  }
13
12
  });
14
-
15
13
  var _NotificationsIndicator = _interopRequireDefault(require("./NotificationsIndicator"));
16
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/NotificationPanel/NotificationsIndicator/index.js"],"sourcesContent":["export { default } from \"./NotificationsIndicator\";\n"],"mappings":";;;;;;;;;;;;;;AAAA"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/NotificationPanel/NotificationsIndicator/index.js"],"sourcesContent":["export { default } from \"./NotificationsIndicator\";\n"],"mappings":";;;;;;;;;;;;AAAA"}
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var styles = function styles(theme) {
9
8
  return {
10
9
  root: {},
@@ -25,7 +24,6 @@ var styles = function styles(theme) {
25
24
  }
26
25
  };
27
26
  };
28
-
29
27
  var _default = styles;
30
28
  exports.default = _default;
31
29
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":["styles","theme","root","notificationsIndicator","height","backgroundColor","hv","palette","semantic","sema7","display","justifyContent","alignItems","padding","spacing","sm","margin","xs","borderRadius","semanticColoring","color","base","base2"],"sources":["../../../src/NotificationPanel/NotificationsIndicator/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {},\n notificationsIndicator: {\n height: 32,\n backgroundColor: theme.hv.palette.semantic.sema7,\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n padding: `0 0 0 ${theme.hv.spacing.sm}px`,\n \"& button\": {\n margin: `0 0 0 ${theme.hv.spacing.xs}px`,\n borderRadius: 0,\n },\n },\n\n semanticColoring: {\n color: theme.hv.palette.base.base2,\n },\n});\n\nexport default styles;\n"],"mappings":";;;;;;;AAAA,IAAMA,MAAM,GAAG,SAATA,MAAS,CAACC,KAAD;EAAA,OAAY;IACzBC,IAAI,EAAE,EADmB;IAEzBC,sBAAsB,EAAE;MACtBC,MAAM,EAAE,EADc;MAEtBC,eAAe,EAAEJ,KAAK,CAACK,EAAN,CAASC,OAAT,CAAiBC,QAAjB,CAA0BC,KAFrB;MAGtBC,OAAO,EAAE,MAHa;MAItBC,cAAc,EAAE,eAJM;MAKtBC,UAAU,EAAE,QALU;MAMtBC,OAAO,kBAAWZ,KAAK,CAACK,EAAN,CAASQ,OAAT,CAAiBC,EAA5B,OANe;MAOtB,YAAY;QACVC,MAAM,kBAAWf,KAAK,CAACK,EAAN,CAASQ,OAAT,CAAiBG,EAA5B,OADI;QAEVC,YAAY,EAAE;MAFJ;IAPU,CAFC;IAezBC,gBAAgB,EAAE;MAChBC,KAAK,EAAEnB,KAAK,CAACK,EAAN,CAASC,OAAT,CAAiBc,IAAjB,CAAsBC;IADb;EAfO,CAAZ;AAAA,CAAf;;eAoBetB,M"}
1
+ {"version":3,"file":"styles.js","names":["styles","theme","root","notificationsIndicator","height","backgroundColor","hv","palette","semantic","sema7","display","justifyContent","alignItems","padding","spacing","sm","margin","xs","borderRadius","semanticColoring","color","base","base2"],"sources":["../../../src/NotificationPanel/NotificationsIndicator/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {},\n notificationsIndicator: {\n height: 32,\n backgroundColor: theme.hv.palette.semantic.sema7,\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n padding: `0 0 0 ${theme.hv.spacing.sm}px`,\n \"& button\": {\n margin: `0 0 0 ${theme.hv.spacing.xs}px`,\n borderRadius: 0,\n },\n },\n\n semanticColoring: {\n color: theme.hv.palette.base.base2,\n },\n});\n\nexport default styles;\n"],"mappings":";;;;;;AAAA,IAAMA,MAAM,GAAG,SAATA,MAAM,CAAIC,KAAK;EAAA,OAAM;IACzBC,IAAI,EAAE,CAAC,CAAC;IACRC,sBAAsB,EAAE;MACtBC,MAAM,EAAE,EAAE;MACVC,eAAe,EAAEJ,KAAK,CAACK,EAAE,CAACC,OAAO,CAACC,QAAQ,CAACC,KAAK;MAChDC,OAAO,EAAE,MAAM;MACfC,cAAc,EAAE,eAAe;MAC/BC,UAAU,EAAE,QAAQ;MACpBC,OAAO,kBAAWZ,KAAK,CAACK,EAAE,CAACQ,OAAO,CAACC,EAAE,OAAI;MACzC,UAAU,EAAE;QACVC,MAAM,kBAAWf,KAAK,CAACK,EAAE,CAACQ,OAAO,CAACG,EAAE,OAAI;QACxCC,YAAY,EAAE;MAChB;IACF,CAAC;IAEDC,gBAAgB,EAAE;MAChBC,KAAK,EAAEnB,KAAK,CAACK,EAAE,CAACC,OAAO,CAACc,IAAI,CAACC;IAC/B;EACF,CAAC;AAAA,CAAC;AAAC,eAEYtB,MAAM;AAAA"}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
@@ -11,6 +10,5 @@ Object.defineProperty(exports, "default", {
11
10
  return _NotificationPanel.default;
12
11
  }
13
12
  });
14
-
15
13
  var _NotificationPanel = _interopRequireDefault(require("./NotificationPanel"));
16
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/NotificationPanel/index.js"],"sourcesContent":["export { default } from \"./NotificationPanel\";\n"],"mappings":";;;;;;;;;;;;;;AAAA"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/NotificationPanel/index.js"],"sourcesContent":["export { default } from \"./NotificationPanel\";\n"],"mappings":";;;;;;;;;;;;AAAA"}
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var styles = function styles(theme) {
9
8
  return {
10
9
  root: {
@@ -43,7 +42,6 @@ var styles = function styles(theme) {
43
42
  }
44
43
  };
45
44
  };
46
-
47
45
  var _default = styles;
48
46
  exports.default = _default;
49
47
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":["styles","theme","root","display","flexDirection","padding","width","overflow","closed","open","position","right","boxShadow","hv","shadows","actionBar","marginTop","panel","flexGrow","outline","actionBarRoot","backgroundColor","palette","atmosphere","atmo1","justifyContent","emptyState","height"],"sources":["../../src/NotificationPanel/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n padding: 0,\n width: 320,\n overflow: \"hidden\",\n },\n closed: { display: \"none\" },\n open: {\n position: \"absolute\",\n right: 0,\n boxShadow: theme.hv.shadows[1],\n },\n actionBar: {\n marginTop: \"auto\",\n },\n panel: {\n flexGrow: 1,\n overflow: \"auto\",\n padding: 0,\n width: \"100%\",\n \"&.focus-visible\": {\n outline: \"none\",\n },\n },\n\n actionBarRoot: {\n backgroundColor: theme.hv.palette.atmosphere.atmo1,\n justifyContent: \"space-between\",\n },\n\n emptyState: {\n height: \"500px\",\n },\n});\n\nexport default styles;\n"],"mappings":";;;;;;;AAAA,IAAMA,MAAM,GAAG,SAATA,MAAS,CAACC,KAAD;EAAA,OAAY;IACzBC,IAAI,EAAE;MACJC,OAAO,EAAE,MADL;MAEJC,aAAa,EAAE,QAFX;MAGJC,OAAO,EAAE,CAHL;MAIJC,KAAK,EAAE,GAJH;MAKJC,QAAQ,EAAE;IALN,CADmB;IAQzBC,MAAM,EAAE;MAAEL,OAAO,EAAE;IAAX,CARiB;IASzBM,IAAI,EAAE;MACJC,QAAQ,EAAE,UADN;MAEJC,KAAK,EAAE,CAFH;MAGJC,SAAS,EAAEX,KAAK,CAACY,EAAN,CAASC,OAAT,CAAiB,CAAjB;IAHP,CATmB;IAczBC,SAAS,EAAE;MACTC,SAAS,EAAE;IADF,CAdc;IAiBzBC,KAAK,EAAE;MACLC,QAAQ,EAAE,CADL;MAELX,QAAQ,EAAE,MAFL;MAGLF,OAAO,EAAE,CAHJ;MAILC,KAAK,EAAE,MAJF;MAKL,mBAAmB;QACjBa,OAAO,EAAE;MADQ;IALd,CAjBkB;IA2BzBC,aAAa,EAAE;MACbC,eAAe,EAAEpB,KAAK,CAACY,EAAN,CAASS,OAAT,CAAiBC,UAAjB,CAA4BC,KADhC;MAEbC,cAAc,EAAE;IAFH,CA3BU;IAgCzBC,UAAU,EAAE;MACVC,MAAM,EAAE;IADE;EAhCa,CAAZ;AAAA,CAAf;;eAqCe3B,M"}
1
+ {"version":3,"file":"styles.js","names":["styles","theme","root","display","flexDirection","padding","width","overflow","closed","open","position","right","boxShadow","hv","shadows","actionBar","marginTop","panel","flexGrow","outline","actionBarRoot","backgroundColor","palette","atmosphere","atmo1","justifyContent","emptyState","height"],"sources":["../../src/NotificationPanel/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n padding: 0,\n width: 320,\n overflow: \"hidden\",\n },\n closed: { display: \"none\" },\n open: {\n position: \"absolute\",\n right: 0,\n boxShadow: theme.hv.shadows[1],\n },\n actionBar: {\n marginTop: \"auto\",\n },\n panel: {\n flexGrow: 1,\n overflow: \"auto\",\n padding: 0,\n width: \"100%\",\n \"&.focus-visible\": {\n outline: \"none\",\n },\n },\n\n actionBarRoot: {\n backgroundColor: theme.hv.palette.atmosphere.atmo1,\n justifyContent: \"space-between\",\n },\n\n emptyState: {\n height: \"500px\",\n },\n});\n\nexport default styles;\n"],"mappings":";;;;;;AAAA,IAAMA,MAAM,GAAG,SAATA,MAAM,CAAIC,KAAK;EAAA,OAAM;IACzBC,IAAI,EAAE;MACJC,OAAO,EAAE,MAAM;MACfC,aAAa,EAAE,QAAQ;MACvBC,OAAO,EAAE,CAAC;MACVC,KAAK,EAAE,GAAG;MACVC,QAAQ,EAAE;IACZ,CAAC;IACDC,MAAM,EAAE;MAAEL,OAAO,EAAE;IAAO,CAAC;IAC3BM,IAAI,EAAE;MACJC,QAAQ,EAAE,UAAU;MACpBC,KAAK,EAAE,CAAC;MACRC,SAAS,EAAEX,KAAK,CAACY,EAAE,CAACC,OAAO,CAAC,CAAC;IAC/B,CAAC;IACDC,SAAS,EAAE;MACTC,SAAS,EAAE;IACb,CAAC;IACDC,KAAK,EAAE;MACLC,QAAQ,EAAE,CAAC;MACXX,QAAQ,EAAE,MAAM;MAChBF,OAAO,EAAE,CAAC;MACVC,KAAK,EAAE,MAAM;MACb,iBAAiB,EAAE;QACjBa,OAAO,EAAE;MACX;IACF,CAAC;IAEDC,aAAa,EAAE;MACbC,eAAe,EAAEpB,KAAK,CAACY,EAAE,CAACS,OAAO,CAACC,UAAU,CAACC,KAAK;MAClDC,cAAc,EAAE;IAClB,CAAC;IAEDC,UAAU,EAAE;MACVC,MAAM,EAAE;IACV;EACF,CAAC;AAAA,CAAC;AAAC,eAEY3B,MAAM;AAAA"}