@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,379 +0,0 @@
1
- :root {
2
- --neeto-molecules-sidebar-width: 240px;
3
- --neeto-molecules-sidebar-z-index: 99998;
4
-
5
- --neeto-chat-primary: 136, 134, 255;
6
- --neeto-wireframe-primary: 106, 103, 232;
7
- --neeto-site-primary: 129, 118, 255;
8
- --neeto-desk-primary: 253, 148, 55;
9
- --neeto-planner-primary: 82, 169, 198;
10
- --neeto-replay-primary: 32, 199, 189;
11
- --neeto-course-primary: 140, 214, 114;
12
- --neeto-ci-primary: 255, 133, 184;
13
- --neeto-invoice-primary: 70, 160, 211;
14
- --neeto-quiz-primary: 254, 99, 99;
15
- --neeto-runner-primary: 75, 71, 255;
16
- --neeto-form-primary: 254, 128, 114;
17
- --neeto-crm-primary: 96, 154, 240;
18
- --neeto-changelog-primary: 255, 135, 135;
19
- --neeto-deploy-primary: 20, 209, 164;
20
- --neeto-kb-primary: 101, 205, 161;
21
- --neeto-cal-primary: 238, 77, 95;
22
- --neeto-invisible-primary: 121, 157, 250;
23
- --neeto-testify-primary: 255, 158, 69;
24
- --neeto-monitor-primary: 70, 181, 197;
25
- --neeto-git-primary: 255, 78, 110;
26
- }
27
-
28
- .neeto-molecules-sidebar__wrapper {
29
- display: flex;
30
- position: relative;
31
- width: var(--neeto-molecules-sidebar-width);
32
- max-width: var(--neeto-molecules-sidebar-width);
33
-
34
- transition: all 150ms;
35
-
36
- &--collapsed {
37
- width: 0px;
38
- max-width: 0px;
39
-
40
- .neeto-molecules-sidebar__toggler {
41
- transform: scale(-1);
42
- right: -36px;
43
- }
44
- }
45
-
46
- &:hover {
47
- .neeto-molecules-sidebar__toggler {
48
- opacity: 1;
49
- }
50
- }
51
- }
52
-
53
- .neeto-molecules-sidebar {
54
- width: 100%;
55
- height: 100vh;
56
- padding: 24px 0;
57
- background-color: rgb(var(--neeto-ui-gray-100));
58
- border-right: 1px solid rgb(var(--neeto-ui-gray-100));
59
- z-index: var(--neeto-molecules-sidebar-z-index);
60
-
61
- &__no-shrinkable {
62
- width: var(--neeto-molecules-sidebar-width);
63
- max-width: var(--neeto-molecules-sidebar-width);
64
- }
65
-
66
- &::-webkit-scrollbar {
67
- width: 0;
68
- height: 0;
69
- }
70
-
71
- &::-webkit-scrollbar-thumb {
72
- background: rgb(var(--neeto-ui-gray-300));
73
- border-radius: 50px;
74
- }
75
-
76
- &::-webkit-scrollbar-track {
77
- background: "transparent";
78
- }
79
-
80
- &__toggler-hover-area {
81
- position: absolute;
82
- top: 0;
83
- bottom: 0;
84
- left: 100%;
85
- z-index: var(--neeto-molecules-sidebar-z-index);
86
- width: 40px;
87
- }
88
-
89
- &__toggler {
90
- position: absolute;
91
- top: 8px;
92
- right: 8px;
93
- z-index: calc(var(--neeto-molecules-sidebar-z-index) + 1);
94
- opacity: 0;
95
- transition: opacity 0.3s ease-in-out;
96
-
97
- &:focus {
98
- opacity: 1;
99
- }
100
- }
101
-
102
- // header
103
-
104
- &__header {
105
- padding: 0 24px;
106
- margin: 14px 0 28px;
107
- }
108
-
109
- &__logo {
110
- svg {
111
- width: auto;
112
- max-width: 100%;
113
- height: 20px;
114
- }
115
- }
116
-
117
- // links
118
-
119
- &__links {
120
- margin-bottom: 40px;
121
- }
122
-
123
- &__link {
124
- width: 100%;
125
- padding: 12px 24px;
126
- gap: 10px;
127
- color: rgb(var(--neeto-ui-gray-800));
128
- transition: var(--neeto-ui-transition);
129
- position: relative;
130
- text-decoration: none !important;
131
-
132
- &-icon {
133
- flex-shrink: 0;
134
- transition: var(--neeto-ui-transition);
135
-
136
- svg path {
137
- vector-effect: non-scaling-stroke;
138
- }
139
-
140
- &--rotate {
141
- transform: scale(-1);
142
- }
143
-
144
- &--caret {
145
- opacity: 0;
146
- transition: opacity 0.3s ease-in-out;
147
- }
148
- }
149
-
150
- &-label,
151
- &-sub-label {
152
- text-align: left;
153
- flex-grow: 1;
154
- }
155
-
156
- &:hover {
157
- color: rgb(var(--neeto-ui-black));
158
- background-color: rgb(var(--neeto-ui-gray-200));
159
- }
160
-
161
- &[aria-expanded="true"],
162
- &:focus,
163
- &:focus-visible {
164
- color: rgb(var(--neeto-ui-black));
165
- outline: none;
166
- background-color: rgb(var(--neeto-ui-gray-200));
167
- }
168
-
169
- &.active {
170
- background-color: rgb(var(--neeto-ui-white));
171
- color: rgb(var(--neeto-ui-black));
172
-
173
- .neeto-molecules-sidebar__link-label {
174
- font-weight: var(--neeto-ui-font-medium);
175
- }
176
- }
177
-
178
- &:hover,
179
- &[aria-expanded="true"],
180
- &:focus,
181
- &:focus-visible,
182
- &.active {
183
- .neeto-molecules-sidebar__link-icon--caret {
184
- opacity: 1;
185
- }
186
- }
187
-
188
- &--button {
189
- &:focus {
190
- background-color: transparent;
191
- }
192
-
193
- &:focus-visible {
194
- color: rgb(var(--neeto-ui-gray-800));
195
- background-color: rgb(var(--neeto-ui-gray-200));
196
- }
197
- }
198
- }
199
-
200
- &__link--change-log {
201
- outline: none !important;
202
- }
203
-
204
- &__sublink-wrapper {
205
- padding: 4px 0;
206
- background-color: rgb(var(--neeto-ui-white));
207
- }
208
-
209
- &__sublink {
210
- padding: 8px 24px 8px 58px;
211
- color: rgb(var(--neeto-ui-gray-700));
212
- background-color: rgb(var(--neeto-ui-white));
213
- transition: all 0.3s;
214
- cursor: pointer;
215
- text-decoration: none;
216
- gap: 8px;
217
-
218
- &:not(:last-child) {
219
- margin-bottom: 4px;
220
- }
221
-
222
- .neeto-molecules-sidebar__link-sub-count {
223
- opacity: 0.75;
224
- }
225
-
226
- &:hover {
227
- color: rgb(var(--neeto-ui-gray-800));
228
- text-decoration: none;
229
-
230
- .neeto-molecules-sidebar__link-sub-count {
231
- opacity: 1;
232
- }
233
- }
234
-
235
- &:focus,
236
- &:focus-visible {
237
- color: rgb(var(--neeto-ui-gray-800));
238
- outline: none;
239
- text-decoration: none;
240
-
241
- .neeto-molecules-sidebar__link-sub-count {
242
- opacity: 1;
243
- }
244
- }
245
-
246
- &:active,
247
- &.active {
248
- color: rgb(var(--neeto-ui-black));
249
- font-weight: var(--neeto-ui-font-medium);
250
- text-decoration: none;
251
-
252
- .neeto-molecules-sidebar__link-sub-count {
253
- opacity: 1;
254
- }
255
- }
256
- }
257
-
258
- &__footer {
259
- margin-top: auto;
260
- }
261
- }
262
-
263
- .sidebar-featured-tooltip__content {
264
- border-radius: 8px !important;
265
- box-shadow: var(--neeto-ui-shadow-sm) !important;
266
-
267
- .tippy-content {
268
- padding: 0;
269
- }
270
- }
271
-
272
- .sidebar-featured-tooltip {
273
- padding: 12px;
274
- width: 150px;
275
- }
276
-
277
- .sidebar-featured-tooltip__icon-wrap {
278
- width: 40px;
279
- height: 40px;
280
- margin-left: auto;
281
- margin-right: auto;
282
- margin-bottom: 8px;
283
- border-radius: 8px;
284
- background-color: rgb(var(--neeto-ui-gray-100));
285
- }
286
-
287
- .sidebar-featured-tooltip__title {
288
- margin-bottom: 4px;
289
- }
290
-
291
- .neeto-molecules-profile-popup-wrapper,
292
- .neeto-molecules-help-popup-wrapper {
293
- box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12), 0px 5px 5px -3px rgba(0, 0, 0, .2) !important;
294
- border-radius: var(--neeto-ui-rounded) !important;
295
- border: 1px solid rgb(var(--neeto-ui-gray-400));
296
- min-width: 240px;
297
-
298
- .tippy-content {
299
- padding: 0;
300
- }
301
-
302
- .tippy-svg-arrow {
303
- display: none !important;
304
- }
305
- }
306
-
307
- .neeto-molecules-profile-popup__top-section {
308
- border-top-left-radius: var(--neeto-ui-rounded);
309
- border-top-right-radius: var(--neeto-ui-rounded);
310
- }
311
-
312
- .neeto-molecules-profile-sublist {
313
- border-top: 1px solid rgb(var(--neeto-ui-gray-400));
314
- }
315
-
316
- .neeto-molecules-help-sublist,
317
- .neeto-molecules-profile-sublist {
318
- list-style: none;
319
- margin: 0;
320
- padding: 4px 0;
321
- }
322
-
323
- .neeto-molecules-profile-sublist__item,
324
- .neeto-molecules-help-sublist__item {
325
- width: 100%;
326
- }
327
-
328
- .neeto-molecules-profile-sublist__item-btn,
329
- .neeto-molecules-help-sublist__item-btn {
330
- border-radius: 0;
331
- justify-content: flex-end !important;
332
- min-height: 40px;
333
- text-align: left;
334
-
335
- &.active {
336
- background-color: rgb(var(--neeto-ui-gray-800));
337
- color: rgb(var(--neeto-ui-white));
338
- }
339
-
340
- &-icon {
341
- svg {
342
- path {
343
- vector-effect: non-scaling-stroke;
344
- }
345
- }
346
- }
347
-
348
- span {
349
- display: flex;
350
- align-items: center;
351
- gap: 8px;
352
- }
353
- }
354
-
355
- .neeto-molecules-sidebar__link-icon {
356
- position: relative;
357
- }
358
-
359
- .neeto-molecules-sidebar__notif-count {
360
- position: absolute;
361
- right: -6px;
362
- top: -6px;
363
- z-index: 1;
364
- }
365
-
366
- .neeto-molecules-sidebar__notif-count, .neeto-molecules-help-sublist__item-btn-count {
367
- display: inline-flex;
368
- justify-content: center;
369
- align-items: center;
370
- text-align: center;
371
- width: 16px;
372
- height: 16px;
373
- flex-shrink: 0;
374
- background-color: rgb(var(--neeto-ui-primary-500));
375
- color: rgb(var(--neeto-ui-white));
376
- border-radius: var(--neeto-ui-rounded-full);
377
- font-size: var(--neeto-ui-text-xxs);
378
- user-select: none;
379
- }
@@ -1,18 +0,0 @@
1
- import { all } from "ramda";
2
- export var isSubRouteActive = function isSubRouteActive(subRoute, location) {
3
- var currentBrowserUrl = new URL(location.pathname + location.search, window.location.origin);
4
- var targetUrl = new URL(subRoute, window.location.origin);
5
- if (!currentBrowserUrl.pathname.startsWith(targetUrl.pathname)) {
6
- return false;
7
- }
8
- var targetSearchParams = targetUrl.searchParams;
9
- var targetSearchKeys = Array.from(targetSearchParams.keys());
10
- return all(function (key) {
11
- return currentBrowserUrl.searchParams.get(key) === targetSearchParams.get(key);
12
- }, targetSearchKeys);
13
- };
14
- export var getSidebarStateLocalStorageKey = function getSidebarStateLocalStorageKey() {
15
- var _globalProps$user, _globalProps$user2;
16
- var user = ((_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.email) || ((_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.phoneNumber);
17
- return "sidebarState-".concat(user);
18
- };
@@ -1,35 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["buttonProps"];
5
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
- import React, { forwardRef } from "react";
8
- import { Column } from "@bigbinary/neeto-icons";
9
- import { useTranslation } from "react-i18next";
10
- import ManageColumns from "../../Columns";
11
- var Columns = /*#__PURE__*/forwardRef(function (_ref, ref) {
12
- var _ref$buttonProps = _ref.buttonProps,
13
- buttonProps = _ref$buttonProps === void 0 ? {} : _ref$buttonProps,
14
- props = _objectWithoutProperties(_ref, _excluded);
15
- var _useTranslation = useTranslation(),
16
- t = _useTranslation.t;
17
- return /*#__PURE__*/React.createElement("div", {
18
- className: "neeto-molecules-subheader__columns"
19
- }, /*#__PURE__*/React.createElement(ManageColumns, _extends({
20
- buttonProps: _objectSpread({
21
- icon: Column,
22
- label: null,
23
- tooltipProps: {
24
- content: t("neetoMolecules.columns.columns"),
25
- position: "bottom"
26
- },
27
- "data-testid": "columns-button",
28
- "data-cy": "columns-dropdown-button"
29
- }, buttonProps)
30
- }, _objectSpread(_objectSpread({}, props), {}, {
31
- ref: ref
32
- }))));
33
- });
34
- Columns.displayName = "Columns";
35
- export default Columns;
@@ -1,28 +0,0 @@
1
- import React from "react";
2
- import { Download } from "@bigbinary/neeto-icons";
3
- import { Button } from "@bigbinary/neetoui";
4
- import { useTranslation } from "react-i18next";
5
- var DownloadButton = function DownloadButton(_ref) {
6
- var count = _ref.count,
7
- onClick = _ref.onClick,
8
- _ref$dataCy = _ref["data-cy"],
9
- dataCy = _ref$dataCy === void 0 ? "download-button" : _ref$dataCy;
10
- var _useTranslation = useTranslation(),
11
- t = _useTranslation.t;
12
- return /*#__PURE__*/React.createElement("div", {
13
- className: "neeto-molecules-subheader__download"
14
- }, /*#__PURE__*/React.createElement(Button, {
15
- "data-cy": dataCy,
16
- "data-testid": "download-button",
17
- icon: Download,
18
- style: "text",
19
- tooltipProps: {
20
- content: t("neetoMolecules.common.download"),
21
- position: "bottom"
22
- },
23
- onClick: onClick
24
- }), count && /*#__PURE__*/React.createElement("span", {
25
- className: "neeto-molecules-subheader__download-count"
26
- }, count));
27
- };
28
- export default DownloadButton;
@@ -1,31 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["buttonProps"];
5
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
- import React from "react";
8
- import { Filters as NeetoFilters } from "@bigbinary/neeto-filters-frontend";
9
- import { Filter } from "@bigbinary/neeto-icons";
10
- import { useTranslation } from "react-i18next";
11
- var FilterButton = function FilterButton(_ref) {
12
- var buttonProps = _ref.buttonProps,
13
- props = _objectWithoutProperties(_ref, _excluded);
14
- var _useTranslation = useTranslation(),
15
- t = _useTranslation.t;
16
- return /*#__PURE__*/React.createElement("div", {
17
- className: "neeto-molecules-subheader__filter"
18
- }, /*#__PURE__*/React.createElement(NeetoFilters, _extends({
19
- buttonProps: _objectSpread({
20
- "data-testid": "filter-button",
21
- icon: Filter,
22
- style: "text",
23
- tooltipProps: {
24
- content: t("neetoMolecules.common.filter"),
25
- position: "bottom"
26
- },
27
- label: null
28
- }, buttonProps)
29
- }, props)));
30
- };
31
- export default FilterButton;
@@ -1,21 +0,0 @@
1
- import React from "react";
2
- import classnames from "classnames";
3
- import { isNotPresent } from "@bigbinary/neeto-commons-frontend/pure";
4
- import { not } from "ramda";
5
- import Columns from "./Columns";
6
- import Download from "./Download";
7
- import Filter from "./Filter";
8
- var RightBlock = function RightBlock(_ref) {
9
- var downloadButtonProps = _ref.downloadButtonProps,
10
- columnsButtonProps = _ref.columnsButtonProps,
11
- filterProps = _ref.filterProps,
12
- dataProps = _ref.dataProps;
13
- var showIcons = isNotPresent(dataProps === null || dataProps === void 0 ? void 0 : dataProps.totalCount) ? true : (dataProps === null || dataProps === void 0 ? void 0 : dataProps.totalCount) > 0;
14
- return /*#__PURE__*/React.createElement("div", {
15
- "data-testid": "subheader-rightblock-buttons-container",
16
- className: classnames("neeto-molecules-subheader__right-actions", {
17
- hidden: not(showIcons)
18
- })
19
- }, downloadButtonProps && /*#__PURE__*/React.createElement(Download, downloadButtonProps), columnsButtonProps && /*#__PURE__*/React.createElement(Columns, columnsButtonProps), filterProps && /*#__PURE__*/React.createElement(Filter, filterProps));
20
- };
21
- export default RightBlock;
@@ -1,13 +0,0 @@
1
- import { removeBy } from "@bigbinary/neeto-commons-frontend/pure";
2
- import { __, filter, includes, toLower, trim } from "ramda";
3
- export var removeFixedColumns = function removeFixedColumns(fixedColumns, columnData) {
4
- return removeBy({
5
- dataIndex: includes(__, fixedColumns)
6
- }, columnData);
7
- };
8
- export var filterBySearchTerm = function filterBySearchTerm(searchTerm, columns) {
9
- return filter(function (_ref) {
10
- var title = _ref.title;
11
- return includes(trim(toLower(searchTerm)), trim(toLower(title)));
12
- }, columns);
13
- };
@@ -1,28 +0,0 @@
1
- import React from "react";
2
- import classnames from "classnames";
3
- import RightBlock from "./RightBlock";
4
- import "./subheader.scss";
5
- var SubHeader = function SubHeader(_ref) {
6
- var _ref$className = _ref.className,
7
- className = _ref$className === void 0 ? "" : _ref$className,
8
- leftActionBlock = _ref.leftActionBlock,
9
- rightActionBlock = _ref.rightActionBlock,
10
- _ref$dataCy = _ref["data-cy"],
11
- dataCy = _ref$dataCy === void 0 ? "subheader" : _ref$dataCy;
12
- return /*#__PURE__*/React.createElement("div", {
13
- className: classnames(["neeto-molecules-subheader", className]),
14
- "data-cy": dataCy,
15
- "data-testid": "subheader"
16
- }, /*#__PURE__*/React.createElement("div", {
17
- className: "neeto-molecules-subheader__left-wrapper",
18
- "data-cy": "subheader-left-wrapper"
19
- }, leftActionBlock && /*#__PURE__*/React.createElement("div", {
20
- className: "neeto-molecules-subheader__left",
21
- "data-cy": "subheader-left"
22
- }, leftActionBlock)), rightActionBlock && /*#__PURE__*/React.createElement("div", {
23
- className: "neeto-molecules-subheader__right",
24
- "data-cy": "subheader-right"
25
- }, rightActionBlock));
26
- };
27
- SubHeader.RightBlock = RightBlock;
28
- export default SubHeader;
@@ -1,78 +0,0 @@
1
- $neeto-molecules-sub-header-height: 37px;
2
- $neeto-molecules-sub-header-bottom-margin: 20px;
3
-
4
- :root {
5
- --neeto-molecules-sub-header-height: #{$neeto-molecules-sub-header-height};
6
- --neeto-molecules-sub-header-bottom-margin: #{$neeto-molecules-sub-header-bottom-margin};
7
- }
8
-
9
- .neeto-molecules-subheader {
10
- width: 100%;
11
- display: flex;
12
- flex-direction: row;
13
- justify-content: space-between;
14
- align-items: center;
15
- min-height: var(--neeto-molecules-sub-header-height);
16
- margin-bottom: var(--neeto-molecules-sub-header-bottom-margin);
17
- background-color: rgb(var(--neeto-ui-white));
18
-
19
- .neeto-molecules-subheader__left-wrapper {
20
- display: flex;
21
- flex-grow: 1;
22
-
23
- .neeto-molecules-subheader__left {
24
- display: flex;
25
- flex-direction: row;
26
- justify-content: flex-start;
27
- align-items: center;
28
-
29
- .neeto-molecules-input__prefix {
30
- color: rgb(var(--neeto-ui-gray-400));
31
- }
32
- }
33
- }
34
-
35
- .neeto-molecules-subheader__right {
36
- display: flex;
37
- flex-direction: row;
38
- justify-content: flex-end;
39
- align-items: center;
40
- gap: 12px;
41
-
42
- &-actions {
43
- display: flex;
44
- flex-direction: row;
45
- justify-content: flex-end;
46
- align-items: center;
47
- gap: 8px;
48
-
49
- & > :not([hidden]) ~ :not([hidden]) {
50
- border-left: thin solid rgb(var(--neeto-ui-gray-300));
51
- padding-left: 8px;
52
- }
53
- }
54
- }
55
-
56
- &__download {
57
- position: relative;
58
-
59
- &-count {
60
- position: absolute;
61
- right: -2px;
62
- top: -2px;
63
- min-width: 16px;
64
- min-height: 16px;
65
-
66
- display: inline-flex;
67
- justify-content: center;
68
- align-items: center;
69
- text-align: center;
70
-
71
- background-color: rgb(var(--neeto-ui-primary-500));
72
- color: rgb(var(--neeto-ui-white));
73
- border-radius: var(--neeto-ui-rounded-full);
74
- font-size: 10px;
75
- z-index: 1;
76
- }
77
- }
78
- }
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import { findBy } from "@bigbinary/neeto-commons-frontend/pure";
3
- import { mergeLeft, isEmpty } from "ramda";
4
- import { useTranslation } from "react-i18next";
5
- import { POSITION_OPTIONS } from "../constants";
6
- import Card from "../fields/Card";
7
- import ImageBlock from "../fields/ImageBlock";
8
- import SelectBlock from "../fields/SelectBlock";
9
- var Logo = function Logo(_ref) {
10
- var logo = _ref.logo,
11
- _onChange = _ref.onChange;
12
- var _useTranslation = useTranslation(),
13
- t = _useTranslation.t;
14
- return /*#__PURE__*/React.createElement(Card, {
15
- title: t("neetoMolecules.themeSidebar.logo")
16
- }, /*#__PURE__*/React.createElement("div", {
17
- className: "divide-y divide-gray-200"
18
- }, /*#__PURE__*/React.createElement(ImageBlock, {
19
- imageData: logo,
20
- name: "logo",
21
- onChange: function onChange(name, value) {
22
- return _onChange(name, isEmpty(value) ? {
23
- position: logo.position
24
- } : mergeLeft(value, logo));
25
- }
26
- }), logo.url && /*#__PURE__*/React.createElement(SelectBlock, {
27
- label: t("neetoMolecules.themeSidebar.logoPosition"),
28
- options: POSITION_OPTIONS,
29
- placeholder: t("neetoMolecules.themeSidebar.left"),
30
- value: findBy({
31
- value: logo.position || "left"
32
- }, POSITION_OPTIONS),
33
- onChange: function onChange(_ref2) {
34
- var value = _ref2.value;
35
- return _onChange("logo.position", value);
36
- }
37
- })));
38
- };
39
- export default /*#__PURE__*/React.memo(Logo);