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