@nylas/web-elements 1.1.0-canary.17 → 1.1.0-canary.18

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 (599) hide show
  1. package/dist/cjs/add-circle-icon.cjs.entry.js +1 -1
  2. package/dist/cjs/add-circle-icon_2.cjs.entry.js +2 -2
  3. package/dist/cjs/archive-icon.cjs.entry.js +1 -1
  4. package/dist/cjs/archive-icon_7.cjs.entry.js +7 -7
  5. package/dist/cjs/arrow-icon.cjs.entry.js +1 -1
  6. package/dist/cjs/bold-icon.cjs.entry.js +1 -1
  7. package/dist/cjs/bold-icon_3.cjs.entry.js +3 -3
  8. package/dist/cjs/button-component.cjs.entry.js +1 -1
  9. package/dist/cjs/calendar-cancel-icon.cjs.entry.js +1 -1
  10. package/dist/cjs/calendar-check-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/calendar-check-icon_2.cjs.entry.js +2 -2
  12. package/dist/cjs/calendar-icon.cjs.entry.js +1 -1
  13. package/dist/cjs/calendar-info-icon.cjs.entry.js +1 -1
  14. package/dist/cjs/calendar-info-icon_28.cjs.entry.js +31 -31
  15. package/dist/cjs/calendar-patterns-icon.cjs.entry.js +1 -1
  16. package/dist/cjs/checkbox-component.cjs.entry.js +1 -1
  17. package/dist/cjs/checkmark-circle-icon.cjs.entry.js +1 -1
  18. package/dist/cjs/chevron-icon.cjs.entry.js +1 -1
  19. package/dist/cjs/chevron-icon_3.cjs.entry.js +5 -5
  20. package/dist/cjs/chevron-icon_3.cjs.entry.js.map +1 -1
  21. package/dist/cjs/clock-icon.cjs.entry.js +1 -1
  22. package/dist/cjs/clock-icon_2.cjs.entry.js +2 -2
  23. package/dist/cjs/close-icon.cjs.entry.js +1 -1
  24. package/dist/cjs/document-refresh-icon.cjs.entry.js +1 -1
  25. package/dist/cjs/flow-icon.cjs.entry.js +1 -1
  26. package/dist/cjs/folder-icon.cjs.entry.js +1 -1
  27. package/dist/cjs/forward-icon.cjs.entry.js +1 -1
  28. package/dist/cjs/forward-icon_6.cjs.entry.js +7 -7
  29. package/dist/cjs/globe-icon.cjs.entry.js +1 -1
  30. package/dist/cjs/google-logo-icon.cjs.entry.js +1 -1
  31. package/dist/cjs/google-logo-icon_4.cjs.entry.js +25 -8
  32. package/dist/cjs/google-logo-icon_4.cjs.entry.js.map +1 -1
  33. package/dist/cjs/inbox-icon.cjs.entry.js +1 -1
  34. package/dist/cjs/info-icon.cjs.entry.js +1 -1
  35. package/dist/cjs/info-icon_2.cjs.entry.js +2 -2
  36. package/dist/cjs/input-component.cjs.entry.js +1 -1
  37. package/dist/cjs/input-dropdown.cjs.entry.js +1 -1
  38. package/dist/cjs/input-dropdown_2.cjs.entry.js +2 -2
  39. package/dist/cjs/italic-icon.cjs.entry.js +1 -1
  40. package/dist/cjs/loading-icon.cjs.entry.js +1 -1
  41. package/dist/cjs/location-icon.cjs.entry.js +1 -1
  42. package/dist/cjs/location-off-icon.cjs.entry.js +1 -1
  43. package/dist/cjs/microsoft-logo-icon.cjs.entry.js +1 -1
  44. package/dist/cjs/multi-select-dropdown.cjs.entry.js +2 -2
  45. package/dist/cjs/nylas-additional-participants.cjs.entry.js +2 -2
  46. package/dist/cjs/nylas-availability-picker.cjs.entry.js +1 -1
  47. package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js +11 -11
  48. package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js.map +1 -1
  49. package/dist/cjs/nylas-booking-form.cjs.entry.js +2 -2
  50. package/dist/cjs/nylas-cancel-booking-form.cjs.entry.js +1 -1
  51. package/dist/cjs/nylas-cancellation-policy.cjs.entry.js +1 -1
  52. package/dist/cjs/nylas-cancelled-event-card.cjs.entry.js +1 -1
  53. package/dist/cjs/nylas-composer.cjs.entry.js +1 -1
  54. package/dist/cjs/nylas-custom-booking-flow.cjs.entry.js +1 -1
  55. package/dist/cjs/nylas-customize-booking-settings.cjs.entry.js +1 -1
  56. package/dist/cjs/nylas-date-picker.cjs.entry.js +1 -1
  57. package/dist/cjs/nylas-date-picker.cjs.entry.js.map +1 -1
  58. package/dist/cjs/nylas-editor-tabs.cjs.entry.js +23 -6
  59. package/dist/cjs/nylas-editor-tabs.cjs.entry.js.map +1 -1
  60. package/dist/cjs/nylas-event-description.cjs.entry.js +1 -1
  61. package/dist/cjs/nylas-event-duration.cjs.entry.js +1 -1
  62. package/dist/cjs/nylas-event-info.cjs.entry.js +1 -1
  63. package/dist/cjs/nylas-event-limits.cjs.entry.js +1 -1
  64. package/dist/cjs/nylas-event-location.cjs.entry.js +3 -3
  65. package/dist/cjs/nylas-event-title.cjs.entry.js +2 -2
  66. package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
  67. package/dist/cjs/nylas-if-state.cjs.entry.js +1 -1
  68. package/dist/cjs/nylas-limit-future-bookings.cjs.entry.js +1 -1
  69. package/dist/cjs/nylas-list-folders.cjs.entry.js +1 -1
  70. package/dist/cjs/nylas-list-threads.cjs.entry.js +1 -1
  71. package/dist/cjs/nylas-locale-switch.cjs.entry.js +3 -3
  72. package/dist/cjs/nylas-login.cjs.entry.js +1 -1
  73. package/dist/cjs/nylas-logo.cjs.entry.js +1 -1
  74. package/dist/cjs/nylas-mailbox-toolbar-button.cjs.entry.js +1 -1
  75. package/dist/cjs/nylas-mailbox.cjs.entry.js +1 -1
  76. package/dist/cjs/nylas-min-booking-notice.cjs.entry.js +1 -1
  77. package/dist/cjs/nylas-min-cancellation-notice.cjs.entry.js +1 -1
  78. package/dist/cjs/nylas-notification.cjs.entry.js +1 -1
  79. package/dist/cjs/nylas-participants-custom-availability.cjs.entry.js +1 -1
  80. package/dist/cjs/nylas-provider.cjs.entry.js +1 -1
  81. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
  82. package/dist/cjs/nylas-selected-event-card.cjs.entry.js +1 -1
  83. package/dist/cjs/nylas-summarize-message-button.cjs.entry.js +2 -2
  84. package/dist/cjs/nylas-threads-refresh.cjs.entry.js +2 -2
  85. package/dist/cjs/nylas-threads-search.cjs.entry.js +1 -1
  86. package/dist/cjs/nylas-time-window-picker.cjs.entry.js +1 -1
  87. package/dist/cjs/nylas-timeslot-interval.cjs.entry.js +2 -2
  88. package/dist/cjs/nylas-view-email.cjs.entry.js +1 -1
  89. package/dist/cjs/nylas-view-thread.cjs.entry.js +1 -1
  90. package/dist/cjs/people-icon.cjs.entry.js +1 -1
  91. package/dist/cjs/person-icon.cjs.entry.js +1 -1
  92. package/dist/cjs/play-icon.cjs.entry.js +1 -1
  93. package/dist/cjs/play-icon_2.cjs.entry.js +2 -2
  94. package/dist/cjs/radio-button-group.cjs.entry.js +1 -1
  95. package/dist/cjs/refresh-icon.cjs.entry.js +1 -1
  96. package/dist/cjs/reply-all-icon.cjs.entry.js +1 -1
  97. package/dist/cjs/reply-icon.cjs.entry.js +1 -1
  98. package/dist/cjs/search-icon.cjs.entry.js +1 -1
  99. package/dist/cjs/select-dropdown.cjs.entry.js +3 -3
  100. package/dist/cjs/select-dropdown.cjs.entry.js.map +1 -1
  101. package/dist/cjs/sent-icon.cjs.entry.js +1 -1
  102. package/dist/cjs/spam-icon.cjs.entry.js +1 -1
  103. package/dist/cjs/star-icon.cjs.entry.js +1 -1
  104. package/dist/cjs/stop-icon.cjs.entry.js +1 -1
  105. package/dist/cjs/textarea-component.cjs.entry.js +1 -1
  106. package/dist/cjs/time-period-selector.cjs.entry.js +1 -1
  107. package/dist/cjs/toggle-switch.cjs.entry.js +1 -1
  108. package/dist/cjs/tooltip-component.cjs.entry.js +1 -1
  109. package/dist/cjs/translate-icon.cjs.entry.js +1 -1
  110. package/dist/cjs/trash-icon.cjs.entry.js +1 -1
  111. package/dist/cjs/underline-icon.cjs.entry.js +1 -1
  112. package/dist/cjs/warning-icon.cjs.entry.js +1 -1
  113. package/dist/collection/common/icons/add-circle.js +1 -1
  114. package/dist/collection/common/icons/archive.js +1 -1
  115. package/dist/collection/common/icons/arrow.js +1 -1
  116. package/dist/collection/common/icons/bold.js +1 -1
  117. package/dist/collection/common/icons/calendar-cancel.js +1 -1
  118. package/dist/collection/common/icons/calendar-check.js +1 -1
  119. package/dist/collection/common/icons/calendar-info.js +1 -1
  120. package/dist/collection/common/icons/calendar-patterns.js +1 -1
  121. package/dist/collection/common/icons/calendar.js +1 -1
  122. package/dist/collection/common/icons/checkmark-circle.js +1 -1
  123. package/dist/collection/common/icons/chevron.js +1 -1
  124. package/dist/collection/common/icons/clock.js +1 -1
  125. package/dist/collection/common/icons/close.js +1 -1
  126. package/dist/collection/common/icons/document-refresh.js +1 -1
  127. package/dist/collection/common/icons/flow.js +1 -1
  128. package/dist/collection/common/icons/folder.js +1 -1
  129. package/dist/collection/common/icons/forward.js +1 -1
  130. package/dist/collection/common/icons/globe.js +1 -1
  131. package/dist/collection/common/icons/google-logo.js +1 -1
  132. package/dist/collection/common/icons/inbox.js +1 -1
  133. package/dist/collection/common/icons/info.js +1 -1
  134. package/dist/collection/common/icons/italic.js +1 -1
  135. package/dist/collection/common/icons/loading.js +1 -1
  136. package/dist/collection/common/icons/location-off.js +1 -1
  137. package/dist/collection/common/icons/location.js +1 -1
  138. package/dist/collection/common/icons/microsoft-logo.js +1 -1
  139. package/dist/collection/common/icons/nylas-logo.js +1 -1
  140. package/dist/collection/common/icons/people.js +1 -1
  141. package/dist/collection/common/icons/person.js +1 -1
  142. package/dist/collection/common/icons/play.js +1 -1
  143. package/dist/collection/common/icons/refresh.js +1 -1
  144. package/dist/collection/common/icons/reply-all.js +1 -1
  145. package/dist/collection/common/icons/reply.js +1 -1
  146. package/dist/collection/common/icons/search.js +1 -1
  147. package/dist/collection/common/icons/sent.js +1 -1
  148. package/dist/collection/common/icons/spam.js +1 -1
  149. package/dist/collection/common/icons/star.js +1 -1
  150. package/dist/collection/common/icons/stop.js +1 -1
  151. package/dist/collection/common/icons/translate.js +1 -1
  152. package/dist/collection/common/icons/trash.js +1 -1
  153. package/dist/collection/common/icons/underline.js +1 -1
  154. package/dist/collection/common/icons/warning.js +1 -1
  155. package/dist/collection/components/design-system/button-component/button-component.js +1 -1
  156. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -1
  157. package/dist/collection/components/design-system/input-component/input-component.js +1 -1
  158. package/dist/collection/components/design-system/input-dropdown/input-dropdown.js +1 -1
  159. package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +2 -2
  160. package/dist/collection/components/design-system/radio-button-group/radio-button-group.js +1 -1
  161. package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +3 -3
  162. package/dist/collection/components/design-system/select-dropdown/select-dropdown.js.map +1 -1
  163. package/dist/collection/components/design-system/textarea-component/textarea-component.js +1 -1
  164. package/dist/collection/components/design-system/time-period-selector/time-period-selector.js +1 -1
  165. package/dist/collection/components/design-system/toggle-switch/toggle-switch.js +1 -1
  166. package/dist/collection/components/design-system/tooltip-component/toolitp-component.js +1 -1
  167. package/dist/collection/components/mailbox/nylas-composer/nylas-composer.js +1 -1
  168. package/dist/collection/components/mailbox/nylas-list-folders/nylas-list-folders.js +1 -1
  169. package/dist/collection/components/mailbox/nylas-list-threads/nylas-list-threads.js +1 -1
  170. package/dist/collection/components/mailbox/nylas-mailbox/nylas-mailbox.js +1 -1
  171. package/dist/collection/components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button.js +1 -1
  172. package/dist/collection/components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button.js +2 -2
  173. package/dist/collection/components/mailbox/nylas-threads-refresh/nylas-threads-refresh.js +2 -2
  174. package/dist/collection/components/mailbox/nylas-threads-search/nylas-threads-search.js +1 -1
  175. package/dist/collection/components/mailbox/nylas-view-email/nylas-view-email.js +1 -1
  176. package/dist/collection/components/mailbox/nylas-view-thread/nylas-view-thread.js +1 -1
  177. package/dist/collection/components/nylas-if-state/nylas-if-state.js +1 -1
  178. package/dist/collection/components/nylas-login/nylas-login.js +1 -1
  179. package/dist/collection/components/nylas-provider/nylas-provider.js +1 -1
  180. package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +2 -2
  181. package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +1 -1
  182. package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +1 -1
  183. package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +1 -1
  184. package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -1
  185. package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.js +3 -3
  186. package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
  187. package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js +1 -1
  188. package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +2 -2
  189. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +1 -1
  190. package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js +1 -1
  191. package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
  192. package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js +1 -1
  193. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +23 -6
  194. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
  195. package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js +1 -1
  196. package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js +1 -1
  197. package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
  198. package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +1 -1
  199. package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js +3 -3
  200. package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js +2 -2
  201. package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.js +1 -1
  202. package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js +1 -1
  203. package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js +1 -1
  204. package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js +1 -1
  205. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +1 -1
  206. package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +1 -1
  207. package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +1 -1
  208. package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +2 -2
  209. package/dist/components/add-circle.js +1 -1
  210. package/dist/components/archive.js +1 -1
  211. package/dist/components/arrow.js +1 -1
  212. package/dist/components/bold.js +1 -1
  213. package/dist/components/button-component2.js +1 -1
  214. package/dist/components/calendar-cancel.js +1 -1
  215. package/dist/components/calendar-check.js +1 -1
  216. package/dist/components/calendar-info.js +1 -1
  217. package/dist/components/calendar-patterns.js +1 -1
  218. package/dist/components/calendar.js +1 -1
  219. package/dist/components/checkbox-component2.js +1 -1
  220. package/dist/components/checkmark-circle.js +1 -1
  221. package/dist/components/chevron.js +1 -1
  222. package/dist/components/clock.js +1 -1
  223. package/dist/components/close.js +1 -1
  224. package/dist/components/document-refresh-icon.js +1 -1
  225. package/dist/components/flow.js +1 -1
  226. package/dist/components/folder.js +1 -1
  227. package/dist/components/forward.js +1 -1
  228. package/dist/components/globe.js +1 -1
  229. package/dist/components/google-logo.js +1 -1
  230. package/dist/components/inbox.js +1 -1
  231. package/dist/components/info.js +1 -1
  232. package/dist/components/input-component2.js +1 -1
  233. package/dist/components/input-dropdown2.js +1 -1
  234. package/dist/components/italic.js +1 -1
  235. package/dist/components/loading.js +1 -1
  236. package/dist/components/location-off.js +1 -1
  237. package/dist/components/location.js +1 -1
  238. package/dist/components/microsoft-logo.js +1 -1
  239. package/dist/components/multi-select-dropdown2.js +2 -2
  240. package/dist/components/nylas-additional-participants2.js +2 -2
  241. package/dist/components/nylas-availability-picker2.js +1 -1
  242. package/dist/components/nylas-booking-form2.js +2 -2
  243. package/dist/components/nylas-cancel-booking-form2.js +1 -1
  244. package/dist/components/nylas-cancellation-policy2.js +1 -1
  245. package/dist/components/nylas-cancelled-event-card2.js +1 -1
  246. package/dist/components/nylas-composer2.js +1 -1
  247. package/dist/components/nylas-custom-booking-flow.js +1 -1
  248. package/dist/components/nylas-customize-booking-settings2.js +1 -1
  249. package/dist/components/nylas-date-picker2.js +1 -1
  250. package/dist/components/nylas-date-picker2.js.map +1 -1
  251. package/dist/components/nylas-editor-tabs2.js +23 -6
  252. package/dist/components/nylas-editor-tabs2.js.map +1 -1
  253. package/dist/components/nylas-event-description2.js +1 -1
  254. package/dist/components/nylas-event-duration2.js +1 -1
  255. package/dist/components/nylas-event-info2.js +1 -1
  256. package/dist/components/nylas-event-limits2.js +1 -1
  257. package/dist/components/nylas-event-location2.js +3 -3
  258. package/dist/components/nylas-event-title2.js +2 -2
  259. package/dist/components/nylas-form-card2.js +1 -1
  260. package/dist/components/nylas-if-state.js +1 -1
  261. package/dist/components/nylas-limit-future-bookings2.js +1 -1
  262. package/dist/components/nylas-list-folders.js +1 -1
  263. package/dist/components/nylas-list-threads.js +1 -1
  264. package/dist/components/nylas-locale-switch2.js +3 -3
  265. package/dist/components/nylas-login.js +1 -1
  266. package/dist/components/nylas-logo2.js +1 -1
  267. package/dist/components/nylas-mailbox-toolbar-button.js +1 -1
  268. package/dist/components/nylas-mailbox.js +1 -1
  269. package/dist/components/nylas-min-booking-notice2.js +1 -1
  270. package/dist/components/nylas-min-cancellation-notice2.js +1 -1
  271. package/dist/components/nylas-notification2.js +1 -1
  272. package/dist/components/nylas-participants-custom-availability2.js +1 -1
  273. package/dist/components/nylas-provider.js +1 -1
  274. package/dist/components/nylas-scheduler-editor.js +1 -1
  275. package/dist/components/nylas-selected-event-card2.js +1 -1
  276. package/dist/components/nylas-summarize-message-button2.js +2 -2
  277. package/dist/components/nylas-threads-refresh.js +2 -2
  278. package/dist/components/nylas-threads-search.js +1 -1
  279. package/dist/components/nylas-time-window-picker2.js +1 -1
  280. package/dist/components/nylas-timeslot-interval2.js +2 -2
  281. package/dist/components/nylas-view-email2.js +1 -1
  282. package/dist/components/nylas-view-thread.js +1 -1
  283. package/dist/components/people.js +1 -1
  284. package/dist/components/person.js +1 -1
  285. package/dist/components/play.js +1 -1
  286. package/dist/components/radio-button-group2.js +1 -1
  287. package/dist/components/refresh.js +1 -1
  288. package/dist/components/reply-all.js +1 -1
  289. package/dist/components/reply.js +1 -1
  290. package/dist/components/search.js +1 -1
  291. package/dist/components/select-dropdown2.js +3 -3
  292. package/dist/components/select-dropdown2.js.map +1 -1
  293. package/dist/components/sent.js +1 -1
  294. package/dist/components/spam.js +1 -1
  295. package/dist/components/star.js +1 -1
  296. package/dist/components/stop.js +1 -1
  297. package/dist/components/textarea-component.js +1 -1
  298. package/dist/components/time-period-selector2.js +1 -1
  299. package/dist/components/toggle-switch2.js +1 -1
  300. package/dist/components/toolitp-component.js +1 -1
  301. package/dist/components/translate.js +1 -1
  302. package/dist/components/trash.js +1 -1
  303. package/dist/components/underline.js +1 -1
  304. package/dist/components/warning.js +1 -1
  305. package/dist/esm/add-circle-icon.entry.js +1 -1
  306. package/dist/esm/add-circle-icon_2.entry.js +2 -2
  307. package/dist/esm/archive-icon.entry.js +1 -1
  308. package/dist/esm/archive-icon_7.entry.js +7 -7
  309. package/dist/esm/arrow-icon.entry.js +1 -1
  310. package/dist/esm/bold-icon.entry.js +1 -1
  311. package/dist/esm/bold-icon_3.entry.js +3 -3
  312. package/dist/esm/button-component.entry.js +1 -1
  313. package/dist/esm/calendar-cancel-icon.entry.js +1 -1
  314. package/dist/esm/calendar-check-icon.entry.js +1 -1
  315. package/dist/esm/calendar-check-icon_2.entry.js +2 -2
  316. package/dist/esm/calendar-icon.entry.js +1 -1
  317. package/dist/esm/calendar-info-icon.entry.js +1 -1
  318. package/dist/esm/calendar-info-icon_28.entry.js +31 -31
  319. package/dist/esm/calendar-patterns-icon.entry.js +1 -1
  320. package/dist/esm/checkbox-component.entry.js +1 -1
  321. package/dist/esm/checkmark-circle-icon.entry.js +1 -1
  322. package/dist/esm/chevron-icon.entry.js +1 -1
  323. package/dist/esm/chevron-icon_3.entry.js +5 -5
  324. package/dist/esm/chevron-icon_3.entry.js.map +1 -1
  325. package/dist/esm/clock-icon.entry.js +1 -1
  326. package/dist/esm/clock-icon_2.entry.js +2 -2
  327. package/dist/esm/close-icon.entry.js +1 -1
  328. package/dist/esm/document-refresh-icon.entry.js +1 -1
  329. package/dist/esm/flow-icon.entry.js +1 -1
  330. package/dist/esm/folder-icon.entry.js +1 -1
  331. package/dist/esm/forward-icon.entry.js +1 -1
  332. package/dist/esm/forward-icon_6.entry.js +7 -7
  333. package/dist/esm/globe-icon.entry.js +1 -1
  334. package/dist/esm/google-logo-icon.entry.js +1 -1
  335. package/dist/esm/google-logo-icon_4.entry.js +25 -8
  336. package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
  337. package/dist/esm/inbox-icon.entry.js +1 -1
  338. package/dist/esm/info-icon.entry.js +1 -1
  339. package/dist/esm/info-icon_2.entry.js +2 -2
  340. package/dist/esm/input-component.entry.js +1 -1
  341. package/dist/esm/input-dropdown.entry.js +1 -1
  342. package/dist/esm/input-dropdown_2.entry.js +2 -2
  343. package/dist/esm/italic-icon.entry.js +1 -1
  344. package/dist/esm/loading-icon.entry.js +1 -1
  345. package/dist/esm/location-icon.entry.js +1 -1
  346. package/dist/esm/location-off-icon.entry.js +1 -1
  347. package/dist/esm/microsoft-logo-icon.entry.js +1 -1
  348. package/dist/esm/multi-select-dropdown.entry.js +2 -2
  349. package/dist/esm/nylas-additional-participants.entry.js +2 -2
  350. package/dist/esm/nylas-availability-picker.entry.js +1 -1
  351. package/dist/esm/nylas-booked-event-card_10.entry.js +11 -11
  352. package/dist/esm/nylas-booked-event-card_10.entry.js.map +1 -1
  353. package/dist/esm/nylas-booking-form.entry.js +2 -2
  354. package/dist/esm/nylas-cancel-booking-form.entry.js +1 -1
  355. package/dist/esm/nylas-cancellation-policy.entry.js +1 -1
  356. package/dist/esm/nylas-cancelled-event-card.entry.js +1 -1
  357. package/dist/esm/nylas-composer.entry.js +1 -1
  358. package/dist/esm/nylas-custom-booking-flow.entry.js +1 -1
  359. package/dist/esm/nylas-customize-booking-settings.entry.js +1 -1
  360. package/dist/esm/nylas-date-picker.entry.js +1 -1
  361. package/dist/esm/nylas-date-picker.entry.js.map +1 -1
  362. package/dist/esm/nylas-editor-tabs.entry.js +23 -6
  363. package/dist/esm/nylas-editor-tabs.entry.js.map +1 -1
  364. package/dist/esm/nylas-event-description.entry.js +1 -1
  365. package/dist/esm/nylas-event-duration.entry.js +1 -1
  366. package/dist/esm/nylas-event-info.entry.js +1 -1
  367. package/dist/esm/nylas-event-limits.entry.js +1 -1
  368. package/dist/esm/nylas-event-location.entry.js +3 -3
  369. package/dist/esm/nylas-event-title.entry.js +2 -2
  370. package/dist/esm/nylas-form-card.entry.js +1 -1
  371. package/dist/esm/nylas-if-state.entry.js +1 -1
  372. package/dist/esm/nylas-limit-future-bookings.entry.js +1 -1
  373. package/dist/esm/nylas-list-folders.entry.js +1 -1
  374. package/dist/esm/nylas-list-threads.entry.js +1 -1
  375. package/dist/esm/nylas-locale-switch.entry.js +3 -3
  376. package/dist/esm/nylas-login.entry.js +1 -1
  377. package/dist/esm/nylas-logo.entry.js +1 -1
  378. package/dist/esm/nylas-mailbox-toolbar-button.entry.js +1 -1
  379. package/dist/esm/nylas-mailbox.entry.js +1 -1
  380. package/dist/esm/nylas-min-booking-notice.entry.js +1 -1
  381. package/dist/esm/nylas-min-cancellation-notice.entry.js +1 -1
  382. package/dist/esm/nylas-notification.entry.js +1 -1
  383. package/dist/esm/nylas-participants-custom-availability.entry.js +1 -1
  384. package/dist/esm/nylas-provider.entry.js +1 -1
  385. package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
  386. package/dist/esm/nylas-selected-event-card.entry.js +1 -1
  387. package/dist/esm/nylas-summarize-message-button.entry.js +2 -2
  388. package/dist/esm/nylas-threads-refresh.entry.js +2 -2
  389. package/dist/esm/nylas-threads-search.entry.js +1 -1
  390. package/dist/esm/nylas-time-window-picker.entry.js +1 -1
  391. package/dist/esm/nylas-timeslot-interval.entry.js +2 -2
  392. package/dist/esm/nylas-view-email.entry.js +1 -1
  393. package/dist/esm/nylas-view-thread.entry.js +1 -1
  394. package/dist/esm/people-icon.entry.js +1 -1
  395. package/dist/esm/person-icon.entry.js +1 -1
  396. package/dist/esm/play-icon.entry.js +1 -1
  397. package/dist/esm/play-icon_2.entry.js +2 -2
  398. package/dist/esm/radio-button-group.entry.js +1 -1
  399. package/dist/esm/refresh-icon.entry.js +1 -1
  400. package/dist/esm/reply-all-icon.entry.js +1 -1
  401. package/dist/esm/reply-icon.entry.js +1 -1
  402. package/dist/esm/search-icon.entry.js +1 -1
  403. package/dist/esm/select-dropdown.entry.js +3 -3
  404. package/dist/esm/select-dropdown.entry.js.map +1 -1
  405. package/dist/esm/sent-icon.entry.js +1 -1
  406. package/dist/esm/spam-icon.entry.js +1 -1
  407. package/dist/esm/star-icon.entry.js +1 -1
  408. package/dist/esm/stop-icon.entry.js +1 -1
  409. package/dist/esm/textarea-component.entry.js +1 -1
  410. package/dist/esm/time-period-selector.entry.js +1 -1
  411. package/dist/esm/toggle-switch.entry.js +1 -1
  412. package/dist/esm/tooltip-component.entry.js +1 -1
  413. package/dist/esm/translate-icon.entry.js +1 -1
  414. package/dist/esm/trash-icon.entry.js +1 -1
  415. package/dist/esm/underline-icon.entry.js +1 -1
  416. package/dist/esm/warning-icon.entry.js +1 -1
  417. package/dist/nylas-web-elements/add-circle-icon.entry.js +1 -1
  418. package/dist/nylas-web-elements/archive-icon.entry.js +1 -1
  419. package/dist/nylas-web-elements/arrow-icon.entry.js +1 -1
  420. package/dist/nylas-web-elements/bold-icon.entry.js +1 -1
  421. package/dist/nylas-web-elements/button-component.entry.js +1 -1
  422. package/dist/nylas-web-elements/calendar-cancel-icon.entry.js +1 -1
  423. package/dist/nylas-web-elements/calendar-check-icon.entry.js +1 -1
  424. package/dist/nylas-web-elements/calendar-icon.entry.js +1 -1
  425. package/dist/nylas-web-elements/calendar-info-icon.entry.js +1 -1
  426. package/dist/nylas-web-elements/calendar-patterns-icon.entry.js +1 -1
  427. package/dist/nylas-web-elements/checkbox-component.entry.js +1 -1
  428. package/dist/nylas-web-elements/checkmark-circle-icon.entry.js +1 -1
  429. package/dist/nylas-web-elements/chevron-icon.entry.js +1 -1
  430. package/dist/nylas-web-elements/clock-icon.entry.js +1 -1
  431. package/dist/nylas-web-elements/close-icon.entry.js +1 -1
  432. package/dist/nylas-web-elements/document-refresh-icon.entry.js +1 -1
  433. package/dist/nylas-web-elements/flow-icon.entry.js +1 -1
  434. package/dist/nylas-web-elements/folder-icon.entry.js +1 -1
  435. package/dist/nylas-web-elements/forward-icon.entry.js +1 -1
  436. package/dist/nylas-web-elements/globe-icon.entry.js +1 -1
  437. package/dist/nylas-web-elements/google-logo-icon.entry.js +1 -1
  438. package/dist/nylas-web-elements/inbox-icon.entry.js +1 -1
  439. package/dist/nylas-web-elements/info-icon.entry.js +1 -1
  440. package/dist/nylas-web-elements/input-component.entry.js +1 -1
  441. package/dist/nylas-web-elements/input-dropdown.entry.js +1 -1
  442. package/dist/nylas-web-elements/italic-icon.entry.js +1 -1
  443. package/dist/nylas-web-elements/loading-icon.entry.js +1 -1
  444. package/dist/nylas-web-elements/location-icon.entry.js +1 -1
  445. package/dist/nylas-web-elements/location-off-icon.entry.js +1 -1
  446. package/dist/nylas-web-elements/microsoft-logo-icon.entry.js +1 -1
  447. package/dist/nylas-web-elements/multi-select-dropdown.entry.js +2 -2
  448. package/dist/nylas-web-elements/nylas-additional-participants.entry.js +2 -2
  449. package/dist/nylas-web-elements/nylas-availability-picker.entry.js +1 -1
  450. package/dist/nylas-web-elements/nylas-booking-form.entry.js +2 -2
  451. package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js +1 -1
  452. package/dist/nylas-web-elements/nylas-cancellation-policy.entry.js +1 -1
  453. package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js +1 -1
  454. package/dist/nylas-web-elements/nylas-composer.entry.js +1 -1
  455. package/dist/nylas-web-elements/nylas-custom-booking-flow.entry.js +1 -1
  456. package/dist/nylas-web-elements/nylas-customize-booking-settings.entry.js +1 -1
  457. package/dist/nylas-web-elements/nylas-date-picker.entry.js +1 -1
  458. package/dist/nylas-web-elements/nylas-date-picker.entry.js.map +1 -1
  459. package/dist/nylas-web-elements/nylas-editor-tabs.entry.js +23 -6
  460. package/dist/nylas-web-elements/nylas-editor-tabs.entry.js.map +1 -1
  461. package/dist/nylas-web-elements/nylas-event-description.entry.js +1 -1
  462. package/dist/nylas-web-elements/nylas-event-duration.entry.js +1 -1
  463. package/dist/nylas-web-elements/nylas-event-info.entry.js +1 -1
  464. package/dist/nylas-web-elements/nylas-event-limits.entry.js +1 -1
  465. package/dist/nylas-web-elements/nylas-event-location.entry.js +3 -3
  466. package/dist/nylas-web-elements/nylas-event-title.entry.js +2 -2
  467. package/dist/nylas-web-elements/nylas-form-card.entry.js +1 -1
  468. package/dist/nylas-web-elements/nylas-if-state.entry.js +1 -1
  469. package/dist/nylas-web-elements/nylas-limit-future-bookings.entry.js +1 -1
  470. package/dist/nylas-web-elements/nylas-list-folders.entry.js +1 -1
  471. package/dist/nylas-web-elements/nylas-list-threads.entry.js +1 -1
  472. package/dist/nylas-web-elements/nylas-locale-switch.entry.js +3 -3
  473. package/dist/nylas-web-elements/nylas-login.entry.js +1 -1
  474. package/dist/nylas-web-elements/nylas-logo.entry.js +1 -1
  475. package/dist/nylas-web-elements/nylas-mailbox-toolbar-button.entry.js +1 -1
  476. package/dist/nylas-web-elements/nylas-mailbox.entry.js +1 -1
  477. package/dist/nylas-web-elements/nylas-min-booking-notice.entry.js +1 -1
  478. package/dist/nylas-web-elements/nylas-min-cancellation-notice.entry.js +1 -1
  479. package/dist/nylas-web-elements/nylas-notification.entry.js +1 -1
  480. package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js +1 -1
  481. package/dist/nylas-web-elements/nylas-provider.entry.js +1 -1
  482. package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +1 -1
  483. package/dist/nylas-web-elements/nylas-selected-event-card.entry.js +1 -1
  484. package/dist/nylas-web-elements/nylas-summarize-message-button.entry.js +2 -2
  485. package/dist/nylas-web-elements/nylas-threads-refresh.entry.js +2 -2
  486. package/dist/nylas-web-elements/nylas-threads-search.entry.js +1 -1
  487. package/dist/nylas-web-elements/nylas-time-window-picker.entry.js +1 -1
  488. package/dist/nylas-web-elements/nylas-timeslot-interval.entry.js +2 -2
  489. package/dist/nylas-web-elements/nylas-view-email.entry.js +1 -1
  490. package/dist/nylas-web-elements/nylas-view-thread.entry.js +1 -1
  491. package/dist/nylas-web-elements/{p-5fd52ecd.entry.js → p-061d0ae2.entry.js} +2 -2
  492. package/dist/nylas-web-elements/p-08d75d35.entry.js +2 -0
  493. package/dist/nylas-web-elements/p-0d98c728.entry.js +2 -0
  494. package/dist/nylas-web-elements/p-0d98c728.entry.js.map +1 -0
  495. package/dist/nylas-web-elements/{p-8eddadb3.entry.js → p-12b83ea9.entry.js} +2 -2
  496. package/dist/nylas-web-elements/{p-d9a145a5.entry.js → p-16a3bfb2.entry.js} +2 -2
  497. package/dist/nylas-web-elements/{p-dcb497d4.entry.js → p-246983ed.entry.js} +2 -2
  498. package/dist/nylas-web-elements/{p-b443f769.entry.js → p-25c97a60.entry.js} +2 -2
  499. package/dist/nylas-web-elements/{p-cc67e6a8.entry.js → p-28512ab6.entry.js} +2 -2
  500. package/dist/nylas-web-elements/{p-fbfa3a7d.entry.js → p-2f148064.entry.js} +2 -2
  501. package/dist/nylas-web-elements/{p-4e48846a.entry.js → p-3175cae0.entry.js} +2 -2
  502. package/dist/nylas-web-elements/{p-a7640232.entry.js → p-34f0d1fe.entry.js} +2 -2
  503. package/dist/nylas-web-elements/{p-62cf46ee.entry.js → p-37f41a90.entry.js} +2 -2
  504. package/dist/nylas-web-elements/{p-2f656fb3.entry.js → p-39160c0d.entry.js} +2 -2
  505. package/dist/nylas-web-elements/{p-13eb1a05.entry.js → p-3f435fab.entry.js} +2 -2
  506. package/dist/nylas-web-elements/{p-ad93d3bd.entry.js → p-5231fc13.entry.js} +3 -3
  507. package/dist/nylas-web-elements/{p-1569f74f.entry.js → p-5c3c1888.entry.js} +2 -2
  508. package/dist/nylas-web-elements/{p-43bfaa93.entry.js → p-60b03f86.entry.js} +2 -2
  509. package/dist/nylas-web-elements/{p-a804616a.entry.js → p-65097f45.entry.js} +2 -2
  510. package/dist/nylas-web-elements/{p-012cb022.entry.js → p-6ce66add.entry.js} +2 -2
  511. package/dist/nylas-web-elements/{p-e9c1e983.entry.js → p-6ef1024f.entry.js} +2 -2
  512. package/dist/nylas-web-elements/p-7a95bc3f.entry.js +2 -0
  513. package/dist/nylas-web-elements/{p-b3d46e08.entry.js → p-7ce048c0.entry.js} +2 -2
  514. package/dist/nylas-web-elements/{p-30144ca0.entry.js → p-8e63b66c.entry.js} +2 -2
  515. package/dist/nylas-web-elements/{p-e9f7d494.entry.js → p-958746a1.entry.js} +2 -2
  516. package/dist/nylas-web-elements/{p-336631dd.entry.js → p-a800e7af.entry.js} +2 -2
  517. package/dist/nylas-web-elements/{p-df2b34ee.entry.js → p-a85408e0.entry.js} +2 -2
  518. package/dist/nylas-web-elements/{p-c1df61d0.entry.js → p-aeb1c91c.entry.js} +2 -2
  519. package/dist/nylas-web-elements/{p-23c143f6.entry.js → p-b0c8021f.entry.js} +2 -2
  520. package/dist/nylas-web-elements/{p-a118f20c.entry.js → p-b2aca6c4.entry.js} +2 -2
  521. package/dist/nylas-web-elements/{p-017f2538.entry.js → p-b334d63b.entry.js} +2 -2
  522. package/dist/nylas-web-elements/p-b4d09fcf.entry.js +2 -0
  523. package/dist/nylas-web-elements/p-b4d09fcf.entry.js.map +1 -0
  524. package/dist/nylas-web-elements/{p-8c1a5e57.entry.js → p-b9559f06.entry.js} +2 -2
  525. package/dist/nylas-web-elements/{p-8c1a5e57.entry.js.map → p-b9559f06.entry.js.map} +1 -1
  526. package/dist/nylas-web-elements/{p-d1d984c5.entry.js → p-c1ff6499.entry.js} +2 -2
  527. package/dist/nylas-web-elements/{p-672f1951.entry.js → p-cb03e4d4.entry.js} +2 -2
  528. package/dist/nylas-web-elements/p-de7b0878.entry.js +2 -0
  529. package/dist/nylas-web-elements/{p-f1e9ed6b.entry.js → p-e8cde784.entry.js} +2 -2
  530. package/dist/nylas-web-elements/p-f2d1b1a6.entry.js +2 -0
  531. package/dist/nylas-web-elements/{p-a5dbdc8e.entry.js.map → p-f2d1b1a6.entry.js.map} +1 -1
  532. package/dist/nylas-web-elements/{p-2743621d.entry.js → p-f6fafe86.entry.js} +2 -2
  533. package/dist/nylas-web-elements/{p-fd8e29e6.entry.js → p-f8653b9b.entry.js} +2 -2
  534. package/dist/nylas-web-elements/people-icon.entry.js +1 -1
  535. package/dist/nylas-web-elements/person-icon.entry.js +1 -1
  536. package/dist/nylas-web-elements/play-icon.entry.js +1 -1
  537. package/dist/nylas-web-elements/radio-button-group.entry.js +1 -1
  538. package/dist/nylas-web-elements/refresh-icon.entry.js +1 -1
  539. package/dist/nylas-web-elements/reply-all-icon.entry.js +1 -1
  540. package/dist/nylas-web-elements/reply-icon.entry.js +1 -1
  541. package/dist/nylas-web-elements/search-icon.entry.js +1 -1
  542. package/dist/nylas-web-elements/select-dropdown.entry.js +3 -3
  543. package/dist/nylas-web-elements/select-dropdown.entry.js.map +1 -1
  544. package/dist/nylas-web-elements/sent-icon.entry.js +1 -1
  545. package/dist/nylas-web-elements/spam-icon.entry.js +1 -1
  546. package/dist/nylas-web-elements/star-icon.entry.js +1 -1
  547. package/dist/nylas-web-elements/stop-icon.entry.js +1 -1
  548. package/dist/nylas-web-elements/textarea-component.entry.js +1 -1
  549. package/dist/nylas-web-elements/time-period-selector.entry.js +1 -1
  550. package/dist/nylas-web-elements/toggle-switch.entry.js +1 -1
  551. package/dist/nylas-web-elements/tooltip-component.entry.js +1 -1
  552. package/dist/nylas-web-elements/translate-icon.entry.js +1 -1
  553. package/dist/nylas-web-elements/trash-icon.entry.js +1 -1
  554. package/dist/nylas-web-elements/underline-icon.entry.js +1 -1
  555. package/dist/nylas-web-elements/warning-icon.entry.js +1 -1
  556. package/package.json +1 -1
  557. package/dist/nylas-web-elements/p-086746ee.entry.js +0 -2
  558. package/dist/nylas-web-elements/p-0919bbbe.entry.js +0 -2
  559. package/dist/nylas-web-elements/p-84c53084.entry.js +0 -2
  560. package/dist/nylas-web-elements/p-938d4ec9.entry.js +0 -2
  561. package/dist/nylas-web-elements/p-938d4ec9.entry.js.map +0 -1
  562. package/dist/nylas-web-elements/p-a5dbdc8e.entry.js +0 -2
  563. package/dist/nylas-web-elements/p-f8e0164c.entry.js +0 -2
  564. package/dist/nylas-web-elements/p-f8e0164c.entry.js.map +0 -1
  565. /package/dist/nylas-web-elements/{p-5fd52ecd.entry.js.map → p-061d0ae2.entry.js.map} +0 -0
  566. /package/dist/nylas-web-elements/{p-0919bbbe.entry.js.map → p-08d75d35.entry.js.map} +0 -0
  567. /package/dist/nylas-web-elements/{p-8eddadb3.entry.js.map → p-12b83ea9.entry.js.map} +0 -0
  568. /package/dist/nylas-web-elements/{p-d9a145a5.entry.js.map → p-16a3bfb2.entry.js.map} +0 -0
  569. /package/dist/nylas-web-elements/{p-dcb497d4.entry.js.map → p-246983ed.entry.js.map} +0 -0
  570. /package/dist/nylas-web-elements/{p-b443f769.entry.js.map → p-25c97a60.entry.js.map} +0 -0
  571. /package/dist/nylas-web-elements/{p-cc67e6a8.entry.js.map → p-28512ab6.entry.js.map} +0 -0
  572. /package/dist/nylas-web-elements/{p-fbfa3a7d.entry.js.map → p-2f148064.entry.js.map} +0 -0
  573. /package/dist/nylas-web-elements/{p-4e48846a.entry.js.map → p-3175cae0.entry.js.map} +0 -0
  574. /package/dist/nylas-web-elements/{p-a7640232.entry.js.map → p-34f0d1fe.entry.js.map} +0 -0
  575. /package/dist/nylas-web-elements/{p-62cf46ee.entry.js.map → p-37f41a90.entry.js.map} +0 -0
  576. /package/dist/nylas-web-elements/{p-2f656fb3.entry.js.map → p-39160c0d.entry.js.map} +0 -0
  577. /package/dist/nylas-web-elements/{p-13eb1a05.entry.js.map → p-3f435fab.entry.js.map} +0 -0
  578. /package/dist/nylas-web-elements/{p-ad93d3bd.entry.js.map → p-5231fc13.entry.js.map} +0 -0
  579. /package/dist/nylas-web-elements/{p-1569f74f.entry.js.map → p-5c3c1888.entry.js.map} +0 -0
  580. /package/dist/nylas-web-elements/{p-43bfaa93.entry.js.map → p-60b03f86.entry.js.map} +0 -0
  581. /package/dist/nylas-web-elements/{p-a804616a.entry.js.map → p-65097f45.entry.js.map} +0 -0
  582. /package/dist/nylas-web-elements/{p-012cb022.entry.js.map → p-6ce66add.entry.js.map} +0 -0
  583. /package/dist/nylas-web-elements/{p-e9c1e983.entry.js.map → p-6ef1024f.entry.js.map} +0 -0
  584. /package/dist/nylas-web-elements/{p-84c53084.entry.js.map → p-7a95bc3f.entry.js.map} +0 -0
  585. /package/dist/nylas-web-elements/{p-b3d46e08.entry.js.map → p-7ce048c0.entry.js.map} +0 -0
  586. /package/dist/nylas-web-elements/{p-30144ca0.entry.js.map → p-8e63b66c.entry.js.map} +0 -0
  587. /package/dist/nylas-web-elements/{p-e9f7d494.entry.js.map → p-958746a1.entry.js.map} +0 -0
  588. /package/dist/nylas-web-elements/{p-336631dd.entry.js.map → p-a800e7af.entry.js.map} +0 -0
  589. /package/dist/nylas-web-elements/{p-df2b34ee.entry.js.map → p-a85408e0.entry.js.map} +0 -0
  590. /package/dist/nylas-web-elements/{p-c1df61d0.entry.js.map → p-aeb1c91c.entry.js.map} +0 -0
  591. /package/dist/nylas-web-elements/{p-23c143f6.entry.js.map → p-b0c8021f.entry.js.map} +0 -0
  592. /package/dist/nylas-web-elements/{p-a118f20c.entry.js.map → p-b2aca6c4.entry.js.map} +0 -0
  593. /package/dist/nylas-web-elements/{p-017f2538.entry.js.map → p-b334d63b.entry.js.map} +0 -0
  594. /package/dist/nylas-web-elements/{p-d1d984c5.entry.js.map → p-c1ff6499.entry.js.map} +0 -0
  595. /package/dist/nylas-web-elements/{p-672f1951.entry.js.map → p-cb03e4d4.entry.js.map} +0 -0
  596. /package/dist/nylas-web-elements/{p-086746ee.entry.js.map → p-de7b0878.entry.js.map} +0 -0
  597. /package/dist/nylas-web-elements/{p-f1e9ed6b.entry.js.map → p-e8cde784.entry.js.map} +0 -0
  598. /package/dist/nylas-web-elements/{p-2743621d.entry.js.map → p-f6fafe86.entry.js.map} +0 -0
  599. /package/dist/nylas-web-elements/{p-fd8e29e6.entry.js.map → p-f8653b9b.entry.js.map} +0 -0
@@ -13,7 +13,7 @@ const NylasLogo = class {
13
13
  this.height = '24';
14
14
  }
15
15
  render() {
16
- return (index.h("svg", { key: 'dcfc1d62178b1d3d699e49e4ee23f8d3db1c58f0', width: this.width, height: this.height, viewBox: "0 0 69 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '0dba7753e8c6eaf6e21ed13db42b1f8b54be53d4', "clip-path": "url(#clip0_455_3543)" }, index.h("path", { key: '35e067694b0f607b7ca5b9342e8253a5ca11f840', d: "M15.8092 3.03248C14.6497 1.86996 13.1076 1.23047 11.4646 1.23047C9.82156 1.23047 8.27753 1.86996 7.11999 3.03248L0.835347 9.33381C0.686846 9.4827 0.60498 9.68123 0.60498 9.89312C0.60498 10.105 0.686846 10.3035 0.835347 10.4524C0.983848 10.6013 1.18185 10.6834 1.39318 10.6834C1.60451 10.6834 1.80251 10.6013 1.95101 10.4524L8.23374 4.15111C10.0139 2.36627 12.9134 2.36627 14.6935 4.15111C16.4736 5.93785 16.4756 8.84322 14.6935 10.6281L8.4108 16.9275C8.10428 17.2348 8.10428 17.7368 8.4108 18.0461C8.5593 18.195 8.75731 18.2771 8.96863 18.2771C9.17996 18.2771 9.37796 18.195 9.52646 18.0461L15.8092 11.7467C16.9687 10.5841 17.6064 9.03793 17.6064 7.39053C17.6064 5.74314 16.9687 4.19501 15.8092 3.03439V3.03248Z", fill: "currentColor" }), index.h("path", { key: 'cea19b0f33edb2330b306a92865800e28f28b15e', d: "M14.9296 7.39038C14.9296 6.46074 14.5698 5.58837 13.9148 4.93361C12.5631 3.57828 10.3641 3.57828 9.01239 4.93361L0.663961 13.3023C0.51546 13.4512 0.433594 13.6497 0.433594 13.8616C0.433594 14.0735 0.51546 14.272 0.663961 14.4209C0.812462 14.5698 1.01046 14.6519 1.22179 14.6519C1.43312 14.6519 1.63112 14.5698 1.77962 14.4209L10.0367 6.1515L10.05 6.13623C10.0747 6.10759 10.1014 6.07705 10.128 6.05033C10.1585 6.01978 10.1928 5.99115 10.2251 5.96252L10.2442 5.94534C10.9886 5.31349 12.1119 5.3593 12.8011 6.05033C13.4903 6.74135 13.536 7.78171 12.9705 8.53192L12.9648 8.53955C12.9058 8.61591 12.8544 8.67699 12.8011 8.73044C12.7497 8.78198 12.6906 8.83352 12.6069 8.90033L4.45264 17.0991C4.30414 17.248 4.22227 17.4465 4.22227 17.6584C4.22227 17.8703 4.30414 18.0689 4.45264 18.2177C4.60114 18.3666 4.79914 18.4487 5.01047 18.4487C5.2218 18.4487 5.4198 18.3666 5.5683 18.2177L13.9167 9.84716C14.5698 9.1924 14.9315 8.31812 14.9315 7.39038H14.9296Z", fill: "currentColor" }), index.h("path", { key: '671c4d7360da3fccfa0f9a1db64d97122abf0a87', d: "M10.6821 9.11238C10.4727 9.01694 10.2861 8.88904 10.1281 8.7306C9.97008 8.57216 9.84252 8.38508 9.74733 8.1751L9.69021 8.05103L0.467916 17.2978C0.287049 17.4792 0.174721 17.7082 0.149971 17.9411C0.125221 18.1778 0.19376 18.3897 0.344165 18.5405C0.471724 18.6684 0.65259 18.739 0.850592 18.739C1.11142 18.739 1.37796 18.6207 1.58358 18.4145L10.8059 9.16774L10.6821 9.11047V9.11238Z", fill: "currentColor" }), index.h("path", { key: '7212a39f00bc169c28f29d5f88e5582ab003fe0d', d: "M68.401 10.6185C68.2126 10.2692 67.9593 9.97334 67.6433 9.73854C67.3235 9.49993 66.956 9.31094 66.5486 9.17541C66.1316 9.03606 65.7033 8.91771 65.2749 8.81844C64.7951 8.70582 64.3039 8.57983 63.8165 8.44811C63.3196 8.31258 62.9065 8.14269 62.5905 7.94225C62.4743 7.88689 62.3391 7.76663 62.3391 7.50129C62.3391 7.39821 62.3639 7.29704 62.4153 7.19587L62.4248 7.18059C62.5352 7.02216 62.7142 6.8828 62.975 6.75109C63.234 6.62128 63.609 6.55829 64.1231 6.55829C64.5286 6.55829 64.877 6.61365 65.1569 6.72436C65.4348 6.83508 65.6652 6.96871 65.8442 7.12524C66.0212 7.27986 66.1659 7.45357 66.2782 7.63873C66.3563 7.76854 66.4267 7.89262 66.4858 8.00525L68.2754 6.84081C68.1669 6.59456 68.0146 6.33495 67.8204 6.0677C67.6033 5.768 67.3254 5.4893 66.9922 5.23732C66.659 4.98534 66.2516 4.77345 65.7813 4.60929C65.3111 4.44512 64.7532 4.36304 64.1231 4.36304C63.3844 4.36304 62.7599 4.46421 62.2706 4.66083C61.7813 4.85935 61.3815 5.09988 61.0845 5.37667C60.7875 5.65346 60.5628 5.95125 60.4143 6.2605C60.2639 6.57547 60.1611 6.85799 60.1078 7.10233C60.0945 7.18059 60.0812 7.27031 60.0678 7.36767C60.0545 7.4593 60.0469 7.5452 60.0469 7.62537C60.0469 8.13314 60.1745 8.56074 60.4239 8.89671C60.679 9.24222 61.0045 9.53429 61.391 9.76336C61.7813 9.99624 62.2116 10.1852 62.6704 10.3227C63.1388 10.462 63.5862 10.5823 64.0012 10.6796C64.4067 10.777 64.7932 10.8782 65.1531 10.9774C65.5224 11.0786 65.8289 11.2122 66.0631 11.3745C66.2801 11.5425 66.3887 11.7448 66.3887 11.9777C66.3887 12.2278 66.2916 12.4263 66.0993 12.5695C65.9279 12.6954 65.7261 12.7985 65.4958 12.8711C65.273 12.9436 65.0407 12.9913 64.8066 13.0142C64.58 13.0352 64.3915 13.0467 64.2468 13.0467C63.8032 13.0467 63.4224 13.0028 63.1197 12.915C62.8151 12.8272 62.5638 12.7241 62.3734 12.6057C62.1811 12.4874 62.0288 12.3614 61.9222 12.2316C61.8213 12.1094 61.747 12.0082 61.7014 11.9319L61.4957 11.6303L59.708 12.7928C59.8508 13.0161 60.0298 13.2643 60.2392 13.5296C60.4772 13.8293 60.7837 14.1138 61.153 14.3734C61.5224 14.633 61.966 14.8525 62.4724 15.0243C62.9788 15.1961 63.5748 15.282 64.2468 15.282C64.797 15.282 65.2901 15.2324 65.7166 15.137C66.1412 15.0396 66.5162 14.9117 66.8285 14.7552C67.1388 14.6005 67.4015 14.4192 67.6109 14.2149C67.8223 14.0107 67.9974 13.8026 68.1326 13.6003C68.4563 13.1135 68.6409 12.5504 68.6828 11.9262C68.6828 11.4069 68.5876 10.9641 68.401 10.6166V10.6185Z", fill: "currentColor" }), index.h("path", { key: '3a7901b100e2365da4c67c7f012b7212c505bd49', d: "M26.3585 4.27905C23.7901 4.27905 21.6997 6.37504 21.6997 8.95017V15.0701H23.9291V8.95017C23.9291 7.6082 25.0181 6.5163 26.3565 6.5163C27.695 6.5163 28.784 7.6082 28.784 8.95017V15.0701H31.0134V8.95017C31.0134 6.37504 28.9229 4.27905 26.3546 4.27905H26.3585Z", fill: "currentColor" }), index.h("path", { key: 'e7d169a405085e5e02428fe8c2859e22dfec6554', d: "M53.4522 4.27905C50.4251 4.27905 47.9634 6.74728 47.9634 9.78245C47.9634 12.8176 50.427 15.2859 53.4522 15.2859C54.5545 15.2859 55.6188 14.9594 56.5288 14.3409L56.7116 14.2169V15.0682H58.941V9.78245C58.941 6.74728 56.4793 4.27905 53.4522 4.27905ZM53.4522 13.0505C51.655 13.0505 50.1928 11.5845 50.1928 9.78245C50.1928 7.98044 51.655 6.51439 53.4522 6.51439C55.2494 6.51439 56.7116 7.98044 56.7116 9.78245C56.7116 11.5845 55.2494 13.0505 53.4522 13.0505Z", fill: "currentColor" }), index.h("path", { key: '01d182723a8bf07a7c7e4e45cb7014dae5303486', d: "M45.5795 10.6166V0.356201H43.3501V10.6166C43.3501 13.1517 45.3758 15.2228 47.8908 15.2858V13.0486C46.6057 12.9875 45.5795 11.9204 45.5795 10.6166Z", fill: "currentColor" }), index.h("path", { key: 'ca5c8ba4be2fbe7c80e212ac085809a9daba6674', d: "M39.5428 4.4967V10.63C39.5428 11.6761 38.8669 12.621 37.9016 12.9284C37.1249 13.1746 36.3157 13.0486 35.6817 12.5829C35.0592 12.1247 34.6879 11.3917 34.6879 10.6186V4.4967H32.4585V10.5995C32.4585 12.7165 33.8388 14.57 35.8131 15.1084C37.0354 15.4424 38.2995 15.2973 39.3695 14.7037L39.5428 14.6063V14.9747C39.5428 16.2766 38.5166 17.3437 37.2315 17.4067V19.6439C39.7465 19.5809 41.7722 17.5117 41.7722 14.9747V4.4967H39.5428Z", fill: "currentColor" })), index.h("defs", { key: 'a0d9574defb476b7e2fdb8d3b28fa08ef38f042e' }, index.h("clipPath", { key: 'dff8cf481c3ba6324a58fc4348a3c76c9a4c8609', id: "clip0_455_3543" }, index.h("rect", { key: 'f72786c654715d47462741503b6a07d635389835', width: "68.7123", height: "19.2877", fill: "white", transform: "translate(0.144043 0.356201)" })))));
16
+ return (index.h("svg", { key: '6e6bbcafcedbb912945dd29a383b809dd1295683', width: this.width, height: this.height, viewBox: "0 0 69 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '361bd69757205d793a7619841a425fabbf075475', "clip-path": "url(#clip0_455_3543)" }, index.h("path", { key: '9f56ecacf7401c2f04a56dc4b0d201b008dc9c52', d: "M15.8092 3.03248C14.6497 1.86996 13.1076 1.23047 11.4646 1.23047C9.82156 1.23047 8.27753 1.86996 7.11999 3.03248L0.835347 9.33381C0.686846 9.4827 0.60498 9.68123 0.60498 9.89312C0.60498 10.105 0.686846 10.3035 0.835347 10.4524C0.983848 10.6013 1.18185 10.6834 1.39318 10.6834C1.60451 10.6834 1.80251 10.6013 1.95101 10.4524L8.23374 4.15111C10.0139 2.36627 12.9134 2.36627 14.6935 4.15111C16.4736 5.93785 16.4756 8.84322 14.6935 10.6281L8.4108 16.9275C8.10428 17.2348 8.10428 17.7368 8.4108 18.0461C8.5593 18.195 8.75731 18.2771 8.96863 18.2771C9.17996 18.2771 9.37796 18.195 9.52646 18.0461L15.8092 11.7467C16.9687 10.5841 17.6064 9.03793 17.6064 7.39053C17.6064 5.74314 16.9687 4.19501 15.8092 3.03439V3.03248Z", fill: "currentColor" }), index.h("path", { key: 'f3b85c6d9c447bf55c3299de0084894d6f4b405a', d: "M14.9296 7.39038C14.9296 6.46074 14.5698 5.58837 13.9148 4.93361C12.5631 3.57828 10.3641 3.57828 9.01239 4.93361L0.663961 13.3023C0.51546 13.4512 0.433594 13.6497 0.433594 13.8616C0.433594 14.0735 0.51546 14.272 0.663961 14.4209C0.812462 14.5698 1.01046 14.6519 1.22179 14.6519C1.43312 14.6519 1.63112 14.5698 1.77962 14.4209L10.0367 6.1515L10.05 6.13623C10.0747 6.10759 10.1014 6.07705 10.128 6.05033C10.1585 6.01978 10.1928 5.99115 10.2251 5.96252L10.2442 5.94534C10.9886 5.31349 12.1119 5.3593 12.8011 6.05033C13.4903 6.74135 13.536 7.78171 12.9705 8.53192L12.9648 8.53955C12.9058 8.61591 12.8544 8.67699 12.8011 8.73044C12.7497 8.78198 12.6906 8.83352 12.6069 8.90033L4.45264 17.0991C4.30414 17.248 4.22227 17.4465 4.22227 17.6584C4.22227 17.8703 4.30414 18.0689 4.45264 18.2177C4.60114 18.3666 4.79914 18.4487 5.01047 18.4487C5.2218 18.4487 5.4198 18.3666 5.5683 18.2177L13.9167 9.84716C14.5698 9.1924 14.9315 8.31812 14.9315 7.39038H14.9296Z", fill: "currentColor" }), index.h("path", { key: '2d1f7045c261de3721c5b8b27403c8258310ae4c', d: "M10.6821 9.11238C10.4727 9.01694 10.2861 8.88904 10.1281 8.7306C9.97008 8.57216 9.84252 8.38508 9.74733 8.1751L9.69021 8.05103L0.467916 17.2978C0.287049 17.4792 0.174721 17.7082 0.149971 17.9411C0.125221 18.1778 0.19376 18.3897 0.344165 18.5405C0.471724 18.6684 0.65259 18.739 0.850592 18.739C1.11142 18.739 1.37796 18.6207 1.58358 18.4145L10.8059 9.16774L10.6821 9.11047V9.11238Z", fill: "currentColor" }), index.h("path", { key: 'a6a34de523ff685dd51372f44b4c47d038419ed4', d: "M68.401 10.6185C68.2126 10.2692 67.9593 9.97334 67.6433 9.73854C67.3235 9.49993 66.956 9.31094 66.5486 9.17541C66.1316 9.03606 65.7033 8.91771 65.2749 8.81844C64.7951 8.70582 64.3039 8.57983 63.8165 8.44811C63.3196 8.31258 62.9065 8.14269 62.5905 7.94225C62.4743 7.88689 62.3391 7.76663 62.3391 7.50129C62.3391 7.39821 62.3639 7.29704 62.4153 7.19587L62.4248 7.18059C62.5352 7.02216 62.7142 6.8828 62.975 6.75109C63.234 6.62128 63.609 6.55829 64.1231 6.55829C64.5286 6.55829 64.877 6.61365 65.1569 6.72436C65.4348 6.83508 65.6652 6.96871 65.8442 7.12524C66.0212 7.27986 66.1659 7.45357 66.2782 7.63873C66.3563 7.76854 66.4267 7.89262 66.4858 8.00525L68.2754 6.84081C68.1669 6.59456 68.0146 6.33495 67.8204 6.0677C67.6033 5.768 67.3254 5.4893 66.9922 5.23732C66.659 4.98534 66.2516 4.77345 65.7813 4.60929C65.3111 4.44512 64.7532 4.36304 64.1231 4.36304C63.3844 4.36304 62.7599 4.46421 62.2706 4.66083C61.7813 4.85935 61.3815 5.09988 61.0845 5.37667C60.7875 5.65346 60.5628 5.95125 60.4143 6.2605C60.2639 6.57547 60.1611 6.85799 60.1078 7.10233C60.0945 7.18059 60.0812 7.27031 60.0678 7.36767C60.0545 7.4593 60.0469 7.5452 60.0469 7.62537C60.0469 8.13314 60.1745 8.56074 60.4239 8.89671C60.679 9.24222 61.0045 9.53429 61.391 9.76336C61.7813 9.99624 62.2116 10.1852 62.6704 10.3227C63.1388 10.462 63.5862 10.5823 64.0012 10.6796C64.4067 10.777 64.7932 10.8782 65.1531 10.9774C65.5224 11.0786 65.8289 11.2122 66.0631 11.3745C66.2801 11.5425 66.3887 11.7448 66.3887 11.9777C66.3887 12.2278 66.2916 12.4263 66.0993 12.5695C65.9279 12.6954 65.7261 12.7985 65.4958 12.8711C65.273 12.9436 65.0407 12.9913 64.8066 13.0142C64.58 13.0352 64.3915 13.0467 64.2468 13.0467C63.8032 13.0467 63.4224 13.0028 63.1197 12.915C62.8151 12.8272 62.5638 12.7241 62.3734 12.6057C62.1811 12.4874 62.0288 12.3614 61.9222 12.2316C61.8213 12.1094 61.747 12.0082 61.7014 11.9319L61.4957 11.6303L59.708 12.7928C59.8508 13.0161 60.0298 13.2643 60.2392 13.5296C60.4772 13.8293 60.7837 14.1138 61.153 14.3734C61.5224 14.633 61.966 14.8525 62.4724 15.0243C62.9788 15.1961 63.5748 15.282 64.2468 15.282C64.797 15.282 65.2901 15.2324 65.7166 15.137C66.1412 15.0396 66.5162 14.9117 66.8285 14.7552C67.1388 14.6005 67.4015 14.4192 67.6109 14.2149C67.8223 14.0107 67.9974 13.8026 68.1326 13.6003C68.4563 13.1135 68.6409 12.5504 68.6828 11.9262C68.6828 11.4069 68.5876 10.9641 68.401 10.6166V10.6185Z", fill: "currentColor" }), index.h("path", { key: '127937c688ac0410b9b3a53ee76fd962a4f4b407', d: "M26.3585 4.27905C23.7901 4.27905 21.6997 6.37504 21.6997 8.95017V15.0701H23.9291V8.95017C23.9291 7.6082 25.0181 6.5163 26.3565 6.5163C27.695 6.5163 28.784 7.6082 28.784 8.95017V15.0701H31.0134V8.95017C31.0134 6.37504 28.9229 4.27905 26.3546 4.27905H26.3585Z", fill: "currentColor" }), index.h("path", { key: '7336b38c7bcb388276b886e6792ad173327142d5', d: "M53.4522 4.27905C50.4251 4.27905 47.9634 6.74728 47.9634 9.78245C47.9634 12.8176 50.427 15.2859 53.4522 15.2859C54.5545 15.2859 55.6188 14.9594 56.5288 14.3409L56.7116 14.2169V15.0682H58.941V9.78245C58.941 6.74728 56.4793 4.27905 53.4522 4.27905ZM53.4522 13.0505C51.655 13.0505 50.1928 11.5845 50.1928 9.78245C50.1928 7.98044 51.655 6.51439 53.4522 6.51439C55.2494 6.51439 56.7116 7.98044 56.7116 9.78245C56.7116 11.5845 55.2494 13.0505 53.4522 13.0505Z", fill: "currentColor" }), index.h("path", { key: '904bbd6f937f00c2ae6e2269235f2adc2afbc6e4', d: "M45.5795 10.6166V0.356201H43.3501V10.6166C43.3501 13.1517 45.3758 15.2228 47.8908 15.2858V13.0486C46.6057 12.9875 45.5795 11.9204 45.5795 10.6166Z", fill: "currentColor" }), index.h("path", { key: '9425f2b121d23319942fa5d4daa9ce53173cbcf9', d: "M39.5428 4.4967V10.63C39.5428 11.6761 38.8669 12.621 37.9016 12.9284C37.1249 13.1746 36.3157 13.0486 35.6817 12.5829C35.0592 12.1247 34.6879 11.3917 34.6879 10.6186V4.4967H32.4585V10.5995C32.4585 12.7165 33.8388 14.57 35.8131 15.1084C37.0354 15.4424 38.2995 15.2973 39.3695 14.7037L39.5428 14.6063V14.9747C39.5428 16.2766 38.5166 17.3437 37.2315 17.4067V19.6439C39.7465 19.5809 41.7722 17.5117 41.7722 14.9747V4.4967H39.5428Z", fill: "currentColor" })), index.h("defs", { key: '7c41827bdfde9ce70fbcb353d98991e37e2a99fe' }, index.h("clipPath", { key: '5e29b38dc325426fdb3284275f74c1c46485eb1c', id: "clip0_455_3543" }, index.h("rect", { key: 'c63515b41fb503c621fb26917befbcf503e26262', width: "68.7123", height: "19.2877", fill: "white", transform: "translate(0.144043 0.356201)" })))));
17
17
  }
18
18
  };
19
19
  NylasLogo.style = iconCss;
@@ -80,7 +80,7 @@ const NylasMailboxToolbarButton = class {
80
80
  state = this.dataState ? store.get(storeKey) === 'loading' : false;
81
81
  }
82
82
  const key = state ? `state-loading` : 'state-ready';
83
- return (index.h(index.Host, { key: '7bdbe8488503110273c66be8925b9c54f233010e' }, index.h("sp-theme", { key: '9339a7c050ae944b2816e13cbc0e7d8057646fa4', scale: "medium", color: "dark" }, index.h("sp-button", { onClick: this.onClick, disabled: state, key: key, "icon-only": this.iconOnly, label: this.renderByState(state) }, this.hasSlot('icon') && (index.h("div", { slot: "icon", class: 'slot' }, index.h("slot", { name: "icon" }))), !this.iconOnly && this.renderByState(state)))));
83
+ return (index.h(index.Host, { key: '71a79133adce76f2fa4727c790ad69ad24891eb5' }, index.h("sp-theme", { key: '7880178def0f50d9622967459ed83e62f06e936d', scale: "medium", color: "dark" }, index.h("sp-button", { onClick: this.onClick, disabled: state, key: key, "icon-only": this.iconOnly, label: this.renderByState(state) }, this.hasSlot('icon') && (index.h("div", { slot: "icon", class: 'slot' }, index.h("slot", { name: "icon" }))), !this.iconOnly && this.renderByState(state)))));
84
84
  }
85
85
  get host() { return index.getElement(this); }
86
86
  };
@@ -186,7 +186,7 @@ const NylasMailbox = class {
186
186
  return this.nylasMailboxConnector;
187
187
  }
188
188
  render() {
189
- return (index.h(index.Host, { key: '6bb1038fff2fd94cfb9a8097cbef1b22c2dd89a7' }, index.h("slot", { key: '156a3f9369cee85f1cca5b44897c4c48850f3bf2' })));
189
+ return (index.h(index.Host, { key: '425f7f57f8a5996e86ba7c97187b7e78ceaedba7' }, index.h("slot", { key: 'bb7ebdf7b8033ccd731cc13782f426cf8ed9cb31' })));
190
190
  }
191
191
  get host() { return index.getElement(this); }
192
192
  };
@@ -133,7 +133,7 @@ const NylasMinBookingNotice = class {
133
133
  this.selectedPeriod = period;
134
134
  }
135
135
  render() {
136
- return (index.h(index.Host, { key: '75bc177620fae5662328ba8f53f9f4a4e84733e5' }, index.h("div", { key: 'a76b27e58174ca827e389b361ce4837e6ae11ced', class: "nylas-min-booking-notice", part: "nmbn" }, index.h("label", { key: '1db3f2c7c54b05744b64ad40c951595122d317c5' }, "Minimum booking notice", index.h("span", { key: 'a4c7db6f534b570cbbf5af4c3d60d97843599a4b', class: "label-icon" }, index.h("tooltip-component", { key: 'f7d6ba6b294f85c9d573933b6916cd50ad830d2a' }, index.h("info-icon", { key: '16b11bfaa5affbe15748f6ae6129c1e5a6fcfe32', slot: "tooltip-icon" }), index.h("span", { key: '1fe829a53fa3dcef0a6d5954717889d9e92d0c68', slot: "tooltip-content" }, "The minimum amount of time in the future for planning the event.")))), index.h("time-period-selector", { key: 'e4a545fc471e67447cab675ccd11fa786337fc23', id: "min-booking-notice", exportparts: "tps__number-dropdown: nmbn__number-dropdown, tps__number-dropdown-button: nmbn__number-dropdown-button, tps__number-dropdown-content: nmbn__number-dropdown-content, tps__period-dropdown: nmbn__period-dropdown, tps__period-dropdown-button: nmbn__period-dropdown-button, tps__period-dropdown-content: nmbn__period-dropdown-content", timePeriods: ['minute', 'hour', 'day', 'week'], defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod }))));
136
+ return (index.h(index.Host, { key: 'b00e1ce3adc1082c819774df6888d86fd93b06b6' }, index.h("div", { key: '0cd17759b7e1d3790904fe868addfa02065a3115', class: "nylas-min-booking-notice", part: "nmbn" }, index.h("label", { key: 'c27bc50a60686fb925904c5f86c9f19a7ab8079c' }, "Minimum booking notice", index.h("span", { key: '67b1a1351adbe6265d549501609af036d993920b', class: "label-icon" }, index.h("tooltip-component", { key: '4e64d044707c9fe94aa84caa242a0e034c0a89f7' }, index.h("info-icon", { key: 'bf64b04e4d308449249dae8a19a6c4043f26c1dd', slot: "tooltip-icon" }), index.h("span", { key: '434e31ddf539c4fcb287b198d780b6593808a607', slot: "tooltip-content" }, "The minimum amount of time in the future for planning the event.")))), index.h("time-period-selector", { key: 'efd40f4731319bd7da2aed6995279c8068e505ac', id: "min-booking-notice", exportparts: "tps__number-dropdown: nmbn__number-dropdown, tps__number-dropdown-button: nmbn__number-dropdown-button, tps__number-dropdown-content: nmbn__number-dropdown-content, tps__period-dropdown: nmbn__period-dropdown, tps__period-dropdown-button: nmbn__period-dropdown-button, tps__period-dropdown-content: nmbn__period-dropdown-content", timePeriods: ['minute', 'hour', 'day', 'week'], defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod }))));
137
137
  }
138
138
  static get formAssociated() { return true; }
139
139
  get host() { return index.getElement(this); }
@@ -133,7 +133,7 @@ const NylasMinCancellationNotice = class {
133
133
  this.selectedPeriod = period;
134
134
  }
135
135
  render() {
136
- return (index.h(index.Host, { key: '8cccdce4a9960ecf6b860b638da26c50a68104c4' }, index.h("div", { key: '82854ad81861233231fe4a1e8006196155328141', class: "nylas-min-cancellation-notice", part: "nmcn" }, index.h("label", { key: 'db3eddec3a8fb28c0b035d4d4cd61986832dff0b' }, "Minimum cancellation notice", index.h("span", { key: '137472a58beef549599289b04be8fde01e7d81da', class: "label-icon" }, index.h("tooltip-component", { key: '2cfcceb4c7144553ac85d32da46fbd894955a9ee' }, index.h("info-icon", { key: '9e13ddb61e10e10a5fa426fb6a2b56159597ea88', slot: "tooltip-icon" }), index.h("span", { key: '9670035ec49fe0db37564d2d44d30f2197a7ec85', slot: "tooltip-content" }, "Set the minimum amount of time required to cancel an event.")))), index.h("time-period-selector", { key: '0e7b9f7b99d7e10c2c39c5affdfc014a403146ad', id: "min-cancellation-notice", exportparts: "tps__number-dropdown: nmcn__number-dropdown, tps__number-dropdown-button: nmcn__number-dropdown-button, tps__number-dropdown-content: nmcn__number-dropdown-content, tps__period-dropdown: nmcn__period-dropdown, tps__period-dropdown-button: nmcn__period-dropdown-button, tps__period-dropdown-content: nmcn__period-dropdown-content", timePeriods: ['minute', 'hour', 'day', 'week'], defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod }))));
136
+ return (index.h(index.Host, { key: '6c14649f767cebe544dd5fc3039e4bace051f759' }, index.h("div", { key: 'e6b0965bb6bc49b6e7ede7a4c2b2c2056a212c96', class: "nylas-min-cancellation-notice", part: "nmcn" }, index.h("label", { key: '1998d897f882c0783e2012ca85b651c43517ba64' }, "Minimum cancellation notice", index.h("span", { key: 'eccae26b18bd269648d1bce2affae5d3e469ea02', class: "label-icon" }, index.h("tooltip-component", { key: '50caa33903115b0da9da25ed3a18cbbf8a4df353' }, index.h("info-icon", { key: '8b466b236668439cbca8e250d60524b69ce4f7f3', slot: "tooltip-icon" }), index.h("span", { key: 'c4c9d73798c85d317aa1f89a2b0f1c66c9ca41d2', slot: "tooltip-content" }, "Set the minimum amount of time required to cancel an event.")))), index.h("time-period-selector", { key: 'bb4c0a9ecfb9bc9ebf88b229c871abd4b8427385', id: "min-cancellation-notice", exportparts: "tps__number-dropdown: nmcn__number-dropdown, tps__number-dropdown-button: nmcn__number-dropdown-button, tps__number-dropdown-content: nmcn__number-dropdown-content, tps__period-dropdown: nmcn__period-dropdown, tps__period-dropdown-button: nmcn__period-dropdown-button, tps__period-dropdown-content: nmcn__period-dropdown-content", timePeriods: ['minute', 'hour', 'day', 'week'], defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod }))));
137
137
  }
138
138
  static get formAssociated() { return true; }
139
139
  get host() { return index.getElement(this); }
@@ -57,7 +57,7 @@ const NylasNotification = class {
57
57
  this.notifications = this.notifications.filter(notif => notif.id !== id);
58
58
  }
59
59
  render() {
60
- return (index.h(index.Host, { key: '9011372a63b5b706177dedf93b14df8158e14e04' }, index.h(index.Fragment, { key: 'd06168682c50f2b5330f8c923ecaec19dfc44add' }, this.notifications.map(notif => (index.h("div", { class: `notif ${notif.type}`, key: notif.id }, index.h("div", { class: "content" }, index.h("span", { class: `icon ${notif.type}` }, (notif.type === 'error' || notif.type === 'warning') && index.h("warning-icon", null)), index.h("span", { class: "message" }, index.h("span", { class: "title" }, notif.title), notif.description && index.h("span", { class: "description" }, notif.description))), index.h("button", { class: "dismiss-btn", onClick: () => this.dismissNotification(notif.id) }, index.h("close-icon", null))))), index.h("slot", { key: '6cfe1ecaea1c313ca1549d01b3b8c1627af0d8f2' }))));
60
+ return (index.h(index.Host, { key: 'b86593ead0279b9e2213c2554d1153379470880e' }, index.h(index.Fragment, { key: '860f23f3c6a0636b408d56806b11129c0a697418' }, this.notifications.map(notif => (index.h("div", { class: `notif ${notif.type}`, key: notif.id }, index.h("div", { class: "content" }, index.h("span", { class: `icon ${notif.type}` }, (notif.type === 'error' || notif.type === 'warning') && index.h("warning-icon", null)), index.h("span", { class: "message" }, index.h("span", { class: "title" }, notif.title), notif.description && index.h("span", { class: "description" }, notif.description))), index.h("button", { class: "dismiss-btn", onClick: () => this.dismissNotification(notif.id) }, index.h("close-icon", null))))), index.h("slot", { key: '6125314e051684b396d99a3c8bb9ba99392f2729' }))));
61
61
  }
62
62
  };
63
63
  NylasNotification.style = nylasNotificationCss;
@@ -106,7 +106,7 @@ const NylasParticipantsCustomAvailability = class {
106
106
  return selectedParticipants;
107
107
  }
108
108
  render() {
109
- return (index.h(index.Host, { key: '5590f983de527efa3e79d854e9cb2b49e433d64b' }, index.h("div", { key: '7a016a7a277b077a4edd63d433a185a7d2f7aaab', class: "nylas-participants-custom-availability", part: "npca" }, index.h("div", { key: '7fb61474d9b80c59844dd2ca67cd00e95ee2a2be', class: "header", part: "npca__header" }, index.h("h3", { key: 'dc66f0262309a5c08c887bbbf5c408233ebd1c00' }, "Set Custom Availability for Participants"), index.h("p", { key: '60686b9f1c4aab680caf07de6c22561c5ec1a9e5' }, "Set custom availability for scheduling meetings, or default to general availability.")), index.h("div", { key: '8782a3b4e48ce7eb74eb6e41e239b16d9840fb80', class: "content", part: "npca__content" }, index.h("form", { key: 'c2f23d7eebc4a113fbfa2cbcd7623c99b5a87f89', ref: el => (this.participantFormRef = el) }, Object.keys(this.selectedParticipants).map((key, index$1) => {
109
+ return (index.h(index.Host, { key: '051df44e8bf6bab14cfbccb0a3c5f920993cbae9' }, index.h("div", { key: '128d044cb2bbee76d695d6f5d4bc38a211d06360', class: "nylas-participants-custom-availability", part: "npca" }, index.h("div", { key: 'ed326c442f9663b0613e5cf62a31aabf5fa1034d', class: "header", part: "npca__header" }, index.h("h3", { key: '10994aace54d17110ab2e70fc82a5c11231b5a23' }, "Set Custom Availability for Participants"), index.h("p", { key: '6df3bc37aec02f5a4468f6c6515c6de2c696e817' }, "Set custom availability for scheduling meetings, or default to general availability.")), index.h("div", { key: 'e1e67385b15430e8a7eb6d8411f9b87742621969', class: "content", part: "npca__content" }, index.h("form", { key: '589df249c050b132dc8da5b3ef7e58fa829ae300', ref: el => (this.participantFormRef = el) }, Object.keys(this.selectedParticipants).map((key, index$1) => {
110
110
  const participant = this.selectedParticipants[key];
111
111
  if (!participant || !participant.name || !participant.availability)
112
112
  return;
@@ -187,7 +187,7 @@ const NylasProvider = class {
187
187
  return this.baseProvider?.getStore('schedulerConfig');
188
188
  }
189
189
  render() {
190
- return (index.h(index.Host, { key: '7fee35047bafd5dc2f77e83012fe5149f17f7f9f' }, index.h("slot", { key: '96dcdef76b63b551e2deb56bfd0d1497ff897114' })));
190
+ return (index.h(index.Host, { key: '1eb5d566a5f7c425be7b30939b06a2dfbd34c7cc' }, index.h("slot", { key: 'f3a6afab3af5893af6602f971dfe67a795f9bd4f' })));
191
191
  }
192
192
  get host() { return index.getElement(this); }
193
193
  };
@@ -5524,7 +5524,7 @@ const NylasSchedulerEditor = class {
5524
5524
  await this.nylasSchedulerConfigConnector.schedulerConfig?.getCalendars();
5525
5525
  }
5526
5526
  render() {
5527
- return (index$1.h(index$1.Host, { key: 'd5f019173d3ec4f80d802de6989182b0e8e4c2d0' }, index$1.h("div", { key: '7b1d14281fe950b0cd693349bb8cdd2cb428722f', class: "scheduler-editor-header", part: "nse__header" }, index$1.h("h1", { key: 'b24cf796d8db6a169757c552b9749568794b87fd', class: "scheduler-editor-title", part: "nse__title" }, index$1.h("calendar-icon", { key: 'd6721ba544b1c3c5f6e003034d491355de6b0cc7', width: "18", height: "18" }), "Scheduler editor"), index$1.h("button", { key: 'bb9ce5bfa2e6df362b55c7f8cd1a2f1e06056ce7', class: "scheduler-editor-close", title: "logout", onClick: e => this.handleSchedulerConfigCloseClicked(e), part: "nse__close-button" }, index$1.h("close-icon", { key: '22dced4538079f05c5d036c9eef4882d79739cf9', width: "18", height: "18" }))), this.stores?.schedulerConfig?.state.currentUser && this.stores.schedulerConfig.state.action === null && (index$1.h("div", { class: "list-configurations" }, index$1.h("nylas-list-configurations", null))), this.stores?.schedulerConfig?.state.currentUser && this.stores.schedulerConfig.state.action === 'create' && (index$1.h("nylas-editor-tabs", { mode: "composable" }, index$1.h(ExpressFlow, null))), this.stores?.schedulerConfig?.state.currentUser && this.stores.schedulerConfig.state.action === 'edit' && (index$1.h("nylas-editor-tabs", { mode: this.mode }, this.mode === 'composable' && index$1.h("slot", null))), !this.stores?.schedulerConfig?.state.currentUser && (index$1.h("slot", { name: "login-required" }, index$1.h(LoginRequired, { authenticationUrl: this.authenticationUrl })))));
5527
+ return (index$1.h(index$1.Host, { key: '9cff01340fae6ec631ddeaa1656eeedc47af9179' }, index$1.h("div", { key: '1c79bfbdf35dd6a1ebb7624d4b9f660e6e5acf14', class: "scheduler-editor-header", part: "nse__header" }, index$1.h("h1", { key: 'cc5b67f761d7f00ad88ec0d22a983d9e72634df2', class: "scheduler-editor-title", part: "nse__title" }, index$1.h("calendar-icon", { key: '730375a8d474dc546a33e6fd264b51576562292c', width: "18", height: "18" }), "Scheduler editor"), index$1.h("button", { key: '41b1c5604d6f4c4e6c057f69241e4aab92682396', class: "scheduler-editor-close", title: "logout", onClick: e => this.handleSchedulerConfigCloseClicked(e), part: "nse__close-button" }, index$1.h("close-icon", { key: '09f961c3ab6601edf9bfbc89b97bd7fdbff90a6b', width: "18", height: "18" }))), this.stores?.schedulerConfig?.state.currentUser && this.stores.schedulerConfig.state.action === null && (index$1.h("div", { class: "list-configurations" }, index$1.h("nylas-list-configurations", null))), this.stores?.schedulerConfig?.state.currentUser && this.stores.schedulerConfig.state.action === 'create' && (index$1.h("nylas-editor-tabs", { mode: "composable" }, index$1.h(ExpressFlow, null))), this.stores?.schedulerConfig?.state.currentUser && this.stores.schedulerConfig.state.action === 'edit' && (index$1.h("nylas-editor-tabs", { mode: this.mode }, this.mode === 'composable' && index$1.h("slot", null))), !this.stores?.schedulerConfig?.state.currentUser && (index$1.h("slot", { name: "login-required" }, index$1.h(LoginRequired, { authenticationUrl: this.authenticationUrl })))));
5528
5528
  }
5529
5529
  get host() { return index$1.getElement(this); }
5530
5530
  static get watchers() { return {
@@ -53,7 +53,7 @@ const NylasSelectedEventCard = class {
53
53
  this.endTime = new Date(selectedTimeslot?.end_time).toLocaleString(undefined, { timeStyle: 'short' });
54
54
  }
55
55
  render() {
56
- return (index.h(index.Host, { key: '27aa2e0c4ea3a4ac04c24c3e7049360ab1da450c', part: "nsec" }, index.h("sp-theme", { key: '06a93ef1f378da9bf9c8eeb8cbb3b7ab912cbe39', theme: "spectrum", color: "dark", scale: "medium" }, index.h("div", { key: 'cbeab1951966e48db4e7c0e652946099377abfaa', class: "event-card", part: "nsec__card" }, index.h("div", { key: '014aed3ae5739ec763f3fe0ff7b94f859a35090c', class: "calendar-icon", part: "nsec__icon" }, index.h("calendar-icon", { key: 'b19e2752e3b87c07f14c23651416de2a1fa78ca5' })), index.h("div", { key: 'd4adee688565fcec2e217cc2b3ae8bb2d2572630', class: "nylas-selected-event-card__date", part: "nsec__date" }, this.selectedDate?.toLocaleDateString(undefined, { dateStyle: 'full' })), index.h("div", { key: 'c9f15e73f1cf65d6df1739fe348abd9fe50c34d9', class: "nylas-selected-event-card__time", part: "nsec__time" }, this.startTime, " - ", this.endTime)), index.h("div", { key: '531c381692eefac442a0646d4584f9cf2a51808e', class: "event-timezone", part: "nsec__timezone" }, index.h("globe-icon", { key: 'd6d7225298063ab5d5005f2c0a8d2a57de0d1a27' }), constants.TIMEZONE_MAP[this.selectedTimezone]))));
56
+ return (index.h(index.Host, { key: 'ae635bed01604ece8f012b82c00fa7d4b6bc4c3d', part: "nsec" }, index.h("sp-theme", { key: 'edcbe79ce2a87e920bd88714b3a5a747d4a80747', theme: "spectrum", color: "dark", scale: "medium" }, index.h("div", { key: '8c736e8a7ea756b2ef8ba316e0f2c0f38f3821fd', class: "event-card", part: "nsec__card" }, index.h("div", { key: '06c33c0fc54e893cbeb8c685503f73a74109ab33', class: "calendar-icon", part: "nsec__icon" }, index.h("calendar-icon", { key: '69617d50f58122aea2dd92e7ea26d5b2a984c2bf' })), index.h("div", { key: 'e4e53019bba6e23f2c5f0a5b8cde5336973d795d', class: "nylas-selected-event-card__date", part: "nsec__date" }, this.selectedDate?.toLocaleDateString(undefined, { dateStyle: 'full' })), index.h("div", { key: 'c838e6987d4c932471d27dca86c295f549f06a5d', class: "nylas-selected-event-card__time", part: "nsec__time" }, this.startTime, " - ", this.endTime)), index.h("div", { key: '3e0f9d170e593f39516d49e31fe0da1db49fe828', class: "event-timezone", part: "nsec__timezone" }, index.h("globe-icon", { key: '12f52fc23ec7d60d046078aceeb6fffba7283078' }), constants.TIMEZONE_MAP[this.selectedTimezone]))));
57
57
  }
58
58
  static get watchers() { return {
59
59
  "selectedTimeslot": ["handleSelectedTimeslotChange"]
@@ -157,12 +157,12 @@ const NylasSummarizeMessageButton = class {
157
157
  });
158
158
  }
159
159
  render() {
160
- return (index.h(index.Host, { key: 'ab54db8a781cad602a1bd07093c407a8073934be' }, index.h("sp-theme", { key: 'bf0cbbed7ca686cfc5cc94d0209d61237359776a', scale: "medium", color: "dark" }, index.h("sp-button", { key: '51f6a0e1db8ae2fd8be3175886a522ca519170bf', label: "Summarize email", "icon-only": true, onClickCapture: this.onClick, class: {
160
+ return (index.h(index.Host, { key: '977e97a8d9e6f0d5c3f56a8cedcdb18c65a18007' }, index.h("sp-theme", { key: '3e3e9a385317466347c5e4bac4cac584dc603063', scale: "medium", color: "dark" }, index.h("sp-button", { key: '4e47a9b38e47991c64236d567df1341df0a7a2b3', label: "Summarize email", "icon-only": true, onClickCapture: this.onClick, class: {
161
161
  'summarize-button': true,
162
162
  'stopped': this.state === 'stopped',
163
163
  'loading': this.state === 'loading',
164
164
  'playing': this.state === 'playing',
165
- } }, this.state === 'stopped' && index.h("play-icon", null), this.state === 'loading' && index.h("loading-icon", null), this.state === 'playing' && index.h("stop-icon", null)), index.h("audio", { key: 'c8e6e048f53002956ea54465b1e7ebc4cbec1282', ref: r => (this.audioRef = r), autoPlay: true, onPlaying: () => (this.state = 'playing'), onPause: () => (this.state = 'stopped'), onEnded: () => {
165
+ } }, this.state === 'stopped' && index.h("play-icon", null), this.state === 'loading' && index.h("loading-icon", null), this.state === 'playing' && index.h("stop-icon", null)), index.h("audio", { key: '0a0a952634d68aeab930d9a0c9feb07a1dea2828', ref: r => (this.audioRef = r), autoPlay: true, onPlaying: () => (this.state = 'playing'), onPause: () => (this.state = 'stopped'), onEnded: () => {
166
166
  this.state = 'stopped';
167
167
  utils.debug(`[nylas-summarize-message-button] Audio ended`);
168
168
  } }))));
@@ -87,11 +87,11 @@ const NylasThreadsRefresh = class {
87
87
  this.state = state;
88
88
  }
89
89
  render() {
90
- return (index.h(index.Host, { key: '78623dead3d55974c4f23b65b404fe4e23f899ef' }, index.h("div", { key: '5f569606f9e27b49a5e621bf5576713749053275', class: "container", ref: r => (this.containerElement = r) }, index.h("button", { key: '3a11bbafb81272c310ce0cad0a806293f04d231b', class: {
90
+ return (index.h(index.Host, { key: 'fd0b82f21c069806d697d1997925fd01c2574594' }, index.h("div", { key: '653737af280d1a4a75433b47edc5455b1eaf61cd', class: "container", ref: r => (this.containerElement = r) }, index.h("button", { key: '835dbcdf5cfd24069258564b9e23cd3a7c03b8c6', class: {
91
91
  'pull-to-refresh': true,
92
92
  'pulling': this.pulling,
93
93
  'refreshing': this.state === 'loading',
94
- }, "aria-label": "Refreshing..." }, this.state === 'loading' && index.h("refresh-icon", { slot: "icon" }), this.state !== 'loading' && index.h("arrow-icon", { slot: "icon" })), index.h("div", { key: 'e348316e54c25bce6df68d89d51a637657a91131', class: "content", ref: r => (this.contentElement = r) }, index.h("slot", { key: '502f560a3e42519b3b05f5009d71562ec8e257a4' })))));
94
+ }, "aria-label": "Refreshing..." }, this.state === 'loading' && index.h("refresh-icon", { slot: "icon" }), this.state !== 'loading' && index.h("arrow-icon", { slot: "icon" })), index.h("div", { key: 'b3e3db22c04e261b39c2ed53dd4bd4d33932ffe7', class: "content", ref: r => (this.contentElement = r) }, index.h("slot", { key: '01f37b6814fae9494dcd4c76c736034c6cc4f392' })))));
95
95
  }
96
96
  };
97
97
  __decorate([
@@ -54,7 +54,7 @@ const NylasThreadsSearch = class {
54
54
  this.internalQuery = this.query;
55
55
  }
56
56
  render() {
57
- return (index.h(index.Host, { key: '1687f5f2753a274f3ded1633a69873ff54ffb56c' }, index.h("sp-theme", { key: '63c6d6be18695a7e78eaf5a15745f5e6772c7f4d', scale: "medium", color: "dark" }, index.h("sp-search", { key: '2a107fb7f19d21db7a62ebed0775a8f7c31d4f9c', quiet: true, onSubmit: this.onSearch, onBlur: this.onSearch, value: this.internalQuery }))));
57
+ return (index.h(index.Host, { key: 'b8f5ab7d60d06cb54da56d0362f8590d71646dca' }, index.h("sp-theme", { key: '3d90db95bcbfee7eed4187caa97c76fb7727f58b', scale: "medium", color: "dark" }, index.h("sp-search", { key: 'd47bd5ee54845a0889f742b8ab76bb56b74fb147', quiet: true, onSubmit: this.onSearch, onBlur: this.onSearch, value: this.internalQuery }))));
58
58
  }
59
59
  static get watchers() { return {
60
60
  "query": ["onQueryChange"]
@@ -272,7 +272,7 @@ const TimeInput = class {
272
272
  }
273
273
  }
274
274
  render() {
275
- return (index.h(index.Host, { key: '51ee1081a47b86693eb0fcd034a53333728f0a8a' }, index.h("div", { key: '29616cbfd3978f2fb38d2583214e2cb67e86ecd2', class: "time-picker", part: "time-picker" }, index.h("input", { key: '0eedc68542c5dd6c2d051f89b806016e31ae21d4', type: "text", name: this.name, id: this.name, part: "time-input", class: {
275
+ return (index.h(index.Host, { key: 'e6e899509659691432e600fb64b1f4964d737e8f' }, index.h("div", { key: '6f177a2b2963e2462b842c26553f0059518dd713', class: "time-picker", part: "time-picker" }, index.h("input", { key: '4d290b135afdb54edcadb2279b5c18f9b1ed6ee1', type: "text", name: this.name, id: this.name, part: "time-input", class: {
276
276
  'time-input': true,
277
277
  'error': !!this.err || this.hasError,
278
278
  }, ref: el => (this.timeInput = el), value: this.time, onClick: () => {
@@ -133,9 +133,9 @@ const NylasTimeslotInterval = class {
133
133
  { value: '45', label: '45 mins' },
134
134
  { value: '60', label: '60 mins' },
135
135
  ];
136
- return (index.h(index.Host, { key: '792ad5a36b3d3908e134f926e2a5596db28fadbf' }, index.h("div", { key: '95b99dbf25b3e472aaea700639b3c056ccfcb3ca', class: "nylas-timeslot-interval", part: "nti" }, index.h("div", { key: '4c19be343c3e0d9f38fa8160800bdf85548588b3', class: "header", part: "nti__header" }, index.h("h3", { key: '9dd8785f3f995add953de09fe9b42324df9f2357' }, "Time-slot interval preferences"), index.h("p", { key: '9611b580a85c17d1c4afc60e2210fe4756d91b77' }, "Choose your interval preference for time-slots.")), index.h("div", { key: '01d71df37fa1724f2284dbc8d0e84700693cb2ef', class: "nylas-timeslot-interval__dropdown" }, index.h("span", { key: '53d613b58c05e00b8a8c9c7de5043ba2a5e4e2de', class: "label", part: "nti__input-label" }, "Select interval preference", index.h("tooltip-component", { key: 'c171e87a108631c04d8956d1015dfd273c42f46e' }, index.h("info-icon", { key: 'ebb77a5d85abce76b2e52c30491aa5bf5c23cf98', slot: "tooltip-icon" }), index.h("span", { key: 'e01edbb2f124619b8d47640193e76fcad06fc568', slot: "tooltip-content" }, "Set the interval preference for the time-slots."))), index.h("select-dropdown", { key: '1b5714aa414c08687457793921815eb0f4403b83', name: "booking-calendar", options: intervalPreferenceOptions, withSearch: false, exportparts: "sd_dropdown: nti__dropdown, sd_dropdown-button: nti__dropdown-button, sd_dropdown-content: nti__dropdown-content", defaultSelectedOption: this.defaultIntervalMinutes == this.eventDurationMinutes
136
+ return (index.h(index.Host, { key: 'ebad4dc8f82dc565f4608c262d54f06495a69144' }, index.h("div", { key: '46641f5cd23afc527d14c57fa62fe2627d1a92f5', class: "nylas-timeslot-interval", part: "nti" }, index.h("div", { key: '729c8356b955ba357bd00f3cdf28c51bb42b741d', class: "header", part: "nti__header" }, index.h("h3", { key: '348543e170e107ea65c74a6154739627e7c4a271' }, "Time-slot interval preferences"), index.h("p", { key: '1cf34b79990edef1950d6c970932e5e0805e6d0a' }, "Choose your interval preference for time-slots.")), index.h("div", { key: '965fe8f8e235f9696bc237bc7774ca6fdea2cd42', class: "nylas-timeslot-interval__dropdown" }, index.h("span", { key: '6346e2f31c9322cc3264885f362ce2b29c4a4c2e', class: "label", part: "nti__input-label" }, "Select interval preference", index.h("tooltip-component", { key: '27901960cae97d4809153aac5d427c8c2ff7bf1e' }, index.h("info-icon", { key: '94c81d2c169da3714d2a1955da0fbe542b688fb6', slot: "tooltip-icon" }), index.h("span", { key: '6e8660e7696c16d81214d97e5e2087579f9fa1bd', slot: "tooltip-content" }, "Set the interval preference for the time-slots."))), index.h("select-dropdown", { key: '49b886894bb4d405ed13578809609511830389f1', name: "booking-calendar", options: intervalPreferenceOptions, withSearch: false, exportparts: "sd_dropdown: nti__dropdown, sd_dropdown-button: nti__dropdown-button, sd_dropdown-content: nti__dropdown-content", defaultSelectedOption: this.defaultIntervalMinutes == this.eventDurationMinutes
137
137
  ? intervalPreferenceOptions[0]
138
- : intervalPreferenceOptions.find(op => op.value == this.defaultIntervalMinutes.toString()) ?? intervalPreferenceOptions[0] }), index.h("span", { key: 'feb0e75bae639119f00ed98e17c7df1ed842530a', class: "label", part: "nti__input-label" }, "Select the type of time-slot rounding", index.h("tooltip-component", { key: '7513c90d894fbdbb5cbc1a283650cfefca16481e' }, index.h("info-icon", { key: '16713630e2403a1e61c5eb49bfeeaac17b45ca62', slot: "tooltip-icon" }), index.h("span", { key: 'ca1bc61ac175c7b12648d8b2017e661bd78296dd', slot: "tooltip-content" }, "Select if you want to round the time slots to the nearest interval."))), index.h("radio-button-group", { key: 'f0413408b347a98ce855eaf439253192f1071973', name: "interval-preference", defaultSelectedValue: this.defaultRoundTo && this.defaultRoundTo === this.defaultIntervalMinutes ? 'rounding' : 'no-rounding', options: [
138
+ : intervalPreferenceOptions.find(op => op.value == this.defaultIntervalMinutes.toString()) ?? intervalPreferenceOptions[0] }), index.h("span", { key: '40079758106c1e7075b247f81a3bc30e11eb1138', class: "label", part: "nti__input-label" }, "Select the type of time-slot rounding", index.h("tooltip-component", { key: 'c1a1b86a732439b5474be36a1eb67d0a1fabe52c' }, index.h("info-icon", { key: '9e185781f8def48475c5f65cff916e5be6423b72', slot: "tooltip-icon" }), index.h("span", { key: 'df108083daab268e8980194ebff8485c945aab1c', slot: "tooltip-content" }, "Select if you want to round the time slots to the nearest interval."))), index.h("radio-button-group", { key: 'eb4c58b028ac0e2dd0468c30c1839558ae57178a', name: "interval-preference", defaultSelectedValue: this.defaultRoundTo && this.defaultRoundTo === this.defaultIntervalMinutes ? 'rounding' : 'no-rounding', options: [
139
139
  { value: 'no-rounding', label: 'Default', description: 'Time-slots will be rounded to the nearest quarter-hour.' },
140
140
  {
141
141
  value: 'rounding',
@@ -1836,7 +1836,7 @@ const NylasViewEmail = class {
1836
1836
  }
1837
1837
  render() {
1838
1838
  console.debug(`[nylas-view-email] render`, { hoistedFontURLs: this.hoistedFontURLs });
1839
- return (index.h(index.Host, { key: '1a82db1175c9bffed825dc2941b277ab699ff457' }, this.state === 'loading' && index.h("div", null, "Loading..."), this.state === 'ready' && (index.h(index.Fragment, null, this.styles.map(style => (index.h("style", null, DOMPurify.sanitize(style.innerHTML)))), index.h("div", { class: 'view-email', part: "view-email", innerHTML: this.sanitizedBody, ref: el => (this.viewEmailElement = el) })))));
1839
+ return (index.h(index.Host, { key: '4f0a1e688ae465d65943adc7dabac9cad6c62fe8' }, this.state === 'loading' && index.h("div", null, "Loading..."), this.state === 'ready' && (index.h(index.Fragment, null, this.styles.map(style => (index.h("style", null, DOMPurify.sanitize(style.innerHTML)))), index.h("div", { class: 'view-email', part: "view-email", innerHTML: this.sanitizedBody, ref: el => (this.viewEmailElement = el) })))));
1840
1840
  }
1841
1841
  get host() { return index.getElement(this); }
1842
1842
  static get watchers() { return {
@@ -191,7 +191,7 @@ const NylasViewThread = class {
191
191
  const lastTwoMessages = this.internalMessages.slice(this.internalMessages.length - 2, this.internalMessages.length);
192
192
  const remainingMessages = this.internalMessages.slice(1, this.internalMessages.length - 2);
193
193
  const lastMessage = this.internalMessages[this.internalMessages.length - 1];
194
- return (index.h(index.Host, { key: 'a886c18c380e985cfb63a6a4ab523a93b2160ced' }, index.h("sp-theme", { key: 'dba4495bbb475f8825f5ade124f84f8bbe2c7c45', scale: "medium", color: "dark" }, index.h("div", { key: '05c602d7c43e31402c433cdaaaccb26c8d88fc7e', class: "view-thread" }, index.h("div", { key: '0b2900754126998aa4495a916b03ad2ea4157f34', class: "header" }, index.h("div", { key: '38db0766a5bc2dfc37b5269cf1e63ad25531ee8d', class: 'subject' }, this.thread?.subject), index.h("div", { key: 'bb73a5220497288f51b7c9d31e54cb685cfe54d5', class: 'folders' }, this.thread?.folders?.map(folder => index.h("sp-tag", { size: "s" }, utils.toTitleCase(folder.replace('CATEGORY_', '').replace('_', ' ')))))), index.h("div", { key: '7d774b36fbfc216c05ed8cabbab79ad6b80e0e87', class: "messages" }, fistMessage && (index.h(ViewThreadMessage, { message: fistMessage, attachments: this.attachments.filter(attachment => attachment.messageId === fistMessage.id), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement })), remainingMessages.length > 0 && this.messages.length > 1 && !this.showAllEmails && lastTwoMessages.length > 0 && (index.h(index.Fragment, null, index.h("div", { class: 'show-more' }, index.h("button", { type: "button", onClick: this.onShowAllEmailsClick }, index.h("span", { class: 'avatar' }, remainingMessages.length), " ", index.h("span", { class: 'sr-only' }, "Show ", remainingMessages.length, " more emails"))), index.h("hr", null))), remainingMessages.length > 0 &&
194
+ return (index.h(index.Host, { key: 'b9bcde80e7ee15061bfc217d99bb9422dfbe1d04' }, index.h("sp-theme", { key: '965e53796323e3e13983447abb4ac1b3a8651daa', scale: "medium", color: "dark" }, index.h("div", { key: '9efc644121efd09a2e837c23f9f8da80589f870b', class: "view-thread" }, index.h("div", { key: 'c1479929b6679a1b47f03dfe6d5cc1128484b703', class: "header" }, index.h("div", { key: '00c6788a461f9f6ca4532fb2acb2bf08e0f0c118', class: 'subject' }, this.thread?.subject), index.h("div", { key: '2e114754a9dd830e4a124cd9079ad4cf725908bd', class: 'folders' }, this.thread?.folders?.map(folder => index.h("sp-tag", { size: "s" }, utils.toTitleCase(folder.replace('CATEGORY_', '').replace('_', ' ')))))), index.h("div", { key: '136d6a314c647991218dfe4090fa97c8d98b210d', class: "messages" }, fistMessage && (index.h(ViewThreadMessage, { message: fistMessage, attachments: this.attachments.filter(attachment => attachment.messageId === fistMessage.id), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement })), remainingMessages.length > 0 && this.messages.length > 1 && !this.showAllEmails && lastTwoMessages.length > 0 && (index.h(index.Fragment, null, index.h("div", { class: 'show-more' }, index.h("button", { type: "button", onClick: this.onShowAllEmailsClick }, index.h("span", { class: 'avatar' }, remainingMessages.length), " ", index.h("span", { class: 'sr-only' }, "Show ", remainingMessages.length, " more emails"))), index.h("hr", null))), remainingMessages.length > 0 &&
195
195
  this.showAllEmails &&
196
196
  this.messages.length > 2 &&
197
197
  remainingMessages.map(email => (index.h(ViewThreadMessage, { message: email, attachments: this.attachments.filter(attachment => attachment.messageId === fistMessage?.id), onMessageClick: this.onMessageClick, onShowContactDataClick: this.onShowContactDataClick, parent: this.host, viewEmailElement: this.nylasViewEmailElement, composerElement: this.nylasComposerElement }))), lastTwoMessages.length > 0 &&
@@ -13,7 +13,7 @@ const PeopleIcon = class {
13
13
  this.height = '20';
14
14
  }
15
15
  render() {
16
- return (index.h("svg", { key: '66534381bbb0bc14b93a49ed0afdc81a917958d4', xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, index.h("path", { key: '2c7959434ba7dcf303b3c87d99b04b2818875c68', fill: "currentColor", d: "M11 10a2 2 0 0 1 2 2v1.5c0 2.054-2.088 3.5-5.5 3.5S2 15.554 2 13.5V12a2 2 0 0 1 2-2h7Zm0 1H4a1 1 0 0 0-1 1v1.5C3 14.907 4.579 16 7.5 16c2.921 0 4.5-1.093 4.5-2.5V12a1 1 0 0 0-1-1Zm5-1a2 2 0 0 1 2 2v.5c0 2.089-1.568 3.5-4.5 3.5-.141 0-.28-.003-.414-.01.208-.242.382-.502.522-.781l.097-.213h.039C15.976 14.931 17 13.96 17 12.5V12a1 1 0 0 0-1-1h-2.171a3 3 0 0 0-.594-1H16ZM7.5 2a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Zm7 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm-7-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Zm7 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z" })));
16
+ return (index.h("svg", { key: '4a54f616162baf613895348e27cafd2088f5fd16', xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, index.h("path", { key: '80e1ca7240235b635a08369ba836e727825b7be4', fill: "currentColor", d: "M11 10a2 2 0 0 1 2 2v1.5c0 2.054-2.088 3.5-5.5 3.5S2 15.554 2 13.5V12a2 2 0 0 1 2-2h7Zm0 1H4a1 1 0 0 0-1 1v1.5C3 14.907 4.579 16 7.5 16c2.921 0 4.5-1.093 4.5-2.5V12a1 1 0 0 0-1-1Zm5-1a2 2 0 0 1 2 2v.5c0 2.089-1.568 3.5-4.5 3.5-.141 0-.28-.003-.414-.01.208-.242.382-.502.522-.781l.097-.213h.039C15.976 14.931 17 13.96 17 12.5V12a1 1 0 0 0-1-1h-2.171a3 3 0 0 0-.594-1H16ZM7.5 2a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Zm7 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm-7-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Zm7 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z" })));
17
17
  }
18
18
  };
19
19
  PeopleIcon.style = iconCss;
@@ -13,7 +13,7 @@ const PersonIcon = class {
13
13
  this.height = '16';
14
14
  }
15
15
  render() {
16
- return (index.h("svg", { key: 'b27fe7513bb484fa3e0a34d57fb39d8927ae4d4b', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '7346c2e54990e5661304ec2b5a2f6c13e806467f', d: "M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z", fill: "currentColor" })));
16
+ return (index.h("svg", { key: '55b014fefee568d32972a083bc2aad02b5150fa8', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '8129a1e94d2c50afd5a3a375ffe98cf7e7b6374f', d: "M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z", fill: "currentColor" })));
17
17
  }
18
18
  };
19
19
  PersonIcon.style = iconCss;
@@ -13,7 +13,7 @@ const PlayIcon = class {
13
13
  this.height = '15';
14
14
  }
15
15
  render() {
16
- return (index.h("svg", { key: '75bcdddbd491974d44ddcb8c61b9a3d3e56ad857', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '5668c1fb77efb5950d65c18bfe35166a791d0f8c', d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
16
+ return (index.h("svg", { key: '1b5bba2078843e9faf11f53d9bc851c66d1f7532', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '9729442ffb92522f0c035cf51ed4a0db56650e49', d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
17
17
  }
18
18
  };
19
19
  PlayIcon.style = iconCss;
@@ -14,7 +14,7 @@ const PlayIcon = class {
14
14
  this.height = '15';
15
15
  }
16
16
  render() {
17
- return (index.h("svg", { key: '75bcdddbd491974d44ddcb8c61b9a3d3e56ad857', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '5668c1fb77efb5950d65c18bfe35166a791d0f8c', d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
17
+ return (index.h("svg", { key: '1b5bba2078843e9faf11f53d9bc851c66d1f7532', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '9729442ffb92522f0c035cf51ed4a0db56650e49', d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
18
18
  }
19
19
  };
20
20
  PlayIcon.style = PlayIconStyle0;
@@ -29,7 +29,7 @@ const StopIcon = class {
29
29
  this.height = '15';
30
30
  }
31
31
  render() {
32
- return (index.h("svg", { key: 'd73d0562e7851a24ef4bf2cb82444e107456d12a', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'b1507478bb4fb8f5023ff76cec9532424676dbf9', d: "M4 4H20V20H4V4Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
32
+ return (index.h("svg", { key: '8b5933c45a744cde84b5f7e8d11f9ed7a0beafc1', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'a7c58dc851d448fffc8b152c97900b22bbff8910', d: "M4 4H20V20H4V4Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
33
33
  }
34
34
  };
35
35
  StopIcon.style = StopIconStyle0;
@@ -23,7 +23,7 @@ const RadioButtonGroup = class {
23
23
  });
24
24
  }
25
25
  render() {
26
- return (index.h("div", { key: '985ed3b83d804748d61641feae65322fd08c1649', class: "radio-group" }, this.options.map(option => (index.h("label", null, index.h("div", { class: "radio-option" }, index.h("input", { type: "radio", name: this.name, value: option.value, checked: this.selectedValue === option.value, onChange: () => this.handleChange(option.value) }), index.h("p", null, index.h("span", { class: "title" }, option.label), index.h("span", { class: "description" }, option.description))))))));
26
+ return (index.h("div", { key: '82c0a38507193f6e941c820c38f9e5c477dc14dc', class: "radio-group" }, this.options.map(option => (index.h("label", null, index.h("div", { class: "radio-option" }, index.h("input", { type: "radio", name: this.name, value: option.value, checked: this.selectedValue === option.value, onChange: () => this.handleChange(option.value) }), index.h("p", null, index.h("span", { class: "title" }, option.label), index.h("span", { class: "description" }, option.description))))))));
27
27
  }
28
28
  };
29
29
  RadioButtonGroup.style = radioButtonGroupCss;
@@ -13,7 +13,7 @@ const RefreshIcon = class {
13
13
  this.height = '15';
14
14
  }
15
15
  render() {
16
- return (index.h("svg", { key: '9d0d7a6c40ebb7623baa02325d75464b8370b8e7', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '1bfebec460a7e97209c8046853cf7e08fcc9f419', d: "M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z" })));
16
+ return (index.h("svg", { key: 'e3570d2edebf65b741e348cfbbc51060485e787f', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '9084837664b3a5b5269fc0bb936732b785620f6c', d: "M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z" })));
17
17
  }
18
18
  };
19
19
  RefreshIcon.style = iconCss;
@@ -13,7 +13,7 @@ const ReplyAllIcon = class {
13
13
  this.height = '15';
14
14
  }
15
15
  render() {
16
- return (index.h("svg", { key: 'e0178c328ba6b6cee56a080b757c3c6778a8d5bf', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '8b579e2760f2d3a65be0d505f413c2277d1f9c28', d: "m1030.975 188 81.249 81.249-429.228 429.228h300.747c516.223 0 936.257 420.034 936.257 936.257v98.028h-114.92v-98.028c0-452.901-368.436-821.337-821.337-821.337H682.996l429.228 429.229-81.25 81.248-567.936-567.937L1030.975 188Zm-463.038.011 81.249 81.25-486.688 486.688 486.688 486.688-81.249 81.249L0 755.949 567.937 188.01Z", "fill-rule": "evenodd" })));
16
+ return (index.h("svg", { key: '27304a19b7ec5d4fb64051ba1edbd99699adc3c5', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '185831a5360ae2e5b3559e22839c38fe8667e027', d: "m1030.975 188 81.249 81.249-429.228 429.228h300.747c516.223 0 936.257 420.034 936.257 936.257v98.028h-114.92v-98.028c0-452.901-368.436-821.337-821.337-821.337H682.996l429.228 429.229-81.25 81.248-567.936-567.937L1030.975 188Zm-463.038.011 81.249 81.25-486.688 486.688 486.688 486.688-81.249 81.249L0 755.949 567.937 188.01Z", "fill-rule": "evenodd" })));
17
17
  }
18
18
  };
19
19
  ReplyAllIcon.style = iconCss;
@@ -13,7 +13,7 @@ const ReplyIcon = class {
13
13
  this.height = '15';
14
14
  }
15
15
  render() {
16
- return (index.h("svg", { key: '6c04aaf9406e45710a19af8b19a26174d337a120', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '1995d8a661f6e23bd4f9d225fd84f0de45a3b0a5', d: "M835.942 632.563H244.966l478.08-478.08-90.496-90.496L-.026 696.563 632.55 1329.14l90.496-90.496-478.08-478.08h590.976c504.448 0 914.816 410.368 914.816 914.816v109.184h128V1675.38c0-574.976-467.84-1042.816-1042.816-1042.816", "fill-rule": "evenodd" })));
16
+ return (index.h("svg", { key: '8f2d5daffb8ab92a42abacce15e2abd868f979a7', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'fcad20369efbf76e019c7b433e380419c696e481', d: "M835.942 632.563H244.966l478.08-478.08-90.496-90.496L-.026 696.563 632.55 1329.14l90.496-90.496-478.08-478.08h590.976c504.448 0 914.816 410.368 914.816 914.816v109.184h128V1675.38c0-574.976-467.84-1042.816-1042.816-1042.816", "fill-rule": "evenodd" })));
17
17
  }
18
18
  };
19
19
  ReplyIcon.style = iconCss;
@@ -13,7 +13,7 @@ const SearchIcon = class {
13
13
  this.height = '15';
14
14
  }
15
15
  render() {
16
- return (index.h("svg", { key: 'c5f52e97100ef84d45a60c75a6edad451b809b47', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '83edc5203bf11c7774aa44c1d8442c5b6b0e4f1c', fill: "currentColor", d: "M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z" })));
16
+ return (index.h("svg", { key: 'dcf22b14b42ef62b0a4e33b4985712c2f0aac88e', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '1048ab3533bef7bdb57dbdccf489ce6240722cf1', fill: "currentColor", d: "M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z" })));
17
17
  }
18
18
  };
19
19
  SearchIcon.style = iconCss;
@@ -31,7 +31,7 @@ const SelectDropdown = class {
31
31
  this.filteredOptions = newValue;
32
32
  }
33
33
  defaultSelectedOptionChangedHandler(newValue, oldValue) {
34
- if (newValue.label === oldValue.label) {
34
+ if (typeof newValue === 'undefined' || newValue?.label === oldValue?.label) {
35
35
  return;
36
36
  }
37
37
  this.selectedOption = newValue;
@@ -162,11 +162,11 @@ const SelectDropdown = class {
162
162
  }
163
163
  }
164
164
  render() {
165
- return (index.h("div", { key: '5d9cc53d425973e986cf7861f68db93652264ea2', class: "dropdown", part: "sd_dropdown" }, index.h("label", { key: '780b94df48c831b5228ca846f3349359e19fcae5', part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && (index.h("p", null, index.h("span", { class: "label" }, this.label), this.required && index.h("span", { class: "required" }, "*"))), index.h("button", { key: 'c8aa297b734fe94b31e7dadff937e9339e997d57', part: "sd_dropdown-button", class: { dropbtn: true, open: this.isOpen, error: !!this.errorMessage }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-label": this.name, onKeyDown: e => this.handleSelectButtonKeyDown(e) }, index.h("slot", { key: '35a42b7da19ae19d26c63f6555748b1756d8b509', name: "select-icon", "aria-hidden": "true" }), index.h("span", { key: '0df568c4115508f832dbf15d29f6a2f91e855df5', class: "selected-option", part: "sd_dropdown-button-selected-label" }, this.selectedOption?.label ? `${this.selectedOption?.label + this.pluralizedLabel}` : ''), index.h("span", { key: 'c1c2dab85d068a4da6550a45d505f7e44bef3098', class: {
165
+ return (index.h("div", { key: '8c4d201f5fa71b9707a1cb50adc62399f32e5aba', class: "dropdown", part: "sd_dropdown" }, index.h("label", { key: 'b2e4851e2925d7e44c36a538a28001a838124cba', part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && (index.h("p", null, index.h("span", { class: "label" }, this.label), this.required && index.h("span", { class: "required" }, "*"))), index.h("button", { key: '66559916660643e8ed8ed67bf821fa2eb122ea6c', part: "sd_dropdown-button", class: { dropbtn: true, open: this.isOpen, error: !!this.errorMessage }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-label": this.name, onKeyDown: e => this.handleSelectButtonKeyDown(e) }, index.h("slot", { key: '2916f44530f59d218171c54dfe7a6949b3f773c4', name: "select-icon", "aria-hidden": "true" }), index.h("span", { key: '21653fb2f1225a0f9d64b6939da10b66eeeb8fcc', class: "selected-option", part: "sd_dropdown-button-selected-label" }, this.selectedOption?.label ? `${this.selectedOption?.label + this.pluralizedLabel}` : ''), index.h("span", { key: '900f31e8a1ca22a3be2f4ca965bdaa9099ef3fca', class: {
166
166
  open: this.isOpen,
167
167
  closed: !this.isOpen,
168
168
  chevron: true,
169
- }, "aria-hidden": "true" }, index.h("chevron-icon", { key: '8a99c927af95bd100cea219d07afb9960ac11f33', width: "16", height: "16" }))), this.errorMessage && index.h("span", { class: "error help-text" }, this.errorMessage)), this.isOpen ? (index.h("div", { class: "dropdown-content", part: "sd_dropdown-content" }, this.withSearch && (index.h("div", { class: { 'search-box': true, 'open': this.isOpen } }, index.h("search-icon", { width: "15", height: "15", class: 'icon' }), index.h("input", { type: "text", role: "combobox", placeholder: "Search", value: this.searchValue, ref: el => (this.inputRef = el), onInput: event => this.filterOptions(event), onKeyDown: e => this.handleComboboxKeyDown(e) }))), index.h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: e => this.handleListboxKeydown(e) }, this.filteredOptions.map(option => option.value && (index.h("li", { tabindex: "0", key: option.value, id: option.value, onClick: () => this.selectOption(option), role: "option" }, option.labelHTML ? option.labelHTML : option.label)))))) : null));
169
+ }, "aria-hidden": "true" }, index.h("chevron-icon", { key: 'd0a08c205df0a9258b699618cad25eff5085fe84', width: "16", height: "16" }))), this.errorMessage && index.h("span", { class: "error help-text" }, this.errorMessage)), this.isOpen ? (index.h("div", { class: "dropdown-content", part: "sd_dropdown-content" }, this.withSearch && (index.h("div", { class: { 'search-box': true, 'open': this.isOpen } }, index.h("search-icon", { width: "15", height: "15", class: 'icon' }), index.h("input", { type: "text", role: "combobox", placeholder: "Search", value: this.searchValue, ref: el => (this.inputRef = el), onInput: event => this.filterOptions(event), onKeyDown: e => this.handleComboboxKeyDown(e) }))), index.h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: e => this.handleListboxKeydown(e) }, this.filteredOptions.map(option => option.value && (index.h("li", { tabindex: "0", key: option.value, id: option.value, onClick: () => this.selectOption(option), role: "option" }, option.labelHTML ? option.labelHTML : option.label)))))) : null));
170
170
  }
171
171
  get el() { return index.getElement(this); }
172
172
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"select-dropdown.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,iBAAiB,GAAG,2sGAA2sG;;MCqBxtG,cAAc;;;;;uBAaW,EAAE;;0BAQR,IAAI;;wBAUN,KAAK;+BAKC,EAAE;8BAMa,IAAI,CAAC,qBAAqB,IAAI,IAAI;sBAIxD,KAAK;2BAID,EAAE;+BAIY,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;oCAMtB,EAAE;4BAKV,EAAE;;IAclC,qBAAqB,CAAC,QAA0B,EAAE,QAA0B;QAC1E,IAAI,QAAQ,KAAK,QAAQ,EAAE;YACzB,OAAO;SACR;QACD,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAC;KACjC;IAGD,mCAAmC,CAAC,QAAwB,EAAE,QAAwB;QACpF,IAAI,QAAQ,CAAC,KAAK,KAAK,QAAQ,CAAC,KAAK,EAAE;YACrC,OAAO;SACR;QACD,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC;KA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S,GAAG,MAAM,CAAC,SAAS,GAAG,MAAM,CAAC,KAAK,CAChD,CACN,CACJ,CACE,CACD,IACJ,IAAI,CACJ,EACN;KACH;;;;;;;;;;;","names":["h"],"sources":["src/components/design-system/select-dropdown/select-dropdown.scss?tag=select-dropdown&encapsulation=shadow","src/components/design-system/select-dropdown/select-dropdown.tsx"],"sourcesContent":["@import '../../../common/styles/variables.scss';\n@import '../../../common/mixins/inputs.scss';\n\n:host {\n display: block;\n position: relative;\n @media #{$mobile} {\n position: unset;\n }\n @include default-css-variables;\n width: 100%;\n}\n\nlabel {\n @include input-label;\n flex-direction: column;\n gap: 4px;\n font-family: var(--nylas-font-family);\n font-size: 16px;\n color: var(--nylas-base-800);\n p {\n margin: 0;\n }\n .error {\n color: var(--nylas-error);\n }\n}\n\n.dropdown {\n display: inline-block;\n width: inherit;\n}\n\n.dropbtn {\n color: var(--nylas-base-800);\n padding: 14px;\n font-size: 1rem;\n font-family: var(--nylas-font-family);\n cursor: pointer;\n display: flex;\n justify-content: space-between;\n gap: 0.5rem;\n background: transparent;\n border: 1px solid var(--nylas-base-300);\n border-radius: var(--nylas-border-radius-2x);\n &.error {\n border: 1px solid var(--nylas-error);\n }\n &.focus {\n background: transparent;\n }\n &:hover,\n &:active {\n outline: 1px solid var(--nylas-primary);\n }\n &:active {\n outline: 2px solid var(--nylas-primary);\n }\n span {\n &.chevron {\n display: flex;\n align-self: center;\n }\n &.open {\n transform: rotate(90deg);\n }\n &.closed {\n transform: rotate(270deg);\n }\n &.selected-option {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 144px;\n font-size: 14px;\n line-height: 20px;\n @media #{$mobile} {\n max-width: 124px;\n font-size: 16px;\n }\n }\n }\n}\n\n.dropdown-content {\n display: block;\n margin-top: 0.5rem;\n background-color: var(--nylas-base-0);\n width: 100%;\n max-height: 336px;\n overflow: auto;\n z-index: 1;\n border-radius: 4px;\n position: absolute;\n @media #{$mobile} {\n right: 0;\n width: 325px;\n max-width: unset;\n }\n box-shadow: 0px 4px 6px -2px rgba(0, 0, 0, 0.05);\n box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);\n}\n\n.search-box {\n border-bottom: 1px solid var(--nylas-base-200);\n padding: 10px;\n position: sticky;\n top: 0;\n background: var(--nylas-base-0);\n .icon {\n position: absolute;\n top: 1.25rem;\n left: 1.25rem;\n color: var(--nylas-base-300);\n }\n}\n\n.dropdown-content ul {\n padding: 0;\n list-style-type: none;\n color: var(--nylas-base-900);\n max-height: 336px;\n li {\n padding: 16px, 12px, 16px, 12px;\n color: black;\n padding: 12px 16px;\n text-decoration: none;\n display: block;\n font-family: inherit;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n letter-spacing: 0px;\n text-align: left;\n cursor: pointer;\n &:hover,\n &:focus {\n background-color: var(--nylas-base-100);\n }\n }\n}\n\n.dropdown-content .selected {\n background-color: #e7e7e7;\n}\n\ninput[type='text'] {\n width: -webkit-fill-available;\n padding: inherit;\n border: 1px solid #ccc;\n border-radius: 4px;\n position: sticky;\n background: no-repeat scroll 7px 7px;\n padding-left: 30px;\n background-size: 16px 16px;\n}\n","import { Component, Element, Event, EventEmitter, h, Listen, Prop, State, Watch } from '@stencil/core';\n\ninterface DropdownOption {\n labelHTML?: HTMLElement;\n label: string;\n value: string;\n}\n\n/**\n * The `select-dropdown` component is a dropdown that allows users to select an option from a list of options.\n * @part sd_dropdown - The dropdown container\n * @part sd_dropdown-button - The dropdown button\n * @part sd_dropdown-button-selected-label - The selected option label\n * @part sd_dropdown-content - The dropdown content\n * @part sd_dropdown_label - The dropdown label\n */\n@Component({\n tag: 'select-dropdown',\n styleUrl: 'select-dropdown.scss',\n shadow: true,\n})\nexport class SelectDropdown {\n @Element() el!: HTMLElement;\n\n private inputRef?: HTMLInputElement;\n\n // Props\n /**\n * The name of the dropdown\n */\n @Prop() name!: string;\n /**\n * The options to display in the dropdown\n */\n @Prop() options: DropdownOption[] = [];\n /**\n * The default selected option\n */\n @Prop() defaultSelectedOption?: DropdownOption;\n /**\n * Should show search input\n */\n @Prop() withSearch: boolean = true;\n\n /**\n * The label for the dropdown, skipped if no label is provided\n */\n @Prop() label?: string;\n\n /**\n * If true, the dropdown is required for form submission\n */\n @Prop() required: boolean = false;\n\n /**\n * Show pluralized label for the selected option. This is s tring that is appended to the selected option label as a suffix.\n */\n @Prop() pluralizedLabel: string = '';\n\n // States\n /**\n * The selected option\n */\n @State() selectedOption: DropdownOption | null = this.defaultSelectedOption || null;\n /**\n * The open state of the dropdown\n */\n @State() isOpen: boolean = false;\n /**\n * The search value for the dropdown\n */\n @State() searchValue: string = '';\n /**\n * The filtered options based on the search value\n */\n @State() filteredOptions: DropdownOption[] = [...this.options];\n /**\n * The aria-activedescendant attribute for the listbox element to indicate the currently active\n * option in the list box to screen readers. The value of aria-activedescendant is the ID of\n * the active option.\n */\n @State() ariaActivedescendant: string = '';\n\n /**\n * The error message to display when the value is empty or null and the dropdown is required\n */\n @State() errorMessage: string = '';\n\n // Events\n /**\n * This event is fired when the selected option is changed\n */\n @Event({ bubbles: true, composed: true }) nylasFormDropdownChanged!: EventEmitter<{\n value: DropdownOption['value'];\n name: string;\n error?: string;\n label?: string;\n }>;\n\n @Watch('options')\n optionsChangedHandler(newValue: DropdownOption[], oldValue: DropdownOption[]) {\n if (newValue === oldValue) {\n return;\n }\n this.filteredOptions = newValue;\n }\n\n @Watch('defaultSelectedOption')\n defaultSelectedOptionChangedHandler(newValue: DropdownOption, oldValue: DropdownOption) {\n if (newValue.label === oldValue.label) {\n return;\n }\n this.selectedOption = newValue;\n }\n\n // Lifecycle methods\n componentWillLoad() {\n this.filteredOptions = this.options;\n // Set the selected option to the first option if no option is selected\n if (!this.selectedOption && !!this.defaultSelectedOption) {\n this.selectedOption = this.defaultSelectedOption;\n }\n if (!this.selectedOption && this.options.length > 0) {\n this.selectedOption = this.options[0];\n }\n }\n\n // Event listeners\n /**\n * Listen for the bookingFormSubmitted event to validate the input value when the form is submitted.\n */\n @Listen('bookingFormSubmitted', { target: 'document' })\n handleBookingFormSubmitted(event: CustomEvent) {\n this.validate(this.selectedOption?.value || '');\n if (this.errorMessage) {\n event.preventDefault();\n }\n }\n\n // Methods\n validate(value: string) {\n if (this.required && !value) {\n this.errorMessage = `${this.label} is required.`;\n } else {\n this.errorMessage = '';\n }\n }\n toggleDropdown(): void {\n this.isOpen = !this.isOpen;\n }\n\n filterOptions(event: Event): void {\n const value = (event.target as HTMLInputElement).value;\n this.searchValue = value;\n this.filteredOptions = this.options.filter(option => option.label.toLowerCase().includes(value.toLowerCase()));\n }\n\n selectOption(option: DropdownOption): void {\n this.errorMessage = '';\n this.selectedOption = option;\n this.toggleDropdown();\n this.nylasFormDropdownChanged.emit({\n value: option.value,\n name: this.name,\n error: this.errorMessage,\n label: this.label,\n });\n }\n\n handleSelectButtonKeyDown(event: KeyboardEvent): void {\n switch (event.key) {\n case 'ArrowDown':\n case 'Enter':\n event.preventDefault();\n if (!this.isOpen) {\n this.toggleDropdown();\n }\n this.inputRef?.focus();\n break;\n case 'Escape':\n this.isOpen = false;\n break;\n }\n }\n\n handleListboxKeydown(e) {\n const items = this.filteredOptions; // Assuming this is the array of your current filtered options\n const currentIndex = items.findIndex(item => item.value === this.ariaActivedescendant);\n if (e.key === 'ArrowDown' || (e.key === 'Tab' && !e.shiftKey)) {\n e.preventDefault();\n if (currentIndex === items.length - 1) {\n this.ariaActivedescendant = '';\n this.inputRef?.focus();\n return;\n }\n const nextIndex = currentIndex + 1 < items.length ? currentIndex + 1 : 0;\n this.ariaActivedescendant = items[nextIndex].value;\n this.focusOption(nextIndex);\n } else if (e.key === 'ArrowUp' || (e.key === 'Tab' && e.shiftKey)) {\n e.preventDefault();\n if (currentIndex === 0) {\n this.ariaActivedescendant = '';\n this.inputRef?.focus();\n return;\n }\n const prevIndex = currentIndex - 1 >= 0 ? currentIndex - 1 : items.length - 1;\n this.ariaActivedescendant = items[prevIndex].value;\n this.focusOption(prevIndex);\n } else if (e.key === 'Enter') {\n e.preventDefault();\n if (this.ariaActivedescendant) {\n this.selectOption(items[currentIndex]);\n }\n } else if (e.key === 'Escape') {\n this.isOpen = false;\n }\n }\n\n focusOption(index) {\n const option = this.filteredOptions[index];\n if (!option) return; // Guard clause in case index is out of bounds\n\n const elementId = option.value;\n const element = this.el.shadowRoot?.getElementById(elementId) as HTMLLIElement;\n\n if (element) {\n element.focus(); // Set focus on the element\n element.scrollIntoView({ behavior: 'smooth', block: 'nearest' });\n }\n }\n\n handleComboboxKeyDown(event: KeyboardEvent): void {\n if (event.key === 'ArrowDown' || (event.key == 'Tab' && !event.shiftKey)) {\n event.preventDefault();\n this.ariaActivedescendant = this.filteredOptions[0].value;\n this.focusOption(0);\n } else if (event.key === 'ArrowUp' || (event.key === 'Tab' && event.shiftKey)) {\n event.preventDefault();\n this.ariaActivedescendant = this.filteredOptions[this.filteredOptions.length - 1].value;\n this.focusOption(this.filteredOptions.length - 1);\n } else if (event.key === 'Escape') {\n this.isOpen = false;\n }\n }\n\n // Event listeners\n @Listen('click', { target: 'document', capture: true })\n handleOutsideClick(event: MouseEvent) {\n // Get the path of the event\n const path = event.composedPath();\n\n // Check if the path includes the host element\n const isClickInside = path.includes(this.el);\n\n if (!isClickInside && this.isOpen) {\n this.isOpen = false;\n }\n }\n\n render() {\n return (\n <div class=\"dropdown\" part=\"sd_dropdown\">\n <label part=\"sd_dropdown_label\" class={{ error: !!this.errorMessage }}>\n {this.label && (\n <p>\n <span class=\"label\">{this.label}</span>\n {this.required && <span class=\"required\">*</span>}\n </p>\n )}\n <button\n part=\"sd_dropdown-button\"\n class={{ dropbtn: true, open: this.isOpen, error: !!this.errorMessage }}\n onClick={() => this.toggleDropdown()}\n aria-haspopup=\"listbox\"\n aria-expanded={this.isOpen ? 'true' : 'false'}\n aria-label={this.name}\n onKeyDown={e => this.handleSelectButtonKeyDown(e)}\n >\n <slot name=\"select-icon\" aria-hidden=\"true\"></slot>\n <span class=\"selected-option\" part=\"sd_dropdown-button-selected-label\">\n {this.selectedOption?.label ? `${this.selectedOption?.label + this.pluralizedLabel}` : ''}\n </span>\n <span\n class={{\n open: this.isOpen,\n closed: !this.isOpen,\n chevron: true,\n }}\n aria-hidden=\"true\"\n >\n <chevron-icon width=\"16\" height=\"16\" />\n </span>\n </button>\n {this.errorMessage && <span class=\"error help-text\">{this.errorMessage}</span>}\n </label>\n\n {this.isOpen ? (\n <div class=\"dropdown-content\" part=\"sd_dropdown-content\">\n {this.withSearch && (\n <div class={{ 'search-box': true, 'open': this.isOpen }}>\n <search-icon width=\"15\" height=\"15\" class={'icon'} />\n <input\n type=\"text\"\n role=\"combobox\"\n placeholder=\"Search\"\n value={this.searchValue}\n ref={el => (this.inputRef = el)}\n onInput={event => this.filterOptions(event)}\n onKeyDown={e => this.handleComboboxKeyDown(e)}\n />\n </div>\n )}\n <ul tabindex=\"-1\" role=\"listbox\" aria-label={this.name} aria-activedescendant={this.ariaActivedescendant} onKeyDown={e => this.handleListboxKeydown(e)}>\n {this.filteredOptions.map(\n option =>\n option.value && (\n <li tabindex=\"0\" key={option.value} id={option.value} onClick={() => this.selectOption(option)} role=\"option\">\n {option.labelHTML ? option.labelHTML : option.label}\n </li>\n ),\n )}\n </ul>\n </div>\n ) : null}\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"select-dropdown.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,iBAAiB,GAAG,2sGAA2sG;;MCqBxtG,cAAc;;;;;uBAaW,EAAE;;0BAQR,IAAI;;wBAUN,KAAK;+BAKC,EAAE;8BAMa,IAAI,CAAC,qBAAqB,IAAI,IAAI;sBAIxD,KAAK;2BAID,EAAE;+BAIY,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;oCAMtB,EAAE;4BAKV,EAAE;;IAclC,qBAAqB,CAAC,QAA0B,EAAE,QAA0B;QAC1E,IAAI,QAAQ,KAAK,QAAQ,EAAE;YACzB,OAAO;SACR;QACD,IAAI,CAAC,eAAe,GAAG,QAAQ,C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,gBAAI,QAAQ,EAAC,GAAG,EAAC,GAAG,EAAE,MAAM,CAAC,KAAK,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,IAAI,EAAC,QAAQ,IAC1G,MAAM,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,GAAG,MAAM,CAAC,KAAK,CAChD,CACN,CACJ,CACE,CACD,IACJ,IAAI,CACJ,EACN;KACH;;;;;;;;;;;","names":["h"],"sources":["src/components/design-system/select-dropdown/select-dropdown.scss?tag=select-dropdown&encapsulation=shadow","src/components/design-system/select-dropdown/select-dropdown.tsx"],"sourcesContent":["@import '../../../common/styles/variables.scss';\n@import '../../../common/mixins/inputs.scss';\n\n:host {\n display: block;\n position: relative;\n @media #{$mobile} {\n position: unset;\n }\n @include default-css-variables;\n width: 100%;\n}\n\nlabel {\n @include input-label;\n flex-direction: column;\n gap: 4px;\n font-family: var(--nylas-font-family);\n font-size: 16px;\n color: var(--nylas-base-800);\n p {\n margin: 0;\n }\n .error {\n color: var(--nylas-error);\n }\n}\n\n.dropdown {\n display: inline-block;\n width: inherit;\n}\n\n.dropbtn {\n color: var(--nylas-base-800);\n padding: 14px;\n font-size: 1rem;\n font-family: var(--nylas-font-family);\n cursor: pointer;\n display: flex;\n justify-content: space-between;\n gap: 0.5rem;\n background: transparent;\n border: 1px solid var(--nylas-base-300);\n border-radius: var(--nylas-border-radius-2x);\n &.error {\n border: 1px solid var(--nylas-error);\n }\n &.focus {\n background: transparent;\n }\n &:hover,\n &:active {\n outline: 1px solid var(--nylas-primary);\n }\n &:active {\n outline: 2px solid var(--nylas-primary);\n }\n span {\n &.chevron {\n display: flex;\n align-self: center;\n }\n &.open {\n transform: rotate(90deg);\n }\n &.closed {\n transform: rotate(270deg);\n }\n &.selected-option {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 144px;\n font-size: 14px;\n line-height: 20px;\n @media #{$mobile} {\n max-width: 124px;\n font-size: 16px;\n }\n }\n }\n}\n\n.dropdown-content {\n display: block;\n margin-top: 0.5rem;\n background-color: var(--nylas-base-0);\n width: 100%;\n max-height: 336px;\n overflow: auto;\n z-index: 1;\n border-radius: 4px;\n position: absolute;\n @media #{$mobile} {\n right: 0;\n width: 325px;\n max-width: unset;\n }\n box-shadow: 0px 4px 6px -2px rgba(0, 0, 0, 0.05);\n box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);\n}\n\n.search-box {\n border-bottom: 1px solid var(--nylas-base-200);\n padding: 10px;\n position: sticky;\n top: 0;\n background: var(--nylas-base-0);\n .icon {\n position: absolute;\n top: 1.25rem;\n left: 1.25rem;\n color: var(--nylas-base-300);\n }\n}\n\n.dropdown-content ul {\n padding: 0;\n list-style-type: none;\n color: var(--nylas-base-900);\n max-height: 336px;\n li {\n padding: 16px, 12px, 16px, 12px;\n color: black;\n padding: 12px 16px;\n text-decoration: none;\n display: block;\n font-family: inherit;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n letter-spacing: 0px;\n text-align: left;\n cursor: pointer;\n &:hover,\n &:focus {\n background-color: var(--nylas-base-100);\n }\n }\n}\n\n.dropdown-content .selected {\n background-color: #e7e7e7;\n}\n\ninput[type='text'] {\n width: -webkit-fill-available;\n padding: inherit;\n border: 1px solid #ccc;\n border-radius: 4px;\n position: sticky;\n background: no-repeat scroll 7px 7px;\n padding-left: 30px;\n background-size: 16px 16px;\n}\n","import { Component, Element, Event, EventEmitter, h, Listen, Prop, State, Watch } from '@stencil/core';\n\ninterface DropdownOption {\n labelHTML?: HTMLElement;\n label: string;\n value: string;\n}\n\n/**\n * The `select-dropdown` component is a dropdown that allows users to select an option from a list of options.\n * @part sd_dropdown - The dropdown container\n * @part sd_dropdown-button - The dropdown button\n * @part sd_dropdown-button-selected-label - The selected option label\n * @part sd_dropdown-content - The dropdown content\n * @part sd_dropdown_label - The dropdown label\n */\n@Component({\n tag: 'select-dropdown',\n styleUrl: 'select-dropdown.scss',\n shadow: true,\n})\nexport class SelectDropdown {\n @Element() el!: HTMLElement;\n\n private inputRef?: HTMLInputElement;\n\n // Props\n /**\n * The name of the dropdown\n */\n @Prop() name!: string;\n /**\n * The options to display in the dropdown\n */\n @Prop() options: DropdownOption[] = [];\n /**\n * The default selected option\n */\n @Prop() defaultSelectedOption?: DropdownOption;\n /**\n * Should show search input\n */\n @Prop() withSearch: boolean = true;\n\n /**\n * The label for the dropdown, skipped if no label is provided\n */\n @Prop() label?: string;\n\n /**\n * If true, the dropdown is required for form submission\n */\n @Prop() required: boolean = false;\n\n /**\n * Show pluralized label for the selected option. This is s tring that is appended to the selected option label as a suffix.\n */\n @Prop() pluralizedLabel: string = '';\n\n // States\n /**\n * The selected option\n */\n @State() selectedOption: DropdownOption | null = this.defaultSelectedOption || null;\n /**\n * The open state of the dropdown\n */\n @State() isOpen: boolean = false;\n /**\n * The search value for the dropdown\n */\n @State() searchValue: string = '';\n /**\n * The filtered options based on the search value\n */\n @State() filteredOptions: DropdownOption[] = [...this.options];\n /**\n * The aria-activedescendant attribute for the listbox element to indicate the currently active\n * option in the list box to screen readers. The value of aria-activedescendant is the ID of\n * the active option.\n */\n @State() ariaActivedescendant: string = '';\n\n /**\n * The error message to display when the value is empty or null and the dropdown is required\n */\n @State() errorMessage: string = '';\n\n // Events\n /**\n * This event is fired when the selected option is changed\n */\n @Event({ bubbles: true, composed: true }) nylasFormDropdownChanged!: EventEmitter<{\n value: DropdownOption['value'];\n name: string;\n error?: string;\n label?: string;\n }>;\n\n @Watch('options')\n optionsChangedHandler(newValue: DropdownOption[], oldValue: DropdownOption[]) {\n if (newValue === oldValue) {\n return;\n }\n this.filteredOptions = newValue;\n }\n\n @Watch('defaultSelectedOption')\n defaultSelectedOptionChangedHandler(newValue: DropdownOption, oldValue: DropdownOption) {\n if (typeof newValue === 'undefined' || newValue?.label === oldValue?.label) {\n return;\n }\n this.selectedOption = newValue;\n }\n\n // Lifecycle methods\n componentWillLoad() {\n this.filteredOptions = this.options;\n // Set the selected option to the first option if no option is selected\n if (!this.selectedOption && !!this.defaultSelectedOption) {\n this.selectedOption = this.defaultSelectedOption;\n }\n if (!this.selectedOption && this.options.length > 0) {\n this.selectedOption = this.options[0];\n }\n }\n\n // Event listeners\n /**\n * Listen for the bookingFormSubmitted event to validate the input value when the form is submitted.\n */\n @Listen('bookingFormSubmitted', { target: 'document' })\n handleBookingFormSubmitted(event: CustomEvent) {\n this.validate(this.selectedOption?.value || '');\n if (this.errorMessage) {\n event.preventDefault();\n }\n }\n\n // Methods\n validate(value: string) {\n if (this.required && !value) {\n this.errorMessage = `${this.label} is required.`;\n } else {\n this.errorMessage = '';\n }\n }\n toggleDropdown(): void {\n this.isOpen = !this.isOpen;\n }\n\n filterOptions(event: Event): void {\n const value = (event.target as HTMLInputElement).value;\n this.searchValue = value;\n this.filteredOptions = this.options.filter(option => option.label.toLowerCase().includes(value.toLowerCase()));\n }\n\n selectOption(option: DropdownOption): void {\n this.errorMessage = '';\n this.selectedOption = option;\n this.toggleDropdown();\n this.nylasFormDropdownChanged.emit({\n value: option.value,\n name: this.name,\n error: this.errorMessage,\n label: this.label,\n });\n }\n\n handleSelectButtonKeyDown(event: KeyboardEvent): void {\n switch (event.key) {\n case 'ArrowDown':\n case 'Enter':\n event.preventDefault();\n if (!this.isOpen) {\n this.toggleDropdown();\n }\n this.inputRef?.focus();\n break;\n case 'Escape':\n this.isOpen = false;\n break;\n }\n }\n\n handleListboxKeydown(e) {\n const items = this.filteredOptions; // Assuming this is the array of your current filtered options\n const currentIndex = items.findIndex(item => item.value === this.ariaActivedescendant);\n if (e.key === 'ArrowDown' || (e.key === 'Tab' && !e.shiftKey)) {\n e.preventDefault();\n if (currentIndex === items.length - 1) {\n this.ariaActivedescendant = '';\n this.inputRef?.focus();\n return;\n }\n const nextIndex = currentIndex + 1 < items.length ? currentIndex + 1 : 0;\n this.ariaActivedescendant = items[nextIndex].value;\n this.focusOption(nextIndex);\n } else if (e.key === 'ArrowUp' || (e.key === 'Tab' && e.shiftKey)) {\n e.preventDefault();\n if (currentIndex === 0) {\n this.ariaActivedescendant = '';\n this.inputRef?.focus();\n return;\n }\n const prevIndex = currentIndex - 1 >= 0 ? currentIndex - 1 : items.length - 1;\n this.ariaActivedescendant = items[prevIndex].value;\n this.focusOption(prevIndex);\n } else if (e.key === 'Enter') {\n e.preventDefault();\n if (this.ariaActivedescendant) {\n this.selectOption(items[currentIndex]);\n }\n } else if (e.key === 'Escape') {\n this.isOpen = false;\n }\n }\n\n focusOption(index) {\n const option = this.filteredOptions[index];\n if (!option) return; // Guard clause in case index is out of bounds\n\n const elementId = option.value;\n const element = this.el.shadowRoot?.getElementById(elementId) as HTMLLIElement;\n\n if (element) {\n element.focus(); // Set focus on the element\n element.scrollIntoView({ behavior: 'smooth', block: 'nearest' });\n }\n }\n\n handleComboboxKeyDown(event: KeyboardEvent): void {\n if (event.key === 'ArrowDown' || (event.key == 'Tab' && !event.shiftKey)) {\n event.preventDefault();\n this.ariaActivedescendant = this.filteredOptions[0].value;\n this.focusOption(0);\n } else if (event.key === 'ArrowUp' || (event.key === 'Tab' && event.shiftKey)) {\n event.preventDefault();\n this.ariaActivedescendant = this.filteredOptions[this.filteredOptions.length - 1].value;\n this.focusOption(this.filteredOptions.length - 1);\n } else if (event.key === 'Escape') {\n this.isOpen = false;\n }\n }\n\n // Event listeners\n @Listen('click', { target: 'document', capture: true })\n handleOutsideClick(event: MouseEvent) {\n // Get the path of the event\n const path = event.composedPath();\n\n // Check if the path includes the host element\n const isClickInside = path.includes(this.el);\n\n if (!isClickInside && this.isOpen) {\n this.isOpen = false;\n }\n }\n\n render() {\n return (\n <div class=\"dropdown\" part=\"sd_dropdown\">\n <label part=\"sd_dropdown_label\" class={{ error: !!this.errorMessage }}>\n {this.label && (\n <p>\n <span class=\"label\">{this.label}</span>\n {this.required && <span class=\"required\">*</span>}\n </p>\n )}\n <button\n part=\"sd_dropdown-button\"\n class={{ dropbtn: true, open: this.isOpen, error: !!this.errorMessage }}\n onClick={() => this.toggleDropdown()}\n aria-haspopup=\"listbox\"\n aria-expanded={this.isOpen ? 'true' : 'false'}\n aria-label={this.name}\n onKeyDown={e => this.handleSelectButtonKeyDown(e)}\n >\n <slot name=\"select-icon\" aria-hidden=\"true\"></slot>\n <span class=\"selected-option\" part=\"sd_dropdown-button-selected-label\">\n {this.selectedOption?.label ? `${this.selectedOption?.label + this.pluralizedLabel}` : ''}\n </span>\n <span\n class={{\n open: this.isOpen,\n closed: !this.isOpen,\n chevron: true,\n }}\n aria-hidden=\"true\"\n >\n <chevron-icon width=\"16\" height=\"16\" />\n </span>\n </button>\n {this.errorMessage && <span class=\"error help-text\">{this.errorMessage}</span>}\n </label>\n\n {this.isOpen ? (\n <div class=\"dropdown-content\" part=\"sd_dropdown-content\">\n {this.withSearch && (\n <div class={{ 'search-box': true, 'open': this.isOpen }}>\n <search-icon width=\"15\" height=\"15\" class={'icon'} />\n <input\n type=\"text\"\n role=\"combobox\"\n placeholder=\"Search\"\n value={this.searchValue}\n ref={el => (this.inputRef = el)}\n onInput={event => this.filterOptions(event)}\n onKeyDown={e => this.handleComboboxKeyDown(e)}\n />\n </div>\n )}\n <ul tabindex=\"-1\" role=\"listbox\" aria-label={this.name} aria-activedescendant={this.ariaActivedescendant} onKeyDown={e => this.handleListboxKeydown(e)}>\n {this.filteredOptions.map(\n option =>\n option.value && (\n <li tabindex=\"0\" key={option.value} id={option.value} onClick={() => this.selectOption(option)} role=\"option\">\n {option.labelHTML ? option.labelHTML : option.label}\n </li>\n ),\n )}\n </ul>\n </div>\n ) : null}\n </div>\n );\n }\n}\n"],"version":3}
@@ -13,7 +13,7 @@ const SentIcon = class {
13
13
  this.height = '15';
14
14
  }
15
15
  render() {
16
- return (index.h("svg", { key: '08afee65b32b8c1b4938a4e7e5e3304783c7c04e', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'e4dfb83acddf42834e3fa7d9297ccc47e5f0e6a1', d: "M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z", stroke: "auto", "stroke-width": "1.5" }), index.h("path", { key: '884b52795609413be764e07669f149d19fcd069f', d: "M3.5 3.5L12 10.5", stroke: "auto", "stroke-width": "1.5" }), index.h("path", { key: '5106e9f76d43b36a1e2a0b88770a153bf761fb39', d: "M3.5 20.5L12 13.5", stroke: "auto", "stroke-width": "1.5" })));
16
+ return (index.h("svg", { key: '1d987da73b497a15a2a5595e3719dd9fe2571dd8', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'ab98c2c75245ec1feb91de8b46ab7f15a8aded0b', d: "M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z", stroke: "auto", "stroke-width": "1.5" }), index.h("path", { key: '4e8a2ff35b1b2cb8d150f30e209cf45340e94013', d: "M3.5 3.5L12 10.5", stroke: "auto", "stroke-width": "1.5" }), index.h("path", { key: '6689fc0f544843a9a0627e79d88e8e9787ef2077', d: "M3.5 20.5L12 13.5", stroke: "auto", "stroke-width": "1.5" })));
17
17
  }
18
18
  };
19
19
  SentIcon.style = iconCss;
@@ -13,7 +13,7 @@ const SpamIcon = class {
13
13
  this.height = '15';
14
14
  }
15
15
  render() {
16
- return (index.h("svg", { key: 'c4439b5d617da32453a9168669d24f736d5d635a', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'b6cada1fbe93c8309df9d45094034c365364c63f', d: "M20 3H4C2.89543 3 2 3.89543 2 5V19C2 20.1046 2.89543 21 4 21H20C21.1046 21 22 20.1046 22 19V5C22 3.89543 21.1046 3 20 3Z", stroke: "auto", "stroke-width": "1.5" }), index.h("path", { key: '0508dea54df7c0448af59b509acf8e6598cb4e4a', d: "M2 5L12 12.5L22 5", stroke: "auto", "stroke-width": "1.5" })));
16
+ return (index.h("svg", { key: 'bdbcaf79a1c8379867cc533963bb7916df1f8c22', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'deecdfc0927c7bccca2a371ffdda8695ecee1355', d: "M20 3H4C2.89543 3 2 3.89543 2 5V19C2 20.1046 2.89543 21 4 21H20C21.1046 21 22 20.1046 22 19V5C22 3.89543 21.1046 3 20 3Z", stroke: "auto", "stroke-width": "1.5" }), index.h("path", { key: 'e9cc38d4d4868a9f1431109e5496575bc75c08b7', d: "M2 5L12 12.5L22 5", stroke: "auto", "stroke-width": "1.5" })));
17
17
  }
18
18
  };
19
19
  SpamIcon.style = iconCss;