@bigbinary/neeto-molecules 3.15.42 → 3.15.43

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 (426) hide show
  1. package/package.json +1 -1
  2. package/dist/AuditLogs.js +0 -539
  3. package/dist/AuditLogs.js.map +0 -1
  4. package/dist/BoardView.js +0 -394
  5. package/dist/BoardView.js.map +0 -1
  6. package/dist/Breadcrumbs.js +0 -46
  7. package/dist/Breadcrumbs.js.map +0 -1
  8. package/dist/BrowserPreview.js +0 -50
  9. package/dist/BrowserPreview.js.map +0 -1
  10. package/dist/BrowserSupport.js +0 -348
  11. package/dist/BrowserSupport.js.map +0 -1
  12. package/dist/Builder.js +0 -786
  13. package/dist/Builder.js.map +0 -1
  14. package/dist/ButtonGroup.js +0 -36
  15. package/dist/ButtonGroup.js.map +0 -1
  16. package/dist/CalendarView.js +0 -353
  17. package/dist/CalendarView.js.map +0 -1
  18. package/dist/CardLayout.js +0 -49
  19. package/dist/CardLayout.js.map +0 -1
  20. package/dist/Chevron-6dLkaXtR.js +0 -246
  21. package/dist/Chevron-6dLkaXtR.js.map +0 -1
  22. package/dist/Codeblock.js +0 -58
  23. package/dist/Codeblock.js.map +0 -1
  24. package/dist/Columns.js +0 -21
  25. package/dist/Columns.js.map +0 -1
  26. package/dist/ConfigurePageSidebar.js +0 -97
  27. package/dist/ConfigurePageSidebar.js.map +0 -1
  28. package/dist/ConfirmationModal.js +0 -110
  29. package/dist/ConfirmationModal.js.map +0 -1
  30. package/dist/Container.js +0 -38
  31. package/dist/Container.js.map +0 -1
  32. package/dist/CopyToClipboardButton.js +0 -82
  33. package/dist/CopyToClipboardButton.js.map +0 -1
  34. package/dist/Currency.js +0 -917
  35. package/dist/Currency.js.map +0 -1
  36. package/dist/DateFormat.js +0 -45
  37. package/dist/DateFormat.js.map +0 -1
  38. package/dist/DateRangeFilter.js +0 -178
  39. package/dist/DateRangeFilter.js.map +0 -1
  40. package/dist/DeleteArchiveModal.js +0 -98
  41. package/dist/DeleteArchiveModal.js.map +0 -1
  42. package/dist/DeviceIncompatibilityMessage.js +0 -95
  43. package/dist/DeviceIncompatibilityMessage.js.map +0 -1
  44. package/dist/DocumentEditor.js +0 -183
  45. package/dist/DocumentEditor.js.map +0 -1
  46. package/dist/DownloadMobileAppCallout.js +0 -40
  47. package/dist/DownloadMobileAppCallout.js.map +0 -1
  48. package/dist/DynamicVariables.js +0 -115
  49. package/dist/DynamicVariables.js.map +0 -1
  50. package/dist/EmailForm.js +0 -567
  51. package/dist/EmailForm.js.map +0 -1
  52. package/dist/EmailPreview.js +0 -140
  53. package/dist/EmailPreview.js.map +0 -1
  54. package/dist/EmojiPicker.js +0 -112
  55. package/dist/EmojiPicker.js.map +0 -1
  56. package/dist/EmojiReactions.js +0 -82
  57. package/dist/EmojiReactions.js.map +0 -1
  58. package/dist/Engagements.js +0 -292
  59. package/dist/Engagements.js.map +0 -1
  60. package/dist/ErrorPage.js +0 -1811
  61. package/dist/ErrorPage.js.map +0 -1
  62. package/dist/FileUpload.js +0 -595
  63. package/dist/FileUpload.js.map +0 -1
  64. package/dist/FinderModal.js +0 -280
  65. package/dist/FinderModal.js.map +0 -1
  66. package/dist/FloatingActionMenu.js +0 -854
  67. package/dist/FloatingActionMenu.js.map +0 -1
  68. package/dist/GoogleFontPicker.js +0 -581
  69. package/dist/GoogleFontPicker.js.map +0 -1
  70. package/dist/Header.js +0 -126
  71. package/dist/Header.js.map +0 -1
  72. package/dist/HelpPopover.js +0 -83
  73. package/dist/HelpPopover.js.map +0 -1
  74. package/dist/IconPicker.js +0 -1159
  75. package/dist/IconPicker.js.map +0 -1
  76. package/dist/ImageWithFallback.js +0 -49
  77. package/dist/ImageWithFallback.js.map +0 -1
  78. package/dist/InlineInput.js +0 -230
  79. package/dist/InlineInput.js.map +0 -1
  80. package/dist/Insights.js +0 -358
  81. package/dist/Insights.js.map +0 -1
  82. package/dist/IntegrationCard.js +0 -227
  83. package/dist/IntegrationCard.js.map +0 -1
  84. package/dist/IpRestriction.js +0 -3617
  85. package/dist/IpRestriction.js.map +0 -1
  86. package/dist/KeyboardShortcuts.js +0 -284
  87. package/dist/KeyboardShortcuts.js.map +0 -1
  88. package/dist/LoginPage.js +0 -184
  89. package/dist/LoginPage.js.map +0 -1
  90. package/dist/MadeWith.js +0 -41
  91. package/dist/MadeWith.js.map +0 -1
  92. package/dist/MenuBar.js +0 -1326
  93. package/dist/MenuBar.js.map +0 -1
  94. package/dist/Metadata.js +0 -218
  95. package/dist/Metadata.js.map +0 -1
  96. package/dist/MobilePreviewHeader.js +0 -25
  97. package/dist/MobilePreviewHeader.js.map +0 -1
  98. package/dist/MoreDropdown.js +0 -163
  99. package/dist/MoreDropdown.js.map +0 -1
  100. package/dist/NavigationHeader.js +0 -264
  101. package/dist/NavigationHeader.js.map +0 -1
  102. package/dist/NeetoWidget.js +0 -2867
  103. package/dist/NeetoWidget.js.map +0 -1
  104. package/dist/Onboarding.js +0 -246
  105. package/dist/Onboarding.js.map +0 -1
  106. package/dist/OptionFields.js +0 -717
  107. package/dist/OptionFields.js.map +0 -1
  108. package/dist/PageLoader.js +0 -40
  109. package/dist/PageLoader.js.map +0 -1
  110. package/dist/PhoneNumber.js +0 -75
  111. package/dist/PhoneNumber.js.map +0 -1
  112. package/dist/ProductEmbed.js +0 -884
  113. package/dist/ProductEmbed.js.map +0 -1
  114. package/dist/PublishBlock.js +0 -447
  115. package/dist/PublishBlock.js.map +0 -1
  116. package/dist/PublishYourItem.js +0 -58
  117. package/dist/PublishYourItem.js.map +0 -1
  118. package/dist/Rename.js +0 -366
  119. package/dist/Rename.js.map +0 -1
  120. package/dist/ResponsiveDevicePicker.js +0 -63
  121. package/dist/ResponsiveDevicePicker.js.map +0 -1
  122. package/dist/Schedule.js +0 -926
  123. package/dist/Schedule.js.map +0 -1
  124. package/dist/Scrollable.js +0 -42
  125. package/dist/Scrollable.js.map +0 -1
  126. package/dist/Search.js +0 -110
  127. package/dist/Search.js.map +0 -1
  128. package/dist/SendToFields.js +0 -2221
  129. package/dist/SendToFields.js.map +0 -1
  130. package/dist/SessionEnvironment.js +0 -431
  131. package/dist/SessionEnvironment.js.map +0 -1
  132. package/dist/Settings.js +0 -250
  133. package/dist/Settings.js.map +0 -1
  134. package/dist/ShareRecordingPane.js +0 -216
  135. package/dist/ShareRecordingPane.js.map +0 -1
  136. package/dist/ShareViaEmail.js +0 -416
  137. package/dist/ShareViaEmail.js.map +0 -1
  138. package/dist/ShareViaLink.js +0 -1556
  139. package/dist/ShareViaLink.js.map +0 -1
  140. package/dist/Sidebar.js +0 -294
  141. package/dist/Sidebar.js.map +0 -1
  142. package/dist/StatusDropdown.js +0 -109
  143. package/dist/StatusDropdown.js.map +0 -1
  144. package/dist/StickyRibbonsContainer.js +0 -131
  145. package/dist/StickyRibbonsContainer.js.map +0 -1
  146. package/dist/SubHeader.js +0 -209
  147. package/dist/SubHeader.js.map +0 -1
  148. package/dist/SubscriptionNotificationsContainer.js +0 -77
  149. package/dist/SubscriptionNotificationsContainer.js.map +0 -1
  150. package/dist/SuffixedInput.js +0 -111
  151. package/dist/SuffixedInput.js.map +0 -1
  152. package/dist/TableWrapper.js +0 -27
  153. package/dist/TableWrapper.js.map +0 -1
  154. package/dist/Taxonomy.js +0 -496
  155. package/dist/Taxonomy.js.map +0 -1
  156. package/dist/TimeFormat.js +0 -14
  157. package/dist/TimeFormat.js.map +0 -1
  158. package/dist/TimezoneMismatchModal.js +0 -138
  159. package/dist/TimezoneMismatchModal.js.map +0 -1
  160. package/dist/ToggleFeatureCard.js +0 -211
  161. package/dist/ToggleFeatureCard.js.map +0 -1
  162. package/dist/_commonjsHelpers-BFTU3MAI.js +0 -8
  163. package/dist/_commonjsHelpers-BFTU3MAI.js.map +0 -1
  164. package/dist/cjs/AuditLogs.js +0 -541
  165. package/dist/cjs/AuditLogs.js.map +0 -1
  166. package/dist/cjs/BoardView.js +0 -396
  167. package/dist/cjs/BoardView.js.map +0 -1
  168. package/dist/cjs/Breadcrumbs.js +0 -48
  169. package/dist/cjs/Breadcrumbs.js.map +0 -1
  170. package/dist/cjs/BrowserPreview.js +0 -52
  171. package/dist/cjs/BrowserPreview.js.map +0 -1
  172. package/dist/cjs/BrowserSupport.js +0 -350
  173. package/dist/cjs/BrowserSupport.js.map +0 -1
  174. package/dist/cjs/Builder.js +0 -794
  175. package/dist/cjs/Builder.js.map +0 -1
  176. package/dist/cjs/ButtonGroup.js +0 -38
  177. package/dist/cjs/ButtonGroup.js.map +0 -1
  178. package/dist/cjs/CalendarView.js +0 -355
  179. package/dist/cjs/CalendarView.js.map +0 -1
  180. package/dist/cjs/CardLayout.js +0 -51
  181. package/dist/cjs/CardLayout.js.map +0 -1
  182. package/dist/cjs/Chevron-wfVdaB4-.js +0 -256
  183. package/dist/cjs/Chevron-wfVdaB4-.js.map +0 -1
  184. package/dist/cjs/Codeblock.js +0 -60
  185. package/dist/cjs/Codeblock.js.map +0 -1
  186. package/dist/cjs/Columns.js +0 -35
  187. package/dist/cjs/Columns.js.map +0 -1
  188. package/dist/cjs/ConfigurePageSidebar.js +0 -99
  189. package/dist/cjs/ConfigurePageSidebar.js.map +0 -1
  190. package/dist/cjs/ConfirmationModal.js +0 -131
  191. package/dist/cjs/ConfirmationModal.js.map +0 -1
  192. package/dist/cjs/Container.js +0 -40
  193. package/dist/cjs/Container.js.map +0 -1
  194. package/dist/cjs/CopyToClipboardButton.js +0 -84
  195. package/dist/cjs/CopyToClipboardButton.js.map +0 -1
  196. package/dist/cjs/Currency.js +0 -920
  197. package/dist/cjs/Currency.js.map +0 -1
  198. package/dist/cjs/DateFormat.js +0 -47
  199. package/dist/cjs/DateFormat.js.map +0 -1
  200. package/dist/cjs/DateRangeFilter.js +0 -180
  201. package/dist/cjs/DateRangeFilter.js.map +0 -1
  202. package/dist/cjs/DeleteArchiveModal.js +0 -100
  203. package/dist/cjs/DeleteArchiveModal.js.map +0 -1
  204. package/dist/cjs/DeviceIncompatibilityMessage.js +0 -115
  205. package/dist/cjs/DeviceIncompatibilityMessage.js.map +0 -1
  206. package/dist/cjs/DocumentEditor.js +0 -185
  207. package/dist/cjs/DocumentEditor.js.map +0 -1
  208. package/dist/cjs/DownloadMobileAppCallout.js +0 -42
  209. package/dist/cjs/DownloadMobileAppCallout.js.map +0 -1
  210. package/dist/cjs/DynamicVariables.js +0 -117
  211. package/dist/cjs/DynamicVariables.js.map +0 -1
  212. package/dist/cjs/EmailForm.js +0 -593
  213. package/dist/cjs/EmailForm.js.map +0 -1
  214. package/dist/cjs/EmailPreview.js +0 -142
  215. package/dist/cjs/EmailPreview.js.map +0 -1
  216. package/dist/cjs/EmojiPicker.js +0 -114
  217. package/dist/cjs/EmojiPicker.js.map +0 -1
  218. package/dist/cjs/EmojiReactions.js +0 -84
  219. package/dist/cjs/EmojiReactions.js.map +0 -1
  220. package/dist/cjs/Engagements.js +0 -294
  221. package/dist/cjs/Engagements.js.map +0 -1
  222. package/dist/cjs/ErrorPage.js +0 -1831
  223. package/dist/cjs/ErrorPage.js.map +0 -1
  224. package/dist/cjs/FileUpload.js +0 -598
  225. package/dist/cjs/FileUpload.js.map +0 -1
  226. package/dist/cjs/FinderModal.js +0 -282
  227. package/dist/cjs/FinderModal.js.map +0 -1
  228. package/dist/cjs/FloatingActionMenu.js +0 -875
  229. package/dist/cjs/FloatingActionMenu.js.map +0 -1
  230. package/dist/cjs/GoogleFontPicker.js +0 -583
  231. package/dist/cjs/GoogleFontPicker.js.map +0 -1
  232. package/dist/cjs/Header.js +0 -128
  233. package/dist/cjs/Header.js.map +0 -1
  234. package/dist/cjs/HelpPopover.js +0 -85
  235. package/dist/cjs/HelpPopover.js.map +0 -1
  236. package/dist/cjs/IconPicker.js +0 -1161
  237. package/dist/cjs/IconPicker.js.map +0 -1
  238. package/dist/cjs/ImageWithFallback.js +0 -51
  239. package/dist/cjs/ImageWithFallback.js.map +0 -1
  240. package/dist/cjs/InlineInput.js +0 -233
  241. package/dist/cjs/InlineInput.js.map +0 -1
  242. package/dist/cjs/Insights.js +0 -360
  243. package/dist/cjs/Insights.js.map +0 -1
  244. package/dist/cjs/IntegrationCard.js +0 -229
  245. package/dist/cjs/IntegrationCard.js.map +0 -1
  246. package/dist/cjs/IpRestriction.js +0 -3638
  247. package/dist/cjs/IpRestriction.js.map +0 -1
  248. package/dist/cjs/KeyboardShortcuts.js +0 -286
  249. package/dist/cjs/KeyboardShortcuts.js.map +0 -1
  250. package/dist/cjs/LoginPage.js +0 -205
  251. package/dist/cjs/LoginPage.js.map +0 -1
  252. package/dist/cjs/MadeWith.js +0 -43
  253. package/dist/cjs/MadeWith.js.map +0 -1
  254. package/dist/cjs/MenuBar.js +0 -1328
  255. package/dist/cjs/MenuBar.js.map +0 -1
  256. package/dist/cjs/Metadata.js +0 -220
  257. package/dist/cjs/Metadata.js.map +0 -1
  258. package/dist/cjs/MobilePreviewHeader.js +0 -27
  259. package/dist/cjs/MobilePreviewHeader.js.map +0 -1
  260. package/dist/cjs/MoreDropdown.js +0 -165
  261. package/dist/cjs/MoreDropdown.js.map +0 -1
  262. package/dist/cjs/NavigationHeader.js +0 -266
  263. package/dist/cjs/NavigationHeader.js.map +0 -1
  264. package/dist/cjs/NeetoWidget.js +0 -2888
  265. package/dist/cjs/NeetoWidget.js.map +0 -1
  266. package/dist/cjs/Onboarding.js +0 -248
  267. package/dist/cjs/Onboarding.js.map +0 -1
  268. package/dist/cjs/OptionFields.js +0 -719
  269. package/dist/cjs/OptionFields.js.map +0 -1
  270. package/dist/cjs/PageLoader.js +0 -42
  271. package/dist/cjs/PageLoader.js.map +0 -1
  272. package/dist/cjs/PhoneNumber.js +0 -80
  273. package/dist/cjs/PhoneNumber.js.map +0 -1
  274. package/dist/cjs/ProductEmbed.js +0 -886
  275. package/dist/cjs/ProductEmbed.js.map +0 -1
  276. package/dist/cjs/PublishBlock.js +0 -449
  277. package/dist/cjs/PublishBlock.js.map +0 -1
  278. package/dist/cjs/PublishYourItem.js +0 -60
  279. package/dist/cjs/PublishYourItem.js.map +0 -1
  280. package/dist/cjs/Rename.js +0 -368
  281. package/dist/cjs/Rename.js.map +0 -1
  282. package/dist/cjs/ResponsiveDevicePicker.js +0 -65
  283. package/dist/cjs/ResponsiveDevicePicker.js.map +0 -1
  284. package/dist/cjs/Schedule.js +0 -947
  285. package/dist/cjs/Schedule.js.map +0 -1
  286. package/dist/cjs/Scrollable.js +0 -44
  287. package/dist/cjs/Scrollable.js.map +0 -1
  288. package/dist/cjs/Search.js +0 -112
  289. package/dist/cjs/Search.js.map +0 -1
  290. package/dist/cjs/SendToFields.js +0 -2223
  291. package/dist/cjs/SendToFields.js.map +0 -1
  292. package/dist/cjs/SessionEnvironment.js +0 -433
  293. package/dist/cjs/SessionEnvironment.js.map +0 -1
  294. package/dist/cjs/Settings.js +0 -252
  295. package/dist/cjs/Settings.js.map +0 -1
  296. package/dist/cjs/ShareRecordingPane.js +0 -218
  297. package/dist/cjs/ShareRecordingPane.js.map +0 -1
  298. package/dist/cjs/ShareViaEmail.js +0 -437
  299. package/dist/cjs/ShareViaEmail.js.map +0 -1
  300. package/dist/cjs/ShareViaLink.js +0 -1577
  301. package/dist/cjs/ShareViaLink.js.map +0 -1
  302. package/dist/cjs/Sidebar.js +0 -315
  303. package/dist/cjs/Sidebar.js.map +0 -1
  304. package/dist/cjs/StatusDropdown.js +0 -111
  305. package/dist/cjs/StatusDropdown.js.map +0 -1
  306. package/dist/cjs/StickyRibbonsContainer.js +0 -133
  307. package/dist/cjs/StickyRibbonsContainer.js.map +0 -1
  308. package/dist/cjs/SubHeader.js +0 -211
  309. package/dist/cjs/SubHeader.js.map +0 -1
  310. package/dist/cjs/SubscriptionNotificationsContainer.js +0 -79
  311. package/dist/cjs/SubscriptionNotificationsContainer.js.map +0 -1
  312. package/dist/cjs/SuffixedInput.js +0 -113
  313. package/dist/cjs/SuffixedInput.js.map +0 -1
  314. package/dist/cjs/TableWrapper.js +0 -29
  315. package/dist/cjs/TableWrapper.js.map +0 -1
  316. package/dist/cjs/Taxonomy.js +0 -517
  317. package/dist/cjs/Taxonomy.js.map +0 -1
  318. package/dist/cjs/TimeFormat.js +0 -16
  319. package/dist/cjs/TimeFormat.js.map +0 -1
  320. package/dist/cjs/TimezoneMismatchModal.js +0 -140
  321. package/dist/cjs/TimezoneMismatchModal.js.map +0 -1
  322. package/dist/cjs/ToggleFeatureCard.js +0 -213
  323. package/dist/cjs/ToggleFeatureCard.js.map +0 -1
  324. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -11
  325. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js.map +0 -1
  326. package/dist/cjs/index-JY2zVpnv.js +0 -1189
  327. package/dist/cjs/index-JY2zVpnv.js.map +0 -1
  328. package/dist/cjs/inject-css-vQvjPR2x.js +0 -6
  329. package/dist/cjs/inject-css-vQvjPR2x.js.map +0 -1
  330. package/dist/cjs/phone-number-BN-c0rfv.js +0 -320
  331. package/dist/cjs/phone-number-BN-c0rfv.js.map +0 -1
  332. package/dist/cjs/platform-BUcCb8Jx.js +0 -1254
  333. package/dist/cjs/platform-BUcCb8Jx.js.map +0 -1
  334. package/dist/cjs/useColumns-BP8c4PV-.js +0 -282
  335. package/dist/cjs/useColumns-BP8c4PV-.js.map +0 -1
  336. package/dist/index-DAYCJu79.js +0 -1187
  337. package/dist/index-DAYCJu79.js.map +0 -1
  338. package/dist/inject-css-DmrvuTKK.js +0 -4
  339. package/dist/inject-css-DmrvuTKK.js.map +0 -1
  340. package/dist/phone-number-CXCBroLh.js +0 -295
  341. package/dist/phone-number-CXCBroLh.js.map +0 -1
  342. package/dist/platform-F44zJ4Xh.js +0 -1252
  343. package/dist/platform-F44zJ4Xh.js.map +0 -1
  344. package/dist/styles/page-loader.css +0 -1
  345. package/dist/styles/page-loader.js +0 -3
  346. package/dist/useColumns-Db5uic1-.js +0 -274
  347. package/dist/useColumns-Db5uic1-.js.map +0 -1
  348. package/types/AuditLogs.d.ts +0 -22
  349. package/types/BoardView.d.ts +0 -149
  350. package/types/Breadcrumbs.d.ts +0 -30
  351. package/types/BrowserPreview.d.ts +0 -30
  352. package/types/BrowserSupport.d.ts +0 -110
  353. package/types/Builder.d.ts +0 -99
  354. package/types/ButtonGroup.d.ts +0 -45
  355. package/types/CalendarView.d.ts +0 -98
  356. package/types/CardLayout.d.ts +0 -34
  357. package/types/Codeblock.d.ts +0 -37
  358. package/types/Columns.d.ts +0 -168
  359. package/types/ConfigurePageSidebar.d.ts +0 -45
  360. package/types/ConfirmationModal.d.ts +0 -65
  361. package/types/Container.d.ts +0 -38
  362. package/types/CopyToClipboardButton.d.ts +0 -28
  363. package/types/Currency.d.ts +0 -50
  364. package/types/DateFormat.d.ts +0 -15
  365. package/types/DateRangeFilter.d.ts +0 -56
  366. package/types/DeleteArchiveModal.d.ts +0 -65
  367. package/types/DeviceIncompatibilityMessage.d.ts +0 -19
  368. package/types/DocumentEditor.d.ts +0 -61
  369. package/types/DownloadMobileAppCallout.d.ts +0 -35
  370. package/types/DynamicVariables.d.ts +0 -48
  371. package/types/EmailForm.d.ts +0 -165
  372. package/types/EmailFormProvider.d.ts +0 -48
  373. package/types/EmailPreview.d.ts +0 -43
  374. package/types/EmojiPicker.d.ts +0 -35
  375. package/types/EmojiReactions.d.ts +0 -62
  376. package/types/Engagements.d.ts +0 -131
  377. package/types/ErrorPage.d.ts +0 -22
  378. package/types/FileUpload.d.ts +0 -89
  379. package/types/FinderModal.d.ts +0 -66
  380. package/types/FloatingActionMenu.d.ts +0 -59
  381. package/types/GoogleFontPicker.d.ts +0 -68
  382. package/types/Header.d.ts +0 -37
  383. package/types/HelpPopover.d.ts +0 -45
  384. package/types/IconPicker.d.ts +0 -45
  385. package/types/ImageWithFallback.d.ts +0 -24
  386. package/types/InlineInput.d.ts +0 -87
  387. package/types/Insights.d.ts +0 -112
  388. package/types/IntegrationCard.d.ts +0 -60
  389. package/types/IpRestriction.d.ts +0 -25
  390. package/types/KeyboardShortcuts.d.ts +0 -149
  391. package/types/LoginPage.d.ts +0 -45
  392. package/types/MadeWith.d.ts +0 -18
  393. package/types/MenuBar.d.ts +0 -127
  394. package/types/Metadata.d.ts +0 -109
  395. package/types/MobilePreviewHeader.d.ts +0 -19
  396. package/types/MoreDropdown.d.ts +0 -52
  397. package/types/NavigationHeader.d.ts +0 -180
  398. package/types/NeetoWidget.d.ts +0 -43
  399. package/types/Onboarding.d.ts +0 -70
  400. package/types/OptionFields.d.ts +0 -70
  401. package/types/PageLoader.d.ts +0 -40
  402. package/types/PhoneNumber.d.ts +0 -112
  403. package/types/ProductEmbed.d.ts +0 -93
  404. package/types/PublishBlock.d.ts +0 -148
  405. package/types/Rename.d.ts +0 -73
  406. package/types/ResponsiveDevicePicker.d.ts +0 -32
  407. package/types/Schedule.d.ts +0 -146
  408. package/types/Scrollable.d.ts +0 -30
  409. package/types/Search.d.ts +0 -22
  410. package/types/SendToFields.d.ts +0 -67
  411. package/types/SessionEnvironment.d.ts +0 -170
  412. package/types/Settings.d.ts +0 -108
  413. package/types/ShareRecordingPane.d.ts +0 -85
  414. package/types/ShareViaEmail.d.ts +0 -99
  415. package/types/ShareViaLink.d.ts +0 -183
  416. package/types/Sidebar.d.ts +0 -51
  417. package/types/StatusDropdown.d.ts +0 -74
  418. package/types/StickyRibbonsContainer.d.ts +0 -28
  419. package/types/SubHeader.d.ts +0 -105
  420. package/types/SubscriptionNotificationsContainer.d.ts +0 -26
  421. package/types/SuffixedInput.d.ts +0 -45
  422. package/types/TableWrapper.d.ts +0 -40
  423. package/types/Taxonomy.d.ts +0 -59
  424. package/types/TimeFormat.d.ts +0 -13
  425. package/types/TimezoneMismatchModal.d.ts +0 -41
  426. package/types/ToggleFeatureCard.d.ts +0 -38
package/dist/MenuBar.js DELETED
@@ -1,1326 +0,0 @@
1
- import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
- import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
- import classnames from 'classnames';
4
- import Typography from '@bigbinary/neetoui/Typography';
5
- import Plus from '@bigbinary/neeto-icons/Plus';
6
- import Button from '@bigbinary/neetoui/Button';
7
- import { n } from './inject-css-DmrvuTKK.js';
8
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
9
- import { noop as noop$1 } from '@bigbinary/neeto-cist';
10
- import { joinHyphenCase } from '@bigbinary/neeto-commons-frontend/utils/general';
11
- import { Link } from 'react-router-dom';
12
- import withT from '@bigbinary/neeto-commons-frontend/react-utils/withT';
13
- import Search$1 from '@bigbinary/neeto-icons/Search';
14
- import Close from '@bigbinary/neeto-icons/Close';
15
- import Input from '@bigbinary/neetoui/Input';
16
- import { P as PropTypes } from './index-DAYCJu79.js';
17
- import { omit } from 'ramda';
18
- import _extends from '@babel/runtime/helpers/esm/extends';
19
- import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
20
- import _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';
21
- import React__default from 'react';
22
- import ReactDOM from 'react-dom';
23
- import './_commonjsHelpers-BFTU3MAI.js';
24
-
25
- /**
26
- * Checks if a given element has a CSS class.
27
- *
28
- * @param element the element
29
- * @param className the CSS class name
30
- */
31
- function hasClass(element, className) {
32
- if (element.classList) return !!className && element.classList.contains(className);
33
- return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
34
- }
35
-
36
- /**
37
- * Adds a CSS class to a given element.
38
- *
39
- * @param element the element
40
- * @param className the CSS class name
41
- */
42
-
43
- function addClass(element, className) {
44
- if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className);
45
- }
46
-
47
- function replaceClassName(origClass, classToRemove) {
48
- return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, '');
49
- }
50
- /**
51
- * Removes a CSS class from a given element.
52
- *
53
- * @param element the element
54
- * @param className the CSS class name
55
- */
56
-
57
-
58
- function removeClass$1(element, className) {
59
- if (element.classList) {
60
- element.classList.remove(className);
61
- } else if (typeof element.className === 'string') {
62
- element.className = replaceClassName(element.className, className);
63
- } else {
64
- element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));
65
- }
66
- }
67
-
68
- var config = {
69
- disabled: false
70
- };
71
-
72
- var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
73
- enter: PropTypes.number,
74
- exit: PropTypes.number,
75
- appear: PropTypes.number
76
- }).isRequired]) : null;
77
- var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
78
- enter: PropTypes.string,
79
- exit: PropTypes.string,
80
- active: PropTypes.string
81
- }), PropTypes.shape({
82
- enter: PropTypes.string,
83
- enterDone: PropTypes.string,
84
- enterActive: PropTypes.string,
85
- exit: PropTypes.string,
86
- exitDone: PropTypes.string,
87
- exitActive: PropTypes.string
88
- })]) : null;
89
-
90
- var TransitionGroupContext = React__default.createContext(null);
91
-
92
- var forceReflow = function forceReflow(node) {
93
- return node.scrollTop;
94
- };
95
-
96
- var UNMOUNTED = 'unmounted';
97
- var EXITED = 'exited';
98
- var ENTERING = 'entering';
99
- var ENTERED = 'entered';
100
- var EXITING = 'exiting';
101
- /**
102
- * The Transition component lets you describe a transition from one component
103
- * state to another _over time_ with a simple declarative API. Most commonly
104
- * it's used to animate the mounting and unmounting of a component, but can also
105
- * be used to describe in-place transition states as well.
106
- *
107
- * ---
108
- *
109
- * **Note**: `Transition` is a platform-agnostic base component. If you're using
110
- * transitions in CSS, you'll probably want to use
111
- * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)
112
- * instead. It inherits all the features of `Transition`, but contains
113
- * additional features necessary to play nice with CSS transitions (hence the
114
- * name of the component).
115
- *
116
- * ---
117
- *
118
- * By default the `Transition` component does not alter the behavior of the
119
- * component it renders, it only tracks "enter" and "exit" states for the
120
- * components. It's up to you to give meaning and effect to those states. For
121
- * example we can add styles to a component when it enters or exits:
122
- *
123
- * ```jsx
124
- * import { Transition } from 'react-transition-group';
125
- *
126
- * const duration = 300;
127
- *
128
- * const defaultStyle = {
129
- * transition: `opacity ${duration}ms ease-in-out`,
130
- * opacity: 0,
131
- * }
132
- *
133
- * const transitionStyles = {
134
- * entering: { opacity: 1 },
135
- * entered: { opacity: 1 },
136
- * exiting: { opacity: 0 },
137
- * exited: { opacity: 0 },
138
- * };
139
- *
140
- * const Fade = ({ in: inProp }) => (
141
- * <Transition in={inProp} timeout={duration}>
142
- * {state => (
143
- * <div style={{
144
- * ...defaultStyle,
145
- * ...transitionStyles[state]
146
- * }}>
147
- * I'm a fade Transition!
148
- * </div>
149
- * )}
150
- * </Transition>
151
- * );
152
- * ```
153
- *
154
- * There are 4 main states a Transition can be in:
155
- * - `'entering'`
156
- * - `'entered'`
157
- * - `'exiting'`
158
- * - `'exited'`
159
- *
160
- * Transition state is toggled via the `in` prop. When `true` the component
161
- * begins the "Enter" stage. During this stage, the component will shift from
162
- * its current transition state, to `'entering'` for the duration of the
163
- * transition and then to the `'entered'` stage once it's complete. Let's take
164
- * the following example (we'll use the
165
- * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):
166
- *
167
- * ```jsx
168
- * function App() {
169
- * const [inProp, setInProp] = useState(false);
170
- * return (
171
- * <div>
172
- * <Transition in={inProp} timeout={500}>
173
- * {state => (
174
- * // ...
175
- * )}
176
- * </Transition>
177
- * <button onClick={() => setInProp(true)}>
178
- * Click to Enter
179
- * </button>
180
- * </div>
181
- * );
182
- * }
183
- * ```
184
- *
185
- * When the button is clicked the component will shift to the `'entering'` state
186
- * and stay there for 500ms (the value of `timeout`) before it finally switches
187
- * to `'entered'`.
188
- *
189
- * When `in` is `false` the same thing happens except the state moves from
190
- * `'exiting'` to `'exited'`.
191
- */
192
-
193
- var Transition = /*#__PURE__*/function (_React$Component) {
194
- _inheritsLoose(Transition, _React$Component);
195
-
196
- function Transition(props, context) {
197
- var _this;
198
-
199
- _this = _React$Component.call(this, props, context) || this;
200
- var parentGroup = context; // In the context of a TransitionGroup all enters are really appears
201
-
202
- var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
203
- var initialStatus;
204
- _this.appearStatus = null;
205
-
206
- if (props.in) {
207
- if (appear) {
208
- initialStatus = EXITED;
209
- _this.appearStatus = ENTERING;
210
- } else {
211
- initialStatus = ENTERED;
212
- }
213
- } else {
214
- if (props.unmountOnExit || props.mountOnEnter) {
215
- initialStatus = UNMOUNTED;
216
- } else {
217
- initialStatus = EXITED;
218
- }
219
- }
220
-
221
- _this.state = {
222
- status: initialStatus
223
- };
224
- _this.nextCallback = null;
225
- return _this;
226
- }
227
-
228
- Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
229
- var nextIn = _ref.in;
230
-
231
- if (nextIn && prevState.status === UNMOUNTED) {
232
- return {
233
- status: EXITED
234
- };
235
- }
236
-
237
- return null;
238
- } // getSnapshotBeforeUpdate(prevProps) {
239
- // let nextStatus = null
240
- // if (prevProps !== this.props) {
241
- // const { status } = this.state
242
- // if (this.props.in) {
243
- // if (status !== ENTERING && status !== ENTERED) {
244
- // nextStatus = ENTERING
245
- // }
246
- // } else {
247
- // if (status === ENTERING || status === ENTERED) {
248
- // nextStatus = EXITING
249
- // }
250
- // }
251
- // }
252
- // return { nextStatus }
253
- // }
254
- ;
255
-
256
- var _proto = Transition.prototype;
257
-
258
- _proto.componentDidMount = function componentDidMount() {
259
- this.updateStatus(true, this.appearStatus);
260
- };
261
-
262
- _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
263
- var nextStatus = null;
264
-
265
- if (prevProps !== this.props) {
266
- var status = this.state.status;
267
-
268
- if (this.props.in) {
269
- if (status !== ENTERING && status !== ENTERED) {
270
- nextStatus = ENTERING;
271
- }
272
- } else {
273
- if (status === ENTERING || status === ENTERED) {
274
- nextStatus = EXITING;
275
- }
276
- }
277
- }
278
-
279
- this.updateStatus(false, nextStatus);
280
- };
281
-
282
- _proto.componentWillUnmount = function componentWillUnmount() {
283
- this.cancelNextCallback();
284
- };
285
-
286
- _proto.getTimeouts = function getTimeouts() {
287
- var timeout = this.props.timeout;
288
- var exit, enter, appear;
289
- exit = enter = appear = timeout;
290
-
291
- if (timeout != null && typeof timeout !== 'number') {
292
- exit = timeout.exit;
293
- enter = timeout.enter; // TODO: remove fallback for next major
294
-
295
- appear = timeout.appear !== undefined ? timeout.appear : enter;
296
- }
297
-
298
- return {
299
- exit: exit,
300
- enter: enter,
301
- appear: appear
302
- };
303
- };
304
-
305
- _proto.updateStatus = function updateStatus(mounting, nextStatus) {
306
- if (mounting === void 0) {
307
- mounting = false;
308
- }
309
-
310
- if (nextStatus !== null) {
311
- // nextStatus will always be ENTERING or EXITING.
312
- this.cancelNextCallback();
313
-
314
- if (nextStatus === ENTERING) {
315
- if (this.props.unmountOnExit || this.props.mountOnEnter) {
316
- var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749
317
- // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.
318
- // To make the animation happen, we have to separate each rendering and avoid being processed as batched.
319
-
320
- if (node) forceReflow(node);
321
- }
322
-
323
- this.performEnter(mounting);
324
- } else {
325
- this.performExit();
326
- }
327
- } else if (this.props.unmountOnExit && this.state.status === EXITED) {
328
- this.setState({
329
- status: UNMOUNTED
330
- });
331
- }
332
- };
333
-
334
- _proto.performEnter = function performEnter(mounting) {
335
- var _this2 = this;
336
-
337
- var enter = this.props.enter;
338
- var appearing = this.context ? this.context.isMounting : mounting;
339
-
340
- var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],
341
- maybeNode = _ref2[0],
342
- maybeAppearing = _ref2[1];
343
-
344
- var timeouts = this.getTimeouts();
345
- var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
346
- // if we are mounting and running this it means appear _must_ be set
347
-
348
- if (!mounting && !enter || config.disabled) {
349
- this.safeSetState({
350
- status: ENTERED
351
- }, function () {
352
- _this2.props.onEntered(maybeNode);
353
- });
354
- return;
355
- }
356
-
357
- this.props.onEnter(maybeNode, maybeAppearing);
358
- this.safeSetState({
359
- status: ENTERING
360
- }, function () {
361
- _this2.props.onEntering(maybeNode, maybeAppearing);
362
-
363
- _this2.onTransitionEnd(enterTimeout, function () {
364
- _this2.safeSetState({
365
- status: ENTERED
366
- }, function () {
367
- _this2.props.onEntered(maybeNode, maybeAppearing);
368
- });
369
- });
370
- });
371
- };
372
-
373
- _proto.performExit = function performExit() {
374
- var _this3 = this;
375
-
376
- var exit = this.props.exit;
377
- var timeouts = this.getTimeouts();
378
- var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED
379
-
380
- if (!exit || config.disabled) {
381
- this.safeSetState({
382
- status: EXITED
383
- }, function () {
384
- _this3.props.onExited(maybeNode);
385
- });
386
- return;
387
- }
388
-
389
- this.props.onExit(maybeNode);
390
- this.safeSetState({
391
- status: EXITING
392
- }, function () {
393
- _this3.props.onExiting(maybeNode);
394
-
395
- _this3.onTransitionEnd(timeouts.exit, function () {
396
- _this3.safeSetState({
397
- status: EXITED
398
- }, function () {
399
- _this3.props.onExited(maybeNode);
400
- });
401
- });
402
- });
403
- };
404
-
405
- _proto.cancelNextCallback = function cancelNextCallback() {
406
- if (this.nextCallback !== null) {
407
- this.nextCallback.cancel();
408
- this.nextCallback = null;
409
- }
410
- };
411
-
412
- _proto.safeSetState = function safeSetState(nextState, callback) {
413
- // This shouldn't be necessary, but there are weird race conditions with
414
- // setState callbacks and unmounting in testing, so always make sure that
415
- // we can cancel any pending setState callbacks after we unmount.
416
- callback = this.setNextCallback(callback);
417
- this.setState(nextState, callback);
418
- };
419
-
420
- _proto.setNextCallback = function setNextCallback(callback) {
421
- var _this4 = this;
422
-
423
- var active = true;
424
-
425
- this.nextCallback = function (event) {
426
- if (active) {
427
- active = false;
428
- _this4.nextCallback = null;
429
- callback(event);
430
- }
431
- };
432
-
433
- this.nextCallback.cancel = function () {
434
- active = false;
435
- };
436
-
437
- return this.nextCallback;
438
- };
439
-
440
- _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
441
- this.setNextCallback(handler);
442
- var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
443
- var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
444
-
445
- if (!node || doesNotHaveTimeoutOrListener) {
446
- setTimeout(this.nextCallback, 0);
447
- return;
448
- }
449
-
450
- if (this.props.addEndListener) {
451
- var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],
452
- maybeNode = _ref3[0],
453
- maybeNextCallback = _ref3[1];
454
-
455
- this.props.addEndListener(maybeNode, maybeNextCallback);
456
- }
457
-
458
- if (timeout != null) {
459
- setTimeout(this.nextCallback, timeout);
460
- }
461
- };
462
-
463
- _proto.render = function render() {
464
- var status = this.state.status;
465
-
466
- if (status === UNMOUNTED) {
467
- return null;
468
- }
469
-
470
- var _this$props = this.props,
471
- children = _this$props.children;
472
- _this$props.in;
473
- _this$props.mountOnEnter;
474
- _this$props.unmountOnExit;
475
- _this$props.appear;
476
- _this$props.enter;
477
- _this$props.exit;
478
- _this$props.timeout;
479
- _this$props.addEndListener;
480
- _this$props.onEnter;
481
- _this$props.onEntering;
482
- _this$props.onEntered;
483
- _this$props.onExit;
484
- _this$props.onExiting;
485
- _this$props.onExited;
486
- _this$props.nodeRef;
487
- var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
488
-
489
- return (
490
- /*#__PURE__*/
491
- // allows for nested Transitions
492
- React__default.createElement(TransitionGroupContext.Provider, {
493
- value: null
494
- }, typeof children === 'function' ? children(status, childProps) : React__default.cloneElement(React__default.Children.only(children), childProps))
495
- );
496
- };
497
-
498
- return Transition;
499
- }(React__default.Component);
500
-
501
- Transition.contextType = TransitionGroupContext;
502
- Transition.propTypes = process.env.NODE_ENV !== "production" ? {
503
- /**
504
- * A React reference to DOM element that need to transition:
505
- * https://stackoverflow.com/a/51127130/4671932
506
- *
507
- * - When `nodeRef` prop is used, `node` is not passed to callback functions
508
- * (e.g. `onEnter`) because user already has direct access to the node.
509
- * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
510
- * `nodeRef` need to be provided to `Transition` with changed `key` prop
511
- * (see
512
- * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
513
- */
514
- nodeRef: PropTypes.shape({
515
- current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {
516
- var value = propValue[key];
517
- return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
518
- }
519
- }),
520
-
521
- /**
522
- * A `function` child can be used instead of a React element. This function is
523
- * called with the current transition status (`'entering'`, `'entered'`,
524
- * `'exiting'`, `'exited'`), which can be used to apply context
525
- * specific props to a component.
526
- *
527
- * ```jsx
528
- * <Transition in={this.state.in} timeout={150}>
529
- * {state => (
530
- * <MyComponent className={`fade fade-${state}`} />
531
- * )}
532
- * </Transition>
533
- * ```
534
- */
535
- children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,
536
-
537
- /**
538
- * Show the component; triggers the enter or exit states
539
- */
540
- in: PropTypes.bool,
541
-
542
- /**
543
- * By default the child component is mounted immediately along with
544
- * the parent `Transition` component. If you want to "lazy mount" the component on the
545
- * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
546
- * mounted, even on "exited", unless you also specify `unmountOnExit`.
547
- */
548
- mountOnEnter: PropTypes.bool,
549
-
550
- /**
551
- * By default the child component stays mounted after it reaches the `'exited'` state.
552
- * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
553
- */
554
- unmountOnExit: PropTypes.bool,
555
-
556
- /**
557
- * By default the child component does not perform the enter transition when
558
- * it first mounts, regardless of the value of `in`. If you want this
559
- * behavior, set both `appear` and `in` to `true`.
560
- *
561
- * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
562
- * > only adds an additional enter transition. However, in the
563
- * > `<CSSTransition>` component that first enter transition does result in
564
- * > additional `.appear-*` classes, that way you can choose to style it
565
- * > differently.
566
- */
567
- appear: PropTypes.bool,
568
-
569
- /**
570
- * Enable or disable enter transitions.
571
- */
572
- enter: PropTypes.bool,
573
-
574
- /**
575
- * Enable or disable exit transitions.
576
- */
577
- exit: PropTypes.bool,
578
-
579
- /**
580
- * The duration of the transition, in milliseconds.
581
- * Required unless `addEndListener` is provided.
582
- *
583
- * You may specify a single timeout for all transitions:
584
- *
585
- * ```jsx
586
- * timeout={500}
587
- * ```
588
- *
589
- * or individually:
590
- *
591
- * ```jsx
592
- * timeout={{
593
- * appear: 500,
594
- * enter: 300,
595
- * exit: 500,
596
- * }}
597
- * ```
598
- *
599
- * - `appear` defaults to the value of `enter`
600
- * - `enter` defaults to `0`
601
- * - `exit` defaults to `0`
602
- *
603
- * @type {number | { enter?: number, exit?: number, appear?: number }}
604
- */
605
- timeout: function timeout(props) {
606
- var pt = timeoutsShape;
607
- if (!props.addEndListener) pt = pt.isRequired;
608
-
609
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
610
- args[_key - 1] = arguments[_key];
611
- }
612
-
613
- return pt.apply(void 0, [props].concat(args));
614
- },
615
-
616
- /**
617
- * Add a custom transition end trigger. Called with the transitioning
618
- * DOM node and a `done` callback. Allows for more fine grained transition end
619
- * logic. Timeouts are still used as a fallback if provided.
620
- *
621
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
622
- *
623
- * ```jsx
624
- * addEndListener={(node, done) => {
625
- * // use the css transitionend event to mark the finish of a transition
626
- * node.addEventListener('transitionend', done, false);
627
- * }}
628
- * ```
629
- */
630
- addEndListener: PropTypes.func,
631
-
632
- /**
633
- * Callback fired before the "entering" status is applied. An extra parameter
634
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
635
- *
636
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
637
- *
638
- * @type Function(node: HtmlElement, isAppearing: bool) -> void
639
- */
640
- onEnter: PropTypes.func,
641
-
642
- /**
643
- * Callback fired after the "entering" status is applied. An extra parameter
644
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
645
- *
646
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
647
- *
648
- * @type Function(node: HtmlElement, isAppearing: bool)
649
- */
650
- onEntering: PropTypes.func,
651
-
652
- /**
653
- * Callback fired after the "entered" status is applied. An extra parameter
654
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
655
- *
656
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
657
- *
658
- * @type Function(node: HtmlElement, isAppearing: bool) -> void
659
- */
660
- onEntered: PropTypes.func,
661
-
662
- /**
663
- * Callback fired before the "exiting" status is applied.
664
- *
665
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
666
- *
667
- * @type Function(node: HtmlElement) -> void
668
- */
669
- onExit: PropTypes.func,
670
-
671
- /**
672
- * Callback fired after the "exiting" status is applied.
673
- *
674
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
675
- *
676
- * @type Function(node: HtmlElement) -> void
677
- */
678
- onExiting: PropTypes.func,
679
-
680
- /**
681
- * Callback fired after the "exited" status is applied.
682
- *
683
- * **Note**: when `nodeRef` prop is passed, `node` is not passed
684
- *
685
- * @type Function(node: HtmlElement) -> void
686
- */
687
- onExited: PropTypes.func
688
- } : {}; // Name the function so it is clearer in the documentation
689
-
690
- function noop() {}
691
-
692
- Transition.defaultProps = {
693
- in: false,
694
- mountOnEnter: false,
695
- unmountOnExit: false,
696
- appear: false,
697
- enter: true,
698
- exit: true,
699
- onEnter: noop,
700
- onEntering: noop,
701
- onEntered: noop,
702
- onExit: noop,
703
- onExiting: noop,
704
- onExited: noop
705
- };
706
- Transition.UNMOUNTED = UNMOUNTED;
707
- Transition.EXITED = EXITED;
708
- Transition.ENTERING = ENTERING;
709
- Transition.ENTERED = ENTERED;
710
- Transition.EXITING = EXITING;
711
-
712
- var _addClass = function addClass$1(node, classes) {
713
- return node && classes && classes.split(' ').forEach(function (c) {
714
- return addClass(node, c);
715
- });
716
- };
717
-
718
- var removeClass = function removeClass(node, classes) {
719
- return node && classes && classes.split(' ').forEach(function (c) {
720
- return removeClass$1(node, c);
721
- });
722
- };
723
- /**
724
- * A transition component inspired by the excellent
725
- * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should
726
- * use it if you're using CSS transitions or animations. It's built upon the
727
- * [`Transition`](https://reactcommunity.org/react-transition-group/transition)
728
- * component, so it inherits all of its props.
729
- *
730
- * `CSSTransition` applies a pair of class names during the `appear`, `enter`,
731
- * and `exit` states of the transition. The first class is applied and then a
732
- * second `*-active` class in order to activate the CSS transition. After the
733
- * transition, matching `*-done` class names are applied to persist the
734
- * transition state.
735
- *
736
- * ```jsx
737
- * function App() {
738
- * const [inProp, setInProp] = useState(false);
739
- * return (
740
- * <div>
741
- * <CSSTransition in={inProp} timeout={200} classNames="my-node">
742
- * <div>
743
- * {"I'll receive my-node-* classes"}
744
- * </div>
745
- * </CSSTransition>
746
- * <button type="button" onClick={() => setInProp(true)}>
747
- * Click to Enter
748
- * </button>
749
- * </div>
750
- * );
751
- * }
752
- * ```
753
- *
754
- * When the `in` prop is set to `true`, the child component will first receive
755
- * the class `example-enter`, then the `example-enter-active` will be added in
756
- * the next tick. `CSSTransition` [forces a
757
- * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)
758
- * between before adding the `example-enter-active`. This is an important trick
759
- * because it allows us to transition between `example-enter` and
760
- * `example-enter-active` even though they were added immediately one after
761
- * another. Most notably, this is what makes it possible for us to animate
762
- * _appearance_.
763
- *
764
- * ```css
765
- * .my-node-enter {
766
- * opacity: 0;
767
- * }
768
- * .my-node-enter-active {
769
- * opacity: 1;
770
- * transition: opacity 200ms;
771
- * }
772
- * .my-node-exit {
773
- * opacity: 1;
774
- * }
775
- * .my-node-exit-active {
776
- * opacity: 0;
777
- * transition: opacity 200ms;
778
- * }
779
- * ```
780
- *
781
- * `*-active` classes represent which styles you want to animate **to**, so it's
782
- * important to add `transition` declaration only to them, otherwise transitions
783
- * might not behave as intended! This might not be obvious when the transitions
784
- * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in
785
- * the example above (minus `transition`), but it becomes apparent in more
786
- * complex transitions.
787
- *
788
- * **Note**: If you're using the
789
- * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)
790
- * prop, make sure to define styles for `.appear-*` classes as well.
791
- */
792
-
793
-
794
- var CSSTransition = /*#__PURE__*/function (_React$Component) {
795
- _inheritsLoose(CSSTransition, _React$Component);
796
-
797
- function CSSTransition() {
798
- var _this;
799
-
800
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
801
- args[_key] = arguments[_key];
802
- }
803
-
804
- _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
805
- _this.appliedClasses = {
806
- appear: {},
807
- enter: {},
808
- exit: {}
809
- };
810
-
811
- _this.onEnter = function (maybeNode, maybeAppearing) {
812
- var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),
813
- node = _this$resolveArgument[0],
814
- appearing = _this$resolveArgument[1];
815
-
816
- _this.removeClasses(node, 'exit');
817
-
818
- _this.addClass(node, appearing ? 'appear' : 'enter', 'base');
819
-
820
- if (_this.props.onEnter) {
821
- _this.props.onEnter(maybeNode, maybeAppearing);
822
- }
823
- };
824
-
825
- _this.onEntering = function (maybeNode, maybeAppearing) {
826
- var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),
827
- node = _this$resolveArgument2[0],
828
- appearing = _this$resolveArgument2[1];
829
-
830
- var type = appearing ? 'appear' : 'enter';
831
-
832
- _this.addClass(node, type, 'active');
833
-
834
- if (_this.props.onEntering) {
835
- _this.props.onEntering(maybeNode, maybeAppearing);
836
- }
837
- };
838
-
839
- _this.onEntered = function (maybeNode, maybeAppearing) {
840
- var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),
841
- node = _this$resolveArgument3[0],
842
- appearing = _this$resolveArgument3[1];
843
-
844
- var type = appearing ? 'appear' : 'enter';
845
-
846
- _this.removeClasses(node, type);
847
-
848
- _this.addClass(node, type, 'done');
849
-
850
- if (_this.props.onEntered) {
851
- _this.props.onEntered(maybeNode, maybeAppearing);
852
- }
853
- };
854
-
855
- _this.onExit = function (maybeNode) {
856
- var _this$resolveArgument4 = _this.resolveArguments(maybeNode),
857
- node = _this$resolveArgument4[0];
858
-
859
- _this.removeClasses(node, 'appear');
860
-
861
- _this.removeClasses(node, 'enter');
862
-
863
- _this.addClass(node, 'exit', 'base');
864
-
865
- if (_this.props.onExit) {
866
- _this.props.onExit(maybeNode);
867
- }
868
- };
869
-
870
- _this.onExiting = function (maybeNode) {
871
- var _this$resolveArgument5 = _this.resolveArguments(maybeNode),
872
- node = _this$resolveArgument5[0];
873
-
874
- _this.addClass(node, 'exit', 'active');
875
-
876
- if (_this.props.onExiting) {
877
- _this.props.onExiting(maybeNode);
878
- }
879
- };
880
-
881
- _this.onExited = function (maybeNode) {
882
- var _this$resolveArgument6 = _this.resolveArguments(maybeNode),
883
- node = _this$resolveArgument6[0];
884
-
885
- _this.removeClasses(node, 'exit');
886
-
887
- _this.addClass(node, 'exit', 'done');
888
-
889
- if (_this.props.onExited) {
890
- _this.props.onExited(maybeNode);
891
- }
892
- };
893
-
894
- _this.resolveArguments = function (maybeNode, maybeAppearing) {
895
- return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`
896
- : [maybeNode, maybeAppearing];
897
- };
898
-
899
- _this.getClassNames = function (type) {
900
- var classNames = _this.props.classNames;
901
- var isStringClassNames = typeof classNames === 'string';
902
- var prefix = isStringClassNames && classNames ? classNames + "-" : '';
903
- var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type];
904
- var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"];
905
- var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"];
906
- return {
907
- baseClassName: baseClassName,
908
- activeClassName: activeClassName,
909
- doneClassName: doneClassName
910
- };
911
- };
912
-
913
- return _this;
914
- }
915
-
916
- var _proto = CSSTransition.prototype;
917
-
918
- _proto.addClass = function addClass(node, type, phase) {
919
- var className = this.getClassNames(type)[phase + "ClassName"];
920
-
921
- var _this$getClassNames = this.getClassNames('enter'),
922
- doneClassName = _this$getClassNames.doneClassName;
923
-
924
- if (type === 'appear' && phase === 'done' && doneClassName) {
925
- className += " " + doneClassName;
926
- } // This is to force a repaint,
927
- // which is necessary in order to transition styles when adding a class name.
928
-
929
-
930
- if (phase === 'active') {
931
- if (node) forceReflow(node);
932
- }
933
-
934
- if (className) {
935
- this.appliedClasses[type][phase] = className;
936
-
937
- _addClass(node, className);
938
- }
939
- };
940
-
941
- _proto.removeClasses = function removeClasses(node, type) {
942
- var _this$appliedClasses$ = this.appliedClasses[type],
943
- baseClassName = _this$appliedClasses$.base,
944
- activeClassName = _this$appliedClasses$.active,
945
- doneClassName = _this$appliedClasses$.done;
946
- this.appliedClasses[type] = {};
947
-
948
- if (baseClassName) {
949
- removeClass(node, baseClassName);
950
- }
951
-
952
- if (activeClassName) {
953
- removeClass(node, activeClassName);
954
- }
955
-
956
- if (doneClassName) {
957
- removeClass(node, doneClassName);
958
- }
959
- };
960
-
961
- _proto.render = function render() {
962
- var _this$props = this.props;
963
- _this$props.classNames;
964
- var props = _objectWithoutPropertiesLoose(_this$props, ["classNames"]);
965
-
966
- return /*#__PURE__*/React__default.createElement(Transition, _extends({}, props, {
967
- onEnter: this.onEnter,
968
- onEntered: this.onEntered,
969
- onEntering: this.onEntering,
970
- onExit: this.onExit,
971
- onExiting: this.onExiting,
972
- onExited: this.onExited
973
- }));
974
- };
975
-
976
- return CSSTransition;
977
- }(React__default.Component);
978
-
979
- CSSTransition.defaultProps = {
980
- classNames: ''
981
- };
982
- CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, Transition.propTypes, {
983
- /**
984
- * The animation classNames applied to the component as it appears, enters,
985
- * exits or has finished the transition. A single name can be provided, which
986
- * will be suffixed for each stage, e.g. `classNames="fade"` applies:
987
- *
988
- * - `fade-appear`, `fade-appear-active`, `fade-appear-done`
989
- * - `fade-enter`, `fade-enter-active`, `fade-enter-done`
990
- * - `fade-exit`, `fade-exit-active`, `fade-exit-done`
991
- *
992
- * A few details to note about how these classes are applied:
993
- *
994
- * 1. They are _joined_ with the ones that are already defined on the child
995
- * component, so if you want to add some base styles, you can use
996
- * `className` without worrying that it will be overridden.
997
- *
998
- * 2. If the transition component mounts with `in={false}`, no classes are
999
- * applied yet. You might be expecting `*-exit-done`, but if you think
1000
- * about it, a component cannot finish exiting if it hasn't entered yet.
1001
- *
1002
- * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This
1003
- * allows you to define different behavior for when appearing is done and
1004
- * when regular entering is done, using selectors like
1005
- * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply
1006
- * an epic entrance animation when element first appears in the DOM using
1007
- * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can
1008
- * simply use `fade-enter-done` for defining both cases.
1009
- *
1010
- * Each individual classNames can also be specified independently like:
1011
- *
1012
- * ```js
1013
- * classNames={{
1014
- * appear: 'my-appear',
1015
- * appearActive: 'my-active-appear',
1016
- * appearDone: 'my-done-appear',
1017
- * enter: 'my-enter',
1018
- * enterActive: 'my-active-enter',
1019
- * enterDone: 'my-done-enter',
1020
- * exit: 'my-exit',
1021
- * exitActive: 'my-active-exit',
1022
- * exitDone: 'my-done-exit',
1023
- * }}
1024
- * ```
1025
- *
1026
- * If you want to set these classes using CSS Modules:
1027
- *
1028
- * ```js
1029
- * import styles from './styles.css';
1030
- * ```
1031
- *
1032
- * you might want to use camelCase in your CSS file, that way could simply
1033
- * spread them instead of listing them one by one:
1034
- *
1035
- * ```js
1036
- * classNames={{ ...styles }}
1037
- * ```
1038
- *
1039
- * @type {string | {
1040
- * appear?: string,
1041
- * appearActive?: string,
1042
- * appearDone?: string,
1043
- * enter?: string,
1044
- * enterActive?: string,
1045
- * enterDone?: string,
1046
- * exit?: string,
1047
- * exitActive?: string,
1048
- * exitDone?: string,
1049
- * }}
1050
- */
1051
- classNames: classNamesShape,
1052
-
1053
- /**
1054
- * A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is
1055
- * applied.
1056
- *
1057
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
1058
- *
1059
- * @type Function(node: HtmlElement, isAppearing: bool)
1060
- */
1061
- onEnter: PropTypes.func,
1062
-
1063
- /**
1064
- * A `<Transition>` callback fired immediately after the 'enter-active' or
1065
- * 'appear-active' class is applied.
1066
- *
1067
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
1068
- *
1069
- * @type Function(node: HtmlElement, isAppearing: bool)
1070
- */
1071
- onEntering: PropTypes.func,
1072
-
1073
- /**
1074
- * A `<Transition>` callback fired immediately after the 'enter' or
1075
- * 'appear' classes are **removed** and the `done` class is added to the DOM node.
1076
- *
1077
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
1078
- *
1079
- * @type Function(node: HtmlElement, isAppearing: bool)
1080
- */
1081
- onEntered: PropTypes.func,
1082
-
1083
- /**
1084
- * A `<Transition>` callback fired immediately after the 'exit' class is
1085
- * applied.
1086
- *
1087
- * **Note**: when `nodeRef` prop is passed, `node` is not passed
1088
- *
1089
- * @type Function(node: HtmlElement)
1090
- */
1091
- onExit: PropTypes.func,
1092
-
1093
- /**
1094
- * A `<Transition>` callback fired immediately after the 'exit-active' is applied.
1095
- *
1096
- * **Note**: when `nodeRef` prop is passed, `node` is not passed
1097
- *
1098
- * @type Function(node: HtmlElement)
1099
- */
1100
- onExiting: PropTypes.func,
1101
-
1102
- /**
1103
- * A `<Transition>` callback fired immediately after the 'exit' classes
1104
- * are **removed** and the `exit-done` class is added to the DOM node.
1105
- *
1106
- * **Note**: when `nodeRef` prop is passed, `node` is not passed
1107
- *
1108
- * @type Function(node: HtmlElement)
1109
- */
1110
- onExited: PropTypes.func
1111
- }) : {};
1112
-
1113
- var css = ".neeto-molecules-menubar__wrapper{background-color:rgb(var(--neeto-ui-white))!important;border-right:1px solid rgb(var(--neeto-ui-gray-200));flex-shrink:0;overflow:hidden;transition:all .3s}.neeto-molecules-menubar__container{height:100vh;overflow-y:auto;padding:2rem!important;width:20.25rem}@media screen and (max-width:1024px){.neeto-molecules-menubar__container{padding:2.5rem 1.5rem 1.5rem!important;width:17.5rem}}@media screen and (max-width:768px){.neeto-molecules-menubar__container{padding:2.5rem 1.25rem 1.5rem!important;width:15rem}}.neeto-molecules-menubar__title{margin-bottom:1rem}.neeto-molecules-menubar__search{align-items:center;display:flex;gap:.25rem;margin-bottom:1.25rem}.neeto-molecules-menubar__subtitle{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.25rem;margin-top:1.25rem}.neeto-molecules-menubar__subtitle-actions{align-items:center;display:flex;gap:.25rem}.neeto-molecules-menubar__add-new-wrap,.neeto-molecules-menubar__block{margin-bottom:.5rem;padding:.4375rem .5rem}.neeto-molecules-menubar__block{align-items:center;border:thin solid transparent;border-radius:var(--neeto-ui-rounded);cursor:pointer;display:flex;justify-content:space-between;text-align:left;transition:all .3s;width:100%}.neeto-molecules-menubar__block:active,.neeto-molecules-menubar__block:focus,.neeto-molecules-menubar__block:focus-visible,.neeto-molecules-menubar__block:hover{background-color:rgb(var(--neeto-ui-gray-200));outline:none;text-decoration:none}.neeto-molecules-menubar__block--active{background-color:rgb(var(--neeto-ui-primary-100));border-color:rgb(var(--neeto-ui-primary-100));box-shadow:none;position:relative}.neeto-molecules-menubar__block--active:after{background-color:rgb(var(--neeto-ui-primary-500));border-bottom-left-radius:var(--neeto-ui-rounded);border-top-left-radius:var(--neeto-ui-rounded);content:\"\";height:100%;left:-1px;position:absolute;top:0;width:.1875rem}.neeto-molecules-menubar__block--active:active,.neeto-molecules-menubar__block--active:focus,.neeto-molecules-menubar__block--active:focus-visible,.neeto-molecules-menubar__block--active:hover{background-color:rgb(var(--neeto-ui-primary-100))}.neeto-molecules-menubar__block .neeto-molecules-menubar__block-label{align-items:center;display:flex}.neeto-molecules-menubar__block .neeto-molecules-menubar__block-icon{margin-right:.25rem}.neeto-molecules-menubar__item{border:thin solid transparent;border-radius:var(--neeto-ui-rounded);cursor:pointer;margin-bottom:.5rem;padding:.75rem;text-align:left;transition:all .3s;width:100%}@media screen and (max-width:1024px){.neeto-molecules-menubar__item{padding:.625rem}}@media screen and (max-width:768px){.neeto-molecules-menubar__item{padding:.5rem}}.neeto-molecules-menubar__item:active,.neeto-molecules-menubar__item:focus,.neeto-molecules-menubar__item:focus-visible,.neeto-molecules-menubar__item:hover{background-color:rgb(var(--neeto-ui-gray-200));outline:none}.neeto-molecules-menubar__item--active{background-color:rgb(var(--neeto-ui-white));border-color:rgb(var(--neeto-ui-gray-300));box-shadow:var(--neeto-ui-shadow-xs);color:rgb(var(--neeto-ui-gray-800))}.neeto-molecules-menubar__item--active:active,.neeto-molecules-menubar__item--active:focus,.neeto-molecules-menubar__item--active:focus-visible,.neeto-molecules-menubar__item--active:hover{background-color:rgb(var(--neeto-ui-white))}.neeto-molecules-menubar-enter.neeto-molecules-menubar__wrapper{width:0}.neeto-molecules-menubar-enter-active.neeto-molecules-menubar__wrapper,.neeto-molecules-menubar-enter-done.neeto-molecules-menubar__wrapper,.neeto-molecules-menubar-exit.neeto-molecules-menubar__wrapper{width:20.25rem}.neeto-molecules-menubar-exit-active.neeto-molecules-menubar__wrapper{width:0}";
1114
- n(css,{});
1115
-
1116
- var _excluded$5 = ["label", "onClick"];
1117
- function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1118
- function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1119
- var AddNew = function AddNew(_ref) {
1120
- var _ref$label = _ref.label,
1121
- label = _ref$label === void 0 ? "" : _ref$label,
1122
- onClick = _ref.onClick,
1123
- otherProps = _objectWithoutProperties(_ref, _excluded$5);
1124
- return /*#__PURE__*/jsx("div", _objectSpread$4(_objectSpread$4({
1125
- className: "neeto-molecules-menubar__add-new-wrap"
1126
- }, otherProps), {}, {
1127
- children: /*#__PURE__*/jsx(Button, {
1128
- label: label,
1129
- onClick: onClick,
1130
- icon: Plus,
1131
- iconPosition: "left",
1132
- iconSize: 16,
1133
- size: "small",
1134
- style: "link"
1135
- })
1136
- }));
1137
- };
1138
-
1139
- var _excluded$4 = ["url", "icon", "label", "count", "active", "onEdit", "onClick", "className"];
1140
- function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1141
- function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1142
- var Block = function Block(_ref) {
1143
- var url = _ref.url,
1144
- icon = _ref.icon,
1145
- label = _ref.label,
1146
- count = _ref.count,
1147
- _ref$active = _ref.active,
1148
- active = _ref$active === void 0 ? false : _ref$active,
1149
- onEdit = _ref.onEdit,
1150
- _ref$onClick = _ref.onClick,
1151
- onClick = _ref$onClick === void 0 ? noop$1 : _ref$onClick,
1152
- className = _ref.className,
1153
- otherProps = _objectWithoutProperties(_ref, _excluded$4);
1154
- var handleEdit = function handleEdit(e) {
1155
- e.stopPropagation();
1156
- onEdit && onEdit();
1157
- };
1158
- var Parent = url ? Link : function (props) {
1159
- return /*#__PURE__*/jsx("button", _objectSpread$3({}, props));
1160
- };
1161
- return /*#__PURE__*/jsxs(Parent, _objectSpread$3(_objectSpread$3({
1162
- "data-cy": otherProps["data-cy"] || "menubar-block",
1163
- to: url,
1164
- className: classnames("neeto-molecules-menubar__block", _defineProperty({
1165
- "neeto-molecules-menubar__block--editable": !!onEdit,
1166
- "neeto-molecules-menubar__block--active": active
1167
- }, className, className))
1168
- }, _objectSpread$3({
1169
- onClick: onClick
1170
- }, otherProps)), {}, {
1171
- children: [/*#__PURE__*/jsxs("div", {
1172
- className: "neeto-molecules-menubar__block-label",
1173
- "data-cy": joinHyphenCase("menubar-block-label", label),
1174
- children: [icon && /*#__PURE__*/jsx("i", {
1175
- className: "neeto-molecules-menubar__block-icon",
1176
- children: icon
1177
- }), /*#__PURE__*/jsx(Typography, {
1178
- component: "span",
1179
- style: "h5",
1180
- title: label,
1181
- weight: "medium",
1182
- children: label
1183
- })]
1184
- }), Number.isInteger(count) && /*#__PURE__*/jsx("div", {
1185
- onClick: handleEdit,
1186
- children: /*#__PURE__*/jsx(Typography, {
1187
- component: "span",
1188
- style: "h5",
1189
- weight: "medium",
1190
- children: count
1191
- })
1192
- })]
1193
- }));
1194
- };
1195
-
1196
- var _excluded$3 = ["label", "description", "active", "className"];
1197
- function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1198
- function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1199
- var Item = function Item(_ref) {
1200
- var _ref$label = _ref.label,
1201
- label = _ref$label === void 0 ? "" : _ref$label,
1202
- _ref$description = _ref.description,
1203
- description = _ref$description === void 0 ? "" : _ref$description,
1204
- _ref$active = _ref.active,
1205
- active = _ref$active === void 0 ? false : _ref$active,
1206
- _ref$className = _ref.className,
1207
- className = _ref$className === void 0 ? "" : _ref$className,
1208
- otherProps = _objectWithoutProperties(_ref, _excluded$3);
1209
- return /*#__PURE__*/jsxs("button", _objectSpread$2(_objectSpread$2({
1210
- className: classnames("neeto-molecules-menubar__item", _defineProperty({
1211
- "neeto-molecules-menubar__item--active": active
1212
- }, className, className))
1213
- }, otherProps), {}, {
1214
- children: [/*#__PURE__*/jsx(Typography, {
1215
- className: "neeto-molecules-menubar__item-header",
1216
- component: "h5",
1217
- style: "h4",
1218
- children: label
1219
- }), /*#__PURE__*/jsx(Typography, {
1220
- className: "neeto-molecules-menubar__item-desc",
1221
- style: "body3",
1222
- children: description
1223
- })]
1224
- }));
1225
- };
1226
-
1227
- var UNSUPPORTED_INPUT_PROPS = ["tReady"];
1228
-
1229
- var _excluded$2 = ["t", "isCollapsed", "onCollapse"];
1230
- function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1231
- function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1232
- var Search = withT(function (_ref) {
1233
- var t = _ref.t,
1234
- _ref$isCollapsed = _ref.isCollapsed,
1235
- isCollapsed = _ref$isCollapsed === void 0 ? true : _ref$isCollapsed,
1236
- onCollapse = _ref.onCollapse,
1237
- props = _objectWithoutProperties(_ref, _excluded$2);
1238
- return /*#__PURE__*/jsx(Fragment, {
1239
- children: !isCollapsed && /*#__PURE__*/jsxs("div", {
1240
- className: "neeto-molecules-menubar__search",
1241
- children: [/*#__PURE__*/jsx(Input, _objectSpread$1({
1242
- placeholder: t("neetoMolecules.common.actions.search"),
1243
- prefix: /*#__PURE__*/jsx(Search$1, {}),
1244
- type: "search"
1245
- }, omit(UNSUPPORTED_INPUT_PROPS, props))), /*#__PURE__*/jsx(Button, {
1246
- "data-cy": "menubar-search-close-icon",
1247
- icon: Close,
1248
- style: "text",
1249
- onClick: onCollapse
1250
- })]
1251
- })
1252
- });
1253
- });
1254
- Search.propTypes = {
1255
- /**
1256
- * To specify whether the search field is collapsed.
1257
- */
1258
- isCollapsed: PropTypes.bool,
1259
- /**
1260
- * To provide a callback function on collapse of the search field.
1261
- */
1262
- onCollapse: PropTypes.func
1263
- };
1264
-
1265
- var _excluded$1 = ["children", "iconProps"];
1266
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1267
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1268
- var SubTitle = function SubTitle(_ref) {
1269
- var children = _ref.children,
1270
- iconProps = _ref.iconProps,
1271
- otherProps = _objectWithoutProperties(_ref, _excluded$1);
1272
- return /*#__PURE__*/jsxs("div", _objectSpread(_objectSpread({
1273
- className: "neeto-molecules-menubar__subtitle",
1274
- "data-cy": otherProps["data-cy"] || "menubar-subtitle-heading"
1275
- }, otherProps), {}, {
1276
- children: [children, /*#__PURE__*/jsx("div", {
1277
- className: "neeto-molecules-menubar__subtitle-actions",
1278
- children: iconProps === null || iconProps === void 0 ? void 0 : iconProps.map(function (iconProp, index) {
1279
- return /*#__PURE__*/jsx(Button, _objectSpread({
1280
- style: "text"
1281
- }, iconProp), index);
1282
- })
1283
- })]
1284
- }));
1285
- };
1286
-
1287
- var _excluded = ["title", "children", "showMenu", "className"];
1288
- var MenuBar = function MenuBar(_ref) {
1289
- var _ref$title = _ref.title,
1290
- title = _ref$title === void 0 ? "" : _ref$title,
1291
- children = _ref.children,
1292
- _ref$showMenu = _ref.showMenu,
1293
- showMenu = _ref$showMenu === void 0 ? false : _ref$showMenu,
1294
- _ref$className = _ref.className,
1295
- className = _ref$className === void 0 ? "" : _ref$className,
1296
- otherProps = _objectWithoutProperties(_ref, _excluded);
1297
- return /*#__PURE__*/jsx(CSSTransition, {
1298
- unmountOnExit: true,
1299
- classNames: "neeto-molecules-menubar",
1300
- "in": showMenu,
1301
- timeout: 300,
1302
- children: /*#__PURE__*/jsx("div", {
1303
- className: classnames("neeto-molecules-menubar__wrapper", _defineProperty({}, className, className)),
1304
- children: /*#__PURE__*/jsxs("div", {
1305
- className: "neeto-molecules-menubar__container",
1306
- "data-cy": "menubar-container",
1307
- children: [title && /*#__PURE__*/jsx(Typography, {
1308
- className: "neeto-molecules-menubar__title",
1309
- "data-cy": otherProps["data-cy"] || "menubar-heading",
1310
- lineHeight: "tight",
1311
- style: "h2",
1312
- weight: "semibold",
1313
- children: title
1314
- }), children]
1315
- })
1316
- })
1317
- });
1318
- };
1319
- MenuBar.Block = Block;
1320
- MenuBar.Item = Item;
1321
- MenuBar.SubTitle = SubTitle;
1322
- MenuBar.Search = Search;
1323
- MenuBar.AddNew = AddNew;
1324
-
1325
- export { MenuBar as default };
1326
- //# sourceMappingURL=MenuBar.js.map