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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (672) 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_27.cjs.entry.js → calendar-info-icon_28.cjs.entry.js} +300 -412
  15. package/dist/cjs/calendar-info-icon_28.cjs.entry.js.map +1 -0
  16. package/dist/cjs/calendar-patterns-icon.cjs.entry.js +1 -1
  17. package/dist/cjs/checkbox-component.cjs.entry.js +1 -1
  18. package/dist/cjs/checkbox-component.cjs.entry.js.map +1 -1
  19. package/dist/cjs/checkmark-circle-icon.cjs.entry.js +1 -1
  20. package/dist/cjs/chevron-icon.cjs.entry.js +1 -1
  21. package/dist/cjs/chevron-icon_3.cjs.entry.js +4 -4
  22. package/dist/cjs/clock-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/clock-icon_2.cjs.entry.js +2 -2
  24. package/dist/cjs/close-icon.cjs.entry.js +1 -1
  25. package/dist/cjs/document-refresh-icon.cjs.entry.js +1 -1
  26. package/dist/cjs/flow-icon.cjs.entry.js +1 -1
  27. package/dist/cjs/folder-icon.cjs.entry.js +1 -1
  28. package/dist/cjs/forward-icon.cjs.entry.js +1 -1
  29. package/dist/cjs/forward-icon_6.cjs.entry.js +7 -7
  30. package/dist/cjs/globe-icon.cjs.entry.js +1 -1
  31. package/dist/cjs/google-logo-icon.cjs.entry.js +1 -1
  32. package/dist/cjs/google-logo-icon_4.cjs.entry.js +96 -78
  33. package/dist/cjs/google-logo-icon_4.cjs.entry.js.map +1 -1
  34. package/dist/cjs/inbox-icon.cjs.entry.js +1 -1
  35. package/dist/cjs/index-7af03e3f.js +10 -10
  36. package/dist/cjs/index-c14ea8f5.js +18 -14
  37. package/dist/cjs/info-icon.cjs.entry.js +1 -1
  38. package/dist/cjs/info-icon_2.cjs.entry.js +2 -2
  39. package/dist/cjs/input-component.cjs.entry.js +1 -1
  40. package/dist/cjs/input-dropdown.cjs.entry.js +13 -3
  41. package/dist/cjs/input-dropdown.cjs.entry.js.map +1 -1
  42. package/dist/cjs/input-dropdown_2.cjs.entry.js +14 -4
  43. package/dist/cjs/input-dropdown_2.cjs.entry.js.map +1 -1
  44. package/dist/cjs/italic-icon.cjs.entry.js +1 -1
  45. package/dist/cjs/loader.cjs.js +1 -1
  46. package/dist/cjs/loading-icon.cjs.entry.js +1 -1
  47. package/dist/cjs/location-icon.cjs.entry.js +1 -1
  48. package/dist/cjs/location-off-icon.cjs.entry.js +1 -1
  49. package/dist/cjs/microsoft-logo-icon.cjs.entry.js +1 -1
  50. package/dist/cjs/multi-select-dropdown.cjs.entry.js +2 -2
  51. package/dist/cjs/nylas-additional-participants.cjs.entry.js +16 -12
  52. package/dist/cjs/nylas-additional-participants.cjs.entry.js.map +1 -1
  53. package/dist/cjs/nylas-availability-picker.cjs.entry.js +27 -16
  54. package/dist/cjs/nylas-availability-picker.cjs.entry.js.map +1 -1
  55. package/dist/cjs/nylas-booked-event-card_10.cjs.entry.js +4 -4
  56. package/dist/cjs/nylas-cancel-booking-form.cjs.entry.js +1 -1
  57. package/dist/cjs/nylas-cancellation-policy.cjs.entry.js +1 -1
  58. package/dist/cjs/nylas-cancelled-event-card.cjs.entry.js +1 -1
  59. package/dist/cjs/nylas-composer.cjs.entry.js +1 -1
  60. package/dist/cjs/nylas-custom-booking-flow.cjs.entry.js +1 -1
  61. package/dist/cjs/nylas-customize-booking-settings.cjs.entry.js +1 -1
  62. package/dist/cjs/nylas-editor-tabs.cjs.entry.js +94 -76
  63. package/dist/cjs/nylas-editor-tabs.cjs.entry.js.map +1 -1
  64. package/dist/cjs/nylas-event-info.cjs.entry.js +1 -1
  65. package/dist/cjs/nylas-event-limits.cjs.entry.js +1 -1
  66. package/dist/cjs/nylas-event-location.cjs.entry.js +3 -3
  67. package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
  68. package/dist/cjs/nylas-if-state.cjs.entry.js +1 -1
  69. package/dist/cjs/nylas-limit-future-bookings.cjs.entry.js +1 -1
  70. package/dist/cjs/nylas-list-folders.cjs.entry.js +1 -1
  71. package/dist/cjs/nylas-list-threads.cjs.entry.js +1 -1
  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 +142 -0
  80. package/dist/cjs/nylas-participants-custom-availability.cjs.entry.js.map +1 -0
  81. package/dist/cjs/nylas-provider.cjs.entry.js +1 -1
  82. package/dist/cjs/nylas-summarize-message-button.cjs.entry.js +2 -2
  83. package/dist/cjs/nylas-threads-refresh.cjs.entry.js +2 -2
  84. package/dist/cjs/nylas-threads-search.cjs.entry.js +1 -1
  85. package/dist/cjs/nylas-time-window-picker.cjs.entry.js +1 -1
  86. package/dist/cjs/nylas-timeslot-interval.cjs.entry.js +2 -2
  87. package/dist/cjs/nylas-view-email.cjs.entry.js +1 -1
  88. package/dist/cjs/nylas-view-thread.cjs.entry.js +1 -1
  89. package/dist/cjs/nylas-web-elements.cjs.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 +2 -2
  100. package/dist/cjs/sent-icon.cjs.entry.js +1 -1
  101. package/dist/cjs/spam-icon.cjs.entry.js +1 -1
  102. package/dist/cjs/star-icon.cjs.entry.js +1 -1
  103. package/dist/cjs/stop-icon.cjs.entry.js +1 -1
  104. package/dist/cjs/textarea-component.cjs.entry.js +1 -1
  105. package/dist/cjs/time-period-selector.cjs.entry.js +1 -1
  106. package/dist/cjs/toggle-switch.cjs.entry.js +1 -1
  107. package/dist/cjs/toggle-switch.cjs.entry.js.map +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/collection-manifest.json +1 -0
  114. package/dist/collection/common/icons/add-circle.js +1 -1
  115. package/dist/collection/common/icons/archive.js +1 -1
  116. package/dist/collection/common/icons/arrow.js +1 -1
  117. package/dist/collection/common/icons/bold.js +1 -1
  118. package/dist/collection/common/icons/calendar-cancel.js +1 -1
  119. package/dist/collection/common/icons/calendar-check.js +1 -1
  120. package/dist/collection/common/icons/calendar-info.js +1 -1
  121. package/dist/collection/common/icons/calendar-patterns.js +1 -1
  122. package/dist/collection/common/icons/calendar.js +1 -1
  123. package/dist/collection/common/icons/checkmark-circle.js +1 -1
  124. package/dist/collection/common/icons/chevron.js +1 -1
  125. package/dist/collection/common/icons/clock.js +1 -1
  126. package/dist/collection/common/icons/close.js +1 -1
  127. package/dist/collection/common/icons/document-refresh.js +1 -1
  128. package/dist/collection/common/icons/flow.js +1 -1
  129. package/dist/collection/common/icons/folder.js +1 -1
  130. package/dist/collection/common/icons/forward.js +1 -1
  131. package/dist/collection/common/icons/globe.js +1 -1
  132. package/dist/collection/common/icons/google-logo.js +1 -1
  133. package/dist/collection/common/icons/inbox.js +1 -1
  134. package/dist/collection/common/icons/info.js +1 -1
  135. package/dist/collection/common/icons/italic.js +1 -1
  136. package/dist/collection/common/icons/loading.js +1 -1
  137. package/dist/collection/common/icons/location-off.js +1 -1
  138. package/dist/collection/common/icons/location.js +1 -1
  139. package/dist/collection/common/icons/microsoft-logo.js +1 -1
  140. package/dist/collection/common/icons/nylas-logo.js +1 -1
  141. package/dist/collection/common/icons/people.js +1 -1
  142. package/dist/collection/common/icons/person.js +1 -1
  143. package/dist/collection/common/icons/play.js +1 -1
  144. package/dist/collection/common/icons/refresh.js +1 -1
  145. package/dist/collection/common/icons/reply-all.js +1 -1
  146. package/dist/collection/common/icons/reply.js +1 -1
  147. package/dist/collection/common/icons/search.js +1 -1
  148. package/dist/collection/common/icons/sent.js +1 -1
  149. package/dist/collection/common/icons/spam.js +1 -1
  150. package/dist/collection/common/icons/star.js +1 -1
  151. package/dist/collection/common/icons/stop.js +1 -1
  152. package/dist/collection/common/icons/translate.js +1 -1
  153. package/dist/collection/common/icons/trash.js +1 -1
  154. package/dist/collection/common/icons/underline.js +1 -1
  155. package/dist/collection/common/icons/warning.js +1 -1
  156. package/dist/collection/components/design-system/button-component/button-component.js +1 -1
  157. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -1
  158. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js.map +1 -1
  159. package/dist/collection/components/design-system/input-component/input-component.js +1 -1
  160. package/dist/collection/components/design-system/input-dropdown/input-dropdown.js +31 -3
  161. package/dist/collection/components/design-system/input-dropdown/input-dropdown.js.map +1 -1
  162. package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +2 -2
  163. package/dist/collection/components/design-system/radio-button-group/radio-button-group.js +1 -1
  164. package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +2 -2
  165. package/dist/collection/components/design-system/textarea-component/textarea-component.js +1 -1
  166. package/dist/collection/components/design-system/time-period-selector/time-period-selector.js +1 -1
  167. package/dist/collection/components/design-system/toggle-switch/toggle-switch.js +1 -1
  168. package/dist/collection/components/design-system/toggle-switch/toggle-switch.js.map +1 -1
  169. package/dist/collection/components/design-system/tooltip-component/toolitp-component.js +1 -1
  170. package/dist/collection/components/mailbox/nylas-composer/nylas-composer.js +1 -1
  171. package/dist/collection/components/mailbox/nylas-list-folders/nylas-list-folders.js +1 -1
  172. package/dist/collection/components/mailbox/nylas-list-threads/nylas-list-threads.js +1 -1
  173. package/dist/collection/components/mailbox/nylas-mailbox/nylas-mailbox.js +1 -1
  174. package/dist/collection/components/mailbox/nylas-mailbox-toolbar-button/nylas-mailbox-toolbar-button.js +1 -1
  175. package/dist/collection/components/mailbox/nylas-summarize-message-button/nylas-summarize-message-button.js +2 -2
  176. package/dist/collection/components/mailbox/nylas-threads-refresh/nylas-threads-refresh.js +2 -2
  177. package/dist/collection/components/mailbox/nylas-threads-search/nylas-threads-search.js +1 -1
  178. package/dist/collection/components/mailbox/nylas-view-email/nylas-view-email.js +1 -1
  179. package/dist/collection/components/mailbox/nylas-view-thread/nylas-view-thread.js +1 -1
  180. package/dist/collection/components/nylas-if-state/nylas-if-state.js +1 -1
  181. package/dist/collection/components/nylas-login/nylas-login.js +1 -1
  182. package/dist/collection/components/nylas-provider/nylas-provider.js +1 -1
  183. package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +1 -1
  184. package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +1 -1
  185. package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
  186. package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +33 -12
  187. package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
  188. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.css +1 -1
  189. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +48 -25
  190. package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js.map +1 -1
  191. package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js +1 -1
  192. package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
  193. package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js +1 -1
  194. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +92 -75
  195. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
  196. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js +1 -1
  197. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js.map +1 -1
  198. package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
  199. package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +1 -1
  200. package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js +3 -3
  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.css +98 -0
  206. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +219 -0
  207. package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -0
  208. package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +1 -1
  209. package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +1 -1
  210. package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +2 -2
  211. package/dist/components/add-circle.js +1 -1
  212. package/dist/components/archive.js +1 -1
  213. package/dist/components/arrow.js +1 -1
  214. package/dist/components/bold.js +1 -1
  215. package/dist/components/button-component2.js +1 -1
  216. package/dist/components/calendar-cancel.js +1 -1
  217. package/dist/components/calendar-check.js +1 -1
  218. package/dist/components/calendar-info.js +1 -1
  219. package/dist/components/calendar-patterns.js +1 -1
  220. package/dist/components/calendar.js +1 -1
  221. package/dist/components/checkbox-component2.js +1 -1
  222. package/dist/components/checkbox-component2.js.map +1 -1
  223. package/dist/components/checkmark-circle.js +1 -1
  224. package/dist/components/chevron.js +1 -1
  225. package/dist/components/clock.js +1 -1
  226. package/dist/components/close.js +1 -1
  227. package/dist/components/document-refresh-icon.js +1 -1
  228. package/dist/components/flow.js +1 -1
  229. package/dist/components/folder.js +1 -1
  230. package/dist/components/forward.js +1 -1
  231. package/dist/components/globe.js +1 -1
  232. package/dist/components/google-logo.js +1 -1
  233. package/dist/components/inbox.js +1 -1
  234. package/dist/components/info.js +1 -1
  235. package/dist/components/input-component2.js +1 -1
  236. package/dist/components/input-dropdown2.js +14 -3
  237. package/dist/components/input-dropdown2.js.map +1 -1
  238. package/dist/components/italic.js +1 -1
  239. package/dist/components/loading.js +1 -1
  240. package/dist/components/location-off.js +1 -1
  241. package/dist/components/location.js +1 -1
  242. package/dist/components/microsoft-logo.js +1 -1
  243. package/dist/components/multi-select-dropdown2.js +2 -2
  244. package/dist/components/nylas-additional-participants2.js +17 -13
  245. package/dist/components/nylas-additional-participants2.js.map +1 -1
  246. package/dist/components/nylas-availability-picker2.js +28 -16
  247. package/dist/components/nylas-availability-picker2.js.map +1 -1
  248. package/dist/components/nylas-cancel-booking-form2.js +1 -1
  249. package/dist/components/nylas-cancellation-policy2.js +1 -1
  250. package/dist/components/nylas-cancelled-event-card2.js +1 -1
  251. package/dist/components/nylas-composer2.js +1 -1
  252. package/dist/components/nylas-custom-booking-flow.js +1 -1
  253. package/dist/components/nylas-customize-booking-settings2.js +1 -1
  254. package/dist/components/nylas-editor-tabs2.js +184 -154
  255. package/dist/components/nylas-editor-tabs2.js.map +1 -1
  256. package/dist/components/nylas-event-info2.js +1 -1
  257. package/dist/components/nylas-event-limits2.js +1 -1
  258. package/dist/components/nylas-event-location2.js +3 -3
  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-login.js +1 -1
  265. package/dist/components/nylas-logo2.js +1 -1
  266. package/dist/components/nylas-mailbox-toolbar-button.js +1 -1
  267. package/dist/components/nylas-mailbox.js +1 -1
  268. package/dist/components/nylas-min-booking-notice2.js +1 -1
  269. package/dist/components/nylas-min-cancellation-notice2.js +1 -1
  270. package/dist/components/nylas-notification2.js +1 -1
  271. package/dist/components/nylas-participants-custom-availability.d.ts +11 -0
  272. package/dist/components/nylas-participants-custom-availability.js +8 -0
  273. package/dist/components/nylas-participants-custom-availability.js.map +1 -0
  274. package/dist/components/nylas-participants-custom-availability2.js +218 -0
  275. package/dist/components/nylas-participants-custom-availability2.js.map +1 -0
  276. package/dist/components/nylas-provider.js +1 -1
  277. package/dist/components/nylas-scheduler-editor.js +100 -88
  278. package/dist/components/nylas-scheduler-editor.js.map +1 -1
  279. package/dist/components/nylas-summarize-message-button2.js +2 -2
  280. package/dist/components/nylas-threads-refresh.js +2 -2
  281. package/dist/components/nylas-threads-search.js +1 -1
  282. package/dist/components/nylas-time-window-picker2.js +1 -1
  283. package/dist/components/nylas-timeslot-interval2.js +2 -2
  284. package/dist/components/nylas-view-email2.js +1 -1
  285. package/dist/components/nylas-view-thread.js +1 -1
  286. package/dist/components/people.js +1 -1
  287. package/dist/components/person.js +1 -1
  288. package/dist/components/play.js +1 -1
  289. package/dist/components/radio-button-group2.js +1 -1
  290. package/dist/components/refresh.js +1 -1
  291. package/dist/components/reply-all.js +1 -1
  292. package/dist/components/reply.js +1 -1
  293. package/dist/components/search.js +1 -1
  294. package/dist/components/select-dropdown2.js +2 -2
  295. package/dist/components/sent.js +1 -1
  296. package/dist/components/spam.js +1 -1
  297. package/dist/components/star.js +1 -1
  298. package/dist/components/stop.js +1 -1
  299. package/dist/components/textarea-component.js +1 -1
  300. package/dist/components/time-period-selector2.js +1 -1
  301. package/dist/components/toggle-switch.js +1 -49
  302. package/dist/components/toggle-switch.js.map +1 -1
  303. package/dist/components/toggle-switch2.js +53 -0
  304. package/dist/components/toggle-switch2.js.map +1 -0
  305. package/dist/components/toolitp-component.js +1 -1
  306. package/dist/components/translate.js +1 -1
  307. package/dist/components/trash.js +1 -1
  308. package/dist/components/underline.js +1 -1
  309. package/dist/components/warning.js +1 -1
  310. package/dist/esm/add-circle-icon.entry.js +1 -1
  311. package/dist/esm/add-circle-icon_2.entry.js +2 -2
  312. package/dist/esm/archive-icon.entry.js +1 -1
  313. package/dist/esm/archive-icon_7.entry.js +7 -7
  314. package/dist/esm/arrow-icon.entry.js +1 -1
  315. package/dist/esm/bold-icon.entry.js +1 -1
  316. package/dist/esm/bold-icon_3.entry.js +3 -3
  317. package/dist/esm/button-component.entry.js +1 -1
  318. package/dist/esm/calendar-cancel-icon.entry.js +1 -1
  319. package/dist/esm/calendar-check-icon.entry.js +1 -1
  320. package/dist/esm/calendar-check-icon_2.entry.js +2 -2
  321. package/dist/esm/calendar-icon.entry.js +1 -1
  322. package/dist/esm/calendar-info-icon.entry.js +1 -1
  323. package/dist/esm/{calendar-info-icon_27.entry.js → calendar-info-icon_28.entry.js} +300 -413
  324. package/dist/esm/calendar-info-icon_28.entry.js.map +1 -0
  325. package/dist/esm/calendar-patterns-icon.entry.js +1 -1
  326. package/dist/esm/checkbox-component.entry.js +1 -1
  327. package/dist/esm/checkbox-component.entry.js.map +1 -1
  328. package/dist/esm/checkmark-circle-icon.entry.js +1 -1
  329. package/dist/esm/chevron-icon.entry.js +1 -1
  330. package/dist/esm/chevron-icon_3.entry.js +4 -4
  331. package/dist/esm/clock-icon.entry.js +1 -1
  332. package/dist/esm/clock-icon_2.entry.js +2 -2
  333. package/dist/esm/close-icon.entry.js +1 -1
  334. package/dist/esm/document-refresh-icon.entry.js +1 -1
  335. package/dist/esm/flow-icon.entry.js +1 -1
  336. package/dist/esm/folder-icon.entry.js +1 -1
  337. package/dist/esm/forward-icon.entry.js +1 -1
  338. package/dist/esm/forward-icon_6.entry.js +7 -7
  339. package/dist/esm/globe-icon.entry.js +1 -1
  340. package/dist/esm/google-logo-icon.entry.js +1 -1
  341. package/dist/esm/google-logo-icon_4.entry.js +96 -78
  342. package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
  343. package/dist/esm/inbox-icon.entry.js +1 -1
  344. package/dist/esm/index-582cfc93.js +18 -14
  345. package/dist/esm/index-7cb0dd3d.js +10 -10
  346. package/dist/esm/{index.es-896126fc.js → index.es-c5a8a1ac.js} +2 -2
  347. package/dist/esm/{index.es-896126fc.js.map → index.es-c5a8a1ac.js.map} +1 -1
  348. package/dist/esm/index.js +2 -2
  349. package/dist/esm/info-icon.entry.js +1 -1
  350. package/dist/esm/info-icon_2.entry.js +2 -2
  351. package/dist/esm/input-component.entry.js +1 -1
  352. package/dist/esm/input-dropdown.entry.js +13 -3
  353. package/dist/esm/input-dropdown.entry.js.map +1 -1
  354. package/dist/esm/input-dropdown_2.entry.js +14 -4
  355. package/dist/esm/input-dropdown_2.entry.js.map +1 -1
  356. package/dist/esm/italic-icon.entry.js +1 -1
  357. package/dist/esm/loader.js +1 -1
  358. package/dist/esm/loading-icon.entry.js +1 -1
  359. package/dist/esm/location-icon.entry.js +1 -1
  360. package/dist/esm/location-off-icon.entry.js +1 -1
  361. package/dist/esm/{mailbox-store-c9b2a4fd.js → mailbox-store-94133e15.js} +3 -3
  362. package/dist/esm/{mailbox-store-c9b2a4fd.js.map → mailbox-store-94133e15.js.map} +1 -1
  363. package/dist/esm/microsoft-logo-icon.entry.js +1 -1
  364. package/dist/esm/multi-select-dropdown.entry.js +3 -3
  365. package/dist/esm/nylas-additional-participants.entry.js +19 -15
  366. package/dist/esm/nylas-additional-participants.entry.js.map +1 -1
  367. package/dist/esm/{nylas-api-request-27e81d64.js → nylas-api-request-5ac7887c.js} +2 -2
  368. package/dist/esm/{nylas-api-request-27e81d64.js.map → nylas-api-request-5ac7887c.js.map} +1 -1
  369. package/dist/esm/nylas-availability-picker.entry.js +29 -18
  370. package/dist/esm/nylas-availability-picker.entry.js.map +1 -1
  371. package/dist/esm/nylas-booked-event-card.entry.js +2 -2
  372. package/dist/esm/nylas-booked-event-card_10.entry.js +4 -4
  373. package/dist/esm/nylas-booking-calendar-picker.entry.js +2 -2
  374. package/dist/esm/nylas-booking-form.entry.js +2 -2
  375. package/dist/esm/nylas-buffer-time.entry.js +2 -2
  376. package/dist/esm/nylas-calendar-picker.entry.js +2 -2
  377. package/dist/esm/nylas-cancel-booking-form.entry.js +3 -3
  378. package/dist/esm/nylas-cancellation-policy.entry.js +3 -3
  379. package/dist/esm/nylas-cancelled-event-card.entry.js +3 -3
  380. package/dist/esm/nylas-composer.entry.js +2 -2
  381. package/dist/esm/nylas-custom-booking-flow.entry.js +3 -3
  382. package/dist/esm/nylas-customize-booking-settings.entry.js +3 -3
  383. package/dist/esm/nylas-date-picker.entry.js +2 -2
  384. package/dist/esm/nylas-editor-tabs.entry.js +96 -78
  385. package/dist/esm/nylas-editor-tabs.entry.js.map +1 -1
  386. package/dist/esm/nylas-event-description.entry.js +2 -2
  387. package/dist/esm/nylas-event-duration.entry.js +2 -2
  388. package/dist/esm/nylas-event-info.entry.js +3 -3
  389. package/dist/esm/nylas-event-limits.entry.js +3 -3
  390. package/dist/esm/nylas-event-location.entry.js +5 -5
  391. package/dist/esm/nylas-event-title.entry.js +2 -2
  392. package/dist/esm/nylas-form-card.entry.js +3 -3
  393. package/dist/esm/nylas-if-state.entry.js +3 -3
  394. package/dist/esm/nylas-limit-future-bookings.entry.js +3 -3
  395. package/dist/esm/nylas-list-configurations.entry.js +2 -2
  396. package/dist/esm/nylas-list-folders.entry.js +3 -3
  397. package/dist/esm/nylas-list-threads.entry.js +3 -3
  398. package/dist/esm/nylas-locale-switch.entry.js +2 -2
  399. package/dist/esm/nylas-login.entry.js +3 -3
  400. package/dist/esm/nylas-logo.entry.js +1 -1
  401. package/dist/esm/nylas-mailbox-pagination.entry.js +2 -2
  402. package/dist/esm/nylas-mailbox-toolbar-button.entry.js +3 -3
  403. package/dist/esm/nylas-mailbox.entry.js +4 -4
  404. package/dist/esm/nylas-min-booking-notice.entry.js +3 -3
  405. package/dist/esm/nylas-min-cancellation-notice.entry.js +3 -3
  406. package/dist/esm/nylas-notification.entry.js +2 -2
  407. package/dist/esm/nylas-participants-custom-availability.entry.js +138 -0
  408. package/dist/esm/nylas-participants-custom-availability.entry.js.map +1 -0
  409. package/dist/esm/nylas-provider.entry.js +5 -5
  410. package/dist/esm/nylas-scheduler-editor.entry.js +3 -3
  411. package/dist/esm/nylas-scheduling.entry.js +3 -3
  412. package/dist/esm/nylas-selected-event-card.entry.js +2 -2
  413. package/dist/esm/nylas-summarize-message-button.entry.js +4 -4
  414. package/dist/esm/nylas-threads-refresh.entry.js +4 -4
  415. package/dist/esm/nylas-threads-search.entry.js +3 -3
  416. package/dist/esm/nylas-time-window-picker.entry.js +2 -2
  417. package/dist/esm/nylas-timeslot-interval.entry.js +4 -4
  418. package/dist/esm/nylas-timeslot-picker.entry.js +2 -2
  419. package/dist/esm/nylas-view-email.entry.js +2 -2
  420. package/dist/esm/nylas-view-thread.entry.js +3 -3
  421. package/dist/esm/nylas-web-elements.js +1 -1
  422. package/dist/esm/people-icon.entry.js +1 -1
  423. package/dist/esm/person-icon.entry.js +1 -1
  424. package/dist/esm/play-icon.entry.js +1 -1
  425. package/dist/esm/play-icon_2.entry.js +2 -2
  426. package/dist/esm/radio-button-group.entry.js +1 -1
  427. package/dist/esm/refresh-icon.entry.js +1 -1
  428. package/dist/esm/{register-component-6ae95538.js → register-component-aef40ec4.js} +2 -2
  429. package/dist/esm/{register-component-6ae95538.js.map → register-component-aef40ec4.js.map} +1 -1
  430. package/dist/esm/reply-all-icon.entry.js +1 -1
  431. package/dist/esm/reply-icon.entry.js +1 -1
  432. package/dist/esm/{scheduler-store-17f7f1c8.js → scheduler-store-6c4866d6.js} +2 -2
  433. package/dist/{nylas-web-elements/scheduler-store-17f7f1c8.js.map → esm/scheduler-store-6c4866d6.js.map} +1 -1
  434. package/dist/esm/search-icon.entry.js +1 -1
  435. package/dist/esm/select-dropdown.entry.js +2 -2
  436. package/dist/esm/sent-icon.entry.js +1 -1
  437. package/dist/esm/spam-icon.entry.js +1 -1
  438. package/dist/esm/star-icon.entry.js +1 -1
  439. package/dist/esm/stop-icon.entry.js +1 -1
  440. package/dist/esm/textarea-component.entry.js +1 -1
  441. package/dist/esm/time-period-selector.entry.js +2 -2
  442. package/dist/esm/toggle-switch.entry.js +1 -1
  443. package/dist/esm/toggle-switch.entry.js.map +1 -1
  444. package/dist/esm/tooltip-component.entry.js +1 -1
  445. package/dist/esm/translate-icon.entry.js +1 -1
  446. package/dist/esm/trash-icon.entry.js +1 -1
  447. package/dist/esm/underline-icon.entry.js +1 -1
  448. package/dist/{nylas-web-elements/utils-49a1d17b.js → esm/utils-04c10cbd.js} +2 -2
  449. package/dist/esm/{utils-49a1d17b.js.map → utils-04c10cbd.js.map} +1 -1
  450. package/dist/esm/warning-icon.entry.js +1 -1
  451. package/dist/nylas-web-elements/add-circle-icon.entry.js +1 -1
  452. package/dist/nylas-web-elements/archive-icon.entry.js +1 -1
  453. package/dist/nylas-web-elements/arrow-icon.entry.js +1 -1
  454. package/dist/nylas-web-elements/bold-icon.entry.js +1 -1
  455. package/dist/nylas-web-elements/button-component.entry.js +1 -1
  456. package/dist/nylas-web-elements/calendar-cancel-icon.entry.js +1 -1
  457. package/dist/nylas-web-elements/calendar-check-icon.entry.js +1 -1
  458. package/dist/nylas-web-elements/calendar-icon.entry.js +1 -1
  459. package/dist/nylas-web-elements/calendar-info-icon.entry.js +1 -1
  460. package/dist/nylas-web-elements/calendar-patterns-icon.entry.js +1 -1
  461. package/dist/nylas-web-elements/checkbox-component.entry.js +1 -1
  462. package/dist/nylas-web-elements/checkbox-component.entry.js.map +1 -1
  463. package/dist/nylas-web-elements/checkmark-circle-icon.entry.js +1 -1
  464. package/dist/nylas-web-elements/chevron-icon.entry.js +1 -1
  465. package/dist/nylas-web-elements/clock-icon.entry.js +1 -1
  466. package/dist/nylas-web-elements/close-icon.entry.js +1 -1
  467. package/dist/nylas-web-elements/document-refresh-icon.entry.js +1 -1
  468. package/dist/nylas-web-elements/flow-icon.entry.js +1 -1
  469. package/dist/nylas-web-elements/folder-icon.entry.js +1 -1
  470. package/dist/nylas-web-elements/forward-icon.entry.js +1 -1
  471. package/dist/nylas-web-elements/globe-icon.entry.js +1 -1
  472. package/dist/nylas-web-elements/google-logo-icon.entry.js +1 -1
  473. package/dist/nylas-web-elements/inbox-icon.entry.js +1 -1
  474. package/dist/nylas-web-elements/{index.es-896126fc.js → index.es-c5a8a1ac.js} +2 -2
  475. package/dist/nylas-web-elements/{index.es-896126fc.js.map → index.es-c5a8a1ac.js.map} +1 -1
  476. package/dist/nylas-web-elements/index.esm.js +2 -2
  477. package/dist/nylas-web-elements/info-icon.entry.js +1 -1
  478. package/dist/nylas-web-elements/input-component.entry.js +1 -1
  479. package/dist/nylas-web-elements/input-dropdown.entry.js +13 -3
  480. package/dist/nylas-web-elements/input-dropdown.entry.js.map +1 -1
  481. package/dist/nylas-web-elements/italic-icon.entry.js +1 -1
  482. package/dist/nylas-web-elements/loading-icon.entry.js +1 -1
  483. package/dist/nylas-web-elements/location-icon.entry.js +1 -1
  484. package/dist/nylas-web-elements/location-off-icon.entry.js +1 -1
  485. package/dist/nylas-web-elements/{mailbox-store-c9b2a4fd.js → mailbox-store-94133e15.js} +3 -3
  486. package/dist/nylas-web-elements/{mailbox-store-c9b2a4fd.js.map → mailbox-store-94133e15.js.map} +1 -1
  487. package/dist/nylas-web-elements/microsoft-logo-icon.entry.js +1 -1
  488. package/dist/nylas-web-elements/multi-select-dropdown.entry.js +3 -3
  489. package/dist/nylas-web-elements/nylas-additional-participants.entry.js +19 -15
  490. package/dist/nylas-web-elements/nylas-additional-participants.entry.js.map +1 -1
  491. package/dist/nylas-web-elements/{nylas-api-request-27e81d64.js → nylas-api-request-5ac7887c.js} +2 -2
  492. package/dist/nylas-web-elements/{nylas-api-request-27e81d64.js.map → nylas-api-request-5ac7887c.js.map} +1 -1
  493. package/dist/nylas-web-elements/nylas-availability-picker.entry.js +29 -18
  494. package/dist/nylas-web-elements/nylas-availability-picker.entry.js.map +1 -1
  495. package/dist/nylas-web-elements/nylas-booked-event-card.entry.js +2 -2
  496. package/dist/nylas-web-elements/nylas-booking-calendar-picker.entry.js +2 -2
  497. package/dist/nylas-web-elements/nylas-booking-form.entry.js +2 -2
  498. package/dist/nylas-web-elements/nylas-buffer-time.entry.js +2 -2
  499. package/dist/nylas-web-elements/nylas-calendar-picker.entry.js +2 -2
  500. package/dist/nylas-web-elements/nylas-cancel-booking-form.entry.js +3 -3
  501. package/dist/nylas-web-elements/nylas-cancellation-policy.entry.js +3 -3
  502. package/dist/nylas-web-elements/nylas-cancelled-event-card.entry.js +3 -3
  503. package/dist/nylas-web-elements/nylas-composer.entry.js +2 -2
  504. package/dist/nylas-web-elements/nylas-custom-booking-flow.entry.js +3 -3
  505. package/dist/nylas-web-elements/nylas-customize-booking-settings.entry.js +3 -3
  506. package/dist/nylas-web-elements/nylas-date-picker.entry.js +2 -2
  507. package/dist/nylas-web-elements/nylas-editor-tabs.entry.js +96 -78
  508. package/dist/nylas-web-elements/nylas-editor-tabs.entry.js.map +1 -1
  509. package/dist/nylas-web-elements/nylas-event-description.entry.js +2 -2
  510. package/dist/nylas-web-elements/nylas-event-duration.entry.js +2 -2
  511. package/dist/nylas-web-elements/nylas-event-info.entry.js +3 -3
  512. package/dist/nylas-web-elements/nylas-event-limits.entry.js +3 -3
  513. package/dist/nylas-web-elements/nylas-event-location.entry.js +5 -5
  514. package/dist/nylas-web-elements/nylas-event-title.entry.js +2 -2
  515. package/dist/nylas-web-elements/nylas-form-card.entry.js +3 -3
  516. package/dist/nylas-web-elements/nylas-if-state.entry.js +3 -3
  517. package/dist/nylas-web-elements/nylas-limit-future-bookings.entry.js +3 -3
  518. package/dist/nylas-web-elements/nylas-list-configurations.entry.js +2 -2
  519. package/dist/nylas-web-elements/nylas-list-folders.entry.js +3 -3
  520. package/dist/nylas-web-elements/nylas-list-threads.entry.js +3 -3
  521. package/dist/nylas-web-elements/nylas-locale-switch.entry.js +2 -2
  522. package/dist/nylas-web-elements/nylas-login.entry.js +3 -3
  523. package/dist/nylas-web-elements/nylas-logo.entry.js +1 -1
  524. package/dist/nylas-web-elements/nylas-mailbox-pagination.entry.js +2 -2
  525. package/dist/nylas-web-elements/nylas-mailbox-toolbar-button.entry.js +3 -3
  526. package/dist/nylas-web-elements/nylas-mailbox.entry.js +4 -4
  527. package/dist/nylas-web-elements/nylas-min-booking-notice.entry.js +3 -3
  528. package/dist/nylas-web-elements/nylas-min-cancellation-notice.entry.js +3 -3
  529. package/dist/nylas-web-elements/nylas-notification.entry.js +2 -2
  530. package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js +138 -0
  531. package/dist/nylas-web-elements/nylas-participants-custom-availability.entry.js.map +1 -0
  532. package/dist/nylas-web-elements/nylas-provider.entry.js +5 -5
  533. package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +3 -3
  534. package/dist/nylas-web-elements/nylas-scheduling.entry.js +3 -3
  535. package/dist/nylas-web-elements/nylas-selected-event-card.entry.js +2 -2
  536. package/dist/nylas-web-elements/nylas-summarize-message-button.entry.js +4 -4
  537. package/dist/nylas-web-elements/nylas-threads-refresh.entry.js +4 -4
  538. package/dist/nylas-web-elements/nylas-threads-search.entry.js +3 -3
  539. package/dist/nylas-web-elements/nylas-time-window-picker.entry.js +2 -2
  540. package/dist/nylas-web-elements/nylas-timeslot-interval.entry.js +4 -4
  541. package/dist/nylas-web-elements/nylas-timeslot-picker.entry.js +2 -2
  542. package/dist/nylas-web-elements/nylas-view-email.entry.js +2 -2
  543. package/dist/nylas-web-elements/nylas-view-thread.entry.js +3 -3
  544. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  545. package/dist/nylas-web-elements/{p-e4a7746d.entry.js → p-012cb022.entry.js} +2 -2
  546. package/dist/nylas-web-elements/{p-b9064de4.entry.js → p-017f2538.entry.js} +2 -2
  547. package/dist/nylas-web-elements/p-086746ee.entry.js +2 -0
  548. package/dist/nylas-web-elements/p-0919bbbe.entry.js +2 -0
  549. package/dist/nylas-web-elements/{p-da21471c.entry.js → p-13eb1a05.entry.js} +2 -2
  550. package/dist/nylas-web-elements/{p-deafc6bc.entry.js → p-1569f74f.entry.js} +2 -2
  551. package/dist/nylas-web-elements/{p-6e888067.entry.js → p-23c143f6.entry.js} +2 -2
  552. package/dist/nylas-web-elements/p-2743621d.entry.js +2 -0
  553. package/dist/nylas-web-elements/p-2743621d.entry.js.map +1 -0
  554. package/dist/nylas-web-elements/{p-a7dd4c24.entry.js → p-30144ca0.entry.js} +2 -2
  555. package/dist/nylas-web-elements/{p-11f94952.entry.js → p-336631dd.entry.js} +2 -2
  556. package/dist/nylas-web-elements/p-43bfaa93.entry.js +2 -0
  557. package/dist/nylas-web-elements/{p-120d2c72.entry.js → p-4e48846a.entry.js} +2 -2
  558. package/dist/nylas-web-elements/{p-4b84ab3f.entry.js → p-5fd52ecd.entry.js} +2 -2
  559. package/dist/nylas-web-elements/p-62cf46ee.entry.js +2 -0
  560. package/dist/nylas-web-elements/{p-32682655.entry.js → p-672f1951.entry.js} +2 -2
  561. package/dist/nylas-web-elements/{p-ace74b9d.entry.js → p-84c53084.entry.js} +2 -2
  562. package/dist/nylas-web-elements/{p-470536e0.entry.js → p-8c1a5e57.entry.js} +2 -2
  563. package/dist/nylas-web-elements/p-8eddadb3.entry.js +2 -0
  564. package/dist/nylas-web-elements/{p-0dbc0c01.entry.js.map → p-8eddadb3.entry.js.map} +1 -1
  565. package/dist/nylas-web-elements/p-938d4ec9.entry.js +2 -0
  566. package/dist/nylas-web-elements/{p-fbac3865.entry.js.map → p-938d4ec9.entry.js.map} +1 -1
  567. package/dist/nylas-web-elements/{p-6891ad5d.entry.js → p-a118f20c.entry.js} +2 -2
  568. package/dist/nylas-web-elements/{p-24082558.entry.js → p-a5dbdc8e.entry.js} +2 -2
  569. package/dist/nylas-web-elements/{p-4fdc6122.entry.js → p-a7640232.entry.js} +2 -2
  570. package/dist/nylas-web-elements/{p-09fec39c.entry.js → p-a804616a.entry.js} +2 -2
  571. package/dist/nylas-web-elements/{p-27db7b0b.entry.js → p-ad93d3bd.entry.js} +3 -3
  572. package/dist/nylas-web-elements/{p-bfd3b5f0.entry.js → p-b3d46e08.entry.js} +2 -2
  573. package/dist/nylas-web-elements/{p-4b1466b3.entry.js → p-b443f769.entry.js} +2 -2
  574. package/dist/nylas-web-elements/{p-c8c737ed.entry.js → p-c1df61d0.entry.js} +2 -2
  575. package/dist/nylas-web-elements/{p-395f49eb.entry.js → p-cc67e6a8.entry.js} +2 -2
  576. package/dist/nylas-web-elements/{p-4f548e66.entry.js → p-d1d984c5.entry.js} +2 -2
  577. package/dist/nylas-web-elements/{p-98a2f588.entry.js → p-d9a145a5.entry.js} +2 -2
  578. package/dist/nylas-web-elements/p-dcb497d4.entry.js +2 -0
  579. package/dist/nylas-web-elements/p-dcb497d4.entry.js.map +1 -0
  580. package/dist/nylas-web-elements/{p-13b003b5.entry.js → p-df2b34ee.entry.js} +2 -2
  581. package/dist/nylas-web-elements/{p-ec26560f.entry.js → p-e9c1e983.entry.js} +2 -2
  582. package/dist/nylas-web-elements/p-e9f7d494.entry.js +2 -0
  583. package/dist/nylas-web-elements/{p-53da3000.entry.js.map → p-e9f7d494.entry.js.map} +1 -1
  584. package/dist/nylas-web-elements/p-f1e9ed6b.entry.js +2 -0
  585. package/dist/nylas-web-elements/p-f1e9ed6b.entry.js.map +1 -0
  586. package/dist/nylas-web-elements/p-f8e0164c.entry.js +2 -0
  587. package/dist/nylas-web-elements/p-f8e0164c.entry.js.map +1 -0
  588. package/dist/nylas-web-elements/{p-b27e34a9.entry.js → p-fbfa3a7d.entry.js} +2 -2
  589. package/dist/nylas-web-elements/{p-d5146511.entry.js → p-fd8e29e6.entry.js} +2 -2
  590. package/dist/nylas-web-elements/people-icon.entry.js +1 -1
  591. package/dist/nylas-web-elements/person-icon.entry.js +1 -1
  592. package/dist/nylas-web-elements/play-icon.entry.js +1 -1
  593. package/dist/nylas-web-elements/radio-button-group.entry.js +1 -1
  594. package/dist/nylas-web-elements/refresh-icon.entry.js +1 -1
  595. package/dist/nylas-web-elements/{register-component-6ae95538.js → register-component-aef40ec4.js} +2 -2
  596. package/dist/nylas-web-elements/{register-component-6ae95538.js.map → register-component-aef40ec4.js.map} +1 -1
  597. package/dist/nylas-web-elements/reply-all-icon.entry.js +1 -1
  598. package/dist/nylas-web-elements/reply-icon.entry.js +1 -1
  599. package/dist/nylas-web-elements/{scheduler-store-17f7f1c8.js → scheduler-store-6c4866d6.js} +2 -2
  600. package/dist/{esm/scheduler-store-17f7f1c8.js.map → nylas-web-elements/scheduler-store-6c4866d6.js.map} +1 -1
  601. package/dist/nylas-web-elements/search-icon.entry.js +1 -1
  602. package/dist/nylas-web-elements/select-dropdown.entry.js +2 -2
  603. package/dist/nylas-web-elements/sent-icon.entry.js +1 -1
  604. package/dist/nylas-web-elements/spam-icon.entry.js +1 -1
  605. package/dist/nylas-web-elements/star-icon.entry.js +1 -1
  606. package/dist/nylas-web-elements/stop-icon.entry.js +1 -1
  607. package/dist/nylas-web-elements/textarea-component.entry.js +1 -1
  608. package/dist/nylas-web-elements/time-period-selector.entry.js +2 -2
  609. package/dist/nylas-web-elements/toggle-switch.entry.js +1 -1
  610. package/dist/nylas-web-elements/toggle-switch.entry.js.map +1 -1
  611. package/dist/nylas-web-elements/tooltip-component.entry.js +1 -1
  612. package/dist/nylas-web-elements/translate-icon.entry.js +1 -1
  613. package/dist/nylas-web-elements/trash-icon.entry.js +1 -1
  614. package/dist/nylas-web-elements/underline-icon.entry.js +1 -1
  615. package/dist/{esm/utils-49a1d17b.js → nylas-web-elements/utils-04c10cbd.js} +2 -2
  616. package/dist/nylas-web-elements/{utils-49a1d17b.js.map → utils-04c10cbd.js.map} +1 -1
  617. package/dist/nylas-web-elements/warning-icon.entry.js +1 -1
  618. package/dist/types/components/design-system/input-dropdown/input-dropdown.d.ts +2 -0
  619. package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +6 -1
  620. package/dist/types/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.d.ts +2 -4
  621. package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +12 -5
  622. package/dist/types/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.d.ts +36 -0
  623. package/dist/types/components.d.ts +122 -9
  624. package/package.json +1 -1
  625. package/dist/cjs/calendar-info-icon_27.cjs.entry.js.map +0 -1
  626. package/dist/esm/calendar-info-icon_27.entry.js.map +0 -1
  627. package/dist/nylas-web-elements/p-0dbc0c01.entry.js +0 -2
  628. package/dist/nylas-web-elements/p-3fd63454.entry.js +0 -2
  629. package/dist/nylas-web-elements/p-3fd63454.entry.js.map +0 -1
  630. package/dist/nylas-web-elements/p-427548f5.entry.js +0 -2
  631. package/dist/nylas-web-elements/p-427548f5.entry.js.map +0 -1
  632. package/dist/nylas-web-elements/p-53da3000.entry.js +0 -2
  633. package/dist/nylas-web-elements/p-7fac2bba.entry.js +0 -2
  634. package/dist/nylas-web-elements/p-96418bc6.entry.js +0 -2
  635. package/dist/nylas-web-elements/p-9acfea5f.entry.js +0 -2
  636. package/dist/nylas-web-elements/p-9acfea5f.entry.js.map +0 -1
  637. package/dist/nylas-web-elements/p-c170c56d.entry.js +0 -2
  638. package/dist/nylas-web-elements/p-de63bc35.entry.js +0 -2
  639. package/dist/nylas-web-elements/p-efd5b80a.entry.js +0 -2
  640. package/dist/nylas-web-elements/p-efd5b80a.entry.js.map +0 -1
  641. package/dist/nylas-web-elements/p-fbac3865.entry.js +0 -2
  642. /package/dist/nylas-web-elements/{p-e4a7746d.entry.js.map → p-012cb022.entry.js.map} +0 -0
  643. /package/dist/nylas-web-elements/{p-b9064de4.entry.js.map → p-017f2538.entry.js.map} +0 -0
  644. /package/dist/nylas-web-elements/{p-96418bc6.entry.js.map → p-086746ee.entry.js.map} +0 -0
  645. /package/dist/nylas-web-elements/{p-de63bc35.entry.js.map → p-0919bbbe.entry.js.map} +0 -0
  646. /package/dist/nylas-web-elements/{p-da21471c.entry.js.map → p-13eb1a05.entry.js.map} +0 -0
  647. /package/dist/nylas-web-elements/{p-deafc6bc.entry.js.map → p-1569f74f.entry.js.map} +0 -0
  648. /package/dist/nylas-web-elements/{p-6e888067.entry.js.map → p-23c143f6.entry.js.map} +0 -0
  649. /package/dist/nylas-web-elements/{p-a7dd4c24.entry.js.map → p-30144ca0.entry.js.map} +0 -0
  650. /package/dist/nylas-web-elements/{p-11f94952.entry.js.map → p-336631dd.entry.js.map} +0 -0
  651. /package/dist/nylas-web-elements/{p-7fac2bba.entry.js.map → p-43bfaa93.entry.js.map} +0 -0
  652. /package/dist/nylas-web-elements/{p-120d2c72.entry.js.map → p-4e48846a.entry.js.map} +0 -0
  653. /package/dist/nylas-web-elements/{p-4b84ab3f.entry.js.map → p-5fd52ecd.entry.js.map} +0 -0
  654. /package/dist/nylas-web-elements/{p-c170c56d.entry.js.map → p-62cf46ee.entry.js.map} +0 -0
  655. /package/dist/nylas-web-elements/{p-32682655.entry.js.map → p-672f1951.entry.js.map} +0 -0
  656. /package/dist/nylas-web-elements/{p-ace74b9d.entry.js.map → p-84c53084.entry.js.map} +0 -0
  657. /package/dist/nylas-web-elements/{p-470536e0.entry.js.map → p-8c1a5e57.entry.js.map} +0 -0
  658. /package/dist/nylas-web-elements/{p-6891ad5d.entry.js.map → p-a118f20c.entry.js.map} +0 -0
  659. /package/dist/nylas-web-elements/{p-24082558.entry.js.map → p-a5dbdc8e.entry.js.map} +0 -0
  660. /package/dist/nylas-web-elements/{p-4fdc6122.entry.js.map → p-a7640232.entry.js.map} +0 -0
  661. /package/dist/nylas-web-elements/{p-09fec39c.entry.js.map → p-a804616a.entry.js.map} +0 -0
  662. /package/dist/nylas-web-elements/{p-27db7b0b.entry.js.map → p-ad93d3bd.entry.js.map} +0 -0
  663. /package/dist/nylas-web-elements/{p-bfd3b5f0.entry.js.map → p-b3d46e08.entry.js.map} +0 -0
  664. /package/dist/nylas-web-elements/{p-4b1466b3.entry.js.map → p-b443f769.entry.js.map} +0 -0
  665. /package/dist/nylas-web-elements/{p-c8c737ed.entry.js.map → p-c1df61d0.entry.js.map} +0 -0
  666. /package/dist/nylas-web-elements/{p-395f49eb.entry.js.map → p-cc67e6a8.entry.js.map} +0 -0
  667. /package/dist/nylas-web-elements/{p-4f548e66.entry.js.map → p-d1d984c5.entry.js.map} +0 -0
  668. /package/dist/nylas-web-elements/{p-98a2f588.entry.js.map → p-d9a145a5.entry.js.map} +0 -0
  669. /package/dist/nylas-web-elements/{p-13b003b5.entry.js.map → p-df2b34ee.entry.js.map} +0 -0
  670. /package/dist/nylas-web-elements/{p-ec26560f.entry.js.map → p-e9c1e983.entry.js.map} +0 -0
  671. /package/dist/nylas-web-elements/{p-b27e34a9.entry.js.map → p-fbfa3a7d.entry.js.map} +0 -0
  672. /package/dist/nylas-web-elements/{p-d5146511.entry.js.map → p-fd8e29e6.entry.js.map} +0 -0
@@ -5,7 +5,7 @@ export class MicrosoftLogoIcon {
5
5
  this.height = '22';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: '4aa3482048f90ecbcb46d539716464bdf2c20e47', width: this.width, height: this.height, viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '27924938927bdc57e665d91623f07684aea3a6ee', d: "M0.043457 0.043457H10.4782V10.4782H0.043457V0.043457Z", fill: "#F35325" }), h("path", { key: '91decf0bfe7ef26f93ea724fa9738d1ffa1ae4a6', d: "M11.5217 0.043457H21.9565V10.4782H11.5217V0.043457Z", fill: "#81BC06" }), h("path", { key: '0f455cec58fd99a755157ab9ca950242a634d541', d: "M0.043457 11.5217H10.4782V21.9565H0.043457V11.5217Z", fill: "#05A6F0" }), h("path", { key: '80c930047e54c708d5f7cde3d88f33f2a0d0dbd5', d: "M11.5217 11.5217H21.9565V21.9565H11.5217V11.5217Z", fill: "#FFBA08" })));
8
+ return (h("svg", { key: 'deae127512c4d2b6ef876ab1311fb6ab4d5cd368', width: this.width, height: this.height, viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'ea58fbe3dac4c5a6455acec95fe9677068999d53', d: "M0.043457 0.043457H10.4782V10.4782H0.043457V0.043457Z", fill: "#F35325" }), h("path", { key: 'e8a2faf14e8a7cdf15808a1fac1b16fba79f6051', d: "M11.5217 0.043457H21.9565V10.4782H11.5217V0.043457Z", fill: "#81BC06" }), h("path", { key: '56644908156e19d4ba9eedfec54a9ffa9b9744bd', d: "M0.043457 11.5217H10.4782V21.9565H0.043457V11.5217Z", fill: "#05A6F0" }), h("path", { key: '24c76e1b54ed1cdbc97ec6e56888db403169d74f', d: "M11.5217 11.5217H21.9565V21.9565H11.5217V11.5217Z", fill: "#FFBA08" })));
9
9
  }
10
10
  static get is() { return "microsoft-logo-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class NylasLogo {
5
5
  this.height = '24';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: 'cc4e67942af5cfd37cdad41f7f8dc87652109481', width: this.width, height: this.height, viewBox: "0 0 69 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '5f5e9fd7f9ce51ec576b6004828e0c323dcb1701', "clip-path": "url(#clip0_455_3543)" }, h("path", { key: '0390e7e1cc90e26d025adccbb77df76b7c779b9e', 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" }), h("path", { key: '08783eb775743742f7520a632016676f156469d3', 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" }), h("path", { key: 'e9c104e64b877dce04ae82221cd976688e97968f', 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" }), h("path", { key: '144a43759016fd4da29dd3f0493d9221e666c89f', 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" }), h("path", { key: '9f11d314804629377158c00854f3849d1033c601', 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" }), h("path", { key: 'f6591deaa756e6e18c08a65a9eefc453965296da', 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" }), h("path", { key: 'ee90a807361a94004319eb9c5f89082558211d05', 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" }), h("path", { key: 'ac09ff51d464eba8732f1c61f18eafd587227b93', 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" })), h("defs", { key: 'c0e42870fa615d20b75bb38e4ec4047f2aba08cc' }, h("clipPath", { key: 'e19ed121d42704ac0bf568a704679ca03dd70ed7', id: "clip0_455_3543" }, h("rect", { key: '2848bbbc3c36ecb6bdbc7336e8ac07c966baca5b', width: "68.7123", height: "19.2877", fill: "white", transform: "translate(0.144043 0.356201)" })))));
8
+ return (h("svg", { key: 'dcfc1d62178b1d3d699e49e4ee23f8d3db1c58f0', width: this.width, height: this.height, viewBox: "0 0 69 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '0dba7753e8c6eaf6e21ed13db42b1f8b54be53d4', "clip-path": "url(#clip0_455_3543)" }, 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" })), h("defs", { key: 'a0d9574defb476b7e2fdb8d3b28fa08ef38f042e' }, h("clipPath", { key: 'dff8cf481c3ba6324a58fc4348a3c76c9a4c8609', id: "clip0_455_3543" }, h("rect", { key: 'f72786c654715d47462741503b6a07d635389835', width: "68.7123", height: "19.2877", fill: "white", transform: "translate(0.144043 0.356201)" })))));
9
9
  }
10
10
  static get is() { return "nylas-logo"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class PeopleIcon {
5
5
  this.height = '20';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: 'a1cc22b094657e53faf4eb18f785fe4d45284f03', xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, h("path", { key: 'ddb1774dd69ccaa5888c94b4325d9879abe9c73b', 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" })));
8
+ return (h("svg", { key: '66534381bbb0bc14b93a49ed0afdc81a917958d4', xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, 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" })));
9
9
  }
10
10
  static get is() { return "people-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class PersonIcon {
5
5
  this.height = '16';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: '3793715b5f6a412bb7ab564fb23df18fb29ae066', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '29b1ef570e1f3726edc034b6b8c524aa99f0c77f', 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" })));
8
+ return (h("svg", { key: 'b27fe7513bb484fa3e0a34d57fb39d8927ae4d4b', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
9
9
  }
10
10
  static get is() { return "person-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class PlayIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: 'c68beab7911b331b95fb99e6b0790f909dbc4420', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '41b155cbaa2b3a1a3d834940d023e9530ef28112', d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
8
+ return (h("svg", { key: '75bcdddbd491974d44ddcb8c61b9a3d3e56ad857', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5668c1fb77efb5950d65c18bfe35166a791d0f8c', d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
9
9
  }
10
10
  static get is() { return "play-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class RefreshIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: '6f08ec538071d37d3ff537182375dd582350bb8e', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'dbaaf840fa4825f6df0b9fd8f5f9d81ef1b6c7ad', 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" })));
8
+ return (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" }, 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" })));
9
9
  }
10
10
  static get is() { return "refresh-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class ReplyAllIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: 'cf3a910b7232018b6579cfe31a868e3ba54f30b0', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '1db5bb9aa170d0a00c5939cdd7bfe7b878124c2c', 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" })));
8
+ return (h("svg", { key: 'e0178c328ba6b6cee56a080b757c3c6778a8d5bf', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
9
9
  }
10
10
  static get is() { return "reply-all-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class ReplyIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: 'a353055eb9122f1dae36fbf49a557c431fd8580a', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '97ac62efd50d229e10b45fc2a47f3c8c5a9b6e5d', 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" })));
8
+ return (h("svg", { key: '6c04aaf9406e45710a19af8b19a26174d337a120', fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
9
9
  }
10
10
  static get is() { return "reply-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class SearchIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: '40a81a00f79c85303a904e3ef66e7833a240fff2', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'dd4c72fa1db6849fd72bfcb3fbde40f115caac11', 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" })));
8
+ return (h("svg", { key: 'c5f52e97100ef84d45a60c75a6edad451b809b47', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })));
9
9
  }
10
10
  static get is() { return "search-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class SentIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: 'b3c088995658cd0e496bbb5add5a4f937b96837d', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '314fb0dd64e67ad973dac494453e2c1bbbdc9f3d', d: "M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z", stroke: "auto", "stroke-width": "1.5" }), h("path", { key: 'f24cbf7ceadf6efa9676bb277fc96ac254d9c668', d: "M3.5 3.5L12 10.5", stroke: "auto", "stroke-width": "1.5" }), h("path", { key: '491979a302745c0ecbce438405cbc392593d47dd', d: "M3.5 20.5L12 13.5", stroke: "auto", "stroke-width": "1.5" })));
8
+ return (h("svg", { key: '08afee65b32b8c1b4938a4e7e5e3304783c7c04e', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'e4dfb83acddf42834e3fa7d9297ccc47e5f0e6a1', d: "M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z", stroke: "auto", "stroke-width": "1.5" }), h("path", { key: '884b52795609413be764e07669f149d19fcd069f', d: "M3.5 3.5L12 10.5", stroke: "auto", "stroke-width": "1.5" }), h("path", { key: '5106e9f76d43b36a1e2a0b88770a153bf761fb39', d: "M3.5 20.5L12 13.5", stroke: "auto", "stroke-width": "1.5" })));
9
9
  }
10
10
  static get is() { return "sent-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class SpamIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: 'a1faf60f8ef46ef4f770dda1da7d3040836faac9', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'a8a11efc172095bd69c052641ac25a2deeba649d', 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" }), h("path", { key: '2601512a6e12ac6f51145a3907d8d672f71e8cb4', d: "M2 5L12 12.5L22 5", stroke: "auto", "stroke-width": "1.5" })));
8
+ return (h("svg", { key: 'c4439b5d617da32453a9168669d24f736d5d635a', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, 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" }), h("path", { key: '0508dea54df7c0448af59b509acf8e6598cb4e4a', d: "M2 5L12 12.5L22 5", stroke: "auto", "stroke-width": "1.5" })));
9
9
  }
10
10
  static get is() { return "spam-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class StarIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: 'cde183d1ecede967504e09a1163d49440cb90202', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2e6a40a4ac879c3f7cb5fb932c54a65e86aafcf8', d: "M9.15316 5.40838C10.4198 3.13613 11.0531 2 12 2C12.9469 2 13.5802 3.13612 14.8468 5.40837L15.1745 5.99623C15.5345 6.64193 15.7144 6.96479 15.9951 7.17781C16.2757 7.39083 16.6251 7.4699 17.3241 7.62805L17.9605 7.77203C20.4201 8.32856 21.65 8.60682 21.9426 9.54773C22.2352 10.4886 21.3968 11.4691 19.7199 13.4299L19.2861 13.9372C18.8096 14.4944 18.5713 14.773 18.4641 15.1177C18.357 15.4624 18.393 15.8341 18.465 16.5776L18.5306 17.2544C18.7841 19.8706 18.9109 21.1787 18.1449 21.7602C17.3788 22.3417 16.2273 21.8115 13.9243 20.7512L13.3285 20.4768C12.6741 20.1755 12.3469 20.0248 12 20.0248C11.6531 20.0248 11.3259 20.1755 10.6715 20.4768L10.0757 20.7512C7.77268 21.8115 6.62118 22.3417 5.85515 21.7602C5.08912 21.1787 5.21588 19.8706 5.4694 17.2544L5.53498 16.5776C5.60703 15.8341 5.64305 15.4624 5.53586 15.1177C5.42868 14.773 5.19043 14.4944 4.71392 13.9372L4.2801 13.4299C2.60325 11.4691 1.76482 10.4886 2.05742 9.54773C2.35002 8.60682 3.57986 8.32856 6.03954 7.77203L6.67589 7.62805C7.37485 7.4699 7.72433 7.39083 8.00494 7.17781C8.28555 6.96479 8.46553 6.64194 8.82547 5.99623L9.15316 5.40838Z", stroke: "auto", "stroke-width": "1.5" })));
8
+ return (h("svg", { key: 'dbfec2e92df11e85f7264822bd7e8c879d4d3489', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'bf4702bf879ba7ec5bb493c28a30a3abb84e1902', d: "M9.15316 5.40838C10.4198 3.13613 11.0531 2 12 2C12.9469 2 13.5802 3.13612 14.8468 5.40837L15.1745 5.99623C15.5345 6.64193 15.7144 6.96479 15.9951 7.17781C16.2757 7.39083 16.6251 7.4699 17.3241 7.62805L17.9605 7.77203C20.4201 8.32856 21.65 8.60682 21.9426 9.54773C22.2352 10.4886 21.3968 11.4691 19.7199 13.4299L19.2861 13.9372C18.8096 14.4944 18.5713 14.773 18.4641 15.1177C18.357 15.4624 18.393 15.8341 18.465 16.5776L18.5306 17.2544C18.7841 19.8706 18.9109 21.1787 18.1449 21.7602C17.3788 22.3417 16.2273 21.8115 13.9243 20.7512L13.3285 20.4768C12.6741 20.1755 12.3469 20.0248 12 20.0248C11.6531 20.0248 11.3259 20.1755 10.6715 20.4768L10.0757 20.7512C7.77268 21.8115 6.62118 22.3417 5.85515 21.7602C5.08912 21.1787 5.21588 19.8706 5.4694 17.2544L5.53498 16.5776C5.60703 15.8341 5.64305 15.4624 5.53586 15.1177C5.42868 14.773 5.19043 14.4944 4.71392 13.9372L4.2801 13.4299C2.60325 11.4691 1.76482 10.4886 2.05742 9.54773C2.35002 8.60682 3.57986 8.32856 6.03954 7.77203L6.67589 7.62805C7.37485 7.4699 7.72433 7.39083 8.00494 7.17781C8.28555 6.96479 8.46553 6.64194 8.82547 5.99623L9.15316 5.40838Z", stroke: "auto", "stroke-width": "1.5" })));
9
9
  }
10
10
  static get is() { return "star-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class StopIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: 'b39e317c3d3a25ed955ef96918cb986264487f42', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'cec2514adff36410b8f035e6d0439ff58c7bf5cf', d: "M4 4H20V20H4V4Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
8
+ return (h("svg", { key: 'd73d0562e7851a24ef4bf2cb82444e107456d12a', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'b1507478bb4fb8f5023ff76cec9532424676dbf9', d: "M4 4H20V20H4V4Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
9
9
  }
10
10
  static get is() { return "stop-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class GlobeIcon {
5
5
  this.height = '16';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: 'cc28e003f52beddf264e14de210359dbeab11321', xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '887afb698a01900cf408d4db7cd389f3505f8211', fill: "currentColor", d: "M14.1663 4.02867C14.4267 4.12081 14.563 4.40654 14.4709 4.66685C14.3501 5.00788 14.2182 5.4771 14.1178 5.86047C14.6877 5.77587 15.2665 5.65653 15.8867 5.51288C16.1557 5.45058 16.4243 5.61815 16.4866 5.88717C16.5489 6.15619 16.3814 6.42479 16.1123 6.4871C15.339 6.66621 14.6101 6.81289 13.8717 6.90283C13.7759 7.35654 13.7014 7.77084 13.6451 8.15021C14.1202 8.04599 14.5738 8.00553 14.9996 8.02075L14.9996 8C14.9996 7.72386 15.2235 7.5 15.4996 7.5C15.7758 7.5 15.9996 7.72386 15.9996 8C15.9996 8.05657 15.9991 8.11281 15.9979 8.16871C17.1392 8.47838 17.9781 9.23987 18.3435 10.2263C18.9579 11.8853 18.1287 13.8787 15.7027 14.9569C15.4504 15.069 15.1549 14.9554 15.0427 14.7031C14.9306 14.4507 15.0442 14.1552 15.2966 14.0431C17.3705 13.1213 17.7913 11.6147 17.4057 10.5737C17.1874 9.984 16.6776 9.44916 15.9129 9.18633C15.6829 10.7237 15.021 11.9466 14.229 12.7925C14.3126 12.9656 14.3958 13.1436 14.4641 13.3151C14.5662 13.5717 14.441 13.8625 14.1844 13.9646C13.9278 14.0667 13.637 13.9415 13.5349 13.6849C13.5066 13.6137 13.4777 13.5463 13.448 13.4802C13.028 13.7794 12.5905 13.9869 12.1705 14.0835C11.5942 14.2161 10.963 14.1517 10.534 13.6942C9.88917 13.0053 9.84361 11.8611 10.2855 10.8412C10.6652 9.96479 11.4186 9.11781 12.5848 8.54034C12.6387 8.07338 12.7199 7.55894 12.8332 6.98891C12.3926 7.00755 11.9403 7.00326 11.4659 6.97127C11.1904 6.95269 10.9821 6.71428 11.0007 6.43876C11.0192 6.16325 11.2577 5.95496 11.5332 5.97353C12.0633 6.00928 12.5641 6.00772 13.0566 5.97553C13.1605 5.55444 13.3512 4.8331 13.5282 4.33317C13.6203 4.07286 13.906 3.93653 14.1663 4.02867ZM12.501 9.74109C11.8436 10.1821 11.427 10.7219 11.2031 11.2387C10.8542 12.0439 10.9881 12.716 11.2638 13.0105C11.2637 13.0104 11.2639 13.0106 11.2638 13.0105C11.3573 13.11 11.5624 13.1973 11.9463 13.109C12.2578 13.0373 12.6311 12.8571 13.0121 12.5576C12.8658 12.22 12.7272 11.8324 12.6313 11.353C12.5405 10.8996 12.4899 10.3743 12.501 9.74109ZM13.7808 11.7797C14.316 11.0956 14.759 10.1665 14.9271 9.01632C14.539 9.00681 14.1111 9.05601 13.6457 9.17854C13.605 9.19274 13.5647 9.20726 13.525 9.22209C13.4663 10.0545 13.5146 10.671 13.6118 11.1568C13.6578 11.3868 13.7156 11.5913 13.7808 11.7797ZM6.92028 5.2159C5.77942 4.88398 4.78409 5.00841 4.07616 5.21575C3.72264 5.3193 3.439 5.44393 3.24121 5.5443C3.14215 5.59457 3.0641 5.63901 3.00903 5.67212C2.98147 5.68868 2.95962 5.70244 2.9437 5.71271L2.92429 5.72542L2.91797 5.72966L2.91566 5.73123L2.91393 5.73241C2.91384 5.73249 2.91436 5.73325 2.94925 5.78397C3.23698 6.20225 3.1703 6.10548 2.91393 5.73241C2.68634 5.88881 2.62863 6.20009 2.78502 6.42767C2.94134 6.65514 3.25207 6.71313 3.47963 6.55703L3.4788 6.5576L3.48576 6.55305C3.49318 6.54826 3.50608 6.5401 3.52423 6.52919C3.56057 6.50735 3.6177 6.47463 3.69373 6.43605C3.84612 6.35872 4.07228 6.2589 4.35724 6.17544C4.92619 6.0088 5.72242 5.90898 6.64043 6.17595C7.35305 6.38517 7.66747 6.76919 7.82692 7.16112C7.98173 7.54163 8.0026 7.95751 8.00531 8.33243C7.46199 8.18407 6.79336 8.03682 6.08385 8.00744C5.04808 7.96456 3.8874 8.17096 2.87738 9.01102C1.98877 9.75011 1.78345 10.8818 2.07014 11.853C2.35713 12.8252 3.14925 13.692 4.31803 13.9348C5.22351 14.123 6.18016 13.8639 6.9599 13.5212C7.3403 13.354 7.69572 13.1594 8.0057 12.9665V13.5C8.0057 13.7761 8.22956 14 8.5057 14C8.78184 14 9.0057 13.7754 9.0057 13.4993L9.0057 8.44586C9.0058 8.05404 9.00595 7.40554 8.7532 6.78428C8.48142 6.11625 7.93342 5.51313 6.92136 5.21622L6.92028 5.2159ZM6.04249 9.00659C6.76366 9.03645 7.44769 9.209 8.0057 9.37205V11.757C7.65814 12.0182 7.13927 12.35 6.55757 12.6057C5.85264 12.9155 5.12729 13.0816 4.52148 12.9557C3.75127 12.7957 3.22322 12.2271 3.02922 11.5699C2.83491 10.9116 2.98777 10.2199 3.51683 9.77985C4.27958 9.14545 5.16917 8.97043 6.04249 9.00659Z" })));
8
+ return (h("svg", { key: 'c5b7540830d308930bf6ccca2d966eaa1c060710', xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3386ce6d36bc64433a39e22a676b66d743dadfd4', fill: "currentColor", d: "M14.1663 4.02867C14.4267 4.12081 14.563 4.40654 14.4709 4.66685C14.3501 5.00788 14.2182 5.4771 14.1178 5.86047C14.6877 5.77587 15.2665 5.65653 15.8867 5.51288C16.1557 5.45058 16.4243 5.61815 16.4866 5.88717C16.5489 6.15619 16.3814 6.42479 16.1123 6.4871C15.339 6.66621 14.6101 6.81289 13.8717 6.90283C13.7759 7.35654 13.7014 7.77084 13.6451 8.15021C14.1202 8.04599 14.5738 8.00553 14.9996 8.02075L14.9996 8C14.9996 7.72386 15.2235 7.5 15.4996 7.5C15.7758 7.5 15.9996 7.72386 15.9996 8C15.9996 8.05657 15.9991 8.11281 15.9979 8.16871C17.1392 8.47838 17.9781 9.23987 18.3435 10.2263C18.9579 11.8853 18.1287 13.8787 15.7027 14.9569C15.4504 15.069 15.1549 14.9554 15.0427 14.7031C14.9306 14.4507 15.0442 14.1552 15.2966 14.0431C17.3705 13.1213 17.7913 11.6147 17.4057 10.5737C17.1874 9.984 16.6776 9.44916 15.9129 9.18633C15.6829 10.7237 15.021 11.9466 14.229 12.7925C14.3126 12.9656 14.3958 13.1436 14.4641 13.3151C14.5662 13.5717 14.441 13.8625 14.1844 13.9646C13.9278 14.0667 13.637 13.9415 13.5349 13.6849C13.5066 13.6137 13.4777 13.5463 13.448 13.4802C13.028 13.7794 12.5905 13.9869 12.1705 14.0835C11.5942 14.2161 10.963 14.1517 10.534 13.6942C9.88917 13.0053 9.84361 11.8611 10.2855 10.8412C10.6652 9.96479 11.4186 9.11781 12.5848 8.54034C12.6387 8.07338 12.7199 7.55894 12.8332 6.98891C12.3926 7.00755 11.9403 7.00326 11.4659 6.97127C11.1904 6.95269 10.9821 6.71428 11.0007 6.43876C11.0192 6.16325 11.2577 5.95496 11.5332 5.97353C12.0633 6.00928 12.5641 6.00772 13.0566 5.97553C13.1605 5.55444 13.3512 4.8331 13.5282 4.33317C13.6203 4.07286 13.906 3.93653 14.1663 4.02867ZM12.501 9.74109C11.8436 10.1821 11.427 10.7219 11.2031 11.2387C10.8542 12.0439 10.9881 12.716 11.2638 13.0105C11.2637 13.0104 11.2639 13.0106 11.2638 13.0105C11.3573 13.11 11.5624 13.1973 11.9463 13.109C12.2578 13.0373 12.6311 12.8571 13.0121 12.5576C12.8658 12.22 12.7272 11.8324 12.6313 11.353C12.5405 10.8996 12.4899 10.3743 12.501 9.74109ZM13.7808 11.7797C14.316 11.0956 14.759 10.1665 14.9271 9.01632C14.539 9.00681 14.1111 9.05601 13.6457 9.17854C13.605 9.19274 13.5647 9.20726 13.525 9.22209C13.4663 10.0545 13.5146 10.671 13.6118 11.1568C13.6578 11.3868 13.7156 11.5913 13.7808 11.7797ZM6.92028 5.2159C5.77942 4.88398 4.78409 5.00841 4.07616 5.21575C3.72264 5.3193 3.439 5.44393 3.24121 5.5443C3.14215 5.59457 3.0641 5.63901 3.00903 5.67212C2.98147 5.68868 2.95962 5.70244 2.9437 5.71271L2.92429 5.72542L2.91797 5.72966L2.91566 5.73123L2.91393 5.73241C2.91384 5.73249 2.91436 5.73325 2.94925 5.78397C3.23698 6.20225 3.1703 6.10548 2.91393 5.73241C2.68634 5.88881 2.62863 6.20009 2.78502 6.42767C2.94134 6.65514 3.25207 6.71313 3.47963 6.55703L3.4788 6.5576L3.48576 6.55305C3.49318 6.54826 3.50608 6.5401 3.52423 6.52919C3.56057 6.50735 3.6177 6.47463 3.69373 6.43605C3.84612 6.35872 4.07228 6.2589 4.35724 6.17544C4.92619 6.0088 5.72242 5.90898 6.64043 6.17595C7.35305 6.38517 7.66747 6.76919 7.82692 7.16112C7.98173 7.54163 8.0026 7.95751 8.00531 8.33243C7.46199 8.18407 6.79336 8.03682 6.08385 8.00744C5.04808 7.96456 3.8874 8.17096 2.87738 9.01102C1.98877 9.75011 1.78345 10.8818 2.07014 11.853C2.35713 12.8252 3.14925 13.692 4.31803 13.9348C5.22351 14.123 6.18016 13.8639 6.9599 13.5212C7.3403 13.354 7.69572 13.1594 8.0057 12.9665V13.5C8.0057 13.7761 8.22956 14 8.5057 14C8.78184 14 9.0057 13.7754 9.0057 13.4993L9.0057 8.44586C9.0058 8.05404 9.00595 7.40554 8.7532 6.78428C8.48142 6.11625 7.93342 5.51313 6.92136 5.21622L6.92028 5.2159ZM6.04249 9.00659C6.76366 9.03645 7.44769 9.209 8.0057 9.37205V11.757C7.65814 12.0182 7.13927 12.35 6.55757 12.6057C5.85264 12.9155 5.12729 13.0816 4.52148 12.9557C3.75127 12.7957 3.22322 12.2271 3.02922 11.5699C2.83491 10.9116 2.98777 10.2199 3.51683 9.77985C4.27958 9.14545 5.16917 8.97043 6.04249 9.00659Z" })));
9
9
  }
10
10
  static get is() { return "translate-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class TrashIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: '112a0f662aa55e21f66fea349837214b84582a4d', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '8405d564e9ae68e68a8462b7870ca35637512051', d: "M3 6H5H21", stroke: "auto", "stroke-width": "1.5" }), h("path", { key: 'a002ff92613dc9fb30232a5588d04a52517461c0', d: "M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6H19Z", stroke: "auto", "stroke-width": "1.5" }), h("path", { key: '63a384b8ae5234d01b263a7bc76313f9f95ec794', d: "M10 11V17", stroke: "auto", "stroke-width": "1.5" }), h("path", { key: '58f9193d0888f843aeaa2c9ee9149e2c205f94ba', d: "M14 11V17", stroke: "auto", "stroke-width": "1.5" })));
8
+ return (h("svg", { key: 'b509f72cadc2a89c74216064c49cc0d36c67a6c3', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '8b3f12d0303e125bd0a552a680aff1e95f3f0487', d: "M3 6H5H21", stroke: "auto", "stroke-width": "1.5" }), h("path", { key: 'd829be850873ee705a82a2bb838190985cdf5f24', d: "M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6H19Z", stroke: "auto", "stroke-width": "1.5" }), h("path", { key: '552fa3fd8155d5eaca512a825136c90bb75dd935', d: "M10 11V17", stroke: "auto", "stroke-width": "1.5" }), h("path", { key: '00fe314a56b8bc4374c43d36da1248f926227712', d: "M14 11V17", stroke: "auto", "stroke-width": "1.5" })));
9
9
  }
10
10
  static get is() { return "trash-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class UnderlineIcon {
5
5
  this.height = '15';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: '5e0070c733a6b740a5d0dc27e52bb12a2526479d', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'ed960c7122816d4c3eed1f7d1955c797e31c7531', d: "M19 4V10C19 13.866 15.866 17 12 17C8.13401 17 5 13.866 5 10V4M8.5 4V10C8.5 13.2218 10.6766 15.9352 13.6395 16.7501M4 21H20M3 4L10.5 4M17 4L21 4", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })));
8
+ return (h("svg", { key: '951e746e9226f36ad5a017179a1de226433f6d9b', width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '7051eb86192434d70c3a21dba93647b0f7cbecb3', d: "M19 4V10C19 13.866 15.866 17 12 17C8.13401 17 5 13.866 5 10V4M8.5 4V10C8.5 13.2218 10.6766 15.9352 13.6395 16.7501M4 21H20M3 4L10.5 4M17 4L21 4", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })));
9
9
  }
10
10
  static get is() { return "underline-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class WarningIcon {
5
5
  this.height = '16';
6
6
  }
7
7
  render() {
8
- return (h("svg", { key: '7986181ae6aef9438b547db4de9b19cb6eb91d29', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '6dae655e6e4fa48293722c517c90d03af23bb16c', d: "M7.68551 1.35232L1.12678 13.2773C0.576954 14.277 1.3002 15.5002 2.4411 15.5002H15.5586C16.6995 15.5002 17.4227 14.277 16.8729 13.2773L10.3142 1.35232C9.74426 0.316153 8.2554 0.316157 7.68551 1.35232ZM8.99982 5.25016C9.41403 5.25016 9.74982 5.58595 9.74982 6.00016V10.0002C9.74982 10.4144 9.41403 10.7502 8.99982 10.7502C8.5856 10.7502 8.24982 10.4144 8.24982 10.0002V6.00016C8.24982 5.58595 8.5856 5.25016 8.99982 5.25016ZM9.74982 12.2502C9.74982 12.6644 9.41403 13.0002 8.99982 13.0002C8.5856 13.0002 8.24982 12.6644 8.24982 12.2502C8.24982 11.8359 8.5856 11.5002 8.99982 11.5002C9.41403 11.5002 9.74982 11.8359 9.74982 12.2502Z", fill: "currentColor" })));
8
+ return (h("svg", { key: '7ce855bc79311b9f1d33b90be67cdf7953cc39a6', width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'a8d8f9c8840be1b070305119b14686efa3ad7735', d: "M7.68551 1.35232L1.12678 13.2773C0.576954 14.277 1.3002 15.5002 2.4411 15.5002H15.5586C16.6995 15.5002 17.4227 14.277 16.8729 13.2773L10.3142 1.35232C9.74426 0.316153 8.2554 0.316157 7.68551 1.35232ZM8.99982 5.25016C9.41403 5.25016 9.74982 5.58595 9.74982 6.00016V10.0002C9.74982 10.4144 9.41403 10.7502 8.99982 10.7502C8.5856 10.7502 8.24982 10.4144 8.24982 10.0002V6.00016C8.24982 5.58595 8.5856 5.25016 8.99982 5.25016ZM9.74982 12.2502C9.74982 12.6644 9.41403 13.0002 8.99982 13.0002C8.5856 13.0002 8.24982 12.6644 8.24982 12.2502C8.24982 11.8359 8.5856 11.5002 8.99982 11.5002C9.41403 11.5002 9.74982 11.8359 9.74982 12.2502Z", fill: "currentColor" })));
9
9
  }
10
10
  static get is() { return "warning-icon"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -12,7 +12,7 @@ export class ButtonComponent {
12
12
  }
13
13
  render() {
14
14
  const className = `button-${this.variant}` + (this.disabled ? ' disabled' : '');
15
- return (h("button", { key: 'e384a27359c08f60670fd25909d2510b9d7e5bb6', class: className, disabled: this.disabled, type: "type", onClick: this.clickHandler, onMouseOver: this.mouseOverHandler, onMouseOut: this.mouseOutHandler, onFocus: this.focusHandler, onBlur: this.blurHandler }, h("slot", { key: '0913c3c782a922a16abcdb4c4964e008bb71f193' })));
15
+ return (h("button", { key: 'fca4a9e837ecc61a8b7a9e4782e5ef6c37651a94', class: className, disabled: this.disabled, type: "type", onClick: this.clickHandler, onMouseOver: this.mouseOverHandler, onMouseOut: this.mouseOutHandler, onFocus: this.focusHandler, onBlur: this.blurHandler }, h("slot", { key: 'df96fc8cb6cfa3eccb9f295489a7502ec0022550' })));
16
16
  }
17
17
  static get is() { return "button-component"; }
18
18
  static get encapsulation() { return "scoped"; }
@@ -18,7 +18,7 @@ export class CheckboxComponent {
18
18
  });
19
19
  }
20
20
  render() {
21
- return (h("label", { key: '38e5db24a5990c9b892fc824508148c28d918097' }, h("input", { key: '98d0bcc2e427035e7cc6fe216a1db105b65fc848', type: "checkbox", checked: this.isChecked, onChange: () => this.toggleCheck() }), h("span", { key: '9d475bd9e76606d62791e3aad90acd3286daae4b', class: "checkmark" }), h("slot", { key: '901fc53b3031d828a9e83f074b4223ef40ed0566', name: "label" }, h("span", { key: 'fa95b9232724d82e023214e666948f5dd9d11a4f', class: "label" }, this.label))));
21
+ return (h("label", { key: '9d7aecec74bf3dabbb242324c0d028b46213b81f' }, h("input", { key: 'd0e94c6ee729adab2bc6df57f573024f632d87b9', type: "checkbox", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), h("span", { key: '95d00654e241d754eca4b721df4c71d3649d2dc0', class: "checkmark" }), h("slot", { key: 'f5560353f9371cd8d14b18f4ca1000123770b094', name: "label" }, h("span", { key: '09189dda1ec3da4095ae2d8978e579d4f0dd5a4a', class: "label" }, this.label))));
22
22
  }
23
23
  static get is() { return "checkbox-component"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox-component.js","sourceRoot":"","sources":["../../../../src/components/design-system/checkbox-component/checkbox-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAO/E,MAAM,OAAO,iBAAiB;;oBACL,UAAU;uBACN,KAAK;qBACR,EAAE;yBAEI,IAAI,CAAC,OAAO;;IAQ1C,iBAAiB;QACf,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;IAChC,CAAC;IAED,WAAW;QACT,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;QACjC,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC;YACjC,OAAO,EAAE,IAAI,CAAC,SAAS;YACvB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;IAED,MAAM;QACJ,OAAO,CACL;YACE,8DAAO,IAAI,EAAC,UAAU,EAAC,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,GAAI;YACtF,6DAAM,KAAK,EAAC,WAAW,GAAQ;YAC/B,6DAAM,IAAI,EAAC,OAAO;gBAChB,6DAAM,KAAK,EAAC,OAAO,IAAE,IAAI,CAAC,KAAK,CAAQ,CAClC,CACD,CACT,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, State, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'checkbox-component',\n styleUrl: 'checkbox-component.scss',\n shadow: true,\n})\nexport class CheckboxComponent {\n @Prop() name: string = 'checkbox';\n @Prop() checked: boolean = false;\n @Prop() label: string = '';\n\n @State() isChecked: boolean = this.checked;\n\n @Event() nylasFormCheckboxToggled!: EventEmitter<{\n checked: boolean;\n name: string;\n label: string;\n }>;\n\n componentWillLoad() {\n this.isChecked = this.checked;\n }\n\n toggleCheck() {\n this.isChecked = !this.isChecked;\n this.nylasFormCheckboxToggled.emit({\n checked: this.isChecked,\n name: this.name,\n label: this.label,\n });\n }\n\n render() {\n return (\n <label>\n <input type=\"checkbox\" checked={this.isChecked} onChange={() => this.toggleCheck()} />\n <span class=\"checkmark\"></span>\n <slot name=\"label\">\n <span class=\"label\">{this.label}</span>\n </slot>\n </label>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"checkbox-component.js","sourceRoot":"","sources":["../../../../src/components/design-system/checkbox-component/checkbox-component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAO/E,MAAM,OAAO,iBAAiB;;oBACL,UAAU;uBACN,KAAK;qBACR,EAAE;yBAEI,IAAI,CAAC,OAAO;;IAQ1C,iBAAiB;QACf,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;IAChC,CAAC;IAED,WAAW;QACT,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;QACjC,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC;YACjC,OAAO,EAAE,IAAI,CAAC,SAAS;YACvB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;IAED,MAAM;QACJ,OAAO,CACL;YACE,8DAAO,IAAI,EAAC,UAAU,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,GAAI;YACvG,6DAAM,KAAK,EAAC,WAAW,GAAQ;YAC/B,6DAAM,IAAI,EAAC,OAAO;gBAChB,6DAAM,KAAK,EAAC,OAAO,IAAE,IAAI,CAAC,KAAK,CAAQ,CAClC,CACD,CACT,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, State, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'checkbox-component',\n styleUrl: 'checkbox-component.scss',\n shadow: true,\n})\nexport class CheckboxComponent {\n @Prop() name: string = 'checkbox';\n @Prop() checked: boolean = false;\n @Prop() label: string = '';\n\n @State() isChecked: boolean = this.checked;\n\n @Event() nylasFormCheckboxToggled!: EventEmitter<{\n checked: boolean;\n name: string;\n label: string;\n }>;\n\n componentWillLoad() {\n this.isChecked = this.checked;\n }\n\n toggleCheck() {\n this.isChecked = !this.isChecked;\n this.nylasFormCheckboxToggled.emit({\n checked: this.isChecked,\n name: this.name,\n label: this.label,\n });\n }\n\n render() {\n return (\n <label>\n <input type=\"checkbox\" name={this.name} checked={this.isChecked} onChange={() => this.toggleCheck()} />\n <span class=\"checkmark\"></span>\n <slot name=\"label\">\n <span class=\"label\">{this.label}</span>\n </slot>\n </label>\n );\n }\n}\n"]}
@@ -66,7 +66,7 @@ export class InputComponent {
66
66
  }
67
67
  }
68
68
  render() {
69
- return (h("label", { key: 'c6457e4509ab2ef08a2424e63e2b3733ad25775f', part: "ic__label", class: { error: !!this.error } }, h("p", { key: 'ea89771a3db615fa73b1e53f9dc9f0c12fabf9ba' }, h("span", { key: 'd38825ae45369b81bf1c64baa5a39e691f16d102', class: "label" }, this.label), this.required && h("span", { class: "required" }, "*")), h("input", { key: '5ac30172d8f4585b631540ea62af8842d0c84892', type: "text", name: this.name, part: "ic__input", readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, placeholder: this.placeholder, class: { error: !!this.error }, onInput: e => this.handleInput(e) }), this.error && (h("span", { class: "error help-text" }, this.error, " ", this.value && this.patternError !== '' ? ` ${this.patternError}` : ''))));
69
+ return (h("label", { key: 'bd7027de6ce8ee5e42ab21e7cf6edae93c4ba3c7', part: "ic__label", class: { error: !!this.error } }, h("p", { key: '60f7bacac3dc2219630db2749ff1dbbef06448d9' }, h("span", { key: '1ffec3cdf186ee84048ca0f9a64af199a44748d0', class: "label" }, this.label), this.required && h("span", { class: "required" }, "*")), h("input", { key: 'ca868128b3b83e8adffa87e596b0e68b58a925c1', type: "text", name: this.name, part: "ic__input", readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, placeholder: this.placeholder, class: { error: !!this.error }, onInput: e => this.handleInput(e) }), this.error && (h("span", { class: "error help-text" }, this.error, " ", this.value && this.patternError !== '' ? ` ${this.patternError}` : ''))));
70
70
  }
71
71
  static get is() { return "input-component"; }
72
72
  static get encapsulation() { return "shadow"; }
@@ -6,6 +6,7 @@ export class InputDropdown {
6
6
  this.defaultInputOption = undefined;
7
7
  this.inputValue = undefined;
8
8
  this.pluralizedLabel = '';
9
+ this.filterable = false;
9
10
  this.selectedOption = this.defaultInputOption || null;
10
11
  this.isOpen = false;
11
12
  this.filteredOptions = [...this.options];
@@ -16,7 +17,7 @@ export class InputDropdown {
16
17
  if (newValue === oldValue) {
17
18
  return;
18
19
  }
19
- this.filteredOptions = newValue;
20
+ this.filteredOptions = this.getFilteredOptions(newValue);
20
21
  }
21
22
  defaultSelectedOptionChangedHandler(newValue, oldValue) {
22
23
  if (newValue.label === oldValue.label) {
@@ -29,9 +30,10 @@ export class InputDropdown {
29
30
  return;
30
31
  }
31
32
  this.inputValue = newValue;
33
+ this.filteredOptions = this.getFilteredOptions(this.options);
32
34
  }
33
35
  componentWillLoad() {
34
- this.filteredOptions = this.options;
36
+ this.filteredOptions = this.getFilteredOptions(this.options);
35
37
  if (!this.selectedOption && !!this.defaultInputOption) {
36
38
  this.selectedOption = this.defaultInputOption;
37
39
  }
@@ -39,6 +41,12 @@ export class InputDropdown {
39
41
  this.selectedOption = this.options[0];
40
42
  }
41
43
  }
44
+ getFilteredOptions(options) {
45
+ if (!this.filterable) {
46
+ return options;
47
+ }
48
+ return options.filter(option => option?.value?.toString().toLowerCase().includes(this.inputValue?.toLowerCase()) || option?.label?.toLowerCase().includes(this.inputValue?.toLowerCase()));
49
+ }
42
50
  toggleDropdown() {
43
51
  this.isOpen = !this.isOpen;
44
52
  }
@@ -66,6 +74,8 @@ export class InputDropdown {
66
74
  const childElement = this.el.shadowRoot?.getElementById(option.value.toString());
67
75
  const parentElement = this.optionsRef;
68
76
  this.ariaActivedescendant = option.value.toString();
77
+ if (!childElement || !parentElement)
78
+ return;
69
79
  const childRect = childElement.getBoundingClientRect();
70
80
  const parentRect = parentElement.getBoundingClientRect();
71
81
  if (childRect.top < parentRect.top) {
@@ -175,7 +185,7 @@ export class InputDropdown {
175
185
  }
176
186
  }
177
187
  render() {
178
- return (h("div", { key: '24c46ff43e7ff2701790b5e7cd69833a4c0fa02f', class: "dropdown", part: "id_dropdown" }, h("input", { key: '86724f295c643d3edda0de987b17f85389a0a716', type: "text", name: this.name, id: this.name, part: "id_dropdown-input", class: { dropbtn: true, open: this.isOpen }, value: this.inputValue, onClick: (e) => {
188
+ return (h("div", { key: '46501632a9bcea1b4af6d5b4b073904e14d0cf50', class: "dropdown", part: "id_dropdown" }, h("input", { key: '67e4a24466b39b39161066bb9915ca67467043f3', type: "text", name: this.name, id: this.name, part: "id_dropdown-input", class: { dropbtn: true, open: this.isOpen }, value: this.inputValue, onClick: (e) => {
179
189
  this.toggleDropdown();
180
190
  this.shouldAutoScroll = true;
181
191
  this.handleClick(e);
@@ -289,6 +299,24 @@ export class InputDropdown {
289
299
  "attribute": "pluralized-label",
290
300
  "reflect": false,
291
301
  "defaultValue": "''"
302
+ },
303
+ "filterable": {
304
+ "type": "boolean",
305
+ "mutable": false,
306
+ "complexType": {
307
+ "original": "boolean",
308
+ "resolved": "boolean",
309
+ "references": {}
310
+ },
311
+ "required": false,
312
+ "optional": false,
313
+ "docs": {
314
+ "tags": [],
315
+ "text": "This is used to set if the dropdown should be filtered based on the input value.\nIf set to true, the dropdown will be filtered based on the input value."
316
+ },
317
+ "attribute": "filterable",
318
+ "reflect": false,
319
+ "defaultValue": "false"
292
320
  }
293
321
  };
294
322
  }
@@ -1 +1 @@
1
- {"version":3,"file":"input-dropdown.js","sourceRoot":"","sources":["../../../../src/components/design-system/input-dropdown/input-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAmBvG,MAAM,OAAO,aAAa;;;uBAcY,EAAE;;;+BAYJ,EAAE;8BAMa,IAAI,CAAC,kBAAkB,IAAI,IAAI;sBAIrD,KAAK;+BAKa,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;oCAMtB,EAAE;gCAKL,KAAK;;IAY1C,qBAAqB,CAAC,QAA0B,EAAE,QAA0B;QAC1E,IAAI,QAAQ,KAAK,QAAQ,EAAE,CAAC;YAC1B,OAAO;QACT,CAAC;QACD,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAC;IAClC,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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 `input-dropdown` component is a dropdown that allows users to input an option and/or select from a list of options.\n * @part id_dropdown - The dropdown container\n * @part id_dropdown-input - The dropdown button\n * @part id_dropdown-content - The dropdown content\n */\n@Component({\n tag: 'input-dropdown',\n styleUrl: 'input-dropdown.scss',\n shadow: true,\n})\nexport class InputDropdown {\n @Element() el!: HTMLElement;\n\n private inputRef?: HTMLInputElement;\n private optionsRef!: HTMLElement;\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() defaultInputOption?: DropdownOption;\n /**\n * Should show search input\n */\n @Prop() inputValue!: string;\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.defaultInputOption || null;\n /**\n * The open state of the dropdown\n */\n @State() isOpen: boolean = false;\n\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 * This is used to scroll to the input value.\n */\n @State() shouldAutoScroll: boolean = false;\n\n // Events\n /**\n * This event is fired when the selected option is changed\n */\n @Event({ bubbles: true, composed: true }) inputOptionChanged!: EventEmitter<{\n value: DropdownOption['value'];\n name: 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('defaultInputOption')\n defaultSelectedOptionChangedHandler(newValue: DropdownOption, oldValue: DropdownOption) {\n if (newValue.label === oldValue.label) {\n return;\n }\n this.selectedOption = newValue;\n }\n\n @Watch('inputValue')\n inputValueChangedHandler(newValue: string, oldValue: string) {\n if (newValue === oldValue) {\n return;\n }\n this.inputValue = 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.defaultInputOption) {\n this.selectedOption = this.defaultInputOption;\n }\n if (!this.selectedOption && this.options.length > 0) {\n this.selectedOption = this.options[0];\n }\n }\n\n // Methods\n toggleDropdown(): void {\n this.isOpen = !this.isOpen;\n }\n\n selectOption(option: DropdownOption): void {\n this.selectedOption = option;\n this.toggleDropdown();\n this.inputOptionChanged.emit({\n value: option.value,\n name: this.name,\n });\n }\n\n handleOnInput(event: Event): void {\n const value = (event.target as HTMLInputElement).value;\n const optionIndex = this.options.findIndex(option => option.label.toLowerCase().includes(value.toLowerCase()));\n if (optionIndex > -1) {\n this.scrollToViewWithinParent(optionIndex);\n }\n this.inputOptionChanged.emit({\n value,\n name: this.name,\n });\n }\n\n scrollToViewWithinParent(optionIndex: number) {\n const option = this.options[optionIndex];\n const childElement = this.el.shadowRoot?.getElementById(option.value.toString()) as HTMLLIElement;\n const parentElement = this.optionsRef;\n\n this.ariaActivedescendant = option.value.toString();\n\n // Scroll child into view within parent\n const childRect = childElement.getBoundingClientRect();\n const parentRect = parentElement.getBoundingClientRect();\n\n if (childRect.top < parentRect.top) {\n // Child is above the visible area of the parent\n parentElement.scrollTop -= parentRect.top - childRect.top;\n } else if (childRect.bottom > parentRect.bottom) {\n // Child is below the visible area of the parent\n parentElement.scrollTop += childRect.bottom - parentRect.bottom;\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 handleClick(event: Event): void {\n if (this.isOpen) {\n const value = (event.target as HTMLInputElement).value;\n const optionIndex = this.options.findIndex(option => option.label.toLowerCase().includes(value.toLowerCase()));\n if (optionIndex > -1) {\n setTimeout(() => {\n this.scrollToViewWithinParent(optionIndex);\n }, 10);\n }\n }\n }\n\n handleListboxKeydown(e) {\n const items = this.filteredOptions;\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 if (!this.isOpen) {\n this.isOpen = true;\n this.shouldAutoScroll = true;\n return;\n }\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=\"id_dropdown\">\n <input\n type=\"text\"\n name={this.name}\n id={this.name}\n part=\"id_dropdown-input\"\n class={{ dropbtn: true, open: this.isOpen }}\n value={this.inputValue}\n onClick={(e: Event) => {\n this.toggleDropdown();\n this.shouldAutoScroll = true;\n this.handleClick(e);\n }}\n aria-haspopup=\"listbox\"\n aria-label={this.name}\n aria-expanded={this.isOpen ? 'true' : 'false'}\n onKeyDown={e => this.handleComboboxKeyDown(e)}\n onInput={event => this.handleOnInput(event)}\n />\n {this.isOpen ? (\n <div class=\"dropdown-content\" part=\"id_dropdown-content\" ref={el => (this.optionsRef = el as HTMLElement)}>\n <ul tabindex=\"-1\" role=\"listbox\" aria-label={this.name} aria-activedescendant={this.ariaActivedescendant} onKeyDown={e => this.handleListboxKeydown(e)}>\n {this.filteredOptions.map(option => (\n <li\n tabindex=\"0\"\n key={option.value}\n id={option.value}\n onClick={() => this.selectOption(option)}\n role=\"option\"\n class={{\n focused: this.ariaActivedescendant === option.value.toString(),\n }}\n >\n {option.labelHTML ? option.labelHTML : option.label}\n </li>\n ))}\n </ul>\n </div>\n ) : null}\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"input-dropdown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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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 `input-dropdown` component is a dropdown that allows users to input an option and/or select from a list of options.\n * @part id_dropdown - The dropdown container\n * @part id_dropdown-input - The dropdown button\n * @part id_dropdown-content - The dropdown content\n */\n@Component({\n tag: 'input-dropdown',\n styleUrl: 'input-dropdown.scss',\n shadow: true,\n})\nexport class InputDropdown {\n @Element() el!: HTMLElement;\n\n private inputRef?: HTMLInputElement;\n private optionsRef!: HTMLElement;\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() defaultInputOption?: DropdownOption;\n /**\n * Should show search input\n */\n @Prop() inputValue!: string;\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 /**\n * This is used to set if the dropdown should be filtered based on the input value.\n * If set to true, the dropdown will be filtered based on the input value.\n */\n @Prop() filterable: boolean = false;\n\n // States\n /**\n * The selected option\n */\n @State() selectedOption: DropdownOption | null = this.defaultInputOption || null;\n /**\n * The open state of the dropdown\n */\n @State() isOpen: boolean = false;\n\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 * This is used to scroll to the input value.\n */\n @State() shouldAutoScroll: boolean = false;\n\n // Events\n /**\n * This event is fired when the selected option is changed\n */\n @Event({ bubbles: true, composed: true }) inputOptionChanged!: EventEmitter<{\n value: DropdownOption['value'];\n name: string;\n }>;\n\n @Watch('options')\n optionsChangedHandler(newValue: DropdownOption[], oldValue: DropdownOption[]) {\n if (newValue === oldValue) {\n return;\n }\n this.filteredOptions = this.getFilteredOptions(newValue);\n }\n\n @Watch('defaultInputOption')\n defaultSelectedOptionChangedHandler(newValue: DropdownOption, oldValue: DropdownOption) {\n if (newValue.label === oldValue.label) {\n return;\n }\n this.selectedOption = newValue;\n }\n\n @Watch('inputValue')\n inputValueChangedHandler(newValue: string, oldValue: string) {\n if (newValue === oldValue) {\n return;\n }\n this.inputValue = newValue;\n this.filteredOptions = this.getFilteredOptions(this.options);\n }\n\n // Lifecycle methods\n componentWillLoad() {\n this.filteredOptions = this.getFilteredOptions(this.options);\n // Set the selected option to the first option if no option is selected\n if (!this.selectedOption && !!this.defaultInputOption) {\n this.selectedOption = this.defaultInputOption;\n }\n if (!this.selectedOption && this.options.length > 0) {\n this.selectedOption = this.options[0];\n }\n }\n\n // Methods\n getFilteredOptions(options): DropdownOption[] {\n if (!this.filterable) {\n return options;\n }\n return options.filter(\n option => option?.value?.toString().toLowerCase().includes(this.inputValue?.toLowerCase()) || option?.label?.toLowerCase().includes(this.inputValue?.toLowerCase()),\n );\n }\n toggleDropdown(): void {\n this.isOpen = !this.isOpen;\n }\n\n selectOption(option: DropdownOption): void {\n this.selectedOption = option;\n this.toggleDropdown();\n this.inputOptionChanged.emit({\n value: option.value,\n name: this.name,\n });\n }\n\n handleOnInput(event: Event): void {\n const value = (event.target as HTMLInputElement).value;\n const optionIndex = this.options.findIndex(option => option.label.toLowerCase().includes(value.toLowerCase()));\n if (optionIndex > -1) {\n this.scrollToViewWithinParent(optionIndex);\n }\n this.inputOptionChanged.emit({\n value,\n name: this.name,\n });\n }\n\n scrollToViewWithinParent(optionIndex: number) {\n const option = this.options[optionIndex];\n const childElement = this.el.shadowRoot?.getElementById(option.value.toString()) as HTMLLIElement;\n const parentElement = this.optionsRef;\n\n this.ariaActivedescendant = option.value.toString();\n if (!childElement || !parentElement) return;\n // Scroll child into view within parent\n const childRect = childElement.getBoundingClientRect();\n const parentRect = parentElement.getBoundingClientRect();\n\n if (childRect.top < parentRect.top) {\n // Child is above the visible area of the parent\n parentElement.scrollTop -= parentRect.top - childRect.top;\n } else if (childRect.bottom > parentRect.bottom) {\n // Child is below the visible area of the parent\n parentElement.scrollTop += childRect.bottom - parentRect.bottom;\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 handleClick(event: Event): void {\n if (this.isOpen) {\n const value = (event.target as HTMLInputElement).value;\n const optionIndex = this.options.findIndex(option => option.label.toLowerCase().includes(value.toLowerCase()));\n if (optionIndex > -1) {\n setTimeout(() => {\n this.scrollToViewWithinParent(optionIndex);\n }, 10);\n }\n }\n }\n\n handleListboxKeydown(e) {\n const items = this.filteredOptions;\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 if (!this.isOpen) {\n this.isOpen = true;\n this.shouldAutoScroll = true;\n return;\n }\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=\"id_dropdown\">\n <input\n type=\"text\"\n name={this.name}\n id={this.name}\n part=\"id_dropdown-input\"\n class={{ dropbtn: true, open: this.isOpen }}\n value={this.inputValue}\n onClick={(e: Event) => {\n this.toggleDropdown();\n this.shouldAutoScroll = true;\n this.handleClick(e);\n }}\n aria-haspopup=\"listbox\"\n aria-label={this.name}\n aria-expanded={this.isOpen ? 'true' : 'false'}\n onKeyDown={e => this.handleComboboxKeyDown(e)}\n onInput={event => this.handleOnInput(event)}\n />\n {this.isOpen ? (\n <div class=\"dropdown-content\" part=\"id_dropdown-content\" ref={el => (this.optionsRef = el as HTMLElement)}>\n <ul tabindex=\"-1\" role=\"listbox\" aria-label={this.name} aria-activedescendant={this.ariaActivedescendant} onKeyDown={e => this.handleListboxKeydown(e)}>\n {this.filteredOptions.map(option => (\n <li\n tabindex=\"0\"\n key={option.value}\n id={option.value}\n onClick={() => this.selectOption(option)}\n role=\"option\"\n class={{\n focused: this.ariaActivedescendant === option.value.toString(),\n }}\n >\n {option.labelHTML ? option.labelHTML : option.label}\n </li>\n ))}\n </ul>\n </div>\n ) : null}\n </div>\n );\n }\n}\n"]}
@@ -118,9 +118,9 @@ export class MultiSelectDropdown {
118
118
  }, class: { selected: !!option.selected } }, h("label", { htmlFor: option.value }, h("input", { "aria-hidden": "true", id: option.value, type: "checkbox", checked: option.selected }), h("span", null, option.label))));
119
119
  }
120
120
  render() {
121
- return (h(Host, { key: '89819bc74cdae708fbdd60dc3f4160c0047d1414' }, h("div", { key: '2c3568247699101568790460b5d9ef6780cef096', class: "dropdown", part: "msd_dropdown" }, h("label", { key: 'd524fd75f9a8fcde85727904b6e2b21e5f6cbe0e', class: "dropdown-label" }, this.label, h("slot", { key: 'e4442acbc279840d6c3d815907fa79f6fd7a11d5', name: "label-icon", "aria-hidden": "true" })), h("button", { key: '8b66520137e83747c4e74237c74598fa2081275f', part: "msd_dropdown-button", class: { dropbtn: true, open: this.isOpen }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-label": this.name, onKeyDown: e => this.handleSelectButtonKeyDown(e) }, h("slot", { key: 'e6ba4fd51fb6cf3dde63757f9eef8d1538a9a91d', name: "select-icon", "aria-hidden": "true" }), h("span", { key: 'bfc7c1bdc8046bb3a27f11a587619ecfe6d62d32', class: "selected-option", part: "msd_dropdown-button-selected-label" }, this.getSelectedOptions().length > 1
121
+ return (h(Host, { key: '68762c15e4d20e8d695807b7d4b401f95d1759a8' }, h("div", { key: 'f6b695da1ac813ce000f09442d79797cd57b5400', class: "dropdown", part: "msd_dropdown" }, h("label", { key: '375e7f825f8ca0962b12f5a35960a514535a0e4d', class: "dropdown-label" }, this.label, h("slot", { key: '4cb277f7424fc3a2906b6ca2bb25ab9af75f4b48', name: "label-icon", "aria-hidden": "true" })), h("button", { key: '76d5eec276f0aadb5f94de67a7c674d7506fec1b', part: "msd_dropdown-button", class: { dropbtn: true, open: this.isOpen }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-label": this.name, onKeyDown: e => this.handleSelectButtonKeyDown(e) }, h("slot", { key: '229cae92d81294a1a8785ae95a265b156c4c571b', name: "select-icon", "aria-hidden": "true" }), h("span", { key: 'c2c030a9052bf733af0c9f5aabf665f9c50a612a', class: "selected-option", part: "msd_dropdown-button-selected-label" }, this.getSelectedOptions().length > 1
122
122
  ? `Multiple ${this.name}s selected`
123
- : this.availableOptions.filter(o => o.selected)[0]?.label ?? this.availableOptions[0]?.label), h("span", { key: 'f93e18714865b54dee754d2764b0b3bec3a4dead', class: this.isOpen ? 'open' : 'closed', "aria-hidden": "true" }, h("chevron-icon", { key: 'd91d60366c8503e84cb6e41e43ac77f911f9517c', width: "16", height: "16" }))), this.isOpen ? null : (h("div", { class: 'selected-options' }, this.getSelectedOptions().map(option => (h("span", { class: "selected-option" }, option.label, h("button", { key: option.label, onClick: () => this.selectOption(option) }, h("close-icon", null))))))), this.isOpen ? (h("div", { class: "dropdown-content", part: "msd_dropdown-content" }, h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-multiselectable": true, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: e => this.handleListboxKeydown(e) }, this.availableOptions.map(option => this.renderOption(option))))) : null)));
123
+ : this.availableOptions.filter(o => o.selected)[0]?.label ?? this.availableOptions[0]?.label), h("span", { key: '0f18d14621e108bd6019ceea2e86ae19d1816d53', class: this.isOpen ? 'open' : 'closed', "aria-hidden": "true" }, h("chevron-icon", { key: '1dba99f7491f72edeed66b567692b4aaf16be32d', width: "16", height: "16" }))), this.isOpen ? null : (h("div", { class: 'selected-options' }, this.getSelectedOptions().map(option => (h("span", { class: "selected-option" }, option.label, h("button", { key: option.label, onClick: () => this.selectOption(option) }, h("close-icon", null))))))), this.isOpen ? (h("div", { class: "dropdown-content", part: "msd_dropdown-content" }, h("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-multiselectable": true, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: e => this.handleListboxKeydown(e) }, this.availableOptions.map(option => this.renderOption(option))))) : null)));
124
124
  }
125
125
  static get is() { return "multi-select-dropdown"; }
126
126
  static get encapsulation() { return "shadow"; }
@@ -14,7 +14,7 @@ export class RadioButtonGroup {
14
14
  });
15
15
  }
16
16
  render() {
17
- return (h("div", { key: 'd407d08b8179a3370934e580c0971c00f323879a', class: "radio-group" }, this.options.map(option => (h("label", null, h("div", { class: "radio-option" }, h("input", { type: "radio", name: this.name, value: option.value, checked: this.selectedValue === option.value, onChange: () => this.handleChange(option.value) }), h("p", null, h("span", { class: "title" }, option.label), h("span", { class: "description" }, option.description))))))));
17
+ return (h("div", { key: '985ed3b83d804748d61641feae65322fd08c1649', class: "radio-group" }, this.options.map(option => (h("label", null, h("div", { class: "radio-option" }, h("input", { type: "radio", name: this.name, value: option.value, checked: this.selectedValue === option.value, onChange: () => this.handleChange(option.value) }), h("p", null, h("span", { class: "title" }, option.label), h("span", { class: "description" }, option.description))))))));
18
18
  }
19
19
  static get is() { return "radio-button-group"; }
20
20
  static get encapsulation() { return "shadow"; }
@@ -153,11 +153,11 @@ export class SelectDropdown {
153
153
  }
154
154
  }
155
155
  render() {
156
- return (h("div", { key: 'ac6e39d604f87ee8e154147cc8f82ffcfd81feef', class: "dropdown", part: "sd_dropdown" }, h("label", { key: '65ea5d43d46c9d3caa60b9d2a7453a75e3d59862', part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && (h("p", null, h("span", { class: "label" }, this.label), this.required && h("span", { class: "required" }, "*"))), h("button", { key: 'a64e6e066a0e3b5c2436ea4ada9582995f416674', 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) }, h("slot", { key: '5558be7313b2513877366e5cc90c14059ca7a3d1', name: "select-icon", "aria-hidden": "true" }), h("span", { key: '561f266038fa16b3422974b2bd6b5e7dcfeb1577', class: "selected-option", part: "sd_dropdown-button-selected-label" }, this.selectedOption?.label ? `${this.selectedOption?.label + this.pluralizedLabel}` : ''), h("span", { key: '87308c6804530032c5e22750f8753e2589576d00', class: {
156
+ return (h("div", { key: '5d9cc53d425973e986cf7861f68db93652264ea2', class: "dropdown", part: "sd_dropdown" }, h("label", { key: '780b94df48c831b5228ca846f3349359e19fcae5', part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && (h("p", null, h("span", { class: "label" }, this.label), this.required && h("span", { class: "required" }, "*"))), 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) }, h("slot", { key: '35a42b7da19ae19d26c63f6555748b1756d8b509', name: "select-icon", "aria-hidden": "true" }), h("span", { key: '0df568c4115508f832dbf15d29f6a2f91e855df5', class: "selected-option", part: "sd_dropdown-button-selected-label" }, this.selectedOption?.label ? `${this.selectedOption?.label + this.pluralizedLabel}` : ''), h("span", { key: 'c1c2dab85d068a4da6550a45d505f7e44bef3098', class: {
157
157
  open: this.isOpen,
158
158
  closed: !this.isOpen,
159
159
  chevron: true,
160
- }, "aria-hidden": "true" }, h("chevron-icon", { key: '47be995d85c4e3c3895785f41c89a8a23d0d1a64', width: "16", height: "16" }))), this.errorMessage && h("span", { class: "error help-text" }, this.errorMessage)), this.isOpen ? (h("div", { class: "dropdown-content", part: "sd_dropdown-content" }, this.withSearch && (h("div", { class: { 'search-box': true, 'open': this.isOpen } }, h("search-icon", { width: "15", height: "15", class: 'icon' }), 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) }))), 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 && (h("li", { tabindex: "0", key: option.value, id: option.value, onClick: () => this.selectOption(option), role: "option" }, option.labelHTML ? option.labelHTML : option.label)))))) : null));
160
+ }, "aria-hidden": "true" }, h("chevron-icon", { key: '8a99c927af95bd100cea219d07afb9960ac11f33', width: "16", height: "16" }))), this.errorMessage && h("span", { class: "error help-text" }, this.errorMessage)), this.isOpen ? (h("div", { class: "dropdown-content", part: "sd_dropdown-content" }, this.withSearch && (h("div", { class: { 'search-box': true, 'open': this.isOpen } }, h("search-icon", { width: "15", height: "15", class: 'icon' }), 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) }))), 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 && (h("li", { tabindex: "0", key: option.value, id: option.value, onClick: () => this.selectOption(option), role: "option" }, option.labelHTML ? option.labelHTML : option.label)))))) : null));
161
161
  }
162
162
  static get is() { return "select-dropdown"; }
163
163
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class TextareaComponent {
44
44
  }
45
45
  }
46
46
  render() {
47
- return (h("label", { key: '53a7c178e2c02573ea764282c4d362ad43c59999', part: "tc__label", class: { error: !!this.error } }, h("p", { key: '9207758aeb7c6df5112baf8d2ec006b782e98f71' }, h("span", { key: '5b0835cb533db40654234682f04ccd67a42dccec', class: "label" }, this.label), this.required && h("span", { class: "required" }, "*")), h("textarea", { key: '1d98854a3ac31203d2abc80e4db7ca39d2fb4263', name: this.name, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: e => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && h("span", { class: "error help-text" }, this.error)));
47
+ return (h("label", { key: '5318494cfd8b2446f16617ce2d91fe796d8d888a', part: "tc__label", class: { error: !!this.error } }, h("p", { key: 'bf44357dc897c750801f0690882099c9bafe0749' }, h("span", { key: '19d5a390f091bf5e3ad9910b60aac07aa2de6642', class: "label" }, this.label), this.required && h("span", { class: "required" }, "*")), h("textarea", { key: '86eb48e1424cbe4123ebf078fde715e2a5ea74a8', name: this.name, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: e => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && h("span", { class: "error help-text" }, this.error)));
48
48
  }
49
49
  static get is() { return "textarea-component"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -97,7 +97,7 @@ export class TimePeriodSelector {
97
97
  this.selectedNumber = parseInt(this.numberOptions[0].value);
98
98
  }
99
99
  render() {
100
- return (h("div", { key: '89f218f22905064cadac4d109b631ec138b461ef', class: "time-period-selector" }, h("input-dropdown", { key: '2b86597d92716df5196e696a82ef813d895688dc', id: "time-number", name: 'time-number', inputValue: this.selectedNumber.toString(), exportparts: "sd_dropdown: tps__number-dropdown, sd_dropdown-button: tps__number-dropdown-button, sd_dropdown-content: tps__number-dropdown-content", options: this.numberOptions, defaultInputOption: this.numberOptions.find(i => i.value == this.selectedNumber.toString()) ?? this.numberOptions[0] }), h("select-dropdown", { key: '7283a087443a6c3827f41f0276e1c8024025eeca', id: "time-period", name: 'time-period', options: this.timePeriodOptions, exportparts: "sd_dropdown: tps__period-dropdown, sd_dropdown-button: tps__period-dropdown-button, sd_dropdown-content: tps__period-dropdown-content", pluralizedLabel: this.selectedNumber > 1 ? 's' : '', defaultSelectedOption: this.timePeriodOptions.find(i => i.value == this.selectedPeriod) ?? this.timePeriodOptions[0], withSearch: false })));
100
+ return (h("div", { key: '0bd8e5ec168ca34bfd0540c6b1423954a716bbde', class: "time-period-selector" }, h("input-dropdown", { key: '8d481cca0e6693367e9c64004cd5596e90aaaa03', id: "time-number", name: 'time-number', inputValue: this.selectedNumber.toString(), exportparts: "sd_dropdown: tps__number-dropdown, sd_dropdown-button: tps__number-dropdown-button, sd_dropdown-content: tps__number-dropdown-content", options: this.numberOptions, defaultInputOption: this.numberOptions.find(i => i.value == this.selectedNumber.toString()) ?? this.numberOptions[0] }), h("select-dropdown", { key: 'e173825b80107361a1d5323fcd3a5503b1d59de5', id: "time-period", name: 'time-period', options: this.timePeriodOptions, exportparts: "sd_dropdown: tps__period-dropdown, sd_dropdown-button: tps__period-dropdown-button, sd_dropdown-content: tps__period-dropdown-content", pluralizedLabel: this.selectedNumber > 1 ? 's' : '', defaultSelectedOption: this.timePeriodOptions.find(i => i.value == this.selectedPeriod) ?? this.timePeriodOptions[0], withSearch: false })));
101
101
  }
102
102
  static get is() { return "time-period-selector"; }
103
103
  static get encapsulation() { return "scoped"; }