@bigbinary/neeto-molecules 1.1.16 → 1.1.17

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 (392) hide show
  1. package/dist/AutoSaveInput.js +658 -0
  2. package/dist/AutoSaveInput.js.map +1 -0
  3. package/dist/Breadcrumbs.js +38 -0
  4. package/dist/Breadcrumbs.js.map +1 -0
  5. package/dist/BrowserSupport.js +418 -0
  6. package/dist/BrowserSupport.js.map +1 -0
  7. package/dist/Builder.js +662 -0
  8. package/dist/Builder.js.map +1 -0
  9. package/dist/CalendarView.js +538 -0
  10. package/dist/CalendarView.js.map +1 -0
  11. package/dist/Codeblock.js +236 -0
  12. package/dist/Codeblock.js.map +1 -0
  13. package/dist/{Columns/index.js → Columns.js} +130 -13
  14. package/dist/Columns.js.map +1 -0
  15. package/dist/{ConfirmationModal/index.js → ConfirmationModal.js} +20 -8
  16. package/dist/ConfirmationModal.js.map +1 -0
  17. package/dist/Container.js +1211 -0
  18. package/dist/Container.js.map +1 -0
  19. package/dist/CopyToClipboardButton.js +209 -0
  20. package/dist/CopyToClipboardButton.js.map +1 -0
  21. package/dist/CustomDomain.js +688 -0
  22. package/dist/CustomDomain.js.map +1 -0
  23. package/dist/CustomDomainDashboard.js +2283 -0
  24. package/dist/CustomDomainDashboard.js.map +1 -0
  25. package/dist/{DateFormat/index.js → DateFormat.js} +25 -8
  26. package/dist/DateFormat.js.map +1 -0
  27. package/dist/DateRangeFilter.js +229 -0
  28. package/dist/DateRangeFilter.js.map +1 -0
  29. package/dist/DynamicVariables.js +183 -0
  30. package/dist/DynamicVariables.js.map +1 -0
  31. package/dist/EmailForm.js +2291 -0
  32. package/dist/EmailForm.js.map +1 -0
  33. package/dist/EmailPreview.js +1353 -0
  34. package/dist/EmailPreview.js.map +1 -0
  35. package/dist/{ErrorPage/constants.js → ErrorPage.js} +137 -36
  36. package/dist/ErrorPage.js.map +1 -0
  37. package/dist/Header.js +122 -0
  38. package/dist/Header.js.map +1 -0
  39. package/dist/IconPicker.js +313 -0
  40. package/dist/IconPicker.js.map +1 -0
  41. package/dist/ImageWithFallback.js +181 -0
  42. package/dist/ImageWithFallback.js.map +1 -0
  43. package/dist/IntegrationCard.js +343 -0
  44. package/dist/IntegrationCard.js.map +1 -0
  45. package/dist/IntegrationDisconnectAlert.js +80 -0
  46. package/dist/IntegrationDisconnectAlert.js.map +1 -0
  47. package/dist/{IntegrationWalkthroughModal/index.js → IntegrationWalkthroughModal.js} +8 -6
  48. package/dist/IntegrationWalkthroughModal.js.map +1 -0
  49. package/dist/IpRestriction.js +857 -0
  50. package/dist/IpRestriction.js.map +1 -0
  51. package/dist/KeyboardShortcuts.js +359 -0
  52. package/dist/KeyboardShortcuts.js.map +1 -0
  53. package/dist/LoginPage.js +593 -0
  54. package/dist/LoginPage.js.map +1 -0
  55. package/dist/MenuBar.js +1461 -0
  56. package/dist/MenuBar.js.map +1 -0
  57. package/dist/Metadata.js +206 -0
  58. package/dist/Metadata.js.map +1 -0
  59. package/dist/{MoreDropdown/index.js → MoreDropdown.js} +102 -9
  60. package/dist/MoreDropdown.js.map +1 -0
  61. package/dist/NavigationHeader.js +690 -0
  62. package/dist/NavigationHeader.js.map +1 -0
  63. package/dist/NeetoWidget.js +1333 -0
  64. package/dist/NeetoWidget.js.map +1 -0
  65. package/dist/PageLoader.js +134 -0
  66. package/dist/PageLoader.js.map +1 -0
  67. package/dist/PhoneNumber.js +365 -0
  68. package/dist/PhoneNumber.js.map +1 -0
  69. package/dist/PublishBlock.js +158 -0
  70. package/dist/PublishBlock.js.map +1 -0
  71. package/dist/Rename.js +450 -0
  72. package/dist/Rename.js.map +1 -0
  73. package/dist/ResponsiveDevicePicker.js +194 -0
  74. package/dist/ResponsiveDevicePicker.js.map +1 -0
  75. package/dist/Schedule.js +1046 -0
  76. package/dist/Schedule.js.map +1 -0
  77. package/dist/Scrollable.js +122 -0
  78. package/dist/Scrollable.js.map +1 -0
  79. package/dist/Search.js +151 -0
  80. package/dist/Search.js.map +1 -0
  81. package/dist/Security.js +1835 -0
  82. package/dist/Security.js.map +1 -0
  83. package/dist/SendToFields.js +601 -0
  84. package/dist/SendToFields.js.map +1 -0
  85. package/dist/Settings.js +435 -0
  86. package/dist/Settings.js.map +1 -0
  87. package/dist/ShareViaEmail.js +2277 -0
  88. package/dist/ShareViaEmail.js.map +1 -0
  89. package/dist/ShareViaLink.js +628 -0
  90. package/dist/ShareViaLink.js.map +1 -0
  91. package/dist/Sidebar.js +972 -0
  92. package/dist/Sidebar.js.map +1 -0
  93. package/dist/SubHeader.js +216 -0
  94. package/dist/SubHeader.js.map +1 -0
  95. package/dist/{TableWrapper/index.js → TableWrapper.js} +6 -3
  96. package/dist/TableWrapper.js.map +1 -0
  97. package/dist/ThemeSidebar.js +1984 -0
  98. package/dist/ThemeSidebar.js.map +1 -0
  99. package/dist/TimeFormat.js +47 -0
  100. package/dist/TimeFormat.js.map +1 -0
  101. package/dist/TimezoneMismatchModal.js +168 -0
  102. package/dist/TimezoneMismatchModal.js.map +1 -0
  103. package/dist/ToggleFeatureCard.js +323 -0
  104. package/dist/ToggleFeatureCard.js.map +1 -0
  105. package/package.json +22 -13
  106. package/dist/AutoSaveInput/autosaveinput.scss +0 -15
  107. package/dist/AutoSaveInput/constants.js +0 -13
  108. package/dist/AutoSaveInput/index.js +0 -124
  109. package/dist/AutoSaveInput/utils.js +0 -10
  110. package/dist/Breadcrumbs/breadcrumbs.scss +0 -33
  111. package/dist/Breadcrumbs/index.js +0 -31
  112. package/dist/BrowserSupport/Callout.js +0 -15
  113. package/dist/BrowserSupport/ContactUs.js +0 -21
  114. package/dist/BrowserSupport/DownloadLink.js +0 -17
  115. package/dist/BrowserSupport/PartialSupportedBrowserVersion.js +0 -17
  116. package/dist/BrowserSupport/UnknownBrowser.js +0 -13
  117. package/dist/BrowserSupport/UnsupportedBrowser.js +0 -24
  118. package/dist/BrowserSupport/UnsupportedBrowserMessage.js +0 -22
  119. package/dist/BrowserSupport/UnsupportedBrowserVersion.js +0 -27
  120. package/dist/BrowserSupport/UnsupportedVersionMessage.js +0 -30
  121. package/dist/BrowserSupport/browsersupport.scss +0 -71
  122. package/dist/BrowserSupport/constants.js +0 -63
  123. package/dist/BrowserSupport/index.js +0 -58
  124. package/dist/BrowserSupport/utils.js +0 -32
  125. package/dist/Builder/Body.js +0 -9
  126. package/dist/Builder/ElementsPanel/ElementsList/Element.js +0 -27
  127. package/dist/Builder/ElementsPanel/ElementsList/Section.js +0 -28
  128. package/dist/Builder/ElementsPanel/ElementsList/TitleBar.js +0 -28
  129. package/dist/Builder/ElementsPanel/ElementsList/index.js +0 -63
  130. package/dist/Builder/ElementsPanel/SelectedElementsList/SelectedElement.js +0 -73
  131. package/dist/Builder/ElementsPanel/SelectedElementsList/TitleBar.js +0 -50
  132. package/dist/Builder/ElementsPanel/SelectedElementsList/index.js +0 -91
  133. package/dist/Builder/ElementsPanel/index.js +0 -70
  134. package/dist/Builder/PropertiesPanel/EmptyProperty.js +0 -21
  135. package/dist/Builder/PropertiesPanel/Skeleton.js +0 -24
  136. package/dist/Builder/PropertiesPanel/index.js +0 -12
  137. package/dist/Builder/index.js +0 -3
  138. package/dist/Builder/styles.scss +0 -84
  139. package/dist/CalendarView/CustomDatePicker.js +0 -87
  140. package/dist/CalendarView/Header.js +0 -53
  141. package/dist/CalendarView/constants.js +0 -19
  142. package/dist/CalendarView/index.js +0 -83
  143. package/dist/CalendarView/utils.js +0 -50
  144. package/dist/Codeblock/index.js +0 -30
  145. package/dist/Columns/utils.js +0 -20
  146. package/dist/ConfirmationModal/constants.js +0 -3
  147. package/dist/ConfirmationModal/utils.js +0 -6
  148. package/dist/Container/container.scss +0 -21
  149. package/dist/Container/index.js +0 -23
  150. package/dist/CopyToClipboardButton/constants.js +0 -13
  151. package/dist/CopyToClipboardButton/copyToClipboard.scss +0 -22
  152. package/dist/CopyToClipboardButton/index.js +0 -59
  153. package/dist/CustomDomain/index.js +0 -98
  154. package/dist/CustomDomainDashboard/DeleteAlert.js +0 -28
  155. package/dist/CustomDomainDashboard/Header.js +0 -32
  156. package/dist/CustomDomainDashboard/Manage/Record.js +0 -42
  157. package/dist/CustomDomainDashboard/Manage/StatusInfo.js +0 -21
  158. package/dist/CustomDomainDashboard/Manage/TagBlock.js +0 -36
  159. package/dist/CustomDomainDashboard/Manage/constants.js +0 -4
  160. package/dist/CustomDomainDashboard/Manage/index.js +0 -125
  161. package/dist/CustomDomainDashboard/Manage/utils.js +0 -8
  162. package/dist/CustomDomainDashboard/api.js +0 -35
  163. package/dist/CustomDomainDashboard/constants.js +0 -2
  164. package/dist/CustomDomainDashboard/index.js +0 -118
  165. package/dist/CustomDomainDashboard/useCustomDomainApi.js +0 -71
  166. package/dist/CustomDomainDashboard/utils.js +0 -84
  167. package/dist/DateRangeFilter/index.js +0 -60
  168. package/dist/DateRangeFilter/utils.js +0 -113
  169. package/dist/DynamicVariables/dynamic-variables.scss +0 -34
  170. package/dist/DynamicVariables/index.js +0 -59
  171. package/dist/DynamicVariables/utils.js +0 -37
  172. package/dist/EmailForm/EmailForm.js +0 -98
  173. package/dist/EmailForm/EmailFormProvider.js +0 -45
  174. package/dist/EmailForm/EmailPreview.js +0 -129
  175. package/dist/EmailForm/ReplyToField.js +0 -55
  176. package/dist/EmailForm/SendToField.js +0 -28
  177. package/dist/EmailForm/SubjectField.js +0 -64
  178. package/dist/EmailForm/constants.js +0 -33
  179. package/dist/EmailForm/contexts/EmailForm.js +0 -7
  180. package/dist/EmailForm/index.js +0 -4
  181. package/dist/EmailForm/utils.js +0 -10
  182. package/dist/EmailPreview/index.js +0 -2
  183. package/dist/ErrorPage/index.js +0 -78
  184. package/dist/Header/Breadcrumbs.js +0 -31
  185. package/dist/Header/Dropdown.js +0 -12
  186. package/dist/Header/constants.js +0 -6
  187. package/dist/Header/header.scss +0 -121
  188. package/dist/Header/index.js +0 -61
  189. package/dist/IconPicker/Icon.js +0 -34
  190. package/dist/IconPicker/NoResults.js +0 -12
  191. package/dist/IconPicker/constants.js +0 -8
  192. package/dist/IconPicker/icon-picker.scss +0 -1
  193. package/dist/IconPicker/index.js +0 -164
  194. package/dist/ImageWithFallback/ImagePlaceholder.js +0 -16
  195. package/dist/ImageWithFallback/index.js +0 -31
  196. package/dist/IntegrationCard/Dropdown.js +0 -45
  197. package/dist/IntegrationCard/Status.js +0 -25
  198. package/dist/IntegrationCard/index.js +0 -128
  199. package/dist/IntegrationDisconnectAlert/index.js +0 -36
  200. package/dist/IpRestriction/AllowedIpRanges.js +0 -75
  201. package/dist/IpRestriction/CurrentIp.js +0 -26
  202. package/dist/IpRestriction/FormRow.js +0 -84
  203. package/dist/IpRestriction/Row.js +0 -91
  204. package/dist/IpRestriction/apis/allowed_ip_ranges.js +0 -28
  205. package/dist/IpRestriction/apis/current_ip.js +0 -11
  206. package/dist/IpRestriction/apis/ip_restriction.js +0 -16
  207. package/dist/IpRestriction/constants.js +0 -20
  208. package/dist/IpRestriction/hooks/reactQuery/useAllowedIpRanges.js +0 -34
  209. package/dist/IpRestriction/hooks/reactQuery/useCurrentIp.js +0 -10
  210. package/dist/IpRestriction/hooks/reactQuery/useIpRestrictions.js +0 -18
  211. package/dist/IpRestriction/index.js +0 -102
  212. package/dist/IpRestriction/utils.js +0 -85
  213. package/dist/KeyboardShortcuts/Pane/HotKey.js +0 -44
  214. package/dist/KeyboardShortcuts/Pane/HotKeyList.js +0 -42
  215. package/dist/KeyboardShortcuts/Pane/constants.js +0 -25
  216. package/dist/KeyboardShortcuts/Pane/index.js +0 -61
  217. package/dist/KeyboardShortcuts/Pane/keyboard-shortcuts.scss +0 -5
  218. package/dist/KeyboardShortcuts/Pane/utils.js +0 -66
  219. package/dist/KeyboardShortcuts/hooks/useKeyboardShortcutsPaneState.js +0 -31
  220. package/dist/KeyboardShortcuts/index.js +0 -9
  221. package/dist/LoginPage/Form.js +0 -57
  222. package/dist/LoginPage/constants.js +0 -12
  223. package/dist/LoginPage/index.js +0 -103
  224. package/dist/MenuBar/AddNew.js +0 -25
  225. package/dist/MenuBar/Block.js +0 -60
  226. package/dist/MenuBar/Item.js +0 -32
  227. package/dist/MenuBar/Search.js +0 -39
  228. package/dist/MenuBar/SubTitle.js +0 -23
  229. package/dist/MenuBar/index.js +0 -46
  230. package/dist/MenuBar/menubar.scss +0 -154
  231. package/dist/Metadata/Block.js +0 -30
  232. package/dist/Metadata/DetailsBlock.js +0 -86
  233. package/dist/Metadata/constants.js +0 -9
  234. package/dist/Metadata/index.js +0 -29
  235. package/dist/Metadata/metadata.scss +0 -15
  236. package/dist/MoreDropdown/constants.js +0 -25
  237. package/dist/NavigationHeader/LeftBlock.js +0 -32
  238. package/dist/NavigationHeader/Navigation.js +0 -24
  239. package/dist/NavigationHeader/RightBlock.js +0 -68
  240. package/dist/NavigationHeader/constants.js +0 -11
  241. package/dist/NavigationHeader/index.js +0 -19
  242. package/dist/NavigationHeader/navigation-header.scss +0 -3
  243. package/dist/NeetoWidget/CodeBlock.js +0 -57
  244. package/dist/NeetoWidget/CodeSnippet.js +0 -119
  245. package/dist/NeetoWidget/EmbedCode.js +0 -281
  246. package/dist/NeetoWidget/Main.js +0 -19
  247. package/dist/NeetoWidget/SelectionSwitches/TooltipSwitch.js +0 -25
  248. package/dist/NeetoWidget/SelectionSwitches/index.js +0 -44
  249. package/dist/NeetoWidget/SyntaxHighlighter.js +0 -17
  250. package/dist/NeetoWidget/api.js +0 -20
  251. package/dist/NeetoWidget/constants.js +0 -62
  252. package/dist/NeetoWidget/hooks/useForceUpdate.js +0 -14
  253. package/dist/NeetoWidget/index.js +0 -7
  254. package/dist/NeetoWidget/mutations.js +0 -9
  255. package/dist/NeetoWidget/queries.js +0 -32
  256. package/dist/NeetoWidget/utils.js +0 -83
  257. package/dist/PageLoader/index.js +0 -81
  258. package/dist/PageLoader/page-loader.scss +0 -95
  259. package/dist/PhoneNumber/CountryPicker/SingleValue.js +0 -21
  260. package/dist/PhoneNumber/CountryPicker/constants.js +0 -26
  261. package/dist/PhoneNumber/CountryPicker/index.js +0 -59
  262. package/dist/PhoneNumber/FormikPhoneNumberInput.js +0 -21
  263. package/dist/PhoneNumber/PhoneNumber.js +0 -30
  264. package/dist/PhoneNumber/PhoneNumberInput.js +0 -79
  265. package/dist/PhoneNumber/index.js +0 -5
  266. package/dist/PhoneNumber/utils.js +0 -55
  267. package/dist/PublishBlock/AlertBlock.js +0 -14
  268. package/dist/PublishBlock/index.js +0 -100
  269. package/dist/PublishBlock/publish-block.scss +0 -25
  270. package/dist/Rename/DummySpan.js +0 -21
  271. package/dist/Rename/constants.js +0 -1
  272. package/dist/Rename/index.js +0 -191
  273. package/dist/Rename/rename.scss +0 -69
  274. package/dist/Rename/utils.js +0 -10
  275. package/dist/ResponsiveDevicePicker/constants.js +0 -19
  276. package/dist/ResponsiveDevicePicker/index.js +0 -36
  277. package/dist/Schedule/DisplayAvailability.js +0 -58
  278. package/dist/Schedule/Fields.js +0 -43
  279. package/dist/Schedule/Form/ScheduleRow.js +0 -125
  280. package/dist/Schedule/Form/constants.js +0 -20
  281. package/dist/Schedule/Form/index.js +0 -144
  282. package/dist/Schedule/Form/utils.js +0 -63
  283. package/dist/Schedule/Header.js +0 -76
  284. package/dist/Schedule/ScheduleContext.js +0 -8
  285. package/dist/Schedule/constants.js +0 -8
  286. package/dist/Schedule/dayjsExtended/constants.js +0 -1
  287. package/dist/Schedule/dayjsExtended/index.js +0 -14
  288. package/dist/Schedule/dayjsExtended/range.js +0 -73
  289. package/dist/Schedule/index.js +0 -80
  290. package/dist/Schedule/utils.js +0 -152
  291. package/dist/Scrollable/constants.js +0 -8
  292. package/dist/Scrollable/index.js +0 -26
  293. package/dist/Scrollable/scrollable.scss +0 -32
  294. package/dist/Search/index.js +0 -52
  295. package/dist/Security/AllowedKeywords/Add.js +0 -38
  296. package/dist/Security/AllowedKeywords/index.js +0 -38
  297. package/dist/Security/PasswordBlock.js +0 -31
  298. package/dist/Security/RadioBlock.js +0 -38
  299. package/dist/Security/api.js +0 -12
  300. package/dist/Security/constants.js +0 -58
  301. package/dist/Security/index.js +0 -68
  302. package/dist/Security/useSecurityApi.js +0 -22
  303. package/dist/Security/utils.js +0 -31
  304. package/dist/SendToFields/FilePicker.js +0 -34
  305. package/dist/SendToFields/constants.js +0 -6
  306. package/dist/SendToFields/index.js +0 -102
  307. package/dist/SendToFields/utils.js +0 -54
  308. package/dist/Settings/Category.js +0 -30
  309. package/dist/Settings/Item.js +0 -38
  310. package/dist/Settings/index.js +0 -37
  311. package/dist/Settings/utils.js +0 -4
  312. package/dist/ShareViaEmail/EmailBodyEditor.js +0 -22
  313. package/dist/ShareViaEmail/FilePicker.js +0 -43
  314. package/dist/ShareViaEmail/Form.js +0 -105
  315. package/dist/ShareViaEmail/FormikDatePicker.js +0 -24
  316. package/dist/ShareViaEmail/constants.js +0 -14
  317. package/dist/ShareViaEmail/index.js +0 -92
  318. package/dist/ShareViaEmail/utils.js +0 -72
  319. package/dist/ShareViaLink/EditURL.js +0 -74
  320. package/dist/ShareViaLink/Link.js +0 -105
  321. package/dist/ShareViaLink/QRCode.js +0 -41
  322. package/dist/ShareViaLink/RegenerateURL.js +0 -47
  323. package/dist/ShareViaLink/SocialMedia.js +0 -52
  324. package/dist/ShareViaLink/constants.js +0 -25
  325. package/dist/ShareViaLink/edit-url.scss +0 -8
  326. package/dist/ShareViaLink/index.js +0 -46
  327. package/dist/ShareViaLink/utils.js +0 -47
  328. package/dist/Sidebar/AppSwitcher/AppLink.js +0 -45
  329. package/dist/Sidebar/AppSwitcher/Backdrop.js +0 -13
  330. package/dist/Sidebar/AppSwitcher/Body.js +0 -65
  331. package/dist/Sidebar/AppSwitcher/Portal.js +0 -27
  332. package/dist/Sidebar/AppSwitcher/appswitcher.scss +0 -164
  333. package/dist/Sidebar/AppSwitcher/index.js +0 -47
  334. package/dist/Sidebar/AppSwitcher/utils.js +0 -25
  335. package/dist/Sidebar/Chevron.js +0 -14
  336. package/dist/Sidebar/FeaturedTooltip.js +0 -19
  337. package/dist/Sidebar/Footer/AppSwitcherButton.js +0 -48
  338. package/dist/Sidebar/Footer/ProfileButton.js +0 -30
  339. package/dist/Sidebar/Footer/index.js +0 -56
  340. package/dist/Sidebar/Footer/utils.js +0 -39
  341. package/dist/Sidebar/Header.js +0 -33
  342. package/dist/Sidebar/HelpSection/HelpSectionMenu.js +0 -52
  343. package/dist/Sidebar/HelpSection/index.js +0 -32
  344. package/dist/Sidebar/Links.js +0 -112
  345. package/dist/Sidebar/NavIconWrapper.js +0 -20
  346. package/dist/Sidebar/ProfileSection/LinkSection.js +0 -36
  347. package/dist/Sidebar/ProfileSection/ProfileMenu.js +0 -48
  348. package/dist/Sidebar/ProfileSection/index.js +0 -42
  349. package/dist/Sidebar/constants.js +0 -40
  350. package/dist/Sidebar/index.js +0 -94
  351. package/dist/Sidebar/sidebar.scss +0 -379
  352. package/dist/Sidebar/utils.js +0 -18
  353. package/dist/SubHeader/RightBlock/Columns.js +0 -35
  354. package/dist/SubHeader/RightBlock/Download.js +0 -28
  355. package/dist/SubHeader/RightBlock/Filter.js +0 -31
  356. package/dist/SubHeader/RightBlock/index.js +0 -21
  357. package/dist/SubHeader/RightBlock/utils.js +0 -13
  358. package/dist/SubHeader/index.js +0 -28
  359. package/dist/SubHeader/subheader.scss +0 -78
  360. package/dist/ThemeSidebar/Customize/Logo.js +0 -39
  361. package/dist/ThemeSidebar/Customize/Properties.js +0 -170
  362. package/dist/ThemeSidebar/Customize/index.js +0 -66
  363. package/dist/ThemeSidebar/Themes/ThemeCard.js +0 -135
  364. package/dist/ThemeSidebar/Themes/index.js +0 -110
  365. package/dist/ThemeSidebar/TitleBar.js +0 -62
  366. package/dist/ThemeSidebar/constants.js +0 -127
  367. package/dist/ThemeSidebar/fields/AlignmentBlock.js +0 -50
  368. package/dist/ThemeSidebar/fields/Card.js +0 -19
  369. package/dist/ThemeSidebar/fields/ColorBlock.js +0 -19
  370. package/dist/ThemeSidebar/fields/FontPickerBlock.js +0 -35
  371. package/dist/ThemeSidebar/fields/ImageBlock/ImageUploader.js +0 -67
  372. package/dist/ThemeSidebar/fields/ImageBlock/ProgressBar.js +0 -22
  373. package/dist/ThemeSidebar/fields/ImageBlock/index.js +0 -55
  374. package/dist/ThemeSidebar/fields/SelectBlock.js +0 -24
  375. package/dist/ThemeSidebar/fields/SliderBlock.js +0 -30
  376. package/dist/ThemeSidebar/fields/SwitchBlock.js +0 -17
  377. package/dist/ThemeSidebar/fields/TextBlock.js +0 -13
  378. package/dist/ThemeSidebar/fields/slider.scss +0 -199
  379. package/dist/ThemeSidebar/hooks/useDirectUploadDropzone.js +0 -149
  380. package/dist/ThemeSidebar/index.js +0 -118
  381. package/dist/ThemeSidebar/themeSidebar.scss +0 -45
  382. package/dist/ThemeSidebar/utils.js +0 -169
  383. package/dist/TimeFormat/index.js +0 -3
  384. package/dist/TimezoneMismatchModal/apis/time_zone.js +0 -9
  385. package/dist/TimezoneMismatchModal/index.js +0 -83
  386. package/dist/TimezoneMismatchModal/useTimeZoneApi.js +0 -10
  387. package/dist/TimezoneMismatchModal/utils.js +0 -12
  388. package/dist/ToggleFeatureCard/ToolTipSwitch.js +0 -31
  389. package/dist/ToggleFeatureCard/constants.js +0 -5
  390. package/dist/ToggleFeatureCard/hooks/useScrollIntoView.js +0 -11
  391. package/dist/ToggleFeatureCard/index.js +0 -148
  392. package/dist/ToggleFeatureCard/toggleFeatureCard.scss +0 -4
@@ -1,55 +0,0 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import React from "react";
3
- import { useFormikContext } from "formik";
4
- import { isNotEmpty } from "@bigbinary/neeto-commons-frontend/pure";
5
- import { Info } from "@bigbinary/neeto-icons";
6
- import { Select, Input } from "@bigbinary/neetoui/formik";
7
- import { useTranslation } from "react-i18next";
8
- var ReplyToField = function ReplyToField(_ref) {
9
- var _helpIconProps2;
10
- var replyToOptions = _ref.replyToOptions;
11
- var _useTranslation = useTranslation(),
12
- t = _useTranslation.t;
13
- var isDropdownField = isNotEmpty(replyToOptions);
14
- var _useFormikContext = useFormikContext(),
15
- setFieldValue = _useFormikContext.setFieldValue;
16
- if (isDropdownField) {
17
- var _helpIconProps;
18
- return /*#__PURE__*/React.createElement(Select, {
19
- className: "w-full",
20
- "data-testid": "replyToOptions",
21
- label: t("neetoMolecules.emailForm.labels.replyTo"),
22
- name: "replyTo",
23
- options: replyToOptions,
24
- labelProps: {
25
- helpIconProps: (_helpIconProps = {
26
- icon: Info
27
- }, _defineProperty(_helpIconProps, "data-testid", "reply-to-tooltip"), _defineProperty(_helpIconProps, "tooltipProps", {
28
- content: t("neetoMolecules.emailForm.tooltips.replyTo")
29
- }), _helpIconProps)
30
- },
31
- onChange: function onChange(_ref2) {
32
- var value = _ref2.value;
33
- return setFieldValue("replyTo", value);
34
- }
35
- });
36
- }
37
- return /*#__PURE__*/React.createElement(Input, {
38
- autoFocus: true,
39
- required: true,
40
- className: "w-full",
41
- "data-testid": "replyToInput",
42
- label: t("neetoMolecules.emailForm.labels.replyTo"),
43
- name: "replyTo",
44
- placeholder: t("neetoMolecules.emailForm.placeholders.emailPlaceholder"),
45
- size: "large",
46
- labelProps: {
47
- helpIconProps: (_helpIconProps2 = {
48
- icon: Info
49
- }, _defineProperty(_helpIconProps2, "data-testid", "reply-to-tooltip"), _defineProperty(_helpIconProps2, "tooltipProps", {
50
- content: t("neetoMolecules.emailForm.tooltips.replyTo")
51
- }), _helpIconProps2)
52
- }
53
- });
54
- };
55
- export default ReplyToField;
@@ -1,28 +0,0 @@
1
- import React from "react";
2
- import { withT } from "@bigbinary/neeto-commons-frontend/react-utils";
3
- import SendToFields from "../SendToFields";
4
- var SendToField = withT(function (_ref) {
5
- var t = _ref.t;
6
- return /*#__PURE__*/React.createElement(SendToFields, {
7
- showCcBccButton: true,
8
- showUploadCsvButton: true,
9
- bccInputProps: {
10
- label: t("neetoMolecules.emailForm.labels.bCc"),
11
- name: "sendToBcc",
12
- placeholder: t("neetoMolecules.emailForm.placeholders.commaSeparatedEmails")
13
- },
14
- ccInputProps: {
15
- label: t("neetoMolecules.emailForm.labels.cc"),
16
- name: "sendToCc",
17
- placeholder: t("neetoMolecules.emailForm.placeholders.commaSeparatedEmails")
18
- },
19
- emailInputProps: {
20
- id: "sendTo",
21
- name: "sendTo",
22
- label: t("neetoMolecules.emailForm.labels.sendTo"),
23
- placeholder: t("neetoMolecules.emailForm.placeholders.commaSeparatedEmails"),
24
- required: true
25
- }
26
- });
27
- });
28
- export default SendToField;
@@ -1,64 +0,0 @@
1
- import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
- import React, { useState } from "react";
3
- import { withEventTargetValue } from "@bigbinary/neeto-commons-frontend/utils";
4
- import { Input, Typography } from "@bigbinary/neetoui";
5
- import { Trans, useTranslation } from "react-i18next";
6
- import DynamicVariables from "../DynamicVariables";
7
- var SubjectField = function SubjectField(_ref) {
8
- var name = _ref.name,
9
- text = _ref.text,
10
- updateText = _ref.updateText,
11
- _ref$subjectVariables = _ref.subjectVariables,
12
- subjectVariables = _ref$subjectVariables === void 0 ? [] : _ref$subjectVariables,
13
- error = _ref.error,
14
- _ref$required = _ref.required,
15
- required = _ref$required === void 0 ? false : _ref$required;
16
- var _useState = useState(false),
17
- _useState2 = _slicedToArray(_useState, 2),
18
- isFieldFocusedOnce = _useState2[0],
19
- setIsFieldFocusedOnce = _useState2[1];
20
- var _useTranslation = useTranslation(),
21
- t = _useTranslation.t;
22
- var tagClickHandler = function tagClickHandler(_ref2) {
23
- var slug = _ref2.key;
24
- var textAreaElement = document.querySelector("textarea[name=".concat(name, "]"));
25
- var splitIndex = isFieldFocusedOnce && textAreaElement ? textAreaElement.selectionEnd : text.length;
26
- var updatedSubject = [text.slice(0, splitIndex), " {{".concat(slug, "}}"), text.slice(splitIndex)].join("");
27
- updateText(updatedSubject);
28
- };
29
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Input, {
30
- error: error,
31
- name: name,
32
- required: required,
33
- label: t("neetoMolecules.emailForm.labels.subject"),
34
- size: "large",
35
- value: text,
36
- suffix: /*#__PURE__*/React.createElement(DynamicVariables, {
37
- variables: subjectVariables,
38
- dropdownProps: {
39
- className: "neeto-ui-dropdown__popup overflow-y-auto",
40
- buttonSize: "small"
41
- },
42
- onVariableClick: tagClickHandler
43
- }),
44
- onChange: withEventTargetValue(updateText),
45
- onFocus: function onFocus() {
46
- return setIsFieldFocusedOnce(true);
47
- }
48
- }), /*#__PURE__*/React.createElement(Typography, {
49
- className: "neeto-ui-text-gray-600 mt-2",
50
- "data-cy": "subject-input-variable-label",
51
- style: "body3"
52
- }, /*#__PURE__*/React.createElement(Trans, {
53
- components: {
54
- span: /*#__PURE__*/React.createElement("span", {
55
- className: "font-semibold"
56
- })
57
- },
58
- i18nKey: "neetoMolecules.emailForm.helpText",
59
- values: {
60
- type: "subject"
61
- }
62
- })));
63
- };
64
- export default SubjectField;
@@ -1,33 +0,0 @@
1
- import { t } from "i18next";
2
- import { isEditorEmpty } from "@bigbinary/neeto-editor";
3
- import { prop } from "ramda";
4
- import * as yup from "yup";
5
- export var INITIAL_FORM_VALUES = {
6
- sendTo: [],
7
- sendToCc: [],
8
- sendToBcc: [],
9
- replyTo: "",
10
- showCopyEmails: false,
11
- subject: "",
12
- message: ""
13
- };
14
- export var EMAIL_FORM_VALIDATION_SCHEMA = yup.object({
15
- subject: yup.string().required(t("neetoMolecules.emailForm.errors.subjectRequired")),
16
- message: yup.string().test("message", t("neetoMolecules.emailForm.errors.messageRequired"), function (value) {
17
- return !isEditorEmpty(value);
18
- })
19
- });
20
- export var SEND_TO_FIELD_VALIDATION = yup.object({
21
- sendTo: yup.array().min(1, t("neetoMolecules.emailForm.errors.required", {
22
- entity: t("neetoMolecules.emailForm.fields.sendToEmailAddress")
23
- })).test("all-emails-valid", t("neetoMolecules.emailForm.errors.invalidEmailAddress"), function (emails) {
24
- return emails === null || emails === void 0 ? void 0 : emails.every(prop("valid"));
25
- }).nullable()
26
- });
27
- export var REPLY_TO_FIELD_VALIDATION = yup.object({
28
- replyTo: yup.string().nullable().email(t("neetoMolecules.emailForm.errors.invalidEmailAddress")).required(t("neetoMolecules.emailForm.errors.required", {
29
- entity: t("neetoMolecules.emailForm.fields.replyToEmailAddress")
30
- }))
31
- });
32
- export var EDITOR_ADDONS = ["highlight", "emoji", "code-block", "block-quote", "image-upload", "divider", "video-embed"];
33
- export var ALLOWED_FILE_PICKER_TYPES = [".csv"];
@@ -1,7 +0,0 @@
1
- /* eslint-disable @bigbinary/neeto/use-zustand-for-global-state-management */
2
- import React from "react";
3
- var EmailFormContext = /*#__PURE__*/React.createContext({
4
- showSendToField: false,
5
- showReplyToField: false
6
- });
7
- export { EmailFormContext };
@@ -1,4 +0,0 @@
1
- import EmailForm from "./EmailForm";
2
- import EmailFormProvider from "./EmailFormProvider";
3
- import EmailPreview from "./EmailPreview";
4
- export { EmailFormProvider, EmailForm, EmailPreview };
@@ -1,10 +0,0 @@
1
- import { EMAIL_FORM_VALIDATION_SCHEMA, REPLY_TO_FIELD_VALIDATION, SEND_TO_FIELD_VALIDATION } from "./constants";
2
- export var getValidationSchema = function getValidationSchema(_ref) {
3
- var showSendToField = _ref.showSendToField,
4
- showReplyToField = _ref.showReplyToField,
5
- customValidations = _ref.customValidations;
6
- var schema = EMAIL_FORM_VALIDATION_SCHEMA.clone();
7
- if (showSendToField) schema = schema.concat(SEND_TO_FIELD_VALIDATION);
8
- if (showReplyToField) schema = schema.concat(REPLY_TO_FIELD_VALIDATION);
9
- return schema.shape(customValidations);
10
- };
@@ -1,2 +0,0 @@
1
- import EmailPreview from "../EmailForm/EmailPreview";
2
- export default EmailPreview;
@@ -1,78 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React, { useEffect } from "react";
3
- import { useErrorDisplayStore } from "@bigbinary/neeto-commons-frontend/react-utils";
4
- import { Button, Typography } from "@bigbinary/neetoui";
5
- import { pick } from "ramda";
6
- import { Helmet } from "react-helmet";
7
- import { Trans, useTranslation } from "react-i18next";
8
- import { shallow } from "zustand/shallow";
9
- import { ERRORS } from "./constants";
10
- var ErrorPage = function ErrorPage(_ref) {
11
- var _ref$homeUrl = _ref.homeUrl,
12
- homeUrl = _ref$homeUrl === void 0 ? "/" : _ref$homeUrl,
13
- status = _ref.status,
14
- backToHomeButtonProps = _ref.backToHomeButtonProps,
15
- children = _ref.children;
16
- var _useTranslation = useTranslation(),
17
- t = _useTranslation.t;
18
- var _useErrorDisplayStore = useErrorDisplayStore(pick(["statusCode", "showErrorPage"]), shallow),
19
- storeStatusCode = _useErrorDisplayStore.statusCode,
20
- showErrorPage = _useErrorDisplayStore.showErrorPage;
21
- status = status || storeStatusCode;
22
- var _ref2 = ERRORS[status] || ERRORS[404],
23
- Image = _ref2.Image,
24
- errorKey = _ref2.errorKey,
25
- titleKey = _ref2.titleKey;
26
- useEffect(function () {
27
- var onBackButtonPress = function onBackButtonPress() {
28
- if (showErrorPage) {
29
- useErrorDisplayStore.setState({
30
- showErrorPage: false
31
- });
32
- }
33
- };
34
- window.addEventListener("popstate", onBackButtonPress);
35
- return function () {
36
- window.removeEventListener("popstate", onBackButtonPress);
37
- };
38
- }, []);
39
- var openChatWidget = function openChatWidget() {
40
- var _window$NeetoChat, _window$NeetoChat$con, _window$NeetoChat2, _window$NeetoChat2$co;
41
- (_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 ? void 0 : (_window$NeetoChat$con = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat$con === void 0 ? void 0 : _window$NeetoChat$con.maximizeWidget();
42
- (_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 ? void 0 : (_window$NeetoChat2$co = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2$co === void 0 ? void 0 : _window$NeetoChat2$co.openWidget();
43
- };
44
- return /*#__PURE__*/React.createElement("div", {
45
- className: "flex min-h-screen w-full flex-col items-center justify-center",
46
- "data-cy": "error-page-container"
47
- }, /*#__PURE__*/React.createElement(Helmet, null, /*#__PURE__*/React.createElement("title", null, t(titleKey))), /*#__PURE__*/React.createElement(Image, {
48
- className: "mb-8",
49
- "data-cy": "error-image"
50
- }), /*#__PURE__*/React.createElement(Typography, {
51
- className: "mb-6 text-center",
52
- "data-cy": "title",
53
- style: "h2",
54
- weight: "semibold"
55
- }, /*#__PURE__*/React.createElement(Trans, {
56
- i18nKey: errorKey
57
- })), /*#__PURE__*/React.createElement("div", {
58
- className: "mb-5 flex flex-col items-center space-y-3"
59
- }, /*#__PURE__*/React.createElement(Button, _extends({
60
- href: homeUrl,
61
- label: t("neetoMolecules.errorPage.backToHome"),
62
- size: "large",
63
- style: "primary"
64
- }, backToHomeButtonProps)), children), /*#__PURE__*/React.createElement(Typography, {
65
- className: "text-center",
66
- "data-cy": "title",
67
- style: "body2"
68
- }, /*#__PURE__*/React.createElement(Trans, {
69
- i18nKey: "neetoMolecules.errorPage.contactUs",
70
- components: {
71
- button: /*#__PURE__*/React.createElement(Button, {
72
- style: "link",
73
- onClick: openChatWidget
74
- })
75
- }
76
- })));
77
- };
78
- export default ErrorPage;
@@ -1,31 +0,0 @@
1
- import React from "react";
2
- import { Typography } from "@bigbinary/neetoui";
3
- import { Link } from "react-router-dom";
4
- import "./header.scss";
5
- var Breadcrumbs = function Breadcrumbs(_ref) {
6
- var breadcrumbs = _ref.breadcrumbs;
7
- return /*#__PURE__*/React.createElement("div", {
8
- className: "neeto-molecules-header__breadcrumbs-wrap"
9
- }, breadcrumbs.map(function (_ref2, index) {
10
- var text = _ref2.text,
11
- _ref2$link = _ref2.link,
12
- link = _ref2$link === void 0 ? "#" : _ref2$link;
13
- return /*#__PURE__*/React.createElement("div", {
14
- className: "neeto-molecules-header__breadcrumb",
15
- "data-cy": "header-breadcrumb",
16
- key: index
17
- }, /*#__PURE__*/React.createElement(Link, {
18
- to: link
19
- }, /*#__PURE__*/React.createElement(Typography, {
20
- className: "neeto-ui-text-gray-700 hover:neeto-ui-text-gray-800 neeto-molecules-header__breadcrumb-link",
21
- component: "span",
22
- "data-cy": text,
23
- "data-test-id": text,
24
- style: "body2",
25
- weight: "normal"
26
- }, text)), index !== breadcrumbs.length - 1 && /*#__PURE__*/React.createElement("span", {
27
- className: "neeto-molecules-header__breadcrumb-separator neeto-ui-text-black"
28
- }, "/"));
29
- }));
30
- };
31
- export default /*#__PURE__*/React.memo(Breadcrumbs);
@@ -1,12 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React from "react";
3
- import { MenuHorizontal } from "@bigbinary/neeto-icons";
4
- import { Dropdown as NeetoUIDropdown } from "@bigbinary/neetoui";
5
- var Dropdown = function Dropdown(props) {
6
- return /*#__PURE__*/React.createElement(NeetoUIDropdown, _extends({
7
- buttonStyle: "text",
8
- icon: MenuHorizontal,
9
- position: "bottom-end"
10
- }, props));
11
- };
12
- export default Dropdown;
@@ -1,6 +0,0 @@
1
- var SIZES = {
2
- nano: "nano",
3
- small: "small",
4
- large: "large"
5
- };
6
- export { SIZES };
@@ -1,121 +0,0 @@
1
- $neeto-molecules-main-header-height: 98px;
2
- $neeto-molecules-main-header-with-breadcrumbs-height: 170px;
3
-
4
- :root {
5
- --neeto-molecules-main-header-height: #{$neeto-molecules-main-header-height};
6
- --neeto-molecules-main-header-with-breadcrumbs-height: #{$neeto-molecules-main-header-with-breadcrumbs-height};
7
- }
8
-
9
- .neeto-molecules-header {
10
- width: 100%;
11
- min-height: var(--neeto-molecules-main-header-height);
12
- background: rgb(var(--neeto-ui-white));
13
- padding: 40px 0 24px !important;
14
- display: flex;
15
- flex-direction: row;
16
- justify-content: space-between;
17
- align-items: flex-start !important;
18
-
19
- .neeto-molecules-header__toggle-menubar-btn {
20
- margin-right: 8px;
21
- }
22
-
23
- .neeto-molecules-header__left {
24
- display: flex;
25
- flex-wrap: wrap;
26
- flex-direction: row;
27
- justify-content: flex-start;
28
- align-items: flex-start !important;
29
- }
30
-
31
- .neeto-molecules-header__left-data-wrap {
32
- display: flex;
33
- flex-wrap: wrap;
34
- }
35
-
36
- .neeto-molecules-header__page-title {
37
- width: 100%;
38
- display: flex;
39
- flex-direction: row;
40
- align-items: center;
41
- gap: 12px;
42
- margin-top: -16px;
43
-
44
- & h2 {
45
- font-size: 40px;
46
- line-height: var(--neeto-ui-leading-tight);
47
- }
48
- }
49
-
50
- .neeto-molecules-header__breadcrumbs-wrap {
51
- display: flex;
52
- margin: 0 0 40px;
53
- }
54
-
55
- .neeto-molecules-header__breadcrumb {
56
- display: flex;
57
- flex-direction: row;
58
- align-items: center;
59
- justify-content: flex-start;
60
- line-height: 1;
61
-
62
- a {
63
- transition: all ease-in-out 300ms;
64
- text-decoration: none;
65
- &:focus-visible {
66
- outline: 3px solid rgba(var(--neeto-ui-primary-500), 50%);
67
- border-radius: var(--neeto-ui-rounded-sm);
68
- }
69
- }
70
- }
71
-
72
- .neeto-molecules-header__breadcrumb-separator {
73
- margin: 0 12px !important;
74
- font-size: 12px;
75
- line-height: 16px;
76
- }
77
-
78
- .neeto-molecules-header__right {
79
- display: flex;
80
- flex-direction: row;
81
- justify-content: flex-end;
82
- align-items: center;
83
- }
84
-
85
- &--has-breadcrumbs {
86
- min-height: var(--neeto-molecules-main-header-with-breadcrumbs-height);
87
-
88
- .neeto-molecules-header__page-title {
89
- margin-top: 0;
90
- }
91
- }
92
-
93
- &--small, &--nano {
94
- min-height: 0;
95
- flex-shrink: 0;
96
-
97
- .neeto-molecules-header__breadcrumbs-wrap {
98
- margin: 0 0 16px;
99
- }
100
- }
101
-
102
- &--small {
103
- .neeto-molecules-header__page-title {
104
- margin-top: -4px;
105
-
106
- & h2 {
107
- font-size: 32px;
108
- }
109
- }
110
- }
111
-
112
- &--nano {
113
- .neeto-molecules-header__page-title {
114
- margin-top: 0px;
115
-
116
- & h2 {
117
- font-size: 24px;
118
- }
119
- }
120
- }
121
- }
@@ -1,61 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import React, { useRef } from "react";
3
- import classnames from "classnames";
4
- import { noop, isNotEmpty } from "@bigbinary/neeto-commons-frontend/pure";
5
- import { Search } from "@bigbinary/neeto-icons";
6
- import { Typography, Input } from "@bigbinary/neetoui";
7
- import { useTranslation } from "react-i18next";
8
- import Breadcrumbs from "./Breadcrumbs";
9
- import { SIZES } from "./constants";
10
- import Dropdown from "./Dropdown";
11
- import "./header.scss";
12
- var Header = function Header(_ref) {
13
- var title = _ref.title,
14
- searchProps = _ref.searchProps,
15
- _ref$className = _ref.className,
16
- className = _ref$className === void 0 ? "" : _ref$className,
17
- actionBlock = _ref.actionBlock,
18
- _ref$breadcrumbs = _ref.breadcrumbs,
19
- breadcrumbs = _ref$breadcrumbs === void 0 ? [] : _ref$breadcrumbs,
20
- _ref$renderDropdown = _ref.renderDropdown,
21
- renderDropdown = _ref$renderDropdown === void 0 ? noop : _ref$renderDropdown,
22
- _ref$size = _ref.size,
23
- size = _ref$size === void 0 ? "large" : _ref$size,
24
- _ref$dataTestid = _ref["data-testid"],
25
- dataTestId = _ref$dataTestid === void 0 ? "neeto-molecules-header" : _ref$dataTestid;
26
- var searchRef = useRef(null);
27
- var _useTranslation = useTranslation(),
28
- t = _useTranslation.t;
29
- return /*#__PURE__*/React.createElement("div", {
30
- "data-testid": dataTestId,
31
- className: classnames(["neeto-molecules-header", {
32
- "neeto-molecules-header--has-breadcrumbs": isNotEmpty(breadcrumbs),
33
- "neeto-molecules-header--large": size === SIZES.large,
34
- "neeto-molecules-header--small": size === SIZES.small,
35
- "neeto-molecules-header--nano": size === SIZES.nano
36
- }, className])
37
- }, /*#__PURE__*/React.createElement("div", {
38
- className: "neeto-molecules-header__left"
39
- }, /*#__PURE__*/React.createElement("div", {
40
- className: "neeto-molecules-header__left-data-wrap"
41
- }, isNotEmpty(breadcrumbs) && /*#__PURE__*/React.createElement(Breadcrumbs, {
42
- breadcrumbs: breadcrumbs
43
- }), /*#__PURE__*/React.createElement("div", {
44
- className: "neeto-molecules-header__page-title"
45
- }, /*#__PURE__*/React.createElement(Typography, {
46
- "data-cy": "main-header",
47
- "data-test-id": "main-header",
48
- lineHeight: "tight",
49
- style: "h2",
50
- weight: "semibold"
51
- }, title), renderDropdown(Dropdown)))), /*#__PURE__*/React.createElement("div", {
52
- className: "neeto-ui-gap-3 neeto-molecules-header__right"
53
- }, searchProps && /*#__PURE__*/React.createElement(Input, _extends({
54
- placeholder: t("neetoMolecules.common.actions.search"),
55
- prefix: /*#__PURE__*/React.createElement(Search, null),
56
- ref: searchRef,
57
- type: "search",
58
- className: classnames(["neeto-molecules-header__search-input", searchProps.className])
59
- }, searchProps)), actionBlock));
60
- };
61
- export default Header;
@@ -1,34 +0,0 @@
1
- import React from "react";
2
- import classnames from "classnames";
3
- import { humanize } from "@bigbinary/neeto-commons-frontend/pure";
4
- import { Tooltip, Typography } from "@bigbinary/neetoui";
5
- var Icon = function Icon(_ref) {
6
- var active = _ref.active,
7
- icon = _ref.icon,
8
- _onClick = _ref.onClick,
9
- symbolsStyle = _ref.symbolsStyle,
10
- style = _ref.style;
11
- return /*#__PURE__*/React.createElement(Tooltip, {
12
- content: humanize(icon),
13
- position: "bottom"
14
- }, /*#__PURE__*/React.createElement("div", {
15
- "data-testid": "icon-picker-icon-".concat(icon),
16
- style: style,
17
- className: classnames("neeto-ui-rounded-md flex cursor-pointer items-center justify-center", {
18
- "neeto-ui-text-gray-700 hover:neeto-ui-bg-gray-100": !active,
19
- "neeto-ui-text-white neeto-ui-bg-primary-500": active
20
- }),
21
- onClick: function onClick() {
22
- return _onClick(icon);
23
- }
24
- }, /*#__PURE__*/React.createElement("div", {
25
- className: "flex w-11/12 flex-col justify-center p-1",
26
- style: symbolsStyle
27
- }, /*#__PURE__*/React.createElement("span", {
28
- className: "material-symbols-rounded mx-auto"
29
- }, icon), /*#__PURE__*/React.createElement(Typography, {
30
- className: "text-center line-clamp-2",
31
- style: "body3"
32
- }, humanize(icon)))));
33
- };
34
- export default Icon;
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- import { Typography } from "@bigbinary/neetoui";
3
- import { useTranslation } from "react-i18next";
4
- var NoResults = function NoResults() {
5
- var _useTranslation = useTranslation(),
6
- t = _useTranslation.t;
7
- return /*#__PURE__*/React.createElement(Typography, {
8
- className: "neeto-ui-text-gray-400 flex h-64 items-center justify-center text-lg",
9
- "data-cy": "no-icon-results-found-text"
10
- }, t("neetoMolecules.iconPicker.dropdown.noResults"));
11
- };
12
- export default /*#__PURE__*/React.memo(NoResults);